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,10 +1,19 @@
|
|
|
1
1
|
import { associateDestroyableChild } from '../@glimmer/destroyable/index.js';
|
|
2
|
-
import { g as getInternalHelperManager,
|
|
2
|
+
import { g as getInternalHelperManager, b as hasValue, c as hasDestroyable } from './api-B5UrgITK.js';
|
|
3
3
|
import { createCache, getValue } from '../@glimmer/validator/index.js';
|
|
4
4
|
import './reference-BNqcwZWH.js';
|
|
5
|
-
import './capabilities-
|
|
5
|
+
import './capabilities-DXA-L0iT.js';
|
|
6
6
|
import { getOwner } from '../@glimmer/owner/index.js';
|
|
7
|
-
import { E as EMPTY_ARGS, c as EMPTY_NAMED, d as EMPTY_POSITIONAL } from './on-
|
|
7
|
+
import { E as EMPTY_ARGS, c as EMPTY_NAMED, d as EMPTY_POSITIONAL } from './on-CersD7PL.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Performs a strict equality comparison.
|
|
11
|
+
*
|
|
12
|
+
* left === right
|
|
13
|
+
*/
|
|
14
|
+
function eq(left, right) {
|
|
15
|
+
return left === right;
|
|
16
|
+
}
|
|
8
17
|
|
|
9
18
|
function getArgs(proxy) {
|
|
10
19
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme
|
|
@@ -50,4 +59,13 @@ function invokeHelper(context, definition, computeArgs) {
|
|
|
50
59
|
return cache;
|
|
51
60
|
}
|
|
52
61
|
|
|
53
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Performs a strict inequality comparison.
|
|
64
|
+
*
|
|
65
|
+
* left !== right
|
|
66
|
+
*/
|
|
67
|
+
function neq(left, right) {
|
|
68
|
+
return left !== right;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export { eq as e, invokeHelper as i, neq as n };
|
|
@@ -2,7 +2,7 @@ import { i as isObject, d as setListeners } from './super-Cm_a_cLQ.js';
|
|
|
2
2
|
import { ENV } from '../@ember/-internals/environment/index.js';
|
|
3
3
|
import { tagFor, dirtyTagFor, CONSTANT_TAG, combine, validateTag, tagMetaFor, createUpdatableTag, updateTag as UPDATE_TAG, valueForTag, CURRENT_TAG, track, isTracking, consumeTag } from '../@glimmer/validator/index.js';
|
|
4
4
|
import './reference-BNqcwZWH.js';
|
|
5
|
-
import './capabilities-
|
|
5
|
+
import './capabilities-DXA-L0iT.js';
|
|
6
6
|
import { peekMeta, meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
7
7
|
import { registerDestructor } from '../@glimmer/destroyable/index.js';
|
|
8
8
|
import { g as getCustomTagFor } from './args-proxy-Dl0A0YWI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as VM_SYSCALL_SIZE, C as CURRIED_COMPONENT, s as VM_CHILD_SCOPE_OP, t as VM_POP_SCOPE_OP, u as VM_PUSH_DYNAMIC_SCOPE_OP, v as VM_POP_DYNAMIC_SCOPE_OP, w as VM_CONSTANT_OP, x as decodeHandle, y as VM_CONSTANT_REFERENCE_OP, z as VM_PRIMITIVE_OP, A as isHandle, B as decodeImmediate, D as VM_PRIMITIVE_REFERENCE_OP, E as VM_DUP_OP, F as VM_POP_OP, G as VM_LOAD_OP, H as VM_FETCH_OP, I as VM_BIND_DYNAMIC_SCOPE_OP, J as VM_ENTER_OP, K as VM_EXIT_OP, L as VM_PUSH_SYMBOL_TABLE_OP, M as VM_PUSH_BLOCK_SCOPE_OP, N as VM_COMPILE_BLOCK_OP, O as VM_INVOKE_YIELD_OP, P as VM_JUMP_IF_OP, Q as VM_JUMP_UNLESS_OP, R as VM_JUMP_EQ_OP, b as VM_ASSERT_SAME_OP, S as VM_TO_BOOLEAN_OP, T as VM_TEXT_OP, U as VM_COMMENT_OP, W as VM_OPEN_ELEMENT_OP, X as VM_OPEN_DYNAMIC_ELEMENT_OP, Y as VM_PUSH_REMOTE_ELEMENT_OP, Z as VM_POP_REMOTE_ELEMENT_OP, _ as VM_FLUSH_ELEMENT_OP, $ as VM_CLOSE_ELEMENT_OP, a0 as VM_MODIFIER_OP, a1 as VM_DYNAMIC_MODIFIER_OP, a2 as VM_STATIC_ATTR_OP, a3 as VM_DYNAMIC_ATTR_OP, a4 as CURRIED_MODIFIER, a5 as VM_PUSH_COMPONENT_DEFINITION_OP, a6 as VM_RESOLVE_DYNAMIC_COMPONENT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, a7 as VM_PUSH_ARGS_OP, a8 as VM_PUSH_EMPTY_ARGS_OP, a9 as VM_CAPTURE_ARGS_OP, aa as VM_PREPARE_ARGS_OP, ab as VM_CREATE_COMPONENT_OP, ac as VM_REGISTER_COMPONENT_DESTRUCTOR_OP, ad as VM_BEGIN_COMPONENT_TRANSACTION_OP, ae as VM_PUT_COMPONENT_OPERATIONS_OP, af as VM_COMPONENT_ATTR_OP, ag as VM_STATIC_COMPONENT_ATTR_OP, ah as VM_DID_CREATE_ELEMENT_OP, ai as VM_GET_COMPONENT_SELF_OP, aj as VM_GET_COMPONENT_TAG_NAME_OP, ak as VM_GET_COMPONENT_LAYOUT_OP, V as VM_MAIN_OP, al as VM_POPULATE_LAYOUT_OP, am as VM_VIRTUAL_ROOT_SCOPE_OP, an as VM_SET_NAMED_VARIABLES_OP, ao as VM_SET_BLOCKS_OP, ap as VM_INVOKE_COMPONENT_LAYOUT_OP, aq as VM_DID_RENDER_LAYOUT_OP, ar as VM_COMMIT_COMPONENT_TRANSACTION_OP, as as VM_CURRY_OP, at as VM_DYNAMIC_HELPER_OP, au as CURRIED_HELPER, av as VM_HELPER_OP, aw as VM_GET_VARIABLE_OP, ax as VM_SET_VARIABLE_OP, ay as VM_SET_BLOCK_OP, az as VM_ROOT_SCOPE_OP, aA as VM_GET_PROPERTY_OP, aB as VM_GET_BLOCK_OP, aC as VM_SPREAD_BLOCK_OP, aD as VM_HAS_BLOCK_OP, aE as VM_HAS_BLOCK_PARAMS_OP, aF as VM_CONCAT_OP, aG as VM_IF_INLINE_OP, aH as VM_NOT_OP, aI as VM_GET_DYNAMIC_VAR_OP, aJ as VM_LOG_OP, a as VM_CONTENT_TYPE_OP, aK as VM_DYNAMIC_CONTENT_TYPE_OP, d as VM_APPEND_HTML_OP, h as VM_APPEND_SAFE_HTML_OP, e as VM_APPEND_TEXT_OP, i as VM_APPEND_DOCUMENT_FRAGMENT_OP, j as VM_APPEND_NODE_OP, aL as VM_DEBUGGER_OP, aM as VM_ENTER_LIST_OP, aN as VM_EXIT_LIST_OP, aO as VM_ITERATE_OP } from './fragment-
|
|
1
|
+
import { r as VM_SYSCALL_SIZE, C as CURRIED_COMPONENT, s as VM_CHILD_SCOPE_OP, t as VM_POP_SCOPE_OP, u as VM_PUSH_DYNAMIC_SCOPE_OP, v as VM_POP_DYNAMIC_SCOPE_OP, w as VM_CONSTANT_OP, x as decodeHandle, y as VM_CONSTANT_REFERENCE_OP, z as VM_PRIMITIVE_OP, A as isHandle, B as decodeImmediate, D as VM_PRIMITIVE_REFERENCE_OP, E as VM_DUP_OP, F as VM_POP_OP, G as VM_LOAD_OP, H as VM_FETCH_OP, I as VM_BIND_DYNAMIC_SCOPE_OP, J as VM_ENTER_OP, K as VM_EXIT_OP, L as VM_PUSH_SYMBOL_TABLE_OP, M as VM_PUSH_BLOCK_SCOPE_OP, N as VM_COMPILE_BLOCK_OP, O as VM_INVOKE_YIELD_OP, P as VM_JUMP_IF_OP, Q as VM_JUMP_UNLESS_OP, R as VM_JUMP_EQ_OP, b as VM_ASSERT_SAME_OP, S as VM_TO_BOOLEAN_OP, T as VM_TEXT_OP, U as VM_COMMENT_OP, W as VM_OPEN_ELEMENT_OP, X as VM_OPEN_DYNAMIC_ELEMENT_OP, Y as VM_PUSH_REMOTE_ELEMENT_OP, Z as VM_POP_REMOTE_ELEMENT_OP, _ as VM_FLUSH_ELEMENT_OP, $ as VM_CLOSE_ELEMENT_OP, a0 as VM_MODIFIER_OP, a1 as VM_DYNAMIC_MODIFIER_OP, a2 as VM_STATIC_ATTR_OP, a3 as VM_DYNAMIC_ATTR_OP, a4 as CURRIED_MODIFIER, a5 as VM_PUSH_COMPONENT_DEFINITION_OP, a6 as VM_RESOLVE_DYNAMIC_COMPONENT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, a7 as VM_PUSH_ARGS_OP, a8 as VM_PUSH_EMPTY_ARGS_OP, a9 as VM_CAPTURE_ARGS_OP, aa as VM_PREPARE_ARGS_OP, ab as VM_CREATE_COMPONENT_OP, ac as VM_REGISTER_COMPONENT_DESTRUCTOR_OP, ad as VM_BEGIN_COMPONENT_TRANSACTION_OP, ae as VM_PUT_COMPONENT_OPERATIONS_OP, af as VM_COMPONENT_ATTR_OP, ag as VM_STATIC_COMPONENT_ATTR_OP, ah as VM_DID_CREATE_ELEMENT_OP, ai as VM_GET_COMPONENT_SELF_OP, aj as VM_GET_COMPONENT_TAG_NAME_OP, ak as VM_GET_COMPONENT_LAYOUT_OP, V as VM_MAIN_OP, al as VM_POPULATE_LAYOUT_OP, am as VM_VIRTUAL_ROOT_SCOPE_OP, an as VM_SET_NAMED_VARIABLES_OP, ao as VM_SET_BLOCKS_OP, ap as VM_INVOKE_COMPONENT_LAYOUT_OP, aq as VM_DID_RENDER_LAYOUT_OP, ar as VM_COMMIT_COMPONENT_TRANSACTION_OP, as as VM_CURRY_OP, at as VM_DYNAMIC_HELPER_OP, au as CURRIED_HELPER, av as VM_HELPER_OP, aw as VM_GET_VARIABLE_OP, ax as VM_SET_VARIABLE_OP, ay as VM_SET_BLOCK_OP, az as VM_ROOT_SCOPE_OP, aA as VM_GET_PROPERTY_OP, aB as VM_GET_BLOCK_OP, aC as VM_SPREAD_BLOCK_OP, aD as VM_HAS_BLOCK_OP, aE as VM_HAS_BLOCK_PARAMS_OP, aF as VM_CONCAT_OP, aG as VM_IF_INLINE_OP, aH as VM_NOT_OP, aI as VM_GET_DYNAMIC_VAR_OP, aJ as VM_LOG_OP, a as VM_CONTENT_TYPE_OP, aK as VM_DYNAMIC_CONTENT_TYPE_OP, d as VM_APPEND_HTML_OP, h as VM_APPEND_SAFE_HTML_OP, e as VM_APPEND_TEXT_OP, i as VM_APPEND_DOCUMENT_FRAGMENT_OP, j as VM_APPEND_NODE_OP, aL as VM_DEBUGGER_OP, aM as VM_ENTER_LIST_OP, aN as VM_EXIT_LIST_OP, aO as VM_ITERATE_OP } from './fragment-D7nBU9ae.js';
|
|
2
2
|
import { u as unwrap, c as isIndexable$1, e as expect, S as StackImpl, d as dict, i as isDict } from './collections-GpG8lT2g.js';
|
|
3
3
|
import { a as assign } from './object-utils-AijlD-JH.js';
|
|
4
4
|
import { toBool, setPath, getPath } from '../@glimmer/global-context/index.js';
|
|
@@ -6,14 +6,13 @@ import { CONSTANT_TAG, INITIAL, validateTag, consumeTag, valueForTag, beginTrack
|
|
|
6
6
|
import { c as createComputeRef, v as valueForRef, a as createConstRef, d as createPrimitiveRef, i as isConstRef, U as UNDEFINED_REFERENCE, N as NULL_REFERENCE, T as TRUE_REFERENCE, F as FALSE_REFERENCE, R as REFERENCE, b as childRefFor, e as isInvokableRef, u as updateRef } from './reference-BNqcwZWH.js';
|
|
7
7
|
import { e as $v0, f as $t1, g as $t0, a as $pc, b as $ra, c as $fp, d as $sp, h as $s1, $ as $s0 } from './registers-ylirb0dq.js';
|
|
8
8
|
import { registerDestructor, destroy, associateDestroyableChild, _hasDestroyableChildren } from '../@glimmer/destroyable/index.js';
|
|
9
|
-
import { d as getInternalModifierManager, g as getInternalHelperManager,
|
|
10
|
-
import { m as managerHasCapability } from './capabilities-
|
|
9
|
+
import { d as getInternalModifierManager, g as getInternalHelperManager, h as hasInternalComponentManager, f as hasInternalHelperManager, s as setInternalComponentManager, i as setInternalHelperManager, j as setInternalModifierManager } from './api-B5UrgITK.js';
|
|
10
|
+
import { m as managerHasCapability } from './capabilities-DXA-L0iT.js';
|
|
11
11
|
import { ContentType } from '../@glimmer/vm/index.js';
|
|
12
12
|
import { createIteratorRef } from '../@glimmer/reference/index.js';
|
|
13
13
|
import { s as setLocalDebugType } from './debug-brand-B1TWjOCH.js';
|
|
14
14
|
import { b as EMPTY_STRING_ARRAY, e as enumerate, c as emptyArray } from './array-utils-CZQxrdD3.js';
|
|
15
|
-
import { a as
|
|
16
|
-
import { a as unwrapTemplate } from './constants-CB3pk7dH.js';
|
|
15
|
+
import { a as unwrapTemplate } from './constants-DThhT5fu.js';
|
|
17
16
|
import { I as InternalComponentCapabilities } from './flags-B9qxc-pB.js';
|
|
18
17
|
|
|
19
18
|
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
@@ -78,10 +77,8 @@ class AppendOpcodes {
|
|
|
78
77
|
evaluate(vm, opcode, type) {
|
|
79
78
|
let operation = unwrap(this.evaluateOpcode[type]);
|
|
80
79
|
if (operation.syscall) {
|
|
81
|
-
assert(!opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
82
80
|
operation.evaluate(vm, opcode);
|
|
83
81
|
} else {
|
|
84
|
-
assert(opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
85
82
|
operation.evaluate(vm.lowlevel, opcode);
|
|
86
83
|
}
|
|
87
84
|
}
|
|
@@ -549,7 +546,6 @@ APPEND_OPCODES.add(VM_INVOKE_YIELD_OP, vm => {
|
|
|
549
546
|
let table = check(stack.pop());
|
|
550
547
|
let args = check(stack.pop());
|
|
551
548
|
if (table === null || handle === null) {
|
|
552
|
-
// To balance the pop{Frame,Scope}
|
|
553
549
|
vm.lowlevel.pushFrame();
|
|
554
550
|
vm.pushScope(scope ?? vm.scope());
|
|
555
551
|
return;
|
|
@@ -1125,7 +1121,6 @@ APPEND_OPCODES.add(VM_PREPARE_ARGS_OP, (vm, {
|
|
|
1125
1121
|
definition
|
|
1126
1122
|
} = instance;
|
|
1127
1123
|
if (isCurriedType(definition, CURRIED_COMPONENT)) {
|
|
1128
|
-
assert(!definition.manager);
|
|
1129
1124
|
let constants = vm.constants;
|
|
1130
1125
|
let {
|
|
1131
1126
|
definition: resolvedDefinition,
|
|
@@ -1426,7 +1421,6 @@ APPEND_OPCODES.add(VM_GET_COMPONENT_SELF_OP, (vm, {
|
|
|
1426
1421
|
}
|
|
1427
1422
|
let compilable = definition.compilable;
|
|
1428
1423
|
if (compilable === null) {
|
|
1429
|
-
assert(managerHasCapability(manager, instance.capabilities, InternalComponentCapabilities.dynamicLayout));
|
|
1430
1424
|
let resolver = vm.context.resolver;
|
|
1431
1425
|
compilable = resolver === null ? null : manager.getDynamicLayout(state, resolver);
|
|
1432
1426
|
}
|
|
@@ -1497,7 +1491,6 @@ APPEND_OPCODES.add(VM_GET_COMPONENT_LAYOUT_OP, (vm, {
|
|
|
1497
1491
|
let {
|
|
1498
1492
|
capabilities
|
|
1499
1493
|
} = instance;
|
|
1500
|
-
assert(managerHasCapability(manager, capabilities, InternalComponentCapabilities.dynamicLayout));
|
|
1501
1494
|
let resolver = vm.context.resolver;
|
|
1502
1495
|
compilable = resolver === null ? null : manager.getDynamicLayout(instance.state, resolver);
|
|
1503
1496
|
if (compilable === null) {
|
package/dist/prod/packages/shared-chunks/{program-context-BdUXf-jj.js → program-context-DFiwaPMR.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as VM_MAIN_OP, a as VM_CONTENT_TYPE_OP, b as VM_ASSERT_SAME_OP, d as VM_APPEND_HTML_OP, e as VM_APPEND_TEXT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, h as VM_APPEND_SAFE_HTML_OP, i as VM_APPEND_DOCUMENT_FRAGMENT_OP, j as VM_APPEND_NODE_OP, k as VM_INVOKE_STATIC_OP } from './fragment-
|
|
1
|
+
import { V as VM_MAIN_OP, a as VM_CONTENT_TYPE_OP, b as VM_ASSERT_SAME_OP, d as VM_APPEND_HTML_OP, e as VM_APPEND_TEXT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, h as VM_APPEND_SAFE_HTML_OP, i as VM_APPEND_DOCUMENT_FRAGMENT_OP, j as VM_APPEND_NODE_OP, k as VM_INVOKE_STATIC_OP } from './fragment-D7nBU9ae.js';
|
|
2
2
|
import { ContentType } from '../@glimmer/vm/index.js';
|
|
3
3
|
import { $ as $s0 } from './registers-ylirb0dq.js';
|
|
4
|
-
import { f as EncoderImpl, g as encodeOp, i as invokePreparedComponent, S as SwitchCases, h as InvokeBareComponent, C as CallDynamic } from './index-
|
|
4
|
+
import { f as EncoderImpl, g as encodeOp, i as invokePreparedComponent, S as SwitchCases, h as InvokeBareComponent, C as CallDynamic } from './index-CjaDF9kC.js';
|
|
5
5
|
|
|
6
6
|
class StdLib {
|
|
7
7
|
constructor(main, trustingGuardedAppend, cautiousGuardedAppend, trustingNonDynamicAppend, cautiousNonDynamicAppend) {
|
package/dist/prod/packages/shared-chunks/{property_set-O080KTKZ.js → property_set-B2sZxeCw.js}
RENAMED
|
@@ -2,8 +2,8 @@ import './super-Cm_a_cLQ.js';
|
|
|
2
2
|
import { l as lookupDescriptor } from './lookup-descriptor-CwcVgaLv.js';
|
|
3
3
|
import '../@ember/-internals/environment/index.js';
|
|
4
4
|
import { C as COMPUTED_SETTERS } from './decorator-BdDDBUd2.js';
|
|
5
|
-
import { i as isPath, _ as _getPath } from './observers-
|
|
6
|
-
import { n as notifyPropertyChange } from './namespace_search-
|
|
5
|
+
import { i as isPath, _ as _getPath } from './observers-tZ2aOzr4.js';
|
|
6
|
+
import { n as notifyPropertyChange } from './namespace_search-Dcdalhj6.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
@module @ember/object
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { C as ConcreteBounds, x as COMMENT_NODE, b as CursorImpl, y as TEXT_NODE, z as ELEMENT_NODE, N as NS_SVG } from './on-
|
|
2
|
-
import './fragment-
|
|
3
|
-
import { a as assert } from './assert-CUCJBR2C.js';
|
|
1
|
+
import { C as ConcreteBounds, x as COMMENT_NODE, b as CursorImpl, y as TEXT_NODE, z as ELEMENT_NODE, N as NS_SVG } from './on-CersD7PL.js';
|
|
2
|
+
import './fragment-D7nBU9ae.js';
|
|
4
3
|
import { e as expect } from './collections-GpG8lT2g.js';
|
|
5
4
|
import { c as castToSimple, a as castToBrowser } from './simple-cast-DCvJLSin.js';
|
|
6
|
-
import { N as NewTreeBuilder, R as RemoteBlock } from './element-builder-
|
|
5
|
+
import { N as NewTreeBuilder, R as RemoteBlock } from './element-builder-CzXb9l1W.js';
|
|
7
6
|
|
|
8
7
|
const SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';
|
|
9
8
|
function isSerializationFirstNode(node) {
|
|
@@ -382,9 +381,6 @@ class RehydrateTree extends NewTreeBuilder {
|
|
|
382
381
|
}
|
|
383
382
|
__pushRemoteElement(element, cursorId, insertBefore) {
|
|
384
383
|
const marker = this.getMarker(castToBrowser(element), cursorId);
|
|
385
|
-
assert(!marker || marker.parentNode === element);
|
|
386
|
-
|
|
387
|
-
// when insertBefore is not present, we clear the element
|
|
388
384
|
if (insertBefore === undefined) {
|
|
389
385
|
while (element.firstChild !== null && element.firstChild !== marker) {
|
|
390
386
|
this.remove(element.firstChild);
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { u as unwrap, e as expect, S as StackImpl } from './collections-GpG8lT2g.js';
|
|
2
|
-
import { u as unwrapHandle } from './constants-
|
|
2
|
+
import { u as unwrapHandle } from './constants-DThhT5fu.js';
|
|
3
3
|
import { track, updateTag as UPDATE_TAG, beginTrackFrame, endTrackFrame } from '../@glimmer/validator/index.js';
|
|
4
4
|
import { U as UNDEFINED_REFERENCE, v as valueForRef, u as updateRef, a as createConstRef, b as childRefFor } from './reference-BNqcwZWH.js';
|
|
5
|
-
import { a as assert } from './assert-CUCJBR2C.js';
|
|
6
5
|
import { P as ProgramImpl } from './program-B7SJZ5NF.js';
|
|
7
|
-
import { G as DebugRenderTreeImpl, H as isArgumentError, e as DOMChangesImpl, I as APPEND_OPCODES, J as move, i as clear, V as VMArgumentsImpl, K as externs, L as JumpIfNotModifiedOpcode, M as BeginTrackFrameOpcode, O as EndTrackFrameOpcode } from './on-
|
|
8
|
-
import { D as DOMTreeConstruction, N as NewTreeBuilder } from './element-builder-
|
|
6
|
+
import { G as DebugRenderTreeImpl, H as isArgumentError, e as DOMChangesImpl, I as APPEND_OPCODES, J as move, i as clear, V as VMArgumentsImpl, K as externs, L as JumpIfNotModifiedOpcode, M as BeginTrackFrameOpcode, O as EndTrackFrameOpcode } from './on-CersD7PL.js';
|
|
7
|
+
import { D as DOMTreeConstruction, N as NewTreeBuilder } from './element-builder-CzXb9l1W.js';
|
|
9
8
|
import { a as assign } from './object-utils-AijlD-JH.js';
|
|
10
9
|
import { destroyChildren, associateDestroyableChild, destroy, registerDestructor } from '../@glimmer/destroyable/index.js';
|
|
11
10
|
import { createIteratorItemRef } from '../@glimmer/reference/index.js';
|
|
12
11
|
import { r as reverse } from './array-utils-CZQxrdD3.js';
|
|
13
12
|
import { a as $pc, b as $ra, c as $fp, d as $sp, i as isLowLevelRegister } from './registers-ylirb0dq.js';
|
|
14
|
-
import { l as VM_RETURN_TO_OP, m as VM_RETURN_OP, n as VM_JUMP_OP, o as VM_INVOKE_VIRTUAL_OP, k as VM_INVOKE_STATIC_OP, p as VM_POP_FRAME_OP, q as VM_PUSH_FRAME_OP } from './fragment-
|
|
13
|
+
import { l as VM_RETURN_TO_OP, m as VM_RETURN_OP, n as VM_JUMP_OP, o as VM_INVOKE_VIRTUAL_OP, k as VM_INVOKE_STATIC_OP, p as VM_POP_FRAME_OP, q as VM_PUSH_FRAME_OP } from './fragment-D7nBU9ae.js';
|
|
15
14
|
|
|
16
15
|
class DynamicScopeImpl {
|
|
17
16
|
bucket;
|
|
@@ -213,7 +212,6 @@ class EnvironmentImpl {
|
|
|
213
212
|
return expect(this.updateOperations);
|
|
214
213
|
}
|
|
215
214
|
begin() {
|
|
216
|
-
assert(!this[TRANSACTION]);
|
|
217
215
|
this.debugRenderTree?.begin();
|
|
218
216
|
this[TRANSACTION] = new TransactionImpl();
|
|
219
217
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import './fragment-
|
|
1
|
+
import './fragment-D7nBU9ae.js';
|
|
2
2
|
import '../@glimmer/validator/index.js';
|
|
3
3
|
import './reference-BNqcwZWH.js';
|
|
4
|
-
import { C as ConcreteBounds } from './on-
|
|
5
|
-
import './constants-
|
|
6
|
-
import './capabilities-
|
|
7
|
-
import { N as NewTreeBuilder } from './element-builder-
|
|
4
|
+
import { C as ConcreteBounds } from './on-CersD7PL.js';
|
|
5
|
+
import './constants-DThhT5fu.js';
|
|
6
|
+
import './capabilities-DXA-L0iT.js';
|
|
7
|
+
import { N as NewTreeBuilder } from './element-builder-CzXb9l1W.js';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable @typescript-eslint/no-unsafe-enum-comparison */
|
|
10
10
|
|
package/dist/prod/packages/shared-chunks/{set_properties-CjsDTRey.js → set_properties-C1T46IiN.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as get } from './observers-
|
|
2
|
-
import { o as changeProperties } from './namespace_search-
|
|
3
|
-
import { s as set } from './property_set-
|
|
1
|
+
import { g as get } from './observers-tZ2aOzr4.js';
|
|
2
|
+
import { o as changeProperties } from './namespace_search-Dcdalhj6.js';
|
|
3
|
+
import { s as set } from './property_set-B2sZxeCw.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
@module @ember/object
|
package/dist/prod/packages/shared-chunks/{setup-registry-KYxkFexK.js → setup-registry-Cs-7NIJU.js}
RENAMED
|
@@ -2,16 +2,16 @@ import { privatize } from '../@ember/-internals/container/index.js';
|
|
|
2
2
|
import { getOwner } from '../@ember/-internals/owner/index.js';
|
|
3
3
|
import './super-Cm_a_cLQ.js';
|
|
4
4
|
import '../@ember/-internals/environment/index.js';
|
|
5
|
-
import { O as OutletView, a as OutletTemplate, I as Input, L as LinkTo, T as Textarea, R as RootTemplate, b as Renderer } from './index-
|
|
6
|
-
import './fragment-
|
|
5
|
+
import { O as OutletView, a as OutletTemplate, I as Input, L as LinkTo, T as Textarea, R as RootTemplate, b as Renderer } from './index-r-Dz_hzt.js';
|
|
6
|
+
import './fragment-D7nBU9ae.js';
|
|
7
7
|
import '../@glimmer/validator/index.js';
|
|
8
8
|
import './reference-BNqcwZWH.js';
|
|
9
|
-
import './on-
|
|
10
|
-
import './constants-
|
|
11
|
-
import './capabilities-
|
|
12
|
-
import { c as clientBuilder } from './element-builder-
|
|
13
|
-
import { r as rehydrationBuilder } from './rehydrate-builder-
|
|
14
|
-
import { s as serializeBuilder } from './serialize-builder-
|
|
9
|
+
import './on-CersD7PL.js';
|
|
10
|
+
import './constants-DThhT5fu.js';
|
|
11
|
+
import './capabilities-DXA-L0iT.js';
|
|
12
|
+
import { c as clientBuilder } from './element-builder-CzXb9l1W.js';
|
|
13
|
+
import { r as rehydrationBuilder } from './rehydrate-builder-D3t52iGR.js';
|
|
14
|
+
import { s as serializeBuilder } from './serialize-builder-iXiRs1Pg.js';
|
|
15
15
|
|
|
16
16
|
function setupApplicationRegistry(registry) {
|
|
17
17
|
// because we are using injections we can't use instantiate false
|
|
@@ -2,7 +2,7 @@ import { meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
|
2
2
|
import { isEmberArray } from '../@ember/array/-internals.js';
|
|
3
3
|
import '../@ember/-internals/environment/index.js';
|
|
4
4
|
import { trackedData, dirtyTagFor, consumeTag, tagFor } from '../@glimmer/validator/index.js';
|
|
5
|
-
import { S as SELF_TAG, C as CHAIN_PASS_THROUGH } from './observers-
|
|
5
|
+
import { S as SELF_TAG, C as CHAIN_PASS_THROUGH } from './observers-tZ2aOzr4.js';
|
|
6
6
|
import { i as isElementDescriptor, s as setClassicDecorator, C as COMPUTED_SETTERS } from './decorator-BdDDBUd2.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import '../@ember/-internals/environment/index.js';
|
|
2
|
-
import { a as assert } from './assert-CUCJBR2C.js';
|
|
3
2
|
import { a as isPresentArray, g as getFirst, b as getLast } from './collections-GpG8lT2g.js';
|
|
4
3
|
import { assertNever } from '../@glimmer/util/index.js';
|
|
5
4
|
import { SexpOpcodes as opcodes } from '../@glimmer/wire-format/index.js';
|
|
@@ -5446,7 +5445,6 @@ class Matcher {
|
|
|
5446
5445
|
}
|
|
5447
5446
|
matchFor(left, right) {
|
|
5448
5447
|
const nesteds = this._whens.match(left);
|
|
5449
|
-
assert(isPresentArray(nesteds));
|
|
5450
5448
|
const callback = new WhenList(nesteds).first(right);
|
|
5451
5449
|
return callback;
|
|
5452
5450
|
}
|
|
@@ -5641,7 +5639,6 @@ class SourceSpan {
|
|
|
5641
5639
|
*/
|
|
5642
5640
|
toSlice(expected) {
|
|
5643
5641
|
const chars = this.data.asString();
|
|
5644
|
-
assert(expected === undefined || expected === chars, `unexpectedly found ${JSON.stringify(chars)} when slicing source, ` + `but expected ${JSON.stringify(expected)}`);
|
|
5645
5642
|
return new SourceSlice({
|
|
5646
5643
|
loc: this,
|
|
5647
5644
|
chars: expected || chars
|