@genesislcap/foundation-entity-management 14.461.3-alpha-5a8ece015.0 → 14.462.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 +146 -383
- package/dist/dts/entities/entities.d.ts +1 -29
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/entities/smartFormModal.d.ts +3 -172
- package/dist/dts/entities/smartFormModal.d.ts.map +1 -1
- package/dist/dts/react.d.ts +2 -2
- package/dist/esm/entities/entities.js +3 -17
- package/dist/esm/entities/entities.template.js +4 -4
- package/dist/esm/entities/smartFormModal.js +4 -150
- package/dist/foundation-entity-management.api.json +7 -382
- package/dist/foundation-entity-management.d.ts +4 -199
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +11 -11
- package/package.json +23 -23
|
@@ -89,6 +89,41 @@
|
|
|
89
89
|
}
|
|
90
90
|
]
|
|
91
91
|
},
|
|
92
|
+
{
|
|
93
|
+
"kind": "javascript-module",
|
|
94
|
+
"path": "src/components/components.ts",
|
|
95
|
+
"declarations": [
|
|
96
|
+
{
|
|
97
|
+
"kind": "function",
|
|
98
|
+
"name": "loadRemotes"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"exports": [
|
|
102
|
+
{
|
|
103
|
+
"kind": "js",
|
|
104
|
+
"name": "loadRemotes",
|
|
105
|
+
"declaration": {
|
|
106
|
+
"name": "loadRemotes",
|
|
107
|
+
"module": "src/components/components.ts"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "javascript-module",
|
|
114
|
+
"path": "src/components/index.ts",
|
|
115
|
+
"declarations": [],
|
|
116
|
+
"exports": [
|
|
117
|
+
{
|
|
118
|
+
"kind": "js",
|
|
119
|
+
"name": "*",
|
|
120
|
+
"declaration": {
|
|
121
|
+
"name": "*",
|
|
122
|
+
"package": "./components"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
92
127
|
{
|
|
93
128
|
"kind": "javascript-module",
|
|
94
129
|
"path": "src/entities/entities.styles.ts",
|
|
@@ -307,24 +342,6 @@
|
|
|
307
342
|
"description": "Notification config used for submit failures. Defaults to an error snackbar but can be\noverridden while keeping title/body unchanged.",
|
|
308
343
|
"privacy": "public"
|
|
309
344
|
},
|
|
310
|
-
{
|
|
311
|
-
"kind": "field",
|
|
312
|
-
"name": "successNotificationTitle",
|
|
313
|
-
"type": {
|
|
314
|
-
"text": "string"
|
|
315
|
-
},
|
|
316
|
-
"description": "Overrides the success notification title shown after a successful form submission.\nWhen not set, the default \"{label} Added / Updated / Deleted\" title is used.",
|
|
317
|
-
"privacy": "public"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"kind": "field",
|
|
321
|
-
"name": "successNotificationBody",
|
|
322
|
-
"type": {
|
|
323
|
-
"text": "string"
|
|
324
|
-
},
|
|
325
|
-
"description": "Overrides the success notification body shown after a successful form submission.\nWhen not set, the default \"The {label} was successfully added/updated/deleted\" body is used.",
|
|
326
|
-
"privacy": "public"
|
|
327
|
-
},
|
|
328
345
|
{
|
|
329
346
|
"kind": "field",
|
|
330
347
|
"name": "title",
|
|
@@ -343,15 +360,6 @@
|
|
|
343
360
|
"description": "Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications",
|
|
344
361
|
"privacy": "public"
|
|
345
362
|
},
|
|
346
|
-
{
|
|
347
|
-
"kind": "field",
|
|
348
|
-
"name": "createLabel",
|
|
349
|
-
"type": {
|
|
350
|
-
"text": "string"
|
|
351
|
-
},
|
|
352
|
-
"description": "Custom label for the create button and modal title. When set, overrides the default \"Add {entityLabel}\" text.",
|
|
353
|
-
"privacy": "public"
|
|
354
|
-
},
|
|
355
363
|
{
|
|
356
364
|
"kind": "field",
|
|
357
365
|
"name": "rowSelection",
|
|
@@ -982,22 +990,6 @@
|
|
|
982
990
|
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
983
991
|
"fieldName": "createEvent"
|
|
984
992
|
},
|
|
985
|
-
{
|
|
986
|
-
"name": "success-notification-title",
|
|
987
|
-
"type": {
|
|
988
|
-
"text": "string"
|
|
989
|
-
},
|
|
990
|
-
"description": "Overrides the success notification title shown after a successful form submission.\nWhen not set, the default \"{label} Added / Updated / Deleted\" title is used.",
|
|
991
|
-
"fieldName": "successNotificationTitle"
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
"name": "success-notification-body",
|
|
995
|
-
"type": {
|
|
996
|
-
"text": "string"
|
|
997
|
-
},
|
|
998
|
-
"description": "Overrides the success notification body shown after a successful form submission.\nWhen not set, the default \"The {label} was successfully added/updated/deleted\" body is used.",
|
|
999
|
-
"fieldName": "successNotificationBody"
|
|
1000
|
-
},
|
|
1001
993
|
{
|
|
1002
994
|
"name": "title",
|
|
1003
995
|
"type": {
|
|
@@ -1014,14 +1006,6 @@
|
|
|
1014
1006
|
"description": "Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications",
|
|
1015
1007
|
"fieldName": "entityLabel"
|
|
1016
1008
|
},
|
|
1017
|
-
{
|
|
1018
|
-
"name": "create-label",
|
|
1019
|
-
"type": {
|
|
1020
|
-
"text": "string"
|
|
1021
|
-
},
|
|
1022
|
-
"description": "Custom label for the create button and modal title. When set, overrides the default \"Add {entityLabel}\" text.",
|
|
1023
|
-
"fieldName": "createLabel"
|
|
1024
|
-
},
|
|
1025
1009
|
{
|
|
1026
1010
|
"name": "row-selection",
|
|
1027
1011
|
"type": {
|
|
@@ -1323,109 +1307,22 @@
|
|
|
1323
1307
|
"declarations": [
|
|
1324
1308
|
{
|
|
1325
1309
|
"kind": "class",
|
|
1326
|
-
"description": "
|
|
1310
|
+
"description": "The Smart Form Modal element. Allows to open a modal with an auto-generated form based\non the resource schema.",
|
|
1327
1311
|
"name": "SmartFormModal",
|
|
1328
|
-
"cssParts": [
|
|
1329
|
-
{
|
|
1330
|
-
"description": "The trigger button that opens the modal. Style via `::part(create-button)`.",
|
|
1331
|
-
"name": "create-button"
|
|
1332
|
-
}
|
|
1333
|
-
],
|
|
1334
1312
|
"members": [
|
|
1335
1313
|
{
|
|
1336
1314
|
"kind": "field",
|
|
1337
|
-
"name": "
|
|
1338
|
-
"type": {
|
|
1339
|
-
"text": "string"
|
|
1340
|
-
},
|
|
1341
|
-
"description": "The Genesis event handler that processes the form submission.",
|
|
1342
|
-
"privacy": "public"
|
|
1343
|
-
},
|
|
1344
|
-
{
|
|
1345
|
-
"kind": "method",
|
|
1346
|
-
"name": "eventChanged",
|
|
1347
|
-
"parameters": [
|
|
1348
|
-
{
|
|
1349
|
-
"name": "_",
|
|
1350
|
-
"type": {
|
|
1351
|
-
"text": "string"
|
|
1352
|
-
}
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
"name": "next",
|
|
1356
|
-
"type": {
|
|
1357
|
-
"text": "string"
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
]
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"kind": "field",
|
|
1364
|
-
"name": "entityLabel",
|
|
1315
|
+
"name": "gridVisible",
|
|
1365
1316
|
"type": {
|
|
1366
|
-
"text": "
|
|
1317
|
+
"text": "boolean"
|
|
1367
1318
|
},
|
|
1368
|
-
"
|
|
1369
|
-
"
|
|
1319
|
+
"default": "false",
|
|
1320
|
+
"description": "Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid\n* @internal",
|
|
1370
1321
|
"inheritedFrom": {
|
|
1371
1322
|
"name": "EntityManagement",
|
|
1372
1323
|
"module": "src/entities/entities.ts"
|
|
1373
1324
|
}
|
|
1374
1325
|
},
|
|
1375
|
-
{
|
|
1376
|
-
"kind": "field",
|
|
1377
|
-
"name": "formUiSchema",
|
|
1378
|
-
"type": {
|
|
1379
|
-
"text": "UiSchema"
|
|
1380
|
-
},
|
|
1381
|
-
"description": "UI schema that controls the layout and visibility of form fields.",
|
|
1382
|
-
"privacy": "public"
|
|
1383
|
-
},
|
|
1384
|
-
{
|
|
1385
|
-
"kind": "method",
|
|
1386
|
-
"name": "formUiSchemaChanged",
|
|
1387
|
-
"parameters": [
|
|
1388
|
-
{
|
|
1389
|
-
"name": "_",
|
|
1390
|
-
"type": {
|
|
1391
|
-
"text": "UiSchema"
|
|
1392
|
-
}
|
|
1393
|
-
},
|
|
1394
|
-
{
|
|
1395
|
-
"name": "next",
|
|
1396
|
-
"type": {
|
|
1397
|
-
"text": "UiSchema"
|
|
1398
|
-
}
|
|
1399
|
-
}
|
|
1400
|
-
]
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
"kind": "field",
|
|
1404
|
-
"name": "buttonLabel",
|
|
1405
|
-
"type": {
|
|
1406
|
-
"text": "string"
|
|
1407
|
-
},
|
|
1408
|
-
"description": "Text displayed on the trigger button and as the modal title.",
|
|
1409
|
-
"privacy": "public"
|
|
1410
|
-
},
|
|
1411
|
-
{
|
|
1412
|
-
"kind": "method",
|
|
1413
|
-
"name": "buttonLabelChanged",
|
|
1414
|
-
"parameters": [
|
|
1415
|
-
{
|
|
1416
|
-
"name": "_",
|
|
1417
|
-
"type": {
|
|
1418
|
-
"text": "string"
|
|
1419
|
-
}
|
|
1420
|
-
},
|
|
1421
|
-
{
|
|
1422
|
-
"name": "next",
|
|
1423
|
-
"type": {
|
|
1424
|
-
"text": "string"
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
]
|
|
1428
|
-
},
|
|
1429
1326
|
{
|
|
1430
1327
|
"kind": "field",
|
|
1431
1328
|
"name": "prefix",
|
|
@@ -1543,32 +1440,6 @@
|
|
|
1543
1440
|
"module": "src/entities/entities.ts"
|
|
1544
1441
|
}
|
|
1545
1442
|
},
|
|
1546
|
-
{
|
|
1547
|
-
"kind": "field",
|
|
1548
|
-
"name": "successNotificationTitle",
|
|
1549
|
-
"type": {
|
|
1550
|
-
"text": "string"
|
|
1551
|
-
},
|
|
1552
|
-
"description": "Overrides the success notification title shown after a successful form submission.\nWhen not set, the default \"{label} Added / Updated / Deleted\" title is used.",
|
|
1553
|
-
"privacy": "public",
|
|
1554
|
-
"inheritedFrom": {
|
|
1555
|
-
"name": "EntityManagement",
|
|
1556
|
-
"module": "src/entities/entities.ts"
|
|
1557
|
-
}
|
|
1558
|
-
},
|
|
1559
|
-
{
|
|
1560
|
-
"kind": "field",
|
|
1561
|
-
"name": "successNotificationBody",
|
|
1562
|
-
"type": {
|
|
1563
|
-
"text": "string"
|
|
1564
|
-
},
|
|
1565
|
-
"description": "Overrides the success notification body shown after a successful form submission.\nWhen not set, the default \"The {label} was successfully added/updated/deleted\" body is used.",
|
|
1566
|
-
"privacy": "public",
|
|
1567
|
-
"inheritedFrom": {
|
|
1568
|
-
"name": "EntityManagement",
|
|
1569
|
-
"module": "src/entities/entities.ts"
|
|
1570
|
-
}
|
|
1571
|
-
},
|
|
1572
1443
|
{
|
|
1573
1444
|
"kind": "field",
|
|
1574
1445
|
"name": "title",
|
|
@@ -1584,11 +1455,11 @@
|
|
|
1584
1455
|
},
|
|
1585
1456
|
{
|
|
1586
1457
|
"kind": "field",
|
|
1587
|
-
"name": "
|
|
1458
|
+
"name": "entityLabel",
|
|
1588
1459
|
"type": {
|
|
1589
1460
|
"text": "string"
|
|
1590
1461
|
},
|
|
1591
|
-
"description": "
|
|
1462
|
+
"description": "Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications",
|
|
1592
1463
|
"privacy": "public",
|
|
1593
1464
|
"inheritedFrom": {
|
|
1594
1465
|
"name": "EntityManagement",
|
|
@@ -1979,19 +1850,6 @@
|
|
|
1979
1850
|
"module": "src/entities/entities.ts"
|
|
1980
1851
|
}
|
|
1981
1852
|
},
|
|
1982
|
-
{
|
|
1983
|
-
"kind": "field",
|
|
1984
|
-
"name": "gridVisible",
|
|
1985
|
-
"type": {
|
|
1986
|
-
"text": "boolean"
|
|
1987
|
-
},
|
|
1988
|
-
"default": "true",
|
|
1989
|
-
"description": "Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid\n* @internal",
|
|
1990
|
-
"inheritedFrom": {
|
|
1991
|
-
"name": "EntityManagement",
|
|
1992
|
-
"module": "src/entities/entities.ts"
|
|
1993
|
-
}
|
|
1994
|
-
},
|
|
1995
1853
|
{
|
|
1996
1854
|
"kind": "field",
|
|
1997
1855
|
"name": "enableFilters",
|
|
@@ -2345,129 +2203,13 @@
|
|
|
2345
2203
|
}
|
|
2346
2204
|
}
|
|
2347
2205
|
],
|
|
2348
|
-
"
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
"module": "src/entities/entities.ts"
|
|
2355
|
-
}
|
|
2356
|
-
},
|
|
2357
|
-
{
|
|
2358
|
-
"description": "Fired when the form submission returns an error.",
|
|
2359
|
-
"name": "submit-failure",
|
|
2360
|
-
"inheritedFrom": {
|
|
2361
|
-
"name": "EntityManagement",
|
|
2362
|
-
"module": "src/entities/entities.ts"
|
|
2363
|
-
}
|
|
2364
|
-
},
|
|
2365
|
-
{
|
|
2366
|
-
"description": "Fired when the request is changed",
|
|
2367
|
-
"name": "request-changed",
|
|
2368
|
-
"inheritedFrom": {
|
|
2369
|
-
"name": "EntityManagement",
|
|
2370
|
-
"module": "src/entities/entities.ts"
|
|
2371
|
-
}
|
|
2372
|
-
},
|
|
2373
|
-
{
|
|
2374
|
-
"description": "Fired when the criteria is changed",
|
|
2375
|
-
"name": "criteria-changed",
|
|
2376
|
-
"inheritedFrom": {
|
|
2377
|
-
"name": "EntityManagement",
|
|
2378
|
-
"module": "src/entities/entities.ts"
|
|
2379
|
-
}
|
|
2380
|
-
},
|
|
2381
|
-
{
|
|
2382
|
-
"description": "Fired when an entity is created",
|
|
2383
|
-
"name": "create-entity",
|
|
2384
|
-
"inheritedFrom": {
|
|
2385
|
-
"name": "EntityManagement",
|
|
2386
|
-
"module": "src/entities/entities.ts"
|
|
2387
|
-
}
|
|
2388
|
-
},
|
|
2389
|
-
{
|
|
2390
|
-
"description": "Fired when an entity is edited",
|
|
2391
|
-
"name": "edit-entity",
|
|
2392
|
-
"inheritedFrom": {
|
|
2393
|
-
"name": "EntityManagement",
|
|
2394
|
-
"module": "src/entities/entities.ts"
|
|
2395
|
-
}
|
|
2396
|
-
},
|
|
2397
|
-
{
|
|
2398
|
-
"description": "Fired when an entity is deleted Bubbled events from the child entity-list component",
|
|
2399
|
-
"name": "delete-entity",
|
|
2400
|
-
"inheritedFrom": {
|
|
2401
|
-
"name": "EntityManagement",
|
|
2402
|
-
"module": "src/entities/entities.ts"
|
|
2403
|
-
}
|
|
2404
|
-
},
|
|
2405
|
-
{
|
|
2406
|
-
"description": "Fired when a row is clicked",
|
|
2407
|
-
"name": "rowClick",
|
|
2408
|
-
"inheritedFrom": {
|
|
2409
|
-
"name": "EntityManagement",
|
|
2410
|
-
"module": "src/entities/entities.ts"
|
|
2411
|
-
}
|
|
2412
|
-
},
|
|
2413
|
-
{
|
|
2414
|
-
"description": "Fired when a row is double clicked",
|
|
2415
|
-
"name": "rowDblClick",
|
|
2416
|
-
"inheritedFrom": {
|
|
2417
|
-
"name": "EntityManagement",
|
|
2418
|
-
"module": "src/entities/entities.ts"
|
|
2419
|
-
}
|
|
2420
|
-
},
|
|
2421
|
-
{
|
|
2422
|
-
"description": "Fired when a row is right clicked",
|
|
2423
|
-
"name": "contextMenu",
|
|
2424
|
-
"inheritedFrom": {
|
|
2425
|
-
"name": "EntityManagement",
|
|
2426
|
-
"module": "src/entities/entities.ts"
|
|
2427
|
-
}
|
|
2428
|
-
},
|
|
2429
|
-
{
|
|
2430
|
-
"description": "Fired when a row is selected",
|
|
2431
|
-
"name": "rowSelected",
|
|
2432
|
-
"inheritedFrom": {
|
|
2433
|
-
"name": "EntityManagement",
|
|
2434
|
-
"module": "src/entities/entities.ts"
|
|
2435
|
-
}
|
|
2436
|
-
},
|
|
2437
|
-
{
|
|
2438
|
-
"description": "Fired when grid selection changes (bubbled from entity-list)",
|
|
2439
|
-
"name": "selectionChanged",
|
|
2440
|
-
"inheritedFrom": {
|
|
2441
|
-
"name": "EntityManagement",
|
|
2442
|
-
"module": "src/entities/entities.ts"
|
|
2443
|
-
}
|
|
2444
|
-
}
|
|
2445
|
-
],
|
|
2206
|
+
"superclass": {
|
|
2207
|
+
"name": "EntityManagement",
|
|
2208
|
+
"module": "/src/entities/entities"
|
|
2209
|
+
},
|
|
2210
|
+
"tagName": "smart-form-modal",
|
|
2211
|
+
"customElement": true,
|
|
2446
2212
|
"attributes": [
|
|
2447
|
-
{
|
|
2448
|
-
"name": "event",
|
|
2449
|
-
"type": {
|
|
2450
|
-
"text": "string"
|
|
2451
|
-
},
|
|
2452
|
-
"description": "The Genesis event handler that processes the form submission.",
|
|
2453
|
-
"fieldName": "event"
|
|
2454
|
-
},
|
|
2455
|
-
{
|
|
2456
|
-
"name": "entity-label",
|
|
2457
|
-
"type": {
|
|
2458
|
-
"text": "string"
|
|
2459
|
-
},
|
|
2460
|
-
"description": "Label appended to the default button text, producing \"Add {entity-label}\".",
|
|
2461
|
-
"fieldName": "entityLabel"
|
|
2462
|
-
},
|
|
2463
|
-
{
|
|
2464
|
-
"name": "button-label",
|
|
2465
|
-
"type": {
|
|
2466
|
-
"text": "string"
|
|
2467
|
-
},
|
|
2468
|
-
"description": "Text displayed on the trigger button and as the modal title.",
|
|
2469
|
-
"fieldName": "buttonLabel"
|
|
2470
|
-
},
|
|
2471
2213
|
{
|
|
2472
2214
|
"name": "design-system-prefix",
|
|
2473
2215
|
"type": {
|
|
@@ -2541,30 +2283,6 @@
|
|
|
2541
2283
|
"module": "src/entities/entities.ts"
|
|
2542
2284
|
}
|
|
2543
2285
|
},
|
|
2544
|
-
{
|
|
2545
|
-
"name": "success-notification-title",
|
|
2546
|
-
"type": {
|
|
2547
|
-
"text": "string"
|
|
2548
|
-
},
|
|
2549
|
-
"description": "Overrides the success notification title shown after a successful form submission.\nWhen not set, the default \"{label} Added / Updated / Deleted\" title is used.",
|
|
2550
|
-
"fieldName": "successNotificationTitle",
|
|
2551
|
-
"inheritedFrom": {
|
|
2552
|
-
"name": "EntityManagement",
|
|
2553
|
-
"module": "src/entities/entities.ts"
|
|
2554
|
-
}
|
|
2555
|
-
},
|
|
2556
|
-
{
|
|
2557
|
-
"name": "success-notification-body",
|
|
2558
|
-
"type": {
|
|
2559
|
-
"text": "string"
|
|
2560
|
-
},
|
|
2561
|
-
"description": "Overrides the success notification body shown after a successful form submission.\nWhen not set, the default \"The {label} was successfully added/updated/deleted\" body is used.",
|
|
2562
|
-
"fieldName": "successNotificationBody",
|
|
2563
|
-
"inheritedFrom": {
|
|
2564
|
-
"name": "EntityManagement",
|
|
2565
|
-
"module": "src/entities/entities.ts"
|
|
2566
|
-
}
|
|
2567
|
-
},
|
|
2568
2286
|
{
|
|
2569
2287
|
"name": "title",
|
|
2570
2288
|
"type": {
|
|
@@ -2589,18 +2307,6 @@
|
|
|
2589
2307
|
"module": "src/entities/entities.ts"
|
|
2590
2308
|
}
|
|
2591
2309
|
},
|
|
2592
|
-
{
|
|
2593
|
-
"name": "create-label",
|
|
2594
|
-
"type": {
|
|
2595
|
-
"text": "string"
|
|
2596
|
-
},
|
|
2597
|
-
"description": "Custom label for the create button and modal title. When set, overrides the default \"Add {entityLabel}\" text.",
|
|
2598
|
-
"fieldName": "createLabel",
|
|
2599
|
-
"inheritedFrom": {
|
|
2600
|
-
"name": "EntityManagement",
|
|
2601
|
-
"module": "src/entities/entities.ts"
|
|
2602
|
-
}
|
|
2603
|
-
},
|
|
2604
2310
|
{
|
|
2605
2311
|
"name": "row-selection",
|
|
2606
2312
|
"type": {
|
|
@@ -2916,12 +2622,104 @@
|
|
|
2916
2622
|
}
|
|
2917
2623
|
}
|
|
2918
2624
|
],
|
|
2919
|
-
"
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2625
|
+
"events": [
|
|
2626
|
+
{
|
|
2627
|
+
"description": "Fired when the request is changed",
|
|
2628
|
+
"name": "request-changed",
|
|
2629
|
+
"inheritedFrom": {
|
|
2630
|
+
"name": "EntityManagement",
|
|
2631
|
+
"module": "src/entities/entities.ts"
|
|
2632
|
+
}
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"description": "Fired when the criteria is changed",
|
|
2636
|
+
"name": "criteria-changed",
|
|
2637
|
+
"inheritedFrom": {
|
|
2638
|
+
"name": "EntityManagement",
|
|
2639
|
+
"module": "src/entities/entities.ts"
|
|
2640
|
+
}
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"description": "Fired when an entity is created",
|
|
2644
|
+
"name": "create-entity",
|
|
2645
|
+
"inheritedFrom": {
|
|
2646
|
+
"name": "EntityManagement",
|
|
2647
|
+
"module": "src/entities/entities.ts"
|
|
2648
|
+
}
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
"description": "Fired when an entity is edited",
|
|
2652
|
+
"name": "edit-entity",
|
|
2653
|
+
"inheritedFrom": {
|
|
2654
|
+
"name": "EntityManagement",
|
|
2655
|
+
"module": "src/entities/entities.ts"
|
|
2656
|
+
}
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
"description": "Fired when an entity is deleted Bubbled events from the child entity-list component",
|
|
2660
|
+
"name": "delete-entity",
|
|
2661
|
+
"inheritedFrom": {
|
|
2662
|
+
"name": "EntityManagement",
|
|
2663
|
+
"module": "src/entities/entities.ts"
|
|
2664
|
+
}
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
"description": "Fired when there is an error in a create, edit or delete operation",
|
|
2668
|
+
"name": "submit-failure",
|
|
2669
|
+
"inheritedFrom": {
|
|
2670
|
+
"name": "EntityManagement",
|
|
2671
|
+
"module": "src/entities/entities.ts"
|
|
2672
|
+
}
|
|
2673
|
+
},
|
|
2674
|
+
{
|
|
2675
|
+
"description": "Fired when a create, edit or delete operation is completed successfully",
|
|
2676
|
+
"name": "submit-success",
|
|
2677
|
+
"inheritedFrom": {
|
|
2678
|
+
"name": "EntityManagement",
|
|
2679
|
+
"module": "src/entities/entities.ts"
|
|
2680
|
+
}
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"description": "Fired when a row is clicked",
|
|
2684
|
+
"name": "rowClick",
|
|
2685
|
+
"inheritedFrom": {
|
|
2686
|
+
"name": "EntityManagement",
|
|
2687
|
+
"module": "src/entities/entities.ts"
|
|
2688
|
+
}
|
|
2689
|
+
},
|
|
2690
|
+
{
|
|
2691
|
+
"description": "Fired when a row is double clicked",
|
|
2692
|
+
"name": "rowDblClick",
|
|
2693
|
+
"inheritedFrom": {
|
|
2694
|
+
"name": "EntityManagement",
|
|
2695
|
+
"module": "src/entities/entities.ts"
|
|
2696
|
+
}
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
"description": "Fired when a row is right clicked",
|
|
2700
|
+
"name": "contextMenu",
|
|
2701
|
+
"inheritedFrom": {
|
|
2702
|
+
"name": "EntityManagement",
|
|
2703
|
+
"module": "src/entities/entities.ts"
|
|
2704
|
+
}
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
"description": "Fired when a row is selected",
|
|
2708
|
+
"name": "rowSelected",
|
|
2709
|
+
"inheritedFrom": {
|
|
2710
|
+
"name": "EntityManagement",
|
|
2711
|
+
"module": "src/entities/entities.ts"
|
|
2712
|
+
}
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
"description": "Fired when grid selection changes (bubbled from entity-list)",
|
|
2716
|
+
"name": "selectionChanged",
|
|
2717
|
+
"inheritedFrom": {
|
|
2718
|
+
"name": "EntityManagement",
|
|
2719
|
+
"module": "src/entities/entities.ts"
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
]
|
|
2925
2723
|
}
|
|
2926
2724
|
],
|
|
2927
2725
|
"exports": [
|
|
@@ -2943,41 +2741,6 @@
|
|
|
2943
2741
|
}
|
|
2944
2742
|
]
|
|
2945
2743
|
},
|
|
2946
|
-
{
|
|
2947
|
-
"kind": "javascript-module",
|
|
2948
|
-
"path": "src/components/components.ts",
|
|
2949
|
-
"declarations": [
|
|
2950
|
-
{
|
|
2951
|
-
"kind": "function",
|
|
2952
|
-
"name": "loadRemotes"
|
|
2953
|
-
}
|
|
2954
|
-
],
|
|
2955
|
-
"exports": [
|
|
2956
|
-
{
|
|
2957
|
-
"kind": "js",
|
|
2958
|
-
"name": "loadRemotes",
|
|
2959
|
-
"declaration": {
|
|
2960
|
-
"name": "loadRemotes",
|
|
2961
|
-
"module": "src/components/components.ts"
|
|
2962
|
-
}
|
|
2963
|
-
}
|
|
2964
|
-
]
|
|
2965
|
-
},
|
|
2966
|
-
{
|
|
2967
|
-
"kind": "javascript-module",
|
|
2968
|
-
"path": "src/components/index.ts",
|
|
2969
|
-
"declarations": [],
|
|
2970
|
-
"exports": [
|
|
2971
|
-
{
|
|
2972
|
-
"kind": "js",
|
|
2973
|
-
"name": "*",
|
|
2974
|
-
"declaration": {
|
|
2975
|
-
"name": "*",
|
|
2976
|
-
"package": "./components"
|
|
2977
|
-
}
|
|
2978
|
-
}
|
|
2979
|
-
]
|
|
2980
|
-
},
|
|
2981
2744
|
{
|
|
2982
2745
|
"kind": "javascript-module",
|
|
2983
2746
|
"path": "src/list/index.ts",
|
|
@@ -238,17 +238,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
238
238
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
239
239
|
setHTMLUnsafe(html: string): void;
|
|
240
240
|
setPointerCapture(pointerId: number): void;
|
|
241
|
-
toggleAttribute(qualifiedName: string, force
|
|
242
|
-
/**
|
|
243
|
-
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
244
|
-
* @remarks Defaults to true
|
|
245
|
-
* @internal
|
|
246
|
-
*/
|
|
247
|
-
? /**
|
|
248
|
-
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
249
|
-
* @remarks Defaults to true
|
|
250
|
-
* @internal
|
|
251
|
-
*/: boolean): boolean;
|
|
241
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
252
242
|
webkitMatchesSelector(selectors: string): boolean;
|
|
253
243
|
textContent: string;
|
|
254
244
|
readonly baseURI: string;
|
|
@@ -599,18 +589,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
599
589
|
* @public
|
|
600
590
|
*/
|
|
601
591
|
errorNotificationConfig: NotificationStructure['config'];
|
|
602
|
-
/**
|
|
603
|
-
* Overrides the success notification title shown after a successful form submission.
|
|
604
|
-
* When not set, the default "{label} Added / Updated / Deleted" title is used.
|
|
605
|
-
* @public
|
|
606
|
-
*/
|
|
607
|
-
successNotificationTitle: string;
|
|
608
|
-
/**
|
|
609
|
-
* Overrides the success notification body shown after a successful form submission.
|
|
610
|
-
* When not set, the default "The {label} was successfully added/updated/deleted" body is used.
|
|
611
|
-
* @public
|
|
612
|
-
*/
|
|
613
|
-
successNotificationBody: string;
|
|
614
592
|
/**
|
|
615
593
|
* Title of the grid
|
|
616
594
|
* @public
|
|
@@ -621,12 +599,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
621
599
|
* @public
|
|
622
600
|
*/
|
|
623
601
|
entityLabel: string;
|
|
624
|
-
/**
|
|
625
|
-
* Custom label for the create button and modal title. When set, overrides the default "Add {entityLabel}" text.
|
|
626
|
-
* @example `create-label="Reject Price"` renders a "Reject Price" button instead of "+ Add"
|
|
627
|
-
* @public
|
|
628
|
-
*/
|
|
629
|
-
createLabel: string;
|
|
630
602
|
/**
|
|
631
603
|
* Whether to use the `applyTransactionAsync` function for *add* transactions
|
|
632
604
|
* @remarks Defaults to false
|