yy-forms 1.0.37 → 1.0.39
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/index.esm.js +765 -1
- package/dist/index.js +765 -1
- package/package.json +1 -1
- package/src/components/Settings/ItemSettings.jsx +7 -1
- package/src/settings/index.js +832 -0
package/src/settings/index.js
CHANGED
|
@@ -573,6 +573,387 @@ export const elements = [
|
|
|
573
573
|
},
|
|
574
574
|
];
|
|
575
575
|
|
|
576
|
+
export const USelements = [
|
|
577
|
+
{
|
|
578
|
+
"text": "Input Field",
|
|
579
|
+
"name": "input",
|
|
580
|
+
"schema": {
|
|
581
|
+
"title": "Input Field",
|
|
582
|
+
"type": "string"
|
|
583
|
+
},
|
|
584
|
+
"setting": {
|
|
585
|
+
"props": {
|
|
586
|
+
"title": "Options",
|
|
587
|
+
"type": "object",
|
|
588
|
+
"labelWidth": 80,
|
|
589
|
+
"properties": {
|
|
590
|
+
"allowClear": {
|
|
591
|
+
"title": "Show Clear Button",
|
|
592
|
+
"description": "The 'X' icon appears only after content is entered",
|
|
593
|
+
"type": "boolean"
|
|
594
|
+
},
|
|
595
|
+
"addonBefore": {
|
|
596
|
+
"title": "Prefix Add-on",
|
|
597
|
+
"type": "string"
|
|
598
|
+
},
|
|
599
|
+
"addonAfter": {
|
|
600
|
+
"title": "Suffix Add-on",
|
|
601
|
+
"type": "string"
|
|
602
|
+
},
|
|
603
|
+
"prefix": {
|
|
604
|
+
"title": "Prefix",
|
|
605
|
+
"type": "string"
|
|
606
|
+
},
|
|
607
|
+
"suffix": {
|
|
608
|
+
"title": "Suffix",
|
|
609
|
+
"type": "string"
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"minLength": {
|
|
614
|
+
"title": "Minimum Characters",
|
|
615
|
+
"type": "number"
|
|
616
|
+
},
|
|
617
|
+
"maxLength": {
|
|
618
|
+
"title": "Maximum Characters",
|
|
619
|
+
"type": "number"
|
|
620
|
+
},
|
|
621
|
+
"pattern": {
|
|
622
|
+
"title": "Validation Pattern",
|
|
623
|
+
"type": "string",
|
|
624
|
+
"props": {
|
|
625
|
+
"placeholder": "Enter regular expression"
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"text": "Text Area",
|
|
632
|
+
"name": "textarea",
|
|
633
|
+
"schema": {
|
|
634
|
+
"title": "Text Area",
|
|
635
|
+
"type": "string",
|
|
636
|
+
"format": "textarea"
|
|
637
|
+
},
|
|
638
|
+
"setting": {
|
|
639
|
+
"props": {
|
|
640
|
+
"title": "Options",
|
|
641
|
+
"type": "object",
|
|
642
|
+
"labelWidth": 80,
|
|
643
|
+
"properties": {
|
|
644
|
+
"autoSize": {
|
|
645
|
+
"title": "Auto Resize",
|
|
646
|
+
"type": "boolean"
|
|
647
|
+
},
|
|
648
|
+
"rows": {
|
|
649
|
+
"title": "Fixed Rows",
|
|
650
|
+
"type": "number"
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"minLength": {
|
|
655
|
+
"title": "Minimum Characters",
|
|
656
|
+
"type": "number"
|
|
657
|
+
},
|
|
658
|
+
"maxLength": {
|
|
659
|
+
"title": "Maximum Characters",
|
|
660
|
+
"type": "number"
|
|
661
|
+
},
|
|
662
|
+
"pattern": {
|
|
663
|
+
"title": "Validation Pattern",
|
|
664
|
+
"type": "string",
|
|
665
|
+
"props": {
|
|
666
|
+
"placeholder": "Enter regular expression"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"text": "Date Picker",
|
|
673
|
+
"name": "date",
|
|
674
|
+
"schema": {
|
|
675
|
+
"title": "Date Picker",
|
|
676
|
+
"type": "string",
|
|
677
|
+
"format": "date"
|
|
678
|
+
},
|
|
679
|
+
"setting": {
|
|
680
|
+
"format": {
|
|
681
|
+
"title": "Format",
|
|
682
|
+
"type": "string",
|
|
683
|
+
"enum": ["dateTime", "date", "time"],
|
|
684
|
+
"enumNames": ["Date & Time", "Date", "Time"]
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"text": "Time Picker",
|
|
690
|
+
"name": "time",
|
|
691
|
+
"show": false,
|
|
692
|
+
"schema": {
|
|
693
|
+
"title": "Time Picker",
|
|
694
|
+
"type": "string",
|
|
695
|
+
"format": "time"
|
|
696
|
+
},
|
|
697
|
+
"setting": {
|
|
698
|
+
"format": {
|
|
699
|
+
"title": "Format",
|
|
700
|
+
"type": "string",
|
|
701
|
+
"enum": ["dateTime", "date", "time"],
|
|
702
|
+
"enumNames": ["Date & Time", "Date", "Time"]
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"text": "Number Input",
|
|
708
|
+
"name": "number",
|
|
709
|
+
"schema": {
|
|
710
|
+
"title": "Number Input",
|
|
711
|
+
"type": "number"
|
|
712
|
+
},
|
|
713
|
+
"setting": {
|
|
714
|
+
"default": {
|
|
715
|
+
"title": "Default Value",
|
|
716
|
+
"type": "number"
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"text": "Checkbox",
|
|
722
|
+
"name": "checkbox",
|
|
723
|
+
"schema": {
|
|
724
|
+
"title": "Checkbox",
|
|
725
|
+
"type": "boolean",
|
|
726
|
+
"widget": "checkbox"
|
|
727
|
+
},
|
|
728
|
+
"setting": {
|
|
729
|
+
"default": {
|
|
730
|
+
"title": "Checked by Default",
|
|
731
|
+
"type": "boolean"
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"text": "Switch",
|
|
737
|
+
"name": "switch",
|
|
738
|
+
"schema": {
|
|
739
|
+
"title": "Switch",
|
|
740
|
+
"type": "boolean",
|
|
741
|
+
"widget": "switch"
|
|
742
|
+
},
|
|
743
|
+
"setting": {
|
|
744
|
+
"default": {
|
|
745
|
+
"title": "On by Default",
|
|
746
|
+
"type": "boolean"
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"text": "Dropdown Select",
|
|
752
|
+
"name": "select",
|
|
753
|
+
"schema": {
|
|
754
|
+
"title": "Single Select",
|
|
755
|
+
"type": "string",
|
|
756
|
+
"enum": ["a", "b", "c"],
|
|
757
|
+
"enumNames": ["Morning", "Noon", "Evening"],
|
|
758
|
+
"widget": "select"
|
|
759
|
+
},
|
|
760
|
+
"setting": {
|
|
761
|
+
"enumList": {
|
|
762
|
+
"title": "Options",
|
|
763
|
+
"type": "array",
|
|
764
|
+
"widget": "simpleList",
|
|
765
|
+
"className": "frg-options-list",
|
|
766
|
+
"items": {
|
|
767
|
+
"type": "object",
|
|
768
|
+
"properties": {
|
|
769
|
+
"value": {
|
|
770
|
+
"title": "",
|
|
771
|
+
"type": "string",
|
|
772
|
+
"className": "frg-options-input",
|
|
773
|
+
"props": {},
|
|
774
|
+
"placeholder": "Value"
|
|
775
|
+
},
|
|
776
|
+
"label": {
|
|
777
|
+
"title": "",
|
|
778
|
+
"type": "string",
|
|
779
|
+
"className": "frg-options-input",
|
|
780
|
+
"props": {},
|
|
781
|
+
"placeholder": "Label"
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
"props": {
|
|
786
|
+
"hideMove": true,
|
|
787
|
+
"hideCopy": true
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"text": "Radio Buttons",
|
|
794
|
+
"name": "radio",
|
|
795
|
+
"schema": {
|
|
796
|
+
"title": "Radio Buttons",
|
|
797
|
+
"type": "string",
|
|
798
|
+
"enum": ["a", "b", "c"],
|
|
799
|
+
"enumNames": ["Morning", "Noon", "Evening"],
|
|
800
|
+
"widget": "radio"
|
|
801
|
+
},
|
|
802
|
+
"setting": {
|
|
803
|
+
"enumList": {
|
|
804
|
+
"title": "Options",
|
|
805
|
+
"type": "array",
|
|
806
|
+
"widget": "simpleList",
|
|
807
|
+
"className": "frg-options-list",
|
|
808
|
+
"items": {
|
|
809
|
+
"type": "object",
|
|
810
|
+
"properties": {
|
|
811
|
+
"value": {
|
|
812
|
+
"title": "",
|
|
813
|
+
"type": "string",
|
|
814
|
+
"className": "frg-options-input",
|
|
815
|
+
"props": {},
|
|
816
|
+
"placeholder": "Value"
|
|
817
|
+
},
|
|
818
|
+
"label": {
|
|
819
|
+
"title": "",
|
|
820
|
+
"type": "string",
|
|
821
|
+
"className": "frg-options-input",
|
|
822
|
+
"props": {},
|
|
823
|
+
"placeholder": "Label"
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
"props": {
|
|
828
|
+
"hideMove": true,
|
|
829
|
+
"hideCopy": true
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"text": "Multi-Select Dropdown",
|
|
836
|
+
"name": "multiSelect",
|
|
837
|
+
"schema": {
|
|
838
|
+
"title": "Multi-Select",
|
|
839
|
+
"description": "Dropdown multi-select",
|
|
840
|
+
"type": "array",
|
|
841
|
+
"items": {
|
|
842
|
+
"type": "string"
|
|
843
|
+
},
|
|
844
|
+
"enum": ["A", "B", "C", "D"],
|
|
845
|
+
"enumNames": ["Hangzhou", "Wuhan", "Huzhou", "Guiyang"],
|
|
846
|
+
"widget": "multiSelect"
|
|
847
|
+
},
|
|
848
|
+
"setting": {
|
|
849
|
+
"default": {
|
|
850
|
+
"title": "Default Value",
|
|
851
|
+
"type": "array",
|
|
852
|
+
"widget": "jsonInput"
|
|
853
|
+
},
|
|
854
|
+
"enumList": {
|
|
855
|
+
"title": "Options",
|
|
856
|
+
"type": "array",
|
|
857
|
+
"widget": "simpleList",
|
|
858
|
+
"className": "frg-options-list",
|
|
859
|
+
"items": {
|
|
860
|
+
"type": "object",
|
|
861
|
+
"properties": {
|
|
862
|
+
"value": {
|
|
863
|
+
"title": "",
|
|
864
|
+
"type": "string",
|
|
865
|
+
"className": "frg-options-input",
|
|
866
|
+
"props": {},
|
|
867
|
+
"placeholder": "Value"
|
|
868
|
+
},
|
|
869
|
+
"label": {
|
|
870
|
+
"title": "",
|
|
871
|
+
"type": "string",
|
|
872
|
+
"className": "frg-options-input",
|
|
873
|
+
"props": {},
|
|
874
|
+
"placeholder": "Label"
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"props": {
|
|
879
|
+
"hideMove": true,
|
|
880
|
+
"hideCopy": true
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"text": "Checkboxes",
|
|
887
|
+
"name": "checkboxes",
|
|
888
|
+
"schema": {
|
|
889
|
+
"title": "Checkboxes",
|
|
890
|
+
"type": "array",
|
|
891
|
+
"widget": "checkboxes",
|
|
892
|
+
"items": {
|
|
893
|
+
"type": "string"
|
|
894
|
+
},
|
|
895
|
+
"enum": ["A", "B", "C", "D"],
|
|
896
|
+
"enumNames": ["Hangzhou", "Wuhan", "Huzhou", "Guiyang"]
|
|
897
|
+
},
|
|
898
|
+
"setting": {
|
|
899
|
+
"default": {
|
|
900
|
+
"title": "Default Value",
|
|
901
|
+
"type": "array",
|
|
902
|
+
"widget": "jsonInput"
|
|
903
|
+
},
|
|
904
|
+
"enumList": {
|
|
905
|
+
"title": "Options",
|
|
906
|
+
"type": "array",
|
|
907
|
+
"widget": "simpleList",
|
|
908
|
+
"className": "frg-options-list",
|
|
909
|
+
"items": {
|
|
910
|
+
"type": "object",
|
|
911
|
+
"properties": {
|
|
912
|
+
"value": {
|
|
913
|
+
"title": "",
|
|
914
|
+
"type": "string",
|
|
915
|
+
"className": "frg-options-input",
|
|
916
|
+
"props": {},
|
|
917
|
+
"placeholder": "Value"
|
|
918
|
+
},
|
|
919
|
+
"label": {
|
|
920
|
+
"title": "",
|
|
921
|
+
"type": "string",
|
|
922
|
+
"className": "frg-options-input",
|
|
923
|
+
"props": {},
|
|
924
|
+
"placeholder": "Label"
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
"props": {
|
|
929
|
+
"hideMove": true,
|
|
930
|
+
"hideCopy": true
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"text": "HTML",
|
|
937
|
+
"name": "html",
|
|
938
|
+
"schema": {
|
|
939
|
+
"title": "HTML",
|
|
940
|
+
"type": "string",
|
|
941
|
+
"widget": "html"
|
|
942
|
+
},
|
|
943
|
+
"setting": {
|
|
944
|
+
"props": {
|
|
945
|
+
"type": "object",
|
|
946
|
+
"properties": {
|
|
947
|
+
"value": {
|
|
948
|
+
"title": "Display Content",
|
|
949
|
+
"type": "string"
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
]
|
|
956
|
+
|
|
576
957
|
export const advancedElements = [
|
|
577
958
|
{
|
|
578
959
|
text: '日期范围',
|
|
@@ -631,6 +1012,64 @@ export const advancedElements = [
|
|
|
631
1012
|
},
|
|
632
1013
|
];
|
|
633
1014
|
|
|
1015
|
+
export const USadvancedElements = [
|
|
1016
|
+
{
|
|
1017
|
+
"text": "Date Range Picker",
|
|
1018
|
+
"name": "dateRange",
|
|
1019
|
+
"schema": {
|
|
1020
|
+
"title": "Date Range",
|
|
1021
|
+
"type": "range",
|
|
1022
|
+
"format": "dateTime",
|
|
1023
|
+
"props": {
|
|
1024
|
+
"placeholder": ["Start Date", "End Date"]
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"setting": {
|
|
1028
|
+
"format": {
|
|
1029
|
+
"title": "Format",
|
|
1030
|
+
"type": "string",
|
|
1031
|
+
"enum": ["dateTime", "date"],
|
|
1032
|
+
"enumNames": ["DateTime", "Date"]
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"text": "Slider",
|
|
1038
|
+
"name": "slider",
|
|
1039
|
+
"schema": {
|
|
1040
|
+
"title": "Slider",
|
|
1041
|
+
"type": "number",
|
|
1042
|
+
"widget": "slider"
|
|
1043
|
+
},
|
|
1044
|
+
"setting": {
|
|
1045
|
+
"default": {
|
|
1046
|
+
"title": "Default",
|
|
1047
|
+
"type": "number"
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"text": "Image",
|
|
1053
|
+
"name": "image",
|
|
1054
|
+
"schema": {
|
|
1055
|
+
"title": "Image",
|
|
1056
|
+
"type": "string",
|
|
1057
|
+
"format": "image"
|
|
1058
|
+
},
|
|
1059
|
+
"setting": {}
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"text": "Color Selector",
|
|
1063
|
+
"name": "color",
|
|
1064
|
+
"schema": {
|
|
1065
|
+
"title": "Color Selector",
|
|
1066
|
+
"type": "string",
|
|
1067
|
+
"format": "color"
|
|
1068
|
+
},
|
|
1069
|
+
"setting": {}
|
|
1070
|
+
}
|
|
1071
|
+
]
|
|
1072
|
+
|
|
634
1073
|
export const layouts = [
|
|
635
1074
|
{
|
|
636
1075
|
text: '对象',
|
|
@@ -1040,6 +1479,399 @@ export const layouts = [
|
|
|
1040
1479
|
},
|
|
1041
1480
|
},
|
|
1042
1481
|
];
|
|
1482
|
+
export const USlayouts = [
|
|
1483
|
+
{
|
|
1484
|
+
"text": "Object",
|
|
1485
|
+
"name": "object",
|
|
1486
|
+
"schema": {
|
|
1487
|
+
"title": "Object",
|
|
1488
|
+
"type": "object",
|
|
1489
|
+
"properties": {}
|
|
1490
|
+
},
|
|
1491
|
+
"setting": {
|
|
1492
|
+
"theme": {
|
|
1493
|
+
"title": "Theme",
|
|
1494
|
+
"type": "string",
|
|
1495
|
+
"enum": [
|
|
1496
|
+
"collapse",
|
|
1497
|
+
"collapse:pure",
|
|
1498
|
+
"collapse:ghost",
|
|
1499
|
+
"card",
|
|
1500
|
+
"tile",
|
|
1501
|
+
"flex"
|
|
1502
|
+
],
|
|
1503
|
+
"enumNames": ["Default", "No Border", "Ghost", "Card", "Tile", "Flex"],
|
|
1504
|
+
"default": "collapse",
|
|
1505
|
+
"widget": "radio"
|
|
1506
|
+
},
|
|
1507
|
+
"props": {
|
|
1508
|
+
"title": "Flex Layout",
|
|
1509
|
+
"hidden": "{{'flex' !== formData.theme}}",
|
|
1510
|
+
"type": "object",
|
|
1511
|
+
"theme": "tile",
|
|
1512
|
+
"properties": {
|
|
1513
|
+
"style": {
|
|
1514
|
+
"title": "Layout Style",
|
|
1515
|
+
"type": "object",
|
|
1516
|
+
"theme": "flex",
|
|
1517
|
+
"props": {
|
|
1518
|
+
"style": {
|
|
1519
|
+
"flexDirection": "column"
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
"properties": {
|
|
1523
|
+
"height": {
|
|
1524
|
+
"title": "Height",
|
|
1525
|
+
"description": "height",
|
|
1526
|
+
"type": "string",
|
|
1527
|
+
"widget": "input"
|
|
1528
|
+
},
|
|
1529
|
+
"flexDirection": {
|
|
1530
|
+
"title": "Layout Direction",
|
|
1531
|
+
"description": "flex-direction",
|
|
1532
|
+
"type": "string",
|
|
1533
|
+
"enum": ["row", "row-reverse", "column", "column-reverse"],
|
|
1534
|
+
"enumNames": ["Horizontal", "Horizontal Reverse", "Vertical", "Vertical Reverse"],
|
|
1535
|
+
"widget": "select"
|
|
1536
|
+
},
|
|
1537
|
+
"flexWrap": {
|
|
1538
|
+
"title": "Wrap Mode",
|
|
1539
|
+
"description": "flex-wrap",
|
|
1540
|
+
"type": "string",
|
|
1541
|
+
"enum": ["wrap", "nowrap", "wrap-reverse"],
|
|
1542
|
+
"enumNames": ["Wrap", "No Wrap", "Wrap Reverse"],
|
|
1543
|
+
"widget": "select"
|
|
1544
|
+
},
|
|
1545
|
+
"justifyContent": {
|
|
1546
|
+
"title": "Justify Content",
|
|
1547
|
+
"description": "justify-content",
|
|
1548
|
+
"type": "string",
|
|
1549
|
+
"enum": [
|
|
1550
|
+
"flex-start",
|
|
1551
|
+
"flex-end",
|
|
1552
|
+
"center",
|
|
1553
|
+
"space-between",
|
|
1554
|
+
"space-around"
|
|
1555
|
+
],
|
|
1556
|
+
"enumNames": [
|
|
1557
|
+
"Start",
|
|
1558
|
+
"End",
|
|
1559
|
+
"Center",
|
|
1560
|
+
"Space Between",
|
|
1561
|
+
"Space Around"
|
|
1562
|
+
],
|
|
1563
|
+
"widget": "select"
|
|
1564
|
+
},
|
|
1565
|
+
"alignItems": {
|
|
1566
|
+
"title": "Align Items",
|
|
1567
|
+
"description": "align-items",
|
|
1568
|
+
"type": "string",
|
|
1569
|
+
"enum": [
|
|
1570
|
+
"flex-start",
|
|
1571
|
+
"flex-end",
|
|
1572
|
+
"center",
|
|
1573
|
+
"baseline",
|
|
1574
|
+
"stretch"
|
|
1575
|
+
],
|
|
1576
|
+
"enumNames": [
|
|
1577
|
+
"Start",
|
|
1578
|
+
"End",
|
|
1579
|
+
"Center",
|
|
1580
|
+
"Baseline",
|
|
1581
|
+
"Stretch"
|
|
1582
|
+
],
|
|
1583
|
+
"widget": "select"
|
|
1584
|
+
},
|
|
1585
|
+
"alignContent": {
|
|
1586
|
+
"title": "Align Content",
|
|
1587
|
+
"description": "align-content",
|
|
1588
|
+
"type": "string",
|
|
1589
|
+
"enum": [
|
|
1590
|
+
"flex-start",
|
|
1591
|
+
"flex-end",
|
|
1592
|
+
"center",
|
|
1593
|
+
"space-between",
|
|
1594
|
+
"space-around",
|
|
1595
|
+
"stretch"
|
|
1596
|
+
],
|
|
1597
|
+
"enumNames": [
|
|
1598
|
+
"Start",
|
|
1599
|
+
"End",
|
|
1600
|
+
"Center",
|
|
1601
|
+
"Space Between",
|
|
1602
|
+
"Space Around",
|
|
1603
|
+
"Stretch"
|
|
1604
|
+
],
|
|
1605
|
+
"widget": "select"
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
"style": {
|
|
1612
|
+
"title": "Element Style",
|
|
1613
|
+
"type": "object",
|
|
1614
|
+
"properties": {
|
|
1615
|
+
"background": {
|
|
1616
|
+
"title": "Background",
|
|
1617
|
+
"description": "background",
|
|
1618
|
+
"type": "string",
|
|
1619
|
+
"widget": "color"
|
|
1620
|
+
},
|
|
1621
|
+
"margin": {
|
|
1622
|
+
"title": "Margin",
|
|
1623
|
+
"description": "margin",
|
|
1624
|
+
"type": "string",
|
|
1625
|
+
"widget": "input"
|
|
1626
|
+
},
|
|
1627
|
+
"padding": {
|
|
1628
|
+
"title": "Padding",
|
|
1629
|
+
"description": "padding",
|
|
1630
|
+
"type": "string",
|
|
1631
|
+
"widget": "input"
|
|
1632
|
+
},
|
|
1633
|
+
"borderWidth": {
|
|
1634
|
+
"title": "Border Width",
|
|
1635
|
+
"description": "border-width",
|
|
1636
|
+
"type": "string",
|
|
1637
|
+
"widget": "input"
|
|
1638
|
+
},
|
|
1639
|
+
"borderStyle": {
|
|
1640
|
+
"title": "Border Style",
|
|
1641
|
+
"description": "border-style",
|
|
1642
|
+
"type": "string",
|
|
1643
|
+
"widget": "input"
|
|
1644
|
+
},
|
|
1645
|
+
"borderColor": {
|
|
1646
|
+
"title": "Border Color",
|
|
1647
|
+
"description": "border-color",
|
|
1648
|
+
"type": "string",
|
|
1649
|
+
"widget": "color"
|
|
1650
|
+
},
|
|
1651
|
+
"borderRadius": {
|
|
1652
|
+
"title": "Border Radius",
|
|
1653
|
+
"description": "border-radius",
|
|
1654
|
+
"type": "string",
|
|
1655
|
+
"widget": "input"
|
|
1656
|
+
},
|
|
1657
|
+
"flex": {
|
|
1658
|
+
"title": "Flex",
|
|
1659
|
+
"description": "flex",
|
|
1660
|
+
"type": "string",
|
|
1661
|
+
"widget": "input"
|
|
1662
|
+
},
|
|
1663
|
+
"order": {
|
|
1664
|
+
"title": "Order",
|
|
1665
|
+
"description": "order",
|
|
1666
|
+
"type": "string",
|
|
1667
|
+
"widget": "input"
|
|
1668
|
+
},
|
|
1669
|
+
"alignSelf": {
|
|
1670
|
+
"title": "Align Self",
|
|
1671
|
+
"description": "align-self",
|
|
1672
|
+
"type": "string",
|
|
1673
|
+
"widget": "input"
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"text": "Regular List",
|
|
1681
|
+
"name": "list",
|
|
1682
|
+
"schema": {
|
|
1683
|
+
"title": "Array",
|
|
1684
|
+
"type": "array",
|
|
1685
|
+
"items": {
|
|
1686
|
+
"type": "object",
|
|
1687
|
+
"properties": {}
|
|
1688
|
+
}
|
|
1689
|
+
},
|
|
1690
|
+
"setting": {
|
|
1691
|
+
"default": {
|
|
1692
|
+
"title": "Default Value",
|
|
1693
|
+
"type": "array",
|
|
1694
|
+
"widget": "jsonInput"
|
|
1695
|
+
},
|
|
1696
|
+
"items": {
|
|
1697
|
+
"type": "object",
|
|
1698
|
+
"hidden": "{{true}}"
|
|
1699
|
+
},
|
|
1700
|
+
"min": {
|
|
1701
|
+
"title": "Minimum Length",
|
|
1702
|
+
"type": "number"
|
|
1703
|
+
},
|
|
1704
|
+
"max": {
|
|
1705
|
+
"title": "Maximum Length",
|
|
1706
|
+
"type": "number"
|
|
1707
|
+
},
|
|
1708
|
+
"props": {
|
|
1709
|
+
"title": "Options",
|
|
1710
|
+
"type": "object",
|
|
1711
|
+
"properties": {
|
|
1712
|
+
"hideDelete": {
|
|
1713
|
+
"title": "Hide Delete Button",
|
|
1714
|
+
"type": "string"
|
|
1715
|
+
},
|
|
1716
|
+
"hideAdd": {
|
|
1717
|
+
"title": "Hide Add/Copy Button",
|
|
1718
|
+
"type": "string"
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"text": "Simple List",
|
|
1726
|
+
"name": "simpleList",
|
|
1727
|
+
"schema": {
|
|
1728
|
+
"title": "Array",
|
|
1729
|
+
"type": "array",
|
|
1730
|
+
"widget": "simpleList",
|
|
1731
|
+
"items": {
|
|
1732
|
+
"type": "object",
|
|
1733
|
+
"properties": {}
|
|
1734
|
+
}
|
|
1735
|
+
},
|
|
1736
|
+
"setting": {
|
|
1737
|
+
"default": {
|
|
1738
|
+
"title": "Default Value",
|
|
1739
|
+
"type": "array",
|
|
1740
|
+
"widget": "jsonInput"
|
|
1741
|
+
},
|
|
1742
|
+
"items": {
|
|
1743
|
+
"type": "object",
|
|
1744
|
+
"hidden": "{{true}}"
|
|
1745
|
+
},
|
|
1746
|
+
"min": {
|
|
1747
|
+
"title": "Minimum Length",
|
|
1748
|
+
"type": "number"
|
|
1749
|
+
},
|
|
1750
|
+
"max": {
|
|
1751
|
+
"title": "Maximum Length",
|
|
1752
|
+
"type": "number"
|
|
1753
|
+
},
|
|
1754
|
+
"props": {
|
|
1755
|
+
"title": "Options",
|
|
1756
|
+
"type": "object",
|
|
1757
|
+
"properties": {
|
|
1758
|
+
"hideTitle": {
|
|
1759
|
+
"title": "Hide Title",
|
|
1760
|
+
"type": "boolean"
|
|
1761
|
+
},
|
|
1762
|
+
"hideDelete": {
|
|
1763
|
+
"title": "Hide Delete Button",
|
|
1764
|
+
"type": "string"
|
|
1765
|
+
},
|
|
1766
|
+
"hideAdd": {
|
|
1767
|
+
"title": "Hide Add/Copy Button",
|
|
1768
|
+
"type": "string"
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"text": "Table List",
|
|
1776
|
+
"name": "list2",
|
|
1777
|
+
"schema": {
|
|
1778
|
+
"title": "Array",
|
|
1779
|
+
"type": "array",
|
|
1780
|
+
"widget": "list2",
|
|
1781
|
+
"items": {
|
|
1782
|
+
"type": "object",
|
|
1783
|
+
"properties": {}
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
"setting": {
|
|
1787
|
+
"default": {
|
|
1788
|
+
"title": "Default Value",
|
|
1789
|
+
"type": "array",
|
|
1790
|
+
"widget": "jsonInput"
|
|
1791
|
+
},
|
|
1792
|
+
"items": {
|
|
1793
|
+
"type": "object",
|
|
1794
|
+
"hidden": "{{true}}"
|
|
1795
|
+
},
|
|
1796
|
+
"min": {
|
|
1797
|
+
"title": "Minimum Length",
|
|
1798
|
+
"type": "number"
|
|
1799
|
+
},
|
|
1800
|
+
"max": {
|
|
1801
|
+
"title": "Maximum Length",
|
|
1802
|
+
"type": "number"
|
|
1803
|
+
},
|
|
1804
|
+
"props": {
|
|
1805
|
+
"title": "Options",
|
|
1806
|
+
"type": "object",
|
|
1807
|
+
"properties": {
|
|
1808
|
+
"hideDelete": {
|
|
1809
|
+
"title": "Hide Delete Button",
|
|
1810
|
+
"type": "string"
|
|
1811
|
+
},
|
|
1812
|
+
"hideAdd": {
|
|
1813
|
+
"title": "Hide Add/Copy Button",
|
|
1814
|
+
"type": "string"
|
|
1815
|
+
},
|
|
1816
|
+
"hideCopy": {
|
|
1817
|
+
"title": "Hide Copy Button",
|
|
1818
|
+
"type": "string"
|
|
1819
|
+
},
|
|
1820
|
+
"hideMove": {
|
|
1821
|
+
"title": "Hide Move Buttons",
|
|
1822
|
+
"type": "string"
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"text": "Complex Table List",
|
|
1830
|
+
"name": "drawerList",
|
|
1831
|
+
"schema": {
|
|
1832
|
+
"title": "Array",
|
|
1833
|
+
"type": "array",
|
|
1834
|
+
"widget": "drawerList",
|
|
1835
|
+
"items": {
|
|
1836
|
+
"type": "object",
|
|
1837
|
+
"properties": {}
|
|
1838
|
+
}
|
|
1839
|
+
},
|
|
1840
|
+
"setting": {
|
|
1841
|
+
"default": {
|
|
1842
|
+
"title": "Default Value",
|
|
1843
|
+
"type": "array",
|
|
1844
|
+
"widget": "jsonInput"
|
|
1845
|
+
},
|
|
1846
|
+
"items": {
|
|
1847
|
+
"type": "object",
|
|
1848
|
+
"hidden": "{{true}}"
|
|
1849
|
+
},
|
|
1850
|
+
"min": {
|
|
1851
|
+
"title": "Minimum Length",
|
|
1852
|
+
"type": "number"
|
|
1853
|
+
},
|
|
1854
|
+
"max": {
|
|
1855
|
+
"title": "Maximum Length",
|
|
1856
|
+
"type": "number"
|
|
1857
|
+
},
|
|
1858
|
+
"props": {
|
|
1859
|
+
"title": "Options",
|
|
1860
|
+
"type": "object",
|
|
1861
|
+
"properties": {
|
|
1862
|
+
"hideDelete": {
|
|
1863
|
+
"title": "Hide Delete Button",
|
|
1864
|
+
"type": "string"
|
|
1865
|
+
},
|
|
1866
|
+
"hideAdd": {
|
|
1867
|
+
"title": "Hide Add/Copy Button",
|
|
1868
|
+
"type": "string"
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
]
|
|
1043
1875
|
|
|
1044
1876
|
const saves = [
|
|
1045
1877
|
{
|