@onereach/ui-components 8.17.2 → 8.17.3-beta.3894.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 +314 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/OrEditorTabs.vue.d.ts +60 -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 +19 -0
- package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItem.js +28 -8
- package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItem.vue.d.ts +11 -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/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-dfd98c34.js → OrCardCollectionV3-7187c827.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-8456e52e.js → OrDateFormatV3-160b377a.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-a3e534f7.js → OrDatePickerV3-0ceb7d27.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-7f658b13.js → OrDateRangePickerV3-083c55bb.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-3bd73929.js → OrDateTimeFormatV3-57f56dd5.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-3d8a4ecd.js → OrDateTimePickerV3-30fc0d86.js} +1 -1
- package/dist/bundled/v3/components/OrEditorTabsV3/OrEditorTabs.js +1 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/OrEditorTabs.vue.d.ts +41 -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-b73f614e.js +256 -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.js +1 -1
- package/dist/bundled/v3/components/{OrMenuItemV3-7b557536.js → OrMenuItemV3-be4ff817.js} +26 -10
- 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-da46b301.js → OrPaginationV3-4374c1fd.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-6d7b206f.js → OrRichTextEditorV3-589ce2c9.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-e0de09af.js → OrSelectV3-971393cf.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-d3080a33.js → OrSortingV3-7e2cde4b.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-04c6d108.js → OrTabsV3-af87a4aa.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-f52d4059.js → OrTimeFormatV3-ab7e828b.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-57dbf8b6.js → OrTimePickerV3-06778c19.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-0a212be0.js → OrTimeRangePickerV3-827e8f83.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-f2870c25.js → OrCardCollection-81538267.js} +1 -1
- package/dist/esm/v2/{OrDateFormat-1284f1f6.js → OrDateFormat-1fe5231b.js} +2 -2
- package/dist/esm/v2/{OrDatePicker-5f2eb2eb.js → OrDatePicker-d381f01e.js} +2 -2
- package/dist/esm/v2/{OrDateRangePicker-3beda618.js → OrDateRangePicker-9f75b137.js} +2 -2
- package/dist/esm/v2/{OrDateTimeFormat-96459018.js → OrDateTimeFormat-333a7ed4.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-5557a432.js → OrDateTimePicker-36593ddc.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-a96da51a.js → OrDateTimePicker.vue_rollup-plugin-vue_script-7ad0cf94.js} +1 -1
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-f4d34b07.js → OrDateTimePickerTimeSelect-d9bd0717.js} +1 -1
- package/dist/esm/v2/OrEditorTabs-e579f61e.js +231 -0
- package/dist/esm/v2/OrEditorTabsItem-f7e51428.js +108 -0
- package/dist/esm/v2/{OrMenuItem-fbe3e8e4.js → OrMenuItem-1ceac5a3.js} +28 -8
- package/dist/esm/v2/{OrPagination-3d2f0b10.js → OrPagination-b8bfac96.js} +1 -1
- package/dist/esm/v2/{OrRichTextEditor-7466a45d.js → OrRichTextEditor-9276b93e.js} +1 -1
- package/dist/esm/v2/{OrSelect-4768c12b.js → OrSelect-130a20e4.js} +1 -1
- package/dist/esm/v2/{OrSorting-65c84965.js → OrSorting-6e860062.js} +1 -1
- package/dist/esm/v2/{OrTabs-778ce12d.js → OrTabs-3c11de6c.js} +1 -1
- package/dist/esm/v2/{OrTimeFormat-6f604e51.js → OrTimeFormat-5ac01994.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-2c6f375a.js → OrTimePicker-2ce90154.js} +2 -2
- package/dist/esm/v2/{OrTimeRangePicker-d1346202.js → OrTimeRangePicker-b40e304b.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 +60 -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-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-text-v3/OrText.vue.d.ts +2 -2
- 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-fc6fd56c.js → OrCardCollection-0f04c21e.js} +1 -1
- package/dist/esm/v3/{OrDateFormat-6664bd05.js → OrDateFormat-24e2f240.js} +2 -2
- package/dist/esm/v3/{OrDatePicker-03b00df9.js → OrDatePicker-9d87fb5f.js} +2 -2
- package/dist/esm/v3/{OrDateRangePicker-52553adf.js → OrDateRangePicker-8e4baa39.js} +2 -2
- package/dist/esm/v3/{OrDateTimeFormat-137ef652.js → OrDateTimeFormat-66fb27d6.js} +2 -2
- package/dist/esm/v3/{OrDateTimePicker-a5c05ec9.js → OrDateTimePicker-16cd02b7.js} +1 -1
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-09c588d7.js → OrDateTimePickerTimeSelect-d4bc91c7.js} +1 -1
- package/dist/esm/v3/OrEditorTabs-9922bb11.js +182 -0
- package/dist/esm/v3/OrEditorTabsItem-2a87249a.js +83 -0
- package/dist/esm/v3/{OrMenuItem-2928ba60.js → OrMenuItem-1d97b5ef.js} +26 -10
- package/dist/esm/v3/{OrPagination-3d6365cc.js → OrPagination-5f8bf9f2.js} +1 -1
- package/dist/esm/v3/{OrRichTextEditor-d9182fa2.js → OrRichTextEditor-05029649.js} +1 -1
- package/dist/esm/v3/{OrSelect-5a22c1da.js → OrSelect-9ee2a6bf.js} +1 -1
- package/dist/esm/v3/{OrSorting-15a719a1.js → OrSorting-4802d04f.js} +1 -1
- package/dist/esm/v3/{OrTabs-e53980aa.js → OrTabs-9827227c.js} +1 -1
- package/dist/esm/v3/{OrTimeFormat-06b03a06.js → OrTimeFormat-e7e2e39e.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-626fe94b.js → OrTimePicker-a73c2930.js} +2 -2
- package/dist/esm/v3/{OrTimeRangePicker-b626de5c.js → OrTimeRangePicker-4e0b1c78.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 +41 -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-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 +2 -3
- package/src/components/index.ts +1 -0
- package/src/components/or-editor-tabs-v3/OrEditorTabs.vue +192 -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 +81 -0
- package/src/components/or-editor-tabs-v3/partials/or-editor-tabs-item/styles.ts +34 -0
- package/src/components/or-editor-tabs-v3/styles.ts +33 -0
- package/src/components/or-menu-item-v3/OrMenuItem.vue +27 -6
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-83200427.js → OrDateTimePickerMonthSelect-777aad1b.js} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Ellipsis can be placed in the end or in the middle of the text. Convenient for displaying long labels,
|
|
4
4
|
* that have same beginning and differ in the ending part.
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: import("
|
|
6
|
+
declare const _default: import("vue2").ComponentOptions<import("vue2").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
7
7
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
8
8
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
9
9
|
mainTextStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
48
48
|
type: NumberConstructor;
|
|
49
49
|
default: number;
|
|
50
50
|
};
|
|
51
|
-
}>> & Omit<import("
|
|
51
|
+
}>> & Omit<import("vue2").VueConstructor<import("vue2").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
52
52
|
text: string;
|
|
53
53
|
sliceIndex: number;
|
|
54
54
|
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { _ as OrTimeFormatV3 } from '../../OrTimeFormat-
|
|
1
|
+
export { _ as OrTimeFormatV3 } from '../../OrTimeFormat-5ac01994.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
3
|
+
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-7ad0cf94.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-caf02dc4.js';
|
|
31
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
31
|
+
import '../../OrDateTimePickerTimeSelect-d9bd0717.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-1ceac5a3.js';
|
|
37
37
|
import '../../OrMenu-6fa468e0.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-2ce90154.js';
|
|
2
|
+
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-7ad0cf94.js';
|
|
3
|
+
import '../../OrDateTimePickerTimeSelect-d9bd0717.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-caf02dc4.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-1ceac5a3.js';
|
|
38
38
|
import '../../OrMenu-6fa468e0.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-b40e304b.js';
|
|
2
|
+
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-7ad0cf94.js';
|
|
3
|
+
import '../../OrDateTimePickerTimeSelect-d9bd0717.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-caf02dc4.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-1ceac5a3.js';
|
|
38
38
|
import '../../OrMenu-6fa468e0.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-81538267.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-f8781127.js';
|
|
@@ -37,16 +37,17 @@ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-0fc11f25.js';
|
|
|
37
37
|
export { _ as OrContextMenuV3 } from './OrContextMenu-7292aca0.js';
|
|
38
38
|
export { _ as OrMenuV3 } from './OrMenu-6fa468e0.js';
|
|
39
39
|
export { P as ContextMenuPlacement, P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-07b82c80.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-1fe5231b.js';
|
|
41
|
+
export { _ as OrDatePickerV3 } from './OrDatePicker-d381f01e.js';
|
|
42
|
+
export { _ as OrDateRangePickerV3 } from './OrDateRangePicker-9f75b137.js';
|
|
43
|
+
export { _ as OrDateTimeFormatV3 } from './OrDateTimeFormat-333a7ed4.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-36593ddc.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-d9bd0717.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-e579f61e.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-e3af3bb7.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-1ceac5a3.js';
|
|
79
80
|
export { _ as OrModal, O as OrModalSizes } from './OrModal-2a962f80.js';
|
|
80
81
|
export { M as ModalSize, _ as OrModalV3 } from './OrModal-b191f8c8.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-b8bfac96.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-a474445c.js';
|
|
|
97
98
|
export { S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSlider.vue_rollup-plugin-vue_script-09b4700b.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-757f7dc1.js';
|
|
100
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-
|
|
101
|
+
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-9276b93e.js';
|
|
101
102
|
export { _ as OrSearch } from './OrSearch-ddf244e6.js';
|
|
102
103
|
export { _ as OrSearchV3 } from './OrSearch-2910207c.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-130a20e4.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-e07d338e.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-6e860062.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-3c11de6c.js';
|
|
126
127
|
export { _ as OrTag } from './OrTag-ce728fad.js';
|
|
127
128
|
export { _ as OrTagInputV3 } from './OrTagInput-c4110c0b.js';
|
|
128
129
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-bf15f5ad.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-9cdf0f6c.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-5ac01994.js';
|
|
138
|
+
export { _ as OrTimePickerV3 } from './OrTimePicker-2ce90154.js';
|
|
139
|
+
export { _ as OrTimeRangePickerV3 } from './OrTimeRangePicker-b40e304b.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-327e1a16.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-7ad0cf94.js';
|
|
180
181
|
import 'lodash/padStart';
|
|
182
|
+
import './OrEditorTabsItem-f7e51428.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-13fd3f96.js';
|
|
|
3
3
|
import { s as script$4 } from './OrSearch-fccacdba.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-4802d04f.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-16cd02b7.js';
|
|
3
|
+
import './OrDateTimePickerTimeSelect-d4bc91c7.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-16cd02b7.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-d4bc91c7.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-16cd02b7.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-d4bc91c7.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-16cd02b7.js';
|
|
3
|
+
import './OrDateTimePickerTimeSelect-d4bc91c7.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-40af976e.js';
|
|
14
14
|
import { s as script$f } from './OrPopover-88b8aa2a.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-d4bc91c7.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-40af976e.js';
|
|
11
11
|
import { s as script$b } from './OrIconButton-13fd3f96.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-1d97b5ef.js';
|
|
14
14
|
import { s as script$c } from './OrMenu-690d1376.js';
|
|
15
15
|
import './OrPopover-88b8aa2a.js';
|
|
16
16
|
|
|
@@ -0,0 +1,182 @@
|
|
|
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-1d97b5ef.js';
|
|
9
|
+
import { s as script$3 } from './OrMenu-690d1376.js';
|
|
10
|
+
import './OrPopover-88b8aa2a.js';
|
|
11
|
+
import { s as script$1 } from './OrEditorTabsItem-2a87249a.js';
|
|
12
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderSlot } 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
|
+
// Theme
|
|
24
|
+
'theme-divider-outline-variant', 'dark:theme-divider-outline-variant-dark'];
|
|
25
|
+
const EditorTabsHeaderMenu = [];
|
|
26
|
+
const EditorTabsContent = [
|
|
27
|
+
// Spacing
|
|
28
|
+
'px-md', 'py-md',
|
|
29
|
+
// Theme
|
|
30
|
+
'theme-background-surface-1', 'dark:theme-background-surface-1-dark'];
|
|
31
|
+
|
|
32
|
+
var script = defineComponent({
|
|
33
|
+
components: {
|
|
34
|
+
OrEditorTabsItem: script$1,
|
|
35
|
+
OrIcon: script$2,
|
|
36
|
+
OrMenu: script$3,
|
|
37
|
+
OrMenuItem: script$4
|
|
38
|
+
},
|
|
39
|
+
model: {
|
|
40
|
+
prop: 'modelValue',
|
|
41
|
+
event: 'update:modelValue'
|
|
42
|
+
},
|
|
43
|
+
props: {
|
|
44
|
+
modelValue: {
|
|
45
|
+
type: [String, Number],
|
|
46
|
+
default: undefined
|
|
47
|
+
},
|
|
48
|
+
items: {
|
|
49
|
+
type: Array,
|
|
50
|
+
required: true
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
emits: ['update:modelValue', 'open', 'close'],
|
|
54
|
+
expose: ['root'],
|
|
55
|
+
setup(props, context) {
|
|
56
|
+
// Refs
|
|
57
|
+
const root = ref();
|
|
58
|
+
// Styles
|
|
59
|
+
const rootStyles = computed(() => ['or-editor-tabs-v3', ...EditorTabs]);
|
|
60
|
+
const headerStyles = computed(() => [...EditorTabsHeader]);
|
|
61
|
+
const headerTabsStyles = computed(() => [...EditorTabsHeaderTabs]);
|
|
62
|
+
const headerMenuStyles = computed(() => [...EditorTabsHeaderMenu]);
|
|
63
|
+
const contentStyles = computed(() => [...EditorTabsContent]);
|
|
64
|
+
// State
|
|
65
|
+
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
66
|
+
const selectedItem = computed(() => {
|
|
67
|
+
return props.items.find(item => item.value === proxyModelValue.value);
|
|
68
|
+
});
|
|
69
|
+
const overflowItems = computed(() => {
|
|
70
|
+
return props.items.filter(item => item.value !== proxyModelValue.value);
|
|
71
|
+
});
|
|
72
|
+
const displayAll = ref(false);
|
|
73
|
+
// Helpers
|
|
74
|
+
const {
|
|
75
|
+
isDesktop,
|
|
76
|
+
isMobile
|
|
77
|
+
} = useResponsive();
|
|
78
|
+
return {
|
|
79
|
+
root,
|
|
80
|
+
rootStyles,
|
|
81
|
+
headerStyles,
|
|
82
|
+
headerTabsStyles,
|
|
83
|
+
headerMenuStyles,
|
|
84
|
+
contentStyles,
|
|
85
|
+
proxyModelValue,
|
|
86
|
+
selectedItem,
|
|
87
|
+
overflowItems,
|
|
88
|
+
displayAll,
|
|
89
|
+
isDesktop,
|
|
90
|
+
isMobile
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
96
|
+
const _component_OrEditorTabsItem = resolveComponent("OrEditorTabsItem");
|
|
97
|
+
const _component_OrIcon = resolveComponent("OrIcon");
|
|
98
|
+
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
99
|
+
const _component_OrMenu = resolveComponent("OrMenu");
|
|
100
|
+
return openBlock(), createElementBlock("div", {
|
|
101
|
+
ref: "root",
|
|
102
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
103
|
+
}, [createElementVNode("div", {
|
|
104
|
+
class: normalizeClass(_ctx.headerStyles)
|
|
105
|
+
}, [createElementVNode("div", {
|
|
106
|
+
class: normalizeClass(['grow', ..._ctx.headerTabsStyles])
|
|
107
|
+
}, [_ctx.isDesktop ? (openBlock(true), createElementBlock(Fragment, {
|
|
108
|
+
key: 0
|
|
109
|
+
}, renderList(_ctx.items, item => {
|
|
110
|
+
return openBlock(), createBlock(_component_OrEditorTabsItem, {
|
|
111
|
+
key: item.value,
|
|
112
|
+
selected: item.value === _ctx.proxyModelValue,
|
|
113
|
+
disabled: item.disabled,
|
|
114
|
+
onClick: $event => _ctx.proxyModelValue = item.value,
|
|
115
|
+
onClose: $event => _ctx.$emit('close', item)
|
|
116
|
+
}, {
|
|
117
|
+
default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1 /* TEXT */)]),
|
|
118
|
+
|
|
119
|
+
_: 2 /* DYNAMIC */
|
|
120
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected", "disabled", "onClick", "onClose"]);
|
|
121
|
+
}), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true), _ctx.isMobile && _ctx.selectedItem ? (openBlock(), createBlock(_component_OrEditorTabsItem, {
|
|
122
|
+
key: 1,
|
|
123
|
+
class: normalizeClass(['grow']),
|
|
124
|
+
selected: true,
|
|
125
|
+
disabled: _ctx.selectedItem.disabled,
|
|
126
|
+
onClose: _cache[0] || (_cache[0] = $event => _ctx.$emit('close', _ctx.selectedItem))
|
|
127
|
+
}, {
|
|
128
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.selectedItem.label), 1 /* TEXT */)]),
|
|
129
|
+
|
|
130
|
+
_: 1 /* STABLE */
|
|
131
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrEditorTabsItem, {
|
|
132
|
+
"close-button": false,
|
|
133
|
+
onClick: _cache[1] || (_cache[1] = $event => _ctx.$emit('open'))
|
|
134
|
+
}, {
|
|
135
|
+
endIcon: withCtx(() => [createVNode(_component_OrIcon, {
|
|
136
|
+
icon: 'add',
|
|
137
|
+
size: 'm'
|
|
138
|
+
})]),
|
|
139
|
+
_: 1 /* STABLE */
|
|
140
|
+
}), _ctx.isMobile && _ctx.items.length > 1 ? (openBlock(), createElementBlock(Fragment, {
|
|
141
|
+
key: 2
|
|
142
|
+
}, [createVNode(_component_OrEditorTabsItem, {
|
|
143
|
+
"close-button": false,
|
|
144
|
+
onClick: _cache[2] || (_cache[2] = $event => _ctx.displayAll = true)
|
|
145
|
+
}, {
|
|
146
|
+
endIcon: withCtx(() => [createVNode(_component_OrIcon, {
|
|
147
|
+
icon: 'more_vert',
|
|
148
|
+
size: 'm'
|
|
149
|
+
})]),
|
|
150
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.overflowItems.length) + " ", 1 /* TEXT */)]),
|
|
151
|
+
|
|
152
|
+
_: 1 /* STABLE */
|
|
153
|
+
}), createVNode(_component_OrMenu, {
|
|
154
|
+
"is-open": _ctx.displayAll,
|
|
155
|
+
onClose: _cache[3] || (_cache[3] = $event => _ctx.displayAll = false)
|
|
156
|
+
}, {
|
|
157
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.overflowItems, item => {
|
|
158
|
+
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
159
|
+
key: item.value,
|
|
160
|
+
"close-button": true,
|
|
161
|
+
disabled: item.disabled,
|
|
162
|
+
onClick: $event => _ctx.proxyModelValue = item.value,
|
|
163
|
+
onClose: $event => _ctx.$emit('close', item)
|
|
164
|
+
}, {
|
|
165
|
+
default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1 /* TEXT */)]),
|
|
166
|
+
|
|
167
|
+
_: 2 /* DYNAMIC */
|
|
168
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled", "onClick", "onClose"]);
|
|
169
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
170
|
+
|
|
171
|
+
_: 1 /* STABLE */
|
|
172
|
+
}, 8 /* PROPS */, ["is-open"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
173
|
+
class: normalizeClass(_ctx.headerMenuStyles)
|
|
174
|
+
}, null, 2 /* CLASS */)], 2 /* CLASS */), createElementVNode("div", {
|
|
175
|
+
class: normalizeClass(_ctx.contentStyles)
|
|
176
|
+
}, [renderSlot(_ctx.$slots, _ctx.proxyModelValue)], 2 /* CLASS */)], 2 /* CLASS */);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
script.render = render;
|
|
180
|
+
script.__file = "src/components/or-editor-tabs-v3/OrEditorTabs.vue";
|
|
181
|
+
|
|
182
|
+
export { script as s };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { s as script$1 } from './OrIconButton-13fd3f96.js';
|
|
3
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, Fragment, createVNode, withModifiers, createElementVNode } from 'vue';
|
|
4
|
+
|
|
5
|
+
const EditorTabsItem = [
|
|
6
|
+
// Layout
|
|
7
|
+
'layout-row',
|
|
8
|
+
// Interactivity
|
|
9
|
+
'interactivity-click',
|
|
10
|
+
// Box
|
|
11
|
+
'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 = {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: /*#__PURE__*/normalizeClass(['truncate'])
|
|
59
|
+
};
|
|
60
|
+
const _hoisted_3 = /*#__PURE__*/createElementVNode("div", {
|
|
61
|
+
class: /*#__PURE__*/normalizeClass(['grow'])
|
|
62
|
+
}, null, -1 /* HOISTED */);
|
|
63
|
+
|
|
64
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
|
+
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
66
|
+
return openBlock(), createElementBlock("div", {
|
|
67
|
+
ref: "root",
|
|
68
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
69
|
+
selected: _ctx.selected,
|
|
70
|
+
disabled: _ctx.disabled
|
|
71
|
+
}, [renderSlot(_ctx.$slots, "startIcon"), _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "endIcon"), _ctx.closeButton ? (openBlock(), createElementBlock(Fragment, {
|
|
72
|
+
key: 1
|
|
73
|
+
}, [_hoisted_3, createVNode(_component_OrIconButton, {
|
|
74
|
+
icon: 'close',
|
|
75
|
+
disabled: _ctx.disabled,
|
|
76
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.$emit('close'), ["stop"]))
|
|
77
|
+
}, null, 8 /* PROPS */, ["disabled"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 10 /* CLASS, PROPS */, _hoisted_1);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
script.render = render;
|
|
81
|
+
script.__file = "src/components/or-editor-tabs-v3/partials/or-editor-tabs-item/OrEditorTabsItem.vue";
|
|
82
|
+
|
|
83
|
+
export { script as s };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { s as script$2 } from './OrIconButton-13fd3f96.js';
|
|
2
3
|
import { s as script$1 } from './OrIcon-b2e2d0aa.js';
|
|
3
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, normalizeProps, mergeProps, createCommentVNode, createElementVNode,
|
|
4
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, normalizeProps, mergeProps, createCommentVNode, createElementVNode, Fragment, createVNode, withModifiers } from 'vue';
|
|
4
5
|
|
|
5
6
|
const MenuItemRoot = [
|
|
6
7
|
// Layout
|
|
@@ -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,7 +46,7 @@ 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
|
|
@@ -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[
|
|
73
|
-
}, [_ctx.icon ? (openBlock(), createBlock(_component_OrIcon, normalizeProps(mergeProps({
|
|
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))
|
|
83
|
+
}, [renderSlot(_ctx.$slots, "startIcon", {}, () => [_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")]), renderSlot(_ctx.$slots, "endIcon"), _ctx.closeButton ? (openBlock(), createElementBlock(Fragment, {
|
|
88
|
+
key: 0
|
|
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-1d97b5ef.js';
|
|
10
10
|
import { s as script$3 } from './OrMenu-690d1376.js';
|
|
11
11
|
import './OrPopover-88b8aa2a.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-13fd3f96.js';
|
|
|
20
20
|
import { s as script$2 } from './OrLabel-40af976e.js';
|
|
21
21
|
import { s as script$4 } from './OrMenu-690d1376.js';
|
|
22
22
|
import { s as script$8 } from './OrPopover-88b8aa2a.js';
|
|
23
|
-
import { s as script$3 } from './OrMenuItem-
|
|
23
|
+
import { s as script$3 } from './OrMenuItem-1d97b5ef.js';
|
|
24
24
|
import { s as script$5 } from './OrModal-33100f1a.js';
|
|
25
25
|
import { s as script$6 } from './OrInput-2810a760.js';
|
|
26
26
|
import { s as script$7 } from './OrButton-a881b13b.js';
|
|
@@ -15,7 +15,7 @@ import { s as script$7 } from './OrIcon-b2e2d0aa.js';
|
|
|
15
15
|
import { s as script$a, I as InputBoxSize } from './OrInputBox-8c1a29dd.js';
|
|
16
16
|
import { s as script$9 } from './OrInput-2810a760.js';
|
|
17
17
|
import { s as script$b } from './OrLabel-40af976e.js';
|
|
18
|
-
import { s as script$c } from './OrMenuItem-
|
|
18
|
+
import { s as script$c } from './OrMenuItem-1d97b5ef.js';
|
|
19
19
|
import { s as script$d } from './OrPopover-88b8aa2a.js';
|
|
20
20
|
import { T as TagsOverflow } from './OrTags-801c20ad.js';
|
|
21
21
|
import { s as script$1 } from './OrSelectMultipleControl-6b5a831d.js';
|