@ironsource/shared-ui 2.1.6-test.2 → 2.1.6-test.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +1 -0
- package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_6df3b70f_lang.css +1 -0
- package/DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css +1 -0
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +1 -0
- package/{FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css → FormCard.vue_vue_type_style_index_0_scoped_52ade67c_lang.css} +1 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.d.ts +6 -2
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +30 -28
- package/components/appHeader/index.d.ts +6 -2
- package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
- package/components/autocomplete/Autocomplete.vue.js +3 -3
- package/components/autocomplete/Autocomplete.vue2.js +82 -61
- package/components/autocomplete/index.d.ts +20 -1
- package/components/datePicker/common/DatePicker.common.d.ts +11 -0
- package/components/datePicker/common/DatePicker.common.js +52 -0
- package/components/datePicker/common/DatePickerMonth.common.d.ts +85 -0
- package/components/datePicker/common/DatePickerMonth.common.js +66 -0
- package/components/datePicker/{DatePicker.vue.d.ts → v3/DatePicker.vue.d.ts} +1 -1
- package/components/datePicker/v3/DatePicker.vue.js +7 -0
- package/components/datePicker/v3/DatePicker.vue2.js +69 -0
- package/components/datePicker/v3/DatePickerMonth.vue.js +7 -0
- package/components/datePicker/v3/DatePickerMonth.vue2.js +40 -0
- package/components/datePicker/{index.d.ts → v3/index.d.ts} +1 -1
- package/components/datePicker/v4/DatePickerMonthV4.vue.d.ts +53 -0
- package/components/datePicker/v4/DatePickerV4.vue.d.ts +67 -0
- package/components/datePicker/v4/index.d.ts +184 -0
- package/components/dateRange/common/CalendarMonth.common.d.ts +17 -0
- package/components/dateRange/common/CalendarMonth.common.js +131 -0
- package/components/dateRange/common/DateRange.common.d.ts +47 -0
- package/components/dateRange/common/DateRange.common.js +265 -0
- package/components/dateRange/common/DateRangePicker.common.d.ts +3 -0
- package/components/dateRange/{CalendarMonth.vue.d.ts → v3/CalendarMonth.vue.d.ts} +1 -1
- package/components/dateRange/v3/CalendarMonth.vue.js +7 -0
- package/components/dateRange/v3/CalendarMonth.vue2.js +147 -0
- package/components/dateRange/{DateRange.vue.d.ts → v3/DateRange.vue.d.ts} +9 -9
- package/components/dateRange/v3/DateRange.vue.js +7 -0
- package/components/dateRange/v3/DateRange.vue2.js +226 -0
- package/components/dateRange/{DateRangePicker.vue.d.ts → v3/DateRangePicker.vue.d.ts} +9 -9
- package/components/dateRange/{index.d.ts → v3/index.d.ts} +21 -21
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +75 -0
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +115 -0
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +127 -0
- package/components/dateRange/v4/index.d.ts +408 -0
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +67 -62
- package/components/dropdown/common/Dropdown.common.js +21 -21
- package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +32 -32
- package/components/dropdown/v3/index.d.ts +13 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +2 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +16 -16
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +40 -49
- package/components/dropdown/v4/DropdownV4.vue.d.ts +16 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +140 -128
- package/components/dropdown/v4/OptionV4.vue.d.ts +11 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +61 -44
- package/components/dropdown/v4/index.d.ts +105 -4
- package/components/filtersPanel/v3/Filter.d.ts +1 -1
- package/components/forms/FormCard.vue.js +2 -2
- package/components/forms/FormCard.vue2.js +9 -9
- package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +23 -22
- package/components/inlineCopy/index.d.ts +6 -2
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +43 -43
- package/components/input/v4/index.d.ts +20 -1
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +21 -21
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -9
- package/components/table/v4/DataGrid.vue.d.ts +4 -0
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +147 -147
- package/components/table/v4/index.d.ts +14 -2
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
- package/components/tooltip/v4/index.d.ts +17 -5
- package/index.d.ts +338 -34
- package/index.js +4 -4
- package/package.json +3 -3
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css +0 -1
- package/Autocomplete.vue_vue_type_style_index_0_scoped_d2d1dc1d_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_b2206adb_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +0 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_e108ef3b_lang.css +0 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_b171cdab_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_eb5d155e_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_c3004ba3_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_bf8e7ff5_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_72ab1f25_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_01778240_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
- package/components/datePicker/DatePicker.vue.js +0 -7
- package/components/datePicker/DatePicker.vue2.js +0 -97
- package/components/datePicker/DatePickerMonth.vue.js +0 -7
- package/components/datePicker/DatePickerMonth.vue2.js +0 -85
- package/components/dateRange/CalendarMonth.vue.js +0 -7
- package/components/dateRange/CalendarMonth.vue2.js +0 -244
- package/components/dateRange/DateRange.vue.js +0 -7
- package/components/dateRange/DateRange.vue2.js +0 -417
- /package/components/datePicker/{DatePickerMonth.vue.d.ts → v3/DatePickerMonth.vue.d.ts} +0 -0
- /package/components/datePicker/{index.js → v3/index.js} +0 -0
- /package/components/dateRange/{DateServices.d.ts → common/DateServices.common.d.ts} +0 -0
- /package/components/dateRange/{DateServices.js → common/DateServices.common.js} +0 -0
- /package/components/dateRange/{consts.d.ts → common/consts.common.d.ts} +0 -0
- /package/components/dateRange/{consts.js → common/consts.common.js} +0 -0
- /package/components/dateRange/{index.js → v3/index.js} +0 -0
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
declare const DateRangeTypes: () => ({
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
testId: string;
|
|
8
|
+
allowedDays: number;
|
|
9
|
+
uniqueId: string | number;
|
|
10
|
+
includeToday: boolean;
|
|
11
|
+
dateFormat: string;
|
|
12
|
+
types: ("week" | "month" | "date")[];
|
|
13
|
+
maxDaysInRange: number;
|
|
14
|
+
datePresetList: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
15
|
+
regex: RegExp;
|
|
16
|
+
initialType: "week" | "month" | "date";
|
|
17
|
+
openOnTop: boolean;
|
|
18
|
+
showPresets: boolean;
|
|
19
|
+
maxDate: Date;
|
|
20
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
disabled: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
range: {
|
|
26
|
+
type: import("vue").PropType<{
|
|
27
|
+
from: Date;
|
|
28
|
+
to: Date;
|
|
29
|
+
}>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
testId: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
allowedDays: {
|
|
37
|
+
type: import("vue").PropType<number>;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
uniqueId: {
|
|
41
|
+
type: import("vue").PropType<string | number>;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
includeToday: {
|
|
45
|
+
type: import("vue").PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
dateFormat: {
|
|
49
|
+
type: import("vue").PropType<string>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
types: {
|
|
53
|
+
type: import("vue").PropType<("week" | "month" | "date")[]>;
|
|
54
|
+
default: () => string[];
|
|
55
|
+
};
|
|
56
|
+
maxDaysInRange: {
|
|
57
|
+
type: import("vue").PropType<number>;
|
|
58
|
+
default: any;
|
|
59
|
+
};
|
|
60
|
+
datePresetList: {
|
|
61
|
+
type: import("vue").PropType<"week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
regex: {
|
|
65
|
+
type: import("vue").PropType<RegExp>;
|
|
66
|
+
default: () => RegExp;
|
|
67
|
+
};
|
|
68
|
+
initialType: {
|
|
69
|
+
type: import("vue").PropType<"week" | "month" | "date">;
|
|
70
|
+
required: true;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
openOnTop: {
|
|
74
|
+
type: import("vue").PropType<boolean>;
|
|
75
|
+
required: true;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
showPresets: {
|
|
79
|
+
type: import("vue").PropType<boolean>;
|
|
80
|
+
required: true;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
maxDate: {
|
|
84
|
+
type: import("vue").PropType<Date>;
|
|
85
|
+
default: any;
|
|
86
|
+
};
|
|
87
|
+
}>> & {
|
|
88
|
+
onOpened?: (...args: any[]) => any;
|
|
89
|
+
onRangeTypeChanged?: (...args: any[]) => any;
|
|
90
|
+
onCurrentDateChanged?: (...args: any[]) => any;
|
|
91
|
+
onRangeChanged?: (...args: any[]) => any;
|
|
92
|
+
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
93
|
+
onDismissed?: (...args: any[]) => any;
|
|
94
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "testId" | "allowedDays" | "uniqueId" | "includeToday" | "dateFormat" | "types" | "maxDaysInRange" | "datePresetList" | "regex" | "initialType" | "openOnTop" | "showPresets" | "maxDate">;
|
|
95
|
+
$attrs: {
|
|
96
|
+
[x: string]: unknown;
|
|
97
|
+
};
|
|
98
|
+
$refs: {
|
|
99
|
+
[x: string]: unknown;
|
|
100
|
+
};
|
|
101
|
+
$slots: Readonly<{
|
|
102
|
+
[name: string]: import("vue").Slot;
|
|
103
|
+
}>;
|
|
104
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
105
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
106
|
+
$emit: ((event: "opened", ...args: any[]) => void) & ((event: "rangeTypeChanged", ...args: any[]) => void) & ((event: "currentDateChanged", ...args: any[]) => void) & ((event: "rangeChanged", ...args: any[]) => void) & ((event: "dateRangePresetNameChanged", ...args: any[]) => void) & ((event: "dismissed", ...args: any[]) => void);
|
|
107
|
+
$el: any;
|
|
108
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
+
disabled: {
|
|
110
|
+
type: import("vue").PropType<boolean>;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
range: {
|
|
114
|
+
type: import("vue").PropType<{
|
|
115
|
+
from: Date;
|
|
116
|
+
to: Date;
|
|
117
|
+
}>;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
testId: {
|
|
121
|
+
type: import("vue").PropType<string>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
allowedDays: {
|
|
125
|
+
type: import("vue").PropType<number>;
|
|
126
|
+
default: any;
|
|
127
|
+
};
|
|
128
|
+
uniqueId: {
|
|
129
|
+
type: import("vue").PropType<string | number>;
|
|
130
|
+
default: number;
|
|
131
|
+
};
|
|
132
|
+
includeToday: {
|
|
133
|
+
type: import("vue").PropType<boolean>;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
dateFormat: {
|
|
137
|
+
type: import("vue").PropType<string>;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
types: {
|
|
141
|
+
type: import("vue").PropType<("week" | "month" | "date")[]>;
|
|
142
|
+
default: () => string[];
|
|
143
|
+
};
|
|
144
|
+
maxDaysInRange: {
|
|
145
|
+
type: import("vue").PropType<number>;
|
|
146
|
+
default: any;
|
|
147
|
+
};
|
|
148
|
+
datePresetList: {
|
|
149
|
+
type: import("vue").PropType<"week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
regex: {
|
|
153
|
+
type: import("vue").PropType<RegExp>;
|
|
154
|
+
default: () => RegExp;
|
|
155
|
+
};
|
|
156
|
+
initialType: {
|
|
157
|
+
type: import("vue").PropType<"week" | "month" | "date">;
|
|
158
|
+
required: true;
|
|
159
|
+
default: any;
|
|
160
|
+
};
|
|
161
|
+
openOnTop: {
|
|
162
|
+
type: import("vue").PropType<boolean>;
|
|
163
|
+
required: true;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
showPresets: {
|
|
167
|
+
type: import("vue").PropType<boolean>;
|
|
168
|
+
required: true;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
maxDate: {
|
|
172
|
+
type: import("vue").PropType<Date>;
|
|
173
|
+
default: any;
|
|
174
|
+
};
|
|
175
|
+
}>> & {
|
|
176
|
+
onOpened?: (...args: any[]) => any;
|
|
177
|
+
onRangeTypeChanged?: (...args: any[]) => any;
|
|
178
|
+
onCurrentDateChanged?: (...args: any[]) => any;
|
|
179
|
+
onRangeChanged?: (...args: any[]) => any;
|
|
180
|
+
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
181
|
+
onDismissed?: (...args: any[]) => any;
|
|
182
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
183
|
+
opened: (...args: any[]) => void;
|
|
184
|
+
rangeTypeChanged: (...args: any[]) => void;
|
|
185
|
+
currentDateChanged: (...args: any[]) => void;
|
|
186
|
+
rangeChanged: (...args: any[]) => void;
|
|
187
|
+
dateRangePresetNameChanged: (...args: any[]) => void;
|
|
188
|
+
dismissed: (...args: any[]) => void;
|
|
189
|
+
}, string, {
|
|
190
|
+
disabled: boolean;
|
|
191
|
+
testId: string;
|
|
192
|
+
allowedDays: number;
|
|
193
|
+
uniqueId: string | number;
|
|
194
|
+
includeToday: boolean;
|
|
195
|
+
dateFormat: string;
|
|
196
|
+
types: ("week" | "month" | "date")[];
|
|
197
|
+
maxDaysInRange: number;
|
|
198
|
+
datePresetList: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
199
|
+
regex: RegExp;
|
|
200
|
+
initialType: "week" | "month" | "date";
|
|
201
|
+
openOnTop: boolean;
|
|
202
|
+
showPresets: boolean;
|
|
203
|
+
maxDate: Date;
|
|
204
|
+
}, {}, string> & {
|
|
205
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
206
|
+
created?: (() => void) | (() => void)[];
|
|
207
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
208
|
+
mounted?: (() => void) | (() => void)[];
|
|
209
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
210
|
+
updated?: (() => void) | (() => void)[];
|
|
211
|
+
activated?: (() => void) | (() => void)[];
|
|
212
|
+
deactivated?: (() => void) | (() => void)[];
|
|
213
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
214
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
215
|
+
destroyed?: (() => void) | (() => void)[];
|
|
216
|
+
unmounted?: (() => void) | (() => void)[];
|
|
217
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
218
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
219
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
220
|
+
};
|
|
221
|
+
$forceUpdate: () => void;
|
|
222
|
+
$nextTick: typeof import("vue").nextTick;
|
|
223
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
224
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
225
|
+
disabled: {
|
|
226
|
+
type: import("vue").PropType<boolean>;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
range: {
|
|
230
|
+
type: import("vue").PropType<{
|
|
231
|
+
from: Date;
|
|
232
|
+
to: Date;
|
|
233
|
+
}>;
|
|
234
|
+
required: true;
|
|
235
|
+
};
|
|
236
|
+
testId: {
|
|
237
|
+
type: import("vue").PropType<string>;
|
|
238
|
+
default: string;
|
|
239
|
+
};
|
|
240
|
+
allowedDays: {
|
|
241
|
+
type: import("vue").PropType<number>;
|
|
242
|
+
default: any;
|
|
243
|
+
};
|
|
244
|
+
uniqueId: {
|
|
245
|
+
type: import("vue").PropType<string | number>;
|
|
246
|
+
default: number;
|
|
247
|
+
};
|
|
248
|
+
includeToday: {
|
|
249
|
+
type: import("vue").PropType<boolean>;
|
|
250
|
+
default: boolean;
|
|
251
|
+
};
|
|
252
|
+
dateFormat: {
|
|
253
|
+
type: import("vue").PropType<string>;
|
|
254
|
+
default: string;
|
|
255
|
+
};
|
|
256
|
+
types: {
|
|
257
|
+
type: import("vue").PropType<("week" | "month" | "date")[]>;
|
|
258
|
+
default: () => string[];
|
|
259
|
+
};
|
|
260
|
+
maxDaysInRange: {
|
|
261
|
+
type: import("vue").PropType<number>;
|
|
262
|
+
default: any;
|
|
263
|
+
};
|
|
264
|
+
datePresetList: {
|
|
265
|
+
type: import("vue").PropType<"week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
regex: {
|
|
269
|
+
type: import("vue").PropType<RegExp>;
|
|
270
|
+
default: () => RegExp;
|
|
271
|
+
};
|
|
272
|
+
initialType: {
|
|
273
|
+
type: import("vue").PropType<"week" | "month" | "date">;
|
|
274
|
+
required: true;
|
|
275
|
+
default: any;
|
|
276
|
+
};
|
|
277
|
+
openOnTop: {
|
|
278
|
+
type: import("vue").PropType<boolean>;
|
|
279
|
+
required: true;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
showPresets: {
|
|
283
|
+
type: import("vue").PropType<boolean>;
|
|
284
|
+
required: true;
|
|
285
|
+
default: boolean;
|
|
286
|
+
};
|
|
287
|
+
maxDate: {
|
|
288
|
+
type: import("vue").PropType<Date>;
|
|
289
|
+
default: any;
|
|
290
|
+
};
|
|
291
|
+
}>> & {
|
|
292
|
+
onOpened?: (...args: any[]) => any;
|
|
293
|
+
onRangeTypeChanged?: (...args: any[]) => any;
|
|
294
|
+
onCurrentDateChanged?: (...args: any[]) => any;
|
|
295
|
+
onRangeChanged?: (...args: any[]) => any;
|
|
296
|
+
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
297
|
+
onDismissed?: (...args: any[]) => any;
|
|
298
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
299
|
+
__isFragment?: never;
|
|
300
|
+
__isTeleport?: never;
|
|
301
|
+
__isSuspense?: never;
|
|
302
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
303
|
+
disabled: {
|
|
304
|
+
type: import("vue").PropType<boolean>;
|
|
305
|
+
default: boolean;
|
|
306
|
+
};
|
|
307
|
+
range: {
|
|
308
|
+
type: import("vue").PropType<{
|
|
309
|
+
from: Date;
|
|
310
|
+
to: Date;
|
|
311
|
+
}>;
|
|
312
|
+
required: true;
|
|
313
|
+
};
|
|
314
|
+
testId: {
|
|
315
|
+
type: import("vue").PropType<string>;
|
|
316
|
+
default: string;
|
|
317
|
+
};
|
|
318
|
+
allowedDays: {
|
|
319
|
+
type: import("vue").PropType<number>;
|
|
320
|
+
default: any;
|
|
321
|
+
};
|
|
322
|
+
uniqueId: {
|
|
323
|
+
type: import("vue").PropType<string | number>;
|
|
324
|
+
default: number;
|
|
325
|
+
};
|
|
326
|
+
includeToday: {
|
|
327
|
+
type: import("vue").PropType<boolean>;
|
|
328
|
+
default: boolean;
|
|
329
|
+
};
|
|
330
|
+
dateFormat: {
|
|
331
|
+
type: import("vue").PropType<string>;
|
|
332
|
+
default: string;
|
|
333
|
+
};
|
|
334
|
+
types: {
|
|
335
|
+
type: import("vue").PropType<("week" | "month" | "date")[]>;
|
|
336
|
+
default: () => string[];
|
|
337
|
+
};
|
|
338
|
+
maxDaysInRange: {
|
|
339
|
+
type: import("vue").PropType<number>;
|
|
340
|
+
default: any;
|
|
341
|
+
};
|
|
342
|
+
datePresetList: {
|
|
343
|
+
type: import("vue").PropType<"week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth">;
|
|
344
|
+
default: string;
|
|
345
|
+
};
|
|
346
|
+
regex: {
|
|
347
|
+
type: import("vue").PropType<RegExp>;
|
|
348
|
+
default: () => RegExp;
|
|
349
|
+
};
|
|
350
|
+
initialType: {
|
|
351
|
+
type: import("vue").PropType<"week" | "month" | "date">;
|
|
352
|
+
required: true;
|
|
353
|
+
default: any;
|
|
354
|
+
};
|
|
355
|
+
openOnTop: {
|
|
356
|
+
type: import("vue").PropType<boolean>;
|
|
357
|
+
required: true;
|
|
358
|
+
default: boolean;
|
|
359
|
+
};
|
|
360
|
+
showPresets: {
|
|
361
|
+
type: import("vue").PropType<boolean>;
|
|
362
|
+
required: true;
|
|
363
|
+
default: boolean;
|
|
364
|
+
};
|
|
365
|
+
maxDate: {
|
|
366
|
+
type: import("vue").PropType<Date>;
|
|
367
|
+
default: any;
|
|
368
|
+
};
|
|
369
|
+
}>> & {
|
|
370
|
+
onOpened?: (...args: any[]) => any;
|
|
371
|
+
onRangeTypeChanged?: (...args: any[]) => any;
|
|
372
|
+
onCurrentDateChanged?: (...args: any[]) => any;
|
|
373
|
+
onRangeChanged?: (...args: any[]) => any;
|
|
374
|
+
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
375
|
+
onDismissed?: (...args: any[]) => any;
|
|
376
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
377
|
+
opened: (...args: any[]) => void;
|
|
378
|
+
rangeTypeChanged: (...args: any[]) => void;
|
|
379
|
+
currentDateChanged: (...args: any[]) => void;
|
|
380
|
+
rangeChanged: (...args: any[]) => void;
|
|
381
|
+
dateRangePresetNameChanged: (...args: any[]) => void;
|
|
382
|
+
dismissed: (...args: any[]) => void;
|
|
383
|
+
}, string, {
|
|
384
|
+
disabled: boolean;
|
|
385
|
+
testId: string;
|
|
386
|
+
allowedDays: number;
|
|
387
|
+
uniqueId: string | number;
|
|
388
|
+
includeToday: boolean;
|
|
389
|
+
dateFormat: string;
|
|
390
|
+
types: ("week" | "month" | "date")[];
|
|
391
|
+
maxDaysInRange: number;
|
|
392
|
+
datePresetList: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
393
|
+
regex: RegExp;
|
|
394
|
+
initialType: "week" | "month" | "date";
|
|
395
|
+
openOnTop: boolean;
|
|
396
|
+
showPresets: boolean;
|
|
397
|
+
maxDate: Date;
|
|
398
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
399
|
+
$slots: {
|
|
400
|
+
field?(_: {
|
|
401
|
+
currentDate: any;
|
|
402
|
+
isOpen: boolean;
|
|
403
|
+
}): any;
|
|
404
|
+
footer?(_: {}): any;
|
|
405
|
+
};
|
|
406
|
+
}))[];
|
|
407
|
+
export { default as DateRange } from './DateRangeV4.vue';
|
|
408
|
+
export { DateRangeTypes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DialogV4.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DialogV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-09c488cf"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "../../../DialogV4.
|
|
2
|
-
import { NOOP as
|
|
3
|
-
import
|
|
1
|
+
import "../../../DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css"; import { defineComponent as A, openBlock as o, createBlock as c, Teleport as w, createVNode as b, Transition as I, withCtx as u, unref as e, createElementBlock as m, createElementVNode as C, mergeProps as s, renderSlot as k, createTextVNode as f, toDisplayString as B, createCommentVNode as d } from "vue";
|
|
2
|
+
import { NOOP as V } from "@vue/shared";
|
|
3
|
+
import T from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
import N from "../../button/v4/ButtonV4.vue.js";
|
|
5
|
-
import
|
|
6
|
-
import { Reason as
|
|
7
|
-
import { dialogCommon as
|
|
5
|
+
import p from "../../button/v4/IconButtonV4.vue.js";
|
|
6
|
+
import { Reason as g } from "../common/Reason.js";
|
|
7
|
+
import { dialogCommon as D } from "../common/Dialog.common.js";
|
|
8
8
|
import { DialogTestIdModifiers as l } from "../../../testids/index.js";
|
|
9
|
-
import { useTestIdAttrs as
|
|
10
|
-
import { useMagicKeys as
|
|
11
|
-
const
|
|
9
|
+
import { useTestIdAttrs as P } from "../../../utils/testIds.js";
|
|
10
|
+
import { useMagicKeys as R, whenever as $ } from "@vueuse/core";
|
|
11
|
+
const S = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "container light-theme-v4"
|
|
14
|
-
},
|
|
14
|
+
}, F = { class: "title" }, U = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "footer"
|
|
17
|
-
},
|
|
17
|
+
}, Q = /* @__PURE__ */ A({
|
|
18
18
|
__name: "DialogV4",
|
|
19
19
|
props: {
|
|
20
20
|
modelValue: { type: Boolean },
|
|
@@ -39,106 +39,111 @@ const R = {
|
|
|
39
39
|
testId: { default: "" }
|
|
40
40
|
},
|
|
41
41
|
emits: ["update:modelValue", "open", "close", "save", "cancel"],
|
|
42
|
-
setup(t, { emit:
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
h.value &&
|
|
46
|
-
})
|
|
42
|
+
setup(t, { emit: v }) {
|
|
43
|
+
const i = t, { escape: L } = R(), a = P(i.testId, l), { visible: h, handleClose: y } = D(i, v);
|
|
44
|
+
$(L, () => {
|
|
45
|
+
h.value && i.escapeToClose && !i.saveButtonLoading && y(g.Escape);
|
|
46
|
+
});
|
|
47
|
+
const E = () => {
|
|
48
|
+
const { closeOnClickOutside: r, saveButtonLoading: n } = i;
|
|
49
|
+
r && !n ? y(g.Backdrop) : V();
|
|
50
|
+
};
|
|
51
|
+
return (r, n) => (o(), c(w, {
|
|
47
52
|
to: "body",
|
|
48
53
|
disabled: !t.appendToBody
|
|
49
54
|
}, [
|
|
50
|
-
|
|
51
|
-
default:
|
|
52
|
-
e(h) ? (o(),
|
|
53
|
-
|
|
55
|
+
b(I, null, {
|
|
56
|
+
default: u(() => [
|
|
57
|
+
e(h) ? (o(), m("div", S, [
|
|
58
|
+
C("div", s({
|
|
54
59
|
class: ["dialog", [`dialog--${t.size}`]]
|
|
55
60
|
}, e(a)[e(l).WRAPPER]), [
|
|
56
|
-
t.title || t.subtitle || t.showCloseButton ? (o(),
|
|
61
|
+
t.title || t.subtitle || t.showCloseButton ? (o(), m("header", s({
|
|
57
62
|
key: 0,
|
|
58
63
|
class: "header"
|
|
59
64
|
}, e(a)[e(l).HEADER]), [
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
t.title ? (o(),
|
|
65
|
+
C("div", F, [
|
|
66
|
+
k(r.$slots, "header", {}, () => [
|
|
67
|
+
t.title ? (o(), c(e(T), {
|
|
63
68
|
key: 0,
|
|
64
69
|
variant: "h3"
|
|
65
70
|
}, {
|
|
66
|
-
default:
|
|
67
|
-
|
|
71
|
+
default: u(() => [
|
|
72
|
+
f(B(t.title), 1)
|
|
68
73
|
]),
|
|
69
74
|
_: 1
|
|
70
|
-
})) :
|
|
71
|
-
t.subtitle ? (o(),
|
|
75
|
+
})) : d("", !0),
|
|
76
|
+
t.subtitle ? (o(), c(e(T), {
|
|
72
77
|
key: 1,
|
|
73
78
|
class: "subtitle",
|
|
74
79
|
variant: "body1"
|
|
75
80
|
}, {
|
|
76
|
-
default:
|
|
77
|
-
|
|
81
|
+
default: u(() => [
|
|
82
|
+
f(B(t.subtitle), 1)
|
|
78
83
|
]),
|
|
79
84
|
_: 1
|
|
80
|
-
})) :
|
|
85
|
+
})) : d("", !0)
|
|
81
86
|
], !0)
|
|
82
87
|
]),
|
|
83
|
-
t.showCloseButton ? (o(),
|
|
88
|
+
t.showCloseButton ? (o(), c(e(p), s({
|
|
84
89
|
key: 0,
|
|
85
90
|
class: "close-button",
|
|
86
|
-
"icon-name": "x"
|
|
91
|
+
"icon-name": "x",
|
|
92
|
+
disabled: t.saveButtonLoading
|
|
87
93
|
}, e(a)[e(l).ACTION_CLOSE], {
|
|
88
|
-
onClick: n[0] || (n[0] = (
|
|
89
|
-
}), null, 16)) :
|
|
90
|
-
], 16)) :
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
t.content ? (o(),
|
|
94
|
+
onClick: n[0] || (n[0] = (O) => e(y)(e(g).CloseButton))
|
|
95
|
+
}), null, 16, ["disabled"])) : d("", !0)
|
|
96
|
+
], 16)) : d("", !0),
|
|
97
|
+
C("div", s({ class: "content" }, e(a)[e(l).CONTENT]), [
|
|
98
|
+
k(r.$slots, "default", {}, () => [
|
|
99
|
+
t.content ? (o(), c(e(T), {
|
|
94
100
|
key: 0,
|
|
95
101
|
variant: "body1"
|
|
96
102
|
}, {
|
|
97
|
-
default:
|
|
98
|
-
|
|
103
|
+
default: u(() => [
|
|
104
|
+
f(B(t.content), 1)
|
|
99
105
|
]),
|
|
100
106
|
_: 1
|
|
101
|
-
})) :
|
|
107
|
+
})) : d("", !0)
|
|
102
108
|
], !0)
|
|
103
109
|
], 16),
|
|
104
|
-
t.showFooter ? (o(),
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
110
|
+
t.showFooter ? (o(), m("footer", U, [
|
|
111
|
+
C("div", s({ class: "action-buttons" }, e(a)[e(l).ACTION_BUTTONS_WRAPPER]), [
|
|
112
|
+
k(r.$slots, "footer", {}, () => [
|
|
113
|
+
b(e(N), s({
|
|
108
114
|
class: "form-action",
|
|
109
115
|
variant: "outlined",
|
|
110
|
-
color: t.cancelButtonColor
|
|
116
|
+
color: t.cancelButtonColor,
|
|
117
|
+
disabled: t.saveButtonLoading
|
|
111
118
|
}, e(a)[e(l).CANCEL_BUTTON], {
|
|
112
|
-
onClick: n[1] || (n[1] = (
|
|
119
|
+
onClick: n[1] || (n[1] = (O) => v("cancel"))
|
|
113
120
|
}), {
|
|
114
|
-
default:
|
|
115
|
-
|
|
121
|
+
default: u(() => [
|
|
122
|
+
f(B(t.cancelButtonLabel), 1)
|
|
116
123
|
]),
|
|
117
124
|
_: 1
|
|
118
|
-
}, 16, ["color"]),
|
|
119
|
-
|
|
125
|
+
}, 16, ["color", "disabled"]),
|
|
126
|
+
b(e(N), s({
|
|
120
127
|
class: "form-action",
|
|
121
128
|
loading: t.saveButtonLoading,
|
|
122
129
|
color: t.saveButtonColor
|
|
123
130
|
}, e(a)[e(l).SAVE_BUTTON], {
|
|
124
|
-
onClick: n[2] || (n[2] = (
|
|
131
|
+
onClick: n[2] || (n[2] = (O) => v("save"))
|
|
125
132
|
}), {
|
|
126
|
-
default:
|
|
127
|
-
|
|
133
|
+
default: u(() => [
|
|
134
|
+
f(B(t.saveButtonLabel), 1)
|
|
128
135
|
]),
|
|
129
136
|
_: 1
|
|
130
137
|
}, 16, ["loading", "color"])
|
|
131
138
|
], !0)
|
|
132
139
|
], 16)
|
|
133
|
-
])) :
|
|
140
|
+
])) : d("", !0)
|
|
134
141
|
], 16),
|
|
135
|
-
t.showBackdrop ? (o(),
|
|
142
|
+
t.showBackdrop ? (o(), m("div", s({
|
|
136
143
|
key: 0,
|
|
137
144
|
class: "dialog-backdrop"
|
|
138
|
-
}, e(a)[e(l).BACKDROP], {
|
|
139
|
-
|
|
140
|
-
}), null, 16)) : u("", !0)
|
|
141
|
-
])) : u("", !0)
|
|
145
|
+
}, e(a)[e(l).BACKDROP], { onClick: E }), null, 16)) : d("", !0)
|
|
146
|
+
])) : d("", !0)
|
|
142
147
|
]),
|
|
143
148
|
_: 3
|
|
144
149
|
})
|
|
@@ -146,5 +151,5 @@ const R = {
|
|
|
146
151
|
}
|
|
147
152
|
});
|
|
148
153
|
export {
|
|
149
|
-
|
|
154
|
+
Q as default
|
|
150
155
|
};
|