@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
|
@@ -449,6 +449,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
449
449
|
},
|
|
450
450
|
"format": {
|
|
451
451
|
"$ref": "#/$defs/statFormat"
|
|
452
|
+
},
|
|
453
|
+
"action": {
|
|
454
|
+
"$ref": "#/$defs/action"
|
|
452
455
|
}
|
|
453
456
|
}
|
|
454
457
|
},
|
|
@@ -1364,6 +1367,83 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1364
1367
|
"pattern": "^data\\.[A-Za-z_][A-Za-z0-9_]{0,63}$",
|
|
1365
1368
|
"description": "Referencia a data.<nombre>."
|
|
1366
1369
|
},
|
|
1370
|
+
"area": {
|
|
1371
|
+
"type": "string",
|
|
1372
|
+
"pattern": "^[a-z][a-z0-9_]{0,31}$",
|
|
1373
|
+
"description": "Nombre de región de un grid con `areas` (page@1)."
|
|
1374
|
+
},
|
|
1375
|
+
"areaRow": {
|
|
1376
|
+
"type": "string",
|
|
1377
|
+
"maxLength": 400,
|
|
1378
|
+
"pattern": "^(\\.|[a-z][a-z0-9_]{0,31})( (\\.|[a-z][a-z0-9_]{0,31})){0,11}$",
|
|
1379
|
+
"description": "Fila de la plantilla de `grid.areas`: nombres de región o `.` (celda vacía) separados por un espacio."
|
|
1380
|
+
},
|
|
1381
|
+
"gridTrack": {
|
|
1382
|
+
"type": "string",
|
|
1383
|
+
"maxLength": 64,
|
|
1384
|
+
"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) *\\))$",
|
|
1385
|
+
"description": "Pista de `grid.columns`/`grid.rows`: auto, Nfr, Npx o minmax(Npx, Nfr|Npx). Sin CSS libre."
|
|
1386
|
+
},
|
|
1387
|
+
"statePath": {
|
|
1388
|
+
"type": "string",
|
|
1389
|
+
"pattern": "^(?!(?:.*\\.)?(?:__proto__|constructor|prototype)(?:\\.|$))state(\\.[A-Za-z_][A-Za-z0-9_]{0,63}|\\.[0-9]{1,3}){1,6}$",
|
|
1390
|
+
"x-no-proto": true,
|
|
1391
|
+
"description": "Ruta de escritura en el estado de la página: raíz state."
|
|
1392
|
+
},
|
|
1393
|
+
"permissionKey": {
|
|
1394
|
+
"type": "string",
|
|
1395
|
+
"maxLength": 128,
|
|
1396
|
+
"pattern": "^[a-z][a-z0-9_]*(?:\\.[a-z][a-z0-9_:]*)+$",
|
|
1397
|
+
"description": "Clave de permiso del manifiesto (<addon>.<recurso>.<acción>)."
|
|
1398
|
+
},
|
|
1399
|
+
"chrome": {
|
|
1400
|
+
"enum": [
|
|
1401
|
+
"card",
|
|
1402
|
+
"bare"
|
|
1403
|
+
],
|
|
1404
|
+
"description": "Marco de una sección/vista: card (el host pinta marco y estados) o bare."
|
|
1405
|
+
},
|
|
1406
|
+
"tabIcon": {
|
|
1407
|
+
"enum": [
|
|
1408
|
+
"map",
|
|
1409
|
+
"cards",
|
|
1410
|
+
"table",
|
|
1411
|
+
"dashboard",
|
|
1412
|
+
"list",
|
|
1413
|
+
"calendar",
|
|
1414
|
+
"chart"
|
|
1415
|
+
],
|
|
1416
|
+
"description": "Icono de una opción de tabs: conjunto cerrado."
|
|
1417
|
+
},
|
|
1418
|
+
"extName": {
|
|
1419
|
+
"type": "string",
|
|
1420
|
+
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$",
|
|
1421
|
+
"x-no-proto": true,
|
|
1422
|
+
"description": "Bloque custom registrado: <addon>.<nombre>@<mayor>."
|
|
1423
|
+
},
|
|
1424
|
+
"extProps": {
|
|
1425
|
+
"type": "object",
|
|
1426
|
+
"maxProperties": 16,
|
|
1427
|
+
"additionalProperties": {
|
|
1428
|
+
"anyOf": [
|
|
1429
|
+
{
|
|
1430
|
+
"$ref": "#/$defs/scalar"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"type": "array",
|
|
1434
|
+
"items": {
|
|
1435
|
+
"type": [
|
|
1436
|
+
"string",
|
|
1437
|
+
"number",
|
|
1438
|
+
"boolean"
|
|
1439
|
+
]
|
|
1440
|
+
},
|
|
1441
|
+
"maxItems": 50
|
|
1442
|
+
}
|
|
1443
|
+
]
|
|
1444
|
+
},
|
|
1445
|
+
"description": "Props escalares de un bloque custom; sin objetos libres."
|
|
1446
|
+
},
|
|
1367
1447
|
"overlay": {
|
|
1368
1448
|
"type": "object",
|
|
1369
1449
|
"additionalProperties": false,
|
|
@@ -1428,6 +1508,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1428
1508
|
{
|
|
1429
1509
|
"$ref": "#/$defs/block_kpi"
|
|
1430
1510
|
},
|
|
1511
|
+
{
|
|
1512
|
+
"$ref": "#/$defs/block_kpi_card"
|
|
1513
|
+
},
|
|
1431
1514
|
{
|
|
1432
1515
|
"$ref": "#/$defs/block_stats"
|
|
1433
1516
|
},
|
|
@@ -1502,6 +1585,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1502
1585
|
"type": "string",
|
|
1503
1586
|
"maxLength": 2000
|
|
1504
1587
|
},
|
|
1588
|
+
"area": {
|
|
1589
|
+
"$ref": "#/$defs/area"
|
|
1590
|
+
},
|
|
1505
1591
|
"direction": {
|
|
1506
1592
|
"enum": [
|
|
1507
1593
|
"vertical",
|
|
@@ -1542,10 +1628,53 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1542
1628
|
"type": "string",
|
|
1543
1629
|
"maxLength": 2000
|
|
1544
1630
|
},
|
|
1631
|
+
"area": {
|
|
1632
|
+
"$ref": "#/$defs/area"
|
|
1633
|
+
},
|
|
1545
1634
|
"columns": {
|
|
1546
|
-
"
|
|
1547
|
-
|
|
1548
|
-
|
|
1635
|
+
"anyOf": [
|
|
1636
|
+
{
|
|
1637
|
+
"type": "integer",
|
|
1638
|
+
"minimum": 1,
|
|
1639
|
+
"maximum": 4
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"type": "array",
|
|
1643
|
+
"items": {
|
|
1644
|
+
"$ref": "#/$defs/gridTrack"
|
|
1645
|
+
},
|
|
1646
|
+
"maxItems": 12,
|
|
1647
|
+
"minItems": 1
|
|
1648
|
+
}
|
|
1649
|
+
],
|
|
1650
|
+
"description": "Número de columnas (1-4) o, con `areas`, una pista por columna."
|
|
1651
|
+
},
|
|
1652
|
+
"rows": {
|
|
1653
|
+
"type": "array",
|
|
1654
|
+
"items": {
|
|
1655
|
+
"$ref": "#/$defs/gridTrack"
|
|
1656
|
+
},
|
|
1657
|
+
"maxItems": 24,
|
|
1658
|
+
"minItems": 1,
|
|
1659
|
+
"description": "Pistas de fila (solo con `areas`)."
|
|
1660
|
+
},
|
|
1661
|
+
"areas": {
|
|
1662
|
+
"type": "array",
|
|
1663
|
+
"items": {
|
|
1664
|
+
"$ref": "#/$defs/areaRow"
|
|
1665
|
+
},
|
|
1666
|
+
"maxItems": 24,
|
|
1667
|
+
"minItems": 1,
|
|
1668
|
+
"description": "Plantilla de regiones; cada hijo declara `area`."
|
|
1669
|
+
},
|
|
1670
|
+
"mobile": {
|
|
1671
|
+
"type": "array",
|
|
1672
|
+
"items": {
|
|
1673
|
+
"$ref": "#/$defs/area"
|
|
1674
|
+
},
|
|
1675
|
+
"maxItems": 24,
|
|
1676
|
+
"minItems": 1,
|
|
1677
|
+
"description": "Orden de regiones en pantalla angosta, una por fila."
|
|
1549
1678
|
},
|
|
1550
1679
|
"title": {
|
|
1551
1680
|
"$ref": "#/$defs/label"
|
|
@@ -1581,6 +1710,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1581
1710
|
"type": "string",
|
|
1582
1711
|
"maxLength": 2000
|
|
1583
1712
|
},
|
|
1713
|
+
"area": {
|
|
1714
|
+
"$ref": "#/$defs/area"
|
|
1715
|
+
},
|
|
1584
1716
|
"state": {
|
|
1585
1717
|
"$ref": "#/$defs/bindingPath"
|
|
1586
1718
|
},
|
|
@@ -1591,8 +1723,7 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1591
1723
|
"additionalProperties": false,
|
|
1592
1724
|
"required": [
|
|
1593
1725
|
"key",
|
|
1594
|
-
"label"
|
|
1595
|
-
"blocks"
|
|
1726
|
+
"label"
|
|
1596
1727
|
],
|
|
1597
1728
|
"properties": {
|
|
1598
1729
|
"key": {
|
|
@@ -1608,11 +1739,47 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1608
1739
|
},
|
|
1609
1740
|
"maxItems": 24,
|
|
1610
1741
|
"minItems": 1
|
|
1742
|
+
},
|
|
1743
|
+
"icon": {
|
|
1744
|
+
"$ref": "#/$defs/tabIcon"
|
|
1745
|
+
},
|
|
1746
|
+
"permission": {
|
|
1747
|
+
"$ref": "#/$defs/permissionKey"
|
|
1748
|
+
},
|
|
1749
|
+
"component": {
|
|
1750
|
+
"$ref": "#/$defs/extName"
|
|
1751
|
+
},
|
|
1752
|
+
"props": {
|
|
1753
|
+
"$ref": "#/$defs/extProps"
|
|
1611
1754
|
}
|
|
1612
1755
|
}
|
|
1613
1756
|
},
|
|
1614
1757
|
"maxItems": 8,
|
|
1615
1758
|
"minItems": 1
|
|
1759
|
+
},
|
|
1760
|
+
"variant": {
|
|
1761
|
+
"enum": [
|
|
1762
|
+
"tabs",
|
|
1763
|
+
"segmented"
|
|
1764
|
+
]
|
|
1765
|
+
},
|
|
1766
|
+
"default": {
|
|
1767
|
+
"$ref": "#/$defs/key"
|
|
1768
|
+
},
|
|
1769
|
+
"keep_alive": {
|
|
1770
|
+
"type": "boolean"
|
|
1771
|
+
},
|
|
1772
|
+
"chrome": {
|
|
1773
|
+
"$ref": "#/$defs/chrome"
|
|
1774
|
+
},
|
|
1775
|
+
"label": {
|
|
1776
|
+
"$ref": "#/$defs/label"
|
|
1777
|
+
},
|
|
1778
|
+
"mobile": {
|
|
1779
|
+
"enum": [
|
|
1780
|
+
"select",
|
|
1781
|
+
"scroll"
|
|
1782
|
+
]
|
|
1616
1783
|
}
|
|
1617
1784
|
}
|
|
1618
1785
|
},
|
|
@@ -1620,9 +1787,7 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1620
1787
|
"type": "object",
|
|
1621
1788
|
"additionalProperties": false,
|
|
1622
1789
|
"required": [
|
|
1623
|
-
"type"
|
|
1624
|
-
"title",
|
|
1625
|
-
"blocks"
|
|
1790
|
+
"type"
|
|
1626
1791
|
],
|
|
1627
1792
|
"properties": {
|
|
1628
1793
|
"type": {
|
|
@@ -1638,6 +1803,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1638
1803
|
"type": "string",
|
|
1639
1804
|
"maxLength": 2000
|
|
1640
1805
|
},
|
|
1806
|
+
"area": {
|
|
1807
|
+
"$ref": "#/$defs/area"
|
|
1808
|
+
},
|
|
1641
1809
|
"title": {
|
|
1642
1810
|
"$ref": "#/$defs/label"
|
|
1643
1811
|
},
|
|
@@ -1654,6 +1822,38 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1654
1822
|
},
|
|
1655
1823
|
"maxItems": 24,
|
|
1656
1824
|
"minItems": 1
|
|
1825
|
+
},
|
|
1826
|
+
"mode": {
|
|
1827
|
+
"enum": [
|
|
1828
|
+
"declarative",
|
|
1829
|
+
"hybrid",
|
|
1830
|
+
"custom"
|
|
1831
|
+
],
|
|
1832
|
+
"description": "declarative|hybrid usan `blocks`; custom usa `component`."
|
|
1833
|
+
},
|
|
1834
|
+
"permission": {
|
|
1835
|
+
"$ref": "#/$defs/permissionKey"
|
|
1836
|
+
},
|
|
1837
|
+
"on_denied": {
|
|
1838
|
+
"enum": [
|
|
1839
|
+
"hide",
|
|
1840
|
+
"notice"
|
|
1841
|
+
]
|
|
1842
|
+
},
|
|
1843
|
+
"chrome": {
|
|
1844
|
+
"$ref": "#/$defs/chrome"
|
|
1845
|
+
},
|
|
1846
|
+
"source": {
|
|
1847
|
+
"$ref": "#/$defs/source"
|
|
1848
|
+
},
|
|
1849
|
+
"empty": {
|
|
1850
|
+
"$ref": "#/$defs/label"
|
|
1851
|
+
},
|
|
1852
|
+
"component": {
|
|
1853
|
+
"$ref": "#/$defs/extName"
|
|
1854
|
+
},
|
|
1855
|
+
"props": {
|
|
1856
|
+
"$ref": "#/$defs/extProps"
|
|
1657
1857
|
}
|
|
1658
1858
|
}
|
|
1659
1859
|
},
|
|
@@ -1678,6 +1878,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1678
1878
|
"type": "string",
|
|
1679
1879
|
"maxLength": 2000
|
|
1680
1880
|
},
|
|
1881
|
+
"area": {
|
|
1882
|
+
"$ref": "#/$defs/area"
|
|
1883
|
+
},
|
|
1681
1884
|
"text": {
|
|
1682
1885
|
"$ref": "#/$defs/text"
|
|
1683
1886
|
},
|
|
@@ -1707,6 +1910,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1707
1910
|
"type": "string",
|
|
1708
1911
|
"maxLength": 2000
|
|
1709
1912
|
},
|
|
1913
|
+
"area": {
|
|
1914
|
+
"$ref": "#/$defs/area"
|
|
1915
|
+
},
|
|
1710
1916
|
"markdown": {
|
|
1711
1917
|
"type": "string",
|
|
1712
1918
|
"maxLength": 8000
|
|
@@ -1734,6 +1940,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1734
1940
|
"type": "string",
|
|
1735
1941
|
"maxLength": 2000
|
|
1736
1942
|
},
|
|
1943
|
+
"area": {
|
|
1944
|
+
"$ref": "#/$defs/area"
|
|
1945
|
+
},
|
|
1737
1946
|
"title": {
|
|
1738
1947
|
"$ref": "#/$defs/label"
|
|
1739
1948
|
},
|
|
@@ -1766,6 +1975,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1766
1975
|
"type": "string",
|
|
1767
1976
|
"maxLength": 2000
|
|
1768
1977
|
},
|
|
1978
|
+
"area": {
|
|
1979
|
+
"$ref": "#/$defs/area"
|
|
1980
|
+
},
|
|
1769
1981
|
"title": {
|
|
1770
1982
|
"$ref": "#/$defs/label"
|
|
1771
1983
|
},
|
|
@@ -1803,6 +2015,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1803
2015
|
"type": "string",
|
|
1804
2016
|
"maxLength": 2000
|
|
1805
2017
|
},
|
|
2018
|
+
"area": {
|
|
2019
|
+
"$ref": "#/$defs/area"
|
|
2020
|
+
},
|
|
1806
2021
|
"title": {
|
|
1807
2022
|
"$ref": "#/$defs/label"
|
|
1808
2023
|
},
|
|
@@ -1858,6 +2073,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1858
2073
|
"type": "string",
|
|
1859
2074
|
"maxLength": 2000
|
|
1860
2075
|
},
|
|
2076
|
+
"area": {
|
|
2077
|
+
"$ref": "#/$defs/area"
|
|
2078
|
+
},
|
|
1861
2079
|
"title": {
|
|
1862
2080
|
"$ref": "#/$defs/label"
|
|
1863
2081
|
},
|
|
@@ -1910,6 +2128,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1910
2128
|
"type": "string",
|
|
1911
2129
|
"maxLength": 2000
|
|
1912
2130
|
},
|
|
2131
|
+
"area": {
|
|
2132
|
+
"$ref": "#/$defs/area"
|
|
2133
|
+
},
|
|
1913
2134
|
"title": {
|
|
1914
2135
|
"$ref": "#/$defs/label"
|
|
1915
2136
|
},
|
|
@@ -1923,6 +2144,65 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1923
2144
|
}
|
|
1924
2145
|
}
|
|
1925
2146
|
},
|
|
2147
|
+
"block_kpi_card": {
|
|
2148
|
+
"type": "object",
|
|
2149
|
+
"additionalProperties": false,
|
|
2150
|
+
"required": [
|
|
2151
|
+
"type",
|
|
2152
|
+
"label",
|
|
2153
|
+
"value"
|
|
2154
|
+
],
|
|
2155
|
+
"properties": {
|
|
2156
|
+
"type": {
|
|
2157
|
+
"const": "kpi_card"
|
|
2158
|
+
},
|
|
2159
|
+
"id": {
|
|
2160
|
+
"$ref": "#/$defs/id"
|
|
2161
|
+
},
|
|
2162
|
+
"when": {
|
|
2163
|
+
"$ref": "#/$defs/predicate"
|
|
2164
|
+
},
|
|
2165
|
+
"fallback": {
|
|
2166
|
+
"type": "string",
|
|
2167
|
+
"maxLength": 2000
|
|
2168
|
+
},
|
|
2169
|
+
"area": {
|
|
2170
|
+
"$ref": "#/$defs/area"
|
|
2171
|
+
},
|
|
2172
|
+
"label": {
|
|
2173
|
+
"$ref": "#/$defs/label"
|
|
2174
|
+
},
|
|
2175
|
+
"value": {
|
|
2176
|
+
"$ref": "#/$defs/value"
|
|
2177
|
+
},
|
|
2178
|
+
"format": {
|
|
2179
|
+
"$ref": "#/$defs/statFormat"
|
|
2180
|
+
},
|
|
2181
|
+
"trend": {
|
|
2182
|
+
"anyOf": [
|
|
2183
|
+
{
|
|
2184
|
+
"enum": [
|
|
2185
|
+
"up",
|
|
2186
|
+
"down",
|
|
2187
|
+
"flat"
|
|
2188
|
+
]
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"$ref": "#/$defs/ref"
|
|
2192
|
+
}
|
|
2193
|
+
]
|
|
2194
|
+
},
|
|
2195
|
+
"tone": {
|
|
2196
|
+
"$ref": "#/$defs/tone"
|
|
2197
|
+
},
|
|
2198
|
+
"hint": {
|
|
2199
|
+
"$ref": "#/$defs/label"
|
|
2200
|
+
},
|
|
2201
|
+
"cta": {
|
|
2202
|
+
"$ref": "#/$defs/action"
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
},
|
|
1926
2206
|
"block_stats": {
|
|
1927
2207
|
"type": "object",
|
|
1928
2208
|
"additionalProperties": false,
|
|
@@ -1943,6 +2223,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1943
2223
|
"type": "string",
|
|
1944
2224
|
"maxLength": 2000
|
|
1945
2225
|
},
|
|
2226
|
+
"area": {
|
|
2227
|
+
"$ref": "#/$defs/area"
|
|
2228
|
+
},
|
|
1946
2229
|
"title": {
|
|
1947
2230
|
"$ref": "#/$defs/label"
|
|
1948
2231
|
},
|
|
@@ -1994,6 +2277,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
1994
2277
|
"type": "string",
|
|
1995
2278
|
"maxLength": 2000
|
|
1996
2279
|
},
|
|
2280
|
+
"area": {
|
|
2281
|
+
"$ref": "#/$defs/area"
|
|
2282
|
+
},
|
|
1997
2283
|
"title": {
|
|
1998
2284
|
"$ref": "#/$defs/label"
|
|
1999
2285
|
},
|
|
@@ -2027,6 +2313,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2027
2313
|
"type": "string",
|
|
2028
2314
|
"maxLength": 2000
|
|
2029
2315
|
},
|
|
2316
|
+
"area": {
|
|
2317
|
+
"$ref": "#/$defs/area"
|
|
2318
|
+
},
|
|
2030
2319
|
"title": {
|
|
2031
2320
|
"$ref": "#/$defs/label"
|
|
2032
2321
|
},
|
|
@@ -2064,6 +2353,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2064
2353
|
"type": "string",
|
|
2065
2354
|
"maxLength": 2000
|
|
2066
2355
|
},
|
|
2356
|
+
"area": {
|
|
2357
|
+
"$ref": "#/$defs/area"
|
|
2358
|
+
},
|
|
2067
2359
|
"title": {
|
|
2068
2360
|
"$ref": "#/$defs/label"
|
|
2069
2361
|
},
|
|
@@ -2147,6 +2439,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2147
2439
|
"type": "string",
|
|
2148
2440
|
"maxLength": 2000
|
|
2149
2441
|
},
|
|
2442
|
+
"area": {
|
|
2443
|
+
"$ref": "#/$defs/area"
|
|
2444
|
+
},
|
|
2150
2445
|
"title": {
|
|
2151
2446
|
"$ref": "#/$defs/label"
|
|
2152
2447
|
},
|
|
@@ -2200,6 +2495,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2200
2495
|
"type": "string",
|
|
2201
2496
|
"maxLength": 2000
|
|
2202
2497
|
},
|
|
2498
|
+
"area": {
|
|
2499
|
+
"$ref": "#/$defs/area"
|
|
2500
|
+
},
|
|
2203
2501
|
"title": {
|
|
2204
2502
|
"$ref": "#/$defs/label"
|
|
2205
2503
|
},
|
|
@@ -2249,6 +2547,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2249
2547
|
"type": "string",
|
|
2250
2548
|
"maxLength": 2000
|
|
2251
2549
|
},
|
|
2550
|
+
"area": {
|
|
2551
|
+
"$ref": "#/$defs/area"
|
|
2552
|
+
},
|
|
2252
2553
|
"title": {
|
|
2253
2554
|
"$ref": "#/$defs/label"
|
|
2254
2555
|
},
|
|
@@ -2319,6 +2620,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2319
2620
|
"type": "string",
|
|
2320
2621
|
"maxLength": 2000
|
|
2321
2622
|
},
|
|
2623
|
+
"area": {
|
|
2624
|
+
"$ref": "#/$defs/area"
|
|
2625
|
+
},
|
|
2322
2626
|
"title": {
|
|
2323
2627
|
"$ref": "#/$defs/label"
|
|
2324
2628
|
},
|
|
@@ -2401,6 +2705,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2401
2705
|
"type": "string",
|
|
2402
2706
|
"maxLength": 2000
|
|
2403
2707
|
},
|
|
2708
|
+
"area": {
|
|
2709
|
+
"$ref": "#/$defs/area"
|
|
2710
|
+
},
|
|
2404
2711
|
"title": {
|
|
2405
2712
|
"$ref": "#/$defs/label"
|
|
2406
2713
|
},
|
|
@@ -2484,6 +2791,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2484
2791
|
"type": "string",
|
|
2485
2792
|
"maxLength": 2000
|
|
2486
2793
|
},
|
|
2794
|
+
"area": {
|
|
2795
|
+
"$ref": "#/$defs/area"
|
|
2796
|
+
},
|
|
2487
2797
|
"title": {
|
|
2488
2798
|
"$ref": "#/$defs/label"
|
|
2489
2799
|
},
|
|
@@ -2620,6 +2930,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2620
2930
|
"type": "string",
|
|
2621
2931
|
"maxLength": 2000
|
|
2622
2932
|
},
|
|
2933
|
+
"area": {
|
|
2934
|
+
"$ref": "#/$defs/area"
|
|
2935
|
+
},
|
|
2623
2936
|
"addon": {
|
|
2624
2937
|
"type": "string",
|
|
2625
2938
|
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}$",
|
|
@@ -2668,6 +2981,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2668
2981
|
"type": "string",
|
|
2669
2982
|
"maxLength": 2000
|
|
2670
2983
|
},
|
|
2984
|
+
"area": {
|
|
2985
|
+
"$ref": "#/$defs/area"
|
|
2986
|
+
},
|
|
2671
2987
|
"src": {
|
|
2672
2988
|
"type": "string",
|
|
2673
2989
|
"maxLength": 2048,
|
|
@@ -2713,6 +3029,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2713
3029
|
"type": "string",
|
|
2714
3030
|
"maxLength": 2000
|
|
2715
3031
|
},
|
|
3032
|
+
"area": {
|
|
3033
|
+
"$ref": "#/$defs/area"
|
|
3034
|
+
},
|
|
2716
3035
|
"name": {
|
|
2717
3036
|
"type": "string",
|
|
2718
3037
|
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$",
|
|
@@ -2744,32 +3063,14 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2744
3063
|
"type": "string",
|
|
2745
3064
|
"maxLength": 2000
|
|
2746
3065
|
},
|
|
3066
|
+
"area": {
|
|
3067
|
+
"$ref": "#/$defs/area"
|
|
3068
|
+
},
|
|
2747
3069
|
"ext": {
|
|
2748
|
-
"
|
|
2749
|
-
"pattern": "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$",
|
|
2750
|
-
"x-no-proto": true
|
|
3070
|
+
"$ref": "#/$defs/extName"
|
|
2751
3071
|
},
|
|
2752
3072
|
"props": {
|
|
2753
|
-
"
|
|
2754
|
-
"maxProperties": 16,
|
|
2755
|
-
"additionalProperties": {
|
|
2756
|
-
"anyOf": [
|
|
2757
|
-
{
|
|
2758
|
-
"$ref": "#/$defs/scalar"
|
|
2759
|
-
},
|
|
2760
|
-
{
|
|
2761
|
-
"type": "array",
|
|
2762
|
-
"items": {
|
|
2763
|
-
"type": [
|
|
2764
|
-
"string",
|
|
2765
|
-
"number",
|
|
2766
|
-
"boolean"
|
|
2767
|
-
]
|
|
2768
|
-
},
|
|
2769
|
-
"maxItems": 50
|
|
2770
|
-
}
|
|
2771
|
-
]
|
|
2772
|
-
}
|
|
3073
|
+
"$ref": "#/$defs/extProps"
|
|
2773
3074
|
}
|
|
2774
3075
|
}
|
|
2775
3076
|
},
|
|
@@ -2880,6 +3181,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2880
3181
|
"type": "string",
|
|
2881
3182
|
"maxLength": 2000
|
|
2882
3183
|
},
|
|
3184
|
+
"area": {
|
|
3185
|
+
"$ref": "#/$defs/area"
|
|
3186
|
+
},
|
|
2883
3187
|
"title": {
|
|
2884
3188
|
"$ref": "#/$defs/label"
|
|
2885
3189
|
},
|
|
@@ -2940,6 +3244,31 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2940
3244
|
"type": "string",
|
|
2941
3245
|
"maxLength": 2000,
|
|
2942
3246
|
"description": "Resumen accesible (obligatorio)."
|
|
3247
|
+
},
|
|
3248
|
+
"select": {
|
|
3249
|
+
"$ref": "#/$defs/statePath"
|
|
3250
|
+
},
|
|
3251
|
+
"popup": {
|
|
3252
|
+
"type": "array",
|
|
3253
|
+
"items": {
|
|
3254
|
+
"$ref": "#/$defs/key"
|
|
3255
|
+
},
|
|
3256
|
+
"maxItems": 8,
|
|
3257
|
+
"description": "Columnas de la fuente que se muestran al seleccionar un punto (maximo 8). Solo con source."
|
|
3258
|
+
},
|
|
3259
|
+
"precision": {
|
|
3260
|
+
"enum": [
|
|
3261
|
+
"exact",
|
|
3262
|
+
"city",
|
|
3263
|
+
"country"
|
|
3264
|
+
],
|
|
3265
|
+
"description": "Precision de ubicacion constante de todos los puntos. Excluye precision_field."
|
|
3266
|
+
},
|
|
3267
|
+
"precision_field": {
|
|
3268
|
+
"$ref": "#/$defs/key"
|
|
3269
|
+
},
|
|
3270
|
+
"area_field": {
|
|
3271
|
+
"$ref": "#/$defs/key"
|
|
2943
3272
|
}
|
|
2944
3273
|
}
|
|
2945
3274
|
},
|
|
@@ -2964,6 +3293,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
2964
3293
|
"type": "string",
|
|
2965
3294
|
"maxLength": 2000
|
|
2966
3295
|
},
|
|
3296
|
+
"area": {
|
|
3297
|
+
"$ref": "#/$defs/area"
|
|
3298
|
+
},
|
|
2967
3299
|
"label": {
|
|
2968
3300
|
"$ref": "#/$defs/label"
|
|
2969
3301
|
},
|
|
@@ -3120,6 +3452,9 @@ export const GENUI_V2_SCHEMA = {
|
|
|
3120
3452
|
"type": "string",
|
|
3121
3453
|
"maxLength": 2000
|
|
3122
3454
|
},
|
|
3455
|
+
"area": {
|
|
3456
|
+
"$ref": "#/$defs/area"
|
|
3457
|
+
},
|
|
3123
3458
|
"title": {
|
|
3124
3459
|
"$ref": "#/$defs/label"
|
|
3125
3460
|
},
|
|
@@ -3160,6 +3495,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3160
3495
|
"id",
|
|
3161
3496
|
"when",
|
|
3162
3497
|
"fallback",
|
|
3498
|
+
"area",
|
|
3163
3499
|
"direction",
|
|
3164
3500
|
"title",
|
|
3165
3501
|
"blocks"
|
|
@@ -3175,7 +3511,11 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3175
3511
|
"id",
|
|
3176
3512
|
"when",
|
|
3177
3513
|
"fallback",
|
|
3514
|
+
"area",
|
|
3178
3515
|
"columns",
|
|
3516
|
+
"rows",
|
|
3517
|
+
"areas",
|
|
3518
|
+
"mobile",
|
|
3179
3519
|
"title",
|
|
3180
3520
|
"blocks"
|
|
3181
3521
|
],
|
|
@@ -3190,8 +3530,15 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3190
3530
|
"id",
|
|
3191
3531
|
"when",
|
|
3192
3532
|
"fallback",
|
|
3533
|
+
"area",
|
|
3193
3534
|
"state",
|
|
3194
|
-
"tabs"
|
|
3535
|
+
"tabs",
|
|
3536
|
+
"variant",
|
|
3537
|
+
"default",
|
|
3538
|
+
"keep_alive",
|
|
3539
|
+
"chrome",
|
|
3540
|
+
"label",
|
|
3541
|
+
"mobile"
|
|
3195
3542
|
],
|
|
3196
3543
|
"required": [
|
|
3197
3544
|
"type",
|
|
@@ -3204,15 +3551,22 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3204
3551
|
"id",
|
|
3205
3552
|
"when",
|
|
3206
3553
|
"fallback",
|
|
3554
|
+
"area",
|
|
3207
3555
|
"title",
|
|
3208
3556
|
"collapsible",
|
|
3209
3557
|
"collapsed",
|
|
3210
|
-
"blocks"
|
|
3558
|
+
"blocks",
|
|
3559
|
+
"mode",
|
|
3560
|
+
"permission",
|
|
3561
|
+
"on_denied",
|
|
3562
|
+
"chrome",
|
|
3563
|
+
"source",
|
|
3564
|
+
"empty",
|
|
3565
|
+
"component",
|
|
3566
|
+
"props"
|
|
3211
3567
|
],
|
|
3212
3568
|
"required": [
|
|
3213
|
-
"type"
|
|
3214
|
-
"title",
|
|
3215
|
-
"blocks"
|
|
3569
|
+
"type"
|
|
3216
3570
|
]
|
|
3217
3571
|
},
|
|
3218
3572
|
"text": {
|
|
@@ -3221,6 +3575,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3221
3575
|
"id",
|
|
3222
3576
|
"when",
|
|
3223
3577
|
"fallback",
|
|
3578
|
+
"area",
|
|
3224
3579
|
"text",
|
|
3225
3580
|
"tone"
|
|
3226
3581
|
],
|
|
@@ -3235,6 +3590,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3235
3590
|
"id",
|
|
3236
3591
|
"when",
|
|
3237
3592
|
"fallback",
|
|
3593
|
+
"area",
|
|
3238
3594
|
"markdown"
|
|
3239
3595
|
],
|
|
3240
3596
|
"required": [
|
|
@@ -3248,6 +3604,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3248
3604
|
"id",
|
|
3249
3605
|
"when",
|
|
3250
3606
|
"fallback",
|
|
3607
|
+
"area",
|
|
3251
3608
|
"title",
|
|
3252
3609
|
"text",
|
|
3253
3610
|
"tone"
|
|
@@ -3263,6 +3620,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3263
3620
|
"id",
|
|
3264
3621
|
"when",
|
|
3265
3622
|
"fallback",
|
|
3623
|
+
"area",
|
|
3266
3624
|
"title",
|
|
3267
3625
|
"text",
|
|
3268
3626
|
"icon",
|
|
@@ -3279,6 +3637,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3279
3637
|
"id",
|
|
3280
3638
|
"when",
|
|
3281
3639
|
"fallback",
|
|
3640
|
+
"area",
|
|
3282
3641
|
"title",
|
|
3283
3642
|
"subtitle",
|
|
3284
3643
|
"body",
|
|
@@ -3299,6 +3658,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3299
3658
|
"id",
|
|
3300
3659
|
"when",
|
|
3301
3660
|
"fallback",
|
|
3661
|
+
"area",
|
|
3302
3662
|
"title",
|
|
3303
3663
|
"items"
|
|
3304
3664
|
],
|
|
@@ -3313,6 +3673,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3313
3673
|
"id",
|
|
3314
3674
|
"when",
|
|
3315
3675
|
"fallback",
|
|
3676
|
+
"area",
|
|
3316
3677
|
"title",
|
|
3317
3678
|
"items"
|
|
3318
3679
|
],
|
|
@@ -3321,12 +3682,34 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3321
3682
|
"items"
|
|
3322
3683
|
]
|
|
3323
3684
|
},
|
|
3685
|
+
"kpi_card": {
|
|
3686
|
+
"allowed": [
|
|
3687
|
+
"type",
|
|
3688
|
+
"id",
|
|
3689
|
+
"when",
|
|
3690
|
+
"fallback",
|
|
3691
|
+
"area",
|
|
3692
|
+
"label",
|
|
3693
|
+
"value",
|
|
3694
|
+
"format",
|
|
3695
|
+
"trend",
|
|
3696
|
+
"tone",
|
|
3697
|
+
"hint",
|
|
3698
|
+
"cta"
|
|
3699
|
+
],
|
|
3700
|
+
"required": [
|
|
3701
|
+
"type",
|
|
3702
|
+
"label",
|
|
3703
|
+
"value"
|
|
3704
|
+
]
|
|
3705
|
+
},
|
|
3324
3706
|
"stats": {
|
|
3325
3707
|
"allowed": [
|
|
3326
3708
|
"type",
|
|
3327
3709
|
"id",
|
|
3328
3710
|
"when",
|
|
3329
3711
|
"fallback",
|
|
3712
|
+
"area",
|
|
3330
3713
|
"title",
|
|
3331
3714
|
"source",
|
|
3332
3715
|
"format",
|
|
@@ -3344,6 +3727,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3344
3727
|
"id",
|
|
3345
3728
|
"when",
|
|
3346
3729
|
"fallback",
|
|
3730
|
+
"area",
|
|
3347
3731
|
"title",
|
|
3348
3732
|
"items"
|
|
3349
3733
|
],
|
|
@@ -3358,6 +3742,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3358
3742
|
"id",
|
|
3359
3743
|
"when",
|
|
3360
3744
|
"fallback",
|
|
3745
|
+
"area",
|
|
3361
3746
|
"title",
|
|
3362
3747
|
"items",
|
|
3363
3748
|
"source"
|
|
@@ -3372,6 +3757,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3372
3757
|
"id",
|
|
3373
3758
|
"when",
|
|
3374
3759
|
"fallback",
|
|
3760
|
+
"area",
|
|
3375
3761
|
"title",
|
|
3376
3762
|
"caption",
|
|
3377
3763
|
"columns",
|
|
@@ -3394,6 +3780,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3394
3780
|
"id",
|
|
3395
3781
|
"when",
|
|
3396
3782
|
"fallback",
|
|
3783
|
+
"area",
|
|
3397
3784
|
"title",
|
|
3398
3785
|
"model",
|
|
3399
3786
|
"view",
|
|
@@ -3411,6 +3798,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3411
3798
|
"id",
|
|
3412
3799
|
"when",
|
|
3413
3800
|
"fallback",
|
|
3801
|
+
"area",
|
|
3414
3802
|
"title",
|
|
3415
3803
|
"model",
|
|
3416
3804
|
"record",
|
|
@@ -3428,6 +3816,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3428
3816
|
"id",
|
|
3429
3817
|
"when",
|
|
3430
3818
|
"fallback",
|
|
3819
|
+
"area",
|
|
3431
3820
|
"title",
|
|
3432
3821
|
"kind",
|
|
3433
3822
|
"x",
|
|
@@ -3453,6 +3842,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3453
3842
|
"id",
|
|
3454
3843
|
"when",
|
|
3455
3844
|
"fallback",
|
|
3845
|
+
"area",
|
|
3456
3846
|
"title",
|
|
3457
3847
|
"description",
|
|
3458
3848
|
"fields",
|
|
@@ -3471,6 +3861,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3471
3861
|
"id",
|
|
3472
3862
|
"when",
|
|
3473
3863
|
"fallback",
|
|
3864
|
+
"area",
|
|
3474
3865
|
"title",
|
|
3475
3866
|
"description",
|
|
3476
3867
|
"fields",
|
|
@@ -3488,6 +3879,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3488
3879
|
"id",
|
|
3489
3880
|
"when",
|
|
3490
3881
|
"fallback",
|
|
3882
|
+
"area",
|
|
3491
3883
|
"title",
|
|
3492
3884
|
"description",
|
|
3493
3885
|
"fields",
|
|
@@ -3508,6 +3900,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3508
3900
|
"id",
|
|
3509
3901
|
"when",
|
|
3510
3902
|
"fallback",
|
|
3903
|
+
"area",
|
|
3511
3904
|
"addon",
|
|
3512
3905
|
"keys",
|
|
3513
3906
|
"scope",
|
|
@@ -3525,6 +3918,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3525
3918
|
"id",
|
|
3526
3919
|
"when",
|
|
3527
3920
|
"fallback",
|
|
3921
|
+
"area",
|
|
3528
3922
|
"src",
|
|
3529
3923
|
"alt",
|
|
3530
3924
|
"width",
|
|
@@ -3545,6 +3939,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3545
3939
|
"id",
|
|
3546
3940
|
"when",
|
|
3547
3941
|
"fallback",
|
|
3942
|
+
"area",
|
|
3548
3943
|
"name",
|
|
3549
3944
|
"record"
|
|
3550
3945
|
],
|
|
@@ -3559,6 +3954,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3559
3954
|
"id",
|
|
3560
3955
|
"when",
|
|
3561
3956
|
"fallback",
|
|
3957
|
+
"area",
|
|
3562
3958
|
"ext",
|
|
3563
3959
|
"props"
|
|
3564
3960
|
],
|
|
@@ -3573,6 +3969,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3573
3969
|
"id",
|
|
3574
3970
|
"when",
|
|
3575
3971
|
"fallback",
|
|
3972
|
+
"area",
|
|
3576
3973
|
"title",
|
|
3577
3974
|
"points",
|
|
3578
3975
|
"source",
|
|
@@ -3585,7 +3982,12 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3585
3982
|
"detail_panel",
|
|
3586
3983
|
"on_select",
|
|
3587
3984
|
"height",
|
|
3588
|
-
"summary"
|
|
3985
|
+
"summary",
|
|
3986
|
+
"select",
|
|
3987
|
+
"popup",
|
|
3988
|
+
"precision",
|
|
3989
|
+
"precision_field",
|
|
3990
|
+
"area_field"
|
|
3589
3991
|
],
|
|
3590
3992
|
"required": [
|
|
3591
3993
|
"type",
|
|
@@ -3598,6 +4000,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3598
4000
|
"id",
|
|
3599
4001
|
"when",
|
|
3600
4002
|
"fallback",
|
|
4003
|
+
"area",
|
|
3601
4004
|
"label",
|
|
3602
4005
|
"value",
|
|
3603
4006
|
"source",
|
|
@@ -3623,6 +4026,7 @@ export const GENUI_V2_BLOCKS = {
|
|
|
3623
4026
|
"id",
|
|
3624
4027
|
"when",
|
|
3625
4028
|
"fallback",
|
|
4029
|
+
"area",
|
|
3626
4030
|
"title",
|
|
3627
4031
|
"direction",
|
|
3628
4032
|
"nodes",
|