@ironsource/shared-ui 2.1.12-test.72 → 2.1.12-test.73
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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_92ead583_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_3dc741c1_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_fa120cf6_lang.css +1 -0
- package/components/dateRange/common/DateServices.common.d.ts +6 -0
- package/components/dateRange/common/DateServices.common.js +87 -92
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -3
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/index.d.ts +7 -7
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +44 -43
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
- package/components/dropdown/v4/DropdownV4.vue.d.ts +15 -0
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +226 -195
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +71 -68
- package/components/dropdown/v4/index.d.ts +67 -1
- package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
- package/components/switch/v4/SwitchV4.vue.js +3 -3
- package/components/switch/v4/SwitchV4.vue2.js +25 -23
- package/components/switch/v4/index.d.ts +11 -0
- package/index.d.ts +170 -16
- package/index.js +1 -1
- package/package.json +1 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_9cdf3a94_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.chip-trigger[data-v-38354f10]{border:1px solid var(--default-outlined-border);padding:.3125rem .3125rem .3125rem .4375rem;border-radius:100px;cursor:pointer;user-select:none;display:inline-flex;max-width:250px}.chip-trigger[data-v-38354f10]:hover{border-color:var(--action-active);background:var(--action-selected)}.chip-trigger.active[data-v-38354f10]{border:none;background:var(--primary-light);padding:.375rem .375rem .375rem .5rem}.chip-trigger.active .chip-trigger--content[data-v-38354f10]{color:var(--primary-contrast-text)}.chip-trigger.active[data-v-38354f10]:hover{border:.0625rem solid var(--primary-main-50-p);padding:.3125rem .3125rem .3125rem .4375rem}.chip-trigger.open[data-v-38354f10]{border:.125rem solid var(--action-active);padding:.25rem .25rem .25rem .375rem;background:var(--action-selected)}.chip-trigger.open.active[data-v-38354f10]{border:.125rem solid var(--primary-main-50-p);background:var(--primary-light);padding:.25rem .25rem .25rem .375rem}.chip-trigger.disabled[data-v-38354f10]{cursor:auto}.chip-trigger--content[data-v-38354f10]{color:var(--text-primary);display:flex;width:100%}.chip-trigger--content .x-circle-wrapper[data-v-38354f10]{margin-left:4px;color:var(--primary-dark)}.chip-trigger--content .x-circle-wrapper[data-v-38354f10]:hover{color:var(--primary-darker)}.chip-trigger--text[data-v-38354f10]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;width:100%}.chip-trigger--suffix[data-v-38354f10]{white-space:nowrap}.chip-trigger--icon[data-v-38354f10]{margin-left:4px;color:var(--action-active)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-enter-active[data-v-92ead583],.v-leave-active[data-v-92ead583]{transition:opacity .25s ease}ol[data-v-92ead583],ul[data-v-92ead583],menu[data-v-92ead583]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-92ead583],.dropdown.full-width .button__container[data-v-92ead583]{width:100%}.dropdown-list-wrapper[data-v-92ead583]{display:flex;flex-direction:column;padding:.5rem .5rem .25rem}.dropdown-list-wrapper--multi[data-v-92ead583]{padding:.5rem}.list-container--multi[data-v-92ead583]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-92ead583]{display:flex;gap:4px;padding-bottom:.25rem}.inline-search .inline-search-wrapper .search-container[data-v-92ead583]{width:100%}.inline-search .list-container[data-v-92ead583]{padding-top:0}.no-result-container[data-v-92ead583]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-92ead583]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-92ead583]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-92ead583]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.list--with-conditions[data-v-92ead583]{min-height:0;margin-bottom:0}.image-slot[data-v-92ead583]{margin-right:.5rem}.actions-wrapper[data-v-92ead583]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between;margin-top:.25rem}.apply-button[data-v-92ead583]{margin-left:.5rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-3dc741c1]{color:#41454d}.item-container[data-v-3dc741c1]{width:100%;display:flex;align-items:center;cursor:pointer;border-radius:var(--border-radius-lg);margin-bottom:.25rem;color:var(--text-primary);padding:6px 8px}.item-container--disabled[data-v-3dc741c1]{cursor:initial;color:var(--text-disabled)}.item-container[data-v-3dc741c1]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-3dc741c1],.item-container[data-v-3dc741c1]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-3dc741c1]{background-color:var(--action-selected)}.subtitle[data-v-3dc741c1]{color:#7b838c;line-height:1rem}.clear-button[data-v-3dc741c1]{display:flex;padding:0 4px;color:#7b838c;align-items:center;height:auto;background-image:none;min-width:auto;border:none;background-color:transparent}.clear-button[data-v-3dc741c1]:hover{color:#3083ff}.item[data-v-3dc741c1]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-3dc741c1],.item--multi[data-v-3dc741c1]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-3dc741c1]{width:20px;height:20px;flex:none}.item .image img[data-v-3dc741c1]{width:20px;height:20px;border-radius:4px}.item .flag[data-v-3dc741c1]{width:16px;height:16px}.item .flag img[data-v-3dc741c1]{width:16px;height:16px;border-radius:50%}.item .start-icon[data-v-3dc741c1],.item .end-icon[data-v-3dc741c1]{display:flex;color:var(--action-active)}.item .end-text-icon[data-v-3dc741c1]{display:inline-flex}.item .option-text[data-v-3dc741c1]{line-height:1.1875rem}.text-container[data-v-3dc741c1]{width:100%;text-overflow:ellipsis;overflow:hidden}.v4-tooltip.tooltip-option[data-v-3dc741c1]{display:block}.tooltip-option[data-v-3dc741c1] .container{width:100%}.app-trigger--icon[data-v-3dc741c1]{color:var(--action-active);transform:rotate(-90deg);transition:transform .2s}.app-trigger--icon.expanded[data-v-3dc741c1]{transform:rotate(0)}.option-warning[data-v-3dc741c1]{display:flex}.option-warning__icon[data-v-3dc741c1]{color:var(--warning-main)}.option-content[data-v-3dc741c1]{display:flex}.option-content[data-v-3dc741c1]:not(.option-content-vertical){gap:.5rem;align-items:center}.option-content-horizontal[data-v-3dc741c1]{justify-content:space-between;gap:.5rem}.option-content-vertical[data-v-3dc741c1]{flex-direction:column}.option-text .main-text[data-v-3dc741c1]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.option-text .main-text .conditional-option-label[data-v-3dc741c1]{color:var(--text-secondary);display:inline-flex}.option-text .main-text .conditional-option-value[data-v-3dc741c1]{margin-left:4px;display:inline-flex;color:var(--primary-main)}.option-text .caption-text[data-v-3dc741c1]{color:var(--text-secondary)}.multiline-tooltip[data-v-3dc741c1]{display:flex;flex-direction:column}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.switch[data-v-fa120cf6]{position:relative;display:inline-flex;background:var(--default-main);border-radius:var(--border-radius-md);border:1px solid var(--default-outlined-border);overflow:hidden}.switch--variant-primary .option--selected[data-v-fa120cf6]{background:var(--primary-main-8-p)}.switch--variant-default .option--selected[data-v-fa120cf6]{background:var(--action-selected)}.switch--variant-default .option--selected[data-v-fa120cf6] .icon{color:var(--text-primary)}.option[data-v-fa120cf6]{border-radius:0;padding:3px}.option[data-v-fa120cf6]:not(:last-child){border-right:1px solid var(--default-outlined-border)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { isSameDay as
|
|
2
|
-
const
|
|
3
|
-
class
|
|
1
|
+
import { isSameDay as g, format as m } from "date-fns";
|
|
2
|
+
const y = "MMM d, yyyy", D = 7;
|
|
3
|
+
class C {
|
|
4
4
|
// eslint-disable-next-line class-methods-use-this
|
|
5
5
|
getCurrentTimeUTC() {
|
|
6
6
|
const n = /* @__PURE__ */ new Date();
|
|
@@ -12,23 +12,23 @@ class c {
|
|
|
12
12
|
}
|
|
13
13
|
// eslint-disable-next-line consistent-return
|
|
14
14
|
getDateRangeString(n) {
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
15
|
+
if (g(n.fromStart, n.toEnd))
|
|
16
|
+
return m(n.fromStart, y);
|
|
17
17
|
if (n.fromStart && n.toEnd)
|
|
18
|
-
return `${
|
|
18
|
+
return `${m(n.fromStart, y)} - ${m(
|
|
19
19
|
n.toEnd,
|
|
20
|
-
|
|
20
|
+
y
|
|
21
21
|
)}`;
|
|
22
22
|
}
|
|
23
23
|
// eslint-disable-next-line class-methods-use-this
|
|
24
24
|
getFirstDayOfWeek(n) {
|
|
25
|
-
const a = new Date(n), r = a.getDay(),
|
|
26
|
-
return a.setDate(
|
|
25
|
+
const a = new Date(n), r = a.getDay(), e = a.getDate() - r;
|
|
26
|
+
return a.setDate(e), a;
|
|
27
27
|
}
|
|
28
28
|
getLastDayOfWeek(n) {
|
|
29
29
|
let a = new Date(n);
|
|
30
|
-
const r = a.getDay(),
|
|
31
|
-
a.setDate(
|
|
30
|
+
const r = a.getDay(), e = a.getDate() + (6 - r);
|
|
31
|
+
a.setDate(e);
|
|
32
32
|
const t = this.getCurrentTimeUTC();
|
|
33
33
|
return a > t && (a = t), a;
|
|
34
34
|
}
|
|
@@ -37,33 +37,40 @@ class c {
|
|
|
37
37
|
let r = new Date(n.getFullYear(), n.getMonth() + 1, 0);
|
|
38
38
|
return r > a && (r = a), r;
|
|
39
39
|
}
|
|
40
|
-
createMonth(n, a, r = !0,
|
|
41
|
-
const
|
|
40
|
+
createMonth(n, a, r = !0, o = !0) {
|
|
41
|
+
const e = {
|
|
42
42
|
weeks: [],
|
|
43
43
|
days: {},
|
|
44
44
|
month: n,
|
|
45
45
|
year: a
|
|
46
46
|
};
|
|
47
|
-
let t,
|
|
48
|
-
const
|
|
49
|
-
let
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
for (let
|
|
54
|
-
|
|
55
|
-
for (let
|
|
56
|
-
t = {},
|
|
57
|
-
this.isWeekEmpty(
|
|
47
|
+
let t, s;
|
|
48
|
+
const c = new Date(a, n, 1).getDay();
|
|
49
|
+
let i = 1;
|
|
50
|
+
const d = /* @__PURE__ */ new Date();
|
|
51
|
+
d.setHours(0, 0, 0, 0);
|
|
52
|
+
const T = this.daysInMonth(n, a);
|
|
53
|
+
for (let f = 0; f < 6; f++) {
|
|
54
|
+
s = [];
|
|
55
|
+
for (let l = 0; l < 7; l++)
|
|
56
|
+
t = {}, f === 0 && c > 0 && l < c && (t.value = 0), i > T && (t.value = 0), !t.value && t.value !== 0 && (t.value = i, i += 1, e.days[t.value] = t, t.date = new Date(a, n, t.value), d < t.date && o ? t.isFuture = !0 : t.date.getTime() === d.getTime() && (t.isToday = !0, r || (t.disabled = !0))), s.push(t);
|
|
57
|
+
this.isWeekEmpty(s) || e.weeks.push(s);
|
|
58
58
|
}
|
|
59
|
-
return
|
|
59
|
+
return e;
|
|
60
60
|
}
|
|
61
61
|
isWeekEmpty(n) {
|
|
62
62
|
return n.every((a) => !a.value);
|
|
63
63
|
}
|
|
64
64
|
// eslint-disable-next-line class-methods-use-this
|
|
65
65
|
getPresetsFunctions(n = !0) {
|
|
66
|
-
const a = n, r = this
|
|
66
|
+
const a = n, r = this, o = (e) => {
|
|
67
|
+
const t = {}, s = r.getCurrentTimeUTC(), u = new Date(
|
|
68
|
+
s.getFullYear(),
|
|
69
|
+
s.getMonth() - (e - 1),
|
|
70
|
+
1
|
|
71
|
+
);
|
|
72
|
+
return (t.to = r.getCurrentTimeUTC()).setHours(0, 0, 0, 0), t.from = u, t;
|
|
73
|
+
};
|
|
67
74
|
return {
|
|
68
75
|
today: {
|
|
69
76
|
dates() {
|
|
@@ -82,167 +89,155 @@ class c {
|
|
|
82
89
|
last7days: {
|
|
83
90
|
dates() {
|
|
84
91
|
const e = {};
|
|
85
|
-
let
|
|
86
|
-
return a || (
|
|
87
|
-
r.getCurrentTimeUTC() -
|
|
92
|
+
let t = 0, s = 6 * 24 * 3600 * 1e3;
|
|
93
|
+
return a || (t = 24 * 3600 * 1e3, s = 7 * 24 * 3600 * 1e3), e.from = new Date(
|
|
94
|
+
r.getCurrentTimeUTC() - s
|
|
88
95
|
), e.to = new Date(
|
|
89
|
-
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) -
|
|
96
|
+
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) - t
|
|
90
97
|
), e;
|
|
91
98
|
}
|
|
92
99
|
},
|
|
93
100
|
last14days: {
|
|
94
101
|
dates() {
|
|
95
102
|
const e = {};
|
|
96
|
-
let
|
|
97
|
-
return a || (
|
|
98
|
-
r.getCurrentTimeUTC() -
|
|
103
|
+
let t = 0, s = 13 * 24 * 3600 * 1e3;
|
|
104
|
+
return a || (t = 24 * 3600 * 1e3, s = 14 * 24 * 3600 * 1e3), e.from = new Date(
|
|
105
|
+
r.getCurrentTimeUTC() - s
|
|
99
106
|
), e.to = new Date(
|
|
100
|
-
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) -
|
|
107
|
+
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) - t
|
|
101
108
|
), e;
|
|
102
109
|
}
|
|
103
110
|
},
|
|
104
111
|
last30days: {
|
|
105
112
|
dates() {
|
|
106
113
|
const e = {};
|
|
107
|
-
let
|
|
108
|
-
return a || (
|
|
109
|
-
r.getCurrentTimeUTC() -
|
|
114
|
+
let t = 0, s = 29 * 24 * 3600 * 1e3;
|
|
115
|
+
return a || (t = 24 * 3600 * 1e3, s = 30 * 24 * 3600 * 1e3), e.from = new Date(
|
|
116
|
+
r.getCurrentTimeUTC() - s
|
|
110
117
|
), e.to = new Date(
|
|
111
|
-
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) -
|
|
118
|
+
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) - t
|
|
112
119
|
), e;
|
|
113
120
|
}
|
|
114
121
|
},
|
|
115
122
|
last31days: {
|
|
116
123
|
dates() {
|
|
117
124
|
const e = {};
|
|
118
|
-
let
|
|
119
|
-
return a || (
|
|
120
|
-
r.getCurrentTimeUTC() -
|
|
125
|
+
let t = 0, s = 30 * 24 * 3600 * 1e3;
|
|
126
|
+
return a || (t = 24 * 3600 * 1e3, s = 31 * 24 * 3600 * 1e3), e.from = new Date(
|
|
127
|
+
r.getCurrentTimeUTC() - s
|
|
121
128
|
), e.to = new Date(
|
|
122
|
-
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) -
|
|
129
|
+
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) - t
|
|
123
130
|
), e;
|
|
124
131
|
}
|
|
125
132
|
},
|
|
126
133
|
last60days: {
|
|
127
134
|
dates() {
|
|
128
135
|
const e = {};
|
|
129
|
-
let
|
|
130
|
-
return a || (
|
|
131
|
-
r.getCurrentTimeUTC() -
|
|
136
|
+
let t = 0, s = 59 * 24 * 3600 * 1e3;
|
|
137
|
+
return a || (t = 24 * 3600 * 1e3, s = 60 * 24 * 3600 * 1e3), e.from = new Date(
|
|
138
|
+
r.getCurrentTimeUTC() - s
|
|
132
139
|
), e.to = new Date(
|
|
133
|
-
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) -
|
|
140
|
+
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) - t
|
|
134
141
|
), e;
|
|
135
142
|
}
|
|
136
143
|
},
|
|
137
144
|
last90days: {
|
|
138
145
|
dates() {
|
|
139
146
|
const e = {};
|
|
140
|
-
let
|
|
141
|
-
return a || (
|
|
142
|
-
r.getCurrentTimeUTC() -
|
|
147
|
+
let t = 0, s = 89 * 24 * 3600 * 1e3;
|
|
148
|
+
return a || (t = 24 * 3600 * 1e3, s = 90 * 24 * 3600 * 1e3), e.from = new Date(
|
|
149
|
+
r.getCurrentTimeUTC() - s
|
|
143
150
|
), e.to = new Date(
|
|
144
|
-
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) -
|
|
151
|
+
r.getCurrentTimeUTC().setHours(23, 59, 59, 0) - t
|
|
145
152
|
), e;
|
|
146
153
|
}
|
|
147
154
|
},
|
|
148
155
|
thisMonth: {
|
|
149
156
|
dates() {
|
|
150
|
-
const e = {},
|
|
157
|
+
const e = {}, t = /* @__PURE__ */ new Date(), s = new Date(t.getFullYear(), t.getMonth(), 1);
|
|
151
158
|
if (a)
|
|
152
159
|
(e.to = r.getCurrentTimeUTC()).setHours(0, 0, 0, 0);
|
|
153
160
|
else {
|
|
154
|
-
const
|
|
161
|
+
const u = new Date(
|
|
155
162
|
r.getCurrentTimeUTC().setHours(0, 0, 0, 0) - 864e5
|
|
156
163
|
);
|
|
157
|
-
|
|
164
|
+
u < s ? e.to = s : e.to = u;
|
|
158
165
|
}
|
|
159
|
-
return e.from =
|
|
166
|
+
return e.from = s, e;
|
|
160
167
|
}
|
|
161
168
|
},
|
|
162
169
|
lastMonth: {
|
|
163
170
|
dates() {
|
|
164
|
-
const e = {},
|
|
165
|
-
return e.from = new Date(
|
|
171
|
+
const e = {}, t = /* @__PURE__ */ new Date();
|
|
172
|
+
return e.from = new Date(t.getFullYear(), t.getMonth() - 1, 1), e.to = new Date(t.getFullYear(), t.getMonth(), 0), e;
|
|
166
173
|
}
|
|
167
174
|
},
|
|
168
175
|
last4weeks: {
|
|
169
176
|
dates() {
|
|
170
|
-
const e = {},
|
|
177
|
+
const e = {}, t = r.getCurrentTimeUTC(), s = r.getFirstDayOfWeek(t);
|
|
171
178
|
return e.from = new Date(
|
|
172
|
-
|
|
173
|
-
), e.to = new Date(
|
|
179
|
+
s.setDate(s.getDate() - D * 3)
|
|
180
|
+
), e.to = new Date(t.setHours(23, 59, 59, 0)), e;
|
|
174
181
|
}
|
|
175
182
|
},
|
|
176
183
|
last12weeks: {
|
|
177
184
|
dates() {
|
|
178
|
-
const e = {},
|
|
185
|
+
const e = {}, t = r.getCurrentTimeUTC(), s = r.getFirstDayOfWeek(t);
|
|
179
186
|
return e.from = new Date(
|
|
180
|
-
|
|
181
|
-
), e.to = new Date(
|
|
187
|
+
s.setDate(s.getDate() - D * 11)
|
|
188
|
+
), e.to = new Date(t.setHours(23, 59, 59, 0)), e;
|
|
182
189
|
}
|
|
183
190
|
},
|
|
184
191
|
last26weeks: {
|
|
185
192
|
dates() {
|
|
186
|
-
const e = {},
|
|
193
|
+
const e = {}, t = r.getCurrentTimeUTC(), s = r.getFirstDayOfWeek(t);
|
|
187
194
|
return e.from = new Date(
|
|
188
|
-
|
|
189
|
-
), e.to = new Date(
|
|
195
|
+
s.setDate(s.getDate() - D * 25)
|
|
196
|
+
), e.to = new Date(t.setHours(23, 59, 59, 0)), e;
|
|
190
197
|
}
|
|
191
198
|
},
|
|
192
199
|
last52weeks: {
|
|
193
200
|
dates() {
|
|
194
|
-
const e = {},
|
|
201
|
+
const e = {}, t = r.getCurrentTimeUTC(), s = r.getFirstDayOfWeek(t);
|
|
195
202
|
return e.from = new Date(
|
|
196
|
-
|
|
197
|
-
), e.to = new Date(
|
|
203
|
+
s.setDate(s.getDate() - D * 51)
|
|
204
|
+
), e.to = new Date(t.setHours(23, 59, 59, 0)), e;
|
|
198
205
|
}
|
|
199
206
|
},
|
|
200
207
|
last3months: {
|
|
201
208
|
dates() {
|
|
202
|
-
|
|
203
|
-
return (e.to = r.getCurrentTimeUTC()).setHours(0, 0, 0, 0), e.from = t, e;
|
|
209
|
+
return o(3);
|
|
204
210
|
}
|
|
205
211
|
},
|
|
206
212
|
last6months: {
|
|
207
213
|
dates() {
|
|
208
|
-
|
|
209
|
-
|
|
214
|
+
return o(6);
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
last9months: {
|
|
218
|
+
dates() {
|
|
219
|
+
return o(9);
|
|
210
220
|
}
|
|
211
221
|
},
|
|
212
222
|
last12months: {
|
|
213
223
|
dates() {
|
|
214
|
-
|
|
215
|
-
s.getFullYear(),
|
|
216
|
-
s.getMonth() - 11,
|
|
217
|
-
1
|
|
218
|
-
);
|
|
219
|
-
return (e.to = r.getCurrentTimeUTC()).setHours(0, 0, 0, 0), e.from = t, e;
|
|
224
|
+
return o(12);
|
|
220
225
|
}
|
|
221
226
|
},
|
|
222
227
|
last24months: {
|
|
223
228
|
dates() {
|
|
224
|
-
|
|
225
|
-
s.getFullYear(),
|
|
226
|
-
s.getMonth() - 23,
|
|
227
|
-
1
|
|
228
|
-
);
|
|
229
|
-
return (e.to = r.getCurrentTimeUTC()).setHours(0, 0, 0, 0), e.from = t, e;
|
|
229
|
+
return o(24);
|
|
230
230
|
}
|
|
231
231
|
},
|
|
232
232
|
last36months: {
|
|
233
233
|
dates() {
|
|
234
|
-
|
|
235
|
-
s.getFullYear(),
|
|
236
|
-
s.getMonth() - 35,
|
|
237
|
-
1
|
|
238
|
-
);
|
|
239
|
-
return (e.to = r.getCurrentTimeUTC()).setHours(0, 0, 0, 0), e.from = t, e;
|
|
234
|
+
return o(36);
|
|
240
235
|
}
|
|
241
236
|
}
|
|
242
237
|
};
|
|
243
238
|
}
|
|
244
239
|
}
|
|
245
|
-
const
|
|
240
|
+
const U = new C();
|
|
246
241
|
export {
|
|
247
|
-
|
|
242
|
+
U as default
|
|
248
243
|
};
|
|
@@ -4,7 +4,7 @@ const a = {
|
|
|
4
4
|
month: "Months"
|
|
5
5
|
}, s = "Date range is in an invalid format", d = "Please select a date range", t = {
|
|
6
6
|
week: "For more than 52 weeks switch to months"
|
|
7
|
-
}, n = "previous",
|
|
7
|
+
}, n = "previous", m = "next", e = {
|
|
8
8
|
date: [
|
|
9
9
|
{ name: "Today", id: "today", numid: 1 },
|
|
10
10
|
{ name: "Yesterday", id: "yesterday", numid: 2 },
|
|
@@ -62,14 +62,20 @@ const a = {
|
|
|
62
62
|
{ name: "Last 12 months", id: "last12months", numid: 3 },
|
|
63
63
|
{ name: "Last 24 months", id: "last24months", numid: 4 },
|
|
64
64
|
{ name: "Last 36 months", id: "last36months", numid: 5 }
|
|
65
|
+
],
|
|
66
|
+
"month-3-6-9-12": [
|
|
67
|
+
{ name: "Last 3 months", id: "last3months", numid: 1 },
|
|
68
|
+
{ name: "Last 6 months", id: "last6months", numid: 2 },
|
|
69
|
+
{ name: "Last 9 months", id: "last9months", numid: 3 },
|
|
70
|
+
{ name: "Last 12 months", id: "last12months", numid: 4 }
|
|
65
71
|
]
|
|
66
72
|
};
|
|
67
73
|
export {
|
|
68
74
|
s as formatError,
|
|
69
75
|
d as mandatoryValuesError,
|
|
70
76
|
t as messagePerType,
|
|
71
|
-
|
|
77
|
+
m as navigateNext,
|
|
72
78
|
n as navigatePrev,
|
|
73
|
-
|
|
79
|
+
e as presetsList,
|
|
74
80
|
a as typeToName
|
|
75
81
|
};
|
|
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
includeToday?: boolean;
|
|
8
8
|
allowedDays?: number;
|
|
9
9
|
maxDaysInRange?: number;
|
|
10
|
-
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
10
|
+
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
11
11
|
regex?: RegExp;
|
|
12
12
|
dateFormat?: string;
|
|
13
13
|
uniqueId?: string | number;
|
|
@@ -48,7 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
48
|
includeToday?: boolean;
|
|
49
49
|
allowedDays?: number;
|
|
50
50
|
maxDaysInRange?: number;
|
|
51
|
-
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
51
|
+
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
52
52
|
regex?: RegExp;
|
|
53
53
|
dateFormat?: string;
|
|
54
54
|
uniqueId?: string | number;
|
|
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
89
89
|
dateFormat: string;
|
|
90
90
|
types: ("date" | "week" | "month")[];
|
|
91
91
|
maxDaysInRange: number;
|
|
92
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
92
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
93
93
|
regex: RegExp;
|
|
94
94
|
initialType: "date" | "week" | "month";
|
|
95
95
|
openOnTop: boolean;
|
|
@@ -8,7 +8,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
8
8
|
includeToday?: boolean;
|
|
9
9
|
allowedDays?: number;
|
|
10
10
|
maxDaysInRange?: number;
|
|
11
|
-
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
11
|
+
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
12
12
|
regex?: RegExp;
|
|
13
13
|
dateFormat?: string;
|
|
14
14
|
uniqueId?: string | number;
|
|
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
44
|
includeToday?: boolean;
|
|
45
45
|
allowedDays?: number;
|
|
46
46
|
maxDaysInRange?: number;
|
|
47
|
-
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
47
|
+
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
48
48
|
regex?: RegExp;
|
|
49
49
|
dateFormat?: string;
|
|
50
50
|
uniqueId?: string | number;
|
|
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
79
79
|
dateFormat: string;
|
|
80
80
|
types: ("date" | "week" | "month")[];
|
|
81
81
|
maxDaysInRange: number;
|
|
82
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
82
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
83
83
|
regex: RegExp;
|
|
84
84
|
initialType: "date" | "week" | "month";
|
|
85
85
|
openOnTop: boolean;
|
|
@@ -11,7 +11,7 @@ declare const DateRangeTypes: () => ({
|
|
|
11
11
|
dateFormat: string;
|
|
12
12
|
types: ("date" | "week" | "month")[];
|
|
13
13
|
maxDaysInRange: number;
|
|
14
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
14
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
15
15
|
regex: RegExp;
|
|
16
16
|
initialType: "date" | "week" | "month";
|
|
17
17
|
openOnTop: boolean;
|
|
@@ -58,7 +58,7 @@ declare const DateRangeTypes: () => ({
|
|
|
58
58
|
default: any;
|
|
59
59
|
};
|
|
60
60
|
datePresetList: {
|
|
61
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
61
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
62
62
|
default: string;
|
|
63
63
|
};
|
|
64
64
|
regex: {
|
|
@@ -146,7 +146,7 @@ declare const DateRangeTypes: () => ({
|
|
|
146
146
|
default: any;
|
|
147
147
|
};
|
|
148
148
|
datePresetList: {
|
|
149
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
149
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
150
150
|
default: string;
|
|
151
151
|
};
|
|
152
152
|
regex: {
|
|
@@ -195,7 +195,7 @@ declare const DateRangeTypes: () => ({
|
|
|
195
195
|
dateFormat: string;
|
|
196
196
|
types: ("date" | "week" | "month")[];
|
|
197
197
|
maxDaysInRange: number;
|
|
198
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
198
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
199
199
|
regex: RegExp;
|
|
200
200
|
initialType: "date" | "week" | "month";
|
|
201
201
|
openOnTop: boolean;
|
|
@@ -262,7 +262,7 @@ declare const DateRangeTypes: () => ({
|
|
|
262
262
|
default: any;
|
|
263
263
|
};
|
|
264
264
|
datePresetList: {
|
|
265
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
265
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
266
266
|
default: string;
|
|
267
267
|
};
|
|
268
268
|
regex: {
|
|
@@ -340,7 +340,7 @@ declare const DateRangeTypes: () => ({
|
|
|
340
340
|
default: any;
|
|
341
341
|
};
|
|
342
342
|
datePresetList: {
|
|
343
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
343
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
344
344
|
default: string;
|
|
345
345
|
};
|
|
346
346
|
regex: {
|
|
@@ -389,7 +389,7 @@ declare const DateRangeTypes: () => ({
|
|
|
389
389
|
dateFormat: string;
|
|
390
390
|
types: ("date" | "week" | "month")[];
|
|
391
391
|
maxDaysInRange: number;
|
|
392
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
392
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
393
393
|
regex: RegExp;
|
|
394
394
|
initialType: "date" | "week" | "month";
|
|
395
395
|
openOnTop: boolean;
|
|
@@ -8,7 +8,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
8
8
|
includeToday?: boolean;
|
|
9
9
|
allowedDays?: number;
|
|
10
10
|
maxDaysInRange?: number;
|
|
11
|
-
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
11
|
+
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
12
12
|
regex?: RegExp;
|
|
13
13
|
dateFormat?: string;
|
|
14
14
|
uniqueId?: string | number;
|
|
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
44
|
includeToday?: boolean;
|
|
45
45
|
allowedDays?: number;
|
|
46
46
|
maxDaysInRange?: number;
|
|
47
|
-
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
47
|
+
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
48
48
|
regex?: RegExp;
|
|
49
49
|
dateFormat?: string;
|
|
50
50
|
uniqueId?: string | number;
|
|
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
79
79
|
dateFormat: string;
|
|
80
80
|
types: ("date" | "week" | "month")[];
|
|
81
81
|
maxDaysInRange: number;
|
|
82
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
82
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
83
83
|
regex: RegExp;
|
|
84
84
|
initialType: "date" | "week" | "month";
|
|
85
85
|
openOnTop: boolean;
|
|
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
includeToday?: boolean;
|
|
8
8
|
allowedDays?: number;
|
|
9
9
|
maxDaysInRange?: number;
|
|
10
|
-
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
10
|
+
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
11
11
|
regex?: RegExp;
|
|
12
12
|
dateFormat?: string;
|
|
13
13
|
uniqueId?: string | number;
|
|
@@ -48,7 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
48
|
includeToday?: boolean;
|
|
49
49
|
allowedDays?: number;
|
|
50
50
|
maxDaysInRange?: number;
|
|
51
|
-
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
51
|
+
datePresetList?: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
52
52
|
regex?: RegExp;
|
|
53
53
|
dateFormat?: string;
|
|
54
54
|
uniqueId?: string | number;
|
|
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
89
89
|
dateFormat: string;
|
|
90
90
|
types: ("date" | "week" | "month")[];
|
|
91
91
|
maxDaysInRange: number;
|
|
92
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
92
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
93
93
|
regex: RegExp;
|
|
94
94
|
initialType: "date" | "week" | "month";
|
|
95
95
|
openOnTop: boolean;
|
|
@@ -11,7 +11,7 @@ declare const DateRangeTypes: () => ({
|
|
|
11
11
|
dateFormat: string;
|
|
12
12
|
types: ("date" | "week" | "month")[];
|
|
13
13
|
maxDaysInRange: number;
|
|
14
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
14
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
15
15
|
regex: RegExp;
|
|
16
16
|
initialType: "date" | "week" | "month";
|
|
17
17
|
openOnTop: boolean;
|
|
@@ -58,7 +58,7 @@ declare const DateRangeTypes: () => ({
|
|
|
58
58
|
default: any;
|
|
59
59
|
};
|
|
60
60
|
datePresetList: {
|
|
61
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
61
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
62
62
|
default: string;
|
|
63
63
|
};
|
|
64
64
|
regex: {
|
|
@@ -146,7 +146,7 @@ declare const DateRangeTypes: () => ({
|
|
|
146
146
|
default: any;
|
|
147
147
|
};
|
|
148
148
|
datePresetList: {
|
|
149
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
149
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
150
150
|
default: string;
|
|
151
151
|
};
|
|
152
152
|
regex: {
|
|
@@ -195,7 +195,7 @@ declare const DateRangeTypes: () => ({
|
|
|
195
195
|
dateFormat: string;
|
|
196
196
|
types: ("date" | "week" | "month")[];
|
|
197
197
|
maxDaysInRange: number;
|
|
198
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
198
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
199
199
|
regex: RegExp;
|
|
200
200
|
initialType: "date" | "week" | "month";
|
|
201
201
|
openOnTop: boolean;
|
|
@@ -262,7 +262,7 @@ declare const DateRangeTypes: () => ({
|
|
|
262
262
|
default: any;
|
|
263
263
|
};
|
|
264
264
|
datePresetList: {
|
|
265
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
265
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
266
266
|
default: string;
|
|
267
267
|
};
|
|
268
268
|
regex: {
|
|
@@ -340,7 +340,7 @@ declare const DateRangeTypes: () => ({
|
|
|
340
340
|
default: any;
|
|
341
341
|
};
|
|
342
342
|
datePresetList: {
|
|
343
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
343
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
344
344
|
default: string;
|
|
345
345
|
};
|
|
346
346
|
regex: {
|
|
@@ -389,7 +389,7 @@ declare const DateRangeTypes: () => ({
|
|
|
389
389
|
dateFormat: string;
|
|
390
390
|
types: ("date" | "week" | "month")[];
|
|
391
391
|
maxDaysInRange: number;
|
|
392
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
392
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
393
393
|
regex: RegExp;
|
|
394
394
|
initialType: "date" | "week" | "month";
|
|
395
395
|
openOnTop: boolean;
|