@win2win/shared-ui 0.3.26 → 0.3.27

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 (61) hide show
  1. package/dist/components/Inputs/WinInput.vue.d.ts +3 -3
  2. package/dist/components/Inputs/WinInput.vue.d.ts.map +1 -1
  3. package/dist/components/Inputs/WinSelect.vue.d.ts +4 -4
  4. package/dist/components/Inputs/WinSelect.vue.d.ts.map +1 -1
  5. package/dist/components/widgets/broker-card/BrokerCard.vue.d.ts.map +1 -1
  6. package/dist/components/widgets/broker-card/schema.d.ts +2 -2
  7. package/dist/components/widgets/broker-detail/schema.d.ts +2 -2
  8. package/dist/components/widgets/linvermedia-product-card/schema.d.ts +2 -2
  9. package/dist/components/widgets/linvermedia-product-detail/schema.d.ts +2 -2
  10. package/dist/components/widgets/linvermedia-solicitud-card/schema.d.ts +2 -2
  11. package/dist/components/widgets/shared/schema.d.ts +2 -2
  12. package/dist/index.d.ts +1 -2
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/style.css +1 -1
  15. package/dist/w2w-shared-ui.js +15535 -18750
  16. package/dist/w2w-shared-ui.umd.cjs +39 -39
  17. package/package.json +1 -1
  18. package/dist/components/DynamicForm/CardsSelectControl.vue.d.ts +0 -14
  19. package/dist/components/DynamicForm/CardsSelectControl.vue.d.ts.map +0 -1
  20. package/dist/components/DynamicForm/ControlLabel.vue.d.ts +0 -6
  21. package/dist/components/DynamicForm/ControlLabel.vue.d.ts.map +0 -1
  22. package/dist/components/DynamicForm/Controls/SimpleCheckbox.vue.d.ts +0 -14
  23. package/dist/components/DynamicForm/Controls/SimpleCheckbox.vue.d.ts.map +0 -1
  24. package/dist/components/DynamicForm/Controls/SimpleInput.vue.d.ts +0 -15
  25. package/dist/components/DynamicForm/Controls/SimpleInput.vue.d.ts.map +0 -1
  26. package/dist/components/DynamicForm/Controls/SimpleSelect.vue.d.ts +0 -14
  27. package/dist/components/DynamicForm/Controls/SimpleSelect.vue.d.ts.map +0 -1
  28. package/dist/components/DynamicForm/Controls/SimpleSwitch.vue.d.ts +0 -14
  29. package/dist/components/DynamicForm/Controls/SimpleSwitch.vue.d.ts.map +0 -1
  30. package/dist/components/DynamicForm/DynamicForm.vue.d.ts +0 -21
  31. package/dist/components/DynamicForm/DynamicForm.vue.d.ts.map +0 -1
  32. package/dist/components/DynamicForm/FormMapper.d.ts +0 -8
  33. package/dist/components/DynamicForm/FormMapper.d.ts.map +0 -1
  34. package/dist/components/DynamicForm/InputControl.vue.d.ts +0 -17
  35. package/dist/components/DynamicForm/InputControl.vue.d.ts.map +0 -1
  36. package/dist/components/DynamicForm/MultipleFormGroups.vue.d.ts +0 -6
  37. package/dist/components/DynamicForm/MultipleFormGroups.vue.d.ts.map +0 -1
  38. package/dist/components/DynamicForm/NavigationButtons.vue.d.ts +0 -14
  39. package/dist/components/DynamicForm/NavigationButtons.vue.d.ts.map +0 -1
  40. package/dist/components/DynamicForm/SelectControl.vue.d.ts +0 -14
  41. package/dist/components/DynamicForm/SelectControl.vue.d.ts.map +0 -1
  42. package/dist/components/DynamicForm/SingleFormGroup.vue.d.ts +0 -6
  43. package/dist/components/DynamicForm/SingleFormGroup.vue.d.ts.map +0 -1
  44. package/dist/components/DynamicForm/StepHeader.vue.d.ts +0 -8
  45. package/dist/components/DynamicForm/StepHeader.vue.d.ts.map +0 -1
  46. package/dist/components/DynamicForm/StepsNavigationButtons.vue.d.ts +0 -7
  47. package/dist/components/DynamicForm/StepsNavigationButtons.vue.d.ts.map +0 -1
  48. package/dist/components/DynamicForm/consts.d.ts +0 -7
  49. package/dist/components/DynamicForm/consts.d.ts.map +0 -1
  50. package/dist/components/DynamicForm/control-validators.d.ts +0 -12
  51. package/dist/components/DynamicForm/control-validators.d.ts.map +0 -1
  52. package/dist/components/DynamicForm/helpers.d.ts +0 -8
  53. package/dist/components/DynamicForm/helpers.d.ts.map +0 -1
  54. package/dist/components/DynamicForm/models.d.ts +0 -201
  55. package/dist/components/DynamicForm/models.d.ts.map +0 -1
  56. package/dist/components/DynamicForm/useFormGroups.d.ts +0 -194
  57. package/dist/components/DynamicForm/useFormGroups.d.ts.map +0 -1
  58. package/dist/mock-forms.d.ts +0 -3
  59. package/dist/mock-forms.d.ts.map +0 -1
  60. package/dist/stores/useFormStore.d.ts +0 -429
  61. package/dist/stores/useFormStore.d.ts.map +0 -1
@@ -1,194 +0,0 @@
1
- import { ConditionOperator, FormControlModel, FormGroupModel, GroupOptions } from './models';
2
- export declare function useFormGroups(formStepIndex: number, options?: GroupOptions): {
3
- model: import("vue").Ref<{
4
- visible: boolean;
5
- valid: boolean;
6
- controls: {
7
- valid: boolean;
8
- value: any;
9
- visible?: boolean | undefined;
10
- parentKey?: string | undefined;
11
- code: string;
12
- controlType: import("@win2win/shared").ControlType;
13
- label?: string | undefined;
14
- type?: "text" | "number" | "tel" | "textarea" | undefined;
15
- name: string;
16
- defaultValue?: string | number | undefined;
17
- validators?: {
18
- validator: import("./control-validators").Validator;
19
- param?: string | number | undefined;
20
- }[] | undefined;
21
- options?: {
22
- value: string | number | boolean;
23
- label: string | (() => string);
24
- exclusive: boolean;
25
- image?: string | undefined;
26
- }[] | undefined;
27
- conditions?: {
28
- logic: "AND" | "OR";
29
- children: /*elided*/ any[];
30
- operator: ConditionOperator;
31
- id: number;
32
- value: string;
33
- }[] | undefined;
34
- multiple?: boolean | undefined;
35
- id: number;
36
- suffix?: string | undefined;
37
- prefix?: string | undefined;
38
- row: number;
39
- col: number;
40
- structure: {
41
- code: string;
42
- controlType: import("@win2win/shared").ControlType;
43
- label?: string | undefined;
44
- type?: "text" | "number" | "tel" | "textarea" | undefined;
45
- name: string;
46
- defaultValue?: string | number | undefined;
47
- validators?: {
48
- validator: import("./control-validators").Validator;
49
- param?: string | number | undefined;
50
- }[] | undefined;
51
- options?: {
52
- value: string | number | boolean;
53
- label: string | (() => string);
54
- exclusive: boolean;
55
- image?: string | undefined;
56
- }[] | undefined;
57
- conditions?: {
58
- logic: "AND" | "OR";
59
- children: /*elided*/ any[];
60
- operator: ConditionOperator;
61
- id: number;
62
- value: string;
63
- }[] | undefined;
64
- multiple?: boolean | undefined;
65
- id: number;
66
- suffix?: string | undefined;
67
- prefix?: string | undefined;
68
- row: number;
69
- col: number;
70
- structure: /*elided*/ any[];
71
- group: number;
72
- title: string;
73
- customParams?: {
74
- [key: string]: any;
75
- } | undefined;
76
- itemsLength?: {
77
- default: number;
78
- controlId: number | null;
79
- value: number;
80
- } | null | undefined;
81
- }[];
82
- group: number;
83
- title: string;
84
- customParams?: {
85
- [key: string]: any;
86
- } | undefined;
87
- itemsLength?: {
88
- default: number;
89
- controlId: number | null;
90
- value: number;
91
- } | null | undefined;
92
- }[];
93
- id: string;
94
- title: string;
95
- order: number;
96
- }[], FormGroupModel[] | {
97
- visible: boolean;
98
- valid: boolean;
99
- controls: {
100
- valid: boolean;
101
- value: any;
102
- visible?: boolean | undefined;
103
- parentKey?: string | undefined;
104
- code: string;
105
- controlType: import("@win2win/shared").ControlType;
106
- label?: string | undefined;
107
- type?: "text" | "number" | "tel" | "textarea" | undefined;
108
- name: string;
109
- defaultValue?: string | number | undefined;
110
- validators?: {
111
- validator: import("./control-validators").Validator;
112
- param?: string | number | undefined;
113
- }[] | undefined;
114
- options?: {
115
- value: string | number | boolean;
116
- label: string | (() => string);
117
- exclusive: boolean;
118
- image?: string | undefined;
119
- }[] | undefined;
120
- conditions?: {
121
- logic: "AND" | "OR";
122
- children: /*elided*/ any[];
123
- operator: ConditionOperator;
124
- id: number;
125
- value: string;
126
- }[] | undefined;
127
- multiple?: boolean | undefined;
128
- id: number;
129
- suffix?: string | undefined;
130
- prefix?: string | undefined;
131
- row: number;
132
- col: number;
133
- structure: {
134
- code: string;
135
- controlType: import("@win2win/shared").ControlType;
136
- label?: string | undefined;
137
- type?: "text" | "number" | "tel" | "textarea" | undefined;
138
- name: string;
139
- defaultValue?: string | number | undefined;
140
- validators?: {
141
- validator: import("./control-validators").Validator;
142
- param?: string | number | undefined;
143
- }[] | undefined;
144
- options?: {
145
- value: string | number | boolean;
146
- label: string | (() => string);
147
- exclusive: boolean;
148
- image?: string | undefined;
149
- }[] | undefined;
150
- conditions?: {
151
- logic: "AND" | "OR";
152
- children: /*elided*/ any[];
153
- operator: ConditionOperator;
154
- id: number;
155
- value: string;
156
- }[] | undefined;
157
- multiple?: boolean | undefined;
158
- id: number;
159
- suffix?: string | undefined;
160
- prefix?: string | undefined;
161
- row: number;
162
- col: number;
163
- structure: /*elided*/ any[];
164
- group: number;
165
- title: string;
166
- customParams?: {
167
- [key: string]: any;
168
- } | undefined;
169
- itemsLength?: {
170
- default: number;
171
- controlId: number | null;
172
- value: number;
173
- } | null | undefined;
174
- }[];
175
- group: number;
176
- title: string;
177
- customParams?: {
178
- [key: string]: any;
179
- } | undefined;
180
- itemsLength?: {
181
- default: number;
182
- controlId: number | null;
183
- value: number;
184
- } | null | undefined;
185
- }[];
186
- id: string;
187
- title: string;
188
- order: number;
189
- }[]>;
190
- errorMessages: import("vue").Ref<string[], string[]>;
191
- rebuildModel: () => void;
192
- onControlValueUpdate: (control: FormControlModel, groupId?: string) => void;
193
- };
194
- //# sourceMappingURL=useFormGroups.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormGroups.d.ts","sourceRoot":"","sources":["../../../src/components/DynamicForm/useFormGroups.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,cAAc,EAAiB,YAAY,EAAE,MAAM,UAAU,CAAC;AAG5G,wBAAgB,aAAa,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAc9D,gBAAgB,YACf,MAAM;EAqInB"}
@@ -1,3 +0,0 @@
1
- import { FormRaw } from "./components/DynamicForm/models";
2
- export declare const MOCK_FORMS: FormRaw[];
3
- //# sourceMappingURL=mock-forms.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mock-forms.d.ts","sourceRoot":"","sources":["../src/mock-forms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAE1D,eAAO,MAAM,UAAU,EAAE,OAAO,EAgpD/B,CAAA"}
@@ -1,429 +0,0 @@
1
- import { FormControlModel, FormStep, FormStepModel } from '../components/DynamicForm/models';
2
- export declare const useFormStore: import("pinia").StoreDefinition<"form", {
3
- formSteps: FormStepModel[];
4
- currentStep: number;
5
- onLastSubstep: boolean;
6
- collections: Record<string, any>;
7
- }, {
8
- currentFormStep(state: {
9
- formSteps: {
10
- valid: boolean;
11
- controls: {
12
- valid: boolean;
13
- value: any;
14
- visible?: boolean | undefined;
15
- parentKey?: string | undefined;
16
- code: string;
17
- controlType: import("@win2win/shared").ControlType;
18
- label?: string | undefined;
19
- type?: "text" | "number" | "tel" | "textarea" | undefined;
20
- name: string;
21
- defaultValue?: string | number | undefined;
22
- validators?: {
23
- validator: import("../components/DynamicForm/control-validators").Validator;
24
- param?: string | number | undefined;
25
- }[] | undefined;
26
- options?: {
27
- value: string | number | boolean;
28
- label: string | (() => string);
29
- exclusive: boolean;
30
- image?: string | undefined;
31
- }[] | undefined;
32
- conditions?: {
33
- logic: "AND" | "OR";
34
- children: /*elided*/ any[];
35
- operator: import("../components/DynamicForm/models").ConditionOperator;
36
- id: number;
37
- value: string;
38
- }[] | undefined;
39
- multiple?: boolean | undefined;
40
- id: number;
41
- suffix?: string | undefined;
42
- prefix?: string | undefined;
43
- row: number;
44
- col: number;
45
- structure: {
46
- code: string;
47
- controlType: import("@win2win/shared").ControlType;
48
- label?: string | undefined;
49
- type?: "text" | "number" | "tel" | "textarea" | undefined;
50
- name: string;
51
- defaultValue?: string | number | undefined;
52
- validators?: {
53
- validator: import("../components/DynamicForm/control-validators").Validator;
54
- param?: string | number | undefined;
55
- }[] | undefined;
56
- options?: {
57
- value: string | number | boolean;
58
- label: string | (() => string);
59
- exclusive: boolean;
60
- image?: string | undefined;
61
- }[] | undefined;
62
- conditions?: {
63
- logic: "AND" | "OR";
64
- children: /*elided*/ any[];
65
- operator: import("../components/DynamicForm/models").ConditionOperator;
66
- id: number;
67
- value: string;
68
- }[] | undefined;
69
- multiple?: boolean | undefined;
70
- id: number;
71
- suffix?: string | undefined;
72
- prefix?: string | undefined;
73
- row: number;
74
- col: number;
75
- structure: /*elided*/ any[];
76
- group: number;
77
- title: string;
78
- customParams?: {
79
- [key: string]: any;
80
- } | undefined;
81
- itemsLength?: {
82
- default: number;
83
- controlId: number | null;
84
- value: number;
85
- } | null | undefined;
86
- }[];
87
- group: number;
88
- title: string;
89
- customParams?: {
90
- [key: string]: any;
91
- } | undefined;
92
- itemsLength?: {
93
- default: number;
94
- controlId: number | null;
95
- value: number;
96
- } | null | undefined;
97
- }[];
98
- title: string;
99
- order: number;
100
- name: string;
101
- text?: string | undefined;
102
- id: number;
103
- }[];
104
- currentStep: number;
105
- onLastSubstep: boolean;
106
- collections: Record<string, any>;
107
- } & import("pinia").PiniaCustomStateProperties<{
108
- formSteps: FormStepModel[];
109
- currentStep: number;
110
- onLastSubstep: boolean;
111
- collections: Record<string, any>;
112
- }>): {
113
- valid: boolean;
114
- controls: {
115
- valid: boolean;
116
- value: any;
117
- visible?: boolean | undefined;
118
- parentKey?: string | undefined;
119
- code: string;
120
- controlType: import("@win2win/shared").ControlType;
121
- label?: string | undefined;
122
- type?: "text" | "number" | "tel" | "textarea" | undefined;
123
- name: string;
124
- defaultValue?: string | number | undefined;
125
- validators?: {
126
- validator: import("../components/DynamicForm/control-validators").Validator;
127
- param?: string | number | undefined;
128
- }[] | undefined;
129
- options?: {
130
- value: string | number | boolean;
131
- label: string | (() => string);
132
- exclusive: boolean;
133
- image?: string | undefined;
134
- }[] | undefined;
135
- conditions?: {
136
- logic: "AND" | "OR";
137
- children: /*elided*/ any[];
138
- operator: import("../components/DynamicForm/models").ConditionOperator;
139
- id: number;
140
- value: string;
141
- }[] | undefined;
142
- multiple?: boolean | undefined;
143
- id: number;
144
- suffix?: string | undefined;
145
- prefix?: string | undefined;
146
- row: number;
147
- col: number;
148
- structure: {
149
- code: string;
150
- controlType: import("@win2win/shared").ControlType;
151
- label?: string | undefined;
152
- type?: "text" | "number" | "tel" | "textarea" | undefined;
153
- name: string;
154
- defaultValue?: string | number | undefined;
155
- validators?: {
156
- validator: import("../components/DynamicForm/control-validators").Validator;
157
- param?: string | number | undefined;
158
- }[] | undefined;
159
- options?: {
160
- value: string | number | boolean;
161
- label: string | (() => string);
162
- exclusive: boolean;
163
- image?: string | undefined;
164
- }[] | undefined;
165
- conditions?: {
166
- logic: "AND" | "OR";
167
- children: /*elided*/ any[];
168
- operator: import("../components/DynamicForm/models").ConditionOperator;
169
- id: number;
170
- value: string;
171
- }[] | undefined;
172
- multiple?: boolean | undefined;
173
- id: number;
174
- suffix?: string | undefined;
175
- prefix?: string | undefined;
176
- row: number;
177
- col: number;
178
- structure: /*elided*/ any[];
179
- group: number;
180
- title: string;
181
- customParams?: {
182
- [key: string]: any;
183
- } | undefined;
184
- itemsLength?: {
185
- default: number;
186
- controlId: number | null;
187
- value: number;
188
- } | null | undefined;
189
- }[];
190
- group: number;
191
- title: string;
192
- customParams?: {
193
- [key: string]: any;
194
- } | undefined;
195
- itemsLength?: {
196
- default: number;
197
- controlId: number | null;
198
- value: number;
199
- } | null | undefined;
200
- }[];
201
- title: string;
202
- order: number;
203
- name: string;
204
- text?: string | undefined;
205
- id: number;
206
- };
207
- stepsCount(state: {
208
- formSteps: {
209
- valid: boolean;
210
- controls: {
211
- valid: boolean;
212
- value: any;
213
- visible?: boolean | undefined;
214
- parentKey?: string | undefined;
215
- code: string;
216
- controlType: import("@win2win/shared").ControlType;
217
- label?: string | undefined;
218
- type?: "text" | "number" | "tel" | "textarea" | undefined;
219
- name: string;
220
- defaultValue?: string | number | undefined;
221
- validators?: {
222
- validator: import("../components/DynamicForm/control-validators").Validator;
223
- param?: string | number | undefined;
224
- }[] | undefined;
225
- options?: {
226
- value: string | number | boolean;
227
- label: string | (() => string);
228
- exclusive: boolean;
229
- image?: string | undefined;
230
- }[] | undefined;
231
- conditions?: {
232
- logic: "AND" | "OR";
233
- children: /*elided*/ any[];
234
- operator: import("../components/DynamicForm/models").ConditionOperator;
235
- id: number;
236
- value: string;
237
- }[] | undefined;
238
- multiple?: boolean | undefined;
239
- id: number;
240
- suffix?: string | undefined;
241
- prefix?: string | undefined;
242
- row: number;
243
- col: number;
244
- structure: {
245
- code: string;
246
- controlType: import("@win2win/shared").ControlType;
247
- label?: string | undefined;
248
- type?: "text" | "number" | "tel" | "textarea" | undefined;
249
- name: string;
250
- defaultValue?: string | number | undefined;
251
- validators?: {
252
- validator: import("../components/DynamicForm/control-validators").Validator;
253
- param?: string | number | undefined;
254
- }[] | undefined;
255
- options?: {
256
- value: string | number | boolean;
257
- label: string | (() => string);
258
- exclusive: boolean;
259
- image?: string | undefined;
260
- }[] | undefined;
261
- conditions?: {
262
- logic: "AND" | "OR";
263
- children: /*elided*/ any[];
264
- operator: import("../components/DynamicForm/models").ConditionOperator;
265
- id: number;
266
- value: string;
267
- }[] | undefined;
268
- multiple?: boolean | undefined;
269
- id: number;
270
- suffix?: string | undefined;
271
- prefix?: string | undefined;
272
- row: number;
273
- col: number;
274
- structure: /*elided*/ any[];
275
- group: number;
276
- title: string;
277
- customParams?: {
278
- [key: string]: any;
279
- } | undefined;
280
- itemsLength?: {
281
- default: number;
282
- controlId: number | null;
283
- value: number;
284
- } | null | undefined;
285
- }[];
286
- group: number;
287
- title: string;
288
- customParams?: {
289
- [key: string]: any;
290
- } | undefined;
291
- itemsLength?: {
292
- default: number;
293
- controlId: number | null;
294
- value: number;
295
- } | null | undefined;
296
- }[];
297
- title: string;
298
- order: number;
299
- name: string;
300
- text?: string | undefined;
301
- id: number;
302
- }[];
303
- currentStep: number;
304
- onLastSubstep: boolean;
305
- collections: Record<string, any>;
306
- } & import("pinia").PiniaCustomStateProperties<{
307
- formSteps: FormStepModel[];
308
- currentStep: number;
309
- onLastSubstep: boolean;
310
- collections: Record<string, any>;
311
- }>): number;
312
- nextDisabled(): boolean;
313
- getCollection(state: {
314
- formSteps: {
315
- valid: boolean;
316
- controls: {
317
- valid: boolean;
318
- value: any;
319
- visible?: boolean | undefined;
320
- parentKey?: string | undefined;
321
- code: string;
322
- controlType: import("@win2win/shared").ControlType;
323
- label?: string | undefined;
324
- type?: "text" | "number" | "tel" | "textarea" | undefined;
325
- name: string;
326
- defaultValue?: string | number | undefined;
327
- validators?: {
328
- validator: import("../components/DynamicForm/control-validators").Validator;
329
- param?: string | number | undefined;
330
- }[] | undefined;
331
- options?: {
332
- value: string | number | boolean;
333
- label: string | (() => string);
334
- exclusive: boolean;
335
- image?: string | undefined;
336
- }[] | undefined;
337
- conditions?: {
338
- logic: "AND" | "OR";
339
- children: /*elided*/ any[];
340
- operator: import("../components/DynamicForm/models").ConditionOperator;
341
- id: number;
342
- value: string;
343
- }[] | undefined;
344
- multiple?: boolean | undefined;
345
- id: number;
346
- suffix?: string | undefined;
347
- prefix?: string | undefined;
348
- row: number;
349
- col: number;
350
- structure: {
351
- code: string;
352
- controlType: import("@win2win/shared").ControlType;
353
- label?: string | undefined;
354
- type?: "text" | "number" | "tel" | "textarea" | undefined;
355
- name: string;
356
- defaultValue?: string | number | undefined;
357
- validators?: {
358
- validator: import("../components/DynamicForm/control-validators").Validator;
359
- param?: string | number | undefined;
360
- }[] | undefined;
361
- options?: {
362
- value: string | number | boolean;
363
- label: string | (() => string);
364
- exclusive: boolean;
365
- image?: string | undefined;
366
- }[] | undefined;
367
- conditions?: {
368
- logic: "AND" | "OR";
369
- children: /*elided*/ any[];
370
- operator: import("../components/DynamicForm/models").ConditionOperator;
371
- id: number;
372
- value: string;
373
- }[] | undefined;
374
- multiple?: boolean | undefined;
375
- id: number;
376
- suffix?: string | undefined;
377
- prefix?: string | undefined;
378
- row: number;
379
- col: number;
380
- structure: /*elided*/ any[];
381
- group: number;
382
- title: string;
383
- customParams?: {
384
- [key: string]: any;
385
- } | undefined;
386
- itemsLength?: {
387
- default: number;
388
- controlId: number | null;
389
- value: number;
390
- } | null | undefined;
391
- }[];
392
- group: number;
393
- title: string;
394
- customParams?: {
395
- [key: string]: any;
396
- } | undefined;
397
- itemsLength?: {
398
- default: number;
399
- controlId: number | null;
400
- value: number;
401
- } | null | undefined;
402
- }[];
403
- title: string;
404
- order: number;
405
- name: string;
406
- text?: string | undefined;
407
- id: number;
408
- }[];
409
- currentStep: number;
410
- onLastSubstep: boolean;
411
- collections: Record<string, any>;
412
- } & import("pinia").PiniaCustomStateProperties<{
413
- formSteps: FormStepModel[];
414
- currentStep: number;
415
- onLastSubstep: boolean;
416
- collections: Record<string, any>;
417
- }>): (key: string) => any;
418
- }, {
419
- setFormSteps(rawFormSteps: FormStep[]): void;
420
- nextStep(): void;
421
- previousStep(): void;
422
- setControlValue(stepIndex: number, controlModel: FormControlModel): void;
423
- setControlVisibility(stepIndex: number, controlId: number, visible: boolean): void;
424
- setControlItemsLength(stepIndex: number, controlId: number, lengthValue: number): void;
425
- setOnLastSubstep(value: boolean): void;
426
- resetSteps(): void;
427
- setCollection(key: string, value: any): void;
428
- }>;
429
- //# sourceMappingURL=useFormStore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFormStore.d.ts","sourceRoot":"","sources":["../../src/stores/useFormStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAE7F,eAAO,MAAM,YAAY;eAEJ,aAAa,EAAE;;;iBAGb,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;mBAHrB,aAAa,EAAE;;;qBAGb,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;mBAHrB,aAAa,EAAE;;;qBAGb,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;oBAiEtB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAjEJ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;mBAHrB,aAAa,EAAE;;;qBAGb,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;eAuEvB,MAAM;;+BApEM,QAAQ,EAAE;;;+BAWV,MAAM,gBAAgB,gBAAgB;oCAapD,MAAM,aACN,MAAM,WACR,OAAO;qCASL,MAAM,aACN,MAAM,eACJ,MAAM;4BAQG,OAAO;;uBAMZ,MAAM,SAAS,GAAG;EAoBvC,CAAC"}