@94ai/nf-double-week 3.1.22
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 +11 -0
- package/components.d.ts +8 -0
- package/lib/index.d.ts +284 -0
- package/lib/nf-double-week.cjs.js +6650 -0
- package/lib/nf-double-week.esm-bundler.js +6650 -0
- package/lib/nf-double-week.vue.d.ts +136 -0
- package/lib/picker.vue.d.ts +130 -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/lib/week-range.vue.d.ts +42 -0
- package/lib/week-table.vue.d.ts +11 -0
- package/package.json +34 -0
- package/postcss.config.js +8 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
timeArrowControl: BooleanConstructor;
|
|
3
|
+
}, {}, {}, {}, {}, import("vue").DefineComponent<{
|
|
4
|
+
size: StringConstructor;
|
|
5
|
+
format: StringConstructor;
|
|
6
|
+
valueFormat: StringConstructor;
|
|
7
|
+
readonly: BooleanConstructor;
|
|
8
|
+
startPlaceholder: StringConstructor;
|
|
9
|
+
endPlaceholder: StringConstructor;
|
|
10
|
+
prefixIcon: StringConstructor;
|
|
11
|
+
clearIcon: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
name: {
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (val: any) => boolean;
|
|
18
|
+
};
|
|
19
|
+
disabled: BooleanConstructor;
|
|
20
|
+
clearable: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
id: {
|
|
25
|
+
default: string;
|
|
26
|
+
validator: (val: any) => boolean;
|
|
27
|
+
};
|
|
28
|
+
popperClass: StringConstructor;
|
|
29
|
+
editable: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
align: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
value: {};
|
|
38
|
+
defaultValue: {};
|
|
39
|
+
defaultTime: {};
|
|
40
|
+
rangeSeparator: {
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
pickerOptions: {};
|
|
44
|
+
unlinkPanels: BooleanConstructor;
|
|
45
|
+
validateEvent: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
}, {}, {
|
|
50
|
+
pickerVisible: boolean;
|
|
51
|
+
showClose: boolean;
|
|
52
|
+
userInput: null;
|
|
53
|
+
valueOnOpen: null;
|
|
54
|
+
unwatchPickerOptions: null;
|
|
55
|
+
dateList: never[];
|
|
56
|
+
}, {
|
|
57
|
+
reference(): any;
|
|
58
|
+
refInput(): never[];
|
|
59
|
+
valueIsEmpty(): boolean;
|
|
60
|
+
triggerClass(): never;
|
|
61
|
+
haveTrigger(): true;
|
|
62
|
+
displayValue(): any;
|
|
63
|
+
parsedValue(): any;
|
|
64
|
+
_elFormItemSize(): any;
|
|
65
|
+
pickerSize(): never;
|
|
66
|
+
pickerDisabled(): never;
|
|
67
|
+
firstInputId(): {
|
|
68
|
+
id: any;
|
|
69
|
+
};
|
|
70
|
+
secondInputId(): {
|
|
71
|
+
id: any;
|
|
72
|
+
};
|
|
73
|
+
}, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
size: StringConstructor;
|
|
75
|
+
format: StringConstructor;
|
|
76
|
+
valueFormat: StringConstructor;
|
|
77
|
+
readonly: BooleanConstructor;
|
|
78
|
+
startPlaceholder: StringConstructor;
|
|
79
|
+
endPlaceholder: StringConstructor;
|
|
80
|
+
prefixIcon: StringConstructor;
|
|
81
|
+
clearIcon: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
name: {
|
|
86
|
+
default: string;
|
|
87
|
+
validator: (val: any) => boolean;
|
|
88
|
+
};
|
|
89
|
+
disabled: BooleanConstructor;
|
|
90
|
+
clearable: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
id: {
|
|
95
|
+
default: string;
|
|
96
|
+
validator: (val: any) => boolean;
|
|
97
|
+
};
|
|
98
|
+
popperClass: StringConstructor;
|
|
99
|
+
editable: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
align: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
value: {};
|
|
108
|
+
defaultValue: {};
|
|
109
|
+
defaultTime: {};
|
|
110
|
+
rangeSeparator: {
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
pickerOptions: {};
|
|
114
|
+
unlinkPanels: BooleanConstructor;
|
|
115
|
+
validateEvent: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
}>>, {
|
|
120
|
+
name: string;
|
|
121
|
+
readonly: boolean;
|
|
122
|
+
disabled: boolean;
|
|
123
|
+
unlinkPanels: boolean;
|
|
124
|
+
clearIcon: string;
|
|
125
|
+
clearable: boolean;
|
|
126
|
+
id: string;
|
|
127
|
+
editable: boolean;
|
|
128
|
+
align: string;
|
|
129
|
+
rangeSeparator: string;
|
|
130
|
+
validateEvent: boolean;
|
|
131
|
+
}>, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
132
|
+
timeArrowControl: BooleanConstructor;
|
|
133
|
+
}>>, {
|
|
134
|
+
timeArrowControl: boolean;
|
|
135
|
+
}>;
|
|
136
|
+
export default _default;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
size: StringConstructor;
|
|
3
|
+
format: StringConstructor;
|
|
4
|
+
valueFormat: StringConstructor;
|
|
5
|
+
readonly: BooleanConstructor;
|
|
6
|
+
startPlaceholder: StringConstructor;
|
|
7
|
+
endPlaceholder: StringConstructor;
|
|
8
|
+
prefixIcon: StringConstructor;
|
|
9
|
+
clearIcon: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
name: {
|
|
14
|
+
default: string;
|
|
15
|
+
validator: (val: any) => boolean;
|
|
16
|
+
};
|
|
17
|
+
disabled: BooleanConstructor;
|
|
18
|
+
clearable: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
id: {
|
|
23
|
+
default: string;
|
|
24
|
+
validator: (val: any) => boolean;
|
|
25
|
+
};
|
|
26
|
+
popperClass: StringConstructor;
|
|
27
|
+
editable: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
align: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
value: {};
|
|
36
|
+
defaultValue: {};
|
|
37
|
+
defaultTime: {};
|
|
38
|
+
rangeSeparator: {
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
pickerOptions: {};
|
|
42
|
+
unlinkPanels: BooleanConstructor;
|
|
43
|
+
validateEvent: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}, {}, {
|
|
48
|
+
pickerVisible: boolean;
|
|
49
|
+
showClose: boolean;
|
|
50
|
+
userInput: null;
|
|
51
|
+
valueOnOpen: null;
|
|
52
|
+
unwatchPickerOptions: null;
|
|
53
|
+
dateList: never[];
|
|
54
|
+
}, {
|
|
55
|
+
reference(): any;
|
|
56
|
+
refInput(): never[];
|
|
57
|
+
valueIsEmpty(): boolean;
|
|
58
|
+
triggerClass(): never;
|
|
59
|
+
haveTrigger(): true;
|
|
60
|
+
displayValue(): any;
|
|
61
|
+
parsedValue(): any;
|
|
62
|
+
_elFormItemSize(): any;
|
|
63
|
+
pickerSize(): never;
|
|
64
|
+
pickerDisabled(): never;
|
|
65
|
+
firstInputId(): {
|
|
66
|
+
id: any;
|
|
67
|
+
};
|
|
68
|
+
secondInputId(): {
|
|
69
|
+
id: any;
|
|
70
|
+
};
|
|
71
|
+
}, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
size: StringConstructor;
|
|
73
|
+
format: StringConstructor;
|
|
74
|
+
valueFormat: StringConstructor;
|
|
75
|
+
readonly: BooleanConstructor;
|
|
76
|
+
startPlaceholder: StringConstructor;
|
|
77
|
+
endPlaceholder: StringConstructor;
|
|
78
|
+
prefixIcon: StringConstructor;
|
|
79
|
+
clearIcon: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
name: {
|
|
84
|
+
default: string;
|
|
85
|
+
validator: (val: any) => boolean;
|
|
86
|
+
};
|
|
87
|
+
disabled: BooleanConstructor;
|
|
88
|
+
clearable: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
id: {
|
|
93
|
+
default: string;
|
|
94
|
+
validator: (val: any) => boolean;
|
|
95
|
+
};
|
|
96
|
+
popperClass: StringConstructor;
|
|
97
|
+
editable: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
align: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
value: {};
|
|
106
|
+
defaultValue: {};
|
|
107
|
+
defaultTime: {};
|
|
108
|
+
rangeSeparator: {
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
pickerOptions: {};
|
|
112
|
+
unlinkPanels: BooleanConstructor;
|
|
113
|
+
validateEvent: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
}>>, {
|
|
118
|
+
name: string;
|
|
119
|
+
readonly: boolean;
|
|
120
|
+
disabled: boolean;
|
|
121
|
+
unlinkPanels: boolean;
|
|
122
|
+
clearIcon: string;
|
|
123
|
+
clearable: boolean;
|
|
124
|
+
id: string;
|
|
125
|
+
editable: boolean;
|
|
126
|
+
align: string;
|
|
127
|
+
rangeSeparator: string;
|
|
128
|
+
validateEvent: boolean;
|
|
129
|
+
}>;
|
|
130
|
+
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-double-week.css'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@94ai/nf-theme-chalk/lib/nf-double-week.scss'
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _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
|
+
cellClassName: string;
|
|
20
|
+
firstDayOfWeek: number;
|
|
21
|
+
format: string;
|
|
22
|
+
arrowControl: boolean;
|
|
23
|
+
unlinkPanels: boolean;
|
|
24
|
+
dateUserInput: {
|
|
25
|
+
min: null;
|
|
26
|
+
max: null;
|
|
27
|
+
};
|
|
28
|
+
timeUserInput: {
|
|
29
|
+
min: null;
|
|
30
|
+
max: null;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
leftLabel(): string;
|
|
34
|
+
rightLabel(): string;
|
|
35
|
+
leftYear(): number;
|
|
36
|
+
leftMonth(): number;
|
|
37
|
+
rightYear(): any;
|
|
38
|
+
rightMonth(): any;
|
|
39
|
+
enableMonthArrow(): boolean;
|
|
40
|
+
enableYearArrow(): boolean;
|
|
41
|
+
}, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, any, {}, {
|
|
2
|
+
minDateTimestamp(): any;
|
|
3
|
+
maxDateTimestamp(): any;
|
|
4
|
+
rows(): never;
|
|
5
|
+
}, {
|
|
6
|
+
getCellClasses(cell: any): string;
|
|
7
|
+
isWeekActive(cell: any): boolean;
|
|
8
|
+
handleMouseMove(event: any, isManual: any): void;
|
|
9
|
+
handleClick(event: any): void;
|
|
10
|
+
}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
11
|
+
export default _default;
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@94ai/nf-double-week",
|
|
3
|
+
"version": "3.1.22",
|
|
4
|
+
"description": "> TODO: description",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
7
|
+
"homepage": "https://oss.xccjh.top/common-ui/#/ai-index",
|
|
8
|
+
"license": "ISC",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@94ai/nf-theme-chalk": "^3.1.22",
|
|
18
|
+
"vue-demi": "^0.14.5"
|
|
19
|
+
},
|
|
20
|
+
"peerDependenciesMeta": {
|
|
21
|
+
"@vue/composition-api": {
|
|
22
|
+
"optional": true
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"@vue/composition-api": "^1.0.0-rc.1",
|
|
27
|
+
"element-ui": ">=2.13.2",
|
|
28
|
+
"vue": "^2.0.0 || >=3.0.0"
|
|
29
|
+
},
|
|
30
|
+
"types": "lib/index.d.ts",
|
|
31
|
+
"main": "lib/nf-double-week.cjs.js",
|
|
32
|
+
"module": "lib/nf-double-week.esm-bundler.js",
|
|
33
|
+
"gitHead": "7869eac8bc8483e54cadf402049725cbb474703f"
|
|
34
|
+
}
|