ember-source 7.2.0-alpha.4 → 7.3.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/blueprints/-addon-import.js +4 -6
- package/blueprints/-utils.js +6 -9
- package/build-metadata.json +3 -3
- package/dist/dev/packages/@ember/-internals/browser-environment/index.js +1 -1
- package/dist/dev/packages/@ember/-internals/deprecations/index.js +10 -0
- package/dist/dev/packages/@ember/-internals/glimmer/index.js +11 -11
- package/dist/dev/packages/@ember/-internals/metal/index.js +18 -18
- package/dist/dev/packages/@ember/-internals/routing/index.js +3 -3
- 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/-proxy.js +8 -8
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +1 -1
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/comparable.js +5 -0
- package/dist/dev/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
- package/dist/dev/packages/@ember/-internals/utils/index.js +2 -2
- package/dist/dev/packages/@ember/-internals/views/lib/mixins/action_support.js +1 -1
- package/dist/dev/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -2
- package/dist/dev/packages/@ember/-internals/views/lib/system/utils.js +1 -1
- package/dist/dev/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
- package/dist/dev/packages/@ember/application/index.js +6 -7
- package/dist/dev/packages/@ember/application/instance.js +24 -4
- package/dist/dev/packages/@ember/application/namespace.js +3 -3
- package/dist/dev/packages/@ember/array/index.js +10 -64
- package/dist/dev/packages/@ember/array/lib/is-array.js +71 -0
- package/dist/dev/packages/@ember/array/proxy.js +8 -8
- package/dist/dev/packages/@ember/component/helper.js +321 -1
- package/dist/dev/packages/@ember/component/index.js +21 -15
- package/dist/dev/packages/@ember/component/template-only.js +1 -1
- package/dist/dev/packages/@ember/controller/index.js +3 -3
- package/dist/dev/packages/@ember/debug/data-adapter.js +3 -3
- package/dist/dev/packages/@ember/debug/index.js +1 -1
- package/dist/dev/packages/@ember/engine/index.js +5 -5
- package/dist/dev/packages/@ember/engine/instance.js +2 -2
- package/dist/dev/packages/@ember/helper/index.js +8 -27
- package/dist/dev/packages/@ember/modifier/index.js +2 -2
- package/dist/dev/packages/@ember/modifier/on.js +1 -1
- package/dist/dev/packages/@ember/object/-internals.js +2 -2
- package/dist/dev/packages/@ember/object/compat.js +3 -3
- package/dist/dev/packages/@ember/object/computed.js +2 -2
- package/dist/dev/packages/@ember/object/core.js +7 -7
- package/dist/dev/packages/@ember/object/evented.js +2 -2
- package/dist/dev/packages/@ember/object/events.js +1 -1
- package/dist/dev/packages/@ember/object/index.js +30 -25
- package/dist/dev/packages/@ember/object/internals.js +1 -1
- package/dist/dev/packages/@ember/object/lib/computed/computed_macros.js +5 -5
- package/dist/dev/packages/@ember/object/lib/computed/reduce_computed_macros.js +3 -3
- package/dist/dev/packages/@ember/object/mixin.js +6 -6
- package/dist/dev/packages/@ember/object/observable.js +7 -7
- package/dist/dev/packages/@ember/object/observers.js +1 -1
- package/dist/dev/packages/@ember/object/promise-proxy-mixin.js +3 -3
- package/dist/dev/packages/@ember/reactive/collections.js +153 -153
- package/dist/dev/packages/@ember/renderer/index.js +1 -1
- package/dist/dev/packages/@ember/routing/-internals.js +3 -3
- package/dist/dev/packages/@ember/routing/index.js +12 -8
- package/dist/dev/packages/@ember/routing/lib/generate_controller.js +2 -3
- package/dist/dev/packages/@ember/routing/lib/routing-service.js +5 -6
- package/dist/dev/packages/@ember/routing/lib/utils.js +3 -3
- package/dist/dev/packages/@ember/routing/route.js +12 -12
- package/dist/dev/packages/@ember/routing/router-service.js +25 -19
- package/dist/dev/packages/@ember/routing/router.js +5 -5
- package/dist/dev/packages/@ember/runloop/index.js +1 -1
- package/dist/dev/packages/@ember/service/index.js +1 -1
- package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +3 -3
- package/dist/dev/packages/@ember/template-compiler/lib/template.js +2 -2
- package/dist/dev/packages/@ember/template-factory/index.js +1 -1
- package/dist/dev/packages/@ember/utils/lib/compare.js +5 -2
- package/dist/dev/packages/@ember/utils/lib/is_empty.js +1 -1
- package/dist/dev/packages/@glimmer/encoder/index.js +1 -1
- package/dist/dev/packages/@glimmer/manager/index.js +4 -4
- package/dist/dev/packages/@glimmer/node/index.js +3 -3
- package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -2
- package/dist/dev/packages/@glimmer/program/index.js +10 -10
- package/dist/dev/packages/@glimmer/reference/index.js +5 -5
- package/dist/dev/packages/@glimmer/runtime/index.js +13 -13
- package/dist/dev/packages/@glimmer/tracking/index.js +2 -2
- package/dist/dev/packages/@glimmer/tracking/primitives/cache/index.js +1 -1
- package/dist/dev/packages/@glimmer/util/index.js +4 -4
- package/dist/dev/packages/@glimmer/validator/index.js +3 -3
- package/dist/dev/packages/@glimmer/vm/index.js +2 -2
- package/dist/dev/packages/ember/version.js +1 -1
- package/dist/dev/packages/ember-template-compiler/index.js +4 -4
- package/dist/dev/packages/router_js/index.js +3 -3
- package/dist/dev/packages/rsvp/index.js +2281 -1
- package/dist/dev/packages/shared-chunks/{alias-RGbDZoAB.js → alias-DpqL1qx6.js} +7 -7
- package/dist/dev/packages/shared-chunks/{api-BT9M3UaD.js → api-BlZDPg1n.js} +6 -6
- package/dist/dev/packages/shared-chunks/{element-builder-Cl1kHFJE.js → api-C0PAtEgQ.js} +139 -120
- package/dist/dev/packages/shared-chunks/{api-DG5kRT-o.js → api-DuLOZMO_.js} +3 -3
- package/dist/dev/packages/shared-chunks/{args-proxy-CB0SM6jC.js → args-proxy-CS5Brs3_.js} +2 -2
- package/dist/dev/packages/shared-chunks/{untouchable-this-BHdAERUu.js → arguments-CDkbOqTS.js} +236 -236
- package/dist/dev/packages/shared-chunks/{array-BMaSKezP.js → array-CVEnNWng.js} +3 -3
- package/dist/dev/packages/shared-chunks/{array-utils-BEaSKdEb.js → array-utils-CZQxrdD3.js} +1 -1
- package/dist/dev/packages/shared-chunks/{cache-CeWOBNQg.js → cache-DGDPVCpC.js} +2 -3
- package/dist/dev/packages/shared-chunks/{capabilities-CZkuOqqC.js → capabilities-CajW4QjE.js} +1 -1
- package/dist/dev/packages/shared-chunks/{chain-tags-DfmU63mS.js → chain-tags-uWSImHzB.js} +4 -4
- package/dist/dev/packages/shared-chunks/{collections-DEt-i-8B.js → collections-DPkjqeA3.js} +2 -2
- package/dist/dev/packages/shared-chunks/{compiler-DhH2WLpA.js → compiler-QUSl_urU.js} +3 -3
- package/dist/dev/packages/shared-chunks/{computed-Daavz6vC.js → computed-BPCtuOxQ.js} +6 -6
- package/dist/dev/packages/shared-chunks/{curly-YoYS2vXw.js → curly-DGUCLOud.js} +10 -11
- package/dist/dev/packages/shared-chunks/curly-brand-B_F79Dep.js +12 -0
- package/dist/dev/packages/shared-chunks/{curried-Cnjy9_ug.js → curried-BZnYakIg.js} +1 -1
- package/dist/dev/packages/shared-chunks/{decorator-DYQwMItS.js → decorator-B5Uh5NFI.js} +1 -1
- package/dist/dev/packages/shared-chunks/{element-bBwMD8cw.js → element-BYLB-q7a.js} +5 -3
- package/dist/dev/packages/shared-chunks/{events-B1lx9T1I.js → events-6aFVjD4k.js} +1 -1
- package/dist/{prod/packages/shared-chunks/flags-B9qxc-pB.js → dev/packages/shared-chunks/flags-BZxHQ0yn.js} +1 -1
- package/dist/dev/packages/shared-chunks/{get-CO3EIWsm.js → get-6I3sjd-I.js} +33 -36
- package/dist/{prod/packages/shared-chunks/get_properties-wj_Qmotj.js → dev/packages/shared-chunks/get_properties-Cm2sWt5f.js} +1 -1
- package/dist/dev/packages/shared-chunks/{guid-PO2v9BaN.js → guid-Cbq2sNV_.js} +1 -1
- package/dist/dev/packages/shared-chunks/{hash-2-93qikL.js → hash-6NDs_5_f.js} +18 -12
- package/dist/dev/packages/shared-chunks/helper-brand-C9_8vvOf.js +12 -0
- package/dist/dev/packages/shared-chunks/{index-DX90CU4L.js → index-BGP1rw3B.js} +1 -1
- package/dist/dev/packages/shared-chunks/{index-dyv6rcBf.js → index-CCyXUNBa.js} +655 -1633
- package/dist/dev/packages/shared-chunks/{index-DkwVSPP5.js → index-DaFzpTIE.js} +10 -9
- package/dist/dev/packages/shared-chunks/{injected_property-B075jH6c.js → injected_property-CbBLr5jt.js} +2 -2
- package/dist/dev/packages/shared-chunks/{internal-Bpr6ihB_.js → internal-DTOXyEGM.js} +4 -4
- package/dist/dev/packages/shared-chunks/{internal-helper-IC87S6iZ.js → internal-helper-CKrni0b_.js} +1 -1
- package/dist/dev/packages/shared-chunks/{invoke-Ds0KEfP_.js → invoke-d9sqa50M.js} +3 -3
- package/dist/dev/packages/shared-chunks/{libraries-P8Ins5CB.js → libraries-DwffpMGE.js} +1 -1
- package/dist/dev/packages/shared-chunks/{meta-Cjo3zQJq.js → meta-BqC7f9Ia.js} +1 -1
- package/dist/{prod/packages/shared-chunks/namespace_search-TFdmjK_a.js → dev/packages/shared-chunks/namespace_search-BfvzEQzN.js} +1 -1
- package/dist/dev/packages/shared-chunks/{normalize-CxG_iVLJ.js → normalize-CKySQVU7.js} +2 -2
- package/dist/dev/packages/shared-chunks/{or-Bg6rCMF8.js → not-DYh6AY9Z.js} +36 -36
- package/dist/dev/packages/shared-chunks/{observers-CejcZw5s.js → observers-DMlX2nCi.js} +5 -5
- package/dist/dev/packages/shared-chunks/{on-Ch_lyozr.js → on-DlF0Wy7P.js} +10 -10
- package/dist/dev/packages/shared-chunks/outlet-CHFL7tun.js +135 -0
- package/dist/dev/packages/shared-chunks/{present-D0EfKzC6.js → present-B1rrjAVM.js} +1 -1
- package/dist/{prod/packages/shared-chunks/program-CF651Zuj.js → dev/packages/shared-chunks/program-DlgjqLa6.js} +3 -3
- package/dist/dev/packages/shared-chunks/{program-context-BaYVr5GA.js → program-context-Dq8xN2HI.js} +5 -4
- package/dist/dev/packages/shared-chunks/{property_get-BjbsrgpU.js → property_get-CRP7MFz_.js} +3 -3
- package/dist/dev/packages/shared-chunks/{property_set-LJskl202.js → property_set-qCUylPEK.js} +3 -3
- package/dist/dev/packages/shared-chunks/{reference-C-OXd_kp.js → reference-BqOLhKFy.js} +3 -3
- package/dist/dev/packages/shared-chunks/{registers-Buvdhhxx.js → registers-C_W2qYHJ.js} +1 -1
- package/dist/dev/packages/shared-chunks/{rehydrate-builder-IH4d_JQy.js → rehydrate-builder-C6k1XhET.js} +4 -4
- package/dist/dev/packages/shared-chunks/{render-Dz3OWqXy.js → render-87_sKZ_k.js} +94 -94
- package/dist/dev/packages/shared-chunks/{rsvp-C6j8G1D1.js → rsvp.es-DR7yS7qg.js} +150 -154
- package/dist/dev/packages/shared-chunks/{serialize-builder-DKliZPPG.js → serialize-builder-BlxBjwO-.js} +2 -2
- package/dist/dev/packages/shared-chunks/{set_properties-CNds2HCH.js → set_properties-C4TSebH6.js} +2 -2
- package/dist/dev/packages/shared-chunks/setup-registry-BHdDJATP.js +951 -0
- package/dist/{prod/packages/shared-chunks/simple-cast-BXTrayoV.js → dev/packages/shared-chunks/simple-cast-DCvJLSin.js} +1 -1
- package/dist/{prod/packages/shared-chunks/super-D4qkU4uq.js → dev/packages/shared-chunks/super-BBBjgF69.js} +1 -1
- package/dist/{prod/packages/shared-chunks/syscall-ops-nrBHMOTp.js → dev/packages/shared-chunks/syscall-ops-CN7STuUn.js} +1 -1
- package/dist/dev/packages/shared-chunks/{template-B0Apv9g2.js → template-BRrQR6KS.js} +1 -1
- package/dist/dev/packages/shared-chunks/{template-only-BxYzSEnC.js → template-only-Cu639ICT.js} +2 -4
- package/dist/dev/packages/shared-chunks/{textarea-DHjEFpZu.js → textarea-C4lYkaHj.js} +12 -8
- package/dist/dev/packages/shared-chunks/{tracked-B76E1nGz.js → tracked-DEyf0T_X.js} +5 -5
- package/dist/dev/packages/shared-chunks/{tracked-data-CH1USZZy.js → tracked-data-DgqqRdYO.js} +2 -2
- package/dist/dev/packages/shared-chunks/{unique-id-Hd96VZlE.js → unique-id-DQOhouG1.js} +2 -2
- package/dist/dev/packages/shared-chunks/{unrecognized-url-error-BQdkjTtZ.js → unrecognized-url-error-B8loxkay.js} +3 -3
- package/dist/{prod/packages/shared-chunks/vm-ops-5QCUIRx4.js → dev/packages/shared-chunks/vm-ops-ImHv0Wtg.js} +1 -1
- package/dist/prod/packages/@ember/-internals/deprecations/index.js +10 -0
- package/dist/prod/packages/@ember/-internals/glimmer/index.js +11 -11
- package/dist/prod/packages/@ember/-internals/metal/index.js +18 -18
- package/dist/prod/packages/@ember/-internals/routing/index.js +3 -3
- 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/-proxy.js +8 -8
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +1 -1
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/comparable.js +5 -0
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
- package/dist/prod/packages/@ember/-internals/utils/index.js +2 -2
- package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +1 -1
- package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -2
- package/dist/prod/packages/@ember/-internals/views/lib/system/utils.js +1 -1
- package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
- package/dist/prod/packages/@ember/application/index.js +5 -6
- package/dist/prod/packages/@ember/application/instance.js +19 -4
- package/dist/prod/packages/@ember/application/namespace.js +3 -3
- package/dist/prod/packages/@ember/array/index.js +11 -58
- package/dist/prod/packages/@ember/array/lib/is-array.js +64 -0
- package/dist/prod/packages/@ember/array/proxy.js +8 -8
- package/dist/prod/packages/@ember/component/helper.js +305 -1
- package/dist/prod/packages/@ember/component/index.js +20 -14
- package/dist/prod/packages/@ember/component/template-only.js +1 -1
- package/dist/prod/packages/@ember/controller/index.js +3 -3
- package/dist/prod/packages/@ember/debug/data-adapter.js +3 -3
- package/dist/prod/packages/@ember/engine/index.js +5 -5
- package/dist/prod/packages/@ember/engine/instance.js +2 -2
- package/dist/prod/packages/@ember/helper/index.js +8 -27
- package/dist/prod/packages/@ember/modifier/index.js +2 -2
- package/dist/prod/packages/@ember/modifier/on.js +1 -1
- package/dist/prod/packages/@ember/object/-internals.js +2 -2
- package/dist/prod/packages/@ember/object/compat.js +3 -3
- package/dist/prod/packages/@ember/object/computed.js +2 -2
- package/dist/prod/packages/@ember/object/core.js +7 -7
- package/dist/prod/packages/@ember/object/evented.js +2 -2
- package/dist/prod/packages/@ember/object/events.js +1 -1
- package/dist/prod/packages/@ember/object/index.js +30 -25
- package/dist/prod/packages/@ember/object/internals.js +2 -2
- package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +4 -4
- package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +2 -2
- package/dist/prod/packages/@ember/object/mixin.js +6 -6
- package/dist/prod/packages/@ember/object/observable.js +7 -7
- package/dist/prod/packages/@ember/object/observers.js +1 -1
- package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +3 -3
- package/dist/prod/packages/@ember/reactive/collections.js +153 -153
- package/dist/prod/packages/@ember/renderer/index.js +1 -1
- package/dist/prod/packages/@ember/routing/index.js +12 -8
- package/dist/prod/packages/@ember/routing/lib/generate_controller.js +1 -2
- package/dist/prod/packages/@ember/routing/lib/routing-service.js +4 -5
- package/dist/prod/packages/@ember/routing/lib/utils.js +3 -3
- package/dist/prod/packages/@ember/routing/route.js +12 -12
- package/dist/prod/packages/@ember/routing/router-service.js +24 -18
- package/dist/prod/packages/@ember/routing/router.js +5 -5
- package/dist/prod/packages/@ember/runloop/index.js +1 -1
- package/dist/prod/packages/@ember/service/index.js +1 -1
- package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +3 -3
- package/dist/prod/packages/@ember/template-compiler/lib/template.js +2 -2
- package/dist/prod/packages/@ember/template-factory/index.js +1 -1
- package/dist/prod/packages/@ember/utils/lib/compare.js +5 -2
- package/dist/prod/packages/@ember/utils/lib/is_empty.js +1 -1
- package/dist/prod/packages/@glimmer/encoder/index.js +1 -1
- package/dist/prod/packages/@glimmer/manager/index.js +4 -4
- package/dist/prod/packages/@glimmer/node/index.js +3 -3
- package/dist/prod/packages/@glimmer/opcode-compiler/index.js +2 -2
- package/dist/prod/packages/@glimmer/program/index.js +10 -10
- package/dist/prod/packages/@glimmer/reference/index.js +5 -5
- package/dist/prod/packages/@glimmer/runtime/index.js +13 -13
- package/dist/prod/packages/@glimmer/tracking/index.js +2 -2
- package/dist/prod/packages/@glimmer/tracking/primitives/cache/index.js +1 -1
- package/dist/prod/packages/@glimmer/util/index.js +4 -4
- package/dist/prod/packages/@glimmer/validator/index.js +3 -3
- package/dist/prod/packages/@glimmer/vm/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/router_js/index.js +3 -3
- package/dist/prod/packages/rsvp/index.js +2281 -1
- package/dist/prod/packages/shared-chunks/{alias-DsIh-16z.js → alias-Bod6qdNp.js} +7 -7
- package/dist/prod/packages/shared-chunks/{api-CGZbGcvX.js → api-B_poQGXS.js} +6 -6
- package/dist/prod/packages/shared-chunks/{element-builder-CZePCkbA.js → api-CQexacBn.js} +139 -120
- package/dist/prod/packages/shared-chunks/{api-DOLN_cR2.js → api-DlJKfm_f.js} +3 -3
- package/dist/prod/packages/shared-chunks/{args-proxy-CaXVcI8G.js → args-proxy-CCoFtYLS.js} +2 -2
- package/dist/prod/packages/shared-chunks/{debug-render-tree-CYENUjgX.js → arguments-BzAkZVBa.js} +198 -198
- package/dist/prod/packages/shared-chunks/{array-DYFI95FA.js → array-BzReKMeW.js} +3 -3
- package/dist/prod/packages/shared-chunks/{array-utils-BEaSKdEb.js → array-utils-CZQxrdD3.js} +1 -1
- package/dist/prod/packages/shared-chunks/{cache-CG6_L9db.js → cache-CofLhaS4.js} +1 -2
- package/dist/prod/packages/shared-chunks/{capabilities-_5e35539.js → capabilities-BuVYh-vx.js} +1 -1
- package/dist/prod/packages/shared-chunks/{chain-tags-BP0V2LnZ.js → chain-tags-B2J7DsxO.js} +4 -4
- package/dist/prod/packages/shared-chunks/{collections-By4M3cTy.js → collections-GpG8lT2g.js} +10 -10
- package/dist/prod/packages/shared-chunks/{compiler-DQmEjFyx.js → compiler-lBSssiWp.js} +2 -2
- package/dist/prod/packages/shared-chunks/{computed-D6MVTTDd.js → computed-DtIStxvq.js} +6 -6
- package/dist/prod/packages/shared-chunks/{curly-DCYSwLtz.js → curly-a6DP7r87.js} +10 -11
- package/dist/prod/packages/shared-chunks/curly-brand-B_F79Dep.js +12 -0
- package/dist/prod/packages/shared-chunks/{curried-Cnjy9_ug.js → curried-BZnYakIg.js} +1 -1
- package/dist/prod/packages/shared-chunks/{decorator-B8Lpq40g.js → decorator-9ikVwsjY.js} +1 -1
- package/dist/prod/packages/shared-chunks/{element-CT5H5uxF.js → element-DgHdPZ8u.js} +5 -3
- package/dist/prod/packages/shared-chunks/{events-C7aYCy0N.js → events-DYrYz3V8.js} +1 -1
- package/dist/{dev/packages/shared-chunks/flags-B9qxc-pB.js → prod/packages/shared-chunks/flags-BZxHQ0yn.js} +1 -1
- package/dist/prod/packages/shared-chunks/{get-tlL23wmp.js → get-Dago5uGl.js} +33 -36
- package/dist/{dev/packages/shared-chunks/get_properties-B203vZpz.js → prod/packages/shared-chunks/get_properties-Dg3xFpiS.js} +1 -1
- package/dist/prod/packages/shared-chunks/{guid-PO2v9BaN.js → guid-Cbq2sNV_.js} +1 -1
- package/dist/prod/packages/shared-chunks/{hash-C6IoC4eR.js → hash-gEXIsSO4.js} +24 -18
- package/dist/prod/packages/shared-chunks/helper-brand-C9_8vvOf.js +12 -0
- package/dist/prod/packages/shared-chunks/{index-D-rcNBLp.js → index-Bf53M8eS.js} +9 -8
- package/dist/prod/packages/shared-chunks/{index-DabsnYit.js → index-npr2B-vu.js} +541 -1465
- package/dist/prod/packages/shared-chunks/{injected_property-COGiYHKc.js → injected_property-Y-FadDej.js} +2 -2
- package/dist/prod/packages/shared-chunks/{internal-BEJC2IJ-.js → internal-BQ7zHrqS.js} +4 -4
- package/dist/prod/packages/shared-chunks/{internal-helper-CoxiRnnb.js → internal-helper-Bz1lpDXr.js} +1 -1
- package/dist/prod/packages/shared-chunks/{invoke-D_jsLbsj.js → invoke-DhQ5QRp2.js} +3 -3
- package/dist/prod/packages/shared-chunks/{libraries-Bs3H8iwC.js → libraries-DBql0hdn.js} +2 -2
- package/dist/prod/packages/shared-chunks/{meta-Ce6-qROq.js → meta-BJtIZDir.js} +1 -1
- package/dist/{dev/packages/shared-chunks/namespace_search-TFdmjK_a.js → prod/packages/shared-chunks/namespace_search-BfvzEQzN.js} +1 -1
- package/dist/prod/packages/shared-chunks/{normalize-Bx4H3NjB.js → normalize-C_IStty9.js} +2 -2
- package/dist/prod/packages/shared-chunks/{or-sYlRiUn_.js → not-BOIVROuv.js} +28 -28
- package/dist/prod/packages/shared-chunks/{observers-Ci31SE36.js → observers-BmobpXAF.js} +5 -5
- package/dist/prod/packages/shared-chunks/{on-Dgmychhk.js → on-BZHAxzdq.js} +10 -10
- package/dist/prod/packages/shared-chunks/outlet--lIm3q7t.js +132 -0
- package/dist/{dev/packages/shared-chunks/program-CPXeXWVB.js → prod/packages/shared-chunks/program-BAh__OXZ.js} +3 -3
- package/dist/prod/packages/shared-chunks/{program-context-DmI53TzJ.js → program-context-COSioH46.js} +5 -4
- package/dist/prod/packages/shared-chunks/{property_get-Sw0SicEZ.js → property_get-DAKgbeJX.js} +2 -2
- package/dist/prod/packages/shared-chunks/{property_set-SHEIPMUG.js → property_set-BaQJdVfS.js} +3 -3
- package/dist/prod/packages/shared-chunks/{reference-D2agTt1V.js → reference-CG0yPgLy.js} +3 -3
- package/dist/prod/packages/shared-chunks/{registers-Buvdhhxx.js → registers-C_W2qYHJ.js} +1 -1
- package/dist/prod/packages/shared-chunks/{rehydrate-builder-B7MtrWip.js → rehydrate-builder-Blt1x9MP.js} +4 -4
- package/dist/prod/packages/shared-chunks/{render-B790-vbk.js → render-Dx7lr1hR.js} +94 -94
- package/dist/prod/packages/shared-chunks/{rsvp-C6j8G1D1.js → rsvp.es-DR7yS7qg.js} +150 -154
- package/dist/prod/packages/shared-chunks/{serialize-builder-kEyOKbzp.js → serialize-builder-BvAXYHTr.js} +2 -2
- package/dist/prod/packages/shared-chunks/{set_properties-CcLLHg1w.js → set_properties-Qxhw4qzw.js} +2 -2
- package/dist/prod/packages/shared-chunks/setup-registry-Dfu8EyLU.js +886 -0
- package/dist/{dev/packages/shared-chunks/simple-cast-BXTrayoV.js → prod/packages/shared-chunks/simple-cast-DCvJLSin.js} +1 -1
- package/dist/{dev/packages/shared-chunks/super-D4qkU4uq.js → prod/packages/shared-chunks/super-BBBjgF69.js} +1 -1
- package/dist/{dev/packages/shared-chunks/syscall-ops-nrBHMOTp.js → prod/packages/shared-chunks/syscall-ops-CN7STuUn.js} +1 -1
- package/dist/prod/packages/shared-chunks/{template-B0Apv9g2.js → template-BRrQR6KS.js} +1 -1
- package/dist/prod/packages/shared-chunks/{template-only-CP0NT7ce.js → template-only-DKNcKM5b.js} +2 -4
- package/dist/prod/packages/shared-chunks/{textarea-B_JYBuE8.js → textarea-DOmZ1x0E.js} +11 -7
- package/dist/prod/packages/shared-chunks/{tracked-CXcapuAm.js → tracked-B9380JtC.js} +5 -5
- package/dist/prod/packages/shared-chunks/{tracked-data-DNDzhYXf.js → tracked-data-CHq42QHb.js} +2 -2
- package/dist/prod/packages/shared-chunks/{unique-id-Hn8Qp4dS.js → unique-id-o2pS74go.js} +2 -2
- package/dist/prod/packages/shared-chunks/{unrecognized-url-error-ClNyMFJt.js → unrecognized-url-error-jjQ-FqKB.js} +3 -3
- package/dist/{dev/packages/shared-chunks/vm-ops-5QCUIRx4.js → prod/packages/shared-chunks/vm-ops-ImHv0Wtg.js} +1 -1
- package/docs/data.json +616 -569
- package/package.json +8 -6
- package/types/stable/@ember/-internals/deprecations/index.d.ts +6 -0
- package/types/stable/@ember/-internals/glimmer/index.d.ts +165 -121
- package/types/stable/@ember/-internals/glimmer/lib/base-renderer.d.ts +150 -0
- package/types/stable/@ember/-internals/glimmer/lib/component-managers/curly-brand.d.ts +10 -0
- package/types/stable/@ember/-internals/glimmer/lib/component-managers/curly.d.ts +3 -2
- package/types/stable/@ember/-internals/glimmer/lib/component-managers/mount.d.ts +1 -1
- package/types/stable/@ember/-internals/glimmer/lib/component-managers/outlet.d.ts +1 -1
- package/types/stable/@ember/-internals/glimmer/lib/component.d.ts +8 -2
- package/types/stable/@ember/-internals/glimmer/lib/glimmer-tracking-docs.d.ts +12 -12
- package/types/stable/@ember/-internals/glimmer/lib/helper-brand.d.ts +10 -0
- package/types/stable/@ember/-internals/glimmer/lib/helper.d.ts +20 -10
- package/types/stable/@ember/-internals/glimmer/lib/helpers/array.d.ts +3 -1
- package/types/stable/@ember/-internals/glimmer/lib/helpers/component.d.ts +65 -121
- package/types/stable/@ember/-internals/glimmer/lib/helpers/concat.d.ts +8 -4
- package/types/stable/@ember/-internals/glimmer/lib/helpers/each-in.d.ts +16 -14
- package/types/stable/@ember/-internals/glimmer/lib/helpers/element.d.ts +2 -0
- package/types/stable/@ember/-internals/glimmer/lib/helpers/fn.d.ts +11 -7
- package/types/stable/@ember/-internals/glimmer/lib/helpers/get.d.ts +23 -29
- package/types/stable/@ember/-internals/glimmer/lib/helpers/hash.d.ts +3 -1
- package/types/stable/@ember/-internals/glimmer/lib/helpers/if-unless.d.ts +95 -49
- package/types/stable/@ember/-internals/glimmer/lib/helpers/mut.d.ts +23 -54
- package/types/stable/@ember/-internals/glimmer/lib/helpers/page-title.d.ts +6 -2
- package/types/stable/@ember/-internals/glimmer/lib/helpers/readonly.d.ts +4 -8
- package/types/stable/@ember/-internals/glimmer/lib/modifiers/on.d.ts +10 -10
- package/types/stable/@ember/-internals/glimmer/lib/renderer.d.ts +7 -155
- package/types/stable/@ember/-internals/glimmer/lib/router-resolver.d.ts +17 -0
- package/types/stable/@ember/-internals/glimmer/lib/syntax/in-element.d.ts +2 -0
- package/types/stable/@ember/-internals/glimmer/lib/syntax/let.d.ts +2 -14
- package/types/stable/@ember/-internals/glimmer/lib/syntax/mount.d.ts +15 -11
- package/types/stable/@ember/-internals/glimmer/lib/syntax/outlet.d.ts +17 -10
- package/types/stable/@ember/-internals/runtime/lib/mixins/target_action_support.d.ts +1 -1
- package/types/stable/@ember/array/index.d.ts +6 -29
- package/types/stable/@ember/array/lib/is-array.d.ts +35 -0
- package/types/stable/@ember/component/template-only.d.ts +1 -3
- package/types/stable/@ember/controller/index.d.ts +1 -1
- package/types/stable/@ember/helper/index.d.ts +0 -19
- package/types/stable/@ember/object/index.d.ts +4 -3
- package/types/stable/@ember/object/observable.d.ts +4 -0
- package/types/stable/@ember/reactive/collections.d.ts +0 -6
- package/types/stable/@ember/renderer/index.d.ts +2 -2
- package/types/stable/@ember/routing/lib/generate_controller.d.ts +1 -1
- package/types/stable/@ember/routing/route.d.ts +2 -2
- package/types/stable/@ember/routing/router-service.d.ts +20 -12
- package/types/stable/@glimmer/runtime/lib/component/template-only.d.ts +0 -2
- package/types/stable/@glimmer/runtime/lib/dom/sanitized-values.d.ts +2 -2
- package/types/stable/@glimmer/runtime/lib/helpers/array.d.ts +1 -1
- package/types/stable/@glimmer/runtime/lib/helpers/concat.d.ts +8 -3
- package/types/stable/@glimmer/runtime/lib/helpers/fn.d.ts +13 -7
- package/types/stable/@glimmer/runtime/lib/helpers/get.d.ts +21 -29
- package/types/stable/@glimmer/runtime/lib/helpers/hash.d.ts +1 -1
- package/types/stable/@glimmer/syntax/lib/get-template-locals.d.ts +1 -1
- package/types/stable/@glimmer/tracking/index.d.ts +12 -12
- package/types/stable/index.d.ts +590 -585
- package/dist/dev/packages/shared-chunks/helper-Bm6EhgSW.js +0 -314
- package/dist/dev/packages/shared-chunks/setup-registry-C_YovxNX.js +0 -77
- package/dist/prod/packages/shared-chunks/helper-CCK8Ef0x.js +0 -298
- package/dist/prod/packages/shared-chunks/setup-registry-D14I0iDX.js +0 -74
package/dist/dev/packages/shared-chunks/{untouchable-this-BHdAERUu.js → arguments-CDkbOqTS.js}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as assign } from './object-utils-AijlD-JH.js';
|
|
3
|
-
import { h as $v0, g as $t1, f as $t0, a as $pc, b as $ra, $ as $fp, e as $sp, d as $s1, c as $s0 } from './registers-Buvdhhxx.js';
|
|
1
|
+
import { a as $v0, b as $t1, c as $t0, d as $pc, e as $ra, f as $fp, g as $sp, h as $s1, $ as $s0 } from './registers-C_W2qYHJ.js';
|
|
4
2
|
import { s as setLocalDebugType } from './debug-brand-B1TWjOCH.js';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { b as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { e as expect, S as StackImpl, u as unwrap, a as isIndexable, d as dict } from './collections-DPkjqeA3.js';
|
|
4
|
+
import { c as createComputeRef, v as valueForRef, a as createConstRef, e as createPrimitiveRef, i as isConstRef, U as UNDEFINED_REFERENCE, N as NULL_REFERENCE, T as TRUE_REFERENCE, F as FALSE_REFERENCE, R as REFERENCE, h as createDebugAliasRef } from './reference-BqOLhKFy.js';
|
|
5
|
+
import { b as EMPTY_STRING_ARRAY, e as enumerate, c as emptyArray } from './array-utils-CZQxrdD3.js';
|
|
6
|
+
import { C as CONSTANT_TAG, I as INITIAL, v as validateTag, c as consumeTag, a as valueForTag, o as beginTrackFrame, s as endTrackFrame, k as CURRENT_TAG } from './cache-DGDPVCpC.js';
|
|
7
|
+
import { C as CURRIED_MODIFIER, a as CURRIED_COMPONENT } from './curried-BZnYakIg.js';
|
|
8
|
+
import { j as VM_SYSCALL_SIZE, k as VM_CHILD_SCOPE_OP, l as VM_POP_SCOPE_OP, m as VM_PUSH_DYNAMIC_SCOPE_OP, n as VM_POP_DYNAMIC_SCOPE_OP, o as VM_CONSTANT_OP, p as decodeHandle, q as VM_CONSTANT_REFERENCE_OP, r as VM_PRIMITIVE_OP, s as isHandle, t as decodeImmediate, u as VM_PRIMITIVE_REFERENCE_OP, v as VM_DUP_OP, w as VM_POP_OP, x as VM_LOAD_OP, y as VM_FETCH_OP, z as VM_BIND_DYNAMIC_SCOPE_OP, A as VM_ENTER_OP, B as VM_EXIT_OP, C as VM_PUSH_SYMBOL_TABLE_OP, D as VM_PUSH_BLOCK_SCOPE_OP, E as VM_COMPILE_BLOCK_OP, F as VM_INVOKE_YIELD_OP, G as VM_JUMP_IF_OP, H as VM_JUMP_UNLESS_OP, I as VM_JUMP_EQ_OP, b as VM_ASSERT_SAME_OP, J as VM_TO_BOOLEAN_OP, K as VM_TEXT_OP, L as VM_COMMENT_OP, M as VM_OPEN_ELEMENT_OP, N as VM_OPEN_DYNAMIC_ELEMENT_OP, O as VM_PUSH_REMOTE_ELEMENT_OP, P as VM_POP_REMOTE_ELEMENT_OP, Q as VM_FLUSH_ELEMENT_OP, R as VM_CLOSE_ELEMENT_OP, S as VM_MODIFIER_OP, T as VM_DYNAMIC_MODIFIER_OP, U as VM_STATIC_ATTR_OP, W as VM_DYNAMIC_ATTR_OP, X as VM_PUSH_COMPONENT_DEFINITION_OP, Y as VM_RESOLVE_DYNAMIC_COMPONENT_OP, e as VM_RESOLVE_CURRIED_COMPONENT_OP, f as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, Z as VM_PUSH_ARGS_OP, _ as VM_PUSH_EMPTY_ARGS_OP, $ as VM_CAPTURE_ARGS_OP, a0 as VM_PREPARE_ARGS_OP, a1 as VM_CREATE_COMPONENT_OP, a2 as VM_REGISTER_COMPONENT_DESTRUCTOR_OP, a3 as VM_BEGIN_COMPONENT_TRANSACTION_OP, a4 as VM_PUT_COMPONENT_OPERATIONS_OP, a5 as VM_COMPONENT_ATTR_OP, a6 as VM_STATIC_COMPONENT_ATTR_OP, a7 as VM_DID_CREATE_ELEMENT_OP, a8 as VM_GET_COMPONENT_SELF_OP, a9 as VM_GET_COMPONENT_TAG_NAME_OP, aa as VM_GET_COMPONENT_LAYOUT_OP, V as VM_MAIN_OP, ab as VM_POPULATE_LAYOUT_OP, ac as VM_VIRTUAL_ROOT_SCOPE_OP, ad as VM_SET_NAMED_VARIABLES_OP, ae as VM_SET_BLOCKS_OP, af as VM_INVOKE_COMPONENT_LAYOUT_OP, ag as VM_DID_RENDER_LAYOUT_OP, ah as VM_COMMIT_COMPONENT_TRANSACTION_OP } from './syscall-ops-CN7STuUn.js';
|
|
10
9
|
import { d as debugToString } from './debug-to-string-C6LsA_qz.js';
|
|
11
10
|
import { a as assert } from './assert-Zqc4wiAV.js';
|
|
12
|
-
import {
|
|
11
|
+
import { u as unwrapTemplate } from './template-BRrQR6KS.js';
|
|
13
12
|
import { registerDestructor, destroy, associateDestroyableChild } from '../@glimmer/destroyable/index.js';
|
|
14
|
-
import { m as managerHasCapability } from './capabilities-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
13
|
+
import { m as managerHasCapability } from './capabilities-CajW4QjE.js';
|
|
14
|
+
import { a as assign } from './object-utils-AijlD-JH.js';
|
|
15
|
+
import { I as InternalComponentCapabilities } from './flags-BZxHQ0yn.js';
|
|
16
|
+
import { n as normalizeStringValue, C as ConcreteBounds } from './normalize-CKySQVU7.js';
|
|
17
|
+
import { b as getInternalModifierManager } from './api-DuLOZMO_.js';
|
|
18
18
|
import { toBool } from '../@glimmer/global-context/index.js';
|
|
19
19
|
|
|
20
20
|
function CheckInstanceof(Class) {
|
|
@@ -49,34 +49,45 @@ function check(value, checker, message) {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
add(name, evaluate, kind = 'syscall') {
|
|
60
|
-
this.evaluateOpcode[name] = {
|
|
61
|
-
syscall: kind !== 'machine',
|
|
62
|
-
evaluate
|
|
52
|
+
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
53
|
+
function buildUntouchableThis(source) {
|
|
54
|
+
let context = null;
|
|
55
|
+
{
|
|
56
|
+
let assertOnProperty = property => {
|
|
57
|
+
let access = typeof property === 'symbol' || typeof property === 'number' ? `[${String(property)}]` : `.${property}`;
|
|
58
|
+
throw new Error(`You accessed \`this${access}\` from a function passed to the ${source}, but the function itself was not bound to a valid \`this\` context. Consider updating to use a bound function (for instance, use an arrow function, \`() => {}\`).`);
|
|
63
59
|
};
|
|
60
|
+
context = new Proxy({}, {
|
|
61
|
+
get(_target, property) {
|
|
62
|
+
assertOnProperty(property);
|
|
63
|
+
},
|
|
64
|
+
set(_target, property) {
|
|
65
|
+
assertOnProperty(property);
|
|
66
|
+
return false;
|
|
67
|
+
},
|
|
68
|
+
has(_target, property) {
|
|
69
|
+
assertOnProperty(property);
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
64
73
|
}
|
|
65
|
-
|
|
66
|
-
let operation = unwrap(this.evaluateOpcode[type]);
|
|
67
|
-
if (operation.syscall) {
|
|
68
|
-
assert(!opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
69
|
-
operation.evaluate(vm, opcode);
|
|
70
|
-
} else {
|
|
71
|
-
assert(opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
72
|
-
operation.evaluate(vm.lowlevel, opcode);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
74
|
+
return context;
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
function hasCustomDebugRenderTreeLifecycle(manager) {
|
|
79
|
+
return 'getDebugCustomRenderTree' in manager;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function resolveComponent(resolver, constants, name, owner) {
|
|
83
|
+
let definition = resolver?.lookupComponent?.(name, expect(owner)) ?? null;
|
|
84
|
+
if (!definition) {
|
|
85
|
+
throw new Error(`Attempted to resolve \`${name}\`, which was expected to be a component, but nothing was found.`);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme
|
|
89
|
+
return constants.resolvedComponent(definition, name);
|
|
78
90
|
}
|
|
79
|
-
const APPEND_OPCODES = new AppendOpcodes();
|
|
80
91
|
|
|
81
92
|
const TYPE = Symbol('TYPE');
|
|
82
93
|
const INNER = Symbol('INNER');
|
|
@@ -153,20 +164,198 @@ function curry(type, spec, owner, args, resolved = false) {
|
|
|
153
164
|
return new CurriedValue(type, spec, owner, args, resolved);
|
|
154
165
|
}
|
|
155
166
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
167
|
+
let GUID = 0;
|
|
168
|
+
class Ref {
|
|
169
|
+
id = GUID++;
|
|
170
|
+
value;
|
|
171
|
+
constructor(value) {
|
|
172
|
+
this.value = value;
|
|
173
|
+
}
|
|
174
|
+
get() {
|
|
175
|
+
return this.value;
|
|
176
|
+
}
|
|
177
|
+
release() {
|
|
178
|
+
if (this.value === null) {
|
|
179
|
+
throw new Error('BUG: double release?');
|
|
180
|
+
}
|
|
181
|
+
this.value = null;
|
|
182
|
+
}
|
|
183
|
+
toString() {
|
|
184
|
+
let label = `Ref ${this.id}`;
|
|
185
|
+
if (this.value === null) {
|
|
186
|
+
return `${label} (released)`;
|
|
187
|
+
} else {
|
|
188
|
+
try {
|
|
189
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
190
|
+
return `${label}: ${this.value}`;
|
|
191
|
+
} catch {
|
|
192
|
+
return label;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
159
196
|
}
|
|
197
|
+
class DebugRenderTreeImpl {
|
|
198
|
+
stack = new StackImpl();
|
|
199
|
+
refs = new WeakMap();
|
|
200
|
+
roots = new Set();
|
|
201
|
+
nodes = new WeakMap();
|
|
202
|
+
begin() {
|
|
203
|
+
this.reset();
|
|
204
|
+
}
|
|
205
|
+
create(state, node) {
|
|
206
|
+
let internalNode = assign({}, node, {
|
|
207
|
+
bounds: null,
|
|
208
|
+
refs: new Set()
|
|
209
|
+
});
|
|
210
|
+
this.nodes.set(state, internalNode);
|
|
211
|
+
this.appendChild(internalNode, state);
|
|
212
|
+
this.enter(state);
|
|
213
|
+
}
|
|
214
|
+
update(state) {
|
|
215
|
+
this.enter(state);
|
|
216
|
+
}
|
|
217
|
+
didRender(state, bounds) {
|
|
218
|
+
if (this.stack.current !== state) {
|
|
219
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
220
|
+
throw new Error(`BUG: expecting ${this.stack.current}, got ${state}`);
|
|
221
|
+
}
|
|
222
|
+
this.nodeFor(state).bounds = bounds;
|
|
223
|
+
this.exit();
|
|
224
|
+
}
|
|
225
|
+
willDestroy(state) {
|
|
226
|
+
expect(this.refs.get(state)).release();
|
|
227
|
+
}
|
|
228
|
+
commit() {
|
|
229
|
+
this.reset();
|
|
230
|
+
}
|
|
231
|
+
capture() {
|
|
232
|
+
return this.captureRefs(this.roots);
|
|
233
|
+
}
|
|
234
|
+
reset() {
|
|
235
|
+
if (this.stack.size !== 0) {
|
|
236
|
+
// We probably encountered an error during the rendering loop. This will
|
|
237
|
+
// likely trigger undefined behavior and memory leaks as the error left
|
|
238
|
+
// things in an inconsistent state. It is recommended that the user
|
|
239
|
+
// refresh the page.
|
|
160
240
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
241
|
+
// TODO: We could warn here? But this happens all the time in our tests?
|
|
242
|
+
|
|
243
|
+
// Clean up the root reference to prevent errors from happening if we
|
|
244
|
+
// attempt to capture the render tree (Ember Inspector may do this)
|
|
245
|
+
let root = expect(this.stack.toArray()[0]);
|
|
246
|
+
let ref = this.refs.get(root);
|
|
247
|
+
if (ref !== undefined) {
|
|
248
|
+
this.roots.delete(ref);
|
|
249
|
+
}
|
|
250
|
+
while (!this.stack.isEmpty()) {
|
|
251
|
+
this.stack.pop();
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
enter(state) {
|
|
256
|
+
this.stack.push(state);
|
|
257
|
+
}
|
|
258
|
+
exit() {
|
|
259
|
+
if (this.stack.size === 0) {
|
|
260
|
+
throw new Error('BUG: unbalanced pop');
|
|
261
|
+
}
|
|
262
|
+
this.stack.pop();
|
|
263
|
+
}
|
|
264
|
+
nodeFor(state) {
|
|
265
|
+
return expect(this.nodes.get(state));
|
|
266
|
+
}
|
|
267
|
+
appendChild(node, state) {
|
|
268
|
+
if (this.refs.has(state)) {
|
|
269
|
+
throw new Error('BUG: child already appended');
|
|
270
|
+
}
|
|
271
|
+
let parent = this.stack.current;
|
|
272
|
+
let ref = new Ref(state);
|
|
273
|
+
this.refs.set(state, ref);
|
|
274
|
+
if (parent) {
|
|
275
|
+
let parentNode = this.nodeFor(parent);
|
|
276
|
+
parentNode.refs.add(ref);
|
|
277
|
+
node.parent = parentNode;
|
|
278
|
+
} else {
|
|
279
|
+
this.roots.add(ref);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
captureRefs(refs) {
|
|
283
|
+
let captured = [];
|
|
284
|
+
refs.forEach(ref => {
|
|
285
|
+
let state = ref.get();
|
|
286
|
+
if (state) {
|
|
287
|
+
captured.push(this.captureNode(`render-node:${ref.id}`, state));
|
|
288
|
+
} else {
|
|
289
|
+
refs.delete(ref);
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
return captured;
|
|
293
|
+
}
|
|
294
|
+
captureNode(id, state) {
|
|
295
|
+
let node = this.nodeFor(state);
|
|
296
|
+
let {
|
|
297
|
+
type,
|
|
298
|
+
name,
|
|
299
|
+
args,
|
|
300
|
+
instance,
|
|
301
|
+
refs
|
|
302
|
+
} = node;
|
|
303
|
+
let bounds = this.captureBounds(node);
|
|
304
|
+
let children = this.captureRefs(refs);
|
|
305
|
+
return {
|
|
306
|
+
id,
|
|
307
|
+
type,
|
|
308
|
+
name,
|
|
309
|
+
args: reifyArgsDebug(args),
|
|
310
|
+
instance,
|
|
311
|
+
bounds,
|
|
312
|
+
children
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
captureBounds(node) {
|
|
316
|
+
let bounds = expect(node.bounds);
|
|
317
|
+
let parentElement = bounds.parentElement();
|
|
318
|
+
let firstNode = bounds.firstNode();
|
|
319
|
+
let lastNode = bounds.lastNode();
|
|
320
|
+
return {
|
|
321
|
+
parentElement,
|
|
322
|
+
firstNode,
|
|
323
|
+
lastNode
|
|
324
|
+
};
|
|
165
325
|
}
|
|
326
|
+
}
|
|
327
|
+
function getDebugName(definition, manager = definition.manager) {
|
|
328
|
+
return definition.resolvedName ?? definition.debugName ?? manager.getDebugName(definition.state);
|
|
329
|
+
}
|
|
166
330
|
|
|
167
|
-
|
|
168
|
-
|
|
331
|
+
class AppendOpcodes {
|
|
332
|
+
// This code is intentionally putting unsafe `null`s into the array that it
|
|
333
|
+
// will intentionally overwrite before anyone can see them.
|
|
334
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
335
|
+
evaluateOpcode = new Array(VM_SYSCALL_SIZE).fill(null);
|
|
336
|
+
constructor() {
|
|
337
|
+
}
|
|
338
|
+
add(name, evaluate, kind = 'syscall') {
|
|
339
|
+
this.evaluateOpcode[name] = {
|
|
340
|
+
syscall: kind !== 'machine',
|
|
341
|
+
evaluate
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
evaluate(vm, opcode, type) {
|
|
345
|
+
let operation = unwrap(this.evaluateOpcode[type]);
|
|
346
|
+
if (operation.syscall) {
|
|
347
|
+
assert(!opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
348
|
+
operation.evaluate(vm, opcode);
|
|
349
|
+
} else {
|
|
350
|
+
assert(opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
351
|
+
operation.evaluate(vm.lowlevel, opcode);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
169
354
|
}
|
|
355
|
+
function externs(vm) {
|
|
356
|
+
return undefined;
|
|
357
|
+
}
|
|
358
|
+
const APPEND_OPCODES = new AppendOpcodes();
|
|
170
359
|
|
|
171
360
|
function createClassListRef(list) {
|
|
172
361
|
return createComputeRef(() => {
|
|
@@ -1932,193 +2121,4 @@ const EMPTY_NAMED = Object.freeze(Object.create(null));
|
|
|
1932
2121
|
const EMPTY_POSITIONAL = EMPTY_REFERENCES;
|
|
1933
2122
|
const EMPTY_ARGS = createCapturedArgs(EMPTY_NAMED, EMPTY_POSITIONAL);
|
|
1934
2123
|
|
|
1935
|
-
|
|
1936
|
-
class Ref {
|
|
1937
|
-
id = GUID++;
|
|
1938
|
-
value;
|
|
1939
|
-
constructor(value) {
|
|
1940
|
-
this.value = value;
|
|
1941
|
-
}
|
|
1942
|
-
get() {
|
|
1943
|
-
return this.value;
|
|
1944
|
-
}
|
|
1945
|
-
release() {
|
|
1946
|
-
if (this.value === null) {
|
|
1947
|
-
throw new Error('BUG: double release?');
|
|
1948
|
-
}
|
|
1949
|
-
this.value = null;
|
|
1950
|
-
}
|
|
1951
|
-
toString() {
|
|
1952
|
-
let label = `Ref ${this.id}`;
|
|
1953
|
-
if (this.value === null) {
|
|
1954
|
-
return `${label} (released)`;
|
|
1955
|
-
} else {
|
|
1956
|
-
try {
|
|
1957
|
-
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
1958
|
-
return `${label}: ${this.value}`;
|
|
1959
|
-
} catch {
|
|
1960
|
-
return label;
|
|
1961
|
-
}
|
|
1962
|
-
}
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
class DebugRenderTreeImpl {
|
|
1966
|
-
stack = new StackImpl();
|
|
1967
|
-
refs = new WeakMap();
|
|
1968
|
-
roots = new Set();
|
|
1969
|
-
nodes = new WeakMap();
|
|
1970
|
-
begin() {
|
|
1971
|
-
this.reset();
|
|
1972
|
-
}
|
|
1973
|
-
create(state, node) {
|
|
1974
|
-
let internalNode = assign({}, node, {
|
|
1975
|
-
bounds: null,
|
|
1976
|
-
refs: new Set()
|
|
1977
|
-
});
|
|
1978
|
-
this.nodes.set(state, internalNode);
|
|
1979
|
-
this.appendChild(internalNode, state);
|
|
1980
|
-
this.enter(state);
|
|
1981
|
-
}
|
|
1982
|
-
update(state) {
|
|
1983
|
-
this.enter(state);
|
|
1984
|
-
}
|
|
1985
|
-
didRender(state, bounds) {
|
|
1986
|
-
if (this.stack.current !== state) {
|
|
1987
|
-
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
1988
|
-
throw new Error(`BUG: expecting ${this.stack.current}, got ${state}`);
|
|
1989
|
-
}
|
|
1990
|
-
this.nodeFor(state).bounds = bounds;
|
|
1991
|
-
this.exit();
|
|
1992
|
-
}
|
|
1993
|
-
willDestroy(state) {
|
|
1994
|
-
expect(this.refs.get(state)).release();
|
|
1995
|
-
}
|
|
1996
|
-
commit() {
|
|
1997
|
-
this.reset();
|
|
1998
|
-
}
|
|
1999
|
-
capture() {
|
|
2000
|
-
return this.captureRefs(this.roots);
|
|
2001
|
-
}
|
|
2002
|
-
reset() {
|
|
2003
|
-
if (this.stack.size !== 0) {
|
|
2004
|
-
// We probably encountered an error during the rendering loop. This will
|
|
2005
|
-
// likely trigger undefined behavior and memory leaks as the error left
|
|
2006
|
-
// things in an inconsistent state. It is recommended that the user
|
|
2007
|
-
// refresh the page.
|
|
2008
|
-
|
|
2009
|
-
// TODO: We could warn here? But this happens all the time in our tests?
|
|
2010
|
-
|
|
2011
|
-
// Clean up the root reference to prevent errors from happening if we
|
|
2012
|
-
// attempt to capture the render tree (Ember Inspector may do this)
|
|
2013
|
-
let root = expect(this.stack.toArray()[0]);
|
|
2014
|
-
let ref = this.refs.get(root);
|
|
2015
|
-
if (ref !== undefined) {
|
|
2016
|
-
this.roots.delete(ref);
|
|
2017
|
-
}
|
|
2018
|
-
while (!this.stack.isEmpty()) {
|
|
2019
|
-
this.stack.pop();
|
|
2020
|
-
}
|
|
2021
|
-
}
|
|
2022
|
-
}
|
|
2023
|
-
enter(state) {
|
|
2024
|
-
this.stack.push(state);
|
|
2025
|
-
}
|
|
2026
|
-
exit() {
|
|
2027
|
-
if (this.stack.size === 0) {
|
|
2028
|
-
throw new Error('BUG: unbalanced pop');
|
|
2029
|
-
}
|
|
2030
|
-
this.stack.pop();
|
|
2031
|
-
}
|
|
2032
|
-
nodeFor(state) {
|
|
2033
|
-
return expect(this.nodes.get(state));
|
|
2034
|
-
}
|
|
2035
|
-
appendChild(node, state) {
|
|
2036
|
-
if (this.refs.has(state)) {
|
|
2037
|
-
throw new Error('BUG: child already appended');
|
|
2038
|
-
}
|
|
2039
|
-
let parent = this.stack.current;
|
|
2040
|
-
let ref = new Ref(state);
|
|
2041
|
-
this.refs.set(state, ref);
|
|
2042
|
-
if (parent) {
|
|
2043
|
-
let parentNode = this.nodeFor(parent);
|
|
2044
|
-
parentNode.refs.add(ref);
|
|
2045
|
-
node.parent = parentNode;
|
|
2046
|
-
} else {
|
|
2047
|
-
this.roots.add(ref);
|
|
2048
|
-
}
|
|
2049
|
-
}
|
|
2050
|
-
captureRefs(refs) {
|
|
2051
|
-
let captured = [];
|
|
2052
|
-
refs.forEach(ref => {
|
|
2053
|
-
let state = ref.get();
|
|
2054
|
-
if (state) {
|
|
2055
|
-
captured.push(this.captureNode(`render-node:${ref.id}`, state));
|
|
2056
|
-
} else {
|
|
2057
|
-
refs.delete(ref);
|
|
2058
|
-
}
|
|
2059
|
-
});
|
|
2060
|
-
return captured;
|
|
2061
|
-
}
|
|
2062
|
-
captureNode(id, state) {
|
|
2063
|
-
let node = this.nodeFor(state);
|
|
2064
|
-
let {
|
|
2065
|
-
type,
|
|
2066
|
-
name,
|
|
2067
|
-
args,
|
|
2068
|
-
instance,
|
|
2069
|
-
refs
|
|
2070
|
-
} = node;
|
|
2071
|
-
let bounds = this.captureBounds(node);
|
|
2072
|
-
let children = this.captureRefs(refs);
|
|
2073
|
-
return {
|
|
2074
|
-
id,
|
|
2075
|
-
type,
|
|
2076
|
-
name,
|
|
2077
|
-
args: reifyArgsDebug(args),
|
|
2078
|
-
instance,
|
|
2079
|
-
bounds,
|
|
2080
|
-
children
|
|
2081
|
-
};
|
|
2082
|
-
}
|
|
2083
|
-
captureBounds(node) {
|
|
2084
|
-
let bounds = expect(node.bounds);
|
|
2085
|
-
let parentElement = bounds.parentElement();
|
|
2086
|
-
let firstNode = bounds.firstNode();
|
|
2087
|
-
let lastNode = bounds.lastNode();
|
|
2088
|
-
return {
|
|
2089
|
-
parentElement,
|
|
2090
|
-
firstNode,
|
|
2091
|
-
lastNode
|
|
2092
|
-
};
|
|
2093
|
-
}
|
|
2094
|
-
}
|
|
2095
|
-
function getDebugName(definition, manager = definition.manager) {
|
|
2096
|
-
return definition.resolvedName ?? definition.debugName ?? manager.getDebugName(definition.state);
|
|
2097
|
-
}
|
|
2098
|
-
|
|
2099
|
-
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
2100
|
-
function buildUntouchableThis(source) {
|
|
2101
|
-
let context = null;
|
|
2102
|
-
{
|
|
2103
|
-
let assertOnProperty = property => {
|
|
2104
|
-
let access = typeof property === 'symbol' || typeof property === 'number' ? `[${String(property)}]` : `.${property}`;
|
|
2105
|
-
throw new Error(`You accessed \`this${access}\` from a function passed to the ${source}, but the function itself was not bound to a valid \`this\` context. Consider updating to use a bound function (for instance, use an arrow function, \`() => {}\`).`);
|
|
2106
|
-
};
|
|
2107
|
-
context = new Proxy({}, {
|
|
2108
|
-
get(_target, property) {
|
|
2109
|
-
assertOnProperty(property);
|
|
2110
|
-
},
|
|
2111
|
-
set(_target, property) {
|
|
2112
|
-
assertOnProperty(property);
|
|
2113
|
-
return false;
|
|
2114
|
-
},
|
|
2115
|
-
has(_target, property) {
|
|
2116
|
-
assertOnProperty(property);
|
|
2117
|
-
return false;
|
|
2118
|
-
}
|
|
2119
|
-
});
|
|
2120
|
-
}
|
|
2121
|
-
return context;
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
|
-
export { APPEND_OPCODES as A, BeginTrackFrameOpcode as B, CurriedValue as C, DebugRenderTreeImpl as D, EMPTY_ARGS as E, JumpIfNotModifiedOpcode as J, VMArgumentsImpl as V, AssertFilter as a, EMPTY_NAMED as b, EMPTY_POSITIONAL as c, EndTrackFrameOpcode as d, buildUntouchableThis as e, check as f, createCapturedArgs as g, curry as h, externs as i, isArgumentError as j, isCurriedType as k, reifyNamed as l, reifyPositional as m, resolveCurriedValue as n, reifyArgs as r };
|
|
2124
|
+
export { APPEND_OPCODES as A, BeginTrackFrameOpcode as B, CurriedValue as C, DebugRenderTreeImpl as D, EMPTY_ARGS as E, JumpIfNotModifiedOpcode as J, VMArgumentsImpl as V, EMPTY_NAMED as a, EMPTY_POSITIONAL as b, createCapturedArgs as c, curry as d, reifyNamed as e, reifyPositional as f, buildUntouchableThis as g, check as h, isArgumentError as i, isCurriedType as j, resolveCurriedValue as k, AssertFilter as l, externs as m, EndTrackFrameOpcode as n, reifyArgs as r };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../@ember/debug/index.js';
|
|
2
2
|
import { peekMeta } from '../@ember/-internals/meta/lib/meta.js';
|
|
3
|
-
import { s as sendEvent, a as addListener, r as removeListener } from './events-
|
|
4
|
-
import { n as notifyPropertyChange } from './computed-
|
|
3
|
+
import { s as sendEvent, a as addListener, r as removeListener } from './events-6aFVjD4k.js';
|
|
4
|
+
import { n as notifyPropertyChange } from './computed-BPCtuOxQ.js';
|
|
5
5
|
import { assert } from '../@ember/debug/lib/assert.js';
|
|
6
6
|
|
|
7
7
|
function arrayContentWillChange(array, startIdx, removeAmt, addAmt) {
|
|
@@ -116,4 +116,4 @@ function removeArrayObserver(array, target, opts) {
|
|
|
116
116
|
return arrayObserversHelper(array, target, opts, removeListener);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { arrayContentWillChange as a, arrayContentDidChange as b, addArrayObserver as c, removeArrayObserver as d, replaceInNativeArray as e, replace as r };
|
|
@@ -42,4 +42,4 @@ function* zipArrays(left, right) {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export { EMPTY_ARRAY as E, EMPTY_NUMBER_ARRAY as a, EMPTY_STRING_ARRAY as b,
|
|
45
|
+
export { EMPTY_ARRAY as E, EMPTY_NUMBER_ARRAY as a, EMPTY_STRING_ARRAY as b, emptyArray as c, zipTuples as d, enumerate as e, isEmptyArray as i, reverse as r, zipArrays as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as getLast, b as asPresentArray } from './present-B1rrjAVM.js';
|
|
2
2
|
import { assert, scheduleRevalidate } from '../@glimmer/global-context/index.js';
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-non-null-assertion -- @fixme */
|
|
@@ -182,7 +182,6 @@ const CONSTANT_TAG_ID = 3;
|
|
|
182
182
|
//////////
|
|
183
183
|
|
|
184
184
|
const COMPUTE = Symbol('TAG_COMPUTE');
|
|
185
|
-
Reflect.set(globalThis, 'COMPUTE_SYMBOL', COMPUTE);
|
|
186
185
|
|
|
187
186
|
//////////
|
|
188
187
|
|
|
@@ -593,4 +592,4 @@ function untrack(callback) {
|
|
|
593
592
|
}
|
|
594
593
|
}
|
|
595
594
|
|
|
596
|
-
export { ALLOW_CYCLES as A,
|
|
595
|
+
export { ALLOW_CYCLES as A, resetTracking as B, CONSTANT_TAG as C, DIRTY_TAG as D, INITIAL as I, UPDATE_TAG as U, VOLATILE as V, valueForTag as a, createUpdatableTag as b, consumeTag as c, unwrap as d, debug as e, combine as f, createCache as g, getValue as h, COMPUTE as i, CONSTANT as j, CURRENT_TAG as k, CurrentTag as l, VOLATILE_TAG as m, VolatileTag as n, beginTrackFrame as o, beginUntrackFrame as p, bump as q, createTag as r, endTrackFrame as s, track as t, untrack as u, validateTag as v, endUntrackFrame as w, isConst as x, isConstTag as y, isTracking as z };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { peekMeta, meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
2
2
|
import { i as isObject } from './spec-BXl1reqK.js';
|
|
3
3
|
import '../@ember/debug/index.js';
|
|
4
|
-
import {
|
|
5
|
-
import { t as tagFor, d as dirtyTagFor, a as tagMetaFor } from './meta-
|
|
4
|
+
import { C as CONSTANT_TAG, f as combine, v as validateTag, b as createUpdatableTag, U as UPDATE_TAG } from './cache-DGDPVCpC.js';
|
|
5
|
+
import { t as tagFor, d as dirtyTagFor, a as tagMetaFor } from './meta-BqC7f9Ia.js';
|
|
6
6
|
import { a as setupMandatorySetter } from './mandatory-setter-BpbAMTzV.js';
|
|
7
7
|
import { t as toString } from './to-string-C7M8LBLH.js';
|
|
8
8
|
import { isDestroyed } from '../@glimmer/destroyable/index.js';
|
|
9
|
-
import { g as getCustomTagFor } from './args-proxy-
|
|
9
|
+
import { g as getCustomTagFor } from './args-proxy-CS5Brs3_.js';
|
|
10
10
|
import { assert } from '../@ember/debug/lib/assert.js';
|
|
11
11
|
|
|
12
12
|
function objectAt(array, index) {
|
|
@@ -187,4 +187,4 @@ function getChainTags(chainTags, obj, path, tagMeta, meta$1) {
|
|
|
187
187
|
return chainTags;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { CHAIN_PASS_THROUGH as C, SELF_TAG as S,
|
|
190
|
+
export { CHAIN_PASS_THROUGH as C, SELF_TAG as S, tagForProperty as a, getChainTagsForKeys as b, finishLazyChains as f, getChainTagsForKey as g, markObjectAsDirty as m, objectAt as o, tagForObject as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as getLast } from './present-B1rrjAVM.js';
|
|
2
2
|
|
|
3
3
|
function unwrap(val) {
|
|
4
4
|
return val;
|
|
@@ -51,4 +51,4 @@ class StackImpl {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
export { StackImpl as S,
|
|
54
|
+
export { StackImpl as S, isIndexable as a, exhausted as b, dict as d, expect as e, isDict as i, unwrap as u };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as isPresentArray,
|
|
1
|
+
import { i as isPresentArray, a as getFirst, g as getLast, b as asPresentArray, m as mapPresentArray } from './present-B1rrjAVM.js';
|
|
2
2
|
import { a as assert } from './assert-Zqc4wiAV.js';
|
|
3
3
|
import { assertNever } from '../@glimmer/util/index.js';
|
|
4
4
|
import { s as setLocalDebugType } from './debug-brand-B1TWjOCH.js';
|
|
5
5
|
import { a as assign } from './object-utils-AijlD-JH.js';
|
|
6
6
|
import { i as isVoidTag, b as build, v as voidMap, P as Printer } from './transform-resolutions-h1ik8gqW.js';
|
|
7
|
-
import { u as unwrap,
|
|
7
|
+
import { u as unwrap, e as expect, d as dict, b as exhausted } from './collections-DPkjqeA3.js';
|
|
8
8
|
import { o as opcodes } from './opcodes-CplRyHl_.js';
|
|
9
|
-
import {
|
|
9
|
+
import { C as CURRIED_MODIFIER, b as CURRIED_HELPER, a as CURRIED_COMPONENT } from './curried-BZnYakIg.js';
|
|
10
10
|
import { a as WellKnownTagNames, W as WellKnownAttrNames } from './well-known-_EVO9RaV.js';
|
|
11
11
|
|
|
12
12
|
const UNKNOWN_POSITION = Object.freeze({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { meta, peekMeta } from '../@ember/-internals/meta/lib/meta.js';
|
|
2
2
|
import { s as setWithMandatorySetter } from './mandatory-setter-BpbAMTzV.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { d as descriptorForProperty, a as isClassicDecorator, c as ComputedDescriptor, i as isElementDescriptor, m as makeComputedDecorator, b as descriptorForDecorator } from './decorator-B5Uh5NFI.js';
|
|
4
|
+
import { c as revalidateObservers, d as flushSyncObservers, e as resumeObserverDeactivation, s as suspendedObserverDeactivation, b as addObserver, g as setObserverSuspended } from './observers-DMlX2nCi.js';
|
|
5
5
|
import { t as toString } from './to-string-C7M8LBLH.js';
|
|
6
6
|
import inspect from '../@ember/debug/lib/inspect.js';
|
|
7
7
|
import '../@ember/debug/index.js';
|
|
8
8
|
import { isDestroyed } from '../@glimmer/destroyable/index.js';
|
|
9
|
-
import {
|
|
10
|
-
import { a as tagMetaFor, t as tagFor } from './meta-
|
|
11
|
-
import { m as markObjectAsDirty,
|
|
9
|
+
import { v as validateTag, u as untrack, U as UPDATE_TAG, A as ALLOW_CYCLES, a as valueForTag, c as consumeTag, t as track } from './cache-DGDPVCpC.js';
|
|
10
|
+
import { a as tagMetaFor, t as tagFor } from './meta-BqC7f9Ia.js';
|
|
11
|
+
import { m as markObjectAsDirty, b as getChainTagsForKeys, f as finishLazyChains } from './chain-tags-uWSImHzB.js';
|
|
12
12
|
import { assert } from '../@ember/debug/lib/assert.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -977,4 +977,4 @@ function isComputed(obj, key) {
|
|
|
977
977
|
return Boolean(descriptorForProperty(obj, key));
|
|
978
978
|
}
|
|
979
979
|
|
|
980
|
-
export { ComputedProperty as C, PROPERTY_DID_CHANGE as P,
|
|
980
|
+
export { ComputedProperty as C, PROPERTY_DID_CHANGE as P, endPropertyChanges as a, beginPropertyChanges as b, computed as c, defineProperty as d, expandProperties as e, changeProperties as f, defineValue as g, defineDecorator as h, autoComputed as i, isComputed as j, notifyPropertyChange as n };
|