A platform for community discussion. Free, open, simple.
DEV: Update Ember to 6.6.0 (#34460)
Jarek Radosz06f841da086b
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex fa562b2da24..f5d384e7408 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -181,7 +181,6 @@ jobs:run: rm -rf public/uploads && cp -r tmp/app-cache/uploads public/uploads- name: Create and migrate database- if: steps.app-cache.outputs.cache-hit != 'true'env:LOAD_PLUGINS: ${{ (matrix.target == 'plugins' || matrix.target == 'chat') && '1' || '0' }}run: |diff --git a/app/assets/javascripts/admin/package.json b/app/assets/javascripts/admin/package.jsonindex 0dfb2fa4215..2ff3cda8004 100644--- a/app/assets/javascripts/admin/package.json+++ b/app/assets/javascripts/admin/package.json@@ -23,7 +23,7 @@"devDependencies": {"@ember/optional-features": "^2.2.0","@embroider/test-setup": "^4.0.0",- "@glimmer/component": "^1.1.2",+ "@glimmer/component": "^2.0.0","@types/jquery": "^3.5.33","@types/qunit": "^2.19.13","@types/rsvp": "^4.0.9",@@ -35,7 +35,7 @@"ember-disable-prototype-extensions": "^1.1.3","ember-load-initializers": "^3.0.1","ember-resolver": "^13.1.1",- "ember-source": "~5.12.0",+ "ember-source": "~6.6.0","ember-source-channel-url": "^3.0.0","loader.js": "^4.7.0","webpack": "^5.101.3"diff --git a/app/assets/javascripts/discourse-plugins/index.js b/app/assets/javascripts/discourse-plugins/index.jsindex dc5a3aefb3a..7f9cc521dcc 100644--- a/app/assets/javascripts/discourse-plugins/index.js+++ b/app/assets/javascripts/discourse-plugins/index.js@@ -8,6 +8,7 @@ const fs = require("fs");const concat = require("broccoli-concat");const DiscoursePluginColocatedTemplateProcessor = require("./colocated-template-compiler");const EmberApp = require("ember-cli/lib/broccoli/ember-app");+const transformActionSyntax = require("./transform-action-syntax");function fixLegacyExtensions(tree) {return new Funnel(tree, {@@ -103,6 +104,28 @@ module.exports = {},},+ setupPreprocessorRegistry(type, registry) {+ if (type === "self") {+ const plugin = this._buildActionPlugin();+ plugin.parallelBabel = {+ requireFile: __filename,+ buildUsing: "_buildActionPlugin",+ params: {},+ };++ registry.add("htmlbars-ast-plugin", plugin);+ }+ },++ _buildActionPlugin() {+ return {+ name: "transform-action-syntax",+ plugin: transformActionSyntax,+ baseDir: transformActionSyntax.baseDir,+ cacheKey: transformActionSyntax.cacheKey,+ };+ },+pluginInfos() {const root = path.resolve("../../../../plugins");const pluginDirectories = fsdiff --git a/app/assets/javascripts/discourse-plugins/transform-action-syntax.js b/app/assets/javascripts/discourse-plugins/transform-action-syntax.jsnew file mode 100644index 00000000000..0d323114784--- /dev/null+++ b/app/assets/javascripts/discourse-plugins/transform-action-syntax.js@@ -0,0 +1,67 @@+// backported from https://github.com/emberjs/ember.js/blob/v5.12.0/packages/ember-template-compiler/lib/plugins/transform-action-syntax.ts++/**+ A Glimmer2 AST transformation that replaces all instances of++ ```handlebars+ <button {{action 'foo'}}>+ <button onblur={{action 'foo'}}>+ <button onblur={{action (action 'foo') 'bar'}}>+ ```++ with++ ```handlebars+ <button {{action this 'foo'}}>+ <button onblur={{action this 'foo'}}>+ <button onblur={{action this (action this 'foo') 'bar'}}>+ ```++ @private+ @class TransformActionSyntax+*/++function transformActionSyntax({ syntax }) {+ let { builders: b } = syntax;++ return {+ name: "transform-action-syntax",++ visitor: {+ ElementModifierStatement(node) {+ if (isAction(node)) {+ insertThisAsFirstParam(node, b);+ }+ },++ MustacheStatement(node) {+ if (isAction(node)) {+ insertThisAsFirstParam(node, b);+ }+ },++ SubExpression(node) {+ if (isAction(node)) {+ insertThisAsFirstParam(node, b);+ }+ },+ },+ };+}++transformActionSyntax.baseDir = () => __dirname;+transformActionSyntax.cacheKey = () => "transform-action-syntax";++module.exports = transformActionSyntax;++function isPath(node) {+ return node.type === "PathExpression";+}++function isAction(node) {+ return isPath(node.path) && node.path.original === "d-action";+}++function insertThisAsFirstParam(node, builders) {+ node.params.unshift(builders.path("this"));+}diff --git a/app/assets/javascripts/discourse-widget-hbs/package.json b/app/assets/javascripts/discourse-widget-hbs/package.jsonindex a597b1ba03b..d2599996acd 100644--- a/app/assets/javascripts/discourse-widget-hbs/package.json+++ b/app/assets/javascripts/discourse-widget-hbs/package.json@@ -22,7 +22,7 @@"devDependencies": {"@ember/optional-features": "^2.2.0","@embroider/test-setup": "^4.0.0",- "@glimmer/component": "^1.1.2",+ "@glimmer/component": "^2.0.0","@glimmer/syntax": "0.93.1","broccoli-asset-rev": "^3.0.0","ember-cli": "~6.6.0",@@ -32,7 +32,7 @@"ember-disable-prototype-extensions": "^1.1.3","ember-load-initializers": "^3.0.1","ember-resolver": "^13.1.1",- "ember-source": "~5.12.0",+ "ember-source": "~6.6.0","ember-source-channel-url": "^3.0.0","loader.js": "^4.7.0","webpack": "^5.101.3"diff --git a/app/assets/javascripts/discourse/app/app.js b/app/assets/javascripts/discourse/app/app.jsindex 3e79a564422..67c377e91ec 100644--- a/app/assets/javascripts/discourse/app/app.js+++ b/app/assets/javascripts/discourse/app/app.js@@ -38,7 +38,7 @@ async function loadThemeFromModulePreload(link) {// eslint-disable-next-line no-consoleconsole.error(`Failed to load theme ${link.dataset.themeId} from ${link.href}`,- error+ String(error));fireThemeErrorEvent({ themeId: link.dataset.themeId, error });}diff --git a/app/assets/javascripts/discourse/app/deprecation-workflow.js b/app/assets/javascripts/discourse/app/deprecation-workflow.jsindex e5f9e075d57..67166ec66db 100644--- a/app/assets/javascripts/discourse/app/deprecation-workflow.js+++ b/app/assets/javascripts/discourse/app/deprecation-workflow.js@@ -5,6 +5,10 @@ const DEPRECATION_WORKFLOW = [handler: "silence",matchId: "discourse.decorate-widget.hamburger-widget-links",},+ {+ handler: "silence",+ matchId: "deprecate-import-meta-from-ember",+ },];export default DEPRECATION_WORKFLOW;diff --git a/app/assets/javascripts/discourse/app/helpers/action.js b/app/assets/javascripts/discourse/app/helpers/action.jsnew file mode 100644index 00000000000..06b059b078c--- /dev/null+++ b/app/assets/javascripts/discourse/app/helpers/action.js@@ -0,0 +1,118 @@+import { setInternalHelperManager } from "@glimmer/manager";+import {+ createUnboundRef,+ isInvokableRef,+ updateRef,+ valueForRef,+} from "@glimmer/reference";+import { get } from "@ember/-internals/metal";+import { flaggedInstrument } from "@ember/instrumentation";+import { join } from "@ember/runloop";+import deprecated from "discourse/lib/deprecated";++function NOOP(args) {+ return args;+}++function makeArgsProcessor(valuePathRef, actionArgsRef) {+ let mergeArgs;++ if (actionArgsRef.length > 0) {+ mergeArgs = (args) => {+ return actionArgsRef.map(valueForRef).concat(args);+ };+ }++ let readValue;++ if (valuePathRef) {+ readValue = (args) => {+ let valuePath = valueForRef(valuePathRef);++ if (valuePath && args.length > 0) {+ args[0] = get(args[0], valuePath);+ }++ return args;+ };+ }++ if (mergeArgs && readValue) {+ return (args) => {+ return readValue(mergeArgs(args));+ };+ } else {+ return mergeArgs || readValue || NOOP;+ }+}++function makeClosureAction(context, target, action, processArgs) {+ let self;+ let fn;++ if (typeof action === "string") {+ self = target;+ let value = target.actions?.[action];+ fn = value;+ } else if (typeof action === "function") {+ self = context;+ fn = action;+ }++ return (...args) => {+ let payload = { target: self, args, label: "@glimmer/closure-action" };+ return flaggedInstrument("interaction.ember-action", payload, () => {+ return join(self, fn, ...processArgs(args));+ });+ };+}++function makeDynamicClosureAction(context, targetRef, actionRef, processArgs) {+ const action = valueForRef(actionRef);++ return (...args) => {+ return makeClosureAction(+ context,+ valueForRef(targetRef),+ action,+ processArgs+ )(...args);+ };+}++function invokeRef(value) {+ updateRef(this, value);+}++// a port of ember's builtin action helper+export default setInternalHelperManager(({ named, positional }) => {+ deprecated(+ `Usage of the \`(action)\` helper is deprecated. Migrate to native functions and function invocation.`,+ {+ id: "discourse.template-action",+ url: "https://deprecations.emberjs.com/id/template-action",+ }+ );++ let [context, action, ...restArgs] = positional;++ let target = "target" in named ? named["target"] : context;+ let processArgs = makeArgsProcessor(+ ("value" in named && named["value"]) || false,+ restArgs+ );++ let fn;+ if (isInvokableRef(action)) {+ fn = makeClosureAction(action, action, invokeRef, processArgs);+ } else {+ fn = makeDynamicClosureAction(+ valueForRef(context),+ target,+ action,+ processArgs+ );+ }++ return createUnboundRef(fn, "(result of an `action` helper)");+}, {});diff --git a/app/assets/javascripts/discourse/app/lib/ember-action-modifier.js b/app/assets/javascripts/discourse/app/lib/ember-action-modifier.jsindex 2d3059befb8..5054768ac76 100644--- a/app/assets/javascripts/discourse/app/lib/ember-action-modifier.js+++ b/app/assets/javascripts/discourse/app/lib/ember-action-modifier.js@@ -1,4 +1,5 @@import { modifier } from "ember-modifier";+import deprecated from "./deprecated";/*** Creates a replacement for Ember's built-in `action` modifier that uses@@ -15,6 +16,14 @@ export const actionModifier = modifier([context, callback, ...args],{ on, bubbles, preventDefault, allowedKeys }) => {+ deprecated(+ `Usage of the \`{{action}}\` modifier is deprecated. Migrate to native functions and function invocation.`,+ {+ id: "discourse.template-action",+ url: "https://deprecations.emberjs.com/id/template-action",+ }+ );+const handler = (event) => {let fn;if (typeof callback === "string") {diff --git a/app/assets/javascripts/discourse/package.json b/app/assets/javascripts/discourse/package.jsonindex e96d213dc2b..c432ec10119 100644--- a/app/assets/javascripts/discourse/package.json+++ b/app/assets/javascripts/discourse/package.json@@ -80,7 +80,7 @@"@embroider/router": "^2.1.8","@embroider/webpack": "^4.1.0","@floating-ui/dom": "^1.7.4",- "@glimmer/component": "^1.1.2",+ "@glimmer/component": "^2.0.0","@glimmer/tracking": "^1.1.2","@popperjs/core": "^2.11.8","@swc/core": "^1.13.5",@@ -123,7 +123,7 @@"ember-load-initializers": "^3.0.1","ember-modifier": "^4.2.2","ember-qunit": "^9.0.3",- "ember-source": "~5.12.0",+ "ember-source": "~6.6.0","ember-template-imports": "^4.3.0","ember-test-selectors": "^7.1.0","float-kit": "workspace:1.0.0",diff --git a/app/assets/javascripts/discourse/tests/integration/components/plugin-outlet-test.gjs b/app/assets/javascripts/discourse/tests/integration/components/plugin-outlet-test.gjsindex 47b96709014..7f7254c8930 100644--- a/app/assets/javascripts/discourse/tests/integration/components/plugin-outlet-test.gjs+++ b/app/assets/javascripts/discourse/tests/integration/components/plugin-outlet-test.gjs@@ -123,7 +123,12 @@ module("Integration | Component | plugin-outlet", function (hooks) {});test("Renders a template into the outlet", async function (assert) {- await render(hbs`<PluginOutlet @name="test-name" />`);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<PluginOutlet @name="test-name" />`);+ }+ );assert.dom(".hello-username")@@ -389,12 +394,17 @@ module("Integration | Component | plugin-outlet", function (hooks) {test("Reevaluates shouldRender for argument changes", async function (assert) {this.set("shouldDisplay", false);- await render(hbs`- <PluginOutlet- @name="test-name"- @outletArgs={{lazyHash shouldDisplay=this.shouldDisplay}}- />- `);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`+ <PluginOutlet+ @name="test-name"+ @outletArgs={{lazyHash shouldDisplay=this.shouldDisplay}}+ />+ `);+ }+ );assert.dom(".conditional-render").doesNotExist("doesn't render conditional outlet");@@ -405,7 +415,12 @@ module("Integration | Component | plugin-outlet", function (hooks) {});test("Reevaluates shouldRender for other autotracked changes", async function (assert) {- await render(hbs`<PluginOutlet @name="test-name" />`);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<PluginOutlet @name="test-name" />`);+ }+ );assert.dom(".conditional-render").doesNotExist("doesn't render conditional outlet");@@ -416,7 +431,12 @@ module("Integration | Component | plugin-outlet", function (hooks) {});test("shouldRender receives an owner argument", async function (assert) {- await render(hbs`<PluginOutlet @name="test-name" />`);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<PluginOutlet @name="test-name" />`);+ }+ );assert.dom(".conditional-render").doesNotExist("doesn't render conditional outlet");@@ -428,12 +448,17 @@ module("Integration | Component | plugin-outlet", function (hooks) {test("Other outlets are not re-rendered", async function (assert) {this.set("shouldDisplay", false);- await render(hbs`- <PluginOutlet- @name="test-name"- @outletArgs={{lazyHash shouldDisplay=this.shouldDisplay}}- />- `);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`+ <PluginOutlet+ @name="test-name"+ @outletArgs={{lazyHash shouldDisplay=this.shouldDisplay}}+ />+ `);+ }+ );find(".hello-username").someUniqueProperty = true;@@ -462,15 +487,20 @@ module("Integration | Component | plugin-outlet", function (hooks) {});test("deprecated parameters with default message", async function (assert) {- await render(- <template>- <PluginOutlet- @name="test-name"- @deprecatedArgs={{lazyHash- shouldDisplay=(deprecatedOutletArgument value=true)- }}- />- </template>+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(+ <template>+ <PluginOutlet+ @name="test-name"+ @deprecatedArgs={{lazyHash+ shouldDisplay=(deprecatedOutletArgument value=true)+ }}+ />+ </template>+ );+ });// deprecated argument still works@@ -490,21 +520,26 @@ module("Integration | Component | plugin-outlet", function (hooks) {});test("deprecated parameters with custom deprecation data", async function (assert) {- await render(- <template>- <PluginOutlet- @name="test-name"- @deprecatedArgs={{lazyHash- shouldDisplay=(deprecatedOutletArgument- value=true- message="The 'shouldDisplay' is deprecated on this test"- id="discourse.plugin-connector.deprecated-arg.test"- since="3.3.0.beta4-dev"- dropFrom="3.4.0"- )- }}- />- </template>+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(+ <template>+ <PluginOutlet+ @name="test-name"+ @deprecatedArgs={{lazyHash+ shouldDisplay=(deprecatedOutletArgument+ value=true+ message="The 'shouldDisplay' is deprecated on this test"+ id="discourse.plugin-connector.deprecated-arg.test"+ since="3.3.0.beta4-dev"+ dropFrom="3.4.0"+ )+ }}+ />+ </template>+ );+ });// deprecated argument still works@@ -553,18 +588,23 @@ module("Integration | Component | plugin-outlet", function (hooks) {},};- await render(- <template>- <PluginOutlet- @name="test-name"- @deprecatedArgs={{lazyHash- shouldDisplay=(deprecatedOutletArgument- value=deprecatedData.display- silence="discourse.deprecation-that-should-not-be-logged"- )- }}- />- </template>+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(+ <template>+ <PluginOutlet+ @name="test-name"+ @deprecatedArgs={{lazyHash+ shouldDisplay=(deprecatedOutletArgument+ value=deprecatedData.display+ silence="discourse.deprecation-that-should-not-be-logged"+ )+ }}+ />+ </template>+ );+ });// deprecated argument still works@@ -594,16 +634,21 @@ module("Integration | Component | plugin-outlet", function (hooks) {});test("unused arguments", async function (assert) {- await render(- <template>- <PluginOutlet- @name="test-name"- @outletArgs={{lazyHash shouldDisplay=true}}- @deprecatedArgs={{lazyHash- argNotUsed=(deprecatedOutletArgument value=true)- }}- />- </template>+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(+ <template>+ <PluginOutlet+ @name="test-name"+ @outletArgs={{lazyHash shouldDisplay=true}}+ @deprecatedArgs={{lazyHash+ argNotUsed=(deprecatedOutletArgument value=true)+ }}+ />+ </template>+ );+ });// deprecated argument still worksdiff --git a/app/assets/javascripts/discourse/tests/unit/lib/ember-action-modifer-test.js b/app/assets/javascripts/discourse/tests/unit/lib/ember-action-modifer-test.jsindex 5e629b47c1a..aef32791f0f 100644--- a/app/assets/javascripts/discourse/tests/unit/lib/ember-action-modifer-test.js+++ b/app/assets/javascripts/discourse/tests/unit/lib/ember-action-modifer-test.js@@ -5,6 +5,7 @@ import { click, doubleClick, render } from "@ember/test-helpers";import { hbs } from "ember-cli-htmlbars";import { setupRenderingTest } from "ember-qunit";import { module, test } from "qunit";+import { withSilencedDeprecationsAsync } from "discourse/lib/deprecated";module("Unit | Lib | ember-action-modifier", function (hooks) {setupRenderingTest(hooks);@@ -17,9 +18,14 @@ module("Unit | Lib | ember-action-modifier", function (hooks) {childClicked: undefined,});- await render(hbs`- <button id="childButton" {{action this.onChildClick}} />- `);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`+ <button id="childButton" {{action this.onChildClick}} />+ `);+ }+ );await click("#childButton");@@ -34,9 +40,14 @@ module("Unit | Lib | ember-action-modifier", function (hooks) {childClicked: undefined,});- await render(hbs`- <button id="childButton" {{action 'onChildClick'}} />- `);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`+ <button id="childButton" {{action 'onChildClick'}} />+ `);+ }+ );await click("#childButton");@@ -51,9 +62,14 @@ module("Unit | Lib | ember-action-modifier", function (hooks) {childClicked: undefined,});- await render(hbs`+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<button id="childButton" {{action 'onChildClick'}} />`);+ }+ );await click("#childButton", { ctrlKey: true });@@ -68,9 +84,14 @@ module("Unit | Lib | ember-action-modifier", function (hooks) {dblClicked: undefined,});- await render(hbs`+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<button id="childButton" {{action this.onDblClick on='dblclick'}} />`);+ }+ );await doubleClick("#childButton");@@ -146,9 +167,14 @@ module("Unit | Lib | ember-action-modifier", function (hooks) {oneClicked: undefined,});- await render(hbs`+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<ExampleClassicButton @onDoSomething={{this.onOneClick}} />`);+ }+ );assert.strictEqual(this.oneClicked, undefined);@@ -172,9 +198,14 @@ module("Unit | Lib | ember-action-modifier", function (hooks) {oneClicked: undefined,});- await render(hbs`- <ExampleClassicButtonWithActions @onDoSomething={{this.onOneClick}} />- `);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`+ <ExampleClassicButtonWithActions @onDoSomething={{this.onOneClick}} />+ `);+ }+ );assert.strictEqual(this.oneClicked, undefined);diff --git a/app/assets/javascripts/discourse/tests/unit/lib/ember-events-test.js b/app/assets/javascripts/discourse/tests/unit/lib/ember-events-test.jsindex f0524d90a3b..c31b7790500 100644--- a/app/assets/javascripts/discourse/tests/unit/lib/ember-events-test.js+++ b/app/assets/javascripts/discourse/tests/unit/lib/ember-events-test.js@@ -7,6 +7,7 @@ import { click, render } from "@ember/test-helpers";import { hbs } from "ember-cli-htmlbars";import { setupRenderingTest } from "ember-qunit";import { module, test } from "qunit";+import { withSilencedDeprecationsAsync } from "discourse/lib/deprecated";// Configure test-local Classic and Glimmer components that// will be immune from upgrades to actual Discourse components.@@ -210,11 +211,16 @@ module("Unit | Lib | ember-events", function (hooks) {childClicked: undefined,});- await render(hbs`- <ExampleClassicButton id="parentButton" @onClick={{this.onParentClick}}>- <button id="childButton" {{action this.onChildClick}} />- </ExampleClassicButton>- `);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`+ <ExampleClassicButton id="parentButton" @onClick={{this.onParentClick}}>+ <button id="childButton" {{action this.onChildClick}} />+ </ExampleClassicButton>+ `);+ }+ );await click("#childButton");@@ -232,11 +238,16 @@ module("Unit | Lib | ember-events", function (hooks) {childClicked: undefined,});- await render(hbs`- <ExampleClassicButton id="parentButton" @onClick={{this.onParentClick}}>- <button id="childButton" {{action this.onChildClick bubbles=false}} />- </ExampleClassicButton>- `);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`+ <ExampleClassicButton id="parentButton" @onClick={{this.onParentClick}}>+ <button id="childButton" {{action this.onChildClick bubbles=false}} />+ </ExampleClassicButton>+ `);+ }+ );await click("#childButton");@@ -256,11 +267,16 @@ module("Unit | Lib | ember-events", function (hooks) {childClicked: undefined,});- await render(hbs`- <ExampleGlimmerButton id="parentButton" @onClick={{this.onParentClick}}>- <button id="childButton" {{action this.onChildClick}} />- </ExampleGlimmerButton>- `);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`+ <ExampleGlimmerButton id="parentButton" @onClick={{this.onParentClick}}>+ <button id="childButton" {{action this.onChildClick}} />+ </ExampleGlimmerButton>+ `);+ }+ );await click("#childButton");@@ -278,11 +294,16 @@ module("Unit | Lib | ember-events", function (hooks) {childClicked: undefined,});- await render(hbs`- <ExampleGlimmerButton id="parentButton" @onClick={{this.onParentClick}}>- <button id="childButton" {{action this.onChildClick bubbles=false}} />- </ExampleGlimmerButton>- `);+ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`+ <ExampleGlimmerButton id="parentButton" @onClick={{this.onParentClick}}>+ <button id="childButton" {{action this.onChildClick bubbles=false}} />+ </ExampleGlimmerButton>+ `);+ }+ );await click("#childButton");diff --git a/app/assets/javascripts/float-kit/package.json b/app/assets/javascripts/float-kit/package.jsonindex 17502687fe4..44e8a77e82d 100644--- a/app/assets/javascripts/float-kit/package.json+++ b/app/assets/javascripts/float-kit/package.json@@ -27,7 +27,7 @@"devDependencies": {"@ember/optional-features": "^2.2.0","@embroider/test-setup": "^4.0.0",- "@glimmer/component": "^1.1.2",+ "@glimmer/component": "^2.0.0","@types/jquery": "^3.5.33","@types/qunit": "^2.19.13","@types/rsvp": "^4.0.9",@@ -39,7 +39,7 @@"ember-disable-prototype-extensions": "^1.1.3","ember-load-initializers": "^3.0.1","ember-resolver": "^13.1.1",- "ember-source": "~5.12.0",+ "ember-source": "~6.6.0","ember-source-channel-url": "^3.0.0","loader.js": "^4.7.0","webpack": "^5.101.3"diff --git a/app/assets/javascripts/pretty-text/package.json b/app/assets/javascripts/pretty-text/package.jsonindex 6fb6c61bd5f..0e95e4bda15 100644--- a/app/assets/javascripts/pretty-text/package.json+++ b/app/assets/javascripts/pretty-text/package.json@@ -24,7 +24,7 @@"devDependencies": {"@ember/optional-features": "^2.2.0","@embroider/test-setup": "^4.0.0",- "@glimmer/component": "^1.1.2",+ "@glimmer/component": "^2.0.0","@types/jquery": "^3.5.33","@types/qunit": "^2.19.13","@types/rsvp": "^4.0.9",@@ -36,7 +36,7 @@"ember-disable-prototype-extensions": "^1.1.3","ember-load-initializers": "^3.0.1","ember-resolver": "^13.1.1",- "ember-source": "~5.12.0",+ "ember-source": "~6.6.0","ember-source-channel-url": "^3.0.0","loader.js": "^4.7.0","webpack": "^5.101.3"diff --git a/app/assets/javascripts/select-kit/package.json b/app/assets/javascripts/select-kit/package.jsonindex 44dff70d61e..24c26d68f68 100644--- a/app/assets/javascripts/select-kit/package.json+++ b/app/assets/javascripts/select-kit/package.json@@ -30,7 +30,7 @@"devDependencies": {"@ember/optional-features": "^2.2.0","@embroider/test-setup": "^4.0.0",- "@glimmer/component": "^1.1.2",+ "@glimmer/component": "^2.0.0","@types/jquery": "^3.5.33","@types/qunit": "^2.19.13","@types/rsvp": "^4.0.9",@@ -42,7 +42,7 @@"ember-disable-prototype-extensions": "^1.1.3","ember-load-initializers": "^3.0.1","ember-resolver": "^13.1.1",- "ember-source": "~5.12.0",+ "ember-source": "~6.6.0","ember-source-channel-url": "^3.0.0","loader.js": "^4.7.0","webpack": "^5.101.3"diff --git a/app/assets/javascripts/theme-transpiler/package.json b/app/assets/javascripts/theme-transpiler/package.jsonindex 4bde4b4c128..c7cbd42cf13 100644--- a/app/assets/javascripts/theme-transpiler/package.json+++ b/app/assets/javascripts/theme-transpiler/package.json@@ -23,9 +23,10 @@"core-js": "^3.45.1","decorator-transforms": "^2.3.0","discourse": "workspace:0.0.0",+ "discourse-plugins": "workspace:1.0.0","discourse-widget-hbs": "workspace:1.0.0","ember-cli-htmlbars": "^6.3.0",- "ember-source": "~5.12.0",+ "ember-source": "~6.6.0","ember-this-fallback": "^0.4.0","fastestsmallesttextencoderdecoder": "^1.0.22","magic-string": "^0.30.18",diff --git a/app/assets/javascripts/theme-transpiler/theme-rollup.js b/app/assets/javascripts/theme-transpiler/theme-rollup.jsindex ec6370da41c..fc79cf1c95d 100644--- a/app/assets/javascripts/theme-transpiler/theme-rollup.js+++ b/app/assets/javascripts/theme-transpiler/theme-rollup.js@@ -4,13 +4,14 @@ import { babel, getBabelOutputPlugin } from "@rollup/plugin-babel";import HTMLBarsInlinePrecompile from "babel-plugin-ember-template-compilation";import DecoratorTransforms from "decorator-transforms";import colocatedBabelPlugin from "ember-cli-htmlbars/lib/colocated-babel-plugin";-import { precompile } from "ember-source/dist/ember-template-compiler";import EmberThisFallback from "ember-this-fallback";import { memfs } from "memfs";+import transformActionSyntax from "discourse-plugins/transform-action-syntax";import { WidgetHbsCompiler } from "discourse-widget-hbs/lib/widget-hbs-compiler";import { browsers } from "../discourse/config/targets";import AddThemeGlobals from "./add-theme-globals";import BabelReplaceImports from "./babel-replace-imports";+import { precompile } from "./node_modules/ember-source/dist/ember-template-compiler";import discourseColocation from "./rollup-plugins/discourse-colocation";import discourseExtensionSearch from "./rollup-plugins/discourse-extension-search";import discourseExternalLoader from "./rollup-plugins/discourse-external-loader";@@ -72,6 +73,7 @@ globalThis.rollup = function (modules, opts) {isTheme: true,}).plugin,buildEmberTemplateManipulatorPlugin(opts.themeId),+ transformActionSyntax,],},],diff --git a/package.json b/package.jsonindex 9dcf88cb71c..caecb6c708c 100644--- a/package.json+++ b/package.json@@ -71,7 +71,7 @@"[email protected]": "patches/[email protected]","[email protected]": "patches/[email protected]","@ember-compat/[email protected]": "patches/@[email protected]",- "[email protected]": "patches/[email protected]"+ "[email protected]": "patches/[email protected]"},"peerDependencyRules": {"allowedVersions": {@@ -83,6 +83,9 @@"ignoreMissing": ["webpack"]+ },+ "overrides": {+ "@ember/test-waiters": "4.1.1"}}}diff --git a/patches/[email protected] b/patches/[email protected]deleted file mode 100644index 1ef3301f896..00000000000--- a/patches/[email protected]+++ /dev/null@@ -1,66 +0,0 @@-diff --git a/dist/ember-template-compiler.js b/dist/ember-template-compiler.js-index 01999af0c4c125af3c713318db7eb85fa492f72d..edadab049d4e5959b4d33ddcbe59bcaec9641e61 100644---- a/dist/ember-template-compiler.js-+++ b/dist/ember-template-compiler.js-@@ -9485,10 +9485,20 @@ var define, require;- return Object.defineProperty(node, "escaped", {- enumerable: !1,- get() {-- return deprecate$1("The escaped property on mustache nodes is deprecated, use trusting instead"), !this.trusting;-+ // when upgrading Ember check if this patch is still necessary-+ // Ember 5.12 still shipped with the template-compiler generating a ton of warnings but the fix is already commited-+ // to glimmervm/syntax-+ // See https://github.com/glimmerjs/glimmer-vm/commit/02313376f21a606841b00a7789fd6128a1b292af-+ // return deprecate$1("The escaped property on mustache nodes is deprecated, use trusting instead"), !this.trusting;-+ return !this.trusting;- },- set(value) {-- deprecate$1("The escaped property on mustache nodes is deprecated, use trusting instead"), this.trusting = !value;-+ // when upgrading Ember check if this patch is still necessary-+ // Ember 5.12 still shipped with the template-compiler generating a ton of warnings but the fix is already commited-+ // to glimmervm/syntax-+ // See https://github.com/glimmerjs/glimmer-vm/commit/02313376f21a606841b00a7789fd6128a1b292af-+ // deprecate$1("The escaped property on mustache nodes is deprecated, use trusting instead"), this.trusting = !value;-+ this.trusting = !value;- }- }), node;- }({-diff --git a/dist/packages/@ember/-internals/deprecations/index.js b/dist/packages/@ember/-internals/deprecations/index.js-index a6390a7c14f78c4876f97695e057231c1c7ecef0..f62f2d4efbdbf3fb01cd9d1235ac5dc0967a8756 100644---- a/dist/packages/@ember/-internals/deprecations/index.js-+++ b/dist/packages/@ember/-internals/deprecations/index.js-@@ -142,7 +142,7 @@ function deprecateUntil(message, deprecation) {- if (deprecation.isRemoved) {- throw new Error(`The API deprecated by ${options.id} was removed in ember-source ${options.until}. The message was: ${message}. Please see ${options.url} for more details.`);- }-- (isDevelopingApp() && !(deprecation.test) && deprecate(message, deprecation.test, options));-+ (true && !(deprecation.test) && deprecate(message, deprecation.test, options));- }- const {- EXTEND_PROTOTYPES-diff --git a/dist/packages/@ember/debug/lib/deprecate.js b/dist/packages/@ember/debug/lib/deprecate.js-index bd48673cc5a4416b492daded7e1ca4ff5b1a8d8d..9cf7b80e7308dd4b34b5d6a980294de43ce21bd5 100644---- a/dist/packages/@ember/debug/lib/deprecate.js-+++ b/dist/packages/@ember/debug/lib/deprecate.js-@@ -50,7 +50,7 @@ let missingOptionsDeprecation;- let missingOptionsIdDeprecation;- let missingOptionDeprecation = () => '';- let deprecate = () => {};--if (isDevelopingApp()) {-+if (true) {- registerHandler = function registerHandler(handler) {- registerHandler$1('deprecate', handler);- };-diff --git a/dist/packages/@ember/debug/lib/handlers.js b/dist/packages/@ember/debug/lib/handlers.js-index cd68afe479229ed77b4e4c93759aa90913cdc49c..6e7d71bbeb28f18259fa8afb48ef78279f25c531 100644---- a/dist/packages/@ember/debug/lib/handlers.js-+++ b/dist/packages/@ember/debug/lib/handlers.js-@@ -3,7 +3,7 @@ import { isDevelopingApp } from '@embroider/macros';- let HANDLERS = {};- let registerHandler = function registerHandler(_type, _callback) {};- let invoke = () => {};--if (isDevelopingApp()) {-+if (true) {- registerHandler = function registerHandler(type, callback) {- let nextHandler = HANDLERS[type] || (() => {});- HANDLERS[type] = (message, options) => {diff --git a/patches/[email protected] b/patches/[email protected]new file mode 100644index 00000000000..f4f6114522c--- /dev/null+++ b/patches/[email protected]@@ -0,0 +1,39 @@+diff --git a/dist/packages/@ember/-internals/deprecations/index.js b/dist/packages/@ember/-internals/deprecations/index.js+index 894cd5c5e28db30f8798ee828b8364c94d488964..bffb6b1c0d22d3611f8e85414c0f34f0e416e4f4 100644+--- a/dist/packages/@ember/-internals/deprecations/index.js++++ b/dist/packages/@ember/-internals/deprecations/index.js+@@ -123,7 +123,7 @@ function deprecateUntil(message, deprecation) {+ if (deprecation.isRemoved) {+ throw new Error(`The API deprecated by ${options.id} was removed in ember-source ${options.until}. The message was: ${message}. Please see ${options.url} for more details.`);+ }+- (isDevelopingApp() && !(deprecation.test) && deprecate(message, deprecation.test, options));++ (true && !(deprecation.test) && deprecate(message, deprecation.test, options));+ }+ const {+ EXTEND_PROTOTYPES+diff --git a/dist/packages/@ember/debug/lib/deprecate.js b/dist/packages/@ember/debug/lib/deprecate.js+index 2a40f7cca607ab80beb267d79243fc30f16c92a1..9c15e205f3fb1661b8f1ae397c2338c42a3cc601 100644+--- a/dist/packages/@ember/debug/lib/deprecate.js++++ b/dist/packages/@ember/debug/lib/deprecate.js+@@ -50,7 +50,7 @@ let missingOptionsDeprecation;+ let missingOptionsIdDeprecation;+ let missingOptionDeprecation = () => '';+ let deprecate = () => {};+-if (isDevelopingApp()) {++if (true) {+ registerHandler = function registerHandler(handler) {+ registerHandler$1('deprecate', handler);+ };+diff --git a/dist/packages/@ember/debug/lib/handlers.js b/dist/packages/@ember/debug/lib/handlers.js+index cd68afe479229ed77b4e4c93759aa90913cdc49c..6e7d71bbeb28f18259fa8afb48ef78279f25c531 100644+--- a/dist/packages/@ember/debug/lib/handlers.js++++ b/dist/packages/@ember/debug/lib/handlers.js+@@ -3,7 +3,7 @@ import { isDevelopingApp } from '@embroider/macros';+ let HANDLERS = {};+ let registerHandler = function registerHandler(_type, _callback) {};+ let invoke = () => {};+-if (isDevelopingApp()) {++if (true) {+ registerHandler = function registerHandler(type, callback) {+ let nextHandler = HANDLERS[type] || (() => {});+ HANDLERS[type] = (message, options) => {diff --git a/plugins/chat/test/javascripts/integration/helpers/action-test.js b/plugins/chat/test/javascripts/integration/helpers/action-test.jsnew file mode 100644index 00000000000..79731f1e86d--- /dev/null+++ b/plugins/chat/test/javascripts/integration/helpers/action-test.js@@ -0,0 +1,66 @@+// eslint-disable-next-line ember/no-classic-components+import Component from "@ember/component";+import { action } from "@ember/object";+import { click, render } from "@ember/test-helpers";+import { hbs } from "ember-cli-htmlbars";+import { module, test } from "qunit";+import { withSilencedDeprecationsAsync } from "discourse/lib/deprecated";+import { setupRenderingTest } from "discourse/tests/helpers/component-test";++class FooString extends Component {+ layout = hbs`<button {{on "click" (action "bar" 123)}}>test</button>`;++ @action+ bar(value) {+ this.callback(value);+ }+}++class FooReference extends Component {+ layout = hbs`<button {{on "click" (action this.bar)}}>test</button>`;++ @action+ bar() {+ this.callback();+ }+}++// This is a core test but has to be in a plugin since the transform+// (that injects `this` into actions' params) is applied only to+// themes and plugins+module("Integration | Helper | action", function (hooks) {+ setupRenderingTest(hooks);++ test("string argument", async function (assert) {+ this.registry.register("component:foo", FooString);+ this.callback = (value) => {+ assert.step("called");+ assert.strictEqual(value, 123);+ };++ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<Foo @callback={{this.callback}} />`);+ }+ );++ await click("button");+ assert.verifySteps(["called"]);+ });++ test("reference argument", async function (assert) {+ this.registry.register("component:foo", FooReference);+ this.callback = () => assert.step("called");++ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<Foo @callback={{this.callback}} />`);+ }+ );++ await click("button");+ assert.verifySteps(["called"]);+ });+});diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 7aa458b9e98..57fcbfceb6c 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -4,6 +4,9 @@ settings:autoInstallPeers: falseexcludeLinksFromLockfile: false+overrides:+ '@ember/test-waiters': 4.1.1+patchedDependencies:'@ember-compat/[email protected]':hash: s67qh4jsmpbr3llstdi3a5zeze@@ -11,9 +14,9 @@ patchedDependencies:hash: wki6cycbrrm5sscamn5w4cujbypath: patches/[email protected]- hash: pqnuctuxbp6ekxyjszyhrgmysm- path: patches/[email protected]+ hash: tyhbf7f4uxnr3gt4x2tdcudbva+ path: patches/[email protected]hash: znalyv6akdxlqfpmxunrdi3osapath: patches/[email protected]@@ -45,10 +48,10 @@ importers:version: 2.0.0-alpha.3([email protected])'@glint/environment-ember-loose':specifier: ^2.0.0-alpha.3- version: 2.0.0-alpha.3(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected]))+ version: 2.0.0-alpha.3(@glimmer/[email protected])(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected]))'@glint/environment-ember-template-imports':specifier: ^2.0.0-alpha.3- version: 2.0.0-alpha.3(@glint/[email protected]([email protected]))(@glint/[email protected](@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected])))(@glint/[email protected])+ version: 2.0.0-alpha.3(@glint/[email protected]([email protected]))(@glint/[email protected](@glimmer/[email protected])(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected])))(@glint/[email protected])'@glint/template':specifier: ^1.6.0-alpha.2version: 1.6.0-alpha.2@@ -153,8 +156,8 @@ importers:specifier: ^4.0.0version: 4.0.0(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))(@glint/[email protected]))(@embroider/[email protected](@glint/[email protected]))(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected])))'@glimmer/component':- specifier: ^1.1.2- version: 1.1.2(@babel/[email protected])+ specifier: ^2.0.0+ version: 2.0.0'@types/jquery':specifier: ^3.5.33version: 3.5.33@@ -184,13 +187,13 @@ importers:version: 1.1.3ember-load-initializers:specifier: ^3.0.1- version: 3.0.1([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 3.0.1([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-resolver:specifier: ^13.1.1version: 13.1.1ember-source:- specifier: ~5.12.0- version: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ specifier: ~6.6.0+ version: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])ember-source-channel-url:specifier: ^3.0.0version: 3.0.0([email protected])@@ -410,7 +413,7 @@ importers:version: 2.2.0'@ember/render-modifiers':specifier: ^3.0.0- version: 3.0.0(@glint/[email protected])([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 3.0.0(@glint/[email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))'@ember/string':specifier: ^4.0.1version: 4.0.1@@ -418,7 +421,7 @@ importers:specifier: ^5.2.2version: 5.2.2(@babel/[email protected])(@glint/[email protected])'@ember/test-waiters':- specifier: ^4.1.1+ specifier: 4.1.1version: 4.1.1(@glint/[email protected])'@embroider/compat':specifier: ^3.8.5@@ -431,7 +434,7 @@ importers:version: 1.16.12(@glint/[email protected])'@embroider/router':specifier: ^2.1.8- version: 2.1.8(@embroider/[email protected](@glint/[email protected]))'@embroider/webpack':specifier: ^4.1.0version: 4.1.0(@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected]))@@ -439,8 +442,8 @@ importers:specifier: ^1.7.4version: 1.7.4'@glimmer/component':- specifier: ^1.1.2- version: 1.1.2(@babel/[email protected])+ specifier: ^2.0.0+ version: 2.0.0'@glimmer/tracking':specifier: ^1.1.2version: 1.1.2@@ -524,19 +527,19 @@ importers:version: 2.1.1(@babel/[email protected])ember-cached-decorator-polyfill:specifier: ^1.0.2- version: 1.0.2(@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 1.0.2(@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-cli:specifier: ~6.6.0version: 6.6.0([email protected])([email protected])ember-cli-app-version:specifier: ^7.0.0- version: 7.0.0([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 7.0.0([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-cli-babel:specifier: ^8.2.0version: 8.2.0(@babel/[email protected])ember-cli-deprecation-workflow:specifier: ^3.4.0- version: 3.4.0([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 3.4.0([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-cli-htmlbars:specifier: ^6.3.0version: 6.3.0@@ -557,10 +560,10 @@ importers:version: 6.1.1ember-exam:specifier: ^9.1.0- version: 9.1.0(@glint/[email protected])([email protected](@ember/[email protected](@babel/[email protected])(@glint/[email protected]))(@glint/[email protected])([email protected]))([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))([email protected])([email protected](@swc/[email protected])([email protected]))+ version: 9.1.0(@glint/[email protected])([email protected](@ember/[email protected](@babel/[email protected])(@glint/[email protected]))(@glint/[email protected])([email protected]))([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))([email protected])([email protected](@swc/[email protected])([email protected]))ember-load-initializers:specifier: ^3.0.1- version: 3.0.1([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 3.0.1([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-modifier:specifier: ^4.2.2version: 4.2.2(@babel/[email protected])@@ -568,8 +571,8 @@ importers:specifier: ^9.0.3version: 9.0.3(@ember/[email protected](@babel/[email protected])(@glint/[email protected]))(@glint/[email protected])([email protected])ember-source:- specifier: ~5.12.0- version: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ specifier: ~6.6.0+ version: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])ember-template-imports:specifier: ^4.3.0version: 4.3.0@@ -704,7 +707,7 @@ importers:version: 4.3.0ember-this-fallback:specifier: ^0.4.0- version: 0.4.0(patch_hash=znalyv6akdxlqfpmxunrdi3osa)([email protected])([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 0.4.0(patch_hash=znalyv6akdxlqfpmxunrdi3osa)([email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))devDependencies:ember-cli:specifier: ~6.6.0@@ -735,8 +738,8 @@ importers:specifier: ^4.0.0version: 4.0.0(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))(@glint/[email protected]))(@embroider/[email protected](@glint/[email protected]))(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected])))'@glimmer/component':- specifier: ^1.1.2- version: 1.1.2(@babel/[email protected])+ specifier: ^2.0.0+ version: 2.0.0'@glimmer/syntax':specifier: 0.93.1version: 0.93.1@@ -760,13 +763,13 @@ importers:version: 1.1.3ember-load-initializers:specifier: ^3.0.1- version: 3.0.1([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 3.0.1([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-resolver:specifier: ^13.1.1version: 13.1.1ember-source:- specifier: ~5.12.0- version: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ specifier: ~6.6.0+ version: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])ember-source-channel-url:specifier: ^3.0.0version: 3.0.0([email protected])@@ -786,7 +789,7 @@ importers:version: 7.28.3([email protected])'@ember/render-modifiers':specifier: ^3.0.0- version: 3.0.0(@glint/[email protected])([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 3.0.0(@glint/[email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))'@floating-ui/dom':specifier: ^1.7.4version: 1.7.4@@ -816,8 +819,8 @@ importers:specifier: ^4.0.0version: 4.0.0(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))(@glint/[email protected]))(@embroider/[email protected](@glint/[email protected]))(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected])))'@glimmer/component':- specifier: ^1.1.2- version: 1.1.2(@babel/[email protected])+ specifier: ^2.0.0+ version: 2.0.0'@types/jquery':specifier: ^3.5.33version: 3.5.33@@ -847,13 +850,13 @@ importers:version: 1.1.3ember-load-initializers:specifier: ^3.0.1- version: 3.0.1([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 3.0.1([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-resolver:specifier: ^13.1.1version: 13.1.1ember-source:- specifier: ~5.12.0- version: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ specifier: ~6.6.0+ version: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])ember-source-channel-url:specifier: ^3.0.0version: 3.0.0([email protected])@@ -892,8 +895,8 @@ importers:specifier: ^4.0.0version: 4.0.0(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))(@glint/[email protected]))(@embroider/[email protected](@glint/[email protected]))(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected])))'@glimmer/component':- specifier: ^1.1.2- version: 1.1.2(@babel/[email protected])+ specifier: ^2.0.0+ version: 2.0.0'@types/jquery':specifier: ^3.5.33version: 3.5.33@@ -923,13 +926,13 @@ importers:version: 1.1.3ember-load-initializers:specifier: ^3.0.1- version: 3.0.1([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 3.0.1([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-resolver:specifier: ^13.1.1version: 13.1.1ember-source:- specifier: ~5.12.0- version: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ specifier: ~6.6.0+ version: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])ember-source-channel-url:specifier: ^3.0.0version: 3.0.0([email protected])@@ -962,7 +965,7 @@ importers:version: 2.10.0(@glint/[email protected])([email protected](@swc/[email protected])([email protected]))ember-cached-decorator-polyfill:specifier: ^1.0.2- version: 1.0.2(@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 1.0.2(@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-cli-babel:specifier: ^8.2.0version: 8.2.0(@babel/[email protected])@@ -986,8 +989,8 @@ importers:specifier: ^4.0.0version: 4.0.0(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))(@glint/[email protected]))(@embroider/[email protected](@glint/[email protected]))(@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))([email protected](@swc/[email protected])([email protected])))'@glimmer/component':- specifier: ^1.1.2- version: 1.1.2(@babel/[email protected])+ specifier: ^2.0.0+ version: 2.0.0'@types/jquery':specifier: ^3.5.33version: 3.5.33@@ -1017,13 +1020,13 @@ importers:version: 1.1.3ember-load-initializers:specifier: ^3.0.1- version: 3.0.1([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 3.0.1([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))ember-resolver:specifier: ^13.1.1version: 13.1.1ember-source:- specifier: ~5.12.0- version: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ specifier: ~6.6.0+ version: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])ember-source-channel-url:specifier: ^3.0.0version: 3.0.0([email protected])@@ -1075,6 +1078,9 @@ importers:discourse:specifier: workspace:0.0.0version: link:../discourse+ discourse-plugins:+ specifier: workspace:1.0.0+ version: link:../discourse-pluginsdiscourse-widget-hbs:specifier: workspace:1.0.0version: link:../discourse-widget-hbs@@ -1082,11 +1088,11 @@ importers:specifier: ^6.3.0version: 6.3.0ember-source:- specifier: ~5.12.0- version: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ specifier: ~6.6.0+ version: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])ember-this-fallback:specifier: ^0.4.0- version: 0.4.0(patch_hash=znalyv6akdxlqfpmxunrdi3osa)([email protected])([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))+ version: 0.4.0(patch_hash=znalyv6akdxlqfpmxunrdi3osa)([email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))fastestsmallesttextencoderdecoder:specifier: ^1.0.22version: 1.0.22@@ -1659,11 +1665,6 @@ packages:peerDependencies:'@babel/core': ^7.0.0-0- '@babel/[email protected]':- resolution: {integrity: sha512-pehKf4m640myZu5B2ZviLaiBlxMCjSZ1qTEO459AXKX5GnPueyulJeCqZFs1nz/Ya2dDzXQ1NxZ/kKNWyD4h6w==}- peerDependencies:- '@babel/core': ^7.0.0-0-'@babel/[email protected]':resolution: {integrity: sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg==}engines: {node: '>=6.9.0'}@@ -1869,10 +1870,6 @@ packages:'@ember/[email protected]':resolution: {integrity: sha512-Cclqeh0j6RnYvoaElAVC3Nd1fsSUkc3oUTwTsLlNiC3riyPq8lNYxh96VM59/yji2ntrd/cJQ7qhhSZWd6hsEw==}- '@ember/[email protected]':- resolution: {integrity: sha512-bb9h95ktG2wKY9+ja1sdsFBdOms2lB19VWs8wmNpzgHv1NCetonBoV5jHBV4DHt0uS1tg9z66cZqhUVlYs96KQ==}- engines: {node: 10.* || 12.* || >= 14.*}-'@ember/[email protected]':resolution: {integrity: sha512-HbK70JYCDJcGI0CrwcbjeL2QHAn0HLwa3oGep7mr6l/yO95U7JYA8VN+/9VTsWJTmKueLtWayUqEmGS3a3mVOg==}@@ -2192,89 +2189,74 @@ packages:peerDependencies:'@fullcalendar/core': ~6.1.18- '@glimmer/[email protected]':- resolution: {integrity: sha512-xoR8F6fsgFqWbPbCfSgJuJ95vaLnXw0SgDCwyl/KMeeaSxpHwJbr8+BfiUl+7ko2A+HzrY5dPXXnGr4ZM+CUXw==}- engines: {node: '>= 16.0.0'}-- '@glimmer/[email protected]':- resolution: {integrity: sha512-XyAsEEa4kWOPy+gIdMjJ8XlzA3qrGH55ZDv6nA16ibalCR17k74BI0CztxuRds+Rm6CtbUVgheCVlcCULuqD7A==}- engines: {node: 6.* || 8.* || >= 10.*}-- '@glimmer/[email protected]':- resolution: {integrity: sha512-waTBOdtp92MC3h/51mYbc4GRumO+Tsa5jbXLoewqALjE1S8bMu9qgkG7Cx635x3/XpjsD9xceMqagBvYhuI6tA==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-SrWiaKM3AND2FQ732wtjAKol7XhCnRqit3tJShG4X0mT27Jb3zuhTI2dkfYVVMTJ23pjT/+0y+s/uGaBSirnBg==}+ engines: {node: '>= 18.0.0'}- '@glimmer/[email protected]':- resolution: {integrity: sha512-vQ+mzT9Vkf+JueY7L5XbZqK0WyEVTKv0HOLrw/zDw9F5Szn3F/8Ea/qbAClo3QK3oZeg+ulFTa/61rdjSFYHGA==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-eATSzBOUm0MZ9+YfJx7Y5p3gbwnaeMzLSSsCDn1ihDtUOIm5YYEV0ee0G7tXt/uKxowt8tXYn/EMbI9OlRF0CA==}+ engines: {node: '>= 18'}- '@glimmer/[email protected]':- resolution: {integrity: sha512-moRwafNDwHTnTHzyyZC9D+mUSvYrs1Ak0tRPjjmCghdoHHIvMshVbEnwKb/1WmW5CUlKc2eL9rlAV32n3GiItg==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-IWNz34Q5IYnh20M/3xVv9jIdCATQyaO+8sdUSyUqiz1bAblW5vTXUNXn3uFzGF+CnP6ZSgPxHN/c1sNMAh+lAA==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-DJ8DB33LxODjzCWRrxozHUaRqVyZj4p8jDLG42aCNmWo3smxrsjshcaVUwDmib24DW+dzR7kMc39ObMqT5zK0w==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-G7ZbC+T+rn7UliG8Y3cn7SIACh7K5HgCxgFhJxU15HtmTUObs52mVR1SyhUBsbs86JHlCqaGguKE1WqP1jt+2g==}'@glimmer/[email protected]':resolution: {integrity: sha512-JKF/a9I9jw6fGoz8kA7LEQslrwJ5jms5CXhu/aqkBWk+PmZ6pTl8mlb/eJ/5ujBGTiQzBhy5AIWF712iA+4/mw==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-tvlK5pt6oSe3furJ1KsO9vG/KmF9S98HLrcR48XbfwXlkuxvUeS94cdQId4GCN5naeX4OC4xm6eEjZWdc2s+jw==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-Yw9xkDReAcC5oS/hY3PjGrFKRygYFA4pdO7tvuxReoVOyUtjoBOAwHJUileiElERDdMWIMfoLema8Td1mqkjhA==}'@glimmer/[email protected]':resolution: {integrity: sha512-dk32ykoNojt0mvEaIW6Vli5MGTbQo58uy3Epj7ahCgTHmWOKuw/0G83f2UmFprRwFx689YTXG38I/vbpltEjzg==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-QwQeA01N+0h+TAi/J7iUnZtRuJy+093hNyagxDQBA6b1wCBw+q+al9+O6gmbWlkWE7EifzmNE1nnrgcecJBlJQ==}-'@glimmer/[email protected]':resolution: {integrity: sha512-k2xUOMmB5e8/tH+LqiUqYnrV3f2RFxPvo0i62xNvfFnZMayJwonUz97i7+V5E5dv82rckzVHNg0bWyNmMyCnqg==}'@glimmer/[email protected]':resolution: {integrity: sha512-sp/1WePvB/8O+jrcUHwjboNPTKrdGicuHKA9T/lh0vkYK2qM5Xz4i25lQMQ38tEMiw7KixrjHiTUiaXRld+IwA==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-YMoarZT/+Ft2YSd+Wuu5McVsdP9y6jeAdVQGYFpno3NlL3TXYbl7ELtK7OGxFLjzQE01BdiUZZRvcY+a/s9+CQ==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-AQT90eSRbgx6O4VnyRgR+y3SqKChPrpZs5stENa0UnqOSbt7dF6XdqAmllfznKFpLlKmJSV7JaVpCarVTR/JQQ==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-a5GME7HQJZFJPQDdSetQI6jjKXXQi0Vdr3WuUrYwhienVTV5LG0uClbFE2yYWC7TX97YDHpRrNk1CC258rujkQ==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-X90Xyru/TNi/ocq27ttT4zlMGK931J+pGL0eDYEkUX2fJYHd9Wm1idAB7MLJYIJarv/kuoxteiGThGIYkeNVaQ==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-WnZSBwxNqW/PPD/zfxEg6BVR5tHwTm8fp76piix8BNCQ6CuzVn6HUJ5SlvBsOwyoRCmzt/pkKmBJn+I675KG4w==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-LlBniSmtBoIlkxzPKHyOw4Nj946Cczelo8RAnqoG/egkHuk4hoO/7ycSgNpPvV3G14BA4Fpy5ExBffx6iuRxQQ==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-ZxmXIUCy6DOobhGDhA6kMpaXZS7HAucEgIl/qcjV9crlzGOO8H4j+n2x6nA/8zpuqvO0gYaBzqdNdu+7EgOEmw==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-xoclaVdCF4JH/yx8dHplCj6XFAa7ggwc7cyeOthRvTNGsp/J/CNKHT6NEkdERBYqy6tvg5GoONvWFdm8Wd5Uig==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-fkquujQ11lsGCWl/+XpZW2E7bjHj/g6/Ht292A7pSoANBD8Bz/gPYiPM+XuMwes9MApEsTEMjV4EXlyk2/Cirg==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-KA3TXYL2iDdR92pPnB/sw1tgIC7B40l2P60iD1sqkYbyxAbrUPHSToA1ycmK4DwmxDOT3Hz9dvpceoCMbh0xjA==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-Ud4LE689mEXL6BJnJx0ZPt2dt/A540C+TAnBFXHpcAjROz5gT337RN+tgajwudEUqpufExhcPSMGzs1pvWYCJg==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-FPoXBRMXJupO9nAq/Vw3EY/FCY3xbd+VALqZupyu6ds9vjNiKAkD9+ujIjYa1f+d/ez2ONhy8QjEFoBsyW2flA==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-ISqM/8hVh+fY/gnLAAPKfts4CvnJBOyCYAXgGccIlzzQrSVLaz0NoRiWTLGj5B/3xyPbqLwYPDvlTsOjYtvPoA==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-eRe9TmP02ESVXJn2ZOOEm/Hm/Ro7X0kRvZsU8OVtXOqWU8JxeKMwjCEiLbJBQKbYfycRy1u8jZ2wuH0qM/d3EQ==}'@glimmer/[email protected]':resolution: {integrity: sha512-ioVbTic6ZisLxqTgRBL2PCjYZTFIwobifCustrozRU2xGDiYvVIL0vt25h2c1ioDsX59UgVlDkIK4YTAQQSd2A==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-7wPKQmULyXCYf0KvbPmfrs/skPISH2QGR9atCnmDWnHyLv5SSZVLm1P0Ctrpta6+Ci3uGQb7hGk0IjsLEavcYQ==}-'@glimmer/[email protected]':resolution: {integrity: sha512-Dvq+Ni4Dcpn8kEiYN4ziTQxHrmPSchJCQJppXmFzdz77SFnhl0nWf7W8nnj88DNFEyBzKiTQCyCSuew4jrbgjA==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-OBw8DqMzKO4LX4kJBhwfTUqtpbd7O9amQXNTfb1aS7pufio5Vu5Qi6mRTfdFj6RyJ//aSI/l0kxWt6beYW0Apg==}+'@glimmer/[email protected]':resolution: {integrity: sha512-W/PHdODnpONsXjbbdY9nedgIHpglMfOzncf/moLVrKIcCfeQhw2vG07Rs/YW8KeJCgJRCLkQsi+Ix7XvrurGAg==}'@glimmer/[email protected]':resolution: {integrity: sha512-cyV32zsHh+CnftuRX84ALZpd2rpbDrhLhJnTXn9W//QpqdRZ5rdMsxSY9fOsj0CKEc706tmEU299oNnDc0d7tA==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-duAsm30uVK9jSysElCbLyU6QQYO2X9iLDLBIBUcCqck9qN1o3tK2qWiHbGK5d6g8E2AJ4H88UrfElkyaJlGrwg==}-'@glimmer/[email protected]':resolution: {integrity: sha512-qFkh6s16ZSRuu2rfz3T4Wp0fylFj3HBsONGXQcrAdZjdUaIS6v3pNj6mecJ71qRgcym9Hbaq/7/fefIwECUiKw==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-K1oH93gGU36slycxJ9CcFpUTsdOc4XQ6RuZFu5oRsxFYtEF5PSu7ik11h58fyeoaWOr1ebfkyAMawbeI2AJ5GA==}-'@glimmer/[email protected]':resolution: {integrity: sha512-EFLxpoGY+cEyi/GVyO5acBpyAlf0CLSvGjURbuWcKcOMtESO72KPJvJuLaAcRssHDqKtWKPO/Fs7nNl8wfn7Lg==}@@ -2284,18 +2266,15 @@ packages:'@glimmer/[email protected]':resolution: {integrity: sha512-i01plR0EgFVz69GDrEuFgq1NheIjZcyTy3c7q+w7d096ddPVeVcRzU3LKaqCfovvLJ+6lJx40j45ecycASUUyw==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-HKrMYeW0YhiksSeKYqX2chUR/rz82j12DcY7p2dORQlTV3qlAfiE5zRTJH1KRA1X3ZMf7DI2/GOzkXwYp0o+3Q==}-- '@glimmer/[email protected]':- resolution: {integrity: sha512-VpkKsHc3oiq9ruiwT7sN4RuOIc5n10PCeWX7tYSNZ85S1bETcAFn0XbyNjI+G3uFshQGEK0T8Fn3+/8VTNIQIg==}- engines: {node: '>=16'}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-vTP6hAcrxE5/0dG2w+tHSteXxgWmkBwMzu5ZTxMg+EkqthWl8B5r5skLiviQ6SdKAOBJGhzf6tF4ltHo5y83hQ==}- '@glimmer/[email protected]':- resolution: {integrity: sha512-DNMQz7nn2zRwKO1irVZ4alg1lH+VInwR3vkWVgobUs0yh7OoHVGXKMd5uxzIksqJEUw1XOX9Qgu/GYZB1PiH3w==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-+MjT+U/MsP7O32rXTYlvcmuiKtwI/PflokpVIW0M9wrkfFrsqgdhLQKvA+tNNxFW9LQ55zbhOtJweFNblHOvxg==}+ engines: {node: '>=18.18.0'}- '@glimmer/[email protected]':- resolution: {integrity: sha512-gFz81Q9+V7Xs0X8mSq6y8qacHm0dPaGJo2/Bfcsdow1hLOKNgTCLr4XeDBhRML8f6I6Gk9ugH4QDxyIOXOpC4w==}+ '@glimmer/[email protected]':+ resolution: {integrity: sha512-0E8BVNRE/1qlK9OQRUmGlQXwWmoco7vL3yIyLZpTWhbv22C1zEcM826wQT3ioaoUQSlvRsKKH6IEEUal2d3wxQ==}'@glimmer/[email protected]':resolution: {integrity: sha512-EHtdlZAZsOMBP6b9YC03OyduswqiT6Ei/mR/N1oR/4LZZ8lOyVgp6Q4H0TQW6jprWEiTMdHaO8/SEGTCrrhtUw==}@@ -4631,10 +4610,6 @@ packages:resolution: {integrity: sha512-g0weUTOnHmPGqVZzkQTl3Nbk9fzEdFkEXydCs5mT1qBjXh8eQ6VlmjjGD5/998UXKuA0pLSCVVMbSp/linLzGA==}- resolution: {integrity: sha512-lo5YArbJzJi5ssvaGqTt6+FnhTALnSvYVuxM7lfyL1UCMudyNJ94ovH5C7n5il7ATd6WsNiAPRUO/v+s5Jq/aA==}- engines: {node: 8.* || >= 10.*}-resolution: {integrity: sha512-gFA+ZwmsvvFwo2Jz/B9GMduEn+fPoGb69qWGP0Tp3+Tu5xypDtIKVSZ5086I3Cr19cLXD4HkrOR3YQvdUKzAkQ==}engines: {node: '>= 12.*'}@@ -4731,11 +4706,11 @@ packages:engines: {node: 10.* || 12.* || >= 14}hasBin: true- resolution: {integrity: sha512-2MWlJmQEeeiIk9p5CDMuvD470YPi7/4wXgU41ftbWc9svwF+0usoe4PLoLC0T/jV6YX+3SY5tumQfxLSLoFhmQ==}+ resolution: {integrity: sha512-Tmwt18cqDesjAmmvfshyrF4OZWBRhpRTUk5bpOuflh3qOWPJcASTMcktAx96lbqaL14TNpHGMaD5q3hur6Wj+A==}engines: {node: '>= 18.*'}peerDependencies:- '@glimmer/component': ^1.1.2+ '@glimmer/component': '>= 1.1.2'resolution: {integrity: sha512-jZ5D6KLKU8up/AynZltmKh4lkXBPgTGSPgomprI/55XvIVqn42UNUpEz7ra/mO3QiGODDZOUesbggPe49i38sQ==}@@ -5071,10 +5046,6 @@ packages:resolution: {integrity: sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==}engines: {node: '>=6'}- resolution: {integrity: sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw==}- engines: {node: ^8.12.0 || >=9.7.0}-resolution: {integrity: sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==}engines: {node: '>=10'}@@ -7005,10 +6976,6 @@ packages:resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==}engines: {node: '>=4'}- resolution: {integrity: sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==}- engines: {node: '>=8'}-resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==}engines: {node: '>=8'}@@ -7146,10 +7113,6 @@ packages:resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==}engines: {node: '>=4'}- resolution: {integrity: sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==}- engines: {node: '>=8'}-resolution: {integrity: sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==}engines: {node: '>=6'}@@ -9935,15 +9898,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':- dependencies:- '@babel/core': 7.28.3([email protected])- '@babel/helper-create-class-features-plugin': 7.28.3(@babel/[email protected])([email protected])- '@babel/helper-plugin-utils': 7.27.1- '@babel/plugin-syntax-typescript': 7.27.1(@babel/[email protected])- transitivePeerDependencies:- - supports-color-'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.28.3([email protected])@@ -10230,13 +10184,13 @@ snapshots:transitivePeerDependencies:- supports-color- '@ember/[email protected](@glint/[email protected])([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))':+ '@ember/[email protected](@glint/[email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))':dependencies:'@babel/core': 7.28.3([email protected])'@embroider/macros': 1.16.12(@glint/[email protected])ember-cli-babel: 8.2.0(@babel/[email protected])ember-modifier-manager-polyfill: 1.2.0(@babel/[email protected])- ember-source: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ ember-source: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])optionalDependencies:'@glint/template': 1.6.0-alpha.2transitivePeerDependencies:@@ -10257,15 +10211,6 @@ snapshots:- '@glint/template'- supports-color- '@ember/[email protected]':- dependencies:- calculate-cache-key-for-tree: 2.0.0- ember-cli-babel: 7.26.11- ember-cli-version-checker: 5.1.2- semver: 7.7.2- transitivePeerDependencies:- - supports-color-'@ember/[email protected](@glint/[email protected])':dependencies:'@embroider/addon-shim': 1.10.0@@ -10399,13 +10344,14 @@ snapshots:transitivePeerDependencies:- supports-color+ '@embroider/[email protected](@embroider/[email protected](@glint/[email protected]))(@glint/[email protected])':dependencies:- '@ember/test-waiters': 3.1.0+ '@ember/test-waiters': 4.1.1(@glint/[email protected])'@embroider/addon-shim': 1.10.0optionalDependencies:'@embroider/core': 3.5.5(@glint/[email protected])transitivePeerDependencies:+ - '@glint/template'- supports-color'@embroider/[email protected]([email protected])':@@ -10647,66 +10593,38 @@ snapshots:'@fullcalendar/core': 6.1.18'@fullcalendar/daygrid': 6.1.18(@fullcalendar/[email protected])- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/interfaces': 0.92.3- '@glimmer/syntax': 0.92.3- '@glimmer/util': 0.92.3- '@glimmer/vm': 0.92.3- '@glimmer/wire-format': 0.92.3+ '@glimmer/interfaces': 0.94.6+ '@glimmer/syntax': 0.94.9+ '@glimmer/util': 0.94.8+ '@glimmer/wire-format': 0.94.8- '@glimmer/[email protected](@babel/[email protected])':+ '@glimmer/[email protected]':dependencies:- '@glimmer/di': 0.1.11+ '@embroider/addon-shim': 1.10.0'@glimmer/env': 0.1.7- '@glimmer/util': 0.44.0- broccoli-file-creator: 2.1.1- broccoli-merge-trees: 3.0.2- ember-cli-babel: 7.26.11- ember-cli-get-component-path-option: 1.0.0- ember-cli-is-package-missing: 1.0.0- ember-cli-normalize-entity-name: 1.0.0- ember-cli-path-utils: 1.0.0- ember-cli-string-utils: 1.1.0- ember-cli-typescript: 3.0.0(@babel/[email protected])- ember-cli-version-checker: 3.1.3- ember-compatibility-helpers: 1.2.7(@babel/[email protected])transitivePeerDependencies:- - '@babel/core'- supports-color- '@glimmer/[email protected]':- dependencies:- '@glimmer/interfaces': 0.92.3- '@glimmer/util': 0.92.3- '@glimmer/vm': 0.92.3-- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/env': 0.1.7- '@glimmer/global-context': 0.92.3- '@glimmer/interfaces': 0.92.3- '@glimmer/util': 0.92.3-- '@glimmer/[email protected]': {}+ '@glimmer/global-context': 0.93.4+ '@glimmer/interfaces': 0.94.6- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/interfaces': 0.92.3- '@glimmer/vm': 0.92.3+ '@glimmer/interfaces': 0.94.6+ '@glimmer/vm': 0.94.8'@glimmer/[email protected]': {}- '@glimmer/[email protected]': {}+ '@glimmer/[email protected]': {}'@glimmer/[email protected]':dependencies:'@simple-dom/interface': 1.4.0- '@glimmer/[email protected]':- dependencies:- '@simple-dom/interface': 1.4.0-'@glimmer/[email protected]':dependencies:'@simple-dom/interface': 1.4.0@@ -10716,75 +10634,62 @@ snapshots:'@simple-dom/interface': 1.4.0type-fest: 4.41.0- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/debug': 0.92.4- '@glimmer/destroyable': 0.92.3- '@glimmer/env': 0.1.7- '@glimmer/global-context': 0.92.3- '@glimmer/interfaces': 0.92.3- '@glimmer/reference': 0.92.3- '@glimmer/util': 0.92.3- '@glimmer/validator': 0.92.3- '@glimmer/vm': 0.92.3-- '@glimmer/[email protected]':- dependencies:- '@glimmer/interfaces': 0.92.3- '@glimmer/runtime': 0.92.4- '@glimmer/util': 0.92.3- '@simple-dom/document': 1.4.0+ '@glimmer/destroyable': 0.94.8+ '@glimmer/global-context': 0.93.4+ '@glimmer/interfaces': 0.94.6+ '@glimmer/reference': 0.94.8+ '@glimmer/util': 0.94.8+ '@glimmer/validator': 0.94.8+ '@glimmer/vm': 0.94.8- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/debug': 0.92.4- '@glimmer/encoder': 0.92.3- '@glimmer/env': 0.1.7- '@glimmer/global-context': 0.92.3- '@glimmer/interfaces': 0.92.3- '@glimmer/manager': 0.92.4- '@glimmer/reference': 0.92.3- '@glimmer/util': 0.92.3- '@glimmer/vm': 0.92.3- '@glimmer/wire-format': 0.92.3+ '@glimmer/interfaces': 0.94.6+ '@glimmer/runtime': 0.94.10+ '@glimmer/util': 0.94.8+ '@simple-dom/document': 1.4.0- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/util': 0.92.3+ '@glimmer/encoder': 0.93.8+ '@glimmer/interfaces': 0.94.6+ '@glimmer/manager': 0.94.9+ '@glimmer/util': 0.94.8+ '@glimmer/vm': 0.94.8+ '@glimmer/wire-format': 0.94.8++ '@glimmer/[email protected]': {}- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/encoder': 0.92.3- '@glimmer/env': 0.1.7- '@glimmer/interfaces': 0.92.3- '@glimmer/manager': 0.92.4- '@glimmer/opcode-compiler': 0.92.4- '@glimmer/util': 0.92.3- '@glimmer/vm': 0.92.3- '@glimmer/wire-format': 0.92.3+ '@glimmer/interfaces': 0.94.6+ '@glimmer/manager': 0.94.9+ '@glimmer/opcode-compiler': 0.94.9+ '@glimmer/util': 0.94.8+ '@glimmer/vm': 0.94.8+ '@glimmer/wire-format': 0.94.8- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/env': 0.1.7- '@glimmer/global-context': 0.92.3- '@glimmer/interfaces': 0.92.3- '@glimmer/util': 0.92.3- '@glimmer/validator': 0.92.3+ '@glimmer/global-context': 0.93.4+ '@glimmer/interfaces': 0.94.6+ '@glimmer/util': 0.94.8+ '@glimmer/validator': 0.94.8- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/destroyable': 0.92.3- '@glimmer/env': 0.1.7- '@glimmer/global-context': 0.92.3- '@glimmer/interfaces': 0.92.3- '@glimmer/manager': 0.92.4- '@glimmer/owner': 0.92.3- '@glimmer/program': 0.92.4- '@glimmer/reference': 0.92.3- '@glimmer/util': 0.92.3- '@glimmer/validator': 0.92.3- '@glimmer/vm': 0.92.3- '@glimmer/wire-format': 0.92.3+ '@glimmer/destroyable': 0.94.8+ '@glimmer/global-context': 0.93.4+ '@glimmer/interfaces': 0.94.6+ '@glimmer/manager': 0.94.9+ '@glimmer/owner': 0.93.4+ '@glimmer/program': 0.94.9+ '@glimmer/reference': 0.94.8+ '@glimmer/util': 0.94.8+ '@glimmer/validator': 0.94.8+ '@glimmer/vm': 0.94.8'@glimmer/[email protected]':dependencies:@@ -10793,14 +10698,6 @@ snapshots:'@handlebars/parser': 2.0.0simple-html-tokenizer: 0.5.11- '@glimmer/[email protected]':- dependencies:- '@glimmer/interfaces': 0.92.3- '@glimmer/util': 0.92.3- '@glimmer/wire-format': 0.92.3- '@handlebars/parser': 2.0.0- simple-html-tokenizer: 0.5.11-'@glimmer/[email protected]':dependencies:'@glimmer/interfaces': 0.93.0@@ -10809,6 +10706,14 @@ snapshots:'@handlebars/parser': 2.0.0simple-html-tokenizer: 0.5.11+ '@glimmer/[email protected]':+ dependencies:+ '@glimmer/interfaces': 0.94.6+ '@glimmer/util': 0.94.8+ '@glimmer/wire-format': 0.94.8+ '@handlebars/parser': 2.0.0+ simple-html-tokenizer: 0.5.11+'@glimmer/[email protected]':dependencies:'@glimmer/interfaces': 0.94.6@@ -10822,19 +10727,12 @@ snapshots:'@glimmer/env': 0.1.7'@glimmer/validator': 0.44.0- '@glimmer/[email protected]': {}-'@glimmer/[email protected]':dependencies:'@glimmer/env': 0.1.7'@glimmer/interfaces': 0.84.3'@simple-dom/interface': 1.4.0- '@glimmer/[email protected]':- dependencies:- '@glimmer/env': 0.1.7- '@glimmer/interfaces': 0.92.3-'@glimmer/[email protected]':dependencies:'@glimmer/env': 0.1.7@@ -10846,28 +10744,20 @@ snapshots:'@glimmer/[email protected]': {}- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/env': 0.1.7- '@glimmer/global-context': 0.92.3- '@glimmer/interfaces': 0.92.3- '@glimmer/util': 0.92.3+ '@glimmer/global-context': 0.93.4+ '@glimmer/interfaces': 0.94.6- '@glimmer/[email protected](@babel/[email protected])':+ '@glimmer/[email protected](@babel/[email protected])':dependencies:babel-plugin-debug-macros: 0.3.4(patch_hash=wki6cycbrrm5sscamn5w4cujby)(@babel/[email protected])transitivePeerDependencies:- '@babel/core'- '@glimmer/[email protected]':+ '@glimmer/[email protected]':dependencies:- '@glimmer/interfaces': 0.92.3- '@glimmer/util': 0.92.3-- '@glimmer/[email protected]':- dependencies:- '@glimmer/interfaces': 0.92.3- '@glimmer/util': 0.92.3+ '@glimmer/interfaces': 0.94.6'@glimmer/[email protected]':dependencies:@@ -10903,19 +10793,19 @@ snapshots:transitivePeerDependencies:- supports-color- '@glint/[email protected](@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected]))':+ '@glint/[email protected](@glimmer/[email protected])(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected]))':dependencies:- '@glimmer/component': 1.1.2(@babel/[email protected])+ '@glimmer/component': 2.0.0'@glint/core': 2.0.0-alpha.3([email protected])'@glint/template': 1.6.0-alpha.2optionalDependencies:ember-cli-htmlbars: 6.3.0ember-modifier: 4.2.2(@babel/[email protected])- '@glint/[email protected](@glint/[email protected]([email protected]))(@glint/[email protected](@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected])))(@glint/[email protected])':+ '@glint/[email protected](@glint/[email protected]([email protected]))(@glint/[email protected](@glimmer/[email protected])(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected])))(@glint/[email protected])':dependencies:'@glint/core': 2.0.0-alpha.3([email protected])- '@glint/environment-ember-loose': 2.0.0-alpha.3(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected]))+ '@glint/environment-ember-loose': 2.0.0-alpha.3(@glimmer/[email protected])(@glint/[email protected]([email protected]))(@glint/[email protected])([email protected])([email protected](@babel/[email protected]))'@glint/template': 1.6.0-alpha.2content-tag: 3.1.3@@ -13441,7 +13331,7 @@ snapshots:- '@babel/core'- supports-color- [email protected](@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))):+ [email protected](@babel/[email protected])(@glint/[email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])):dependencies:'@embroider/macros': 1.16.12(@glint/[email protected])'@glimmer/tracking': 1.1.2@@ -13449,16 +13339,16 @@ snapshots:ember-cache-primitive-polyfill: 1.0.1(@babel/[email protected])ember-cli-babel: 7.26.11ember-cli-babel-plugin-helpers: 1.1.1- ember-source: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ ember-source: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])transitivePeerDependencies:- '@babel/core'- '@glint/template'- supports-color- [email protected]([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))):+ [email protected]([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])):dependencies:ember-cli-babel: 7.26.11- ember-source: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ ember-source: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])git-repo-info: 2.1.1transitivePeerDependencies:- supports-color@@ -13533,11 +13423,11 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected]([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))):+ [email protected]([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])):dependencies:'@babel/core': 7.28.3([email protected])ember-cli-babel: 8.2.0(@babel/[email protected])- ember-source: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ ember-source: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])transitivePeerDependencies:- supports-color@@ -13626,23 +13516,6 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@babel/[email protected]):- dependencies:- '@babel/plugin-transform-typescript': 7.5.5(@babel/[email protected])- ansi-to-html: 0.6.15- debug: 4.4.1([email protected])- ember-cli-babel-plugin-helpers: 1.1.1- execa: 2.1.0- fs-extra: 8.1.0- resolve: 1.22.10- rsvp: 4.8.5- semver: 6.3.1- stagehand: 1.0.1- walk-sync: 2.2.0- transitivePeerDependencies:- - '@babel/core'- - supports-color-dependencies:ansi-to-html: 0.6.15@@ -13869,7 +13742,7 @@ snapshots:- eslint- typescript- [email protected](@glint/[email protected])([email protected](@ember/[email protected](@babel/[email protected])(@glint/[email protected]))(@glint/[email protected])([email protected]))([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])))([email protected])([email protected](@swc/[email protected])([email protected])):+ [email protected](@glint/[email protected])([email protected](@ember/[email protected](@babel/[email protected])(@glint/[email protected]))(@glint/[email protected])([email protected]))([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]))([email protected])([email protected](@swc/[email protected])([email protected])):dependencies:'@babel/core': 7.28.3([email protected])chalk: 5.4.1@@ -13878,7 +13751,7 @@ snapshots:ember-auto-import: 2.10.0(@glint/[email protected])([email protected](@swc/[email protected])([email protected]))ember-cli-babel: 8.2.0(@babel/[email protected])ember-qunit: 9.0.3(@ember/[email protected](@babel/[email protected])(@glint/[email protected]))(@glint/[email protected])([email protected])- ember-source: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ ember-source: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])execa: 8.0.1fs-extra: 11.3.0js-yaml: 4.1.0@@ -13892,9 +13765,9 @@ snapshots:- supports-color- webpack- [email protected]([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))):+ [email protected]([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])):dependencies:- ember-source: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ ember-source: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])[email protected](@babel/[email protected]):dependencies:@@ -13954,35 +13827,34 @@ snapshots:transitivePeerDependencies:- encoding- [email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected])):+ [email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected]):dependencies:'@babel/core': 7.28.3([email protected])'@ember/edition-utils': 1.2.0- '@glimmer/compiler': 0.92.4- '@glimmer/component': 1.1.2(@babel/[email protected])- '@glimmer/destroyable': 0.92.3- '@glimmer/env': 0.1.7- '@glimmer/global-context': 0.92.3- '@glimmer/interfaces': 0.92.3- '@glimmer/manager': 0.92.4- '@glimmer/node': 0.92.4- '@glimmer/opcode-compiler': 0.92.4- '@glimmer/owner': 0.92.3- '@glimmer/program': 0.92.4- '@glimmer/reference': 0.92.3- '@glimmer/runtime': 0.92.4- '@glimmer/syntax': 0.92.3- '@glimmer/util': 0.92.3- '@glimmer/validator': 0.92.3- '@glimmer/vm': 0.92.3- '@glimmer/vm-babel-plugins': 0.92.3(@babel/[email protected])+ '@embroider/addon-shim': 1.10.0+ '@glimmer/compiler': 0.94.10+ '@glimmer/component': 2.0.0+ '@glimmer/destroyable': 0.94.8+ '@glimmer/global-context': 0.93.4+ '@glimmer/interfaces': 0.94.6+ '@glimmer/manager': 0.94.9+ '@glimmer/node': 0.94.9+ '@glimmer/opcode-compiler': 0.94.9+ '@glimmer/owner': 0.93.4+ '@glimmer/program': 0.94.9+ '@glimmer/reference': 0.94.8+ '@glimmer/runtime': 0.94.10+ '@glimmer/syntax': 0.94.9+ '@glimmer/util': 0.94.8+ '@glimmer/validator': 0.94.8+ '@glimmer/vm': 0.94.8+ '@glimmer/vm-babel-plugins': 0.93.4(@babel/[email protected])'@simple-dom/interface': 1.4.0backburner.js: 2.8.0broccoli-file-creator: 2.1.1broccoli-funnel: 3.0.8broccoli-merge-trees: 4.2.0chalk: 4.1.2- ember-auto-import: 2.10.0(@glint/[email protected])([email protected](@swc/[email protected])([email protected]))ember-cli-babel: 8.2.0(@babel/[email protected])ember-cli-get-component-path-option: 1.0.0ember-cli-is-package-missing: 1.0.0@@ -13999,10 +13871,8 @@ snapshots:silent-error: 1.1.1simple-html-tokenizer: 0.5.11transitivePeerDependencies:- - '@glint/template'- rsvp- supports-color- - webpackdependencies:@@ -14026,7 +13896,7 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](patch_hash=znalyv6akdxlqfpmxunrdi3osa)([email protected])([email protected](patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))):+ [email protected](patch_hash=znalyv6akdxlqfpmxunrdi3osa)([email protected])([email protected](patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])):dependencies:'@glimmer/syntax': 0.84.3babel-plugin-ember-template-compilation: 2.4.1@@ -14034,7 +13904,7 @@ snapshots:ember-cli-babel: 7.26.11ember-cli-htmlbars: 6.3.0ember-cli-typescript: 5.3.0- ember-source: 5.12.0(patch_hash=pqnuctuxbp6ekxyjszyhrgmysm)(@glimmer/[email protected](@babel/[email protected]))(@glint/[email protected])([email protected])([email protected](@swc/[email protected])([email protected]))+ ember-source: 6.6.0(patch_hash=tyhbf7f4uxnr3gt4x2tdcudbva)(@glimmer/[email protected])([email protected])lodash: 4.17.21winston: 3.14.2zod: 3.25.76@@ -14462,18 +14332,6 @@ snapshots:signal-exit: 3.0.7strip-eof: 1.0.0- dependencies:- cross-spawn: 7.0.6- get-stream: 5.2.0- is-stream: 2.0.1- merge-stream: 2.0.0- npm-run-path: 3.1.0- onetime: 5.1.2- p-finally: 2.0.1- signal-exit: 3.0.7- strip-final-newline: 2.0.0-dependencies:cross-spawn: 7.0.6@@ -16687,10 +16545,6 @@ snapshots:dependencies:path-key: 2.0.1- dependencies:- path-key: 3.1.1-dependencies:path-key: 3.1.1@@ -16852,8 +16706,6 @@ snapshots:- [email protected]: {}-diff --git a/themes/horizon/test/integration/helpers/action-test.js b/themes/horizon/test/integration/helpers/action-test.jsnew file mode 100644index 00000000000..5f0e4839138--- /dev/null+++ b/themes/horizon/test/integration/helpers/action-test.js@@ -0,0 +1,66 @@+// eslint-disable-next-line ember/no-classic-components+import Component from "@ember/component";+import { action } from "@ember/object";+import { click, render } from "@ember/test-helpers";+import { hbs } from "ember-cli-htmlbars";+import { module, test } from "qunit";+import { withSilencedDeprecationsAsync } from "discourse/lib/deprecated";+import { setupRenderingTest } from "discourse/tests/helpers/component-test";++class FooString extends Component {+ layout = hbs`<button {{on "click" (action "bar" 123)}}>test</button>`;++ @action+ bar(value) {+ this.callback(value);+ }+}++class FooReference extends Component {+ layout = hbs`<button {{on "click" (action this.bar)}}>test</button>`;++ @action+ bar() {+ this.callback();+ }+}++// This is a core test but has to be in a theme since the transform+// (that injects `this` into actions' params) is applied only to+// themes and plugins+module("Integration | Helper | action", function (hooks) {+ setupRenderingTest(hooks);++ test("string argument", async function (assert) {+ this.registry.register("component:foo", FooString);+ this.callback = (value) => {+ assert.step("called");+ assert.strictEqual(value, 123);+ };++ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<Foo @callback={{this.callback}} />`);+ }+ );++ await click("button");+ assert.verifySteps(["called"]);+ });++ test("reference argument", async function (assert) {+ this.registry.register("component:foo", FooReference);+ this.callback = () => assert.step("called");++ await withSilencedDeprecationsAsync(+ "discourse.template-action",+ async () => {+ await render(hbs`<Foo @callback={{this.callback}} />`);+ }+ );++ await click("button");+ assert.verifySteps(["called"]);+ });+});