@rippling/pebble-sdui-web 0.2.0 → 0.3.1
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.
- package/README.md +118 -0
- package/dist/README.md +118 -0
- package/dist/catalogs/custom-apps/component-props.d.ts +89 -0
- package/dist/catalogs/custom-apps/index.d.ts +1 -1
- package/dist/core/component-utils.cjs.map +1 -1
- package/dist/core/component-utils.d.ts +3 -2
- package/dist/core/component-utils.js.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/spec.cjs +1 -1
- package/dist/core/spec.cjs.map +1 -1
- package/dist/core/spec.js +28 -27
- package/dist/core/spec.js.map +1 -1
- package/dist/sdk-docs.cjs +1115 -0
- package/dist/sdk-docs.cjs.map +1 -0
- package/dist/sdk-docs.d.ts +13 -0
- package/dist/sdk-docs.generated.d.ts +3 -0
- package/dist/sdk-docs.js +1181 -0
- package/dist/sdk-docs.js.map +1 -0
- package/package.json +6 -1
|
@@ -17,8 +17,10 @@ export interface Addres {
|
|
|
17
17
|
}
|
|
18
18
|
/** Lottie animation JSON object. Required if path not provided */
|
|
19
19
|
export interface AnimationData {
|
|
20
|
+
[key: string]: unknown;
|
|
20
21
|
}
|
|
21
22
|
export interface AppGroupSelectArg {
|
|
23
|
+
[key: string]: unknown;
|
|
22
24
|
}
|
|
23
25
|
export interface AppGroupSelectCheck {
|
|
24
26
|
args?: AppGroupSelectArg;
|
|
@@ -32,6 +34,7 @@ export interface AppGroupSelectFooter {
|
|
|
32
34
|
}
|
|
33
35
|
/** Fuse.js search options for customizing fuzzy search behavior */
|
|
34
36
|
export interface AppGroupSelectFuseOption {
|
|
37
|
+
[key: string]: unknown;
|
|
35
38
|
}
|
|
36
39
|
export interface AppNavBarAction {
|
|
37
40
|
appearance?: 'PRIMARY' | 'DESTRUCTIVE' | 'OUTLINE' | 'GHOST' | 'ACCENT' | 'SUCCESS' | 'INFO' | 'WARNING';
|
|
@@ -77,6 +80,7 @@ export interface CardAction {
|
|
|
77
80
|
label: string;
|
|
78
81
|
}
|
|
79
82
|
export interface CheckboxArg {
|
|
83
|
+
[key: string]: unknown;
|
|
80
84
|
}
|
|
81
85
|
export interface CheckboxCheck {
|
|
82
86
|
args?: CheckboxArg;
|
|
@@ -84,6 +88,7 @@ export interface CheckboxCheck {
|
|
|
84
88
|
type: string;
|
|
85
89
|
}
|
|
86
90
|
export interface CheckboxGroupArg {
|
|
91
|
+
[key: string]: unknown;
|
|
87
92
|
}
|
|
88
93
|
export interface CheckboxGroupCheck {
|
|
89
94
|
args?: CheckboxGroupArg;
|
|
@@ -124,8 +129,10 @@ export interface ChipTip {
|
|
|
124
129
|
}
|
|
125
130
|
/** Configure when each priority level auto-collapses based on container width. Keys are priority numbers, values are width thresholds (collapse below this width). Use false to disable auto-collapse for a priority level */
|
|
126
131
|
export interface CollapseBelow {
|
|
132
|
+
[key: string]: unknown;
|
|
127
133
|
}
|
|
128
134
|
export interface ColorPickerArg {
|
|
135
|
+
[key: string]: unknown;
|
|
129
136
|
}
|
|
130
137
|
export interface ColorPickerCheck {
|
|
131
138
|
args?: ColorPickerArg;
|
|
@@ -140,6 +147,7 @@ export interface Column {
|
|
|
140
147
|
wrapText?: boolean;
|
|
141
148
|
}
|
|
142
149
|
export interface CurrencyArg {
|
|
150
|
+
[key: string]: unknown;
|
|
143
151
|
}
|
|
144
152
|
export interface CurrencyCheck {
|
|
145
153
|
args?: CurrencyArg;
|
|
@@ -147,6 +155,7 @@ export interface CurrencyCheck {
|
|
|
147
155
|
type: string;
|
|
148
156
|
}
|
|
149
157
|
export interface DateArg {
|
|
158
|
+
[key: string]: unknown;
|
|
150
159
|
}
|
|
151
160
|
export interface DateCheck {
|
|
152
161
|
args?: DateArg;
|
|
@@ -154,6 +163,7 @@ export interface DateCheck {
|
|
|
154
163
|
type: string;
|
|
155
164
|
}
|
|
156
165
|
export interface DateInlineMultiArg {
|
|
166
|
+
[key: string]: unknown;
|
|
157
167
|
}
|
|
158
168
|
export interface DateInlineMultiCheck {
|
|
159
169
|
args?: DateInlineMultiArg;
|
|
@@ -161,6 +171,7 @@ export interface DateInlineMultiCheck {
|
|
|
161
171
|
type: string;
|
|
162
172
|
}
|
|
163
173
|
export interface DateRangeArg {
|
|
174
|
+
[key: string]: unknown;
|
|
164
175
|
}
|
|
165
176
|
export interface DateRangeCheck {
|
|
166
177
|
args?: DateRangeArg;
|
|
@@ -168,12 +179,16 @@ export interface DateRangeCheck {
|
|
|
168
179
|
type: string;
|
|
169
180
|
}
|
|
170
181
|
export interface DaySelectorArg {
|
|
182
|
+
[key: string]: unknown;
|
|
171
183
|
}
|
|
172
184
|
export interface DaySelectorCheck {
|
|
173
185
|
args?: DaySelectorArg;
|
|
174
186
|
message: string;
|
|
175
187
|
type: string;
|
|
176
188
|
}
|
|
189
|
+
export interface DaySelectorTip {
|
|
190
|
+
content: string;
|
|
191
|
+
}
|
|
177
192
|
export interface DraggableListList {
|
|
178
193
|
id: unknown;
|
|
179
194
|
label?: string;
|
|
@@ -196,6 +211,7 @@ export interface DropdownList2 {
|
|
|
196
211
|
value: string;
|
|
197
212
|
}
|
|
198
213
|
export interface EmailArg {
|
|
214
|
+
[key: string]: unknown;
|
|
199
215
|
}
|
|
200
216
|
export interface EmailCheck {
|
|
201
217
|
args?: EmailArg;
|
|
@@ -203,6 +219,7 @@ export interface EmailCheck {
|
|
|
203
219
|
type: string;
|
|
204
220
|
}
|
|
205
221
|
export interface FileDropArg {
|
|
222
|
+
[key: string]: unknown;
|
|
206
223
|
}
|
|
207
224
|
export interface FileDropCheck {
|
|
208
225
|
args?: FileDropArg;
|
|
@@ -246,21 +263,27 @@ export interface FormCheckboxGroupOption {
|
|
|
246
263
|
}
|
|
247
264
|
/** Map of rule name to error message */
|
|
248
265
|
export interface FormCheckboxGroupValidationError {
|
|
266
|
+
[key: string]: string;
|
|
249
267
|
}
|
|
250
268
|
/** Map of rule name to error message */
|
|
251
269
|
export interface FormCheckboxValidationError {
|
|
270
|
+
[key: string]: string;
|
|
252
271
|
}
|
|
253
272
|
/** Map of rule name to error message */
|
|
254
273
|
export interface FormCurrencyValidationError {
|
|
274
|
+
[key: string]: string;
|
|
255
275
|
}
|
|
256
276
|
/** Map of rule name to error message */
|
|
257
277
|
export interface FormDateValidationError {
|
|
278
|
+
[key: string]: string;
|
|
258
279
|
}
|
|
259
280
|
/** Map of rule name to error message */
|
|
260
281
|
export interface FormDaySelectorValidationError {
|
|
282
|
+
[key: string]: string;
|
|
261
283
|
}
|
|
262
284
|
/** Map of rule name to error message */
|
|
263
285
|
export interface FormEmailValidationError {
|
|
286
|
+
[key: string]: string;
|
|
264
287
|
}
|
|
265
288
|
/** Cropper configuration */
|
|
266
289
|
export interface FormFileCropperConfig {
|
|
@@ -298,6 +321,7 @@ export interface FormFileDropDefaultValue {
|
|
|
298
321
|
}
|
|
299
322
|
/** Map of rule name to error message */
|
|
300
323
|
export interface FormFileDropValidationError {
|
|
324
|
+
[key: string]: string;
|
|
301
325
|
}
|
|
302
326
|
export interface FormFileDropValue {
|
|
303
327
|
name?: string;
|
|
@@ -311,6 +335,7 @@ export interface FormFileDropValue {
|
|
|
311
335
|
}
|
|
312
336
|
/** Map of rule name to error message */
|
|
313
337
|
export interface FormFileValidationError {
|
|
338
|
+
[key: string]: string;
|
|
314
339
|
}
|
|
315
340
|
export interface FormFileValue {
|
|
316
341
|
name?: string;
|
|
@@ -324,15 +349,19 @@ export interface FormFileValue {
|
|
|
324
349
|
}
|
|
325
350
|
/** Map of rule name to error message */
|
|
326
351
|
export interface FormNumberValidationError {
|
|
352
|
+
[key: string]: string;
|
|
327
353
|
}
|
|
328
354
|
/** Map of rule name to error message */
|
|
329
355
|
export interface FormPasswordValidationError {
|
|
356
|
+
[key: string]: string;
|
|
330
357
|
}
|
|
331
358
|
/** Map of rule name to error message */
|
|
332
359
|
export interface FormPercentageValidationError {
|
|
360
|
+
[key: string]: string;
|
|
333
361
|
}
|
|
334
362
|
/** Map of rule name to error message */
|
|
335
363
|
export interface FormPhoneValidationError {
|
|
364
|
+
[key: string]: string;
|
|
336
365
|
}
|
|
337
366
|
export interface FormRadioOption {
|
|
338
367
|
isActive?: boolean;
|
|
@@ -345,6 +374,7 @@ export interface FormRadioOption {
|
|
|
345
374
|
}
|
|
346
375
|
/** Map of rule name to error message */
|
|
347
376
|
export interface FormRadioValidationError {
|
|
377
|
+
[key: string]: string;
|
|
348
378
|
}
|
|
349
379
|
export interface FormSegmentedControlOption {
|
|
350
380
|
appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
@@ -361,27 +391,35 @@ export interface FormSegmentedControlTip {
|
|
|
361
391
|
}
|
|
362
392
|
/** Map of rule name to error message */
|
|
363
393
|
export interface FormSegmentedControlValidationError {
|
|
394
|
+
[key: string]: string;
|
|
364
395
|
}
|
|
365
396
|
/** Map of rule name to error message */
|
|
366
397
|
export interface FormSelectValidationError {
|
|
398
|
+
[key: string]: string;
|
|
367
399
|
}
|
|
368
400
|
/** Map of rule name to error message */
|
|
369
401
|
export interface FormSinValidationError {
|
|
402
|
+
[key: string]: string;
|
|
370
403
|
}
|
|
371
404
|
/** Named marks on the slider track. Keys are numeric positions, values are labels */
|
|
372
405
|
export interface FormSliderMark {
|
|
406
|
+
[key: string]: string;
|
|
373
407
|
}
|
|
374
408
|
/** Map of rule name to error message */
|
|
375
409
|
export interface FormSliderValidationError {
|
|
410
|
+
[key: string]: string;
|
|
376
411
|
}
|
|
377
412
|
/** Map of rule name to error message */
|
|
378
413
|
export interface FormSsnValidationError {
|
|
414
|
+
[key: string]: string;
|
|
379
415
|
}
|
|
380
416
|
/** Map of rule name to error message */
|
|
381
417
|
export interface FormSwitchValidationError {
|
|
418
|
+
[key: string]: string;
|
|
382
419
|
}
|
|
383
420
|
/** Map of rule name to error message */
|
|
384
421
|
export interface FormTextareaValidationError {
|
|
422
|
+
[key: string]: string;
|
|
385
423
|
}
|
|
386
424
|
export interface FormTextAutoSuggestSuggestion {
|
|
387
425
|
label: string;
|
|
@@ -389,15 +427,19 @@ export interface FormTextAutoSuggestSuggestion {
|
|
|
389
427
|
}
|
|
390
428
|
/** Map of rule name to error message */
|
|
391
429
|
export interface FormTextAutoSuggestValidationError {
|
|
430
|
+
[key: string]: string;
|
|
392
431
|
}
|
|
393
432
|
/** Map of rule name to error message */
|
|
394
433
|
export interface FormTextValidationError {
|
|
434
|
+
[key: string]: string;
|
|
395
435
|
}
|
|
396
436
|
/** Map of rule name to error message */
|
|
397
437
|
export interface FormTimeValidationError {
|
|
438
|
+
[key: string]: string;
|
|
398
439
|
}
|
|
399
440
|
/** Fuse.js search options for customizing search behavior */
|
|
400
441
|
export interface FormTreeFuseOption {
|
|
442
|
+
[key: string]: unknown;
|
|
401
443
|
}
|
|
402
444
|
export interface FormTreeList {
|
|
403
445
|
disabledInfo?: unknown;
|
|
@@ -410,6 +452,7 @@ export interface FormTreeList {
|
|
|
410
452
|
}
|
|
411
453
|
/** Fuse.js search configuration. Default: { keys: ["label", "name"] } */
|
|
412
454
|
export interface FormTreeSelectFuseOption {
|
|
455
|
+
[key: string]: unknown;
|
|
413
456
|
}
|
|
414
457
|
export interface FormTreeSelectList {
|
|
415
458
|
isDisabled?: boolean;
|
|
@@ -420,18 +463,23 @@ export interface FormTreeSelectList {
|
|
|
420
463
|
}
|
|
421
464
|
/** Map of rule name to error message */
|
|
422
465
|
export interface FormTreeSelectValidationError {
|
|
466
|
+
[key: string]: string;
|
|
423
467
|
}
|
|
424
468
|
/** Map of rule name to error message */
|
|
425
469
|
export interface FormTreeValidationError {
|
|
470
|
+
[key: string]: string;
|
|
426
471
|
}
|
|
427
472
|
/** External validation errors keyed by input name */
|
|
428
473
|
export interface FormValidationError {
|
|
474
|
+
[key: string]: string;
|
|
429
475
|
}
|
|
430
476
|
/** Form values model. Written to state on change/submit (read-only — push-only) */
|
|
431
477
|
export interface FormValue {
|
|
478
|
+
[key: string]: unknown;
|
|
432
479
|
}
|
|
433
480
|
/** Map of rule name to error message */
|
|
434
481
|
export interface FormWorkEmailValidationError {
|
|
482
|
+
[key: string]: string;
|
|
435
483
|
}
|
|
436
484
|
export interface GridAction {
|
|
437
485
|
'aria-label'?: string;
|
|
@@ -455,6 +503,7 @@ export interface Input {
|
|
|
455
503
|
}
|
|
456
504
|
/** Props to pass to the input component */
|
|
457
505
|
export interface InputProp {
|
|
506
|
+
[key: string]: unknown;
|
|
458
507
|
}
|
|
459
508
|
export interface LayoutValue {
|
|
460
509
|
border?: string;
|
|
@@ -488,6 +537,7 @@ export interface LocationCardAction {
|
|
|
488
537
|
label: string;
|
|
489
538
|
}
|
|
490
539
|
export interface MaskerArg {
|
|
540
|
+
[key: string]: unknown;
|
|
491
541
|
}
|
|
492
542
|
export interface MaskerCheck {
|
|
493
543
|
args?: MaskerArg;
|
|
@@ -515,6 +565,7 @@ export interface NestedListList {
|
|
|
515
565
|
value?: string;
|
|
516
566
|
}
|
|
517
567
|
export interface NumberArg {
|
|
568
|
+
[key: string]: unknown;
|
|
518
569
|
}
|
|
519
570
|
export interface NumberCheck {
|
|
520
571
|
args?: NumberArg;
|
|
@@ -574,8 +625,10 @@ export interface PaginateListList {
|
|
|
574
625
|
}
|
|
575
626
|
/** Partner company data for profile URL routing */
|
|
576
627
|
export interface PartnerCompany {
|
|
628
|
+
[key: string]: unknown;
|
|
577
629
|
}
|
|
578
630
|
export interface PasswordArg {
|
|
631
|
+
[key: string]: unknown;
|
|
579
632
|
}
|
|
580
633
|
export interface PasswordCheck {
|
|
581
634
|
args?: PasswordArg;
|
|
@@ -589,6 +642,7 @@ export interface PasswordStringPadding {
|
|
|
589
642
|
position: 'start' | 'end';
|
|
590
643
|
}
|
|
591
644
|
export interface PercentageArg {
|
|
645
|
+
[key: string]: unknown;
|
|
592
646
|
}
|
|
593
647
|
export interface PercentageCheck {
|
|
594
648
|
args?: PercentageArg;
|
|
@@ -596,6 +650,7 @@ export interface PercentageCheck {
|
|
|
596
650
|
type: string;
|
|
597
651
|
}
|
|
598
652
|
export interface PhoneArg {
|
|
653
|
+
[key: string]: unknown;
|
|
599
654
|
}
|
|
600
655
|
export interface PhoneCheck {
|
|
601
656
|
args?: PhoneArg;
|
|
@@ -617,8 +672,10 @@ export interface ProgressStepsStep {
|
|
|
617
672
|
}
|
|
618
673
|
/** Query parameters to append when navigating to this item */
|
|
619
674
|
export interface QueryParam {
|
|
675
|
+
[key: string]: string;
|
|
620
676
|
}
|
|
621
677
|
export interface RadioArg {
|
|
678
|
+
[key: string]: unknown;
|
|
622
679
|
}
|
|
623
680
|
export interface RadioCheck {
|
|
624
681
|
args?: RadioArg;
|
|
@@ -635,6 +692,7 @@ export interface RadioOption {
|
|
|
635
692
|
value: unknown;
|
|
636
693
|
}
|
|
637
694
|
export interface RangeSliderArg {
|
|
695
|
+
[key: string]: unknown;
|
|
638
696
|
}
|
|
639
697
|
export interface RangeSliderCheck {
|
|
640
698
|
args?: RangeSliderArg;
|
|
@@ -643,9 +701,15 @@ export interface RangeSliderCheck {
|
|
|
643
701
|
}
|
|
644
702
|
/** Marks on slider as {position: label} object (e.g. {10: "10$", 50: "50$"}) */
|
|
645
703
|
export interface RangeSliderMark {
|
|
704
|
+
[key: string]: string;
|
|
646
705
|
}
|
|
647
706
|
/** Per-day configuration. Keys are day names (Sunday, Monday, etc.). Each can have isDisabled (boolean) and tip (object with content string) */
|
|
648
707
|
export interface RenderProp {
|
|
708
|
+
[key: string]: RenderPropValue;
|
|
709
|
+
}
|
|
710
|
+
export interface RenderPropValue {
|
|
711
|
+
isDisabled?: boolean;
|
|
712
|
+
tip?: DaySelectorTip;
|
|
649
713
|
}
|
|
650
714
|
export interface Role {
|
|
651
715
|
fullName?: string;
|
|
@@ -657,12 +721,14 @@ export interface Role {
|
|
|
657
721
|
workEmail?: string;
|
|
658
722
|
}
|
|
659
723
|
export interface Row {
|
|
724
|
+
[key: string]: string | number | boolean;
|
|
660
725
|
}
|
|
661
726
|
export interface Segment {
|
|
662
727
|
segmentColor: string;
|
|
663
728
|
value: number;
|
|
664
729
|
}
|
|
665
730
|
export interface SegmentedControlArg {
|
|
731
|
+
[key: string]: unknown;
|
|
666
732
|
}
|
|
667
733
|
export interface SegmentedControlCheck {
|
|
668
734
|
args?: SegmentedControlArg;
|
|
@@ -688,6 +754,7 @@ export interface SegmentedControlTip {
|
|
|
688
754
|
content: string;
|
|
689
755
|
}
|
|
690
756
|
export interface SelectableGroupArg {
|
|
757
|
+
[key: string]: unknown;
|
|
691
758
|
}
|
|
692
759
|
export interface SelectableGroupCheck {
|
|
693
760
|
args?: SelectableGroupArg;
|
|
@@ -695,6 +762,7 @@ export interface SelectableGroupCheck {
|
|
|
695
762
|
type: string;
|
|
696
763
|
}
|
|
697
764
|
export interface SelectableGroupList {
|
|
765
|
+
[key: string]: unknown;
|
|
698
766
|
}
|
|
699
767
|
export interface SelectableMenuList {
|
|
700
768
|
isDisabled?: boolean;
|
|
@@ -702,6 +770,7 @@ export interface SelectableMenuList {
|
|
|
702
770
|
value: string;
|
|
703
771
|
}
|
|
704
772
|
export interface SelectArg {
|
|
773
|
+
[key: string]: unknown;
|
|
705
774
|
}
|
|
706
775
|
/** Avatar configuration for the option */
|
|
707
776
|
export interface SelectAvatarProp {
|
|
@@ -720,6 +789,7 @@ export interface SelectFooter {
|
|
|
720
789
|
}
|
|
721
790
|
/** Fuse.js search options for customizing fuzzy search behavior */
|
|
722
791
|
export interface SelectFuseOption {
|
|
792
|
+
[key: string]: unknown;
|
|
723
793
|
}
|
|
724
794
|
export interface SelectOption {
|
|
725
795
|
avatarProps?: SelectAvatarProp;
|
|
@@ -742,6 +812,7 @@ export interface ShowMoreValue {
|
|
|
742
812
|
size: number;
|
|
743
813
|
}
|
|
744
814
|
export interface SignatureArg {
|
|
815
|
+
[key: string]: unknown;
|
|
745
816
|
}
|
|
746
817
|
export interface SignatureCheck {
|
|
747
818
|
args?: SignatureArg;
|
|
@@ -749,6 +820,7 @@ export interface SignatureCheck {
|
|
|
749
820
|
type: string;
|
|
750
821
|
}
|
|
751
822
|
export interface SinArg {
|
|
823
|
+
[key: string]: unknown;
|
|
752
824
|
}
|
|
753
825
|
export interface SinCheck {
|
|
754
826
|
args?: SinArg;
|
|
@@ -767,6 +839,7 @@ export interface Slide {
|
|
|
767
839
|
img: string;
|
|
768
840
|
}
|
|
769
841
|
export interface SliderArg {
|
|
842
|
+
[key: string]: unknown;
|
|
770
843
|
}
|
|
771
844
|
export interface SliderCheck {
|
|
772
845
|
args?: SliderArg;
|
|
@@ -775,8 +848,10 @@ export interface SliderCheck {
|
|
|
775
848
|
}
|
|
776
849
|
/** Named marks on the slider track. Keys are numeric positions, values are labels */
|
|
777
850
|
export interface SliderMark {
|
|
851
|
+
[key: string]: string;
|
|
778
852
|
}
|
|
779
853
|
export interface SsnArg {
|
|
854
|
+
[key: string]: unknown;
|
|
780
855
|
}
|
|
781
856
|
export interface SsnCheck {
|
|
782
857
|
args?: SsnArg;
|
|
@@ -814,6 +889,7 @@ export interface SubmitButtonProp {
|
|
|
814
889
|
size?: 'L' | 'M' | 'S' | 'XS';
|
|
815
890
|
}
|
|
816
891
|
export interface SurveyArg {
|
|
892
|
+
[key: string]: unknown;
|
|
817
893
|
}
|
|
818
894
|
export interface SurveyCheck {
|
|
819
895
|
args?: SurveyArg;
|
|
@@ -832,6 +908,7 @@ export interface SurveyRangeLabel {
|
|
|
832
908
|
upper: string;
|
|
833
909
|
}
|
|
834
910
|
export interface SwitchArg {
|
|
911
|
+
[key: string]: unknown;
|
|
835
912
|
}
|
|
836
913
|
export interface SwitchCheck {
|
|
837
914
|
args?: SwitchArg;
|
|
@@ -852,6 +929,7 @@ export interface TabItem {
|
|
|
852
929
|
value: unknown;
|
|
853
930
|
}
|
|
854
931
|
export interface TextareaArg {
|
|
932
|
+
[key: string]: unknown;
|
|
855
933
|
}
|
|
856
934
|
export interface TextareaCheck {
|
|
857
935
|
args?: TextareaArg;
|
|
@@ -859,6 +937,7 @@ export interface TextareaCheck {
|
|
|
859
937
|
type: string;
|
|
860
938
|
}
|
|
861
939
|
export interface TextAutoSuggestArg {
|
|
940
|
+
[key: string]: unknown;
|
|
862
941
|
}
|
|
863
942
|
export interface TextAutoSuggestCheck {
|
|
864
943
|
args?: TextAutoSuggestArg;
|
|
@@ -876,6 +955,7 @@ export interface TextAutoSuggestSuggestion {
|
|
|
876
955
|
value: unknown;
|
|
877
956
|
}
|
|
878
957
|
export interface TextInputArg {
|
|
958
|
+
[key: string]: unknown;
|
|
879
959
|
}
|
|
880
960
|
export interface TextInputCheck {
|
|
881
961
|
args?: TextInputArg;
|
|
@@ -889,6 +969,7 @@ export interface TextInputStringPadding {
|
|
|
889
969
|
position: 'start' | 'end';
|
|
890
970
|
}
|
|
891
971
|
export interface TimeArg {
|
|
972
|
+
[key: string]: unknown;
|
|
892
973
|
}
|
|
893
974
|
export interface TimeCheck {
|
|
894
975
|
args?: TimeArg;
|
|
@@ -900,6 +981,7 @@ export interface TimeProp {
|
|
|
900
981
|
defaultValue: string;
|
|
901
982
|
}
|
|
902
983
|
export interface TimeRangeArg {
|
|
984
|
+
[key: string]: unknown;
|
|
903
985
|
}
|
|
904
986
|
export interface TimeRangeCheck {
|
|
905
987
|
args?: TimeRangeArg;
|
|
@@ -907,6 +989,7 @@ export interface TimeRangeCheck {
|
|
|
907
989
|
type: string;
|
|
908
990
|
}
|
|
909
991
|
export interface TimezoneArg {
|
|
992
|
+
[key: string]: unknown;
|
|
910
993
|
}
|
|
911
994
|
export interface TimezoneCheck {
|
|
912
995
|
args?: TimezoneArg;
|
|
@@ -920,6 +1003,7 @@ export interface ToggleIcon {
|
|
|
920
1003
|
size?: unknown;
|
|
921
1004
|
}
|
|
922
1005
|
export interface TreeArg {
|
|
1006
|
+
[key: string]: unknown;
|
|
923
1007
|
}
|
|
924
1008
|
export interface TreeCheck {
|
|
925
1009
|
args?: TreeArg;
|
|
@@ -932,6 +1016,7 @@ export interface TreeFooter {
|
|
|
932
1016
|
}
|
|
933
1017
|
/** Fuse.js search options for customizing search behavior */
|
|
934
1018
|
export interface TreeFuseOption {
|
|
1019
|
+
[key: string]: unknown;
|
|
935
1020
|
}
|
|
936
1021
|
export interface TreeList {
|
|
937
1022
|
disabledInfo?: unknown;
|
|
@@ -943,6 +1028,7 @@ export interface TreeList {
|
|
|
943
1028
|
value: string;
|
|
944
1029
|
}
|
|
945
1030
|
export interface TreeSelectArg {
|
|
1031
|
+
[key: string]: unknown;
|
|
946
1032
|
}
|
|
947
1033
|
export interface TreeSelectCheck {
|
|
948
1034
|
args?: TreeSelectArg;
|
|
@@ -951,6 +1037,7 @@ export interface TreeSelectCheck {
|
|
|
951
1037
|
}
|
|
952
1038
|
/** Fuse.js search configuration. Default: { keys: ["label", "name"] } */
|
|
953
1039
|
export interface TreeSelectFuseOption {
|
|
1040
|
+
[key: string]: unknown;
|
|
954
1041
|
}
|
|
955
1042
|
export interface TreeSelectList {
|
|
956
1043
|
isDisabled?: boolean;
|
|
@@ -962,6 +1049,7 @@ export interface TreeSelectList {
|
|
|
962
1049
|
/** User cache data with smallPhoto fallback */
|
|
963
1050
|
export interface User_cache {
|
|
964
1051
|
smallPhoto?: string;
|
|
1052
|
+
[key: string]: unknown | string | undefined;
|
|
965
1053
|
}
|
|
966
1054
|
/** Vertical size constraints for mobile stacked layout. Object with optional default/min/max properties as CSS strings */
|
|
967
1055
|
export interface VerticalSize {
|
|
@@ -970,6 +1058,7 @@ export interface VerticalSize {
|
|
|
970
1058
|
min?: string;
|
|
971
1059
|
}
|
|
972
1060
|
export interface WorkEmailArg {
|
|
1061
|
+
[key: string]: unknown;
|
|
973
1062
|
}
|
|
974
1063
|
export interface WorkEmailCheck {
|
|
975
1064
|
args?: WorkEmailArg;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Auto-generated from catalogs/custom-apps.catalog.json — do not edit.
|
|
5
5
|
*/
|
|
6
6
|
export { ActionCard, AiIcon, Alert, Animation, ApiError, AppGroupLoader, AppGroupSelect, AppNavBar, AtomsSeparator, Avatar, AvatarList, Badge, Box, BrandBadge, Breadcrumb, Button, ButtonGroup, Calendar, Card, CardGroup, Carousel, ChartLoader, Checkbox, CheckboxGroup, CheckList, Chip, ChipGroup, Circle, ColorPicker, ContentLoader, CountDown, Country, Currency, Date, DateInlineMulti, DateRange, DaySelector, DistributionBar, Divider, DraggableList, Drawer, Dropdown, Email, EmojiPicker, ExpansionPanel, ExpansionPanelGroup, Field, File, FileDrop, FloatingButton, Form, FormCheckbox, FormCheckboxGroup, FormCurrency, FormDate, FormDaySelector, FormEmail, FormFile, FormFileDrop, FormHidden, FormNumber, FormPassword, FormPercentage, FormPhone, FormRadio, FormSegmentedControl, FormSelect, FormSin, FormSlider, FormSsn, FormSwitch, FormText, FormTextarea, FormTextAutoSuggest, FormTime, FormTree, FormTreeSelect, FormWorkEmail, Grid, Heading, Hidden, HStack, Icon, IconButton, Image, ImageViewer, InputGroup, ItemNavigator, Label, LabelGroup, Layout, LayoutCard, Link, ListItem, LoaderCard, LocationCard, LottiePlayer, Masker, MenuList, Modal, ModalCloseButton, ModalFooter, NestedList, Number, ObjectListView, ObjectUI, ObjectUIContent, ObjectUIHeader, ObjectUIStats, ObjectUITemplate, PageAppLogo, PageContent, PageFooter, PageHeader, Paginate, PaginateList, Pane, Password, Percentage, Phone, ProgressBar, ProgressSteps, Radio, RangeSlider, ReportLoader, ReportShareLoader, ReportViewerLoader, ResizableBoard, Responsive, SegmentedControl, Select, SelectableGroup, SelectableMenu, SettingsLoader, ShowMore, Signature, Sin, Skeleton, Slider, SnackBar, Spinner, SplitButton, SplitPane, Ssn, Status, Stepper, SupportButton, Survey, Switch, Tab, TableBasic, Text, Textarea, TextAutoSuggest, TextClip, TextInput, TextSnippet, Time, TimeRange, Timezone, Tip, TitleCaption, ToggleableArrow, Tree, TreeSelect, Video, VStack, WorkEmail, } from './components';
|
|
7
|
-
export type { ActionCardProps, Addres, AiIconProps, AlertProps, AnimationData, AnimationProps, ApiErrorProps, AppGroupLoaderProps, AppGroupSelectArg, AppGroupSelectCheck, AppGroupSelectFooter, AppGroupSelectFuseOption, AppGroupSelectProps, AppNavBarAction, AppNavBarBadge, AppNavBarProps, AtomsSeparatorProps, AvatarListProps, AvatarProps, AvatarTip, AvatarValue, BadgeProps, BadgeTip, BoxProps, BrandBadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CalendarProps, CardAction, CardGroupProps, CardProps, CarouselProps, ChartLoaderProps, CheckListList, CheckListOption, CheckListProps, CheckboxArg, CheckboxCheck, CheckboxGroupArg, CheckboxGroupCheck, CheckboxGroupOption, CheckboxGroupProps, CheckboxProps, ChipGroupProps, ChipProps, ChipTip, CircleProps, CollapseBelow, ColorPickerArg, ColorPickerCheck, ColorPickerProps, Column, ContentLoaderProps, CountDownProps, CountryProps, CurrencyArg, CurrencyCheck, CurrencyProps, DateArg, DateCheck, DateInlineMultiArg, DateInlineMultiCheck, DateInlineMultiProps, DateProps, DateRangeArg, DateRangeCheck, DateRangeProps, DaySelectorArg, DaySelectorCheck, DaySelectorProps, DistributionBarProps, DividerProps, DraggableListList, DraggableListProps, DrawerProps, DropdownList, DropdownList2, DropdownProps, EmailArg, EmailCheck, EmailProps, EmojiPickerProps, ExpansionPanelGroupProps, ExpansionPanelProps, FieldProps, FileDropArg, FileDropCheck, FileDropCropperConfig, FileDropDefaultValue, FileDropProps, FileDropValue, FileProps, FloatingButtonProps, FormCheckboxGroupOption, FormCheckboxGroupProps, FormCheckboxGroupValidationError, FormCheckboxProps, FormCheckboxValidationError, FormCurrencyProps, FormCurrencyValidationError, FormDateProps, FormDateValidationError, FormDaySelectorProps, FormDaySelectorValidationError, FormEmailProps, FormEmailValidationError, FormFileCropperConfig, FormFileDefaultValue, FormFileDropCropperConfig, FormFileDropDefaultValue, FormFileDropProps, FormFileDropValidationError, FormFileDropValue, FormFileProps, FormFileValidationError, FormFileValue, FormHiddenProps, FormNumberProps, FormNumberValidationError, FormPasswordProps, FormPasswordValidationError, FormPercentageProps, FormPercentageValidationError, FormPhoneProps, FormPhoneValidationError, FormProps, FormRadioOption, FormRadioProps, FormRadioValidationError, FormSegmentedControlOption, FormSegmentedControlProps, FormSegmentedControlTip, FormSegmentedControlValidationError, FormSelectProps, FormSelectValidationError, FormSinProps, FormSinValidationError, FormSliderMark, FormSliderProps, FormSliderValidationError, FormSsnProps, FormSsnValidationError, FormSwitchProps, FormSwitchValidationError, FormTextAutoSuggestProps, FormTextAutoSuggestSuggestion, FormTextAutoSuggestValidationError, FormTextProps, FormTextValidationError, FormTextareaProps, FormTextareaValidationError, FormTimeProps, FormTimeValidationError, FormTreeFuseOption, FormTreeList, FormTreeProps, FormTreeSelectFuseOption, FormTreeSelectList, FormTreeSelectProps, FormTreeSelectValidationError, FormTreeValidationError, FormValidationError, FormValue, FormWorkEmailProps, FormWorkEmailValidationError, GridAction, GridList, GridProps, HStackProps, HeadingProps, HiddenProps, IconButtonProps, IconProps, ImageProps, ImageViewerProps, Input, InputGroupProps, InputProp, ItemNavigatorProps, LabelGroupProps, LabelProps, LayoutCardProps, LayoutProps, LayoutValue, LinkProps, LinkValue, ListItemProps, LoaderCardProps, Location, LocationCardAction, LocationCardProps, LottiePlayerProps, MaskerArg, MaskerCheck, MaskerProps, MenuListList, MenuListProps, ModalCloseButtonProps, ModalFooterProps, ModalProps, NestedListList, NestedListProps, NumberArg, NumberCheck, NumberProps, NumberStringPadding, ObjectListViewProps, ObjectUIAvatarProp, ObjectUIContentProps, ObjectUIHeaderAvatarProp, ObjectUIHeaderProps, ObjectUIProps, ObjectUIStatsAction, ObjectUIStatsList, ObjectUIStatsProps, ObjectUITemplateProps, PageAppLogoProps, PageContentProps, PageFooterProps, PageHeaderAction, PageHeaderProps, PaginateListList, PaginateListProps, PaginateProps, PaneProps, PartnerCompany, PasswordArg, PasswordCheck, PasswordProps, PasswordStringPadding, PercentageArg, PercentageCheck, PercentageProps, PhoneArg, PhoneCheck, PhoneProps, PhoneStringPadding, ProgressBarProps, ProgressStepsProps, ProgressStepsStep, QueryParam, RadioArg, RadioCheck, RadioOption, RadioProps, RangeSliderArg, RangeSliderCheck, RangeSliderMark, RangeSliderProps, RenderProp, ReportLoaderProps, ReportShareLoaderProps, ReportViewerLoaderProps, ResizableBoardProps, ResponsiveProps, Role, Row, Segment, SegmentedControlArg, SegmentedControlCheck, SegmentedControlOption, SegmentedControlProps, SegmentedControlRangeLabel, SegmentedControlTip, SelectArg, SelectAvatarProp, SelectCheck, SelectFooter, SelectFuseOption, SelectOption, SelectProps, SelectableGroupArg, SelectableGroupCheck, SelectableGroupList, SelectableGroupProps, SelectableMenuList, SelectableMenuProps, SettingsLoaderProps, ShowMoreProps, ShowMoreValue, SignatureArg, SignatureCheck, SignatureProps, SinArg, SinCheck, SinProps, Size, SkeletonProps, Slide, SliderArg, SliderCheck, SliderMark, SliderProps, SnackBarProps, SpinnerProps, SplitButtonProps, SplitPaneProps, SsnArg, SsnCheck, SsnProps, StandAloneStep, StatusProps, StepperBadge, StepperProps, StepperStep, SubmitButtonProp, SupportButtonProps, SurveyArg, SurveyCheck, SurveyList, SurveyProps, SurveyRangeLabel, SwitchArg, SwitchCheck, SwitchProps, TabBadge, TabItem, TabProps, TableBasicProps, TextAutoSuggestArg, TextAutoSuggestCheck, TextAutoSuggestProps, TextAutoSuggestStringPadding, TextAutoSuggestSuggestion, TextClipProps, TextInputArg, TextInputCheck, TextInputProps, TextInputStringPadding, TextProps, TextSnippetProps, TextareaArg, TextareaCheck, TextareaProps, TimeArg, TimeCheck, TimeProp, TimeProps, TimeRangeArg, TimeRangeCheck, TimeRangeProps, TimezoneArg, TimezoneCheck, TimezoneProps, TipProps, TitleCaptionProps, ToggleIcon, ToggleableArrowProps, TreeArg, TreeCheck, TreeFooter, TreeFuseOption, TreeList, TreeProps, TreeSelectArg, TreeSelectCheck, TreeSelectFuseOption, TreeSelectList, TreeSelectProps, User_cache, VStackProps, VerticalSize, VideoProps, WorkEmailArg, WorkEmailCheck, WorkEmailProps, } from './component-props';
|
|
7
|
+
export type { ActionCardProps, Addres, AiIconProps, AlertProps, AnimationData, AnimationProps, ApiErrorProps, AppGroupLoaderProps, AppGroupSelectArg, AppGroupSelectCheck, AppGroupSelectFooter, AppGroupSelectFuseOption, AppGroupSelectProps, AppNavBarAction, AppNavBarBadge, AppNavBarProps, AtomsSeparatorProps, AvatarListProps, AvatarProps, AvatarTip, AvatarValue, BadgeProps, BadgeTip, BoxProps, BrandBadgeProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CalendarProps, CardAction, CardGroupProps, CardProps, CarouselProps, ChartLoaderProps, CheckListList, CheckListOption, CheckListProps, CheckboxArg, CheckboxCheck, CheckboxGroupArg, CheckboxGroupCheck, CheckboxGroupOption, CheckboxGroupProps, CheckboxProps, ChipGroupProps, ChipProps, ChipTip, CircleProps, CollapseBelow, ColorPickerArg, ColorPickerCheck, ColorPickerProps, Column, ContentLoaderProps, CountDownProps, CountryProps, CurrencyArg, CurrencyCheck, CurrencyProps, DateArg, DateCheck, DateInlineMultiArg, DateInlineMultiCheck, DateInlineMultiProps, DateProps, DateRangeArg, DateRangeCheck, DateRangeProps, DaySelectorArg, DaySelectorCheck, DaySelectorProps, DaySelectorTip, DistributionBarProps, DividerProps, DraggableListList, DraggableListProps, DrawerProps, DropdownList, DropdownList2, DropdownProps, EmailArg, EmailCheck, EmailProps, EmojiPickerProps, ExpansionPanelGroupProps, ExpansionPanelProps, FieldProps, FileDropArg, FileDropCheck, FileDropCropperConfig, FileDropDefaultValue, FileDropProps, FileDropValue, FileProps, FloatingButtonProps, FormCheckboxGroupOption, FormCheckboxGroupProps, FormCheckboxGroupValidationError, FormCheckboxProps, FormCheckboxValidationError, FormCurrencyProps, FormCurrencyValidationError, FormDateProps, FormDateValidationError, FormDaySelectorProps, FormDaySelectorValidationError, FormEmailProps, FormEmailValidationError, FormFileCropperConfig, FormFileDefaultValue, FormFileDropCropperConfig, FormFileDropDefaultValue, FormFileDropProps, FormFileDropValidationError, FormFileDropValue, FormFileProps, FormFileValidationError, FormFileValue, FormHiddenProps, FormNumberProps, FormNumberValidationError, FormPasswordProps, FormPasswordValidationError, FormPercentageProps, FormPercentageValidationError, FormPhoneProps, FormPhoneValidationError, FormProps, FormRadioOption, FormRadioProps, FormRadioValidationError, FormSegmentedControlOption, FormSegmentedControlProps, FormSegmentedControlTip, FormSegmentedControlValidationError, FormSelectProps, FormSelectValidationError, FormSinProps, FormSinValidationError, FormSliderMark, FormSliderProps, FormSliderValidationError, FormSsnProps, FormSsnValidationError, FormSwitchProps, FormSwitchValidationError, FormTextAutoSuggestProps, FormTextAutoSuggestSuggestion, FormTextAutoSuggestValidationError, FormTextProps, FormTextValidationError, FormTextareaProps, FormTextareaValidationError, FormTimeProps, FormTimeValidationError, FormTreeFuseOption, FormTreeList, FormTreeProps, FormTreeSelectFuseOption, FormTreeSelectList, FormTreeSelectProps, FormTreeSelectValidationError, FormTreeValidationError, FormValidationError, FormValue, FormWorkEmailProps, FormWorkEmailValidationError, GridAction, GridList, GridProps, HStackProps, HeadingProps, HiddenProps, IconButtonProps, IconProps, ImageProps, ImageViewerProps, Input, InputGroupProps, InputProp, ItemNavigatorProps, LabelGroupProps, LabelProps, LayoutCardProps, LayoutProps, LayoutValue, LinkProps, LinkValue, ListItemProps, LoaderCardProps, Location, LocationCardAction, LocationCardProps, LottiePlayerProps, MaskerArg, MaskerCheck, MaskerProps, MenuListList, MenuListProps, ModalCloseButtonProps, ModalFooterProps, ModalProps, NestedListList, NestedListProps, NumberArg, NumberCheck, NumberProps, NumberStringPadding, ObjectListViewProps, ObjectUIAvatarProp, ObjectUIContentProps, ObjectUIHeaderAvatarProp, ObjectUIHeaderProps, ObjectUIProps, ObjectUIStatsAction, ObjectUIStatsList, ObjectUIStatsProps, ObjectUITemplateProps, PageAppLogoProps, PageContentProps, PageFooterProps, PageHeaderAction, PageHeaderProps, PaginateListList, PaginateListProps, PaginateProps, PaneProps, PartnerCompany, PasswordArg, PasswordCheck, PasswordProps, PasswordStringPadding, PercentageArg, PercentageCheck, PercentageProps, PhoneArg, PhoneCheck, PhoneProps, PhoneStringPadding, ProgressBarProps, ProgressStepsProps, ProgressStepsStep, QueryParam, RadioArg, RadioCheck, RadioOption, RadioProps, RangeSliderArg, RangeSliderCheck, RangeSliderMark, RangeSliderProps, RenderProp, RenderPropValue, ReportLoaderProps, ReportShareLoaderProps, ReportViewerLoaderProps, ResizableBoardProps, ResponsiveProps, Role, Row, Segment, SegmentedControlArg, SegmentedControlCheck, SegmentedControlOption, SegmentedControlProps, SegmentedControlRangeLabel, SegmentedControlTip, SelectArg, SelectAvatarProp, SelectCheck, SelectFooter, SelectFuseOption, SelectOption, SelectProps, SelectableGroupArg, SelectableGroupCheck, SelectableGroupList, SelectableGroupProps, SelectableMenuList, SelectableMenuProps, SettingsLoaderProps, ShowMoreProps, ShowMoreValue, SignatureArg, SignatureCheck, SignatureProps, SinArg, SinCheck, SinProps, Size, SkeletonProps, Slide, SliderArg, SliderCheck, SliderMark, SliderProps, SnackBarProps, SpinnerProps, SplitButtonProps, SplitPaneProps, SsnArg, SsnCheck, SsnProps, StandAloneStep, StatusProps, StepperBadge, StepperProps, StepperStep, SubmitButtonProp, SupportButtonProps, SurveyArg, SurveyCheck, SurveyList, SurveyProps, SurveyRangeLabel, SwitchArg, SwitchCheck, SwitchProps, TabBadge, TabItem, TabProps, TableBasicProps, TextAutoSuggestArg, TextAutoSuggestCheck, TextAutoSuggestProps, TextAutoSuggestStringPadding, TextAutoSuggestSuggestion, TextClipProps, TextInputArg, TextInputCheck, TextInputProps, TextInputStringPadding, TextProps, TextSnippetProps, TextareaArg, TextareaCheck, TextareaProps, TimeArg, TimeCheck, TimeProp, TimeProps, TimeRangeArg, TimeRangeCheck, TimeRangeProps, TimezoneArg, TimezoneCheck, TimezoneProps, TipProps, TitleCaptionProps, ToggleIcon, ToggleableArrowProps, TreeArg, TreeCheck, TreeFooter, TreeFuseOption, TreeList, TreeProps, TreeSelectArg, TreeSelectCheck, TreeSelectFuseOption, TreeSelectList, TreeSelectProps, User_cache, VStackProps, VerticalSize, VideoProps, WorkEmailArg, WorkEmailCheck, WorkEmailProps, } from './component-props';
|
|
8
8
|
export type { ActionCardEvents, AiIconEvents, AlertEvents, AnimationEvents, ApiErrorEvents, AppGroupLoaderEvents, AppGroupSelectEvents, AppNavBarEvents, AtomsSeparatorEvents, AvatarEvents, AvatarListEvents, BadgeEvents, BoxEvents, BrandBadgeEvents, BreadcrumbEvents, ButtonEvents, ButtonGroupEvents, CalendarEvents, CardEvents, CardGroupEvents, CarouselEvents, ChartLoaderEvents, CheckboxEvents, CheckboxGroupEvents, CheckListEvents, ChipEvents, ChipGroupEvents, CircleEvents, ColorPickerEvents, ContentLoaderEvents, CountDownEvents, CountryEvents, CurrencyEvents, DateEvents, DateInlineMultiEvents, DateRangeEvents, DaySelectorEvents, DistributionBarEvents, DividerEvents, DraggableListEvents, DrawerEvents, DropdownEvents, EmailEvents, EmojiPickerEvents, ExpansionPanelEvents, ExpansionPanelGroupEvents, FieldEvents, FileEvents, FileDropEvents, FloatingButtonEvents, FormEvents, FormCheckboxEvents, FormCheckboxGroupEvents, FormCurrencyEvents, FormDateEvents, FormDaySelectorEvents, FormEmailEvents, FormFileEvents, FormFileDropEvents, FormHiddenEvents, FormNumberEvents, FormPasswordEvents, FormPercentageEvents, FormPhoneEvents, FormRadioEvents, FormSegmentedControlEvents, FormSelectEvents, FormSinEvents, FormSliderEvents, FormSsnEvents, FormSwitchEvents, FormTextEvents, FormTextareaEvents, FormTextAutoSuggestEvents, FormTimeEvents, FormTreeEvents, FormTreeSelectEvents, FormWorkEmailEvents, GridEvents, HeadingEvents, HiddenEvents, HStackEvents, IconEvents, IconButtonEvents, ImageEvents, ImageViewerEvents, InputGroupEvents, ItemNavigatorEvents, LabelEvents, LabelGroupEvents, LayoutEvents, LayoutCardEvents, LinkEvents, ListItemEvents, LoaderCardEvents, LocationCardEvents, LottiePlayerEvents, MaskerEvents, MenuListEvents, ModalEvents, ModalCloseButtonEvents, ModalFooterEvents, NestedListEvents, NumberEvents, ObjectListViewEvents, ObjectUIEvents, ObjectUIContentEvents, ObjectUIHeaderEvents, ObjectUIStatsEvents, ObjectUITemplateEvents, PageAppLogoEvents, PageContentEvents, PageFooterEvents, PageHeaderEvents, PaginateEvents, PaginateListEvents, PaneEvents, PasswordEvents, PercentageEvents, PhoneEvents, ProgressBarEvents, ProgressStepsEvents, RadioEvents, RangeSliderEvents, ReportLoaderEvents, ReportShareLoaderEvents, ReportViewerLoaderEvents, ResizableBoardEvents, ResponsiveEvents, SegmentedControlEvents, SelectEvents, SelectableGroupEvents, SelectableMenuEvents, SettingsLoaderEvents, ShowMoreEvents, SignatureEvents, SinEvents, SkeletonEvents, SliderEvents, SnackBarEvents, SpinnerEvents, SplitButtonEvents, SplitPaneEvents, SsnEvents, StatusEvents, StepperEvents, SupportButtonEvents, SurveyEvents, SwitchEvents, TabEvents, TableBasicEvents, TextEvents, TextareaEvents, TextAutoSuggestEvents, TextClipEvents, TextInputEvents, TextSnippetEvents, TimeEvents, TimeRangeEvents, TimezoneEvents, TipEvents, TitleCaptionEvents, ToggleableArrowEvents, TreeEvents, TreeSelectEvents, VideoEvents, VStackEvents, WorkEmailEvents, } from './component-events';
|
|
9
9
|
export { navigate, pushState, removeState, setState, showNotification, triggerFunction, } from './actions';
|
|
10
10
|
export type { NavigateParams, PushStateParams, RemoveStateParams, SetStateParams, ShowNotificationParams, TriggerFunctionParams, } from './action-params';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-utils.cjs","sources":["../../../sdui-core/src/component-utils.ts"],"sourcesContent":["/**\n * Component Utilities\n *\n * Generic types and helpers used by generated component builders.\n * Mirrors Python SDK's elements.py Element base class.\n */\n\nimport type { WrapWithPropValue } from './expressions';\nimport type { ActionBinding } from './action-utils';\nimport type { VisibilityBinding } from './conditions';\nimport type { ElementNode, RepeatBinding } from './elements';\n\n/**\n * The actual runtime shape behind the branded ElementNode.\n * Only used internally by buildNode() and render().\n */\nexport interface InternalElementNode {\n id?: string;\n type: string;\n props: Record<string, unknown>;\n children?: ElementNode[];\n visible?: unknown;\n on?: Record<string, unknown>;\n watch?: Record<string, unknown>;\n repeat?: { statePath: string; key?: string };\n}\n\n/**\n * Standard input shape for a component builder.\n *\n * - `Props`: plain prop types — automatically wrapped with PropValue\n * - `Events`: string union of supported event names (use `never` for none)\n * - `HasChildren`: whether this component accepts children\n *\n * The conditional types ensure `on` is only available when events exist,\n * and `children` is only available when HasChildren is true.\n */\nexport type ComponentInputs<\n Props,\n Events extends string = never,\n HasChildren extends boolean = false,\n> = {\n id?: string;\n props: WrapWithPropValue<Props>;\n visible?: VisibilityBinding | boolean;\n repeat?: RepeatBinding;\n} & ([Events] extends [never]\n ? { on?: never }\n : { on?: { [K in Events]?:
|
|
1
|
+
{"version":3,"file":"component-utils.cjs","sources":["../../../sdui-core/src/component-utils.ts"],"sourcesContent":["/**\n * Component Utilities\n *\n * Generic types and helpers used by generated component builders.\n * Mirrors Python SDK's elements.py Element base class.\n */\n\nimport type { WrapWithPropValue } from './expressions';\nimport type { ActionBinding } from './action-utils';\nimport type { VisibilityBinding } from './conditions';\nimport type { ElementNode, RepeatBinding } from './elements';\n\nexport type EventAction = ActionBinding | ActionBinding[];\n\n/**\n * The actual runtime shape behind the branded ElementNode.\n * Only used internally by buildNode() and render().\n */\nexport interface InternalElementNode {\n id?: string;\n type: string;\n props: Record<string, unknown>;\n children?: ElementNode[];\n visible?: unknown;\n on?: Record<string, unknown>;\n watch?: Record<string, unknown>;\n repeat?: { statePath: string; key?: string };\n}\n\n/**\n * Standard input shape for a component builder.\n *\n * - `Props`: plain prop types — automatically wrapped with PropValue\n * - `Events`: string union of supported event names (use `never` for none)\n * - `HasChildren`: whether this component accepts children\n *\n * The conditional types ensure `on` is only available when events exist,\n * and `children` is only available when HasChildren is true.\n */\nexport type ComponentInputs<\n Props,\n Events extends string = never,\n HasChildren extends boolean = false,\n> = {\n id?: string;\n props: WrapWithPropValue<Props>;\n visible?: VisibilityBinding | boolean;\n repeat?: RepeatBinding;\n} & ([Events] extends [never]\n ? { on?: never }\n : { on?: { [K in Events]?: EventAction } }) &\n (HasChildren extends true\n ? { children?: ElementNode[] }\n : { children?: never });\n\n/**\n * Variant where props is optional (for components with all-optional props).\n */\nexport type ComponentInputsOptionalProps<\n Props,\n Events extends string = never,\n HasChildren extends boolean = false,\n> = {\n id?: string;\n props?: WrapWithPropValue<Props>;\n visible?: VisibilityBinding | boolean;\n repeat?: RepeatBinding;\n} & ([Events] extends [never]\n ? { on?: never }\n : { on?: { [K in Events]?: EventAction } }) &\n (HasChildren extends true\n ? { children?: ElementNode[] }\n : { children?: never });\n\n/**\n * Creates an ElementNode from builder input. Used by generated component builders.\n */\nexport function buildNode<\n TPlatform extends string = string,\n TCatalog extends string = string,\n>(\n type: string,\n input: {\n id?: string;\n props?: unknown;\n visible?: unknown;\n on?: unknown;\n children?: unknown;\n repeat?: unknown;\n }\n): ElementNode<TPlatform, TCatalog> {\n const node: InternalElementNode = {\n type,\n props: (input.props ?? {}) as Record<string, unknown>,\n };\n if (input.id !== undefined) node.id = input.id;\n if (input.visible !== undefined) node.visible = input.visible;\n if (input.on) node.on = input.on as Record<string, unknown>;\n if (input.children) node.children = input.children as ElementNode[];\n if (input.repeat)\n node.repeat = input.repeat as unknown as {\n statePath: string;\n key?: string;\n };\n return node as unknown as ElementNode<TPlatform, TCatalog>;\n}\n"],"names":["buildNode","type","input","node"],"mappings":"gFA6EO,SAASA,EAIdC,EACAC,EAQkC,CAClC,MAAMC,EAA4B,CAChC,KAAAF,EACA,MAAQC,EAAM,OAAS,CAAA,CAAC,EAE1B,OAAIA,EAAM,KAAO,SAAWC,EAAK,GAAKD,EAAM,IACxCA,EAAM,UAAY,SAAWC,EAAK,QAAUD,EAAM,SAClDA,EAAM,KAAIC,EAAK,GAAKD,EAAM,IAC1BA,EAAM,WAAUC,EAAK,SAAWD,EAAM,UACtCA,EAAM,SACRC,EAAK,OAASD,EAAM,QAIfC,CACT"}
|
|
@@ -2,6 +2,7 @@ import { WrapWithPropValue } from './expressions';
|
|
|
2
2
|
import { ActionBinding } from './action-utils';
|
|
3
3
|
import { VisibilityBinding } from './conditions';
|
|
4
4
|
import { ElementNode, RepeatBinding } from './elements';
|
|
5
|
+
export type EventAction = ActionBinding | ActionBinding[];
|
|
5
6
|
/**
|
|
6
7
|
* The actual runtime shape behind the branded ElementNode.
|
|
7
8
|
* Only used internally by buildNode() and render().
|
|
@@ -38,7 +39,7 @@ export type ComponentInputs<Props, Events extends string = never, HasChildren ex
|
|
|
38
39
|
on?: never;
|
|
39
40
|
} : {
|
|
40
41
|
on?: {
|
|
41
|
-
[K in Events]?:
|
|
42
|
+
[K in Events]?: EventAction;
|
|
42
43
|
};
|
|
43
44
|
}) & (HasChildren extends true ? {
|
|
44
45
|
children?: ElementNode[];
|
|
@@ -57,7 +58,7 @@ export type ComponentInputsOptionalProps<Props, Events extends string = never, H
|
|
|
57
58
|
on?: never;
|
|
58
59
|
} : {
|
|
59
60
|
on?: {
|
|
60
|
-
[K in Events]?:
|
|
61
|
+
[K in Events]?: EventAction;
|
|
61
62
|
};
|
|
62
63
|
}) & (HasChildren extends true ? {
|
|
63
64
|
children?: ElementNode[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-utils.js","sources":["../../../sdui-core/src/component-utils.ts"],"sourcesContent":["/**\n * Component Utilities\n *\n * Generic types and helpers used by generated component builders.\n * Mirrors Python SDK's elements.py Element base class.\n */\n\nimport type { WrapWithPropValue } from './expressions';\nimport type { ActionBinding } from './action-utils';\nimport type { VisibilityBinding } from './conditions';\nimport type { ElementNode, RepeatBinding } from './elements';\n\n/**\n * The actual runtime shape behind the branded ElementNode.\n * Only used internally by buildNode() and render().\n */\nexport interface InternalElementNode {\n id?: string;\n type: string;\n props: Record<string, unknown>;\n children?: ElementNode[];\n visible?: unknown;\n on?: Record<string, unknown>;\n watch?: Record<string, unknown>;\n repeat?: { statePath: string; key?: string };\n}\n\n/**\n * Standard input shape for a component builder.\n *\n * - `Props`: plain prop types — automatically wrapped with PropValue\n * - `Events`: string union of supported event names (use `never` for none)\n * - `HasChildren`: whether this component accepts children\n *\n * The conditional types ensure `on` is only available when events exist,\n * and `children` is only available when HasChildren is true.\n */\nexport type ComponentInputs<\n Props,\n Events extends string = never,\n HasChildren extends boolean = false,\n> = {\n id?: string;\n props: WrapWithPropValue<Props>;\n visible?: VisibilityBinding | boolean;\n repeat?: RepeatBinding;\n} & ([Events] extends [never]\n ? { on?: never }\n : { on?: { [K in Events]?:
|
|
1
|
+
{"version":3,"file":"component-utils.js","sources":["../../../sdui-core/src/component-utils.ts"],"sourcesContent":["/**\n * Component Utilities\n *\n * Generic types and helpers used by generated component builders.\n * Mirrors Python SDK's elements.py Element base class.\n */\n\nimport type { WrapWithPropValue } from './expressions';\nimport type { ActionBinding } from './action-utils';\nimport type { VisibilityBinding } from './conditions';\nimport type { ElementNode, RepeatBinding } from './elements';\n\nexport type EventAction = ActionBinding | ActionBinding[];\n\n/**\n * The actual runtime shape behind the branded ElementNode.\n * Only used internally by buildNode() and render().\n */\nexport interface InternalElementNode {\n id?: string;\n type: string;\n props: Record<string, unknown>;\n children?: ElementNode[];\n visible?: unknown;\n on?: Record<string, unknown>;\n watch?: Record<string, unknown>;\n repeat?: { statePath: string; key?: string };\n}\n\n/**\n * Standard input shape for a component builder.\n *\n * - `Props`: plain prop types — automatically wrapped with PropValue\n * - `Events`: string union of supported event names (use `never` for none)\n * - `HasChildren`: whether this component accepts children\n *\n * The conditional types ensure `on` is only available when events exist,\n * and `children` is only available when HasChildren is true.\n */\nexport type ComponentInputs<\n Props,\n Events extends string = never,\n HasChildren extends boolean = false,\n> = {\n id?: string;\n props: WrapWithPropValue<Props>;\n visible?: VisibilityBinding | boolean;\n repeat?: RepeatBinding;\n} & ([Events] extends [never]\n ? { on?: never }\n : { on?: { [K in Events]?: EventAction } }) &\n (HasChildren extends true\n ? { children?: ElementNode[] }\n : { children?: never });\n\n/**\n * Variant where props is optional (for components with all-optional props).\n */\nexport type ComponentInputsOptionalProps<\n Props,\n Events extends string = never,\n HasChildren extends boolean = false,\n> = {\n id?: string;\n props?: WrapWithPropValue<Props>;\n visible?: VisibilityBinding | boolean;\n repeat?: RepeatBinding;\n} & ([Events] extends [never]\n ? { on?: never }\n : { on?: { [K in Events]?: EventAction } }) &\n (HasChildren extends true\n ? { children?: ElementNode[] }\n : { children?: never });\n\n/**\n * Creates an ElementNode from builder input. Used by generated component builders.\n */\nexport function buildNode<\n TPlatform extends string = string,\n TCatalog extends string = string,\n>(\n type: string,\n input: {\n id?: string;\n props?: unknown;\n visible?: unknown;\n on?: unknown;\n children?: unknown;\n repeat?: unknown;\n }\n): ElementNode<TPlatform, TCatalog> {\n const node: InternalElementNode = {\n type,\n props: (input.props ?? {}) as Record<string, unknown>,\n };\n if (input.id !== undefined) node.id = input.id;\n if (input.visible !== undefined) node.visible = input.visible;\n if (input.on) node.on = input.on as Record<string, unknown>;\n if (input.children) node.children = input.children as ElementNode[];\n if (input.repeat)\n node.repeat = input.repeat as unknown as {\n statePath: string;\n key?: string;\n };\n return node as unknown as ElementNode<TPlatform, TCatalog>;\n}\n"],"names":["buildNode","type","input","node"],"mappings":"AA6EO,SAASA,EAIdC,GACAC,GAQkC;AAClC,QAAMC,IAA4B;AAAA,IAChC,MAAAF;AAAA,IACA,OAAQC,EAAM,SAAS,CAAA;AAAA,EAAC;AAE1B,SAAIA,EAAM,OAAO,WAAWC,EAAK,KAAKD,EAAM,KACxCA,EAAM,YAAY,WAAWC,EAAK,UAAUD,EAAM,UAClDA,EAAM,OAAIC,EAAK,KAAKD,EAAM,KAC1BA,EAAM,aAAUC,EAAK,WAAWD,EAAM,WACtCA,EAAM,WACRC,EAAK,SAASD,EAAM,SAIfC;AACT;"}
|
package/dist/core/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
export { createSpec, renderElementTree } from './spec';
|
|
5
5
|
export type { SpecContext, FlatSpec, FlatUIElement, ItemAccessor, } from './spec';
|
|
6
6
|
export { buildNode } from './component-utils';
|
|
7
|
-
export type { ComponentInputs, ComponentInputsOptionalProps, InternalElementNode, } from './component-utils';
|
|
7
|
+
export type { ComponentInputs, ComponentInputsOptionalProps, EventAction, InternalElementNode, } from './component-utils';
|
|
8
8
|
export { buildAction } from './action-utils';
|
|
9
9
|
export type { ActionBinding, ActionConfirm, ActionOptions, ActionOnSuccess, ActionOnError, } from './action-utils';
|
|
10
10
|
export type { PropValue, WrapWithPropValue, StateRef, BindStateRef, ItemRef, BindItemRef, IndexRef, TemplateRef, CondRef, TemplateInterpolation, ActionParamValue, WrapWithActionParamValue, } from './expressions';
|
package/dist/core/spec.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function w(f,S){const $={},p=new Map,m=new WeakMap,h=new WeakSet,u=new Set;let b=0;function t(n,d=new WeakSet){var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function w(f,S){const $={},p=new Map,m=new WeakMap,h=new WeakSet,u=new Set;let b=0;function t(n,d=new WeakSet){var l;const c=n;if(d.has(c))return;d.add(c);const e=n;if(e.id!==void 0){const o=p.get(e.id);if(o&&o!==c)throw new Error(`Duplicate element id: ${e.id}`);p.set(e.id,c),u.add(e.id)}(l=e.children)==null||l.forEach(o=>t(o,d))}function s(){let n;do n=`element-${b}`,b+=1;while(u.has(n));return u.add(n),n}function r(n){const d=n,c=m.get(d);if(c)return c;const l=n.id??s();return m.set(d,l),l}function a(n){const d=n,c=r(n);if(h.has(d))return c;h.add(d);const e=n,l=e.children?e.children.map(I=>a(I)):[],o={type:e.type,props:e.props,children:l};return e.visible!==void 0&&(o.visible=e.visible),e.on&&(o.on=e.on),e.watch&&(o.watch=e.watch),e.repeat&&(o.repeat=e.repeat),$[c]=o,c}t(f);const i=a(f);return JSON.parse(JSON.stringify({root:i,elements:$,state:S}))}function g(f){const S=f.state;function $(t){return{$state:t}}function p(t){return{$bindState:t}}function m(t,...s){let r=t[0];for(let a=0;a<s.length;a+=1){const i=s[a];!i||typeof i!="object"?r+="":"$state"in i?r+=`\${${i.$state}}`:"$item"in i?r+=`\${$item.${i.$item}}`:"$index"in i&&(r+="${$index}"),r+=t[a+1]}return{$template:r}}function h(t,s,r){return{$cond:t,$then:s,$else:r}}function u(t,s){return[{statePath:t,key:s},{$(i){return{$item:i}},$bind(i){return{$bindItem:i}},$index(){return{$index:!0}}}]}function b(t){return w(t,S)}return{$state:$,$bindState:p,$template:m,$cond:h,repeat:u,render:b}}exports.createSpec=g;exports.renderElementTree=w;
|
|
2
2
|
//# sourceMappingURL=spec.cjs.map
|