@onereach/ui-components 20.2.0-beta.5208.0 → 20.2.0-beta.5212.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/esm/components/{OrAutocompleteV3-508d99c0.js → OrAutocompleteV3-fd7065f1.js} +29 -29
- package/dist/esm/components/OrDateTimePickerV3-3c2fd488.js +1506 -0
- package/dist/esm/components/{OrEditorTabsV3-4047a163.js → OrEditorTabsV3-152c10c5.js} +1 -1
- package/dist/esm/components/{OrInlineInputV3-46210775.js → OrInlineInputV3-34103682.js} +1 -1
- package/dist/esm/components/index.js +5 -5
- package/dist/esm/components/or-autocomplete-v3/index.js +2 -2
- package/dist/esm/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/components/or-button-group-v3/index.js +2 -2
- package/dist/esm/components/or-button-v3/index.js +2 -2
- package/dist/esm/components/or-card-collection-v3/index.js +2 -2
- package/dist/esm/components/or-checkbox-group-v3/index.js +2 -2
- package/dist/esm/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/components/or-code-v3/index.js +2 -2
- package/dist/esm/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/components/or-context-menu-v3/index.js +2 -2
- package/dist/esm/components/or-data-grid-v3/index.js +4 -4
- package/dist/esm/components/or-date-format-v3/index.js +3 -3
- package/dist/esm/components/or-date-picker-v3/index.js +3 -3
- package/dist/esm/components/or-date-range-picker-v3/index.js +3 -3
- package/dist/esm/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/components/or-date-time-picker-v3/index.js +19 -1510
- package/dist/esm/components/or-drawer-v3/index.js +2 -2
- package/dist/esm/components/or-drop-area-v3/index.js +2 -2
- package/dist/esm/components/or-editor-tabs-v3/index.js +3 -3
- package/dist/esm/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/components/or-fab-v3/index.js +2 -2
- package/dist/esm/components/or-filter-popover-v3/index.js +2 -2
- package/dist/esm/components/or-filter-trigger-v3/index.js +2 -2
- package/dist/esm/components/or-filter-v3/index.js +2 -2
- package/dist/esm/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/components/or-input-v3/index.js +2 -2
- package/dist/esm/components/or-list-v3/index.js +2 -2
- package/dist/esm/components/or-menu-item-v3/index.js +2 -2
- package/dist/esm/components/or-menu-v3/index.js +2 -2
- package/dist/esm/components/or-modal-v3/index.js +2 -2
- package/dist/esm/components/or-notification-v3/index.js +2 -2
- package/dist/esm/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/components/or-popover-v3/index.js +2 -2
- package/dist/esm/components/or-progress-v3/index.js +2 -2
- package/dist/esm/components/or-radio-group-v3/index.js +2 -2
- package/dist/esm/components/or-radio-v3/index.js +2 -2
- package/dist/esm/components/or-range-slider-v3/index.js +2 -2
- package/dist/esm/components/or-rating-v3/index.js +2 -2
- package/dist/esm/components/or-resizeable-panel-v3/index.js +2 -2
- package/dist/esm/components/or-rich-text-editor-v3/index.js +2 -2
- package/dist/esm/components/or-rich-tooltip-v3/index.js +2 -2
- package/dist/esm/components/or-search-v3/index.js +2 -2
- package/dist/esm/components/or-segmented-control-v3/index.js +2 -2
- package/dist/esm/components/or-select-v3/index.js +3 -3
- package/dist/esm/components/or-sidebar-v3/index.js +2 -2
- package/dist/esm/components/or-skeleton-v3/index.js +2 -2
- package/dist/esm/components/or-slider-v3/index.js +2 -2
- package/dist/esm/components/or-sorting-v3/index.js +2 -2
- package/dist/esm/components/or-switch-v3/index.js +2 -2
- package/dist/esm/components/or-tabs-v3/OrTabs.vue.d.ts +10 -1
- package/dist/esm/components/or-tabs-v3/index.js +26 -7
- package/dist/esm/components/or-tabs-v3/props.d.ts +5 -0
- package/dist/esm/components/or-tabs-v3/styles.d.ts +2 -1
- package/dist/esm/components/or-tag-input-v3/index.js +2 -2
- package/dist/esm/components/or-tag-v3/index.js +2 -2
- package/dist/esm/components/or-tags-v3/index.js +2 -2
- package/dist/esm/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/components/or-time-format-v3/index.js +4 -4
- package/dist/esm/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/components/or-time-range-picker-v3/index.js +4 -4
- package/dist/esm/components/or-toast-v3/index.js +2 -2
- package/dist/esm/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/components/or-tree-v3/index.js +2 -2
- package/dist/esm/index.js +5 -5
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { TabsVariant } from './props';
|
|
2
|
+
import { TabsVariant, TabsSpacing } from './props';
|
|
3
3
|
import { EditorTabsItem } from './types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
modelValue: {
|
|
@@ -10,6 +10,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
type: PropType<EditorTabsItem[]>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
|
+
spacing: {
|
|
14
|
+
type: PropType<"md" | "lg" | "xl">;
|
|
15
|
+
default: TabsSpacing;
|
|
16
|
+
};
|
|
13
17
|
variant: {
|
|
14
18
|
type: PropType<"default" | "fitted">;
|
|
15
19
|
default: () => TabsVariant;
|
|
@@ -56,6 +60,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
60
|
type: PropType<EditorTabsItem[]>;
|
|
57
61
|
required: true;
|
|
58
62
|
};
|
|
63
|
+
spacing: {
|
|
64
|
+
type: PropType<"md" | "lg" | "xl">;
|
|
65
|
+
default: TabsSpacing;
|
|
66
|
+
};
|
|
59
67
|
variant: {
|
|
60
68
|
type: PropType<"default" | "fitted">;
|
|
61
69
|
default: () => TabsVariant;
|
|
@@ -68,6 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
76
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
69
77
|
}, {
|
|
70
78
|
modelValue: string | number;
|
|
79
|
+
spacing: "md" | "lg" | "xl";
|
|
71
80
|
variant: "default" | "fitted";
|
|
72
81
|
keepAlive: boolean;
|
|
73
82
|
}, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive, toRef, watch, nextTick, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, createBlock, withModifiers, withCtx, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode, withDirectives, vShow } from 'vue';
|
|
2
2
|
import { useResizeObserver } from '@vueuse/core';
|
|
3
|
-
import { r as re } from '../OrAutocompleteV3-
|
|
3
|
+
import { r as re } from '../OrAutocompleteV3-fd7065f1.js';
|
|
4
4
|
import { OrIconV3 as script$1 } from '../or-icon-v3/index.js';
|
|
5
5
|
import { OrMenuV3 as script$2 } from '../or-menu-v3/index.js';
|
|
6
6
|
import { OrMenuItemV3 as script$3 } from '../or-menu-item-v3/index.js';
|
|
@@ -20,7 +20,7 @@ import '../or-overlay-v3/index.js';
|
|
|
20
20
|
import '../or-teleport-v3/index.js';
|
|
21
21
|
import '../or-input-box-v3/index.js';
|
|
22
22
|
import '../or-input-v3/index.js';
|
|
23
|
-
import '../OrInlineInputV3-
|
|
23
|
+
import '../OrInlineInputV3-34103682.js';
|
|
24
24
|
import '../or-inline-input-box-v3/index.js';
|
|
25
25
|
import '../or-text-v3/index.js';
|
|
26
26
|
import '../or-label-v3/index.js';
|
|
@@ -35,14 +35,29 @@ var TabsVariant;
|
|
|
35
35
|
TabsVariant["Default"] = "default";
|
|
36
36
|
TabsVariant["Fitted"] = "fitted";
|
|
37
37
|
})(TabsVariant || (TabsVariant = {}));
|
|
38
|
+
var TabsSpacing;
|
|
39
|
+
(function (TabsSpacing) {
|
|
40
|
+
TabsSpacing["MD"] = "md";
|
|
41
|
+
TabsSpacing["LG"] = "lg";
|
|
42
|
+
TabsSpacing["XL"] = "xl";
|
|
43
|
+
})(TabsSpacing || (TabsSpacing = {}));
|
|
38
44
|
|
|
39
45
|
const TabsContainer = [
|
|
40
46
|
// Layout
|
|
41
47
|
'layout-column', 'grow',
|
|
42
48
|
// Box
|
|
43
|
-
'h-full'
|
|
44
|
-
|
|
45
|
-
|
|
49
|
+
'h-full'];
|
|
50
|
+
const TabsContainerSpacings = {
|
|
51
|
+
[TabsSpacing.MD]: [
|
|
52
|
+
// Spacing
|
|
53
|
+
'gap-md'],
|
|
54
|
+
[TabsSpacing.LG]: [
|
|
55
|
+
// Spacing
|
|
56
|
+
'gap-lg'],
|
|
57
|
+
[TabsSpacing.XL]: [
|
|
58
|
+
// Spacing
|
|
59
|
+
'gap-xl']
|
|
60
|
+
};
|
|
46
61
|
const Tabs = [
|
|
47
62
|
// Layout
|
|
48
63
|
'grid grid-flow-col items-center shrink-0',
|
|
@@ -89,6 +104,10 @@ var script = defineComponent({
|
|
|
89
104
|
type: Array,
|
|
90
105
|
required: true
|
|
91
106
|
},
|
|
107
|
+
spacing: {
|
|
108
|
+
type: String,
|
|
109
|
+
default: TabsSpacing.LG
|
|
110
|
+
},
|
|
92
111
|
variant: {
|
|
93
112
|
type: String,
|
|
94
113
|
default: () => TabsVariant.Default
|
|
@@ -114,7 +133,7 @@ var script = defineComponent({
|
|
|
114
133
|
return (_a = overflowMenu.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
115
134
|
});
|
|
116
135
|
// Styles
|
|
117
|
-
const containerStyles = computed(() => [...TabsContainer]);
|
|
136
|
+
const containerStyles = computed(() => [...TabsContainer, ...TabsContainerSpacings[props.spacing]]);
|
|
118
137
|
const rootStyles = computed(() => ['or-tabs-v3', ...Tabs, ...TabsVariants[props.variant]]);
|
|
119
138
|
const contentStyles = computed(() => [...TabsContent]);
|
|
120
139
|
// State
|
|
@@ -262,4 +281,4 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
262
281
|
script.render = render;
|
|
263
282
|
script.__file = "src/components/or-tabs-v3/OrTabs.vue";
|
|
264
283
|
|
|
265
|
-
export { script as OrTabsV3, TabsVariant };
|
|
284
|
+
export { script as OrTabsV3, TabsSpacing, TabsVariant };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { TabsVariant } from './props';
|
|
1
|
+
import { TabsVariant, TabsSpacing } from './props';
|
|
2
2
|
export declare const TabsContainer: string[];
|
|
3
|
+
export declare const TabsContainerSpacings: Record<TabsSpacing, string[]>;
|
|
3
4
|
export declare const Tabs: string[];
|
|
4
5
|
export declare const TabsVariants: Record<TabsVariant, string[]>;
|
|
5
6
|
export declare const TabsContent: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, toRefs, computed, reactive, watch, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots, createElementVNode, withDirectives, mergeProps, withKeys, vModelDynamic, vShow } from 'vue';
|
|
2
|
-
import { s as styleInject } from '../OrInlineInputV3-
|
|
2
|
+
import { s as styleInject } from '../OrInlineInputV3-34103682.js';
|
|
3
3
|
import { onClickOutside } from '@vueuse/core';
|
|
4
|
-
import { n as ne, N, k, c as ie, r as re, F as Fs, $ as $s, d as ds } from '../OrAutocompleteV3-
|
|
4
|
+
import { n as ne, N, k, c as ie, r as re, F as Fs, $ as $s, d as ds } from '../OrAutocompleteV3-fd7065f1.js';
|
|
5
5
|
import { OrErrorV3 as script$1 } from '../or-error-v3/index.js';
|
|
6
6
|
import { OrHintV3 as script$2 } from '../or-hint-v3/index.js';
|
|
7
7
|
import { OrIconButtonV3 as script$3 } from '../or-icon-button-v3/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createVNode, withModifiers, createCommentVNode } from 'vue';
|
|
2
2
|
import { OrIconButtonV3 as script$1 } from '../or-icon-button-v3/index.js';
|
|
3
|
-
import '../OrAutocompleteV3-
|
|
3
|
+
import '../OrAutocompleteV3-fd7065f1.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -10,7 +10,7 @@ import '../or-error-v3/index.js';
|
|
|
10
10
|
import '../or-hint-v3/index.js';
|
|
11
11
|
import '../or-input-box-v3/index.js';
|
|
12
12
|
import '../or-input-v3/index.js';
|
|
13
|
-
import '../OrInlineInputV3-
|
|
13
|
+
import '../OrInlineInputV3-34103682.js';
|
|
14
14
|
import '../or-inline-input-box-v3/index.js';
|
|
15
15
|
import '../or-text-v3/index.js';
|
|
16
16
|
import '../or-icon-v3/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withModifiers, createElementVNode } from 'vue';
|
|
2
|
-
import { v as ee } from '../OrAutocompleteV3-
|
|
2
|
+
import { v as ee } from '../OrAutocompleteV3-fd7065f1.js';
|
|
3
3
|
import { OrButtonV3 as script$1 } from '../or-button-v3/index.js';
|
|
4
4
|
import { OrPopoverV3 as script$2 } from '../or-popover-v3/index.js';
|
|
5
5
|
import { OrTagV3 as script$3 } from '../or-tag-v3/index.js';
|
|
@@ -15,7 +15,7 @@ import '../or-icon-v3/index.js';
|
|
|
15
15
|
import '../or-tooltip-v3/index.js';
|
|
16
16
|
import '../or-input-box-v3/index.js';
|
|
17
17
|
import '../or-input-v3/index.js';
|
|
18
|
-
import '../OrInlineInputV3-
|
|
18
|
+
import '../OrInlineInputV3-34103682.js';
|
|
19
19
|
import '../or-inline-input-box-v3/index.js';
|
|
20
20
|
import '../or-text-v3/index.js';
|
|
21
21
|
import '../or-label-v3/index.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, toRef, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, createSlots, vShow } from 'vue';
|
|
2
|
-
import { s as styleInject } from '../OrInlineInputV3-
|
|
2
|
+
import { s as styleInject } from '../OrInlineInputV3-34103682.js';
|
|
3
3
|
import { useTextareaAutosize } from '@vueuse/core';
|
|
4
|
-
import { N, k, c as ie, _, r as re } from '../OrAutocompleteV3-
|
|
4
|
+
import { N, k, c as ie, _, r as re } from '../OrAutocompleteV3-fd7065f1.js';
|
|
5
5
|
import { InputBoxSize, OrInputBoxV3 as script$3, InputBoxVariant } from '../or-input-box-v3/index.js';
|
|
6
6
|
import { OrErrorV3 as script$1 } from '../or-error-v3/index.js';
|
|
7
7
|
import { OrHintV3 as script$2 } from '../or-hint-v3/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { formatTime } from '../
|
|
2
|
+
import { h as se, f as X } from '../OrAutocompleteV3-fd7065f1.js';
|
|
3
|
+
import { k as formatTime } from '../OrDateTimePickerV3-3c2fd488.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
6
6
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -18,7 +18,7 @@ import '../or-overlay-v3/index.js';
|
|
|
18
18
|
import '../or-teleport-v3/index.js';
|
|
19
19
|
import '../or-input-box-v3/index.js';
|
|
20
20
|
import '../or-input-v3/index.js';
|
|
21
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-34103682.js';
|
|
22
22
|
import '../or-inline-input-box-v3/index.js';
|
|
23
23
|
import '../or-text-v3/index.js';
|
|
24
24
|
import '../or-label-v3/index.js';
|
|
@@ -64,7 +64,7 @@ var script = defineComponent({
|
|
|
64
64
|
const root = ref();
|
|
65
65
|
const rootStyles = computed(() => ['or-time-format-v3', ...TimeFormat]);
|
|
66
66
|
// Options
|
|
67
|
-
const resolvedFormat =
|
|
67
|
+
const resolvedFormat = se(toRef(props, 'format'));
|
|
68
68
|
const resolvedLocale = X(toRef(props, 'locale'));
|
|
69
69
|
return {
|
|
70
70
|
root,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch, resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, vShow, createElementVNode } from 'vue';
|
|
2
|
-
import { s, g as c,
|
|
3
|
-
import {
|
|
2
|
+
import { s, g as c, h as se, f as X, r as re } from '../OrAutocompleteV3-fd7065f1.js';
|
|
3
|
+
import { c as script$1, e as script$2, g as script$3, l as script$4, m as script$5, h as getCurrentDate, n as formatMobileTime } from '../OrDateTimePickerV3-3c2fd488.js';
|
|
4
4
|
import { OrErrorV3 as script$6 } from '../or-error-v3/index.js';
|
|
5
5
|
import { OrHintV3 as script$7 } from '../or-hint-v3/index.js';
|
|
6
6
|
import { OrIconV3 as script$8 } from '../or-icon-v3/index.js';
|
|
@@ -14,7 +14,7 @@ import '@onereach/styles/tailwind.config.json';
|
|
|
14
14
|
import 'lodash/get';
|
|
15
15
|
import 'lodash/isElement';
|
|
16
16
|
import '../or-input-v3/index.js';
|
|
17
|
-
import '../OrInlineInputV3-
|
|
17
|
+
import '../OrInlineInputV3-34103682.js';
|
|
18
18
|
import '../or-inline-input-box-v3/index.js';
|
|
19
19
|
import '../or-text-v3/index.js';
|
|
20
20
|
import '../or-loader-v3/index.js';
|
|
@@ -146,7 +146,7 @@ var script = defineComponent({
|
|
|
146
146
|
});
|
|
147
147
|
const popoverStyles = computed(() => ['or-time-picker-popover-v3', ...TimePickerPopover]);
|
|
148
148
|
// Options
|
|
149
|
-
const resolvedFormat =
|
|
149
|
+
const resolvedFormat = se(toRef(props, 'format'));
|
|
150
150
|
const resolvedLocale = X(toRef(props, 'locale'));
|
|
151
151
|
// State
|
|
152
152
|
const initialValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : getCurrentDate());
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch, resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, createElementVNode, vShow } from 'vue';
|
|
2
|
-
import { s, g as c,
|
|
3
|
-
import {
|
|
2
|
+
import { s, g as c, h as se, f as X, r as re, n as ne } from '../OrAutocompleteV3-fd7065f1.js';
|
|
3
|
+
import { c as script$1, e as script$2, g as script$3, l as script$4, m as script$5, h as getCurrentDate, n as formatMobileTime } from '../OrDateTimePickerV3-3c2fd488.js';
|
|
4
4
|
import { OrErrorV3 as script$6 } from '../or-error-v3/index.js';
|
|
5
5
|
import { OrHintV3 as script$7 } from '../or-hint-v3/index.js';
|
|
6
6
|
import { OrIconV3 as script$8 } from '../or-icon-v3/index.js';
|
|
@@ -14,7 +14,7 @@ import '@onereach/styles/tailwind.config.json';
|
|
|
14
14
|
import 'lodash/get';
|
|
15
15
|
import 'lodash/isElement';
|
|
16
16
|
import '../or-input-v3/index.js';
|
|
17
|
-
import '../OrInlineInputV3-
|
|
17
|
+
import '../OrInlineInputV3-34103682.js';
|
|
18
18
|
import '../or-inline-input-box-v3/index.js';
|
|
19
19
|
import '../or-text-v3/index.js';
|
|
20
20
|
import '../or-loader-v3/index.js';
|
|
@@ -154,7 +154,7 @@ var script = defineComponent({
|
|
|
154
154
|
});
|
|
155
155
|
const popoverStyles = computed(() => ['or-time-range-picker-popover-v3', ...TimeRangePickerPopover]);
|
|
156
156
|
// Options
|
|
157
|
-
const resolvedFormat =
|
|
157
|
+
const resolvedFormat = se(toRef(props, 'format'));
|
|
158
158
|
const resolvedLocale = X(toRef(props, 'locale'));
|
|
159
159
|
// State
|
|
160
160
|
const initialValueFrom = ref((_b = (_a = props.modelValue) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : getCurrentDate());
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, onBeforeMount, onBeforeUnmount, nextTick, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
2
|
-
import { s as styleInject } from '../OrInlineInputV3-
|
|
2
|
+
import { s as styleInject } from '../OrInlineInputV3-34103682.js';
|
|
3
3
|
import { createSharedComposable, useEventBus, useToggle, noop } from '@vueuse/core';
|
|
4
4
|
import { OrIconButtonV3 as script$2 } from '../or-icon-button-v3/index.js';
|
|
5
5
|
import { OrLoaderV3 as script$3 } from '../or-loader-v3/index.js';
|
|
6
|
-
import { K } from '../OrAutocompleteV3-
|
|
6
|
+
import { K } from '../OrAutocompleteV3-fd7065f1.js';
|
|
7
7
|
import { OrTeleportV3 as script$4 } from '../or-teleport-v3/index.js';
|
|
8
8
|
import '../or-inline-input-box-v3/index.js';
|
|
9
9
|
import '../or-error-v3/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, withCtx, createElementVNode, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
2
|
-
import { t as te } from '../OrAutocompleteV3-
|
|
2
|
+
import { t as te } from '../OrAutocompleteV3-fd7065f1.js';
|
|
3
3
|
import { PopoverPlacement, OrPopoverV3 as script$1 } from '../or-popover-v3/index.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '@onereach/styles/screens.json';
|
|
@@ -13,7 +13,7 @@ import '../or-icon-v3/index.js';
|
|
|
13
13
|
import './index.js';
|
|
14
14
|
import '../or-input-box-v3/index.js';
|
|
15
15
|
import '../or-input-v3/index.js';
|
|
16
|
-
import '../OrInlineInputV3-
|
|
16
|
+
import '../OrInlineInputV3-34103682.js';
|
|
17
17
|
import '../or-inline-input-box-v3/index.js';
|
|
18
18
|
import '../or-text-v3/index.js';
|
|
19
19
|
import '../or-label-v3/index.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, unref, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, createBlock, withCtx, createVNode, createCommentVNode, renderSlot, normalizeProps, guardReactiveProps, createTextVNode, toDisplayString, Fragment, renderList } from 'vue';
|
|
2
2
|
import { OrButtonV3 as script$2 } from '../or-button-v3/index.js';
|
|
3
3
|
import { OrIconV3 as script$3 } from '../or-icon-v3/index.js';
|
|
4
|
-
import '../OrAutocompleteV3-
|
|
4
|
+
import '../OrAutocompleteV3-fd7065f1.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import '@onereach/styles/screens.json';
|
|
7
7
|
import '@onereach/styles/tailwind.config.json';
|
|
@@ -18,7 +18,7 @@ import '../or-overlay-v3/index.js';
|
|
|
18
18
|
import '../or-teleport-v3/index.js';
|
|
19
19
|
import '../or-input-box-v3/index.js';
|
|
20
20
|
import '../or-input-v3/index.js';
|
|
21
|
-
import '../OrInlineInputV3-
|
|
21
|
+
import '../OrInlineInputV3-34103682.js';
|
|
22
22
|
import '../or-inline-input-box-v3/index.js';
|
|
23
23
|
import '../or-text-v3/index.js';
|
|
24
24
|
import '../or-label-v3/index.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { H as CODE_BACKSPACE, x as CODE_BREAK, z as CODE_DELETE, B as CODE_DOWN, A as CODE_END, C as CODE_ENTER, E as CODE_ESC, I as CODE_HOME, U as CODE_LEFT, L as CODE_PAGEDOWN, M as CODE_PAGEUP, O as CODE_RIGHT, P as CODE_SPACE, V as CODE_UP, Q as DATE_FORMAT, R as DateFormat, s as DropdownClose, g as DropdownOpen, S as HSL_LIMITS, W as LOCALE, Y as MutationObs, w as OrAutocompleteV3, Z as PLACEMENT_BOTTOM_END, a0 as PLACEMENT_BOTTOM_START, a1 as PLACEMENT_LEFT_END, a2 as PLACEMENT_LEFT_START, a3 as PLACEMENT_RIGHT_END, a4 as PLACEMENT_RIGHT_START, a5 as PLACEMENT_TOP_END, a6 as PLACEMENT_TOP_START, a7 as RX_ABBREVIATION_FROM_STRING, a8 as RX_ARRAY_NOTATION, a9 as RX_BV_PREFIX, aa as RX_DATE, ab as RX_DATE_SPLIT, ac as RX_DIGITS, ad as RX_ENCODED_COMMA, ae as RX_ENCODE_REVERSE, af as RX_EXTENSION, ag as RX_HASH, ah as RX_HASH_ID, ai as RX_HREF, aj as RX_HTML_TAGS, ak as RX_HYPHENATE, al as RX_LONG_COLOR, am as RX_LOWER_UPPER, an as RX_NUMBER, ao as RX_PLUS, ap as RX_QUERY_START, aq as RX_REGEXP_REPLACE, ar as RX_SHORT_COLOR, as as RX_SPACES, at as RX_SPACE_SPLIT, au as RX_STAR, av as RX_START_SPACE_WORD, aw as RX_TIME, ax as RX_TRIM_LEFT, ay as RX_TRIM_RIGHT, az as RX_UNDERSCORE, aA as RX_UN_KEBAB, aB as TIME_FORMAT,
|
|
2
|
-
export { E as EditorTabsOverflow, s as OrEditorTabsV3, a as getItemByValue, m as getItemsByValue, l as searchItemsByLabel } from './components/OrEditorTabsV3-
|
|
1
|
+
export { H as CODE_BACKSPACE, x as CODE_BREAK, z as CODE_DELETE, B as CODE_DOWN, A as CODE_END, C as CODE_ENTER, E as CODE_ESC, I as CODE_HOME, U as CODE_LEFT, L as CODE_PAGEDOWN, M as CODE_PAGEUP, O as CODE_RIGHT, P as CODE_SPACE, V as CODE_UP, Q as DATE_FORMAT, R as DateFormat, s as DropdownClose, g as DropdownOpen, S as HSL_LIMITS, W as LOCALE, Y as MutationObs, w as OrAutocompleteV3, Z as PLACEMENT_BOTTOM_END, a0 as PLACEMENT_BOTTOM_START, a1 as PLACEMENT_LEFT_END, a2 as PLACEMENT_LEFT_START, a3 as PLACEMENT_RIGHT_END, a4 as PLACEMENT_RIGHT_START, a5 as PLACEMENT_TOP_END, a6 as PLACEMENT_TOP_START, a7 as RX_ABBREVIATION_FROM_STRING, a8 as RX_ARRAY_NOTATION, a9 as RX_BV_PREFIX, aa as RX_DATE, ab as RX_DATE_SPLIT, ac as RX_DIGITS, ad as RX_ENCODED_COMMA, ae as RX_ENCODE_REVERSE, af as RX_EXTENSION, ag as RX_HASH, ah as RX_HASH_ID, ai as RX_HREF, aj as RX_HTML_TAGS, ak as RX_HYPHENATE, al as RX_LONG_COLOR, am as RX_LOWER_UPPER, an as RX_NUMBER, ao as RX_PLUS, ap as RX_QUERY_START, aq as RX_REGEXP_REPLACE, ar as RX_SHORT_COLOR, as as RX_SPACES, at as RX_SPACE_SPLIT, au as RX_STAR, av as RX_START_SPACE_WORD, aw as RX_TIME, ax as RX_TRIM_LEFT, ay as RX_TRIM_RIGHT, az as RX_UNDERSCORE, aA as RX_UN_KEBAB, aB as TIME_FORMAT, j as TimeFormat, aC as addClass, aD as cancelAF, aE as contains, d as exclude, aF as extractCssVarName, a as flattenDeep, aG as generateColorFromString, D as generateHslFromString, aH as getAbbreviation, aI as getAttr, aJ as getBCR, aK as getById, aL as getCS, aM as getHashOfString, aN as getMaxZIndex, aO as getPageElevations, aP as getStyle, aQ as hasAttr, aR as hasClass, aS as hexToRgb, X as hslToColorString, $ as include, p as isAncestor, e as isArray, aT as isDescendant, y as isEmpty, m as isEqual, T as isNil, aU as isNull, aV as isNumber, _ as isObject, aW as isString, b as isUndefined, aX as isVisible, aY as normalize, aZ as offset, a_ as position, q as pxToRem, a$ as reflow, b0 as removeAttr, b1 as removeClass, b2 as removeNode, b3 as removeStyle, b4 as requestAF, b5 as requestIC, b6 as rgbToHex, b7 as select, b8 as selectAll, b9 as setAttr, ba as setStyle, F as toArray, k as useControlAttributes, G as useDateFormat, J as useDateMask, K as useElevation, N as useIdAttribute, f as useLocale, v as useOverflow, t as usePopoverState, r as useProxyModelValue, n as useResponsive, u as useTheme, h as useTimeFormat, o as useTimeMask, bb as useToggle, c as useValidationAttributes } from './components/OrAutocompleteV3-fd7065f1.js';
|
|
2
|
+
export { E as EditorTabsOverflow, s as OrEditorTabsV3, a as getItemByValue, m as getItemsByValue, l as searchItemsByLabel } from './components/OrEditorTabsV3-152c10c5.js';
|
|
3
|
+
export { a as OrDateTimePickerDateControl, b as OrDateTimePickerDateSelect, c as OrDateTimePickerMobileControl, d as OrDateTimePickerMonthSelect, e as OrDateTimePickerPopoverFooter, g as OrDateTimePickerPopoverHeader, l as OrDateTimePickerTimeControl, m as OrDateTimePickerTimeSelect, s as OrDateTimePickerV3, p as Spacing, f as formatDate, i as formatMobileDate, n as formatMobileTime, k as formatTime, h as getCurrentDate, j as getNextMonthDate, o as scrollToElementWithinContainer } from './components/OrDateTimePickerV3-3c2fd488.js';
|
|
3
4
|
export { AvatarColor, AvatarSize, OrAvatarV3 } from './components/or-avatar-v3/index.js';
|
|
4
5
|
export { OrButtonGroupV3 } from './components/or-button-group-v3/index.js';
|
|
5
6
|
export { CardCollectionView, OrCardCollectionV3, defaultViewModes, gridView, listView } from './components/or-card-collection-v3/index.js';
|
|
@@ -22,7 +23,7 @@ export { OrFilterPopoverV3 } from './components/or-filter-popover-v3/index.js';
|
|
|
22
23
|
export { OrFilterTriggerV3 } from './components/or-filter-trigger-v3/index.js';
|
|
23
24
|
export { OrFilterV3 } from './components/or-filter-v3/index.js';
|
|
24
25
|
export { InlineInputBoxSize, OrInlineInputBoxV3 } from './components/or-inline-input-box-v3/index.js';
|
|
25
|
-
export { I as InlineInputType, a as OrInlineInputV3 } from './components/OrInlineInputV3-
|
|
26
|
+
export { I as InlineInputType, a as OrInlineInputV3 } from './components/OrInlineInputV3-34103682.js';
|
|
26
27
|
export { OrInlineTextareaV3 } from './components/or-inline-textarea-v3/index.js';
|
|
27
28
|
export { LinkColor, OrLinkV3 } from './components/or-link-v3/index.js';
|
|
28
29
|
export { OrListItem, OrListV3 } from './components/or-list-v3/index.js';
|
|
@@ -38,7 +39,7 @@ export { OrSkeletonCircleV3, OrSkeletonRectV3, OrSkeletonTextV3 } from './compon
|
|
|
38
39
|
export { OrSliderV3, SliderColor, SliderOrientation } from './components/or-slider-v3/index.js';
|
|
39
40
|
export { OrStatusV3, StatusSize, StatusVariant } from './components/or-status-v3/index.js';
|
|
40
41
|
export { OrTabV3 } from './components/or-tab-v3/index.js';
|
|
41
|
-
export { OrTabsV3, TabsVariant } from './components/or-tabs-v3/index.js';
|
|
42
|
+
export { OrTabsV3, TabsSpacing, TabsVariant } from './components/or-tabs-v3/index.js';
|
|
42
43
|
export { OrTextareaV3 } from './components/or-textarea-v3/index.js';
|
|
43
44
|
export { OrTimeFormatV3 } from './components/or-time-format-v3/index.js';
|
|
44
45
|
export { OrTimeRangePickerV3 } from './components/or-time-range-picker-v3/index.js';
|
|
@@ -55,7 +56,6 @@ export { html } from '@codemirror/lang-html';
|
|
|
55
56
|
export { EditorView } from '@codemirror/view';
|
|
56
57
|
export { EditorState } from '@codemirror/state';
|
|
57
58
|
export { OrDatePickerV3 } from './components/or-date-picker-v3/index.js';
|
|
58
|
-
export { OrDateTimePickerDateControl, OrDateTimePickerDateSelect, OrDateTimePickerMobileControl, OrDateTimePickerMonthSelect, OrDateTimePickerPopoverFooter, OrDateTimePickerPopoverHeader, OrDateTimePickerTimeControl, OrDateTimePickerTimeSelect, OrDateTimePickerV3, formatDate, formatMobileDate, formatMobileTime, formatTime, getCurrentDate, getNextMonthDate, scrollToElementWithinContainer } from './components/or-date-time-picker-v3/index.js';
|
|
59
59
|
export { OrErrorV3 } from './components/or-error-v3/index.js';
|
|
60
60
|
export { ExpansionPanelBackgroundColor, ExpansionPanelColor, ExpansionPanelVariant, OrExpansionPanelV3 } from './components/or-expansion-panel-v3/index.js';
|
|
61
61
|
export { FormGroupDirection, OrFormGroupV3 } from './components/or-form-group-v3/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "20.2.0-beta.
|
|
3
|
+
"version": "20.2.0-beta.5212.0",
|
|
4
4
|
"description": "Vue components library for v3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"exports": {
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@codemirror/view": "^6",
|
|
47
47
|
"@floating-ui/dom": "1.5.3",
|
|
48
48
|
"@lezer/highlight": "*",
|
|
49
|
-
"@onereach/styles": "^20.1.
|
|
50
|
-
"@onereach/ui-components-common": "^20.2.0-beta.
|
|
49
|
+
"@onereach/styles": "^20.1.6",
|
|
50
|
+
"@onereach/ui-components-common": "^20.2.0-beta.5212.0",
|
|
51
51
|
"@splidejs/splide": "4.0.6",
|
|
52
52
|
"@tiptap/core": "2.0.3",
|
|
53
53
|
"@tiptap/extension-blockquote": "2.0.3",
|