@genesislcap/foundation-utils 14.162.0 → 14.162.1-fdc3rowclick.2
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 +393 -393
- package/package.json +10 -10
|
@@ -153,23 +153,198 @@
|
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
"kind": "javascript-module",
|
|
156
|
-
"path": "src/
|
|
157
|
-
"declarations": [
|
|
156
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
157
|
+
"declarations": [
|
|
158
|
+
{
|
|
159
|
+
"kind": "class",
|
|
160
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
161
|
+
"name": "InMemoryDatabase",
|
|
162
|
+
"members": [
|
|
163
|
+
{
|
|
164
|
+
"kind": "field",
|
|
165
|
+
"name": "isWorking",
|
|
166
|
+
"type": {
|
|
167
|
+
"text": "boolean"
|
|
168
|
+
},
|
|
169
|
+
"privacy": "public",
|
|
170
|
+
"default": "false"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"kind": "field",
|
|
174
|
+
"name": "records",
|
|
175
|
+
"type": {
|
|
176
|
+
"text": "Record<string, T>"
|
|
177
|
+
},
|
|
178
|
+
"privacy": "private",
|
|
179
|
+
"default": "{}"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"kind": "field",
|
|
183
|
+
"name": "beforeUpdateListeners",
|
|
184
|
+
"privacy": "private"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"kind": "field",
|
|
188
|
+
"name": "afterUpdateListeners",
|
|
189
|
+
"privacy": "private"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"kind": "method",
|
|
193
|
+
"name": "create",
|
|
194
|
+
"privacy": "public",
|
|
195
|
+
"return": {
|
|
196
|
+
"type": {
|
|
197
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"parameters": [
|
|
201
|
+
{
|
|
202
|
+
"name": "newValue",
|
|
203
|
+
"type": {
|
|
204
|
+
"text": "Omit<T, 'id'>"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"kind": "method",
|
|
211
|
+
"name": "read",
|
|
212
|
+
"privacy": "public",
|
|
213
|
+
"return": {
|
|
214
|
+
"type": {
|
|
215
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"parameters": [
|
|
219
|
+
{
|
|
220
|
+
"name": "id",
|
|
221
|
+
"type": {
|
|
222
|
+
"text": "string"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"kind": "method",
|
|
229
|
+
"name": "update",
|
|
230
|
+
"privacy": "public",
|
|
231
|
+
"return": {
|
|
232
|
+
"type": {
|
|
233
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"parameters": [
|
|
237
|
+
{
|
|
238
|
+
"name": "id",
|
|
239
|
+
"type": {
|
|
240
|
+
"text": "string"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "newValue",
|
|
245
|
+
"type": {
|
|
246
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"kind": "method",
|
|
253
|
+
"name": "delete",
|
|
254
|
+
"privacy": "public",
|
|
255
|
+
"return": {
|
|
256
|
+
"type": {
|
|
257
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"parameters": [
|
|
261
|
+
{
|
|
262
|
+
"name": "id",
|
|
263
|
+
"type": {
|
|
264
|
+
"text": "string"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"kind": "method",
|
|
271
|
+
"name": "visit",
|
|
272
|
+
"privacy": "public",
|
|
273
|
+
"return": {
|
|
274
|
+
"type": {
|
|
275
|
+
"text": "Promise<void>"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"parameters": [
|
|
279
|
+
{
|
|
280
|
+
"name": "visitor",
|
|
281
|
+
"type": {
|
|
282
|
+
"text": "(record: T) => void"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"kind": "method",
|
|
289
|
+
"name": "onBeforeUpdate",
|
|
290
|
+
"privacy": "public",
|
|
291
|
+
"return": {
|
|
292
|
+
"type": {
|
|
293
|
+
"text": "() => void"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"parameters": [
|
|
297
|
+
{
|
|
298
|
+
"name": "listener",
|
|
299
|
+
"type": {
|
|
300
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"kind": "method",
|
|
307
|
+
"name": "onAfterUpdate",
|
|
308
|
+
"privacy": "public",
|
|
309
|
+
"return": {
|
|
310
|
+
"type": {
|
|
311
|
+
"text": "() => void"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"parameters": [
|
|
315
|
+
{
|
|
316
|
+
"name": "listener",
|
|
317
|
+
"type": {
|
|
318
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
],
|
|
158
326
|
"exports": [
|
|
159
327
|
{
|
|
160
328
|
"kind": "js",
|
|
161
|
-
"name": "
|
|
329
|
+
"name": "InMemoryDatabase",
|
|
162
330
|
"declaration": {
|
|
163
|
-
"name": "
|
|
164
|
-
"
|
|
331
|
+
"name": "InMemoryDatabase",
|
|
332
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
165
333
|
}
|
|
166
|
-
}
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"kind": "javascript-module",
|
|
339
|
+
"path": "src/data/index.ts",
|
|
340
|
+
"declarations": [],
|
|
341
|
+
"exports": [
|
|
167
342
|
{
|
|
168
343
|
"kind": "js",
|
|
169
344
|
"name": "*",
|
|
170
345
|
"declaration": {
|
|
171
346
|
"name": "*",
|
|
172
|
-
"package": "./
|
|
347
|
+
"package": "./inMemoryDatabase"
|
|
173
348
|
}
|
|
174
349
|
}
|
|
175
350
|
]
|
|
@@ -226,7 +401,7 @@
|
|
|
226
401
|
},
|
|
227
402
|
{
|
|
228
403
|
"kind": "javascript-module",
|
|
229
|
-
"path": "src/
|
|
404
|
+
"path": "src/decorators/index.ts",
|
|
230
405
|
"declarations": [],
|
|
231
406
|
"exports": [
|
|
232
407
|
{
|
|
@@ -234,215 +409,68 @@
|
|
|
234
409
|
"name": "*",
|
|
235
410
|
"declaration": {
|
|
236
411
|
"name": "*",
|
|
237
|
-
"package": "./
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"kind": "js",
|
|
242
|
-
"name": "*",
|
|
243
|
-
"declaration": {
|
|
244
|
-
"name": "*",
|
|
245
|
-
"package": "./variables"
|
|
412
|
+
"package": "./renderOnChange"
|
|
246
413
|
}
|
|
247
414
|
}
|
|
248
415
|
]
|
|
249
416
|
},
|
|
250
417
|
{
|
|
251
418
|
"kind": "javascript-module",
|
|
252
|
-
"path": "src/
|
|
419
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
253
420
|
"declarations": [
|
|
254
421
|
{
|
|
255
422
|
"kind": "function",
|
|
256
|
-
"name": "
|
|
257
|
-
"
|
|
423
|
+
"name": "renderOnChange",
|
|
424
|
+
"parameters": [
|
|
425
|
+
{
|
|
426
|
+
"name": "target",
|
|
427
|
+
"type": {
|
|
428
|
+
"text": "FASTElement & { render(): void }"
|
|
429
|
+
},
|
|
430
|
+
"description": "The target to define the property change handler on."
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "name",
|
|
434
|
+
"type": {
|
|
435
|
+
"text": "string"
|
|
436
|
+
},
|
|
437
|
+
"description": "The property name."
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
258
441
|
"privacy": "public"
|
|
259
442
|
}
|
|
260
443
|
],
|
|
261
444
|
"exports": [
|
|
262
445
|
{
|
|
263
446
|
"kind": "js",
|
|
264
|
-
"name": "
|
|
447
|
+
"name": "renderOnChange",
|
|
265
448
|
"declaration": {
|
|
266
|
-
"name": "
|
|
267
|
-
"module": "src/
|
|
449
|
+
"name": "renderOnChange",
|
|
450
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
268
451
|
}
|
|
269
452
|
}
|
|
270
453
|
]
|
|
271
454
|
},
|
|
272
455
|
{
|
|
273
456
|
"kind": "javascript-module",
|
|
274
|
-
"path": "src/
|
|
275
|
-
"declarations": [
|
|
457
|
+
"path": "src/directives/index.ts",
|
|
458
|
+
"declarations": [],
|
|
459
|
+
"exports": [
|
|
276
460
|
{
|
|
277
|
-
"kind": "
|
|
278
|
-
"name": "
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"kind": "variable",
|
|
285
|
-
"name": "_SOCKET_EXT",
|
|
286
|
-
"type": {
|
|
287
|
-
"text": "string"
|
|
288
|
-
},
|
|
289
|
-
"default": "'gwf'",
|
|
290
|
-
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
|
291
|
-
"privacy": "public"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"kind": "variable",
|
|
295
|
-
"name": "FORCE_HTTP",
|
|
296
|
-
"type": {
|
|
297
|
-
"text": "string"
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"kind": "variable",
|
|
302
|
-
"name": "_FORCE_HTTP",
|
|
303
|
-
"type": {
|
|
304
|
-
"text": "string"
|
|
305
|
-
},
|
|
306
|
-
"description": "The path to a JSON config file for the HTTP mode.",
|
|
307
|
-
"privacy": "public"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"kind": "variable",
|
|
311
|
-
"name": "API_HOST",
|
|
312
|
-
"type": {
|
|
313
|
-
"text": "string"
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"kind": "variable",
|
|
318
|
-
"name": "_API_HOST",
|
|
319
|
-
"type": {
|
|
320
|
-
"text": "string"
|
|
321
|
-
},
|
|
322
|
-
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
|
323
|
-
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
|
324
|
-
"privacy": "public"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"kind": "variable",
|
|
328
|
-
"name": "HTTP_CONFIG",
|
|
329
|
-
"type": {
|
|
330
|
-
"text": "string"
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"kind": "variable",
|
|
335
|
-
"name": "_HTTP_CONFIG",
|
|
336
|
-
"type": {
|
|
337
|
-
"text": "string"
|
|
338
|
-
},
|
|
339
|
-
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
|
340
|
-
"privacy": "public"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"kind": "variable",
|
|
344
|
-
"name": "DEFAULT_ORGANISATION",
|
|
345
|
-
"type": {
|
|
346
|
-
"text": "string"
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"kind": "variable",
|
|
351
|
-
"name": "_DEFAULT_ORGANISATION",
|
|
352
|
-
"type": {
|
|
353
|
-
"text": "string"
|
|
354
|
-
},
|
|
355
|
-
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
356
|
-
"privacy": "public"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"kind": "variable",
|
|
360
|
-
"name": "DEFAULT_PASSWORD",
|
|
361
|
-
"type": {
|
|
362
|
-
"text": "string"
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"kind": "variable",
|
|
367
|
-
"name": "_DEFAULT_PASSWORD",
|
|
368
|
-
"type": {
|
|
369
|
-
"text": "string"
|
|
370
|
-
},
|
|
371
|
-
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
372
|
-
"privacy": "public"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"kind": "variable",
|
|
376
|
-
"name": "DEFAULT_USER",
|
|
377
|
-
"type": {
|
|
378
|
-
"text": "string"
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"kind": "variable",
|
|
383
|
-
"name": "_DEFAULT_USER",
|
|
384
|
-
"type": {
|
|
385
|
-
"text": "string"
|
|
386
|
-
},
|
|
387
|
-
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
388
|
-
"privacy": "public"
|
|
389
|
-
}
|
|
390
|
-
],
|
|
391
|
-
"exports": [
|
|
392
|
-
{
|
|
393
|
-
"kind": "js",
|
|
394
|
-
"name": "SOCKET_EXT",
|
|
395
|
-
"declaration": {
|
|
396
|
-
"name": "_SOCKET_EXT",
|
|
397
|
-
"module": "src/env/variables.ts"
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
"kind": "js",
|
|
402
|
-
"name": "FORCE_HTTP",
|
|
403
|
-
"declaration": {
|
|
404
|
-
"name": "_FORCE_HTTP",
|
|
405
|
-
"module": "src/env/variables.ts"
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"kind": "js",
|
|
410
|
-
"name": "API_HOST",
|
|
411
|
-
"declaration": {
|
|
412
|
-
"name": "_API_HOST",
|
|
413
|
-
"module": "src/env/variables.ts"
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"kind": "js",
|
|
418
|
-
"name": "HTTP_CONFIG",
|
|
419
|
-
"declaration": {
|
|
420
|
-
"name": "_HTTP_CONFIG",
|
|
421
|
-
"module": "src/env/variables.ts"
|
|
461
|
+
"kind": "js",
|
|
462
|
+
"name": "*",
|
|
463
|
+
"declaration": {
|
|
464
|
+
"name": "*",
|
|
465
|
+
"package": "./sync"
|
|
422
466
|
}
|
|
423
467
|
},
|
|
424
468
|
{
|
|
425
469
|
"kind": "js",
|
|
426
|
-
"name": "
|
|
427
|
-
"declaration": {
|
|
428
|
-
"name": "_DEFAULT_ORGANISATION",
|
|
429
|
-
"module": "src/env/variables.ts"
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"kind": "js",
|
|
434
|
-
"name": "DEFAULT_PASSWORD",
|
|
435
|
-
"declaration": {
|
|
436
|
-
"name": "_DEFAULT_PASSWORD",
|
|
437
|
-
"module": "src/env/variables.ts"
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"kind": "js",
|
|
442
|
-
"name": "DEFAULT_USER",
|
|
470
|
+
"name": "*",
|
|
443
471
|
"declaration": {
|
|
444
|
-
"name": "
|
|
445
|
-
"
|
|
472
|
+
"name": "*",
|
|
473
|
+
"package": "./when-else"
|
|
446
474
|
}
|
|
447
475
|
}
|
|
448
476
|
]
|
|
@@ -648,7 +676,7 @@
|
|
|
648
676
|
},
|
|
649
677
|
{
|
|
650
678
|
"kind": "javascript-module",
|
|
651
|
-
"path": "src/
|
|
679
|
+
"path": "src/env/index.ts",
|
|
652
680
|
"declarations": [],
|
|
653
681
|
"exports": [
|
|
654
682
|
{
|
|
@@ -656,243 +684,215 @@
|
|
|
656
684
|
"name": "*",
|
|
657
685
|
"declaration": {
|
|
658
686
|
"name": "*",
|
|
659
|
-
"package": "./
|
|
687
|
+
"package": "./is-dev"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"kind": "js",
|
|
692
|
+
"name": "*",
|
|
693
|
+
"declaration": {
|
|
694
|
+
"name": "*",
|
|
695
|
+
"package": "./variables"
|
|
660
696
|
}
|
|
661
697
|
}
|
|
662
698
|
]
|
|
663
699
|
},
|
|
664
700
|
{
|
|
665
701
|
"kind": "javascript-module",
|
|
666
|
-
"path": "src/
|
|
702
|
+
"path": "src/env/is-dev.ts",
|
|
667
703
|
"declarations": [
|
|
668
704
|
{
|
|
669
705
|
"kind": "function",
|
|
670
|
-
"name": "
|
|
671
|
-
"
|
|
672
|
-
{
|
|
673
|
-
"name": "target",
|
|
674
|
-
"type": {
|
|
675
|
-
"text": "FASTElement & { render(): void }"
|
|
676
|
-
},
|
|
677
|
-
"description": "The target to define the property change handler on."
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"name": "name",
|
|
681
|
-
"type": {
|
|
682
|
-
"text": "string"
|
|
683
|
-
},
|
|
684
|
-
"description": "The property name."
|
|
685
|
-
}
|
|
686
|
-
],
|
|
687
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
706
|
+
"name": "isDev",
|
|
707
|
+
"description": "Determines if the current environment is a development environment.",
|
|
688
708
|
"privacy": "public"
|
|
689
709
|
}
|
|
690
710
|
],
|
|
691
711
|
"exports": [
|
|
692
712
|
{
|
|
693
713
|
"kind": "js",
|
|
694
|
-
"name": "
|
|
714
|
+
"name": "isDev",
|
|
695
715
|
"declaration": {
|
|
696
|
-
"name": "
|
|
697
|
-
"module": "src/
|
|
716
|
+
"name": "isDev",
|
|
717
|
+
"module": "src/env/is-dev.ts"
|
|
698
718
|
}
|
|
699
719
|
}
|
|
700
720
|
]
|
|
701
721
|
},
|
|
702
722
|
{
|
|
703
723
|
"kind": "javascript-module",
|
|
704
|
-
"path": "src/
|
|
724
|
+
"path": "src/env/variables.ts",
|
|
705
725
|
"declarations": [
|
|
706
726
|
{
|
|
707
|
-
"kind": "
|
|
708
|
-
"
|
|
709
|
-
"
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
"name": "visit",
|
|
820
|
-
"privacy": "public",
|
|
821
|
-
"return": {
|
|
822
|
-
"type": {
|
|
823
|
-
"text": "Promise<void>"
|
|
824
|
-
}
|
|
825
|
-
},
|
|
826
|
-
"parameters": [
|
|
827
|
-
{
|
|
828
|
-
"name": "visitor",
|
|
829
|
-
"type": {
|
|
830
|
-
"text": "(record: T) => void"
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
]
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
"kind": "method",
|
|
837
|
-
"name": "onBeforeUpdate",
|
|
838
|
-
"privacy": "public",
|
|
839
|
-
"return": {
|
|
840
|
-
"type": {
|
|
841
|
-
"text": "() => void"
|
|
842
|
-
}
|
|
843
|
-
},
|
|
844
|
-
"parameters": [
|
|
845
|
-
{
|
|
846
|
-
"name": "listener",
|
|
847
|
-
"type": {
|
|
848
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
]
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
"kind": "method",
|
|
855
|
-
"name": "onAfterUpdate",
|
|
856
|
-
"privacy": "public",
|
|
857
|
-
"return": {
|
|
858
|
-
"type": {
|
|
859
|
-
"text": "() => void"
|
|
860
|
-
}
|
|
861
|
-
},
|
|
862
|
-
"parameters": [
|
|
863
|
-
{
|
|
864
|
-
"name": "listener",
|
|
865
|
-
"type": {
|
|
866
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
]
|
|
870
|
-
}
|
|
871
|
-
]
|
|
727
|
+
"kind": "variable",
|
|
728
|
+
"name": "SOCKET_EXT",
|
|
729
|
+
"type": {
|
|
730
|
+
"text": "string"
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"kind": "variable",
|
|
735
|
+
"name": "_SOCKET_EXT",
|
|
736
|
+
"type": {
|
|
737
|
+
"text": "string"
|
|
738
|
+
},
|
|
739
|
+
"default": "'gwf'",
|
|
740
|
+
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
|
741
|
+
"privacy": "public"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"kind": "variable",
|
|
745
|
+
"name": "FORCE_HTTP",
|
|
746
|
+
"type": {
|
|
747
|
+
"text": "string"
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"kind": "variable",
|
|
752
|
+
"name": "_FORCE_HTTP",
|
|
753
|
+
"type": {
|
|
754
|
+
"text": "string"
|
|
755
|
+
},
|
|
756
|
+
"description": "The path to a JSON config file for the HTTP mode.",
|
|
757
|
+
"privacy": "public"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"kind": "variable",
|
|
761
|
+
"name": "API_HOST",
|
|
762
|
+
"type": {
|
|
763
|
+
"text": "string"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"kind": "variable",
|
|
768
|
+
"name": "_API_HOST",
|
|
769
|
+
"type": {
|
|
770
|
+
"text": "string"
|
|
771
|
+
},
|
|
772
|
+
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
|
773
|
+
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
|
774
|
+
"privacy": "public"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"kind": "variable",
|
|
778
|
+
"name": "HTTP_CONFIG",
|
|
779
|
+
"type": {
|
|
780
|
+
"text": "string"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"kind": "variable",
|
|
785
|
+
"name": "_HTTP_CONFIG",
|
|
786
|
+
"type": {
|
|
787
|
+
"text": "string"
|
|
788
|
+
},
|
|
789
|
+
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
|
790
|
+
"privacy": "public"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"kind": "variable",
|
|
794
|
+
"name": "DEFAULT_ORGANISATION",
|
|
795
|
+
"type": {
|
|
796
|
+
"text": "string"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"kind": "variable",
|
|
801
|
+
"name": "_DEFAULT_ORGANISATION",
|
|
802
|
+
"type": {
|
|
803
|
+
"text": "string"
|
|
804
|
+
},
|
|
805
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
806
|
+
"privacy": "public"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"kind": "variable",
|
|
810
|
+
"name": "DEFAULT_PASSWORD",
|
|
811
|
+
"type": {
|
|
812
|
+
"text": "string"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"kind": "variable",
|
|
817
|
+
"name": "_DEFAULT_PASSWORD",
|
|
818
|
+
"type": {
|
|
819
|
+
"text": "string"
|
|
820
|
+
},
|
|
821
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
822
|
+
"privacy": "public"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"kind": "variable",
|
|
826
|
+
"name": "DEFAULT_USER",
|
|
827
|
+
"type": {
|
|
828
|
+
"text": "string"
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"kind": "variable",
|
|
833
|
+
"name": "_DEFAULT_USER",
|
|
834
|
+
"type": {
|
|
835
|
+
"text": "string"
|
|
836
|
+
},
|
|
837
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
|
838
|
+
"privacy": "public"
|
|
872
839
|
}
|
|
873
840
|
],
|
|
874
841
|
"exports": [
|
|
875
842
|
{
|
|
876
843
|
"kind": "js",
|
|
877
|
-
"name": "
|
|
844
|
+
"name": "SOCKET_EXT",
|
|
878
845
|
"declaration": {
|
|
879
|
-
"name": "
|
|
880
|
-
"module": "src/
|
|
846
|
+
"name": "_SOCKET_EXT",
|
|
847
|
+
"module": "src/env/variables.ts"
|
|
881
848
|
}
|
|
882
|
-
}
|
|
883
|
-
]
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
"kind": "javascript-module",
|
|
887
|
-
"path": "src/data/index.ts",
|
|
888
|
-
"declarations": [],
|
|
889
|
-
"exports": [
|
|
849
|
+
},
|
|
890
850
|
{
|
|
891
851
|
"kind": "js",
|
|
892
|
-
"name": "
|
|
852
|
+
"name": "FORCE_HTTP",
|
|
893
853
|
"declaration": {
|
|
894
|
-
"name": "
|
|
895
|
-
"
|
|
854
|
+
"name": "_FORCE_HTTP",
|
|
855
|
+
"module": "src/env/variables.ts"
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"kind": "js",
|
|
860
|
+
"name": "API_HOST",
|
|
861
|
+
"declaration": {
|
|
862
|
+
"name": "_API_HOST",
|
|
863
|
+
"module": "src/env/variables.ts"
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"kind": "js",
|
|
868
|
+
"name": "HTTP_CONFIG",
|
|
869
|
+
"declaration": {
|
|
870
|
+
"name": "_HTTP_CONFIG",
|
|
871
|
+
"module": "src/env/variables.ts"
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"kind": "js",
|
|
876
|
+
"name": "DEFAULT_ORGANISATION",
|
|
877
|
+
"declaration": {
|
|
878
|
+
"name": "_DEFAULT_ORGANISATION",
|
|
879
|
+
"module": "src/env/variables.ts"
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"kind": "js",
|
|
884
|
+
"name": "DEFAULT_PASSWORD",
|
|
885
|
+
"declaration": {
|
|
886
|
+
"name": "_DEFAULT_PASSWORD",
|
|
887
|
+
"module": "src/env/variables.ts"
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"kind": "js",
|
|
892
|
+
"name": "DEFAULT_USER",
|
|
893
|
+
"declaration": {
|
|
894
|
+
"name": "_DEFAULT_USER",
|
|
895
|
+
"module": "src/env/variables.ts"
|
|
896
896
|
}
|
|
897
897
|
}
|
|
898
898
|
]
|
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.162.
|
|
4
|
+
"version": "14.162.1-fdc3rowclick.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.162.
|
|
23
|
-
"@genesislcap/genx": "14.162.
|
|
24
|
-
"@genesislcap/rollup-builder": "14.162.
|
|
25
|
-
"@genesislcap/ts-builder": "14.162.
|
|
26
|
-
"@genesislcap/uvu-playwright-builder": "14.162.
|
|
27
|
-
"@genesislcap/vite-builder": "14.162.
|
|
28
|
-
"@genesislcap/webpack-builder": "14.162.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.162.1-fdc3rowclick.2",
|
|
23
|
+
"@genesislcap/genx": "14.162.1-fdc3rowclick.2",
|
|
24
|
+
"@genesislcap/rollup-builder": "14.162.1-fdc3rowclick.2",
|
|
25
|
+
"@genesislcap/ts-builder": "14.162.1-fdc3rowclick.2",
|
|
26
|
+
"@genesislcap/uvu-playwright-builder": "14.162.1-fdc3rowclick.2",
|
|
27
|
+
"@genesislcap/vite-builder": "14.162.1-fdc3rowclick.2",
|
|
28
|
+
"@genesislcap/webpack-builder": "14.162.1-fdc3rowclick.2",
|
|
29
29
|
"rimraf": "^3.0.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@genesislcap/foundation-logger": "14.162.
|
|
32
|
+
"@genesislcap/foundation-logger": "14.162.1-fdc3rowclick.2",
|
|
33
33
|
"@microsoft/fast-components": "^2.30.6",
|
|
34
34
|
"@microsoft/fast-element": "^1.12.0",
|
|
35
35
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"customElements": "dist/custom-elements.json",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "389571a0bea046cd7a21bc232deb168c99a834d8"
|
|
51
51
|
}
|