@ironsource/shared-ui 2.1.6-test.1 → 2.1.6-test.12
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/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +1 -0
- package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_6df3b70f_lang.css +1 -0
- package/DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css +1 -0
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css +1 -0
- package/DatePickerMonthV4.vue_vue_type_style_index_0_scoped_11288104_lang.css +1 -0
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_be93e5a9_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f6d9f41d_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +1 -0
- package/{FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css → FormCard.vue_vue_type_style_index_0_scoped_52ade67c_lang.css} +1 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.d.ts +6 -2
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +30 -28
- package/components/appHeader/index.d.ts +6 -2
- package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
- package/components/autocomplete/Autocomplete.vue.js +3 -3
- package/components/autocomplete/Autocomplete.vue2.js +82 -61
- package/components/autocomplete/index.d.ts +20 -1
- package/components/datePicker/common/DatePicker.common.d.ts +11 -0
- package/components/datePicker/common/DatePicker.common.js +52 -0
- package/components/datePicker/common/DatePickerMonth.common.d.ts +85 -0
- package/components/datePicker/common/DatePickerMonth.common.js +66 -0
- package/components/datePicker/{DatePicker.vue.d.ts → v3/DatePicker.vue.d.ts} +1 -1
- package/components/datePicker/v3/DatePicker.vue.js +7 -0
- package/components/datePicker/v3/DatePicker.vue2.js +69 -0
- package/components/datePicker/v3/DatePickerMonth.vue.js +7 -0
- package/components/datePicker/v3/DatePickerMonth.vue2.js +40 -0
- package/components/datePicker/{index.d.ts → v3/index.d.ts} +3 -3
- package/components/datePicker/v4/DatePickerMonthV4.vue.d.ts +53 -0
- package/components/datePicker/v4/DatePickerMonthV4.vue.js +7 -0
- package/components/datePicker/v4/DatePickerMonthV4.vue2.js +40 -0
- package/components/datePicker/v4/DatePickerV4.vue.d.ts +67 -0
- package/components/datePicker/v4/DatePickerV4.vue.js +7 -0
- package/components/datePicker/v4/DatePickerV4.vue2.js +73 -0
- package/components/datePicker/v4/index.d.ts +184 -0
- package/components/datePicker/v4/index.js +6 -0
- package/components/dateRange/common/CalendarMonth.common.d.ts +17 -0
- package/components/dateRange/common/CalendarMonth.common.js +131 -0
- package/components/dateRange/common/DateRange.common.d.ts +47 -0
- package/components/dateRange/common/DateRange.common.js +265 -0
- package/components/dateRange/common/DateRangePicker.common.d.ts +3 -0
- package/components/dateRange/{DateServices.d.ts → common/DateServices.common.d.ts} +1 -0
- package/components/dateRange/common/DateServices.common.js +248 -0
- package/components/dateRange/{consts.js → common/consts.common.js} +5 -9
- package/components/dateRange/{CalendarMonth.vue.d.ts → v3/CalendarMonth.vue.d.ts} +1 -1
- package/components/dateRange/v3/CalendarMonth.vue.js +7 -0
- package/components/dateRange/v3/CalendarMonth.vue2.js +147 -0
- package/components/dateRange/{DateRange.vue.d.ts → v3/DateRange.vue.d.ts} +9 -9
- package/components/dateRange/v3/DateRange.vue.js +7 -0
- package/components/dateRange/v3/DateRange.vue2.js +226 -0
- package/components/dateRange/{DateRangePicker.vue.d.ts → v3/DateRangePicker.vue.d.ts} +9 -9
- package/components/dateRange/{index.d.ts → v3/index.d.ts} +21 -21
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +75 -0
- package/components/dateRange/v4/CalendarMonthV4.vue.js +7 -0
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +132 -0
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +115 -0
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +127 -0
- package/components/dateRange/v4/DateRangeV4.vue.js +7 -0
- package/components/dateRange/v4/DateRangeV4.vue2.js +262 -0
- package/components/dateRange/v4/index.d.ts +408 -0
- package/components/dateRange/v4/index.js +6 -0
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +67 -62
- package/components/dropdown/common/Dropdown.common.js +21 -21
- package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +32 -32
- package/components/dropdown/v3/index.d.ts +13 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +2 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +16 -16
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +40 -49
- package/components/dropdown/v4/DropdownV4.vue.d.ts +16 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +140 -128
- package/components/dropdown/v4/OptionV4.vue.d.ts +11 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +61 -44
- package/components/dropdown/v4/index.d.ts +105 -4
- package/components/filtersPanel/v3/Filter.d.ts +1 -1
- package/components/forms/FormCard.vue.js +2 -2
- package/components/forms/FormCard.vue2.js +9 -9
- package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +23 -22
- package/components/inlineCopy/index.d.ts +6 -2
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +43 -43
- package/components/input/v4/index.d.ts +20 -1
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +21 -21
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -9
- package/components/table/v4/DataGrid.vue.d.ts +4 -0
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +147 -147
- package/components/table/v4/index.d.ts +14 -2
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
- package/components/tooltip/v4/index.d.ts +17 -5
- package/index.d.ts +1512 -34
- package/index.js +116 -116
- package/package.json +13 -6
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css +0 -1
- package/Autocomplete.vue_vue_type_style_index_0_scoped_d2d1dc1d_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_b2206adb_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +0 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_e108ef3b_lang.css +0 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_b171cdab_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_eb5d155e_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_c3004ba3_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_bf8e7ff5_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_72ab1f25_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_01778240_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
- package/components/datePicker/DatePicker.vue.js +0 -7
- package/components/datePicker/DatePicker.vue2.js +0 -97
- package/components/datePicker/DatePickerMonth.vue.js +0 -7
- package/components/datePicker/DatePickerMonth.vue2.js +0 -85
- package/components/dateRange/CalendarMonth.vue.js +0 -7
- package/components/dateRange/CalendarMonth.vue2.js +0 -244
- package/components/dateRange/DateRange.vue.js +0 -7
- package/components/dateRange/DateRange.vue2.js +0 -417
- package/components/dateRange/DateServices.js +0 -245
- /package/components/datePicker/{DatePickerMonth.vue.d.ts → v3/DatePickerMonth.vue.d.ts} +0 -0
- /package/components/datePicker/{index.js → v3/index.js} +0 -0
- /package/components/dateRange/{consts.d.ts → common/consts.common.d.ts} +0 -0
- /package/components/dateRange/{index.js → v3/index.js} +0 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_f6d9f41d_lang.css"; import { defineComponent as J, openBlock as n, createElementBlock as i, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as N, createVNode as s, withDirectives as v, Fragment as k, renderList as C, withCtx as l, createTextVNode as m, toDisplayString as g, createCommentVNode as P, vShow as $, normalizeStyle as Q, setBlockTracking as x } from "vue";
|
|
2
|
+
import X from "./CalendarMonthV4.vue.js";
|
|
3
|
+
import { typeToName as Z, messagePerType as _ } from "../common/consts.common.js";
|
|
4
|
+
import R from "../../button/v4/ButtonV4.vue.js";
|
|
5
|
+
import "../../button/v4/IconButtonV4.vue.js";
|
|
6
|
+
import "../../dropdown/v4/DropdownV4.vue.js";
|
|
7
|
+
import "../../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
8
|
+
import "../../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
9
|
+
import "../../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
10
|
+
import "../../dropdown/v4/AppDropdownTrigger.vue.js";
|
|
11
|
+
import "../../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
12
|
+
import ee from "../../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
13
|
+
import "../../dropdown/v4/OptionV4.vue.js";
|
|
14
|
+
import { DateRangeTestIdModifiers as o, DatePickerTestIdModifiers as te } from "../../../testids/index.js";
|
|
15
|
+
import { dateRangeCommon as ae } from "../common/DateRange.common.js";
|
|
16
|
+
import p from "../../typography/v4/Typography.vue.js";
|
|
17
|
+
const de = ["id", "data-testid"], ne = ["data-testid"], ie = ["id", "data-testid"], se = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "type-picker"
|
|
20
|
+
}, oe = ["onClick"], le = ["data-testid"], re = ["id"], ue = ["id"], ce = ["onClick"], me = { class: "dropdown-rightTriangle" }, pe = ["data-testid"], ye = { class: "date-picker-calendar left-box" }, ge = { class: "buttons-cover" }, fe = { class: "range" }, he = { class: "text-container" }, Me = /* @__PURE__ */ J({
|
|
21
|
+
__name: "DateRangeV4",
|
|
22
|
+
props: {
|
|
23
|
+
range: null,
|
|
24
|
+
types: { default: () => ["date"] },
|
|
25
|
+
includeToday: { type: Boolean, default: !0 },
|
|
26
|
+
allowedDays: { default: null },
|
|
27
|
+
maxDaysInRange: { default: null },
|
|
28
|
+
datePresetList: { default: "date" },
|
|
29
|
+
regex: { default: () => /^(1[0-2]|0?[1-9])\/[\d]{1,2}\/[\d]{4}$/ },
|
|
30
|
+
dateFormat: { default: "mm/dd/yyyy" },
|
|
31
|
+
uniqueId: { default: Date.now() },
|
|
32
|
+
disabled: { type: Boolean, default: !1 },
|
|
33
|
+
initialType: { default: null },
|
|
34
|
+
openOnTop: { type: Boolean, default: !1 },
|
|
35
|
+
showPresets: { type: Boolean, default: !0 },
|
|
36
|
+
maxDate: { default: null },
|
|
37
|
+
testId: { default: "" }
|
|
38
|
+
},
|
|
39
|
+
emits: [
|
|
40
|
+
"rangeTypeChanged",
|
|
41
|
+
"currentDateChanged",
|
|
42
|
+
"rangeChanged",
|
|
43
|
+
"dateRangePresetNameChanged",
|
|
44
|
+
"opened",
|
|
45
|
+
"dismissed"
|
|
46
|
+
],
|
|
47
|
+
setup(t, { emit: E }) {
|
|
48
|
+
const A = t, {
|
|
49
|
+
datePicker: B,
|
|
50
|
+
datePickerId: M,
|
|
51
|
+
getMaxAllowedDate: S,
|
|
52
|
+
selectedPreset: I,
|
|
53
|
+
displayError: q,
|
|
54
|
+
rangeType: f,
|
|
55
|
+
selectedRange: O,
|
|
56
|
+
placement: L,
|
|
57
|
+
currentDate: w,
|
|
58
|
+
error: V,
|
|
59
|
+
presets: z,
|
|
60
|
+
isOpen: h,
|
|
61
|
+
popup: U,
|
|
62
|
+
currentMonths: y,
|
|
63
|
+
displayedMonthsKeys: T,
|
|
64
|
+
changeType: F,
|
|
65
|
+
presetChanged: G,
|
|
66
|
+
apply: K,
|
|
67
|
+
getNavigation: W,
|
|
68
|
+
navigationCallback: Y,
|
|
69
|
+
selectionChanged: j,
|
|
70
|
+
toggle: b,
|
|
71
|
+
isCompact: H
|
|
72
|
+
} = ae(A, E);
|
|
73
|
+
return (D, u) => (n(), i("div", {
|
|
74
|
+
id: e(M),
|
|
75
|
+
ref_key: "datePicker",
|
|
76
|
+
ref: B,
|
|
77
|
+
class: r(["relative-wrap", { "date-range-disabled": t.disabled }]),
|
|
78
|
+
"data-testid": `${t.testId}-${e(o).WRAPPER}`
|
|
79
|
+
}, [
|
|
80
|
+
d("div", {
|
|
81
|
+
class: "date-range-field",
|
|
82
|
+
"data-testid": `${t.testId}-${e(o).TRIGGER}`,
|
|
83
|
+
onClick: u[0] || (u[0] = (a) => e(b)())
|
|
84
|
+
}, [
|
|
85
|
+
N(D.$slots, "field", {
|
|
86
|
+
currentDate: e(w),
|
|
87
|
+
isOpen: e(h)
|
|
88
|
+
}, () => [
|
|
89
|
+
s(e(ee), {
|
|
90
|
+
label: e(w),
|
|
91
|
+
"start-icon-name": "calendar-blank",
|
|
92
|
+
variant: "outlined",
|
|
93
|
+
style: { marginRight: "10px" },
|
|
94
|
+
"test-id": `${t.testId}-${e(te).INPUT}`,
|
|
95
|
+
open: e(h)
|
|
96
|
+
}, null, 8, ["label", "test-id", "open"])
|
|
97
|
+
], !0)
|
|
98
|
+
], 8, ne),
|
|
99
|
+
v(d("div", {
|
|
100
|
+
id: "datepickerPopup" + t.uniqueId,
|
|
101
|
+
ref_key: "popup",
|
|
102
|
+
ref: U,
|
|
103
|
+
class: r(["pop-up", [
|
|
104
|
+
e(L),
|
|
105
|
+
t.openOnTop ? "open-on-top" : "",
|
|
106
|
+
t.showPresets ? "" : "hide-presets"
|
|
107
|
+
]]),
|
|
108
|
+
"data-testid": `${t.testId}-${e(o).CONTAINER}`
|
|
109
|
+
}, [
|
|
110
|
+
t.types.length > 1 ? (n(), i("div", se, [
|
|
111
|
+
(n(!0), i(k, null, C(t.types, (a) => (n(), i("span", {
|
|
112
|
+
key: a,
|
|
113
|
+
class: r(["range-type", { "selected-range-type": e(f) === a }]),
|
|
114
|
+
onClick: (c) => e(F)(a, !0)
|
|
115
|
+
}, [
|
|
116
|
+
s(e(p), { variant: "h1" }, {
|
|
117
|
+
default: l(() => [
|
|
118
|
+
m(g(e(Z)[a]), 1)
|
|
119
|
+
]),
|
|
120
|
+
_: 2
|
|
121
|
+
}, 1024)
|
|
122
|
+
], 10, oe))), 128))
|
|
123
|
+
])) : P("", !0),
|
|
124
|
+
d("div", {
|
|
125
|
+
class: r(["flex", { "pop-up-content": t.types.length > 1 }])
|
|
126
|
+
}, [
|
|
127
|
+
t.showPresets ? (n(), i("div", {
|
|
128
|
+
key: 0,
|
|
129
|
+
class: "date-picker-menu",
|
|
130
|
+
"data-testid": `${t.testId}-${e(o).MENU}`
|
|
131
|
+
}, [
|
|
132
|
+
d("div", {
|
|
133
|
+
id: "presets" + t.uniqueId,
|
|
134
|
+
class: "preset-dropdown"
|
|
135
|
+
}, [
|
|
136
|
+
d("ul", {
|
|
137
|
+
id: "customDropDownList" + t.uniqueId
|
|
138
|
+
}, [
|
|
139
|
+
(n(!0), i(k, null, C(e(z), (a) => (n(), i("li", {
|
|
140
|
+
key: a.id,
|
|
141
|
+
class: r({
|
|
142
|
+
"selected-preset-container": e(I) === a.id
|
|
143
|
+
})
|
|
144
|
+
}, [
|
|
145
|
+
d("div", {
|
|
146
|
+
class: r([{ "selected-preset": e(I) === a.id }, "preset-element"]),
|
|
147
|
+
onClick: (c) => e(G)(a)
|
|
148
|
+
}, [
|
|
149
|
+
s(e(p), {
|
|
150
|
+
variant: "body2",
|
|
151
|
+
"data-testid": `${t.testId}-${e(o).MENU}-${a.id}`
|
|
152
|
+
}, {
|
|
153
|
+
default: l(() => [
|
|
154
|
+
m(g(a.name), 1)
|
|
155
|
+
]),
|
|
156
|
+
_: 2
|
|
157
|
+
}, 1032, ["data-testid"])
|
|
158
|
+
], 10, ce),
|
|
159
|
+
v(d("div", me, null, 512), [
|
|
160
|
+
[$, a.id === "custom"]
|
|
161
|
+
])
|
|
162
|
+
], 2))), 128))
|
|
163
|
+
], 8, ue)
|
|
164
|
+
], 8, re),
|
|
165
|
+
d("div", {
|
|
166
|
+
class: "type-message",
|
|
167
|
+
"data-testid": `${t.testId}-${e(o).MESSAGE}`
|
|
168
|
+
}, g(e(_)[e(f)]), 9, pe)
|
|
169
|
+
], 8, le)) : P("", !0),
|
|
170
|
+
d("div", {
|
|
171
|
+
class: "calendar-wrap",
|
|
172
|
+
style: Q({ height: e(H) ? "336px" : "372px" })
|
|
173
|
+
}, [
|
|
174
|
+
d("div", ye, [
|
|
175
|
+
(n(!0), i(k, null, C(e(T), (a, c) => (n(), i("div", { key: a }, [
|
|
176
|
+
s(X, {
|
|
177
|
+
id: t.uniqueId,
|
|
178
|
+
navigation: e(W)(
|
|
179
|
+
c === 0,
|
|
180
|
+
c === e(T).length - 1
|
|
181
|
+
),
|
|
182
|
+
year: e(y)[a].parsedMonth.year,
|
|
183
|
+
days: e(y)[a].parsedMonth.days,
|
|
184
|
+
weeks: e(y)[a].parsedMonth.weeks,
|
|
185
|
+
month: e(y)[a].parsedMonth.month,
|
|
186
|
+
range: e(O),
|
|
187
|
+
type: e(f),
|
|
188
|
+
"allowed-days": t.allowedDays,
|
|
189
|
+
"max-allowed-date": e(S),
|
|
190
|
+
"test-id": `${t.testId}-${c}`,
|
|
191
|
+
onSelectionChanged: e(j),
|
|
192
|
+
onNavigation: e(Y)
|
|
193
|
+
}, null, 8, ["id", "navigation", "year", "days", "weeks", "month", "range", "type", "allowed-days", "max-allowed-date", "test-id", "onSelectionChanged", "onNavigation"])
|
|
194
|
+
]))), 128)),
|
|
195
|
+
d("div", ge, [
|
|
196
|
+
d("div", fe, [
|
|
197
|
+
N(D.$slots, "footer", {}, void 0, !0)
|
|
198
|
+
]),
|
|
199
|
+
d("div", he, [
|
|
200
|
+
s(e(p), { variant: "body2" }, {
|
|
201
|
+
default: l(() => [
|
|
202
|
+
m("All dates are in UTC")
|
|
203
|
+
]),
|
|
204
|
+
_: 1
|
|
205
|
+
})
|
|
206
|
+
]),
|
|
207
|
+
v(d("div", { class: "error" }, g(e(V)), 513), [
|
|
208
|
+
[$, e(q)]
|
|
209
|
+
]),
|
|
210
|
+
u[1] || (x(-1), u[1] = d("div", { class: "buttons" }, [
|
|
211
|
+
s(e(R), {
|
|
212
|
+
id: "button-ok" + t.uniqueId,
|
|
213
|
+
size: "medium",
|
|
214
|
+
class: "button",
|
|
215
|
+
color: "primary",
|
|
216
|
+
"data-testid": `${t.testId}-${e(o).ACTION_APPLY}`,
|
|
217
|
+
onClick: (a) => e(K)()
|
|
218
|
+
}, {
|
|
219
|
+
default: l(() => [
|
|
220
|
+
s(e(p), { variant: "button" }, {
|
|
221
|
+
default: l(() => [
|
|
222
|
+
m("Apply")
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
})
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
}, 8, ["id", "data-testid", "onClick"]),
|
|
229
|
+
s(e(R), {
|
|
230
|
+
id: "button-cancel" + t.uniqueId,
|
|
231
|
+
size: "medium",
|
|
232
|
+
theme: "third",
|
|
233
|
+
color: "default",
|
|
234
|
+
variant: "outlined",
|
|
235
|
+
class: "button",
|
|
236
|
+
"data-testid": `${t.testId}-${e(o).ACTION_CANCEL}`,
|
|
237
|
+
onClick: (a) => e(b)()
|
|
238
|
+
}, {
|
|
239
|
+
default: l(() => [
|
|
240
|
+
s(e(p), { variant: "button" }, {
|
|
241
|
+
default: l(() => [
|
|
242
|
+
m(" Cancel ")
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
})
|
|
246
|
+
]),
|
|
247
|
+
_: 1
|
|
248
|
+
}, 8, ["id", "data-testid", "onClick"])
|
|
249
|
+
]), x(1), u[1])
|
|
250
|
+
])
|
|
251
|
+
])
|
|
252
|
+
], 4)
|
|
253
|
+
], 2)
|
|
254
|
+
], 10, ie), [
|
|
255
|
+
[$, e(h)]
|
|
256
|
+
])
|
|
257
|
+
], 10, de));
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
export {
|
|
261
|
+
Me as default
|
|
262
|
+
};
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
declare const DateRangeTypes: () => ({
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
testId: string;
|
|
8
|
+
allowedDays: number;
|
|
9
|
+
uniqueId: string | number;
|
|
10
|
+
includeToday: boolean;
|
|
11
|
+
dateFormat: string;
|
|
12
|
+
types: ("week" | "month" | "date")[];
|
|
13
|
+
maxDaysInRange: number;
|
|
14
|
+
datePresetList: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
15
|
+
regex: RegExp;
|
|
16
|
+
initialType: "week" | "month" | "date";
|
|
17
|
+
openOnTop: boolean;
|
|
18
|
+
showPresets: boolean;
|
|
19
|
+
maxDate: Date;
|
|
20
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
disabled: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
range: {
|
|
26
|
+
type: import("vue").PropType<{
|
|
27
|
+
from: Date;
|
|
28
|
+
to: Date;
|
|
29
|
+
}>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
testId: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
allowedDays: {
|
|
37
|
+
type: import("vue").PropType<number>;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
uniqueId: {
|
|
41
|
+
type: import("vue").PropType<string | number>;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
includeToday: {
|
|
45
|
+
type: import("vue").PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
dateFormat: {
|
|
49
|
+
type: import("vue").PropType<string>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
types: {
|
|
53
|
+
type: import("vue").PropType<("week" | "month" | "date")[]>;
|
|
54
|
+
default: () => string[];
|
|
55
|
+
};
|
|
56
|
+
maxDaysInRange: {
|
|
57
|
+
type: import("vue").PropType<number>;
|
|
58
|
+
default: any;
|
|
59
|
+
};
|
|
60
|
+
datePresetList: {
|
|
61
|
+
type: import("vue").PropType<"week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
regex: {
|
|
65
|
+
type: import("vue").PropType<RegExp>;
|
|
66
|
+
default: () => RegExp;
|
|
67
|
+
};
|
|
68
|
+
initialType: {
|
|
69
|
+
type: import("vue").PropType<"week" | "month" | "date">;
|
|
70
|
+
required: true;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
openOnTop: {
|
|
74
|
+
type: import("vue").PropType<boolean>;
|
|
75
|
+
required: true;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
showPresets: {
|
|
79
|
+
type: import("vue").PropType<boolean>;
|
|
80
|
+
required: true;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
maxDate: {
|
|
84
|
+
type: import("vue").PropType<Date>;
|
|
85
|
+
default: any;
|
|
86
|
+
};
|
|
87
|
+
}>> & {
|
|
88
|
+
onOpened?: (...args: any[]) => any;
|
|
89
|
+
onRangeTypeChanged?: (...args: any[]) => any;
|
|
90
|
+
onCurrentDateChanged?: (...args: any[]) => any;
|
|
91
|
+
onRangeChanged?: (...args: any[]) => any;
|
|
92
|
+
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
93
|
+
onDismissed?: (...args: any[]) => any;
|
|
94
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "testId" | "allowedDays" | "uniqueId" | "includeToday" | "dateFormat" | "types" | "maxDaysInRange" | "datePresetList" | "regex" | "initialType" | "openOnTop" | "showPresets" | "maxDate">;
|
|
95
|
+
$attrs: {
|
|
96
|
+
[x: string]: unknown;
|
|
97
|
+
};
|
|
98
|
+
$refs: {
|
|
99
|
+
[x: string]: unknown;
|
|
100
|
+
};
|
|
101
|
+
$slots: Readonly<{
|
|
102
|
+
[name: string]: import("vue").Slot;
|
|
103
|
+
}>;
|
|
104
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
105
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
106
|
+
$emit: ((event: "opened", ...args: any[]) => void) & ((event: "rangeTypeChanged", ...args: any[]) => void) & ((event: "currentDateChanged", ...args: any[]) => void) & ((event: "rangeChanged", ...args: any[]) => void) & ((event: "dateRangePresetNameChanged", ...args: any[]) => void) & ((event: "dismissed", ...args: any[]) => void);
|
|
107
|
+
$el: any;
|
|
108
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
+
disabled: {
|
|
110
|
+
type: import("vue").PropType<boolean>;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
range: {
|
|
114
|
+
type: import("vue").PropType<{
|
|
115
|
+
from: Date;
|
|
116
|
+
to: Date;
|
|
117
|
+
}>;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
testId: {
|
|
121
|
+
type: import("vue").PropType<string>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
allowedDays: {
|
|
125
|
+
type: import("vue").PropType<number>;
|
|
126
|
+
default: any;
|
|
127
|
+
};
|
|
128
|
+
uniqueId: {
|
|
129
|
+
type: import("vue").PropType<string | number>;
|
|
130
|
+
default: number;
|
|
131
|
+
};
|
|
132
|
+
includeToday: {
|
|
133
|
+
type: import("vue").PropType<boolean>;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
dateFormat: {
|
|
137
|
+
type: import("vue").PropType<string>;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
types: {
|
|
141
|
+
type: import("vue").PropType<("week" | "month" | "date")[]>;
|
|
142
|
+
default: () => string[];
|
|
143
|
+
};
|
|
144
|
+
maxDaysInRange: {
|
|
145
|
+
type: import("vue").PropType<number>;
|
|
146
|
+
default: any;
|
|
147
|
+
};
|
|
148
|
+
datePresetList: {
|
|
149
|
+
type: import("vue").PropType<"week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
regex: {
|
|
153
|
+
type: import("vue").PropType<RegExp>;
|
|
154
|
+
default: () => RegExp;
|
|
155
|
+
};
|
|
156
|
+
initialType: {
|
|
157
|
+
type: import("vue").PropType<"week" | "month" | "date">;
|
|
158
|
+
required: true;
|
|
159
|
+
default: any;
|
|
160
|
+
};
|
|
161
|
+
openOnTop: {
|
|
162
|
+
type: import("vue").PropType<boolean>;
|
|
163
|
+
required: true;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
showPresets: {
|
|
167
|
+
type: import("vue").PropType<boolean>;
|
|
168
|
+
required: true;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
maxDate: {
|
|
172
|
+
type: import("vue").PropType<Date>;
|
|
173
|
+
default: any;
|
|
174
|
+
};
|
|
175
|
+
}>> & {
|
|
176
|
+
onOpened?: (...args: any[]) => any;
|
|
177
|
+
onRangeTypeChanged?: (...args: any[]) => any;
|
|
178
|
+
onCurrentDateChanged?: (...args: any[]) => any;
|
|
179
|
+
onRangeChanged?: (...args: any[]) => any;
|
|
180
|
+
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
181
|
+
onDismissed?: (...args: any[]) => any;
|
|
182
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
183
|
+
opened: (...args: any[]) => void;
|
|
184
|
+
rangeTypeChanged: (...args: any[]) => void;
|
|
185
|
+
currentDateChanged: (...args: any[]) => void;
|
|
186
|
+
rangeChanged: (...args: any[]) => void;
|
|
187
|
+
dateRangePresetNameChanged: (...args: any[]) => void;
|
|
188
|
+
dismissed: (...args: any[]) => void;
|
|
189
|
+
}, string, {
|
|
190
|
+
disabled: boolean;
|
|
191
|
+
testId: string;
|
|
192
|
+
allowedDays: number;
|
|
193
|
+
uniqueId: string | number;
|
|
194
|
+
includeToday: boolean;
|
|
195
|
+
dateFormat: string;
|
|
196
|
+
types: ("week" | "month" | "date")[];
|
|
197
|
+
maxDaysInRange: number;
|
|
198
|
+
datePresetList: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
199
|
+
regex: RegExp;
|
|
200
|
+
initialType: "week" | "month" | "date";
|
|
201
|
+
openOnTop: boolean;
|
|
202
|
+
showPresets: boolean;
|
|
203
|
+
maxDate: Date;
|
|
204
|
+
}, {}, string> & {
|
|
205
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
206
|
+
created?: (() => void) | (() => void)[];
|
|
207
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
208
|
+
mounted?: (() => void) | (() => void)[];
|
|
209
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
210
|
+
updated?: (() => void) | (() => void)[];
|
|
211
|
+
activated?: (() => void) | (() => void)[];
|
|
212
|
+
deactivated?: (() => void) | (() => void)[];
|
|
213
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
214
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
215
|
+
destroyed?: (() => void) | (() => void)[];
|
|
216
|
+
unmounted?: (() => void) | (() => void)[];
|
|
217
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
218
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
219
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
220
|
+
};
|
|
221
|
+
$forceUpdate: () => void;
|
|
222
|
+
$nextTick: typeof import("vue").nextTick;
|
|
223
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
224
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
225
|
+
disabled: {
|
|
226
|
+
type: import("vue").PropType<boolean>;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
range: {
|
|
230
|
+
type: import("vue").PropType<{
|
|
231
|
+
from: Date;
|
|
232
|
+
to: Date;
|
|
233
|
+
}>;
|
|
234
|
+
required: true;
|
|
235
|
+
};
|
|
236
|
+
testId: {
|
|
237
|
+
type: import("vue").PropType<string>;
|
|
238
|
+
default: string;
|
|
239
|
+
};
|
|
240
|
+
allowedDays: {
|
|
241
|
+
type: import("vue").PropType<number>;
|
|
242
|
+
default: any;
|
|
243
|
+
};
|
|
244
|
+
uniqueId: {
|
|
245
|
+
type: import("vue").PropType<string | number>;
|
|
246
|
+
default: number;
|
|
247
|
+
};
|
|
248
|
+
includeToday: {
|
|
249
|
+
type: import("vue").PropType<boolean>;
|
|
250
|
+
default: boolean;
|
|
251
|
+
};
|
|
252
|
+
dateFormat: {
|
|
253
|
+
type: import("vue").PropType<string>;
|
|
254
|
+
default: string;
|
|
255
|
+
};
|
|
256
|
+
types: {
|
|
257
|
+
type: import("vue").PropType<("week" | "month" | "date")[]>;
|
|
258
|
+
default: () => string[];
|
|
259
|
+
};
|
|
260
|
+
maxDaysInRange: {
|
|
261
|
+
type: import("vue").PropType<number>;
|
|
262
|
+
default: any;
|
|
263
|
+
};
|
|
264
|
+
datePresetList: {
|
|
265
|
+
type: import("vue").PropType<"week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
regex: {
|
|
269
|
+
type: import("vue").PropType<RegExp>;
|
|
270
|
+
default: () => RegExp;
|
|
271
|
+
};
|
|
272
|
+
initialType: {
|
|
273
|
+
type: import("vue").PropType<"week" | "month" | "date">;
|
|
274
|
+
required: true;
|
|
275
|
+
default: any;
|
|
276
|
+
};
|
|
277
|
+
openOnTop: {
|
|
278
|
+
type: import("vue").PropType<boolean>;
|
|
279
|
+
required: true;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
showPresets: {
|
|
283
|
+
type: import("vue").PropType<boolean>;
|
|
284
|
+
required: true;
|
|
285
|
+
default: boolean;
|
|
286
|
+
};
|
|
287
|
+
maxDate: {
|
|
288
|
+
type: import("vue").PropType<Date>;
|
|
289
|
+
default: any;
|
|
290
|
+
};
|
|
291
|
+
}>> & {
|
|
292
|
+
onOpened?: (...args: any[]) => any;
|
|
293
|
+
onRangeTypeChanged?: (...args: any[]) => any;
|
|
294
|
+
onCurrentDateChanged?: (...args: any[]) => any;
|
|
295
|
+
onRangeChanged?: (...args: any[]) => any;
|
|
296
|
+
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
297
|
+
onDismissed?: (...args: any[]) => any;
|
|
298
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
299
|
+
__isFragment?: never;
|
|
300
|
+
__isTeleport?: never;
|
|
301
|
+
__isSuspense?: never;
|
|
302
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
303
|
+
disabled: {
|
|
304
|
+
type: import("vue").PropType<boolean>;
|
|
305
|
+
default: boolean;
|
|
306
|
+
};
|
|
307
|
+
range: {
|
|
308
|
+
type: import("vue").PropType<{
|
|
309
|
+
from: Date;
|
|
310
|
+
to: Date;
|
|
311
|
+
}>;
|
|
312
|
+
required: true;
|
|
313
|
+
};
|
|
314
|
+
testId: {
|
|
315
|
+
type: import("vue").PropType<string>;
|
|
316
|
+
default: string;
|
|
317
|
+
};
|
|
318
|
+
allowedDays: {
|
|
319
|
+
type: import("vue").PropType<number>;
|
|
320
|
+
default: any;
|
|
321
|
+
};
|
|
322
|
+
uniqueId: {
|
|
323
|
+
type: import("vue").PropType<string | number>;
|
|
324
|
+
default: number;
|
|
325
|
+
};
|
|
326
|
+
includeToday: {
|
|
327
|
+
type: import("vue").PropType<boolean>;
|
|
328
|
+
default: boolean;
|
|
329
|
+
};
|
|
330
|
+
dateFormat: {
|
|
331
|
+
type: import("vue").PropType<string>;
|
|
332
|
+
default: string;
|
|
333
|
+
};
|
|
334
|
+
types: {
|
|
335
|
+
type: import("vue").PropType<("week" | "month" | "date")[]>;
|
|
336
|
+
default: () => string[];
|
|
337
|
+
};
|
|
338
|
+
maxDaysInRange: {
|
|
339
|
+
type: import("vue").PropType<number>;
|
|
340
|
+
default: any;
|
|
341
|
+
};
|
|
342
|
+
datePresetList: {
|
|
343
|
+
type: import("vue").PropType<"week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
344
|
+
default: string;
|
|
345
|
+
};
|
|
346
|
+
regex: {
|
|
347
|
+
type: import("vue").PropType<RegExp>;
|
|
348
|
+
default: () => RegExp;
|
|
349
|
+
};
|
|
350
|
+
initialType: {
|
|
351
|
+
type: import("vue").PropType<"week" | "month" | "date">;
|
|
352
|
+
required: true;
|
|
353
|
+
default: any;
|
|
354
|
+
};
|
|
355
|
+
openOnTop: {
|
|
356
|
+
type: import("vue").PropType<boolean>;
|
|
357
|
+
required: true;
|
|
358
|
+
default: boolean;
|
|
359
|
+
};
|
|
360
|
+
showPresets: {
|
|
361
|
+
type: import("vue").PropType<boolean>;
|
|
362
|
+
required: true;
|
|
363
|
+
default: boolean;
|
|
364
|
+
};
|
|
365
|
+
maxDate: {
|
|
366
|
+
type: import("vue").PropType<Date>;
|
|
367
|
+
default: any;
|
|
368
|
+
};
|
|
369
|
+
}>> & {
|
|
370
|
+
onOpened?: (...args: any[]) => any;
|
|
371
|
+
onRangeTypeChanged?: (...args: any[]) => any;
|
|
372
|
+
onCurrentDateChanged?: (...args: any[]) => any;
|
|
373
|
+
onRangeChanged?: (...args: any[]) => any;
|
|
374
|
+
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
375
|
+
onDismissed?: (...args: any[]) => any;
|
|
376
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
377
|
+
opened: (...args: any[]) => void;
|
|
378
|
+
rangeTypeChanged: (...args: any[]) => void;
|
|
379
|
+
currentDateChanged: (...args: any[]) => void;
|
|
380
|
+
rangeChanged: (...args: any[]) => void;
|
|
381
|
+
dateRangePresetNameChanged: (...args: any[]) => void;
|
|
382
|
+
dismissed: (...args: any[]) => void;
|
|
383
|
+
}, string, {
|
|
384
|
+
disabled: boolean;
|
|
385
|
+
testId: string;
|
|
386
|
+
allowedDays: number;
|
|
387
|
+
uniqueId: string | number;
|
|
388
|
+
includeToday: boolean;
|
|
389
|
+
dateFormat: string;
|
|
390
|
+
types: ("week" | "month" | "date")[];
|
|
391
|
+
maxDaysInRange: number;
|
|
392
|
+
datePresetList: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
393
|
+
regex: RegExp;
|
|
394
|
+
initialType: "week" | "month" | "date";
|
|
395
|
+
openOnTop: boolean;
|
|
396
|
+
showPresets: boolean;
|
|
397
|
+
maxDate: Date;
|
|
398
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
399
|
+
$slots: {
|
|
400
|
+
field?(_: {
|
|
401
|
+
currentDate: any;
|
|
402
|
+
isOpen: boolean;
|
|
403
|
+
}): any;
|
|
404
|
+
footer?(_: {}): any;
|
|
405
|
+
};
|
|
406
|
+
}))[];
|
|
407
|
+
export { default as DateRange } from './DateRangeV4.vue';
|
|
408
|
+
export { DateRangeTypes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DialogV4.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DialogV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-09c488cf"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|