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
|
@@ -1 +1,321 @@
|
|
|
1
|
-
|
|
1
|
+
import { setOwner } from '../-internals/owner/index.js';
|
|
2
|
+
import { FrameworkObject } from '../object/-internals.js';
|
|
3
|
+
import { g as getDebugName } from '../../shared-chunks/get-debug-name-CSniHBsn.js';
|
|
4
|
+
import '../debug/index.js';
|
|
5
|
+
import { join } from '../runloop/index.js';
|
|
6
|
+
import { i as helperCapabilities } from '../../shared-chunks/api-DuLOZMO_.js';
|
|
7
|
+
import { b as setHelperManager } from '../../shared-chunks/api-BlZDPg1n.js';
|
|
8
|
+
import { r as createTag, D as DIRTY_TAG, c as consumeTag } from '../../shared-chunks/cache-DGDPVCpC.js';
|
|
9
|
+
import { I as IS_CLASSIC_HELPER } from '../../shared-chunks/helper-brand-C9_8vvOf.js';
|
|
10
|
+
import { assert } from '../debug/lib/assert.js';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
@module @ember/component
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
const RECOMPUTE_TAG = Symbol('RECOMPUTE_TAG');
|
|
17
|
+
|
|
18
|
+
// Signature type utilities
|
|
19
|
+
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
21
|
+
|
|
22
|
+
// Implements Ember's `Factory` interface and tags it for narrowing/checking.
|
|
23
|
+
|
|
24
|
+
// A zero-runtime-overhead private symbol to use in branding the component to
|
|
25
|
+
// preserve its type parameter.
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
Ember Helpers are functions that can compute values, and are used in templates.
|
|
29
|
+
For example, this code calls a helper named `format-currency`:
|
|
30
|
+
|
|
31
|
+
```app/templates/application.gjs
|
|
32
|
+
import Cost from '../components/cost';
|
|
33
|
+
|
|
34
|
+
<template>
|
|
35
|
+
<Cost @cents={{230}} />
|
|
36
|
+
</template>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
```app/components/cost.gjs
|
|
40
|
+
import formatCurrency from '../helpers/format-currency';
|
|
41
|
+
|
|
42
|
+
<template>
|
|
43
|
+
<div>{{formatCurrency @cents currency="$"}}</div>
|
|
44
|
+
</template>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Additionally a helper can be called as a nested helper.
|
|
48
|
+
In this example, we show the formatted currency value if the `showMoney`
|
|
49
|
+
named argument is truthy.
|
|
50
|
+
|
|
51
|
+
```gjs
|
|
52
|
+
import formatCurrency from '../helpers/format-currency';
|
|
53
|
+
|
|
54
|
+
<template>
|
|
55
|
+
{{if @showMoney (formatCurrency @cents currency="$")}}
|
|
56
|
+
</template>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Helpers defined using a class must provide a `compute` function. For example:
|
|
60
|
+
|
|
61
|
+
```app/helpers/format-currency.js
|
|
62
|
+
import Helper from '@ember/component/helper';
|
|
63
|
+
|
|
64
|
+
export default class extends Helper {
|
|
65
|
+
compute([cents], { currency }) {
|
|
66
|
+
return `${currency}${cents * 0.01}`;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Each time the input to a helper changes, the `compute` function will be
|
|
72
|
+
called again.
|
|
73
|
+
|
|
74
|
+
As instances, these helpers also have access to the container and will accept
|
|
75
|
+
injected dependencies.
|
|
76
|
+
|
|
77
|
+
Additionally, class helpers can call `recompute` to force a new computation.
|
|
78
|
+
|
|
79
|
+
@class Helper
|
|
80
|
+
@extends CoreObject
|
|
81
|
+
@public
|
|
82
|
+
@since 1.13.0
|
|
83
|
+
*/
|
|
84
|
+
// ESLint doesn't understand declaration merging.
|
|
85
|
+
/* eslint-disable import/export */
|
|
86
|
+
|
|
87
|
+
class Helper extends FrameworkObject {
|
|
88
|
+
static isHelperFactory = true;
|
|
89
|
+
static [IS_CLASSIC_HELPER] = true;
|
|
90
|
+
|
|
91
|
+
// `packages/ember/index.js` was setting `Helper.helper`. This seems like
|
|
92
|
+
// a bad idea and probably not something we want. We've moved that definition
|
|
93
|
+
// here, but it should definitely be reviewed and probably removed.
|
|
94
|
+
/** @deprecated */
|
|
95
|
+
static helper = helper;
|
|
96
|
+
|
|
97
|
+
// SAFETY: this is initialized in `init`, rather than `constructor`. It is
|
|
98
|
+
// safe to `declare` like this *if and only if* nothing uses the constructor
|
|
99
|
+
// directly in this class, since nothing else can run before `init`.
|
|
100
|
+
|
|
101
|
+
// SAFETY: this has no runtime existence whatsoever; it is a "phantom type"
|
|
102
|
+
// here to preserve the type param.
|
|
103
|
+
|
|
104
|
+
init(properties) {
|
|
105
|
+
super.init(properties);
|
|
106
|
+
this[RECOMPUTE_TAG] = createTag();
|
|
107
|
+
(!(this.compute) && assert('expected compute to be defined', this.compute));
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
On a class-based helper, it may be useful to force a recomputation of that
|
|
112
|
+
helpers value. This is akin to `rerender` on a component.
|
|
113
|
+
In most cases, `recompute` is not needed because accessing tracked
|
|
114
|
+
properties in `compute` will automatically re-run the helper when
|
|
115
|
+
those properties change. Use `recompute` only when you need to
|
|
116
|
+
trigger a recomputation imperatively, for example in response to an
|
|
117
|
+
external event:
|
|
118
|
+
```app/helpers/current-time.js
|
|
119
|
+
import Helper from '@ember/component/helper';
|
|
120
|
+
export default class CurrentTimeHelper extends Helper {
|
|
121
|
+
interval = null;
|
|
122
|
+
compute() {
|
|
123
|
+
return new Date().toLocaleTimeString();
|
|
124
|
+
}
|
|
125
|
+
constructor() {
|
|
126
|
+
super(...arguments);
|
|
127
|
+
this.interval = setInterval(() => this.recompute(), 1000);
|
|
128
|
+
}
|
|
129
|
+
willDestroy() {
|
|
130
|
+
super.willDestroy();
|
|
131
|
+
clearInterval(this.interval);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
```
|
|
135
|
+
@method recompute
|
|
136
|
+
@public
|
|
137
|
+
@since 1.13.0
|
|
138
|
+
*/
|
|
139
|
+
recompute() {
|
|
140
|
+
join(() => DIRTY_TAG(this[RECOMPUTE_TAG]));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/* eslint-enable import/export */
|
|
144
|
+
|
|
145
|
+
class ClassicHelperManager {
|
|
146
|
+
capabilities = helperCapabilities('3.23', {
|
|
147
|
+
hasValue: true,
|
|
148
|
+
hasDestroyable: true
|
|
149
|
+
});
|
|
150
|
+
ownerInjection;
|
|
151
|
+
constructor(owner) {
|
|
152
|
+
let ownerInjection = {};
|
|
153
|
+
setOwner(ownerInjection, owner);
|
|
154
|
+
this.ownerInjection = ownerInjection;
|
|
155
|
+
}
|
|
156
|
+
createHelper(definition, args) {
|
|
157
|
+
let instance = isFactoryManager(definition) ? definition.create() : definition.create(this.ownerInjection);
|
|
158
|
+
(!(function (instance) {
|
|
159
|
+
if (instance !== null && typeof instance === 'object') {
|
|
160
|
+
let cast = instance;
|
|
161
|
+
return typeof cast.compute === 'function' && typeof cast.destroy === 'function';
|
|
162
|
+
}
|
|
163
|
+
return false;
|
|
164
|
+
}(instance)) && assert('expected HelperInstance', function (instance) {
|
|
165
|
+
if (instance !== null && typeof instance === 'object') {
|
|
166
|
+
let cast = instance;
|
|
167
|
+
return typeof cast.compute === 'function' && typeof cast.destroy === 'function';
|
|
168
|
+
}
|
|
169
|
+
return false;
|
|
170
|
+
}(instance)));
|
|
171
|
+
return {
|
|
172
|
+
instance,
|
|
173
|
+
args
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
getDestroyable({
|
|
177
|
+
instance
|
|
178
|
+
}) {
|
|
179
|
+
return instance;
|
|
180
|
+
}
|
|
181
|
+
getValue({
|
|
182
|
+
instance,
|
|
183
|
+
args
|
|
184
|
+
}) {
|
|
185
|
+
let {
|
|
186
|
+
positional,
|
|
187
|
+
named
|
|
188
|
+
} = args;
|
|
189
|
+
let ret = instance.compute(positional, named);
|
|
190
|
+
consumeTag(instance[RECOMPUTE_TAG]);
|
|
191
|
+
return ret;
|
|
192
|
+
}
|
|
193
|
+
getDebugName(definition) {
|
|
194
|
+
return getDebugName((definition.class || definition)['prototype']);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
function isFactoryManager(obj) {
|
|
198
|
+
return obj != null && 'class' in obj;
|
|
199
|
+
}
|
|
200
|
+
setHelperManager(owner => {
|
|
201
|
+
return new ClassicHelperManager(owner);
|
|
202
|
+
}, Helper);
|
|
203
|
+
|
|
204
|
+
///////////
|
|
205
|
+
|
|
206
|
+
class Wrapper {
|
|
207
|
+
isHelperFactory = true;
|
|
208
|
+
constructor(compute) {
|
|
209
|
+
this.compute = compute;
|
|
210
|
+
}
|
|
211
|
+
create() {
|
|
212
|
+
// needs new instance or will leak containers
|
|
213
|
+
return {
|
|
214
|
+
compute: this.compute
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
class SimpleClassicHelperManager {
|
|
219
|
+
capabilities = helperCapabilities('3.23', {
|
|
220
|
+
hasValue: true
|
|
221
|
+
});
|
|
222
|
+
createHelper(definition, args) {
|
|
223
|
+
return () => definition.compute.call(null, args.positional, args.named);
|
|
224
|
+
}
|
|
225
|
+
getValue(fn) {
|
|
226
|
+
return fn();
|
|
227
|
+
}
|
|
228
|
+
getDebugName(definition) {
|
|
229
|
+
return getDebugName(definition.compute);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
const SIMPLE_CLASSIC_HELPER_MANAGER = new SimpleClassicHelperManager();
|
|
233
|
+
setHelperManager(() => SIMPLE_CLASSIC_HELPER_MANAGER, Wrapper.prototype);
|
|
234
|
+
|
|
235
|
+
/*
|
|
236
|
+
Function-based helpers need to present with a constructor signature so that
|
|
237
|
+
type parameters can be preserved when `helper()` is passed a generic function
|
|
238
|
+
(this is particularly key for checking helper invocations with Glint).
|
|
239
|
+
Accordingly, we define an abstract class and declaration merge it with the
|
|
240
|
+
interface; this inherently provides an `abstract` constructor. Since it is
|
|
241
|
+
`abstract`, it is not callable, which is important since end users should not
|
|
242
|
+
be able to do `let myHelper = helper(someFn); new myHelper()`.
|
|
243
|
+
*/
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* The type of a function-based helper.
|
|
247
|
+
*
|
|
248
|
+
* @note This is *not* user-constructible: it is exported only so that the type
|
|
249
|
+
* returned by the `helper` function can be named (and indeed can be exported
|
|
250
|
+
* like `export default helper(...)` safely).
|
|
251
|
+
*/
|
|
252
|
+
// Making `FunctionBasedHelper` an alias this way allows callers to name it in
|
|
253
|
+
// terms meaningful to *them*, while preserving the type behavior described on
|
|
254
|
+
// the `abstract class FunctionBasedHelperInstance` below.
|
|
255
|
+
|
|
256
|
+
// This abstract class -- specifically, its `protected abstract __concrete__`
|
|
257
|
+
// member -- prevents subclasses from doing `class X extends helper(..)`, since
|
|
258
|
+
// that is an error at runtime. While it is rare that people would type that, it
|
|
259
|
+
// is not impossible and we use this to give them early signal via the types for
|
|
260
|
+
// a behavior which will break (and in a somewhat inscrutable way!) at runtime.
|
|
261
|
+
//
|
|
262
|
+
// This is needful because we lie about what this actually is for Glint's sake:
|
|
263
|
+
// a function-based helper returns a `Factory<SimpleHelper>`, which is designed
|
|
264
|
+
// to be "opaque" from a consumer's POV, i.e. not user-callable or constructible
|
|
265
|
+
// but only useable in a template (or via `invokeHelper()` which also treats it
|
|
266
|
+
// as a fully opaque `object` from a type POV). But Glint needs a `Helper<S>` to
|
|
267
|
+
// make it work the same way as class-based helpers. (Note that this does not
|
|
268
|
+
// hold for plain functions as helpers, which it can handle distinctly.) This
|
|
269
|
+
// signature thus makes it so that the item is usable *as* a `Helper` in Glint,
|
|
270
|
+
// but without letting end users treat it as a helper class instance.
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
In many cases it is not necessary to use the full `Helper` class.
|
|
274
|
+
The `helper` method create pure-function helpers without instances.
|
|
275
|
+
For example:
|
|
276
|
+
|
|
277
|
+
```app/helpers/format-currency.js
|
|
278
|
+
import { helper } from '@ember/component/helper';
|
|
279
|
+
|
|
280
|
+
export default helper(function([cents], {currency}) {
|
|
281
|
+
return `${currency}${cents * 0.01}`;
|
|
282
|
+
});
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
@static
|
|
286
|
+
@param {Function} helper The helper function
|
|
287
|
+
@method helper
|
|
288
|
+
@for @ember/component/helper
|
|
289
|
+
@public
|
|
290
|
+
@since 1.13.0
|
|
291
|
+
*/
|
|
292
|
+
// This overload allows users to write types directly on the callback passed to
|
|
293
|
+
// the `helper` function and infer the resulting type correctly.
|
|
294
|
+
|
|
295
|
+
// This overload allows users to provide a `Signature` type explicitly at the
|
|
296
|
+
// helper definition site, e.g. `helper<Sig>((pos, named) => {...})`. **Note:**
|
|
297
|
+
// this overload must appear second, since TS' inference engine will not
|
|
298
|
+
// correctly infer the type of `S` here from the types on the supplied callback.
|
|
299
|
+
|
|
300
|
+
function helper(helperFn) {
|
|
301
|
+
// SAFETY: this is completely lies, in two ways:
|
|
302
|
+
//
|
|
303
|
+
// 1. `Wrapper` is a `Factory<SimpleHelper<S>>`, but from the perspective of
|
|
304
|
+
// any external callers (i.e. Ember *users*), it is quite important that
|
|
305
|
+
// the `Factory` relationship be hidden, because it is not public API for
|
|
306
|
+
// an end user to call `.create()` on a helper created this way. Instead,
|
|
307
|
+
// we provide them an `abstract new` signature (which means it cannot be
|
|
308
|
+
// directly constructed by calling `new` on it) and which does not have the
|
|
309
|
+
// `.create()` signature on it anymore.
|
|
310
|
+
//
|
|
311
|
+
// 2. The produced type here ends up being a subtype of `Helper`, which is not
|
|
312
|
+
// strictly true. This is necessary for the sake of Glint, which provides
|
|
313
|
+
// its information by way of a "declaration merge" with `Helper<S>` in the
|
|
314
|
+
// case of items produced by `helper()`.
|
|
315
|
+
//
|
|
316
|
+
// Long-term, this entire construct can go away in favor of deprecating the
|
|
317
|
+
// `helper()` invocation in favor of using plain functions.
|
|
318
|
+
return new Wrapper(helperFn);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export { Helper as default, helper };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
export { g as getComponentTemplate, s as setComponentTemplate } from '../../shared-chunks/template-R_5UMHhb.js';
|
|
2
|
-
import {
|
|
3
|
-
import { g as get } from '../../shared-chunks/property_get-
|
|
4
|
-
import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-
|
|
2
|
+
import { d as descriptorForProperty, n as nativeDescDecorator } from '../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
3
|
+
import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
4
|
+
import { P as PROPERTY_DID_CHANGE } from '../../shared-chunks/computed-BPCtuOxQ.js';
|
|
5
5
|
import { getOwner } from '../-internals/owner/index.js';
|
|
6
6
|
import TargetActionSupport from '../-internals/runtime/lib/mixins/target_action_support.js';
|
|
7
7
|
import ActionSupport from '../-internals/views/lib/mixins/action_support.js';
|
|
8
8
|
import { getViewElement, getChildViews, addChildView } from '../-internals/views/lib/system/utils.js';
|
|
9
9
|
import CoreView from '../-internals/views/lib/views/core_view.js';
|
|
10
10
|
import EventDispatcher from '../-internals/views/lib/system/event_dispatcher.js';
|
|
11
|
-
import {
|
|
11
|
+
import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
|
|
12
12
|
import '../debug/index.js';
|
|
13
|
-
import { s as setInternalComponentManager } from '../../shared-chunks/api-
|
|
14
|
-
import {
|
|
13
|
+
import { s as setInternalComponentManager } from '../../shared-chunks/api-DuLOZMO_.js';
|
|
14
|
+
import { d as isUpdatableRef, u as updateRef } from '../../shared-chunks/reference-BqOLhKFy.js';
|
|
15
15
|
import { n as normalizeProperty } from '../../shared-chunks/props-fiqxqhAH.js';
|
|
16
|
-
import {
|
|
17
|
-
import { I as IS_DISPATCHING_ATTRS, D as DIRTY_TAG, B as BOUNDS, g as getComponentCapturedArgs,
|
|
18
|
-
import { h as hasDOM } from '../../shared-chunks/index-
|
|
16
|
+
import { r as createTag, D as DIRTY_TAG$1 } from '../../shared-chunks/cache-DGDPVCpC.js';
|
|
17
|
+
import { I as IS_DISPATCHING_ATTRS, D as DIRTY_TAG, B as BOUNDS, g as getComponentCapturedArgs, b as CURLY_COMPONENT_MANAGER } from '../../shared-chunks/curly-DGUCLOud.js';
|
|
18
|
+
import { h as hasDOM } from '../../shared-chunks/index-BGP1rw3B.js';
|
|
19
19
|
import { a as decorateMethodV2 } from '../../shared-chunks/runtime-CYyqkz5q-BOdRhmsS.js';
|
|
20
20
|
import { assert } from '../debug/lib/assert.js';
|
|
21
|
-
export { I as Input, T as Textarea } from '../../shared-chunks/textarea-
|
|
22
|
-
import { s as setComponentManager$1 } from '../../shared-chunks/api-
|
|
23
|
-
export { c as capabilities } from '../../shared-chunks/api-
|
|
21
|
+
export { I as Input, T as Textarea } from '../../shared-chunks/textarea-C4lYkaHj.js';
|
|
22
|
+
import { s as setComponentManager$1 } from '../../shared-chunks/api-BlZDPg1n.js';
|
|
23
|
+
export { c as capabilities } from '../../shared-chunks/api-BlZDPg1n.js';
|
|
24
24
|
import '../../@glimmer/destroyable/index.js';
|
|
25
25
|
import '../../@glimmer/global-context/index.js';
|
|
26
|
-
import '../../shared-chunks/capabilities-
|
|
26
|
+
import '../../shared-chunks/capabilities-CajW4QjE.js';
|
|
27
27
|
|
|
28
28
|
let lazyEventsProcessed = new WeakMap();
|
|
29
29
|
const EMPTY_ARRAY = Object.freeze([]);
|
|
@@ -73,6 +73,12 @@ function matches(el, selector) {
|
|
|
73
73
|
API documentation for Template-only or Glimmer components, it is [available
|
|
74
74
|
here](/ember/release/modules/@glimmer%2Fcomponent).
|
|
75
75
|
|
|
76
|
+
Note: Prior to Ember 6.8, by default, components were authored in paired `.hbs` and `.js`
|
|
77
|
+
files. This is still supported, but the default authoring format is now `.gjs` or "template tag".
|
|
78
|
+
The documentation for `@ember/component` still refers to the older authoring format. To read about
|
|
79
|
+
the new authoring format, see the
|
|
80
|
+
[Glimmer Component API documentation](/ember/release/modules/@glimmer%2Fcomponent).
|
|
81
|
+
|
|
76
82
|
## Defining a Classic Component
|
|
77
83
|
|
|
78
84
|
If you want to customize the component in order to handle events, transform
|
|
@@ -99,7 +105,7 @@ function matches(el, selector) {
|
|
|
99
105
|
|
|
100
106
|
And then use it in the component's template:
|
|
101
107
|
|
|
102
|
-
```app/
|
|
108
|
+
```app/components/person-profile.hbs
|
|
103
109
|
<h1>{{this.displayName}}</h1>
|
|
104
110
|
{{yield}}
|
|
105
111
|
```
|
|
@@ -487,7 +493,7 @@ function matches(el, selector) {
|
|
|
487
493
|
The `layout` property should be set to the default export of a template
|
|
488
494
|
module, which is the name of a template file without the `.hbs` extension.
|
|
489
495
|
|
|
490
|
-
```app/
|
|
496
|
+
```app/components/person-profile.hbs
|
|
491
497
|
<h1>Person's Title</h1>
|
|
492
498
|
<div class='details'>{{yield}}</div>
|
|
493
499
|
```
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getOwner } from '../-internals/owner/index.js';
|
|
2
|
-
import {
|
|
3
|
-
import { g as get } from '../../shared-chunks/property_get-
|
|
2
|
+
import { c as computed } from '../../shared-chunks/computed-BPCtuOxQ.js';
|
|
3
|
+
import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
4
4
|
import { FrameworkObject } from '../object/-internals.js';
|
|
5
|
-
import { i as inject$1 } from '../../shared-chunks/injected_property-
|
|
5
|
+
import { i as inject$1 } from '../../shared-chunks/injected_property-CbBLr5jt.js';
|
|
6
6
|
import Mixin from '../object/mixin.js';
|
|
7
7
|
import ActionHandler from '../-internals/runtime/lib/mixins/action_handler.js';
|
|
8
8
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { getOwner } from '../-internals/owner/index.js';
|
|
2
2
|
import { _backburner, next } from '../runloop/index.js';
|
|
3
|
-
import { g as get } from '../../shared-chunks/property_get-
|
|
3
|
+
import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
4
4
|
import { dasherize } from '../-internals/string/index.js';
|
|
5
5
|
import Namespace from '../application/namespace.js';
|
|
6
6
|
import EmberObject from '../object/index.js';
|
|
7
7
|
import { A } from '../array/index.js';
|
|
8
|
-
import {
|
|
9
|
-
import { t as tagFor } from '../../shared-chunks/meta-
|
|
8
|
+
import { g as createCache, c as consumeTag, u as untrack, h as getValue } from '../../shared-chunks/cache-DGDPVCpC.js';
|
|
9
|
+
import { t as tagFor } from '../../shared-chunks/meta-BqC7f9Ia.js';
|
|
10
10
|
import './index.js';
|
|
11
11
|
import { assert } from './lib/assert.js';
|
|
12
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as isFirefox, a as isChrome } from '../../shared-chunks/index-BGP1rw3B.js';
|
|
2
2
|
import { E as ENV } from '../../shared-chunks/env-g-kaAFLN.js';
|
|
3
3
|
import defaultDeprecate from './lib/deprecate.js';
|
|
4
4
|
export { registerHandler as registerDeprecationHandler } from './lib/deprecate.js';
|
|
@@ -6,14 +6,14 @@ import { Registry } from '../-internals/container/index.js';
|
|
|
6
6
|
import DAG from '../../dag-map/index.js';
|
|
7
7
|
import '../debug/index.js';
|
|
8
8
|
import ContainerDebugAdapter from '../debug/container-debug-adapter.js';
|
|
9
|
-
import { g as get } from '../../shared-chunks/property_get-
|
|
10
|
-
import { s as set } from '../../shared-chunks/property_set-
|
|
9
|
+
import { g as get } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
10
|
+
import { s as set } from '../../shared-chunks/property_set-qCUylPEK.js';
|
|
11
11
|
import EngineInstance from './instance.js';
|
|
12
12
|
import '../../route-recognizer/index.js';
|
|
13
|
-
import '../../shared-chunks/rsvp-
|
|
14
|
-
import '../../shared-chunks/unrecognized-url-error-
|
|
13
|
+
import '../../shared-chunks/rsvp.es-DR7yS7qg.js';
|
|
14
|
+
import '../../shared-chunks/unrecognized-url-error-B8loxkay.js';
|
|
15
15
|
import RoutingService from '../routing/lib/routing-service.js';
|
|
16
|
-
import {
|
|
16
|
+
import { b as setupEngineRegistry } from '../../shared-chunks/setup-registry-BHdDJATP.js';
|
|
17
17
|
import RegistryProxyMixin from '../-internals/runtime/lib/mixins/registry_proxy.js';
|
|
18
18
|
import { StrictResolver } from './lib/strict-resolver.js';
|
|
19
19
|
import { assert } from '../debug/lib/assert.js';
|
|
@@ -2,13 +2,13 @@ import EmberObject from '../object/index.js';
|
|
|
2
2
|
import '../-internals/runtime/lib/ext/rsvp.js';
|
|
3
3
|
import '../debug/index.js';
|
|
4
4
|
import { Registry, privatize } from '../-internals/container/index.js';
|
|
5
|
-
import {
|
|
5
|
+
import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
|
|
6
6
|
import { ENGINE_PARENT, getEngineParent, setEngineParent } from './lib/engine-parent.js';
|
|
7
7
|
import ContainerProxyMixin from '../-internals/runtime/lib/mixins/container_proxy.js';
|
|
8
8
|
import RegistryProxyMixin from '../-internals/runtime/lib/mixins/registry_proxy.js';
|
|
9
9
|
import { isFactory } from '../-internals/owner/index.js';
|
|
10
10
|
import { assert } from '../debug/lib/assert.js';
|
|
11
|
-
import { R as RSVP } from '../../shared-chunks/rsvp-
|
|
11
|
+
import { R as RSVP } from '../../shared-chunks/rsvp.es-DR7yS7qg.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
@module @ember/engine
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as setHelperManager$1 } from '../../shared-chunks/api-
|
|
2
|
-
import { i as helperCapabilities } from '../../shared-chunks/api-
|
|
3
|
-
import { i as invokeHelper$1 } from '../../shared-chunks/invoke-
|
|
4
|
-
import { a as array$1, f as fn$1, h as hash$1 } from '../../shared-chunks/hash-
|
|
5
|
-
import { c as concat$1, g as get$1 } from '../../shared-chunks/get-
|
|
6
|
-
import { a as and$1, e as eq$1, g as gt$1, b as gte$1, l as lt$1, c as lte$1, n as neq$1, d as not$1, o as or$1 } from '../../shared-chunks/
|
|
7
|
-
import { e as element$1 } from '../../shared-chunks/element-
|
|
8
|
-
import { u as uniqueId$1 } from '../../shared-chunks/unique-id-
|
|
1
|
+
import { b as setHelperManager$1 } from '../../shared-chunks/api-BlZDPg1n.js';
|
|
2
|
+
import { i as helperCapabilities } from '../../shared-chunks/api-DuLOZMO_.js';
|
|
3
|
+
import { i as invokeHelper$1 } from '../../shared-chunks/invoke-d9sqa50M.js';
|
|
4
|
+
import { a as array$1, f as fn$1, h as hash$1 } from '../../shared-chunks/hash-6NDs_5_f.js';
|
|
5
|
+
import { c as concat$1, g as get$1 } from '../../shared-chunks/get-6I3sjd-I.js';
|
|
6
|
+
import { a as and$1, e as eq$1, g as gt$1, b as gte$1, l as lt$1, c as lte$1, n as neq$1, d as not$1, o as or$1 } from '../../shared-chunks/not-DYh6AY9Z.js';
|
|
7
|
+
import { e as element$1 } from '../../shared-chunks/element-BYLB-q7a.js';
|
|
8
|
+
import { u as uniqueId$1 } from '../../shared-chunks/unique-id-DQOhouG1.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
@module @ember/helper
|
|
@@ -336,18 +336,12 @@ const invokeHelper = invokeHelper$1;
|
|
|
336
336
|
* as an argument to your components.
|
|
337
337
|
*
|
|
338
338
|
* ```
|
|
339
|
-
* import { hash } from '@ember/helper';
|
|
340
|
-
*
|
|
341
339
|
* <template>
|
|
342
340
|
* {{#each-in (hash givenName='Jen' familyName='Weber') as |key value|}}
|
|
343
341
|
* <p>{{key}}: {{value}}</p>
|
|
344
342
|
* {{/each-in}}
|
|
345
343
|
* </template>
|
|
346
344
|
* ```
|
|
347
|
-
*
|
|
348
|
-
* **NOTE:** this example uses the experimental `<template>` feature, which is
|
|
349
|
-
* the only place you need to import `hash` to use it (it is a built-in when
|
|
350
|
-
* writing standalone `.hbs` files).
|
|
351
345
|
*/
|
|
352
346
|
const hash = hash$1;
|
|
353
347
|
/**
|
|
@@ -355,7 +349,6 @@ const hash = hash$1;
|
|
|
355
349
|
* as an argument to your components.
|
|
356
350
|
*
|
|
357
351
|
* ```js
|
|
358
|
-
* import { array } from '@ember/helper';
|
|
359
352
|
*
|
|
360
353
|
* <template>
|
|
361
354
|
* <ul>
|
|
@@ -364,10 +357,6 @@ const hash = hash$1;
|
|
|
364
357
|
* {{/each}}
|
|
365
358
|
* </ul>
|
|
366
359
|
* </template>
|
|
367
|
-
*
|
|
368
|
-
* **NOTE:** this example uses the experimental `<template>` feature, which is
|
|
369
|
-
* the only place you need to import `array` to use it (it is a built-in when
|
|
370
|
-
* writing standalone `.hbs` files).
|
|
371
360
|
* ```
|
|
372
361
|
*/
|
|
373
362
|
const array = array$1;
|
|
@@ -388,10 +377,6 @@ const array = array$1;
|
|
|
388
377
|
*
|
|
389
378
|
* This will display the result of `@foo.item1` when `index` is `1`, and
|
|
390
379
|
* `this.foo.item2` when `index` is `2`, etc.
|
|
391
|
-
*
|
|
392
|
-
* **NOTE:** this example uses the experimental `<template>` feature, which is
|
|
393
|
-
* the only place you need to import `concat` to use it (it is a built-in when
|
|
394
|
-
* writing standalone `.hbs` files).
|
|
395
380
|
*/
|
|
396
381
|
const concat = concat$1;
|
|
397
382
|
/**
|
|
@@ -431,10 +416,6 @@ const concat = concat$1;
|
|
|
431
416
|
*
|
|
432
417
|
* This will display the result of `@foo.item1` when `index` is `1`, and
|
|
433
418
|
* `this.foo.item2` when `index` is `2`, etc.
|
|
434
|
-
*
|
|
435
|
-
* **NOTE:** this example uses the experimental `<template>` feature, which is
|
|
436
|
-
* the only place you need to import `concat` to use it (it is a built-in when
|
|
437
|
-
* writing standalone `.hbs` files).
|
|
438
419
|
*/
|
|
439
420
|
const get = get$1;
|
|
440
421
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as setModifierManager$1 } from '../../shared-chunks/api-
|
|
2
|
-
export { m as capabilities } from '../../shared-chunks/api-
|
|
1
|
+
import { d as setModifierManager$1 } from '../../shared-chunks/api-BlZDPg1n.js';
|
|
2
|
+
export { m as capabilities } from '../../shared-chunks/api-BlZDPg1n.js';
|
|
3
3
|
export { on } from './on.js';
|
|
4
4
|
|
|
5
5
|
// NOTE: this uses assignment to *require* that the `glimmerSetModifierManager`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as on$1 } from '../../shared-chunks/on-
|
|
1
|
+
import { o as on$1 } from '../../shared-chunks/on-DlF0Wy7P.js';
|
|
2
2
|
|
|
3
3
|
// In normal TypeScript, this modifier is essentially an opaque token that just
|
|
4
4
|
// needs to be importable. Declaring it with a unique interface like this,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { g as cacheFor } from '../../shared-chunks/computed_cache-DmYKevAP.js';
|
|
2
|
-
export {
|
|
3
|
-
import { a as addListener } from '../../shared-chunks/events-
|
|
2
|
+
export { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
|
|
3
|
+
import { a as addListener } from '../../shared-chunks/events-6aFVjD4k.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import EmberObject from './index.js';
|
|
6
6
|
import { assert } from '../debug/lib/assert.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as setClassicDecorator,
|
|
1
|
+
import { s as setClassicDecorator, i as isElementDescriptor, d as descriptorForProperty } from '../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
2
2
|
import '../debug/index.js';
|
|
3
|
-
import {
|
|
4
|
-
import { t as tagFor } from '../../shared-chunks/meta-
|
|
3
|
+
import { t as track, U as UPDATE_TAG, c as consumeTag } from '../../shared-chunks/cache-DGDPVCpC.js';
|
|
4
|
+
import { t as tagFor } from '../../shared-chunks/meta-BqC7f9Ia.js';
|
|
5
5
|
import { assert } from '../debug/lib/assert.js';
|
|
6
6
|
|
|
7
7
|
let wrapGetterSetter = function (target, key, desc) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as default,
|
|
2
|
-
export { a as alias } from '../../shared-chunks/alias-
|
|
1
|
+
export { C as default, e as expandProperties } from '../../shared-chunks/computed-BPCtuOxQ.js';
|
|
2
|
+
export { a as alias } from '../../shared-chunks/alias-DpqL1qx6.js';
|
|
3
3
|
export { and, bool, deprecatingAlias, empty, equal, gt, gte, lt, lte, match, none, not, notEmpty, oneWay, or, readOnly, oneWay as reads } from './lib/computed/computed_macros.js';
|
|
4
4
|
export { collect, filter, filterBy, intersect, map, mapBy, max, min, setDiff, sort, sum, union, uniq, uniqBy } from './lib/computed/reduce_computed_macros.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { g as getFactoryFor, s as setFactoryFor } from '../../shared-chunks/container-BzzHmCNj.js';
|
|
2
2
|
import { getOwner } from '../-internals/owner/index.js';
|
|
3
|
-
import {
|
|
3
|
+
import { g as guidFor } from '../../shared-chunks/guid-Cbq2sNV_.js';
|
|
4
4
|
import { meta } from '../-internals/meta/lib/meta.js';
|
|
5
|
-
import { h as hasUnknownProperty, P as PROXY_CONTENT } from '../../shared-chunks/property_get-
|
|
6
|
-
import { s as sendEvent } from '../../shared-chunks/events-
|
|
7
|
-
import { a as activateObserver } from '../../shared-chunks/observers-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { D as DEBUG_INJECTION_FUNCTIONS } from '../../shared-chunks/injected_property-
|
|
5
|
+
import { h as hasUnknownProperty, P as PROXY_CONTENT } from '../../shared-chunks/property_get-CRP7MFz_.js';
|
|
6
|
+
import { s as sendEvent } from '../../shared-chunks/events-6aFVjD4k.js';
|
|
7
|
+
import { a as activateObserver } from '../../shared-chunks/observers-DMlX2nCi.js';
|
|
8
|
+
import { d as defineProperty } from '../../shared-chunks/computed-BPCtuOxQ.js';
|
|
9
|
+
import { d as descriptorForProperty, a as isClassicDecorator } from '../../shared-chunks/decorator-B5Uh5NFI.js';
|
|
10
|
+
import { D as DEBUG_INJECTION_FUNCTIONS } from '../../shared-chunks/injected_property-CbBLr5jt.js';
|
|
11
11
|
import Mixin, { applyMixin } from './mixin.js';
|
|
12
12
|
import ActionHandler from '../-internals/runtime/lib/mixins/action_handler.js';
|
|
13
13
|
import makeArray from '../array/lib/make-array.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as hasListeners, r as removeListener, s as sendEvent, a as addListener } from '../../shared-chunks/events-
|
|
2
|
-
export { o as on } from '../../shared-chunks/events-
|
|
1
|
+
import { h as hasListeners, r as removeListener, s as sendEvent, a as addListener } from '../../shared-chunks/events-6aFVjD4k.js';
|
|
2
|
+
export { o as on } from '../../shared-chunks/events-6aFVjD4k.js';
|
|
3
3
|
import Mixin from './mixin.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as addListener, r as removeListener, s as sendEvent } from '../../shared-chunks/events-
|
|
1
|
+
export { a as addListener, r as removeListener, s as sendEvent } from '../../shared-chunks/events-6aFVjD4k.js';
|