@94ai/nf-timezone-picker 5.0.0
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/.eslintrc.cjs +49 -0
- package/README.md +17 -0
- package/components.d.ts +8 -0
- package/lib/basic/date-table.vue.d.ts +86 -0
- package/lib/basic/month-table.vue.d.ts +51 -0
- package/lib/basic/time-spinner.vue.d.ts +42 -0
- package/lib/basic/year-table.vue.d.ts +26 -0
- package/lib/index.d.ts +333 -0
- package/lib/nf-timezone-picker.cjs.js +5984 -0
- package/lib/nf-timezone-picker.esm-bundler.js +5984 -0
- package/lib/nf-timezone-picker.vue.d.ts +157 -0
- package/lib/panel/date-range.vue.d.ts +55 -0
- package/lib/panel/date.vue.d.ts +35 -0
- package/lib/panel/month-range.vue.d.ts +30 -0
- package/lib/panel/time.vue.d.ts +27 -0
- package/lib/picker.vue.d.ts +142 -0
- package/lib/style/css.d.ts +1 -0
- package/lib/style/css.js +1 -0
- package/lib/style/index.d.ts +1 -0
- package/lib/style/index.js +1 -0
- package/package/basic/date-table.vue +448 -0
- package/package/basic/month-table.vue +253 -0
- package/package/basic/time-spinner.vue +316 -0
- package/package/basic/year-table.vue +101 -0
- package/package/index.ts +7 -0
- package/package/nf-timezone-picker.vue +50 -0
- package/package/panel/date-range.vue +700 -0
- package/package/panel/date.vue +607 -0
- package/package/panel/month-range.vue +293 -0
- package/package/panel/time-range.vue +254 -0
- package/package/panel/time-select.vue +178 -0
- package/package/panel/time.vue +189 -0
- package/package/picker/date-picker.js +43 -0
- package/package/picker/time-picker.js +39 -0
- package/package/picker/time-select.js +21 -0
- package/package/picker.vue +943 -0
- package/package/popper.js +1276 -0
- package/package/style/css.ts +1 -0
- package/package/style/index.ts +1 -0
- package/package.json +34 -0
- package/postcss.config.js +8 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
declare var _default: import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
timeArrowControl: BooleanConstructor;
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").DefineComponent<{
|
|
8
|
+
size: StringConstructor;
|
|
9
|
+
format: StringConstructor;
|
|
10
|
+
valueFormat: StringConstructor;
|
|
11
|
+
readonly: BooleanConstructor;
|
|
12
|
+
placeholder: StringConstructor;
|
|
13
|
+
startPlaceholder: StringConstructor;
|
|
14
|
+
endPlaceholder: StringConstructor;
|
|
15
|
+
prefixIcon: StringConstructor;
|
|
16
|
+
clearIcon: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
name: {
|
|
21
|
+
default: string;
|
|
22
|
+
validator: (val: any) => boolean;
|
|
23
|
+
};
|
|
24
|
+
disabled: BooleanConstructor;
|
|
25
|
+
clearable: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
id: {
|
|
30
|
+
default: string;
|
|
31
|
+
validator: (val: any) => boolean;
|
|
32
|
+
};
|
|
33
|
+
popperClass: StringConstructor;
|
|
34
|
+
editable: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
align: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
value: {};
|
|
43
|
+
defaultValue: {};
|
|
44
|
+
defaultTime: {};
|
|
45
|
+
rangeSeparator: {
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
pickerOptions: {};
|
|
49
|
+
unlinkPanels: BooleanConstructor;
|
|
50
|
+
validateEvent: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
timezone: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
}, {}, {
|
|
59
|
+
pickerVisible: boolean;
|
|
60
|
+
showClose: boolean;
|
|
61
|
+
userInput: null;
|
|
62
|
+
valueOnOpen: null;
|
|
63
|
+
unwatchPickerOptions: null;
|
|
64
|
+
}, {
|
|
65
|
+
ranged(): boolean;
|
|
66
|
+
reference(): any;
|
|
67
|
+
refInput(): never[];
|
|
68
|
+
valueIsEmpty(): boolean;
|
|
69
|
+
triggerClass(): any;
|
|
70
|
+
selectionMode(): "week" | "month" | "year" | "dates" | "day";
|
|
71
|
+
haveTrigger(): any;
|
|
72
|
+
displayValue(): any;
|
|
73
|
+
parsedValue(): any;
|
|
74
|
+
_elFormItemSize(): any;
|
|
75
|
+
pickerSize(): any;
|
|
76
|
+
pickerDisabled(): any;
|
|
77
|
+
firstInputId(): {
|
|
78
|
+
id: any;
|
|
79
|
+
};
|
|
80
|
+
secondInputId(): {
|
|
81
|
+
id: any;
|
|
82
|
+
};
|
|
83
|
+
}, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
+
size: StringConstructor;
|
|
85
|
+
format: StringConstructor;
|
|
86
|
+
valueFormat: StringConstructor;
|
|
87
|
+
readonly: BooleanConstructor;
|
|
88
|
+
placeholder: StringConstructor;
|
|
89
|
+
startPlaceholder: StringConstructor;
|
|
90
|
+
endPlaceholder: StringConstructor;
|
|
91
|
+
prefixIcon: StringConstructor;
|
|
92
|
+
clearIcon: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
name: {
|
|
97
|
+
default: string;
|
|
98
|
+
validator: (val: any) => boolean;
|
|
99
|
+
};
|
|
100
|
+
disabled: BooleanConstructor;
|
|
101
|
+
clearable: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
id: {
|
|
106
|
+
default: string;
|
|
107
|
+
validator: (val: any) => boolean;
|
|
108
|
+
};
|
|
109
|
+
popperClass: StringConstructor;
|
|
110
|
+
editable: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
align: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
value: {};
|
|
119
|
+
defaultValue: {};
|
|
120
|
+
defaultTime: {};
|
|
121
|
+
rangeSeparator: {
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
pickerOptions: {};
|
|
125
|
+
unlinkPanels: BooleanConstructor;
|
|
126
|
+
validateEvent: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
timezone: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
}>>, {
|
|
135
|
+
name: string;
|
|
136
|
+
readonly: boolean;
|
|
137
|
+
disabled: boolean;
|
|
138
|
+
unlinkPanels: boolean;
|
|
139
|
+
clearIcon: string;
|
|
140
|
+
clearable: boolean;
|
|
141
|
+
id: string;
|
|
142
|
+
editable: boolean;
|
|
143
|
+
align: string;
|
|
144
|
+
rangeSeparator: string;
|
|
145
|
+
validateEvent: boolean;
|
|
146
|
+
timezone: string;
|
|
147
|
+
}>, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
148
|
+
type: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
timeArrowControl: BooleanConstructor;
|
|
153
|
+
}>>, {
|
|
154
|
+
type: string;
|
|
155
|
+
timeArrowControl: boolean;
|
|
156
|
+
}>;
|
|
157
|
+
export default _default;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
declare var _default: import("vue").DefineComponent<{}, any, {
|
|
2
|
+
timezone: string;
|
|
3
|
+
popperClass: string;
|
|
4
|
+
value: never[];
|
|
5
|
+
defaultValue: null;
|
|
6
|
+
defaultTime: null;
|
|
7
|
+
minDate: string;
|
|
8
|
+
maxDate: string;
|
|
9
|
+
leftDate: Date;
|
|
10
|
+
rightDate: any;
|
|
11
|
+
rangeState: {
|
|
12
|
+
endDate: null;
|
|
13
|
+
selecting: boolean;
|
|
14
|
+
row: null;
|
|
15
|
+
column: null;
|
|
16
|
+
};
|
|
17
|
+
showTime: boolean;
|
|
18
|
+
shortcuts: string;
|
|
19
|
+
visible: string;
|
|
20
|
+
disabledDate: string;
|
|
21
|
+
cellClassName: string;
|
|
22
|
+
firstDayOfWeek: number;
|
|
23
|
+
minTimePickerVisible: boolean;
|
|
24
|
+
maxTimePickerVisible: boolean;
|
|
25
|
+
format: string;
|
|
26
|
+
arrowControl: boolean;
|
|
27
|
+
unlinkPanels: boolean;
|
|
28
|
+
dateUserInput: {
|
|
29
|
+
min: null;
|
|
30
|
+
max: null;
|
|
31
|
+
};
|
|
32
|
+
timeUserInput: {
|
|
33
|
+
min: null;
|
|
34
|
+
max: null;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
btnDisabled(): boolean;
|
|
38
|
+
leftLabel(): string;
|
|
39
|
+
rightLabel(): string;
|
|
40
|
+
leftYear(): any;
|
|
41
|
+
leftMonth(): any;
|
|
42
|
+
leftMonthDate(): any;
|
|
43
|
+
rightYear(): any;
|
|
44
|
+
rightMonth(): any;
|
|
45
|
+
rightMonthDate(): any;
|
|
46
|
+
minVisibleDate(): any;
|
|
47
|
+
maxVisibleDate(): any;
|
|
48
|
+
minVisibleTime(): any;
|
|
49
|
+
maxVisibleTime(): any;
|
|
50
|
+
timeFormat(): any;
|
|
51
|
+
dateFormat(): any;
|
|
52
|
+
enableMonthArrow(): any;
|
|
53
|
+
enableYearArrow(): any;
|
|
54
|
+
}, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
55
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare var _default: import("vue").DefineComponent<{}, any, {
|
|
2
|
+
timezone: string;
|
|
3
|
+
popperClass: string;
|
|
4
|
+
date: Date;
|
|
5
|
+
value: string;
|
|
6
|
+
defaultValue: null;
|
|
7
|
+
defaultTime: null;
|
|
8
|
+
showTime: boolean;
|
|
9
|
+
selectionMode: string;
|
|
10
|
+
shortcuts: string;
|
|
11
|
+
visible: boolean;
|
|
12
|
+
currentView: string;
|
|
13
|
+
disabledDate: string;
|
|
14
|
+
cellClassName: string;
|
|
15
|
+
selectableRange: never[];
|
|
16
|
+
firstDayOfWeek: number;
|
|
17
|
+
showWeekNumber: boolean;
|
|
18
|
+
timePickerVisible: boolean;
|
|
19
|
+
format: string;
|
|
20
|
+
arrowControl: boolean;
|
|
21
|
+
userInputDate: null;
|
|
22
|
+
userInputTime: null;
|
|
23
|
+
}, {
|
|
24
|
+
year(): any;
|
|
25
|
+
month(): any;
|
|
26
|
+
week(): any;
|
|
27
|
+
monthDate(): any;
|
|
28
|
+
footerVisible(): any;
|
|
29
|
+
visibleTime(): any;
|
|
30
|
+
visibleDate(): any;
|
|
31
|
+
yearLabel(): string;
|
|
32
|
+
timeFormat(): any;
|
|
33
|
+
dateFormat(): any;
|
|
34
|
+
}, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare var _default: import("vue").DefineComponent<{}, any, {
|
|
2
|
+
popperClass: string;
|
|
3
|
+
value: never[];
|
|
4
|
+
defaultValue: null;
|
|
5
|
+
defaultTime: null;
|
|
6
|
+
minDate: string;
|
|
7
|
+
maxDate: string;
|
|
8
|
+
leftDate: Date;
|
|
9
|
+
rightDate: any;
|
|
10
|
+
rangeState: {
|
|
11
|
+
endDate: null;
|
|
12
|
+
selecting: boolean;
|
|
13
|
+
row: null;
|
|
14
|
+
column: null;
|
|
15
|
+
};
|
|
16
|
+
shortcuts: string;
|
|
17
|
+
visible: string;
|
|
18
|
+
disabledDate: string;
|
|
19
|
+
format: string;
|
|
20
|
+
arrowControl: boolean;
|
|
21
|
+
unlinkPanels: boolean;
|
|
22
|
+
}, {
|
|
23
|
+
btnDisabled(): boolean;
|
|
24
|
+
leftLabel(): string;
|
|
25
|
+
rightLabel(): string;
|
|
26
|
+
leftYear(): any;
|
|
27
|
+
rightYear(): any;
|
|
28
|
+
enableYearArrow(): any;
|
|
29
|
+
}, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare var _default: import("vue").DefineComponent<{
|
|
2
|
+
visible: BooleanConstructor;
|
|
3
|
+
timeArrowControl: BooleanConstructor;
|
|
4
|
+
}, {}, {
|
|
5
|
+
popperClass: string;
|
|
6
|
+
format: string;
|
|
7
|
+
value: string;
|
|
8
|
+
defaultValue: null;
|
|
9
|
+
date: Date;
|
|
10
|
+
oldValue: Date;
|
|
11
|
+
selectableRange: never[];
|
|
12
|
+
selectionRange: number[];
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
arrowControl: boolean;
|
|
15
|
+
needInitAdjust: boolean;
|
|
16
|
+
}, {
|
|
17
|
+
showSeconds(): boolean;
|
|
18
|
+
useArrow(): any;
|
|
19
|
+
amPmMode(): "" | "a" | "A";
|
|
20
|
+
}, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
visible: BooleanConstructor;
|
|
22
|
+
timeArrowControl: BooleanConstructor;
|
|
23
|
+
}>>, {
|
|
24
|
+
visible: boolean;
|
|
25
|
+
timeArrowControl: boolean;
|
|
26
|
+
}>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
declare var _default: import("vue").DefineComponent<{
|
|
2
|
+
size: StringConstructor;
|
|
3
|
+
format: StringConstructor;
|
|
4
|
+
valueFormat: StringConstructor;
|
|
5
|
+
readonly: BooleanConstructor;
|
|
6
|
+
placeholder: StringConstructor;
|
|
7
|
+
startPlaceholder: StringConstructor;
|
|
8
|
+
endPlaceholder: StringConstructor;
|
|
9
|
+
prefixIcon: StringConstructor;
|
|
10
|
+
clearIcon: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
name: {
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (val: any) => boolean;
|
|
17
|
+
};
|
|
18
|
+
disabled: BooleanConstructor;
|
|
19
|
+
clearable: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
id: {
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (val: any) => boolean;
|
|
26
|
+
};
|
|
27
|
+
popperClass: StringConstructor;
|
|
28
|
+
editable: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
align: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
value: {};
|
|
37
|
+
defaultValue: {};
|
|
38
|
+
defaultTime: {};
|
|
39
|
+
rangeSeparator: {
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
pickerOptions: {};
|
|
43
|
+
unlinkPanels: BooleanConstructor;
|
|
44
|
+
validateEvent: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
timezone: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
}, {}, {
|
|
53
|
+
pickerVisible: boolean;
|
|
54
|
+
showClose: boolean;
|
|
55
|
+
userInput: null;
|
|
56
|
+
valueOnOpen: null;
|
|
57
|
+
unwatchPickerOptions: null;
|
|
58
|
+
}, {
|
|
59
|
+
ranged(): boolean;
|
|
60
|
+
reference(): any;
|
|
61
|
+
refInput(): never[];
|
|
62
|
+
valueIsEmpty(): boolean;
|
|
63
|
+
triggerClass(): any;
|
|
64
|
+
selectionMode(): "week" | "month" | "year" | "dates" | "day";
|
|
65
|
+
haveTrigger(): any;
|
|
66
|
+
displayValue(): any;
|
|
67
|
+
parsedValue(): any;
|
|
68
|
+
_elFormItemSize(): any;
|
|
69
|
+
pickerSize(): any;
|
|
70
|
+
pickerDisabled(): any;
|
|
71
|
+
firstInputId(): {
|
|
72
|
+
id: any;
|
|
73
|
+
};
|
|
74
|
+
secondInputId(): {
|
|
75
|
+
id: any;
|
|
76
|
+
};
|
|
77
|
+
}, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
+
size: StringConstructor;
|
|
79
|
+
format: StringConstructor;
|
|
80
|
+
valueFormat: StringConstructor;
|
|
81
|
+
readonly: BooleanConstructor;
|
|
82
|
+
placeholder: StringConstructor;
|
|
83
|
+
startPlaceholder: StringConstructor;
|
|
84
|
+
endPlaceholder: StringConstructor;
|
|
85
|
+
prefixIcon: StringConstructor;
|
|
86
|
+
clearIcon: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
name: {
|
|
91
|
+
default: string;
|
|
92
|
+
validator: (val: any) => boolean;
|
|
93
|
+
};
|
|
94
|
+
disabled: BooleanConstructor;
|
|
95
|
+
clearable: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
id: {
|
|
100
|
+
default: string;
|
|
101
|
+
validator: (val: any) => boolean;
|
|
102
|
+
};
|
|
103
|
+
popperClass: StringConstructor;
|
|
104
|
+
editable: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
align: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
value: {};
|
|
113
|
+
defaultValue: {};
|
|
114
|
+
defaultTime: {};
|
|
115
|
+
rangeSeparator: {
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
pickerOptions: {};
|
|
119
|
+
unlinkPanels: BooleanConstructor;
|
|
120
|
+
validateEvent: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
timezone: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
}>>, {
|
|
129
|
+
name: string;
|
|
130
|
+
readonly: boolean;
|
|
131
|
+
disabled: boolean;
|
|
132
|
+
unlinkPanels: boolean;
|
|
133
|
+
clearIcon: string;
|
|
134
|
+
clearable: boolean;
|
|
135
|
+
id: string;
|
|
136
|
+
editable: boolean;
|
|
137
|
+
align: string;
|
|
138
|
+
rangeSeparator: string;
|
|
139
|
+
validateEvent: boolean;
|
|
140
|
+
timezone: string;
|
|
141
|
+
}>;
|
|
142
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/lib/style/css.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@94ai/nf-theme-chalk/lib/css/nf-timezone-picker.css'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@94ai/nf-theme-chalk/lib/nf-timezone-picker.scss'
|