@onereach/ui-components 4.11.1-beta.2966.0 → 4.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +4 -8
- package/dist/bundled/v2/components/OrIconButtonV3/styles.js +11 -13
- package/dist/bundled/v2/components/OrLinkV3/OrLink.js +1 -1
- package/dist/bundled/v2/components/OrLinkV3/styles.js +1 -3
- package/dist/bundled/v2/components/OrMenuItemV3/styles.js +1 -3
- package/dist/bundled/v2/components/OrTabV3/styles.js +1 -1
- package/dist/bundled/v2/components/OrTreeV3/OrTree.js +431 -0
- package/dist/bundled/v2/components/OrTreeV3/OrTree.vue.d.ts +41 -0
- package/dist/bundled/v2/components/OrTreeV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrTreeV3/index.js +15 -0
- package/dist/bundled/v2/components/OrTreeV3/types.d.ts +15 -0
- package/dist/bundled/v2/components/OrTreeV3/types.js +8 -0
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +3 -1
- package/dist/bundled/v2/hooks/useTheme.js +12 -57
- package/dist/bundled/v2/index.js +4 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-64fc129b.js → OrCardCollection.vue_vue_type_script_lang-c7d9f452.js} +3 -3
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-ffea1240.js → OrCode.vue_vue_type_script_lang-22c66c0d.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-4877404b.js → OrConfirm.vue_vue_type_script_lang-88d3aeda.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-af356edd.js → OrDatePicker.vue_vue_type_script_lang-80de9d3a.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-8a9460ea.js → OrDateTimePicker.vue_vue_type_script_lang-300f009d.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-6618de22.js → OrDateTimePickerMonthSelect-44038b6b.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-561438ce.js → OrInlineInput.vue_vue_type_script_lang-fec60585.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-86793e79.js → OrInlineTextarea.vue_vue_type_script_lang-4265a2a2.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-5c476bb2.js → OrInput.vue_vue_type_script_lang-0b8a2b69.js} +1 -1
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-f813dee2.js → OrLink.vue_vue_type_script_lang-2d66ea4d.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-8fc43c64.js → OrModal.vue_vue_type_script_lang-e00165f1.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d3e5531b.js → OrNotification.vue_vue_type_script_lang-9d3dd0d9.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-32a27808.js → OrPagination.vue_vue_type_script_lang-cf545aab.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-964ca4bb.js → OrSearch.vue_vue_type_script_lang-3fa2209d.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-517b30ea.js → OrSelect.vue_vue_type_script_lang-b11ea2e9.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-5faf7b1f.js → OrSidebar.vue_vue_type_script_lang-55f0db3b.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-e9ea6c28.js → OrTabs.vue_vue_type_script_lang-9072248f.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-366ed9f1.js → OrTag.vue_vue_type_script_lang-640a19c4.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-f6a4ac47.js → OrTagInput.vue_vue_type_script_lang-67c8d12f.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-f4313e35.js → OrTags.vue_vue_type_script_lang-18b7221b.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-32dd6c1a.js → OrTimePicker.vue_vue_type_script_lang-5c88aee4.js} +1 -1
- package/dist/bundled/v3/OrTree.vue_vue_type_script_lang-99197964.js +310 -0
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +6 -6
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +5 -5
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +4 -4
- package/dist/bundled/v3/components/OrCodeV3/index.js +3 -3
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +4 -4
- package/dist/bundled/v3/components/OrConfirmV3/index.js +3 -3
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +5 -5
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +4 -4
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +5 -5
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +4 -4
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +2 -2
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +4 -8
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +2 -2
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrIconButtonV3/styles.js +11 -13
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +3 -3
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +3 -3
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +2 -2
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +3 -3
- package/dist/bundled/v3/components/OrInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrLinkV3/OrLink.js +2 -2
- package/dist/bundled/v3/components/OrLinkV3/index.js +1 -1
- package/dist/bundled/v3/components/OrLinkV3/styles.js +1 -3
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +2 -2
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.js +1 -3
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +3 -3
- package/dist/bundled/v3/components/OrModalV3/index.js +2 -2
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +3 -3
- package/dist/bundled/v3/components/OrNotificationV3/index.js +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +3 -3
- package/dist/bundled/v3/components/OrPaginationV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +4 -4
- package/dist/bundled/v3/components/OrSearchV3/index.js +3 -3
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +7 -7
- package/dist/bundled/v3/components/OrSelectV3/index.js +6 -6
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +3 -3
- package/dist/bundled/v3/components/OrSidebarV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTabV3/OrTab.js +2 -2
- package/dist/bundled/v3/components/OrTabV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTabV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +4 -4
- package/dist/bundled/v3/components/OrTabsV3/index.js +3 -3
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +5 -5
- package/dist/bundled/v3/components/OrTagInputV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +3 -3
- package/dist/bundled/v3/components/OrTagV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +4 -4
- package/dist/bundled/v3/components/OrTagsV3/index.js +3 -3
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +3 -3
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +3 -3
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTreeV3/OrTree.js +47 -0
- package/dist/bundled/v3/components/OrTreeV3/OrTree.vue.d.ts +35 -0
- package/dist/bundled/v3/components/OrTreeV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrTreeV3/index.js +18 -0
- package/dist/bundled/v3/components/OrTreeV3/types.d.ts +15 -0
- package/dist/bundled/v3/components/OrTreeV3/types.js +8 -0
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +28 -26
- package/dist/bundled/v3/hooks/useTheme.js +12 -57
- package/dist/bundled/v3/index.js +30 -27
- package/dist/esm/v2/{OrCardCollection-b5ccaf63.js → OrCardCollection-779ba7ca.js} +3 -3
- package/dist/esm/v2/{OrCode-80fce69d.js → OrCode-26295220.js} +2 -2
- package/dist/esm/v2/{OrConfirm-dc1b4a44.js → OrConfirm-cda74328.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-22232815.js → OrDatePicker-a4f95898.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-85ec9e32.js → OrDateTimePicker-99d3445b.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-6fc6dd97.js → OrDateTimePicker.vue_rollup-plugin-vue_script-729b254d.js} +2 -2
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-64a2087d.js → OrDateTimePickerPopoverHeader-5fa89936.js} +2 -2
- package/dist/esm/v2/{OrExpansionPanel-f1d8fcc9.js → OrExpansionPanel-acfffe82.js} +4 -8
- package/dist/esm/v2/{OrIconButton-d697e79b.js → OrIconButton-2ab8fa02.js} +11 -13
- package/dist/esm/v2/{OrInlineInput-9b112bce.js → OrInlineInput-0c62b3a6.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-52cb0f6f.js → OrInlineTextarea-c24708a7.js} +1 -1
- package/dist/esm/v2/{OrInput-c59089c1.js → OrInput-dcb61699.js} +1 -1
- package/dist/esm/v2/{OrLink-cf3a0091.js → OrLink-3679a61f.js} +2 -4
- package/dist/esm/v2/{OrMenuItem-b5bb6e11.js → OrMenuItem-6f9b8a93.js} +1 -3
- package/dist/esm/v2/{OrModal-e995d051.js → OrModal-abc3b1d9.js} +1 -1
- package/dist/esm/v2/{OrNotification-6cf10478.js → OrNotification-5b7028d7.js} +1 -1
- package/dist/esm/v2/{OrPagination-b9a941dd.js → OrPagination-4ece4568.js} +1 -1
- package/dist/esm/v2/{OrSearch-20d84f70.js → OrSearch-879c7656.js} +1 -1
- package/dist/esm/v2/{OrSelect-c3467cac.js → OrSelect-01d61a9a.js} +4 -4
- package/dist/esm/v2/{OrSidebar-0d4ab98b.js → OrSidebar-bd385865.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-74654d32.js → OrSidebarCollapseButton-49da331a.js} +1 -1
- package/dist/esm/v2/{OrTab-88036fe9.js → OrTab-5b198746.js} +1 -1
- package/dist/esm/v2/{OrTabs-80db5b36.js → OrTabs-f9c88893.js} +2 -2
- package/dist/esm/v2/{OrTag-f47e96d1.js → OrTag-2b9e664b.js} +1 -1
- package/dist/esm/v2/{OrTagInput-68a5a851.js → OrTagInput-1548f007.js} +2 -2
- package/dist/esm/v2/{OrTags-f031bb91.js → OrTags-25a70212.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-1478090e.js → OrTimePicker-9c9a44bc.js} +3 -3
- package/dist/esm/v2/OrTree-dcacd695.js +428 -0
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +29 -28
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -5
- package/dist/esm/v2/components/or-code-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +1 -1
- package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-link-v3/index.js +1 -1
- package/dist/esm/v2/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +2 -2
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +2 -2
- package/dist/esm/v2/components/or-tab-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tags-v3/index.js +3 -3
- package/dist/esm/v2/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tree-v3/OrTree.vue.d.ts +41 -0
- package/dist/esm/v2/components/or-tree-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-tree-v3/index.js +7 -0
- package/dist/esm/v2/components/or-tree-v3/partials/or-tree-node/OrTreeNode.vue.d.ts +120 -0
- package/dist/esm/v2/components/or-tree-v3/partials/or-tree-node/styles.d.ts +6 -0
- package/dist/esm/v2/components/or-tree-v3/partials/or-tree-node/utils.d.ts +3 -0
- package/dist/esm/v2/components/or-tree-v3/types.d.ts +15 -0
- package/dist/esm/v2/index.js +29 -28
- package/dist/esm/v2/{types-74ac906d.js → types-a74e1e20.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-88ecc830.js → OrCardCollection-4516594a.js} +3 -3
- package/dist/esm/v3/{OrCode-2672ed4b.js → OrCode-0c2310e5.js} +2 -2
- package/dist/esm/v3/{OrConfirm-457c62a2.js → OrConfirm-240cfe0a.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-96463df7.js → OrDatePicker-f4470d79.js} +2 -2
- package/dist/esm/v3/{OrDateTimePicker-8c0afb97.js → OrDateTimePicker-546c15ec.js} +2 -2
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-e3e72a13.js → OrDateTimePickerPopoverHeader-96a38b4b.js} +2 -2
- package/dist/esm/v3/{OrExpansionPanel-891154e6.js → OrExpansionPanel-af3a0d63.js} +4 -8
- package/dist/esm/v3/{OrIconButton-a14845da.js → OrIconButton-00f8f0c7.js} +11 -13
- package/dist/esm/v3/{OrInlineInput-5062e3da.js → OrInlineInput-4d47d731.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-e0b2ada7.js → OrInlineTextarea-1415bed9.js} +1 -1
- package/dist/esm/v3/{OrInput-f193a335.js → OrInput-f0e12c81.js} +1 -1
- package/dist/esm/v3/{OrLink-dcae31fb.js → OrLink-7c4eedf0.js} +2 -4
- package/dist/esm/v3/{OrMenuItem-331cb96b.js → OrMenuItem-dbee450f.js} +1 -3
- package/dist/esm/v3/{OrModal-cc9ee234.js → OrModal-6a90ea79.js} +1 -1
- package/dist/esm/v3/{OrNotification-db17daa7.js → OrNotification-117f2dcb.js} +1 -1
- package/dist/esm/v3/{OrPagination-1018acbc.js → OrPagination-858337d1.js} +1 -1
- package/dist/esm/v3/{OrSearch-ab589748.js → OrSearch-051adc07.js} +1 -1
- package/dist/esm/v3/{OrSelect-d3be37b4.js → OrSelect-b3885148.js} +4 -4
- package/dist/esm/v3/{OrSidebar-997e97d3.js → OrSidebar-47f9d02a.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-304d7018.js → OrSidebarCollapseButton-86dafbbc.js} +1 -1
- package/dist/esm/v3/{OrTab-2d567d8e.js → OrTab-f7e51ffb.js} +1 -1
- package/dist/esm/v3/{OrTabs-328f5a69.js → OrTabs-52e49d84.js} +2 -2
- package/dist/esm/v3/{OrTag-8bd6c1c1.js → OrTag-9adef1cd.js} +1 -1
- package/dist/esm/v3/{OrTagInput-6134bcaf.js → OrTagInput-63d0f5fb.js} +2 -2
- package/dist/esm/v3/{OrTags-39ecb78f.js → OrTags-d7a90658.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-4aa28ef2.js → OrTimePicker-98c00a9b.js} +3 -3
- package/dist/esm/v3/OrTree-3b655a7a.js +342 -0
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +28 -27
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -5
- package/dist/esm/v3/components/or-code-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +1 -1
- package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-link-v3/index.js +1 -1
- package/dist/esm/v3/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +2 -2
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +2 -2
- package/dist/esm/v3/components/or-tab-v3/index.js +1 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tags-v3/index.js +3 -3
- package/dist/esm/v3/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tree-v3/OrTree.vue.d.ts +35 -0
- package/dist/esm/v3/components/or-tree-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-tree-v3/index.js +7 -0
- package/dist/esm/v3/components/or-tree-v3/partials/or-tree-node/OrTreeNode.vue.d.ts +88 -0
- package/dist/esm/v3/components/or-tree-v3/partials/or-tree-node/styles.d.ts +6 -0
- package/dist/esm/v3/components/or-tree-v3/partials/or-tree-node/utils.d.ts +3 -0
- package/dist/esm/v3/components/or-tree-v3/types.d.ts +15 -0
- package/dist/esm/v3/index.js +28 -27
- package/dist/esm/v3/{types-f3a7962c.js → types-c78924f3.js} +1 -1
- package/package.json +4 -3
- package/src/components/index.ts +1 -0
- package/src/components/or-expansion-panel-v3/styles.ts +8 -16
- package/src/components/or-icon-button-v3/styles.ts +24 -36
- package/src/components/or-link-v3/OrLink.vue +1 -1
- package/src/components/or-link-v3/styles.ts +2 -6
- package/src/components/or-menu-item-v3/styles.ts +2 -6
- package/src/components/or-tab-v3/styles.ts +2 -2
- package/src/components/or-tree-v3/OrTree.vue +65 -0
- package/src/components/or-tree-v3/index.ts +2 -0
- package/src/components/or-tree-v3/partials/or-tree-node/OrTreeNode.vue +235 -0
- package/src/components/or-tree-v3/partials/or-tree-node/styles.ts +60 -0
- package/src/components/or-tree-v3/partials/or-tree-node/utils.ts +26 -0
- package/src/components/or-tree-v3/types.ts +16 -0
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-84aa4843.js → OrDateTimePickerMonthSelect-88a629fe.js} +0 -0
- /package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-fa265d9a.js → OrExpansionPanel.vue_vue_type_script_lang-6ea94b95.js} +0 -0
- /package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-22914946.js → OrIconButton.vue_vue_type_script_lang-41792494.js} +0 -0
- /package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-f35dcab4.js → OrMenuItem.vue_vue_type_script_lang-b338d68a.js} +0 -0
- /package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-8af58197.js → OrTab.vue_vue_type_script_lang-79f2f523.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-de596582.js → OrToastContainer.vue_vue_type_script_lang-7d44207e.js} +0 -0
|
@@ -8,11 +8,11 @@ import { s as script$3 } from './OrButton.vue_vue_type_script_lang-7370e903.js';
|
|
|
8
8
|
import './components/OrMenuV3/OrMenu.js';
|
|
9
9
|
import { s as script$4 } from './OrMenu.vue_vue_type_script_lang-f8611f9d.js';
|
|
10
10
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
11
|
-
import { s as script$5 } from './OrMenuItem.vue_vue_type_script_lang-
|
|
11
|
+
import { s as script$5 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
12
12
|
import './components/OrIconV3/OrIcon.js';
|
|
13
13
|
import './components/OrSearchV3/OrSearch.js';
|
|
14
|
-
import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-
|
|
15
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
14
|
+
import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-3fa2209d.js';
|
|
15
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
16
16
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
17
17
|
|
|
18
18
|
var script$1 = defineComponent({
|
|
@@ -10,11 +10,11 @@ import './components/OrIconButtonV3/OrIconButton.js';
|
|
|
10
10
|
import './components/OrInputBoxV3/OrInputBox.js';
|
|
11
11
|
import './components/OrLabelV3/OrLabel.js';
|
|
12
12
|
import './components/OrModalV3/OrModal.js';
|
|
13
|
-
import { s as script$6 } from './OrModal.vue_vue_type_script_lang-
|
|
13
|
+
import { s as script$6 } from './OrModal.vue_vue_type_script_lang-e00165f1.js';
|
|
14
14
|
import { useTheme } from './hooks/useTheme.js';
|
|
15
15
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
16
16
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
17
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
17
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
18
18
|
import { s as script$4 } from './OrInputBox.vue_vue_type_script_lang-49fb179a.js';
|
|
19
19
|
import { s as script$5 } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
20
20
|
import { useIdAttribute } from './hooks/useIdAttribute.js';
|
|
@@ -9,7 +9,7 @@ import './components/OrInputV3/OrInput.js';
|
|
|
9
9
|
import { ButtonColor } from './components/OrButtonV3/props.js';
|
|
10
10
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-9036d75d.js';
|
|
11
11
|
import { s as script$2 } from './OrButton.vue_vue_type_script_lang-7370e903.js';
|
|
12
|
-
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-0b8a2b69.js';
|
|
13
13
|
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
14
14
|
import { w as whenever } from './index-f4d8e24c.js';
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './components/OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
|
-
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-
|
|
3
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-44038b6b.js';
|
|
4
4
|
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader-4959231c.js';
|
|
5
5
|
import { DatePicker, DatePickerPopover } from './components/OrDatePickerV3/styles.js';
|
|
6
6
|
import './components/OrErrorV3/OrError.js';
|
|
@@ -15,7 +15,7 @@ import { DropdownOpen } from './directives/dropdown-open.js';
|
|
|
15
15
|
import { s as script$7 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
16
16
|
import { s as script$8 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
17
17
|
import { s as script$9 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
18
|
-
import { s as script$a } from './OrIconButton.vue_vue_type_script_lang-
|
|
18
|
+
import { s as script$a } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
19
19
|
import { s as script$b } from './OrInputBox.vue_vue_type_script_lang-49fb179a.js';
|
|
20
20
|
import { s as script$c } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
21
21
|
import { s as script$d } from './OrPopover.vue_vue_type_script_lang-d15ec5cb.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './components/OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
|
-
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-
|
|
3
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-44038b6b.js';
|
|
4
4
|
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader-4959231c.js';
|
|
5
5
|
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect-b8cc72af.js';
|
|
6
6
|
import { DateTimePickerTimeFormat } from './components/OrDateTimePickerV3/props.js';
|
|
@@ -15,7 +15,7 @@ import './components/OrPopoverV3/OrPopover.js';
|
|
|
15
15
|
import { s as script$9 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
16
16
|
import { s as script$a } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
17
17
|
import { s as script$b } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
18
|
-
import { s as script$c } from './OrIconButton.vue_vue_type_script_lang-
|
|
18
|
+
import { s as script$c } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
19
19
|
import { s as script$d } from './OrInputBox.vue_vue_type_script_lang-49fb179a.js';
|
|
20
20
|
import { s as script$e } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
21
21
|
import { s as script$f } from './OrPopover.vue_vue_type_script_lang-d15ec5cb.js';
|
|
@@ -9,9 +9,9 @@ import './components/OrIconButtonV3/OrIconButton.js';
|
|
|
9
9
|
import './components/OrMenuV3/OrMenu.js';
|
|
10
10
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
11
11
|
import { s as script$4 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
12
|
-
import { s as script$5 } from './OrIconButton.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$5 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
13
13
|
import { s as script$6 } from './OrMenu.vue_vue_type_script_lang-f8611f9d.js';
|
|
14
|
-
import { s as script$7 } from './OrMenuItem.vue_vue_type_script_lang-
|
|
14
|
+
import { s as script$7 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
15
15
|
|
|
16
16
|
const DateTimePickerDateControl = [
|
|
17
17
|
// Layout
|
|
@@ -9,7 +9,7 @@ import { s as script$4 } from './OrInlineInputBox.vue_vue_type_script_lang-fe99c
|
|
|
9
9
|
import { InlineInputBoxSize } from './components/OrInlineInputBoxV3/props.js';
|
|
10
10
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
11
11
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
12
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
13
13
|
import { useIdAttribute } from './hooks/useIdAttribute.js';
|
|
14
14
|
import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
15
15
|
import { useValidationAttributes } from './hooks/useValidationAttributes.js';
|
|
@@ -6,7 +6,7 @@ import './components/OrIconButtonV3/OrIconButton.js';
|
|
|
6
6
|
import './components/OrInlineInputBoxV3/OrInlineInputBox.js';
|
|
7
7
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
8
8
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
9
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
10
10
|
import { s as script$4 } from './OrInlineInputBox.vue_vue_type_script_lang-fe99c485.js';
|
|
11
11
|
import { useIdAttribute } from './hooks/useIdAttribute.js';
|
|
12
12
|
import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
@@ -7,7 +7,7 @@ import './components/OrHintV3/OrHint.js';
|
|
|
7
7
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
8
8
|
import './components/OrIconV3/OrIcon.js';
|
|
9
9
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
10
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
11
11
|
import './components/OrInputBoxV3/OrInputBox.js';
|
|
12
12
|
import { s as script$5 } from './OrInputBox.vue_vue_type_script_lang-49fb179a.js';
|
|
13
13
|
import './components/OrLabelV3/OrLabel.js';
|
|
@@ -35,7 +35,7 @@ var script = defineComponent({
|
|
|
35
35
|
// Refs
|
|
36
36
|
const root = ref();
|
|
37
37
|
// Styles
|
|
38
|
-
const rootStyles = computed(() => ['or-link-v3', ...LinkRoot, ...LinkRootColors[`${props.color}`], props.loading && 'interactivity-none', props.underlined && 'underline hover:
|
|
38
|
+
const rootStyles = computed(() => ['or-link-v3', ...LinkRoot, ...LinkRootColors[`${props.color}`], props.loading && 'interactivity-none', props.underlined && 'underline hover:no-underline']);
|
|
39
39
|
return {
|
|
40
40
|
root,
|
|
41
41
|
rootStyles
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
2
|
import { openBlock, createElementBlock, normalizeClass, renderSlot, resolveComponent, createElementVNode, createVNode, withModifiers } from 'vue';
|
|
3
3
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
4
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
4
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
5
5
|
import { ModalSize } from './components/OrModalV3/props.js';
|
|
6
6
|
import { ModalRoot, ModalRootSizes } from './components/OrModalV3/styles.js';
|
|
7
7
|
import './components/OrOverlayV3/OrOverlay.js';
|
|
@@ -4,7 +4,7 @@ import { NotificationRoot, NotificationRootVariants, NotificationIcon, Notificat
|
|
|
4
4
|
import './components/OrIconV3/OrIcon.js';
|
|
5
5
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
6
6
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
7
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
10
10
|
name: 'OrNotification',
|
|
@@ -7,7 +7,7 @@ import './components/OrMenuItemV3/OrMenuItem.js';
|
|
|
7
7
|
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-7370e903.js';
|
|
8
8
|
import { s as script$2 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
9
9
|
import { s as script$3 } from './OrMenu.vue_vue_type_script_lang-f8611f9d.js';
|
|
10
|
-
import { s as script$4 } from './OrMenuItem.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$4 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
11
11
|
import useResponsive from './hooks/useResponsive/useResponsive.js';
|
|
12
12
|
import { useProxyModelValue } from './hooks/useProxyModelValue.js';
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import './components/OrInputV3/OrInput.js';
|
|
3
|
-
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-
|
|
3
|
+
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-0b8a2b69.js';
|
|
4
4
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
5
5
|
import { a as watchDebounced } from './index-f4d8e24c.js';
|
|
6
6
|
|
|
@@ -4,7 +4,7 @@ import { SelectRoot, SelectControl, SelectPlaceholder, SelectDropdown, SelectDro
|
|
|
4
4
|
import './components/OrCheckboxV3/OrCheckbox.js';
|
|
5
5
|
import './components/OrErrorV3/OrError.js';
|
|
6
6
|
import './components/OrExpansionPanelV3/OrExpansionPanel.js';
|
|
7
|
-
import { s as script$3 } from './OrExpansionPanel.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$3 } from './OrExpansionPanel.vue_vue_type_script_lang-6ea94b95.js';
|
|
8
8
|
import './components/OrHintV3/OrHint.js';
|
|
9
9
|
import './components/OrIconV3/OrIcon.js';
|
|
10
10
|
import './components/OrInputV3/OrInput.js';
|
|
@@ -13,16 +13,16 @@ import './components/OrLabelV3/OrLabel.js';
|
|
|
13
13
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
14
14
|
import './components/OrPopoverV3/OrPopover.js';
|
|
15
15
|
import './components/OrTagV3/OrTag.js';
|
|
16
|
-
import { s as script$b } from './OrTag.vue_vue_type_script_lang-
|
|
16
|
+
import { s as script$b } from './OrTag.vue_vue_type_script_lang-640a19c4.js';
|
|
17
17
|
import { useOverflow } from './hooks/useOverflow.js';
|
|
18
18
|
import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-a27167e0.js';
|
|
19
19
|
import { s as script$2 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
20
20
|
import { s as script$4 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
21
21
|
import { s as script$5 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
22
|
-
import { s as script$6 } from './OrInput.vue_vue_type_script_lang-
|
|
22
|
+
import { s as script$6 } from './OrInput.vue_vue_type_script_lang-0b8a2b69.js';
|
|
23
23
|
import { s as script$7 } from './OrInputBox.vue_vue_type_script_lang-49fb179a.js';
|
|
24
24
|
import { s as script$8 } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
25
|
-
import { s as script$9 } from './OrMenuItem.vue_vue_type_script_lang-
|
|
25
|
+
import { s as script$9 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
26
26
|
import { s as script$a } from './OrPopover.vue_vue_type_script_lang-d15ec5cb.js';
|
|
27
27
|
import { DropdownClose } from './directives/dropdown-close.js';
|
|
28
28
|
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
@@ -2,7 +2,7 @@ import { e as useDraggable, d as useElementBounding } from './index-e11e05e2.js'
|
|
|
2
2
|
import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
|
|
3
3
|
import { OrSidebarPlacement } from './components/OrSidebarV3/props.js';
|
|
4
4
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
6
6
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode } from 'vue';
|
|
7
7
|
import { SidebarRoot, SidebarBar, SidebarSides, SidebarToolbar, CollapsibleSidebarToolbar, SidebarToolbarSides, SidebarResize, SidebarResizeSides, SidebarResizingSides, SidebarCollapseButton, SidebarCollapseButtonSides, SidebarMain, SidebarHeader, SidebarContent, SidebarFooter } from './components/OrSidebarV3/styles.js';
|
|
8
8
|
|
|
@@ -6,10 +6,10 @@ import './components/OrIconV3/OrIcon.js';
|
|
|
6
6
|
import './components/OrMenuV3/OrMenu.js';
|
|
7
7
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
8
8
|
import './components/OrTabV3/OrTab.js';
|
|
9
|
-
import { s as script$4 } from './OrTab.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$4 } from './OrTab.vue_vue_type_script_lang-79f2f523.js';
|
|
10
10
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
11
11
|
import { s as script$2 } from './OrMenu.vue_vue_type_script_lang-f8611f9d.js';
|
|
12
|
-
import { s as script$3 } from './OrMenuItem.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
13
13
|
import { useProxyModelValue } from './hooks/useProxyModelValue.js';
|
|
14
14
|
|
|
15
15
|
var script = defineComponent({
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi
|
|
|
2
2
|
import { TagVariant, TagColor } from './components/OrTagV3/props.js';
|
|
3
3
|
import { TagRoot, TagRootVariants, TagRootColors } from './components/OrTagV3/styles.js';
|
|
4
4
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
5
|
-
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
8
8
|
name: 'OrTag',
|
|
@@ -6,10 +6,10 @@ import './components/OrIconButtonV3/OrIconButton.js';
|
|
|
6
6
|
import './components/OrInputBoxV3/OrInputBox.js';
|
|
7
7
|
import './components/OrLabelV3/OrLabel.js';
|
|
8
8
|
import './components/OrTagsV3/OrTags.js';
|
|
9
|
-
import { s as script$6 } from './OrTags.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$6 } from './OrTags.vue_vue_type_script_lang-18b7221b.js';
|
|
10
10
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
11
11
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
12
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
13
13
|
import { s as script$4 } from './OrInputBox.vue_vue_type_script_lang-49fb179a.js';
|
|
14
14
|
import { s as script$5 } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
15
15
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
@@ -5,7 +5,7 @@ import './components/OrPopoverV3/OrPopover.js';
|
|
|
5
5
|
import './components/OrTagV3/OrTag.js';
|
|
6
6
|
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-7370e903.js';
|
|
7
7
|
import { s as script$2 } from './OrPopover.vue_vue_type_script_lang-d15ec5cb.js';
|
|
8
|
-
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-
|
|
8
|
+
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-640a19c4.js';
|
|
9
9
|
import { useOverflow } from './hooks/useOverflow.js';
|
|
10
10
|
|
|
11
11
|
var script = defineComponent({
|
|
@@ -14,7 +14,7 @@ import { DateTimePickerTimeFormat } from './components/OrDateTimePickerV3/props.
|
|
|
14
14
|
import { s as script$6 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
15
15
|
import { s as script$7 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
16
16
|
import { s as script$8 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
17
|
-
import { s as script$9 } from './OrIconButton.vue_vue_type_script_lang-
|
|
17
|
+
import { s as script$9 } from './OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
18
18
|
import { s as script$a } from './OrInputBox.vue_vue_type_script_lang-49fb179a.js';
|
|
19
19
|
import { s as script$b } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
20
20
|
import { s as script$c } from './OrPopover.vue_vue_type_script_lang-d15ec5cb.js';
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch, unref, onMounted } from 'vue-demi';
|
|
2
|
+
import { TreeNodeDropPosition } from './components/OrTreeV3/types.js';
|
|
3
|
+
import './components/OrButtonV3/OrButton.js';
|
|
4
|
+
import './components/OrIconV3/OrIcon.js';
|
|
5
|
+
import { s as script$2 } from './OrButton.vue_vue_type_script_lang-7370e903.js';
|
|
6
|
+
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
7
|
+
import { u as useToggle } from './index-f4d8e24c.js';
|
|
8
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, createBlock, withCtx, createVNode, createCommentVNode, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, Fragment, renderList } from 'vue';
|
|
9
|
+
|
|
10
|
+
function inRange(num, min, max) {
|
|
11
|
+
return num >= min && num <= max;
|
|
12
|
+
}
|
|
13
|
+
function getDropOffset(e) {
|
|
14
|
+
let canMiddleDrop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
15
|
+
const {
|
|
16
|
+
clientY
|
|
17
|
+
} = e;
|
|
18
|
+
const {
|
|
19
|
+
top,
|
|
20
|
+
height
|
|
21
|
+
} = e.target.getBoundingClientRect();
|
|
22
|
+
const offset = Math.max((clientY - top) / height, 0); // sometimes offset is negative
|
|
23
|
+
if (canMiddleDrop && inRange(offset, 0.4, 0.7)) {
|
|
24
|
+
return TreeNodeDropPosition.Middle;
|
|
25
|
+
} else if (inRange(offset, 0, 0.5)) {
|
|
26
|
+
return TreeNodeDropPosition.Top;
|
|
27
|
+
}
|
|
28
|
+
return TreeNodeDropPosition.Bottom;
|
|
29
|
+
}
|
|
30
|
+
function applyPadding(element, level, hasCollapseTrigger) {
|
|
31
|
+
const padding = level * 20 - (hasCollapseTrigger ? 20 : 0);
|
|
32
|
+
Object.assign(element.style, {
|
|
33
|
+
paddingLeft: `${padding}px`
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const TreeNodeRoot = [];
|
|
38
|
+
const TreeNodeItemRoot = [
|
|
39
|
+
// Layout
|
|
40
|
+
'layout-row', 'py-xs', '!items-start', 'relative',
|
|
41
|
+
// Theme
|
|
42
|
+
'hover:bg-primary-opacity-0-08', 'dark:hover:bg-primary-opacity-0-08-dark', 'selected:bg-primary-opacity-0-16', 'dark:selected:bg-primary-opacity-0-16-dark', 'selected:hover:bg-primary-opacity-0-16', 'dark:selected:hover:bg-primary-opacity-0-16-dark'];
|
|
43
|
+
const TreeNodeItemRootParentSelected = [
|
|
44
|
+
// Theme
|
|
45
|
+
'bg-primary-opacity-0-08', 'bg-primary-opacity-0-08-dark', 'hover:bg-primary-opacity-0-16', 'dark:hover:bg-primary-opacity-0-16-dark'];
|
|
46
|
+
const TreeNodeDragIndicator = [
|
|
47
|
+
// Layout
|
|
48
|
+
'absolute h-[2px] w-full left-[0px]',
|
|
49
|
+
// Theme
|
|
50
|
+
'bg-primary',
|
|
51
|
+
// Interaction
|
|
52
|
+
'pointer-events-none'];
|
|
53
|
+
const TreeNodeDragIndicatorPosition = {
|
|
54
|
+
top: ['top-[-1px]'],
|
|
55
|
+
middle: ['top-[-1px]', 'left-[0px]', 'w-full', '!h-[calc(100%+2px)]',
|
|
56
|
+
// Theme
|
|
57
|
+
'bg-transparent', 'border-x-0', 'border-y-2', 'border-primary', 'dark:border-primary-dark'],
|
|
58
|
+
bottom: ['bottom-[-1px]']
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
var script$1 = defineComponent({
|
|
62
|
+
name: 'OrTreeNode',
|
|
63
|
+
components: {
|
|
64
|
+
OrButton: script$2,
|
|
65
|
+
OrIcon: script$3
|
|
66
|
+
},
|
|
67
|
+
props: {
|
|
68
|
+
node: {
|
|
69
|
+
type: Object,
|
|
70
|
+
required: true
|
|
71
|
+
},
|
|
72
|
+
selected: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: undefined
|
|
75
|
+
},
|
|
76
|
+
parentSelected: {
|
|
77
|
+
type: Boolean,
|
|
78
|
+
default: undefined
|
|
79
|
+
},
|
|
80
|
+
expanded: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: true
|
|
83
|
+
},
|
|
84
|
+
depth: {
|
|
85
|
+
type: Number,
|
|
86
|
+
default: 1
|
|
87
|
+
},
|
|
88
|
+
draggable: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
default: false
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
emits: ['drop', 'dragstart', 'click', 'expand', 'collapse', 'contextmenu'],
|
|
94
|
+
setup(props, _ref) {
|
|
95
|
+
let {
|
|
96
|
+
emit
|
|
97
|
+
} = _ref;
|
|
98
|
+
// Refs
|
|
99
|
+
const root = ref();
|
|
100
|
+
const nodeRoot = ref();
|
|
101
|
+
// State
|
|
102
|
+
const isDragOver = ref(false);
|
|
103
|
+
const isDrag = ref(false);
|
|
104
|
+
const dragPosition = ref('top');
|
|
105
|
+
const hasChildren = computed(() => !!props.node.children && props.node.children.length > 0);
|
|
106
|
+
const [isOpen, setIsOpen] = useToggle(props.expanded);
|
|
107
|
+
const hasCollapseTrigger = computed(() => props.node.collapsible || hasChildren.value);
|
|
108
|
+
const isLeaf = computed(() => !hasChildren.value);
|
|
109
|
+
const canDrag = computed(() => props.draggable !== false && props.node.draggable !== false);
|
|
110
|
+
// Effects
|
|
111
|
+
watch(() => props.depth, value => {
|
|
112
|
+
applyPadding(unref(nodeRoot), value, hasCollapseTrigger.value);
|
|
113
|
+
});
|
|
114
|
+
watch(() => props.expanded, value => {
|
|
115
|
+
if (value !== undefined) {
|
|
116
|
+
setIsOpen(value);
|
|
117
|
+
}
|
|
118
|
+
}, {
|
|
119
|
+
immediate: true
|
|
120
|
+
});
|
|
121
|
+
onMounted(() => {
|
|
122
|
+
applyPadding(unref(nodeRoot), props.depth, hasCollapseTrigger.value);
|
|
123
|
+
});
|
|
124
|
+
// Methods
|
|
125
|
+
const handleDrop = e => {
|
|
126
|
+
var _a;
|
|
127
|
+
const nodeKey = (_a = e === null || e === void 0 ? void 0 : e.dataTransfer) === null || _a === void 0 ? void 0 : _a.getData('node-key');
|
|
128
|
+
isDragOver.value = false;
|
|
129
|
+
emit('drop', {
|
|
130
|
+
dropKey: props.node.key,
|
|
131
|
+
dragKey: nodeKey,
|
|
132
|
+
dropPosition: dragPosition.value
|
|
133
|
+
});
|
|
134
|
+
};
|
|
135
|
+
const handleDragStart = e => {
|
|
136
|
+
var _a;
|
|
137
|
+
isDrag.value = true;
|
|
138
|
+
setIsOpen(false);
|
|
139
|
+
(_a = e === null || e === void 0 ? void 0 : e.dataTransfer) === null || _a === void 0 ? void 0 : _a.setData('node-key', props.node.key);
|
|
140
|
+
emit('dragstart', props.node.key);
|
|
141
|
+
};
|
|
142
|
+
const handleDragOver = e => {
|
|
143
|
+
e.preventDefault();
|
|
144
|
+
e.stopPropagation();
|
|
145
|
+
dragPosition.value = getDropOffset(e, props.node.canMiddleDrop || props.node.collapsible || hasChildren.value);
|
|
146
|
+
isDragOver.value = true;
|
|
147
|
+
};
|
|
148
|
+
const handleDragLeave = e => {
|
|
149
|
+
e.preventDefault();
|
|
150
|
+
e.stopPropagation();
|
|
151
|
+
isDragOver.value = false;
|
|
152
|
+
};
|
|
153
|
+
const handleContextMenu = e => {
|
|
154
|
+
emit('contextmenu', Object.assign(e, {
|
|
155
|
+
nodeKey: props.node.key
|
|
156
|
+
}));
|
|
157
|
+
};
|
|
158
|
+
const handleClick = e => {
|
|
159
|
+
e.preventDefault();
|
|
160
|
+
emit('click', props.node.key);
|
|
161
|
+
};
|
|
162
|
+
const handleCollapse = () => {
|
|
163
|
+
if (isOpen.value) {
|
|
164
|
+
setIsOpen(false);
|
|
165
|
+
emit('collapse', props.node.key);
|
|
166
|
+
} else {
|
|
167
|
+
setIsOpen(true);
|
|
168
|
+
emit('expand', props.node.key);
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
// Styles
|
|
172
|
+
const rootStyles = computed(() => ['or-tree-node-v3', ...TreeNodeRoot]);
|
|
173
|
+
const nodeStyles = computed(() => [...TreeNodeItemRoot, ...(props.parentSelected ? TreeNodeItemRootParentSelected : [])]);
|
|
174
|
+
const dragIndicatorStyles = computed(() => [...TreeNodeDragIndicator, ...TreeNodeDragIndicatorPosition[dragPosition.value]]);
|
|
175
|
+
return {
|
|
176
|
+
root,
|
|
177
|
+
isOpen,
|
|
178
|
+
isLeaf,
|
|
179
|
+
rootStyles,
|
|
180
|
+
nodeStyles,
|
|
181
|
+
dragIndicatorStyles,
|
|
182
|
+
setIsOpen,
|
|
183
|
+
nodeRoot,
|
|
184
|
+
isDrag,
|
|
185
|
+
canDrag,
|
|
186
|
+
dragPosition,
|
|
187
|
+
handleDragStart,
|
|
188
|
+
handleDrop,
|
|
189
|
+
handleCollapse,
|
|
190
|
+
handleContextMenu,
|
|
191
|
+
handleClick,
|
|
192
|
+
handleDragOver,
|
|
193
|
+
handleDragLeave,
|
|
194
|
+
hasCollapseTrigger,
|
|
195
|
+
isDragOver
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
const _hoisted_1 = ["draggable", "selected"];
|
|
201
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
202
|
+
const _component_OrIcon = resolveComponent("OrIcon");
|
|
203
|
+
const _component_OrButton = resolveComponent("OrButton");
|
|
204
|
+
const _component_OrTreeNode = resolveComponent("OrTreeNode", true);
|
|
205
|
+
return openBlock(), createElementBlock("div", {
|
|
206
|
+
ref: "root",
|
|
207
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
208
|
+
}, [createElementVNode("div", {
|
|
209
|
+
ref: "nodeRoot",
|
|
210
|
+
class: normalizeClass(_ctx.nodeStyles),
|
|
211
|
+
draggable: _ctx.canDrag ? true : undefined,
|
|
212
|
+
selected: _ctx.selected ? true : undefined,
|
|
213
|
+
onDragend: _cache[0] || (_cache[0] = $event => _ctx.isDrag = false),
|
|
214
|
+
onDragstart: _cache[1] || (_cache[1] = withModifiers(function () {
|
|
215
|
+
return _ctx.handleDragStart && _ctx.handleDragStart(...arguments);
|
|
216
|
+
}, ["stop"])),
|
|
217
|
+
onDragover: _cache[2] || (_cache[2] = withModifiers(function () {
|
|
218
|
+
return _ctx.handleDragOver && _ctx.handleDragOver(...arguments);
|
|
219
|
+
}, ["prevent"])),
|
|
220
|
+
onDragenter: _cache[3] || (_cache[3] = withModifiers(function () {
|
|
221
|
+
return _ctx.handleDragOver && _ctx.handleDragOver(...arguments);
|
|
222
|
+
}, ["prevent"])),
|
|
223
|
+
onDragleave: _cache[4] || (_cache[4] = function () {
|
|
224
|
+
return _ctx.handleDragLeave && _ctx.handleDragLeave(...arguments);
|
|
225
|
+
}),
|
|
226
|
+
onDrop: _cache[5] || (_cache[5] = function () {
|
|
227
|
+
return _ctx.handleDrop && _ctx.handleDrop(...arguments);
|
|
228
|
+
}),
|
|
229
|
+
onClick: _cache[6] || (_cache[6] = function () {
|
|
230
|
+
return _ctx.handleClick && _ctx.handleClick(...arguments);
|
|
231
|
+
}),
|
|
232
|
+
onContextmenu: _cache[7] || (_cache[7] = function () {
|
|
233
|
+
return _ctx.handleContextMenu && _ctx.handleContextMenu(...arguments);
|
|
234
|
+
})
|
|
235
|
+
}, [_ctx.hasCollapseTrigger ? (openBlock(), createBlock(_component_OrButton, {
|
|
236
|
+
key: 0,
|
|
237
|
+
variant: "link",
|
|
238
|
+
onClick: withModifiers(_ctx.handleCollapse, ["stop"])
|
|
239
|
+
}, {
|
|
240
|
+
default: withCtx(() => [createVNode(_component_OrIcon, {
|
|
241
|
+
class: normalizeClass([_ctx.isOpen ? 'rotate-90' : 'rotate-0']),
|
|
242
|
+
icon: "arrow_right",
|
|
243
|
+
size: "l"
|
|
244
|
+
}, null, 8 /* PROPS */, ["class"])]),
|
|
245
|
+
_: 1 /* STABLE */
|
|
246
|
+
}, 8 /* PROPS */, ["onClick"])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "node", normalizeProps(guardReactiveProps({
|
|
247
|
+
node: _ctx.node,
|
|
248
|
+
isOpen: _ctx.isOpen,
|
|
249
|
+
isLeaf: _ctx.isLeaf,
|
|
250
|
+
isDrag: _ctx.isDrag,
|
|
251
|
+
isDragOver: _ctx.isDragOver,
|
|
252
|
+
depth: _ctx.depth
|
|
253
|
+
})), () => [createTextVNode(toDisplayString(_ctx.node.key), 1 /* TEXT */)]), _ctx.isDragOver && !_ctx.isDrag ? (openBlock(), createElementBlock("div", {
|
|
254
|
+
key: 1,
|
|
255
|
+
class: normalizeClass(_ctx.dragIndicatorStyles)
|
|
256
|
+
}, null, 2 /* CLASS */)) : createCommentVNode("v-if", true)], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), !_ctx.isLeaf && _ctx.isOpen ? (openBlock(true), createElementBlock(Fragment, {
|
|
257
|
+
key: 0
|
|
258
|
+
}, renderList(_ctx.node.children, child => {
|
|
259
|
+
return openBlock(), createBlock(_component_OrTreeNode, {
|
|
260
|
+
key: child.key,
|
|
261
|
+
"parent-selected": _ctx.selected || undefined,
|
|
262
|
+
node: child,
|
|
263
|
+
depth: _ctx.depth + 1,
|
|
264
|
+
selected: child.selected,
|
|
265
|
+
draggable: _ctx.draggable,
|
|
266
|
+
onDrop: _cache[8] || (_cache[8] = $event => _ctx.$emit('drop', $event)),
|
|
267
|
+
onDragstart: _cache[9] || (_cache[9] = $event => _ctx.$emit('dragstart', $event)),
|
|
268
|
+
onClick: _cache[10] || (_cache[10] = $event => _ctx.$emit('click', $event)),
|
|
269
|
+
onExpand: _cache[11] || (_cache[11] = $event => _ctx.$emit('expand', $event)),
|
|
270
|
+
onCollapse: _cache[12] || (_cache[12] = $event => _ctx.$emit('collapse', $event)),
|
|
271
|
+
onContextmenu: _cache[13] || (_cache[13] = (e, key) => _ctx.$emit('contextmenu', e, key))
|
|
272
|
+
}, {
|
|
273
|
+
node: withCtx(props => [renderSlot(_ctx.$slots, "node", normalizeProps(guardReactiveProps(props)))]),
|
|
274
|
+
_: 2 /* DYNAMIC */
|
|
275
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["parent-selected", "node", "depth", "selected", "draggable"]);
|
|
276
|
+
}), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
script$1.render = render;
|
|
280
|
+
script$1.__file = "src/components/or-tree-v3/partials/or-tree-node/OrTreeNode.vue";
|
|
281
|
+
|
|
282
|
+
var script = defineComponent({
|
|
283
|
+
name: 'OrTree',
|
|
284
|
+
components: {
|
|
285
|
+
OrTreeNode: script$1
|
|
286
|
+
},
|
|
287
|
+
props: {
|
|
288
|
+
nodes: {
|
|
289
|
+
type: Array,
|
|
290
|
+
default: () => []
|
|
291
|
+
},
|
|
292
|
+
draggable: {
|
|
293
|
+
type: Boolean,
|
|
294
|
+
default: false
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
emits: ['drop', 'dragstart', 'click', 'expand', 'collapse', 'contextmenu'],
|
|
298
|
+
setup() {
|
|
299
|
+
// Refs
|
|
300
|
+
const root = ref(null);
|
|
301
|
+
// Styles
|
|
302
|
+
const rootStyles = computed(() => ['or-tree-v3']);
|
|
303
|
+
return {
|
|
304
|
+
root,
|
|
305
|
+
rootStyles
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
|
|
310
|
+
export { script as s };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { s as script } from '../../OrCardCollection.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrCardCollection.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrCardCollection.vue_vue_type_script_lang-c7d9f452.js';
|
|
2
|
+
export { s as default } from '../../OrCardCollection.vue_vue_type_script_lang-c7d9f452.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, createVNode, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode, renderList, renderSlot, normalizeProps, guardReactiveProps, mergeProps } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './styles.js';
|
|
6
6
|
import './props.js';
|
|
7
7
|
import '../OrIconButtonV3/OrIconButton.js';
|
|
8
|
-
import '../../OrIconButton.vue_vue_type_script_lang-
|
|
8
|
+
import '../../OrIconButton.vue_vue_type_script_lang-41792494.js';
|
|
9
9
|
import '../OrIconButtonV3/props.js';
|
|
10
10
|
import '../OrIconV3/props.js';
|
|
11
11
|
import '../OrIconButtonV3/styles.js';
|
|
@@ -47,12 +47,12 @@ import '../OrMenuV3/OrMenu.js';
|
|
|
47
47
|
import '../../OrMenu.vue_vue_type_script_lang-f8611f9d.js';
|
|
48
48
|
import '../OrMenuV3/styles.js';
|
|
49
49
|
import '../OrMenuItemV3/OrMenuItem.js';
|
|
50
|
-
import '../../OrMenuItem.vue_vue_type_script_lang-
|
|
50
|
+
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
51
51
|
import '../OrMenuItemV3/styles.js';
|
|
52
52
|
import '../OrSearchV3/OrSearch.js';
|
|
53
|
-
import '../../OrSearch.vue_vue_type_script_lang-
|
|
53
|
+
import '../../OrSearch.vue_vue_type_script_lang-3fa2209d.js';
|
|
54
54
|
import '../OrInputV3/OrInput.js';
|
|
55
|
-
import '../../OrInput.vue_vue_type_script_lang-
|
|
55
|
+
import '../../OrInput.vue_vue_type_script_lang-0b8a2b69.js';
|
|
56
56
|
import '../OrInputV3/props.js';
|
|
57
57
|
import '../OrInputBoxV3/props.js';
|
|
58
58
|
import '../OrInputV3/styles.js';
|