@onereach/ui-components 3.0.4-beta.2504.0 → 3.0.4-beta.2512.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/{OrDatePicker-19e467e2.js → OrDatePicker-617c422c.js} +2 -2
- package/dist/bundled/v2/{OrDateTimePicker-1011dc69.js → OrDateTimePicker-9f3a6109.js} +3 -3
- package/dist/bundled/v2/{OrDateTimePickerMonthSelect-9e64d257.js → OrDateTimePickerMonthSelect-965585da.js} +19 -7
- package/dist/bundled/v2/{OrTimePicker-1b3a758a.js → OrTimePicker-8eb90e22.js} +1 -1
- package/dist/bundled/v2/components/index.js +4 -4
- package/dist/bundled/v2/components/or-date-picker-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-date-time-picker-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-time-picker-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +4 -4
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-8eafbe6b.js → OrDatePicker.vue_vue_type_script_lang-ca0a37cc.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-b2a9ef8d.js → OrDateTimePicker.vue_vue_type_script_lang-cc121bb1.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-8989be5a.js → OrDateTimePickerMonthSelect-3f2de041.js} +36 -19
- package/dist/bundled/v3/components/index.js +3 -3
- package/dist/bundled/v3/components/or-date-picker-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-date-time-picker-v3/index.js +2 -2
- package/dist/bundled/v3/index.js +9 -9
- package/dist/esm/v2/{OrDatePicker-454f5267.js → OrDatePicker-df9d3b9c.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-3f533d0c.js → OrDateTimePicker-5029084f.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-380d9c90.js → OrDateTimePickerMonthSelect-01d0ecba.js} +19 -7
- package/dist/esm/v2/{OrTimePicker-f23c8577.js → OrTimePicker-66cf402d.js} +1 -1
- package/dist/esm/v2/components/index.js +4 -4
- 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-time-picker-v3/index.js +1 -1
- package/dist/esm/v2/index.js +4 -4
- package/dist/esm/v3/{OrDatePicker-390f7f11.js → OrDatePicker-decf1853.js} +2 -2
- package/dist/esm/v3/{OrDateTimePicker-54db4170.js → OrDateTimePicker-29a2faf1.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-709b673d.js → OrDateTimePickerMonthSelect-3b830d42.js} +35 -18
- package/dist/esm/v3/{OrTimePicker-362ca566.js → OrTimePicker-b96ec56f.js} +1 -1
- package/dist/esm/v3/components/index.js +4 -4
- 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-time-picker-v3/index.js +1 -1
- package/dist/esm/v3/index.js +4 -4
- package/package.json +2 -2
- package/src/components/or-date-picker-v3/OrDatePicker.vue +2 -1
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +3 -2
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue +25 -17
- package/src/components/or-time-picker-v3/OrTimePicker.vue +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrDateTimePickerDaySelect, a as OrDateTimePickerMonthSelect } from './OrDateTimePickerMonthSelect-
|
|
2
|
+
import { O as OrDateTimePickerDaySelect, a as OrDateTimePickerMonthSelect } from './OrDateTimePickerMonthSelect-965585da.js';
|
|
3
3
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from './OrDateTimePickerPopoverHeader-c8672c0d.js';
|
|
4
4
|
import { O as OrError } from './OrError-1186b62f.js';
|
|
5
5
|
import { O as OrHint } from './OrHint-29b31ba4.js';
|
|
@@ -235,7 +235,7 @@ var __vue_render__ = function () {
|
|
|
235
235
|
"readonly": _vm.readonly,
|
|
236
236
|
"disabled": _vm.disabled
|
|
237
237
|
}
|
|
238
|
-
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.
|
|
238
|
+
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
|
|
239
239
|
ref: "popover",
|
|
240
240
|
attrs: {
|
|
241
241
|
"variant": 'auto',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrDateTimePickerDaySelect, a as OrDateTimePickerMonthSelect } from './OrDateTimePickerMonthSelect-
|
|
2
|
+
import { O as OrDateTimePickerDaySelect, a as OrDateTimePickerMonthSelect } from './OrDateTimePickerMonthSelect-965585da.js';
|
|
3
3
|
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from './OrDateTimePickerPopoverHeader-c8672c0d.js';
|
|
4
4
|
import { O as OrDateTimePickerTimeSelect } from './OrDateTimePickerTimeSelect-158d717b.js';
|
|
5
5
|
import { O as OrError } from './OrError-1186b62f.js';
|
|
@@ -284,7 +284,7 @@ var __vue_render__ = function () {
|
|
|
284
284
|
"readonly": _vm.readonly,
|
|
285
285
|
"disabled": _vm.disabled
|
|
286
286
|
}
|
|
287
|
-
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.
|
|
287
|
+
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('div', _vm._b({
|
|
288
288
|
directives: [{
|
|
289
289
|
name: "dropdown-open",
|
|
290
290
|
rawName: "v-dropdown-open",
|
|
@@ -304,7 +304,7 @@ var __vue_render__ = function () {
|
|
|
304
304
|
"readonly": _vm.readonly,
|
|
305
305
|
"disabled": _vm.disabled
|
|
306
306
|
}
|
|
307
|
-
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.
|
|
307
|
+
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
|
|
308
308
|
ref: "datePopover",
|
|
309
309
|
attrs: {
|
|
310
310
|
"variant": 'auto',
|
|
@@ -7,6 +7,7 @@ import { O as OrIcon } from './OrIcon-05d29a78.js';
|
|
|
7
7
|
import { O as OrIconButton } from './OrIconButton-50f3e359.js';
|
|
8
8
|
import { O as OrMenu } from './OrMenu-0c2c348c.js';
|
|
9
9
|
import { O as OrMenuItem } from './OrMenuItem-7eb9d387.js';
|
|
10
|
+
import { O as OrTooltip } from './OrTooltip-a2a90db8.js';
|
|
10
11
|
|
|
11
12
|
const DateTimePickerDaySelect = [
|
|
12
13
|
// Layout
|
|
@@ -164,7 +165,8 @@ var script = defineComponent({
|
|
|
164
165
|
OrIcon,
|
|
165
166
|
OrIconButton,
|
|
166
167
|
OrMenu,
|
|
167
|
-
OrMenuItem
|
|
168
|
+
OrMenuItem,
|
|
169
|
+
OrTooltip
|
|
168
170
|
},
|
|
169
171
|
model: {
|
|
170
172
|
prop: 'modelValue',
|
|
@@ -289,7 +291,8 @@ var __vue_render__ = function () {
|
|
|
289
291
|
class: _vm.rootStyles
|
|
290
292
|
}, [_c('OrIconButton', {
|
|
291
293
|
attrs: {
|
|
292
|
-
"icon": 'chevron_left'
|
|
294
|
+
"icon": 'chevron_left',
|
|
295
|
+
"tooltip": 'Previous month'
|
|
293
296
|
},
|
|
294
297
|
on: {
|
|
295
298
|
"click": function ($event) {
|
|
@@ -299,6 +302,10 @@ var __vue_render__ = function () {
|
|
|
299
302
|
}
|
|
300
303
|
}), _vm._v(" "), _c('div', {
|
|
301
304
|
class: ['layout-row-reverse', 'gap-md']
|
|
305
|
+
}, [_c('OrTooltip', {
|
|
306
|
+
attrs: {
|
|
307
|
+
"text": 'Choose year'
|
|
308
|
+
}
|
|
302
309
|
}, [_c('OrButton', {
|
|
303
310
|
ref: "yearButton",
|
|
304
311
|
attrs: {
|
|
@@ -311,11 +318,15 @@ var __vue_render__ = function () {
|
|
|
311
318
|
return _vm.yearMenu.open();
|
|
312
319
|
}
|
|
313
320
|
}
|
|
314
|
-
}, [_vm._v("\n
|
|
321
|
+
}, [_vm._v("\n " + _vm._s(_vm.formatYear(_vm.proxyModelValue)) + " "), _c('OrIcon', {
|
|
315
322
|
attrs: {
|
|
316
323
|
"icon": _vm.yearMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
317
324
|
}
|
|
318
|
-
})], 1), _vm._v(" "), _c('
|
|
325
|
+
})], 1)], 1), _vm._v(" "), _c('OrTooltip', {
|
|
326
|
+
attrs: {
|
|
327
|
+
"text": 'Choose month'
|
|
328
|
+
}
|
|
329
|
+
}, [_c('OrButton', {
|
|
319
330
|
ref: "monthButton",
|
|
320
331
|
attrs: {
|
|
321
332
|
"variant": 'link',
|
|
@@ -327,11 +338,11 @@ var __vue_render__ = function () {
|
|
|
327
338
|
return _vm.monthMenu.open();
|
|
328
339
|
}
|
|
329
340
|
}
|
|
330
|
-
}, [_vm._v("\n
|
|
341
|
+
}, [_vm._v("\n " + _vm._s(_vm.formatMonth(_vm.proxyModelValue)) + " "), _c('OrIcon', {
|
|
331
342
|
attrs: {
|
|
332
343
|
"icon": _vm.monthMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
333
344
|
}
|
|
334
|
-
})], 1), _vm._v(" "), _c('OrMenu', {
|
|
345
|
+
})], 1)], 1), _vm._v(" "), _c('OrMenu', {
|
|
335
346
|
ref: "yearMenu",
|
|
336
347
|
attrs: {
|
|
337
348
|
"trigger": _vm.yearButtonRoot
|
|
@@ -373,7 +384,8 @@ var __vue_render__ = function () {
|
|
|
373
384
|
}, [_vm._v("\n " + _vm._s(_vm.formatMonth(value)) + "\n ")]);
|
|
374
385
|
}), 1)], 1), _vm._v(" "), _c('OrIconButton', {
|
|
375
386
|
attrs: {
|
|
376
|
-
"icon": 'chevron_right'
|
|
387
|
+
"icon": 'chevron_right',
|
|
388
|
+
"tooltip": 'Next month'
|
|
377
389
|
},
|
|
378
390
|
on: {
|
|
379
391
|
"click": function ($event) {
|
|
@@ -234,7 +234,7 @@ var __vue_render__ = function () {
|
|
|
234
234
|
"readonly": _vm.readonly,
|
|
235
235
|
"disabled": _vm.disabled
|
|
236
236
|
}
|
|
237
|
-
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.
|
|
237
|
+
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
|
|
238
238
|
ref: "popover",
|
|
239
239
|
attrs: {
|
|
240
240
|
"variant": 'auto',
|
|
@@ -20,10 +20,10 @@ export { O as OrCollapse } from '../OrCollapse-f7cbcd25.js';
|
|
|
20
20
|
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-8fa65edd.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-4d08c38d.js';
|
|
22
22
|
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-d548aac0.js';
|
|
23
|
-
export { _ as OrDatePickerV3 } from '../OrDatePicker-
|
|
23
|
+
export { _ as OrDatePickerV3 } from '../OrDatePicker-617c422c.js';
|
|
24
24
|
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 '../props-c966ae5f.js';
|
|
25
25
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-def82ca4.js';
|
|
26
|
-
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-
|
|
26
|
+
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-9f3a6109.js';
|
|
27
27
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from '../OrEmptyState-a38727b9.js';
|
|
28
28
|
export { O as OrError } from '../OrError-29f0ce95.js';
|
|
29
29
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-79922468.js';
|
|
@@ -96,7 +96,7 @@ export { _ as OrTextV3 } from '../OrText-7887212a.js';
|
|
|
96
96
|
export { _ as OrTextarea } from '../OrTextarea-8653f1b4.js';
|
|
97
97
|
export { _ as OrTextareaV3 } from '../OrTextarea-8d35e641.js';
|
|
98
98
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-dbd1eae6.js';
|
|
99
|
-
export { _ as OrTimePickerV3 } from '../OrTimePicker-
|
|
99
|
+
export { _ as OrTimePickerV3 } from '../OrTimePicker-8eb90e22.js';
|
|
100
100
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-1faa828c.js';
|
|
101
101
|
export { O as OrToast, _ as OrToastContainer } from '../OrToastContainer-a021147e.js';
|
|
102
102
|
export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../types-8d0c1236.js';
|
|
@@ -116,7 +116,7 @@ import '../useIdAttribute-cf61643f.js';
|
|
|
116
116
|
import '../px-to-rem-0b26b83e.js';
|
|
117
117
|
import '../dom-7a41831b.js';
|
|
118
118
|
import '../index-17f264f9.js';
|
|
119
|
-
import '../OrDateTimePickerMonthSelect-
|
|
119
|
+
import '../OrDateTimePickerMonthSelect-965585da.js';
|
|
120
120
|
import '../OrDateTimePickerPopoverHeader-c8672c0d.js';
|
|
121
121
|
import '../dropdown-open-10460fec.js';
|
|
122
122
|
import '../useValidationAttributes-6df7bcf9.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as OrDatePickerV3 } from '../../OrDatePicker-
|
|
1
|
+
export { _ as OrDatePickerV3 } from '../../OrDatePicker-617c422c.js';
|
|
2
2
|
export { I as DatePickerSize } from '../../props-c966ae5f.js';
|
|
3
3
|
import '../../index-fa6eb4ca.js';
|
|
4
4
|
import 'vue';
|
|
5
5
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
6
|
+
import '../../OrDateTimePickerMonthSelect-965585da.js';
|
|
7
7
|
import '../../OrDateTimePickerPopoverHeader-c8672c0d.js';
|
|
8
8
|
import '../../OrLabel-761500d5.js';
|
|
9
9
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-
|
|
1
|
+
export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-9f3a6109.js';
|
|
2
2
|
export { I as DateTimePickerSize } from '../../props-c966ae5f.js';
|
|
3
3
|
import '../../index-fa6eb4ca.js';
|
|
4
4
|
import 'vue';
|
|
5
5
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
6
|
+
import '../../OrDateTimePickerMonthSelect-965585da.js';
|
|
7
7
|
import '../../OrDateTimePickerPopoverHeader-c8672c0d.js';
|
|
8
8
|
import '../../OrLabel-761500d5.js';
|
|
9
9
|
import '../../normalize-component-6e8e3d80.js';
|
package/dist/bundled/v2/index.js
CHANGED
|
@@ -26,10 +26,10 @@ export { O as OrCollapse } from './OrCollapse-f7cbcd25.js';
|
|
|
26
26
|
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-8fa65edd.js';
|
|
27
27
|
export { _ as OrConfirm } from './OrConfirm-4d08c38d.js';
|
|
28
28
|
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-d548aac0.js';
|
|
29
|
-
export { _ as OrDatePickerV3 } from './OrDatePicker-
|
|
29
|
+
export { _ as OrDatePickerV3 } from './OrDatePicker-617c422c.js';
|
|
30
30
|
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 './props-c966ae5f.js';
|
|
31
31
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-def82ca4.js';
|
|
32
|
-
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
32
|
+
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-9f3a6109.js';
|
|
33
33
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-a38727b9.js';
|
|
34
34
|
export { O as OrError } from './OrError-29f0ce95.js';
|
|
35
35
|
export { _ as OrErrorTagV3 } from './OrErrorTag-79922468.js';
|
|
@@ -102,7 +102,7 @@ export { _ as OrTextV3 } from './OrText-7887212a.js';
|
|
|
102
102
|
export { _ as OrTextarea } from './OrTextarea-8653f1b4.js';
|
|
103
103
|
export { _ as OrTextareaV3 } from './OrTextarea-8d35e641.js';
|
|
104
104
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-dbd1eae6.js';
|
|
105
|
-
export { _ as OrTimePickerV3 } from './OrTimePicker-
|
|
105
|
+
export { _ as OrTimePickerV3 } from './OrTimePicker-8eb90e22.js';
|
|
106
106
|
export { O as OrToast, _ as OrToastContainer } from './OrToastContainer-a021147e.js';
|
|
107
107
|
export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from './types-8d0c1236.js';
|
|
108
108
|
export { O as OrTooltip } from './OrTooltip-e62cdd46.js';
|
|
@@ -122,7 +122,7 @@ import './normalize-component-6e8e3d80.js';
|
|
|
122
122
|
import './px-to-rem-0b26b83e.js';
|
|
123
123
|
import './dom-7a41831b.js';
|
|
124
124
|
import './index-17f264f9.js';
|
|
125
|
-
import './OrDateTimePickerMonthSelect-
|
|
125
|
+
import './OrDateTimePickerMonthSelect-965585da.js';
|
|
126
126
|
import './OrDateTimePickerPopoverHeader-c8672c0d.js';
|
|
127
127
|
import './OrDateTimePickerTimeSelect-158d717b.js';
|
|
128
128
|
import './floating-ui.dom.esm-83eba816.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive, watch } from 'vue';
|
|
2
|
-
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-
|
|
2
|
+
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-3f2de041.js';
|
|
3
3
|
import { s as script$2, a as script$4, b as script$5 } from './OrDateTimePickerPopoverHeader-caffcc00.js';
|
|
4
4
|
import './OrHint-fcd2563e.js';
|
|
5
5
|
import './OrIconButton-55238a89.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive, watch } from 'vue';
|
|
2
|
-
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-
|
|
2
|
+
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-3f2de041.js';
|
|
3
3
|
import { s as script$2, a as script$4, b as script$5 } from './OrDateTimePickerPopoverHeader-caffcc00.js';
|
|
4
4
|
import { s as script$6 } from './OrDateTimePickerTimeSelect-e3a89bed.js';
|
|
5
5
|
import './OrHint-fcd2563e.js';
|
|
@@ -6,10 +6,11 @@ import './OrIcon-a670d8e9.js';
|
|
|
6
6
|
import './OrIconButton-55238a89.js';
|
|
7
7
|
import './OrMenu-101f1c62.js';
|
|
8
8
|
import './OrMenuItem-a90b0369.js';
|
|
9
|
-
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-859d76fb.js';
|
|
10
9
|
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-3aeb76ac.js';
|
|
10
|
+
import { s as script$3 } from './OrIcon.vue_vue_type_script_lang-859d76fb.js';
|
|
11
11
|
import { s as script$5 } from './OrMenu.vue_vue_type_script_lang-7ba15d1d.js';
|
|
12
12
|
import { s as script$6 } from './OrMenuItem.vue_vue_type_script_lang-d65eec51.js';
|
|
13
|
+
import { s as script$7 } from './OrTooltip.vue_vue_type_script_lang-27591090.js';
|
|
13
14
|
|
|
14
15
|
const DateTimePickerDaySelect = [
|
|
15
16
|
// Layout
|
|
@@ -140,7 +141,8 @@ var script = defineComponent({
|
|
|
140
141
|
OrIcon: script$3,
|
|
141
142
|
OrIconButton: script$4,
|
|
142
143
|
OrMenu: script$5,
|
|
143
|
-
OrMenuItem: script$6
|
|
144
|
+
OrMenuItem: script$6,
|
|
145
|
+
OrTooltip: script$7
|
|
144
146
|
},
|
|
145
147
|
model: {
|
|
146
148
|
prop: 'modelValue',
|
|
@@ -259,6 +261,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
259
261
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
260
262
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
261
263
|
const _component_OrButton = resolveComponent("OrButton");
|
|
264
|
+
const _component_OrTooltip = resolveComponent("OrTooltip");
|
|
262
265
|
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
263
266
|
const _component_OrMenu = resolveComponent("OrMenu");
|
|
264
267
|
return openBlock(), createElementBlock("div", {
|
|
@@ -266,28 +269,41 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
266
269
|
class: normalizeClass(_ctx.rootStyles)
|
|
267
270
|
}, [createVNode(_component_OrIconButton, {
|
|
268
271
|
icon: 'chevron_left',
|
|
272
|
+
tooltip: 'Previous month',
|
|
269
273
|
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.goToPreviousMonth(), ["stop"]))
|
|
270
|
-
}), createElementVNode("div", _hoisted_1, [createVNode(
|
|
271
|
-
|
|
272
|
-
variant: 'link',
|
|
273
|
-
color: 'inherit',
|
|
274
|
-
onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.yearMenu.open(), ["stop"]))
|
|
274
|
+
}), createElementVNode("div", _hoisted_1, [createVNode(_component_OrTooltip, {
|
|
275
|
+
text: 'Choose year'
|
|
275
276
|
}, {
|
|
276
|
-
default: withCtx(() => [
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
default: withCtx(() => [createVNode(_component_OrButton, {
|
|
278
|
+
ref: "yearButton",
|
|
279
|
+
variant: 'link',
|
|
280
|
+
color: 'inherit',
|
|
281
|
+
onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.yearMenu.open(), ["stop"]))
|
|
282
|
+
}, {
|
|
283
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
284
|
+
icon: _ctx.yearMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
285
|
+
}, null, 8 /* PROPS */, ["icon"])]),
|
|
286
|
+
_: 1 /* STABLE */
|
|
287
|
+
}, 512 /* NEED_PATCH */)]),
|
|
288
|
+
|
|
279
289
|
_: 1 /* STABLE */
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
variant: 'link',
|
|
283
|
-
color: 'inherit',
|
|
284
|
-
onClick: _cache[2] || (_cache[2] = withModifiers($event => _ctx.monthMenu.open(), ["stop"]))
|
|
290
|
+
}), createVNode(_component_OrTooltip, {
|
|
291
|
+
text: 'Choose month'
|
|
285
292
|
}, {
|
|
286
|
-
default: withCtx(() => [
|
|
287
|
-
|
|
288
|
-
|
|
293
|
+
default: withCtx(() => [createVNode(_component_OrButton, {
|
|
294
|
+
ref: "monthButton",
|
|
295
|
+
variant: 'link',
|
|
296
|
+
color: 'inherit',
|
|
297
|
+
onClick: _cache[2] || (_cache[2] = withModifiers($event => _ctx.monthMenu.open(), ["stop"]))
|
|
298
|
+
}, {
|
|
299
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
300
|
+
icon: _ctx.monthMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
301
|
+
}, null, 8 /* PROPS */, ["icon"])]),
|
|
302
|
+
_: 1 /* STABLE */
|
|
303
|
+
}, 512 /* NEED_PATCH */)]),
|
|
304
|
+
|
|
289
305
|
_: 1 /* STABLE */
|
|
290
|
-
}
|
|
306
|
+
}), createVNode(_component_OrMenu, {
|
|
291
307
|
ref: "yearMenu",
|
|
292
308
|
trigger: _ctx.yearButtonRoot
|
|
293
309
|
}, {
|
|
@@ -331,6 +347,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
331
347
|
_: 1 /* STABLE */
|
|
332
348
|
}, 8 /* PROPS */, ["trigger"])]), createVNode(_component_OrIconButton, {
|
|
333
349
|
icon: 'chevron_right',
|
|
350
|
+
tooltip: 'Next month',
|
|
334
351
|
onClick: _cache[3] || (_cache[3] = withModifiers($event => _ctx.goToNextMonth(), ["stop"]))
|
|
335
352
|
})], 2 /* CLASS */);
|
|
336
353
|
}
|
|
@@ -20,10 +20,10 @@ export { s as OrCollapse } from '../OrCollapse.vue_vue_type_script_lang-04ffe655
|
|
|
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.vue_vue_type_script_lang-3b58e79f.js';
|
|
21
21
|
export { s as OrConfirm } from '../OrConfirm.vue_vue_type_script_lang-3eb862c3.js';
|
|
22
22
|
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm.vue_vue_type_script_lang-6bf48817.js';
|
|
23
|
-
export { s as OrDatePickerV3 } from '../OrDatePicker.vue_vue_type_script_lang-
|
|
23
|
+
export { s as OrDatePickerV3 } from '../OrDatePicker.vue_vue_type_script_lang-ca0a37cc.js';
|
|
24
24
|
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 '../props-c966ae5f.js';
|
|
25
25
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker.vue_vue_type_script_lang-d7344d80.js';
|
|
26
|
-
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker.vue_vue_type_script_lang-
|
|
26
|
+
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker.vue_vue_type_script_lang-cc121bb1.js';
|
|
27
27
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState.vue_vue_type_script_lang-4dc955fd.js';
|
|
28
28
|
export { s as OrError } from '../OrError.vue_vue_type_script_lang-7c39e012.js';
|
|
29
29
|
export { s as OrErrorTagV3 } from '../OrErrorTag.vue_vue_type_script_lang-26bd7e9a.js';
|
|
@@ -131,7 +131,7 @@ import '../index-01519e46.js';
|
|
|
131
131
|
import '../OrButton-192156e6.js';
|
|
132
132
|
import '../OrInput-d95faac1.js';
|
|
133
133
|
import '../OrInput-8171968f.js';
|
|
134
|
-
import '../OrDateTimePickerMonthSelect-
|
|
134
|
+
import '../OrDateTimePickerMonthSelect-3f2de041.js';
|
|
135
135
|
import '../OrDateTimePickerPopoverHeader-caffcc00.js';
|
|
136
136
|
import '../OrHint-fcd2563e.js';
|
|
137
137
|
import '../OrInputBox-688eb48b.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { s as OrDatePickerV3 } from '../../OrDatePicker.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrDatePickerV3 } from '../../OrDatePicker.vue_vue_type_script_lang-ca0a37cc.js';
|
|
2
2
|
export { I as DatePickerSize } from '../../props-c966ae5f.js';
|
|
3
3
|
import 'vue';
|
|
4
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
4
|
+
import '../../OrDateTimePickerMonthSelect-3f2de041.js';
|
|
5
5
|
import '../../OrDateTimePickerPopoverHeader-caffcc00.js';
|
|
6
6
|
import '../../OrLabel-4da10c50.js';
|
|
7
7
|
import '../../OrLabel.vue_vue_type_script_lang-5ba2b33c.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker.vue_vue_type_script_lang-cc121bb1.js';
|
|
2
2
|
export { I as DateTimePickerSize } from '../../props-c966ae5f.js';
|
|
3
3
|
import 'vue';
|
|
4
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
4
|
+
import '../../OrDateTimePickerMonthSelect-3f2de041.js';
|
|
5
5
|
import '../../OrDateTimePickerPopoverHeader-caffcc00.js';
|
|
6
6
|
import '../../OrLabel-4da10c50.js';
|
|
7
7
|
import '../../OrLabel.vue_vue_type_script_lang-5ba2b33c.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -41,12 +41,12 @@ import { s as script$9 } from './OrConfirm.vue_vue_type_script_lang-3eb862c3.js'
|
|
|
41
41
|
export { s as OrConfirm } from './OrConfirm.vue_vue_type_script_lang-3eb862c3.js';
|
|
42
42
|
import { s as script$a } from './OrConfirm.vue_vue_type_script_lang-6bf48817.js';
|
|
43
43
|
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm.vue_vue_type_script_lang-6bf48817.js';
|
|
44
|
-
import { s as script$b } from './OrDatePicker.vue_vue_type_script_lang-
|
|
45
|
-
export { s as OrDatePickerV3 } from './OrDatePicker.vue_vue_type_script_lang-
|
|
44
|
+
import { s as script$b } from './OrDatePicker.vue_vue_type_script_lang-ca0a37cc.js';
|
|
45
|
+
export { s as OrDatePickerV3 } from './OrDatePicker.vue_vue_type_script_lang-ca0a37cc.js';
|
|
46
46
|
import { s as script$c } from './OrDateTimePicker.vue_vue_type_script_lang-d7344d80.js';
|
|
47
47
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker.vue_vue_type_script_lang-d7344d80.js';
|
|
48
|
-
import { s as script$d } from './OrDateTimePicker.vue_vue_type_script_lang-
|
|
49
|
-
export { s as OrDateTimePickerV3 } from './OrDateTimePicker.vue_vue_type_script_lang-
|
|
48
|
+
import { s as script$d } from './OrDateTimePicker.vue_vue_type_script_lang-cc121bb1.js';
|
|
49
|
+
export { s as OrDateTimePickerV3 } from './OrDateTimePicker.vue_vue_type_script_lang-cc121bb1.js';
|
|
50
50
|
import { s as script$e } from './OrEmptyState.vue_vue_type_script_lang-4dc955fd.js';
|
|
51
51
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState.vue_vue_type_script_lang-4dc955fd.js';
|
|
52
52
|
import { s as script$f } from './OrErrorTag.vue_vue_type_script_lang-26bd7e9a.js';
|
|
@@ -197,7 +197,7 @@ import './OrModal-0f2cb8c9.js';
|
|
|
197
197
|
import './OrHint-c9114268.js';
|
|
198
198
|
import './index-01519e46.js';
|
|
199
199
|
import './OrInput-d95faac1.js';
|
|
200
|
-
import './OrDateTimePickerMonthSelect-
|
|
200
|
+
import './OrDateTimePickerMonthSelect-3f2de041.js';
|
|
201
201
|
import './OrDateTimePickerPopoverHeader-caffcc00.js';
|
|
202
202
|
import './dom-4f424b9d.js';
|
|
203
203
|
import './px-to-rem-0b26b83e.js';
|
|
@@ -849,7 +849,7 @@ function render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
849
849
|
required: _ctx.required,
|
|
850
850
|
readonly: _ctx.readonly,
|
|
851
851
|
disabled: _ctx.disabled
|
|
852
|
-
}), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.
|
|
852
|
+
}), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1$v)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
|
|
853
853
|
ref: "popover",
|
|
854
854
|
variant: 'auto',
|
|
855
855
|
trigger: _ctx.control,
|
|
@@ -1188,7 +1188,7 @@ function render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1188
1188
|
required: _ctx.required,
|
|
1189
1189
|
readonly: _ctx.readonly,
|
|
1190
1190
|
disabled: _ctx.disabled
|
|
1191
|
-
}), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.
|
|
1191
|
+
}), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1$t)), [[_directive_dropdown_open, _ctx.toggleDatePopover], [_directive_dropdown_close, _ctx.closeDatePopover]]), withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
1192
1192
|
ref: "timeControl"
|
|
1193
1193
|
}, _ctx.controlAttributes, {
|
|
1194
1194
|
class: _ctx.controlStyles,
|
|
@@ -1196,7 +1196,7 @@ function render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1196
1196
|
required: _ctx.required,
|
|
1197
1197
|
readonly: _ctx.readonly,
|
|
1198
1198
|
disabled: _ctx.disabled
|
|
1199
|
-
}), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.
|
|
1199
|
+
}), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_2$i)), [[_directive_dropdown_open, _ctx.toggleTimePopover], [_directive_dropdown_close, _ctx.closeTimePopover]]), createVNode(_component_OrPopover, {
|
|
1200
1200
|
ref: "datePopover",
|
|
1201
1201
|
variant: 'auto',
|
|
1202
1202
|
trigger: _ctx.dateControl,
|
|
@@ -3439,7 +3439,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3439
3439
|
required: _ctx.required,
|
|
3440
3440
|
readonly: _ctx.readonly,
|
|
3441
3441
|
disabled: _ctx.disabled
|
|
3442
|
-
}), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.
|
|
3442
|
+
}), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
|
|
3443
3443
|
ref: "popover",
|
|
3444
3444
|
variant: 'auto',
|
|
3445
3445
|
trigger: _ctx.control,
|
|
@@ -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 } from './OrDateTimePickerMonthSelect-
|
|
6
|
+
import { _ as __vue_component__$1, a as __vue_component__$3 } from './OrDateTimePickerMonthSelect-01d0ecba.js';
|
|
7
7
|
import { _ as __vue_component__$2, a as __vue_component__$4, b as __vue_component__$5 } from './OrDateTimePickerPopoverHeader-e11d3222.js';
|
|
8
8
|
import { _ as __vue_component__$6 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$7 } from './OrHint-aa221198.js';
|
|
@@ -235,7 +235,7 @@ var __vue_render__ = function () {
|
|
|
235
235
|
"readonly": _vm.readonly,
|
|
236
236
|
"disabled": _vm.disabled
|
|
237
237
|
}
|
|
238
|
-
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.
|
|
238
|
+
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
|
|
239
239
|
ref: "popover",
|
|
240
240
|
attrs: {
|
|
241
241
|
"variant": 'auto',
|
|
@@ -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-83c885d0.js';
|
|
13
|
-
import { _ as __vue_component__$1, a as __vue_component__$3 } from './OrDateTimePickerMonthSelect-
|
|
13
|
+
import { _ as __vue_component__$1, a as __vue_component__$3 } from './OrDateTimePickerMonthSelect-01d0ecba.js';
|
|
14
14
|
import { _ as __vue_component__$2, a as __vue_component__$4, b as __vue_component__$5 } from './OrDateTimePickerPopoverHeader-e11d3222.js';
|
|
15
15
|
import { _ as __vue_component__$6 } from './OrDateTimePickerTimeSelect-83dd1e81.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -284,7 +284,7 @@ var __vue_render__ = function () {
|
|
|
284
284
|
"readonly": _vm.readonly,
|
|
285
285
|
"disabled": _vm.disabled
|
|
286
286
|
}
|
|
287
|
-
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.
|
|
287
|
+
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('div', _vm._b({
|
|
288
288
|
directives: [{
|
|
289
289
|
name: "dropdown-open",
|
|
290
290
|
rawName: "v-dropdown-open",
|
|
@@ -304,7 +304,7 @@ var __vue_render__ = function () {
|
|
|
304
304
|
"readonly": _vm.readonly,
|
|
305
305
|
"disabled": _vm.disabled
|
|
306
306
|
}
|
|
307
|
-
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.
|
|
307
|
+
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
|
|
308
308
|
ref: "datePopover",
|
|
309
309
|
attrs: {
|
|
310
310
|
"variant": 'auto',
|
|
@@ -7,6 +7,7 @@ import { _ as __vue_component__$3 } from './OrIcon-d35a84d8.js';
|
|
|
7
7
|
import { _ as __vue_component__$6 } from './OrMenuItem-6f9b8a93.js';
|
|
8
8
|
import { _ as __vue_component__$5 } from './OrMenu-18a7f179.js';
|
|
9
9
|
import './OrPopover-83c885d0.js';
|
|
10
|
+
import { _ as __vue_component__$7 } from './OrTooltip-2c09dcaf.js';
|
|
10
11
|
|
|
11
12
|
const DateTimePickerDaySelect = [
|
|
12
13
|
// Layout
|
|
@@ -163,7 +164,8 @@ var script = defineComponent({
|
|
|
163
164
|
OrIcon: __vue_component__$3,
|
|
164
165
|
OrIconButton: __vue_component__$4,
|
|
165
166
|
OrMenu: __vue_component__$5,
|
|
166
|
-
OrMenuItem: __vue_component__$6
|
|
167
|
+
OrMenuItem: __vue_component__$6,
|
|
168
|
+
OrTooltip: __vue_component__$7
|
|
167
169
|
},
|
|
168
170
|
model: {
|
|
169
171
|
prop: 'modelValue',
|
|
@@ -288,7 +290,8 @@ var __vue_render__ = function () {
|
|
|
288
290
|
class: _vm.rootStyles
|
|
289
291
|
}, [_c('OrIconButton', {
|
|
290
292
|
attrs: {
|
|
291
|
-
"icon": 'chevron_left'
|
|
293
|
+
"icon": 'chevron_left',
|
|
294
|
+
"tooltip": 'Previous month'
|
|
292
295
|
},
|
|
293
296
|
on: {
|
|
294
297
|
"click": function ($event) {
|
|
@@ -298,6 +301,10 @@ var __vue_render__ = function () {
|
|
|
298
301
|
}
|
|
299
302
|
}), _vm._v(" "), _c('div', {
|
|
300
303
|
class: ['layout-row-reverse', 'gap-md']
|
|
304
|
+
}, [_c('OrTooltip', {
|
|
305
|
+
attrs: {
|
|
306
|
+
"text": 'Choose year'
|
|
307
|
+
}
|
|
301
308
|
}, [_c('OrButton', {
|
|
302
309
|
ref: "yearButton",
|
|
303
310
|
attrs: {
|
|
@@ -310,11 +317,15 @@ var __vue_render__ = function () {
|
|
|
310
317
|
return _vm.yearMenu.open();
|
|
311
318
|
}
|
|
312
319
|
}
|
|
313
|
-
}, [_vm._v("\n
|
|
320
|
+
}, [_vm._v("\n " + _vm._s(_vm.formatYear(_vm.proxyModelValue)) + " "), _c('OrIcon', {
|
|
314
321
|
attrs: {
|
|
315
322
|
"icon": _vm.yearMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
316
323
|
}
|
|
317
|
-
})], 1), _vm._v(" "), _c('
|
|
324
|
+
})], 1)], 1), _vm._v(" "), _c('OrTooltip', {
|
|
325
|
+
attrs: {
|
|
326
|
+
"text": 'Choose month'
|
|
327
|
+
}
|
|
328
|
+
}, [_c('OrButton', {
|
|
318
329
|
ref: "monthButton",
|
|
319
330
|
attrs: {
|
|
320
331
|
"variant": 'link',
|
|
@@ -326,11 +337,11 @@ var __vue_render__ = function () {
|
|
|
326
337
|
return _vm.monthMenu.open();
|
|
327
338
|
}
|
|
328
339
|
}
|
|
329
|
-
}, [_vm._v("\n
|
|
340
|
+
}, [_vm._v("\n " + _vm._s(_vm.formatMonth(_vm.proxyModelValue)) + " "), _c('OrIcon', {
|
|
330
341
|
attrs: {
|
|
331
342
|
"icon": _vm.monthMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
332
343
|
}
|
|
333
|
-
})], 1), _vm._v(" "), _c('OrMenu', {
|
|
344
|
+
})], 1)], 1), _vm._v(" "), _c('OrMenu', {
|
|
334
345
|
ref: "yearMenu",
|
|
335
346
|
attrs: {
|
|
336
347
|
"trigger": _vm.yearButtonRoot
|
|
@@ -372,7 +383,8 @@ var __vue_render__ = function () {
|
|
|
372
383
|
}, [_vm._v("\n " + _vm._s(_vm.formatMonth(value)) + "\n ")]);
|
|
373
384
|
}), 1)], 1), _vm._v(" "), _c('OrIconButton', {
|
|
374
385
|
attrs: {
|
|
375
|
-
"icon": 'chevron_right'
|
|
386
|
+
"icon": 'chevron_right',
|
|
387
|
+
"tooltip": 'Next month'
|
|
376
388
|
},
|
|
377
389
|
on: {
|
|
378
390
|
"click": function ($event) {
|
|
@@ -234,7 +234,7 @@ var __vue_render__ = function () {
|
|
|
234
234
|
"readonly": _vm.readonly,
|
|
235
235
|
"disabled": _vm.disabled
|
|
236
236
|
}
|
|
237
|
-
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.
|
|
237
|
+
}, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
|
|
238
238
|
ref: "popover",
|
|
239
239
|
attrs: {
|
|
240
240
|
"variant": 'auto',
|
|
@@ -20,11 +20,11 @@ export { _ as OrCollapse } from '../OrCollapse-50e3914c.js';
|
|
|
20
20
|
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';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-64e815c7.js';
|
|
22
22
|
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-1be17f86.js';
|
|
23
|
-
export { _ as OrDatePickerV3 } from '../OrDatePicker-
|
|
23
|
+
export { _ as OrDatePickerV3 } from '../OrDatePicker-df9d3b9c.js';
|
|
24
24
|
export { _ as OrInputBoxV3 } from '../OrInputBox-0f4e8500.js';
|
|
25
25
|
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';
|
|
26
26
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-85e5e03e.js';
|
|
27
|
-
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-
|
|
27
|
+
export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-5029084f.js';
|
|
28
28
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from '../OrEmptyState-2d3fd68d.js';
|
|
29
29
|
export { _ as OrError } from '../OrError-efc74907.js';
|
|
30
30
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-a55ae01a.js';
|
|
@@ -96,7 +96,7 @@ export { _ as OrTextV3 } from '../OrText-6097bca5.js';
|
|
|
96
96
|
export { _ as OrTextarea } from '../OrTextarea-724a4d6f.js';
|
|
97
97
|
export { _ as OrTextareaV3 } from '../OrTextarea-839a422d.js';
|
|
98
98
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-cd85a59f.js';
|
|
99
|
-
export { _ as OrTimePickerV3 } from '../OrTimePicker-
|
|
99
|
+
export { _ as OrTimePickerV3 } from '../OrTimePicker-66cf402d.js';
|
|
100
100
|
export { _ as OrToast, a as OrToastContainer } from '../OrToastContainer-41b56042.js';
|
|
101
101
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
102
102
|
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-b1ac5808.js';
|
|
@@ -128,7 +128,7 @@ import '../dom-7a41831b.js';
|
|
|
128
128
|
import '@vueuse/math';
|
|
129
129
|
import '../dropdown-open-e1f90e0a.js';
|
|
130
130
|
import '../useValidationAttributes-d1abbe34.js';
|
|
131
|
-
import '../OrDateTimePickerMonthSelect-
|
|
131
|
+
import '../OrDateTimePickerMonthSelect-01d0ecba.js';
|
|
132
132
|
import '../OrDateTimePickerPopoverHeader-e11d3222.js';
|
|
133
133
|
import '../OrDateTimePickerTimeSelect-83dd1e81.js';
|
|
134
134
|
import '@floating-ui/dom';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { _ as OrDatePickerV3 } from '../../OrDatePicker-
|
|
1
|
+
export { _ as OrDatePickerV3 } from '../../OrDatePicker-df9d3b9c.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-01d0ecba.js';
|
|
9
9
|
import '../../OrButton-2283df1c.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-5029084f.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-01d0ecba.js';
|
|
25
25
|
import '../../OrButton-2283df1c.js';
|
|
26
26
|
import '../../OrLoader-b0c381f9.js';
|
|
27
27
|
import '../../OrDateTimePickerPopoverHeader-e11d3222.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrTimePickerV3 } from '../../OrTimePicker-
|
|
1
|
+
export { _ as OrTimePickerV3 } from '../../OrTimePicker-66cf402d.js';
|
|
2
2
|
export { I as TimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -20,11 +20,11 @@ export { _ as OrCollapse } from './OrCollapse-50e3914c.js';
|
|
|
20
20
|
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';
|
|
21
21
|
export { _ as OrConfirm } from './OrConfirm-64e815c7.js';
|
|
22
22
|
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-1be17f86.js';
|
|
23
|
-
export { _ as OrDatePickerV3 } from './OrDatePicker-
|
|
23
|
+
export { _ as OrDatePickerV3 } from './OrDatePicker-df9d3b9c.js';
|
|
24
24
|
export { _ as OrInputBoxV3 } from './OrInputBox-0f4e8500.js';
|
|
25
25
|
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';
|
|
26
26
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-85e5e03e.js';
|
|
27
|
-
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
27
|
+
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-5029084f.js';
|
|
28
28
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-2d3fd68d.js';
|
|
29
29
|
export { _ as OrError } from './OrError-efc74907.js';
|
|
30
30
|
export { _ as OrErrorTagV3 } from './OrErrorTag-a55ae01a.js';
|
|
@@ -96,7 +96,7 @@ export { _ as OrTextV3 } from './OrText-6097bca5.js';
|
|
|
96
96
|
export { _ as OrTextarea } from './OrTextarea-724a4d6f.js';
|
|
97
97
|
export { _ as OrTextareaV3 } from './OrTextarea-839a422d.js';
|
|
98
98
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-cd85a59f.js';
|
|
99
|
-
export { _ as OrTimePickerV3 } from './OrTimePicker-
|
|
99
|
+
export { _ as OrTimePickerV3 } from './OrTimePicker-66cf402d.js';
|
|
100
100
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-41b56042.js';
|
|
101
101
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
102
102
|
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-b1ac5808.js';
|
|
@@ -132,7 +132,7 @@ import '@lezer/highlight';
|
|
|
132
132
|
import './px-to-rem-0b26b83e.js';
|
|
133
133
|
import './dom-7a41831b.js';
|
|
134
134
|
import '@vueuse/math';
|
|
135
|
-
import './OrDateTimePickerMonthSelect-
|
|
135
|
+
import './OrDateTimePickerMonthSelect-01d0ecba.js';
|
|
136
136
|
import './OrDateTimePickerPopoverHeader-e11d3222.js';
|
|
137
137
|
import './OrDateTimePickerTimeSelect-83dd1e81.js';
|
|
138
138
|
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 } from './OrDateTimePickerMonthSelect-
|
|
6
|
+
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-3b830d42.js';
|
|
7
7
|
import { s as script$2, a as script$4, b as script$5 } from './OrDateTimePickerPopoverHeader-c771a251.js';
|
|
8
8
|
import { s as script$6 } from './OrError-c01d0c29.js';
|
|
9
9
|
import { s as script$7 } from './OrHint-06ab89d7.js';
|
|
@@ -220,7 +220,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
220
220
|
required: _ctx.required,
|
|
221
221
|
readonly: _ctx.readonly,
|
|
222
222
|
disabled: _ctx.disabled
|
|
223
|
-
}), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.
|
|
223
|
+
}), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
|
|
224
224
|
ref: "popover",
|
|
225
225
|
variant: 'auto',
|
|
226
226
|
trigger: _ctx.control,
|
|
@@ -9,7 +9,7 @@ import { s as script$9 } from './OrIconButton-e3f4d060.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-3ac8f589.js';
|
|
12
|
-
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-
|
|
12
|
+
import { s as script$1, a as script$3 } from './OrDateTimePickerMonthSelect-3b830d42.js';
|
|
13
13
|
import { s as script$2, a as script$4, b as script$5 } from './OrDateTimePickerPopoverHeader-c771a251.js';
|
|
14
14
|
import { s as script$6 } from './OrDateTimePickerTimeSelect-2c8a7f9c.js';
|
|
15
15
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, mergeProps, createVNode, createElementVNode, withModifiers, Fragment } from 'vue';
|
|
@@ -271,7 +271,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
271
271
|
required: _ctx.required,
|
|
272
272
|
readonly: _ctx.readonly,
|
|
273
273
|
disabled: _ctx.disabled
|
|
274
|
-
}), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.
|
|
274
|
+
}), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.toggleDatePopover], [_directive_dropdown_close, _ctx.closeDatePopover]]), withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
275
275
|
ref: "timeControl"
|
|
276
276
|
}, _ctx.controlAttributes, {
|
|
277
277
|
class: _ctx.controlStyles,
|
|
@@ -279,7 +279,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
279
279
|
required: _ctx.required,
|
|
280
280
|
readonly: _ctx.readonly,
|
|
281
281
|
disabled: _ctx.disabled
|
|
282
|
-
}), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.
|
|
282
|
+
}), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_2)), [[_directive_dropdown_open, _ctx.toggleTimePopover], [_directive_dropdown_close, _ctx.closeTimePopover]]), createVNode(_component_OrPopover, {
|
|
283
283
|
ref: "datePopover",
|
|
284
284
|
variant: 'auto',
|
|
285
285
|
trigger: _ctx.dateControl,
|
|
@@ -7,6 +7,7 @@ import { s as script$3 } from './OrIcon-62793572.js';
|
|
|
7
7
|
import { s as script$6 } from './OrMenuItem-dbee450f.js';
|
|
8
8
|
import { s as script$5 } from './OrMenu-70cee836.js';
|
|
9
9
|
import './OrPopover-3ac8f589.js';
|
|
10
|
+
import { s as script$7 } from './OrTooltip-d91128f4.js';
|
|
10
11
|
|
|
11
12
|
const DateTimePickerDaySelect = [
|
|
12
13
|
// Layout
|
|
@@ -137,7 +138,8 @@ var script = defineComponent({
|
|
|
137
138
|
OrIcon: script$3,
|
|
138
139
|
OrIconButton: script$4,
|
|
139
140
|
OrMenu: script$5,
|
|
140
|
-
OrMenuItem: script$6
|
|
141
|
+
OrMenuItem: script$6,
|
|
142
|
+
OrTooltip: script$7
|
|
141
143
|
},
|
|
142
144
|
model: {
|
|
143
145
|
prop: 'modelValue',
|
|
@@ -256,6 +258,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
256
258
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
257
259
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
258
260
|
const _component_OrButton = resolveComponent("OrButton");
|
|
261
|
+
const _component_OrTooltip = resolveComponent("OrTooltip");
|
|
259
262
|
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
260
263
|
const _component_OrMenu = resolveComponent("OrMenu");
|
|
261
264
|
return openBlock(), createElementBlock("div", {
|
|
@@ -263,28 +266,41 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
263
266
|
class: normalizeClass(_ctx.rootStyles)
|
|
264
267
|
}, [createVNode(_component_OrIconButton, {
|
|
265
268
|
icon: 'chevron_left',
|
|
269
|
+
tooltip: 'Previous month',
|
|
266
270
|
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.goToPreviousMonth(), ["stop"]))
|
|
267
|
-
}), createElementVNode("div", _hoisted_1, [createVNode(
|
|
268
|
-
|
|
269
|
-
variant: 'link',
|
|
270
|
-
color: 'inherit',
|
|
271
|
-
onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.yearMenu.open(), ["stop"]))
|
|
271
|
+
}), createElementVNode("div", _hoisted_1, [createVNode(_component_OrTooltip, {
|
|
272
|
+
text: 'Choose year'
|
|
272
273
|
}, {
|
|
273
|
-
default: withCtx(() => [
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
default: withCtx(() => [createVNode(_component_OrButton, {
|
|
275
|
+
ref: "yearButton",
|
|
276
|
+
variant: 'link',
|
|
277
|
+
color: 'inherit',
|
|
278
|
+
onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.yearMenu.open(), ["stop"]))
|
|
279
|
+
}, {
|
|
280
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
281
|
+
icon: _ctx.yearMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
282
|
+
}, null, 8 /* PROPS */, ["icon"])]),
|
|
283
|
+
_: 1 /* STABLE */
|
|
284
|
+
}, 512 /* NEED_PATCH */)]),
|
|
285
|
+
|
|
276
286
|
_: 1 /* STABLE */
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
variant: 'link',
|
|
280
|
-
color: 'inherit',
|
|
281
|
-
onClick: _cache[2] || (_cache[2] = withModifiers($event => _ctx.monthMenu.open(), ["stop"]))
|
|
287
|
+
}), createVNode(_component_OrTooltip, {
|
|
288
|
+
text: 'Choose month'
|
|
282
289
|
}, {
|
|
283
|
-
default: withCtx(() => [
|
|
284
|
-
|
|
285
|
-
|
|
290
|
+
default: withCtx(() => [createVNode(_component_OrButton, {
|
|
291
|
+
ref: "monthButton",
|
|
292
|
+
variant: 'link',
|
|
293
|
+
color: 'inherit',
|
|
294
|
+
onClick: _cache[2] || (_cache[2] = withModifiers($event => _ctx.monthMenu.open(), ["stop"]))
|
|
295
|
+
}, {
|
|
296
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
297
|
+
icon: _ctx.monthMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
298
|
+
}, null, 8 /* PROPS */, ["icon"])]),
|
|
299
|
+
_: 1 /* STABLE */
|
|
300
|
+
}, 512 /* NEED_PATCH */)]),
|
|
301
|
+
|
|
286
302
|
_: 1 /* STABLE */
|
|
287
|
-
}
|
|
303
|
+
}), createVNode(_component_OrMenu, {
|
|
288
304
|
ref: "yearMenu",
|
|
289
305
|
trigger: _ctx.yearButtonRoot
|
|
290
306
|
}, {
|
|
@@ -328,6 +344,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
328
344
|
_: 1 /* STABLE */
|
|
329
345
|
}, 8 /* PROPS */, ["trigger"])]), createVNode(_component_OrIconButton, {
|
|
330
346
|
icon: 'chevron_right',
|
|
347
|
+
tooltip: 'Next month',
|
|
331
348
|
onClick: _cache[3] || (_cache[3] = withModifiers($event => _ctx.goToNextMonth(), ["stop"]))
|
|
332
349
|
})], 2 /* CLASS */);
|
|
333
350
|
}
|
|
@@ -218,7 +218,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
218
218
|
required: _ctx.required,
|
|
219
219
|
readonly: _ctx.readonly,
|
|
220
220
|
disabled: _ctx.disabled
|
|
221
|
-
}), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.
|
|
221
|
+
}), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
|
|
222
222
|
ref: "popover",
|
|
223
223
|
variant: 'auto',
|
|
224
224
|
trigger: _ctx.control,
|
|
@@ -17,10 +17,10 @@ export { s as OrCollapse } from '../OrCollapse-37a52e8f.js';
|
|
|
17
17
|
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';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-f408faf5.js';
|
|
19
19
|
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-ecb8c576.js';
|
|
20
|
-
export { s as OrDatePickerV3 } from '../OrDatePicker-
|
|
20
|
+
export { s as OrDatePickerV3 } from '../OrDatePicker-decf1853.js';
|
|
21
21
|
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';
|
|
22
22
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-30749526.js';
|
|
23
|
-
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker-
|
|
23
|
+
export { s as OrDateTimePickerV3 } from '../OrDateTimePicker-29a2faf1.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState-5349a1f9.js';
|
|
25
25
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
26
26
|
export { s as OrErrorTagV3 } from '../OrErrorTag-ade9192b.js';
|
|
@@ -92,7 +92,7 @@ export { s as OrTextV3 } from '../OrText-de6b2fe2.js';
|
|
|
92
92
|
export { s as OrTextarea } from '../OrTextarea-de1ecb0f.js';
|
|
93
93
|
export { s as OrTextareaV3 } from '../OrTextarea-2002e190.js';
|
|
94
94
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-b025d6e4.js';
|
|
95
|
-
export { s as OrTimePickerV3 } from '../OrTimePicker-
|
|
95
|
+
export { s as OrTimePickerV3 } from '../OrTimePicker-b96ec56f.js';
|
|
96
96
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-70cd8d1d.js';
|
|
97
97
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
98
98
|
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-af033805.js';
|
|
@@ -123,7 +123,7 @@ import '../dom-7a41831b.js';
|
|
|
123
123
|
import '@vueuse/math';
|
|
124
124
|
import '../dropdown-open-e1f90e0a.js';
|
|
125
125
|
import '../useValidationAttributes-d1abbe34.js';
|
|
126
|
-
import '../OrDateTimePickerMonthSelect-
|
|
126
|
+
import '../OrDateTimePickerMonthSelect-3b830d42.js';
|
|
127
127
|
import '../OrDateTimePickerPopoverHeader-c771a251.js';
|
|
128
128
|
import '../OrDateTimePickerTimeSelect-2c8a7f9c.js';
|
|
129
129
|
import '@floating-ui/dom';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { s as OrDatePickerV3 } from '../../OrDatePicker-
|
|
1
|
+
export { s as OrDatePickerV3 } from '../../OrDatePicker-decf1853.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-3b830d42.js';
|
|
9
9
|
import '../../OrButton-5a850657.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-29a2faf1.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-0f24ecae.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-3b830d42.js';
|
|
23
23
|
import '../../OrButton-5a850657.js';
|
|
24
24
|
import '../../OrLoader-b79022da.js';
|
|
25
25
|
import '../../OrDateTimePickerPopoverHeader-c771a251.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrTimePickerV3 } from '../../OrTimePicker-
|
|
1
|
+
export { s as OrTimePickerV3 } from '../../OrTimePicker-b96ec56f.js';
|
|
2
2
|
export { I as TimePickerSize } from '../../OrInputBox-901887a1.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-e1f90e0a.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -17,10 +17,10 @@ export { s as OrCollapse } from './OrCollapse-37a52e8f.js';
|
|
|
17
17
|
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';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-f408faf5.js';
|
|
19
19
|
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-ecb8c576.js';
|
|
20
|
-
export { s as OrDatePickerV3 } from './OrDatePicker-
|
|
20
|
+
export { s as OrDatePickerV3 } from './OrDatePicker-decf1853.js';
|
|
21
21
|
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';
|
|
22
22
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-30749526.js';
|
|
23
|
-
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
23
|
+
export { s as OrDateTimePickerV3 } from './OrDateTimePicker-29a2faf1.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-5349a1f9.js';
|
|
25
25
|
export { s as OrError } from './OrError-f90296db.js';
|
|
26
26
|
export { s as OrErrorTagV3 } from './OrErrorTag-ade9192b.js';
|
|
@@ -92,7 +92,7 @@ export { s as OrTextV3 } from './OrText-de6b2fe2.js';
|
|
|
92
92
|
export { s as OrTextarea } from './OrTextarea-de1ecb0f.js';
|
|
93
93
|
export { s as OrTextareaV3 } from './OrTextarea-2002e190.js';
|
|
94
94
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-b025d6e4.js';
|
|
95
|
-
export { s as OrTimePickerV3 } from './OrTimePicker-
|
|
95
|
+
export { s as OrTimePickerV3 } from './OrTimePicker-b96ec56f.js';
|
|
96
96
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-70cd8d1d.js';
|
|
97
97
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
98
98
|
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-af033805.js';
|
|
@@ -127,7 +127,7 @@ import '@lezer/highlight';
|
|
|
127
127
|
import './px-to-rem-0b26b83e.js';
|
|
128
128
|
import './dom-7a41831b.js';
|
|
129
129
|
import '@vueuse/math';
|
|
130
|
-
import './OrDateTimePickerMonthSelect-
|
|
130
|
+
import './OrDateTimePickerMonthSelect-3b830d42.js';
|
|
131
131
|
import './OrDateTimePickerPopoverHeader-c771a251.js';
|
|
132
132
|
import './OrDateTimePickerTimeSelect-2c8a7f9c.js';
|
|
133
133
|
import '@floating-ui/dom';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "3.0.4-beta.
|
|
3
|
+
"version": "3.0.4-beta.2512.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.2512.0",
|
|
42
42
|
"@splidejs/splide": "4.0.6",
|
|
43
43
|
"@types/lodash": "4.14.173",
|
|
44
44
|
"@types/sortablejs": "1.10.7",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
:readonly="readonly"
|
|
39
39
|
:disabled="disabled"
|
|
40
40
|
>
|
|
41
|
-
{{ formatDate(
|
|
41
|
+
{{ formatDate(draftModelValue) }}
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
44
|
<OrPopover
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
v-model="draftModelValue"
|
|
58
58
|
:filter="filter"
|
|
59
59
|
/>
|
|
60
|
+
|
|
60
61
|
<OrDateTimePickerDaySelect
|
|
61
62
|
v-model="draftModelValue"
|
|
62
63
|
:filter="filter"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
:readonly="readonly"
|
|
39
39
|
:disabled="disabled"
|
|
40
40
|
>
|
|
41
|
-
{{ formatDate(
|
|
41
|
+
{{ formatDate(draftModelValue) }}
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
44
|
<div
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
:readonly="readonly"
|
|
53
53
|
:disabled="disabled"
|
|
54
54
|
>
|
|
55
|
-
{{ formatTime(
|
|
55
|
+
{{ formatTime(draftModelValue) }}
|
|
56
56
|
</div>
|
|
57
57
|
|
|
58
58
|
<OrPopover
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
v-model="draftModelValue"
|
|
76
76
|
:filter="filter"
|
|
77
77
|
/>
|
|
78
|
+
|
|
78
79
|
<OrDateTimePickerDaySelect
|
|
79
80
|
v-model="draftModelValue"
|
|
80
81
|
:filter="filter"
|
|
@@ -5,27 +5,32 @@
|
|
|
5
5
|
>
|
|
6
6
|
<OrIconButton
|
|
7
7
|
:icon="'chevron_left'"
|
|
8
|
+
:tooltip="'Previous month'"
|
|
8
9
|
@click.stop="goToPreviousMonth()"
|
|
9
10
|
/>
|
|
10
11
|
|
|
11
12
|
<div :class="['layout-row-reverse', 'gap-md']">
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
13
|
+
<OrTooltip :text="'Choose year'">
|
|
14
|
+
<OrButton
|
|
15
|
+
ref="yearButton"
|
|
16
|
+
:variant="'link'"
|
|
17
|
+
:color="'inherit'"
|
|
18
|
+
@click.stop="yearMenu.open()"
|
|
19
|
+
>
|
|
20
|
+
{{ formatYear(proxyModelValue) }} <OrIcon :icon="yearMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'" />
|
|
21
|
+
</OrButton>
|
|
22
|
+
</OrTooltip>
|
|
23
|
+
|
|
24
|
+
<OrTooltip :text="'Choose month'">
|
|
25
|
+
<OrButton
|
|
26
|
+
ref="monthButton"
|
|
27
|
+
:variant="'link'"
|
|
28
|
+
:color="'inherit'"
|
|
29
|
+
@click.stop="monthMenu.open()"
|
|
30
|
+
>
|
|
31
|
+
{{ formatMonth(proxyModelValue) }} <OrIcon :icon="monthMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'" />
|
|
32
|
+
</OrButton>
|
|
33
|
+
</OrTooltip>
|
|
29
34
|
|
|
30
35
|
<OrMenu
|
|
31
36
|
ref="yearMenu"
|
|
@@ -60,6 +65,7 @@
|
|
|
60
65
|
|
|
61
66
|
<OrIconButton
|
|
62
67
|
:icon="'chevron_right'"
|
|
68
|
+
:tooltip="'Next month'"
|
|
63
69
|
@click.stop="goToNextMonth()"
|
|
64
70
|
/>
|
|
65
71
|
</div>
|
|
@@ -72,6 +78,7 @@ import { OrIconButtonV3 as OrIconButton } from '../../../or-icon-button-v3';
|
|
|
72
78
|
import { OrIconV3 as OrIcon } from '../../../or-icon-v3';
|
|
73
79
|
import { OrMenuItemV3 as OrMenuItem } from '../../../or-menu-item-v3';
|
|
74
80
|
import { OrMenuV3 as OrMenu } from '../../../or-menu-v3';
|
|
81
|
+
import { OrTooltipV3 as OrTooltip } from '../../../or-tooltip-v3';
|
|
75
82
|
import { useDefaultDate } from '../../hooks/useDefaultDate';
|
|
76
83
|
import { useDefaultHours } from '../../hooks/useDefaultHours';
|
|
77
84
|
import { useDefaultMinutes } from '../../hooks/useDefaultMinutes';
|
|
@@ -88,6 +95,7 @@ export default defineComponent({
|
|
|
88
95
|
OrIconButton,
|
|
89
96
|
OrMenu,
|
|
90
97
|
OrMenuItem,
|
|
98
|
+
OrTooltip,
|
|
91
99
|
},
|
|
92
100
|
|
|
93
101
|
model: {
|