@genesislcap/foundation-entity-management 14.221.0 → 14.223.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/dist/custom-elements.json +367 -180
- package/dist/dts/entities/entities.d.ts +37 -36
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +3 -0
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/list/list.template.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +13 -0
- package/dist/esm/list/list.js +9 -0
- package/dist/esm/list/list.template.js +4 -0
- package/dist/foundation-entity-management.api.json +8 -2
- package/dist/foundation-entity-management.d.ts +37 -36
- package/package.json +21 -21
- package/tsdoc.json +14 -0
|
@@ -87,41 +87,6 @@
|
|
|
87
87
|
}
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
|
-
{
|
|
91
|
-
"kind": "javascript-module",
|
|
92
|
-
"path": "src/components/components.ts",
|
|
93
|
-
"declarations": [
|
|
94
|
-
{
|
|
95
|
-
"kind": "function",
|
|
96
|
-
"name": "loadRemotes"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"exports": [
|
|
100
|
-
{
|
|
101
|
-
"kind": "js",
|
|
102
|
-
"name": "loadRemotes",
|
|
103
|
-
"declaration": {
|
|
104
|
-
"name": "loadRemotes",
|
|
105
|
-
"module": "src/components/components.ts"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"kind": "javascript-module",
|
|
112
|
-
"path": "src/components/index.ts",
|
|
113
|
-
"declarations": [],
|
|
114
|
-
"exports": [
|
|
115
|
-
{
|
|
116
|
-
"kind": "js",
|
|
117
|
-
"name": "*",
|
|
118
|
-
"declaration": {
|
|
119
|
-
"name": "*",
|
|
120
|
-
"package": "./components"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
},
|
|
125
90
|
{
|
|
126
91
|
"kind": "javascript-module",
|
|
127
92
|
"path": "src/entities/entities.styles.ts",
|
|
@@ -613,6 +578,52 @@
|
|
|
613
578
|
"privacy": "private"
|
|
614
579
|
}
|
|
615
580
|
],
|
|
581
|
+
"events": [
|
|
582
|
+
{
|
|
583
|
+
"description": "Fired when the request is changed",
|
|
584
|
+
"name": "request-changed"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"description": "Fired when the criteria is changed",
|
|
588
|
+
"name": "criteria-changed"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"description": "Fired when an entity is created",
|
|
592
|
+
"name": "create-entity"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"description": "Fired when an entity is edited",
|
|
596
|
+
"name": "edit-entity"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"description": "Fired when an entity is deleted Bubbled events from the child entity-list component",
|
|
600
|
+
"name": "delete-entity"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"description": "Fired when there is an error in a create, edit or delete operation",
|
|
604
|
+
"name": "submit-failure"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"description": "Fired when a create, edit or delete operation is completed successfully",
|
|
608
|
+
"name": "submit-success"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"description": "Fired when a row is clicked",
|
|
612
|
+
"name": "rowClick"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"description": "Fired when a row is double clicked",
|
|
616
|
+
"name": "rowDblClick"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"description": "Fired when a row is right clicked",
|
|
620
|
+
"name": "contextMenu"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"description": "Fired when a row is selected",
|
|
624
|
+
"name": "rowSelected"
|
|
625
|
+
}
|
|
626
|
+
],
|
|
616
627
|
"attributes": [
|
|
617
628
|
{
|
|
618
629
|
"name": "design-system-prefix",
|
|
@@ -873,6 +884,41 @@
|
|
|
873
884
|
}
|
|
874
885
|
]
|
|
875
886
|
},
|
|
887
|
+
{
|
|
888
|
+
"kind": "javascript-module",
|
|
889
|
+
"path": "src/components/components.ts",
|
|
890
|
+
"declarations": [
|
|
891
|
+
{
|
|
892
|
+
"kind": "function",
|
|
893
|
+
"name": "loadRemotes"
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
"exports": [
|
|
897
|
+
{
|
|
898
|
+
"kind": "js",
|
|
899
|
+
"name": "loadRemotes",
|
|
900
|
+
"declaration": {
|
|
901
|
+
"name": "loadRemotes",
|
|
902
|
+
"module": "src/components/components.ts"
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"kind": "javascript-module",
|
|
909
|
+
"path": "src/components/index.ts",
|
|
910
|
+
"declarations": [],
|
|
911
|
+
"exports": [
|
|
912
|
+
{
|
|
913
|
+
"kind": "js",
|
|
914
|
+
"name": "*",
|
|
915
|
+
"declaration": {
|
|
916
|
+
"name": "*",
|
|
917
|
+
"package": "./components"
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
]
|
|
921
|
+
},
|
|
876
922
|
{
|
|
877
923
|
"kind": "javascript-module",
|
|
878
924
|
"path": "src/layouts/default.ts",
|
|
@@ -1255,6 +1301,57 @@
|
|
|
1255
1301
|
"name": "reverse",
|
|
1256
1302
|
"readonly": true
|
|
1257
1303
|
},
|
|
1304
|
+
{
|
|
1305
|
+
"kind": "method",
|
|
1306
|
+
"name": "handleRowClicked",
|
|
1307
|
+
"return": {
|
|
1308
|
+
"type": {
|
|
1309
|
+
"text": "void"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
"parameters": [
|
|
1313
|
+
{
|
|
1314
|
+
"name": "e",
|
|
1315
|
+
"type": {
|
|
1316
|
+
"text": "CustomEvent"
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
]
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"kind": "method",
|
|
1323
|
+
"name": "handleRowDblClicked",
|
|
1324
|
+
"return": {
|
|
1325
|
+
"type": {
|
|
1326
|
+
"text": "void"
|
|
1327
|
+
}
|
|
1328
|
+
},
|
|
1329
|
+
"parameters": [
|
|
1330
|
+
{
|
|
1331
|
+
"name": "e",
|
|
1332
|
+
"type": {
|
|
1333
|
+
"text": "CustomEvent"
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
]
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"kind": "method",
|
|
1340
|
+
"name": "handleRowContextMenu",
|
|
1341
|
+
"return": {
|
|
1342
|
+
"type": {
|
|
1343
|
+
"text": "void"
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
"parameters": [
|
|
1347
|
+
{
|
|
1348
|
+
"name": "e",
|
|
1349
|
+
"type": {
|
|
1350
|
+
"text": "CustomEvent"
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
]
|
|
1354
|
+
},
|
|
1258
1355
|
{
|
|
1259
1356
|
"kind": "method",
|
|
1260
1357
|
"name": "handleFilterChanged",
|
|
@@ -1472,151 +1569,6 @@
|
|
|
1472
1569
|
}
|
|
1473
1570
|
]
|
|
1474
1571
|
},
|
|
1475
|
-
{
|
|
1476
|
-
"kind": "javascript-module",
|
|
1477
|
-
"path": "src/main/index.ts",
|
|
1478
|
-
"declarations": [],
|
|
1479
|
-
"exports": [
|
|
1480
|
-
{
|
|
1481
|
-
"kind": "js",
|
|
1482
|
-
"name": "*",
|
|
1483
|
-
"declaration": {
|
|
1484
|
-
"name": "*",
|
|
1485
|
-
"package": "./main.template"
|
|
1486
|
-
}
|
|
1487
|
-
},
|
|
1488
|
-
{
|
|
1489
|
-
"kind": "js",
|
|
1490
|
-
"name": "*",
|
|
1491
|
-
"declaration": {
|
|
1492
|
-
"name": "*",
|
|
1493
|
-
"package": "./main"
|
|
1494
|
-
}
|
|
1495
|
-
}
|
|
1496
|
-
]
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
"kind": "javascript-module",
|
|
1500
|
-
"path": "src/main/main.styles.ts",
|
|
1501
|
-
"declarations": [
|
|
1502
|
-
{
|
|
1503
|
-
"kind": "variable",
|
|
1504
|
-
"name": "MainStyles",
|
|
1505
|
-
"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`"
|
|
1506
|
-
}
|
|
1507
|
-
],
|
|
1508
|
-
"exports": [
|
|
1509
|
-
{
|
|
1510
|
-
"kind": "js",
|
|
1511
|
-
"name": "MainStyles",
|
|
1512
|
-
"declaration": {
|
|
1513
|
-
"name": "MainStyles",
|
|
1514
|
-
"module": "src/main/main.styles.ts"
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
]
|
|
1518
|
-
},
|
|
1519
|
-
{
|
|
1520
|
-
"kind": "javascript-module",
|
|
1521
|
-
"path": "src/main/main.template.ts",
|
|
1522
|
-
"declarations": [],
|
|
1523
|
-
"exports": []
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
"kind": "javascript-module",
|
|
1527
|
-
"path": "src/main/main.ts",
|
|
1528
|
-
"declarations": [
|
|
1529
|
-
{
|
|
1530
|
-
"kind": "class",
|
|
1531
|
-
"description": "",
|
|
1532
|
-
"name": "MainApplication",
|
|
1533
|
-
"members": [
|
|
1534
|
-
{
|
|
1535
|
-
"kind": "field",
|
|
1536
|
-
"name": "config",
|
|
1537
|
-
"type": {
|
|
1538
|
-
"text": "MainRouterConfig"
|
|
1539
|
-
}
|
|
1540
|
-
},
|
|
1541
|
-
{
|
|
1542
|
-
"kind": "field",
|
|
1543
|
-
"name": "connect",
|
|
1544
|
-
"type": {
|
|
1545
|
-
"text": "Connect"
|
|
1546
|
-
}
|
|
1547
|
-
},
|
|
1548
|
-
{
|
|
1549
|
-
"kind": "field",
|
|
1550
|
-
"name": "session",
|
|
1551
|
-
"type": {
|
|
1552
|
-
"text": "Session"
|
|
1553
|
-
}
|
|
1554
|
-
},
|
|
1555
|
-
{
|
|
1556
|
-
"kind": "field",
|
|
1557
|
-
"name": "container",
|
|
1558
|
-
"type": {
|
|
1559
|
-
"text": "Container"
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
|
-
{
|
|
1563
|
-
"kind": "field",
|
|
1564
|
-
"name": "provider",
|
|
1565
|
-
"type": {
|
|
1566
|
-
"text": "HTMLElement"
|
|
1567
|
-
}
|
|
1568
|
-
},
|
|
1569
|
-
{
|
|
1570
|
-
"kind": "field",
|
|
1571
|
-
"name": "ready",
|
|
1572
|
-
"type": {
|
|
1573
|
-
"text": "boolean"
|
|
1574
|
-
},
|
|
1575
|
-
"default": "false"
|
|
1576
|
-
},
|
|
1577
|
-
{
|
|
1578
|
-
"kind": "method",
|
|
1579
|
-
"name": "onLuminanceToggle"
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"kind": "method",
|
|
1583
|
-
"name": "loadRemotes"
|
|
1584
|
-
},
|
|
1585
|
-
{
|
|
1586
|
-
"kind": "method",
|
|
1587
|
-
"name": "selectTemplate"
|
|
1588
|
-
},
|
|
1589
|
-
{
|
|
1590
|
-
"kind": "method",
|
|
1591
|
-
"name": "registerDIDependencies",
|
|
1592
|
-
"privacy": "private"
|
|
1593
|
-
}
|
|
1594
|
-
],
|
|
1595
|
-
"superclass": {
|
|
1596
|
-
"name": "FASTElement",
|
|
1597
|
-
"package": "@microsoft/fast-element"
|
|
1598
|
-
},
|
|
1599
|
-
"customElement": true
|
|
1600
|
-
}
|
|
1601
|
-
],
|
|
1602
|
-
"exports": [
|
|
1603
|
-
{
|
|
1604
|
-
"kind": "js",
|
|
1605
|
-
"name": "MainApplication",
|
|
1606
|
-
"declaration": {
|
|
1607
|
-
"name": "MainApplication",
|
|
1608
|
-
"module": "src/main/main.ts"
|
|
1609
|
-
}
|
|
1610
|
-
},
|
|
1611
|
-
{
|
|
1612
|
-
"kind": "custom-element-definition",
|
|
1613
|
-
"declaration": {
|
|
1614
|
-
"name": "MainApplication",
|
|
1615
|
-
"module": "src/main/main.ts"
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
]
|
|
1619
|
-
},
|
|
1620
1572
|
{
|
|
1621
1573
|
"kind": "javascript-module",
|
|
1622
1574
|
"path": "src/profiles/editProfileSchema.ts",
|
|
@@ -2538,6 +2490,96 @@
|
|
|
2538
2490
|
"module": "src/entities/entities.ts"
|
|
2539
2491
|
}
|
|
2540
2492
|
}
|
|
2493
|
+
],
|
|
2494
|
+
"events": [
|
|
2495
|
+
{
|
|
2496
|
+
"description": "Fired when the request is changed",
|
|
2497
|
+
"name": "request-changed",
|
|
2498
|
+
"inheritedFrom": {
|
|
2499
|
+
"name": "EntityManagement",
|
|
2500
|
+
"module": "src/entities/entities.ts"
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"description": "Fired when the criteria is changed",
|
|
2505
|
+
"name": "criteria-changed",
|
|
2506
|
+
"inheritedFrom": {
|
|
2507
|
+
"name": "EntityManagement",
|
|
2508
|
+
"module": "src/entities/entities.ts"
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"description": "Fired when an entity is created",
|
|
2513
|
+
"name": "create-entity",
|
|
2514
|
+
"inheritedFrom": {
|
|
2515
|
+
"name": "EntityManagement",
|
|
2516
|
+
"module": "src/entities/entities.ts"
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
"description": "Fired when an entity is edited",
|
|
2521
|
+
"name": "edit-entity",
|
|
2522
|
+
"inheritedFrom": {
|
|
2523
|
+
"name": "EntityManagement",
|
|
2524
|
+
"module": "src/entities/entities.ts"
|
|
2525
|
+
}
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
"description": "Fired when an entity is deleted Bubbled events from the child entity-list component",
|
|
2529
|
+
"name": "delete-entity",
|
|
2530
|
+
"inheritedFrom": {
|
|
2531
|
+
"name": "EntityManagement",
|
|
2532
|
+
"module": "src/entities/entities.ts"
|
|
2533
|
+
}
|
|
2534
|
+
},
|
|
2535
|
+
{
|
|
2536
|
+
"description": "Fired when there is an error in a create, edit or delete operation",
|
|
2537
|
+
"name": "submit-failure",
|
|
2538
|
+
"inheritedFrom": {
|
|
2539
|
+
"name": "EntityManagement",
|
|
2540
|
+
"module": "src/entities/entities.ts"
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"description": "Fired when a create, edit or delete operation is completed successfully",
|
|
2545
|
+
"name": "submit-success",
|
|
2546
|
+
"inheritedFrom": {
|
|
2547
|
+
"name": "EntityManagement",
|
|
2548
|
+
"module": "src/entities/entities.ts"
|
|
2549
|
+
}
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"description": "Fired when a row is clicked",
|
|
2553
|
+
"name": "rowClick",
|
|
2554
|
+
"inheritedFrom": {
|
|
2555
|
+
"name": "EntityManagement",
|
|
2556
|
+
"module": "src/entities/entities.ts"
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"description": "Fired when a row is double clicked",
|
|
2561
|
+
"name": "rowDblClick",
|
|
2562
|
+
"inheritedFrom": {
|
|
2563
|
+
"name": "EntityManagement",
|
|
2564
|
+
"module": "src/entities/entities.ts"
|
|
2565
|
+
}
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
"description": "Fired when a row is right clicked",
|
|
2569
|
+
"name": "contextMenu",
|
|
2570
|
+
"inheritedFrom": {
|
|
2571
|
+
"name": "EntityManagement",
|
|
2572
|
+
"module": "src/entities/entities.ts"
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"description": "Fired when a row is selected",
|
|
2577
|
+
"name": "rowSelected",
|
|
2578
|
+
"inheritedFrom": {
|
|
2579
|
+
"name": "EntityManagement",
|
|
2580
|
+
"module": "src/entities/entities.ts"
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2541
2583
|
]
|
|
2542
2584
|
}
|
|
2543
2585
|
],
|
|
@@ -2560,6 +2602,151 @@
|
|
|
2560
2602
|
}
|
|
2561
2603
|
]
|
|
2562
2604
|
},
|
|
2605
|
+
{
|
|
2606
|
+
"kind": "javascript-module",
|
|
2607
|
+
"path": "src/main/index.ts",
|
|
2608
|
+
"declarations": [],
|
|
2609
|
+
"exports": [
|
|
2610
|
+
{
|
|
2611
|
+
"kind": "js",
|
|
2612
|
+
"name": "*",
|
|
2613
|
+
"declaration": {
|
|
2614
|
+
"name": "*",
|
|
2615
|
+
"package": "./main.template"
|
|
2616
|
+
}
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"kind": "js",
|
|
2620
|
+
"name": "*",
|
|
2621
|
+
"declaration": {
|
|
2622
|
+
"name": "*",
|
|
2623
|
+
"package": "./main"
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2626
|
+
]
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"kind": "javascript-module",
|
|
2630
|
+
"path": "src/main/main.styles.ts",
|
|
2631
|
+
"declarations": [
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "variable",
|
|
2634
|
+
"name": "MainStyles",
|
|
2635
|
+
"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`"
|
|
2636
|
+
}
|
|
2637
|
+
],
|
|
2638
|
+
"exports": [
|
|
2639
|
+
{
|
|
2640
|
+
"kind": "js",
|
|
2641
|
+
"name": "MainStyles",
|
|
2642
|
+
"declaration": {
|
|
2643
|
+
"name": "MainStyles",
|
|
2644
|
+
"module": "src/main/main.styles.ts"
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2647
|
+
]
|
|
2648
|
+
},
|
|
2649
|
+
{
|
|
2650
|
+
"kind": "javascript-module",
|
|
2651
|
+
"path": "src/main/main.template.ts",
|
|
2652
|
+
"declarations": [],
|
|
2653
|
+
"exports": []
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"kind": "javascript-module",
|
|
2657
|
+
"path": "src/main/main.ts",
|
|
2658
|
+
"declarations": [
|
|
2659
|
+
{
|
|
2660
|
+
"kind": "class",
|
|
2661
|
+
"description": "",
|
|
2662
|
+
"name": "MainApplication",
|
|
2663
|
+
"members": [
|
|
2664
|
+
{
|
|
2665
|
+
"kind": "field",
|
|
2666
|
+
"name": "config",
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "MainRouterConfig"
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
{
|
|
2672
|
+
"kind": "field",
|
|
2673
|
+
"name": "connect",
|
|
2674
|
+
"type": {
|
|
2675
|
+
"text": "Connect"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
"kind": "field",
|
|
2680
|
+
"name": "session",
|
|
2681
|
+
"type": {
|
|
2682
|
+
"text": "Session"
|
|
2683
|
+
}
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"kind": "field",
|
|
2687
|
+
"name": "container",
|
|
2688
|
+
"type": {
|
|
2689
|
+
"text": "Container"
|
|
2690
|
+
}
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"kind": "field",
|
|
2694
|
+
"name": "provider",
|
|
2695
|
+
"type": {
|
|
2696
|
+
"text": "HTMLElement"
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"kind": "field",
|
|
2701
|
+
"name": "ready",
|
|
2702
|
+
"type": {
|
|
2703
|
+
"text": "boolean"
|
|
2704
|
+
},
|
|
2705
|
+
"default": "false"
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "method",
|
|
2709
|
+
"name": "onLuminanceToggle"
|
|
2710
|
+
},
|
|
2711
|
+
{
|
|
2712
|
+
"kind": "method",
|
|
2713
|
+
"name": "loadRemotes"
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
"kind": "method",
|
|
2717
|
+
"name": "selectTemplate"
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"kind": "method",
|
|
2721
|
+
"name": "registerDIDependencies",
|
|
2722
|
+
"privacy": "private"
|
|
2723
|
+
}
|
|
2724
|
+
],
|
|
2725
|
+
"superclass": {
|
|
2726
|
+
"name": "FASTElement",
|
|
2727
|
+
"package": "@microsoft/fast-element"
|
|
2728
|
+
},
|
|
2729
|
+
"customElement": true
|
|
2730
|
+
}
|
|
2731
|
+
],
|
|
2732
|
+
"exports": [
|
|
2733
|
+
{
|
|
2734
|
+
"kind": "js",
|
|
2735
|
+
"name": "MainApplication",
|
|
2736
|
+
"declaration": {
|
|
2737
|
+
"name": "MainApplication",
|
|
2738
|
+
"module": "src/main/main.ts"
|
|
2739
|
+
}
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "custom-element-definition",
|
|
2743
|
+
"declaration": {
|
|
2744
|
+
"name": "MainApplication",
|
|
2745
|
+
"module": "src/main/main.ts"
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
]
|
|
2749
|
+
},
|
|
2563
2750
|
{
|
|
2564
2751
|
"kind": "javascript-module",
|
|
2565
2752
|
"path": "src/routes/config.ts",
|
|
@@ -60,7 +60,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
60
60
|
readonly offsetTop: number;
|
|
61
61
|
readonly offsetWidth: number;
|
|
62
62
|
outerText: string;
|
|
63
|
-
spellcheck: boolean;
|
|
63
|
+
spellcheck: boolean; /**
|
|
64
|
+
* Name of the event handler on the Genesis server which handles creating an entity
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
64
67
|
title: string;
|
|
65
68
|
translate: boolean;
|
|
66
69
|
attachInternals(): ElementInternals;
|
|
@@ -89,7 +92,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
89
92
|
scrollLeft: number;
|
|
90
93
|
scrollTop: number;
|
|
91
94
|
readonly scrollWidth: number;
|
|
92
|
-
readonly shadowRoot: ShadowRoot;
|
|
95
|
+
readonly shadowRoot: ShadowRoot; /**
|
|
96
|
+
* If true, will enable row flashing for all rows for `add` transactions
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
93
99
|
slot: string;
|
|
94
100
|
readonly tagName: string;
|
|
95
101
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
@@ -99,10 +105,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
99
105
|
getAttribute(qualifiedName: string): string;
|
|
100
106
|
getAttributeNS(namespace: string, localName: string): string;
|
|
101
107
|
getAttributeNames(): string[];
|
|
102
|
-
/**
|
|
103
|
-
* GridOptions to be passed down from application
|
|
104
|
-
* @public
|
|
105
|
-
*/
|
|
106
108
|
getAttributeNode(qualifiedName: string): Attr;
|
|
107
109
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
108
110
|
getBoundingClientRect(): DOMRect;
|
|
@@ -156,6 +158,9 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
156
158
|
readonly previousSibling: ChildNode;
|
|
157
159
|
textContent: string;
|
|
158
160
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
161
|
+
/**
|
|
162
|
+
* @internal
|
|
163
|
+
*/
|
|
159
164
|
compareDocumentPosition(other: Node): number;
|
|
160
165
|
contains(other: Node): boolean;
|
|
161
166
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -163,10 +168,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
163
168
|
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
164
169
|
isDefaultNamespace(namespace: string): boolean;
|
|
165
170
|
isEqualNode(otherNode: Node): boolean;
|
|
166
|
-
isSameNode(otherNode: Node): boolean;
|
|
167
|
-
* Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
|
|
168
|
-
* * @public
|
|
169
|
-
*/
|
|
171
|
+
isSameNode(otherNode: Node): boolean;
|
|
170
172
|
lookupNamespaceURI(prefix: string): string;
|
|
171
173
|
lookupPrefix(namespace: string): string;
|
|
172
174
|
normalize(): void;
|
|
@@ -187,15 +189,13 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
187
189
|
readonly ELEMENT_NODE: number;
|
|
188
190
|
readonly ENTITY_NODE: number;
|
|
189
191
|
readonly ENTITY_REFERENCE_NODE: number;
|
|
190
|
-
/**
|
|
191
|
-
* The helper function to determine the title of the modal form or button based on the action or type
|
|
192
|
-
* @param actionOrType - The crud action or modal form type
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
192
|
readonly NOTATION_NODE: number;
|
|
196
193
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
197
194
|
readonly TEXT_NODE: number;
|
|
198
|
-
dispatchEvent(event: Event): boolean;
|
|
195
|
+
dispatchEvent(event: Event): boolean; /**
|
|
196
|
+
* Determines where the buttons will appear
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
199
|
ariaAtomic: string;
|
|
200
200
|
ariaAutoComplete: string;
|
|
201
201
|
ariaBusy: string;
|
|
@@ -209,10 +209,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
209
209
|
ariaExpanded: string;
|
|
210
210
|
ariaHasPopup: string;
|
|
211
211
|
ariaHidden: string;
|
|
212
|
-
ariaInvalid: string;
|
|
213
|
-
* Getter for the title of the modal form
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
212
|
+
ariaInvalid: string;
|
|
216
213
|
ariaKeyShortcuts: string;
|
|
217
214
|
ariaLabel: string;
|
|
218
215
|
ariaLevel: string;
|
|
@@ -306,12 +303,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
306
303
|
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
307
304
|
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
308
305
|
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
309
|
-
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
310
|
-
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
311
|
-
*
|
|
312
|
-
* @param e - CustomEvent which contains data about the selected entity. If the row is not selected then the reference will be set to an empty object.
|
|
313
|
-
* @internal
|
|
314
|
-
*/
|
|
306
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
315
307
|
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
316
308
|
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
317
309
|
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -323,17 +315,16 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
323
315
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
324
316
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
325
317
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
326
|
-
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
327
|
-
* Opens the model to edit an entity. Added as an event listener on the class when receiving the `edit-entity` event.
|
|
328
|
-
*
|
|
329
|
-
* @param e - CustomEvent where `e.detail` is the entity to edit.
|
|
330
|
-
* @internal
|
|
331
|
-
*/
|
|
318
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
332
319
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
333
320
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
334
321
|
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
335
322
|
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
336
|
-
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
323
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any; /**
|
|
324
|
+
* Show the entity create form
|
|
325
|
+
* Sets the initial value on the form to be defaultEntityValues if present.
|
|
326
|
+
* @internal
|
|
327
|
+
*/
|
|
337
328
|
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
338
329
|
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
339
330
|
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
@@ -350,9 +341,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
350
341
|
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
351
342
|
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
352
343
|
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
353
|
-
/**
|
|
354
|
-
* @internal
|
|
355
|
-
*/
|
|
356
344
|
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
357
345
|
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
358
346
|
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
@@ -417,6 +405,19 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
417
405
|
* - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br />
|
|
418
406
|
* - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />
|
|
419
407
|
*
|
|
408
|
+
* @fires request-changed - Fired when the request is changed
|
|
409
|
+
* @fires criteria-changed - Fired when the criteria is changed
|
|
410
|
+
* @fires create-entity - Fired when an entity is created
|
|
411
|
+
* @fires edit-entity - Fired when an entity is edited
|
|
412
|
+
* @fires delete-entity - Fired when an entity is deleted
|
|
413
|
+
*
|
|
414
|
+
* Bubbled events from the child entity-list component
|
|
415
|
+
* @fires submit-failure - Fired when there is an error in a create, edit or delete operation
|
|
416
|
+
* @fires submit-success - Fired when a create, edit or delete operation is completed successfully
|
|
417
|
+
* @fires rowClick - Fired when a row is clicked
|
|
418
|
+
* @fires rowDblClick - Fired when a row is double clicked
|
|
419
|
+
* @fires contextMenu - Fired when a row is right clicked
|
|
420
|
+
* @fires rowSelected - Fired when a row is selected
|
|
420
421
|
*/
|
|
421
422
|
export declare class EntityManagement extends EntityManagement_base {
|
|
422
423
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EACL,OAAO,EACP,iBAAiB,EAEjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAa,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,KAAK,EAAe,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAIL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAMzF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,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E,aAAa,GAAG,UAAU,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY,EAAE;IA8C1F;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAkC/B;;;OAGG;IACI,gBAAgB,CAAC,KAAK,EAAE,WAAW,CAAC,qBAAqB,CAAC;CASlE"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -380,6 +380,9 @@ export declare class List extends List_base {
|
|
|
380
380
|
get pollingInterval(): number;
|
|
381
381
|
get request(): any;
|
|
382
382
|
get reverse(): boolean;
|
|
383
|
+
handleRowClicked(e: CustomEvent): void;
|
|
384
|
+
handleRowDblClicked(e: CustomEvent): void;
|
|
385
|
+
handleRowContextMenu(e: CustomEvent): void;
|
|
383
386
|
private handleFilterChanged;
|
|
384
387
|
private handleFilterCleared;
|
|
385
388
|
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,EAIL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,gBAAgB;IAIxB,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAyCnC,eAAO,MAAM,eAAe,4EAiD3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
|
|
@@ -40,6 +40,19 @@ import { defaultHeader, searchBarHeader, template } from './entities.template';
|
|
|
40
40
|
* - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br />
|
|
41
41
|
* - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />
|
|
42
42
|
*
|
|
43
|
+
* @fires request-changed - Fired when the request is changed
|
|
44
|
+
* @fires criteria-changed - Fired when the criteria is changed
|
|
45
|
+
* @fires create-entity - Fired when an entity is created
|
|
46
|
+
* @fires edit-entity - Fired when an entity is edited
|
|
47
|
+
* @fires delete-entity - Fired when an entity is deleted
|
|
48
|
+
*
|
|
49
|
+
* Bubbled events from the child entity-list component
|
|
50
|
+
* @fires submit-failure - Fired when there is an error in a create, edit or delete operation
|
|
51
|
+
* @fires submit-success - Fired when a create, edit or delete operation is completed successfully
|
|
52
|
+
* @fires rowClick - Fired when a row is clicked
|
|
53
|
+
* @fires rowDblClick - Fired when a row is double clicked
|
|
54
|
+
* @fires contextMenu - Fired when a row is right clicked
|
|
55
|
+
* @fires rowSelected - Fired when a row is selected
|
|
43
56
|
*/
|
|
44
57
|
let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement) {
|
|
45
58
|
constructor() {
|
package/dist/esm/list/list.js
CHANGED
|
@@ -163,6 +163,15 @@ let List = class List extends LifecycleMixin(FASTElement) {
|
|
|
163
163
|
var _a;
|
|
164
164
|
return (_a = this.datasource) === null || _a === void 0 ? void 0 : _a.reverse;
|
|
165
165
|
}
|
|
166
|
+
handleRowClicked(e) {
|
|
167
|
+
this.$emit('rowClick', e.detail.data);
|
|
168
|
+
}
|
|
169
|
+
handleRowDblClicked(e) {
|
|
170
|
+
this.$emit('rowDblClick', e.detail.data);
|
|
171
|
+
}
|
|
172
|
+
handleRowContextMenu(e) {
|
|
173
|
+
this.$emit('contextMenu', e.detail.data);
|
|
174
|
+
}
|
|
166
175
|
handleFilterChanged(e) {
|
|
167
176
|
var _a, _b;
|
|
168
177
|
const fieldName = (_a = e === null || e === void 0 ? void 0 : e.detail) === null || _a === void 0 ? void 0 : _a.fieldName;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { customEvent } from '@genesislcap/foundation-events';
|
|
1
2
|
import { html, ref, repeat, when } from '@microsoft/fast-element';
|
|
2
3
|
/** @internal */
|
|
3
4
|
const datasource = (list) => {
|
|
@@ -62,6 +63,9 @@ export const getPrefixedList = (prefix) => html `
|
|
|
62
63
|
enable-cell-flashing=${(x) => x.enableCellFlashing}
|
|
63
64
|
enable-row-flashing=${(x) => x.enableRowFlashing}
|
|
64
65
|
header-case-type=${(x) => x.headerCaseType}
|
|
66
|
+
@rowClicked="${(x, ctx) => x.handleRowClicked(customEvent(ctx))}"
|
|
67
|
+
@rowDblClicked="${(x, ctx) => x.handleRowDblClicked(customEvent(ctx))}"
|
|
68
|
+
@cellContextMenu="${(x, ctx) => x.handleRowContextMenu(customEvent(ctx))}"
|
|
65
69
|
>
|
|
66
70
|
|
|
67
71
|
${(x) => datasource(x)}
|
|
@@ -125,6 +125,11 @@
|
|
|
125
125
|
{
|
|
126
126
|
"tagName": "@preapproved",
|
|
127
127
|
"syntaxKind": "modifier"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"tagName": "@fires",
|
|
131
|
+
"syntaxKind": "block",
|
|
132
|
+
"allowMultiple": true
|
|
128
133
|
}
|
|
129
134
|
],
|
|
130
135
|
"supportForTags": {
|
|
@@ -155,7 +160,8 @@
|
|
|
155
160
|
"@virtual": true,
|
|
156
161
|
"@betaDocumentation": true,
|
|
157
162
|
"@internalRemarks": true,
|
|
158
|
-
"@preapproved": true
|
|
163
|
+
"@preapproved": true,
|
|
164
|
+
"@fires": true
|
|
159
165
|
},
|
|
160
166
|
"reportUnsupportedHtmlElements": false
|
|
161
167
|
}
|
|
@@ -243,7 +249,7 @@
|
|
|
243
249
|
{
|
|
244
250
|
"kind": "Class",
|
|
245
251
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement:class",
|
|
246
|
-
"docComment": "/**\n * Main class which defines the entity management functionality\n *\n * @remarks\n *\n * Connects to a backend resource and wraps up a grid which is populated with entities from that resource. The different interactions that the user can perform with the entities can be configured, examples being able to update and delete entities.\n *\n * @example\n *\n * Example of using the entity management system to handle counterparties\n * ```\n * <entity-management\n * resourceName=\"ALL_COUNTERPARTYS\"\n * title=\"Counterparty Management\"\n * updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n * deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n * createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n * ></entity-management>\n * ```\n *\n * Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the name of the resource in the database to manage is `ALL_COUNTERPARTYS`<br /> - the name of the event handler for update events is `EVENT_COUNTERPARTY_MODIFY`<br /> - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br /> - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />\n *\n * @public\n */\n",
|
|
252
|
+
"docComment": "/**\n * Main class which defines the entity management functionality\n *\n * @remarks\n *\n * Connects to a backend resource and wraps up a grid which is populated with entities from that resource. The different interactions that the user can perform with the entities can be configured, examples being able to update and delete entities.\n *\n * @example\n *\n * Example of using the entity management system to handle counterparties\n * ```\n * <entity-management\n * resourceName=\"ALL_COUNTERPARTYS\"\n * title=\"Counterparty Management\"\n * updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n * deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n * createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n * ></entity-management>\n * ```\n *\n * Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the name of the resource in the database to manage is `ALL_COUNTERPARTYS`<br /> - the name of the event handler for update events is `EVENT_COUNTERPARTY_MODIFY`<br /> - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br /> - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />\n *\n * @fires\n *\n * request-changed - Fired when the request is changed\n *\n * @fires\n *\n * criteria-changed - Fired when the criteria is changed\n *\n * @fires\n *\n * create-entity - Fired when an entity is created\n *\n * @fires\n *\n * edit-entity - Fired when an entity is edited\n *\n * @fires\n *\n * delete-entity - Fired when an entity is deleted\n *\n * Bubbled events from the child entity-list component\n *\n * @fires\n *\n * submit-failure - Fired when there is an error in a create, edit or delete operation\n *\n * @fires\n *\n * submit-success - Fired when a create, edit or delete operation is completed successfully\n *\n * @fires\n *\n * rowClick - Fired when a row is clicked\n *\n * @fires\n *\n * rowDblClick - Fired when a row is double clicked\n *\n * @fires\n *\n * contextMenu - Fired when a row is right clicked\n *\n * @fires\n *\n * rowSelected - Fired when a row is selected\n *\n * @public\n */\n",
|
|
247
253
|
"excerptTokens": [
|
|
248
254
|
{
|
|
249
255
|
"kind": "Content",
|
|
@@ -125,6 +125,19 @@ export declare const DynamicTemplate: ViewTemplate<MainApplication>;
|
|
|
125
125
|
* - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br />
|
|
126
126
|
* - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />
|
|
127
127
|
*
|
|
128
|
+
* @fires request-changed - Fired when the request is changed
|
|
129
|
+
* @fires criteria-changed - Fired when the criteria is changed
|
|
130
|
+
* @fires create-entity - Fired when an entity is created
|
|
131
|
+
* @fires edit-entity - Fired when an entity is edited
|
|
132
|
+
* @fires delete-entity - Fired when an entity is deleted
|
|
133
|
+
*
|
|
134
|
+
* Bubbled events from the child entity-list component
|
|
135
|
+
* @fires submit-failure - Fired when there is an error in a create, edit or delete operation
|
|
136
|
+
* @fires submit-success - Fired when a create, edit or delete operation is completed successfully
|
|
137
|
+
* @fires rowClick - Fired when a row is clicked
|
|
138
|
+
* @fires rowDblClick - Fired when a row is double clicked
|
|
139
|
+
* @fires contextMenu - Fired when a row is right clicked
|
|
140
|
+
* @fires rowSelected - Fired when a row is selected
|
|
128
141
|
*/
|
|
129
142
|
export declare class EntityManagement extends EntityManagement_base {
|
|
130
143
|
/**
|
|
@@ -558,7 +571,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
558
571
|
readonly offsetTop: number;
|
|
559
572
|
readonly offsetWidth: number;
|
|
560
573
|
outerText: string;
|
|
561
|
-
spellcheck: boolean;
|
|
574
|
+
spellcheck: boolean; /**
|
|
575
|
+
* Name of the event handler on the Genesis server which handles creating an entity
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
562
578
|
title: string;
|
|
563
579
|
translate: boolean;
|
|
564
580
|
attachInternals(): ElementInternals;
|
|
@@ -587,7 +603,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
587
603
|
scrollLeft: number;
|
|
588
604
|
scrollTop: number;
|
|
589
605
|
readonly scrollWidth: number;
|
|
590
|
-
readonly shadowRoot: ShadowRoot;
|
|
606
|
+
readonly shadowRoot: ShadowRoot; /**
|
|
607
|
+
* If true, will enable row flashing for all rows for `add` transactions
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
591
610
|
slot: string;
|
|
592
611
|
readonly tagName: string;
|
|
593
612
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
@@ -597,10 +616,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
597
616
|
getAttribute(qualifiedName: string): string;
|
|
598
617
|
getAttributeNS(namespace: string, localName: string): string;
|
|
599
618
|
getAttributeNames(): string[];
|
|
600
|
-
/**
|
|
601
|
-
* GridOptions to be passed down from application
|
|
602
|
-
* @public
|
|
603
|
-
*/
|
|
604
619
|
getAttributeNode(qualifiedName: string): Attr;
|
|
605
620
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
606
621
|
getBoundingClientRect(): DOMRect;
|
|
@@ -654,6 +669,9 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
654
669
|
readonly previousSibling: ChildNode;
|
|
655
670
|
textContent: string;
|
|
656
671
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
672
|
+
/**
|
|
673
|
+
* @internal
|
|
674
|
+
*/
|
|
657
675
|
compareDocumentPosition(other: Node): number;
|
|
658
676
|
contains(other: Node): boolean;
|
|
659
677
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -661,10 +679,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
661
679
|
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
662
680
|
isDefaultNamespace(namespace: string): boolean;
|
|
663
681
|
isEqualNode(otherNode: Node): boolean;
|
|
664
|
-
isSameNode(otherNode: Node): boolean;
|
|
665
|
-
* Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid
|
|
666
|
-
* * @public
|
|
667
|
-
*/
|
|
682
|
+
isSameNode(otherNode: Node): boolean;
|
|
668
683
|
lookupNamespaceURI(prefix: string): string;
|
|
669
684
|
lookupPrefix(namespace: string): string;
|
|
670
685
|
normalize(): void;
|
|
@@ -685,15 +700,13 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
685
700
|
readonly ELEMENT_NODE: number;
|
|
686
701
|
readonly ENTITY_NODE: number;
|
|
687
702
|
readonly ENTITY_REFERENCE_NODE: number;
|
|
688
|
-
/**
|
|
689
|
-
* The helper function to determine the title of the modal form or button based on the action or type
|
|
690
|
-
* @param actionOrType - The crud action or modal form type
|
|
691
|
-
* @internal
|
|
692
|
-
*/
|
|
693
703
|
readonly NOTATION_NODE: number;
|
|
694
704
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
695
705
|
readonly TEXT_NODE: number;
|
|
696
|
-
dispatchEvent(event: Event): boolean;
|
|
706
|
+
dispatchEvent(event: Event): boolean; /**
|
|
707
|
+
* Determines where the buttons will appear
|
|
708
|
+
* @public
|
|
709
|
+
*/
|
|
697
710
|
ariaAtomic: string;
|
|
698
711
|
ariaAutoComplete: string;
|
|
699
712
|
ariaBusy: string;
|
|
@@ -707,10 +720,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
707
720
|
ariaExpanded: string;
|
|
708
721
|
ariaHasPopup: string;
|
|
709
722
|
ariaHidden: string;
|
|
710
|
-
ariaInvalid: string;
|
|
711
|
-
* Getter for the title of the modal form
|
|
712
|
-
* @internal
|
|
713
|
-
*/
|
|
723
|
+
ariaInvalid: string;
|
|
714
724
|
ariaKeyShortcuts: string;
|
|
715
725
|
ariaLabel: string;
|
|
716
726
|
ariaLevel: string;
|
|
@@ -804,12 +814,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
804
814
|
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
805
815
|
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
806
816
|
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
807
|
-
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
808
|
-
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
809
|
-
*
|
|
810
|
-
* @param e - CustomEvent which contains data about the selected entity. If the row is not selected then the reference will be set to an empty object.
|
|
811
|
-
* @internal
|
|
812
|
-
*/
|
|
817
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
813
818
|
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
814
819
|
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
815
820
|
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -821,17 +826,16 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
821
826
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
822
827
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
823
828
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
824
|
-
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
825
|
-
* Opens the model to edit an entity. Added as an event listener on the class when receiving the `edit-entity` event.
|
|
826
|
-
*
|
|
827
|
-
* @param e - CustomEvent where `e.detail` is the entity to edit.
|
|
828
|
-
* @internal
|
|
829
|
-
*/
|
|
829
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
830
830
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
831
831
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
832
832
|
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
833
833
|
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
834
|
-
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
834
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any; /**
|
|
835
|
+
* Show the entity create form
|
|
836
|
+
* Sets the initial value on the form to be defaultEntityValues if present.
|
|
837
|
+
* @internal
|
|
838
|
+
*/
|
|
835
839
|
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
836
840
|
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
837
841
|
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
@@ -848,9 +852,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
848
852
|
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
849
853
|
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
850
854
|
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
851
|
-
/**
|
|
852
|
-
* @internal
|
|
853
|
-
*/
|
|
854
855
|
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
855
856
|
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
856
857
|
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
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.
|
|
4
|
+
"version": "14.223.0",
|
|
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.
|
|
56
|
-
"@genesislcap/genx": "14.
|
|
57
|
-
"@genesislcap/rollup-builder": "14.
|
|
58
|
-
"@genesislcap/ts-builder": "14.
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
60
|
-
"@genesislcap/vite-builder": "14.
|
|
61
|
-
"@genesislcap/webpack-builder": "14.
|
|
55
|
+
"@genesislcap/foundation-testing": "14.223.0",
|
|
56
|
+
"@genesislcap/genx": "14.223.0",
|
|
57
|
+
"@genesislcap/rollup-builder": "14.223.0",
|
|
58
|
+
"@genesislcap/ts-builder": "14.223.0",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "14.223.0",
|
|
60
|
+
"@genesislcap/vite-builder": "14.223.0",
|
|
61
|
+
"@genesislcap/webpack-builder": "14.223.0",
|
|
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.
|
|
67
|
-
"@genesislcap/foundation-errors": "14.
|
|
68
|
-
"@genesislcap/foundation-events": "14.
|
|
69
|
-
"@genesislcap/foundation-forms": "14.
|
|
70
|
-
"@genesislcap/foundation-logger": "14.
|
|
71
|
-
"@genesislcap/foundation-login": "14.
|
|
72
|
-
"@genesislcap/foundation-notifications": "14.
|
|
73
|
-
"@genesislcap/foundation-ui": "14.
|
|
74
|
-
"@genesislcap/foundation-utils": "14.
|
|
75
|
-
"@genesislcap/foundation-zero": "14.
|
|
76
|
-
"@genesislcap/foundation-zero-grid-pro": "14.
|
|
77
|
-
"@genesislcap/grid-pro": "14.
|
|
66
|
+
"@genesislcap/foundation-comms": "14.223.0",
|
|
67
|
+
"@genesislcap/foundation-errors": "14.223.0",
|
|
68
|
+
"@genesislcap/foundation-events": "14.223.0",
|
|
69
|
+
"@genesislcap/foundation-forms": "14.223.0",
|
|
70
|
+
"@genesislcap/foundation-logger": "14.223.0",
|
|
71
|
+
"@genesislcap/foundation-login": "14.223.0",
|
|
72
|
+
"@genesislcap/foundation-notifications": "14.223.0",
|
|
73
|
+
"@genesislcap/foundation-ui": "14.223.0",
|
|
74
|
+
"@genesislcap/foundation-utils": "14.223.0",
|
|
75
|
+
"@genesislcap/foundation-zero": "14.223.0",
|
|
76
|
+
"@genesislcap/foundation-zero-grid-pro": "14.223.0",
|
|
77
|
+
"@genesislcap/grid-pro": "14.223.0",
|
|
78
78
|
"@microsoft/fast-components": "^2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "^1.12.0",
|
|
80
80
|
"@microsoft/fast-foundation": "2.49.6",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"access": "public"
|
|
92
92
|
},
|
|
93
93
|
"customElements": "dist/custom-elements.json",
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "22b246a956a4063d7337ab506bbdaa43e136ba63"
|
|
95
95
|
}
|
package/tsdoc.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
3
|
+
"extends": ["@microsoft/api-extractor/extends/tsdoc-base.json"],
|
|
4
|
+
"tagDefinitions": [
|
|
5
|
+
{
|
|
6
|
+
"tagName": "@fires",
|
|
7
|
+
"syntaxKind": "block",
|
|
8
|
+
"allowMultiple": true
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"supportForTags": {
|
|
12
|
+
"@fires": true
|
|
13
|
+
}
|
|
14
|
+
}
|