ember-source 7.3.0-alpha.5 → 7.4.0-alpha.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 +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-DniR8eF2.js} +5 -18
- 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-BCD_vyHq.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-zsePWrJL.js +40 -0
- package/dist/dev/packages/shared-chunks/hash-BFu91gtE.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-Bv9SQpEx.js} +218 -78
- package/dist/dev/packages/shared-chunks/{invoke-d9sqa50M.js → invoke-CgF42joE.js} +1 -1
- package/dist/dev/packages/shared-chunks/{not-DYh6AY9Z.js → not-0cVb-rLf.js} +1 -1
- package/dist/dev/packages/shared-chunks/{on-DlF0Wy7P.js → on-CVIjn2C-.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-BO5-QFmm.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-D_Rawf-r.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-Ci8Af2Bz.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-CCYATlEH.js} +1 -18
- package/dist/prod/packages/shared-chunks/{compiler-lBSssiWp.js → compiler-Wt5SWcrF.js} +1 -1
- package/dist/prod/packages/shared-chunks/{curly-CU2jYOtm.js → curly-CdvJuTyW.js} +1 -1
- package/dist/prod/packages/shared-chunks/{element-DgHdPZ8u.js → element-BmBjPjkQ.js} +0 -24
- package/dist/prod/packages/shared-chunks/get-CEjFJzGs.js +40 -0
- package/dist/prod/packages/shared-chunks/hash-BitfXhCx.js +57 -0
- package/dist/prod/packages/shared-chunks/{index-XmtQRWbX.js → index-D8cl-pfl.js} +218 -78
- package/dist/prod/packages/shared-chunks/{index-Bf53M8eS.js → index-kwuZeaNz.js} +3 -3
- package/dist/prod/packages/shared-chunks/{invoke-DhQ5QRp2.js → invoke-4JGJYH7Z.js} +1 -1
- package/dist/prod/packages/shared-chunks/{not-BOIVROuv.js → not-Dn5s9qVZ.js} +1 -1
- package/dist/prod/packages/shared-chunks/{on-BZHAxzdq.js → on-ov4KAucw.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-BWnaVOrA.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-BAVl5E6X.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-DeyoFe6Q.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 +52 -47
- 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 +196 -63
- 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/prod/packages/shared-chunks/{setup-registry-DFSQHIUs.js → setup-registry-DeyoFe6Q.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { privatize } from '../@ember/-internals/container/index.js';
|
|
2
2
|
import { getOwner } from '../@ember/-internals/owner/index.js';
|
|
3
|
-
import { I as Input, T as Textarea } from './textarea-
|
|
3
|
+
import { I as Input, T as Textarea } from './textarea-B-sssXGa.js';
|
|
4
4
|
import { LinkTo } from '../@ember/routing/index.js';
|
|
5
|
-
import { i as inTransaction, d as renderMain } from './render-
|
|
5
|
+
import { i as inTransaction, d as renderMain } from './render-BAVl5E6X.js';
|
|
6
6
|
import { c as clientBuilder } from './api-DzOa0Acr.js';
|
|
7
7
|
import { r as rehydrationBuilder } from './rehydrate-builder-n_8RCUj9.js';
|
|
8
8
|
import { s as serializeBuilder } from './serialize-builder-CsG9WHVw.js';
|
|
@@ -10,20 +10,20 @@ import { g as guidFor } from './guid-Cbq2sNV_.js';
|
|
|
10
10
|
import { getViewId, getViewElement } from '../@ember/-internals/views/lib/system/utils.js';
|
|
11
11
|
import { associateDestroyableChild, isDestroyed, destroy, isDestroying } from '../@glimmer/destroyable/index.js';
|
|
12
12
|
import { a as createConstRef, v as valueForRef, c as createComputeRef, g as childRefFromParts, u as updateRef, U as UNDEFINED_REFERENCE } from './reference-CG0yPgLy.js';
|
|
13
|
-
import { c as createCapturedArgs, b as EMPTY_POSITIONAL, d as curry } from './arguments-
|
|
13
|
+
import { c as createCapturedArgs, b as EMPTY_POSITIONAL, d as curry } from './arguments-CCYATlEH.js';
|
|
14
14
|
import { d as dict } from './collections-GpG8lT2g.js';
|
|
15
|
-
import { C as CurlyComponentManager, i as initialRenderInstrumentDetails, a as ComponentStateBucket, D as DIRTY_TAG, u as unwrapTemplate, B as BOUNDS } from './curly-
|
|
16
|
-
import { O as OutletComponent, c as createRootOutlet } from './outlet-
|
|
15
|
+
import { C as CurlyComponentManager, i as initialRenderInstrumentDetails, a as ComponentStateBucket, D as DIRTY_TAG, u as unwrapTemplate, B as BOUNDS } from './curly-CdvJuTyW.js';
|
|
16
|
+
import { O as OutletComponent, c as createRootOutlet } from './outlet-BWnaVOrA.js';
|
|
17
17
|
import { g as getFactoryFor } from './container-BYOnjnwz.js';
|
|
18
18
|
import { _instrumentStart } from '../@ember/instrumentation/index.js';
|
|
19
19
|
import { c as capabilityFlagsFrom } from './capabilities-BuVYh-vx.js';
|
|
20
20
|
import { C as CONSTANT_TAG, c as consumeTag, D as DIRTY_TAG$1, r as createTag } from './cache-CofLhaS4.js';
|
|
21
|
-
import { R as ResolverImpl, B as BaseRenderer, e as errorLoopTransaction } from './index-
|
|
21
|
+
import { R as ResolverImpl, B as BaseRenderer, e as errorLoopTransaction } from './index-D8cl-pfl.js';
|
|
22
22
|
import { generateControllerFactory } from '../@ember/routing/lib/generate_controller.js';
|
|
23
23
|
import { i as internalHelper } from './internal-helper-Bz1lpDXr.js';
|
|
24
24
|
import { c as hasInternalComponentManager } from './api-DlJKfm_f.js';
|
|
25
25
|
import { schedule } from '../@ember/runloop/index.js';
|
|
26
|
-
import { t as templateFactory } from './index-
|
|
26
|
+
import { t as templateFactory } from './index-kwuZeaNz.js';
|
|
27
27
|
|
|
28
28
|
const RootTemplate = templateFactory(
|
|
29
29
|
/*
|
|
@@ -224,7 +224,7 @@ class MountDefinition {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
|
-
@module ember
|
|
227
|
+
@module @ember/helper
|
|
228
228
|
*/
|
|
229
229
|
|
|
230
230
|
|
|
@@ -235,7 +235,7 @@ class MountDefinition {
|
|
|
235
235
|
|
|
236
236
|
For example, the following template mounts the `ember-chat` engine:
|
|
237
237
|
|
|
238
|
-
```app/templates/application.gjs
|
|
238
|
+
```gjs {data-filename="app/templates/application.gjs"}
|
|
239
239
|
{{mount "ember-chat"}}
|
|
240
240
|
```
|
|
241
241
|
|
|
@@ -269,7 +269,9 @@ class MountDefinition {
|
|
|
269
269
|
@param {String} name Name of the engine to mount.
|
|
270
270
|
@param {Object} [model] Object that will be set as
|
|
271
271
|
the model of the engine.
|
|
272
|
-
@for
|
|
272
|
+
@for Keywords
|
|
273
|
+
@static
|
|
274
|
+
@noimport
|
|
273
275
|
@public
|
|
274
276
|
*/
|
|
275
277
|
const mountHelper = /*@__PURE__*/internalHelper((args, owner) => {
|
|
@@ -392,12 +394,16 @@ function makeRouteTemplate(owner, name, template) {
|
|
|
392
394
|
return curry(0, routeTemplate, owner, null, true);
|
|
393
395
|
}
|
|
394
396
|
|
|
397
|
+
/**
|
|
398
|
+
@module @ember/helper
|
|
399
|
+
*/
|
|
400
|
+
|
|
395
401
|
/**
|
|
396
402
|
The `{{outlet}}` helper lets you specify where a child route will render in
|
|
397
403
|
your template. An important use of the `{{outlet}}` helper is in your
|
|
398
404
|
application's `application.gjs` file:
|
|
399
405
|
|
|
400
|
-
```app/templates/application.gjs
|
|
406
|
+
```gjs {data-filename="app/templates/application.gjs"}
|
|
401
407
|
import MyHeader from '../components/my-header';
|
|
402
408
|
import MyFooter from '../components/my-footer';
|
|
403
409
|
|
|
@@ -420,7 +426,9 @@ function makeRouteTemplate(owner, name, template) {
|
|
|
420
426
|
`outlet` is built-in and does not need to be imported.
|
|
421
427
|
|
|
422
428
|
@method outlet
|
|
423
|
-
@for
|
|
429
|
+
@for Keywords
|
|
430
|
+
@static
|
|
431
|
+
@noimport
|
|
424
432
|
@public
|
|
425
433
|
*/
|
|
426
434
|
const outletHelper = /*@__PURE__*/internalHelper((_args, owner, scope) => {
|
|
@@ -478,15 +486,29 @@ const outletHelper = /*@__PURE__*/internalHelper((_args, owner, scope) => {
|
|
|
478
486
|
// Store the value of the model
|
|
479
487
|
let model = valueForRef(modelRef);
|
|
480
488
|
|
|
489
|
+
// The controller for this outlet, used to verify the outletRef
|
|
490
|
+
// still points to the correct route's data.
|
|
491
|
+
let outletController = state.controller;
|
|
492
|
+
|
|
481
493
|
// Create a compute ref which we pass in as the `{{@model}}` reference
|
|
482
494
|
// for the outlet. This ref will update and return the value of the
|
|
483
495
|
// model _until_ the outlet itself changes. Once the outlet changes,
|
|
484
496
|
// dynamic scope also changes, and so the original model ref would not
|
|
485
497
|
// provide the correct updated value. So we stop updating and return
|
|
486
498
|
// the _last_ model value for that outlet.
|
|
499
|
+
//
|
|
500
|
+
// We also verify that the outletRef still resolves to this route's
|
|
501
|
+
// data by comparing controller identity. This handles the case where
|
|
502
|
+
// a parent outlet is torn down first: the dynamic scope refs now
|
|
503
|
+
// point to the new route's outlet state, but this outlet's outer
|
|
504
|
+
// compute ref hasn't re-evaluated yet, so `lastState === state` is
|
|
505
|
+
// still true. The controller check catches this case.
|
|
487
506
|
named['model'] = createComputeRef(() => {
|
|
488
507
|
if (lastState === state) {
|
|
489
|
-
|
|
508
|
+
let currentOutlet = valueForRef(outletRef);
|
|
509
|
+
if (currentOutlet?.render?.controller === outletController) {
|
|
510
|
+
model = valueForRef(modelRef);
|
|
511
|
+
}
|
|
490
512
|
}
|
|
491
513
|
return model;
|
|
492
514
|
});
|
|
@@ -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 };
|
|
@@ -3,7 +3,7 @@ import { action } from '../@ember/object/index.js';
|
|
|
3
3
|
import { i as isConstRef, v as valueForRef, b as isUpdatableRef, u as updateRef } from './reference-CG0yPgLy.js';
|
|
4
4
|
import './cache-CofLhaS4.js';
|
|
5
5
|
import { on } from '../@ember/modifier/on.js';
|
|
6
|
-
import { t as templateFactory } from './index-
|
|
6
|
+
import { t as templateFactory } from './index-kwuZeaNz.js';
|
|
7
7
|
import { I as InternalComponent, o as opaquify } from './internal-BQ7zHrqS.js';
|
|
8
8
|
import { d as decorateFieldV2, i as initializeDeferredDecorator, a as decorateMethodV2 } from './runtime-CYyqkz5q-BOdRhmsS.js';
|
|
9
9
|
import { t as tracked } from './tracked-DvOpYI0o.js';
|
|
@@ -202,27 +202,6 @@ if (hasDOM) {
|
|
|
202
202
|
isValidInputType = type => type !== '';
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
/**
|
|
206
|
-
See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).
|
|
207
|
-
|
|
208
|
-
@method input
|
|
209
|
-
@for Ember.Templates.helpers
|
|
210
|
-
@param {Hash} options
|
|
211
|
-
@public
|
|
212
|
-
*/
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
An opaque interface which can be imported and used in strict-mode
|
|
216
|
-
templates to call <Input>.
|
|
217
|
-
|
|
218
|
-
See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).
|
|
219
|
-
|
|
220
|
-
@for @ember/component
|
|
221
|
-
@method Input
|
|
222
|
-
@see {Ember.Templates.components.Input}
|
|
223
|
-
@public
|
|
224
|
-
**/
|
|
225
|
-
|
|
226
205
|
/**
|
|
227
206
|
The `Input` component lets you create an HTML `<input>` element.
|
|
228
207
|
|
|
@@ -318,7 +297,8 @@ if (hasDOM) {
|
|
|
318
297
|
changes, it will be reflected in the other.
|
|
319
298
|
|
|
320
299
|
@method Input
|
|
321
|
-
@for
|
|
300
|
+
@for @ember/component
|
|
301
|
+
@static
|
|
322
302
|
@param {Hash} options
|
|
323
303
|
@public
|
|
324
304
|
*/
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { a as createConstRef } from './reference-CG0yPgLy.js';
|
|
2
2
|
import { i as internalHelper } from './internal-helper-Bz1lpDXr.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.
|