@genesislcap/foundation-entity-management 14.103.1-alpha-5ee5747.0 → 14.104.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 +156 -153
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/utils/renderer.d.ts +1 -1
- package/dist/dts/utils/renderer.d.ts.map +1 -1
- package/dist/esm/entities/entities.template.js +4 -1
- package/dist/esm/list/list.js +14 -5
- package/dist/esm/utils/renderer.js +6 -5
- package/dist/foundation-entity-management.api.json +1 -1
- package/dist/foundation-entity-management.d.ts +1 -1
- package/docs/api/foundation-entity-management.buttoncellrenderer.md +1 -1
- package/docs/api-report.md +1 -1
- package/package.json +15 -15
|
@@ -1232,6 +1232,159 @@
|
|
|
1232
1232
|
}
|
|
1233
1233
|
]
|
|
1234
1234
|
},
|
|
1235
|
+
{
|
|
1236
|
+
"kind": "javascript-module",
|
|
1237
|
+
"path": "src/main/index.ts",
|
|
1238
|
+
"declarations": [],
|
|
1239
|
+
"exports": [
|
|
1240
|
+
{
|
|
1241
|
+
"kind": "js",
|
|
1242
|
+
"name": "*",
|
|
1243
|
+
"declaration": {
|
|
1244
|
+
"name": "*",
|
|
1245
|
+
"package": "./main.template"
|
|
1246
|
+
}
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"kind": "js",
|
|
1250
|
+
"name": "*",
|
|
1251
|
+
"declaration": {
|
|
1252
|
+
"name": "*",
|
|
1253
|
+
"package": "./main"
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
]
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"kind": "javascript-module",
|
|
1260
|
+
"path": "src/main/main.styles.ts",
|
|
1261
|
+
"declarations": [
|
|
1262
|
+
{
|
|
1263
|
+
"kind": "variable",
|
|
1264
|
+
"name": "MainStyles",
|
|
1265
|
+
"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`"
|
|
1266
|
+
}
|
|
1267
|
+
],
|
|
1268
|
+
"exports": [
|
|
1269
|
+
{
|
|
1270
|
+
"kind": "js",
|
|
1271
|
+
"name": "MainStyles",
|
|
1272
|
+
"declaration": {
|
|
1273
|
+
"name": "MainStyles",
|
|
1274
|
+
"module": "src/main/main.styles.ts"
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
]
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"kind": "javascript-module",
|
|
1281
|
+
"path": "src/main/main.template.ts",
|
|
1282
|
+
"declarations": [],
|
|
1283
|
+
"exports": []
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"kind": "javascript-module",
|
|
1287
|
+
"path": "src/main/main.ts",
|
|
1288
|
+
"declarations": [
|
|
1289
|
+
{
|
|
1290
|
+
"kind": "class",
|
|
1291
|
+
"description": "",
|
|
1292
|
+
"name": "MainApplication",
|
|
1293
|
+
"members": [
|
|
1294
|
+
{
|
|
1295
|
+
"kind": "field",
|
|
1296
|
+
"name": "config",
|
|
1297
|
+
"type": {
|
|
1298
|
+
"text": "MainRouterConfig"
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"kind": "field",
|
|
1303
|
+
"name": "connect",
|
|
1304
|
+
"type": {
|
|
1305
|
+
"text": "Connect"
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"kind": "field",
|
|
1310
|
+
"name": "session",
|
|
1311
|
+
"type": {
|
|
1312
|
+
"text": "Session"
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"kind": "field",
|
|
1317
|
+
"name": "container",
|
|
1318
|
+
"type": {
|
|
1319
|
+
"text": "Container"
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"kind": "field",
|
|
1324
|
+
"name": "provider",
|
|
1325
|
+
"type": {
|
|
1326
|
+
"text": "any"
|
|
1327
|
+
}
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
"kind": "field",
|
|
1331
|
+
"name": "ready",
|
|
1332
|
+
"type": {
|
|
1333
|
+
"text": "boolean"
|
|
1334
|
+
},
|
|
1335
|
+
"default": "false"
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"kind": "field",
|
|
1339
|
+
"name": "data",
|
|
1340
|
+
"type": {
|
|
1341
|
+
"text": "any"
|
|
1342
|
+
},
|
|
1343
|
+
"default": "null"
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"kind": "method",
|
|
1347
|
+
"name": "onLuminanceToggle"
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"kind": "method",
|
|
1351
|
+
"name": "loadRemotes"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"kind": "method",
|
|
1355
|
+
"name": "selectTemplate"
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"kind": "method",
|
|
1359
|
+
"name": "registerDIDependencies",
|
|
1360
|
+
"privacy": "private"
|
|
1361
|
+
}
|
|
1362
|
+
],
|
|
1363
|
+
"superclass": {
|
|
1364
|
+
"name": "FASTElement",
|
|
1365
|
+
"package": "@microsoft/fast-element"
|
|
1366
|
+
},
|
|
1367
|
+
"customElement": true
|
|
1368
|
+
}
|
|
1369
|
+
],
|
|
1370
|
+
"exports": [
|
|
1371
|
+
{
|
|
1372
|
+
"kind": "js",
|
|
1373
|
+
"name": "MainApplication",
|
|
1374
|
+
"declaration": {
|
|
1375
|
+
"name": "MainApplication",
|
|
1376
|
+
"module": "src/main/main.ts"
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"kind": "custom-element-definition",
|
|
1381
|
+
"declaration": {
|
|
1382
|
+
"name": "MainApplication",
|
|
1383
|
+
"module": "src/main/main.ts"
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
]
|
|
1387
|
+
},
|
|
1235
1388
|
{
|
|
1236
1389
|
"kind": "javascript-module",
|
|
1237
1390
|
"path": "src/profiles/editProfileSchema.ts",
|
|
@@ -2118,159 +2271,6 @@
|
|
|
2118
2271
|
}
|
|
2119
2272
|
]
|
|
2120
2273
|
},
|
|
2121
|
-
{
|
|
2122
|
-
"kind": "javascript-module",
|
|
2123
|
-
"path": "src/main/index.ts",
|
|
2124
|
-
"declarations": [],
|
|
2125
|
-
"exports": [
|
|
2126
|
-
{
|
|
2127
|
-
"kind": "js",
|
|
2128
|
-
"name": "*",
|
|
2129
|
-
"declaration": {
|
|
2130
|
-
"name": "*",
|
|
2131
|
-
"package": "./main.template"
|
|
2132
|
-
}
|
|
2133
|
-
},
|
|
2134
|
-
{
|
|
2135
|
-
"kind": "js",
|
|
2136
|
-
"name": "*",
|
|
2137
|
-
"declaration": {
|
|
2138
|
-
"name": "*",
|
|
2139
|
-
"package": "./main"
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
]
|
|
2143
|
-
},
|
|
2144
|
-
{
|
|
2145
|
-
"kind": "javascript-module",
|
|
2146
|
-
"path": "src/main/main.styles.ts",
|
|
2147
|
-
"declarations": [
|
|
2148
|
-
{
|
|
2149
|
-
"kind": "variable",
|
|
2150
|
-
"name": "MainStyles",
|
|
2151
|
-
"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`"
|
|
2152
|
-
}
|
|
2153
|
-
],
|
|
2154
|
-
"exports": [
|
|
2155
|
-
{
|
|
2156
|
-
"kind": "js",
|
|
2157
|
-
"name": "MainStyles",
|
|
2158
|
-
"declaration": {
|
|
2159
|
-
"name": "MainStyles",
|
|
2160
|
-
"module": "src/main/main.styles.ts"
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
|
-
]
|
|
2164
|
-
},
|
|
2165
|
-
{
|
|
2166
|
-
"kind": "javascript-module",
|
|
2167
|
-
"path": "src/main/main.template.ts",
|
|
2168
|
-
"declarations": [],
|
|
2169
|
-
"exports": []
|
|
2170
|
-
},
|
|
2171
|
-
{
|
|
2172
|
-
"kind": "javascript-module",
|
|
2173
|
-
"path": "src/main/main.ts",
|
|
2174
|
-
"declarations": [
|
|
2175
|
-
{
|
|
2176
|
-
"kind": "class",
|
|
2177
|
-
"description": "",
|
|
2178
|
-
"name": "MainApplication",
|
|
2179
|
-
"members": [
|
|
2180
|
-
{
|
|
2181
|
-
"kind": "field",
|
|
2182
|
-
"name": "config",
|
|
2183
|
-
"type": {
|
|
2184
|
-
"text": "MainRouterConfig"
|
|
2185
|
-
}
|
|
2186
|
-
},
|
|
2187
|
-
{
|
|
2188
|
-
"kind": "field",
|
|
2189
|
-
"name": "connect",
|
|
2190
|
-
"type": {
|
|
2191
|
-
"text": "Connect"
|
|
2192
|
-
}
|
|
2193
|
-
},
|
|
2194
|
-
{
|
|
2195
|
-
"kind": "field",
|
|
2196
|
-
"name": "session",
|
|
2197
|
-
"type": {
|
|
2198
|
-
"text": "Session"
|
|
2199
|
-
}
|
|
2200
|
-
},
|
|
2201
|
-
{
|
|
2202
|
-
"kind": "field",
|
|
2203
|
-
"name": "container",
|
|
2204
|
-
"type": {
|
|
2205
|
-
"text": "Container"
|
|
2206
|
-
}
|
|
2207
|
-
},
|
|
2208
|
-
{
|
|
2209
|
-
"kind": "field",
|
|
2210
|
-
"name": "provider",
|
|
2211
|
-
"type": {
|
|
2212
|
-
"text": "any"
|
|
2213
|
-
}
|
|
2214
|
-
},
|
|
2215
|
-
{
|
|
2216
|
-
"kind": "field",
|
|
2217
|
-
"name": "ready",
|
|
2218
|
-
"type": {
|
|
2219
|
-
"text": "boolean"
|
|
2220
|
-
},
|
|
2221
|
-
"default": "false"
|
|
2222
|
-
},
|
|
2223
|
-
{
|
|
2224
|
-
"kind": "field",
|
|
2225
|
-
"name": "data",
|
|
2226
|
-
"type": {
|
|
2227
|
-
"text": "any"
|
|
2228
|
-
},
|
|
2229
|
-
"default": "null"
|
|
2230
|
-
},
|
|
2231
|
-
{
|
|
2232
|
-
"kind": "method",
|
|
2233
|
-
"name": "onLuminanceToggle"
|
|
2234
|
-
},
|
|
2235
|
-
{
|
|
2236
|
-
"kind": "method",
|
|
2237
|
-
"name": "loadRemotes"
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
"kind": "method",
|
|
2241
|
-
"name": "selectTemplate"
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
"kind": "method",
|
|
2245
|
-
"name": "registerDIDependencies",
|
|
2246
|
-
"privacy": "private"
|
|
2247
|
-
}
|
|
2248
|
-
],
|
|
2249
|
-
"superclass": {
|
|
2250
|
-
"name": "FASTElement",
|
|
2251
|
-
"package": "@microsoft/fast-element"
|
|
2252
|
-
},
|
|
2253
|
-
"customElement": true
|
|
2254
|
-
}
|
|
2255
|
-
],
|
|
2256
|
-
"exports": [
|
|
2257
|
-
{
|
|
2258
|
-
"kind": "js",
|
|
2259
|
-
"name": "MainApplication",
|
|
2260
|
-
"declaration": {
|
|
2261
|
-
"name": "MainApplication",
|
|
2262
|
-
"module": "src/main/main.ts"
|
|
2263
|
-
}
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"kind": "custom-element-definition",
|
|
2267
|
-
"declaration": {
|
|
2268
|
-
"name": "MainApplication",
|
|
2269
|
-
"module": "src/main/main.ts"
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
|
-
]
|
|
2273
|
-
},
|
|
2274
2274
|
{
|
|
2275
2275
|
"kind": "javascript-module",
|
|
2276
2276
|
"path": "src/users/users.template.ts",
|
|
@@ -2547,6 +2547,9 @@
|
|
|
2547
2547
|
},
|
|
2548
2548
|
{
|
|
2549
2549
|
"name": "clickHandler"
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"name": "contentTemplate"
|
|
2550
2553
|
}
|
|
2551
2554
|
],
|
|
2552
2555
|
"privacy": "public"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAsB9C;;;GAGG;AACH,eAAO,MAAM,QAAQ,uEAmDpB,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;AACxD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAuB,WAAW,
|
|
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;AACxD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAuB,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAK/D,qBAKa,IAAK,SAAQ,WAAW;IAC7B,YAAY,EAAE,MAAM,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAM;IACwB,qBAAqB,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACjC,QAAQ,UAAS;IACd,WAAW,UAAS;IACpB,WAAW,UAAQ;IACX,kBAAkB,UAAS;IAC5B,iBAAiB,UAAS;IACpC,QAAQ,UAAS;IACf,UAAU,UAAS;IACjE,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,iBAAiB;YAqDH,oBAAoB;IA2BlC,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
|
@@ -2,5 +2,5 @@ import type { ColDef } from '@ag-grid-community/core';
|
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
|
-
export declare const buttonCellRenderer: (title: any, clickHandler: any) => ColDef;
|
|
5
|
+
export declare const buttonCellRenderer: (title: any, clickHandler: any, contentTemplate: any) => ColDef;
|
|
6
6
|
//# sourceMappingURL=renderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/utils/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/utils/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,kBAAkB,2DAA2C,MAyBxE,CAAC"}
|
|
@@ -10,7 +10,10 @@ Form;
|
|
|
10
10
|
const defaultHeader = html `
|
|
11
11
|
<h3>${(x) => x.title}</h3>
|
|
12
12
|
${when((x) => x.createEvent, html `
|
|
13
|
-
<zero-button appearance="
|
|
13
|
+
<zero-button appearance="neutral" @click=${(x, y) => x.createEntity()}>
|
|
14
|
+
<zero-icon size="lg" name="plus"></zero-icon>
|
|
15
|
+
Add
|
|
16
|
+
</zero-button>
|
|
14
17
|
`)}
|
|
15
18
|
`;
|
|
16
19
|
/**
|
package/dist/esm/list/list.js
CHANGED
|
@@ -2,7 +2,7 @@ import { __awaiter, __decorate } from "tslib";
|
|
|
2
2
|
import { Events } from '@ag-grid-community/core';
|
|
3
3
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
4
4
|
import { GRID_READY_EVENT, } from '@genesislcap/foundation-zero-grid-pro';
|
|
5
|
-
import { attr, customElement, FASTElement, observable } from '@microsoft/fast-element';
|
|
5
|
+
import { attr, customElement, FASTElement, html, observable } from '@microsoft/fast-element';
|
|
6
6
|
import { buttonCellRenderer } from '../utils';
|
|
7
7
|
import { listStyles } from './list.styles';
|
|
8
8
|
import { listTemplate } from './list.template';
|
|
@@ -34,11 +34,20 @@ let List = class List extends FASTElement {
|
|
|
34
34
|
this.grid.gridApi.addEventListener(Events.EVENT_ROW_CLICKED, (e) => this.select(e));
|
|
35
35
|
this.grid.gridApi.addEventListener(Events.EVENT_CELL_EDITING_STOPPED, (e) => this.onCellEditingStopped(e));
|
|
36
36
|
this.actionButtonsConfig = [];
|
|
37
|
-
if (this.deleteEvent && !this.hideDelete) {
|
|
38
|
-
this.actionButtonsConfig.push(buttonCellRenderer('Delete', (e) => this.delete(e)));
|
|
39
|
-
}
|
|
40
37
|
if (this.updateEvent && !this.hideEdit) {
|
|
41
|
-
this.actionButtonsConfig.push(buttonCellRenderer('Edit', this.edit
|
|
38
|
+
this.actionButtonsConfig.push(buttonCellRenderer('Edit', this.edit, html `
|
|
39
|
+
<zero-icon style="opacity: 0.5" variant="solid" name="pen" size="lg"></zero-icon>
|
|
40
|
+
`));
|
|
41
|
+
}
|
|
42
|
+
if (this.deleteEvent && !this.hideDelete) {
|
|
43
|
+
this.actionButtonsConfig.push(buttonCellRenderer('Delete', (e) => this.delete(e), html `
|
|
44
|
+
<zero-icon
|
|
45
|
+
style="opacity: 0.5"
|
|
46
|
+
variant="regular"
|
|
47
|
+
name="trash-alt"
|
|
48
|
+
size="lg"
|
|
49
|
+
></zero-icon>
|
|
50
|
+
`));
|
|
42
51
|
}
|
|
43
52
|
if (this.enableFilterBar) {
|
|
44
53
|
this.addEventListener('filter-changed', this.handleFilterChanged);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @public
|
|
3
3
|
*/
|
|
4
|
-
export const buttonCellRenderer = (title, clickHandler) => ({
|
|
4
|
+
export const buttonCellRenderer = (title, clickHandler, contentTemplate) => ({
|
|
5
5
|
colId: `action-${title}`,
|
|
6
|
-
width:
|
|
6
|
+
width: 50,
|
|
7
7
|
pinned: 'right',
|
|
8
8
|
enableCellChangeFlash: false,
|
|
9
9
|
cellStyle: { padding: '0', lineHeight: '25px' },
|
|
@@ -11,8 +11,8 @@ export const buttonCellRenderer = (title, clickHandler) => ({
|
|
|
11
11
|
suppressFiltersToolPanel: true,
|
|
12
12
|
suppressColumnsToolPanel: true,
|
|
13
13
|
headerName: '',
|
|
14
|
-
minWidth:
|
|
15
|
-
maxWidth:
|
|
14
|
+
minWidth: 50,
|
|
15
|
+
maxWidth: 50,
|
|
16
16
|
resizable: false,
|
|
17
17
|
cellRendererSelector: (params) => params.node.group
|
|
18
18
|
? undefined
|
|
@@ -21,7 +21,8 @@ export const buttonCellRenderer = (title, clickHandler) => ({
|
|
|
21
21
|
params: {
|
|
22
22
|
actionClick: clickHandler,
|
|
23
23
|
actionName: title,
|
|
24
|
-
|
|
24
|
+
contentTemplate,
|
|
25
|
+
appearance: 'neutral',
|
|
25
26
|
},
|
|
26
27
|
},
|
|
27
28
|
});
|
|
@@ -22,7 +22,7 @@ import { ViewTemplate } from '@microsoft/fast-element';
|
|
|
22
22
|
/**
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
25
|
-
export declare const buttonCellRenderer: (title: any, clickHandler: any) => ColDef;
|
|
25
|
+
export declare const buttonCellRenderer: (title: any, clickHandler: any, contentTemplate: any) => ColDef;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* The attribute which is set to configure the resource that the entity manager is working with
|
package/docs/api-report.md
CHANGED
|
@@ -26,7 +26,7 @@ import { Session } from '@genesislcap/foundation-comms';
|
|
|
26
26
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
27
27
|
|
|
28
28
|
// @public (undocumented)
|
|
29
|
-
export const buttonCellRenderer: (title: any, clickHandler: any) => ColDef;
|
|
29
|
+
export const buttonCellRenderer: (title: any, clickHandler: any, contentTemplate: any) => ColDef;
|
|
30
30
|
|
|
31
31
|
// @public
|
|
32
32
|
export type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName' | 'request'>;
|
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.104.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -44,23 +44,23 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@genesislcap/foundation-login": "^14.40.0",
|
|
47
|
-
"@genesislcap/foundation-testing": "14.
|
|
48
|
-
"@genesislcap/genx": "14.
|
|
47
|
+
"@genesislcap/foundation-testing": "14.104.0",
|
|
48
|
+
"@genesislcap/genx": "14.104.0",
|
|
49
49
|
"rimraf": "^3.0.2"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@ag-grid-community/core": "29.2.0",
|
|
53
|
-
"@genesislcap/foundation-comms": "14.
|
|
54
|
-
"@genesislcap/foundation-errors": "14.
|
|
55
|
-
"@genesislcap/foundation-forms": "14.
|
|
56
|
-
"@genesislcap/foundation-logger": "14.
|
|
57
|
-
"@genesislcap/foundation-login": "14.
|
|
58
|
-
"@genesislcap/foundation-notifications": "14.
|
|
59
|
-
"@genesislcap/foundation-ui": "14.
|
|
60
|
-
"@genesislcap/foundation-utils": "14.
|
|
61
|
-
"@genesislcap/foundation-zero": "14.
|
|
62
|
-
"@genesislcap/foundation-zero-grid-pro": "14.
|
|
63
|
-
"@genesislcap/grid-pro": "14.
|
|
53
|
+
"@genesislcap/foundation-comms": "14.104.0",
|
|
54
|
+
"@genesislcap/foundation-errors": "14.104.0",
|
|
55
|
+
"@genesislcap/foundation-forms": "14.104.0",
|
|
56
|
+
"@genesislcap/foundation-logger": "14.104.0",
|
|
57
|
+
"@genesislcap/foundation-login": "14.104.0",
|
|
58
|
+
"@genesislcap/foundation-notifications": "14.104.0",
|
|
59
|
+
"@genesislcap/foundation-ui": "14.104.0",
|
|
60
|
+
"@genesislcap/foundation-utils": "14.104.0",
|
|
61
|
+
"@genesislcap/foundation-zero": "14.104.0",
|
|
62
|
+
"@genesislcap/foundation-zero-grid-pro": "14.104.0",
|
|
63
|
+
"@genesislcap/grid-pro": "14.104.0",
|
|
64
64
|
"@microsoft/fast-components": "^2.21.3",
|
|
65
65
|
"@microsoft/fast-element": "^1.7.0",
|
|
66
66
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
78
|
"customElements": "dist/custom-elements.json",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "2df9499fe059d3142fb281802ba96c9f97240b9c"
|
|
80
80
|
}
|