@genesislcap/foundation-entity-management 14.200.1-alpha-e974201.0 → 14.202.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 +348 -36
- package/dist/dts/entities/entities.d.ts +66 -14
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.styles.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts +10 -0
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/types.d.ts +12 -0
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +111 -1
- package/dist/esm/entities/entities.styles.js +13 -2
- package/dist/esm/entities/entities.template.js +68 -16
- package/dist/esm/list/list.js +4 -3
- package/dist/esm/types.js +14 -0
- package/dist/foundation-entity-management.api.json +308 -0
- package/dist/foundation-entity-management.d.ts +79 -14
- package/docs/api/foundation-entity-management.entitymanagement.crudactionmenuname.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.crudmenuposition.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.crudmenustyle.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.crudmenuwrapper.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.emitcrud.md +24 -0
- package/docs/api/foundation-entity-management.entitymanagement.hascontentinslot.md +26 -0
- package/docs/api/foundation-entity-management.entitymanagement.hasselectedentity.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.md +9 -0
- package/docs/api/foundation-entity-management.entitymanagement.shouldhidedeleteincolumn.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.shouldhideeditincolumn.md +13 -0
- package/docs/api-report.md +13 -0
- package/package.json +22 -22
|
@@ -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",
|
|
@@ -129,7 +94,7 @@
|
|
|
129
94
|
{
|
|
130
95
|
"kind": "variable",
|
|
131
96
|
"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 }\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 padding-left: calc(var(--design-unit) * 2px);\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 .
|
|
97
|
+
"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 }\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 padding-left: calc(var(--design-unit) * 2px);\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-top: calc(var(--design-unit) * 2px);\n }\n`",
|
|
133
98
|
"description": "Defines the css of the entity component as an ElementStyles object"
|
|
134
99
|
}
|
|
135
100
|
],
|
|
@@ -148,6 +113,22 @@
|
|
|
148
113
|
"kind": "javascript-module",
|
|
149
114
|
"path": "src/entities/entities.template.ts",
|
|
150
115
|
"declarations": [
|
|
116
|
+
{
|
|
117
|
+
"kind": "function",
|
|
118
|
+
"name": "crudButtonsTemplate",
|
|
119
|
+
"parameters": [
|
|
120
|
+
{
|
|
121
|
+
"name": "prefix"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "position",
|
|
125
|
+
"type": {
|
|
126
|
+
"text": "CrudMenuPosition"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"description": "Default crud buttons for Entity Management screen"
|
|
131
|
+
},
|
|
151
132
|
{
|
|
152
133
|
"kind": "function",
|
|
153
134
|
"name": "getPrefixedEntities",
|
|
@@ -160,6 +141,14 @@
|
|
|
160
141
|
}
|
|
161
142
|
],
|
|
162
143
|
"exports": [
|
|
144
|
+
{
|
|
145
|
+
"kind": "js",
|
|
146
|
+
"name": "crudButtonsTemplate",
|
|
147
|
+
"declaration": {
|
|
148
|
+
"name": "crudButtonsTemplate",
|
|
149
|
+
"module": "src/entities/entities.template.ts"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
163
152
|
{
|
|
164
153
|
"kind": "js",
|
|
165
154
|
"name": "getPrefixedEntities",
|
|
@@ -539,6 +528,86 @@
|
|
|
539
528
|
"description": "Determines where the modal dialog will appear on screen",
|
|
540
529
|
"privacy": "public"
|
|
541
530
|
},
|
|
531
|
+
{
|
|
532
|
+
"kind": "field",
|
|
533
|
+
"name": "crudMenuPosition",
|
|
534
|
+
"type": {
|
|
535
|
+
"text": "CrudMenuPosition"
|
|
536
|
+
},
|
|
537
|
+
"description": "Determines where the buttons will appear",
|
|
538
|
+
"privacy": "public"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"kind": "field",
|
|
542
|
+
"name": "crudMenuStyle",
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "ActionsMenuStyle"
|
|
545
|
+
},
|
|
546
|
+
"description": "Determines the style of the buttons",
|
|
547
|
+
"privacy": "public"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"kind": "field",
|
|
551
|
+
"name": "crudActionMenuName",
|
|
552
|
+
"type": {
|
|
553
|
+
"text": "string"
|
|
554
|
+
},
|
|
555
|
+
"default": "'⋮'",
|
|
556
|
+
"description": "The label of the crud action menu"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "field",
|
|
560
|
+
"name": "crudMenuWrapper",
|
|
561
|
+
"privacy": "public",
|
|
562
|
+
"description": "The Id of the crud buttons wrapper element"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"kind": "field",
|
|
566
|
+
"name": "shouldHideEditInColumn",
|
|
567
|
+
"type": {
|
|
568
|
+
"text": "boolean"
|
|
569
|
+
},
|
|
570
|
+
"description": "Determines whether the button edit should be hidden in the column",
|
|
571
|
+
"readonly": true
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"kind": "field",
|
|
575
|
+
"name": "shouldHideDeleteInColumn",
|
|
576
|
+
"type": {
|
|
577
|
+
"text": "boolean"
|
|
578
|
+
},
|
|
579
|
+
"description": "Determines whether the button delete should be hidden in the column",
|
|
580
|
+
"readonly": true
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"kind": "field",
|
|
584
|
+
"name": "hasSelectedEntity",
|
|
585
|
+
"type": {
|
|
586
|
+
"text": "boolean"
|
|
587
|
+
},
|
|
588
|
+
"description": "Determines whether there is a selected entity",
|
|
589
|
+
"readonly": true
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"kind": "method",
|
|
593
|
+
"name": "hasContentInSlot",
|
|
594
|
+
"privacy": "public",
|
|
595
|
+
"return": {
|
|
596
|
+
"type": {
|
|
597
|
+
"text": ""
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"parameters": [
|
|
601
|
+
{
|
|
602
|
+
"name": "slotName",
|
|
603
|
+
"type": {
|
|
604
|
+
"text": "string"
|
|
605
|
+
},
|
|
606
|
+
"description": "The name of the slot to check."
|
|
607
|
+
}
|
|
608
|
+
],
|
|
609
|
+
"description": "Checks if a slot contains any content."
|
|
610
|
+
},
|
|
542
611
|
{
|
|
543
612
|
"kind": "method",
|
|
544
613
|
"name": "deepClone",
|
|
@@ -680,6 +749,21 @@
|
|
|
680
749
|
"kind": "method",
|
|
681
750
|
"name": "showDeleteConfirmation",
|
|
682
751
|
"privacy": "private"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"kind": "method",
|
|
755
|
+
"name": "emitCrud",
|
|
756
|
+
"privacy": "public",
|
|
757
|
+
"parameters": [
|
|
758
|
+
{
|
|
759
|
+
"name": "action",
|
|
760
|
+
"type": {
|
|
761
|
+
"text": "'create' | 'edit' | 'delete'"
|
|
762
|
+
},
|
|
763
|
+
"description": "the action to emit"
|
|
764
|
+
}
|
|
765
|
+
],
|
|
766
|
+
"description": "Emit the CRUD event for the selected entity"
|
|
683
767
|
}
|
|
684
768
|
],
|
|
685
769
|
"attributes": [
|
|
@@ -880,6 +964,31 @@
|
|
|
880
964
|
"default": "'right'",
|
|
881
965
|
"description": "Determines where the modal dialog will appear on screen",
|
|
882
966
|
"fieldName": "modalPosition"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"name": "crud-menu-position",
|
|
970
|
+
"type": {
|
|
971
|
+
"text": "CrudMenuPosition"
|
|
972
|
+
},
|
|
973
|
+
"description": "Determines where the buttons will appear",
|
|
974
|
+
"fieldName": "crudMenuPosition"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"name": "crud-menu-style",
|
|
978
|
+
"type": {
|
|
979
|
+
"text": "ActionsMenuStyle"
|
|
980
|
+
},
|
|
981
|
+
"description": "Determines the style of the buttons",
|
|
982
|
+
"fieldName": "crudMenuStyle"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"name": "crud-action-menu-name",
|
|
986
|
+
"type": {
|
|
987
|
+
"text": "string"
|
|
988
|
+
},
|
|
989
|
+
"default": "'⋮'",
|
|
990
|
+
"description": "The label of the crud action menu",
|
|
991
|
+
"fieldName": "crudActionMenuName"
|
|
883
992
|
}
|
|
884
993
|
],
|
|
885
994
|
"mixins": [
|
|
@@ -946,6 +1055,41 @@
|
|
|
946
1055
|
}
|
|
947
1056
|
]
|
|
948
1057
|
},
|
|
1058
|
+
{
|
|
1059
|
+
"kind": "javascript-module",
|
|
1060
|
+
"path": "src/components/components.ts",
|
|
1061
|
+
"declarations": [
|
|
1062
|
+
{
|
|
1063
|
+
"kind": "function",
|
|
1064
|
+
"name": "loadRemotes"
|
|
1065
|
+
}
|
|
1066
|
+
],
|
|
1067
|
+
"exports": [
|
|
1068
|
+
{
|
|
1069
|
+
"kind": "js",
|
|
1070
|
+
"name": "loadRemotes",
|
|
1071
|
+
"declaration": {
|
|
1072
|
+
"name": "loadRemotes",
|
|
1073
|
+
"module": "src/components/components.ts"
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
]
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"kind": "javascript-module",
|
|
1080
|
+
"path": "src/components/index.ts",
|
|
1081
|
+
"declarations": [],
|
|
1082
|
+
"exports": [
|
|
1083
|
+
{
|
|
1084
|
+
"kind": "js",
|
|
1085
|
+
"name": "*",
|
|
1086
|
+
"declaration": {
|
|
1087
|
+
"name": "*",
|
|
1088
|
+
"package": "./components"
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
]
|
|
1092
|
+
},
|
|
949
1093
|
{
|
|
950
1094
|
"kind": "javascript-module",
|
|
951
1095
|
"path": "src/layouts/default.ts",
|
|
@@ -2211,6 +2355,118 @@
|
|
|
2211
2355
|
"module": "src/entities/entities.ts"
|
|
2212
2356
|
}
|
|
2213
2357
|
},
|
|
2358
|
+
{
|
|
2359
|
+
"kind": "field",
|
|
2360
|
+
"name": "crudMenuPosition",
|
|
2361
|
+
"type": {
|
|
2362
|
+
"text": "CrudMenuPosition"
|
|
2363
|
+
},
|
|
2364
|
+
"description": "Determines where the buttons will appear",
|
|
2365
|
+
"privacy": "public",
|
|
2366
|
+
"inheritedFrom": {
|
|
2367
|
+
"name": "EntityManagement",
|
|
2368
|
+
"module": "src/entities/entities.ts"
|
|
2369
|
+
}
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"kind": "field",
|
|
2373
|
+
"name": "crudMenuStyle",
|
|
2374
|
+
"type": {
|
|
2375
|
+
"text": "ActionsMenuStyle"
|
|
2376
|
+
},
|
|
2377
|
+
"description": "Determines the style of the buttons",
|
|
2378
|
+
"privacy": "public",
|
|
2379
|
+
"inheritedFrom": {
|
|
2380
|
+
"name": "EntityManagement",
|
|
2381
|
+
"module": "src/entities/entities.ts"
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"kind": "field",
|
|
2386
|
+
"name": "crudActionMenuName",
|
|
2387
|
+
"type": {
|
|
2388
|
+
"text": "string"
|
|
2389
|
+
},
|
|
2390
|
+
"default": "'⋮'",
|
|
2391
|
+
"description": "The label of the crud action menu",
|
|
2392
|
+
"inheritedFrom": {
|
|
2393
|
+
"name": "EntityManagement",
|
|
2394
|
+
"module": "src/entities/entities.ts"
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"kind": "field",
|
|
2399
|
+
"name": "crudMenuWrapper",
|
|
2400
|
+
"privacy": "public",
|
|
2401
|
+
"description": "The Id of the crud buttons wrapper element",
|
|
2402
|
+
"inheritedFrom": {
|
|
2403
|
+
"name": "EntityManagement",
|
|
2404
|
+
"module": "src/entities/entities.ts"
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"kind": "field",
|
|
2409
|
+
"name": "shouldHideEditInColumn",
|
|
2410
|
+
"type": {
|
|
2411
|
+
"text": "boolean"
|
|
2412
|
+
},
|
|
2413
|
+
"description": "Determines whether the button edit should be hidden in the column",
|
|
2414
|
+
"readonly": true,
|
|
2415
|
+
"inheritedFrom": {
|
|
2416
|
+
"name": "EntityManagement",
|
|
2417
|
+
"module": "src/entities/entities.ts"
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"kind": "field",
|
|
2422
|
+
"name": "shouldHideDeleteInColumn",
|
|
2423
|
+
"type": {
|
|
2424
|
+
"text": "boolean"
|
|
2425
|
+
},
|
|
2426
|
+
"description": "Determines whether the button delete should be hidden in the column",
|
|
2427
|
+
"readonly": true,
|
|
2428
|
+
"inheritedFrom": {
|
|
2429
|
+
"name": "EntityManagement",
|
|
2430
|
+
"module": "src/entities/entities.ts"
|
|
2431
|
+
}
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"kind": "field",
|
|
2435
|
+
"name": "hasSelectedEntity",
|
|
2436
|
+
"type": {
|
|
2437
|
+
"text": "boolean"
|
|
2438
|
+
},
|
|
2439
|
+
"description": "Determines whether there is a selected entity",
|
|
2440
|
+
"readonly": true,
|
|
2441
|
+
"inheritedFrom": {
|
|
2442
|
+
"name": "EntityManagement",
|
|
2443
|
+
"module": "src/entities/entities.ts"
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"kind": "method",
|
|
2448
|
+
"name": "hasContentInSlot",
|
|
2449
|
+
"privacy": "public",
|
|
2450
|
+
"return": {
|
|
2451
|
+
"type": {
|
|
2452
|
+
"text": ""
|
|
2453
|
+
}
|
|
2454
|
+
},
|
|
2455
|
+
"parameters": [
|
|
2456
|
+
{
|
|
2457
|
+
"name": "slotName",
|
|
2458
|
+
"type": {
|
|
2459
|
+
"text": "string"
|
|
2460
|
+
},
|
|
2461
|
+
"description": "The name of the slot to check."
|
|
2462
|
+
}
|
|
2463
|
+
],
|
|
2464
|
+
"description": "Checks if a slot contains any content.",
|
|
2465
|
+
"inheritedFrom": {
|
|
2466
|
+
"name": "EntityManagement",
|
|
2467
|
+
"module": "src/entities/entities.ts"
|
|
2468
|
+
}
|
|
2469
|
+
},
|
|
2214
2470
|
{
|
|
2215
2471
|
"kind": "method",
|
|
2216
2472
|
"name": "deepClone",
|
|
@@ -2400,6 +2656,25 @@
|
|
|
2400
2656
|
"name": "EntityManagement",
|
|
2401
2657
|
"module": "src/entities/entities.ts"
|
|
2402
2658
|
}
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"kind": "method",
|
|
2662
|
+
"name": "emitCrud",
|
|
2663
|
+
"privacy": "public",
|
|
2664
|
+
"parameters": [
|
|
2665
|
+
{
|
|
2666
|
+
"name": "action",
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "'create' | 'edit' | 'delete'"
|
|
2669
|
+
},
|
|
2670
|
+
"description": "the action to emit"
|
|
2671
|
+
}
|
|
2672
|
+
],
|
|
2673
|
+
"description": "Emit the CRUD event for the selected entity",
|
|
2674
|
+
"inheritedFrom": {
|
|
2675
|
+
"name": "EntityManagement",
|
|
2676
|
+
"module": "src/entities/entities.ts"
|
|
2677
|
+
}
|
|
2403
2678
|
}
|
|
2404
2679
|
],
|
|
2405
2680
|
"superclass": {
|
|
@@ -2703,6 +2978,43 @@
|
|
|
2703
2978
|
"name": "EntityManagement",
|
|
2704
2979
|
"module": "src/entities/entities.ts"
|
|
2705
2980
|
}
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"name": "crud-menu-position",
|
|
2984
|
+
"type": {
|
|
2985
|
+
"text": "CrudMenuPosition"
|
|
2986
|
+
},
|
|
2987
|
+
"description": "Determines where the buttons will appear",
|
|
2988
|
+
"fieldName": "crudMenuPosition",
|
|
2989
|
+
"inheritedFrom": {
|
|
2990
|
+
"name": "EntityManagement",
|
|
2991
|
+
"module": "src/entities/entities.ts"
|
|
2992
|
+
}
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"name": "crud-menu-style",
|
|
2996
|
+
"type": {
|
|
2997
|
+
"text": "ActionsMenuStyle"
|
|
2998
|
+
},
|
|
2999
|
+
"description": "Determines the style of the buttons",
|
|
3000
|
+
"fieldName": "crudMenuStyle",
|
|
3001
|
+
"inheritedFrom": {
|
|
3002
|
+
"name": "EntityManagement",
|
|
3003
|
+
"module": "src/entities/entities.ts"
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "crud-action-menu-name",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "string"
|
|
3010
|
+
},
|
|
3011
|
+
"default": "'⋮'",
|
|
3012
|
+
"description": "The label of the crud action menu",
|
|
3013
|
+
"fieldName": "crudActionMenuName",
|
|
3014
|
+
"inheritedFrom": {
|
|
3015
|
+
"name": "EntityManagement",
|
|
3016
|
+
"module": "src/entities/entities.ts"
|
|
3017
|
+
}
|
|
2706
3018
|
}
|
|
2707
3019
|
]
|
|
2708
3020
|
}
|
|
@@ -6,6 +6,7 @@ import type { Modal } from '@genesislcap/foundation-ui';
|
|
|
6
6
|
import { AvailableOption, SelectedOption } from '@genesislcap/foundation-ui';
|
|
7
7
|
import type { DatasourceType, GridProCaseType } from '@genesislcap/grid-pro';
|
|
8
8
|
import { FASTElement } from '@microsoft/fast-element';
|
|
9
|
+
import { CrudMenuPosition, ActionsMenuStyle } from '../types';
|
|
9
10
|
/**
|
|
10
11
|
* The attribute which is set to configure the resource that the entity manager is working with
|
|
11
12
|
*
|
|
@@ -43,7 +44,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
43
44
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
44
45
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
45
46
|
disconnectedCallback(): void;
|
|
46
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
47
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void; /**
|
|
48
|
+
* This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.
|
|
49
|
+
* @remarks Defaults to single
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
47
52
|
accessKey: string;
|
|
48
53
|
readonly accessKeyLabel: string;
|
|
49
54
|
autocapitalize: string;
|
|
@@ -61,6 +66,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
61
66
|
outerText: string;
|
|
62
67
|
spellcheck: boolean;
|
|
63
68
|
title: string;
|
|
69
|
+
/**
|
|
70
|
+
* If true, will enable row flashing for all rows for `add` transactions
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
64
73
|
translate: boolean;
|
|
65
74
|
attachInternals(): ElementInternals;
|
|
66
75
|
click(): void;
|
|
@@ -96,10 +105,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
96
105
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
97
106
|
closest<E extends Element = Element>(selectors: string): E;
|
|
98
107
|
getAttribute(qualifiedName: string): string;
|
|
99
|
-
getAttributeNS(namespace: string, localName: string): string;
|
|
100
|
-
* Array with renderers used by foundation-forms
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
108
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
103
109
|
getAttributeNames(): string[];
|
|
104
110
|
getAttributeNode(qualifiedName: string): Attr;
|
|
105
111
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
@@ -222,14 +228,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
222
228
|
ariaSetSize: string;
|
|
223
229
|
ariaSort: string;
|
|
224
230
|
ariaValueMax: string;
|
|
225
|
-
/**
|
|
226
|
-
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
227
|
-
*
|
|
228
|
-
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
229
|
-
*
|
|
230
|
-
* Emits an event upon error
|
|
231
|
-
* @public
|
|
232
|
-
*/
|
|
233
231
|
ariaValueMin: string;
|
|
234
232
|
ariaValueNow: string;
|
|
235
233
|
ariaValueText: string;
|
|
@@ -581,6 +579,44 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
581
579
|
* @public
|
|
582
580
|
*/
|
|
583
581
|
modalPosition: 'centre' | 'left' | 'right';
|
|
582
|
+
/**
|
|
583
|
+
* Determines where the buttons will appear
|
|
584
|
+
* @public
|
|
585
|
+
*/
|
|
586
|
+
crudMenuPosition: CrudMenuPosition;
|
|
587
|
+
/**
|
|
588
|
+
* Determines the style of the buttons
|
|
589
|
+
* @public
|
|
590
|
+
*/
|
|
591
|
+
crudMenuStyle: ActionsMenuStyle;
|
|
592
|
+
/**
|
|
593
|
+
* The label of the crud action menu
|
|
594
|
+
*/
|
|
595
|
+
crudActionMenuName: string;
|
|
596
|
+
/**
|
|
597
|
+
* The Id of the crud buttons wrapper element
|
|
598
|
+
*/
|
|
599
|
+
crudMenuWrapper: any;
|
|
600
|
+
/**
|
|
601
|
+
* Determines whether the button edit should be hidden in the column
|
|
602
|
+
*/
|
|
603
|
+
get shouldHideEditInColumn(): boolean;
|
|
604
|
+
/**
|
|
605
|
+
* Determines whether the button delete should be hidden in the column
|
|
606
|
+
*/
|
|
607
|
+
get shouldHideDeleteInColumn(): boolean;
|
|
608
|
+
/**
|
|
609
|
+
* Determines whether there is a selected entity
|
|
610
|
+
*/
|
|
611
|
+
get hasSelectedEntity(): boolean;
|
|
612
|
+
/**
|
|
613
|
+
* Checks if a slot contains any content.
|
|
614
|
+
*
|
|
615
|
+
* @param slotName - The name of the slot to check.
|
|
616
|
+
* @returns True if the slot has content, otherwise false.
|
|
617
|
+
* @public
|
|
618
|
+
*/
|
|
619
|
+
hasContentInSlot(slotName: string): boolean;
|
|
584
620
|
/**
|
|
585
621
|
* Set up the web component
|
|
586
622
|
* @internal
|
|
@@ -625,7 +661,7 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
625
661
|
* @param e - CustomEvent where `e.detail` is the entity to edit.
|
|
626
662
|
* @internal
|
|
627
663
|
*/
|
|
628
|
-
|
|
664
|
+
editEntity({ detail }: CustomEvent): Promise<void>;
|
|
629
665
|
private readEntity;
|
|
630
666
|
closeModal(): void;
|
|
631
667
|
get headerTempalate(): import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
@@ -645,11 +681,27 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
645
681
|
deleteEntity(e: CustomEvent): Promise<void>;
|
|
646
682
|
confirmDelete(): Promise<void>;
|
|
647
683
|
private showDeleteConfirmation;
|
|
684
|
+
/**
|
|
685
|
+
* Emit the CRUD event for the selected entity
|
|
686
|
+
* @param action - the action to emit
|
|
687
|
+
*/
|
|
688
|
+
emitCrud(action: 'create' | 'edit' | 'delete'): void;
|
|
648
689
|
/**
|
|
649
690
|
* Show notifications if the executed event returned an error.
|
|
650
691
|
* @internal
|
|
651
692
|
*/
|
|
652
693
|
errorNotify(request: any): void;
|
|
694
|
+
/**
|
|
695
|
+
* Clear the selected entity
|
|
696
|
+
* @internal
|
|
697
|
+
*/
|
|
698
|
+
private clearSelectedEntity;
|
|
699
|
+
/**
|
|
700
|
+
* Helper to generate the CRUD actions menu
|
|
701
|
+
*
|
|
702
|
+
* @internal
|
|
703
|
+
*/
|
|
704
|
+
private generateCrudActionsMenu;
|
|
653
705
|
}
|
|
654
706
|
export {};
|
|
655
707
|
//# sourceMappingURL=entities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EACL,OAAO,EACP,iBAAiB,EAGlB,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,KAAK,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EACL,OAAO,EACP,iBAAiB,EAGlB,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,KAAK,EAAE,KAAK,EAAe,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,e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AC,EAAE;IAKpD,mBAAmB,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE;IAiB9C,cAAc,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAIrC,eAAe,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAItC,yBAAyB,CAAC,CAAC,EAAE,WAAW;IAgC/C;;;;;OAKG;IACG,YAAY,CAAC,CAAC,EAAE,WAAW;IAK3B,aAAa;IAuBnB,OAAO,CAAC,sBAAsB;IAc9B;;;OAGG;IACI,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ;IAIpD;;;OAGG;IACI,WAAW,CAAC,OAAO,KAAA;IAmB1B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAiChC"}
|
|
@@ -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,iDAmElB,CAAC"}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
+
import { CrudMenuPosition } from '../types';
|
|
1
2
|
import type { EntityManagement } from './entities';
|
|
3
|
+
/**
|
|
4
|
+
* Default crud buttons for Entity Management screen
|
|
5
|
+
*/
|
|
6
|
+
export declare const crudButtonsTemplate: (prefix: any, position: CrudMenuPosition) => import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
7
|
+
/**
|
|
8
|
+
* Default header crud buttons area for Entity Management screen
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare const headerCrudAreaTemplate: (prefix: any) => import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
2
12
|
/**
|
|
3
13
|
* Default header for Entity Management screen
|
|
4
14
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAoBnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAsB,gBAAgB,0EAkDrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,wFAWlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAGzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAS3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAwD/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,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,EAA4B,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAClG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,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;YA6DH,oBAAoB;IA+C5B,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAa3C,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
package/dist/dts/types.d.ts
CHANGED
|
@@ -13,4 +13,16 @@ export type AdditionalEntry = string | UiSchema | {
|
|
|
13
13
|
labelField?: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
+
export declare enum ActionsMenuStyle {
|
|
17
|
+
Default = "default",
|
|
18
|
+
ActionsVertical = "actions-vertical",
|
|
19
|
+
ActionsHorizontal = "actions-horizontal"
|
|
20
|
+
}
|
|
21
|
+
export declare enum CrudMenuPosition {
|
|
22
|
+
Column = "column",
|
|
23
|
+
Top = "top",
|
|
24
|
+
Bottom = "bottom",
|
|
25
|
+
Action = "action",
|
|
26
|
+
None = "none"
|
|
27
|
+
}
|
|
16
28
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/dts/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGzD,eAAO,MAAM,aAAa,8DAA6C,CAAC;AACxE,eAAO,MAAM,WAAW,8DAA2C,CAAC;AAEpE,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,QAAQ,GACR;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QACR,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGzD,eAAO,MAAM,aAAa,8DAA6C,CAAC;AACxE,eAAO,MAAM,WAAW,8DAA2C,CAAC;AAEpE,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,QAAQ,GACR;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QACR,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAC;AAEN,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;IACnB,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;CACzC;AAED,oBAAY,gBAAgB;IAC1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