@angular/core 18.0.0-rc.0 → 18.0.0-rc.1
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 +2 -2
- package/esm2022/primitives/event-dispatch/src/action_resolver.mjs +234 -0
- package/esm2022/primitives/event-dispatch/src/base_dispatcher.mjs +6 -8
- package/esm2022/primitives/event-dispatch/src/custom_events.mjs +40 -1
- package/esm2022/primitives/event-dispatch/src/dispatcher.mjs +22 -15
- package/esm2022/primitives/event-dispatch/src/earlyeventcontract.mjs +14 -8
- package/esm2022/primitives/event-dispatch/src/event_contract_defines.mjs +1 -14
- package/esm2022/primitives/event-dispatch/src/eventcontract.mjs +23 -344
- package/esm2022/primitives/event-dispatch/src/register_events.mjs +29 -10
- package/esm2022/src/application/application_ref.mjs +6 -3
- package/esm2022/src/application/create_application.mjs +3 -3
- package/esm2022/src/change_detection/scheduling/exhaustive_check_no_changes.mjs +150 -0
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +17 -3
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +5 -5
- package/esm2022/src/core.mjs +2 -1
- package/esm2022/src/core_private_export.mjs +2 -1
- package/esm2022/src/defer/instructions.mjs +20 -12
- package/esm2022/src/defer/interfaces.mjs +1 -3
- package/esm2022/src/errors.mjs +1 -1
- package/esm2022/src/hydration/event_replay.mjs +23 -3
- package/esm2022/src/platform/platform_ref.mjs +8 -1
- package/esm2022/src/render3/after_render_hooks.mjs +4 -2
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/instructions/change_detection.mjs +13 -10
- package/esm2022/src/render3/instructions/listener.mjs +12 -1
- package/esm2022/src/render3/state.mjs +14 -4
- package/esm2022/src/render3/view_ref.mjs +3 -2
- package/esm2022/src/util/callback_scheduler.mjs +12 -26
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/src/zone/ng_zone.mjs +9 -23
- package/esm2022/testing/src/component_fixture.mjs +1 -3
- package/esm2022/testing/src/defer.mjs +1 -2
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed_compiler.mjs +3 -4
- package/event-dispatch-contract.min.js +1 -1
- package/fesm2022/core.mjs +752 -574
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +315 -369
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +3 -7
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +34 -4
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +41 -44
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/http-providers/bundle.js +66 -44
- package/schematics/migrations/http-providers/bundle.js.map +2 -2
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +39 -9
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +39 -9
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +48 -18
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -4
|
@@ -5817,7 +5817,7 @@ var ShadowCss = class {
|
|
|
5817
5817
|
});
|
|
5818
5818
|
}
|
|
5819
5819
|
_scopeSelector(selector, scopeSelector, hostSelector) {
|
|
5820
|
-
return selector.split(
|
|
5820
|
+
return selector.split(/ ?, ?/).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
|
|
5821
5821
|
const [shallowPart, ...otherParts] = deepParts;
|
|
5822
5822
|
const applyScope = (shallowPart2) => {
|
|
5823
5823
|
if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
|
|
@@ -5859,9 +5859,9 @@ var ShadowCss = class {
|
|
|
5859
5859
|
const _scopeSelectorPart = (p) => {
|
|
5860
5860
|
let scopedP = p.trim();
|
|
5861
5861
|
if (!scopedP) {
|
|
5862
|
-
return
|
|
5862
|
+
return p;
|
|
5863
5863
|
}
|
|
5864
|
-
if (p.
|
|
5864
|
+
if (p.includes(_polyfillHostNoCombinator)) {
|
|
5865
5865
|
scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
5866
5866
|
} else {
|
|
5867
5867
|
const t = p.replace(_polyfillHostRe, "");
|
|
@@ -5880,21 +5880,21 @@ var ShadowCss = class {
|
|
|
5880
5880
|
let startIndex = 0;
|
|
5881
5881
|
let res;
|
|
5882
5882
|
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
5883
|
-
const hasHost = selector.
|
|
5883
|
+
const hasHost = selector.includes(_polyfillHostNoCombinator);
|
|
5884
5884
|
let shouldScope = !hasHost;
|
|
5885
5885
|
while ((res = sep.exec(selector)) !== null) {
|
|
5886
5886
|
const separator = res[1];
|
|
5887
|
-
const part2 = selector.slice(startIndex, res.index)
|
|
5887
|
+
const part2 = selector.slice(startIndex, res.index);
|
|
5888
5888
|
if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
|
|
5889
5889
|
continue;
|
|
5890
5890
|
}
|
|
5891
|
-
shouldScope = shouldScope || part2.
|
|
5891
|
+
shouldScope = shouldScope || part2.includes(_polyfillHostNoCombinator);
|
|
5892
5892
|
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
5893
5893
|
scopedSelector += `${scopedPart} ${separator} `;
|
|
5894
5894
|
startIndex = sep.lastIndex;
|
|
5895
5895
|
}
|
|
5896
5896
|
const part = selector.substring(startIndex);
|
|
5897
|
-
shouldScope = shouldScope || part.
|
|
5897
|
+
shouldScope = shouldScope || part.includes(_polyfillHostNoCombinator);
|
|
5898
5898
|
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
5899
5899
|
return safeContent.restore(scopedSelector);
|
|
5900
5900
|
}
|
|
@@ -11095,7 +11095,37 @@ var SCHEMA = [
|
|
|
11095
11095
|
"menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default",
|
|
11096
11096
|
"summary^[HTMLElement]|",
|
|
11097
11097
|
"time^[HTMLElement]|dateTime",
|
|
11098
|
-
":svg:cursor^:svg:|"
|
|
11098
|
+
":svg:cursor^:svg:|",
|
|
11099
|
+
":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",
|
|
11100
|
+
":math:math^:math:|",
|
|
11101
|
+
":math:maction^:math:|",
|
|
11102
|
+
":math:menclose^:math:|",
|
|
11103
|
+
":math:merror^:math:|",
|
|
11104
|
+
":math:mfenced^:math:|",
|
|
11105
|
+
":math:mfrac^:math:|",
|
|
11106
|
+
":math:mi^:math:|",
|
|
11107
|
+
":math:mmultiscripts^:math:|",
|
|
11108
|
+
":math:mn^:math:|",
|
|
11109
|
+
":math:mo^:math:|",
|
|
11110
|
+
":math:mover^:math:|",
|
|
11111
|
+
":math:mpadded^:math:|",
|
|
11112
|
+
":math:mphantom^:math:|",
|
|
11113
|
+
":math:mroot^:math:|",
|
|
11114
|
+
":math:mrow^:math:|",
|
|
11115
|
+
":math:ms^:math:|",
|
|
11116
|
+
":math:mspace^:math:|",
|
|
11117
|
+
":math:msqrt^:math:|",
|
|
11118
|
+
":math:mstyle^:math:|",
|
|
11119
|
+
":math:msub^:math:|",
|
|
11120
|
+
":math:msubsup^:math:|",
|
|
11121
|
+
":math:msup^:math:|",
|
|
11122
|
+
":math:mtable^:math:|",
|
|
11123
|
+
":math:mtd^:math:|",
|
|
11124
|
+
":math:mtext^:math:|",
|
|
11125
|
+
":math:mtr^:math:|",
|
|
11126
|
+
":math:munder^:math:|",
|
|
11127
|
+
":math:munderover^:math:|",
|
|
11128
|
+
":math:semantics^:math:|"
|
|
11099
11129
|
];
|
|
11100
11130
|
var _ATTR_TO_PROP = new Map(Object.entries({
|
|
11101
11131
|
"class": "className",
|
|
@@ -22848,7 +22878,7 @@ function publishFacade(global) {
|
|
|
22848
22878
|
}
|
|
22849
22879
|
|
|
22850
22880
|
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
22851
|
-
var VERSION2 = new Version("18.0.0-rc.
|
|
22881
|
+
var VERSION2 = new Version("18.0.0-rc.1");
|
|
22852
22882
|
|
|
22853
22883
|
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
22854
22884
|
var _VisitorMode;
|