ember-source 5.11.0-beta.2 → 5.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +48 -42
- package/dist/ember-testing.js +1 -1
- package/dist/ember.debug.js +23102 -23100
- package/dist/ember.prod.js +31562 -31563
- package/dist/packages/@ember/-internals/container/index.js +1 -1
- package/dist/packages/@ember/-internals/deprecations/index.js +2 -1
- package/dist/packages/@ember/-internals/glimmer/index.js +2 -1
- package/dist/packages/@ember/-internals/meta/lib/meta.js +4 -3
- package/dist/packages/@ember/-internals/metal/index.js +9 -8
- package/dist/packages/@ember/-internals/routing/index.js +6 -5
- package/dist/packages/@ember/-internals/runtime/lib/ext/rsvp.js +3 -2
- package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +6 -5
- package/dist/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +4 -3
- package/dist/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +1 -1
- package/dist/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +2 -1
- package/dist/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +4 -3
- package/dist/packages/@ember/-internals/string/index.js +1 -1
- package/dist/packages/@ember/-internals/utils/index.js +4 -4
- package/dist/packages/@ember/-internals/views/index.js +1 -1
- package/dist/packages/@ember/-internals/views/lib/compat/fallback-view-registry.js +1 -1
- package/dist/packages/@ember/-internals/views/lib/component_lookup.js +1 -1
- package/dist/packages/@ember/-internals/views/lib/mixins/action_support.js +5 -3
- package/dist/packages/@ember/-internals/views/lib/mixins/child_views_support.js +3 -3
- package/dist/packages/@ember/-internals/views/lib/mixins/class_names_support.js +4 -3
- package/dist/packages/@ember/-internals/views/lib/mixins/view_support.js +4 -3
- package/dist/packages/@ember/-internals/views/lib/system/event_dispatcher.js +6 -12
- package/dist/packages/@ember/-internals/views/lib/system/utils.js +3 -2
- package/dist/packages/@ember/-internals/views/lib/views/core_view.js +76 -8
- package/dist/packages/@ember/-internals/views/lib/views/states.js +4 -3
- package/dist/packages/@ember/application/index.js +16 -7
- package/dist/packages/@ember/application/instance.js +13 -9
- package/dist/packages/@ember/application/namespace.js +7 -6
- package/dist/packages/@ember/array/index.js +617 -11
- package/dist/packages/@ember/array/make.js +1 -0
- package/dist/packages/@ember/array/mutable.js +1 -1
- package/dist/packages/@ember/array/proxy.js +8 -5
- package/dist/packages/@ember/component/helper.js +4 -4
- package/dist/packages/@ember/component/index.js +4 -4
- package/dist/packages/@ember/controller/index.js +6 -6
- package/dist/packages/@ember/debug/container-debug-adapter.js +5 -4
- package/dist/packages/@ember/debug/data-adapter.js +7 -4
- package/dist/packages/@ember/debug/index.js +213 -4
- package/dist/packages/@ember/debug/lib/assert.js +47 -0
- package/dist/packages/@ember/debug/lib/deprecate.js +194 -4
- package/dist/packages/@ember/debug/lib/inspect.js +120 -2
- package/dist/packages/@ember/debug/lib/warn.js +94 -3
- package/dist/packages/@ember/engine/index.js +440 -17
- package/dist/packages/@ember/engine/instance.js +175 -11
- package/dist/packages/@ember/engine/parent.js +1 -0
- package/dist/packages/@ember/helper/index.js +4 -4
- package/dist/packages/@ember/instrumentation/index.js +2 -1
- package/dist/packages/@ember/modifier/index.js +13 -5
- package/dist/packages/@ember/modifier/on.js +15 -0
- package/dist/packages/@ember/object/-internals.js +6 -5
- package/dist/packages/@ember/object/compat.js +4 -3
- package/dist/packages/@ember/object/computed.js +4 -4
- package/dist/packages/@ember/object/core.js +861 -14
- package/dist/packages/@ember/object/evented.js +4 -4
- package/dist/packages/@ember/object/events.js +3 -3
- package/dist/packages/@ember/object/index.js +260 -9
- package/dist/packages/@ember/object/internals.js +1 -1
- package/dist/packages/@ember/object/lib/computed/computed_macros.js +8 -6
- package/dist/packages/@ember/object/lib/computed/reduce_computed_macros.js +8 -4
- package/dist/packages/@ember/object/mixin.js +6 -5
- package/dist/packages/@ember/object/observable.js +103 -9
- package/dist/packages/@ember/object/observers.js +3 -3
- package/dist/packages/@ember/object/promise-proxy-mixin.js +5 -5
- package/dist/packages/@ember/renderer/index.js +4 -4
- package/dist/packages/@ember/routing/-internals.js +3 -1
- package/dist/packages/@ember/routing/hash-location.js +2 -2
- package/dist/packages/@ember/routing/history-location.js +3 -2
- package/dist/packages/@ember/routing/index.js +4 -4
- package/dist/packages/@ember/routing/lib/dsl.js +2 -1
- package/dist/packages/@ember/routing/lib/generate_controller.js +4 -3
- package/dist/packages/@ember/routing/lib/router_state.js +26 -1
- package/dist/packages/@ember/routing/lib/routing-service.js +107 -9
- package/dist/packages/@ember/routing/lib/utils.js +238 -7
- package/dist/packages/@ember/routing/none-location.js +3 -2
- package/dist/packages/@ember/routing/route.js +1618 -22
- package/dist/packages/@ember/routing/router-service.js +638 -12
- package/dist/packages/@ember/routing/router.js +1449 -14
- package/dist/packages/@ember/runloop/index.js +760 -6
- package/dist/packages/@ember/service/index.js +3 -3
- package/dist/packages/@ember/template/index.js +4 -4
- package/dist/packages/@ember/utils/index.js +2 -1
- package/dist/packages/@ember/utils/lib/compare.js +159 -4
- package/dist/packages/@ember/utils/lib/is_empty.js +4 -4
- package/dist/packages/@ember/utils/lib/type-of.js +110 -1
- package/dist/packages/@glimmer/tracking/index.js +3 -3
- package/dist/packages/@glimmer/tracking/primitives/cache.js +3 -3
- package/dist/packages/ember/barrel.js +28 -13
- package/dist/packages/ember/version.js +1 -1
- package/dist/packages/ember-testing/lib/adapters/adapter.js +1 -1
- package/dist/packages/ember-testing/lib/adapters/qunit.js +2 -1
- package/dist/packages/ember-testing/lib/ext/application.js +2 -1
- package/dist/packages/ember-testing/lib/ext/rsvp.js +1 -1
- package/dist/packages/ember-testing/lib/helpers/and_then.js +2 -1
- package/dist/packages/ember-testing/lib/helpers/current_path.js +8 -6
- package/dist/packages/ember-testing/lib/helpers/current_route_name.js +8 -6
- package/dist/packages/ember-testing/lib/helpers/current_url.js +6 -5
- package/dist/packages/ember-testing/lib/helpers/pause_test.js +2 -1
- package/dist/packages/ember-testing/lib/helpers/visit.js +4 -3
- package/dist/packages/ember-testing/lib/helpers/wait.js +4 -3
- package/dist/packages/ember-testing/lib/initializers.js +15 -8
- package/dist/packages/ember-testing/lib/setup_for_testing.js +1 -1
- package/dist/packages/ember-testing/lib/test/run.js +1 -1
- package/dist/packages/router_js/index.js +2 -1
- package/dist/packages/shared-chunks/{alias-By_2yu5c.js → alias-Dri0koi2.js} +5 -3
- package/dist/packages/shared-chunks/array-3xbmc_4J.js +119 -0
- package/dist/packages/shared-chunks/{cache-gDE3bkXq.js → cache-BESCGvbE.js} +667 -1529
- package/dist/packages/shared-chunks/{core_view-Cxne2_wu.js → chunk-3SQBS3Y5-Cj4eryg1.js} +1 -88
- package/dist/packages/shared-chunks/{index-BXPoca1S.js → index-Llq6dmgX.js} +40 -4660
- package/dist/packages/shared-chunks/{is_proxy-Dmis-70B.js → is_proxy-DjvCKvd5.js} +1 -1
- package/dist/packages/shared-chunks/{mandatory-setter-1UQhiJOb.js → mandatory-setter-BiXq-dpN.js} +2 -1
- package/dist/packages/shared-chunks/{name-z9D9Yibn.js → name-Dx2bGFVv.js} +1 -1
- package/dist/packages/shared-chunks/{namespace_search-CBgHTkDh.js → namespace_search-btMaPM-_.js} +2 -2
- package/dist/packages/shared-chunks/{property_set-CW4q-uo4.js → property_set-BapAkp3X.js} +5 -4
- package/dist/packages/shared-chunks/{registry-DzfcDwii.js → registry-B8WARvkP.js} +3 -2
- package/dist/packages/shared-chunks/{router-B-Q1aYBn.js → router-DrLZsJeE.js} +2 -482
- package/dist/packages/shared-chunks/{set_properties-DvalyQdu.js → set_properties-BScfxzvI.js} +2 -2
- package/dist/packages/shared-chunks/setup-registry-du4pSGZi.js +48 -0
- package/dist/packages/shared-chunks/{to-string-D8i3mjEU.js → to-string-B1BmwUkt.js} +1 -1
- package/dist/packages/shared-chunks/unrecognized-url-error-zpz-JEoG.js +484 -0
- package/docs/data.json +152 -142
- package/package.json +4 -7
- package/types/stable/@ember/-internals/metal/lib/array.d.ts +1 -2
- package/types/stable/@ember/-internals/metal/lib/object-at.d.ts +4 -0
- package/types/stable/@ember/-internals/metal/lib/observer.d.ts +2 -1
- package/types/stable/@ember/array/index.d.ts +1 -1
- package/types/stable/@ember/array/make.d.ts +3 -0
- package/types/stable/@ember/debug/index.d.ts +3 -7
- package/types/stable/@ember/debug/lib/assert.d.ts +8 -0
- package/types/stable/@ember/engine/index.d.ts +1 -1
- package/types/stable/@ember/engine/instance.d.ts +2 -2
- package/types/stable/@ember/engine/parent.d.ts +3 -0
- package/types/stable/@ember/modifier/index.d.ts +1 -3
- package/types/stable/@ember/modifier/on.d.ts +5 -0
- package/types/stable/@ember/routing/lib/routing-service.d.ts +1 -1
- package/types/stable/@ember/routing/route.d.ts +2 -3
- package/types/stable/@ember/routing/router-service.d.ts +1 -1
- package/types/stable/@ember/routing/router.d.ts +4 -4
- package/types/stable/ember/barrel.d.ts +1 -1
- package/types/stable/ember/index.d.ts +1 -1
- package/types/stable/index.d.ts +5 -0
- package/dist/packages/shared-chunks/index-DTxy4Zgx.js +0 -641
- package/dist/packages/shared-chunks/index-PYiGj1jp.js +0 -2071
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FrameworkObject } from '../object/-internals.js';
|
|
2
2
|
import '../-internals/meta/lib/meta.js';
|
|
3
|
-
import '../../shared-chunks/mandatory-setter-
|
|
3
|
+
import '../../shared-chunks/mandatory-setter-BiXq-dpN.js';
|
|
4
4
|
import '@embroider/macros';
|
|
5
|
-
import '
|
|
5
|
+
import '../debug/index.js';
|
|
6
6
|
import '../../@glimmer/destroyable/index.js';
|
|
7
7
|
import '../../@glimmer/validator/index.js';
|
|
8
|
-
import { f as inject$1 } from '../../shared-chunks/cache-gDE3bkXq.js';
|
|
9
8
|
import '../../@glimmer/manager/index.js';
|
|
9
|
+
import { p as inject$1 } from '../../shared-chunks/cache-BESCGvbE.js';
|
|
10
10
|
import '../../shared-chunks/env-BJLX2Arx.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export {
|
|
3
|
-
import '../../shared-chunks/registry-
|
|
4
|
-
import '
|
|
2
|
+
export { a as htmlSafe, i as isHTMLSafe } from '../../shared-chunks/index-Llq6dmgX.js';
|
|
3
|
+
import '../../shared-chunks/registry-B8WARvkP.js';
|
|
4
|
+
import '../debug/index.js';
|
|
5
5
|
import '../../@glimmer/runtime/index.js';
|
|
6
|
-
import '
|
|
6
|
+
import '../runloop/index.js';
|
|
7
7
|
import '../../@glimmer/reference/index.js';
|
|
8
8
|
import '../../@glimmer/validator/index.js';
|
|
9
9
|
import '@embroider/macros';
|
|
@@ -3,4 +3,5 @@ export { default as isBlank } from './lib/is_blank.js';
|
|
|
3
3
|
export { default as isEmpty } from './lib/is_empty.js';
|
|
4
4
|
export { default as isPresent } from './lib/is_present.js';
|
|
5
5
|
export { default as isEqual } from './lib/is-equal.js';
|
|
6
|
-
export {
|
|
6
|
+
export { default as typeOf } from './lib/type-of.js';
|
|
7
|
+
export { default as compare } from './lib/compare.js';
|
|
@@ -1,11 +1,166 @@
|
|
|
1
|
-
|
|
1
|
+
import typeOf from './type-of.js';
|
|
2
2
|
import '../../-internals/runtime/lib/mixins/registry_proxy.js';
|
|
3
3
|
import '../../-internals/runtime/lib/mixins/container_proxy.js';
|
|
4
|
-
import '../../-internals/runtime/lib/mixins/comparable.js';
|
|
4
|
+
import Comparable from '../../-internals/runtime/lib/mixins/comparable.js';
|
|
5
5
|
import '../../-internals/runtime/lib/mixins/action_handler.js';
|
|
6
6
|
import '../../-internals/runtime/lib/mixins/-proxy.js';
|
|
7
7
|
import '../../enumerable/mutable.js';
|
|
8
8
|
import '../../-internals/runtime/lib/mixins/target_action_support.js';
|
|
9
9
|
import '../../-internals/runtime/lib/ext/rsvp.js';
|
|
10
|
-
import '
|
|
11
|
-
import '@embroider/macros';
|
|
10
|
+
import '../../debug/index.js';
|
|
11
|
+
import { isDevelopingApp } from '@embroider/macros';
|
|
12
|
+
import { assert } from '../../debug/lib/assert.js';
|
|
13
|
+
|
|
14
|
+
const TYPE_ORDER = {
|
|
15
|
+
undefined: 0,
|
|
16
|
+
null: 1,
|
|
17
|
+
boolean: 2,
|
|
18
|
+
number: 3,
|
|
19
|
+
string: 4,
|
|
20
|
+
array: 5,
|
|
21
|
+
object: 6,
|
|
22
|
+
instance: 7,
|
|
23
|
+
function: 8,
|
|
24
|
+
class: 9,
|
|
25
|
+
date: 10,
|
|
26
|
+
regexp: 11,
|
|
27
|
+
filelist: 12,
|
|
28
|
+
error: 13
|
|
29
|
+
};
|
|
30
|
+
//
|
|
31
|
+
// the spaceship operator
|
|
32
|
+
//
|
|
33
|
+
// `. ___
|
|
34
|
+
// __,' __`. _..----....____
|
|
35
|
+
// __...--.'``;. ,. ;``--..__ .' ,-._ _.-'
|
|
36
|
+
// _..-''-------' `' `' `' O ``-''._ (,;') _,'
|
|
37
|
+
// ,'________________ \`-._`-','
|
|
38
|
+
// `._ ```````````------...___ '-.._'-:
|
|
39
|
+
// ```--.._ ,. ````--...__\-.
|
|
40
|
+
// `.--. `-` "INFINITY IS LESS ____ | |`
|
|
41
|
+
// `. `. THAN BEYOND" ,'`````. ; ;`
|
|
42
|
+
// `._`. __________ `. \'__/`
|
|
43
|
+
// `-:._____/______/___/____`. \ `
|
|
44
|
+
// | `._ `. \
|
|
45
|
+
// `._________`-. `. `.___
|
|
46
|
+
// SSt `------'`
|
|
47
|
+
function spaceship(a, b) {
|
|
48
|
+
// SAFETY: `Math.sign` always returns `-1` for negative, `0` for zero, and `1`
|
|
49
|
+
// for positive numbers. (The extra precision is useful for the way we use
|
|
50
|
+
// this in the context of `compare`.)
|
|
51
|
+
return Math.sign(a - b);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
@module @ember/utils
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
Compares two javascript values and returns:
|
|
60
|
+
|
|
61
|
+
- -1 if the first is smaller than the second,
|
|
62
|
+
- 0 if both are equal,
|
|
63
|
+
- 1 if the first is greater than the second.
|
|
64
|
+
|
|
65
|
+
```javascript
|
|
66
|
+
import { compare } from '@ember/utils';
|
|
67
|
+
|
|
68
|
+
compare('hello', 'hello'); // 0
|
|
69
|
+
compare('abc', 'dfg'); // -1
|
|
70
|
+
compare(2, 1); // 1
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
If the types of the two objects are different precedence occurs in the
|
|
74
|
+
following order, with types earlier in the list considered `<` types
|
|
75
|
+
later in the list:
|
|
76
|
+
|
|
77
|
+
- undefined
|
|
78
|
+
- null
|
|
79
|
+
- boolean
|
|
80
|
+
- number
|
|
81
|
+
- string
|
|
82
|
+
- array
|
|
83
|
+
- object
|
|
84
|
+
- instance
|
|
85
|
+
- function
|
|
86
|
+
- class
|
|
87
|
+
- date
|
|
88
|
+
|
|
89
|
+
```javascript
|
|
90
|
+
import { compare } from '@ember/utils';
|
|
91
|
+
|
|
92
|
+
compare('hello', 50); // 1
|
|
93
|
+
compare(50, 'hello'); // -1
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
@method compare
|
|
97
|
+
@for @ember/utils
|
|
98
|
+
@static
|
|
99
|
+
@param {Object} v First value to compare
|
|
100
|
+
@param {Object} w Second value to compare
|
|
101
|
+
@return {Number} -1 if v < w, 0 if v = w and 1 if v > w.
|
|
102
|
+
@public
|
|
103
|
+
*/
|
|
104
|
+
function compare(v, w) {
|
|
105
|
+
if (v === w) {
|
|
106
|
+
return 0;
|
|
107
|
+
}
|
|
108
|
+
let type1 = typeOf(v);
|
|
109
|
+
let type2 = typeOf(w);
|
|
110
|
+
if (type1 === 'instance' && isComparable(v) && v.constructor.compare) {
|
|
111
|
+
return v.constructor.compare(v, w);
|
|
112
|
+
}
|
|
113
|
+
if (type2 === 'instance' && isComparable(w) && w.constructor.compare) {
|
|
114
|
+
// SAFETY: Multiplying by a negative just changes the sign
|
|
115
|
+
return w.constructor.compare(w, v) * -1;
|
|
116
|
+
}
|
|
117
|
+
let res = spaceship(TYPE_ORDER[type1], TYPE_ORDER[type2]);
|
|
118
|
+
if (res !== 0) {
|
|
119
|
+
return res;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// types are equal - so we have to check values now
|
|
123
|
+
switch (type1) {
|
|
124
|
+
case 'boolean':
|
|
125
|
+
(isDevelopingApp() && !(typeof v === 'boolean' && typeof w === 'boolean') && assert('both are boolean', typeof v === 'boolean' && typeof w === 'boolean'));
|
|
126
|
+
return spaceship(Number(v), Number(w));
|
|
127
|
+
case 'number':
|
|
128
|
+
(isDevelopingApp() && !(typeof v === 'number' && typeof w === 'number') && assert('both are numbers', typeof v === 'number' && typeof w === 'number'));
|
|
129
|
+
return spaceship(v, w);
|
|
130
|
+
case 'string':
|
|
131
|
+
(isDevelopingApp() && !(typeof v === 'string' && typeof w === 'string') && assert('both are strings', typeof v === 'string' && typeof w === 'string'));
|
|
132
|
+
return spaceship(v.localeCompare(w), 0);
|
|
133
|
+
case 'array':
|
|
134
|
+
{
|
|
135
|
+
(isDevelopingApp() && !(Array.isArray(v) && Array.isArray(w)) && assert('both are arrays', Array.isArray(v) && Array.isArray(w)));
|
|
136
|
+
let vLen = v.length;
|
|
137
|
+
let wLen = w.length;
|
|
138
|
+
let len = Math.min(vLen, wLen);
|
|
139
|
+
for (let i = 0; i < len; i++) {
|
|
140
|
+
let r = compare(v[i], w[i]);
|
|
141
|
+
if (r !== 0) {
|
|
142
|
+
return r;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// all elements are equal now
|
|
147
|
+
// shorter array should be ordered first
|
|
148
|
+
return spaceship(vLen, wLen);
|
|
149
|
+
}
|
|
150
|
+
case 'instance':
|
|
151
|
+
if (isComparable(v) && v.compare) {
|
|
152
|
+
return v.compare(v, w);
|
|
153
|
+
}
|
|
154
|
+
return 0;
|
|
155
|
+
case 'date':
|
|
156
|
+
(isDevelopingApp() && !(v instanceof Date && w instanceof Date) && assert('both are dates', v instanceof Date && w instanceof Date));
|
|
157
|
+
return spaceship(v.getTime(), w.getTime());
|
|
158
|
+
default:
|
|
159
|
+
return 0;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
function isComparable(value) {
|
|
163
|
+
return Comparable.detect(value);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export { compare as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import '../../object/index.js';
|
|
2
2
|
import '../../-internals/meta/lib/meta.js';
|
|
3
|
-
import '../../../shared-chunks/mandatory-setter-
|
|
3
|
+
import '../../../shared-chunks/mandatory-setter-BiXq-dpN.js';
|
|
4
4
|
import '@embroider/macros';
|
|
5
|
-
import '
|
|
5
|
+
import '../../debug/index.js';
|
|
6
6
|
import '../../../@glimmer/destroyable/index.js';
|
|
7
7
|
import '../../../@glimmer/validator/index.js';
|
|
8
|
-
import { H as hasUnknownProperty, g as get } from '../../../shared-chunks/cache-gDE3bkXq.js';
|
|
9
8
|
import '../../../@glimmer/manager/index.js';
|
|
9
|
+
import { h as hasUnknownProperty, g as get } from '../../../shared-chunks/cache-BESCGvbE.js';
|
|
10
10
|
import '../../../shared-chunks/env-BJLX2Arx.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -1 +1,110 @@
|
|
|
1
|
-
|
|
1
|
+
import CoreObject from '../../object/core.js';
|
|
2
|
+
|
|
3
|
+
// ........................................
|
|
4
|
+
// TYPING & ARRAY MESSAGING
|
|
5
|
+
//
|
|
6
|
+
const TYPE_MAP = {
|
|
7
|
+
'[object Boolean]': 'boolean',
|
|
8
|
+
'[object Number]': 'number',
|
|
9
|
+
'[object String]': 'string',
|
|
10
|
+
'[object Function]': 'function',
|
|
11
|
+
'[object AsyncFunction]': 'function',
|
|
12
|
+
'[object Array]': 'array',
|
|
13
|
+
'[object Date]': 'date',
|
|
14
|
+
'[object RegExp]': 'regexp',
|
|
15
|
+
'[object Object]': 'object',
|
|
16
|
+
'[object FileList]': 'filelist'
|
|
17
|
+
};
|
|
18
|
+
const {
|
|
19
|
+
toString
|
|
20
|
+
} = Object.prototype;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
@module @ember/utils
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
Returns a consistent type for the passed object.
|
|
27
|
+
|
|
28
|
+
Use this instead of the built-in `typeof` to get the type of an item.
|
|
29
|
+
It will return the same result across all browsers and includes a bit
|
|
30
|
+
more detail. Here is what will be returned:
|
|
31
|
+
|
|
32
|
+
| Return Value | Meaning |
|
|
33
|
+
|---------------|------------------------------------------------------|
|
|
34
|
+
| 'string' | String primitive or String object. |
|
|
35
|
+
| 'number' | Number primitive or Number object. |
|
|
36
|
+
| 'boolean' | Boolean primitive or Boolean object. |
|
|
37
|
+
| 'null' | Null value |
|
|
38
|
+
| 'undefined' | Undefined value |
|
|
39
|
+
| 'function' | A function |
|
|
40
|
+
| 'array' | An instance of Array |
|
|
41
|
+
| 'regexp' | An instance of RegExp |
|
|
42
|
+
| 'date' | An instance of Date |
|
|
43
|
+
| 'filelist' | An instance of FileList |
|
|
44
|
+
| 'class' | An Ember class (created using EmberObject.extend()) |
|
|
45
|
+
| 'instance' | An Ember object instance |
|
|
46
|
+
| 'error' | An instance of the Error object |
|
|
47
|
+
| 'object' | A JavaScript object not inheriting from EmberObject |
|
|
48
|
+
|
|
49
|
+
Examples:
|
|
50
|
+
|
|
51
|
+
```javascript
|
|
52
|
+
import { A } from '@ember/array';
|
|
53
|
+
import { typeOf } from '@ember/utils';
|
|
54
|
+
import EmberObject from '@ember/object';
|
|
55
|
+
|
|
56
|
+
typeOf(); // 'undefined'
|
|
57
|
+
typeOf(null); // 'null'
|
|
58
|
+
typeOf(undefined); // 'undefined'
|
|
59
|
+
typeOf('michael'); // 'string'
|
|
60
|
+
typeOf(new String('michael')); // 'string'
|
|
61
|
+
typeOf(101); // 'number'
|
|
62
|
+
typeOf(new Number(101)); // 'number'
|
|
63
|
+
typeOf(true); // 'boolean'
|
|
64
|
+
typeOf(new Boolean(true)); // 'boolean'
|
|
65
|
+
typeOf(A); // 'function'
|
|
66
|
+
typeOf(A()); // 'array'
|
|
67
|
+
typeOf([1, 2, 90]); // 'array'
|
|
68
|
+
typeOf(/abc/); // 'regexp'
|
|
69
|
+
typeOf(new Date()); // 'date'
|
|
70
|
+
typeOf(event.target.files); // 'filelist'
|
|
71
|
+
typeOf(EmberObject.extend()); // 'class'
|
|
72
|
+
typeOf(EmberObject.create()); // 'instance'
|
|
73
|
+
typeOf(new Error('teamocil')); // 'error'
|
|
74
|
+
|
|
75
|
+
// 'normal' JavaScript object
|
|
76
|
+
typeOf({ a: 'b' }); // 'object'
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
@method typeOf
|
|
80
|
+
@for @ember/utils
|
|
81
|
+
@param item the item to check
|
|
82
|
+
@return {String} the type
|
|
83
|
+
@public
|
|
84
|
+
@static
|
|
85
|
+
*/
|
|
86
|
+
function typeOf(item) {
|
|
87
|
+
if (item === null) {
|
|
88
|
+
return 'null';
|
|
89
|
+
}
|
|
90
|
+
if (item === undefined) {
|
|
91
|
+
return 'undefined';
|
|
92
|
+
}
|
|
93
|
+
let ret = TYPE_MAP[toString.call(item)] || 'object';
|
|
94
|
+
if (ret === 'function') {
|
|
95
|
+
if (CoreObject.detect(item)) {
|
|
96
|
+
ret = 'class';
|
|
97
|
+
}
|
|
98
|
+
} else if (ret === 'object') {
|
|
99
|
+
if (item instanceof Error) {
|
|
100
|
+
ret = 'error';
|
|
101
|
+
} else if (item instanceof CoreObject) {
|
|
102
|
+
ret = 'instance';
|
|
103
|
+
} else if (item instanceof Date) {
|
|
104
|
+
ret = 'date';
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return ret;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { typeOf as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '../../@ember/-internals/meta/lib/meta.js';
|
|
2
|
-
import '../../shared-chunks/mandatory-setter-
|
|
2
|
+
import '../../shared-chunks/mandatory-setter-BiXq-dpN.js';
|
|
3
3
|
import { isDevelopingApp } from '@embroider/macros';
|
|
4
|
-
import '
|
|
4
|
+
import '../../@ember/debug/index.js';
|
|
5
5
|
import '../destroyable/index.js';
|
|
6
6
|
import { createCache, getValue } from '../validator/index.js';
|
|
7
|
-
export { a0 as tracked } from '../../shared-chunks/cache-gDE3bkXq.js';
|
|
8
7
|
import '../manager/index.js';
|
|
8
|
+
export { S as tracked } from '../../shared-chunks/cache-BESCGvbE.js';
|
|
9
9
|
import '../../shared-chunks/env-BJLX2Arx.js';
|
|
10
10
|
|
|
11
11
|
// NOTE: copied from: https://github.com/glimmerjs/glimmer.js/pull/358
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '../../../@ember/-internals/meta/lib/meta.js';
|
|
2
|
-
import '../../../shared-chunks/mandatory-setter-
|
|
2
|
+
import '../../../shared-chunks/mandatory-setter-BiXq-dpN.js';
|
|
3
3
|
import '@embroider/macros';
|
|
4
|
-
import '
|
|
4
|
+
import '../../../@ember/debug/index.js';
|
|
5
5
|
import '../../destroyable/index.js';
|
|
6
6
|
export { createCache, getValue, isConst } from '../../validator/index.js';
|
|
7
|
-
import '../../../shared-chunks/cache-gDE3bkXq.js';
|
|
8
7
|
import '../../manager/index.js';
|
|
8
|
+
import '../../../shared-chunks/cache-BESCGvbE.js';
|
|
9
9
|
import '../../../shared-chunks/env-BJLX2Arx.js';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { b as getENV, a as getLookup, s as setLookup } from '../shared-chunks/env-BJLX2Arx.js';
|
|
2
|
-
import { G as GUID_KEY, b as generateGuid, g as guidFor, u as uuid, w as wrap } from '../shared-chunks/mandatory-setter-
|
|
2
|
+
import { G as GUID_KEY, b as generateGuid, g as guidFor, u as uuid, w as wrap } from '../shared-chunks/mandatory-setter-BiXq-dpN.js';
|
|
3
3
|
import { isDevelopingApp } from '@embroider/macros';
|
|
4
4
|
import { c as canInvoke } from '../shared-chunks/invoke-BjRgvK2V.js';
|
|
5
5
|
import { C as Cache } from '../shared-chunks/cache-qDyqAcpg.js';
|
|
6
|
-
import { C as Container, R as Registry } from '../shared-chunks/registry-
|
|
6
|
+
import { C as Container, R as Registry } from '../shared-chunks/registry-B8WARvkP.js';
|
|
7
7
|
import { instrument, subscribe, unsubscribe, reset } from '../@ember/instrumentation/index.js';
|
|
8
8
|
import { meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
9
|
-
import {
|
|
9
|
+
import { B as nativeDescDecorator, _ as _getPath, s as setClassicDecorator, S as tracked, m as beginPropertyChanges, T as changeProperties, l as endPropertyChanges, x as hasListeners, O as LIBRARIES, U as isComputed, c as computed, d as defineProperty, g as get, n as notifyPropertyChange, C as ComputedProperty, e as expandProperties, N as on, G as addListener, H as removeListener, k as sendEvent, v as addObserver, w as removeObserver } from '../shared-chunks/cache-BESCGvbE.js';
|
|
10
10
|
import { g as getCachedValueFor } from '../shared-chunks/computed_cache-DmYKevAP.js';
|
|
11
|
-
import {
|
|
11
|
+
import { warn, debug, deprecate, deprecateFunc, runInDebug } from '../@ember/debug/index.js';
|
|
12
12
|
import { createCache, getValue, isConst } from '../@glimmer/validator/index.js';
|
|
13
13
|
import { assertDestroyablesDestroyed, associateDestroyableChild, enableDestroyableTracking, isDestroying, isDestroyed, destroy } from '../@glimmer/destroyable/index.js';
|
|
14
14
|
import { componentCapabilities, modifierCapabilities, getComponentTemplate, helperCapabilities, setComponentTemplate, setHelperManager, setModifierManager } from '../@glimmer/manager/index.js';
|
|
15
|
-
import { s as set, t as trySet } from '../shared-chunks/property_set-
|
|
16
|
-
import { g as getProperties, s as setProperties } from '../shared-chunks/set_properties-
|
|
17
|
-
import { i as isSearchDisabled, e as setSearchDisabled } from '../shared-chunks/namespace_search-
|
|
15
|
+
import { s as set, t as trySet } from '../shared-chunks/property_set-BapAkp3X.js';
|
|
16
|
+
import { g as getProperties, s as setProperties } from '../shared-chunks/set_properties-BScfxzvI.js';
|
|
17
|
+
import { i as isSearchDisabled, e as setSearchDisabled } from '../shared-chunks/namespace_search-btMaPM-_.js';
|
|
18
18
|
import { isEnabled, FEATURES } from '../@ember/canary-features/index.js';
|
|
19
19
|
import Backburner from '../backburner.js/index.js';
|
|
20
20
|
import Controller, { ControllerMixin, inject } from '../@ember/controller/index.js';
|
|
21
21
|
import Service, { service } from '../@ember/service/index.js';
|
|
22
|
-
import
|
|
22
|
+
import EmberObject, { action, observer } from '../@ember/object/index.js';
|
|
23
23
|
import '../@ember/object/-internals.js';
|
|
24
24
|
import { dependentKeyCompat } from '../@ember/object/compat.js';
|
|
25
25
|
import isNone from '../@ember/utils/lib/is_none.js';
|
|
@@ -27,6 +27,9 @@ import isBlank from '../@ember/utils/lib/is_blank.js';
|
|
|
27
27
|
import isEmpty from '../@ember/utils/lib/is_empty.js';
|
|
28
28
|
import isPresent from '../@ember/utils/lib/is_present.js';
|
|
29
29
|
import isEqual from '../@ember/utils/lib/is-equal.js';
|
|
30
|
+
import typeOf from '../@ember/utils/lib/type-of.js';
|
|
31
|
+
import compare from '../@ember/utils/lib/compare.js';
|
|
32
|
+
import EmberArray, { A, NativeArray, isArray, MutableArray } from '../@ember/array/index.js';
|
|
30
33
|
import RegistryProxyMixin from '../@ember/-internals/runtime/lib/mixins/registry_proxy.js';
|
|
31
34
|
import ContainerProxyMixin from '../@ember/-internals/runtime/lib/mixins/container_proxy.js';
|
|
32
35
|
import Comparable from '../@ember/-internals/runtime/lib/mixins/comparable.js';
|
|
@@ -36,16 +39,17 @@ import MutableEnumerable from '../@ember/enumerable/mutable.js';
|
|
|
36
39
|
import '../@ember/-internals/runtime/lib/mixins/target_action_support.js';
|
|
37
40
|
import '../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
38
41
|
import { templateFactory } from '../@glimmer/opcode-compiler/index.js';
|
|
39
|
-
import { I as Input, C as Component, H as Helper,
|
|
42
|
+
import { I as Input, C as Component, H as Helper, e as escapeExpression } from '../shared-chunks/index-Llq6dmgX.js';
|
|
40
43
|
import { a as getTemplates, b as setTemplates } from '../shared-chunks/template_registry-DigcUg9m.js';
|
|
41
44
|
import { isSerializationFirstNode, templateOnlyComponent, invokeHelper, hash, array, concat, get as get$1, on as on$1, fn } from '../@glimmer/runtime/index.js';
|
|
45
|
+
import { run } from '../@ember/runloop/index.js';
|
|
42
46
|
import '../@glimmer/reference/index.js';
|
|
43
47
|
import { s as setComponentManager } from '../shared-chunks/managers-CbMgnSoo.js';
|
|
44
48
|
import Version from './version.js';
|
|
45
49
|
import { getChildViews, getElementView, getRootViews, getViewBounds, getViewBoundingClientRect, getViewClientRects, getViewElement, isSimpleClick } from '../@ember/-internals/views/lib/system/utils.js';
|
|
46
50
|
import EventDispatcher from '../@ember/-internals/views/lib/system/event_dispatcher.js';
|
|
47
51
|
import ComponentLookup from '../@ember/-internals/views/lib/component_lookup.js';
|
|
48
|
-
import '
|
|
52
|
+
import '../@ember/-internals/views/lib/views/core_view.js';
|
|
49
53
|
import '../@ember/-internals/views/lib/mixins/class_names_support.js';
|
|
50
54
|
import '../@ember/-internals/views/lib/mixins/child_views_support.js';
|
|
51
55
|
import '../@ember/-internals/views/lib/mixins/view_state_support.js';
|
|
@@ -59,17 +63,24 @@ import ArrayProxy from '../@ember/array/proxy.js';
|
|
|
59
63
|
import Application, { getOwner, setOwner } from '../@ember/application/index.js';
|
|
60
64
|
import ApplicationInstance from '../@ember/application/instance.js';
|
|
61
65
|
import Namespace from '../@ember/application/namespace.js';
|
|
66
|
+
import Engine from '../@ember/engine/index.js';
|
|
67
|
+
import EngineInstance from '../@ember/engine/instance.js';
|
|
62
68
|
import Enumerable from '../@ember/enumerable/index.js';
|
|
69
|
+
import CoreObject from '../@ember/object/core.js';
|
|
63
70
|
import Evented from '../@ember/object/evented.js';
|
|
64
71
|
import Mixin, { mixin } from '../@ember/object/mixin.js';
|
|
72
|
+
import Observable from '../@ember/object/observable.js';
|
|
65
73
|
import ObjectProxy from '../@ember/object/proxy.js';
|
|
66
74
|
import PromiseProxyMixin from '../@ember/object/promise-proxy-mixin.js';
|
|
67
75
|
import HashLocation from '../@ember/routing/hash-location.js';
|
|
68
76
|
import HistoryLocation from '../@ember/routing/history-location.js';
|
|
69
77
|
import NoneLocation from '../@ember/routing/none-location.js';
|
|
78
|
+
import Route from '../@ember/routing/route.js';
|
|
79
|
+
import EmberRouter from '../@ember/routing/router.js';
|
|
70
80
|
import '../route-recognizer/index.js';
|
|
71
81
|
import { R as RSVP } from '../shared-chunks/rsvp-DaQAFb0W.js';
|
|
72
|
-
import '../shared-chunks/
|
|
82
|
+
import '../shared-chunks/unrecognized-url-error-zpz-JEoG.js';
|
|
83
|
+
import '../@ember/routing/lib/routing-service.js';
|
|
73
84
|
import generateController, { generateControllerFactory } from '../@ember/routing/lib/generate_controller.js';
|
|
74
85
|
import DSLImpl from '../@ember/routing/lib/dsl.js';
|
|
75
86
|
import controllerFor from '../@ember/routing/lib/controller_for.js';
|
|
@@ -79,6 +90,10 @@ import { __emberTemplateCompiler, compileTemplate } from '../@ember/template-com
|
|
|
79
90
|
import { onLoad, runLoadHooks } from '../@ember/application/lib/lazy_load.js';
|
|
80
91
|
import makeArray from '../@ember/array/lib/make-array.js';
|
|
81
92
|
import captureRenderTree from '../@ember/debug/lib/capture-render-tree.js';
|
|
93
|
+
import { assert } from '../@ember/debug/lib/assert.js';
|
|
94
|
+
import inspect from '../@ember/debug/lib/inspect.js';
|
|
95
|
+
import { registerHandler } from '../@ember/debug/lib/deprecate.js';
|
|
96
|
+
import { registerHandler as registerHandler$1 } from '../@ember/debug/lib/warn.js';
|
|
82
97
|
import { isTesting, setTesting } from '../@ember/debug/lib/testing.js';
|
|
83
98
|
|
|
84
99
|
/**
|
|
@@ -185,7 +200,7 @@ let Ember;
|
|
|
185
200
|
_Ember.destroy = destroy;
|
|
186
201
|
_Ember.Engine = Engine;
|
|
187
202
|
// ****@ember/engine/instance****
|
|
188
|
-
_Ember.EngineInstance =
|
|
203
|
+
_Ember.EngineInstance = EngineInstance;
|
|
189
204
|
// ****@ember/enumerable****
|
|
190
205
|
_Ember.Enumerable = Enumerable;
|
|
191
206
|
// ****@ember/enumerable/mutable****
|
|
@@ -215,7 +230,7 @@ let Ember;
|
|
|
215
230
|
_Ember._dependentKeyCompat = dependentKeyCompat;
|
|
216
231
|
_Ember.ComputedProperty = ComputedProperty;
|
|
217
232
|
_Ember.expandProperties = expandProperties;
|
|
218
|
-
_Ember.CoreObject =
|
|
233
|
+
_Ember.CoreObject = CoreObject;
|
|
219
234
|
// ****@ember/object/evented****
|
|
220
235
|
_Ember.Evented = Evented;
|
|
221
236
|
_Ember.on = on;
|
|
@@ -5,8 +5,9 @@ import TestPromise, { resolve, getLastPromise } from '../test/promise.js';
|
|
|
5
5
|
import run from '../test/run.js';
|
|
6
6
|
import { invokeInjectHelpersCallbacks } from '../test/on_inject_helpers.js';
|
|
7
7
|
import { asyncEnd, asyncStart } from '../test/adapter.js';
|
|
8
|
-
import
|
|
8
|
+
import '../../../@ember/debug/index.js';
|
|
9
9
|
import { isDevelopingApp } from '@embroider/macros';
|
|
10
|
+
import { assert } from '../../../@ember/debug/lib/assert.js';
|
|
10
11
|
|
|
11
12
|
Application.reopen({
|
|
12
13
|
/**
|
|
@@ -6,7 +6,7 @@ import '../../../@ember/-internals/runtime/lib/mixins/-proxy.js';
|
|
|
6
6
|
import '../../../@ember/enumerable/mutable.js';
|
|
7
7
|
import '../../../@ember/-internals/runtime/lib/mixins/target_action_support.js';
|
|
8
8
|
import '../../../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
9
|
-
import {
|
|
9
|
+
import { _backburner } from '../../../@ember/runloop/index.js';
|
|
10
10
|
import { R as RSVP } from '../../../shared-chunks/rsvp-DaQAFb0W.js';
|
|
11
11
|
|
|
12
12
|
RSVP.configure('async', function (callback, promise) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../../../@ember/debug/index.js';
|
|
2
2
|
import { isDevelopingApp } from '@embroider/macros';
|
|
3
|
+
import { assert } from '../../../@ember/debug/lib/assert.js';
|
|
3
4
|
|
|
4
5
|
function andThen(app, callback) {
|
|
5
6
|
let wait = app.testHelpers['wait'];
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import '../../../@ember/object/index.js';
|
|
2
2
|
import '../../../@ember/-internals/meta/lib/meta.js';
|
|
3
|
-
import '../../../shared-chunks/mandatory-setter-
|
|
3
|
+
import '../../../shared-chunks/mandatory-setter-BiXq-dpN.js';
|
|
4
4
|
import { isDevelopingApp } from '@embroider/macros';
|
|
5
|
-
import
|
|
5
|
+
import '../../../@ember/debug/index.js';
|
|
6
6
|
import '../../../@glimmer/destroyable/index.js';
|
|
7
7
|
import '../../../@glimmer/validator/index.js';
|
|
8
|
-
import { g as get } from '../../../shared-chunks/cache-gDE3bkXq.js';
|
|
9
8
|
import '../../../@glimmer/manager/index.js';
|
|
9
|
+
import { g as get } from '../../../shared-chunks/cache-BESCGvbE.js';
|
|
10
10
|
import '../../../shared-chunks/env-BJLX2Arx.js';
|
|
11
|
-
import
|
|
11
|
+
import '../../../@ember/engine/instance.js';
|
|
12
12
|
import '../../../route-recognizer/index.js';
|
|
13
13
|
import '../../../shared-chunks/rsvp-DaQAFb0W.js';
|
|
14
|
-
import '../../../shared-chunks/
|
|
14
|
+
import '../../../shared-chunks/unrecognized-url-error-zpz-JEoG.js';
|
|
15
|
+
import RoutingService from '../../../@ember/routing/lib/routing-service.js';
|
|
15
16
|
import '../../../@ember/controller/index.js';
|
|
17
|
+
import { assert } from '../../../@ember/debug/lib/assert.js';
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
20
|
@module ember
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import '../../../@ember/object/index.js';
|
|
2
2
|
import '../../../@ember/-internals/meta/lib/meta.js';
|
|
3
|
-
import '../../../shared-chunks/mandatory-setter-
|
|
3
|
+
import '../../../shared-chunks/mandatory-setter-BiXq-dpN.js';
|
|
4
4
|
import { isDevelopingApp } from '@embroider/macros';
|
|
5
|
-
import
|
|
5
|
+
import '../../../@ember/debug/index.js';
|
|
6
6
|
import '../../../@glimmer/destroyable/index.js';
|
|
7
7
|
import '../../../@glimmer/validator/index.js';
|
|
8
|
-
import { g as get } from '../../../shared-chunks/cache-gDE3bkXq.js';
|
|
9
8
|
import '../../../@glimmer/manager/index.js';
|
|
9
|
+
import { g as get } from '../../../shared-chunks/cache-BESCGvbE.js';
|
|
10
10
|
import '../../../shared-chunks/env-BJLX2Arx.js';
|
|
11
|
-
import
|
|
11
|
+
import '../../../@ember/engine/instance.js';
|
|
12
12
|
import '../../../route-recognizer/index.js';
|
|
13
13
|
import '../../../shared-chunks/rsvp-DaQAFb0W.js';
|
|
14
|
-
import '../../../shared-chunks/
|
|
14
|
+
import '../../../shared-chunks/unrecognized-url-error-zpz-JEoG.js';
|
|
15
|
+
import RoutingService from '../../../@ember/routing/lib/routing-service.js';
|
|
15
16
|
import '../../../@ember/controller/index.js';
|
|
17
|
+
import { assert } from '../../../@ember/debug/lib/assert.js';
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
20
|
@module ember
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import '../../../@ember/object/index.js';
|
|
2
|
+
import '../../../@ember/debug/index.js';
|
|
3
|
+
import EmberRouter from '../../../@ember/routing/router.js';
|
|
4
4
|
import { isDevelopingApp } from '@embroider/macros';
|
|
5
|
-
import {
|
|
5
|
+
import { assert } from '../../../@ember/debug/lib/assert.js';
|
|
6
|
+
import { g as get } from '../../../shared-chunks/cache-BESCGvbE.js';
|
|
6
7
|
import '../../../@ember/-internals/meta/lib/meta.js';
|
|
7
|
-
import '../../../shared-chunks/mandatory-setter-
|
|
8
|
+
import '../../../shared-chunks/mandatory-setter-BiXq-dpN.js';
|
|
8
9
|
import '../../../@glimmer/destroyable/index.js';
|
|
9
10
|
import '../../../@glimmer/validator/index.js';
|
|
10
11
|
import '../../../@glimmer/manager/index.js';
|
|
@@ -6,8 +6,9 @@ import '../../../@ember/-internals/runtime/lib/mixins/-proxy.js';
|
|
|
6
6
|
import '../../../@ember/enumerable/mutable.js';
|
|
7
7
|
import '../../../@ember/-internals/runtime/lib/mixins/target_action_support.js';
|
|
8
8
|
import '../../../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
9
|
-
import {
|
|
9
|
+
import { info } from '../../../@ember/debug/index.js';
|
|
10
10
|
import { isDevelopingApp } from '@embroider/macros';
|
|
11
|
+
import { assert } from '../../../@ember/debug/lib/assert.js';
|
|
11
12
|
import { R as RSVP } from '../../../shared-chunks/rsvp-DaQAFb0W.js';
|
|
12
13
|
|
|
13
14
|
/**
|