@zealicsolutions/web-ui 1.0.39 → 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.
@@ -6,6 +6,7 @@ export interface SelectMoleculeOption {
6
6
  value: string;
7
7
  }
8
8
  export interface SelectMoleculeProps {
9
+ open?: boolean;
9
10
  /** Label text (visible above or inside the select) */
10
11
  text: string;
11
12
  /** Dropdown options. Each has { id, value } or you can supply string[] */
@@ -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?: keyof ValidationMode;
5
- id?: string;
3
+ mode?: 'onSubmit' | 'onBlur' | 'onChange' | 'all';
4
+ state?: 'default' | 'required_error' | 'validation_error';
6
5
  }>;
7
- export declare const FormContainer: ({ mode, children, id }: FormContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
6
+ export declare const FormContainer: ({ mode, state, children }: FormContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"../node_modules/tslib/tslib.es6.js";import{jsx as o}from"../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import{FormStepContextProvider as e}from"../contexts/FormStepContext/FormStepContextProvider.js";import{useEffect as r}from"react";import{useForm as n,FormProvider as i}from"../node_modules/react-hook-form/dist/index.esm.mjs.js";import{useStateModifierHandler as s}from"./hooks/useStateModifierHandler.js";import"../contexts/FormStepContext/FormStepContext.js";import"../contexts/ButtonActionsContext/ButtonActionsContext.js";import"../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import{useOrganismContext as m}from"../contexts/hooks/useOrganismContext.js";import"../contexts/StateContext/StateContext.js";import"../contexts/AccountButtonContext/AccountButtonContext.js";var x={enter:!1},c=function(c){var d=c.mode,p=void 0===d?"onChange":d,a=c.children;c.id;var u=n({mode:p}),C=s().onStateChange,j=m().formId,f=void 0===j?"":j,l=u.formState.isDirty;return r((function(){l&&!x.enter&&(C({id:f,type:"started"}),x.enter=!0)}),[l]),o(i,t({},u,{children:o(e,{children:a})}))};export{c as FormContainer};
1
+ import{__awaiter as t,__assign as o,__generator as e}from"../node_modules/tslib/tslib.es6.js";import{jsx as r}from"../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import{useForm as n,FormProvider as i}from"../node_modules/react-hook-form/dist/index.esm.mjs.js";import{FormStepContextProvider as s}from"../contexts/FormStepContext/FormStepContextProvider.js";import{useEffect as m}from"react";import{useStateModifierHandler as u}from"./hooks/useStateModifierHandler.js";import"../contexts/FormStepContext/FormStepContext.js";import"../contexts/ButtonActionsContext/ButtonActionsContext.js";import"../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import{useOrganismContext as d}from"../contexts/hooks/useOrganismContext.js";import"../contexts/StateContext/StateContext.js";import"../contexts/AccountButtonContext/AccountButtonContext.js";var c=function(c){var a=c.mode,l=void 0===a?"onChange":a,f=c.state,x=c.children,v=n({mode:l}),p=u().onStateChange,j=d().formId,C=void 0===j?"":j;return m((function(){if(f)if("default"!==f)if("required_error"!==f){if("validation_error"===f){var o=setTimeout((function(){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){return Object.values(v.control._fields).forEach((function(t){var o,e,r;if(null===(o=null==t?void 0:t.rules.pattern)||void 0===o?void 0:o.value){var n=(t||{}).name;console.log(t);var i=null===(r=null===(e=null==t?void 0:t.rules)||void 0===e?void 0:e.pattern)||void 0===r?void 0:r.message;v.setError(n,{message:i,type:"required"})}})),[2]}))}))}),100);return setTimeout((function(){v.trigger()}),1e3),function(){return clearTimeout(o)}}}else v.trigger();else v.clearErrors()}),[f]),m((function(){v.formState.isDirty&&p({id:C,type:"started"})}),[v.formState.isDirty]),r(i,o({},v,{children:r(s,{children:x})}))};export{c as FormContainer};
2
2
  //# sourceMappingURL=FormContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormContainer.js","sources":["../../../../src/containers/FormContainer.tsx"],"sourcesContent":[null],"names":["ignore","enter","FormContainer","_a","_b","mode","children","id","methods","useForm","onStateChange","useStateModifierHandler","_c","useOrganismContext","formId","isDirty","formState","useEffect","type","_jsx","FormProvider","__assign","FormStepContextProvider"],"mappings":"u1BAWA,IAAMA,EAAS,CACbC,OAAO,GAGIC,EAAgB,SAACC,OAAEC,EAAiBD,EAAAE,KAAjBA,OAAI,IAAAD,EAAG,WAAUA,EAAEE,EAAQH,EAAAG,SAAIH,EAAAI,GAC7D,IAAMC,EAAUC,EAAQ,CACtBJ,KAAIA,IAEEK,EAAkBC,kBAClBC,EAAgBC,IAAoBC,OAApCA,OAAM,IAAAF,EAAG,GAAEA,EAGJG,EACXP,EAAOQ,UAAAD,QASX,OAPAE,GAAU,WACJF,IAAYf,EAAOC,QACrBS,EAAc,CAAEH,GAAIO,EAAQI,KAAM,YAClClB,EAAOC,OAAQ,EAEnB,GAAG,CAACc,IAGFI,EAACC,EAAYC,EAAA,CAAA,EAAKb,EAAO,CAAAF,SACvBa,EAACG,EAAyB,CAAAhB,SAAAA,MAGhC"}
1
+ {"version":3,"file":"FormContainer.js","sources":["../../../../src/containers/FormContainer.tsx"],"sourcesContent":[null],"names":["FormContainer","_a","_b","mode","state","children","methods","useForm","onStateChange","useStateModifierHandler","_c","useOrganismContext","formId","useEffect","t_1","setTimeout","__awaiter","Object","values","control","_fields","forEach","field","rules","pattern","value","name","console","log","patternMessage","message","setError","type","trigger","clearTimeout","clearErrors","formState","isDirty","id","_jsx","FormProvider","__assign","FormStepContextProvider"],"mappings":"u3BAgBO,IAAMA,EAAgB,SAACC,OAAEC,EAAiBD,EAAAE,KAAjBA,OAAI,IAAAD,EAAG,WAAUA,EAAEE,EAAKH,EAAAG,MAAEC,EAAQJ,EAAAI,SAC1DC,EAAUC,EAAQ,CAAEJ,KAAIA,IACtBK,EAAkBC,kBAClBC,EAAgBC,IAAoBC,OAApCA,OAAM,IAAAF,EAAG,GAAEA,EA6CnB,OA1CAG,GAAU,WACR,GAAKT,EAEL,GAAc,YAAVA,EAKJ,GAAc,mBAAVA,GAKJ,GAAc,qBAAVA,EAA8B,CAEhC,IAAMU,EAAIC,YAAW,WAAA,OAAAC,OAAA,OAAA,OAAA,GAAA,6CAGnBC,OAAOC,OAAOZ,EAAQa,QAAQC,SAASC,SAAQ,SAACC,aAC9C,GAAyB,QAApBrB,EAAAqB,aAAK,EAALA,EAAOC,MAAMC,eAAO,IAAAvB,OAAA,EAAAA,EAAEwB,MAA3B,CAEQ,IAAAC,GAASJ,GAAS,CAAA,QAE1BK,QAAQC,IAAIN,GAEZ,IAAMO,EAAsC,QAArBnB,EAAY,QAAZR,EAAAoB,aAAA,EAAAA,EAAOC,aAAK,IAAArB,OAAA,EAAAA,EAAEsB,eAAO,IAAAd,OAAA,EAAAA,EAAEoB,QAC9CxB,EAAQyB,SAASL,EAAM,CAAEI,QAASD,EAAgBG,KAAM,YAPf,CAQ3C,gBACC,KAKH,OAJAjB,YAAW,WACTT,EAAQ2B,SACT,GAAE,KAEI,WAAM,OAAAC,aAAapB,EAAE,CAC7B,OAzBCR,EAAQ2B,eALR3B,EAAQ6B,aA+BZ,GAAG,CAAC/B,IAGJS,GAAU,WACJP,EAAQ8B,UAAUC,SAAS7B,EAAc,CAAE8B,GAAI1B,EAAQoB,KAAM,WAClE,GAAE,CAAC1B,EAAQ8B,UAAUC,UAGpBE,EAACC,EAAYC,EAAA,CAAA,EAAKnC,EAAO,CAAAD,SACvBkC,EAACG,EAAyB,CAAArC,SAAAA,MAGhC"}
@@ -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
+ };
@@ -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;
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.js","sources":["../../../../../src/molecules/Avatar/Avatar.tsx"],"sourcesContent":[null],"names":["AvatarMolecule","_a","sourceDataModelField","_c","iconName","backgroundColor","_d","textColor","_e","size","_f","fontSize","_g","fontFamily","_h","fontWeight","_j","borderColor","_k","borderWidth","_l","marginLeft","_m","marginTop","_o","marginRight","_p","marginBottom","_q","paddingLeft","_r","paddingTop","_s","paddingRight","_t","paddingBottom","configurationItemInfo","localStateObject","useOrganismContext","stateConfig","useStateContext","stateObject","raw","_b","value","str","trim","initials","slice","toUpperCase","_jsx","Box","__assign","sx","display","children","Avatar","bgcolor","color","borderStyle","width","height","IconRenderer"],"mappings":"yj5GAoCO,IAAMA,EAAgD,SAACC,SAC5DC,EAAoBD,EAAAC,qBACpBC,EAAAF,EAAAG,SAAAA,OAAW,IAAAD,EAAA,OAAMA,EACjBE,EAAeJ,EAAAI,gBACfC,EAAAL,EAAAM,UAAAA,OAAS,IAAAD,EAAG,OAAMA,EAClBE,EAAAP,EAAAQ,KAAAA,OAAO,IAAAD,EAAA,GAAEA,EACTE,EAAaT,EAAAU,SAAbA,OAAW,IAAAD,EAAA,GAAEA,EACbE,EAAsBX,EAAAY,WAAtBA,OAAU,IAAAD,EAAG,UAASA,EACtBE,EAAAb,EAAAc,WAAAA,OAAa,IAAAD,EAAA,OAAMA,EACnBE,EAAuBf,EAAAgB,YAAvBA,OAAW,IAAAD,EAAG,UAASA,EACvBE,EAAAjB,EAAAkB,YAAAA,OAAc,IAAAD,EAAA,IACdE,EAAAnB,EAAAoB,WAAAA,OAAa,IAAAD,EAAA,IAAGA,EAChBE,EAAerB,EAAAsB,UAAfA,OAAS,IAAAD,EAAG,IAAGA,EACfE,EAAiBvB,EAAAwB,YAAjBA,OAAW,IAAAD,EAAG,IAAGA,EACjBE,EAAAzB,EAAA0B,aAAAA,OAAe,IAAAD,EAAA,IAAGA,EAClBE,gBAAAC,OAAc,IAAAD,EAAA,IAAGA,EACjBE,EAAgB7B,EAAA8B,WAAhBA,OAAU,IAAAD,EAAG,IAAGA,EAChBE,EAAA/B,EAAAgC,aAAAA,OAAe,IAAAD,EAAA,IAAGA,EAClBE,EAAmBjC,EAAAkC,cAAnBA,OAAa,IAAAD,EAAG,IAAGA,EACnBE,EAAqBnC,EAAAmC,sBAEbC,EAAqBC,qBACrBC,EAAgBC,gBAClBC,EAAcJ,GAAoBE,EAElCG,EAAMxC,EACoD,QAA3DyC,EAAAF,aAAA,EAAAA,EAAsCvC,UAAqB,IAAAyC,OAAA,EAAAA,EAAEC,MAC9D,GAEEC,EAAqB,iBAARH,EAAmBA,EAAII,OAAS,GAC7CC,EAAWF,EAAMA,EAAIG,MAAM,EAAG,GAAGC,cAAgB,GAEvD,OACEC,EAACC,EAAGC,EAAA,CACFC,GAAI,CACFC,QAAS,cACTjC,WAAUA,EACVE,UAASA,EACTE,YAAWA,EACXE,aAAYA,EACZE,YAAWA,EACXE,WAAUA,EACVE,aAAYA,EACZE,cAAaA,IAEXC,EACJ,CAAAmB,SAAAL,EAACM,EAAMJ,EAAA,CACLC,GAAI,CACFI,QAASpD,EACTqD,MAAOnD,EACPI,SAAQA,EACRE,WAAUA,EACVE,WAAUA,EACVE,YAAWA,EACXE,YAAWA,EACXwC,YAAa,QACbC,MAAOnD,EACPoD,OAAQpD,IAET,CAAA8C,SAAAR,GAAYG,EAACY,GAAa1D,SAAUA,EAAUsD,MAAOnD,EAAWE,KAAME,SAI/E"}
1
+ {"version":3,"file":"Avatar.js","sources":["../../../../../src/molecules/Avatar/Avatar.tsx"],"sourcesContent":[null],"names":["AvatarMolecule","_a","sourceDataModelField","_c","iconName","backgroundColor","_d","textColor","_e","size","_f","fontSize","_g","fontFamily","_h","fontWeight","_j","borderColor","_k","borderWidth","_l","marginLeft","_m","marginTop","_o","marginRight","_p","marginBottom","_q","paddingLeft","_r","paddingTop","_s","paddingRight","_t","paddingBottom","configurationItemInfo","localStateObject","useOrganismContext","stateConfig","useStateContext","stateObject","raw","_b","value","str","trim","initials","slice","toUpperCase","_jsx","Box","__assign","sx","display","children","Avatar","bgcolor","color","borderStyle","width","height","IconRenderer"],"mappings":"yj5GAoCO,IAAMA,EAAgD,SAACC,SAC5DC,EAAoBD,EAAAC,qBACpBC,EAAAF,EAAAG,SAAAA,OAAW,IAAAD,EAAA,OAAMA,EACjBE,EAAeJ,EAAAI,gBACfC,EAAAL,EAAAM,UAAAA,OAAS,IAAAD,EAAG,OAAMA,EAClBE,EAAAP,EAAAQ,KAAAA,OAAO,IAAAD,EAAA,GAAEA,EACTE,EAAaT,EAAAU,SAAbA,OAAW,IAAAD,EAAA,GAAEA,EACbE,EAAsBX,EAAAY,WAAtBA,OAAU,IAAAD,EAAG,UAASA,EACtBE,EAAAb,EAAAc,WAAAA,OAAa,IAAAD,EAAA,OAAMA,EACnBE,EAAuBf,EAAAgB,YAAvBA,OAAW,IAAAD,EAAG,UAASA,EACvBE,EAAAjB,EAAAkB,YAAAA,OAAc,IAAAD,EAAA,IACdE,EAAAnB,EAAAoB,WAAAA,OAAa,IAAAD,EAAA,IAAGA,EAChBE,EAAerB,EAAAsB,UAAfA,OAAS,IAAAD,EAAG,IAAGA,EACfE,EAAiBvB,EAAAwB,YAAjBA,OAAW,IAAAD,EAAG,IAAGA,EACjBE,EAAAzB,EAAA0B,aAAAA,OAAe,IAAAD,EAAA,IAAGA,EAClBE,gBAAAC,OAAc,IAAAD,EAAA,IAAGA,EACjBE,EAAgB7B,EAAA8B,WAAhBA,OAAU,IAAAD,EAAG,IAAGA,EAChBE,EAAA/B,EAAAgC,aAAAA,OAAe,IAAAD,EAAA,IAAGA,EAClBE,EAAmBjC,EAAAkC,cAAnBA,OAAa,IAAAD,EAAG,IAAGA,EACnBE,EAAqBnC,EAAAmC,sBAEbC,EAAqBC,qBACrBC,EAAgBC,gBAClBC,EAAcJ,GAAoBE,EAElCG,EAAMxC,EACoD,QAA3DyC,EAAAF,aAAA,EAAAA,EAAsCvC,UAAqB,IAAAyC,OAAA,EAAAA,EAAEC,MAC9D,GAEEC,EAAqB,iBAARH,EAAmBA,EAAII,OAAS,GAC7CC,EAAWF,EAAMA,EAAIG,MAAM,EAAG,GAAGC,cAAgB,GAEvD,OACEC,EAACC,EAAGC,EAAA,CACFC,GAAI,CACFC,QAAS,cACTjC,WAAUA,EACVE,UAASA,EACTE,YAAWA,EACXE,aAAYA,EACZE,YAAWA,EACXE,WAAUA,EACVE,aAAYA,EACZE,cAAaA,IAEXC,EAEJ,CAAAmB,SAAAL,EAACM,EAAMJ,EAAA,CACLC,GAAI,CACFI,QAASpD,EACTqD,MAAOnD,EACPI,SAAQA,EACRE,WAAUA,EACVE,WAAUA,EACVE,YAAWA,EACXE,YAAWA,EACXwC,YAAa,QACbC,MAAOnD,EACPoD,OAAQpD,IAGT,CAAA8C,SAAAR,GAAYG,EAACY,GAAa1D,SAAUA,EAAUsD,MAAOnD,EAAWE,KAAME,SAI/E"}