@genesislcap/foundation-entity-management 14.211.0 → 14.211.1-FUI-2213.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.
- package/dist/custom-elements.json +196 -146
- package/dist/dts/entities/entities.styles.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +10 -0
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/esm/entities/entities.styles.js +6 -0
- package/dist/esm/entities/entities.template.js +12 -3
- package/dist/esm/list/list.js +71 -1
- package/dist/esm/list/list.template.js +20 -20
- package/package.json +21 -21
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
{
|
|
130
130
|
"kind": "variable",
|
|
131
131
|
"name": "styles",
|
|
132
|
-
"default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .crud-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px);\n }\n`",
|
|
132
|
+
"default": "css`\n :host {\n contain: content;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n user-select: none;\n padding: 0 calc(var(--design-unit) * 2px);\n }\n\n :host([modal-position='centre']) .edit-modal {\n overflow-y: auto;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n .header-title {\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-plus-4-font-size);\n font-family: var(--body-font);\n font-weight: 700;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n\n .crud-buttons {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .crud-buttons-wrapper {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n justify-content: flex-end;\n }\n\n .crud-buttons-wrapper-column,\n .crud-buttons-wrapper-top {\n flex: 1;\n padding: calc(var(--design-unit) * 2px) 0;\n }\n\n .crud-buttons-wrapper-bottom {\n padding: calc(var(--design-unit) * 2px);\n }\n`",
|
|
133
133
|
"description": "Defines the css of the entity component as an ElementStyles object"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
@@ -1185,151 +1185,6 @@
|
|
|
1185
1185
|
}
|
|
1186
1186
|
]
|
|
1187
1187
|
},
|
|
1188
|
-
{
|
|
1189
|
-
"kind": "javascript-module",
|
|
1190
|
-
"path": "src/main/index.ts",
|
|
1191
|
-
"declarations": [],
|
|
1192
|
-
"exports": [
|
|
1193
|
-
{
|
|
1194
|
-
"kind": "js",
|
|
1195
|
-
"name": "*",
|
|
1196
|
-
"declaration": {
|
|
1197
|
-
"name": "*",
|
|
1198
|
-
"package": "./main.template"
|
|
1199
|
-
}
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"kind": "js",
|
|
1203
|
-
"name": "*",
|
|
1204
|
-
"declaration": {
|
|
1205
|
-
"name": "*",
|
|
1206
|
-
"package": "./main"
|
|
1207
|
-
}
|
|
1208
|
-
}
|
|
1209
|
-
]
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
"kind": "javascript-module",
|
|
1213
|
-
"path": "src/main/main.styles.ts",
|
|
1214
|
-
"declarations": [
|
|
1215
|
-
{
|
|
1216
|
-
"kind": "variable",
|
|
1217
|
-
"name": "MainStyles",
|
|
1218
|
-
"default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
|
|
1219
|
-
}
|
|
1220
|
-
],
|
|
1221
|
-
"exports": [
|
|
1222
|
-
{
|
|
1223
|
-
"kind": "js",
|
|
1224
|
-
"name": "MainStyles",
|
|
1225
|
-
"declaration": {
|
|
1226
|
-
"name": "MainStyles",
|
|
1227
|
-
"module": "src/main/main.styles.ts"
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
]
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"kind": "javascript-module",
|
|
1234
|
-
"path": "src/main/main.template.ts",
|
|
1235
|
-
"declarations": [],
|
|
1236
|
-
"exports": []
|
|
1237
|
-
},
|
|
1238
|
-
{
|
|
1239
|
-
"kind": "javascript-module",
|
|
1240
|
-
"path": "src/main/main.ts",
|
|
1241
|
-
"declarations": [
|
|
1242
|
-
{
|
|
1243
|
-
"kind": "class",
|
|
1244
|
-
"description": "",
|
|
1245
|
-
"name": "MainApplication",
|
|
1246
|
-
"members": [
|
|
1247
|
-
{
|
|
1248
|
-
"kind": "field",
|
|
1249
|
-
"name": "config",
|
|
1250
|
-
"type": {
|
|
1251
|
-
"text": "MainRouterConfig"
|
|
1252
|
-
}
|
|
1253
|
-
},
|
|
1254
|
-
{
|
|
1255
|
-
"kind": "field",
|
|
1256
|
-
"name": "connect",
|
|
1257
|
-
"type": {
|
|
1258
|
-
"text": "Connect"
|
|
1259
|
-
}
|
|
1260
|
-
},
|
|
1261
|
-
{
|
|
1262
|
-
"kind": "field",
|
|
1263
|
-
"name": "session",
|
|
1264
|
-
"type": {
|
|
1265
|
-
"text": "Session"
|
|
1266
|
-
}
|
|
1267
|
-
},
|
|
1268
|
-
{
|
|
1269
|
-
"kind": "field",
|
|
1270
|
-
"name": "container",
|
|
1271
|
-
"type": {
|
|
1272
|
-
"text": "Container"
|
|
1273
|
-
}
|
|
1274
|
-
},
|
|
1275
|
-
{
|
|
1276
|
-
"kind": "field",
|
|
1277
|
-
"name": "provider",
|
|
1278
|
-
"type": {
|
|
1279
|
-
"text": "HTMLElement"
|
|
1280
|
-
}
|
|
1281
|
-
},
|
|
1282
|
-
{
|
|
1283
|
-
"kind": "field",
|
|
1284
|
-
"name": "ready",
|
|
1285
|
-
"type": {
|
|
1286
|
-
"text": "boolean"
|
|
1287
|
-
},
|
|
1288
|
-
"default": "false"
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
"kind": "method",
|
|
1292
|
-
"name": "onLuminanceToggle"
|
|
1293
|
-
},
|
|
1294
|
-
{
|
|
1295
|
-
"kind": "method",
|
|
1296
|
-
"name": "loadRemotes"
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
"kind": "method",
|
|
1300
|
-
"name": "selectTemplate"
|
|
1301
|
-
},
|
|
1302
|
-
{
|
|
1303
|
-
"kind": "method",
|
|
1304
|
-
"name": "registerDIDependencies",
|
|
1305
|
-
"privacy": "private"
|
|
1306
|
-
}
|
|
1307
|
-
],
|
|
1308
|
-
"superclass": {
|
|
1309
|
-
"name": "FASTElement",
|
|
1310
|
-
"package": "@microsoft/fast-element"
|
|
1311
|
-
},
|
|
1312
|
-
"customElement": true
|
|
1313
|
-
}
|
|
1314
|
-
],
|
|
1315
|
-
"exports": [
|
|
1316
|
-
{
|
|
1317
|
-
"kind": "js",
|
|
1318
|
-
"name": "MainApplication",
|
|
1319
|
-
"declaration": {
|
|
1320
|
-
"name": "MainApplication",
|
|
1321
|
-
"module": "src/main/main.ts"
|
|
1322
|
-
}
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"kind": "custom-element-definition",
|
|
1326
|
-
"declaration": {
|
|
1327
|
-
"name": "MainApplication",
|
|
1328
|
-
"module": "src/main/main.ts"
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
]
|
|
1332
|
-
},
|
|
1333
1188
|
{
|
|
1334
1189
|
"kind": "javascript-module",
|
|
1335
1190
|
"path": "src/list/index.ts",
|
|
@@ -1613,6 +1468,56 @@
|
|
|
1613
1468
|
}
|
|
1614
1469
|
]
|
|
1615
1470
|
},
|
|
1471
|
+
{
|
|
1472
|
+
"kind": "field",
|
|
1473
|
+
"name": "criteria",
|
|
1474
|
+
"readonly": true
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"kind": "field",
|
|
1478
|
+
"name": "fields",
|
|
1479
|
+
"readonly": true
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"kind": "field",
|
|
1483
|
+
"name": "isSnapshot",
|
|
1484
|
+
"readonly": true
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"kind": "field",
|
|
1488
|
+
"name": "maxRows",
|
|
1489
|
+
"readonly": true
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"kind": "field",
|
|
1493
|
+
"name": "maxView",
|
|
1494
|
+
"readonly": true
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"kind": "field",
|
|
1498
|
+
"name": "movingView",
|
|
1499
|
+
"readonly": true
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "field",
|
|
1503
|
+
"name": "orderBy",
|
|
1504
|
+
"readonly": true
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"kind": "field",
|
|
1508
|
+
"name": "pollingInterval",
|
|
1509
|
+
"readonly": true
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"kind": "field",
|
|
1513
|
+
"name": "request",
|
|
1514
|
+
"readonly": true
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"kind": "field",
|
|
1518
|
+
"name": "reverse",
|
|
1519
|
+
"readonly": true
|
|
1520
|
+
},
|
|
1616
1521
|
{
|
|
1617
1522
|
"kind": "method",
|
|
1618
1523
|
"name": "handleFilterChanged",
|
|
@@ -1830,6 +1735,151 @@
|
|
|
1830
1735
|
}
|
|
1831
1736
|
]
|
|
1832
1737
|
},
|
|
1738
|
+
{
|
|
1739
|
+
"kind": "javascript-module",
|
|
1740
|
+
"path": "src/main/index.ts",
|
|
1741
|
+
"declarations": [],
|
|
1742
|
+
"exports": [
|
|
1743
|
+
{
|
|
1744
|
+
"kind": "js",
|
|
1745
|
+
"name": "*",
|
|
1746
|
+
"declaration": {
|
|
1747
|
+
"name": "*",
|
|
1748
|
+
"package": "./main.template"
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"kind": "js",
|
|
1753
|
+
"name": "*",
|
|
1754
|
+
"declaration": {
|
|
1755
|
+
"name": "*",
|
|
1756
|
+
"package": "./main"
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
]
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"kind": "javascript-module",
|
|
1763
|
+
"path": "src/main/main.styles.ts",
|
|
1764
|
+
"declarations": [
|
|
1765
|
+
{
|
|
1766
|
+
"kind": "variable",
|
|
1767
|
+
"name": "MainStyles",
|
|
1768
|
+
"default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
|
|
1769
|
+
}
|
|
1770
|
+
],
|
|
1771
|
+
"exports": [
|
|
1772
|
+
{
|
|
1773
|
+
"kind": "js",
|
|
1774
|
+
"name": "MainStyles",
|
|
1775
|
+
"declaration": {
|
|
1776
|
+
"name": "MainStyles",
|
|
1777
|
+
"module": "src/main/main.styles.ts"
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
]
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
"kind": "javascript-module",
|
|
1784
|
+
"path": "src/main/main.template.ts",
|
|
1785
|
+
"declarations": [],
|
|
1786
|
+
"exports": []
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"kind": "javascript-module",
|
|
1790
|
+
"path": "src/main/main.ts",
|
|
1791
|
+
"declarations": [
|
|
1792
|
+
{
|
|
1793
|
+
"kind": "class",
|
|
1794
|
+
"description": "",
|
|
1795
|
+
"name": "MainApplication",
|
|
1796
|
+
"members": [
|
|
1797
|
+
{
|
|
1798
|
+
"kind": "field",
|
|
1799
|
+
"name": "config",
|
|
1800
|
+
"type": {
|
|
1801
|
+
"text": "MainRouterConfig"
|
|
1802
|
+
}
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"kind": "field",
|
|
1806
|
+
"name": "connect",
|
|
1807
|
+
"type": {
|
|
1808
|
+
"text": "Connect"
|
|
1809
|
+
}
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"kind": "field",
|
|
1813
|
+
"name": "session",
|
|
1814
|
+
"type": {
|
|
1815
|
+
"text": "Session"
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"kind": "field",
|
|
1820
|
+
"name": "container",
|
|
1821
|
+
"type": {
|
|
1822
|
+
"text": "Container"
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"kind": "field",
|
|
1827
|
+
"name": "provider",
|
|
1828
|
+
"type": {
|
|
1829
|
+
"text": "HTMLElement"
|
|
1830
|
+
}
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"kind": "field",
|
|
1834
|
+
"name": "ready",
|
|
1835
|
+
"type": {
|
|
1836
|
+
"text": "boolean"
|
|
1837
|
+
},
|
|
1838
|
+
"default": "false"
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"kind": "method",
|
|
1842
|
+
"name": "onLuminanceToggle"
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
"kind": "method",
|
|
1846
|
+
"name": "loadRemotes"
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"kind": "method",
|
|
1850
|
+
"name": "selectTemplate"
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"kind": "method",
|
|
1854
|
+
"name": "registerDIDependencies",
|
|
1855
|
+
"privacy": "private"
|
|
1856
|
+
}
|
|
1857
|
+
],
|
|
1858
|
+
"superclass": {
|
|
1859
|
+
"name": "FASTElement",
|
|
1860
|
+
"package": "@microsoft/fast-element"
|
|
1861
|
+
},
|
|
1862
|
+
"customElement": true
|
|
1863
|
+
}
|
|
1864
|
+
],
|
|
1865
|
+
"exports": [
|
|
1866
|
+
{
|
|
1867
|
+
"kind": "js",
|
|
1868
|
+
"name": "MainApplication",
|
|
1869
|
+
"declaration": {
|
|
1870
|
+
"name": "MainApplication",
|
|
1871
|
+
"module": "src/main/main.ts"
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"kind": "custom-element-definition",
|
|
1876
|
+
"declaration": {
|
|
1877
|
+
"name": "MainApplication",
|
|
1878
|
+
"module": "src/main/main.ts"
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
]
|
|
1882
|
+
},
|
|
1833
1883
|
{
|
|
1834
1884
|
"kind": "javascript-module",
|
|
1835
1885
|
"path": "src/profiles/editProfileSchema.ts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,iDAyElB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAoBnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAsB,gBAAgB,0EAkDrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,gBAAgB,EAAc,MAAM,UAAU,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAoBnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAsB,gBAAgB,0EAkDrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,wFAgBlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAQzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAc3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAyD/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -370,6 +370,16 @@ export declare class List extends List_base {
|
|
|
370
370
|
connectedCallback(): void;
|
|
371
371
|
private onCellEditingStopped;
|
|
372
372
|
disconnectedCallback(): Promise<void>;
|
|
373
|
+
get criteria(): string;
|
|
374
|
+
get fields(): string;
|
|
375
|
+
get isSnapshot(): boolean;
|
|
376
|
+
get maxRows(): number;
|
|
377
|
+
get maxView(): number;
|
|
378
|
+
get movingView(): boolean;
|
|
379
|
+
get orderBy(): string;
|
|
380
|
+
get pollingInterval(): number;
|
|
381
|
+
get request(): any;
|
|
382
|
+
get reverse(): boolean;
|
|
373
383
|
private handleFilterChanged;
|
|
374
384
|
private handleFilterCleared;
|
|
375
385
|
private select;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAyB,MAAM,yBAAyB,CAAC;AAE1F,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAA2C,MAAM,uBAAuB,CAAC;AAChG,OAAO,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAyB,MAAM,yBAAyB,CAAC;AAE1F,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAA2C,MAAM,uBAAuB,CAAC;AAChG,OAAO,EAIL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKpE,qBAKa,IAAK,SAAQ,SAA2B;IACnD;;;OAGG;IAC0C,MAAM,EAAE,MAAM,CAAU;IAE/D,YAAY,EAAE,MAAM,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAM;IACwB,qBAAqB,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IACjD,YAAY,EAAE,MAAM,CAAC;IACA,eAAe,EAAE,OAAO,CAAC;IACjC,QAAQ,UAAS;IACd,WAAW,UAAS;IACpB,WAAW,UAAQ;IACX,kBAAkB,UAAS;IAC5B,iBAAiB,UAAS;IACpC,QAAQ,UAAS;IACf,UAAU,UAAS;IAChC,cAAc,EAAE,cAAc,CAAY;IACzC,cAAc,EAAE,eAAe,CAAC;IAClE,IAAI,EAAG,WAAW,CAAC;IACnB,UAAU,EAAG,wBAAwB,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,mBAAmB,QAAM;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAErC,IAAI,sBAAsB,IAAI,OAAO,CAEpC;IAED,iBAAiB;YAgEH,oBAAoB;IA+C5B,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAa3C,IACI,QAAQ,WAEX;IAED,IACI,MAAM,WAET;IAED,IACI,UAAU,YAEb;IAED,IACI,OAAO,WAEV;IAED,IACI,OAAO,WAEV;IAED,IACI,UAAU,YAEb;IAED,IACI,OAAO,WAEV;IAED,IACI,eAAe,WAElB;IAED,IACI,OAAO,QAEV;IAED,IACI,OAAO,YAEV;IAED,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
|
@@ -71,6 +71,12 @@ export const styles = css `
|
|
|
71
71
|
justify-content: flex-end;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
.crud-buttons-wrapper-column,
|
|
75
|
+
.crud-buttons-wrapper-top {
|
|
76
|
+
flex: 1;
|
|
77
|
+
padding: calc(var(--design-unit) * 2px) 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
74
80
|
.crud-buttons-wrapper-bottom {
|
|
75
81
|
padding: calc(var(--design-unit) * 2px);
|
|
76
82
|
}
|
|
@@ -64,7 +64,12 @@ export const headerCrudAreaTemplate = (prefix) => html `
|
|
|
64
64
|
${when((x) => x.crudMenuPosition === CrudMenuPosition.Column &&
|
|
65
65
|
!x.hasContentInSlot('crud-top') &&
|
|
66
66
|
!x.hasContentInSlot('crud-bottom'), html `
|
|
67
|
-
|
|
67
|
+
<section
|
|
68
|
+
part=${() => `crud-buttons-wrapper crud-buttons-wrapper-column`}
|
|
69
|
+
class=${() => `crud-buttons-wrapper crud-buttons-wrapper-column`}
|
|
70
|
+
>
|
|
71
|
+
${addButtonTemplate(prefix)}
|
|
72
|
+
</section
|
|
68
73
|
`)}
|
|
69
74
|
`;
|
|
70
75
|
/**
|
|
@@ -72,7 +77,9 @@ export const headerCrudAreaTemplate = (prefix) => html `
|
|
|
72
77
|
* @internal
|
|
73
78
|
*/
|
|
74
79
|
export const defaultHeader = (prefix) => html `
|
|
75
|
-
|
|
80
|
+
${when((x) => x.title, html `
|
|
81
|
+
<h3 class="header-title">${(x) => x.title}</h3>
|
|
82
|
+
`)}
|
|
76
83
|
${headerCrudAreaTemplate(prefix)}
|
|
77
84
|
`;
|
|
78
85
|
/**
|
|
@@ -80,7 +87,9 @@ export const defaultHeader = (prefix) => html `
|
|
|
80
87
|
* @internal
|
|
81
88
|
*/
|
|
82
89
|
export const searchBarHeader = (prefix) => html `
|
|
83
|
-
|
|
90
|
+
${when((x) => x.title, html `
|
|
91
|
+
<h3 class="header-title">${(x) => x.title}</h3>
|
|
92
|
+
`)}
|
|
84
93
|
<div class="search-container">
|
|
85
94
|
<${prefix}-search-bar
|
|
86
95
|
:options="${(x) => x.searchBarConfig}"
|
package/dist/esm/list/list.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Connect } from '@genesislcap/foundation-comms';
|
|
|
4
4
|
import { LifecycleMixin } from '@genesislcap/foundation-utils';
|
|
5
5
|
import { GRID_READY_EVENT, } from '@genesislcap/foundation-zero-grid-pro';
|
|
6
6
|
import { EDITED_COLUMN_FIELD, ERROR_COLUMN_FIELD } from '@genesislcap/grid-pro';
|
|
7
|
-
import { attr, customElement, DOM, FASTElement, html, observable } from '@microsoft/fast-element';
|
|
7
|
+
import { attr, customElement, DOM, FASTElement, html, observable, volatile, } from '@microsoft/fast-element';
|
|
8
8
|
import { buttonCellRenderer } from '../utils';
|
|
9
9
|
import { listStyles } from './list.styles';
|
|
10
10
|
import { listTemplate } from './list.template';
|
|
@@ -123,6 +123,46 @@ let List = class List extends LifecycleMixin(FASTElement) {
|
|
|
123
123
|
});
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
+
get criteria() {
|
|
127
|
+
var _a;
|
|
128
|
+
return (_a = this.datasourceConfig) === null || _a === void 0 ? void 0 : _a.criteria;
|
|
129
|
+
}
|
|
130
|
+
get fields() {
|
|
131
|
+
var _a;
|
|
132
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.fields;
|
|
133
|
+
}
|
|
134
|
+
get isSnapshot() {
|
|
135
|
+
var _a;
|
|
136
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.isSnapshot;
|
|
137
|
+
}
|
|
138
|
+
get maxRows() {
|
|
139
|
+
var _a;
|
|
140
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.maxRows;
|
|
141
|
+
}
|
|
142
|
+
get maxView() {
|
|
143
|
+
var _a;
|
|
144
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.maxView;
|
|
145
|
+
}
|
|
146
|
+
get movingView() {
|
|
147
|
+
var _a;
|
|
148
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.movingView;
|
|
149
|
+
}
|
|
150
|
+
get orderBy() {
|
|
151
|
+
var _a;
|
|
152
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.orderBy;
|
|
153
|
+
}
|
|
154
|
+
get pollingInterval() {
|
|
155
|
+
var _a;
|
|
156
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.pollingInterval;
|
|
157
|
+
}
|
|
158
|
+
get request() {
|
|
159
|
+
var _a;
|
|
160
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.request;
|
|
161
|
+
}
|
|
162
|
+
get reverse() {
|
|
163
|
+
var _a;
|
|
164
|
+
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.reverse;
|
|
165
|
+
}
|
|
126
166
|
handleFilterChanged(e) {
|
|
127
167
|
var _a, _b;
|
|
128
168
|
const fieldName = (_a = e === null || e === void 0 ? void 0 : e.detail) === null || _a === void 0 ? void 0 : _a.fieldName;
|
|
@@ -215,6 +255,36 @@ __decorate([
|
|
|
215
255
|
__decorate([
|
|
216
256
|
Connect
|
|
217
257
|
], List.prototype, "connect", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
volatile
|
|
260
|
+
], List.prototype, "criteria", null);
|
|
261
|
+
__decorate([
|
|
262
|
+
volatile
|
|
263
|
+
], List.prototype, "fields", null);
|
|
264
|
+
__decorate([
|
|
265
|
+
volatile
|
|
266
|
+
], List.prototype, "isSnapshot", null);
|
|
267
|
+
__decorate([
|
|
268
|
+
volatile
|
|
269
|
+
], List.prototype, "maxRows", null);
|
|
270
|
+
__decorate([
|
|
271
|
+
volatile
|
|
272
|
+
], List.prototype, "maxView", null);
|
|
273
|
+
__decorate([
|
|
274
|
+
volatile
|
|
275
|
+
], List.prototype, "movingView", null);
|
|
276
|
+
__decorate([
|
|
277
|
+
volatile
|
|
278
|
+
], List.prototype, "orderBy", null);
|
|
279
|
+
__decorate([
|
|
280
|
+
volatile
|
|
281
|
+
], List.prototype, "pollingInterval", null);
|
|
282
|
+
__decorate([
|
|
283
|
+
volatile
|
|
284
|
+
], List.prototype, "request", null);
|
|
285
|
+
__decorate([
|
|
286
|
+
volatile
|
|
287
|
+
], List.prototype, "reverse", null);
|
|
218
288
|
List = __decorate([
|
|
219
289
|
customElement({
|
|
220
290
|
name: 'entity-list',
|
|
@@ -6,34 +6,34 @@ const datasource = (list) => {
|
|
|
6
6
|
<grid-pro-server-side-datasource
|
|
7
7
|
${ref('datasource')}
|
|
8
8
|
:deferredGridOptions=${(x) => x.gridOptions}
|
|
9
|
-
criteria=${(x) =>
|
|
10
|
-
fields=${(x) =>
|
|
11
|
-
is-snapshot=${(x) =>
|
|
12
|
-
max-rows=${(x) =>
|
|
13
|
-
max-view=${(x) =>
|
|
14
|
-
moving-view=${(x) =>
|
|
15
|
-
order-by=${(x) =>
|
|
16
|
-
polling-interval=${(x) =>
|
|
9
|
+
criteria=${(x) => x.criteria}
|
|
10
|
+
fields=${(x) => x.fields}
|
|
11
|
+
is-snapshot=${(x) => x.isSnapshot}
|
|
12
|
+
max-rows=${(x) => x.maxRows}
|
|
13
|
+
max-view=${(x) => x.maxView}
|
|
14
|
+
moving-view=${(x) => x.movingView}
|
|
15
|
+
order-by=${(x) => x.orderBy}
|
|
16
|
+
polling-interval=${(x) => x.pollingInterval}
|
|
17
17
|
resource-name=${(x) => x.resourceName}
|
|
18
|
-
:request=${(x) =>
|
|
19
|
-
reverse=${(x) =>
|
|
18
|
+
:request=${(x) => x.request}
|
|
19
|
+
reverse=${(x) => x.reverse}
|
|
20
20
|
></grid-pro-server-side-datasource>
|
|
21
21
|
`
|
|
22
22
|
: html `
|
|
23
23
|
<grid-pro-client-side-datasource
|
|
24
24
|
${ref('datasource')}
|
|
25
25
|
:deferredGridOptions=${(x) => x.gridOptions}
|
|
26
|
-
criteria=${(x) =>
|
|
27
|
-
fields=${(x) =>
|
|
28
|
-
is-snapshot=${(x) =>
|
|
29
|
-
max-rows=${(x) =>
|
|
30
|
-
max-view=${(x) =>
|
|
31
|
-
moving-view=${(x) =>
|
|
32
|
-
order-by=${(x) =>
|
|
33
|
-
polling-interval=${(x) =>
|
|
26
|
+
criteria=${(x) => x.criteria}
|
|
27
|
+
fields=${(x) => x.fields}
|
|
28
|
+
is-snapshot=${(x) => x.isSnapshot}
|
|
29
|
+
max-rows=${(x) => x.maxRows}
|
|
30
|
+
max-view=${(x) => x.maxView}
|
|
31
|
+
moving-view=${(x) => x.movingView}
|
|
32
|
+
order-by=${(x) => x.orderBy}
|
|
33
|
+
polling-interval=${(x) => x.pollingInterval}
|
|
34
34
|
resource-name=${(x) => x.resourceName}
|
|
35
|
-
:request=${(x) =>
|
|
36
|
-
reverse=${(x) =>
|
|
35
|
+
:request=${(x) => x.request}
|
|
36
|
+
reverse=${(x) => x.reverse}
|
|
37
37
|
></grid-pro-client-side-datasource>
|
|
38
38
|
`;
|
|
39
39
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-entity-management",
|
|
3
3
|
"description": "Genesis Foundation Entity Management",
|
|
4
|
-
"version": "14.211.
|
|
4
|
+
"version": "14.211.1-FUI-2213.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -52,29 +52,29 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@genesislcap/foundation-testing": "14.211.
|
|
56
|
-
"@genesislcap/genx": "14.211.
|
|
57
|
-
"@genesislcap/rollup-builder": "14.211.
|
|
58
|
-
"@genesislcap/ts-builder": "14.211.
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "14.211.
|
|
60
|
-
"@genesislcap/vite-builder": "14.211.
|
|
61
|
-
"@genesislcap/webpack-builder": "14.211.
|
|
55
|
+
"@genesislcap/foundation-testing": "14.211.1-FUI-2213.1",
|
|
56
|
+
"@genesislcap/genx": "14.211.1-FUI-2213.1",
|
|
57
|
+
"@genesislcap/rollup-builder": "14.211.1-FUI-2213.1",
|
|
58
|
+
"@genesislcap/ts-builder": "14.211.1-FUI-2213.1",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "14.211.1-FUI-2213.1",
|
|
60
|
+
"@genesislcap/vite-builder": "14.211.1-FUI-2213.1",
|
|
61
|
+
"@genesislcap/webpack-builder": "14.211.1-FUI-2213.1",
|
|
62
62
|
"rimraf": "^5.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@ag-grid-community/core": "29.2.0",
|
|
66
|
-
"@genesislcap/foundation-comms": "14.211.
|
|
67
|
-
"@genesislcap/foundation-errors": "14.211.
|
|
68
|
-
"@genesislcap/foundation-events": "14.211.
|
|
69
|
-
"@genesislcap/foundation-forms": "14.211.
|
|
70
|
-
"@genesislcap/foundation-logger": "14.211.
|
|
71
|
-
"@genesislcap/foundation-login": "14.211.
|
|
72
|
-
"@genesislcap/foundation-notifications": "14.211.
|
|
73
|
-
"@genesislcap/foundation-ui": "14.211.
|
|
74
|
-
"@genesislcap/foundation-utils": "14.211.
|
|
75
|
-
"@genesislcap/foundation-zero": "14.211.
|
|
76
|
-
"@genesislcap/foundation-zero-grid-pro": "14.211.
|
|
77
|
-
"@genesislcap/grid-pro": "14.211.
|
|
66
|
+
"@genesislcap/foundation-comms": "14.211.1-FUI-2213.1",
|
|
67
|
+
"@genesislcap/foundation-errors": "14.211.1-FUI-2213.1",
|
|
68
|
+
"@genesislcap/foundation-events": "14.211.1-FUI-2213.1",
|
|
69
|
+
"@genesislcap/foundation-forms": "14.211.1-FUI-2213.1",
|
|
70
|
+
"@genesislcap/foundation-logger": "14.211.1-FUI-2213.1",
|
|
71
|
+
"@genesislcap/foundation-login": "14.211.1-FUI-2213.1",
|
|
72
|
+
"@genesislcap/foundation-notifications": "14.211.1-FUI-2213.1",
|
|
73
|
+
"@genesislcap/foundation-ui": "14.211.1-FUI-2213.1",
|
|
74
|
+
"@genesislcap/foundation-utils": "14.211.1-FUI-2213.1",
|
|
75
|
+
"@genesislcap/foundation-zero": "14.211.1-FUI-2213.1",
|
|
76
|
+
"@genesislcap/foundation-zero-grid-pro": "14.211.1-FUI-2213.1",
|
|
77
|
+
"@genesislcap/grid-pro": "14.211.1-FUI-2213.1",
|
|
78
78
|
"@microsoft/fast-components": "^2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "^1.12.0",
|
|
80
80
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"access": "public"
|
|
92
92
|
},
|
|
93
93
|
"customElements": "dist/custom-elements.json",
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "2da6fb63496767d73a1adf0352f826014f3b8ce9"
|
|
95
95
|
}
|