sprof 0.2.9 → 0.2.11

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 (44) hide show
  1. package/dist/{ExtractsList-CCcvo_02.js → ExtractsList-BEH5IYVY.js} +12 -11
  2. package/dist/core/components/GeneralItem.vue.d.ts +1 -1
  3. package/dist/core/components/InfoItem.vue.d.ts +1 -1
  4. package/dist/core/components/atoms/PButton/PButton.stories.d.ts +6 -6
  5. package/dist/core/components/atoms/PButton/PButton.vue.d.ts +1 -1
  6. package/dist/core/components/atoms/PDialog/PDialog.stories.d.ts +6 -6
  7. package/dist/core/components/atoms/PDialog/PDialog.vue.d.ts +1 -1
  8. package/dist/core/components/molecules/PCrudList/PCrudList.stories.d.ts +9 -9
  9. package/dist/core/components/molecules/PCrudList/PCrudList.vue.d.ts +1 -1
  10. package/dist/core/components/molecules/PEditDialog/PEditDialog.stories.d.ts +9 -9
  11. package/dist/core/components/molecules/PEditDialog/PEditDialog.vue.d.ts +1 -1
  12. package/dist/core/components/organisms/PUploaderImage/ImageCropper.vue.d.ts +2 -4
  13. package/dist/core/components/organisms/PUploaderImage/PUploaderImage.test.d.ts +1 -0
  14. package/dist/core/components/organisms/PUploaderImage/PUploaderImage.vue.d.ts +17 -52
  15. package/dist/index-CmgBwS-p.js +16756 -0
  16. package/dist/index.d.ts +5 -0
  17. package/dist/modules/index.d.ts +1 -0
  18. package/dist/modules/schedule/classes/Schedule.d.ts +19 -0
  19. package/dist/modules/schedule/classes/ScheduleDay.d.ts +15 -0
  20. package/dist/modules/schedule/classes/SchedulePlace.d.ts +12 -0
  21. package/dist/modules/schedule/classes/ScheduleSession.d.ts +16 -0
  22. package/dist/modules/schedule/classes/ScheduleSlot.d.ts +19 -0
  23. package/dist/modules/schedule/classes/index.d.ts +5 -0
  24. package/dist/modules/schedule/components/ScheduleGridEditor.vue.d.ts +59 -0
  25. package/dist/modules/schedule/components/ScheduleTimeline.vue.d.ts +58 -0
  26. package/dist/modules/schedule/components/index.d.ts +2 -0
  27. package/dist/modules/schedule/helpers/ScheduleGrid.d.ts +35 -0
  28. package/dist/modules/schedule/helpers/ScheduleTime.d.ts +22 -0
  29. package/dist/modules/schedule/helpers/index.d.ts +2 -0
  30. package/dist/modules/schedule/index.d.ts +26 -0
  31. package/dist/modules/schedule/store/ScheduleDaysStore.d.ts +7 -0
  32. package/dist/modules/schedule/store/SchedulePlacesStore.d.ts +7 -0
  33. package/dist/modules/schedule/store/ScheduleSessionsStore.d.ts +7 -0
  34. package/dist/modules/schedule/store/ScheduleSlotsStore.d.ts +7 -0
  35. package/dist/modules/schedule/store/SchedulesStore.d.ts +7 -0
  36. package/dist/modules/schedule/store/index.d.ts +5 -0
  37. package/dist/modules/schedule/types/ScheduleTypes.d.ts +122 -0
  38. package/dist/modules/schedule/types/index.d.ts +1 -0
  39. package/dist/sprof.js +40 -32
  40. package/dist/sprof.umd.cjs +17 -23
  41. package/dist/style.css +1 -1
  42. package/package.json +1 -1
  43. package/dist/core/components/organisms/PUploaderImage/PUploaderImage.stories.d.ts +0 -165
  44. package/dist/index-Bwtms4B9.js +0 -19392
@@ -1,6 +1,7 @@
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-Bwtms4B9.js";
1
+ import { defineComponent as d, resolveComponent as m, openBlock as i, createElementBlock as C, Fragment as P, createVNode as l, 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-CmgBwS-p.js";
3
3
  import "quasar";
4
+ import "vuedraggable";
4
5
  const B = /* @__PURE__ */ d({
5
6
  __name: "ExtractCreateForm",
6
7
  emits: ["create"],
@@ -9,13 +10,13 @@ const B = /* @__PURE__ */ d({
9
10
  await ExtractsStore.Create(), ExtractsStore.AppendToAll([e]), n("create");
10
11
  };
11
12
  return (_, c) => {
12
- const p = l("PInput"), s = l("PButton");
13
+ const p = m("PInput"), r = m("PButton");
13
14
  return i(), C(P, null, [
14
- m(p, {
15
+ l(p, {
15
16
  modelValue: o(e).name,
16
- "onUpdate:modelValue": c[0] || (c[0] = (r) => o(e).name = r)
17
+ "onUpdate:modelValue": c[0] || (c[0] = (s) => o(e).name = s)
17
18
  }, null, 8, ["modelValue"]),
18
- m(s, {
19
+ l(r, {
19
20
  text: "Создать",
20
21
  onClick: a
21
22
  })
@@ -33,19 +34,19 @@ const B = /* @__PURE__ */ d({
33
34
  t.value = !t.value;
34
35
  };
35
36
  return w.H.Hooks.onBeforeMount(a), (c, p) => {
36
- const s = I, r = l("PModal");
37
- return o(t) ? (i(), E(r, {
37
+ const r = I, s = m("PModal");
38
+ return o(t) ? (i(), E(s, {
38
39
  key: 0,
39
40
  show: o(t)
40
41
  }, {
41
42
  default: k(() => [
42
- m(s, { onCreate: _ })
43
+ l(r, { onCreate: _ })
43
44
  ]),
44
45
  _: 1
45
46
  }, 8, ["show"])) : v("", !0);
46
47
  };
47
48
  }
48
- }), y = /* @__PURE__ */ f(M, [["__scopeId", "data-v-03915680"]]);
49
+ }), A = /* @__PURE__ */ f(M, [["__scopeId", "data-v-03915680"]]);
49
50
  export {
50
- y as default
51
+ A as default
51
52
  };
@@ -104,9 +104,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
104
104
  padding: string;
105
105
  width: string;
106
106
  margin: string;
107
+ borderColor: string;
107
108
  height: string;
108
109
  fontSize: string;
109
- borderColor: string;
110
110
  background: string;
111
111
  scale: boolean;
112
112
  ready: string;
@@ -204,10 +204,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
204
204
  close: boolean;
205
205
  width: string;
206
206
  margin: string;
207
+ borderColor: string;
207
208
  height: string;
208
209
  maxWidth: string;
209
210
  minWidth: string;
210
- borderColor: string;
211
211
  background: string;
212
212
  customClass: string;
213
213
  openWidth: string;
@@ -60,10 +60,10 @@ declare const _default: Meta<{
60
60
  text: string;
61
61
  width: string;
62
62
  margin: string;
63
+ disabled: boolean;
63
64
  height: string;
64
65
  skin: string;
65
66
  fontSize: string;
66
- disabled: boolean;
67
67
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
68
68
  P: {};
69
69
  B: {};
@@ -129,10 +129,10 @@ declare const _default: Meta<{
129
129
  text: string;
130
130
  width: string;
131
131
  margin: string;
132
+ disabled: boolean;
132
133
  height: string;
133
134
  skin: string;
134
135
  fontSize: string;
135
- disabled: boolean;
136
136
  }>;
137
137
  __isFragment?: undefined;
138
138
  __isTeleport?: undefined;
@@ -195,10 +195,10 @@ declare const _default: Meta<{
195
195
  text: string;
196
196
  width: string;
197
197
  margin: string;
198
+ disabled: boolean;
198
199
  height: string;
199
200
  skin: string;
200
201
  fontSize: string;
201
- disabled: boolean;
202
202
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
203
203
  $slots: {
204
204
  default?(_: {}): any;
@@ -264,10 +264,10 @@ export declare const Base: StoryFn<{
264
264
  text: string;
265
265
  width: string;
266
266
  margin: string;
267
+ disabled: boolean;
267
268
  height: string;
268
269
  skin: string;
269
270
  fontSize: string;
270
- disabled: boolean;
271
271
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
272
272
  P: {};
273
273
  B: {};
@@ -333,10 +333,10 @@ export declare const Base: StoryFn<{
333
333
  text: string;
334
334
  width: string;
335
335
  margin: string;
336
+ disabled: boolean;
336
337
  height: string;
337
338
  skin: string;
338
339
  fontSize: string;
339
- disabled: boolean;
340
340
  }>;
341
341
  __isFragment?: undefined;
342
342
  __isTeleport?: undefined;
@@ -399,10 +399,10 @@ export declare const Base: StoryFn<{
399
399
  text: string;
400
400
  width: string;
401
401
  margin: string;
402
+ disabled: boolean;
402
403
  height: string;
403
404
  skin: string;
404
405
  fontSize: string;
405
- disabled: boolean;
406
406
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
407
407
  $slots: {
408
408
  default?(_: {}): any;
@@ -109,10 +109,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
109
109
  text: string;
110
110
  width: string;
111
111
  margin: string;
112
+ disabled: boolean;
112
113
  height: string;
113
114
  skin: string;
114
115
  fontSize: string;
115
- disabled: boolean;
116
116
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
117
117
  default?(_: {}): any;
118
118
  }>;
@@ -28,9 +28,9 @@ declare const _default: {
28
28
  "update:modelValue": (value: boolean) => any;
29
29
  }, import('vue').PublicProps, {
30
30
  persistent: boolean;
31
+ maximized: boolean;
31
32
  transitionShow: string;
32
33
  transitionHide: string;
33
- maximized: boolean;
34
34
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
35
35
  P: {};
36
36
  B: {};
@@ -62,9 +62,9 @@ declare const _default: {
62
62
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
63
63
  }>, {}, {}, {}, {}, {
64
64
  persistent: boolean;
65
+ maximized: boolean;
65
66
  transitionShow: string;
66
67
  transitionHide: string;
67
- maximized: boolean;
68
68
  }>;
69
69
  __isFragment?: undefined;
70
70
  __isTeleport?: undefined;
@@ -95,9 +95,9 @@ declare const _default: {
95
95
  "update:modelValue": (value: boolean) => any;
96
96
  }, string, {
97
97
  persistent: boolean;
98
+ maximized: boolean;
98
99
  transitionShow: string;
99
100
  transitionHide: string;
100
- maximized: boolean;
101
101
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
102
102
  $slots: {
103
103
  default?(_: {}): any;
@@ -154,9 +154,9 @@ export declare const Default: StoryFn<{
154
154
  "update:modelValue": (value: boolean) => any;
155
155
  }, import('vue').PublicProps, {
156
156
  persistent: boolean;
157
+ maximized: boolean;
157
158
  transitionShow: string;
158
159
  transitionHide: string;
159
- maximized: boolean;
160
160
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
161
161
  P: {};
162
162
  B: {};
@@ -188,9 +188,9 @@ export declare const Default: StoryFn<{
188
188
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, {
190
190
  persistent: boolean;
191
+ maximized: boolean;
191
192
  transitionShow: string;
192
193
  transitionHide: string;
193
- maximized: boolean;
194
194
  }>;
195
195
  __isFragment?: undefined;
196
196
  __isTeleport?: undefined;
@@ -221,9 +221,9 @@ export declare const Default: StoryFn<{
221
221
  "update:modelValue": (value: boolean) => any;
222
222
  }, string, {
223
223
  persistent: boolean;
224
+ maximized: boolean;
224
225
  transitionShow: string;
225
226
  transitionHide: string;
226
- maximized: boolean;
227
227
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
228
228
  $slots: {
229
229
  default?(_: {}): any;
@@ -44,9 +44,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
44
44
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
45
45
  }>, {
46
46
  persistent: boolean;
47
+ maximized: boolean;
47
48
  transitionShow: string;
48
49
  transitionHide: string;
49
- maximized: boolean;
50
50
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
51
51
  default?(_: {}): any;
52
52
  title?(_: {}): any;
@@ -63,9 +63,9 @@ declare const _default: {
63
63
  }, import('vue').PublicProps, {
64
64
  title: string;
65
65
  margin: string;
66
+ list: import('../../../interfaces').IOrdered[];
66
67
  background: string;
67
68
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
68
- list: import('../../../interfaces').IOrdered[];
69
69
  sortable: boolean;
70
70
  showAdd: boolean;
71
71
  showDelete: boolean;
@@ -134,9 +134,9 @@ declare const _default: {
134
134
  }>, {}, {}, {}, {}, {
135
135
  title: string;
136
136
  margin: string;
137
+ list: import('../../../interfaces').IOrdered[];
137
138
  background: string;
138
139
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
139
- list: import('../../../interfaces').IOrdered[];
140
140
  sortable: boolean;
141
141
  showAdd: boolean;
142
142
  showDelete: boolean;
@@ -207,9 +207,9 @@ declare const _default: {
207
207
  }, string, {
208
208
  title: string;
209
209
  margin: string;
210
+ list: import('../../../interfaces').IOrdered[];
210
211
  background: string;
211
212
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
212
- list: import('../../../interfaces').IOrdered[];
213
213
  sortable: boolean;
214
214
  showAdd: boolean;
215
215
  showDelete: boolean;
@@ -322,9 +322,9 @@ export declare const Sortable: StoryFn<{
322
322
  }, import('vue').PublicProps, {
323
323
  title: string;
324
324
  margin: string;
325
+ list: import('../../../interfaces').IOrdered[];
325
326
  background: string;
326
327
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
327
- list: import('../../../interfaces').IOrdered[];
328
328
  sortable: boolean;
329
329
  showAdd: boolean;
330
330
  showDelete: boolean;
@@ -393,9 +393,9 @@ export declare const Sortable: StoryFn<{
393
393
  }>, {}, {}, {}, {}, {
394
394
  title: string;
395
395
  margin: string;
396
+ list: import('../../../interfaces').IOrdered[];
396
397
  background: string;
397
398
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
398
- list: import('../../../interfaces').IOrdered[];
399
399
  sortable: boolean;
400
400
  showAdd: boolean;
401
401
  showDelete: boolean;
@@ -466,9 +466,9 @@ export declare const Sortable: StoryFn<{
466
466
  }, string, {
467
467
  title: string;
468
468
  margin: string;
469
+ list: import('../../../interfaces').IOrdered[];
469
470
  background: string;
470
471
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
471
- list: import('../../../interfaces').IOrdered[];
472
472
  sortable: boolean;
473
473
  showAdd: boolean;
474
474
  showDelete: boolean;
@@ -551,9 +551,9 @@ export declare const Static: StoryFn<{
551
551
  }, import('vue').PublicProps, {
552
552
  title: string;
553
553
  margin: string;
554
+ list: import('../../../interfaces').IOrdered[];
554
555
  background: string;
555
556
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
556
- list: import('../../../interfaces').IOrdered[];
557
557
  sortable: boolean;
558
558
  showAdd: boolean;
559
559
  showDelete: boolean;
@@ -622,9 +622,9 @@ export declare const Static: StoryFn<{
622
622
  }>, {}, {}, {}, {}, {
623
623
  title: string;
624
624
  margin: string;
625
+ list: import('../../../interfaces').IOrdered[];
625
626
  background: string;
626
627
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
627
- list: import('../../../interfaces').IOrdered[];
628
628
  sortable: boolean;
629
629
  showAdd: boolean;
630
630
  showDelete: boolean;
@@ -695,9 +695,9 @@ export declare const Static: StoryFn<{
695
695
  }, string, {
696
696
  title: string;
697
697
  margin: string;
698
+ list: import('../../../interfaces').IOrdered[];
698
699
  background: string;
699
700
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
700
- list: import('../../../interfaces').IOrdered[];
701
701
  sortable: boolean;
702
702
  showAdd: boolean;
703
703
  showDelete: boolean;
@@ -108,9 +108,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
108
108
  }>, {
109
109
  title: string;
110
110
  margin: string;
111
+ list: IOrdered[];
111
112
  background: string;
112
113
  store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
113
- list: IOrdered[];
114
114
  sortable: boolean;
115
115
  showAdd: boolean;
116
116
  showDelete: boolean;
@@ -16,8 +16,8 @@ declare const _default: {
16
16
  }, import('vue').PublicProps, {
17
17
  title: string;
18
18
  width: string;
19
- disabled: boolean;
20
19
  modelValue: boolean;
20
+ disabled: boolean;
21
21
  showConfirm: boolean;
22
22
  confirmLabel: string;
23
23
  cancelLabel: string;
@@ -38,8 +38,8 @@ declare const _default: {
38
38
  }, {}, {}, {}, {
39
39
  title: string;
40
40
  width: string;
41
- disabled: boolean;
42
41
  modelValue: boolean;
42
+ disabled: boolean;
43
43
  showConfirm: boolean;
44
44
  confirmLabel: string;
45
45
  cancelLabel: string;
@@ -61,8 +61,8 @@ declare const _default: {
61
61
  }, string, {
62
62
  title: string;
63
63
  width: string;
64
- disabled: boolean;
65
64
  modelValue: boolean;
65
+ disabled: boolean;
66
66
  showConfirm: boolean;
67
67
  confirmLabel: string;
68
68
  cancelLabel: string;
@@ -116,8 +116,8 @@ export declare const Default: StoryFn<{
116
116
  }, import('vue').PublicProps, {
117
117
  title: string;
118
118
  width: string;
119
- disabled: boolean;
120
119
  modelValue: boolean;
120
+ disabled: boolean;
121
121
  showConfirm: boolean;
122
122
  confirmLabel: string;
123
123
  cancelLabel: string;
@@ -138,8 +138,8 @@ export declare const Default: StoryFn<{
138
138
  }, {}, {}, {}, {
139
139
  title: string;
140
140
  width: string;
141
- disabled: boolean;
142
141
  modelValue: boolean;
142
+ disabled: boolean;
143
143
  showConfirm: boolean;
144
144
  confirmLabel: string;
145
145
  cancelLabel: string;
@@ -161,8 +161,8 @@ export declare const Default: StoryFn<{
161
161
  }, string, {
162
162
  title: string;
163
163
  width: string;
164
- disabled: boolean;
165
164
  modelValue: boolean;
165
+ disabled: boolean;
166
166
  showConfirm: boolean;
167
167
  confirmLabel: string;
168
168
  cancelLabel: string;
@@ -186,8 +186,8 @@ export declare const WithoutConfirm: StoryFn<{
186
186
  }, import('vue').PublicProps, {
187
187
  title: string;
188
188
  width: string;
189
- disabled: boolean;
190
189
  modelValue: boolean;
190
+ disabled: boolean;
191
191
  showConfirm: boolean;
192
192
  confirmLabel: string;
193
193
  cancelLabel: string;
@@ -208,8 +208,8 @@ export declare const WithoutConfirm: StoryFn<{
208
208
  }, {}, {}, {}, {
209
209
  title: string;
210
210
  width: string;
211
- disabled: boolean;
212
211
  modelValue: boolean;
212
+ disabled: boolean;
213
213
  showConfirm: boolean;
214
214
  confirmLabel: string;
215
215
  cancelLabel: string;
@@ -231,8 +231,8 @@ export declare const WithoutConfirm: StoryFn<{
231
231
  }, string, {
232
232
  title: string;
233
233
  width: string;
234
- disabled: boolean;
235
234
  modelValue: boolean;
235
+ disabled: boolean;
236
236
  showConfirm: boolean;
237
237
  confirmLabel: string;
238
238
  cancelLabel: string;
@@ -13,8 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<PE
13
13
  }>, {
14
14
  title: string;
15
15
  width: string;
16
- disabled: boolean;
17
16
  modelValue: boolean;
17
+ disabled: boolean;
18
18
  showConfirm: boolean;
19
19
  confirmLabel: string;
20
20
  cancelLabel: string;
@@ -9,7 +9,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
9
9
  default: number;
10
10
  };
11
11
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- close: (...args: any[]) => void;
13
12
  crop: (...args: any[]) => void;
14
13
  "update:ratio": (...args: any[]) => void;
15
14
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
@@ -23,7 +22,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
23
22
  default: number;
24
23
  };
25
24
  }>> & Readonly<{
26
- onClose?: ((...args: any[]) => any) | undefined;
27
25
  onCrop?: ((...args: any[]) => any) | undefined;
28
26
  "onUpdate:ratio"?: ((...args: any[]) => any) | undefined;
29
27
  }>, {
@@ -80,7 +78,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
80
78
  $forceUpdate: () => void;
81
79
  $nextTick: typeof import('vue').nextTick;
82
80
  $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" | "rotate" | "move" | "setCoordinates" | "getResult" | "zoom" | "flip"> & {
81
+ } & Readonly<{}> & Omit<Readonly<any>, "refresh" | "reset" | "move" | "rotate" | "setCoordinates" | "getResult" | "zoom" | "flip"> & {
84
82
  getResult: () => import('vue-advanced-cropper').CropperResult;
85
83
  setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
86
84
  refresh: () => void;
@@ -144,7 +142,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
144
142
  $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
143
  } & Readonly<{
146
144
  [x: string]: any;
147
- }> & Omit<Readonly<any>, "refresh" | "reset" | "rotate" | "move" | "setCoordinates" | "getResult" | "zoom" | "flip"> & {
145
+ }> & Omit<Readonly<any>, "refresh" | "reset" | "move" | "rotate" | "setCoordinates" | "getResult" | "zoom" | "flip"> & {
148
146
  getResult: () => import('vue-advanced-cropper').CropperResult;
149
147
  setCoordinates: (transform: import('vue-advanced-cropper').Transform | import('vue-advanced-cropper').Transform[]) => void;
150
148
  refresh: () => void;
@@ -1,65 +1,30 @@
1
+ import { QUploader } from 'quasar';
1
2
  import { default as FileInfo } from '../../../classes/FileInfo';
2
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
- withCrop: {
4
- type: BooleanConstructor;
5
- default: boolean;
6
- };
7
- fileInfo: {
8
- type: typeof FileInfo;
9
- required: true;
10
- default: FileInfo;
11
- };
12
- height: {
13
- type: NumberConstructor;
14
- default: number;
15
- };
16
- emitCrop: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- ratio: {
21
- type: NumberConstructor;
22
- required: false;
23
- default: number;
24
- };
25
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ interface Props {
4
+ withCrop?: boolean;
5
+ fileInfo: FileInfo;
6
+ height?: number;
7
+ emitCrop?: boolean;
8
+ ratio?: number;
9
+ acceptTypes?: string;
10
+ maxFileSize?: number;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
13
  removeFile: (...args: any[]) => void;
27
14
  crop: (...args: any[]) => void;
28
15
  "update:ratio": (...args: any[]) => void;
29
- }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
30
- withCrop: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
- fileInfo: {
35
- type: typeof FileInfo;
36
- required: true;
37
- default: FileInfo;
38
- };
39
- height: {
40
- type: NumberConstructor;
41
- default: number;
42
- };
43
- emitCrop: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- ratio: {
48
- type: NumberConstructor;
49
- required: false;
50
- default: number;
51
- };
52
- }>> & Readonly<{
16
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
53
17
  onRemoveFile?: ((...args: any[]) => any) | undefined;
54
18
  onCrop?: ((...args: any[]) => any) | undefined;
55
19
  "onUpdate:ratio"?: ((...args: any[]) => any) | undefined;
56
20
  }>, {
57
- fileInfo: FileInfo;
58
21
  height: number;
59
22
  ratio: number;
60
23
  withCrop: boolean;
61
24
  emitCrop: boolean;
62
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
63
- uploader: HTMLInputElement;
64
- }, any>;
25
+ acceptTypes: string;
26
+ maxFileSize: number;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
28
+ uploader: QUploader | null;
29
+ }, HTMLDivElement>;
65
30
  export default _default;