sprof 0.0.38 → 0.0.39

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/classes/EmailValidator.d.ts +1 -1
  2. package/dist/classes/FileInfo.d.ts +1 -1
  3. package/dist/classes/Human.d.ts +1 -1
  4. package/dist/classes/PasswordValidator.d.ts +1 -1
  5. package/dist/classes/filters/FilterQuery.d.ts +1 -2
  6. package/dist/classes/index.d.ts +2 -0
  7. package/dist/components/Icons/IconArrowLeft.stories.d.ts +32 -39
  8. package/dist/components/Icons/IconCheckDefault.stories.d.ts +32 -39
  9. package/dist/components/Icons/IconClose.stories.d.ts +32 -39
  10. package/dist/components/Icons/IconEdit.stories.d.ts +32 -39
  11. package/dist/components/Icons/IconEmail.stories.d.ts +32 -39
  12. package/dist/components/Icons/IconMove.stories.d.ts +32 -39
  13. package/dist/components/Icons/IconPhone.stories.d.ts +32 -39
  14. package/dist/components/Icons/IconSearch.stories.d.ts +32 -39
  15. package/dist/components/Icons/IconSelectArrow.stories.d.ts +32 -39
  16. package/dist/components/InfoItemSelectButtons.vue.d.ts +8 -0
  17. package/dist/components/atoms/PCheckbox/PCheckBox.stories.d.ts +87 -94
  18. package/dist/components/atoms/PFlex/PFlex.stories.d.ts +184 -191
  19. package/dist/components/atoms/PInput/PInput.stories.d.ts +173 -180
  20. package/dist/components/atoms/PInputDate/PInputDate.stories.d.ts +59 -66
  21. package/dist/components/atoms/PLeftSlider/PLeftSlider.stories.d.ts +182 -189
  22. package/dist/components/atoms/PList/PList.stories.d.ts +76 -83
  23. package/dist/components/atoms/PListItem/PListItem.stories.d.ts +151 -166
  24. package/dist/components/atoms/PRadio/PRadio.stories.d.ts +96 -103
  25. package/dist/components/atoms/PRightSlider/PRightSlider.stories.d.ts +183 -190
  26. package/dist/components/atoms/PSelect/PSelect.stories.d.ts +282 -217
  27. package/dist/components/atoms/PSelect/PSelect.vue.d.ts +22 -0
  28. package/dist/components/atoms/PSticky/PSticky.stories.d.ts +97 -104
  29. package/dist/components/atoms/PString/PString.stories.d.ts +139 -146
  30. package/dist/components/atoms/PTable/PTable.storeis.d.ts +77 -84
  31. package/dist/components/atoms/PTextarea/PTextarea.stories.d.ts +155 -162
  32. package/dist/components/atoms/PTopSlider/PTopSlider.stories.d.ts +102 -109
  33. package/dist/components/molecules/Collapse/CollapseContainer.stories.d.ts +15 -22
  34. package/dist/components/molecules/Collapse/CollapseItem.stories.d.ts +113 -120
  35. package/dist/components/organisms/PTabs/PTabs.stories.d.ts +134 -141
  36. package/dist/index.d.ts +1 -5
  37. package/dist/interfaces/IValidator.d.ts +1 -1
  38. package/dist/modules/forms/classes/FieldFill.d.ts +41 -0
  39. package/dist/modules/forms/classes/FormFill.d.ts +1 -1
  40. package/dist/modules/forms/classes/index.d.ts +12 -8
  41. package/dist/modules/forms/components/Fields/FieldsComponentsMap.d.ts +172 -0
  42. package/dist/modules/forms/components/admin/Fields/FieldsEditsComponents.d.ts +51 -0
  43. package/dist/modules/forms/index.d.ts +2 -0
  44. package/dist/modules/forms/store/index.d.ts +7 -228
  45. package/dist/modules/index.d.ts +2 -8
  46. package/dist/modules/settings/index.d.ts +2 -0
  47. package/dist/modules/settings/store/index.d.ts +1 -2
  48. package/dist/services/AdminUI.d.ts +2 -2
  49. package/dist/services/Arrays.d.ts +2 -0
  50. package/dist/services/BaseRoutes.d.ts +2 -2
  51. package/dist/services/Dates.d.ts +27 -1
  52. package/dist/services/Helpers.d.ts +44 -0
  53. package/dist/services/PHelp.d.ts +9 -682
  54. package/dist/services/PHelp2.d.ts +16 -683
  55. package/dist/services/Rating.d.ts +7 -0
  56. package/dist/services/Strings.d.ts +1 -0
  57. package/dist/services/index.d.ts +2 -8
  58. package/dist/sprof.js +4197 -4558
  59. package/dist/sprof.umd.cjs +12 -12
  60. package/dist/store/Store.d.ts +13 -20
  61. package/dist/style.css +1 -1
  62. package/package.json +3 -3
  63. package/dist/buildings/classes/Building.d.ts +0 -13
  64. package/dist/buildings/classes/Entrance.d.ts +0 -13
  65. package/dist/buildings/classes/Floor.d.ts +0 -6
  66. package/dist/buildings/router/BuildingsRoutes.d.ts +0 -6
  67. package/dist/buildings/store/BuildingsStore.d.ts +0 -7
  68. package/dist/buildings/store/index.d.ts +0 -2
  69. package/dist/buildings/store/indexNames.d.ts +0 -2
  70. package/dist/classes/DateHelper.d.ts +0 -11
  71. package/dist/components/RSContainer.vue.d.ts +0 -38
  72. package/dist/modules/buildings/components/BuildingsPage.vue.d.ts +0 -6
  73. package/dist/modules/buildings/router/BuildingsRoutes.d.ts +0 -6
  74. package/dist/modules/extracts/store/indexNames.d.ts +0 -2
  75. package/dist/modules/forms/classes/indexNames.d.ts +0 -2
  76. package/dist/modules/forms/store/indexNames.d.ts +0 -2
  77. package/dist/modules/indexNames.d.ts +0 -2
  78. package/dist/modules/settings/classes/indexNames.d.ts +0 -2
  79. package/dist/modules/settings/store/indexNames.d.ts +0 -2
  80. package/dist/services/DateFormat.d.ts +0 -32
  81. package/dist/services/DatesFormatter.d.ts +0 -30
  82. package/dist/services/brandColors.d.ts +0 -2
  83. package/dist/services/buildNameNumbers.d.ts +0 -1
  84. package/dist/services/countRating.d.ts +0 -5
  85. package/dist/services/moves.d.ts +0 -3
@@ -1,3 +1,4 @@
1
+ import { StoryFn } from '@storybook/vue3';
1
2
  declare const _default: {
2
3
  title: string;
3
4
  component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
@@ -154,125 +155,117 @@ declare const _default: {
154
155
  };
155
156
  };
156
157
  export default _default;
157
- export declare const Default: (args: Record<string, unknown>) => {
158
- components: {
159
- CollapseItem: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
160
- tabId: {
161
- type: StringConstructor;
162
- required: false;
163
- default: string;
164
- };
165
- activeId: {
166
- type: StringConstructor;
167
- default: string;
168
- };
169
- isCollaps: {
170
- type: globalThis.PropType<boolean>;
171
- default: boolean;
172
- };
173
- title: {
174
- type: globalThis.PropType<string>;
175
- default: string;
176
- };
177
- showToolsOnHover: {
178
- type: globalThis.PropType<boolean>;
179
- default: boolean;
180
- };
181
- background: {
182
- type: globalThis.PropType<string>;
183
- required: false;
184
- default: string;
185
- };
186
- backgroundAttention: {
187
- type: globalThis.PropType<string>;
188
- required: false;
189
- default: string;
190
- };
191
- changeColor: {
192
- type: globalThis.PropType<boolean>;
193
- default: boolean;
194
- };
195
- margin: {
196
- type: globalThis.PropType<string>;
197
- default: string;
198
- };
199
- padding: {
200
- type: globalThis.PropType<string>;
201
- default: string;
202
- };
203
- selectable: {
204
- type: globalThis.PropType<boolean>;
205
- default: boolean;
206
- };
207
- }>, {
208
- collapsed: globalThis.Ref<boolean, boolean>;
209
- handleItemClick: () => void;
210
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "changeActiveId"[], "changeActiveId", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
211
- tabId: {
212
- type: StringConstructor;
213
- required: false;
214
- default: string;
215
- };
216
- activeId: {
217
- type: StringConstructor;
218
- default: string;
219
- };
220
- isCollaps: {
221
- type: globalThis.PropType<boolean>;
222
- default: boolean;
223
- };
224
- title: {
225
- type: globalThis.PropType<string>;
226
- default: string;
227
- };
228
- showToolsOnHover: {
229
- type: globalThis.PropType<boolean>;
230
- default: boolean;
231
- };
232
- background: {
233
- type: globalThis.PropType<string>;
234
- required: false;
235
- default: string;
236
- };
237
- backgroundAttention: {
238
- type: globalThis.PropType<string>;
239
- required: false;
240
- default: string;
241
- };
242
- changeColor: {
243
- type: globalThis.PropType<boolean>;
244
- default: boolean;
245
- };
246
- margin: {
247
- type: globalThis.PropType<string>;
248
- default: string;
249
- };
250
- padding: {
251
- type: globalThis.PropType<string>;
252
- default: string;
253
- };
254
- selectable: {
255
- type: globalThis.PropType<boolean>;
256
- default: boolean;
257
- };
258
- }>> & Readonly<{
259
- onChangeActiveId?: ((...args: any[]) => any) | undefined;
260
- }>, {
261
- title: string;
262
- background: string;
263
- margin: string;
264
- padding: string;
265
- tabId: string;
266
- activeId: string;
267
- isCollaps: boolean;
268
- showToolsOnHover: boolean;
269
- backgroundAttention: string;
270
- changeColor: boolean;
271
- selectable: boolean;
272
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
158
+ export declare const Default: StoryFn<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
159
+ tabId: {
160
+ type: StringConstructor;
161
+ required: false;
162
+ default: string;
273
163
  };
274
- setup(): {
275
- args: Record<string, unknown>;
164
+ activeId: {
165
+ type: StringConstructor;
166
+ default: string;
276
167
  };
277
- template: string;
278
- };
168
+ isCollaps: {
169
+ type: globalThis.PropType<boolean>;
170
+ default: boolean;
171
+ };
172
+ title: {
173
+ type: globalThis.PropType<string>;
174
+ default: string;
175
+ };
176
+ showToolsOnHover: {
177
+ type: globalThis.PropType<boolean>;
178
+ default: boolean;
179
+ };
180
+ background: {
181
+ type: globalThis.PropType<string>;
182
+ required: false;
183
+ default: string;
184
+ };
185
+ backgroundAttention: {
186
+ type: globalThis.PropType<string>;
187
+ required: false;
188
+ default: string;
189
+ };
190
+ changeColor: {
191
+ type: globalThis.PropType<boolean>;
192
+ default: boolean;
193
+ };
194
+ margin: {
195
+ type: globalThis.PropType<string>;
196
+ default: string;
197
+ };
198
+ padding: {
199
+ type: globalThis.PropType<string>;
200
+ default: string;
201
+ };
202
+ selectable: {
203
+ type: globalThis.PropType<boolean>;
204
+ default: boolean;
205
+ };
206
+ }>, {
207
+ collapsed: globalThis.Ref<boolean, boolean>;
208
+ handleItemClick: () => void;
209
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "changeActiveId"[], "changeActiveId", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
210
+ tabId: {
211
+ type: StringConstructor;
212
+ required: false;
213
+ default: string;
214
+ };
215
+ activeId: {
216
+ type: StringConstructor;
217
+ default: string;
218
+ };
219
+ isCollaps: {
220
+ type: globalThis.PropType<boolean>;
221
+ default: boolean;
222
+ };
223
+ title: {
224
+ type: globalThis.PropType<string>;
225
+ default: string;
226
+ };
227
+ showToolsOnHover: {
228
+ type: globalThis.PropType<boolean>;
229
+ default: boolean;
230
+ };
231
+ background: {
232
+ type: globalThis.PropType<string>;
233
+ required: false;
234
+ default: string;
235
+ };
236
+ backgroundAttention: {
237
+ type: globalThis.PropType<string>;
238
+ required: false;
239
+ default: string;
240
+ };
241
+ changeColor: {
242
+ type: globalThis.PropType<boolean>;
243
+ default: boolean;
244
+ };
245
+ margin: {
246
+ type: globalThis.PropType<string>;
247
+ default: string;
248
+ };
249
+ padding: {
250
+ type: globalThis.PropType<string>;
251
+ default: string;
252
+ };
253
+ selectable: {
254
+ type: globalThis.PropType<boolean>;
255
+ default: boolean;
256
+ };
257
+ }>> & Readonly<{
258
+ onChangeActiveId?: ((...args: any[]) => any) | undefined;
259
+ }>, {
260
+ title: string;
261
+ background: string;
262
+ margin: string;
263
+ padding: string;
264
+ tabId: string;
265
+ activeId: string;
266
+ isCollaps: boolean;
267
+ showToolsOnHover: boolean;
268
+ backgroundAttention: string;
269
+ changeColor: boolean;
270
+ selectable: boolean;
271
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
@@ -1,3 +1,4 @@
1
+ import { StoryFn } from '@storybook/vue3';
1
2
  declare const _default: {
2
3
  title: string;
3
4
  component: {
@@ -175,146 +176,138 @@ declare const _default: {
175
176
  };
176
177
  };
177
178
  export default _default;
178
- export declare const Default: (args: any) => {
179
- components: {
180
- PTabs: {
181
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
182
- tabs: {
183
- type: globalThis.PropType<import('./ITab').default[]>;
184
- required: true;
185
- };
186
- tabHeight: {
187
- type: StringConstructor;
188
- required: false;
189
- default: string;
190
- };
191
- height: {
192
- type: StringConstructor;
193
- required: false;
194
- default: string;
195
- };
196
- minMenuItemWidth: {
197
- type: StringConstructor;
198
- required: false;
199
- default: string;
200
- };
201
- outTopMargin: {
202
- type: StringConstructor;
203
- required: false;
204
- default: string;
205
- };
206
- background: {
207
- type: StringConstructor;
208
- required: false;
209
- default: string;
210
- };
211
- }>> & Readonly<{
212
- onSelect?: ((...args: any[]) => any) | undefined;
213
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
214
- select: (...args: any[]) => void;
215
- }, import('vue').PublicProps, {
216
- background: string;
217
- height: string;
218
- tabHeight: string;
219
- minMenuItemWidth: string;
220
- outTopMargin: string;
221
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
222
- P: {};
223
- B: {};
224
- D: {};
225
- C: {};
226
- M: {};
227
- Defaults: {};
228
- }, Readonly<globalThis.ExtractPropTypes<{
229
- tabs: {
230
- type: globalThis.PropType<import('./ITab').default[]>;
231
- required: true;
232
- };
233
- tabHeight: {
234
- type: StringConstructor;
235
- required: false;
236
- default: string;
237
- };
238
- height: {
239
- type: StringConstructor;
240
- required: false;
241
- default: string;
242
- };
243
- minMenuItemWidth: {
244
- type: StringConstructor;
245
- required: false;
246
- default: string;
247
- };
248
- outTopMargin: {
249
- type: StringConstructor;
250
- required: false;
251
- default: string;
252
- };
253
- background: {
254
- type: StringConstructor;
255
- required: false;
256
- default: string;
257
- };
258
- }>> & Readonly<{
259
- onSelect?: ((...args: any[]) => any) | undefined;
260
- }>, {}, {}, {}, {}, {
261
- background: string;
262
- height: string;
263
- tabHeight: string;
264
- minMenuItemWidth: string;
265
- outTopMargin: string;
266
- }>;
267
- __isFragment?: undefined;
268
- __isTeleport?: undefined;
269
- __isSuspense?: undefined;
270
- } & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
271
- tabs: {
272
- type: globalThis.PropType<import('./ITab').default[]>;
273
- required: true;
274
- };
275
- tabHeight: {
276
- type: StringConstructor;
277
- required: false;
278
- default: string;
279
- };
280
- height: {
281
- type: StringConstructor;
282
- required: false;
283
- default: string;
284
- };
285
- minMenuItemWidth: {
286
- type: StringConstructor;
287
- required: false;
288
- default: string;
289
- };
290
- outTopMargin: {
291
- type: StringConstructor;
292
- required: false;
293
- default: string;
294
- };
295
- background: {
296
- type: StringConstructor;
297
- required: false;
298
- default: string;
299
- };
300
- }>> & Readonly<{
301
- onSelect?: ((...args: any[]) => any) | undefined;
302
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
303
- select: (...args: any[]) => void;
304
- }, string, {
305
- background: string;
306
- height: string;
307
- tabHeight: string;
308
- minMenuItemWidth: string;
309
- outTopMargin: string;
310
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
311
- $slots: {
312
- default?(_: {}): any;
313
- };
314
- });
179
+ export declare const Default: StoryFn<{
180
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
181
+ tabs: {
182
+ type: globalThis.PropType<import('./ITab').default[]>;
183
+ required: true;
184
+ };
185
+ tabHeight: {
186
+ type: StringConstructor;
187
+ required: false;
188
+ default: string;
189
+ };
190
+ height: {
191
+ type: StringConstructor;
192
+ required: false;
193
+ default: string;
194
+ };
195
+ minMenuItemWidth: {
196
+ type: StringConstructor;
197
+ required: false;
198
+ default: string;
199
+ };
200
+ outTopMargin: {
201
+ type: StringConstructor;
202
+ required: false;
203
+ default: string;
204
+ };
205
+ background: {
206
+ type: StringConstructor;
207
+ required: false;
208
+ default: string;
209
+ };
210
+ }>> & Readonly<{
211
+ onSelect?: ((...args: any[]) => any) | undefined;
212
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
213
+ select: (...args: any[]) => void;
214
+ }, import('vue').PublicProps, {
215
+ background: string;
216
+ height: string;
217
+ tabHeight: string;
218
+ minMenuItemWidth: string;
219
+ outTopMargin: string;
220
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
221
+ P: {};
222
+ B: {};
223
+ D: {};
224
+ C: {};
225
+ M: {};
226
+ Defaults: {};
227
+ }, Readonly<globalThis.ExtractPropTypes<{
228
+ tabs: {
229
+ type: globalThis.PropType<import('./ITab').default[]>;
230
+ required: true;
231
+ };
232
+ tabHeight: {
233
+ type: StringConstructor;
234
+ required: false;
235
+ default: string;
236
+ };
237
+ height: {
238
+ type: StringConstructor;
239
+ required: false;
240
+ default: string;
241
+ };
242
+ minMenuItemWidth: {
243
+ type: StringConstructor;
244
+ required: false;
245
+ default: string;
246
+ };
247
+ outTopMargin: {
248
+ type: StringConstructor;
249
+ required: false;
250
+ default: string;
251
+ };
252
+ background: {
253
+ type: StringConstructor;
254
+ required: false;
255
+ default: string;
256
+ };
257
+ }>> & Readonly<{
258
+ onSelect?: ((...args: any[]) => any) | undefined;
259
+ }>, {}, {}, {}, {}, {
260
+ background: string;
261
+ height: string;
262
+ tabHeight: string;
263
+ minMenuItemWidth: string;
264
+ outTopMargin: string;
265
+ }>;
266
+ __isFragment?: undefined;
267
+ __isTeleport?: undefined;
268
+ __isSuspense?: undefined;
269
+ } & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
270
+ tabs: {
271
+ type: globalThis.PropType<import('./ITab').default[]>;
272
+ required: true;
315
273
  };
316
- setup(): {
317
- args: any;
274
+ tabHeight: {
275
+ type: StringConstructor;
276
+ required: false;
277
+ default: string;
318
278
  };
319
- template: string;
320
- };
279
+ height: {
280
+ type: StringConstructor;
281
+ required: false;
282
+ default: string;
283
+ };
284
+ minMenuItemWidth: {
285
+ type: StringConstructor;
286
+ required: false;
287
+ default: string;
288
+ };
289
+ outTopMargin: {
290
+ type: StringConstructor;
291
+ required: false;
292
+ default: string;
293
+ };
294
+ background: {
295
+ type: StringConstructor;
296
+ required: false;
297
+ default: string;
298
+ };
299
+ }>> & Readonly<{
300
+ onSelect?: ((...args: any[]) => any) | undefined;
301
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
302
+ select: (...args: any[]) => void;
303
+ }, string, {
304
+ background: string;
305
+ height: string;
306
+ tabHeight: string;
307
+ minMenuItemWidth: string;
308
+ outTopMargin: string;
309
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
310
+ $slots: {
311
+ default?(_: {}): any;
312
+ };
313
+ })>;
package/dist/index.d.ts CHANGED
@@ -77,7 +77,6 @@ import { default as RemoteSearch } from './components/RemoteSearch.vue';
77
77
  import { default as ResearcheContainer } from './components/ResearcheContainer.vue';
78
78
  import { default as RightSliderContainer } from './components/RightSliderContainer.vue';
79
79
  import { default as RightTabsContainer } from './components/RightTabsContainer.vue';
80
- import { default as RSContainer } from './components/RSContainer.vue';
81
80
  import { default as SelectValueType } from './components/SelectValueType.vue';
82
81
  import { default as SingleNameToggleForm } from './components/SingleNameToggleForm.vue';
83
82
  import { default as SortList } from './components/SortList.vue';
@@ -87,7 +86,6 @@ import { default as ThemeWrapper } from './components/ThemeWrapper.vue';
87
86
  import { default as ToggleInfoItem } from './components/ToggleInfoItem.vue';
88
87
  import { default as TopSliderContainer } from './components/TopSliderContainer.vue';
89
88
  import { default as UploaderImage } from './components/UploaderImage.vue';
90
- import { default as modulesNames } from './modules/indexNames';
91
89
  import { default as servicesNames } from './services/indexNames';
92
90
  import { default as servicesStoresNames } from './store/indexNames';
93
91
  import { default as typesNames } from './types/indexNames';
@@ -96,9 +94,7 @@ declare const servicesComponents: {
96
94
  component: (a: string, b: unknown) => void;
97
95
  }) => void;
98
96
  };
99
- export * from './classes/index';
100
- export * from './modules/index';
101
97
  export * from './services/index';
102
98
  export * from './store/index';
103
99
  export * from './types/index';
104
- export { AdaptiveContainer, AdaptiveContainerHorizontal, AdminGallery, ArrowLeft, ArrowRight, AuthForm, AuthModal, AuthPage, CarouselImages, classesNames, CollapseContainer, CollapseItem, ContactForm, ContextWindow, DateInputRange, DateInputRange_v2, DoubleArrowLeft, DoubleArrowRight, DropList, EllipsisSvg, EmailForm, FilterCheckbox, FiltersButtonsSelect, FilterSelect, FTSPPanel, GeneralItem, GridContainer, IconArrowLeft, IconCheckDefault, IconClose, IconDownload, IconEdit, IconEmail, IconFilter, IconMove, IconPhone, IconSearch, IconSelectArrow, ImageCropper, InfoItem, InfoItemSelectButtons, LeftRightContainer, MessageBody, modulesNames, PAdd, PageNotFound, PAutocomplete, PButton, PCheckBox, PContainer, PContainerStickyHead, PDatePicker, PDel, PDialog, PFlex, PhoneForm, PInput, PInputDate, PInputNumber, PLeftSlider, PList, PListItem, PLoader, PModal, PNotification, PPagination, PRadio, PRightSlider, PSelect, PSticky, PString, PTabs, PTextarea, PTopSlider, RemoteSearch, ResearcheContainer, RightSliderContainer, RightTabsContainer, RSContainer, SelectValueType, servicesComponents, servicesNames, servicesStoresNames, SingleNameToggleForm, SortList, SortSelect, Strings, Switch3Pos, ThemeWrapper, ToggleInfoItem, TopSliderContainer, typesNames, UploaderFile, UploaderImage, VerticalCollapseContainer, };
100
+ export { AdaptiveContainer, AdaptiveContainerHorizontal, AdminGallery, ArrowLeft, ArrowRight, AuthForm, AuthModal, AuthPage, CarouselImages, classesNames, CollapseContainer, CollapseItem, ContactForm, ContextWindow, DateInputRange, DateInputRange_v2, DoubleArrowLeft, DoubleArrowRight, DropList, EllipsisSvg, EmailForm, FilterCheckbox, FiltersButtonsSelect, FilterSelect, FTSPPanel, GeneralItem, GridContainer, IconArrowLeft, IconCheckDefault, IconClose, IconDownload, IconEdit, IconEmail, IconFilter, IconMove, IconPhone, IconSearch, IconSelectArrow, ImageCropper, InfoItem, InfoItemSelectButtons, LeftRightContainer, MessageBody, PAdd, PageNotFound, PAutocomplete, PButton, PCheckBox, PContainer, PContainerStickyHead, PDatePicker, PDel, PDialog, PFlex, PhoneForm, PInput, PInputDate, PInputNumber, PLeftSlider, PList, PListItem, PLoader, PModal, PNotification, PPagination, PRadio, PRightSlider, PSelect, PSticky, PString, PTabs, PTextarea, PTopSlider, RemoteSearch, ResearcheContainer, RightSliderContainer, RightTabsContainer, SelectValueType, servicesComponents, servicesNames, servicesStoresNames, SingleNameToggleForm, SortList, SortSelect, Strings, Switch3Pos, ThemeWrapper, ToggleInfoItem, TopSliderContainer, typesNames, UploaderFile, UploaderImage, VerticalCollapseContainer, };
@@ -1,4 +1,4 @@
1
1
  export default interface IValidator {
2
2
  errors: string[];
3
- validate: (value?: string & number) => string[];
3
+ validate: (value?: string | number) => string[];
4
4
  }
@@ -0,0 +1,41 @@
1
+ import { default as FileInfo } from '../../../classes/FileInfo';
2
+ import { default as Field } from './Field';
3
+ import { default as FieldFillFile } from './FieldFillFile';
4
+ import { default as SelectedAnswerVariant } from './SelectedAnswerVariant';
5
+ import { default as AnswerVariant } from './AnswerVariant';
6
+ export default class FieldFill {
7
+ id?: string;
8
+ valueString?: string;
9
+ valueOther?: string;
10
+ valueNumber?: number;
11
+ valueDate?: Date;
12
+ fileInfo: FileInfo;
13
+ fileInfoId?: string;
14
+ order: number;
15
+ selectedAnswerVariants: SelectedAnswerVariant[];
16
+ patientId?: string;
17
+ fieldId?: string;
18
+ formFillId?: string;
19
+ answerVariantId?: string;
20
+ filled: boolean;
21
+ researchResultId?: string;
22
+ answerFiles: FieldFillFile[];
23
+ answerFilesForDelete: string[];
24
+ constructor(i?: FieldFill);
25
+ setFilled(fill: boolean): void;
26
+ static Create(field: Field, formFillId?: string): FieldFill;
27
+ setString(value?: string): void;
28
+ setNumber(value?: number): void;
29
+ setOther(value?: string): void;
30
+ setDate(value?: Date): void;
31
+ setRadio(value?: string): void;
32
+ static CreateMany(fields: Field[], formFillId: string): FieldFill[];
33
+ addFile(): FieldFillFile;
34
+ getFileInfos(): FileInfo[];
35
+ getSelectedAnswerVariant(): boolean;
36
+ setMatrixRadioValue(xId?: string, yId?: string): SelectedAnswerVariant;
37
+ getMatrixValue(xId?: string, yId?: string): SelectedAnswerVariant | undefined;
38
+ addSelectedAnswerVariant(answerVariantId: string): SelectedAnswerVariant;
39
+ static GetClassName(): string;
40
+ showOther(answerVariants: AnswerVariant[]): boolean;
41
+ }
@@ -21,7 +21,7 @@ export default class FormFill {
21
21
  getFileInfos(): FileInfo[];
22
22
  calculateFilling(): void;
23
23
  getFieldFillByFieldId(fieldId: string): FieldFill | undefined;
24
- getFieldVariantFieldFill(fieldVariantId: string): FieldFill | undefined;
24
+ getFieldVariantFieldFill(answerVariantId: string): FieldFill | undefined;
25
25
  getFieldsFieldFillsMap(fields: Field[]): {
26
26
  [key: string]: number;
27
27
  };
@@ -1,8 +1,12 @@
1
- import { default as AnswerVariant } from './AnswerVariant';
2
- import { default as Field } from './Field';
3
- import { default as FieldFill } from './FieldFill';
4
- import { default as Form } from './Form';
5
- import { default as FormFill } from './FormFill';
6
- import { default as FormSection } from './FormSection';
7
- import { default as SelectedAnswerVariant } from './SelectedAnswerVariant';
8
- export { AnswerVariant, Field, FieldFill, Form, FormFill, FormSection, SelectedAnswerVariant };
1
+ export { default as AnswerVariant } from './AnswerVariant';
2
+ export { default as Field } from './Field';
3
+ export { default as FieldExample } from './FieldExample';
4
+ export { default as FieldFill } from './FieldFill';
5
+ export { default as FieldFillFile } from './FieldFillFile';
6
+ export { default as FieldFilter } from './FieldFilter';
7
+ export { default as FieldMeasure } from './FieldMeasure';
8
+ export { default as FieldVariant } from './FieldVariant';
9
+ export { default as Form } from './Form';
10
+ export { default as FormFill } from './FormFill';
11
+ export { default as FormSection } from './FormSection';
12
+ export { default as SelectedAnswerVariant } from './SelectedAnswerVariant';