ember-source 7.2.0-beta.1 → 7.3.0-alpha.2
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/build-metadata.json +3 -3
- package/dist/dev/packages/@ember/-internals/deprecations/index.js +10 -0
- package/dist/dev/packages/@ember/-internals/glimmer/index.js +7 -7
- package/dist/dev/packages/@ember/-internals/metal/index.js +8 -8
- package/dist/dev/packages/@ember/-internals/routing/index.js +1 -1
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +3 -3
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/comparable.js +5 -0
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +1 -1
- package/dist/dev/packages/@ember/-internals/views/lib/system/event_dispatcher.js +1 -1
- package/dist/dev/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
- package/dist/dev/packages/@ember/application/index.js +2 -2
- package/dist/dev/packages/@ember/application/instance.js +22 -2
- package/dist/dev/packages/@ember/array/index.js +3 -3
- package/dist/dev/packages/@ember/array/proxy.js +3 -3
- package/dist/dev/packages/@ember/component/helper.js +321 -1
- package/dist/dev/packages/@ember/component/index.js +3 -3
- package/dist/dev/packages/@ember/controller/index.js +2 -2
- package/dist/dev/packages/@ember/engine/index.js +3 -3
- package/dist/dev/packages/@ember/object/computed.js +2 -2
- package/dist/dev/packages/@ember/object/core.js +2 -2
- package/dist/dev/packages/@ember/object/index.js +4 -4
- package/dist/dev/packages/@ember/object/lib/computed/computed_macros.js +3 -3
- package/dist/dev/packages/@ember/object/lib/computed/reduce_computed_macros.js +1 -1
- package/dist/dev/packages/@ember/object/mixin.js +1 -1
- package/dist/dev/packages/@ember/object/observable.js +3 -3
- package/dist/dev/packages/@ember/object/promise-proxy-mixin.js +2 -2
- package/dist/dev/packages/@ember/renderer/index.js +1 -1
- package/dist/dev/packages/@ember/routing/-internals.js +1 -1
- package/dist/dev/packages/@ember/routing/lib/routing-service.js +0 -1
- package/dist/dev/packages/@ember/routing/lib/utils.js +1 -1
- package/dist/dev/packages/@ember/routing/route.js +4 -4
- package/dist/dev/packages/@ember/routing/router-service.js +0 -1
- package/dist/dev/packages/@ember/routing/router.js +3 -3
- package/dist/dev/packages/@ember/service/index.js +1 -1
- package/dist/dev/packages/@ember/utils/lib/compare.js +5 -2
- package/dist/dev/packages/@glimmer/node/index.js +2 -2
- package/dist/dev/packages/@glimmer/runtime/index.js +3 -3
- package/dist/dev/packages/@glimmer/tracking/index.js +1 -1
- package/dist/dev/packages/@glimmer/validator/index.js +1 -1
- package/dist/dev/packages/ember/version.js +1 -1
- package/dist/dev/packages/router_js/index.js +2 -2
- package/dist/dev/packages/shared-chunks/{alias-DpqL1qx6.js → alias-CT_thCad.js} +2 -2
- package/dist/dev/packages/shared-chunks/{api-C0PAtEgQ.js → api-Dz70AUL_.js} +6 -4
- package/dist/dev/packages/shared-chunks/{array-CVEnNWng.js → array-DvaweI_T.js} +1 -1
- package/dist/dev/packages/shared-chunks/{computed-BPCtuOxQ.js → computed-DGxbeUbf.js} +1 -6
- package/dist/dev/packages/shared-chunks/{curly-Ei5G8jhk.js → curly-DGUCLOud.js} +4 -5
- package/dist/dev/packages/shared-chunks/curly-brand-B_F79Dep.js +12 -0
- package/dist/dev/packages/shared-chunks/helper-brand-C9_8vvOf.js +12 -0
- package/dist/dev/packages/shared-chunks/{index-B3pPx1fL.js → index-D1AjYv31.js} +618 -1575
- package/dist/dev/packages/shared-chunks/{injected_property-CbBLr5jt.js → injected_property-DbXd6Gax.js} +1 -1
- package/dist/dev/packages/shared-chunks/outlet-CHFL7tun.js +135 -0
- package/dist/dev/packages/shared-chunks/{property_set-qCUylPEK.js → property_set-CVlVgdor.js} +1 -1
- package/dist/dev/packages/shared-chunks/{rehydrate-builder-C6k1XhET.js → rehydrate-builder-CsnkZkur.js} +1 -1
- package/dist/dev/packages/shared-chunks/{render-87_sKZ_k.js → render-CtH73XOv.js} +10 -5
- package/dist/dev/packages/shared-chunks/{serialize-builder-BlxBjwO-.js → serialize-builder-D1oAeiyl.js} +1 -1
- package/dist/dev/packages/shared-chunks/{set_properties-C4TSebH6.js → set_properties-CEUT_EJn.js} +2 -2
- package/dist/dev/packages/shared-chunks/setup-registry-DQ3c4Juo.js +951 -0
- package/dist/dev/packages/shared-chunks/{textarea-C4lYkaHj.js → textarea-DEvw4ezm.js} +1 -1
- package/dist/dev/packages/shared-chunks/tracked-57EW14Ny.js +253 -0
- package/dist/dev/packages/shared-chunks/tracked-value-DhyJmrhG.js +115 -0
- package/dist/dev/packages/shared-chunks/{unrecognized-url-error-BJHjL30Q.js → unrecognized-url-error-B8loxkay.js} +1 -1
- package/dist/prod/packages/@ember/-internals/deprecations/index.js +10 -0
- package/dist/prod/packages/@ember/-internals/glimmer/index.js +7 -7
- package/dist/prod/packages/@ember/-internals/metal/index.js +8 -8
- package/dist/prod/packages/@ember/-internals/routing/index.js +1 -1
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +3 -3
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/comparable.js +5 -0
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +1 -1
- package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +1 -1
- package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
- package/dist/prod/packages/@ember/application/index.js +2 -2
- package/dist/prod/packages/@ember/application/instance.js +18 -3
- package/dist/prod/packages/@ember/array/index.js +3 -3
- package/dist/prod/packages/@ember/array/proxy.js +3 -3
- package/dist/prod/packages/@ember/component/helper.js +305 -1
- package/dist/prod/packages/@ember/component/index.js +3 -3
- package/dist/prod/packages/@ember/controller/index.js +2 -2
- package/dist/prod/packages/@ember/engine/index.js +3 -3
- package/dist/prod/packages/@ember/object/computed.js +2 -2
- package/dist/prod/packages/@ember/object/index.js +4 -4
- package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +3 -3
- package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +1 -1
- package/dist/prod/packages/@ember/object/mixin.js +1 -1
- package/dist/prod/packages/@ember/object/observable.js +3 -3
- package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +2 -2
- package/dist/prod/packages/@ember/renderer/index.js +1 -1
- package/dist/prod/packages/@ember/routing/lib/routing-service.js +0 -1
- package/dist/prod/packages/@ember/routing/lib/utils.js +1 -1
- package/dist/prod/packages/@ember/routing/route.js +4 -4
- package/dist/prod/packages/@ember/routing/router-service.js +0 -1
- package/dist/prod/packages/@ember/routing/router.js +3 -3
- package/dist/prod/packages/@ember/service/index.js +1 -1
- package/dist/prod/packages/@ember/utils/lib/compare.js +5 -2
- package/dist/prod/packages/@glimmer/node/index.js +2 -2
- package/dist/prod/packages/@glimmer/runtime/index.js +3 -3
- package/dist/prod/packages/@glimmer/tracking/index.js +1 -1
- package/dist/prod/packages/@glimmer/validator/index.js +1 -1
- package/dist/prod/packages/ember/version.js +1 -1
- package/dist/prod/packages/router_js/index.js +2 -2
- package/dist/prod/packages/shared-chunks/{alias-Bod6qdNp.js → alias-CHHuE0LE.js} +2 -2
- package/dist/prod/packages/shared-chunks/{api-CQexacBn.js → api-DzOa0Acr.js} +6 -4
- package/dist/prod/packages/shared-chunks/{array-BzReKMeW.js → array-CnXdmzOG.js} +1 -1
- package/dist/prod/packages/shared-chunks/{computed-DtIStxvq.js → computed-BNdMwGhH.js} +1 -6
- package/dist/prod/packages/shared-chunks/{curly-IY06zACp.js → curly-a6DP7r87.js} +4 -5
- package/dist/prod/packages/shared-chunks/curly-brand-B_F79Dep.js +12 -0
- package/dist/prod/packages/shared-chunks/helper-brand-C9_8vvOf.js +12 -0
- package/dist/prod/packages/shared-chunks/{index-CslMfEpb.js → index-CvQQ6l11.js} +548 -1451
- package/dist/prod/packages/shared-chunks/{injected_property-Y-FadDej.js → injected_property-DqQ0XV7k.js} +1 -1
- package/dist/prod/packages/shared-chunks/outlet--lIm3q7t.js +132 -0
- package/dist/prod/packages/shared-chunks/{property_set-BaQJdVfS.js → property_set-CkLe4ht8.js} +1 -1
- package/dist/prod/packages/shared-chunks/{rehydrate-builder-Blt1x9MP.js → rehydrate-builder-n_8RCUj9.js} +1 -1
- package/dist/prod/packages/shared-chunks/{render-Dx7lr1hR.js → render-Bf7GviCY.js} +10 -5
- package/dist/prod/packages/shared-chunks/{serialize-builder-BvAXYHTr.js → serialize-builder-CsG9WHVw.js} +1 -1
- package/dist/prod/packages/shared-chunks/{set_properties-Qxhw4qzw.js → set_properties-Cs3rVemD.js} +2 -2
- package/dist/prod/packages/shared-chunks/setup-registry-kOGgOucf.js +886 -0
- package/dist/prod/packages/shared-chunks/{textarea-DOmZ1x0E.js → textarea-DMmdvgk2.js} +1 -1
- package/dist/prod/packages/shared-chunks/tracked-DvOpYI0o.js +235 -0
- package/dist/prod/packages/shared-chunks/tracked-value-CR6kx-73.js +115 -0
- package/dist/prod/packages/shared-chunks/{unrecognized-url-error-EgNrnFu_.js → unrecognized-url-error-jjQ-FqKB.js} +1 -1
- package/docs/data.json +426 -222
- package/package.json +6 -6
- package/types/stable/@ember/-internals/deprecations/index.d.ts +6 -0
- package/types/stable/@ember/-internals/glimmer/lib/base-renderer.d.ts +150 -0
- package/types/stable/@ember/-internals/glimmer/lib/component-managers/curly-brand.d.ts +10 -0
- package/types/stable/@ember/-internals/glimmer/lib/component-managers/curly.d.ts +3 -2
- package/types/stable/@ember/-internals/glimmer/lib/glimmer-tracking-docs.d.ts +68 -0
- package/types/stable/@ember/-internals/glimmer/lib/helper-brand.d.ts +10 -0
- package/types/stable/@ember/-internals/glimmer/lib/helper.d.ts +4 -6
- package/types/stable/@ember/-internals/glimmer/lib/renderer.d.ts +7 -154
- package/types/stable/@ember/-internals/glimmer/lib/router-resolver.d.ts +17 -0
- package/types/stable/@ember/-internals/metal/lib/tracked.d.ts +53 -6
- package/types/stable/@ember/renderer/index.d.ts +2 -2
- package/types/stable/@glimmer/tracking/index.d.ts +70 -1
- package/types/stable/@glimmer/validator/index.d.ts +1 -0
- package/types/stable/@glimmer/validator/lib/tracked-value.d.ts +58 -0
- package/types/stable/index.d.ts +591 -586
- package/dist/dev/packages/shared-chunks/helper-DIj85_-f.js +0 -326
- package/dist/dev/packages/shared-chunks/setup-registry-9DCmHTFF.js +0 -77
- package/dist/dev/packages/shared-chunks/tracked-DEyf0T_X.js +0 -148
- package/dist/dev/packages/shared-chunks/tracked-data-DgqqRdYO.js +0 -31
- package/dist/prod/packages/shared-chunks/helper-DkXiTBjc.js +0 -310
- package/dist/prod/packages/shared-chunks/setup-registry-U-6VaNQG.js +0 -74
- package/dist/prod/packages/shared-chunks/tracked-B9380JtC.js +0 -132
- package/dist/prod/packages/shared-chunks/tracked-data-CHq42QHb.js +0 -31
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import '../debug/index.js';
|
|
2
2
|
import { E as ENV } from '../../shared-chunks/env-g-kaAFLN.js';
|
|
3
3
|
import { s as setClassicDecorator, i as isElementDescriptor } from '../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
4
|
-
import { e as expandProperties } from '../../shared-chunks/computed-
|
|
5
|
-
export { c as computed, d as defineProperty, n as notifyPropertyChange } from '../../shared-chunks/computed-
|
|
4
|
+
import { e as expandProperties } from '../../shared-chunks/computed-DGxbeUbf.js';
|
|
5
|
+
export { c as computed, d as defineProperty, n as notifyPropertyChange } from '../../shared-chunks/computed-DGxbeUbf.js';
|
|
6
6
|
import { g as getFactoryFor } from '../../shared-chunks/container-BzzHmCNj.js';
|
|
7
7
|
import { s as setObservers } from '../../shared-chunks/super-BBBjgF69.js';
|
|
8
8
|
import CoreObject from './core.js';
|
|
9
9
|
import Observable from './observable.js';
|
|
10
10
|
export { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
11
|
-
export { s as set, t as trySet } from '../../shared-chunks/property_set-
|
|
11
|
+
export { s as set, t as trySet } from '../../shared-chunks/property_set-CVlVgdor.js';
|
|
12
12
|
export { g as getProperties } from '../../shared-chunks/get_properties-Cm2sWt5f.js';
|
|
13
|
-
export { s as setProperties } from '../../shared-chunks/set_properties-
|
|
13
|
+
export { s as setProperties } from '../../shared-chunks/set_properties-CEUT_EJn.js';
|
|
14
14
|
import { assert } from '../debug/lib/assert.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as computed, e as expandProperties } from '../../../../shared-chunks/computed-
|
|
1
|
+
import { c as computed, e as expandProperties } from '../../../../shared-chunks/computed-DGxbeUbf.js';
|
|
2
2
|
import { i as isElementDescriptor } from '../../../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
3
|
-
import { a as alias } from '../../../../shared-chunks/alias-
|
|
3
|
+
import { a as alias } from '../../../../shared-chunks/alias-CT_thCad.js';
|
|
4
4
|
import { g as get } from '../../../../shared-chunks/property_get-CRP7MFz_.js';
|
|
5
|
-
import { s as set } from '../../../../shared-chunks/property_set-
|
|
5
|
+
import { s as set } from '../../../../shared-chunks/property_set-CVlVgdor.js';
|
|
6
6
|
import { deprecate } from '../../../debug/index.js';
|
|
7
7
|
import isEmpty from '../../../utils/lib/is_empty.js';
|
|
8
8
|
import isNone from '../../../utils/lib/is_none.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../../debug/index.js';
|
|
2
|
-
import { c as computed, i as autoComputed } from '../../../../shared-chunks/computed-
|
|
2
|
+
import { c as computed, i as autoComputed } from '../../../../shared-chunks/computed-DGxbeUbf.js';
|
|
3
3
|
import { i as isElementDescriptor } from '../../../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
4
4
|
import { g as get } from '../../../../shared-chunks/property_get-CRP7MFz_.js';
|
|
5
5
|
import compare from '../../../utils/lib/compare.js';
|
|
@@ -3,7 +3,7 @@ import { peekMeta, meta } from '../-internals/meta/lib/meta.js';
|
|
|
3
3
|
import { R as ROOT, o as observerListenerMetaFor, w as wrap } from '../../shared-chunks/super-BBBjgF69.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import { n as nativeDescDecorator, a as isClassicDecorator, b as descriptorForDecorator, m as makeComputedDecorator } from '../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
6
|
-
import { g as defineValue, h as defineDecorator, C as ComputedProperty } from '../../shared-chunks/computed-
|
|
6
|
+
import { g as defineValue, h as defineDecorator, C as ComputedProperty } from '../../shared-chunks/computed-DGxbeUbf.js';
|
|
7
7
|
import { s as setUnprocessedMixins } from '../../shared-chunks/namespace_search-BfvzEQzN.js';
|
|
8
8
|
import { c as revalidateObservers, b as addObserver, r as removeObserver } from '../../shared-chunks/observers-DMlX2nCi.js';
|
|
9
9
|
import { a as addListener, r as removeListener } from '../../shared-chunks/events-6aFVjD4k.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { peekMeta } from '../-internals/meta/lib/meta.js';
|
|
2
2
|
import { h as hasListeners } from '../../shared-chunks/events-6aFVjD4k.js';
|
|
3
|
-
import { n as notifyPropertyChange, a as endPropertyChanges, b as beginPropertyChanges } from '../../shared-chunks/computed-
|
|
3
|
+
import { n as notifyPropertyChange, a as endPropertyChanges, b as beginPropertyChanges } from '../../shared-chunks/computed-DGxbeUbf.js';
|
|
4
4
|
import { r as removeObserver, b as addObserver } from '../../shared-chunks/observers-DMlX2nCi.js';
|
|
5
5
|
import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
6
|
-
import { s as set } from '../../shared-chunks/property_set-
|
|
6
|
+
import { s as set } from '../../shared-chunks/property_set-CVlVgdor.js';
|
|
7
7
|
import { g as getProperties } from '../../shared-chunks/get_properties-Cm2sWt5f.js';
|
|
8
|
-
import { s as setProperties } from '../../shared-chunks/set_properties-
|
|
8
|
+
import { s as setProperties } from '../../shared-chunks/set_properties-CEUT_EJn.js';
|
|
9
9
|
import Mixin from './mixin.js';
|
|
10
10
|
import '../debug/index.js';
|
|
11
11
|
import { assert } from '../debug/lib/assert.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
2
|
-
import { s as setProperties } from '../../shared-chunks/set_properties-
|
|
3
|
-
import { c as computed } from '../../shared-chunks/computed-
|
|
2
|
+
import { s as setProperties } from '../../shared-chunks/set_properties-CEUT_EJn.js';
|
|
3
|
+
import { c as computed } from '../../shared-chunks/computed-DGxbeUbf.js';
|
|
4
4
|
import Mixin from './mixin.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as renderComponent, a as renderSettled } from '../../shared-chunks/index-
|
|
1
|
+
export { r as renderComponent, a as renderSettled } from '../../shared-chunks/index-D1AjYv31.js';
|
|
@@ -10,4 +10,4 @@ import '../debug/index.js';
|
|
|
10
10
|
import '../engine/instance.js';
|
|
11
11
|
import '../../route-recognizer/index.js';
|
|
12
12
|
import '../../shared-chunks/rsvp.es-DR7yS7qg.js';
|
|
13
|
-
import '../../shared-chunks/unrecognized-url-error-
|
|
13
|
+
import '../../shared-chunks/unrecognized-url-error-B8loxkay.js';
|
|
@@ -11,7 +11,6 @@ import '../../../shared-chunks/observers-DMlX2nCi.js';
|
|
|
11
11
|
import '../../../shared-chunks/property_get-CRP7MFz_.js';
|
|
12
12
|
import { readOnly } from '../../object/lib/computed/computed_macros.js';
|
|
13
13
|
import '../../object/core.js';
|
|
14
|
-
import '../../-internals/runtime/lib/mixins/comparable.js';
|
|
15
14
|
import '../../array/index.js';
|
|
16
15
|
import Service from '../../service/index.js';
|
|
17
16
|
import EmberRouter from '../router.js';
|
|
@@ -4,7 +4,7 @@ import '../../debug/index.js';
|
|
|
4
4
|
import EngineInstance from '../../engine/instance.js';
|
|
5
5
|
import '../../../route-recognizer/index.js';
|
|
6
6
|
import '../../../shared-chunks/rsvp.es-DR7yS7qg.js';
|
|
7
|
-
import { S as STATE_SYMBOL } from '../../../shared-chunks/unrecognized-url-error-
|
|
7
|
+
import { S as STATE_SYMBOL } from '../../../shared-chunks/unrecognized-url-error-B8loxkay.js';
|
|
8
8
|
import { assert } from '../../debug/lib/assert.js';
|
|
9
9
|
|
|
10
10
|
const ALL_PERIODS_REGEX = /\./g;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { privatize } from '../-internals/container/index.js';
|
|
2
2
|
import { f as flushAsyncObservers, b as addObserver } from '../../shared-chunks/observers-DMlX2nCi.js';
|
|
3
|
-
import { c as computed, d as defineProperty } from '../../shared-chunks/computed-
|
|
3
|
+
import { c as computed, d as defineProperty } from '../../shared-chunks/computed-DGxbeUbf.js';
|
|
4
4
|
import { d as descriptorForProperty } from '../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
5
5
|
import { getOwner } from '../-internals/owner/index.js';
|
|
6
6
|
import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
7
|
-
import { s as set } from '../../shared-chunks/property_set-
|
|
7
|
+
import { s as set } from '../../shared-chunks/property_set-CVlVgdor.js';
|
|
8
8
|
import { g as getProperties } from '../../shared-chunks/get_properties-Cm2sWt5f.js';
|
|
9
|
-
import { s as setProperties } from '../../shared-chunks/set_properties-
|
|
9
|
+
import { s as setProperties } from '../../shared-chunks/set_properties-CEUT_EJn.js';
|
|
10
10
|
import EmberObject from '../object/index.js';
|
|
11
11
|
import Evented from '../object/evented.js';
|
|
12
12
|
import { A } from '../array/index.js';
|
|
@@ -23,7 +23,7 @@ import { once } from '../runloop/index.js';
|
|
|
23
23
|
import { c as hasInternalComponentManager } from '../../shared-chunks/api-DuLOZMO_.js';
|
|
24
24
|
import '../../route-recognizer/index.js';
|
|
25
25
|
import '../../shared-chunks/rsvp.es-DR7yS7qg.js';
|
|
26
|
-
import { S as STATE_SYMBOL, P as PARAMS_SYMBOL } from '../../shared-chunks/unrecognized-url-error-
|
|
26
|
+
import { S as STATE_SYMBOL, P as PARAMS_SYMBOL } from '../../shared-chunks/unrecognized-url-error-B8loxkay.js';
|
|
27
27
|
import generateController from './lib/generate_controller.js';
|
|
28
28
|
import { prefixRouteNameArg, stashParamNames, calculateCacheKey, normalizeControllerQueryParams } from './lib/utils.js';
|
|
29
29
|
import { a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
|
|
@@ -13,7 +13,6 @@ import '../../shared-chunks/observers-DMlX2nCi.js';
|
|
|
13
13
|
import '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
14
14
|
import { readOnly } from '../object/lib/computed/computed_macros.js';
|
|
15
15
|
import '../object/core.js';
|
|
16
|
-
import '../-internals/runtime/lib/mixins/comparable.js';
|
|
17
16
|
import '../array/index.js';
|
|
18
17
|
import Service from '../service/index.js';
|
|
19
18
|
import EmberRouter from './router.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { privatize } from '../-internals/container/index.js';
|
|
2
|
-
import { c as computed } from '../../shared-chunks/computed-
|
|
2
|
+
import { c as computed } from '../../shared-chunks/computed-DGxbeUbf.js';
|
|
3
3
|
import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
4
|
-
import { s as set } from '../../shared-chunks/property_set-
|
|
4
|
+
import { s as set } from '../../shared-chunks/property_set-CVlVgdor.js';
|
|
5
5
|
import { getOwner } from '../owner/index.js';
|
|
6
6
|
import BucketCache from './lib/cache.js';
|
|
7
7
|
import DSLImpl from './lib/dsl.js';
|
|
@@ -15,7 +15,7 @@ import { info } from '../debug/index.js';
|
|
|
15
15
|
import { run, once, scheduleOnce, cancel } from '../runloop/index.js';
|
|
16
16
|
import { getRenderState, getFullQueryParams, hasDefaultSerialize, defaultSerialize } from './route.js';
|
|
17
17
|
import Router from '../../router_js/index.js';
|
|
18
|
-
import { S as STATE_SYMBOL, l as logAbort } from '../../shared-chunks/unrecognized-url-error-
|
|
18
|
+
import { S as STATE_SYMBOL, l as logAbort } from '../../shared-chunks/unrecognized-url-error-B8loxkay.js';
|
|
19
19
|
import '../../shared-chunks/rsvp.es-DR7yS7qg.js';
|
|
20
20
|
import EngineInstance from '../engine/instance.js';
|
|
21
21
|
import { assert } from '../debug/lib/assert.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FrameworkObject } from '../object/-internals.js';
|
|
2
2
|
import { deprecateUntil, DEPRECATIONS } from '../-internals/deprecations/index.js';
|
|
3
|
-
import { i as inject$1 } from '../../shared-chunks/injected_property-
|
|
3
|
+
import { i as inject$1 } from '../../shared-chunks/injected_property-DbXd6Gax.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
@module @ember/service
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import typeOf from './type-of.js';
|
|
2
|
-
import Comparable from '../../-internals/runtime/lib/mixins/comparable.js';
|
|
3
2
|
import '../../debug/index.js';
|
|
4
3
|
import { assert } from '../../debug/lib/assert.js';
|
|
5
4
|
|
|
@@ -152,7 +151,11 @@ function compare(v, w) {
|
|
|
152
151
|
}
|
|
153
152
|
}
|
|
154
153
|
function isComparable(value) {
|
|
155
|
-
|
|
154
|
+
if (typeof value !== 'object' || value === null) {
|
|
155
|
+
return false;
|
|
156
|
+
}
|
|
157
|
+
let maybeComparable = value;
|
|
158
|
+
return typeof maybeComparable.constructor?.compare === 'function' || typeof maybeComparable.compare === 'function';
|
|
156
159
|
}
|
|
157
160
|
|
|
158
161
|
export { compare as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ConcreteBounds } from '../../shared-chunks/normalize-CKySQVU7.js';
|
|
2
|
-
import { D as DOMTreeConstruction } from '../../shared-chunks/api-
|
|
2
|
+
import { D as DOMTreeConstruction } from '../../shared-chunks/api-Dz70AUL_.js';
|
|
3
3
|
import createHTMLDocument from '../../@simple-dom/document/index.js';
|
|
4
|
-
export { s as serializeBuilder } from '../../shared-chunks/serialize-builder-
|
|
4
|
+
export { s as serializeBuilder } from '../../shared-chunks/serialize-builder-D1oAeiyl.js';
|
|
5
5
|
|
|
6
6
|
class NodeDOMTreeConstruction extends DOMTreeConstruction {
|
|
7
7
|
// Hides property on base class
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { C as ConcreteBounds, a as CursorImpl, c as clear } from '../../shared-chunks/normalize-CKySQVU7.js';
|
|
2
|
-
export { D as DOMChanges, a as DynamicScopeImpl, E as EnvironmentImpl, b as IDOMChanges, L as LowLevelVM, S as ScopeImpl, U as UpdatingVM, i as inTransaction, c as isWhitespace, r as renderComponent, d as renderMain, e as renderSync, f as resetDebuggerCallback, g as runtimeOptions, s as setDebuggerCallback } from '../../shared-chunks/render-
|
|
2
|
+
export { D as DOMChanges, a as DynamicScopeImpl, E as EnvironmentImpl, b as IDOMChanges, L as LowLevelVM, S as ScopeImpl, U as UpdatingVM, i as inTransaction, c as isWhitespace, r as renderComponent, d as renderMain, e as renderSync, f as resetDebuggerCallback, g as runtimeOptions, s as setDebuggerCallback } from '../../shared-chunks/render-CtH73XOv.js';
|
|
3
3
|
export { T as TEMPLATE_ONLY_COMPONENT_MANAGER, a as TemplateOnlyComponent, b as TemplateOnlyComponentManager, t as templateOnlyComponent } from '../../shared-chunks/template-only-Cu639ICT.js';
|
|
4
4
|
export { C as CurriedValue, E as EMPTY_ARGS, a as EMPTY_NAMED, b as EMPTY_POSITIONAL, c as createCapturedArgs, d as curry, r as reifyArgs, e as reifyNamed, f as reifyPositional } from '../../shared-chunks/arguments-CDkbOqTS.js';
|
|
5
5
|
export { n as normalizeProperty } from '../../shared-chunks/props-fiqxqhAH.js';
|
|
@@ -12,5 +12,5 @@ export { destroy, isDestroyed, isDestroying, registerDestructor } from '../destr
|
|
|
12
12
|
import '../global-context/index.js';
|
|
13
13
|
import '../../shared-chunks/cache-DGDPVCpC.js';
|
|
14
14
|
import '../../shared-chunks/reference-BqOLhKFy.js';
|
|
15
|
-
export { D as DOMTreeConstruction, a as DynamicAttribute, N as NewTreeBuilder, R as RemoteBlock, b as ResettableBlockImpl, S as SimpleDynamicAttribute, c as clientBuilder, d as dynamicAttribute } from '../../shared-chunks/api-
|
|
16
|
-
export { R as RehydrateTree, S as SERIALIZATION_FIRST_NODE_STRING, i as isSerializationFirstNode, r as rehydrationBuilder } from '../../shared-chunks/rehydrate-builder-
|
|
15
|
+
export { D as DOMTreeConstruction, a as DynamicAttribute, N as NewTreeBuilder, R as RemoteBlock, b as ResettableBlockImpl, S as SimpleDynamicAttribute, c as clientBuilder, d as dynamicAttribute } from '../../shared-chunks/api-Dz70AUL_.js';
|
|
16
|
+
export { R as RehydrateTree, S as SERIALIZATION_FIRST_NODE_STRING, i as isSerializationFirstNode, r as rehydrationBuilder } from '../../shared-chunks/rehydrate-builder-CsnkZkur.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { t as tracked } from '../../shared-chunks/tracked-
|
|
1
|
+
export { t as tracked } from '../../shared-chunks/tracked-57EW14Ny.js';
|
|
2
2
|
import { g as createCache, h as getValue } from '../../shared-chunks/cache-DGDPVCpC.js';
|
|
3
3
|
|
|
4
4
|
// NOTE: copied from: https://github.com/glimmerjs/glimmer.js/pull/358
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { trackedArray, trackedMap, trackedObject, trackedSet, trackedWeakMap, trackedWeakSet } from '../../@ember/reactive/collections.js';
|
|
2
2
|
export { A as ALLOW_CYCLES, i as COMPUTE, j as CONSTANT, C as CONSTANT_TAG, k as CURRENT_TAG, l as CurrentTag, I as INITIAL, V as VOLATILE, m as VOLATILE_TAG, n as VolatileTag, o as beginTrackFrame, p as beginUntrackFrame, q as bump, f as combine, c as consumeTag, g as createCache, r as createTag, b as createUpdatableTag, e as debug, D as dirtyTag, s as endTrackFrame, w as endUntrackFrame, h as getValue, x as isConst, y as isConstTag, z as isTracking, B as resetTracking, t as track, u as untrack, U as updateTag, v as validateTag, a as valueForTag } from '../../shared-chunks/cache-DGDPVCpC.js';
|
|
3
3
|
export { d as dirtyTagFor, t as tagFor, a as tagMetaFor } from '../../shared-chunks/meta-BqC7f9Ia.js';
|
|
4
|
-
export {
|
|
4
|
+
export { T as TrackedValue, a as trackedData, t as trackedValue } from '../../shared-chunks/tracked-value-DhyJmrhG.js';
|
|
5
5
|
|
|
6
6
|
const GLIMMER_VALIDATOR_REGISTRATION = Symbol('GLIMMER_VALIDATOR_REGISTRATION');
|
|
7
7
|
if (Reflect.has(globalThis, GLIMMER_VALIDATOR_REGISTRATION)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import RouteRecognizer from '../route-recognizer/index.js';
|
|
2
2
|
import { P as Promise$1 } from '../shared-chunks/rsvp.es-DR7yS7qg.js';
|
|
3
|
-
import { Q as QUERY_PARAMS_SYMBOL, m as merge, i as isTransition, a as isParam, t as throwIfAborted, P as PARAMS_SYMBOL, p as prepareResult, b as isPromise, f as forEach, c as promiseLabel, U as UnrecognizedURLError, T as Transition, S as STATE_SYMBOL, g as getChangelist, d as log, l as logAbort, e as isTransitionAborted, h as extractQueryParams } from '../shared-chunks/unrecognized-url-error-
|
|
3
|
+
import { Q as QUERY_PARAMS_SYMBOL, m as merge, i as isTransition, a as isParam, t as throwIfAborted, P as PARAMS_SYMBOL, p as prepareResult, b as isPromise, f as forEach, c as promiseLabel, U as UnrecognizedURLError, T as Transition, S as STATE_SYMBOL, g as getChangelist, d as log, l as logAbort, e as isTransitionAborted, h as extractQueryParams } from '../shared-chunks/unrecognized-url-error-B8loxkay.js';
|
|
4
4
|
|
|
5
5
|
/* eslint-disable no-prototype-builtins */
|
|
6
6
|
let ROUTE_INFOS = new WeakMap();
|
|
@@ -253,7 +253,7 @@ class InternalRouteInfo {
|
|
|
253
253
|
// Ignore the fulfilled value returned from afterModel.
|
|
254
254
|
// Return the value stashed in resolvedModels, which
|
|
255
255
|
// might have been swapped out in afterModel.
|
|
256
|
-
//
|
|
256
|
+
// SAFETY: We expect this to be of type T, though typing it as such is challenging.
|
|
257
257
|
return transition.resolvedModels[name];
|
|
258
258
|
});
|
|
259
259
|
}
|
|
@@ -5,9 +5,9 @@ import { u as untrack, v as validateTag, U as UPDATE_TAG, a as valueForTag, c as
|
|
|
5
5
|
import { a as tagMetaFor, t as tagFor } from './meta-BqC7f9Ia.js';
|
|
6
6
|
import { C as CHAIN_PASS_THROUGH, g as getChainTagsForKey, f as finishLazyChains } from './chain-tags-uWSImHzB.js';
|
|
7
7
|
import { i as isElementDescriptor, m as makeComputedDecorator, b as descriptorForDecorator, c as ComputedDescriptor } from './decorator-B5Uh5NFI.js';
|
|
8
|
-
import { d as defineProperty } from './computed-
|
|
8
|
+
import { d as defineProperty } from './computed-DGxbeUbf.js';
|
|
9
9
|
import { g as get } from './property_get-CRP7MFz_.js';
|
|
10
|
-
import { s as set } from './property_set-
|
|
10
|
+
import { s as set } from './property_set-CVlVgdor.js';
|
|
11
11
|
import { assert } from '../@ember/debug/lib/assert.js';
|
|
12
12
|
|
|
13
13
|
function alias(altKey) {
|
|
@@ -28,16 +28,18 @@ function has(array, item) {
|
|
|
28
28
|
function checkURI(tagName, attribute) {
|
|
29
29
|
// SVG tagNames are case-preserved, so the SVG `<a>` element comes through as
|
|
30
30
|
// lowercase `a` and never matches the uppercase `badTags` entries unless we
|
|
31
|
-
// normalize first.
|
|
32
|
-
|
|
31
|
+
// normalize first. The attribute name can likewise arrive camelCased (e.g.
|
|
32
|
+
// `formAction`) when the template author writes it that way and it resolves to
|
|
33
|
+
// a DOM property, so lower-case it before matching the lowercase lists.
|
|
34
|
+
return (tagName === null || has(badTags, tagName.toUpperCase())) && has(badAttributes, attribute.toLowerCase());
|
|
33
35
|
}
|
|
34
36
|
function checkDataURI(tagName, attribute) {
|
|
35
37
|
if (tagName === null) return false;
|
|
36
|
-
return has(badTagsForDataURI, tagName.toUpperCase()) && has(badAttributesForDataURI, attribute);
|
|
38
|
+
return has(badTagsForDataURI, tagName.toUpperCase()) && has(badAttributesForDataURI, attribute.toLowerCase());
|
|
37
39
|
}
|
|
38
40
|
function checkDataProtocol(tagName, attribute) {
|
|
39
41
|
if (tagName === null) return false;
|
|
40
|
-
return has(badTagsForDataProtocol, tagName.toUpperCase()) && has(badAttributesForDataProtocol, attribute);
|
|
42
|
+
return has(badTagsForDataProtocol, tagName.toUpperCase()) && has(badAttributesForDataProtocol, attribute.toLowerCase());
|
|
41
43
|
}
|
|
42
44
|
function requiresSanitization(tagName, attribute) {
|
|
43
45
|
return checkURI(tagName, attribute) || checkDataURI(tagName, attribute) || checkDataProtocol(tagName, attribute);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../@ember/debug/index.js';
|
|
2
2
|
import { peekMeta } from '../@ember/-internals/meta/lib/meta.js';
|
|
3
3
|
import { s as sendEvent, a as addListener, r as removeListener } from './events-6aFVjD4k.js';
|
|
4
|
-
import { n as notifyPropertyChange } from './computed-
|
|
4
|
+
import { n as notifyPropertyChange } from './computed-DGxbeUbf.js';
|
|
5
5
|
import { assert } from '../@ember/debug/lib/assert.js';
|
|
6
6
|
|
|
7
7
|
function arrayContentWillChange(array, startIdx, removeAmt, addAmt) {
|
|
@@ -153,13 +153,8 @@ function defineProperty(obj, keyName, desc, data, _meta) {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
function defineDecorator(obj, keyName, desc, meta) {
|
|
156
|
-
let propertyDesc;
|
|
157
|
-
{
|
|
158
|
-
propertyDesc = desc(obj, keyName, undefined, meta, true);
|
|
159
|
-
}
|
|
156
|
+
let propertyDesc = desc(obj, keyName, undefined, meta, true);
|
|
160
157
|
Object.defineProperty(obj, keyName, propertyDesc);
|
|
161
|
-
|
|
162
|
-
// pass the decorator function forward for backwards compat
|
|
163
158
|
return desc;
|
|
164
159
|
}
|
|
165
160
|
function defineValue(obj, keyName, value, wasDescriptor, enumerable = true) {
|
|
@@ -12,6 +12,7 @@ import { dasherize } from '../@ember/-internals/string/index.js';
|
|
|
12
12
|
import { assert } from '../@ember/debug/lib/assert.js';
|
|
13
13
|
import { registerDestructor } from '../@glimmer/destroyable/index.js';
|
|
14
14
|
import { MUTABLE_CELL } from '../@ember/-internals/views/lib/compat/attrs.js';
|
|
15
|
+
import { C as CURLY_MANAGER_BRAND } from './curly-brand-B_F79Dep.js';
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* @deprecated
|
|
@@ -241,6 +242,7 @@ function applyAttributeBindings(attributeBindings, component, rootRef, operation
|
|
|
241
242
|
const EMPTY_POSITIONAL_ARGS = [];
|
|
242
243
|
debugFreeze(EMPTY_POSITIONAL_ARGS);
|
|
243
244
|
class CurlyComponentManager {
|
|
245
|
+
[CURLY_MANAGER_BRAND] = true;
|
|
244
246
|
templateFor(component) {
|
|
245
247
|
let {
|
|
246
248
|
layout,
|
|
@@ -609,9 +611,6 @@ const CURLY_CAPABILITIES = {
|
|
|
609
611
|
willDestroy: true,
|
|
610
612
|
hasSubOwner: false
|
|
611
613
|
};
|
|
612
|
-
const CURLY_COMPONENT_MANAGER = new CurlyComponentManager();
|
|
613
|
-
function isCurlyManager(manager) {
|
|
614
|
-
return manager === CURLY_COMPONENT_MANAGER;
|
|
615
|
-
}
|
|
614
|
+
const CURLY_COMPONENT_MANAGER = /*@__PURE__*/new CurlyComponentManager();
|
|
616
615
|
|
|
617
|
-
export { BOUNDS as B,
|
|
616
|
+
export { BOUNDS as B, CurlyComponentManager as C, DIRTY_TAG as D, IS_DISPATCHING_ATTRS as I, ComponentStateBucket as a, CURLY_COMPONENT_MANAGER as b, getComponentCapturedArgs as g, initialRenderInstrumentDetails as i, processComponentInitializationAssertions as p, unwrapTemplate as u };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The brand for the curly component manager lives in its own module so that
|
|
3
|
+
* code which only needs to *detect* the curly manager (e.g. the resolver)
|
|
4
|
+
* does not have to import the manager itself (and with it the classic
|
|
5
|
+
* component machinery).
|
|
6
|
+
*/
|
|
7
|
+
const CURLY_MANAGER_BRAND = Symbol('CURLY_MANAGER_BRAND');
|
|
8
|
+
function isCurlyManager(manager) {
|
|
9
|
+
return manager[CURLY_MANAGER_BRAND] === true;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { CURLY_MANAGER_BRAND as C, isCurlyManager as i };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The brand for classic (class-based) helpers lives in its own module so that
|
|
3
|
+
* code which only needs to *detect* classic helpers (e.g. the resolver) does
|
|
4
|
+
* not have to import the classic `Helper` base class (and with it the classic
|
|
5
|
+
* object model: `EmberObject`, `Mixin`, meta, etc.).
|
|
6
|
+
*/
|
|
7
|
+
const IS_CLASSIC_HELPER = Symbol('IS_CLASSIC_HELPER');
|
|
8
|
+
function isClassicHelper(obj) {
|
|
9
|
+
return obj[IS_CLASSIC_HELPER] === true;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { IS_CLASSIC_HELPER as I, isClassicHelper as i };
|