ember-source 7.3.0-alpha.5 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-metadata.json +3 -3
- package/dist/dev/packages/@ember/-internals/deprecations/index.js +9 -0
- package/dist/dev/packages/@ember/-internals/glimmer/index.js +7 -7
- package/dist/dev/packages/@ember/-internals/routing/index.js +2 -2
- package/dist/dev/packages/@ember/-internals/runtime/index.js +1 -1
- package/dist/dev/packages/@ember/-internals/runtime/lib/ext/rsvp.js +1 -1
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +4 -0
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -0
- package/dist/dev/packages/@ember/-internals/views/lib/mixins/action_support.js +2 -0
- package/dist/dev/packages/@ember/application/index.js +3 -3
- package/dist/dev/packages/@ember/application/instance.js +9 -9
- package/dist/dev/packages/@ember/component/helper.js +2 -2
- package/dist/dev/packages/@ember/component/index.js +3 -3
- package/dist/dev/packages/@ember/engine/index.js +3 -3
- package/dist/dev/packages/@ember/engine/instance.js +1 -1
- package/dist/dev/packages/@ember/helper/index.js +1132 -79
- package/dist/dev/packages/@ember/modifier/on.js +1 -1
- package/dist/dev/packages/@ember/object/compat.js +0 -32
- package/dist/dev/packages/@ember/renderer/index.js +1 -1
- package/dist/dev/packages/@ember/routing/-internals.js +2 -2
- package/dist/dev/packages/@ember/routing/index.js +11 -28
- package/dist/dev/packages/@ember/routing/lib/utils.js +2 -2
- package/dist/dev/packages/@ember/routing/route.js +2 -2
- package/dist/dev/packages/@ember/routing/router-service.js +9 -9
- package/dist/dev/packages/@ember/routing/router.js +2 -2
- package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +3 -3
- package/dist/dev/packages/@ember/template-compiler/lib/template.js +2 -2
- package/dist/dev/packages/@ember/template-factory/index.js +1 -1
- package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -2
- package/dist/dev/packages/@glimmer/program/index.js +3 -3
- package/dist/dev/packages/@glimmer/runtime/index.js +7 -7
- package/dist/dev/packages/@glimmer/wire-format/index.js +2 -5
- package/dist/dev/packages/ember/version.js +1 -1
- package/dist/dev/packages/ember-template-compiler/index.js +2 -2
- package/dist/dev/packages/router_js/index.js +2 -2
- package/dist/dev/packages/rsvp/index.js +1 -2281
- package/dist/dev/packages/shared-chunks/{arguments-CDkbOqTS.js → arguments-BVmnQtAM.js} +10 -19
- package/dist/dev/packages/shared-chunks/{compiler-QUSl_urU.js → compiler-BHFFl-fv.js} +1 -1
- package/dist/dev/packages/shared-chunks/{curly-BbL6STF2.js → curly-qZIwixUW.js} +1 -1
- package/dist/dev/packages/shared-chunks/{element-BYLB-q7a.js → element-Cgoi4ldD.js} +0 -24
- package/dist/dev/packages/shared-chunks/get-BVBR6Afa.js +40 -0
- package/dist/dev/packages/shared-chunks/hash-BcOgEgJg.js +57 -0
- package/dist/dev/packages/shared-chunks/{index-DaFzpTIE.js → index-BYUSIu_W.js} +3 -3
- package/dist/dev/packages/shared-chunks/{index-Czn34wUZ.js → index-COgCjiy-.js} +193 -77
- package/dist/dev/packages/shared-chunks/{invoke-d9sqa50M.js → invoke-BzXY_4h3.js} +1 -1
- package/dist/dev/packages/shared-chunks/{not-DYh6AY9Z.js → not-CmLRAsFE.js} +1 -1
- package/dist/dev/packages/shared-chunks/{on-DlF0Wy7P.js → on-DXmOUOBH.js} +22 -11
- package/dist/dev/packages/shared-chunks/{opcodes-CplRyHl_.js → opcodes-DDajoGhq.js} +0 -4
- package/dist/dev/packages/shared-chunks/{outlet-B4qORyui.js → outlet-D6v6ZBvX.js} +3 -3
- package/dist/dev/packages/shared-chunks/{program-context-Dq8xN2HI.js → program-context-BBB1Ga5h.js} +2 -2
- package/dist/dev/packages/shared-chunks/{render-CtH73XOv.js → render-B5RULomD.js} +2 -2
- package/dist/{prod/packages/shared-chunks/rsvp.es-DR7yS7qg.js → dev/packages/shared-chunks/rsvp-aLN_pQtn.js} +152 -148
- package/dist/dev/packages/shared-chunks/{setup-registry-h519ZsHS.js → setup-registry-CVtsD0q2.js} +35 -13
- package/dist/{prod/packages/shared-chunks/syscall-ops-CN7STuUn.js → dev/packages/shared-chunks/syscall-ops-CkPT1Kfx.js} +1 -2
- package/dist/dev/packages/shared-chunks/{textarea-DEvw4ezm.js → textarea-DvS6Xmdh.js} +3 -23
- package/dist/dev/packages/shared-chunks/{unique-id-DQOhouG1.js → unique-id-Csxuh1I7.js} +0 -4
- package/dist/dev/packages/shared-chunks/{unrecognized-url-error-B8loxkay.js → unrecognized-url-error-cXUp-SK3.js} +1 -1
- package/dist/prod/packages/@ember/-internals/deprecations/index.js +9 -0
- package/dist/prod/packages/@ember/-internals/glimmer/index.js +7 -7
- package/dist/prod/packages/@ember/-internals/routing/index.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/index.js +1 -1
- package/dist/prod/packages/@ember/-internals/runtime/lib/ext/rsvp.js +1 -1
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +4 -0
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -0
- package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +2 -0
- package/dist/prod/packages/@ember/application/index.js +3 -3
- package/dist/prod/packages/@ember/application/instance.js +9 -9
- package/dist/prod/packages/@ember/component/helper.js +2 -2
- package/dist/prod/packages/@ember/component/index.js +3 -3
- package/dist/prod/packages/@ember/engine/index.js +3 -3
- package/dist/prod/packages/@ember/engine/instance.js +1 -1
- package/dist/prod/packages/@ember/helper/index.js +1132 -79
- package/dist/prod/packages/@ember/modifier/on.js +1 -1
- package/dist/prod/packages/@ember/object/compat.js +0 -32
- package/dist/prod/packages/@ember/renderer/index.js +1 -1
- package/dist/prod/packages/@ember/routing/index.js +10 -27
- package/dist/prod/packages/@ember/routing/lib/utils.js +2 -2
- package/dist/prod/packages/@ember/routing/route.js +2 -2
- package/dist/prod/packages/@ember/routing/router-service.js +9 -9
- package/dist/prod/packages/@ember/routing/router.js +2 -2
- package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +3 -3
- package/dist/prod/packages/@ember/template-compiler/lib/template.js +2 -2
- package/dist/prod/packages/@ember/template-factory/index.js +1 -1
- package/dist/prod/packages/@glimmer/opcode-compiler/index.js +2 -2
- package/dist/prod/packages/@glimmer/program/index.js +3 -3
- package/dist/prod/packages/@glimmer/runtime/index.js +7 -7
- package/dist/prod/packages/@glimmer/wire-format/index.js +2 -5
- package/dist/prod/packages/ember/version.js +1 -1
- package/dist/prod/packages/ember-template-compiler/index.js +2 -2
- package/dist/prod/packages/router_js/index.js +2 -2
- package/dist/prod/packages/rsvp/index.js +1 -2281
- package/dist/prod/packages/shared-chunks/{arguments-BzAkZVBa.js → arguments-Carzx7C4.js} +6 -19
- package/dist/prod/packages/shared-chunks/{compiler-lBSssiWp.js → compiler-Wt5SWcrF.js} +1 -1
- package/dist/prod/packages/shared-chunks/{curly-CU2jYOtm.js → curly-xbTtts9R.js} +1 -1
- package/dist/prod/packages/shared-chunks/{element-DgHdPZ8u.js → element-BmBjPjkQ.js} +0 -24
- package/dist/prod/packages/shared-chunks/get-ZhOO_1qS.js +40 -0
- package/dist/prod/packages/shared-chunks/hash-b373B4IL.js +57 -0
- package/dist/prod/packages/shared-chunks/{index-XmtQRWbX.js → index-B-2NDHmt.js} +193 -77
- package/dist/prod/packages/shared-chunks/{index-Bf53M8eS.js → index-kwuZeaNz.js} +3 -3
- package/dist/prod/packages/shared-chunks/{invoke-DhQ5QRp2.js → invoke-B-r9UQVH.js} +1 -1
- package/dist/prod/packages/shared-chunks/{not-BOIVROuv.js → not-DOTpWiG3.js} +1 -1
- package/dist/prod/packages/shared-chunks/{on-BZHAxzdq.js → on-B-5KCq9L.js} +22 -11
- package/dist/prod/packages/shared-chunks/{opcodes-CplRyHl_.js → opcodes-DDajoGhq.js} +0 -4
- package/dist/prod/packages/shared-chunks/{outlet-CsNMfeOj.js → outlet-DDxtxFLV.js} +3 -3
- package/dist/prod/packages/shared-chunks/{program-context-COSioH46.js → program-context-WVlzpPdi.js} +2 -2
- package/dist/prod/packages/shared-chunks/{render-Bf7GviCY.js → render-OqKpH1Pf.js} +2 -2
- package/dist/{dev/packages/shared-chunks/rsvp.es-DR7yS7qg.js → prod/packages/shared-chunks/rsvp-aLN_pQtn.js} +152 -148
- package/dist/prod/packages/shared-chunks/{setup-registry-DFSQHIUs.js → setup-registry-CRFWTdVC.js} +35 -13
- package/dist/{dev/packages/shared-chunks/syscall-ops-CN7STuUn.js → prod/packages/shared-chunks/syscall-ops-CkPT1Kfx.js} +1 -2
- package/dist/prod/packages/shared-chunks/{textarea-DMmdvgk2.js → textarea-B-sssXGa.js} +3 -23
- package/dist/prod/packages/shared-chunks/{unique-id-o2pS74go.js → unique-id-BJb1p8EG.js} +0 -4
- package/dist/prod/packages/shared-chunks/{unrecognized-url-error-jjQ-FqKB.js → unrecognized-url-error-xC654tCo.js} +1 -1
- package/docs/data.json +1237 -1395
- package/package.json +5 -7
- package/types/stable/@ember/-internals/deprecations/index.d.ts +6 -0
- package/types/stable/@ember/-internals/glimmer/index.d.ts +7 -380
- package/types/stable/@ember/-internals/glimmer/lib/component.d.ts +1 -1
- package/types/stable/@ember/-internals/glimmer/lib/helper.d.ts +2 -2
- package/types/stable/@ember/-internals/glimmer/lib/helpers/each-in.d.ts +171 -62
- package/types/stable/@ember/-internals/glimmer/lib/helpers/element.d.ts +0 -24
- package/types/stable/@ember/-internals/glimmer/lib/helpers/mut.d.ts +3 -2
- package/types/stable/@ember/-internals/glimmer/lib/helpers/readonly.d.ts +3 -1
- package/types/stable/@ember/-internals/glimmer/lib/helpers/unbound.d.ts +6 -2
- package/types/stable/@ember/-internals/glimmer/lib/helpers/unique-id.d.ts +0 -3
- package/types/stable/@ember/-internals/glimmer/lib/syntax/mount.d.ts +4 -2
- package/types/stable/@ember/-internals/glimmer/lib/syntax/outlet.d.ts +7 -2
- package/types/stable/@ember/helper/index.d.ts +1113 -73
- package/types/stable/@ember/object/compat.d.ts +0 -32
- package/types/stable/@ember/object/core.d.ts +1 -1
- package/types/stable/@ember/routing/router-service.d.ts +9 -9
- package/types/stable/@glimmer/interfaces/lib/compile/wire-format/api.d.ts +1 -9
- package/types/stable/@glimmer/interfaces/lib/compile/wire-format/opcodes.d.ts +0 -4
- package/types/stable/@glimmer/interfaces/lib/vm-opcodes.d.ts +0 -4
- package/types/stable/@glimmer/opcode-compiler/lib/opcode-builder/helpers/conditional.d.ts +1 -1
- package/types/stable/@glimmer/opcode-compiler/lib/syntax/statements.d.ts +1 -1
- package/types/stable/@glimmer/runtime/lib/helpers/array.d.ts +0 -33
- package/types/stable/@glimmer/runtime/lib/helpers/concat.d.ts +0 -25
- package/types/stable/@glimmer/runtime/lib/helpers/fn.d.ts +0 -70
- package/types/stable/@glimmer/runtime/lib/helpers/get.d.ts +0 -69
- package/types/stable/@glimmer/runtime/lib/helpers/hash.d.ts +0 -36
- package/types/stable/index.d.ts +0 -14
- package/dist/dev/packages/shared-chunks/get-6I3sjd-I.js +0 -135
- package/dist/dev/packages/shared-chunks/hash-6NDs_5_f.js +0 -198
- package/dist/prod/packages/shared-chunks/get-Dago5uGl.js +0 -135
- package/dist/prod/packages/shared-chunks/hash-gEXIsSO4.js +0 -198
- package/types/stable/@ember/-internals/glimmer/lib/helpers/array.d.ts +0 -43
- package/types/stable/@ember/-internals/glimmer/lib/helpers/component.d.ts +0 -93
- package/types/stable/@ember/-internals/glimmer/lib/helpers/concat.d.ts +0 -32
- package/types/stable/@ember/-internals/glimmer/lib/helpers/fn.d.ts +0 -77
- package/types/stable/@ember/-internals/glimmer/lib/helpers/get.d.ts +0 -94
- package/types/stable/@ember/-internals/glimmer/lib/helpers/hash.d.ts +0 -46
- package/types/stable/@ember/-internals/glimmer/lib/helpers/helper.d.ts +0 -43
- package/types/stable/@ember/-internals/glimmer/lib/helpers/if-unless.d.ts +0 -228
- package/types/stable/@ember/-internals/glimmer/lib/helpers/log.d.ts +0 -19
- package/types/stable/@ember/-internals/glimmer/lib/helpers/modifier.d.ts +0 -42
- package/types/stable/@ember/-internals/glimmer/lib/helpers/page-title.d.ts +0 -24
- package/types/stable/@ember/-internals/glimmer/lib/modifiers/on.d.ts +0 -95
- package/types/stable/@ember/-internals/glimmer/lib/syntax/in-element.d.ts +0 -49
- package/types/stable/@ember/-internals/glimmer/lib/syntax/let.d.ts +0 -43
package/dist/dev/packages/shared-chunks/{setup-registry-h519ZsHS.js → setup-registry-CVtsD0q2.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { privatize } from '../@ember/-internals/container/index.js';
|
|
2
2
|
import { getOwner } from '../@ember/-internals/owner/index.js';
|
|
3
3
|
import '../@ember/debug/index.js';
|
|
4
|
-
import { I as Input, T as Textarea } from './textarea-
|
|
4
|
+
import { I as Input, T as Textarea } from './textarea-DvS6Xmdh.js';
|
|
5
5
|
import { LinkTo } from '../@ember/routing/index.js';
|
|
6
|
-
import { i as inTransaction, d as renderMain } from './render-
|
|
6
|
+
import { i as inTransaction, d as renderMain } from './render-B5RULomD.js';
|
|
7
7
|
import { c as clientBuilder } from './api-Dz70AUL_.js';
|
|
8
8
|
import { r as rehydrationBuilder } from './rehydrate-builder-CsnkZkur.js';
|
|
9
9
|
import { s as serializeBuilder } from './serialize-builder-D1oAeiyl.js';
|
|
@@ -11,21 +11,21 @@ import { g as guidFor } from './guid-Cbq2sNV_.js';
|
|
|
11
11
|
import { getViewId, getViewElement } from '../@ember/-internals/views/lib/system/utils.js';
|
|
12
12
|
import { associateDestroyableChild, isDestroyed, destroy, isDestroying } from '../@glimmer/destroyable/index.js';
|
|
13
13
|
import { a as createConstRef, v as valueForRef, c as createComputeRef, h as createDebugAliasRef, g as childRefFromParts, u as updateRef, U as UNDEFINED_REFERENCE } from './reference-BqOLhKFy.js';
|
|
14
|
-
import { c as createCapturedArgs, b as EMPTY_POSITIONAL, d as curry } from './arguments-
|
|
14
|
+
import { c as createCapturedArgs, b as EMPTY_POSITIONAL, d as curry } from './arguments-BVmnQtAM.js';
|
|
15
15
|
import { d as dict } from './collections-DPkjqeA3.js';
|
|
16
|
-
import { C as CurlyComponentManager, i as initialRenderInstrumentDetails, p as processComponentInitializationAssertions, a as ComponentStateBucket, D as DIRTY_TAG, u as unwrapTemplate, B as BOUNDS } from './curly-
|
|
17
|
-
import { O as OutletComponent, c as createRootOutlet } from './outlet-
|
|
16
|
+
import { C as CurlyComponentManager, i as initialRenderInstrumentDetails, p as processComponentInitializationAssertions, a as ComponentStateBucket, D as DIRTY_TAG, u as unwrapTemplate, B as BOUNDS } from './curly-qZIwixUW.js';
|
|
17
|
+
import { O as OutletComponent, c as createRootOutlet } from './outlet-D6v6ZBvX.js';
|
|
18
18
|
import { g as getFactoryFor } from './container-BzzHmCNj.js';
|
|
19
19
|
import { _instrumentStart } from '../@ember/instrumentation/index.js';
|
|
20
20
|
import { c as capabilityFlagsFrom } from './capabilities-CajW4QjE.js';
|
|
21
21
|
import { C as CONSTANT_TAG, c as consumeTag, D as DIRTY_TAG$1, r as createTag } from './cache-DGDPVCpC.js';
|
|
22
22
|
import { assert } from '../@ember/debug/lib/assert.js';
|
|
23
|
-
import { R as ResolverImpl, B as BaseRenderer, e as errorLoopTransaction } from './index-
|
|
23
|
+
import { R as ResolverImpl, B as BaseRenderer, e as errorLoopTransaction } from './index-COgCjiy-.js';
|
|
24
24
|
import { generateControllerFactory } from '../@ember/routing/lib/generate_controller.js';
|
|
25
25
|
import { i as internalHelper } from './internal-helper-CKrni0b_.js';
|
|
26
26
|
import { c as hasInternalComponentManager } from './api-DuLOZMO_.js';
|
|
27
27
|
import { schedule } from '../@ember/runloop/index.js';
|
|
28
|
-
import { t as templateFactory } from './index-
|
|
28
|
+
import { t as templateFactory } from './index-BYUSIu_W.js';
|
|
29
29
|
|
|
30
30
|
const RootTemplate = templateFactory(
|
|
31
31
|
/*
|
|
@@ -235,7 +235,7 @@ class MountDefinition {
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
|
-
@module ember
|
|
238
|
+
@module @ember/helper
|
|
239
239
|
*/
|
|
240
240
|
|
|
241
241
|
|
|
@@ -246,7 +246,7 @@ class MountDefinition {
|
|
|
246
246
|
|
|
247
247
|
For example, the following template mounts the `ember-chat` engine:
|
|
248
248
|
|
|
249
|
-
```app/templates/application.gjs
|
|
249
|
+
```gjs {data-filename="app/templates/application.gjs"}
|
|
250
250
|
{{mount "ember-chat"}}
|
|
251
251
|
```
|
|
252
252
|
|
|
@@ -280,7 +280,9 @@ class MountDefinition {
|
|
|
280
280
|
@param {String} name Name of the engine to mount.
|
|
281
281
|
@param {Object} [model] Object that will be set as
|
|
282
282
|
the model of the engine.
|
|
283
|
-
@for
|
|
283
|
+
@for Keywords
|
|
284
|
+
@static
|
|
285
|
+
@noimport
|
|
284
286
|
@public
|
|
285
287
|
*/
|
|
286
288
|
const mountHelper = /*@__PURE__*/internalHelper((args, owner) => {
|
|
@@ -415,12 +417,16 @@ function makeRouteTemplate(owner, name, template) {
|
|
|
415
417
|
return curry(0, routeTemplate, owner, null, true);
|
|
416
418
|
}
|
|
417
419
|
|
|
420
|
+
/**
|
|
421
|
+
@module @ember/helper
|
|
422
|
+
*/
|
|
423
|
+
|
|
418
424
|
/**
|
|
419
425
|
The `{{outlet}}` helper lets you specify where a child route will render in
|
|
420
426
|
your template. An important use of the `{{outlet}}` helper is in your
|
|
421
427
|
application's `application.gjs` file:
|
|
422
428
|
|
|
423
|
-
```app/templates/application.gjs
|
|
429
|
+
```gjs {data-filename="app/templates/application.gjs"}
|
|
424
430
|
import MyHeader from '../components/my-header';
|
|
425
431
|
import MyFooter from '../components/my-footer';
|
|
426
432
|
|
|
@@ -443,7 +449,9 @@ function makeRouteTemplate(owner, name, template) {
|
|
|
443
449
|
`outlet` is built-in and does not need to be imported.
|
|
444
450
|
|
|
445
451
|
@method outlet
|
|
446
|
-
@for
|
|
452
|
+
@for Keywords
|
|
453
|
+
@static
|
|
454
|
+
@noimport
|
|
447
455
|
@public
|
|
448
456
|
*/
|
|
449
457
|
const outletHelper = /*@__PURE__*/internalHelper((_args, owner, scope) => {
|
|
@@ -531,15 +539,29 @@ const outletHelper = /*@__PURE__*/internalHelper((_args, owner, scope) => {
|
|
|
531
539
|
// Store the value of the model
|
|
532
540
|
let model = valueForRef(modelRef);
|
|
533
541
|
|
|
542
|
+
// The controller for this outlet, used to verify the outletRef
|
|
543
|
+
// still points to the correct route's data.
|
|
544
|
+
let outletController = state.controller;
|
|
545
|
+
|
|
534
546
|
// Create a compute ref which we pass in as the `{{@model}}` reference
|
|
535
547
|
// for the outlet. This ref will update and return the value of the
|
|
536
548
|
// model _until_ the outlet itself changes. Once the outlet changes,
|
|
537
549
|
// dynamic scope also changes, and so the original model ref would not
|
|
538
550
|
// provide the correct updated value. So we stop updating and return
|
|
539
551
|
// the _last_ model value for that outlet.
|
|
552
|
+
//
|
|
553
|
+
// We also verify that the outletRef still resolves to this route's
|
|
554
|
+
// data by comparing controller identity. This handles the case where
|
|
555
|
+
// a parent outlet is torn down first: the dynamic scope refs now
|
|
556
|
+
// point to the new route's outlet state, but this outlet's outer
|
|
557
|
+
// compute ref hasn't re-evaluated yet, so `lastState === state` is
|
|
558
|
+
// still true. The controller check catches this case.
|
|
540
559
|
named['model'] = createComputeRef(() => {
|
|
541
560
|
if (lastState === state) {
|
|
542
|
-
|
|
561
|
+
let currentOutlet = valueForRef(outletRef);
|
|
562
|
+
if (currentOutlet?.render?.controller === outletController) {
|
|
563
|
+
model = valueForRef(modelRef);
|
|
564
|
+
}
|
|
543
565
|
}
|
|
544
566
|
return model;
|
|
545
567
|
});
|
|
@@ -86,7 +86,6 @@ const VM_COMPILE_BLOCK_OP = 61;
|
|
|
86
86
|
const VM_PUSH_BLOCK_SCOPE_OP = 62;
|
|
87
87
|
const VM_PUSH_SYMBOL_TABLE_OP = 63;
|
|
88
88
|
const VM_INVOKE_YIELD_OP = 64;
|
|
89
|
-
const VM_JUMP_IF_OP = 65;
|
|
90
89
|
const VM_JUMP_UNLESS_OP = 66;
|
|
91
90
|
const VM_JUMP_EQ_OP = 67;
|
|
92
91
|
const VM_ASSERT_SAME_OP = 68;
|
|
@@ -130,4 +129,4 @@ const VM_GET_DYNAMIC_VAR_OP = 111;
|
|
|
130
129
|
const VM_LOG_OP = 112;
|
|
131
130
|
const VM_SYSCALL_SIZE = 113;
|
|
132
131
|
|
|
133
|
-
export {
|
|
132
|
+
export { VM_PREPARE_ARGS_OP as $, VM_ENTER_OP as A, VM_EXIT_OP as B, VM_PUSH_SYMBOL_TABLE_OP as C, VM_PUSH_BLOCK_SCOPE_OP as D, VM_COMPILE_BLOCK_OP as E, VM_INVOKE_YIELD_OP as F, VM_JUMP_UNLESS_OP as G, VM_JUMP_EQ_OP as H, VM_TO_BOOLEAN_OP as I, VM_TEXT_OP as J, VM_COMMENT_OP as K, VM_OPEN_ELEMENT_OP as L, VM_OPEN_DYNAMIC_ELEMENT_OP as M, VM_PUSH_REMOTE_ELEMENT_OP as N, VM_POP_REMOTE_ELEMENT_OP as O, VM_FLUSH_ELEMENT_OP as P, VM_CLOSE_ELEMENT_OP as Q, VM_MODIFIER_OP as R, VM_DYNAMIC_MODIFIER_OP as S, VM_STATIC_ATTR_OP as T, VM_DYNAMIC_ATTR_OP as U, VM_MAIN_OP as V, VM_PUSH_COMPONENT_DEFINITION_OP as W, VM_RESOLVE_DYNAMIC_COMPONENT_OP as X, VM_PUSH_ARGS_OP as Y, VM_PUSH_EMPTY_ARGS_OP as Z, VM_CAPTURE_ARGS_OP as _, VM_CONTENT_TYPE_OP as a, VM_CREATE_COMPONENT_OP as a0, VM_REGISTER_COMPONENT_DESTRUCTOR_OP as a1, VM_BEGIN_COMPONENT_TRANSACTION_OP as a2, VM_PUT_COMPONENT_OPERATIONS_OP as a3, VM_COMPONENT_ATTR_OP as a4, VM_STATIC_COMPONENT_ATTR_OP as a5, VM_DID_CREATE_ELEMENT_OP as a6, VM_GET_COMPONENT_SELF_OP as a7, VM_GET_COMPONENT_TAG_NAME_OP as a8, VM_GET_COMPONENT_LAYOUT_OP as a9, VM_ENTER_LIST_OP as aA, VM_EXIT_LIST_OP as aB, VM_ITERATE_OP as aC, encodeHandle as aD, isSmallInt as aE, encodeImmediate as aF, constants as aG, VM_POPULATE_LAYOUT_OP as aa, VM_VIRTUAL_ROOT_SCOPE_OP as ab, VM_SET_NAMED_VARIABLES_OP as ac, VM_SET_BLOCKS_OP as ad, VM_INVOKE_COMPONENT_LAYOUT_OP as ae, VM_DID_RENDER_LAYOUT_OP as af, VM_COMMIT_COMPONENT_TRANSACTION_OP as ag, VM_CURRY_OP as ah, VM_DYNAMIC_HELPER_OP as ai, VM_HELPER_OP as aj, VM_GET_VARIABLE_OP as ak, VM_SET_VARIABLE_OP as al, VM_SET_BLOCK_OP as am, VM_ROOT_SCOPE_OP as an, VM_GET_PROPERTY_OP as ao, VM_GET_BLOCK_OP as ap, VM_SPREAD_BLOCK_OP as aq, VM_HAS_BLOCK_OP as ar, VM_HAS_BLOCK_PARAMS_OP as as, VM_CONCAT_OP as at, VM_IF_INLINE_OP as au, VM_NOT_OP as av, VM_GET_DYNAMIC_VAR_OP as aw, VM_LOG_OP as ax, VM_DYNAMIC_CONTENT_TYPE_OP as ay, VM_DEBUGGER_OP as az, VM_ASSERT_SAME_OP as b, VM_APPEND_HTML_OP as c, VM_APPEND_TEXT_OP as d, VM_RESOLVE_CURRIED_COMPONENT_OP as e, VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP as f, VM_APPEND_SAFE_HTML_OP as g, VM_APPEND_DOCUMENT_FRAGMENT_OP as h, VM_APPEND_NODE_OP as i, VM_SYSCALL_SIZE as j, VM_CHILD_SCOPE_OP as k, VM_POP_SCOPE_OP as l, VM_PUSH_DYNAMIC_SCOPE_OP as m, VM_POP_DYNAMIC_SCOPE_OP as n, VM_CONSTANT_OP as o, decodeHandle as p, VM_CONSTANT_REFERENCE_OP as q, VM_PRIMITIVE_OP as r, isHandle as s, decodeImmediate as t, VM_PRIMITIVE_REFERENCE_OP as u, VM_DUP_OP as v, VM_POP_OP as w, VM_LOAD_OP as x, VM_FETCH_OP as y, VM_BIND_DYNAMIC_SCOPE_OP as z };
|
|
@@ -4,7 +4,7 @@ import { action } from '../@ember/object/index.js';
|
|
|
4
4
|
import { i as isConstRef, v as valueForRef, d as isUpdatableRef, u as updateRef } from './reference-BqOLhKFy.js';
|
|
5
5
|
import { u as untrack } from './cache-DGDPVCpC.js';
|
|
6
6
|
import { on } from '../@ember/modifier/on.js';
|
|
7
|
-
import { t as templateFactory } from './index-
|
|
7
|
+
import { t as templateFactory } from './index-BYUSIu_W.js';
|
|
8
8
|
import { I as InternalComponent, o as opaquify } from './internal-DTOXyEGM.js';
|
|
9
9
|
import { d as decorateFieldV2, i as initializeDeferredDecorator, a as decorateMethodV2 } from './runtime-CYyqkz5q-BOdRhmsS.js';
|
|
10
10
|
import { assert } from '../@ember/debug/lib/assert.js';
|
|
@@ -208,27 +208,6 @@ if (hasDOM) {
|
|
|
208
208
|
isValidInputType = type => type !== '';
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
/**
|
|
212
|
-
See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).
|
|
213
|
-
|
|
214
|
-
@method input
|
|
215
|
-
@for Ember.Templates.helpers
|
|
216
|
-
@param {Hash} options
|
|
217
|
-
@public
|
|
218
|
-
*/
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
An opaque interface which can be imported and used in strict-mode
|
|
222
|
-
templates to call <Input>.
|
|
223
|
-
|
|
224
|
-
See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).
|
|
225
|
-
|
|
226
|
-
@for @ember/component
|
|
227
|
-
@method Input
|
|
228
|
-
@see {Ember.Templates.components.Input}
|
|
229
|
-
@public
|
|
230
|
-
**/
|
|
231
|
-
|
|
232
211
|
/**
|
|
233
212
|
The `Input` component lets you create an HTML `<input>` element.
|
|
234
213
|
|
|
@@ -324,7 +303,8 @@ if (hasDOM) {
|
|
|
324
303
|
changes, it will be reflected in the other.
|
|
325
304
|
|
|
326
305
|
@method Input
|
|
327
|
-
@for
|
|
306
|
+
@for @ember/component
|
|
307
|
+
@static
|
|
328
308
|
@param {Hash} options
|
|
329
309
|
@public
|
|
330
310
|
*/
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { a as createConstRef } from './reference-BqOLhKFy.js';
|
|
2
2
|
import { i as internalHelper } from './internal-helper-CKrni0b_.js';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
@module ember
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
4
|
const uniqueId = internalHelper(() => {
|
|
9
5
|
// SAFETY: glimmer-vm should change the signature of createUnboundRef to use a generic
|
|
10
6
|
// so that the type param to `Reference<?>` can infer from the first argument.
|
|
@@ -110,6 +110,15 @@ const DEPRECATIONS = {
|
|
|
110
110
|
},
|
|
111
111
|
until: '7.5.0',
|
|
112
112
|
url: 'https://deprecations.emberjs.com/id/deprecate-comparable-mixin'
|
|
113
|
+
}),
|
|
114
|
+
DEPRECATE_TARGET_ACTION_SUPPORT: deprecation({
|
|
115
|
+
for: 'ember-source',
|
|
116
|
+
id: 'deprecate-target-action-support',
|
|
117
|
+
since: {
|
|
118
|
+
available: '7.3.0'
|
|
119
|
+
},
|
|
120
|
+
until: '8.0.0',
|
|
121
|
+
url: 'https://deprecations.emberjs.com/id/deprecate-target-action-support'
|
|
113
122
|
})
|
|
114
123
|
};
|
|
115
124
|
function deprecateUntil(message, deprecation) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-
|
|
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-
|
|
1
|
+
export { t as template, a as templateCacheCounters } from '../../../shared-chunks/index-kwuZeaNz.js';
|
|
2
|
+
export { O as OutletView, R as Renderer, a as RootTemplate, s as setupApplicationRegistry, b as setupEngineRegistry } from '../../../shared-chunks/setup-registry-CRFWTdVC.js';
|
|
3
|
+
export { I as Input, T as Textarea } from '../../../shared-chunks/textarea-B-sssXGa.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-
|
|
8
|
+
export { D as DOMChanges } from '../../../shared-chunks/render-OqKpH1Pf.js';
|
|
9
9
|
export { D as DOMTreeConstruction } from '../../../shared-chunks/api-DzOa0Acr.js';
|
|
10
10
|
export { i as isSerializationFirstNode } from '../../../shared-chunks/rehydrate-builder-n_8RCUj9.js';
|
|
11
11
|
export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js';
|
|
12
|
-
export { e as element } from '../../../shared-chunks/element-
|
|
13
|
-
export { u as uniqueId } from '../../../shared-chunks/unique-id-
|
|
14
|
-
export { _ as _resetRenderers, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-
|
|
12
|
+
export { e as element } from '../../../shared-chunks/element-BmBjPjkQ.js';
|
|
13
|
+
export { u as uniqueId } from '../../../shared-chunks/unique-id-BJb1p8EG.js';
|
|
14
|
+
export { _ as _resetRenderers, r as renderComponent, a as renderSettled } from '../../../shared-chunks/index-B-2NDHmt.js';
|
|
15
15
|
export { c as componentCapabilities, m as modifierCapabilities } from '../../../shared-chunks/api-B_poQGXS.js';
|
|
16
16
|
|
|
17
17
|
// STATE within a module is frowned upon, this exists
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../../shared-chunks/property_get-DuDs6rLg.js';
|
|
2
2
|
import '../../engine/instance.js';
|
|
3
3
|
import '../../../route-recognizer/index.js';
|
|
4
|
-
import '../../../shared-chunks/rsvp
|
|
5
|
-
import '../../../shared-chunks/unrecognized-url-error-
|
|
4
|
+
import '../../../shared-chunks/rsvp-aLN_pQtn.js';
|
|
5
|
+
import '../../../shared-chunks/unrecognized-url-error-xC654tCo.js';
|
|
6
6
|
import '../../routing/lib/routing-service.js';
|
|
7
7
|
export { default as generateController, generateControllerFactory } from '../../routing/lib/generate_controller.js';
|
|
8
8
|
export { default as RouterDSL } from '../../routing/lib/dsl.js';
|
|
@@ -6,4 +6,4 @@ export { default as _ProxyMixin, contentFor as _contentFor } from './lib/mixins/
|
|
|
6
6
|
export { default as MutableEnumerable } from '../../enumerable/mutable.js';
|
|
7
7
|
export { default as TargetActionSupport } from './lib/mixins/target_action_support.js';
|
|
8
8
|
export { onerrorDefault } from './lib/ext/rsvp.js';
|
|
9
|
-
export { R as RSVP } from '../../../shared-chunks/rsvp
|
|
9
|
+
export { R as RSVP } from '../../../shared-chunks/rsvp-aLN_pQtn.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as configure, o as on, R as RSVP } from '../../../../../shared-chunks/rsvp
|
|
1
|
+
import { c as configure, o as on, R as RSVP } from '../../../../../shared-chunks/rsvp-aLN_pQtn.js';
|
|
2
2
|
import { _backburner, _rsvpErrorQueue } from '../../../../runloop/index.js';
|
|
3
3
|
import { getDispatchOverride } from '../../../error-handling/index.js';
|
|
4
4
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Mixin from '../../../../object/mixin.js';
|
|
2
2
|
import { g as get } from '../../../../../shared-chunks/property_get-DuDs6rLg.js';
|
|
3
|
+
import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
@module ember
|
|
@@ -133,6 +134,7 @@ const ActionHandler = Mixin.create({
|
|
|
133
134
|
});
|
|
134
135
|
```
|
|
135
136
|
@property actions
|
|
137
|
+
@deprecated Use the `@action` decorator instead.
|
|
136
138
|
@type Object
|
|
137
139
|
@default null
|
|
138
140
|
@public
|
|
@@ -161,11 +163,13 @@ const ActionHandler = Mixin.create({
|
|
|
161
163
|
});
|
|
162
164
|
```
|
|
163
165
|
@method send
|
|
166
|
+
@deprecated Use direct method calls instead.
|
|
164
167
|
@param {String} actionName The action to trigger
|
|
165
168
|
@param {*} context a context to send with the action
|
|
166
169
|
@public
|
|
167
170
|
*/
|
|
168
171
|
send(actionName, ...args) {
|
|
172
|
+
deprecateUntil(`Calling \`.send()\` on ${this} is deprecated. Invoke the corresponding method directly.`, DEPRECATIONS.DEPRECATE_TARGET_ACTION_SUPPORT);
|
|
169
173
|
if (this.actions && this.actions[actionName]) {
|
|
170
174
|
let shouldBubble = this.actions[actionName].apply(this, args) === true;
|
|
171
175
|
if (!shouldBubble) {
|
|
@@ -2,6 +2,7 @@ import { context } from '../../../environment/index.js';
|
|
|
2
2
|
import { g as get } from '../../../../../shared-chunks/property_get-DuDs6rLg.js';
|
|
3
3
|
import { c as computed } from '../../../../../shared-chunks/computed-BNdMwGhH.js';
|
|
4
4
|
import Mixin from '../../../../object/mixin.js';
|
|
5
|
+
import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
@module ember
|
|
@@ -83,11 +84,13 @@ const TargetActionSupport = Mixin.create({
|
|
|
83
84
|
});
|
|
84
85
|
```
|
|
85
86
|
@method triggerAction
|
|
87
|
+
@deprecated Use a direct method call or closure action instead.
|
|
86
88
|
@param opts {Object} (optional, with the optional keys action, target and/or actionContext)
|
|
87
89
|
@return {Boolean} true if the action was sent successfully and did not return false
|
|
88
90
|
@private
|
|
89
91
|
*/
|
|
90
92
|
triggerAction(opts = {}) {
|
|
93
|
+
deprecateUntil(`Calling \`triggerAction\` on ${this} is deprecated. Invoke the target method directly.`, DEPRECATIONS.DEPRECATE_TARGET_ACTION_SUPPORT);
|
|
91
94
|
let {
|
|
92
95
|
action,
|
|
93
96
|
target,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { g as get } from '../../../../../shared-chunks/property_get-DuDs6rLg.js';
|
|
2
2
|
import Mixin from '../../../../object/mixin.js';
|
|
3
|
+
import { deprecateUntil, DEPRECATIONS } from '../../../deprecations/index.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
@module ember
|
|
@@ -13,6 +14,7 @@ import Mixin from '../../../../object/mixin.js';
|
|
|
13
14
|
|
|
14
15
|
const ActionSupport = Mixin.create({
|
|
15
16
|
send(actionName, ...args) {
|
|
17
|
+
deprecateUntil(`Calling \`.send()\` on ${this} is deprecated. Invoke the corresponding method directly.`, DEPRECATIONS.DEPRECATE_TARGET_ACTION_SUPPORT);
|
|
16
18
|
let action = this.actions && this.actions[actionName];
|
|
17
19
|
if (action) {
|
|
18
20
|
let shouldBubble = action.apply(this, args) === true;
|
|
@@ -16,14 +16,14 @@ import NoneLocation from '../routing/none-location.js';
|
|
|
16
16
|
import '../../shared-chunks/property_get-DuDs6rLg.js';
|
|
17
17
|
import '../engine/instance.js';
|
|
18
18
|
import '../../route-recognizer/index.js';
|
|
19
|
-
import { R as RSVP } from '../../shared-chunks/rsvp
|
|
20
|
-
import '../../shared-chunks/unrecognized-url-error-
|
|
19
|
+
import { R as RSVP } from '../../shared-chunks/rsvp-aLN_pQtn.js';
|
|
20
|
+
import '../../shared-chunks/unrecognized-url-error-xC654tCo.js';
|
|
21
21
|
import '../routing/lib/routing-service.js';
|
|
22
22
|
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-CRFWTdVC.js';
|
|
27
27
|
import RouterService from '../routing/router-service.js';
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -5,19 +5,19 @@ import EngineInstance from '../engine/instance.js';
|
|
|
5
5
|
import '../-internals/container/index.js';
|
|
6
6
|
import '../../shared-chunks/guid-Cbq2sNV_.js';
|
|
7
7
|
import '../../shared-chunks/reference-CG0yPgLy.js';
|
|
8
|
-
import '../../shared-chunks/arguments-
|
|
8
|
+
import '../../shared-chunks/arguments-Carzx7C4.js';
|
|
9
9
|
import '../../shared-chunks/cache-CofLhaS4.js';
|
|
10
|
-
import '../../shared-chunks/render-
|
|
11
|
-
import '../../shared-chunks/curly-
|
|
12
|
-
import '../../shared-chunks/outlet-
|
|
10
|
+
import '../../shared-chunks/render-OqKpH1Pf.js';
|
|
11
|
+
import '../../shared-chunks/curly-xbTtts9R.js';
|
|
12
|
+
import '../../shared-chunks/outlet-DDxtxFLV.js';
|
|
13
13
|
import '../../shared-chunks/env-DXxsTFkM.js';
|
|
14
14
|
import '../../shared-chunks/capabilities-BuVYh-vx.js';
|
|
15
|
-
import '../../shared-chunks/hash-
|
|
16
|
-
import '../../shared-chunks/get-
|
|
17
|
-
import '../../shared-chunks/on-
|
|
15
|
+
import '../../shared-chunks/hash-b373B4IL.js';
|
|
16
|
+
import '../../shared-chunks/get-ZhOO_1qS.js';
|
|
17
|
+
import '../../shared-chunks/on-B-5KCq9L.js';
|
|
18
18
|
import '../../shared-chunks/template-only-DKNcKM5b.js';
|
|
19
|
-
import { a as renderSettled } from '../../shared-chunks/index-
|
|
20
|
-
import '../../shared-chunks/unique-id-
|
|
19
|
+
import { a as renderSettled } from '../../shared-chunks/index-B-2NDHmt.js';
|
|
20
|
+
import '../../shared-chunks/unique-id-BJb1p8EG.js';
|
|
21
21
|
import '../runloop/index.js';
|
|
22
22
|
import '../routing/router.js';
|
|
23
23
|
import '../object/index.js';
|
|
@@ -26,7 +26,7 @@ const RECOMPUTE_TAG = Symbol('RECOMPUTE_TAG');
|
|
|
26
26
|
Ember Helpers are functions that can compute values, and are used in templates.
|
|
27
27
|
For example, this code calls a helper named `format-currency`:
|
|
28
28
|
|
|
29
|
-
```app/templates/application.gjs
|
|
29
|
+
```gjs {data-filename="app/templates/application.gjs"}
|
|
30
30
|
import Cost from '../components/cost';
|
|
31
31
|
|
|
32
32
|
<template>
|
|
@@ -34,7 +34,7 @@ const RECOMPUTE_TAG = Symbol('RECOMPUTE_TAG');
|
|
|
34
34
|
</template>
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
```app/components/cost.gjs
|
|
37
|
+
```gjs {data-filename="app/components/cost.gjs"}
|
|
38
38
|
import formatCurrency from '../helpers/format-currency';
|
|
39
39
|
|
|
40
40
|
<template>
|
|
@@ -13,10 +13,10 @@ import { s as setInternalComponentManager } from '../../shared-chunks/api-DlJKfm
|
|
|
13
13
|
import { b as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-CG0yPgLy.js';
|
|
14
14
|
import { n as normalizeProperty } from '../../shared-chunks/props-fiqxqhAH.js';
|
|
15
15
|
import { r as createTag, D as DIRTY_TAG$1 } from '../../shared-chunks/cache-CofLhaS4.js';
|
|
16
|
-
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-
|
|
16
|
+
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-xbTtts9R.js';
|
|
17
17
|
import { h as hasDOM } from '../../shared-chunks/has-dom-DdQORPzI.js';
|
|
18
18
|
import { a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
|
|
19
|
-
export { I as Input, T as Textarea } from '../../shared-chunks/textarea-
|
|
19
|
+
export { I as Input, T as Textarea } from '../../shared-chunks/textarea-B-sssXGa.js';
|
|
20
20
|
import { s as setComponentManager$1 } from '../../shared-chunks/api-B_poQGXS.js';
|
|
21
21
|
export { c as capabilities } from '../../shared-chunks/api-B_poQGXS.js';
|
|
22
22
|
import '../../shared-chunks/capabilities-BuVYh-vx.js';
|
|
@@ -544,7 +544,7 @@ const EMPTY_ARRAY = Object.freeze([]);
|
|
|
544
544
|
|
|
545
545
|
See the [Guide on Component event
|
|
546
546
|
handlers](https://guides.emberjs.com/release/components/component-state-and-actions/#toc_html-modifiers-and-actions)
|
|
547
|
-
and the [API docs for `on`](../
|
|
547
|
+
and the [API docs for `on`](../functions/Keywords/on)
|
|
548
548
|
for more details.
|
|
549
549
|
|
|
550
550
|
### Event Handler Methods
|
|
@@ -8,10 +8,10 @@ import { g as get } from '../../shared-chunks/property_get-DuDs6rLg.js';
|
|
|
8
8
|
import { s as set } from '../../shared-chunks/property_set-BmAQ0MGK.js';
|
|
9
9
|
import EngineInstance from './instance.js';
|
|
10
10
|
import '../../route-recognizer/index.js';
|
|
11
|
-
import '../../shared-chunks/rsvp
|
|
12
|
-
import '../../shared-chunks/unrecognized-url-error-
|
|
11
|
+
import '../../shared-chunks/rsvp-aLN_pQtn.js';
|
|
12
|
+
import '../../shared-chunks/unrecognized-url-error-xC654tCo.js';
|
|
13
13
|
import RoutingService from '../routing/lib/routing-service.js';
|
|
14
|
-
import { b as setupEngineRegistry } from '../../shared-chunks/setup-registry-
|
|
14
|
+
import { b as setupEngineRegistry } from '../../shared-chunks/setup-registry-CRFWTdVC.js';
|
|
15
15
|
import RegistryProxyMixin from '../-internals/runtime/lib/mixins/registry_proxy.js';
|
|
16
16
|
import { StrictResolver } from './lib/strict-resolver.js';
|
|
17
17
|
|
|
@@ -5,7 +5,7 @@ import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
|
|
|
5
5
|
import { ENGINE_PARENT, setEngineParent, getEngineParent } from './lib/engine-parent.js';
|
|
6
6
|
import ContainerProxyMixin from '../-internals/runtime/lib/mixins/container_proxy.js';
|
|
7
7
|
import RegistryProxyMixin from '../-internals/runtime/lib/mixins/registry_proxy.js';
|
|
8
|
-
import { R as RSVP } from '../../shared-chunks/rsvp
|
|
8
|
+
import { R as RSVP } from '../../shared-chunks/rsvp-aLN_pQtn.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
@module @ember/engine
|