@asteby/metacore-genui 2.1.0 → 2.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.
@@ -80,14 +80,15 @@ export declare const GENUI_V2_SCHEMA: {
80
80
  };
81
81
  readonly id: {
82
82
  readonly type: "string";
83
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
83
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z][A-Za-z0-9_-]{0,63}$";
84
84
  readonly description: "Identificador único dentro del documento.";
85
+ readonly "x-no-proto": true;
85
86
  };
86
87
  readonly key: {
87
88
  readonly type: "string";
88
- readonly pattern: "^(?!(?:.*\\.)?(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_.]{0,63}$";
89
+ readonly pattern: "^(?=.{1,64}$)(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$";
89
90
  readonly "x-no-proto": true;
90
- readonly description: "Clave de campo, columna o entrada; ningún segmento separado por punto puede ser __proto__, constructor ni prototype.";
91
+ readonly description: "Clave de campo, columna o entrada: segmentos no vacíos [A-Za-z_][A-Za-z0-9_]* separados por punto (sin \"a..b\" ni \"a.\"); ningún segmento puede ser __proto__, constructor ni prototype.";
91
92
  };
92
93
  readonly bindingPath: {
93
94
  readonly type: "string";
@@ -113,7 +114,8 @@ export declare const GENUI_V2_SCHEMA: {
113
114
  readonly properties: {
114
115
  readonly $t: {
115
116
  readonly type: "string";
116
- readonly pattern: "^[A-Za-z0-9_.:-]{1,128}$";
117
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z0-9_.:-]{1,128}$";
118
+ readonly "x-no-proto": true;
117
119
  };
118
120
  readonly args: {
119
121
  readonly type: "object";
@@ -175,7 +177,8 @@ export declare const GENUI_V2_SCHEMA: {
175
177
  };
176
178
  readonly name: {
177
179
  readonly type: "string";
178
- readonly pattern: "^[A-Za-z_][A-Za-z0-9_]{0,63}$";
180
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]{0,63}$";
181
+ readonly "x-no-proto": true;
179
182
  };
180
183
  readonly predicate: {
181
184
  readonly type: "object";
@@ -300,7 +303,8 @@ export declare const GENUI_V2_SCHEMA: {
300
303
  readonly type: "object";
301
304
  readonly maxProperties: 24;
302
305
  readonly propertyNames: {
303
- readonly pattern: "^[A-Za-z_][A-Za-z0-9_.]{0,63}$";
306
+ readonly pattern: "^(?=.{1,64}$)(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$";
307
+ readonly "x-no-proto": true;
304
308
  };
305
309
  readonly additionalProperties: {
306
310
  readonly $ref: "#/$defs/value";
@@ -421,7 +425,8 @@ export declare const GENUI_V2_SCHEMA: {
421
425
  };
422
426
  readonly icon: {
423
427
  readonly type: "string";
424
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
428
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
429
+ readonly "x-no-proto": true;
425
430
  };
426
431
  readonly confirm: {
427
432
  readonly type: "object";
@@ -466,7 +471,8 @@ export declare const GENUI_V2_SCHEMA: {
466
471
  };
467
472
  readonly icon: {
468
473
  readonly type: "string";
469
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
474
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
475
+ readonly "x-no-proto": true;
470
476
  };
471
477
  readonly confirm: {
472
478
  readonly type: "object";
@@ -492,8 +498,9 @@ export declare const GENUI_V2_SCHEMA: {
492
498
  };
493
499
  readonly action: {
494
500
  readonly type: "string";
495
- readonly pattern: "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
501
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
496
502
  readonly description: "Acción del manifest <addon>.<Model>.<key>.";
503
+ readonly "x-no-proto": true;
497
504
  };
498
505
  readonly record: {
499
506
  readonly $ref: "#/$defs/value";
@@ -547,7 +554,8 @@ export declare const GENUI_V2_SCHEMA: {
547
554
  };
548
555
  readonly icon: {
549
556
  readonly type: "string";
550
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
557
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
558
+ readonly "x-no-proto": true;
551
559
  };
552
560
  readonly confirm: {
553
561
  readonly type: "object";
@@ -579,7 +587,8 @@ export declare const GENUI_V2_SCHEMA: {
579
587
  };
580
588
  readonly action: {
581
589
  readonly type: "string";
582
- readonly pattern: "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
590
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
591
+ readonly "x-no-proto": true;
583
592
  };
584
593
  };
585
594
  };
@@ -599,7 +608,8 @@ export declare const GENUI_V2_SCHEMA: {
599
608
  };
600
609
  readonly icon: {
601
610
  readonly type: "string";
602
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
611
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
612
+ readonly "x-no-proto": true;
603
613
  };
604
614
  readonly confirm: {
605
615
  readonly type: "object";
@@ -647,7 +657,8 @@ export declare const GENUI_V2_SCHEMA: {
647
657
  };
648
658
  readonly icon: {
649
659
  readonly type: "string";
650
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
660
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
661
+ readonly "x-no-proto": true;
651
662
  };
652
663
  readonly confirm: {
653
664
  readonly type: "object";
@@ -698,7 +709,8 @@ export declare const GENUI_V2_SCHEMA: {
698
709
  };
699
710
  readonly icon: {
700
711
  readonly type: "string";
701
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
712
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
713
+ readonly "x-no-proto": true;
702
714
  };
703
715
  readonly confirm: {
704
716
  readonly type: "object";
@@ -752,7 +764,8 @@ export declare const GENUI_V2_SCHEMA: {
752
764
  };
753
765
  readonly icon: {
754
766
  readonly type: "string";
755
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
767
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
768
+ readonly "x-no-proto": true;
756
769
  };
757
770
  readonly confirm: {
758
771
  readonly type: "object";
@@ -797,7 +810,8 @@ export declare const GENUI_V2_SCHEMA: {
797
810
  };
798
811
  readonly icon: {
799
812
  readonly type: "string";
800
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
813
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
814
+ readonly "x-no-proto": true;
801
815
  };
802
816
  readonly confirm: {
803
817
  readonly type: "object";
@@ -842,7 +856,8 @@ export declare const GENUI_V2_SCHEMA: {
842
856
  };
843
857
  readonly icon: {
844
858
  readonly type: "string";
845
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
859
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
860
+ readonly "x-no-proto": true;
846
861
  };
847
862
  readonly confirm: {
848
863
  readonly type: "object";
@@ -892,7 +907,8 @@ export declare const GENUI_V2_SCHEMA: {
892
907
  };
893
908
  readonly icon: {
894
909
  readonly type: "string";
895
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
910
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
911
+ readonly "x-no-proto": true;
896
912
  };
897
913
  readonly confirm: {
898
914
  readonly type: "object";
@@ -937,7 +953,8 @@ export declare const GENUI_V2_SCHEMA: {
937
953
  };
938
954
  readonly icon: {
939
955
  readonly type: "string";
940
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
956
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
957
+ readonly "x-no-proto": true;
941
958
  };
942
959
  readonly confirm: {
943
960
  readonly type: "object";
@@ -963,7 +980,8 @@ export declare const GENUI_V2_SCHEMA: {
963
980
  };
964
981
  readonly id: {
965
982
  readonly type: "string";
966
- readonly pattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
983
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
984
+ readonly "x-no-proto": true;
967
985
  };
968
986
  readonly params: {
969
987
  readonly type: "object";
@@ -1017,8 +1035,8 @@ export declare const GENUI_V2_SCHEMA: {
1017
1035
  readonly maxLength: 160;
1018
1036
  };
1019
1037
  readonly depends_on: {
1020
- readonly type: "string";
1021
- readonly maxLength: 64;
1038
+ readonly $ref: "#/$defs/key";
1039
+ readonly description: "Clave de otro campo del mismo formulario.";
1022
1040
  };
1023
1041
  readonly visible_when: {
1024
1042
  readonly type: "object";
@@ -1077,7 +1095,8 @@ export declare const GENUI_V2_SCHEMA: {
1077
1095
  };
1078
1096
  readonly widget: {
1079
1097
  readonly type: "string";
1080
- readonly pattern: "^[a-z][a-z0-9_]{0,31}$";
1098
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,31}$";
1099
+ readonly "x-no-proto": true;
1081
1100
  };
1082
1101
  readonly section: {
1083
1102
  readonly type: "string";
@@ -1111,7 +1130,8 @@ export declare const GENUI_V2_SCHEMA: {
1111
1130
  };
1112
1131
  readonly widget: {
1113
1132
  readonly type: "string";
1114
- readonly pattern: "^[a-z][a-z0-9_]*\\.dashboard\\.[a-z][a-z0-9_]*$";
1133
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*\\.dashboard\\.[a-z][a-z0-9_]*$";
1134
+ readonly "x-no-proto": true;
1115
1135
  };
1116
1136
  readonly inline: {
1117
1137
  readonly type: "array";
@@ -1465,7 +1485,8 @@ export declare const GENUI_V2_SCHEMA: {
1465
1485
  };
1466
1486
  readonly icon: {
1467
1487
  readonly type: "string";
1468
- readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
1488
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
1489
+ readonly "x-no-proto": true;
1469
1490
  };
1470
1491
  readonly actions: {
1471
1492
  readonly $ref: "#/$defs/actions";
@@ -2157,7 +2178,8 @@ export declare const GENUI_V2_SCHEMA: {
2157
2178
  readonly properties: {
2158
2179
  readonly id: {
2159
2180
  readonly type: "string";
2160
- readonly pattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
2181
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
2182
+ readonly "x-no-proto": true;
2161
2183
  };
2162
2184
  readonly label: {
2163
2185
  readonly type: "string";
@@ -2211,7 +2233,8 @@ export declare const GENUI_V2_SCHEMA: {
2211
2233
  };
2212
2234
  readonly addon: {
2213
2235
  readonly type: "string";
2214
- readonly pattern: "^[a-z][a-z0-9_]{0,63}$";
2236
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}$";
2237
+ readonly "x-no-proto": true;
2215
2238
  };
2216
2239
  readonly keys: {
2217
2240
  readonly type: "array";
@@ -2250,7 +2273,7 @@ export declare const GENUI_V2_SCHEMA: {
2250
2273
  readonly src: {
2251
2274
  readonly type: "string";
2252
2275
  readonly maxLength: 2048;
2253
- readonly pattern: "^(asset:[A-Za-z0-9_-]{1,64}|/[^/\\\\\\s][^\\\\\\s]*)$";
2276
+ readonly pattern: "^(asset:(?!(?:__proto__|constructor|prototype)$)[A-Za-z0-9_-]{1,64}|/[^/\\\\\\s][^\\\\\\s]*)$";
2254
2277
  };
2255
2278
  readonly alt: {
2256
2279
  readonly type: "string";
@@ -2291,7 +2314,8 @@ export declare const GENUI_V2_SCHEMA: {
2291
2314
  };
2292
2315
  readonly name: {
2293
2316
  readonly type: "string";
2294
- readonly pattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
2317
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
2318
+ readonly "x-no-proto": true;
2295
2319
  };
2296
2320
  readonly record: {
2297
2321
  readonly $ref: "#/$defs/value";
@@ -2318,7 +2342,8 @@ export declare const GENUI_V2_SCHEMA: {
2318
2342
  };
2319
2343
  readonly ext: {
2320
2344
  readonly type: "string";
2321
- readonly pattern: "^[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$";
2345
+ readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$";
2346
+ readonly "x-no-proto": true;
2322
2347
  };
2323
2348
  readonly props: {
2324
2349
  readonly type: "object";
@@ -1 +1 @@
1
- {"version":3,"file":"genui-v2-schema.d.ts","sourceRoot":"","sources":["../../src/generated/genui-v2-schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6sFlB,CAAA;AAEV,gFAAgF;AAChF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAC,CA8ZnI,CAAA"}
@@ -129,14 +129,15 @@ export const GENUI_V2_SCHEMA = {
129
129
  },
130
130
  "id": {
131
131
  "type": "string",
132
- "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
133
- "description": "Identificador único dentro del documento."
132
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z][A-Za-z0-9_-]{0,63}$",
133
+ "description": "Identificador único dentro del documento.",
134
+ "x-no-proto": true
134
135
  },
135
136
  "key": {
136
137
  "type": "string",
137
- "pattern": "^(?!(?:.*\\.)?(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_.]{0,63}$",
138
+ "pattern": "^(?=.{1,64}$)(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$",
138
139
  "x-no-proto": true,
139
- "description": "Clave de campo, columna o entrada; ningún segmento separado por punto puede ser __proto__, constructor ni prototype."
140
+ "description": "Clave de campo, columna o entrada: segmentos no vacíos [A-Za-z_][A-Za-z0-9_]* separados por punto (sin \"a..b\" ni \"a.\"); ningún segmento puede ser __proto__, constructor ni prototype."
140
141
  },
141
142
  "bindingPath": {
142
143
  "type": "string",
@@ -166,7 +167,8 @@ export const GENUI_V2_SCHEMA = {
166
167
  "properties": {
167
168
  "$t": {
168
169
  "type": "string",
169
- "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
170
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z0-9_.:-]{1,128}$",
171
+ "x-no-proto": true
170
172
  },
171
173
  "args": {
172
174
  "type": "object",
@@ -246,7 +248,8 @@ export const GENUI_V2_SCHEMA = {
246
248
  },
247
249
  "name": {
248
250
  "type": "string",
249
- "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
251
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]{0,63}$",
252
+ "x-no-proto": true
250
253
  },
251
254
  "predicate": {
252
255
  "type": "object",
@@ -390,7 +393,8 @@ export const GENUI_V2_SCHEMA = {
390
393
  "type": "object",
391
394
  "maxProperties": 24,
392
395
  "propertyNames": {
393
- "pattern": "^[A-Za-z_][A-Za-z0-9_.]{0,63}$"
396
+ "pattern": "^(?=.{1,64}$)(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$",
397
+ "x-no-proto": true
394
398
  },
395
399
  "additionalProperties": {
396
400
  "$ref": "#/$defs/value"
@@ -536,7 +540,8 @@ export const GENUI_V2_SCHEMA = {
536
540
  },
537
541
  "icon": {
538
542
  "type": "string",
539
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
543
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
544
+ "x-no-proto": true
540
545
  },
541
546
  "confirm": {
542
547
  "type": "object",
@@ -589,7 +594,8 @@ export const GENUI_V2_SCHEMA = {
589
594
  },
590
595
  "icon": {
591
596
  "type": "string",
592
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
597
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
598
+ "x-no-proto": true
593
599
  },
594
600
  "confirm": {
595
601
  "type": "object",
@@ -615,8 +621,9 @@ export const GENUI_V2_SCHEMA = {
615
621
  },
616
622
  "action": {
617
623
  "type": "string",
618
- "pattern": "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$",
619
- "description": "Acción del manifest <addon>.<Model>.<key>."
624
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$",
625
+ "description": "Acción del manifest <addon>.<Model>.<key>.",
626
+ "x-no-proto": true
620
627
  },
621
628
  "record": {
622
629
  "$ref": "#/$defs/value"
@@ -685,7 +692,8 @@ export const GENUI_V2_SCHEMA = {
685
692
  },
686
693
  "icon": {
687
694
  "type": "string",
688
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
695
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
696
+ "x-no-proto": true
689
697
  },
690
698
  "confirm": {
691
699
  "type": "object",
@@ -717,7 +725,8 @@ export const GENUI_V2_SCHEMA = {
717
725
  },
718
726
  "action": {
719
727
  "type": "string",
720
- "pattern": "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$"
728
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$",
729
+ "x-no-proto": true
721
730
  }
722
731
  }
723
732
  },
@@ -746,7 +755,8 @@ export const GENUI_V2_SCHEMA = {
746
755
  },
747
756
  "icon": {
748
757
  "type": "string",
749
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
758
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
759
+ "x-no-proto": true
750
760
  },
751
761
  "confirm": {
752
762
  "type": "object",
@@ -804,7 +814,8 @@ export const GENUI_V2_SCHEMA = {
804
814
  },
805
815
  "icon": {
806
816
  "type": "string",
807
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
817
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
818
+ "x-no-proto": true
808
819
  },
809
820
  "confirm": {
810
821
  "type": "object",
@@ -866,7 +877,8 @@ export const GENUI_V2_SCHEMA = {
866
877
  },
867
878
  "icon": {
868
879
  "type": "string",
869
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
880
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
881
+ "x-no-proto": true
870
882
  },
871
883
  "confirm": {
872
884
  "type": "object",
@@ -928,7 +940,8 @@ export const GENUI_V2_SCHEMA = {
928
940
  },
929
941
  "icon": {
930
942
  "type": "string",
931
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
943
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
944
+ "x-no-proto": true
932
945
  },
933
946
  "confirm": {
934
947
  "type": "object",
@@ -980,7 +993,8 @@ export const GENUI_V2_SCHEMA = {
980
993
  },
981
994
  "icon": {
982
995
  "type": "string",
983
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
996
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
997
+ "x-no-proto": true
984
998
  },
985
999
  "confirm": {
986
1000
  "type": "object",
@@ -1034,7 +1048,8 @@ export const GENUI_V2_SCHEMA = {
1034
1048
  },
1035
1049
  "icon": {
1036
1050
  "type": "string",
1037
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
1051
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
1052
+ "x-no-proto": true
1038
1053
  },
1039
1054
  "confirm": {
1040
1055
  "type": "object",
@@ -1092,7 +1107,8 @@ export const GENUI_V2_SCHEMA = {
1092
1107
  },
1093
1108
  "icon": {
1094
1109
  "type": "string",
1095
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
1110
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
1111
+ "x-no-proto": true
1096
1112
  },
1097
1113
  "confirm": {
1098
1114
  "type": "object",
@@ -1145,7 +1161,8 @@ export const GENUI_V2_SCHEMA = {
1145
1161
  },
1146
1162
  "icon": {
1147
1163
  "type": "string",
1148
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
1164
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
1165
+ "x-no-proto": true
1149
1166
  },
1150
1167
  "confirm": {
1151
1168
  "type": "object",
@@ -1171,7 +1188,8 @@ export const GENUI_V2_SCHEMA = {
1171
1188
  },
1172
1189
  "id": {
1173
1190
  "type": "string",
1174
- "pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$"
1191
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$",
1192
+ "x-no-proto": true
1175
1193
  },
1176
1194
  "params": {
1177
1195
  "type": "object",
@@ -1229,8 +1247,8 @@ export const GENUI_V2_SCHEMA = {
1229
1247
  "maxLength": 160
1230
1248
  },
1231
1249
  "depends_on": {
1232
- "type": "string",
1233
- "maxLength": 64
1250
+ "$ref": "#/$defs/key",
1251
+ "description": "Clave de otro campo del mismo formulario."
1234
1252
  },
1235
1253
  "visible_when": {
1236
1254
  "type": "object",
@@ -1289,7 +1307,8 @@ export const GENUI_V2_SCHEMA = {
1289
1307
  },
1290
1308
  "widget": {
1291
1309
  "type": "string",
1292
- "pattern": "^[a-z][a-z0-9_]{0,31}$"
1310
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,31}$",
1311
+ "x-no-proto": true
1293
1312
  },
1294
1313
  "section": {
1295
1314
  "type": "string",
@@ -1327,7 +1346,8 @@ export const GENUI_V2_SCHEMA = {
1327
1346
  },
1328
1347
  "widget": {
1329
1348
  "type": "string",
1330
- "pattern": "^[a-z][a-z0-9_]*\\.dashboard\\.[a-z][a-z0-9_]*$"
1349
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*\\.dashboard\\.[a-z][a-z0-9_]*$",
1350
+ "x-no-proto": true
1331
1351
  },
1332
1352
  "inline": {
1333
1353
  "type": "array",
@@ -1745,7 +1765,8 @@ export const GENUI_V2_SCHEMA = {
1745
1765
  },
1746
1766
  "icon": {
1747
1767
  "type": "string",
1748
- "pattern": "^[a-z][a-z0-9-]{0,63}$"
1768
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$",
1769
+ "x-no-proto": true
1749
1770
  },
1750
1771
  "actions": {
1751
1772
  "$ref": "#/$defs/actions"
@@ -2528,7 +2549,8 @@ export const GENUI_V2_SCHEMA = {
2528
2549
  "properties": {
2529
2550
  "id": {
2530
2551
  "type": "string",
2531
- "pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$"
2552
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$",
2553
+ "x-no-proto": true
2532
2554
  },
2533
2555
  "label": {
2534
2556
  "type": "string",
@@ -2591,7 +2613,8 @@ export const GENUI_V2_SCHEMA = {
2591
2613
  },
2592
2614
  "addon": {
2593
2615
  "type": "string",
2594
- "pattern": "^[a-z][a-z0-9_]{0,63}$"
2616
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}$",
2617
+ "x-no-proto": true
2595
2618
  },
2596
2619
  "keys": {
2597
2620
  "type": "array",
@@ -2639,7 +2662,7 @@ export const GENUI_V2_SCHEMA = {
2639
2662
  "src": {
2640
2663
  "type": "string",
2641
2664
  "maxLength": 2048,
2642
- "pattern": "^(asset:[A-Za-z0-9_-]{1,64}|/[^/\\\\\\s][^\\\\\\s]*)$"
2665
+ "pattern": "^(asset:(?!(?:__proto__|constructor|prototype)$)[A-Za-z0-9_-]{1,64}|/[^/\\\\\\s][^\\\\\\s]*)$"
2643
2666
  },
2644
2667
  "alt": {
2645
2668
  "type": "string",
@@ -2683,7 +2706,8 @@ export const GENUI_V2_SCHEMA = {
2683
2706
  },
2684
2707
  "name": {
2685
2708
  "type": "string",
2686
- "pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$"
2709
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$",
2710
+ "x-no-proto": true
2687
2711
  },
2688
2712
  "record": {
2689
2713
  "$ref": "#/$defs/value"
@@ -2713,7 +2737,8 @@ export const GENUI_V2_SCHEMA = {
2713
2737
  },
2714
2738
  "ext": {
2715
2739
  "type": "string",
2716
- "pattern": "^[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$"
2740
+ "pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$",
2741
+ "x-no-proto": true
2717
2742
  },
2718
2743
  "props": {
2719
2744
  "type": "object",