@onereach/ui-components 2.70.2-beta.2218.0 → 2.70.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrAvatar-586e417b.js → OrAvatar-ae61bfb9.js} +7 -4
- package/dist/bundled/v2/{OrBottomSheet-ddba20c1.js → OrBottomSheet-1cd1ab4c.js} +4 -2
- package/dist/bundled/v2/{OrButton-d45772c1.js → OrButton-a846fa7e.js} +7 -4
- package/dist/bundled/v2/{OrCard-45d5869b.js → OrCard-29116e1f.js} +6 -3
- package/dist/bundled/v2/{OrCardCollection-9d8e3fbc.js → OrCardCollection-0141a358.js} +12 -9
- package/dist/bundled/v2/{OrCheckbox-a2ceda44.js → OrCheckbox-dbef9f9a.js} +20 -32
- package/dist/bundled/v2/{OrConfirm-d6e533f2.js → OrConfirm-23c3ce56.js} +4 -5
- package/dist/bundled/v2/{OrError-52f668a4.js → OrError-aad17598.js} +6 -3
- package/dist/bundled/v2/{OrErrorTag-97a9112b.js → OrErrorTag-d0c5bcf4.js} +7 -4
- package/dist/bundled/v2/{OrExpansionPanel-96b8f568.js → OrExpansionPanel-d9a260e2.js} +7 -4
- package/dist/bundled/v2/{OrFab-ed69dee1.js → OrFab-7cc75893.js} +4 -3
- package/dist/bundled/v2/{OrHint-fde53334.js → OrHint-f38a1940.js} +6 -3
- package/dist/bundled/v2/{OrIcon-458206aa.js → OrIcon-8625385f.js} +6 -3
- package/dist/bundled/v2/{OrIconButton-4bdd1566.js → OrIconButton-a2ba92df.js} +5 -3
- package/dist/bundled/v2/{OrInlineInput-47fca182.js → OrInlineInput-87589946.js} +28 -41
- package/dist/bundled/v2/{OrInlineInputBox-7a8e645b.js → OrInlineInputBox-f457210f.js} +6 -3
- package/dist/bundled/v2/{OrInlineTextarea-d9b9e485.js → OrInlineTextarea-21b0e6fc.js} +24 -37
- package/dist/bundled/v2/{OrInput-9288b667.js → OrInput-82ccfe00.js} +39 -47
- package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-79ec54ad.js} +6 -3
- package/dist/bundled/v2/{OrLabel-aff09c39.js → OrLabel-172c4b89.js} +6 -3
- package/dist/bundled/v2/{OrLink-0d952e87.js → OrLink-e7b57307.js} +6 -3
- package/dist/bundled/v2/{OrLoader-864ef92a.js → OrLoader-6a1f937b.js} +6 -3
- package/dist/bundled/v2/{OrMenu-52da43bc.js → OrMenu-fa47c888.js} +7 -4
- package/dist/bundled/v2/{OrMenuItem-e2693a5f.js → OrMenuItem-26420908.js} +7 -4
- package/dist/bundled/v2/{OrModal-51b9f3e7.js → OrModal-af6677fd.js} +5 -3
- package/dist/bundled/v2/{OrNotification-7f761f25.js → OrNotification-3250f58b.js} +8 -5
- package/dist/bundled/v2/{OrOverlay-efa7992e.js → OrOverlay-3c89d622.js} +3 -1
- package/dist/bundled/v2/{OrPagination-44e713a2.js → OrPagination-379c10b8.js} +11 -8
- package/dist/bundled/v2/{OrPopover-4e8acb7b.js → OrPopover-5dc240f1.js} +4 -2
- package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-cc397a38.js} +7 -4
- package/dist/bundled/v2/{OrRadio-f140c19a.js → OrRadio-cd39b20b.js} +18 -30
- package/dist/bundled/v2/{OrSearch-ba756661.js → OrSearch-53470b0e.js} +9 -6
- package/dist/bundled/v2/{OrSegmentedControl-b9d0b95a.js → OrSegmentedControl-21cc914e.js} +11 -6
- package/dist/bundled/v2/{OrSelect-c91fc506.js → OrSelect-02fb39f0.js} +17 -14
- package/dist/bundled/v2/{OrSkeletonText-9a2f39dc.js → OrSkeletonText-516993b4.js} +18 -11
- package/dist/bundled/v2/{OrSortHeader-180d77ee.js → OrSortHeader-9932d28f.js} +7 -4
- package/dist/bundled/v2/{OrSwitch-37a3ecf9.js → OrSwitch-237a2081.js} +19 -31
- package/dist/bundled/v2/{OrTab-8c5acf8a.js → OrTab-dd949240.js} +6 -3
- package/dist/bundled/v2/{OrTabs-92360920.js → OrTabs-42f7c52c.js} +8 -6
- package/dist/bundled/v2/{OrTag-4a098afa.js → OrTag-30fecee5.js} +8 -5
- package/dist/bundled/v2/{OrText-a665b991.js → OrText-eac4b9f5.js} +6 -3
- package/dist/bundled/v2/{OrTextarea-7822c4b6.js → OrTextarea-5593fbe9.js} +26 -43
- package/dist/bundled/v2/{OrTooltip-b1f38647.js → OrTooltip-fbfa05fd.js} +7 -4
- package/dist/bundled/v2/components/index.js +45 -46
- package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-avatar-v3/index.js +3 -2
- 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 +3 -2
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-button-v3/index.js +3 -2
- 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 +18 -19
- package/dist/bundled/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-card-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +4 -20
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-confirm-v3/index.js +17 -18
- 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 +3 -2
- package/dist/bundled/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-error-v3/index.js +2 -1
- 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 +3 -2
- package/dist/bundled/v2/components/or-fab-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-hint-v3/index.js +2 -1
- 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 +7 -6
- package/dist/bundled/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-icon-v3/index.js +2 -1
- 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 +2 -1
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +8 -38
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +11 -12
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +8 -38
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +11 -12
- 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 +2 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +10 -45
- package/dist/bundled/v2/components/or-input-v3/index.js +12 -13
- package/dist/bundled/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-label-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-link-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-loader-v3/index.js +2 -1
- 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 +3 -2
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-menu-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-notification-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-overlay-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +10 -9
- package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-popover-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-progress-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +4 -20
- 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 +14 -15
- package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/bundled/{v3/components/or-segmented-control-v3/partials → v2/components/or-segmented-control-v3/components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +17 -18
- 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 +3 -2
- 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 +3 -2
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +4 -20
- 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 +2 -1
- package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tabs-v3/index.js +9 -8
- package/dist/bundled/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tag-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-text-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +8 -47
- package/dist/bundled/v2/components/or-textarea-v3/index.js +6 -7
- package/dist/bundled/v2/components/or-toast-v3/index.js +9 -8
- package/dist/bundled/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +5 -4
- package/dist/bundled/v2/hooks/index.d.ts +1 -3
- package/dist/bundled/v2/hooks/index.js +1 -2
- package/dist/bundled/v2/hooks/useClassAttribute.d.ts +3 -0
- package/dist/bundled/v2/index.js +45 -46
- package/dist/bundled/v2/{types-79e5c18d.js → types-8fe4e345.js} +2 -2
- package/dist/bundled/v2/useClassAttribute-9bf33346.js +33 -0
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-582e74ae.js → OrAvatar.vue_vue_type_script_lang-0426862b.js} +6 -3
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js → OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js} +4 -2
- package/dist/bundled/v3/{OrButton-a1448bfa.js → OrButton-2b27c1fd.js} +8 -7
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3b1e442b.js → OrButton.vue_vue_type_script_lang-8c44986c.js} +6 -3
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-b6685a34.js → OrCard.vue_vue_type_script_lang-165de137.js} +4 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-1e3dd861.js → OrCardCollection.vue_vue_type_script_lang-2d78a51a.js} +46 -42
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-fec2fa29.js → OrCheckbox.vue_vue_type_script_lang-8b36e06c.js} +13 -25
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-747c5ce7.js → OrConfirm.vue_vue_type_script_lang-05b21989.js} +7 -8
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-53648a65.js → OrError.vue_vue_type_script_lang-cc6c135f.js} +4 -1
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js → OrErrorTag.vue_vue_type_script_lang-4828c387.js} +6 -3
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js → OrExpansionPanel.vue_vue_type_script_lang-5360f580.js} +6 -3
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-0fe4a921.js → OrFab.vue_vue_type_script_lang-2adeaed6.js} +3 -2
- package/dist/bundled/v3/{OrHint-5d5e4d99.js → OrHint-9592499e.js} +15 -13
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-e322f61e.js → OrHint.vue_vue_type_script_lang-8e657168.js} +4 -1
- package/dist/bundled/v3/OrIcon-d878b768.js +13 -0
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-bdbaad94.js → OrIcon.vue_vue_type_script_lang-a119a715.js} +4 -1
- package/dist/bundled/v3/{OrIconButton-428dd2cf.js → OrIconButton-cd62526d.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-ec6a3622.js → OrIconButton.vue_vue_type_script_lang-aefcf30d.js} +13 -10
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-62406472.js → OrInlineInput.vue_vue_type_script_lang-67218502.js} +22 -35
- package/dist/bundled/v3/{OrInlineInputBox-f92a09d6.js → OrInlineInputBox-9d68ded1.js} +7 -6
- package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js → OrInlineInputBox.vue_vue_type_script_lang-73750005.js} +4 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a55dffd2.js → OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js} +22 -35
- package/dist/bundled/v3/{OrInput-9faa2035.js → OrInput-a4f220ed.js} +7 -7
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-dea5c599.js → OrInput.vue_vue_type_script_lang-607d79d4.js} +30 -38
- package/dist/bundled/v3/{OrInputBox-4c7900c2.js → OrInputBox-eb54d73d.js} +7 -6
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-47d98e81.js → OrInputBox.vue_vue_type_script_lang-5ee4ee45.js} +4 -1
- package/dist/bundled/v3/{OrLabel-c556887e.js → OrLabel-c6873e79.js} +8 -7
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-191d2304.js → OrLabel.vue_vue_type_script_lang-96f94c4e.js} +4 -1
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-05d4897b.js → OrLink.vue_vue_type_script_lang-9d3a32c7.js} +4 -1
- package/dist/bundled/v3/{OrLoader-123ef8c4.js → OrLoader-c4bbef2f.js} +8 -7
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-4c3c1ac9.js → OrLoader.vue_vue_type_script_lang-5405040c.js} +4 -1
- package/dist/bundled/v3/{OrMenu-6d7abe97.js → OrMenu-f26e8e55.js} +8 -7
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-df35fd76.js → OrMenu.vue_vue_type_script_lang-2446a69a.js} +6 -3
- package/dist/bundled/v3/{OrMenuItem-807e2a49.js → OrMenuItem-4feaba6c.js} +8 -7
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-2400ec2a.js → OrMenuItem.vue_vue_type_script_lang-0ffaef05.js} +6 -3
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-5a71a851.js → OrModal.vue_vue_type_script_lang-55c864d1.js} +7 -5
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-6287244f.js → OrNotification.vue_vue_type_script_lang-c886ae51.js} +8 -5
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-7edd25f6.js → OrOverlay.vue_vue_type_script_lang-cb3aad0c.js} +3 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-0d299d07.js → OrPagination.vue_vue_type_script_lang-c96d7cd7.js} +13 -10
- package/dist/bundled/v3/{OrPopover-1a488f88.js → OrPopover-c462ce77.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-b1102c1a.js → OrPopover.vue_vue_type_script_lang-54c7b11c.js} +5 -3
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-52f660d6.js → OrProgress.vue_vue_type_script_lang-a73c0acf.js} +5 -2
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-2f053184.js → OrRadio.vue_vue_type_script_lang-2e666a56.js} +13 -25
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-2bc9e930.js → OrSearch.vue_vue_type_script_lang-06f318ca.js} +8 -5
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-92379dcc.js → OrSegmentedControl.vue_vue_type_script_lang-579406f5.js} +14 -8
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-72e0cd5a.js → OrSelect.vue_vue_type_script_lang-83f15704.js} +42 -38
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-efcfbe21.js → OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js} +12 -5
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-866f9764.js → OrSortHeader.vue_vue_type_script_lang-75115125.js} +6 -3
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-45f536b3.js → OrSwitch.vue_vue_type_script_lang-04829f64.js} +15 -27
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-f791efa0.js → OrTab.vue_vue_type_script_lang-134ad9d1.js} +4 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-2b84672b.js → OrTabs.vue_vue_type_script_lang-61b79a5a.js} +17 -14
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-68af600d.js → OrTag.vue_vue_type_script_lang-3e30f662.js} +7 -4
- package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-271fb345.js → OrText.vue_vue_type_script_lang-d9525d49.js} +4 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-94b94433.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +23 -39
- package/dist/bundled/v3/{OrToastContainer-ad5ae5af.js → OrToastContainer-34389303.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bf9935ef.js → OrTooltip.vue_vue_type_script_lang-67cc86ed.js} +6 -3
- package/dist/bundled/v3/components/index.js +57 -58
- package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-avatar-v3/index.js +4 -3
- 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 +3 -2
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-button-v3/index.js +4 -3
- 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 +29 -30
- package/dist/bundled/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-card-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +4 -20
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-confirm-v3/index.js +25 -26
- 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 +4 -3
- package/dist/bundled/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-error-v3/index.js +2 -1
- 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 +4 -3
- package/dist/bundled/v3/components/or-fab-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-hint-v3/index.js +2 -1
- 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 +9 -8
- package/dist/bundled/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-icon-v3/index.js +2 -1
- 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 +2 -1
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +8 -38
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +16 -17
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +8 -38
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +16 -17
- 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 +2 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +10 -45
- package/dist/bundled/v3/components/or-input-v3/index.js +18 -19
- package/dist/bundled/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-label-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-link-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-loader-v3/index.js +2 -1
- 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 +4 -3
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-menu-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-modal-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-notification-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-overlay-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +16 -15
- package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-popover-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-progress-v3/index.js +3 -2
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +4 -20
- 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 +21 -22
- package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/{esm/v3/components/or-segmented-control-v3/partials → bundled/v3/components/or-segmented-control-v3/components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-select-v3/index.js +25 -26
- 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 +3 -2
- 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 +4 -3
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +4 -20
- 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 +2 -1
- package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tabs-v3/index.js +13 -12
- package/dist/bundled/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tag-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-text-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +8 -47
- package/dist/bundled/v3/components/or-textarea-v3/index.js +9 -10
- package/dist/bundled/v3/components/or-toast-v3/index.js +14 -13
- package/dist/bundled/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +6 -5
- package/dist/bundled/v3/hooks/index.d.ts +1 -3
- package/dist/bundled/v3/hooks/index.js +1 -2
- package/dist/bundled/v3/hooks/useClassAttribute.d.ts +3 -0
- package/dist/bundled/v3/index.js +198 -185
- package/dist/bundled/v3/{types-1d25bb9a.js → types-f53434f2.js} +5 -5
- package/dist/bundled/v3/useClassAttribute-00888f78.js +9 -0
- package/dist/esm/v2/{OrAvatar-379ac72f.js → OrAvatar-3d155af3.js} +8 -4
- package/dist/esm/v2/{OrBottomSheet-37200385.js → OrBottomSheet-16c2e610.js} +4 -2
- package/dist/esm/v2/{OrButton-66964360.js → OrButton-835d4f11.js} +8 -4
- package/dist/esm/v2/{OrCard-e89c44ef.js → OrCard-de799db0.js} +7 -3
- package/dist/esm/v2/{OrCardCollection-3fc3a24e.js → OrCardCollection-3c38fc85.js} +15 -11
- package/dist/esm/v2/{OrCheckbox-05b9a244.js → OrCheckbox-567e387c.js} +20 -32
- package/dist/esm/v2/{OrConfirm-56db44bd.js → OrConfirm-e2ab9b4c.js} +4 -5
- package/dist/esm/v2/{OrError-13845bb0.js → OrError-d267ee9a.js} +7 -3
- package/dist/esm/v2/{OrErrorTag-80f82cdf.js → OrErrorTag-782dd714.js} +8 -4
- package/dist/esm/v2/{OrExpansionPanel-729eb1e7.js → OrExpansionPanel-a123024e.js} +8 -4
- package/dist/esm/v2/{OrFab-1d095e33.js → OrFab-26106618.js} +4 -3
- package/dist/esm/v2/{OrHint-78b399cb.js → OrHint-42dc9ebb.js} +7 -3
- package/dist/esm/v2/{OrIcon-f34e0e6f.js → OrIcon-5e394c62.js} +7 -3
- package/dist/esm/v2/{OrIconButton-5fa56aec.js → OrIconButton-b3779042.js} +7 -4
- package/dist/esm/v2/{OrInlineInput-c8058b04.js → OrInlineInput-10205811.js} +28 -41
- package/dist/esm/v2/{OrInlineInputBox-46146af0.js → OrInlineInputBox-fefd4fbd.js} +7 -3
- package/dist/esm/v2/{OrInlineTextarea-252d3c2c.js → OrInlineTextarea-7658611e.js} +24 -37
- package/dist/esm/v2/{OrInput-fd9b3e7d.js → OrInput-ada3a970.js} +39 -47
- package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-4d5a318d.js} +7 -3
- package/dist/esm/v2/{OrLabel-0945a4d9.js → OrLabel-2a9f1477.js} +7 -3
- package/dist/esm/v2/{OrLink-597e0e18.js → OrLink-80742a17.js} +7 -3
- package/dist/esm/v2/{OrLoader-76307488.js → OrLoader-f857d55b.js} +7 -3
- package/dist/esm/v2/{OrMenu-c276db74.js → OrMenu-df27d0ef.js} +8 -4
- package/dist/esm/v2/{OrMenuItem-7b7fbf8a.js → OrMenuItem-c7f28480.js} +8 -4
- package/dist/esm/v2/{OrModal-3b9d59de.js → OrModal-a7719843.js} +6 -3
- package/dist/esm/v2/{OrNotification-5e145880.js → OrNotification-8a4830a3.js} +9 -5
- package/dist/esm/v2/{OrOverlay-a019186f.js → OrOverlay-18ba2dc6.js} +3 -1
- package/dist/esm/v2/{OrPagination-8b604bd9.js → OrPagination-c0dbec6a.js} +13 -9
- package/dist/esm/v2/{OrPopover-d5d4f62a.js → OrPopover-9bafbdb4.js} +4 -2
- package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-c27c8946.js} +7 -4
- package/dist/esm/v2/{OrRadio-2094e67d.js → OrRadio-848ce55d.js} +18 -30
- package/dist/esm/v2/{OrSearch-072ee1b9.js → OrSearch-0f08f2f5.js} +9 -6
- package/dist/esm/v2/{OrSegmentedControl-71248337.js → OrSegmentedControl-e8dce8f9.js} +12 -6
- package/dist/esm/v2/{OrSelect-23208d36.js → OrSelect-f8837f5d.js} +17 -14
- package/dist/esm/v2/{OrSkeletonText-6ee72718.js → OrSkeletonText-950be6a2.js} +19 -11
- package/dist/esm/v2/{OrSortHeader-8ca76674.js → OrSortHeader-19bf94ca.js} +8 -4
- package/dist/esm/v2/{OrSwitch-a1f67338.js → OrSwitch-13b6a7ee.js} +19 -31
- package/dist/esm/v2/{OrTab-1ff87c76.js → OrTab-702e7335.js} +7 -3
- package/dist/esm/v2/{OrTabs-954838f3.js → OrTabs-71bd3fd2.js} +9 -7
- package/dist/esm/v2/{OrTag-56714605.js → OrTag-5c404031.js} +9 -5
- package/dist/esm/v2/{OrText-b12d0682.js → OrText-ba5a2b6c.js} +7 -3
- package/dist/esm/v2/{OrTextarea-5f79faca.js → OrTextarea-6712a150.js} +26 -43
- package/dist/esm/v2/{OrTooltip-629d44fc.js → OrTooltip-513bee30.js} +7 -4
- package/dist/esm/v2/components/index.js +46 -47
- package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-avatar-v3/index.js +4 -2
- 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 +3 -2
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-button-v3/index.js +4 -2
- 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 +19 -20
- package/dist/esm/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-card-v3/index.js +3 -1
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +4 -20
- package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +19 -20
- 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 +4 -2
- package/dist/esm/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-error-v3/index.js +3 -1
- 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 +4 -2
- package/dist/esm/v2/components/or-fab-v3/index.js +4 -2
- package/dist/esm/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-hint-v3/index.js +3 -1
- 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 +7 -6
- package/dist/esm/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-icon-v3/index.js +3 -1
- 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 +3 -1
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +8 -38
- package/dist/esm/v2/components/or-inline-input-v3/index.js +11 -12
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +8 -38
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +11 -12
- 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 +3 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +10 -45
- package/dist/esm/v2/components/or-input-v3/index.js +12 -13
- package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-label-v3/index.js +3 -1
- package/dist/esm/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-link-v3/index.js +3 -1
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-loader-v3/index.js +3 -1
- 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 +4 -2
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +6 -5
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +9 -8
- package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +9 -8
- package/dist/esm/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +11 -10
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -3
- package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-progress-v3/index.js +3 -2
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +4 -20
- 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 +14 -15
- package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +3 -1
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +17 -18
- 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 +4 -2
- 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 +4 -2
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +4 -20
- 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 +3 -1
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +9 -8
- package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tag-v3/index.js +9 -8
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-text-v3/index.js +3 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +8 -47
- package/dist/esm/v2/components/or-textarea-v3/index.js +6 -7
- package/dist/esm/v2/components/or-toast-v3/index.js +9 -8
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v2/hooks/index.d.ts +1 -3
- package/dist/esm/v2/hooks/index.js +1 -2
- package/dist/esm/v2/hooks/useClassAttribute.d.ts +3 -0
- package/dist/esm/v2/index.js +45 -46
- package/dist/esm/v2/{types-856a804f.js → types-6c742e07.js} +2 -2
- package/dist/esm/v2/useClassAttribute-47fdb016.js +32 -0
- package/dist/esm/v3/{OrAvatar-6444e693.js → OrAvatar-53a4429d.js} +13 -8
- package/dist/esm/v3/{OrBottomSheet-13a416ef.js → OrBottomSheet-62817aec.js} +4 -2
- package/dist/esm/v3/{OrButton-c56998e7.js → OrButton-0fa67a0d.js} +13 -8
- package/dist/esm/v3/{OrCard-cd6af82e.js → OrCard-fd92f7c8.js} +11 -6
- package/dist/esm/v3/{OrCardCollection-53e83dbb.js → OrCardCollection-dbb3e839.js} +19 -14
- package/dist/esm/v3/{OrCheckbox-afadd5b8.js → OrCheckbox-3e139eac.js} +20 -33
- package/dist/esm/v3/{OrConfirm-06ed85f9.js → OrConfirm-1bcd39b1.js} +4 -5
- package/dist/esm/v3/{OrError-19198748.js → OrError-ec8c709d.js} +12 -7
- package/dist/esm/v3/{OrErrorTag-308119de.js → OrErrorTag-98252eef.js} +13 -8
- package/dist/esm/v3/{OrExpansionPanel-3a4282da.js → OrExpansionPanel-f8d7ff8d.js} +13 -8
- package/dist/esm/v3/{OrFab-61131b31.js → OrFab-c8ae6e01.js} +9 -7
- package/dist/esm/v3/{OrHint-6863124f.js → OrHint-74bb732d.js} +12 -7
- package/dist/esm/v3/{OrIcon-34f59f73.js → OrIcon-b195169c.js} +11 -6
- package/dist/esm/v3/{OrIconButton-e5781317.js → OrIconButton-1a89fbf9.js} +7 -4
- package/dist/esm/v3/{OrInlineInput-6d363088.js → OrInlineInput-507fc99c.js} +22 -35
- package/dist/esm/v3/{OrInlineInputBox-09b33e18.js → OrInlineInputBox-8049f95a.js} +11 -6
- package/dist/esm/v3/{OrInlineTextarea-3e48b319.js → OrInlineTextarea-53a9e027.js} +22 -35
- package/dist/esm/v3/{OrInput-5ef51369.js → OrInput-9c0426b9.js} +31 -39
- package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-6d1b6059.js} +11 -6
- package/dist/esm/v3/{OrLabel-f700f9fb.js → OrLabel-bdaec602.js} +12 -7
- package/dist/esm/v3/{OrLink-07f6f27d.js → OrLink-338db3ca.js} +12 -7
- package/dist/esm/v3/{OrLoader-a53d2edf.js → OrLoader-b3cf4231.js} +12 -7
- package/dist/esm/v3/{OrMenu-7f3ea117.js → OrMenu-840038cd.js} +13 -8
- package/dist/esm/v3/{OrMenuItem-58707d47.js → OrMenuItem-9da279f6.js} +13 -8
- package/dist/esm/v3/{OrModal-10838da7.js → OrModal-7878cc39.js} +6 -3
- package/dist/esm/v3/{OrNotification-25da89ca.js → OrNotification-e1383681.js} +14 -9
- package/dist/esm/v3/{OrOverlay-afad3aa4.js → OrOverlay-738a44d5.js} +3 -1
- package/dist/esm/v3/{OrPagination-010b0bef.js → OrPagination-a703307d.js} +18 -13
- package/dist/esm/v3/{OrPopover-40217b49.js → OrPopover-1075dd38.js} +4 -2
- package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-407002e0.js} +12 -8
- package/dist/esm/v3/{OrRadio-a0bd352b.js → OrRadio-54b6d0de.js} +17 -30
- package/dist/esm/v3/{OrSearch-9eb38b29.js → OrSearch-9885d178.js} +13 -9
- package/dist/esm/v3/{OrSegmentedControl-c7221732.js → OrSegmentedControl-171cad78.js} +21 -13
- package/dist/esm/v3/{OrSelect-64fa5d0b.js → OrSelect-8fbd88bc.js} +22 -18
- package/dist/esm/v3/{OrSkeletonText-afd3d007.js → OrSkeletonText-3965ff71.js} +33 -22
- package/dist/esm/v3/{OrSortHeader-cab07616.js → OrSortHeader-fe1a9cf8.js} +13 -8
- package/dist/esm/v3/{OrSwitch-f342ee4b.js → OrSwitch-cca30aa0.js} +19 -31
- package/dist/esm/v3/{OrTab-d3785ea4.js → OrTab-c131cf60.js} +11 -6
- package/dist/esm/v3/{OrTabs-a1ffc2a3.js → OrTabs-d0ee6cef.js} +9 -7
- package/dist/esm/v3/{OrTag-34bf1713.js → OrTag-5d54f37d.js} +14 -9
- package/dist/esm/v3/{OrText-6b4f7cd1.js → OrText-ecb46923.js} +12 -7
- package/dist/esm/v3/{OrTextarea-f3831b3f.js → OrTextarea-bb9ef3f2.js} +24 -41
- package/dist/esm/v3/{OrTooltip-b07616f4.js → OrTooltip-50d27b4f.js} +12 -8
- package/dist/esm/v3/components/index.js +46 -47
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-avatar-v3/index.js +4 -2
- 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 +3 -2
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-button-v3/index.js +4 -2
- 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 +19 -20
- package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-card-v3/index.js +3 -1
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +4 -20
- package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +19 -20
- 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 +4 -2
- package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-error-v3/index.js +3 -1
- 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 +4 -2
- package/dist/esm/v3/components/or-fab-v3/index.js +4 -2
- package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-hint-v3/index.js +3 -1
- 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 +7 -6
- package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-icon-v3/index.js +3 -1
- 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 +3 -1
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +8 -38
- package/dist/esm/v3/components/or-inline-input-v3/index.js +11 -12
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +8 -38
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +11 -12
- 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 +3 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +10 -45
- package/dist/esm/v3/components/or-input-v3/index.js +12 -13
- package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-label-v3/index.js +3 -1
- package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-link-v3/index.js +3 -1
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-loader-v3/index.js +3 -1
- 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 +4 -2
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +6 -5
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +9 -8
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +9 -8
- package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +11 -10
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -3
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-progress-v3/index.js +3 -2
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +4 -20
- 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 +14 -15
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +2 -2
- package/dist/{bundled/v2/components/or-segmented-control-v3/partials → esm/v3/components/or-segmented-control-v3/components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +3 -1
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +17 -18
- 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 +4 -2
- 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 +4 -2
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +4 -20
- 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 +3 -1
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +9 -8
- package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tag-v3/index.js +9 -8
- package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-text-v3/index.js +3 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +8 -47
- package/dist/esm/v3/components/or-textarea-v3/index.js +6 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +9 -8
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v3/hooks/index.d.ts +1 -3
- package/dist/esm/v3/hooks/index.js +1 -2
- package/dist/esm/v3/hooks/useClassAttribute.d.ts +3 -0
- package/dist/esm/v3/index.js +45 -46
- package/dist/esm/v3/{types-7f17b4b2.js → types-2692e337.js} +2 -2
- package/dist/esm/v3/useClassAttribute-47fdb016.js +32 -0
- package/package.json +3 -2
- package/src/components/or-avatar-v3/OrAvatar.vue +9 -3
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +4 -0
- package/src/components/or-button-v3/OrButton.vue +7 -0
- package/src/components/or-card-collection-v3/OrCardCollection.vue +17 -9
- package/src/components/or-card-v3/OrCard.vue +7 -0
- package/src/components/or-checkbox-v3/OrCheckbox.vue +15 -27
- package/src/components/or-confirm-v3/OrConfirm.vue +12 -19
- package/src/components/or-error-tag-v3/OrErrorTag.vue +7 -0
- package/src/components/or-error-v3/OrError.vue +7 -0
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +7 -0
- package/src/components/or-fab-v3/OrFab.vue +3 -0
- package/src/components/or-hint-v3/OrHint.vue +7 -0
- package/src/components/or-icon-button-v3/OrIconButton.vue +4 -0
- package/src/components/or-icon-v3/OrIcon.vue +7 -0
- package/src/components/or-inline-input-box-v3/OrInlineInputBox.vue +7 -0
- package/src/components/or-inline-input-v3/OrInlineInput.vue +18 -31
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +18 -31
- package/src/components/or-input-box-v3/OrInputBox.vue +7 -0
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
- package/src/components/or-input-v3/OrInput.vue +25 -32
- package/src/components/or-label-v3/OrLabel.vue +7 -0
- package/src/components/or-link-v3/OrLink.vue +7 -0
- package/src/components/or-loader-v3/OrLoader.vue +8 -1
- package/src/components/or-menu-item-v3/OrMenuItem.vue +7 -0
- package/src/components/or-menu-v3/OrMenu.vue +7 -0
- package/src/components/or-modal-v3/OrModal.vue +4 -0
- package/src/components/or-notification-v3/OrNotification.vue +7 -0
- package/src/components/or-overlay-v3/OrOverlay.vue +4 -1
- package/src/components/or-pagination-v3/OrPagination.vue +8 -1
- package/src/components/or-popover-v3/OrPopover.vue +4 -1
- package/src/components/or-progress-v3/OrProgress.vue +20 -3
- package/src/components/or-radio-v3/OrRadio.vue +14 -26
- package/src/components/or-search-v3/OrSearch.vue +8 -1
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +8 -1
- package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/OrSegmentedControlItem.vue +7 -0
- package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.ts +0 -0
- package/src/components/or-select-v3/OrSelect.vue +7 -1
- package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +8 -2
- package/src/components/or-skeleton-v3/OrSkeletonRect.vue +8 -3
- package/src/components/or-skeleton-v3/OrSkeletonText.vue +9 -5
- package/src/components/or-sort-header-v3/OrSortHeader.vue +7 -0
- package/src/components/or-switch-v3/OrSwitch.vue +14 -26
- package/src/components/or-tab-v3/OrTab.vue +7 -0
- package/src/components/or-tabs-v3/OrTabs.vue +5 -1
- package/src/components/or-tag-v3/OrTag.vue +7 -0
- package/src/components/or-tag-v3/styles.ts +3 -0
- package/src/components/or-text-v3/OrText.vue +7 -0
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +4 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +19 -36
- package/src/components/or-tooltip-v3/OrTooltip.vue +7 -0
- package/src/hooks/index.ts +1 -3
- package/src/hooks/useClassAttribute.ts +39 -0
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +0 -8
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +0 -2
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +0 -22
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +0 -17
- package/dist/bundled/v3/OrIcon-1a5c9091.js +0 -12
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +0 -8
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +0 -2
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +0 -21
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +0 -16
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +0 -8
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +0 -2
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/esm/v2/useIdAttribute-859439f0.js +0 -21
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +0 -16
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +0 -8
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +0 -2
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/esm/v3/useIdAttribute-859439f0.js +0 -21
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +0 -16
- package/src/hooks/useControlAttributes.ts +0 -19
- package/src/hooks/useIdAttribute.ts +0 -9
- package/src/hooks/useValidationAttributes.ts +0 -25
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrError } from './OrError-
|
|
3
|
-
import { O as OrHint } from './OrHint-
|
|
4
|
-
import { O as OrIconButton } from './OrIconButton-
|
|
5
|
-
import { O as OrInlineInputBox, I as InlineInputBoxSize } from './OrInlineInputBox-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { defineComponent, ref, computed, reactive, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
2
|
+
import { O as OrError } from './OrError-aad17598.js';
|
|
3
|
+
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
4
|
+
import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
|
|
5
|
+
import { O as OrInlineInputBox, I as InlineInputBoxSize } from './OrInlineInputBox-f457210f.js';
|
|
6
|
+
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
7
|
+
import { defineComponent, getCurrentInstance, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
9
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
9
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
11
10
|
|
|
@@ -51,6 +50,7 @@ var script = defineComponent({
|
|
|
51
50
|
OrIconButton,
|
|
52
51
|
OrInlineInputBox
|
|
53
52
|
},
|
|
53
|
+
inheritAttrs: false,
|
|
54
54
|
props: {
|
|
55
55
|
modelValue: {
|
|
56
56
|
type: [String, Number],
|
|
@@ -86,21 +86,19 @@ var script = defineComponent({
|
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
|
|
89
|
-
expose: ['root'
|
|
89
|
+
expose: ['root'],
|
|
90
90
|
setup(props, context) {
|
|
91
|
+
var _a;
|
|
92
|
+
const currentInstance = getCurrentInstance();
|
|
91
93
|
// Refs
|
|
92
94
|
const root = ref();
|
|
93
|
-
const control = ref();
|
|
94
95
|
// Styles
|
|
95
|
-
const
|
|
96
|
+
const classAttribute = useClassAttribute();
|
|
97
|
+
const rootStyles = computed(() => ['or-inline-input', ...InlineInputRoot, classAttribute.value]);
|
|
96
98
|
const controlStyles = computed(() => [...InlineInputControl]);
|
|
97
99
|
const actionStyles = computed(() => [...InlineInputAction, ...InlineInputActionSizes[props.size]]);
|
|
98
100
|
// State
|
|
99
|
-
const
|
|
100
|
-
id: useIdAttribute(),
|
|
101
|
-
...useControlAttributes(),
|
|
102
|
-
...useValidationAttributes()
|
|
103
|
-
});
|
|
101
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
104
102
|
const proxyModelValue = computed({
|
|
105
103
|
get: () => {
|
|
106
104
|
var _a;
|
|
@@ -113,13 +111,13 @@ var script = defineComponent({
|
|
|
113
111
|
}
|
|
114
112
|
});
|
|
115
113
|
const draftModelValue = ref('');
|
|
114
|
+
const activated = ref(false);
|
|
115
|
+
const invalid = computed(() => !!props.error);
|
|
116
116
|
const currentLength = computed(() => {
|
|
117
117
|
var _a, _b;
|
|
118
118
|
return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
119
119
|
});
|
|
120
|
-
const maxLength = computed(() =>
|
|
121
|
-
const invalid = computed(() => !!props.error);
|
|
122
|
-
const activated = ref(false);
|
|
120
|
+
const maxLength = computed(() => context.attrs.maxlength);
|
|
123
121
|
// Handlers
|
|
124
122
|
function onFocus(event) {
|
|
125
123
|
activated.value = true;
|
|
@@ -132,14 +130,6 @@ var script = defineComponent({
|
|
|
132
130
|
context.emit('blur', event);
|
|
133
131
|
}
|
|
134
132
|
// Methods
|
|
135
|
-
function focus() {
|
|
136
|
-
var _a;
|
|
137
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
138
|
-
}
|
|
139
|
-
function blur() {
|
|
140
|
-
var _a;
|
|
141
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
142
|
-
}
|
|
143
133
|
function apply() {
|
|
144
134
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
145
135
|
proxyModelValue.value = draftModelValue.value;
|
|
@@ -161,21 +151,18 @@ var script = defineComponent({
|
|
|
161
151
|
});
|
|
162
152
|
return {
|
|
163
153
|
root,
|
|
164
|
-
control,
|
|
165
154
|
rootStyles,
|
|
166
155
|
controlStyles,
|
|
167
156
|
actionStyles,
|
|
168
|
-
|
|
157
|
+
controlId,
|
|
169
158
|
proxyModelValue,
|
|
170
159
|
draftModelValue,
|
|
160
|
+
activated,
|
|
161
|
+
invalid,
|
|
171
162
|
currentLength,
|
|
172
163
|
maxLength,
|
|
173
|
-
invalid,
|
|
174
|
-
activated,
|
|
175
164
|
onFocus,
|
|
176
165
|
onBlur,
|
|
177
|
-
focus,
|
|
178
|
-
blur,
|
|
179
166
|
apply,
|
|
180
167
|
reset
|
|
181
168
|
};
|
|
@@ -207,9 +194,9 @@ var __vue_render__ = function () {
|
|
|
207
194
|
value: _vm.draftModelValue,
|
|
208
195
|
expression: "draftModelValue"
|
|
209
196
|
}],
|
|
210
|
-
ref: "control",
|
|
211
197
|
class: _vm.controlStyles,
|
|
212
198
|
attrs: {
|
|
199
|
+
"id": _vm.controlId,
|
|
213
200
|
"placeholder": _vm.placeholder,
|
|
214
201
|
"activated": _vm.activated ? '' : null,
|
|
215
202
|
"type": "checkbox"
|
|
@@ -243,16 +230,16 @@ var __vue_render__ = function () {
|
|
|
243
230
|
}
|
|
244
231
|
}
|
|
245
232
|
}
|
|
246
|
-
}, 'input', _vm
|
|
233
|
+
}, 'input', _vm.$attrs, false)) : _vm.type === 'radio' ? _c('input', _vm._b({
|
|
247
234
|
directives: [{
|
|
248
235
|
name: "model",
|
|
249
236
|
rawName: "v-model",
|
|
250
237
|
value: _vm.draftModelValue,
|
|
251
238
|
expression: "draftModelValue"
|
|
252
239
|
}],
|
|
253
|
-
ref: "control",
|
|
254
240
|
class: _vm.controlStyles,
|
|
255
241
|
attrs: {
|
|
242
|
+
"id": _vm.controlId,
|
|
256
243
|
"placeholder": _vm.placeholder,
|
|
257
244
|
"activated": _vm.activated ? '' : null,
|
|
258
245
|
"type": "radio"
|
|
@@ -273,16 +260,16 @@ var __vue_render__ = function () {
|
|
|
273
260
|
_vm.draftModelValue = null;
|
|
274
261
|
}
|
|
275
262
|
}
|
|
276
|
-
}, 'input', _vm
|
|
263
|
+
}, 'input', _vm.$attrs, false)) : _c('input', _vm._b({
|
|
277
264
|
directives: [{
|
|
278
265
|
name: "model",
|
|
279
266
|
rawName: "v-model",
|
|
280
267
|
value: _vm.draftModelValue,
|
|
281
268
|
expression: "draftModelValue"
|
|
282
269
|
}],
|
|
283
|
-
ref: "control",
|
|
284
270
|
class: _vm.controlStyles,
|
|
285
271
|
attrs: {
|
|
272
|
+
"id": _vm.controlId,
|
|
286
273
|
"placeholder": _vm.placeholder,
|
|
287
274
|
"activated": _vm.activated ? '' : null,
|
|
288
275
|
"type": _vm.type
|
|
@@ -306,7 +293,7 @@ var __vue_render__ = function () {
|
|
|
306
293
|
_vm.draftModelValue = $event.target.value;
|
|
307
294
|
}
|
|
308
295
|
}
|
|
309
|
-
}, 'input', _vm
|
|
296
|
+
}, 'input', _vm.$attrs, false))]), _vm._v(" "), _vm.activated && !_vm.saveOnBlur ? [_c('div', {
|
|
310
297
|
class: _vm.actionStyles
|
|
311
298
|
}, [_c('OrIconButton', {
|
|
312
299
|
attrs: {
|
|
@@ -353,14 +340,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
353
340
|
/* style */
|
|
354
341
|
const __vue_inject_styles__ = function (inject) {
|
|
355
342
|
if (!inject) return;
|
|
356
|
-
inject("data-v-
|
|
357
|
-
source: "input[data-v-
|
|
343
|
+
inject("data-v-0c9a54ea_0", {
|
|
344
|
+
source: "input[data-v-0c9a54ea]{min-width:0;background:0 0;outline:0}input[type=number][data-v-0c9a54ea]::-webkit-inner-spin-button{display:none}input[type=search][data-v-0c9a54ea]::-webkit-search-cancel-button{display:none}",
|
|
358
345
|
map: undefined,
|
|
359
346
|
media: undefined
|
|
360
347
|
});
|
|
361
348
|
};
|
|
362
349
|
/* scoped */
|
|
363
|
-
const __vue_scope_id__ = "data-v-
|
|
350
|
+
const __vue_scope_id__ = "data-v-0c9a54ea";
|
|
364
351
|
/* module identifier */
|
|
365
352
|
const __vue_module_identifier__ = undefined;
|
|
366
353
|
/* functional template */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
2
3
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
3
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
5
|
|
|
@@ -32,6 +33,7 @@ const InlineInputBoxRootSizes = {
|
|
|
32
33
|
|
|
33
34
|
var script = defineComponent({
|
|
34
35
|
name: 'OrInlineInputBox',
|
|
36
|
+
inheritAttrs: false,
|
|
35
37
|
props: {
|
|
36
38
|
size: {
|
|
37
39
|
type: String,
|
|
@@ -47,7 +49,8 @@ var script = defineComponent({
|
|
|
47
49
|
// Refs
|
|
48
50
|
const root = ref();
|
|
49
51
|
// Styles
|
|
50
|
-
const
|
|
52
|
+
const classAttribute = useClassAttribute();
|
|
53
|
+
const rootStyles = computed(() => ['or-inline-input-box', ...InlineInputBoxRoot, ...InlineInputBoxRootSizes[props.size], classAttribute.value]);
|
|
51
54
|
return {
|
|
52
55
|
root,
|
|
53
56
|
rootStyles
|
|
@@ -63,13 +66,13 @@ var __vue_render__ = function () {
|
|
|
63
66
|
var _vm = this;
|
|
64
67
|
var _h = _vm.$createElement;
|
|
65
68
|
var _c = _vm._self._c || _h;
|
|
66
|
-
return _c('div', {
|
|
69
|
+
return _c('div', _vm._b({
|
|
67
70
|
ref: "root",
|
|
68
71
|
class: _vm.rootStyles,
|
|
69
72
|
attrs: {
|
|
70
73
|
"invalid": _vm.invalid ? '' : null
|
|
71
74
|
}
|
|
72
|
-
}, [_vm._t("default")], 2);
|
|
75
|
+
}, 'div', _vm.$attrs, false), [_vm._t("default")], 2);
|
|
73
76
|
};
|
|
74
77
|
var __vue_staticRenderFns__ = [];
|
|
75
78
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrError } from './OrError-
|
|
3
|
-
import { O as OrHint } from './OrHint-
|
|
4
|
-
import { O as OrIconButton } from './OrIconButton-
|
|
5
|
-
import { O as OrInlineInputBox } from './OrInlineInputBox-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { defineComponent, ref, computed, reactive, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
2
|
+
import { O as OrError } from './OrError-aad17598.js';
|
|
3
|
+
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
4
|
+
import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
|
|
5
|
+
import { O as OrInlineInputBox } from './OrInlineInputBox-f457210f.js';
|
|
6
|
+
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
7
|
+
import { defineComponent, getCurrentInstance, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
9
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
9
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
11
10
|
|
|
@@ -37,6 +36,7 @@ var script = defineComponent({
|
|
|
37
36
|
OrIconButton,
|
|
38
37
|
OrInlineInputBox
|
|
39
38
|
},
|
|
39
|
+
inheritAttrs: false,
|
|
40
40
|
props: {
|
|
41
41
|
modelValue: {
|
|
42
42
|
type: String,
|
|
@@ -64,21 +64,19 @@ var script = defineComponent({
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
|
|
67
|
-
expose: ['root'
|
|
67
|
+
expose: ['root'],
|
|
68
68
|
setup(props, context) {
|
|
69
|
+
var _a;
|
|
70
|
+
const currentInstance = getCurrentInstance();
|
|
69
71
|
// Refs
|
|
70
72
|
const root = ref();
|
|
71
|
-
const control = ref();
|
|
72
73
|
// Styles
|
|
73
|
-
const
|
|
74
|
+
const classAttribute = useClassAttribute();
|
|
75
|
+
const rootStyles = computed(() => ['or-inline-textarea', ...InlineTextareaRoot, classAttribute.value]);
|
|
74
76
|
const controlStyles = computed(() => [...InlineTextareaControl]);
|
|
75
77
|
const actionStyles = computed(() => [...InlineTextareaAction]);
|
|
76
78
|
// State
|
|
77
|
-
const
|
|
78
|
-
id: useIdAttribute(),
|
|
79
|
-
...useControlAttributes(),
|
|
80
|
-
...useValidationAttributes()
|
|
81
|
-
});
|
|
79
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
82
80
|
const proxyModelValue = computed({
|
|
83
81
|
get: () => {
|
|
84
82
|
var _a;
|
|
@@ -91,13 +89,13 @@ var script = defineComponent({
|
|
|
91
89
|
}
|
|
92
90
|
});
|
|
93
91
|
const draftModelValue = ref('');
|
|
92
|
+
const activated = ref(false);
|
|
93
|
+
const invalid = computed(() => !!props.error);
|
|
94
94
|
const currentLength = computed(() => {
|
|
95
95
|
var _a, _b;
|
|
96
96
|
return (_b = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
97
97
|
});
|
|
98
|
-
const maxLength = computed(() =>
|
|
99
|
-
const invalid = computed(() => !!props.error);
|
|
100
|
-
const activated = ref(false);
|
|
98
|
+
const maxLength = computed(() => context.attrs.maxlength);
|
|
101
99
|
// Handlers
|
|
102
100
|
function onFocus(event) {
|
|
103
101
|
activated.value = true;
|
|
@@ -110,14 +108,6 @@ var script = defineComponent({
|
|
|
110
108
|
context.emit('blur', event);
|
|
111
109
|
}
|
|
112
110
|
// Methods
|
|
113
|
-
function focus() {
|
|
114
|
-
var _a;
|
|
115
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
116
|
-
}
|
|
117
|
-
function blur() {
|
|
118
|
-
var _a;
|
|
119
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
120
|
-
}
|
|
121
111
|
function apply() {
|
|
122
112
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
123
113
|
proxyModelValue.value = draftModelValue.value;
|
|
@@ -139,21 +129,18 @@ var script = defineComponent({
|
|
|
139
129
|
});
|
|
140
130
|
return {
|
|
141
131
|
root,
|
|
142
|
-
control,
|
|
143
132
|
rootStyles,
|
|
144
133
|
controlStyles,
|
|
145
134
|
actionStyles,
|
|
146
|
-
|
|
135
|
+
controlId,
|
|
147
136
|
proxyModelValue,
|
|
148
137
|
draftModelValue,
|
|
138
|
+
activated,
|
|
139
|
+
invalid,
|
|
149
140
|
currentLength,
|
|
150
141
|
maxLength,
|
|
151
|
-
invalid,
|
|
152
|
-
activated,
|
|
153
142
|
onFocus,
|
|
154
143
|
onBlur,
|
|
155
|
-
focus,
|
|
156
|
-
blur,
|
|
157
144
|
apply,
|
|
158
145
|
reset
|
|
159
146
|
};
|
|
@@ -185,9 +172,9 @@ var __vue_render__ = function () {
|
|
|
185
172
|
value: _vm.draftModelValue,
|
|
186
173
|
expression: "draftModelValue"
|
|
187
174
|
}],
|
|
188
|
-
ref: "control",
|
|
189
175
|
class: _vm.controlStyles,
|
|
190
176
|
attrs: {
|
|
177
|
+
"id": _vm.controlId,
|
|
191
178
|
"placeholder": _vm.placeholder,
|
|
192
179
|
"activated": _vm.activated ? '' : null
|
|
193
180
|
},
|
|
@@ -210,7 +197,7 @@ var __vue_render__ = function () {
|
|
|
210
197
|
_vm.draftModelValue = $event.target.value;
|
|
211
198
|
}
|
|
212
199
|
}
|
|
213
|
-
}, 'textarea', _vm
|
|
200
|
+
}, 'textarea', _vm.$attrs, false))]), _vm._v(" "), _vm.activated && !_vm.saveOnBlur ? [_c('div', {
|
|
214
201
|
class: _vm.actionStyles
|
|
215
202
|
}, [_c('OrIconButton', {
|
|
216
203
|
attrs: {
|
|
@@ -257,14 +244,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
257
244
|
/* style */
|
|
258
245
|
const __vue_inject_styles__ = function (inject) {
|
|
259
246
|
if (!inject) return;
|
|
260
|
-
inject("data-v-
|
|
261
|
-
source: "textarea[data-v-
|
|
247
|
+
inject("data-v-5a4c8a4e_0", {
|
|
248
|
+
source: "textarea[data-v-5a4c8a4e]{min-width:0;background:0 0;outline:0}",
|
|
262
249
|
map: undefined,
|
|
263
250
|
media: undefined
|
|
264
251
|
});
|
|
265
252
|
};
|
|
266
253
|
/* scoped */
|
|
267
|
-
const __vue_scope_id__ = "data-v-
|
|
254
|
+
const __vue_scope_id__ = "data-v-5a4c8a4e";
|
|
268
255
|
/* module identifier */
|
|
269
256
|
const __vue_module_identifier__ = undefined;
|
|
270
257
|
/* functional template */
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrError } from './OrError-
|
|
3
|
-
import { O as OrHint } from './OrHint-
|
|
4
|
-
import { O as OrIcon } from './OrIcon-
|
|
5
|
-
import { O as OrIconButton } from './OrIconButton-
|
|
6
|
-
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-
|
|
7
|
-
import { O as OrLabel } from './OrLabel-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
2
|
+
import { O as OrError } from './OrError-aad17598.js';
|
|
3
|
+
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
4
|
+
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
5
|
+
import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
|
|
6
|
+
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-79ec54ad.js';
|
|
7
|
+
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
8
|
+
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
9
|
+
import { defineComponent, getCurrentInstance, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
11
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
12
11
|
import { c as createInjector } from './browser-82dea9ed.js';
|
|
13
12
|
|
|
@@ -42,6 +41,7 @@ var script = defineComponent({
|
|
|
42
41
|
OrInputBox,
|
|
43
42
|
OrLabel
|
|
44
43
|
},
|
|
44
|
+
inheritAttrs: false,
|
|
45
45
|
props: {
|
|
46
46
|
modelValue: {
|
|
47
47
|
type: [String, Number],
|
|
@@ -79,10 +79,6 @@ var script = defineComponent({
|
|
|
79
79
|
type: Boolean,
|
|
80
80
|
default: false
|
|
81
81
|
},
|
|
82
|
-
readonly: {
|
|
83
|
-
type: Boolean,
|
|
84
|
-
default: false
|
|
85
|
-
},
|
|
86
82
|
disabled: {
|
|
87
83
|
type: Boolean,
|
|
88
84
|
default: false
|
|
@@ -93,20 +89,19 @@ var script = defineComponent({
|
|
|
93
89
|
}
|
|
94
90
|
},
|
|
95
91
|
emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
|
|
96
|
-
expose: ['root', 'focus'
|
|
92
|
+
expose: ['root', 'focus'],
|
|
97
93
|
setup(props, context) {
|
|
94
|
+
var _a;
|
|
95
|
+
const currentInstance = getCurrentInstance();
|
|
98
96
|
// Refs
|
|
99
97
|
const root = ref();
|
|
100
|
-
const
|
|
98
|
+
const input = ref();
|
|
101
99
|
// Styles
|
|
102
|
-
const
|
|
100
|
+
const classAttribute = useClassAttribute();
|
|
101
|
+
const rootStyles = computed(() => ['or-input', ...InputRoot, classAttribute.value]);
|
|
103
102
|
const controlStyles = computed(() => [...InputControl]);
|
|
104
103
|
// State
|
|
105
|
-
const
|
|
106
|
-
id: useIdAttribute(),
|
|
107
|
-
...useControlAttributes(),
|
|
108
|
-
...useValidationAttributes()
|
|
109
|
-
});
|
|
104
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
110
105
|
const proxyModelValue = computed({
|
|
111
106
|
get: () => {
|
|
112
107
|
var _a;
|
|
@@ -118,35 +113,32 @@ var script = defineComponent({
|
|
|
118
113
|
context.emit('update:modelValue', value);
|
|
119
114
|
}
|
|
120
115
|
});
|
|
116
|
+
const invalid = computed(() => !!props.error);
|
|
117
|
+
const readonly = computed(() => context.attrs.readonly);
|
|
121
118
|
const currentLength = computed(() => {
|
|
122
119
|
var _a, _b;
|
|
123
120
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0;
|
|
124
121
|
});
|
|
125
|
-
const maxLength = computed(() =>
|
|
126
|
-
const invalid = computed(() => !!props.error);
|
|
122
|
+
const maxLength = computed(() => context.attrs.maxlength);
|
|
127
123
|
const disclosed = ref(false);
|
|
128
124
|
// Methods
|
|
129
125
|
function focus() {
|
|
130
126
|
var _a;
|
|
131
|
-
(_a =
|
|
132
|
-
}
|
|
133
|
-
function blur() {
|
|
134
|
-
var _a;
|
|
135
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
127
|
+
(_a = input.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
136
128
|
}
|
|
137
129
|
return {
|
|
138
130
|
root,
|
|
139
|
-
|
|
131
|
+
input,
|
|
140
132
|
rootStyles,
|
|
141
133
|
controlStyles,
|
|
142
|
-
|
|
134
|
+
controlId,
|
|
143
135
|
proxyModelValue,
|
|
136
|
+
invalid,
|
|
137
|
+
readonly,
|
|
144
138
|
currentLength,
|
|
145
139
|
maxLength,
|
|
146
|
-
invalid,
|
|
147
140
|
disclosed,
|
|
148
|
-
focus
|
|
149
|
-
blur
|
|
141
|
+
focus
|
|
150
142
|
};
|
|
151
143
|
}
|
|
152
144
|
});
|
|
@@ -164,7 +156,7 @@ var __vue_render__ = function () {
|
|
|
164
156
|
class: _vm.rootStyles
|
|
165
157
|
}, [_vm.label ? [_c('OrLabel', {
|
|
166
158
|
attrs: {
|
|
167
|
-
"control-id": _vm.
|
|
159
|
+
"control-id": _vm.controlId,
|
|
168
160
|
"variant": 'input',
|
|
169
161
|
"required": _vm.required,
|
|
170
162
|
"disabled": _vm.disabled
|
|
@@ -191,12 +183,12 @@ var __vue_render__ = function () {
|
|
|
191
183
|
value: _vm.proxyModelValue,
|
|
192
184
|
expression: "proxyModelValue"
|
|
193
185
|
}],
|
|
194
|
-
ref: "
|
|
186
|
+
ref: "input",
|
|
195
187
|
class: _vm.controlStyles,
|
|
196
188
|
attrs: {
|
|
189
|
+
"id": _vm.controlId,
|
|
197
190
|
"placeholder": _vm.placeholder,
|
|
198
191
|
"required": _vm.required,
|
|
199
|
-
"readonly": _vm.readonly,
|
|
200
192
|
"disabled": _vm.disabled,
|
|
201
193
|
"type": "checkbox"
|
|
202
194
|
},
|
|
@@ -233,19 +225,19 @@ var __vue_render__ = function () {
|
|
|
233
225
|
}
|
|
234
226
|
}
|
|
235
227
|
}
|
|
236
|
-
}, 'input', _vm
|
|
228
|
+
}, 'input', _vm.$attrs, false)) : (_vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type) === 'radio' ? _c('input', _vm._b({
|
|
237
229
|
directives: [{
|
|
238
230
|
name: "model",
|
|
239
231
|
rawName: "v-model",
|
|
240
232
|
value: _vm.proxyModelValue,
|
|
241
233
|
expression: "proxyModelValue"
|
|
242
234
|
}],
|
|
243
|
-
ref: "
|
|
235
|
+
ref: "input",
|
|
244
236
|
class: _vm.controlStyles,
|
|
245
237
|
attrs: {
|
|
238
|
+
"id": _vm.controlId,
|
|
246
239
|
"placeholder": _vm.placeholder,
|
|
247
240
|
"required": _vm.required,
|
|
248
|
-
"readonly": _vm.readonly,
|
|
249
241
|
"disabled": _vm.disabled,
|
|
250
242
|
"type": "radio"
|
|
251
243
|
},
|
|
@@ -269,19 +261,19 @@ var __vue_render__ = function () {
|
|
|
269
261
|
_vm.proxyModelValue = null;
|
|
270
262
|
}
|
|
271
263
|
}
|
|
272
|
-
}, 'input', _vm
|
|
264
|
+
}, 'input', _vm.$attrs, false)) : _c('input', _vm._b({
|
|
273
265
|
directives: [{
|
|
274
266
|
name: "model",
|
|
275
267
|
rawName: "v-model",
|
|
276
268
|
value: _vm.proxyModelValue,
|
|
277
269
|
expression: "proxyModelValue"
|
|
278
270
|
}],
|
|
279
|
-
ref: "
|
|
271
|
+
ref: "input",
|
|
280
272
|
class: _vm.controlStyles,
|
|
281
273
|
attrs: {
|
|
274
|
+
"id": _vm.controlId,
|
|
282
275
|
"placeholder": _vm.placeholder,
|
|
283
276
|
"required": _vm.required,
|
|
284
|
-
"readonly": _vm.readonly,
|
|
285
277
|
"disabled": _vm.disabled,
|
|
286
278
|
"type": _vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type
|
|
287
279
|
},
|
|
@@ -308,7 +300,7 @@ var __vue_render__ = function () {
|
|
|
308
300
|
_vm.proxyModelValue = $event.target.value;
|
|
309
301
|
}
|
|
310
302
|
}
|
|
311
|
-
}, 'input', _vm
|
|
303
|
+
}, 'input', _vm.$attrs, false)), _vm._v(" "), _c('div', {
|
|
312
304
|
class: ['layout-row']
|
|
313
305
|
}, [_vm.type === 'password' ? [_c('OrIconButton', {
|
|
314
306
|
attrs: {
|
|
@@ -329,7 +321,7 @@ var __vue_render__ = function () {
|
|
|
329
321
|
attrs: {
|
|
330
322
|
"icon": 'close',
|
|
331
323
|
"color": 'inherit',
|
|
332
|
-
"disabled": _vm.
|
|
324
|
+
"disabled": _vm.disabled
|
|
333
325
|
},
|
|
334
326
|
on: {
|
|
335
327
|
"click": function ($event) {
|
|
@@ -371,14 +363,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
371
363
|
/* style */
|
|
372
364
|
const __vue_inject_styles__ = function (inject) {
|
|
373
365
|
if (!inject) return;
|
|
374
|
-
inject("data-v-
|
|
375
|
-
source: "input[data-v-
|
|
366
|
+
inject("data-v-677a1aa4_0", {
|
|
367
|
+
source: "input[data-v-677a1aa4]{min-width:0;background:0 0;outline:0}input[type=number][data-v-677a1aa4]::-webkit-inner-spin-button{display:none}input[type=search][data-v-677a1aa4]::-webkit-search-cancel-button{display:none}",
|
|
376
368
|
map: undefined,
|
|
377
369
|
media: undefined
|
|
378
370
|
});
|
|
379
371
|
};
|
|
380
372
|
/* scoped */
|
|
381
|
-
const __vue_scope_id__ = "data-v-
|
|
373
|
+
const __vue_scope_id__ = "data-v-677a1aa4";
|
|
382
374
|
/* module identifier */
|
|
383
375
|
const __vue_module_identifier__ = undefined;
|
|
384
376
|
/* functional template */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
2
3
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
3
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
5
|
|
|
@@ -59,6 +60,7 @@ const InputBoxRootSizes = {
|
|
|
59
60
|
|
|
60
61
|
var script = defineComponent({
|
|
61
62
|
name: 'OrInputBox',
|
|
63
|
+
inheritAttrs: false,
|
|
62
64
|
props: {
|
|
63
65
|
variant: {
|
|
64
66
|
type: String,
|
|
@@ -86,7 +88,8 @@ var script = defineComponent({
|
|
|
86
88
|
// Refs
|
|
87
89
|
const root = ref();
|
|
88
90
|
// Styles
|
|
89
|
-
const
|
|
91
|
+
const classAttribute = useClassAttribute();
|
|
92
|
+
const rootStyles = computed(() => ['or-input-box', ...InputBoxRoot, ...InputBoxRootVariants[props.variant], ...InputBoxRootSizes[props.size], classAttribute.value]);
|
|
90
93
|
return {
|
|
91
94
|
root,
|
|
92
95
|
rootStyles
|
|
@@ -102,7 +105,7 @@ var __vue_render__ = function () {
|
|
|
102
105
|
var _vm = this;
|
|
103
106
|
var _h = _vm.$createElement;
|
|
104
107
|
var _c = _vm._self._c || _h;
|
|
105
|
-
return _c('div', {
|
|
108
|
+
return _c('div', _vm._b({
|
|
106
109
|
ref: "root",
|
|
107
110
|
class: _vm.rootStyles,
|
|
108
111
|
attrs: {
|
|
@@ -110,7 +113,7 @@ var __vue_render__ = function () {
|
|
|
110
113
|
"readonly": _vm.readonly ? '' : null,
|
|
111
114
|
"disabled": _vm.disabled ? '' : null
|
|
112
115
|
}
|
|
113
|
-
}, [_vm._t("default")], 2);
|
|
116
|
+
}, 'div', _vm.$attrs, false), [_vm._t("default")], 2);
|
|
114
117
|
};
|
|
115
118
|
var __vue_staticRenderFns__ = [];
|
|
116
119
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
2
3
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
3
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
5
|
|
|
@@ -38,6 +39,7 @@ const LabelAddon = [
|
|
|
38
39
|
|
|
39
40
|
var script = defineComponent({
|
|
40
41
|
name: 'OrLabel',
|
|
42
|
+
inheritAttrs: false,
|
|
41
43
|
props: {
|
|
42
44
|
controlId: {
|
|
43
45
|
type: String,
|
|
@@ -61,7 +63,8 @@ var script = defineComponent({
|
|
|
61
63
|
// Refs
|
|
62
64
|
const root = ref();
|
|
63
65
|
// Styles
|
|
64
|
-
const
|
|
66
|
+
const classAttribute = useClassAttribute();
|
|
67
|
+
const rootStyles = computed(() => ['or-label', ...LabelRoot, ...LabelRootVariants[props.variant], classAttribute.value]);
|
|
65
68
|
const textStyles = computed(() => [...LabelText]);
|
|
66
69
|
const addonStyles = computed(() => [...LabelAddon]);
|
|
67
70
|
return {
|
|
@@ -81,13 +84,13 @@ var __vue_render__ = function () {
|
|
|
81
84
|
var _vm = this;
|
|
82
85
|
var _h = _vm.$createElement;
|
|
83
86
|
var _c = _vm._self._c || _h;
|
|
84
|
-
return _c('div', {
|
|
87
|
+
return _c('div', _vm._b({
|
|
85
88
|
ref: "root",
|
|
86
89
|
class: _vm.rootStyles,
|
|
87
90
|
attrs: {
|
|
88
91
|
"disabled": _vm.disabled ? '' : null
|
|
89
92
|
}
|
|
90
|
-
}, [_c('label', {
|
|
93
|
+
}, 'div', _vm.$attrs, false), [_c('label', {
|
|
91
94
|
class: _vm.textStyles,
|
|
92
95
|
attrs: {
|
|
93
96
|
"for": _vm.controlId,
|