sample-cross-fx 0.14.8-beta.3494 → 0.14.8-beta.3510
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.72e264.js → index.1a3237.js} +377 -205
- package/app/{index.72e264.js.map → index.1a3237.js.map} +1 -1
- package/app/index.d.ts +4 -0
- 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 +1 -1
|
@@ -129479,8 +129479,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
129479
129479
|
/* harmony import */ var _createInstance__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createInstance */ "../../framework/piral-core/esm/createInstance.js");
|
|
129480
129480
|
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components */ "../../framework/piral-core/esm/components/ResponsiveLayout.js");
|
|
129481
129481
|
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components */ "../../framework/piral-core/esm/components/Mediator.js");
|
|
129482
|
-
/* harmony import */ var
|
|
129483
|
-
/* harmony import */ var
|
|
129482
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components */ "../../framework/piral-core/esm/components/PiralView.js");
|
|
129483
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components */ "../../framework/piral-core/esm/components/PortalRenderer.js");
|
|
129484
|
+
/* harmony import */ var _RootListener__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RootListener */ "../../framework/piral-core/esm/RootListener.js");
|
|
129485
|
+
|
|
129484
129486
|
|
|
129485
129487
|
|
|
129486
129488
|
|
|
@@ -129510,14 +129512,58 @@ const Piral = ({
|
|
|
129510
129512
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_3__.ResponsiveLayout, {
|
|
129511
129513
|
breakpoints: breakpoints
|
|
129512
129514
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_4__.Mediator, {
|
|
129513
|
-
options: instance.options
|
|
129514
|
-
|
|
129515
|
+
options: instance.options,
|
|
129516
|
+
key: instance.id
|
|
129517
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_RootListener__WEBPACK_IMPORTED_MODULE_5__.RootListener, null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_6__.PiralView, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_7__.PortalRenderer, {
|
|
129515
129518
|
id: "root"
|
|
129516
129519
|
}), children));
|
|
129517
129520
|
Piral.displayName = 'Piral';
|
|
129518
129521
|
|
|
129519
129522
|
/***/ }),
|
|
129520
129523
|
|
|
129524
|
+
/***/ "../../framework/piral-core/esm/RootListener.js":
|
|
129525
|
+
/*!******************************************************!*\
|
|
129526
|
+
!*** ../../framework/piral-core/esm/RootListener.js ***!
|
|
129527
|
+
\******************************************************/
|
|
129528
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
129529
|
+
|
|
129530
|
+
"use strict";
|
|
129531
|
+
__webpack_require__.r(__webpack_exports__);
|
|
129532
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
129533
|
+
/* harmony export */ "RootListener": () => (/* binding */ RootListener)
|
|
129534
|
+
/* harmony export */ });
|
|
129535
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
129536
|
+
/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
129537
|
+
/* harmony import */ var _modules__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modules */ "../../framework/piral-core/esm/modules/element.js");
|
|
129538
|
+
|
|
129539
|
+
|
|
129540
|
+
|
|
129541
|
+
const RootListener = () => {
|
|
129542
|
+
const context = (0,___WEBPACK_IMPORTED_MODULE_1__.useGlobalStateContext)();
|
|
129543
|
+
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
|
|
129544
|
+
if (typeof document !== 'undefined') {
|
|
129545
|
+
const handler = ev => {
|
|
129546
|
+
ev.stopPropagation();
|
|
129547
|
+
const {
|
|
129548
|
+
target,
|
|
129549
|
+
props
|
|
129550
|
+
} = ev.detail;
|
|
129551
|
+
const [dispose, update] = (0,_modules__WEBPACK_IMPORTED_MODULE_2__.renderElement)(context, target, props);
|
|
129552
|
+
target.dispose = dispose;
|
|
129553
|
+
target.update = update;
|
|
129554
|
+
};
|
|
129555
|
+
|
|
129556
|
+
document.body.addEventListener('render-html', handler, false);
|
|
129557
|
+
return () => {
|
|
129558
|
+
document.body.removeEventListener('render-html', handler, false);
|
|
129559
|
+
};
|
|
129560
|
+
}
|
|
129561
|
+
}, [context]);
|
|
129562
|
+
return null;
|
|
129563
|
+
};
|
|
129564
|
+
|
|
129565
|
+
/***/ }),
|
|
129566
|
+
|
|
129521
129567
|
/***/ "../../framework/piral-core/esm/actions/app.js":
|
|
129522
129568
|
/*!*****************************************************!*\
|
|
129523
129569
|
!*** ../../framework/piral-core/esm/actions/app.js ***!
|
|
@@ -130020,7 +130066,8 @@ function ExtensionSlot(props) {
|
|
|
130020
130066
|
name,
|
|
130021
130067
|
render = _utils__WEBPACK_IMPORTED_MODULE_1__.defaultRender,
|
|
130022
130068
|
empty,
|
|
130023
|
-
params
|
|
130069
|
+
params,
|
|
130070
|
+
children
|
|
130024
130071
|
} = props;
|
|
130025
130072
|
const extensions = (0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useGlobalState)(s => s.registry.extensions[name] || _utils__WEBPACK_IMPORTED_MODULE_3__.none);
|
|
130026
130073
|
return render(extensions.length === 0 && (0,piral_base__WEBPACK_IMPORTED_MODULE_4__.isfunc)(empty) ? [(0,_utils__WEBPACK_IMPORTED_MODULE_1__.defaultRender)(empty(), 'empty')] : extensions.map(({
|
|
@@ -130029,6 +130076,7 @@ function ExtensionSlot(props) {
|
|
|
130029
130076
|
defaults = {}
|
|
130030
130077
|
}, i) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, {
|
|
130031
130078
|
key: `${(reference === null || reference === void 0 ? void 0 : reference.displayName) || '_'}${i}`,
|
|
130079
|
+
children: children,
|
|
130032
130080
|
params: Object.assign(Object.assign({}, defaults), params || {})
|
|
130033
130081
|
})));
|
|
130034
130082
|
}
|
|
@@ -130049,7 +130097,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130049
130097
|
/* harmony export */ });
|
|
130050
130098
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
130051
130099
|
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/create.js");
|
|
130052
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/
|
|
130100
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
130053
130101
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
130054
130102
|
|
|
130055
130103
|
|
|
@@ -130062,19 +130110,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130062
130110
|
const Mediator = ({
|
|
130063
130111
|
options
|
|
130064
130112
|
}) => {
|
|
130065
|
-
const
|
|
130113
|
+
const {
|
|
130114
|
+
initialize,
|
|
130115
|
+
readState
|
|
130116
|
+
} = (0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useGlobalStateContext)();
|
|
130066
130117
|
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
|
|
130067
|
-
const
|
|
130068
|
-
connect,
|
|
130069
|
-
disconnect
|
|
130070
|
-
} = (0,piral_base__WEBPACK_IMPORTED_MODULE_2__.startLoadingPilets)(options);
|
|
130118
|
+
const shouldLoad = readState(s => s.app.loading);
|
|
130071
130119
|
|
|
130072
|
-
|
|
130073
|
-
|
|
130074
|
-
|
|
130120
|
+
if (shouldLoad) {
|
|
130121
|
+
const {
|
|
130122
|
+
connect,
|
|
130123
|
+
disconnect
|
|
130124
|
+
} = (0,piral_base__WEBPACK_IMPORTED_MODULE_2__.startLoadingPilets)(options);
|
|
130075
130125
|
|
|
130076
|
-
|
|
130077
|
-
|
|
130126
|
+
const notifier = (error, pilets, loaded) => {
|
|
130127
|
+
initialize(!loaded, error, pilets);
|
|
130128
|
+
};
|
|
130129
|
+
|
|
130130
|
+
connect(notifier);
|
|
130131
|
+
return () => disconnect(notifier);
|
|
130132
|
+
}
|
|
130078
130133
|
}, _utils__WEBPACK_IMPORTED_MODULE_3__.none); // tslint:disable-next-line:no-null-keyword
|
|
130079
130134
|
|
|
130080
130135
|
return null;
|
|
@@ -130241,10 +130296,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130241
130296
|
/* harmony export */ });
|
|
130242
130297
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
130243
130298
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
130244
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/
|
|
130245
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/media.js");
|
|
130299
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/media.js");
|
|
130246
130300
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/media.js");
|
|
130247
|
-
/* harmony import */ var
|
|
130301
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/react.js");
|
|
130248
130302
|
|
|
130249
130303
|
|
|
130250
130304
|
|
|
@@ -130257,14 +130311,16 @@ const ResponsiveLayout = ({
|
|
|
130257
130311
|
children
|
|
130258
130312
|
}) => {
|
|
130259
130313
|
const current = (0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useGlobalState)(m => m.app.layout) || 'desktop';
|
|
130260
|
-
const
|
|
130261
|
-
|
|
130314
|
+
const {
|
|
130315
|
+
changeLayout
|
|
130316
|
+
} = (0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useGlobalStateContext)();
|
|
130317
|
+
const selected = (0,_hooks__WEBPACK_IMPORTED_MODULE_3__.useMedia)(breakpoints, _utils__WEBPACK_IMPORTED_MODULE_1__.defaultLayouts, current);
|
|
130262
130318
|
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
|
|
130263
130319
|
if (selected !== current) {
|
|
130264
|
-
|
|
130320
|
+
changeLayout(selected);
|
|
130265
130321
|
}
|
|
130266
130322
|
}, [selected]);
|
|
130267
|
-
return (0,
|
|
130323
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_4__.defaultRender)(children);
|
|
130268
130324
|
};
|
|
130269
130325
|
ResponsiveLayout.displayName = 'ResponsiveLayout';
|
|
130270
130326
|
|
|
@@ -130281,7 +130337,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130281
130337
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
130282
130338
|
/* harmony export */ "SetComponent": () => (/* binding */ SetComponent)
|
|
130283
130339
|
/* harmony export */ });
|
|
130284
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/
|
|
130340
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
130285
130341
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/setter.js");
|
|
130286
130342
|
|
|
130287
130343
|
/**
|
|
@@ -130292,7 +130348,9 @@ function SetComponent({
|
|
|
130292
130348
|
name,
|
|
130293
130349
|
component
|
|
130294
130350
|
}) {
|
|
130295
|
-
const
|
|
130351
|
+
const {
|
|
130352
|
+
setComponent
|
|
130353
|
+
} = (0,_hooks__WEBPACK_IMPORTED_MODULE_0__.useGlobalStateContext)();
|
|
130296
130354
|
(0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useSetter)(() => component && setComponent(name, component)); // tslint:disable-next-line:no-null-keyword
|
|
130297
130355
|
|
|
130298
130356
|
return null;
|
|
@@ -130311,7 +130369,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130311
130369
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
130312
130370
|
/* harmony export */ "SetError": () => (/* binding */ SetError)
|
|
130313
130371
|
/* harmony export */ });
|
|
130314
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/
|
|
130372
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
130315
130373
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/setter.js");
|
|
130316
130374
|
|
|
130317
130375
|
/**
|
|
@@ -130322,7 +130380,9 @@ function SetError({
|
|
|
130322
130380
|
type,
|
|
130323
130381
|
component
|
|
130324
130382
|
}) {
|
|
130325
|
-
const
|
|
130383
|
+
const {
|
|
130384
|
+
setErrorComponent
|
|
130385
|
+
} = (0,_hooks__WEBPACK_IMPORTED_MODULE_0__.useGlobalStateContext)();
|
|
130326
130386
|
(0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useSetter)(() => component && setErrorComponent(type, component)); // tslint:disable-next-line:no-null-keyword
|
|
130327
130387
|
|
|
130328
130388
|
return null;
|
|
@@ -130403,7 +130463,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130403
130463
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
130404
130464
|
/* harmony export */ "SetProvider": () => (/* binding */ SetProvider)
|
|
130405
130465
|
/* harmony export */ });
|
|
130406
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/
|
|
130466
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
130407
130467
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/setter.js");
|
|
130408
130468
|
|
|
130409
130469
|
/**
|
|
@@ -130413,7 +130473,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130413
130473
|
function SetProvider({
|
|
130414
130474
|
provider
|
|
130415
130475
|
}) {
|
|
130416
|
-
const
|
|
130476
|
+
const {
|
|
130477
|
+
includeProvider
|
|
130478
|
+
} = (0,_hooks__WEBPACK_IMPORTED_MODULE_0__.useGlobalStateContext)();
|
|
130417
130479
|
(0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useSetter)(() => provider && includeProvider(provider)); // tslint:disable-next-line:no-null-keyword
|
|
130418
130480
|
|
|
130419
130481
|
return null;
|
|
@@ -130434,7 +130496,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130434
130496
|
/* harmony export */ });
|
|
130435
130497
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
130436
130498
|
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
|
|
130437
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/
|
|
130499
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
130438
130500
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/setter.js");
|
|
130439
130501
|
|
|
130440
130502
|
|
|
@@ -130447,7 +130509,9 @@ function SetRedirect({
|
|
|
130447
130509
|
from,
|
|
130448
130510
|
to
|
|
130449
130511
|
}) {
|
|
130450
|
-
const
|
|
130512
|
+
const {
|
|
130513
|
+
setRoute
|
|
130514
|
+
} = (0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useGlobalStateContext)();
|
|
130451
130515
|
(0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useSetter)(() => setRoute(from, () => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__.Redirect, {
|
|
130452
130516
|
to: to
|
|
130453
130517
|
}))); // tslint:disable-next-line:no-null-keyword
|
|
@@ -130468,7 +130532,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130468
130532
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
130469
130533
|
/* harmony export */ "SetRoute": () => (/* binding */ SetRoute)
|
|
130470
130534
|
/* harmony export */ });
|
|
130471
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/
|
|
130535
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
130472
130536
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/setter.js");
|
|
130473
130537
|
|
|
130474
130538
|
/**
|
|
@@ -130479,7 +130543,9 @@ function SetRoute({
|
|
|
130479
130543
|
path,
|
|
130480
130544
|
component
|
|
130481
130545
|
}) {
|
|
130482
|
-
const
|
|
130546
|
+
const {
|
|
130547
|
+
setRoute
|
|
130548
|
+
} = (0,_hooks__WEBPACK_IMPORTED_MODULE_0__.useGlobalStateContext)();
|
|
130483
130549
|
(0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useSetter)(() => component && setRoute(path, component)); // tslint:disable-next-line:no-null-keyword
|
|
130484
130550
|
|
|
130485
130551
|
return null;
|
|
@@ -130684,15 +130750,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
130684
130750
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
130685
130751
|
/* harmony export */ "createInstance": () => (/* binding */ createInstance)
|
|
130686
130752
|
/* harmony export */ });
|
|
130687
|
-
/* harmony import */ var
|
|
130688
|
-
/* harmony import */ var
|
|
130689
|
-
/* harmony import */ var
|
|
130690
|
-
/* harmony import */ var
|
|
130691
|
-
/* harmony import */ var
|
|
130692
|
-
/* harmony import */ var
|
|
130693
|
-
/* harmony import */ var
|
|
130694
|
-
/* harmony import */ var
|
|
130695
|
-
/* harmony import */ var
|
|
130753
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
130754
|
+
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/events.js");
|
|
130755
|
+
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/utils.js");
|
|
130756
|
+
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/strategies.js");
|
|
130757
|
+
/* harmony import */ var _modules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modules */ "../../framework/piral-core/esm/modules/dependencies.js");
|
|
130758
|
+
/* harmony import */ var _modules__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modules */ "../../framework/piral-core/esm/modules/api.js");
|
|
130759
|
+
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./state */ "../../framework/piral-core/esm/state/createGlobalState.js");
|
|
130760
|
+
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./state */ "../../framework/piral-core/esm/state/createActions.js");
|
|
130761
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers */ "../../framework/piral-core/esm/helpers.js");
|
|
130762
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils */ "../../framework/piral-core/esm/utils/guid.js");
|
|
130763
|
+
|
|
130696
130764
|
|
|
130697
130765
|
|
|
130698
130766
|
|
|
@@ -130721,31 +130789,32 @@ render(app, document.querySelector('#app'));
|
|
|
130721
130789
|
|
|
130722
130790
|
function createInstance(config = {}) {
|
|
130723
130791
|
const {
|
|
130792
|
+
id = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.generateId)(),
|
|
130724
130793
|
state,
|
|
130725
130794
|
actions,
|
|
130726
130795
|
availablePilets = [],
|
|
130727
130796
|
plugins,
|
|
130728
|
-
requestPilets =
|
|
130797
|
+
requestPilets = _modules__WEBPACK_IMPORTED_MODULE_1__.defaultModuleRequester,
|
|
130729
130798
|
loaderConfig,
|
|
130730
130799
|
async = false,
|
|
130731
|
-
shareDependencies =
|
|
130800
|
+
shareDependencies = _modules__WEBPACK_IMPORTED_MODULE_1__.defaultDependencySelector,
|
|
130732
130801
|
loadPilet,
|
|
130733
130802
|
loaders,
|
|
130734
130803
|
debug,
|
|
130735
|
-
apiFactory =
|
|
130804
|
+
apiFactory = _modules__WEBPACK_IMPORTED_MODULE_2__.defaultApiFactory
|
|
130736
130805
|
} = config;
|
|
130737
|
-
const globalState = (0,
|
|
130738
|
-
const events = (0,
|
|
130739
|
-
const context = (0,
|
|
130806
|
+
const globalState = (0,_state__WEBPACK_IMPORTED_MODULE_3__.createGlobalState)(state);
|
|
130807
|
+
const events = (0,piral_base__WEBPACK_IMPORTED_MODULE_4__.createListener)(globalState);
|
|
130808
|
+
const context = (0,_state__WEBPACK_IMPORTED_MODULE_5__.createActions)(globalState, events);
|
|
130740
130809
|
const definedPlugins = plugins || [];
|
|
130741
130810
|
const usedPlugins = Array.isArray(definedPlugins) ? definedPlugins : [definedPlugins];
|
|
130742
130811
|
const createApi = apiFactory(context, usedPlugins);
|
|
130743
130812
|
const root = createApi({
|
|
130744
130813
|
name: 'root',
|
|
130745
|
-
version: "0.14.8-beta.
|
|
130814
|
+
version: "0.14.8-beta.3510" || 0,
|
|
130746
130815
|
spec: ''
|
|
130747
130816
|
});
|
|
130748
|
-
const options = (0,
|
|
130817
|
+
const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
|
|
130749
130818
|
context,
|
|
130750
130819
|
createApi,
|
|
130751
130820
|
loaders,
|
|
@@ -130753,17 +130822,18 @@ function createInstance(config = {}) {
|
|
|
130753
130822
|
availablePilets,
|
|
130754
130823
|
loaderConfig,
|
|
130755
130824
|
shareDependencies,
|
|
130756
|
-
strategy: (0,
|
|
130825
|
+
strategy: (0,piral_base__WEBPACK_IMPORTED_MODULE_7__.isfunc)(async) ? async : async ? piral_base__WEBPACK_IMPORTED_MODULE_8__.blazingStrategy : piral_base__WEBPACK_IMPORTED_MODULE_8__.standardStrategy,
|
|
130757
130826
|
requestPilets,
|
|
130758
130827
|
debug
|
|
130759
130828
|
});
|
|
130760
130829
|
|
|
130761
130830
|
if (actions) {
|
|
130762
|
-
(0,
|
|
130831
|
+
(0,_state__WEBPACK_IMPORTED_MODULE_5__.includeActions)(context, actions);
|
|
130763
130832
|
}
|
|
130764
130833
|
|
|
130765
130834
|
context.options = options;
|
|
130766
|
-
return (0,
|
|
130835
|
+
return (0,tslib__WEBPACK_IMPORTED_MODULE_9__.__assign)(events, {
|
|
130836
|
+
id,
|
|
130767
130837
|
createApi,
|
|
130768
130838
|
context,
|
|
130769
130839
|
root,
|
|
@@ -131136,6 +131206,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
131136
131206
|
/* harmony export */ "noop": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.noop),
|
|
131137
131207
|
/* harmony export */ "prependItem": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.prependItem),
|
|
131138
131208
|
/* harmony export */ "prependItems": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.prependItems),
|
|
131209
|
+
/* harmony export */ "reactifyContent": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.reactifyContent),
|
|
131139
131210
|
/* harmony export */ "removeIndicator": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.removeIndicator),
|
|
131140
131211
|
/* harmony export */ "removeNested": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.removeNested),
|
|
131141
131212
|
/* harmony export */ "renderInDom": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.renderInDom),
|
|
@@ -131182,102 +131253,59 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
131182
131253
|
"use strict";
|
|
131183
131254
|
__webpack_require__.r(__webpack_exports__);
|
|
131184
131255
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
131185
|
-
/* harmony export */ "createCoreApi": () => (/* binding */ createCoreApi),
|
|
131186
131256
|
/* harmony export */ "createExtenders": () => (/* binding */ createExtenders),
|
|
131187
131257
|
/* harmony export */ "defaultApiFactory": () => (/* binding */ defaultApiFactory)
|
|
131188
131258
|
/* harmony export */ });
|
|
131189
|
-
/* harmony import */ var
|
|
131190
|
-
/* harmony import */ var
|
|
131191
|
-
/* harmony import */ var
|
|
131192
|
-
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components */ "../../framework/piral-core/esm/components/ExtensionSlot.js");
|
|
131193
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
131194
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/foreign.js");
|
|
131195
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/data.js");
|
|
131196
|
-
|
|
131197
|
-
|
|
131198
|
-
|
|
131199
|
-
|
|
131200
|
-
|
|
131201
|
-
if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
131202
|
-
class PiralExtension extends HTMLElement {
|
|
131203
|
-
constructor() {
|
|
131204
|
-
super(...arguments);
|
|
131205
|
-
this.dispose = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
131206
|
-
this.update = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
131207
|
-
}
|
|
131208
|
-
|
|
131209
|
-
getProps() {
|
|
131210
|
-
const name = this.getAttribute('name');
|
|
131211
|
-
const params = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.tryParseJson)(this.getAttribute('params'));
|
|
131212
|
-
return {
|
|
131213
|
-
name,
|
|
131214
|
-
params
|
|
131215
|
-
};
|
|
131216
|
-
}
|
|
131217
|
-
|
|
131218
|
-
connectedCallback() {
|
|
131219
|
-
if (this.isConnected) {
|
|
131220
|
-
this.dispatchEvent(new CustomEvent('render-html', {
|
|
131221
|
-
bubbles: true,
|
|
131222
|
-
detail: {
|
|
131223
|
-
target: this,
|
|
131224
|
-
props: this.getProps()
|
|
131225
|
-
}
|
|
131226
|
-
}));
|
|
131227
|
-
}
|
|
131228
|
-
}
|
|
131259
|
+
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/utils.js");
|
|
131260
|
+
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/api.js");
|
|
131261
|
+
/* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core */ "../../framework/piral-core/esm/modules/core.js");
|
|
131229
131262
|
|
|
131230
|
-
disconnectedCallback() {
|
|
131231
|
-
this.dispose();
|
|
131232
|
-
this.dispose = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
131233
|
-
this.update = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
131234
|
-
}
|
|
131235
131263
|
|
|
131236
|
-
|
|
131237
|
-
|
|
131238
|
-
|
|
131264
|
+
function createExtenders(context, apis) {
|
|
131265
|
+
const creators = [_core__WEBPACK_IMPORTED_MODULE_0__.createCoreApi, ...apis.filter(piral_base__WEBPACK_IMPORTED_MODULE_1__.isfunc)];
|
|
131266
|
+
return creators.map(c => {
|
|
131267
|
+
const ctx = c(context);
|
|
131239
131268
|
|
|
131240
|
-
|
|
131241
|
-
return
|
|
131269
|
+
if ((0,piral_base__WEBPACK_IMPORTED_MODULE_1__.isfunc)(ctx)) {
|
|
131270
|
+
return ctx;
|
|
131271
|
+
} else {
|
|
131272
|
+
return () => Object.assign({}, ctx);
|
|
131242
131273
|
}
|
|
131243
|
-
|
|
131244
|
-
|
|
131245
|
-
|
|
131246
|
-
|
|
131274
|
+
});
|
|
131275
|
+
}
|
|
131276
|
+
function defaultApiFactory(context, apis) {
|
|
131277
|
+
const extenders = createExtenders(context, apis);
|
|
131278
|
+
return target => {
|
|
131279
|
+
const api = (0,piral_base__WEBPACK_IMPORTED_MODULE_2__.initializeApi)(target, context);
|
|
131280
|
+
context.apis[target.name] = api;
|
|
131281
|
+
return (0,piral_base__WEBPACK_IMPORTED_MODULE_2__.mergeApis)(api, extenders, target);
|
|
131282
|
+
};
|
|
131247
131283
|
}
|
|
131248
131284
|
|
|
131249
|
-
|
|
131250
|
-
let [id, portal] = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.renderInDom)(context, element, _components__WEBPACK_IMPORTED_MODULE_2__.ExtensionSlot, props);
|
|
131251
|
-
const evName = 'extension-props-changed';
|
|
131285
|
+
/***/ }),
|
|
131252
131286
|
|
|
131253
|
-
|
|
131287
|
+
/***/ "../../framework/piral-core/esm/modules/core.js":
|
|
131288
|
+
/*!******************************************************!*\
|
|
131289
|
+
!*** ../../framework/piral-core/esm/modules/core.js ***!
|
|
131290
|
+
\******************************************************/
|
|
131291
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
131254
131292
|
|
|
131255
|
-
|
|
131256
|
-
|
|
131257
|
-
|
|
131258
|
-
|
|
131293
|
+
"use strict";
|
|
131294
|
+
__webpack_require__.r(__webpack_exports__);
|
|
131295
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
131296
|
+
/* harmony export */ "createCoreApi": () => (/* binding */ createCoreApi)
|
|
131297
|
+
/* harmony export */ });
|
|
131298
|
+
/* harmony import */ var _element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./element */ "../../framework/piral-core/esm/modules/element.js");
|
|
131299
|
+
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../state */ "../../framework/piral-core/esm/state/withApi.js");
|
|
131300
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components */ "../../framework/piral-core/esm/components/ExtensionSlot.js");
|
|
131301
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/data.js");
|
|
131259
131302
|
|
|
131260
|
-
const update = newProps => {
|
|
131261
|
-
[id, portal] = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.changeDomPortal)(id, portal, context, element, _components__WEBPACK_IMPORTED_MODULE_2__.ExtensionSlot, newProps);
|
|
131262
|
-
};
|
|
131263
131303
|
|
|
131264
|
-
element.addEventListener(evName, handler);
|
|
131265
|
-
return [dispose, update];
|
|
131266
|
-
}
|
|
131267
131304
|
|
|
131268
|
-
function createCoreApi(context) {
|
|
131269
|
-
if (typeof document !== 'undefined') {
|
|
131270
|
-
document.body.addEventListener('render-html', ev => {
|
|
131271
|
-
ev.stopPropagation();
|
|
131272
|
-
const container = ev.detail.target;
|
|
131273
|
-
const [dispose, update] = render(context, container, ev.detail.props);
|
|
131274
|
-
container.dispose = dispose;
|
|
131275
|
-
container.update = update;
|
|
131276
|
-
}, false);
|
|
131277
|
-
}
|
|
131278
131305
|
|
|
131279
|
-
|
|
131280
|
-
|
|
131306
|
+
function createCoreApi(context) {
|
|
131307
|
+
return (api, meta) => {
|
|
131308
|
+
const pilet = meta.name;
|
|
131281
131309
|
return {
|
|
131282
131310
|
getData(name) {
|
|
131283
131311
|
return context.readDataValue(name);
|
|
@@ -131287,8 +131315,8 @@ function createCoreApi(context) {
|
|
|
131287
131315
|
const {
|
|
131288
131316
|
target = 'memory',
|
|
131289
131317
|
expires
|
|
131290
|
-
} = (0,
|
|
131291
|
-
const expiration = (0,
|
|
131318
|
+
} = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.createDataOptions)(options);
|
|
131319
|
+
const expiration = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.getDataExpiration)(expires);
|
|
131292
131320
|
return context.tryWriteDataItem(name, value, pilet, target, expiration);
|
|
131293
131321
|
},
|
|
131294
131322
|
|
|
@@ -131296,7 +131324,7 @@ function createCoreApi(context) {
|
|
|
131296
131324
|
context.registerPage(route, {
|
|
131297
131325
|
pilet,
|
|
131298
131326
|
meta,
|
|
131299
|
-
component: (0,
|
|
131327
|
+
component: (0,_state__WEBPACK_IMPORTED_MODULE_1__.withApi)(context, arg, api, 'page')
|
|
131300
131328
|
});
|
|
131301
131329
|
return () => api.unregisterPage(route);
|
|
131302
131330
|
},
|
|
@@ -131308,7 +131336,7 @@ function createCoreApi(context) {
|
|
|
131308
131336
|
registerExtension(name, arg, defaults) {
|
|
131309
131337
|
context.registerExtension(name, {
|
|
131310
131338
|
pilet,
|
|
131311
|
-
component: (0,
|
|
131339
|
+
component: (0,_state__WEBPACK_IMPORTED_MODULE_1__.withApi)(context, arg, api, 'extension'),
|
|
131312
131340
|
reference: arg,
|
|
131313
131341
|
defaults
|
|
131314
131342
|
});
|
|
@@ -131320,34 +131348,14 @@ function createCoreApi(context) {
|
|
|
131320
131348
|
},
|
|
131321
131349
|
|
|
131322
131350
|
renderHtmlExtension(element, props) {
|
|
131323
|
-
const [dispose] =
|
|
131351
|
+
const [dispose] = (0,_element__WEBPACK_IMPORTED_MODULE_2__.renderElement)(context, element, props);
|
|
131324
131352
|
return dispose;
|
|
131325
131353
|
},
|
|
131326
131354
|
|
|
131327
|
-
Extension:
|
|
131355
|
+
Extension: _components__WEBPACK_IMPORTED_MODULE_3__.ExtensionSlot
|
|
131328
131356
|
};
|
|
131329
131357
|
};
|
|
131330
131358
|
}
|
|
131331
|
-
function createExtenders(context, apis) {
|
|
131332
|
-
const creators = [createCoreApi, ...apis.filter(piral_base__WEBPACK_IMPORTED_MODULE_5__.isfunc)];
|
|
131333
|
-
return creators.map(c => {
|
|
131334
|
-
const ctx = c(context);
|
|
131335
|
-
|
|
131336
|
-
if ((0,piral_base__WEBPACK_IMPORTED_MODULE_5__.isfunc)(ctx)) {
|
|
131337
|
-
return ctx;
|
|
131338
|
-
} else {
|
|
131339
|
-
return () => Object.assign({}, ctx);
|
|
131340
|
-
}
|
|
131341
|
-
});
|
|
131342
|
-
}
|
|
131343
|
-
function defaultApiFactory(context, apis) {
|
|
131344
|
-
const extenders = createExtenders(context, apis);
|
|
131345
|
-
return target => {
|
|
131346
|
-
const api = (0,piral_base__WEBPACK_IMPORTED_MODULE_6__.initializeApi)(target, context);
|
|
131347
|
-
context.apis[target.name] = api;
|
|
131348
|
-
return (0,piral_base__WEBPACK_IMPORTED_MODULE_6__.mergeApis)(api, extenders, target);
|
|
131349
|
-
};
|
|
131350
|
-
}
|
|
131351
131359
|
|
|
131352
131360
|
/***/ }),
|
|
131353
131361
|
|
|
@@ -131422,6 +131430,125 @@ function defaultModuleRequester() {
|
|
|
131422
131430
|
|
|
131423
131431
|
/***/ }),
|
|
131424
131432
|
|
|
131433
|
+
/***/ "../../framework/piral-core/esm/modules/element.js":
|
|
131434
|
+
/*!*********************************************************!*\
|
|
131435
|
+
!*** ../../framework/piral-core/esm/modules/element.js ***!
|
|
131436
|
+
\*********************************************************/
|
|
131437
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
131438
|
+
|
|
131439
|
+
"use strict";
|
|
131440
|
+
__webpack_require__.r(__webpack_exports__);
|
|
131441
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
131442
|
+
/* harmony export */ "renderElement": () => (/* binding */ renderElement)
|
|
131443
|
+
/* harmony export */ });
|
|
131444
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components */ "../../framework/piral-core/esm/components/ExtensionSlot.js");
|
|
131445
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
131446
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/extension.js");
|
|
131447
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/foreign.js");
|
|
131448
|
+
|
|
131449
|
+
|
|
131450
|
+
|
|
131451
|
+
if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
131452
|
+
class PiralExtension extends HTMLElement {
|
|
131453
|
+
constructor() {
|
|
131454
|
+
super(...arguments);
|
|
131455
|
+
this.dispose = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
131456
|
+
this.update = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
131457
|
+
this.props = {
|
|
131458
|
+
name: this.getAttribute('name'),
|
|
131459
|
+
params: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.tryParseJson)(this.getAttribute('params')),
|
|
131460
|
+
empty: undefined,
|
|
131461
|
+
children: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.reactifyContent)(this.childNodes)
|
|
131462
|
+
};
|
|
131463
|
+
}
|
|
131464
|
+
|
|
131465
|
+
get params() {
|
|
131466
|
+
return this.props.params;
|
|
131467
|
+
}
|
|
131468
|
+
|
|
131469
|
+
set params(value) {
|
|
131470
|
+
this.props.params = value;
|
|
131471
|
+
this.update(this.props);
|
|
131472
|
+
}
|
|
131473
|
+
|
|
131474
|
+
get name() {
|
|
131475
|
+
return this.props.name;
|
|
131476
|
+
}
|
|
131477
|
+
|
|
131478
|
+
set name(value) {
|
|
131479
|
+
this.props.name = value;
|
|
131480
|
+
this.update(this.props);
|
|
131481
|
+
}
|
|
131482
|
+
|
|
131483
|
+
get empty() {
|
|
131484
|
+
return this.props.empty;
|
|
131485
|
+
}
|
|
131486
|
+
|
|
131487
|
+
set empty(value) {
|
|
131488
|
+
this.props.empty = value;
|
|
131489
|
+
this.update(this.props);
|
|
131490
|
+
}
|
|
131491
|
+
|
|
131492
|
+
connectedCallback() {
|
|
131493
|
+
if (this.isConnected) {
|
|
131494
|
+
this.dispatchEvent(new CustomEvent('render-html', {
|
|
131495
|
+
bubbles: true,
|
|
131496
|
+
detail: {
|
|
131497
|
+
target: this,
|
|
131498
|
+
props: this.props
|
|
131499
|
+
}
|
|
131500
|
+
}));
|
|
131501
|
+
}
|
|
131502
|
+
}
|
|
131503
|
+
|
|
131504
|
+
disconnectedCallback() {
|
|
131505
|
+
this.dispose();
|
|
131506
|
+
this.dispose = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
131507
|
+
this.update = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
131508
|
+
}
|
|
131509
|
+
|
|
131510
|
+
attributeChangedCallback(name, _, newValue) {
|
|
131511
|
+
switch (name) {
|
|
131512
|
+
case 'name':
|
|
131513
|
+
this.name = newValue;
|
|
131514
|
+
break;
|
|
131515
|
+
|
|
131516
|
+
case 'params':
|
|
131517
|
+
this.params = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.tryParseJson)(newValue);
|
|
131518
|
+
break;
|
|
131519
|
+
}
|
|
131520
|
+
}
|
|
131521
|
+
|
|
131522
|
+
static get observedAttributes() {
|
|
131523
|
+
return ['name', 'params'];
|
|
131524
|
+
}
|
|
131525
|
+
|
|
131526
|
+
}
|
|
131527
|
+
|
|
131528
|
+
customElements.define('piral-extension', PiralExtension);
|
|
131529
|
+
}
|
|
131530
|
+
|
|
131531
|
+
function renderElement(context, element, props) {
|
|
131532
|
+
let [id, portal] = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.renderInDom)(context, element, _components__WEBPACK_IMPORTED_MODULE_3__.ExtensionSlot, props);
|
|
131533
|
+
const evName = 'extension-props-changed';
|
|
131534
|
+
|
|
131535
|
+
const handler = ev => update(ev.detail);
|
|
131536
|
+
|
|
131537
|
+
const dispose = () => {
|
|
131538
|
+
context.hidePortal(id, portal);
|
|
131539
|
+
element.removeEventListener(evName, handler);
|
|
131540
|
+
};
|
|
131541
|
+
|
|
131542
|
+
const update = newProps => {
|
|
131543
|
+
[id, portal] = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.changeDomPortal)(id, portal, context, element, _components__WEBPACK_IMPORTED_MODULE_3__.ExtensionSlot, newProps);
|
|
131544
|
+
};
|
|
131545
|
+
|
|
131546
|
+
element.addEventListener(evName, handler);
|
|
131547
|
+
return [dispose, update];
|
|
131548
|
+
}
|
|
131549
|
+
|
|
131550
|
+
/***/ }),
|
|
131551
|
+
|
|
131425
131552
|
/***/ "../../framework/piral-core/esm/state/createActions.js":
|
|
131426
131553
|
/*!*************************************************************!*\
|
|
131427
131554
|
!*** ../../framework/piral-core/esm/state/createActions.js ***!
|
|
@@ -131589,15 +131716,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
131589
131716
|
/* harmony export */ });
|
|
131590
131717
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
131591
131718
|
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/utils.js");
|
|
131592
|
-
/* harmony import */ var
|
|
131719
|
+
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
|
|
131593
131720
|
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components */ "../../framework/piral-core/esm/components/ErrorBoundary.js");
|
|
131594
|
-
/* harmony import */ var
|
|
131595
|
-
/* harmony import */ var
|
|
131596
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/
|
|
131597
|
-
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
131721
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../components */ "../../framework/piral-core/esm/components/PortalRenderer.js");
|
|
131722
|
+
/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../components */ "../../framework/piral-core/esm/components/components.js");
|
|
131723
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
131598
131724
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/react.js");
|
|
131599
|
-
/* harmony import */ var
|
|
131600
|
-
/* harmony import */ var
|
|
131725
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
131726
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/foreign.js");
|
|
131601
131727
|
|
|
131602
131728
|
|
|
131603
131729
|
|
|
@@ -131708,15 +131834,13 @@ function wrapReactComponent(Component, stasisOptions, piral, Wrapper) {
|
|
|
131708
131834
|
|
|
131709
131835
|
function wrapForeignComponent(component, stasisOptions, piral, Wrapper) {
|
|
131710
131836
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.memo(props => {
|
|
131711
|
-
const {
|
|
131712
|
-
destroyPortal
|
|
131713
|
-
} = (0,_hooks__WEBPACK_IMPORTED_MODULE_4__.useActions)();
|
|
131714
131837
|
const {
|
|
131715
131838
|
state,
|
|
131716
|
-
readState
|
|
131717
|
-
|
|
131718
|
-
|
|
131719
|
-
const
|
|
131839
|
+
readState,
|
|
131840
|
+
destroyPortal
|
|
131841
|
+
} = (0,_hooks__WEBPACK_IMPORTED_MODULE_4__.useGlobalStateContext)();
|
|
131842
|
+
const router = react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_5__.__RouterContext);
|
|
131843
|
+
const id = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => (portalIdBase++).toString(26), _utils__WEBPACK_IMPORTED_MODULE_6__.none);
|
|
131720
131844
|
const context = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
|
|
131721
131845
|
router,
|
|
131722
131846
|
state,
|
|
@@ -131725,10 +131849,10 @@ function wrapForeignComponent(component, stasisOptions, piral, Wrapper) {
|
|
|
131725
131849
|
const innerProps = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => Object.assign(Object.assign({}, props), {
|
|
131726
131850
|
piral
|
|
131727
131851
|
}), [props]);
|
|
131728
|
-
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => () => destroyPortal(id),
|
|
131852
|
+
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => () => destroyPortal(id), _utils__WEBPACK_IMPORTED_MODULE_6__.none);
|
|
131729
131853
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wrapper, Object.assign({}, innerProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_3__.ErrorBoundary, Object.assign({}, stasisOptions, {
|
|
131730
131854
|
renderProps: props
|
|
131731
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(
|
|
131855
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_7__.PortalRenderer, {
|
|
131732
131856
|
id: id
|
|
131733
131857
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(ForeignComponentContainer, {
|
|
131734
131858
|
innerProps: innerProps,
|
|
@@ -131751,7 +131875,7 @@ function wrapComponent(converters, component, piral, Wrapper, stasisOptions) {
|
|
|
131751
131875
|
}
|
|
131752
131876
|
|
|
131753
131877
|
if (typeof component === 'object' && isNotExotic(component)) {
|
|
131754
|
-
const result = (0,
|
|
131878
|
+
const result = (0,_utils__WEBPACK_IMPORTED_MODULE_8__.convertComponent)(converters[component.type], component);
|
|
131755
131879
|
return wrapForeignComponent(result, stasisOptions, piral, Wrapper);
|
|
131756
131880
|
}
|
|
131757
131881
|
|
|
@@ -131772,12 +131896,12 @@ function withApi(context, component, piral, errorType, wrapperType = errorType)
|
|
|
131772
131896
|
|
|
131773
131897
|
renderChild(child) {
|
|
131774
131898
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Suspense, {
|
|
131775
|
-
fallback: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(
|
|
131899
|
+
fallback: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_9__.PiralLoadingIndicator, null)
|
|
131776
131900
|
}, child);
|
|
131777
131901
|
},
|
|
131778
131902
|
|
|
131779
131903
|
renderError(error, props) {
|
|
131780
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(
|
|
131904
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_9__.PiralError, Object.assign({
|
|
131781
131905
|
type: errorType,
|
|
131782
131906
|
error: error
|
|
131783
131907
|
}, props));
|
|
@@ -131894,13 +132018,60 @@ function getDataExpiration(expires) {
|
|
|
131894
132018
|
"use strict";
|
|
131895
132019
|
__webpack_require__.r(__webpack_exports__);
|
|
131896
132020
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
131897
|
-
/* harmony export */ "toExtension": () => (/* binding */ toExtension)
|
|
132021
|
+
/* harmony export */ "toExtension": () => (/* binding */ toExtension),
|
|
132022
|
+
/* harmony export */ "reactifyContent": () => (/* binding */ reactifyContent)
|
|
131898
132023
|
/* harmony export */ });
|
|
131899
132024
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
131900
132025
|
|
|
132026
|
+
|
|
132027
|
+
function removeAll(nodes) {
|
|
132028
|
+
nodes.forEach(node => node.remove());
|
|
132029
|
+
}
|
|
132030
|
+
|
|
132031
|
+
const SlotCarrier = ({
|
|
132032
|
+
nodes
|
|
132033
|
+
}) => {
|
|
132034
|
+
const host = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
|
|
132035
|
+
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
|
|
132036
|
+
var _a;
|
|
132037
|
+
|
|
132038
|
+
(_a = host.current) === null || _a === void 0 ? void 0 : _a.append(...nodes);
|
|
132039
|
+
return () => removeAll(nodes);
|
|
132040
|
+
}, [nodes]);
|
|
132041
|
+
|
|
132042
|
+
if (nodes.length) {
|
|
132043
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("slot", {
|
|
132044
|
+
ref: host
|
|
132045
|
+
});
|
|
132046
|
+
}
|
|
132047
|
+
|
|
132048
|
+
return null;
|
|
132049
|
+
};
|
|
132050
|
+
/**
|
|
132051
|
+
* Transforms the given component to an extension component.
|
|
132052
|
+
* @param Component The component to transform.
|
|
132053
|
+
* @returns The extension component (receiving its props via params).
|
|
132054
|
+
*/
|
|
132055
|
+
|
|
132056
|
+
|
|
131901
132057
|
function toExtension(Component) {
|
|
131902
132058
|
return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, Object.assign({}, props.params));
|
|
131903
132059
|
}
|
|
132060
|
+
/**
|
|
132061
|
+
* Reactifies the list of child nodes to a React Node by removing the
|
|
132062
|
+
* nodes from the DOM and carrying it in a React Node, where it would be
|
|
132063
|
+
* attached at a slot.
|
|
132064
|
+
* @param childNodes The child nodes to reactify.
|
|
132065
|
+
* @returns The React Node.
|
|
132066
|
+
*/
|
|
132067
|
+
|
|
132068
|
+
function reactifyContent(childNodes) {
|
|
132069
|
+
const nodes = Array.prototype.filter.call(childNodes, Boolean);
|
|
132070
|
+
removeAll(nodes);
|
|
132071
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(SlotCarrier, {
|
|
132072
|
+
nodes: nodes
|
|
132073
|
+
});
|
|
132074
|
+
}
|
|
131904
132075
|
|
|
131905
132076
|
/***/ }),
|
|
131906
132077
|
|
|
@@ -132108,6 +132279,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
132108
132279
|
/* harmony export */ "createDataOptions": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.createDataOptions),
|
|
132109
132280
|
/* harmony export */ "createDataView": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.createDataView),
|
|
132110
132281
|
/* harmony export */ "getDataExpiration": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.getDataExpiration),
|
|
132282
|
+
/* harmony export */ "reactifyContent": () => (/* reexport safe */ _extension__WEBPACK_IMPORTED_MODULE_2__.reactifyContent),
|
|
132111
132283
|
/* harmony export */ "toExtension": () => (/* reexport safe */ _extension__WEBPACK_IMPORTED_MODULE_2__.toExtension),
|
|
132112
132284
|
/* harmony export */ "attachDomPortal": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.attachDomPortal),
|
|
132113
132285
|
/* harmony export */ "changeDomPortal": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.changeDomPortal),
|
|
@@ -133181,11 +133353,11 @@ function installPiralDebug(options) {
|
|
|
133181
133353
|
debug: debugApiVersion,
|
|
133182
133354
|
instance: {
|
|
133183
133355
|
name: "sample-cross-fx",
|
|
133184
|
-
version: "0.14.8-beta.
|
|
133356
|
+
version: "0.14.8-beta.3510",
|
|
133185
133357
|
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"
|
|
133186
133358
|
},
|
|
133187
133359
|
build: {
|
|
133188
|
-
date: "2022-01-
|
|
133360
|
+
date: "2022-01-20T00:41:55.848Z",
|
|
133189
133361
|
cli: "0.14.7",
|
|
133190
133362
|
compat: "0.14"
|
|
133191
133363
|
},
|
|
@@ -140321,28 +140493,6 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
|
|
|
140321
140493
|
};
|
|
140322
140494
|
|
|
140323
140495
|
|
|
140324
|
-
/***/ }),
|
|
140325
|
-
|
|
140326
|
-
/***/ "../../converters/piral-blazor/infra.codegen":
|
|
140327
|
-
/*!***************************************************!*\
|
|
140328
|
-
!*** ../../converters/piral-blazor/infra.codegen ***!
|
|
140329
|
-
\***************************************************/
|
|
140330
|
-
/***/ ((module) => {
|
|
140331
|
-
|
|
140332
|
-
module.exports = "_framework/blazor.webassembly.js";
|
|
140333
|
-
|
|
140334
|
-
/***/ }),
|
|
140335
|
-
|
|
140336
|
-
/***/ "../../framework/piral-core/dependencies.codegen":
|
|
140337
|
-
/*!*******************************************************!*\
|
|
140338
|
-
!*** ../../framework/piral-core/dependencies.codegen ***!
|
|
140339
|
-
\*******************************************************/
|
|
140340
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
140341
|
-
|
|
140342
|
-
module.exports = function(deps){
|
|
140343
|
-
deps['sample-cross-fx']={};deps["@angular/common"]=__webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm5/common.js");deps["@angular/common@8.2.14"]=__webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm5/common.js");deps["@angular/compiler"]=__webpack_require__(/*! @angular/compiler */ "../../../node_modules/@angular/compiler/fesm5/compiler.js");deps["@angular/compiler@8.2.14"]=__webpack_require__(/*! @angular/compiler */ "../../../node_modules/@angular/compiler/fesm5/compiler.js");deps["@angular/core"]=__webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm5/core.js");deps["@angular/core@8.2.14"]=__webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm5/core.js");deps["@angular/platform-browser"]=__webpack_require__(/*! @angular/platform-browser */ "../../../node_modules/@angular/platform-browser/fesm5/platform-browser.js");deps["@angular/platform-browser@8.2.14"]=__webpack_require__(/*! @angular/platform-browser */ "../../../node_modules/@angular/platform-browser/fesm5/platform-browser.js");deps["@angular/platform-browser-dynamic"]=__webpack_require__(/*! @angular/platform-browser-dynamic */ "../../../node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js");deps["@angular/platform-browser-dynamic@8.2.14"]=__webpack_require__(/*! @angular/platform-browser-dynamic */ "../../../node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js");deps["@webcomponents/webcomponentsjs"]=__webpack_require__(/*! @webcomponents/webcomponentsjs */ "../../../node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js");deps["@webcomponents/webcomponentsjs@2.6.0"]=__webpack_require__(/*! @webcomponents/webcomponentsjs */ "../../../node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js");deps["angular"]=__webpack_require__(/*! angular */ "../../../node_modules/angular/index.js");deps["angular@1.8.2"]=__webpack_require__(/*! angular */ "../../../node_modules/angular/index.js");deps["aurelia-framework"]=__webpack_require__(/*! aurelia-framework */ "../../../node_modules/aurelia-framework/dist/es2015/aurelia-framework.js");deps["aurelia-framework@1.3.1"]=__webpack_require__(/*! aurelia-framework */ "../../../node_modules/aurelia-framework/dist/es2015/aurelia-framework.js");deps["aurelia-templating-binding"]=__webpack_require__(/*! aurelia-templating-binding */ "../../../node_modules/aurelia-templating-binding/dist/native-modules/aurelia-templating-binding.js");deps["aurelia-templating-binding@1.5.3"]=__webpack_require__(/*! aurelia-templating-binding */ "../../../node_modules/aurelia-templating-binding/dist/native-modules/aurelia-templating-binding.js");deps["aurelia-templating-resources"]=__webpack_require__(/*! aurelia-templating-resources */ "../../../node_modules/aurelia-templating-resources/dist/native-modules/aurelia-templating-resources.js");deps["aurelia-templating-resources@1.13.1"]=__webpack_require__(/*! aurelia-templating-resources */ "../../../node_modules/aurelia-templating-resources/dist/native-modules/aurelia-templating-resources.js");deps["aurelia-pal-browser"]=__webpack_require__(/*! aurelia-pal-browser */ "../../../node_modules/aurelia-pal-browser/dist/es2015/aurelia-pal-browser.js");deps["aurelia-pal-browser@1.8.1"]=__webpack_require__(/*! aurelia-pal-browser */ "../../../node_modules/aurelia-pal-browser/dist/es2015/aurelia-pal-browser.js");deps["aurelia-event-aggregator"]=__webpack_require__(/*! aurelia-event-aggregator */ "../../../node_modules/aurelia-event-aggregator/dist/native-modules/aurelia-event-aggregator.js");deps["aurelia-event-aggregator@1.0.3"]=__webpack_require__(/*! aurelia-event-aggregator */ "../../../node_modules/aurelia-event-aggregator/dist/native-modules/aurelia-event-aggregator.js");deps["aurelia-history-browser"]=__webpack_require__(/*! aurelia-history-browser */ "../../../node_modules/aurelia-history-browser/dist/native-modules/aurelia-history-browser.js");deps["aurelia-history-browser@1.4.0"]=__webpack_require__(/*! aurelia-history-browser */ "../../../node_modules/aurelia-history-browser/dist/native-modules/aurelia-history-browser.js");deps["hyperapp"]=__webpack_require__(/*! hyperapp */ "../../../node_modules/hyperapp/src/index.js");deps["hyperapp@1.2.10"]=__webpack_require__(/*! hyperapp */ "../../../node_modules/hyperapp/src/index.js");deps["inferno"]=__webpack_require__(/*! inferno */ "../../../node_modules/inferno/index.esm.js");deps["inferno@7.4.9"]=__webpack_require__(/*! inferno */ "../../../node_modules/inferno/index.esm.js");deps["inferno-create-element"]=__webpack_require__(/*! inferno-create-element */ "../../../node_modules/inferno-create-element/dist/index.esm.js");deps["inferno-create-element@7.4.9"]=__webpack_require__(/*! inferno-create-element */ "../../../node_modules/inferno-create-element/dist/index.esm.js");deps["mithril"]=__webpack_require__(/*! mithril */ "../../../node_modules/mithril/index.js");deps["mithril@2.0.4"]=__webpack_require__(/*! mithril */ "../../../node_modules/mithril/index.js");deps["lit-element"]=__webpack_require__(/*! lit-element */ "../../../node_modules/lit-element/lit-element.js");deps["lit-element@2.5.1"]=__webpack_require__(/*! lit-element */ "../../../node_modules/lit-element/lit-element.js");deps["solid-js"]=__webpack_require__(/*! solid-js */ "../../../node_modules/solid-js/dist/index.js");deps["solid-js@0.18.14"]=__webpack_require__(/*! solid-js */ "../../../node_modules/solid-js/dist/index.js");deps["solid-js/dom"]=__webpack_require__(/*! solid-js/dom */ "../../../node_modules/solid-js/dist/dom/index.js");deps["preact"]=__webpack_require__(/*! preact */ "../../../node_modules/preact/dist/preact.module.js");deps["preact@10.5.14"]=__webpack_require__(/*! preact */ "../../../node_modules/preact/dist/preact.module.js");deps["riot"]=__webpack_require__(/*! riot */ "../../../node_modules/riot/riot.esm.js");deps["riot@4.14.0"]=__webpack_require__(/*! riot */ "../../../node_modules/riot/riot.esm.js");deps["rxjs"]=__webpack_require__(/*! rxjs */ "../../../node_modules/rxjs/_esm5/index.js");deps["rxjs@6.6.7"]=__webpack_require__(/*! rxjs */ "../../../node_modules/rxjs/_esm5/index.js");deps["vue"]=__webpack_require__(/*! vue */ "../../../node_modules/vue/dist/vue.runtime.esm.js");deps["vue@2.6.14"]=__webpack_require__(/*! vue */ "../../../node_modules/vue/dist/vue.runtime.esm.js");deps["zone.js"]=__webpack_require__(/*! zone.js */ "../../../node_modules/zone.js/dist/zone.js");deps["zone.js@0.9.1"]=__webpack_require__(/*! zone.js */ "../../../node_modules/zone.js/dist/zone.js");deps["react"]=__webpack_require__(/*! react */ "../../../node_modules/react/index.js");deps["react@17.0.2"]=__webpack_require__(/*! react */ "../../../node_modules/react/index.js");deps["react-dom"]=__webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");deps["react-dom@17.0.2"]=__webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");deps["react-router"]=__webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");deps["react-router@5.2.1"]=__webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");deps["react-router-dom"]=__webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");deps["react-router-dom@5.3.0"]=__webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");deps["history"]=__webpack_require__(/*! history */ "../../../node_modules/history/esm/history.js");deps["history@4.10.1"]=__webpack_require__(/*! history */ "../../../node_modules/history/esm/history.js");deps["tslib"]=__webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");deps["tslib@2.3.1"]=__webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");deps["path-to-regexp"]=__webpack_require__(/*! path-to-regexp */ "../../../node_modules/path-to-regexp/index.js");deps["path-to-regexp@1.8.0"]=__webpack_require__(/*! path-to-regexp */ "../../../node_modules/path-to-regexp/index.js");deps["@libre/atom"]=__webpack_require__(/*! @libre/atom */ "../../../node_modules/@libre/atom/dist/index.esm.js");deps["@libre/atom@1.3.3"]=__webpack_require__(/*! @libre/atom */ "../../../node_modules/@libre/atom/dist/index.esm.js");deps["@dbeining/react-atom"]=__webpack_require__(/*! @dbeining/react-atom */ "../../../node_modules/@dbeining/react-atom/dist/react-atom.js");deps["@dbeining/react-atom@4.1.21"]=__webpack_require__(/*! @dbeining/react-atom */ "../../../node_modules/@dbeining/react-atom/dist/react-atom.js")
|
|
140344
|
-
}
|
|
140345
|
-
|
|
140346
140496
|
/***/ }),
|
|
140347
140497
|
|
|
140348
140498
|
/***/ "../../../node_modules/path-to-regexp/index.js":
|
|
@@ -251126,6 +251276,28 @@ var parent = __webpack_require__(/*! ../../es/reflect */ "./node_modules/core-js
|
|
|
251126
251276
|
module.exports = parent;
|
|
251127
251277
|
|
|
251128
251278
|
|
|
251279
|
+
/***/ }),
|
|
251280
|
+
|
|
251281
|
+
/***/ "../../converters/piral-blazor/infra.codegen":
|
|
251282
|
+
/*!***************************************************!*\
|
|
251283
|
+
!*** ../../converters/piral-blazor/infra.codegen ***!
|
|
251284
|
+
\***************************************************/
|
|
251285
|
+
/***/ ((module) => {
|
|
251286
|
+
|
|
251287
|
+
module.exports = "_framework/blazor.webassembly.js";
|
|
251288
|
+
|
|
251289
|
+
/***/ }),
|
|
251290
|
+
|
|
251291
|
+
/***/ "../../framework/piral-core/dependencies.codegen":
|
|
251292
|
+
/*!*******************************************************!*\
|
|
251293
|
+
!*** ../../framework/piral-core/dependencies.codegen ***!
|
|
251294
|
+
\*******************************************************/
|
|
251295
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
251296
|
+
|
|
251297
|
+
module.exports = function(deps){
|
|
251298
|
+
deps['sample-cross-fx']={};deps["@angular/common"]=__webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm5/common.js");deps["@angular/common@8.2.14"]=__webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm5/common.js");deps["@angular/compiler"]=__webpack_require__(/*! @angular/compiler */ "../../../node_modules/@angular/compiler/fesm5/compiler.js");deps["@angular/compiler@8.2.14"]=__webpack_require__(/*! @angular/compiler */ "../../../node_modules/@angular/compiler/fesm5/compiler.js");deps["@angular/core"]=__webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm5/core.js");deps["@angular/core@8.2.14"]=__webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm5/core.js");deps["@angular/platform-browser"]=__webpack_require__(/*! @angular/platform-browser */ "../../../node_modules/@angular/platform-browser/fesm5/platform-browser.js");deps["@angular/platform-browser@8.2.14"]=__webpack_require__(/*! @angular/platform-browser */ "../../../node_modules/@angular/platform-browser/fesm5/platform-browser.js");deps["@angular/platform-browser-dynamic"]=__webpack_require__(/*! @angular/platform-browser-dynamic */ "../../../node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js");deps["@angular/platform-browser-dynamic@8.2.14"]=__webpack_require__(/*! @angular/platform-browser-dynamic */ "../../../node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js");deps["@webcomponents/webcomponentsjs"]=__webpack_require__(/*! @webcomponents/webcomponentsjs */ "../../../node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js");deps["@webcomponents/webcomponentsjs@2.6.0"]=__webpack_require__(/*! @webcomponents/webcomponentsjs */ "../../../node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js");deps["angular"]=__webpack_require__(/*! angular */ "../../../node_modules/angular/index.js");deps["angular@1.8.2"]=__webpack_require__(/*! angular */ "../../../node_modules/angular/index.js");deps["aurelia-framework"]=__webpack_require__(/*! aurelia-framework */ "../../../node_modules/aurelia-framework/dist/es2015/aurelia-framework.js");deps["aurelia-framework@1.3.1"]=__webpack_require__(/*! aurelia-framework */ "../../../node_modules/aurelia-framework/dist/es2015/aurelia-framework.js");deps["aurelia-templating-binding"]=__webpack_require__(/*! aurelia-templating-binding */ "../../../node_modules/aurelia-templating-binding/dist/native-modules/aurelia-templating-binding.js");deps["aurelia-templating-binding@1.5.3"]=__webpack_require__(/*! aurelia-templating-binding */ "../../../node_modules/aurelia-templating-binding/dist/native-modules/aurelia-templating-binding.js");deps["aurelia-templating-resources"]=__webpack_require__(/*! aurelia-templating-resources */ "../../../node_modules/aurelia-templating-resources/dist/native-modules/aurelia-templating-resources.js");deps["aurelia-templating-resources@1.13.1"]=__webpack_require__(/*! aurelia-templating-resources */ "../../../node_modules/aurelia-templating-resources/dist/native-modules/aurelia-templating-resources.js");deps["aurelia-pal-browser"]=__webpack_require__(/*! aurelia-pal-browser */ "../../../node_modules/aurelia-pal-browser/dist/es2015/aurelia-pal-browser.js");deps["aurelia-pal-browser@1.8.1"]=__webpack_require__(/*! aurelia-pal-browser */ "../../../node_modules/aurelia-pal-browser/dist/es2015/aurelia-pal-browser.js");deps["aurelia-event-aggregator"]=__webpack_require__(/*! aurelia-event-aggregator */ "../../../node_modules/aurelia-event-aggregator/dist/native-modules/aurelia-event-aggregator.js");deps["aurelia-event-aggregator@1.0.3"]=__webpack_require__(/*! aurelia-event-aggregator */ "../../../node_modules/aurelia-event-aggregator/dist/native-modules/aurelia-event-aggregator.js");deps["aurelia-history-browser"]=__webpack_require__(/*! aurelia-history-browser */ "../../../node_modules/aurelia-history-browser/dist/native-modules/aurelia-history-browser.js");deps["aurelia-history-browser@1.4.0"]=__webpack_require__(/*! aurelia-history-browser */ "../../../node_modules/aurelia-history-browser/dist/native-modules/aurelia-history-browser.js");deps["hyperapp"]=__webpack_require__(/*! hyperapp */ "../../../node_modules/hyperapp/src/index.js");deps["hyperapp@1.2.10"]=__webpack_require__(/*! hyperapp */ "../../../node_modules/hyperapp/src/index.js");deps["inferno"]=__webpack_require__(/*! inferno */ "../../../node_modules/inferno/index.esm.js");deps["inferno@7.4.9"]=__webpack_require__(/*! inferno */ "../../../node_modules/inferno/index.esm.js");deps["inferno-create-element"]=__webpack_require__(/*! inferno-create-element */ "../../../node_modules/inferno-create-element/dist/index.esm.js");deps["inferno-create-element@7.4.9"]=__webpack_require__(/*! inferno-create-element */ "../../../node_modules/inferno-create-element/dist/index.esm.js");deps["mithril"]=__webpack_require__(/*! mithril */ "../../../node_modules/mithril/index.js");deps["mithril@2.0.4"]=__webpack_require__(/*! mithril */ "../../../node_modules/mithril/index.js");deps["lit-element"]=__webpack_require__(/*! lit-element */ "../../../node_modules/lit-element/lit-element.js");deps["lit-element@2.5.1"]=__webpack_require__(/*! lit-element */ "../../../node_modules/lit-element/lit-element.js");deps["solid-js"]=__webpack_require__(/*! solid-js */ "../../../node_modules/solid-js/dist/index.js");deps["solid-js@0.18.14"]=__webpack_require__(/*! solid-js */ "../../../node_modules/solid-js/dist/index.js");deps["solid-js/dom"]=__webpack_require__(/*! solid-js/dom */ "../../../node_modules/solid-js/dist/dom/index.js");deps["preact"]=__webpack_require__(/*! preact */ "../../../node_modules/preact/dist/preact.module.js");deps["preact@10.5.14"]=__webpack_require__(/*! preact */ "../../../node_modules/preact/dist/preact.module.js");deps["riot"]=__webpack_require__(/*! riot */ "../../../node_modules/riot/riot.esm.js");deps["riot@4.14.0"]=__webpack_require__(/*! riot */ "../../../node_modules/riot/riot.esm.js");deps["rxjs"]=__webpack_require__(/*! rxjs */ "../../../node_modules/rxjs/_esm5/index.js");deps["rxjs@6.6.7"]=__webpack_require__(/*! rxjs */ "../../../node_modules/rxjs/_esm5/index.js");deps["vue"]=__webpack_require__(/*! vue */ "../../../node_modules/vue/dist/vue.runtime.esm.js");deps["vue@2.6.14"]=__webpack_require__(/*! vue */ "../../../node_modules/vue/dist/vue.runtime.esm.js");deps["zone.js"]=__webpack_require__(/*! zone.js */ "../../../node_modules/zone.js/dist/zone.js");deps["zone.js@0.9.1"]=__webpack_require__(/*! zone.js */ "../../../node_modules/zone.js/dist/zone.js");deps["react"]=__webpack_require__(/*! react */ "../../../node_modules/react/index.js");deps["react@17.0.2"]=__webpack_require__(/*! react */ "../../../node_modules/react/index.js");deps["react-dom"]=__webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");deps["react-dom@17.0.2"]=__webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");deps["react-router"]=__webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");deps["react-router@5.2.1"]=__webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");deps["react-router-dom"]=__webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");deps["react-router-dom@5.3.0"]=__webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");deps["history"]=__webpack_require__(/*! history */ "../../../node_modules/history/esm/history.js");deps["history@4.10.1"]=__webpack_require__(/*! history */ "../../../node_modules/history/esm/history.js");deps["tslib"]=__webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");deps["tslib@2.3.1"]=__webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");deps["path-to-regexp"]=__webpack_require__(/*! path-to-regexp */ "../../../node_modules/path-to-regexp/index.js");deps["path-to-regexp@1.8.0"]=__webpack_require__(/*! path-to-regexp */ "../../../node_modules/path-to-regexp/index.js");deps["@libre/atom"]=__webpack_require__(/*! @libre/atom */ "../../../node_modules/@libre/atom/dist/index.esm.js");deps["@libre/atom@1.3.3"]=__webpack_require__(/*! @libre/atom */ "../../../node_modules/@libre/atom/dist/index.esm.js");deps["@dbeining/react-atom"]=__webpack_require__(/*! @dbeining/react-atom */ "../../../node_modules/@dbeining/react-atom/dist/react-atom.js");deps["@dbeining/react-atom@4.1.21"]=__webpack_require__(/*! @dbeining/react-atom */ "../../../node_modules/@dbeining/react-atom/dist/react-atom.js")
|
|
251299
|
+
}
|
|
251300
|
+
|
|
251129
251301
|
/***/ }),
|
|
251130
251302
|
|
|
251131
251303
|
/***/ "../../tooling/piral-cli-webpack5/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
|
|
@@ -255263,4 +255435,4 @@ const app = React.createElement(piral_core_1.Piral, {
|
|
|
255263
255435
|
|
|
255264
255436
|
/******/ })()
|
|
255265
255437
|
;
|
|
255266
|
-
//# sourceMappingURL=index.
|
|
255438
|
+
//# sourceMappingURL=index.1a3237.js.map
|