@genesislcap/foundation-utils 14.217.6-alpha-f6d0d1c0fdc7.0 → 14.217.6-alpha-406f23c.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +591 -591
- package/package.json +10 -10
@@ -169,57 +169,7 @@
|
|
169
169
|
},
|
170
170
|
{
|
171
171
|
"kind": "javascript-module",
|
172
|
-
"path": "src/
|
173
|
-
"declarations": [
|
174
|
-
{
|
175
|
-
"kind": "function",
|
176
|
-
"name": "assureDesignSystem",
|
177
|
-
"return": {
|
178
|
-
"type": {
|
179
|
-
"text": "DesignSystemModule"
|
180
|
-
}
|
181
|
-
},
|
182
|
-
"parameters": [
|
183
|
-
{
|
184
|
-
"name": "module",
|
185
|
-
"type": {
|
186
|
-
"text": "DesignSystemModule"
|
187
|
-
}
|
188
|
-
}
|
189
|
-
],
|
190
|
-
"description": "assureDesignSystem.",
|
191
|
-
"privacy": "public"
|
192
|
-
}
|
193
|
-
],
|
194
|
-
"exports": [
|
195
|
-
{
|
196
|
-
"kind": "js",
|
197
|
-
"name": "assureDesignSystem",
|
198
|
-
"declaration": {
|
199
|
-
"name": "assureDesignSystem",
|
200
|
-
"module": "src/design-system/design-system.ts"
|
201
|
-
}
|
202
|
-
}
|
203
|
-
]
|
204
|
-
},
|
205
|
-
{
|
206
|
-
"kind": "javascript-module",
|
207
|
-
"path": "src/design-system/index.ts",
|
208
|
-
"declarations": [],
|
209
|
-
"exports": [
|
210
|
-
{
|
211
|
-
"kind": "js",
|
212
|
-
"name": "*",
|
213
|
-
"declaration": {
|
214
|
-
"name": "*",
|
215
|
-
"package": "./design-system"
|
216
|
-
}
|
217
|
-
}
|
218
|
-
]
|
219
|
-
},
|
220
|
-
{
|
221
|
-
"kind": "javascript-module",
|
222
|
-
"path": "src/env/index.ts",
|
172
|
+
"path": "src/directives/index.ts",
|
223
173
|
"declarations": [],
|
224
174
|
"exports": [
|
225
175
|
{
|
@@ -227,7 +177,7 @@
|
|
227
177
|
"name": "*",
|
228
178
|
"declaration": {
|
229
179
|
"name": "*",
|
230
|
-
"package": "./
|
180
|
+
"package": "./sync"
|
231
181
|
}
|
232
182
|
},
|
233
183
|
{
|
@@ -235,222 +185,205 @@
|
|
235
185
|
"name": "*",
|
236
186
|
"declaration": {
|
237
187
|
"name": "*",
|
238
|
-
"package": "./
|
239
|
-
}
|
240
|
-
}
|
241
|
-
]
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"kind": "javascript-module",
|
245
|
-
"path": "src/env/is-dev.ts",
|
246
|
-
"declarations": [
|
247
|
-
{
|
248
|
-
"kind": "function",
|
249
|
-
"name": "isDev",
|
250
|
-
"description": "Determines if the current environment is a development environment.",
|
251
|
-
"privacy": "public"
|
252
|
-
}
|
253
|
-
],
|
254
|
-
"exports": [
|
255
|
-
{
|
256
|
-
"kind": "js",
|
257
|
-
"name": "isDev",
|
258
|
-
"declaration": {
|
259
|
-
"name": "isDev",
|
260
|
-
"module": "src/env/is-dev.ts"
|
188
|
+
"package": "./when-else"
|
261
189
|
}
|
262
190
|
}
|
263
191
|
]
|
264
192
|
},
|
265
193
|
{
|
266
194
|
"kind": "javascript-module",
|
267
|
-
"path": "src/
|
195
|
+
"path": "src/data/inMemoryDatabase.ts",
|
268
196
|
"declarations": [
|
269
197
|
{
|
270
|
-
"kind": "
|
271
|
-
"
|
272
|
-
"
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
198
|
+
"kind": "class",
|
199
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
200
|
+
"name": "InMemoryDatabase",
|
201
|
+
"members": [
|
202
|
+
{
|
203
|
+
"kind": "field",
|
204
|
+
"name": "isWorking",
|
205
|
+
"type": {
|
206
|
+
"text": "boolean"
|
207
|
+
},
|
208
|
+
"privacy": "public",
|
209
|
+
"default": "false"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"kind": "field",
|
213
|
+
"name": "records",
|
214
|
+
"type": {
|
215
|
+
"text": "Record<string, T>"
|
216
|
+
},
|
217
|
+
"privacy": "private",
|
218
|
+
"default": "{}"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"kind": "field",
|
222
|
+
"name": "beforeUpdateListeners",
|
223
|
+
"privacy": "private"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"kind": "field",
|
227
|
+
"name": "afterUpdateListeners",
|
228
|
+
"privacy": "private"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"kind": "method",
|
232
|
+
"name": "create",
|
233
|
+
"privacy": "public",
|
234
|
+
"return": {
|
235
|
+
"type": {
|
236
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
237
|
+
}
|
238
|
+
},
|
239
|
+
"parameters": [
|
240
|
+
{
|
241
|
+
"name": "newValue",
|
242
|
+
"type": {
|
243
|
+
"text": "Omit<T, 'id'>"
|
244
|
+
}
|
245
|
+
}
|
246
|
+
]
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"kind": "method",
|
250
|
+
"name": "read",
|
251
|
+
"privacy": "public",
|
252
|
+
"return": {
|
253
|
+
"type": {
|
254
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
255
|
+
}
|
256
|
+
},
|
257
|
+
"parameters": [
|
258
|
+
{
|
259
|
+
"name": "id",
|
260
|
+
"type": {
|
261
|
+
"text": "string"
|
262
|
+
}
|
263
|
+
}
|
264
|
+
]
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"kind": "method",
|
268
|
+
"name": "update",
|
269
|
+
"privacy": "public",
|
270
|
+
"return": {
|
271
|
+
"type": {
|
272
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
273
|
+
}
|
274
|
+
},
|
275
|
+
"parameters": [
|
276
|
+
{
|
277
|
+
"name": "id",
|
278
|
+
"type": {
|
279
|
+
"text": "string"
|
280
|
+
}
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"name": "newValue",
|
284
|
+
"type": {
|
285
|
+
"text": "Omit<Partial<T>, 'id'>"
|
286
|
+
}
|
287
|
+
}
|
288
|
+
]
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"kind": "method",
|
292
|
+
"name": "delete",
|
293
|
+
"privacy": "public",
|
294
|
+
"return": {
|
295
|
+
"type": {
|
296
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
297
|
+
}
|
298
|
+
},
|
299
|
+
"parameters": [
|
300
|
+
{
|
301
|
+
"name": "id",
|
302
|
+
"type": {
|
303
|
+
"text": "string"
|
304
|
+
}
|
305
|
+
}
|
306
|
+
]
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"kind": "method",
|
310
|
+
"name": "visit",
|
311
|
+
"privacy": "public",
|
312
|
+
"return": {
|
313
|
+
"type": {
|
314
|
+
"text": "Promise<void>"
|
315
|
+
}
|
316
|
+
},
|
317
|
+
"parameters": [
|
318
|
+
{
|
319
|
+
"name": "visitor",
|
320
|
+
"type": {
|
321
|
+
"text": "(record: T) => void"
|
322
|
+
}
|
323
|
+
}
|
324
|
+
]
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"kind": "method",
|
328
|
+
"name": "onBeforeUpdate",
|
329
|
+
"privacy": "public",
|
330
|
+
"return": {
|
331
|
+
"type": {
|
332
|
+
"text": "() => void"
|
333
|
+
}
|
334
|
+
},
|
335
|
+
"parameters": [
|
336
|
+
{
|
337
|
+
"name": "listener",
|
338
|
+
"type": {
|
339
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
340
|
+
}
|
341
|
+
}
|
342
|
+
]
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"kind": "method",
|
346
|
+
"name": "onAfterUpdate",
|
347
|
+
"privacy": "public",
|
348
|
+
"return": {
|
349
|
+
"type": {
|
350
|
+
"text": "() => void"
|
351
|
+
}
|
352
|
+
},
|
353
|
+
"parameters": [
|
354
|
+
{
|
355
|
+
"name": "listener",
|
356
|
+
"type": {
|
357
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
358
|
+
}
|
359
|
+
}
|
360
|
+
]
|
361
|
+
}
|
362
|
+
]
|
389
363
|
}
|
390
364
|
],
|
391
365
|
"exports": [
|
392
366
|
{
|
393
367
|
"kind": "js",
|
394
|
-
"name": "
|
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": "GENESIS_SOCKET_URL",
|
411
|
-
"declaration": {
|
412
|
-
"name": "GENESIS_SOCKET_URL",
|
413
|
-
"module": "src/env/variables.ts"
|
414
|
-
}
|
415
|
-
},
|
416
|
-
{
|
417
|
-
"kind": "js",
|
418
|
-
"name": "API_HOST",
|
419
|
-
"declaration": {
|
420
|
-
"name": "_API_HOST",
|
421
|
-
"module": "src/env/variables.ts"
|
422
|
-
}
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"kind": "js",
|
426
|
-
"name": "HTTP_CONFIG",
|
427
|
-
"declaration": {
|
428
|
-
"name": "_HTTP_CONFIG",
|
429
|
-
"module": "src/env/variables.ts"
|
430
|
-
}
|
431
|
-
},
|
432
|
-
{
|
433
|
-
"kind": "js",
|
434
|
-
"name": "DEFAULT_ORGANISATION",
|
435
|
-
"declaration": {
|
436
|
-
"name": "_DEFAULT_ORGANISATION",
|
437
|
-
"module": "src/env/variables.ts"
|
438
|
-
}
|
439
|
-
},
|
440
|
-
{
|
441
|
-
"kind": "js",
|
442
|
-
"name": "DEFAULT_PASSWORD",
|
368
|
+
"name": "InMemoryDatabase",
|
443
369
|
"declaration": {
|
444
|
-
"name": "
|
445
|
-
"module": "src/
|
370
|
+
"name": "InMemoryDatabase",
|
371
|
+
"module": "src/data/inMemoryDatabase.ts"
|
446
372
|
}
|
447
|
-
}
|
373
|
+
}
|
374
|
+
]
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"kind": "javascript-module",
|
378
|
+
"path": "src/data/index.ts",
|
379
|
+
"declarations": [],
|
380
|
+
"exports": [
|
448
381
|
{
|
449
382
|
"kind": "js",
|
450
|
-
"name": "
|
383
|
+
"name": "*",
|
451
384
|
"declaration": {
|
452
|
-
"name": "
|
453
|
-
"
|
385
|
+
"name": "*",
|
386
|
+
"package": "./inMemoryDatabase"
|
454
387
|
}
|
455
388
|
}
|
456
389
|
]
|
@@ -656,172 +589,238 @@
|
|
656
589
|
},
|
657
590
|
{
|
658
591
|
"kind": "javascript-module",
|
659
|
-
"path": "src/
|
592
|
+
"path": "src/formatters/datetime.ts",
|
660
593
|
"declarations": [
|
661
594
|
{
|
662
|
-
"kind": "
|
663
|
-
"
|
664
|
-
"
|
665
|
-
|
595
|
+
"kind": "function",
|
596
|
+
"name": "formatDateTimestamp",
|
597
|
+
"return": {
|
598
|
+
"type": {
|
599
|
+
"text": "string"
|
600
|
+
}
|
601
|
+
},
|
602
|
+
"parameters": [
|
666
603
|
{
|
667
|
-
"
|
668
|
-
"name": "isWorking",
|
604
|
+
"name": "timestamp",
|
669
605
|
"type": {
|
670
|
-
"text": "
|
671
|
-
}
|
672
|
-
|
673
|
-
|
674
|
-
|
606
|
+
"text": "number"
|
607
|
+
}
|
608
|
+
}
|
609
|
+
],
|
610
|
+
"description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
|
611
|
+
"privacy": "public"
|
612
|
+
},
|
613
|
+
{
|
614
|
+
"kind": "function",
|
615
|
+
"name": "formatDateTimeTimestamp",
|
616
|
+
"return": {
|
617
|
+
"type": {
|
618
|
+
"text": "string"
|
619
|
+
}
|
620
|
+
},
|
621
|
+
"parameters": [
|
675
622
|
{
|
676
|
-
"
|
677
|
-
"name": "records",
|
623
|
+
"name": "timestamp",
|
678
624
|
"type": {
|
679
|
-
"text": "
|
625
|
+
"text": "number"
|
626
|
+
}
|
627
|
+
}
|
628
|
+
],
|
629
|
+
"description": "Formats [DATETIME] UNIX Timestamps (with time) to readable strings",
|
630
|
+
"privacy": "public"
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"kind": "function",
|
634
|
+
"name": "formatTimestamp",
|
635
|
+
"return": {
|
636
|
+
"type": {
|
637
|
+
"text": "string"
|
638
|
+
}
|
639
|
+
},
|
640
|
+
"parameters": [
|
641
|
+
{
|
642
|
+
"name": "timestamp",
|
643
|
+
"type": {
|
644
|
+
"text": "number"
|
680
645
|
},
|
681
|
-
"
|
682
|
-
"default": "{}"
|
646
|
+
"description": "The UNIX Timestamp."
|
683
647
|
},
|
684
648
|
{
|
685
|
-
"
|
686
|
-
"
|
687
|
-
|
688
|
-
|
649
|
+
"name": "withTime",
|
650
|
+
"type": {
|
651
|
+
"text": "boolean"
|
652
|
+
},
|
653
|
+
"description": "The flag to determine if formatted value should contain 'time' info."
|
654
|
+
}
|
655
|
+
],
|
656
|
+
"description": "Formats [DATE|DATETIME] Unix Timestamps to readable strings",
|
657
|
+
"privacy": "public"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"kind": "function",
|
661
|
+
"name": "getDateFormatter",
|
662
|
+
"parameters": [
|
689
663
|
{
|
690
|
-
"
|
691
|
-
"
|
692
|
-
"
|
664
|
+
"name": "locale",
|
665
|
+
"default": "'en-GB'",
|
666
|
+
"type": {
|
667
|
+
"text": "string"
|
668
|
+
}
|
693
669
|
},
|
694
670
|
{
|
695
|
-
"
|
696
|
-
"
|
697
|
-
"
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
671
|
+
"name": "options",
|
672
|
+
"default": "defaultDateOptions",
|
673
|
+
"type": {
|
674
|
+
"text": "Intl.DateTimeFormatOptions"
|
675
|
+
}
|
676
|
+
}
|
677
|
+
],
|
678
|
+
"privacy": "public"
|
679
|
+
}
|
680
|
+
],
|
681
|
+
"exports": [
|
682
|
+
{
|
683
|
+
"kind": "js",
|
684
|
+
"name": "formatDateTimestamp",
|
685
|
+
"declaration": {
|
686
|
+
"name": "formatDateTimestamp",
|
687
|
+
"module": "src/formatters/datetime.ts"
|
688
|
+
}
|
689
|
+
},
|
690
|
+
{
|
691
|
+
"kind": "js",
|
692
|
+
"name": "formatDateTimeTimestamp",
|
693
|
+
"declaration": {
|
694
|
+
"name": "formatDateTimeTimestamp",
|
695
|
+
"module": "src/formatters/datetime.ts"
|
696
|
+
}
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"kind": "js",
|
700
|
+
"name": "formatTimestamp",
|
701
|
+
"declaration": {
|
702
|
+
"name": "formatTimestamp",
|
703
|
+
"module": "src/formatters/datetime.ts"
|
704
|
+
}
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"kind": "js",
|
708
|
+
"name": "getDateFormatter",
|
709
|
+
"declaration": {
|
710
|
+
"name": "getDateFormatter",
|
711
|
+
"module": "src/formatters/datetime.ts"
|
712
|
+
}
|
713
|
+
}
|
714
|
+
]
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"kind": "javascript-module",
|
718
|
+
"path": "src/formatters/index.ts",
|
719
|
+
"declarations": [],
|
720
|
+
"exports": [
|
721
|
+
{
|
722
|
+
"kind": "js",
|
723
|
+
"name": "*",
|
724
|
+
"declaration": {
|
725
|
+
"name": "*",
|
726
|
+
"package": "./datetime"
|
727
|
+
}
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"kind": "js",
|
731
|
+
"name": "*",
|
732
|
+
"declaration": {
|
733
|
+
"name": "*",
|
734
|
+
"package": "./localeNumberParser"
|
735
|
+
}
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"kind": "js",
|
739
|
+
"name": "*",
|
740
|
+
"declaration": {
|
741
|
+
"name": "*",
|
742
|
+
"package": "./number"
|
743
|
+
}
|
744
|
+
}
|
745
|
+
]
|
746
|
+
},
|
747
|
+
{
|
748
|
+
"kind": "javascript-module",
|
749
|
+
"path": "src/formatters/localeNumberParser.ts",
|
750
|
+
"declarations": [
|
751
|
+
{
|
752
|
+
"kind": "class",
|
753
|
+
"description": "",
|
754
|
+
"name": "NumberParser",
|
755
|
+
"members": [
|
712
756
|
{
|
713
|
-
"kind": "
|
714
|
-
"name": "
|
715
|
-
"
|
716
|
-
|
717
|
-
"type": {
|
718
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
719
|
-
}
|
757
|
+
"kind": "field",
|
758
|
+
"name": "_decimal",
|
759
|
+
"type": {
|
760
|
+
"text": "RegExp"
|
720
761
|
},
|
721
|
-
"
|
722
|
-
|
723
|
-
"name": "id",
|
724
|
-
"type": {
|
725
|
-
"text": "string"
|
726
|
-
}
|
727
|
-
}
|
728
|
-
]
|
762
|
+
"privacy": "private",
|
763
|
+
"default": "new RegExp(`[${parts.find((d) => d.type === 'decimal').value}]`)"
|
729
764
|
},
|
730
765
|
{
|
731
|
-
"kind": "
|
732
|
-
"name": "
|
733
|
-
"
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
},
|
739
|
-
"parameters": [
|
740
|
-
{
|
741
|
-
"name": "id",
|
742
|
-
"type": {
|
743
|
-
"text": "string"
|
744
|
-
}
|
745
|
-
},
|
746
|
-
{
|
747
|
-
"name": "newValue",
|
748
|
-
"type": {
|
749
|
-
"text": "Omit<Partial<T>, 'id'>"
|
750
|
-
}
|
751
|
-
}
|
752
|
-
]
|
766
|
+
"kind": "field",
|
767
|
+
"name": "_separator",
|
768
|
+
"type": {
|
769
|
+
"text": "RegExp"
|
770
|
+
},
|
771
|
+
"privacy": "private",
|
772
|
+
"default": "new RegExp(\n `[$${parts.find((d) => d.type === 'decimal').value}](?:0*$|[^0]0+$)`,\n )"
|
753
773
|
},
|
754
774
|
{
|
755
|
-
"kind": "
|
756
|
-
"name": "
|
757
|
-
"
|
758
|
-
|
759
|
-
"type": {
|
760
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
761
|
-
}
|
775
|
+
"kind": "field",
|
776
|
+
"name": "_numeral",
|
777
|
+
"type": {
|
778
|
+
"text": "RegExp"
|
762
779
|
},
|
763
|
-
"
|
764
|
-
|
765
|
-
"name": "id",
|
766
|
-
"type": {
|
767
|
-
"text": "string"
|
768
|
-
}
|
769
|
-
}
|
770
|
-
]
|
780
|
+
"privacy": "private",
|
781
|
+
"default": "new RegExp(`[${numerals.join('')}]`, 'g')"
|
771
782
|
},
|
772
783
|
{
|
773
|
-
"kind": "
|
774
|
-
"name": "
|
775
|
-
"
|
776
|
-
|
777
|
-
"type": {
|
778
|
-
"text": "Promise<void>"
|
779
|
-
}
|
784
|
+
"kind": "field",
|
785
|
+
"name": "_index",
|
786
|
+
"type": {
|
787
|
+
"text": "any"
|
780
788
|
},
|
781
|
-
"
|
782
|
-
{
|
783
|
-
"name": "visitor",
|
784
|
-
"type": {
|
785
|
-
"text": "(record: T) => void"
|
786
|
-
}
|
787
|
-
}
|
788
|
-
]
|
789
|
+
"privacy": "private"
|
789
790
|
},
|
790
791
|
{
|
791
792
|
"kind": "method",
|
792
|
-
"name": "
|
793
|
-
"privacy": "public",
|
794
|
-
"return": {
|
795
|
-
"type": {
|
796
|
-
"text": "() => void"
|
797
|
-
}
|
798
|
-
},
|
793
|
+
"name": "parse",
|
799
794
|
"parameters": [
|
800
795
|
{
|
801
|
-
"name": "
|
796
|
+
"name": "localeNumber",
|
802
797
|
"type": {
|
803
|
-
"text": "
|
798
|
+
"text": "string"
|
804
799
|
}
|
805
800
|
}
|
806
801
|
]
|
807
802
|
},
|
808
803
|
{
|
809
804
|
"kind": "method",
|
810
|
-
"name": "
|
811
|
-
"privacy": "public",
|
805
|
+
"name": "hasSeparator",
|
812
806
|
"return": {
|
813
807
|
"type": {
|
814
|
-
"text": "
|
808
|
+
"text": "boolean"
|
815
809
|
}
|
816
810
|
},
|
817
811
|
"parameters": [
|
818
812
|
{
|
819
|
-
"name": "
|
813
|
+
"name": "localeNumber",
|
820
814
|
"type": {
|
821
|
-
"text": "
|
815
|
+
"text": "string"
|
822
816
|
}
|
823
817
|
}
|
824
818
|
]
|
819
|
+
},
|
820
|
+
{
|
821
|
+
"kind": "field",
|
822
|
+
"name": "_group",
|
823
|
+
"default": "new RegExp(`[${parts.find((d) => d.type === 'group').value}]`, 'g')"
|
825
824
|
}
|
826
825
|
]
|
827
826
|
}
|
@@ -829,17 +828,53 @@
|
|
829
828
|
"exports": [
|
830
829
|
{
|
831
830
|
"kind": "js",
|
832
|
-
"name": "
|
831
|
+
"name": "NumberParser",
|
833
832
|
"declaration": {
|
834
|
-
"name": "
|
835
|
-
"module": "src/
|
833
|
+
"name": "NumberParser",
|
834
|
+
"module": "src/formatters/localeNumberParser.ts"
|
836
835
|
}
|
837
836
|
}
|
838
837
|
]
|
839
838
|
},
|
840
839
|
{
|
841
840
|
"kind": "javascript-module",
|
842
|
-
"path": "src/
|
841
|
+
"path": "src/formatters/number.ts",
|
842
|
+
"declarations": [
|
843
|
+
{
|
844
|
+
"kind": "function",
|
845
|
+
"name": "getNumberFormatter",
|
846
|
+
"parameters": [
|
847
|
+
{
|
848
|
+
"name": "format",
|
849
|
+
"type": {
|
850
|
+
"text": "string"
|
851
|
+
}
|
852
|
+
},
|
853
|
+
{
|
854
|
+
"name": "locale",
|
855
|
+
"optional": true,
|
856
|
+
"type": {
|
857
|
+
"text": "string | null"
|
858
|
+
}
|
859
|
+
}
|
860
|
+
],
|
861
|
+
"privacy": "public"
|
862
|
+
}
|
863
|
+
],
|
864
|
+
"exports": [
|
865
|
+
{
|
866
|
+
"kind": "js",
|
867
|
+
"name": "getNumberFormatter",
|
868
|
+
"declaration": {
|
869
|
+
"name": "getNumberFormatter",
|
870
|
+
"module": "src/formatters/number.ts"
|
871
|
+
}
|
872
|
+
}
|
873
|
+
]
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"kind": "javascript-module",
|
877
|
+
"path": "src/env/index.ts",
|
843
878
|
"declarations": [],
|
844
879
|
"exports": [
|
845
880
|
{
|
@@ -847,299 +882,272 @@
|
|
847
882
|
"name": "*",
|
848
883
|
"declaration": {
|
849
884
|
"name": "*",
|
850
|
-
"package": "./
|
885
|
+
"package": "./is-dev"
|
886
|
+
}
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"kind": "js",
|
890
|
+
"name": "*",
|
891
|
+
"declaration": {
|
892
|
+
"name": "*",
|
893
|
+
"package": "./variables"
|
851
894
|
}
|
852
895
|
}
|
853
896
|
]
|
854
897
|
},
|
855
898
|
{
|
856
899
|
"kind": "javascript-module",
|
857
|
-
"path": "src/
|
900
|
+
"path": "src/env/is-dev.ts",
|
858
901
|
"declarations": [
|
859
902
|
{
|
860
903
|
"kind": "function",
|
861
|
-
"name": "
|
862
|
-
"
|
863
|
-
|
864
|
-
|
865
|
-
|
904
|
+
"name": "isDev",
|
905
|
+
"description": "Determines if the current environment is a development environment.",
|
906
|
+
"privacy": "public"
|
907
|
+
}
|
908
|
+
],
|
909
|
+
"exports": [
|
910
|
+
{
|
911
|
+
"kind": "js",
|
912
|
+
"name": "isDev",
|
913
|
+
"declaration": {
|
914
|
+
"name": "isDev",
|
915
|
+
"module": "src/env/is-dev.ts"
|
916
|
+
}
|
917
|
+
}
|
918
|
+
]
|
919
|
+
},
|
920
|
+
{
|
921
|
+
"kind": "javascript-module",
|
922
|
+
"path": "src/env/variables.ts",
|
923
|
+
"declarations": [
|
924
|
+
{
|
925
|
+
"kind": "variable",
|
926
|
+
"name": "SOCKET_EXT",
|
927
|
+
"type": {
|
928
|
+
"text": "string"
|
929
|
+
}
|
930
|
+
},
|
931
|
+
{
|
932
|
+
"kind": "variable",
|
933
|
+
"name": "_SOCKET_EXT",
|
934
|
+
"type": {
|
935
|
+
"text": "string"
|
866
936
|
},
|
867
|
-
"
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
937
|
+
"default": "'gwf'",
|
938
|
+
"description": "The sub-path used for WebSocket connections when API_HOST is not set",
|
939
|
+
"privacy": "public"
|
940
|
+
},
|
941
|
+
{
|
942
|
+
"kind": "variable",
|
943
|
+
"name": "FORCE_HTTP",
|
944
|
+
"type": {
|
945
|
+
"text": "string"
|
946
|
+
}
|
947
|
+
},
|
948
|
+
{
|
949
|
+
"kind": "variable",
|
950
|
+
"name": "_FORCE_HTTP",
|
951
|
+
"type": {
|
952
|
+
"text": "string"
|
953
|
+
},
|
954
|
+
"description": "The path to a JSON config file for the HTTP mode.",
|
955
|
+
"privacy": "public"
|
956
|
+
},
|
957
|
+
{
|
958
|
+
"kind": "variable",
|
959
|
+
"name": "GENESIS_SOCKET_URL",
|
960
|
+
"default": "`${location.protocol.replace('http', 'ws')}//${location.host}/${_SOCKET_EXT}/`",
|
961
|
+
"description": "Genesis Socket URL",
|
962
|
+
"privacy": "public"
|
963
|
+
},
|
964
|
+
{
|
965
|
+
"kind": "variable",
|
966
|
+
"name": "API_HOST",
|
967
|
+
"type": {
|
968
|
+
"text": "string"
|
969
|
+
}
|
970
|
+
},
|
971
|
+
{
|
972
|
+
"kind": "variable",
|
973
|
+
"name": "_API_HOST",
|
974
|
+
"type": {
|
975
|
+
"text": "string"
|
976
|
+
},
|
977
|
+
"default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
|
978
|
+
"description": "The Genesis Server URL (WebSocket or HTTP).",
|
979
|
+
"privacy": "public"
|
980
|
+
},
|
981
|
+
{
|
982
|
+
"kind": "variable",
|
983
|
+
"name": "HTTP_CONFIG",
|
984
|
+
"type": {
|
985
|
+
"text": "string"
|
986
|
+
}
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"kind": "variable",
|
990
|
+
"name": "_HTTP_CONFIG",
|
991
|
+
"type": {
|
992
|
+
"text": "string"
|
993
|
+
},
|
994
|
+
"description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
|
995
|
+
"privacy": "public"
|
996
|
+
},
|
997
|
+
{
|
998
|
+
"kind": "variable",
|
999
|
+
"name": "DEFAULT_ORGANISATION",
|
1000
|
+
"type": {
|
1001
|
+
"text": "string"
|
1002
|
+
}
|
1003
|
+
},
|
1004
|
+
{
|
1005
|
+
"kind": "variable",
|
1006
|
+
"name": "_DEFAULT_ORGANISATION",
|
1007
|
+
"type": {
|
1008
|
+
"text": "string"
|
1009
|
+
},
|
1010
|
+
"description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
876
1011
|
"privacy": "public"
|
877
1012
|
},
|
878
1013
|
{
|
879
|
-
"kind": "
|
880
|
-
"name": "
|
881
|
-
"
|
882
|
-
"
|
883
|
-
|
884
|
-
|
1014
|
+
"kind": "variable",
|
1015
|
+
"name": "DEFAULT_PASSWORD",
|
1016
|
+
"type": {
|
1017
|
+
"text": "string"
|
1018
|
+
}
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"kind": "variable",
|
1022
|
+
"name": "_DEFAULT_PASSWORD",
|
1023
|
+
"type": {
|
1024
|
+
"text": "string"
|
885
1025
|
},
|
886
|
-
"
|
887
|
-
{
|
888
|
-
"name": "timestamp",
|
889
|
-
"type": {
|
890
|
-
"text": "number"
|
891
|
-
}
|
892
|
-
}
|
893
|
-
],
|
894
|
-
"description": "Formats [DATETIME] UNIX Timestamps (with time) to readable strings",
|
1026
|
+
"description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
895
1027
|
"privacy": "public"
|
896
1028
|
},
|
897
1029
|
{
|
898
|
-
"kind": "
|
899
|
-
"name": "
|
900
|
-
"
|
901
|
-
"
|
902
|
-
|
903
|
-
}
|
904
|
-
},
|
905
|
-
"parameters": [
|
906
|
-
{
|
907
|
-
"name": "timestamp",
|
908
|
-
"type": {
|
909
|
-
"text": "number"
|
910
|
-
},
|
911
|
-
"description": "The UNIX Timestamp."
|
912
|
-
},
|
913
|
-
{
|
914
|
-
"name": "withTime",
|
915
|
-
"type": {
|
916
|
-
"text": "boolean"
|
917
|
-
},
|
918
|
-
"description": "The flag to determine if formatted value should contain 'time' info."
|
919
|
-
}
|
920
|
-
],
|
921
|
-
"description": "Formats [DATE|DATETIME] Unix Timestamps to readable strings",
|
922
|
-
"privacy": "public"
|
1030
|
+
"kind": "variable",
|
1031
|
+
"name": "DEFAULT_USER",
|
1032
|
+
"type": {
|
1033
|
+
"text": "string"
|
1034
|
+
}
|
923
1035
|
},
|
924
1036
|
{
|
925
|
-
"kind": "
|
926
|
-
"name": "
|
927
|
-
"
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
"type": {
|
932
|
-
"text": "string"
|
933
|
-
}
|
934
|
-
},
|
935
|
-
{
|
936
|
-
"name": "options",
|
937
|
-
"default": "defaultDateOptions",
|
938
|
-
"type": {
|
939
|
-
"text": "Intl.DateTimeFormatOptions"
|
940
|
-
}
|
941
|
-
}
|
942
|
-
],
|
1037
|
+
"kind": "variable",
|
1038
|
+
"name": "_DEFAULT_USER",
|
1039
|
+
"type": {
|
1040
|
+
"text": "string"
|
1041
|
+
},
|
1042
|
+
"description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
|
943
1043
|
"privacy": "public"
|
944
1044
|
}
|
945
1045
|
],
|
946
1046
|
"exports": [
|
947
1047
|
{
|
948
1048
|
"kind": "js",
|
949
|
-
"name": "
|
1049
|
+
"name": "SOCKET_EXT",
|
950
1050
|
"declaration": {
|
951
|
-
"name": "
|
952
|
-
"module": "src/
|
1051
|
+
"name": "_SOCKET_EXT",
|
1052
|
+
"module": "src/env/variables.ts"
|
953
1053
|
}
|
954
1054
|
},
|
955
1055
|
{
|
956
1056
|
"kind": "js",
|
957
|
-
"name": "
|
1057
|
+
"name": "FORCE_HTTP",
|
958
1058
|
"declaration": {
|
959
|
-
"name": "
|
960
|
-
"module": "src/
|
1059
|
+
"name": "_FORCE_HTTP",
|
1060
|
+
"module": "src/env/variables.ts"
|
961
1061
|
}
|
962
1062
|
},
|
963
1063
|
{
|
964
1064
|
"kind": "js",
|
965
|
-
"name": "
|
1065
|
+
"name": "GENESIS_SOCKET_URL",
|
966
1066
|
"declaration": {
|
967
|
-
"name": "
|
968
|
-
"module": "src/
|
1067
|
+
"name": "GENESIS_SOCKET_URL",
|
1068
|
+
"module": "src/env/variables.ts"
|
969
1069
|
}
|
970
1070
|
},
|
971
1071
|
{
|
972
1072
|
"kind": "js",
|
973
|
-
"name": "
|
1073
|
+
"name": "API_HOST",
|
974
1074
|
"declaration": {
|
975
|
-
"name": "
|
976
|
-
"module": "src/
|
1075
|
+
"name": "_API_HOST",
|
1076
|
+
"module": "src/env/variables.ts"
|
977
1077
|
}
|
978
|
-
}
|
979
|
-
]
|
980
|
-
},
|
981
|
-
{
|
982
|
-
"kind": "javascript-module",
|
983
|
-
"path": "src/formatters/index.ts",
|
984
|
-
"declarations": [],
|
985
|
-
"exports": [
|
1078
|
+
},
|
986
1079
|
{
|
987
1080
|
"kind": "js",
|
988
|
-
"name": "
|
1081
|
+
"name": "HTTP_CONFIG",
|
989
1082
|
"declaration": {
|
990
|
-
"name": "
|
991
|
-
"
|
1083
|
+
"name": "_HTTP_CONFIG",
|
1084
|
+
"module": "src/env/variables.ts"
|
992
1085
|
}
|
993
1086
|
},
|
994
1087
|
{
|
995
1088
|
"kind": "js",
|
996
|
-
"name": "
|
1089
|
+
"name": "DEFAULT_ORGANISATION",
|
997
1090
|
"declaration": {
|
998
|
-
"name": "
|
999
|
-
"
|
1091
|
+
"name": "_DEFAULT_ORGANISATION",
|
1092
|
+
"module": "src/env/variables.ts"
|
1000
1093
|
}
|
1001
1094
|
},
|
1002
1095
|
{
|
1003
1096
|
"kind": "js",
|
1004
|
-
"name": "
|
1097
|
+
"name": "DEFAULT_PASSWORD",
|
1005
1098
|
"declaration": {
|
1006
|
-
"name": "
|
1007
|
-
"
|
1099
|
+
"name": "_DEFAULT_PASSWORD",
|
1100
|
+
"module": "src/env/variables.ts"
|
1008
1101
|
}
|
1009
|
-
}
|
1010
|
-
]
|
1011
|
-
},
|
1012
|
-
{
|
1013
|
-
"kind": "javascript-module",
|
1014
|
-
"path": "src/formatters/localeNumberParser.ts",
|
1015
|
-
"declarations": [
|
1016
|
-
{
|
1017
|
-
"kind": "class",
|
1018
|
-
"description": "",
|
1019
|
-
"name": "NumberParser",
|
1020
|
-
"members": [
|
1021
|
-
{
|
1022
|
-
"kind": "field",
|
1023
|
-
"name": "_decimal",
|
1024
|
-
"type": {
|
1025
|
-
"text": "RegExp"
|
1026
|
-
},
|
1027
|
-
"privacy": "private",
|
1028
|
-
"default": "new RegExp(`[${parts.find((d) => d.type === 'decimal').value}]`)"
|
1029
|
-
},
|
1030
|
-
{
|
1031
|
-
"kind": "field",
|
1032
|
-
"name": "_separator",
|
1033
|
-
"type": {
|
1034
|
-
"text": "RegExp"
|
1035
|
-
},
|
1036
|
-
"privacy": "private",
|
1037
|
-
"default": "new RegExp(\n `[$${parts.find((d) => d.type === 'decimal').value}](?:0*$|[^0]0+$)`,\n )"
|
1038
|
-
},
|
1039
|
-
{
|
1040
|
-
"kind": "field",
|
1041
|
-
"name": "_numeral",
|
1042
|
-
"type": {
|
1043
|
-
"text": "RegExp"
|
1044
|
-
},
|
1045
|
-
"privacy": "private",
|
1046
|
-
"default": "new RegExp(`[${numerals.join('')}]`, 'g')"
|
1047
|
-
},
|
1048
|
-
{
|
1049
|
-
"kind": "field",
|
1050
|
-
"name": "_index",
|
1051
|
-
"type": {
|
1052
|
-
"text": "any"
|
1053
|
-
},
|
1054
|
-
"privacy": "private"
|
1055
|
-
},
|
1056
|
-
{
|
1057
|
-
"kind": "method",
|
1058
|
-
"name": "parse",
|
1059
|
-
"parameters": [
|
1060
|
-
{
|
1061
|
-
"name": "localeNumber",
|
1062
|
-
"type": {
|
1063
|
-
"text": "string"
|
1064
|
-
}
|
1065
|
-
}
|
1066
|
-
]
|
1067
|
-
},
|
1068
|
-
{
|
1069
|
-
"kind": "method",
|
1070
|
-
"name": "hasSeparator",
|
1071
|
-
"return": {
|
1072
|
-
"type": {
|
1073
|
-
"text": "boolean"
|
1074
|
-
}
|
1075
|
-
},
|
1076
|
-
"parameters": [
|
1077
|
-
{
|
1078
|
-
"name": "localeNumber",
|
1079
|
-
"type": {
|
1080
|
-
"text": "string"
|
1081
|
-
}
|
1082
|
-
}
|
1083
|
-
]
|
1084
|
-
},
|
1085
|
-
{
|
1086
|
-
"kind": "field",
|
1087
|
-
"name": "_group",
|
1088
|
-
"default": "new RegExp(`[${parts.find((d) => d.type === 'group').value}]`, 'g')"
|
1089
|
-
}
|
1090
|
-
]
|
1091
|
-
}
|
1092
|
-
],
|
1093
|
-
"exports": [
|
1102
|
+
},
|
1094
1103
|
{
|
1095
1104
|
"kind": "js",
|
1096
|
-
"name": "
|
1105
|
+
"name": "DEFAULT_USER",
|
1097
1106
|
"declaration": {
|
1098
|
-
"name": "
|
1099
|
-
"module": "src/
|
1107
|
+
"name": "_DEFAULT_USER",
|
1108
|
+
"module": "src/env/variables.ts"
|
1100
1109
|
}
|
1101
1110
|
}
|
1102
1111
|
]
|
1103
1112
|
},
|
1104
1113
|
{
|
1105
1114
|
"kind": "javascript-module",
|
1106
|
-
"path": "src/
|
1115
|
+
"path": "src/design-system/design-system.ts",
|
1107
1116
|
"declarations": [
|
1108
1117
|
{
|
1109
1118
|
"kind": "function",
|
1110
|
-
"name": "
|
1119
|
+
"name": "assureDesignSystem",
|
1120
|
+
"return": {
|
1121
|
+
"type": {
|
1122
|
+
"text": "DesignSystemModule"
|
1123
|
+
}
|
1124
|
+
},
|
1111
1125
|
"parameters": [
|
1112
1126
|
{
|
1113
|
-
"name": "
|
1114
|
-
"type": {
|
1115
|
-
"text": "string"
|
1116
|
-
}
|
1117
|
-
},
|
1118
|
-
{
|
1119
|
-
"name": "locale",
|
1120
|
-
"optional": true,
|
1127
|
+
"name": "module",
|
1121
1128
|
"type": {
|
1122
|
-
"text": "
|
1129
|
+
"text": "DesignSystemModule"
|
1123
1130
|
}
|
1124
1131
|
}
|
1125
1132
|
],
|
1133
|
+
"description": "assureDesignSystem.",
|
1126
1134
|
"privacy": "public"
|
1127
1135
|
}
|
1128
1136
|
],
|
1129
1137
|
"exports": [
|
1130
1138
|
{
|
1131
1139
|
"kind": "js",
|
1132
|
-
"name": "
|
1140
|
+
"name": "assureDesignSystem",
|
1133
1141
|
"declaration": {
|
1134
|
-
"name": "
|
1135
|
-
"module": "src/
|
1142
|
+
"name": "assureDesignSystem",
|
1143
|
+
"module": "src/design-system/design-system.ts"
|
1136
1144
|
}
|
1137
1145
|
}
|
1138
1146
|
]
|
1139
1147
|
},
|
1140
1148
|
{
|
1141
1149
|
"kind": "javascript-module",
|
1142
|
-
"path": "src/
|
1150
|
+
"path": "src/design-system/index.ts",
|
1143
1151
|
"declarations": [],
|
1144
1152
|
"exports": [
|
1145
1153
|
{
|
@@ -1147,15 +1155,7 @@
|
|
1147
1155
|
"name": "*",
|
1148
1156
|
"declaration": {
|
1149
1157
|
"name": "*",
|
1150
|
-
"package": "./
|
1151
|
-
}
|
1152
|
-
},
|
1153
|
-
{
|
1154
|
-
"kind": "js",
|
1155
|
-
"name": "*",
|
1156
|
-
"declaration": {
|
1157
|
-
"name": "*",
|
1158
|
-
"package": "./when-else"
|
1158
|
+
"package": "./design-system"
|
1159
1159
|
}
|
1160
1160
|
}
|
1161
1161
|
]
|