ember-source 7.3.0 → 7.4.0-beta.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/build-metadata.json +3 -3
- package/dist/dev/packages/@ember/-internals/deprecations/index.js +45 -0
- package/dist/dev/packages/@ember/-internals/glimmer/index.js +9 -9
- package/dist/dev/packages/@ember/-internals/metal/index.js +12 -12
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +6 -6
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +2 -2
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/comparable.js +2 -2
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +2 -2
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +2 -2
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
- package/dist/dev/packages/@ember/-internals/views/index.js +1 -0
- package/dist/dev/packages/@ember/-internals/views/lib/mixins/action_support.js +2 -2
- 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-utils.js +14 -0
- package/dist/dev/packages/@ember/-internals/views/lib/views/core_view.js +25 -21
- package/dist/dev/packages/@ember/-internals/views/lib/views/states.js +5 -2
- package/dist/dev/packages/@ember/application/index.js +1 -1
- package/dist/dev/packages/@ember/application/instance.js +16 -13
- package/dist/dev/packages/@ember/application/namespace.js +1 -1
- package/dist/dev/packages/@ember/array/index.js +8 -8
- package/dist/dev/packages/@ember/array/proxy.js +8 -5
- package/dist/dev/packages/@ember/component/helper.js +2 -2
- package/dist/dev/packages/@ember/component/index.js +7 -7
- package/dist/dev/packages/@ember/component/template-only.js +1 -1
- package/dist/dev/packages/@ember/controller/index.js +4 -4
- package/dist/dev/packages/@ember/engine/index.js +2 -2
- package/dist/dev/packages/@ember/enumerable/index.js +2 -2
- package/dist/dev/packages/@ember/enumerable/mutable.js +2 -2
- package/dist/dev/packages/@ember/helper/index.js +8 -8
- package/dist/dev/packages/@ember/modifier/index.js +2 -2
- package/dist/dev/packages/@ember/modifier/on.js +1 -1
- package/dist/dev/packages/@ember/object/-internals.js +1 -1
- package/dist/dev/packages/@ember/object/computed.js +2 -2
- package/dist/dev/packages/@ember/object/core.js +7 -7
- package/dist/dev/packages/@ember/object/evented.js +3 -71
- package/dist/dev/packages/@ember/object/events.js +17 -1
- 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 +11 -592
- package/dist/dev/packages/@ember/object/observable.js +7 -7
- package/dist/dev/packages/@ember/object/observers.js +1 -1
- package/dist/dev/packages/@ember/object/promise-proxy-mixin.js +10 -4
- package/dist/dev/packages/@ember/object/proxy.js +8 -1
- package/dist/dev/packages/@ember/renderer/index.js +1 -1
- package/dist/dev/packages/@ember/routing/index.js +1 -1
- package/dist/dev/packages/@ember/routing/lib/routing-service.js +2 -2
- package/dist/dev/packages/@ember/routing/route.js +34 -9
- package/dist/dev/packages/@ember/routing/router-service.js +71 -6
- package/dist/dev/packages/@ember/routing/router.js +32 -6
- package/dist/dev/packages/@ember/runloop/index.js +1 -1
- package/dist/dev/packages/@ember/service/index.js +1 -1
- package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +3 -3
- package/dist/dev/packages/@glimmer/destroyable/index.js +43 -14
- package/dist/dev/packages/@glimmer/manager/index.js +3 -3
- package/dist/dev/packages/@glimmer/node/index.js +2 -2
- package/dist/dev/packages/@glimmer/program/index.js +1 -1
- package/dist/dev/packages/@glimmer/reference/index.js +2 -2
- package/dist/dev/packages/@glimmer/runtime/index.js +11 -11
- package/dist/dev/packages/@glimmer/tracking/index.js +1 -1
- package/dist/dev/packages/ember/version.js +1 -1
- package/dist/dev/packages/shared-chunks/{alias-3DBxvoim.js → alias-CSzPOqZC.js} +3 -3
- package/dist/dev/packages/shared-chunks/{api-BlZDPg1n.js → api-B0N4oLJG.js} +3 -3
- package/dist/dev/packages/shared-chunks/{api-Dz70AUL_.js → api-CK8FxDZV.js} +2 -0
- package/dist/dev/packages/shared-chunks/{api-DuLOZMO_.js → api-PyzZqscb.js} +2 -2
- package/dist/dev/packages/shared-chunks/{args-proxy-CS5Brs3_.js → args-proxy-C39f5UPF.js} +1 -1
- package/dist/dev/packages/shared-chunks/{arguments-BVmnQtAM.js → arguments-LEaMCStR.js} +2 -2
- package/dist/dev/packages/shared-chunks/{array-DvaweI_T.js → array-CxZAmpTY.js} +2 -2
- package/dist/dev/packages/shared-chunks/{chain-tags-uWSImHzB.js → chain-tags-uYrtCZq1.js} +1 -1
- package/dist/dev/packages/shared-chunks/{computed-DGxbeUbf.js → computed-CXIM4Sjc.js} +3 -3
- package/dist/dev/packages/shared-chunks/{curly-qZIwixUW.js → curly-DbGgDeux.js} +18 -17
- package/dist/dev/packages/shared-chunks/destroyable-key-BsfVBM7f.js +12 -0
- package/dist/dev/packages/shared-chunks/{element-Cgoi4ldD.js → element-DLh78jeJ.js} +3 -3
- package/dist/dev/packages/shared-chunks/evented-cAr_RO4u.js +100 -0
- package/dist/dev/packages/shared-chunks/{events-6aFVjD4k.js → events-e_Do73jh.js} +3 -0
- package/dist/dev/packages/shared-chunks/{get-BVBR6Afa.js → get-fzmvcT9R.js} +3 -3
- package/dist/dev/packages/shared-chunks/{hash-BcOgEgJg.js → hash-D1O4fZ99.js} +3 -3
- package/dist/dev/packages/shared-chunks/{index-COgCjiy-.js → index-D8La4_AP.js} +37 -13
- package/dist/dev/packages/shared-chunks/{injected_property-DbXd6Gax.js → injected_property-DyyWscn-.js} +1 -1
- package/dist/dev/packages/shared-chunks/{internal-DTOXyEGM.js → internal-CZjbPyX3.js} +2 -2
- package/dist/dev/packages/shared-chunks/{internal-helper-CKrni0b_.js → internal-helper-BkRVvV7p.js} +1 -1
- package/dist/dev/packages/shared-chunks/{invoke-BzXY_4h3.js → invoke-BPNErlhO.js} +2 -2
- package/dist/dev/packages/shared-chunks/mixin-M88Ghbyw.js +612 -0
- package/dist/dev/packages/shared-chunks/{namespace_search-BfvzEQzN.js → namespace_search-TFdmjK_a.js} +1 -1
- package/dist/dev/packages/shared-chunks/{not-CmLRAsFE.js → not-DNpbxEvj.js} +2 -2
- package/dist/dev/packages/shared-chunks/{observers-DMlX2nCi.js → observers-BsxKjjpC.js} +2 -2
- package/dist/dev/packages/shared-chunks/{on-DXmOUOBH.js → on-Dfya_9b_.js} +3 -3
- package/dist/dev/packages/shared-chunks/{outlet-D6v6ZBvX.js → outlet-wIOlGMfN.js} +3 -3
- package/dist/dev/packages/shared-chunks/{property_set-DezUwDX4.js → property_set-CxxTalOq.js} +1 -1
- package/dist/dev/packages/shared-chunks/{reference-BqOLhKFy.js → reference-De0V3Vxp.js} +2 -0
- package/dist/dev/packages/shared-chunks/{rehydrate-builder-CsnkZkur.js → rehydrate-builder-B3wE1O5a.js} +1 -1
- package/dist/dev/packages/shared-chunks/{render-B5RULomD.js → render-CNXCIKfb.js} +16 -5
- package/dist/dev/packages/shared-chunks/{serialize-builder-D1oAeiyl.js → serialize-builder-v4amW_JS.js} +1 -1
- package/dist/{prod/packages/shared-chunks/set_properties-DYiBfzdk.js → dev/packages/shared-chunks/set_properties-KoN0q2wj.js} +2 -2
- package/dist/dev/packages/shared-chunks/{setup-registry-CVtsD0q2.js → setup-registry-BPb25ZxQ.js} +16 -15
- package/dist/dev/packages/shared-chunks/{template-only-Cu639ICT.js → template-only-DHdQevpG.js} +2 -2
- package/dist/dev/packages/shared-chunks/{textarea-DvS6Xmdh.js → textarea-Obtv2iCY.js} +3 -3
- package/dist/dev/packages/shared-chunks/{tracked-57EW14Ny.js → tracked-CLY9ttD5.js} +1 -1
- package/dist/dev/packages/shared-chunks/{unique-id-Csxuh1I7.js → unique-id-CdB2MG3m.js} +2 -2
- package/dist/prod/packages/@ember/-internals/deprecations/index.js +45 -0
- package/dist/prod/packages/@ember/-internals/glimmer/index.js +9 -9
- package/dist/prod/packages/@ember/-internals/metal/index.js +13 -13
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +6 -6
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/comparable.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
- package/dist/prod/packages/@ember/-internals/views/index.js +1 -0
- package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +2 -2
- 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-utils.js +14 -0
- package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +25 -21
- package/dist/prod/packages/@ember/-internals/views/lib/views/states.js +5 -2
- package/dist/prod/packages/@ember/application/index.js +1 -1
- package/dist/prod/packages/@ember/application/instance.js +14 -12
- package/dist/prod/packages/@ember/application/namespace.js +1 -1
- package/dist/prod/packages/@ember/array/index.js +8 -8
- package/dist/prod/packages/@ember/array/proxy.js +8 -5
- package/dist/prod/packages/@ember/component/helper.js +2 -2
- package/dist/prod/packages/@ember/component/index.js +8 -8
- package/dist/prod/packages/@ember/component/template-only.js +1 -1
- package/dist/prod/packages/@ember/controller/index.js +4 -4
- package/dist/prod/packages/@ember/engine/index.js +2 -2
- package/dist/prod/packages/@ember/enumerable/index.js +2 -2
- package/dist/prod/packages/@ember/enumerable/mutable.js +2 -2
- package/dist/prod/packages/@ember/helper/index.js +8 -8
- package/dist/prod/packages/@ember/modifier/index.js +2 -2
- package/dist/prod/packages/@ember/modifier/on.js +1 -1
- package/dist/prod/packages/@ember/object/-internals.js +1 -0
- package/dist/prod/packages/@ember/object/compat.js +1 -1
- package/dist/prod/packages/@ember/object/computed.js +2 -2
- package/dist/prod/packages/@ember/object/core.js +7 -7
- package/dist/prod/packages/@ember/object/evented.js +3 -71
- package/dist/prod/packages/@ember/object/events.js +17 -1
- package/dist/prod/packages/@ember/object/index.js +5 -5
- package/dist/prod/packages/@ember/object/internals.js +1 -0
- 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 +9 -557
- package/dist/prod/packages/@ember/object/observable.js +7 -7
- package/dist/prod/packages/@ember/object/observers.js +1 -1
- package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +10 -4
- package/dist/prod/packages/@ember/object/proxy.js +8 -1
- package/dist/prod/packages/@ember/renderer/index.js +1 -1
- package/dist/prod/packages/@ember/routing/index.js +1 -1
- package/dist/prod/packages/@ember/routing/lib/routing-service.js +2 -2
- package/dist/prod/packages/@ember/routing/route.js +35 -10
- package/dist/prod/packages/@ember/routing/router-service.js +71 -6
- package/dist/prod/packages/@ember/routing/router.js +32 -6
- package/dist/prod/packages/@ember/runloop/index.js +1 -1
- package/dist/prod/packages/@ember/service/index.js +1 -1
- package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +3 -3
- package/dist/prod/packages/@glimmer/destroyable/index.js +37 -11
- package/dist/prod/packages/@glimmer/manager/index.js +3 -3
- package/dist/prod/packages/@glimmer/node/index.js +2 -2
- package/dist/prod/packages/@glimmer/program/index.js +1 -1
- package/dist/prod/packages/@glimmer/reference/index.js +2 -2
- package/dist/prod/packages/@glimmer/runtime/index.js +11 -11
- package/dist/prod/packages/@glimmer/tracking/index.js +1 -1
- package/dist/prod/packages/ember/version.js +1 -1
- package/dist/prod/packages/shared-chunks/{alias-IFzw6sv_.js → alias-DvgufSYq.js} +4 -4
- package/dist/prod/packages/shared-chunks/{api-DzOa0Acr.js → api-B3M8aF1d.js} +2 -0
- package/dist/prod/packages/shared-chunks/{api-B_poQGXS.js → api-CoUjEXgs.js} +3 -3
- package/dist/prod/packages/shared-chunks/{api-DlJKfm_f.js → api-DJnXAjon.js} +2 -2
- package/dist/prod/packages/shared-chunks/{args-proxy-CCoFtYLS.js → args-proxy-BHODnDyt.js} +1 -1
- package/dist/prod/packages/shared-chunks/{arguments-Carzx7C4.js → arguments-xjTAZ6VE.js} +2 -2
- package/dist/prod/packages/shared-chunks/{array-CnXdmzOG.js → array-CK__rqeu.js} +2 -2
- package/dist/prod/packages/shared-chunks/{chain-tags-B2J7DsxO.js → chain-tags-BlsXEpE-.js} +1 -1
- package/dist/prod/packages/shared-chunks/{computed-BNdMwGhH.js → computed-ZvOk7SJQ.js} +4 -4
- package/dist/prod/packages/shared-chunks/{curly-xbTtts9R.js → curly-Bg--Dj0X.js} +18 -17
- package/dist/prod/packages/shared-chunks/{decorator-9ikVwsjY.js → decorator-DcvVDSJV.js} +1 -1
- package/dist/prod/packages/shared-chunks/destroyable-key-BsfVBM7f.js +12 -0
- package/dist/prod/packages/shared-chunks/{element-BmBjPjkQ.js → element-CZnh4CbF.js} +3 -3
- package/dist/prod/packages/shared-chunks/evented-DYsL5t87.js +100 -0
- package/dist/prod/packages/shared-chunks/{events-DYrYz3V8.js → events-3Q5Qvo6Q.js} +3 -0
- package/dist/prod/packages/shared-chunks/{get-ZhOO_1qS.js → get-B1Vq9Mmk.js} +3 -3
- package/dist/prod/packages/shared-chunks/{hash-b373B4IL.js → hash-pP7ZP_NN.js} +3 -3
- package/dist/prod/packages/shared-chunks/{index-B-2NDHmt.js → index-Dncpaycf.js} +37 -13
- package/dist/prod/packages/shared-chunks/{injected_property-DqQ0XV7k.js → injected_property-4vB_6fM8.js} +2 -2
- package/dist/prod/packages/shared-chunks/{internal-BQ7zHrqS.js → internal-D1sloI2P.js} +2 -2
- package/dist/prod/packages/shared-chunks/{internal-helper-Bz1lpDXr.js → internal-helper-Becm19An.js} +1 -1
- package/dist/prod/packages/shared-chunks/{invoke-B-r9UQVH.js → invoke-BqNxG81o.js} +2 -2
- package/dist/prod/packages/shared-chunks/mixin-AGmJaAAY.js +576 -0
- package/dist/prod/packages/shared-chunks/{namespace_search-BfvzEQzN.js → namespace_search-TFdmjK_a.js} +1 -1
- package/dist/prod/packages/shared-chunks/{not-DOTpWiG3.js → not-BRssU6nS.js} +2 -2
- package/dist/prod/packages/shared-chunks/{observers-BmobpXAF.js → observers-B1wiwQeH.js} +2 -2
- package/dist/prod/packages/shared-chunks/{on-B-5KCq9L.js → on-BFt-Sx9A.js} +3 -3
- package/dist/prod/packages/shared-chunks/{outlet-DDxtxFLV.js → outlet-bc38zkd8.js} +3 -3
- package/dist/prod/packages/shared-chunks/{property_set-BmAQ0MGK.js → property_set-CVmdjPdh.js} +2 -2
- package/dist/prod/packages/shared-chunks/{reference-CG0yPgLy.js → reference-CccCE8mJ.js} +2 -0
- package/dist/prod/packages/shared-chunks/{rehydrate-builder-n_8RCUj9.js → rehydrate-builder-B9bh-2Dy.js} +1 -1
- package/dist/prod/packages/shared-chunks/{render-OqKpH1Pf.js → render-C_iak8Db.js} +16 -5
- package/dist/prod/packages/shared-chunks/{serialize-builder-CsG9WHVw.js → serialize-builder-Du-432zt.js} +1 -1
- package/dist/{dev/packages/shared-chunks/set_properties-BzM_irwA.js → prod/packages/shared-chunks/set_properties-BObIgkE-.js} +2 -2
- package/dist/prod/packages/shared-chunks/{setup-registry-CRFWTdVC.js → setup-registry-Czh4z4t2.js} +16 -15
- package/dist/prod/packages/shared-chunks/{template-only-DKNcKM5b.js → template-only-CWsfnbVm.js} +2 -2
- package/dist/prod/packages/shared-chunks/{textarea-B-sssXGa.js → textarea-DbUSajBD.js} +3 -3
- package/dist/prod/packages/shared-chunks/{tracked-DvOpYI0o.js → tracked-z77O-F0O.js} +2 -2
- package/dist/prod/packages/shared-chunks/{unique-id-BJb1p8EG.js → unique-id-DNqsbhfh.js} +2 -2
- package/docs/data.json +856 -508
- package/lib/browsers.cjs +33 -33
- package/package.json +56 -48
- package/types/stable/@ember/-internals/deprecations/index.d.ts +30 -0
- package/types/stable/@ember/-internals/glimmer/lib/helpers/each-in.d.ts +25 -1
- package/types/stable/@ember/-internals/metal/lib/evented-methods.d.ts +22 -0
- package/types/stable/@ember/-internals/metal/lib/events.d.ts +1 -0
- package/types/stable/@ember/-internals/utils/lib/internal-mixin-create.d.ts +13 -0
- package/types/stable/@ember/-internals/views/index.d.ts +1 -0
- package/types/stable/@ember/-internals/views/lib/views/core-view-utils.d.ts +5 -0
- package/types/stable/@ember/-internals/views/lib/views/core_view.d.ts +9 -6
- package/types/stable/@ember/array/proxy.d.ts +1 -0
- package/types/stable/@ember/object/evented.d.ts +6 -0
- package/types/stable/@ember/object/events.d.ts +26 -1
- package/types/stable/@ember/object/mixin.d.ts +3 -0
- package/types/stable/@ember/object/promise-proxy-mixin.d.ts +1 -0
- package/types/stable/@ember/object/proxy.d.ts +2 -0
- package/types/stable/@ember/routing/route.d.ts +9 -2
- package/types/stable/@ember/routing/router-service.d.ts +54 -6
- package/types/stable/@ember/routing/router.d.ts +9 -8
- package/types/stable/@glimmer/destroyable/index.d.ts +1 -0
- package/types/stable/@glimmer/runtime/lib/vm/element-builder.d.ts +2 -0
- package/types/stable/@glimmer/runtime/lib/vm/render-result.d.ts +2 -0
- package/types/stable/@glimmer/runtime/lib/vm/update.d.ts +2 -0
- package/types/stable/@glimmer/syntax/lib/keywords.d.ts +2 -2
- package/types/stable/@glimmer/util/lib/destroyable-key.d.ts +15 -0
- package/types/stable/index.d.ts +4 -0
package/build-metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "7.
|
|
2
|
+
"version": "7.4.0-beta.1",
|
|
3
3
|
"buildType": "tag",
|
|
4
|
-
"SHA": "
|
|
5
|
-
"assetPath": "/tag/shas/
|
|
4
|
+
"SHA": "dec3619f26f9496a6741958eb4ca50b5b3cfa596",
|
|
5
|
+
"assetPath": "/tag/shas/dec3619f26f9496a6741958eb4ca50b5b3cfa596.tgz"
|
|
6
6
|
}
|
|
@@ -121,6 +121,51 @@ const DEPRECATIONS = {
|
|
|
121
121
|
},
|
|
122
122
|
until: '8.0.0',
|
|
123
123
|
url: 'https://deprecations.emberjs.com/id/deprecate-target-action-support'
|
|
124
|
+
}),
|
|
125
|
+
DEPRECATE_EVENTED: deprecation({
|
|
126
|
+
id: 'deprecate-evented',
|
|
127
|
+
for: 'ember-source',
|
|
128
|
+
since: {
|
|
129
|
+
available: '7.3.0'
|
|
130
|
+
},
|
|
131
|
+
until: '8.0.0',
|
|
132
|
+
url: 'https://deprecations.emberjs.com/id/deprecate-evented'
|
|
133
|
+
}),
|
|
134
|
+
DEPRECATE_MIXINS: deprecation({
|
|
135
|
+
id: 'deprecate-mixins',
|
|
136
|
+
for: 'ember-source',
|
|
137
|
+
since: {
|
|
138
|
+
available: '7.4.0'
|
|
139
|
+
},
|
|
140
|
+
until: '8.0.0',
|
|
141
|
+
url: 'https://deprecations.emberjs.com/id/deprecate-mixins'
|
|
142
|
+
}),
|
|
143
|
+
DEPRECATE_ARRAY_PROXY: deprecation({
|
|
144
|
+
id: 'deprecate-array-proxy',
|
|
145
|
+
for: 'ember-source',
|
|
146
|
+
since: {
|
|
147
|
+
available: '7.4.0'
|
|
148
|
+
},
|
|
149
|
+
until: '8.0.0',
|
|
150
|
+
url: 'https://deprecations.emberjs.com/id/deprecate-array-proxy'
|
|
151
|
+
}),
|
|
152
|
+
DEPRECATE_OBJECT_PROXY: deprecation({
|
|
153
|
+
id: 'deprecate-object-proxy',
|
|
154
|
+
for: 'ember-source',
|
|
155
|
+
since: {
|
|
156
|
+
available: '7.4.0'
|
|
157
|
+
},
|
|
158
|
+
until: '8.0.0',
|
|
159
|
+
url: 'https://deprecations.emberjs.com/id/deprecate-object-proxy'
|
|
160
|
+
}),
|
|
161
|
+
DEPRECATE_PROMISE_PROXY_MIXIN: deprecation({
|
|
162
|
+
id: 'deprecate-promise-proxy-mixin',
|
|
163
|
+
for: 'ember-source',
|
|
164
|
+
since: {
|
|
165
|
+
available: '7.4.0'
|
|
166
|
+
},
|
|
167
|
+
until: '8.0.0',
|
|
168
|
+
url: 'https://deprecations.emberjs.com/id/deprecate-promise-proxy-mixin'
|
|
124
169
|
})
|
|
125
170
|
};
|
|
126
171
|
function deprecateUntil(message, deprecation) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-BYUSIu_W.js';
|
|
2
|
-
export { O as OutletView, R as Renderer, a as RootTemplate, s as setupApplicationRegistry, b as setupEngineRegistry } from '../../../shared-chunks/setup-registry-
|
|
3
|
-
export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-
|
|
2
|
+
export { O as OutletView, R as Renderer, a as RootTemplate, s as setupApplicationRegistry, b as setupEngineRegistry } from '../../../shared-chunks/setup-registry-BPb25ZxQ.js';
|
|
3
|
+
export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-Obtv2iCY.js';
|
|
4
4
|
export { LinkTo } from '../../routing/index.js';
|
|
5
5
|
export { default as Component, setComponentManager } from '../../component/index.js';
|
|
6
6
|
export { default as Helper, helper } from '../../component/helper.js';
|
|
7
7
|
export { S as SafeString, T as TrustedHTML, h as htmlSafe, i as isHTMLSafe, a as isTrustedHTML, t as trustHTML } from '../../../shared-chunks/index-D-xTBV4B.js';
|
|
8
|
-
export { D as DOMChanges } from '../../../shared-chunks/render-
|
|
9
|
-
export { D as DOMTreeConstruction } from '../../../shared-chunks/api-
|
|
8
|
+
export { D as DOMChanges } from '../../../shared-chunks/render-CNXCIKfb.js';
|
|
9
|
+
export { D as DOMTreeConstruction } from '../../../shared-chunks/api-CK8FxDZV.js';
|
|
10
10
|
import '../../../@glimmer/destroyable/index.js';
|
|
11
|
-
export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-
|
|
11
|
+
export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-B3wE1O5a.js';
|
|
12
12
|
export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js';
|
|
13
|
-
export { e as element } from '../../../shared-chunks/element-
|
|
14
|
-
export { u as uniqueId } from '../../../shared-chunks/unique-id-
|
|
15
|
-
export { _ as _resetRenderers, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-
|
|
16
|
-
export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-
|
|
13
|
+
export { e as element } from '../../../shared-chunks/element-DLh78jeJ.js';
|
|
14
|
+
export { u as uniqueId } from '../../../shared-chunks/unique-id-CdB2MG3m.js';
|
|
15
|
+
export { _ as _resetRenderers, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-D8La4_AP.js';
|
|
16
|
+
export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-B0N4oLJG.js';
|
|
17
17
|
|
|
18
18
|
// STATE within a module is frowned upon, this exists
|
|
19
19
|
// to support Ember.TEMPLATES but shield ember internals from this legacy
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export { C as ComputedProperty, P as PROPERTY_DID_CHANGE,
|
|
1
|
+
export { C as ComputedProperty, P as PROPERTY_DID_CHANGE, g as autoComputed, b as beginPropertyChanges, f as changeProperties, c as computed, h as defineDecorator, d as defineProperty, i as defineValue, a as endPropertyChanges, e as expandProperties, j as isComputed, n as notifyPropertyChange } from '../../../shared-chunks/computed-CXIM4Sjc.js';
|
|
2
2
|
export { g as getCachedValueFor } from '../../../shared-chunks/computed_cache-DmYKevAP.js';
|
|
3
|
-
export { a as alias } from '../../../shared-chunks/alias-
|
|
3
|
+
export { a as alias } from '../../../shared-chunks/alias-CSzPOqZC.js';
|
|
4
4
|
import { deprecate } from '../../debug/index.js';
|
|
5
5
|
import { g as get } from '../../../shared-chunks/property_get-DXwpgTe7.js';
|
|
6
6
|
export { P as PROXY_CONTENT, _ as _getPath, b as _getProp, h as hasUnknownProperty } from '../../../shared-chunks/property_get-DXwpgTe7.js';
|
|
7
|
-
import { s as set } from '../../../shared-chunks/property_set-
|
|
8
|
-
export { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-
|
|
9
|
-
export { c as addArrayObserver, b as arrayContentDidChange, a as arrayContentWillChange, d as removeArrayObserver, r as replace, e as replaceInNativeArray } from '../../../shared-chunks/array-
|
|
10
|
-
export { a as addListener, h as hasListeners, o as on, r as removeListener, s as sendEvent } from '../../../shared-chunks/events-
|
|
7
|
+
import { s as set } from '../../../shared-chunks/property_set-CxxTalOq.js';
|
|
8
|
+
export { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-CxxTalOq.js';
|
|
9
|
+
export { c as addArrayObserver, b as arrayContentDidChange, a as arrayContentWillChange, d as removeArrayObserver, r as replace, e as replaceInNativeArray } from '../../../shared-chunks/array-CxZAmpTY.js';
|
|
10
|
+
export { a as addListener, h as hasListeners, o as on, r as removeListener, s as sendEvent } from '../../../shared-chunks/events-e_Do73jh.js';
|
|
11
11
|
export { c as ComputedDescriptor, b as descriptorForDecorator, d as descriptorForProperty, a as isClassicDecorator, i as isElementDescriptor, m as makeComputedDecorator, n as nativeDescDecorator, s as setClassicDecorator } from '../../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
12
12
|
export { a as Libraries, L as libraries } from '../../../shared-chunks/libraries-BrYKoqoK.js';
|
|
13
13
|
export { g as getProperties } from '../../../shared-chunks/get_properties-BlyZny5J.js';
|
|
14
|
-
export { s as setProperties } from '../../../shared-chunks/set_properties-
|
|
15
|
-
export { A as ASYNC_OBSERVERS, S as SYNC_OBSERVERS, a as activateObserver, b as addObserver, f as flushAsyncObservers, r as removeObserver, c as revalidateObservers } from '../../../shared-chunks/observers-
|
|
16
|
-
export { D as DEBUG_INJECTION_FUNCTIONS, i as inject } from '../../../shared-chunks/injected_property-
|
|
17
|
-
export { m as markObjectAsDirty, o as objectAt, t as tagForObject, a as tagForProperty } from '../../../shared-chunks/chain-tags-
|
|
18
|
-
export { T as TrackedDescriptor, t as tracked } from '../../../shared-chunks/tracked-
|
|
14
|
+
export { s as setProperties } from '../../../shared-chunks/set_properties-KoN0q2wj.js';
|
|
15
|
+
export { A as ASYNC_OBSERVERS, S as SYNC_OBSERVERS, a as activateObserver, b as addObserver, f as flushAsyncObservers, r as removeObserver, c as revalidateObservers } from '../../../shared-chunks/observers-BsxKjjpC.js';
|
|
16
|
+
export { D as DEBUG_INJECTION_FUNCTIONS, i as inject } from '../../../shared-chunks/injected_property-DyyWscn-.js';
|
|
17
|
+
export { m as markObjectAsDirty, o as objectAt, t as tagForObject, a as tagForProperty } from '../../../shared-chunks/chain-tags-uYrtCZq1.js';
|
|
18
|
+
export { T as TrackedDescriptor, t as tracked } from '../../../shared-chunks/tracked-CLY9ttD5.js';
|
|
19
19
|
export { cached } from '../../../@glimmer/tracking/index.js';
|
|
20
20
|
export { g as createCache, h as getValue, x as isConst } from '../../../shared-chunks/cache-DGDPVCpC.js';
|
|
21
|
-
export { N as NAMESPACES, a as NAMESPACES_BY_ID, b as addNamespace, f as findNamespace, c as findNamespaces, i as isNamespaceSearchDisabled, p as processAllNamespaces, d as processNamespace, r as removeNamespace,
|
|
21
|
+
export { N as NAMESPACES, a as NAMESPACES_BY_ID, b as addNamespace, f as findNamespace, c as findNamespaces, i as isNamespaceSearchDisabled, p as processAllNamespaces, d as processNamespace, r as removeNamespace, s as setNamespaceSearchDisabled, e as setUnprocessedMixins } from '../../../shared-chunks/namespace_search-TFdmjK_a.js';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
@module ember
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { meta } from '../../../meta/lib/meta.js';
|
|
2
|
-
import Mixin from '
|
|
2
|
+
import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../../../../shared-chunks/mixin-M88Ghbyw.js';
|
|
3
3
|
import { g as get } from '../../../../../shared-chunks/property_get-DXwpgTe7.js';
|
|
4
|
-
import { s as set } from '../../../../../shared-chunks/property_set-
|
|
5
|
-
import { d as defineProperty, c as computed } from '../../../../../shared-chunks/computed-
|
|
6
|
-
import { t as tagForObject, a as tagForProperty } from '../../../../../shared-chunks/chain-tags-
|
|
4
|
+
import { s as set } from '../../../../../shared-chunks/property_set-CxxTalOq.js';
|
|
5
|
+
import { d as defineProperty, c as computed } from '../../../../../shared-chunks/computed-CXIM4Sjc.js';
|
|
6
|
+
import { t as tagForObject, a as tagForProperty } from '../../../../../shared-chunks/chain-tags-uYrtCZq1.js';
|
|
7
7
|
import { s as setProxy, i as isProxy } from '../../../../../shared-chunks/is_proxy-Bzg0d4m4.js';
|
|
8
8
|
import { a as setupMandatorySetter } from '../../../../../shared-chunks/mandatory-setter-BpbAMTzV.js';
|
|
9
9
|
import { i as isObject } from '../../../../../shared-chunks/spec-BXl1reqK.js';
|
|
10
10
|
import '../../../../debug/index.js';
|
|
11
|
-
import { s as setCustomTagFor } from '../../../../../shared-chunks/args-proxy-
|
|
11
|
+
import { s as setCustomTagFor } from '../../../../../shared-chunks/args-proxy-C39f5UPF.js';
|
|
12
12
|
import { U as UPDATE_TAG, f as combine } from '../../../../../shared-chunks/cache-DGDPVCpC.js';
|
|
13
13
|
import { a as tagMetaFor, t as tagFor } from '../../../../../shared-chunks/meta-BqC7f9Ia.js';
|
|
14
14
|
import { assert } from '../../../../debug/lib/assert.js';
|
|
@@ -59,7 +59,7 @@ function customTagForProxy(proxy, key, addMandatorySetter) {
|
|
|
59
59
|
@private
|
|
60
60
|
*/
|
|
61
61
|
|
|
62
|
-
const ProxyMixin = /*@__PURE__*/Mixin
|
|
62
|
+
const ProxyMixin = /*@__PURE__*/Mixin[INTERNAL_MIXIN_CREATE]({
|
|
63
63
|
/**
|
|
64
64
|
The object whose properties will be forwarded.
|
|
65
65
|
@property content
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Mixin from '
|
|
1
|
+
import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../../../../shared-chunks/mixin-M88Ghbyw.js';
|
|
2
2
|
import { g as get } from '../../../../../shared-chunks/property_get-DXwpgTe7.js';
|
|
3
3
|
import '../../../../debug/index.js';
|
|
4
4
|
import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
|
|
@@ -21,7 +21,7 @@ import { assert } from '../../../../debug/lib/assert.js';
|
|
|
21
21
|
@private
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
const ActionHandler = Mixin
|
|
24
|
+
const ActionHandler = Mixin[INTERNAL_MIXIN_CREATE]({
|
|
25
25
|
mergedProperties: ['actions'],
|
|
26
26
|
/**
|
|
27
27
|
The collection of functions, keyed by name, available on this
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Mixin from '
|
|
1
|
+
import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../../../../shared-chunks/mixin-M88Ghbyw.js';
|
|
2
2
|
import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -17,7 +17,7 @@ import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
|
|
|
17
17
|
@private
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
const Comparable = Mixin
|
|
20
|
+
const Comparable = Mixin[INTERNAL_MIXIN_CREATE]({
|
|
21
21
|
/**
|
|
22
22
|
__Required.__ You must implement this method to apply this mixin.
|
|
23
23
|
Override to return the result of the comparison of the two parameters. The
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { join, schedule } from '../../../../runloop/index.js';
|
|
2
|
-
import Mixin from '
|
|
2
|
+
import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../../../../shared-chunks/mixin-M88Ghbyw.js';
|
|
3
3
|
|
|
4
4
|
// This is defined as a separate interface so that it can be used in the definition of
|
|
5
5
|
// `Owner` without also including the `__container__` property.
|
|
@@ -13,7 +13,7 @@ import Mixin from '../../../../object/mixin.js';
|
|
|
13
13
|
@private
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
const ContainerProxyMixin = Mixin
|
|
16
|
+
const ContainerProxyMixin = Mixin[INTERNAL_MIXIN_CREATE]({
|
|
17
17
|
/**
|
|
18
18
|
The container stores state.
|
|
19
19
|
@private
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../../../debug/index.js';
|
|
2
|
-
import Mixin from '
|
|
2
|
+
import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../../../../shared-chunks/mixin-M88Ghbyw.js';
|
|
3
3
|
import { assert } from '../../../../debug/lib/assert.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -16,7 +16,7 @@ import { assert } from '../../../../debug/lib/assert.js';
|
|
|
16
16
|
@private
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
const RegistryProxyMixin = Mixin
|
|
19
|
+
const RegistryProxyMixin = Mixin[INTERNAL_MIXIN_CREATE]({
|
|
20
20
|
__registry__: null,
|
|
21
21
|
resolveRegistration(fullName) {
|
|
22
22
|
(!(this.__registry__.isValidFullName(fullName)) && assert('fullName must be a proper full name', this.__registry__.isValidFullName(fullName)));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { context } from '../../../environment/index.js';
|
|
2
2
|
import { g as get } from '../../../../../shared-chunks/property_get-DXwpgTe7.js';
|
|
3
|
-
import { c as computed } from '../../../../../shared-chunks/computed-
|
|
4
|
-
import Mixin from '
|
|
3
|
+
import { c as computed } from '../../../../../shared-chunks/computed-CXIM4Sjc.js';
|
|
4
|
+
import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../../../../shared-chunks/mixin-M88Ghbyw.js';
|
|
5
5
|
import '../../../../debug/index.js';
|
|
6
6
|
import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
|
|
7
7
|
import { assert } from '../../../../debug/lib/assert.js';
|
|
@@ -24,7 +24,7 @@ doing more complex event handling in Components.
|
|
|
24
24
|
@private
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
|
-
const TargetActionSupport = Mixin
|
|
27
|
+
const TargetActionSupport = Mixin[INTERNAL_MIXIN_CREATE]({
|
|
28
28
|
target: null,
|
|
29
29
|
action: null,
|
|
30
30
|
actionContext: null,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { addChildView, clearElementView, clearViewElement, constructStyleDeprecationMessage, getChildViews, getElementView, getRootViews, getViewBoundingClientRect, getViewBounds, getViewClientRects, getViewElement, getViewId, isSimpleClick, setElementView, setViewElement } from './lib/system/utils.js';
|
|
2
2
|
export { default as EventDispatcher } from './lib/system/event_dispatcher.js';
|
|
3
3
|
export { default as CoreView } from './lib/views/core_view.js';
|
|
4
|
+
export { hasCoreViewListener, sendCoreViewEvent } from './lib/views/core-view-utils.js';
|
|
4
5
|
export { default as ActionSupport } from './lib/mixins/action_support.js';
|
|
5
6
|
export { MUTABLE_CELL } from './lib/compat/attrs.js';
|
|
6
7
|
export { default as ViewStates } from './lib/views/states.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as get } from '../../../../../shared-chunks/property_get-DXwpgTe7.js';
|
|
2
|
-
import Mixin from '
|
|
2
|
+
import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../../../../shared-chunks/mixin-M88Ghbyw.js';
|
|
3
3
|
import inspect from '../../../../debug/lib/inspect.js';
|
|
4
4
|
import '../../../../debug/index.js';
|
|
5
5
|
import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
|
|
@@ -15,7 +15,7 @@ import { assert } from '../../../../debug/lib/assert.js';
|
|
|
15
15
|
@private
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
const ActionSupport = Mixin
|
|
18
|
+
const ActionSupport = Mixin[INTERNAL_MIXIN_CREATE]({
|
|
19
19
|
send(actionName, ...args) {
|
|
20
20
|
deprecateUntil(`Calling \`.send()\` on ${this} is deprecated. Invoke the corresponding method directly.`, DEPRECATIONS.DEPRECATE_TARGET_ACTION_SUPPORT);
|
|
21
21
|
(!(!this.isDestroying && !this.isDestroyed) && assert(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getOwner } from '../../../owner/index.js';
|
|
2
2
|
import '../../../../debug/index.js';
|
|
3
3
|
import { g as get } from '../../../../../shared-chunks/property_get-DXwpgTe7.js';
|
|
4
|
-
import { s as set } from '../../../../../shared-chunks/property_set-
|
|
4
|
+
import { s as set } from '../../../../../shared-chunks/property_set-CxxTalOq.js';
|
|
5
5
|
import EmberObject from '../../../../object/index.js';
|
|
6
6
|
import { getElementView } from './utils.js';
|
|
7
7
|
import { assert } from '../../../../debug/lib/assert.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { h as hasListeners, s as sendEvent } from '../../../../../shared-chunks/events-e_Do73jh.js';
|
|
2
|
+
|
|
3
|
+
function sendCoreViewEvent(view, name, args = []) {
|
|
4
|
+
sendEvent(view, name, args);
|
|
5
|
+
let method = view[name];
|
|
6
|
+
if (typeof method === 'function') {
|
|
7
|
+
return method.apply(view, args);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
function hasCoreViewListener(view, name) {
|
|
11
|
+
return typeof view[name] === 'function' || hasListeners(view, name);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { hasCoreViewListener, sendCoreViewEvent };
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { meta } from '../../../meta/lib/meta.js';
|
|
2
|
+
import { i as inject } from '../../../../../shared-chunks/injected_property-DyyWscn-.js';
|
|
3
|
+
import { E as Evented, e as eventedOn, a as eventedOne, b as eventedTrigger, c as eventedOff, d as eventedHas } from '../../../../../shared-chunks/evented-cAr_RO4u.js';
|
|
2
4
|
import ActionHandler from '../../../runtime/lib/mixins/action_handler.js';
|
|
3
|
-
import Evented from '../../../../object/evented.js';
|
|
4
5
|
import { FrameworkObject } from '../../../../object/-internals.js';
|
|
5
6
|
import states from './states.js';
|
|
6
7
|
import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../../../../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
|
|
7
8
|
|
|
8
|
-
class CoreView extends FrameworkObject.extend(
|
|
9
|
+
class CoreView extends FrameworkObject.extend(ActionHandler) {
|
|
10
|
+
static {
|
|
11
|
+
// The deprecated Evented mixin is no longer applied, but instances still
|
|
12
|
+
// provide its methods, so `Evented.detect` must keep returning true.
|
|
13
|
+
meta(this.prototype).addMixin(Evented);
|
|
14
|
+
}
|
|
9
15
|
isView = true;
|
|
10
|
-
_superTrigger;
|
|
11
|
-
_superHas;
|
|
12
16
|
|
|
13
17
|
/**
|
|
14
18
|
If the view is currently inserted into the DOM of a parent view, this
|
|
@@ -21,15 +25,6 @@ class CoreView extends FrameworkObject.extend(Evented, ActionHandler) {
|
|
|
21
25
|
|
|
22
26
|
init(properties) {
|
|
23
27
|
super.init(properties);
|
|
24
|
-
|
|
25
|
-
// Handle methods from Evented
|
|
26
|
-
// The native class inheritance will not work for mixins. To work around this,
|
|
27
|
-
// we copy the existing trigger and has methods provided by the mixin and swap in the
|
|
28
|
-
// new ones from our class.
|
|
29
|
-
this._superTrigger = this.trigger;
|
|
30
|
-
this.trigger = this._trigger;
|
|
31
|
-
this._superHas = this.has;
|
|
32
|
-
this.has = this._has;
|
|
33
28
|
this.parentView ??= null;
|
|
34
29
|
this._state = 'preRender';
|
|
35
30
|
this._currentState = this._states.preRender;
|
|
@@ -44,6 +39,14 @@ class CoreView extends FrameworkObject.extend(Evented, ActionHandler) {
|
|
|
44
39
|
hash['view'] = this;
|
|
45
40
|
return hash;
|
|
46
41
|
}
|
|
42
|
+
on(name, target, method) {
|
|
43
|
+
eventedOn(this, name, target, method);
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
one(name, target, method) {
|
|
47
|
+
eventedOne(this, name, target, method);
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
47
50
|
|
|
48
51
|
/**
|
|
49
52
|
Override the default event firing from `Evented` to
|
|
@@ -52,18 +55,19 @@ class CoreView extends FrameworkObject.extend(Evented, ActionHandler) {
|
|
|
52
55
|
@param name {String}
|
|
53
56
|
@private
|
|
54
57
|
*/
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
this._superTrigger(name, ...args);
|
|
58
|
+
trigger(name, ...args) {
|
|
59
|
+
eventedTrigger(this, name, args);
|
|
58
60
|
let method = this[name];
|
|
59
61
|
if (typeof method === 'function') {
|
|
60
62
|
return method.apply(this, args);
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
off(name, target, method) {
|
|
66
|
+
eventedOff(this, name, target, method);
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
has(name) {
|
|
70
|
+
return typeof this[name] === 'function' || eventedHas(this, name);
|
|
67
71
|
}
|
|
68
72
|
static isViewFactory = true;
|
|
69
73
|
}
|
|
@@ -2,6 +2,7 @@ import { t as teardownMandatorySetter } from '../../../../../shared-chunks/manda
|
|
|
2
2
|
import '../../../../debug/index.js';
|
|
3
3
|
import { flaggedInstrument } from '../../../../instrumentation/index.js';
|
|
4
4
|
import { join } from '../../../../runloop/index.js';
|
|
5
|
+
import { hasCoreViewListener, sendCoreViewEvent } from './core-view-utils.js';
|
|
5
6
|
import { assert } from '../../../../debug/lib/assert.js';
|
|
6
7
|
|
|
7
8
|
const DEFAULT = Object.freeze({
|
|
@@ -29,12 +30,14 @@ const HAS_ELEMENT = Object.freeze({
|
|
|
29
30
|
},
|
|
30
31
|
// Handle events from `Ember.EventDispatcher`
|
|
31
32
|
handleEvent(view, eventName, event) {
|
|
32
|
-
if (view
|
|
33
|
+
if (hasCoreViewListener(view, eventName)) {
|
|
33
34
|
// Handler should be able to re-dispatch events, so we don't
|
|
34
35
|
// preventDefault or stopPropagation.
|
|
35
36
|
return flaggedInstrument(`interaction.${eventName}`, {
|
|
36
37
|
}, () => {
|
|
37
|
-
return join(
|
|
38
|
+
return join(() => {
|
|
39
|
+
return sendCoreViewEvent(view, eventName, [event]);
|
|
40
|
+
});
|
|
38
41
|
});
|
|
39
42
|
} else {
|
|
40
43
|
return true; // continue event propagation
|
|
@@ -23,7 +23,7 @@ import BucketCache from '../routing/lib/cache.js';
|
|
|
23
23
|
import ApplicationInstance from './instance.js';
|
|
24
24
|
import Engine, { buildInitializerMethod } from '../engine/index.js';
|
|
25
25
|
import { privatize } from '../-internals/container/index.js';
|
|
26
|
-
import { s as setupApplicationRegistry } from '../../shared-chunks/setup-registry-
|
|
26
|
+
import { s as setupApplicationRegistry } from '../../shared-chunks/setup-registry-BPb25ZxQ.js';
|
|
27
27
|
import RouterService from '../routing/router-service.js';
|
|
28
28
|
import { assert } from '../debug/lib/assert.js';
|
|
29
29
|
|
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
import { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
|
|
2
|
-
import { s as set } from '../../shared-chunks/property_set-
|
|
2
|
+
import { s as set } from '../../shared-chunks/property_set-CxxTalOq.js';
|
|
3
3
|
import { h as hasDOM, e as environment } from '../../shared-chunks/index-BGP1rw3B.js';
|
|
4
4
|
import EngineInstance from '../engine/instance.js';
|
|
5
5
|
import '../-internals/container/index.js';
|
|
6
6
|
import '../../shared-chunks/guid-Cbq2sNV_.js';
|
|
7
7
|
import '../debug/index.js';
|
|
8
|
+
import '../-internals/meta/lib/meta.js';
|
|
9
|
+
import '../../shared-chunks/super-BBBjgF69.js';
|
|
10
|
+
import '../-internals/deprecations/index.js';
|
|
8
11
|
import '../../@glimmer/destroyable/index.js';
|
|
9
|
-
import '../../shared-chunks/reference-
|
|
10
|
-
import '../../shared-chunks/api-
|
|
11
|
-
import '../../shared-chunks/arguments-
|
|
12
|
+
import '../../shared-chunks/reference-De0V3Vxp.js';
|
|
13
|
+
import '../../shared-chunks/api-CK8FxDZV.js';
|
|
14
|
+
import '../../shared-chunks/arguments-LEaMCStR.js';
|
|
12
15
|
import '../../shared-chunks/cache-DGDPVCpC.js';
|
|
13
|
-
import '../../shared-chunks/render-
|
|
16
|
+
import '../../shared-chunks/render-CNXCIKfb.js';
|
|
14
17
|
import '../../@glimmer/global-context/index.js';
|
|
15
|
-
import '../../shared-chunks/curly-
|
|
16
|
-
import '../../shared-chunks/outlet-
|
|
18
|
+
import '../../shared-chunks/curly-DbGgDeux.js';
|
|
19
|
+
import '../../shared-chunks/outlet-wIOlGMfN.js';
|
|
17
20
|
import '../../shared-chunks/container-BzzHmCNj.js';
|
|
18
21
|
import '../../shared-chunks/env-g-kaAFLN.js';
|
|
19
22
|
import '../../shared-chunks/capabilities-CajW4QjE.js';
|
|
20
|
-
import '../../shared-chunks/hash-
|
|
21
|
-
import '../../shared-chunks/get-
|
|
22
|
-
import '../../shared-chunks/on-
|
|
23
|
-
import '../../shared-chunks/template-only-
|
|
24
|
-
import { a as renderSettled } from '../../shared-chunks/index-
|
|
25
|
-
import '../../shared-chunks/unique-id-
|
|
23
|
+
import '../../shared-chunks/hash-D1O4fZ99.js';
|
|
24
|
+
import '../../shared-chunks/get-fzmvcT9R.js';
|
|
25
|
+
import '../../shared-chunks/on-Dfya_9b_.js';
|
|
26
|
+
import '../../shared-chunks/template-only-DHdQevpG.js';
|
|
27
|
+
import { a as renderSettled } from '../../shared-chunks/index-D8La4_AP.js';
|
|
28
|
+
import '../../shared-chunks/unique-id-CdB2MG3m.js';
|
|
26
29
|
import '../runloop/index.js';
|
|
27
30
|
import EmberRouter from '../routing/router.js';
|
|
28
31
|
import EventDispatcher from '../-internals/views/lib/system/event_dispatcher.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NAMESPACES, a as NAMESPACES_BY_ID, p as processAllNamespaces, f as findNamespace, b as addNamespace, c as findNamespaces, d as processNamespace, r as removeNamespace } from '../../shared-chunks/namespace_search-
|
|
1
|
+
import { N as NAMESPACES, a as NAMESPACES_BY_ID, p as processAllNamespaces, f as findNamespace, b as addNamespace, c as findNamespaces, d as processNamespace, r as removeNamespace } from '../../shared-chunks/namespace_search-TFdmjK_a.js';
|
|
2
2
|
import { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
|
|
3
3
|
import { g as getName, s as setName } from '../../shared-chunks/name-Clp4Vsod.js';
|
|
4
4
|
import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as objectAt } from '../../shared-chunks/chain-tags-
|
|
2
|
-
import { e as replaceInNativeArray, r as replace } from '../../shared-chunks/array-
|
|
3
|
-
import { b as beginPropertyChanges, a as endPropertyChanges, c as computed } from '../../shared-chunks/computed-
|
|
1
|
+
import { o as objectAt } from '../../shared-chunks/chain-tags-uYrtCZq1.js';
|
|
2
|
+
import { e as replaceInNativeArray, r as replace } from '../../shared-chunks/array-CxZAmpTY.js';
|
|
3
|
+
import { b as beginPropertyChanges, a as endPropertyChanges, c as computed } from '../../shared-chunks/computed-CXIM4Sjc.js';
|
|
4
4
|
import { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
|
|
5
|
-
import { s as set } from '../../shared-chunks/property_set-
|
|
6
|
-
import Mixin from '
|
|
5
|
+
import { s as set } from '../../shared-chunks/property_set-CxxTalOq.js';
|
|
6
|
+
import { M as Mixin, I as INTERNAL_MIXIN_CREATE } from '../../shared-chunks/mixin-M88Ghbyw.js';
|
|
7
7
|
import '../debug/index.js';
|
|
8
8
|
import Enumerable from '../enumerable/index.js';
|
|
9
9
|
import MutableEnumerable from '../enumerable/mutable.js';
|
|
@@ -133,7 +133,7 @@ function mapBy(key) {
|
|
|
133
133
|
@public
|
|
134
134
|
*/
|
|
135
135
|
|
|
136
|
-
const EmberArray = Mixin
|
|
136
|
+
const EmberArray = Mixin[INTERNAL_MIXIN_CREATE](Enumerable, {
|
|
137
137
|
init() {
|
|
138
138
|
this._super(...arguments);
|
|
139
139
|
setEmberArray(this);
|
|
@@ -355,7 +355,7 @@ const EmberArray = Mixin.create(Enumerable, {
|
|
|
355
355
|
@public
|
|
356
356
|
*/
|
|
357
357
|
|
|
358
|
-
const MutableArray = Mixin
|
|
358
|
+
const MutableArray = Mixin[INTERNAL_MIXIN_CREATE](EmberArray, MutableEnumerable, {
|
|
359
359
|
clear() {
|
|
360
360
|
let len = this.length;
|
|
361
361
|
if (len === 0) {
|
|
@@ -518,7 +518,7 @@ const MutableArray = Mixin.create(EmberArray, MutableEnumerable, {
|
|
|
518
518
|
@public
|
|
519
519
|
*/
|
|
520
520
|
|
|
521
|
-
let NativeArray = Mixin
|
|
521
|
+
let NativeArray = Mixin[INTERNAL_MIXIN_CREATE](MutableArray, Observable, {
|
|
522
522
|
objectAt(idx) {
|
|
523
523
|
return this[idx];
|
|
524
524
|
},
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { o as objectAt, a as tagForProperty } from '../../shared-chunks/chain-tags-
|
|
2
|
-
import { a as alias } from '../../shared-chunks/alias-
|
|
3
|
-
import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-
|
|
4
|
-
import { r as replace, a as arrayContentWillChange, b as arrayContentDidChange, c as addArrayObserver, d as removeArrayObserver } from '../../shared-chunks/array-
|
|
1
|
+
import { o as objectAt, a as tagForProperty } from '../../shared-chunks/chain-tags-uYrtCZq1.js';
|
|
2
|
+
import { a as alias } from '../../shared-chunks/alias-CSzPOqZC.js';
|
|
3
|
+
import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-CXIM4Sjc.js';
|
|
4
|
+
import { r as replace, a as arrayContentWillChange, b as arrayContentDidChange, c as addArrayObserver, d as removeArrayObserver } from '../../shared-chunks/array-CxZAmpTY.js';
|
|
5
5
|
import { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
|
|
6
6
|
import { i as isObject } from '../../shared-chunks/spec-BXl1reqK.js';
|
|
7
7
|
import EmberObject from '../object/index.js';
|
|
8
8
|
import EmberArray, { MutableArray } from './index.js';
|
|
9
9
|
import '../debug/index.js';
|
|
10
|
-
import {
|
|
10
|
+
import { deprecateUntil, DEPRECATIONS } from '../-internals/deprecations/index.js';
|
|
11
|
+
import { s as setCustomTagFor } from '../../shared-chunks/args-proxy-C39f5UPF.js';
|
|
11
12
|
import { c as consumeTag, v as validateTag, a as valueForTag, f as combine } from '../../shared-chunks/cache-DGDPVCpC.js';
|
|
12
13
|
import { t as tagFor } from '../../shared-chunks/meta-BqC7f9Ia.js';
|
|
13
14
|
import { assert } from '../debug/lib/assert.js';
|
|
@@ -94,6 +95,7 @@ function customTagForArrayProxy(proxy, key) {
|
|
|
94
95
|
@extends EmberObject
|
|
95
96
|
@uses MutableArray
|
|
96
97
|
@public
|
|
98
|
+
@deprecated Use a tracked array or a native `Proxy` instead.
|
|
97
99
|
*/
|
|
98
100
|
|
|
99
101
|
class ArrayProxy extends EmberObject {
|
|
@@ -129,6 +131,7 @@ class ArrayProxy extends EmberObject {
|
|
|
129
131
|
_arrTag = null;
|
|
130
132
|
init(props) {
|
|
131
133
|
super.init(props);
|
|
134
|
+
deprecateUntil('`ArrayProxy` is deprecated. Use a tracked array (for example `TrackedArray` from `tracked-built-ins`) or a native `Proxy` instead.', DEPRECATIONS.DEPRECATE_ARRAY_PROXY);
|
|
132
135
|
setCustomTagFor(this, customTagForArrayProxy);
|
|
133
136
|
}
|
|
134
137
|
[PROPERTY_DID_CHANGE]() {
|
|
@@ -3,8 +3,8 @@ import { FrameworkObject } from '../object/-internals.js';
|
|
|
3
3
|
import { g as getDebugName } from '../../shared-chunks/get-debug-name-CSniHBsn.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import { join } from '../runloop/index.js';
|
|
6
|
-
import { i as helperCapabilities } from '../../shared-chunks/api-
|
|
7
|
-
import { b as setHelperManager } from '../../shared-chunks/api-
|
|
6
|
+
import { i as helperCapabilities } from '../../shared-chunks/api-PyzZqscb.js';
|
|
7
|
+
import { b as setHelperManager } from '../../shared-chunks/api-B0N4oLJG.js';
|
|
8
8
|
import { r as createTag, D as DIRTY_TAG, c as consumeTag } from '../../shared-chunks/cache-DGDPVCpC.js';
|
|
9
9
|
import { I as IS_CLASSIC_HELPER } from '../../shared-chunks/helper-brand-C9_8vvOf.js';
|
|
10
10
|
import { assert } from '../debug/lib/assert.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { g as getComponentTemplate, s as setComponentTemplate } from '../../shared-chunks/template-R_5UMHhb.js';
|
|
2
2
|
import { d as descriptorForProperty, n as nativeDescDecorator } from '../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
3
3
|
import { g as get } from '../../shared-chunks/property_get-DXwpgTe7.js';
|
|
4
|
-
import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-
|
|
4
|
+
import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-CXIM4Sjc.js';
|
|
5
5
|
import { getOwner } from '../-internals/owner/index.js';
|
|
6
6
|
import TargetActionSupport from '../-internals/runtime/lib/mixins/target_action_support.js';
|
|
7
7
|
import ActionSupport from '../-internals/views/lib/mixins/action_support.js';
|
|
@@ -10,17 +10,17 @@ import CoreView from '../-internals/views/lib/views/core_view.js';
|
|
|
10
10
|
import EventDispatcher from '../-internals/views/lib/system/event_dispatcher.js';
|
|
11
11
|
import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
|
|
12
12
|
import '../debug/index.js';
|
|
13
|
-
import { s as setInternalComponentManager } from '../../shared-chunks/api-
|
|
14
|
-
import { d as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-
|
|
13
|
+
import { s as setInternalComponentManager } from '../../shared-chunks/api-PyzZqscb.js';
|
|
14
|
+
import { d as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-De0V3Vxp.js';
|
|
15
15
|
import { n as normalizeProperty } from '../../shared-chunks/props-fiqxqhAH.js';
|
|
16
16
|
import { r as createTag, D as DIRTY_TAG$1 } from '../../shared-chunks/cache-DGDPVCpC.js';
|
|
17
|
-
import { I as IS_DISPATCHING_ATTRS, D as DIRTY_TAG, B as BOUNDS, g as getComponentCapturedArgs, b as CURLY_COMPONENT_MANAGER } from '../../shared-chunks/curly-
|
|
17
|
+
import { I as IS_DISPATCHING_ATTRS, D as DIRTY_TAG, B as BOUNDS, g as getComponentCapturedArgs, b as CURLY_COMPONENT_MANAGER } from '../../shared-chunks/curly-DbGgDeux.js';
|
|
18
18
|
import { h as hasDOM } from '../../shared-chunks/index-BGP1rw3B.js';
|
|
19
19
|
import { a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
|
|
20
20
|
import { assert } from '../debug/lib/assert.js';
|
|
21
|
-
export { I as Input, T as Textarea } from '../../shared-chunks/textarea-
|
|
22
|
-
import { s as setComponentManager$1 } from '../../shared-chunks/api-
|
|
23
|
-
export { c as capabilities } from '../../shared-chunks/api-
|
|
21
|
+
export { I as Input, T as Textarea } from '../../shared-chunks/textarea-Obtv2iCY.js';
|
|
22
|
+
import { s as setComponentManager$1 } from '../../shared-chunks/api-B0N4oLJG.js';
|
|
23
|
+
export { c as capabilities } from '../../shared-chunks/api-B0N4oLJG.js';
|
|
24
24
|
import '../../@glimmer/destroyable/index.js';
|
|
25
25
|
import '../../@glimmer/global-context/index.js';
|
|
26
26
|
import '../../shared-chunks/capabilities-CajW4QjE.js';
|