@genesislcap/foundation-entity-management 14.65.1 → 14.65.2-alpha-d8c8a07.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 +873 -873
- package/package.json +13 -13
|
@@ -124,193 +124,149 @@
|
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"kind": "javascript-module",
|
|
127
|
-
"path": "src/
|
|
128
|
-
"declarations": [
|
|
129
|
-
{
|
|
130
|
-
"kind": "variable",
|
|
131
|
-
"name": "loginLayout",
|
|
132
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"kind": "variable",
|
|
136
|
-
"name": "defaultLayout",
|
|
137
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
"exports": [
|
|
141
|
-
{
|
|
142
|
-
"kind": "js",
|
|
143
|
-
"name": "loginLayout",
|
|
144
|
-
"declaration": {
|
|
145
|
-
"name": "loginLayout",
|
|
146
|
-
"module": "src/layouts/default.ts"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"kind": "js",
|
|
151
|
-
"name": "defaultLayout",
|
|
152
|
-
"declaration": {
|
|
153
|
-
"name": "defaultLayout",
|
|
154
|
-
"module": "src/layouts/default.ts"
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
]
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"kind": "javascript-module",
|
|
161
|
-
"path": "src/layouts/index.ts",
|
|
162
|
-
"declarations": [],
|
|
163
|
-
"exports": [
|
|
164
|
-
{
|
|
165
|
-
"kind": "js",
|
|
166
|
-
"name": "*",
|
|
167
|
-
"declaration": {
|
|
168
|
-
"name": "*",
|
|
169
|
-
"package": "./default"
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
]
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"kind": "javascript-module",
|
|
176
|
-
"path": "src/list/index.ts",
|
|
177
|
-
"declarations": [],
|
|
178
|
-
"exports": [
|
|
179
|
-
{
|
|
180
|
-
"kind": "js",
|
|
181
|
-
"name": "*",
|
|
182
|
-
"declaration": {
|
|
183
|
-
"name": "*",
|
|
184
|
-
"package": "./list"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
]
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"kind": "javascript-module",
|
|
191
|
-
"path": "src/list/list.styles.ts",
|
|
127
|
+
"path": "src/entities/entities.styles.ts",
|
|
192
128
|
"declarations": [
|
|
193
129
|
{
|
|
194
130
|
"kind": "variable",
|
|
195
|
-
"name": "
|
|
196
|
-
"default": "css`\n :host {\n contain: content;\n }\n\n
|
|
131
|
+
"name": "styles",
|
|
132
|
+
"default": "css`\n :host {\n contain: content;\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 :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n`",
|
|
133
|
+
"description": "Defines the css of the entity component as an ElementStyles object"
|
|
197
134
|
}
|
|
198
135
|
],
|
|
199
136
|
"exports": [
|
|
200
137
|
{
|
|
201
138
|
"kind": "js",
|
|
202
|
-
"name": "
|
|
139
|
+
"name": "styles",
|
|
203
140
|
"declaration": {
|
|
204
|
-
"name": "
|
|
205
|
-
"module": "src/
|
|
141
|
+
"name": "styles",
|
|
142
|
+
"module": "src/entities/entities.styles.ts"
|
|
206
143
|
}
|
|
207
144
|
}
|
|
208
145
|
]
|
|
209
146
|
},
|
|
210
147
|
{
|
|
211
148
|
"kind": "javascript-module",
|
|
212
|
-
"path": "src/
|
|
149
|
+
"path": "src/entities/entities.template.ts",
|
|
213
150
|
"declarations": [
|
|
214
151
|
{
|
|
215
152
|
"kind": "variable",
|
|
216
|
-
"name": "
|
|
217
|
-
"default": "html<
|
|
153
|
+
"name": "template",
|
|
154
|
+
"default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${defaultHeader}</slot>\n <entity-list\n title=${(x) => x.title}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit=${(x) => x.sizeColumnsToFit}\n enable-filter-bar=${(x) => x.enableFilterBar}\n resourceName=${(x) => x.resourceName}\n :deleteEvent=${(x) => x.deleteEvent}\n :updateEvent=${(x) => x.updateEvent}\n :gridOptions=${(x) => x.gridOptions}\n :columns=${(x) => x.columns}\n :datasourceConfig=${(x) => x.datasourceConfig}\n data-test-id=\"entity-list\"\n hide-edit=${(x) => x.hideEdit}\n hide-delete=${(x) => x.hideDelete}\n >\n <slot name=\"header\" slot=\"header\">${defaultHeader}</slot>\n </entity-list>\n <zero-modal\n ${ref('editEntityModal')}\n position=${(x) => x.modalPosition}\n :onCloseCallback=${(x) => x.closeModal.bind(x)}\n data-test-id=\"edit-entity-modal\"\n >\n <div slot=\"top\" data-test-id=\"dialog-title\">${(x) => x.editDialogTitle}</div>\n\n <slot name=\"edit\">\n ${when(\n (x) => x.editModalVisible,\n html<EntityManagement>`\n <foundation-form\n part=\"form\"\n resourceName=${(x) => x.formResourceName}\n :data=${(x) => x.editedEntity}\n :uischema=${(x) => x.formUiSchema}\n @submit-success=${(x, c) => x.submitEntityChanges(c.event as CustomEvent)}\n @submit-failure=${(x, c) =>\n x.errorSnack((c.event as CustomEvent<{ errors: MessageError[] }>).detail.errors)}\n ></foundation-form>\n `,\n )}\n </slot>\n </zero-modal>\n </div>\n`",
|
|
155
|
+
"description": "Defines the html of the entity component as a ViewTemplate object"
|
|
218
156
|
}
|
|
219
157
|
],
|
|
220
158
|
"exports": [
|
|
221
159
|
{
|
|
222
160
|
"kind": "js",
|
|
223
|
-
"name": "
|
|
161
|
+
"name": "template",
|
|
224
162
|
"declaration": {
|
|
225
|
-
"name": "
|
|
226
|
-
"module": "src/
|
|
163
|
+
"name": "template",
|
|
164
|
+
"module": "src/entities/entities.template.ts"
|
|
227
165
|
}
|
|
228
166
|
}
|
|
229
167
|
]
|
|
230
168
|
},
|
|
231
169
|
{
|
|
232
170
|
"kind": "javascript-module",
|
|
233
|
-
"path": "src/
|
|
171
|
+
"path": "src/entities/entities.ts",
|
|
234
172
|
"declarations": [
|
|
235
173
|
{
|
|
236
174
|
"kind": "class",
|
|
237
|
-
"description": "",
|
|
238
|
-
"name": "
|
|
175
|
+
"description": "Main class which defines the entity management functionality",
|
|
176
|
+
"name": "EntityManagement",
|
|
239
177
|
"members": [
|
|
240
178
|
{
|
|
241
179
|
"kind": "field",
|
|
242
|
-
"name": "
|
|
180
|
+
"name": "connect",
|
|
243
181
|
"type": {
|
|
244
|
-
"text": "
|
|
182
|
+
"text": "Connect"
|
|
245
183
|
},
|
|
246
|
-
"
|
|
184
|
+
"privacy": "protected",
|
|
185
|
+
"description": "DI connect object which is used to interact with the backend."
|
|
247
186
|
},
|
|
248
187
|
{
|
|
249
188
|
"kind": "field",
|
|
250
|
-
"name": "
|
|
189
|
+
"name": "resourceName",
|
|
251
190
|
"type": {
|
|
252
191
|
"text": "string"
|
|
253
192
|
},
|
|
254
|
-
"
|
|
193
|
+
"description": "Name of the backend resource which contain the entities to manage",
|
|
194
|
+
"privacy": "public"
|
|
255
195
|
},
|
|
256
196
|
{
|
|
257
197
|
"kind": "field",
|
|
258
|
-
"name": "
|
|
198
|
+
"name": "readEvent",
|
|
259
199
|
"type": {
|
|
260
200
|
"text": "string"
|
|
261
201
|
}
|
|
262
202
|
},
|
|
263
203
|
{
|
|
264
204
|
"kind": "field",
|
|
265
|
-
"name": "
|
|
205
|
+
"name": "readEventFn",
|
|
266
206
|
"type": {
|
|
267
|
-
"text": "
|
|
207
|
+
"text": "(...args) => {}"
|
|
268
208
|
}
|
|
269
209
|
},
|
|
270
210
|
{
|
|
271
211
|
"kind": "field",
|
|
272
|
-
"name": "
|
|
212
|
+
"name": "readonly",
|
|
273
213
|
"type": {
|
|
274
214
|
"text": "boolean"
|
|
275
215
|
}
|
|
276
216
|
},
|
|
277
217
|
{
|
|
278
218
|
"kind": "field",
|
|
279
|
-
"name": "
|
|
219
|
+
"name": "updateEvent",
|
|
280
220
|
"type": {
|
|
281
|
-
"text": "
|
|
282
|
-
}
|
|
221
|
+
"text": "string"
|
|
222
|
+
},
|
|
223
|
+
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
224
|
+
"privacy": "public"
|
|
283
225
|
},
|
|
284
226
|
{
|
|
285
227
|
"kind": "field",
|
|
286
|
-
"name": "
|
|
228
|
+
"name": "deleteEvent",
|
|
287
229
|
"type": {
|
|
288
|
-
"text": "
|
|
230
|
+
"text": "string"
|
|
289
231
|
},
|
|
290
|
-
"
|
|
232
|
+
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
233
|
+
"privacy": "public"
|
|
291
234
|
},
|
|
292
235
|
{
|
|
293
236
|
"kind": "field",
|
|
294
|
-
"name": "
|
|
237
|
+
"name": "createEvent",
|
|
295
238
|
"type": {
|
|
296
|
-
"text": "
|
|
239
|
+
"text": "string"
|
|
297
240
|
},
|
|
298
|
-
"
|
|
241
|
+
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
242
|
+
"privacy": "public"
|
|
299
243
|
},
|
|
300
244
|
{
|
|
301
245
|
"kind": "field",
|
|
302
|
-
"name": "
|
|
246
|
+
"name": "title",
|
|
303
247
|
"type": {
|
|
304
|
-
"text": "
|
|
248
|
+
"text": "string"
|
|
305
249
|
},
|
|
250
|
+
"description": "Title of the grid",
|
|
306
251
|
"privacy": "public"
|
|
307
252
|
},
|
|
308
253
|
{
|
|
309
254
|
"kind": "field",
|
|
310
|
-
"name": "
|
|
255
|
+
"name": "entityLabel",
|
|
311
256
|
"type": {
|
|
312
|
-
"text": "
|
|
257
|
+
"text": "string"
|
|
258
|
+
},
|
|
259
|
+
"default": "''",
|
|
260
|
+
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
261
|
+
"privacy": "public"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"kind": "field",
|
|
265
|
+
"name": "persistColumnStateKey",
|
|
266
|
+
"type": {
|
|
267
|
+
"text": "string"
|
|
313
268
|
},
|
|
269
|
+
"description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
|
|
314
270
|
"privacy": "public"
|
|
315
271
|
},
|
|
316
272
|
{
|
|
@@ -318,111 +274,292 @@
|
|
|
318
274
|
"name": "gridOptions",
|
|
319
275
|
"type": {
|
|
320
276
|
"text": "GridOptions"
|
|
321
|
-
}
|
|
277
|
+
},
|
|
278
|
+
"description": "GridOptions to be passed down from application",
|
|
279
|
+
"privacy": "public"
|
|
322
280
|
},
|
|
323
281
|
{
|
|
324
282
|
"kind": "field",
|
|
325
283
|
"name": "columns",
|
|
326
284
|
"type": {
|
|
327
285
|
"text": "ColDef[]"
|
|
328
|
-
}
|
|
286
|
+
},
|
|
287
|
+
"description": "Array which holds the column definitions.",
|
|
288
|
+
"privacy": "public"
|
|
329
289
|
},
|
|
330
290
|
{
|
|
331
291
|
"kind": "field",
|
|
332
292
|
"name": "datasourceConfig",
|
|
333
293
|
"type": {
|
|
334
294
|
"text": "DatasourceConfiguration"
|
|
335
|
-
}
|
|
295
|
+
},
|
|
296
|
+
"description": "The configuration which is used when interacting with the resource on the backend",
|
|
297
|
+
"privacy": "public"
|
|
336
298
|
},
|
|
337
299
|
{
|
|
338
300
|
"kind": "field",
|
|
339
|
-
"name": "
|
|
301
|
+
"name": "formUiSchema",
|
|
340
302
|
"type": {
|
|
341
|
-
"text": "
|
|
342
|
-
}
|
|
343
|
-
"default": "[]"
|
|
303
|
+
"text": "any"
|
|
304
|
+
}
|
|
344
305
|
},
|
|
345
306
|
{
|
|
346
307
|
"kind": "field",
|
|
347
|
-
"name": "
|
|
308
|
+
"name": "createFormUiSchema",
|
|
348
309
|
"type": {
|
|
349
|
-
"text": "
|
|
310
|
+
"text": "any"
|
|
350
311
|
}
|
|
351
312
|
},
|
|
352
313
|
{
|
|
353
314
|
"kind": "field",
|
|
354
|
-
"name": "
|
|
315
|
+
"name": "updateFormUiSchema",
|
|
355
316
|
"type": {
|
|
356
|
-
"text": "
|
|
317
|
+
"text": "any"
|
|
357
318
|
}
|
|
358
319
|
},
|
|
359
320
|
{
|
|
360
|
-
"kind": "
|
|
361
|
-
"name": "
|
|
362
|
-
"
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
]
|
|
321
|
+
"kind": "field",
|
|
322
|
+
"name": "selectedEntity",
|
|
323
|
+
"type": {
|
|
324
|
+
"text": "any"
|
|
325
|
+
},
|
|
326
|
+
"description": "Reference to the currently selected entity from the grid.",
|
|
327
|
+
"privacy": "public"
|
|
368
328
|
},
|
|
369
329
|
{
|
|
370
|
-
"kind": "
|
|
371
|
-
"name": "
|
|
372
|
-
"
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
]
|
|
330
|
+
"kind": "field",
|
|
331
|
+
"name": "editedEntity",
|
|
332
|
+
"type": {
|
|
333
|
+
"text": "any"
|
|
334
|
+
},
|
|
335
|
+
"description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
|
|
336
|
+
"privacy": "public"
|
|
378
337
|
},
|
|
379
338
|
{
|
|
380
|
-
"kind": "
|
|
381
|
-
"name": "
|
|
382
|
-
"
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
"name": "e"
|
|
386
|
-
}
|
|
387
|
-
]
|
|
339
|
+
"kind": "field",
|
|
340
|
+
"name": "submitting",
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "boolean"
|
|
343
|
+
}
|
|
388
344
|
},
|
|
389
345
|
{
|
|
390
346
|
"kind": "field",
|
|
391
|
-
"name": "
|
|
392
|
-
"
|
|
347
|
+
"name": "defaultEntityValues",
|
|
348
|
+
"type": {
|
|
349
|
+
"text": "any"
|
|
350
|
+
}
|
|
393
351
|
},
|
|
394
352
|
{
|
|
395
|
-
"kind": "
|
|
396
|
-
"name": "
|
|
397
|
-
"parameters": [
|
|
398
|
-
{
|
|
399
|
-
"name": "e"
|
|
400
|
-
}
|
|
401
|
-
]
|
|
402
|
-
}
|
|
403
|
-
],
|
|
404
|
-
"attributes": [
|
|
405
|
-
{
|
|
406
|
-
"name": "resourceName",
|
|
353
|
+
"kind": "field",
|
|
354
|
+
"name": "editDialogTitle",
|
|
407
355
|
"type": {
|
|
408
356
|
"text": "string"
|
|
409
357
|
},
|
|
410
|
-
"
|
|
411
|
-
"fieldName": "resourceName"
|
|
358
|
+
"description": "String which contains the text of the popup modal when the user is adding or editing an entity"
|
|
412
359
|
},
|
|
413
360
|
{
|
|
414
|
-
"
|
|
361
|
+
"kind": "field",
|
|
362
|
+
"name": "editModalVisible",
|
|
415
363
|
"type": {
|
|
416
|
-
"text": "
|
|
364
|
+
"text": "boolean"
|
|
417
365
|
},
|
|
418
|
-
"default": "
|
|
366
|
+
"default": "false"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"kind": "method",
|
|
370
|
+
"name": "editModalVisibleChanged"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"kind": "field",
|
|
374
|
+
"name": "editEntityModal",
|
|
375
|
+
"type": {
|
|
376
|
+
"text": "any"
|
|
377
|
+
},
|
|
378
|
+
"privacy": "public"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"kind": "field",
|
|
382
|
+
"name": "sizeColumnsToFit",
|
|
383
|
+
"type": {
|
|
384
|
+
"text": "boolean"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"kind": "field",
|
|
389
|
+
"name": "enableFilterBar",
|
|
390
|
+
"type": {
|
|
391
|
+
"text": "boolean"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"kind": "field",
|
|
396
|
+
"name": "enableCellFlashing",
|
|
397
|
+
"type": {
|
|
398
|
+
"text": "boolean"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"kind": "field",
|
|
403
|
+
"name": "hideEdit",
|
|
404
|
+
"type": {
|
|
405
|
+
"text": "boolean"
|
|
406
|
+
},
|
|
407
|
+
"default": "false"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"kind": "field",
|
|
411
|
+
"name": "hideDelete",
|
|
412
|
+
"type": {
|
|
413
|
+
"text": "boolean"
|
|
414
|
+
},
|
|
415
|
+
"default": "false"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"kind": "field",
|
|
419
|
+
"name": "modalPosition",
|
|
420
|
+
"type": {
|
|
421
|
+
"text": "'centre' | 'left' | 'right'"
|
|
422
|
+
},
|
|
423
|
+
"default": "'right'",
|
|
424
|
+
"description": "Determines where the modal dialog will appear on screen",
|
|
425
|
+
"privacy": "public"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"kind": "method",
|
|
429
|
+
"name": "deepClone",
|
|
430
|
+
"return": {
|
|
431
|
+
"type": {
|
|
432
|
+
"text": "Node"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"description": "Override the deepClone method to ensure that observable attributes are cloned",
|
|
436
|
+
"privacy": "public"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"kind": "method",
|
|
440
|
+
"name": "submitEntityChanges",
|
|
441
|
+
"privacy": "public",
|
|
442
|
+
"parameters": [
|
|
443
|
+
{
|
|
444
|
+
"name": "e",
|
|
445
|
+
"type": {
|
|
446
|
+
"text": "CustomEvent"
|
|
447
|
+
},
|
|
448
|
+
"description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"kind": "method",
|
|
455
|
+
"name": "readEntity",
|
|
456
|
+
"privacy": "private",
|
|
457
|
+
"parameters": [
|
|
458
|
+
{
|
|
459
|
+
"name": "e",
|
|
460
|
+
"type": {
|
|
461
|
+
"text": "CustomEvent"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"kind": "method",
|
|
468
|
+
"name": "closeModal",
|
|
469
|
+
"privacy": "public"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"kind": "method",
|
|
473
|
+
"name": "criteriaChanged",
|
|
474
|
+
"privacy": "public",
|
|
475
|
+
"parameters": [
|
|
476
|
+
{
|
|
477
|
+
"name": "e",
|
|
478
|
+
"type": {
|
|
479
|
+
"text": "CustomEvent<string>"
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
]
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"kind": "method",
|
|
486
|
+
"name": "confirmDelete"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"kind": "method",
|
|
490
|
+
"name": "showDeleteConfirmation",
|
|
491
|
+
"privacy": "private"
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"attributes": [
|
|
495
|
+
{
|
|
496
|
+
"name": "resourceName",
|
|
497
|
+
"type": {
|
|
498
|
+
"text": "string"
|
|
499
|
+
},
|
|
500
|
+
"description": "Name of the backend resource which contain the entities to manage",
|
|
501
|
+
"fieldName": "resourceName"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"name": "readEvent",
|
|
505
|
+
"type": {
|
|
506
|
+
"text": "string"
|
|
507
|
+
},
|
|
508
|
+
"fieldName": "readEvent"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"type": {
|
|
512
|
+
"text": "boolean"
|
|
513
|
+
},
|
|
514
|
+
"fieldName": "readonly"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "updateEvent",
|
|
518
|
+
"type": {
|
|
519
|
+
"text": "string"
|
|
520
|
+
},
|
|
521
|
+
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
522
|
+
"fieldName": "updateEvent"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "deleteEvent",
|
|
526
|
+
"type": {
|
|
527
|
+
"text": "string"
|
|
528
|
+
},
|
|
529
|
+
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
530
|
+
"fieldName": "deleteEvent"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "createEvent",
|
|
534
|
+
"type": {
|
|
535
|
+
"text": "string"
|
|
536
|
+
},
|
|
537
|
+
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
538
|
+
"fieldName": "createEvent"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "title",
|
|
542
|
+
"type": {
|
|
543
|
+
"text": "string"
|
|
544
|
+
},
|
|
545
|
+
"description": "Title of the grid",
|
|
419
546
|
"fieldName": "title"
|
|
420
547
|
},
|
|
548
|
+
{
|
|
549
|
+
"name": "entityLabel",
|
|
550
|
+
"type": {
|
|
551
|
+
"text": "string"
|
|
552
|
+
},
|
|
553
|
+
"default": "''",
|
|
554
|
+
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
555
|
+
"fieldName": "entityLabel"
|
|
556
|
+
},
|
|
421
557
|
{
|
|
422
558
|
"name": "persist-column-state-key",
|
|
423
559
|
"type": {
|
|
424
560
|
"text": "string"
|
|
425
561
|
},
|
|
562
|
+
"description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
|
|
426
563
|
"fieldName": "persistColumnStateKey"
|
|
427
564
|
},
|
|
428
565
|
{
|
|
@@ -461,38 +598,53 @@
|
|
|
461
598
|
},
|
|
462
599
|
"default": "false",
|
|
463
600
|
"fieldName": "hideDelete"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "modal-position",
|
|
604
|
+
"type": {
|
|
605
|
+
"text": "'centre' | 'left' | 'right'"
|
|
606
|
+
},
|
|
607
|
+
"default": "'right'",
|
|
608
|
+
"description": "Determines where the modal dialog will appear on screen",
|
|
609
|
+
"fieldName": "modalPosition"
|
|
610
|
+
}
|
|
611
|
+
],
|
|
612
|
+
"mixins": [
|
|
613
|
+
{
|
|
614
|
+
"name": "LifecycleMixin",
|
|
615
|
+
"package": "@genesislcap/foundation-utils"
|
|
464
616
|
}
|
|
465
617
|
],
|
|
466
618
|
"superclass": {
|
|
467
619
|
"name": "FASTElement",
|
|
468
620
|
"package": "@microsoft/fast-element"
|
|
469
621
|
},
|
|
470
|
-
"tagName": "entity-
|
|
622
|
+
"tagName": "entity-management",
|
|
471
623
|
"customElement": true
|
|
472
624
|
}
|
|
473
625
|
],
|
|
474
626
|
"exports": [
|
|
475
627
|
{
|
|
476
628
|
"kind": "js",
|
|
477
|
-
"name": "
|
|
629
|
+
"name": "EntityManagement",
|
|
478
630
|
"declaration": {
|
|
479
|
-
"name": "
|
|
480
|
-
"module": "src/
|
|
631
|
+
"name": "EntityManagement",
|
|
632
|
+
"module": "src/entities/entities.ts"
|
|
481
633
|
}
|
|
482
634
|
},
|
|
483
635
|
{
|
|
484
636
|
"kind": "custom-element-definition",
|
|
485
|
-
"name": "entity-
|
|
637
|
+
"name": "entity-management",
|
|
486
638
|
"declaration": {
|
|
487
|
-
"name": "
|
|
488
|
-
"module": "src/
|
|
639
|
+
"name": "EntityManagement",
|
|
640
|
+
"module": "src/entities/entities.ts"
|
|
489
641
|
}
|
|
490
642
|
}
|
|
491
643
|
]
|
|
492
644
|
},
|
|
493
645
|
{
|
|
494
646
|
"kind": "javascript-module",
|
|
495
|
-
"path": "src/
|
|
647
|
+
"path": "src/entities/index.ts",
|
|
496
648
|
"declarations": [],
|
|
497
649
|
"exports": [
|
|
498
650
|
{
|
|
@@ -500,7 +652,7 @@
|
|
|
500
652
|
"name": "*",
|
|
501
653
|
"declaration": {
|
|
502
654
|
"name": "*",
|
|
503
|
-
"package": "./
|
|
655
|
+
"package": "./entities"
|
|
504
656
|
}
|
|
505
657
|
},
|
|
506
658
|
{
|
|
@@ -508,34 +660,114 @@
|
|
|
508
660
|
"name": "*",
|
|
509
661
|
"declaration": {
|
|
510
662
|
"name": "*",
|
|
511
|
-
"package": "./
|
|
663
|
+
"package": "./entities.template"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"kind": "js",
|
|
668
|
+
"name": "*",
|
|
669
|
+
"declaration": {
|
|
670
|
+
"name": "*",
|
|
671
|
+
"package": "./entities.styles"
|
|
512
672
|
}
|
|
513
673
|
}
|
|
514
674
|
]
|
|
515
675
|
},
|
|
516
676
|
{
|
|
517
677
|
"kind": "javascript-module",
|
|
518
|
-
"path": "src/
|
|
678
|
+
"path": "src/layouts/default.ts",
|
|
519
679
|
"declarations": [
|
|
520
680
|
{
|
|
521
681
|
"kind": "variable",
|
|
522
|
-
"name": "
|
|
523
|
-
"default": "
|
|
682
|
+
"name": "loginLayout",
|
|
683
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"kind": "variable",
|
|
687
|
+
"name": "defaultLayout",
|
|
688
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
524
689
|
}
|
|
525
690
|
],
|
|
526
691
|
"exports": [
|
|
527
692
|
{
|
|
528
693
|
"kind": "js",
|
|
529
|
-
"name": "
|
|
694
|
+
"name": "loginLayout",
|
|
530
695
|
"declaration": {
|
|
531
|
-
"name": "
|
|
532
|
-
"module": "src/
|
|
696
|
+
"name": "loginLayout",
|
|
697
|
+
"module": "src/layouts/default.ts"
|
|
533
698
|
}
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"kind": "js",
|
|
702
|
+
"name": "defaultLayout",
|
|
703
|
+
"declaration": {
|
|
704
|
+
"name": "defaultLayout",
|
|
705
|
+
"module": "src/layouts/default.ts"
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
]
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"kind": "javascript-module",
|
|
712
|
+
"path": "src/layouts/index.ts",
|
|
713
|
+
"declarations": [],
|
|
714
|
+
"exports": [
|
|
715
|
+
{
|
|
716
|
+
"kind": "js",
|
|
717
|
+
"name": "*",
|
|
718
|
+
"declaration": {
|
|
719
|
+
"name": "*",
|
|
720
|
+
"package": "./default"
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
]
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"kind": "javascript-module",
|
|
727
|
+
"path": "src/main/index.ts",
|
|
728
|
+
"declarations": [],
|
|
729
|
+
"exports": [
|
|
730
|
+
{
|
|
731
|
+
"kind": "js",
|
|
732
|
+
"name": "*",
|
|
733
|
+
"declaration": {
|
|
734
|
+
"name": "*",
|
|
735
|
+
"package": "./main.template"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"kind": "js",
|
|
740
|
+
"name": "*",
|
|
741
|
+
"declaration": {
|
|
742
|
+
"name": "*",
|
|
743
|
+
"package": "./main"
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
]
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"kind": "javascript-module",
|
|
750
|
+
"path": "src/main/main.styles.ts",
|
|
751
|
+
"declarations": [
|
|
752
|
+
{
|
|
753
|
+
"kind": "variable",
|
|
754
|
+
"name": "MainStyles",
|
|
755
|
+
"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`"
|
|
756
|
+
}
|
|
757
|
+
],
|
|
758
|
+
"exports": [
|
|
759
|
+
{
|
|
760
|
+
"kind": "js",
|
|
761
|
+
"name": "MainStyles",
|
|
762
|
+
"declaration": {
|
|
763
|
+
"name": "MainStyles",
|
|
764
|
+
"module": "src/main/main.styles.ts"
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
]
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"kind": "javascript-module",
|
|
539
771
|
"path": "src/main/main.template.ts",
|
|
540
772
|
"declarations": [],
|
|
541
773
|
"exports": []
|
|
@@ -645,244 +877,158 @@
|
|
|
645
877
|
},
|
|
646
878
|
{
|
|
647
879
|
"kind": "javascript-module",
|
|
648
|
-
"path": "src/
|
|
880
|
+
"path": "src/list/index.ts",
|
|
881
|
+
"declarations": [],
|
|
882
|
+
"exports": [
|
|
883
|
+
{
|
|
884
|
+
"kind": "js",
|
|
885
|
+
"name": "*",
|
|
886
|
+
"declaration": {
|
|
887
|
+
"name": "*",
|
|
888
|
+
"package": "./list"
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"kind": "javascript-module",
|
|
895
|
+
"path": "src/list/list.styles.ts",
|
|
649
896
|
"declarations": [
|
|
650
897
|
{
|
|
651
898
|
"kind": "variable",
|
|
652
|
-
"name": "
|
|
653
|
-
"
|
|
654
|
-
"text": "object"
|
|
655
|
-
},
|
|
656
|
-
"default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
|
|
899
|
+
"name": "listStyles",
|
|
900
|
+
"default": "css`\n :host {\n contain: content;\n }\n\n :host,\n fast-router {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: inherit;\n width: 100%;\n }\n`"
|
|
657
901
|
}
|
|
658
902
|
],
|
|
659
903
|
"exports": [
|
|
660
904
|
{
|
|
661
905
|
"kind": "js",
|
|
662
|
-
"name": "
|
|
906
|
+
"name": "listStyles",
|
|
663
907
|
"declaration": {
|
|
664
|
-
"name": "
|
|
665
|
-
"module": "src/
|
|
908
|
+
"name": "listStyles",
|
|
909
|
+
"module": "src/list/list.styles.ts"
|
|
666
910
|
}
|
|
667
911
|
}
|
|
668
912
|
]
|
|
669
913
|
},
|
|
670
914
|
{
|
|
671
915
|
"kind": "javascript-module",
|
|
672
|
-
"path": "src/
|
|
916
|
+
"path": "src/list/list.template.ts",
|
|
917
|
+
"declarations": [
|
|
918
|
+
{
|
|
919
|
+
"kind": "variable",
|
|
920
|
+
"name": "listTemplate",
|
|
921
|
+
"default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `,\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n :deferredGridOptions=${(x) => x.gridOptions}\n resource-name=${(x) => x.resourceName}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n </zero-grid-pro>\n </div>\n`"
|
|
922
|
+
}
|
|
923
|
+
],
|
|
924
|
+
"exports": [
|
|
925
|
+
{
|
|
926
|
+
"kind": "js",
|
|
927
|
+
"name": "listTemplate",
|
|
928
|
+
"declaration": {
|
|
929
|
+
"name": "listTemplate",
|
|
930
|
+
"module": "src/list/list.template.ts"
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
]
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"kind": "javascript-module",
|
|
937
|
+
"path": "src/list/list.ts",
|
|
673
938
|
"declarations": [
|
|
674
939
|
{
|
|
675
940
|
"kind": "class",
|
|
676
|
-
"description": "
|
|
677
|
-
"name": "
|
|
941
|
+
"description": "",
|
|
942
|
+
"name": "List",
|
|
678
943
|
"members": [
|
|
679
|
-
{
|
|
680
|
-
"kind": "method",
|
|
681
|
-
"name": "readProfileData",
|
|
682
|
-
"privacy": "public",
|
|
683
|
-
"parameters": [
|
|
684
|
-
{
|
|
685
|
-
"name": "profile"
|
|
686
|
-
}
|
|
687
|
-
]
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
"kind": "method",
|
|
691
|
-
"name": "confirmDelete",
|
|
692
|
-
"inheritedFrom": {
|
|
693
|
-
"name": "EntityManagement",
|
|
694
|
-
"module": "src/entities/entities.ts"
|
|
695
|
-
}
|
|
696
|
-
},
|
|
697
944
|
{
|
|
698
945
|
"kind": "field",
|
|
699
|
-
"name": "
|
|
946
|
+
"name": "resourceName",
|
|
700
947
|
"type": {
|
|
701
948
|
"text": "string"
|
|
702
949
|
},
|
|
703
|
-
"
|
|
704
|
-
"privacy": "public",
|
|
705
|
-
"inheritedFrom": {
|
|
706
|
-
"name": "EntityManagement",
|
|
707
|
-
"module": "src/entities/entities.ts"
|
|
708
|
-
}
|
|
950
|
+
"default": "''"
|
|
709
951
|
},
|
|
710
952
|
{
|
|
711
953
|
"kind": "field",
|
|
712
|
-
"name": "
|
|
954
|
+
"name": "title",
|
|
713
955
|
"type": {
|
|
714
956
|
"text": "string"
|
|
715
957
|
},
|
|
716
|
-
"
|
|
717
|
-
"privacy": "public",
|
|
718
|
-
"inheritedFrom": {
|
|
719
|
-
"name": "EntityManagement",
|
|
720
|
-
"module": "src/entities/entities.ts"
|
|
721
|
-
}
|
|
958
|
+
"default": "''"
|
|
722
959
|
},
|
|
723
960
|
{
|
|
724
961
|
"kind": "field",
|
|
725
|
-
"name": "
|
|
962
|
+
"name": "persistColumnStateKey",
|
|
726
963
|
"type": {
|
|
727
964
|
"text": "string"
|
|
728
|
-
},
|
|
729
|
-
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
730
|
-
"privacy": "public",
|
|
731
|
-
"inheritedFrom": {
|
|
732
|
-
"name": "EntityManagement",
|
|
733
|
-
"module": "src/entities/entities.ts"
|
|
734
965
|
}
|
|
735
966
|
},
|
|
736
967
|
{
|
|
737
968
|
"kind": "field",
|
|
738
|
-
"name": "
|
|
969
|
+
"name": "sizeColumnsToFit",
|
|
739
970
|
"type": {
|
|
740
|
-
"text": "
|
|
741
|
-
},
|
|
742
|
-
"description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
|
|
743
|
-
"privacy": "public",
|
|
744
|
-
"default": "'entity_profiles_management'",
|
|
745
|
-
"inheritedFrom": {
|
|
746
|
-
"name": "EntityManagement",
|
|
747
|
-
"module": "src/entities/entities.ts"
|
|
971
|
+
"text": "boolean"
|
|
748
972
|
}
|
|
749
973
|
},
|
|
750
974
|
{
|
|
751
975
|
"kind": "field",
|
|
752
|
-
"name": "
|
|
976
|
+
"name": "enableFilterBar",
|
|
753
977
|
"type": {
|
|
754
|
-
"text": "
|
|
755
|
-
},
|
|
756
|
-
"default": "editProfileFormSchema",
|
|
757
|
-
"inheritedFrom": {
|
|
758
|
-
"name": "EntityManagement",
|
|
759
|
-
"module": "src/entities/entities.ts"
|
|
978
|
+
"text": "boolean"
|
|
760
979
|
}
|
|
761
980
|
},
|
|
762
981
|
{
|
|
763
982
|
"kind": "field",
|
|
764
|
-
"name": "
|
|
983
|
+
"name": "enableCellFlashing",
|
|
765
984
|
"type": {
|
|
766
|
-
"text": "
|
|
767
|
-
},
|
|
768
|
-
"default": "editProfileFormSchema",
|
|
769
|
-
"inheritedFrom": {
|
|
770
|
-
"name": "EntityManagement",
|
|
771
|
-
"module": "src/entities/entities.ts"
|
|
985
|
+
"text": "boolean"
|
|
772
986
|
}
|
|
773
987
|
},
|
|
774
988
|
{
|
|
775
989
|
"kind": "field",
|
|
776
|
-
"name": "
|
|
990
|
+
"name": "hideEdit",
|
|
777
991
|
"type": {
|
|
778
|
-
"text": "
|
|
992
|
+
"text": "boolean"
|
|
779
993
|
},
|
|
780
|
-
"
|
|
781
|
-
"name": "EntityManagement",
|
|
782
|
-
"module": "src/entities/entities.ts"
|
|
783
|
-
}
|
|
994
|
+
"default": "false"
|
|
784
995
|
},
|
|
785
996
|
{
|
|
786
997
|
"kind": "field",
|
|
787
|
-
"name": "
|
|
998
|
+
"name": "hideDelete",
|
|
788
999
|
"type": {
|
|
789
|
-
"text": "
|
|
1000
|
+
"text": "boolean"
|
|
790
1001
|
},
|
|
791
|
-
"
|
|
792
|
-
"privacy": "public",
|
|
793
|
-
"default": "'ALL_PROFILES'",
|
|
794
|
-
"inheritedFrom": {
|
|
795
|
-
"name": "EntityManagement",
|
|
796
|
-
"module": "src/entities/entities.ts"
|
|
797
|
-
}
|
|
1002
|
+
"default": "false"
|
|
798
1003
|
},
|
|
799
1004
|
{
|
|
800
1005
|
"kind": "field",
|
|
801
|
-
"name": "
|
|
1006
|
+
"name": "grid",
|
|
802
1007
|
"type": {
|
|
803
|
-
"text": "
|
|
1008
|
+
"text": "ZeroGridPro"
|
|
804
1009
|
},
|
|
805
|
-
"
|
|
806
|
-
"privacy": "public",
|
|
807
|
-
"default": "'Profile Management'",
|
|
808
|
-
"inheritedFrom": {
|
|
809
|
-
"name": "EntityManagement",
|
|
810
|
-
"module": "src/entities/entities.ts"
|
|
811
|
-
}
|
|
1010
|
+
"privacy": "public"
|
|
812
1011
|
},
|
|
813
1012
|
{
|
|
814
1013
|
"kind": "field",
|
|
815
|
-
"name": "
|
|
1014
|
+
"name": "datasource",
|
|
816
1015
|
"type": {
|
|
817
|
-
"text": "
|
|
1016
|
+
"text": "GridProGenesisDatasource"
|
|
818
1017
|
},
|
|
819
|
-
"
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
"
|
|
823
|
-
|
|
824
|
-
|
|
1018
|
+
"privacy": "public"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"kind": "field",
|
|
1022
|
+
"name": "gridOptions",
|
|
1023
|
+
"type": {
|
|
1024
|
+
"text": "GridOptions"
|
|
825
1025
|
}
|
|
826
1026
|
},
|
|
827
1027
|
{
|
|
828
1028
|
"kind": "field",
|
|
829
|
-
"name": "
|
|
830
|
-
"type": {
|
|
831
|
-
"text": "Connect"
|
|
832
|
-
},
|
|
833
|
-
"privacy": "protected",
|
|
834
|
-
"description": "DI connect object which is used to interact with the backend.",
|
|
835
|
-
"inheritedFrom": {
|
|
836
|
-
"name": "EntityManagement",
|
|
837
|
-
"module": "src/entities/entities.ts"
|
|
838
|
-
}
|
|
839
|
-
},
|
|
840
|
-
{
|
|
841
|
-
"kind": "field",
|
|
842
|
-
"name": "readEvent",
|
|
843
|
-
"type": {
|
|
844
|
-
"text": "string"
|
|
845
|
-
},
|
|
846
|
-
"inheritedFrom": {
|
|
847
|
-
"name": "EntityManagement",
|
|
848
|
-
"module": "src/entities/entities.ts"
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
"kind": "field",
|
|
853
|
-
"name": "readonly",
|
|
854
|
-
"type": {
|
|
855
|
-
"text": "boolean"
|
|
856
|
-
},
|
|
857
|
-
"inheritedFrom": {
|
|
858
|
-
"name": "EntityManagement",
|
|
859
|
-
"module": "src/entities/entities.ts"
|
|
860
|
-
}
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
"kind": "field",
|
|
864
|
-
"name": "gridOptions",
|
|
865
|
-
"type": {
|
|
866
|
-
"text": "GridOptions"
|
|
867
|
-
},
|
|
868
|
-
"description": "GridOptions to be passed down from application",
|
|
869
|
-
"privacy": "public",
|
|
870
|
-
"inheritedFrom": {
|
|
871
|
-
"name": "EntityManagement",
|
|
872
|
-
"module": "src/entities/entities.ts"
|
|
873
|
-
}
|
|
874
|
-
},
|
|
875
|
-
{
|
|
876
|
-
"kind": "field",
|
|
877
|
-
"name": "columns",
|
|
1029
|
+
"name": "columns",
|
|
878
1030
|
"type": {
|
|
879
1031
|
"text": "ColDef[]"
|
|
880
|
-
},
|
|
881
|
-
"description": "Array which holds the column definitions.",
|
|
882
|
-
"privacy": "public",
|
|
883
|
-
"inheritedFrom": {
|
|
884
|
-
"name": "EntityManagement",
|
|
885
|
-
"module": "src/entities/entities.ts"
|
|
886
1032
|
}
|
|
887
1033
|
},
|
|
888
1034
|
{
|
|
@@ -890,420 +1036,119 @@
|
|
|
890
1036
|
"name": "datasourceConfig",
|
|
891
1037
|
"type": {
|
|
892
1038
|
"text": "DatasourceConfiguration"
|
|
893
|
-
},
|
|
894
|
-
"description": "The configuration which is used when interacting with the resource on the backend",
|
|
895
|
-
"privacy": "public",
|
|
896
|
-
"inheritedFrom": {
|
|
897
|
-
"name": "EntityManagement",
|
|
898
|
-
"module": "src/entities/entities.ts"
|
|
899
1039
|
}
|
|
900
1040
|
},
|
|
901
1041
|
{
|
|
902
1042
|
"kind": "field",
|
|
903
|
-
"name": "
|
|
904
|
-
"type": {
|
|
905
|
-
"text": "any"
|
|
906
|
-
},
|
|
907
|
-
"inheritedFrom": {
|
|
908
|
-
"name": "EntityManagement",
|
|
909
|
-
"module": "src/entities/entities.ts"
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"kind": "field",
|
|
914
|
-
"name": "selectedEntity",
|
|
915
|
-
"type": {
|
|
916
|
-
"text": "any"
|
|
917
|
-
},
|
|
918
|
-
"description": "Reference to the currently selected entity from the grid.",
|
|
919
|
-
"privacy": "public",
|
|
920
|
-
"inheritedFrom": {
|
|
921
|
-
"name": "EntityManagement",
|
|
922
|
-
"module": "src/entities/entities.ts"
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"kind": "field",
|
|
927
|
-
"name": "editedEntity",
|
|
928
|
-
"type": {
|
|
929
|
-
"text": "any"
|
|
930
|
-
},
|
|
931
|
-
"description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
|
|
932
|
-
"privacy": "public",
|
|
933
|
-
"inheritedFrom": {
|
|
934
|
-
"name": "EntityManagement",
|
|
935
|
-
"module": "src/entities/entities.ts"
|
|
936
|
-
}
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
"kind": "field",
|
|
940
|
-
"name": "submitting",
|
|
941
|
-
"type": {
|
|
942
|
-
"text": "boolean"
|
|
943
|
-
},
|
|
944
|
-
"inheritedFrom": {
|
|
945
|
-
"name": "EntityManagement",
|
|
946
|
-
"module": "src/entities/entities.ts"
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
"kind": "field",
|
|
951
|
-
"name": "defaultEntityValues",
|
|
1043
|
+
"name": "actionButtonsConfig",
|
|
952
1044
|
"type": {
|
|
953
|
-
"text": "
|
|
1045
|
+
"text": "array"
|
|
954
1046
|
},
|
|
955
|
-
"
|
|
956
|
-
"name": "EntityManagement",
|
|
957
|
-
"module": "src/entities/entities.ts"
|
|
958
|
-
}
|
|
1047
|
+
"default": "[]"
|
|
959
1048
|
},
|
|
960
1049
|
{
|
|
961
1050
|
"kind": "field",
|
|
962
|
-
"name": "
|
|
1051
|
+
"name": "deleteEvent",
|
|
963
1052
|
"type": {
|
|
964
1053
|
"text": "string"
|
|
965
|
-
},
|
|
966
|
-
"description": "String which contains the text of the popup modal when the user is adding or editing an entity",
|
|
967
|
-
"inheritedFrom": {
|
|
968
|
-
"name": "EntityManagement",
|
|
969
|
-
"module": "src/entities/entities.ts"
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
"kind": "field",
|
|
974
|
-
"name": "editModalVisible",
|
|
975
|
-
"type": {
|
|
976
|
-
"text": "boolean"
|
|
977
|
-
},
|
|
978
|
-
"default": "false",
|
|
979
|
-
"inheritedFrom": {
|
|
980
|
-
"name": "EntityManagement",
|
|
981
|
-
"module": "src/entities/entities.ts"
|
|
982
|
-
}
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"kind": "method",
|
|
986
|
-
"name": "editModalVisibleChanged",
|
|
987
|
-
"inheritedFrom": {
|
|
988
|
-
"name": "EntityManagement",
|
|
989
|
-
"module": "src/entities/entities.ts"
|
|
990
|
-
}
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
"kind": "field",
|
|
994
|
-
"name": "editEntityModal",
|
|
995
|
-
"type": {
|
|
996
|
-
"text": "any"
|
|
997
|
-
},
|
|
998
|
-
"privacy": "public",
|
|
999
|
-
"inheritedFrom": {
|
|
1000
|
-
"name": "EntityManagement",
|
|
1001
|
-
"module": "src/entities/entities.ts"
|
|
1002
|
-
}
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
"kind": "field",
|
|
1006
|
-
"name": "sizeColumnsToFit",
|
|
1007
|
-
"type": {
|
|
1008
|
-
"text": "boolean"
|
|
1009
|
-
},
|
|
1010
|
-
"inheritedFrom": {
|
|
1011
|
-
"name": "EntityManagement",
|
|
1012
|
-
"module": "src/entities/entities.ts"
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
"kind": "field",
|
|
1017
|
-
"name": "enableFilterBar",
|
|
1018
|
-
"type": {
|
|
1019
|
-
"text": "boolean"
|
|
1020
|
-
},
|
|
1021
|
-
"inheritedFrom": {
|
|
1022
|
-
"name": "EntityManagement",
|
|
1023
|
-
"module": "src/entities/entities.ts"
|
|
1024
|
-
}
|
|
1025
|
-
},
|
|
1026
|
-
{
|
|
1027
|
-
"kind": "field",
|
|
1028
|
-
"name": "enableCellFlashing",
|
|
1029
|
-
"type": {
|
|
1030
|
-
"text": "boolean"
|
|
1031
|
-
},
|
|
1032
|
-
"inheritedFrom": {
|
|
1033
|
-
"name": "EntityManagement",
|
|
1034
|
-
"module": "src/entities/entities.ts"
|
|
1035
|
-
}
|
|
1036
|
-
},
|
|
1037
|
-
{
|
|
1038
|
-
"kind": "field",
|
|
1039
|
-
"name": "hideEdit",
|
|
1040
|
-
"type": {
|
|
1041
|
-
"text": "boolean"
|
|
1042
|
-
},
|
|
1043
|
-
"default": "false",
|
|
1044
|
-
"inheritedFrom": {
|
|
1045
|
-
"name": "EntityManagement",
|
|
1046
|
-
"module": "src/entities/entities.ts"
|
|
1047
|
-
}
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
"kind": "field",
|
|
1051
|
-
"name": "hideDelete",
|
|
1052
|
-
"type": {
|
|
1053
|
-
"text": "boolean"
|
|
1054
|
-
},
|
|
1055
|
-
"default": "false",
|
|
1056
|
-
"inheritedFrom": {
|
|
1057
|
-
"name": "EntityManagement",
|
|
1058
|
-
"module": "src/entities/entities.ts"
|
|
1059
1054
|
}
|
|
1060
1055
|
},
|
|
1061
1056
|
{
|
|
1062
1057
|
"kind": "field",
|
|
1063
|
-
"name": "
|
|
1058
|
+
"name": "updateEvent",
|
|
1064
1059
|
"type": {
|
|
1065
|
-
"text": "
|
|
1066
|
-
},
|
|
1067
|
-
"default": "'right'",
|
|
1068
|
-
"description": "Determines where the modal dialog will appear on screen",
|
|
1069
|
-
"privacy": "public",
|
|
1070
|
-
"inheritedFrom": {
|
|
1071
|
-
"name": "EntityManagement",
|
|
1072
|
-
"module": "src/entities/entities.ts"
|
|
1060
|
+
"text": "string"
|
|
1073
1061
|
}
|
|
1074
1062
|
},
|
|
1075
1063
|
{
|
|
1076
1064
|
"kind": "method",
|
|
1077
|
-
"name": "
|
|
1078
|
-
"
|
|
1079
|
-
|
|
1080
|
-
|
|
1065
|
+
"name": "handleFilterChanged",
|
|
1066
|
+
"privacy": "private",
|
|
1067
|
+
"parameters": [
|
|
1068
|
+
{
|
|
1069
|
+
"name": "e"
|
|
1081
1070
|
}
|
|
1082
|
-
|
|
1083
|
-
"description": "Override the deepClone method to ensure that observable attributes are cloned",
|
|
1084
|
-
"privacy": "public",
|
|
1085
|
-
"inheritedFrom": {
|
|
1086
|
-
"name": "EntityManagement",
|
|
1087
|
-
"module": "src/entities/entities.ts"
|
|
1088
|
-
}
|
|
1071
|
+
]
|
|
1089
1072
|
},
|
|
1090
1073
|
{
|
|
1091
1074
|
"kind": "method",
|
|
1092
|
-
"name": "
|
|
1093
|
-
"privacy": "
|
|
1075
|
+
"name": "handleFilterCleared",
|
|
1076
|
+
"privacy": "private",
|
|
1094
1077
|
"parameters": [
|
|
1095
1078
|
{
|
|
1096
|
-
"name": "e"
|
|
1097
|
-
"type": {
|
|
1098
|
-
"text": "CustomEvent"
|
|
1099
|
-
},
|
|
1100
|
-
"description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
|
|
1079
|
+
"name": "e"
|
|
1101
1080
|
}
|
|
1102
|
-
]
|
|
1103
|
-
"description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
|
|
1104
|
-
"inheritedFrom": {
|
|
1105
|
-
"name": "EntityManagement",
|
|
1106
|
-
"module": "src/entities/entities.ts"
|
|
1107
|
-
}
|
|
1081
|
+
]
|
|
1108
1082
|
},
|
|
1109
1083
|
{
|
|
1110
1084
|
"kind": "method",
|
|
1111
|
-
"name": "
|
|
1085
|
+
"name": "select",
|
|
1112
1086
|
"privacy": "private",
|
|
1113
1087
|
"parameters": [
|
|
1114
1088
|
{
|
|
1115
|
-
"name": "e"
|
|
1116
|
-
"type": {
|
|
1117
|
-
"text": "CustomEvent"
|
|
1118
|
-
}
|
|
1089
|
+
"name": "e"
|
|
1119
1090
|
}
|
|
1120
|
-
]
|
|
1121
|
-
"inheritedFrom": {
|
|
1122
|
-
"name": "EntityManagement",
|
|
1123
|
-
"module": "src/entities/entities.ts"
|
|
1124
|
-
}
|
|
1091
|
+
]
|
|
1125
1092
|
},
|
|
1126
1093
|
{
|
|
1127
|
-
"kind": "
|
|
1128
|
-
"name": "
|
|
1129
|
-
"privacy": "
|
|
1130
|
-
"inheritedFrom": {
|
|
1131
|
-
"name": "EntityManagement",
|
|
1132
|
-
"module": "src/entities/entities.ts"
|
|
1133
|
-
}
|
|
1094
|
+
"kind": "field",
|
|
1095
|
+
"name": "edit",
|
|
1096
|
+
"privacy": "private"
|
|
1134
1097
|
},
|
|
1135
1098
|
{
|
|
1136
1099
|
"kind": "method",
|
|
1137
|
-
"name": "
|
|
1138
|
-
"privacy": "public",
|
|
1100
|
+
"name": "delete",
|
|
1139
1101
|
"parameters": [
|
|
1140
1102
|
{
|
|
1141
|
-
"name": "e"
|
|
1142
|
-
"type": {
|
|
1143
|
-
"text": "CustomEvent<string>"
|
|
1144
|
-
}
|
|
1103
|
+
"name": "e"
|
|
1145
1104
|
}
|
|
1146
|
-
]
|
|
1147
|
-
"inheritedFrom": {
|
|
1148
|
-
"name": "EntityManagement",
|
|
1149
|
-
"module": "src/entities/entities.ts"
|
|
1150
|
-
}
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
"kind": "method",
|
|
1154
|
-
"name": "showDeleteConfirmation",
|
|
1155
|
-
"privacy": "private",
|
|
1156
|
-
"inheritedFrom": {
|
|
1157
|
-
"name": "EntityManagement",
|
|
1158
|
-
"module": "src/entities/entities.ts"
|
|
1159
|
-
}
|
|
1105
|
+
]
|
|
1160
1106
|
}
|
|
1161
1107
|
],
|
|
1162
|
-
"superclass": {
|
|
1163
|
-
"name": "EntityManagement",
|
|
1164
|
-
"module": "/src/entities"
|
|
1165
|
-
},
|
|
1166
|
-
"tagName": "profile-management",
|
|
1167
|
-
"customElement": true,
|
|
1168
1108
|
"attributes": [
|
|
1169
1109
|
{
|
|
1170
1110
|
"name": "resourceName",
|
|
1171
1111
|
"type": {
|
|
1172
1112
|
"text": "string"
|
|
1173
1113
|
},
|
|
1174
|
-
"
|
|
1175
|
-
"fieldName": "resourceName"
|
|
1176
|
-
"inheritedFrom": {
|
|
1177
|
-
"name": "EntityManagement",
|
|
1178
|
-
"module": "src/entities/entities.ts"
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
{
|
|
1182
|
-
"name": "readEvent",
|
|
1183
|
-
"type": {
|
|
1184
|
-
"text": "string"
|
|
1185
|
-
},
|
|
1186
|
-
"fieldName": "readEvent",
|
|
1187
|
-
"inheritedFrom": {
|
|
1188
|
-
"name": "EntityManagement",
|
|
1189
|
-
"module": "src/entities/entities.ts"
|
|
1190
|
-
}
|
|
1191
|
-
},
|
|
1192
|
-
{
|
|
1193
|
-
"type": {
|
|
1194
|
-
"text": "boolean"
|
|
1195
|
-
},
|
|
1196
|
-
"fieldName": "readonly",
|
|
1197
|
-
"inheritedFrom": {
|
|
1198
|
-
"name": "EntityManagement",
|
|
1199
|
-
"module": "src/entities/entities.ts"
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
"name": "updateEvent",
|
|
1204
|
-
"type": {
|
|
1205
|
-
"text": "string"
|
|
1206
|
-
},
|
|
1207
|
-
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
1208
|
-
"fieldName": "updateEvent",
|
|
1209
|
-
"inheritedFrom": {
|
|
1210
|
-
"name": "EntityManagement",
|
|
1211
|
-
"module": "src/entities/entities.ts"
|
|
1212
|
-
}
|
|
1213
|
-
},
|
|
1214
|
-
{
|
|
1215
|
-
"name": "deleteEvent",
|
|
1216
|
-
"type": {
|
|
1217
|
-
"text": "string"
|
|
1218
|
-
},
|
|
1219
|
-
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
1220
|
-
"fieldName": "deleteEvent",
|
|
1221
|
-
"inheritedFrom": {
|
|
1222
|
-
"name": "EntityManagement",
|
|
1223
|
-
"module": "src/entities/entities.ts"
|
|
1224
|
-
}
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
"name": "createEvent",
|
|
1228
|
-
"type": {
|
|
1229
|
-
"text": "string"
|
|
1230
|
-
},
|
|
1231
|
-
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
1232
|
-
"fieldName": "createEvent",
|
|
1233
|
-
"inheritedFrom": {
|
|
1234
|
-
"name": "EntityManagement",
|
|
1235
|
-
"module": "src/entities/entities.ts"
|
|
1236
|
-
}
|
|
1114
|
+
"default": "''",
|
|
1115
|
+
"fieldName": "resourceName"
|
|
1237
1116
|
},
|
|
1238
1117
|
{
|
|
1239
1118
|
"name": "title",
|
|
1240
1119
|
"type": {
|
|
1241
1120
|
"text": "string"
|
|
1242
1121
|
},
|
|
1243
|
-
"description": "Title of the grid",
|
|
1244
|
-
"fieldName": "title",
|
|
1245
|
-
"inheritedFrom": {
|
|
1246
|
-
"name": "EntityManagement",
|
|
1247
|
-
"module": "src/entities/entities.ts"
|
|
1248
|
-
}
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
"name": "entityLabel",
|
|
1252
|
-
"type": {
|
|
1253
|
-
"text": "string"
|
|
1254
|
-
},
|
|
1255
1122
|
"default": "''",
|
|
1256
|
-
"
|
|
1257
|
-
"fieldName": "entityLabel",
|
|
1258
|
-
"inheritedFrom": {
|
|
1259
|
-
"name": "EntityManagement",
|
|
1260
|
-
"module": "src/entities/entities.ts"
|
|
1261
|
-
}
|
|
1123
|
+
"fieldName": "title"
|
|
1262
1124
|
},
|
|
1263
1125
|
{
|
|
1264
1126
|
"name": "persist-column-state-key",
|
|
1265
1127
|
"type": {
|
|
1266
1128
|
"text": "string"
|
|
1267
1129
|
},
|
|
1268
|
-
"
|
|
1269
|
-
"fieldName": "persistColumnStateKey",
|
|
1270
|
-
"inheritedFrom": {
|
|
1271
|
-
"name": "EntityManagement",
|
|
1272
|
-
"module": "src/entities/entities.ts"
|
|
1273
|
-
}
|
|
1130
|
+
"fieldName": "persistColumnStateKey"
|
|
1274
1131
|
},
|
|
1275
1132
|
{
|
|
1276
1133
|
"name": "size-columns-to-fit",
|
|
1277
1134
|
"type": {
|
|
1278
1135
|
"text": "boolean"
|
|
1279
1136
|
},
|
|
1280
|
-
"fieldName": "sizeColumnsToFit"
|
|
1281
|
-
"inheritedFrom": {
|
|
1282
|
-
"name": "EntityManagement",
|
|
1283
|
-
"module": "src/entities/entities.ts"
|
|
1284
|
-
}
|
|
1137
|
+
"fieldName": "sizeColumnsToFit"
|
|
1285
1138
|
},
|
|
1286
1139
|
{
|
|
1287
1140
|
"name": "enable-filter-bar",
|
|
1288
1141
|
"type": {
|
|
1289
1142
|
"text": "boolean"
|
|
1290
1143
|
},
|
|
1291
|
-
"fieldName": "enableFilterBar"
|
|
1292
|
-
"inheritedFrom": {
|
|
1293
|
-
"name": "EntityManagement",
|
|
1294
|
-
"module": "src/entities/entities.ts"
|
|
1295
|
-
}
|
|
1144
|
+
"fieldName": "enableFilterBar"
|
|
1296
1145
|
},
|
|
1297
1146
|
{
|
|
1298
1147
|
"name": "enable-cell-flashing",
|
|
1299
1148
|
"type": {
|
|
1300
1149
|
"text": "boolean"
|
|
1301
1150
|
},
|
|
1302
|
-
"fieldName": "enableCellFlashing"
|
|
1303
|
-
"inheritedFrom": {
|
|
1304
|
-
"name": "EntityManagement",
|
|
1305
|
-
"module": "src/entities/entities.ts"
|
|
1306
|
-
}
|
|
1151
|
+
"fieldName": "enableCellFlashing"
|
|
1307
1152
|
},
|
|
1308
1153
|
{
|
|
1309
1154
|
"name": "hide-edit",
|
|
@@ -1311,11 +1156,7 @@
|
|
|
1311
1156
|
"text": "boolean"
|
|
1312
1157
|
},
|
|
1313
1158
|
"default": "false",
|
|
1314
|
-
"fieldName": "hideEdit"
|
|
1315
|
-
"inheritedFrom": {
|
|
1316
|
-
"name": "EntityManagement",
|
|
1317
|
-
"module": "src/entities/entities.ts"
|
|
1318
|
-
}
|
|
1159
|
+
"fieldName": "hideEdit"
|
|
1319
1160
|
},
|
|
1320
1161
|
{
|
|
1321
1162
|
"name": "hide-delete",
|
|
@@ -1323,186 +1164,188 @@
|
|
|
1323
1164
|
"text": "boolean"
|
|
1324
1165
|
},
|
|
1325
1166
|
"default": "false",
|
|
1326
|
-
"fieldName": "hideDelete"
|
|
1327
|
-
"inheritedFrom": {
|
|
1328
|
-
"name": "EntityManagement",
|
|
1329
|
-
"module": "src/entities/entities.ts"
|
|
1330
|
-
}
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
"name": "modal-position",
|
|
1334
|
-
"type": {
|
|
1335
|
-
"text": "'centre' | 'left' | 'right'"
|
|
1336
|
-
},
|
|
1337
|
-
"default": "'right'",
|
|
1338
|
-
"description": "Determines where the modal dialog will appear on screen",
|
|
1339
|
-
"fieldName": "modalPosition",
|
|
1340
|
-
"inheritedFrom": {
|
|
1341
|
-
"name": "EntityManagement",
|
|
1342
|
-
"module": "src/entities/entities.ts"
|
|
1343
|
-
}
|
|
1167
|
+
"fieldName": "hideDelete"
|
|
1344
1168
|
}
|
|
1345
|
-
]
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
"
|
|
1351
|
-
"
|
|
1352
|
-
"declaration": {
|
|
1353
|
-
"name": "Profiles",
|
|
1354
|
-
"module": "src/profiles/profiles.ts"
|
|
1355
|
-
}
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"kind": "custom-element-definition",
|
|
1359
|
-
"name": "profile-management",
|
|
1360
|
-
"declaration": {
|
|
1361
|
-
"name": "Profiles",
|
|
1362
|
-
"module": "src/profiles/profiles.ts"
|
|
1363
|
-
}
|
|
1169
|
+
],
|
|
1170
|
+
"superclass": {
|
|
1171
|
+
"name": "FASTElement",
|
|
1172
|
+
"package": "@microsoft/fast-element"
|
|
1173
|
+
},
|
|
1174
|
+
"tagName": "entity-list",
|
|
1175
|
+
"customElement": true
|
|
1364
1176
|
}
|
|
1365
|
-
]
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
"kind": "javascript-module",
|
|
1369
|
-
"path": "src/routes/config.ts",
|
|
1370
|
-
"declarations": [],
|
|
1371
|
-
"exports": []
|
|
1372
|
-
},
|
|
1373
|
-
{
|
|
1374
|
-
"kind": "javascript-module",
|
|
1375
|
-
"path": "src/routes/index.ts",
|
|
1376
|
-
"declarations": [],
|
|
1177
|
+
],
|
|
1377
1178
|
"exports": [
|
|
1378
1179
|
{
|
|
1379
1180
|
"kind": "js",
|
|
1380
|
-
"name": "
|
|
1181
|
+
"name": "List",
|
|
1381
1182
|
"declaration": {
|
|
1382
|
-
"name": "
|
|
1383
|
-
"
|
|
1183
|
+
"name": "List",
|
|
1184
|
+
"module": "src/list/list.ts"
|
|
1384
1185
|
}
|
|
1385
|
-
}
|
|
1386
|
-
]
|
|
1387
|
-
},
|
|
1388
|
-
{
|
|
1389
|
-
"kind": "javascript-module",
|
|
1390
|
-
"path": "src/entities/entities.styles.ts",
|
|
1391
|
-
"declarations": [
|
|
1392
|
-
{
|
|
1393
|
-
"kind": "variable",
|
|
1394
|
-
"name": "styles",
|
|
1395
|
-
"default": "css`\n :host {\n contain: content;\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 :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n`",
|
|
1396
|
-
"description": "Defines the css of the entity component as an ElementStyles object"
|
|
1397
|
-
}
|
|
1398
|
-
],
|
|
1399
|
-
"exports": [
|
|
1186
|
+
},
|
|
1400
1187
|
{
|
|
1401
|
-
"kind": "
|
|
1402
|
-
"name": "
|
|
1188
|
+
"kind": "custom-element-definition",
|
|
1189
|
+
"name": "entity-list",
|
|
1403
1190
|
"declaration": {
|
|
1404
|
-
"name": "
|
|
1405
|
-
"module": "src/
|
|
1191
|
+
"name": "List",
|
|
1192
|
+
"module": "src/list/list.ts"
|
|
1406
1193
|
}
|
|
1407
1194
|
}
|
|
1408
1195
|
]
|
|
1409
1196
|
},
|
|
1410
1197
|
{
|
|
1411
1198
|
"kind": "javascript-module",
|
|
1412
|
-
"path": "src/
|
|
1199
|
+
"path": "src/profiles/editProfileSchema.ts",
|
|
1413
1200
|
"declarations": [
|
|
1414
1201
|
{
|
|
1415
1202
|
"kind": "variable",
|
|
1416
|
-
"name": "
|
|
1417
|
-
"
|
|
1418
|
-
|
|
1203
|
+
"name": "editProfileFormSchema",
|
|
1204
|
+
"type": {
|
|
1205
|
+
"text": "object"
|
|
1206
|
+
},
|
|
1207
|
+
"default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
|
|
1419
1208
|
}
|
|
1420
1209
|
],
|
|
1421
1210
|
"exports": [
|
|
1422
1211
|
{
|
|
1423
1212
|
"kind": "js",
|
|
1424
|
-
"name": "
|
|
1213
|
+
"name": "editProfileFormSchema",
|
|
1425
1214
|
"declaration": {
|
|
1426
|
-
"name": "
|
|
1427
|
-
"module": "src/
|
|
1215
|
+
"name": "editProfileFormSchema",
|
|
1216
|
+
"module": "src/profiles/editProfileSchema.ts"
|
|
1428
1217
|
}
|
|
1429
1218
|
}
|
|
1430
1219
|
]
|
|
1431
1220
|
},
|
|
1432
1221
|
{
|
|
1433
1222
|
"kind": "javascript-module",
|
|
1434
|
-
"path": "src/
|
|
1223
|
+
"path": "src/profiles/profiles.ts",
|
|
1435
1224
|
"declarations": [
|
|
1436
1225
|
{
|
|
1437
1226
|
"kind": "class",
|
|
1438
|
-
"description": "Main class which
|
|
1439
|
-
"name": "
|
|
1227
|
+
"description": "Main class which defined the profile management functionality",
|
|
1228
|
+
"name": "Profiles",
|
|
1440
1229
|
"members": [
|
|
1230
|
+
{
|
|
1231
|
+
"kind": "method",
|
|
1232
|
+
"name": "readProfileData",
|
|
1233
|
+
"privacy": "public",
|
|
1234
|
+
"parameters": [
|
|
1235
|
+
{
|
|
1236
|
+
"name": "profile"
|
|
1237
|
+
}
|
|
1238
|
+
]
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
"kind": "method",
|
|
1242
|
+
"name": "confirmDelete",
|
|
1243
|
+
"inheritedFrom": {
|
|
1244
|
+
"name": "EntityManagement",
|
|
1245
|
+
"module": "src/entities/entities.ts"
|
|
1246
|
+
}
|
|
1247
|
+
},
|
|
1441
1248
|
{
|
|
1442
1249
|
"kind": "field",
|
|
1443
|
-
"name": "
|
|
1250
|
+
"name": "createEvent",
|
|
1444
1251
|
"type": {
|
|
1445
|
-
"text": "
|
|
1252
|
+
"text": "string"
|
|
1446
1253
|
},
|
|
1447
|
-
"
|
|
1448
|
-
"
|
|
1254
|
+
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
1255
|
+
"privacy": "public",
|
|
1256
|
+
"inheritedFrom": {
|
|
1257
|
+
"name": "EntityManagement",
|
|
1258
|
+
"module": "src/entities/entities.ts"
|
|
1259
|
+
}
|
|
1449
1260
|
},
|
|
1450
1261
|
{
|
|
1451
1262
|
"kind": "field",
|
|
1452
|
-
"name": "
|
|
1263
|
+
"name": "deleteEvent",
|
|
1453
1264
|
"type": {
|
|
1454
1265
|
"text": "string"
|
|
1455
1266
|
},
|
|
1456
|
-
"description": "Name of the
|
|
1457
|
-
"privacy": "public"
|
|
1267
|
+
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
1268
|
+
"privacy": "public",
|
|
1269
|
+
"inheritedFrom": {
|
|
1270
|
+
"name": "EntityManagement",
|
|
1271
|
+
"module": "src/entities/entities.ts"
|
|
1272
|
+
}
|
|
1458
1273
|
},
|
|
1459
1274
|
{
|
|
1460
1275
|
"kind": "field",
|
|
1461
|
-
"name": "
|
|
1276
|
+
"name": "updateEvent",
|
|
1462
1277
|
"type": {
|
|
1463
1278
|
"text": "string"
|
|
1279
|
+
},
|
|
1280
|
+
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
1281
|
+
"privacy": "public",
|
|
1282
|
+
"inheritedFrom": {
|
|
1283
|
+
"name": "EntityManagement",
|
|
1284
|
+
"module": "src/entities/entities.ts"
|
|
1464
1285
|
}
|
|
1465
1286
|
},
|
|
1466
1287
|
{
|
|
1467
1288
|
"kind": "field",
|
|
1468
|
-
"name": "
|
|
1289
|
+
"name": "persistColumnStateKey",
|
|
1469
1290
|
"type": {
|
|
1470
|
-
"text": "
|
|
1291
|
+
"text": "string"
|
|
1292
|
+
},
|
|
1293
|
+
"description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
|
|
1294
|
+
"privacy": "public",
|
|
1295
|
+
"default": "'entity_profiles_management'",
|
|
1296
|
+
"inheritedFrom": {
|
|
1297
|
+
"name": "EntityManagement",
|
|
1298
|
+
"module": "src/entities/entities.ts"
|
|
1471
1299
|
}
|
|
1472
1300
|
},
|
|
1473
1301
|
{
|
|
1474
1302
|
"kind": "field",
|
|
1475
|
-
"name": "
|
|
1303
|
+
"name": "updateFormUiSchema",
|
|
1476
1304
|
"type": {
|
|
1477
|
-
"text": "
|
|
1305
|
+
"text": "any"
|
|
1306
|
+
},
|
|
1307
|
+
"default": "editProfileFormSchema",
|
|
1308
|
+
"inheritedFrom": {
|
|
1309
|
+
"name": "EntityManagement",
|
|
1310
|
+
"module": "src/entities/entities.ts"
|
|
1478
1311
|
}
|
|
1479
1312
|
},
|
|
1480
1313
|
{
|
|
1481
1314
|
"kind": "field",
|
|
1482
|
-
"name": "
|
|
1315
|
+
"name": "createFormUiSchema",
|
|
1483
1316
|
"type": {
|
|
1484
|
-
"text": "
|
|
1317
|
+
"text": "any"
|
|
1485
1318
|
},
|
|
1486
|
-
"
|
|
1487
|
-
"
|
|
1319
|
+
"default": "editProfileFormSchema",
|
|
1320
|
+
"inheritedFrom": {
|
|
1321
|
+
"name": "EntityManagement",
|
|
1322
|
+
"module": "src/entities/entities.ts"
|
|
1323
|
+
}
|
|
1488
1324
|
},
|
|
1489
1325
|
{
|
|
1490
1326
|
"kind": "field",
|
|
1491
|
-
"name": "
|
|
1327
|
+
"name": "readEventFn",
|
|
1492
1328
|
"type": {
|
|
1493
|
-
"text": "
|
|
1329
|
+
"text": "(...args) => {}"
|
|
1494
1330
|
},
|
|
1495
|
-
"
|
|
1496
|
-
|
|
1331
|
+
"inheritedFrom": {
|
|
1332
|
+
"name": "EntityManagement",
|
|
1333
|
+
"module": "src/entities/entities.ts"
|
|
1334
|
+
}
|
|
1497
1335
|
},
|
|
1498
1336
|
{
|
|
1499
1337
|
"kind": "field",
|
|
1500
|
-
"name": "
|
|
1338
|
+
"name": "resourceName",
|
|
1501
1339
|
"type": {
|
|
1502
1340
|
"text": "string"
|
|
1503
1341
|
},
|
|
1504
|
-
"description": "Name of the
|
|
1505
|
-
"privacy": "public"
|
|
1342
|
+
"description": "Name of the backend resource which contain the entities to manage",
|
|
1343
|
+
"privacy": "public",
|
|
1344
|
+
"default": "'ALL_PROFILES'",
|
|
1345
|
+
"inheritedFrom": {
|
|
1346
|
+
"name": "EntityManagement",
|
|
1347
|
+
"module": "src/entities/entities.ts"
|
|
1348
|
+
}
|
|
1506
1349
|
},
|
|
1507
1350
|
{
|
|
1508
1351
|
"kind": "field",
|
|
@@ -1511,7 +1354,12 @@
|
|
|
1511
1354
|
"text": "string"
|
|
1512
1355
|
},
|
|
1513
1356
|
"description": "Title of the grid",
|
|
1514
|
-
"privacy": "public"
|
|
1357
|
+
"privacy": "public",
|
|
1358
|
+
"default": "'Profile Management'",
|
|
1359
|
+
"inheritedFrom": {
|
|
1360
|
+
"name": "EntityManagement",
|
|
1361
|
+
"module": "src/entities/entities.ts"
|
|
1362
|
+
}
|
|
1515
1363
|
},
|
|
1516
1364
|
{
|
|
1517
1365
|
"kind": "field",
|
|
@@ -1519,18 +1367,48 @@
|
|
|
1519
1367
|
"type": {
|
|
1520
1368
|
"text": "string"
|
|
1521
1369
|
},
|
|
1522
|
-
"default": "''",
|
|
1370
|
+
"default": "'Profile'",
|
|
1523
1371
|
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
1524
|
-
"privacy": "public"
|
|
1372
|
+
"privacy": "public",
|
|
1373
|
+
"inheritedFrom": {
|
|
1374
|
+
"name": "EntityManagement",
|
|
1375
|
+
"module": "src/entities/entities.ts"
|
|
1376
|
+
}
|
|
1525
1377
|
},
|
|
1526
1378
|
{
|
|
1527
1379
|
"kind": "field",
|
|
1528
|
-
"name": "
|
|
1380
|
+
"name": "connect",
|
|
1381
|
+
"type": {
|
|
1382
|
+
"text": "Connect"
|
|
1383
|
+
},
|
|
1384
|
+
"privacy": "protected",
|
|
1385
|
+
"description": "DI connect object which is used to interact with the backend.",
|
|
1386
|
+
"inheritedFrom": {
|
|
1387
|
+
"name": "EntityManagement",
|
|
1388
|
+
"module": "src/entities/entities.ts"
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"kind": "field",
|
|
1393
|
+
"name": "readEvent",
|
|
1529
1394
|
"type": {
|
|
1530
1395
|
"text": "string"
|
|
1531
1396
|
},
|
|
1532
|
-
"
|
|
1533
|
-
|
|
1397
|
+
"inheritedFrom": {
|
|
1398
|
+
"name": "EntityManagement",
|
|
1399
|
+
"module": "src/entities/entities.ts"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"kind": "field",
|
|
1404
|
+
"name": "readonly",
|
|
1405
|
+
"type": {
|
|
1406
|
+
"text": "boolean"
|
|
1407
|
+
},
|
|
1408
|
+
"inheritedFrom": {
|
|
1409
|
+
"name": "EntityManagement",
|
|
1410
|
+
"module": "src/entities/entities.ts"
|
|
1411
|
+
}
|
|
1534
1412
|
},
|
|
1535
1413
|
{
|
|
1536
1414
|
"kind": "field",
|
|
@@ -1539,7 +1417,11 @@
|
|
|
1539
1417
|
"text": "GridOptions"
|
|
1540
1418
|
},
|
|
1541
1419
|
"description": "GridOptions to be passed down from application",
|
|
1542
|
-
"privacy": "public"
|
|
1420
|
+
"privacy": "public",
|
|
1421
|
+
"inheritedFrom": {
|
|
1422
|
+
"name": "EntityManagement",
|
|
1423
|
+
"module": "src/entities/entities.ts"
|
|
1424
|
+
}
|
|
1543
1425
|
},
|
|
1544
1426
|
{
|
|
1545
1427
|
"kind": "field",
|
|
@@ -1548,7 +1430,11 @@
|
|
|
1548
1430
|
"text": "ColDef[]"
|
|
1549
1431
|
},
|
|
1550
1432
|
"description": "Array which holds the column definitions.",
|
|
1551
|
-
"privacy": "public"
|
|
1433
|
+
"privacy": "public",
|
|
1434
|
+
"inheritedFrom": {
|
|
1435
|
+
"name": "EntityManagement",
|
|
1436
|
+
"module": "src/entities/entities.ts"
|
|
1437
|
+
}
|
|
1552
1438
|
},
|
|
1553
1439
|
{
|
|
1554
1440
|
"kind": "field",
|
|
@@ -1557,27 +1443,21 @@
|
|
|
1557
1443
|
"text": "DatasourceConfiguration"
|
|
1558
1444
|
},
|
|
1559
1445
|
"description": "The configuration which is used when interacting with the resource on the backend",
|
|
1560
|
-
"privacy": "public"
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
"name": "formUiSchema",
|
|
1565
|
-
"type": {
|
|
1566
|
-
"text": "any"
|
|
1567
|
-
}
|
|
1568
|
-
},
|
|
1569
|
-
{
|
|
1570
|
-
"kind": "field",
|
|
1571
|
-
"name": "createFormUiSchema",
|
|
1572
|
-
"type": {
|
|
1573
|
-
"text": "any"
|
|
1446
|
+
"privacy": "public",
|
|
1447
|
+
"inheritedFrom": {
|
|
1448
|
+
"name": "EntityManagement",
|
|
1449
|
+
"module": "src/entities/entities.ts"
|
|
1574
1450
|
}
|
|
1575
1451
|
},
|
|
1576
1452
|
{
|
|
1577
1453
|
"kind": "field",
|
|
1578
|
-
"name": "
|
|
1454
|
+
"name": "formUiSchema",
|
|
1579
1455
|
"type": {
|
|
1580
1456
|
"text": "any"
|
|
1457
|
+
},
|
|
1458
|
+
"inheritedFrom": {
|
|
1459
|
+
"name": "EntityManagement",
|
|
1460
|
+
"module": "src/entities/entities.ts"
|
|
1581
1461
|
}
|
|
1582
1462
|
},
|
|
1583
1463
|
{
|
|
@@ -1587,7 +1467,11 @@
|
|
|
1587
1467
|
"text": "any"
|
|
1588
1468
|
},
|
|
1589
1469
|
"description": "Reference to the currently selected entity from the grid.",
|
|
1590
|
-
"privacy": "public"
|
|
1470
|
+
"privacy": "public",
|
|
1471
|
+
"inheritedFrom": {
|
|
1472
|
+
"name": "EntityManagement",
|
|
1473
|
+
"module": "src/entities/entities.ts"
|
|
1474
|
+
}
|
|
1591
1475
|
},
|
|
1592
1476
|
{
|
|
1593
1477
|
"kind": "field",
|
|
@@ -1596,13 +1480,21 @@
|
|
|
1596
1480
|
"text": "any"
|
|
1597
1481
|
},
|
|
1598
1482
|
"description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
|
|
1599
|
-
"privacy": "public"
|
|
1483
|
+
"privacy": "public",
|
|
1484
|
+
"inheritedFrom": {
|
|
1485
|
+
"name": "EntityManagement",
|
|
1486
|
+
"module": "src/entities/entities.ts"
|
|
1487
|
+
}
|
|
1600
1488
|
},
|
|
1601
1489
|
{
|
|
1602
1490
|
"kind": "field",
|
|
1603
1491
|
"name": "submitting",
|
|
1604
1492
|
"type": {
|
|
1605
1493
|
"text": "boolean"
|
|
1494
|
+
},
|
|
1495
|
+
"inheritedFrom": {
|
|
1496
|
+
"name": "EntityManagement",
|
|
1497
|
+
"module": "src/entities/entities.ts"
|
|
1606
1498
|
}
|
|
1607
1499
|
},
|
|
1608
1500
|
{
|
|
@@ -1610,6 +1502,10 @@
|
|
|
1610
1502
|
"name": "defaultEntityValues",
|
|
1611
1503
|
"type": {
|
|
1612
1504
|
"text": "any"
|
|
1505
|
+
},
|
|
1506
|
+
"inheritedFrom": {
|
|
1507
|
+
"name": "EntityManagement",
|
|
1508
|
+
"module": "src/entities/entities.ts"
|
|
1613
1509
|
}
|
|
1614
1510
|
},
|
|
1615
1511
|
{
|
|
@@ -1618,7 +1514,11 @@
|
|
|
1618
1514
|
"type": {
|
|
1619
1515
|
"text": "string"
|
|
1620
1516
|
},
|
|
1621
|
-
"description": "String which contains the text of the popup modal when the user is adding or editing an entity"
|
|
1517
|
+
"description": "String which contains the text of the popup modal when the user is adding or editing an entity",
|
|
1518
|
+
"inheritedFrom": {
|
|
1519
|
+
"name": "EntityManagement",
|
|
1520
|
+
"module": "src/entities/entities.ts"
|
|
1521
|
+
}
|
|
1622
1522
|
},
|
|
1623
1523
|
{
|
|
1624
1524
|
"kind": "field",
|
|
@@ -1626,11 +1526,19 @@
|
|
|
1626
1526
|
"type": {
|
|
1627
1527
|
"text": "boolean"
|
|
1628
1528
|
},
|
|
1629
|
-
"default": "false"
|
|
1529
|
+
"default": "false",
|
|
1530
|
+
"inheritedFrom": {
|
|
1531
|
+
"name": "EntityManagement",
|
|
1532
|
+
"module": "src/entities/entities.ts"
|
|
1533
|
+
}
|
|
1630
1534
|
},
|
|
1631
1535
|
{
|
|
1632
1536
|
"kind": "method",
|
|
1633
|
-
"name": "editModalVisibleChanged"
|
|
1537
|
+
"name": "editModalVisibleChanged",
|
|
1538
|
+
"inheritedFrom": {
|
|
1539
|
+
"name": "EntityManagement",
|
|
1540
|
+
"module": "src/entities/entities.ts"
|
|
1541
|
+
}
|
|
1634
1542
|
},
|
|
1635
1543
|
{
|
|
1636
1544
|
"kind": "field",
|
|
@@ -1638,13 +1546,21 @@
|
|
|
1638
1546
|
"type": {
|
|
1639
1547
|
"text": "any"
|
|
1640
1548
|
},
|
|
1641
|
-
"privacy": "public"
|
|
1549
|
+
"privacy": "public",
|
|
1550
|
+
"inheritedFrom": {
|
|
1551
|
+
"name": "EntityManagement",
|
|
1552
|
+
"module": "src/entities/entities.ts"
|
|
1553
|
+
}
|
|
1642
1554
|
},
|
|
1643
1555
|
{
|
|
1644
1556
|
"kind": "field",
|
|
1645
1557
|
"name": "sizeColumnsToFit",
|
|
1646
1558
|
"type": {
|
|
1647
1559
|
"text": "boolean"
|
|
1560
|
+
},
|
|
1561
|
+
"inheritedFrom": {
|
|
1562
|
+
"name": "EntityManagement",
|
|
1563
|
+
"module": "src/entities/entities.ts"
|
|
1648
1564
|
}
|
|
1649
1565
|
},
|
|
1650
1566
|
{
|
|
@@ -1652,6 +1568,10 @@
|
|
|
1652
1568
|
"name": "enableFilterBar",
|
|
1653
1569
|
"type": {
|
|
1654
1570
|
"text": "boolean"
|
|
1571
|
+
},
|
|
1572
|
+
"inheritedFrom": {
|
|
1573
|
+
"name": "EntityManagement",
|
|
1574
|
+
"module": "src/entities/entities.ts"
|
|
1655
1575
|
}
|
|
1656
1576
|
},
|
|
1657
1577
|
{
|
|
@@ -1659,6 +1579,10 @@
|
|
|
1659
1579
|
"name": "enableCellFlashing",
|
|
1660
1580
|
"type": {
|
|
1661
1581
|
"text": "boolean"
|
|
1582
|
+
},
|
|
1583
|
+
"inheritedFrom": {
|
|
1584
|
+
"name": "EntityManagement",
|
|
1585
|
+
"module": "src/entities/entities.ts"
|
|
1662
1586
|
}
|
|
1663
1587
|
},
|
|
1664
1588
|
{
|
|
@@ -1667,7 +1591,11 @@
|
|
|
1667
1591
|
"type": {
|
|
1668
1592
|
"text": "boolean"
|
|
1669
1593
|
},
|
|
1670
|
-
"default": "false"
|
|
1594
|
+
"default": "false",
|
|
1595
|
+
"inheritedFrom": {
|
|
1596
|
+
"name": "EntityManagement",
|
|
1597
|
+
"module": "src/entities/entities.ts"
|
|
1598
|
+
}
|
|
1671
1599
|
},
|
|
1672
1600
|
{
|
|
1673
1601
|
"kind": "field",
|
|
@@ -1675,7 +1603,11 @@
|
|
|
1675
1603
|
"type": {
|
|
1676
1604
|
"text": "boolean"
|
|
1677
1605
|
},
|
|
1678
|
-
"default": "false"
|
|
1606
|
+
"default": "false",
|
|
1607
|
+
"inheritedFrom": {
|
|
1608
|
+
"name": "EntityManagement",
|
|
1609
|
+
"module": "src/entities/entities.ts"
|
|
1610
|
+
}
|
|
1679
1611
|
},
|
|
1680
1612
|
{
|
|
1681
1613
|
"kind": "field",
|
|
@@ -1685,7 +1617,11 @@
|
|
|
1685
1617
|
},
|
|
1686
1618
|
"default": "'right'",
|
|
1687
1619
|
"description": "Determines where the modal dialog will appear on screen",
|
|
1688
|
-
"privacy": "public"
|
|
1620
|
+
"privacy": "public",
|
|
1621
|
+
"inheritedFrom": {
|
|
1622
|
+
"name": "EntityManagement",
|
|
1623
|
+
"module": "src/entities/entities.ts"
|
|
1624
|
+
}
|
|
1689
1625
|
},
|
|
1690
1626
|
{
|
|
1691
1627
|
"kind": "method",
|
|
@@ -1696,7 +1632,11 @@
|
|
|
1696
1632
|
}
|
|
1697
1633
|
},
|
|
1698
1634
|
"description": "Override the deepClone method to ensure that observable attributes are cloned",
|
|
1699
|
-
"privacy": "public"
|
|
1635
|
+
"privacy": "public",
|
|
1636
|
+
"inheritedFrom": {
|
|
1637
|
+
"name": "EntityManagement",
|
|
1638
|
+
"module": "src/entities/entities.ts"
|
|
1639
|
+
}
|
|
1700
1640
|
},
|
|
1701
1641
|
{
|
|
1702
1642
|
"kind": "method",
|
|
@@ -1711,7 +1651,11 @@
|
|
|
1711
1651
|
"description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
|
|
1712
1652
|
}
|
|
1713
1653
|
],
|
|
1714
|
-
"description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity"
|
|
1654
|
+
"description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
|
|
1655
|
+
"inheritedFrom": {
|
|
1656
|
+
"name": "EntityManagement",
|
|
1657
|
+
"module": "src/entities/entities.ts"
|
|
1658
|
+
}
|
|
1715
1659
|
},
|
|
1716
1660
|
{
|
|
1717
1661
|
"kind": "method",
|
|
@@ -1724,12 +1668,20 @@
|
|
|
1724
1668
|
"text": "CustomEvent"
|
|
1725
1669
|
}
|
|
1726
1670
|
}
|
|
1727
|
-
]
|
|
1671
|
+
],
|
|
1672
|
+
"inheritedFrom": {
|
|
1673
|
+
"name": "EntityManagement",
|
|
1674
|
+
"module": "src/entities/entities.ts"
|
|
1675
|
+
}
|
|
1728
1676
|
},
|
|
1729
1677
|
{
|
|
1730
1678
|
"kind": "method",
|
|
1731
1679
|
"name": "closeModal",
|
|
1732
|
-
"privacy": "public"
|
|
1680
|
+
"privacy": "public",
|
|
1681
|
+
"inheritedFrom": {
|
|
1682
|
+
"name": "EntityManagement",
|
|
1683
|
+
"module": "src/entities/entities.ts"
|
|
1684
|
+
}
|
|
1733
1685
|
},
|
|
1734
1686
|
{
|
|
1735
1687
|
"kind": "method",
|
|
@@ -1742,18 +1694,28 @@
|
|
|
1742
1694
|
"text": "CustomEvent<string>"
|
|
1743
1695
|
}
|
|
1744
1696
|
}
|
|
1745
|
-
]
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1697
|
+
],
|
|
1698
|
+
"inheritedFrom": {
|
|
1699
|
+
"name": "EntityManagement",
|
|
1700
|
+
"module": "src/entities/entities.ts"
|
|
1701
|
+
}
|
|
1750
1702
|
},
|
|
1751
1703
|
{
|
|
1752
1704
|
"kind": "method",
|
|
1753
1705
|
"name": "showDeleteConfirmation",
|
|
1754
|
-
"privacy": "private"
|
|
1706
|
+
"privacy": "private",
|
|
1707
|
+
"inheritedFrom": {
|
|
1708
|
+
"name": "EntityManagement",
|
|
1709
|
+
"module": "src/entities/entities.ts"
|
|
1710
|
+
}
|
|
1755
1711
|
}
|
|
1756
1712
|
],
|
|
1713
|
+
"superclass": {
|
|
1714
|
+
"name": "EntityManagement",
|
|
1715
|
+
"module": "/src/entities"
|
|
1716
|
+
},
|
|
1717
|
+
"tagName": "profile-management",
|
|
1718
|
+
"customElement": true,
|
|
1757
1719
|
"attributes": [
|
|
1758
1720
|
{
|
|
1759
1721
|
"name": "resourceName",
|
|
@@ -1761,20 +1723,32 @@
|
|
|
1761
1723
|
"text": "string"
|
|
1762
1724
|
},
|
|
1763
1725
|
"description": "Name of the backend resource which contain the entities to manage",
|
|
1764
|
-
"fieldName": "resourceName"
|
|
1726
|
+
"fieldName": "resourceName",
|
|
1727
|
+
"inheritedFrom": {
|
|
1728
|
+
"name": "EntityManagement",
|
|
1729
|
+
"module": "src/entities/entities.ts"
|
|
1730
|
+
}
|
|
1765
1731
|
},
|
|
1766
1732
|
{
|
|
1767
1733
|
"name": "readEvent",
|
|
1768
1734
|
"type": {
|
|
1769
1735
|
"text": "string"
|
|
1770
1736
|
},
|
|
1771
|
-
"fieldName": "readEvent"
|
|
1737
|
+
"fieldName": "readEvent",
|
|
1738
|
+
"inheritedFrom": {
|
|
1739
|
+
"name": "EntityManagement",
|
|
1740
|
+
"module": "src/entities/entities.ts"
|
|
1741
|
+
}
|
|
1772
1742
|
},
|
|
1773
1743
|
{
|
|
1774
1744
|
"type": {
|
|
1775
1745
|
"text": "boolean"
|
|
1776
1746
|
},
|
|
1777
|
-
"fieldName": "readonly"
|
|
1747
|
+
"fieldName": "readonly",
|
|
1748
|
+
"inheritedFrom": {
|
|
1749
|
+
"name": "EntityManagement",
|
|
1750
|
+
"module": "src/entities/entities.ts"
|
|
1751
|
+
}
|
|
1778
1752
|
},
|
|
1779
1753
|
{
|
|
1780
1754
|
"name": "updateEvent",
|
|
@@ -1782,7 +1756,11 @@
|
|
|
1782
1756
|
"text": "string"
|
|
1783
1757
|
},
|
|
1784
1758
|
"description": "Name of the event handler on the Genesis server which handles updating the entity",
|
|
1785
|
-
"fieldName": "updateEvent"
|
|
1759
|
+
"fieldName": "updateEvent",
|
|
1760
|
+
"inheritedFrom": {
|
|
1761
|
+
"name": "EntityManagement",
|
|
1762
|
+
"module": "src/entities/entities.ts"
|
|
1763
|
+
}
|
|
1786
1764
|
},
|
|
1787
1765
|
{
|
|
1788
1766
|
"name": "deleteEvent",
|
|
@@ -1790,7 +1768,11 @@
|
|
|
1790
1768
|
"text": "string"
|
|
1791
1769
|
},
|
|
1792
1770
|
"description": "Name of the event handler on the Genesis server which handles deleting the entity",
|
|
1793
|
-
"fieldName": "deleteEvent"
|
|
1771
|
+
"fieldName": "deleteEvent",
|
|
1772
|
+
"inheritedFrom": {
|
|
1773
|
+
"name": "EntityManagement",
|
|
1774
|
+
"module": "src/entities/entities.ts"
|
|
1775
|
+
}
|
|
1794
1776
|
},
|
|
1795
1777
|
{
|
|
1796
1778
|
"name": "createEvent",
|
|
@@ -1798,7 +1780,11 @@
|
|
|
1798
1780
|
"text": "string"
|
|
1799
1781
|
},
|
|
1800
1782
|
"description": "Name of the event handler on the Genesis server which handles creating an entity",
|
|
1801
|
-
"fieldName": "createEvent"
|
|
1783
|
+
"fieldName": "createEvent",
|
|
1784
|
+
"inheritedFrom": {
|
|
1785
|
+
"name": "EntityManagement",
|
|
1786
|
+
"module": "src/entities/entities.ts"
|
|
1787
|
+
}
|
|
1802
1788
|
},
|
|
1803
1789
|
{
|
|
1804
1790
|
"name": "title",
|
|
@@ -1806,7 +1792,11 @@
|
|
|
1806
1792
|
"text": "string"
|
|
1807
1793
|
},
|
|
1808
1794
|
"description": "Title of the grid",
|
|
1809
|
-
"fieldName": "title"
|
|
1795
|
+
"fieldName": "title",
|
|
1796
|
+
"inheritedFrom": {
|
|
1797
|
+
"name": "EntityManagement",
|
|
1798
|
+
"module": "src/entities/entities.ts"
|
|
1799
|
+
}
|
|
1810
1800
|
},
|
|
1811
1801
|
{
|
|
1812
1802
|
"name": "entityLabel",
|
|
@@ -1815,7 +1805,11 @@
|
|
|
1815
1805
|
},
|
|
1816
1806
|
"default": "''",
|
|
1817
1807
|
"description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
|
|
1818
|
-
"fieldName": "entityLabel"
|
|
1808
|
+
"fieldName": "entityLabel",
|
|
1809
|
+
"inheritedFrom": {
|
|
1810
|
+
"name": "EntityManagement",
|
|
1811
|
+
"module": "src/entities/entities.ts"
|
|
1812
|
+
}
|
|
1819
1813
|
},
|
|
1820
1814
|
{
|
|
1821
1815
|
"name": "persist-column-state-key",
|
|
@@ -1823,28 +1817,44 @@
|
|
|
1823
1817
|
"text": "string"
|
|
1824
1818
|
},
|
|
1825
1819
|
"description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
|
|
1826
|
-
"fieldName": "persistColumnStateKey"
|
|
1820
|
+
"fieldName": "persistColumnStateKey",
|
|
1821
|
+
"inheritedFrom": {
|
|
1822
|
+
"name": "EntityManagement",
|
|
1823
|
+
"module": "src/entities/entities.ts"
|
|
1824
|
+
}
|
|
1827
1825
|
},
|
|
1828
1826
|
{
|
|
1829
1827
|
"name": "size-columns-to-fit",
|
|
1830
1828
|
"type": {
|
|
1831
1829
|
"text": "boolean"
|
|
1832
1830
|
},
|
|
1833
|
-
"fieldName": "sizeColumnsToFit"
|
|
1831
|
+
"fieldName": "sizeColumnsToFit",
|
|
1832
|
+
"inheritedFrom": {
|
|
1833
|
+
"name": "EntityManagement",
|
|
1834
|
+
"module": "src/entities/entities.ts"
|
|
1835
|
+
}
|
|
1834
1836
|
},
|
|
1835
1837
|
{
|
|
1836
1838
|
"name": "enable-filter-bar",
|
|
1837
1839
|
"type": {
|
|
1838
1840
|
"text": "boolean"
|
|
1839
1841
|
},
|
|
1840
|
-
"fieldName": "enableFilterBar"
|
|
1842
|
+
"fieldName": "enableFilterBar",
|
|
1843
|
+
"inheritedFrom": {
|
|
1844
|
+
"name": "EntityManagement",
|
|
1845
|
+
"module": "src/entities/entities.ts"
|
|
1846
|
+
}
|
|
1841
1847
|
},
|
|
1842
1848
|
{
|
|
1843
1849
|
"name": "enable-cell-flashing",
|
|
1844
1850
|
"type": {
|
|
1845
1851
|
"text": "boolean"
|
|
1846
1852
|
},
|
|
1847
|
-
"fieldName": "enableCellFlashing"
|
|
1853
|
+
"fieldName": "enableCellFlashing",
|
|
1854
|
+
"inheritedFrom": {
|
|
1855
|
+
"name": "EntityManagement",
|
|
1856
|
+
"module": "src/entities/entities.ts"
|
|
1857
|
+
}
|
|
1848
1858
|
},
|
|
1849
1859
|
{
|
|
1850
1860
|
"name": "hide-edit",
|
|
@@ -1852,7 +1862,11 @@
|
|
|
1852
1862
|
"text": "boolean"
|
|
1853
1863
|
},
|
|
1854
1864
|
"default": "false",
|
|
1855
|
-
"fieldName": "hideEdit"
|
|
1865
|
+
"fieldName": "hideEdit",
|
|
1866
|
+
"inheritedFrom": {
|
|
1867
|
+
"name": "EntityManagement",
|
|
1868
|
+
"module": "src/entities/entities.ts"
|
|
1869
|
+
}
|
|
1856
1870
|
},
|
|
1857
1871
|
{
|
|
1858
1872
|
"name": "hide-delete",
|
|
@@ -1860,7 +1874,11 @@
|
|
|
1860
1874
|
"text": "boolean"
|
|
1861
1875
|
},
|
|
1862
1876
|
"default": "false",
|
|
1863
|
-
"fieldName": "hideDelete"
|
|
1877
|
+
"fieldName": "hideDelete",
|
|
1878
|
+
"inheritedFrom": {
|
|
1879
|
+
"name": "EntityManagement",
|
|
1880
|
+
"module": "src/entities/entities.ts"
|
|
1881
|
+
}
|
|
1864
1882
|
},
|
|
1865
1883
|
{
|
|
1866
1884
|
"name": "modal-position",
|
|
@@ -1869,45 +1887,43 @@
|
|
|
1869
1887
|
},
|
|
1870
1888
|
"default": "'right'",
|
|
1871
1889
|
"description": "Determines where the modal dialog will appear on screen",
|
|
1872
|
-
"fieldName": "modalPosition"
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
"name": "LifecycleMixin",
|
|
1878
|
-
"package": "@genesislcap/foundation-utils"
|
|
1890
|
+
"fieldName": "modalPosition",
|
|
1891
|
+
"inheritedFrom": {
|
|
1892
|
+
"name": "EntityManagement",
|
|
1893
|
+
"module": "src/entities/entities.ts"
|
|
1894
|
+
}
|
|
1879
1895
|
}
|
|
1880
|
-
]
|
|
1881
|
-
"superclass": {
|
|
1882
|
-
"name": "FASTElement",
|
|
1883
|
-
"package": "@microsoft/fast-element"
|
|
1884
|
-
},
|
|
1885
|
-
"tagName": "entity-management",
|
|
1886
|
-
"customElement": true
|
|
1896
|
+
]
|
|
1887
1897
|
}
|
|
1888
1898
|
],
|
|
1889
1899
|
"exports": [
|
|
1890
1900
|
{
|
|
1891
1901
|
"kind": "js",
|
|
1892
|
-
"name": "
|
|
1902
|
+
"name": "Profiles",
|
|
1893
1903
|
"declaration": {
|
|
1894
|
-
"name": "
|
|
1895
|
-
"module": "src/
|
|
1904
|
+
"name": "Profiles",
|
|
1905
|
+
"module": "src/profiles/profiles.ts"
|
|
1896
1906
|
}
|
|
1897
1907
|
},
|
|
1898
1908
|
{
|
|
1899
1909
|
"kind": "custom-element-definition",
|
|
1900
|
-
"name": "
|
|
1910
|
+
"name": "profile-management",
|
|
1901
1911
|
"declaration": {
|
|
1902
|
-
"name": "
|
|
1903
|
-
"module": "src/
|
|
1912
|
+
"name": "Profiles",
|
|
1913
|
+
"module": "src/profiles/profiles.ts"
|
|
1904
1914
|
}
|
|
1905
1915
|
}
|
|
1906
1916
|
]
|
|
1907
1917
|
},
|
|
1908
1918
|
{
|
|
1909
1919
|
"kind": "javascript-module",
|
|
1910
|
-
"path": "src/
|
|
1920
|
+
"path": "src/routes/config.ts",
|
|
1921
|
+
"declarations": [],
|
|
1922
|
+
"exports": []
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"kind": "javascript-module",
|
|
1926
|
+
"path": "src/routes/index.ts",
|
|
1911
1927
|
"declarations": [],
|
|
1912
1928
|
"exports": [
|
|
1913
1929
|
{
|
|
@@ -1915,23 +1931,7 @@
|
|
|
1915
1931
|
"name": "*",
|
|
1916
1932
|
"declaration": {
|
|
1917
1933
|
"name": "*",
|
|
1918
|
-
"package": "./
|
|
1919
|
-
}
|
|
1920
|
-
},
|
|
1921
|
-
{
|
|
1922
|
-
"kind": "js",
|
|
1923
|
-
"name": "*",
|
|
1924
|
-
"declaration": {
|
|
1925
|
-
"name": "*",
|
|
1926
|
-
"package": "./entities.template"
|
|
1927
|
-
}
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
"kind": "js",
|
|
1931
|
-
"name": "*",
|
|
1932
|
-
"declaration": {
|
|
1933
|
-
"name": "*",
|
|
1934
|
-
"package": "./entities.styles"
|
|
1934
|
+
"package": "./config"
|
|
1935
1935
|
}
|
|
1936
1936
|
}
|
|
1937
1937
|
]
|