@asteby/metacore-genui 2.3.0 → 2.5.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.
- package/README.md +20 -0
- package/dist/generated/genui-v2-schema.d.ts +316 -21
- package/dist/generated/genui-v2-schema.d.ts.map +1 -1
- package/dist/generated/genui-v2-schema.js +441 -37
- package/dist/generated/genui-v2-schema.js.map +1 -1
- package/dist/generated/genui-v2.d.ts +383 -50
- package/dist/generated/genui-v2.d.ts.map +1 -1
- package/dist/icons.d.ts +21 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/icons.js +43 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/map-points.d.ts +10 -0
- package/dist/map-points.d.ts.map +1 -1
- package/dist/map-points.js +15 -2
- package/dist/map-points.js.map +1 -1
- package/dist/page/blocks.d.ts +45 -15
- package/dist/page/blocks.d.ts.map +1 -1
- package/dist/page/blocks.js +64 -5
- package/dist/page/blocks.js.map +1 -1
- package/dist/page/index.d.ts +1 -1
- package/dist/page/index.d.ts.map +1 -1
- package/dist/page/index.js.map +1 -1
- package/dist/registry.d.ts +3 -0
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +1 -1
- package/dist/registry.js.map +1 -1
- package/dist/validate-v2.d.ts.map +1 -1
- package/dist/validate-v2.js +79 -2
- package/dist/validate-v2.js.map +1 -1
- package/package.json +1 -1
- package/schema/genui-v2.schema.json +366 -31
package/README.md
CHANGED
|
@@ -131,3 +131,23 @@ define the custom block contract (`block@1`: props, reads, writes, events);
|
|
|
131
131
|
federation/iframe loading is NOT implemented, an unregistered component renders
|
|
132
132
|
a stub. These page-level keys are proposals and are not yet in the shared
|
|
133
133
|
genui/v2 JSON Schema; core blocks still go through `parseGenUI`.
|
|
134
|
+
|
|
135
|
+
### Icons by name (`resolveIcon`)
|
|
136
|
+
|
|
137
|
+
Option icons of the view switcher (`tabs[].icon`) are resolved by one hook,
|
|
138
|
+
`usePageIcon`. Order: the host's `resolveIcon` (on `GenUIProvider`), then the
|
|
139
|
+
built-in set (`map`, `cards`, `table`, `dashboard`, `list`, `calendar`, `chart`),
|
|
140
|
+
then a neutral icon. It never throws: a resolver that fails is ignored and an
|
|
141
|
+
invalid name (not `^[A-Za-z][A-Za-z0-9]{0,63}$`) paints no icon. The component
|
|
142
|
+
only receives `className`, so it inherits the theme through `currentColor`.
|
|
143
|
+
|
|
144
|
+
```tsx
|
|
145
|
+
<GenUIProvider resolveIcon={(name) => (lucide as any)[name] ?? null}>
|
|
146
|
+
<PageView ui={ui} can={can} />
|
|
147
|
+
</GenUIProvider>
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
See `examples/fleet-switcher-icons.tsx`. Kernel follow-up: the shared schema
|
|
151
|
+
still restricts `tabs[].icon` to the closed enum; it must also accept the
|
|
152
|
+
pattern `^[A-Za-z][A-Za-z0-9]{0,63}$` for host icon names to pass `parseGenUI`.
|
|
153
|
+
The SDK already works with both.
|
|
@@ -356,6 +356,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
356
356
|
readonly format: {
|
|
357
357
|
readonly $ref: "#/$defs/statFormat";
|
|
358
358
|
};
|
|
359
|
+
readonly action: {
|
|
360
|
+
readonly $ref: "#/$defs/action";
|
|
361
|
+
};
|
|
359
362
|
};
|
|
360
363
|
};
|
|
361
364
|
readonly route: {
|
|
@@ -1148,6 +1151,65 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1148
1151
|
readonly pattern: "^data\\.[A-Za-z_][A-Za-z0-9_]{0,63}$";
|
|
1149
1152
|
readonly description: "Referencia a data.<nombre>.";
|
|
1150
1153
|
};
|
|
1154
|
+
readonly area: {
|
|
1155
|
+
readonly type: "string";
|
|
1156
|
+
readonly pattern: "^[a-z][a-z0-9_]{0,31}$";
|
|
1157
|
+
readonly description: "Nombre de región de un grid con `areas` (page@1).";
|
|
1158
|
+
};
|
|
1159
|
+
readonly areaRow: {
|
|
1160
|
+
readonly type: "string";
|
|
1161
|
+
readonly maxLength: 400;
|
|
1162
|
+
readonly pattern: "^(\\.|[a-z][a-z0-9_]{0,31})( (\\.|[a-z][a-z0-9_]{0,31})){0,11}$";
|
|
1163
|
+
readonly description: "Fila de la plantilla de `grid.areas`: nombres de región o `.` (celda vacía) separados por un espacio.";
|
|
1164
|
+
};
|
|
1165
|
+
readonly gridTrack: {
|
|
1166
|
+
readonly type: "string";
|
|
1167
|
+
readonly maxLength: 64;
|
|
1168
|
+
readonly pattern: "^(auto|[0-9]+(\\.[0-9]+)?fr|[0-9]{1,4}px|minmax\\( *[0-9]{1,4}px *, *([0-9]+(\\.[0-9]+)?fr|[0-9]{1,4}px) *\\))$";
|
|
1169
|
+
readonly description: "Pista de `grid.columns`/`grid.rows`: auto, Nfr, Npx o minmax(Npx, Nfr|Npx). Sin CSS libre.";
|
|
1170
|
+
};
|
|
1171
|
+
readonly statePath: {
|
|
1172
|
+
readonly type: "string";
|
|
1173
|
+
readonly pattern: "^(?!(?:.*\\.)?(?:__proto__|constructor|prototype)(?:\\.|$))state(\\.[A-Za-z_][A-Za-z0-9_]{0,63}|\\.[0-9]{1,3}){1,6}$";
|
|
1174
|
+
readonly "x-no-proto": true;
|
|
1175
|
+
readonly description: "Ruta de escritura en el estado de la página: raíz state.";
|
|
1176
|
+
};
|
|
1177
|
+
readonly permissionKey: {
|
|
1178
|
+
readonly type: "string";
|
|
1179
|
+
readonly maxLength: 128;
|
|
1180
|
+
readonly pattern: "^[a-z][a-z0-9_]*(?:\\.[a-z][a-z0-9_:]*)+$";
|
|
1181
|
+
readonly description: "Clave de permiso del manifiesto (<addon>.<recurso>.<acción>).";
|
|
1182
|
+
};
|
|
1183
|
+
readonly chrome: {
|
|
1184
|
+
readonly enum: readonly ["card", "bare"];
|
|
1185
|
+
readonly description: "Marco de una sección/vista: card (el host pinta marco y estados) o bare.";
|
|
1186
|
+
};
|
|
1187
|
+
readonly tabIcon: {
|
|
1188
|
+
readonly enum: readonly ["map", "cards", "table", "dashboard", "list", "calendar", "chart"];
|
|
1189
|
+
readonly description: "Icono de una opción de tabs: conjunto cerrado.";
|
|
1190
|
+
};
|
|
1191
|
+
readonly extName: {
|
|
1192
|
+
readonly type: "string";
|
|
1193
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$";
|
|
1194
|
+
readonly "x-no-proto": true;
|
|
1195
|
+
readonly description: "Bloque custom registrado: <addon>.<nombre>@<mayor>.";
|
|
1196
|
+
};
|
|
1197
|
+
readonly extProps: {
|
|
1198
|
+
readonly type: "object";
|
|
1199
|
+
readonly maxProperties: 16;
|
|
1200
|
+
readonly additionalProperties: {
|
|
1201
|
+
readonly anyOf: readonly [{
|
|
1202
|
+
readonly $ref: "#/$defs/scalar";
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly type: "array";
|
|
1205
|
+
readonly items: {
|
|
1206
|
+
readonly type: readonly ["string", "number", "boolean"];
|
|
1207
|
+
};
|
|
1208
|
+
readonly maxItems: 50;
|
|
1209
|
+
}];
|
|
1210
|
+
};
|
|
1211
|
+
readonly description: "Props escalares de un bloque custom; sin objetos libres.";
|
|
1212
|
+
};
|
|
1151
1213
|
readonly overlay: {
|
|
1152
1214
|
readonly type: "object";
|
|
1153
1215
|
readonly additionalProperties: false;
|
|
@@ -1194,6 +1256,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1194
1256
|
readonly $ref: "#/$defs/block_list";
|
|
1195
1257
|
}, {
|
|
1196
1258
|
readonly $ref: "#/$defs/block_kpi";
|
|
1259
|
+
}, {
|
|
1260
|
+
readonly $ref: "#/$defs/block_kpi_card";
|
|
1197
1261
|
}, {
|
|
1198
1262
|
readonly $ref: "#/$defs/block_stats";
|
|
1199
1263
|
}, {
|
|
@@ -1248,6 +1312,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1248
1312
|
readonly type: "string";
|
|
1249
1313
|
readonly maxLength: 2000;
|
|
1250
1314
|
};
|
|
1315
|
+
readonly area: {
|
|
1316
|
+
readonly $ref: "#/$defs/area";
|
|
1317
|
+
};
|
|
1251
1318
|
readonly direction: {
|
|
1252
1319
|
readonly enum: readonly ["vertical", "horizontal"];
|
|
1253
1320
|
};
|
|
@@ -1282,10 +1349,50 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1282
1349
|
readonly type: "string";
|
|
1283
1350
|
readonly maxLength: 2000;
|
|
1284
1351
|
};
|
|
1352
|
+
readonly area: {
|
|
1353
|
+
readonly $ref: "#/$defs/area";
|
|
1354
|
+
};
|
|
1285
1355
|
readonly columns: {
|
|
1286
|
-
readonly
|
|
1287
|
-
|
|
1288
|
-
|
|
1356
|
+
readonly anyOf: readonly [{
|
|
1357
|
+
readonly type: "integer";
|
|
1358
|
+
readonly minimum: 1;
|
|
1359
|
+
readonly maximum: 4;
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly type: "array";
|
|
1362
|
+
readonly items: {
|
|
1363
|
+
readonly $ref: "#/$defs/gridTrack";
|
|
1364
|
+
};
|
|
1365
|
+
readonly maxItems: 12;
|
|
1366
|
+
readonly minItems: 1;
|
|
1367
|
+
}];
|
|
1368
|
+
readonly description: "Número de columnas (1-4) o, con `areas`, una pista por columna.";
|
|
1369
|
+
};
|
|
1370
|
+
readonly rows: {
|
|
1371
|
+
readonly type: "array";
|
|
1372
|
+
readonly items: {
|
|
1373
|
+
readonly $ref: "#/$defs/gridTrack";
|
|
1374
|
+
};
|
|
1375
|
+
readonly maxItems: 24;
|
|
1376
|
+
readonly minItems: 1;
|
|
1377
|
+
readonly description: "Pistas de fila (solo con `areas`).";
|
|
1378
|
+
};
|
|
1379
|
+
readonly areas: {
|
|
1380
|
+
readonly type: "array";
|
|
1381
|
+
readonly items: {
|
|
1382
|
+
readonly $ref: "#/$defs/areaRow";
|
|
1383
|
+
};
|
|
1384
|
+
readonly maxItems: 24;
|
|
1385
|
+
readonly minItems: 1;
|
|
1386
|
+
readonly description: "Plantilla de regiones; cada hijo declara `area`.";
|
|
1387
|
+
};
|
|
1388
|
+
readonly mobile: {
|
|
1389
|
+
readonly type: "array";
|
|
1390
|
+
readonly items: {
|
|
1391
|
+
readonly $ref: "#/$defs/area";
|
|
1392
|
+
};
|
|
1393
|
+
readonly maxItems: 24;
|
|
1394
|
+
readonly minItems: 1;
|
|
1395
|
+
readonly description: "Orden de regiones en pantalla angosta, una por fila.";
|
|
1289
1396
|
};
|
|
1290
1397
|
readonly title: {
|
|
1291
1398
|
readonly $ref: "#/$defs/label";
|
|
@@ -1318,6 +1425,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1318
1425
|
readonly type: "string";
|
|
1319
1426
|
readonly maxLength: 2000;
|
|
1320
1427
|
};
|
|
1428
|
+
readonly area: {
|
|
1429
|
+
readonly $ref: "#/$defs/area";
|
|
1430
|
+
};
|
|
1321
1431
|
readonly state: {
|
|
1322
1432
|
readonly $ref: "#/$defs/bindingPath";
|
|
1323
1433
|
};
|
|
@@ -1326,7 +1436,7 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1326
1436
|
readonly items: {
|
|
1327
1437
|
readonly type: "object";
|
|
1328
1438
|
readonly additionalProperties: false;
|
|
1329
|
-
readonly required: readonly ["key", "label"
|
|
1439
|
+
readonly required: readonly ["key", "label"];
|
|
1330
1440
|
readonly properties: {
|
|
1331
1441
|
readonly key: {
|
|
1332
1442
|
readonly $ref: "#/$defs/key";
|
|
@@ -1342,17 +1452,47 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1342
1452
|
readonly maxItems: 24;
|
|
1343
1453
|
readonly minItems: 1;
|
|
1344
1454
|
};
|
|
1455
|
+
readonly icon: {
|
|
1456
|
+
readonly $ref: "#/$defs/tabIcon";
|
|
1457
|
+
};
|
|
1458
|
+
readonly permission: {
|
|
1459
|
+
readonly $ref: "#/$defs/permissionKey";
|
|
1460
|
+
};
|
|
1461
|
+
readonly component: {
|
|
1462
|
+
readonly $ref: "#/$defs/extName";
|
|
1463
|
+
};
|
|
1464
|
+
readonly props: {
|
|
1465
|
+
readonly $ref: "#/$defs/extProps";
|
|
1466
|
+
};
|
|
1345
1467
|
};
|
|
1346
1468
|
};
|
|
1347
1469
|
readonly maxItems: 8;
|
|
1348
1470
|
readonly minItems: 1;
|
|
1349
1471
|
};
|
|
1472
|
+
readonly variant: {
|
|
1473
|
+
readonly enum: readonly ["tabs", "segmented"];
|
|
1474
|
+
};
|
|
1475
|
+
readonly default: {
|
|
1476
|
+
readonly $ref: "#/$defs/key";
|
|
1477
|
+
};
|
|
1478
|
+
readonly keep_alive: {
|
|
1479
|
+
readonly type: "boolean";
|
|
1480
|
+
};
|
|
1481
|
+
readonly chrome: {
|
|
1482
|
+
readonly $ref: "#/$defs/chrome";
|
|
1483
|
+
};
|
|
1484
|
+
readonly label: {
|
|
1485
|
+
readonly $ref: "#/$defs/label";
|
|
1486
|
+
};
|
|
1487
|
+
readonly mobile: {
|
|
1488
|
+
readonly enum: readonly ["select", "scroll"];
|
|
1489
|
+
};
|
|
1350
1490
|
};
|
|
1351
1491
|
};
|
|
1352
1492
|
readonly block_section: {
|
|
1353
1493
|
readonly type: "object";
|
|
1354
1494
|
readonly additionalProperties: false;
|
|
1355
|
-
readonly required: readonly ["type"
|
|
1495
|
+
readonly required: readonly ["type"];
|
|
1356
1496
|
readonly properties: {
|
|
1357
1497
|
readonly type: {
|
|
1358
1498
|
readonly const: "section";
|
|
@@ -1367,6 +1507,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1367
1507
|
readonly type: "string";
|
|
1368
1508
|
readonly maxLength: 2000;
|
|
1369
1509
|
};
|
|
1510
|
+
readonly area: {
|
|
1511
|
+
readonly $ref: "#/$defs/area";
|
|
1512
|
+
};
|
|
1370
1513
|
readonly title: {
|
|
1371
1514
|
readonly $ref: "#/$defs/label";
|
|
1372
1515
|
};
|
|
@@ -1384,6 +1527,31 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1384
1527
|
readonly maxItems: 24;
|
|
1385
1528
|
readonly minItems: 1;
|
|
1386
1529
|
};
|
|
1530
|
+
readonly mode: {
|
|
1531
|
+
readonly enum: readonly ["declarative", "hybrid", "custom"];
|
|
1532
|
+
readonly description: "declarative|hybrid usan `blocks`; custom usa `component`.";
|
|
1533
|
+
};
|
|
1534
|
+
readonly permission: {
|
|
1535
|
+
readonly $ref: "#/$defs/permissionKey";
|
|
1536
|
+
};
|
|
1537
|
+
readonly on_denied: {
|
|
1538
|
+
readonly enum: readonly ["hide", "notice"];
|
|
1539
|
+
};
|
|
1540
|
+
readonly chrome: {
|
|
1541
|
+
readonly $ref: "#/$defs/chrome";
|
|
1542
|
+
};
|
|
1543
|
+
readonly source: {
|
|
1544
|
+
readonly $ref: "#/$defs/source";
|
|
1545
|
+
};
|
|
1546
|
+
readonly empty: {
|
|
1547
|
+
readonly $ref: "#/$defs/label";
|
|
1548
|
+
};
|
|
1549
|
+
readonly component: {
|
|
1550
|
+
readonly $ref: "#/$defs/extName";
|
|
1551
|
+
};
|
|
1552
|
+
readonly props: {
|
|
1553
|
+
readonly $ref: "#/$defs/extProps";
|
|
1554
|
+
};
|
|
1387
1555
|
};
|
|
1388
1556
|
};
|
|
1389
1557
|
readonly block_text: {
|
|
@@ -1404,6 +1572,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1404
1572
|
readonly type: "string";
|
|
1405
1573
|
readonly maxLength: 2000;
|
|
1406
1574
|
};
|
|
1575
|
+
readonly area: {
|
|
1576
|
+
readonly $ref: "#/$defs/area";
|
|
1577
|
+
};
|
|
1407
1578
|
readonly text: {
|
|
1408
1579
|
readonly $ref: "#/$defs/text";
|
|
1409
1580
|
};
|
|
@@ -1430,6 +1601,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1430
1601
|
readonly type: "string";
|
|
1431
1602
|
readonly maxLength: 2000;
|
|
1432
1603
|
};
|
|
1604
|
+
readonly area: {
|
|
1605
|
+
readonly $ref: "#/$defs/area";
|
|
1606
|
+
};
|
|
1433
1607
|
readonly markdown: {
|
|
1434
1608
|
readonly type: "string";
|
|
1435
1609
|
readonly maxLength: 8000;
|
|
@@ -1454,6 +1628,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1454
1628
|
readonly type: "string";
|
|
1455
1629
|
readonly maxLength: 2000;
|
|
1456
1630
|
};
|
|
1631
|
+
readonly area: {
|
|
1632
|
+
readonly $ref: "#/$defs/area";
|
|
1633
|
+
};
|
|
1457
1634
|
readonly title: {
|
|
1458
1635
|
readonly $ref: "#/$defs/label";
|
|
1459
1636
|
};
|
|
@@ -1483,6 +1660,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1483
1660
|
readonly type: "string";
|
|
1484
1661
|
readonly maxLength: 2000;
|
|
1485
1662
|
};
|
|
1663
|
+
readonly area: {
|
|
1664
|
+
readonly $ref: "#/$defs/area";
|
|
1665
|
+
};
|
|
1486
1666
|
readonly title: {
|
|
1487
1667
|
readonly $ref: "#/$defs/label";
|
|
1488
1668
|
};
|
|
@@ -1517,6 +1697,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1517
1697
|
readonly type: "string";
|
|
1518
1698
|
readonly maxLength: 2000;
|
|
1519
1699
|
};
|
|
1700
|
+
readonly area: {
|
|
1701
|
+
readonly $ref: "#/$defs/area";
|
|
1702
|
+
};
|
|
1520
1703
|
readonly title: {
|
|
1521
1704
|
readonly $ref: "#/$defs/label";
|
|
1522
1705
|
};
|
|
@@ -1569,6 +1752,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1569
1752
|
readonly type: "string";
|
|
1570
1753
|
readonly maxLength: 2000;
|
|
1571
1754
|
};
|
|
1755
|
+
readonly area: {
|
|
1756
|
+
readonly $ref: "#/$defs/area";
|
|
1757
|
+
};
|
|
1572
1758
|
readonly title: {
|
|
1573
1759
|
readonly $ref: "#/$defs/label";
|
|
1574
1760
|
};
|
|
@@ -1616,6 +1802,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1616
1802
|
readonly type: "string";
|
|
1617
1803
|
readonly maxLength: 2000;
|
|
1618
1804
|
};
|
|
1805
|
+
readonly area: {
|
|
1806
|
+
readonly $ref: "#/$defs/area";
|
|
1807
|
+
};
|
|
1619
1808
|
readonly title: {
|
|
1620
1809
|
readonly $ref: "#/$defs/label";
|
|
1621
1810
|
};
|
|
@@ -1629,6 +1818,54 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1629
1818
|
};
|
|
1630
1819
|
};
|
|
1631
1820
|
};
|
|
1821
|
+
readonly block_kpi_card: {
|
|
1822
|
+
readonly type: "object";
|
|
1823
|
+
readonly additionalProperties: false;
|
|
1824
|
+
readonly required: readonly ["type", "label", "value"];
|
|
1825
|
+
readonly properties: {
|
|
1826
|
+
readonly type: {
|
|
1827
|
+
readonly const: "kpi_card";
|
|
1828
|
+
};
|
|
1829
|
+
readonly id: {
|
|
1830
|
+
readonly $ref: "#/$defs/id";
|
|
1831
|
+
};
|
|
1832
|
+
readonly when: {
|
|
1833
|
+
readonly $ref: "#/$defs/predicate";
|
|
1834
|
+
};
|
|
1835
|
+
readonly fallback: {
|
|
1836
|
+
readonly type: "string";
|
|
1837
|
+
readonly maxLength: 2000;
|
|
1838
|
+
};
|
|
1839
|
+
readonly area: {
|
|
1840
|
+
readonly $ref: "#/$defs/area";
|
|
1841
|
+
};
|
|
1842
|
+
readonly label: {
|
|
1843
|
+
readonly $ref: "#/$defs/label";
|
|
1844
|
+
};
|
|
1845
|
+
readonly value: {
|
|
1846
|
+
readonly $ref: "#/$defs/value";
|
|
1847
|
+
};
|
|
1848
|
+
readonly format: {
|
|
1849
|
+
readonly $ref: "#/$defs/statFormat";
|
|
1850
|
+
};
|
|
1851
|
+
readonly trend: {
|
|
1852
|
+
readonly anyOf: readonly [{
|
|
1853
|
+
readonly enum: readonly ["up", "down", "flat"];
|
|
1854
|
+
}, {
|
|
1855
|
+
readonly $ref: "#/$defs/ref";
|
|
1856
|
+
}];
|
|
1857
|
+
};
|
|
1858
|
+
readonly tone: {
|
|
1859
|
+
readonly $ref: "#/$defs/tone";
|
|
1860
|
+
};
|
|
1861
|
+
readonly hint: {
|
|
1862
|
+
readonly $ref: "#/$defs/label";
|
|
1863
|
+
};
|
|
1864
|
+
readonly cta: {
|
|
1865
|
+
readonly $ref: "#/$defs/action";
|
|
1866
|
+
};
|
|
1867
|
+
};
|
|
1868
|
+
};
|
|
1632
1869
|
readonly block_stats: {
|
|
1633
1870
|
readonly type: "object";
|
|
1634
1871
|
readonly additionalProperties: false;
|
|
@@ -1647,6 +1884,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1647
1884
|
readonly type: "string";
|
|
1648
1885
|
readonly maxLength: 2000;
|
|
1649
1886
|
};
|
|
1887
|
+
readonly area: {
|
|
1888
|
+
readonly $ref: "#/$defs/area";
|
|
1889
|
+
};
|
|
1650
1890
|
readonly title: {
|
|
1651
1891
|
readonly $ref: "#/$defs/label";
|
|
1652
1892
|
};
|
|
@@ -1691,6 +1931,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1691
1931
|
readonly type: "string";
|
|
1692
1932
|
readonly maxLength: 2000;
|
|
1693
1933
|
};
|
|
1934
|
+
readonly area: {
|
|
1935
|
+
readonly $ref: "#/$defs/area";
|
|
1936
|
+
};
|
|
1694
1937
|
readonly title: {
|
|
1695
1938
|
readonly $ref: "#/$defs/label";
|
|
1696
1939
|
};
|
|
@@ -1722,6 +1965,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1722
1965
|
readonly type: "string";
|
|
1723
1966
|
readonly maxLength: 2000;
|
|
1724
1967
|
};
|
|
1968
|
+
readonly area: {
|
|
1969
|
+
readonly $ref: "#/$defs/area";
|
|
1970
|
+
};
|
|
1725
1971
|
readonly title: {
|
|
1726
1972
|
readonly $ref: "#/$defs/label";
|
|
1727
1973
|
};
|
|
@@ -1756,6 +2002,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1756
2002
|
readonly type: "string";
|
|
1757
2003
|
readonly maxLength: 2000;
|
|
1758
2004
|
};
|
|
2005
|
+
readonly area: {
|
|
2006
|
+
readonly $ref: "#/$defs/area";
|
|
2007
|
+
};
|
|
1759
2008
|
readonly title: {
|
|
1760
2009
|
readonly $ref: "#/$defs/label";
|
|
1761
2010
|
};
|
|
@@ -1831,6 +2080,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1831
2080
|
readonly type: "string";
|
|
1832
2081
|
readonly maxLength: 2000;
|
|
1833
2082
|
};
|
|
2083
|
+
readonly area: {
|
|
2084
|
+
readonly $ref: "#/$defs/area";
|
|
2085
|
+
};
|
|
1834
2086
|
readonly title: {
|
|
1835
2087
|
readonly $ref: "#/$defs/label";
|
|
1836
2088
|
};
|
|
@@ -1874,6 +2126,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1874
2126
|
readonly type: "string";
|
|
1875
2127
|
readonly maxLength: 2000;
|
|
1876
2128
|
};
|
|
2129
|
+
readonly area: {
|
|
2130
|
+
readonly $ref: "#/$defs/area";
|
|
2131
|
+
};
|
|
1877
2132
|
readonly title: {
|
|
1878
2133
|
readonly $ref: "#/$defs/label";
|
|
1879
2134
|
};
|
|
@@ -1917,6 +2172,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1917
2172
|
readonly type: "string";
|
|
1918
2173
|
readonly maxLength: 2000;
|
|
1919
2174
|
};
|
|
2175
|
+
readonly area: {
|
|
2176
|
+
readonly $ref: "#/$defs/area";
|
|
2177
|
+
};
|
|
1920
2178
|
readonly title: {
|
|
1921
2179
|
readonly $ref: "#/$defs/label";
|
|
1922
2180
|
};
|
|
@@ -1977,6 +2235,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1977
2235
|
readonly type: "string";
|
|
1978
2236
|
readonly maxLength: 2000;
|
|
1979
2237
|
};
|
|
2238
|
+
readonly area: {
|
|
2239
|
+
readonly $ref: "#/$defs/area";
|
|
2240
|
+
};
|
|
1980
2241
|
readonly title: {
|
|
1981
2242
|
readonly $ref: "#/$defs/label";
|
|
1982
2243
|
};
|
|
@@ -2051,6 +2312,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2051
2312
|
readonly type: "string";
|
|
2052
2313
|
readonly maxLength: 2000;
|
|
2053
2314
|
};
|
|
2315
|
+
readonly area: {
|
|
2316
|
+
readonly $ref: "#/$defs/area";
|
|
2317
|
+
};
|
|
2054
2318
|
readonly title: {
|
|
2055
2319
|
readonly $ref: "#/$defs/label";
|
|
2056
2320
|
};
|
|
@@ -2125,6 +2389,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2125
2389
|
readonly type: "string";
|
|
2126
2390
|
readonly maxLength: 2000;
|
|
2127
2391
|
};
|
|
2392
|
+
readonly area: {
|
|
2393
|
+
readonly $ref: "#/$defs/area";
|
|
2394
|
+
};
|
|
2128
2395
|
readonly title: {
|
|
2129
2396
|
readonly $ref: "#/$defs/label";
|
|
2130
2397
|
};
|
|
@@ -2237,6 +2504,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2237
2504
|
readonly type: "string";
|
|
2238
2505
|
readonly maxLength: 2000;
|
|
2239
2506
|
};
|
|
2507
|
+
readonly area: {
|
|
2508
|
+
readonly $ref: "#/$defs/area";
|
|
2509
|
+
};
|
|
2240
2510
|
readonly addon: {
|
|
2241
2511
|
readonly type: "string";
|
|
2242
2512
|
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}$";
|
|
@@ -2276,6 +2546,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2276
2546
|
readonly type: "string";
|
|
2277
2547
|
readonly maxLength: 2000;
|
|
2278
2548
|
};
|
|
2549
|
+
readonly area: {
|
|
2550
|
+
readonly $ref: "#/$defs/area";
|
|
2551
|
+
};
|
|
2279
2552
|
readonly src: {
|
|
2280
2553
|
readonly type: "string";
|
|
2281
2554
|
readonly maxLength: 2048;
|
|
@@ -2318,6 +2591,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2318
2591
|
readonly type: "string";
|
|
2319
2592
|
readonly maxLength: 2000;
|
|
2320
2593
|
};
|
|
2594
|
+
readonly area: {
|
|
2595
|
+
readonly $ref: "#/$defs/area";
|
|
2596
|
+
};
|
|
2321
2597
|
readonly name: {
|
|
2322
2598
|
readonly type: "string";
|
|
2323
2599
|
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
@@ -2346,25 +2622,14 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2346
2622
|
readonly type: "string";
|
|
2347
2623
|
readonly maxLength: 2000;
|
|
2348
2624
|
};
|
|
2625
|
+
readonly area: {
|
|
2626
|
+
readonly $ref: "#/$defs/area";
|
|
2627
|
+
};
|
|
2349
2628
|
readonly ext: {
|
|
2350
|
-
readonly
|
|
2351
|
-
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$";
|
|
2352
|
-
readonly "x-no-proto": true;
|
|
2629
|
+
readonly $ref: "#/$defs/extName";
|
|
2353
2630
|
};
|
|
2354
2631
|
readonly props: {
|
|
2355
|
-
readonly
|
|
2356
|
-
readonly maxProperties: 16;
|
|
2357
|
-
readonly additionalProperties: {
|
|
2358
|
-
readonly anyOf: readonly [{
|
|
2359
|
-
readonly $ref: "#/$defs/scalar";
|
|
2360
|
-
}, {
|
|
2361
|
-
readonly type: "array";
|
|
2362
|
-
readonly items: {
|
|
2363
|
-
readonly type: readonly ["string", "number", "boolean"];
|
|
2364
|
-
};
|
|
2365
|
-
readonly maxItems: 50;
|
|
2366
|
-
}];
|
|
2367
|
-
};
|
|
2632
|
+
readonly $ref: "#/$defs/extProps";
|
|
2368
2633
|
};
|
|
2369
2634
|
};
|
|
2370
2635
|
};
|
|
@@ -2465,6 +2730,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2465
2730
|
readonly type: "string";
|
|
2466
2731
|
readonly maxLength: 2000;
|
|
2467
2732
|
};
|
|
2733
|
+
readonly area: {
|
|
2734
|
+
readonly $ref: "#/$defs/area";
|
|
2735
|
+
};
|
|
2468
2736
|
readonly title: {
|
|
2469
2737
|
readonly $ref: "#/$defs/label";
|
|
2470
2738
|
};
|
|
@@ -2519,6 +2787,27 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2519
2787
|
readonly maxLength: 2000;
|
|
2520
2788
|
readonly description: "Resumen accesible (obligatorio).";
|
|
2521
2789
|
};
|
|
2790
|
+
readonly select: {
|
|
2791
|
+
readonly $ref: "#/$defs/statePath";
|
|
2792
|
+
};
|
|
2793
|
+
readonly popup: {
|
|
2794
|
+
readonly type: "array";
|
|
2795
|
+
readonly items: {
|
|
2796
|
+
readonly $ref: "#/$defs/key";
|
|
2797
|
+
};
|
|
2798
|
+
readonly maxItems: 8;
|
|
2799
|
+
readonly description: "Columnas de la fuente que se muestran al seleccionar un punto (maximo 8). Solo con source.";
|
|
2800
|
+
};
|
|
2801
|
+
readonly precision: {
|
|
2802
|
+
readonly enum: readonly ["exact", "city", "country"];
|
|
2803
|
+
readonly description: "Precision de ubicacion constante de todos los puntos. Excluye precision_field.";
|
|
2804
|
+
};
|
|
2805
|
+
readonly precision_field: {
|
|
2806
|
+
readonly $ref: "#/$defs/key";
|
|
2807
|
+
};
|
|
2808
|
+
readonly area_field: {
|
|
2809
|
+
readonly $ref: "#/$defs/key";
|
|
2810
|
+
};
|
|
2522
2811
|
};
|
|
2523
2812
|
};
|
|
2524
2813
|
readonly block_metric: {
|
|
@@ -2539,6 +2828,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2539
2828
|
readonly type: "string";
|
|
2540
2829
|
readonly maxLength: 2000;
|
|
2541
2830
|
};
|
|
2831
|
+
readonly area: {
|
|
2832
|
+
readonly $ref: "#/$defs/area";
|
|
2833
|
+
};
|
|
2542
2834
|
readonly label: {
|
|
2543
2835
|
readonly $ref: "#/$defs/label";
|
|
2544
2836
|
};
|
|
@@ -2667,6 +2959,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2667
2959
|
readonly type: "string";
|
|
2668
2960
|
readonly maxLength: 2000;
|
|
2669
2961
|
};
|
|
2962
|
+
readonly area: {
|
|
2963
|
+
readonly $ref: "#/$defs/area";
|
|
2964
|
+
};
|
|
2670
2965
|
readonly title: {
|
|
2671
2966
|
readonly $ref: "#/$defs/label";
|
|
2672
2967
|
};
|
|
@@ -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
|
|
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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