@onereach/ui-components 2.69.7-beta.2187.0 → 2.69.7-beta.2201.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-754aa36f.js → OrCardCollection-f07a1190.js} +2 -2
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-4f665252.js} +3 -3
- package/dist/bundled/v2/{OrConfirm-cf334659.js → OrConfirm-618e6c96.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-a2ba92df.js → OrIconButton-a215104c.js} +4 -4
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-6af4fe07.js} +3 -3
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-ddf84267.js} +3 -3
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-cc2d74db.js} +21 -14
- package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-da25bec2.js} +3 -13
- package/dist/bundled/v2/{OrModal-af6677fd.js → OrModal-f89de11f.js} +12 -3
- package/dist/bundled/v2/{OrNotification-3250f58b.js → OrNotification-d76a062d.js} +13 -5
- package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-a60fc5c0.js} +3 -3
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-d4833781.js} +2 -2
- package/dist/bundled/v2/{OrSelect-2e48be47.js → OrSelect-0d0a53e5.js} +13 -5
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-fe9b7de7.js} +3 -3
- package/dist/bundled/v2/{OrTag-e3e6fdd6.js → OrTag-6440aa89.js} +6 -6
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-76a2963b.js} +14 -11
- package/dist/bundled/v2/components/index.js +18 -17
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -5
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +149 -0
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/or-confirm-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-icon-button-v3/props.d.ts +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-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-input-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -0
- package/dist/bundled/v2/components/or-modal-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-modal-v3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -0
- package/dist/bundled/v2/components/or-notification-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/or-radio-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +11 -0
- package/dist/bundled/v2/components/or-select-v3/index.js +7 -6
- package/dist/bundled/v2/components/or-switch-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-tag-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-tag-v3/props.d.ts +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -0
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/bundled/v2/index.js +19 -18
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v2/{types-8fe4e345.js → types-fdd34542.js} +17 -8
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-365741ae.js → OrCardCollection.vue_vue_type_script_lang-5ceefcab.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-68329ca1.js → OrConfirm.vue_vue_type_script_lang-bb9ac0bc.js} +2 -2
- package/dist/bundled/v3/{OrIconButton-cd62526d.js → OrIconButton-1581013c.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-aefcf30d.js → OrIconButton.vue_vue_type_script_lang-f6f801ff.js} +4 -4
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-84c521f9.js} +4 -4
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-9c58faeb.js} +4 -4
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-fa3a1a23.js} +17 -14
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-c3e5928c.js} +7 -6
- package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-a11eb96c.js} +1 -1
- package/dist/{esm/v2/OrInputBox-4d5a318d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-c8184afc.js} +5 -56
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-55c864d1.js → OrModal.vue_vue_type_script_lang-80a7b906.js} +9 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c886ae51.js → OrNotification.vue_vue_type_script_lang-fbb35355.js} +9 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-ddf6e02b.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-a5ecc5ed.js → OrSelect.vue_vue_type_script_lang-242beccd.js} +17 -9
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-e45c345b.js → OrTag.vue_vue_type_script_lang-dc6a4011.js} +6 -6
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-e1a44c0a.js} +5 -4
- package/dist/bundled/v3/{OrToastContainer-34389303.js → OrToastContainer-7c3c0b12.js} +1 -1
- package/dist/bundled/v3/components/index.js +18 -17
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +9 -8
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +132 -0
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/or-confirm-v3/index.js +8 -7
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-icon-button-v3/props.d.ts +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-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-input-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -0
- package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -0
- package/dist/bundled/v3/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/or-search-v3/index.js +8 -7
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +11 -0
- package/dist/bundled/v3/components/or-select-v3/index.js +9 -8
- package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tag-v3/props.d.ts +1 -1
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-toast-v3/OrToast.vue.d.ts +2 -0
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/bundled/v3/index.js +57 -49
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{types-f53434f2.js → types-dcc78caa.js} +16 -7
- package/dist/esm/v2/{OrCardCollection-153b0179.js → OrCardCollection-cfaf440b.js} +3 -3
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-ea48d156.js} +3 -3
- package/dist/esm/v2/{OrConfirm-d67d5c00.js → OrConfirm-8f688177.js} +1 -1
- package/dist/esm/v2/{OrIconButton-b3779042.js → OrIconButton-e17e4944.js} +4 -4
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-e32f322f.js} +3 -3
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-7296fbdb.js} +3 -3
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-0d0db283.js} +21 -14
- package/dist/esm/v2/OrInputBox-20d65881.js +43 -0
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-5253ba98.js} +4 -3
- package/dist/esm/v2/{OrModal-a7719843.js → OrModal-5b37a50a.js} +12 -3
- package/dist/esm/v2/{OrNotification-8a4830a3.js → OrNotification-c765f111.js} +13 -5
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-6e10f071.js} +3 -3
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-e7d0f2a3.js} +2 -2
- package/dist/esm/v2/{OrSelect-b3794fd3.js → OrSelect-bdc3218f.js} +13 -5
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-c628d2c5.js} +3 -3
- package/dist/esm/v2/{OrTag-52e4cc94.js → OrTag-cf9c6195.js} +6 -6
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-b4660f09.js} +14 -11
- package/dist/esm/v2/components/index.js +18 -17
- package/dist/esm/v2/components/or-card-collection-v3/index.js +6 -5
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.js +147 -0
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +5 -4
- package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-icon-button-v3/props.d.ts +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-box-v3/index.js +3 -2
- package/dist/esm/v2/components/or-input-v3/index.js +4 -3
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v2/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +5 -4
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-select-v3/index.js +7 -6
- package/dist/esm/v2/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tag-v3/props.d.ts +1 -1
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/esm/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/esm/v2/index.js +18 -17
- package/dist/esm/v2/{types-6c742e07.js → types-8d58d7b5.js} +17 -8
- package/dist/esm/v3/{OrCardCollection-a09ad585.js → OrCardCollection-dbd1e3c2.js} +3 -3
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-d1b516c8.js} +3 -2
- package/dist/esm/v3/{OrConfirm-b93b5131.js → OrConfirm-b2ef47a2.js} +1 -1
- package/dist/esm/v3/{OrIconButton-1a89fbf9.js → OrIconButton-1eebcafc.js} +4 -4
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-00f0d1b8.js} +3 -3
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-c1babfda.js} +3 -3
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-509065af.js} +20 -17
- package/dist/esm/v3/{OrInputBox-6d1b6059.js → OrInputBox-0ebab1b8.js} +1 -1
- package/dist/esm/v3/{OrModal-7878cc39.js → OrModal-381554a6.js} +12 -3
- package/dist/esm/v3/{OrNotification-e1383681.js → OrNotification-34d9c99b.js} +12 -4
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-ef9d4c6e.js} +3 -2
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-15ba38cd.js} +2 -2
- package/dist/esm/v3/{OrSelect-a0718c44.js → OrSelect-bcf0fb2a.js} +13 -6
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-cc797a48.js} +3 -3
- package/dist/esm/v3/{OrTag-efa7578f.js → OrTag-c0bbaa58.js} +6 -6
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-26c50ec0.js} +17 -15
- package/dist/esm/v3/components/index.js +17 -17
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -5
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.js +132 -0
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-icon-button-v3/props.d.ts +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-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v3/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +4 -4
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +11 -0
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tag-v3/props.d.ts +1 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/OrToast.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/esm/v3/index.js +17 -17
- package/dist/esm/v3/{types-2692e337.js → types-8a338300.js} +15 -6
- package/package.json +2 -2
- package/src/components/or-checkbox-v3/OrCheckbox.vue +1 -1
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +202 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +134 -0
- package/src/components/or-combined-input-v3/index.ts +2 -0
- package/src/components/or-combined-input-v3/props.ts +1 -0
- package/src/components/or-combined-input-v3/styles.ts +25 -0
- package/src/components/or-icon-button-v3/OrIconButton.vue +1 -1
- package/src/components/or-icon-button-v3/props.ts +1 -1
- package/src/components/or-icon-button-v3/styles.ts +1 -4
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-box-v3/styles.ts +1 -1
- package/src/components/or-input-v3/OrInput.vue +28 -22
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-modal-v3/OrModal.vue +13 -6
- package/src/components/or-modal-v3/styles.ts +9 -0
- package/src/components/or-notification-v3/OrNotification.vue +12 -6
- package/src/components/or-notification-v3/styles.ts +9 -0
- package/src/components/or-radio-v3/OrRadio.vue +1 -1
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +6 -0
- package/src/components/or-select-v3/styles.ts +4 -1
- package/src/components/or-switch-v3/OrSwitch.vue +1 -1
- package/src/components/or-tag-v3/OrTag.vue +3 -3
- package/src/components/or-tag-v3/props.ts +1 -1
- package/src/components/or-tag-v3/styles.ts +1 -1
- package/src/components/or-textarea-v3/OrTextarea.vue +5 -1
- package/src/components/or-textarea-v3/styles.ts +2 -2
- package/src/components/or-toast-v3/OrToast.vue +13 -6
- package/src/components/or-toast-v3/styles.ts +9 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var InputBoxVariant;
|
|
2
|
+
(function (InputBoxVariant) {
|
|
3
|
+
InputBoxVariant["Styled"] = "styled";
|
|
4
|
+
InputBoxVariant["Unstyled"] = "unstyled";
|
|
5
|
+
})(InputBoxVariant || (InputBoxVariant = {}));
|
|
6
|
+
var InputBoxSize;
|
|
7
|
+
(function (InputBoxSize) {
|
|
8
|
+
InputBoxSize["M"] = "m";
|
|
9
|
+
InputBoxSize["S"] = "s";
|
|
10
|
+
})(InputBoxSize || (InputBoxSize = {}));
|
|
11
|
+
|
|
12
|
+
export { InputBoxVariant as I, InputBoxSize as a };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useToggle } from '@vueuse/core';
|
|
2
2
|
import './index-fa6eb4ca.js';
|
|
3
3
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-3a3d4280.js';
|
|
4
|
-
import { O as OrIconButton } from './OrIconButton-
|
|
4
|
+
import { O as OrIconButton } from './OrIconButton-a215104c.js';
|
|
5
5
|
import { O as OrLoader } from './OrLoader-6a1f937b.js';
|
|
6
6
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -29,6 +29,11 @@ const ToastRoot = [
|
|
|
29
29
|
'links:text-inverse-primary', 'dark:links:text-inverse-primary-dark',
|
|
30
30
|
// Elevation
|
|
31
31
|
'shadow-card', 'dark:shadow-card-dark'];
|
|
32
|
+
const ToastActionButton = [
|
|
33
|
+
// Layout
|
|
34
|
+
'contents',
|
|
35
|
+
// Theme
|
|
36
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
32
37
|
const ToastContainer = [
|
|
33
38
|
// Position
|
|
34
39
|
'absolute',
|
|
@@ -110,6 +115,7 @@ var script$1 = defineComponent({
|
|
|
110
115
|
'self-center',
|
|
111
116
|
// Theme
|
|
112
117
|
'text-inverse-primary', 'dark:text-inverse-primary-dark']);
|
|
118
|
+
const actionButtonStyle = computed(() => [...ToastActionButton]);
|
|
113
119
|
// State
|
|
114
120
|
const emojiSrc = computed(() => {
|
|
115
121
|
switch (props.toastType) {
|
|
@@ -138,6 +144,7 @@ var script$1 = defineComponent({
|
|
|
138
144
|
}
|
|
139
145
|
return {
|
|
140
146
|
root,
|
|
147
|
+
actionButtonStyle,
|
|
141
148
|
toastIconStyle,
|
|
142
149
|
rootStyles,
|
|
143
150
|
loaderStyle,
|
|
@@ -193,10 +200,12 @@ var __vue_render__$1 = function () {
|
|
|
193
200
|
on: {
|
|
194
201
|
"click": _vm.onLinkClick
|
|
195
202
|
}
|
|
196
|
-
}, [_vm._v("\n " + _vm._s(_vm.link.title) + "\n ")])] : _vm._e(), _vm._v(" "), _vm.dismissible ? [_c('
|
|
203
|
+
}, [_vm._v("\n " + _vm._s(_vm.link.title) + "\n ")])] : _vm._e(), _vm._v(" "), _vm.dismissible ? [_c('div', {
|
|
204
|
+
class: _vm.actionButtonStyle
|
|
205
|
+
}, [_c('OrIconButton', {
|
|
206
|
+
staticClass: "dark:theme-foreground-inherit",
|
|
197
207
|
attrs: {
|
|
198
|
-
"icon":
|
|
199
|
-
"size": 'm'
|
|
208
|
+
"icon": "close"
|
|
200
209
|
},
|
|
201
210
|
on: {
|
|
202
211
|
"click": function ($event) {
|
|
@@ -204,21 +213,21 @@ var __vue_render__$1 = function () {
|
|
|
204
213
|
return _vm.onClose();
|
|
205
214
|
}
|
|
206
215
|
}
|
|
207
|
-
})] : _vm._e()], 2)], 2);
|
|
216
|
+
})], 1)] : _vm._e()], 2)], 2);
|
|
208
217
|
};
|
|
209
218
|
var __vue_staticRenderFns__$1 = [];
|
|
210
219
|
|
|
211
220
|
/* style */
|
|
212
221
|
const __vue_inject_styles__$1 = function (inject) {
|
|
213
222
|
if (!inject) return;
|
|
214
|
-
inject("data-v-
|
|
215
|
-
source: ".or-toast__link[data-v-
|
|
223
|
+
inject("data-v-ff64545e_0", {
|
|
224
|
+
source: ".or-toast__link[data-v-ff64545e]{word-break:break-word;white-space:nowrap;cursor:pointer}",
|
|
216
225
|
map: undefined,
|
|
217
226
|
media: undefined
|
|
218
227
|
});
|
|
219
228
|
};
|
|
220
229
|
/* scoped */
|
|
221
|
-
const __vue_scope_id__$1 = "data-v-
|
|
230
|
+
const __vue_scope_id__$1 = "data-v-ff64545e";
|
|
222
231
|
/* module identifier */
|
|
223
232
|
const __vue_module_identifier__$1 = undefined;
|
|
224
233
|
/* functional template */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createBlock, ref, watch } from 'vue';
|
|
2
|
-
import './OrIconButton-
|
|
3
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
2
|
+
import './OrIconButton-1581013c.js';
|
|
3
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
4
4
|
import './OrButton-a671b8a1.js';
|
|
5
5
|
import './OrMenu-f26e8e55.js';
|
|
6
6
|
import { s as script$5 } from './OrMenu.vue_vue_type_script_lang-2446a69a.js';
|
|
7
7
|
import './OrMenuItem-4feaba6c.js';
|
|
8
8
|
import { s as script$6 } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
9
9
|
import './OrIcon-d878b768.js';
|
|
10
|
-
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$2 } from './OrSearch.vue_vue_type_script_lang-ddf6e02b.js';
|
|
11
11
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
12
12
|
import { s as script$4 } from './OrButton.vue_vue_type_script_lang-b0dc31ca.js';
|
|
13
13
|
import { s as script$7 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
@@ -3,10 +3,10 @@ import { useMagicKeys, whenever } from '@vueuse/core';
|
|
|
3
3
|
import { l as logicAnd } from './index-01519e46.js';
|
|
4
4
|
import './OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js';
|
|
5
5
|
import './OrButton-a671b8a1.js';
|
|
6
|
-
import './OrInput-
|
|
6
|
+
import './OrInput-fa3a1a23.js';
|
|
7
7
|
import { s as script$2, a as ButtonColor } from './OrButton.vue_vue_type_script_lang-b0dc31ca.js';
|
|
8
8
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
|
|
9
|
-
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-c3e5928c.js';
|
|
10
10
|
|
|
11
11
|
var ConfirmType;
|
|
12
12
|
(function (ConfirmType) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrIconButton.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
2
2
|
import { resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode, mergeProps, createVNode } from 'vue';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = ["disabled"];
|
|
@@ -33,7 +33,7 @@ script$1.__file = "src/components/or-tooltip-v3/OrTooltip.vue";
|
|
|
33
33
|
|
|
34
34
|
var IconButtonColor;
|
|
35
35
|
(function (IconButtonColor) {
|
|
36
|
-
IconButtonColor["
|
|
36
|
+
IconButtonColor["Primary"] = "primary";
|
|
37
37
|
IconButtonColor["Danger"] = "danger";
|
|
38
38
|
IconButtonColor["Inherit"] = "inherit";
|
|
39
39
|
})(IconButtonColor || (IconButtonColor = {}));
|
|
@@ -56,9 +56,9 @@ const IconButtonRoot = [
|
|
|
56
56
|
// Theme
|
|
57
57
|
'!outline outline-2 outline-transparent'];
|
|
58
58
|
const IconButtonRootColors = {
|
|
59
|
-
'
|
|
59
|
+
'primary': [
|
|
60
60
|
// Theme
|
|
61
|
-
'theme-preset-3-primary', 'dark:theme-preset-3-primary-dark',
|
|
61
|
+
'theme-preset-3-primary', 'dark:theme-preset-3-primary-dark',
|
|
62
62
|
// Theme (hover)
|
|
63
63
|
'hover:outline-primary-opacity-0-08', 'dark:hover:outline-primary-opacity-0-08-dark',
|
|
64
64
|
// Theme (focus)
|
|
@@ -99,7 +99,7 @@ var script = defineComponent({
|
|
|
99
99
|
},
|
|
100
100
|
color: {
|
|
101
101
|
type: String,
|
|
102
|
-
default: IconButtonColor.
|
|
102
|
+
default: IconButtonColor.Inherit
|
|
103
103
|
},
|
|
104
104
|
size: {
|
|
105
105
|
type: String,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, watch } from 'vue';
|
|
2
2
|
import './OrHint-9592499e.js';
|
|
3
|
-
import './OrIconButton-
|
|
3
|
+
import './OrIconButton-1581013c.js';
|
|
4
4
|
import './OrInlineInputBox-9d68ded1.js';
|
|
5
5
|
import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox.vue_vue_type_script_lang-73750005.js';
|
|
6
6
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
7
7
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
8
8
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
9
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
10
10
|
|
|
11
11
|
var InlineInputType;
|
|
12
12
|
(function (InlineInputType) {
|
|
@@ -20,8 +20,8 @@ const InlineInputRoot = [
|
|
|
20
20
|
// Spacing
|
|
21
21
|
'gap-xs'];
|
|
22
22
|
const InlineInputControl = [
|
|
23
|
-
//
|
|
24
|
-
'
|
|
23
|
+
// Box
|
|
24
|
+
'w-full',
|
|
25
25
|
// Typography
|
|
26
26
|
'typography-inherit',
|
|
27
27
|
// Theme
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, watch } from 'vue';
|
|
2
2
|
import './OrHint-9592499e.js';
|
|
3
|
-
import './OrIconButton-
|
|
3
|
+
import './OrIconButton-1581013c.js';
|
|
4
4
|
import './OrInlineInputBox-9d68ded1.js';
|
|
5
5
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
6
6
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
7
7
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
8
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
8
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
9
9
|
import { s as script$4 } from './OrInlineInputBox.vue_vue_type_script_lang-73750005.js';
|
|
10
10
|
|
|
11
11
|
const InlineTextareaRoot = [
|
|
@@ -14,8 +14,8 @@ const InlineTextareaRoot = [
|
|
|
14
14
|
// Spacing
|
|
15
15
|
'gap-xs'];
|
|
16
16
|
const InlineTextareaControl = [
|
|
17
|
-
//
|
|
18
|
-
'
|
|
17
|
+
// Box
|
|
18
|
+
'w-full',
|
|
19
19
|
// Typography
|
|
20
20
|
'typography-inherit',
|
|
21
21
|
// Theme
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { s as script } from './OrInput.vue_vue_type_script_lang-
|
|
2
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
1
|
+
import { s as script } from './OrInput.vue_vue_type_script_lang-c3e5928c.js';
|
|
2
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, normalizeClass, vModelDynamic, withModifiers, Fragment, createSlots } from 'vue';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
4
4
|
|
|
5
|
-
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"];
|
|
5
|
+
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled", "readonly", "maxlength"];
|
|
6
6
|
const _hoisted_2 = {
|
|
7
|
+
key: 0,
|
|
7
8
|
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
8
9
|
};
|
|
9
10
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -13,10 +14,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13
14
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
14
15
|
const _component_OrHint = resolveComponent("OrHint");
|
|
15
16
|
const _component_OrError = resolveComponent("OrError");
|
|
16
|
-
return openBlock(), createElementBlock("div", {
|
|
17
|
-
ref: "root"
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
18
|
+
ref: "root"
|
|
19
|
+
}, _ctx.$attrs, {
|
|
20
|
+
class: _ctx.rootStyles
|
|
21
|
+
}), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
20
22
|
key: 0,
|
|
21
23
|
"control-id": _ctx.controlId,
|
|
22
24
|
variant: 'input',
|
|
@@ -34,21 +36,22 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34
36
|
readonly: _ctx.readonly,
|
|
35
37
|
disabled: _ctx.disabled
|
|
36
38
|
}, {
|
|
37
|
-
default: withCtx(() => [withDirectives(createElementVNode("input",
|
|
39
|
+
default: withCtx(() => [withDirectives(createElementVNode("input", {
|
|
38
40
|
id: _ctx.controlId,
|
|
39
41
|
ref: "input",
|
|
40
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
41
|
-
|
|
42
|
-
class: _ctx.controlStyles,
|
|
42
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
|
|
43
|
+
class: normalizeClass(_ctx.controlStyles),
|
|
43
44
|
type: _ctx.type === 'password' && _ctx.disclosed ? 'text' : _ctx.type,
|
|
44
45
|
placeholder: _ctx.placeholder,
|
|
45
46
|
required: _ctx.required,
|
|
46
47
|
disabled: _ctx.disabled,
|
|
48
|
+
readonly: _ctx.readonly,
|
|
49
|
+
maxlength: _ctx.maxLength,
|
|
47
50
|
onKeydown: _cache[1] || (_cache[1] = $event => _ctx.$emit('keydown', $event)),
|
|
48
51
|
onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
|
|
49
52
|
onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
|
|
50
53
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
51
|
-
}
|
|
54
|
+
}, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), _ctx.type !== 'text' ? (openBlock(), createElementBlock("div", _hoisted_2, [_ctx.type === 'password' ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
52
55
|
key: 0,
|
|
53
56
|
icon: {
|
|
54
57
|
icon: _ctx.disclosed ? 'visibility_off' : 'visibility',
|
|
@@ -69,7 +72,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
69
72
|
key: 1,
|
|
70
73
|
icon: 'search',
|
|
71
74
|
variant: 'outlined'
|
|
72
|
-
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])]),
|
|
75
|
+
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)]),
|
|
73
76
|
_: 1 /* STABLE */
|
|
74
77
|
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
75
78
|
key: 1
|
|
@@ -97,7 +100,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
97
100
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
98
101
|
|
|
99
102
|
key: "0"
|
|
100
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))],
|
|
103
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 16 /* FULL_PROPS */);
|
|
101
104
|
}
|
|
102
105
|
|
|
103
106
|
var css_248z = "\ninput[data-v-78975fa2] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-78975fa2]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-78975fa2]::-webkit-search-cancel-button {\n display: none;\n}\n";
|
|
@@ -3,14 +3,15 @@ import './OrHint-9592499e.js';
|
|
|
3
3
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
4
4
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
5
5
|
import './OrIcon-d878b768.js';
|
|
6
|
-
import './OrIconButton-
|
|
7
|
-
import './OrInputBox-
|
|
8
|
-
import { s as script$5
|
|
6
|
+
import './OrIconButton-1581013c.js';
|
|
7
|
+
import './OrInputBox-a11eb96c.js';
|
|
8
|
+
import { s as script$5 } from './OrInputBox.vue_vue_type_script_lang-c8184afc.js';
|
|
9
9
|
import './OrLabel-c6873e79.js';
|
|
10
10
|
import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
11
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
11
12
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
12
13
|
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
13
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
14
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
14
15
|
|
|
15
16
|
var InputType;
|
|
16
17
|
(function (InputType) {
|
|
@@ -26,8 +27,8 @@ const InputRoot = [
|
|
|
26
27
|
// Spacing
|
|
27
28
|
'gap-xs'];
|
|
28
29
|
const InputControl = [
|
|
29
|
-
//
|
|
30
|
-
'
|
|
30
|
+
// Box
|
|
31
|
+
'w-full',
|
|
31
32
|
// Typography
|
|
32
33
|
'typography-inherit',
|
|
33
34
|
// Theme
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrInputBox.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from './OrInputBox.vue_vue_type_script_lang-c8184afc.js';
|
|
2
2
|
import { openBlock, createElementBlock, mergeProps, renderSlot } from 'vue';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = ["invalid", "readonly", "disabled"];
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue
|
|
2
|
-
import {
|
|
3
|
-
import '
|
|
4
|
-
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
|
-
|
|
6
|
-
var InputBoxVariant;
|
|
7
|
-
(function (InputBoxVariant) {
|
|
8
|
-
InputBoxVariant["Styled"] = "styled";
|
|
9
|
-
InputBoxVariant["Unstyled"] = "unstyled";
|
|
10
|
-
})(InputBoxVariant || (InputBoxVariant = {}));
|
|
11
|
-
var InputBoxSize;
|
|
12
|
-
(function (InputBoxSize) {
|
|
13
|
-
InputBoxSize["M"] = "m";
|
|
14
|
-
InputBoxSize["S"] = "s";
|
|
15
|
-
})(InputBoxSize || (InputBoxSize = {}));
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
+
import { I as InputBoxVariant, a as InputBoxSize } from './props-78496a2d.js';
|
|
3
|
+
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
16
4
|
|
|
17
5
|
const InputBoxRoot = [
|
|
18
6
|
// Layout
|
|
@@ -44,7 +32,7 @@ const InputBoxRootVariants = {
|
|
|
44
32
|
const InputBoxRootSizes = {
|
|
45
33
|
'm': [
|
|
46
34
|
// Box
|
|
47
|
-
'children:min-h-[34px]',
|
|
35
|
+
'children:min-h-[46px] children:md:min-h-[34px]',
|
|
48
36
|
// Spacing
|
|
49
37
|
'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', 'children:pt-[11px] children:md:pt-[7px]', 'children:pb-[11px] children:md:pb-[6px]', 'gap-sm+ md:gap-sm',
|
|
50
38
|
// Typography
|
|
@@ -97,43 +85,4 @@ var script = defineComponent({
|
|
|
97
85
|
}
|
|
98
86
|
});
|
|
99
87
|
|
|
100
|
-
|
|
101
|
-
const __vue_script__ = script;
|
|
102
|
-
|
|
103
|
-
/* template */
|
|
104
|
-
var __vue_render__ = function () {
|
|
105
|
-
var _vm = this;
|
|
106
|
-
var _h = _vm.$createElement;
|
|
107
|
-
var _c = _vm._self._c || _h;
|
|
108
|
-
return _c('div', _vm._b({
|
|
109
|
-
ref: "root",
|
|
110
|
-
class: _vm.rootStyles,
|
|
111
|
-
attrs: {
|
|
112
|
-
"invalid": _vm.invalid ? '' : null,
|
|
113
|
-
"readonly": _vm.readonly ? '' : null,
|
|
114
|
-
"disabled": _vm.disabled ? '' : null
|
|
115
|
-
}
|
|
116
|
-
}, 'div', _vm.$attrs, false), [_vm._t("default")], 2);
|
|
117
|
-
};
|
|
118
|
-
var __vue_staticRenderFns__ = [];
|
|
119
|
-
|
|
120
|
-
/* style */
|
|
121
|
-
const __vue_inject_styles__ = undefined;
|
|
122
|
-
/* scoped */
|
|
123
|
-
const __vue_scope_id__ = undefined;
|
|
124
|
-
/* module identifier */
|
|
125
|
-
const __vue_module_identifier__ = undefined;
|
|
126
|
-
/* functional template */
|
|
127
|
-
const __vue_is_functional_template__ = false;
|
|
128
|
-
/* style inject */
|
|
129
|
-
|
|
130
|
-
/* style inject SSR */
|
|
131
|
-
|
|
132
|
-
/* style inject shadow dom */
|
|
133
|
-
|
|
134
|
-
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
135
|
-
render: __vue_render__,
|
|
136
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
137
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
138
|
-
|
|
139
|
-
export { InputBoxVariant as I, __vue_component__ as _, InputBoxSize as a };
|
|
88
|
+
export { script as s };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
2
2
|
import './OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js';
|
|
3
|
-
import './OrIconButton-
|
|
3
|
+
import './OrIconButton-1581013c.js';
|
|
4
4
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
5
5
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-cb3aad0c.js';
|
|
6
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
7
7
|
|
|
8
8
|
var ModalSize;
|
|
9
9
|
(function (ModalSize) {
|
|
@@ -43,6 +43,11 @@ const ModalHeader = [
|
|
|
43
43
|
'layout-row',
|
|
44
44
|
// Typography
|
|
45
45
|
'typography-headline-2'];
|
|
46
|
+
const ModalCloseButton = [
|
|
47
|
+
// Layout
|
|
48
|
+
'contents',
|
|
49
|
+
// Theme
|
|
50
|
+
'text-outline', 'dark:text-outline-dark'];
|
|
46
51
|
|
|
47
52
|
var script = defineComponent({
|
|
48
53
|
name: 'OrModal',
|
|
@@ -70,6 +75,7 @@ var script = defineComponent({
|
|
|
70
75
|
const classAttribute = useClassAttribute();
|
|
71
76
|
const rootStyles = computed(() => ['or-modal', ...ModalRoot, ...ModalRootSizes[props.size], classAttribute.value]);
|
|
72
77
|
const headerStyles = computed(() => [...ModalHeader]);
|
|
78
|
+
const closeButtonStyles = computed(() => [...ModalCloseButton]);
|
|
73
79
|
// State
|
|
74
80
|
const isActive = ref(false);
|
|
75
81
|
// Events
|
|
@@ -96,6 +102,7 @@ var script = defineComponent({
|
|
|
96
102
|
root,
|
|
97
103
|
rootStyles,
|
|
98
104
|
headerStyles,
|
|
105
|
+
closeButtonStyles,
|
|
99
106
|
isActive,
|
|
100
107
|
open,
|
|
101
108
|
close
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue';
|
|
2
2
|
import './OrIcon-d878b768.js';
|
|
3
|
-
import './OrIconButton-
|
|
3
|
+
import './OrIconButton-1581013c.js';
|
|
4
4
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
5
5
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
6
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
7
7
|
|
|
8
8
|
var NotificationVariant;
|
|
9
9
|
(function (NotificationVariant) {
|
|
@@ -65,6 +65,11 @@ const NotificationIconVariants = {
|
|
|
65
65
|
// Theme
|
|
66
66
|
'theme-foreground-primary', 'dark:theme-foreground-primary-dark']
|
|
67
67
|
};
|
|
68
|
+
const NotificationAction = [
|
|
69
|
+
// Layout
|
|
70
|
+
'contents',
|
|
71
|
+
// Theme
|
|
72
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
68
73
|
|
|
69
74
|
var script = defineComponent({
|
|
70
75
|
name: 'OrNotification',
|
|
@@ -87,6 +92,7 @@ var script = defineComponent({
|
|
|
87
92
|
const classAttribute = useClassAttribute();
|
|
88
93
|
const rootStyles = computed(() => ['or-notification', ...NotificationRoot, ...NotificationRootVariants[props.variant], classAttribute.value]);
|
|
89
94
|
const iconStyles = computed(() => [...NotificationIcon, ...NotificationIconVariants[props.variant]]);
|
|
95
|
+
const actionStyles = computed(() => [...NotificationAction]);
|
|
90
96
|
// State
|
|
91
97
|
const icon = computed(() => {
|
|
92
98
|
switch (props.variant) {
|
|
@@ -104,6 +110,7 @@ var script = defineComponent({
|
|
|
104
110
|
root,
|
|
105
111
|
rootStyles,
|
|
106
112
|
iconStyles,
|
|
113
|
+
actionStyles,
|
|
107
114
|
icon
|
|
108
115
|
};
|
|
109
116
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
-
import './OrInput-
|
|
4
|
-
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-
|
|
3
|
+
import './OrInput-fa3a1a23.js';
|
|
4
|
+
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-c3e5928c.js';
|
|
5
5
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
6
|
-
import { a as InputBoxSize } from './
|
|
6
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
7
7
|
|
|
8
8
|
var script = defineComponent({
|
|
9
9
|
name: 'OrSearch',
|
|
@@ -4,23 +4,24 @@ import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
|
4
4
|
import './OrHint-9592499e.js';
|
|
5
5
|
import { s as script$2 } from './OrExpansionPanel.vue_vue_type_script_lang-7f9c6721.js';
|
|
6
6
|
import './OrIcon-d878b768.js';
|
|
7
|
-
import './OrInput-
|
|
8
|
-
import './OrInputBox-
|
|
7
|
+
import './OrInput-fa3a1a23.js';
|
|
8
|
+
import './OrInputBox-a11eb96c.js';
|
|
9
9
|
import './OrLabel-c6873e79.js';
|
|
10
10
|
import './OrMenuItem-4feaba6c.js';
|
|
11
11
|
import './OrPopover-c462ce77.js';
|
|
12
|
-
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-dc6a4011.js';
|
|
13
13
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-293d2de2.js';
|
|
14
14
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
15
15
|
import { u as useOverflow } from './useOverflow-6dce216b.js';
|
|
16
16
|
import { s as script$4 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
17
17
|
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
18
18
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
19
|
-
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-
|
|
20
|
-
import { s as script$8
|
|
19
|
+
import { s as script$7 } from './OrInput.vue_vue_type_script_lang-c3e5928c.js';
|
|
20
|
+
import { s as script$8 } from './OrInputBox.vue_vue_type_script_lang-c8184afc.js';
|
|
21
21
|
import { s as script$9 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
22
22
|
import { s as script$a } from './OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
23
23
|
import { s as script$b } from './OrPopover.vue_vue_type_script_lang-54c7b11c.js';
|
|
24
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
24
25
|
|
|
25
26
|
const _hoisted_1$2 = ["id", "value", "indeterminate", "required", "disabled"];
|
|
26
27
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -28,9 +29,10 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28
29
|
return openBlock(), createElementBlock("div", {
|
|
29
30
|
ref: "root",
|
|
30
31
|
class: normalizeClass(_ctx.rootStyles)
|
|
31
|
-
}, [withDirectives(createElementVNode("input", mergeProps(
|
|
32
|
+
}, [withDirectives(createElementVNode("input", mergeProps({
|
|
32
33
|
id: _ctx.controlId,
|
|
33
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
34
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
35
|
+
}, _ctx.$attrs, {
|
|
34
36
|
class: _ctx.controlStyles,
|
|
35
37
|
type: "checkbox",
|
|
36
38
|
value: _ctx.inputValue,
|
|
@@ -107,7 +109,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
107
109
|
onBlur: _cache[3] || (_cache[3] = $event => _ctx.$emit('blur', $event))
|
|
108
110
|
}), [renderSlot(_ctx.$slots, "default"), _ctx.variant === 'reset' ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(_component_OrIconButton, {
|
|
109
111
|
icon: 'close',
|
|
110
|
-
color: _ctx.custom ? 'inherit'
|
|
112
|
+
color: !_ctx.custom ? _ctx.color : 'inherit',
|
|
111
113
|
disabled: _ctx.disabled,
|
|
112
114
|
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.$emit('reset'), ["stop"]))
|
|
113
115
|
}, null, 8 /* PROPS */, ["color", "disabled"])])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */, _hoisted_1);
|
|
@@ -123,7 +125,9 @@ const SelectRoot = [
|
|
|
123
125
|
'gap-xs'];
|
|
124
126
|
const SelectControl = [
|
|
125
127
|
// Layout
|
|
126
|
-
'layout-row
|
|
128
|
+
'layout-row',
|
|
129
|
+
// Box
|
|
130
|
+
'w-full',
|
|
127
131
|
// Overflow
|
|
128
132
|
'overflow-hidden',
|
|
129
133
|
// Spacing
|
|
@@ -221,6 +225,10 @@ var script = defineComponent({
|
|
|
221
225
|
type: Boolean,
|
|
222
226
|
default: false
|
|
223
227
|
},
|
|
228
|
+
disableDefaultStyles: {
|
|
229
|
+
type: Boolean,
|
|
230
|
+
default: false
|
|
231
|
+
},
|
|
224
232
|
enableSearch: {
|
|
225
233
|
type: Boolean,
|
|
226
234
|
default: false
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue';
|
|
2
|
-
import './OrIconButton-
|
|
2
|
+
import './OrIconButton-1581013c.js';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
4
|
-
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-
|
|
4
|
+
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-f6f801ff.js';
|
|
5
5
|
|
|
6
6
|
var TagVariant;
|
|
7
7
|
(function (TagVariant) {
|
|
@@ -11,7 +11,7 @@ var TagVariant;
|
|
|
11
11
|
})(TagVariant || (TagVariant = {}));
|
|
12
12
|
var TagColor;
|
|
13
13
|
(function (TagColor) {
|
|
14
|
-
TagColor["
|
|
14
|
+
TagColor["Primary"] = "primary";
|
|
15
15
|
TagColor["Danger"] = "danger";
|
|
16
16
|
})(TagColor || (TagColor = {}));
|
|
17
17
|
|
|
@@ -40,7 +40,7 @@ const TagRootVariants = {
|
|
|
40
40
|
'interactivity-none']
|
|
41
41
|
};
|
|
42
42
|
const TagRootColors = {
|
|
43
|
-
'
|
|
43
|
+
'primary': [
|
|
44
44
|
// Theme
|
|
45
45
|
'theme-preset-2-primary', 'dark:theme-preset-2-primary-dark'],
|
|
46
46
|
'danger': [
|
|
@@ -61,7 +61,7 @@ var script = defineComponent({
|
|
|
61
61
|
},
|
|
62
62
|
color: {
|
|
63
63
|
type: String,
|
|
64
|
-
default: TagColor.
|
|
64
|
+
default: TagColor.Primary
|
|
65
65
|
},
|
|
66
66
|
disabled: {
|
|
67
67
|
type: Boolean,
|
|
@@ -78,7 +78,7 @@ var script = defineComponent({
|
|
|
78
78
|
const rootStyles = computed(() => ['or-tag', ...TagRoot, ...TagRootVariants[props.variant], ...(!custom.value ? TagRootColors[props.color] : []), classAttribute.value]);
|
|
79
79
|
// State
|
|
80
80
|
const custom = computed(() => {
|
|
81
|
-
return !['
|
|
81
|
+
return !['primary', 'danger'].includes(props.color);
|
|
82
82
|
});
|
|
83
83
|
// Effects
|
|
84
84
|
watchPostEffect(() => {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed } from 'vue';
|
|
2
2
|
import './OrHint-9592499e.js';
|
|
3
|
-
import './OrInputBox-
|
|
3
|
+
import './OrInputBox-a11eb96c.js';
|
|
4
4
|
import './OrLabel-c6873e79.js';
|
|
5
5
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
6
6
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
7
7
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
8
|
-
import { s as script$3
|
|
8
|
+
import { s as script$3 } from './OrInputBox.vue_vue_type_script_lang-c8184afc.js';
|
|
9
9
|
import { s as script$4 } from './OrLabel.vue_vue_type_script_lang-96f94c4e.js';
|
|
10
|
+
import { a as InputBoxSize } from './props-78496a2d.js';
|
|
10
11
|
|
|
11
12
|
const TextareaRoot = [
|
|
12
13
|
// Layout
|
|
@@ -14,8 +15,8 @@ const TextareaRoot = [
|
|
|
14
15
|
// Spacing
|
|
15
16
|
'gap-xs'];
|
|
16
17
|
const TextareaControl = [
|
|
17
|
-
//
|
|
18
|
-
'
|
|
18
|
+
// Box
|
|
19
|
+
'w-full',
|
|
19
20
|
// Typography
|
|
20
21
|
'typography-inherit',
|
|
21
22
|
// Theme
|