@angular/core 18.0.5 → 18.0.7
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/esm2022/primitives/event-dispatch/index.mjs +3 -2
- package/esm2022/primitives/event-dispatch/src/action_resolver.mjs +3 -3
- package/esm2022/primitives/event-dispatch/src/attribute.mjs +16 -52
- package/esm2022/primitives/event-dispatch/src/cache.mjs +17 -6
- package/esm2022/primitives/event-dispatch/src/char.mjs +1 -16
- package/esm2022/primitives/event-dispatch/src/event.mjs +2 -3
- package/esm2022/primitives/event-dispatch/src/eventcontract.mjs +5 -66
- package/esm2022/primitives/event-dispatch/src/property.mjs +17 -22
- package/esm2022/primitives/signals/index.mjs +3 -3
- package/esm2022/primitives/signals/src/signal.mjs +4 -1
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +2 -2
- package/esm2022/src/core_private_export.mjs +3 -1
- package/esm2022/src/defer/instructions.mjs +53 -35
- package/esm2022/src/event_delegation_utils.mjs +40 -23
- package/esm2022/src/event_dispatch/event_delegation.mjs +38 -0
- package/esm2022/src/hydration/annotate.mjs +3 -3
- package/esm2022/src/hydration/event_replay.mjs +5 -5
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/debug/framework_injector_profiler.mjs +3 -2
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +127 -63
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +53 -242
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +5 -2
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +31 -2
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +22 -102
- package/primitives/signals/index.d.ts +10 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +3 -3
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +13 -4
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +30 -22
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -1
- package/esm2022/primitives/event-dispatch/src/dom.mjs +0 -48
|
@@ -5692,7 +5692,7 @@ var scopedAtRuleIdentifiers = [
|
|
|
5692
5692
|
];
|
|
5693
5693
|
var ShadowCss = class {
|
|
5694
5694
|
constructor() {
|
|
5695
|
-
this._animationDeclarationKeyframesRe = /(^|\s
|
|
5695
|
+
this._animationDeclarationKeyframesRe = /(^|\s+|,)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;
|
|
5696
5696
|
}
|
|
5697
5697
|
shimCssText(cssText, selector, hostSelector = "") {
|
|
5698
5698
|
const comments = [];
|
|
@@ -5735,7 +5735,7 @@ var ShadowCss = class {
|
|
|
5735
5735
|
});
|
|
5736
5736
|
}
|
|
5737
5737
|
_scopeAnimationRule(rule, scopeSelector, unscopedKeyframesSet) {
|
|
5738
|
-
let content = rule.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation
|
|
5738
|
+
let content = rule.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation\s*:\s*),*([^;]+)/g, (_, start, animationDeclarations) => start + animationDeclarations.replace(this._animationDeclarationKeyframesRe, (original, leadingSpaces, quote = "", quotedName, nonQuotedName) => {
|
|
5739
5739
|
if (quotedName) {
|
|
5740
5740
|
return `${leadingSpaces}${this._scopeAnimationKeyframe(`${quote}${quotedName}${quote}`, scopeSelector, unscopedKeyframesSet)}`;
|
|
5741
5741
|
} else {
|
|
@@ -23262,7 +23262,7 @@ function publishFacade(global) {
|
|
|
23262
23262
|
}
|
|
23263
23263
|
|
|
23264
23264
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23265
|
-
var VERSION2 = new Version("18.0.
|
|
23265
|
+
var VERSION2 = new Version("18.0.7");
|
|
23266
23266
|
|
|
23267
23267
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23268
23268
|
var _VisitorMode;
|
|
@@ -23394,8 +23394,17 @@ var ElementToMigrate = class {
|
|
|
23394
23394
|
this.forAttrs = forAttrs;
|
|
23395
23395
|
this.aliasAttrs = aliasAttrs;
|
|
23396
23396
|
}
|
|
23397
|
+
normalizeConditionString(value) {
|
|
23398
|
+
value = this.insertSemicolon(value, value.indexOf(" else "));
|
|
23399
|
+
value = this.insertSemicolon(value, value.indexOf(" then "));
|
|
23400
|
+
value = this.insertSemicolon(value, value.indexOf(" let "));
|
|
23401
|
+
return value.replace(";;", ";");
|
|
23402
|
+
}
|
|
23403
|
+
insertSemicolon(str, ix) {
|
|
23404
|
+
return ix > -1 ? `${str.slice(0, ix)};${str.slice(ix)}` : str;
|
|
23405
|
+
}
|
|
23397
23406
|
getCondition() {
|
|
23398
|
-
const chunks = this.attr.value.split(";");
|
|
23407
|
+
const chunks = this.normalizeConditionString(this.attr.value).split(";");
|
|
23399
23408
|
let condition = chunks[0];
|
|
23400
23409
|
const elseIx = condition.indexOf(" else ");
|
|
23401
23410
|
const thenIx = condition.indexOf(" then ");
|