@ng-atomic/schematics 20.76.1 → 20.78.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.
- package/index.js +252 -124
- package/lib/_utilities/index.js +252 -124
- package/lib/atomic-component/index.js +138 -78
- package/lib/ng-add/index.js +252 -124
- package/lib/page/index.js +252 -124
- package/lib/pages/index.js +113 -71
- package/lib/setup/index.js +252 -124
- package/package.json +1 -1
|
@@ -359,9 +359,11 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
359
359
|
decode: () => decode,
|
|
360
360
|
decodeGeneratedRanges: () => decodeGeneratedRanges,
|
|
361
361
|
decodeOriginalScopes: () => decodeOriginalScopes,
|
|
362
|
+
decodeRangeMappings: () => decodeRangeMappings,
|
|
362
363
|
encode: () => encode,
|
|
363
364
|
encodeGeneratedRanges: () => encodeGeneratedRanges,
|
|
364
|
-
encodeOriginalScopes: () => encodeOriginalScopes
|
|
365
|
+
encodeOriginalScopes: () => encodeOriginalScopes,
|
|
366
|
+
encodeRangeMappings: () => encodeRangeMappings
|
|
365
367
|
});
|
|
366
368
|
module3.exports = __toCommonJS2(sourcemap_codec_exports);
|
|
367
369
|
var comma = ",".charCodeAt(0);
|
|
@@ -374,7 +376,7 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
374
376
|
intToChar[i] = c;
|
|
375
377
|
charToInt[c] = i;
|
|
376
378
|
}
|
|
377
|
-
function decodeInteger(reader
|
|
379
|
+
function decodeInteger(reader) {
|
|
378
380
|
let value = 0;
|
|
379
381
|
let shift = 0;
|
|
380
382
|
let integer = 0;
|
|
@@ -384,23 +386,21 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
384
386
|
value |= (integer & 31) << shift;
|
|
385
387
|
shift += 5;
|
|
386
388
|
} while (integer & 32);
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
}
|
|
392
|
-
return relative + value;
|
|
389
|
+
return value;
|
|
390
|
+
}
|
|
391
|
+
function decodeSign(num) {
|
|
392
|
+
return num & 1 ? -2147483648 | -(num >>> 1) : num >>> 1;
|
|
393
393
|
}
|
|
394
|
-
function encodeInteger(builder, num
|
|
395
|
-
let delta = num - relative;
|
|
396
|
-
delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
|
|
394
|
+
function encodeInteger(builder, num) {
|
|
397
395
|
do {
|
|
398
|
-
let clamped =
|
|
399
|
-
|
|
400
|
-
if (
|
|
396
|
+
let clamped = num & 31;
|
|
397
|
+
num >>>= 5;
|
|
398
|
+
if (num > 0) clamped |= 32;
|
|
401
399
|
builder.write(intToChar[clamped]);
|
|
402
|
-
} while (
|
|
403
|
-
|
|
400
|
+
} while (num > 0);
|
|
401
|
+
}
|
|
402
|
+
function encodeSign(num) {
|
|
403
|
+
return num < 0 ? -num << 1 | 1 : num << 1;
|
|
404
404
|
}
|
|
405
405
|
function hasMoreVlq(reader, max) {
|
|
406
406
|
if (reader.pos >= max) return false;
|
|
@@ -465,23 +465,23 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
465
465
|
const stack = [];
|
|
466
466
|
let line = 0;
|
|
467
467
|
for (; reader.pos < length; reader.pos++) {
|
|
468
|
-
line
|
|
469
|
-
const column = decodeInteger(reader
|
|
468
|
+
line += decodeSign(decodeInteger(reader));
|
|
469
|
+
const column = decodeSign(decodeInteger(reader));
|
|
470
470
|
if (!hasMoreVlq(reader, length)) {
|
|
471
471
|
const last = stack.pop();
|
|
472
472
|
last[2] = line;
|
|
473
473
|
last[3] = column;
|
|
474
474
|
continue;
|
|
475
475
|
}
|
|
476
|
-
const kind = decodeInteger(reader
|
|
477
|
-
const fields = decodeInteger(reader
|
|
476
|
+
const kind = decodeSign(decodeInteger(reader));
|
|
477
|
+
const fields = decodeSign(decodeInteger(reader));
|
|
478
478
|
const hasName = fields & 1;
|
|
479
|
-
const scope = hasName ? [line, column, 0, 0, kind, decodeInteger(reader
|
|
479
|
+
const scope = hasName ? [line, column, 0, 0, kind, decodeSign(decodeInteger(reader))] : [line, column, 0, 0, kind];
|
|
480
480
|
let vars = EMPTY;
|
|
481
481
|
if (hasMoreVlq(reader, length)) {
|
|
482
482
|
vars = [];
|
|
483
483
|
do {
|
|
484
|
-
const varsIndex = decodeInteger(reader
|
|
484
|
+
const varsIndex = decodeSign(decodeInteger(reader));
|
|
485
485
|
vars.push(varsIndex);
|
|
486
486
|
} while (hasMoreVlq(reader, length));
|
|
487
487
|
}
|
|
@@ -502,14 +502,15 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
502
502
|
const scope = scopes[index];
|
|
503
503
|
const { 0: startLine, 1: startColumn, 2: endLine, 3: endColumn, 4: kind, vars } = scope;
|
|
504
504
|
if (index > 0) writer.write(comma);
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
encodeInteger(writer,
|
|
505
|
+
encodeInteger(writer, encodeSign(startLine - state[0]));
|
|
506
|
+
state[0] = startLine;
|
|
507
|
+
encodeInteger(writer, encodeSign(startColumn));
|
|
508
|
+
encodeInteger(writer, encodeSign(kind));
|
|
508
509
|
const fields = scope.length === 6 ? 1 : 0;
|
|
509
|
-
encodeInteger(writer, fields
|
|
510
|
-
if (scope.length === 6) encodeInteger(writer, scope[5]
|
|
510
|
+
encodeInteger(writer, encodeSign(fields));
|
|
511
|
+
if (scope.length === 6) encodeInteger(writer, encodeSign(scope[5]));
|
|
511
512
|
for (const v of vars) {
|
|
512
|
-
encodeInteger(writer, v
|
|
513
|
+
encodeInteger(writer, encodeSign(v));
|
|
513
514
|
}
|
|
514
515
|
for (index++; index < scopes.length; ) {
|
|
515
516
|
const next = scopes[index];
|
|
@@ -520,8 +521,9 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
520
521
|
index = _encodeOriginalScopes(scopes, index, writer, state);
|
|
521
522
|
}
|
|
522
523
|
writer.write(comma);
|
|
523
|
-
|
|
524
|
-
|
|
524
|
+
encodeInteger(writer, encodeSign(endLine - state[0]));
|
|
525
|
+
state[0] = endLine;
|
|
526
|
+
encodeInteger(writer, encodeSign(endColumn));
|
|
525
527
|
return index;
|
|
526
528
|
}
|
|
527
529
|
function decodeGeneratedRanges(input) {
|
|
@@ -541,14 +543,14 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
541
543
|
const semi = reader.indexOf(";");
|
|
542
544
|
let genColumn = 0;
|
|
543
545
|
for (; reader.pos < semi; reader.pos++) {
|
|
544
|
-
genColumn
|
|
546
|
+
genColumn += decodeSign(decodeInteger(reader));
|
|
545
547
|
if (!hasMoreVlq(reader, semi)) {
|
|
546
548
|
const last = stack.pop();
|
|
547
549
|
last[2] = genLine;
|
|
548
550
|
last[3] = genColumn;
|
|
549
551
|
continue;
|
|
550
552
|
}
|
|
551
|
-
const fields = decodeInteger(reader
|
|
553
|
+
const fields = decodeSign(decodeInteger(reader));
|
|
552
554
|
const hasDefinition = fields & 1;
|
|
553
555
|
const hasCallsite = fields & 2;
|
|
554
556
|
const hasScope = fields & 4;
|
|
@@ -556,11 +558,8 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
556
558
|
let bindings = EMPTY;
|
|
557
559
|
let range;
|
|
558
560
|
if (hasDefinition) {
|
|
559
|
-
const defSourcesIndex = decodeInteger(reader
|
|
560
|
-
definitionScopeIndex = decodeInteger(
|
|
561
|
-
reader,
|
|
562
|
-
definitionSourcesIndex === defSourcesIndex ? definitionScopeIndex : 0
|
|
563
|
-
);
|
|
561
|
+
const defSourcesIndex = definitionSourcesIndex + decodeSign(decodeInteger(reader));
|
|
562
|
+
definitionScopeIndex = decodeSign(decodeInteger(reader)) + (definitionSourcesIndex === defSourcesIndex ? definitionScopeIndex : 0);
|
|
564
563
|
definitionSourcesIndex = defSourcesIndex;
|
|
565
564
|
range = [genLine, genColumn, 0, 0, defSourcesIndex, definitionScopeIndex];
|
|
566
565
|
} else {
|
|
@@ -570,13 +569,10 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
570
569
|
if (hasCallsite) {
|
|
571
570
|
const prevCsi = callsiteSourcesIndex;
|
|
572
571
|
const prevLine = callsiteLine;
|
|
573
|
-
callsiteSourcesIndex
|
|
572
|
+
callsiteSourcesIndex += decodeSign(decodeInteger(reader));
|
|
574
573
|
const sameSource = prevCsi === callsiteSourcesIndex;
|
|
575
|
-
callsiteLine =
|
|
576
|
-
callsiteColumn = decodeInteger(
|
|
577
|
-
reader,
|
|
578
|
-
sameSource && prevLine === callsiteLine ? callsiteColumn : 0
|
|
579
|
-
);
|
|
574
|
+
callsiteLine = (sameSource ? callsiteLine : 0) + decodeSign(decodeInteger(reader));
|
|
575
|
+
callsiteColumn = (sameSource && prevLine === callsiteLine ? callsiteColumn : 0) + decodeSign(decodeInteger(reader));
|
|
580
576
|
callsite = [callsiteSourcesIndex, callsiteLine, callsiteColumn];
|
|
581
577
|
}
|
|
582
578
|
range.callsite = callsite;
|
|
@@ -585,15 +581,15 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
585
581
|
do {
|
|
586
582
|
bindingLine = genLine;
|
|
587
583
|
bindingColumn = genColumn;
|
|
588
|
-
const expressionsCount = decodeInteger(reader
|
|
584
|
+
const expressionsCount = decodeSign(decodeInteger(reader));
|
|
589
585
|
let expressionRanges;
|
|
590
586
|
if (expressionsCount < -1) {
|
|
591
|
-
expressionRanges = [[decodeInteger(reader
|
|
587
|
+
expressionRanges = [[decodeSign(decodeInteger(reader))]];
|
|
592
588
|
for (let i = -1; i > expressionsCount; i--) {
|
|
593
589
|
const prevBl = bindingLine;
|
|
594
|
-
bindingLine
|
|
595
|
-
bindingColumn =
|
|
596
|
-
const expression = decodeInteger(reader
|
|
590
|
+
bindingLine += decodeSign(decodeInteger(reader));
|
|
591
|
+
bindingColumn = (bindingLine === prevBl ? bindingColumn : 0) + decodeSign(decodeInteger(reader));
|
|
592
|
+
const expression = decodeSign(decodeInteger(reader));
|
|
597
593
|
expressionRanges.push([expression, bindingLine, bindingColumn]);
|
|
598
594
|
}
|
|
599
595
|
} else {
|
|
@@ -637,16 +633,19 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
637
633
|
} else if (index > 0) {
|
|
638
634
|
writer.write(comma);
|
|
639
635
|
}
|
|
640
|
-
|
|
636
|
+
encodeInteger(writer, encodeSign(range[1] - state[1]));
|
|
637
|
+
state[1] = range[1];
|
|
641
638
|
const fields = (range.length === 6 ? 1 : 0) | (callsite ? 2 : 0) | (isScope ? 4 : 0);
|
|
642
|
-
encodeInteger(writer, fields
|
|
639
|
+
encodeInteger(writer, encodeSign(fields));
|
|
643
640
|
if (range.length === 6) {
|
|
644
641
|
const { 4: sourcesIndex, 5: scopesIndex } = range;
|
|
645
642
|
if (sourcesIndex !== state[2]) {
|
|
646
643
|
state[3] = 0;
|
|
647
644
|
}
|
|
648
|
-
|
|
649
|
-
state[
|
|
645
|
+
encodeInteger(writer, encodeSign(sourcesIndex - state[2]));
|
|
646
|
+
state[2] = sourcesIndex;
|
|
647
|
+
encodeInteger(writer, encodeSign(scopesIndex - state[3]));
|
|
648
|
+
state[3] = scopesIndex;
|
|
650
649
|
}
|
|
651
650
|
if (callsite) {
|
|
652
651
|
const { 0: sourcesIndex, 1: callLine, 2: callColumn } = range.callsite;
|
|
@@ -656,22 +655,27 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
656
655
|
} else if (callLine !== state[5]) {
|
|
657
656
|
state[6] = 0;
|
|
658
657
|
}
|
|
659
|
-
|
|
660
|
-
state[
|
|
661
|
-
|
|
658
|
+
encodeInteger(writer, encodeSign(sourcesIndex - state[4]));
|
|
659
|
+
state[4] = sourcesIndex;
|
|
660
|
+
encodeInteger(writer, encodeSign(callLine - state[5]));
|
|
661
|
+
state[5] = callLine;
|
|
662
|
+
encodeInteger(writer, encodeSign(callColumn - state[6]));
|
|
663
|
+
state[6] = callColumn;
|
|
662
664
|
}
|
|
663
665
|
if (bindings) {
|
|
664
666
|
for (const binding of bindings) {
|
|
665
|
-
if (binding.length > 1) encodeInteger(writer, -binding.length
|
|
667
|
+
if (binding.length > 1) encodeInteger(writer, encodeSign(-binding.length));
|
|
666
668
|
const expression = binding[0][0];
|
|
667
|
-
encodeInteger(writer, expression
|
|
669
|
+
encodeInteger(writer, encodeSign(expression));
|
|
668
670
|
let bindingStartLine = startLine;
|
|
669
671
|
let bindingStartColumn = startColumn;
|
|
670
672
|
for (let i = 1; i < binding.length; i++) {
|
|
671
673
|
const expRange = binding[i];
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
encodeInteger(writer, expRange[
|
|
674
|
+
encodeInteger(writer, encodeSign(expRange[1] - bindingStartLine));
|
|
675
|
+
bindingStartLine = expRange[1];
|
|
676
|
+
encodeInteger(writer, encodeSign(expRange[2] - bindingStartColumn));
|
|
677
|
+
bindingStartColumn = expRange[2];
|
|
678
|
+
encodeInteger(writer, encodeSign(expRange[0]));
|
|
675
679
|
}
|
|
676
680
|
}
|
|
677
681
|
}
|
|
@@ -690,7 +694,8 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
690
694
|
} else {
|
|
691
695
|
writer.write(comma);
|
|
692
696
|
}
|
|
693
|
-
|
|
697
|
+
encodeInteger(writer, encodeSign(endColumn - state[1]));
|
|
698
|
+
state[1] = endColumn;
|
|
694
699
|
return index;
|
|
695
700
|
}
|
|
696
701
|
function catchupLine(writer, lastLine, line) {
|
|
@@ -698,6 +703,38 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
698
703
|
writer.write(semicolon);
|
|
699
704
|
} while (++lastLine < line);
|
|
700
705
|
}
|
|
706
|
+
function decodeRangeMappings(input) {
|
|
707
|
+
const { length } = input;
|
|
708
|
+
const reader = new StringReader(input);
|
|
709
|
+
const rangeMappings = [];
|
|
710
|
+
do {
|
|
711
|
+
const semi = reader.indexOf(";");
|
|
712
|
+
const indices = [];
|
|
713
|
+
let index = 0;
|
|
714
|
+
while (reader.pos < semi) {
|
|
715
|
+
index += decodeInteger(reader);
|
|
716
|
+
indices.push(index);
|
|
717
|
+
}
|
|
718
|
+
rangeMappings.push(indices);
|
|
719
|
+
reader.pos = semi + 1;
|
|
720
|
+
} while (reader.pos <= length);
|
|
721
|
+
return rangeMappings;
|
|
722
|
+
}
|
|
723
|
+
function encodeRangeMappings(decoded) {
|
|
724
|
+
if (decoded.length === 0) return "";
|
|
725
|
+
const writer = new StringWriter();
|
|
726
|
+
for (let i = 0; i < decoded.length; i++) {
|
|
727
|
+
const indices = decoded[i];
|
|
728
|
+
if (i > 0) writer.write(semicolon);
|
|
729
|
+
let index = 0;
|
|
730
|
+
for (let j = 0; j < indices.length; j++) {
|
|
731
|
+
const offset = indices[j];
|
|
732
|
+
encodeInteger(writer, offset - index);
|
|
733
|
+
index = offset;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
return writer.flush();
|
|
737
|
+
}
|
|
701
738
|
function decode(mappings) {
|
|
702
739
|
const { length } = mappings;
|
|
703
740
|
const reader = new StringReader(mappings);
|
|
@@ -715,15 +752,15 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
715
752
|
genColumn = 0;
|
|
716
753
|
while (reader.pos < semi) {
|
|
717
754
|
let seg;
|
|
718
|
-
genColumn
|
|
755
|
+
genColumn += decodeSign(decodeInteger(reader));
|
|
719
756
|
if (genColumn < lastCol) sorted = false;
|
|
720
757
|
lastCol = genColumn;
|
|
721
758
|
if (hasMoreVlq(reader, semi)) {
|
|
722
|
-
sourcesIndex
|
|
723
|
-
sourceLine
|
|
724
|
-
sourceColumn
|
|
759
|
+
sourcesIndex += decodeSign(decodeInteger(reader));
|
|
760
|
+
sourceLine += decodeSign(decodeInteger(reader));
|
|
761
|
+
sourceColumn += decodeSign(decodeInteger(reader));
|
|
725
762
|
if (hasMoreVlq(reader, semi)) {
|
|
726
|
-
namesIndex
|
|
763
|
+
namesIndex += decodeSign(decodeInteger(reader));
|
|
727
764
|
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
|
|
728
765
|
} else {
|
|
729
766
|
seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
|
|
@@ -760,13 +797,18 @@ var require_sourcemap_codec_umd = __commonJS({
|
|
|
760
797
|
for (let j = 0; j < line.length; j++) {
|
|
761
798
|
const segment = line[j];
|
|
762
799
|
if (j > 0) writer.write(comma);
|
|
763
|
-
|
|
800
|
+
encodeInteger(writer, encodeSign(segment[0] - genColumn));
|
|
801
|
+
genColumn = segment[0];
|
|
764
802
|
if (segment.length === 1) continue;
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
803
|
+
encodeInteger(writer, encodeSign(segment[1] - sourcesIndex));
|
|
804
|
+
encodeInteger(writer, encodeSign(segment[2] - sourceLine));
|
|
805
|
+
encodeInteger(writer, encodeSign(segment[3] - sourceColumn));
|
|
806
|
+
sourcesIndex = segment[1];
|
|
807
|
+
sourceLine = segment[2];
|
|
808
|
+
sourceColumn = segment[3];
|
|
768
809
|
if (segment.length === 4) continue;
|
|
769
|
-
|
|
810
|
+
encodeInteger(writer, encodeSign(segment[4] - namesIndex));
|
|
811
|
+
namesIndex = segment[4];
|
|
770
812
|
}
|
|
771
813
|
}
|
|
772
814
|
return writer.flush();
|
|
@@ -13900,9 +13942,9 @@ var require_lodash = __commonJS({
|
|
|
13900
13942
|
"use strict";
|
|
13901
13943
|
(function() {
|
|
13902
13944
|
var undefined2;
|
|
13903
|
-
var VERSION = "4.
|
|
13945
|
+
var VERSION = "4.18.1";
|
|
13904
13946
|
var LARGE_ARRAY_SIZE = 200;
|
|
13905
|
-
var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
|
|
13947
|
+
var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`", INVALID_TEMPL_IMPORTS_ERROR_TEXT = "Invalid `imports` option passed into `_.template`";
|
|
13906
13948
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
13907
13949
|
var MAX_MEMOIZE_SIZE = 500;
|
|
13908
13950
|
var PLACEHOLDER = "__lodash_placeholder__";
|
|
@@ -15828,8 +15870,21 @@ var require_lodash = __commonJS({
|
|
|
15828
15870
|
}
|
|
15829
15871
|
function baseUnset(object, path) {
|
|
15830
15872
|
path = castPath(path, object);
|
|
15831
|
-
|
|
15832
|
-
|
|
15873
|
+
var index = -1, length = path.length;
|
|
15874
|
+
if (!length) {
|
|
15875
|
+
return true;
|
|
15876
|
+
}
|
|
15877
|
+
while (++index < length) {
|
|
15878
|
+
var key = toKey(path[index]);
|
|
15879
|
+
if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
|
|
15880
|
+
return false;
|
|
15881
|
+
}
|
|
15882
|
+
if ((key === "constructor" || key === "prototype") && index < length - 1) {
|
|
15883
|
+
return false;
|
|
15884
|
+
}
|
|
15885
|
+
}
|
|
15886
|
+
var obj = parent(object, path);
|
|
15887
|
+
return obj == null || delete obj[toKey(last(path))];
|
|
15833
15888
|
}
|
|
15834
15889
|
function baseUpdate(object, path, updater, customizer) {
|
|
15835
15890
|
return baseSet(object, path, updater(baseGet(object, path)), customizer);
|
|
@@ -17156,7 +17211,7 @@ var require_lodash = __commonJS({
|
|
|
17156
17211
|
var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
|
|
17157
17212
|
while (++index < length) {
|
|
17158
17213
|
var pair = pairs[index];
|
|
17159
|
-
result2
|
|
17214
|
+
baseAssignValue(result2, pair[0], pair[1]);
|
|
17160
17215
|
}
|
|
17161
17216
|
return result2;
|
|
17162
17217
|
}
|
|
@@ -18540,8 +18595,13 @@ var require_lodash = __commonJS({
|
|
|
18540
18595
|
options = undefined2;
|
|
18541
18596
|
}
|
|
18542
18597
|
string = toString(string);
|
|
18543
|
-
options =
|
|
18544
|
-
var imports =
|
|
18598
|
+
options = assignWith({}, options, settings, customDefaultsAssignIn);
|
|
18599
|
+
var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
|
|
18600
|
+
arrayEach(importsKeys, function(key) {
|
|
18601
|
+
if (reForbiddenIdentifierChars.test(key)) {
|
|
18602
|
+
throw new Error2(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
|
|
18603
|
+
}
|
|
18604
|
+
});
|
|
18545
18605
|
var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
|
|
18546
18606
|
var reDelimiters = RegExp2(
|
|
18547
18607
|
(options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
|