sprof 0.2.2 → 0.2.3

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, resolveComponent as l, openBlock as i, createElementBlock as C, Fragment as P, createVNode as m, unref as o, ref as u, createBlock as E, withCtx as k, createCommentVNode as v } from "vue";
2
- import { _ as f, P as w } from "./index-CNpz7Czv.js";
2
+ import { _ as f, P as w } from "./index-BMNKrMSC.js";
3
3
  import "quasar";
4
4
  const B = /* @__PURE__ */ d({
5
5
  __name: "ExtractCreateForm",
@@ -88,7 +88,7 @@ declare const _default: {
88
88
  width: string;
89
89
  fontSize: string;
90
90
  borderRadius: string;
91
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
91
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
92
92
  tags: string[];
93
93
  parameters: {
94
94
  docs: {
@@ -220,4 +220,4 @@ export declare const Default: StoryFn<import('vue').DefineComponent<globalThis.E
220
220
  width: string;
221
221
  fontSize: string;
222
222
  borderRadius: string;
223
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>>;
223
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
@@ -85,5 +85,5 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
85
85
  width: string;
86
86
  fontSize: string;
87
87
  borderRadius: string;
88
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
88
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
89
89
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { StoryFn } from '@storybook/vue3';
2
+ import { default as PInput } from './PInput.vue';
2
3
  declare const _default: {
3
4
  title: string;
4
5
  component: {
@@ -23,6 +24,11 @@ declare const _default: {
23
24
  default: string;
24
25
  required: false;
25
26
  };
27
+ width: {
28
+ type: StringConstructor;
29
+ required: false;
30
+ default: string;
31
+ };
26
32
  mask: {
27
33
  type: StringConstructor;
28
34
  required: false;
@@ -38,28 +44,37 @@ declare const _default: {
38
44
  default: string;
39
45
  required: false;
40
46
  };
47
+ rules: {
48
+ type: globalThis.PropType<import('quasar').ValidationRule[]>;
49
+ required: false;
50
+ default: undefined;
51
+ };
41
52
  modelValue: {
42
- type: globalThis.PropType<string>;
53
+ type: globalThis.PropType<string | number | null>;
43
54
  };
44
55
  }>> & Readonly<{
56
+ onClear?: ((...args: any[]) => any) | undefined;
45
57
  onInput?: ((...args: any[]) => any) | undefined;
46
58
  onBlur?: ((...args: any[]) => any) | undefined;
47
59
  onFocus?: ((...args: any[]) => any) | undefined;
48
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
60
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
49
61
  }>, {
50
62
  focus: () => void;
51
63
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
64
+ clear: (...args: any[]) => void;
52
65
  input: (...args: any[]) => void;
53
66
  blur: (...args: any[]) => void;
54
67
  focus: (...args: any[]) => void;
55
- "update:modelValue": (value: string) => void;
68
+ "update:modelValue": (value: string | number | null | undefined) => void;
56
69
  }, import('vue').PublicProps, {
57
70
  color: string;
58
71
  label: string;
59
72
  padding: string;
60
73
  mask: string;
61
74
  margin: string;
75
+ width: string;
62
76
  disabled: boolean;
77
+ rules: import('quasar').ValidationRule[];
63
78
  borderColor: string;
64
79
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
65
80
  input: {
@@ -94,6 +109,11 @@ declare const _default: {
94
109
  default: string;
95
110
  required: false;
96
111
  };
112
+ width: {
113
+ type: StringConstructor;
114
+ required: false;
115
+ default: string;
116
+ };
97
117
  mask: {
98
118
  type: StringConstructor;
99
119
  required: false;
@@ -109,14 +129,20 @@ declare const _default: {
109
129
  default: string;
110
130
  required: false;
111
131
  };
132
+ rules: {
133
+ type: globalThis.PropType<import('quasar').ValidationRule[]>;
134
+ required: false;
135
+ default: undefined;
136
+ };
112
137
  modelValue: {
113
- type: globalThis.PropType<string>;
138
+ type: globalThis.PropType<string | number | null>;
114
139
  };
115
140
  }>> & Readonly<{
141
+ onClear?: ((...args: any[]) => any) | undefined;
116
142
  onInput?: ((...args: any[]) => any) | undefined;
117
143
  onBlur?: ((...args: any[]) => any) | undefined;
118
144
  onFocus?: ((...args: any[]) => any) | undefined;
119
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
145
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
120
146
  }>, {
121
147
  focus: () => void;
122
148
  }, {}, {}, {}, {
@@ -125,7 +151,9 @@ declare const _default: {
125
151
  padding: string;
126
152
  mask: string;
127
153
  margin: string;
154
+ width: string;
128
155
  disabled: boolean;
156
+ rules: import('quasar').ValidationRule[];
129
157
  borderColor: string;
130
158
  }>;
131
159
  __isFragment?: undefined;
@@ -152,6 +180,11 @@ declare const _default: {
152
180
  default: string;
153
181
  required: false;
154
182
  };
183
+ width: {
184
+ type: StringConstructor;
185
+ required: false;
186
+ default: string;
187
+ };
155
188
  mask: {
156
189
  type: StringConstructor;
157
190
  required: false;
@@ -167,33 +200,51 @@ declare const _default: {
167
200
  default: string;
168
201
  required: false;
169
202
  };
203
+ rules: {
204
+ type: globalThis.PropType<import('quasar').ValidationRule[]>;
205
+ required: false;
206
+ default: undefined;
207
+ };
170
208
  modelValue: {
171
- type: globalThis.PropType<string>;
209
+ type: globalThis.PropType<string | number | null>;
172
210
  };
173
211
  }>> & Readonly<{
212
+ onClear?: ((...args: any[]) => any) | undefined;
174
213
  onInput?: ((...args: any[]) => any) | undefined;
175
214
  onBlur?: ((...args: any[]) => any) | undefined;
176
215
  onFocus?: ((...args: any[]) => any) | undefined;
177
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
216
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
178
217
  }>, {
179
218
  focus: () => void;
180
219
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
220
+ clear: (...args: any[]) => void;
181
221
  input: (...args: any[]) => void;
182
222
  blur: (...args: any[]) => void;
183
223
  focus: (...args: any[]) => void;
184
- "update:modelValue": (value: string) => void;
224
+ "update:modelValue": (value: string | number | null | undefined) => void;
185
225
  }, string, {
186
226
  color: string;
187
227
  label: string;
188
228
  padding: string;
189
229
  mask: string;
190
230
  margin: string;
231
+ width: string;
191
232
  disabled: boolean;
233
+ rules: import('quasar').ValidationRule[];
192
234
  borderColor: string;
193
235
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
194
236
  $slots: {
237
+ prepend?(_: {}): any;
238
+ before?(_: {}): any;
195
239
  default?(_: {}): any;
240
+ after?(_: {}): any;
241
+ append?(_: {}): any;
196
242
  right?(_: {}): any;
243
+ label?(_: {}): any;
244
+ error?(_: {}): any;
245
+ hint?(_: {}): any;
246
+ counter?(_: {}): any;
247
+ loading?(_: {}): any;
197
248
  };
198
249
  });
199
250
  tags: string[];
@@ -217,6 +268,10 @@ declare const _default: {
217
268
  control: string;
218
269
  description: string;
219
270
  };
271
+ width: {
272
+ control: string;
273
+ description: string;
274
+ };
220
275
  mask: {
221
276
  control: string;
222
277
  description: string;
@@ -233,6 +288,23 @@ declare const _default: {
233
288
  control: string;
234
289
  description: string;
235
290
  };
291
+ placeholder: {
292
+ control: string;
293
+ description: string;
294
+ };
295
+ clearable: {
296
+ control: string;
297
+ description: string;
298
+ };
299
+ debounce: {
300
+ control: string;
301
+ description: string;
302
+ };
303
+ type: {
304
+ control: string;
305
+ options: string[];
306
+ description: string;
307
+ };
236
308
  };
237
309
  };
238
310
  export default _default;
@@ -258,6 +330,11 @@ export declare const Default: StoryFn<{
258
330
  default: string;
259
331
  required: false;
260
332
  };
333
+ width: {
334
+ type: StringConstructor;
335
+ required: false;
336
+ default: string;
337
+ };
261
338
  mask: {
262
339
  type: StringConstructor;
263
340
  required: false;
@@ -273,28 +350,37 @@ export declare const Default: StoryFn<{
273
350
  default: string;
274
351
  required: false;
275
352
  };
353
+ rules: {
354
+ type: globalThis.PropType<import('quasar').ValidationRule[]>;
355
+ required: false;
356
+ default: undefined;
357
+ };
276
358
  modelValue: {
277
- type: globalThis.PropType<string>;
359
+ type: globalThis.PropType<string | number | null>;
278
360
  };
279
361
  }>> & Readonly<{
362
+ onClear?: ((...args: any[]) => any) | undefined;
280
363
  onInput?: ((...args: any[]) => any) | undefined;
281
364
  onBlur?: ((...args: any[]) => any) | undefined;
282
365
  onFocus?: ((...args: any[]) => any) | undefined;
283
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
366
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
284
367
  }>, {
285
368
  focus: () => void;
286
369
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
370
+ clear: (...args: any[]) => void;
287
371
  input: (...args: any[]) => void;
288
372
  blur: (...args: any[]) => void;
289
373
  focus: (...args: any[]) => void;
290
- "update:modelValue": (value: string) => void;
374
+ "update:modelValue": (value: string | number | null | undefined) => void;
291
375
  }, import('vue').PublicProps, {
292
376
  color: string;
293
377
  label: string;
294
378
  padding: string;
295
379
  mask: string;
296
380
  margin: string;
381
+ width: string;
297
382
  disabled: boolean;
383
+ rules: import('quasar').ValidationRule[];
298
384
  borderColor: string;
299
385
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
300
386
  input: {
@@ -329,6 +415,11 @@ export declare const Default: StoryFn<{
329
415
  default: string;
330
416
  required: false;
331
417
  };
418
+ width: {
419
+ type: StringConstructor;
420
+ required: false;
421
+ default: string;
422
+ };
332
423
  mask: {
333
424
  type: StringConstructor;
334
425
  required: false;
@@ -344,14 +435,20 @@ export declare const Default: StoryFn<{
344
435
  default: string;
345
436
  required: false;
346
437
  };
438
+ rules: {
439
+ type: globalThis.PropType<import('quasar').ValidationRule[]>;
440
+ required: false;
441
+ default: undefined;
442
+ };
347
443
  modelValue: {
348
- type: globalThis.PropType<string>;
444
+ type: globalThis.PropType<string | number | null>;
349
445
  };
350
446
  }>> & Readonly<{
447
+ onClear?: ((...args: any[]) => any) | undefined;
351
448
  onInput?: ((...args: any[]) => any) | undefined;
352
449
  onBlur?: ((...args: any[]) => any) | undefined;
353
450
  onFocus?: ((...args: any[]) => any) | undefined;
354
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
451
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
355
452
  }>, {
356
453
  focus: () => void;
357
454
  }, {}, {}, {}, {
@@ -360,7 +457,9 @@ export declare const Default: StoryFn<{
360
457
  padding: string;
361
458
  mask: string;
362
459
  margin: string;
460
+ width: string;
363
461
  disabled: boolean;
462
+ rules: import('quasar').ValidationRule[];
364
463
  borderColor: string;
365
464
  }>;
366
465
  __isFragment?: undefined;
@@ -387,6 +486,11 @@ export declare const Default: StoryFn<{
387
486
  default: string;
388
487
  required: false;
389
488
  };
489
+ width: {
490
+ type: StringConstructor;
491
+ required: false;
492
+ default: string;
493
+ };
390
494
  mask: {
391
495
  type: StringConstructor;
392
496
  required: false;
@@ -402,32 +506,52 @@ export declare const Default: StoryFn<{
402
506
  default: string;
403
507
  required: false;
404
508
  };
509
+ rules: {
510
+ type: globalThis.PropType<import('quasar').ValidationRule[]>;
511
+ required: false;
512
+ default: undefined;
513
+ };
405
514
  modelValue: {
406
- type: globalThis.PropType<string>;
515
+ type: globalThis.PropType<string | number | null>;
407
516
  };
408
517
  }>> & Readonly<{
518
+ onClear?: ((...args: any[]) => any) | undefined;
409
519
  onInput?: ((...args: any[]) => any) | undefined;
410
520
  onBlur?: ((...args: any[]) => any) | undefined;
411
521
  onFocus?: ((...args: any[]) => any) | undefined;
412
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
522
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
413
523
  }>, {
414
524
  focus: () => void;
415
525
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
526
+ clear: (...args: any[]) => void;
416
527
  input: (...args: any[]) => void;
417
528
  blur: (...args: any[]) => void;
418
529
  focus: (...args: any[]) => void;
419
- "update:modelValue": (value: string) => void;
530
+ "update:modelValue": (value: string | number | null | undefined) => void;
420
531
  }, string, {
421
532
  color: string;
422
533
  label: string;
423
534
  padding: string;
424
535
  mask: string;
425
536
  margin: string;
537
+ width: string;
426
538
  disabled: boolean;
539
+ rules: import('quasar').ValidationRule[];
427
540
  borderColor: string;
428
541
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
429
542
  $slots: {
543
+ prepend?(_: {}): any;
544
+ before?(_: {}): any;
430
545
  default?(_: {}): any;
546
+ after?(_: {}): any;
547
+ append?(_: {}): any;
431
548
  right?(_: {}): any;
549
+ label?(_: {}): any;
550
+ error?(_: {}): any;
551
+ hint?(_: {}): any;
552
+ counter?(_: {}): any;
553
+ loading?(_: {}): any;
432
554
  };
433
555
  })>;
556
+ export declare const WithSlots: StoryFn<typeof PInput>;
557
+ export declare const Masked: StoryFn<typeof PInput>;
@@ -1,3 +1,4 @@
1
+ import { ValidationRule } from 'quasar';
1
2
  declare function focus(): void;
2
3
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
4
  label: {
@@ -20,6 +21,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
20
21
  default: string;
21
22
  required: false;
22
23
  };
24
+ width: {
25
+ type: StringConstructor;
26
+ required: false;
27
+ default: string;
28
+ };
23
29
  mask: {
24
30
  type: StringConstructor;
25
31
  required: false;
@@ -35,16 +41,22 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
35
41
  default: string;
36
42
  required: false;
37
43
  };
44
+ rules: {
45
+ type: globalThis.PropType<ValidationRule[]>;
46
+ required: false;
47
+ default: undefined;
48
+ };
38
49
  modelValue: {
39
- type: globalThis.PropType<string>;
50
+ type: globalThis.PropType<string | number | null>;
40
51
  };
41
52
  }>, {
42
53
  focus: typeof focus;
43
54
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
55
+ clear: (...args: any[]) => void;
44
56
  input: (...args: any[]) => void;
45
57
  blur: (...args: any[]) => void;
46
58
  focus: (...args: any[]) => void;
47
- "update:modelValue": (value: string) => void;
59
+ "update:modelValue": (value: string | number | null | undefined) => void;
48
60
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
49
61
  label: {
50
62
  type: StringConstructor;
@@ -66,6 +78,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
66
78
  default: string;
67
79
  required: false;
68
80
  };
81
+ width: {
82
+ type: StringConstructor;
83
+ required: false;
84
+ default: string;
85
+ };
69
86
  mask: {
70
87
  type: StringConstructor;
71
88
  required: false;
@@ -81,21 +98,29 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
81
98
  default: string;
82
99
  required: false;
83
100
  };
101
+ rules: {
102
+ type: globalThis.PropType<ValidationRule[]>;
103
+ required: false;
104
+ default: undefined;
105
+ };
84
106
  modelValue: {
85
- type: globalThis.PropType<string>;
107
+ type: globalThis.PropType<string | number | null>;
86
108
  };
87
109
  }>> & Readonly<{
110
+ onClear?: ((...args: any[]) => any) | undefined;
88
111
  onInput?: ((...args: any[]) => any) | undefined;
89
112
  onBlur?: ((...args: any[]) => any) | undefined;
90
113
  onFocus?: ((...args: any[]) => any) | undefined;
91
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
114
+ "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
92
115
  }>, {
93
116
  color: string;
94
117
  label: string;
95
118
  padding: string;
96
119
  mask: string;
97
120
  margin: string;
121
+ width: string;
98
122
  disabled: boolean;
123
+ rules: ValidationRule[];
99
124
  borderColor: string;
100
125
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
101
126
  input: {
@@ -103,8 +128,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
103
128
  $slots: import('quasar').QInputSlots;
104
129
  } | null;
105
130
  }, any>, {
131
+ prepend?(_: {}): any;
132
+ before?(_: {}): any;
106
133
  default?(_: {}): any;
134
+ after?(_: {}): any;
135
+ append?(_: {}): any;
107
136
  right?(_: {}): any;
137
+ label?(_: {}): any;
138
+ error?(_: {}): any;
139
+ hint?(_: {}): any;
140
+ counter?(_: {}): any;
141
+ loading?(_: {}): any;
108
142
  }>;
109
143
  export default _default;
110
144
  type __VLS_WithTemplateSlots<T, S> = T & {