@onereach/ui-components 4.7.6 → 4.7.7-beta.2879.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/{get-73ac2f59.js → _MapCache-24a89ff6.js} +11 -260
- package/dist/bundled/v2/{_baseAssignValue-0c6c3bcc.js → _baseAssignValue-3880f2c5.js} +1 -1
- package/dist/bundled/v2/{_baseIsEqual-82d7a339.js → _baseIsEqual-d6b58f3c.js} +5 -5
- package/dist/bundled/v2/_getPrototype-c6fd74d2.js +9 -0
- package/dist/bundled/v2/components/OrAvatar/OrAvatar.js +9 -5
- package/dist/bundled/v2/components/OrAvatar/index.js +9 -5
- package/dist/bundled/v2/components/OrButtonV2/OrButton.js +9 -5
- package/dist/bundled/v2/components/OrButtonV2/index.js +9 -5
- package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +9 -5
- package/dist/bundled/v2/components/OrCardCollection/index.js +9 -5
- package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +9 -5
- package/dist/bundled/v2/components/OrCarousel/index.js +9 -5
- package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +9 -5
- package/dist/bundled/v2/components/OrCheckbox/index.js +9 -5
- package/dist/bundled/v2/components/OrChip/OrChip.js +9 -5
- package/dist/bundled/v2/components/OrChip/index.js +9 -5
- package/dist/bundled/v2/components/OrChips/OrChips.js +9 -5
- package/dist/bundled/v2/components/OrChips/index.js +9 -5
- package/dist/bundled/v2/components/OrCode/OrCode.js +9 -5
- package/dist/bundled/v2/components/OrCode/index.js +9 -5
- package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +9 -5
- package/dist/bundled/v2/components/OrCollapse/index.js +9 -5
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +9 -5
- package/dist/bundled/v2/components/OrColorPicker/index.js +9 -5
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +9 -5
- package/dist/bundled/v2/components/OrConfirm/index.js +9 -5
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +11 -7
- package/dist/bundled/v2/components/OrDateTimePicker/index.js +11 -7
- package/dist/bundled/v2/components/OrFloating/OrFloating.js +9 -5
- package/dist/bundled/v2/components/OrFloating/index.js +9 -5
- package/dist/bundled/v2/components/OrIcon/OrIcon.js +9 -5
- package/dist/bundled/v2/components/OrIcon/index.js +9 -5
- package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.js +9 -5
- package/dist/bundled/v2/components/OrIconButtonV2/index.js +9 -5
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +9 -5
- package/dist/bundled/v2/components/OrInlineTextEdit/index.js +9 -5
- package/dist/bundled/v2/components/OrInput/OrInput.js +9 -5
- package/dist/bundled/v2/components/OrInput/index.js +9 -5
- package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +58 -21
- package/dist/bundled/v2/components/OrListOfInputs/index.js +59 -22
- package/dist/bundled/v2/components/{OrList → OrListV3}/OrList.js +55 -47
- package/dist/bundled/v2/components/OrListV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrListV3/index.js +51 -0
- package/dist/bundled/v2/components/OrModal/OrModal.js +9 -5
- package/dist/bundled/v2/components/OrModal/index.js +9 -5
- package/dist/bundled/v2/components/OrNotification/OrNotification.js +9 -5
- package/dist/bundled/v2/components/OrNotification/index.js +9 -5
- package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +9 -5
- package/dist/bundled/v2/components/OrNumberInput/index.js +9 -5
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +9 -5
- package/dist/bundled/v2/components/OrOverflowMenu/index.js +9 -5
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +9 -5
- package/dist/bundled/v2/components/OrPassword/index.js +9 -5
- package/dist/bundled/v2/components/OrProgress/OrProgress.js +7 -5
- package/dist/bundled/v2/components/OrProgress/index.js +7 -5
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +7 -5
- package/dist/bundled/v2/components/OrProgressV3/index.js +7 -5
- package/dist/bundled/v2/components/OrRadio/OrRadio.js +10 -7
- package/dist/bundled/v2/components/OrRadio/index.js +10 -7
- package/dist/bundled/v2/components/OrSearch/OrSearch.js +9 -5
- package/dist/bundled/v2/components/OrSearch/index.js +9 -5
- package/dist/bundled/v2/components/OrSelect/OrSelect.js +12 -8
- package/dist/bundled/v2/components/OrSelect/index.js +12 -8
- package/dist/bundled/v2/components/OrSkeleton/index.js +6 -5
- package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +6 -5
- package/dist/bundled/v2/components/OrSkeletonText/index.js +6 -5
- package/dist/bundled/v2/components/OrSkeletonTextV3/OrSkeletonText.js +6 -5
- package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +6 -5
- package/dist/bundled/v2/components/OrSkeletonV3/index.js +6 -5
- package/dist/bundled/v2/components/OrSlider/OrSlider.js +9 -5
- package/dist/bundled/v2/components/OrSlider/index.js +9 -5
- package/dist/bundled/v2/components/OrStepper/OrStepper.js +9 -5
- package/dist/bundled/v2/components/OrStepper/index.js +9 -5
- package/dist/bundled/v2/components/OrTag/OrTag.js +9 -5
- package/dist/bundled/v2/components/OrTag/index.js +9 -5
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +9 -5
- package/dist/bundled/v2/components/OrTextarea/index.js +9 -5
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +9 -5
- package/dist/bundled/v2/components/OrTextbox/index.js +9 -5
- package/dist/bundled/v2/components/OrToast/OrToast.js +12 -8
- package/dist/bundled/v2/components/OrToast/index.js +12 -8
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +12 -8
- package/dist/bundled/v2/components/OrToastContainer/index.js +12 -8
- package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +9 -5
- package/dist/bundled/v2/components/OrTooltip/index.js +9 -5
- package/dist/bundled/v2/components/index.d.ts +1 -1
- package/dist/bundled/v2/components/index.js +18 -14
- package/dist/bundled/v2/{eq-fa566495.js → eq-ad84f292.js} +1 -1
- package/dist/bundled/v2/get-f18aa4f8.js +254 -0
- package/dist/bundled/v2/index.js +18 -14
- package/dist/bundled/v2/isArray-95dcd53a.js +27 -0
- package/dist/bundled/v2/{isArrayLike-acf249e3.js → isArrayLike-90deda8b.js} +1 -1
- package/dist/bundled/{v3/isEqual-881b7bb5.js → v2/isEqual-7ae49992.js} +1 -1
- package/dist/bundled/{v3/isObject-3a5b854d.js → v2/isObject-76d8037e.js} +5 -33
- package/dist/bundled/v2/isSymbol-e170ff61.js +31 -0
- package/dist/bundled/{v3/range-c87289f7.js → v2/range-4c4a4e22.js} +4 -4
- package/dist/bundled/{v3/round-136c7e43.js → v2/round-20828168.js} +4 -4
- package/dist/bundled/{v3/toFinite-021b0c50.js → v2/toFinite-a262b6fc.js} +2 -1
- package/dist/bundled/v2/{toInteger-db8a475d.js → toInteger-43f68f72.js} +1 -1
- package/dist/bundled/v2/{toString-47fa81b4.js → toString-41da8a6b.js} +4 -28
- package/dist/bundled/v2/utils/functions/dom.js +260 -5
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-552fce16.js → OrAvatar.vue_vue_type_script_lang-7f732c72.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-5b8437d7.js → OrButton.vue_vue_type_script_lang-925382af.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-eb86b548.js → OrCardCollection.vue_vue_type_script_lang-6cd1eea5.js} +3 -3
- package/dist/bundled/v3/{OrCarousel.vue_vue_type_script_lang-75c50882.js → OrCarousel.vue_vue_type_script_lang-e1649af0.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-dedfe767.js → OrCheckbox.vue_vue_type_script_lang-d6e018dc.js} +1 -1
- package/dist/bundled/v3/{OrChip.vue_vue_type_script_lang-d0c62419.js → OrChip.vue_vue_type_script_lang-56da33d4.js} +1 -1
- package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-d7a38038.js → OrChips.vue_vue_type_script_lang-bd587dea.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-46846a36.js → OrCode.vue_vue_type_script_lang-020c575c.js} +2 -2
- package/dist/bundled/v3/{OrCollapse.vue_vue_type_script_lang-e2dcce92.js → OrCollapse.vue_vue_type_script_lang-0d806abb.js} +1 -1
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-2e1845d8.js → OrColorPicker.vue_vue_type_script_lang-af02cb66.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-51f9e144.js → OrConfirm.vue_vue_type_script_lang-da864f6a.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-882ae7ce.js → OrDateTimePicker.vue_vue_type_script_lang-60f5d92b.js} +6 -6
- package/dist/bundled/v3/{OrFloating.vue_vue_type_script_lang-d762f4b0.js → OrFloating.vue_vue_type_script_lang-b8d031af.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-b77bb268.js → OrIcon.vue_vue_type_script_lang-5f31d33e.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-e078ed4c.js → OrIconButton.vue_vue_type_script_lang-a520c527.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-588178e5.js → OrInlineTextEdit.vue_vue_type_script_lang-b8268630.js} +3 -3
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-1be980cf.js → OrInput.vue_vue_type_script_lang-d38e72fb.js} +2 -2
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-c6f46a0e.js → OrList.vue_vue_type_script_lang-77226ed0.js} +18 -18
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-04af76e1.js → OrListOfInputs.vue_vue_type_script_lang-233a2f99.js} +5 -5
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-153819d3.js → OrModal.vue_vue_type_script_lang-9354404b.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-86084f5e.js → OrNotification.vue_vue_type_script_lang-e0860944.js} +2 -2
- package/dist/bundled/v3/{OrNumberInput.vue_vue_type_script_lang-9d6763fa.js → OrNumberInput.vue_vue_type_script_lang-a155c2ef.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-ba3b94e2.js → OrOverflowMenu.vue_vue_type_script_lang-9dd62a62.js} +3 -3
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-fc9e7dc8.js → OrPassword.vue_vue_type_script_lang-1103abf2.js} +2 -2
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-89224310.js → OrProgress.vue_vue_type_script_lang-ab2805dc.js} +1 -1
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-6a2fef77.js → OrProgress.vue_vue_type_script_lang-f604c97d.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-0c087270.js → OrRadio.vue_vue_type_script_lang-9d9933f0.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-933e71b8.js → OrSearch.vue_vue_type_script_lang-f7d8b9e1.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-45cf8f8c.js → OrSelect.vue_vue_type_script_lang-9a24591f.js} +10 -10
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-e068a58a.js → OrSkeletonText.vue_vue_type_script_lang-03ed2026.js} +1 -1
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-6703fb3a.js → OrSkeletonText.vue_vue_type_script_lang-b98e5b0a.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-2a698707.js → OrSlider.vue_vue_type_script_lang-08d98579.js} +2 -2
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-999e65f6.js → OrStepper.vue_vue_type_script_lang-2016213b.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-42a69c16.js → OrTag.vue_vue_type_script_lang-9fbd12ed.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-af7cab22.js → OrTextarea.vue_vue_type_script_lang-8e7aa25c.js} +2 -2
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-80e42d58.js → OrTextbox.vue_vue_type_script_lang-977fcf07.js} +3 -3
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-3bf79d56.js → OrTooltip.vue_vue_type_script_lang-829c71fb.js} +1 -1
- package/dist/bundled/v3/{get-73ac2f59.js → _MapCache-24a89ff6.js} +11 -260
- package/dist/bundled/v3/{_baseAssignValue-0c6c3bcc.js → _baseAssignValue-3880f2c5.js} +1 -1
- package/dist/bundled/v3/{_baseIsEqual-82d7a339.js → _baseIsEqual-d6b58f3c.js} +5 -5
- package/dist/bundled/v3/_getPrototype-c6fd74d2.js +9 -0
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +13 -9
- package/dist/bundled/v3/components/OrAvatar/index.js +12 -8
- package/dist/bundled/v3/components/OrButtonV2/OrButton.js +13 -9
- package/dist/bundled/v3/components/OrButtonV2/index.js +14 -10
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +18 -14
- package/dist/bundled/v3/components/OrCardCollection/index.js +17 -13
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +13 -9
- package/dist/bundled/v3/components/OrCarousel/index.js +12 -8
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +13 -9
- package/dist/bundled/v3/components/OrCheckbox/index.js +12 -8
- package/dist/bundled/v3/components/OrChip/OrChip.js +13 -9
- package/dist/bundled/v3/components/OrChip/index.js +12 -8
- package/dist/bundled/v3/components/OrChips/OrChips.js +14 -10
- package/dist/bundled/v3/components/OrChips/index.js +13 -9
- package/dist/bundled/v3/components/OrCode/OrCode.js +16 -12
- package/dist/bundled/v3/components/OrCode/index.js +15 -11
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +11 -7
- package/dist/bundled/v3/components/OrCollapse/index.js +10 -6
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +12 -8
- package/dist/bundled/v3/components/OrColorPicker/index.js +11 -7
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +19 -15
- package/dist/bundled/v3/components/OrConfirm/index.js +18 -14
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +18 -14
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +17 -13
- package/dist/bundled/v3/components/OrFloating/OrFloating.js +11 -7
- package/dist/bundled/v3/components/OrFloating/index.js +10 -6
- package/dist/bundled/v3/components/OrIcon/OrIcon.js +12 -8
- package/dist/bundled/v3/components/OrIcon/index.js +11 -7
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +14 -10
- package/dist/bundled/v3/components/OrIconButtonV2/index.js +13 -9
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +16 -12
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +15 -11
- package/dist/bundled/v3/components/OrInput/OrInput.js +12 -8
- package/dist/bundled/v3/components/OrInput/index.js +11 -7
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +79 -32
- package/dist/bundled/v3/components/OrListOfInputs/index.js +78 -31
- package/dist/bundled/v3/components/OrListV3/OrList.js +143 -0
- package/dist/bundled/v3/components/OrListV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrListV3/index.js +60 -0
- package/dist/bundled/v3/components/OrModal/OrModal.js +15 -11
- package/dist/bundled/v3/components/OrModal/index.js +14 -10
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +15 -11
- package/dist/bundled/v3/components/OrNotification/index.js +14 -10
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +13 -9
- package/dist/bundled/v3/components/OrNumberInput/index.js +12 -8
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +16 -12
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +15 -11
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +17 -13
- package/dist/bundled/v3/components/OrPassword/index.js +16 -12
- package/dist/bundled/v3/components/OrProgress/OrProgress.js +9 -7
- package/dist/bundled/v3/components/OrProgress/index.js +8 -6
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +9 -7
- package/dist/bundled/v3/components/OrProgressV3/index.js +8 -6
- package/dist/bundled/v3/components/OrRadio/OrRadio.js +12 -9
- package/dist/bundled/v3/components/OrRadio/index.js +11 -8
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +17 -13
- package/dist/bundled/v3/components/OrSearch/index.js +16 -12
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +18 -14
- package/dist/bundled/v3/components/OrSelect/index.js +17 -13
- package/dist/bundled/v3/components/OrSkeleton/index.js +7 -6
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +8 -7
- package/dist/bundled/v3/components/OrSkeletonText/index.js +7 -6
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.js +8 -7
- package/dist/bundled/v3/components/OrSkeletonTextV3/index.js +7 -6
- package/dist/bundled/v3/components/OrSkeletonV3/index.js +7 -6
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +13 -9
- package/dist/bundled/v3/components/OrSlider/index.js +12 -8
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +14 -10
- package/dist/bundled/v3/components/OrStepper/index.js +13 -9
- package/dist/bundled/v3/components/OrTag/OrTag.js +13 -9
- package/dist/bundled/v3/components/OrTag/index.js +12 -8
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +12 -8
- package/dist/bundled/v3/components/OrTextarea/index.js +11 -7
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +16 -12
- package/dist/bundled/v3/components/OrTextbox/index.js +15 -11
- package/dist/bundled/v3/components/OrToast/OrToast.js +17 -13
- package/dist/bundled/v3/components/OrToast/index.js +18 -14
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +19 -15
- package/dist/bundled/v3/components/OrToastContainer/index.js +18 -14
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +12 -8
- package/dist/bundled/v3/components/OrTooltip/index.js +11 -7
- package/dist/bundled/v3/components/index.d.ts +1 -1
- package/dist/bundled/v3/components/index.js +56 -52
- package/dist/bundled/v3/{eq-fa566495.js → eq-ad84f292.js} +1 -1
- package/dist/bundled/v3/get-f18aa4f8.js +254 -0
- package/dist/bundled/v3/index.js +56 -52
- package/dist/bundled/v3/isArray-95dcd53a.js +27 -0
- package/dist/bundled/v3/{isArrayLike-acf249e3.js → isArrayLike-90deda8b.js} +1 -1
- package/dist/bundled/{v2/isEqual-881b7bb5.js → v3/isEqual-7ae49992.js} +1 -1
- package/dist/bundled/{v2/isObject-3a5b854d.js → v3/isObject-76d8037e.js} +5 -33
- package/dist/bundled/v3/isSymbol-e170ff61.js +31 -0
- package/dist/bundled/{v2/range-c87289f7.js → v3/range-4c4a4e22.js} +4 -4
- package/dist/bundled/{v2/round-136c7e43.js → v3/round-20828168.js} +4 -4
- package/dist/bundled/{v2/toFinite-021b0c50.js → v3/toFinite-a262b6fc.js} +2 -1
- package/dist/bundled/v3/{toInteger-db8a475d.js → toInteger-43f68f72.js} +1 -1
- package/dist/bundled/v3/{toString-47fa81b4.js → toString-41da8a6b.js} +4 -28
- package/dist/bundled/v3/utils/functions/dom.js +260 -5
- package/dist/esm/v2/{OrList-2e65227a.js → OrList-5483c8dd.js} +17 -27
- package/dist/esm/v2/{OrListOfInputs-9b7522fa.js → OrListOfInputs-e1f8b2d9.js} +3 -3
- package/dist/esm/v2/components/index.d.ts +1 -1
- package/dist/esm/v2/components/index.js +2 -2
- package/dist/esm/v2/components/or-list-of-inputs/index.js +32 -15
- package/dist/esm/v2/components/or-list-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-list-v3/index.js +27 -0
- package/dist/esm/v2/index.js +2 -2
- package/dist/esm/v3/{OrList-042d8681.js → OrList-d33f9673.js} +28 -27
- package/dist/esm/v3/{OrListOfInputs-ce0d6ac0.js → OrListOfInputs-9448a631.js} +1 -1
- package/dist/esm/v3/components/index.d.ts +1 -1
- package/dist/esm/v3/components/index.js +2 -2
- package/dist/esm/v3/components/or-list-of-inputs/index.js +30 -13
- package/dist/esm/v3/components/or-list-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-list-v3/index.js +26 -0
- package/dist/esm/v3/index.js +2 -2
- package/package.json +2 -3
- package/src/components/index.ts +1 -1
- package/src/components/or-list-of-inputs/OrListOfInputs.vue +1 -1
- package/src/components/{or-list → or-list-v3}/OrList.vue +15 -16
- package/src/components/or-list-v3/index.ts +1 -0
- package/dist/bundled/v2/components/OrList/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrList/index.js +0 -34
- package/dist/bundled/v2/dom-571739a2.js +0 -260
- package/dist/bundled/v3/components/OrList/OrList.js +0 -123
- package/dist/bundled/v3/components/OrList/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrList/index.js +0 -42
- package/dist/bundled/v3/dom-571739a2.js +0 -260
- package/dist/esm/v2/components/or-list/index.d.ts +0 -1
- package/dist/esm/v2/components/or-list/index.js +0 -28
- package/dist/esm/v3/components/or-list/index.d.ts +0 -1
- package/dist/esm/v3/components/or-list/index.js +0 -24
- package/src/components/or-list/index.ts +0 -1
- /package/dist/bundled/v2/components/{OrList → OrListV3}/OrList.vue.d.ts +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-c47d63be.js → OrToastContainer.vue_vue_type_script_lang-1157d0da.js} +0 -0
- /package/dist/bundled/v3/components/{OrList → OrListV3}/OrList.vue.d.ts +0 -0
- /package/dist/esm/v2/components/{or-list → or-list-v3}/OrList.vue.d.ts +0 -0
- /package/dist/esm/v3/components/{or-list → or-list-v3}/OrList.vue.d.ts +0 -0
- /package/src/components/{or-list → or-list-v3}/OrList.stories.ts +0 -0
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { s as script } from '../../OrList.vue_vue_type_script_lang-c6f46a0e.js';
|
|
2
|
-
export { s as default } from '../../OrList.vue_vue_type_script_lang-c6f46a0e.js';
|
|
3
|
-
import { resolveComponent, openBlock, createElementBlock, createCommentVNode, renderSlot, normalizeProps, guardReactiveProps, createVNode, withCtx, Fragment, renderList, createBlock, createElementVNode, withModifiers } from 'vue';
|
|
4
|
-
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
5
|
-
import 'vue-demi';
|
|
6
|
-
import '../../_baseIsEqual-82d7a339.js';
|
|
7
|
-
import '../../get-73ac2f59.js';
|
|
8
|
-
import '../../toString-47fa81b4.js';
|
|
9
|
-
import '../../isObject-3a5b854d.js';
|
|
10
|
-
import '../../_commonjsHelpers-48a9cab9.js';
|
|
11
|
-
import '../../eq-fa566495.js';
|
|
12
|
-
import '../../isArrayLike-acf249e3.js';
|
|
13
|
-
import '../../_baseAssignValue-0c6c3bcc.js';
|
|
14
|
-
import '../../dom-571739a2.js';
|
|
15
|
-
import '../../isEqual-881b7bb5.js';
|
|
16
|
-
import '../../v4-cf8987a3.js';
|
|
17
|
-
import '../OrError/OrError.js';
|
|
18
|
-
import '../../OrError.vue_vue_type_script_lang-450321b8.js';
|
|
19
|
-
import '../OrLabel/OrLabel.js';
|
|
20
|
-
import '../../OrLabel.vue_vue_type_script_lang-6243e348.js';
|
|
21
|
-
import '../OrButtonV2/OrButton.js';
|
|
22
|
-
import '../../OrButton.vue_vue_type_script_lang-5b8437d7.js';
|
|
23
|
-
import '../OrButtonV2/constants.js';
|
|
24
|
-
import '../OrIcon/OrIcon.js';
|
|
25
|
-
import '../../OrIcon.vue_vue_type_script_lang-b77bb268.js';
|
|
26
|
-
import '../OrIcon/constants.js';
|
|
27
|
-
import '../../utils/functions/px-to-rem.js';
|
|
28
|
-
import '../OrTooltipContent/OrTooltipContent.js';
|
|
29
|
-
import '../../OrTooltipContent.vue_vue_type_script_lang-4c1afacb.js';
|
|
30
|
-
import '../OrFloating/OrFloating.js';
|
|
31
|
-
import '../../OrFloating.vue_vue_type_script_lang-d762f4b0.js';
|
|
32
|
-
import '../../floating-ui.dom.esm-83eba816.js';
|
|
33
|
-
import '../OrTeleport/OrTeleport.js';
|
|
34
|
-
import '../OrTeleport/constants.js';
|
|
35
|
-
import '../OrFloating/constants.js';
|
|
36
|
-
import '../OrLoader/OrLoader.js';
|
|
37
|
-
import '../../OrLoader.vue_vue_type_script_lang-a1fed697.js';
|
|
38
|
-
import '../../utils/isEmpty.js';
|
|
39
|
-
import '../OrLoader/constants.js';
|
|
40
|
-
import '../OrIconButtonV2/OrIconButton.js';
|
|
41
|
-
import '../../OrIconButton.vue_vue_type_script_lang-e078ed4c.js';
|
|
42
|
-
import '../OrTooltip/OrTooltip.js';
|
|
43
|
-
import '../../OrTooltip.vue_vue_type_script_lang-3bf79d56.js';
|
|
44
|
-
|
|
45
|
-
const _hoisted_1 = {
|
|
46
|
-
class: "or-list"
|
|
47
|
-
};
|
|
48
|
-
const _hoisted_2 = {
|
|
49
|
-
key: 0,
|
|
50
|
-
class: "or-list--header"
|
|
51
|
-
};
|
|
52
|
-
const _hoisted_3 = {
|
|
53
|
-
key: 0,
|
|
54
|
-
ref: "listRef"
|
|
55
|
-
};
|
|
56
|
-
const _hoisted_4 = {
|
|
57
|
-
class: "or-list--slot"
|
|
58
|
-
};
|
|
59
|
-
const _hoisted_5 = {
|
|
60
|
-
class: "or-list--footer"
|
|
61
|
-
};
|
|
62
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63
|
-
const _component_or_label = resolveComponent("or-label");
|
|
64
|
-
const _component_or_icon = resolveComponent("or-icon");
|
|
65
|
-
const _component_or_error = resolveComponent("or-error");
|
|
66
|
-
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
67
|
-
const _component_or_button = resolveComponent("or-button");
|
|
68
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [createCommentVNode(" Header "), renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps({
|
|
69
|
-
deleteItem: _ctx.deleteItem,
|
|
70
|
-
addItem: _ctx.addItem
|
|
71
|
-
})), () => [_ctx.label ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(_component_or_label, {
|
|
72
|
-
label: _ctx.label
|
|
73
|
-
}, {
|
|
74
|
-
append: withCtx(() => [renderSlot(_ctx.$slots, "label-append")]),
|
|
75
|
-
_: 3 /* FORWARDED */
|
|
76
|
-
}, 8 /* PROPS */, ["label"])])) : createCommentVNode("v-if", true)]), createCommentVNode(" List "), _ctx.items.length ? (openBlock(), createElementBlock("div", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (props, index) => {
|
|
77
|
-
return openBlock(), createElementBlock("div", {
|
|
78
|
-
key: props.vforkey || index,
|
|
79
|
-
role: "listitem",
|
|
80
|
-
class: "or-list--item"
|
|
81
|
-
}, [_ctx.canDrag && !_ctx.handle && _ctx.hasMoreThanOneItem ? (openBlock(), createBlock(_component_or_icon, {
|
|
82
|
-
key: 0,
|
|
83
|
-
class: "or-list--handle",
|
|
84
|
-
"is-disabled": _ctx.isDisabled,
|
|
85
|
-
icon: "drag_handle"
|
|
86
|
-
}, null, 8 /* PROPS */, ["is-disabled"])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_4, [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({
|
|
87
|
-
props,
|
|
88
|
-
items: _ctx.items,
|
|
89
|
-
index,
|
|
90
|
-
deleteItem: _ctx.deleteItem,
|
|
91
|
-
addItem: _ctx.addItem
|
|
92
|
-
})), () => [createVNode(_component_or_error, {
|
|
93
|
-
error: "Default Slot Content"
|
|
94
|
-
})])]), _ctx.canDelete ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
95
|
-
key: 1,
|
|
96
|
-
icon: "delete",
|
|
97
|
-
size: "small",
|
|
98
|
-
"icon-color": "neutral-3",
|
|
99
|
-
"is-disabled": _ctx.isDisabled,
|
|
100
|
-
class: "or-list--delete-button",
|
|
101
|
-
onClick: withModifiers($event => _ctx.deleteItem(index), ["prevent", "stop"])
|
|
102
|
-
}, null, 8 /* PROPS */, ["is-disabled", "onClick"])) : createCommentVNode("v-if", true)]);
|
|
103
|
-
}), 128 /* KEYED_FRAGMENT */))], 512 /* NEED_PATCH */)) : createCommentVNode("v-if", true), createCommentVNode(" Footer "), renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps({
|
|
104
|
-
deleteItem: _ctx.deleteItem,
|
|
105
|
-
addItem: _ctx.addItem
|
|
106
|
-
})), () => [createElementVNode("div", _hoisted_5, [_ctx.canAdd ? (openBlock(), createBlock(_component_or_button, {
|
|
107
|
-
key: 0,
|
|
108
|
-
class: "or-list--add-button",
|
|
109
|
-
icon: "add",
|
|
110
|
-
type: "text",
|
|
111
|
-
size: "small",
|
|
112
|
-
content: _ctx.buttonLabel,
|
|
113
|
-
"is-disabled": _ctx.isDisabled,
|
|
114
|
-
onClick: _ctx.addItem
|
|
115
|
-
}, null, 8 /* PROPS */, ["content", "is-disabled", "onClick"])) : createCommentVNode("v-if", true)])])]);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-0bd6d8f8 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-0bd6d8f8 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-list[data-v-0bd6d8f8] {\n cursor: default;\n}\n.or-list--header[data-v-0bd6d8f8] {\n margin-bottom: var(--s-2);\n}\n.or-list--handle[data-v-0bd6d8f8] {\n margin-right: var(--s-3);\n cursor: move;\n}\n.or-list--add-button[data-v-0bd6d8f8] {\n min-width: 0 !important;\n height: auto !important;\n padding: 0 !important;\n}\n.or-list--delete-button[data-v-0bd6d8f8] {\n margin-left: var(--s-3);\n}\n.or-list--delete-button[data-v-0bd6d8f8] .or-icon {\n font-size: 0.875rem !important;\n}\n.or-list--item[data-v-0bd6d8f8] {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n width: 100%;\n margin-bottom: var(--s-4);\n}\n.or-list--slot[data-v-0bd6d8f8] {\n width: 100%;\n}\n.or-list--slot > *[data-v-0bd6d8f8] {\n width: 100%;\n}\n.or-list[data-v-0bd6d8f8]:disabled, .or-list.is-disabled[data-v-0bd6d8f8] {\n cursor: not-allowed;\n}";
|
|
119
|
-
styleInject(css_248z);
|
|
120
|
-
|
|
121
|
-
script.render = render;
|
|
122
|
-
script.__scopeId = "data-v-0bd6d8f8";
|
|
123
|
-
script.__file = "src/components/or-list/OrList.vue";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as OrList } from './OrList.vue';
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export { s as OrList } from '../../OrList.vue_vue_type_script_lang-c6f46a0e.js';
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import '../../_baseIsEqual-82d7a339.js';
|
|
4
|
-
import '../../get-73ac2f59.js';
|
|
5
|
-
import '../../toString-47fa81b4.js';
|
|
6
|
-
import '../../isObject-3a5b854d.js';
|
|
7
|
-
import '../../_commonjsHelpers-48a9cab9.js';
|
|
8
|
-
import '../../eq-fa566495.js';
|
|
9
|
-
import '../../isArrayLike-acf249e3.js';
|
|
10
|
-
import '../../_baseAssignValue-0c6c3bcc.js';
|
|
11
|
-
import '../../dom-571739a2.js';
|
|
12
|
-
import '../../isEqual-881b7bb5.js';
|
|
13
|
-
import '../../v4-cf8987a3.js';
|
|
14
|
-
import '../OrError/OrError.js';
|
|
15
|
-
import '../../OrError.vue_vue_type_script_lang-450321b8.js';
|
|
16
|
-
import 'vue';
|
|
17
|
-
import '../../style-inject.es-4c6f2515.js';
|
|
18
|
-
import '../OrLabel/OrLabel.js';
|
|
19
|
-
import '../../OrLabel.vue_vue_type_script_lang-6243e348.js';
|
|
20
|
-
import '../OrButtonV2/OrButton.js';
|
|
21
|
-
import '../../OrButton.vue_vue_type_script_lang-5b8437d7.js';
|
|
22
|
-
import '../OrButtonV2/constants.js';
|
|
23
|
-
import '../OrIcon/OrIcon.js';
|
|
24
|
-
import '../../OrIcon.vue_vue_type_script_lang-b77bb268.js';
|
|
25
|
-
import '../OrIcon/constants.js';
|
|
26
|
-
import '../../utils/functions/px-to-rem.js';
|
|
27
|
-
import '../OrTooltipContent/OrTooltipContent.js';
|
|
28
|
-
import '../../OrTooltipContent.vue_vue_type_script_lang-4c1afacb.js';
|
|
29
|
-
import '../OrFloating/OrFloating.js';
|
|
30
|
-
import '../../OrFloating.vue_vue_type_script_lang-d762f4b0.js';
|
|
31
|
-
import '../../floating-ui.dom.esm-83eba816.js';
|
|
32
|
-
import '../OrTeleport/OrTeleport.js';
|
|
33
|
-
import '../OrTeleport/constants.js';
|
|
34
|
-
import '../OrFloating/constants.js';
|
|
35
|
-
import '../OrLoader/OrLoader.js';
|
|
36
|
-
import '../../OrLoader.vue_vue_type_script_lang-a1fed697.js';
|
|
37
|
-
import '../../utils/isEmpty.js';
|
|
38
|
-
import '../OrLoader/constants.js';
|
|
39
|
-
import '../OrIconButtonV2/OrIconButton.js';
|
|
40
|
-
import '../../OrIconButton.vue_vue_type_script_lang-e078ed4c.js';
|
|
41
|
-
import '../OrTooltip/OrTooltip.js';
|
|
42
|
-
import '../../OrTooltip.vue_vue_type_script_lang-3bf79d56.js';
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import { c as _baseGetTag, b as isObjectLike_1 } from './isObject-3a5b854d.js';
|
|
2
|
-
import { d as _overArg, g as get_1 } from './get-73ac2f59.js';
|
|
3
|
-
|
|
4
|
-
var overArg = _overArg;
|
|
5
|
-
|
|
6
|
-
/** Built-in value references. */
|
|
7
|
-
var getPrototype$1 = overArg(Object.getPrototypeOf, Object);
|
|
8
|
-
var _getPrototype = getPrototype$1;
|
|
9
|
-
|
|
10
|
-
var baseGetTag = _baseGetTag,
|
|
11
|
-
getPrototype = _getPrototype,
|
|
12
|
-
isObjectLike$1 = isObjectLike_1;
|
|
13
|
-
|
|
14
|
-
/** `Object#toString` result references. */
|
|
15
|
-
var objectTag = '[object Object]';
|
|
16
|
-
|
|
17
|
-
/** Used for built-in method references. */
|
|
18
|
-
var funcProto = Function.prototype,
|
|
19
|
-
objectProto = Object.prototype;
|
|
20
|
-
|
|
21
|
-
/** Used to resolve the decompiled source of functions. */
|
|
22
|
-
var funcToString = funcProto.toString;
|
|
23
|
-
|
|
24
|
-
/** Used to check objects for own properties. */
|
|
25
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
26
|
-
|
|
27
|
-
/** Used to infer the `Object` constructor. */
|
|
28
|
-
var objectCtorString = funcToString.call(Object);
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Checks if `value` is a plain object, that is, an object created by the
|
|
32
|
-
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
33
|
-
*
|
|
34
|
-
* @static
|
|
35
|
-
* @memberOf _
|
|
36
|
-
* @since 0.8.0
|
|
37
|
-
* @category Lang
|
|
38
|
-
* @param {*} value The value to check.
|
|
39
|
-
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
|
40
|
-
* @example
|
|
41
|
-
*
|
|
42
|
-
* function Foo() {
|
|
43
|
-
* this.a = 1;
|
|
44
|
-
* }
|
|
45
|
-
*
|
|
46
|
-
* _.isPlainObject(new Foo);
|
|
47
|
-
* // => false
|
|
48
|
-
*
|
|
49
|
-
* _.isPlainObject([1, 2, 3]);
|
|
50
|
-
* // => false
|
|
51
|
-
*
|
|
52
|
-
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
|
53
|
-
* // => true
|
|
54
|
-
*
|
|
55
|
-
* _.isPlainObject(Object.create(null));
|
|
56
|
-
* // => true
|
|
57
|
-
*/
|
|
58
|
-
function isPlainObject$1(value) {
|
|
59
|
-
if (!isObjectLike$1(value) || baseGetTag(value) != objectTag) {
|
|
60
|
-
return false;
|
|
61
|
-
}
|
|
62
|
-
var proto = getPrototype(value);
|
|
63
|
-
if (proto === null) {
|
|
64
|
-
return true;
|
|
65
|
-
}
|
|
66
|
-
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
|
67
|
-
return typeof Ctor == 'function' && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
68
|
-
}
|
|
69
|
-
var isPlainObject_1 = isPlainObject$1;
|
|
70
|
-
|
|
71
|
-
var isObjectLike = isObjectLike_1,
|
|
72
|
-
isPlainObject = isPlainObject_1;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Checks if `value` is likely a DOM element.
|
|
76
|
-
*
|
|
77
|
-
* @static
|
|
78
|
-
* @memberOf _
|
|
79
|
-
* @since 0.1.0
|
|
80
|
-
* @category Lang
|
|
81
|
-
* @param {*} value The value to check.
|
|
82
|
-
* @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.
|
|
83
|
-
* @example
|
|
84
|
-
*
|
|
85
|
-
* _.isElement(document.body);
|
|
86
|
-
* // => true
|
|
87
|
-
*
|
|
88
|
-
* _.isElement('<body>');
|
|
89
|
-
* // => false
|
|
90
|
-
*/
|
|
91
|
-
function isElement(value) {
|
|
92
|
-
return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
|
|
93
|
-
}
|
|
94
|
-
var isElement_1 = isElement;
|
|
95
|
-
|
|
96
|
-
const WINDOW = typeof window !== 'undefined' ? window : null;
|
|
97
|
-
const MutationObs = (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.MutationObserver) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.WebKitMutationObserver) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.MozMutationObserver) || null;
|
|
98
|
-
const requestAF = ((WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.requestAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.webkitRequestAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.mozRequestAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.msRequestAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.oRequestAnimationFrame) || (
|
|
99
|
-
// Fallback, but not a true polyfill
|
|
100
|
-
// Only needed for Opera Mini
|
|
101
|
-
cb => setTimeout(cb, 16))).bind(WINDOW);
|
|
102
|
-
// eslint-disable-next-line no-unsafe-optional-chaining
|
|
103
|
-
const cancelAF = ((WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.cancelAnimationFrame) || (WINDOW === null || WINDOW === void 0 ? void 0 : WINDOW.mozCancelAnimationFrame)).bind(WINDOW);
|
|
104
|
-
// Remove a node from DOM
|
|
105
|
-
const removeNode = el => {
|
|
106
|
-
el && el.parentNode && el.parentNode.removeChild(el);
|
|
107
|
-
};
|
|
108
|
-
// Determine if an HTML element is visible - Faster than CSS check
|
|
109
|
-
const isVisible = el => {
|
|
110
|
-
if (!isElement_1(el) || !el.parentNode || !contains(document.body, el)) {
|
|
111
|
-
// Note this can fail for shadow dom elements since they
|
|
112
|
-
// are not a direct descendant of document.body
|
|
113
|
-
return false;
|
|
114
|
-
}
|
|
115
|
-
if (getStyle(el, 'display') === 'none') {
|
|
116
|
-
// We do this check to help with vue-test-utils when using v-show
|
|
117
|
-
return false;
|
|
118
|
-
}
|
|
119
|
-
// All browsers support getBoundingClientRect(), except JSDOM as it returns all 0's for values :(
|
|
120
|
-
// So any tests that need isVisible will fail in JSDOM
|
|
121
|
-
// Except when we override the getBCR prototype in some tests
|
|
122
|
-
const bcr = getBCR(el);
|
|
123
|
-
return !!(bcr && bcr.height > 0 && bcr.width > 0);
|
|
124
|
-
};
|
|
125
|
-
// Cause/wait-for an element to reflow its content (adjusting its height/width)
|
|
126
|
-
const reflow = el => {
|
|
127
|
-
// Requesting an elements offsetHeight will trigger a reflow of the element content
|
|
128
|
-
return get_1(el, ['offsetHeight'], null);
|
|
129
|
-
};
|
|
130
|
-
// Select all elements matching selector. Returns `[]` if none found
|
|
131
|
-
const selectAll = (selector, root) => [...(root && isElement_1(root) ? root : document).querySelectorAll(selector)];
|
|
132
|
-
// Select a single element, returns `null` if not found
|
|
133
|
-
const select = (selector, root) => (root && isElement_1(root) ? root : document).querySelector(selector) || null;
|
|
134
|
-
// Returns true if the parent element contains the child element
|
|
135
|
-
const contains = (parent, child) => parent && typeof parent.contains === 'function' ? parent.contains(child) : false;
|
|
136
|
-
// Get an element given an ID
|
|
137
|
-
const getById = id => document.getElementById(/^#/.test(id) ? id.slice(1) : id) || null;
|
|
138
|
-
// Add a class to an element
|
|
139
|
-
const addClass = (el, className) => {
|
|
140
|
-
// We are checking for `el.classList` existence here since IE 11
|
|
141
|
-
// returns `undefined` for some elements (e.g. SVG elements)
|
|
142
|
-
if (className && isElement_1(el) && el.classList) {
|
|
143
|
-
el.classList.add(className);
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
// Remove a class from an element
|
|
147
|
-
const removeClass = (el, className) => {
|
|
148
|
-
// We are checking for `el.classList` existence here since IE 11
|
|
149
|
-
// returns `undefined` for some elements (e.g. SVG elements)
|
|
150
|
-
if (className && isElement_1(el) && el.classList) el.classList.remove(className);
|
|
151
|
-
};
|
|
152
|
-
// Test if an element has a class
|
|
153
|
-
const hasClass = (el, className) => {
|
|
154
|
-
// We are checking for `el.classList` existence here since IE 11
|
|
155
|
-
// returns `undefined` for some elements (e.g. SVG elements)
|
|
156
|
-
if (className && isElement_1(el) && el.classList) return el.classList.contains(className);
|
|
157
|
-
return false;
|
|
158
|
-
};
|
|
159
|
-
// Set an attribute on an element
|
|
160
|
-
const setAttr = (el, attr, value) => {
|
|
161
|
-
if (attr && isElement_1(el)) {
|
|
162
|
-
el.setAttribute(attr, value);
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
// Remove an attribute from an element
|
|
166
|
-
const removeAttr = (el, attr) => {
|
|
167
|
-
if (attr && isElement_1(el)) {
|
|
168
|
-
el.removeAttribute(attr);
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
// Get an attribute value from an element
|
|
172
|
-
const getAttr = (el, attr) => attr && isElement_1(el) ? el.getAttribute(attr) : null;
|
|
173
|
-
// Determine if an attribute exists on an element
|
|
174
|
-
// Returns `true` or `false`, or `null` if element not found
|
|
175
|
-
const hasAttr = (el, attr) => attr && isElement_1(el) ? el.hasAttribute(attr) : null;
|
|
176
|
-
// Set an style property on an element
|
|
177
|
-
const setStyle = (el, prop, value) => {
|
|
178
|
-
if (prop && isElement_1(el)) {
|
|
179
|
-
el.style[prop] = value;
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
// Remove an style property from an element
|
|
183
|
-
const removeStyle = (el, prop) => {
|
|
184
|
-
if (prop && isElement_1(el)) {
|
|
185
|
-
el.style[prop] = '';
|
|
186
|
-
}
|
|
187
|
-
};
|
|
188
|
-
// Get an style property value from an element
|
|
189
|
-
// Returns `null` if not found
|
|
190
|
-
const getStyle = (el, prop) => prop && isElement_1(el) ? el.style[prop] || null : null;
|
|
191
|
-
// Return the Bounding Client Rect of an element
|
|
192
|
-
const getBCR = el => isElement_1(el) ? el.getBoundingClientRect() : null;
|
|
193
|
-
// Get computed style object for an element
|
|
194
|
-
const getCS = el => get_1(WINDOW, 'getComputedStyle', null) && isElement_1(el) ? getComputedStyle(el) : {};
|
|
195
|
-
// Return an element's offset with respect to document element
|
|
196
|
-
const offset = el => {
|
|
197
|
-
const _offset = {
|
|
198
|
-
top: 0,
|
|
199
|
-
left: 0
|
|
200
|
-
};
|
|
201
|
-
if (!isElement_1(el) || el.getClientRects().length === 0) {
|
|
202
|
-
return _offset;
|
|
203
|
-
}
|
|
204
|
-
const bcr = getBCR(el);
|
|
205
|
-
if (bcr) {
|
|
206
|
-
const win = el.ownerDocument.defaultView;
|
|
207
|
-
_offset.top = bcr.top + get_1(win, 'pageYOffset', 0);
|
|
208
|
-
_offset.left = bcr.left + get_1(win, 'pageXOffset', 0);
|
|
209
|
-
}
|
|
210
|
-
return _offset;
|
|
211
|
-
};
|
|
212
|
-
// Return an element's offset with respect to to its offsetParent
|
|
213
|
-
const position = el => {
|
|
214
|
-
let _offset = {
|
|
215
|
-
top: 0,
|
|
216
|
-
left: 0
|
|
217
|
-
};
|
|
218
|
-
if (!isElement_1(el)) {
|
|
219
|
-
return _offset;
|
|
220
|
-
}
|
|
221
|
-
let parentOffset = {
|
|
222
|
-
top: 0,
|
|
223
|
-
left: 0
|
|
224
|
-
};
|
|
225
|
-
const elStyles = getCS(el);
|
|
226
|
-
if (elStyles.position === 'fixed') {
|
|
227
|
-
_offset = getBCR(el) || _offset;
|
|
228
|
-
} else {
|
|
229
|
-
_offset = offset(el);
|
|
230
|
-
const doc = el.ownerDocument;
|
|
231
|
-
let offsetParent = el.offsetParent || doc.documentElement;
|
|
232
|
-
while (offsetParent && (offsetParent === doc.body || offsetParent === doc.documentElement) && getCS(offsetParent).position === 'static') {
|
|
233
|
-
offsetParent = offsetParent.parentNode;
|
|
234
|
-
}
|
|
235
|
-
if (offsetParent && offsetParent !== el && offsetParent.nodeType === Node.ELEMENT_NODE) {
|
|
236
|
-
parentOffset = offset(offsetParent);
|
|
237
|
-
const offsetParentStyles = getCS(offsetParent);
|
|
238
|
-
parentOffset.top += parseFloat(offsetParentStyles.borderTopWidth);
|
|
239
|
-
parentOffset.left += parseFloat(offsetParentStyles.borderLeftWidth);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
return {
|
|
243
|
-
top: _offset.top - parentOffset.top - parseFloat(elStyles.marginTop),
|
|
244
|
-
left: _offset.left - parentOffset.left - parseFloat(elStyles.marginLeft)
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
const getMaxZIndex = element => {
|
|
248
|
-
let maxZIndex = 0;
|
|
249
|
-
while (element) {
|
|
250
|
-
const cs = getCS(element);
|
|
251
|
-
const zIndex = cs.zIndex;
|
|
252
|
-
if (zIndex !== 'auto') {
|
|
253
|
-
maxZIndex = +zIndex > maxZIndex ? +zIndex : maxZIndex;
|
|
254
|
-
}
|
|
255
|
-
element = element.parentElement;
|
|
256
|
-
}
|
|
257
|
-
return maxZIndex;
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
export { MutationObs as M, _getPrototype as _, reflow as a, addClass as b, cancelAF as c, removeClass as d, removeStyle as e, getBCR as f, getCS as g, getMaxZIndex as h, removeNode as i, isVisible as j, selectAll as k, select as l, contains as m, getById as n, hasClass as o, setAttr as p, removeAttr as q, requestAF as r, setStyle as s, getAttr as t, hasAttr as u, getStyle as v, offset as w, position as x };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as OrList } from './OrList.vue';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export { _ as OrList } from '../../OrList-2e65227a.js';
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import 'lodash/cloneDeep';
|
|
4
|
-
import 'lodash/isEqual';
|
|
5
|
-
import 'uuid';
|
|
6
|
-
import 'sortablejs';
|
|
7
|
-
import '../../OrLabel-fcceec1b.js';
|
|
8
|
-
import '../../style-inject.es-4c6f2515.js';
|
|
9
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
10
|
-
import '../../OrButton-b60290c4.js';
|
|
11
|
-
import '../../OrButton.vue_rollup-plugin-vue_styles.0-3b064042.js';
|
|
12
|
-
import '../../OrIcon-fa826b6b.js';
|
|
13
|
-
import '../../OrTooltip.vue_rollup-plugin-vue_styles.0-47985d95.js';
|
|
14
|
-
import 'lodash/isNil';
|
|
15
|
-
import '../../OrTooltipContent-57a25502.js';
|
|
16
|
-
import '../../OrFloating-e7ac7618.js';
|
|
17
|
-
import '@floating-ui/dom';
|
|
18
|
-
import '../../OrTeleport.vue2-f0c16c71.js';
|
|
19
|
-
import 'portal-vue/dist/portal-vue.esm.js';
|
|
20
|
-
import '../../dom-f1d55b67.js';
|
|
21
|
-
import 'lodash/isElement';
|
|
22
|
-
import 'lodash/get';
|
|
23
|
-
import '../../px-to-rem-0b26b83e.js';
|
|
24
|
-
import '../../OrLoader-0cc7c73e.js';
|
|
25
|
-
import '../../OrIconButton.vue_rollup-plugin-vue_styles.0-70039ca7.js';
|
|
26
|
-
import '../../OrTooltip-0bbf1ed5.js';
|
|
27
|
-
import '../../OrIconButton-544ee642.js';
|
|
28
|
-
import '../../OrError-efc74907.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as OrList } from './OrList.vue';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export { s as OrList } from '../../OrList-042d8681.js';
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import 'lodash/cloneDeep';
|
|
4
|
-
import 'lodash/isEqual';
|
|
5
|
-
import 'uuid';
|
|
6
|
-
import 'sortablejs';
|
|
7
|
-
import '../../OrLabel-a7d99df4.js';
|
|
8
|
-
import 'vue';
|
|
9
|
-
import '../../style-inject.es-4c6f2515.js';
|
|
10
|
-
import '../../OrButton-78a118d7.js';
|
|
11
|
-
import '../../OrIcon-d8ea7901.js';
|
|
12
|
-
import '../../OrTooltip-c1006713.js';
|
|
13
|
-
import 'lodash/isNil';
|
|
14
|
-
import '../../OrTooltipContent-c0042844.js';
|
|
15
|
-
import '../../OrFloating-1a9ccfe9.js';
|
|
16
|
-
import '@floating-ui/dom';
|
|
17
|
-
import '../../OrTeleport.vue3-9bce0c02.js';
|
|
18
|
-
import '../../dom-f1d55b67.js';
|
|
19
|
-
import 'lodash/isElement';
|
|
20
|
-
import 'lodash/get';
|
|
21
|
-
import '../../px-to-rem-0b26b83e.js';
|
|
22
|
-
import '../../OrLoader-7b006619.js';
|
|
23
|
-
import '../../OrIconButton-ad0cbc8d.js';
|
|
24
|
-
import '../../OrError-f90296db.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as OrList } from './OrList.vue';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|