@onereach/ui-components 2.71.1-beta.2237.0 → 2.71.1
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-3dee1926.js → OrCardCollection-091e2193.js} +9 -12
- package/dist/bundled/v2/{OrCheckbox-dbef9f9a.js → OrCheckbox-9be450f9.js} +41 -34
- package/dist/bundled/v2/{OrConfirm-5fd7f8bb.js → OrConfirm-bb2df177.js} +4 -3
- 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-76043aa4.js → OrIconButton-4bdd1566.js} +6 -15
- package/dist/bundled/v2/{OrInlineInput-7faf5534.js → OrInlineInput-b009a043.js} +47 -39
- package/dist/bundled/v2/{OrInlineInputBox-f457210f.js → OrInlineInputBox-7a8e645b.js} +3 -6
- package/dist/bundled/v2/{OrInlineTextarea-a9bfe477.js → OrInlineTextarea-6e8c1f80.js} +43 -35
- package/dist/bundled/v2/{OrInput-d4173a5a.js → OrInput-5404a234.js} +53 -50
- 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-6484c944.js → OrModal-51b9f3e7.js} +3 -5
- package/dist/bundled/v2/{OrNotification-35ec61a9.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-daf25de2.js} +15 -25
- 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-fe23947a.js} +39 -32
- package/dist/bundled/v2/{OrSearch-ae350dc7.js → OrSearch-d1169241.js} +6 -9
- package/dist/bundled/v2/{OrSegmentedControl-21cc914e.js → OrSegmentedControl-878279bf.js} +12 -22
- package/dist/bundled/v2/{OrSelect-e3ee8d12.js → OrSelect-5634790b.js} +22 -30
- package/dist/bundled/v2/{OrSkeletonText-516993b4.js → OrSkeletonText-9a2f39dc.js} +11 -18
- package/dist/bundled/v2/{OrSortHeader-9932d28f.js → OrSortHeader-565ace92.js} +12 -20
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-782d7b43.js} +40 -33
- package/dist/bundled/v2/{OrTab-dd949240.js → OrTab-8c5acf8a.js} +3 -6
- package/dist/bundled/v2/{OrTabs-42f7c52c.js → OrTabs-d69780fc.js} +12 -19
- package/dist/bundled/v2/{OrTag-b9ace427.js → OrTag-8d738be6.js} +4 -7
- package/dist/bundled/v2/{OrText-eac4b9f5.js → OrText-a665b991.js} +3 -6
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-5c57c02b.js} +49 -37
- 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 +23 -18
- 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 -13
- 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 -19
- 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 -19
- 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 -21
- 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 -13
- 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 -15
- 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 +5 -16
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +1 -2
- package/dist/{esm/v3/components/or-segmented-control-v3/components → bundled/v2/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -16
- 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 +4 -15
- 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 +23 -18
- 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 +4 -15
- 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 -19
- 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-7f69189b.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-95abfcc1.js → OrCardCollection.vue_vue_type_script_lang-60403ae6.js} +42 -46
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-8b36e06c.js → OrCheckbox.vue_vue_type_script_lang-fc067611.js} +31 -24
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-16dfa0b6.js → OrConfirm.vue_vue_type_script_lang-9231d51e.js} +7 -6
- 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-50df6117.js → OrIconButton-428dd2cf.js} +2 -3
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-b1490ad1.js → OrIconButton.vue_vue_type_script_lang-ec6a3622.js} +13 -22
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-9f237eb5.js → OrInlineInput.vue_vue_type_script_lang-ab296efc.js} +41 -33
- 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-d9e0eb26.js → OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js} +41 -33
- package/dist/bundled/v3/{OrInput-a0b9a900.js → OrInput-2a7c6b57.js} +7 -7
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-f3ce4d61.js → OrInput.vue_vue_type_script_lang-509de504.js} +44 -41
- 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-e4f57a5e.js → OrModal.vue_vue_type_script_lang-5a71a851.js} +5 -7
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-f580ebc1.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-f64827ef.js} +17 -27
- 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-8dc0720c.js} +31 -24
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-8c220bb4.js → OrSearch.vue_vue_type_script_lang-ab2ef22c.js} +5 -8
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-579406f5.js → OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js} +14 -25
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-3f4e09e9.js → OrSelect.vue_vue_type_script_lang-54f683a2.js} +45 -54
- 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-a20eae87.js} +11 -19
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +33 -26
- 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-cb550e87.js} +20 -28
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-5db8644c.js → OrTag.vue_vue_type_script_lang-cd3e040e.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-296da567.js} +45 -34
- package/dist/bundled/v3/{OrToastContainer-c5d7acf8.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 +23 -18
- 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 -13
- 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 -19
- 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 -19
- 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 -21
- 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 -13
- 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 -15
- 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 +5 -16
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +1 -2
- package/dist/bundled/{v2/components/or-segmented-control-v3/components → v3/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -16
- 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 +4 -15
- 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 +23 -18
- 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 +4 -15
- 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 -19
- 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 +192 -205
- package/dist/bundled/v3/{types-f7b07e1a.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-259b2e2b.js → OrCardCollection-bbdb6159.js} +11 -15
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-b380c131.js} +41 -34
- package/dist/esm/v2/{OrConfirm-921dbb5d.js → OrConfirm-cfaf4266.js} +4 -3
- 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-3c81fd64.js → OrIconButton-5fa56aec.js} +7 -17
- package/dist/esm/v2/{OrInlineInput-1ad5ea15.js → OrInlineInput-38645a8e.js} +47 -39
- package/dist/esm/v2/{OrInlineInputBox-fefd4fbd.js → OrInlineInputBox-46146af0.js} +3 -7
- package/dist/esm/v2/{OrInlineTextarea-bfe528e7.js → OrInlineTextarea-b49a7107.js} +43 -35
- package/dist/esm/v2/{OrInput-59cc6981.js → OrInput-e8fe9102.js} +53 -50
- 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-8c6fdab4.js → OrModal-3b9d59de.js} +3 -6
- package/dist/esm/v2/{OrNotification-c0d70dc7.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-1adbcadb.js} +16 -27
- 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-87a4d226.js} +39 -32
- package/dist/esm/v2/{OrSearch-ebc3b81c.js → OrSearch-4b774707.js} +6 -9
- package/dist/esm/v2/{OrSegmentedControl-e8dce8f9.js → OrSegmentedControl-7486115b.js} +12 -23
- package/dist/esm/v2/{OrSelect-7317a963.js → OrSelect-d7016575.js} +22 -30
- package/dist/esm/v2/{OrSkeletonText-950be6a2.js → OrSkeletonText-6ee72718.js} +11 -19
- package/dist/esm/v2/{OrSortHeader-19bf94ca.js → OrSortHeader-592727dc.js} +12 -21
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-8549219a.js} +40 -33
- package/dist/esm/v2/{OrTab-702e7335.js → OrTab-1ff87c76.js} +3 -7
- package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-96b0473d.js} +13 -20
- package/dist/esm/v2/{OrTag-842193c2.js → OrTag-765090df.js} +4 -8
- package/dist/esm/v2/{OrText-ba5a2b6c.js → OrText-b12d0682.js} +3 -7
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-a5a3572b.js} +49 -37
- 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 +23 -18
- 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 -13
- 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 -19
- 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 -19
- 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 -21
- 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 -13
- 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 -15
- 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 +5 -16
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +1 -3
- package/dist/{bundled/v3/components/or-segmented-control-v3/components → esm/v2/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +5 -16
- 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 +4 -15
- 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 +23 -18
- 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 +4 -15
- 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 -19
- 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-3ff6f029.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-2886a9ca.js → OrCardCollection-47f61c40.js} +14 -19
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-16c1e2f4.js} +40 -32
- package/dist/esm/v3/{OrConfirm-1d9bfd2a.js → OrConfirm-e7cbf54c.js} +4 -3
- 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-7a512558.js → OrIconButton-e5781317.js} +8 -18
- package/dist/esm/v3/{OrInlineInput-54c7b053.js → OrInlineInput-09de432a.js} +41 -33
- package/dist/esm/v3/{OrInlineInputBox-8049f95a.js → OrInlineInputBox-09b33e18.js} +6 -11
- package/dist/esm/v3/{OrInlineTextarea-5a8fc512.js → OrInlineTextarea-56328f22.js} +41 -33
- package/dist/esm/v3/{OrInput-639352e4.js → OrInput-6fb81556.js} +45 -42
- 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-4cd576c7.js → OrModal-10838da7.js} +3 -6
- package/dist/esm/v3/{OrNotification-cb49acef.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-da9e5017.js} +20 -32
- 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-bb9b37c1.js} +37 -29
- package/dist/esm/v3/{OrSearch-8caf7e53.js → OrSearch-e15955a7.js} +9 -13
- package/dist/esm/v3/{OrSegmentedControl-171cad78.js → OrSegmentedControl-880b4911.js} +19 -32
- package/dist/esm/v3/{OrSelect-3932d4bd.js → OrSelect-027b5e8f.js} +28 -37
- package/dist/esm/v3/{OrSkeletonText-3965ff71.js → OrSkeletonText-afd3d007.js} +22 -33
- package/dist/esm/v3/{OrSortHeader-fe1a9cf8.js → OrSortHeader-a39f77f9.js} +16 -26
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-1c2196da.js} +38 -31
- package/dist/esm/v3/{OrTab-c131cf60.js → OrTab-d3785ea4.js} +6 -11
- package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-328d41b9.js} +13 -20
- package/dist/esm/v3/{OrTag-6db3aaf7.js → OrTag-21ba5e15.js} +8 -13
- package/dist/esm/v3/{OrText-ecb46923.js → OrText-6b4f7cd1.js} +7 -12
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-37566985.js} +47 -35
- 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 +23 -18
- 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 -13
- 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 -19
- 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 -19
- 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 -21
- 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 -13
- 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 -15
- 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 +5 -16
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -3
- package/dist/esm/{v2/components/or-segmented-control-v3/components → v3/components/or-segmented-control-v3/partials}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +5 -16
- 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 +4 -15
- 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 +23 -18
- 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 +4 -15
- 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 -19
- 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-85bee366.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 +3 -2
- 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.stories3.ts +3 -10
- package/src/components/or-checkbox-v3/OrCheckbox.vue +34 -26
- package/src/components/or-confirm-v3/OrConfirm.vue +15 -5
- 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.stories3.ts +0 -4
- package/src/components/or-icon-button-v3/OrIconButton.vue +0 -10
- package/src/components/or-icon-button-v3/styles.ts +0 -13
- 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.stories3.ts +0 -6
- package/src/components/or-inline-input-v3/OrInlineInput.vue +36 -27
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +0 -6
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +36 -27
- package/src/components/or-input-box-v3/OrInputBox.vue +0 -7
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -10
- package/src/components/or-input-v3/OrInput.vue +37 -34
- 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.stories3.ts +0 -6
- package/src/components/or-pagination-v3/OrPagination.vue +9 -27
- 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.stories3.ts +3 -10
- package/src/components/or-radio-v3/OrRadio.vue +33 -25
- package/src/components/or-search-v3/OrSearch.stories3.ts +0 -2
- package/src/components/or-search-v3/OrSearch.vue +1 -8
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +0 -6
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +6 -18
- package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/OrSegmentedControlItem.vue +0 -7
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -6
- package/src/components/or-select-v3/OrSelect.vue +8 -18
- 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.stories3.ts +3 -10
- package/src/components/or-sort-header-v3/OrSortHeader.vue +8 -19
- package/src/components/or-switch-v3/OrSwitch.stories3.ts +3 -10
- package/src/components/or-switch-v3/OrSwitch.vue +33 -25
- package/src/components/or-tab-v3/OrTab.vue +0 -7
- package/src/components/or-tabs-v3/OrTabs.stories3.ts +0 -6
- package/src/components/or-tabs-v3/OrTabs.vue +7 -16
- 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 -10
- package/src/components/or-textarea-v3/OrTextarea.vue +41 -28
- 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
- /package/dist/bundled/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/esm/v2/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/esm/v3/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.d.ts +0 -0
- /package/src/components/or-segmented-control-v3/{components → partials}/or-segmented-control-item/styles.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { u as
|
|
1
|
+
import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
2
|
+
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { s as script$1, L as LabelVariant } from './OrLabel-
|
|
4
|
+
import { s as script$1, L as LabelVariant } from './OrLabel-f700f9fb.js';
|
|
5
5
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, mergeProps, vModelRadio, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
7
7
|
|
|
@@ -40,17 +40,16 @@ var script = defineComponent({
|
|
|
40
40
|
components: {
|
|
41
41
|
OrLabel: script$1
|
|
42
42
|
},
|
|
43
|
-
|
|
43
|
+
model: {
|
|
44
|
+
prop: 'modelValue',
|
|
45
|
+
event: 'update:modelValue'
|
|
46
|
+
},
|
|
44
47
|
props: {
|
|
45
48
|
modelValue: {
|
|
46
49
|
type: String,
|
|
47
50
|
default: undefined
|
|
48
51
|
},
|
|
49
52
|
value: {
|
|
50
|
-
type: String,
|
|
51
|
-
default: undefined
|
|
52
|
-
},
|
|
53
|
-
inputValue: {
|
|
54
53
|
type: String,
|
|
55
54
|
required: true
|
|
56
55
|
},
|
|
@@ -71,59 +70,68 @@ var script = defineComponent({
|
|
|
71
70
|
default: false
|
|
72
71
|
}
|
|
73
72
|
},
|
|
74
|
-
emits: ['update:modelValue', '
|
|
75
|
-
expose: ['root'],
|
|
73
|
+
emits: ['update:modelValue', 'focus', 'blur'],
|
|
74
|
+
expose: ['root', 'focus', 'blur'],
|
|
76
75
|
setup(props, context) {
|
|
77
|
-
var _a;
|
|
78
|
-
const currentInstance = getCurrentInstance();
|
|
79
76
|
// Refs
|
|
80
77
|
const root = ref();
|
|
78
|
+
const control = ref();
|
|
81
79
|
// Styles
|
|
82
|
-
const
|
|
83
|
-
const rootStyles = computed(() => ['or-radio', ...RadioRoot, classAttribute.value]);
|
|
80
|
+
const rootStyles = computed(() => ['or-radio', ...RadioRoot]);
|
|
84
81
|
const controlStyles = computed(() => [...RadioControl, ...RadioControlHandle]);
|
|
85
82
|
// State
|
|
86
|
-
const
|
|
83
|
+
const controlAttributes = reactive({
|
|
84
|
+
id: useIdAttribute(),
|
|
85
|
+
...useControlAttributes()
|
|
86
|
+
});
|
|
87
87
|
const proxyModelValue = computed({
|
|
88
|
-
get: () =>
|
|
89
|
-
var _a;
|
|
90
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
91
|
-
},
|
|
92
|
-
|
|
88
|
+
get: () => props.modelValue,
|
|
93
89
|
set: value => {
|
|
94
|
-
context.emit('input', value);
|
|
95
90
|
context.emit('update:modelValue', value);
|
|
96
91
|
}
|
|
97
92
|
});
|
|
93
|
+
// Methods
|
|
94
|
+
function focus() {
|
|
95
|
+
var _a;
|
|
96
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
97
|
+
}
|
|
98
|
+
function blur() {
|
|
99
|
+
var _a;
|
|
100
|
+
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
101
|
+
}
|
|
98
102
|
return {
|
|
99
103
|
root,
|
|
104
|
+
control,
|
|
100
105
|
rootStyles,
|
|
101
106
|
controlStyles,
|
|
102
|
-
|
|
103
|
-
proxyModelValue
|
|
107
|
+
controlAttributes,
|
|
108
|
+
proxyModelValue,
|
|
109
|
+
focus,
|
|
110
|
+
blur
|
|
104
111
|
};
|
|
105
112
|
}
|
|
106
113
|
});
|
|
107
114
|
|
|
108
|
-
const _hoisted_1 = ["
|
|
115
|
+
const _hoisted_1 = ["value", "required", "disabled"];
|
|
109
116
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
110
117
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
111
118
|
return openBlock(), createElementBlock("div", {
|
|
112
119
|
ref: "root",
|
|
113
120
|
class: normalizeClass(_ctx.rootStyles)
|
|
114
|
-
}, [withDirectives(createElementVNode("input", mergeProps(
|
|
115
|
-
|
|
116
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
121
|
+
}, [withDirectives(createElementVNode("input", mergeProps({
|
|
122
|
+
ref: "control",
|
|
123
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
124
|
+
}, _ctx.controlAttributes, {
|
|
117
125
|
class: _ctx.controlStyles,
|
|
118
126
|
type: "radio",
|
|
119
|
-
value: _ctx.
|
|
127
|
+
value: _ctx.value,
|
|
120
128
|
required: _ctx.required,
|
|
121
129
|
disabled: _ctx.disabled,
|
|
122
130
|
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
123
131
|
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
|
|
124
132
|
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelRadio, _ctx.proxyModelValue]]), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
125
133
|
key: 0,
|
|
126
|
-
"control-id": _ctx.
|
|
134
|
+
"control-id": _ctx.controlAttributes.id,
|
|
127
135
|
variant: _ctx.labelVariant,
|
|
128
136
|
required: _ctx.required,
|
|
129
137
|
disabled: _ctx.disabled
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
-
import {
|
|
4
|
-
import { s as script$1 } from './OrInput-
|
|
5
|
-
import { a as InputBoxSize } from './OrInputBox-
|
|
6
|
-
import { resolveComponent, openBlock, createBlock,
|
|
2
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
+
import { s as script$1 } from './OrInput-6fb81556.js';
|
|
4
|
+
import { a as InputBoxSize } from './OrInputBox-e16ade90.js';
|
|
5
|
+
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
7
6
|
|
|
8
7
|
var script = defineComponent({
|
|
9
8
|
name: 'OrSearch',
|
|
10
9
|
components: {
|
|
11
10
|
OrInput: script$1
|
|
12
11
|
},
|
|
13
|
-
inheritAttrs: false,
|
|
14
12
|
props: {
|
|
15
13
|
modelValue: {
|
|
16
14
|
type: String,
|
|
@@ -45,8 +43,7 @@ var script = defineComponent({
|
|
|
45
43
|
// Refs
|
|
46
44
|
const root = ref();
|
|
47
45
|
// Styles
|
|
48
|
-
const
|
|
49
|
-
const rootStyles = computed(() => ['or-search', classAttribute.value]);
|
|
46
|
+
const rootStyles = computed(() => ['or-search']);
|
|
50
47
|
// State
|
|
51
48
|
const localModelValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : '');
|
|
52
49
|
// Events
|
|
@@ -79,15 +76,14 @@ var script = defineComponent({
|
|
|
79
76
|
|
|
80
77
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81
78
|
const _component_OrInput = resolveComponent("OrInput");
|
|
82
|
-
return openBlock(), createBlock(_component_OrInput,
|
|
83
|
-
ref: "root"
|
|
84
|
-
}, _ctx.$attrs, {
|
|
79
|
+
return openBlock(), createBlock(_component_OrInput, {
|
|
80
|
+
ref: "root",
|
|
85
81
|
modelValue: _ctx.localModelValue,
|
|
86
82
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.localModelValue = $event),
|
|
87
83
|
modelModifiers: {
|
|
88
84
|
trim: true
|
|
89
85
|
},
|
|
90
|
-
class: _ctx.rootStyles,
|
|
86
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
91
87
|
type: 'search',
|
|
92
88
|
size: _ctx.size,
|
|
93
89
|
placeholder: _ctx.placeholder,
|
|
@@ -99,7 +95,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
99
95
|
onKeyup: _cache[3] || (_cache[3] = $event => _ctx.$emit('keyup', $event)),
|
|
100
96
|
onFocus: _cache[4] || (_cache[4] = $event => _ctx.$emit('focus', $event)),
|
|
101
97
|
onBlur: _cache[5] || (_cache[5] = $event => _ctx.$emit('blur', $event))
|
|
102
|
-
}
|
|
98
|
+
}, null, 8 /* PROPS */, ["modelValue", "class", "size", "placeholder", "debounce", "disabled", "disable-default-styles"]);
|
|
103
99
|
}
|
|
104
100
|
|
|
105
101
|
script.render = render;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, isVue2 } from 'vue-demi';
|
|
2
|
-
import {
|
|
3
|
-
import '@vueuse/core';
|
|
4
|
-
import { openBlock, createElementBlock, mergeProps, createElementVNode, renderSlot, normalizeClass, resolveComponent, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
+
import { openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, resolveComponent, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
5
3
|
|
|
6
4
|
const SegmentedControlItemRoot = [
|
|
7
5
|
// Layout
|
|
@@ -35,7 +33,6 @@ const SegmentedControlItemRootSizes = {
|
|
|
35
33
|
|
|
36
34
|
var script$1 = defineComponent({
|
|
37
35
|
name: 'OrSegmentedControlItem',
|
|
38
|
-
inheritAttrs: false,
|
|
39
36
|
props: {
|
|
40
37
|
size: {
|
|
41
38
|
type: String,
|
|
@@ -54,8 +51,7 @@ var script$1 = defineComponent({
|
|
|
54
51
|
// Refs
|
|
55
52
|
const root = ref();
|
|
56
53
|
// Styles
|
|
57
|
-
const
|
|
58
|
-
const rootStyles = computed(() => ['or-segmented-control-item', ...SegmentedControlItemRoot, ...SegmentedControlItemRootSizes[props.size], classAttribute.value]);
|
|
54
|
+
const rootStyles = computed(() => ['or-segmented-control-item', ...SegmentedControlItemRoot, ...SegmentedControlItemRootSizes[props.size]]);
|
|
59
55
|
// Handlers
|
|
60
56
|
function onClick(event) {
|
|
61
57
|
if (isVue2) {
|
|
@@ -75,18 +71,17 @@ const _hoisted_2 = {
|
|
|
75
71
|
class: /*#__PURE__*/normalizeClass(['truncate'])
|
|
76
72
|
};
|
|
77
73
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
78
|
-
return openBlock(), createElementBlock("div",
|
|
79
|
-
ref: "root"
|
|
80
|
-
|
|
81
|
-
class: _ctx.rootStyles,
|
|
74
|
+
return openBlock(), createElementBlock("div", {
|
|
75
|
+
ref: "root",
|
|
76
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
82
77
|
selected: _ctx.selected ? '' : null,
|
|
83
78
|
disabled: _ctx.disabled ? '' : null,
|
|
84
79
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
85
|
-
}
|
|
80
|
+
}, [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 10 /* CLASS, PROPS */, _hoisted_1);
|
|
86
81
|
}
|
|
87
82
|
|
|
88
83
|
script$1.render = render$1;
|
|
89
|
-
script$1.__file = "src/components/or-segmented-control-v3/
|
|
84
|
+
script$1.__file = "src/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue";
|
|
90
85
|
|
|
91
86
|
var SegmentedControlSize;
|
|
92
87
|
(function (SegmentedControlSize) {
|
|
@@ -113,7 +108,10 @@ var script = defineComponent({
|
|
|
113
108
|
components: {
|
|
114
109
|
OrSegmentedControlItem: script$1
|
|
115
110
|
},
|
|
116
|
-
|
|
111
|
+
model: {
|
|
112
|
+
prop: 'modelValue',
|
|
113
|
+
event: 'update:modelValue'
|
|
114
|
+
},
|
|
117
115
|
props: {
|
|
118
116
|
options: {
|
|
119
117
|
type: Array,
|
|
@@ -123,10 +121,6 @@ var script = defineComponent({
|
|
|
123
121
|
type: String,
|
|
124
122
|
default: undefined
|
|
125
123
|
},
|
|
126
|
-
value: {
|
|
127
|
-
type: String,
|
|
128
|
-
default: undefined
|
|
129
|
-
},
|
|
130
124
|
size: {
|
|
131
125
|
type: String,
|
|
132
126
|
default: SegmentedControlSize.M
|
|
@@ -136,23 +130,17 @@ var script = defineComponent({
|
|
|
136
130
|
default: false
|
|
137
131
|
}
|
|
138
132
|
},
|
|
139
|
-
emits: ['update:modelValue'
|
|
133
|
+
emits: ['update:modelValue'],
|
|
140
134
|
expose: ['root'],
|
|
141
135
|
setup(props, context) {
|
|
142
136
|
// Refs
|
|
143
137
|
const root = ref();
|
|
144
138
|
// Styles
|
|
145
|
-
const
|
|
146
|
-
const rootStyles = computed(() => ['or-segmented-control', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size], classAttribute.value]);
|
|
139
|
+
const rootStyles = computed(() => ['or-segmented-control', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size]]);
|
|
147
140
|
// State
|
|
148
141
|
const proxyModelValue = computed({
|
|
149
|
-
get: () =>
|
|
150
|
-
var _a;
|
|
151
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
152
|
-
},
|
|
153
|
-
|
|
142
|
+
get: () => props.modelValue,
|
|
154
143
|
set: value => {
|
|
155
|
-
context.emit('input', value);
|
|
156
144
|
context.emit('update:modelValue', value);
|
|
157
145
|
}
|
|
158
146
|
});
|
|
@@ -166,11 +154,10 @@ var script = defineComponent({
|
|
|
166
154
|
|
|
167
155
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
168
156
|
const _component_OrSegmentedControlItem = resolveComponent("OrSegmentedControlItem");
|
|
169
|
-
return openBlock(), createElementBlock("div",
|
|
170
|
-
ref: "root"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}), [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, option => {
|
|
157
|
+
return openBlock(), createElementBlock("div", {
|
|
158
|
+
ref: "root",
|
|
159
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
160
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, option => {
|
|
174
161
|
return openBlock(), createBlock(_component_OrSegmentedControlItem, {
|
|
175
162
|
key: option.value,
|
|
176
163
|
size: _ctx.size,
|
|
@@ -182,7 +169,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
182
169
|
|
|
183
170
|
_: 2 /* DYNAMIC */
|
|
184
171
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["size", "selected", "disabled", "onClick"]);
|
|
185
|
-
}), 128 /* KEYED_FRAGMENT */))],
|
|
172
|
+
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
|
|
186
173
|
}
|
|
187
174
|
|
|
188
175
|
script.render = render;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue-demi';
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
3
|
-
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
3
|
import { u as useOverflow } from './useOverflow-af6161c8.js';
|
|
5
4
|
import '@vueuse/core';
|
|
6
|
-
import { s as script$1 } from './OrCheckbox-
|
|
7
|
-
import { s as script$2 } from './OrError-
|
|
8
|
-
import { s as script$3 } from './OrExpansionPanel-
|
|
9
|
-
import { s as script$4 } from './OrHint-
|
|
10
|
-
import { s as script$5 } from './OrIcon-
|
|
11
|
-
import { s as script$7, a as InputBoxSize } from './OrInputBox-
|
|
12
|
-
import { s as script$6 } from './OrInput-
|
|
13
|
-
import { s as script$8 } from './OrLabel-
|
|
14
|
-
import { s as script$9 } from './OrMenuItem-
|
|
15
|
-
import { s as script$a } from './OrPopover-
|
|
16
|
-
import { s as script$b } from './OrTag-
|
|
17
|
-
import { resolveComponent, resolveDirective, openBlock, createElementBlock,
|
|
5
|
+
import { s as script$1 } from './OrCheckbox-16c1e2f4.js';
|
|
6
|
+
import { s as script$2 } from './OrError-19198748.js';
|
|
7
|
+
import { s as script$3 } from './OrExpansionPanel-3a4282da.js';
|
|
8
|
+
import { s as script$4 } from './OrHint-6863124f.js';
|
|
9
|
+
import { s as script$5 } from './OrIcon-34f59f73.js';
|
|
10
|
+
import { s as script$7, a as InputBoxSize } from './OrInputBox-e16ade90.js';
|
|
11
|
+
import { s as script$6 } from './OrInput-6fb81556.js';
|
|
12
|
+
import { s as script$8 } from './OrLabel-f700f9fb.js';
|
|
13
|
+
import { s as script$9 } from './OrMenuItem-58707d47.js';
|
|
14
|
+
import { s as script$a } from './OrPopover-40217b49.js';
|
|
15
|
+
import { s as script$b } from './OrTag-21ba5e15.js';
|
|
16
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, Fragment, renderList, createVNode, withModifiers } from 'vue';
|
|
18
17
|
|
|
19
18
|
const SelectRoot = [
|
|
20
19
|
// Layout
|
|
@@ -71,7 +70,10 @@ var script = defineComponent({
|
|
|
71
70
|
DropdownClose,
|
|
72
71
|
DropdownOpen
|
|
73
72
|
},
|
|
74
|
-
|
|
73
|
+
model: {
|
|
74
|
+
prop: 'modelValue',
|
|
75
|
+
event: 'update:modelValue'
|
|
76
|
+
},
|
|
75
77
|
props: {
|
|
76
78
|
options: {
|
|
77
79
|
type: Array,
|
|
@@ -85,10 +87,6 @@ var script = defineComponent({
|
|
|
85
87
|
type: [String, Number, Array],
|
|
86
88
|
default: undefined
|
|
87
89
|
},
|
|
88
|
-
value: {
|
|
89
|
-
type: [String, Number, Array],
|
|
90
|
-
default: undefined
|
|
91
|
-
},
|
|
92
90
|
multiple: {
|
|
93
91
|
type: Boolean,
|
|
94
92
|
default: false
|
|
@@ -146,7 +144,7 @@ var script = defineComponent({
|
|
|
146
144
|
default: false
|
|
147
145
|
}
|
|
148
146
|
},
|
|
149
|
-
emits: ['update:modelValue', '
|
|
147
|
+
emits: ['update:modelValue', 'focus', 'blur', 'search'],
|
|
150
148
|
expose: ['root'],
|
|
151
149
|
setup(props, context) {
|
|
152
150
|
var _a;
|
|
@@ -169,8 +167,7 @@ var script = defineComponent({
|
|
|
169
167
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
170
168
|
});
|
|
171
169
|
// Styles
|
|
172
|
-
const
|
|
173
|
-
const rootStyles = computed(() => ['or-select', ...SelectRoot, classAttribute.value]);
|
|
170
|
+
const rootStyles = computed(() => ['or-select', ...SelectRoot]);
|
|
174
171
|
const controlStyles = computed(() => [...SelectControl]);
|
|
175
172
|
const placeholderStyles = computed(() => [...SelectPlaceholder]);
|
|
176
173
|
const dropdownStyles = computed(() => [...SelectDropdown]);
|
|
@@ -178,13 +175,8 @@ var script = defineComponent({
|
|
|
178
175
|
// State
|
|
179
176
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
180
177
|
const proxyModelValue = computed({
|
|
181
|
-
get: () =>
|
|
182
|
-
var _a;
|
|
183
|
-
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
184
|
-
},
|
|
185
|
-
|
|
178
|
+
get: () => props.modelValue,
|
|
186
179
|
set: value => {
|
|
187
|
-
context.emit('input', value);
|
|
188
180
|
context.emit('update:modelValue', value);
|
|
189
181
|
}
|
|
190
182
|
});
|
|
@@ -308,11 +300,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
308
300
|
const _component_OrError = resolveComponent("OrError");
|
|
309
301
|
const _directive_dropdown_open = resolveDirective("dropdown-open");
|
|
310
302
|
const _directive_dropdown_close = resolveDirective("dropdown-close");
|
|
311
|
-
return openBlock(), createElementBlock("div",
|
|
312
|
-
ref: "root"
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
303
|
+
return openBlock(), createElementBlock("div", {
|
|
304
|
+
ref: "root",
|
|
305
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
306
|
+
}, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
316
307
|
key: 0,
|
|
317
308
|
"control-id": _ctx.controlId,
|
|
318
309
|
variant: 'input',
|
|
@@ -409,10 +400,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
409
400
|
}, () => [createVNode(_component_OrCheckbox, {
|
|
410
401
|
modelValue: _ctx.proxyModelValue,
|
|
411
402
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => _ctx.proxyModelValue = $event),
|
|
412
|
-
|
|
403
|
+
value: option.value,
|
|
413
404
|
label: option.label,
|
|
414
405
|
"label-variant": 'input'
|
|
415
|
-
}, null, 8 /* PROPS */, ["modelValue", "
|
|
406
|
+
}, null, 8 /* PROPS */, ["modelValue", "value", "label"])])]),
|
|
416
407
|
_: 2 /* DYNAMIC */
|
|
417
408
|
}, 1024 /* DYNAMIC_SLOTS */);
|
|
418
409
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
@@ -450,10 +441,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
450
441
|
}, () => [createVNode(_component_OrCheckbox, {
|
|
451
442
|
modelValue: _ctx.proxyModelValue,
|
|
452
443
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.proxyModelValue = $event),
|
|
453
|
-
|
|
444
|
+
value: option.value,
|
|
454
445
|
label: option.label,
|
|
455
446
|
"label-variant": 'input'
|
|
456
|
-
}, null, 8 /* PROPS */, ["modelValue", "
|
|
447
|
+
}, null, 8 /* PROPS */, ["modelValue", "value", "label"])])]),
|
|
457
448
|
_: 2 /* DYNAMIC */
|
|
458
449
|
}, 1024 /* DYNAMIC_SLOTS */);
|
|
459
450
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
@@ -497,7 +488,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
497
488
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
498
489
|
|
|
499
490
|
_: 1 /* STABLE */
|
|
500
|
-
}, 8 /* PROPS */, ["disabled"]))],
|
|
491
|
+
}, 8 /* PROPS */, ["disabled"]))], 2 /* CLASS */);
|
|
501
492
|
}
|
|
502
493
|
|
|
503
494
|
script.render = render;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
1
|
import _ from 'lodash';
|
|
2
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
3
3
|
import { p as pxToRem } from './px-to-rem-0b26b83e.js';
|
|
4
|
-
import {
|
|
5
|
-
import '@vueuse/core';
|
|
6
|
-
import { openBlock, createElementBlock, mergeProps, Fragment, renderList, normalizeClass, normalizeStyle } from 'vue';
|
|
4
|
+
import { openBlock, createElementBlock, normalizeClass, normalizeStyle, Fragment, renderList } from 'vue';
|
|
7
5
|
|
|
8
6
|
const SkeletonRoot = [
|
|
9
7
|
// Position
|
|
@@ -40,7 +38,6 @@ const SkeletonAnimated = [
|
|
|
40
38
|
|
|
41
39
|
var script$2 = defineComponent({
|
|
42
40
|
name: 'OrSkeletonCircle',
|
|
43
|
-
inheritAttrs: false,
|
|
44
41
|
props: {
|
|
45
42
|
animated: {
|
|
46
43
|
type: Boolean,
|
|
@@ -58,8 +55,7 @@ var script$2 = defineComponent({
|
|
|
58
55
|
// Refs
|
|
59
56
|
const root = ref();
|
|
60
57
|
// Styles
|
|
61
|
-
const
|
|
62
|
-
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-circle', ...SkeletonRoot, ...SkeletonCircle, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
|
|
58
|
+
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-circle', ...SkeletonRoot, ...SkeletonCircle, ...(props.animated ? SkeletonAnimated : [])]);
|
|
63
59
|
const rootStyle = computed(() => {
|
|
64
60
|
var _a;
|
|
65
61
|
const size = (_a = props.size) !== null && _a !== void 0 ? _a : 40; // 40px - medium OrAvatar
|
|
@@ -80,12 +76,11 @@ var script$2 = defineComponent({
|
|
|
80
76
|
});
|
|
81
77
|
|
|
82
78
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
|
-
return openBlock(), createElementBlock("div",
|
|
84
|
-
ref: "root"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}), null, 16 /* FULL_PROPS */);
|
|
79
|
+
return openBlock(), createElementBlock("div", {
|
|
80
|
+
ref: "root",
|
|
81
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
82
|
+
style: normalizeStyle(_ctx.rootStyle)
|
|
83
|
+
}, null, 6 /* CLASS, STYLE */);
|
|
89
84
|
}
|
|
90
85
|
|
|
91
86
|
script$2.render = render$2;
|
|
@@ -93,7 +88,6 @@ script$2.__file = "src/components/or-skeleton-v3/OrSkeletonCircle.vue";
|
|
|
93
88
|
|
|
94
89
|
var script$1 = defineComponent({
|
|
95
90
|
name: 'OrSkeletonRect',
|
|
96
|
-
inheritAttrs: false,
|
|
97
91
|
props: {
|
|
98
92
|
animated: {
|
|
99
93
|
type: Boolean,
|
|
@@ -116,8 +110,7 @@ var script$1 = defineComponent({
|
|
|
116
110
|
// Refs
|
|
117
111
|
const root = ref();
|
|
118
112
|
// Styles
|
|
119
|
-
const
|
|
120
|
-
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-rect', ...SkeletonRoot, ...SkeletonRect, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
|
|
113
|
+
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-rect', ...SkeletonRoot, ...SkeletonRect, ...(props.animated ? SkeletonAnimated : [])]);
|
|
121
114
|
const rootStyle = computed(() => {
|
|
122
115
|
var _a, _b;
|
|
123
116
|
const width = (_a = props.width) !== null && _a !== void 0 ? _a : '100%';
|
|
@@ -136,12 +129,11 @@ var script$1 = defineComponent({
|
|
|
136
129
|
});
|
|
137
130
|
|
|
138
131
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
139
|
-
return openBlock(), createElementBlock("div",
|
|
140
|
-
ref: "root"
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}), null, 16 /* FULL_PROPS */);
|
|
132
|
+
return openBlock(), createElementBlock("div", {
|
|
133
|
+
ref: "root",
|
|
134
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
135
|
+
style: normalizeStyle(_ctx.rootStyle)
|
|
136
|
+
}, null, 6 /* CLASS, STYLE */);
|
|
145
137
|
}
|
|
146
138
|
|
|
147
139
|
script$1.render = render$1;
|
|
@@ -149,7 +141,6 @@ script$1.__file = "src/components/or-skeleton-v3/OrSkeletonRect.vue";
|
|
|
149
141
|
|
|
150
142
|
var script = defineComponent({
|
|
151
143
|
name: 'OrSkeletonText',
|
|
152
|
-
inheritAttrs: false,
|
|
153
144
|
props: {
|
|
154
145
|
animated: {
|
|
155
146
|
type: Boolean,
|
|
@@ -182,8 +173,7 @@ var script = defineComponent({
|
|
|
182
173
|
// Refs
|
|
183
174
|
const root = ref();
|
|
184
175
|
// Styles
|
|
185
|
-
const
|
|
186
|
-
const containerStyles = computed(() => ['or-skeleton-text-root', ...SkeletonTextContainerRoot, classAttribute.value]);
|
|
176
|
+
const containerStyles = computed(() => ['or-skeleton-text-root', ...SkeletonTextContainerRoot]);
|
|
187
177
|
const containerStyle = computed(() => {
|
|
188
178
|
var _a;
|
|
189
179
|
const width = (_a = props.width) !== null && _a !== void 0 ? _a : '100%';
|
|
@@ -191,7 +181,7 @@ var script = defineComponent({
|
|
|
191
181
|
'width': _.isNumber(width) ? pxToRem(width) : width
|
|
192
182
|
};
|
|
193
183
|
});
|
|
194
|
-
const rowStyles = computed(() => ['or-skeleton', 'or-skeleton-text', ...SkeletonRoot, ...SkeletonText, ...(props.animated ? SkeletonAnimated : [])
|
|
184
|
+
const rowStyles = computed(() => ['or-skeleton', 'or-skeleton-text', ...SkeletonRoot, ...SkeletonText, ...(props.animated ? SkeletonAnimated : [])]);
|
|
195
185
|
const rowStyle = computed(() => {
|
|
196
186
|
var _a, _b;
|
|
197
187
|
const height = (_a = props.fontSize) !== null && _a !== void 0 ? _a : 16;
|
|
@@ -215,18 +205,17 @@ var script = defineComponent({
|
|
|
215
205
|
});
|
|
216
206
|
|
|
217
207
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
218
|
-
return openBlock(), createElementBlock("div",
|
|
219
|
-
ref: "root"
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}), [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.lineKeys, key => {
|
|
208
|
+
return openBlock(), createElementBlock("div", {
|
|
209
|
+
ref: "root",
|
|
210
|
+
class: normalizeClass(_ctx.containerStyles),
|
|
211
|
+
style: normalizeStyle(_ctx.containerStyle)
|
|
212
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.lineKeys, key => {
|
|
224
213
|
return openBlock(), createElementBlock("div", {
|
|
225
214
|
key: key,
|
|
226
215
|
class: normalizeClass(_ctx.rowStyles),
|
|
227
216
|
style: normalizeStyle(_ctx.rowStyle)
|
|
228
217
|
}, null, 6 /* CLASS, STYLE */);
|
|
229
|
-
}), 128 /* KEYED_FRAGMENT */))],
|
|
218
|
+
}), 128 /* KEYED_FRAGMENT */))], 6 /* CLASS, STYLE */);
|
|
230
219
|
}
|
|
231
220
|
|
|
232
221
|
script.render = render;
|