{"_id":"@bazumax/v2-cupertino","name":"@bazumax/v2-cupertino","dist-tags":{"latest":"1.2.82"},"versions":{"1.2.82":{"name":"@bazumax/v2-cupertino","version":"1.2.82","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint"},"dependencies":{"core-js":"^3.6.5","cupertino-pane":"^1.2.82","vue":"^2.6.11"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^2.33.0","@typescript-eslint/parser":"^2.33.0","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-plugin-typescript":"~4.5.0","@vue/cli-service":"~4.5.0","@vue/eslint-config-typescript":"^5.0.2","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","typescript":"~3.9.3","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended","@vue/typescript/recommended"],"parserOptions":{"ecmaVersion":2020},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"5df06ed9786d22d755e08f4f2862e03a7e3634ee","description":"<img src=\"https://img.shields.io/badge/vuejs%20-%2335495e.svg?&style=for-the-badge&logo=vue.js&logoColor=%234FC08D\"/> <img src=\"https://img.shields.io/badge/typescript%20-%23007ACC.svg?&style=for-the-badge&logo=typescript&logoColor=white\"/> <img src=\"http","_id":"@bazumax/v2-cupertino@1.2.82","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-UO9WlEONOPAElS9W1eK3py7nrO7Htr64hp5RFXU6fkHfSZQvOym606a1JIgbPE3we+KhVQtURyPLOeuwGhKugw==","shasum":"c4f22daf73a1372ad8e6a39fdfd815dcc3e759a5","tarball":"https://registry.npmjs.org/@bazumax/v2-cupertino/-/v2-cupertino-1.2.82.tgz","fileCount":14,"unpackedSize":27202,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5LJqAMHQtOnsLflsZX54pyy/7qrmRNpQRFgacpC4lxQIgcgt5E+EinTZFV1OARaDGS2IPG4ONsgiHIOw/T+OcHQA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiibzpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpw7g//Rty5glXMVPTrFzw/ubGiAU+836FfdPuZeBHpF8qXUqfDSO03\r\npMbuTfFwkZ/If/XSv7xSf7Sr9WRwMAA6mkJDVCJ42miCwrvi7iAqy5joKyqB\r\nPc8PHvUD4vEVOzNT0T4R1rCAqW3lTeAqRaM0mLSKPSPklzlTg7vldrr6Rm27\r\nYZnWsSnAzuK8Z7IXSJnvPpbiAe439Dbu4+P+y8qVltDxlM4ah9XC+exT37lW\r\noTdcTbcXZyxRtdwxS/9KJ5elQLs0N7btzGVI4eJM96AO+Om7IpDqOhU1YZNV\r\n3SJK9MItVD5jbTEV4L3O60QWZJaPZIqNxV67Dpzs3ZN7JLXLpSxMxRe1qiyt\r\nuNHp9JtLRPs6CG+LkBvveODmasFOC3RLo5A+V73cOi5h9O+hYz6o7vzPzRI3\r\nzrQ8aG3rM2E+EKTC4RJRyuqORbW4wVso/ZRsQ4GVjeGFKim8STS9CAJVAQPd\r\n2V45/dCek108BCNa2e23iXh12ZxMOLSJ6Px3q0jrrrWluKD//WvG+JAMaQPJ\r\n3VVg0rGykbva/vkcmKAkd2w/l6cTkihTnNXAyOC5KjYiZQ3x5rRhBY+P1y+h\r\nBhKIOD0okQre+WhX3pilGgOD9494C59igG5r6ySIhBOAN1/fXlDSDnzGWUOc\r\nb2rVoJdHVJjsdcD40Frf3o3DRUG2CXw3bMs=\r\n=ZPaW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bazuka5801","email":"bazuka5801@mail.ru"},"directories":{},"maintainers":[{"name":"bazuka5801","email":"bazuka5801@mail.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v2-cupertino_1.2.82_1653193961664_0.6508376593708787"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-22T04:32:41.580Z","1.2.82":"2022-05-22T04:32:41.837Z","modified":"2022-05-22T04:32:41.980Z"},"maintainers":[{"name":"bazuka5801","email":"bazuka5801@mail.ru"}],"description":"<img src=\"https://img.shields.io/badge/vuejs%20-%2335495e.svg?&style=for-the-badge&logo=vue.js&logoColor=%234FC08D\"/> <img src=\"https://img.shields.io/badge/typescript%20-%23007ACC.svg?&style=for-the-badge&logo=typescript&logoColor=white\"/> <img src=\"http","readme":"# [Cupertino Pane](https://github.com/roman-rr/cupertino-pane#cupertino-pane) for Vue 2\n\n<img src=\"https://img.shields.io/badge/vuejs%20-%2335495e.svg?&style=for-the-badge&logo=vue.js&logoColor=%234FC08D\"/> <img src=\"https://img.shields.io/badge/typescript%20-%23007ACC.svg?&style=for-the-badge&logo=typescript&logoColor=white\"/> <img src=\"https://img.shields.io/badge/github%20-%23121011.svg?&style=for-the-badge&logo=github&logoColor=white\"/> <img src=\"https://img.shields.io/badge/javascript%20-%23323330.svg?&style=for-the-badge&logo=javascript&logoColor=%23F7DF1E\"/>\n\n> #### Notes: if your are looking for vue 3 repo [here Cupertino-Pane for vue 3](https://github.com/Devrax/v-cupertino)\n> # Installation\n\nActually kinda easy\n\n```sh\n  npm i -D v2-cupertino\n```\n\n> # How works\n\n\n## **Slot**\n\nThe component just have one simple slot where you can easily put one or multiple components (by wrapping it in a template or wrap element like a div), doesn't have any special v-slots, any component or html element used will fallback into v-slot:default.\n\n```html\n  <template>\n    <v2-cupertino>\n      <div>Hola mundo!<div>\n      <div>Adiós mundo cruel!</div>\n    <v2-cupertino>\n  </template>\n\n  <script>\n    import V2Cupertino from 'v2-cupertino';\n\n    export default {\n        name: 'App',\n        components: {\n            V2Cupertino\n        }\n    }\n\n  </script>\n```\n\n<br>\n<br>\n\n## **Props**\n| props | type | example | comments |\n|-|-|-|-|\n| :drawerOptions ( optional ) | `CupertinoSettings` |  `<v2-cupertino :drawerOptions=\"yourSettingsObject\">` | The same as the Cupertinos Options; **constraints** you cannot override cupertino's callbacks even if you specified in the `CupertinoSettings`' Object|\n| :entryAnimation ( optional ) | `Boolean` | `<v2-cupertino :entryAnimation=\"Boolean\">` | Whether the drawer should present, destroy or hide with a smooth animation |\n| :entryComponent ( optional ) | `Component` | `<v2-cupertino :entryComponent=\"Component\">` | The component itself use slots, but I think it would be faster to toggle between component from scripts instead of using v-if also components remember their state because are wrapped by `<keep-alive>` tag|\n|:isPresent | Boolean | `<v2-cupertino :entryComponent=\"Component\">` | Whether the component should be present or hide, when initialize; **default:** true |\n|:id | Number &#124; String | `<v2-cupertino :id=\"2\">` | If you have multiples v2-cupertino components in the same app that might be working in the same time could crash the library cupertino-pane due that all of them are using the same selector class to create a new pane, using custom id, will allow you to use multiples v2-cupertino components as much as you want |\n\n<br>\n<br>\n\n## **Events**\n _**Note:** Are the same hooks as the Cupertino pane but instead of camelCase are kebak-case and without the prefix **on**: `@will-dismiss, @backdrop-tap...`_\n\n\n| events | return | comments |\n| - | - | - |\n| @did-dismiss | `() => void` | |\n| @will-dismiss | `() => void` | |\n| @did-present | `() => cupertinoInstance` | **Returns:** the cupertino instance inside the component when the drawer is already visible, this is useful when you need to have access to the instance once is visible  | \n| @will-present | `() => cupertinoInstance` | **Returns:** the cupertino instance inside the component when the drawer will be visible, this is useful when you need to have access to the instance before is visible | \n| @drag-start | `() => number` | **Returns:** the property `y` from the method `getBoundingClientRect()` that belongs to the `DOMRect` |\n| @drag | `() => number` | **Returns:** the property `y` from the method `getBoundingClientRect()` that belongs to the `DOMRect` |\n| @drag-end | `() => number` | **Returns:** the property `y` from the method `getBoundingClientRect()` that belongs to the `DOMRect` |\n| @backdrop-tap | `() => void` | |\n| @transition-start | `() => void` | |\n| @transition-end | `() => void` | |\n\n<br>\n<br>\n\n\n  **Notes:** In case you need more information about the library, remember that this is only a wrapper, for more information go to the oficial [Cupertino Pane library](https://github.com/roman-rr/cupertino-pane/blob/master/README.md).\n\n<br>\n<br>\n\n# License\nLicensed under the MIT License. [View original LICENSE](https://github.com/roman-rr/cupertino-pane/blob/master/LICENSE) [Project's LICENSE](/LICENSE)\n\nLol, that's all, thanks\n\n\n","readmeFilename":"README.md"}