@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
|
@@ -1,1075 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, getCurrentInstance } from 'vue-demi';
|
|
2
|
-
import { p as pxToRem } from './px-to-rem-0b26b83e.js';
|
|
3
|
-
import { s as setStyle, r as requestAF, d as getCS, a as reflow, c as cancelAF } from './dom-3a15d036.js';
|
|
4
|
-
import { s as script$5 } from './OrLabel-876f8729.js';
|
|
5
|
-
import { s as script$6 } from './OrHint-1414c530.js';
|
|
6
|
-
import { s as script$7 } from './OrError-f90296db.js';
|
|
7
|
-
import { s as script$8 } from './OrCollapse-445141ab.js';
|
|
8
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createCommentVNode, renderSlot, createElementVNode, createBlock, withCtx, createTextVNode, toDisplayString, createVNode, Transition, mergeProps, createSlots, normalizeStyle } from 'vue';
|
|
9
|
-
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
|
-
import { useVModel, debouncedWatch } from '@vueuse/core';
|
|
11
|
-
import { u as useToggle } from './useToggle-29e4d7c7.js';
|
|
12
|
-
import { a as script$9, c as BUTTON_SIZE } from './OrIconButton-8be9c89f.js';
|
|
13
|
-
|
|
14
|
-
var script$4 = defineComponent({
|
|
15
|
-
name: 'OrTextarea',
|
|
16
|
-
components: {
|
|
17
|
-
OrLabel: script$5,
|
|
18
|
-
OrHint: script$6,
|
|
19
|
-
OrError: script$7,
|
|
20
|
-
OrCollapse: script$8
|
|
21
|
-
},
|
|
22
|
-
model: {
|
|
23
|
-
prop: 'modelValue',
|
|
24
|
-
event: 'update:modelValue'
|
|
25
|
-
},
|
|
26
|
-
props: {
|
|
27
|
-
modelValue: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: '',
|
|
30
|
-
required: false
|
|
31
|
-
},
|
|
32
|
-
htmlId: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: '',
|
|
35
|
-
required: false
|
|
36
|
-
},
|
|
37
|
-
placeholder: {
|
|
38
|
-
type: String,
|
|
39
|
-
default: '',
|
|
40
|
-
required: false
|
|
41
|
-
},
|
|
42
|
-
label: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: '',
|
|
45
|
-
required: false
|
|
46
|
-
},
|
|
47
|
-
error: {
|
|
48
|
-
type: String,
|
|
49
|
-
default: '',
|
|
50
|
-
required: false
|
|
51
|
-
},
|
|
52
|
-
hint: {
|
|
53
|
-
type: String,
|
|
54
|
-
default: '',
|
|
55
|
-
required: false
|
|
56
|
-
},
|
|
57
|
-
maxLength: {
|
|
58
|
-
type: Number,
|
|
59
|
-
default: undefined,
|
|
60
|
-
required: false
|
|
61
|
-
},
|
|
62
|
-
isSmall: Boolean,
|
|
63
|
-
isRequired: Boolean,
|
|
64
|
-
isDisabled: Boolean,
|
|
65
|
-
isReadonly: Boolean,
|
|
66
|
-
isInvalid: Boolean
|
|
67
|
-
},
|
|
68
|
-
emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
|
|
69
|
-
setup() {
|
|
70
|
-
const inputRef = ref();
|
|
71
|
-
return {
|
|
72
|
-
inputRef
|
|
73
|
-
};
|
|
74
|
-
},
|
|
75
|
-
data() {
|
|
76
|
-
return {
|
|
77
|
-
reqAF: null,
|
|
78
|
-
isFocused: false
|
|
79
|
-
};
|
|
80
|
-
},
|
|
81
|
-
computed: {
|
|
82
|
-
localValue() {
|
|
83
|
-
if (this.maxLength && this.modelValue.length > this.maxLength) {
|
|
84
|
-
return this.modelValue.slice(0, -(this.modelValue.length - this.maxLength));
|
|
85
|
-
}
|
|
86
|
-
return this.modelValue;
|
|
87
|
-
},
|
|
88
|
-
localId() {
|
|
89
|
-
var _a;
|
|
90
|
-
return this.htmlId || `input-${(_a = getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.uid}`;
|
|
91
|
-
},
|
|
92
|
-
hasValue() {
|
|
93
|
-
return !!this.localValue.length;
|
|
94
|
-
},
|
|
95
|
-
counterString() {
|
|
96
|
-
return this.maxLength && this.maxLength > 0 ? `${this.localValue.length} / ${this.maxLength}` : '';
|
|
97
|
-
},
|
|
98
|
-
isInactive() {
|
|
99
|
-
return this.isDisabled || this.isReadonly;
|
|
100
|
-
},
|
|
101
|
-
isShowError() {
|
|
102
|
-
return !!this.error && this.isInvalid;
|
|
103
|
-
},
|
|
104
|
-
isShowHint() {
|
|
105
|
-
return !!this.hint && !this.isShowError;
|
|
106
|
-
},
|
|
107
|
-
isShowInfo() {
|
|
108
|
-
return this.isShowError || this.isShowHint || !!this.maxLength;
|
|
109
|
-
},
|
|
110
|
-
rootClasses() {
|
|
111
|
-
return ['or-textbox', {
|
|
112
|
-
'is-show-info': this.isShowInfo,
|
|
113
|
-
'is-small': this.isSmall,
|
|
114
|
-
'has-counter': !!this.maxLength,
|
|
115
|
-
'has-label': !!this.label || !!this.$slots['label-default']
|
|
116
|
-
}];
|
|
117
|
-
},
|
|
118
|
-
inputClasses() {
|
|
119
|
-
return ['or-textbox--input-textarea', {
|
|
120
|
-
'is-disabled': this.isDisabled,
|
|
121
|
-
'is-readonly': this.isReadonly,
|
|
122
|
-
'is-focused': this.isFocused,
|
|
123
|
-
'is-required': this.isRequired,
|
|
124
|
-
'has-error': this.isInvalid
|
|
125
|
-
}];
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
methods: {
|
|
129
|
-
focus() {
|
|
130
|
-
var _a;
|
|
131
|
-
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
132
|
-
},
|
|
133
|
-
calcTextareaHeight() {
|
|
134
|
-
var _a;
|
|
135
|
-
if (this.inputRef) {
|
|
136
|
-
setStyle(this.inputRef, 'height', 0);
|
|
137
|
-
setStyle(this.inputRef, 'height', pxToRem((_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.scrollHeight));
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
onInput(event) {
|
|
141
|
-
if (this.isInactive) return;
|
|
142
|
-
this.calcTextareaHeight();
|
|
143
|
-
this.$emit('update:modelValue', event.target.value);
|
|
144
|
-
this.$emit('input', event.target.value);
|
|
145
|
-
},
|
|
146
|
-
onFocus(event) {
|
|
147
|
-
var _a;
|
|
148
|
-
this.isFocused = true;
|
|
149
|
-
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
150
|
-
this.$emit('focus', event);
|
|
151
|
-
},
|
|
152
|
-
onBlur(event) {
|
|
153
|
-
var _a;
|
|
154
|
-
this.isFocused = false;
|
|
155
|
-
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.blur();
|
|
156
|
-
this.$emit('blur', event);
|
|
157
|
-
},
|
|
158
|
-
beforeEnter(el) {
|
|
159
|
-
setStyle(el, 'opacity', 0);
|
|
160
|
-
},
|
|
161
|
-
enter(el) {
|
|
162
|
-
const {
|
|
163
|
-
scrollHeight,
|
|
164
|
-
parentElement
|
|
165
|
-
} = el;
|
|
166
|
-
this.reqAF = requestAF(() => {
|
|
167
|
-
const pt = parseFloat(getCS(parentElement).paddingTop);
|
|
168
|
-
const pb = parseFloat(getCS(parentElement).paddingBottom);
|
|
169
|
-
const height = scrollHeight + pt + pb;
|
|
170
|
-
if (parentElement) {
|
|
171
|
-
reflow(parentElement);
|
|
172
|
-
setStyle(parentElement, 'height', pxToRem(height));
|
|
173
|
-
}
|
|
174
|
-
setStyle(el, 'opacity', 1);
|
|
175
|
-
});
|
|
176
|
-
},
|
|
177
|
-
leave(el) {
|
|
178
|
-
this.reqAF = requestAF(() => {
|
|
179
|
-
el.style.opacity = '0';
|
|
180
|
-
});
|
|
181
|
-
},
|
|
182
|
-
cancelRequestAF() {
|
|
183
|
-
cancelAF(this.reqAF);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
|
|
188
|
-
const _hoisted_1$1 = {
|
|
189
|
-
key: 0,
|
|
190
|
-
ref: "prependRef",
|
|
191
|
-
class: "or-textbox--prepend"
|
|
192
|
-
};
|
|
193
|
-
const _hoisted_2$1 = {
|
|
194
|
-
class: "or-textbox--wrapper"
|
|
195
|
-
};
|
|
196
|
-
const _hoisted_3$1 = {
|
|
197
|
-
class: "or-textbox--input-wrapper"
|
|
198
|
-
};
|
|
199
|
-
const _hoisted_4$1 = ["id", "value", "maxlength", "disabled", "readonly", "placeholder"];
|
|
200
|
-
const _hoisted_5$1 = {
|
|
201
|
-
key: 0,
|
|
202
|
-
class: "or-textbox--input-end"
|
|
203
|
-
};
|
|
204
|
-
const _hoisted_6$1 = {
|
|
205
|
-
ref: "infoRef",
|
|
206
|
-
class: "or-textbox--info"
|
|
207
|
-
};
|
|
208
|
-
const _hoisted_7$1 = ["textContent"];
|
|
209
|
-
const _hoisted_8$1 = {
|
|
210
|
-
key: 1,
|
|
211
|
-
ref: "appendRef",
|
|
212
|
-
class: "or-textbox--append"
|
|
213
|
-
};
|
|
214
|
-
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
215
|
-
const _component_or_label = resolveComponent("or-label");
|
|
216
|
-
const _component_or_hint = resolveComponent("or-hint");
|
|
217
|
-
const _component_or_error = resolveComponent("or-error");
|
|
218
|
-
const _component_or_collapse = resolveComponent("or-collapse");
|
|
219
|
-
return openBlock(), createElementBlock("div", {
|
|
220
|
-
class: normalizeClass(_ctx.rootClasses)
|
|
221
|
-
}, [createCommentVNode(" Prepend Slot "), _ctx.$slots.prepend ? (openBlock(), createElementBlock("div", _hoisted_1$1, [renderSlot(_ctx.$slots, "prepend")], 512 /* NEED_PATCH */)) : createCommentVNode("v-if", true), createCommentVNode(" Input "), createElementVNode("div", _hoisted_2$1, [createCommentVNode(" Label "), _ctx.$slots['label-default'] || _ctx.label ? (openBlock(), createBlock(_component_or_label, {
|
|
222
|
-
key: 0,
|
|
223
|
-
"is-required": _ctx.isRequired,
|
|
224
|
-
for: _ctx.localId
|
|
225
|
-
}, {
|
|
226
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "label-default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
227
|
-
|
|
228
|
-
append: withCtx(() => [renderSlot(_ctx.$slots, "label-append")]),
|
|
229
|
-
_: 3 /* FORWARDED */
|
|
230
|
-
}, 8 /* PROPS */, ["is-required", "for"])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_3$1, [createElementVNode("textarea", {
|
|
231
|
-
id: _ctx.localId,
|
|
232
|
-
ref: "inputRef",
|
|
233
|
-
value: _ctx.localValue,
|
|
234
|
-
maxlength: _ctx.maxLength,
|
|
235
|
-
disabled: _ctx.isDisabled,
|
|
236
|
-
readonly: _ctx.isReadonly,
|
|
237
|
-
class: normalizeClass(_ctx.inputClasses),
|
|
238
|
-
placeholder: _ctx.placeholder,
|
|
239
|
-
onInput: _cache[0] || (_cache[0] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
|
|
240
|
-
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
|
|
241
|
-
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
|
|
242
|
-
onKeypress: _cache[3] || (_cache[3] = $event => _ctx.$emit('keypress', $event)),
|
|
243
|
-
onKeyup: _cache[4] || (_cache[4] = $event => _ctx.$emit('keyup', $event)),
|
|
244
|
-
onKeydown: _cache[5] || (_cache[5] = $event => _ctx.$emit('keydown', $event))
|
|
245
|
-
}, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_4$1), renderSlot(_ctx.$slots, "wrapper-end"), _ctx.$slots['input-end'] ? (openBlock(), createElementBlock("div", _hoisted_5$1, [renderSlot(_ctx.$slots, "input-end")])) : createCommentVNode("v-if", true)]), createCommentVNode(" Info "), createVNode(_component_or_collapse, {
|
|
246
|
-
"is-visible": _ctx.isShowInfo
|
|
247
|
-
}, {
|
|
248
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_6$1, [createVNode(Transition, {
|
|
249
|
-
mode: "out-in",
|
|
250
|
-
onBeforeEnter: _ctx.beforeEnter,
|
|
251
|
-
onEnter: _ctx.enter,
|
|
252
|
-
onAfterEnter: _ctx.cancelRequestAF,
|
|
253
|
-
onLeave: _ctx.leave,
|
|
254
|
-
onAfterLeave: _ctx.cancelRequestAF
|
|
255
|
-
}, {
|
|
256
|
-
default: withCtx(() => [_ctx.isShowHint ? (openBlock(), createBlock(_component_or_hint, {
|
|
257
|
-
key: _ctx.hint,
|
|
258
|
-
hint: _ctx.hint,
|
|
259
|
-
class: "or-textbox--hint"
|
|
260
|
-
}, null, 8 /* PROPS */, ["hint"])) : createCommentVNode("v-if", true)]),
|
|
261
|
-
_: 1 /* STABLE */
|
|
262
|
-
}, 8 /* PROPS */, ["onBeforeEnter", "onEnter", "onAfterEnter", "onLeave", "onAfterLeave"]), createVNode(Transition, {
|
|
263
|
-
mode: "out-in",
|
|
264
|
-
onBeforeEnter: _ctx.beforeEnter,
|
|
265
|
-
onEnter: _ctx.enter,
|
|
266
|
-
onAfterEnter: _ctx.cancelRequestAF,
|
|
267
|
-
onLeave: _ctx.leave,
|
|
268
|
-
onAfterLeave: _ctx.cancelRequestAF
|
|
269
|
-
}, {
|
|
270
|
-
default: withCtx(() => [_ctx.isShowError ? (openBlock(), createBlock(_component_or_error, {
|
|
271
|
-
key: _ctx.error,
|
|
272
|
-
error: _ctx.error,
|
|
273
|
-
class: "or-textbox--error"
|
|
274
|
-
}, null, 8 /* PROPS */, ["error"])) : createCommentVNode("v-if", true)]),
|
|
275
|
-
_: 1 /* STABLE */
|
|
276
|
-
}, 8 /* PROPS */, ["onBeforeEnter", "onEnter", "onAfterEnter", "onLeave", "onAfterLeave"]), createCommentVNode(" Counter "), _ctx.counterString ? (openBlock(), createElementBlock("div", {
|
|
277
|
-
key: 0,
|
|
278
|
-
class: "or-textbox--counter",
|
|
279
|
-
textContent: toDisplayString(_ctx.counterString)
|
|
280
|
-
}, null, 8 /* PROPS */, _hoisted_7$1)) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */)]),
|
|
281
|
-
|
|
282
|
-
_: 1 /* STABLE */
|
|
283
|
-
}, 8 /* PROPS */, ["is-visible"])]), createCommentVNode(" Append Slot "), _ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_8$1, [renderSlot(_ctx.$slots, "append")], 512 /* NEED_PATCH */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
var css_248z$3 = "/**\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-c9e7f72e {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-c9e7f72e {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-textbox[data-v-c9e7f72e] {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n width: 100%;\n}\n.or-textbox.is-show-info.has-label[data-v-c9e7f72e] {\n align-items: center;\n}\n.or-textbox.has-label[data-v-c9e7f72e] {\n align-items: flex-end;\n}\n.or-textbox .or-label[data-v-c9e7f72e] {\n margin-bottom: var(--s-1);\n}\n.or-textbox--append[data-v-c9e7f72e], .or-textbox--prepend[data-v-c9e7f72e] {\n position: relative;\n display: flex;\n align-items: center;\n height: 2.25rem;\n}\n.or-textbox--append[data-v-c9e7f72e] {\n margin-left: 0.625rem;\n}\n.or-textbox--prepend[data-v-c9e7f72e] {\n margin-right: 0.625rem;\n}\n.or-textbox--wrapper[data-v-c9e7f72e] {\n width: 100%;\n}\n.or-textbox--input[data-v-c9e7f72e], .or-textbox--textarea[data-v-c9e7f72e], .or-textbox--input-textarea[data-v-c9e7f72e] {\n width: 100%;\n min-width: 7.125rem;\n height: 2.25rem;\n padding: 0.625rem;\n font-family: inherit;\n font-size: var(--fs-1);\n background-color: var(--c-neutral-1);\n border: 1px solid var(--c-neutral-2);\n border-radius: var(--s-2);\n outline: none;\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: border-color, background-color, -webkit-box-shadow;\n}\n.or-textbox--input-textarea[data-v-c9e7f72e] {\n /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */\n min-height: 4.9375rem;\n max-height: 8.875rem;\n overflow-x: hidden;\n overflow-y: auto;\n resize: none;\n}\n.or-textbox--input-wrapper[data-v-c9e7f72e] {\n position: relative;\n width: 100%;\n}\n.or-textbox--input[data-v-c9e7f72e]::placeholder, .or-textbox--textarea[data-v-c9e7f72e]::placeholder, .or-textbox--input-textarea[data-v-c9e7f72e]::placeholder {\n color: var(--c-neutral-4);\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: opacity;\n}\n.or-textbox--input[data-v-c9e7f72e]:-webkit-autofill, .or-textbox--textarea[data-v-c9e7f72e]:-webkit-autofill, .or-textbox--input-textarea[data-v-c9e7f72e]:-webkit-autofill {\n -webkit-box-shadow: inset 0 0 0 50px var(--c-neutral-1);\n}\n.or-textbox--input[data-v-c9e7f72e]:-webkit-autofill:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox--textarea[data-v-c9e7f72e]:-webkit-autofill:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox--input-textarea[data-v-c9e7f72e]:-webkit-autofill:not(:disabled):not(.is-readonly):not(.is-loading):focus {\n -webkit-box-shadow: inset 0 0 0 50px var(--c-white);\n}\n@media (hover: hover) and (pointer: fine) {\n.or-textbox--input[data-v-c9e7f72e]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover, .or-textbox--textarea[data-v-c9e7f72e]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover, .or-textbox--input-textarea[data-v-c9e7f72e]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover {\n background-color: var(--c-white);\n border-color: var(--c-neutral-2-darken-3);\n -webkit-box-shadow: inset 0 0 0 50px var(--c-white);\n}\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n.or-textbox--input[data-v-c9e7f72e]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover, .or-textbox--textarea[data-v-c9e7f72e]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover, .or-textbox--input-textarea[data-v-c9e7f72e]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover {\n background-color: var(--c-white);\n border-color: var(--c-neutral-2-darken-3);\n -webkit-box-shadow: inset 0 0 0 50px var(--c-white);\n}\n}\n.or-textbox--input[data-v-c9e7f72e]:not(:disabled):not(.is-loading):not(.is-disabled):not(.is-readonly):active:not(:focus), .or-textbox--textarea[data-v-c9e7f72e]:not(:disabled):not(.is-loading):not(.is-disabled):not(.is-readonly):active:not(:focus), .or-textbox--input-textarea[data-v-c9e7f72e]:not(:disabled):not(.is-loading):not(.is-disabled):not(.is-readonly):active:not(:focus) {\n border-color: var(--c-neutral-2-darken-5);\n}\n.or-textbox--input[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox--textarea[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox--input-textarea[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus {\n background-color: var(--c-white);\n border-color: var(--c-primary);\n}\n.or-textbox--input[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus::placeholder, .or-textbox--textarea[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus::placeholder, .or-textbox--input-textarea[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus::placeholder {\n opacity: 0;\n}\n.or-textbox--input[data-v-c9e7f72e]:disabled, .or-textbox--textarea[data-v-c9e7f72e]:disabled, .or-textbox--input-textarea[data-v-c9e7f72e]:disabled, .or-textbox--input.is-disabled[data-v-c9e7f72e], .is-disabled.or-textbox--textarea[data-v-c9e7f72e], .is-disabled.or-textbox--input-textarea[data-v-c9e7f72e] {\n cursor: not-allowed;\n background-color: var(--c-neutral-2);\n border-color: var(--c-neutral-2);\n}\n.or-textbox--input.has-error[data-v-c9e7f72e], .has-error.or-textbox--textarea[data-v-c9e7f72e], .has-error.or-textbox--input-textarea[data-v-c9e7f72e] {\n border-color: var(--c-error);\n}\n@media (hover: hover) and (pointer: fine) {\n.or-textbox--input.has-error[data-v-c9e7f72e]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover, .has-error.or-textbox--textarea[data-v-c9e7f72e]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover, .has-error.or-textbox--input-textarea[data-v-c9e7f72e]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover {\n border-color: var(--c-error-darken-3);\n}\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n.or-textbox--input.has-error[data-v-c9e7f72e]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover, .has-error.or-textbox--textarea[data-v-c9e7f72e]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover, .has-error.or-textbox--input-textarea[data-v-c9e7f72e]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover {\n border-color: var(--c-error-darken-3);\n}\n}\n.or-textbox--input.has-error[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .has-error.or-textbox--textarea[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .has-error.or-textbox--input-textarea[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus {\n border-color: var(--c-error-darken-5);\n}\n.or-textbox--input.has-error[data-v-c9e7f72e]:disabled, .has-error.or-textbox--textarea[data-v-c9e7f72e]:disabled, .has-error.or-textbox--input-textarea[data-v-c9e7f72e]:disabled, .or-textbox--input.has-error.is-disabled[data-v-c9e7f72e], .has-error.is-disabled.or-textbox--textarea[data-v-c9e7f72e], .has-error.is-disabled.or-textbox--input-textarea[data-v-c9e7f72e] {\n cursor: not-allowed;\n border-color: var(--c-error-lighten-20);\n}\n.or-textbox--textarea[data-v-c9e7f72e] {\n /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */\n min-height: 4.9375rem;\n max-height: 8.875rem;\n overflow-x: hidden;\n overflow-y: auto;\n resize: none;\n}\n.or-textbox--info[data-v-c9e7f72e] {\n width: 100%;\n margin: 0;\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: height, opacity;\n}\n.or-textbox--counter[data-v-c9e7f72e] {\n flex-shrink: 0;\n margin-left: auto;\n font-size: var(--fs-0);\n line-height: 0.875rem;\n color: var(--c-neutral-4);\n}\n.or-textbox--hint[data-v-c9e7f72e], .or-textbox-error[data-v-c9e7f72e] {\n flex-shrink: 1;\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: height, opacity;\n}\n.or-textbox.is-small .or-textbox--input[data-v-c9e7f72e], .or-textbox.is-small .or-textbox--input-textarea[data-v-c9e7f72e], .or-textbox.is-small .or-textbox--textarea[data-v-c9e7f72e] {\n height: 1.875rem;\n padding: 0.5rem 0.625rem;\n font-size: var(--fs-0);\n}\n.or-textbox.is-small .or-textbox--input-toggle-btn .material-icons[data-v-c9e7f72e] {\n font-size: var(--fs-1);\n}\n.or-textbox.has-counter .or-textbox--hint[data-v-c9e7f72e], .or-textbox.has-counter .or-textbox--error[data-v-c9e7f72e] {\n padding-right: 0.9375rem;\n}\n.or-textbox.is-show-info .or-textbox--info[data-v-c9e7f72e] {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding-top: 0.25rem;\n}\n.or-textbox[data-v-c9e7f72e]:disabled, .or-textbox.is-disabled[data-v-c9e7f72e] {\n cursor: not-allowed;\n}\n.or-textbox:disabled .or-textbox--input-toggle-btn[data-v-c9e7f72e], .or-textbox.is-disabled .or-textbox--input-toggle-btn[data-v-c9e7f72e] {\n pointer-events: none;\n}\n.or-textbox.has-error .or-textbox--input[data-v-c9e7f72e], .or-textbox.has-error .or-textbox--input-textarea[data-v-c9e7f72e], .or-textbox.has-error .or-textbox--textarea[data-v-c9e7f72e] {\n border-color: var(--c-error);\n}\n@media (hover: hover) and (pointer: fine) {\n.or-textbox.has-error .or-textbox--input[data-v-c9e7f72e]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover, .or-textbox.has-error .or-textbox--input-textarea[data-v-c9e7f72e]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover, .or-textbox.has-error .or-textbox--textarea[data-v-c9e7f72e]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover {\n border-color: var(--c-error-darken-3);\n}\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n.or-textbox.has-error .or-textbox--input[data-v-c9e7f72e]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover, .or-textbox.has-error .or-textbox--input-textarea[data-v-c9e7f72e]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover, .or-textbox.has-error .or-textbox--textarea[data-v-c9e7f72e]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover {\n border-color: var(--c-error-darken-3);\n}\n}\n.or-textbox.has-error .or-textbox--input[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox.has-error .or-textbox--input-textarea[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox.has-error .or-textbox--textarea[data-v-c9e7f72e]:not(:disabled):not(.is-readonly):not(.is-loading):focus {\n border-color: var(--c-error-darken-5);\n}\n.or-textbox.has-error .or-textbox--input[data-v-c9e7f72e]:disabled, .or-textbox.has-error .or-textbox--input-textarea[data-v-c9e7f72e]:disabled, .or-textbox.has-error .or-textbox--textarea[data-v-c9e7f72e]:disabled, .or-textbox.has-error .or-textbox--input.is-disabled[data-v-c9e7f72e], .or-textbox.has-error .is-disabled.or-textbox--input-textarea[data-v-c9e7f72e], .or-textbox.has-error .is-disabled.or-textbox--textarea[data-v-c9e7f72e] {\n cursor: not-allowed;\n border-color: var(--c-error);\n}";
|
|
287
|
-
styleInject(css_248z$3);
|
|
288
|
-
|
|
289
|
-
script$4.render = render$4;
|
|
290
|
-
script$4.__scopeId = "data-v-c9e7f72e";
|
|
291
|
-
script$4.__file = "src/components/or-inputs/OrTextarea.vue";
|
|
292
|
-
|
|
293
|
-
var script$3 = defineComponent({
|
|
294
|
-
name: 'OrInput',
|
|
295
|
-
components: {
|
|
296
|
-
OrLabel: script$5,
|
|
297
|
-
OrHint: script$6,
|
|
298
|
-
OrError: script$7,
|
|
299
|
-
OrCollapse: script$8
|
|
300
|
-
},
|
|
301
|
-
model: {
|
|
302
|
-
prop: 'modelValue',
|
|
303
|
-
event: 'update:modelValue'
|
|
304
|
-
},
|
|
305
|
-
props: {
|
|
306
|
-
modelValue: {
|
|
307
|
-
type: String,
|
|
308
|
-
default: '',
|
|
309
|
-
required: false
|
|
310
|
-
},
|
|
311
|
-
htmlId: {
|
|
312
|
-
type: String,
|
|
313
|
-
default: '',
|
|
314
|
-
required: false
|
|
315
|
-
},
|
|
316
|
-
placeholder: {
|
|
317
|
-
type: String,
|
|
318
|
-
default: '',
|
|
319
|
-
required: false
|
|
320
|
-
},
|
|
321
|
-
htmlType: {
|
|
322
|
-
type: String,
|
|
323
|
-
default: 'text',
|
|
324
|
-
required: false
|
|
325
|
-
},
|
|
326
|
-
htmlInputAttrs: {
|
|
327
|
-
type: Object,
|
|
328
|
-
default: undefined,
|
|
329
|
-
required: false
|
|
330
|
-
},
|
|
331
|
-
label: {
|
|
332
|
-
type: String,
|
|
333
|
-
default: '',
|
|
334
|
-
required: false
|
|
335
|
-
},
|
|
336
|
-
error: {
|
|
337
|
-
type: String,
|
|
338
|
-
default: '',
|
|
339
|
-
required: false
|
|
340
|
-
},
|
|
341
|
-
hint: {
|
|
342
|
-
type: String,
|
|
343
|
-
default: '',
|
|
344
|
-
required: false
|
|
345
|
-
},
|
|
346
|
-
maxLength: {
|
|
347
|
-
type: Number,
|
|
348
|
-
default: undefined,
|
|
349
|
-
required: false
|
|
350
|
-
},
|
|
351
|
-
isSmall: Boolean,
|
|
352
|
-
isRequired: Boolean,
|
|
353
|
-
isDisabled: Boolean,
|
|
354
|
-
isReadonly: Boolean,
|
|
355
|
-
isInvalid: Boolean
|
|
356
|
-
},
|
|
357
|
-
emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
|
|
358
|
-
setup() {
|
|
359
|
-
const inputRef = ref();
|
|
360
|
-
return {
|
|
361
|
-
inputRef
|
|
362
|
-
};
|
|
363
|
-
},
|
|
364
|
-
data() {
|
|
365
|
-
return {
|
|
366
|
-
reqAF: null,
|
|
367
|
-
isFocused: false
|
|
368
|
-
};
|
|
369
|
-
},
|
|
370
|
-
computed: {
|
|
371
|
-
localValue() {
|
|
372
|
-
if (this.maxLength && this.modelValue.length > this.maxLength) {
|
|
373
|
-
return this.modelValue.slice(0, -(this.modelValue.length - this.maxLength));
|
|
374
|
-
}
|
|
375
|
-
return this.modelValue;
|
|
376
|
-
},
|
|
377
|
-
localId() {
|
|
378
|
-
var _a;
|
|
379
|
-
return this.htmlId || `input-${(_a = getCurrentInstance()) === null || _a === void 0 ? void 0 : _a.uid}`;
|
|
380
|
-
},
|
|
381
|
-
hasValue() {
|
|
382
|
-
var _a;
|
|
383
|
-
return !!((_a = this.localValue) === null || _a === void 0 ? void 0 : _a.length);
|
|
384
|
-
},
|
|
385
|
-
counterString() {
|
|
386
|
-
return this.maxLength && this.maxLength > 0 ? `${this.localValue.length} / ${this.maxLength}` : '';
|
|
387
|
-
},
|
|
388
|
-
isInactive() {
|
|
389
|
-
return this.isDisabled || this.isReadonly;
|
|
390
|
-
},
|
|
391
|
-
isShowError() {
|
|
392
|
-
return !!this.error && this.isInvalid;
|
|
393
|
-
},
|
|
394
|
-
isShowHint() {
|
|
395
|
-
return !!this.hint && !this.isShowError;
|
|
396
|
-
},
|
|
397
|
-
isShowInfo() {
|
|
398
|
-
return this.isShowError || this.isShowHint || !!this.maxLength;
|
|
399
|
-
},
|
|
400
|
-
rootClasses() {
|
|
401
|
-
return ['or-textbox', {
|
|
402
|
-
'is-show-info': this.isShowInfo,
|
|
403
|
-
'is-small': this.isSmall,
|
|
404
|
-
'has-counter': !!this.maxLength,
|
|
405
|
-
'has-label': !!this.label || !!this.$slots['label-default']
|
|
406
|
-
}];
|
|
407
|
-
},
|
|
408
|
-
inputClasses() {
|
|
409
|
-
return ['or-textbox--input', {
|
|
410
|
-
'is-disabled': this.isDisabled,
|
|
411
|
-
'is-readonly': this.isReadonly,
|
|
412
|
-
'is-focused': this.isFocused,
|
|
413
|
-
'is-required': this.isRequired,
|
|
414
|
-
'has-error': this.isInvalid
|
|
415
|
-
}];
|
|
416
|
-
}
|
|
417
|
-
},
|
|
418
|
-
methods: {
|
|
419
|
-
focus() {
|
|
420
|
-
var _a;
|
|
421
|
-
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
422
|
-
},
|
|
423
|
-
onInput(event) {
|
|
424
|
-
if (this.isInactive) return;
|
|
425
|
-
this.$emit('update:modelValue', event.target.value);
|
|
426
|
-
this.$emit('input', event.target.value);
|
|
427
|
-
},
|
|
428
|
-
onFocus(event) {
|
|
429
|
-
var _a;
|
|
430
|
-
this.isFocused = true;
|
|
431
|
-
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
432
|
-
this.$emit('focus', event);
|
|
433
|
-
},
|
|
434
|
-
onBlur(event) {
|
|
435
|
-
var _a;
|
|
436
|
-
this.isFocused = false;
|
|
437
|
-
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.blur();
|
|
438
|
-
this.$emit('blur', event);
|
|
439
|
-
},
|
|
440
|
-
beforeEnter(el) {
|
|
441
|
-
setStyle(el, 'opacity', 0);
|
|
442
|
-
},
|
|
443
|
-
enter(el) {
|
|
444
|
-
const {
|
|
445
|
-
scrollHeight,
|
|
446
|
-
parentElement
|
|
447
|
-
} = el;
|
|
448
|
-
this.reqAF = requestAF(() => {
|
|
449
|
-
const pt = parseFloat(getCS(parentElement).paddingTop);
|
|
450
|
-
const pb = parseFloat(getCS(parentElement).paddingBottom);
|
|
451
|
-
const height = scrollHeight + pt + pb;
|
|
452
|
-
if (parentElement) {
|
|
453
|
-
reflow(parentElement);
|
|
454
|
-
setStyle(parentElement, 'height', pxToRem(height));
|
|
455
|
-
}
|
|
456
|
-
setStyle(el, 'opacity', 1);
|
|
457
|
-
});
|
|
458
|
-
},
|
|
459
|
-
leave(el) {
|
|
460
|
-
this.reqAF = requestAF(() => {
|
|
461
|
-
el.style.opacity = '0';
|
|
462
|
-
});
|
|
463
|
-
},
|
|
464
|
-
cancelRequestAF() {
|
|
465
|
-
cancelAF(this.reqAF);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
});
|
|
469
|
-
|
|
470
|
-
const _hoisted_1 = {
|
|
471
|
-
key: 0,
|
|
472
|
-
ref: "prependRef",
|
|
473
|
-
class: "or-textbox--prepend"
|
|
474
|
-
};
|
|
475
|
-
const _hoisted_2 = {
|
|
476
|
-
class: "or-textbox--wrapper"
|
|
477
|
-
};
|
|
478
|
-
const _hoisted_3 = {
|
|
479
|
-
class: "or-textbox--input-wrapper"
|
|
480
|
-
};
|
|
481
|
-
const _hoisted_4 = ["id", "value", "type", "disabled", "maxlength", "readonly", "placeholder"];
|
|
482
|
-
const _hoisted_5 = {
|
|
483
|
-
key: 0,
|
|
484
|
-
class: "or-textbox--input-end"
|
|
485
|
-
};
|
|
486
|
-
const _hoisted_6 = {
|
|
487
|
-
ref: "infoRef",
|
|
488
|
-
class: "or-textbox--info"
|
|
489
|
-
};
|
|
490
|
-
const _hoisted_7 = ["textContent"];
|
|
491
|
-
const _hoisted_8 = {
|
|
492
|
-
key: 1,
|
|
493
|
-
ref: "appendRef",
|
|
494
|
-
class: "or-textbox--append"
|
|
495
|
-
};
|
|
496
|
-
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
497
|
-
const _component_or_label = resolveComponent("or-label");
|
|
498
|
-
const _component_or_hint = resolveComponent("or-hint");
|
|
499
|
-
const _component_or_error = resolveComponent("or-error");
|
|
500
|
-
const _component_or_collapse = resolveComponent("or-collapse");
|
|
501
|
-
return openBlock(), createElementBlock("div", {
|
|
502
|
-
class: normalizeClass(_ctx.rootClasses)
|
|
503
|
-
}, [createCommentVNode(" Prepend Slot "), _ctx.$slots.prepend ? (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "prepend")], 512 /* NEED_PATCH */)) : createCommentVNode("v-if", true), createCommentVNode(" Input "), createElementVNode("div", _hoisted_2, [createCommentVNode(" Label "), _ctx.$slots['label-default'] || _ctx.label ? (openBlock(), createBlock(_component_or_label, {
|
|
504
|
-
key: 0,
|
|
505
|
-
"is-required": _ctx.isRequired,
|
|
506
|
-
for: _ctx.localId
|
|
507
|
-
}, {
|
|
508
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "label-default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
509
|
-
|
|
510
|
-
append: withCtx(() => [renderSlot(_ctx.$slots, "label-append")]),
|
|
511
|
-
_: 3 /* FORWARDED */
|
|
512
|
-
}, 8 /* PROPS */, ["is-required", "for"])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_3, [createElementVNode("input", mergeProps({
|
|
513
|
-
id: _ctx.localId,
|
|
514
|
-
ref: "inputRef",
|
|
515
|
-
value: _ctx.localValue
|
|
516
|
-
}, _ctx.htmlInputAttrs, {
|
|
517
|
-
type: _ctx.htmlType,
|
|
518
|
-
disabled: _ctx.isDisabled,
|
|
519
|
-
maxlength: _ctx.maxLength,
|
|
520
|
-
readonly: _ctx.isReadonly,
|
|
521
|
-
class: _ctx.inputClasses,
|
|
522
|
-
placeholder: _ctx.placeholder,
|
|
523
|
-
onInput: _cache[0] || (_cache[0] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
|
|
524
|
-
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
|
|
525
|
-
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
|
|
526
|
-
onKeypress: _cache[3] || (_cache[3] = $event => _ctx.$emit('keypress', $event)),
|
|
527
|
-
onKeyup: _cache[4] || (_cache[4] = $event => _ctx.$emit('keyup', $event)),
|
|
528
|
-
onKeydown: _cache[5] || (_cache[5] = $event => _ctx.$emit('keydown', $event))
|
|
529
|
-
}), null, 16 /* FULL_PROPS */, _hoisted_4), renderSlot(_ctx.$slots, "wrapper-end"), _ctx.$slots['input-end'] ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "input-end")])) : createCommentVNode("v-if", true)]), createCommentVNode(" Info "), createVNode(_component_or_collapse, {
|
|
530
|
-
"is-visible": _ctx.isShowInfo
|
|
531
|
-
}, {
|
|
532
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_6, [createVNode(Transition, {
|
|
533
|
-
mode: "out-in",
|
|
534
|
-
onBeforeEnter: _ctx.beforeEnter,
|
|
535
|
-
onEnter: _ctx.enter,
|
|
536
|
-
onAfterEnter: _ctx.cancelRequestAF,
|
|
537
|
-
onLeave: _ctx.leave,
|
|
538
|
-
onAfterLeave: _ctx.cancelRequestAF
|
|
539
|
-
}, {
|
|
540
|
-
default: withCtx(() => [_ctx.isShowHint ? (openBlock(), createBlock(_component_or_hint, {
|
|
541
|
-
key: _ctx.hint,
|
|
542
|
-
hint: _ctx.hint,
|
|
543
|
-
class: "or-textbox--hint"
|
|
544
|
-
}, null, 8 /* PROPS */, ["hint"])) : createCommentVNode("v-if", true)]),
|
|
545
|
-
_: 1 /* STABLE */
|
|
546
|
-
}, 8 /* PROPS */, ["onBeforeEnter", "onEnter", "onAfterEnter", "onLeave", "onAfterLeave"]), createVNode(Transition, {
|
|
547
|
-
mode: "out-in",
|
|
548
|
-
onBeforeEnter: _ctx.beforeEnter,
|
|
549
|
-
onEnter: _ctx.enter,
|
|
550
|
-
onAfterEnter: _ctx.cancelRequestAF,
|
|
551
|
-
onLeave: _ctx.leave,
|
|
552
|
-
onAfterLeave: _ctx.cancelRequestAF
|
|
553
|
-
}, {
|
|
554
|
-
default: withCtx(() => [_ctx.isShowError ? (openBlock(), createBlock(_component_or_error, {
|
|
555
|
-
key: _ctx.error,
|
|
556
|
-
error: _ctx.error,
|
|
557
|
-
class: "or-textbox--error"
|
|
558
|
-
}, null, 8 /* PROPS */, ["error"])) : createCommentVNode("v-if", true)]),
|
|
559
|
-
_: 1 /* STABLE */
|
|
560
|
-
}, 8 /* PROPS */, ["onBeforeEnter", "onEnter", "onAfterEnter", "onLeave", "onAfterLeave"]), createCommentVNode(" Counter "), _ctx.counterString ? (openBlock(), createElementBlock("div", {
|
|
561
|
-
key: 0,
|
|
562
|
-
class: "or-textbox--counter",
|
|
563
|
-
textContent: toDisplayString(_ctx.counterString)
|
|
564
|
-
}, null, 8 /* PROPS */, _hoisted_7)) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */)]),
|
|
565
|
-
|
|
566
|
-
_: 1 /* STABLE */
|
|
567
|
-
}, 8 /* PROPS */, ["is-visible"])]), createCommentVNode(" Append Slot "), _ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_8, [renderSlot(_ctx.$slots, "append")], 512 /* NEED_PATCH */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
var css_248z$2 = "/**\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-55c54d2b {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-55c54d2b {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-textbox[data-v-55c54d2b] {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n width: 100%;\n}\n.or-textbox.is-show-info.has-label[data-v-55c54d2b] {\n align-items: center;\n}\n.or-textbox.has-label[data-v-55c54d2b] {\n align-items: flex-end;\n}\n.or-textbox .or-label[data-v-55c54d2b] {\n margin-bottom: var(--s-1);\n}\n.or-textbox--append[data-v-55c54d2b], .or-textbox--prepend[data-v-55c54d2b] {\n position: relative;\n display: flex;\n align-items: center;\n height: 2.25rem;\n}\n.or-textbox--append[data-v-55c54d2b] {\n margin-left: 0.625rem;\n}\n.or-textbox--prepend[data-v-55c54d2b] {\n margin-right: 0.625rem;\n}\n.or-textbox--wrapper[data-v-55c54d2b] {\n width: 100%;\n}\n.or-textbox--input[data-v-55c54d2b], .or-textbox--textarea[data-v-55c54d2b], .or-textbox--input-textarea[data-v-55c54d2b] {\n width: 100%;\n min-width: 7.125rem;\n height: 2.25rem;\n padding: 0.625rem;\n font-family: inherit;\n font-size: var(--fs-1);\n background-color: var(--c-neutral-1);\n border: 1px solid var(--c-neutral-2);\n border-radius: var(--s-2);\n outline: none;\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: border-color, background-color, -webkit-box-shadow;\n}\n.or-textbox--input-textarea[data-v-55c54d2b] {\n /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */\n min-height: 4.9375rem;\n max-height: 8.875rem;\n overflow-x: hidden;\n overflow-y: auto;\n resize: none;\n}\n.or-textbox--input-wrapper[data-v-55c54d2b] {\n position: relative;\n width: 100%;\n}\n.or-textbox--input[data-v-55c54d2b]::placeholder, .or-textbox--textarea[data-v-55c54d2b]::placeholder, .or-textbox--input-textarea[data-v-55c54d2b]::placeholder {\n color: var(--c-neutral-4);\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: opacity;\n}\n.or-textbox--input[data-v-55c54d2b]:-webkit-autofill, .or-textbox--textarea[data-v-55c54d2b]:-webkit-autofill, .or-textbox--input-textarea[data-v-55c54d2b]:-webkit-autofill {\n -webkit-box-shadow: inset 0 0 0 50px var(--c-neutral-1);\n}\n.or-textbox--input[data-v-55c54d2b]:-webkit-autofill:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox--textarea[data-v-55c54d2b]:-webkit-autofill:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox--input-textarea[data-v-55c54d2b]:-webkit-autofill:not(:disabled):not(.is-readonly):not(.is-loading):focus {\n -webkit-box-shadow: inset 0 0 0 50px var(--c-white);\n}\n@media (hover: hover) and (pointer: fine) {\n.or-textbox--input[data-v-55c54d2b]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover, .or-textbox--textarea[data-v-55c54d2b]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover, .or-textbox--input-textarea[data-v-55c54d2b]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover {\n background-color: var(--c-white);\n border-color: var(--c-neutral-2-darken-3);\n -webkit-box-shadow: inset 0 0 0 50px var(--c-white);\n}\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n.or-textbox--input[data-v-55c54d2b]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover, .or-textbox--textarea[data-v-55c54d2b]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover, .or-textbox--input-textarea[data-v-55c54d2b]:not(.or-textbox--input.is-loading):not(.is-loading.or-textbox--textarea):not(.is-loading.or-textbox--input-textarea):not(.or-textbox--input.is-disabled):not(.is-disabled.or-textbox--textarea):not(.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.is-readonly):not(.is-readonly.or-textbox--textarea):not(.is-readonly.or-textbox--input-textarea):not(.or-textbox--input:disabled):not(.or-textbox--textarea:disabled):not(.or-textbox--input-textarea:disabled):not(.or-textbox--input.is-focused):not(.is-focused.or-textbox--textarea):not(.is-focused.or-textbox--input-textarea):not(.or-textbox--input:active):not(.or-textbox--textarea:active):not(.or-textbox--input-textarea:active):hover {\n background-color: var(--c-white);\n border-color: var(--c-neutral-2-darken-3);\n -webkit-box-shadow: inset 0 0 0 50px var(--c-white);\n}\n}\n.or-textbox--input[data-v-55c54d2b]:not(:disabled):not(.is-loading):not(.is-disabled):not(.is-readonly):active:not(:focus), .or-textbox--textarea[data-v-55c54d2b]:not(:disabled):not(.is-loading):not(.is-disabled):not(.is-readonly):active:not(:focus), .or-textbox--input-textarea[data-v-55c54d2b]:not(:disabled):not(.is-loading):not(.is-disabled):not(.is-readonly):active:not(:focus) {\n border-color: var(--c-neutral-2-darken-5);\n}\n.or-textbox--input[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox--textarea[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox--input-textarea[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus {\n background-color: var(--c-white);\n border-color: var(--c-primary);\n}\n.or-textbox--input[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus::placeholder, .or-textbox--textarea[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus::placeholder, .or-textbox--input-textarea[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus::placeholder {\n opacity: 0;\n}\n.or-textbox--input[data-v-55c54d2b]:disabled, .or-textbox--textarea[data-v-55c54d2b]:disabled, .or-textbox--input-textarea[data-v-55c54d2b]:disabled, .or-textbox--input.is-disabled[data-v-55c54d2b], .is-disabled.or-textbox--textarea[data-v-55c54d2b], .is-disabled.or-textbox--input-textarea[data-v-55c54d2b] {\n cursor: not-allowed;\n background-color: var(--c-neutral-2);\n border-color: var(--c-neutral-2);\n}\n.or-textbox--input.has-error[data-v-55c54d2b], .has-error.or-textbox--textarea[data-v-55c54d2b], .has-error.or-textbox--input-textarea[data-v-55c54d2b] {\n border-color: var(--c-error);\n}\n@media (hover: hover) and (pointer: fine) {\n.or-textbox--input.has-error[data-v-55c54d2b]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover, .has-error.or-textbox--textarea[data-v-55c54d2b]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover, .has-error.or-textbox--input-textarea[data-v-55c54d2b]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover {\n border-color: var(--c-error-darken-3);\n}\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n.or-textbox--input.has-error[data-v-55c54d2b]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover, .has-error.or-textbox--textarea[data-v-55c54d2b]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover, .has-error.or-textbox--input-textarea[data-v-55c54d2b]:not(.or-textbox--input.has-error.is-loading):not(.has-error.is-loading.or-textbox--textarea):not(.has-error.is-loading.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-disabled):not(.has-error.is-disabled.or-textbox--textarea):not(.has-error.is-disabled.or-textbox--input-textarea):not(.or-textbox--input.has-error.is-readonly):not(.has-error.is-readonly.or-textbox--textarea):not(.has-error.is-readonly.or-textbox--input-textarea):not(.or-textbox--input.has-error:disabled):not(.has-error.or-textbox--textarea:disabled):not(.has-error.or-textbox--input-textarea:disabled):not(.or-textbox--input.has-error.is-focused):not(.has-error.is-focused.or-textbox--textarea):not(.has-error.is-focused.or-textbox--input-textarea):not(.or-textbox--input.has-error:active):not(.has-error.or-textbox--textarea:active):not(.has-error.or-textbox--input-textarea:active):hover {\n border-color: var(--c-error-darken-3);\n}\n}\n.or-textbox--input.has-error[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .has-error.or-textbox--textarea[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .has-error.or-textbox--input-textarea[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus {\n border-color: var(--c-error-darken-5);\n}\n.or-textbox--input.has-error[data-v-55c54d2b]:disabled, .has-error.or-textbox--textarea[data-v-55c54d2b]:disabled, .has-error.or-textbox--input-textarea[data-v-55c54d2b]:disabled, .or-textbox--input.has-error.is-disabled[data-v-55c54d2b], .has-error.is-disabled.or-textbox--textarea[data-v-55c54d2b], .has-error.is-disabled.or-textbox--input-textarea[data-v-55c54d2b] {\n cursor: not-allowed;\n border-color: var(--c-error-lighten-20);\n}\n.or-textbox--textarea[data-v-55c54d2b] {\n /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */\n min-height: 4.9375rem;\n max-height: 8.875rem;\n overflow-x: hidden;\n overflow-y: auto;\n resize: none;\n}\n.or-textbox--info[data-v-55c54d2b] {\n width: 100%;\n margin: 0;\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: height, opacity;\n}\n.or-textbox--counter[data-v-55c54d2b] {\n flex-shrink: 0;\n margin-left: auto;\n font-size: var(--fs-0);\n line-height: 0.875rem;\n color: var(--c-neutral-4);\n}\n.or-textbox--hint[data-v-55c54d2b], .or-textbox-error[data-v-55c54d2b] {\n flex-shrink: 1;\n transition-timing-function: var(--t-func);\n transition-duration: var(--t-duration);\n transition-property: height, opacity;\n}\n.or-textbox.is-small .or-textbox--input[data-v-55c54d2b], .or-textbox.is-small .or-textbox--input-textarea[data-v-55c54d2b], .or-textbox.is-small .or-textbox--textarea[data-v-55c54d2b] {\n height: 1.875rem;\n padding: 0.5rem 0.625rem;\n font-size: var(--fs-0);\n}\n.or-textbox.is-small .or-textbox--input-toggle-btn .material-icons[data-v-55c54d2b] {\n font-size: var(--fs-1);\n}\n.or-textbox.has-counter .or-textbox--hint[data-v-55c54d2b], .or-textbox.has-counter .or-textbox--error[data-v-55c54d2b] {\n padding-right: 0.9375rem;\n}\n.or-textbox.is-show-info .or-textbox--info[data-v-55c54d2b] {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding-top: 0.25rem;\n}\n.or-textbox[data-v-55c54d2b]:disabled, .or-textbox.is-disabled[data-v-55c54d2b] {\n cursor: not-allowed;\n}\n.or-textbox:disabled .or-textbox--input-toggle-btn[data-v-55c54d2b], .or-textbox.is-disabled .or-textbox--input-toggle-btn[data-v-55c54d2b] {\n pointer-events: none;\n}\n.or-textbox.has-error .or-textbox--input[data-v-55c54d2b], .or-textbox.has-error .or-textbox--input-textarea[data-v-55c54d2b], .or-textbox.has-error .or-textbox--textarea[data-v-55c54d2b] {\n border-color: var(--c-error);\n}\n@media (hover: hover) and (pointer: fine) {\n.or-textbox.has-error .or-textbox--input[data-v-55c54d2b]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover, .or-textbox.has-error .or-textbox--input-textarea[data-v-55c54d2b]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover, .or-textbox.has-error .or-textbox--textarea[data-v-55c54d2b]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover {\n border-color: var(--c-error-darken-3);\n}\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n.or-textbox.has-error .or-textbox--input[data-v-55c54d2b]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover, .or-textbox.has-error .or-textbox--input-textarea[data-v-55c54d2b]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover, .or-textbox.has-error .or-textbox--textarea[data-v-55c54d2b]:not(.or-textbox.has-error .or-textbox--input.is-loading):not(.or-textbox.has-error .is-loading.or-textbox--input-textarea):not(.or-textbox.has-error .is-loading.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-disabled):not(.or-textbox.has-error .is-disabled.or-textbox--input-textarea):not(.or-textbox.has-error .is-disabled.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input.is-readonly):not(.or-textbox.has-error .is-readonly.or-textbox--input-textarea):not(.or-textbox.has-error .is-readonly.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:disabled):not(.or-textbox.has-error .or-textbox--input-textarea:disabled):not(.or-textbox.has-error .or-textbox--textarea:disabled):not(.or-textbox.has-error .or-textbox--input.is-focused):not(.or-textbox.has-error .is-focused.or-textbox--input-textarea):not(.or-textbox.has-error .is-focused.or-textbox--textarea):not(.or-textbox.has-error .or-textbox--input:active):not(.or-textbox.has-error .or-textbox--input-textarea:active):not(.or-textbox.has-error .or-textbox--textarea:active):hover {\n border-color: var(--c-error-darken-3);\n}\n}\n.or-textbox.has-error .or-textbox--input[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox.has-error .or-textbox--input-textarea[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus, .or-textbox.has-error .or-textbox--textarea[data-v-55c54d2b]:not(:disabled):not(.is-readonly):not(.is-loading):focus {\n border-color: var(--c-error-darken-5);\n}\n.or-textbox.has-error .or-textbox--input[data-v-55c54d2b]:disabled, .or-textbox.has-error .or-textbox--input-textarea[data-v-55c54d2b]:disabled, .or-textbox.has-error .or-textbox--textarea[data-v-55c54d2b]:disabled, .or-textbox.has-error .or-textbox--input.is-disabled[data-v-55c54d2b], .or-textbox.has-error .is-disabled.or-textbox--input-textarea[data-v-55c54d2b], .or-textbox.has-error .is-disabled.or-textbox--textarea[data-v-55c54d2b] {\n cursor: not-allowed;\n border-color: var(--c-error);\n}\ninput[type=search][data-v-55c54d2b]::-webkit-search-decoration,\ninput[type=search][data-v-55c54d2b]::-webkit-search-cancel-button,\ninput[type=search][data-v-55c54d2b]::-webkit-search-results-button,\ninput[type=search][data-v-55c54d2b]::-webkit-search-results-decoration {\n display: none;\n}";
|
|
571
|
-
styleInject(css_248z$2);
|
|
572
|
-
|
|
573
|
-
script$3.render = render$3;
|
|
574
|
-
script$3.__scopeId = "data-v-55c54d2b";
|
|
575
|
-
script$3.__file = "src/components/or-inputs/OrInput.vue";
|
|
576
|
-
|
|
577
|
-
var script$2 = defineComponent({
|
|
578
|
-
name: 'OrNumberInput',
|
|
579
|
-
components: {
|
|
580
|
-
OrInput: script$3
|
|
581
|
-
},
|
|
582
|
-
model: {
|
|
583
|
-
prop: 'modelValue',
|
|
584
|
-
event: 'update:modelValue'
|
|
585
|
-
},
|
|
586
|
-
props: {
|
|
587
|
-
modelValue: {
|
|
588
|
-
type: Number,
|
|
589
|
-
default: undefined,
|
|
590
|
-
required: false
|
|
591
|
-
},
|
|
592
|
-
htmlId: {
|
|
593
|
-
type: String,
|
|
594
|
-
default: '',
|
|
595
|
-
required: false
|
|
596
|
-
},
|
|
597
|
-
placeholder: {
|
|
598
|
-
type: String,
|
|
599
|
-
default: '',
|
|
600
|
-
required: false
|
|
601
|
-
},
|
|
602
|
-
label: {
|
|
603
|
-
type: String,
|
|
604
|
-
default: '',
|
|
605
|
-
required: false
|
|
606
|
-
},
|
|
607
|
-
error: {
|
|
608
|
-
type: String,
|
|
609
|
-
default: '',
|
|
610
|
-
required: false
|
|
611
|
-
},
|
|
612
|
-
hint: {
|
|
613
|
-
type: String,
|
|
614
|
-
default: '',
|
|
615
|
-
required: false
|
|
616
|
-
},
|
|
617
|
-
minValue: {
|
|
618
|
-
type: Number,
|
|
619
|
-
default: undefined,
|
|
620
|
-
required: false
|
|
621
|
-
},
|
|
622
|
-
maxValue: {
|
|
623
|
-
type: Number,
|
|
624
|
-
default: undefined,
|
|
625
|
-
required: false
|
|
626
|
-
},
|
|
627
|
-
stepValue: {
|
|
628
|
-
type: Number,
|
|
629
|
-
default: undefined,
|
|
630
|
-
required: false
|
|
631
|
-
},
|
|
632
|
-
isSmall: Boolean,
|
|
633
|
-
isRequired: Boolean,
|
|
634
|
-
isDisabled: Boolean,
|
|
635
|
-
isReadonly: Boolean,
|
|
636
|
-
isInvalid: Boolean
|
|
637
|
-
},
|
|
638
|
-
emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
|
|
639
|
-
setup(props, {
|
|
640
|
-
emit
|
|
641
|
-
}) {
|
|
642
|
-
const inputRef = ref();
|
|
643
|
-
if (props.modelValue) {
|
|
644
|
-
if (props.minValue !== undefined && props.modelValue < props.minValue) {
|
|
645
|
-
emit('update:modelValue', props.minValue);
|
|
646
|
-
} else if (props.maxValue !== undefined && props.modelValue > props.maxValue) {
|
|
647
|
-
emit('update:modelValue', props.maxValue);
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
return {
|
|
651
|
-
inputRef
|
|
652
|
-
};
|
|
653
|
-
},
|
|
654
|
-
computed: {
|
|
655
|
-
htmlInputAttrs() {
|
|
656
|
-
return {
|
|
657
|
-
min: this.minValue,
|
|
658
|
-
max: this.maxValue,
|
|
659
|
-
step: this.stepValue
|
|
660
|
-
};
|
|
661
|
-
},
|
|
662
|
-
localValue: {
|
|
663
|
-
get() {
|
|
664
|
-
var _a;
|
|
665
|
-
return ((_a = this.modelValue) !== null && _a !== void 0 ? _a : '') + '';
|
|
666
|
-
},
|
|
667
|
-
set(val) {
|
|
668
|
-
if (val === undefined || val === '') {
|
|
669
|
-
this.$emit('update:modelValue', undefined);
|
|
670
|
-
return;
|
|
671
|
-
}
|
|
672
|
-
const numVal = +val;
|
|
673
|
-
if (this.minValue !== undefined && numVal < this.minValue) {
|
|
674
|
-
this.$emit('update:modelValue', this.minValue);
|
|
675
|
-
} else if (this.maxValue !== undefined && numVal > this.maxValue) {
|
|
676
|
-
this.$emit('update:modelValue', this.maxValue);
|
|
677
|
-
} else {
|
|
678
|
-
this.$emit('update:modelValue', numVal);
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
});
|
|
684
|
-
|
|
685
|
-
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
686
|
-
const _component_or_input = resolveComponent("or-input");
|
|
687
|
-
return openBlock(), createBlock(_component_or_input, {
|
|
688
|
-
ref: "inputRef",
|
|
689
|
-
modelValue: _ctx.localValue,
|
|
690
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.localValue = $event),
|
|
691
|
-
class: "or-password",
|
|
692
|
-
"html-id": _ctx.htmlId,
|
|
693
|
-
placeholder: _ctx.placeholder,
|
|
694
|
-
"html-type": "number",
|
|
695
|
-
"html-input-attrs": _ctx.htmlInputAttrs,
|
|
696
|
-
label: _ctx.label,
|
|
697
|
-
error: _ctx.error,
|
|
698
|
-
hint: _ctx.hint,
|
|
699
|
-
"is-small": _ctx.isSmall,
|
|
700
|
-
"is-required": _ctx.isRequired,
|
|
701
|
-
"is-disabled": _ctx.isDisabled,
|
|
702
|
-
"is-readonly": _ctx.isReadonly,
|
|
703
|
-
"is-invalid": _ctx.isInvalid,
|
|
704
|
-
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
705
|
-
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event)),
|
|
706
|
-
onInput: _cache[3] || (_cache[3] = $event => _ctx.$emit('input', $event)),
|
|
707
|
-
onKeypress: _cache[4] || (_cache[4] = $event => _ctx.$emit('keypress', $event)),
|
|
708
|
-
onKeyup: _cache[5] || (_cache[5] = $event => _ctx.$emit('keyup', $event)),
|
|
709
|
-
onKeydown: _cache[6] || (_cache[6] = $event => _ctx.$emit('keydown', $event))
|
|
710
|
-
}, createSlots({
|
|
711
|
-
_: 2 /* DYNAMIC */
|
|
712
|
-
}, [_ctx.$slots.prepend ? {
|
|
713
|
-
name: "prepend",
|
|
714
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "prepend")]),
|
|
715
|
-
key: "0"
|
|
716
|
-
} : undefined, _ctx.$slots['label-default'] ? {
|
|
717
|
-
name: "label-default",
|
|
718
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-default")]),
|
|
719
|
-
key: "1"
|
|
720
|
-
} : undefined, _ctx.$slots['label-append'] ? {
|
|
721
|
-
name: "label-append",
|
|
722
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-append")]),
|
|
723
|
-
key: "2"
|
|
724
|
-
} : undefined, _ctx.$slots['wrapper-end'] ? {
|
|
725
|
-
name: "wrapper-end",
|
|
726
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "wrapper-end")]),
|
|
727
|
-
key: "3"
|
|
728
|
-
} : undefined, _ctx.$slots['input-end'] ? {
|
|
729
|
-
name: "input-end",
|
|
730
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "input-end")]),
|
|
731
|
-
key: "4"
|
|
732
|
-
} : undefined, _ctx.$slots.append ? {
|
|
733
|
-
name: "append",
|
|
734
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "append")]),
|
|
735
|
-
key: "5"
|
|
736
|
-
} : 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"]);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
script$2.render = render$2;
|
|
740
|
-
script$2.__file = "src/components/or-inputs/OrNumberInput.vue";
|
|
741
|
-
|
|
742
|
-
var script$1 = defineComponent({
|
|
743
|
-
name: 'OrPassword',
|
|
744
|
-
components: {
|
|
745
|
-
OrInput: script$3,
|
|
746
|
-
OrIconButton: script$9
|
|
747
|
-
},
|
|
748
|
-
model: {
|
|
749
|
-
prop: 'modelValue',
|
|
750
|
-
event: 'update:modelValue'
|
|
751
|
-
},
|
|
752
|
-
props: {
|
|
753
|
-
modelValue: {
|
|
754
|
-
type: String,
|
|
755
|
-
default: '',
|
|
756
|
-
required: false
|
|
757
|
-
},
|
|
758
|
-
htmlId: {
|
|
759
|
-
type: String,
|
|
760
|
-
default: '',
|
|
761
|
-
required: false
|
|
762
|
-
},
|
|
763
|
-
placeholder: {
|
|
764
|
-
type: String,
|
|
765
|
-
default: '',
|
|
766
|
-
required: false
|
|
767
|
-
},
|
|
768
|
-
label: {
|
|
769
|
-
type: String,
|
|
770
|
-
default: '',
|
|
771
|
-
required: false
|
|
772
|
-
},
|
|
773
|
-
error: {
|
|
774
|
-
type: String,
|
|
775
|
-
default: '',
|
|
776
|
-
required: false
|
|
777
|
-
},
|
|
778
|
-
hint: {
|
|
779
|
-
type: String,
|
|
780
|
-
default: '',
|
|
781
|
-
required: false
|
|
782
|
-
},
|
|
783
|
-
maxLength: {
|
|
784
|
-
type: Number,
|
|
785
|
-
default: undefined,
|
|
786
|
-
required: false
|
|
787
|
-
},
|
|
788
|
-
isSmall: Boolean,
|
|
789
|
-
isRequired: Boolean,
|
|
790
|
-
isDisabled: Boolean,
|
|
791
|
-
isReadonly: Boolean,
|
|
792
|
-
isInvalid: Boolean
|
|
793
|
-
},
|
|
794
|
-
emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
|
|
795
|
-
setup(props, {
|
|
796
|
-
emit
|
|
797
|
-
}) {
|
|
798
|
-
const inputRef = ref();
|
|
799
|
-
const localValue = useVModel(props, 'modelValue', emit);
|
|
800
|
-
const {
|
|
801
|
-
isActiveToggle,
|
|
802
|
-
toggle
|
|
803
|
-
} = useToggle();
|
|
804
|
-
return {
|
|
805
|
-
inputRef,
|
|
806
|
-
localValue,
|
|
807
|
-
isActiveToggle,
|
|
808
|
-
toggle
|
|
809
|
-
};
|
|
810
|
-
},
|
|
811
|
-
computed: {
|
|
812
|
-
currentButtonIcon() {
|
|
813
|
-
return this.isActiveToggle ? 'visibility' : 'visibility_off';
|
|
814
|
-
},
|
|
815
|
-
type() {
|
|
816
|
-
return this.isActiveToggle ? 'text' : 'password';
|
|
817
|
-
},
|
|
818
|
-
size() {
|
|
819
|
-
return this.isSmall ? BUTTON_SIZE.SMALL : BUTTON_SIZE.DEFAULT;
|
|
820
|
-
}
|
|
821
|
-
},
|
|
822
|
-
methods: {
|
|
823
|
-
onClick() {
|
|
824
|
-
var _a;
|
|
825
|
-
this.toggle();
|
|
826
|
-
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
});
|
|
830
|
-
|
|
831
|
-
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
832
|
-
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
833
|
-
const _component_or_input = resolveComponent("or-input");
|
|
834
|
-
return openBlock(), createBlock(_component_or_input, {
|
|
835
|
-
ref: "inputRef",
|
|
836
|
-
modelValue: _ctx.localValue,
|
|
837
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.localValue = $event),
|
|
838
|
-
class: "or-password",
|
|
839
|
-
"html-id": _ctx.htmlId,
|
|
840
|
-
placeholder: _ctx.placeholder,
|
|
841
|
-
"html-type": _ctx.type,
|
|
842
|
-
label: _ctx.label,
|
|
843
|
-
error: _ctx.error,
|
|
844
|
-
hint: _ctx.hint,
|
|
845
|
-
"max-length": _ctx.maxLength,
|
|
846
|
-
"is-small": _ctx.isSmall,
|
|
847
|
-
"is-required": _ctx.isRequired,
|
|
848
|
-
"is-disabled": _ctx.isDisabled,
|
|
849
|
-
"is-readonly": _ctx.isReadonly,
|
|
850
|
-
"is-invalid": _ctx.isInvalid,
|
|
851
|
-
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
852
|
-
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event)),
|
|
853
|
-
onInput: _cache[3] || (_cache[3] = $event => _ctx.$emit('input', $event)),
|
|
854
|
-
onKeypress: _cache[4] || (_cache[4] = $event => _ctx.$emit('keypress', $event)),
|
|
855
|
-
onKeyup: _cache[5] || (_cache[5] = $event => _ctx.$emit('keyup', $event)),
|
|
856
|
-
onKeydown: _cache[6] || (_cache[6] = $event => _ctx.$emit('keydown', $event))
|
|
857
|
-
}, createSlots({
|
|
858
|
-
"wrapper-end": withCtx(() => [createVNode(_component_or_icon_button, {
|
|
859
|
-
icon: _ctx.currentButtonIcon,
|
|
860
|
-
"icon-color": "neutral-4",
|
|
861
|
-
size: _ctx.size,
|
|
862
|
-
onClick: _ctx.onClick
|
|
863
|
-
}, null, 8 /* PROPS */, ["icon", "size", "onClick"])]),
|
|
864
|
-
_: 2 /* DYNAMIC */
|
|
865
|
-
}, [_ctx.$slots.prepend ? {
|
|
866
|
-
name: "prepend",
|
|
867
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "prepend")]),
|
|
868
|
-
key: "0"
|
|
869
|
-
} : undefined, _ctx.$slots['label-default'] ? {
|
|
870
|
-
name: "label-default",
|
|
871
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-default")]),
|
|
872
|
-
key: "1"
|
|
873
|
-
} : undefined, _ctx.$slots['label-append'] ? {
|
|
874
|
-
name: "label-append",
|
|
875
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-append")]),
|
|
876
|
-
key: "2"
|
|
877
|
-
} : undefined, _ctx.$slots['input-end'] ? {
|
|
878
|
-
name: "input-end",
|
|
879
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "input-end")]),
|
|
880
|
-
key: "3"
|
|
881
|
-
} : undefined, _ctx.$slots.append ? {
|
|
882
|
-
name: "append",
|
|
883
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "append")]),
|
|
884
|
-
key: "4"
|
|
885
|
-
} : 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"]);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
var css_248z$1 = "/**\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-33ff6f4a {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-33ff6f4a {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-password .or-icon-button-root[data-v-33ff6f4a] {\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-33ff6f4a] .or-textbox--input {\n padding-right: calc(0.625rem + 1.625rem);\n}\n.or-password.is-small[data-v-33ff6f4a] .or-textbox--input {\n padding-right: calc(0.625rem + 1.5rem);\n}";
|
|
889
|
-
styleInject(css_248z$1);
|
|
890
|
-
|
|
891
|
-
script$1.render = render$1;
|
|
892
|
-
script$1.__scopeId = "data-v-33ff6f4a";
|
|
893
|
-
script$1.__file = "src/components/or-inputs/OrPassword.vue";
|
|
894
|
-
|
|
895
|
-
var script = defineComponent({
|
|
896
|
-
name: 'OrSearch',
|
|
897
|
-
components: {
|
|
898
|
-
OrInput: script$3,
|
|
899
|
-
OrIconButton: script$9
|
|
900
|
-
},
|
|
901
|
-
model: {
|
|
902
|
-
prop: 'modelValue',
|
|
903
|
-
event: 'update:modelValue'
|
|
904
|
-
},
|
|
905
|
-
props: {
|
|
906
|
-
modelValue: {
|
|
907
|
-
type: String,
|
|
908
|
-
default: '',
|
|
909
|
-
required: false
|
|
910
|
-
},
|
|
911
|
-
htmlId: {
|
|
912
|
-
type: String,
|
|
913
|
-
default: '',
|
|
914
|
-
required: false
|
|
915
|
-
},
|
|
916
|
-
placeholder: {
|
|
917
|
-
type: String,
|
|
918
|
-
default: '',
|
|
919
|
-
required: false
|
|
920
|
-
},
|
|
921
|
-
label: {
|
|
922
|
-
type: String,
|
|
923
|
-
default: '',
|
|
924
|
-
required: false
|
|
925
|
-
},
|
|
926
|
-
error: {
|
|
927
|
-
type: String,
|
|
928
|
-
default: '',
|
|
929
|
-
required: false
|
|
930
|
-
},
|
|
931
|
-
hint: {
|
|
932
|
-
type: String,
|
|
933
|
-
default: '',
|
|
934
|
-
required: false
|
|
935
|
-
},
|
|
936
|
-
debounce: {
|
|
937
|
-
type: Number,
|
|
938
|
-
default: 500,
|
|
939
|
-
required: false
|
|
940
|
-
},
|
|
941
|
-
isUsingTrim: {
|
|
942
|
-
type: Boolean,
|
|
943
|
-
default: true,
|
|
944
|
-
required: false
|
|
945
|
-
},
|
|
946
|
-
maxLength: {
|
|
947
|
-
type: Number,
|
|
948
|
-
default: undefined,
|
|
949
|
-
required: false
|
|
950
|
-
},
|
|
951
|
-
isSmall: Boolean,
|
|
952
|
-
isRequired: Boolean,
|
|
953
|
-
isDisabled: Boolean,
|
|
954
|
-
isReadonly: Boolean,
|
|
955
|
-
isInvalid: Boolean
|
|
956
|
-
},
|
|
957
|
-
emits: ['focus', 'blur', 'update:modelValue', 'input', 'search', 'clear', 'keypress', 'keyup', 'keydown'],
|
|
958
|
-
setup(props, {
|
|
959
|
-
emit
|
|
960
|
-
}) {
|
|
961
|
-
var _a;
|
|
962
|
-
const inputRef = ref();
|
|
963
|
-
const localValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : '');
|
|
964
|
-
debouncedWatch(localValue, () => {
|
|
965
|
-
emit('search', props.isUsingTrim ? localValue.value.trim() : localValue.value);
|
|
966
|
-
}, {
|
|
967
|
-
debounce: +props.debounce
|
|
968
|
-
});
|
|
969
|
-
return {
|
|
970
|
-
inputRef,
|
|
971
|
-
localValue
|
|
972
|
-
};
|
|
973
|
-
},
|
|
974
|
-
computed: {
|
|
975
|
-
hasValue() {
|
|
976
|
-
var _a;
|
|
977
|
-
return !!((_a = this.localValue) === null || _a === void 0 ? void 0 : _a.length);
|
|
978
|
-
},
|
|
979
|
-
currentButtonIcon() {
|
|
980
|
-
return this.hasValue ? 'close' : 'search';
|
|
981
|
-
},
|
|
982
|
-
size() {
|
|
983
|
-
return this.isSmall ? BUTTON_SIZE.SMALL : BUTTON_SIZE.DEFAULT;
|
|
984
|
-
}
|
|
985
|
-
},
|
|
986
|
-
watch: {
|
|
987
|
-
modelValue(val) {
|
|
988
|
-
if (this.localValue !== val) this.localValue = val;
|
|
989
|
-
}
|
|
990
|
-
},
|
|
991
|
-
methods: {
|
|
992
|
-
onClick() {
|
|
993
|
-
var _a;
|
|
994
|
-
if (this.hasValue) {
|
|
995
|
-
this.localValue = '';
|
|
996
|
-
this.$emit('update:modelValue', '');
|
|
997
|
-
this.$emit('clear');
|
|
998
|
-
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
onModelValueUpdate(value) {
|
|
1002
|
-
this.localValue = value;
|
|
1003
|
-
this.$emit('update:modelValue', value);
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
});
|
|
1007
|
-
|
|
1008
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1009
|
-
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
1010
|
-
const _component_or_input = resolveComponent("or-input");
|
|
1011
|
-
return openBlock(), createBlock(_component_or_input, {
|
|
1012
|
-
ref: "inputRef",
|
|
1013
|
-
class: "or-search",
|
|
1014
|
-
"model-value": _ctx.localValue,
|
|
1015
|
-
"html-id": _ctx.htmlId,
|
|
1016
|
-
placeholder: _ctx.placeholder,
|
|
1017
|
-
"html-type": "search",
|
|
1018
|
-
label: _ctx.label,
|
|
1019
|
-
error: _ctx.error,
|
|
1020
|
-
hint: _ctx.hint,
|
|
1021
|
-
"max-length": _ctx.maxLength,
|
|
1022
|
-
"is-small": _ctx.isSmall,
|
|
1023
|
-
"is-required": _ctx.isRequired,
|
|
1024
|
-
"is-disabled": _ctx.isDisabled,
|
|
1025
|
-
"is-readonly": _ctx.isReadonly,
|
|
1026
|
-
"is-invalid": _ctx.isInvalid,
|
|
1027
|
-
onFocus: _cache[0] || (_cache[0] = $event => _ctx.$emit('focus', $event)),
|
|
1028
|
-
onBlur: _cache[1] || (_cache[1] = $event => _ctx.$emit('blur', $event)),
|
|
1029
|
-
"onUpdate:modelValue": _ctx.onModelValueUpdate,
|
|
1030
|
-
onInput: _cache[2] || (_cache[2] = $event => _ctx.$emit('input', $event)),
|
|
1031
|
-
onKeypress: _cache[3] || (_cache[3] = $event => _ctx.$emit('keypress', $event)),
|
|
1032
|
-
onKeyup: _cache[4] || (_cache[4] = $event => _ctx.$emit('keyup', $event)),
|
|
1033
|
-
onKeydown: _cache[5] || (_cache[5] = $event => _ctx.$emit('keydown', $event))
|
|
1034
|
-
}, createSlots({
|
|
1035
|
-
"wrapper-end": withCtx(() => [createVNode(_component_or_icon_button, {
|
|
1036
|
-
icon: _ctx.currentButtonIcon,
|
|
1037
|
-
style: normalizeStyle(!_ctx.hasValue ? {
|
|
1038
|
-
pointerEvents: 'none'
|
|
1039
|
-
} : null),
|
|
1040
|
-
"icon-color": "neutral-4",
|
|
1041
|
-
size: _ctx.size,
|
|
1042
|
-
onClick: _ctx.onClick
|
|
1043
|
-
}, null, 8 /* PROPS */, ["icon", "style", "size", "onClick"])]),
|
|
1044
|
-
_: 2 /* DYNAMIC */
|
|
1045
|
-
}, [_ctx.$slots.prepend ? {
|
|
1046
|
-
name: "prepend",
|
|
1047
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "prepend")]),
|
|
1048
|
-
key: "0"
|
|
1049
|
-
} : undefined, _ctx.$slots['label-default'] ? {
|
|
1050
|
-
name: "label-default",
|
|
1051
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-default")]),
|
|
1052
|
-
key: "1"
|
|
1053
|
-
} : undefined, _ctx.$slots['label-append'] ? {
|
|
1054
|
-
name: "label-append",
|
|
1055
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "label-append")]),
|
|
1056
|
-
key: "2"
|
|
1057
|
-
} : undefined, _ctx.$slots['input-end'] ? {
|
|
1058
|
-
name: "input-end",
|
|
1059
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "input-end")]),
|
|
1060
|
-
key: "3"
|
|
1061
|
-
} : undefined, _ctx.$slots.append ? {
|
|
1062
|
-
name: "append",
|
|
1063
|
-
fn: withCtx(() => [renderSlot(_ctx.$slots, "append")]),
|
|
1064
|
-
key: "4"
|
|
1065
|
-
} : 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"]);
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
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-2ef674d2 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-2ef674d2 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-search .or-icon-button-root[data-v-2ef674d2] {\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-2ef674d2] .or-textbox--input {\n padding-right: calc(0.625rem + 1.625rem);\n}\n.or-search.is-small[data-v-2ef674d2] .or-textbox--input {\n padding-right: calc(0.625rem + 1.5rem);\n}";
|
|
1069
|
-
styleInject(css_248z);
|
|
1070
|
-
|
|
1071
|
-
script.render = render;
|
|
1072
|
-
script.__scopeId = "data-v-2ef674d2";
|
|
1073
|
-
script.__file = "src/components/or-inputs/OrSearch.vue";
|
|
1074
|
-
|
|
1075
|
-
export { script$3 as a, script$2 as b, script$1 as c, script as d, script$4 as s };
|