sample-cross-fx 0.14.19-beta.3964 → 0.14.19
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/app/{index.9f49b3.js → index.5dc0c1.js} +37 -34
- package/app/{index.9f49b3.js.map → index.5dc0c1.js.map} +1 -1
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +20 -20
|
@@ -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,17 +126930,17 @@ 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
|
}
|
|
126940
126940
|
function bootstrap(result, node, props, context) {
|
|
126941
126941
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this, void 0, void 0, function* () {
|
|
126942
126942
|
const [selectedModule, ngOptions, component] = result;
|
|
126943
|
-
const ref = yield (0,_startup__WEBPACK_IMPORTED_MODULE_3__.startup)(selectedModule, context,
|
|
126943
|
+
const ref = yield (0,_startup__WEBPACK_IMPORTED_MODULE_3__.startup)(selectedModule, context, ngOptions);
|
|
126944
126944
|
|
|
126945
126945
|
if (ref) {
|
|
126946
126946
|
ref.instance.attach(component, node, props);
|
|
@@ -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,
|
|
@@ -127107,6 +127110,10 @@ function instantiateModule(moduleDef) {
|
|
|
127107
127110
|
provide: 'Props',
|
|
127108
127111
|
useFactory: () => props.current,
|
|
127109
127112
|
deps: []
|
|
127113
|
+
}, {
|
|
127114
|
+
provide: 'piral',
|
|
127115
|
+
useFactory: () => piral,
|
|
127116
|
+
deps: []
|
|
127110
127117
|
}];
|
|
127111
127118
|
let BootstrapModule = BootstrapModule_1 = class BootstrapModule {
|
|
127112
127119
|
constructor(resolver, zone, routing) {
|
|
@@ -127176,12 +127183,12 @@ function instantiateModule(moduleDef) {
|
|
|
127176
127183
|
return BootstrapModule;
|
|
127177
127184
|
}
|
|
127178
127185
|
|
|
127179
|
-
function getModuleInstance(component) {
|
|
127186
|
+
function getModuleInstance(component, piral) {
|
|
127180
127187
|
const [moduleDef] = availableModules.filter(m => m.components.includes(component));
|
|
127181
127188
|
|
|
127182
127189
|
if (moduleDef) {
|
|
127183
127190
|
if (!moduleDef.active) {
|
|
127184
|
-
moduleDef.active = instantiateModule(moduleDef);
|
|
127191
|
+
moduleDef.active = instantiateModule(moduleDef, piral);
|
|
127185
127192
|
}
|
|
127186
127193
|
|
|
127187
127194
|
return [moduleDef.active, moduleDef.opts];
|
|
@@ -127189,7 +127196,7 @@ function getModuleInstance(component) {
|
|
|
127189
127196
|
|
|
127190
127197
|
return undefined;
|
|
127191
127198
|
}
|
|
127192
|
-
function createModuleInstance(component) {
|
|
127199
|
+
function createModuleInstance(component, piral) {
|
|
127193
127200
|
var Module_1;
|
|
127194
127201
|
const declarations = [component];
|
|
127195
127202
|
const importsDef = [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule];
|
|
@@ -127220,7 +127227,7 @@ function createModuleInstance(component) {
|
|
|
127220
127227
|
}
|
|
127221
127228
|
|
|
127222
127229
|
defineModule(Module);
|
|
127223
|
-
return getModuleInstance(component);
|
|
127230
|
+
return getModuleInstance(component, piral);
|
|
127224
127231
|
}
|
|
127225
127232
|
function defineModule(module, opts = undefined) {
|
|
127226
127233
|
const [annotation] = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.getAnnotations)(module);
|
|
@@ -127281,7 +127288,7 @@ function getVersionHandler(versions) {
|
|
|
127281
127288
|
}
|
|
127282
127289
|
|
|
127283
127290
|
const runningModules = [];
|
|
127284
|
-
function startup(BootstrapModule, context,
|
|
127291
|
+
function startup(BootstrapModule, context, ngOptions) {
|
|
127285
127292
|
var _a;
|
|
127286
127293
|
|
|
127287
127294
|
const runningModule = runningModules.find(([ref]) => ref === BootstrapModule);
|
|
@@ -127294,10 +127301,6 @@ function startup(BootstrapModule, context, piral, ngOptions) {
|
|
|
127294
127301
|
const platform = (0,_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__.platformBrowserDynamic)([{
|
|
127295
127302
|
provide: 'Context',
|
|
127296
127303
|
useValue: context
|
|
127297
|
-
}, {
|
|
127298
|
-
provide: 'piral',
|
|
127299
|
-
useFactory: () => piral,
|
|
127300
|
-
deps: []
|
|
127301
127304
|
}, {
|
|
127302
127305
|
provide: _angular_common__WEBPACK_IMPORTED_MODULE_2__.APP_BASE_HREF,
|
|
127303
127306
|
useValue: path
|
|
@@ -131100,7 +131103,7 @@ function createInstance(config = {}) {
|
|
|
131100
131103
|
const createApi = apiFactory(context, usedPlugins);
|
|
131101
131104
|
const root = createApi({
|
|
131102
131105
|
name: 'root',
|
|
131103
|
-
version: "0.14.19
|
|
131106
|
+
version: "0.14.19" || 0,
|
|
131104
131107
|
spec: ''
|
|
131105
131108
|
});
|
|
131106
131109
|
const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
|
|
@@ -133573,12 +133576,12 @@ function installPiralDebug(options) {
|
|
|
133573
133576
|
debug: debugApiVersion,
|
|
133574
133577
|
instance: {
|
|
133575
133578
|
name: "sample-cross-fx",
|
|
133576
|
-
version: "0.14.19
|
|
133579
|
+
version: "0.14.19",
|
|
133577
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"
|
|
133578
133581
|
},
|
|
133579
133582
|
build: {
|
|
133580
|
-
date: "2022-03-
|
|
133581
|
-
cli: "0.14.
|
|
133583
|
+
date: "2022-03-20T09:55:06.741Z",
|
|
133584
|
+
cli: "0.14.19",
|
|
133582
133585
|
compat: "0.14"
|
|
133583
133586
|
},
|
|
133584
133587
|
pilets: {
|
|
@@ -255746,4 +255749,4 @@ const app = React.createElement(piral_core_1.Piral, {
|
|
|
255746
255749
|
|
|
255747
255750
|
/******/ })()
|
|
255748
255751
|
;
|
|
255749
|
-
//# sourceMappingURL=index.
|
|
255752
|
+
//# sourceMappingURL=index.5dc0c1.js.map
|