@onereach/ui-components 2.71.2-beta.2244.0 → 2.71.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrCardCollection-06ecb8e1.js → OrCardCollection-091e2193.js} +2 -2
- package/dist/bundled/v2/{OrCardCollection-89428bbf.js → OrCardCollection-166cfcc6.js} +5 -5
- package/dist/bundled/v2/{OrConfirm-56d01cff.js → OrConfirm-55b89b17.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-bb2df177.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-837d57f8.js → OrIconButton-4bdd1566.js} +3 -10
- package/dist/bundled/v2/{OrInlineInput-57fccb41.js → OrInlineInput-b009a043.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-f8b86cf7.js → OrInlineTextarea-6e8c1f80.js} +1 -1
- package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-5404a234.js} +1 -1
- package/dist/bundled/v2/{OrListOfInputs-8f076650.js → OrListOfInputs-ab7f9d97.js} +4 -4
- package/dist/bundled/v2/{OrModal-78f5d49e.js → OrModal-51b9f3e7.js} +1 -1
- package/dist/bundled/v2/{OrNotification-458fe937.js → OrNotification-7f761f25.js} +1 -1
- package/dist/bundled/v2/OrNumberInput-face8ccc.js +227 -0
- package/dist/bundled/v2/OrPassword-a818e7b5.js +227 -0
- package/dist/bundled/v2/{OrSearch-f7cfa52f.js → OrSearch-832d7978.js} +4 -4
- package/dist/bundled/v2/{OrSearch-bb87b34c.js → OrSearch-d1169241.js} +1 -1
- package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-5634790b.js} +2 -2
- package/dist/bundled/v2/{OrTag-4085e8a7.js → OrTag-8d738be6.js} +1 -1
- package/dist/bundled/v2/{OrPassword-7da938aa.js → OrTextarea-71ff236d.js} +7 -449
- package/dist/bundled/v2/components/index.d.ts +5 -1
- package/dist/bundled/v2/components/index.js +21 -19
- package/dist/bundled/v2/components/or-card-collection/index.js +4 -4
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-confirm/index.js +2 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-input/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-input/index.js +13 -0
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-list-of-inputs/index.js +2 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-notification-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-number-input/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-number-input/index.js +14 -0
- package/dist/bundled/v2/components/or-password/index.d.ts +1 -0
- package/dist/bundled/v2/components/{or-inputs → or-password}/index.js +3 -4
- package/dist/bundled/v2/components/or-search/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-search/index.js +25 -0
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-tag-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-textarea/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-textarea/index.js +13 -0
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +21 -19
- package/dist/bundled/v2/{types-309b7b94.js → types-79e5c18d.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-e2980d04.js → OrCardCollection.vue_vue_type_script_lang-60403ae6.js} +3 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-d8124dda.js → OrCardCollection.vue_vue_type_script_lang-cd84f344.js} +4 -4
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-0f16fc67.js → OrConfirm.vue_vue_type_script_lang-41b4d791.js} +2 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-9231d51e.js} +2 -2
- package/dist/bundled/v3/{OrIconButton-e0566ecf.js → OrIconButton-428dd2cf.js} +2 -3
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js → OrIconButton.vue_vue_type_script_lang-ec6a3622.js} +3 -9
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-49ce3308.js → OrInlineInput.vue_vue_type_script_lang-ab296efc.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js → OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js} +2 -2
- package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-2a7c6b57.js} +1 -1
- package/dist/bundled/v3/{OrInput-7d4b571a.js → OrInput-704e72ba.js} +5 -193
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-409235cc.js +190 -0
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-509de504.js} +2 -2
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js → OrListOfInputs.vue_vue_type_script_lang-6c5cf7a5.js} +2 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-6b1dc231.js → OrModal.vue_vue_type_script_lang-5a71a851.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d0afc1d7.js → OrNotification.vue_vue_type_script_lang-6287244f.js} +2 -2
- package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-f061d829.js +113 -0
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-b75f6543.js +99 -0
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-16fbccc0.js → OrSearch.vue_vue_type_script_lang-5356fa79.js} +2 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-321907ec.js → OrSearch.vue_vue_type_script_lang-ab2ef22c.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-54f683a2.js} +3 -3
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-a25a49ee.js → OrTag.vue_vue_type_script_lang-cd3e040e.js} +2 -2
- package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-69ea22e9.js +187 -0
- package/dist/bundled/v3/{OrToastContainer-6fe12712.js → OrToastContainer-ad5ae5af.js} +1 -1
- package/dist/bundled/v3/components/index.d.ts +5 -1
- package/dist/bundled/v3/components/index.js +24 -21
- package/dist/bundled/v3/components/or-card-collection/index.js +5 -4
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-confirm/index.js +3 -2
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-input/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-input/index.js +14 -0
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-list-of-inputs/index.js +3 -2
- package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-number-input/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-number-input/index.js +16 -0
- package/dist/bundled/v3/components/or-password/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-password/index.js +31 -0
- package/dist/bundled/v3/components/or-search/index.d.ts +1 -0
- package/dist/bundled/v3/components/{or-inputs → or-search}/index.js +4 -5
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-textarea/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-textarea/index.js +14 -0
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +674 -669
- package/dist/bundled/v3/{types-22fbf9d6.js → types-1d25bb9a.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-f6b07557.js → OrCardCollection-19582949.js} +6 -7
- package/dist/esm/v2/{OrCardCollection-251ab033.js → OrCardCollection-bbdb6159.js} +2 -2
- package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-cfaf4266.js} +1 -1
- package/dist/esm/v2/{OrConfirm-d7112dd3.js → OrConfirm-ede619eb.js} +4 -4
- package/dist/esm/v2/{OrIconButton-04a3566d.js → OrIconButton-5fa56aec.js} +3 -10
- package/dist/esm/v2/{OrInlineInput-b85b84b4.js → OrInlineInput-38645a8e.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-afd33047.js → OrInlineTextarea-b49a7107.js} +1 -1
- package/dist/esm/v2/{OrSearch.vue_rollup-plugin-vue_script-197d77fc.js → OrInput-6e6cfd11.js} +4 -492
- package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-e8fe9102.js} +1 -1
- package/dist/esm/v2/{OrListOfInputs-50aa1ef1.js → OrListOfInputs-4298fa2c.js} +5 -5
- package/dist/esm/v2/{OrModal-4e79e0d5.js → OrModal-3b9d59de.js} +1 -1
- package/dist/esm/v2/{OrNotification-eac3867f.js → OrNotification-5e145880.js} +1 -1
- package/dist/esm/v2/OrNumberInput-b20d75d2.js +225 -0
- package/dist/esm/v2/OrPassword-e6d5e968.js +225 -0
- package/dist/esm/v2/{OrSearch-f42d588d.js → OrSearch-4b774707.js} +1 -1
- package/dist/esm/v2/{OrSearch-0589d17d.js → OrSearch-b4f4d59b.js} +122 -5
- package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-d7016575.js} +2 -2
- package/dist/esm/v2/{OrTag-b2906865.js → OrTag-765090df.js} +1 -1
- package/dist/esm/v2/{OrPassword-1fa97156.js → OrTextarea-91a95068.js} +187 -245
- package/dist/esm/v2/components/index.d.ts +5 -1
- package/dist/esm/v2/components/index.js +21 -19
- package/dist/esm/v2/components/or-card-collection/index.js +3 -4
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-confirm/index.js +2 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input/index.d.ts +1 -0
- package/dist/esm/v2/components/or-input/index.js +11 -0
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-list-of-inputs/index.js +2 -4
- package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v2/components/or-number-input/index.d.ts +1 -0
- package/dist/esm/v2/components/or-number-input/index.js +12 -0
- package/dist/esm/v2/components/or-password/index.d.ts +1 -0
- package/dist/esm/v2/components/{or-inputs → or-password}/index.js +5 -6
- package/dist/esm/v2/components/or-search/index.d.ts +1 -0
- package/dist/esm/v2/components/or-search/index.js +23 -0
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-textarea/index.d.ts +1 -0
- package/dist/esm/v2/components/or-textarea/index.js +11 -0
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/index.js +20 -18
- package/dist/esm/v2/{types-1f95d710.js → types-856a804f.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-a5e326ef.js → OrCardCollection-1e44c758.js} +2 -2
- package/dist/esm/v3/{OrCardCollection-8b8e3745.js → OrCardCollection-47f61c40.js} +2 -2
- package/dist/esm/v3/{OrConfirm-f39bd784.js → OrConfirm-c11ee2ec.js} +1 -1
- package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-e7cbf54c.js} +1 -1
- package/dist/esm/v3/{OrIconButton-2dcfb83e.js → OrIconButton-e5781317.js} +4 -11
- package/dist/esm/v3/{OrInlineInput-fbc35f85.js → OrInlineInput-09de432a.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-79da8697.js → OrInlineTextarea-56328f22.js} +1 -1
- package/dist/esm/v3/{OrInput-bd054213.js → OrInput-6fb81556.js} +1 -1
- package/dist/esm/v3/OrInput-81125804.js +295 -0
- package/dist/esm/v3/{OrListOfInputs-7a67440f.js → OrListOfInputs-508e056f.js} +1 -1
- package/dist/esm/v3/{OrModal-4219a6dc.js → OrModal-10838da7.js} +1 -1
- package/dist/esm/v3/{OrNotification-0e682c7f.js → OrNotification-25da89ca.js} +1 -1
- package/dist/esm/v3/OrNumberInput-b32b5ce3.js +170 -0
- package/dist/esm/v3/OrPassword-b0cbb578.js +162 -0
- package/dist/esm/v3/OrSearch-11fdf667.js +188 -0
- package/dist/esm/v3/{OrSearch-4c5c44f2.js → OrSearch-e15955a7.js} +1 -1
- package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-027b5e8f.js} +2 -2
- package/dist/esm/v3/{OrTag-148ff9ae.js → OrTag-21ba5e15.js} +1 -1
- package/dist/esm/v3/OrTextarea-1f5c3be1.js +290 -0
- package/dist/esm/v3/components/index.d.ts +5 -1
- package/dist/esm/v3/components/index.js +21 -17
- package/dist/esm/v3/components/or-card-collection/index.js +3 -3
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-confirm/index.js +2 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input/index.d.ts +1 -0
- package/dist/esm/v3/components/or-input/index.js +11 -0
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-list-of-inputs/index.js +2 -4
- package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v3/components/or-number-input/index.d.ts +1 -0
- package/dist/esm/v3/components/or-number-input/index.js +12 -0
- package/dist/esm/v3/components/or-password/index.d.ts +1 -0
- package/dist/esm/v3/components/{or-inputs → or-password}/index.js +3 -2
- package/dist/esm/v3/components/or-search/index.d.ts +1 -0
- package/dist/esm/v3/components/or-search/index.js +20 -0
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea/index.d.ts +1 -0
- package/dist/esm/v3/components/or-textarea/index.js +11 -0
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/index.js +20 -16
- package/dist/esm/v3/{types-b79e4387.js → types-7f17b4b2.js} +1 -1
- package/package.json +3 -2
- package/src/components/index.ts +5 -1
- package/src/components/or-card-collection/OrCardCollection.vue +8 -8
- package/src/components/or-confirm/OrConfirm.vue +1 -1
- package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +0 -4
- package/src/components/or-icon-button-v3/OrIconButton.vue +0 -6
- package/src/components/or-icon-button-v3/styles.ts +0 -13
- package/src/components/or-input/index.ts +1 -0
- package/src/components/or-list/OrList.stories.ts +1 -1
- package/src/components/or-list-of-inputs/OrListOfInputs.vue +1 -1
- package/src/components/or-modal/OrModal.stories.ts +1 -1
- package/src/components/{or-inputs → or-number-input}/OrNumberInput.vue +1 -1
- package/src/components/or-number-input/index.ts +1 -0
- package/src/components/{or-inputs → or-password}/OrPassword.vue +1 -1
- package/src/components/or-password/index.ts +1 -0
- package/src/components/{or-inputs → or-search}/OrSearch.vue +1 -1
- package/src/components/or-search/index.ts +1 -0
- package/src/components/{or-inputs → or-textarea}/OrTextarea.vue +225 -6
- package/src/components/or-textarea/index.ts +1 -0
- package/dist/bundled/v2/components/or-inputs/index.d.ts +0 -5
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-13bc5b00.js +0 -390
- package/dist/bundled/v3/components/or-inputs/index.d.ts +0 -5
- package/dist/esm/v2/components/or-inputs/index.d.ts +0 -5
- package/dist/esm/v3/OrSearch-7cb2c91c.js +0 -1075
- package/dist/esm/v3/components/or-inputs/index.d.ts +0 -5
- package/src/components/or-inputs/index.ts +0 -5
- /package/dist/bundled/v2/{OrInput-08f2f666.js → OrInput-df1a14fa.js} +0 -0
- /package/dist/bundled/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
- /package/src/components/{or-inputs → or-input}/OrInput.stories.ts +0 -0
- /package/src/components/{or-inputs → or-input}/OrInput.vue +0 -0
- /package/src/components/{or-inputs → or-input}/or-textbox-migration.stories.mdx +0 -0
- /package/src/components/{or-inputs → or-input}/styles.scss +0 -0
- /package/src/components/{or-inputs → or-number-input}/OrNumberInput.stories.ts +0 -0
- /package/src/components/{or-inputs → or-password}/OrPassword.stories.ts +0 -0
- /package/src/components/{or-inputs → or-search}/OrSearch.stories.ts +0 -0
- /package/src/components/{or-inputs → or-textarea}/OrTextarea.stories.ts +0 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { defineComponent, ref } from 'vue-demi';
|
|
2
|
+
import { s as script$1 } from './OrInput-81125804.js';
|
|
3
|
+
import { resolveComponent, openBlock, createBlock, createSlots, withCtx, renderSlot } from 'vue';
|
|
4
|
+
|
|
5
|
+
var script = defineComponent({
|
|
6
|
+
name: 'OrNumberInput',
|
|
7
|
+
components: {
|
|
8
|
+
OrInput: script$1
|
|
9
|
+
},
|
|
10
|
+
model: {
|
|
11
|
+
prop: 'modelValue',
|
|
12
|
+
event: 'update:modelValue'
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: Number,
|
|
17
|
+
default: undefined,
|
|
18
|
+
required: false
|
|
19
|
+
},
|
|
20
|
+
htmlId: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '',
|
|
23
|
+
required: false
|
|
24
|
+
},
|
|
25
|
+
placeholder: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: '',
|
|
28
|
+
required: false
|
|
29
|
+
},
|
|
30
|
+
label: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: '',
|
|
33
|
+
required: false
|
|
34
|
+
},
|
|
35
|
+
error: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: '',
|
|
38
|
+
required: false
|
|
39
|
+
},
|
|
40
|
+
hint: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: '',
|
|
43
|
+
required: false
|
|
44
|
+
},
|
|
45
|
+
minValue: {
|
|
46
|
+
type: Number,
|
|
47
|
+
default: undefined,
|
|
48
|
+
required: false
|
|
49
|
+
},
|
|
50
|
+
maxValue: {
|
|
51
|
+
type: Number,
|
|
52
|
+
default: undefined,
|
|
53
|
+
required: false
|
|
54
|
+
},
|
|
55
|
+
stepValue: {
|
|
56
|
+
type: Number,
|
|
57
|
+
default: undefined,
|
|
58
|
+
required: false
|
|
59
|
+
},
|
|
60
|
+
isSmall: Boolean,
|
|
61
|
+
isRequired: Boolean,
|
|
62
|
+
isDisabled: Boolean,
|
|
63
|
+
isReadonly: Boolean,
|
|
64
|
+
isInvalid: Boolean
|
|
65
|
+
},
|
|
66
|
+
emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
|
|
67
|
+
setup(props, {
|
|
68
|
+
emit
|
|
69
|
+
}) {
|
|
70
|
+
const inputRef = ref();
|
|
71
|
+
if (props.modelValue) {
|
|
72
|
+
if (props.minValue !== undefined && props.modelValue < props.minValue) {
|
|
73
|
+
emit('update:modelValue', props.minValue);
|
|
74
|
+
} else if (props.maxValue !== undefined && props.modelValue > props.maxValue) {
|
|
75
|
+
emit('update:modelValue', props.maxValue);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
inputRef
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
computed: {
|
|
83
|
+
htmlInputAttrs() {
|
|
84
|
+
return {
|
|
85
|
+
min: this.minValue,
|
|
86
|
+
max: this.maxValue,
|
|
87
|
+
step: this.stepValue
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
localValue: {
|
|
91
|
+
get() {
|
|
92
|
+
var _a;
|
|
93
|
+
return ((_a = this.modelValue) !== null && _a !== void 0 ? _a : '') + '';
|
|
94
|
+
},
|
|
95
|
+
set(val) {
|
|
96
|
+
if (val === undefined || val === '') {
|
|
97
|
+
this.$emit('update:modelValue', undefined);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const numVal = +val;
|
|
101
|
+
if (this.minValue !== undefined && numVal < this.minValue) {
|
|
102
|
+
this.$emit('update:modelValue', this.minValue);
|
|
103
|
+
} else if (this.maxValue !== undefined && numVal > this.maxValue) {
|
|
104
|
+
this.$emit('update:modelValue', this.maxValue);
|
|
105
|
+
} else {
|
|
106
|
+
this.$emit('update:modelValue', numVal);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
114
|
+
const _component_or_input = resolveComponent("or-input");
|
|
115
|
+
return openBlock(), createBlock(_component_or_input, {
|
|
116
|
+
ref: "inputRef",
|
|
117
|
+
modelValue: _ctx.localValue,
|
|
118
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.localValue = $event),
|
|
119
|
+
class: "or-password",
|
|
120
|
+
"html-id": _ctx.htmlId,
|
|
121
|
+
placeholder: _ctx.placeholder,
|
|
122
|
+
"html-type": "number",
|
|
123
|
+
"html-input-attrs": _ctx.htmlInputAttrs,
|
|
124
|
+
label: _ctx.label,
|
|
125
|
+
error: _ctx.error,
|
|
126
|
+
hint: _ctx.hint,
|
|
127
|
+
"is-small": _ctx.isSmall,
|
|
128
|
+
"is-required": _ctx.isRequired,
|
|
129
|
+
"is-disabled": _ctx.isDisabled,
|
|
130
|
+
"is-readonly": _ctx.isReadonly,
|
|
131
|
+
"is-invalid": _ctx.isInvalid,
|
|
132
|
+
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
133
|
+
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event)),
|
|
134
|
+
onInput: _cache[3] || (_cache[3] = $event => _ctx.$emit('input', $event)),
|
|
135
|
+
onKeypress: _cache[4] || (_cache[4] = $event => _ctx.$emit('keypress', $event)),
|
|
136
|
+
onKeyup: _cache[5] || (_cache[5] = $event => _ctx.$emit('keyup', $event)),
|
|
137
|
+
onKeydown: _cache[6] || (_cache[6] = $event => _ctx.$emit('keydown', $event))
|
|
138
|
+
}, createSlots({
|
|
139
|
+
_: 2 /* DYNAMIC */
|
|
140
|
+
}, [_ctx.$slots.prepend ? {
|
|
141
|
+
name: "prepend",
|
|
142
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "prepend")]),
|
|
143
|
+
key: "0"
|
|
144
|
+
} : undefined, _ctx.$slots['label-default'] ? {
|
|
145
|
+
name: "label-default",
|
|
146
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-default")]),
|
|
147
|
+
key: "1"
|
|
148
|
+
} : undefined, _ctx.$slots['label-append'] ? {
|
|
149
|
+
name: "label-append",
|
|
150
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-append")]),
|
|
151
|
+
key: "2"
|
|
152
|
+
} : undefined, _ctx.$slots['wrapper-end'] ? {
|
|
153
|
+
name: "wrapper-end",
|
|
154
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "wrapper-end")]),
|
|
155
|
+
key: "3"
|
|
156
|
+
} : undefined, _ctx.$slots['input-end'] ? {
|
|
157
|
+
name: "input-end",
|
|
158
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "input-end")]),
|
|
159
|
+
key: "4"
|
|
160
|
+
} : undefined, _ctx.$slots.append ? {
|
|
161
|
+
name: "append",
|
|
162
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "append")]),
|
|
163
|
+
key: "5"
|
|
164
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "html-id", "placeholder", "html-input-attrs", "label", "error", "hint", "is-small", "is-required", "is-disabled", "is-readonly", "is-invalid"]);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
script.render = render;
|
|
168
|
+
script.__file = "src/components/or-number-input/OrNumberInput.vue";
|
|
169
|
+
|
|
170
|
+
export { script as s };
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { defineComponent, ref } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
3
|
+
import { s as script$1 } from './OrInput-81125804.js';
|
|
4
|
+
import { u as useToggle } from './useToggle-29e4d7c7.js';
|
|
5
|
+
import { a as script$2, c as BUTTON_SIZE } from './OrIconButton-8be9c89f.js';
|
|
6
|
+
import { resolveComponent, openBlock, createBlock, createSlots, withCtx, createVNode, renderSlot } from 'vue';
|
|
7
|
+
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
|
+
|
|
9
|
+
var script = defineComponent({
|
|
10
|
+
name: 'OrPassword',
|
|
11
|
+
components: {
|
|
12
|
+
OrInput: script$1,
|
|
13
|
+
OrIconButton: script$2
|
|
14
|
+
},
|
|
15
|
+
model: {
|
|
16
|
+
prop: 'modelValue',
|
|
17
|
+
event: 'update:modelValue'
|
|
18
|
+
},
|
|
19
|
+
props: {
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: '',
|
|
23
|
+
required: false
|
|
24
|
+
},
|
|
25
|
+
htmlId: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: '',
|
|
28
|
+
required: false
|
|
29
|
+
},
|
|
30
|
+
placeholder: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: '',
|
|
33
|
+
required: false
|
|
34
|
+
},
|
|
35
|
+
label: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: '',
|
|
38
|
+
required: false
|
|
39
|
+
},
|
|
40
|
+
error: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: '',
|
|
43
|
+
required: false
|
|
44
|
+
},
|
|
45
|
+
hint: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: '',
|
|
48
|
+
required: false
|
|
49
|
+
},
|
|
50
|
+
maxLength: {
|
|
51
|
+
type: Number,
|
|
52
|
+
default: undefined,
|
|
53
|
+
required: false
|
|
54
|
+
},
|
|
55
|
+
isSmall: Boolean,
|
|
56
|
+
isRequired: Boolean,
|
|
57
|
+
isDisabled: Boolean,
|
|
58
|
+
isReadonly: Boolean,
|
|
59
|
+
isInvalid: Boolean
|
|
60
|
+
},
|
|
61
|
+
emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
|
|
62
|
+
setup(props, {
|
|
63
|
+
emit
|
|
64
|
+
}) {
|
|
65
|
+
const inputRef = ref();
|
|
66
|
+
const localValue = useVModel(props, 'modelValue', emit);
|
|
67
|
+
const {
|
|
68
|
+
isActiveToggle,
|
|
69
|
+
toggle
|
|
70
|
+
} = useToggle();
|
|
71
|
+
return {
|
|
72
|
+
inputRef,
|
|
73
|
+
localValue,
|
|
74
|
+
isActiveToggle,
|
|
75
|
+
toggle
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
computed: {
|
|
79
|
+
currentButtonIcon() {
|
|
80
|
+
return this.isActiveToggle ? 'visibility' : 'visibility_off';
|
|
81
|
+
},
|
|
82
|
+
type() {
|
|
83
|
+
return this.isActiveToggle ? 'text' : 'password';
|
|
84
|
+
},
|
|
85
|
+
size() {
|
|
86
|
+
return this.isSmall ? BUTTON_SIZE.SMALL : BUTTON_SIZE.DEFAULT;
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
methods: {
|
|
90
|
+
onClick() {
|
|
91
|
+
var _a;
|
|
92
|
+
this.toggle();
|
|
93
|
+
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
99
|
+
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
100
|
+
const _component_or_input = resolveComponent("or-input");
|
|
101
|
+
return openBlock(), createBlock(_component_or_input, {
|
|
102
|
+
ref: "inputRef",
|
|
103
|
+
modelValue: _ctx.localValue,
|
|
104
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.localValue = $event),
|
|
105
|
+
class: "or-password",
|
|
106
|
+
"html-id": _ctx.htmlId,
|
|
107
|
+
placeholder: _ctx.placeholder,
|
|
108
|
+
"html-type": _ctx.type,
|
|
109
|
+
label: _ctx.label,
|
|
110
|
+
error: _ctx.error,
|
|
111
|
+
hint: _ctx.hint,
|
|
112
|
+
"max-length": _ctx.maxLength,
|
|
113
|
+
"is-small": _ctx.isSmall,
|
|
114
|
+
"is-required": _ctx.isRequired,
|
|
115
|
+
"is-disabled": _ctx.isDisabled,
|
|
116
|
+
"is-readonly": _ctx.isReadonly,
|
|
117
|
+
"is-invalid": _ctx.isInvalid,
|
|
118
|
+
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
119
|
+
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event)),
|
|
120
|
+
onInput: _cache[3] || (_cache[3] = $event => _ctx.$emit('input', $event)),
|
|
121
|
+
onKeypress: _cache[4] || (_cache[4] = $event => _ctx.$emit('keypress', $event)),
|
|
122
|
+
onKeyup: _cache[5] || (_cache[5] = $event => _ctx.$emit('keyup', $event)),
|
|
123
|
+
onKeydown: _cache[6] || (_cache[6] = $event => _ctx.$emit('keydown', $event))
|
|
124
|
+
}, createSlots({
|
|
125
|
+
"wrapper-end": withCtx(() => [createVNode(_component_or_icon_button, {
|
|
126
|
+
icon: _ctx.currentButtonIcon,
|
|
127
|
+
"icon-color": "neutral-4",
|
|
128
|
+
size: _ctx.size,
|
|
129
|
+
onClick: _ctx.onClick
|
|
130
|
+
}, null, 8 /* PROPS */, ["icon", "size", "onClick"])]),
|
|
131
|
+
_: 2 /* DYNAMIC */
|
|
132
|
+
}, [_ctx.$slots.prepend ? {
|
|
133
|
+
name: "prepend",
|
|
134
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "prepend")]),
|
|
135
|
+
key: "0"
|
|
136
|
+
} : undefined, _ctx.$slots['label-default'] ? {
|
|
137
|
+
name: "label-default",
|
|
138
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-default")]),
|
|
139
|
+
key: "1"
|
|
140
|
+
} : undefined, _ctx.$slots['label-append'] ? {
|
|
141
|
+
name: "label-append",
|
|
142
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-append")]),
|
|
143
|
+
key: "2"
|
|
144
|
+
} : undefined, _ctx.$slots['input-end'] ? {
|
|
145
|
+
name: "input-end",
|
|
146
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "input-end")]),
|
|
147
|
+
key: "3"
|
|
148
|
+
} : undefined, _ctx.$slots.append ? {
|
|
149
|
+
name: "append",
|
|
150
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "append")]),
|
|
151
|
+
key: "4"
|
|
152
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "html-id", "placeholder", "html-type", "label", "error", "hint", "max-length", "is-small", "is-required", "is-disabled", "is-readonly", "is-invalid"]);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-4b6cde50 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-4b6cde50 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-password .or-icon-button-root[data-v-4b6cde50] {\n position: absolute;\n top: 50%;\n right: 0;\n z-index: 1;\n transform: translate(-0.625rem, -50%);\n}\n.or-password[data-v-4b6cde50] .or-textbox--input {\n padding-right: calc(0.625rem + 1.625rem);\n}\n.or-password.is-small[data-v-4b6cde50] .or-textbox--input {\n padding-right: calc(0.625rem + 1.5rem);\n}";
|
|
156
|
+
styleInject(css_248z);
|
|
157
|
+
|
|
158
|
+
script.render = render;
|
|
159
|
+
script.__scopeId = "data-v-4b6cde50";
|
|
160
|
+
script.__file = "src/components/or-password/OrPassword.vue";
|
|
161
|
+
|
|
162
|
+
export { script as s };
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { defineComponent, ref } from 'vue-demi';
|
|
2
|
+
import { s as script$1 } from './OrInput-81125804.js';
|
|
3
|
+
import { debouncedWatch } from '@vueuse/core';
|
|
4
|
+
import { a as script$2, c as BUTTON_SIZE } from './OrIconButton-8be9c89f.js';
|
|
5
|
+
import { resolveComponent, openBlock, createBlock, createSlots, withCtx, createVNode, normalizeStyle, renderSlot } from 'vue';
|
|
6
|
+
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
7
|
+
|
|
8
|
+
var script = defineComponent({
|
|
9
|
+
name: 'OrSearch',
|
|
10
|
+
components: {
|
|
11
|
+
OrInput: script$1,
|
|
12
|
+
OrIconButton: script$2
|
|
13
|
+
},
|
|
14
|
+
model: {
|
|
15
|
+
prop: 'modelValue',
|
|
16
|
+
event: 'update:modelValue'
|
|
17
|
+
},
|
|
18
|
+
props: {
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: '',
|
|
22
|
+
required: false
|
|
23
|
+
},
|
|
24
|
+
htmlId: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: '',
|
|
27
|
+
required: false
|
|
28
|
+
},
|
|
29
|
+
placeholder: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: '',
|
|
32
|
+
required: false
|
|
33
|
+
},
|
|
34
|
+
label: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: '',
|
|
37
|
+
required: false
|
|
38
|
+
},
|
|
39
|
+
error: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: '',
|
|
42
|
+
required: false
|
|
43
|
+
},
|
|
44
|
+
hint: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: '',
|
|
47
|
+
required: false
|
|
48
|
+
},
|
|
49
|
+
debounce: {
|
|
50
|
+
type: Number,
|
|
51
|
+
default: 500,
|
|
52
|
+
required: false
|
|
53
|
+
},
|
|
54
|
+
isUsingTrim: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: true,
|
|
57
|
+
required: false
|
|
58
|
+
},
|
|
59
|
+
maxLength: {
|
|
60
|
+
type: Number,
|
|
61
|
+
default: undefined,
|
|
62
|
+
required: false
|
|
63
|
+
},
|
|
64
|
+
isSmall: Boolean,
|
|
65
|
+
isRequired: Boolean,
|
|
66
|
+
isDisabled: Boolean,
|
|
67
|
+
isReadonly: Boolean,
|
|
68
|
+
isInvalid: Boolean
|
|
69
|
+
},
|
|
70
|
+
emits: ['focus', 'blur', 'update:modelValue', 'input', 'search', 'clear', 'keypress', 'keyup', 'keydown'],
|
|
71
|
+
setup(props, {
|
|
72
|
+
emit
|
|
73
|
+
}) {
|
|
74
|
+
var _a;
|
|
75
|
+
const inputRef = ref();
|
|
76
|
+
const localValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : '');
|
|
77
|
+
debouncedWatch(localValue, () => {
|
|
78
|
+
emit('search', props.isUsingTrim ? localValue.value.trim() : localValue.value);
|
|
79
|
+
}, {
|
|
80
|
+
debounce: +props.debounce
|
|
81
|
+
});
|
|
82
|
+
return {
|
|
83
|
+
inputRef,
|
|
84
|
+
localValue
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
computed: {
|
|
88
|
+
hasValue() {
|
|
89
|
+
var _a;
|
|
90
|
+
return !!((_a = this.localValue) === null || _a === void 0 ? void 0 : _a.length);
|
|
91
|
+
},
|
|
92
|
+
currentButtonIcon() {
|
|
93
|
+
return this.hasValue ? 'close' : 'search';
|
|
94
|
+
},
|
|
95
|
+
size() {
|
|
96
|
+
return this.isSmall ? BUTTON_SIZE.SMALL : BUTTON_SIZE.DEFAULT;
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
watch: {
|
|
100
|
+
modelValue(val) {
|
|
101
|
+
if (this.localValue !== val) this.localValue = val;
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
methods: {
|
|
105
|
+
onClick() {
|
|
106
|
+
var _a;
|
|
107
|
+
if (this.hasValue) {
|
|
108
|
+
this.localValue = '';
|
|
109
|
+
this.$emit('update:modelValue', '');
|
|
110
|
+
this.$emit('clear');
|
|
111
|
+
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
onModelValueUpdate(value) {
|
|
115
|
+
this.localValue = value;
|
|
116
|
+
this.$emit('update:modelValue', value);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
122
|
+
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
123
|
+
const _component_or_input = resolveComponent("or-input");
|
|
124
|
+
return openBlock(), createBlock(_component_or_input, {
|
|
125
|
+
ref: "inputRef",
|
|
126
|
+
class: "or-search",
|
|
127
|
+
"model-value": _ctx.localValue,
|
|
128
|
+
"html-id": _ctx.htmlId,
|
|
129
|
+
placeholder: _ctx.placeholder,
|
|
130
|
+
"html-type": "search",
|
|
131
|
+
label: _ctx.label,
|
|
132
|
+
error: _ctx.error,
|
|
133
|
+
hint: _ctx.hint,
|
|
134
|
+
"max-length": _ctx.maxLength,
|
|
135
|
+
"is-small": _ctx.isSmall,
|
|
136
|
+
"is-required": _ctx.isRequired,
|
|
137
|
+
"is-disabled": _ctx.isDisabled,
|
|
138
|
+
"is-readonly": _ctx.isReadonly,
|
|
139
|
+
"is-invalid": _ctx.isInvalid,
|
|
140
|
+
onFocus: _cache[0] || (_cache[0] = $event => _ctx.$emit('focus', $event)),
|
|
141
|
+
onBlur: _cache[1] || (_cache[1] = $event => _ctx.$emit('blur', $event)),
|
|
142
|
+
"onUpdate:modelValue": _ctx.onModelValueUpdate,
|
|
143
|
+
onInput: _cache[2] || (_cache[2] = $event => _ctx.$emit('input', $event)),
|
|
144
|
+
onKeypress: _cache[3] || (_cache[3] = $event => _ctx.$emit('keypress', $event)),
|
|
145
|
+
onKeyup: _cache[4] || (_cache[4] = $event => _ctx.$emit('keyup', $event)),
|
|
146
|
+
onKeydown: _cache[5] || (_cache[5] = $event => _ctx.$emit('keydown', $event))
|
|
147
|
+
}, createSlots({
|
|
148
|
+
"wrapper-end": withCtx(() => [createVNode(_component_or_icon_button, {
|
|
149
|
+
icon: _ctx.currentButtonIcon,
|
|
150
|
+
style: normalizeStyle(!_ctx.hasValue ? {
|
|
151
|
+
pointerEvents: 'none'
|
|
152
|
+
} : null),
|
|
153
|
+
"icon-color": "neutral-4",
|
|
154
|
+
size: _ctx.size,
|
|
155
|
+
onClick: _ctx.onClick
|
|
156
|
+
}, null, 8 /* PROPS */, ["icon", "style", "size", "onClick"])]),
|
|
157
|
+
_: 2 /* DYNAMIC */
|
|
158
|
+
}, [_ctx.$slots.prepend ? {
|
|
159
|
+
name: "prepend",
|
|
160
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "prepend")]),
|
|
161
|
+
key: "0"
|
|
162
|
+
} : undefined, _ctx.$slots['label-default'] ? {
|
|
163
|
+
name: "label-default",
|
|
164
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-default")]),
|
|
165
|
+
key: "1"
|
|
166
|
+
} : undefined, _ctx.$slots['label-append'] ? {
|
|
167
|
+
name: "label-append",
|
|
168
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-append")]),
|
|
169
|
+
key: "2"
|
|
170
|
+
} : undefined, _ctx.$slots['input-end'] ? {
|
|
171
|
+
name: "input-end",
|
|
172
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "input-end")]),
|
|
173
|
+
key: "3"
|
|
174
|
+
} : undefined, _ctx.$slots.append ? {
|
|
175
|
+
name: "append",
|
|
176
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "append")]),
|
|
177
|
+
key: "4"
|
|
178
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["model-value", "html-id", "placeholder", "label", "error", "hint", "max-length", "is-small", "is-required", "is-disabled", "is-readonly", "is-invalid", "onUpdate:modelValue"]);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-056f5f90 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-056f5f90 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-search .or-icon-button-root[data-v-056f5f90] {\n position: absolute;\n top: 50%;\n right: 0;\n z-index: 1;\n transform: translate(-0.625rem, -50%);\n}\n.or-search[data-v-056f5f90] .or-textbox--input {\n padding-right: calc(0.625rem + 1.625rem);\n}\n.or-search.is-small[data-v-056f5f90] .or-textbox--input {\n padding-right: calc(0.625rem + 1.5rem);\n}";
|
|
182
|
+
styleInject(css_248z);
|
|
183
|
+
|
|
184
|
+
script.render = render;
|
|
185
|
+
script.__scopeId = "data-v-056f5f90";
|
|
186
|
+
script.__file = "src/components/or-search/OrSearch.vue";
|
|
187
|
+
|
|
188
|
+
export { script as s };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { s as script$1 } from './OrInput-
|
|
3
|
+
import { s as script$1 } from './OrInput-6fb81556.js';
|
|
4
4
|
import { a as InputBoxSize } from './OrInputBox-e16ade90.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
@@ -8,11 +8,11 @@ import { s as script$3 } from './OrExpansionPanel-3a4282da.js';
|
|
|
8
8
|
import { s as script$4 } from './OrHint-6863124f.js';
|
|
9
9
|
import { s as script$5 } from './OrIcon-34f59f73.js';
|
|
10
10
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-e16ade90.js';
|
|
11
|
-
import { s as script$6 } from './OrInput-
|
|
11
|
+
import { s as script$6 } from './OrInput-6fb81556.js';
|
|
12
12
|
import { s as script$8 } from './OrLabel-f700f9fb.js';
|
|
13
13
|
import { s as script$9 } from './OrMenuItem-58707d47.js';
|
|
14
14
|
import { s as script$a } from './OrPopover-40217b49.js';
|
|
15
|
-
import { s as script$b } from './OrTag-
|
|
15
|
+
import { s as script$b } from './OrTag-21ba5e15.js';
|
|
16
16
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, createVNode, withModifiers } from 'vue';
|
|
17
17
|
|
|
18
18
|
const SelectRoot = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrIconButton-
|
|
2
|
+
import { s as script$1 } from './OrIconButton-e5781317.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode, withModifiers, createCommentVNode } from 'vue';
|
|
4
4
|
|
|
5
5
|
var TagVariant;
|