ember-source 7.1.0-alpha.2 → 7.1.0-alpha.4
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/environment/index.js +10 -0
- package/dist/dev/packages/@ember/-internals/glimmer/index.js +7 -7
- package/dist/dev/packages/@ember/application/index.js +5 -5
- package/dist/dev/packages/@ember/application/instance.js +4 -4
- package/dist/dev/packages/@ember/component/helper.js +4 -4
- package/dist/dev/packages/@ember/component/index.js +4 -4
- package/dist/dev/packages/@ember/component/template-only.js +2 -2
- package/dist/dev/packages/@ember/debug/index.js +2 -1
- package/dist/dev/packages/@ember/engine/index.js +5 -5
- package/dist/dev/packages/@ember/helper/index.js +51 -7
- package/dist/dev/packages/@ember/modifier/index.js +4 -4
- package/dist/dev/packages/@ember/modifier/on.js +2 -2
- package/dist/dev/packages/@ember/renderer/index.js +4 -4
- package/dist/dev/packages/@ember/routing/index.js +4 -4
- package/dist/dev/packages/@ember/routing/route.js +1 -1
- package/dist/dev/packages/@ember/template/index.js +4 -4
- package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +9 -5
- package/dist/dev/packages/@ember/template-compiler/lib/plugins/auto-import-builtins.js +36 -0
- package/dist/dev/packages/@ember/template-compiler/lib/plugins/index.js +1 -1
- package/dist/dev/packages/@ember/template-compiler/lib/plugins/transform-resolutions.js +1 -1
- 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/destroyable/index.js +5 -1
- package/dist/dev/packages/@glimmer/manager/index.js +2 -2
- package/dist/dev/packages/@glimmer/node/index.js +4 -4
- package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -2
- package/dist/dev/packages/@glimmer/program/index.js +1 -1
- package/dist/dev/packages/@glimmer/runtime/index.js +5 -5
- package/dist/dev/packages/ember/version.js +1 -1
- package/dist/dev/packages/ember-template-compiler/index.js +3 -3
- package/dist/dev/packages/shared-chunks/{api-BqXkkT0p.js → api-BQMslHhq.js} +1 -1
- package/dist/dev/packages/shared-chunks/{compiler-BenCxenr.js → compiler-D1leQ3Gl.js} +90 -88
- package/dist/dev/packages/shared-chunks/{constants-DKn6zqFX.js → constants-BbdWMvgs.js} +2 -2
- package/dist/dev/packages/shared-chunks/{dynamic-Cu9Xpdzc.js → dynamic-CgX8M02_.js} +7 -8
- package/dist/dev/packages/shared-chunks/{element-builder-Dw_Ic9cD.js → element-builder-BpJIoi99.js} +2 -2
- package/dist/dev/packages/shared-chunks/{index-CtPSmMCE.js → index-BUPd6pkm.js} +15 -17
- package/dist/dev/packages/shared-chunks/{index-AD_RxZjB.js → index-RzG0Jvjx.js} +7 -7
- package/dist/dev/packages/shared-chunks/{invoke-D0D6CvD5.js → neq-DujMPv1k.js} +27 -3
- package/dist/dev/packages/shared-chunks/{program-context-yOi1EExe.js → program-context-sJz0oHOA.js} +1 -1
- package/dist/dev/packages/shared-chunks/{rehydrate-builder-CfBtYUkk.js → rehydrate-builder-BRH0p0wA.js} +3 -5
- package/dist/dev/packages/shared-chunks/{render-t-LAXUYI.js → render-DCchifOK.js} +4 -4
- package/dist/dev/packages/shared-chunks/{serialize-builder-BUG9CxHC.js → serialize-builder-DiO7Ak9_.js} +3 -3
- package/dist/dev/packages/shared-chunks/{setup-registry-CxXWLs26.js → setup-registry-DxchCIL2.js} +6 -6
- package/dist/dev/packages/shared-chunks/{transform-resolutions-fXGQKGsL.js → transform-resolutions-D-YtZ0_g.js} +2 -2
- package/dist/prod/packages/@ember/-internals/environment/index.js +10 -0
- package/dist/prod/packages/@ember/-internals/glimmer/index.js +9 -9
- package/dist/prod/packages/@ember/-internals/metal/index.js +10 -10
- package/dist/prod/packages/@ember/-internals/routing/index.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +4 -4
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.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/lib/mixins/action_support.js +2 -2
- package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +3 -3
- package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +3 -3
- package/dist/prod/packages/@ember/application/index.js +8 -8
- package/dist/prod/packages/@ember/application/instance.js +8 -8
- package/dist/prod/packages/@ember/application/namespace.js +3 -3
- package/dist/prod/packages/@ember/array/index.js +5 -5
- package/dist/prod/packages/@ember/array/proxy.js +5 -5
- package/dist/prod/packages/@ember/component/helper.js +6 -6
- package/dist/prod/packages/@ember/component/index.js +6 -6
- package/dist/prod/packages/@ember/component/template-only.js +4 -4
- package/dist/prod/packages/@ember/controller/index.js +4 -4
- package/dist/prod/packages/@ember/debug/container-debug-adapter.js +2 -2
- package/dist/prod/packages/@ember/debug/data-adapter.js +2 -2
- package/dist/prod/packages/@ember/debug/index.js +1 -0
- package/dist/prod/packages/@ember/engine/index.js +9 -9
- package/dist/prod/packages/@ember/helper/index.js +53 -9
- package/dist/prod/packages/@ember/modifier/index.js +6 -6
- package/dist/prod/packages/@ember/modifier/on.js +4 -4
- package/dist/prod/packages/@ember/object/-internals.js +2 -2
- package/dist/prod/packages/@ember/object/compat.js +2 -2
- package/dist/prod/packages/@ember/object/computed.js +4 -4
- package/dist/prod/packages/@ember/object/core.js +2 -2
- package/dist/prod/packages/@ember/object/evented.js +3 -3
- package/dist/prod/packages/@ember/object/events.js +2 -2
- package/dist/prod/packages/@ember/object/index.js +6 -6
- package/dist/prod/packages/@ember/object/internals.js +2 -2
- package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +5 -5
- package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +3 -3
- package/dist/prod/packages/@ember/object/mixin.js +3 -3
- package/dist/prod/packages/@ember/object/observable.js +5 -5
- package/dist/prod/packages/@ember/object/observers.js +2 -2
- package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +4 -4
- package/dist/prod/packages/@ember/renderer/index.js +6 -6
- package/dist/prod/packages/@ember/routing/index.js +6 -6
- package/dist/prod/packages/@ember/routing/lib/generate_controller.js +2 -2
- package/dist/prod/packages/@ember/routing/lib/routing-service.js +2 -2
- package/dist/prod/packages/@ember/routing/lib/utils.js +2 -2
- package/dist/prod/packages/@ember/routing/route.js +6 -6
- package/dist/prod/packages/@ember/routing/router-service.js +2 -2
- package/dist/prod/packages/@ember/routing/router.js +4 -4
- package/dist/prod/packages/@ember/runloop/index.js +2 -2
- package/dist/prod/packages/@ember/service/index.js +3 -3
- package/dist/prod/packages/@ember/template/index.js +6 -6
- package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +11 -7
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/auto-import-builtins.js +36 -0
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/index.js +1 -1
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/transform-resolutions.js +1 -1
- package/dist/prod/packages/@ember/template-compiler/lib/template.js +4 -4
- package/dist/prod/packages/@ember/template-factory/index.js +3 -3
- package/dist/prod/packages/@ember/utils/lib/is_empty.js +2 -2
- package/dist/prod/packages/@glimmer/destroyable/index.js +5 -1
- package/dist/prod/packages/@glimmer/manager/index.js +4 -4
- package/dist/prod/packages/@glimmer/node/index.js +6 -6
- package/dist/prod/packages/@glimmer/opcode-compiler/index.js +3 -3
- package/dist/prod/packages/@glimmer/program/index.js +1 -1
- package/dist/prod/packages/@glimmer/runtime/index.js +6 -6
- package/dist/prod/packages/@glimmer/tracking/index.js +3 -3
- package/dist/prod/packages/@glimmer/tracking/primitives/cache/index.js +2 -2
- package/dist/prod/packages/ember/version.js +1 -1
- package/dist/prod/packages/ember-template-compiler/index.js +4 -4
- package/dist/prod/packages/shared-chunks/{alias-BkT-0B1G.js → alias-BLBQkche.js} +3 -3
- package/dist/prod/packages/shared-chunks/{api-Co-k4HVs.js → api-B5UrgITK.js} +2 -2
- package/dist/prod/packages/shared-chunks/{array-EwekEvId.js → array-kVQfzrQn.js} +2 -2
- package/dist/prod/packages/shared-chunks/{capabilities-DGmQ_mz4.js → capabilities-DXA-L0iT.js} +1 -1
- package/dist/prod/packages/shared-chunks/{compiler-Rwrmj1ki.js → compiler-Bbki2GT_.js} +53 -92
- package/dist/prod/packages/shared-chunks/{constants-CB3pk7dH.js → constants-DThhT5fu.js} +4 -4
- package/dist/prod/packages/shared-chunks/{element-builder-DbktcGKV.js → element-builder-CzXb9l1W.js} +2 -4
- package/dist/prod/packages/shared-chunks/{fragment-EpVz5Xuc.js → fragment-D7nBU9ae.js} +16 -1
- package/dist/prod/packages/shared-chunks/{index-nW__r2nX.js → index-CjaDF9kC.js} +2 -10
- package/dist/prod/packages/shared-chunks/{index-BVy-auLZ.js → index-r-Dz_hzt.js} +13 -13
- package/dist/prod/packages/shared-chunks/{injected_property-DL3vQoFA.js → injected_property-CTVs5FPh.js} +1 -1
- package/dist/prod/packages/shared-chunks/{namespace_search-Aog9nySA.js → namespace_search-Dcdalhj6.js} +1 -1
- package/dist/prod/packages/shared-chunks/{invoke-BuwCkcVB.js → neq-BqdovTuC.js} +22 -4
- package/dist/prod/packages/shared-chunks/{observers-R1ZklwWy.js → observers-tZ2aOzr4.js} +1 -1
- package/dist/prod/packages/shared-chunks/{on-ByzWKBWe.js → on-CersD7PL.js} +4 -11
- package/dist/prod/packages/shared-chunks/{program-context-BdUXf-jj.js → program-context-DFiwaPMR.js} +2 -2
- package/dist/prod/packages/shared-chunks/{property_set-O080KTKZ.js → property_set-B2sZxeCw.js} +2 -2
- package/dist/prod/packages/shared-chunks/{rehydrate-builder-M_dh82nR.js → rehydrate-builder-D3t52iGR.js} +3 -7
- package/dist/prod/packages/shared-chunks/{render-DJ-BzvgU.js → render-D78XHdek.js} +4 -6
- package/dist/prod/packages/shared-chunks/{serialize-builder-BpVMgrCr.js → serialize-builder-iXiRs1Pg.js} +5 -5
- package/dist/prod/packages/shared-chunks/{set_properties-CjsDTRey.js → set_properties-C1T46IiN.js} +3 -3
- package/dist/prod/packages/shared-chunks/{setup-registry-KYxkFexK.js → setup-registry-Cs-7NIJU.js} +8 -8
- package/dist/prod/packages/shared-chunks/{tracked-ChVNBE2f.js → tracked-Cl5l4v8b.js} +1 -1
- package/dist/prod/packages/shared-chunks/{transform-resolutions-C7wq_Q_c.js → transform-resolutions-DR4GLmR2.js} +0 -3
- package/docs/data.json +316 -173
- package/package.json +3 -1
- package/types/stable/@ember/-internals/environment/lib/env.d.ts +11 -0
- package/types/stable/@ember/helper/index.d.ts +48 -0
- package/types/stable/@glimmer/runtime/index.d.ts +2 -0
- package/types/stable/@glimmer/runtime/lib/helpers/eq.d.ts +8 -0
- package/types/stable/@glimmer/runtime/lib/helpers/neq.d.ts +8 -0
- package/types/stable/@glimmer/syntax/lib/source/source.d.ts +2 -1
- package/types/stable/index.d.ts +2 -0
- package/dist/prod/packages/shared-chunks/assert-CUCJBR2C.js +0 -19
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { fn } from '../../helper/index.js';
|
|
1
|
+
import { neq, hash, fn, eq, array } from '../../helper/index.js';
|
|
2
2
|
import '../../../@glimmer/validator/index.js';
|
|
3
3
|
import '../../../shared-chunks/reference-BNqcwZWH.js';
|
|
4
|
-
import '../../../shared-chunks/capabilities-
|
|
4
|
+
import '../../../shared-chunks/capabilities-DXA-L0iT.js';
|
|
5
5
|
import { on } from '../../modifier/on.js';
|
|
6
|
-
import '../../../shared-chunks/fragment-
|
|
7
|
-
import '../../../shared-chunks/index-
|
|
8
|
-
import '../../../shared-chunks/index-
|
|
6
|
+
import '../../../shared-chunks/fragment-D7nBU9ae.js';
|
|
7
|
+
import '../../../shared-chunks/index-CjaDF9kC.js';
|
|
8
|
+
import '../../../shared-chunks/index-r-Dz_hzt.js';
|
|
9
9
|
import '../../-internals/container/index.js';
|
|
10
10
|
import '../../../shared-chunks/super-Cm_a_cLQ.js';
|
|
11
11
|
import '../../-internals/environment/index.js';
|
|
12
|
-
import '../../../shared-chunks/on-
|
|
13
|
-
import '../../../shared-chunks/constants-
|
|
12
|
+
import '../../../shared-chunks/on-CersD7PL.js';
|
|
13
|
+
import '../../../shared-chunks/constants-DThhT5fu.js';
|
|
14
14
|
import '../../runloop/index.js';
|
|
15
15
|
import { STRICT_MODE_KEYWORDS, STRICT_MODE_TRANSFORMS, RESOLUTION_MODE_TRANSFORMS } from './plugins/index.js';
|
|
16
16
|
import { ALLOWED_GLOBALS } from './plugins/allowed-globals.js';
|
|
@@ -26,7 +26,11 @@ let USER_PLUGINS = [];
|
|
|
26
26
|
*/
|
|
27
27
|
const RUNTIME_KEYWORDS_NAME = '__ember_keywords__';
|
|
28
28
|
const keywords = {
|
|
29
|
+
array,
|
|
30
|
+
eq,
|
|
29
31
|
fn,
|
|
32
|
+
hash,
|
|
33
|
+
neq,
|
|
30
34
|
on
|
|
31
35
|
};
|
|
32
36
|
function buildCompileOptions(_options) {
|
|
@@ -26,14 +26,38 @@ function autoImportBuiltins(env) {
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
SubExpression(node) {
|
|
29
|
+
if (isArray(node, hasLocal)) {
|
|
30
|
+
rewriteKeyword(env, node, 'array', '@ember/helper');
|
|
31
|
+
}
|
|
29
32
|
if (isFn(node, hasLocal)) {
|
|
30
33
|
rewriteKeyword(env, node, 'fn', '@ember/helper');
|
|
31
34
|
}
|
|
35
|
+
if (isHash(node, hasLocal)) {
|
|
36
|
+
rewriteKeyword(env, node, 'hash', '@ember/helper');
|
|
37
|
+
}
|
|
38
|
+
if (isEq(node, hasLocal)) {
|
|
39
|
+
rewriteKeyword(env, node, 'eq', '@ember/helper');
|
|
40
|
+
}
|
|
41
|
+
if (isNeq(node, hasLocal)) {
|
|
42
|
+
rewriteKeyword(env, node, 'neq', '@ember/helper');
|
|
43
|
+
}
|
|
32
44
|
},
|
|
33
45
|
MustacheStatement(node) {
|
|
46
|
+
if (isArray(node, hasLocal)) {
|
|
47
|
+
rewriteKeyword(env, node, 'array', '@ember/helper');
|
|
48
|
+
}
|
|
34
49
|
if (isFn(node, hasLocal)) {
|
|
35
50
|
rewriteKeyword(env, node, 'fn', '@ember/helper');
|
|
36
51
|
}
|
|
52
|
+
if (isHash(node, hasLocal)) {
|
|
53
|
+
rewriteKeyword(env, node, 'hash', '@ember/helper');
|
|
54
|
+
}
|
|
55
|
+
if (isEq(node, hasLocal)) {
|
|
56
|
+
rewriteKeyword(env, node, 'eq', '@ember/helper');
|
|
57
|
+
}
|
|
58
|
+
if (isNeq(node, hasLocal)) {
|
|
59
|
+
rewriteKeyword(env, node, 'neq', '@ember/helper');
|
|
60
|
+
}
|
|
37
61
|
}
|
|
38
62
|
}
|
|
39
63
|
};
|
|
@@ -50,8 +74,20 @@ function rewriteKeyword(env, node, name, moduleSpecifier) {
|
|
|
50
74
|
function isOn(node, hasLocal) {
|
|
51
75
|
return isPath(node.path) && node.path.original === 'on' && !hasLocal('on');
|
|
52
76
|
}
|
|
77
|
+
function isArray(node, hasLocal) {
|
|
78
|
+
return isPath(node.path) && node.path.original === 'array' && !hasLocal('array');
|
|
79
|
+
}
|
|
53
80
|
function isFn(node, hasLocal) {
|
|
54
81
|
return isPath(node.path) && node.path.original === 'fn' && !hasLocal('fn');
|
|
55
82
|
}
|
|
83
|
+
function isHash(node, hasLocal) {
|
|
84
|
+
return isPath(node.path) && node.path.original === 'hash' && !hasLocal('hash');
|
|
85
|
+
}
|
|
86
|
+
function isEq(node, hasLocal) {
|
|
87
|
+
return isPath(node.path) && node.path.original === 'eq' && !hasLocal('eq');
|
|
88
|
+
}
|
|
89
|
+
function isNeq(node, hasLocal) {
|
|
90
|
+
return isPath(node.path) && node.path.original === 'neq' && !hasLocal('neq');
|
|
91
|
+
}
|
|
56
92
|
|
|
57
93
|
export { autoImportBuiltins as default };
|
|
@@ -7,7 +7,7 @@ import transformEachInIntoEach from './transform-each-in-into-each.js';
|
|
|
7
7
|
import transformEachTrackArray from './transform-each-track-array.js';
|
|
8
8
|
import transformInElement from './transform-in-element.js';
|
|
9
9
|
import transformQuotedBindingsIntoJustBindings from './transform-quoted-bindings-into-just-bindings.js';
|
|
10
|
-
import { Z as transformResolutions } from '../../../../shared-chunks/transform-resolutions-
|
|
10
|
+
import { Z as transformResolutions } from '../../../../shared-chunks/transform-resolutions-DR4GLmR2.js';
|
|
11
11
|
import transformWrapMountAndOutlet from './transform-wrap-mount-and-outlet.js';
|
|
12
12
|
import autoImportBuiltins from './auto-import-builtins.js';
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../../-internals/environment/index.js';
|
|
2
|
-
export { Z as default } from '../../../../shared-chunks/transform-resolutions-
|
|
2
|
+
export { Z as default } from '../../../../shared-chunks/transform-resolutions-DR4GLmR2.js';
|
|
3
3
|
import '../../../../@glimmer/wire-format/index.js';
|
|
4
4
|
import './utils.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './plugins/allowed-globals.js';
|
|
2
2
|
import templateOnly from '../../component/template-only.js';
|
|
3
|
-
import '../../../shared-chunks/fragment-
|
|
3
|
+
import '../../../shared-chunks/fragment-D7nBU9ae.js';
|
|
4
4
|
import '../../../@glimmer/wire-format/index.js';
|
|
5
|
-
import { p as precompile } from '../../../shared-chunks/compiler-
|
|
5
|
+
import { p as precompile } from '../../../shared-chunks/compiler-Bbki2GT_.js';
|
|
6
6
|
import '../../../@glimmer/validator/index.js';
|
|
7
7
|
import '../../../shared-chunks/reference-BNqcwZWH.js';
|
|
8
|
-
import '../../../shared-chunks/capabilities-
|
|
8
|
+
import '../../../shared-chunks/capabilities-DXA-L0iT.js';
|
|
9
9
|
import { s as setComponentTemplate } from '../../../shared-chunks/template-Dc_cBOoX.js';
|
|
10
|
-
import { t as templateFactory } from '../../../shared-chunks/index-
|
|
10
|
+
import { t as templateFactory } from '../../../shared-chunks/index-CjaDF9kC.js';
|
|
11
11
|
import compileOptions, { RUNTIME_KEYWORDS_NAME, keywords } from './compile-options.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../../shared-chunks/fragment-
|
|
1
|
+
import '../../shared-chunks/fragment-D7nBU9ae.js';
|
|
2
2
|
import '../../@glimmer/validator/index.js';
|
|
3
3
|
import '../../shared-chunks/reference-BNqcwZWH.js';
|
|
4
|
-
export { t as createTemplateFactory } from '../../shared-chunks/index-
|
|
5
|
-
import '../../shared-chunks/capabilities-
|
|
4
|
+
export { t as createTemplateFactory } from '../../shared-chunks/index-CjaDF9kC.js';
|
|
5
|
+
import '../../shared-chunks/capabilities-DXA-L0iT.js';
|
|
@@ -3,8 +3,8 @@ import '../../../shared-chunks/super-Cm_a_cLQ.js';
|
|
|
3
3
|
import '../../-internals/environment/index.js';
|
|
4
4
|
import '../../../@glimmer/validator/index.js';
|
|
5
5
|
import '../../../shared-chunks/reference-BNqcwZWH.js';
|
|
6
|
-
import '../../../shared-chunks/capabilities-
|
|
7
|
-
import { m as hasUnknownProperty, g as get } from '../../../shared-chunks/observers-
|
|
6
|
+
import '../../../shared-chunks/capabilities-DXA-L0iT.js';
|
|
7
|
+
import { m as hasUnknownProperty, g as get } from '../../../shared-chunks/observers-tZ2aOzr4.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
@module @ember/utils
|
|
@@ -30,7 +30,11 @@ function iterate(collection, fn) {
|
|
|
30
30
|
function remove(collection, item, message) {
|
|
31
31
|
if (isBrandedArray(collection) && collection.length > 1) {
|
|
32
32
|
let index = collection.indexOf(item);
|
|
33
|
-
collection.
|
|
33
|
+
let lastIndex = collection.length - 1;
|
|
34
|
+
if (index !== lastIndex) {
|
|
35
|
+
collection[index] = collection[lastIndex];
|
|
36
|
+
}
|
|
37
|
+
collection.length = lastIndex;
|
|
34
38
|
return collection;
|
|
35
39
|
} else {
|
|
36
40
|
return null;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as setInternalHelperManager, C as CustomHelperManager, s as setInternalComponentManager, j as setInternalModifierManager } from '../../shared-chunks/api-
|
|
2
|
-
export { e as getInternalComponentManager, g as getInternalHelperManager, d as getInternalModifierManager,
|
|
1
|
+
import { i as setInternalHelperManager, C as CustomHelperManager, s as setInternalComponentManager, j as setInternalModifierManager } from '../../shared-chunks/api-B5UrgITK.js';
|
|
2
|
+
export { e as getInternalComponentManager, g as getInternalHelperManager, d as getInternalModifierManager, c as hasDestroyable, h as hasInternalComponentManager, f as hasInternalHelperManager, k as hasInternalModifierManager, b as hasValue, a as helperCapabilities } from '../../shared-chunks/api-B5UrgITK.js';
|
|
3
3
|
import { registerDestructor } from '../destroyable/index.js';
|
|
4
4
|
import { untrack, createUpdatableTag } from '../validator/index.js';
|
|
5
5
|
import { a as createConstRef } from '../../shared-chunks/reference-BNqcwZWH.js';
|
|
6
6
|
import { a as argsProxyFor } from '../../shared-chunks/args-proxy-Dl0A0YWI.js';
|
|
7
7
|
export { g as getCustomTagFor, s as setCustomTagFor } from '../../shared-chunks/args-proxy-Dl0A0YWI.js';
|
|
8
|
-
import { b as buildCapabilities } from '../../shared-chunks/capabilities-
|
|
9
|
-
export { c as capabilityFlagsFrom, h as hasCapability, m as managerHasCapability } from '../../shared-chunks/capabilities-
|
|
8
|
+
import { b as buildCapabilities } from '../../shared-chunks/capabilities-DXA-L0iT.js';
|
|
9
|
+
export { c as capabilityFlagsFrom, h as hasCapability, m as managerHasCapability } from '../../shared-chunks/capabilities-DXA-L0iT.js';
|
|
10
10
|
import { a as castToBrowser } from '../../shared-chunks/simple-cast-DCvJLSin.js';
|
|
11
11
|
export { g as getComponentTemplate, s as setComponentTemplate } from '../../shared-chunks/template-Dc_cBOoX.js';
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../../shared-chunks/fragment-
|
|
1
|
+
import '../../shared-chunks/fragment-D7nBU9ae.js';
|
|
2
2
|
import '../validator/index.js';
|
|
3
3
|
import '../../shared-chunks/reference-BNqcwZWH.js';
|
|
4
|
-
import { C as ConcreteBounds } from '../../shared-chunks/on-
|
|
5
|
-
import '../../shared-chunks/constants-
|
|
6
|
-
import '../../shared-chunks/capabilities-
|
|
4
|
+
import { C as ConcreteBounds } from '../../shared-chunks/on-CersD7PL.js';
|
|
5
|
+
import '../../shared-chunks/constants-DThhT5fu.js';
|
|
6
|
+
import '../../shared-chunks/capabilities-DXA-L0iT.js';
|
|
7
7
|
import createHTMLDocument from '../../@simple-dom/document/index.js';
|
|
8
|
-
import { D as DOMTreeConstruction } from '../../shared-chunks/element-builder-
|
|
9
|
-
export { s as serializeBuilder } from '../../shared-chunks/serialize-builder-
|
|
8
|
+
import { D as DOMTreeConstruction } from '../../shared-chunks/element-builder-CzXb9l1W.js';
|
|
9
|
+
export { s as serializeBuilder } from '../../shared-chunks/serialize-builder-iXiRs1Pg.js';
|
|
10
10
|
|
|
11
11
|
class NodeDOMTreeConstruction extends DOMTreeConstruction {
|
|
12
12
|
// Hides property on base class
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { E as EMPTY_BLOCKS, W as WrappedBuilder, c as compilable, b as compileStatements, I as invokeStaticBlock, d as invokeStaticBlockWithStack, m as meta, a as templateCacheCounters, e as templateCompilationContext, t as templateFactory } from '../../shared-chunks/index-
|
|
2
|
-
import '../../shared-chunks/fragment-
|
|
1
|
+
export { E as EMPTY_BLOCKS, W as WrappedBuilder, c as compilable, b as compileStatements, I as invokeStaticBlock, d as invokeStaticBlockWithStack, m as meta, a as templateCacheCounters, e as templateCompilationContext, t as templateFactory } from '../../shared-chunks/index-CjaDF9kC.js';
|
|
2
|
+
import '../../shared-chunks/fragment-D7nBU9ae.js';
|
|
3
3
|
import '../validator/index.js';
|
|
4
4
|
import '../../shared-chunks/reference-BNqcwZWH.js';
|
|
5
|
-
export { E as EvaluationContextImpl, S as StdLib, c as compileStd } from '../../shared-chunks/program-context-
|
|
5
|
+
export { E as EvaluationContextImpl, S as StdLib, c as compileStd } from '../../shared-chunks/program-context-DFiwaPMR.js';
|
|
6
6
|
|
|
7
7
|
let debugCompiler;
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ConstantsImpl } from '../../shared-chunks/constants-
|
|
1
|
+
import { C as ConstantsImpl } from '../../shared-chunks/constants-DThhT5fu.js';
|
|
2
2
|
import { a as ProgramHeapImpl } from '../../shared-chunks/program-B7SJZ5NF.js';
|
|
3
3
|
export { P as ProgramImpl, R as RuntimeOpImpl } from '../../shared-chunks/program-B7SJZ5NF.js';
|
|
4
4
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import '../../shared-chunks/fragment-
|
|
1
|
+
import '../../shared-chunks/fragment-D7nBU9ae.js';
|
|
2
2
|
import '../validator/index.js';
|
|
3
3
|
import '../../shared-chunks/reference-BNqcwZWH.js';
|
|
4
|
-
export { C as ConcreteBounds, a as CurriedValue, b as CursorImpl, D as DOMChanges, E as EMPTY_ARGS, c as EMPTY_NAMED, d as EMPTY_POSITIONAL, e as IDOMChanges, T as TEMPLATE_ONLY_COMPONENT_MANAGER, f as TemplateOnlyComponent, g as TemplateOnlyComponentManager, h as array, i as clear, j as concat, k as createCapturedArgs, l as curry, m as fn, n as get, o as hash, p as isWhitespace, q as on, r as reifyArgs, s as reifyNamed, t as reifyPositional, u as resetDebuggerCallback, v as setDebuggerCallback, w as templateOnlyComponent } from '../../shared-chunks/on-
|
|
5
|
-
export { D as DOMTreeConstruction, a as DynamicAttribute, N as NewTreeBuilder, R as RemoteBlock, b as ResettableBlockImpl, S as SimpleDynamicAttribute, c as clientBuilder, d as dynamicAttribute, n as normalizeProperty } from '../../shared-chunks/element-builder-
|
|
6
|
-
export { D as DynamicScopeImpl, E as EnvironmentImpl, L as LowLevelVM, S as ScopeImpl, U as UpdatingVM, i as inTransaction, r as renderComponent, a as renderMain, b as renderSync, c as runtimeOptions } from '../../shared-chunks/render-
|
|
7
|
-
export { i as invokeHelper } from '../../shared-chunks/
|
|
4
|
+
export { C as ConcreteBounds, a as CurriedValue, b as CursorImpl, D as DOMChanges, E as EMPTY_ARGS, c as EMPTY_NAMED, d as EMPTY_POSITIONAL, e as IDOMChanges, T as TEMPLATE_ONLY_COMPONENT_MANAGER, f as TemplateOnlyComponent, g as TemplateOnlyComponentManager, h as array, i as clear, j as concat, k as createCapturedArgs, l as curry, m as fn, n as get, o as hash, p as isWhitespace, q as on, r as reifyArgs, s as reifyNamed, t as reifyPositional, u as resetDebuggerCallback, v as setDebuggerCallback, w as templateOnlyComponent } from '../../shared-chunks/on-CersD7PL.js';
|
|
5
|
+
export { D as DOMTreeConstruction, a as DynamicAttribute, N as NewTreeBuilder, R as RemoteBlock, b as ResettableBlockImpl, S as SimpleDynamicAttribute, c as clientBuilder, d as dynamicAttribute, n as normalizeProperty } from '../../shared-chunks/element-builder-CzXb9l1W.js';
|
|
6
|
+
export { D as DynamicScopeImpl, E as EnvironmentImpl, L as LowLevelVM, S as ScopeImpl, U as UpdatingVM, i as inTransaction, r as renderComponent, a as renderMain, b as renderSync, c as runtimeOptions } from '../../shared-chunks/render-D78XHdek.js';
|
|
7
|
+
export { e as eq, i as invokeHelper, n as neq } from '../../shared-chunks/neq-BqdovTuC.js';
|
|
8
8
|
export { destroy, isDestroyed, isDestroying, registerDestructor } from '../destroyable/index.js';
|
|
9
|
-
export { R as RehydrateTree, S as SERIALIZATION_FIRST_NODE_STRING, i as isSerializationFirstNode, r as rehydrationBuilder } from '../../shared-chunks/rehydrate-builder-
|
|
9
|
+
export { R as RehydrateTree, S as SERIALIZATION_FIRST_NODE_STRING, i as isSerializationFirstNode, r as rehydrationBuilder } from '../../shared-chunks/rehydrate-builder-D3t52iGR.js';
|
|
@@ -2,9 +2,9 @@ import '../../shared-chunks/super-Cm_a_cLQ.js';
|
|
|
2
2
|
import '../../@ember/-internals/environment/index.js';
|
|
3
3
|
import { createCache, getValue } from '../validator/index.js';
|
|
4
4
|
import '../../shared-chunks/reference-BNqcwZWH.js';
|
|
5
|
-
import '../../shared-chunks/capabilities-
|
|
6
|
-
import '../../shared-chunks/observers-
|
|
7
|
-
export { t as tracked } from '../../shared-chunks/tracked-
|
|
5
|
+
import '../../shared-chunks/capabilities-DXA-L0iT.js';
|
|
6
|
+
import '../../shared-chunks/observers-tZ2aOzr4.js';
|
|
7
|
+
export { t as tracked } from '../../shared-chunks/tracked-Cl5l4v8b.js';
|
|
8
8
|
|
|
9
9
|
// NOTE: copied from: https://github.com/glimmerjs/glimmer.js/pull/358
|
|
10
10
|
// Both glimmerjs/glimmer.js and emberjs/ember.js have the exact same implementation
|
|
@@ -2,5 +2,5 @@ import '../../../../shared-chunks/super-Cm_a_cLQ.js';
|
|
|
2
2
|
import '../../../../@ember/-internals/environment/index.js';
|
|
3
3
|
export { createCache, getValue, isConst } from '../../../validator/index.js';
|
|
4
4
|
import '../../../../shared-chunks/reference-BNqcwZWH.js';
|
|
5
|
-
import '../../../../shared-chunks/capabilities-
|
|
6
|
-
import '../../../../shared-chunks/observers-
|
|
5
|
+
import '../../../../shared-chunks/capabilities-DXA-L0iT.js';
|
|
6
|
+
import '../../../../shared-chunks/observers-tZ2aOzr4.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '../shared-chunks/fragment-
|
|
1
|
+
import '../shared-chunks/fragment-D7nBU9ae.js';
|
|
2
2
|
import '../@glimmer/wire-format/index.js';
|
|
3
|
-
import { p as precompile$1 } from '../shared-chunks/compiler-
|
|
4
|
-
export { a as _preprocess, b as _print } from '../shared-chunks/compiler-
|
|
3
|
+
import { p as precompile$1 } from '../shared-chunks/compiler-Bbki2GT_.js';
|
|
4
|
+
export { a as _preprocess, b as _print } from '../shared-chunks/compiler-Bbki2GT_.js';
|
|
5
5
|
import '../@ember/-internals/environment/index.js';
|
|
6
6
|
import { STRICT_MODE_KEYWORDS, STRICT_MODE_TRANSFORMS, RESOLUTION_MODE_TRANSFORMS } from '../@ember/template-compiler/lib/plugins/index.js';
|
|
7
7
|
import '../shared-chunks/super-Cm_a_cLQ.js';
|
|
8
8
|
import { C as Cache } from '../shared-chunks/cache-qDyqAcpg.js';
|
|
9
|
-
import '../shared-chunks/transform-resolutions-
|
|
9
|
+
import '../shared-chunks/transform-resolutions-DR4GLmR2.js';
|
|
10
10
|
|
|
11
11
|
/*
|
|
12
12
|
This diverges from `Ember.String.dasherize` so that`<XFoo />` can resolve to `x-foo`.
|
|
@@ -2,10 +2,10 @@ import { meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
|
2
2
|
import '../@ember/-internals/environment/index.js';
|
|
3
3
|
import inspect from '../@ember/debug/lib/inspect.js';
|
|
4
4
|
import { tagMetaFor, tagFor, untrack, validateTag, updateTag as UPDATE_TAG, valueForTag, consumeTag } from '../@glimmer/validator/index.js';
|
|
5
|
-
import { C as CHAIN_PASS_THROUGH, g as get, k as getChainTagsForKey, l as finishLazyChains } from './observers-
|
|
5
|
+
import { C as CHAIN_PASS_THROUGH, g as get, k as getChainTagsForKey, l as finishLazyChains } from './observers-tZ2aOzr4.js';
|
|
6
6
|
import { m as makeComputedDecorator, b as descriptorForDecorator, c as ComputedDescriptor } from './decorator-BdDDBUd2.js';
|
|
7
|
-
import { d as defineProperty } from './namespace_search-
|
|
8
|
-
import { s as set } from './property_set-
|
|
7
|
+
import { d as defineProperty } from './namespace_search-Dcdalhj6.js';
|
|
8
|
+
import { s as set } from './property_set-B2sZxeCw.js';
|
|
9
9
|
|
|
10
10
|
function alias(altKey) {
|
|
11
11
|
return makeComputedDecorator(new AliasedProperty(altKey), AliasDecoratorImpl);
|
|
@@ -2,7 +2,7 @@ import { associateDestroyableChild } from '../@glimmer/destroyable/index.js';
|
|
|
2
2
|
import '../@glimmer/validator/index.js';
|
|
3
3
|
import { c as createComputeRef, a as createConstRef, U as UNDEFINED_REFERENCE } from './reference-BNqcwZWH.js';
|
|
4
4
|
import { a as argsProxyFor } from './args-proxy-Dl0A0YWI.js';
|
|
5
|
-
import { b as buildCapabilities } from './capabilities-
|
|
5
|
+
import { b as buildCapabilities } from './capabilities-DXA-L0iT.js';
|
|
6
6
|
|
|
7
7
|
function helperCapabilities(managerAPI, options = {}) {
|
|
8
8
|
return buildCapabilities({
|
|
@@ -197,4 +197,4 @@ function hasDefaultHelperManager(definition) {
|
|
|
197
197
|
return typeof definition === 'function';
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export { CustomHelperManager as C,
|
|
200
|
+
export { CustomHelperManager as C, helperCapabilities as a, hasValue as b, hasDestroyable as c, getInternalModifierManager as d, getInternalComponentManager as e, hasInternalHelperManager as f, getInternalHelperManager as g, hasInternalComponentManager as h, setInternalHelperManager as i, setInternalModifierManager as j, hasInternalModifierManager as k, setInternalComponentManager as s };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../@ember/-internals/environment/index.js';
|
|
2
2
|
import { peekMeta } from '../@ember/-internals/meta/lib/meta.js';
|
|
3
|
-
import { s as sendEvent, e as addListener, f as removeListener } from './observers-
|
|
4
|
-
import { n as notifyPropertyChange } from './namespace_search-
|
|
3
|
+
import { s as sendEvent, e as addListener, f as removeListener } from './observers-tZ2aOzr4.js';
|
|
4
|
+
import { n as notifyPropertyChange } from './namespace_search-Dcdalhj6.js';
|
|
5
5
|
|
|
6
6
|
function arrayContentWillChange(array, startIdx, removeAmt, addAmt) {
|
|
7
7
|
// if no args are passed assume everything changes
|