ember-source 4.4.0-alpha.1 → 4.4.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/blueprints/acceptance-test/mocha-files/tests/acceptance/__name__-test.js +4 -4
  3. package/blueprints/acceptance-test/mocha-rfc-232-files/tests/acceptance/__name__-test.js +3 -3
  4. package/blueprints/acceptance-test/qunit-files/tests/acceptance/__name__-test.js +2 -2
  5. package/blueprints/acceptance-test/qunit-rfc-232-files/tests/acceptance/__name__-test.js +3 -3
  6. package/blueprints/component/index.js +2 -2
  7. package/blueprints/component-class/index.js +2 -2
  8. package/blueprints/component-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +4 -4
  9. package/blueprints/component-test/mocha-files/__root__/__testType__/__path__/__test__.js +7 -5
  10. package/blueprints/component-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +6 -6
  11. package/blueprints/component-test/qunit-files/__root__/__testType__/__path__/__test__.js +4 -4
  12. package/blueprints/component-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +6 -6
  13. package/blueprints/controller/files/__root__/__path__/__name__.js +1 -2
  14. package/blueprints/controller-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +2 -2
  15. package/blueprints/controller-test/mocha-files/__root__/__testType__/__path__/__test__.js +5 -3
  16. package/blueprints/controller-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +3 -3
  17. package/blueprints/controller-test/qunit-files/__root__/__testType__/__path__/__test__.js +1 -1
  18. package/blueprints/controller-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +3 -3
  19. package/blueprints/helper/files/__root__/__collection__/__name__.js +1 -1
  20. package/blueprints/helper/mu-files/__root__/__collection__/__name__.js +1 -1
  21. package/blueprints/helper-test/mocha-0.12-files/__root__/__testType__/__collection__/__name__-test.js +3 -3
  22. package/blueprints/helper-test/mocha-files/__root__/__testType__/__collection__/__name__-test.js +6 -4
  23. package/blueprints/helper-test/mocha-rfc-232-files/__root__/__testType__/__collection__/__name__-test.js +3 -3
  24. package/blueprints/helper-test/qunit-files/__root__/__testType__/__collection__/__name__-test.js +2 -2
  25. package/blueprints/helper-test/qunit-rfc-232-files/__root__/__testType__/__collection__/__name__-test.js +3 -3
  26. package/blueprints/initializer/files/__root__/initializers/__name__.js +2 -3
  27. package/blueprints/initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +6 -7
  28. package/blueprints/initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +5 -5
  29. package/blueprints/initializer-test/qunit-files/__root__/__testType__/__path__/__name__-test.js +3 -4
  30. package/blueprints/instance-initializer/files/__root__/instance-initializers/__name__.js +2 -3
  31. package/blueprints/instance-initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js +5 -5
  32. package/blueprints/instance-initializer-test/mocha-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +5 -5
  33. package/blueprints/instance-initializer-test/qunit-files/__root__/__testType__/__path__/__name__-test.js +2 -2
  34. package/blueprints/mixin/files/__root__/mixins/__name__.js +1 -2
  35. package/blueprints/mixin-test/mocha-files/__root__/__testType__/__name__-test.js +2 -2
  36. package/blueprints/mixin-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.js +2 -2
  37. package/blueprints/mixin-test/qunit-files/__root__/__testType__/__name__-test.js +1 -1
  38. package/blueprints/mixin-test/qunit-rfc-232-files/__root__/__testType__/__name__-test.js +1 -1
  39. package/blueprints/route/files/__root__/__path__/__name__.js +2 -2
  40. package/blueprints/route-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +2 -2
  41. package/blueprints/route-test/mocha-files/__root__/__testType__/__path__/__test__.js +5 -3
  42. package/blueprints/route-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +3 -3
  43. package/blueprints/route-test/qunit-files/__root__/__testType__/__path__/__test__.js +1 -1
  44. package/blueprints/route-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +3 -3
  45. package/blueprints/service/files/__root__/__path__/__name__.js +1 -2
  46. package/blueprints/service-test/mocha-0.12-files/__root__/__testType__/__path__/__test__.js +2 -2
  47. package/blueprints/service-test/mocha-files/__root__/__testType__/__path__/__test__.js +5 -3
  48. package/blueprints/service-test/mocha-rfc-232-files/__root__/__testType__/__path__/__test__.js +3 -3
  49. package/blueprints/service-test/qunit-files/__root__/__testType__/__path__/__test__.js +1 -1
  50. package/blueprints/service-test/qunit-rfc-232-files/__root__/__testType__/__path__/__test__.js +3 -3
  51. package/blueprints/util-test/mocha-files/__root__/__testType__/__name__-test.js +2 -2
  52. package/blueprints/util-test/mocha-rfc-232-files/__root__/__testType__/__name__-test.js +2 -2
  53. package/blueprints/util-test/qunit-files/__root__/__testType__/__name__-test.js +1 -1
  54. package/blueprints/util-test/qunit-rfc-232-files/__root__/__testType__/__name__-test.js +2 -3
  55. package/build-metadata.json +3 -3
  56. package/dist/dependencies/router_js.js +1 -1
  57. package/dist/ember-template-compiler.js +20 -143
  58. package/dist/ember-template-compiler.map +1 -1
  59. package/dist/ember-testing.js +5 -3
  60. package/dist/ember-testing.map +1 -1
  61. package/dist/ember.debug.js +1132 -1719
  62. package/dist/ember.debug.map +1 -1
  63. package/dist/header/license.js +1 -1
  64. package/dist/packages/@ember/-internals/container/index.js +3 -19
  65. package/dist/packages/@ember/-internals/extension-support/lib/container_debug_adapter.js +10 -19
  66. package/dist/packages/@ember/-internals/extension-support/lib/data_adapter.js +113 -112
  67. package/dist/packages/@ember/-internals/glimmer/index.js +163 -773
  68. package/dist/packages/@ember/-internals/metal/index.js +19 -32
  69. package/dist/packages/@ember/-internals/routing/lib/location/hash_location.js +1 -1
  70. package/dist/packages/@ember/-internals/routing/lib/services/router.js +67 -12
  71. package/dist/packages/@ember/-internals/routing/lib/services/routing.js +2 -0
  72. package/dist/packages/@ember/-internals/routing/lib/system/generate_controller.js +3 -1
  73. package/dist/packages/@ember/-internals/routing/lib/system/route.js +15 -7
  74. package/dist/packages/@ember/-internals/routing/lib/system/router.js +16 -21
  75. package/dist/packages/@ember/-internals/routing/lib/utils.js +2 -1
  76. package/dist/packages/@ember/-internals/runtime/lib/compare.js +19 -5
  77. package/dist/packages/@ember/-internals/runtime/lib/ext/rsvp.js +8 -4
  78. package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +1 -1
  79. package/dist/packages/@ember/-internals/runtime/lib/mixins/array.js +1 -1
  80. package/dist/packages/@ember/-internals/runtime/lib/mixins/comparable.js +4 -4
  81. package/dist/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +29 -29
  82. package/dist/packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js +16 -16
  83. package/dist/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +51 -50
  84. package/dist/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +8 -8
  85. package/dist/packages/@ember/-internals/utils/index.js +1 -1
  86. package/dist/packages/@ember/-internals/views/lib/system/utils.js +4 -2
  87. package/dist/packages/@ember/-internals/views/lib/views/core_view.js +5 -22
  88. package/dist/packages/@ember/application/instance.js +3 -3
  89. package/dist/packages/@ember/canary-features/index.js +4 -12
  90. package/dist/packages/@ember/debug/index.js +1 -1
  91. package/dist/packages/@ember/debug/lib/capture-render-tree.js +2 -0
  92. package/dist/packages/@ember/debug/lib/handlers.js +1 -1
  93. package/dist/packages/@ember/renderer/index.js +21 -0
  94. package/dist/packages/@ember/runloop/index.js +31 -528
  95. package/dist/packages/@ember/runloop/type-tests.ts/begin-end.test.js +5 -0
  96. package/dist/packages/@ember/runloop/type-tests.ts/bind.test.js +59 -0
  97. package/dist/packages/@ember/runloop/type-tests.ts/cancel.test.js +5 -0
  98. package/dist/packages/@ember/runloop/type-tests.ts/debounce.test.js +77 -0
  99. package/dist/packages/@ember/runloop/type-tests.ts/join.test.js +38 -0
  100. package/dist/packages/@ember/runloop/type-tests.ts/later.test.js +38 -0
  101. package/dist/packages/@ember/runloop/type-tests.ts/next.test.js +38 -0
  102. package/dist/packages/@ember/runloop/type-tests.ts/once.test.js +38 -0
  103. package/dist/packages/@ember/runloop/type-tests.ts/run.test.js +38 -0
  104. package/dist/packages/@ember/runloop/type-tests.ts/schedule-once.test.js +39 -0
  105. package/dist/packages/@ember/runloop/type-tests.ts/schedule.test.js +39 -0
  106. package/dist/packages/@ember/runloop/type-tests.ts/throttle.test.js +77 -0
  107. package/dist/packages/ember/index.js +4 -14
  108. package/dist/packages/ember/version.js +1 -1
  109. package/docs/data.json +658 -383
  110. package/package.json +10 -10
@@ -1,4 +1,3 @@
1
1
  import Mixin from '@ember/object/mixin';
2
2
 
3
- export default Mixin.create({
4
- });
3
+ export default Mixin.create({});
@@ -3,9 +3,9 @@ import { describe, it } from 'mocha';
3
3
  import EmberObject from '@ember/object';
4
4
  import <%= classifiedModuleName %>Mixin from '<%= dasherizedPackageName %>/mixins/<%= dasherizedModuleName %>';
5
5
 
6
- describe('<%= friendlyTestName %>', function() {
6
+ describe('<%= friendlyTestName %>', function () {
7
7
  // TODO: Replace this with your real tests.
8
- it('works', function() {
8
+ it('works', function () {
9
9
  let <%= classifiedModuleName %>Object = EmberObject.extend(<%= classifiedModuleName %>Mixin);
10
10
  let subject = <%= classifiedModuleName %>Object.create();
11
11
  expect(subject).to.be.ok;
@@ -3,9 +3,9 @@ import { describe, it } from 'mocha';
3
3
  import EmberObject from '@ember/object';
4
4
  import <%= classifiedModuleName %>Mixin from '<%= dasherizedPackageName %>/mixins/<%= dasherizedModuleName %>';
5
5
 
6
- describe('<%= friendlyTestName %>', function() {
6
+ describe('<%= friendlyTestName %>', function () {
7
7
  // TODO: Replace this with your real tests.
8
- it('works', function() {
8
+ it('works', function () {
9
9
  let <%= classifiedModuleName %>Object = EmberObject.extend(<%= classifiedModuleName %>Mixin);
10
10
  let subject = <%= classifiedModuleName %>Object.create();
11
11
  expect(subject).to.be.ok;
@@ -5,7 +5,7 @@ import { module, test } from 'qunit';
5
5
  module('<%= friendlyTestName %>');
6
6
 
7
7
  // TODO: Replace this with your real tests.
8
- test('it works', function(assert) {
8
+ test('it works', function (assert) {
9
9
  let <%= classifiedModuleName %>Object = EmberObject.extend(<%= classifiedModuleName %>Mixin);
10
10
  let subject = <%= classifiedModuleName %>Object.create();
11
11
  assert.ok(subject);
@@ -2,7 +2,7 @@ import EmberObject from '@ember/object';
2
2
  import <%= classifiedModuleName %>Mixin from '<%= projectName %>/mixins/<%= dasherizedModuleName %>';
3
3
  import { module, test } from 'qunit';
4
4
 
5
- module('<%= friendlyTestName %>', function() {
5
+ module('<%= friendlyTestName %>', function () {
6
6
  // TODO: Replace this with your real tests.
7
7
  test('it works', function (assert) {
8
8
  let <%= classifiedModuleName %>Object = EmberObject.extend(<%= classifiedModuleName %>Mixin);
@@ -7,5 +7,5 @@ export default class <%= classifiedModuleName %>Route extends Route {<% if (hasD
7
7
  * based on that dynamic segment here in the model hook.
8
8
  */
9
9
  return params;
10
- }<%}%>
11
- }
10
+ }
11
+ <%}%>}
@@ -2,13 +2,13 @@ import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
3
  import { setupTest } from 'ember-mocha';
4
4
 
5
- describe('<%= friendlyTestDescription %>', function() {
5
+ describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest('route:<%= moduleName %>', {
7
7
  // Specify the other units that are required for this test.
8
8
  // needs: ['controller:foo']
9
9
  });
10
10
 
11
- it('exists', function() {
11
+ it('exists', function () {
12
12
  let route = this.subject();
13
13
  expect(route).to.be.ok;
14
14
  });
@@ -1,13 +1,15 @@
1
1
  import { expect } from 'chai';
2
2
  import { describeModule, it } from 'ember-mocha';
3
3
 
4
- describeModule('route:<%= moduleName %>', '<%= friendlyTestDescription %>',
4
+ describeModule(
5
+ 'route:<%= moduleName %>',
6
+ '<%= friendlyTestDescription %>',
5
7
  {
6
8
  // Specify the other units that are required for this test.
7
9
  // needs: ['controller:foo']
8
10
  },
9
- function() {
10
- it('exists', function() {
11
+ function () {
12
+ it('exists', function () {
11
13
  let route = this.subject();
12
14
  expect(route).to.be.ok;
13
15
  });
@@ -1,11 +1,11 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupTest } from 'ember-mocha';
3
+ import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
4
4
 
5
- describe('<%= friendlyTestDescription %>', function() {
5
+ describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest();
7
7
 
8
- it('exists', function() {
8
+ it('exists', function () {
9
9
  let route = this.owner.lookup('route:<%= dasherizedModuleName %>');
10
10
  expect(route).to.be.ok;
11
11
  });
@@ -5,7 +5,7 @@ moduleFor('route:<%= moduleName %>', '<%= friendlyTestDescription %>', {
5
5
  // needs: ['controller:foo']
6
6
  });
7
7
 
8
- test('it exists', function(assert) {
8
+ test('it exists', function (assert) {
9
9
  let route = this.subject();
10
10
  assert.ok(route);
11
11
  });
@@ -1,10 +1,10 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupTest } from 'ember-qunit';
2
+ import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
3
 
4
- module('<%= friendlyTestDescription %>', function(hooks) {
4
+ module('<%= friendlyTestDescription %>', function (hooks) {
5
5
  setupTest(hooks);
6
6
 
7
- test('it exists', function(assert) {
7
+ test('it exists', function (assert) {
8
8
  let route = this.owner.lookup('route:<%= moduleName %>');
9
9
  assert.ok(route);
10
10
  });
@@ -1,4 +1,3 @@
1
1
  import Service from '@ember/service';
2
2
 
3
- export default class <%= classifiedModuleName %>Service extends Service {
4
- }
3
+ export default class <%= classifiedModuleName %>Service extends Service {}
@@ -2,14 +2,14 @@ import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
3
  import { setupTest } from 'ember-mocha';
4
4
 
5
- describe('<%= friendlyTestDescription %>', function() {
5
+ describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest('service:<%= dasherizedModuleName %>', {
7
7
  // Specify the other units that are required for this test.
8
8
  // needs: ['service:foo']
9
9
  });
10
10
 
11
11
  // TODO: Replace this with your real tests.
12
- it('exists', function() {
12
+ it('exists', function () {
13
13
  let service = this.subject();
14
14
  expect(service).to.be.ok;
15
15
  });
@@ -1,14 +1,16 @@
1
1
  import { expect } from 'chai';
2
2
  import { describeModule, it } from 'ember-mocha';
3
3
 
4
- describeModule('service:<%= dasherizedModuleName %>', '<%= friendlyTestDescription %>',
4
+ describeModule(
5
+ 'service:<%= dasherizedModuleName %>',
6
+ '<%= friendlyTestDescription %>',
5
7
  {
6
8
  // Specify the other units that are required for this test.
7
9
  // needs: ['service:foo']
8
10
  },
9
- function() {
11
+ function () {
10
12
  // TODO: Replace this with your real tests.
11
- it('exists', function() {
13
+ it('exists', function () {
12
14
  let service = this.subject();
13
15
  expect(service).to.be.ok;
14
16
  });
@@ -1,12 +1,12 @@
1
1
  import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
- import { setupTest } from 'ember-mocha';
3
+ import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
4
4
 
5
- describe('<%= friendlyTestDescription %>', function() {
5
+ describe('<%= friendlyTestDescription %>', function () {
6
6
  setupTest();
7
7
 
8
8
  // TODO: Replace this with your real tests.
9
- it('exists', function() {
9
+ it('exists', function () {
10
10
  let service = this.owner.lookup('service:<%= dasherizedModuleName %>');
11
11
  expect(service).to.be.ok;
12
12
  });
@@ -6,7 +6,7 @@ moduleFor('service:<%= dasherizedModuleName %>', '<%= friendlyTestDescription %>
6
6
  });
7
7
 
8
8
  // TODO: Replace this with your real tests.
9
- test('it exists', function(assert) {
9
+ test('it exists', function (assert) {
10
10
  let service = this.subject();
11
11
  assert.ok(service);
12
12
  });
@@ -1,11 +1,11 @@
1
1
  import { module, test } from 'qunit';
2
- import { setupTest } from 'ember-qunit';
2
+ import { setupTest } from '<%= dasherizedPackageName %>/tests/helpers';
3
3
 
4
- module('<%= friendlyTestDescription %>', function(hooks) {
4
+ module('<%= friendlyTestDescription %>', function (hooks) {
5
5
  setupTest(hooks);
6
6
 
7
7
  // TODO: Replace this with your real tests.
8
- test('it exists', function(assert) {
8
+ test('it exists', function (assert) {
9
9
  let service = this.owner.lookup('service:<%= dasherizedModuleName %>');
10
10
  assert.ok(service);
11
11
  });
@@ -2,9 +2,9 @@ import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
3
  import <%= camelizedModuleName %> from '<%= dasherizedPackageName %>/utils/<%= dasherizedModuleName %>';
4
4
 
5
- describe('<%= friendlyTestName %>', function() {
5
+ describe('<%= friendlyTestName %>', function () {
6
6
  // TODO: Replace this with your real tests.
7
- it('works', function() {
7
+ it('works', function () {
8
8
  let result = <%= camelizedModuleName %>();
9
9
  expect(result).to.be.ok;
10
10
  });
@@ -2,9 +2,9 @@ import { expect } from 'chai';
2
2
  import { describe, it } from 'mocha';
3
3
  import <%= camelizedModuleName %> from '<%= dasherizedPackageName %>/utils/<%= dasherizedModuleName %>';
4
4
 
5
- describe('<%= friendlyTestName %>', function() {
5
+ describe('<%= friendlyTestName %>', function () {
6
6
  // TODO: Replace this with your real tests.
7
- it('works', function() {
7
+ it('works', function () {
8
8
  let result = <%= camelizedModuleName %>();
9
9
  expect(result).to.be.ok;
10
10
  });
@@ -4,7 +4,7 @@ import { module, test } from 'qunit';
4
4
  module('<%= friendlyTestName %>');
5
5
 
6
6
  // TODO: Replace this with your real tests.
7
- test('it works', function(assert) {
7
+ test('it works', function (assert) {
8
8
  let result = <%= camelizedModuleName %>();
9
9
  assert.ok(result);
10
10
  });
@@ -1,10 +1,9 @@
1
1
  import <%= camelizedModuleName %> from '<%= dasherizedModulePrefix %>/utils/<%= dasherizedModuleName %>';
2
2
  import { module, test } from 'qunit';
3
3
 
4
- module('<%= friendlyTestName %>', function() {
5
-
4
+ module('<%= friendlyTestName %>', function () {
6
5
  // TODO: Replace this with your real tests.
7
- test('it works', function(assert) {
6
+ test('it works', function (assert) {
8
7
  let result = <%= camelizedModuleName %>();
9
8
  assert.ok(result);
10
9
  });
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "4.4.0-alpha.1",
2
+ "version": "4.4.0-alpha.4",
3
3
  "buildType": "tag",
4
- "SHA": "7b362c5b1ce50f1b0d7ce12ed8cf35b40c3edda2",
5
- "assetPath": "/tag/shas/7b362c5b1ce50f1b0d7ce12ed8cf35b40c3edda2.tgz"
4
+ "SHA": "b1dee49c720b6e353fba9d910232e0e432ba6177",
5
+ "assetPath": "/tag/shas/b1dee49c720b6e353fba9d910232e0e432ba6177.tgz"
6
6
  }
@@ -1386,7 +1386,7 @@ class Router {
1386
1386
  doTransition(name, modelsArray = [], isIntermediate = false) {
1387
1387
  let lastArg = modelsArray[modelsArray.length - 1];
1388
1388
  let queryParams = {};
1389
- if (lastArg !== undefined && lastArg.hasOwnProperty('queryParams')) {
1389
+ if (lastArg && Object.prototype.hasOwnProperty.call(lastArg, 'queryParams')) {
1390
1390
  // We just checked this.
1391
1391
  // TODO: Use an assertion?
1392
1392
  queryParams = modelsArray.pop().queryParams;
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 4.4.0-alpha.1
9
+ * @version 4.4.0-alpha.4
10
10
  */
11
11
 
12
12
  /* eslint-disable no-var */
@@ -1019,7 +1019,7 @@ define("@ember/-internals/utils/index", ["exports", "@glimmer/util", "@ember/deb
1019
1019
 
1020
1020
 
1021
1021
  function canInvoke(obj, methodName) {
1022
- return obj !== null && obj !== undefined && typeof obj[methodName] === 'function';
1022
+ return obj != null && typeof obj[methodName] === 'function';
1023
1023
  }
1024
1024
  /**
1025
1025
  @module @ember/utils
@@ -1292,7 +1292,7 @@ define("@ember/canary-features/index", ["exports", "@ember/-internals/environmen
1292
1292
  Object.defineProperty(_exports, "__esModule", {
1293
1293
  value: true
1294
1294
  });
1295
- _exports.FEATURES = _exports.EMBER_STRICT_MODE = _exports.EMBER_ROUTING_ROUTER_SERVICE_REFRESH = _exports.EMBER_NAMED_BLOCKS = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_GLIMMER_INVOKE_HELPER = _exports.EMBER_GLIMMER_HELPER_MANAGER = _exports.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = _exports.EMBER_CACHED = _exports.DEFAULT_FEATURES = void 0;
1295
+ _exports.FEATURES = _exports.EMBER_UNIQUE_ID_HELPER = _exports.EMBER_ROUTING_ROUTER_SERVICE_REFRESH = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_CACHED = _exports.DEFAULT_FEATURES = void 0;
1296
1296
  _exports.isEnabled = isEnabled;
1297
1297
 
1298
1298
  /**
@@ -1308,13 +1308,9 @@ define("@ember/canary-features/index", ["exports", "@ember/-internals/environmen
1308
1308
  var DEFAULT_FEATURES = {
1309
1309
  EMBER_LIBRARIES_ISREGISTERED: null,
1310
1310
  EMBER_IMPROVED_INSTRUMENTATION: null,
1311
- EMBER_NAMED_BLOCKS: true,
1312
- EMBER_GLIMMER_HELPER_MANAGER: true,
1313
- EMBER_GLIMMER_INVOKE_HELPER: true,
1314
- EMBER_STRICT_MODE: true,
1315
- EMBER_DYNAMIC_HELPERS_AND_MODIFIERS: true,
1316
1311
  EMBER_ROUTING_ROUTER_SERVICE_REFRESH: true,
1317
- EMBER_CACHED: true
1312
+ EMBER_CACHED: true,
1313
+ EMBER_UNIQUE_ID_HELPER: null
1318
1314
  };
1319
1315
  /**
1320
1316
  The hash of enabled Canary features. Add to this, any canary features
@@ -1370,20 +1366,12 @@ define("@ember/canary-features/index", ["exports", "@ember/-internals/environmen
1370
1366
  _exports.EMBER_LIBRARIES_ISREGISTERED = EMBER_LIBRARIES_ISREGISTERED;
1371
1367
  var EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);
1372
1368
  _exports.EMBER_IMPROVED_INSTRUMENTATION = EMBER_IMPROVED_INSTRUMENTATION;
1373
- var EMBER_NAMED_BLOCKS = featureValue(FEATURES.EMBER_NAMED_BLOCKS);
1374
- _exports.EMBER_NAMED_BLOCKS = EMBER_NAMED_BLOCKS;
1375
- var EMBER_GLIMMER_HELPER_MANAGER = featureValue(FEATURES.EMBER_GLIMMER_HELPER_MANAGER);
1376
- _exports.EMBER_GLIMMER_HELPER_MANAGER = EMBER_GLIMMER_HELPER_MANAGER;
1377
- var EMBER_GLIMMER_INVOKE_HELPER = featureValue(FEATURES.EMBER_GLIMMER_INVOKE_HELPER);
1378
- _exports.EMBER_GLIMMER_INVOKE_HELPER = EMBER_GLIMMER_INVOKE_HELPER;
1379
- var EMBER_STRICT_MODE = featureValue(FEATURES.EMBER_STRICT_MODE);
1380
- _exports.EMBER_STRICT_MODE = EMBER_STRICT_MODE;
1381
- var EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = featureValue(FEATURES.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS);
1382
- _exports.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = EMBER_DYNAMIC_HELPERS_AND_MODIFIERS;
1383
1369
  var EMBER_ROUTING_ROUTER_SERVICE_REFRESH = featureValue(FEATURES.EMBER_ROUTING_ROUTER_SERVICE_REFRESH);
1384
1370
  _exports.EMBER_ROUTING_ROUTER_SERVICE_REFRESH = EMBER_ROUTING_ROUTER_SERVICE_REFRESH;
1385
1371
  var EMBER_CACHED = featureValue(FEATURES.EMBER_CACHED);
1386
1372
  _exports.EMBER_CACHED = EMBER_CACHED;
1373
+ var EMBER_UNIQUE_ID_HELPER = featureValue(FEATURES.EMBER_UNIQUE_ID_HELPER);
1374
+ _exports.EMBER_UNIQUE_ID_HELPER = EMBER_UNIQUE_ID_HELPER;
1387
1375
  });
1388
1376
  define("@ember/debug/container-debug-adapter", ["exports", "@ember/-internals/extension-support"], function (_exports, _extensionSupport) {
1389
1377
  "use strict";
@@ -1738,7 +1726,7 @@ define("@ember/debug/index", ["exports", "@ember/-internals/browser-environment"
1738
1726
  && !(0, _testing.isTesting)()) {
1739
1727
  if (typeof window !== 'undefined' && (_browserEnvironment.isFirefox || _browserEnvironment.isChrome) && window.addEventListener) {
1740
1728
  window.addEventListener('load', () => {
1741
- if (document.documentElement && document.documentElement.dataset && !document.documentElement.dataset.emberExtension) {
1729
+ if (document.documentElement && document.documentElement.dataset && !document.documentElement.dataset['emberExtension']) {
1742
1730
  var downloadURL;
1743
1731
 
1744
1732
  if (_browserEnvironment.isChrome) {
@@ -1779,6 +1767,8 @@ define("@ember/debug/lib/capture-render-tree", ["exports", "@glimmer/util"], fun
1779
1767
  @since 3.14.0
1780
1768
  */
1781
1769
  function captureRenderTree(app) {
1770
+ // SAFETY: Ideally we'd assert here but that causes awkward circular requires since this is also in @ember/debug.
1771
+ // This is only for debug stuff so not very risky.
1782
1772
  var renderer = (0, _util.expect)(app.lookup('renderer:-dom'), "BUG: owner is missing renderer");
1783
1773
  return renderer.debugRenderTree.capture();
1784
1774
  }
@@ -1982,7 +1972,7 @@ define("@ember/debug/lib/handlers", ["exports"], function (_exports) {
1982
1972
  var HANDLERS = {};
1983
1973
  _exports.HANDLERS = HANDLERS;
1984
1974
 
1985
- var registerHandler = () => {};
1975
+ var registerHandler = function registerHandler(_type, _callback) {};
1986
1976
 
1987
1977
  _exports.registerHandler = registerHandler;
1988
1978
 
@@ -8497,6 +8487,10 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
8497
8487
  }
8498
8488
 
8499
8489
  function buildElement(tag, options) {
8490
+ if (options === void 0) {
8491
+ options = {};
8492
+ }
8493
+
8500
8494
  var {
8501
8495
  attrs,
8502
8496
  blockParams,
@@ -17668,106 +17662,6 @@ define("ember-template-compiler/lib/plugins/assert-against-attrs", ["exports", "
17668
17662
  return false;
17669
17663
  }
17670
17664
  });
17671
- define("ember-template-compiler/lib/plugins/assert-against-dynamic-helpers-modifiers", ["exports", "@ember/debug", "ember-template-compiler/lib/system/calculate-location-display", "ember-template-compiler/lib/plugins/utils"], function (_exports, _debug, _calculateLocationDisplay, _utils) {
17672
- "use strict";
17673
-
17674
- Object.defineProperty(_exports, "__esModule", {
17675
- value: true
17676
- });
17677
- _exports.default = assertAgainstDynamicHelpersModifiers;
17678
-
17679
- function assertAgainstDynamicHelpersModifiers(env) {
17680
- var _a;
17681
-
17682
- var moduleName = (_a = env.meta) === null || _a === void 0 ? void 0 : _a.moduleName;
17683
- var {
17684
- hasLocal,
17685
- node
17686
- } = (0, _utils.trackLocals)();
17687
- return {
17688
- name: 'assert-against-dynamic-helpers-modifiers',
17689
- visitor: {
17690
- Program: node,
17691
- ElementNode: {
17692
- keys: {
17693
- children: node
17694
- }
17695
- },
17696
-
17697
- MustacheStatement(node) {
17698
- if ((0, _utils.isPath)(node.path)) {
17699
- var name = node.path.parts[0];
17700
- (true && !(name !== 'helper' && name !== 'modifier' || isLocalVariable(node.path, hasLocal)) && (0, _debug.assert)(messageFor(name) + " " + (0, _calculateLocationDisplay.default)(moduleName, node.loc), name !== 'helper' && name !== 'modifier' || isLocalVariable(node.path, hasLocal)));
17701
- }
17702
- },
17703
-
17704
- SubExpression(node) {
17705
- if ((0, _utils.isPath)(node.path)) {
17706
- var name = node.path.parts[0];
17707
- (true && !(name !== 'helper' && name !== 'modifier' || isLocalVariable(node.path, hasLocal)) && (0, _debug.assert)(messageFor(name) + " " + (0, _calculateLocationDisplay.default)(moduleName, node.loc), name !== 'helper' && name !== 'modifier' || isLocalVariable(node.path, hasLocal)));
17708
- }
17709
- }
17710
-
17711
- }
17712
- };
17713
- }
17714
-
17715
- function isLocalVariable(node, hasLocal) {
17716
- return !node.this && node.parts.length === 1 && hasLocal(node.parts[0]);
17717
- }
17718
-
17719
- function messageFor(name) {
17720
- return "Cannot use the (" + name + ") keyword yet, as it has not been implemented.";
17721
- }
17722
- });
17723
- define("ember-template-compiler/lib/plugins/assert-against-named-blocks", ["exports", "@ember/debug", "ember-template-compiler/lib/system/calculate-location-display"], function (_exports, _debug, _calculateLocationDisplay) {
17724
- "use strict";
17725
-
17726
- Object.defineProperty(_exports, "__esModule", {
17727
- value: true
17728
- });
17729
- _exports.default = assertAgainstNamedBlocks;
17730
-
17731
- /**
17732
- @module ember
17733
- */
17734
-
17735
- /**
17736
- Prevents usage of named blocks
17737
-
17738
- @private
17739
- @class AssertAgainstNamedBlocks
17740
- */
17741
- function assertAgainstNamedBlocks(env) {
17742
- var _a;
17743
-
17744
- var moduleName = (_a = env.meta) === null || _a === void 0 ? void 0 : _a.moduleName;
17745
- return {
17746
- name: 'assert-against-named-blocks',
17747
- visitor: {
17748
- ElementNode(node) {
17749
- if (node.tag[0] === ':') {
17750
- var sourceInformation = (0, _calculateLocationDisplay.default)(moduleName, node.loc);
17751
- (true && !(false) && (0, _debug.assert)("Named blocks are not currently available, attempted to use the <" + node.tag + "> named block. " + sourceInformation));
17752
- }
17753
- },
17754
-
17755
- MustacheStatement(node) {
17756
- if (node.path.type === 'PathExpression' && node.path.original === 'yield') {
17757
- var to = node.hash.pairs.filter(pair => pair.key === 'to')[0]; // Glimmer template compiler ensures yield must receive a string literal,
17758
- // so we only need to check if it is not "default" or "inverse"
17759
-
17760
- if (to && to.value.type === 'StringLiteral' && to.value.original !== 'default' && to.value.original !== 'inverse') {
17761
- var sourceInformation = (0, _calculateLocationDisplay.default)(moduleName, node.loc);
17762
- (true && !(false) && (0, _debug.assert)("Named blocks are not currently available, attempted to yield to a named block other than \"default\" or \"inverse\": {{yield to=\"" + to.value.original + "\"}}. " + sourceInformation));
17763
- }
17764
- }
17765
- }
17766
-
17767
- }
17768
- };
17769
- }
17770
- });
17771
17665
  define("ember-template-compiler/lib/plugins/assert-against-named-outlets", ["exports", "@ember/debug", "ember-template-compiler/lib/system/calculate-location-display"], function (_exports, _debug, _calculateLocationDisplay) {
17772
17666
  "use strict";
17773
17667
 
@@ -17934,7 +17828,7 @@ define("ember-template-compiler/lib/plugins/assert-splattribute-expression", ["e
17934
17828
  return '`...attributes` can only be used in the element position e.g. `<div ...attributes />`. It cannot be used as a path.';
17935
17829
  }
17936
17830
  });
17937
- define("ember-template-compiler/lib/plugins/index", ["exports", "ember-template-compiler/lib/plugins/assert-against-attrs", "ember-template-compiler/lib/plugins/assert-against-dynamic-helpers-modifiers", "ember-template-compiler/lib/plugins/assert-against-named-blocks", "ember-template-compiler/lib/plugins/assert-against-named-outlets", "ember-template-compiler/lib/plugins/assert-input-helper-without-block", "ember-template-compiler/lib/plugins/assert-reserved-named-arguments", "ember-template-compiler/lib/plugins/assert-splattribute-expression", "ember-template-compiler/lib/plugins/transform-action-syntax", "ember-template-compiler/lib/plugins/transform-each-in-into-each", "ember-template-compiler/lib/plugins/transform-each-track-array", "ember-template-compiler/lib/plugins/transform-in-element", "ember-template-compiler/lib/plugins/transform-quoted-bindings-into-just-bindings", "ember-template-compiler/lib/plugins/transform-resolutions", "ember-template-compiler/lib/plugins/transform-wrap-mount-and-outlet"], function (_exports, _assertAgainstAttrs, _assertAgainstDynamicHelpersModifiers, _assertAgainstNamedBlocks, _assertAgainstNamedOutlets, _assertInputHelperWithoutBlock, _assertReservedNamedArguments, _assertSplattributeExpression, _transformActionSyntax, _transformEachInIntoEach, _transformEachTrackArray, _transformInElement, _transformQuotedBindingsIntoJustBindings, _transformResolutions, _transformWrapMountAndOutlet) {
17831
+ define("ember-template-compiler/lib/plugins/index", ["exports", "ember-template-compiler/lib/plugins/assert-against-attrs", "ember-template-compiler/lib/plugins/assert-against-named-outlets", "ember-template-compiler/lib/plugins/assert-input-helper-without-block", "ember-template-compiler/lib/plugins/assert-reserved-named-arguments", "ember-template-compiler/lib/plugins/assert-splattribute-expression", "ember-template-compiler/lib/plugins/transform-action-syntax", "ember-template-compiler/lib/plugins/transform-each-in-into-each", "ember-template-compiler/lib/plugins/transform-each-track-array", "ember-template-compiler/lib/plugins/transform-in-element", "ember-template-compiler/lib/plugins/transform-quoted-bindings-into-just-bindings", "ember-template-compiler/lib/plugins/transform-resolutions", "ember-template-compiler/lib/plugins/transform-wrap-mount-and-outlet"], function (_exports, _assertAgainstAttrs, _assertAgainstNamedOutlets, _assertInputHelperWithoutBlock, _assertReservedNamedArguments, _assertSplattributeExpression, _transformActionSyntax, _transformEachInIntoEach, _transformEachTrackArray, _transformInElement, _transformQuotedBindingsIntoJustBindings, _transformResolutions, _transformWrapMountAndOutlet) {
17938
17832
  "use strict";
17939
17833
 
17940
17834
  Object.defineProperty(_exports, "__esModule", {
@@ -17942,17 +17836,9 @@ define("ember-template-compiler/lib/plugins/index", ["exports", "ember-template-
17942
17836
  });
17943
17837
  _exports.STRICT_MODE_TRANSFORMS = _exports.RESOLUTION_MODE_TRANSFORMS = void 0;
17944
17838
  // order of plugins is important
17945
- var RESOLUTION_MODE_TRANSFORMS = Object.freeze([_transformQuotedBindingsIntoJustBindings.default, _assertReservedNamedArguments.default, _transformActionSyntax.default, _assertAgainstAttrs.default, _transformEachInIntoEach.default, _assertInputHelperWithoutBlock.default, _transformInElement.default, _assertSplattributeExpression.default, _transformEachTrackArray.default, _assertAgainstNamedOutlets.default, _transformWrapMountAndOutlet.default, !true
17946
- /* EMBER_NAMED_BLOCKS */
17947
- ? _assertAgainstNamedBlocks.default : null, true
17948
- /* EMBER_DYNAMIC_HELPERS_AND_MODIFIERS */
17949
- ? _transformResolutions.default : _assertAgainstDynamicHelpersModifiers.default].filter(notNull));
17839
+ var RESOLUTION_MODE_TRANSFORMS = Object.freeze([_transformQuotedBindingsIntoJustBindings.default, _assertReservedNamedArguments.default, _transformActionSyntax.default, _assertAgainstAttrs.default, _transformEachInIntoEach.default, _assertInputHelperWithoutBlock.default, _transformInElement.default, _assertSplattributeExpression.default, _transformEachTrackArray.default, _assertAgainstNamedOutlets.default, _transformWrapMountAndOutlet.default, _transformResolutions.default].filter(notNull));
17950
17840
  _exports.RESOLUTION_MODE_TRANSFORMS = RESOLUTION_MODE_TRANSFORMS;
17951
- var STRICT_MODE_TRANSFORMS = Object.freeze([_transformQuotedBindingsIntoJustBindings.default, _assertReservedNamedArguments.default, _transformActionSyntax.default, _transformEachInIntoEach.default, _transformInElement.default, _assertSplattributeExpression.default, _transformEachTrackArray.default, _assertAgainstNamedOutlets.default, _transformWrapMountAndOutlet.default, !true
17952
- /* EMBER_NAMED_BLOCKS */
17953
- ? _assertAgainstNamedBlocks.default : null, !true
17954
- /* EMBER_DYNAMIC_HELPERS_AND_MODIFIERS */
17955
- ? _assertAgainstDynamicHelpersModifiers.default : null].filter(notNull));
17841
+ var STRICT_MODE_TRANSFORMS = Object.freeze([_transformQuotedBindingsIntoJustBindings.default, _assertReservedNamedArguments.default, _transformActionSyntax.default, _transformEachInIntoEach.default, _transformInElement.default, _assertSplattributeExpression.default, _transformEachTrackArray.default, _assertAgainstNamedOutlets.default, _transformWrapMountAndOutlet.default].filter(notNull));
17956
17842
  _exports.STRICT_MODE_TRANSFORMS = STRICT_MODE_TRANSFORMS;
17957
17843
 
17958
17844
  function notNull(value) {
@@ -18660,13 +18546,6 @@ define("ember-template-compiler/lib/system/compile-options", ["exports", "@ember
18660
18546
 
18661
18547
  });
18662
18548
 
18663
- if (!true
18664
- /* EMBER_STRICT_MODE */
18665
- ) {
18666
- options.strictMode = false;
18667
- options.locals = undefined;
18668
- }
18669
-
18670
18549
  if ('locals' in options && !options.locals) {
18671
18550
  // Glimmer's precompile options declare `locals` like:
18672
18551
  // locals?: string[]
@@ -18688,9 +18567,7 @@ define("ember-template-compiler/lib/system/compile-options", ["exports", "@ember
18688
18567
  }
18689
18568
 
18690
18569
  function transformsFor(options) {
18691
- return true
18692
- /* EMBER_STRICT_MODE */
18693
- && options.strictMode ? _index.STRICT_MODE_TRANSFORMS : _index.RESOLUTION_MODE_TRANSFORMS;
18570
+ return options.strictMode ? _index.STRICT_MODE_TRANSFORMS : _index.RESOLUTION_MODE_TRANSFORMS;
18694
18571
  }
18695
18572
 
18696
18573
  function compileOptions(_options) {
@@ -18857,7 +18734,7 @@ define("ember/version", ["exports"], function (_exports) {
18857
18734
  value: true
18858
18735
  });
18859
18736
  _exports.default = void 0;
18860
- var _default = "4.4.0-alpha.1";
18737
+ var _default = "4.4.0-alpha.4";
18861
18738
  _exports.default = _default;
18862
18739
  });
18863
18740
  define("simple-html-tokenizer", ["exports"], function (_exports) {