@genesislcap/foundation-utils 14.423.0 → 14.424.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.
|
@@ -448,6 +448,59 @@
|
|
|
448
448
|
}
|
|
449
449
|
]
|
|
450
450
|
},
|
|
451
|
+
{
|
|
452
|
+
"kind": "javascript-module",
|
|
453
|
+
"path": "src/decorators/index.ts",
|
|
454
|
+
"declarations": [],
|
|
455
|
+
"exports": [
|
|
456
|
+
{
|
|
457
|
+
"kind": "js",
|
|
458
|
+
"name": "*",
|
|
459
|
+
"declaration": {
|
|
460
|
+
"name": "*",
|
|
461
|
+
"package": "./renderOnChange"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"kind": "javascript-module",
|
|
468
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
469
|
+
"declarations": [
|
|
470
|
+
{
|
|
471
|
+
"kind": "function",
|
|
472
|
+
"name": "renderOnChange",
|
|
473
|
+
"parameters": [
|
|
474
|
+
{
|
|
475
|
+
"name": "target",
|
|
476
|
+
"type": {
|
|
477
|
+
"text": "FASTElement & { render(): void }"
|
|
478
|
+
},
|
|
479
|
+
"description": "The target to define the property change handler on."
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"name": "name",
|
|
483
|
+
"type": {
|
|
484
|
+
"text": "string"
|
|
485
|
+
},
|
|
486
|
+
"description": "The property name."
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
490
|
+
"privacy": "public"
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"exports": [
|
|
494
|
+
{
|
|
495
|
+
"kind": "js",
|
|
496
|
+
"name": "renderOnChange",
|
|
497
|
+
"declaration": {
|
|
498
|
+
"name": "renderOnChange",
|
|
499
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
},
|
|
451
504
|
{
|
|
452
505
|
"kind": "javascript-module",
|
|
453
506
|
"path": "src/design-system/design-system.ts",
|
|
@@ -568,82 +621,6 @@
|
|
|
568
621
|
}
|
|
569
622
|
]
|
|
570
623
|
},
|
|
571
|
-
{
|
|
572
|
-
"kind": "javascript-module",
|
|
573
|
-
"path": "src/decorators/index.ts",
|
|
574
|
-
"declarations": [],
|
|
575
|
-
"exports": [
|
|
576
|
-
{
|
|
577
|
-
"kind": "js",
|
|
578
|
-
"name": "*",
|
|
579
|
-
"declaration": {
|
|
580
|
-
"name": "*",
|
|
581
|
-
"package": "./renderOnChange"
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
]
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"kind": "javascript-module",
|
|
588
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
589
|
-
"declarations": [
|
|
590
|
-
{
|
|
591
|
-
"kind": "function",
|
|
592
|
-
"name": "renderOnChange",
|
|
593
|
-
"parameters": [
|
|
594
|
-
{
|
|
595
|
-
"name": "target",
|
|
596
|
-
"type": {
|
|
597
|
-
"text": "FASTElement & { render(): void }"
|
|
598
|
-
},
|
|
599
|
-
"description": "The target to define the property change handler on."
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"name": "name",
|
|
603
|
-
"type": {
|
|
604
|
-
"text": "string"
|
|
605
|
-
},
|
|
606
|
-
"description": "The property name."
|
|
607
|
-
}
|
|
608
|
-
],
|
|
609
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
610
|
-
"privacy": "public"
|
|
611
|
-
}
|
|
612
|
-
],
|
|
613
|
-
"exports": [
|
|
614
|
-
{
|
|
615
|
-
"kind": "js",
|
|
616
|
-
"name": "renderOnChange",
|
|
617
|
-
"declaration": {
|
|
618
|
-
"name": "renderOnChange",
|
|
619
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
]
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
"kind": "javascript-module",
|
|
626
|
-
"path": "src/directives/index.ts",
|
|
627
|
-
"declarations": [],
|
|
628
|
-
"exports": [
|
|
629
|
-
{
|
|
630
|
-
"kind": "js",
|
|
631
|
-
"name": "*",
|
|
632
|
-
"declaration": {
|
|
633
|
-
"name": "*",
|
|
634
|
-
"package": "./sync"
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"kind": "js",
|
|
639
|
-
"name": "*",
|
|
640
|
-
"declaration": {
|
|
641
|
-
"name": "*",
|
|
642
|
-
"package": "./when-else"
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
]
|
|
646
|
-
},
|
|
647
624
|
{
|
|
648
625
|
"kind": "javascript-module",
|
|
649
626
|
"path": "src/encoding/index.ts",
|
|
@@ -1134,6 +1111,29 @@
|
|
|
1134
1111
|
}
|
|
1135
1112
|
]
|
|
1136
1113
|
},
|
|
1114
|
+
{
|
|
1115
|
+
"kind": "javascript-module",
|
|
1116
|
+
"path": "src/directives/index.ts",
|
|
1117
|
+
"declarations": [],
|
|
1118
|
+
"exports": [
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "js",
|
|
1121
|
+
"name": "*",
|
|
1122
|
+
"declaration": {
|
|
1123
|
+
"name": "*",
|
|
1124
|
+
"package": "./sync"
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"kind": "js",
|
|
1129
|
+
"name": "*",
|
|
1130
|
+
"declaration": {
|
|
1131
|
+
"name": "*",
|
|
1132
|
+
"package": "./when-else"
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
]
|
|
1136
|
+
},
|
|
1137
1137
|
{
|
|
1138
1138
|
"kind": "javascript-module",
|
|
1139
1139
|
"path": "src/error/errorMap.ts",
|
|
@@ -4308,160 +4308,6 @@
|
|
|
4308
4308
|
}
|
|
4309
4309
|
]
|
|
4310
4310
|
},
|
|
4311
|
-
{
|
|
4312
|
-
"kind": "javascript-module",
|
|
4313
|
-
"path": "src/directives/sync/index.ts",
|
|
4314
|
-
"declarations": [],
|
|
4315
|
-
"exports": [
|
|
4316
|
-
{
|
|
4317
|
-
"kind": "js",
|
|
4318
|
-
"name": "*",
|
|
4319
|
-
"declaration": {
|
|
4320
|
-
"name": "*",
|
|
4321
|
-
"package": "./sync"
|
|
4322
|
-
}
|
|
4323
|
-
}
|
|
4324
|
-
]
|
|
4325
|
-
},
|
|
4326
|
-
{
|
|
4327
|
-
"kind": "javascript-module",
|
|
4328
|
-
"path": "src/directives/sync/sync.ts",
|
|
4329
|
-
"declarations": [
|
|
4330
|
-
{
|
|
4331
|
-
"kind": "variable",
|
|
4332
|
-
"name": "defaultEventMap",
|
|
4333
|
-
"type": {
|
|
4334
|
-
"text": "Map<string, EventName>"
|
|
4335
|
-
},
|
|
4336
|
-
"default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
|
|
4337
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
4338
|
-
"privacy": "public"
|
|
4339
|
-
},
|
|
4340
|
-
{
|
|
4341
|
-
"kind": "function",
|
|
4342
|
-
"name": "sync",
|
|
4343
|
-
"return": {
|
|
4344
|
-
"type": {
|
|
4345
|
-
"text": "CaptureType<TSource>"
|
|
4346
|
-
}
|
|
4347
|
-
},
|
|
4348
|
-
"parameters": [
|
|
4349
|
-
{
|
|
4350
|
-
"name": "binding",
|
|
4351
|
-
"type": {
|
|
4352
|
-
"text": "Binding<TSource, TReturn>"
|
|
4353
|
-
}
|
|
4354
|
-
},
|
|
4355
|
-
{
|
|
4356
|
-
"name": "conversionType",
|
|
4357
|
-
"default": "'string'",
|
|
4358
|
-
"type": {
|
|
4359
|
-
"text": "ConversionType"
|
|
4360
|
-
}
|
|
4361
|
-
},
|
|
4362
|
-
{
|
|
4363
|
-
"name": "eventName",
|
|
4364
|
-
"default": "'default'",
|
|
4365
|
-
"type": {
|
|
4366
|
-
"text": "EventName"
|
|
4367
|
-
}
|
|
4368
|
-
},
|
|
4369
|
-
{
|
|
4370
|
-
"name": "keyAttr",
|
|
4371
|
-
"optional": true,
|
|
4372
|
-
"type": {
|
|
4373
|
-
"text": "string"
|
|
4374
|
-
}
|
|
4375
|
-
}
|
|
4376
|
-
],
|
|
4377
|
-
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
4378
|
-
"privacy": "public"
|
|
4379
|
-
}
|
|
4380
|
-
],
|
|
4381
|
-
"exports": [
|
|
4382
|
-
{
|
|
4383
|
-
"kind": "js",
|
|
4384
|
-
"name": "defaultEventMap",
|
|
4385
|
-
"declaration": {
|
|
4386
|
-
"name": "defaultEventMap",
|
|
4387
|
-
"module": "src/directives/sync/sync.ts"
|
|
4388
|
-
}
|
|
4389
|
-
},
|
|
4390
|
-
{
|
|
4391
|
-
"kind": "js",
|
|
4392
|
-
"name": "sync",
|
|
4393
|
-
"declaration": {
|
|
4394
|
-
"name": "sync",
|
|
4395
|
-
"module": "src/directives/sync/sync.ts"
|
|
4396
|
-
}
|
|
4397
|
-
}
|
|
4398
|
-
]
|
|
4399
|
-
},
|
|
4400
|
-
{
|
|
4401
|
-
"kind": "javascript-module",
|
|
4402
|
-
"path": "src/directives/when-else/index.ts",
|
|
4403
|
-
"declarations": [],
|
|
4404
|
-
"exports": [
|
|
4405
|
-
{
|
|
4406
|
-
"kind": "js",
|
|
4407
|
-
"name": "*",
|
|
4408
|
-
"declaration": {
|
|
4409
|
-
"name": "*",
|
|
4410
|
-
"package": "./when-else"
|
|
4411
|
-
}
|
|
4412
|
-
}
|
|
4413
|
-
]
|
|
4414
|
-
},
|
|
4415
|
-
{
|
|
4416
|
-
"kind": "javascript-module",
|
|
4417
|
-
"path": "src/directives/when-else/when-else.ts",
|
|
4418
|
-
"declarations": [
|
|
4419
|
-
{
|
|
4420
|
-
"kind": "function",
|
|
4421
|
-
"name": "whenElse",
|
|
4422
|
-
"return": {
|
|
4423
|
-
"type": {
|
|
4424
|
-
"text": "CaptureType<TSource>"
|
|
4425
|
-
}
|
|
4426
|
-
},
|
|
4427
|
-
"parameters": [
|
|
4428
|
-
{
|
|
4429
|
-
"name": "binding",
|
|
4430
|
-
"type": {
|
|
4431
|
-
"text": "Binding<TSource, TReturn>"
|
|
4432
|
-
},
|
|
4433
|
-
"description": "The condition to test for rendering."
|
|
4434
|
-
},
|
|
4435
|
-
{
|
|
4436
|
-
"name": "trueTemplateOrTemplateBinding",
|
|
4437
|
-
"type": {
|
|
4438
|
-
"text": "WhenTemplate<TSource>"
|
|
4439
|
-
},
|
|
4440
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
4441
|
-
},
|
|
4442
|
-
{
|
|
4443
|
-
"name": "falseTemplateOrTemplateBinding",
|
|
4444
|
-
"type": {
|
|
4445
|
-
"text": "WhenTemplate<TSource>"
|
|
4446
|
-
},
|
|
4447
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
4448
|
-
}
|
|
4449
|
-
],
|
|
4450
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
4451
|
-
"privacy": "public"
|
|
4452
|
-
}
|
|
4453
|
-
],
|
|
4454
|
-
"exports": [
|
|
4455
|
-
{
|
|
4456
|
-
"kind": "js",
|
|
4457
|
-
"name": "whenElse",
|
|
4458
|
-
"declaration": {
|
|
4459
|
-
"name": "whenElse",
|
|
4460
|
-
"module": "src/directives/when-else/when-else.ts"
|
|
4461
|
-
}
|
|
4462
|
-
}
|
|
4463
|
-
]
|
|
4464
|
-
},
|
|
4465
4311
|
{
|
|
4466
4312
|
"kind": "javascript-module",
|
|
4467
4313
|
"path": "src/encoding/base64/decode.ts",
|
|
@@ -4616,6 +4462,160 @@
|
|
|
4616
4462
|
}
|
|
4617
4463
|
]
|
|
4618
4464
|
},
|
|
4465
|
+
{
|
|
4466
|
+
"kind": "javascript-module",
|
|
4467
|
+
"path": "src/directives/sync/index.ts",
|
|
4468
|
+
"declarations": [],
|
|
4469
|
+
"exports": [
|
|
4470
|
+
{
|
|
4471
|
+
"kind": "js",
|
|
4472
|
+
"name": "*",
|
|
4473
|
+
"declaration": {
|
|
4474
|
+
"name": "*",
|
|
4475
|
+
"package": "./sync"
|
|
4476
|
+
}
|
|
4477
|
+
}
|
|
4478
|
+
]
|
|
4479
|
+
},
|
|
4480
|
+
{
|
|
4481
|
+
"kind": "javascript-module",
|
|
4482
|
+
"path": "src/directives/sync/sync.ts",
|
|
4483
|
+
"declarations": [
|
|
4484
|
+
{
|
|
4485
|
+
"kind": "variable",
|
|
4486
|
+
"name": "defaultEventMap",
|
|
4487
|
+
"type": {
|
|
4488
|
+
"text": "Map<string, EventName>"
|
|
4489
|
+
},
|
|
4490
|
+
"default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
|
|
4491
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
4492
|
+
"privacy": "public"
|
|
4493
|
+
},
|
|
4494
|
+
{
|
|
4495
|
+
"kind": "function",
|
|
4496
|
+
"name": "sync",
|
|
4497
|
+
"return": {
|
|
4498
|
+
"type": {
|
|
4499
|
+
"text": "CaptureType<TSource>"
|
|
4500
|
+
}
|
|
4501
|
+
},
|
|
4502
|
+
"parameters": [
|
|
4503
|
+
{
|
|
4504
|
+
"name": "binding",
|
|
4505
|
+
"type": {
|
|
4506
|
+
"text": "Binding<TSource, TReturn>"
|
|
4507
|
+
}
|
|
4508
|
+
},
|
|
4509
|
+
{
|
|
4510
|
+
"name": "conversionType",
|
|
4511
|
+
"default": "'string'",
|
|
4512
|
+
"type": {
|
|
4513
|
+
"text": "ConversionType"
|
|
4514
|
+
}
|
|
4515
|
+
},
|
|
4516
|
+
{
|
|
4517
|
+
"name": "eventName",
|
|
4518
|
+
"default": "'default'",
|
|
4519
|
+
"type": {
|
|
4520
|
+
"text": "EventName"
|
|
4521
|
+
}
|
|
4522
|
+
},
|
|
4523
|
+
{
|
|
4524
|
+
"name": "keyAttr",
|
|
4525
|
+
"optional": true,
|
|
4526
|
+
"type": {
|
|
4527
|
+
"text": "string"
|
|
4528
|
+
}
|
|
4529
|
+
}
|
|
4530
|
+
],
|
|
4531
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
4532
|
+
"privacy": "public"
|
|
4533
|
+
}
|
|
4534
|
+
],
|
|
4535
|
+
"exports": [
|
|
4536
|
+
{
|
|
4537
|
+
"kind": "js",
|
|
4538
|
+
"name": "defaultEventMap",
|
|
4539
|
+
"declaration": {
|
|
4540
|
+
"name": "defaultEventMap",
|
|
4541
|
+
"module": "src/directives/sync/sync.ts"
|
|
4542
|
+
}
|
|
4543
|
+
},
|
|
4544
|
+
{
|
|
4545
|
+
"kind": "js",
|
|
4546
|
+
"name": "sync",
|
|
4547
|
+
"declaration": {
|
|
4548
|
+
"name": "sync",
|
|
4549
|
+
"module": "src/directives/sync/sync.ts"
|
|
4550
|
+
}
|
|
4551
|
+
}
|
|
4552
|
+
]
|
|
4553
|
+
},
|
|
4554
|
+
{
|
|
4555
|
+
"kind": "javascript-module",
|
|
4556
|
+
"path": "src/directives/when-else/index.ts",
|
|
4557
|
+
"declarations": [],
|
|
4558
|
+
"exports": [
|
|
4559
|
+
{
|
|
4560
|
+
"kind": "js",
|
|
4561
|
+
"name": "*",
|
|
4562
|
+
"declaration": {
|
|
4563
|
+
"name": "*",
|
|
4564
|
+
"package": "./when-else"
|
|
4565
|
+
}
|
|
4566
|
+
}
|
|
4567
|
+
]
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
"kind": "javascript-module",
|
|
4571
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
4572
|
+
"declarations": [
|
|
4573
|
+
{
|
|
4574
|
+
"kind": "function",
|
|
4575
|
+
"name": "whenElse",
|
|
4576
|
+
"return": {
|
|
4577
|
+
"type": {
|
|
4578
|
+
"text": "CaptureType<TSource>"
|
|
4579
|
+
}
|
|
4580
|
+
},
|
|
4581
|
+
"parameters": [
|
|
4582
|
+
{
|
|
4583
|
+
"name": "binding",
|
|
4584
|
+
"type": {
|
|
4585
|
+
"text": "Binding<TSource, TReturn>"
|
|
4586
|
+
},
|
|
4587
|
+
"description": "The condition to test for rendering."
|
|
4588
|
+
},
|
|
4589
|
+
{
|
|
4590
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
4591
|
+
"type": {
|
|
4592
|
+
"text": "WhenTemplate<TSource>"
|
|
4593
|
+
},
|
|
4594
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
4595
|
+
},
|
|
4596
|
+
{
|
|
4597
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
4598
|
+
"type": {
|
|
4599
|
+
"text": "WhenTemplate<TSource>"
|
|
4600
|
+
},
|
|
4601
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
4602
|
+
}
|
|
4603
|
+
],
|
|
4604
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
4605
|
+
"privacy": "public"
|
|
4606
|
+
}
|
|
4607
|
+
],
|
|
4608
|
+
"exports": [
|
|
4609
|
+
{
|
|
4610
|
+
"kind": "js",
|
|
4611
|
+
"name": "whenElse",
|
|
4612
|
+
"declaration": {
|
|
4613
|
+
"name": "whenElse",
|
|
4614
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
4615
|
+
}
|
|
4616
|
+
}
|
|
4617
|
+
]
|
|
4618
|
+
},
|
|
4619
4619
|
{
|
|
4620
4620
|
"kind": "javascript-module",
|
|
4621
4621
|
"path": "src/mappers/dto/index.ts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localeNumberParser.d.ts","sourceRoot":"","sources":["../../../src/formatters/localeNumberParser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"localeNumberParser.d.ts","sourceRoot":"","sources":["../../../src/formatters/localeNumberParser.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,qBAAa,YAAY;IACvB;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,MAAM,CAAM;gBACR,MAAM,EAAE,MAAM;IAc1B,KAAK,CAAC,YAAY,EAAE,MAAM;IAa1B,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO;CAG5C"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
const FORMAT_PARTS = 12345.6;
|
|
2
2
|
const FORMAT_NUMERALS = 9876543210;
|
|
3
|
+
const SHORTCUT_MULTIPLIERS = {
|
|
4
|
+
k: 1000,
|
|
5
|
+
m: 1000000,
|
|
6
|
+
b: 1000000000,
|
|
7
|
+
};
|
|
8
|
+
const SHORTCUT_REGEX = /^(.*?)([kmb])$/i;
|
|
3
9
|
/**
|
|
4
10
|
* @public
|
|
5
11
|
*/
|
|
@@ -17,12 +23,15 @@ export class NumberParser {
|
|
|
17
23
|
this._index = (d) => index.get(d);
|
|
18
24
|
}
|
|
19
25
|
parse(localeNumber) {
|
|
20
|
-
|
|
26
|
+
const shortcutMatch = localeNumber.trim().match(SHORTCUT_REGEX);
|
|
27
|
+
const multiplier = shortcutMatch ? SHORTCUT_MULTIPLIERS[shortcutMatch[2].toLowerCase()] : 1;
|
|
28
|
+
const normalized = shortcutMatch ? shortcutMatch[1] : localeNumber;
|
|
29
|
+
return (localeNumber = normalized
|
|
21
30
|
.trim()
|
|
22
31
|
.replace(this._group, '')
|
|
23
32
|
.replace(this._decimal, '.')
|
|
24
33
|
.replace(this._numeral, this._index))
|
|
25
|
-
? +localeNumber
|
|
34
|
+
? +localeNumber * multiplier
|
|
26
35
|
: NaN;
|
|
27
36
|
}
|
|
28
37
|
hasSeparator(localeNumber) {
|
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.
|
|
4
|
+
"version": "14.424.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "14.
|
|
33
|
-
"@genesislcap/genx": "14.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.
|
|
35
|
-
"@genesislcap/ts-builder": "14.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
37
|
-
"@genesislcap/vite-builder": "14.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.424.0",
|
|
33
|
+
"@genesislcap/genx": "14.424.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.424.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.424.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.424.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.424.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.424.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.
|
|
42
|
+
"@genesislcap/expression-builder": "14.424.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.424.0",
|
|
44
44
|
"@microsoft/fast-components": "2.30.6",
|
|
45
45
|
"@microsoft/fast-element": "1.14.0",
|
|
46
46
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"customElements": "dist/custom-elements.json",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "8196a15336f7c89db67f4c2b9a0ffc7cb0ca2b76"
|
|
62
62
|
}
|