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