sprof 0.10.1 → 1.0.0

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 (85) hide show
  1. package/dist/core/classes/FileInfo.d.ts +1 -1
  2. package/dist/core/components/atoms/PButton/PButton.stories.d.ts +18 -18
  3. package/dist/core/components/atoms/PButton/PButton.vue.d.ts +4 -4
  4. package/dist/core/components/atoms/POptionsListSingle/POptionsListSingle.vue.d.ts +16 -0
  5. package/dist/core/components/atoms/PRadio/PRadio.stories.d.ts +10 -10
  6. package/dist/core/components/atoms/PRadio/PRadio.vue.d.ts +5 -5
  7. package/dist/core/components/components.d.ts +1 -21
  8. package/dist/core/components/molecules/Collapse/CollapseItem.stories.d.ts +2 -2
  9. package/dist/core/components/molecules/Collapse/CollapseItem.vue.d.ts +1 -1
  10. package/dist/core/components/molecules/PAddDialog/PAddDialog.vue.d.ts +16 -2
  11. package/dist/core/components/molecules/PCard/PCard.stories.d.ts +12 -12
  12. package/dist/core/components/molecules/PCard/PCard.vue.d.ts +1 -1
  13. package/dist/core/components/molecules/PCrudList/PCrudList.vue.d.ts +31 -10
  14. package/dist/core/components/molecules/PEditDialog/pEditDialogProps.d.ts +2 -2
  15. package/dist/core/components/molecules/PModal/PModal.vue.d.ts +1 -1
  16. package/dist/core/components/organisms/PAuthModal/PAuthModal.stories.d.ts +69 -94
  17. package/dist/core/composables/usePagination.d.ts +6 -5
  18. package/dist/core/helpers/Validate.d.ts +8 -7
  19. package/dist/core/interfaces/IHTTPTypes.d.ts +2 -5
  20. package/dist/core/interfaces/IStorePaginator.d.ts +1 -1
  21. package/dist/core/ui/Dialog.d.ts +3 -3
  22. package/dist/core/ui/Notify.d.ts +5 -1
  23. package/dist/global-components.d.ts +0 -20
  24. package/dist/modules/contacts/components/PContactFormDeleteDialog.vue.d.ts +5 -5
  25. package/dist/modules/contacts/components/PContactFormEditDialog.vue.d.ts +5 -5
  26. package/dist/modules/contacts/types.d.ts +5 -4
  27. package/dist/modules/schedule/classes/Schedule.d.ts +2 -1
  28. package/dist/modules/schedule/classes/ScheduleDay.d.ts +2 -1
  29. package/dist/modules/schedule/classes/SchedulePlace.d.ts +2 -1
  30. package/dist/modules/schedule/classes/ScheduleSession.d.ts +2 -1
  31. package/dist/modules/schedule/classes/ScheduleSlot.d.ts +2 -1
  32. package/dist/modules/schedule/classes/types.d.ts +14 -0
  33. package/dist/modules/table/PTable.vue.d.ts +103 -0
  34. package/dist/modules/table/cells/PTableBadge.vue.d.ts +15 -6
  35. package/dist/modules/table/cells/PTableBadges.vue.d.ts +16 -7
  36. package/dist/modules/table/cells/PTableNumber.vue.d.ts +7 -5
  37. package/dist/modules/table/cells/PTableSelect.vue.d.ts +10 -3
  38. package/dist/modules/table/cells/PTableString.vue.d.ts +7 -5
  39. package/dist/modules/tabs/components/PTabsLeft.vue.d.ts +4 -3
  40. package/dist/sprof.js +6173 -7420
  41. package/dist/style.css +1 -1
  42. package/dist/test-utils/quasar-minimal.d.ts +3 -4
  43. package/package.json +15 -14
  44. package/dist/core/components/AdaptiveContainer.vue.d.ts +0 -38
  45. package/dist/core/components/AdaptiveContainerHorizontal.vue.d.ts +0 -60
  46. package/dist/core/components/CarouselImages.vue.d.ts +0 -64
  47. package/dist/core/components/ContextWindow.vue.d.ts +0 -34
  48. package/dist/core/components/FilterCheckbox.vue.d.ts +0 -21
  49. package/dist/core/components/FiltersButtonsSelect.vue.d.ts +0 -74
  50. package/dist/core/components/GeneralItem.vue.d.ts +0 -122
  51. package/dist/core/components/InfoItem.vue.d.ts +0 -231
  52. package/dist/core/components/InfoItemSelectButtons.vue.d.ts +0 -34
  53. package/dist/core/components/LeftRightContainer.vue.d.ts +0 -35
  54. package/dist/core/components/PhoneForm.vue.d.ts +0 -10
  55. package/dist/core/components/ResearcheContainer.vue.d.ts +0 -36
  56. package/dist/core/components/RightSliderContainer.vue.d.ts +0 -82
  57. package/dist/core/components/RightTabsContainer.vue.d.ts +0 -74
  58. package/dist/core/components/SortList.vue.d.ts +0 -18
  59. package/dist/core/components/SortSelect.vue.d.ts +0 -27
  60. package/dist/core/components/Switch3Pos.vue.d.ts +0 -35
  61. package/dist/core/components/ThemeWrapper.vue.d.ts +0 -9
  62. package/dist/core/components/ToggleInfoItem.vue.d.ts +0 -31
  63. package/dist/core/components/TopSliderContainer.vue.d.ts +0 -59
  64. package/dist/core/components/atoms/POptionsListSingle/POptionsListSingle.stories.d.ts +0 -31
  65. package/dist/core/components/molecules/PCrudList/PCrudList.stories.d.ts +0 -729
  66. package/dist/modules/forms/components/Fields/DateField.vue.d.ts +0 -16
  67. package/dist/modules/forms/components/Fields/FieldsComponentsMap.d.ts +0 -172
  68. package/dist/modules/forms/components/Fields/FileField.vue.d.ts +0 -16
  69. package/dist/modules/forms/components/Fields/MatrixRadioField.vue.d.ts +0 -24
  70. package/dist/modules/forms/components/Fields/MatrixSetField.vue.d.ts +0 -24
  71. package/dist/modules/forms/components/Fields/NumberField.vue.d.ts +0 -16
  72. package/dist/modules/forms/components/Fields/RadioField.vue.d.ts +0 -24
  73. package/dist/modules/forms/components/Fields/SetField.vue.d.ts +0 -26
  74. package/dist/modules/forms/components/Fields/StringField.vue.d.ts +0 -16
  75. package/dist/modules/forms/components/Fields/TextField.vue.d.ts +0 -16
  76. package/dist/modules/forms/components/FormPage.vue.d.ts +0 -6
  77. package/dist/modules/forms/components/FormPageSections.vue.d.ts +0 -24
  78. package/dist/modules/forms/components/admin/Fields/FieldsEditsComponents.d.ts +0 -50
  79. package/dist/modules/forms/components/admin/Fields/MatrixFieldEdit.vue.d.ts +0 -12
  80. package/dist/modules/forms/components/admin/Fields/NumberFieldEdit.vue.d.ts +0 -2
  81. package/dist/modules/forms/components/admin/Fields/RadioFieldEdit.vue.d.ts +0 -12
  82. package/dist/modules/forms/components/admin/Fields/SetFieldEdit.vue.d.ts +0 -12
  83. package/dist/modules/forms/components/admin/Fields/StringFieldEdit.vue.d.ts +0 -2
  84. package/dist/modules/forms/components/index.d.ts +0 -3
  85. package/dist/sprof.umd.cjs +0 -44
@@ -13,7 +13,7 @@ export default class FileInfo {
13
13
  itemOneId?: string;
14
14
  description: string;
15
15
  order: number;
16
- constructor(i?: FileInfo);
16
+ constructor(i?: Partial<FileInfo>);
17
17
  /**
18
18
  * Ссылка на файл: `url`, иначе `${StaticUrl}/${fileSystemPath}`.
19
19
  *
@@ -39,7 +39,7 @@ declare const _default: Meta<{
39
39
  required: false;
40
40
  };
41
41
  type: {
42
- type: globalThis.PropType<Statuses>;
42
+ type: globalThis.PropType<Statuses | "button" | "reset" | "submit">;
43
43
  default: Statuses;
44
44
  required: false;
45
45
  };
@@ -54,10 +54,10 @@ declare const _default: Meta<{
54
54
  required: false;
55
55
  };
56
56
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
57
- type: Statuses;
57
+ text: string;
58
+ type: Statuses | "button" | "reset" | "submit";
58
59
  size: "s" | "l" | "m" | "xs" | "xl" | "sm" | "md" | "lg";
59
60
  padding: string;
60
- text: string;
61
61
  margin: string;
62
62
  width: string;
63
63
  height: string;
@@ -108,7 +108,7 @@ declare const _default: Meta<{
108
108
  required: false;
109
109
  };
110
110
  type: {
111
- type: globalThis.PropType<Statuses>;
111
+ type: globalThis.PropType<Statuses | "button" | "reset" | "submit">;
112
112
  default: Statuses;
113
113
  required: false;
114
114
  };
@@ -123,10 +123,10 @@ declare const _default: Meta<{
123
123
  required: false;
124
124
  };
125
125
  }>> & Readonly<{}>, {}, {}, {}, {}, {
126
- type: Statuses;
126
+ text: string;
127
+ type: Statuses | "button" | "reset" | "submit";
127
128
  size: "s" | "l" | "m" | "xs" | "xl" | "sm" | "md" | "lg";
128
129
  padding: string;
129
- text: string;
130
130
  margin: string;
131
131
  width: string;
132
132
  height: string;
@@ -174,7 +174,7 @@ declare const _default: Meta<{
174
174
  required: false;
175
175
  };
176
176
  type: {
177
- type: globalThis.PropType<Statuses>;
177
+ type: globalThis.PropType<Statuses | "button" | "reset" | "submit">;
178
178
  default: Statuses;
179
179
  required: false;
180
180
  };
@@ -189,10 +189,10 @@ declare const _default: Meta<{
189
189
  required: false;
190
190
  };
191
191
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
192
- type: Statuses;
192
+ text: string;
193
+ type: Statuses | "button" | "reset" | "submit";
193
194
  size: "s" | "l" | "m" | "xs" | "xl" | "sm" | "md" | "lg";
194
195
  padding: string;
195
- text: string;
196
196
  margin: string;
197
197
  width: string;
198
198
  height: string;
@@ -243,7 +243,7 @@ export declare const Base: StoryFn<{
243
243
  required: false;
244
244
  };
245
245
  type: {
246
- type: globalThis.PropType<Statuses>;
246
+ type: globalThis.PropType<Statuses | "button" | "reset" | "submit">;
247
247
  default: Statuses;
248
248
  required: false;
249
249
  };
@@ -258,10 +258,10 @@ export declare const Base: StoryFn<{
258
258
  required: false;
259
259
  };
260
260
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
261
- type: Statuses;
261
+ text: string;
262
+ type: Statuses | "button" | "reset" | "submit";
262
263
  size: "s" | "l" | "m" | "xs" | "xl" | "sm" | "md" | "lg";
263
264
  padding: string;
264
- text: string;
265
265
  margin: string;
266
266
  width: string;
267
267
  height: string;
@@ -312,7 +312,7 @@ export declare const Base: StoryFn<{
312
312
  required: false;
313
313
  };
314
314
  type: {
315
- type: globalThis.PropType<Statuses>;
315
+ type: globalThis.PropType<Statuses | "button" | "reset" | "submit">;
316
316
  default: Statuses;
317
317
  required: false;
318
318
  };
@@ -327,10 +327,10 @@ export declare const Base: StoryFn<{
327
327
  required: false;
328
328
  };
329
329
  }>> & Readonly<{}>, {}, {}, {}, {}, {
330
- type: Statuses;
330
+ text: string;
331
+ type: Statuses | "button" | "reset" | "submit";
331
332
  size: "s" | "l" | "m" | "xs" | "xl" | "sm" | "md" | "lg";
332
333
  padding: string;
333
- text: string;
334
334
  margin: string;
335
335
  width: string;
336
336
  height: string;
@@ -378,7 +378,7 @@ export declare const Base: StoryFn<{
378
378
  required: false;
379
379
  };
380
380
  type: {
381
- type: globalThis.PropType<Statuses>;
381
+ type: globalThis.PropType<Statuses | "button" | "reset" | "submit">;
382
382
  default: Statuses;
383
383
  required: false;
384
384
  };
@@ -393,10 +393,10 @@ export declare const Base: StoryFn<{
393
393
  required: false;
394
394
  };
395
395
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
396
- type: Statuses;
396
+ text: string;
397
+ type: Statuses | "button" | "reset" | "submit";
397
398
  size: "s" | "l" | "m" | "xs" | "xl" | "sm" | "md" | "lg";
398
399
  padding: string;
399
- text: string;
400
400
  margin: string;
401
401
  width: string;
402
402
  height: string;
@@ -37,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
37
37
  required: false;
38
38
  };
39
39
  type: {
40
- type: globalThis.PropType<Statuses>;
40
+ type: globalThis.PropType<Statuses | "button" | "reset" | "submit">;
41
41
  default: Statuses;
42
42
  required: false;
43
43
  };
@@ -88,7 +88,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
88
88
  required: false;
89
89
  };
90
90
  type: {
91
- type: globalThis.PropType<Statuses>;
91
+ type: globalThis.PropType<Statuses | "button" | "reset" | "submit">;
92
92
  default: Statuses;
93
93
  required: false;
94
94
  };
@@ -103,10 +103,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
103
103
  required: false;
104
104
  };
105
105
  }>> & Readonly<{}>, {
106
- type: Statuses;
106
+ text: string;
107
+ type: Statuses | "button" | "reset" | "submit";
107
108
  size: "s" | "l" | "m" | "xs" | "xl" | "sm" | "md" | "lg";
108
109
  padding: string;
109
- text: string;
110
110
  margin: string;
111
111
  width: string;
112
112
  height: string;
@@ -0,0 +1,16 @@
1
+ import { default as IOption } from '../../../interfaces/IOption';
2
+ interface OptionsStore {
3
+ Options: IOption[];
4
+ Item: unknown;
5
+ GetOptions: (label?: string, value?: string) => Promise<void>;
6
+ Get: (id?: string) => Promise<void>;
7
+ }
8
+ type __VLS_Props = {
9
+ store: OptionsStore;
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
+ select: (value: unknown) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onSelect?: ((value: unknown) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ export default _default;
@@ -39,11 +39,11 @@ declare const _default: {
39
39
  default: undefined;
40
40
  };
41
41
  modelValue: {
42
- type: globalThis.PropType<string>;
42
+ type: globalThis.PropType<string | null>;
43
43
  };
44
44
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
45
  change: (...args: any[]) => void;
46
- "update:modelValue": (value: string) => void;
46
+ "update:modelValue": (value: string | null) => void;
47
47
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
48
48
  label: {
49
49
  type: StringConstructor;
@@ -82,17 +82,17 @@ declare const _default: {
82
82
  default: undefined;
83
83
  };
84
84
  modelValue: {
85
- type: globalThis.PropType<string>;
85
+ type: globalThis.PropType<string | null>;
86
86
  };
87
87
  }>> & Readonly<{
88
88
  onChange?: ((...args: any[]) => any) | undefined;
89
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
89
+ "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
90
90
  }>, {
91
91
  size: string;
92
92
  label: string;
93
93
  padding: string;
94
- value: string | boolean;
95
94
  name: string;
95
+ value: string | boolean;
96
96
  margin: string;
97
97
  width: string;
98
98
  fontSize: string;
@@ -176,11 +176,11 @@ export declare const DefaultRadio: StoryFn<import('vue').DefineComponent<globalT
176
176
  default: undefined;
177
177
  };
178
178
  modelValue: {
179
- type: globalThis.PropType<string>;
179
+ type: globalThis.PropType<string | null>;
180
180
  };
181
181
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
182
182
  change: (...args: any[]) => void;
183
- "update:modelValue": (value: string) => void;
183
+ "update:modelValue": (value: string | null) => void;
184
184
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
185
185
  label: {
186
186
  type: StringConstructor;
@@ -219,17 +219,17 @@ export declare const DefaultRadio: StoryFn<import('vue').DefineComponent<globalT
219
219
  default: undefined;
220
220
  };
221
221
  modelValue: {
222
- type: globalThis.PropType<string>;
222
+ type: globalThis.PropType<string | null>;
223
223
  };
224
224
  }>> & Readonly<{
225
225
  onChange?: ((...args: any[]) => any) | undefined;
226
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
226
+ "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
227
227
  }>, {
228
228
  size: string;
229
229
  label: string;
230
230
  padding: string;
231
- value: string | boolean;
232
231
  name: string;
232
+ value: string | boolean;
233
233
  margin: string;
234
234
  width: string;
235
235
  fontSize: string;
@@ -36,11 +36,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
36
36
  default: undefined;
37
37
  };
38
38
  modelValue: {
39
- type: globalThis.PropType<string>;
39
+ type: globalThis.PropType<string | null>;
40
40
  };
41
41
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
42
  change: (...args: any[]) => void;
43
- "update:modelValue": (value: string) => void;
43
+ "update:modelValue": (value: string | null) => void;
44
44
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
45
45
  label: {
46
46
  type: StringConstructor;
@@ -79,17 +79,17 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
79
79
  default: undefined;
80
80
  };
81
81
  modelValue: {
82
- type: globalThis.PropType<string>;
82
+ type: globalThis.PropType<string | null>;
83
83
  };
84
84
  }>> & Readonly<{
85
85
  onChange?: ((...args: any[]) => any) | undefined;
86
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
86
+ "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
87
87
  }>, {
88
88
  size: string;
89
89
  label: string;
90
90
  padding: string;
91
- value: string | boolean;
92
91
  name: string;
92
+ value: string | boolean;
93
93
  margin: string;
94
94
  width: string;
95
95
  fontSize: string;
@@ -1,33 +1,13 @@
1
- import { default as AdaptiveContainer } from './AdaptiveContainer.vue';
2
- import { default as AdaptiveContainerHorizontal } from './AdaptiveContainerHorizontal.vue';
3
1
  import { default as AdminGallery } from './AdminGallery.vue';
4
- import { default as CarouselImages } from './CarouselImages.vue';
5
- import { default as ContextWindow } from './ContextWindow.vue';
6
2
  import { default as DropList } from './DropList.vue';
7
- import { default as FilterCheckbox } from './FilterCheckbox.vue';
8
- import { default as FiltersButtonsSelect } from './FiltersButtonsSelect.vue';
9
3
  import { default as FilterSelect } from './FilterSelect.vue';
10
- import { default as GeneralItem } from './GeneralItem.vue';
11
4
  import { default as GridContainer } from './GridContainer.vue';
12
- import { default as InfoItem } from './InfoItem.vue';
13
- import { default as InfoItemSelectButtons } from './InfoItemSelectButtons.vue';
14
- import { default as LeftRightContainer } from './LeftRightContainer.vue';
15
5
  import { default as PageNotFound } from './pages/PageNotFound.vue';
16
6
  import { default as PAutocomplete } from './PAutocomplete.vue';
17
- import { default as PhoneForm } from './PhoneForm.vue';
18
7
  import { default as PPagination } from './PPagination.vue';
19
8
  import { default as RemoteSearch } from './RemoteSearch.vue';
20
- import { default as ResearcheContainer } from './ResearcheContainer.vue';
21
- import { default as RightSliderContainer } from './RightSliderContainer.vue';
22
- import { default as RightTabsContainer } from './RightTabsContainer.vue';
23
9
  import { default as SelectValueType } from './SelectValueType.vue';
24
- import { default as SortList } from './SortList.vue';
25
- import { default as SortSelect } from './SortSelect.vue';
26
- import { default as Switch3Pos } from './Switch3Pos.vue';
27
- import { default as ThemeWrapper } from './ThemeWrapper.vue';
28
- import { default as ToggleInfoItem } from './ToggleInfoItem.vue';
29
- import { default as TopSliderContainer } from './TopSliderContainer.vue';
30
10
  export default function install(app: {
31
11
  component: (a: string, b: unknown) => void;
32
12
  }): void;
33
- export { AdaptiveContainer, AdaptiveContainerHorizontal, AdminGallery, CarouselImages, ContextWindow, DropList, FilterCheckbox, FiltersButtonsSelect, FilterSelect, GeneralItem, GridContainer, InfoItem, InfoItemSelectButtons, LeftRightContainer, PageNotFound, PAutocomplete, PhoneForm, PPagination, RemoteSearch, ResearcheContainer, RightSliderContainer, RightTabsContainer, SelectValueType, SortList, SortSelect, Switch3Pos, ThemeWrapper, ToggleInfoItem, TopSliderContainer, };
13
+ export { AdminGallery, DropList, FilterSelect, GridContainer, PageNotFound, PAutocomplete, PPagination, RemoteSearch, SelectValueType, };
@@ -103,8 +103,8 @@ declare const _default: {
103
103
  }>> & Readonly<{
104
104
  onChangeActiveId?: ((...args: any[]) => any) | undefined;
105
105
  }>, {
106
- padding: string;
107
106
  title: string;
107
+ padding: string;
108
108
  margin: string;
109
109
  background: string;
110
110
  tabId: string;
@@ -257,8 +257,8 @@ export declare const Default: StoryFn<import('vue').DefineComponent<globalThis.E
257
257
  }>> & Readonly<{
258
258
  onChangeActiveId?: ((...args: any[]) => any) | undefined;
259
259
  }>, {
260
- padding: string;
261
260
  title: string;
261
+ padding: string;
262
262
  margin: string;
263
263
  background: string;
264
264
  tabId: string;
@@ -101,8 +101,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
101
101
  }>> & Readonly<{
102
102
  onChangeActiveId?: ((...args: any[]) => any) | undefined;
103
103
  }>, {
104
- padding: string;
105
104
  title: string;
105
+ padding: string;
106
106
  margin: string;
107
107
  background: string;
108
108
  tabId: string;
@@ -1,10 +1,24 @@
1
+ import { default as IOption } from '../../../interfaces/IOption';
2
+ /**
3
+ * Диалог «добавить из списка» (P2.3, перенесено из portal):
4
+ * открывает список опций store (GetOptions) и эмитит клон выбранного item.
5
+ *
6
+ * v-model — видимость диалога; `store` — справочник с опциями (`OptionsStore`);
7
+ * событие `add(item)` — выбранный элемент (клон).
8
+ */
9
+ interface OptionsStore {
10
+ Options: IOption[];
11
+ Item: unknown;
12
+ GetOptions: (label?: string, value?: string) => Promise<void>;
13
+ Get: (id?: string) => Promise<void>;
14
+ }
1
15
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
16
  title: {
3
17
  type: StringConstructor;
4
18
  default: string;
5
19
  };
6
20
  store: {
7
- type: globalThis.PropType<PF.H.BaseStore>;
21
+ type: globalThis.PropType<OptionsStore>;
8
22
  required: true;
9
23
  };
10
24
  modelValue: {
@@ -23,7 +37,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
23
37
  default: string;
24
38
  };
25
39
  store: {
26
- type: globalThis.PropType<PF.H.BaseStore>;
40
+ type: globalThis.PropType<OptionsStore>;
27
41
  required: true;
28
42
  };
29
43
  modelValue: {
@@ -48,10 +48,10 @@ declare const _default: {
48
48
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
49
  click: (...args: any[]) => void;
50
50
  }, import('vue').PublicProps, {
51
+ title: string;
51
52
  caption: string;
52
53
  icon: string;
53
54
  img: string;
54
- title: string;
55
55
  height: string;
56
56
  maxHeight: string;
57
57
  content: string;
@@ -111,10 +111,10 @@ declare const _default: {
111
111
  }>> & Readonly<{
112
112
  onClick?: ((...args: any[]) => any) | undefined;
113
113
  }>, {}, {}, {}, {}, {
114
+ title: string;
114
115
  caption: string;
115
116
  icon: string;
116
117
  img: string;
117
- title: string;
118
118
  height: string;
119
119
  maxHeight: string;
120
120
  content: string;
@@ -171,10 +171,10 @@ declare const _default: {
171
171
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
172
172
  click: (...args: any[]) => void;
173
173
  }, string, {
174
+ title: string;
174
175
  caption: string;
175
176
  icon: string;
176
177
  img: string;
177
- title: string;
178
178
  height: string;
179
179
  maxHeight: string;
180
180
  content: string;
@@ -279,10 +279,10 @@ export declare const Default: StoryFn<{
279
279
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
280
280
  click: (...args: any[]) => void;
281
281
  }, import('vue').PublicProps, {
282
+ title: string;
282
283
  caption: string;
283
284
  icon: string;
284
285
  img: string;
285
- title: string;
286
286
  height: string;
287
287
  maxHeight: string;
288
288
  content: string;
@@ -342,10 +342,10 @@ export declare const Default: StoryFn<{
342
342
  }>> & Readonly<{
343
343
  onClick?: ((...args: any[]) => any) | undefined;
344
344
  }>, {}, {}, {}, {}, {
345
+ title: string;
345
346
  caption: string;
346
347
  icon: string;
347
348
  img: string;
348
- title: string;
349
349
  height: string;
350
350
  maxHeight: string;
351
351
  content: string;
@@ -402,10 +402,10 @@ export declare const Default: StoryFn<{
402
402
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
403
403
  click: (...args: any[]) => void;
404
404
  }, string, {
405
+ title: string;
405
406
  caption: string;
406
407
  icon: string;
407
408
  img: string;
408
- title: string;
409
409
  height: string;
410
410
  maxHeight: string;
411
411
  content: string;
@@ -468,10 +468,10 @@ export declare const WithImage: StoryFn<{
468
468
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
469
469
  click: (...args: any[]) => void;
470
470
  }, import('vue').PublicProps, {
471
+ title: string;
471
472
  caption: string;
472
473
  icon: string;
473
474
  img: string;
474
- title: string;
475
475
  height: string;
476
476
  maxHeight: string;
477
477
  content: string;
@@ -531,10 +531,10 @@ export declare const WithImage: StoryFn<{
531
531
  }>> & Readonly<{
532
532
  onClick?: ((...args: any[]) => any) | undefined;
533
533
  }>, {}, {}, {}, {}, {
534
+ title: string;
534
535
  caption: string;
535
536
  icon: string;
536
537
  img: string;
537
- title: string;
538
538
  height: string;
539
539
  maxHeight: string;
540
540
  content: string;
@@ -591,10 +591,10 @@ export declare const WithImage: StoryFn<{
591
591
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
592
592
  click: (...args: any[]) => void;
593
593
  }, string, {
594
+ title: string;
594
595
  caption: string;
595
596
  icon: string;
596
597
  img: string;
597
- title: string;
598
598
  height: string;
599
599
  maxHeight: string;
600
600
  content: string;
@@ -657,10 +657,10 @@ export declare const WithFooter: StoryFn<{
657
657
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
658
658
  click: (...args: any[]) => void;
659
659
  }, import('vue').PublicProps, {
660
+ title: string;
660
661
  caption: string;
661
662
  icon: string;
662
663
  img: string;
663
- title: string;
664
664
  height: string;
665
665
  maxHeight: string;
666
666
  content: string;
@@ -720,10 +720,10 @@ export declare const WithFooter: StoryFn<{
720
720
  }>> & Readonly<{
721
721
  onClick?: ((...args: any[]) => any) | undefined;
722
722
  }>, {}, {}, {}, {}, {
723
+ title: string;
723
724
  caption: string;
724
725
  icon: string;
725
726
  img: string;
726
- title: string;
727
727
  height: string;
728
728
  maxHeight: string;
729
729
  content: string;
@@ -780,10 +780,10 @@ export declare const WithFooter: StoryFn<{
780
780
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
781
781
  click: (...args: any[]) => void;
782
782
  }, string, {
783
+ title: string;
783
784
  caption: string;
784
785
  icon: string;
785
786
  img: string;
786
- title: string;
787
787
  height: string;
788
788
  maxHeight: string;
789
789
  content: string;
@@ -85,10 +85,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
85
85
  }>> & Readonly<{
86
86
  onClick?: ((...args: any[]) => any) | undefined;
87
87
  }>, {
88
+ title: string;
88
89
  caption: string;
89
90
  icon: string;
90
91
  img: string;
91
- title: string;
92
92
  height: string;
93
93
  maxHeight: string;
94
94
  content: string;
@@ -1,4 +1,7 @@
1
1
  import { default as IOrdered } from '../../../interfaces/IOrdered';
2
+ interface OrderedItem extends IOrdered {
3
+ name?: string;
4
+ }
2
5
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
6
  sortable: {
4
7
  type: BooleanConstructor;
@@ -13,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
13
16
  default: boolean;
14
17
  };
15
18
  list: {
16
- type: globalThis.PropType<IOrdered[]>;
19
+ type: globalThis.PropType<OrderedItem[]>;
17
20
  default: () => never[];
18
21
  };
19
22
  title: {
@@ -22,11 +25,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
22
25
  default: string;
23
26
  };
24
27
  store: {
25
- type: typeof import('../../../helpers/BaseStore').default;
28
+ type: globalThis.PropType<{
29
+ Create: (item: unknown) => Promise<unknown>;
30
+ Update: (item: unknown) => Promise<unknown>;
31
+ UpdateMany: (items: unknown[]) => Promise<unknown>;
32
+ Remove: (id: string) => Promise<unknown>;
33
+ AppendToAll: (item: unknown) => void;
34
+ }>;
26
35
  default: undefined;
27
36
  };
28
37
  addFunc: {
29
- type: globalThis.PropType<() => IOrdered>;
38
+ type: globalThis.PropType<() => OrderedItem | Promise<OrderedItem>>;
30
39
  default: undefined;
31
40
  };
32
41
  addToList: {
@@ -66,7 +75,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
66
75
  default: boolean;
67
76
  };
68
77
  list: {
69
- type: globalThis.PropType<IOrdered[]>;
78
+ type: globalThis.PropType<OrderedItem[]>;
70
79
  default: () => never[];
71
80
  };
72
81
  title: {
@@ -75,11 +84,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
75
84
  default: string;
76
85
  };
77
86
  store: {
78
- type: typeof import('../../../helpers/BaseStore').default;
87
+ type: globalThis.PropType<{
88
+ Create: (item: unknown) => Promise<unknown>;
89
+ Update: (item: unknown) => Promise<unknown>;
90
+ UpdateMany: (items: unknown[]) => Promise<unknown>;
91
+ Remove: (id: string) => Promise<unknown>;
92
+ AppendToAll: (item: unknown) => void;
93
+ }>;
79
94
  default: undefined;
80
95
  };
81
96
  addFunc: {
82
- type: globalThis.PropType<() => IOrdered>;
97
+ type: globalThis.PropType<() => OrderedItem | Promise<OrderedItem>>;
83
98
  default: undefined;
84
99
  };
85
100
  addToList: {
@@ -109,12 +124,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
109
124
  title: string;
110
125
  margin: string;
111
126
  background: string;
112
- list: IOrdered[];
113
- store: import('../../../helpers/BaseStore').default<import('../../../interfaces').IWithId & import('../../../interfaces').IFileInfosGetter>;
127
+ list: OrderedItem[];
128
+ store: {
129
+ Create: (item: unknown) => Promise<unknown>;
130
+ Update: (item: unknown) => Promise<unknown>;
131
+ UpdateMany: (items: unknown[]) => Promise<unknown>;
132
+ Remove: (id: string) => Promise<unknown>;
133
+ AppendToAll: (item: unknown) => void;
134
+ };
114
135
  sortable: boolean;
115
136
  showAdd: boolean;
116
137
  showDelete: boolean;
117
- addFunc: () => IOrdered;
138
+ addFunc: () => OrderedItem | Promise<OrderedItem>;
118
139
  addToList: boolean;
119
140
  removeFromList: boolean;
120
141
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>, {
@@ -125,7 +146,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
125
146
  index: any;
126
147
  }): any;
127
148
  default?(_: {
128
- item: IOrdered;
149
+ item: OrderedItem;
129
150
  update: (item?: IOrdered | undefined) => Promise<void>;
130
151
  index: number;
131
152
  }): any;
@@ -1,10 +1,10 @@
1
1
  export interface PEditDialogProps {
2
- modelValue: boolean;
2
+ modelValue?: boolean;
3
3
  title?: string;
4
4
  confirmLabel?: string;
5
5
  cancelLabel?: string;
6
6
  width?: string;
7
7
  disabled?: boolean;
8
- showConfirm: boolean;
8
+ showConfirm?: boolean;
9
9
  }
10
10
  export declare const defaultProps: Partial<PEditDialogProps>;
@@ -92,9 +92,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
92
92
  onSave?: ((...args: any[]) => any) | undefined;
93
93
  }>, {
94
94
  top: string;
95
+ title: string;
95
96
  padding: string;
96
97
  closable: boolean;
97
- title: string;
98
98
  margin: string;
99
99
  width: string;
100
100
  maxHeight: string;