@onereach/ui-components 4.0.4-beta.2521.0 → 4.0.4-beta.2523.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/{OrDateTimePickerMonthSelect-9f9ce5cc.js → OrDateTimePickerMonthSelect-59c639c8.js} +28 -6
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-bf895434.js → OrDatePicker.vue_vue_type_script_lang-53f5b925.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-2fe2b8c0.js → OrDateTimePicker.vue_vue_type_script_lang-d78de3fd.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-ad05eff6.js → OrDateTimePickerMonthSelect-dea4a5ae.js} +28 -6
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +3 -3
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/index.js +3 -3
- package/dist/bundled/v3/index.js +3 -3
- package/dist/esm/v2/{OrDatePicker-cbf6a43f.js → OrDatePicker-f24e50af.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker-892918d6.js → OrDateTimePicker-a65f6007.js} +1 -1
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-3b05a38c.js → OrDateTimePickerMonthSelect-d49207f4.js} +28 -6
- package/dist/esm/v2/components/index.js +3 -3
- package/dist/esm/v2/components/or-date-picker-v3/index.js +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +2 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/OrDateTimePickerDaySelect.vue.d.ts +6 -2
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/styles.d.ts +2 -1
- package/dist/esm/v2/index.js +3 -3
- package/dist/esm/v3/{OrDatePicker-07f95e87.js → OrDatePicker-9bf74aab.js} +1 -1
- package/dist/esm/v3/{OrDateTimePicker-deedd692.js → OrDateTimePicker-1d5941b7.js} +1 -1
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-62fba6d6.js → OrDateTimePickerMonthSelect-315f7a54.js} +28 -6
- package/dist/esm/v3/components/index.js +3 -3
- package/dist/esm/v3/components/or-date-picker-v3/index.js +2 -2
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +2 -2
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/OrDateTimePickerDaySelect.vue.d.ts +6 -2
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/styles.d.ts +2 -1
- package/dist/esm/v3/index.js +3 -3
- package/package.json +2 -2
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/OrDateTimePickerDaySelect.vue +25 -5
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/styles.ts +17 -1
|
@@ -21,7 +21,16 @@ const DateTimePickerDaySelectButtonGroup = [
|
|
|
21
21
|
'grid', 'grid-cols-7',
|
|
22
22
|
// Spacing
|
|
23
23
|
'gap-xs'];
|
|
24
|
-
const
|
|
24
|
+
const DateTimePickerDaySelectButtonGroupWeekdayItem = [
|
|
25
|
+
// Box
|
|
26
|
+
'min-w-fit',
|
|
27
|
+
// Spacing
|
|
28
|
+
'px-sm', 'py-sm',
|
|
29
|
+
// Typography
|
|
30
|
+
'typography-caption-regular',
|
|
31
|
+
// Theme
|
|
32
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
33
|
+
const DateTimePickerDaySelectButtonGroupDayItem = [
|
|
25
34
|
// Box
|
|
26
35
|
'min-w-fit',
|
|
27
36
|
// Spacing
|
|
@@ -56,7 +65,8 @@ var script$1 = defineComponent({
|
|
|
56
65
|
// Styles
|
|
57
66
|
const rootStyles = computed(() => ['or-date-time-picker-day-select', ...DateTimePickerDaySelect]);
|
|
58
67
|
const buttonGroupStyles = computed(() => [...DateTimePickerDaySelectButtonGroup]);
|
|
59
|
-
const
|
|
68
|
+
const buttonGroupWeekdayItemStyles = computed(() => [...DateTimePickerDaySelectButtonGroupWeekdayItem]);
|
|
69
|
+
const buttonGroupDayItemStyles = computed(() => [...DateTimePickerDaySelectButtonGroupDayItem]);
|
|
60
70
|
// State
|
|
61
71
|
const proxyModelValue = computed({
|
|
62
72
|
get: () => {
|
|
@@ -83,6 +93,12 @@ var script$1 = defineComponent({
|
|
|
83
93
|
})();
|
|
84
94
|
});
|
|
85
95
|
// Methods
|
|
96
|
+
function formatWeekday(value) {
|
|
97
|
+
return value.toLocaleString('default', {
|
|
98
|
+
weekday: 'short',
|
|
99
|
+
timeZone: 'UTC'
|
|
100
|
+
});
|
|
101
|
+
}
|
|
86
102
|
function formatDay(value) {
|
|
87
103
|
return value.toLocaleString('default', {
|
|
88
104
|
day: 'numeric',
|
|
@@ -93,9 +109,11 @@ var script$1 = defineComponent({
|
|
|
93
109
|
root,
|
|
94
110
|
rootStyles,
|
|
95
111
|
buttonGroupStyles,
|
|
96
|
-
|
|
112
|
+
buttonGroupWeekdayItemStyles,
|
|
113
|
+
buttonGroupDayItemStyles,
|
|
97
114
|
proxyModelValue,
|
|
98
115
|
dayOptions,
|
|
116
|
+
formatWeekday,
|
|
99
117
|
formatDay
|
|
100
118
|
};
|
|
101
119
|
}
|
|
@@ -114,10 +132,14 @@ var __vue_render__$1 = function () {
|
|
|
114
132
|
class: _vm.rootStyles
|
|
115
133
|
}, [_c('div', {
|
|
116
134
|
class: _vm.buttonGroupStyles
|
|
117
|
-
}, _vm._l(
|
|
135
|
+
}, [_vm._l(7, function (i) {
|
|
136
|
+
return _c('div', {
|
|
137
|
+
class: _vm.buttonGroupWeekdayItemStyles
|
|
138
|
+
}, [_vm._v("\n " + _vm._s(_vm.formatWeekday(_vm.dayOptions[i - 1])) + "\n ")]);
|
|
139
|
+
}), _vm._v(" "), _vm._l(_vm.dayOptions, function (value) {
|
|
118
140
|
return _c('OrButton', {
|
|
119
141
|
key: Number(value),
|
|
120
|
-
class: _vm.
|
|
142
|
+
class: _vm.buttonGroupDayItemStyles,
|
|
121
143
|
attrs: {
|
|
122
144
|
"variant": Number(value) === Number(_vm.proxyModelValue) ? 'contained' : 'text',
|
|
123
145
|
"color": Number(value) === Number(_vm.proxyModelValue) ? 'primary' : 'inherit',
|
|
@@ -130,7 +152,7 @@ var __vue_render__$1 = function () {
|
|
|
130
152
|
}
|
|
131
153
|
}
|
|
132
154
|
}, [_vm._v("\n " + _vm._s(_vm.formatDay(value)) + "\n ")]);
|
|
133
|
-
}),
|
|
155
|
+
})], 2)]);
|
|
134
156
|
};
|
|
135
157
|
var __vue_staticRenderFns__$1 = [];
|
|
136
158
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive, watch } from 'vue-demi';
|
|
2
2
|
import { useDateFormat } from '../OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
3
|
-
import { O as OrDateTimePickerDaySelect, a as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-
|
|
3
|
+
import { O as OrDateTimePickerDaySelect, a as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-59c639c8.js';
|
|
4
4
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-ffdf51e9.js';
|
|
5
5
|
import { DatePicker, DatePickerControl } from './styles.js';
|
|
6
6
|
import __vue_component__$1 from '../OrErrorV3/OrError.js';
|
|
@@ -2,7 +2,7 @@ export { default as OrDatePickerV3 } from './OrDatePicker.js';
|
|
|
2
2
|
export { InputBoxSize as DatePickerSize } from '../OrInputBoxV3/props.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
5
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
5
|
+
import '../../OrDateTimePickerMonthSelect-59c639c8.js';
|
|
6
6
|
import '../OrDateTimePickerV3/hooks/useDefaultDate.js';
|
|
7
7
|
import '../OrDateTimePickerV3/hooks/useDefaultHours.js';
|
|
8
8
|
import '../OrDateTimePickerV3/hooks/useDefaultMinutes.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive, watch } from 'vue-demi';
|
|
2
2
|
import { useDateFormat } from './hooks/useDateFormat.js';
|
|
3
3
|
import { useTimeFormat } from './hooks/useTimeFormat.js';
|
|
4
|
-
import { O as OrDateTimePickerDaySelect, a as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-
|
|
4
|
+
import { O as OrDateTimePickerDaySelect, a as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-59c639c8.js';
|
|
5
5
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-ffdf51e9.js';
|
|
6
6
|
import { O as OrDateTimePickerTimeSelect } from '../../OrDateTimePickerTimeSelect-cb1394ee.js';
|
|
7
7
|
import { DateTimePicker, DateTimePickerControl } from './styles.js';
|
|
@@ -3,7 +3,7 @@ export { InputBoxSize as DateTimePickerSize } from '../OrInputBoxV3/props.js';
|
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './hooks/useDateFormat.js';
|
|
5
5
|
import './hooks/useTimeFormat.js';
|
|
6
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
6
|
+
import '../../OrDateTimePickerMonthSelect-59c639c8.js';
|
|
7
7
|
import './hooks/useDefaultDate.js';
|
|
8
8
|
import './hooks/useDefaultHours.js';
|
|
9
9
|
import './hooks/useDefaultMinutes.js';
|
|
@@ -203,7 +203,7 @@ import './OrColorPicker/utils/defultPalette.js';
|
|
|
203
203
|
import '../index-63e094a0.js';
|
|
204
204
|
import './OrConfirmV3/styles.js';
|
|
205
205
|
import './OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
206
|
-
import '../OrDateTimePickerMonthSelect-
|
|
206
|
+
import '../OrDateTimePickerMonthSelect-59c639c8.js';
|
|
207
207
|
import './OrDateTimePickerV3/hooks/useDefaultDate.js';
|
|
208
208
|
import './OrDateTimePickerV3/hooks/useDefaultHours.js';
|
|
209
209
|
import './OrDateTimePickerV3/hooks/useDefaultMinutes.js';
|
package/dist/bundled/v2/index.js
CHANGED
|
@@ -185,7 +185,7 @@ import './components/OrColorPicker/utils/defultPalette.js';
|
|
|
185
185
|
import './index-63e094a0.js';
|
|
186
186
|
import './components/OrConfirmV3/styles.js';
|
|
187
187
|
import './components/OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
188
|
-
import './OrDateTimePickerMonthSelect-
|
|
188
|
+
import './OrDateTimePickerMonthSelect-59c639c8.js';
|
|
189
189
|
import './components/OrDateTimePickerV3/hooks/useDefaultDate.js';
|
|
190
190
|
import './components/OrDateTimePickerV3/hooks/useDefaultHours.js';
|
|
191
191
|
import './components/OrDateTimePickerV3/hooks/useDefaultMinutes.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive, watch } from 'vue-demi';
|
|
2
2
|
import { useDateFormat } from './components/OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
3
|
-
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-
|
|
3
|
+
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-dea4a5ae.js';
|
|
4
4
|
import { s as script$2, a as script$4, b as script$5 } from './OrDateTimePickerPopoverHeader-8fbb4dfc.js';
|
|
5
5
|
import { DatePicker, DatePickerControl } from './components/OrDatePickerV3/styles.js';
|
|
6
6
|
import './components/OrErrorV3/OrError.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive, watch } from 'vue-demi';
|
|
2
2
|
import { useDateFormat } from './components/OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
3
3
|
import { useTimeFormat } from './components/OrDateTimePickerV3/hooks/useTimeFormat.js';
|
|
4
|
-
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-
|
|
4
|
+
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-dea4a5ae.js';
|
|
5
5
|
import { s as script$2, a as script$4, b as script$5 } from './OrDateTimePickerPopoverHeader-8fbb4dfc.js';
|
|
6
6
|
import { s as script$6 } from './OrDateTimePickerTimeSelect-6cb9e69d.js';
|
|
7
7
|
import { DateTimePicker, DateTimePickerControl } from './components/OrDateTimePickerV3/styles.js';
|
|
@@ -6,7 +6,7 @@ import { useDefaultMonth } from './components/OrDateTimePickerV3/hooks/useDefaul
|
|
|
6
6
|
import { useDefaultYear } from './components/OrDateTimePickerV3/hooks/useDefaultYear.js';
|
|
7
7
|
import './components/OrButtonV3/OrButton.js';
|
|
8
8
|
import { s as script$2 } from './OrButton.vue_vue_type_script_lang-5650b394.js';
|
|
9
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode,
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString, createBlock, withModifiers, withCtx, createTextVNode, createVNode } from 'vue';
|
|
10
10
|
import './components/OrIconV3/OrIcon.js';
|
|
11
11
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
12
12
|
import './components/OrMenuV3/OrMenu.js';
|
|
@@ -26,7 +26,16 @@ const DateTimePickerDaySelectButtonGroup = [
|
|
|
26
26
|
'grid', 'grid-cols-7',
|
|
27
27
|
// Spacing
|
|
28
28
|
'gap-xs'];
|
|
29
|
-
const
|
|
29
|
+
const DateTimePickerDaySelectButtonGroupWeekdayItem = [
|
|
30
|
+
// Box
|
|
31
|
+
'min-w-fit',
|
|
32
|
+
// Spacing
|
|
33
|
+
'px-sm', 'py-sm',
|
|
34
|
+
// Typography
|
|
35
|
+
'typography-caption-regular',
|
|
36
|
+
// Theme
|
|
37
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
38
|
+
const DateTimePickerDaySelectButtonGroupDayItem = [
|
|
30
39
|
// Box
|
|
31
40
|
'min-w-fit',
|
|
32
41
|
// Spacing
|
|
@@ -61,7 +70,8 @@ var script$1 = defineComponent({
|
|
|
61
70
|
// Styles
|
|
62
71
|
const rootStyles = computed(() => ['or-date-time-picker-day-select', ...DateTimePickerDaySelect]);
|
|
63
72
|
const buttonGroupStyles = computed(() => [...DateTimePickerDaySelectButtonGroup]);
|
|
64
|
-
const
|
|
73
|
+
const buttonGroupWeekdayItemStyles = computed(() => [...DateTimePickerDaySelectButtonGroupWeekdayItem]);
|
|
74
|
+
const buttonGroupDayItemStyles = computed(() => [...DateTimePickerDaySelectButtonGroupDayItem]);
|
|
65
75
|
// State
|
|
66
76
|
const proxyModelValue = computed({
|
|
67
77
|
get: () => {
|
|
@@ -88,6 +98,12 @@ var script$1 = defineComponent({
|
|
|
88
98
|
})();
|
|
89
99
|
});
|
|
90
100
|
// Methods
|
|
101
|
+
function formatWeekday(value) {
|
|
102
|
+
return value.toLocaleString('default', {
|
|
103
|
+
weekday: 'short',
|
|
104
|
+
timeZone: 'UTC'
|
|
105
|
+
});
|
|
106
|
+
}
|
|
91
107
|
function formatDay(value) {
|
|
92
108
|
return value.toLocaleString('default', {
|
|
93
109
|
day: 'numeric',
|
|
@@ -98,9 +114,11 @@ var script$1 = defineComponent({
|
|
|
98
114
|
root,
|
|
99
115
|
rootStyles,
|
|
100
116
|
buttonGroupStyles,
|
|
101
|
-
|
|
117
|
+
buttonGroupWeekdayItemStyles,
|
|
118
|
+
buttonGroupDayItemStyles,
|
|
102
119
|
proxyModelValue,
|
|
103
120
|
dayOptions,
|
|
121
|
+
formatWeekday,
|
|
104
122
|
formatDay
|
|
105
123
|
};
|
|
106
124
|
}
|
|
@@ -113,10 +131,14 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
113
131
|
class: normalizeClass(_ctx.rootStyles)
|
|
114
132
|
}, [createElementVNode("div", {
|
|
115
133
|
class: normalizeClass(_ctx.buttonGroupStyles)
|
|
116
|
-
}, [(openBlock(
|
|
134
|
+
}, [(openBlock(), createElementBlock(Fragment, null, renderList(7, i => {
|
|
135
|
+
return createElementVNode("div", {
|
|
136
|
+
class: normalizeClass(_ctx.buttonGroupWeekdayItemStyles)
|
|
137
|
+
}, toDisplayString(_ctx.formatWeekday(_ctx.dayOptions[i - 1])), 3 /* TEXT, CLASS */);
|
|
138
|
+
}), 64 /* STABLE_FRAGMENT */)), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.dayOptions, value => {
|
|
117
139
|
return openBlock(), createBlock(_component_OrButton, {
|
|
118
140
|
key: Number(value),
|
|
119
|
-
class: normalizeClass(_ctx.
|
|
141
|
+
class: normalizeClass(_ctx.buttonGroupDayItemStyles),
|
|
120
142
|
variant: Number(value) === Number(_ctx.proxyModelValue) ? 'contained' : 'text',
|
|
121
143
|
color: Number(value) === Number(_ctx.proxyModelValue) ? 'primary' : 'inherit',
|
|
122
144
|
disabled: _ctx.filter && !_ctx.filter(value),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as script } from '../../OrDatePicker.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrDatePicker.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrDatePicker.vue_vue_type_script_lang-53f5b925.js';
|
|
2
|
+
export { s as default } from '../../OrDatePicker.vue_vue_type_script_lang-53f5b925.js';
|
|
3
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, mergeProps, createVNode, createElementVNode, withModifiers, Fragment } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
6
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
6
|
+
import '../../OrDateTimePickerMonthSelect-dea4a5ae.js';
|
|
7
7
|
import '../OrDateTimePickerV3/hooks/useDefaultDate.js';
|
|
8
8
|
import '../OrDateTimePickerV3/hooks/useDefaultHours.js';
|
|
9
9
|
import '../OrDateTimePickerV3/hooks/useDefaultMinutes.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { s as OrDatePickerV3 } from '../../OrDatePicker.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrDatePickerV3 } from '../../OrDatePicker.vue_vue_type_script_lang-53f5b925.js';
|
|
2
2
|
export { InputBoxSize as DatePickerSize } from '../OrInputBoxV3/props.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
5
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
5
|
+
import '../../OrDateTimePickerMonthSelect-dea4a5ae.js';
|
|
6
6
|
import '../OrDateTimePickerV3/hooks/useDefaultDate.js';
|
|
7
7
|
import '../OrDateTimePickerV3/hooks/useDefaultHours.js';
|
|
8
8
|
import '../OrDateTimePickerV3/hooks/useDefaultMinutes.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { s as script } from '../../OrDateTimePicker.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrDateTimePicker.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrDateTimePicker.vue_vue_type_script_lang-d78de3fd.js';
|
|
2
|
+
export { s as default } from '../../OrDateTimePicker.vue_vue_type_script_lang-d78de3fd.js';
|
|
3
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, mergeProps, createVNode, createElementVNode, withModifiers, Fragment } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './hooks/useDateFormat.js';
|
|
6
6
|
import './hooks/useTimeFormat.js';
|
|
7
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
7
|
+
import '../../OrDateTimePickerMonthSelect-dea4a5ae.js';
|
|
8
8
|
import './hooks/useDefaultDate.js';
|
|
9
9
|
import './hooks/useDefaultHours.js';
|
|
10
10
|
import './hooks/useDefaultMinutes.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker.vue_vue_type_script_lang-d78de3fd.js';
|
|
2
2
|
export { InputBoxSize as DateTimePickerSize } from '../OrInputBoxV3/props.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './hooks/useDateFormat.js';
|
|
5
5
|
import './hooks/useTimeFormat.js';
|
|
6
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
6
|
+
import '../../OrDateTimePickerMonthSelect-dea4a5ae.js';
|
|
7
7
|
import './hooks/useDefaultDate.js';
|
|
8
8
|
import './hooks/useDefaultHours.js';
|
|
9
9
|
import './hooks/useDefaultMinutes.js';
|
|
@@ -30,11 +30,11 @@ export { amber, black, blue, blueGrey, brown, cyan, deepOrange, deepPurple, gree
|
|
|
30
30
|
export { s as OrConfirm } from '../OrConfirm.vue_vue_type_script_lang-806d209b.js';
|
|
31
31
|
export { s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-a04553af.js';
|
|
32
32
|
export { ConfirmType } from './OrConfirmV3/props.js';
|
|
33
|
-
export { s as OrDatePickerV3 } from '../OrDatePicker.vue_vue_type_script_lang-
|
|
33
|
+
export { s as OrDatePickerV3 } from '../OrDatePicker.vue_vue_type_script_lang-53f5b925.js';
|
|
34
34
|
export { InputBoxSize as DatePickerSize, InputBoxSize as DateTimePickerSize, InputBoxSize, InputBoxVariant, InputBoxSize as InputSize, InputBoxSize as SearchSize, InputBoxSize as SelectSize, InputBoxSize as TextareaSize, InputBoxSize as TimePickerSize } from './OrInputBoxV3/props.js';
|
|
35
35
|
export { s as OrDateTimePicker } from '../OrDateTimePicker.vue_vue_type_script_lang-5c1a5d4a.js';
|
|
36
36
|
export { DEFAULT_TEXT, OrDateTimePickerItemTypes, OrDateTimePickerTypes } from './OrDateTimePicker/constants.js';
|
|
37
|
-
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker.vue_vue_type_script_lang-
|
|
37
|
+
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker.vue_vue_type_script_lang-d78de3fd.js';
|
|
38
38
|
export { s as OrEmptyStateV3 } from '../OrEmptyState.vue_vue_type_script_lang-2c1f09ef.js';
|
|
39
39
|
export { EmptyStateSize } from './OrEmptyStateV3/props.js';
|
|
40
40
|
export { s as OrError } from '../OrError.vue_vue_type_script_lang-450321b8.js';
|
|
@@ -235,7 +235,7 @@ import '../index-63e094a0.js';
|
|
|
235
235
|
import './OrButtonV2/OrButton.js';
|
|
236
236
|
import './OrConfirmV3/styles.js';
|
|
237
237
|
import './OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
238
|
-
import '../OrDateTimePickerMonthSelect-
|
|
238
|
+
import '../OrDateTimePickerMonthSelect-dea4a5ae.js';
|
|
239
239
|
import './OrDateTimePickerV3/hooks/useDefaultDate.js';
|
|
240
240
|
import './OrDateTimePickerV3/hooks/useDefaultHours.js';
|
|
241
241
|
import './OrDateTimePickerV3/hooks/useDefaultMinutes.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -27,11 +27,11 @@ export { s as OrConfirm } from './OrConfirm.vue_vue_type_script_lang-806d209b.js
|
|
|
27
27
|
import './components/OrConfirmV3/OrConfirm.js';
|
|
28
28
|
export { s as OrConfirmV3 } from './OrConfirm.vue_vue_type_script_lang-a04553af.js';
|
|
29
29
|
import './components/OrDatePickerV3/OrDatePicker.js';
|
|
30
|
-
export { s as OrDatePickerV3 } from './OrDatePicker.vue_vue_type_script_lang-
|
|
30
|
+
export { s as OrDatePickerV3 } from './OrDatePicker.vue_vue_type_script_lang-53f5b925.js';
|
|
31
31
|
import './components/OrDateTimePicker/OrDateTimePicker.js';
|
|
32
32
|
export { s as OrDateTimePicker } from './OrDateTimePicker.vue_vue_type_script_lang-5c1a5d4a.js';
|
|
33
33
|
import './components/OrDateTimePickerV3/OrDateTimePicker.js';
|
|
34
|
-
export { s as OrDateTimePickerV3 } from './OrDateTimePicker.vue_vue_type_script_lang-
|
|
34
|
+
export { s as OrDateTimePickerV3 } from './OrDateTimePicker.vue_vue_type_script_lang-d78de3fd.js';
|
|
35
35
|
import './components/OrEmptyStateV3/OrEmptyState.js';
|
|
36
36
|
export { s as OrEmptyStateV3 } from './OrEmptyState.vue_vue_type_script_lang-2c1f09ef.js';
|
|
37
37
|
import './components/OrErrorTagV3/OrErrorTag.js';
|
|
@@ -268,7 +268,7 @@ import './components/OrConfirmV3/styles.js';
|
|
|
268
268
|
import './components/OrOverlayV3/OrOverlay.js';
|
|
269
269
|
import './components/OrInputV3/OrInput.js';
|
|
270
270
|
import './components/OrDateTimePickerV3/hooks/useDateFormat.js';
|
|
271
|
-
import './OrDateTimePickerMonthSelect-
|
|
271
|
+
import './OrDateTimePickerMonthSelect-dea4a5ae.js';
|
|
272
272
|
import './components/OrDateTimePickerV3/hooks/useDefaultDate.js';
|
|
273
273
|
import './components/OrDateTimePickerV3/hooks/useDefaultHours.js';
|
|
274
274
|
import './components/OrDateTimePickerV3/hooks/useDefaultMinutes.js';
|
|
@@ -3,7 +3,7 @@ import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.
|
|
|
3
3
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
6
|
-
import { _ as __vue_component__$1, a as __vue_component__$3, u as useDateFormat } from './OrDateTimePickerMonthSelect-
|
|
6
|
+
import { _ as __vue_component__$1, a as __vue_component__$3, u as useDateFormat } from './OrDateTimePickerMonthSelect-d49207f4.js';
|
|
7
7
|
import { _ as __vue_component__$2, a as __vue_component__$4, b as __vue_component__$5 } from './OrDateTimePickerPopoverHeader-93f19c1d.js';
|
|
8
8
|
import { _ as __vue_component__$6 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$7 } from './OrHint-aa221198.js';
|
|
@@ -10,7 +10,7 @@ import { _ as __vue_component__$a } from './OrInputBox-0f4e8500.js';
|
|
|
10
10
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
|
|
11
11
|
import { _ as __vue_component__$b } from './OrLabel-63380256.js';
|
|
12
12
|
import { _ as __vue_component__$c } from './OrPopover-a70deaa6.js';
|
|
13
|
-
import { _ as __vue_component__$1, a as __vue_component__$3, u as useDateFormat } from './OrDateTimePickerMonthSelect-
|
|
13
|
+
import { _ as __vue_component__$1, a as __vue_component__$3, u as useDateFormat } from './OrDateTimePickerMonthSelect-d49207f4.js';
|
|
14
14
|
import { _ as __vue_component__$6, u as useTimeFormat } from './OrDateTimePickerTimeSelect-46dac0e1.js';
|
|
15
15
|
import { _ as __vue_component__$2, a as __vue_component__$4, b as __vue_component__$5 } from './OrDateTimePickerPopoverHeader-93f19c1d.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -26,7 +26,16 @@ const DateTimePickerDaySelectButtonGroup = [
|
|
|
26
26
|
'grid', 'grid-cols-7',
|
|
27
27
|
// Spacing
|
|
28
28
|
'gap-xs'];
|
|
29
|
-
const
|
|
29
|
+
const DateTimePickerDaySelectButtonGroupWeekdayItem = [
|
|
30
|
+
// Box
|
|
31
|
+
'min-w-fit',
|
|
32
|
+
// Spacing
|
|
33
|
+
'px-sm', 'py-sm',
|
|
34
|
+
// Typography
|
|
35
|
+
'typography-caption-regular',
|
|
36
|
+
// Theme
|
|
37
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
38
|
+
const DateTimePickerDaySelectButtonGroupDayItem = [
|
|
30
39
|
// Box
|
|
31
40
|
'min-w-fit',
|
|
32
41
|
// Spacing
|
|
@@ -61,7 +70,8 @@ var script$1 = defineComponent({
|
|
|
61
70
|
// Styles
|
|
62
71
|
const rootStyles = computed(() => ['or-date-time-picker-day-select', ...DateTimePickerDaySelect]);
|
|
63
72
|
const buttonGroupStyles = computed(() => [...DateTimePickerDaySelectButtonGroup]);
|
|
64
|
-
const
|
|
73
|
+
const buttonGroupWeekdayItemStyles = computed(() => [...DateTimePickerDaySelectButtonGroupWeekdayItem]);
|
|
74
|
+
const buttonGroupDayItemStyles = computed(() => [...DateTimePickerDaySelectButtonGroupDayItem]);
|
|
65
75
|
// State
|
|
66
76
|
const proxyModelValue = computed({
|
|
67
77
|
get: () => {
|
|
@@ -88,6 +98,12 @@ var script$1 = defineComponent({
|
|
|
88
98
|
})();
|
|
89
99
|
});
|
|
90
100
|
// Methods
|
|
101
|
+
function formatWeekday(value) {
|
|
102
|
+
return value.toLocaleString('default', {
|
|
103
|
+
weekday: 'short',
|
|
104
|
+
timeZone: 'UTC'
|
|
105
|
+
});
|
|
106
|
+
}
|
|
91
107
|
function formatDay(value) {
|
|
92
108
|
return value.toLocaleString('default', {
|
|
93
109
|
day: 'numeric',
|
|
@@ -98,9 +114,11 @@ var script$1 = defineComponent({
|
|
|
98
114
|
root,
|
|
99
115
|
rootStyles,
|
|
100
116
|
buttonGroupStyles,
|
|
101
|
-
|
|
117
|
+
buttonGroupWeekdayItemStyles,
|
|
118
|
+
buttonGroupDayItemStyles,
|
|
102
119
|
proxyModelValue,
|
|
103
120
|
dayOptions,
|
|
121
|
+
formatWeekday,
|
|
104
122
|
formatDay
|
|
105
123
|
};
|
|
106
124
|
}
|
|
@@ -119,10 +137,14 @@ var __vue_render__$1 = function () {
|
|
|
119
137
|
class: _vm.rootStyles
|
|
120
138
|
}, [_c('div', {
|
|
121
139
|
class: _vm.buttonGroupStyles
|
|
122
|
-
}, _vm._l(
|
|
140
|
+
}, [_vm._l(7, function (i) {
|
|
141
|
+
return _c('div', {
|
|
142
|
+
class: _vm.buttonGroupWeekdayItemStyles
|
|
143
|
+
}, [_vm._v("\n " + _vm._s(_vm.formatWeekday(_vm.dayOptions[i - 1])) + "\n ")]);
|
|
144
|
+
}), _vm._v(" "), _vm._l(_vm.dayOptions, function (value) {
|
|
123
145
|
return _c('OrButton', {
|
|
124
146
|
key: Number(value),
|
|
125
|
-
class: _vm.
|
|
147
|
+
class: _vm.buttonGroupDayItemStyles,
|
|
126
148
|
attrs: {
|
|
127
149
|
"variant": Number(value) === Number(_vm.proxyModelValue) ? 'contained' : 'text',
|
|
128
150
|
"color": Number(value) === Number(_vm.proxyModelValue) ? 'primary' : 'inherit',
|
|
@@ -135,7 +157,7 @@ var __vue_render__$1 = function () {
|
|
|
135
157
|
}
|
|
136
158
|
}
|
|
137
159
|
}, [_vm._v("\n " + _vm._s(_vm.formatDay(value)) + "\n ")]);
|
|
138
|
-
}),
|
|
160
|
+
})], 2)]);
|
|
139
161
|
};
|
|
140
162
|
var __vue_staticRenderFns__$1 = [];
|
|
141
163
|
|
|
@@ -21,11 +21,11 @@ export { _ as OrCollapse } from '../OrCollapse-50e3914c.js';
|
|
|
21
21
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-fa92b4fa.js';
|
|
22
22
|
export { _ as OrConfirm } from '../OrConfirm-497cd260.js';
|
|
23
23
|
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-a4f2c6db.js';
|
|
24
|
-
export { _ as OrDatePickerV3 } from '../OrDatePicker-
|
|
24
|
+
export { _ as OrDatePickerV3 } from '../OrDatePicker-f24e50af.js';
|
|
25
25
|
export { _ as OrInputBoxV3 } from '../OrInputBox-0f4e8500.js';
|
|
26
26
|
export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from '../OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
|
|
27
27
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-c88ca716.js';
|
|
28
|
-
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-
|
|
28
|
+
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-a65f6007.js';
|
|
29
29
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from '../OrEmptyState-2d3fd68d.js';
|
|
30
30
|
export { _ as OrError } from '../OrError-efc74907.js';
|
|
31
31
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-a55ae01a.js';
|
|
@@ -136,7 +136,7 @@ import '../dom-7a41831b.js';
|
|
|
136
136
|
import '@vueuse/math';
|
|
137
137
|
import '../dropdown-open-e1f90e0a.js';
|
|
138
138
|
import '../useValidationAttributes-d1abbe34.js';
|
|
139
|
-
import '../OrDateTimePickerMonthSelect-
|
|
139
|
+
import '../OrDateTimePickerMonthSelect-d49207f4.js';
|
|
140
140
|
import '../OrDateTimePickerPopoverHeader-93f19c1d.js';
|
|
141
141
|
import '../OrDateTimePickerTimeSelect-46dac0e1.js';
|
|
142
142
|
import '@floating-ui/dom';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { _ as OrDatePickerV3 } from '../../OrDatePicker-
|
|
1
|
+
export { _ as OrDatePickerV3 } from '../../OrDatePicker-f24e50af.js';
|
|
2
2
|
export { I as DatePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
5
5
|
import '../../useIdAttribute-859439f0.js';
|
|
6
6
|
import '@vueuse/core';
|
|
7
7
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
8
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
8
|
+
import '../../OrDateTimePickerMonthSelect-d49207f4.js';
|
|
9
9
|
import '../../OrButton-6b60a776.js';
|
|
10
10
|
import '../../OrLoader-b0c381f9.js';
|
|
11
11
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-
|
|
1
|
+
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-a65f6007.js';
|
|
2
2
|
export { I as DateTimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -21,7 +21,7 @@ import '../../OrTeleport.vue2-fb92f29f.js';
|
|
|
21
21
|
import 'portal-vue';
|
|
22
22
|
import '../../OrInputBox-0f4e8500.js';
|
|
23
23
|
import '../../OrLabel-63380256.js';
|
|
24
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
24
|
+
import '../../OrDateTimePickerMonthSelect-d49207f4.js';
|
|
25
25
|
import '../../OrButton-6b60a776.js';
|
|
26
26
|
import '../../OrLoader-b0c381f9.js';
|
|
27
27
|
import '../../OrDateTimePickerPopoverHeader-93f19c1d.js';
|
|
@@ -3,9 +3,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
3
3
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
4
4
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
5
5
|
buttonGroupStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
|
-
|
|
6
|
+
buttonGroupWeekdayItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
+
buttonGroupDayItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
8
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<Date>;
|
|
8
9
|
dayOptions: import("@vue/composition-api").ComputedRef<Date[]>;
|
|
10
|
+
formatWeekday: (value: Date) => string;
|
|
9
11
|
formatDay: (value: Date) => string;
|
|
10
12
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
11
13
|
modelValue: {
|
|
@@ -34,9 +36,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
34
36
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
35
37
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
36
38
|
buttonGroupStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
37
|
-
|
|
39
|
+
buttonGroupWeekdayItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
40
|
+
buttonGroupDayItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
38
41
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<Date>;
|
|
39
42
|
dayOptions: import("@vue/composition-api").ComputedRef<Date[]>;
|
|
43
|
+
formatWeekday: (value: Date) => string;
|
|
40
44
|
formatDay: (value: Date) => string;
|
|
41
45
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
42
46
|
filter: (value: Date) => boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const DateTimePickerDaySelect: string[];
|
|
2
2
|
export declare const DateTimePickerDaySelectButtonGroup: string[];
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const DateTimePickerDaySelectButtonGroupWeekdayItem: string[];
|
|
4
|
+
export declare const DateTimePickerDaySelectButtonGroupDayItem: string[];
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -21,11 +21,11 @@ export { _ as OrCollapse } from './OrCollapse-50e3914c.js';
|
|
|
21
21
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-fa92b4fa.js';
|
|
22
22
|
export { _ as OrConfirm } from './OrConfirm-497cd260.js';
|
|
23
23
|
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-a4f2c6db.js';
|
|
24
|
-
export { _ as OrDatePickerV3 } from './OrDatePicker-
|
|
24
|
+
export { _ as OrDatePickerV3 } from './OrDatePicker-f24e50af.js';
|
|
25
25
|
export { _ as OrInputBoxV3 } from './OrInputBox-0f4e8500.js';
|
|
26
26
|
export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
|
|
27
27
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-c88ca716.js';
|
|
28
|
-
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
28
|
+
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-a65f6007.js';
|
|
29
29
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-2d3fd68d.js';
|
|
30
30
|
export { _ as OrError } from './OrError-efc74907.js';
|
|
31
31
|
export { _ as OrErrorTagV3 } from './OrErrorTag-a55ae01a.js';
|
|
@@ -140,7 +140,7 @@ import '@lezer/highlight';
|
|
|
140
140
|
import './px-to-rem-0b26b83e.js';
|
|
141
141
|
import './dom-7a41831b.js';
|
|
142
142
|
import '@vueuse/math';
|
|
143
|
-
import './OrDateTimePickerMonthSelect-
|
|
143
|
+
import './OrDateTimePickerMonthSelect-d49207f4.js';
|
|
144
144
|
import './OrDateTimePickerPopoverHeader-93f19c1d.js';
|
|
145
145
|
import './OrDateTimePickerTimeSelect-46dac0e1.js';
|
|
146
146
|
import '@floating-ui/dom';
|
|
@@ -3,7 +3,7 @@ import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.
|
|
|
3
3
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
6
|
-
import { s as script$1, a as script$3, u as useDateFormat } from './OrDateTimePickerMonthSelect-
|
|
6
|
+
import { s as script$1, a as script$3, u as useDateFormat } from './OrDateTimePickerMonthSelect-315f7a54.js';
|
|
7
7
|
import { s as script$2, a as script$4, b as script$5 } from './OrDateTimePickerPopoverHeader-92a85080.js';
|
|
8
8
|
import { s as script$6 } from './OrError-c01d0c29.js';
|
|
9
9
|
import { s as script$7 } from './OrHint-06ab89d7.js';
|
|
@@ -9,7 +9,7 @@ import { s as script$9 } from './OrIconButton-1f288e53.js';
|
|
|
9
9
|
import { s as script$a, I as InputBoxSize } from './OrInputBox-901887a1.js';
|
|
10
10
|
import { s as script$b } from './OrLabel-4da56db0.js';
|
|
11
11
|
import { s as script$c } from './OrPopover-64e3977f.js';
|
|
12
|
-
import { s as script$1, a as script$3, u as useDateFormat } from './OrDateTimePickerMonthSelect-
|
|
12
|
+
import { s as script$1, a as script$3, u as useDateFormat } from './OrDateTimePickerMonthSelect-315f7a54.js';
|
|
13
13
|
import { s as script$6, u as useTimeFormat } from './OrDateTimePickerTimeSelect-00697b44.js';
|
|
14
14
|
import { s as script$2, a as script$4, b as script$5 } from './OrDateTimePickerPopoverHeader-92a85080.js';
|
|
15
15
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, mergeProps, createVNode, createElementVNode, withModifiers, Fragment } from 'vue';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { s as script$2 } from './OrButton-8558588c.js';
|
|
3
3
|
import { u as useDefaultYear, c as useDefaultMonth, d as useDefaultDate, e as useDefaultHours, f as useDefaultMinutes } from './OrDateTimePickerPopoverHeader-92a85080.js';
|
|
4
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode,
|
|
4
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString, createBlock, withModifiers, withCtx, createTextVNode, createVNode } from 'vue';
|
|
5
5
|
import { s as script$4 } from './OrIconButton-1f288e53.js';
|
|
6
6
|
import { s as script$3 } from './OrIcon-62793572.js';
|
|
7
7
|
import { s as script$6 } from './OrMenuItem-dbee450f.js';
|
|
@@ -26,7 +26,16 @@ const DateTimePickerDaySelectButtonGroup = [
|
|
|
26
26
|
'grid', 'grid-cols-7',
|
|
27
27
|
// Spacing
|
|
28
28
|
'gap-xs'];
|
|
29
|
-
const
|
|
29
|
+
const DateTimePickerDaySelectButtonGroupWeekdayItem = [
|
|
30
|
+
// Box
|
|
31
|
+
'min-w-fit',
|
|
32
|
+
// Spacing
|
|
33
|
+
'px-sm', 'py-sm',
|
|
34
|
+
// Typography
|
|
35
|
+
'typography-caption-regular',
|
|
36
|
+
// Theme
|
|
37
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
38
|
+
const DateTimePickerDaySelectButtonGroupDayItem = [
|
|
30
39
|
// Box
|
|
31
40
|
'min-w-fit',
|
|
32
41
|
// Spacing
|
|
@@ -61,7 +70,8 @@ var script$1 = defineComponent({
|
|
|
61
70
|
// Styles
|
|
62
71
|
const rootStyles = computed(() => ['or-date-time-picker-day-select', ...DateTimePickerDaySelect]);
|
|
63
72
|
const buttonGroupStyles = computed(() => [...DateTimePickerDaySelectButtonGroup]);
|
|
64
|
-
const
|
|
73
|
+
const buttonGroupWeekdayItemStyles = computed(() => [...DateTimePickerDaySelectButtonGroupWeekdayItem]);
|
|
74
|
+
const buttonGroupDayItemStyles = computed(() => [...DateTimePickerDaySelectButtonGroupDayItem]);
|
|
65
75
|
// State
|
|
66
76
|
const proxyModelValue = computed({
|
|
67
77
|
get: () => {
|
|
@@ -88,6 +98,12 @@ var script$1 = defineComponent({
|
|
|
88
98
|
})();
|
|
89
99
|
});
|
|
90
100
|
// Methods
|
|
101
|
+
function formatWeekday(value) {
|
|
102
|
+
return value.toLocaleString('default', {
|
|
103
|
+
weekday: 'short',
|
|
104
|
+
timeZone: 'UTC'
|
|
105
|
+
});
|
|
106
|
+
}
|
|
91
107
|
function formatDay(value) {
|
|
92
108
|
return value.toLocaleString('default', {
|
|
93
109
|
day: 'numeric',
|
|
@@ -98,9 +114,11 @@ var script$1 = defineComponent({
|
|
|
98
114
|
root,
|
|
99
115
|
rootStyles,
|
|
100
116
|
buttonGroupStyles,
|
|
101
|
-
|
|
117
|
+
buttonGroupWeekdayItemStyles,
|
|
118
|
+
buttonGroupDayItemStyles,
|
|
102
119
|
proxyModelValue,
|
|
103
120
|
dayOptions,
|
|
121
|
+
formatWeekday,
|
|
104
122
|
formatDay
|
|
105
123
|
};
|
|
106
124
|
}
|
|
@@ -113,10 +131,14 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
113
131
|
class: normalizeClass(_ctx.rootStyles)
|
|
114
132
|
}, [createElementVNode("div", {
|
|
115
133
|
class: normalizeClass(_ctx.buttonGroupStyles)
|
|
116
|
-
}, [(openBlock(
|
|
134
|
+
}, [(openBlock(), createElementBlock(Fragment, null, renderList(7, i => {
|
|
135
|
+
return createElementVNode("div", {
|
|
136
|
+
class: normalizeClass(_ctx.buttonGroupWeekdayItemStyles)
|
|
137
|
+
}, toDisplayString(_ctx.formatWeekday(_ctx.dayOptions[i - 1])), 3 /* TEXT, CLASS */);
|
|
138
|
+
}), 64 /* STABLE_FRAGMENT */)), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.dayOptions, value => {
|
|
117
139
|
return openBlock(), createBlock(_component_OrButton, {
|
|
118
140
|
key: Number(value),
|
|
119
|
-
class: normalizeClass(_ctx.
|
|
141
|
+
class: normalizeClass(_ctx.buttonGroupDayItemStyles),
|
|
120
142
|
variant: Number(value) === Number(_ctx.proxyModelValue) ? 'contained' : 'text',
|
|
121
143
|
color: Number(value) === Number(_ctx.proxyModelValue) ? 'primary' : 'inherit',
|
|
122
144
|
disabled: _ctx.filter && !_ctx.filter(value),
|
|
@@ -20,10 +20,10 @@ export { s as OrCollapse } from '../OrCollapse-37a52e8f.js';
|
|
|
20
20
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-9a149e6b.js';
|
|
21
21
|
export { s as OrConfirm } from '../OrConfirm-1ffb7ed6.js';
|
|
22
22
|
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-ad5f8c2c.js';
|
|
23
|
-
export { s as OrDatePickerV3 } from '../OrDatePicker-
|
|
23
|
+
export { s as OrDatePickerV3 } from '../OrDatePicker-9bf74aab.js';
|
|
24
24
|
export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from '../OrInputBox-901887a1.js';
|
|
25
25
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-02c6de49.js';
|
|
26
|
-
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker-
|
|
26
|
+
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker-1d5941b7.js';
|
|
27
27
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState-5349a1f9.js';
|
|
28
28
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
29
29
|
export { s as OrErrorTagV3 } from '../OrErrorTag-ade9192b.js';
|
|
@@ -132,7 +132,7 @@ import '../dom-7a41831b.js';
|
|
|
132
132
|
import '@vueuse/math';
|
|
133
133
|
import '../dropdown-open-e1f90e0a.js';
|
|
134
134
|
import '../useValidationAttributes-d1abbe34.js';
|
|
135
|
-
import '../OrDateTimePickerMonthSelect-
|
|
135
|
+
import '../OrDateTimePickerMonthSelect-315f7a54.js';
|
|
136
136
|
import '../OrDateTimePickerPopoverHeader-92a85080.js';
|
|
137
137
|
import '../OrDateTimePickerTimeSelect-00697b44.js';
|
|
138
138
|
import '@floating-ui/dom';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { s as OrDatePickerV3 } from '../../OrDatePicker-
|
|
1
|
+
export { s as OrDatePickerV3 } from '../../OrDatePicker-9bf74aab.js';
|
|
2
2
|
export { I as DatePickerSize } from '../../OrInputBox-901887a1.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
5
5
|
import '../../useIdAttribute-859439f0.js';
|
|
6
6
|
import '@vueuse/core';
|
|
7
7
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
8
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
8
|
+
import '../../OrDateTimePickerMonthSelect-315f7a54.js';
|
|
9
9
|
import '../../OrButton-8558588c.js';
|
|
10
10
|
import '../../OrLoader-b79022da.js';
|
|
11
11
|
import 'vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker-
|
|
1
|
+
export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker-1d5941b7.js';
|
|
2
2
|
export { I as DateTimePickerSize } from '../../OrInputBox-901887a1.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
|
@@ -19,7 +19,7 @@ import '../../OrBottomSheet-e8499538.js';
|
|
|
19
19
|
import '../../OrOverlay-7cf03aea.js';
|
|
20
20
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
21
21
|
import '../../OrLabel-4da56db0.js';
|
|
22
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
22
|
+
import '../../OrDateTimePickerMonthSelect-315f7a54.js';
|
|
23
23
|
import '../../OrButton-8558588c.js';
|
|
24
24
|
import '../../OrLoader-b79022da.js';
|
|
25
25
|
import '../../OrDateTimePickerPopoverHeader-92a85080.js';
|
|
@@ -3,9 +3,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
3
3
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
4
4
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
5
5
|
buttonGroupStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
|
-
|
|
6
|
+
buttonGroupWeekdayItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
|
+
buttonGroupDayItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
8
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<Date>;
|
|
8
9
|
dayOptions: import("@vue/composition-api").ComputedRef<Date[]>;
|
|
10
|
+
formatWeekday: (value: Date) => string;
|
|
9
11
|
formatDay: (value: Date) => string;
|
|
10
12
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
11
13
|
modelValue: {
|
|
@@ -34,9 +36,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
34
36
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
35
37
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
36
38
|
buttonGroupStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
37
|
-
|
|
39
|
+
buttonGroupWeekdayItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
40
|
+
buttonGroupDayItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
38
41
|
proxyModelValue: import("@vue/composition-api").WritableComputedRef<Date>;
|
|
39
42
|
dayOptions: import("@vue/composition-api").ComputedRef<Date[]>;
|
|
43
|
+
formatWeekday: (value: Date) => string;
|
|
40
44
|
formatDay: (value: Date) => string;
|
|
41
45
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
42
46
|
filter: (value: Date) => boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const DateTimePickerDaySelect: string[];
|
|
2
2
|
export declare const DateTimePickerDaySelectButtonGroup: string[];
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const DateTimePickerDaySelectButtonGroupWeekdayItem: string[];
|
|
4
|
+
export declare const DateTimePickerDaySelectButtonGroupDayItem: string[];
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -20,10 +20,10 @@ export { s as OrCollapse } from './OrCollapse-37a52e8f.js';
|
|
|
20
20
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-9a149e6b.js';
|
|
21
21
|
export { s as OrConfirm } from './OrConfirm-1ffb7ed6.js';
|
|
22
22
|
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-ad5f8c2c.js';
|
|
23
|
-
export { s as OrDatePickerV3 } from './OrDatePicker-
|
|
23
|
+
export { s as OrDatePickerV3 } from './OrDatePicker-9bf74aab.js';
|
|
24
24
|
export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox-901887a1.js';
|
|
25
25
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-02c6de49.js';
|
|
26
|
-
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
26
|
+
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-1d5941b7.js';
|
|
27
27
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-5349a1f9.js';
|
|
28
28
|
export { s as OrError } from './OrError-f90296db.js';
|
|
29
29
|
export { s as OrErrorTagV3 } from './OrErrorTag-ade9192b.js';
|
|
@@ -136,7 +136,7 @@ import '@lezer/highlight';
|
|
|
136
136
|
import './px-to-rem-0b26b83e.js';
|
|
137
137
|
import './dom-7a41831b.js';
|
|
138
138
|
import '@vueuse/math';
|
|
139
|
-
import './OrDateTimePickerMonthSelect-
|
|
139
|
+
import './OrDateTimePickerMonthSelect-315f7a54.js';
|
|
140
140
|
import './OrDateTimePickerPopoverHeader-92a85080.js';
|
|
141
141
|
import './OrDateTimePickerTimeSelect-00697b44.js';
|
|
142
142
|
import '@floating-ui/dom';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "4.0.4-beta.
|
|
3
|
+
"version": "4.0.4-beta.2523.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@codemirror/lang-json": "6.0.0",
|
|
39
39
|
"@codemirror/lang-markdown": "6.0.1",
|
|
40
40
|
"@floating-ui/dom": "0.3.1",
|
|
41
|
-
"@onereach/styles": "^2.37.4-beta.
|
|
41
|
+
"@onereach/styles": "^2.37.4-beta.2523.0",
|
|
42
42
|
"@splidejs/splide": "4.0.6",
|
|
43
43
|
"@types/lodash": "4.14.173",
|
|
44
44
|
"@types/sortablejs": "1.10.7",
|
|
@@ -4,10 +4,17 @@
|
|
|
4
4
|
:class="rootStyles"
|
|
5
5
|
>
|
|
6
6
|
<div :class="buttonGroupStyles">
|
|
7
|
+
<div
|
|
8
|
+
v-for="i in 7"
|
|
9
|
+
:class="buttonGroupWeekdayItemStyles"
|
|
10
|
+
>
|
|
11
|
+
{{ formatWeekday(dayOptions[i - 1]) }}
|
|
12
|
+
</div>
|
|
13
|
+
|
|
7
14
|
<OrButton
|
|
8
15
|
v-for="value in dayOptions"
|
|
9
16
|
:key="Number(value)"
|
|
10
|
-
:class="
|
|
17
|
+
:class="buttonGroupDayItemStyles"
|
|
11
18
|
:variant="Number(value) === Number(proxyModelValue) ? 'contained' : 'text'"
|
|
12
19
|
:color="Number(value) === Number(proxyModelValue) ? 'primary' : 'inherit'"
|
|
13
20
|
:disabled="filter && !filter(value)"
|
|
@@ -27,7 +34,7 @@ import { useDefaultHours } from '../../hooks/useDefaultHours';
|
|
|
27
34
|
import { useDefaultMinutes } from '../../hooks/useDefaultMinutes';
|
|
28
35
|
import { useDefaultMonth } from '../../hooks/useDefaultMonth';
|
|
29
36
|
import { useDefaultYear } from '../../hooks/useDefaultYear';
|
|
30
|
-
import { DateTimePickerDaySelect, DateTimePickerDaySelectButtonGroup,
|
|
37
|
+
import { DateTimePickerDaySelect, DateTimePickerDaySelectButtonGroup, DateTimePickerDaySelectButtonGroupDayItem, DateTimePickerDaySelectButtonGroupWeekdayItem } from './styles';
|
|
31
38
|
|
|
32
39
|
export default defineComponent({
|
|
33
40
|
name: 'OrDateTimePickerDaySelect',
|
|
@@ -75,8 +82,12 @@ export default defineComponent({
|
|
|
75
82
|
...DateTimePickerDaySelectButtonGroup,
|
|
76
83
|
]);
|
|
77
84
|
|
|
78
|
-
const
|
|
79
|
-
...
|
|
85
|
+
const buttonGroupWeekdayItemStyles = computed(() => [
|
|
86
|
+
...DateTimePickerDaySelectButtonGroupWeekdayItem,
|
|
87
|
+
]);
|
|
88
|
+
|
|
89
|
+
const buttonGroupDayItemStyles = computed(() => [
|
|
90
|
+
...DateTimePickerDaySelectButtonGroupDayItem,
|
|
80
91
|
]);
|
|
81
92
|
|
|
82
93
|
// State
|
|
@@ -147,6 +158,13 @@ export default defineComponent({
|
|
|
147
158
|
});
|
|
148
159
|
|
|
149
160
|
// Methods
|
|
161
|
+
function formatWeekday(value: Date): string {
|
|
162
|
+
return value.toLocaleString('default', {
|
|
163
|
+
weekday: 'short',
|
|
164
|
+
timeZone: 'UTC',
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
|
|
150
168
|
function formatDay(value: Date): string {
|
|
151
169
|
return value.toLocaleString('default', {
|
|
152
170
|
day: 'numeric',
|
|
@@ -158,9 +176,11 @@ export default defineComponent({
|
|
|
158
176
|
root,
|
|
159
177
|
rootStyles,
|
|
160
178
|
buttonGroupStyles,
|
|
161
|
-
|
|
179
|
+
buttonGroupWeekdayItemStyles,
|
|
180
|
+
buttonGroupDayItemStyles,
|
|
162
181
|
proxyModelValue,
|
|
163
182
|
dayOptions,
|
|
183
|
+
formatWeekday,
|
|
164
184
|
formatDay,
|
|
165
185
|
};
|
|
166
186
|
},
|
package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-day-select/styles.ts
CHANGED
|
@@ -18,7 +18,23 @@ export const DateTimePickerDaySelectButtonGroup: string[] = [
|
|
|
18
18
|
'gap-xs',
|
|
19
19
|
];
|
|
20
20
|
|
|
21
|
-
export const
|
|
21
|
+
export const DateTimePickerDaySelectButtonGroupWeekdayItem: string[] = [
|
|
22
|
+
// Box
|
|
23
|
+
'min-w-fit',
|
|
24
|
+
|
|
25
|
+
// Spacing
|
|
26
|
+
'px-sm',
|
|
27
|
+
'py-sm',
|
|
28
|
+
|
|
29
|
+
// Typography
|
|
30
|
+
'typography-caption-regular',
|
|
31
|
+
|
|
32
|
+
// Theme
|
|
33
|
+
'theme-foreground-outline',
|
|
34
|
+
'dark:theme-foreground-outline-dark',
|
|
35
|
+
];
|
|
36
|
+
|
|
37
|
+
export const DateTimePickerDaySelectButtonGroupDayItem: string[] = [
|
|
22
38
|
// Box
|
|
23
39
|
'min-w-fit',
|
|
24
40
|
|