@ironsource/shared-ui 2.2.0-rc.43 → 2.2.0-rc.48
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/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +1 -0
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_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_960ea8b1_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +1 -0
- package/Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
- package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/ThemeWrapper/ThemeStrore.d.ts +1 -2
- package/components/ThemeWrapper/ThemeStrore.js +11 -14
- package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
- package/components/ThemeWrapper/ThemeWrapper.vue2.js +11 -8
- package/components/ThemeWrapper/index.d.ts +1 -2
- package/components/ThemeWrapper/index.js +2 -4
- package/components/alert/Alert.vue.js +4 -4
- package/components/alert/Alert.vue2.js +1 -1
- package/components/autocomplete/index.d.ts +16 -16
- package/components/button/v3/ButtonBase.vue.d.ts +1 -1
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/datePicker/v4/DatePickerV4.vue.js +2 -2
- package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +1 -1
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +28 -27
- package/components/dropdown/common/Dropdown.common.js +351 -274
- package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
- package/components/dropdown/v3/index.d.ts +88 -88
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +38 -32
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +50 -41
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +239 -224
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -9
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +12 -12
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +2377 -2349
- package/components/helpText/HelpText.vue.js +3 -3
- package/components/helpText/HelpText.vue2.js +11 -10
- package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
- package/components/includeExclude/index.d.ts +54 -54
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +54 -53
- package/components/inlineCopy/index.d.ts +9 -0
- 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 +22 -19
- package/components/input/v4/index.d.ts +20 -1
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +30 -21
- package/components/loader/v4/Loader.vue.js +3 -3
- package/components/loader/v4/Loader.vue2.js +1 -1
- package/components/menu/Menu.vue.js +3 -3
- package/components/menu/Menu.vue2.js +30 -33
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +50 -51
- package/components/popover/v4/PopoverV4.vue.js +2 -2
- package/components/popover/v4/PopoverV4.vue2.js +21 -22
- package/components/search/v4/SearchV4.vue.d.ts +5 -0
- package/components/search/v4/SearchV4.vue.js +5 -5
- package/components/search/v4/SearchV4.vue2.js +23 -18
- package/components/search/v4/index.d.ts +9 -0
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -8
- package/components/snackbar/v4/SnackbarV4.vue.js +3 -3
- package/components/snackbar/v4/SnackbarV4.vue2.js +1 -1
- package/components/table/v4/DataGridMenu.vue.d.ts +5 -0
- package/components/table/v4/DataGridMenu.vue.js +5 -5
- package/components/table/v4/DataGridMenu.vue2.js +28 -22
- package/components/table/v4/index.d.ts +9 -0
- package/components/tabs/v4/TabsV4.vue.d.ts +5 -0
- package/components/tabs/v4/TabsV4.vue.js +3 -3
- package/components/tabs/v4/TabsV4.vue2.js +74 -43
- package/components/tabs/v4/index.d.ts +20 -1
- package/components/toggle/v4/ToggleV4.vue.d.ts +5 -0
- package/components/toggle/v4/ToggleV4.vue.js +3 -3
- package/components/toggle/v4/ToggleV4.vue2.js +50 -41
- package/components/toggle/v4/index.d.ts +20 -1
- package/components/tooltip/v3/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/v3/index.d.ts +20 -20
- package/components/tooltip/v4/TooltipV4.vue.d.ts +15 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +85 -63
- package/components/tooltip/v4/index.d.ts +70 -23
- package/design-foundation.stories/colors/ColorsData.d.ts +0 -114
- package/design-foundation.stories/colors/ColorsStoryWrapper.vue.d.ts +1 -28
- package/index.d.ts +3013 -2696
- package/index.js +1 -1
- package/package.json +5 -1
- package/style/v4/border-radius.scss +2 -2
- package/style/v4/colors.scss +0 -105
- package/style/v4/elevations.scss +0 -11
- package/style/v4/grid.css +1 -17
- package/style/v4/grid.css.map +1 -1
- package/style/v4/grid.scss +1 -1
- package/style/v4/spacings.scss +1 -1
- package/style/v4/styleguideV4.scss +0 -1
- package/styleguide.scss +2 -2
- package/Alert.vue_vue_type_style_index_0_scoped_1036ab1d_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_6f05dc63_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_73af6757_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +0 -1
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +0 -1
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_5545bc01_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_b2d0a4d2_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +0 -1
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +0 -1
- package/Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css +0 -1
- package/Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_7e70c643_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_ea1a3e8c_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_f19e742c_lang.css +0 -1
- package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +0 -1
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_8eef6574_lang.css +0 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_f88fbece_lang.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../ButtonV4.
|
|
1
|
+
import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css"; import { defineComponent as N, computed as h, openBlock as n, createElementBlock as s, normalizeClass as c, createElementVNode as r, createBlock as f, unref as t, createCommentVNode as o, createVNode as u, withCtx as m, renderSlot as d, createTextVNode as z, toDisplayString as b } from "vue";
|
|
2
2
|
import I from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import y from "../../icon/v4/IconV4.vue.js";
|
|
4
4
|
import "../../icon/v4/IconFlag.vue.js";
|
|
@@ -76,8 +76,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
76
76
|
testId: string;
|
|
77
77
|
selected: unknown[];
|
|
78
78
|
options: Record<string, unknown>[];
|
|
79
|
-
minSelections: number;
|
|
80
79
|
noResultsText: string;
|
|
80
|
+
minSelections: number;
|
|
81
81
|
searchAutoFocus: boolean;
|
|
82
82
|
searchPlaceholder: string;
|
|
83
83
|
headerText: string;
|
|
@@ -7,8 +7,8 @@ declare const ColumnPickerTypes: () => ({
|
|
|
7
7
|
testId: string;
|
|
8
8
|
selected: unknown[];
|
|
9
9
|
options: Record<string, unknown>[];
|
|
10
|
-
minSelections: number;
|
|
11
10
|
noResultsText: string;
|
|
11
|
+
minSelections: number;
|
|
12
12
|
searchAutoFocus: boolean;
|
|
13
13
|
searchPlaceholder: string;
|
|
14
14
|
headerText: string;
|
|
@@ -36,14 +36,14 @@ declare const ColumnPickerTypes: () => ({
|
|
|
36
36
|
required: true;
|
|
37
37
|
default: () => any[];
|
|
38
38
|
};
|
|
39
|
-
minSelections: {
|
|
40
|
-
type: import("vue").PropType<number>;
|
|
41
|
-
default: number;
|
|
42
|
-
};
|
|
43
39
|
noResultsText: {
|
|
44
40
|
type: import("vue").PropType<string>;
|
|
45
41
|
default: string;
|
|
46
42
|
};
|
|
43
|
+
minSelections: {
|
|
44
|
+
type: import("vue").PropType<number>;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
47
|
searchAutoFocus: {
|
|
48
48
|
type: import("vue").PropType<boolean>;
|
|
49
49
|
default: boolean;
|
|
@@ -91,7 +91,7 @@ declare const ColumnPickerTypes: () => ({
|
|
|
91
91
|
}>> & {
|
|
92
92
|
"onUpdate:selected"?: (value: unknown[]) => any;
|
|
93
93
|
onTrackUserActivity?: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => any;
|
|
94
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "selected" | "options" | "
|
|
94
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "selected" | "options" | "noResultsText" | "minSelections" | "searchAutoFocus" | "searchPlaceholder" | "headerText" | "appendToBody" | "defaultSelection" | "inlineGroupIds" | "idKey" | "displayKey" | "childrenKey" | "disabledKey" | "minSelectionsTooltipMessage">;
|
|
95
95
|
$attrs: {
|
|
96
96
|
[x: string]: unknown;
|
|
97
97
|
};
|
|
@@ -121,14 +121,14 @@ declare const ColumnPickerTypes: () => ({
|
|
|
121
121
|
required: true;
|
|
122
122
|
default: () => any[];
|
|
123
123
|
};
|
|
124
|
-
minSelections: {
|
|
125
|
-
type: import("vue").PropType<number>;
|
|
126
|
-
default: number;
|
|
127
|
-
};
|
|
128
124
|
noResultsText: {
|
|
129
125
|
type: import("vue").PropType<string>;
|
|
130
126
|
default: string;
|
|
131
127
|
};
|
|
128
|
+
minSelections: {
|
|
129
|
+
type: import("vue").PropType<number>;
|
|
130
|
+
default: number;
|
|
131
|
+
};
|
|
132
132
|
searchAutoFocus: {
|
|
133
133
|
type: import("vue").PropType<boolean>;
|
|
134
134
|
default: boolean;
|
|
@@ -183,8 +183,8 @@ declare const ColumnPickerTypes: () => ({
|
|
|
183
183
|
testId: string;
|
|
184
184
|
selected: unknown[];
|
|
185
185
|
options: Record<string, unknown>[];
|
|
186
|
-
minSelections: number;
|
|
187
186
|
noResultsText: string;
|
|
187
|
+
minSelections: number;
|
|
188
188
|
searchAutoFocus: boolean;
|
|
189
189
|
searchPlaceholder: string;
|
|
190
190
|
headerText: string;
|
|
@@ -232,14 +232,14 @@ declare const ColumnPickerTypes: () => ({
|
|
|
232
232
|
required: true;
|
|
233
233
|
default: () => any[];
|
|
234
234
|
};
|
|
235
|
-
minSelections: {
|
|
236
|
-
type: import("vue").PropType<number>;
|
|
237
|
-
default: number;
|
|
238
|
-
};
|
|
239
235
|
noResultsText: {
|
|
240
236
|
type: import("vue").PropType<string>;
|
|
241
237
|
default: string;
|
|
242
238
|
};
|
|
239
|
+
minSelections: {
|
|
240
|
+
type: import("vue").PropType<number>;
|
|
241
|
+
default: number;
|
|
242
|
+
};
|
|
243
243
|
searchAutoFocus: {
|
|
244
244
|
type: import("vue").PropType<boolean>;
|
|
245
245
|
default: boolean;
|
|
@@ -307,14 +307,14 @@ declare const ColumnPickerTypes: () => ({
|
|
|
307
307
|
required: true;
|
|
308
308
|
default: () => any[];
|
|
309
309
|
};
|
|
310
|
-
minSelections: {
|
|
311
|
-
type: import("vue").PropType<number>;
|
|
312
|
-
default: number;
|
|
313
|
-
};
|
|
314
310
|
noResultsText: {
|
|
315
311
|
type: import("vue").PropType<string>;
|
|
316
312
|
default: string;
|
|
317
313
|
};
|
|
314
|
+
minSelections: {
|
|
315
|
+
type: import("vue").PropType<number>;
|
|
316
|
+
default: number;
|
|
317
|
+
};
|
|
318
318
|
searchAutoFocus: {
|
|
319
319
|
type: import("vue").PropType<boolean>;
|
|
320
320
|
default: boolean;
|
|
@@ -369,8 +369,8 @@ declare const ColumnPickerTypes: () => ({
|
|
|
369
369
|
testId: string;
|
|
370
370
|
selected: unknown[];
|
|
371
371
|
options: Record<string, unknown>[];
|
|
372
|
-
minSelections: number;
|
|
373
372
|
noResultsText: string;
|
|
373
|
+
minSelections: number;
|
|
374
374
|
searchAutoFocus: boolean;
|
|
375
375
|
searchPlaceholder: string;
|
|
376
376
|
headerText: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./DatePickerV4.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DatePickerV4.
|
|
4
|
-
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-39e6c10c"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DatePickerV4.
|
|
1
|
+
import "../../../DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css"; import { defineComponent as g, openBlock as r, createElementBlock as i, unref as e, createElementVNode as D, renderSlot as v, createVNode as n, normalizeClass as I, createCommentVNode as P } from "vue";
|
|
2
2
|
import y from "./DatePickerMonthV4.vue.js";
|
|
3
3
|
import { DatePickerTestIdModifiers as m } from "../../../testids/index.js";
|
|
4
4
|
import { dataPickerCommon as h } from "../common/DatePicker.common.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../CalendarMonthV4.
|
|
4
|
-
const s = /* @__PURE__ */ e
|
|
1
|
+
import e from "./CalendarMonthV4.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-6eae923a"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../CalendarMonthV4.
|
|
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
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";
|
|
@@ -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 a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-bb44cdf8"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DateRangeV4.
|
|
1
|
+
import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_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 l, createTextVNode as m, toDisplayString as g, createCommentVNode as A, vShow as $, normalizeStyle as Z, setBlockTracking as E } from "vue";
|
|
2
2
|
import _ from "./CalendarMonthV4.vue.js";
|
|
3
3
|
import { typeToName as ee, messagePerType as te } from "../common/consts.common.js";
|
|
4
4
|
import R from "../../button/v4/ButtonV4.vue.js";
|
|
@@ -15,10 +15,10 @@ 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
|
|
18
|
+
import { DateRangeTestIdModifiers as o, DatePickerTestIdModifiers as de } from "../../../testids/index.js";
|
|
19
19
|
import { dateRangeCommon as ne } from "../common/DateRange.common.js";
|
|
20
20
|
import p from "../../typography/v4/Typography.vue.js";
|
|
21
|
-
const ie = ["id", "data-testid"], se = ["data-testid"],
|
|
21
|
+
const ie = ["id", "data-testid"], se = ["data-testid"], oe = ["id", "data-testid"], le = {
|
|
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({
|
|
@@ -66,8 +66,8 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
66
66
|
isOpen: h,
|
|
67
67
|
popup: G,
|
|
68
68
|
currentMonths: y,
|
|
69
|
-
displayedMonthsKeys:
|
|
70
|
-
changeType:
|
|
69
|
+
displayedMonthsKeys: b,
|
|
70
|
+
changeType: D,
|
|
71
71
|
presetChanged: K,
|
|
72
72
|
apply: W,
|
|
73
73
|
getNavigation: Y,
|
|
@@ -79,18 +79,18 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
79
79
|
return X(
|
|
80
80
|
() => w.datePresetList,
|
|
81
81
|
() => {
|
|
82
|
-
|
|
82
|
+
D("date", !1);
|
|
83
83
|
}
|
|
84
84
|
), (N, u) => (n(), i("div", {
|
|
85
85
|
id: e(S),
|
|
86
86
|
ref_key: "datePicker",
|
|
87
87
|
ref: B,
|
|
88
88
|
class: r(["relative-wrap", { "date-range-disabled": t.disabled }]),
|
|
89
|
-
"data-testid": `${t.testId}-${e(
|
|
89
|
+
"data-testid": `${t.testId}-${e(o).WRAPPER}`
|
|
90
90
|
}, [
|
|
91
91
|
d("div", {
|
|
92
92
|
class: "date-range-field",
|
|
93
|
-
"data-testid": `${t.testId}-${e(
|
|
93
|
+
"data-testid": `${t.testId}-${e(o).TRIGGER}`,
|
|
94
94
|
onClick: u[0] || (u[0] = (a) => e(P)())
|
|
95
95
|
}, [
|
|
96
96
|
x(N.$slots, "field", {
|
|
@@ -115,16 +115,16 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
115
115
|
t.openOnTop ? "open-on-top" : "",
|
|
116
116
|
t.showPresets ? "" : "hide-presets"
|
|
117
117
|
]]),
|
|
118
|
-
"data-testid": `${t.testId}-${e(
|
|
118
|
+
"data-testid": `${t.testId}-${e(o).CONTAINER}`
|
|
119
119
|
}, [
|
|
120
|
-
t.types.length > 1 ? (n(), i("div",
|
|
120
|
+
t.types.length > 1 ? (n(), i("div", le, [
|
|
121
121
|
(n(!0), i(k, null, C(t.types, (a) => (n(), i("span", {
|
|
122
122
|
key: a,
|
|
123
123
|
class: r(["range-type", { "selected-range-type": e(f) === a }]),
|
|
124
|
-
onClick: (c) => e(
|
|
124
|
+
onClick: (c) => e(D)(a, !0)
|
|
125
125
|
}, [
|
|
126
126
|
s(e(p), { variant: "h1" }, {
|
|
127
|
-
default:
|
|
127
|
+
default: l(() => [
|
|
128
128
|
m(g(e(ee)[a]), 1)
|
|
129
129
|
]),
|
|
130
130
|
_: 2
|
|
@@ -137,7 +137,7 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
137
137
|
t.showPresets ? (n(), i("div", {
|
|
138
138
|
key: 0,
|
|
139
139
|
class: "date-picker-menu",
|
|
140
|
-
"data-testid": `${t.testId}-${e(
|
|
140
|
+
"data-testid": `${t.testId}-${e(o).MENU}`
|
|
141
141
|
}, [
|
|
142
142
|
d("div", {
|
|
143
143
|
id: "presets" + t.uniqueId,
|
|
@@ -152,15 +152,16 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
152
152
|
"selected-preset-container": e(I) === a.id
|
|
153
153
|
})
|
|
154
154
|
}, [
|
|
155
|
-
d("
|
|
155
|
+
d("button", {
|
|
156
|
+
type: "button",
|
|
156
157
|
class: r([{ "selected-preset": e(I) === a.id }, "preset-element"]),
|
|
157
158
|
onClick: (c) => e(K)(a)
|
|
158
159
|
}, [
|
|
159
160
|
s(e(p), {
|
|
160
161
|
variant: "body2",
|
|
161
|
-
"data-testid": `${t.testId}-${e(
|
|
162
|
+
"data-testid": `${t.testId}-${e(o).MENU}-${a.id}`
|
|
162
163
|
}, {
|
|
163
|
-
default:
|
|
164
|
+
default: l(() => [
|
|
164
165
|
m(g(a.name), 1)
|
|
165
166
|
]),
|
|
166
167
|
_: 2
|
|
@@ -174,7 +175,7 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
174
175
|
], 8, ce),
|
|
175
176
|
d("div", {
|
|
176
177
|
class: "type-message",
|
|
177
|
-
"data-testid": `${t.testId}-${e(
|
|
178
|
+
"data-testid": `${t.testId}-${e(o).MESSAGE}`
|
|
178
179
|
}, g(e(te)[e(f)]), 9, ge)
|
|
179
180
|
], 8, ue)) : A("", !0),
|
|
180
181
|
d("div", {
|
|
@@ -182,12 +183,12 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
182
183
|
style: Z({ height: e(J) ? "336px" : "372px" })
|
|
183
184
|
}, [
|
|
184
185
|
d("div", fe, [
|
|
185
|
-
(n(!0), i(k, null, C(e(
|
|
186
|
+
(n(!0), i(k, null, C(e(b), (a, c) => (n(), i("div", { key: a }, [
|
|
186
187
|
s(_, {
|
|
187
188
|
id: t.uniqueId,
|
|
188
189
|
navigation: e(Y)(
|
|
189
190
|
c === 0,
|
|
190
|
-
c === e(
|
|
191
|
+
c === e(b).length - 1
|
|
191
192
|
),
|
|
192
193
|
year: e(y)[a].parsedMonth.year,
|
|
193
194
|
days: e(y)[a].parsedMonth.days,
|
|
@@ -209,7 +210,7 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
209
210
|
]),
|
|
210
211
|
d("div", ke, [
|
|
211
212
|
s(e(p), { variant: "body2" }, {
|
|
212
|
-
default:
|
|
213
|
+
default: l(() => [
|
|
213
214
|
m("All dates are in UTC")
|
|
214
215
|
]),
|
|
215
216
|
_: 1
|
|
@@ -224,12 +225,12 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
224
225
|
size: "small",
|
|
225
226
|
class: "button",
|
|
226
227
|
color: "primary",
|
|
227
|
-
"data-testid": `${t.testId}-${e(
|
|
228
|
+
"data-testid": `${t.testId}-${e(o).ACTION_APPLY}`,
|
|
228
229
|
onClick: (a) => e(W)()
|
|
229
230
|
}, {
|
|
230
|
-
default:
|
|
231
|
+
default: l(() => [
|
|
231
232
|
s(e(p), { variant: "button" }, {
|
|
232
|
-
default:
|
|
233
|
+
default: l(() => [
|
|
233
234
|
m("Apply")
|
|
234
235
|
]),
|
|
235
236
|
_: 1
|
|
@@ -244,12 +245,12 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
244
245
|
color: "default",
|
|
245
246
|
variant: "outlined",
|
|
246
247
|
class: "button",
|
|
247
|
-
"data-testid": `${t.testId}-${e(
|
|
248
|
+
"data-testid": `${t.testId}-${e(o).ACTION_CANCEL}`,
|
|
248
249
|
onClick: (a) => e(P)()
|
|
249
250
|
}, {
|
|
250
|
-
default:
|
|
251
|
+
default: l(() => [
|
|
251
252
|
s(e(p), { variant: "button" }, {
|
|
252
|
-
default:
|
|
253
|
+
default: l(() => [
|
|
253
254
|
m(" Cancel ")
|
|
254
255
|
]),
|
|
255
256
|
_: 1
|
|
@@ -262,7 +263,7 @@ const ie = ["id", "data-testid"], se = ["data-testid"], le = ["id", "data-testid
|
|
|
262
263
|
])
|
|
263
264
|
], 4)
|
|
264
265
|
], 2)
|
|
265
|
-
], 10,
|
|
266
|
+
], 10, oe), [
|
|
266
267
|
[$, e(h)]
|
|
267
268
|
])
|
|
268
269
|
], 10, ie));
|