@genesislcap/foundation-utils 14.422.0 → 14.422.1-alpha-6f2ae99.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.
@@ -250,6 +250,59 @@
250
250
  }
251
251
  ]
252
252
  },
253
+ {
254
+ "kind": "javascript-module",
255
+ "path": "src/decorators/index.ts",
256
+ "declarations": [],
257
+ "exports": [
258
+ {
259
+ "kind": "js",
260
+ "name": "*",
261
+ "declaration": {
262
+ "name": "*",
263
+ "package": "./renderOnChange"
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "kind": "javascript-module",
270
+ "path": "src/decorators/renderOnChange.ts",
271
+ "declarations": [
272
+ {
273
+ "kind": "function",
274
+ "name": "renderOnChange",
275
+ "parameters": [
276
+ {
277
+ "name": "target",
278
+ "type": {
279
+ "text": "FASTElement & { render(): void }"
280
+ },
281
+ "description": "The target to define the property change handler on."
282
+ },
283
+ {
284
+ "name": "name",
285
+ "type": {
286
+ "text": "string"
287
+ },
288
+ "description": "The property name."
289
+ }
290
+ ],
291
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
+ "privacy": "public"
293
+ }
294
+ ],
295
+ "exports": [
296
+ {
297
+ "kind": "js",
298
+ "name": "renderOnChange",
299
+ "declaration": {
300
+ "name": "renderOnChange",
301
+ "module": "src/decorators/renderOnChange.ts"
302
+ }
303
+ }
304
+ ]
305
+ },
253
306
  {
254
307
  "kind": "javascript-module",
255
308
  "path": "src/data/inMemoryDatabase.ts",
@@ -568,21 +621,6 @@
568
621
  }
569
622
  ]
570
623
  },
571
- {
572
- "kind": "javascript-module",
573
- "path": "src/encoding/index.ts",
574
- "declarations": [],
575
- "exports": [
576
- {
577
- "kind": "js",
578
- "name": "*",
579
- "declaration": {
580
- "name": "*",
581
- "package": "./base64"
582
- }
583
- }
584
- ]
585
- },
586
624
  {
587
625
  "kind": "javascript-module",
588
626
  "path": "src/directives/index.ts",
@@ -1083,7 +1121,7 @@
1083
1121
  },
1084
1122
  {
1085
1123
  "kind": "javascript-module",
1086
- "path": "src/decorators/index.ts",
1124
+ "path": "src/encoding/index.ts",
1087
1125
  "declarations": [],
1088
1126
  "exports": [
1089
1127
  {
@@ -1091,45 +1129,7 @@
1091
1129
  "name": "*",
1092
1130
  "declaration": {
1093
1131
  "name": "*",
1094
- "package": "./renderOnChange"
1095
- }
1096
- }
1097
- ]
1098
- },
1099
- {
1100
- "kind": "javascript-module",
1101
- "path": "src/decorators/renderOnChange.ts",
1102
- "declarations": [
1103
- {
1104
- "kind": "function",
1105
- "name": "renderOnChange",
1106
- "parameters": [
1107
- {
1108
- "name": "target",
1109
- "type": {
1110
- "text": "FASTElement & { render(): void }"
1111
- },
1112
- "description": "The target to define the property change handler on."
1113
- },
1114
- {
1115
- "name": "name",
1116
- "type": {
1117
- "text": "string"
1118
- },
1119
- "description": "The property name."
1120
- }
1121
- ],
1122
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1123
- "privacy": "public"
1124
- }
1125
- ],
1126
- "exports": [
1127
- {
1128
- "kind": "js",
1129
- "name": "renderOnChange",
1130
- "declaration": {
1131
- "name": "renderOnChange",
1132
- "module": "src/decorators/renderOnChange.ts"
1132
+ "package": "./base64"
1133
1133
  }
1134
1134
  }
1135
1135
  ]
@@ -2790,6 +2790,15 @@
2790
2790
  "privacy": "private",
2791
2791
  "default": "null"
2792
2792
  },
2793
+ {
2794
+ "kind": "field",
2795
+ "name": "stateSubscription",
2796
+ "type": {
2797
+ "text": "Subscription | null"
2798
+ },
2799
+ "privacy": "private",
2800
+ "default": "null"
2801
+ },
2793
2802
  {
2794
2803
  "kind": "field",
2795
2804
  "name": "isListening",
@@ -2827,6 +2836,42 @@
2827
2836
  }
2828
2837
  ]
2829
2838
  },
2839
+ {
2840
+ "kind": "method",
2841
+ "name": "resolveShortcutManager",
2842
+ "privacy": "private",
2843
+ "return": {
2844
+ "type": {
2845
+ "text": "ShortcutManager"
2846
+ }
2847
+ },
2848
+ "parameters": [
2849
+ {
2850
+ "name": "event",
2851
+ "type": {
2852
+ "text": "KeyboardEvent"
2853
+ }
2854
+ }
2855
+ ]
2856
+ },
2857
+ {
2858
+ "kind": "method",
2859
+ "name": "isShortcutManager",
2860
+ "privacy": "private",
2861
+ "return": {
2862
+ "type": {
2863
+ "text": "candidate is ShortcutManager"
2864
+ }
2865
+ },
2866
+ "parameters": [
2867
+ {
2868
+ "name": "candidate",
2869
+ "type": {
2870
+ "text": "unknown"
2871
+ }
2872
+ }
2873
+ ]
2874
+ },
2830
2875
  {
2831
2876
  "kind": "method",
2832
2877
  "name": "extractKeyFromCode",
@@ -2845,6 +2890,52 @@
2845
2890
  }
2846
2891
  ]
2847
2892
  },
2893
+ {
2894
+ "kind": "method",
2895
+ "name": "getDeepActiveElement",
2896
+ "privacy": "private",
2897
+ "return": {
2898
+ "type": {
2899
+ "text": "Element | null"
2900
+ }
2901
+ }
2902
+ },
2903
+ {
2904
+ "kind": "method",
2905
+ "name": "getEventElement",
2906
+ "privacy": "private",
2907
+ "return": {
2908
+ "type": {
2909
+ "text": "Element | null"
2910
+ }
2911
+ },
2912
+ "parameters": [
2913
+ {
2914
+ "name": "event",
2915
+ "type": {
2916
+ "text": "KeyboardEvent"
2917
+ }
2918
+ }
2919
+ ]
2920
+ },
2921
+ {
2922
+ "kind": "method",
2923
+ "name": "isEditableContext",
2924
+ "privacy": "private",
2925
+ "return": {
2926
+ "type": {
2927
+ "text": "boolean"
2928
+ }
2929
+ },
2930
+ "parameters": [
2931
+ {
2932
+ "name": "event",
2933
+ "type": {
2934
+ "text": "KeyboardEvent"
2935
+ }
2936
+ }
2937
+ ]
2938
+ },
2848
2939
  {
2849
2940
  "kind": "method",
2850
2941
  "name": "isInputElement",
@@ -2932,6 +3023,12 @@
2932
3023
  },
2933
3024
  "privacy": "private"
2934
3025
  },
3026
+ {
3027
+ "kind": "field",
3028
+ "name": "executionGuards",
3029
+ "privacy": "private",
3030
+ "default": "new Map<string, () => ShortcutExecutionStatus | boolean>()"
3031
+ },
2935
3032
  {
2936
3033
  "kind": "field",
2937
3034
  "name": "isPaused",
@@ -3199,6 +3296,55 @@
3199
3296
  }
3200
3297
  }
3201
3298
  },
3299
+ {
3300
+ "kind": "method",
3301
+ "name": "registerExecutionGuard",
3302
+ "return": {
3303
+ "type": {
3304
+ "text": "void"
3305
+ }
3306
+ },
3307
+ "parameters": [
3308
+ {
3309
+ "name": "id",
3310
+ "type": {
3311
+ "text": "string"
3312
+ }
3313
+ },
3314
+ {
3315
+ "name": "guard",
3316
+ "type": {
3317
+ "text": "() => ShortcutExecutionStatus | boolean"
3318
+ }
3319
+ }
3320
+ ]
3321
+ },
3322
+ {
3323
+ "kind": "method",
3324
+ "name": "unregisterExecutionGuard",
3325
+ "return": {
3326
+ "type": {
3327
+ "text": "void"
3328
+ }
3329
+ },
3330
+ "parameters": [
3331
+ {
3332
+ "name": "id",
3333
+ "type": {
3334
+ "text": "string"
3335
+ }
3336
+ }
3337
+ ]
3338
+ },
3339
+ {
3340
+ "kind": "method",
3341
+ "name": "clearExecutionGuards",
3342
+ "return": {
3343
+ "type": {
3344
+ "text": "void"
3345
+ }
3346
+ }
3347
+ },
3202
3348
  {
3203
3349
  "kind": "method",
3204
3350
  "name": "pause",
@@ -3287,26 +3433,54 @@
3287
3433
  }
3288
3434
  }
3289
3435
  ]
3290
- }
3291
- ]
3292
- },
3293
- {
3294
- "kind": "variable",
3295
- "name": "ShortcutManager",
3296
- "description": "A dependency injection token for the ShortcutManager interface.",
3297
- "privacy": "public"
3298
- }
3299
- ],
3300
- "exports": [
3301
- {
3302
- "kind": "js",
3303
- "name": "DefaultShortcutManager",
3304
- "declaration": {
3305
- "name": "DefaultShortcutManager",
3306
- "module": "src/shortcut-manager/shortcut-manager.ts"
3307
- }
3308
- },
3309
- {
3436
+ },
3437
+ {
3438
+ "kind": "method",
3439
+ "name": "getExecutionStatus",
3440
+ "privacy": "private",
3441
+ "return": {
3442
+ "type": {
3443
+ "text": "ShortcutExecutionStatus"
3444
+ }
3445
+ },
3446
+ "parameters": [
3447
+ {
3448
+ "name": "shortcut",
3449
+ "type": {
3450
+ "text": "ShortcutDefinition"
3451
+ }
3452
+ }
3453
+ ]
3454
+ },
3455
+ {
3456
+ "kind": "method",
3457
+ "name": "getExecutionGuardStatus",
3458
+ "privacy": "private",
3459
+ "return": {
3460
+ "type": {
3461
+ "text": "ShortcutExecutionStatus"
3462
+ }
3463
+ }
3464
+ }
3465
+ ]
3466
+ },
3467
+ {
3468
+ "kind": "variable",
3469
+ "name": "ShortcutManager",
3470
+ "description": "A dependency injection token for the ShortcutManager interface.",
3471
+ "privacy": "public"
3472
+ }
3473
+ ],
3474
+ "exports": [
3475
+ {
3476
+ "kind": "js",
3477
+ "name": "DefaultShortcutManager",
3478
+ "declaration": {
3479
+ "name": "DefaultShortcutManager",
3480
+ "module": "src/shortcut-manager/shortcut-manager.ts"
3481
+ }
3482
+ },
3483
+ {
3310
3484
  "kind": "js",
3311
3485
  "name": "ShortcutManager",
3312
3486
  "declaration": {
@@ -4308,160 +4482,6 @@
4308
4482
  }
4309
4483
  ]
4310
4484
  },
4311
- {
4312
- "kind": "javascript-module",
4313
- "path": "src/encoding/base64/decode.ts",
4314
- "declarations": [
4315
- {
4316
- "kind": "function",
4317
- "name": "decodeFromBase64",
4318
- "return": {
4319
- "type": {
4320
- "text": ""
4321
- }
4322
- },
4323
- "parameters": [
4324
- {
4325
- "name": "base64Value",
4326
- "type": {
4327
- "text": "string"
4328
- }
4329
- },
4330
- {
4331
- "description": "The value to decode from base64.",
4332
- "name": "value"
4333
- }
4334
- ],
4335
- "description": "Decodes a value from base64.",
4336
- "privacy": "public"
4337
- },
4338
- {
4339
- "kind": "function",
4340
- "name": "decodeFromBase64WithPrefix",
4341
- "return": {
4342
- "type": {
4343
- "text": ""
4344
- }
4345
- },
4346
- "parameters": [
4347
- {
4348
- "name": "value",
4349
- "type": {
4350
- "text": "string"
4351
- },
4352
- "description": "The value to decode from base64."
4353
- }
4354
- ],
4355
- "description": "Decodes a value from base64 with a prefix.",
4356
- "privacy": "public"
4357
- }
4358
- ],
4359
- "exports": [
4360
- {
4361
- "kind": "js",
4362
- "name": "decodeFromBase64",
4363
- "declaration": {
4364
- "name": "decodeFromBase64",
4365
- "module": "src/encoding/base64/decode.ts"
4366
- }
4367
- },
4368
- {
4369
- "kind": "js",
4370
- "name": "decodeFromBase64WithPrefix",
4371
- "declaration": {
4372
- "name": "decodeFromBase64WithPrefix",
4373
- "module": "src/encoding/base64/decode.ts"
4374
- }
4375
- }
4376
- ]
4377
- },
4378
- {
4379
- "kind": "javascript-module",
4380
- "path": "src/encoding/base64/encode.ts",
4381
- "declarations": [
4382
- {
4383
- "kind": "function",
4384
- "name": "encodeToBase64",
4385
- "return": {
4386
- "type": {
4387
- "text": ""
4388
- }
4389
- },
4390
- "parameters": [
4391
- {
4392
- "name": "value",
4393
- "type": {
4394
- "text": "string | ArrayBuffer"
4395
- },
4396
- "description": "The value to encode to base64."
4397
- }
4398
- ],
4399
- "description": "Encodes the given value to base64.",
4400
- "privacy": "public"
4401
- },
4402
- {
4403
- "kind": "function",
4404
- "name": "encodeToBase64WithPrefix",
4405
- "return": {
4406
- "type": {
4407
- "text": ""
4408
- }
4409
- },
4410
- "parameters": [
4411
- {
4412
- "name": "value",
4413
- "type": {
4414
- "text": "string | ArrayBuffer"
4415
- },
4416
- "description": "The value to encode to base64."
4417
- }
4418
- ],
4419
- "description": "Encodes the given value with a prefix to base64.",
4420
- "privacy": "public"
4421
- }
4422
- ],
4423
- "exports": [
4424
- {
4425
- "kind": "js",
4426
- "name": "encodeToBase64",
4427
- "declaration": {
4428
- "name": "encodeToBase64",
4429
- "module": "src/encoding/base64/encode.ts"
4430
- }
4431
- },
4432
- {
4433
- "kind": "js",
4434
- "name": "encodeToBase64WithPrefix",
4435
- "declaration": {
4436
- "name": "encodeToBase64WithPrefix",
4437
- "module": "src/encoding/base64/encode.ts"
4438
- }
4439
- }
4440
- ]
4441
- },
4442
- {
4443
- "kind": "javascript-module",
4444
- "path": "src/encoding/base64/index.ts",
4445
- "declarations": [],
4446
- "exports": [
4447
- {
4448
- "kind": "js",
4449
- "name": "*",
4450
- "declaration": {
4451
- "name": "*",
4452
- "package": "./decode"
4453
- }
4454
- },
4455
- {
4456
- "kind": "js",
4457
- "name": "*",
4458
- "declaration": {
4459
- "name": "*",
4460
- "package": "./encode"
4461
- }
4462
- }
4463
- ]
4464
- },
4465
4485
  {
4466
4486
  "kind": "javascript-module",
4467
4487
  "path": "src/directives/sync/index.ts",
@@ -4616,6 +4636,160 @@
4616
4636
  }
4617
4637
  ]
4618
4638
  },
4639
+ {
4640
+ "kind": "javascript-module",
4641
+ "path": "src/encoding/base64/decode.ts",
4642
+ "declarations": [
4643
+ {
4644
+ "kind": "function",
4645
+ "name": "decodeFromBase64",
4646
+ "return": {
4647
+ "type": {
4648
+ "text": ""
4649
+ }
4650
+ },
4651
+ "parameters": [
4652
+ {
4653
+ "name": "base64Value",
4654
+ "type": {
4655
+ "text": "string"
4656
+ }
4657
+ },
4658
+ {
4659
+ "description": "The value to decode from base64.",
4660
+ "name": "value"
4661
+ }
4662
+ ],
4663
+ "description": "Decodes a value from base64.",
4664
+ "privacy": "public"
4665
+ },
4666
+ {
4667
+ "kind": "function",
4668
+ "name": "decodeFromBase64WithPrefix",
4669
+ "return": {
4670
+ "type": {
4671
+ "text": ""
4672
+ }
4673
+ },
4674
+ "parameters": [
4675
+ {
4676
+ "name": "value",
4677
+ "type": {
4678
+ "text": "string"
4679
+ },
4680
+ "description": "The value to decode from base64."
4681
+ }
4682
+ ],
4683
+ "description": "Decodes a value from base64 with a prefix.",
4684
+ "privacy": "public"
4685
+ }
4686
+ ],
4687
+ "exports": [
4688
+ {
4689
+ "kind": "js",
4690
+ "name": "decodeFromBase64",
4691
+ "declaration": {
4692
+ "name": "decodeFromBase64",
4693
+ "module": "src/encoding/base64/decode.ts"
4694
+ }
4695
+ },
4696
+ {
4697
+ "kind": "js",
4698
+ "name": "decodeFromBase64WithPrefix",
4699
+ "declaration": {
4700
+ "name": "decodeFromBase64WithPrefix",
4701
+ "module": "src/encoding/base64/decode.ts"
4702
+ }
4703
+ }
4704
+ ]
4705
+ },
4706
+ {
4707
+ "kind": "javascript-module",
4708
+ "path": "src/encoding/base64/encode.ts",
4709
+ "declarations": [
4710
+ {
4711
+ "kind": "function",
4712
+ "name": "encodeToBase64",
4713
+ "return": {
4714
+ "type": {
4715
+ "text": ""
4716
+ }
4717
+ },
4718
+ "parameters": [
4719
+ {
4720
+ "name": "value",
4721
+ "type": {
4722
+ "text": "string | ArrayBuffer"
4723
+ },
4724
+ "description": "The value to encode to base64."
4725
+ }
4726
+ ],
4727
+ "description": "Encodes the given value to base64.",
4728
+ "privacy": "public"
4729
+ },
4730
+ {
4731
+ "kind": "function",
4732
+ "name": "encodeToBase64WithPrefix",
4733
+ "return": {
4734
+ "type": {
4735
+ "text": ""
4736
+ }
4737
+ },
4738
+ "parameters": [
4739
+ {
4740
+ "name": "value",
4741
+ "type": {
4742
+ "text": "string | ArrayBuffer"
4743
+ },
4744
+ "description": "The value to encode to base64."
4745
+ }
4746
+ ],
4747
+ "description": "Encodes the given value with a prefix to base64.",
4748
+ "privacy": "public"
4749
+ }
4750
+ ],
4751
+ "exports": [
4752
+ {
4753
+ "kind": "js",
4754
+ "name": "encodeToBase64",
4755
+ "declaration": {
4756
+ "name": "encodeToBase64",
4757
+ "module": "src/encoding/base64/encode.ts"
4758
+ }
4759
+ },
4760
+ {
4761
+ "kind": "js",
4762
+ "name": "encodeToBase64WithPrefix",
4763
+ "declaration": {
4764
+ "name": "encodeToBase64WithPrefix",
4765
+ "module": "src/encoding/base64/encode.ts"
4766
+ }
4767
+ }
4768
+ ]
4769
+ },
4770
+ {
4771
+ "kind": "javascript-module",
4772
+ "path": "src/encoding/base64/index.ts",
4773
+ "declarations": [],
4774
+ "exports": [
4775
+ {
4776
+ "kind": "js",
4777
+ "name": "*",
4778
+ "declaration": {
4779
+ "name": "*",
4780
+ "package": "./decode"
4781
+ }
4782
+ },
4783
+ {
4784
+ "kind": "js",
4785
+ "name": "*",
4786
+ "declaration": {
4787
+ "name": "*",
4788
+ "package": "./encode"
4789
+ }
4790
+ }
4791
+ ]
4792
+ },
4619
4793
  {
4620
4794
  "kind": "javascript-module",
4621
4795
  "path": "src/mappers/dto/index.ts",