@zealicsolutions/web-ui 1.0.38 → 1.0.40-beta-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/containers/FormContainer.d.ts +3 -4
- package/dist/cjs/containers/mock-data.d.ts +614 -0
- package/dist/cjs/containers/types/moleculeTypes.d.ts +12 -2
- package/dist/cjs/containers/utils.d.ts +1 -0
- package/dist/cjs/index.js +1579 -1579
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/Avatar/Avatar.d.ts +31 -0
- package/dist/cjs/molecules/Avatar/Avatar.stories.d.ts +9 -0
- package/dist/cjs/molecules/Select/Select.d.ts +1 -0
- package/dist/esm/containers/FormContainer.d.ts +3 -4
- package/dist/esm/containers/FormContainer.js +1 -1
- package/dist/esm/containers/FormContainer.js.map +1 -1
- package/dist/esm/containers/mock-data.d.ts +614 -0
- package/dist/esm/containers/types/moleculeTypes.d.ts +12 -2
- package/dist/esm/containers/utils.d.ts +1 -0
- package/dist/esm/molecules/Avatar/Avatar.d.ts +31 -0
- package/dist/esm/molecules/Avatar/Avatar.js +2 -0
- package/dist/esm/molecules/Avatar/Avatar.js.map +1 -0
- package/dist/esm/molecules/Avatar/Avatar.stories.d.ts +9 -0
- package/dist/esm/molecules/BaseMolecule.js +1 -1
- package/dist/esm/molecules/BaseMolecule.js.map +1 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js.map +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/molecules/EmailInputField/EmailInputField.js.map +1 -1
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js.map +1 -1
- package/dist/esm/molecules/Rating/Rating.js.map +1 -1
- package/dist/esm/molecules/Select/Select.d.ts +1 -0
- package/dist/esm/molecules/Select/Select.js +1 -1
- package/dist/esm/molecules/Select/Select.js.map +1 -1
- package/dist/esm/molecules/Slider/Slider.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/Avatar/Avatar.js +2 -0
- package/dist/esm/node_modules/@mui/material/Avatar/Avatar.js.map +1 -0
- package/dist/esm/node_modules/@mui/material/Avatar/avatarClasses.js +2 -0
- package/dist/esm/node_modules/@mui/material/Avatar/avatarClasses.js.map +1 -0
- package/dist/esm/node_modules/@mui/material/internal/svg-icons/Person.js +2 -0
- package/dist/esm/node_modules/@mui/material/internal/svg-icons/Person.js.map +1 -0
- package/dist/index.d.ts +39 -3
- package/package.json +1 -1
@@ -1,7 +1,6 @@
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
2
|
-
import { ValidationMode } from 'react-hook-form';
|
3
2
|
export declare type FormContainerProps = PropsWithChildren<{
|
4
|
-
mode?:
|
5
|
-
|
3
|
+
mode?: 'onSubmit' | 'onBlur' | 'onChange' | 'all';
|
4
|
+
state?: 'default' | 'required_error' | 'validation_error';
|
6
5
|
}>;
|
7
|
-
export declare const FormContainer: ({ mode,
|
6
|
+
export declare const FormContainer: ({ mode, state, children }: FormContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
@@ -268,3 +268,617 @@ export declare const jdContainer: {
|
|
268
268
|
}[];
|
269
269
|
}[];
|
270
270
|
};
|
271
|
+
export declare const formContainer: {
|
272
|
+
id: string;
|
273
|
+
pmiObjectId: null;
|
274
|
+
stateValueOptionMasterStateId: null;
|
275
|
+
instance: string;
|
276
|
+
organismLibraryContainerId: string;
|
277
|
+
containerLibraryId: string;
|
278
|
+
type: string;
|
279
|
+
ordering: number;
|
280
|
+
config: {
|
281
|
+
props: {
|
282
|
+
formProps: {
|
283
|
+
state: string;
|
284
|
+
};
|
285
|
+
};
|
286
|
+
wide: {
|
287
|
+
containerProps: {};
|
288
|
+
containerStyle: {
|
289
|
+
gap: string;
|
290
|
+
width: string;
|
291
|
+
flexWrap: string;
|
292
|
+
paddingTop: string;
|
293
|
+
paddingLeft: string;
|
294
|
+
paddingRight: string;
|
295
|
+
paddingBottom: string;
|
296
|
+
justifyContent: string;
|
297
|
+
};
|
298
|
+
};
|
299
|
+
compact: {
|
300
|
+
containerProps: {};
|
301
|
+
containerStyle: {
|
302
|
+
gap: string;
|
303
|
+
width: string;
|
304
|
+
flexWrap: string;
|
305
|
+
paddingTop: string;
|
306
|
+
paddingLeft: string;
|
307
|
+
paddingRight: string;
|
308
|
+
paddingBottom: string;
|
309
|
+
};
|
310
|
+
};
|
311
|
+
};
|
312
|
+
metadata: {
|
313
|
+
display: {
|
314
|
+
type: string;
|
315
|
+
itemsPerStep: number;
|
316
|
+
};
|
317
|
+
};
|
318
|
+
properties: {
|
319
|
+
backgroundImage: {
|
320
|
+
id: string;
|
321
|
+
property: string;
|
322
|
+
propertyType: string;
|
323
|
+
imageFile: {
|
324
|
+
id: string;
|
325
|
+
url: string;
|
326
|
+
name: string;
|
327
|
+
size: number;
|
328
|
+
type: string;
|
329
|
+
source: null;
|
330
|
+
property: string;
|
331
|
+
fileType: string;
|
332
|
+
createdAt: string;
|
333
|
+
updatedAt: string;
|
334
|
+
description: null;
|
335
|
+
originalName: string;
|
336
|
+
propertyType: string;
|
337
|
+
};
|
338
|
+
};
|
339
|
+
};
|
340
|
+
items: ({
|
341
|
+
id: string;
|
342
|
+
name: string;
|
343
|
+
type: string;
|
344
|
+
config: {
|
345
|
+
wide: {
|
346
|
+
containerProps: {};
|
347
|
+
containerStyle: {
|
348
|
+
gap: string;
|
349
|
+
width: string;
|
350
|
+
flexWrap: string;
|
351
|
+
paddingTop: string;
|
352
|
+
paddingLeft: string;
|
353
|
+
paddingRight: string;
|
354
|
+
flexDirection: string;
|
355
|
+
paddingBottom: string;
|
356
|
+
};
|
357
|
+
};
|
358
|
+
compact: {
|
359
|
+
containerProps: {};
|
360
|
+
containerStyle: {
|
361
|
+
gap: string;
|
362
|
+
width: string;
|
363
|
+
flexWrap: string;
|
364
|
+
paddingTop: string;
|
365
|
+
paddingLeft: string;
|
366
|
+
paddingRight: string;
|
367
|
+
paddingBottom: string;
|
368
|
+
};
|
369
|
+
};
|
370
|
+
props?: undefined;
|
371
|
+
};
|
372
|
+
instance: string;
|
373
|
+
metadata: {
|
374
|
+
group: string[];
|
375
|
+
};
|
376
|
+
ordering: number;
|
377
|
+
properties: {
|
378
|
+
backgroundImage: {
|
379
|
+
id: string;
|
380
|
+
property: string;
|
381
|
+
propertyType: string;
|
382
|
+
imageFile: {
|
383
|
+
id: string;
|
384
|
+
url: string;
|
385
|
+
name: string;
|
386
|
+
size: number;
|
387
|
+
type: string;
|
388
|
+
source: string;
|
389
|
+
property: string;
|
390
|
+
fileType: string;
|
391
|
+
createdAt: string;
|
392
|
+
updatedAt: string;
|
393
|
+
description: null;
|
394
|
+
originalName: string;
|
395
|
+
propertyType: string;
|
396
|
+
};
|
397
|
+
};
|
398
|
+
objectModification: {
|
399
|
+
id: string;
|
400
|
+
value: boolean;
|
401
|
+
property: string;
|
402
|
+
createdAt: string;
|
403
|
+
updatedAt: string;
|
404
|
+
propertyType: string;
|
405
|
+
};
|
406
|
+
text?: undefined;
|
407
|
+
action?: undefined;
|
408
|
+
disabled?: undefined;
|
409
|
+
interacted?: undefined;
|
410
|
+
};
|
411
|
+
pmiObjectId: string;
|
412
|
+
containerLibraryId: string;
|
413
|
+
containerLibraryName: string;
|
414
|
+
organismLibraryContainerId: string;
|
415
|
+
stateValueOptionMasterStateId: string;
|
416
|
+
items: {
|
417
|
+
id: string;
|
418
|
+
name: string;
|
419
|
+
type: string;
|
420
|
+
config: {
|
421
|
+
props: {
|
422
|
+
color: string;
|
423
|
+
styles: {};
|
424
|
+
fontSize: string;
|
425
|
+
inputType: string;
|
426
|
+
textAlign: string;
|
427
|
+
fontFamily: string;
|
428
|
+
paddingTop: string;
|
429
|
+
borderColor: string;
|
430
|
+
paddingLeft: string;
|
431
|
+
paddingRight: string;
|
432
|
+
paddingBottom: string;
|
433
|
+
};
|
434
|
+
};
|
435
|
+
children: never[];
|
436
|
+
instance: string;
|
437
|
+
metadata: {};
|
438
|
+
ordering: number;
|
439
|
+
actionable: boolean;
|
440
|
+
properties: {
|
441
|
+
text: {
|
442
|
+
id: string;
|
443
|
+
text: string;
|
444
|
+
property: string;
|
445
|
+
createdAt: string;
|
446
|
+
updatedAt: string;
|
447
|
+
isRichText: boolean;
|
448
|
+
propertyType: string;
|
449
|
+
moleculeItemId: null;
|
450
|
+
showRichTextToolbar: boolean;
|
451
|
+
};
|
452
|
+
required: {
|
453
|
+
id: string;
|
454
|
+
value: boolean;
|
455
|
+
property: string;
|
456
|
+
createdAt: string;
|
457
|
+
updatedAt: string;
|
458
|
+
propertyType: string;
|
459
|
+
};
|
460
|
+
dataCapture: {
|
461
|
+
id: string;
|
462
|
+
property: string;
|
463
|
+
required: boolean;
|
464
|
+
createdAt: string;
|
465
|
+
updatedAt: string;
|
466
|
+
propertyType: string;
|
467
|
+
isConfigurable: boolean;
|
468
|
+
moleculeItemId: null;
|
469
|
+
dataCaptureName: string;
|
470
|
+
sourceDataModelFieldId: string;
|
471
|
+
};
|
472
|
+
placeholderText: {
|
473
|
+
id: string;
|
474
|
+
text: string;
|
475
|
+
property: string;
|
476
|
+
createdAt: string;
|
477
|
+
updatedAt: string;
|
478
|
+
isRichText: boolean;
|
479
|
+
propertyType: string;
|
480
|
+
moleculeItemId: null;
|
481
|
+
showRichTextToolbar: boolean;
|
482
|
+
};
|
483
|
+
requiredErrorText: {
|
484
|
+
id: string;
|
485
|
+
text: string;
|
486
|
+
property: string;
|
487
|
+
createdAt: string;
|
488
|
+
updatedAt: string;
|
489
|
+
isRichText: boolean;
|
490
|
+
propertyType: string;
|
491
|
+
moleculeItemId: null;
|
492
|
+
showRichTextToolbar: boolean;
|
493
|
+
};
|
494
|
+
validationErrorText: {
|
495
|
+
id: string;
|
496
|
+
text: string;
|
497
|
+
property: string;
|
498
|
+
createdAt: string;
|
499
|
+
updatedAt: string;
|
500
|
+
isRichText: boolean;
|
501
|
+
propertyType: string;
|
502
|
+
moleculeItemId: null;
|
503
|
+
showRichTextToolbar: boolean;
|
504
|
+
};
|
505
|
+
};
|
506
|
+
triggerable: boolean;
|
507
|
+
referenceName: string;
|
508
|
+
moleculeLibraryId: string;
|
509
|
+
organismLibraryMoleculeId: string;
|
510
|
+
}[];
|
511
|
+
children?: undefined;
|
512
|
+
actionable?: undefined;
|
513
|
+
triggerable?: undefined;
|
514
|
+
referenceName?: undefined;
|
515
|
+
moleculeLibraryId?: undefined;
|
516
|
+
organismLibraryMoleculeId?: undefined;
|
517
|
+
} | {
|
518
|
+
id: string;
|
519
|
+
name: string;
|
520
|
+
type: string;
|
521
|
+
config: {
|
522
|
+
wide: {
|
523
|
+
containerProps: {};
|
524
|
+
containerStyle: {
|
525
|
+
gap: string;
|
526
|
+
width: string;
|
527
|
+
flexWrap: string;
|
528
|
+
paddingTop: string;
|
529
|
+
paddingLeft: string;
|
530
|
+
paddingRight: string;
|
531
|
+
flexDirection: string;
|
532
|
+
paddingBottom: string;
|
533
|
+
};
|
534
|
+
};
|
535
|
+
compact: {
|
536
|
+
containerProps: {};
|
537
|
+
containerStyle: {
|
538
|
+
gap: string;
|
539
|
+
width: string;
|
540
|
+
flexWrap: string;
|
541
|
+
paddingTop: string;
|
542
|
+
paddingLeft: string;
|
543
|
+
paddingRight: string;
|
544
|
+
paddingBottom: string;
|
545
|
+
};
|
546
|
+
};
|
547
|
+
props?: undefined;
|
548
|
+
};
|
549
|
+
instance: string;
|
550
|
+
metadata: {
|
551
|
+
group: string[];
|
552
|
+
};
|
553
|
+
ordering: number;
|
554
|
+
properties: {
|
555
|
+
backgroundImage: {
|
556
|
+
id: string;
|
557
|
+
property: string;
|
558
|
+
propertyType: string;
|
559
|
+
imageFile: {
|
560
|
+
id: string;
|
561
|
+
url: string;
|
562
|
+
name: string;
|
563
|
+
size: number;
|
564
|
+
type: string;
|
565
|
+
source: string;
|
566
|
+
property: string;
|
567
|
+
fileType: string;
|
568
|
+
createdAt: string;
|
569
|
+
updatedAt: string;
|
570
|
+
description: null;
|
571
|
+
originalName: string;
|
572
|
+
propertyType: string;
|
573
|
+
};
|
574
|
+
};
|
575
|
+
objectModification: {
|
576
|
+
id: string;
|
577
|
+
value: boolean;
|
578
|
+
property: string;
|
579
|
+
createdAt: string;
|
580
|
+
updatedAt: string;
|
581
|
+
propertyType: string;
|
582
|
+
};
|
583
|
+
text?: undefined;
|
584
|
+
action?: undefined;
|
585
|
+
disabled?: undefined;
|
586
|
+
interacted?: undefined;
|
587
|
+
};
|
588
|
+
pmiObjectId: string;
|
589
|
+
containerLibraryId: string;
|
590
|
+
containerLibraryName: string;
|
591
|
+
organismLibraryContainerId: string;
|
592
|
+
stateValueOptionMasterStateId: string;
|
593
|
+
items: ({
|
594
|
+
id: string;
|
595
|
+
name: string;
|
596
|
+
type: string;
|
597
|
+
config: {
|
598
|
+
props: {
|
599
|
+
color: string;
|
600
|
+
masked: string;
|
601
|
+
styles: {};
|
602
|
+
fontSize: string;
|
603
|
+
textAlign: string;
|
604
|
+
fontFamily: string;
|
605
|
+
paddingTop: string;
|
606
|
+
borderColor: string;
|
607
|
+
paddingLeft: string;
|
608
|
+
paddingRight: string;
|
609
|
+
paddingBottom: string;
|
610
|
+
textColor?: undefined;
|
611
|
+
allowNegative?: undefined;
|
612
|
+
numericPrecision?: undefined;
|
613
|
+
};
|
614
|
+
};
|
615
|
+
children: never[];
|
616
|
+
instance: string;
|
617
|
+
metadata: {};
|
618
|
+
ordering: number;
|
619
|
+
actionable: boolean;
|
620
|
+
properties: {
|
621
|
+
text: {
|
622
|
+
id: string;
|
623
|
+
text: string;
|
624
|
+
property: string;
|
625
|
+
createdAt: string;
|
626
|
+
updatedAt: string;
|
627
|
+
isRichText: boolean;
|
628
|
+
propertyType: string;
|
629
|
+
moleculeItemId: null;
|
630
|
+
showRichTextToolbar: boolean;
|
631
|
+
};
|
632
|
+
required: {
|
633
|
+
id: string;
|
634
|
+
value: boolean;
|
635
|
+
property: string;
|
636
|
+
createdAt: string;
|
637
|
+
updatedAt: string;
|
638
|
+
propertyType: string;
|
639
|
+
};
|
640
|
+
dataCapture: {
|
641
|
+
id: string;
|
642
|
+
property: string;
|
643
|
+
required: boolean;
|
644
|
+
createdAt: string;
|
645
|
+
updatedAt: string;
|
646
|
+
propertyType: string;
|
647
|
+
isConfigurable: boolean;
|
648
|
+
moleculeItemId: null;
|
649
|
+
dataCaptureName: string;
|
650
|
+
sourceDataModelFieldId: string;
|
651
|
+
};
|
652
|
+
placeholderText: {
|
653
|
+
id: string;
|
654
|
+
text: string;
|
655
|
+
property: string;
|
656
|
+
createdAt: string;
|
657
|
+
updatedAt: string;
|
658
|
+
isRichText: boolean;
|
659
|
+
propertyType: string;
|
660
|
+
moleculeItemId: null;
|
661
|
+
showRichTextToolbar: boolean;
|
662
|
+
};
|
663
|
+
requiredErrorText: {
|
664
|
+
id: string;
|
665
|
+
text: string;
|
666
|
+
property: string;
|
667
|
+
createdAt: string;
|
668
|
+
updatedAt: string;
|
669
|
+
isRichText: boolean;
|
670
|
+
propertyType: string;
|
671
|
+
moleculeItemId: null;
|
672
|
+
showRichTextToolbar: boolean;
|
673
|
+
};
|
674
|
+
validationErrorText: {
|
675
|
+
id: string;
|
676
|
+
text: string;
|
677
|
+
property: string;
|
678
|
+
createdAt: string;
|
679
|
+
updatedAt: string;
|
680
|
+
isRichText: boolean;
|
681
|
+
propertyType: string;
|
682
|
+
moleculeItemId: null;
|
683
|
+
showRichTextToolbar: boolean;
|
684
|
+
};
|
685
|
+
};
|
686
|
+
triggerable: boolean;
|
687
|
+
referenceName: string;
|
688
|
+
moleculeLibraryId: string;
|
689
|
+
organismLibraryMoleculeId: string;
|
690
|
+
} | {
|
691
|
+
id: string;
|
692
|
+
name: string;
|
693
|
+
type: string;
|
694
|
+
config: {
|
695
|
+
props: {
|
696
|
+
styles: {};
|
697
|
+
fontSize: string;
|
698
|
+
textAlign: string;
|
699
|
+
textColor: string;
|
700
|
+
fontFamily: string;
|
701
|
+
paddingTop: string;
|
702
|
+
borderColor: string;
|
703
|
+
paddingLeft: string;
|
704
|
+
paddingRight: string;
|
705
|
+
allowNegative: boolean;
|
706
|
+
paddingBottom: string;
|
707
|
+
numericPrecision: string;
|
708
|
+
color?: undefined;
|
709
|
+
masked?: undefined;
|
710
|
+
};
|
711
|
+
};
|
712
|
+
children: never[];
|
713
|
+
instance: string;
|
714
|
+
metadata: {};
|
715
|
+
ordering: number;
|
716
|
+
actionable: boolean;
|
717
|
+
properties: {
|
718
|
+
text: {
|
719
|
+
id: string;
|
720
|
+
text: string;
|
721
|
+
property: string;
|
722
|
+
createdAt: string;
|
723
|
+
updatedAt: string;
|
724
|
+
isRichText: boolean;
|
725
|
+
propertyType: string;
|
726
|
+
moleculeItemId: null;
|
727
|
+
showRichTextToolbar: boolean;
|
728
|
+
};
|
729
|
+
required: {
|
730
|
+
id: string;
|
731
|
+
value: boolean;
|
732
|
+
property: string;
|
733
|
+
createdAt: string;
|
734
|
+
updatedAt: string;
|
735
|
+
propertyType: string;
|
736
|
+
};
|
737
|
+
dataCapture: {
|
738
|
+
id: string;
|
739
|
+
property: string;
|
740
|
+
required: boolean;
|
741
|
+
createdAt: string;
|
742
|
+
updatedAt: string;
|
743
|
+
propertyType: string;
|
744
|
+
isConfigurable: boolean;
|
745
|
+
moleculeItemId: null;
|
746
|
+
dataCaptureName: string;
|
747
|
+
sourceDataModelFieldId: string;
|
748
|
+
};
|
749
|
+
placeholderText: {
|
750
|
+
id: string;
|
751
|
+
text: string;
|
752
|
+
property: string;
|
753
|
+
createdAt: string;
|
754
|
+
updatedAt: string;
|
755
|
+
isRichText: boolean;
|
756
|
+
propertyType: string;
|
757
|
+
moleculeItemId: null;
|
758
|
+
showRichTextToolbar: boolean;
|
759
|
+
};
|
760
|
+
requiredErrorText: {
|
761
|
+
id: string;
|
762
|
+
text: string;
|
763
|
+
property: string;
|
764
|
+
createdAt: string;
|
765
|
+
updatedAt: string;
|
766
|
+
isRichText: boolean;
|
767
|
+
propertyType: string;
|
768
|
+
moleculeItemId: null;
|
769
|
+
showRichTextToolbar: boolean;
|
770
|
+
};
|
771
|
+
validationErrorText: {
|
772
|
+
id: string;
|
773
|
+
text: string;
|
774
|
+
property: string;
|
775
|
+
createdAt: string;
|
776
|
+
updatedAt: string;
|
777
|
+
isRichText: boolean;
|
778
|
+
propertyType: string;
|
779
|
+
moleculeItemId: null;
|
780
|
+
showRichTextToolbar: boolean;
|
781
|
+
};
|
782
|
+
};
|
783
|
+
triggerable: boolean;
|
784
|
+
referenceName: string;
|
785
|
+
moleculeLibraryId: string;
|
786
|
+
organismLibraryMoleculeId: string;
|
787
|
+
})[];
|
788
|
+
children?: undefined;
|
789
|
+
actionable?: undefined;
|
790
|
+
triggerable?: undefined;
|
791
|
+
referenceName?: undefined;
|
792
|
+
moleculeLibraryId?: undefined;
|
793
|
+
organismLibraryMoleculeId?: undefined;
|
794
|
+
} | {
|
795
|
+
id: string;
|
796
|
+
name: string;
|
797
|
+
type: string;
|
798
|
+
config: {
|
799
|
+
props: {
|
800
|
+
color: string;
|
801
|
+
width: string;
|
802
|
+
height: string;
|
803
|
+
styles: {};
|
804
|
+
variant: string;
|
805
|
+
fontSize: string;
|
806
|
+
fullWidth: boolean;
|
807
|
+
textAlign: string;
|
808
|
+
textColor: string;
|
809
|
+
fontFamily: string;
|
810
|
+
fontWeight: string;
|
811
|
+
paddingTop: string;
|
812
|
+
paddingLeft: string;
|
813
|
+
borderRadius: string;
|
814
|
+
paddingRight: string;
|
815
|
+
paddingBottom: string;
|
816
|
+
};
|
817
|
+
wide?: undefined;
|
818
|
+
compact?: undefined;
|
819
|
+
};
|
820
|
+
children: never[];
|
821
|
+
instance: string;
|
822
|
+
metadata: {
|
823
|
+
group?: undefined;
|
824
|
+
};
|
825
|
+
ordering: number;
|
826
|
+
actionable: boolean;
|
827
|
+
properties: {
|
828
|
+
text: {
|
829
|
+
id: string;
|
830
|
+
text: string;
|
831
|
+
property: string;
|
832
|
+
createdAt: string;
|
833
|
+
updatedAt: string;
|
834
|
+
isRichText: boolean;
|
835
|
+
propertyType: string;
|
836
|
+
moleculeItemId: null;
|
837
|
+
showRichTextToolbar: boolean;
|
838
|
+
};
|
839
|
+
action: {
|
840
|
+
id: string;
|
841
|
+
propertyType: string;
|
842
|
+
property: string;
|
843
|
+
action: {
|
844
|
+
type: string;
|
845
|
+
reset: {};
|
846
|
+
};
|
847
|
+
};
|
848
|
+
disabled: {
|
849
|
+
id: string;
|
850
|
+
value: string;
|
851
|
+
property: string;
|
852
|
+
createdAt: string;
|
853
|
+
updatedAt: string;
|
854
|
+
propertyType: string;
|
855
|
+
moleculeItemId: null;
|
856
|
+
organismAppliedId: null;
|
857
|
+
containerAppliedId: null;
|
858
|
+
};
|
859
|
+
interacted: {
|
860
|
+
id: string;
|
861
|
+
value: string;
|
862
|
+
property: string;
|
863
|
+
createdAt: string;
|
864
|
+
updatedAt: string;
|
865
|
+
propertyType: string;
|
866
|
+
moleculeItemId: null;
|
867
|
+
organismAppliedId: null;
|
868
|
+
containerAppliedId: null;
|
869
|
+
};
|
870
|
+
backgroundImage?: undefined;
|
871
|
+
objectModification?: undefined;
|
872
|
+
};
|
873
|
+
triggerable: boolean;
|
874
|
+
referenceName: null;
|
875
|
+
moleculeLibraryId: string;
|
876
|
+
organismLibraryMoleculeId: string;
|
877
|
+
pmiObjectId?: undefined;
|
878
|
+
containerLibraryId?: undefined;
|
879
|
+
containerLibraryName?: undefined;
|
880
|
+
organismLibraryContainerId?: undefined;
|
881
|
+
stateValueOptionMasterStateId?: undefined;
|
882
|
+
items?: undefined;
|
883
|
+
})[];
|
884
|
+
};
|
@@ -15,6 +15,7 @@ import { NumericInputFieldProps } from '../../molecules/NumericInputField/Numeri
|
|
15
15
|
import { AccordionProps } from '../../molecules/Accordion/Accordion';
|
16
16
|
import { TabsProps } from '../../molecules/Tabs/Tabs';
|
17
17
|
import { MenuProps } from '../../molecules/Menu/Menu';
|
18
|
+
import { AvatarMoleculeProps } from '../../molecules/Avatar/Avatar';
|
18
19
|
export declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
|
19
20
|
export declare type DataModelFieldFormatCodeTypes = 'date' | 'email' | 'string' | 'integer' | 'boolean' | 'numeric' | 'zip_code' | 'phone_number';
|
20
21
|
export declare type DataModelFieldFormatValueTypes = 'any' | 'text' | 'email' | 'integer' | 'numerical' | 'us_zip_code' | 'phone_number' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'year_month_day_date';
|
@@ -122,7 +123,7 @@ export declare type ObjectStateProperties = {
|
|
122
123
|
pmiObjectId: string | null;
|
123
124
|
};
|
124
125
|
export declare type MoleculeItemTypes = 'stepper_item' | 'checklist_item' | 'accordion_item' | 'menu_item' | 'tabs_item';
|
125
|
-
export declare type MoleculeTypes = 'simple_text' | 'text' | 'header_tab_group' | 'consent' | 'signup_password_fields' | 'account_button' | 'stepper' | 'checklist' | 'accordion' | 'menu' | 'tabs' | 'divider' | 'link' | 'video' | 'image' | 'button' | 'alert' | 'badge' | 'chip' | 'basic_text_field' | 'rating' | 'switch' | 'slider' | 'select' | 'date_picker' | 'email_input_field' | 'phone_number_input_field' | 'numeric_input_field' | 'currency_input_field' | 'email_display_field' | 'phone_number_display_field' | 'numeric_display_field' | 'currency_display_field' | 'basic_text_display_field' | 'select_display_field' | 'rating_display_field' | 'switch_display_field' | 'slider_display_field' | 'date_display_field';
|
126
|
+
export declare type MoleculeTypes = 'simple_text' | 'text' | 'header_tab_group' | 'consent' | 'signup_password_fields' | 'account_button' | 'stepper' | 'checklist' | 'accordion' | 'menu' | 'tabs' | 'divider' | 'link' | 'video' | 'image' | 'button' | 'alert' | 'badge' | 'chip' | 'basic_text_field' | 'rating' | 'switch' | 'slider' | 'select' | 'date_picker' | 'email_input_field' | 'phone_number_input_field' | 'numeric_input_field' | 'currency_input_field' | 'email_display_field' | 'phone_number_display_field' | 'numeric_display_field' | 'currency_display_field' | 'basic_text_display_field' | 'select_display_field' | 'rating_display_field' | 'switch_display_field' | 'slider_display_field' | 'date_display_field' | 'avatar';
|
126
127
|
/**
|
127
128
|
* [ NEW MOLECULE: 3 ] Second Step is to add the new molecule name to this list, in snake case format
|
128
129
|
*
|
@@ -456,7 +457,16 @@ export interface CurrencyInputFieldMoleculeType extends BaseMoleculeType {
|
|
456
457
|
dataCapture: DataCaptureProperties;
|
457
458
|
};
|
458
459
|
}
|
459
|
-
export
|
460
|
+
export interface AvatarMoleculeType extends BaseMoleculeType {
|
461
|
+
type: 'avatar';
|
462
|
+
config: {
|
463
|
+
props: Omit<AvatarMoleculeProps, 'sourceDataModelField' | 'configurationItemInfo'>;
|
464
|
+
};
|
465
|
+
properties: {
|
466
|
+
dataCapture: DataCaptureProperties;
|
467
|
+
};
|
468
|
+
}
|
469
|
+
export declare type Molecule = StrictUnion<SimpleTextMoleculeType | TextMoleculeType | ConsentFieldMoleculeType | PasswordSetupMoleculeType | StepperMoleculeType | ChecklistsMoleculeType | AccordionMoleculeType | MenuMoleculeType | TabsMoleculeType | DividerMoleculeType | LinkMoleculeType | VideoMoleculeType | ImageMoleculeType | ButtonMoleculeType | ChipMoleculeType | BadgeMoleculeType | AlertMoleculeType | BasicTextFieldMoleculeType | RatingMoleculeType | SwitchMoleculeType | SliderMoleculeType | SelectMoleculeType | DatePickerMoleculeType | EmailInputFieldMoleculeType | PhoneNumberInputFieldMoleculeType | NumericInputFieldMoleculeType | CurrencyInputFieldMoleculeType | AvatarMoleculeType> & Partial<{
|
460
470
|
form: UseFormReturn<any>;
|
461
471
|
formData: AnyObject;
|
462
472
|
setFormData: Dispatch<SetStateAction<AnyObject>>;
|
@@ -1,3 +1,4 @@
|
|
1
1
|
export declare function overrideProperties(savedProperties: Partial<Record<string, unknown>>, currentContentProperties: Partial<Record<string, unknown>> | undefined, propertyKeys: string[], // Renamed to avoid conflict
|
2
2
|
selected: boolean): Partial<Record<string, unknown>>;
|
3
3
|
export declare function overrideProps(savedProps: Partial<Record<string, unknown>>, currentStyleProperties?: Partial<Record<string, unknown>>, selected?: boolean): Partial<Record<string, unknown>>;
|
4
|
+
export declare const getInvalidValue: (rx: RegExp) => string;
|