@onereach/ui-components 4.1.2-beta.2554.0 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +39 -34
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.vue.d.ts +16 -18
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +0 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v2/components/OrTooltipContent/OrTooltipContent.js +2 -2
- package/dist/bundled/v2/index.d.ts +0 -1
- package/dist/bundled/v2/index.js +3 -4
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-29e8ad0e.js → OrAvatar.vue_vue_type_script_lang-6511e348.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-a4a16fe5.js → OrButton.vue_vue_type_script_lang-da7f7ed0.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-c1d83552.js → OrCardCollection.vue_vue_type_script_lang-7a2e1332.js} +3 -3
- package/dist/bundled/v3/{OrCarousel.vue_vue_type_script_lang-0e87c56b.js → OrCarousel.vue_vue_type_script_lang-6976844a.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-6ff51af9.js → OrCheckbox.vue_vue_type_script_lang-11b16d93.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-51a4f8d3.js → OrCheckbox.vue_vue_type_script_lang-60cefcbd.js} +10 -26
- package/dist/bundled/v3/{OrChip.vue_vue_type_script_lang-ceebbd82.js → OrChip.vue_vue_type_script_lang-5a390853.js} +1 -1
- package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-94b456c7.js → OrChips.vue_vue_type_script_lang-d4bb44eb.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-c5a9adb7.js → OrCode.vue_vue_type_script_lang-5397df6a.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-806d209b.js → OrConfirm.vue_vue_type_script_lang-89febea7.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-5c1a5d4a.js → OrDateTimePicker.vue_vue_type_script_lang-8ff54abd.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-5d204461.js → OrIconButton.vue_vue_type_script_lang-96cb5b59.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-424e2c26.js → OrInlineTextEdit.vue_vue_type_script_lang-45987769.js} +1 -1
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-c65271b9.js → OrList.vue_vue_type_script_lang-2c7537cc.js} +3 -3
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-d3dce7b8.js → OrListOfInputs.vue_vue_type_script_lang-009f62a5.js} +3 -3
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-d5fb0b11.js → OrModal.vue_vue_type_script_lang-c53617ae.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-ef4f2661.js → OrNotification.vue_vue_type_script_lang-efb05bb2.js} +2 -2
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-0c461991.js → OrOverflowMenu.vue_vue_type_script_lang-ba50133f.js} +2 -2
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-3d308fef.js → OrPassword.vue_vue_type_script_lang-37f52611.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-86f4f5c7.js → OrSearch.vue_vue_type_script_lang-bcb935c3.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-d2fecd97.js → OrSelect.vue_vue_type_script_lang-c82d8f58.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-c0612348.js → OrSelect.vue_vue_type_script_lang-f7601423.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-900036a2.js → OrSlider.vue_vue_type_script_lang-45ecddbe.js} +1 -1
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-2821c496.js → OrStepper.vue_vue_type_script_lang-975a4df6.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-f06b54a2.js → OrTag.vue_vue_type_script_lang-621e9307.js} +1 -1
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-b8d5341b.js → OrTextbox.vue_vue_type_script_lang-812f302d.js} +1 -1
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +3 -3
- package/dist/bundled/v3/components/OrAvatar/index.js +2 -2
- package/dist/bundled/v3/components/OrButtonV2/OrButton.js +3 -3
- package/dist/bundled/v3/components/OrButtonV2/index.js +4 -4
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +6 -6
- package/dist/bundled/v3/components/OrCardCollection/index.js +5 -5
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +3 -3
- package/dist/bundled/v3/components/OrCarousel/index.js +2 -2
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +3 -3
- package/dist/bundled/v3/components/OrCheckbox/index.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +7 -9
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +16 -18
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +1 -2
- package/dist/bundled/v3/components/OrChip/OrChip.js +3 -3
- package/dist/bundled/v3/components/OrChip/index.js +2 -2
- package/dist/bundled/v3/components/OrChips/OrChips.js +4 -4
- package/dist/bundled/v3/components/OrChips/index.js +3 -3
- package/dist/bundled/v3/components/OrCode/OrCode.js +6 -6
- package/dist/bundled/v3/components/OrCode/index.js +5 -5
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +7 -7
- package/dist/bundled/v3/components/OrConfirm/index.js +6 -6
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +5 -5
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +4 -4
- package/dist/bundled/v3/components/OrIcon/OrIcon.js +2 -2
- package/dist/bundled/v3/components/OrIcon/index.js +1 -1
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +4 -4
- package/dist/bundled/v3/components/OrIconButtonV2/index.js +3 -3
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +5 -5
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +4 -4
- package/dist/bundled/v3/components/OrList/OrList.js +6 -6
- package/dist/bundled/v3/components/OrList/index.js +5 -5
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +7 -7
- package/dist/bundled/v3/components/OrListOfInputs/index.js +6 -6
- package/dist/bundled/v3/components/OrModal/OrModal.js +5 -5
- package/dist/bundled/v3/components/OrModal/index.js +4 -4
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +5 -5
- package/dist/bundled/v3/components/OrNotification/index.js +4 -4
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +6 -6
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +5 -5
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +5 -5
- package/dist/bundled/v3/components/OrPassword/index.js +4 -4
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +5 -5
- package/dist/bundled/v3/components/OrSearch/index.js +4 -4
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +5 -5
- package/dist/bundled/v3/components/OrSelect/index.js +4 -4
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +4 -4
- package/dist/bundled/v3/components/OrSelectV3/index.js +3 -3
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +3 -3
- package/dist/bundled/v3/components/OrSlider/index.js +2 -2
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +4 -4
- package/dist/bundled/v3/components/OrStepper/index.js +3 -3
- package/dist/bundled/v3/components/OrTag/OrTag.js +3 -3
- package/dist/bundled/v3/components/OrTag/index.js +2 -2
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +5 -5
- package/dist/bundled/v3/components/OrTextbox/index.js +4 -4
- package/dist/bundled/v3/components/OrToast/OrToast.js +3 -3
- package/dist/bundled/v3/components/OrToast/index.js +4 -4
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +5 -5
- package/dist/bundled/v3/components/OrToastContainer/index.js +4 -4
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +2 -2
- package/dist/bundled/v3/components/OrTooltip/index.js +1 -1
- package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.js +1 -1
- package/dist/bundled/v3/components/index.js +29 -29
- package/dist/bundled/v3/index.d.ts +0 -1
- package/dist/bundled/v3/index.js +34 -34
- package/dist/esm/v2/{OrAvatar-da5cba16.js → OrAvatar-7c024521.js} +1 -1
- package/dist/esm/v2/{OrButton-bdddd8d4.js → OrButton-4e532ddb.js} +1 -1
- package/dist/esm/v2/{OrButton.vue_rollup-plugin-vue_styles.0-3dbd90b4.js → OrButton.vue_rollup-plugin-vue_styles.0-48c5883e.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-4e014d25.js → OrCardCollection-9bf513b7.js} +5 -5
- package/dist/esm/v2/{OrCarousel-3c809a13.js → OrCarousel-e0c2e387.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-bf34eb0f.js → OrCheckbox-7b98fc08.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-e55228e5.js → OrCheckbox-dc587ec9.js} +40 -34
- package/dist/esm/v2/{OrChip-416e848e.js → OrChip-8a1abfc5.js} +1 -1
- package/dist/esm/v2/{OrChips-77e789e9.js → OrChips-a01d8520.js} +1 -1
- package/dist/esm/v2/{OrChips.vue_rollup-plugin-vue_styles.0-e05c5ca8.js → OrChips.vue_rollup-plugin-vue_styles.0-3cbb0871.js} +1 -1
- package/dist/esm/v2/{OrCode-dcb0132a.js → OrCode-e54e09f7.js} +4 -4
- package/dist/esm/v2/{OrConfirm-497cd260.js → OrConfirm-5d5dd9bc.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-c88ca716.js → OrDateTimePicker-6e2853ec.js} +3 -3
- package/dist/esm/v2/{OrIcon-8a6d663a.js → OrIcon-a40e60af.js} +2 -2
- package/dist/esm/v2/{OrIconButton-97bfd51d.js → OrIconButton-23972f7d.js} +1 -1
- package/dist/esm/v2/{OrIconButton.vue_rollup-plugin-vue_styles.0-e3806cef.js → OrIconButton.vue_rollup-plugin-vue_styles.0-277ce06c.js} +3 -3
- package/dist/esm/v2/{OrInlineTextEdit-e8414fb6.js → OrInlineTextEdit-9541b625.js} +3 -3
- package/dist/esm/v2/{OrList-a46d6306.js → OrList-61c7b8ea.js} +4 -4
- package/dist/esm/v2/{OrListOfInputs-33a7bf87.js → OrListOfInputs-e1b09290.js} +5 -5
- package/dist/esm/v2/{OrModal-6d84829c.js → OrModal-b9cfb8ec.js} +3 -3
- package/dist/esm/v2/{OrNotification-7945568d.js → OrNotification-fdb88eec.js} +4 -4
- package/dist/esm/v2/{OrOverflowMenu-5ce7171b.js → OrOverflowMenu-83540c76.js} +4 -4
- package/dist/esm/v2/{OrPassword-3597153d.js → OrPassword-022e10fd.js} +3 -3
- package/dist/esm/v2/{OrSearch-49ceaac4.js → OrSearch-620d5d76.js} +3 -3
- package/dist/esm/v2/{OrSelect-4031334e.js → OrSelect-40183874.js} +1 -1
- package/dist/esm/v2/{OrSelect-eb5cc918.js → OrSelect-d887118b.js} +4 -4
- package/dist/esm/v2/{OrSlider-32a14ca4.js → OrSlider-c0a7f9cf.js} +1 -1
- package/dist/esm/v2/{OrStepper-462bc9e6.js → OrStepper-b00f7531.js} +2 -2
- package/dist/esm/v2/{OrTag-a1fff567.js → OrTag-6349049b.js} +1 -1
- package/dist/esm/v2/{OrTextbox-0a89a533.js → OrTextbox-0373bd6a.js} +3 -3
- package/dist/esm/v2/{OrToastContainer-5ce15a5b.js → OrToastContainer-1625b803.js} +3 -3
- package/dist/esm/v2/{OrTooltip-cfb56e8f.js → OrTooltip-97a42707.js} +1 -1
- package/dist/esm/v2/{OrTooltip.vue_rollup-plugin-vue_styles.0-122f7804.js → OrTooltip.vue_rollup-plugin-vue_styles.0-a256ac18.js} +1 -1
- package/dist/esm/v2/{OrTooltipContent-c9540548.js → OrTooltipContent-d85e1071.js} +2 -2
- package/dist/esm/v2/components/index.js +34 -34
- package/dist/esm/v2/components/or-avatar/index.js +4 -4
- package/dist/esm/v2/components/or-button-v2/index.js +8 -8
- package/dist/esm/v2/components/or-card-collection/index.js +9 -9
- package/dist/esm/v2/components/or-carousel/index.js +4 -4
- package/dist/esm/v2/components/or-checkbox/index.js +4 -4
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +16 -18
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v2/components/or-chips/index.js +6 -6
- package/dist/esm/v2/components/or-chips/or-chip/index.js +4 -4
- package/dist/esm/v2/components/or-code/index.js +9 -9
- package/dist/esm/v2/components/or-confirm/index.js +10 -10
- package/dist/esm/v2/components/or-date-time-picker/index.js +8 -8
- package/dist/esm/v2/components/or-icon/index.js +3 -3
- package/dist/esm/v2/components/or-icon-button-v2/index.js +6 -6
- package/dist/esm/v2/components/or-inline-text-edit/index.js +8 -8
- package/dist/esm/v2/components/or-list/index.js +9 -9
- package/dist/esm/v2/components/or-list-of-inputs/index.js +10 -10
- package/dist/esm/v2/components/or-modal/index.js +8 -8
- package/dist/esm/v2/components/or-notification/index.js +8 -8
- package/dist/esm/v2/components/or-overflow-menu/index.js +9 -9
- package/dist/esm/v2/components/or-password/index.js +8 -8
- package/dist/esm/v2/components/or-search/index.js +8 -8
- package/dist/esm/v2/components/or-select/index.js +7 -7
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/components/or-slider/index.js +4 -4
- package/dist/esm/v2/components/or-stepper/index.js +8 -8
- package/dist/esm/v2/components/or-tag/index.js +4 -4
- package/dist/esm/v2/components/or-textbox/index.js +8 -8
- package/dist/esm/v2/components/or-toast/index.js +8 -8
- package/dist/esm/v2/components/or-toast/or-toast-container/index.js +8 -8
- package/dist/esm/v2/components/or-tooltip/index.js +3 -3
- package/dist/esm/v2/components/or-tooltip/or-tooltip-content/index.js +1 -1
- package/dist/esm/v2/index.d.ts +0 -1
- package/dist/esm/v2/index.js +34 -35
- package/dist/esm/v3/{OrAvatar-b18f2208.js → OrAvatar-14a5c5f0.js} +1 -1
- package/dist/esm/v3/{OrButton-170b493f.js → OrButton-f8b10d79.js} +2 -2
- package/dist/esm/v3/{OrCardCollection-dc158967.js → OrCardCollection-ffbb9eda.js} +4 -4
- package/dist/esm/v3/{OrCarousel-8de5d65b.js → OrCarousel-03597740.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-eab735d0.js → OrCheckbox-56f849f7.js} +16 -32
- package/dist/esm/v3/{OrCheckbox-c2d9cf53.js → OrCheckbox-7efd5f26.js} +1 -1
- package/dist/esm/v3/{OrChip-ccd4b331.js → OrChip-97a85e10.js} +1 -1
- package/dist/esm/v3/{OrChips-9a19aa03.js → OrChips-64b86761.js} +1 -1
- package/dist/esm/v3/{OrCode-b0b514ab.js → OrCode-6f2e4d99.js} +3 -3
- package/dist/esm/v3/{OrConfirm-1ffb7ed6.js → OrConfirm-ab04201f.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-02c6de49.js → OrDateTimePicker-014f7819.js} +2 -2
- package/dist/esm/v3/{OrIcon-9b3d24cc.js → OrIcon-925c5413.js} +2 -2
- package/dist/esm/v3/{OrIconButton-9d08aa44.js → OrIconButton-5387fd59.js} +3 -3
- package/dist/esm/v3/{OrInlineTextEdit-8cfde85c.js → OrInlineTextEdit-6f97629f.js} +2 -2
- package/dist/esm/v3/{OrList-d3e330be.js → OrList-b8799cf4.js} +3 -3
- package/dist/esm/v3/{OrListOfInputs-3c8eaf97.js → OrListOfInputs-16ba8358.js} +4 -4
- package/dist/esm/v3/{OrModal-f8ae7146.js → OrModal-e6513e8c.js} +2 -2
- package/dist/esm/v3/{OrNotification-24192897.js → OrNotification-4c56f7ea.js} +3 -3
- package/dist/esm/v3/{OrOverflowMenu-a7568f8d.js → OrOverflowMenu-fe77e22c.js} +2 -2
- package/dist/esm/v3/{OrPassword-88a67993.js → OrPassword-9c8a458d.js} +2 -2
- package/dist/esm/v3/{OrSearch-fb2dd591.js → OrSearch-c4caf04e.js} +2 -2
- package/dist/esm/v3/{OrSelect-ebdab996.js → OrSelect-5502d82d.js} +1 -1
- package/dist/esm/v3/{OrSelect-3d923250.js → OrSelect-d8a78242.js} +4 -4
- package/dist/esm/v3/{OrSlider-ae7b8a11.js → OrSlider-80e0f2e6.js} +1 -1
- package/dist/esm/v3/{OrStepper-446007c5.js → OrStepper-3a586401.js} +2 -2
- package/dist/esm/v3/{OrTag-38d1ba92.js → OrTag-e7adb078.js} +1 -1
- package/dist/esm/v3/{OrTextbox-7de2b10c.js → OrTextbox-f7388a30.js} +2 -2
- package/dist/esm/v3/{OrToastContainer-c3ecb1c8.js → OrToastContainer-94ba2803.js} +2 -2
- package/dist/esm/v3/{OrTooltip-be7209e5.js → OrTooltip-618ce7c9.js} +1 -1
- package/dist/esm/v3/{OrTooltipContent-68c34911.js → OrTooltipContent-37a5f562.js} +1 -1
- package/dist/esm/v3/components/index.js +30 -30
- package/dist/esm/v3/components/or-avatar/index.js +4 -4
- package/dist/esm/v3/components/or-button-v2/index.js +5 -5
- package/dist/esm/v3/components/or-card-collection/index.js +7 -7
- package/dist/esm/v3/components/or-carousel/index.js +4 -4
- package/dist/esm/v3/components/or-checkbox/index.js +4 -4
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +16 -18
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v3/components/or-chips/index.js +5 -5
- package/dist/esm/v3/components/or-chips/or-chip/index.js +4 -4
- package/dist/esm/v3/components/or-code/index.js +7 -7
- package/dist/esm/v3/components/or-confirm/index.js +7 -7
- package/dist/esm/v3/components/or-date-time-picker/index.js +6 -6
- package/dist/esm/v3/components/or-icon/index.js +3 -3
- package/dist/esm/v3/components/or-icon-button-v2/index.js +4 -4
- package/dist/esm/v3/components/or-inline-text-edit/index.js +6 -6
- package/dist/esm/v3/components/or-list/index.js +6 -6
- package/dist/esm/v3/components/or-list-of-inputs/index.js +7 -7
- package/dist/esm/v3/components/or-modal/index.js +6 -6
- package/dist/esm/v3/components/or-notification/index.js +6 -6
- package/dist/esm/v3/components/or-overflow-menu/index.js +6 -6
- package/dist/esm/v3/components/or-password/index.js +6 -6
- package/dist/esm/v3/components/or-search/index.js +6 -6
- package/dist/esm/v3/components/or-select/index.js +7 -7
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-slider/index.js +4 -4
- package/dist/esm/v3/components/or-stepper/index.js +6 -6
- package/dist/esm/v3/components/or-tag/index.js +4 -4
- package/dist/esm/v3/components/or-textbox/index.js +6 -6
- package/dist/esm/v3/components/or-toast/index.js +6 -6
- package/dist/esm/v3/components/or-toast/or-toast-container/index.js +6 -6
- package/dist/esm/v3/components/or-tooltip/index.js +2 -2
- package/dist/esm/v3/components/or-tooltip/or-tooltip-content/index.js +1 -1
- package/dist/esm/v3/index.d.ts +0 -1
- package/dist/esm/v3/index.js +30 -31
- package/package.json +3 -2
- package/src/components/or-checkbox-v3/OrCheckbox.vue +12 -30
- package/src/components/or-radio-v3/OrRadio.stories3.ts +1 -1
- package/src/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue +0 -1
- package/src/index.ts +0 -1
- package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.js +0 -140
- package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +0 -115
- package/dist/bundled/v2/components/OrCheckboxGroupV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrCheckboxGroupV3/index.js +0 -25
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +0 -196
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +0 -65
- package/dist/bundled/v2/components/OrCheckboxTreeV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrCheckboxTreeV3/index.js +0 -17
- package/dist/bundled/v2/components/OrCheckboxTreeV3/styles.d.ts +0 -2
- package/dist/bundled/v2/components/OrCheckboxTreeV3/styles.js +0 -10
- package/dist/bundled/v2/components/OrCheckboxTreeV3/types.d.ts +0 -6
- package/dist/bundled/v2/components/OrCheckboxTreeV3/types.js +0 -1
- package/dist/bundled/v2/components/OrFormGroupV3/OrFormGroup.js +0 -123
- package/dist/bundled/v2/components/OrFormGroupV3/OrFormGroup.vue.d.ts +0 -85
- package/dist/bundled/v2/components/OrFormGroupV3/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrFormGroupV3/index.js +0 -12
- package/dist/bundled/v2/components/OrFormGroupV3/props.d.ts +0 -4
- package/dist/bundled/v2/components/OrFormGroupV3/props.js +0 -7
- package/dist/bundled/v2/components/OrFormGroupV3/styles.d.ts +0 -6
- package/dist/bundled/v2/components/OrFormGroupV3/styles.js +0 -20
- package/dist/bundled/v2/components/OrRadioGroupV3/OrRadioGroup.js +0 -132
- package/dist/bundled/v2/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +0 -110
- package/dist/bundled/v2/components/OrRadioGroupV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrRadioGroupV3/index.js +0 -19
- package/dist/bundled/v2/utils/functions/flattenDeep.d.ts +0 -2
- package/dist/bundled/v2/utils/functions/flattenDeep.js +0 -5
- package/dist/bundled/v3/OrCheckboxTree.vue_vue_type_script_lang-2068c512.js +0 -98
- package/dist/bundled/v3/OrFormGroup.vue_vue_type_script_lang-360b258b.js +0 -60
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +0 -112
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +0 -115
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +0 -32
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +0 -71
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +0 -65
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +0 -20
- package/dist/bundled/v3/components/OrCheckboxTreeV3/styles.d.ts +0 -2
- package/dist/bundled/v3/components/OrCheckboxTreeV3/styles.js +0 -10
- package/dist/bundled/v3/components/OrCheckboxTreeV3/types.d.ts +0 -6
- package/dist/bundled/v3/components/OrCheckboxTreeV3/types.js +0 -1
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.js +0 -58
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.vue.d.ts +0 -85
- package/dist/bundled/v3/components/OrFormGroupV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrFormGroupV3/index.js +0 -15
- package/dist/bundled/v3/components/OrFormGroupV3/props.d.ts +0 -4
- package/dist/bundled/v3/components/OrFormGroupV3/props.js +0 -7
- package/dist/bundled/v3/components/OrFormGroupV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrFormGroupV3/styles.js +0 -20
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +0 -104
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +0 -110
- package/dist/bundled/v3/components/OrRadioGroupV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRadioGroupV3/index.js +0 -24
- package/dist/bundled/v3/utils/functions/flattenDeep.d.ts +0 -2
- package/dist/bundled/v3/utils/functions/flattenDeep.js +0 -5
- package/dist/esm/v2/OrCheckboxTree-2a61ebed.js +0 -195
- package/dist/esm/v2/OrFormGroup-7a883bce.js +0 -140
- package/dist/esm/v2/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +0 -115
- package/dist/esm/v2/components/or-checkbox-group-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +0 -129
- package/dist/esm/v2/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +0 -65
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +0 -10
- package/dist/esm/v2/components/or-checkbox-tree-v3/styles.d.ts +0 -2
- package/dist/esm/v2/components/or-checkbox-tree-v3/types.d.ts +0 -6
- package/dist/esm/v2/components/or-form-group-v3/OrFormGroup.vue.d.ts +0 -85
- package/dist/esm/v2/components/or-form-group-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-form-group-v3/index.js +0 -6
- package/dist/esm/v2/components/or-form-group-v3/props.d.ts +0 -4
- package/dist/esm/v2/components/or-form-group-v3/styles.d.ts +0 -6
- package/dist/esm/v2/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +0 -110
- package/dist/esm/v2/components/or-radio-group-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-radio-group-v3/index.js +0 -124
- package/dist/esm/v2/flattenDeep-e7a8b995.js +0 -5
- package/dist/esm/v2/utils/functions/flattenDeep.d.ts +0 -2
- package/dist/esm/v3/OrCheckboxTree-995dde34.js +0 -155
- package/dist/esm/v3/OrFormGroup-d9255559.js +0 -121
- package/dist/esm/v3/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +0 -115
- package/dist/esm/v3/components/or-checkbox-group-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +0 -94
- package/dist/esm/v3/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +0 -65
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +0 -10
- package/dist/esm/v3/components/or-checkbox-tree-v3/styles.d.ts +0 -2
- package/dist/esm/v3/components/or-checkbox-tree-v3/types.d.ts +0 -6
- package/dist/esm/v3/components/or-form-group-v3/OrFormGroup.vue.d.ts +0 -85
- package/dist/esm/v3/components/or-form-group-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-form-group-v3/index.js +0 -6
- package/dist/esm/v3/components/or-form-group-v3/props.d.ts +0 -4
- package/dist/esm/v3/components/or-form-group-v3/styles.d.ts +0 -6
- package/dist/esm/v3/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +0 -110
- package/dist/esm/v3/components/or-radio-group-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-radio-group-v3/index.js +0 -91
- package/dist/esm/v3/flattenDeep-e7a8b995.js +0 -5
- package/dist/esm/v3/utils/functions/flattenDeep.d.ts +0 -2
- package/src/components/or-checkbox-group-v3/OrCheckboxGroup.docs.mdx +0 -7
- package/src/components/or-checkbox-group-v3/OrCheckboxGroup.stories3.ts +0 -263
- package/src/components/or-checkbox-group-v3/OrCheckboxGroup.vue +0 -82
- package/src/components/or-checkbox-group-v3/index.ts +0 -1
- package/src/components/or-checkbox-tree-v3/OrCheckboxTree.docs.mdx +0 -7
- package/src/components/or-checkbox-tree-v3/OrCheckboxTree.stories3.ts +0 -112
- package/src/components/or-checkbox-tree-v3/OrCheckboxTree.vue +0 -161
- package/src/components/or-checkbox-tree-v3/index.ts +0 -1
- package/src/components/or-checkbox-tree-v3/styles.ts +0 -15
- package/src/components/or-checkbox-tree-v3/types.ts +0 -6
- package/src/components/or-form-group-v3/OrFormGroup.stories3.ts +0 -114
- package/src/components/or-form-group-v3/OrFormGroup.vue +0 -114
- package/src/components/or-form-group-v3/index.ts +0 -2
- package/src/components/or-form-group-v3/props.ts +0 -4
- package/src/components/or-form-group-v3/styles.ts +0 -36
- package/src/components/or-radio-group-v3/OrRadioGroup.stories3.ts +0 -81
- package/src/components/or-radio-group-v3/OrRadioGroup.vue +0 -80
- package/src/components/or-radio-group-v3/index.ts +0 -1
- package/src/utils/functions/flattenDeep.ts +0 -5
- /package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-e3152dc5.js → OrIcon.vue_vue_type_script_lang-e5349e49.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-0811fd48.js → OrToastContainer.vue_vue_type_script_lang-70cc38be.js} +0 -0
- /package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-b8594f7e.js → OrTooltip.vue_vue_type_script_lang-76a6b7f4.js} +0 -0
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed } from 'vue-demi';
|
|
2
|
-
import { useVModel, useToggle } from '@vueuse/core';
|
|
3
|
-
import { CheckboxTreeRoot, CheckboxTreeRootParent } from './styles.js';
|
|
4
|
-
import flattenDeep from '../../utils/functions/flattenDeep.js';
|
|
5
|
-
import __vue_component__$1 from '../OrIconV3/OrIcon.js';
|
|
6
|
-
import __vue_component__$2 from '../OrCheckboxV3/OrCheckbox.js';
|
|
7
|
-
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
8
|
-
import '../OrIconV3/props.js';
|
|
9
|
-
import '../OrIconV3/styles.js';
|
|
10
|
-
import '../OrCheckboxV3/styles.js';
|
|
11
|
-
import '../OrLabelV3/OrLabel.js';
|
|
12
|
-
import '../OrLabelV3/props.js';
|
|
13
|
-
import '../OrLabelV3/styles.js';
|
|
14
|
-
import '../../hooks/useIdAttribute.js';
|
|
15
|
-
import '../../hooks/useControlAttributes.js';
|
|
16
|
-
import '../../style-inject.es-4c6f2515.js';
|
|
17
|
-
|
|
18
|
-
var script = defineComponent({
|
|
19
|
-
name: 'OrCheckboxTree',
|
|
20
|
-
components: {
|
|
21
|
-
OrIcon: __vue_component__$1,
|
|
22
|
-
OrCheckbox: __vue_component__$2
|
|
23
|
-
},
|
|
24
|
-
model: {
|
|
25
|
-
prop: 'modelValue',
|
|
26
|
-
event: 'update:modelValue'
|
|
27
|
-
},
|
|
28
|
-
props: {
|
|
29
|
-
modelValue: {
|
|
30
|
-
type: Array,
|
|
31
|
-
default: () => []
|
|
32
|
-
},
|
|
33
|
-
item: {
|
|
34
|
-
type: Object,
|
|
35
|
-
required: true
|
|
36
|
-
},
|
|
37
|
-
collapsible: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: false
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
setup(props, {
|
|
43
|
-
emit
|
|
44
|
-
}) {
|
|
45
|
-
// State
|
|
46
|
-
const hasChildren = computed(() => props.item.children && props.item.children.length > 0);
|
|
47
|
-
const childrenValues = computed(() => {
|
|
48
|
-
const getChildValues = children => {
|
|
49
|
-
return children === null || children === void 0 ? void 0 : children.map(child => {
|
|
50
|
-
if (child.children) {
|
|
51
|
-
return getChildValues(child.children);
|
|
52
|
-
} else {
|
|
53
|
-
return child.value;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
return flattenDeep(getChildValues(props.item.children));
|
|
58
|
-
});
|
|
59
|
-
const proxyModelValue = useVModel(props, 'modelValue', emit);
|
|
60
|
-
const isAnyChildrenSelected = computed(() => {
|
|
61
|
-
var _a;
|
|
62
|
-
return (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.some(value => {
|
|
63
|
-
var _a;
|
|
64
|
-
return (_a = childrenValues.value) === null || _a === void 0 ? void 0 : _a.includes(value);
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
const isAllChildrenSelected = computed(() => {
|
|
68
|
-
var _a;
|
|
69
|
-
return (_a = childrenValues.value) === null || _a === void 0 ? void 0 : _a.every(value => {
|
|
70
|
-
var _a;
|
|
71
|
-
return (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.includes(value);
|
|
72
|
-
});
|
|
73
|
-
});
|
|
74
|
-
const isIntermediate = computed(() => {
|
|
75
|
-
return isAnyChildrenSelected.value && !isAllChildrenSelected.value;
|
|
76
|
-
});
|
|
77
|
-
const [isOpen, setIsOpen] = useToggle(true);
|
|
78
|
-
// Styles
|
|
79
|
-
const rootStyles = computed(() => ['or-checkbox-tree-v3', ...CheckboxTreeRoot]);
|
|
80
|
-
// Styles
|
|
81
|
-
const parentStyles = computed(() => [...CheckboxTreeRootParent]);
|
|
82
|
-
// Methods
|
|
83
|
-
const handleParentClick = () => {
|
|
84
|
-
if (isAllChildrenSelected.value) {
|
|
85
|
-
proxyModelValue.value = proxyModelValue.value.filter(value => !childrenValues.value.includes(value));
|
|
86
|
-
} else {
|
|
87
|
-
proxyModelValue.value = [...proxyModelValue.value, ...childrenValues.value];
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
return {
|
|
91
|
-
rootStyles,
|
|
92
|
-
parentStyles,
|
|
93
|
-
hasChildren,
|
|
94
|
-
proxyModelValue,
|
|
95
|
-
isOpen,
|
|
96
|
-
setIsOpen,
|
|
97
|
-
isIntermediate,
|
|
98
|
-
isAllChildrenSelected,
|
|
99
|
-
isAnyChildrenSelected,
|
|
100
|
-
childrenValues,
|
|
101
|
-
handleParentClick
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
/* script */
|
|
107
|
-
const __vue_script__ = script;
|
|
108
|
-
|
|
109
|
-
/* template */
|
|
110
|
-
var __vue_render__ = function () {
|
|
111
|
-
var _vm = this;
|
|
112
|
-
var _h = _vm.$createElement;
|
|
113
|
-
var _c = _vm._self._c || _h;
|
|
114
|
-
return _c('div', {
|
|
115
|
-
ref: "root",
|
|
116
|
-
class: _vm.rootStyles
|
|
117
|
-
}, [_vm.hasChildren ? [_c('div', {
|
|
118
|
-
class: _vm.parentStyles
|
|
119
|
-
}, [_vm.collapsible ? [_c('OrIcon', {
|
|
120
|
-
class: [_vm.isOpen ? 'rotate-[180deg]' : 'rotate-0'],
|
|
121
|
-
attrs: {
|
|
122
|
-
"icon": "arrow_drop_down",
|
|
123
|
-
"size": "l"
|
|
124
|
-
},
|
|
125
|
-
on: {
|
|
126
|
-
"click": function () {
|
|
127
|
-
return _vm.setIsOpen(!_vm.isOpen);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
})] : _vm._e(), _vm._v(" "), _c('OrCheckbox', {
|
|
131
|
-
attrs: {
|
|
132
|
-
"value": "true",
|
|
133
|
-
"model-value": _vm.isAllChildrenSelected,
|
|
134
|
-
"indeterminate": _vm.isIntermediate,
|
|
135
|
-
"label": _vm.item.label
|
|
136
|
-
},
|
|
137
|
-
on: {
|
|
138
|
-
"click": _vm.handleParentClick
|
|
139
|
-
}
|
|
140
|
-
})], 2), _vm._v(" "), _vm.hasChildren && _vm.isOpen ? _c('div', {
|
|
141
|
-
class: {
|
|
142
|
-
'ml-2xl': _vm.collapsible,
|
|
143
|
-
'ml-lg': !_vm.collapsible
|
|
144
|
-
}
|
|
145
|
-
}, _vm._l(_vm.item.children, function (child) {
|
|
146
|
-
return _c('OrCheckboxTree', {
|
|
147
|
-
key: child.value,
|
|
148
|
-
staticClass: "mt-xs",
|
|
149
|
-
attrs: {
|
|
150
|
-
"item": child,
|
|
151
|
-
"collapsible": _vm.collapsible || child.collapsible
|
|
152
|
-
},
|
|
153
|
-
model: {
|
|
154
|
-
value: _vm.proxyModelValue,
|
|
155
|
-
callback: function ($$v) {
|
|
156
|
-
_vm.proxyModelValue = $$v;
|
|
157
|
-
},
|
|
158
|
-
expression: "proxyModelValue"
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
}), 1) : _vm._e()] : [_c('OrCheckbox', {
|
|
162
|
-
attrs: {
|
|
163
|
-
"label": _vm.item.label,
|
|
164
|
-
"value": _vm.item.value
|
|
165
|
-
},
|
|
166
|
-
model: {
|
|
167
|
-
value: _vm.proxyModelValue,
|
|
168
|
-
callback: function ($$v) {
|
|
169
|
-
_vm.proxyModelValue = $$v;
|
|
170
|
-
},
|
|
171
|
-
expression: "proxyModelValue"
|
|
172
|
-
}
|
|
173
|
-
})]], 2);
|
|
174
|
-
};
|
|
175
|
-
var __vue_staticRenderFns__ = [];
|
|
176
|
-
|
|
177
|
-
/* style */
|
|
178
|
-
const __vue_inject_styles__ = undefined;
|
|
179
|
-
/* scoped */
|
|
180
|
-
const __vue_scope_id__ = undefined;
|
|
181
|
-
/* module identifier */
|
|
182
|
-
const __vue_module_identifier__ = undefined;
|
|
183
|
-
/* functional template */
|
|
184
|
-
const __vue_is_functional_template__ = false;
|
|
185
|
-
/* style inject */
|
|
186
|
-
|
|
187
|
-
/* style inject SSR */
|
|
188
|
-
|
|
189
|
-
/* style inject shadow dom */
|
|
190
|
-
|
|
191
|
-
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
192
|
-
render: __vue_render__,
|
|
193
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
194
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
195
|
-
|
|
196
|
-
export { __vue_component__ as default };
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue-demi';
|
|
2
|
-
import { CheckboxNode } from './types';
|
|
3
|
-
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
5
|
-
parentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
|
-
hasChildren: import("@vue/composition-api").ComputedRef<boolean | undefined>;
|
|
7
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string[]> | import("@vue/composition-api").Ref<string[]>;
|
|
8
|
-
isOpen: import("@vue/composition-api").Ref<boolean>;
|
|
9
|
-
setIsOpen: (value?: boolean | undefined) => boolean;
|
|
10
|
-
isIntermediate: import("@vue/composition-api").ComputedRef<boolean>;
|
|
11
|
-
isAllChildrenSelected: import("@vue/composition-api").ComputedRef<boolean>;
|
|
12
|
-
isAnyChildrenSelected: import("@vue/composition-api").ComputedRef<boolean>;
|
|
13
|
-
childrenValues: import("@vue/composition-api").ComputedRef<any[]>;
|
|
14
|
-
handleParentClick: () => void;
|
|
15
|
-
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
16
|
-
modelValue: {
|
|
17
|
-
type: PropType<string[]>;
|
|
18
|
-
default: () => never[];
|
|
19
|
-
};
|
|
20
|
-
item: {
|
|
21
|
-
type: PropType<CheckboxNode>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
collapsible: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
29
|
-
modelValue: {
|
|
30
|
-
type: PropType<string[]>;
|
|
31
|
-
default: () => never[];
|
|
32
|
-
};
|
|
33
|
-
item: {
|
|
34
|
-
type: PropType<CheckboxNode>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
collapsible: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
42
|
-
modelValue: string[];
|
|
43
|
-
item: CheckboxNode;
|
|
44
|
-
collapsible: boolean;
|
|
45
|
-
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
46
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
47
|
-
parentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
48
|
-
hasChildren: import("@vue/composition-api").ComputedRef<boolean | undefined>;
|
|
49
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string[]> | import("@vue/composition-api").Ref<string[]>;
|
|
50
|
-
isOpen: import("@vue/composition-api").Ref<boolean>;
|
|
51
|
-
setIsOpen: (value?: boolean | undefined) => boolean;
|
|
52
|
-
isIntermediate: import("@vue/composition-api").ComputedRef<boolean>;
|
|
53
|
-
isAllChildrenSelected: import("@vue/composition-api").ComputedRef<boolean>;
|
|
54
|
-
isAnyChildrenSelected: import("@vue/composition-api").ComputedRef<boolean>;
|
|
55
|
-
childrenValues: import("@vue/composition-api").ComputedRef<any[]>;
|
|
56
|
-
handleParentClick: () => void;
|
|
57
|
-
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
58
|
-
modelValue: string[];
|
|
59
|
-
item: CheckboxNode;
|
|
60
|
-
collapsible: boolean;
|
|
61
|
-
} & {}, {
|
|
62
|
-
modelValue: string[];
|
|
63
|
-
collapsible: boolean;
|
|
64
|
-
}, true>);
|
|
65
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as OrCheckboxTreeV3 } from './OrCheckboxTree.vue';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export { default as OrCheckboxTreeV3 } from './OrCheckboxTree.js';
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import '@vueuse/core';
|
|
4
|
-
import './styles.js';
|
|
5
|
-
import '../../utils/functions/flattenDeep.js';
|
|
6
|
-
import '../OrIconV3/OrIcon.js';
|
|
7
|
-
import '../OrIconV3/props.js';
|
|
8
|
-
import '../OrIconV3/styles.js';
|
|
9
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
10
|
-
import '../OrCheckboxV3/OrCheckbox.js';
|
|
11
|
-
import '../OrCheckboxV3/styles.js';
|
|
12
|
-
import '../OrLabelV3/OrLabel.js';
|
|
13
|
-
import '../OrLabelV3/props.js';
|
|
14
|
-
import '../OrLabelV3/styles.js';
|
|
15
|
-
import '../../hooks/useIdAttribute.js';
|
|
16
|
-
import '../../hooks/useControlAttributes.js';
|
|
17
|
-
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { FormGroupDirection } from './props.js';
|
|
3
|
-
import { FormGroupRoot, FormGroupLabel, FormGroupLabelError, FormGroupContent, FormGroupContentDirections } from './styles.js';
|
|
4
|
-
import __vue_component__$1 from '../OrLabelV3/OrLabel.js';
|
|
5
|
-
import __vue_component__$2 from '../OrErrorV3/OrError.js';
|
|
6
|
-
import __vue_component__$3 from '../OrHintV3/OrHint.js';
|
|
7
|
-
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
8
|
-
import '../OrLabelV3/props.js';
|
|
9
|
-
import '../OrLabelV3/styles.js';
|
|
10
|
-
import '../OrErrorV3/styles.js';
|
|
11
|
-
import '../OrHintV3/styles.js';
|
|
12
|
-
|
|
13
|
-
var script = defineComponent({
|
|
14
|
-
name: 'OrFormGroupV3',
|
|
15
|
-
components: {
|
|
16
|
-
OrLabel: __vue_component__$1,
|
|
17
|
-
OrError: __vue_component__$2,
|
|
18
|
-
OrHint: __vue_component__$3
|
|
19
|
-
},
|
|
20
|
-
props: {
|
|
21
|
-
label: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: undefined
|
|
24
|
-
},
|
|
25
|
-
required: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: false
|
|
28
|
-
},
|
|
29
|
-
disabled: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: false
|
|
32
|
-
},
|
|
33
|
-
direction: {
|
|
34
|
-
type: String,
|
|
35
|
-
default: FormGroupDirection.Vertical
|
|
36
|
-
},
|
|
37
|
-
error: {
|
|
38
|
-
type: [String, Boolean],
|
|
39
|
-
default: undefined
|
|
40
|
-
},
|
|
41
|
-
hint: {
|
|
42
|
-
type: String,
|
|
43
|
-
default: undefined
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
setup(props) {
|
|
47
|
-
// Refs
|
|
48
|
-
const root = ref();
|
|
49
|
-
// Styles
|
|
50
|
-
const rootStyles = computed(() => ['or-form-group-v3', ...FormGroupRoot]);
|
|
51
|
-
const labelStyles = computed(() => [...FormGroupLabel, ...(props.error ? FormGroupLabelError : [])]);
|
|
52
|
-
const contentStyles = computed(() => [...FormGroupContent, ...FormGroupContentDirections[props.direction]]);
|
|
53
|
-
return {
|
|
54
|
-
root,
|
|
55
|
-
rootStyles,
|
|
56
|
-
labelStyles,
|
|
57
|
-
contentStyles
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
/* script */
|
|
63
|
-
const __vue_script__ = script;
|
|
64
|
-
|
|
65
|
-
/* template */
|
|
66
|
-
var __vue_render__ = function () {
|
|
67
|
-
var _vm = this;
|
|
68
|
-
var _h = _vm.$createElement;
|
|
69
|
-
var _c = _vm._self._c || _h;
|
|
70
|
-
return _c('div', {
|
|
71
|
-
ref: "root",
|
|
72
|
-
class: _vm.rootStyles
|
|
73
|
-
}, [_c('div', {
|
|
74
|
-
staticClass: "flex flex-row"
|
|
75
|
-
}, [_vm._t("label", function () {
|
|
76
|
-
return [_vm.label ? _c('OrLabel', {
|
|
77
|
-
class: _vm.labelStyles,
|
|
78
|
-
attrs: {
|
|
79
|
-
"required": _vm.required,
|
|
80
|
-
"disabled": _vm.disabled
|
|
81
|
-
},
|
|
82
|
-
scopedSlots: _vm._u([{
|
|
83
|
-
key: "addon",
|
|
84
|
-
fn: function () {
|
|
85
|
-
return [_vm._t("addon")];
|
|
86
|
-
},
|
|
87
|
-
proxy: true
|
|
88
|
-
}], null, true)
|
|
89
|
-
}, [_vm._v("\n " + _vm._s(_vm.label) + "\n\n ")]) : _vm._e()];
|
|
90
|
-
})], 2), _vm._v(" "), _c('div', {
|
|
91
|
-
class: _vm.contentStyles
|
|
92
|
-
}, [_vm._t("default")], 2), _vm._v(" "), _vm.hint && !_vm.error ? [_c('OrHint', {
|
|
93
|
-
attrs: {
|
|
94
|
-
"disabled": _vm.disabled
|
|
95
|
-
}
|
|
96
|
-
}, [_vm._v("\n " + _vm._s(_vm.hint) + "\n ")])] : _vm._e(), _vm._v(" "), typeof _vm.error === 'string' ? [_c('OrError', {
|
|
97
|
-
attrs: {
|
|
98
|
-
"disabled": _vm.disabled
|
|
99
|
-
}
|
|
100
|
-
}, [_vm._v("\n " + _vm._s(_vm.error) + "\n ")])] : _vm._e()], 2);
|
|
101
|
-
};
|
|
102
|
-
var __vue_staticRenderFns__ = [];
|
|
103
|
-
|
|
104
|
-
/* style */
|
|
105
|
-
const __vue_inject_styles__ = undefined;
|
|
106
|
-
/* scoped */
|
|
107
|
-
const __vue_scope_id__ = undefined;
|
|
108
|
-
/* module identifier */
|
|
109
|
-
const __vue_module_identifier__ = undefined;
|
|
110
|
-
/* functional template */
|
|
111
|
-
const __vue_is_functional_template__ = false;
|
|
112
|
-
/* style inject */
|
|
113
|
-
|
|
114
|
-
/* style inject SSR */
|
|
115
|
-
|
|
116
|
-
/* style inject shadow dom */
|
|
117
|
-
|
|
118
|
-
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
119
|
-
render: __vue_render__,
|
|
120
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
121
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
122
|
-
|
|
123
|
-
export { __vue_component__ as default };
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue-demi';
|
|
2
|
-
import { FormGroupDirection } from './props';
|
|
3
|
-
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
|
-
labelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
-
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
|
-
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
9
|
-
label: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: undefined;
|
|
12
|
-
};
|
|
13
|
-
required: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
disabled: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
direction: {
|
|
22
|
-
type: PropType<FormGroupDirection>;
|
|
23
|
-
default: FormGroupDirection;
|
|
24
|
-
};
|
|
25
|
-
error: {
|
|
26
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
27
|
-
default: undefined;
|
|
28
|
-
};
|
|
29
|
-
hint: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: undefined;
|
|
32
|
-
};
|
|
33
|
-
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
34
|
-
label: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: undefined;
|
|
37
|
-
};
|
|
38
|
-
required: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
disabled: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
direction: {
|
|
47
|
-
type: PropType<FormGroupDirection>;
|
|
48
|
-
default: FormGroupDirection;
|
|
49
|
-
};
|
|
50
|
-
error: {
|
|
51
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
52
|
-
default: undefined;
|
|
53
|
-
};
|
|
54
|
-
hint: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
default: undefined;
|
|
57
|
-
};
|
|
58
|
-
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
59
|
-
label: string;
|
|
60
|
-
required: boolean;
|
|
61
|
-
disabled: boolean;
|
|
62
|
-
direction: FormGroupDirection;
|
|
63
|
-
error: string | boolean;
|
|
64
|
-
hint: string;
|
|
65
|
-
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
66
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
67
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
68
|
-
labelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
69
|
-
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
70
|
-
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
71
|
-
label: string;
|
|
72
|
-
required: boolean;
|
|
73
|
-
disabled: boolean;
|
|
74
|
-
direction: FormGroupDirection;
|
|
75
|
-
error: string | boolean;
|
|
76
|
-
hint: string;
|
|
77
|
-
} & {}, {
|
|
78
|
-
label: string;
|
|
79
|
-
required: boolean;
|
|
80
|
-
disabled: boolean;
|
|
81
|
-
direction: FormGroupDirection;
|
|
82
|
-
error: string | boolean;
|
|
83
|
-
hint: string;
|
|
84
|
-
}, true>);
|
|
85
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { default as OrFormGroupV3 } from './OrFormGroup.js';
|
|
2
|
-
export { FormGroupDirection } from './props.js';
|
|
3
|
-
import 'vue-demi';
|
|
4
|
-
import './styles.js';
|
|
5
|
-
import '../OrLabelV3/OrLabel.js';
|
|
6
|
-
import '../OrLabelV3/props.js';
|
|
7
|
-
import '../OrLabelV3/styles.js';
|
|
8
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
9
|
-
import '../OrErrorV3/OrError.js';
|
|
10
|
-
import '../OrErrorV3/styles.js';
|
|
11
|
-
import '../OrHintV3/OrHint.js';
|
|
12
|
-
import '../OrHintV3/styles.js';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FormGroupDirection } from './props';
|
|
2
|
-
export declare const FormGroupRoot: string[];
|
|
3
|
-
export declare const FormGroupContent: string[];
|
|
4
|
-
export declare const FormGroupLabel: string[];
|
|
5
|
-
export declare const FormGroupLabelError: string[];
|
|
6
|
-
export declare const FormGroupContentDirections: Record<FormGroupDirection, string[]>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FormGroupDirection } from './props.js';
|
|
2
|
-
|
|
3
|
-
const FormGroupRoot = [
|
|
4
|
-
// Layout
|
|
5
|
-
'flex', 'flex-col', 'gap-md md:gap-sm'];
|
|
6
|
-
const FormGroupContent = [
|
|
7
|
-
// Layout
|
|
8
|
-
'flex', 'pl-[10px] md:pl-[0]', 'gap-md md:gap-sm'];
|
|
9
|
-
const FormGroupLabel = [
|
|
10
|
-
// Typography
|
|
11
|
-
'!typography-body-2-regular', '!theme-foreground dark:!theme-foreground-dark'];
|
|
12
|
-
const FormGroupLabelError = [
|
|
13
|
-
// Typography
|
|
14
|
-
'!theme-foreground-error dark:!theme-foreground-error-dark'];
|
|
15
|
-
const FormGroupContentDirections = {
|
|
16
|
-
[FormGroupDirection.Vertical]: ['flex-col', 'gap-sm'],
|
|
17
|
-
[FormGroupDirection.Horizontal]: ['flex-row', 'gap-[18px] md:gap-md']
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { FormGroupContent, FormGroupContentDirections, FormGroupLabel, FormGroupLabelError, FormGroupRoot };
|