@ironsource/shared-ui 2.1.6-test.1 → 2.1.6-test.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +1 -0
- package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_6df3b70f_lang.css +1 -0
- package/DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css +1 -0
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css +1 -0
- package/DatePickerMonthV4.vue_vue_type_style_index_0_scoped_11288104_lang.css +1 -0
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_be93e5a9_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f6d9f41d_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +1 -0
- package/{FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css → FormCard.vue_vue_type_style_index_0_scoped_52ade67c_lang.css} +1 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.d.ts +6 -2
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +30 -28
- package/components/appHeader/index.d.ts +6 -2
- package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
- package/components/autocomplete/Autocomplete.vue.js +3 -3
- package/components/autocomplete/Autocomplete.vue2.js +82 -61
- package/components/autocomplete/index.d.ts +20 -1
- package/components/datePicker/common/DatePicker.common.d.ts +11 -0
- package/components/datePicker/common/DatePicker.common.js +52 -0
- package/components/datePicker/common/DatePickerMonth.common.d.ts +85 -0
- package/components/datePicker/common/DatePickerMonth.common.js +66 -0
- package/components/datePicker/{DatePicker.vue.d.ts → v3/DatePicker.vue.d.ts} +1 -1
- package/components/datePicker/v3/DatePicker.vue.js +7 -0
- package/components/datePicker/v3/DatePicker.vue2.js +69 -0
- package/components/datePicker/v3/DatePickerMonth.vue.js +7 -0
- package/components/datePicker/v3/DatePickerMonth.vue2.js +40 -0
- package/components/datePicker/{index.d.ts → v3/index.d.ts} +3 -3
- package/components/datePicker/v4/DatePickerMonthV4.vue.d.ts +53 -0
- package/components/datePicker/v4/DatePickerMonthV4.vue.js +7 -0
- package/components/datePicker/v4/DatePickerMonthV4.vue2.js +40 -0
- package/components/datePicker/v4/DatePickerV4.vue.d.ts +67 -0
- package/components/datePicker/v4/DatePickerV4.vue.js +7 -0
- package/components/datePicker/v4/DatePickerV4.vue2.js +73 -0
- package/components/datePicker/v4/index.d.ts +184 -0
- package/components/datePicker/v4/index.js +6 -0
- package/components/dateRange/common/CalendarMonth.common.d.ts +17 -0
- package/components/dateRange/common/CalendarMonth.common.js +131 -0
- package/components/dateRange/common/DateRange.common.d.ts +47 -0
- package/components/dateRange/common/DateRange.common.js +265 -0
- package/components/dateRange/common/DateRangePicker.common.d.ts +3 -0
- package/components/dateRange/{DateServices.d.ts → common/DateServices.common.d.ts} +1 -0
- package/components/dateRange/common/DateServices.common.js +248 -0
- package/components/dateRange/{consts.js → common/consts.common.js} +5 -9
- package/components/dateRange/{CalendarMonth.vue.d.ts → v3/CalendarMonth.vue.d.ts} +1 -1
- package/components/dateRange/v3/CalendarMonth.vue.js +7 -0
- package/components/dateRange/v3/CalendarMonth.vue2.js +147 -0
- package/components/dateRange/{DateRange.vue.d.ts → v3/DateRange.vue.d.ts} +9 -9
- package/components/dateRange/v3/DateRange.vue.js +7 -0
- package/components/dateRange/v3/DateRange.vue2.js +226 -0
- package/components/dateRange/{DateRangePicker.vue.d.ts → v3/DateRangePicker.vue.d.ts} +9 -9
- package/components/dateRange/{index.d.ts → v3/index.d.ts} +21 -21
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +75 -0
- package/components/dateRange/v4/CalendarMonthV4.vue.js +7 -0
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +132 -0
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +115 -0
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +127 -0
- package/components/dateRange/v4/DateRangeV4.vue.js +7 -0
- package/components/dateRange/v4/DateRangeV4.vue2.js +262 -0
- package/components/dateRange/v4/index.d.ts +408 -0
- package/components/dateRange/v4/index.js +6 -0
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +67 -62
- package/components/dropdown/common/Dropdown.common.js +21 -21
- package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +32 -32
- package/components/dropdown/v3/index.d.ts +13 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +2 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +16 -16
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +40 -49
- package/components/dropdown/v4/DropdownV4.vue.d.ts +16 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +140 -128
- package/components/dropdown/v4/OptionV4.vue.d.ts +11 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +61 -44
- package/components/dropdown/v4/index.d.ts +105 -4
- package/components/filtersPanel/v3/Filter.d.ts +1 -1
- package/components/forms/FormCard.vue.js +2 -2
- package/components/forms/FormCard.vue2.js +9 -9
- package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +23 -22
- package/components/inlineCopy/index.d.ts +6 -2
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +43 -43
- package/components/input/v4/index.d.ts +20 -1
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +21 -21
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -9
- package/components/table/v4/DataGrid.vue.d.ts +4 -0
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +147 -147
- package/components/table/v4/index.d.ts +14 -2
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
- package/components/tooltip/v4/index.d.ts +17 -5
- package/index.d.ts +1512 -34
- package/index.js +116 -116
- package/package.json +13 -6
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css +0 -1
- package/Autocomplete.vue_vue_type_style_index_0_scoped_d2d1dc1d_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_b2206adb_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +0 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_e108ef3b_lang.css +0 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_b171cdab_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_eb5d155e_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_c3004ba3_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_bf8e7ff5_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_72ab1f25_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_01778240_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
- package/components/datePicker/DatePicker.vue.js +0 -7
- package/components/datePicker/DatePicker.vue2.js +0 -97
- package/components/datePicker/DatePickerMonth.vue.js +0 -7
- package/components/datePicker/DatePickerMonth.vue2.js +0 -85
- package/components/dateRange/CalendarMonth.vue.js +0 -7
- package/components/dateRange/CalendarMonth.vue2.js +0 -244
- package/components/dateRange/DateRange.vue.js +0 -7
- package/components/dateRange/DateRange.vue2.js +0 -417
- package/components/dateRange/DateServices.js +0 -245
- /package/components/datePicker/{DatePickerMonth.vue.d.ts → v3/DatePickerMonth.vue.d.ts} +0 -0
- /package/components/datePicker/{index.js → v3/index.js} +0 -0
- /package/components/dateRange/{consts.d.ts → common/consts.common.d.ts} +0 -0
- /package/components/dateRange/{index.js → v3/index.js} +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Day } from '../common/DateServices.common';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
year: number;
|
|
4
|
+
days: Record<string, Day>;
|
|
5
|
+
weeks: Day[][];
|
|
6
|
+
month: number;
|
|
7
|
+
navigation: 'next' | 'previous' | 'all';
|
|
8
|
+
range: {
|
|
9
|
+
fromStart: Date;
|
|
10
|
+
fromEnd: Date;
|
|
11
|
+
toEnd: Date;
|
|
12
|
+
toStart: Date;
|
|
13
|
+
};
|
|
14
|
+
type: 'date' | 'week' | 'month';
|
|
15
|
+
id?: string | number;
|
|
16
|
+
allowedDays?: number;
|
|
17
|
+
maxAllowedDate?: Date;
|
|
18
|
+
testId?: string;
|
|
19
|
+
}>, {
|
|
20
|
+
id: number;
|
|
21
|
+
allowedDays: any;
|
|
22
|
+
maxAllowedDate: any;
|
|
23
|
+
testId: string;
|
|
24
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
navigation: (...args: any[]) => void;
|
|
26
|
+
selectionChanged: (...args: any[]) => void;
|
|
27
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
28
|
+
year: number;
|
|
29
|
+
days: Record<string, Day>;
|
|
30
|
+
weeks: Day[][];
|
|
31
|
+
month: number;
|
|
32
|
+
navigation: 'next' | 'previous' | 'all';
|
|
33
|
+
range: {
|
|
34
|
+
fromStart: Date;
|
|
35
|
+
fromEnd: Date;
|
|
36
|
+
toEnd: Date;
|
|
37
|
+
toStart: Date;
|
|
38
|
+
};
|
|
39
|
+
type: 'date' | 'week' | 'month';
|
|
40
|
+
id?: string | number;
|
|
41
|
+
allowedDays?: number;
|
|
42
|
+
maxAllowedDate?: Date;
|
|
43
|
+
testId?: string;
|
|
44
|
+
}>, {
|
|
45
|
+
id: number;
|
|
46
|
+
allowedDays: any;
|
|
47
|
+
maxAllowedDate: any;
|
|
48
|
+
testId: string;
|
|
49
|
+
}>>> & {
|
|
50
|
+
onNavigation?: (...args: any[]) => any;
|
|
51
|
+
onSelectionChanged?: (...args: any[]) => any;
|
|
52
|
+
}, {
|
|
53
|
+
testId: string;
|
|
54
|
+
id: string | number;
|
|
55
|
+
allowedDays: number;
|
|
56
|
+
maxAllowedDate: Date;
|
|
57
|
+
}>;
|
|
58
|
+
export default _default;
|
|
59
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
60
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
61
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
62
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
63
|
+
} : {
|
|
64
|
+
type: import('vue').PropType<T[K]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
type __VLS_WithDefaults<P, D> = {
|
|
69
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
70
|
+
default: D[K];
|
|
71
|
+
}> : P[K];
|
|
72
|
+
};
|
|
73
|
+
type __VLS_Prettify<T> = {
|
|
74
|
+
[K in keyof T]: T[K];
|
|
75
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./CalendarMonthV4.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-b0d3ea50"]]);
|
|
5
|
+
export {
|
|
6
|
+
s as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import "../../../CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css"; import { defineComponent as V, openBlock as n, createElementBlock as l, unref as t, createElementVNode as i, createBlock as c, createCommentVNode as D, createVNode as E, withCtx as m, createTextVNode as v, toDisplayString as o, Fragment as $, renderList as f, normalizeClass as C } from "vue";
|
|
2
|
+
import { navigatePrev as I, navigateNext as N } from "../common/consts.common.js";
|
|
3
|
+
import { calendarMonthCommon as B } from "../common/CalendarMonth.common.js";
|
|
4
|
+
import "../../button/v4/ButtonV4.vue.js";
|
|
5
|
+
import A from "../../button/v4/IconButtonV4.vue.js";
|
|
6
|
+
import y from "../../typography/v4/Typography.vue.js";
|
|
7
|
+
import { CalendarMonthTestIdModifiers as d } from "../../../testids/index.js";
|
|
8
|
+
const H = ["id", "data-testid"], S = ["data-testid"], z = ["data-testid"], F = ["data-testid"], J = /* @__PURE__ */ V({
|
|
9
|
+
__name: "CalendarMonthV4",
|
|
10
|
+
props: {
|
|
11
|
+
year: null,
|
|
12
|
+
days: null,
|
|
13
|
+
weeks: null,
|
|
14
|
+
month: null,
|
|
15
|
+
navigation: null,
|
|
16
|
+
range: null,
|
|
17
|
+
type: null,
|
|
18
|
+
id: { default: Date.now() },
|
|
19
|
+
allowedDays: { default: null },
|
|
20
|
+
maxAllowedDate: { default: null },
|
|
21
|
+
testId: { default: "" }
|
|
22
|
+
},
|
|
23
|
+
emits: ["selectionChanged", "navigation"],
|
|
24
|
+
setup(e, { emit: T }) {
|
|
25
|
+
const M = e, {
|
|
26
|
+
isEndDay: k,
|
|
27
|
+
isStartDay: g,
|
|
28
|
+
navigate: h,
|
|
29
|
+
selectDay: R,
|
|
30
|
+
monthName: p,
|
|
31
|
+
dayNames: x,
|
|
32
|
+
selectedDaysMap: w,
|
|
33
|
+
inBetweenMap: b
|
|
34
|
+
} = B(M, T);
|
|
35
|
+
return (O, r) => (n(), l("div", {
|
|
36
|
+
id: "datepickerCalendar" + e.id,
|
|
37
|
+
class: "calendar-month",
|
|
38
|
+
"data-testid": `${e.testId}-${t(d).WRAPPER}`
|
|
39
|
+
}, [
|
|
40
|
+
i("span", {
|
|
41
|
+
onClick: r[0] || (r[0] = (s) => t(h)(t(I)))
|
|
42
|
+
}, [
|
|
43
|
+
e.navigation === t(I) || e.navigation === "all" ? (n(), c(t(A), {
|
|
44
|
+
key: 0,
|
|
45
|
+
size: "small",
|
|
46
|
+
class: "previous",
|
|
47
|
+
"data-testid": `${e.testId}-${t(d).PREVIOUS}`,
|
|
48
|
+
"icon-name": "caret-left"
|
|
49
|
+
}, null, 8, ["data-testid"])) : D("", !0)
|
|
50
|
+
]),
|
|
51
|
+
i("span", {
|
|
52
|
+
onClick: r[1] || (r[1] = (s) => t(h)(t(N)))
|
|
53
|
+
}, [
|
|
54
|
+
e.navigation === t(N) || e.navigation === "all" ? (n(), c(t(A), {
|
|
55
|
+
key: 0,
|
|
56
|
+
class: "next",
|
|
57
|
+
size: "small",
|
|
58
|
+
"icon-name": "caret-right",
|
|
59
|
+
"data-testid": `${e.testId}-${t(d).NEXT}`
|
|
60
|
+
}, null, 8, ["data-testid"])) : D("", !0)
|
|
61
|
+
]),
|
|
62
|
+
i("div", {
|
|
63
|
+
class: "month-header",
|
|
64
|
+
"data-testid": `${e.testId}-${t(d).MONTH_HEADER}`
|
|
65
|
+
}, [
|
|
66
|
+
E(t(y), {
|
|
67
|
+
variant: "button",
|
|
68
|
+
class: "month-name",
|
|
69
|
+
"test-id": `${e.testId}-${t(d).MONTH_HEADER_TEXT}`
|
|
70
|
+
}, {
|
|
71
|
+
default: m(() => [
|
|
72
|
+
v(o(t(p)) + " " + o(e.year), 1)
|
|
73
|
+
]),
|
|
74
|
+
_: 1
|
|
75
|
+
}, 8, ["test-id"])
|
|
76
|
+
], 8, S),
|
|
77
|
+
i("div", {
|
|
78
|
+
class: "days-header",
|
|
79
|
+
"data-testid": `${e.testId}-${t(d).DAYS_HEADER}`
|
|
80
|
+
}, [
|
|
81
|
+
(n(!0), l($, null, f(t(x), (s, u) => (n(), c(t(y), {
|
|
82
|
+
key: u,
|
|
83
|
+
variant: "caption",
|
|
84
|
+
class: "week-day"
|
|
85
|
+
}, {
|
|
86
|
+
default: m(() => [
|
|
87
|
+
v(o(s), 1)
|
|
88
|
+
]),
|
|
89
|
+
_: 2
|
|
90
|
+
}, 1024))), 128))
|
|
91
|
+
], 8, z),
|
|
92
|
+
i("div", {
|
|
93
|
+
class: "days-wrapper",
|
|
94
|
+
"data-testid": `${e.testId}-${t(d).DAYS_WRAPPER}`
|
|
95
|
+
}, [
|
|
96
|
+
(n(!0), l($, null, f(e.weeks, (s, u) => (n(), l("div", { key: u }, [
|
|
97
|
+
(n(!0), l($, null, f(s, (a, P) => (n(), l("span", {
|
|
98
|
+
key: P,
|
|
99
|
+
class: C(["date-wrapper", {
|
|
100
|
+
"selected-day-wrapper": t(w)[a.value],
|
|
101
|
+
"start-day-wrapper": t(g)(a),
|
|
102
|
+
"end-day-wrapper": t(k)(a)
|
|
103
|
+
}])
|
|
104
|
+
}, [
|
|
105
|
+
E(t(y), {
|
|
106
|
+
class: C(["day", {
|
|
107
|
+
"selected-day": t(w)[a.value],
|
|
108
|
+
"selected-day-between": t(b)[a.value],
|
|
109
|
+
today: a.isToday,
|
|
110
|
+
"disabled-day": a.isFuture || a.disabled,
|
|
111
|
+
"non-day": a.value === 0,
|
|
112
|
+
"start-day": t(g)(a),
|
|
113
|
+
"end-day": t(k)(a)
|
|
114
|
+
}]),
|
|
115
|
+
variant: "body1",
|
|
116
|
+
"data-testid": `${e.testId}-${t(d).DAY}-${a.value}`,
|
|
117
|
+
onClick: (Y) => a.disabled || a.isFuture || t(R)(a)
|
|
118
|
+
}, {
|
|
119
|
+
default: m(() => [
|
|
120
|
+
v(o(a.value), 1)
|
|
121
|
+
]),
|
|
122
|
+
_: 2
|
|
123
|
+
}, 1032, ["class", "data-testid", "onClick"])
|
|
124
|
+
], 2))), 128))
|
|
125
|
+
]))), 128))
|
|
126
|
+
], 8, F)
|
|
127
|
+
], 8, H));
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
export {
|
|
131
|
+
J as default
|
|
132
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
range: {
|
|
3
|
+
from: Date;
|
|
4
|
+
to: Date;
|
|
5
|
+
};
|
|
6
|
+
types?: ("week" | "month" | "date")[];
|
|
7
|
+
isTitleStyle?: boolean;
|
|
8
|
+
includeToday?: boolean;
|
|
9
|
+
allowedDays?: number;
|
|
10
|
+
maxDaysInRange?: number;
|
|
11
|
+
datePresetList?: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
12
|
+
regex?: RegExp;
|
|
13
|
+
dateFormat?: string;
|
|
14
|
+
uniqueId?: string | number;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
initialType: "week" | "month" | "date";
|
|
17
|
+
openOnTop: boolean;
|
|
18
|
+
testId?: string;
|
|
19
|
+
}>, {
|
|
20
|
+
isTitleStyle: boolean;
|
|
21
|
+
types: () => string[];
|
|
22
|
+
includeToday: boolean;
|
|
23
|
+
allowedDays: any;
|
|
24
|
+
maxDaysInRange: any;
|
|
25
|
+
datePresetList: string;
|
|
26
|
+
regex: () => RegExp;
|
|
27
|
+
dateFormat: string;
|
|
28
|
+
uniqueId: number;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
initialType: any;
|
|
31
|
+
openOnTop: boolean;
|
|
32
|
+
testId: string;
|
|
33
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
opened: (...args: any[]) => void;
|
|
35
|
+
dismissed: (...args: any[]) => void;
|
|
36
|
+
"update:range": (...args: any[]) => void;
|
|
37
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
38
|
+
range: {
|
|
39
|
+
from: Date;
|
|
40
|
+
to: Date;
|
|
41
|
+
};
|
|
42
|
+
types?: ("week" | "month" | "date")[];
|
|
43
|
+
isTitleStyle?: boolean;
|
|
44
|
+
includeToday?: boolean;
|
|
45
|
+
allowedDays?: number;
|
|
46
|
+
maxDaysInRange?: number;
|
|
47
|
+
datePresetList?: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
48
|
+
regex?: RegExp;
|
|
49
|
+
dateFormat?: string;
|
|
50
|
+
uniqueId?: string | number;
|
|
51
|
+
disabled?: boolean;
|
|
52
|
+
initialType: "week" | "month" | "date";
|
|
53
|
+
openOnTop: boolean;
|
|
54
|
+
testId?: string;
|
|
55
|
+
}>, {
|
|
56
|
+
isTitleStyle: boolean;
|
|
57
|
+
types: () => string[];
|
|
58
|
+
includeToday: boolean;
|
|
59
|
+
allowedDays: any;
|
|
60
|
+
maxDaysInRange: any;
|
|
61
|
+
datePresetList: string;
|
|
62
|
+
regex: () => RegExp;
|
|
63
|
+
dateFormat: string;
|
|
64
|
+
uniqueId: number;
|
|
65
|
+
disabled: boolean;
|
|
66
|
+
initialType: any;
|
|
67
|
+
openOnTop: boolean;
|
|
68
|
+
testId: string;
|
|
69
|
+
}>>> & {
|
|
70
|
+
onOpened?: (...args: any[]) => any;
|
|
71
|
+
onDismissed?: (...args: any[]) => any;
|
|
72
|
+
"onUpdate:range"?: (...args: any[]) => any;
|
|
73
|
+
}, {
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
testId: string;
|
|
76
|
+
allowedDays: number;
|
|
77
|
+
uniqueId: string | number;
|
|
78
|
+
includeToday: boolean;
|
|
79
|
+
dateFormat: string;
|
|
80
|
+
types: ("week" | "month" | "date")[];
|
|
81
|
+
maxDaysInRange: number;
|
|
82
|
+
datePresetList: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
83
|
+
regex: RegExp;
|
|
84
|
+
initialType: "week" | "month" | "date";
|
|
85
|
+
openOnTop: boolean;
|
|
86
|
+
isTitleStyle: boolean;
|
|
87
|
+
}>, {
|
|
88
|
+
field?(_: {
|
|
89
|
+
currentDate: any;
|
|
90
|
+
isOpen: any;
|
|
91
|
+
}): any;
|
|
92
|
+
}>;
|
|
93
|
+
export default _default;
|
|
94
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
95
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
96
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
97
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
98
|
+
} : {
|
|
99
|
+
type: import('vue').PropType<T[K]>;
|
|
100
|
+
required: true;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
type __VLS_WithDefaults<P, D> = {
|
|
104
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
105
|
+
default: D[K];
|
|
106
|
+
}> : P[K];
|
|
107
|
+
};
|
|
108
|
+
type __VLS_Prettify<T> = {
|
|
109
|
+
[K in keyof T]: T[K];
|
|
110
|
+
} & {};
|
|
111
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
112
|
+
new (): {
|
|
113
|
+
$slots: S;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
range: {
|
|
3
|
+
from: Date;
|
|
4
|
+
to: Date;
|
|
5
|
+
};
|
|
6
|
+
types?: ("week" | "month" | "date")[];
|
|
7
|
+
includeToday?: boolean;
|
|
8
|
+
allowedDays?: number;
|
|
9
|
+
maxDaysInRange?: number;
|
|
10
|
+
datePresetList?: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
11
|
+
regex?: RegExp;
|
|
12
|
+
dateFormat?: string;
|
|
13
|
+
uniqueId?: string | number;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
initialType: "week" | "month" | "date";
|
|
16
|
+
openOnTop: boolean;
|
|
17
|
+
showPresets: boolean;
|
|
18
|
+
maxDate?: Date;
|
|
19
|
+
testId?: string;
|
|
20
|
+
}>, {
|
|
21
|
+
types: () => string[];
|
|
22
|
+
includeToday: boolean;
|
|
23
|
+
allowedDays: any;
|
|
24
|
+
maxDaysInRange: any;
|
|
25
|
+
datePresetList: string;
|
|
26
|
+
regex: () => RegExp;
|
|
27
|
+
dateFormat: string;
|
|
28
|
+
uniqueId: number;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
initialType: any;
|
|
31
|
+
openOnTop: boolean;
|
|
32
|
+
showPresets: boolean;
|
|
33
|
+
maxDate: any;
|
|
34
|
+
testId: string;
|
|
35
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
opened: (...args: any[]) => void;
|
|
37
|
+
rangeTypeChanged: (...args: any[]) => void;
|
|
38
|
+
currentDateChanged: (...args: any[]) => void;
|
|
39
|
+
rangeChanged: (...args: any[]) => void;
|
|
40
|
+
dateRangePresetNameChanged: (...args: any[]) => void;
|
|
41
|
+
dismissed: (...args: any[]) => void;
|
|
42
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
43
|
+
range: {
|
|
44
|
+
from: Date;
|
|
45
|
+
to: Date;
|
|
46
|
+
};
|
|
47
|
+
types?: ("week" | "month" | "date")[];
|
|
48
|
+
includeToday?: boolean;
|
|
49
|
+
allowedDays?: number;
|
|
50
|
+
maxDaysInRange?: number;
|
|
51
|
+
datePresetList?: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
52
|
+
regex?: RegExp;
|
|
53
|
+
dateFormat?: string;
|
|
54
|
+
uniqueId?: string | number;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
initialType: "week" | "month" | "date";
|
|
57
|
+
openOnTop: boolean;
|
|
58
|
+
showPresets: boolean;
|
|
59
|
+
maxDate?: Date;
|
|
60
|
+
testId?: string;
|
|
61
|
+
}>, {
|
|
62
|
+
types: () => string[];
|
|
63
|
+
includeToday: boolean;
|
|
64
|
+
allowedDays: any;
|
|
65
|
+
maxDaysInRange: any;
|
|
66
|
+
datePresetList: string;
|
|
67
|
+
regex: () => RegExp;
|
|
68
|
+
dateFormat: string;
|
|
69
|
+
uniqueId: number;
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
initialType: any;
|
|
72
|
+
openOnTop: boolean;
|
|
73
|
+
showPresets: boolean;
|
|
74
|
+
maxDate: any;
|
|
75
|
+
testId: string;
|
|
76
|
+
}>>> & {
|
|
77
|
+
onOpened?: (...args: any[]) => any;
|
|
78
|
+
onRangeTypeChanged?: (...args: any[]) => any;
|
|
79
|
+
onCurrentDateChanged?: (...args: any[]) => any;
|
|
80
|
+
onRangeChanged?: (...args: any[]) => any;
|
|
81
|
+
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
82
|
+
onDismissed?: (...args: any[]) => any;
|
|
83
|
+
}, {
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
testId: string;
|
|
86
|
+
allowedDays: number;
|
|
87
|
+
uniqueId: string | number;
|
|
88
|
+
includeToday: boolean;
|
|
89
|
+
dateFormat: string;
|
|
90
|
+
types: ("week" | "month" | "date")[];
|
|
91
|
+
maxDaysInRange: number;
|
|
92
|
+
datePresetList: "week" | "month" | "date" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth";
|
|
93
|
+
regex: RegExp;
|
|
94
|
+
initialType: "week" | "month" | "date";
|
|
95
|
+
openOnTop: boolean;
|
|
96
|
+
showPresets: boolean;
|
|
97
|
+
maxDate: Date;
|
|
98
|
+
}>, {
|
|
99
|
+
field?(_: {
|
|
100
|
+
currentDate: any;
|
|
101
|
+
isOpen: boolean;
|
|
102
|
+
}): any;
|
|
103
|
+
footer?(_: {}): any;
|
|
104
|
+
}>;
|
|
105
|
+
export default _default;
|
|
106
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
107
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
108
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
109
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
110
|
+
} : {
|
|
111
|
+
type: import('vue').PropType<T[K]>;
|
|
112
|
+
required: true;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
type __VLS_WithDefaults<P, D> = {
|
|
116
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
117
|
+
default: D[K];
|
|
118
|
+
}> : P[K];
|
|
119
|
+
};
|
|
120
|
+
type __VLS_Prettify<T> = {
|
|
121
|
+
[K in keyof T]: T[K];
|
|
122
|
+
} & {};
|
|
123
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
124
|
+
new (): {
|
|
125
|
+
$slots: S;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./DateRangeV4.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_f6d9f41d_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f6d9f41d"]]);
|
|
5
|
+
export {
|
|
6
|
+
a as default
|
|
7
|
+
};
|