sample-cross-fx 0.14.19-beta.3953 → 0.14.19-beta.3970
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.
|
@@ -126922,7 +126922,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
126922
126922
|
|
|
126923
126923
|
|
|
126924
126924
|
|
|
126925
|
-
function prepareBootstrap(moduleOrComponent) {
|
|
126925
|
+
function prepareBootstrap(moduleOrComponent, piral) {
|
|
126926
126926
|
const [annotation] = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.getAnnotations)(moduleOrComponent);
|
|
126927
126927
|
|
|
126928
126928
|
if (annotation && annotation.bootstrap) {
|
|
@@ -126930,10 +126930,10 @@ function prepareBootstrap(moduleOrComponent) {
|
|
|
126930
126930
|
const [component] = annotation.bootstrap;
|
|
126931
126931
|
annotation.exports = [component];
|
|
126932
126932
|
(0,_module__WEBPACK_IMPORTED_MODULE_1__.defineModule)(moduleOrComponent);
|
|
126933
|
-
return [...(0,_module__WEBPACK_IMPORTED_MODULE_1__.getModuleInstance)(component), component];
|
|
126933
|
+
return [...(0,_module__WEBPACK_IMPORTED_MODULE_1__.getModuleInstance)(component, piral), component];
|
|
126934
126934
|
} else {
|
|
126935
126935
|
// usually contains things like selector, template or templateUrl, changeDetection, ...
|
|
126936
|
-
const result = (0,_module__WEBPACK_IMPORTED_MODULE_1__.getModuleInstance)(moduleOrComponent) || (0,_module__WEBPACK_IMPORTED_MODULE_1__.createModuleInstance)(moduleOrComponent);
|
|
126936
|
+
const result = (0,_module__WEBPACK_IMPORTED_MODULE_1__.getModuleInstance)(moduleOrComponent, piral) || (0,_module__WEBPACK_IMPORTED_MODULE_1__.createModuleInstance)(moduleOrComponent, piral);
|
|
126937
126937
|
return [...result, moduleOrComponent];
|
|
126938
126938
|
}
|
|
126939
126939
|
}
|
|
@@ -126973,26 +126973,29 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
126973
126973
|
|
|
126974
126974
|
|
|
126975
126975
|
function createConverter(_ = {}) {
|
|
126976
|
-
const
|
|
126977
|
-
const bootstrapped = (0,_bootstrap__WEBPACK_IMPORTED_MODULE_0__.prepareBootstrap)(component);
|
|
126978
|
-
return {
|
|
126979
|
-
mount(el, props, ctx, locals) {
|
|
126980
|
-
locals.active = true;
|
|
126976
|
+
const registry = new Map();
|
|
126981
126977
|
|
|
126982
|
-
|
|
126983
|
-
|
|
126984
|
-
|
|
126978
|
+
const convert = component => ({
|
|
126979
|
+
mount(el, props, ctx, locals) {
|
|
126980
|
+
locals.active = true;
|
|
126985
126981
|
|
|
126986
|
-
|
|
126987
|
-
|
|
126982
|
+
if (!registry.has(component)) {
|
|
126983
|
+
registry.set(component, (0,_bootstrap__WEBPACK_IMPORTED_MODULE_0__.prepareBootstrap)(component, props.piral));
|
|
126984
|
+
}
|
|
126988
126985
|
|
|
126989
|
-
|
|
126990
|
-
locals.
|
|
126991
|
-
locals.queued = locals.queued.then(dispose => dispose && dispose());
|
|
126986
|
+
if (!locals.queued) {
|
|
126987
|
+
locals.queued = Promise.resolve();
|
|
126992
126988
|
}
|
|
126993
126989
|
|
|
126994
|
-
|
|
126995
|
-
|
|
126990
|
+
locals.queued = locals.queued.then(() => (0,_queue__WEBPACK_IMPORTED_MODULE_1__.enqueue)(() => locals.active && (0,_bootstrap__WEBPACK_IMPORTED_MODULE_0__.bootstrap)(registry.get(component), el, props, ctx)));
|
|
126991
|
+
},
|
|
126992
|
+
|
|
126993
|
+
unmount(el, locals) {
|
|
126994
|
+
locals.active = false;
|
|
126995
|
+
locals.queued = locals.queued.then(dispose => dispose && dispose());
|
|
126996
|
+
}
|
|
126997
|
+
|
|
126998
|
+
});
|
|
126996
126999
|
|
|
126997
127000
|
convert.defineModule = _module__WEBPACK_IMPORTED_MODULE_2__.defineModule;
|
|
126998
127001
|
convert.Extension = _NgExtension__WEBPACK_IMPORTED_MODULE_3__.NgExtension;
|
|
@@ -127093,7 +127096,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
127093
127096
|
const ngc = _angular_core__WEBPACK_IMPORTED_MODULE_0__;
|
|
127094
127097
|
const availableModules = [];
|
|
127095
127098
|
|
|
127096
|
-
function instantiateModule(moduleDef) {
|
|
127099
|
+
function instantiateModule(moduleDef, piral) {
|
|
127097
127100
|
var BootstrapModule_1;
|
|
127098
127101
|
const {
|
|
127099
127102
|
module,
|
|
@@ -127109,7 +127112,7 @@ function instantiateModule(moduleDef) {
|
|
|
127109
127112
|
deps: []
|
|
127110
127113
|
}, {
|
|
127111
127114
|
provide: 'piral',
|
|
127112
|
-
useFactory: () =>
|
|
127115
|
+
useFactory: () => piral,
|
|
127113
127116
|
deps: []
|
|
127114
127117
|
}];
|
|
127115
127118
|
let BootstrapModule = BootstrapModule_1 = class BootstrapModule {
|
|
@@ -127180,12 +127183,12 @@ function instantiateModule(moduleDef) {
|
|
|
127180
127183
|
return BootstrapModule;
|
|
127181
127184
|
}
|
|
127182
127185
|
|
|
127183
|
-
function getModuleInstance(component) {
|
|
127186
|
+
function getModuleInstance(component, piral) {
|
|
127184
127187
|
const [moduleDef] = availableModules.filter(m => m.components.includes(component));
|
|
127185
127188
|
|
|
127186
127189
|
if (moduleDef) {
|
|
127187
127190
|
if (!moduleDef.active) {
|
|
127188
|
-
moduleDef.active = instantiateModule(moduleDef);
|
|
127191
|
+
moduleDef.active = instantiateModule(moduleDef, piral);
|
|
127189
127192
|
}
|
|
127190
127193
|
|
|
127191
127194
|
return [moduleDef.active, moduleDef.opts];
|
|
@@ -127193,7 +127196,7 @@ function getModuleInstance(component) {
|
|
|
127193
127196
|
|
|
127194
127197
|
return undefined;
|
|
127195
127198
|
}
|
|
127196
|
-
function createModuleInstance(component) {
|
|
127199
|
+
function createModuleInstance(component, piral) {
|
|
127197
127200
|
var Module_1;
|
|
127198
127201
|
const declarations = [component];
|
|
127199
127202
|
const importsDef = [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule];
|
|
@@ -127224,7 +127227,7 @@ function createModuleInstance(component) {
|
|
|
127224
127227
|
}
|
|
127225
127228
|
|
|
127226
127229
|
defineModule(Module);
|
|
127227
|
-
return getModuleInstance(component);
|
|
127230
|
+
return getModuleInstance(component, piral);
|
|
127228
127231
|
}
|
|
127229
127232
|
function defineModule(module, opts = undefined) {
|
|
127230
127233
|
const [annotation] = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getAnnotations)(module);
|
|
@@ -127344,11 +127347,11 @@ if (true) {
|
|
|
127344
127347
|
},
|
|
127345
127348
|
|
|
127346
127349
|
current() {
|
|
127347
|
-
console.log('Running in current mode (Angular 9-
|
|
127350
|
+
console.log('Running in current mode (Angular 9-13)');
|
|
127348
127351
|
},
|
|
127349
127352
|
|
|
127350
127353
|
next() {
|
|
127351
|
-
console.log('Running in next mode (Angular
|
|
127354
|
+
console.log('Running in next mode (Angular 14)');
|
|
127352
127355
|
},
|
|
127353
127356
|
|
|
127354
127357
|
unknown() {
|
|
@@ -127366,7 +127369,9 @@ if (true) {
|
|
|
127366
127369
|
v9: versionHandlers.current,
|
|
127367
127370
|
v10: versionHandlers.current,
|
|
127368
127371
|
v11: versionHandlers.current,
|
|
127369
|
-
v12: versionHandlers.
|
|
127372
|
+
v12: versionHandlers.current,
|
|
127373
|
+
v13: versionHandlers.current,
|
|
127374
|
+
v14: versionHandlers.next
|
|
127370
127375
|
};
|
|
127371
127376
|
const handler = getVersionHandler(versions) || versionHandlers.unknown;
|
|
127372
127377
|
handler();
|
|
@@ -131098,7 +131103,7 @@ function createInstance(config = {}) {
|
|
|
131098
131103
|
const createApi = apiFactory(context, usedPlugins);
|
|
131099
131104
|
const root = createApi({
|
|
131100
131105
|
name: 'root',
|
|
131101
|
-
version: "0.14.19-beta.
|
|
131106
|
+
version: "0.14.19-beta.3970" || 0,
|
|
131102
131107
|
spec: ''
|
|
131103
131108
|
});
|
|
131104
131109
|
const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
|
|
@@ -133571,11 +133576,11 @@ function installPiralDebug(options) {
|
|
|
133571
133576
|
debug: debugApiVersion,
|
|
133572
133577
|
instance: {
|
|
133573
133578
|
name: "sample-cross-fx",
|
|
133574
|
-
version: "0.14.19-beta.
|
|
133579
|
+
version: "0.14.19-beta.3970",
|
|
133575
133580
|
dependencies: "@angular/common,@angular/compiler,@angular/core,@angular/platform-browser,@angular/platform-browser-dynamic,@webcomponents/webcomponentsjs,angular,aurelia-framework,aurelia-templating-binding,aurelia-templating-resources,aurelia-pal-browser,aurelia-event-aggregator,aurelia-history-browser,hyperapp,inferno,inferno-create-element,mithril,lit-element,solid-js,solid-js/dom,preact,riot,rxjs,vue,zone.js,react,react-dom,react-router,react-router-dom,history,tslib,path-to-regexp,@libre/atom,@dbeining/react-atom"
|
|
133576
133581
|
},
|
|
133577
133582
|
build: {
|
|
133578
|
-
date: "2022-03-
|
|
133583
|
+
date: "2022-03-20T03:07:06.347Z",
|
|
133579
133584
|
cli: "0.14.18",
|
|
133580
133585
|
compat: "0.14"
|
|
133581
133586
|
},
|
|
@@ -255744,4 +255749,4 @@ const app = React.createElement(piral_core_1.Piral, {
|
|
|
255744
255749
|
|
|
255745
255750
|
/******/ })()
|
|
255746
255751
|
;
|
|
255747
|
-
//# sourceMappingURL=index.
|
|
255752
|
+
//# sourceMappingURL=index.4bea71.js.map
|