@94ai/nf-double-year 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,18 @@
1
+ # `@94ai/nf-double-year`
2
+
3
+ 双年范围选择器
4
+
5
+ ## HomePage
6
+
7
+ 官网地址: https://oss.xccjh.top/common-ui/#/ai-index
8
+
9
+
10
+ ## Usage
11
+
12
+ ```
13
+ import NfDoubleYear from '@94ai/nf-double-year' // or const NfDoubleYear = require('@94ai/nf-double-year');
14
+
15
+ Vue.use(NfDoubleYear)
16
+ ```
17
+
18
+
@@ -0,0 +1,8 @@
1
+ export {}
2
+
3
+ declare module 'vue' {
4
+ export interface GlobalComponents {
5
+ NfDoubleYear: typeof import('@94ai/nf-double-year/lib/nf-double-year.vue')['default']
6
+
7
+ }
8
+ }
package/lib/index.d.ts ADDED
@@ -0,0 +1,361 @@
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
+ }, Readonly<import("vue-demi").ExtractPropTypes<{
9
+ size: {
10
+ type: StringConstructor;
11
+ default: undefined;
12
+ };
13
+ format: StringConstructor;
14
+ valueFormat: StringConstructor;
15
+ readonly: BooleanConstructor;
16
+ placeholder: StringConstructor;
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
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ pickerOptions: {};
60
+ unlinkPanels: BooleanConstructor;
61
+ validateEvent: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ }>> & Readonly<import("vue-demi").ExtractPropTypes<{
66
+ type: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ timeArrowControl: BooleanConstructor;
71
+ }>>, Readonly<import("vue-demi").ExtractPropTypes<{
72
+ type: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ timeArrowControl: BooleanConstructor;
77
+ }>>, {}, {
78
+ name: string;
79
+ readonly: boolean;
80
+ disabled: boolean;
81
+ unlinkPanels: boolean;
82
+ size: string;
83
+ startPlaceholder: string;
84
+ endPlaceholder: string;
85
+ clearIcon: string;
86
+ clearable: boolean;
87
+ id: string;
88
+ editable: boolean;
89
+ align: string;
90
+ rangeSeparator: string;
91
+ validateEvent: boolean;
92
+ } & {
93
+ type: string;
94
+ timeArrowControl: boolean;
95
+ }, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{
96
+ size: {
97
+ type: StringConstructor;
98
+ default: undefined;
99
+ };
100
+ format: StringConstructor;
101
+ valueFormat: StringConstructor;
102
+ readonly: BooleanConstructor;
103
+ placeholder: StringConstructor;
104
+ startPlaceholder: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ endPlaceholder: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ prefixIcon: StringConstructor;
113
+ clearIcon: {
114
+ type: StringConstructor;
115
+ default: string;
116
+ };
117
+ name: {
118
+ default: string;
119
+ validator: (val: any) => boolean;
120
+ };
121
+ disabled: BooleanConstructor;
122
+ clearable: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
126
+ id: {
127
+ default: string;
128
+ validator: (val: any) => boolean;
129
+ };
130
+ popperClass: StringConstructor;
131
+ editable: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ align: {
136
+ type: StringConstructor;
137
+ default: string;
138
+ };
139
+ value: {};
140
+ defaultValue: {};
141
+ defaultTime: {};
142
+ rangeSeparator: {
143
+ type: StringConstructor;
144
+ default: string;
145
+ };
146
+ pickerOptions: {};
147
+ unlinkPanels: BooleanConstructor;
148
+ validateEvent: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ }>> & Readonly<import("vue-demi").ExtractPropTypes<{
153
+ type: {
154
+ type: StringConstructor;
155
+ default: string;
156
+ };
157
+ timeArrowControl: BooleanConstructor;
158
+ }>>> & import("vue-demi").ShallowUnwrapRef<{}> & {
159
+ pickerVisible: boolean;
160
+ showClose: boolean;
161
+ userInput: null;
162
+ valueOnOpen: null;
163
+ unwatchPickerOptions: null;
164
+ } & import("vue/types/v3-component-options").ExtractComputedReturns<{
165
+ ranged(): boolean;
166
+ reference(): any;
167
+ refInput(): never[];
168
+ valueIsEmpty(): boolean;
169
+ triggerClass(): never;
170
+ selectionMode(): "week" | "month" | "year" | "dates" | "day";
171
+ haveTrigger(): boolean;
172
+ displayValue(): any;
173
+ parsedValue(): any;
174
+ _elFormItemSize(): any;
175
+ pickerSize(): never;
176
+ pickerDisabled(): never;
177
+ firstInputId(): {
178
+ id: any;
179
+ };
180
+ secondInputId(): {
181
+ id: any;
182
+ };
183
+ } & import("vue-demi").ComponentComputedOptions> & import("vue-demi").ComponentMethodOptions & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
184
+ type: {
185
+ type: StringConstructor;
186
+ default: string;
187
+ };
188
+ timeArrowControl: BooleanConstructor;
189
+ }>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
190
+ type: {
191
+ type: StringConstructor;
192
+ default: string;
193
+ };
194
+ timeArrowControl: BooleanConstructor;
195
+ }>>, {}, {}, {}, {}, import("vue-demi").DefineComponent<{
196
+ size: {
197
+ type: StringConstructor;
198
+ default: undefined;
199
+ };
200
+ format: StringConstructor;
201
+ valueFormat: StringConstructor;
202
+ readonly: BooleanConstructor;
203
+ placeholder: StringConstructor;
204
+ startPlaceholder: {
205
+ type: StringConstructor;
206
+ default: string;
207
+ };
208
+ endPlaceholder: {
209
+ type: StringConstructor;
210
+ default: string;
211
+ };
212
+ prefixIcon: StringConstructor;
213
+ clearIcon: {
214
+ type: StringConstructor;
215
+ default: string;
216
+ };
217
+ name: {
218
+ default: string;
219
+ validator: (val: any) => boolean;
220
+ };
221
+ disabled: BooleanConstructor;
222
+ clearable: {
223
+ type: BooleanConstructor;
224
+ default: boolean;
225
+ };
226
+ id: {
227
+ default: string;
228
+ validator: (val: any) => boolean;
229
+ };
230
+ popperClass: StringConstructor;
231
+ editable: {
232
+ type: BooleanConstructor;
233
+ default: boolean;
234
+ };
235
+ align: {
236
+ type: StringConstructor;
237
+ default: string;
238
+ };
239
+ value: {};
240
+ defaultValue: {};
241
+ defaultTime: {};
242
+ rangeSeparator: {
243
+ type: StringConstructor;
244
+ default: string;
245
+ };
246
+ pickerOptions: {};
247
+ unlinkPanels: BooleanConstructor;
248
+ validateEvent: {
249
+ type: BooleanConstructor;
250
+ default: boolean;
251
+ };
252
+ }, {}, {
253
+ pickerVisible: boolean;
254
+ showClose: boolean;
255
+ userInput: null;
256
+ valueOnOpen: null;
257
+ unwatchPickerOptions: null;
258
+ }, {
259
+ ranged(): boolean;
260
+ reference(): any;
261
+ refInput(): never[];
262
+ valueIsEmpty(): boolean;
263
+ triggerClass(): never;
264
+ selectionMode(): "week" | "month" | "year" | "dates" | "day";
265
+ haveTrigger(): boolean;
266
+ displayValue(): any;
267
+ parsedValue(): any;
268
+ _elFormItemSize(): any;
269
+ pickerSize(): never;
270
+ pickerDisabled(): never;
271
+ firstInputId(): {
272
+ id: any;
273
+ };
274
+ secondInputId(): {
275
+ id: any;
276
+ };
277
+ }, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
278
+ size: {
279
+ type: StringConstructor;
280
+ default: undefined;
281
+ };
282
+ format: StringConstructor;
283
+ valueFormat: StringConstructor;
284
+ readonly: BooleanConstructor;
285
+ placeholder: StringConstructor;
286
+ startPlaceholder: {
287
+ type: StringConstructor;
288
+ default: string;
289
+ };
290
+ endPlaceholder: {
291
+ type: StringConstructor;
292
+ default: string;
293
+ };
294
+ prefixIcon: StringConstructor;
295
+ clearIcon: {
296
+ type: StringConstructor;
297
+ default: string;
298
+ };
299
+ name: {
300
+ default: string;
301
+ validator: (val: any) => boolean;
302
+ };
303
+ disabled: BooleanConstructor;
304
+ clearable: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ id: {
309
+ default: string;
310
+ validator: (val: any) => boolean;
311
+ };
312
+ popperClass: StringConstructor;
313
+ editable: {
314
+ type: BooleanConstructor;
315
+ default: boolean;
316
+ };
317
+ align: {
318
+ type: StringConstructor;
319
+ default: string;
320
+ };
321
+ value: {};
322
+ defaultValue: {};
323
+ defaultTime: {};
324
+ rangeSeparator: {
325
+ type: StringConstructor;
326
+ default: string;
327
+ };
328
+ pickerOptions: {};
329
+ unlinkPanels: BooleanConstructor;
330
+ validateEvent: {
331
+ type: BooleanConstructor;
332
+ default: boolean;
333
+ };
334
+ }>>, {
335
+ name: string;
336
+ readonly: boolean;
337
+ disabled: boolean;
338
+ unlinkPanels: boolean;
339
+ size: string;
340
+ startPlaceholder: string;
341
+ endPlaceholder: string;
342
+ clearIcon: string;
343
+ clearable: boolean;
344
+ id: string;
345
+ editable: boolean;
346
+ align: string;
347
+ rangeSeparator: string;
348
+ validateEvent: boolean;
349
+ }>, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
350
+ type: string;
351
+ timeArrowControl: boolean;
352
+ }> & {
353
+ props: {
354
+ type: {
355
+ type: StringConstructor;
356
+ default: string;
357
+ };
358
+ timeArrowControl: BooleanConstructor;
359
+ };
360
+ } & PluginObject<undefined>;
361
+ export default _default;