@geexcode/geex-angular 0.0.13 → 0.0.15
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/dist/index.js +11 -1
- package/dist/index.mjs +11 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45,6 +45,9 @@ __export(index_exports, {
|
|
|
45
45
|
});
|
|
46
46
|
module.exports = __toCommonJS(index_exports);
|
|
47
47
|
|
|
48
|
+
// src/provide-geex.ts
|
|
49
|
+
var import_core3 = require("@angular/core");
|
|
50
|
+
|
|
48
51
|
// src/geex.ts
|
|
49
52
|
var import_core2 = require("@angular/core");
|
|
50
53
|
|
|
@@ -216,7 +219,14 @@ function configGeex(injector, overrides) {
|
|
|
216
219
|
// src/provide-geex.ts
|
|
217
220
|
function provideGeex(overrides) {
|
|
218
221
|
return [
|
|
219
|
-
{
|
|
222
|
+
{
|
|
223
|
+
provide: Geex,
|
|
224
|
+
useFactory: (injector) => {
|
|
225
|
+
configGeex(injector, overrides);
|
|
226
|
+
return geex;
|
|
227
|
+
},
|
|
228
|
+
deps: [import_core3.Injector]
|
|
229
|
+
}
|
|
220
230
|
];
|
|
221
231
|
}
|
|
222
232
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import "./chunk-EBO3CZXG.mjs";
|
|
2
2
|
|
|
3
|
+
// src/provide-geex.ts
|
|
4
|
+
import { Injector as Injector3 } from "@angular/core";
|
|
5
|
+
|
|
3
6
|
// src/geex.ts
|
|
4
7
|
import { InjectionToken, runInInjectionContext as runInInjectionContext2 } from "@angular/core";
|
|
5
8
|
|
|
@@ -171,7 +174,14 @@ function configGeex(injector, overrides) {
|
|
|
171
174
|
// src/provide-geex.ts
|
|
172
175
|
function provideGeex(overrides) {
|
|
173
176
|
return [
|
|
174
|
-
{
|
|
177
|
+
{
|
|
178
|
+
provide: Geex,
|
|
179
|
+
useFactory: (injector) => {
|
|
180
|
+
configGeex(injector, overrides);
|
|
181
|
+
return geex;
|
|
182
|
+
},
|
|
183
|
+
deps: [Injector3]
|
|
184
|
+
}
|
|
175
185
|
];
|
|
176
186
|
}
|
|
177
187
|
export {
|