@onereach/ui-components 2.71.1-beta.2235.0 → 2.71.1-beta.2237.0
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-0141a358.js → OrCardCollection-3dee1926.js} +2 -2
- package/dist/bundled/v2/{OrCardCollection-166cfcc6.js → OrCardCollection-89428bbf.js} +5 -5
- package/dist/bundled/v2/{OrConfirm-55b89b17.js → OrConfirm-56d01cff.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-057e997e.js → OrConfirm-5fd7f8bb.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-a2ba92df.js → OrIconButton-76043aa4.js} +10 -3
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-7faf5534.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-a9bfe477.js} +1 -1
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-d4173a5a.js} +1 -1
- package/dist/bundled/v2/{OrListOfInputs-ab7f9d97.js → OrListOfInputs-8f076650.js} +4 -4
- package/dist/bundled/v2/{OrModal-af6677fd.js → OrModal-6484c944.js} +1 -1
- package/dist/bundled/v2/{OrNotification-3250f58b.js → OrNotification-35ec61a9.js} +1 -1
- package/dist/bundled/v2/{OrTextarea-71ff236d.js → OrPassword-7da938aa.js} +449 -7
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-ae350dc7.js} +1 -1
- package/dist/bundled/v2/{OrSearch-832d7978.js → OrSearch-f7cfa52f.js} +4 -4
- package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-e3ee8d12.js} +2 -2
- package/dist/bundled/v2/{OrTag-30fecee5.js → OrTag-b9ace427.js} +1 -1
- package/dist/bundled/v2/components/index.d.ts +1 -5
- package/dist/bundled/v2/components/index.js +19 -21
- 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 +11 -0
- 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-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inputs/index.d.ts +5 -0
- package/dist/bundled/v2/components/{or-password → or-inputs}/index.js +4 -3
- 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-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-toast-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +19 -21
- package/dist/bundled/v2/{types-8fe4e345.js → types-7f69189b.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-95abfcc1.js} +3 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-cd84f344.js → OrCardCollection.vue_vue_type_script_lang-d8124dda.js} +4 -4
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-41b4d791.js → OrConfirm.vue_vue_type_script_lang-0f16fc67.js} +1 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9d9a3917.js → OrConfirm.vue_vue_type_script_lang-16dfa0b6.js} +2 -2
- package/dist/bundled/v3/{OrIconButton-cd62526d.js → OrIconButton-50df6117.js} +3 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-aefcf30d.js → OrIconButton.vue_vue_type_script_lang-b1490ad1.js} +9 -3
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-9f237eb5.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-d9e0eb26.js} +2 -2
- package/dist/bundled/v3/{OrInput-704e72ba.js → OrInput-7d4b571a.js} +193 -5
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-a0b9a900.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-f3ce4d61.js} +2 -2
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-6c5cf7a5.js → OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js} +1 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-55c864d1.js → OrModal.vue_vue_type_script_lang-e4f57a5e.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c886ae51.js → OrNotification.vue_vue_type_script_lang-f580ebc1.js} +2 -2
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-13bc5b00.js +390 -0
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-5356fa79.js → OrSearch.vue_vue_type_script_lang-16fbccc0.js} +1 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-8c220bb4.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-3f4e09e9.js} +3 -3
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-3e30f662.js → OrTag.vue_vue_type_script_lang-5db8644c.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-34389303.js → OrToastContainer-c5d7acf8.js} +1 -1
- package/dist/bundled/v3/components/index.d.ts +1 -5
- package/dist/bundled/v3/components/index.js +21 -24
- package/dist/bundled/v3/components/or-card-collection/index.js +4 -5
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-confirm/index.js +2 -3
- 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 +11 -0
- 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-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-inputs/index.d.ts +5 -0
- package/dist/bundled/v3/components/{or-search → or-inputs}/index.js +5 -4
- package/dist/bundled/v3/components/or-list-of-inputs/index.js +2 -3
- 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-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-toast-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +669 -674
- package/dist/bundled/v3/{types-f53434f2.js → types-f7b07e1a.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-259b2e2b.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-19582949.js → OrCardCollection-f6b07557.js} +7 -6
- package/dist/esm/v2/{OrConfirm-047d4086.js → OrConfirm-921dbb5d.js} +1 -1
- package/dist/esm/v2/{OrConfirm-ede619eb.js → OrConfirm-d7112dd3.js} +4 -4
- package/dist/esm/v2/{OrIconButton-b3779042.js → OrIconButton-3c81fd64.js} +10 -3
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-1ad5ea15.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-bfe528e7.js} +1 -1
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-59cc6981.js} +1 -1
- package/dist/esm/v2/{OrListOfInputs-4298fa2c.js → OrListOfInputs-50aa1ef1.js} +5 -5
- package/dist/esm/v2/{OrModal-a7719843.js → OrModal-8c6fdab4.js} +1 -1
- package/dist/esm/v2/{OrNotification-8a4830a3.js → OrNotification-c0d70dc7.js} +1 -1
- package/dist/esm/v2/{OrTextarea-91a95068.js → OrPassword-1fa97156.js} +245 -187
- package/dist/esm/v2/{OrSearch-b4f4d59b.js → OrSearch-0589d17d.js} +5 -122
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-ebc3b81c.js} +1 -1
- package/dist/esm/v2/{OrInput-6e6cfd11.js → OrSearch.vue_rollup-plugin-vue_script-197d77fc.js} +492 -4
- package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-7317a963.js} +2 -2
- package/dist/esm/v2/{OrTag-5c404031.js → OrTag-842193c2.js} +1 -1
- package/dist/esm/v2/components/index.d.ts +1 -5
- package/dist/esm/v2/components/index.js +19 -21
- package/dist/esm/v2/components/or-card-collection/index.js +4 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-confirm/index.js +3 -2
- 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 +11 -0
- 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-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inputs/index.d.ts +5 -0
- package/dist/esm/v2/components/{or-password → or-inputs}/index.js +6 -5
- package/dist/esm/v2/components/or-list-of-inputs/index.js +4 -2
- 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-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-toast-v3/index.js +2 -2
- package/dist/esm/v2/index.js +18 -20
- package/dist/esm/v2/{types-6c742e07.js → types-3ff6f029.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-2886a9ca.js} +2 -2
- package/dist/esm/v3/{OrCardCollection-1e44c758.js → OrCardCollection-a5e326ef.js} +2 -2
- package/dist/esm/v3/{OrConfirm-fee3c859.js → OrConfirm-1d9bfd2a.js} +1 -1
- package/dist/esm/v3/{OrConfirm-c11ee2ec.js → OrConfirm-f39bd784.js} +1 -1
- package/dist/esm/v3/{OrIconButton-1a89fbf9.js → OrIconButton-7a512558.js} +11 -4
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-54c7b053.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-5a8fc512.js} +1 -1
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-639352e4.js} +1 -1
- package/dist/esm/v3/{OrListOfInputs-508e056f.js → OrListOfInputs-7a67440f.js} +1 -1
- package/dist/esm/v3/{OrModal-7878cc39.js → OrModal-4cd576c7.js} +1 -1
- package/dist/esm/v3/{OrNotification-e1383681.js → OrNotification-cb49acef.js} +1 -1
- package/dist/esm/v3/OrSearch-7cb2c91c.js +1075 -0
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-8caf7e53.js} +1 -1
- package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-3932d4bd.js} +2 -2
- package/dist/esm/v3/{OrTag-5d54f37d.js → OrTag-6db3aaf7.js} +1 -1
- package/dist/esm/v3/components/index.d.ts +1 -5
- package/dist/esm/v3/components/index.js +17 -21
- 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 +3 -2
- 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 +11 -0
- 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-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inputs/index.d.ts +5 -0
- package/dist/esm/v3/components/{or-password → or-inputs}/index.js +2 -3
- package/dist/esm/v3/components/or-list-of-inputs/index.js +4 -2
- 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-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-toast-v3/index.js +2 -2
- package/dist/esm/v3/index.js +16 -20
- package/dist/esm/v3/{types-2692e337.js → types-85bee366.js} +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +1 -5
- 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 +4 -0
- package/src/components/or-icon-button-v3/OrIconButton.vue +6 -0
- package/src/components/or-icon-button-v3/styles.ts +13 -0
- package/src/components/{or-number-input → or-inputs}/OrNumberInput.vue +1 -1
- package/src/components/{or-password → or-inputs}/OrPassword.vue +1 -1
- package/src/components/{or-search → or-inputs}/OrSearch.vue +1 -1
- package/src/components/{or-textarea → or-inputs}/OrTextarea.vue +6 -225
- package/src/components/or-inputs/index.ts +5 -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/dist/bundled/v2/OrNumberInput-face8ccc.js +0 -227
- package/dist/bundled/v2/OrPassword-a818e7b5.js +0 -227
- package/dist/bundled/v2/components/or-input/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-input/index.js +0 -13
- package/dist/bundled/v2/components/or-number-input/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-number-input/index.js +0 -14
- package/dist/bundled/v2/components/or-password/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-search/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-search/index.js +0 -25
- package/dist/bundled/v2/components/or-textarea/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-textarea/index.js +0 -13
- package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-409235cc.js +0 -190
- package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-f061d829.js +0 -113
- package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-b75f6543.js +0 -99
- package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-69ea22e9.js +0 -187
- package/dist/bundled/v3/components/or-input/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-input/index.js +0 -14
- package/dist/bundled/v3/components/or-number-input/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-number-input/index.js +0 -16
- package/dist/bundled/v3/components/or-password/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-password/index.js +0 -31
- package/dist/bundled/v3/components/or-search/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-textarea/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-textarea/index.js +0 -14
- package/dist/esm/v2/OrNumberInput-b20d75d2.js +0 -225
- package/dist/esm/v2/OrPassword-e6d5e968.js +0 -225
- package/dist/esm/v2/components/or-input/index.d.ts +0 -1
- package/dist/esm/v2/components/or-input/index.js +0 -11
- package/dist/esm/v2/components/or-number-input/index.d.ts +0 -1
- package/dist/esm/v2/components/or-number-input/index.js +0 -12
- package/dist/esm/v2/components/or-password/index.d.ts +0 -1
- package/dist/esm/v2/components/or-search/index.d.ts +0 -1
- package/dist/esm/v2/components/or-search/index.js +0 -23
- package/dist/esm/v2/components/or-textarea/index.d.ts +0 -1
- package/dist/esm/v2/components/or-textarea/index.js +0 -11
- package/dist/esm/v3/OrInput-81125804.js +0 -295
- package/dist/esm/v3/OrNumberInput-b32b5ce3.js +0 -170
- package/dist/esm/v3/OrPassword-b0cbb578.js +0 -162
- package/dist/esm/v3/OrSearch-11fdf667.js +0 -188
- package/dist/esm/v3/OrTextarea-1f5c3be1.js +0 -290
- package/dist/esm/v3/components/or-input/index.d.ts +0 -1
- package/dist/esm/v3/components/or-input/index.js +0 -11
- package/dist/esm/v3/components/or-number-input/index.d.ts +0 -1
- package/dist/esm/v3/components/or-number-input/index.js +0 -12
- package/dist/esm/v3/components/or-password/index.d.ts +0 -1
- package/dist/esm/v3/components/or-search/index.d.ts +0 -1
- package/dist/esm/v3/components/or-search/index.js +0 -20
- package/dist/esm/v3/components/or-textarea/index.d.ts +0 -1
- package/dist/esm/v3/components/or-textarea/index.js +0 -11
- package/src/components/or-input/index.ts +0 -1
- package/src/components/or-number-input/index.ts +0 -1
- package/src/components/or-password/index.ts +0 -1
- package/src/components/or-search/index.ts +0 -1
- package/src/components/or-textarea/index.ts +0 -1
- /package/dist/bundled/v2/{OrInput-df1a14fa.js → OrInput-08f2f666.js} +0 -0
- /package/dist/bundled/v2/components/{or-input → or-inputs}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-number-input → or-inputs}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-password → or-inputs}/OrPassword.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-search → or-inputs}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v2/components/{or-textarea → or-inputs}/OrTextarea.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-input → or-inputs}/OrInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-number-input → or-inputs}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-password → or-inputs}/OrPassword.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-search → or-inputs}/OrSearch.vue.d.ts +0 -0
- /package/dist/bundled/v3/components/{or-textarea → or-inputs}/OrTextarea.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-input → or-inputs}/OrInput.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-number-input → or-inputs}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-password → or-inputs}/OrPassword.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-search → or-inputs}/OrSearch.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-textarea → or-inputs}/OrTextarea.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-input → or-inputs}/OrInput.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-number-input → or-inputs}/OrNumberInput.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-password → or-inputs}/OrPassword.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-search → or-inputs}/OrSearch.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-textarea → or-inputs}/OrTextarea.vue.d.ts +0 -0
- /package/src/components/{or-input → or-inputs}/OrInput.stories.ts +0 -0
- /package/src/components/{or-input → or-inputs}/OrInput.vue +0 -0
- /package/src/components/{or-number-input → or-inputs}/OrNumberInput.stories.ts +0 -0
- /package/src/components/{or-password → or-inputs}/OrPassword.stories.ts +0 -0
- /package/src/components/{or-search → or-inputs}/OrSearch.stories.ts +0 -0
- /package/src/components/{or-textarea → or-inputs}/OrTextarea.stories.ts +0 -0
- /package/src/components/{or-input → or-inputs}/or-textbox-migration.stories.mdx +0 -0
- /package/src/components/{or-input → or-inputs}/styles.scss +0 -0
package/src/components/index.ts
CHANGED
|
@@ -36,7 +36,7 @@ export * from './or-inline-text-edit';
|
|
|
36
36
|
export * from './or-inline-textarea-v3';
|
|
37
37
|
export * from './or-input-box-v3';
|
|
38
38
|
export * from './or-input-v3';
|
|
39
|
-
export * from './or-
|
|
39
|
+
export * from './or-inputs';
|
|
40
40
|
export * from './or-label';
|
|
41
41
|
export * from './or-label-v3';
|
|
42
42
|
export * from './or-link-v3';
|
|
@@ -50,11 +50,9 @@ export * from './or-modal';
|
|
|
50
50
|
export * from './or-modal-v3';
|
|
51
51
|
export * from './or-notification';
|
|
52
52
|
export * from './or-notification-v3';
|
|
53
|
-
export * from './or-number-input';
|
|
54
53
|
export * from './or-overflow-menu';
|
|
55
54
|
export * from './or-overlay';
|
|
56
55
|
export * from './or-overlay-v3';
|
|
57
|
-
export * from './or-password';
|
|
58
56
|
export * from './or-pagination-v3';
|
|
59
57
|
export * from './or-popover-v3';
|
|
60
58
|
export * from './or-progress';
|
|
@@ -62,7 +60,6 @@ export * from './or-progress-v3';
|
|
|
62
60
|
export * from './or-radio';
|
|
63
61
|
export * from './or-radio-group';
|
|
64
62
|
export * from './or-radio-v3';
|
|
65
|
-
export * from './or-search';
|
|
66
63
|
export * from './or-search-v3';
|
|
67
64
|
export * from './or-segmented-control-v3';
|
|
68
65
|
export * from './or-select';
|
|
@@ -86,7 +83,6 @@ export * from './or-tag-v3';
|
|
|
86
83
|
export * from './or-teleport';
|
|
87
84
|
export * from './or-teleport-v3';
|
|
88
85
|
export * from './or-text-v3';
|
|
89
|
-
export * from './or-textarea';
|
|
90
86
|
export * from './or-textarea-v3';
|
|
91
87
|
export * from './or-textbox';
|
|
92
88
|
export * from './or-toast';
|
|
@@ -73,7 +73,7 @@ import { defineComponent, PropType, ref } from 'vue-demi';
|
|
|
73
73
|
import { CARD_COLLECTION_LAYOUT } from './constants';
|
|
74
74
|
import { OrCard } from '../or-card';
|
|
75
75
|
import { OrIcon } from '../or-icon';
|
|
76
|
-
import { OrSearch } from '../or-
|
|
76
|
+
import { OrSearch } from '../or-inputs';
|
|
77
77
|
import { OrIconButton } from '../or-button-v2';
|
|
78
78
|
import { LayoutOption, SortableColumn } from './types';
|
|
79
79
|
|
|
@@ -177,9 +177,9 @@ export default defineComponent({
|
|
|
177
177
|
.or-card-collection {
|
|
178
178
|
.or-card-collection-toolbar {
|
|
179
179
|
display: flex;
|
|
180
|
-
column-gap: $s-4;
|
|
181
|
-
align-items: center;
|
|
182
180
|
justify-content: space-between;
|
|
181
|
+
align-items: center;
|
|
182
|
+
column-gap: $s-4;
|
|
183
183
|
margin: 0 $s-4;
|
|
184
184
|
|
|
185
185
|
.or-card-collection-sorting {
|
|
@@ -189,21 +189,21 @@ export default defineComponent({
|
|
|
189
189
|
.or-card-collection-sorting-column {
|
|
190
190
|
display: inline-flex;
|
|
191
191
|
margin: $s-2 $s-6;
|
|
192
|
+
text-transform: capitalize;
|
|
193
|
+
color: $c-neutral-4;
|
|
192
194
|
font-size: $fs-0;
|
|
193
195
|
font-weight: $fw-0;
|
|
194
|
-
line-height: $lh-0;
|
|
195
|
-
color: $c-neutral-4;
|
|
196
|
-
text-transform: capitalize;
|
|
197
196
|
letter-spacing: 0;
|
|
197
|
+
line-height: $lh-0;
|
|
198
198
|
user-select: none;
|
|
199
199
|
|
|
200
200
|
&.sorting-selected {
|
|
201
|
-
font-weight: bold;
|
|
202
201
|
color: $c-neutral-6;
|
|
202
|
+
font-weight: bold;
|
|
203
203
|
|
|
204
204
|
.or-card-collection-sort-direction {
|
|
205
|
-
width: 14px;
|
|
206
205
|
height: 14px;
|
|
206
|
+
width: 14px;
|
|
207
207
|
margin-left: $s-1;
|
|
208
208
|
}
|
|
209
209
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
54
54
|
import { OrButtonV2 as OrButton, BUTTON_COLOR } from '../or-button-v2';
|
|
55
55
|
import { OrModal, OrModalSizes } from '../or-modal';
|
|
56
|
-
import { OrInput } from '../or-
|
|
56
|
+
import { OrInput } from '../or-inputs';
|
|
57
57
|
import { useActiveElement, useMagicKeys, whenever } from '@vueuse/core';
|
|
58
58
|
import { logicAnd } from '@vueuse/math';
|
|
59
59
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
v-bind="$attrs"
|
|
6
6
|
:class="rootStyles"
|
|
7
7
|
:type="'button'"
|
|
8
|
+
:selected="selected ? '' : null"
|
|
8
9
|
:disabled="disabled"
|
|
9
10
|
@click="$emit('click', $event)"
|
|
10
11
|
@focus="$emit('focus', $event)"
|
|
@@ -53,6 +54,11 @@ export default defineComponent({
|
|
|
53
54
|
default: IconButtonSize.M,
|
|
54
55
|
},
|
|
55
56
|
|
|
57
|
+
selected: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: false,
|
|
60
|
+
},
|
|
61
|
+
|
|
56
62
|
disabled: {
|
|
57
63
|
type: Boolean,
|
|
58
64
|
default: false,
|
|
@@ -39,13 +39,26 @@ export const IconButtonRootColors: Record<IconButtonColor, string[]> = {
|
|
|
39
39
|
'hover:outline-primary-opacity-0-08',
|
|
40
40
|
'dark:hover:outline-primary-opacity-0-08-dark',
|
|
41
41
|
|
|
42
|
+
'hover:theme-foreground-default',
|
|
43
|
+
'dark:hover:theme-foreground-default-dark',
|
|
44
|
+
|
|
42
45
|
// Theme (focus)
|
|
43
46
|
'focus:outline-primary-opacity-0-08',
|
|
44
47
|
'dark:focus:outline-primary-opacity-0-08-dark',
|
|
45
48
|
|
|
49
|
+
'focus:theme-foreground-default',
|
|
50
|
+
'dark:focus:theme-foreground-default-dark',
|
|
51
|
+
|
|
46
52
|
// Theme (active)
|
|
47
53
|
'active:outline-primary-opacity-0-16',
|
|
48
54
|
'dark:active:outline-primary-opacity-0-16-dark',
|
|
55
|
+
|
|
56
|
+
'active:theme-foreground-default',
|
|
57
|
+
'dark:active:theme-foreground-default-dark',
|
|
58
|
+
|
|
59
|
+
// Theme (selected)
|
|
60
|
+
'selected:theme-foreground-default',
|
|
61
|
+
'dark:selected:theme-foreground-default-dark',
|
|
49
62
|
],
|
|
50
63
|
|
|
51
64
|
'danger': [
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
</template>
|
|
65
65
|
<script lang="ts">
|
|
66
66
|
import { defineComponent, ref } from 'vue-demi';
|
|
67
|
+
import OrInput from './OrInput.vue';
|
|
67
68
|
import { useVModel } from '@vueuse/core';
|
|
68
|
-
import { OrInput } from '../or-input';
|
|
69
69
|
import { useToggle } from '../../hooks';
|
|
70
70
|
import { BUTTON_SIZE, OrIconButton } from '../or-button-v2';
|
|
71
71
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
</template>
|
|
67
67
|
<script lang="ts">
|
|
68
68
|
import { defineComponent, ref } from 'vue-demi';
|
|
69
|
-
import
|
|
69
|
+
import OrInput from './OrInput.vue';
|
|
70
70
|
import { debouncedWatch } from '@vueuse/core';
|
|
71
71
|
import { BUTTON_SIZE, OrIconButton } from '../or-button-v2';
|
|
72
72
|
|
|
@@ -114,7 +114,11 @@
|
|
|
114
114
|
</template>
|
|
115
115
|
|
|
116
116
|
<script lang="ts">
|
|
117
|
-
import {
|
|
117
|
+
import {
|
|
118
|
+
defineComponent,
|
|
119
|
+
ref,
|
|
120
|
+
getCurrentInstance,
|
|
121
|
+
} from 'vue-demi';
|
|
118
122
|
import { pxToRem } from '../../utils/functions/px-to-rem';
|
|
119
123
|
import {
|
|
120
124
|
cancelAF,
|
|
@@ -315,228 +319,5 @@ export default defineComponent({
|
|
|
315
319
|
</script>
|
|
316
320
|
|
|
317
321
|
<style lang="scss" scoped>
|
|
318
|
-
@
|
|
319
|
-
|
|
320
|
-
.or-textbox {
|
|
321
|
-
display: flex;
|
|
322
|
-
align-items: flex-start;
|
|
323
|
-
justify-content: flex-start;
|
|
324
|
-
width: 100%;
|
|
325
|
-
|
|
326
|
-
&.is-show-info.has-label {
|
|
327
|
-
align-items: center;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
&.has-label {
|
|
331
|
-
align-items: flex-end;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.or-label {
|
|
335
|
-
margin-bottom: $s-1;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
&--append,
|
|
339
|
-
&--prepend {
|
|
340
|
-
position: relative;
|
|
341
|
-
display: flex;
|
|
342
|
-
align-items: center;
|
|
343
|
-
height: px-to-rem(36);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
&--append {
|
|
347
|
-
margin-left: px-to-rem(10);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
&--prepend {
|
|
351
|
-
margin-right: px-to-rem(10);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
&--wrapper {
|
|
355
|
-
width: 100%;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
&--input {
|
|
359
|
-
width: 100%;
|
|
360
|
-
min-width: px-to-rem(114);
|
|
361
|
-
height: px-to-rem(36);
|
|
362
|
-
padding: px-to-rem(10);
|
|
363
|
-
font-family: inherit;
|
|
364
|
-
font-size: $fs-1;
|
|
365
|
-
background-color: $c-neutral-1;
|
|
366
|
-
border: 1px solid $c-neutral-2;
|
|
367
|
-
border-radius: $s-2;
|
|
368
|
-
outline: none;
|
|
369
|
-
|
|
370
|
-
@include transition(border-color, background-color, -webkit-box-shadow);
|
|
371
|
-
|
|
372
|
-
&-textarea {
|
|
373
|
-
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */
|
|
374
|
-
@extend .or-textbox--input;
|
|
375
|
-
|
|
376
|
-
min-height: px-to-rem(79);
|
|
377
|
-
max-height: px-to-rem(142);
|
|
378
|
-
overflow-x: hidden;
|
|
379
|
-
overflow-y: auto;
|
|
380
|
-
resize: none;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
&-wrapper {
|
|
384
|
-
position: relative;
|
|
385
|
-
width: 100%;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
&::placeholder {
|
|
389
|
-
color: $c-neutral-4;
|
|
390
|
-
|
|
391
|
-
@include transition(opacity);
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
&:-webkit-autofill {
|
|
395
|
-
-webkit-box-shadow: inset 0 0 0 50px $c-neutral-1;
|
|
396
|
-
|
|
397
|
-
@include focus {
|
|
398
|
-
-webkit-box-shadow: inset 0 0 0 50px $c-white;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
@include hover {
|
|
403
|
-
background-color: $c-white;
|
|
404
|
-
border-color: $c-neutral-2-darken-3;
|
|
405
|
-
-webkit-box-shadow: inset 0 0 0 50px $c-white;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
@include active {
|
|
409
|
-
&:not(:focus) {
|
|
410
|
-
border-color: $c-neutral-2-darken-5;
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
@include focus {
|
|
415
|
-
background-color: $c-white;
|
|
416
|
-
border-color: $c-primary;
|
|
417
|
-
|
|
418
|
-
&::placeholder {
|
|
419
|
-
opacity: 0;
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
@include disabled {
|
|
424
|
-
background-color: $c-neutral-2;
|
|
425
|
-
border-color: $c-neutral-2;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
@include has-error {
|
|
429
|
-
border-color: $c-error;
|
|
430
|
-
|
|
431
|
-
@include hover {
|
|
432
|
-
border-color: $c-error-darken-3;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
@include focus {
|
|
436
|
-
border-color: $c-error-darken-5;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
@include disabled {
|
|
440
|
-
border-color: $c-error-lighten-20;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
&--textarea {
|
|
446
|
-
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */
|
|
447
|
-
@extend .or-textbox--input;
|
|
448
|
-
|
|
449
|
-
min-height: px-to-rem(79);
|
|
450
|
-
max-height: px-to-rem(142);
|
|
451
|
-
overflow-x: hidden;
|
|
452
|
-
overflow-y: auto;
|
|
453
|
-
resize: none;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
&--info {
|
|
457
|
-
width: 100%;
|
|
458
|
-
margin: 0;
|
|
459
|
-
|
|
460
|
-
@include transition(height, opacity);
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
&--counter {
|
|
464
|
-
flex-shrink: 0;
|
|
465
|
-
margin-left: auto;
|
|
466
|
-
font-size: $fs-0;
|
|
467
|
-
line-height: px-to-rem(14);
|
|
468
|
-
color: $c-neutral-4;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
&--hint,
|
|
472
|
-
&-error {
|
|
473
|
-
flex-shrink: 1;
|
|
474
|
-
|
|
475
|
-
@include transition(height, opacity);
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
&.is-small {
|
|
479
|
-
.or-textbox {
|
|
480
|
-
&--input {
|
|
481
|
-
height: px-to-rem(30);
|
|
482
|
-
padding: px-to-rem(8) px-to-rem(10);
|
|
483
|
-
font-size: $fs-0;
|
|
484
|
-
|
|
485
|
-
&-toggle-btn {
|
|
486
|
-
.material-icons {
|
|
487
|
-
font-size: $fs-1;
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
&.has-counter {
|
|
495
|
-
.or-textbox {
|
|
496
|
-
&--hint,
|
|
497
|
-
&--error {
|
|
498
|
-
padding-right: px-to-rem(15);
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
&.is-show-info {
|
|
504
|
-
.or-textbox {
|
|
505
|
-
&--info {
|
|
506
|
-
display: flex;
|
|
507
|
-
align-items: flex-start;
|
|
508
|
-
justify-content: space-between;
|
|
509
|
-
padding-top: px-to-rem(4);
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
@include disabled {
|
|
515
|
-
.or-textbox {
|
|
516
|
-
&--input-toggle-btn {
|
|
517
|
-
pointer-events: none;
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
@include has-error {
|
|
523
|
-
.or-textbox {
|
|
524
|
-
&--input {
|
|
525
|
-
border-color: $c-error;
|
|
526
|
-
|
|
527
|
-
@include hover {
|
|
528
|
-
border-color: $c-error-darken-3;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
@include focus {
|
|
532
|
-
border-color: $c-error-darken-5;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
@include disabled {
|
|
536
|
-
border-color: $c-error;
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
322
|
+
@import "./styles.scss";
|
|
542
323
|
</style>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as OrTextarea } from './OrTextarea.vue';
|
|
2
|
+
export { default as OrInput } from './OrInput.vue';
|
|
3
|
+
export { default as OrNumberInput } from './OrNumberInput.vue';
|
|
4
|
+
export { default as OrPassword } from './OrPassword.vue';
|
|
5
|
+
export { default as OrSearch } from './OrSearch.vue';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import OrList from './OrList.vue';
|
|
2
2
|
import { OrIcon } from '../or-icon';
|
|
3
3
|
import { OrButtonV2 as OrButton } from '../or-button-v2';
|
|
4
|
-
import { OrInput } from '../or-
|
|
4
|
+
import { OrInput } from '../or-inputs';
|
|
5
5
|
|
|
6
6
|
import { ArgTypes, Story } from '@storybook/vue';
|
|
7
7
|
import { action } from '@storybook/addon-actions';
|
|
@@ -76,7 +76,7 @@ import { defineComponent, PropType } from 'vue-demi';
|
|
|
76
76
|
import _ from 'lodash';
|
|
77
77
|
|
|
78
78
|
import { OrList } from '../or-list';
|
|
79
|
-
import { OrInput } from '../or-
|
|
79
|
+
import { OrInput } from '../or-inputs';
|
|
80
80
|
import { OrIcon } from '../or-icon';
|
|
81
81
|
import { OrIconButton } from '../or-button-v2';
|
|
82
82
|
|
|
@@ -7,7 +7,7 @@ import { OrOverflowMenu } from '../or-overflow-menu';
|
|
|
7
7
|
import { OrModalSizes } from './constants';
|
|
8
8
|
import { OrCollapse } from '../or-collapse';
|
|
9
9
|
import { OrSelect } from '../or-select';
|
|
10
|
-
import { OrInput } from '../or-
|
|
10
|
+
import { OrInput } from '../or-inputs';
|
|
11
11
|
import { getTestOption } from '../or-select/stories.helpers';
|
|
12
12
|
import _ from 'lodash';
|
|
13
13
|
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrInput } from './OrInput-df1a14fa.js';
|
|
3
|
-
import { defineComponent, ref } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
|
-
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
|
-
|
|
6
|
-
var script = defineComponent({
|
|
7
|
-
name: 'OrNumberInput',
|
|
8
|
-
components: {
|
|
9
|
-
OrInput
|
|
10
|
-
},
|
|
11
|
-
model: {
|
|
12
|
-
prop: 'modelValue',
|
|
13
|
-
event: 'update:modelValue'
|
|
14
|
-
},
|
|
15
|
-
props: {
|
|
16
|
-
modelValue: {
|
|
17
|
-
type: Number,
|
|
18
|
-
default: undefined,
|
|
19
|
-
required: false
|
|
20
|
-
},
|
|
21
|
-
htmlId: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: '',
|
|
24
|
-
required: false
|
|
25
|
-
},
|
|
26
|
-
placeholder: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: '',
|
|
29
|
-
required: false
|
|
30
|
-
},
|
|
31
|
-
label: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: '',
|
|
34
|
-
required: false
|
|
35
|
-
},
|
|
36
|
-
error: {
|
|
37
|
-
type: String,
|
|
38
|
-
default: '',
|
|
39
|
-
required: false
|
|
40
|
-
},
|
|
41
|
-
hint: {
|
|
42
|
-
type: String,
|
|
43
|
-
default: '',
|
|
44
|
-
required: false
|
|
45
|
-
},
|
|
46
|
-
minValue: {
|
|
47
|
-
type: Number,
|
|
48
|
-
default: undefined,
|
|
49
|
-
required: false
|
|
50
|
-
},
|
|
51
|
-
maxValue: {
|
|
52
|
-
type: Number,
|
|
53
|
-
default: undefined,
|
|
54
|
-
required: false
|
|
55
|
-
},
|
|
56
|
-
stepValue: {
|
|
57
|
-
type: Number,
|
|
58
|
-
default: undefined,
|
|
59
|
-
required: false
|
|
60
|
-
},
|
|
61
|
-
isSmall: Boolean,
|
|
62
|
-
isRequired: Boolean,
|
|
63
|
-
isDisabled: Boolean,
|
|
64
|
-
isReadonly: Boolean,
|
|
65
|
-
isInvalid: Boolean
|
|
66
|
-
},
|
|
67
|
-
emits: ['focus', 'blur', 'update:modelValue', 'input', 'keypress', 'keyup', 'keydown'],
|
|
68
|
-
setup(props, {
|
|
69
|
-
emit
|
|
70
|
-
}) {
|
|
71
|
-
const inputRef = ref();
|
|
72
|
-
if (props.modelValue) {
|
|
73
|
-
if (props.minValue !== undefined && props.modelValue < props.minValue) {
|
|
74
|
-
emit('update:modelValue', props.minValue);
|
|
75
|
-
} else if (props.maxValue !== undefined && props.modelValue > props.maxValue) {
|
|
76
|
-
emit('update:modelValue', props.maxValue);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
return {
|
|
80
|
-
inputRef
|
|
81
|
-
};
|
|
82
|
-
},
|
|
83
|
-
computed: {
|
|
84
|
-
htmlInputAttrs() {
|
|
85
|
-
return {
|
|
86
|
-
min: this.minValue,
|
|
87
|
-
max: this.maxValue,
|
|
88
|
-
step: this.stepValue
|
|
89
|
-
};
|
|
90
|
-
},
|
|
91
|
-
localValue: {
|
|
92
|
-
get() {
|
|
93
|
-
var _a;
|
|
94
|
-
return ((_a = this.modelValue) !== null && _a !== void 0 ? _a : '') + '';
|
|
95
|
-
},
|
|
96
|
-
set(val) {
|
|
97
|
-
if (val === undefined || val === '') {
|
|
98
|
-
this.$emit('update:modelValue', undefined);
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
const numVal = +val;
|
|
102
|
-
if (this.minValue !== undefined && numVal < this.minValue) {
|
|
103
|
-
this.$emit('update:modelValue', this.minValue);
|
|
104
|
-
} else if (this.maxValue !== undefined && numVal > this.maxValue) {
|
|
105
|
-
this.$emit('update:modelValue', this.maxValue);
|
|
106
|
-
} else {
|
|
107
|
-
this.$emit('update:modelValue', numVal);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
/* script */
|
|
115
|
-
const __vue_script__ = script;
|
|
116
|
-
|
|
117
|
-
/* template */
|
|
118
|
-
var __vue_render__ = function () {
|
|
119
|
-
var _vm = this;
|
|
120
|
-
var _h = _vm.$createElement;
|
|
121
|
-
var _c = _vm._self._c || _h;
|
|
122
|
-
return _c('or-input', {
|
|
123
|
-
ref: "inputRef",
|
|
124
|
-
staticClass: "or-password",
|
|
125
|
-
attrs: {
|
|
126
|
-
"html-id": _vm.htmlId,
|
|
127
|
-
"placeholder": _vm.placeholder,
|
|
128
|
-
"html-type": "number",
|
|
129
|
-
"html-input-attrs": _vm.htmlInputAttrs,
|
|
130
|
-
"label": _vm.label,
|
|
131
|
-
"error": _vm.error,
|
|
132
|
-
"hint": _vm.hint,
|
|
133
|
-
"is-small": _vm.isSmall,
|
|
134
|
-
"is-required": _vm.isRequired,
|
|
135
|
-
"is-disabled": _vm.isDisabled,
|
|
136
|
-
"is-readonly": _vm.isReadonly,
|
|
137
|
-
"is-invalid": _vm.isInvalid
|
|
138
|
-
},
|
|
139
|
-
on: {
|
|
140
|
-
"focus": function ($event) {
|
|
141
|
-
return _vm.$emit('focus', $event);
|
|
142
|
-
},
|
|
143
|
-
"blur": function ($event) {
|
|
144
|
-
return _vm.$emit('blur', $event);
|
|
145
|
-
},
|
|
146
|
-
"input": function ($event) {
|
|
147
|
-
return _vm.$emit('input', $event);
|
|
148
|
-
},
|
|
149
|
-
"keypress": function ($event) {
|
|
150
|
-
return _vm.$emit('keypress', $event);
|
|
151
|
-
},
|
|
152
|
-
"keyup": function ($event) {
|
|
153
|
-
return _vm.$emit('keyup', $event);
|
|
154
|
-
},
|
|
155
|
-
"keydown": function ($event) {
|
|
156
|
-
return _vm.$emit('keydown', $event);
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
scopedSlots: _vm._u([_vm.$slots.prepend ? {
|
|
160
|
-
key: "prepend",
|
|
161
|
-
fn: function () {
|
|
162
|
-
return [_vm._t("prepend")];
|
|
163
|
-
},
|
|
164
|
-
proxy: true
|
|
165
|
-
} : null, _vm.$slots['label-default'] ? {
|
|
166
|
-
key: "label-default",
|
|
167
|
-
fn: function () {
|
|
168
|
-
return [_vm._t("label-default")];
|
|
169
|
-
},
|
|
170
|
-
proxy: true
|
|
171
|
-
} : null, _vm.$slots['label-append'] ? {
|
|
172
|
-
key: "label-append",
|
|
173
|
-
fn: function () {
|
|
174
|
-
return [_vm._t("label-append")];
|
|
175
|
-
},
|
|
176
|
-
proxy: true
|
|
177
|
-
} : null, _vm.$slots['wrapper-end'] ? {
|
|
178
|
-
key: "wrapper-end",
|
|
179
|
-
fn: function () {
|
|
180
|
-
return [_vm._t("wrapper-end")];
|
|
181
|
-
},
|
|
182
|
-
proxy: true
|
|
183
|
-
} : null, _vm.$slots['input-end'] ? {
|
|
184
|
-
key: "input-end",
|
|
185
|
-
fn: function () {
|
|
186
|
-
return [_vm._t("input-end")];
|
|
187
|
-
},
|
|
188
|
-
proxy: true
|
|
189
|
-
} : null, _vm.$slots.append ? {
|
|
190
|
-
key: "append",
|
|
191
|
-
fn: function () {
|
|
192
|
-
return [_vm._t("append")];
|
|
193
|
-
},
|
|
194
|
-
proxy: true
|
|
195
|
-
} : null], null, true),
|
|
196
|
-
model: {
|
|
197
|
-
value: _vm.localValue,
|
|
198
|
-
callback: function ($$v) {
|
|
199
|
-
_vm.localValue = $$v;
|
|
200
|
-
},
|
|
201
|
-
expression: "localValue"
|
|
202
|
-
}
|
|
203
|
-
});
|
|
204
|
-
};
|
|
205
|
-
var __vue_staticRenderFns__ = [];
|
|
206
|
-
|
|
207
|
-
/* style */
|
|
208
|
-
const __vue_inject_styles__ = undefined;
|
|
209
|
-
/* scoped */
|
|
210
|
-
const __vue_scope_id__ = undefined;
|
|
211
|
-
/* module identifier */
|
|
212
|
-
const __vue_module_identifier__ = undefined;
|
|
213
|
-
/* functional template */
|
|
214
|
-
const __vue_is_functional_template__ = false;
|
|
215
|
-
/* style inject */
|
|
216
|
-
|
|
217
|
-
/* style inject SSR */
|
|
218
|
-
|
|
219
|
-
/* style inject shadow dom */
|
|
220
|
-
|
|
221
|
-
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
222
|
-
render: __vue_render__,
|
|
223
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
224
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
225
|
-
var __vue_component__$1 = __vue_component__;
|
|
226
|
-
|
|
227
|
-
export { __vue_component__$1 as _ };
|