sample-cross-fx 0.14.4-beta.3311 → 0.14.5-beta.3335
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.3d2295.js → index.a5db58.js} +287 -98
- package/app/{index.3d2295.js.map → index.a5db58.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
|
@@ -129276,9 +129276,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
129276
129276
|
/* harmony export */ });
|
|
129277
129277
|
/* harmony import */ var systemjs_dist_system_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! systemjs/dist/system.js */ "../../../node_modules/systemjs/dist/system.js");
|
|
129278
129278
|
/* harmony import */ var systemjs_dist_system_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(systemjs_dist_system_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
129279
|
-
/* harmony import */ var
|
|
129280
|
-
/* harmony import */ var
|
|
129281
|
-
/* harmony import */ var
|
|
129279
|
+
/* harmony import */ var systemjs_dist_extras_use_default_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! systemjs/dist/extras/use-default.js */ "../../../node_modules/systemjs/dist/extras/use-default.js");
|
|
129280
|
+
/* harmony import */ var systemjs_dist_extras_use_default_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(systemjs_dist_extras_use_default_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
129281
|
+
/* harmony import */ var systemjs_dist_extras_named_register_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! systemjs/dist/extras/named-register.js */ "../../../node_modules/systemjs/dist/extras/named-register.js");
|
|
129282
|
+
/* harmony import */ var systemjs_dist_extras_named_register_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(systemjs_dist_extras_named_register_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
129283
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils */ "../../framework/piral-base/esm/utils.js");
|
|
129284
|
+
|
|
129282
129285
|
|
|
129283
129286
|
|
|
129284
129287
|
|
|
@@ -129289,7 +129292,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
129289
129292
|
|
|
129290
129293
|
function loadSystemPilet(meta) {
|
|
129291
129294
|
const deps = meta.dependencies;
|
|
129292
|
-
const link = (0,
|
|
129295
|
+
const link = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.setBasePath)(meta, meta.link);
|
|
129293
129296
|
|
|
129294
129297
|
if (deps) {
|
|
129295
129298
|
for (const depName of Object.keys(deps)) {
|
|
@@ -129492,13 +129495,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
129492
129495
|
/* harmony export */ "setRoute": () => (/* binding */ setRoute),
|
|
129493
129496
|
/* harmony export */ "includeProvider": () => (/* binding */ includeProvider)
|
|
129494
129497
|
/* harmony export */ });
|
|
129495
|
-
/* harmony import */ var
|
|
129496
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/
|
|
129497
|
-
|
|
129498
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
129499
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/state.js");
|
|
129498
129500
|
|
|
129499
129501
|
function changeLayout(ctx, current) {
|
|
129500
129502
|
ctx.dispatch(state => Object.assign(Object.assign({}, state), {
|
|
129501
|
-
app: (0,
|
|
129503
|
+
app: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.app, 'layout', current)
|
|
129502
129504
|
}));
|
|
129503
129505
|
}
|
|
129504
129506
|
function initialize(ctx, loading, error, modules) {
|
|
@@ -129512,8 +129514,8 @@ function initialize(ctx, loading, error, modules) {
|
|
|
129512
129514
|
}
|
|
129513
129515
|
function injectPilet(ctx, pilet) {
|
|
129514
129516
|
ctx.dispatch(state => Object.assign(Object.assign({}, state), {
|
|
129515
|
-
modules: (0,
|
|
129516
|
-
registry: (0,
|
|
129517
|
+
modules: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.replaceOrAddItem)(state.modules, pilet, m => m.name === pilet.name),
|
|
129518
|
+
registry: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.removeNested)(state.registry, m => m.pilet === pilet.name)
|
|
129517
129519
|
}));
|
|
129518
129520
|
ctx.emit('unload-pilet', {
|
|
129519
129521
|
name: pilet.name
|
|
@@ -129521,25 +129523,19 @@ function injectPilet(ctx, pilet) {
|
|
|
129521
129523
|
}
|
|
129522
129524
|
function setComponent(ctx, name, component) {
|
|
129523
129525
|
ctx.dispatch(state => Object.assign(Object.assign({}, state), {
|
|
129524
|
-
components: (0,
|
|
129526
|
+
components: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.components, name, component)
|
|
129525
129527
|
}));
|
|
129526
129528
|
}
|
|
129527
129529
|
function setErrorComponent(ctx, type, component) {
|
|
129528
129530
|
ctx.dispatch(state => Object.assign(Object.assign({}, state), {
|
|
129529
|
-
errorComponents: (0,
|
|
129531
|
+
errorComponents: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.errorComponents, type, component)
|
|
129530
129532
|
}));
|
|
129531
129533
|
}
|
|
129532
129534
|
function setRoute(ctx, path, component) {
|
|
129533
|
-
ctx.dispatch(
|
|
129534
|
-
routes: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.routes, path, component)
|
|
129535
|
-
}));
|
|
129535
|
+
ctx.dispatch((0,_utils__WEBPACK_IMPORTED_MODULE_1__.withRoute)(path, component));
|
|
129536
129536
|
}
|
|
129537
129537
|
function includeProvider(ctx, provider) {
|
|
129538
|
-
|
|
129539
|
-
|
|
129540
|
-
ctx.dispatch(state => Object.assign(Object.assign({}, state), {
|
|
129541
|
-
provider: !state.provider ? wrapper : props => /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(state.provider, undefined, wrapper(props))
|
|
129542
|
-
}));
|
|
129538
|
+
ctx.dispatch((0,_utils__WEBPACK_IMPORTED_MODULE_1__.withProvider)(provider));
|
|
129543
129539
|
}
|
|
129544
129540
|
|
|
129545
129541
|
/***/ }),
|
|
@@ -129558,35 +129554,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
129558
129554
|
/* harmony export */ "registerExtension": () => (/* binding */ registerExtension),
|
|
129559
129555
|
/* harmony export */ "unregisterExtension": () => (/* binding */ unregisterExtension)
|
|
129560
129556
|
/* harmony export */ });
|
|
129561
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/
|
|
129557
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/state.js");
|
|
129562
129558
|
|
|
129563
129559
|
function registerPage(ctx, name, value) {
|
|
129564
|
-
ctx.dispatch(
|
|
129565
|
-
registry: Object.assign(Object.assign({}, state.registry), {
|
|
129566
|
-
pages: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.registry.pages, name, value)
|
|
129567
|
-
})
|
|
129568
|
-
}));
|
|
129560
|
+
ctx.dispatch((0,_utils__WEBPACK_IMPORTED_MODULE_0__.withPage)(name, value));
|
|
129569
129561
|
}
|
|
129570
129562
|
function unregisterPage(ctx, name) {
|
|
129571
|
-
ctx.dispatch(
|
|
129572
|
-
registry: Object.assign(Object.assign({}, state.registry), {
|
|
129573
|
-
pages: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withoutKey)(state.registry.pages, name)
|
|
129574
|
-
})
|
|
129575
|
-
}));
|
|
129563
|
+
ctx.dispatch((0,_utils__WEBPACK_IMPORTED_MODULE_0__.withoutPage)(name));
|
|
129576
129564
|
}
|
|
129577
129565
|
function registerExtension(ctx, name, value) {
|
|
129578
|
-
ctx.dispatch(
|
|
129579
|
-
registry: Object.assign(Object.assign({}, state.registry), {
|
|
129580
|
-
extensions: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.registry.extensions, name, (0,_utils__WEBPACK_IMPORTED_MODULE_0__.appendItem)(state.registry.extensions[name], value))
|
|
129581
|
-
})
|
|
129582
|
-
}));
|
|
129566
|
+
ctx.dispatch((0,_utils__WEBPACK_IMPORTED_MODULE_0__.withExtension)(name, value));
|
|
129583
129567
|
}
|
|
129584
129568
|
function unregisterExtension(ctx, name, reference) {
|
|
129585
|
-
ctx.dispatch(
|
|
129586
|
-
registry: Object.assign(Object.assign({}, state.registry), {
|
|
129587
|
-
extensions: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.registry.extensions, name, (0,_utils__WEBPACK_IMPORTED_MODULE_0__.excludeOn)(state.registry.extensions[name], m => m.reference === reference))
|
|
129588
|
-
})
|
|
129589
|
-
}));
|
|
129569
|
+
ctx.dispatch((0,_utils__WEBPACK_IMPORTED_MODULE_0__.withoutExtension)(name, reference));
|
|
129590
129570
|
}
|
|
129591
129571
|
|
|
129592
129572
|
/***/ }),
|
|
@@ -130684,7 +130664,7 @@ function createInstance(config = {}) {
|
|
|
130684
130664
|
const createApi = apiFactory(context, usedPlugins);
|
|
130685
130665
|
const root = createApi({
|
|
130686
130666
|
name: 'root',
|
|
130687
|
-
version: "0.14.
|
|
130667
|
+
version: "0.14.5-beta.3335" || 0,
|
|
130688
130668
|
spec: ''
|
|
130689
130669
|
});
|
|
130690
130670
|
const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__.createPiletOptions)({
|
|
@@ -131082,10 +131062,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
131082
131062
|
/* harmony export */ "renderInDom": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.renderInDom),
|
|
131083
131063
|
/* harmony export */ "replaceOrAddItem": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.replaceOrAddItem),
|
|
131084
131064
|
/* harmony export */ "storage": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.storage),
|
|
131065
|
+
/* harmony export */ "toExtension": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.toExtension),
|
|
131085
131066
|
/* harmony export */ "tryParseJson": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.tryParseJson),
|
|
131086
131067
|
/* harmony export */ "updateKey": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.updateKey),
|
|
131068
|
+
/* harmony export */ "withAll": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withAll),
|
|
131069
|
+
/* harmony export */ "withExtension": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withExtension),
|
|
131087
131070
|
/* harmony export */ "withKey": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withKey),
|
|
131088
|
-
/* harmony export */ "
|
|
131071
|
+
/* harmony export */ "withPage": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withPage),
|
|
131072
|
+
/* harmony export */ "withProvider": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withProvider),
|
|
131073
|
+
/* harmony export */ "withRootExtension": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withRootExtension),
|
|
131074
|
+
/* harmony export */ "withRoute": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withRoute),
|
|
131075
|
+
/* harmony export */ "withoutExtension": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withoutExtension),
|
|
131076
|
+
/* harmony export */ "withoutKey": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withoutKey),
|
|
131077
|
+
/* harmony export */ "withoutPage": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_6__.withoutPage)
|
|
131089
131078
|
/* harmony export */ });
|
|
131090
131079
|
/* harmony import */ var _createInstance__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createInstance */ "../../framework/piral-core/esm/createInstance.js");
|
|
131091
131080
|
/* harmony import */ var _Piral__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Piral */ "../../framework/piral-core/esm/Piral.js");
|
|
@@ -131808,6 +131797,25 @@ function getDataExpiration(expires) {
|
|
|
131808
131797
|
|
|
131809
131798
|
/***/ }),
|
|
131810
131799
|
|
|
131800
|
+
/***/ "../../framework/piral-core/esm/utils/extension.js":
|
|
131801
|
+
/*!*********************************************************!*\
|
|
131802
|
+
!*** ../../framework/piral-core/esm/utils/extension.js ***!
|
|
131803
|
+
\*********************************************************/
|
|
131804
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
131805
|
+
|
|
131806
|
+
"use strict";
|
|
131807
|
+
__webpack_require__.r(__webpack_exports__);
|
|
131808
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
131809
|
+
/* harmony export */ "toExtension": () => (/* binding */ toExtension)
|
|
131810
|
+
/* harmony export */ });
|
|
131811
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
131812
|
+
|
|
131813
|
+
function toExtension(Component) {
|
|
131814
|
+
return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, Object.assign({}, props.params));
|
|
131815
|
+
}
|
|
131816
|
+
|
|
131817
|
+
/***/ }),
|
|
131818
|
+
|
|
131811
131819
|
/***/ "../../framework/piral-core/esm/utils/foreign.js":
|
|
131812
131820
|
/*!*******************************************************!*\
|
|
131813
131821
|
!*** ../../framework/piral-core/esm/utils/foreign.js ***!
|
|
@@ -132012,43 +132020,56 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
132012
132020
|
/* harmony export */ "createDataOptions": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.createDataOptions),
|
|
132013
132021
|
/* harmony export */ "createDataView": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.createDataView),
|
|
132014
132022
|
/* harmony export */ "getDataExpiration": () => (/* reexport safe */ _data__WEBPACK_IMPORTED_MODULE_1__.getDataExpiration),
|
|
132015
|
-
/* harmony export */ "
|
|
132016
|
-
/* harmony export */ "
|
|
132017
|
-
/* harmony export */ "
|
|
132018
|
-
/* harmony export */ "
|
|
132019
|
-
/* harmony export */ "
|
|
132020
|
-
/* harmony export */ "
|
|
132021
|
-
/* harmony export */ "
|
|
132022
|
-
/* harmony export */ "
|
|
132023
|
-
/* harmony export */ "
|
|
132024
|
-
/* harmony export */ "
|
|
132025
|
-
/* harmony export */ "
|
|
132026
|
-
/* harmony export */ "
|
|
132027
|
-
/* harmony export */ "
|
|
132028
|
-
/* harmony export */ "
|
|
132029
|
-
/* harmony export */ "
|
|
132030
|
-
/* harmony export */ "
|
|
132031
|
-
/* harmony export */ "
|
|
132032
|
-
/* harmony export */ "
|
|
132033
|
-
/* harmony export */ "
|
|
132034
|
-
/* harmony export */ "
|
|
132035
|
-
/* harmony export */ "
|
|
132036
|
-
/* harmony export */ "
|
|
132037
|
-
/* harmony export */ "
|
|
132038
|
-
/* harmony export */ "
|
|
132039
|
-
/* harmony export */ "
|
|
132040
|
-
/* harmony export */ "
|
|
132041
|
-
/* harmony export */ "
|
|
132042
|
-
/* harmony export */ "
|
|
132023
|
+
/* harmony export */ "toExtension": () => (/* reexport safe */ _extension__WEBPACK_IMPORTED_MODULE_2__.toExtension),
|
|
132024
|
+
/* harmony export */ "attachDomPortal": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.attachDomPortal),
|
|
132025
|
+
/* harmony export */ "changeDomPortal": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.changeDomPortal),
|
|
132026
|
+
/* harmony export */ "convertComponent": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.convertComponent),
|
|
132027
|
+
/* harmony export */ "renderInDom": () => (/* reexport safe */ _foreign__WEBPACK_IMPORTED_MODULE_3__.renderInDom),
|
|
132028
|
+
/* harmony export */ "buildName": () => (/* reexport safe */ _guid__WEBPACK_IMPORTED_MODULE_4__.buildName),
|
|
132029
|
+
/* harmony export */ "generateId": () => (/* reexport safe */ _guid__WEBPACK_IMPORTED_MODULE_4__.generateId),
|
|
132030
|
+
/* harmony export */ "appendItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.appendItem),
|
|
132031
|
+
/* harmony export */ "appendItems": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.appendItems),
|
|
132032
|
+
/* harmony export */ "excludeItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.excludeItem),
|
|
132033
|
+
/* harmony export */ "excludeOn": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.excludeOn),
|
|
132034
|
+
/* harmony export */ "includeItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.includeItem),
|
|
132035
|
+
/* harmony export */ "none": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.none),
|
|
132036
|
+
/* harmony export */ "noop": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.noop),
|
|
132037
|
+
/* harmony export */ "prependItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.prependItem),
|
|
132038
|
+
/* harmony export */ "prependItems": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.prependItems),
|
|
132039
|
+
/* harmony export */ "removeIndicator": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.removeIndicator),
|
|
132040
|
+
/* harmony export */ "removeNested": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.removeNested),
|
|
132041
|
+
/* harmony export */ "replaceOrAddItem": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.replaceOrAddItem),
|
|
132042
|
+
/* harmony export */ "tryParseJson": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.tryParseJson),
|
|
132043
|
+
/* harmony export */ "updateKey": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.updateKey),
|
|
132044
|
+
/* harmony export */ "withKey": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.withKey),
|
|
132045
|
+
/* harmony export */ "withoutKey": () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_5__.withoutKey),
|
|
132046
|
+
/* harmony export */ "defaultBreakpoints": () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_6__.defaultBreakpoints),
|
|
132047
|
+
/* harmony export */ "defaultLayouts": () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_6__.defaultLayouts),
|
|
132048
|
+
/* harmony export */ "getCurrentLayout": () => (/* reexport safe */ _media__WEBPACK_IMPORTED_MODULE_6__.getCurrentLayout),
|
|
132049
|
+
/* harmony export */ "defaultRender": () => (/* reexport safe */ _react__WEBPACK_IMPORTED_MODULE_7__.defaultRender),
|
|
132050
|
+
/* harmony export */ "withAll": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withAll),
|
|
132051
|
+
/* harmony export */ "withExtension": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withExtension),
|
|
132052
|
+
/* harmony export */ "withPage": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withPage),
|
|
132053
|
+
/* harmony export */ "withProvider": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withProvider),
|
|
132054
|
+
/* harmony export */ "withRootExtension": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withRootExtension),
|
|
132055
|
+
/* harmony export */ "withRoute": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withRoute),
|
|
132056
|
+
/* harmony export */ "withoutExtension": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withoutExtension),
|
|
132057
|
+
/* harmony export */ "withoutPage": () => (/* reexport safe */ _state__WEBPACK_IMPORTED_MODULE_8__.withoutPage),
|
|
132058
|
+
/* harmony export */ "cookie": () => (/* reexport safe */ _storage__WEBPACK_IMPORTED_MODULE_9__.cookie),
|
|
132059
|
+
/* harmony export */ "storage": () => (/* reexport safe */ _storage__WEBPACK_IMPORTED_MODULE_9__.storage)
|
|
132043
132060
|
/* harmony export */ });
|
|
132044
132061
|
/* harmony import */ var _compare__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./compare */ "../../framework/piral-core/esm/utils/compare.js");
|
|
132045
132062
|
/* harmony import */ var _data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./data */ "../../framework/piral-core/esm/utils/data.js");
|
|
132046
|
-
/* harmony import */ var
|
|
132047
|
-
/* harmony import */ var
|
|
132048
|
-
/* harmony import */ var
|
|
132049
|
-
/* harmony import */ var
|
|
132050
|
-
/* harmony import */ var
|
|
132051
|
-
/* harmony import */ var
|
|
132063
|
+
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./extension */ "../../framework/piral-core/esm/utils/extension.js");
|
|
132064
|
+
/* harmony import */ var _foreign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foreign */ "../../framework/piral-core/esm/utils/foreign.js");
|
|
132065
|
+
/* harmony import */ var _guid__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./guid */ "../../framework/piral-core/esm/utils/guid.js");
|
|
132066
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./helpers */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
132067
|
+
/* harmony import */ var _media__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./media */ "../../framework/piral-core/esm/utils/media.js");
|
|
132068
|
+
/* harmony import */ var _react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./react */ "../../framework/piral-core/esm/utils/react.js");
|
|
132069
|
+
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./state */ "../../framework/piral-core/esm/utils/state.js");
|
|
132070
|
+
/* harmony import */ var _storage__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./storage */ "../../framework/piral-core/esm/utils/storage.js");
|
|
132071
|
+
|
|
132072
|
+
|
|
132052
132073
|
|
|
132053
132074
|
|
|
132054
132075
|
|
|
@@ -132111,6 +132132,142 @@ function defaultRender(children, key) {
|
|
|
132111
132132
|
|
|
132112
132133
|
/***/ }),
|
|
132113
132134
|
|
|
132135
|
+
/***/ "../../framework/piral-core/esm/utils/state.js":
|
|
132136
|
+
/*!*****************************************************!*\
|
|
132137
|
+
!*** ../../framework/piral-core/esm/utils/state.js ***!
|
|
132138
|
+
\*****************************************************/
|
|
132139
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
132140
|
+
|
|
132141
|
+
"use strict";
|
|
132142
|
+
__webpack_require__.r(__webpack_exports__);
|
|
132143
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
132144
|
+
/* harmony export */ "withAll": () => (/* binding */ withAll),
|
|
132145
|
+
/* harmony export */ "withPage": () => (/* binding */ withPage),
|
|
132146
|
+
/* harmony export */ "withoutPage": () => (/* binding */ withoutPage),
|
|
132147
|
+
/* harmony export */ "withExtension": () => (/* binding */ withExtension),
|
|
132148
|
+
/* harmony export */ "withoutExtension": () => (/* binding */ withoutExtension),
|
|
132149
|
+
/* harmony export */ "withRootExtension": () => (/* binding */ withRootExtension),
|
|
132150
|
+
/* harmony export */ "withProvider": () => (/* binding */ withProvider),
|
|
132151
|
+
/* harmony export */ "withRoute": () => (/* binding */ withRoute)
|
|
132152
|
+
/* harmony export */ });
|
|
132153
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
132154
|
+
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./extension */ "../../framework/piral-core/esm/utils/extension.js");
|
|
132155
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
132156
|
+
|
|
132157
|
+
|
|
132158
|
+
|
|
132159
|
+
/**
|
|
132160
|
+
* Returns a dispatcher that includes all mentioned dispatchers.
|
|
132161
|
+
* @param dispatchers The dispatchers to include.
|
|
132162
|
+
*/
|
|
132163
|
+
|
|
132164
|
+
function withAll(...dispatchers) {
|
|
132165
|
+
return state => {
|
|
132166
|
+
for (const dispatcher of dispatchers) {
|
|
132167
|
+
state = dispatcher(state);
|
|
132168
|
+
}
|
|
132169
|
+
|
|
132170
|
+
return state;
|
|
132171
|
+
};
|
|
132172
|
+
}
|
|
132173
|
+
/**
|
|
132174
|
+
* Returns a dispatcher that adds a page registration.
|
|
132175
|
+
* @param name The path of the page to register.
|
|
132176
|
+
* @param value The value of the page to register.
|
|
132177
|
+
* @returns The dispatcher.
|
|
132178
|
+
*/
|
|
132179
|
+
|
|
132180
|
+
function withPage(name, value) {
|
|
132181
|
+
return state => Object.assign(Object.assign({}, state), {
|
|
132182
|
+
registry: Object.assign(Object.assign({}, state.registry), {
|
|
132183
|
+
pages: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.registry.pages, name, value)
|
|
132184
|
+
})
|
|
132185
|
+
});
|
|
132186
|
+
}
|
|
132187
|
+
/**
|
|
132188
|
+
* Returns a dispatcher that removes a page registration.
|
|
132189
|
+
* @param name The path of the page to unregister.
|
|
132190
|
+
* @returns The dispatcher.
|
|
132191
|
+
*/
|
|
132192
|
+
|
|
132193
|
+
function withoutPage(name) {
|
|
132194
|
+
return state => Object.assign(Object.assign({}, state), {
|
|
132195
|
+
registry: Object.assign(Object.assign({}, state.registry), {
|
|
132196
|
+
pages: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withoutKey)(state.registry.pages, name)
|
|
132197
|
+
})
|
|
132198
|
+
});
|
|
132199
|
+
}
|
|
132200
|
+
/**
|
|
132201
|
+
* Returns a dispatcher that adds an extension registration.
|
|
132202
|
+
* @param name The name of the extension to register.
|
|
132203
|
+
* @param value The value of the extension to register.
|
|
132204
|
+
* @returns The dispatcher.
|
|
132205
|
+
*/
|
|
132206
|
+
|
|
132207
|
+
function withExtension(name, value) {
|
|
132208
|
+
return state => Object.assign(Object.assign({}, state), {
|
|
132209
|
+
registry: Object.assign(Object.assign({}, state.registry), {
|
|
132210
|
+
extensions: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.registry.extensions, name, (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.appendItem)(state.registry.extensions[name], value))
|
|
132211
|
+
})
|
|
132212
|
+
});
|
|
132213
|
+
}
|
|
132214
|
+
/**
|
|
132215
|
+
* Returns a dispatcher that removes an extension registration.
|
|
132216
|
+
* @param name The name of the extension to unregister.
|
|
132217
|
+
* @param reference The reference for the extension.
|
|
132218
|
+
* @returns The dispatcher.
|
|
132219
|
+
*/
|
|
132220
|
+
|
|
132221
|
+
function withoutExtension(name, reference) {
|
|
132222
|
+
return state => Object.assign(Object.assign({}, state), {
|
|
132223
|
+
registry: Object.assign(Object.assign({}, state.registry), {
|
|
132224
|
+
extensions: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.registry.extensions, name, (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.excludeOn)(state.registry.extensions[name], m => m.reference === reference))
|
|
132225
|
+
})
|
|
132226
|
+
});
|
|
132227
|
+
}
|
|
132228
|
+
/**
|
|
132229
|
+
* Returns a dispatcher that adds an extension registration from the root (no Pilet API).
|
|
132230
|
+
* @param name The name of the extension to register.
|
|
132231
|
+
* @param component The extension's component to use.
|
|
132232
|
+
* @returns The dispatcher.
|
|
132233
|
+
*/
|
|
132234
|
+
|
|
132235
|
+
function withRootExtension(name, component) {
|
|
132236
|
+
return withExtension(name, {
|
|
132237
|
+
component: (0,_extension__WEBPACK_IMPORTED_MODULE_2__.toExtension)(component),
|
|
132238
|
+
defaults: {},
|
|
132239
|
+
pilet: '',
|
|
132240
|
+
reference: component
|
|
132241
|
+
});
|
|
132242
|
+
}
|
|
132243
|
+
/**
|
|
132244
|
+
* Returns a dispatcher that adds another provider.
|
|
132245
|
+
* @param provider The provider to include.
|
|
132246
|
+
* @returns The dispatcher.
|
|
132247
|
+
*/
|
|
132248
|
+
|
|
132249
|
+
function withProvider(provider) {
|
|
132250
|
+
const wrapper = props => /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(provider, props);
|
|
132251
|
+
|
|
132252
|
+
return state => Object.assign(Object.assign({}, state), {
|
|
132253
|
+
provider: !state.provider ? wrapper : props => /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(state.provider, undefined, wrapper(props))
|
|
132254
|
+
});
|
|
132255
|
+
}
|
|
132256
|
+
/**
|
|
132257
|
+
* Returns a dispatcher that registers another route.
|
|
132258
|
+
* @param path The path of the route to register.
|
|
132259
|
+
* @param component The component representing the route.
|
|
132260
|
+
* @returns The dispatcher.
|
|
132261
|
+
*/
|
|
132262
|
+
|
|
132263
|
+
function withRoute(path, component) {
|
|
132264
|
+
return state => Object.assign(Object.assign({}, state), {
|
|
132265
|
+
routes: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.routes, path, component)
|
|
132266
|
+
});
|
|
132267
|
+
}
|
|
132268
|
+
|
|
132269
|
+
/***/ }),
|
|
132270
|
+
|
|
132114
132271
|
/***/ "../../framework/piral-core/esm/utils/storage.js":
|
|
132115
132272
|
/*!*******************************************************!*\
|
|
132116
132273
|
!*** ../../framework/piral-core/esm/utils/storage.js ***!
|
|
@@ -132269,10 +132426,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
132269
132426
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
132270
132427
|
/* harmony export */ "createDashboardApi": () => (/* binding */ createDashboardApi)
|
|
132271
132428
|
/* harmony export */ });
|
|
132272
|
-
/* harmony import */ var
|
|
132273
|
-
/* harmony import */ var piral_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! piral-core */ "../../framework/piral-core/esm/utils/
|
|
132274
|
-
/* harmony import */ var
|
|
132275
|
-
/* harmony import */ var
|
|
132429
|
+
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ "../../plugins/piral-dashboard/esm/actions.js");
|
|
132430
|
+
/* harmony import */ var piral_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! piral-core */ "../../framework/piral-core/esm/utils/state.js");
|
|
132431
|
+
/* harmony import */ var piral_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! piral-core */ "../../framework/piral-core/esm/utils/guid.js");
|
|
132432
|
+
/* harmony import */ var piral_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! piral-core */ "../../framework/piral-core/esm/state/withApi.js");
|
|
132433
|
+
/* harmony import */ var _default__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./default */ "../../plugins/piral-dashboard/esm/default.js");
|
|
132434
|
+
/* harmony import */ var _Dashboard__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Dashboard */ "../../plugins/piral-dashboard/esm/Dashboard.js");
|
|
132435
|
+
|
|
132276
132436
|
|
|
132277
132437
|
|
|
132278
132438
|
|
|
@@ -132298,6 +132458,18 @@ function getTiles(items, defaultPreferences) {
|
|
|
132298
132458
|
|
|
132299
132459
|
return tiles;
|
|
132300
132460
|
}
|
|
132461
|
+
|
|
132462
|
+
function withTiles(tiles) {
|
|
132463
|
+
return state => Object.assign(Object.assign({}, state), {
|
|
132464
|
+
components: Object.assign({
|
|
132465
|
+
DashboardTile: _default__WEBPACK_IMPORTED_MODULE_0__.DefaultTile,
|
|
132466
|
+
DashboardContainer: _default__WEBPACK_IMPORTED_MODULE_0__.DefaultContainer
|
|
132467
|
+
}, state.components),
|
|
132468
|
+
registry: Object.assign(Object.assign({}, state.registry), {
|
|
132469
|
+
tiles
|
|
132470
|
+
})
|
|
132471
|
+
});
|
|
132472
|
+
}
|
|
132301
132473
|
/**
|
|
132302
132474
|
* Creates the Pilet API extension for activating dashboard support.
|
|
132303
132475
|
*/
|
|
@@ -132309,16 +132481,8 @@ function createDashboardApi(config = {}) {
|
|
|
132309
132481
|
defaultPreferences = {}
|
|
132310
132482
|
} = config;
|
|
132311
132483
|
return context => {
|
|
132312
|
-
context.defineActions(
|
|
132313
|
-
context.dispatch(
|
|
132314
|
-
components: Object.assign({
|
|
132315
|
-
DashboardTile: _default__WEBPACK_IMPORTED_MODULE_1__.DefaultTile,
|
|
132316
|
-
DashboardContainer: _default__WEBPACK_IMPORTED_MODULE_1__.DefaultContainer
|
|
132317
|
-
}, state.components),
|
|
132318
|
-
registry: Object.assign(Object.assign({}, state.registry), {
|
|
132319
|
-
tiles: getTiles(tiles, defaultPreferences)
|
|
132320
|
-
})
|
|
132321
|
-
}));
|
|
132484
|
+
context.defineActions(_actions__WEBPACK_IMPORTED_MODULE_1__);
|
|
132485
|
+
context.dispatch((0,piral_core__WEBPACK_IMPORTED_MODULE_2__.withAll)(withTiles(getTiles(tiles, defaultPreferences)), (0,piral_core__WEBPACK_IMPORTED_MODULE_2__.withRootExtension)('piral-dashboard', _Dashboard__WEBPACK_IMPORTED_MODULE_3__.Dashboard)));
|
|
132322
132486
|
return (api, target) => {
|
|
132323
132487
|
const pilet = target.name;
|
|
132324
132488
|
let next = 0;
|
|
@@ -132330,17 +132494,17 @@ function createDashboardApi(config = {}) {
|
|
|
132330
132494
|
name = next++;
|
|
132331
132495
|
}
|
|
132332
132496
|
|
|
132333
|
-
const id = (0,
|
|
132497
|
+
const id = (0,piral_core__WEBPACK_IMPORTED_MODULE_4__.buildName)(pilet, name);
|
|
132334
132498
|
context.registerTile(id, {
|
|
132335
132499
|
pilet,
|
|
132336
|
-
component: (0,
|
|
132500
|
+
component: (0,piral_core__WEBPACK_IMPORTED_MODULE_5__.withApi)(context, arg, api, 'tile'),
|
|
132337
132501
|
preferences: getPreferences(defaultPreferences, preferences)
|
|
132338
132502
|
});
|
|
132339
132503
|
return () => api.unregisterTile(name);
|
|
132340
132504
|
},
|
|
132341
132505
|
|
|
132342
132506
|
unregisterTile(name) {
|
|
132343
|
-
const id = (0,
|
|
132507
|
+
const id = (0,piral_core__WEBPACK_IMPORTED_MODULE_4__.buildName)(pilet, name);
|
|
132344
132508
|
context.unregisterTile(id);
|
|
132345
132509
|
}
|
|
132346
132510
|
|
|
@@ -132929,12 +133093,12 @@ function installPiralDebug(options) {
|
|
|
132929
133093
|
debug: debugApiVersion,
|
|
132930
133094
|
instance: {
|
|
132931
133095
|
name: "sample-cross-fx",
|
|
132932
|
-
version: "0.14.
|
|
133096
|
+
version: "0.14.5-beta.3335",
|
|
132933
133097
|
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"
|
|
132934
133098
|
},
|
|
132935
133099
|
build: {
|
|
132936
|
-
date: "2021-
|
|
132937
|
-
cli: "0.14.
|
|
133100
|
+
date: "2021-12-09T17:54:04.750Z",
|
|
133101
|
+
cli: "0.14.4",
|
|
132938
133102
|
compat: "0.14"
|
|
132939
133103
|
},
|
|
132940
133104
|
pilets: {
|
|
@@ -183646,6 +183810,31 @@ function Suspense(props) {
|
|
|
183646
183810
|
|
|
183647
183811
|
/***/ }),
|
|
183648
183812
|
|
|
183813
|
+
/***/ "../../../node_modules/systemjs/dist/extras/use-default.js":
|
|
183814
|
+
/*!*****************************************************************!*\
|
|
183815
|
+
!*** ../../../node_modules/systemjs/dist/extras/use-default.js ***!
|
|
183816
|
+
\*****************************************************************/
|
|
183817
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
183818
|
+
|
|
183819
|
+
(function(){/*
|
|
183820
|
+
* Interop for AMD modules to return the direct AMD binding instead of a
|
|
183821
|
+
* `{ default: amdModule }` object from `System.import`
|
|
183822
|
+
*
|
|
183823
|
+
* Note: This extra is deprecated and will be removed in the next major.
|
|
183824
|
+
*/
|
|
183825
|
+
(function (global) {
|
|
183826
|
+
var systemJSPrototype = global.System.constructor.prototype;
|
|
183827
|
+
var originalImport = systemJSPrototype.import;
|
|
183828
|
+
|
|
183829
|
+
systemJSPrototype.import = function () {
|
|
183830
|
+
return originalImport.apply(this, arguments).then(function (ns) {
|
|
183831
|
+
return ns.__useDefault ? ns.default : ns;
|
|
183832
|
+
});
|
|
183833
|
+
};
|
|
183834
|
+
})(typeof self !== 'undefined' ? self : __webpack_require__.g);}());
|
|
183835
|
+
|
|
183836
|
+
/***/ }),
|
|
183837
|
+
|
|
183649
183838
|
/***/ "../../../node_modules/systemjs/dist/system.js":
|
|
183650
183839
|
/*!*****************************************************!*\
|
|
183651
183840
|
!*** ../../../node_modules/systemjs/dist/system.js ***!
|
|
@@ -255011,4 +255200,4 @@ const app = React.createElement(piral_core_1.Piral, {
|
|
|
255011
255200
|
|
|
255012
255201
|
/******/ })()
|
|
255013
255202
|
;
|
|
255014
|
-
//# sourceMappingURL=index.
|
|
255203
|
+
//# sourceMappingURL=index.a5db58.js.map
|