@onereach/ui-components 4.11.1 → 4.11.3-beta.2972.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +22 -59
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +2 -25
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +5 -4
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +6 -5
- package/dist/bundled/v2/components/OrCardCollectionV3/types.d.ts +0 -4
- 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/OrFabV3/OrFab.vue.d.ts +5 -5
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +6 -1
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.vue.d.ts +11 -0
- package/dist/bundled/v2/components/OrMenuItemV3/styles.js +3 -1
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +21 -20
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.vue.d.ts +5 -5
- package/dist/bundled/v2/components/OrSidebarV3/props.d.ts +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/props.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/styles.js +10 -12
- package/dist/bundled/v2/components/OrSortingV3/OrSortingV3.js +148 -0
- package/dist/bundled/v2/components/OrSortingV3/OrSortingV3.vue.d.ts +63 -0
- package/dist/bundled/v2/components/OrSortingV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrSortingV3/index.js +33 -0
- package/dist/bundled/v2/components/OrSortingV3/types.d.ts +4 -0
- package/dist/bundled/v2/components/OrSortingV3/types.js +1 -0
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +2 -1
- package/dist/bundled/v2/index.js +3 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-c7d9f452.js → OrCardCollection.vue_vue_type_script_lang-a833fe48.js} +6 -31
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-22c66c0d.js → OrCode.vue_vue_type_script_lang-ec51e1e8.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-88d3aeda.js → OrConfirm.vue_vue_type_script_lang-2f107000.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-80de9d3a.js → OrDatePicker.vue_vue_type_script_lang-17a4f0de.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-300f009d.js → OrDateTimePicker.vue_vue_type_script_lang-eae6683b.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-44038b6b.js → OrDateTimePickerMonthSelect-14136fbd.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-41792494.js → OrIconButton.vue_vue_type_script_lang-42887e92.js} +5 -0
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-fec60585.js → OrInlineInput.vue_vue_type_script_lang-13269054.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-4265a2a2.js → OrInlineTextarea.vue_vue_type_script_lang-3a251a7b.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-0b8a2b69.js → OrInput.vue_vue_type_script_lang-73c33e2e.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-e00165f1.js → OrModal.vue_vue_type_script_lang-5397e0dd.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-9d3dd0d9.js → OrNotification.vue_vue_type_script_lang-a0b4041e.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-cf545aab.js → OrPagination.vue_vue_type_script_lang-29423a33.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-3fa2209d.js → OrSearch.vue_vue_type_script_lang-143806cd.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-b11ea2e9.js → OrSelect.vue_vue_type_script_lang-cd8928f7.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-55f0db3b.js → OrSidebar.vue_vue_type_script_lang-9298b6e0.js} +22 -22
- package/dist/bundled/v3/OrSortingV3.vue_vue_type_script_lang-9e8ccd25.js +61 -0
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-9072248f.js → OrTabs.vue_vue_type_script_lang-ca608c74.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-640a19c4.js → OrTag.vue_vue_type_script_lang-47c6bbdc.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-67c8d12f.js → OrTagInput.vue_vue_type_script_lang-c2fc7f9a.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-18b7221b.js → OrTags.vue_vue_type_script_lang-425bb731.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-5c88aee4.js → OrTimePicker.vue_vue_type_script_lang-c00997fc.js} +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +25 -50
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +2 -5
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +12 -10
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +6 -5
- package/dist/bundled/v3/components/OrCardCollectionV3/types.d.ts +0 -4
- 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/OrFabV3/OrFab.vue.d.ts +3 -3
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +3 -3
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +9 -0
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +1 -1
- 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/OrMenuItemV3/OrMenuItem.js +2 -2
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.js +3 -1
- 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 +6 -6
- package/dist/bundled/v3/components/OrSelectV3/index.js +5 -5
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +5 -5
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +3 -3
- package/dist/bundled/v3/components/OrSidebarV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/props.d.ts +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/props.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/styles.js +10 -12
- package/dist/bundled/v3/components/OrSortingV3/OrSortingV3.js +82 -0
- package/dist/bundled/v3/components/OrSortingV3/OrSortingV3.vue.d.ts +33 -0
- package/dist/bundled/v3/components/OrSortingV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrSortingV3/index.js +41 -0
- package/dist/bundled/v3/components/OrSortingV3/types.d.ts +4 -0
- package/dist/bundled/v3/components/OrSortingV3/types.js +1 -0
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +3 -3
- package/dist/bundled/v3/components/OrTabsV3/index.js +2 -2
- 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/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +26 -24
- package/dist/bundled/v3/index.js +29 -27
- package/dist/esm/v2/{OrCardCollection-779ba7ca.js → OrCardCollection-ad88e198.js} +22 -63
- package/dist/esm/v2/{OrCode-26295220.js → OrCode-8d30c597.js} +2 -2
- package/dist/esm/v2/{OrConfirm-cda74328.js → OrConfirm-1cf67ea8.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-a4f95898.js → OrDatePicker-a4f4a69b.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-99d3445b.js → OrDateTimePicker-42a90a27.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-729b254d.js → OrDateTimePicker.vue_rollup-plugin-vue_script-ee1a0777.js} +2 -2
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-5fa89936.js → OrDateTimePickerPopoverHeader-482d6094.js} +2 -2
- package/dist/esm/v2/{OrIconButton-2ab8fa02.js → OrIconButton-e7517e6d.js} +6 -1
- package/dist/esm/v2/{OrInlineInput-0c62b3a6.js → OrInlineInput-82238b67.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-c24708a7.js → OrInlineTextarea-e79cfec1.js} +1 -1
- package/dist/esm/v2/{OrInput-dcb61699.js → OrInput-1517ccef.js} +1 -1
- package/dist/esm/v2/{OrMenuItem-6f9b8a93.js → OrMenuItem-c70cff8b.js} +3 -1
- package/dist/esm/v2/{OrModal-abc3b1d9.js → OrModal-af72eb54.js} +1 -1
- package/dist/esm/v2/{OrNotification-5b7028d7.js → OrNotification-eaf8a4b4.js} +1 -1
- package/dist/esm/v2/{OrPagination-4ece4568.js → OrPagination-fe81f687.js} +1 -1
- package/dist/esm/v2/{OrSearch-879c7656.js → OrSearch-f5258a9f.js} +1 -1
- package/dist/esm/v2/{OrSelect-01d61a9a.js → OrSelect-2a1e2171.js} +3 -3
- package/dist/esm/v2/{OrSidebar-bd385865.js → OrSidebar-15fc8f69.js} +19 -22
- package/dist/esm/v2/{OrSidebarCollapseButton-49da331a.js → OrSidebarCollapseButton-6a8079ea.js} +16 -12
- package/dist/esm/v2/OrSortingV3-0c8d3268.js +123 -0
- package/dist/esm/v2/{OrTabs-f9c88893.js → OrTabs-1f6ce605.js} +1 -1
- package/dist/esm/v2/{OrTag-2b9e664b.js → OrTag-d619ed2b.js} +1 -1
- package/dist/esm/v2/{OrTagInput-1548f007.js → OrTagInput-32ad4c5e.js} +2 -2
- package/dist/esm/v2/{OrTags-25a70212.js → OrTags-cf65a7fa.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-9c9a44bc.js → OrTimePicker-6a9e6c50.js} +3 -3
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +26 -25
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -25
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -10
- package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +0 -4
- 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-fab-v3/OrFab.vue.d.ts +5 -5
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +11 -0
- 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-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 +5 -5
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +5 -5
- package/dist/esm/v2/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.d.ts +1 -1
- 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/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-sidebar-v3/props.d.ts +2 -2
- package/dist/esm/v2/components/or-sorting-v3/OrSortingV3.vue.d.ts +63 -0
- package/dist/esm/v2/components/or-sorting-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-sorting-v3/index.js +20 -0
- package/dist/esm/v2/components/or-sorting-v3/types.d.ts +4 -0
- package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
- 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/index.js +26 -25
- package/dist/esm/v2/{types-a74e1e20.js → types-f010f8b9.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-4516594a.js → OrCardCollection-655431a8.js} +23 -72
- package/dist/esm/v3/{OrCode-0c2310e5.js → OrCode-d36e4b44.js} +2 -2
- package/dist/esm/v3/{OrConfirm-240cfe0a.js → OrConfirm-6c4a7b89.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-f4470d79.js → OrDatePicker-0d01feb7.js} +2 -2
- package/dist/esm/v3/{OrDateTimePicker-546c15ec.js → OrDateTimePicker-2c5de2e5.js} +2 -2
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-96a38b4b.js → OrDateTimePickerPopoverHeader-774c3a4f.js} +2 -2
- package/dist/esm/v3/{OrIconButton-00f8f0c7.js → OrIconButton-0edf0894.js} +6 -1
- package/dist/esm/v3/{OrInlineInput-4d47d731.js → OrInlineInput-b88c01a6.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-1415bed9.js → OrInlineTextarea-71e96e67.js} +1 -1
- package/dist/esm/v3/{OrInput-f0e12c81.js → OrInput-1fc808c0.js} +1 -1
- package/dist/esm/v3/{OrMenuItem-dbee450f.js → OrMenuItem-5d14ee25.js} +3 -1
- package/dist/esm/v3/{OrModal-6a90ea79.js → OrModal-53d4af81.js} +1 -1
- package/dist/esm/v3/{OrNotification-117f2dcb.js → OrNotification-42c3a0ec.js} +1 -1
- package/dist/esm/v3/{OrPagination-858337d1.js → OrPagination-98319a31.js} +1 -1
- package/dist/esm/v3/{OrSearch-051adc07.js → OrSearch-e690aff6.js} +1 -1
- package/dist/esm/v3/{OrSelect-b3885148.js → OrSelect-66a6aae2.js} +3 -3
- package/dist/esm/v3/{OrSidebar-47f9d02a.js → OrSidebar-dd7c025b.js} +18 -21
- package/dist/esm/v3/{OrSidebarCollapseButton-86dafbbc.js → OrSidebarCollapseButton-2792a2b4.js} +19 -16
- package/dist/esm/v3/OrSortingV3-bbf11809.js +99 -0
- package/dist/esm/v3/{OrTabs-52e49d84.js → OrTabs-7024930f.js} +1 -1
- package/dist/esm/v3/{OrTag-9adef1cd.js → OrTag-51add0ef.js} +1 -1
- package/dist/esm/v3/{OrTagInput-63d0f5fb.js → OrTagInput-ca1811f7.js} +2 -2
- package/dist/esm/v3/{OrTags-d7a90658.js → OrTags-f6ecdb32.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-98c00a9b.js → OrTimePicker-8b9c0ad6.js} +3 -3
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +25 -24
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -5
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -10
- package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +0 -4
- 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-fab-v3/OrFab.vue.d.ts +3 -3
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +9 -0
- 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-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 +5 -5
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.d.ts +1 -1
- 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/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-sidebar-v3/props.d.ts +2 -2
- package/dist/esm/v3/components/or-sorting-v3/OrSortingV3.vue.d.ts +33 -0
- package/dist/esm/v3/components/or-sorting-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-sorting-v3/index.js +19 -0
- package/dist/esm/v3/components/or-sorting-v3/types.d.ts +4 -0
- package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
- 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/index.js +25 -24
- package/dist/esm/v3/{types-c78924f3.js → types-8d61f1d7.js} +1 -1
- package/package.json +2 -3
- package/src/components/index.ts +1 -0
- package/src/components/or-card-collection-v3/OrCardCollection.vue +11 -53
- package/src/components/or-card-collection-v3/styles.ts +6 -8
- package/src/components/or-card-collection-v3/types.ts +0 -5
- package/src/components/or-fab-v3/OrFab.vue +1 -1
- package/src/components/or-icon-button-v3/OrIconButton.vue +7 -1
- package/src/components/or-menu-item-v3/styles.ts +4 -0
- package/src/components/or-sidebar-v3/OrSidebar.vue +21 -13
- package/src/components/or-sidebar-v3/partials/index.ts +1 -1
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue +21 -14
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.ts +2 -2
- package/src/components/or-sidebar-v3/props.ts +2 -2
- package/src/components/or-sidebar-v3/styles.ts +15 -10
- package/src/components/or-sorting-v3/OrSortingV3.vue +95 -0
- package/src/components/or-sorting-v3/index.ts +2 -0
- package/src/components/or-sorting-v3/types.ts +4 -0
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -18
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -17
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.ts +0 -48
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.ts +0 -1
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-88a629fe.js → OrDateTimePickerMonthSelect-c2fc09bb.js} +0 -0
- /package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-b338d68a.js → OrMenuItem.vue_vue_type_script_lang-aed2c8e6.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-7d44207e.js → OrToastContainer.vue_vue_type_script_lang-b2b61918.js} +0 -0
|
@@ -3,14 +3,13 @@ import { CardCollectionContent, CardCollectionContentViews, CardCollectionRoot,
|
|
|
3
3
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
4
4
|
import { gridView, defaultViewModes } from './props.js';
|
|
5
5
|
import __vue_component__$2 from '../OrIconButtonV3/OrIconButton.js';
|
|
6
|
-
import __vue_component__$3 from '../
|
|
7
|
-
import __vue_component__$4 from '../
|
|
8
|
-
import __vue_component__$5 from '../OrMenuItemV3/OrMenuItem.js';
|
|
9
|
-
import __vue_component__$6 from '../OrIconV3/OrIcon.js';
|
|
10
|
-
import __vue_component__$7 from '../OrSearchV3/OrSearch.js';
|
|
6
|
+
import __vue_component__$3 from '../OrSortingV3/OrSortingV3.js';
|
|
7
|
+
import __vue_component__$4 from '../OrSearchV3/OrSearch.js';
|
|
11
8
|
import '../OrIconButtonV3/props.js';
|
|
12
9
|
import '../OrIconV3/props.js';
|
|
13
10
|
import '../OrIconButtonV3/styles.js';
|
|
11
|
+
import '../OrIconV3/OrIcon.js';
|
|
12
|
+
import '../OrIconV3/styles.js';
|
|
14
13
|
import '../OrTooltipV3/OrTooltip.js';
|
|
15
14
|
import '../OrTooltipV3/styles.js';
|
|
16
15
|
import '../OrPopoverV3/OrPopover.js';
|
|
@@ -30,14 +29,16 @@ import '../../hooks/useElevation.js';
|
|
|
30
29
|
import '../../utils/isVisible.js';
|
|
31
30
|
import '../../hooks/usePopoverState.js';
|
|
32
31
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
32
|
+
import '../OrMenuV3/OrMenu.js';
|
|
33
|
+
import '../OrMenuV3/styles.js';
|
|
34
|
+
import '../OrMenuItemV3/OrMenuItem.js';
|
|
35
|
+
import '../OrMenuItemV3/styles.js';
|
|
36
|
+
import '../OrButtonV3/OrButton.js';
|
|
33
37
|
import '../OrButtonV3/props.js';
|
|
34
38
|
import '../OrButtonV3/styles.js';
|
|
35
39
|
import '../OrLoaderV3/OrLoader.js';
|
|
36
40
|
import '../OrLoaderV3/props.js';
|
|
37
41
|
import '../OrLoaderV3/styles.js';
|
|
38
|
-
import '../OrMenuV3/styles.js';
|
|
39
|
-
import '../OrMenuItemV3/styles.js';
|
|
40
|
-
import '../OrIconV3/styles.js';
|
|
41
42
|
import '../OrInputV3/OrInput.js';
|
|
42
43
|
import '../OrInputV3/props.js';
|
|
43
44
|
import '../OrInputBoxV3/props.js';
|
|
@@ -123,11 +124,8 @@ var script = defineComponent({
|
|
|
123
124
|
components: {
|
|
124
125
|
OrCardCollectionView,
|
|
125
126
|
OrIconButton: __vue_component__$2,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
OrMenuItem: __vue_component__$5,
|
|
129
|
-
OrIcon: __vue_component__$6,
|
|
130
|
-
OrSearch: __vue_component__$7
|
|
127
|
+
OrSorting: __vue_component__$3,
|
|
128
|
+
OrSearch: __vue_component__$4
|
|
131
129
|
},
|
|
132
130
|
props: {
|
|
133
131
|
items: {
|
|
@@ -168,8 +166,6 @@ var script = defineComponent({
|
|
|
168
166
|
setup(props, context) {
|
|
169
167
|
// Refs
|
|
170
168
|
const root = ref();
|
|
171
|
-
const sortMenu = ref();
|
|
172
|
-
const sortButton = ref();
|
|
173
169
|
// Styles
|
|
174
170
|
const rootStyles = computed(() => ['or-card-collection-v3', ...CardCollectionRoot]);
|
|
175
171
|
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
@@ -180,15 +176,11 @@ var script = defineComponent({
|
|
|
180
176
|
});
|
|
181
177
|
// State
|
|
182
178
|
const proxyView = ref(props.view);
|
|
183
|
-
const proxySort = ref(props.sort);
|
|
184
179
|
const proxySearch = ref(props.search);
|
|
185
180
|
// Methods
|
|
186
181
|
function switchView(view) {
|
|
187
182
|
proxyView.value = view;
|
|
188
183
|
}
|
|
189
|
-
function handleSort(sort) {
|
|
190
|
-
proxySort.value = sort;
|
|
191
|
-
}
|
|
192
184
|
function handleSearch(search) {
|
|
193
185
|
proxySearch.value = search;
|
|
194
186
|
}
|
|
@@ -199,12 +191,6 @@ var script = defineComponent({
|
|
|
199
191
|
watch(proxyView, value => {
|
|
200
192
|
context.emit('viewChange', value);
|
|
201
193
|
});
|
|
202
|
-
watch(() => props.sort, value => {
|
|
203
|
-
proxySort.value = value;
|
|
204
|
-
});
|
|
205
|
-
watch(proxySort, value => {
|
|
206
|
-
context.emit('sortChange', value);
|
|
207
|
-
});
|
|
208
194
|
watch(() => props.search, value => {
|
|
209
195
|
proxySearch.value = value;
|
|
210
196
|
});
|
|
@@ -213,17 +199,13 @@ var script = defineComponent({
|
|
|
213
199
|
});
|
|
214
200
|
return {
|
|
215
201
|
root,
|
|
216
|
-
sortMenu,
|
|
217
|
-
sortButton,
|
|
218
202
|
rootStyles,
|
|
219
203
|
toolbarStyles,
|
|
220
204
|
toolbarPanelStyles,
|
|
221
205
|
proxyView,
|
|
222
|
-
proxySort,
|
|
223
206
|
proxySearch,
|
|
224
207
|
sortLabel,
|
|
225
208
|
switchView,
|
|
226
|
-
handleSort,
|
|
227
209
|
handleSearch
|
|
228
210
|
};
|
|
229
211
|
}
|
|
@@ -244,44 +226,24 @@ var __vue_render__ = function () {
|
|
|
244
226
|
class: _vm.toolbarStyles
|
|
245
227
|
}, [_c('div', {
|
|
246
228
|
class: _vm.toolbarPanelStyles
|
|
247
|
-
}, [_vm.sortOptions.length ? [_c('
|
|
248
|
-
ref: "sortButton",
|
|
229
|
+
}, [_vm.sortOptions.length ? [_c('OrSorting', {
|
|
249
230
|
attrs: {
|
|
250
|
-
"
|
|
251
|
-
"
|
|
231
|
+
"sort": _vm.sort,
|
|
232
|
+
"options": _vm.sortOptions
|
|
252
233
|
},
|
|
253
234
|
on: {
|
|
254
|
-
"
|
|
255
|
-
return _vm
|
|
235
|
+
"change": function ($event) {
|
|
236
|
+
return _vm.$emit('sortChange', $event);
|
|
256
237
|
}
|
|
257
238
|
}
|
|
258
|
-
}
|
|
259
|
-
attrs: {
|
|
260
|
-
"icon": _vm.sortMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
261
|
-
}
|
|
262
|
-
}) : _vm._e()], 1), _vm._v(" "), _c('OrMenu', {
|
|
263
|
-
ref: "sortMenu",
|
|
264
|
-
attrs: {
|
|
265
|
-
"trigger": _vm.sortButton && _vm.sortButton.root
|
|
266
|
-
}
|
|
267
|
-
}, _vm._l(_vm.sortOptions, function (sortItem) {
|
|
268
|
-
return _c('OrMenuItem', {
|
|
269
|
-
key: sortItem,
|
|
270
|
-
on: {
|
|
271
|
-
"click": function ($event) {
|
|
272
|
-
return _vm.handleSort(sortItem.value);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}, [_vm._v("\n " + _vm._s(sortItem.label) + "\n ")]);
|
|
276
|
-
}), 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
239
|
+
})] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
277
240
|
class: _vm.toolbarPanelStyles
|
|
278
241
|
}, [_c('OrSearch', {
|
|
279
242
|
staticClass: "md:w-[350px]",
|
|
280
243
|
attrs: {
|
|
281
244
|
"model-value": _vm.proxySearch,
|
|
282
245
|
"placeholder": _vm.searchPlaceholder,
|
|
283
|
-
"debounce": _vm.searchDebounce
|
|
284
|
-
"size": "s"
|
|
246
|
+
"debounce": _vm.searchDebounce
|
|
285
247
|
},
|
|
286
248
|
on: {
|
|
287
249
|
"search": _vm.handleSearch
|
|
@@ -292,10 +254,11 @@ var __vue_render__ = function () {
|
|
|
292
254
|
return _c('OrIconButton', {
|
|
293
255
|
key: viewOption.view,
|
|
294
256
|
attrs: {
|
|
257
|
+
"size": "l",
|
|
295
258
|
"icon": {
|
|
296
|
-
icon: viewOption.icon
|
|
297
|
-
|
|
298
|
-
|
|
259
|
+
icon: viewOption.icon
|
|
260
|
+
},
|
|
261
|
+
"selected": viewOption.view === _vm.proxyView
|
|
299
262
|
},
|
|
300
263
|
on: {
|
|
301
264
|
"click": function ($event) {
|
|
@@ -1,26 +1,15 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { SortOption } from '../or-sorting-v3';
|
|
3
|
+
import { CardCollectionItem, ViewMode } from './types';
|
|
3
4
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
-
sortMenu: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
6
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
7
|
-
} | string[], {} & {}, {
|
|
8
|
-
[x: number]: string;
|
|
9
|
-
} | {}, true>)) | undefined>;
|
|
10
|
-
sortButton: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
11
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
12
|
-
} | string[], {} & {}, {
|
|
13
|
-
[x: number]: string;
|
|
14
|
-
} | {}, true>)) | undefined>;
|
|
15
6
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
16
7
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
17
8
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
18
9
|
proxyView: import("@vue/composition-api").Ref<string>;
|
|
19
|
-
proxySort: import("@vue/composition-api").Ref<string>;
|
|
20
10
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
21
11
|
sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
|
|
22
12
|
switchView: (view: string) => void;
|
|
23
|
-
handleSort: (sort: string) => void;
|
|
24
13
|
handleSearch: (search: string) => void;
|
|
25
14
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
26
15
|
items: {
|
|
@@ -101,25 +90,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
101
90
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
102
91
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
103
92
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
104
|
-
sortMenu: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
105
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
106
|
-
} | string[], {} & {}, {
|
|
107
|
-
[x: number]: string;
|
|
108
|
-
} | {}, true>)) | undefined>;
|
|
109
|
-
sortButton: import("@vue/composition-api").Ref<(import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
110
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
111
|
-
} | string[], {} & {}, {
|
|
112
|
-
[x: number]: string;
|
|
113
|
-
} | {}, true>)) | undefined>;
|
|
114
93
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
115
94
|
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
116
95
|
toolbarPanelStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
117
96
|
proxyView: import("@vue/composition-api").Ref<string>;
|
|
118
|
-
proxySort: import("@vue/composition-api").Ref<string>;
|
|
119
97
|
proxySearch: import("@vue/composition-api").Ref<string>;
|
|
120
98
|
sortLabel: import("@vue/composition-api").ComputedRef<string | undefined>;
|
|
121
99
|
switchView: (view: string) => void;
|
|
122
|
-
handleSort: (sort: string) => void;
|
|
123
100
|
handleSearch: (search: string) => void;
|
|
124
101
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
125
102
|
sort: string;
|
|
@@ -28,16 +28,17 @@ import '../../hooks/useElevation.js';
|
|
|
28
28
|
import '../../utils/isVisible.js';
|
|
29
29
|
import '../../hooks/usePopoverState.js';
|
|
30
30
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
31
|
+
import '../OrSortingV3/OrSortingV3.js';
|
|
32
|
+
import '../OrMenuV3/OrMenu.js';
|
|
33
|
+
import '../OrMenuV3/styles.js';
|
|
34
|
+
import '../OrMenuItemV3/OrMenuItem.js';
|
|
35
|
+
import '../OrMenuItemV3/styles.js';
|
|
31
36
|
import '../OrButtonV3/OrButton.js';
|
|
32
37
|
import '../OrButtonV3/props.js';
|
|
33
38
|
import '../OrButtonV3/styles.js';
|
|
34
39
|
import '../OrLoaderV3/OrLoader.js';
|
|
35
40
|
import '../OrLoaderV3/props.js';
|
|
36
41
|
import '../OrLoaderV3/styles.js';
|
|
37
|
-
import '../OrMenuV3/OrMenu.js';
|
|
38
|
-
import '../OrMenuV3/styles.js';
|
|
39
|
-
import '../OrMenuItemV3/OrMenuItem.js';
|
|
40
|
-
import '../OrMenuItemV3/styles.js';
|
|
41
42
|
import '../OrSearchV3/OrSearch.js';
|
|
42
43
|
import '../OrInputV3/OrInput.js';
|
|
43
44
|
import '../OrInputV3/props.js';
|
|
@@ -2,9 +2,7 @@ const CardCollectionRoot = [
|
|
|
2
2
|
// Layout
|
|
3
3
|
'layout-column',
|
|
4
4
|
// Spacing
|
|
5
|
-
'gap-md', 'max-h-full'
|
|
6
|
-
// Overflow
|
|
7
|
-
'overflow-hidden'];
|
|
5
|
+
'gap-md', 'max-h-full'];
|
|
8
6
|
const CardCollectionToolbar = [
|
|
9
7
|
// Layout
|
|
10
8
|
'layout-row justify-between',
|
|
@@ -23,11 +21,14 @@ const CardCollectionContent = [
|
|
|
23
21
|
// Spacing
|
|
24
22
|
'gap-sm md:gap-md',
|
|
25
23
|
// Overflow
|
|
26
|
-
'overflow-auto'
|
|
24
|
+
'overflow-y-auto', 'p-xs*', '-m-xs*'
|
|
25
|
+
// '-mr-sm*',
|
|
26
|
+
];
|
|
27
|
+
|
|
27
28
|
const CardCollectionContentViews = {
|
|
28
29
|
'grid': [
|
|
29
30
|
// Layout
|
|
30
|
-
'
|
|
31
|
+
'grid-cols-1', 'md:grid-cols-5'],
|
|
31
32
|
'list': ['grid-cols-1']
|
|
32
33
|
};
|
|
33
34
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from '../OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
|
-
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-
|
|
3
|
+
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-c2fc09bb.js';
|
|
4
4
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-52a99e6a.js';
|
|
5
5
|
import { DatePicker, DatePickerPopover } from './styles.js';
|
|
6
6
|
import __vue_component__$1 from '../OrErrorV3/OrError.js';
|
|
@@ -2,7 +2,7 @@ export { default as OrDatePickerV3 } from './OrDatePicker.js';
|
|
|
2
2
|
export { InputBoxSize as DatePickerSize } from '../OrInputBoxV3/props.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
5
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
5
|
+
import '../../OrDateTimePickerMonthSelect-c2fc09bb.js';
|
|
6
6
|
import '../OrDateTimePickerV3/hooks/useDatePlaceholder.js';
|
|
7
7
|
import '../../hooks/useProxyModelValue.js';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './hooks/useCurrentDate.js';
|
|
3
|
-
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-
|
|
3
|
+
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-c2fc09bb.js';
|
|
4
4
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-52a99e6a.js';
|
|
5
5
|
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect } from '../../OrDateTimePickerTimeSelect-8851268e.js';
|
|
6
6
|
import { DateTimePickerTimeFormat } from './props.js';
|
|
@@ -3,7 +3,7 @@ export { DateTimePickerTimeFormat } from './props.js';
|
|
|
3
3
|
export { InputBoxSize as DateTimePickerSize } from '../OrInputBoxV3/props.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './hooks/useCurrentDate.js';
|
|
6
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
6
|
+
import '../../OrDateTimePickerMonthSelect-c2fc09bb.js';
|
|
7
7
|
import './hooks/useDatePlaceholder.js';
|
|
8
8
|
import '../../hooks/useProxyModelValue.js';
|
|
9
9
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
12
|
color: {
|
|
13
|
-
type: PropType<
|
|
13
|
+
type: PropType<"primary" | "danger">;
|
|
14
14
|
default: FabColor;
|
|
15
15
|
};
|
|
16
16
|
disabled: {
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
color: {
|
|
26
|
-
type: PropType<
|
|
26
|
+
type: PropType<"primary" | "danger">;
|
|
27
27
|
default: FabColor;
|
|
28
28
|
};
|
|
29
29
|
disabled: {
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
32
32
|
};
|
|
33
33
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
34
34
|
icon: string;
|
|
35
|
-
color:
|
|
35
|
+
color: "primary" | "danger";
|
|
36
36
|
disabled: boolean;
|
|
37
37
|
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
38
38
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
@@ -40,10 +40,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
40
40
|
isVue3: boolean;
|
|
41
41
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
42
42
|
icon: string;
|
|
43
|
-
color:
|
|
43
|
+
color: "primary" | "danger";
|
|
44
44
|
disabled: boolean;
|
|
45
45
|
} & {}, {
|
|
46
|
-
color:
|
|
46
|
+
color: "primary" | "danger";
|
|
47
47
|
disabled: boolean;
|
|
48
48
|
}, true>);
|
|
49
49
|
export default _default;
|
|
@@ -33,6 +33,11 @@ var script = defineComponent({
|
|
|
33
33
|
},
|
|
34
34
|
inheritAttrs: false,
|
|
35
35
|
props: {
|
|
36
|
+
// TODO: Remove after migration to Vue 3
|
|
37
|
+
additionalStyles: {
|
|
38
|
+
type: Array,
|
|
39
|
+
default: () => []
|
|
40
|
+
},
|
|
36
41
|
icon: {
|
|
37
42
|
type: [String, Object],
|
|
38
43
|
required: true
|
|
@@ -85,7 +90,7 @@ var __vue_render__ = function () {
|
|
|
85
90
|
text: _vm.tooltip
|
|
86
91
|
} : _vm.tooltip, false), [_c('button', _vm._g(_vm._b({
|
|
87
92
|
ref: "root",
|
|
88
|
-
class: _vm.rootStyles,
|
|
93
|
+
class: [_vm.rootStyles].concat(_vm.additionalStyles),
|
|
89
94
|
attrs: {
|
|
90
95
|
"type": 'button',
|
|
91
96
|
"selected": _vm.selected ? '' : null,
|
|
@@ -5,6 +5,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
5
5
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
6
|
isVue3: boolean;
|
|
7
7
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
8
|
+
additionalStyles: {
|
|
9
|
+
type: PropType<string[]>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
8
12
|
icon: {
|
|
9
13
|
type: PropType<string | Omit<Readonly<Partial<{
|
|
10
14
|
[x: number]: string;
|
|
@@ -34,6 +38,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
34
38
|
default: undefined;
|
|
35
39
|
};
|
|
36
40
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
41
|
+
additionalStyles: {
|
|
42
|
+
type: PropType<string[]>;
|
|
43
|
+
default: () => never[];
|
|
44
|
+
};
|
|
37
45
|
icon: {
|
|
38
46
|
type: PropType<string | Omit<Readonly<Partial<{
|
|
39
47
|
[x: number]: string;
|
|
@@ -64,6 +72,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
64
72
|
};
|
|
65
73
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
66
74
|
size: "inherit" | "xl" | "l" | "m";
|
|
75
|
+
additionalStyles: string[];
|
|
67
76
|
icon: Omit<Readonly<Partial<{
|
|
68
77
|
[x: number]: string;
|
|
69
78
|
} | {}> & Omit<{} & {}, never>>, "size">;
|
|
@@ -81,6 +90,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
81
90
|
isVue3: boolean;
|
|
82
91
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
83
92
|
size: "inherit" | "xl" | "l" | "m";
|
|
93
|
+
additionalStyles: string[];
|
|
84
94
|
icon: Omit<Readonly<Partial<{
|
|
85
95
|
[x: number]: string;
|
|
86
96
|
} | {}> & Omit<{} & {}, never>>, "size">;
|
|
@@ -94,6 +104,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
94
104
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
95
105
|
}, {
|
|
96
106
|
size: "inherit" | "xl" | "l" | "m";
|
|
107
|
+
additionalStyles: string[];
|
|
97
108
|
color: "default" | "danger" | "inherit";
|
|
98
109
|
selected: boolean;
|
|
99
110
|
disabled: boolean;
|
|
@@ -12,6 +12,8 @@ const MenuItemRoot = [
|
|
|
12
12
|
// Theme
|
|
13
13
|
'theme-preset-3-primary', 'dark:theme-preset-3-primary-dark', 'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
14
14
|
// Theme (hover)
|
|
15
|
-
'hover:theme-foreground-default', 'dark:hover:theme-foreground-default-dark'
|
|
15
|
+
'hover:theme-foreground-default', 'dark:hover:theme-foreground-default-dark',
|
|
16
|
+
// Typography (selected)
|
|
17
|
+
'selected:text-on-background dark:selected:text-on-background-dark'];
|
|
16
18
|
|
|
17
19
|
export { MenuItemRoot };
|
|
@@ -28,12 +28,12 @@ import '../../utils/isVisible.js';
|
|
|
28
28
|
import '../../hooks/usePopoverState.js';
|
|
29
29
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
30
30
|
|
|
31
|
-
const
|
|
31
|
+
const CollapseButton = [
|
|
32
32
|
// Box
|
|
33
33
|
'w-[24px]', 'h-[24px]', 'rounded-full',
|
|
34
34
|
// Theme
|
|
35
35
|
'text-primary dark:text-primary-dark', 'bg-background dark:bg-background-dark'];
|
|
36
|
-
const
|
|
36
|
+
const CollapseButtonButton = [
|
|
37
37
|
// Box
|
|
38
38
|
'w-[24px]', 'h-[24px]', 'rounded-full',
|
|
39
39
|
// Typography
|
|
@@ -70,7 +70,7 @@ var script$1 = defineComponent({
|
|
|
70
70
|
},
|
|
71
71
|
side: {
|
|
72
72
|
type: String,
|
|
73
|
-
default: OrSidebarPlacement.
|
|
73
|
+
default: OrSidebarPlacement.Right
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
emits: ['update:modelValue'],
|
|
@@ -78,9 +78,12 @@ var script$1 = defineComponent({
|
|
|
78
78
|
setup(props) {
|
|
79
79
|
// Refs
|
|
80
80
|
const root = ref();
|
|
81
|
-
const rootStyles = computed(() => ['or-sidebar-collapse-button-v3', ...
|
|
82
|
-
const buttonStyles = computed(() => [...
|
|
83
|
-
|
|
81
|
+
const rootStyles = computed(() => ['or-sidebar-collapse-button-v3', ...CollapseButton]);
|
|
82
|
+
const buttonStyles = computed(() => [...CollapseButtonButton]);
|
|
83
|
+
// State
|
|
84
|
+
const icon = computed(() => {
|
|
85
|
+
return props.side === OrSidebarPlacement.Left !== props.modelValue ? 'keyboard_arrow_left' : 'keyboard_arrow_right';
|
|
86
|
+
});
|
|
84
87
|
return {
|
|
85
88
|
root,
|
|
86
89
|
rootStyles,
|
|
@@ -101,17 +104,18 @@ var __vue_render__$1 = function () {
|
|
|
101
104
|
return _c('div', {
|
|
102
105
|
ref: "root",
|
|
103
106
|
class: _vm.rootStyles
|
|
104
|
-
}, [_c('
|
|
105
|
-
class: _vm.buttonStyles,
|
|
107
|
+
}, [_c('OrIconButton', {
|
|
106
108
|
attrs: {
|
|
109
|
+
"additional-styles": _vm.buttonStyles,
|
|
107
110
|
"icon": {
|
|
108
111
|
icon: _vm.icon,
|
|
109
112
|
size: 'inherit'
|
|
110
113
|
},
|
|
111
|
-
"color":
|
|
114
|
+
"color": 'inherit'
|
|
112
115
|
},
|
|
113
116
|
on: {
|
|
114
117
|
"click": function ($event) {
|
|
118
|
+
$event.stopPropagation();
|
|
115
119
|
return _vm.$emit('update:modelValue', !_vm.modelValue);
|
|
116
120
|
}
|
|
117
121
|
}
|
|
@@ -166,7 +170,7 @@ var script = defineComponent({
|
|
|
166
170
|
*/
|
|
167
171
|
side: {
|
|
168
172
|
type: String,
|
|
169
|
-
default: OrSidebarPlacement.
|
|
173
|
+
default: OrSidebarPlacement.Right
|
|
170
174
|
},
|
|
171
175
|
draggable: {
|
|
172
176
|
type: Boolean,
|
|
@@ -179,10 +183,7 @@ var script = defineComponent({
|
|
|
179
183
|
},
|
|
180
184
|
emits: ['change:width', 'open', 'close'],
|
|
181
185
|
expose: ['root', 'open', 'close'],
|
|
182
|
-
setup(props,
|
|
183
|
-
let {
|
|
184
|
-
emit
|
|
185
|
-
} = _ref;
|
|
186
|
+
setup(props, context) {
|
|
186
187
|
// Refs
|
|
187
188
|
const root = ref();
|
|
188
189
|
const resizeBar = ref(null);
|
|
@@ -224,7 +225,7 @@ var script = defineComponent({
|
|
|
224
225
|
isResizing.value = true;
|
|
225
226
|
},
|
|
226
227
|
onMove: position => {
|
|
227
|
-
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.
|
|
228
|
+
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.Left ? -1 : 1);
|
|
228
229
|
const newWidth = localWidth.value - delta;
|
|
229
230
|
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
230
231
|
startPositionX.value = position.x;
|
|
@@ -262,8 +263,8 @@ var script = defineComponent({
|
|
|
262
263
|
watch(maximumWidth, newMaximum => {
|
|
263
264
|
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
264
265
|
});
|
|
265
|
-
watch(localWidth, val => emit('change:width', val));
|
|
266
|
-
watch(isCollapsed, val => emit(val ? 'close' : 'open'));
|
|
266
|
+
watch(localWidth, val => context.emit('change:width', val));
|
|
267
|
+
watch(isCollapsed, val => context.emit(val ? 'close' : 'open'));
|
|
267
268
|
return {
|
|
268
269
|
root,
|
|
269
270
|
resizeBar,
|
|
@@ -306,7 +307,7 @@ var __vue_render__ = function () {
|
|
|
306
307
|
}, [_vm.draggable && !_vm.isCollapsed ? _c('div', {
|
|
307
308
|
ref: "resizeBar",
|
|
308
309
|
class: _vm.resizeStyles
|
|
309
|
-
}) : _vm._e(), _vm._v(" "), _vm.collapsible ? _c('
|
|
310
|
+
}) : _vm._e(), _vm._v(" "), _vm.collapsible ? [_c('OrSidebarCollapseButton', {
|
|
310
311
|
class: _vm.collapsibleButtonStyles,
|
|
311
312
|
attrs: {
|
|
312
313
|
"side": _vm.side
|
|
@@ -318,7 +319,7 @@ var __vue_render__ = function () {
|
|
|
318
319
|
},
|
|
319
320
|
expression: "isCollapsed"
|
|
320
321
|
}
|
|
321
|
-
}) : _vm._e(), _vm._v(" "), _c('div', {
|
|
322
|
+
})] : _vm._e(), _vm._v(" "), _c('div', {
|
|
322
323
|
directives: [{
|
|
323
324
|
name: "show",
|
|
324
325
|
rawName: "v-show",
|
|
@@ -338,7 +339,7 @@ var __vue_render__ = function () {
|
|
|
338
339
|
expression: "!isCollapsed"
|
|
339
340
|
}],
|
|
340
341
|
class: _vm.footerStyles
|
|
341
|
-
}, [_vm._t("footer")], 2) : _vm._e()],
|
|
342
|
+
}, [_vm._t("footer")], 2) : _vm._e()], 2), _vm._v(" "), _vm.side === 'left' && _vm.isShowingToolbar ? _c('div', {
|
|
342
343
|
class: _vm.toolbarStyles
|
|
343
344
|
}, [_vm._t("toolbar")], 2) : _vm._e()]);
|
|
344
345
|
};
|
|
@@ -42,7 +42,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
42
42
|
* @values left, right
|
|
43
43
|
*/
|
|
44
44
|
side: {
|
|
45
|
-
type: PropType<
|
|
45
|
+
type: PropType<"left" | "right">;
|
|
46
46
|
default: OrSidebarPlacement;
|
|
47
47
|
};
|
|
48
48
|
draggable: {
|
|
@@ -74,7 +74,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
74
74
|
* @values left, right
|
|
75
75
|
*/
|
|
76
76
|
side: {
|
|
77
|
-
type: PropType<
|
|
77
|
+
type: PropType<"left" | "right">;
|
|
78
78
|
default: OrSidebarPlacement;
|
|
79
79
|
};
|
|
80
80
|
draggable: {
|
|
@@ -89,7 +89,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
89
89
|
width: number;
|
|
90
90
|
minimumWidth: number;
|
|
91
91
|
maximumWidth: number;
|
|
92
|
-
side:
|
|
92
|
+
side: "left" | "right";
|
|
93
93
|
draggable: boolean;
|
|
94
94
|
collapsible: boolean;
|
|
95
95
|
} & {} & {
|
|
@@ -119,7 +119,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
119
119
|
width: number;
|
|
120
120
|
minimumWidth: number;
|
|
121
121
|
maximumWidth: number;
|
|
122
|
-
side:
|
|
122
|
+
side: "left" | "right";
|
|
123
123
|
draggable: boolean;
|
|
124
124
|
collapsible: boolean;
|
|
125
125
|
} & {} & {
|
|
@@ -128,7 +128,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
128
128
|
width: number;
|
|
129
129
|
minimumWidth: number;
|
|
130
130
|
maximumWidth: number;
|
|
131
|
-
side:
|
|
131
|
+
side: "left" | "right";
|
|
132
132
|
draggable: boolean;
|
|
133
133
|
collapsible: boolean;
|
|
134
134
|
}, true>);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var OrSidebarPlacement;
|
|
2
2
|
(function (OrSidebarPlacement) {
|
|
3
|
-
OrSidebarPlacement["
|
|
4
|
-
OrSidebarPlacement["
|
|
3
|
+
OrSidebarPlacement["Left"] = "left";
|
|
4
|
+
OrSidebarPlacement["Right"] = "right";
|
|
5
5
|
})(OrSidebarPlacement || (OrSidebarPlacement = {}));
|
|
6
6
|
|
|
7
7
|
export { OrSidebarPlacement };
|