@ironsource/shared-ui 2.2.0-test.5 → 2.2.0-test.7
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/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_b71a806e_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_a5f2dd8b_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.js +3 -3
- package/components/appHeader/AppHeader.vue2.js +43 -44
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +2 -2
- package/components/columnConfigurator/SectionDropdown.vue.js +3 -3
- package/components/columnConfigurator/SectionDropdown.vue2.js +6 -7
- package/components/columnPicker/ColumnPicker.vue.d.ts +2 -0
- package/components/columnPicker/ColumnPicker.vue.js +3 -3
- package/components/columnPicker/ColumnPicker.vue2.js +173 -153
- package/components/columnPicker/index.d.ts +7 -1
- package/components/dateRange/common/CalendarMonth.common.js +46 -41
- package/components/dateRange/common/DateRange.common.d.ts +1 -0
- package/components/dateRange/common/DateRange.common.js +38 -37
- package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
- package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
- package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
- package/components/dateRange/v3/DateRange.vue.d.ts +5 -0
- package/components/dateRange/v3/DateRange.vue.js +2 -2
- package/components/dateRange/v3/DateRange.vue2.js +2 -1
- package/components/dateRange/v3/index.d.ts +20 -1
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +5 -0
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
- package/components/dateRange/v4/index.d.ts +20 -1
- package/components/icon/v4/IconV4.vue.d.ts +5 -0
- package/components/icon/v4/IconV4.vue.js +2 -2
- package/components/icon/v4/IconV4.vue2.js +27 -26
- package/components/icon/v4/index.d.ts +20 -1
- package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
- package/components/switch/v4/SwitchV4.vue.js +4 -4
- package/components/switch/v4/SwitchV4.vue2.js +14 -13
- package/components/switch/v4/index.d.ts +9 -0
- package/components/table/v4/DataGrid.vue.d.ts +2 -0
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +126 -124
- package/components/table/v4/index.d.ts +7 -1
- package/components/tagsField/TagsFieldChip.vue.d.ts +41 -0
- package/components/tagsField/TagsFieldChip.vue.js +5 -5
- package/components/tagsField/TagsFieldChip.vue2.js +96 -54
- package/components/tagsField/index.d.ts +114 -3
- package/components/tagsField/index.js +6 -4
- package/index.d.ts +112 -6
- package/index.js +3 -1
- package/package.json +1 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_4c813f30_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +0 -1
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_0a80c49f_lang.css +0 -1
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../CalendarMonthV4.
|
|
2
|
-
import { navigatePrev as I, navigateNext as
|
|
1
|
+
import "../../../CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css"; import { defineComponent as V, openBlock as n, createElementBlock as l, unref as t, createElementVNode as s, createBlock as c, createCommentVNode as D, createVNode as E, withCtx as m, createTextVNode as v, toDisplayString as o, Fragment as f, renderList as $, normalizeClass as C } from "vue";
|
|
2
|
+
import { navigatePrev as I, navigateNext as A } from "../common/consts.common.js";
|
|
3
3
|
import { calendarMonthCommon as B } from "../common/CalendarMonth.common.js";
|
|
4
4
|
import "../../button/v4/ButtonV4.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import N from "../../button/v4/IconButtonV4.vue.js";
|
|
6
6
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
7
7
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
8
8
|
import y from "../../typography/v4/Typography.vue.js";
|
|
@@ -20,10 +20,11 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
|
|
|
20
20
|
id: { default: Date.now() },
|
|
21
21
|
allowedDays: { default: null },
|
|
22
22
|
maxAllowedDate: { default: null },
|
|
23
|
+
minAllowedDate: { default: null },
|
|
23
24
|
testId: { default: "" }
|
|
24
25
|
},
|
|
25
26
|
emits: ["selectionChanged", "navigation"],
|
|
26
|
-
setup(e, { emit:
|
|
27
|
+
setup(e, { emit: p }) {
|
|
27
28
|
const T = e, {
|
|
28
29
|
isEndDay: k,
|
|
29
30
|
isStartDay: g,
|
|
@@ -33,7 +34,7 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
|
|
|
33
34
|
dayNames: x,
|
|
34
35
|
selectedDaysMap: w,
|
|
35
36
|
inBetweenMap: b
|
|
36
|
-
} = B(T,
|
|
37
|
+
} = B(T, p);
|
|
37
38
|
return (O, r) => (n(), l("div", {
|
|
38
39
|
id: "datepickerCalendar" + e.id,
|
|
39
40
|
class: "calendar-month",
|
|
@@ -42,7 +43,7 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
|
|
|
42
43
|
s("span", {
|
|
43
44
|
onClick: r[0] || (r[0] = (i) => t(h)(t(I)))
|
|
44
45
|
}, [
|
|
45
|
-
e.navigation === t(I) || e.navigation === "all" ? (n(), c(t(
|
|
46
|
+
e.navigation === t(I) || e.navigation === "all" ? (n(), c(t(N), {
|
|
46
47
|
key: 0,
|
|
47
48
|
size: "small",
|
|
48
49
|
class: "previous",
|
|
@@ -51,9 +52,9 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
|
|
|
51
52
|
}, null, 8, ["data-testid"])) : D("", !0)
|
|
52
53
|
]),
|
|
53
54
|
s("span", {
|
|
54
|
-
onClick: r[1] || (r[1] = (i) => t(h)(t(
|
|
55
|
+
onClick: r[1] || (r[1] = (i) => t(h)(t(A)))
|
|
55
56
|
}, [
|
|
56
|
-
e.navigation === t(
|
|
57
|
+
e.navigation === t(A) || e.navigation === "all" ? (n(), c(t(N), {
|
|
57
58
|
key: 0,
|
|
58
59
|
class: "next",
|
|
59
60
|
size: "small",
|
|
@@ -80,7 +81,7 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
|
|
|
80
81
|
class: "days-header",
|
|
81
82
|
"data-testid": `${e.testId}-${t(d).DAYS_HEADER}`
|
|
82
83
|
}, [
|
|
83
|
-
(n(!0), l(
|
|
84
|
+
(n(!0), l(f, null, $(t(x), (i, u) => (n(), c(t(y), {
|
|
84
85
|
key: u,
|
|
85
86
|
variant: "caption",
|
|
86
87
|
class: "week-day"
|
|
@@ -95,8 +96,8 @@ const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = [
|
|
|
95
96
|
class: "days-wrapper",
|
|
96
97
|
"data-testid": `${e.testId}-${t(d).DAYS_WRAPPER}`
|
|
97
98
|
}, [
|
|
98
|
-
(n(!0), l(
|
|
99
|
-
(n(!0), l(
|
|
99
|
+
(n(!0), l(f, null, $(e.weeks, (i, u) => (n(), l("div", { key: u }, [
|
|
100
|
+
(n(!0), l(f, null, $(i, (a, P) => (n(), l("span", {
|
|
100
101
|
key: P,
|
|
101
102
|
class: C(["date-wrapper", {
|
|
102
103
|
"selected-day-wrapper": t(w)[a.value],
|
|
@@ -16,6 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
16
|
openOnTop: boolean;
|
|
17
17
|
showPresets: boolean;
|
|
18
18
|
maxDate?: Date;
|
|
19
|
+
minDate?: Date;
|
|
19
20
|
testId?: string;
|
|
20
21
|
}>, {
|
|
21
22
|
types: () => string[];
|
|
@@ -31,6 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
32
|
openOnTop: boolean;
|
|
32
33
|
showPresets: boolean;
|
|
33
34
|
maxDate: any;
|
|
35
|
+
minDate: any;
|
|
34
36
|
testId: string;
|
|
35
37
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
38
|
opened: (...args: any[]) => void;
|
|
@@ -57,6 +59,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
59
|
openOnTop: boolean;
|
|
58
60
|
showPresets: boolean;
|
|
59
61
|
maxDate?: Date;
|
|
62
|
+
minDate?: Date;
|
|
60
63
|
testId?: string;
|
|
61
64
|
}>, {
|
|
62
65
|
types: () => string[];
|
|
@@ -72,6 +75,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
72
75
|
openOnTop: boolean;
|
|
73
76
|
showPresets: boolean;
|
|
74
77
|
maxDate: any;
|
|
78
|
+
minDate: any;
|
|
75
79
|
testId: string;
|
|
76
80
|
}>>> & {
|
|
77
81
|
onOpened?: (...args: any[]) => any;
|
|
@@ -95,6 +99,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
95
99
|
openOnTop: boolean;
|
|
96
100
|
showPresets: boolean;
|
|
97
101
|
maxDate: Date;
|
|
102
|
+
minDate: Date;
|
|
98
103
|
}>, {
|
|
99
104
|
field?(_: {
|
|
100
105
|
currentDate: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./DateRangeV4.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DateRangeV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f8826716"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../../DateRangeV4.
|
|
2
|
-
import
|
|
3
|
-
import { typeToName as
|
|
4
|
-
import
|
|
1
|
+
import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css"; import { defineComponent as Q, watch as X, openBlock as n, createElementBlock as i, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as x, createVNode as s, withDirectives as v, Fragment as k, renderList as C, withCtx as o, createTextVNode as m, toDisplayString as g, createCommentVNode as A, vShow as $, normalizeStyle as Z, setBlockTracking as E } from "vue";
|
|
2
|
+
import _ from "./CalendarMonthV4.vue.js";
|
|
3
|
+
import { typeToName as ee, messagePerType as te } from "../common/consts.common.js";
|
|
4
|
+
import R from "../../button/v4/ButtonV4.vue.js";
|
|
5
5
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
6
6
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
7
7
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
@@ -11,17 +11,17 @@ import "../../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
|
11
11
|
import "../../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
12
12
|
import "../../dropdown/v4/AppDropdownTrigger.vue.js";
|
|
13
13
|
import "../../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
14
|
-
import
|
|
14
|
+
import ae from "../../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
15
15
|
import "../../dropdown/v4/TreeDropdown.vue.js";
|
|
16
16
|
import "../../dropdown/v4/OptionV4.vue.js";
|
|
17
17
|
import "../../dropdown/v4/ConditionalDropdown.vue.js";
|
|
18
|
-
import { DateRangeTestIdModifiers as
|
|
19
|
-
import { dateRangeCommon as
|
|
18
|
+
import { DateRangeTestIdModifiers as l, DatePickerTestIdModifiers as de } from "../../../testids/index.js";
|
|
19
|
+
import { dateRangeCommon as ne } from "../common/DateRange.common.js";
|
|
20
20
|
import p from "../../typography/v4/Typography.vue.js";
|
|
21
|
-
const
|
|
21
|
+
const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid"], oe = {
|
|
22
22
|
key: 0,
|
|
23
23
|
class: "type-picker"
|
|
24
|
-
},
|
|
24
|
+
}, re = ["onClick"], ue = ["data-testid"], ce = ["id"], me = ["id"], pe = ["onClick"], ye = { class: "dropdown-rightTriangle" }, ge = ["data-testid"], fe = { class: "date-picker-calendar left-box" }, he = { class: "buttons-cover" }, ve = { class: "range" }, ke = { class: "text-container" }, ze = /* @__PURE__ */ Q({
|
|
25
25
|
__name: "DateRangeV4",
|
|
26
26
|
props: {
|
|
27
27
|
range: null,
|
|
@@ -38,6 +38,7 @@ const ne = ["id", "data-testid"], se = ["data-testid"], ie = ["id", "data-testid
|
|
|
38
38
|
openOnTop: { type: Boolean, default: !1 },
|
|
39
39
|
showPresets: { type: Boolean, default: !0 },
|
|
40
40
|
maxDate: { default: null },
|
|
41
|
+
minDate: { default: null },
|
|
41
42
|
testId: { default: "" }
|
|
42
43
|
},
|
|
43
44
|
emits: [
|
|
@@ -48,58 +49,59 @@ const ne = ["id", "data-testid"], se = ["data-testid"], ie = ["id", "data-testid
|
|
|
48
49
|
"opened",
|
|
49
50
|
"dismissed"
|
|
50
51
|
],
|
|
51
|
-
setup(t, { emit:
|
|
52
|
-
const
|
|
53
|
-
datePicker:
|
|
52
|
+
setup(t, { emit: M }) {
|
|
53
|
+
const w = t, {
|
|
54
|
+
datePicker: B,
|
|
54
55
|
datePickerId: S,
|
|
55
56
|
getMaxAllowedDate: q,
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
getMinAllowedDate: O,
|
|
58
|
+
selectedPreset: I,
|
|
59
|
+
displayError: L,
|
|
58
60
|
rangeType: f,
|
|
59
|
-
selectedRange:
|
|
60
|
-
placement:
|
|
61
|
+
selectedRange: V,
|
|
62
|
+
placement: z,
|
|
61
63
|
currentDate: T,
|
|
62
|
-
error:
|
|
63
|
-
presets:
|
|
64
|
+
error: U,
|
|
65
|
+
presets: F,
|
|
64
66
|
isOpen: h,
|
|
65
|
-
popup:
|
|
67
|
+
popup: G,
|
|
66
68
|
currentMonths: y,
|
|
67
|
-
displayedMonthsKeys:
|
|
68
|
-
changeType:
|
|
69
|
-
presetChanged:
|
|
70
|
-
apply:
|
|
71
|
-
getNavigation:
|
|
72
|
-
navigationCallback:
|
|
73
|
-
selectionChanged:
|
|
74
|
-
toggle:
|
|
75
|
-
isCompact:
|
|
76
|
-
} =
|
|
77
|
-
return
|
|
78
|
-
() =>
|
|
69
|
+
displayedMonthsKeys: D,
|
|
70
|
+
changeType: b,
|
|
71
|
+
presetChanged: K,
|
|
72
|
+
apply: W,
|
|
73
|
+
getNavigation: Y,
|
|
74
|
+
navigationCallback: j,
|
|
75
|
+
selectionChanged: H,
|
|
76
|
+
toggle: P,
|
|
77
|
+
isCompact: J
|
|
78
|
+
} = ne(w, M);
|
|
79
|
+
return X(
|
|
80
|
+
() => w.datePresetList,
|
|
79
81
|
() => {
|
|
80
|
-
|
|
82
|
+
b("date", !1);
|
|
81
83
|
}
|
|
82
|
-
), (N,
|
|
84
|
+
), (N, u) => (n(), i("div", {
|
|
83
85
|
id: e(S),
|
|
84
86
|
ref_key: "datePicker",
|
|
85
|
-
ref:
|
|
87
|
+
ref: B,
|
|
86
88
|
class: r(["relative-wrap", { "date-range-disabled": t.disabled }]),
|
|
87
|
-
"data-testid": `${t.testId}-${e(
|
|
89
|
+
"data-testid": `${t.testId}-${e(l).WRAPPER}`
|
|
88
90
|
}, [
|
|
89
91
|
d("div", {
|
|
90
92
|
class: "date-range-field",
|
|
91
|
-
"data-testid": `${t.testId}-${e(
|
|
92
|
-
onClick:
|
|
93
|
+
"data-testid": `${t.testId}-${e(l).TRIGGER}`,
|
|
94
|
+
onClick: u[0] || (u[0] = (a) => e(P)())
|
|
93
95
|
}, [
|
|
94
96
|
x(N.$slots, "field", {
|
|
95
97
|
currentDate: e(T),
|
|
96
98
|
isOpen: e(h)
|
|
97
99
|
}, () => [
|
|
98
|
-
|
|
100
|
+
s(e(ae), {
|
|
99
101
|
label: e(T),
|
|
100
102
|
"start-icon-name": "calendar-blank",
|
|
101
103
|
variant: "outlined",
|
|
102
|
-
"test-id": `${t.testId}-${e(
|
|
104
|
+
"test-id": `${t.testId}-${e(de).INPUT}`,
|
|
103
105
|
open: e(h)
|
|
104
106
|
}, null, 8, ["label", "test-id", "open"])
|
|
105
107
|
], !0)
|
|
@@ -107,35 +109,35 @@ const ne = ["id", "data-testid"], se = ["data-testid"], ie = ["id", "data-testid
|
|
|
107
109
|
v(d("div", {
|
|
108
110
|
id: "datepickerPopup" + t.uniqueId,
|
|
109
111
|
ref_key: "popup",
|
|
110
|
-
ref:
|
|
112
|
+
ref: G,
|
|
111
113
|
class: r(["pop-up", [
|
|
112
|
-
e(
|
|
114
|
+
e(z),
|
|
113
115
|
t.openOnTop ? "open-on-top" : "",
|
|
114
116
|
t.showPresets ? "" : "hide-presets"
|
|
115
117
|
]]),
|
|
116
|
-
"data-testid": `${t.testId}-${e(
|
|
118
|
+
"data-testid": `${t.testId}-${e(l).CONTAINER}`
|
|
117
119
|
}, [
|
|
118
|
-
t.types.length > 1 ? (n(),
|
|
119
|
-
(n(!0),
|
|
120
|
+
t.types.length > 1 ? (n(), i("div", oe, [
|
|
121
|
+
(n(!0), i(k, null, C(t.types, (a) => (n(), i("span", {
|
|
120
122
|
key: a,
|
|
121
123
|
class: r(["range-type", { "selected-range-type": e(f) === a }]),
|
|
122
|
-
onClick: (
|
|
124
|
+
onClick: (c) => e(b)(a, !0)
|
|
123
125
|
}, [
|
|
124
|
-
|
|
125
|
-
default:
|
|
126
|
-
m(g(e(
|
|
126
|
+
s(e(p), { variant: "h1" }, {
|
|
127
|
+
default: o(() => [
|
|
128
|
+
m(g(e(ee)[a]), 1)
|
|
127
129
|
]),
|
|
128
130
|
_: 2
|
|
129
131
|
}, 1024)
|
|
130
|
-
], 10,
|
|
131
|
-
])) :
|
|
132
|
+
], 10, re))), 128))
|
|
133
|
+
])) : A("", !0),
|
|
132
134
|
d("div", {
|
|
133
135
|
class: r(["flex", { "pop-up-content": t.types.length > 1 }])
|
|
134
136
|
}, [
|
|
135
|
-
t.showPresets ? (n(),
|
|
137
|
+
t.showPresets ? (n(), i("div", {
|
|
136
138
|
key: 0,
|
|
137
139
|
class: "date-picker-menu",
|
|
138
|
-
"data-testid": `${t.testId}-${e(
|
|
140
|
+
"data-testid": `${t.testId}-${e(l).MENU}`
|
|
139
141
|
}, [
|
|
140
142
|
d("div", {
|
|
141
143
|
id: "presets" + t.uniqueId,
|
|
@@ -144,89 +146,90 @@ const ne = ["id", "data-testid"], se = ["data-testid"], ie = ["id", "data-testid
|
|
|
144
146
|
d("ul", {
|
|
145
147
|
id: "customDropDownList" + t.uniqueId
|
|
146
148
|
}, [
|
|
147
|
-
(n(!0),
|
|
149
|
+
(n(!0), i(k, null, C(e(F), (a) => (n(), i("li", {
|
|
148
150
|
key: a.id,
|
|
149
151
|
class: r({
|
|
150
|
-
"selected-preset-container": e(
|
|
152
|
+
"selected-preset-container": e(I) === a.id
|
|
151
153
|
})
|
|
152
154
|
}, [
|
|
153
155
|
d("div", {
|
|
154
|
-
class: r([{ "selected-preset": e(
|
|
155
|
-
onClick: (
|
|
156
|
+
class: r([{ "selected-preset": e(I) === a.id }, "preset-element"]),
|
|
157
|
+
onClick: (c) => e(K)(a)
|
|
156
158
|
}, [
|
|
157
|
-
|
|
159
|
+
s(e(p), {
|
|
158
160
|
variant: "body2",
|
|
159
|
-
"data-testid": `${t.testId}-${e(
|
|
161
|
+
"data-testid": `${t.testId}-${e(l).MENU}-${a.id}`
|
|
160
162
|
}, {
|
|
161
|
-
default:
|
|
163
|
+
default: o(() => [
|
|
162
164
|
m(g(a.name), 1)
|
|
163
165
|
]),
|
|
164
166
|
_: 2
|
|
165
167
|
}, 1032, ["data-testid"])
|
|
166
|
-
], 10,
|
|
167
|
-
v(d("div",
|
|
168
|
+
], 10, pe),
|
|
169
|
+
v(d("div", ye, null, 512), [
|
|
168
170
|
[$, a.id === "custom"]
|
|
169
171
|
])
|
|
170
172
|
], 2))), 128))
|
|
171
|
-
], 8,
|
|
173
|
+
], 8, me)
|
|
172
174
|
], 8, ce),
|
|
173
175
|
d("div", {
|
|
174
176
|
class: "type-message",
|
|
175
|
-
"data-testid": `${t.testId}-${e(
|
|
176
|
-
}, g(e(
|
|
177
|
-
], 8,
|
|
177
|
+
"data-testid": `${t.testId}-${e(l).MESSAGE}`
|
|
178
|
+
}, g(e(te)[e(f)]), 9, ge)
|
|
179
|
+
], 8, ue)) : A("", !0),
|
|
178
180
|
d("div", {
|
|
179
181
|
class: "calendar-wrap",
|
|
180
|
-
style:
|
|
182
|
+
style: Z({ height: e(J) ? "336px" : "372px" })
|
|
181
183
|
}, [
|
|
182
|
-
d("div",
|
|
183
|
-
(n(!0),
|
|
184
|
-
|
|
184
|
+
d("div", fe, [
|
|
185
|
+
(n(!0), i(k, null, C(e(D), (a, c) => (n(), i("div", { key: a }, [
|
|
186
|
+
s(_, {
|
|
185
187
|
id: t.uniqueId,
|
|
186
|
-
navigation: e(
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
navigation: e(Y)(
|
|
189
|
+
c === 0,
|
|
190
|
+
c === e(D).length - 1
|
|
189
191
|
),
|
|
190
192
|
year: e(y)[a].parsedMonth.year,
|
|
191
193
|
days: e(y)[a].parsedMonth.days,
|
|
192
194
|
weeks: e(y)[a].parsedMonth.weeks,
|
|
193
195
|
month: e(y)[a].parsedMonth.month,
|
|
194
|
-
range: e(
|
|
196
|
+
range: e(V),
|
|
195
197
|
type: e(f),
|
|
196
198
|
"allowed-days": t.allowedDays,
|
|
197
199
|
"max-allowed-date": e(q),
|
|
198
|
-
"
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
"min-allowed-date": e(O),
|
|
201
|
+
"test-id": `${t.testId}-${c}`,
|
|
202
|
+
onSelectionChanged: e(H),
|
|
203
|
+
onNavigation: e(j)
|
|
204
|
+
}, null, 8, ["id", "navigation", "year", "days", "weeks", "month", "range", "type", "allowed-days", "max-allowed-date", "min-allowed-date", "test-id", "onSelectionChanged", "onNavigation"])
|
|
202
205
|
]))), 128)),
|
|
203
|
-
d("div",
|
|
204
|
-
d("div",
|
|
206
|
+
d("div", he, [
|
|
207
|
+
d("div", ve, [
|
|
205
208
|
x(N.$slots, "footer", {}, void 0, !0)
|
|
206
209
|
]),
|
|
207
|
-
d("div",
|
|
208
|
-
|
|
209
|
-
default:
|
|
210
|
+
d("div", ke, [
|
|
211
|
+
s(e(p), { variant: "body2" }, {
|
|
212
|
+
default: o(() => [
|
|
210
213
|
m("All dates are in UTC")
|
|
211
214
|
]),
|
|
212
215
|
_: 1
|
|
213
216
|
})
|
|
214
217
|
]),
|
|
215
|
-
v(d("div", { class: "error" }, g(e(
|
|
216
|
-
[$, e(
|
|
218
|
+
v(d("div", { class: "error" }, g(e(U)), 513), [
|
|
219
|
+
[$, e(L)]
|
|
217
220
|
]),
|
|
218
|
-
|
|
219
|
-
|
|
221
|
+
u[1] || (E(-1), u[1] = d("div", { class: "buttons" }, [
|
|
222
|
+
s(e(R), {
|
|
220
223
|
id: "button-ok" + t.uniqueId,
|
|
221
224
|
size: "small",
|
|
222
225
|
class: "button",
|
|
223
226
|
color: "primary",
|
|
224
|
-
"data-testid": `${t.testId}-${e(
|
|
225
|
-
onClick: (a) => e(
|
|
227
|
+
"data-testid": `${t.testId}-${e(l).ACTION_APPLY}`,
|
|
228
|
+
onClick: (a) => e(W)()
|
|
226
229
|
}, {
|
|
227
|
-
default:
|
|
228
|
-
|
|
229
|
-
default:
|
|
230
|
+
default: o(() => [
|
|
231
|
+
s(e(p), { variant: "button" }, {
|
|
232
|
+
default: o(() => [
|
|
230
233
|
m("Apply")
|
|
231
234
|
]),
|
|
232
235
|
_: 1
|
|
@@ -234,19 +237,19 @@ const ne = ["id", "data-testid"], se = ["data-testid"], ie = ["id", "data-testid
|
|
|
234
237
|
]),
|
|
235
238
|
_: 1
|
|
236
239
|
}, 8, ["id", "data-testid", "onClick"]),
|
|
237
|
-
|
|
240
|
+
s(e(R), {
|
|
238
241
|
id: "button-cancel" + t.uniqueId,
|
|
239
242
|
size: "small",
|
|
240
243
|
theme: "third",
|
|
241
244
|
color: "default",
|
|
242
245
|
variant: "outlined",
|
|
243
246
|
class: "button",
|
|
244
|
-
"data-testid": `${t.testId}-${e(
|
|
245
|
-
onClick: (a) => e(
|
|
247
|
+
"data-testid": `${t.testId}-${e(l).ACTION_CANCEL}`,
|
|
248
|
+
onClick: (a) => e(P)()
|
|
246
249
|
}, {
|
|
247
|
-
default:
|
|
248
|
-
|
|
249
|
-
default:
|
|
250
|
+
default: o(() => [
|
|
251
|
+
s(e(p), { variant: "button" }, {
|
|
252
|
+
default: o(() => [
|
|
250
253
|
m(" Cancel ")
|
|
251
254
|
]),
|
|
252
255
|
_: 1
|
|
@@ -254,17 +257,17 @@ const ne = ["id", "data-testid"], se = ["data-testid"], ie = ["id", "data-testid
|
|
|
254
257
|
]),
|
|
255
258
|
_: 1
|
|
256
259
|
}, 8, ["id", "data-testid", "onClick"])
|
|
257
|
-
]),
|
|
260
|
+
]), E(1), u[1])
|
|
258
261
|
])
|
|
259
262
|
])
|
|
260
263
|
], 4)
|
|
261
264
|
], 2)
|
|
262
|
-
], 10,
|
|
265
|
+
], 10, le), [
|
|
263
266
|
[$, e(h)]
|
|
264
267
|
])
|
|
265
|
-
], 10,
|
|
268
|
+
], 10, ie));
|
|
266
269
|
}
|
|
267
270
|
});
|
|
268
271
|
export {
|
|
269
|
-
|
|
272
|
+
ze as default
|
|
270
273
|
};
|
|
@@ -17,6 +17,7 @@ declare const DateRangeTypes: () => ({
|
|
|
17
17
|
openOnTop: boolean;
|
|
18
18
|
showPresets: boolean;
|
|
19
19
|
maxDate: Date;
|
|
20
|
+
minDate: Date;
|
|
20
21
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
21
22
|
testId: {
|
|
22
23
|
type: import("vue").PropType<string>;
|
|
@@ -84,6 +85,10 @@ declare const DateRangeTypes: () => ({
|
|
|
84
85
|
type: import("vue").PropType<Date>;
|
|
85
86
|
default: any;
|
|
86
87
|
};
|
|
88
|
+
minDate: {
|
|
89
|
+
type: import("vue").PropType<Date>;
|
|
90
|
+
default: any;
|
|
91
|
+
};
|
|
87
92
|
}>> & {
|
|
88
93
|
onOpened?: (...args: any[]) => any;
|
|
89
94
|
onRangeTypeChanged?: (...args: any[]) => any;
|
|
@@ -91,7 +96,7 @@ declare const DateRangeTypes: () => ({
|
|
|
91
96
|
onRangeChanged?: (...args: any[]) => any;
|
|
92
97
|
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
93
98
|
onDismissed?: (...args: any[]) => any;
|
|
94
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "allowedDays" | "uniqueId" | "includeToday" | "dateFormat" | "types" | "maxDaysInRange" | "datePresetList" | "regex" | "initialType" | "openOnTop" | "showPresets" | "maxDate">;
|
|
99
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "allowedDays" | "uniqueId" | "includeToday" | "dateFormat" | "types" | "maxDaysInRange" | "datePresetList" | "regex" | "initialType" | "openOnTop" | "showPresets" | "maxDate" | "minDate">;
|
|
95
100
|
$attrs: {
|
|
96
101
|
[x: string]: unknown;
|
|
97
102
|
};
|
|
@@ -172,6 +177,10 @@ declare const DateRangeTypes: () => ({
|
|
|
172
177
|
type: import("vue").PropType<Date>;
|
|
173
178
|
default: any;
|
|
174
179
|
};
|
|
180
|
+
minDate: {
|
|
181
|
+
type: import("vue").PropType<Date>;
|
|
182
|
+
default: any;
|
|
183
|
+
};
|
|
175
184
|
}>> & {
|
|
176
185
|
onOpened?: (...args: any[]) => any;
|
|
177
186
|
onRangeTypeChanged?: (...args: any[]) => any;
|
|
@@ -201,6 +210,7 @@ declare const DateRangeTypes: () => ({
|
|
|
201
210
|
openOnTop: boolean;
|
|
202
211
|
showPresets: boolean;
|
|
203
212
|
maxDate: Date;
|
|
213
|
+
minDate: Date;
|
|
204
214
|
}, {}, string> & {
|
|
205
215
|
beforeCreate?: (() => void) | (() => void)[];
|
|
206
216
|
created?: (() => void) | (() => void)[];
|
|
@@ -288,6 +298,10 @@ declare const DateRangeTypes: () => ({
|
|
|
288
298
|
type: import("vue").PropType<Date>;
|
|
289
299
|
default: any;
|
|
290
300
|
};
|
|
301
|
+
minDate: {
|
|
302
|
+
type: import("vue").PropType<Date>;
|
|
303
|
+
default: any;
|
|
304
|
+
};
|
|
291
305
|
}>> & {
|
|
292
306
|
onOpened?: (...args: any[]) => any;
|
|
293
307
|
onRangeTypeChanged?: (...args: any[]) => any;
|
|
@@ -366,6 +380,10 @@ declare const DateRangeTypes: () => ({
|
|
|
366
380
|
type: import("vue").PropType<Date>;
|
|
367
381
|
default: any;
|
|
368
382
|
};
|
|
383
|
+
minDate: {
|
|
384
|
+
type: import("vue").PropType<Date>;
|
|
385
|
+
default: any;
|
|
386
|
+
};
|
|
369
387
|
}>> & {
|
|
370
388
|
onOpened?: (...args: any[]) => any;
|
|
371
389
|
onRangeTypeChanged?: (...args: any[]) => any;
|
|
@@ -395,6 +413,7 @@ declare const DateRangeTypes: () => ({
|
|
|
395
413
|
openOnTop: boolean;
|
|
396
414
|
showPresets: boolean;
|
|
397
415
|
maxDate: Date;
|
|
416
|
+
minDate: Date;
|
|
398
417
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
399
418
|
$slots: {
|
|
400
419
|
field?(_: {
|
|
@@ -6,6 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
6
6
|
height?: string;
|
|
7
7
|
width?: string;
|
|
8
8
|
platform?: string;
|
|
9
|
+
circled?: boolean;
|
|
9
10
|
}>, {
|
|
10
11
|
name: any;
|
|
11
12
|
size: any;
|
|
@@ -14,6 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
15
|
height: any;
|
|
15
16
|
width: any;
|
|
16
17
|
platform: any;
|
|
18
|
+
circled: boolean;
|
|
17
19
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
20
|
type?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
19
21
|
name?: string;
|
|
@@ -22,6 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
24
|
height?: string;
|
|
23
25
|
width?: string;
|
|
24
26
|
platform?: string;
|
|
27
|
+
circled?: boolean;
|
|
25
28
|
}>, {
|
|
26
29
|
name: any;
|
|
27
30
|
size: any;
|
|
@@ -30,6 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
30
33
|
height: any;
|
|
31
34
|
width: any;
|
|
32
35
|
platform: any;
|
|
36
|
+
circled: boolean;
|
|
33
37
|
}>>>, {
|
|
34
38
|
name: string;
|
|
35
39
|
type: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
@@ -38,6 +42,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
38
42
|
height: string;
|
|
39
43
|
width: string;
|
|
40
44
|
platform: string;
|
|
45
|
+
circled: boolean;
|
|
41
46
|
}>, {
|
|
42
47
|
default?(_: {}): any;
|
|
43
48
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./IconV4.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../IconV4.
|
|
4
|
-
const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-6683c5b5"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|