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