@genesislcap/foundation-utils 14.217.2-alpha-6568e96.0 → 14.217.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +459 -459
- package/package.json +10 -10
@@ -169,190 +169,42 @@
|
|
169
169
|
},
|
170
170
|
{
|
171
171
|
"kind": "javascript-module",
|
172
|
-
"path": "src/
|
172
|
+
"path": "src/design-system/design-system.ts",
|
173
173
|
"declarations": [
|
174
174
|
{
|
175
|
-
"kind": "
|
176
|
-
"
|
177
|
-
"
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
"text": "boolean"
|
184
|
-
},
|
185
|
-
"privacy": "public",
|
186
|
-
"default": "false"
|
187
|
-
},
|
175
|
+
"kind": "function",
|
176
|
+
"name": "assureDesignSystem",
|
177
|
+
"return": {
|
178
|
+
"type": {
|
179
|
+
"text": "DesignSystemModule"
|
180
|
+
}
|
181
|
+
},
|
182
|
+
"parameters": [
|
188
183
|
{
|
189
|
-
"
|
190
|
-
"name": "records",
|
184
|
+
"name": "module",
|
191
185
|
"type": {
|
192
|
-
"text": "
|
193
|
-
}
|
194
|
-
"privacy": "private",
|
195
|
-
"default": "{}"
|
196
|
-
},
|
197
|
-
{
|
198
|
-
"kind": "field",
|
199
|
-
"name": "beforeUpdateListeners",
|
200
|
-
"privacy": "private"
|
201
|
-
},
|
202
|
-
{
|
203
|
-
"kind": "field",
|
204
|
-
"name": "afterUpdateListeners",
|
205
|
-
"privacy": "private"
|
206
|
-
},
|
207
|
-
{
|
208
|
-
"kind": "method",
|
209
|
-
"name": "create",
|
210
|
-
"privacy": "public",
|
211
|
-
"return": {
|
212
|
-
"type": {
|
213
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
214
|
-
}
|
215
|
-
},
|
216
|
-
"parameters": [
|
217
|
-
{
|
218
|
-
"name": "newValue",
|
219
|
-
"type": {
|
220
|
-
"text": "Omit<T, 'id'>"
|
221
|
-
}
|
222
|
-
}
|
223
|
-
]
|
224
|
-
},
|
225
|
-
{
|
226
|
-
"kind": "method",
|
227
|
-
"name": "read",
|
228
|
-
"privacy": "public",
|
229
|
-
"return": {
|
230
|
-
"type": {
|
231
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
232
|
-
}
|
233
|
-
},
|
234
|
-
"parameters": [
|
235
|
-
{
|
236
|
-
"name": "id",
|
237
|
-
"type": {
|
238
|
-
"text": "string"
|
239
|
-
}
|
240
|
-
}
|
241
|
-
]
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"kind": "method",
|
245
|
-
"name": "update",
|
246
|
-
"privacy": "public",
|
247
|
-
"return": {
|
248
|
-
"type": {
|
249
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
250
|
-
}
|
251
|
-
},
|
252
|
-
"parameters": [
|
253
|
-
{
|
254
|
-
"name": "id",
|
255
|
-
"type": {
|
256
|
-
"text": "string"
|
257
|
-
}
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"name": "newValue",
|
261
|
-
"type": {
|
262
|
-
"text": "Omit<Partial<T>, 'id'>"
|
263
|
-
}
|
264
|
-
}
|
265
|
-
]
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"kind": "method",
|
269
|
-
"name": "delete",
|
270
|
-
"privacy": "public",
|
271
|
-
"return": {
|
272
|
-
"type": {
|
273
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
274
|
-
}
|
275
|
-
},
|
276
|
-
"parameters": [
|
277
|
-
{
|
278
|
-
"name": "id",
|
279
|
-
"type": {
|
280
|
-
"text": "string"
|
281
|
-
}
|
282
|
-
}
|
283
|
-
]
|
284
|
-
},
|
285
|
-
{
|
286
|
-
"kind": "method",
|
287
|
-
"name": "visit",
|
288
|
-
"privacy": "public",
|
289
|
-
"return": {
|
290
|
-
"type": {
|
291
|
-
"text": "Promise<void>"
|
292
|
-
}
|
293
|
-
},
|
294
|
-
"parameters": [
|
295
|
-
{
|
296
|
-
"name": "visitor",
|
297
|
-
"type": {
|
298
|
-
"text": "(record: T) => void"
|
299
|
-
}
|
300
|
-
}
|
301
|
-
]
|
302
|
-
},
|
303
|
-
{
|
304
|
-
"kind": "method",
|
305
|
-
"name": "onBeforeUpdate",
|
306
|
-
"privacy": "public",
|
307
|
-
"return": {
|
308
|
-
"type": {
|
309
|
-
"text": "() => void"
|
310
|
-
}
|
311
|
-
},
|
312
|
-
"parameters": [
|
313
|
-
{
|
314
|
-
"name": "listener",
|
315
|
-
"type": {
|
316
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
317
|
-
}
|
318
|
-
}
|
319
|
-
]
|
320
|
-
},
|
321
|
-
{
|
322
|
-
"kind": "method",
|
323
|
-
"name": "onAfterUpdate",
|
324
|
-
"privacy": "public",
|
325
|
-
"return": {
|
326
|
-
"type": {
|
327
|
-
"text": "() => void"
|
328
|
-
}
|
329
|
-
},
|
330
|
-
"parameters": [
|
331
|
-
{
|
332
|
-
"name": "listener",
|
333
|
-
"type": {
|
334
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
335
|
-
}
|
336
|
-
}
|
337
|
-
]
|
186
|
+
"text": "DesignSystemModule"
|
187
|
+
}
|
338
188
|
}
|
339
|
-
]
|
189
|
+
],
|
190
|
+
"description": "assureDesignSystem.",
|
191
|
+
"privacy": "public"
|
340
192
|
}
|
341
193
|
],
|
342
194
|
"exports": [
|
343
195
|
{
|
344
196
|
"kind": "js",
|
345
|
-
"name": "
|
197
|
+
"name": "assureDesignSystem",
|
346
198
|
"declaration": {
|
347
|
-
"name": "
|
348
|
-
"module": "src/
|
199
|
+
"name": "assureDesignSystem",
|
200
|
+
"module": "src/design-system/design-system.ts"
|
349
201
|
}
|
350
202
|
}
|
351
203
|
]
|
352
204
|
},
|
353
205
|
{
|
354
206
|
"kind": "javascript-module",
|
355
|
-
"path": "src/
|
207
|
+
"path": "src/design-system/index.ts",
|
356
208
|
"declarations": [],
|
357
209
|
"exports": [
|
358
210
|
{
|
@@ -360,49 +212,37 @@
|
|
360
212
|
"name": "*",
|
361
213
|
"declaration": {
|
362
214
|
"name": "*",
|
363
|
-
"package": "./
|
215
|
+
"package": "./design-system"
|
364
216
|
}
|
365
217
|
}
|
366
218
|
]
|
367
219
|
},
|
368
220
|
{
|
369
221
|
"kind": "javascript-module",
|
370
|
-
"path": "src/
|
371
|
-
"declarations": [
|
372
|
-
{
|
373
|
-
"kind": "function",
|
374
|
-
"name": "assureDesignSystem",
|
375
|
-
"return": {
|
376
|
-
"type": {
|
377
|
-
"text": "DesignSystemModule"
|
378
|
-
}
|
379
|
-
},
|
380
|
-
"parameters": [
|
381
|
-
{
|
382
|
-
"name": "module",
|
383
|
-
"type": {
|
384
|
-
"text": "DesignSystemModule"
|
385
|
-
}
|
386
|
-
}
|
387
|
-
],
|
388
|
-
"description": "assureDesignSystem.",
|
389
|
-
"privacy": "public"
|
390
|
-
}
|
391
|
-
],
|
222
|
+
"path": "src/directives/index.ts",
|
223
|
+
"declarations": [],
|
392
224
|
"exports": [
|
393
225
|
{
|
394
226
|
"kind": "js",
|
395
|
-
"name": "
|
227
|
+
"name": "*",
|
396
228
|
"declaration": {
|
397
|
-
"name": "
|
398
|
-
"
|
229
|
+
"name": "*",
|
230
|
+
"package": "./sync"
|
231
|
+
}
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"kind": "js",
|
235
|
+
"name": "*",
|
236
|
+
"declaration": {
|
237
|
+
"name": "*",
|
238
|
+
"package": "./when-else"
|
399
239
|
}
|
400
240
|
}
|
401
241
|
]
|
402
242
|
},
|
403
243
|
{
|
404
244
|
"kind": "javascript-module",
|
405
|
-
"path": "src/
|
245
|
+
"path": "src/env/index.ts",
|
406
246
|
"declarations": [],
|
407
247
|
"exports": [
|
408
248
|
{
|
@@ -410,83 +250,230 @@
|
|
410
250
|
"name": "*",
|
411
251
|
"declaration": {
|
412
252
|
"name": "*",
|
413
|
-
"package": "./
|
253
|
+
"package": "./is-dev"
|
254
|
+
}
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"kind": "js",
|
258
|
+
"name": "*",
|
259
|
+
"declaration": {
|
260
|
+
"name": "*",
|
261
|
+
"package": "./variables"
|
414
262
|
}
|
415
263
|
}
|
416
264
|
]
|
417
265
|
},
|
418
266
|
{
|
419
267
|
"kind": "javascript-module",
|
420
|
-
"path": "src/
|
421
|
-
"declarations": [
|
268
|
+
"path": "src/env/is-dev.ts",
|
269
|
+
"declarations": [
|
270
|
+
{
|
271
|
+
"kind": "function",
|
272
|
+
"name": "isDev",
|
273
|
+
"description": "Determines if the current environment is a development environment.",
|
274
|
+
"privacy": "public"
|
275
|
+
}
|
276
|
+
],
|
422
277
|
"exports": [
|
423
278
|
{
|
424
279
|
"kind": "js",
|
425
|
-
"name": "
|
280
|
+
"name": "isDev",
|
281
|
+
"declaration": {
|
282
|
+
"name": "isDev",
|
283
|
+
"module": "src/env/is-dev.ts"
|
284
|
+
}
|
285
|
+
}
|
286
|
+
]
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"kind": "javascript-module",
|
290
|
+
"path": "src/env/variables.ts",
|
291
|
+
"declarations": [
|
292
|
+
{
|
293
|
+
"kind": "variable",
|
294
|
+
"name": "SOCKET_EXT",
|
295
|
+
"type": {
|
296
|
+
"text": "string"
|
297
|
+
}
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"kind": "variable",
|
301
|
+
"name": "_SOCKET_EXT",
|
302
|
+
"type": {
|
303
|
+
"text": "string"
|
304
|
+
},
|
305
|
+
"default": "'gwf'",
|
306
|
+
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
307
|
+
"privacy": "public"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"kind": "variable",
|
311
|
+
"name": "FORCE_HTTP",
|
312
|
+
"type": {
|
313
|
+
"text": "string"
|
314
|
+
}
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"kind": "variable",
|
318
|
+
"name": "_FORCE_HTTP",
|
319
|
+
"type": {
|
320
|
+
"text": "string"
|
321
|
+
},
|
322
|
+
"description": "The path to a JSON config file for the HTTP mode.",
|
323
|
+
"privacy": "public"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"kind": "variable",
|
327
|
+
"name": "GENESIS_SOCKET_URL",
|
328
|
+
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
329
|
+
"description": "Genesis Socket URL",
|
330
|
+
"privacy": "public"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"kind": "variable",
|
334
|
+
"name": "API_HOST",
|
335
|
+
"type": {
|
336
|
+
"text": "string"
|
337
|
+
}
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"kind": "variable",
|
341
|
+
"name": "_API_HOST",
|
342
|
+
"type": {
|
343
|
+
"text": "string"
|
344
|
+
},
|
345
|
+
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
346
|
+
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
347
|
+
"privacy": "public"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"kind": "variable",
|
351
|
+
"name": "HTTP_CONFIG",
|
352
|
+
"type": {
|
353
|
+
"text": "string"
|
354
|
+
}
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"kind": "variable",
|
358
|
+
"name": "_HTTP_CONFIG",
|
359
|
+
"type": {
|
360
|
+
"text": "string"
|
361
|
+
},
|
362
|
+
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
363
|
+
"privacy": "public"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"kind": "variable",
|
367
|
+
"name": "DEFAULT_ORGANISATION",
|
368
|
+
"type": {
|
369
|
+
"text": "string"
|
370
|
+
}
|
371
|
+
},
|
372
|
+
{
|
373
|
+
"kind": "variable",
|
374
|
+
"name": "_DEFAULT_ORGANISATION",
|
375
|
+
"type": {
|
376
|
+
"text": "string"
|
377
|
+
},
|
378
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
379
|
+
"privacy": "public"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"kind": "variable",
|
383
|
+
"name": "DEFAULT_PASSWORD",
|
384
|
+
"type": {
|
385
|
+
"text": "string"
|
386
|
+
}
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"kind": "variable",
|
390
|
+
"name": "_DEFAULT_PASSWORD",
|
391
|
+
"type": {
|
392
|
+
"text": "string"
|
393
|
+
},
|
394
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
395
|
+
"privacy": "public"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"kind": "variable",
|
399
|
+
"name": "DEFAULT_USER",
|
400
|
+
"type": {
|
401
|
+
"text": "string"
|
402
|
+
}
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"kind": "variable",
|
406
|
+
"name": "_DEFAULT_USER",
|
407
|
+
"type": {
|
408
|
+
"text": "string"
|
409
|
+
},
|
410
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
411
|
+
"privacy": "public"
|
412
|
+
}
|
413
|
+
],
|
414
|
+
"exports": [
|
415
|
+
{
|
416
|
+
"kind": "js",
|
417
|
+
"name": "SOCKET_EXT",
|
418
|
+
"declaration": {
|
419
|
+
"name": "_SOCKET_EXT",
|
420
|
+
"module": "src/env/variables.ts"
|
421
|
+
}
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"kind": "js",
|
425
|
+
"name": "FORCE_HTTP",
|
426
|
+
"declaration": {
|
427
|
+
"name": "_FORCE_HTTP",
|
428
|
+
"module": "src/env/variables.ts"
|
429
|
+
}
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"kind": "js",
|
433
|
+
"name": "GENESIS_SOCKET_URL",
|
434
|
+
"declaration": {
|
435
|
+
"name": "GENESIS_SOCKET_URL",
|
436
|
+
"module": "src/env/variables.ts"
|
437
|
+
}
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"kind": "js",
|
441
|
+
"name": "API_HOST",
|
426
442
|
"declaration": {
|
427
|
-
"name": "
|
428
|
-
"
|
443
|
+
"name": "_API_HOST",
|
444
|
+
"module": "src/env/variables.ts"
|
429
445
|
}
|
430
|
-
}
|
431
|
-
]
|
432
|
-
},
|
433
|
-
{
|
434
|
-
"kind": "javascript-module",
|
435
|
-
"path": "src/decorators/renderOnChange.ts",
|
436
|
-
"declarations": [
|
446
|
+
},
|
437
447
|
{
|
438
|
-
"kind": "
|
439
|
-
"name": "
|
440
|
-
"
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
},
|
446
|
-
"description": "The target to define the property change handler on."
|
447
|
-
},
|
448
|
-
{
|
449
|
-
"name": "name",
|
450
|
-
"type": {
|
451
|
-
"text": "string"
|
452
|
-
},
|
453
|
-
"description": "The property name."
|
454
|
-
}
|
455
|
-
],
|
456
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
457
|
-
"privacy": "public"
|
458
|
-
}
|
459
|
-
],
|
460
|
-
"exports": [
|
448
|
+
"kind": "js",
|
449
|
+
"name": "HTTP_CONFIG",
|
450
|
+
"declaration": {
|
451
|
+
"name": "_HTTP_CONFIG",
|
452
|
+
"module": "src/env/variables.ts"
|
453
|
+
}
|
454
|
+
},
|
461
455
|
{
|
462
456
|
"kind": "js",
|
463
|
-
"name": "
|
457
|
+
"name": "DEFAULT_ORGANISATION",
|
464
458
|
"declaration": {
|
465
|
-
"name": "
|
466
|
-
"module": "src/
|
459
|
+
"name": "_DEFAULT_ORGANISATION",
|
460
|
+
"module": "src/env/variables.ts"
|
467
461
|
}
|
468
|
-
}
|
469
|
-
]
|
470
|
-
},
|
471
|
-
{
|
472
|
-
"kind": "javascript-module",
|
473
|
-
"path": "src/directives/index.ts",
|
474
|
-
"declarations": [],
|
475
|
-
"exports": [
|
462
|
+
},
|
476
463
|
{
|
477
464
|
"kind": "js",
|
478
|
-
"name": "
|
465
|
+
"name": "DEFAULT_PASSWORD",
|
479
466
|
"declaration": {
|
480
|
-
"name": "
|
481
|
-
"
|
467
|
+
"name": "_DEFAULT_PASSWORD",
|
468
|
+
"module": "src/env/variables.ts"
|
482
469
|
}
|
483
470
|
},
|
484
471
|
{
|
485
472
|
"kind": "js",
|
486
|
-
"name": "
|
473
|
+
"name": "DEFAULT_USER",
|
487
474
|
"declaration": {
|
488
|
-
"name": "
|
489
|
-
"
|
475
|
+
"name": "_DEFAULT_USER",
|
476
|
+
"module": "src/env/variables.ts"
|
490
477
|
}
|
491
478
|
}
|
492
479
|
]
|
@@ -692,238 +679,251 @@
|
|
692
679
|
},
|
693
680
|
{
|
694
681
|
"kind": "javascript-module",
|
695
|
-
"path": "src/
|
696
|
-
"declarations": [
|
682
|
+
"path": "src/data/inMemoryDatabase.ts",
|
683
|
+
"declarations": [
|
684
|
+
{
|
685
|
+
"kind": "class",
|
686
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
687
|
+
"name": "InMemoryDatabase",
|
688
|
+
"members": [
|
689
|
+
{
|
690
|
+
"kind": "field",
|
691
|
+
"name": "isWorking",
|
692
|
+
"type": {
|
693
|
+
"text": "boolean"
|
694
|
+
},
|
695
|
+
"privacy": "public",
|
696
|
+
"default": "false"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"kind": "field",
|
700
|
+
"name": "records",
|
701
|
+
"type": {
|
702
|
+
"text": "Record<string, T>"
|
703
|
+
},
|
704
|
+
"privacy": "private",
|
705
|
+
"default": "{}"
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"kind": "field",
|
709
|
+
"name": "beforeUpdateListeners",
|
710
|
+
"privacy": "private"
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"kind": "field",
|
714
|
+
"name": "afterUpdateListeners",
|
715
|
+
"privacy": "private"
|
716
|
+
},
|
717
|
+
{
|
718
|
+
"kind": "method",
|
719
|
+
"name": "create",
|
720
|
+
"privacy": "public",
|
721
|
+
"return": {
|
722
|
+
"type": {
|
723
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
724
|
+
}
|
725
|
+
},
|
726
|
+
"parameters": [
|
727
|
+
{
|
728
|
+
"name": "newValue",
|
729
|
+
"type": {
|
730
|
+
"text": "Omit<T, 'id'>"
|
731
|
+
}
|
732
|
+
}
|
733
|
+
]
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"kind": "method",
|
737
|
+
"name": "read",
|
738
|
+
"privacy": "public",
|
739
|
+
"return": {
|
740
|
+
"type": {
|
741
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
742
|
+
}
|
743
|
+
},
|
744
|
+
"parameters": [
|
745
|
+
{
|
746
|
+
"name": "id",
|
747
|
+
"type": {
|
748
|
+
"text": "string"
|
749
|
+
}
|
750
|
+
}
|
751
|
+
]
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"kind": "method",
|
755
|
+
"name": "update",
|
756
|
+
"privacy": "public",
|
757
|
+
"return": {
|
758
|
+
"type": {
|
759
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
760
|
+
}
|
761
|
+
},
|
762
|
+
"parameters": [
|
763
|
+
{
|
764
|
+
"name": "id",
|
765
|
+
"type": {
|
766
|
+
"text": "string"
|
767
|
+
}
|
768
|
+
},
|
769
|
+
{
|
770
|
+
"name": "newValue",
|
771
|
+
"type": {
|
772
|
+
"text": "Omit<Partial<T>, 'id'>"
|
773
|
+
}
|
774
|
+
}
|
775
|
+
]
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"kind": "method",
|
779
|
+
"name": "delete",
|
780
|
+
"privacy": "public",
|
781
|
+
"return": {
|
782
|
+
"type": {
|
783
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
784
|
+
}
|
785
|
+
},
|
786
|
+
"parameters": [
|
787
|
+
{
|
788
|
+
"name": "id",
|
789
|
+
"type": {
|
790
|
+
"text": "string"
|
791
|
+
}
|
792
|
+
}
|
793
|
+
]
|
794
|
+
},
|
795
|
+
{
|
796
|
+
"kind": "method",
|
797
|
+
"name": "visit",
|
798
|
+
"privacy": "public",
|
799
|
+
"return": {
|
800
|
+
"type": {
|
801
|
+
"text": "Promise<void>"
|
802
|
+
}
|
803
|
+
},
|
804
|
+
"parameters": [
|
805
|
+
{
|
806
|
+
"name": "visitor",
|
807
|
+
"type": {
|
808
|
+
"text": "(record: T) => void"
|
809
|
+
}
|
810
|
+
}
|
811
|
+
]
|
812
|
+
},
|
813
|
+
{
|
814
|
+
"kind": "method",
|
815
|
+
"name": "onBeforeUpdate",
|
816
|
+
"privacy": "public",
|
817
|
+
"return": {
|
818
|
+
"type": {
|
819
|
+
"text": "() => void"
|
820
|
+
}
|
821
|
+
},
|
822
|
+
"parameters": [
|
823
|
+
{
|
824
|
+
"name": "listener",
|
825
|
+
"type": {
|
826
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
827
|
+
}
|
828
|
+
}
|
829
|
+
]
|
830
|
+
},
|
831
|
+
{
|
832
|
+
"kind": "method",
|
833
|
+
"name": "onAfterUpdate",
|
834
|
+
"privacy": "public",
|
835
|
+
"return": {
|
836
|
+
"type": {
|
837
|
+
"text": "() => void"
|
838
|
+
}
|
839
|
+
},
|
840
|
+
"parameters": [
|
841
|
+
{
|
842
|
+
"name": "listener",
|
843
|
+
"type": {
|
844
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
845
|
+
}
|
846
|
+
}
|
847
|
+
]
|
848
|
+
}
|
849
|
+
]
|
850
|
+
}
|
851
|
+
],
|
697
852
|
"exports": [
|
698
853
|
{
|
699
854
|
"kind": "js",
|
700
|
-
"name": "
|
855
|
+
"name": "InMemoryDatabase",
|
701
856
|
"declaration": {
|
702
|
-
"name": "
|
703
|
-
"
|
857
|
+
"name": "InMemoryDatabase",
|
858
|
+
"module": "src/data/inMemoryDatabase.ts"
|
704
859
|
}
|
705
|
-
}
|
860
|
+
}
|
861
|
+
]
|
862
|
+
},
|
863
|
+
{
|
864
|
+
"kind": "javascript-module",
|
865
|
+
"path": "src/data/index.ts",
|
866
|
+
"declarations": [],
|
867
|
+
"exports": [
|
706
868
|
{
|
707
869
|
"kind": "js",
|
708
870
|
"name": "*",
|
709
871
|
"declaration": {
|
710
872
|
"name": "*",
|
711
|
-
"package": "./
|
873
|
+
"package": "./inMemoryDatabase"
|
712
874
|
}
|
713
875
|
}
|
714
876
|
]
|
715
877
|
},
|
716
878
|
{
|
717
879
|
"kind": "javascript-module",
|
718
|
-
"path": "src/
|
719
|
-
"declarations": [
|
720
|
-
{
|
721
|
-
"kind": "function",
|
722
|
-
"name": "isDev",
|
723
|
-
"description": "Determines if the current environment is a development environment.",
|
724
|
-
"privacy": "public"
|
725
|
-
}
|
726
|
-
],
|
880
|
+
"path": "src/decorators/index.ts",
|
881
|
+
"declarations": [],
|
727
882
|
"exports": [
|
728
883
|
{
|
729
884
|
"kind": "js",
|
730
|
-
"name": "
|
885
|
+
"name": "*",
|
731
886
|
"declaration": {
|
732
|
-
"name": "
|
733
|
-
"
|
887
|
+
"name": "*",
|
888
|
+
"package": "./renderOnChange"
|
734
889
|
}
|
735
890
|
}
|
736
891
|
]
|
737
892
|
},
|
738
893
|
{
|
739
894
|
"kind": "javascript-module",
|
740
|
-
"path": "src/
|
895
|
+
"path": "src/decorators/renderOnChange.ts",
|
741
896
|
"declarations": [
|
742
897
|
{
|
743
|
-
"kind": "
|
744
|
-
"name": "
|
745
|
-
"
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
"
|
762
|
-
"type": {
|
763
|
-
"text": "string"
|
764
|
-
}
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"kind": "variable",
|
768
|
-
"name": "_FORCE_HTTP",
|
769
|
-
"type": {
|
770
|
-
"text": "string"
|
771
|
-
},
|
772
|
-
"description": "The path to a JSON config file for the HTTP mode.",
|
773
|
-
"privacy": "public"
|
774
|
-
},
|
775
|
-
{
|
776
|
-
"kind": "variable",
|
777
|
-
"name": "GENESIS_SOCKET_URL",
|
778
|
-
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
779
|
-
"description": "Genesis Socket URL",
|
780
|
-
"privacy": "public"
|
781
|
-
},
|
782
|
-
{
|
783
|
-
"kind": "variable",
|
784
|
-
"name": "API_HOST",
|
785
|
-
"type": {
|
786
|
-
"text": "string"
|
787
|
-
}
|
788
|
-
},
|
789
|
-
{
|
790
|
-
"kind": "variable",
|
791
|
-
"name": "_API_HOST",
|
792
|
-
"type": {
|
793
|
-
"text": "string"
|
794
|
-
},
|
795
|
-
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
796
|
-
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
797
|
-
"privacy": "public"
|
798
|
-
},
|
799
|
-
{
|
800
|
-
"kind": "variable",
|
801
|
-
"name": "HTTP_CONFIG",
|
802
|
-
"type": {
|
803
|
-
"text": "string"
|
804
|
-
}
|
805
|
-
},
|
806
|
-
{
|
807
|
-
"kind": "variable",
|
808
|
-
"name": "_HTTP_CONFIG",
|
809
|
-
"type": {
|
810
|
-
"text": "string"
|
811
|
-
},
|
812
|
-
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
813
|
-
"privacy": "public"
|
814
|
-
},
|
815
|
-
{
|
816
|
-
"kind": "variable",
|
817
|
-
"name": "DEFAULT_ORGANISATION",
|
818
|
-
"type": {
|
819
|
-
"text": "string"
|
820
|
-
}
|
821
|
-
},
|
822
|
-
{
|
823
|
-
"kind": "variable",
|
824
|
-
"name": "_DEFAULT_ORGANISATION",
|
825
|
-
"type": {
|
826
|
-
"text": "string"
|
827
|
-
},
|
828
|
-
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
829
|
-
"privacy": "public"
|
830
|
-
},
|
831
|
-
{
|
832
|
-
"kind": "variable",
|
833
|
-
"name": "DEFAULT_PASSWORD",
|
834
|
-
"type": {
|
835
|
-
"text": "string"
|
836
|
-
}
|
837
|
-
},
|
838
|
-
{
|
839
|
-
"kind": "variable",
|
840
|
-
"name": "_DEFAULT_PASSWORD",
|
841
|
-
"type": {
|
842
|
-
"text": "string"
|
843
|
-
},
|
844
|
-
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
845
|
-
"privacy": "public"
|
846
|
-
},
|
847
|
-
{
|
848
|
-
"kind": "variable",
|
849
|
-
"name": "DEFAULT_USER",
|
850
|
-
"type": {
|
851
|
-
"text": "string"
|
852
|
-
}
|
853
|
-
},
|
854
|
-
{
|
855
|
-
"kind": "variable",
|
856
|
-
"name": "_DEFAULT_USER",
|
857
|
-
"type": {
|
858
|
-
"text": "string"
|
859
|
-
},
|
860
|
-
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
898
|
+
"kind": "function",
|
899
|
+
"name": "renderOnChange",
|
900
|
+
"parameters": [
|
901
|
+
{
|
902
|
+
"name": "target",
|
903
|
+
"type": {
|
904
|
+
"text": "FASTElement & { render(): void }"
|
905
|
+
},
|
906
|
+
"description": "The target to define the property change handler on."
|
907
|
+
},
|
908
|
+
{
|
909
|
+
"name": "name",
|
910
|
+
"type": {
|
911
|
+
"text": "string"
|
912
|
+
},
|
913
|
+
"description": "The property name."
|
914
|
+
}
|
915
|
+
],
|
916
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
861
917
|
"privacy": "public"
|
862
918
|
}
|
863
919
|
],
|
864
920
|
"exports": [
|
865
921
|
{
|
866
922
|
"kind": "js",
|
867
|
-
"name": "
|
868
|
-
"declaration": {
|
869
|
-
"name": "_SOCKET_EXT",
|
870
|
-
"module": "src/env/variables.ts"
|
871
|
-
}
|
872
|
-
},
|
873
|
-
{
|
874
|
-
"kind": "js",
|
875
|
-
"name": "FORCE_HTTP",
|
876
|
-
"declaration": {
|
877
|
-
"name": "_FORCE_HTTP",
|
878
|
-
"module": "src/env/variables.ts"
|
879
|
-
}
|
880
|
-
},
|
881
|
-
{
|
882
|
-
"kind": "js",
|
883
|
-
"name": "GENESIS_SOCKET_URL",
|
884
|
-
"declaration": {
|
885
|
-
"name": "GENESIS_SOCKET_URL",
|
886
|
-
"module": "src/env/variables.ts"
|
887
|
-
}
|
888
|
-
},
|
889
|
-
{
|
890
|
-
"kind": "js",
|
891
|
-
"name": "API_HOST",
|
892
|
-
"declaration": {
|
893
|
-
"name": "_API_HOST",
|
894
|
-
"module": "src/env/variables.ts"
|
895
|
-
}
|
896
|
-
},
|
897
|
-
{
|
898
|
-
"kind": "js",
|
899
|
-
"name": "HTTP_CONFIG",
|
900
|
-
"declaration": {
|
901
|
-
"name": "_HTTP_CONFIG",
|
902
|
-
"module": "src/env/variables.ts"
|
903
|
-
}
|
904
|
-
},
|
905
|
-
{
|
906
|
-
"kind": "js",
|
907
|
-
"name": "DEFAULT_ORGANISATION",
|
908
|
-
"declaration": {
|
909
|
-
"name": "_DEFAULT_ORGANISATION",
|
910
|
-
"module": "src/env/variables.ts"
|
911
|
-
}
|
912
|
-
},
|
913
|
-
{
|
914
|
-
"kind": "js",
|
915
|
-
"name": "DEFAULT_PASSWORD",
|
916
|
-
"declaration": {
|
917
|
-
"name": "_DEFAULT_PASSWORD",
|
918
|
-
"module": "src/env/variables.ts"
|
919
|
-
}
|
920
|
-
},
|
921
|
-
{
|
922
|
-
"kind": "js",
|
923
|
-
"name": "DEFAULT_USER",
|
923
|
+
"name": "renderOnChange",
|
924
924
|
"declaration": {
|
925
|
-
"name": "
|
926
|
-
"module": "src/
|
925
|
+
"name": "renderOnChange",
|
926
|
+
"module": "src/decorators/renderOnChange.ts"
|
927
927
|
}
|
928
928
|
}
|
929
929
|
]
|
@@ -1465,6 +1465,21 @@
|
|
1465
1465
|
}
|
1466
1466
|
]
|
1467
1467
|
},
|
1468
|
+
{
|
1469
|
+
"kind": "javascript-module",
|
1470
|
+
"path": "src/serializers/index.ts",
|
1471
|
+
"declarations": [],
|
1472
|
+
"exports": [
|
1473
|
+
{
|
1474
|
+
"kind": "js",
|
1475
|
+
"name": "*",
|
1476
|
+
"declaration": {
|
1477
|
+
"name": "*",
|
1478
|
+
"package": "./json"
|
1479
|
+
}
|
1480
|
+
}
|
1481
|
+
]
|
1482
|
+
},
|
1468
1483
|
{
|
1469
1484
|
"kind": "javascript-module",
|
1470
1485
|
"path": "src/resource/index.ts",
|
@@ -1506,21 +1521,6 @@
|
|
1506
1521
|
}
|
1507
1522
|
]
|
1508
1523
|
},
|
1509
|
-
{
|
1510
|
-
"kind": "javascript-module",
|
1511
|
-
"path": "src/serializers/index.ts",
|
1512
|
-
"declarations": [],
|
1513
|
-
"exports": [
|
1514
|
-
{
|
1515
|
-
"kind": "js",
|
1516
|
-
"name": "*",
|
1517
|
-
"declaration": {
|
1518
|
-
"name": "*",
|
1519
|
-
"package": "./json"
|
1520
|
-
}
|
1521
|
-
}
|
1522
|
-
]
|
1523
|
-
},
|
1524
1524
|
{
|
1525
1525
|
"kind": "javascript-module",
|
1526
1526
|
"path": "src/state/index.ts",
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
3
3
|
"description": "Genesis Foundation Utils",
|
4
|
-
"version": "14.217.2
|
4
|
+
"version": "14.217.2",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,17 +27,17 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.217.2
|
31
|
-
"@genesislcap/genx": "14.217.2
|
32
|
-
"@genesislcap/rollup-builder": "14.217.2
|
33
|
-
"@genesislcap/ts-builder": "14.217.2
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.217.2
|
35
|
-
"@genesislcap/vite-builder": "14.217.2
|
36
|
-
"@genesislcap/webpack-builder": "14.217.2
|
30
|
+
"@genesislcap/foundation-testing": "14.217.2",
|
31
|
+
"@genesislcap/genx": "14.217.2",
|
32
|
+
"@genesislcap/rollup-builder": "14.217.2",
|
33
|
+
"@genesislcap/ts-builder": "14.217.2",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.217.2",
|
35
|
+
"@genesislcap/vite-builder": "14.217.2",
|
36
|
+
"@genesislcap/webpack-builder": "14.217.2",
|
37
37
|
"rimraf": "^5.0.0"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/foundation-logger": "14.217.2
|
40
|
+
"@genesislcap/foundation-logger": "14.217.2",
|
41
41
|
"@microsoft/fast-components": "^2.30.6",
|
42
42
|
"@microsoft/fast-element": "^1.12.0",
|
43
43
|
"@microsoft/fast-foundation": "^2.49.4",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
57
|
"customElements": "dist/custom-elements.json",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "69c1d43ea24b182462a2bc522e270c2fb5502244"
|
59
59
|
}
|