@onereach/ui-components 8.18.3 → 8.18.4-beta.3950.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 +2 -2
- package/dist/bundled/v2/components/OrDateRangePickerV3/OrDateRangePicker.js +2 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +4 -4
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +3 -4
- package/dist/bundled/v2/components/OrNotificationV3/styles.js +11 -9
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +2 -2
- package/dist/bundled/v2/components/OrTimeRangePickerV3/OrTimeRangePicker.js +6 -6
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/OrDateFormat.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDateFormatV3-b88a046a.js → OrDateFormatV3-b523ab10.js} +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDatePickerV3-cf890376.js → OrDatePickerV3-d10c84a0.js} +3 -3
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDateRangePickerV3-9860ac68.js → OrDateRangePickerV3-e4622ef4.js} +3 -3
- package/dist/bundled/v3/components/OrDateTimeFormatV3/OrDateTimeFormat.js +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDateTimeFormatV3-970134b7.js → OrDateTimeFormatV3-45a917a8.js} +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/props.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatTime.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getCurrentDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getDatePlaceholder.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getNextMonthDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getTimePlaceholder.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/index.js +1 -1
- package/dist/bundled/v3/components/{OrDateTimePickerV3-cb582ca0.js → OrDateTimePickerV3-c86c9381.js} +4 -4
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +1 -1
- package/dist/bundled/v3/components/OrNotificationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrNotificationV3/props.js +1 -1
- package/dist/bundled/v3/components/OrNotificationV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrNotificationV3-722fcfc1.js → OrNotificationV3-0aa9e605.js} +13 -14
- package/dist/bundled/v3/components/OrTimeFormatV3/OrTimeFormat.js +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimeFormatV3-2734e8fa.js → OrTimeFormatV3-86e045f2.js} +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimePickerV3-281585a5.js → OrTimePickerV3-82cef5f1.js} +3 -3
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.vue.d.ts +1 -125
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimeRangePickerV3-195df692.js → OrTimeRangePickerV3-f0199e08.js} +7 -7
- package/dist/bundled/v3/components/index.js +9 -9
- package/dist/bundled/v3/index.js +10 -10
- package/dist/esm/v2/{OrDatePicker-0a22ea42.js → OrDatePicker-587e47a7.js} +2 -2
- package/dist/esm/v2/{OrDateRangePicker-14e9413a.js → OrDateRangePicker-5506d401.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-c95b1582.js → OrDateTimePicker-981f0e01.js} +4 -4
- package/dist/esm/v2/{OrNotification-8f24d0ea.js → OrNotification-086a8246.js} +12 -13
- package/dist/esm/v2/{OrTimePicker-cd42023a.js → OrTimePicker-aa6f9dac.js} +2 -2
- package/dist/esm/v2/{OrTimeRangePicker-39820fd8.js → OrTimeRangePicker-e6973f8d.js} +6 -6
- package/dist/esm/v2/components/index.js +6 -6
- package/dist/esm/v2/components/or-date-picker-v3/index.js +1 -1
- package/dist/esm/v2/components/or-date-range-picker-v3/index.js +1 -1
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +1 -1
- package/dist/esm/v2/components/or-notification-v3/index.js +1 -1
- package/dist/esm/v2/components/or-time-picker-v3/index.js +1 -1
- package/dist/esm/v2/components/or-time-range-picker-v3/index.js +1 -1
- package/dist/esm/v2/index.js +6 -6
- package/dist/esm/v3/{OrDateFormat-5fee3e3a.js → OrDateFormat-3fbec49a.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-ee7d02bc.js → OrDatePicker-ca8e9c09.js} +3 -3
- package/dist/esm/v3/{OrDateRangePicker-2fd73580.js → OrDateRangePicker-4ae9c7fe.js} +3 -3
- package/dist/esm/v3/{OrDateTimeFormat-0c9deda2.js → OrDateTimeFormat-37315ed6.js} +1 -1
- package/dist/esm/v3/{OrDateTimePicker-647ff5f1.js → OrDateTimePicker-ef033b4b.js} +4 -4
- package/dist/esm/v3/{OrNotification-9a3790cc.js → OrNotification-f9ae23fe.js} +13 -14
- package/dist/esm/v3/{OrTimeFormat-a256b6f2.js → OrTimeFormat-1aa5352c.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-b1c40457.js → OrTimePicker-e8fd78ba.js} +3 -3
- package/dist/esm/v3/{OrTimeRangePicker-9c8ece38.js → OrTimeRangePicker-d852fcc9.js} +7 -7
- package/dist/esm/v3/components/index.js +9 -9
- package/dist/esm/v3/components/or-date-format-v3/index.js +2 -2
- package/dist/esm/v3/components/or-date-picker-v3/index.js +2 -2
- package/dist/esm/v3/components/or-date-range-picker-v3/index.js +2 -2
- package/dist/esm/v3/components/or-date-time-format-v3/index.js +2 -2
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +1 -1
- package/dist/esm/v3/components/or-notification-v3/index.js +1 -1
- package/dist/esm/v3/components/or-time-format-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-picker-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-range-picker-v3/OrTimeRangePicker.vue.d.ts +1 -125
- package/dist/esm/v3/components/or-time-range-picker-v3/index.js +2 -2
- package/dist/esm/v3/index.js +9 -9
- package/package.json +2 -3
- package/src/components/or-date-picker-v3/OrDatePicker.vue +2 -2
- package/src/components/or-date-range-picker-v3/OrDateRangePicker.vue +2 -2
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +4 -4
- package/src/components/or-notification-v3/OrNotification.vue +6 -7
- package/src/components/or-notification-v3/styles.ts +9 -9
- package/src/components/or-time-picker-v3/OrTimePicker.vue +2 -2
- package/src/components/or-time-range-picker-v3/OrTimeRangePicker.vue +6 -6
|
@@ -342,11 +342,11 @@ var __vue_render__ = function () {
|
|
|
342
342
|
on: {
|
|
343
343
|
"apply": function ($event) {
|
|
344
344
|
_vm.apply();
|
|
345
|
-
_vm.popover.close();
|
|
345
|
+
_vm.popover && _vm.popover.close();
|
|
346
346
|
},
|
|
347
347
|
"reset": function ($event) {
|
|
348
348
|
_vm.reset();
|
|
349
|
-
_vm.popover.close();
|
|
349
|
+
_vm.popover && _vm.popover.close();
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
})], 1), _vm._v(" "), _c('div', {
|
|
@@ -453,11 +453,11 @@ var __vue_render__ = function () {
|
|
|
453
453
|
on: {
|
|
454
454
|
"apply": function ($event) {
|
|
455
455
|
_vm.apply();
|
|
456
|
-
_vm.popover.close();
|
|
456
|
+
_vm.popover && _vm.popover.close();
|
|
457
457
|
},
|
|
458
458
|
"reset": function ($event) {
|
|
459
459
|
_vm.reset();
|
|
460
|
-
_vm.popover.close();
|
|
460
|
+
_vm.popover && _vm.popover.close();
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
})], 1), _vm._v(" "), _c('div', {
|
|
@@ -176,11 +176,11 @@ var __vue_render__ = function () {
|
|
|
176
176
|
on: {
|
|
177
177
|
"apply": function ($event) {
|
|
178
178
|
_vm.apply();
|
|
179
|
-
_vm.datePopover.close();
|
|
179
|
+
_vm.datePopover && _vm.datePopover.close();
|
|
180
180
|
},
|
|
181
181
|
"reset": function ($event) {
|
|
182
182
|
_vm.reset();
|
|
183
|
-
_vm.datePopover.close();
|
|
183
|
+
_vm.datePopover && _vm.datePopover.close();
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
})], 1), _vm._v(" "), _c('OrPopover', {
|
|
@@ -229,11 +229,11 @@ var __vue_render__ = function () {
|
|
|
229
229
|
on: {
|
|
230
230
|
"apply": function ($event) {
|
|
231
231
|
_vm.apply();
|
|
232
|
-
_vm.timePopover.close();
|
|
232
|
+
_vm.timePopover && _vm.timePopover.close();
|
|
233
233
|
},
|
|
234
234
|
"reset": function ($event) {
|
|
235
235
|
_vm.reset();
|
|
236
|
-
_vm.timePopover.close();
|
|
236
|
+
_vm.timePopover && _vm.timePopover.close();
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
})], 1), _vm._v(" "), _c('div', {
|
|
@@ -13,7 +13,7 @@ var NotificationVariant;
|
|
|
13
13
|
|
|
14
14
|
const Notification = [
|
|
15
15
|
// Layout
|
|
16
|
-
'layout-row
|
|
16
|
+
'layout-row',
|
|
17
17
|
// Shape
|
|
18
18
|
'rounded-md',
|
|
19
19
|
// Spacing
|
|
@@ -27,22 +27,22 @@ const Notification = [
|
|
|
27
27
|
// Theme
|
|
28
28
|
'theme-foreground-default', 'dark:theme-foreground-default-dark'];
|
|
29
29
|
const NotificationVariants = {
|
|
30
|
-
|
|
30
|
+
[NotificationVariant.Success]: [
|
|
31
31
|
// Theme
|
|
32
32
|
'theme-background-success-container', 'dark:theme-background-success-container-dark',
|
|
33
33
|
// Theme (children)
|
|
34
34
|
'[&_:any-link]:theme-foreground-success', 'dark:[&_:any-link]:theme-foreground-success-dark'],
|
|
35
|
-
|
|
35
|
+
[NotificationVariant.Warning]: [
|
|
36
36
|
// Theme
|
|
37
37
|
'theme-background-warning-container', 'dark:theme-background-warning-container-dark',
|
|
38
38
|
// Theme (children)
|
|
39
39
|
'[&_:any-link]:theme-foreground-warning', 'dark:[&_:any-link]:theme-foreground-warning-dark'],
|
|
40
|
-
|
|
40
|
+
[NotificationVariant.Error]: [
|
|
41
41
|
// Theme
|
|
42
42
|
'theme-background-error-container', 'dark:theme-background-error-container-dark',
|
|
43
43
|
// Theme (children)
|
|
44
44
|
'[&_:any-link]:theme-foreground-error', 'dark:[&_:any-link]:theme-foreground-error-dark'],
|
|
45
|
-
|
|
45
|
+
[NotificationVariant.Info]: [
|
|
46
46
|
// Theme
|
|
47
47
|
'theme-background-primary-container', 'dark:theme-background-primary-container-dark',
|
|
48
48
|
// Theme (children)
|
|
@@ -50,16 +50,16 @@ const NotificationVariants = {
|
|
|
50
50
|
};
|
|
51
51
|
const NotificationIcon = [];
|
|
52
52
|
const NotificationIconVariants = {
|
|
53
|
-
|
|
53
|
+
[NotificationVariant.Success]: [
|
|
54
54
|
// Theme
|
|
55
55
|
'theme-foreground-success', 'dark:theme-foreground-success-dark'],
|
|
56
|
-
|
|
56
|
+
[NotificationVariant.Warning]: [
|
|
57
57
|
// Theme
|
|
58
58
|
'theme-foreground-warning', 'dark:theme-foreground-warning-dark'],
|
|
59
|
-
|
|
59
|
+
[NotificationVariant.Error]: [
|
|
60
60
|
// Theme
|
|
61
61
|
'theme-foreground-error', 'dark:theme-foreground-error-dark'],
|
|
62
|
-
|
|
62
|
+
[NotificationVariant.Info]: [
|
|
63
63
|
// Theme
|
|
64
64
|
'theme-foreground-primary', 'dark:theme-foreground-primary-dark']
|
|
65
65
|
};
|
|
@@ -120,15 +120,14 @@ var __vue_render__ = function () {
|
|
|
120
120
|
return _c('div', {
|
|
121
121
|
ref: "root",
|
|
122
122
|
class: _vm.rootStyles
|
|
123
|
-
}, [_c('div', {
|
|
124
|
-
class: _vm.iconStyles
|
|
125
123
|
}, [_c('OrIcon', {
|
|
124
|
+
class: _vm.iconStyles,
|
|
126
125
|
attrs: {
|
|
127
126
|
"icon": _vm.icon,
|
|
128
127
|
"variant": 'filled-bold'
|
|
129
128
|
}
|
|
130
|
-
})
|
|
131
|
-
class: ['grow'
|
|
129
|
+
}), _vm._v(" "), _c('div', {
|
|
130
|
+
class: ['grow']
|
|
132
131
|
}, [_vm._t("default")], 2), _vm._v(" "), !_vm.disableClose ? _c('OrIconButton', {
|
|
133
132
|
attrs: {
|
|
134
133
|
"icon": 'close',
|
|
@@ -328,11 +328,11 @@ var __vue_render__ = function () {
|
|
|
328
328
|
on: {
|
|
329
329
|
"apply": function ($event) {
|
|
330
330
|
_vm.apply();
|
|
331
|
-
_vm.popover.close();
|
|
331
|
+
_vm.popover && _vm.popover.close();
|
|
332
332
|
},
|
|
333
333
|
"reset": function ($event) {
|
|
334
334
|
_vm.reset();
|
|
335
|
-
_vm.popover.close();
|
|
335
|
+
_vm.popover && _vm.popover.close();
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
})], 1), _vm._v(" "), _c('div', {
|
|
@@ -111,9 +111,9 @@ var script = defineComponent({
|
|
|
111
111
|
const rootStyles = computed(() => ['or-time-range-picker-v3', ...TimeRangePicker]);
|
|
112
112
|
const popoverStyles = computed(() => ['or-time-range-picker-popover-v3', ...TimeRangePickerPopover]);
|
|
113
113
|
// State
|
|
114
|
-
const initialValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : getCurrentDate());
|
|
114
|
+
const initialValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : [getCurrentDate(), getCurrentDate()]);
|
|
115
115
|
watch(() => props.modelValue, value => {
|
|
116
|
-
initialValue.value = value !== null && value !== void 0 ? value : getCurrentDate();
|
|
116
|
+
initialValue.value = value !== null && value !== void 0 ? value : [getCurrentDate(), getCurrentDate()];
|
|
117
117
|
});
|
|
118
118
|
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
119
119
|
const draftModelValue = ref((_b = proxyModelValue.value) !== null && _b !== void 0 ? _b : [undefined, undefined]);
|
|
@@ -371,7 +371,7 @@ var __vue_render__ = function () {
|
|
|
371
371
|
}, [_vm.isDesktop || _vm.isMobile && _vm.selectedControl === 'from' ? [_c('OrDateTimePickerTimeSelect', {
|
|
372
372
|
class: ['grow'],
|
|
373
373
|
attrs: {
|
|
374
|
-
"initial-value": _vm.initialValue,
|
|
374
|
+
"initial-value": _vm.initialValue[0],
|
|
375
375
|
"format": _vm.format
|
|
376
376
|
},
|
|
377
377
|
model: {
|
|
@@ -384,7 +384,7 @@ var __vue_render__ = function () {
|
|
|
384
384
|
})] : _vm._e(), _vm._v(" "), _vm.isDesktop || _vm.isMobile && _vm.selectedControl === 'to' ? [_c('OrDateTimePickerTimeSelect', {
|
|
385
385
|
class: ['grow'],
|
|
386
386
|
attrs: {
|
|
387
|
-
"initial-value": _vm.initialValue,
|
|
387
|
+
"initial-value": _vm.initialValue[1],
|
|
388
388
|
"format": _vm.format
|
|
389
389
|
},
|
|
390
390
|
model: {
|
|
@@ -401,11 +401,11 @@ var __vue_render__ = function () {
|
|
|
401
401
|
on: {
|
|
402
402
|
"apply": function ($event) {
|
|
403
403
|
_vm.apply();
|
|
404
|
-
_vm.popover.close();
|
|
404
|
+
_vm.popover && _vm.popover.close();
|
|
405
405
|
},
|
|
406
406
|
"reset": function ($event) {
|
|
407
407
|
_vm.reset();
|
|
408
|
-
_vm.popover.close();
|
|
408
|
+
_vm.popover && _vm.popover.close();
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
})], 1), _vm._v(" "), _c('div', {
|
|
@@ -38,11 +38,11 @@ export { _ as OrContextMenuV3 } from '../OrContextMenu-c8932997.js';
|
|
|
38
38
|
export { _ as OrMenuV3 } from '../OrMenu-8802ee12.js';
|
|
39
39
|
export { P as ContextMenuPlacement, P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-7d9405fb.js';
|
|
40
40
|
export { _ as OrDateFormatV3 } from '../OrDateFormat-5e3b12fc.js';
|
|
41
|
-
export { _ as OrDatePickerV3 } from '../OrDatePicker-
|
|
42
|
-
export { _ as OrDateRangePickerV3 } from '../OrDateRangePicker-
|
|
41
|
+
export { _ as OrDatePickerV3 } from '../OrDatePicker-587e47a7.js';
|
|
42
|
+
export { _ as OrDateRangePickerV3 } from '../OrDateRangePicker-5506d401.js';
|
|
43
43
|
export { _ as OrDateTimeFormatV3 } from '../OrDateTimeFormat-30e78da3.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-
|
|
45
|
+
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-981f0e01.js';
|
|
46
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-441799e2.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';
|
|
@@ -79,7 +79,7 @@ export { _ as OrMenuItemV3 } from '../OrMenuItem-fbe3e8e4.js';
|
|
|
79
79
|
export { _ as OrModal, O as OrModalSizes } from '../OrModal-2a962f80.js';
|
|
80
80
|
export { M as ModalSize, _ as OrModalV3 } from '../OrModal-333f7706.js';
|
|
81
81
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-4957a85a.js';
|
|
82
|
-
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-
|
|
82
|
+
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-086a8246.js';
|
|
83
83
|
export { _ as OrNumberInput } from '../OrNumberInput-7f0d6f74.js';
|
|
84
84
|
export { _ as OrOverflowMenu } from '../OrOverflowMenu-b867545d.js';
|
|
85
85
|
export { _ as OrOverlay } from '../OrOverlay-ccec2218.js';
|
|
@@ -134,8 +134,8 @@ export { _ as OrTextarea } from '../OrTextarea-9febab19.js';
|
|
|
134
134
|
export { _ as OrTextareaV3 } from '../OrTextarea-bb0b0e63.js';
|
|
135
135
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-2ae0ee03.js';
|
|
136
136
|
export { _ as OrTimeFormatV3 } from '../OrTimeFormat-f88cbf6f.js';
|
|
137
|
-
export { _ as OrTimePickerV3 } from '../OrTimePicker-
|
|
138
|
-
export { _ as OrTimeRangePickerV3 } from '../OrTimeRangePicker-
|
|
137
|
+
export { _ as OrTimePickerV3 } from '../OrTimePicker-aa6f9dac.js';
|
|
138
|
+
export { _ as OrTimeRangePickerV3 } from '../OrTimeRangePicker-e6973f8d.js';
|
|
139
139
|
export { _ as OrToast, a as OrToastContainer } from '../OrToastContainer-3085d81a.js';
|
|
140
140
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-05a9c81b.js';
|
|
141
141
|
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-7e602e28.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrDatePickerV3 } from '../../OrDatePicker-
|
|
1
|
+
export { _ as OrDatePickerV3 } from '../../OrDatePicker-587e47a7.js';
|
|
2
2
|
export { I as DatePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-65ebcf4d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-06d651cf.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrDateRangePickerV3 } from '../../OrDateRangePicker-
|
|
1
|
+
export { _ as OrDateRangePickerV3 } from '../../OrDateRangePicker-5506d401.js';
|
|
2
2
|
export { I as DateRangePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-65ebcf4d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-06d651cf.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-
|
|
1
|
+
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-981f0e01.js';
|
|
2
2
|
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-441799e2.js';
|
|
3
3
|
export { D as DateTimePickerTimeFormat, f as formatDate, a as formatTime, g as getDatePlaceholder, b as getTimePlaceholder } from '../../getTimePlaceholder-3b2885bf.js';
|
|
4
4
|
export { g as getCurrentDate } from '../../getCurrentDate-046a888d.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { N as NotificationVariant, _ as OrNotificationV3 } from '../../OrNotification-
|
|
1
|
+
export { N as NotificationVariant, _ as OrNotificationV3 } from '../../OrNotification-086a8246.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrIconButton-9502a78a.js';
|
|
4
4
|
import '../../OrIcon-3f99ef27.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrTimePickerV3 } from '../../OrTimePicker-
|
|
1
|
+
export { _ as OrTimePickerV3 } from '../../OrTimePicker-aa6f9dac.js';
|
|
2
2
|
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-4f842ab1.js';
|
|
3
3
|
import '../../OrDateTimePickerTimeSelect-441799e2.js';
|
|
4
4
|
export { D as TimePickerFormat } from '../../getTimePlaceholder-3b2885bf.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrTimeRangePickerV3 } from '../../OrTimeRangePicker-
|
|
1
|
+
export { _ as OrTimeRangePickerV3 } from '../../OrTimeRangePicker-e6973f8d.js';
|
|
2
2
|
import '../../OrDateTimePicker.vue_rollup-plugin-vue_script-4f842ab1.js';
|
|
3
3
|
import '../../OrDateTimePickerTimeSelect-441799e2.js';
|
|
4
4
|
export { D as TimeRangePickerFormat } from '../../getTimePlaceholder-3b2885bf.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -38,11 +38,11 @@ export { _ as OrContextMenuV3 } from './OrContextMenu-c8932997.js';
|
|
|
38
38
|
export { _ as OrMenuV3 } from './OrMenu-8802ee12.js';
|
|
39
39
|
export { P as ContextMenuPlacement, P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-7d9405fb.js';
|
|
40
40
|
export { _ as OrDateFormatV3 } from './OrDateFormat-5e3b12fc.js';
|
|
41
|
-
export { _ as OrDatePickerV3 } from './OrDatePicker-
|
|
42
|
-
export { _ as OrDateRangePickerV3 } from './OrDateRangePicker-
|
|
41
|
+
export { _ as OrDatePickerV3 } from './OrDatePicker-587e47a7.js';
|
|
42
|
+
export { _ as OrDateRangePickerV3 } from './OrDateRangePicker-5506d401.js';
|
|
43
43
|
export { _ as OrDateTimeFormatV3 } from './OrDateTimeFormat-30e78da3.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-
|
|
45
|
+
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-981f0e01.js';
|
|
46
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-441799e2.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';
|
|
@@ -79,7 +79,7 @@ export { _ as OrMenuItemV3 } from './OrMenuItem-fbe3e8e4.js';
|
|
|
79
79
|
export { _ as OrModal, O as OrModalSizes } from './OrModal-2a962f80.js';
|
|
80
80
|
export { M as ModalSize, _ as OrModalV3 } from './OrModal-333f7706.js';
|
|
81
81
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from './OrNotification-4957a85a.js';
|
|
82
|
-
export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotification-
|
|
82
|
+
export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotification-086a8246.js';
|
|
83
83
|
export { _ as OrNumberInput } from './OrNumberInput-7f0d6f74.js';
|
|
84
84
|
export { _ as OrOverflowMenu } from './OrOverflowMenu-b867545d.js';
|
|
85
85
|
export { _ as OrOverlay } from './OrOverlay-ccec2218.js';
|
|
@@ -134,8 +134,8 @@ export { _ as OrTextarea } from './OrTextarea-9febab19.js';
|
|
|
134
134
|
export { _ as OrTextareaV3 } from './OrTextarea-bb0b0e63.js';
|
|
135
135
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-2ae0ee03.js';
|
|
136
136
|
export { _ as OrTimeFormatV3 } from './OrTimeFormat-f88cbf6f.js';
|
|
137
|
-
export { _ as OrTimePickerV3 } from './OrTimePicker-
|
|
138
|
-
export { _ as OrTimeRangePickerV3 } from './OrTimeRangePicker-
|
|
137
|
+
export { _ as OrTimePickerV3 } from './OrTimePicker-aa6f9dac.js';
|
|
138
|
+
export { _ as OrTimeRangePickerV3 } from './OrTimeRangePicker-e6973f8d.js';
|
|
139
139
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-3085d81a.js';
|
|
140
140
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-05a9c81b.js';
|
|
141
141
|
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-7e602e28.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import './OrDateTimePicker-
|
|
2
|
+
import './OrDateTimePicker-ef033b4b.js';
|
|
3
3
|
import './OrDateTimePickerTimeSelect-486f2486.js';
|
|
4
4
|
import { f as formatDate } from './getTimePlaceholder-fd41baed.js';
|
|
5
5
|
import { openBlock, createElementBlock, normalizeClass, toDisplayString } from 'vue';
|
|
@@ -5,7 +5,7 @@ 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-
|
|
8
|
+
import './OrDateTimePicker-ef033b4b.js';
|
|
9
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-486f2486.js';
|
|
10
10
|
import './getTimePlaceholder-fd41baed.js';
|
|
11
11
|
import { g as getCurrentDate } from './getCurrentDate-046a888d.js';
|
|
@@ -291,11 +291,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
291
291
|
disabled: _ctx.isInvalidDraftModelValue,
|
|
292
292
|
onApply: _cache[3] || (_cache[3] = $event => {
|
|
293
293
|
_ctx.apply();
|
|
294
|
-
_ctx.popover.close();
|
|
294
|
+
_ctx.popover && _ctx.popover.close();
|
|
295
295
|
}),
|
|
296
296
|
onReset: _cache[4] || (_cache[4] = $event => {
|
|
297
297
|
_ctx.reset();
|
|
298
|
-
_ctx.popover.close();
|
|
298
|
+
_ctx.popover && _ctx.popover.close();
|
|
299
299
|
})
|
|
300
300
|
}, null, 8 /* PROPS */, ["disabled"])]),
|
|
301
301
|
_: 1 /* STABLE */
|
|
@@ -5,7 +5,7 @@ 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-
|
|
8
|
+
import './OrDateTimePicker-ef033b4b.js';
|
|
9
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-486f2486.js';
|
|
10
10
|
import './getTimePlaceholder-fd41baed.js';
|
|
11
11
|
import { g as getCurrentDate } from './getCurrentDate-046a888d.js';
|
|
@@ -356,11 +356,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
356
356
|
disabled: _ctx.isInvalidDraftModelValue,
|
|
357
357
|
onApply: _cache[10] || (_cache[10] = $event => {
|
|
358
358
|
_ctx.apply();
|
|
359
|
-
_ctx.popover.close();
|
|
359
|
+
_ctx.popover && _ctx.popover.close();
|
|
360
360
|
}),
|
|
361
361
|
onReset: _cache[11] || (_cache[11] = $event => {
|
|
362
362
|
_ctx.reset();
|
|
363
|
-
_ctx.popover.close();
|
|
363
|
+
_ctx.popover && _ctx.popover.close();
|
|
364
364
|
})
|
|
365
365
|
}, null, 8 /* PROPS */, ["disabled"])]),
|
|
366
366
|
_: 1 /* STABLE */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import './OrDateTimePicker-
|
|
2
|
+
import './OrDateTimePicker-ef033b4b.js';
|
|
3
3
|
import './OrDateTimePickerTimeSelect-486f2486.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';
|
|
@@ -369,11 +369,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
369
369
|
disabled: _ctx.isInvalidDraftModelValue,
|
|
370
370
|
onApply: _cache[4] || (_cache[4] = $event => {
|
|
371
371
|
_ctx.apply();
|
|
372
|
-
_ctx.datePopover.close();
|
|
372
|
+
_ctx.datePopover && _ctx.datePopover.close();
|
|
373
373
|
}),
|
|
374
374
|
onReset: _cache[5] || (_cache[5] = $event => {
|
|
375
375
|
_ctx.reset();
|
|
376
|
-
_ctx.datePopover.close();
|
|
376
|
+
_ctx.datePopover && _ctx.datePopover.close();
|
|
377
377
|
})
|
|
378
378
|
}, null, 8 /* PROPS */, ["disabled"])]),
|
|
379
379
|
_: 1 /* STABLE */
|
|
@@ -416,11 +416,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
416
416
|
disabled: _ctx.isInvalidDraftModelValue,
|
|
417
417
|
onApply: _cache[8] || (_cache[8] = $event => {
|
|
418
418
|
_ctx.apply();
|
|
419
|
-
_ctx.timePopover.close();
|
|
419
|
+
_ctx.timePopover && _ctx.timePopover.close();
|
|
420
420
|
}),
|
|
421
421
|
onReset: _cache[9] || (_cache[9] = $event => {
|
|
422
422
|
_ctx.reset();
|
|
423
|
-
_ctx.timePopover.close();
|
|
423
|
+
_ctx.timePopover && _ctx.timePopover.close();
|
|
424
424
|
})
|
|
425
425
|
}, null, 8 /* PROPS */, ["disabled"])]),
|
|
426
426
|
_: 1 /* STABLE */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { s as script$2 } from './OrIconButton-f9897ff9.js';
|
|
3
3
|
import { s as script$1 } from './OrIcon-b2e2d0aa.js';
|
|
4
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass,
|
|
4
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, createElementVNode, renderSlot, createBlock, withModifiers, createCommentVNode } from 'vue';
|
|
5
5
|
|
|
6
6
|
var NotificationVariant;
|
|
7
7
|
(function (NotificationVariant) {
|
|
@@ -13,7 +13,7 @@ var NotificationVariant;
|
|
|
13
13
|
|
|
14
14
|
const Notification = [
|
|
15
15
|
// Layout
|
|
16
|
-
'layout-row
|
|
16
|
+
'layout-row',
|
|
17
17
|
// Shape
|
|
18
18
|
'rounded-md',
|
|
19
19
|
// Spacing
|
|
@@ -27,22 +27,22 @@ const Notification = [
|
|
|
27
27
|
// Theme
|
|
28
28
|
'theme-foreground-default', 'dark:theme-foreground-default-dark'];
|
|
29
29
|
const NotificationVariants = {
|
|
30
|
-
|
|
30
|
+
[NotificationVariant.Success]: [
|
|
31
31
|
// Theme
|
|
32
32
|
'theme-background-success-container', 'dark:theme-background-success-container-dark',
|
|
33
33
|
// Theme (children)
|
|
34
34
|
'[&_:any-link]:theme-foreground-success', 'dark:[&_:any-link]:theme-foreground-success-dark'],
|
|
35
|
-
|
|
35
|
+
[NotificationVariant.Warning]: [
|
|
36
36
|
// Theme
|
|
37
37
|
'theme-background-warning-container', 'dark:theme-background-warning-container-dark',
|
|
38
38
|
// Theme (children)
|
|
39
39
|
'[&_:any-link]:theme-foreground-warning', 'dark:[&_:any-link]:theme-foreground-warning-dark'],
|
|
40
|
-
|
|
40
|
+
[NotificationVariant.Error]: [
|
|
41
41
|
// Theme
|
|
42
42
|
'theme-background-error-container', 'dark:theme-background-error-container-dark',
|
|
43
43
|
// Theme (children)
|
|
44
44
|
'[&_:any-link]:theme-foreground-error', 'dark:[&_:any-link]:theme-foreground-error-dark'],
|
|
45
|
-
|
|
45
|
+
[NotificationVariant.Info]: [
|
|
46
46
|
// Theme
|
|
47
47
|
'theme-background-primary-container', 'dark:theme-background-primary-container-dark',
|
|
48
48
|
// Theme (children)
|
|
@@ -50,16 +50,16 @@ const NotificationVariants = {
|
|
|
50
50
|
};
|
|
51
51
|
const NotificationIcon = [];
|
|
52
52
|
const NotificationIconVariants = {
|
|
53
|
-
|
|
53
|
+
[NotificationVariant.Success]: [
|
|
54
54
|
// Theme
|
|
55
55
|
'theme-foreground-success', 'dark:theme-foreground-success-dark'],
|
|
56
|
-
|
|
56
|
+
[NotificationVariant.Warning]: [
|
|
57
57
|
// Theme
|
|
58
58
|
'theme-foreground-warning', 'dark:theme-foreground-warning-dark'],
|
|
59
|
-
|
|
59
|
+
[NotificationVariant.Error]: [
|
|
60
60
|
// Theme
|
|
61
61
|
'theme-foreground-error', 'dark:theme-foreground-error-dark'],
|
|
62
|
-
|
|
62
|
+
[NotificationVariant.Info]: [
|
|
63
63
|
// Theme
|
|
64
64
|
'theme-foreground-primary', 'dark:theme-foreground-primary-dark']
|
|
65
65
|
};
|
|
@@ -110,7 +110,7 @@ var script = defineComponent({
|
|
|
110
110
|
});
|
|
111
111
|
|
|
112
112
|
const _hoisted_1 = {
|
|
113
|
-
class: /*#__PURE__*/normalizeClass(['grow'
|
|
113
|
+
class: /*#__PURE__*/normalizeClass(['grow'])
|
|
114
114
|
};
|
|
115
115
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
116
116
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
@@ -118,12 +118,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
118
118
|
return openBlock(), createElementBlock("div", {
|
|
119
119
|
ref: "root",
|
|
120
120
|
class: normalizeClass(_ctx.rootStyles)
|
|
121
|
-
}, [createElementVNode("div", {
|
|
122
|
-
class: normalizeClass(_ctx.iconStyles)
|
|
123
121
|
}, [createVNode(_component_OrIcon, {
|
|
122
|
+
class: normalizeClass(_ctx.iconStyles),
|
|
124
123
|
icon: _ctx.icon,
|
|
125
124
|
variant: 'filled-bold'
|
|
126
|
-
}, null, 8 /* PROPS */, ["icon"])
|
|
125
|
+
}, null, 8 /* PROPS */, ["class", "icon"]), createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]), !_ctx.disableClose ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
127
126
|
key: 0,
|
|
128
127
|
icon: 'close',
|
|
129
128
|
size: 'm',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import './OrDateTimePicker-
|
|
2
|
+
import './OrDateTimePicker-ef033b4b.js';
|
|
3
3
|
import './OrDateTimePickerTimeSelect-486f2486.js';
|
|
4
4
|
import { D as DateTimePickerTimeFormat, a as formatTime } from './getTimePlaceholder-fd41baed.js';
|
|
5
5
|
import { openBlock, createElementBlock, normalizeClass, toDisplayString } from 'vue';
|
|
@@ -5,7 +5,7 @@ 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-
|
|
8
|
+
import './OrDateTimePicker-ef033b4b.js';
|
|
9
9
|
import { b as script$1, d as script$2, e as script$3, f as script$4, g as script$5 } from './OrDateTimePickerTimeSelect-486f2486.js';
|
|
10
10
|
import { D as DateTimePickerTimeFormat } from './getTimePlaceholder-fd41baed.js';
|
|
11
11
|
import { g as getCurrentDate } from './getCurrentDate-046a888d.js';
|
|
@@ -283,11 +283,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
283
283
|
disabled: _ctx.isInvalidDraftModelValue,
|
|
284
284
|
onApply: _cache[2] || (_cache[2] = $event => {
|
|
285
285
|
_ctx.apply();
|
|
286
|
-
_ctx.popover.close();
|
|
286
|
+
_ctx.popover && _ctx.popover.close();
|
|
287
287
|
}),
|
|
288
288
|
onReset: _cache[3] || (_cache[3] = $event => {
|
|
289
289
|
_ctx.reset();
|
|
290
|
-
_ctx.popover.close();
|
|
290
|
+
_ctx.popover && _ctx.popover.close();
|
|
291
291
|
})
|
|
292
292
|
}, null, 8 /* PROPS */, ["disabled"])]),
|
|
293
293
|
_: 1 /* STABLE */
|
|
@@ -5,7 +5,7 @@ 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-
|
|
8
|
+
import './OrDateTimePicker-ef033b4b.js';
|
|
9
9
|
import { b as script$1, d as script$2, e as script$3, f as script$4, g as script$5 } from './OrDateTimePickerTimeSelect-486f2486.js';
|
|
10
10
|
import { D as DateTimePickerTimeFormat } from './getTimePlaceholder-fd41baed.js';
|
|
11
11
|
import { g as getCurrentDate } from './getCurrentDate-046a888d.js';
|
|
@@ -110,9 +110,9 @@ var script = defineComponent({
|
|
|
110
110
|
const rootStyles = computed(() => ['or-time-range-picker-v3', ...TimeRangePicker]);
|
|
111
111
|
const popoverStyles = computed(() => ['or-time-range-picker-popover-v3', ...TimeRangePickerPopover]);
|
|
112
112
|
// State
|
|
113
|
-
const initialValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : getCurrentDate());
|
|
113
|
+
const initialValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : [getCurrentDate(), getCurrentDate()]);
|
|
114
114
|
watch(() => props.modelValue, value => {
|
|
115
|
-
initialValue.value = value !== null && value !== void 0 ? value : getCurrentDate();
|
|
115
|
+
initialValue.value = value !== null && value !== void 0 ? value : [getCurrentDate(), getCurrentDate()];
|
|
116
116
|
});
|
|
117
117
|
const proxyModelValue = useProxyModelValue(toRef(props, 'modelValue'), context.emit);
|
|
118
118
|
const draftModelValue = ref((_b = proxyModelValue.value) !== null && _b !== void 0 ? _b : [undefined, undefined]);
|
|
@@ -308,24 +308,24 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
308
308
|
modelValue: _ctx.draftModelValueFrom,
|
|
309
309
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.draftModelValueFrom = $event),
|
|
310
310
|
class: normalizeClass(['grow']),
|
|
311
|
-
"initial-value": _ctx.initialValue,
|
|
311
|
+
"initial-value": _ctx.initialValue[0],
|
|
312
312
|
format: _ctx.format
|
|
313
313
|
}, null, 8 /* PROPS */, ["modelValue", "initial-value", "format"])) : createCommentVNode("v-if", true), _ctx.isDesktop || _ctx.isMobile && _ctx.selectedControl === 'to' ? (openBlock(), createBlock(_component_OrDateTimePickerTimeSelect, {
|
|
314
314
|
key: 1,
|
|
315
315
|
modelValue: _ctx.draftModelValueTo,
|
|
316
316
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => _ctx.draftModelValueTo = $event),
|
|
317
317
|
class: normalizeClass(['grow']),
|
|
318
|
-
"initial-value": _ctx.initialValue,
|
|
318
|
+
"initial-value": _ctx.initialValue[1],
|
|
319
319
|
format: _ctx.format
|
|
320
320
|
}, null, 8 /* PROPS */, ["modelValue", "initial-value", "format"])) : createCommentVNode("v-if", true)]), createVNode(_component_OrDateTimePickerPopoverFooter, {
|
|
321
321
|
disabled: _ctx.isInvalidDraftModelValue,
|
|
322
322
|
onApply: _cache[6] || (_cache[6] = $event => {
|
|
323
323
|
_ctx.apply();
|
|
324
|
-
_ctx.popover.close();
|
|
324
|
+
_ctx.popover && _ctx.popover.close();
|
|
325
325
|
}),
|
|
326
326
|
onReset: _cache[7] || (_cache[7] = $event => {
|
|
327
327
|
_ctx.reset();
|
|
328
|
-
_ctx.popover.close();
|
|
328
|
+
_ctx.popover && _ctx.popover.close();
|
|
329
329
|
})
|
|
330
330
|
}, null, 8 /* PROPS */, ["disabled"])]),
|
|
331
331
|
_: 1 /* STABLE */
|
|
@@ -34,12 +34,12 @@ export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-c5fe5075.js';
|
|
|
34
34
|
export { s as OrContextMenuV3 } from '../OrContextMenu-5174d0f9.js';
|
|
35
35
|
export { s as OrMenuV3 } from '../OrMenu-192543a9.js';
|
|
36
36
|
export { P as ContextMenuPlacement, P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-79d76269.js';
|
|
37
|
-
export { s as OrDateFormatV3 } from '../OrDateFormat-
|
|
38
|
-
export { s as OrDatePickerV3 } from '../OrDatePicker-
|
|
39
|
-
export { s as OrDateRangePickerV3 } from '../OrDateRangePicker-
|
|
40
|
-
export { s as OrDateTimeFormatV3 } from '../OrDateTimeFormat-
|
|
37
|
+
export { s as OrDateFormatV3 } from '../OrDateFormat-3fbec49a.js';
|
|
38
|
+
export { s as OrDatePickerV3 } from '../OrDatePicker-ca8e9c09.js';
|
|
39
|
+
export { s as OrDateRangePickerV3 } from '../OrDateRangePicker-4ae9c7fe.js';
|
|
40
|
+
export { s as OrDateTimeFormatV3 } from '../OrDateTimeFormat-37315ed6.js';
|
|
41
41
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-c4af9468.js';
|
|
42
|
-
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker-
|
|
42
|
+
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker-ef033b4b.js';
|
|
43
43
|
export { s 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-486f2486.js';
|
|
44
44
|
export { D as DateTimePickerTimeFormat, D as TimePickerFormat, D as TimeRangePickerFormat, f as formatDate, a as formatTime, g as getDatePlaceholder, b as getTimePlaceholder } from '../getTimePlaceholder-fd41baed.js';
|
|
45
45
|
export { g as getCurrentDate } from '../getCurrentDate-046a888d.js';
|
|
@@ -76,7 +76,7 @@ export { s as OrMenuItemV3 } from '../OrMenuItem-2928ba60.js';
|
|
|
76
76
|
export { s as OrModal, O as OrModalSizes } from '../OrModal-3c54883e.js';
|
|
77
77
|
export { M as ModalSize, s as OrModalV3 } from '../OrModal-4daecffd.js';
|
|
78
78
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from '../OrNotification-2d33afd5.js';
|
|
79
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotification-
|
|
79
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotification-f9ae23fe.js';
|
|
80
80
|
export { s as OrNumberInput } from '../OrNumberInput-e9dcdcbd.js';
|
|
81
81
|
export { s as OrOverflowMenu } from '../OrOverflowMenu-3c860fb5.js';
|
|
82
82
|
export { s as OrOverlay } from '../OrOverlay-451dce49.js';
|
|
@@ -129,9 +129,9 @@ export { s as OrTextV3 } from '../OrText-d54c951d.js';
|
|
|
129
129
|
export { s as OrTextarea } from '../OrTextarea-7a753c1a.js';
|
|
130
130
|
export { s as OrTextareaV3 } from '../OrTextarea-da1a2d16.js';
|
|
131
131
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-58d3a7c7.js';
|
|
132
|
-
export { s as OrTimeFormatV3 } from '../OrTimeFormat-
|
|
133
|
-
export { s as OrTimePickerV3 } from '../OrTimePicker-
|
|
134
|
-
export { s as OrTimeRangePickerV3 } from '../OrTimeRangePicker-
|
|
132
|
+
export { s as OrTimeFormatV3 } from '../OrTimeFormat-1aa5352c.js';
|
|
133
|
+
export { s as OrTimePickerV3 } from '../OrTimePicker-e8fd78ba.js';
|
|
134
|
+
export { s as OrTimeRangePickerV3 } from '../OrTimeRangePicker-d852fcc9.js';
|
|
135
135
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-e817636c.js';
|
|
136
136
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-05a9c81b.js';
|
|
137
137
|
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-b34c8879.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { s as OrDateFormatV3 } from '../../OrDateFormat-
|
|
1
|
+
export { s as OrDateFormatV3 } from '../../OrDateFormat-3fbec49a.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrDateTimePicker-
|
|
3
|
+
import '../../OrDateTimePicker-ef033b4b.js';
|
|
4
4
|
import '../../dropdown-open-06d651cf.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import '../../dom-aecadd9a.js';
|