@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 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-week`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const nfDoubleWeek = require('@94ai/nf-double-week');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
@@ -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,284 @@
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: StringConstructor;
11
+ format: StringConstructor;
12
+ valueFormat: StringConstructor;
13
+ readonly: BooleanConstructor;
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
+ default: string;
48
+ };
49
+ pickerOptions: {};
50
+ unlinkPanels: BooleanConstructor;
51
+ validateEvent: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ }>> & Readonly<import("vue-demi").ExtractPropTypes<{
56
+ timeArrowControl: BooleanConstructor;
57
+ }>>, Readonly<import("vue-demi").ExtractPropTypes<{
58
+ timeArrowControl: BooleanConstructor;
59
+ }>>, {}, {
60
+ name: string;
61
+ readonly: boolean;
62
+ disabled: boolean;
63
+ unlinkPanels: boolean;
64
+ clearIcon: string;
65
+ clearable: boolean;
66
+ id: string;
67
+ editable: boolean;
68
+ align: string;
69
+ rangeSeparator: string;
70
+ validateEvent: boolean;
71
+ } & {
72
+ timeArrowControl: boolean;
73
+ }, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").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
+ }>> & Readonly<import("vue-demi").ExtractPropTypes<{
120
+ timeArrowControl: BooleanConstructor;
121
+ }>>> & import("vue-demi").ShallowUnwrapRef<{}> & {
122
+ pickerVisible: boolean;
123
+ showClose: boolean;
124
+ userInput: null;
125
+ valueOnOpen: null;
126
+ unwatchPickerOptions: null;
127
+ dateList: never[];
128
+ } & import("vue/types/v3-component-options").ExtractComputedReturns<{
129
+ reference(): any;
130
+ refInput(): never[];
131
+ valueIsEmpty(): boolean;
132
+ triggerClass(): never;
133
+ haveTrigger(): true;
134
+ displayValue(): any;
135
+ parsedValue(): any;
136
+ _elFormItemSize(): any;
137
+ pickerSize(): never;
138
+ pickerDisabled(): never;
139
+ firstInputId(): {
140
+ id: any;
141
+ };
142
+ secondInputId(): {
143
+ id: any;
144
+ };
145
+ } & import("vue-demi").ComponentComputedOptions> & import("vue-demi").ComponentMethodOptions & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
146
+ timeArrowControl: BooleanConstructor;
147
+ }>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
148
+ timeArrowControl: BooleanConstructor;
149
+ }>>, {}, {}, {}, {}, import("vue-demi").DefineComponent<{
150
+ size: StringConstructor;
151
+ format: StringConstructor;
152
+ valueFormat: StringConstructor;
153
+ readonly: BooleanConstructor;
154
+ startPlaceholder: StringConstructor;
155
+ endPlaceholder: StringConstructor;
156
+ prefixIcon: StringConstructor;
157
+ clearIcon: {
158
+ type: StringConstructor;
159
+ default: string;
160
+ };
161
+ name: {
162
+ default: string;
163
+ validator: (val: any) => boolean;
164
+ };
165
+ disabled: BooleanConstructor;
166
+ clearable: {
167
+ type: BooleanConstructor;
168
+ default: boolean;
169
+ };
170
+ id: {
171
+ default: string;
172
+ validator: (val: any) => boolean;
173
+ };
174
+ popperClass: StringConstructor;
175
+ editable: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ };
179
+ align: {
180
+ type: StringConstructor;
181
+ default: string;
182
+ };
183
+ value: {};
184
+ defaultValue: {};
185
+ defaultTime: {};
186
+ rangeSeparator: {
187
+ default: string;
188
+ };
189
+ pickerOptions: {};
190
+ unlinkPanels: BooleanConstructor;
191
+ validateEvent: {
192
+ type: BooleanConstructor;
193
+ default: boolean;
194
+ };
195
+ }, {}, {
196
+ pickerVisible: boolean;
197
+ showClose: boolean;
198
+ userInput: null;
199
+ valueOnOpen: null;
200
+ unwatchPickerOptions: null;
201
+ dateList: never[];
202
+ }, {
203
+ reference(): any;
204
+ refInput(): never[];
205
+ valueIsEmpty(): boolean;
206
+ triggerClass(): never;
207
+ haveTrigger(): true;
208
+ displayValue(): any;
209
+ parsedValue(): any;
210
+ _elFormItemSize(): any;
211
+ pickerSize(): never;
212
+ pickerDisabled(): never;
213
+ firstInputId(): {
214
+ id: any;
215
+ };
216
+ secondInputId(): {
217
+ id: any;
218
+ };
219
+ }, {}, any, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
220
+ size: StringConstructor;
221
+ format: StringConstructor;
222
+ valueFormat: StringConstructor;
223
+ readonly: BooleanConstructor;
224
+ startPlaceholder: StringConstructor;
225
+ endPlaceholder: StringConstructor;
226
+ prefixIcon: StringConstructor;
227
+ clearIcon: {
228
+ type: StringConstructor;
229
+ default: string;
230
+ };
231
+ name: {
232
+ default: string;
233
+ validator: (val: any) => boolean;
234
+ };
235
+ disabled: BooleanConstructor;
236
+ clearable: {
237
+ type: BooleanConstructor;
238
+ default: boolean;
239
+ };
240
+ id: {
241
+ default: string;
242
+ validator: (val: any) => boolean;
243
+ };
244
+ popperClass: StringConstructor;
245
+ editable: {
246
+ type: BooleanConstructor;
247
+ default: boolean;
248
+ };
249
+ align: {
250
+ type: StringConstructor;
251
+ default: string;
252
+ };
253
+ value: {};
254
+ defaultValue: {};
255
+ defaultTime: {};
256
+ rangeSeparator: {
257
+ default: string;
258
+ };
259
+ pickerOptions: {};
260
+ unlinkPanels: BooleanConstructor;
261
+ validateEvent: {
262
+ type: BooleanConstructor;
263
+ default: boolean;
264
+ };
265
+ }>>, {
266
+ name: string;
267
+ readonly: boolean;
268
+ disabled: boolean;
269
+ unlinkPanels: boolean;
270
+ clearIcon: string;
271
+ clearable: boolean;
272
+ id: string;
273
+ editable: boolean;
274
+ align: string;
275
+ rangeSeparator: string;
276
+ validateEvent: boolean;
277
+ }>, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
278
+ timeArrowControl: boolean;
279
+ }> & {
280
+ props: {
281
+ timeArrowControl: BooleanConstructor;
282
+ };
283
+ } & PluginObject<undefined>;
284
+ export default _default;