@onereach/ui-components 8.19.3 → 8.19.4-beta.3983.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/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateRangePickerV3/OrDateRangePicker.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/OrEditorTabsV3/OrEditorTabs.js +331 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/OrEditorTabs.vue.d.ts +62 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/index.js +1 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/styles.d.ts +5 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/styles.js +21 -0
- package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItem.js +25 -7
- package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItem.vue.d.ts +11 -0
- package/dist/bundled/v2/components/OrMenuItemV3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/OrMenuItemV3/styles.js +2 -2
- 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/components/OrCardCollectionV3/OrCardCollection.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrCardCollectionV3-f757e81c.js → OrCardCollectionV3-feb7f0e9.js} +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/OrDateFormat.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDateFormatV3-b88a046a.js → OrDateFormatV3-2d345262.js} +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDatePickerV3-cf890376.js → OrDatePickerV3-6ad851c2.js} +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDateRangePickerV3-9860ac68.js → OrDateRangePickerV3-e15c8aad.js} +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/OrDateTimeFormat.js +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDateTimeFormatV3-970134b7.js → OrDateTimeFormatV3-a574a1fb.js} +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/props.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatTime.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getCurrentDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getDatePlaceholder.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getNextMonthDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getTimePlaceholder.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/index.js +1 -1
- package/dist/bundled/v3/components/{OrDateTimePickerV3-cb582ca0.js → OrDateTimePickerV3-7406fd30.js} +1 -1
- package/dist/bundled/v3/components/OrEditorTabsV3/OrEditorTabs.js +1 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/OrEditorTabs.vue.d.ts +42 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/index.js +1 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/styles.d.ts +5 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/styles.js +1 -0
- package/dist/bundled/v3/components/OrEditorTabsV3-fdfedec3.js +283 -0
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +11 -1
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrMenuItemV3-7b557536.js → OrMenuItemV3-4ad38b95.js} +28 -12
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrPaginationV3-4ea5bc9f.js → OrPaginationV3-a8f7deed.js} +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +1 -1
- package/dist/bundled/v3/components/{OrRichTextEditorV3-f3786714.js → OrRichTextEditorV3-843d63b6.js} +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrSelectV3-c604ca91.js → OrSelectV3-420bee16.js} +1 -1
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +1 -1
- package/dist/bundled/v3/components/OrSortingV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSortingV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrSortingV3-c2d7e14c.js → OrSortingV3-34a9c5c2.js} +1 -1
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTabsV3-d1028c81.js → OrTabsV3-4137df11.js} +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/OrTimeFormat.js +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimeFormatV3-2734e8fa.js → OrTimeFormatV3-31a6392c.js} +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimePickerV3-281585a5.js → OrTimePickerV3-798d4777.js} +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimeRangePickerV3-195df692.js → OrTimeRangePickerV3-488d5544.js} +1 -1
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +16 -15
- package/dist/bundled/v3/index.js +17 -16
- package/dist/esm/v2/{OrCardCollection-d82b4dd0.js → OrCardCollection-db39a325.js} +1 -1
- package/dist/esm/v2/{OrDateFormat-5e3b12fc.js → OrDateFormat-752fc779.js} +2 -2
- package/dist/esm/v2/{OrDatePicker-0a22ea42.js → OrDatePicker-25b3e281.js} +2 -2
- package/dist/esm/v2/{OrDateRangePicker-14e9413a.js → OrDateRangePicker-5803dc91.js} +2 -2
- package/dist/esm/v2/{OrDateTimeFormat-30e78da3.js → OrDateTimeFormat-d6767984.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-c95b1582.js → OrDateTimePicker-43588e11.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-4f842ab1.js → OrDateTimePicker.vue_rollup-plugin-vue_script-82dc45be.js} +1 -1
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-441799e2.js → OrDateTimePickerTimeSelect-57e2d2e4.js} +1 -1
- package/dist/esm/v2/OrEditorTabs-60ec84d5.js +252 -0
- package/dist/esm/v2/OrEditorTabsItem-045802c0.js +106 -0
- package/dist/esm/v2/{OrMenuItem-fbe3e8e4.js → OrMenuItem-aef527fb.js} +25 -7
- package/dist/esm/v2/{OrPagination-6d986889.js → OrPagination-ee8f224b.js} +1 -1
- package/dist/esm/v2/{OrRichTextEditor-8b4d1d64.js → OrRichTextEditor-5ab919a5.js} +1 -1
- package/dist/esm/v2/{OrSelect-699f3ae1.js → OrSelect-1f40ebe0.js} +1 -1
- package/dist/esm/v2/{OrSorting-d657f712.js → OrSorting-e31da34e.js} +1 -1
- package/dist/esm/v2/{OrTabs-b8df5b2e.js → OrTabs-76f5d536.js} +1 -1
- package/dist/esm/v2/{OrTimeFormat-f88cbf6f.js → OrTimeFormat-0368a673.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-cd42023a.js → OrTimePicker-615a39ce.js} +2 -2
- package/dist/esm/v2/{OrTimeRangePicker-39820fd8.js → OrTimeRangePicker-55cb3d2c.js} +2 -2
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +19 -17
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-range-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/index.js +2 -2
- package/dist/esm/v2/components/or-editor-tabs-v3/OrEditorTabs.vue.d.ts +62 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/index.js +26 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/partials/index.d.ts +1 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/partials/index.js +22 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/partials/or-editor-tabs-item/OrEditorTabsItem.vue.d.ts +50 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/partials/or-editor-tabs-item/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/styles.d.ts +5 -0
- package/dist/esm/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-menu-item-v3/index.js +19 -1
- package/dist/esm/v2/components/or-menu-item-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +5 -3
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/components/or-sorting-v3/index.js +4 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +5 -3
- package/dist/esm/v2/components/or-time-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-time-range-picker-v3/index.js +4 -4
- package/dist/esm/v2/index.js +19 -17
- package/dist/esm/v3/{OrCardCollection-11d518ae.js → OrCardCollection-b1f4b543.js} +1 -1
- package/dist/esm/v3/{OrDateFormat-5fee3e3a.js → OrDateFormat-7816bb4f.js} +2 -2
- package/dist/esm/v3/{OrDatePicker-ee7d02bc.js → OrDatePicker-b52dc314.js} +2 -2
- package/dist/esm/v3/{OrDateRangePicker-2fd73580.js → OrDateRangePicker-8c288b20.js} +2 -2
- package/dist/esm/v3/{OrDateTimeFormat-0c9deda2.js → OrDateTimeFormat-04840e4e.js} +2 -2
- package/dist/esm/v3/{OrDateTimePicker-647ff5f1.js → OrDateTimePicker-8b7560b5.js} +1 -1
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-486f2486.js → OrDateTimePickerTimeSelect-9445ae78.js} +1 -1
- package/dist/esm/v3/OrEditorTabs-853c5859.js +213 -0
- package/dist/esm/v3/OrEditorTabsItem-b67aa2ec.js +79 -0
- package/dist/esm/v3/{OrMenuItem-2928ba60.js → OrMenuItem-1703dc05.js} +27 -11
- package/dist/esm/v3/{OrPagination-1c040cdc.js → OrPagination-18379bab.js} +1 -1
- package/dist/esm/v3/{OrRichTextEditor-06c85acf.js → OrRichTextEditor-3a72b30d.js} +1 -1
- package/dist/esm/v3/{OrSelect-42a9a859.js → OrSelect-b9127612.js} +1 -1
- package/dist/esm/v3/{OrSorting-d047cf00.js → OrSorting-42677f78.js} +1 -1
- package/dist/esm/v3/{OrTabs-cd217d74.js → OrTabs-e6976b96.js} +1 -1
- package/dist/esm/v3/{OrTimeFormat-a256b6f2.js → OrTimeFormat-a0c2d466.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-b1c40457.js → OrTimePicker-b7c0e287.js} +2 -2
- package/dist/esm/v3/{OrTimeRangePicker-9c8ece38.js → OrTimeRangePicker-fcf80677.js} +2 -2
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +18 -16
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-range-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/index.js +2 -2
- package/dist/esm/v3/components/or-editor-tabs-v3/OrEditorTabs.vue.d.ts +42 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/index.js +25 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/partials/index.d.ts +1 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/partials/index.js +21 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/partials/or-editor-tabs-item/OrEditorTabsItem.vue.d.ts +37 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/partials/or-editor-tabs-item/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/styles.d.ts +5 -0
- package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +11 -1
- package/dist/esm/v3/components/or-menu-item-v3/index.js +18 -1
- package/dist/esm/v3/components/or-menu-item-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +5 -3
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-sorting-v3/index.js +4 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +5 -3
- package/dist/esm/v3/components/or-time-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-time-range-picker-v3/index.js +4 -4
- package/dist/esm/v3/index.js +18 -16
- package/package.json +3 -4
- package/src/components/index.ts +1 -0
- package/src/components/or-editor-tabs-v3/OrEditorTabs.vue +229 -0
- package/src/components/or-editor-tabs-v3/index.ts +1 -0
- package/src/components/or-editor-tabs-v3/partials/index.ts +1 -0
- package/src/components/or-editor-tabs-v3/partials/or-editor-tabs-item/OrEditorTabsItem.vue +73 -0
- package/src/components/or-editor-tabs-v3/partials/or-editor-tabs-item/styles.ts +35 -0
- package/src/components/or-editor-tabs-v3/styles.ts +36 -0
- package/src/components/or-menu-item-v3/OrMenuItem.vue +22 -5
- package/src/components/or-menu-item-v3/styles.ts +1 -1
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-03c3d054.js → OrDateTimePickerMonthSelect-fe1c8243.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { _ as OrTimeFormatV3 } from '../../OrTimeFormat-
|
|
1
|
+
export { _ as OrTimeFormatV3 } from '../../OrTimeFormat-0368a673.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
3
|
+
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-82dc45be.js';
|
|
4
4
|
import '../../dropdown-open-06d651cf.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import '../../dom-aecadd9a.js';
|
|
@@ -28,11 +28,11 @@ import '../../useTheme-0ef25778.js';
|
|
|
28
28
|
import '../../OrInputBox-140c344d.js';
|
|
29
29
|
import '../../OrInputBox.vue_rollup-plugin-vue_script-65ebcf4d.js';
|
|
30
30
|
import '../../OrLabel-6637774a.js';
|
|
31
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
31
|
+
import '../../OrDateTimePickerTimeSelect-57e2d2e4.js';
|
|
32
32
|
import '../../getTimePlaceholder-3b2885bf.js';
|
|
33
33
|
import '../../OrButton-8d1efd4a.js';
|
|
34
34
|
import '../../OrButton.vue_rollup-plugin-vue_script-ec8cfaee.js';
|
|
35
35
|
import '../../OrLoader-784e2060.js';
|
|
36
|
-
import '../../OrMenuItem-
|
|
36
|
+
import '../../OrMenuItem-aef527fb.js';
|
|
37
37
|
import '../../OrMenu-8802ee12.js';
|
|
38
38
|
import '../../getCurrentDate-046a888d.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { _ as OrTimePickerV3 } from '../../OrTimePicker-
|
|
2
|
-
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
3
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
1
|
+
export { _ as OrTimePickerV3 } from '../../OrTimePicker-615a39ce.js';
|
|
2
|
+
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-82dc45be.js';
|
|
3
|
+
import '../../OrDateTimePickerTimeSelect-57e2d2e4.js';
|
|
4
4
|
export { D as TimePickerFormat } from '../../getTimePlaceholder-3b2885bf.js';
|
|
5
5
|
export { I as TimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-65ebcf4d.js';
|
|
6
6
|
import 'vue-demi';
|
|
@@ -34,5 +34,5 @@ import '../../OrLabel-6637774a.js';
|
|
|
34
34
|
import '../../OrButton-8d1efd4a.js';
|
|
35
35
|
import '../../OrButton.vue_rollup-plugin-vue_script-ec8cfaee.js';
|
|
36
36
|
import '../../OrLoader-784e2060.js';
|
|
37
|
-
import '../../OrMenuItem-
|
|
37
|
+
import '../../OrMenuItem-aef527fb.js';
|
|
38
38
|
import '../../OrMenu-8802ee12.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { _ as OrTimeRangePickerV3 } from '../../OrTimeRangePicker-
|
|
2
|
-
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
3
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
1
|
+
export { _ as OrTimeRangePickerV3 } from '../../OrTimeRangePicker-55cb3d2c.js';
|
|
2
|
+
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-82dc45be.js';
|
|
3
|
+
import '../../OrDateTimePickerTimeSelect-57e2d2e4.js';
|
|
4
4
|
export { D as TimeRangePickerFormat } from '../../getTimePlaceholder-3b2885bf.js';
|
|
5
5
|
export { I as TimeRangePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-65ebcf4d.js';
|
|
6
6
|
import 'vue-demi';
|
|
@@ -34,5 +34,5 @@ import '../../OrLabel-6637774a.js';
|
|
|
34
34
|
import '../../OrButton-8d1efd4a.js';
|
|
35
35
|
import '../../OrButton.vue_rollup-plugin-vue_script-ec8cfaee.js';
|
|
36
36
|
import '../../OrLoader-784e2060.js';
|
|
37
|
-
import '../../OrMenuItem-
|
|
37
|
+
import '../../OrMenuItem-aef527fb.js';
|
|
38
38
|
import '../../OrMenu-8802ee12.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -10,7 +10,7 @@ export { _ as OrIconButton, _ as OrIconButtonV2 } from './OrIconButton-f6370222.
|
|
|
10
10
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-02ba7b68.js';
|
|
11
11
|
export { _ as OrCard } from './OrCard-c44d9783.js';
|
|
12
12
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-d7e546a0.js';
|
|
13
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
13
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-db39a325.js';
|
|
14
14
|
export { C as CardPadding, _ as OrCardV3 } from './OrCard-54dce216.js';
|
|
15
15
|
export { _ as OrCheckbox } from './OrCheckbox-3337d903.js';
|
|
16
16
|
export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-e6720b91.js';
|
|
@@ -37,16 +37,17 @@ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-0543208c.js';
|
|
|
37
37
|
export { _ as OrContextMenuV3 } from './OrContextMenu-c8932997.js';
|
|
38
38
|
export { _ as OrMenuV3 } from './OrMenu-8802ee12.js';
|
|
39
39
|
export { P as ContextMenuPlacement, P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-7d9405fb.js';
|
|
40
|
-
export { _ as OrDateFormatV3 } from './OrDateFormat-
|
|
41
|
-
export { _ as OrDatePickerV3 } from './OrDatePicker-
|
|
42
|
-
export { _ as OrDateRangePickerV3 } from './OrDateRangePicker-
|
|
43
|
-
export { _ as OrDateTimeFormatV3 } from './OrDateTimeFormat-
|
|
40
|
+
export { _ as OrDateFormatV3 } from './OrDateFormat-752fc779.js';
|
|
41
|
+
export { _ as OrDatePickerV3 } from './OrDatePicker-25b3e281.js';
|
|
42
|
+
export { _ as OrDateRangePickerV3 } from './OrDateRangePicker-5803dc91.js';
|
|
43
|
+
export { _ as OrDateTimeFormatV3 } from './OrDateTimeFormat-d6767984.js';
|
|
44
44
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-84b5e159.js';
|
|
45
|
-
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
46
|
-
export { _ as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMobileControl, c as OrDateTimePickerMonthSelect, d as OrDateTimePickerPopoverFooter, e as OrDateTimePickerPopoverHeader, f as OrDateTimePickerTimeControl, g as OrDateTimePickerTimeSelect } from './OrDateTimePickerTimeSelect-
|
|
45
|
+
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-43588e11.js';
|
|
46
|
+
export { _ as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMobileControl, c as OrDateTimePickerMonthSelect, d as OrDateTimePickerPopoverFooter, e as OrDateTimePickerPopoverHeader, f as OrDateTimePickerTimeControl, g as OrDateTimePickerTimeSelect } from './OrDateTimePickerTimeSelect-57e2d2e4.js';
|
|
47
47
|
export { D as DateTimePickerTimeFormat, D as TimePickerFormat, D as TimeRangePickerFormat, f as formatDate, a as formatTime, g as getDatePlaceholder, b as getTimePlaceholder } from './getTimePlaceholder-3b2885bf.js';
|
|
48
48
|
export { g as getCurrentDate } from './getCurrentDate-046a888d.js';
|
|
49
49
|
export { g as getNextMonthDate } from './getNextMonthDate-00c47169.js';
|
|
50
|
+
export { _ as OrEditorTabsV3 } from './OrEditorTabs-60ec84d5.js';
|
|
50
51
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-57ac6d85.js';
|
|
51
52
|
export { _ as OrError } from './OrError-efc74907.js';
|
|
52
53
|
export { _ as OrErrorTagV3 } from './OrErrorTag-b54010de.js';
|
|
@@ -75,7 +76,7 @@ export { _ as OrListV3 } from './OrList-dad08cd8.js';
|
|
|
75
76
|
export { _ as OrListItem } from './OrListItem-534e8e9d.js';
|
|
76
77
|
export { L as LoaderViews, _ as OrLoader } from './OrLoader-461b6372.js';
|
|
77
78
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from './OrLoader-784e2060.js';
|
|
78
|
-
export { _ as OrMenuItemV3 } from './OrMenuItem-
|
|
79
|
+
export { _ as OrMenuItemV3 } from './OrMenuItem-aef527fb.js';
|
|
79
80
|
export { _ as OrModal, O as OrModalSizes } from './OrModal-2a962f80.js';
|
|
80
81
|
export { M as ModalSize, _ as OrModalV3 } from './OrModal-333f7706.js';
|
|
81
82
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from './OrNotification-4957a85a.js';
|
|
@@ -84,7 +85,7 @@ export { _ as OrNumberInput } from './OrNumberInput-7f0d6f74.js';
|
|
|
84
85
|
export { _ as OrOverflowMenu } from './OrOverflowMenu-b867545d.js';
|
|
85
86
|
export { _ as OrOverlay } from './OrOverlay-ccec2218.js';
|
|
86
87
|
export { _ as OrOverlayV3 } from './OrOverlay-9aa5020f.js';
|
|
87
|
-
export { _ as OrPaginationV3 } from './OrPagination-
|
|
88
|
+
export { _ as OrPaginationV3 } from './OrPagination-ee8f224b.js';
|
|
88
89
|
export { _ as OrPassword } from './OrPassword-240afb27.js';
|
|
89
90
|
export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-8a37f30d.js';
|
|
90
91
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-0fd66e91.js';
|
|
@@ -97,12 +98,12 @@ export { _ as OrSliderV3 } from './OrSlider-dd60a4a1.js';
|
|
|
97
98
|
export { S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSlider.vue_rollup-plugin-vue_script-eadc5fc6.js';
|
|
98
99
|
export { _ as OrRatingV3 } from './OrRating-abf1b609.js';
|
|
99
100
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanel-037600c1.js';
|
|
100
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
101
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-5ab919a5.js';
|
|
101
102
|
export { _ as OrSearch } from './OrSearch-ddf244e6.js';
|
|
102
103
|
export { _ as OrSearchV3 } from './OrSearch-b357d036.js';
|
|
103
104
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-00583234.js';
|
|
104
105
|
export { _ as OrSelect } from './OrSelect-d271f7a3.js';
|
|
105
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
106
|
+
export { _ as OrSelectV3 } from './OrSelect-1f40ebe0.js';
|
|
106
107
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-054b26c6.js';
|
|
107
108
|
export { S as OrSidebarPlacement, _ as OrSidebarV3, S as SidebarPlacement } from './OrSidebar-11672a22.js';
|
|
108
109
|
export { _ as OrSkeletonCircle } from './OrSkeletonCircle-c4bf0e34.js';
|
|
@@ -113,7 +114,7 @@ export { _ as OrSkeletonCircleV3 } from './OrSkeletonCircle-3419b04d.js';
|
|
|
113
114
|
export { _ as OrSkeletonRectV3 } from './OrSkeletonRect-7057bc1c.js';
|
|
114
115
|
export { _ as OrSkeletonTextV3 } from './OrSkeletonText-6c00f797.js';
|
|
115
116
|
export { _ as OrSlider } from './OrSlider-d7eaa715.js';
|
|
116
|
-
export { _ as OrSortingV3 } from './OrSorting-
|
|
117
|
+
export { _ as OrSortingV3 } from './OrSorting-e31da34e.js';
|
|
117
118
|
export { _ as OrStatusV3, a as StatusSize, S as StatusVariant } from './OrStatus-40a888dd.js';
|
|
118
119
|
export { _ as OrStepper } from './OrStepper-2d05e6d5.js';
|
|
119
120
|
export { _ as OrSwitch } from './OrSwitch-6c0dd56b.js';
|
|
@@ -122,7 +123,7 @@ export { _ as OrTab } from './OrTab-58821c9b.js';
|
|
|
122
123
|
export { _ as OrTabHeaderItem } from './OrTabHeaderItem-424f2986.js';
|
|
123
124
|
export { _ as OrTabV3 } from './OrTab-a989b4fd.js';
|
|
124
125
|
export { _ as OrTabs } from './OrTabs-62e7e478.js';
|
|
125
|
-
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
126
|
+
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-76f5d536.js';
|
|
126
127
|
export { _ as OrTag } from './OrTag-ce728fad.js';
|
|
127
128
|
export { _ as OrTagInputV3 } from './OrTagInput-39276755.js';
|
|
128
129
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-83582a3d.js';
|
|
@@ -133,9 +134,9 @@ export { _ as OrTextV3 } from './OrText-44449e7b.js';
|
|
|
133
134
|
export { _ as OrTextarea } from './OrTextarea-9febab19.js';
|
|
134
135
|
export { _ as OrTextareaV3 } from './OrTextarea-bb0b0e63.js';
|
|
135
136
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-2ae0ee03.js';
|
|
136
|
-
export { _ as OrTimeFormatV3 } from './OrTimeFormat-
|
|
137
|
-
export { _ as OrTimePickerV3 } from './OrTimePicker-
|
|
138
|
-
export { _ as OrTimeRangePickerV3 } from './OrTimeRangePicker-
|
|
137
|
+
export { _ as OrTimeFormatV3 } from './OrTimeFormat-0368a673.js';
|
|
138
|
+
export { _ as OrTimePickerV3 } from './OrTimePicker-615a39ce.js';
|
|
139
|
+
export { _ as OrTimeRangePickerV3 } from './OrTimeRangePicker-55cb3d2c.js';
|
|
139
140
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-3085d81a.js';
|
|
140
141
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-05a9c81b.js';
|
|
141
142
|
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-7e602e28.js';
|
|
@@ -176,8 +177,9 @@ import '@codemirror/language';
|
|
|
176
177
|
import '@lezer/highlight';
|
|
177
178
|
import '@vueuse/math';
|
|
178
179
|
import '@floating-ui/dom';
|
|
179
|
-
import './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
180
|
+
import './OrDateTimePicker.vue_rollup-plugin-vue_script-82dc45be.js';
|
|
180
181
|
import 'lodash/padStart';
|
|
182
|
+
import './OrEditorTabsItem-045802c0.js';
|
|
181
183
|
import './OrTooltip.vue_rollup-plugin-vue_styles.0-b9697924.js';
|
|
182
184
|
import 'lodash/isNil';
|
|
183
185
|
import 'lodash/cloneDeep';
|
|
@@ -3,7 +3,7 @@ import { s as script$2 } from './OrIconButton-f9897ff9.js';
|
|
|
3
3
|
import { s as script$4 } from './OrSearch-e56db8af.js';
|
|
4
4
|
import './OrInputBox-8c1a29dd.js';
|
|
5
5
|
import { s as script$5 } from './OrLoader-b7d415dd.js';
|
|
6
|
-
import { s as script$3 } from './OrSorting-
|
|
6
|
+
import { s as script$3 } from './OrSorting-42677f78.js';
|
|
7
7
|
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createBlock, createCommentVNode, createVNode, normalizeProps, guardReactiveProps, withCtx } from 'vue';
|
|
8
8
|
|
|
9
9
|
var CardCollectionView;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import './OrDateTimePicker-
|
|
3
|
-
import './OrDateTimePickerTimeSelect-
|
|
2
|
+
import './OrDateTimePicker-8b7560b5.js';
|
|
3
|
+
import './OrDateTimePickerTimeSelect-9445ae78.js';
|
|
4
4
|
import { f as formatDate } from './getTimePlaceholder-fd41baed.js';
|
|
5
5
|
import { openBlock, createElementBlock, normalizeClass, toDisplayString } from 'vue';
|
|
6
6
|
|
|
@@ -5,8 +5,8 @@ import './dom-aecadd9a.js';
|
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
6
6
|
import '@onereach/styles/tailwind/plugins/core';
|
|
7
7
|
import '@onereach/styles/tailwind.config.json';
|
|
8
|
-
import './OrDateTimePicker-
|
|
9
|
-
import { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6 } from './OrDateTimePickerTimeSelect-
|
|
8
|
+
import './OrDateTimePicker-8b7560b5.js';
|
|
9
|
+
import { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6 } from './OrDateTimePickerTimeSelect-9445ae78.js';
|
|
10
10
|
import './getTimePlaceholder-fd41baed.js';
|
|
11
11
|
import { g as getCurrentDate } from './getCurrentDate-046a888d.js';
|
|
12
12
|
import { s as script$7 } from './OrError-69bd7f6a.js';
|
|
@@ -5,8 +5,8 @@ import './dom-aecadd9a.js';
|
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
6
6
|
import { u as useResponsive } from './useResponsive-1baf3485.js';
|
|
7
7
|
import '@onereach/styles/tailwind.config.json';
|
|
8
|
-
import './OrDateTimePicker-
|
|
9
|
-
import { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6 } from './OrDateTimePickerTimeSelect-
|
|
8
|
+
import './OrDateTimePicker-8b7560b5.js';
|
|
9
|
+
import { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6 } from './OrDateTimePickerTimeSelect-9445ae78.js';
|
|
10
10
|
import './getTimePlaceholder-fd41baed.js';
|
|
11
11
|
import { g as getCurrentDate } from './getCurrentDate-046a888d.js';
|
|
12
12
|
import { g as getNextMonthDate } from './getNextMonthDate-00c47169.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import './OrDateTimePicker-
|
|
3
|
-
import './OrDateTimePickerTimeSelect-
|
|
2
|
+
import './OrDateTimePicker-8b7560b5.js';
|
|
3
|
+
import './OrDateTimePickerTimeSelect-9445ae78.js';
|
|
4
4
|
import { D as DateTimePickerTimeFormat, f as formatDate, a as formatTime } from './getTimePlaceholder-fd41baed.js';
|
|
5
5
|
import { openBlock, createElementBlock, normalizeClass, toDisplayString } from 'vue';
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ import { s as script$b } from './OrIcon-b2e2d0aa.js';
|
|
|
12
12
|
import { s as script$d, I as InputBoxSize } from './OrInputBox-8c1a29dd.js';
|
|
13
13
|
import { s as script$e } from './OrLabel-6c83afe4.js';
|
|
14
14
|
import { s as script$f } from './OrPopover-79d76269.js';
|
|
15
|
-
import { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6, f as script$7, g as script$8 } from './OrDateTimePickerTimeSelect-
|
|
15
|
+
import { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6, f as script$7, g as script$8 } from './OrDateTimePickerTimeSelect-9445ae78.js';
|
|
16
16
|
import { D as DateTimePickerTimeFormat } from './getTimePlaceholder-fd41baed.js';
|
|
17
17
|
import { g as getCurrentDate } from './getCurrentDate-046a888d.js';
|
|
18
18
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, Fragment, createElementVNode } from 'vue';
|
|
@@ -10,7 +10,7 @@ import { s as script$8 } from './OrButton-a881b13b.js';
|
|
|
10
10
|
import { s as script$9 } from './OrLabel-6c83afe4.js';
|
|
11
11
|
import { s as script$b } from './OrIconButton-f9897ff9.js';
|
|
12
12
|
import { s as script$a } from './OrIcon-b2e2d0aa.js';
|
|
13
|
-
import { s as script$d } from './OrMenuItem-
|
|
13
|
+
import { s as script$d } from './OrMenuItem-1703dc05.js';
|
|
14
14
|
import { s as script$c } from './OrMenu-192543a9.js';
|
|
15
15
|
import './OrPopover-79d76269.js';
|
|
16
16
|
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
+
import '@vueuse/core';
|
|
3
|
+
import './dom-aecadd9a.js';
|
|
4
|
+
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
|
+
import { u as useResponsive } from './useResponsive-1baf3485.js';
|
|
6
|
+
import '@onereach/styles/tailwind.config.json';
|
|
7
|
+
import { s as script$2 } from './OrIcon-b2e2d0aa.js';
|
|
8
|
+
import { s as script$4 } from './OrMenuItem-1703dc05.js';
|
|
9
|
+
import { s as script$3 } from './OrMenu-192543a9.js';
|
|
10
|
+
import './OrPopover-79d76269.js';
|
|
11
|
+
import { s as script$1 } from './OrEditorTabsItem-b67aa2ec.js';
|
|
12
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, createBlock, withCtx, renderSlot, toDisplayString, createCommentVNode, createVNode, createTextVNode } from 'vue';
|
|
13
|
+
|
|
14
|
+
const EditorTabs = [];
|
|
15
|
+
const EditorTabsHeader = [
|
|
16
|
+
// Layout
|
|
17
|
+
'layout-row',
|
|
18
|
+
// Theme
|
|
19
|
+
'theme-border-underline', 'theme-border-1-outline-variant', 'dark:theme-border-1-outline-variant-dark'];
|
|
20
|
+
const EditorTabsHeaderTabs = [
|
|
21
|
+
// Layout
|
|
22
|
+
'layout-row',
|
|
23
|
+
// Box
|
|
24
|
+
'max-w-full',
|
|
25
|
+
// Theme
|
|
26
|
+
'theme-divider-outline-variant', 'dark:theme-divider-outline-variant-dark'];
|
|
27
|
+
const EditorTabsHeaderMenu = [];
|
|
28
|
+
const EditorTabsContent = [
|
|
29
|
+
// Spacing
|
|
30
|
+
'px-md', 'py-md',
|
|
31
|
+
// Theme
|
|
32
|
+
'theme-background-surface-1', 'dark:theme-background-surface-1-dark'];
|
|
33
|
+
|
|
34
|
+
var script = defineComponent({
|
|
35
|
+
components: {
|
|
36
|
+
OrEditorTabsItem: script$1,
|
|
37
|
+
OrIcon: script$2,
|
|
38
|
+
OrMenu: script$3,
|
|
39
|
+
OrMenuItem: script$4
|
|
40
|
+
},
|
|
41
|
+
model: {
|
|
42
|
+
prop: 'modelValue',
|
|
43
|
+
event: 'update:modelValue'
|
|
44
|
+
},
|
|
45
|
+
props: {
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: [String, Number],
|
|
48
|
+
default: undefined
|
|
49
|
+
},
|
|
50
|
+
items: {
|
|
51
|
+
type: Array,
|
|
52
|
+
required: true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
emits: ['update:modelValue', 'open', 'close'],
|
|
56
|
+
expose: ['root'],
|
|
57
|
+
setup(props, context) {
|
|
58
|
+
// Refs
|
|
59
|
+
const root = ref();
|
|
60
|
+
// Styles
|
|
61
|
+
const rootStyles = computed(() => ['or-editor-tabs-v3', ...EditorTabs]);
|
|
62
|
+
const headerStyles = computed(() => [...EditorTabsHeader]);
|
|
63
|
+
const headerTabsStyles = computed(() => [...EditorTabsHeaderTabs]);
|
|
64
|
+
const headerMenuStyles = computed(() => [...EditorTabsHeaderMenu]);
|
|
65
|
+
const contentStyles = computed(() => [...EditorTabsContent]);
|
|
66
|
+
// State
|
|
67
|
+
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
68
|
+
const selectedItem = computed(() => {
|
|
69
|
+
return props.items.find(item => item.value === proxyModelValue.value);
|
|
70
|
+
});
|
|
71
|
+
const overflowItems = computed(() => {
|
|
72
|
+
return props.items.filter(item => item.value !== proxyModelValue.value);
|
|
73
|
+
});
|
|
74
|
+
const showOverflowMenu = ref(false);
|
|
75
|
+
// Handlers
|
|
76
|
+
function onClose(item) {
|
|
77
|
+
if (item.value === proxyModelValue.value) {
|
|
78
|
+
const index = props.items.indexOf(item);
|
|
79
|
+
if (index !== -1) {
|
|
80
|
+
const nextItem = props.items[index + 1];
|
|
81
|
+
const previousItem = props.items[index - 1];
|
|
82
|
+
proxyModelValue.value = (nextItem === null || nextItem === void 0 ? void 0 : nextItem.value) || (previousItem === null || previousItem === void 0 ? void 0 : previousItem.value);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
context.emit('close', item);
|
|
86
|
+
}
|
|
87
|
+
// Helpers
|
|
88
|
+
const {
|
|
89
|
+
isDesktop,
|
|
90
|
+
isMobile
|
|
91
|
+
} = useResponsive();
|
|
92
|
+
return {
|
|
93
|
+
root,
|
|
94
|
+
rootStyles,
|
|
95
|
+
headerStyles,
|
|
96
|
+
headerTabsStyles,
|
|
97
|
+
headerMenuStyles,
|
|
98
|
+
contentStyles,
|
|
99
|
+
proxyModelValue,
|
|
100
|
+
selectedItem,
|
|
101
|
+
overflowItems,
|
|
102
|
+
showOverflowMenu,
|
|
103
|
+
onClose,
|
|
104
|
+
isDesktop,
|
|
105
|
+
isMobile
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
const _hoisted_1 = {
|
|
111
|
+
class: /*#__PURE__*/normalizeClass(['truncate'])
|
|
112
|
+
};
|
|
113
|
+
const _hoisted_2 = {
|
|
114
|
+
class: /*#__PURE__*/normalizeClass(['truncate'])
|
|
115
|
+
};
|
|
116
|
+
const _hoisted_3 = {
|
|
117
|
+
class: /*#__PURE__*/normalizeClass(['layout-row', 'gap-sm'])
|
|
118
|
+
};
|
|
119
|
+
const _hoisted_4 = {
|
|
120
|
+
class: /*#__PURE__*/normalizeClass(['truncate'])
|
|
121
|
+
};
|
|
122
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
123
|
+
const _component_OrEditorTabsItem = resolveComponent("OrEditorTabsItem");
|
|
124
|
+
const _component_OrIcon = resolveComponent("OrIcon");
|
|
125
|
+
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
126
|
+
const _component_OrMenu = resolveComponent("OrMenu");
|
|
127
|
+
return openBlock(), createElementBlock("div", {
|
|
128
|
+
ref: "root",
|
|
129
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
130
|
+
}, [createElementVNode("div", {
|
|
131
|
+
class: normalizeClass(_ctx.headerStyles)
|
|
132
|
+
}, [createElementVNode("div", {
|
|
133
|
+
class: normalizeClass(['grow', ..._ctx.headerTabsStyles])
|
|
134
|
+
}, [_ctx.isDesktop ? (openBlock(true), createElementBlock(Fragment, {
|
|
135
|
+
key: 0
|
|
136
|
+
}, renderList(_ctx.items, item => {
|
|
137
|
+
return openBlock(), createBlock(_component_OrEditorTabsItem, {
|
|
138
|
+
key: item.value,
|
|
139
|
+
selected: item.value === _ctx.proxyModelValue,
|
|
140
|
+
disabled: item.disabled,
|
|
141
|
+
onClick: $event => _ctx.proxyModelValue = item.value,
|
|
142
|
+
onClose: $event => _ctx.onClose(item)
|
|
143
|
+
}, {
|
|
144
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, `${item.value}-label`, {
|
|
145
|
+
label: item.label
|
|
146
|
+
}, () => [createElementVNode("div", _hoisted_1, toDisplayString(item.label), 1 /* TEXT */)])]),
|
|
147
|
+
|
|
148
|
+
_: 2 /* DYNAMIC */
|
|
149
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected", "disabled", "onClick", "onClose"]);
|
|
150
|
+
}), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true), _ctx.isMobile && _ctx.selectedItem ? (openBlock(), createBlock(_component_OrEditorTabsItem, {
|
|
151
|
+
key: 1,
|
|
152
|
+
class: normalizeClass(['grow']),
|
|
153
|
+
selected: true,
|
|
154
|
+
disabled: _ctx.selectedItem.disabled,
|
|
155
|
+
onClose: _cache[0] || (_cache[0] = $event => _ctx.onClose(_ctx.selectedItem))
|
|
156
|
+
}, {
|
|
157
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, `${_ctx.selectedItem.value}-label`, {
|
|
158
|
+
label: _ctx.selectedItem.label
|
|
159
|
+
}, () => [createElementVNode("div", _hoisted_2, toDisplayString(_ctx.selectedItem.label), 1 /* TEXT */)])]),
|
|
160
|
+
|
|
161
|
+
_: 3 /* FORWARDED */
|
|
162
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrEditorTabsItem, {
|
|
163
|
+
"close-button": false,
|
|
164
|
+
onClick: _cache[1] || (_cache[1] = $event => _ctx.$emit('open'))
|
|
165
|
+
}, {
|
|
166
|
+
default: withCtx(() => [createVNode(_component_OrIcon, {
|
|
167
|
+
icon: 'add',
|
|
168
|
+
size: 'm'
|
|
169
|
+
})]),
|
|
170
|
+
_: 1 /* STABLE */
|
|
171
|
+
}), _ctx.isMobile && _ctx.items.length > 1 ? (openBlock(), createElementBlock(Fragment, {
|
|
172
|
+
key: 2
|
|
173
|
+
}, [createVNode(_component_OrEditorTabsItem, {
|
|
174
|
+
"close-button": false,
|
|
175
|
+
onClick: _cache[2] || (_cache[2] = $event => _ctx.showOverflowMenu = true)
|
|
176
|
+
}, {
|
|
177
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.overflowItems.length) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
178
|
+
icon: 'more_vert',
|
|
179
|
+
size: 'm'
|
|
180
|
+
})]),
|
|
181
|
+
_: 1 /* STABLE */
|
|
182
|
+
}), createVNode(_component_OrMenu, {
|
|
183
|
+
"is-open": _ctx.showOverflowMenu,
|
|
184
|
+
onClose: _cache[3] || (_cache[3] = $event => _ctx.showOverflowMenu = false)
|
|
185
|
+
}, {
|
|
186
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.overflowItems, item => {
|
|
187
|
+
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
188
|
+
key: item.value,
|
|
189
|
+
"close-button": true,
|
|
190
|
+
disabled: item.disabled,
|
|
191
|
+
onClick: $event => _ctx.proxyModelValue = item.value,
|
|
192
|
+
onClose: $event => _ctx.onClose(item)
|
|
193
|
+
}, {
|
|
194
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_3, [renderSlot(_ctx.$slots, `${item.value}-label`, {
|
|
195
|
+
label: item.label
|
|
196
|
+
}, () => [createElementVNode("div", _hoisted_4, toDisplayString(item.label), 1 /* TEXT */)])])]),
|
|
197
|
+
|
|
198
|
+
_: 2 /* DYNAMIC */
|
|
199
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "onClick", "onClose"]);
|
|
200
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
201
|
+
|
|
202
|
+
_: 3 /* FORWARDED */
|
|
203
|
+
}, 8 /* PROPS */, ["is-open"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
204
|
+
class: normalizeClass(_ctx.headerMenuStyles)
|
|
205
|
+
}, null, 2 /* CLASS */)], 2 /* CLASS */), createElementVNode("div", {
|
|
206
|
+
class: normalizeClass(_ctx.contentStyles)
|
|
207
|
+
}, [renderSlot(_ctx.$slots, _ctx.proxyModelValue)], 2 /* CLASS */)], 2 /* CLASS */);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
script.render = render;
|
|
211
|
+
script.__file = "src/components/or-editor-tabs-v3/OrEditorTabs.vue";
|
|
212
|
+
|
|
213
|
+
export { script as s };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { s as script$1 } from './OrIconButton-f9897ff9.js';
|
|
3
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, createVNode, withModifiers, createCommentVNode, createElementVNode } from 'vue';
|
|
4
|
+
|
|
5
|
+
const EditorTabsItem = [
|
|
6
|
+
// Layout
|
|
7
|
+
'layout-row',
|
|
8
|
+
// Interactivity
|
|
9
|
+
'interactivity-click',
|
|
10
|
+
// Box
|
|
11
|
+
'md:min-w-0', 'md:max-w-[240px]',
|
|
12
|
+
// Spacing
|
|
13
|
+
'px-md', 'py-sm', 'gap-sm',
|
|
14
|
+
// Typography
|
|
15
|
+
'typography-caption-regular',
|
|
16
|
+
// Theme
|
|
17
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
18
|
+
// Theme (hover)
|
|
19
|
+
'hover:theme-foreground-primary', 'dark:hover:theme-foreground-primary-dark',
|
|
20
|
+
// Theme (selected)
|
|
21
|
+
'selected:theme-foreground-primary', 'dark:selected:theme-foreground-primary-dark', 'selected:theme-background-surface-1', 'dark:selected:theme-background-surface-1-dark'];
|
|
22
|
+
|
|
23
|
+
var script = defineComponent({
|
|
24
|
+
components: {
|
|
25
|
+
OrIconButton: script$1
|
|
26
|
+
},
|
|
27
|
+
props: {
|
|
28
|
+
closeButton: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: true
|
|
31
|
+
},
|
|
32
|
+
selected: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: false
|
|
35
|
+
},
|
|
36
|
+
disabled: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: false
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
emits: ['close'],
|
|
42
|
+
expose: ['root'],
|
|
43
|
+
setup() {
|
|
44
|
+
// Refs
|
|
45
|
+
const root = ref();
|
|
46
|
+
// Styles
|
|
47
|
+
const rootStyles = computed(() => ['or-editor-tabs-item-v3', ...EditorTabsItem]);
|
|
48
|
+
return {
|
|
49
|
+
root,
|
|
50
|
+
rootStyles
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
const _hoisted_1 = ["selected", "disabled"];
|
|
56
|
+
const _hoisted_2 = /*#__PURE__*/createElementVNode("div", {
|
|
57
|
+
class: /*#__PURE__*/normalizeClass(['grow'])
|
|
58
|
+
}, null, -1 /* HOISTED */);
|
|
59
|
+
|
|
60
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
61
|
+
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
62
|
+
return openBlock(), createElementBlock("div", {
|
|
63
|
+
ref: "root",
|
|
64
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
65
|
+
selected: _ctx.selected,
|
|
66
|
+
disabled: _ctx.disabled
|
|
67
|
+
}, [renderSlot(_ctx.$slots, "default"), _ctx.closeButton ? (openBlock(), createElementBlock(Fragment, {
|
|
68
|
+
key: 0
|
|
69
|
+
}, [_hoisted_2, createVNode(_component_OrIconButton, {
|
|
70
|
+
icon: 'close',
|
|
71
|
+
disabled: _ctx.disabled,
|
|
72
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.$emit('close'), ["stop"]))
|
|
73
|
+
}, null, 8 /* PROPS */, ["disabled"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 10 /* CLASS, PROPS */, _hoisted_1);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
script.render = render;
|
|
77
|
+
script.__file = "src/components/or-editor-tabs-v3/partials/or-editor-tabs-item/OrEditorTabsItem.vue";
|
|
78
|
+
|
|
79
|
+
export { script as s };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { s as script$2 } from './OrIconButton-f9897ff9.js';
|
|
2
3
|
import { s as script$1 } from './OrIcon-b2e2d0aa.js';
|
|
3
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, normalizeProps, mergeProps, createCommentVNode, createElementVNode, renderSlot } from 'vue';
|
|
4
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, normalizeProps, mergeProps, createCommentVNode, createElementVNode, renderSlot, Fragment, createVNode, withModifiers } from 'vue';
|
|
4
5
|
|
|
5
|
-
const
|
|
6
|
+
const MenuItem = [
|
|
6
7
|
// Layout
|
|
7
8
|
'layout-row',
|
|
8
9
|
// Spacing
|
|
@@ -23,15 +24,19 @@ const MenuItemRoot = [
|
|
|
23
24
|
'active:theme-foreground-default', 'dark:active:theme-foreground-default-dark'];
|
|
24
25
|
|
|
25
26
|
var script = defineComponent({
|
|
26
|
-
name: 'OrMenuItem',
|
|
27
27
|
components: {
|
|
28
|
-
OrIcon: script$1
|
|
28
|
+
OrIcon: script$1,
|
|
29
|
+
OrIconButton: script$2
|
|
29
30
|
},
|
|
30
31
|
props: {
|
|
31
32
|
icon: {
|
|
32
33
|
type: [String, Object],
|
|
33
34
|
default: undefined
|
|
34
35
|
},
|
|
36
|
+
closeButton: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: false
|
|
39
|
+
},
|
|
35
40
|
selected: {
|
|
36
41
|
type: Boolean,
|
|
37
42
|
default: false
|
|
@@ -41,13 +46,13 @@ var script = defineComponent({
|
|
|
41
46
|
default: false
|
|
42
47
|
}
|
|
43
48
|
},
|
|
44
|
-
emits: ['click', 'focus', 'blur'],
|
|
49
|
+
emits: ['click', 'focus', 'blur', 'close'],
|
|
45
50
|
expose: ['root'],
|
|
46
51
|
setup() {
|
|
47
52
|
// Refs
|
|
48
53
|
const root = ref();
|
|
49
54
|
// Styles
|
|
50
|
-
const rootStyles = computed(() => ['or-menu-item-v3', ...
|
|
55
|
+
const rootStyles = computed(() => ['or-menu-item-v3', ...MenuItem]);
|
|
51
56
|
return {
|
|
52
57
|
root,
|
|
53
58
|
rootStyles
|
|
@@ -57,24 +62,35 @@ var script = defineComponent({
|
|
|
57
62
|
|
|
58
63
|
const _hoisted_1 = ["tabindex", "selected", "disabled"];
|
|
59
64
|
const _hoisted_2 = {
|
|
60
|
-
class: /*#__PURE__*/normalizeClass(['truncate'
|
|
65
|
+
class: /*#__PURE__*/normalizeClass(['truncate'])
|
|
61
66
|
};
|
|
67
|
+
const _hoisted_3 = /*#__PURE__*/createElementVNode("div", {
|
|
68
|
+
class: /*#__PURE__*/normalizeClass(['grow'])
|
|
69
|
+
}, null, -1 /* HOISTED */);
|
|
70
|
+
|
|
62
71
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
63
72
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
73
|
+
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
64
74
|
return openBlock(), createElementBlock("div", {
|
|
65
75
|
ref: "root",
|
|
66
76
|
class: normalizeClass(_ctx.rootStyles),
|
|
67
77
|
tabindex: !_ctx.disabled ? 0 : null,
|
|
68
78
|
selected: _ctx.selected,
|
|
69
79
|
disabled: _ctx.disabled,
|
|
70
|
-
onClick: _cache[
|
|
71
|
-
onFocus: _cache[
|
|
72
|
-
onBlur: _cache[
|
|
80
|
+
onClick: _cache[1] || (_cache[1] = $event => _ctx.$emit('click', $event)),
|
|
81
|
+
onFocus: _cache[2] || (_cache[2] = $event => _ctx.$emit('focus', $event)),
|
|
82
|
+
onBlur: _cache[3] || (_cache[3] = $event => _ctx.$emit('blur', $event))
|
|
73
83
|
}, [_ctx.icon ? (openBlock(), createBlock(_component_OrIcon, normalizeProps(mergeProps({
|
|
74
84
|
key: 0
|
|
75
85
|
}, typeof _ctx.icon === 'string' ? {
|
|
76
86
|
icon: _ctx.icon
|
|
77
|
-
} : _ctx.icon)), null, 16 /* FULL_PROPS */)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])
|
|
87
|
+
} : _ctx.icon)), null, 16 /* FULL_PROPS */)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")]), _ctx.closeButton ? (openBlock(), createElementBlock(Fragment, {
|
|
88
|
+
key: 1
|
|
89
|
+
}, [_hoisted_3, createVNode(_component_OrIconButton, {
|
|
90
|
+
icon: 'close',
|
|
91
|
+
disabled: _ctx.disabled,
|
|
92
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.$emit('close'), ["stop"]))
|
|
93
|
+
}, null, 8 /* PROPS */, ["disabled"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1);
|
|
78
94
|
}
|
|
79
95
|
|
|
80
96
|
script.render = render;
|
|
@@ -6,7 +6,7 @@ import { u as useResponsive } from './useResponsive-1baf3485.js';
|
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
7
7
|
import { s as script$1 } from './OrButton-a881b13b.js';
|
|
8
8
|
import { s as script$2 } from './OrIcon-b2e2d0aa.js';
|
|
9
|
-
import { s as script$4 } from './OrMenuItem-
|
|
9
|
+
import { s as script$4 } from './OrMenuItem-1703dc05.js';
|
|
10
10
|
import { s as script$3 } from './OrMenu-192543a9.js';
|
|
11
11
|
import './OrPopover-79d76269.js';
|
|
12
12
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withModifiers, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
@@ -20,7 +20,7 @@ import { s as script$1 } from './OrIconButton-f9897ff9.js';
|
|
|
20
20
|
import { s as script$2 } from './OrLabel-6c83afe4.js';
|
|
21
21
|
import { s as script$4 } from './OrMenu-192543a9.js';
|
|
22
22
|
import { s as script$8 } from './OrPopover-79d76269.js';
|
|
23
|
-
import { s as script$3 } from './OrMenuItem-
|
|
23
|
+
import { s as script$3 } from './OrMenuItem-1703dc05.js';
|
|
24
24
|
import { s as script$5 } from './OrModal-4daecffd.js';
|
|
25
25
|
import { s as script$6 } from './OrInput-4fca1f21.js';
|
|
26
26
|
import { s as script$7 } from './OrButton-a881b13b.js';
|