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/prod/packages/shared-chunks/{debug-render-tree-CYENUjgX.js → arguments-BzAkZVBa.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
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, c as isIndexable, d as dict } from './collections-GpG8lT2g.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 } from './reference-CG0yPgLy.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-CofLhaS4.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 { a as assert } from './assert-Zqc4wiAV.js';
|
|
11
|
-
import {
|
|
10
|
+
import { u as unwrapTemplate } from './template-BRrQR6KS.js';
|
|
12
11
|
import { registerDestructor, destroy, associateDestroyableChild } from '../@glimmer/destroyable/index.js';
|
|
13
|
-
import { m as managerHasCapability } from './capabilities-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
12
|
+
import { m as managerHasCapability } from './capabilities-BuVYh-vx.js';
|
|
13
|
+
import { a as assign } from './object-utils-AijlD-JH.js';
|
|
14
|
+
import { I as InternalComponentCapabilities } from './flags-BZxHQ0yn.js';
|
|
15
|
+
import { n as normalizeStringValue, C as ConcreteBounds } from './normalize-C_IStty9.js';
|
|
16
|
+
import { b as getInternalModifierManager } from './api-DlJKfm_f.js';
|
|
17
17
|
import { toBool } from '../@glimmer/global-context/index.js';
|
|
18
18
|
|
|
19
19
|
function CheckInstanceof(Class) {
|
|
@@ -48,34 +48,17 @@ function check(value, checker, message) {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
55
|
-
evaluateOpcode = new Array(VM_SYSCALL_SIZE).fill(null);
|
|
56
|
-
constructor() {
|
|
57
|
-
}
|
|
58
|
-
add(name, evaluate, kind = 'syscall') {
|
|
59
|
-
this.evaluateOpcode[name] = {
|
|
60
|
-
syscall: kind !== 'machine',
|
|
61
|
-
evaluate
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
evaluate(vm, opcode, type) {
|
|
65
|
-
let operation = unwrap(this.evaluateOpcode[type]);
|
|
66
|
-
if (operation.syscall) {
|
|
67
|
-
assert(!opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
68
|
-
operation.evaluate(vm, opcode);
|
|
69
|
-
} else {
|
|
70
|
-
assert(opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
71
|
-
operation.evaluate(vm.lowlevel, opcode);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
51
|
+
/** @internal */
|
|
52
|
+
function hasCustomDebugRenderTreeLifecycle(manager) {
|
|
53
|
+
return 'getDebugCustomRenderTree' in manager;
|
|
74
54
|
}
|
|
75
|
-
|
|
76
|
-
|
|
55
|
+
|
|
56
|
+
function resolveComponent(resolver, constants, name, owner) {
|
|
57
|
+
let definition = resolver?.lookupComponent?.(name, expect(owner)) ?? null;
|
|
58
|
+
|
|
59
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme
|
|
60
|
+
return constants.resolvedComponent(definition, name);
|
|
77
61
|
}
|
|
78
|
-
const APPEND_OPCODES = new AppendOpcodes();
|
|
79
62
|
|
|
80
63
|
const TYPE = Symbol('TYPE');
|
|
81
64
|
const INNER = Symbol('INNER');
|
|
@@ -152,18 +135,186 @@ function curry(type, spec, owner, args, resolved = false) {
|
|
|
152
135
|
return new CurriedValue(type, spec, owner, args, resolved);
|
|
153
136
|
}
|
|
154
137
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
138
|
+
let GUID = 0;
|
|
139
|
+
class Ref {
|
|
140
|
+
id = GUID++;
|
|
141
|
+
value;
|
|
142
|
+
constructor(value) {
|
|
143
|
+
this.value = value;
|
|
144
|
+
}
|
|
145
|
+
get() {
|
|
146
|
+
return this.value;
|
|
147
|
+
}
|
|
148
|
+
release() {
|
|
149
|
+
this.value = null;
|
|
150
|
+
}
|
|
151
|
+
toString() {
|
|
152
|
+
let label = `Ref ${this.id}`;
|
|
153
|
+
if (this.value === null) {
|
|
154
|
+
return `${label} (released)`;
|
|
155
|
+
} else {
|
|
156
|
+
try {
|
|
157
|
+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
158
|
+
return `${label}: ${this.value}`;
|
|
159
|
+
} catch {
|
|
160
|
+
return label;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
158
164
|
}
|
|
165
|
+
class DebugRenderTreeImpl {
|
|
166
|
+
stack = new StackImpl();
|
|
167
|
+
refs = new WeakMap();
|
|
168
|
+
roots = new Set();
|
|
169
|
+
nodes = new WeakMap();
|
|
170
|
+
begin() {
|
|
171
|
+
this.reset();
|
|
172
|
+
}
|
|
173
|
+
create(state, node) {
|
|
174
|
+
let internalNode = assign({}, node, {
|
|
175
|
+
bounds: null,
|
|
176
|
+
refs: new Set()
|
|
177
|
+
});
|
|
178
|
+
this.nodes.set(state, internalNode);
|
|
179
|
+
this.appendChild(internalNode, state);
|
|
180
|
+
this.enter(state);
|
|
181
|
+
}
|
|
182
|
+
update(state) {
|
|
183
|
+
this.enter(state);
|
|
184
|
+
}
|
|
185
|
+
didRender(state, bounds) {
|
|
186
|
+
this.nodeFor(state).bounds = bounds;
|
|
187
|
+
this.exit();
|
|
188
|
+
}
|
|
189
|
+
willDestroy(state) {
|
|
190
|
+
expect(this.refs.get(state)).release();
|
|
191
|
+
}
|
|
192
|
+
commit() {
|
|
193
|
+
this.reset();
|
|
194
|
+
}
|
|
195
|
+
capture() {
|
|
196
|
+
return this.captureRefs(this.roots);
|
|
197
|
+
}
|
|
198
|
+
reset() {
|
|
199
|
+
if (this.stack.size !== 0) {
|
|
200
|
+
// We probably encountered an error during the rendering loop. This will
|
|
201
|
+
// likely trigger undefined behavior and memory leaks as the error left
|
|
202
|
+
// things in an inconsistent state. It is recommended that the user
|
|
203
|
+
// refresh the page.
|
|
159
204
|
|
|
160
|
-
|
|
161
|
-
let definition = resolver?.lookupComponent?.(name, expect(owner)) ?? null;
|
|
205
|
+
// TODO: We could warn here? But this happens all the time in our tests?
|
|
162
206
|
|
|
163
|
-
|
|
164
|
-
|
|
207
|
+
// Clean up the root reference to prevent errors from happening if we
|
|
208
|
+
// attempt to capture the render tree (Ember Inspector may do this)
|
|
209
|
+
let root = expect(this.stack.toArray()[0]);
|
|
210
|
+
let ref = this.refs.get(root);
|
|
211
|
+
if (ref !== undefined) {
|
|
212
|
+
this.roots.delete(ref);
|
|
213
|
+
}
|
|
214
|
+
while (!this.stack.isEmpty()) {
|
|
215
|
+
this.stack.pop();
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
enter(state) {
|
|
220
|
+
this.stack.push(state);
|
|
221
|
+
}
|
|
222
|
+
exit() {
|
|
223
|
+
this.stack.pop();
|
|
224
|
+
}
|
|
225
|
+
nodeFor(state) {
|
|
226
|
+
return expect(this.nodes.get(state));
|
|
227
|
+
}
|
|
228
|
+
appendChild(node, state) {
|
|
229
|
+
let parent = this.stack.current;
|
|
230
|
+
let ref = new Ref(state);
|
|
231
|
+
this.refs.set(state, ref);
|
|
232
|
+
if (parent) {
|
|
233
|
+
let parentNode = this.nodeFor(parent);
|
|
234
|
+
parentNode.refs.add(ref);
|
|
235
|
+
node.parent = parentNode;
|
|
236
|
+
} else {
|
|
237
|
+
this.roots.add(ref);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
captureRefs(refs) {
|
|
241
|
+
let captured = [];
|
|
242
|
+
refs.forEach(ref => {
|
|
243
|
+
let state = ref.get();
|
|
244
|
+
if (state) {
|
|
245
|
+
captured.push(this.captureNode(`render-node:${ref.id}`, state));
|
|
246
|
+
} else {
|
|
247
|
+
refs.delete(ref);
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
return captured;
|
|
251
|
+
}
|
|
252
|
+
captureNode(id, state) {
|
|
253
|
+
let node = this.nodeFor(state);
|
|
254
|
+
let {
|
|
255
|
+
type,
|
|
256
|
+
name,
|
|
257
|
+
args,
|
|
258
|
+
instance,
|
|
259
|
+
refs
|
|
260
|
+
} = node;
|
|
261
|
+
let bounds = this.captureBounds(node);
|
|
262
|
+
let children = this.captureRefs(refs);
|
|
263
|
+
return {
|
|
264
|
+
id,
|
|
265
|
+
type,
|
|
266
|
+
name,
|
|
267
|
+
args: reifyArgsDebug(args),
|
|
268
|
+
instance,
|
|
269
|
+
bounds,
|
|
270
|
+
children
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
captureBounds(node) {
|
|
274
|
+
let bounds = expect(node.bounds);
|
|
275
|
+
let parentElement = bounds.parentElement();
|
|
276
|
+
let firstNode = bounds.firstNode();
|
|
277
|
+
let lastNode = bounds.lastNode();
|
|
278
|
+
return {
|
|
279
|
+
parentElement,
|
|
280
|
+
firstNode,
|
|
281
|
+
lastNode
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
function getDebugName(definition, manager = definition.manager) {
|
|
286
|
+
return definition.resolvedName ?? definition.debugName ?? manager.getDebugName(definition.state);
|
|
165
287
|
}
|
|
166
288
|
|
|
289
|
+
class AppendOpcodes {
|
|
290
|
+
// This code is intentionally putting unsafe `null`s into the array that it
|
|
291
|
+
// will intentionally overwrite before anyone can see them.
|
|
292
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
293
|
+
evaluateOpcode = new Array(VM_SYSCALL_SIZE).fill(null);
|
|
294
|
+
constructor() {
|
|
295
|
+
}
|
|
296
|
+
add(name, evaluate, kind = 'syscall') {
|
|
297
|
+
this.evaluateOpcode[name] = {
|
|
298
|
+
syscall: kind !== 'machine',
|
|
299
|
+
evaluate
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
evaluate(vm, opcode, type) {
|
|
303
|
+
let operation = unwrap(this.evaluateOpcode[type]);
|
|
304
|
+
if (operation.syscall) {
|
|
305
|
+
assert(!opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
306
|
+
operation.evaluate(vm, opcode);
|
|
307
|
+
} else {
|
|
308
|
+
assert(opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
309
|
+
operation.evaluate(vm.lowlevel, opcode);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
function externs(vm) {
|
|
314
|
+
return undefined;
|
|
315
|
+
}
|
|
316
|
+
const APPEND_OPCODES = new AppendOpcodes();
|
|
317
|
+
|
|
167
318
|
function createClassListRef(list) {
|
|
168
319
|
return createComputeRef(() => {
|
|
169
320
|
let ret = [];
|
|
@@ -1895,155 +2046,4 @@ const EMPTY_NAMED = Object.freeze(Object.create(null));
|
|
|
1895
2046
|
const EMPTY_POSITIONAL = EMPTY_REFERENCES;
|
|
1896
2047
|
const EMPTY_ARGS = createCapturedArgs(EMPTY_NAMED, EMPTY_POSITIONAL);
|
|
1897
2048
|
|
|
1898
|
-
|
|
1899
|
-
class Ref {
|
|
1900
|
-
id = GUID++;
|
|
1901
|
-
value;
|
|
1902
|
-
constructor(value) {
|
|
1903
|
-
this.value = value;
|
|
1904
|
-
}
|
|
1905
|
-
get() {
|
|
1906
|
-
return this.value;
|
|
1907
|
-
}
|
|
1908
|
-
release() {
|
|
1909
|
-
this.value = null;
|
|
1910
|
-
}
|
|
1911
|
-
toString() {
|
|
1912
|
-
let label = `Ref ${this.id}`;
|
|
1913
|
-
if (this.value === null) {
|
|
1914
|
-
return `${label} (released)`;
|
|
1915
|
-
} else {
|
|
1916
|
-
try {
|
|
1917
|
-
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
1918
|
-
return `${label}: ${this.value}`;
|
|
1919
|
-
} catch {
|
|
1920
|
-
return label;
|
|
1921
|
-
}
|
|
1922
|
-
}
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
class DebugRenderTreeImpl {
|
|
1926
|
-
stack = new StackImpl();
|
|
1927
|
-
refs = new WeakMap();
|
|
1928
|
-
roots = new Set();
|
|
1929
|
-
nodes = new WeakMap();
|
|
1930
|
-
begin() {
|
|
1931
|
-
this.reset();
|
|
1932
|
-
}
|
|
1933
|
-
create(state, node) {
|
|
1934
|
-
let internalNode = assign({}, node, {
|
|
1935
|
-
bounds: null,
|
|
1936
|
-
refs: new Set()
|
|
1937
|
-
});
|
|
1938
|
-
this.nodes.set(state, internalNode);
|
|
1939
|
-
this.appendChild(internalNode, state);
|
|
1940
|
-
this.enter(state);
|
|
1941
|
-
}
|
|
1942
|
-
update(state) {
|
|
1943
|
-
this.enter(state);
|
|
1944
|
-
}
|
|
1945
|
-
didRender(state, bounds) {
|
|
1946
|
-
this.nodeFor(state).bounds = bounds;
|
|
1947
|
-
this.exit();
|
|
1948
|
-
}
|
|
1949
|
-
willDestroy(state) {
|
|
1950
|
-
expect(this.refs.get(state)).release();
|
|
1951
|
-
}
|
|
1952
|
-
commit() {
|
|
1953
|
-
this.reset();
|
|
1954
|
-
}
|
|
1955
|
-
capture() {
|
|
1956
|
-
return this.captureRefs(this.roots);
|
|
1957
|
-
}
|
|
1958
|
-
reset() {
|
|
1959
|
-
if (this.stack.size !== 0) {
|
|
1960
|
-
// We probably encountered an error during the rendering loop. This will
|
|
1961
|
-
// likely trigger undefined behavior and memory leaks as the error left
|
|
1962
|
-
// things in an inconsistent state. It is recommended that the user
|
|
1963
|
-
// refresh the page.
|
|
1964
|
-
|
|
1965
|
-
// TODO: We could warn here? But this happens all the time in our tests?
|
|
1966
|
-
|
|
1967
|
-
// Clean up the root reference to prevent errors from happening if we
|
|
1968
|
-
// attempt to capture the render tree (Ember Inspector may do this)
|
|
1969
|
-
let root = expect(this.stack.toArray()[0]);
|
|
1970
|
-
let ref = this.refs.get(root);
|
|
1971
|
-
if (ref !== undefined) {
|
|
1972
|
-
this.roots.delete(ref);
|
|
1973
|
-
}
|
|
1974
|
-
while (!this.stack.isEmpty()) {
|
|
1975
|
-
this.stack.pop();
|
|
1976
|
-
}
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
enter(state) {
|
|
1980
|
-
this.stack.push(state);
|
|
1981
|
-
}
|
|
1982
|
-
exit() {
|
|
1983
|
-
this.stack.pop();
|
|
1984
|
-
}
|
|
1985
|
-
nodeFor(state) {
|
|
1986
|
-
return expect(this.nodes.get(state));
|
|
1987
|
-
}
|
|
1988
|
-
appendChild(node, state) {
|
|
1989
|
-
let parent = this.stack.current;
|
|
1990
|
-
let ref = new Ref(state);
|
|
1991
|
-
this.refs.set(state, ref);
|
|
1992
|
-
if (parent) {
|
|
1993
|
-
let parentNode = this.nodeFor(parent);
|
|
1994
|
-
parentNode.refs.add(ref);
|
|
1995
|
-
node.parent = parentNode;
|
|
1996
|
-
} else {
|
|
1997
|
-
this.roots.add(ref);
|
|
1998
|
-
}
|
|
1999
|
-
}
|
|
2000
|
-
captureRefs(refs) {
|
|
2001
|
-
let captured = [];
|
|
2002
|
-
refs.forEach(ref => {
|
|
2003
|
-
let state = ref.get();
|
|
2004
|
-
if (state) {
|
|
2005
|
-
captured.push(this.captureNode(`render-node:${ref.id}`, state));
|
|
2006
|
-
} else {
|
|
2007
|
-
refs.delete(ref);
|
|
2008
|
-
}
|
|
2009
|
-
});
|
|
2010
|
-
return captured;
|
|
2011
|
-
}
|
|
2012
|
-
captureNode(id, state) {
|
|
2013
|
-
let node = this.nodeFor(state);
|
|
2014
|
-
let {
|
|
2015
|
-
type,
|
|
2016
|
-
name,
|
|
2017
|
-
args,
|
|
2018
|
-
instance,
|
|
2019
|
-
refs
|
|
2020
|
-
} = node;
|
|
2021
|
-
let bounds = this.captureBounds(node);
|
|
2022
|
-
let children = this.captureRefs(refs);
|
|
2023
|
-
return {
|
|
2024
|
-
id,
|
|
2025
|
-
type,
|
|
2026
|
-
name,
|
|
2027
|
-
args: reifyArgsDebug(args),
|
|
2028
|
-
instance,
|
|
2029
|
-
bounds,
|
|
2030
|
-
children
|
|
2031
|
-
};
|
|
2032
|
-
}
|
|
2033
|
-
captureBounds(node) {
|
|
2034
|
-
let bounds = expect(node.bounds);
|
|
2035
|
-
let parentElement = bounds.parentElement();
|
|
2036
|
-
let firstNode = bounds.firstNode();
|
|
2037
|
-
let lastNode = bounds.lastNode();
|
|
2038
|
-
return {
|
|
2039
|
-
parentElement,
|
|
2040
|
-
firstNode,
|
|
2041
|
-
lastNode
|
|
2042
|
-
};
|
|
2043
|
-
}
|
|
2044
|
-
}
|
|
2045
|
-
function getDebugName(definition, manager = definition.manager) {
|
|
2046
|
-
return definition.resolvedName ?? definition.debugName ?? manager.getDebugName(definition.state);
|
|
2047
|
-
}
|
|
2048
|
-
|
|
2049
|
-
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, check as e, createCapturedArgs as f, curry as g, externs as h, isArgumentError as i, isCurriedType as j, reifyNamed as k, reifyPositional as l, resolveCurriedValue as m, reifyArgs as r };
|
|
2049
|
+
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, check as g, isCurriedType as h, isArgumentError as i, resolveCurriedValue as j, AssertFilter as k, externs as l, EndTrackFrameOpcode as m, reifyArgs as r };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { peekMeta } from '../@ember/-internals/meta/lib/meta.js';
|
|
2
|
-
import { s as sendEvent, a as addListener, r as removeListener } from './events-
|
|
3
|
-
import { n as notifyPropertyChange } from './computed-
|
|
2
|
+
import { s as sendEvent, a as addListener, r as removeListener } from './events-DYrYz3V8.js';
|
|
3
|
+
import { n as notifyPropertyChange } from './computed-DtIStxvq.js';
|
|
4
4
|
|
|
5
5
|
function arrayContentWillChange(array, startIdx, removeAmt, addAmt) {
|
|
6
6
|
// if no args are passed assume everything changes
|
|
@@ -113,4 +113,4 @@ function removeArrayObserver(array, target, opts) {
|
|
|
113
113
|
return arrayObserversHelper(array, target, opts, removeListener);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
export {
|
|
116
|
+
export { arrayContentWillChange as a, arrayContentDidChange as b, addArrayObserver as c, removeArrayObserver as d, replaceInNativeArray as e, replace as r };
|
package/dist/prod/packages/shared-chunks/{array-utils-BEaSKdEb.js → array-utils-CZQxrdD3.js}
RENAMED
|
@@ -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 };
|
|
@@ -27,7 +27,6 @@ const CONSTANT_TAG_ID = 3;
|
|
|
27
27
|
//////////
|
|
28
28
|
|
|
29
29
|
const COMPUTE = Symbol('TAG_COMPUTE');
|
|
30
|
-
Reflect.set(globalThis, 'COMPUTE_SYMBOL', COMPUTE);
|
|
31
30
|
|
|
32
31
|
//////////
|
|
33
32
|
|
|
@@ -368,4 +367,4 @@ function untrack(callback) {
|
|
|
368
367
|
}
|
|
369
368
|
}
|
|
370
369
|
|
|
371
|
-
export { ALLOW_CYCLES as A,
|
|
370
|
+
export { ALLOW_CYCLES as A, 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, combine as d, createCache as e, isTracking as f, getValue as g, COMPUTE as h, isConst 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, isConstTag as x, resetTracking as y };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { peekMeta, meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
2
2
|
import { i as isObject } from './spec-BXl1reqK.js';
|
|
3
|
-
import {
|
|
4
|
-
import { t as tagFor, d as dirtyTagFor, a as tagMetaFor } from './meta-
|
|
5
|
-
import { g as getCustomTagFor } from './args-proxy-
|
|
3
|
+
import { C as CONSTANT_TAG, d as combine, v as validateTag, b as createUpdatableTag, U as UPDATE_TAG } from './cache-CofLhaS4.js';
|
|
4
|
+
import { t as tagFor, d as dirtyTagFor, a as tagMetaFor } from './meta-BJtIZDir.js';
|
|
5
|
+
import { g as getCustomTagFor } from './args-proxy-CCoFtYLS.js';
|
|
6
6
|
|
|
7
7
|
function objectAt(array, index) {
|
|
8
8
|
if (Array.isArray(array)) {
|
|
@@ -175,4 +175,4 @@ function getChainTags(chainTags, obj, path, tagMeta, meta$1) {
|
|
|
175
175
|
return chainTags;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
export { CHAIN_PASS_THROUGH as C, SELF_TAG as S,
|
|
178
|
+
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 };
|
package/dist/prod/packages/shared-chunks/{collections-By4M3cTy.js → collections-GpG8lT2g.js}
RENAMED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
function unwrap(val) {
|
|
2
|
+
return val;
|
|
3
|
+
}
|
|
4
|
+
function expect(val, message) {
|
|
5
|
+
return val;
|
|
6
|
+
}
|
|
7
|
+
function exhausted(value) {
|
|
8
|
+
}
|
|
9
|
+
|
|
1
10
|
function isPresentArray(list) {
|
|
2
11
|
return list ? list.length > 0 : false;
|
|
3
12
|
}
|
|
@@ -21,15 +30,6 @@ function mapPresentArray(list, mapper) {
|
|
|
21
30
|
return out;
|
|
22
31
|
}
|
|
23
32
|
|
|
24
|
-
function unwrap(val) {
|
|
25
|
-
return val;
|
|
26
|
-
}
|
|
27
|
-
function expect(val, message) {
|
|
28
|
-
return val;
|
|
29
|
-
}
|
|
30
|
-
function exhausted(value) {
|
|
31
|
-
}
|
|
32
|
-
|
|
33
33
|
function dict() {
|
|
34
34
|
return Object.create(null);
|
|
35
35
|
}
|
|
@@ -72,4 +72,4 @@ class StackImpl {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export { StackImpl as S,
|
|
75
|
+
export { StackImpl as S, isPresentArray as a, getLast as b, isIndexable as c, dict as d, expect as e, asPresentArray as f, getFirst as g, exhausted as h, isDict as i, mapPresentArray as m, unwrap as u };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as isPresentArray, g as getFirst, b as getLast, u as unwrap, f as asPresentArray, e as expect, d as dict, m as mapPresentArray, h as exhausted } from './collections-GpG8lT2g.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 { o as opcodes } from './opcodes-CplRyHl_.js';
|
|
7
|
-
import {
|
|
7
|
+
import { C as CURRIED_MODIFIER, b as CURRIED_HELPER, a as CURRIED_COMPONENT } from './curried-BZnYakIg.js';
|
|
8
8
|
import { a as WellKnownTagNames, W as WellKnownAttrNames } from './well-known-_EVO9RaV.js';
|
|
9
9
|
|
|
10
10
|
const Char = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { meta, peekMeta } from '../@ember/-internals/meta/lib/meta.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { d as descriptorForProperty, a as isClassicDecorator, c as ComputedDescriptor, i as isElementDescriptor, m as makeComputedDecorator, b as descriptorForDecorator } from './decorator-9ikVwsjY.js';
|
|
3
|
+
import { c as revalidateObservers, d as flushSyncObservers, e as resumeObserverDeactivation, s as suspendedObserverDeactivation, b as addObserver, g as setObserverSuspended } from './observers-BmobpXAF.js';
|
|
4
4
|
import inspect from '../@ember/debug/lib/inspect.js';
|
|
5
|
-
import {
|
|
6
|
-
import { a as tagMetaFor, t as tagFor } from './meta-
|
|
7
|
-
import { m as markObjectAsDirty,
|
|
5
|
+
import { v as validateTag, u as untrack, U as UPDATE_TAG, a as valueForTag, c as consumeTag, A as ALLOW_CYCLES, t as track } from './cache-CofLhaS4.js';
|
|
6
|
+
import { a as tagMetaFor, t as tagFor } from './meta-BJtIZDir.js';
|
|
7
|
+
import { m as markObjectAsDirty, b as getChainTagsForKeys, f as finishLazyChains } from './chain-tags-B2J7DsxO.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
@module @ember/object
|
|
@@ -936,4 +936,4 @@ function isComputed(obj, key) {
|
|
|
936
936
|
return Boolean(descriptorForProperty(obj, key));
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
-
export { ComputedProperty as C, PROPERTY_DID_CHANGE as P,
|
|
939
|
+
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 };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { getOwner, setOwner } from '../@ember/-internals/owner/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { g as guidFor } from './guid-Cbq2sNV_.js';
|
|
3
3
|
import { getViewElement, clearElementView, clearViewElement, addChildView, setViewElement, setElementView } from '../@ember/-internals/views/lib/system/utils.js';
|
|
4
4
|
import { _instrumentStart } from '../@ember/instrumentation/index.js';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { E as EMPTY_ARRAY } from './array-utils-
|
|
8
|
-
import {
|
|
9
|
-
import { g as get } from './property_get-
|
|
5
|
+
import { c as createComputeRef, v as valueForRef, e as createPrimitiveRef, f as childRefFor, g as childRefFromParts, a as createConstRef, b as isUpdatableRef, u as updateRef } from './reference-CG0yPgLy.js';
|
|
6
|
+
import { f as reifyPositional } from './arguments-BzAkZVBa.js';
|
|
7
|
+
import { E as EMPTY_ARRAY } from './array-utils-CZQxrdD3.js';
|
|
8
|
+
import { a as valueForTag, p as beginUntrackFrame, w as endUntrackFrame, o as beginTrackFrame, s as endTrackFrame, c as consumeTag, v as validateTag } from './cache-CofLhaS4.js';
|
|
9
|
+
import { g as get } from './property_get-DAKgbeJX.js';
|
|
10
10
|
import { dasherize } from '../@ember/-internals/string/index.js';
|
|
11
11
|
import { registerDestructor } from '../@glimmer/destroyable/index.js';
|
|
12
12
|
import { MUTABLE_CELL } from '../@ember/-internals/views/lib/compat/attrs.js';
|
|
13
|
+
import { C as CURLY_MANAGER_BRAND } from './curly-brand-B_F79Dep.js';
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* @deprecated
|
|
@@ -228,6 +229,7 @@ function applyAttributeBindings(attributeBindings, component, rootRef, operation
|
|
|
228
229
|
}
|
|
229
230
|
}
|
|
230
231
|
class CurlyComponentManager {
|
|
232
|
+
[CURLY_MANAGER_BRAND] = true;
|
|
231
233
|
templateFor(component) {
|
|
232
234
|
let {
|
|
233
235
|
layout,
|
|
@@ -537,9 +539,6 @@ const CURLY_CAPABILITIES = {
|
|
|
537
539
|
willDestroy: true,
|
|
538
540
|
hasSubOwner: false
|
|
539
541
|
};
|
|
540
|
-
const CURLY_COMPONENT_MANAGER = new CurlyComponentManager();
|
|
541
|
-
function isCurlyManager(manager) {
|
|
542
|
-
return manager === CURLY_COMPONENT_MANAGER;
|
|
543
|
-
}
|
|
542
|
+
const CURLY_COMPONENT_MANAGER = /*@__PURE__*/new CurlyComponentManager();
|
|
544
543
|
|
|
545
|
-
export { BOUNDS as B,
|
|
544
|
+
export { BOUNDS as B, CurlyComponentManager as C, DIRTY_TAG as D, IS_DISPATCHING_ATTRS as I, ComponentStateBucket as a, CURLY_COMPONENT_MANAGER as b, getComponentCapturedArgs as g, initialRenderInstrumentDetails as i, unwrapTemplate as u };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The brand for the curly component manager lives in its own module so that
|
|
3
|
+
* code which only needs to *detect* the curly manager (e.g. the resolver)
|
|
4
|
+
* does not have to import the manager itself (and with it the classic
|
|
5
|
+
* component machinery).
|
|
6
|
+
*/
|
|
7
|
+
const CURLY_MANAGER_BRAND = Symbol('CURLY_MANAGER_BRAND');
|
|
8
|
+
function isCurlyManager(manager) {
|
|
9
|
+
return manager[CURLY_MANAGER_BRAND] === true;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { CURLY_MANAGER_BRAND as C, isCurlyManager as i };
|
|
@@ -119,4 +119,4 @@ function setClassicDecorator(dec, value = true) {
|
|
|
119
119
|
DECORATOR_DESCRIPTOR_MAP.set(dec, value);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
export { COMPUTED_SETTERS as C,
|
|
122
|
+
export { COMPUTED_SETTERS as C, isClassicDecorator as a, descriptorForDecorator as b, ComputedDescriptor as c, descriptorForProperty as d, isElementDescriptor as i, makeComputedDecorator as m, nativeDescDecorator as n, setClassicDecorator as s };
|