@planeasyinc/fe-core 0.1.23 → 0.1.25

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 (53) hide show
  1. package/dist/conditions.d.ts +7 -0
  2. package/dist/conditions.d.ts.map +1 -0
  3. package/dist/conditions.js +62 -0
  4. package/dist/conditions.js.map +1 -0
  5. package/dist/control-traverser.d.ts +3 -0
  6. package/dist/control-traverser.d.ts.map +1 -0
  7. package/dist/control-traverser.js +15 -0
  8. package/dist/control-traverser.js.map +1 -0
  9. package/dist/engine.d.ts +102 -0
  10. package/dist/engine.d.ts.map +1 -0
  11. package/dist/engine.js +506 -0
  12. package/dist/engine.js.map +1 -0
  13. package/dist/index.d.ts +8 -579
  14. package/dist/index.d.ts.map +1 -0
  15. package/dist/index.js +7 -815
  16. package/dist/index.js.map +1 -1
  17. package/dist/runtime.d.ts +41 -0
  18. package/dist/runtime.d.ts.map +1 -0
  19. package/dist/runtime.js +98 -0
  20. package/dist/runtime.js.map +1 -0
  21. package/dist/schema-guard.d.ts +3 -0
  22. package/dist/schema-guard.d.ts.map +1 -0
  23. package/dist/schema-guard.js +50 -0
  24. package/dist/schema-guard.js.map +1 -0
  25. package/dist/types-list.d.ts +3 -0
  26. package/dist/types-list.d.ts.map +1 -0
  27. package/dist/types-list.js +43 -0
  28. package/dist/types-list.js.map +1 -0
  29. package/dist/types.d.ts +424 -0
  30. package/dist/types.d.ts.map +1 -0
  31. package/dist/types.js +2 -0
  32. package/dist/types.js.map +1 -0
  33. package/dist/validators/default-validators.d.ts +4 -0
  34. package/dist/validators/default-validators.d.ts.map +1 -0
  35. package/dist/validators/default-validators.js +171 -0
  36. package/dist/validators/default-validators.js.map +1 -0
  37. package/dist/validators/index.d.ts +5 -0
  38. package/dist/validators/index.d.ts.map +1 -0
  39. package/dist/validators/index.js +5 -0
  40. package/dist/validators/index.js.map +1 -0
  41. package/dist/validators/pattern-cache.d.ts +2 -0
  42. package/dist/validators/pattern-cache.d.ts.map +1 -0
  43. package/dist/validators/pattern-cache.js +27 -0
  44. package/dist/validators/pattern-cache.js.map +1 -0
  45. package/dist/validators/registry.d.ts +14 -0
  46. package/dist/validators/registry.d.ts.map +1 -0
  47. package/dist/validators/registry.js +24 -0
  48. package/dist/validators/registry.js.map +1 -0
  49. package/dist/validators/types.d.ts +15 -0
  50. package/dist/validators/types.d.ts.map +1 -0
  51. package/dist/validators/types.js +2 -0
  52. package/dist/validators/types.js.map +1 -0
  53. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1,579 +1,8 @@
1
- /**
2
- * ControlType - type that is used to define which control item or screen group
3
- * to render, is defined in "type" property
4
- *
5
- * Mirrors console ControlType with kebab-case normalization:
6
- * - Console snake_case (object_group, group_toggle) → kebab-case (object-group, group-toggle)
7
- * - Console camelCase (dateTriplet) → kebab-case (date-triplet)
8
- * - All console types are represented here
9
- */
10
- type FeControlType = 'text' | 'email' | 'phone' | 'password' | 'paragraph' | 'header' | 'select' | 'multiselect' | 'radio' | 'checkbox' | 'toggle' | 'textarea' | 'number' | 'number-plus' | 'number-minus' | 'number-equals' | 'number-initial' | 'number-operations' | 'slider' | 'number-slider' | 'date' | 'datetime' | 'time' | 'date-triplet' | 'array' | 'object' | 'object-latest' | 'object-group' | 'group' | 'group-toggle' | 'tabs' | 'tab' | 'row' | 'column' | 'dict' | 'file' | 'dropzone' | 'attachment' | 'bytes' | 'mask' | 'infoscreen' | 'json' | 'info-group' | 'chat' | 'button' | 'sections' | 'section';
11
- /**
12
- * ControlValueType - type of value that will be returned
13
- *
14
- * Mirrors console ControlValueType with framework-agnostic adaptations:
15
- * - Console uses { ref: IObjectReference } for object references
16
- * - Console uses ChatMessage[] for chat controls
17
- * - File[] represents uploaded files (console uses base64 strings or File objects)
18
- * - Date triplet uses { day, month, year } or Date object (console uses Date)
19
- */
20
- type FeControlValueType = string | number | boolean | null | undefined | string[] | number[] | unknown[] | Record<string, string[] | number[] | string | number | boolean | null | undefined> | File[] | {
21
- day?: number;
22
- month?: number;
23
- year?: number;
24
- } | {
25
- message: string;
26
- ts: number;
27
- } | {
28
- ref: {
29
- address: string | null;
30
- version_id: string | null;
31
- display_name?: string;
32
- };
33
- } | Array<{
34
- role: 'user' | 'assistant' | 'system';
35
- content: string;
36
- timestamp?: string;
37
- attachments?: any[];
38
- }>;
39
- /**
40
- * Condition - type used in group validators
41
- */
42
- type FeCondition = 'lt' | 'gt' | 'eq' | 'lte' | 'gte' | 'neq' | 'exists' | 'in' | 'contains';
43
- /**
44
- * Simple condition for single field check
45
- */
46
- interface FeSimpleCondition {
47
- field: string;
48
- condition: FeCondition;
49
- value?: any;
50
- }
51
- /**
52
- * Group condition for complex logical expressions
53
- */
54
- interface FeGroupCondition {
55
- operator: 'and' | 'or' | 'nand' | 'nor' | 'xor';
56
- conditions: Array<FeSimpleCondition | FeGroupCondition>;
57
- }
58
- /**
59
- * Control validator configuration
60
- */
61
- interface FeControlValidatorConfig {
62
- function: string;
63
- value?: number | string;
64
- }
65
- /**
66
- * Group validator configuration
67
- */
68
- interface FeGroupValidatorConfig {
69
- function: string;
70
- mainControl: string;
71
- dependentControls: string[];
72
- value?: any;
73
- }
74
- /**
75
- * Activator configuration
76
- */
77
- interface FeActivatorConfig {
78
- condition: FeCondition;
79
- mainControl: string;
80
- dependentControls: string[];
81
- value?: any;
82
- }
83
- /**
84
- * Backend condition configuration (JSON format)
85
- */
86
- interface FeBackendCondition {
87
- operation: 'and' | 'or';
88
- conditions: Array<{
89
- target_id: string;
90
- condition: FeCondition;
91
- value?: any;
92
- }>;
93
- }
94
- /**
95
- * Backend simple validation condition
96
- */
97
- interface FeBackendSimpleCondition {
98
- target_id: string;
99
- field?: string;
100
- condition: FeCondition;
101
- value?: any;
102
- }
103
- /**
104
- * Backend validation condition group
105
- */
106
- interface FeBackendConditionGroup {
107
- operation?: 'and' | 'or';
108
- operator?: 'and' | 'or';
109
- conditions: Array<FeBackendSimpleCondition | FeBackendConditionGroup>;
110
- }
111
- /**
112
- * Backend validation - can be either a simple condition or a condition group
113
- */
114
- type FeBackendValidation = FeBackendConditionGroup | FeBackendSimpleCondition;
115
- /**
116
- * Form Engine Action
117
- */
118
- interface FeActionBase {
119
- type: string;
120
- }
121
- interface UpdateApiActionBase {
122
- method: 'GET' | 'POST' | 'PUT' | 'DELETE';
123
- url: string;
124
- async?: boolean;
125
- body?: {
126
- [key: string]: any;
127
- };
128
- onSuccess?: FeControlAction[];
129
- onError?: FeControlAction[];
130
- }
131
- interface ControlSourceStatic {
132
- type: 'static';
133
- static_value: Record<string, any>;
134
- }
135
- interface ControlSourceDynamic {
136
- type: 'dynamic';
137
- dynamic_value: {
138
- entity_name: string;
139
- type: 'transaction' | 'object';
140
- body?: {
141
- [key: string]: any;
142
- };
143
- };
144
- }
145
- interface FeUpdateValueAction extends FeActionBase {
146
- type: 'update_value';
147
- field_id: string;
148
- value: any;
149
- }
150
- interface FeUpdateFormAction extends FeActionBase {
151
- type: 'update_form';
152
- control_source: ControlSourceDynamic | ControlSourceStatic;
153
- }
154
- interface FeUpdateTableAction extends FeActionBase {
155
- type: 'update_table';
156
- data_source: {
157
- entity_name: string;
158
- type: 'transaction' | 'class';
159
- };
160
- }
161
- interface FeInvokeAction extends FeActionBase, UpdateApiActionBase {
162
- type: 'invoke';
163
- }
164
- interface FeShowPopupAction extends FeActionBase {
165
- type: 'show_popup';
166
- [key: string]: any;
167
- }
168
- interface FeNavigateToSectionAction extends FeActionBase {
169
- type: 'navigate_to_section';
170
- section_id: string;
171
- }
172
- interface FeOpenUrlAction extends FeActionBase {
173
- type: 'open_url';
174
- url: string;
175
- }
176
- interface FeDownloadAction extends FeActionBase {
177
- type: 'download';
178
- payload: any;
179
- }
180
- interface FeScrollTopAction extends FeActionBase {
181
- type: 'scroll_top';
182
- }
183
- type FeControlAction = FeInvokeAction | FeUpdateFormAction | FeUpdateTableAction | FeUpdateValueAction | FeShowPopupAction | FeNavigateToSectionAction | FeOpenUrlAction | FeDownloadAction | FeScrollTopAction;
184
- /**
185
- * Base form item configuration (shared by all control types)
186
- *
187
- * Mirrors console BaseFormItemConfig with framework-agnostic adaptations.
188
- * All console-specific metadata is carried in the meta property.
189
- */
190
- interface FeBaseFormItemConfig {
191
- id: string;
192
- type: FeControlType;
193
- name: string;
194
- label?: string;
195
- required?: boolean;
196
- hideLabel?: boolean;
197
- readOnly?: boolean;
198
- validators?: FeControlValidatorConfig[] | FeGroupValidatorConfig[];
199
- activators?: FeActivatorConfig[];
200
- additionalText?: string;
201
- uiSection?: {
202
- id: string;
203
- label?: string;
204
- order?: number;
205
- };
206
- condition?: FeBackendSimpleCondition | FeBackendConditionGroup;
207
- validation?: FeBackendValidation;
208
- meta?: {
209
- options?: Array<{
210
- label: string;
211
- value: string;
212
- }>;
213
- control?: FeControlConfig;
214
- controls?: FeControlConfig[];
215
- styles?: Record<string, string | number>;
216
- mask?: string | {
217
- mask_string?: string;
218
- pattern?: string;
219
- placeholder?: string;
220
- prefix?: string;
221
- suffix?: string;
222
- thousands_separator?: string;
223
- [k: string]: any;
224
- };
225
- onFocus?: Array<FeInvokeAction>;
226
- onBlur?: Array<FeInvokeAction>;
227
- numberKind?: 'plus' | 'minus' | 'equals' | 'initial';
228
- slider?: {
229
- min: number;
230
- max: number;
231
- step?: number;
232
- discrete?: boolean;
233
- prefix?: string;
234
- number_format?: string;
235
- auto_compute_monthly?: string;
236
- };
237
- dateTripletMeta?: {
238
- dayKey: string;
239
- monthKey: string;
240
- yearKey: string;
241
- };
242
- dictMeta?: {
243
- source: string;
244
- valueKey?: string;
245
- labelKey?: string;
246
- options?: Array<{
247
- label: string;
248
- value: string;
249
- }>;
250
- };
251
- attachmentMeta?: {
252
- multiple?: boolean;
253
- accept?: string[];
254
- maxSizeMb?: number;
255
- };
256
- infoscreenMeta?: {
257
- title?: string;
258
- html?: string;
259
- };
260
- buttonMeta?: {
261
- label: string;
262
- action?: 'submit' | 'next' | 'custom';
263
- payload?: any;
264
- actions?: FeControlAction[];
265
- };
266
- chatMeta?: {
267
- endpoint: string;
268
- contextKey?: string;
269
- };
270
- toggle?: boolean;
271
- entityType?: string;
272
- showSearch?: boolean;
273
- customLabel?: string[];
274
- operations?: Array<{
275
- operator: 'sum' | 'min' | 'div' | 'multi' | 'eq';
276
- additionalText?: string;
277
- [key: string]: any;
278
- }>;
279
- [key: string]: any;
280
- };
281
- }
282
- /**
283
- * Base control configuration (extends base with value and placeholder)
284
- */
285
- interface FeBaseControlConfig extends FeBaseFormItemConfig {
286
- value?: FeControlValueType;
287
- placeholder?: string;
288
- }
289
- /**
290
- * Text mask configuration
291
- *
292
- * Mirrors console ITextMask interface:
293
- * - mask_string: string pattern (e.g., '(00)-000-000' for phone)
294
- * - prefix: optional prefix (e.g., '$' for currency)
295
- * - suffix: optional suffix
296
- * - thousands_separator: optional separator (e.g., ',' for 100,000)
297
- */
298
- interface FeTextMask {
299
- mask?: string | {
300
- mask_string?: string;
301
- pattern?: string;
302
- placeholder?: string;
303
- prefix?: string;
304
- suffix?: string;
305
- thousands_separator?: string;
306
- [k: string]: any;
307
- };
308
- }
309
- /**
310
- * Selectable control configuration
311
- */
312
- interface FeSingleSelectControlConfig extends FeBaseControlConfig, FeTextMask {
313
- type: 'select' | 'radio';
314
- options: Array<{
315
- label: string;
316
- value: string;
317
- }>;
318
- }
319
- /**
320
- * Multi-select control configuration
321
- */
322
- interface FeMultiSelectControlConfig extends FeBaseControlConfig {
323
- type: 'multiselect' | 'checkbox';
324
- options: Array<{
325
- label: string;
326
- value: string;
327
- }>;
328
- }
329
- /**
330
- * Text control configuration
331
- */
332
- interface FeTextControlConfig extends FeBaseControlConfig, FeTextMask {
333
- type: 'text' | 'email' | 'phone' | 'password';
334
- }
335
- /**
336
- * Number slider control configuration
337
- */
338
- interface FeNumberSliderControlConfig extends FeBaseControlConfig {
339
- type: 'number-slider' | 'slider';
340
- meta?: {
341
- slider: {
342
- min: number;
343
- max: number;
344
- step?: number;
345
- discrete?: boolean;
346
- };
347
- [key: string]: any;
348
- };
349
- }
350
- /**
351
- * Number operations control configuration
352
- */
353
- interface FeNumberOperationsControlConfig extends FeBaseControlConfig {
354
- type: 'number-operations';
355
- operations?: any[];
356
- }
357
- /**
358
- * Array control configuration
359
- */
360
- interface FeArrayControlConfig extends FeBaseControlConfig {
361
- type: 'array';
362
- control: FeControlConfig;
363
- }
364
- /**
365
- * Object control configuration
366
- */
367
- interface FeObjectControlConfig extends FeBaseControlConfig {
368
- type: 'object' | 'object-latest';
369
- controls?: FeControlConfig[];
370
- }
371
- /**
372
- * Group control configuration
373
- */
374
- interface FeGroupControlConfig extends FeBaseControlConfig {
375
- type: 'group' | 'object-group' | 'group-toggle' | 'sections' | 'tabs' | 'tab' | 'row' | 'column';
376
- controls: FeControlConfig[];
377
- }
378
- /**
379
- * Dictionary control configuration
380
- */
381
- interface FeDictControlConfig extends FeBaseControlConfig {
382
- type: 'dict';
383
- meta?: {
384
- dictMeta: {
385
- source: string;
386
- valueKey?: string;
387
- labelKey?: string;
388
- options?: Array<{
389
- label: string;
390
- value: string;
391
- }>;
392
- };
393
- dictKey?: string;
394
- [key: string]: any;
395
- };
396
- }
397
- /**
398
- * Union of all control configurations
399
- */
400
- type FeControlConfig = FeBaseControlConfig | FeSingleSelectControlConfig | FeMultiSelectControlConfig | FeTextControlConfig | FeNumberSliderControlConfig | FeNumberOperationsControlConfig | FeArrayControlConfig | FeObjectControlConfig | FeGroupControlConfig | FeDictControlConfig;
401
- /**
402
- * Section configuration
403
- */
404
- interface FeSection {
405
- id: string;
406
- label?: string;
407
- order?: number;
408
- controls: FeControlConfig[];
409
- condition?: FeBackendCondition;
410
- }
411
- /**
412
- * Form configuration
413
- */
414
- interface FeForm {
415
- sections: FeSection[];
416
- controls?: FeControlConfig[];
417
- }
418
-
419
- /**
420
- * Runtime state management for form fields
421
- */
422
- type Status = 'VALID' | 'INVALID' | 'PENDING';
423
- interface FieldState {
424
- visible: boolean;
425
- enabled: boolean;
426
- required: boolean;
427
- touched: boolean;
428
- dirty: boolean;
429
- status: Status;
430
- errors: Array<{
431
- code: string;
432
- message?: string;
433
- args?: any;
434
- }>;
435
- }
436
- interface RuntimeState {
437
- fields: Map<string, FieldState>;
438
- deps: Map<string, Set<string>>;
439
- }
440
- interface RuntimeAPI {
441
- state: RuntimeState;
442
- ensureFieldState(id: string): FieldState;
443
- getFieldState(id: string): FieldState | undefined;
444
- setVisible(id: string, visible: boolean): void;
445
- setEnabled(id: string, enabled: boolean): void;
446
- setRequired(id: string, required: boolean): void;
447
- setTouched(id: string, touched: boolean): void;
448
- setDirty(id: string, dirty: boolean): void;
449
- setStatus(id: string, status: Status): void;
450
- setErrors(id: string, errors: FieldState['errors']): void;
451
- addDependency(sourceId: string, targetId: string): void;
452
- getDependents(id: string): Set<string>;
453
- getDependenciesKeys(): string[];
454
- }
455
- declare function createRuntime(): {
456
- state: RuntimeState;
457
- api: RuntimeAPI;
458
- };
459
-
460
- /**
461
- * Validator registry for sync and async validators
462
- */
463
- interface ValidatorContext {
464
- get: (path: string) => any;
465
- signal?: AbortSignal;
466
- }
467
- interface ValidationResult {
468
- valid: boolean;
469
- error?: {
470
- code: string;
471
- message?: string;
472
- args?: any;
473
- };
474
- }
475
- type SyncValidator = (value: any, args?: any, ctx?: ValidatorContext) => ValidationResult;
476
- type AsyncValidator = (value: any, args?: any, ctx?: ValidatorContext) => Promise<ValidationResult>;
477
- declare function registerValidator(name: string, fn: SyncValidator): void;
478
- declare function registerAsyncValidator(name: string, fn: AsyncValidator): void;
479
- declare function getValidator(name: string): SyncValidator | undefined;
480
- declare function getAsyncValidator(name: string): AsyncValidator | undefined;
481
-
482
- declare function assertFeForm(x: any): asserts x is FeForm;
483
-
484
- interface FeFormEngineEvents {
485
- valueChanges: (values: Record<string, any>) => void;
486
- statusChanges: (status: {
487
- valid: boolean;
488
- errors: Record<string, any>;
489
- }) => void;
490
- submit: (values: Record<string, any>) => void;
491
- fieldStateChanges: (id: string, state: FieldState) => void;
492
- errorsChanges: (id: string, errors: FieldState['errors']) => void;
493
- action: <T extends object>(e: {
494
- controlId: string;
495
- action: T;
496
- }) => void;
497
- }
498
- interface FeFormEngineState {
499
- values: Record<string, any>;
500
- errors: Record<string, any>;
501
- touched: Record<string, boolean>;
502
- dirty: Record<string, boolean>;
503
- valid: boolean;
504
- }
505
- interface FeFormEngineOptions {
506
- initialValues?: Record<string, any>;
507
- validateOnChange?: boolean;
508
- }
509
- interface FeFormEngineResolvers {
510
- attachment?: <T>(value: T) => Promise<string>;
511
- objectLatest?: (className: string) => Promise<unknown>;
512
- }
513
- declare class FeFormEngine {
514
- private schema;
515
- private state;
516
- private runtime;
517
- private listeners;
518
- private batchMode;
519
- private pendingEmits;
520
- private pendingValueChanges;
521
- private pendingFieldStateChanges;
522
- private pendingErrorsChanges;
523
- private asyncValidators;
524
- private conditions;
525
- readonly resolvers: FeFormEngineResolvers;
526
- constructor(schema: FeForm, options?: FeFormEngineOptions, resolvers?: FeFormEngineResolvers);
527
- triggerAction<T extends object>(e: {
528
- controlId: string;
529
- action: T;
530
- }): void;
531
- private initializeFieldStates;
532
- private buildDependencyGraph;
533
- private executeConditions;
534
- private extractCondition;
535
- private extractConditionPaths;
536
- private reevaluateDependents;
537
- private evaluateFieldConditions;
538
- private evaluateCondition;
539
- private emitFieldStateChange;
540
- private emitErrorsChange;
541
- private extractInitialValues;
542
- get values(): {
543
- get: (id: string, ctx?: {
544
- index?: number;
545
- key?: string;
546
- }) => any;
547
- set: (id: string, value: any, ctx?: {
548
- index?: number;
549
- key?: string;
550
- }) => void;
551
- getAll: () => Record<string, any>;
552
- };
553
- get status(): {
554
- valid: boolean;
555
- errors: Record<string, any>;
556
- touched: Record<string, boolean>;
557
- dirty: Record<string, boolean>;
558
- };
559
- getFieldState(id: string): FieldState;
560
- registerValidator(name: string, fn: SyncValidator): void;
561
- registerAsyncValidator(name: string, fn: AsyncValidator): void;
562
- batch(fn: () => void): void;
563
- on<K extends keyof FeFormEngineEvents>(event: K, listener: FeFormEngineEvents[K]): () => void;
564
- private emit;
565
- validate(): boolean;
566
- private validateControlValidator;
567
- private validateBackend;
568
- markTouched(id: string): void;
569
- markAllTouched(): void;
570
- markAsDirty(id: string): void;
571
- markAllAsDirty(): void;
572
- submit(): Record<string, any> | null;
573
- reset(values?: Record<string, any>): void;
574
- private traverseSchema;
575
- private processControl;
576
- }
577
- declare function createEngine(schema: FeForm, options?: FeFormEngineOptions, resolvers?: FeFormEngineResolvers): FeFormEngine;
578
-
579
- export { type AsyncValidator, type FeActivatorConfig, type FeArrayControlConfig, type FeBackendCondition, type FeBackendConditionGroup, type FeBackendSimpleCondition, type FeBackendValidation, type FeBaseControlConfig, type FeBaseFormItemConfig, type FeCondition, type FeControlAction, type FeControlConfig, type FeControlType, type FeControlValidatorConfig, type FeControlValueType, type FeDictControlConfig, type FeDownloadAction, type FeForm, FeFormEngine, type FeFormEngineEvents, type FeFormEngineOptions, type FeFormEngineResolvers, type FeFormEngineState, type FeGroupCondition, type FeGroupControlConfig, type FeGroupValidatorConfig, type FeInvokeAction, type FeMultiSelectControlConfig, type FeNavigateToSectionAction, type FeNumberOperationsControlConfig, type FeNumberSliderControlConfig, type FeObjectControlConfig, type FeOpenUrlAction, type FeScrollTopAction, type FeSection, type FeShowPopupAction, type FeSimpleCondition, type FeSingleSelectControlConfig, type FeTextControlConfig, type FeTextMask, type FeUpdateFormAction, type FeUpdateTableAction, type FeUpdateValueAction, type FieldState, type RuntimeAPI, type RuntimeState, type Status, type SyncValidator, type ValidationResult, type ValidatorContext, assertFeForm, createEngine, createRuntime, getAsyncValidator, getValidator, registerAsyncValidator, registerValidator };
1
+ export * from './types';
2
+ export * from './types-list';
3
+ export * from './runtime';
4
+ export * from './validators/types';
5
+ export * from './validators/registry';
6
+ export * from './schema-guard';
7
+ export * from './engine';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC"}