@inf-monkeys-tech/monkeys 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/lib/contracts/declarative-control-http.d.ts +55903 -73794
  2. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control-http.js +703 -544
  4. package/lib/contracts/declarative-control-http.js.map +1 -1
  5. package/lib/contracts/declarative-control.d.ts +1623 -3
  6. package/lib/contracts/declarative-control.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.js +2107 -1136
  8. package/lib/contracts/declarative-control.js.map +1 -1
  9. package/lib/contracts/render.d.ts +591 -1
  10. package/lib/contracts/render.d.ts.map +1 -1
  11. package/lib/contracts/render.js +331 -134
  12. package/lib/contracts/render.js.map +1 -1
  13. package/lib/contracts/tenant.d.ts +3 -3
  14. package/lib/contracts/theme.d.ts +1 -1
  15. package/lib/contracts/workflow-definition.d.ts +1 -0
  16. package/lib/contracts/workflow-definition.d.ts.map +1 -1
  17. package/lib/contracts/workflow-definition.js +1 -1
  18. package/lib/contracts/workflow-definition.js.map +1 -1
  19. package/lib/esm/contracts/index.mjs +1873 -409
  20. package/lib/esm/contracts/index.mjs.map +1 -1
  21. package/lib/esm/index.mjs +3029 -672
  22. package/lib/esm/index.mjs.map +1 -1
  23. package/lib/esm/runtime/index.mjs +3017 -670
  24. package/lib/esm/runtime/index.mjs.map +1 -1
  25. package/lib/esm/schemas/index.mjs +1867 -412
  26. package/lib/esm/schemas/index.mjs.map +1 -1
  27. package/lib/json-schema/overlay-node.schema.json +602 -0
  28. package/lib/json-schema/page-runtime-bundle.schema.json +602 -0
  29. package/lib/json-schema/page.schema.json +5619 -11743
  30. package/lib/json-schema/render-node.schema.json +602 -0
  31. package/lib/json-schema/render-tree.schema.json +602 -0
  32. package/lib/json-schema/workflow-definition.schema.json +3 -0
  33. package/lib/runtime/declarative-control-compiler.d.ts +52 -27
  34. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  35. package/lib/runtime/declarative-control-compiler.js +858 -366
  36. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  37. package/lib/schemas/index.d.ts +787 -2335
  38. package/lib/schemas/index.d.ts.map +1 -1
  39. package/lib/schemas/index.js +100 -99
  40. package/lib/schemas/index.js.map +1 -1
  41. package/package.json +1 -1
@@ -525,6 +525,608 @@
525
525
  ],
526
526
  "additionalProperties": false
527
527
  },
528
+ "style": {
529
+ "type": "object",
530
+ "properties": {
531
+ "width": {
532
+ "anyOf": [
533
+ {
534
+ "type": "number"
535
+ },
536
+ {
537
+ "type": "string",
538
+ "minLength": 1,
539
+ "maxLength": 256
540
+ }
541
+ ]
542
+ },
543
+ "height": {
544
+ "anyOf": [
545
+ {
546
+ "type": "number"
547
+ },
548
+ {
549
+ "type": "string",
550
+ "minLength": 1,
551
+ "maxLength": 256
552
+ }
553
+ ]
554
+ },
555
+ "minWidth": {
556
+ "anyOf": [
557
+ {
558
+ "type": "number"
559
+ },
560
+ {
561
+ "type": "string",
562
+ "minLength": 1,
563
+ "maxLength": 256
564
+ }
565
+ ]
566
+ },
567
+ "maxWidth": {
568
+ "anyOf": [
569
+ {
570
+ "type": "number"
571
+ },
572
+ {
573
+ "type": "string",
574
+ "minLength": 1,
575
+ "maxLength": 256
576
+ }
577
+ ]
578
+ },
579
+ "minHeight": {
580
+ "anyOf": [
581
+ {
582
+ "type": "number"
583
+ },
584
+ {
585
+ "type": "string",
586
+ "minLength": 1,
587
+ "maxLength": 256
588
+ }
589
+ ]
590
+ },
591
+ "maxHeight": {
592
+ "anyOf": [
593
+ {
594
+ "type": "number"
595
+ },
596
+ {
597
+ "type": "string",
598
+ "minLength": 1,
599
+ "maxLength": 256
600
+ }
601
+ ]
602
+ },
603
+ "padding": {
604
+ "anyOf": [
605
+ {
606
+ "type": "number"
607
+ },
608
+ {
609
+ "type": "string",
610
+ "minLength": 1,
611
+ "maxLength": 256
612
+ }
613
+ ]
614
+ },
615
+ "paddingBlock": {
616
+ "anyOf": [
617
+ {
618
+ "type": "number"
619
+ },
620
+ {
621
+ "type": "string",
622
+ "minLength": 1,
623
+ "maxLength": 256
624
+ }
625
+ ]
626
+ },
627
+ "paddingInline": {
628
+ "anyOf": [
629
+ {
630
+ "type": "number"
631
+ },
632
+ {
633
+ "type": "string",
634
+ "minLength": 1,
635
+ "maxLength": 256
636
+ }
637
+ ]
638
+ },
639
+ "margin": {
640
+ "anyOf": [
641
+ {
642
+ "type": "number"
643
+ },
644
+ {
645
+ "type": "string",
646
+ "minLength": 1,
647
+ "maxLength": 256
648
+ }
649
+ ]
650
+ },
651
+ "marginBlockStart": {
652
+ "anyOf": [
653
+ {
654
+ "type": "number"
655
+ },
656
+ {
657
+ "type": "string",
658
+ "minLength": 1,
659
+ "maxLength": 256
660
+ }
661
+ ]
662
+ },
663
+ "marginBlockEnd": {
664
+ "anyOf": [
665
+ {
666
+ "type": "number"
667
+ },
668
+ {
669
+ "type": "string",
670
+ "minLength": 1,
671
+ "maxLength": 256
672
+ }
673
+ ]
674
+ },
675
+ "marginInlineStart": {
676
+ "anyOf": [
677
+ {
678
+ "type": "number"
679
+ },
680
+ {
681
+ "type": "string",
682
+ "minLength": 1,
683
+ "maxLength": 256
684
+ }
685
+ ]
686
+ },
687
+ "marginInlineEnd": {
688
+ "anyOf": [
689
+ {
690
+ "type": "number"
691
+ },
692
+ {
693
+ "type": "string",
694
+ "minLength": 1,
695
+ "maxLength": 256
696
+ }
697
+ ]
698
+ },
699
+ "display": {
700
+ "type": "string",
701
+ "enum": [
702
+ "none",
703
+ "block",
704
+ "inline",
705
+ "inline-block",
706
+ "flex",
707
+ "inline-flex",
708
+ "grid",
709
+ "contents"
710
+ ]
711
+ },
712
+ "gap": {
713
+ "anyOf": [
714
+ {
715
+ "type": "number"
716
+ },
717
+ {
718
+ "type": "string",
719
+ "minLength": 1,
720
+ "maxLength": 256
721
+ }
722
+ ]
723
+ },
724
+ "rowGap": {
725
+ "anyOf": [
726
+ {
727
+ "type": "number"
728
+ },
729
+ {
730
+ "type": "string",
731
+ "minLength": 1,
732
+ "maxLength": 256
733
+ }
734
+ ]
735
+ },
736
+ "columnGap": {
737
+ "anyOf": [
738
+ {
739
+ "type": "number"
740
+ },
741
+ {
742
+ "type": "string",
743
+ "minLength": 1,
744
+ "maxLength": 256
745
+ }
746
+ ]
747
+ },
748
+ "background": {
749
+ "anyOf": [
750
+ {
751
+ "type": "number"
752
+ },
753
+ {
754
+ "type": "string",
755
+ "minLength": 1,
756
+ "maxLength": 256
757
+ }
758
+ ]
759
+ },
760
+ "color": {
761
+ "anyOf": [
762
+ {
763
+ "type": "number"
764
+ },
765
+ {
766
+ "type": "string",
767
+ "minLength": 1,
768
+ "maxLength": 256
769
+ }
770
+ ]
771
+ },
772
+ "borderColor": {
773
+ "anyOf": [
774
+ {
775
+ "type": "number"
776
+ },
777
+ {
778
+ "type": "string",
779
+ "minLength": 1,
780
+ "maxLength": 256
781
+ }
782
+ ]
783
+ },
784
+ "borderWidth": {
785
+ "anyOf": [
786
+ {
787
+ "type": "number"
788
+ },
789
+ {
790
+ "type": "string",
791
+ "minLength": 1,
792
+ "maxLength": 256
793
+ }
794
+ ]
795
+ },
796
+ "borderStyle": {
797
+ "type": "string",
798
+ "enum": [
799
+ "none",
800
+ "solid",
801
+ "dashed",
802
+ "dotted"
803
+ ]
804
+ },
805
+ "borderRadius": {
806
+ "anyOf": [
807
+ {
808
+ "type": "number"
809
+ },
810
+ {
811
+ "type": "string",
812
+ "minLength": 1,
813
+ "maxLength": 256
814
+ }
815
+ ]
816
+ },
817
+ "boxShadow": {
818
+ "anyOf": [
819
+ {
820
+ "type": "number"
821
+ },
822
+ {
823
+ "type": "string",
824
+ "minLength": 1,
825
+ "maxLength": 256
826
+ }
827
+ ]
828
+ },
829
+ "fontSize": {
830
+ "anyOf": [
831
+ {
832
+ "type": "number"
833
+ },
834
+ {
835
+ "type": "string",
836
+ "minLength": 1,
837
+ "maxLength": 256
838
+ }
839
+ ]
840
+ },
841
+ "fontFamily": {
842
+ "anyOf": [
843
+ {
844
+ "type": "number"
845
+ },
846
+ {
847
+ "type": "string",
848
+ "minLength": 1,
849
+ "maxLength": 256
850
+ }
851
+ ]
852
+ },
853
+ "fontWeight": {
854
+ "anyOf": [
855
+ {
856
+ "type": "number"
857
+ },
858
+ {
859
+ "type": "string",
860
+ "minLength": 1,
861
+ "maxLength": 256
862
+ }
863
+ ]
864
+ },
865
+ "lineHeight": {
866
+ "anyOf": [
867
+ {
868
+ "type": "number"
869
+ },
870
+ {
871
+ "type": "string",
872
+ "minLength": 1,
873
+ "maxLength": 256
874
+ }
875
+ ]
876
+ },
877
+ "textAlign": {
878
+ "type": "string",
879
+ "enum": [
880
+ "start",
881
+ "center",
882
+ "end",
883
+ "left",
884
+ "right"
885
+ ]
886
+ },
887
+ "whiteSpace": {
888
+ "type": "string",
889
+ "enum": [
890
+ "normal",
891
+ "nowrap",
892
+ "pre",
893
+ "pre-wrap",
894
+ "pre-line",
895
+ "break-spaces"
896
+ ]
897
+ },
898
+ "overflow": {
899
+ "type": "string",
900
+ "enum": [
901
+ "visible",
902
+ "hidden",
903
+ "auto",
904
+ "scroll",
905
+ "clip"
906
+ ]
907
+ },
908
+ "overflowX": {
909
+ "type": "string",
910
+ "enum": [
911
+ "visible",
912
+ "hidden",
913
+ "auto",
914
+ "scroll",
915
+ "clip"
916
+ ]
917
+ },
918
+ "overflowY": {
919
+ "type": "string",
920
+ "enum": [
921
+ "visible",
922
+ "hidden",
923
+ "auto",
924
+ "scroll",
925
+ "clip"
926
+ ]
927
+ },
928
+ "position": {
929
+ "type": "string",
930
+ "enum": [
931
+ "static",
932
+ "relative",
933
+ "absolute",
934
+ "sticky",
935
+ "fixed"
936
+ ]
937
+ },
938
+ "inset": {
939
+ "anyOf": [
940
+ {
941
+ "type": "number"
942
+ },
943
+ {
944
+ "type": "string",
945
+ "minLength": 1,
946
+ "maxLength": 256
947
+ }
948
+ ]
949
+ },
950
+ "top": {
951
+ "anyOf": [
952
+ {
953
+ "type": "number"
954
+ },
955
+ {
956
+ "type": "string",
957
+ "minLength": 1,
958
+ "maxLength": 256
959
+ }
960
+ ]
961
+ },
962
+ "right": {
963
+ "anyOf": [
964
+ {
965
+ "type": "number"
966
+ },
967
+ {
968
+ "type": "string",
969
+ "minLength": 1,
970
+ "maxLength": 256
971
+ }
972
+ ]
973
+ },
974
+ "bottom": {
975
+ "anyOf": [
976
+ {
977
+ "type": "number"
978
+ },
979
+ {
980
+ "type": "string",
981
+ "minLength": 1,
982
+ "maxLength": 256
983
+ }
984
+ ]
985
+ },
986
+ "left": {
987
+ "anyOf": [
988
+ {
989
+ "type": "number"
990
+ },
991
+ {
992
+ "type": "string",
993
+ "minLength": 1,
994
+ "maxLength": 256
995
+ }
996
+ ]
997
+ },
998
+ "gridTemplateColumns": {
999
+ "anyOf": [
1000
+ {
1001
+ "type": "number"
1002
+ },
1003
+ {
1004
+ "type": "string",
1005
+ "minLength": 1,
1006
+ "maxLength": 256
1007
+ }
1008
+ ]
1009
+ },
1010
+ "gridColumn": {
1011
+ "anyOf": [
1012
+ {
1013
+ "type": "number"
1014
+ },
1015
+ {
1016
+ "type": "string",
1017
+ "minLength": 1,
1018
+ "maxLength": 256
1019
+ }
1020
+ ]
1021
+ },
1022
+ "gridRow": {
1023
+ "anyOf": [
1024
+ {
1025
+ "type": "number"
1026
+ },
1027
+ {
1028
+ "type": "string",
1029
+ "minLength": 1,
1030
+ "maxLength": 256
1031
+ }
1032
+ ]
1033
+ },
1034
+ "flex": {
1035
+ "anyOf": [
1036
+ {
1037
+ "type": "number"
1038
+ },
1039
+ {
1040
+ "type": "string",
1041
+ "minLength": 1,
1042
+ "maxLength": 256
1043
+ }
1044
+ ]
1045
+ },
1046
+ "flexDirection": {
1047
+ "type": "string",
1048
+ "enum": [
1049
+ "row",
1050
+ "row-reverse",
1051
+ "column",
1052
+ "column-reverse"
1053
+ ]
1054
+ },
1055
+ "flexWrap": {
1056
+ "type": "string",
1057
+ "enum": [
1058
+ "nowrap",
1059
+ "wrap",
1060
+ "wrap-reverse"
1061
+ ]
1062
+ },
1063
+ "alignItems": {
1064
+ "type": "string",
1065
+ "enum": [
1066
+ "start",
1067
+ "center",
1068
+ "end",
1069
+ "stretch",
1070
+ "baseline"
1071
+ ]
1072
+ },
1073
+ "justifyContent": {
1074
+ "type": "string",
1075
+ "enum": [
1076
+ "start",
1077
+ "center",
1078
+ "end",
1079
+ "space-between",
1080
+ "space-around",
1081
+ "space-evenly"
1082
+ ]
1083
+ },
1084
+ "flexGrow": {
1085
+ "type": "number",
1086
+ "minimum": 0
1087
+ },
1088
+ "flexShrink": {
1089
+ "type": "number",
1090
+ "minimum": 0
1091
+ },
1092
+ "alignSelf": {
1093
+ "type": "string",
1094
+ "enum": [
1095
+ "auto",
1096
+ "start",
1097
+ "center",
1098
+ "end",
1099
+ "stretch"
1100
+ ]
1101
+ },
1102
+ "justifySelf": {
1103
+ "type": "string",
1104
+ "enum": [
1105
+ "auto",
1106
+ "start",
1107
+ "center",
1108
+ "end",
1109
+ "stretch"
1110
+ ]
1111
+ },
1112
+ "objectFit": {
1113
+ "type": "string",
1114
+ "enum": [
1115
+ "contain",
1116
+ "cover",
1117
+ "fill",
1118
+ "none",
1119
+ "scale-down"
1120
+ ]
1121
+ },
1122
+ "opacity": {
1123
+ "type": "number",
1124
+ "minimum": 0,
1125
+ "maximum": 1
1126
+ }
1127
+ },
1128
+ "additionalProperties": false
1129
+ },
528
1130
  "responsive": {
529
1131
  "type": "array",
530
1132
  "items": {