@94ai/nf-double-year 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 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,11 @@
1
+ # `@94ai/nf-double-year`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const nfDoubleYear = require('@94ai/nf-double-year');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
@@ -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,319 @@
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: StringConstructor;
10
+ format: StringConstructor;
11
+ valueFormat: StringConstructor;
12
+ readonly: BooleanConstructor;
13
+ placeholder: StringConstructor;
14
+ startPlaceholder: StringConstructor;
15
+ endPlaceholder: StringConstructor;
16
+ prefixIcon: StringConstructor;
17
+ clearIcon: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ name: {
22
+ default: string;
23
+ validator: (val: any) => boolean;
24
+ };
25
+ disabled: BooleanConstructor;
26
+ clearable: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ id: {
31
+ default: string;
32
+ validator: (val: any) => boolean;
33
+ };
34
+ popperClass: StringConstructor;
35
+ editable: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ align: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ value: {};
44
+ defaultValue: {};
45
+ defaultTime: {};
46
+ rangeSeparator: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ pickerOptions: {};
51
+ unlinkPanels: BooleanConstructor;
52
+ validateEvent: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ }>> & Readonly<import("vue-demi").ExtractPropTypes<{
57
+ type: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ timeArrowControl: BooleanConstructor;
62
+ }>>, Readonly<import("vue-demi").ExtractPropTypes<{
63
+ type: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ timeArrowControl: BooleanConstructor;
68
+ }>>, {}, {
69
+ name: string;
70
+ readonly: boolean;
71
+ disabled: boolean;
72
+ unlinkPanels: boolean;
73
+ clearIcon: string;
74
+ clearable: boolean;
75
+ id: string;
76
+ editable: boolean;
77
+ align: string;
78
+ rangeSeparator: string;
79
+ validateEvent: boolean;
80
+ } & {
81
+ type: string;
82
+ timeArrowControl: boolean;
83
+ }, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").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
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ pickerOptions: {};
126
+ unlinkPanels: BooleanConstructor;
127
+ validateEvent: {
128
+ type: BooleanConstructor;
129
+ default: boolean;
130
+ };
131
+ }>> & Readonly<import("vue-demi").ExtractPropTypes<{
132
+ type: {
133
+ type: StringConstructor;
134
+ default: string;
135
+ };
136
+ timeArrowControl: BooleanConstructor;
137
+ }>>> & import("vue-demi").ShallowUnwrapRef<{}> & {
138
+ pickerVisible: boolean;
139
+ showClose: boolean;
140
+ userInput: null;
141
+ valueOnOpen: null;
142
+ unwatchPickerOptions: null;
143
+ } & import("vue/types/v3-component-options").ExtractComputedReturns<{
144
+ ranged(): boolean;
145
+ reference(): any;
146
+ refInput(): never[];
147
+ valueIsEmpty(): boolean;
148
+ triggerClass(): never;
149
+ selectionMode(): "week" | "month" | "year" | "dates" | "day";
150
+ haveTrigger(): boolean;
151
+ displayValue(): any;
152
+ parsedValue(): any;
153
+ _elFormItemSize(): any;
154
+ pickerSize(): never;
155
+ pickerDisabled(): never;
156
+ firstInputId(): {
157
+ id: any;
158
+ };
159
+ secondInputId(): {
160
+ id: any;
161
+ };
162
+ } & import("vue-demi").ComponentComputedOptions> & import("vue-demi").ComponentMethodOptions & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
163
+ type: {
164
+ type: StringConstructor;
165
+ default: string;
166
+ };
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
+ type: {
170
+ type: StringConstructor;
171
+ default: string;
172
+ };
173
+ timeArrowControl: BooleanConstructor;
174
+ }>>, {}, {}, {}, {}, import("vue-demi").DefineComponent<{
175
+ size: StringConstructor;
176
+ format: StringConstructor;
177
+ valueFormat: StringConstructor;
178
+ readonly: BooleanConstructor;
179
+ placeholder: StringConstructor;
180
+ startPlaceholder: StringConstructor;
181
+ endPlaceholder: StringConstructor;
182
+ prefixIcon: StringConstructor;
183
+ clearIcon: {
184
+ type: StringConstructor;
185
+ default: string;
186
+ };
187
+ name: {
188
+ default: string;
189
+ validator: (val: any) => boolean;
190
+ };
191
+ disabled: BooleanConstructor;
192
+ clearable: {
193
+ type: BooleanConstructor;
194
+ default: boolean;
195
+ };
196
+ id: {
197
+ default: string;
198
+ validator: (val: any) => boolean;
199
+ };
200
+ popperClass: StringConstructor;
201
+ editable: {
202
+ type: BooleanConstructor;
203
+ default: boolean;
204
+ };
205
+ align: {
206
+ type: StringConstructor;
207
+ default: string;
208
+ };
209
+ value: {};
210
+ defaultValue: {};
211
+ defaultTime: {};
212
+ rangeSeparator: {
213
+ type: StringConstructor;
214
+ default: string;
215
+ };
216
+ pickerOptions: {};
217
+ unlinkPanels: BooleanConstructor;
218
+ validateEvent: {
219
+ type: BooleanConstructor;
220
+ default: boolean;
221
+ };
222
+ }, {}, {
223
+ pickerVisible: boolean;
224
+ showClose: boolean;
225
+ userInput: null;
226
+ valueOnOpen: null;
227
+ unwatchPickerOptions: null;
228
+ }, {
229
+ ranged(): boolean;
230
+ reference(): any;
231
+ refInput(): never[];
232
+ valueIsEmpty(): boolean;
233
+ triggerClass(): never;
234
+ selectionMode(): "week" | "month" | "year" | "dates" | "day";
235
+ haveTrigger(): boolean;
236
+ displayValue(): any;
237
+ parsedValue(): any;
238
+ _elFormItemSize(): any;
239
+ pickerSize(): never;
240
+ pickerDisabled(): never;
241
+ firstInputId(): {
242
+ id: any;
243
+ };
244
+ secondInputId(): {
245
+ id: any;
246
+ };
247
+ }, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
248
+ size: StringConstructor;
249
+ format: StringConstructor;
250
+ valueFormat: StringConstructor;
251
+ readonly: BooleanConstructor;
252
+ placeholder: StringConstructor;
253
+ startPlaceholder: StringConstructor;
254
+ endPlaceholder: StringConstructor;
255
+ prefixIcon: StringConstructor;
256
+ clearIcon: {
257
+ type: StringConstructor;
258
+ default: string;
259
+ };
260
+ name: {
261
+ default: string;
262
+ validator: (val: any) => boolean;
263
+ };
264
+ disabled: BooleanConstructor;
265
+ clearable: {
266
+ type: BooleanConstructor;
267
+ default: boolean;
268
+ };
269
+ id: {
270
+ default: string;
271
+ validator: (val: any) => boolean;
272
+ };
273
+ popperClass: StringConstructor;
274
+ editable: {
275
+ type: BooleanConstructor;
276
+ default: boolean;
277
+ };
278
+ align: {
279
+ type: StringConstructor;
280
+ default: string;
281
+ };
282
+ value: {};
283
+ defaultValue: {};
284
+ defaultTime: {};
285
+ rangeSeparator: {
286
+ type: StringConstructor;
287
+ default: string;
288
+ };
289
+ pickerOptions: {};
290
+ unlinkPanels: BooleanConstructor;
291
+ validateEvent: {
292
+ type: BooleanConstructor;
293
+ default: boolean;
294
+ };
295
+ }>>, {
296
+ name: string;
297
+ readonly: boolean;
298
+ disabled: boolean;
299
+ unlinkPanels: boolean;
300
+ clearIcon: string;
301
+ clearable: boolean;
302
+ id: string;
303
+ editable: boolean;
304
+ align: string;
305
+ rangeSeparator: string;
306
+ validateEvent: boolean;
307
+ }>, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
308
+ type: string;
309
+ timeArrowControl: boolean;
310
+ }> & {
311
+ props: {
312
+ type: {
313
+ type: StringConstructor;
314
+ default: string;
315
+ };
316
+ timeArrowControl: BooleanConstructor;
317
+ };
318
+ } & PluginObject<undefined>;
319
+ export default _default;