@onereach/ui-components 2.70.2-beta.2207.0 → 2.70.2-beta.2216.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/{OrAvatar-ae61bfb9.js → OrAvatar-ff144438.js} +2 -4
- package/dist/bundled/v2/{OrBottomSheet-1cd1ab4c.js → OrBottomSheet-ddba20c1.js} +2 -4
- package/dist/bundled/v2/{OrButton-a846fa7e.js → OrButton-ea2e223b.js} +2 -4
- package/dist/bundled/v2/{OrCard-29116e1f.js → OrCard-9b845916.js} +1 -3
- package/dist/bundled/v2/{OrCardCollection-0141a358.js → OrCardCollection-379d5151.js} +7 -9
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-9339bec8.js} +34 -21
- package/dist/bundled/v2/{OrConfirm-23c3ce56.js → OrConfirm-aa5393cb.js} +3 -3
- package/dist/bundled/v2/{OrError-aad17598.js → OrError-0c77e637.js} +1 -3
- package/dist/bundled/v2/{OrErrorTag-d0c5bcf4.js → OrErrorTag-0ba2f0b8.js} +2 -4
- package/dist/bundled/v2/{OrExpansionPanel-d9a260e2.js → OrExpansionPanel-7f88e33a.js} +2 -4
- package/dist/bundled/v2/{OrFab-7cc75893.js → OrFab-dbc03d57.js} +1 -1
- package/dist/bundled/v2/{OrHint-f38a1940.js → OrHint-405bfc3d.js} +1 -3
- package/dist/bundled/v2/{OrIcon-8625385f.js → OrIcon-97245ebd.js} +1 -3
- package/dist/bundled/v2/{OrIconButton-a2ba92df.js → OrIconButton-61f706b3.js} +3 -5
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-140ca4bd.js} +43 -29
- package/dist/bundled/v2/{OrInlineInputBox-f457210f.js → OrInlineInputBox-36167851.js} +1 -3
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-47cc9b4b.js} +39 -25
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-9b7e3076.js} +49 -40
- package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-9441debf.js} +1 -3
- package/dist/bundled/v2/{OrLabel-172c4b89.js → OrLabel-54ac625d.js} +1 -3
- package/dist/bundled/v2/{OrLink-e7b57307.js → OrLink-51f9fb97.js} +1 -3
- package/dist/bundled/v2/{OrLoader-6a1f937b.js → OrLoader-7901107b.js} +1 -3
- package/dist/bundled/v2/{OrMenu-fa47c888.js → OrMenu-ebe5a9b6.js} +2 -4
- package/dist/bundled/v2/{OrMenuItem-26420908.js → OrMenuItem-d4b0f086.js} +2 -4
- package/dist/bundled/v2/{OrModal-af6677fd.js → OrModal-62b1d914.js} +3 -5
- package/dist/bundled/v2/{OrNotification-3250f58b.js → OrNotification-95406a04.js} +3 -5
- package/dist/bundled/v2/{OrOverlay-3c89d622.js → OrOverlay-efa7992e.js} +1 -3
- package/dist/bundled/v2/{OrPagination-379c10b8.js → OrPagination-edc2c855.js} +6 -8
- package/dist/bundled/v2/{OrPopover-5dc240f1.js → OrPopover-4e8acb7b.js} +2 -4
- package/dist/bundled/v2/{OrProgress-cc397a38.js → OrProgress-cb9a2ab3.js} +2 -4
- package/dist/bundled/v2/{OrRadio-cd39b20b.js → OrRadio-8eb3854a.js} +32 -19
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-e851b0d9.js} +4 -6
- package/dist/bundled/v2/{OrSegmentedControl-21cc914e.js → OrSegmentedControl-3db42e46.js} +2 -5
- package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-29374787.js} +12 -14
- package/dist/bundled/v2/{OrSkeletonText-516993b4.js → OrSkeletonText-8e64ed2e.js} +5 -9
- package/dist/bundled/v2/{OrSortHeader-9932d28f.js → OrSortHeader-00e61587.js} +2 -4
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-05ef01ba.js} +33 -20
- package/dist/bundled/v2/{OrTab-dd949240.js → OrTab-598116b9.js} +1 -3
- package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-c4abe18c.js} +6 -8
- package/dist/bundled/v2/{OrTag-30fecee5.js → OrTag-a2b46275.js} +3 -5
- package/dist/bundled/v2/{OrText-eac4b9f5.js → OrText-091e908e.js} +1 -3
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-a2fa2335.js} +45 -27
- package/dist/bundled/v2/{OrTooltip-fbfa05fd.js → OrTooltip-fc46e6a5.js} +2 -4
- package/dist/bundled/v2/components/index.js +46 -45
- package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-button-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +19 -18
- package/dist/bundled/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-card-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +20 -4
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-confirm-v3/index.js +16 -15
- package/dist/bundled/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-error-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-fab-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-hint-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +6 -7
- package/dist/bundled/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-icon-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -8
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +12 -11
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -8
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +12 -11
- package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +45 -10
- package/dist/bundled/v2/components/or-input-v3/index.js +13 -12
- package/dist/bundled/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-label-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-link-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-loader-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-menu-v3/index.js +4 -5
- package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +7 -8
- package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-notification-v3/index.js +7 -8
- package/dist/bundled/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-overlay-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +9 -10
- package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-popover-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-progress-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +20 -4
- package/dist/bundled/v2/components/or-radio-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +15 -14
- package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +1 -2
- package/dist/{esm/v3/components/or-segmented-control-v3/components → bundled/v2/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +18 -17
- package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/bundled/v2/components/or-skeleton-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +20 -4
- package/dist/bundled/v2/components/or-switch-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tab-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tabs-v3/index.js +8 -9
- package/dist/bundled/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tag-v3/index.js +7 -8
- package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-text-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -8
- package/dist/bundled/v2/components/or-textarea-v3/index.js +7 -6
- package/dist/bundled/v2/components/or-toast-v3/index.js +8 -9
- package/dist/bundled/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +4 -5
- package/dist/bundled/v2/hooks/index.d.ts +3 -1
- package/dist/bundled/v2/hooks/index.js +2 -1
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v2/index.js +46 -45
- package/dist/bundled/v2/{types-8fe4e345.js → types-6039ceaf.js} +2 -2
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +22 -0
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +17 -0
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-0426862b.js → OrAvatar.vue_vue_type_script_lang-2292d8d6.js} +3 -5
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js → OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js} +2 -4
- package/dist/bundled/v3/{OrButton-2b27c1fd.js → OrButton-26f977a6.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-8c44986c.js → OrButton.vue_vue_type_script_lang-f6a86f73.js} +3 -5
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-165de137.js → OrCard.vue_vue_type_script_lang-75721881.js} +1 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-1e906723.js} +43 -45
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-286ceca1.js} +25 -12
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-05b21989.js → OrConfirm.vue_vue_type_script_lang-b3e05ff1.js} +6 -6
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-cc6c135f.js → OrError.vue_vue_type_script_lang-8d790d69.js} +1 -3
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-4828c387.js → OrErrorTag.vue_vue_type_script_lang-218ef7e7.js} +3 -5
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-5360f580.js → OrExpansionPanel.vue_vue_type_script_lang-32c313f6.js} +3 -5
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-2adeaed6.js → OrFab.vue_vue_type_script_lang-06430ea0.js} +2 -2
- package/dist/bundled/v3/{OrHint-9592499e.js → OrHint-5dce893e.js} +2 -2
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-8e657168.js → OrHint.vue_vue_type_script_lang-24edaf98.js} +1 -3
- package/dist/bundled/v3/{OrIcon-d878b768.js → OrIcon-854fddd5.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-a119a715.js → OrIcon.vue_vue_type_script_lang-7869de7b.js} +1 -3
- package/dist/bundled/v3/{OrIconButton-cd62526d.js → OrIconButton-7fcef28b.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-aefcf30d.js → OrIconButton.vue_vue_type_script_lang-012529f7.js} +4 -6
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-e69a240b.js} +35 -21
- package/dist/bundled/v3/{OrInlineInputBox-9d68ded1.js → OrInlineInputBox-091edd56.js} +1 -1
- package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-73750005.js → OrInlineInputBox.vue_vue_type_script_lang-9c142008.js} +1 -3
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-4187eb81.js} +35 -21
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-f2322cd2.js} +14 -13
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-16d5c945.js} +38 -29
- package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-72cfe1b2.js} +1 -1
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → OrInputBox.vue_vue_type_script_lang-9119bb6a.js} +1 -3
- package/dist/bundled/v3/{OrLabel-c6873e79.js → OrLabel-27202b49.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-96f94c4e.js → OrLabel.vue_vue_type_script_lang-95984563.js} +1 -3
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-9d3a32c7.js → OrLink.vue_vue_type_script_lang-620a87bb.js} +1 -3
- package/dist/bundled/v3/{OrLoader-c4bbef2f.js → OrLoader-dec060b5.js} +1 -1
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-5405040c.js → OrLoader.vue_vue_type_script_lang-3e0df5df.js} +1 -3
- package/dist/bundled/v3/{OrMenu-f26e8e55.js → OrMenu-96157df7.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-2446a69a.js → OrMenu.vue_vue_type_script_lang-f03f3ab6.js} +3 -5
- package/dist/bundled/v3/{OrMenuItem-4feaba6c.js → OrMenuItem-bdc6e234.js} +1 -1
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-0ffaef05.js → OrMenuItem.vue_vue_type_script_lang-43cdee58.js} +3 -5
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-55c864d1.js → OrModal.vue_vue_type_script_lang-851cfe0c.js} +5 -7
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c886ae51.js → OrNotification.vue_vue_type_script_lang-837a582c.js} +5 -7
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-cb3aad0c.js → OrOverlay.vue_vue_type_script_lang-7edd25f6.js} +1 -3
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c96d7cd7.js → OrPagination.vue_vue_type_script_lang-5616c34d.js} +10 -12
- package/dist/bundled/v3/{OrPopover-c462ce77.js → OrPopover-1a488f88.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-54c7b11c.js → OrPopover.vue_vue_type_script_lang-b1102c1a.js} +3 -5
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-a73c0acf.js → OrProgress.vue_vue_type_script_lang-a8618aa6.js} +2 -4
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2e666a56.js → OrRadio.vue_vue_type_script_lang-2d1e7bc1.js} +25 -12
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-f00d38e7.js} +5 -7
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-579406f5.js → OrSegmentedControl.vue_vue_type_script_lang-1659cd1f.js} +3 -6
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-2530c488.js} +33 -33
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js → OrSkeletonText.vue_vue_type_script_lang-480614cb.js} +5 -9
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-75115125.js → OrSortHeader.vue_vue_type_script_lang-f4671ba7.js} +3 -5
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-fa2b68de.js} +27 -14
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-134ad9d1.js → OrTab.vue_vue_type_script_lang-e45f86f5.js} +1 -3
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-61b79a5a.js → OrTabs.vue_vue_type_script_lang-2dd1d8e2.js} +9 -11
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-3e30f662.js → OrTag.vue_vue_type_script_lang-75b95fda.js} +4 -6
- package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-d9525d49.js → OrText.vue_vue_type_script_lang-3a758f8f.js} +1 -3
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-f1003128.js} +39 -22
- package/dist/bundled/v3/{OrToastContainer-34389303.js → OrToastContainer-f727558c.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-67cc86ed.js → OrTooltip.vue_vue_type_script_lang-4ee2d4ec.js} +3 -5
- package/dist/bundled/v3/components/index.js +58 -57
- package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +2 -3
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +30 -29
- package/dist/bundled/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-card-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +20 -4
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-confirm-v3/index.js +25 -24
- package/dist/bundled/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-error-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-fab-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-hint-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +8 -9
- package/dist/bundled/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-icon-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -8
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +17 -16
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -8
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +17 -16
- package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +45 -10
- package/dist/bundled/v3/components/or-input-v3/index.js +19 -18
- package/dist/bundled/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-label-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-link-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-loader-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-menu-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-modal-v3/index.js +10 -11
- package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-notification-v3/index.js +10 -11
- package/dist/bundled/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-overlay-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +15 -16
- package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-popover-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-progress-v3/index.js +2 -3
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +20 -4
- package/dist/bundled/v3/components/or-radio-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-search-v3/index.js +22 -21
- package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +1 -2
- package/dist/bundled/{v2/components/or-segmented-control-v3/components → v3/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-select-v3/index.js +26 -25
- package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/bundled/v3/components/or-skeleton-v3/index.js +2 -3
- package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +20 -4
- package/dist/bundled/v3/components/or-switch-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tab-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tabs-v3/index.js +12 -13
- package/dist/bundled/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tag-v3/index.js +10 -11
- package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-text-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -8
- package/dist/bundled/v3/components/or-textarea-v3/index.js +10 -9
- package/dist/bundled/v3/components/or-toast-v3/index.js +13 -14
- package/dist/bundled/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +5 -6
- package/dist/bundled/v3/hooks/index.d.ts +3 -1
- package/dist/bundled/v3/hooks/index.js +2 -1
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/bundled/v3/index.js +132 -124
- package/dist/bundled/v3/{types-f53434f2.js → types-d49b8692.js} +5 -5
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +21 -0
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +16 -0
- package/dist/esm/v2/{OrAvatar-3d155af3.js → OrAvatar-ef5fcc0c.js} +2 -5
- package/dist/esm/v2/{OrBottomSheet-16c2e610.js → OrBottomSheet-37200385.js} +2 -4
- package/dist/esm/v2/{OrButton-835d4f11.js → OrButton-1763652d.js} +2 -5
- package/dist/esm/v2/{OrCard-de799db0.js → OrCard-4c281eeb.js} +1 -4
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-ba82c82b.js} +9 -12
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-bb8a51c8.js} +34 -21
- package/dist/esm/v2/{OrConfirm-e2ab9b4c.js → OrConfirm-de4104ea.js} +3 -3
- package/dist/esm/v2/{OrError-d267ee9a.js → OrError-45bd2ac3.js} +1 -4
- package/dist/esm/v2/{OrErrorTag-782dd714.js → OrErrorTag-8adc056c.js} +2 -5
- package/dist/esm/v2/{OrExpansionPanel-a123024e.js → OrExpansionPanel-82b5f34f.js} +2 -5
- package/dist/esm/v2/{OrFab-26106618.js → OrFab-40c8f199.js} +1 -1
- package/dist/esm/v2/{OrHint-42dc9ebb.js → OrHint-64c6c780.js} +1 -4
- package/dist/esm/v2/{OrIcon-5e394c62.js → OrIcon-d438c4d9.js} +1 -4
- package/dist/esm/v2/{OrIconButton-b3779042.js → OrIconButton-ca6603b3.js} +4 -7
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-6023dc80.js} +43 -29
- package/dist/esm/v2/{OrInlineInputBox-fefd4fbd.js → OrInlineInputBox-5b768699.js} +1 -4
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-74318803.js} +39 -25
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-2b8063e4.js} +49 -40
- package/dist/esm/v2/{OrInputBox-4d5a318d.js → OrInputBox-607ef524.js} +1 -4
- package/dist/esm/v2/{OrLabel-2a9f1477.js → OrLabel-85cfc243.js} +1 -4
- package/dist/esm/v2/{OrLink-80742a17.js → OrLink-dc1b6c61.js} +1 -4
- package/dist/esm/v2/{OrLoader-f857d55b.js → OrLoader-9853ec7e.js} +1 -4
- package/dist/esm/v2/{OrMenu-df27d0ef.js → OrMenu-be703ebe.js} +2 -5
- package/dist/esm/v2/{OrMenuItem-c7f28480.js → OrMenuItem-800f4e27.js} +2 -5
- package/dist/esm/v2/{OrModal-a7719843.js → OrModal-280c51e2.js} +3 -6
- package/dist/esm/v2/{OrNotification-8a4830a3.js → OrNotification-cda58aae.js} +3 -6
- package/dist/esm/v2/{OrOverlay-18ba2dc6.js → OrOverlay-a019186f.js} +1 -3
- package/dist/esm/v2/{OrPagination-c0dbec6a.js → OrPagination-7737c886.js} +7 -10
- package/dist/esm/v2/{OrPopover-9bafbdb4.js → OrPopover-d5d4f62a.js} +2 -4
- package/dist/esm/v2/{OrProgress-c27c8946.js → OrProgress-9ef9e689.js} +2 -4
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-6c0b285c.js} +32 -19
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-c0ca36a3.js} +4 -6
- package/dist/esm/v2/{OrSegmentedControl-e8dce8f9.js → OrSegmentedControl-0d6555d3.js} +2 -6
- package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-3f8791a6.js} +12 -14
- package/dist/esm/v2/{OrSkeletonText-950be6a2.js → OrSkeletonText-a1dae7b0.js} +5 -10
- package/dist/esm/v2/{OrSortHeader-19bf94ca.js → OrSortHeader-811adaa9.js} +2 -5
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-4e54b920.js} +33 -20
- package/dist/esm/v2/{OrTab-702e7335.js → OrTab-f3fe7bd3.js} +1 -4
- package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-8d2f6b0d.js} +7 -9
- package/dist/esm/v2/{OrTag-5c404031.js → OrTag-fa16d1c7.js} +3 -6
- package/dist/esm/v2/{OrText-ba5a2b6c.js → OrText-fa5ce3c7.js} +1 -4
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-7f53bd68.js} +45 -27
- package/dist/esm/v2/{OrTooltip-513bee30.js → OrTooltip-f25b4195.js} +2 -4
- package/dist/esm/v2/components/index.js +47 -46
- package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-avatar-v3/index.js +2 -4
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -3
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-button-v3/index.js +2 -4
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +20 -19
- package/dist/esm/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-card-v3/index.js +1 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +20 -4
- package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +17 -16
- package/dist/esm/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-error-tag-v3/index.js +2 -4
- package/dist/esm/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-error-v3/index.js +1 -3
- package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +2 -4
- package/dist/esm/v2/components/or-fab-v3/index.js +2 -4
- package/dist/esm/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-hint-v3/index.js +1 -3
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-icon-v3/index.js +1 -3
- package/dist/esm/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-inline-input-box-v3/index.js +1 -3
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -8
- package/dist/esm/v2/components/or-inline-input-v3/index.js +12 -11
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -8
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +12 -11
- package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-input-box-v3/index.js +1 -3
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +45 -10
- package/dist/esm/v2/components/or-input-v3/index.js +13 -12
- package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-label-v3/index.js +1 -3
- package/dist/esm/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-link-v3/index.js +1 -3
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-loader-v3/index.js +1 -3
- package/dist/esm/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-menu-item-v3/index.js +2 -4
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +5 -6
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +8 -9
- package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +8 -9
- package/dist/esm/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-overlay-v3/index.js +1 -2
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +10 -11
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-popover-v3/index.js +3 -4
- package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-progress-v3/index.js +2 -3
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +20 -4
- package/dist/esm/v2/components/or-radio-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +15 -14
- package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +1 -3
- package/dist/{bundled/v3/components/or-segmented-control-v3/components → esm/v2/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +18 -17
- package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-skeleton-v3/index.js +2 -4
- package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-sort-header-v3/index.js +2 -4
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +20 -4
- package/dist/esm/v2/components/or-switch-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tab-v3/index.js +1 -3
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +8 -9
- package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tag-v3/index.js +8 -9
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-text-v3/index.js +1 -3
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -8
- package/dist/esm/v2/components/or-textarea-v3/index.js +7 -6
- package/dist/esm/v2/components/or-toast-v3/index.js +8 -9
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -5
- package/dist/esm/v2/hooks/index.d.ts +3 -1
- package/dist/esm/v2/hooks/index.js +2 -1
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v2/index.js +46 -45
- package/dist/esm/v2/{types-6c742e07.js → types-b645281b.js} +2 -2
- package/dist/esm/v2/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +16 -0
- package/dist/esm/v3/{OrAvatar-53a4429d.js → OrAvatar-739f1e66.js} +2 -5
- package/dist/esm/v3/{OrBottomSheet-62817aec.js → OrBottomSheet-13a416ef.js} +2 -4
- package/dist/esm/v3/{OrButton-0fa67a0d.js → OrButton-9b46f289.js} +2 -5
- package/dist/esm/v3/{OrCard-fd92f7c8.js → OrCard-1e98792f.js} +1 -4
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-94354105.js} +9 -12
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-4597be36.js} +38 -23
- package/dist/esm/v3/{OrConfirm-1bcd39b1.js → OrConfirm-34d05274.js} +3 -3
- package/dist/esm/v3/{OrError-ec8c709d.js → OrError-647809eb.js} +1 -4
- package/dist/esm/v3/{OrErrorTag-98252eef.js → OrErrorTag-4d1fa67e.js} +2 -5
- package/dist/esm/v3/{OrExpansionPanel-f8d7ff8d.js → OrExpansionPanel-2e5d5f57.js} +2 -5
- package/dist/esm/v3/{OrFab-c8ae6e01.js → OrFab-e7a75f63.js} +1 -1
- package/dist/esm/v3/{OrHint-74bb732d.js → OrHint-92ff8ebd.js} +1 -4
- package/dist/esm/v3/{OrIcon-b195169c.js → OrIcon-b2609f51.js} +1 -4
- package/dist/esm/v3/{OrIconButton-1a89fbf9.js → OrIconButton-179ef0c9.js} +4 -7
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-078e8c3b.js} +42 -27
- package/dist/esm/v3/{OrInlineInputBox-8049f95a.js → OrInlineInputBox-7236795b.js} +1 -4
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-2b2809df.js} +42 -27
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-3be6ca17.js} +46 -36
- package/dist/esm/v3/{OrInputBox-6d1b6059.js → OrInputBox-634c2408.js} +1 -4
- package/dist/esm/v3/{OrLabel-bdaec602.js → OrLabel-3b2fa2f6.js} +1 -4
- package/dist/esm/v3/{OrLink-338db3ca.js → OrLink-508906da.js} +1 -4
- package/dist/esm/v3/{OrLoader-b3cf4231.js → OrLoader-d1bb3d20.js} +1 -4
- package/dist/esm/v3/{OrMenu-840038cd.js → OrMenu-74f064d9.js} +2 -5
- package/dist/esm/v3/{OrMenuItem-9da279f6.js → OrMenuItem-e746a568.js} +2 -5
- package/dist/esm/v3/{OrModal-7878cc39.js → OrModal-3ff85197.js} +3 -6
- package/dist/esm/v3/{OrNotification-e1383681.js → OrNotification-87250a56.js} +3 -6
- package/dist/esm/v3/{OrOverlay-738a44d5.js → OrOverlay-afad3aa4.js} +1 -3
- package/dist/esm/v3/{OrPagination-a703307d.js → OrPagination-99ab43d2.js} +7 -10
- package/dist/esm/v3/{OrPopover-1075dd38.js → OrPopover-40217b49.js} +2 -4
- package/dist/esm/v3/{OrProgress-407002e0.js → OrProgress-39e4552b.js} +2 -4
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-a48e1034.js} +36 -21
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-012400c6.js} +4 -6
- package/dist/esm/v3/{OrSegmentedControl-171cad78.js → OrSegmentedControl-dca15e65.js} +3 -7
- package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-17e3f6fe.js} +12 -14
- package/dist/esm/v3/{OrSkeletonText-3965ff71.js → OrSkeletonText-480bdab1.js} +5 -10
- package/dist/esm/v3/{OrSortHeader-fe1a9cf8.js → OrSortHeader-b56c3bde.js} +2 -5
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-4efdaf31.js} +37 -23
- package/dist/esm/v3/{OrTab-c131cf60.js → OrTab-5fe0f1e4.js} +1 -4
- package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-256d5d56.js} +7 -9
- package/dist/esm/v3/{OrTag-5d54f37d.js → OrTag-6a8bb7fe.js} +3 -6
- package/dist/esm/v3/{OrText-ecb46923.js → OrText-0d118559.js} +1 -4
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-c940ad3e.js} +48 -29
- package/dist/esm/v3/{OrTooltip-50d27b4f.js → OrTooltip-50b4c0a7.js} +2 -4
- package/dist/esm/v3/components/index.js +47 -46
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-avatar-v3/index.js +2 -4
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -3
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-button-v3/index.js +2 -4
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +20 -19
- package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-card-v3/index.js +1 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +20 -4
- package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +17 -16
- package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-error-tag-v3/index.js +2 -4
- package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-error-v3/index.js +1 -3
- package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +2 -4
- package/dist/esm/v3/components/or-fab-v3/index.js +2 -4
- package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-hint-v3/index.js +1 -3
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-icon-v3/index.js +1 -3
- package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-inline-input-box-v3/index.js +1 -3
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +38 -8
- package/dist/esm/v3/components/or-inline-input-v3/index.js +12 -11
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +38 -8
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +12 -11
- package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -3
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +45 -10
- package/dist/esm/v3/components/or-input-v3/index.js +13 -12
- package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-label-v3/index.js +1 -3
- package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-link-v3/index.js +1 -3
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-loader-v3/index.js +1 -3
- package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-menu-item-v3/index.js +2 -4
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +5 -6
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +8 -9
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +8 -9
- package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-overlay-v3/index.js +1 -2
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +10 -11
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-popover-v3/index.js +3 -4
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-progress-v3/index.js +2 -3
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +20 -4
- package/dist/esm/v3/components/or-radio-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +15 -14
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -3
- package/dist/esm/{v2/components/or-segmented-control-v3/components → v3/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +18 -17
- package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/esm/v3/components/or-skeleton-v3/index.js +2 -4
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-sort-header-v3/index.js +2 -4
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +20 -4
- package/dist/esm/v3/components/or-switch-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tab-v3/index.js +1 -3
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +8 -9
- package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tag-v3/index.js +8 -9
- package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-text-v3/index.js +1 -3
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +47 -8
- package/dist/esm/v3/components/or-textarea-v3/index.js +7 -6
- package/dist/esm/v3/components/or-toast-v3/index.js +8 -9
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -5
- package/dist/esm/v3/hooks/index.d.ts +3 -1
- package/dist/esm/v3/hooks/index.js +2 -1
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +8 -0
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +2 -0
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +12 -0
- package/dist/esm/v3/index.js +46 -45
- package/dist/esm/v3/{types-2692e337.js → types-ede6036f.js} +2 -2
- package/dist/esm/v3/useIdAttribute-859439f0.js +21 -0
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +16 -0
- package/package.json +1 -1
- package/src/components/or-avatar-v3/OrAvatar.vue +3 -6
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +0 -4
- package/src/components/or-button-v3/OrButton.vue +0 -4
- package/src/components/or-card-collection-v3/OrCardCollection.vue +6 -14
- package/src/components/or-card-v3/OrCard.vue +0 -4
- package/src/components/or-checkbox-v3/OrCheckbox.vue +28 -13
- package/src/components/or-error-tag-v3/OrErrorTag.vue +0 -4
- package/src/components/or-error-v3/OrError.vue +0 -4
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +0 -4
- package/src/components/or-hint-v3/OrHint.vue +0 -4
- package/src/components/or-icon-button-v3/OrIconButton.vue +0 -4
- package/src/components/or-icon-v3/OrIcon.vue +0 -4
- package/src/components/or-inline-input-box-v3/OrInlineInputBox.vue +0 -4
- package/src/components/or-inline-input-v3/OrInlineInput.vue +32 -16
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +32 -16
- package/src/components/or-input-box-v3/OrInputBox.vue +0 -4
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
- package/src/components/or-input-v3/OrInput.vue +33 -23
- package/src/components/or-label-v3/OrLabel.vue +0 -4
- package/src/components/or-link-v3/OrLink.vue +0 -4
- package/src/components/or-loader-v3/OrLoader.vue +1 -5
- package/src/components/or-menu-item-v3/OrMenuItem.vue +0 -4
- package/src/components/or-menu-v3/OrMenu.vue +0 -4
- package/src/components/or-modal-v3/OrModal.vue +0 -4
- package/src/components/or-notification-v3/OrNotification.vue +0 -4
- package/src/components/or-overlay-v3/OrOverlay.vue +1 -4
- package/src/components/or-pagination-v3/OrPagination.vue +1 -5
- package/src/components/or-popover-v3/OrPopover.vue +1 -4
- package/src/components/or-progress-v3/OrProgress.vue +3 -17
- package/src/components/or-radio-v3/OrRadio.vue +27 -12
- package/src/components/or-search-v3/OrSearch.vue +1 -5
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +1 -5
- package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/OrSegmentedControlItem.vue +0 -4
- package/src/components/or-select-v3/OrSelect.vue +1 -4
- package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +1 -5
- package/src/components/or-skeleton-v3/OrSkeletonRect.vue +1 -5
- package/src/components/or-skeleton-v3/OrSkeletonText.vue +1 -6
- package/src/components/or-sort-header-v3/OrSortHeader.vue +0 -4
- package/src/components/or-switch-v3/OrSwitch.vue +27 -12
- package/src/components/or-tab-v3/OrTab.vue +0 -4
- package/src/components/or-tabs-v3/OrTabs.vue +1 -5
- package/src/components/or-tag-v3/OrTag.vue +0 -4
- package/src/components/or-tag-v3/styles.ts +0 -3
- package/src/components/or-text-v3/OrText.vue +0 -4
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +37 -17
- package/src/components/or-tooltip-v3/OrTooltip.vue +0 -4
- package/src/hooks/index.ts +3 -1
- package/src/hooks/useControlAttributes.ts +19 -0
- package/src/hooks/useIdAttribute.ts +9 -0
- package/src/hooks/useValidationAttributes.ts +25 -0
- package/dist/bundled/v2/hooks/useClassAttribute.d.ts +0 -3
- package/dist/bundled/v2/useClassAttribute-9bf33346.js +0 -33
- package/dist/bundled/v3/hooks/useClassAttribute.d.ts +0 -3
- package/dist/bundled/v3/useClassAttribute-00888f78.js +0 -9
- package/dist/esm/v2/hooks/useClassAttribute.d.ts +0 -3
- package/dist/esm/v2/useClassAttribute-47fdb016.js +0 -32
- package/dist/esm/v3/hooks/useClassAttribute.d.ts +0 -3
- package/dist/esm/v3/useClassAttribute-47fdb016.js +0 -32
- package/src/hooks/useClassAttribute.ts +0 -39
- /package/dist/bundled/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/esm/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/esm/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
- /package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrLabel, L as LabelVariant } from './OrLabel-
|
|
3
|
-
import { u as
|
|
4
|
-
import { defineComponent,
|
|
2
|
+
import { O as OrLabel, L as LabelVariant } from './OrLabel-54ac625d.js';
|
|
3
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
4
|
+
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
7
7
|
|
|
@@ -72,18 +72,19 @@ var script = defineComponent({
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
75
|
-
expose: ['root'],
|
|
75
|
+
expose: ['root', 'focus', 'blur'],
|
|
76
76
|
setup(props, context) {
|
|
77
|
-
var _a;
|
|
78
|
-
const currentInstance = getCurrentInstance();
|
|
79
77
|
// Refs
|
|
80
78
|
const root = ref();
|
|
79
|
+
const control = ref();
|
|
81
80
|
// Styles
|
|
82
|
-
const
|
|
83
|
-
const rootStyles = computed(() => ['or-radio', ...RadioRoot, classAttribute.value]);
|
|
81
|
+
const rootStyles = computed(() => ['or-radio', ...RadioRoot]);
|
|
84
82
|
const controlStyles = computed(() => [...RadioControl, ...RadioControlHandle]);
|
|
85
83
|
// State
|
|
86
|
-
const
|
|
84
|
+
const controlAttributes = reactive({
|
|
85
|
+
id: useIdAttribute(),
|
|
86
|
+
...useControlAttributes()
|
|
87
|
+
});
|
|
87
88
|
const proxyModelValue = computed({
|
|
88
89
|
get: () => {
|
|
89
90
|
var _a;
|
|
@@ -95,12 +96,24 @@ var script = defineComponent({
|
|
|
95
96
|
context.emit('update:modelValue', value);
|
|
96
97
|
}
|
|
97
98
|
});
|
|
99
|
+
// Methods
|
|
100
|
+
function focus() {
|
|
101
|
+
var _a;
|
|
102
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
103
|
+
}
|
|
104
|
+
function blur() {
|
|
105
|
+
var _a;
|
|
106
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
107
|
+
}
|
|
98
108
|
return {
|
|
99
109
|
root,
|
|
110
|
+
control,
|
|
100
111
|
rootStyles,
|
|
101
112
|
controlStyles,
|
|
102
|
-
|
|
103
|
-
proxyModelValue
|
|
113
|
+
controlAttributes,
|
|
114
|
+
proxyModelValue,
|
|
115
|
+
focus,
|
|
116
|
+
blur
|
|
104
117
|
};
|
|
105
118
|
}
|
|
106
119
|
});
|
|
@@ -113,19 +126,19 @@ var __vue_render__ = function () {
|
|
|
113
126
|
var _vm = this;
|
|
114
127
|
var _h = _vm.$createElement;
|
|
115
128
|
var _c = _vm._self._c || _h;
|
|
116
|
-
return _c('div', {
|
|
129
|
+
return _c('div', _vm._b({
|
|
117
130
|
ref: "root",
|
|
118
131
|
class: _vm.rootStyles
|
|
119
|
-
}, [_c('input', _vm._b({
|
|
132
|
+
}, 'div', _vm.$attrs, false), [_c('input', _vm._b({
|
|
120
133
|
directives: [{
|
|
121
134
|
name: "model",
|
|
122
135
|
rawName: "v-model",
|
|
123
136
|
value: _vm.proxyModelValue,
|
|
124
137
|
expression: "proxyModelValue"
|
|
125
138
|
}],
|
|
139
|
+
ref: "control",
|
|
126
140
|
class: _vm.controlStyles,
|
|
127
141
|
attrs: {
|
|
128
|
-
"id": _vm.controlId,
|
|
129
142
|
"type": "radio",
|
|
130
143
|
"required": _vm.required,
|
|
131
144
|
"disabled": _vm.disabled
|
|
@@ -145,9 +158,9 @@ var __vue_render__ = function () {
|
|
|
145
158
|
_vm.proxyModelValue = _vm.inputValue;
|
|
146
159
|
}
|
|
147
160
|
}
|
|
148
|
-
}, 'input', _vm
|
|
161
|
+
}, 'input', _vm.controlAttributes, false)), _vm._v(" "), _vm.$slots.default || _vm.label ? [_c('OrLabel', {
|
|
149
162
|
attrs: {
|
|
150
|
-
"control-id": _vm.
|
|
163
|
+
"control-id": _vm.controlAttributes.id,
|
|
151
164
|
"variant": _vm.labelVariant,
|
|
152
165
|
"required": _vm.required,
|
|
153
166
|
"disabled": _vm.disabled
|
|
@@ -168,14 +181,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
168
181
|
/* style */
|
|
169
182
|
const __vue_inject_styles__ = function (inject) {
|
|
170
183
|
if (!inject) return;
|
|
171
|
-
inject("data-v-
|
|
172
|
-
source: "input[data-v-
|
|
184
|
+
inject("data-v-a01aea2e_0", {
|
|
185
|
+
source: "input[data-v-a01aea2e]{appearance:none;line-height:0}",
|
|
173
186
|
map: undefined,
|
|
174
187
|
media: undefined
|
|
175
188
|
});
|
|
176
189
|
};
|
|
177
190
|
/* scoped */
|
|
178
|
-
const __vue_scope_id__ = "data-v-
|
|
191
|
+
const __vue_scope_id__ = "data-v-a01aea2e";
|
|
179
192
|
/* module identifier */
|
|
180
193
|
const __vue_module_identifier__ = undefined;
|
|
181
194
|
/* functional template */
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import './index-fa6eb4ca.js';
|
|
2
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import './index-fa6eb4ca.js';
|
|
3
|
+
import { O as OrInput } from './OrInput-9b7e3076.js';
|
|
5
4
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
|
-
import { a as InputBoxSize } from './OrInputBox-
|
|
5
|
+
import { a as InputBoxSize } from './OrInputBox-9441debf.js';
|
|
7
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
7
|
|
|
9
8
|
var script = defineComponent({
|
|
@@ -46,8 +45,7 @@ var script = defineComponent({
|
|
|
46
45
|
// Refs
|
|
47
46
|
const root = ref();
|
|
48
47
|
// Styles
|
|
49
|
-
const
|
|
50
|
-
const rootStyles = computed(() => ['or-search', classAttribute.value]);
|
|
48
|
+
const rootStyles = computed(() => ['or-search']);
|
|
51
49
|
// State
|
|
52
50
|
const localModelValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : '');
|
|
53
51
|
// Events
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
3
2
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
4
|
|
|
@@ -54,8 +53,7 @@ var script$1 = defineComponent({
|
|
|
54
53
|
// Refs
|
|
55
54
|
const root = ref();
|
|
56
55
|
// Styles
|
|
57
|
-
const
|
|
58
|
-
const rootStyles = computed(() => ['or-segmented-control-item', ...SegmentedControlItemRoot, ...SegmentedControlItemRootSizes[props.size], classAttribute.value]);
|
|
56
|
+
const rootStyles = computed(() => ['or-segmented-control-item', ...SegmentedControlItemRoot, ...SegmentedControlItemRootSizes[props.size]]);
|
|
59
57
|
// Handlers
|
|
60
58
|
function onClick(event) {
|
|
61
59
|
{
|
|
@@ -168,8 +166,7 @@ var script = defineComponent({
|
|
|
168
166
|
// Refs
|
|
169
167
|
const root = ref();
|
|
170
168
|
// Styles
|
|
171
|
-
const
|
|
172
|
-
const rootStyles = computed(() => ['or-segmented-control', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size], classAttribute.value]);
|
|
169
|
+
const rootStyles = computed(() => ['or-segmented-control', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size]]);
|
|
173
170
|
// State
|
|
174
171
|
const proxyModelValue = computed({
|
|
175
172
|
get: () => {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrCheckbox } from './OrCheckbox-
|
|
3
|
-
import { O as OrError } from './OrError-
|
|
4
|
-
import { O as OrExpansionPanel } from './OrExpansionPanel-
|
|
5
|
-
import { O as OrHint } from './OrHint-
|
|
6
|
-
import { O as OrIcon } from './OrIcon-
|
|
7
|
-
import { O as OrInput } from './OrInput-
|
|
8
|
-
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-
|
|
9
|
-
import { O as OrLabel } from './OrLabel-
|
|
10
|
-
import { O as OrMenuItem } from './OrMenuItem-
|
|
11
|
-
import { O as OrPopover } from './OrPopover-
|
|
12
|
-
import { O as OrTag } from './OrTag-
|
|
2
|
+
import { O as OrCheckbox } from './OrCheckbox-9339bec8.js';
|
|
3
|
+
import { O as OrError } from './OrError-0c77e637.js';
|
|
4
|
+
import { O as OrExpansionPanel } from './OrExpansionPanel-7f88e33a.js';
|
|
5
|
+
import { O as OrHint } from './OrHint-405bfc3d.js';
|
|
6
|
+
import { O as OrIcon } from './OrIcon-97245ebd.js';
|
|
7
|
+
import { O as OrInput } from './OrInput-9b7e3076.js';
|
|
8
|
+
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-9441debf.js';
|
|
9
|
+
import { O as OrLabel } from './OrLabel-54ac625d.js';
|
|
10
|
+
import { O as OrMenuItem } from './OrMenuItem-d4b0f086.js';
|
|
11
|
+
import { O as OrPopover } from './OrPopover-4e8acb7b.js';
|
|
12
|
+
import { O as OrTag } from './OrTag-a2b46275.js';
|
|
13
13
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.js';
|
|
14
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
15
14
|
import { u as useOverflow } from './useOverflow-bae6342f.js';
|
|
16
15
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
17
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -169,8 +168,7 @@ var script = defineComponent({
|
|
|
169
168
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
170
169
|
});
|
|
171
170
|
// Styles
|
|
172
|
-
const
|
|
173
|
-
const rootStyles = computed(() => ['or-select', ...SelectRoot, classAttribute.value]);
|
|
171
|
+
const rootStyles = computed(() => ['or-select', ...SelectRoot]);
|
|
174
172
|
const controlStyles = computed(() => [...SelectControl]);
|
|
175
173
|
const placeholderStyles = computed(() => [...SelectPlaceholder]);
|
|
176
174
|
const dropdownStyles = computed(() => [...SelectDropdown]);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import './index-fa6eb4ca.js';
|
|
2
1
|
import _ from 'lodash';
|
|
2
|
+
import './index-fa6eb4ca.js';
|
|
3
3
|
import { p as pxToRem } from './px-to-rem-0b26b83e.js';
|
|
4
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
5
4
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
6
|
|
|
@@ -58,8 +57,7 @@ var script$2 = defineComponent({
|
|
|
58
57
|
// Refs
|
|
59
58
|
const root = ref();
|
|
60
59
|
// Styles
|
|
61
|
-
const
|
|
62
|
-
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-circle', ...SkeletonRoot, ...SkeletonCircle, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
|
|
60
|
+
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-circle', ...SkeletonRoot, ...SkeletonCircle, ...(props.animated ? SkeletonAnimated : [])]);
|
|
63
61
|
const rootStyle = computed(() => {
|
|
64
62
|
var _a;
|
|
65
63
|
const size = (_a = props.size) !== null && _a !== void 0 ? _a : 40; // 40px - medium OrAvatar
|
|
@@ -140,8 +138,7 @@ var script$1 = defineComponent({
|
|
|
140
138
|
// Refs
|
|
141
139
|
const root = ref();
|
|
142
140
|
// Styles
|
|
143
|
-
const
|
|
144
|
-
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-rect', ...SkeletonRoot, ...SkeletonRect, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
|
|
141
|
+
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-rect', ...SkeletonRoot, ...SkeletonRect, ...(props.animated ? SkeletonAnimated : [])]);
|
|
145
142
|
const rootStyle = computed(() => {
|
|
146
143
|
var _a, _b;
|
|
147
144
|
const width = (_a = props.width) !== null && _a !== void 0 ? _a : '100%';
|
|
@@ -230,8 +227,7 @@ var script = defineComponent({
|
|
|
230
227
|
// Refs
|
|
231
228
|
const root = ref();
|
|
232
229
|
// Styles
|
|
233
|
-
const
|
|
234
|
-
const containerStyles = computed(() => ['or-skeleton-text-root', ...SkeletonTextContainerRoot, classAttribute.value]);
|
|
230
|
+
const containerStyles = computed(() => ['or-skeleton-text-root', ...SkeletonTextContainerRoot]);
|
|
235
231
|
const containerStyle = computed(() => {
|
|
236
232
|
var _a;
|
|
237
233
|
const width = (_a = props.width) !== null && _a !== void 0 ? _a : '100%';
|
|
@@ -239,7 +235,7 @@ var script = defineComponent({
|
|
|
239
235
|
'width': _.isNumber(width) ? pxToRem(width) : width
|
|
240
236
|
};
|
|
241
237
|
});
|
|
242
|
-
const rowStyles = computed(() => ['or-skeleton', 'or-skeleton-text', ...SkeletonRoot, ...SkeletonText, ...(props.animated ? SkeletonAnimated : [])
|
|
238
|
+
const rowStyles = computed(() => ['or-skeleton', 'or-skeleton-text', ...SkeletonRoot, ...SkeletonText, ...(props.animated ? SkeletonAnimated : [])]);
|
|
243
239
|
const rowStyle = computed(() => {
|
|
244
240
|
var _a, _b;
|
|
245
241
|
const height = (_a = props.fontSize) !== null && _a !== void 0 ? _a : 16;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrIcon } from './OrIcon-
|
|
3
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
2
|
+
import { O as OrIcon } from './OrIcon-97245ebd.js';
|
|
4
3
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
5
|
|
|
@@ -44,8 +43,7 @@ var script = defineComponent({
|
|
|
44
43
|
// Refs
|
|
45
44
|
const root = ref();
|
|
46
45
|
// Styles
|
|
47
|
-
const
|
|
48
|
-
const rootStyles = computed(() => ['or-sort-header', ...SortHeaderRoot, classAttribute.value]);
|
|
46
|
+
const rootStyles = computed(() => ['or-sort-header', ...SortHeaderRoot]);
|
|
49
47
|
// State
|
|
50
48
|
const proxyModelValue = computed({
|
|
51
49
|
get: () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrLabel, L as LabelVariant } from './OrLabel-
|
|
3
|
-
import { O as OrLoader } from './OrLoader-
|
|
4
|
-
import { u as
|
|
5
|
-
import { defineComponent,
|
|
2
|
+
import { O as OrLabel, L as LabelVariant } from './OrLabel-54ac625d.js';
|
|
3
|
+
import { O as OrLoader } from './OrLoader-7901107b.js';
|
|
4
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
5
|
+
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
8
8
|
|
|
@@ -98,19 +98,20 @@ var script = defineComponent({
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
101
|
-
expose: ['root'],
|
|
101
|
+
expose: ['root', 'focus', 'blur'],
|
|
102
102
|
setup(props, context) {
|
|
103
|
-
var _a;
|
|
104
|
-
const currentInstance = getCurrentInstance();
|
|
105
103
|
// Refs
|
|
106
104
|
const root = ref();
|
|
105
|
+
const control = ref();
|
|
107
106
|
// Styles
|
|
108
|
-
const
|
|
109
|
-
const rootStyles = computed(() => ['or-switch', ...SwitchRoot, classAttribute.value]);
|
|
107
|
+
const rootStyles = computed(() => ['or-switch', ...SwitchRoot]);
|
|
110
108
|
const controlStyles = computed(() => [...SwitchControl, ...SwitchControlHandle]);
|
|
111
109
|
const loaderStyles = computed(() => [...SwitchLoader, ...SwitchLoaderHandle]);
|
|
112
110
|
// State
|
|
113
|
-
const
|
|
111
|
+
const controlAttributes = reactive({
|
|
112
|
+
id: useIdAttribute(),
|
|
113
|
+
...useControlAttributes()
|
|
114
|
+
});
|
|
114
115
|
const proxyModelValue = computed({
|
|
115
116
|
get: () => {
|
|
116
117
|
var _a;
|
|
@@ -122,13 +123,25 @@ var script = defineComponent({
|
|
|
122
123
|
context.emit('update:modelValue', value);
|
|
123
124
|
}
|
|
124
125
|
});
|
|
126
|
+
// Methods
|
|
127
|
+
function focus() {
|
|
128
|
+
var _a;
|
|
129
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
130
|
+
}
|
|
131
|
+
function blur() {
|
|
132
|
+
var _a;
|
|
133
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
134
|
+
}
|
|
125
135
|
return {
|
|
126
136
|
root,
|
|
137
|
+
control,
|
|
127
138
|
rootStyles,
|
|
128
139
|
controlStyles,
|
|
129
140
|
loaderStyles,
|
|
130
|
-
|
|
131
|
-
proxyModelValue
|
|
141
|
+
controlAttributes,
|
|
142
|
+
proxyModelValue,
|
|
143
|
+
focus,
|
|
144
|
+
blur
|
|
132
145
|
};
|
|
133
146
|
}
|
|
134
147
|
});
|
|
@@ -141,19 +154,19 @@ var __vue_render__ = function () {
|
|
|
141
154
|
var _vm = this;
|
|
142
155
|
var _h = _vm.$createElement;
|
|
143
156
|
var _c = _vm._self._c || _h;
|
|
144
|
-
return _c('div', {
|
|
157
|
+
return _c('div', _vm._b({
|
|
145
158
|
ref: "root",
|
|
146
159
|
class: _vm.rootStyles
|
|
147
|
-
}, [!_vm.loading ? [_c('input', _vm._b({
|
|
160
|
+
}, 'div', _vm.$attrs, false), [!_vm.loading ? [_c('input', _vm._b({
|
|
148
161
|
directives: [{
|
|
149
162
|
name: "model",
|
|
150
163
|
rawName: "v-model",
|
|
151
164
|
value: _vm.proxyModelValue,
|
|
152
165
|
expression: "proxyModelValue"
|
|
153
166
|
}],
|
|
167
|
+
ref: "control",
|
|
154
168
|
class: _vm.controlStyles,
|
|
155
169
|
attrs: {
|
|
156
|
-
"id": _vm.controlId,
|
|
157
170
|
"type": "checkbox",
|
|
158
171
|
"required": _vm.required,
|
|
159
172
|
"disabled": _vm.disabled
|
|
@@ -186,7 +199,7 @@ var __vue_render__ = function () {
|
|
|
186
199
|
}
|
|
187
200
|
}
|
|
188
201
|
}
|
|
189
|
-
}, 'input', _vm
|
|
202
|
+
}, 'input', _vm.controlAttributes, false))] : [_c('div', {
|
|
190
203
|
class: _vm.loaderStyles,
|
|
191
204
|
attrs: {
|
|
192
205
|
"disabled": _vm.disabled ? '' : null
|
|
@@ -199,7 +212,7 @@ var __vue_render__ = function () {
|
|
|
199
212
|
}
|
|
200
213
|
})], 1)], _vm._v(" "), _vm.$slots.default || _vm.label ? [_c('OrLabel', {
|
|
201
214
|
attrs: {
|
|
202
|
-
"control-id": _vm.
|
|
215
|
+
"control-id": _vm.controlAttributes.id,
|
|
203
216
|
"variant": _vm.labelVariant,
|
|
204
217
|
"required": _vm.required,
|
|
205
218
|
"disabled": _vm.disabled
|
|
@@ -220,14 +233,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
220
233
|
/* style */
|
|
221
234
|
const __vue_inject_styles__ = function (inject) {
|
|
222
235
|
if (!inject) return;
|
|
223
|
-
inject("data-v-
|
|
224
|
-
source: "input[data-v-
|
|
236
|
+
inject("data-v-e333385a_0", {
|
|
237
|
+
source: "input[data-v-e333385a]{appearance:none;line-height:0}",
|
|
225
238
|
map: undefined,
|
|
226
239
|
media: undefined
|
|
227
240
|
});
|
|
228
241
|
};
|
|
229
242
|
/* scoped */
|
|
230
|
-
const __vue_scope_id__ = "data-v-
|
|
243
|
+
const __vue_scope_id__ = "data-v-e333385a";
|
|
231
244
|
/* module identifier */
|
|
232
245
|
const __vue_module_identifier__ = undefined;
|
|
233
246
|
/* functional template */
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
3
2
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
4
|
|
|
@@ -36,8 +35,7 @@ var script = defineComponent({
|
|
|
36
35
|
// Refs
|
|
37
36
|
const root = ref();
|
|
38
37
|
// Styles
|
|
39
|
-
const
|
|
40
|
-
const rootStyles = computed(() => ['or-tab', ...TabRoot, classAttribute.value]);
|
|
38
|
+
const rootStyles = computed(() => ['or-tab', ...TabRoot]);
|
|
41
39
|
return {
|
|
42
40
|
root,
|
|
43
41
|
rootStyles
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { useResizeObserver } from '@vueuse/core';
|
|
2
2
|
import './index-fa6eb4ca.js';
|
|
3
|
-
import { O as OrIcon } from './OrIcon-
|
|
4
|
-
import { O as OrMenu } from './OrMenu-
|
|
5
|
-
import { O as OrMenuItem } from './OrMenuItem-
|
|
6
|
-
import { O as OrTab } from './OrTab-
|
|
7
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
3
|
+
import { O as OrIcon } from './OrIcon-97245ebd.js';
|
|
4
|
+
import { O as OrMenu } from './OrMenu-ebe5a9b6.js';
|
|
5
|
+
import { O as OrMenuItem } from './OrMenuItem-d4b0f086.js';
|
|
6
|
+
import { O as OrTab } from './OrTab-598116b9.js';
|
|
8
7
|
import { defineComponent, ref, computed, reactive, watch, nextTick, onMounted } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
9
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
9
|
|
|
@@ -75,8 +74,7 @@ var script = defineComponent({
|
|
|
75
74
|
return (_a = overflowMenu.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
76
75
|
});
|
|
77
76
|
// Styles
|
|
78
|
-
const
|
|
79
|
-
const rootStyles = computed(() => ['or-tabs', ...TabsRoot, ...TabsRootVariants[props.variant], classAttribute.value]);
|
|
77
|
+
const rootStyles = computed(() => ['or-tabs', ...TabsRoot, ...TabsRootVariants[props.variant]]);
|
|
80
78
|
// State
|
|
81
79
|
const tabs = reactive({
|
|
82
80
|
normal: [],
|
|
@@ -96,7 +94,7 @@ var script = defineComponent({
|
|
|
96
94
|
const activeTab = computed(() => props.items.find(({
|
|
97
95
|
value
|
|
98
96
|
}) => value === proxyModelValue.value));
|
|
99
|
-
//
|
|
97
|
+
// Methods
|
|
100
98
|
function rearrangeTabs(items, activeTab, rootElement) {
|
|
101
99
|
const {
|
|
102
100
|
children
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrIconButton } from './OrIconButton-
|
|
3
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
2
|
+
import { O as OrIconButton } from './OrIconButton-61f706b3.js';
|
|
4
3
|
import { defineComponent, ref, computed, watchPostEffect, unref } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
5
|
|
|
@@ -43,7 +42,7 @@ const TagRootVariants = {
|
|
|
43
42
|
const TagRootColors = {
|
|
44
43
|
'default': [
|
|
45
44
|
// Theme
|
|
46
|
-
'theme-preset-2-primary', 'dark:theme-preset-2-primary-dark'
|
|
45
|
+
'theme-preset-2-primary', 'dark:theme-preset-2-primary-dark'],
|
|
47
46
|
'danger': [
|
|
48
47
|
// Theme
|
|
49
48
|
'theme-preset-2-error', 'dark:theme-preset-2-error-dark']
|
|
@@ -75,8 +74,7 @@ var script = defineComponent({
|
|
|
75
74
|
// Refs
|
|
76
75
|
const root = ref();
|
|
77
76
|
// Styles
|
|
78
|
-
const
|
|
79
|
-
const rootStyles = computed(() => ['or-tag', ...TagRoot, ...TagRootVariants[props.variant], ...(!custom.value ? TagRootColors[props.color] : []), classAttribute.value]);
|
|
77
|
+
const rootStyles = computed(() => ['or-tag', ...TagRoot, ...TagRootVariants[props.variant], ...(!custom.value ? TagRootColors[props.color] : [])]);
|
|
80
78
|
// State
|
|
81
79
|
const custom = computed(() => {
|
|
82
80
|
return !['default', 'danger'].includes(props.color);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
3
2
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
4
|
|
|
@@ -37,8 +36,7 @@ var script = defineComponent({
|
|
|
37
36
|
// Refs
|
|
38
37
|
const root = ref();
|
|
39
38
|
// Styles
|
|
40
|
-
const
|
|
41
|
-
const rootStyles = computed(() => ['or-text', ...TextRoot, classAttribute.value]);
|
|
39
|
+
const rootStyles = computed(() => ['or-text', ...TextRoot]);
|
|
42
40
|
const mainTextStyles = computed(() => [...MainText]);
|
|
43
41
|
const restTextStyles = computed(() => [...RestText]);
|
|
44
42
|
// State
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrError } from './OrError-
|
|
3
|
-
import { O as OrHint } from './OrHint-
|
|
4
|
-
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-
|
|
5
|
-
import { O as OrLabel } from './OrLabel-
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
2
|
+
import { O as OrError } from './OrError-0c77e637.js';
|
|
3
|
+
import { O as OrHint } from './OrHint-405bfc3d.js';
|
|
4
|
+
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-9441debf.js';
|
|
5
|
+
import { O as OrLabel } from './OrLabel-54ac625d.js';
|
|
6
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
|
|
7
|
+
import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
|
|
8
|
+
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
10
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
10
11
|
|
|
@@ -63,24 +64,30 @@ var script = defineComponent({
|
|
|
63
64
|
type: Boolean,
|
|
64
65
|
default: false
|
|
65
66
|
},
|
|
67
|
+
readonly: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
70
|
+
},
|
|
66
71
|
disabled: {
|
|
67
72
|
type: Boolean,
|
|
68
73
|
default: false
|
|
69
74
|
}
|
|
70
75
|
},
|
|
71
76
|
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
|
|
72
|
-
expose: ['root'],
|
|
77
|
+
expose: ['root', 'focus', 'blur'],
|
|
73
78
|
setup(props, context) {
|
|
74
|
-
var _a;
|
|
75
|
-
const currentInstance = getCurrentInstance();
|
|
76
79
|
// Refs
|
|
77
80
|
const root = ref();
|
|
81
|
+
const control = ref();
|
|
78
82
|
// Styles
|
|
79
|
-
const
|
|
80
|
-
const rootStyles = computed(() => ['or-textarea', ...TextareaRoot, classAttribute.value]);
|
|
83
|
+
const rootStyles = computed(() => ['or-textarea', ...TextareaRoot]);
|
|
81
84
|
const controlStyles = computed(() => [...TextareaControl]);
|
|
82
85
|
// State
|
|
83
|
-
const
|
|
86
|
+
const controlAttributes = reactive({
|
|
87
|
+
id: useIdAttribute(),
|
|
88
|
+
...useControlAttributes(),
|
|
89
|
+
...useValidationAttributes()
|
|
90
|
+
});
|
|
84
91
|
const proxyModelValue = computed({
|
|
85
92
|
get: () => {
|
|
86
93
|
var _a;
|
|
@@ -92,23 +99,33 @@ var script = defineComponent({
|
|
|
92
99
|
context.emit('update:modelValue', value);
|
|
93
100
|
}
|
|
94
101
|
});
|
|
95
|
-
const invalid = computed(() => !!props.error);
|
|
96
|
-
const readonly = computed(() => context.attrs.readonly);
|
|
97
102
|
const currentLength = computed(() => {
|
|
98
103
|
var _a, _b;
|
|
99
104
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
100
105
|
});
|
|
101
|
-
const maxLength = computed(() =>
|
|
106
|
+
const maxLength = computed(() => controlAttributes.maxlength);
|
|
107
|
+
const invalid = computed(() => !!props.error);
|
|
108
|
+
// Methods
|
|
109
|
+
function focus() {
|
|
110
|
+
var _a;
|
|
111
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
112
|
+
}
|
|
113
|
+
function blur() {
|
|
114
|
+
var _a;
|
|
115
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
116
|
+
}
|
|
102
117
|
return {
|
|
103
118
|
root,
|
|
119
|
+
control,
|
|
104
120
|
rootStyles,
|
|
105
121
|
controlStyles,
|
|
106
|
-
|
|
122
|
+
controlAttributes,
|
|
107
123
|
proxyModelValue,
|
|
108
|
-
invalid,
|
|
109
|
-
readonly,
|
|
110
124
|
currentLength,
|
|
111
|
-
maxLength
|
|
125
|
+
maxLength,
|
|
126
|
+
invalid,
|
|
127
|
+
focus,
|
|
128
|
+
blur
|
|
112
129
|
};
|
|
113
130
|
}
|
|
114
131
|
});
|
|
@@ -121,12 +138,12 @@ var __vue_render__ = function () {
|
|
|
121
138
|
var _vm = this;
|
|
122
139
|
var _h = _vm.$createElement;
|
|
123
140
|
var _c = _vm._self._c || _h;
|
|
124
|
-
return _c('div', {
|
|
141
|
+
return _c('div', _vm._b({
|
|
125
142
|
ref: "root",
|
|
126
143
|
class: _vm.rootStyles
|
|
127
|
-
}, [_vm.label ? [_c('OrLabel', {
|
|
144
|
+
}, 'div', _vm.$attrs, false), [_vm.label ? [_c('OrLabel', {
|
|
128
145
|
attrs: {
|
|
129
|
-
"control-id": _vm.
|
|
146
|
+
"control-id": _vm.controlAttributes.id,
|
|
130
147
|
"variant": 'input',
|
|
131
148
|
"required": _vm.required,
|
|
132
149
|
"disabled": _vm.disabled
|
|
@@ -152,11 +169,12 @@ var __vue_render__ = function () {
|
|
|
152
169
|
value: _vm.proxyModelValue,
|
|
153
170
|
expression: "proxyModelValue"
|
|
154
171
|
}],
|
|
172
|
+
ref: "control",
|
|
155
173
|
class: _vm.controlStyles,
|
|
156
174
|
attrs: {
|
|
157
|
-
"id": _vm.controlId,
|
|
158
175
|
"placeholder": _vm.placeholder,
|
|
159
176
|
"required": _vm.required,
|
|
177
|
+
"readonly": _vm.readonly,
|
|
160
178
|
"disabled": _vm.disabled
|
|
161
179
|
},
|
|
162
180
|
domProps: {
|
|
@@ -182,7 +200,7 @@ var __vue_render__ = function () {
|
|
|
182
200
|
_vm.proxyModelValue = $event.target.value;
|
|
183
201
|
}
|
|
184
202
|
}
|
|
185
|
-
}, 'textarea', _vm
|
|
203
|
+
}, 'textarea', _vm.controlAttributes, false))]), _vm._v(" "), !_vm.invalid ? [_vm.hint || _vm.maxLength ? [_c('OrHint', {
|
|
186
204
|
attrs: {
|
|
187
205
|
"disabled": _vm.disabled
|
|
188
206
|
},
|
|
@@ -211,14 +229,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
211
229
|
/* style */
|
|
212
230
|
const __vue_inject_styles__ = function (inject) {
|
|
213
231
|
if (!inject) return;
|
|
214
|
-
inject("data-v-
|
|
215
|
-
source: "textarea[data-v-
|
|
232
|
+
inject("data-v-47e1a938_0", {
|
|
233
|
+
source: "textarea[data-v-47e1a938]{min-width:0;background:0 0;outline:0}",
|
|
216
234
|
map: undefined,
|
|
217
235
|
media: undefined
|
|
218
236
|
});
|
|
219
237
|
};
|
|
220
238
|
/* scoped */
|
|
221
|
-
const __vue_scope_id__ = "data-v-
|
|
239
|
+
const __vue_scope_id__ = "data-v-47e1a938";
|
|
222
240
|
/* module identifier */
|
|
223
241
|
const __vue_module_identifier__ = undefined;
|
|
224
242
|
/* functional template */
|