ember-source 4.12.2 → 4.12.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.
- package/CHANGELOG.md +9 -1
- package/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +2 -2
- package/dist/ember-template-compiler.map +1 -1
- package/dist/ember-testing.js +1 -1
- package/dist/ember-testing.map +1 -1
- package/dist/ember.debug.js +2 -2
- package/dist/ember.debug.map +1 -1
- package/dist/header/license.js +1 -1
- package/dist/packages/ember/version.js +1 -1
- package/docs/data.json +1 -1
- package/package.json +3 -2
- package/types/preview/@ember/application/index.d.ts +4 -8
- package/types/preview/@ember/application/instance.d.ts +12 -0
- /package/blueprints/component-addon/files/__root__/__path__/{__name__.ts → __name__.js} +0 -0
- /package/blueprints/component-class-addon/files/__root__/__path__/{__name__.ts → __name__.js} +0 -0
- /package/blueprints/helper-addon/files/__root__/__path__/{__name__.ts → __name__.js} +0 -0
- /package/blueprints/route-addon/files/__root__/__path__/{__name__.ts → __name__.js} +0 -0
package/dist/header/license.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default "4.12.
|
|
1
|
+
export default "4.12.4";
|
package/docs/data.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-source",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.4",
|
|
4
4
|
"description": "A JavaScript framework for creating ambitious web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"@babel/helper-module-imports": "^7.16.7",
|
|
59
59
|
"@babel/plugin-transform-block-scoping": "^7.20.5",
|
|
60
60
|
"@ember/edition-utils": "^1.2.0",
|
|
61
|
+
"@simple-dom/interface": "^1.4.0",
|
|
61
62
|
"@glimmer/vm-babel-plugins": "0.84.2",
|
|
62
63
|
"babel-plugin-debug-macros": "^0.3.4",
|
|
63
64
|
"babel-plugin-filter-imports": "^4.0.0",
|
|
@@ -182,7 +183,7 @@
|
|
|
182
183
|
]
|
|
183
184
|
}
|
|
184
185
|
},
|
|
185
|
-
"_originalVersion": "4.12.
|
|
186
|
+
"_originalVersion": "4.12.4",
|
|
186
187
|
"_versionPreviouslyCalculated": true,
|
|
187
188
|
"publishConfig": {
|
|
188
189
|
"tag": "old"
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
declare module '@ember/application' {
|
|
2
2
|
import Engine from '@ember/engine';
|
|
3
|
-
import ApplicationInstance from '@ember/application/instance';
|
|
3
|
+
import ApplicationInstance, { BootOptions } from '@ember/application/instance';
|
|
4
4
|
import EventDispatcher from '@ember/application/-private/event-dispatcher';
|
|
5
5
|
import { EventDispatcherEvents } from '@ember/application/types';
|
|
6
6
|
import Router from '@ember/routing/router';
|
|
7
7
|
import Registry from '@ember/application/-private/registry';
|
|
8
8
|
import { AnyFn } from 'ember/-private/type-utils';
|
|
9
|
-
import Owner
|
|
10
|
-
import type GlimmerComponent from '@glimmer/component';
|
|
11
|
-
import EmberObject from '@ember/object';
|
|
9
|
+
import Owner from '@ember/owner';
|
|
12
10
|
|
|
13
11
|
// Shut off default exporting; we don't want anything but the *intended*
|
|
14
12
|
// public API present.
|
|
@@ -82,10 +80,6 @@ declare module '@ember/application' {
|
|
|
82
80
|
* The Ember.EventDispatcher responsible for delegating events to this application's views.
|
|
83
81
|
*/
|
|
84
82
|
eventDispatcher: EventDispatcher;
|
|
85
|
-
/**
|
|
86
|
-
* Set this to provide an alternate class to `DefaultResolver`
|
|
87
|
-
*/
|
|
88
|
-
resolver: Resolver | null;
|
|
89
83
|
/**
|
|
90
84
|
* The root DOM element of the Application. This can be specified as an
|
|
91
85
|
* element or a jQuery-compatible selector string.
|
|
@@ -114,6 +108,8 @@ declare module '@ember/application' {
|
|
|
114
108
|
* Create an ApplicationInstance for this Application.
|
|
115
109
|
*/
|
|
116
110
|
buildInstance(options?: object): ApplicationInstance;
|
|
111
|
+
|
|
112
|
+
visit(url: string, options: BootOptions): Promise<ApplicationInstance>;
|
|
117
113
|
}
|
|
118
114
|
|
|
119
115
|
/**
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
declare module '@ember/application/instance' {
|
|
2
2
|
import EngineInstance from '@ember/engine/instance';
|
|
3
|
+
import { SimpleElement } from '@simple-dom/interface';
|
|
4
|
+
|
|
5
|
+
export interface BootOptions {
|
|
6
|
+
isBrowser?: boolean;
|
|
7
|
+
shouldRender?: boolean;
|
|
8
|
+
document?: Document | null;
|
|
9
|
+
rootElement?: string | Element | SimpleElement | null;
|
|
10
|
+
location?: string | null;
|
|
11
|
+
// Private?
|
|
12
|
+
isInteractive?: boolean;
|
|
13
|
+
_renderMode?: string;
|
|
14
|
+
}
|
|
3
15
|
|
|
4
16
|
/**
|
|
5
17
|
* The `ApplicationInstance` encapsulates all of the stateful aspects of a
|
|
File without changes
|
/package/blueprints/component-class-addon/files/__root__/__path__/{__name__.ts → __name__.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|