@94ai/nf-double-week 3.1.13

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 ADDED
@@ -0,0 +1,49 @@
1
+ module.exports = {
2
+ "root": true,
3
+ "env": {
4
+ "node": true
5
+ },
6
+ "extends": [
7
+ "plugin:vue/essential"
8
+ ],
9
+ "parser": "vue-eslint-parser",
10
+ "parserOptions": {
11
+ "parser": "@typescript-eslint/parser",
12
+ "ecmaVersion": 2020,
13
+ "sourceType": "module"
14
+ },
15
+ "rules": {
16
+ "@typescript-eslint/ban-ts-ignore": "off",
17
+ "@typescript-eslint/explicit-function-return-type": "off",
18
+ "@typescript-eslint/no-explicit-any": "off",
19
+ "@typescript-eslint/no-var-requires": "off",
20
+ "@typescript-eslint/no-empty-function": "off",
21
+ "vue/custom-event-name-casing": "off",
22
+ "no-use-before-define": "off",
23
+ "@typescript-eslint/no-use-before-define": "off",
24
+ "@typescript-eslint/ban-ts-comment": "off",
25
+ "@typescript-eslint/ban-types": "off",
26
+ "@typescript-eslint/no-non-null-assertion": "off",
27
+ "@typescript-eslint/explicit-module-boundary-types": "off",
28
+ "@typescript-eslint/no-unused-vars": "off",
29
+ "vue/multi-word-component-names": [
30
+ "error",
31
+ {
32
+ "ignores": [
33
+ "index"
34
+ ]
35
+ }
36
+ ],
37
+ "no-console": "warn",
38
+ "no-debugger": "warn",
39
+ "prettier/prettier": [
40
+ "error",
41
+ {
42
+ "tabWidth": 2,
43
+ "singleQuote": true,
44
+ "semi": false,
45
+ "endOfLine": "auto"
46
+ }
47
+ ]
48
+ }
49
+ }
package/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # `@94ai/nf-double-week`
2
+
3
+ 双周范围选择器
4
+
5
+ ## HomePage
6
+
7
+ 官网地址: https://oss.xccjh.top/common-ui/#/ai-index
8
+
9
+
10
+ ## Usage
11
+
12
+ ```
13
+ import NfDoubleWeek from '@94ai/nf-double-week' // or const NfDoubleWeek = require('@94ai/nf-double-week');
14
+
15
+ Vue.use(NfDoubleWeek)
16
+ ```
@@ -0,0 +1,8 @@
1
+ export {}
2
+
3
+ declare module 'vue' {
4
+ export interface GlobalComponents {
5
+ NfDoubleWeek: typeof import('@94ai/nf-double-week/lib/nf-double-week.vue')['default']
6
+
7
+ }
8
+ }
package/lib/index.d.ts ADDED
@@ -0,0 +1,326 @@
1
+ import { PluginObject } from 'vue-demi';
2
+ declare const _default: import("vue/types/v3-component-public-instance").ComponentPublicInstanceConstructor<import("vue/types/v3-component-public-instance").Vue3Instance<{
3
+ pickerVisible: boolean;
4
+ showClose: boolean;
5
+ userInput: null;
6
+ valueOnOpen: null;
7
+ unwatchPickerOptions: null;
8
+ dateList: never[];
9
+ }, Readonly<import("vue-demi").ExtractPropTypes<{
10
+ size: {
11
+ type: StringConstructor;
12
+ default: undefined;
13
+ };
14
+ format: StringConstructor;
15
+ valueFormat: StringConstructor;
16
+ readonly: BooleanConstructor;
17
+ startPlaceholder: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ endPlaceholder: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ prefixIcon: StringConstructor;
26
+ clearIcon: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ name: {
31
+ default: string;
32
+ validator: (val: any) => boolean;
33
+ };
34
+ disabled: BooleanConstructor;
35
+ clearable: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ id: {
40
+ default: string;
41
+ validator: (val: any) => boolean;
42
+ };
43
+ popperClass: StringConstructor;
44
+ editable: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ align: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ value: {};
53
+ defaultValue: {};
54
+ defaultTime: {};
55
+ rangeSeparator: {
56
+ default: string;
57
+ };
58
+ pickerOptions: {};
59
+ unlinkPanels: BooleanConstructor;
60
+ validateEvent: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ }>> & Readonly<import("vue-demi").ExtractPropTypes<{
65
+ timeArrowControl: BooleanConstructor;
66
+ }>>, Readonly<import("vue-demi").ExtractPropTypes<{
67
+ timeArrowControl: BooleanConstructor;
68
+ }>>, {}, {
69
+ name: string;
70
+ readonly: boolean;
71
+ disabled: boolean;
72
+ unlinkPanels: boolean;
73
+ size: string;
74
+ startPlaceholder: string;
75
+ endPlaceholder: string;
76
+ clearIcon: string;
77
+ clearable: boolean;
78
+ id: string;
79
+ editable: boolean;
80
+ align: string;
81
+ rangeSeparator: string;
82
+ validateEvent: boolean;
83
+ } & {
84
+ timeArrowControl: boolean;
85
+ }, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{
86
+ size: {
87
+ type: StringConstructor;
88
+ default: undefined;
89
+ };
90
+ format: StringConstructor;
91
+ valueFormat: StringConstructor;
92
+ readonly: BooleanConstructor;
93
+ startPlaceholder: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ };
97
+ endPlaceholder: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ };
101
+ prefixIcon: StringConstructor;
102
+ clearIcon: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ name: {
107
+ default: string;
108
+ validator: (val: any) => boolean;
109
+ };
110
+ disabled: BooleanConstructor;
111
+ clearable: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ id: {
116
+ default: string;
117
+ validator: (val: any) => boolean;
118
+ };
119
+ popperClass: StringConstructor;
120
+ editable: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ align: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ };
128
+ value: {};
129
+ defaultValue: {};
130
+ defaultTime: {};
131
+ rangeSeparator: {
132
+ default: string;
133
+ };
134
+ pickerOptions: {};
135
+ unlinkPanels: BooleanConstructor;
136
+ validateEvent: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ }>> & Readonly<import("vue-demi").ExtractPropTypes<{
141
+ timeArrowControl: BooleanConstructor;
142
+ }>>> & import("vue-demi").ShallowUnwrapRef<{}> & {
143
+ pickerVisible: boolean;
144
+ showClose: boolean;
145
+ userInput: null;
146
+ valueOnOpen: null;
147
+ unwatchPickerOptions: null;
148
+ dateList: never[];
149
+ } & import("vue/types/v3-component-options").ExtractComputedReturns<{
150
+ reference(): any;
151
+ refInput(): never[];
152
+ valueIsEmpty(): boolean;
153
+ triggerClass(): never;
154
+ haveTrigger(): true;
155
+ displayValue(): any;
156
+ parsedValue(): any;
157
+ _elFormItemSize(): any;
158
+ pickerSize(): never;
159
+ pickerDisabled(): never;
160
+ firstInputId(): {
161
+ id: any;
162
+ };
163
+ secondInputId(): {
164
+ id: any;
165
+ };
166
+ } & import("vue-demi").ComponentComputedOptions> & import("vue-demi").ComponentMethodOptions & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
167
+ timeArrowControl: BooleanConstructor;
168
+ }>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
169
+ timeArrowControl: BooleanConstructor;
170
+ }>>, {}, {}, {}, {}, import("vue-demi").DefineComponent<{
171
+ size: {
172
+ type: StringConstructor;
173
+ default: undefined;
174
+ };
175
+ format: StringConstructor;
176
+ valueFormat: StringConstructor;
177
+ readonly: BooleanConstructor;
178
+ startPlaceholder: {
179
+ type: StringConstructor;
180
+ default: string;
181
+ };
182
+ endPlaceholder: {
183
+ type: StringConstructor;
184
+ default: string;
185
+ };
186
+ prefixIcon: StringConstructor;
187
+ clearIcon: {
188
+ type: StringConstructor;
189
+ default: string;
190
+ };
191
+ name: {
192
+ default: string;
193
+ validator: (val: any) => boolean;
194
+ };
195
+ disabled: BooleanConstructor;
196
+ clearable: {
197
+ type: BooleanConstructor;
198
+ default: boolean;
199
+ };
200
+ id: {
201
+ default: string;
202
+ validator: (val: any) => boolean;
203
+ };
204
+ popperClass: StringConstructor;
205
+ editable: {
206
+ type: BooleanConstructor;
207
+ default: boolean;
208
+ };
209
+ align: {
210
+ type: StringConstructor;
211
+ default: string;
212
+ };
213
+ value: {};
214
+ defaultValue: {};
215
+ defaultTime: {};
216
+ rangeSeparator: {
217
+ default: string;
218
+ };
219
+ pickerOptions: {};
220
+ unlinkPanels: BooleanConstructor;
221
+ validateEvent: {
222
+ type: BooleanConstructor;
223
+ default: boolean;
224
+ };
225
+ }, {}, {
226
+ pickerVisible: boolean;
227
+ showClose: boolean;
228
+ userInput: null;
229
+ valueOnOpen: null;
230
+ unwatchPickerOptions: null;
231
+ dateList: never[];
232
+ }, {
233
+ reference(): any;
234
+ refInput(): never[];
235
+ valueIsEmpty(): boolean;
236
+ triggerClass(): never;
237
+ haveTrigger(): true;
238
+ displayValue(): any;
239
+ parsedValue(): any;
240
+ _elFormItemSize(): any;
241
+ pickerSize(): never;
242
+ pickerDisabled(): never;
243
+ firstInputId(): {
244
+ id: any;
245
+ };
246
+ secondInputId(): {
247
+ id: any;
248
+ };
249
+ }, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
250
+ size: {
251
+ type: StringConstructor;
252
+ default: undefined;
253
+ };
254
+ format: StringConstructor;
255
+ valueFormat: StringConstructor;
256
+ readonly: BooleanConstructor;
257
+ startPlaceholder: {
258
+ type: StringConstructor;
259
+ default: string;
260
+ };
261
+ endPlaceholder: {
262
+ type: StringConstructor;
263
+ default: string;
264
+ };
265
+ prefixIcon: StringConstructor;
266
+ clearIcon: {
267
+ type: StringConstructor;
268
+ default: string;
269
+ };
270
+ name: {
271
+ default: string;
272
+ validator: (val: any) => boolean;
273
+ };
274
+ disabled: BooleanConstructor;
275
+ clearable: {
276
+ type: BooleanConstructor;
277
+ default: boolean;
278
+ };
279
+ id: {
280
+ default: string;
281
+ validator: (val: any) => boolean;
282
+ };
283
+ popperClass: StringConstructor;
284
+ editable: {
285
+ type: BooleanConstructor;
286
+ default: boolean;
287
+ };
288
+ align: {
289
+ type: StringConstructor;
290
+ default: string;
291
+ };
292
+ value: {};
293
+ defaultValue: {};
294
+ defaultTime: {};
295
+ rangeSeparator: {
296
+ default: string;
297
+ };
298
+ pickerOptions: {};
299
+ unlinkPanels: BooleanConstructor;
300
+ validateEvent: {
301
+ type: BooleanConstructor;
302
+ default: boolean;
303
+ };
304
+ }>>, {
305
+ name: string;
306
+ readonly: boolean;
307
+ disabled: boolean;
308
+ unlinkPanels: boolean;
309
+ size: string;
310
+ startPlaceholder: string;
311
+ endPlaceholder: string;
312
+ clearIcon: string;
313
+ clearable: boolean;
314
+ id: string;
315
+ editable: boolean;
316
+ align: string;
317
+ rangeSeparator: string;
318
+ validateEvent: boolean;
319
+ }>, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
320
+ timeArrowControl: boolean;
321
+ }> & {
322
+ props: {
323
+ timeArrowControl: BooleanConstructor;
324
+ };
325
+ } & PluginObject<undefined>;
326
+ export default _default;