sprof 0.2.1 → 0.2.2

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.
Files changed (82) hide show
  1. package/dist/{ExtractsList-D2rsuyBZ.js → ExtractsList-DRZdaLvF.js} +11 -10
  2. package/dist/core/components/GeneralItem.vue.d.ts +4 -4
  3. package/dist/core/components/GridContainer.vue.d.ts +1 -1
  4. package/dist/core/components/Icons/Filter/IconDownload.vue.d.ts +1 -1
  5. package/dist/core/components/Icons/Filter/IconFilter.vue.d.ts +1 -1
  6. package/dist/core/components/Icons/Pagination/ArrowLeft.vue.d.ts +1 -1
  7. package/dist/core/components/Icons/Pagination/ArrowRight.vue.d.ts +1 -1
  8. package/dist/core/components/Icons/Pagination/DoubleArrowLeft.vue.d.ts +1 -1
  9. package/dist/core/components/Icons/Pagination/DoubleArrowRight.vue.d.ts +1 -1
  10. package/dist/core/components/Icons/Pagination/EllipsisSvg.vue.d.ts +1 -1
  11. package/dist/core/components/InfoItem.vue.d.ts +4 -4
  12. package/dist/core/components/PAutocomplete.vue.d.ts +1 -1
  13. package/dist/core/components/RemoteSearch.stories.d.ts +6 -6
  14. package/dist/core/components/RemoteSearch.vue.d.ts +3 -3
  15. package/dist/core/components/RightSliderContainer.vue.d.ts +2 -2
  16. package/dist/core/components/atoms/PButton/PButton.stories.d.ts +54 -18
  17. package/dist/core/components/atoms/PButton/PButton.vue.d.ts +14 -3
  18. package/dist/core/components/atoms/PCheckbox/PCheckBox.stories.d.ts +4 -4
  19. package/dist/core/components/atoms/PCheckbox/PCheckBox.vue.d.ts +2 -2
  20. package/dist/core/components/atoms/PDatePicker/PDatePicker.vue.d.ts +3 -3
  21. package/dist/core/components/atoms/PFlex/PFlex.stories.d.ts +18 -18
  22. package/dist/core/components/atoms/PFlex/PFlex.vue.d.ts +3 -3
  23. package/dist/core/components/atoms/PInput/PInput.stories.d.ts +40 -22
  24. package/dist/core/components/atoms/PInput/PInput.vue.d.ts +11 -5
  25. package/dist/core/components/atoms/PInputNumber/PInputNumber.stories.d.ts +3 -3
  26. package/dist/core/components/atoms/PInputNumber/PInputNumber.vue.d.ts +3 -3
  27. package/dist/core/components/atoms/PLabelField/PLabelField.stories.d.ts +36 -36
  28. package/dist/core/components/atoms/PLabelField/PLabelField.vue.d.ts +6 -6
  29. package/dist/core/components/atoms/PLeftSlider/PLeftSlider.stories.d.ts +18 -18
  30. package/dist/core/components/atoms/PLeftSlider/PLeftSlider.vue.d.ts +3 -3
  31. package/dist/core/components/atoms/PList/PList.stories.d.ts +8 -8
  32. package/dist/core/components/atoms/PList/PList.vue.d.ts +2 -2
  33. package/dist/core/components/atoms/PListItem/PListItem.stories.d.ts +12 -12
  34. package/dist/core/components/atoms/PListItem/PListItem.vue.d.ts +2 -2
  35. package/dist/core/components/atoms/PRadio/PRadio.stories.d.ts +4 -4
  36. package/dist/core/components/atoms/PRadio/PRadio.vue.d.ts +2 -2
  37. package/dist/core/components/atoms/PRightSlider/PRightSlider.stories.d.ts +18 -18
  38. package/dist/core/components/atoms/PRightSlider/PRightSlider.vue.d.ts +3 -3
  39. package/dist/core/components/atoms/PSelect/PSelect.stories.d.ts +66 -30
  40. package/dist/core/components/atoms/PSelect/PSelect.vue.d.ts +16 -5
  41. package/dist/core/components/atoms/PString/PString.stories.d.ts +12 -12
  42. package/dist/core/components/atoms/PString/PString.vue.d.ts +6 -6
  43. package/dist/core/components/atoms/PTextarea/PTextarea.stories.d.ts +14 -18
  44. package/dist/core/components/atoms/PTextarea/PTextarea.vue.d.ts +3 -5
  45. package/dist/core/components/atoms/PTooltip/PTooltip.stories.d.ts +12 -12
  46. package/dist/core/components/components.d.ts +1 -3
  47. package/dist/core/components/molecules/Collapse/CollapseItem.stories.d.ts +2 -2
  48. package/dist/core/components/molecules/Collapse/CollapseItem.vue.d.ts +1 -1
  49. package/dist/core/components/molecules/PAdd/PAdd.vue.d.ts +1 -1
  50. package/dist/core/components/molecules/PAdd/PContainer.vue.d.ts +1 -1
  51. package/dist/core/components/molecules/PAdd/PContainerStickyHead.vue.d.ts +1 -1
  52. package/dist/core/components/molecules/PDel/PDel.vue.d.ts +1 -1
  53. package/dist/core/components/molecules/PModal/PModal.vue.d.ts +3 -3
  54. package/dist/core/components/molecules/index.d.ts +1 -2
  55. package/dist/core/components/organisms/PAuthForm/PAuthForm.stories.d.ts +44 -31
  56. package/dist/core/components/organisms/PAuthForm/PAuthForm.vue.d.ts +22 -15
  57. package/dist/core/components/organisms/PAuthModal/PAuthModal.stories.d.ts +2 -2
  58. package/dist/core/components/organisms/PAuthModal/PAuthModal.vue.d.ts +1 -1
  59. package/dist/core/components/organisms/PTabs/PTabs.stories.d.ts +6 -6
  60. package/dist/core/components/organisms/PTabs/PTabs.vue.d.ts +1 -1
  61. package/dist/core/components/organisms/PUploaderFile/PUploaderFile.stories.d.ts +18 -18
  62. package/dist/core/components/organisms/PUploaderFile/PUploaderFile.vue.d.ts +2 -2
  63. package/dist/core/components/organisms/PUploaderImage/ImageCropper.vue.d.ts +2 -2
  64. package/dist/core/helpers/Message.d.ts +13 -2
  65. package/dist/core/ui/Dialog.d.ts +18 -3
  66. package/dist/core/ui/Dialog.test.d.ts +1 -0
  67. package/dist/core/ui/Notify.d.ts +19 -24
  68. package/dist/core/ui/Notify.test.d.ts +1 -0
  69. package/dist/index-CNpz7Czv.js +13826 -0
  70. package/dist/index.d.ts +1 -0
  71. package/dist/install.d.ts +25 -0
  72. package/dist/sprof.js +5 -4
  73. package/dist/sprof.umd.cjs +29 -14
  74. package/dist/style.css +1 -1
  75. package/dist/test-utils/quasar.d.ts +5 -0
  76. package/package.json +19 -5
  77. package/dist/core/components/MessageBody.vue.d.ts +0 -27
  78. package/dist/core/components/PDialog.vue.d.ts +0 -2
  79. package/dist/core/components/molecules/PNotify/PNotify.stories.d.ts +0 -242
  80. package/dist/core/components/molecules/PNotify/PNotify.vue.d.ts +0 -2
  81. package/dist/core/ui/index.d.ts +0 -110
  82. package/dist/index-CkqPv_mq.js +0 -7517
@@ -37,41 +37,44 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
37
37
  }>> & Readonly<{
38
38
  onSubmit?: ((...args: any[]) => any) | undefined;
39
39
  }>, {
40
- margin: string;
41
40
  padding: string;
42
- background: string;
41
+ margin: string;
43
42
  width: string;
43
+ background: string;
44
44
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
45
45
  fields: (({
46
46
  $: import('vue').ComponentInternalInstance;
47
47
  $data: {};
48
48
  $props: Partial<{
49
+ color: string;
49
50
  label: string;
51
+ padding: string;
50
52
  mask: string;
51
53
  margin: string;
52
54
  disabled: boolean;
53
- padding: string;
54
55
  borderColor: string;
55
- color: string;
56
56
  }> & Omit<{
57
+ readonly color: string;
57
58
  readonly label: string;
59
+ readonly padding: string;
58
60
  readonly margin: string;
59
61
  readonly disabled: boolean;
60
- readonly padding: string;
61
62
  readonly borderColor: string;
62
- readonly color: string;
63
63
  readonly mask?: string | undefined;
64
64
  readonly modelValue?: string | undefined;
65
65
  readonly onInput?: ((...args: any[]) => any) | undefined;
66
66
  readonly onBlur?: ((...args: any[]) => any) | undefined;
67
67
  readonly onFocus?: ((...args: any[]) => any) | undefined;
68
68
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
69
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "label" | "mask" | "margin" | "disabled" | "padding" | "borderColor" | "color">;
69
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "color" | "label" | "padding" | "mask" | "margin" | "disabled" | "borderColor">;
70
70
  $attrs: import('vue').Attrs;
71
71
  $refs: {
72
72
  [x: string]: unknown;
73
73
  } & {
74
- input: HTMLInputElement;
74
+ input: {
75
+ $props: import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('quasar').QInputProps;
76
+ $slots: import('quasar').QInputSlots;
77
+ } | null;
75
78
  };
76
79
  $slots: Readonly<{
77
80
  [name: string]: import('vue').Slot<any> | undefined;
@@ -80,7 +83,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
80
83
  $parent: globalThis.ComponentPublicInstance | null;
81
84
  $host: Element | null;
82
85
  $emit: ((event: "input", ...args: any[]) => void) & ((event: "blur", ...args: any[]) => void) & ((event: "focus", ...args: any[]) => void) & ((event: "update:modelValue", value: string) => void);
83
- $el: HTMLDivElement;
86
+ $el: any;
84
87
  $options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
85
88
  label: {
86
89
  type: StringConstructor;
@@ -125,19 +128,21 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
125
128
  onBlur?: ((...args: any[]) => any) | undefined;
126
129
  onFocus?: ((...args: any[]) => any) | undefined;
127
130
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
128
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
131
+ }>, {
132
+ focus: () => void;
133
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
129
134
  input: (...args: any[]) => void;
130
135
  blur: (...args: any[]) => void;
131
136
  focus: (...args: any[]) => void;
132
137
  "update:modelValue": (value: string) => void;
133
138
  }, string, {
139
+ color: string;
134
140
  label: string;
141
+ padding: string;
135
142
  mask: string;
136
143
  margin: string;
137
144
  disabled: boolean;
138
- padding: string;
139
145
  borderColor: string;
140
- color: string;
141
146
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
142
147
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
143
148
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -159,13 +164,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
159
164
  $nextTick: typeof import('vue').nextTick;
160
165
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
161
166
  } & Readonly<{
167
+ color: string;
162
168
  label: string;
169
+ padding: string;
163
170
  mask: string;
164
171
  margin: string;
165
172
  disabled: boolean;
166
- padding: string;
167
173
  borderColor: string;
168
- color: string;
169
174
  }> & Omit<Readonly<globalThis.ExtractPropTypes<{
170
175
  label: {
171
176
  type: StringConstructor;
@@ -210,7 +215,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
210
215
  onBlur?: ((...args: any[]) => any) | undefined;
211
216
  onFocus?: ((...args: any[]) => any) | undefined;
212
217
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
213
- }>, "label" | "mask" | "margin" | "disabled" | "padding" | "borderColor" | "color"> & {} & import('vue').ComponentCustomProperties & {} & {
218
+ }>, "focus" | ("color" | "label" | "padding" | "mask" | "margin" | "disabled" | "borderColor")> & {
219
+ focus: () => void;
220
+ } & {} & import('vue').ComponentCustomProperties & {} & {
214
221
  $slots: {
215
222
  default?(_: {}): any;
216
223
  right?(_: {}): any;
@@ -31,8 +31,8 @@ declare const _default: {
31
31
  }>> & Readonly<{
32
32
  onSubmit?: ((...args: any[]) => any) | undefined;
33
33
  }>, {
34
- margin: string;
35
34
  padding: string;
35
+ margin: string;
36
36
  width: string;
37
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
38
  tags: string[];
@@ -90,8 +90,8 @@ export declare const Default: (args: any) => import('vue').DefineComponent<{}, {
90
90
  }>> & Readonly<{
91
91
  onSubmit?: ((...args: any[]) => any) | undefined;
92
92
  }>, {
93
- margin: string;
94
93
  padding: string;
94
+ margin: string;
95
95
  width: string;
96
96
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
97
97
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -29,8 +29,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
29
29
  }>> & Readonly<{
30
30
  onSubmit?: ((...args: any[]) => any) | undefined;
31
31
  }>, {
32
- margin: string;
33
32
  padding: string;
33
+ margin: string;
34
34
  width: string;
35
35
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
36
  export default _default;
@@ -48,9 +48,9 @@ declare const _default: {
48
48
  select: (...args: any[]) => void;
49
49
  }, import('vue').PublicProps, {
50
50
  margin: string;
51
- background: string;
52
51
  height: string;
53
52
  borderRadius: string;
53
+ background: string;
54
54
  tabHeight: string;
55
55
  minMenuItemWidth: string;
56
56
  outTopMargin: string;
@@ -107,9 +107,9 @@ declare const _default: {
107
107
  onSelect?: ((...args: any[]) => any) | undefined;
108
108
  }>, {}, {}, {}, {}, {
109
109
  margin: string;
110
- background: string;
111
110
  height: string;
112
111
  borderRadius: string;
112
+ background: string;
113
113
  tabHeight: string;
114
114
  minMenuItemWidth: string;
115
115
  outTopMargin: string;
@@ -163,9 +163,9 @@ declare const _default: {
163
163
  select: (...args: any[]) => void;
164
164
  }, string, {
165
165
  margin: string;
166
- background: string;
167
166
  height: string;
168
167
  borderRadius: string;
168
+ background: string;
169
169
  tabHeight: string;
170
170
  minMenuItemWidth: string;
171
171
  outTopMargin: string;
@@ -261,9 +261,9 @@ export declare const Default: StoryFn<{
261
261
  select: (...args: any[]) => void;
262
262
  }, import('vue').PublicProps, {
263
263
  margin: string;
264
- background: string;
265
264
  height: string;
266
265
  borderRadius: string;
266
+ background: string;
267
267
  tabHeight: string;
268
268
  minMenuItemWidth: string;
269
269
  outTopMargin: string;
@@ -320,9 +320,9 @@ export declare const Default: StoryFn<{
320
320
  onSelect?: ((...args: any[]) => any) | undefined;
321
321
  }>, {}, {}, {}, {}, {
322
322
  margin: string;
323
- background: string;
324
323
  height: string;
325
324
  borderRadius: string;
325
+ background: string;
326
326
  tabHeight: string;
327
327
  minMenuItemWidth: string;
328
328
  outTopMargin: string;
@@ -376,9 +376,9 @@ export declare const Default: StoryFn<{
376
376
  select: (...args: any[]) => void;
377
377
  }, string, {
378
378
  margin: string;
379
- background: string;
380
379
  height: string;
381
380
  borderRadius: string;
381
+ background: string;
382
382
  tabHeight: string;
383
383
  minMenuItemWidth: string;
384
384
  outTopMargin: string;
@@ -85,9 +85,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
85
85
  onSelect?: ((...args: any[]) => any) | undefined;
86
86
  }>, {
87
87
  margin: string;
88
- background: string;
89
88
  height: string;
90
89
  borderRadius: string;
90
+ background: string;
91
91
  tabHeight: string;
92
92
  minMenuItemWidth: string;
93
93
  outTopMargin: string;
@@ -58,15 +58,15 @@ declare const _default: Meta<{
58
58
  remove: (...args: any[]) => void;
59
59
  upload: (...args: any[]) => void;
60
60
  }, import('vue').PublicProps, {
61
+ color: string;
61
62
  label: string;
63
+ padding: string;
62
64
  mask: string;
63
65
  placeholder: string;
64
66
  fileInfo: FileInfo;
65
67
  margin: string;
66
68
  disabled: boolean;
67
- padding: string;
68
69
  borderColor: string;
69
- color: string;
70
70
  formats: string[];
71
71
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
72
72
  P: {};
@@ -129,15 +129,15 @@ declare const _default: Meta<{
129
129
  onRemove?: ((...args: any[]) => any) | undefined;
130
130
  onUpload?: ((...args: any[]) => any) | undefined;
131
131
  }>, {}, {}, {}, {}, {
132
+ color: string;
132
133
  label: string;
134
+ padding: string;
133
135
  mask: string;
134
136
  placeholder: string;
135
137
  fileInfo: FileInfo;
136
138
  margin: string;
137
139
  disabled: boolean;
138
- padding: string;
139
140
  borderColor: string;
140
- color: string;
141
141
  formats: string[];
142
142
  }>;
143
143
  __isFragment?: undefined;
@@ -200,15 +200,15 @@ declare const _default: Meta<{
200
200
  remove: (...args: any[]) => void;
201
201
  upload: (...args: any[]) => void;
202
202
  }, string, {
203
+ color: string;
203
204
  label: string;
205
+ padding: string;
204
206
  mask: string;
205
207
  placeholder: string;
206
208
  fileInfo: FileInfo;
207
209
  margin: string;
208
210
  disabled: boolean;
209
- padding: string;
210
211
  borderColor: string;
211
- color: string;
212
212
  formats: string[];
213
213
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
214
214
  $slots: {
@@ -274,15 +274,15 @@ export declare const Base: StoryFn<{
274
274
  remove: (...args: any[]) => void;
275
275
  upload: (...args: any[]) => void;
276
276
  }, import('vue').PublicProps, {
277
+ color: string;
277
278
  label: string;
279
+ padding: string;
278
280
  mask: string;
279
281
  placeholder: string;
280
282
  fileInfo: FileInfo;
281
283
  margin: string;
282
284
  disabled: boolean;
283
- padding: string;
284
285
  borderColor: string;
285
- color: string;
286
286
  formats: string[];
287
287
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
288
288
  P: {};
@@ -345,15 +345,15 @@ export declare const Base: StoryFn<{
345
345
  onRemove?: ((...args: any[]) => any) | undefined;
346
346
  onUpload?: ((...args: any[]) => any) | undefined;
347
347
  }>, {}, {}, {}, {}, {
348
+ color: string;
348
349
  label: string;
350
+ padding: string;
349
351
  mask: string;
350
352
  placeholder: string;
351
353
  fileInfo: FileInfo;
352
354
  margin: string;
353
355
  disabled: boolean;
354
- padding: string;
355
356
  borderColor: string;
356
- color: string;
357
357
  formats: string[];
358
358
  }>;
359
359
  __isFragment?: undefined;
@@ -416,15 +416,15 @@ export declare const Base: StoryFn<{
416
416
  remove: (...args: any[]) => void;
417
417
  upload: (...args: any[]) => void;
418
418
  }, string, {
419
+ color: string;
419
420
  label: string;
421
+ padding: string;
420
422
  mask: string;
421
423
  placeholder: string;
422
424
  fileInfo: FileInfo;
423
425
  margin: string;
424
426
  disabled: boolean;
425
- padding: string;
426
427
  borderColor: string;
427
- color: string;
428
428
  formats: string[];
429
429
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
430
430
  $slots: {
@@ -489,15 +489,15 @@ export declare const Base1: StoryFn<{
489
489
  remove: (...args: any[]) => void;
490
490
  upload: (...args: any[]) => void;
491
491
  }, import('vue').PublicProps, {
492
+ color: string;
492
493
  label: string;
494
+ padding: string;
493
495
  mask: string;
494
496
  placeholder: string;
495
497
  fileInfo: FileInfo;
496
498
  margin: string;
497
499
  disabled: boolean;
498
- padding: string;
499
500
  borderColor: string;
500
- color: string;
501
501
  formats: string[];
502
502
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
503
503
  P: {};
@@ -560,15 +560,15 @@ export declare const Base1: StoryFn<{
560
560
  onRemove?: ((...args: any[]) => any) | undefined;
561
561
  onUpload?: ((...args: any[]) => any) | undefined;
562
562
  }>, {}, {}, {}, {}, {
563
+ color: string;
563
564
  label: string;
565
+ padding: string;
564
566
  mask: string;
565
567
  placeholder: string;
566
568
  fileInfo: FileInfo;
567
569
  margin: string;
568
570
  disabled: boolean;
569
- padding: string;
570
571
  borderColor: string;
571
- color: string;
572
572
  formats: string[];
573
573
  }>;
574
574
  __isFragment?: undefined;
@@ -631,15 +631,15 @@ export declare const Base1: StoryFn<{
631
631
  remove: (...args: any[]) => void;
632
632
  upload: (...args: any[]) => void;
633
633
  }, string, {
634
+ color: string;
634
635
  label: string;
636
+ padding: string;
635
637
  mask: string;
636
638
  placeholder: string;
637
639
  fileInfo: FileInfo;
638
640
  margin: string;
639
641
  disabled: boolean;
640
- padding: string;
641
642
  borderColor: string;
642
- color: string;
643
643
  formats: string[];
644
644
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
645
645
  $slots: {
@@ -106,15 +106,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
106
106
  onRemove?: ((...args: any[]) => any) | undefined;
107
107
  onUpload?: ((...args: any[]) => any) | undefined;
108
108
  }>, {
109
+ color: string;
109
110
  label: string;
111
+ padding: string;
110
112
  mask: string;
111
113
  placeholder: string;
112
114
  fileInfo: FileInfo;
113
115
  margin: string;
114
116
  disabled: boolean;
115
- padding: string;
116
117
  borderColor: string;
117
- color: string;
118
118
  formats: string[];
119
119
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
120
120
  default?(_: {}): any;
@@ -80,7 +80,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
80
80
  $forceUpdate: () => void;
81
81
  $nextTick: typeof import('vue').nextTick;
82
82
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
83
- } & Readonly<{}> & Omit<Readonly<any>, "refresh" | "reset" | "move" | "rotate" | "setCoordinates" | "getResult" | "zoom" | "flip"> & {
83
+ } & Readonly<{}> & Omit<Readonly<any>, "refresh" | "reset" | "rotate" | "move" | "setCoordinates" | "getResult" | "zoom" | "flip"> & {
84
84
  getResult: () => import('vue-advanced-cropper').CropperResult;
85
85
  setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
86
86
  refresh: () => void;
@@ -144,7 +144,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
144
144
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
145
145
  } & Readonly<{
146
146
  [x: string]: any;
147
- }> & Omit<Readonly<any>, "refresh" | "reset" | "move" | "rotate" | "setCoordinates" | "getResult" | "zoom" | "flip"> & {
147
+ }> & Omit<Readonly<any>, "refresh" | "reset" | "rotate" | "move" | "setCoordinates" | "getResult" | "zoom" | "flip"> & {
148
148
  getResult: () => import('vue-advanced-cropper').CropperResult;
149
149
  setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
150
150
  refresh: () => void;
@@ -1,17 +1,28 @@
1
1
  import { default as Statuses } from '../types/Statuses';
2
- import { default as Visible } from './Visible';
3
2
  export type MessageOpts = {
4
3
  text: string;
5
4
  title?: string;
6
5
  };
7
- export default class Message extends Visible {
6
+ /**
7
+ * Base class for UI messages (Notify / Dialog).
8
+ *
9
+ * Stores the message state (text / title / type) and provides helpers to
10
+ * build messages and map sprof `Statuses` onto Quasar theme colors.
11
+ * Rendering itself is delegated to the Quasar plugins (Notify / Dialog).
12
+ */
13
+ export default abstract class Message {
8
14
  type: Statuses;
9
15
  text: string;
10
16
  title: string;
17
+ /** Map sprof Statuses → Quasar theme color names */
18
+ static ToQuasarColor(t: Statuses): string;
19
+ /** True when the string contains HTML markup (e.g. FormMessage output) */
20
+ static ContainsHtml(s: string): boolean;
11
21
  showMessage(m: string | MessageOpts, t: Statuses): void;
12
22
  GetText(): string;
13
23
  GetTitle(): string;
14
24
  GetType(): Statuses;
25
+ GetQuasarColor(): string;
15
26
  Info(m: string | MessageOpts): void;
16
27
  Success(m: string | MessageOpts): void;
17
28
  Error(m: string | MessageOpts): void;
@@ -8,19 +8,34 @@ type DialogOpts = MessageOpts & {
8
8
  text: string;
9
9
  confirmButtonText: string;
10
10
  cancelButtonText: string;
11
+ persistent?: boolean;
11
12
  };
13
+ type DialogResolver = (value: DialogResult | boolean) => void;
14
+ type DialogRejecter = (reason?: unknown) => void;
15
+ /**
16
+ * Reactive singleton for confirm dialogs.
17
+ *
18
+ * Wraps the Quasar `Dialog` plugin (`Dialog.create`), so the consumer app
19
+ * must install Quasar with the Dialog plugin enabled:
20
+ *
21
+ * ```ts
22
+ * app.use(Quasar, { plugins: { Notify, Dialog } })
23
+ * ```
24
+ */
12
25
  declare class DialogConstructor extends Message {
13
26
  confirmButtonText: string;
14
27
  cancelButtonText: string;
15
- resolve?: any;
16
- reject?: any;
28
+ persistent: boolean;
29
+ resolve?: DialogResolver;
30
+ reject?: DialogRejecter;
17
31
  GetConfirmButtonText(): string;
18
32
  GetCancelButtonText(): string;
19
33
  Show(m: string | DialogOpts): Promise<DialogResult>;
20
34
  Save(): Promise<DialogResult>;
21
35
  Submit(): void;
22
36
  Cancel(): void;
23
- hide(): void;
37
+ /** Runs the action once and clears the stored handlers */
38
+ private Settle;
24
39
  }
25
40
  declare const Dialog: DialogConstructor;
26
41
  export default Dialog;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,29 +1,24 @@
1
- import { MessageOpts } from '../helpers/Message';
1
+ import { default as Message, MessageOpts } from '../helpers/Message';
2
2
  import { default as Statuses } from '../types/Statuses';
3
3
  type NotifyOpts = MessageOpts & {
4
4
  duration: number;
5
5
  };
6
- declare const _default: {
6
+ /**
7
+ * Reactive singleton for user notifications.
8
+ *
9
+ * Wraps the Quasar `Notify` plugin (`Notify.create`), so the consumer app
10
+ * must install Quasar with the Notify plugin enabled:
11
+ *
12
+ * ```ts
13
+ * app.use(Quasar, { plugins: { Notify, Dialog } })
14
+ * ```
15
+ */
16
+ declare class Notify extends Message {
7
17
  duration: number;
8
- instance?: any | undefined;
9
- showMessage: (m: string | NotifyOpts, t: Statuses) => void;
10
- GetDuration: () => number;
11
- Dev: () => void;
12
- Save: () => void;
13
- type: Statuses;
14
- text: string;
15
- title: string;
16
- GetText: () => string;
17
- GetTitle: () => string;
18
- GetType: () => Statuses;
19
- Info: (m: string | MessageOpts) => void;
20
- Success: (m: string | MessageOpts) => void;
21
- Error: (m: string | MessageOpts) => void;
22
- Warning: (m: string | MessageOpts) => void;
23
- FormMessage: (errorFields: any) => string;
24
- visible: boolean;
25
- hide: () => void;
26
- show: () => void;
27
- IsVisible: () => boolean;
28
- };
29
- export default _default;
18
+ showMessage(m: string | NotifyOpts, t: Statuses): void;
19
+ GetDuration(): number;
20
+ Dev(): void;
21
+ Save(): void;
22
+ }
23
+ declare const instance: Notify;
24
+ export default instance;
@@ -0,0 +1 @@
1
+ export {};