sample-cross-fx 0.15.9-beta.5437 → 0.15.10-beta.5447
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.009d00.js → index.d41183.js} +84 -69
- package/app/{index.009d00.js.map → index.d41183.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
|
@@ -56455,11 +56455,11 @@ if (true) {
|
|
|
56455
56455
|
},
|
|
56456
56456
|
|
|
56457
56457
|
current() {
|
|
56458
|
-
console.log('Running in current mode (Angular 9-
|
|
56458
|
+
console.log('Running in current mode (Angular 9-15)');
|
|
56459
56459
|
},
|
|
56460
56460
|
|
|
56461
56461
|
next() {
|
|
56462
|
-
console.log('Running in next mode (Angular
|
|
56462
|
+
console.log('Running in next mode (Angular 16)');
|
|
56463
56463
|
},
|
|
56464
56464
|
|
|
56465
56465
|
unknown() {
|
|
@@ -56480,7 +56480,8 @@ if (true) {
|
|
|
56480
56480
|
v12: versionHandlers.current,
|
|
56481
56481
|
v13: versionHandlers.current,
|
|
56482
56482
|
v14: versionHandlers.current,
|
|
56483
|
-
v15: versionHandlers.
|
|
56483
|
+
v15: versionHandlers.current,
|
|
56484
|
+
v16: versionHandlers.next
|
|
56484
56485
|
};
|
|
56485
56486
|
const handler = getVersionHandler(versions) || versionHandlers.unknown;
|
|
56486
56487
|
handler();
|
|
@@ -63318,56 +63319,6 @@ function createLazyApi() {
|
|
|
63318
63319
|
|
|
63319
63320
|
/***/ }),
|
|
63320
63321
|
|
|
63321
|
-
/***/ "../../utilities/piral-debug-utils/esm/DebugRouteSwitch.js":
|
|
63322
|
-
/*!*****************************************************************!*\
|
|
63323
|
-
!*** ../../utilities/piral-debug-utils/esm/DebugRouteSwitch.js ***!
|
|
63324
|
-
\*****************************************************************/
|
|
63325
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
63326
|
-
|
|
63327
|
-
"use strict";
|
|
63328
|
-
__webpack_require__.r(__webpack_exports__);
|
|
63329
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
63330
|
-
/* harmony export */ "freezeRouteRefresh": () => (/* binding */ freezeRouteRefresh),
|
|
63331
|
-
/* harmony export */ "useDebugRouteHandling": () => (/* binding */ useDebugRouteHandling)
|
|
63332
|
-
/* harmony export */ });
|
|
63333
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
63334
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
63335
|
-
|
|
63336
|
-
const debugRouteCache = {
|
|
63337
|
-
active: 0,
|
|
63338
|
-
paths: [],
|
|
63339
|
-
refresh: undefined
|
|
63340
|
-
};
|
|
63341
|
-
function freezeRouteRefresh() {
|
|
63342
|
-
debugRouteCache.active++;
|
|
63343
|
-
return () => {
|
|
63344
|
-
var _a;
|
|
63345
|
-
|
|
63346
|
-
debugRouteCache.active--;
|
|
63347
|
-
|
|
63348
|
-
if (!debugRouteCache.active) {
|
|
63349
|
-
(_a = debugRouteCache.refresh) === null || _a === void 0 ? void 0 : _a.call(debugRouteCache, s => s + 1);
|
|
63350
|
-
}
|
|
63351
|
-
};
|
|
63352
|
-
}
|
|
63353
|
-
function useDebugRouteHandling(paths) {
|
|
63354
|
-
const [_, triggerChange] = react__WEBPACK_IMPORTED_MODULE_0__.useState(0);
|
|
63355
|
-
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
|
|
63356
|
-
debugRouteCache.refresh = triggerChange;
|
|
63357
|
-
return () => {
|
|
63358
|
-
debugRouteCache.refresh = undefined;
|
|
63359
|
-
};
|
|
63360
|
-
}, []);
|
|
63361
|
-
|
|
63362
|
-
if (!debugRouteCache.active) {
|
|
63363
|
-
debugRouteCache.paths = paths;
|
|
63364
|
-
}
|
|
63365
|
-
|
|
63366
|
-
return debugRouteCache.paths;
|
|
63367
|
-
}
|
|
63368
|
-
|
|
63369
|
-
/***/ }),
|
|
63370
|
-
|
|
63371
63322
|
/***/ "../../utilities/piral-debug-utils/esm/DebugTracker.js":
|
|
63372
63323
|
/*!*************************************************************!*\
|
|
63373
63324
|
!*** ../../utilities/piral-debug-utils/esm/DebugTracker.js ***!
|
|
@@ -63851,12 +63802,12 @@ function installPiralDebug(options) {
|
|
|
63851
63802
|
debug: debugApiVersion,
|
|
63852
63803
|
instance: {
|
|
63853
63804
|
name: "sample-cross-fx",
|
|
63854
|
-
version: "0.15.
|
|
63805
|
+
version: "0.15.10-beta.5447",
|
|
63855
63806
|
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/web,piral-ng/common,preact,riot,rxjs,vue,zone.js,tslib,react,react-dom,react-router,react-router-dom"
|
|
63856
63807
|
},
|
|
63857
63808
|
build: {
|
|
63858
|
-
date: "2023-04-
|
|
63859
|
-
cli: "0.15.
|
|
63809
|
+
date: "2023-04-13T20:14:41.864Z",
|
|
63810
|
+
cli: "0.15.10-beta.5447",
|
|
63860
63811
|
compat: "0.15"
|
|
63861
63812
|
}
|
|
63862
63813
|
};
|
|
@@ -64174,26 +64125,24 @@ function decycle(obj) {
|
|
|
64174
64125
|
"use strict";
|
|
64175
64126
|
__webpack_require__.r(__webpack_exports__);
|
|
64176
64127
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
64177
|
-
/* harmony export */ "debugRouteFilter": () => (/* binding */ debugRouteFilter),
|
|
64178
64128
|
/* harmony export */ "installPiletEmulator": () => (/* binding */ installPiletEmulator)
|
|
64179
64129
|
/* harmony export */ });
|
|
64180
|
-
/* harmony import */ var
|
|
64130
|
+
/* harmony import */ var _routeRefresh__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./routeRefresh */ "../../utilities/piral-debug-utils/esm/routeRefresh.js");
|
|
64181
64131
|
|
|
64182
|
-
const debugRouteFilter = _DebugRouteSwitch__WEBPACK_IMPORTED_MODULE_0__.useDebugRouteHandling;
|
|
64183
64132
|
function installPiletEmulator(requestPilets, options) {
|
|
64184
64133
|
const {
|
|
64185
64134
|
addPilet,
|
|
64186
64135
|
removePilet,
|
|
64187
64136
|
integrate,
|
|
64188
64137
|
piletApiFallback = '/$pilet-api'
|
|
64189
|
-
} = options;
|
|
64190
|
-
|
|
64191
|
-
|
|
64138
|
+
} = options;
|
|
64139
|
+
integrate(() => {
|
|
64140
|
+
// check if pilets should be loaded
|
|
64141
|
+
const loadPilets = sessionStorage.getItem('dbg:load-pilets') === 'on';
|
|
64192
64142
|
|
|
64193
|
-
|
|
64143
|
+
const noPilets = () => Promise.resolve([]);
|
|
64194
64144
|
|
|
64195
|
-
|
|
64196
|
-
integrate(() => {
|
|
64145
|
+
const requester = loadPilets ? requestPilets : noPilets;
|
|
64197
64146
|
const promise = requester(); // the window['dbg:pilet-api'] should point to an API address used as a proxy, fall back to '/$pilet-api' if unavailable
|
|
64198
64147
|
|
|
64199
64148
|
const piletApi = window['dbg:pilet-api'] || piletApiFallback; // either take a full URI or make it an absolute path relative to the current origin
|
|
@@ -64220,7 +64169,7 @@ function installPiletEmulator(requestPilets, options) {
|
|
|
64220
64169
|
|
|
64221
64170
|
timeoutCache[name] = setTimeout(() => {
|
|
64222
64171
|
// we should make sure to only refresh the page / router if pilets have been loaded
|
|
64223
|
-
const unfreeze = (0,
|
|
64172
|
+
const unfreeze = (0,_routeRefresh__WEBPACK_IMPORTED_MODULE_0__.freezeRouteRefresh)(); // tear down pilet
|
|
64224
64173
|
|
|
64225
64174
|
removePilet(meta.name).then(() => {
|
|
64226
64175
|
const clearConsole = sessionStorage.getItem('dbg:clear-console') === 'on';
|
|
@@ -64252,6 +64201,38 @@ function installPiletEmulator(requestPilets, options) {
|
|
|
64252
64201
|
|
|
64253
64202
|
/***/ }),
|
|
64254
64203
|
|
|
64204
|
+
/***/ "../../utilities/piral-debug-utils/esm/routeRefresh.js":
|
|
64205
|
+
/*!*************************************************************!*\
|
|
64206
|
+
!*** ../../utilities/piral-debug-utils/esm/routeRefresh.js ***!
|
|
64207
|
+
\*************************************************************/
|
|
64208
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
64209
|
+
|
|
64210
|
+
"use strict";
|
|
64211
|
+
__webpack_require__.r(__webpack_exports__);
|
|
64212
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
64213
|
+
/* harmony export */ "debugRouteCache": () => (/* binding */ debugRouteCache),
|
|
64214
|
+
/* harmony export */ "freezeRouteRefresh": () => (/* binding */ freezeRouteRefresh)
|
|
64215
|
+
/* harmony export */ });
|
|
64216
|
+
const debugRouteCache = {
|
|
64217
|
+
active: 0,
|
|
64218
|
+
paths: [],
|
|
64219
|
+
refresh: undefined
|
|
64220
|
+
};
|
|
64221
|
+
function freezeRouteRefresh() {
|
|
64222
|
+
debugRouteCache.active++;
|
|
64223
|
+
return () => {
|
|
64224
|
+
var _a;
|
|
64225
|
+
|
|
64226
|
+
debugRouteCache.active--;
|
|
64227
|
+
|
|
64228
|
+
if (!debugRouteCache.active) {
|
|
64229
|
+
(_a = debugRouteCache.refresh) === null || _a === void 0 ? void 0 : _a.call(debugRouteCache, s => s + 1);
|
|
64230
|
+
}
|
|
64231
|
+
};
|
|
64232
|
+
}
|
|
64233
|
+
|
|
64234
|
+
/***/ }),
|
|
64235
|
+
|
|
64255
64236
|
/***/ "../../utilities/piral-debug-utils/esm/state.js":
|
|
64256
64237
|
/*!******************************************************!*\
|
|
64257
64238
|
!*** ../../utilities/piral-debug-utils/esm/state.js ***!
|
|
@@ -64424,6 +64405,40 @@ function useDebugState(select) {
|
|
|
64424
64405
|
|
|
64425
64406
|
/***/ }),
|
|
64426
64407
|
|
|
64408
|
+
/***/ "../../utilities/piral-debug-utils/esm/useDebugRouteFilter.js":
|
|
64409
|
+
/*!********************************************************************!*\
|
|
64410
|
+
!*** ../../utilities/piral-debug-utils/esm/useDebugRouteFilter.js ***!
|
|
64411
|
+
\********************************************************************/
|
|
64412
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
64413
|
+
|
|
64414
|
+
"use strict";
|
|
64415
|
+
__webpack_require__.r(__webpack_exports__);
|
|
64416
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
64417
|
+
/* harmony export */ "useDebugRouteFilter": () => (/* binding */ useDebugRouteFilter)
|
|
64418
|
+
/* harmony export */ });
|
|
64419
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
64420
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
64421
|
+
/* harmony import */ var _routeRefresh__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./routeRefresh */ "../../utilities/piral-debug-utils/esm/routeRefresh.js");
|
|
64422
|
+
|
|
64423
|
+
|
|
64424
|
+
function useDebugRouteFilter(paths) {
|
|
64425
|
+
const [_, triggerChange] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);
|
|
64426
|
+
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
|
64427
|
+
_routeRefresh__WEBPACK_IMPORTED_MODULE_1__.debugRouteCache.refresh = triggerChange;
|
|
64428
|
+
return () => {
|
|
64429
|
+
_routeRefresh__WEBPACK_IMPORTED_MODULE_1__.debugRouteCache.refresh = undefined;
|
|
64430
|
+
};
|
|
64431
|
+
}, []);
|
|
64432
|
+
|
|
64433
|
+
if (!_routeRefresh__WEBPACK_IMPORTED_MODULE_1__.debugRouteCache.active) {
|
|
64434
|
+
_routeRefresh__WEBPACK_IMPORTED_MODULE_1__.debugRouteCache.paths = paths;
|
|
64435
|
+
}
|
|
64436
|
+
|
|
64437
|
+
return _routeRefresh__WEBPACK_IMPORTED_MODULE_1__.debugRouteCache.paths;
|
|
64438
|
+
}
|
|
64439
|
+
|
|
64440
|
+
/***/ }),
|
|
64441
|
+
|
|
64427
64442
|
/***/ "../../../node_modules/core-js/actual/reflect/index.js":
|
|
64428
64443
|
/*!*************************************************************!*\
|
|
64429
64444
|
!*** ../../../node_modules/core-js/actual/reflect/index.js ***!
|
|
@@ -75652,7 +75667,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
75652
75667
|
/* harmony import */ var piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! piral-core/_/defaults/navigator_v5 */ "../../framework/piral-core/esm/defaults/navigator_v5.js");
|
|
75653
75668
|
/* harmony import */ var piral_core_tools_debugger__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! piral-core/_/tools/debugger */ "../../framework/piral-core/esm/tools/debugger.js");
|
|
75654
75669
|
/* harmony import */ var piral_core_tools_emulator__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! piral-core/_/tools/emulator */ "../../framework/piral-core/esm/tools/emulator.js");
|
|
75655
|
-
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/
|
|
75670
|
+
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/useDebugRouteFilter.js");
|
|
75656
75671
|
|
|
75657
75672
|
|
|
75658
75673
|
|
|
@@ -75740,7 +75755,7 @@ function integrateDebugger(context, options, debug) { return (0,piral_core_tools
|
|
|
75740
75755
|
|
|
75741
75756
|
;(0,piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__.useCurrentNavigation)();
|
|
75742
75757
|
|
|
75743
|
-
return (0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_39__.
|
|
75758
|
+
return (0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_39__.useDebugRouteFilter)(paths);
|
|
75744
75759
|
}
|
|
75745
75760
|
|
|
75746
75761
|
|
|
@@ -216965,4 +216980,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
|
|
|
216965
216980
|
|
|
216966
216981
|
/******/ })()
|
|
216967
216982
|
;
|
|
216968
|
-
//# sourceMappingURL=index.
|
|
216983
|
+
//# sourceMappingURL=index.d41183.js.map
|