sample-cross-fx 1.4.0-beta.6280 → 1.4.0-beta.6287
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.006469.js → index.36982e.js} +219 -296
- package/app/{index.006469.js.map → index.36982e.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
|
@@ -57188,10 +57188,10 @@ const RootListener = () => {
|
|
|
57188
57188
|
target.dispose = dispose;
|
|
57189
57189
|
};
|
|
57190
57190
|
document.body.addEventListener('render-html', renderHtml, false);
|
|
57191
|
-
|
|
57191
|
+
window.addEventListener('render-content', renderContent, false);
|
|
57192
57192
|
return () => {
|
|
57193
57193
|
document.body.removeEventListener('render-html', renderHtml, false);
|
|
57194
|
-
|
|
57194
|
+
window.removeEventListener('render-content', renderContent, false);
|
|
57195
57195
|
};
|
|
57196
57196
|
}
|
|
57197
57197
|
}, [context]);
|
|
@@ -58900,6 +58900,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
58900
58900
|
|
|
58901
58901
|
|
|
58902
58902
|
if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
58903
|
+
const contents = 'contents';
|
|
58903
58904
|
/**
|
|
58904
58905
|
* This is a nice abstraction allowing anyone to actually use the extension system
|
|
58905
58906
|
* brought by Piral. Not all props of the extension system are actually exposed.
|
|
@@ -58980,7 +58981,7 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
58980
58981
|
}
|
|
58981
58982
|
}
|
|
58982
58983
|
connectedCallback() {
|
|
58983
|
-
this.style.display =
|
|
58984
|
+
this.style.display = contents;
|
|
58984
58985
|
if (this.isConnected) {
|
|
58985
58986
|
this.dispatchEvent(new CustomEvent('render-html', {
|
|
58986
58987
|
bubbles: true,
|
|
@@ -59027,7 +59028,7 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
59027
59028
|
*/
|
|
59028
59029
|
class PiralPortal extends HTMLElement {
|
|
59029
59030
|
connectedCallback() {
|
|
59030
|
-
this.style.display =
|
|
59031
|
+
this.style.display = contents;
|
|
59031
59032
|
}
|
|
59032
59033
|
}
|
|
59033
59034
|
customElements.define(_utils__WEBPACK_IMPORTED_MODULE_3__.portalName, PiralPortal);
|
|
@@ -59044,7 +59045,7 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
59044
59045
|
*/
|
|
59045
59046
|
class PiralSlot extends HTMLElement {
|
|
59046
59047
|
connectedCallback() {
|
|
59047
|
-
this.style.display =
|
|
59048
|
+
this.style.display = contents;
|
|
59048
59049
|
}
|
|
59049
59050
|
}
|
|
59050
59051
|
customElements.define(_utils__WEBPACK_IMPORTED_MODULE_3__.slotName, PiralSlot);
|
|
@@ -59075,13 +59076,13 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
59075
59076
|
this.dispose = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
59076
59077
|
}
|
|
59077
59078
|
connectedCallback() {
|
|
59078
|
-
this.style.display =
|
|
59079
|
+
this.style.display = contents;
|
|
59079
59080
|
const cid = this.getAttribute('cid');
|
|
59080
59081
|
const content = PiralContent.contentAssignments[cid];
|
|
59081
59082
|
const portal = this.closest('piral-portal');
|
|
59082
59083
|
if (content && portal) {
|
|
59083
59084
|
const portalId = portal.getAttribute('pid');
|
|
59084
|
-
|
|
59085
|
+
window.dispatchEvent(new CustomEvent('render-content', {
|
|
59085
59086
|
detail: {
|
|
59086
59087
|
target: this,
|
|
59087
59088
|
content,
|
|
@@ -59100,6 +59101,38 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
59100
59101
|
PiralContent.contentAssignments[cid] = content;
|
|
59101
59102
|
};
|
|
59102
59103
|
customElements.define(_utils__WEBPACK_IMPORTED_MODULE_3__.contentName, PiralContent);
|
|
59104
|
+
/**
|
|
59105
|
+
* This is a virtual element to indicate that the contained content is
|
|
59106
|
+
* rendered from a micro frontend's component. It will be used by the
|
|
59107
|
+
* orchestrator, so there is nothing you will need to do with it.
|
|
59108
|
+
*
|
|
59109
|
+
* Right now this is only used when you opt-in in the createInstance.
|
|
59110
|
+
*/
|
|
59111
|
+
class PiralComponent extends HTMLElement {
|
|
59112
|
+
get name() {
|
|
59113
|
+
return this.getAttribute('name');
|
|
59114
|
+
}
|
|
59115
|
+
get origin() {
|
|
59116
|
+
return this.getAttribute('origin');
|
|
59117
|
+
}
|
|
59118
|
+
connectedCallback() {
|
|
59119
|
+
this.style.display = contents;
|
|
59120
|
+
this.deferEvent('add-component');
|
|
59121
|
+
}
|
|
59122
|
+
disconnectedCallback() {
|
|
59123
|
+
this.deferEvent('remove-component');
|
|
59124
|
+
}
|
|
59125
|
+
deferEvent(eventName) {
|
|
59126
|
+
const ev = new CustomEvent(eventName, {
|
|
59127
|
+
detail: {
|
|
59128
|
+
name: this.name,
|
|
59129
|
+
origin: this.origin
|
|
59130
|
+
}
|
|
59131
|
+
});
|
|
59132
|
+
setTimeout(() => window.dispatchEvent(ev), 0);
|
|
59133
|
+
}
|
|
59134
|
+
}
|
|
59135
|
+
customElements.define(_utils__WEBPACK_IMPORTED_MODULE_3__.componentName, PiralComponent);
|
|
59103
59136
|
}
|
|
59104
59137
|
function renderElement(context, element, props) {
|
|
59105
59138
|
if (typeof window !== 'undefined') {
|
|
@@ -59316,8 +59349,9 @@ function getWrapper(wrappers, wrapperType) {
|
|
|
59316
59349
|
return WrapType || WrapAll || DefaultWrapper;
|
|
59317
59350
|
}
|
|
59318
59351
|
function makeWrapper(context, outerProps, wrapperType, errorType) {
|
|
59352
|
+
const wrapped = context.readState(m => m.app.wrap);
|
|
59319
59353
|
const OuterWrapper = context.readState(m => getWrapper(m.registry.wrappers, wrapperType));
|
|
59320
|
-
|
|
59354
|
+
const Wrapper = props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(OuterWrapper, {
|
|
59321
59355
|
...outerProps,
|
|
59322
59356
|
...props
|
|
59323
59357
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_2__.ErrorBoundary, {
|
|
@@ -59325,6 +59359,11 @@ function makeWrapper(context, outerProps, wrapperType, errorType) {
|
|
|
59325
59359
|
...props,
|
|
59326
59360
|
errorType: errorType
|
|
59327
59361
|
}, props.children));
|
|
59362
|
+
return wrapped ? props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("piral-component", {
|
|
59363
|
+
origin: outerProps.piral.meta.name
|
|
59364
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wrapper, {
|
|
59365
|
+
...props
|
|
59366
|
+
})) : Wrapper;
|
|
59328
59367
|
}
|
|
59329
59368
|
function withApi(context, component, piral, errorType, wrapperType = errorType, captured = {}) {
|
|
59330
59369
|
const outerProps = {
|
|
@@ -59396,20 +59435,9 @@ function integrateDebugger(context, options, debug = {}) {
|
|
|
59396
59435
|
integrate(dbg) {
|
|
59397
59436
|
context.dispatch(s => ({
|
|
59398
59437
|
...s,
|
|
59399
|
-
components: {
|
|
59400
|
-
...s.components,
|
|
59401
|
-
...dbg.components
|
|
59402
|
-
},
|
|
59403
59438
|
routes: {
|
|
59404
59439
|
...s.routes,
|
|
59405
59440
|
...dbg.routes
|
|
59406
|
-
},
|
|
59407
|
-
registry: {
|
|
59408
|
-
...s.registry,
|
|
59409
|
-
wrappers: {
|
|
59410
|
-
...s.registry.wrappers,
|
|
59411
|
-
...dbg.wrappers
|
|
59412
|
-
}
|
|
59413
59441
|
}
|
|
59414
59442
|
}));
|
|
59415
59443
|
context.state.subscribe((current, previous) => {
|
|
@@ -59630,6 +59658,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
59630
59658
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
59631
59659
|
/* harmony export */ attachDomPortal: () => (/* binding */ attachDomPortal),
|
|
59632
59660
|
/* harmony export */ changeDomPortal: () => (/* binding */ changeDomPortal),
|
|
59661
|
+
/* harmony export */ componentName: () => (/* binding */ componentName),
|
|
59633
59662
|
/* harmony export */ contentName: () => (/* binding */ contentName),
|
|
59634
59663
|
/* harmony export */ convertComponent: () => (/* binding */ convertComponent),
|
|
59635
59664
|
/* harmony export */ extensionName: () => (/* binding */ extensionName),
|
|
@@ -59643,6 +59672,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
59643
59672
|
|
|
59644
59673
|
|
|
59645
59674
|
const extensionName = 'piral-extension';
|
|
59675
|
+
const componentName = 'piral-component';
|
|
59646
59676
|
const contentName = 'piral-content';
|
|
59647
59677
|
const portalName = 'piral-portal';
|
|
59648
59678
|
const slotName = 'piral-slot';
|
|
@@ -60338,35 +60368,6 @@ function createLazyApi() {
|
|
|
60338
60368
|
|
|
60339
60369
|
/***/ }),
|
|
60340
60370
|
|
|
60341
|
-
/***/ "../../utilities/piral-debug-utils/esm/DebugTracker.js":
|
|
60342
|
-
/*!*************************************************************!*\
|
|
60343
|
-
!*** ../../utilities/piral-debug-utils/esm/DebugTracker.js ***!
|
|
60344
|
-
\*************************************************************/
|
|
60345
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
60346
|
-
|
|
60347
|
-
"use strict";
|
|
60348
|
-
__webpack_require__.r(__webpack_exports__);
|
|
60349
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
60350
|
-
/* harmony export */ DebugTracker: () => (/* binding */ DebugTracker)
|
|
60351
|
-
/* harmony export */ });
|
|
60352
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
60353
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
60354
|
-
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./state */ "../../utilities/piral-debug-utils/esm/state.js");
|
|
60355
|
-
|
|
60356
|
-
|
|
60357
|
-
const DebugTracker = () => {
|
|
60358
|
-
const route = (0,_state__WEBPACK_IMPORTED_MODULE_1__.useDebugState)(s => s.route);
|
|
60359
|
-
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
|
|
60360
|
-
if (route) {
|
|
60361
|
-
(0,_state__WEBPACK_IMPORTED_MODULE_1__.navigate)(route.path, route.state);
|
|
60362
|
-
}
|
|
60363
|
-
}, [route]);
|
|
60364
|
-
// tslint:disable-next-line:no-null-keyword
|
|
60365
|
-
return null;
|
|
60366
|
-
};
|
|
60367
|
-
|
|
60368
|
-
/***/ }),
|
|
60369
|
-
|
|
60370
60371
|
/***/ "../../utilities/piral-debug-utils/esm/ExtensionCatalogue.js":
|
|
60371
60372
|
/*!*******************************************************************!*\
|
|
60372
60373
|
!*** ../../utilities/piral-debug-utils/esm/ExtensionCatalogue.js ***!
|
|
@@ -60392,6 +60393,7 @@ const ExtensionCatalogue = () => {
|
|
|
60392
60393
|
name = '',
|
|
60393
60394
|
params = {}
|
|
60394
60395
|
} = state;
|
|
60396
|
+
// @ts-ignore
|
|
60395
60397
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("piral-extension", {
|
|
60396
60398
|
name: name,
|
|
60397
60399
|
params: JSON.stringify(params)
|
|
@@ -60402,139 +60404,6 @@ const ExtensionCatalogue = () => {
|
|
|
60402
60404
|
|
|
60403
60405
|
/***/ }),
|
|
60404
60406
|
|
|
60405
|
-
/***/ "../../utilities/piral-debug-utils/esm/VisualizationWrapper.js":
|
|
60406
|
-
/*!*********************************************************************!*\
|
|
60407
|
-
!*** ../../utilities/piral-debug-utils/esm/VisualizationWrapper.js ***!
|
|
60408
|
-
\*********************************************************************/
|
|
60409
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
60410
|
-
|
|
60411
|
-
"use strict";
|
|
60412
|
-
__webpack_require__.r(__webpack_exports__);
|
|
60413
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
60414
|
-
/* harmony export */ VisualizationWrapper: () => (/* binding */ VisualizationWrapper)
|
|
60415
|
-
/* harmony export */ });
|
|
60416
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
60417
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
60418
|
-
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./state */ "../../utilities/piral-debug-utils/esm/state.js");
|
|
60419
|
-
|
|
60420
|
-
|
|
60421
|
-
const moduleColor = {};
|
|
60422
|
-
const Visualizer = ({
|
|
60423
|
-
pilet,
|
|
60424
|
-
force,
|
|
60425
|
-
active
|
|
60426
|
-
}) => {
|
|
60427
|
-
const colors = ['#001F3F', '#0074D9', '#7FDBFF', '#39CCCC', '#3D9970', '#2ECC40', '#01FF70', '#FFDC00', '#FF851B', '#FF4136', '#85144B', '#F012BE', '#B10DC9'];
|
|
60428
|
-
const container = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
|
|
60429
|
-
const color = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => moduleColor[pilet] || (moduleColor[pilet] = colors[Object.keys(moduleColor).length % colors.length]), [pilet]);
|
|
60430
|
-
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
|
|
60431
|
-
let sibling = container.current && container.current.nextElementSibling;
|
|
60432
|
-
if (sibling && active) {
|
|
60433
|
-
const target = container.current.parentNode;
|
|
60434
|
-
const mouseIn = () => {
|
|
60435
|
-
if (container.current && sibling) {
|
|
60436
|
-
const style = container.current.style;
|
|
60437
|
-
style.display = 'block';
|
|
60438
|
-
style.left = '0px';
|
|
60439
|
-
style.top = '0px';
|
|
60440
|
-
style.bottom = '0px';
|
|
60441
|
-
style.right = '0px';
|
|
60442
|
-
const targetRect = sibling.getBoundingClientRect();
|
|
60443
|
-
const sourceRect = container.current.getBoundingClientRect();
|
|
60444
|
-
style.left = targetRect.left - sourceRect.left + 'px';
|
|
60445
|
-
style.top = targetRect.top - sourceRect.top + 'px';
|
|
60446
|
-
style.bottom = -(targetRect.bottom - sourceRect.bottom) + 'px';
|
|
60447
|
-
style.right = -(targetRect.right - sourceRect.right) + 'px';
|
|
60448
|
-
}
|
|
60449
|
-
};
|
|
60450
|
-
const mouseOut = () => {
|
|
60451
|
-
if (container.current) {
|
|
60452
|
-
const style = container.current.style;
|
|
60453
|
-
style.display = 'none';
|
|
60454
|
-
}
|
|
60455
|
-
};
|
|
60456
|
-
const append = () => {
|
|
60457
|
-
if (force) {
|
|
60458
|
-
mouseIn();
|
|
60459
|
-
} else if (sibling) {
|
|
60460
|
-
sibling.addEventListener('mouseover', mouseIn);
|
|
60461
|
-
sibling.addEventListener('mouseout', mouseOut);
|
|
60462
|
-
}
|
|
60463
|
-
};
|
|
60464
|
-
const remove = () => {
|
|
60465
|
-
if (force) {
|
|
60466
|
-
mouseOut();
|
|
60467
|
-
} else if (sibling) {
|
|
60468
|
-
sibling.removeEventListener('mouseover', mouseIn);
|
|
60469
|
-
sibling.removeEventListener('mouseout', mouseOut);
|
|
60470
|
-
}
|
|
60471
|
-
};
|
|
60472
|
-
const observer = new MutationObserver(() => {
|
|
60473
|
-
const newSibling = container.current?.nextElementSibling;
|
|
60474
|
-
if (newSibling !== sibling) {
|
|
60475
|
-
remove();
|
|
60476
|
-
sibling = newSibling;
|
|
60477
|
-
append();
|
|
60478
|
-
}
|
|
60479
|
-
});
|
|
60480
|
-
append();
|
|
60481
|
-
observer.observe(target, {
|
|
60482
|
-
childList: true
|
|
60483
|
-
});
|
|
60484
|
-
return () => {
|
|
60485
|
-
remove();
|
|
60486
|
-
observer.disconnect();
|
|
60487
|
-
};
|
|
60488
|
-
}
|
|
60489
|
-
}, [active, force]);
|
|
60490
|
-
if (active) {
|
|
60491
|
-
const rect = {
|
|
60492
|
-
border: '1px solid red',
|
|
60493
|
-
display: 'none',
|
|
60494
|
-
position: 'absolute',
|
|
60495
|
-
top: 0,
|
|
60496
|
-
bottom: 0,
|
|
60497
|
-
right: 0,
|
|
60498
|
-
left: 0,
|
|
60499
|
-
zIndex: 99999999999,
|
|
60500
|
-
pointerEvents: 'none',
|
|
60501
|
-
borderColor: color
|
|
60502
|
-
};
|
|
60503
|
-
const info = {
|
|
60504
|
-
color: 'white',
|
|
60505
|
-
position: 'absolute',
|
|
60506
|
-
right: 0,
|
|
60507
|
-
top: 0,
|
|
60508
|
-
fontSize: '8px',
|
|
60509
|
-
background: color
|
|
60510
|
-
};
|
|
60511
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
60512
|
-
style: rect,
|
|
60513
|
-
ref: container
|
|
60514
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
|
|
60515
|
-
style: info
|
|
60516
|
-
}, pilet));
|
|
60517
|
-
}
|
|
60518
|
-
// tslint:disable-next-line:no-null-keyword
|
|
60519
|
-
return null;
|
|
60520
|
-
};
|
|
60521
|
-
const VisualizationWrapper = ({
|
|
60522
|
-
piral,
|
|
60523
|
-
children
|
|
60524
|
-
}) => {
|
|
60525
|
-
const {
|
|
60526
|
-
active,
|
|
60527
|
-
force
|
|
60528
|
-
} = (0,_state__WEBPACK_IMPORTED_MODULE_1__.useDebugState)(m => m.visualize);
|
|
60529
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Visualizer, {
|
|
60530
|
-
pilet: piral.meta.name,
|
|
60531
|
-
force: force,
|
|
60532
|
-
active: active
|
|
60533
|
-
}), children);
|
|
60534
|
-
};
|
|
60535
|
-
|
|
60536
|
-
/***/ }),
|
|
60537
|
-
|
|
60538
60407
|
/***/ "../../utilities/piral-debug-utils/esm/debug.js":
|
|
60539
60408
|
/*!******************************************************!*\
|
|
60540
60409
|
!*** ../../utilities/piral-debug-utils/esm/debug.js ***!
|
|
@@ -60546,16 +60415,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60546
60415
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
60547
60416
|
/* harmony export */ installPiralDebug: () => (/* binding */ installPiralDebug)
|
|
60548
60417
|
/* harmony export */ });
|
|
60549
|
-
/* harmony import */ var _DebugTracker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DebugTracker */ "../../utilities/piral-debug-utils/esm/DebugTracker.js");
|
|
60550
|
-
/* harmony import */ var _VisualizationWrapper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./VisualizationWrapper */ "../../utilities/piral-debug-utils/esm/VisualizationWrapper.js");
|
|
60551
60418
|
/* harmony import */ var _ExtensionCatalogue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ExtensionCatalogue */ "../../utilities/piral-debug-utils/esm/ExtensionCatalogue.js");
|
|
60552
|
-
/* harmony import */ var
|
|
60419
|
+
/* harmony import */ var _decycle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./decycle */ "../../utilities/piral-debug-utils/esm/decycle.js");
|
|
60420
|
+
/* harmony import */ var _visualizer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./visualizer */ "../../utilities/piral-debug-utils/esm/visualizer.js");
|
|
60553
60421
|
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./state */ "../../utilities/piral-debug-utils/esm/state.js");
|
|
60554
60422
|
|
|
60555
60423
|
|
|
60556
60424
|
|
|
60557
60425
|
|
|
60558
|
-
|
|
60559
60426
|
function installPiralDebug(options) {
|
|
60560
60427
|
const {
|
|
60561
60428
|
getGlobalState,
|
|
@@ -60579,7 +60446,6 @@ function installPiralDebug(options) {
|
|
|
60579
60446
|
const selfSource = 'piral-debug-api';
|
|
60580
60447
|
const debugApiVersion = 'v1';
|
|
60581
60448
|
let setValue = _state__WEBPACK_IMPORTED_MODULE_0__.initialSetter;
|
|
60582
|
-
(0,_state__WEBPACK_IMPORTED_MODULE_0__.setInitialState)(initialSettings);
|
|
60583
60449
|
const settings = {
|
|
60584
60450
|
...customSettings,
|
|
60585
60451
|
viewState: {
|
|
@@ -60642,6 +60508,9 @@ function installPiralDebug(options) {
|
|
|
60642
60508
|
}
|
|
60643
60509
|
}
|
|
60644
60510
|
};
|
|
60511
|
+
if (initialSettings.viewOrigins) {
|
|
60512
|
+
(0,_visualizer__WEBPACK_IMPORTED_MODULE_1__.createVisualizer)();
|
|
60513
|
+
}
|
|
60645
60514
|
const sendMessage = content => {
|
|
60646
60515
|
window.postMessage({
|
|
60647
60516
|
content,
|
|
@@ -60720,32 +60589,12 @@ function installPiralDebug(options) {
|
|
|
60720
60589
|
});
|
|
60721
60590
|
}
|
|
60722
60591
|
};
|
|
60723
|
-
const toggleVisualize = () => {
|
|
60724
|
-
(0,_state__WEBPACK_IMPORTED_MODULE_0__.setState)(s => ({
|
|
60725
|
-
...s,
|
|
60726
|
-
visualize: {
|
|
60727
|
-
...s.visualize,
|
|
60728
|
-
force: !s.visualize.force
|
|
60729
|
-
}
|
|
60730
|
-
}));
|
|
60731
|
-
};
|
|
60732
60592
|
const updateVisualize = active => {
|
|
60733
|
-
(
|
|
60734
|
-
|
|
60735
|
-
|
|
60736
|
-
|
|
60737
|
-
|
|
60738
|
-
}
|
|
60739
|
-
}));
|
|
60740
|
-
};
|
|
60741
|
-
const goToRoute = (path, state) => {
|
|
60742
|
-
(0,_state__WEBPACK_IMPORTED_MODULE_0__.setState)(s => ({
|
|
60743
|
-
...s,
|
|
60744
|
-
route: {
|
|
60745
|
-
path,
|
|
60746
|
-
state
|
|
60747
|
-
}
|
|
60748
|
-
}));
|
|
60593
|
+
if (active) {
|
|
60594
|
+
(0,_visualizer__WEBPACK_IMPORTED_MODULE_1__.createVisualizer)();
|
|
60595
|
+
} else {
|
|
60596
|
+
(0,_visualizer__WEBPACK_IMPORTED_MODULE_1__.destroyVisualizer)();
|
|
60597
|
+
}
|
|
60749
60598
|
};
|
|
60750
60599
|
const eventDispatcher = document.body.dispatchEvent;
|
|
60751
60600
|
const systemResolve = System.constructor.prototype.resolve;
|
|
@@ -60777,12 +60626,12 @@ function installPiralDebug(options) {
|
|
|
60777
60626
|
debug: debugApiVersion,
|
|
60778
60627
|
instance: {
|
|
60779
60628
|
name: "sample-cross-fx",
|
|
60780
|
-
version: "1.4.0-beta.
|
|
60629
|
+
version: "1.4.0-beta.6287",
|
|
60781
60630
|
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"
|
|
60782
60631
|
},
|
|
60783
60632
|
build: {
|
|
60784
|
-
date: "2023-
|
|
60785
|
-
cli: "1.4.0-beta.
|
|
60633
|
+
date: "2023-12-01T10:56:35.478Z",
|
|
60634
|
+
cli: "1.4.0-beta.6287",
|
|
60786
60635
|
compat: "1"
|
|
60787
60636
|
}
|
|
60788
60637
|
};
|
|
@@ -60794,7 +60643,7 @@ function installPiralDebug(options) {
|
|
|
60794
60643
|
capabilities: ['events', 'container', 'routes', 'pilets', 'settings', 'extensions', 'dependencies', 'dependency-map']
|
|
60795
60644
|
};
|
|
60796
60645
|
const start = () => {
|
|
60797
|
-
const container = (0,
|
|
60646
|
+
const container = (0,_decycle__WEBPACK_IMPORTED_MODULE_2__.decycle)(getGlobalState());
|
|
60798
60647
|
const routes = getRoutes().filter(r => !excludedRoutes.includes(r));
|
|
60799
60648
|
const extensions = getExtensions();
|
|
60800
60649
|
const settings = getSettings();
|
|
@@ -60865,7 +60714,7 @@ function installPiralDebug(options) {
|
|
|
60865
60714
|
events.unshift({
|
|
60866
60715
|
id: events.length.toString(),
|
|
60867
60716
|
name: ev.type.replace('piral-', ''),
|
|
60868
|
-
args: (0,
|
|
60717
|
+
args: (0,_decycle__WEBPACK_IMPORTED_MODULE_2__.decycle)(ev.detail.arg),
|
|
60869
60718
|
time: Date.now()
|
|
60870
60719
|
});
|
|
60871
60720
|
sendMessage({
|
|
@@ -60913,23 +60762,16 @@ function installPiralDebug(options) {
|
|
|
60913
60762
|
case 'emit-event':
|
|
60914
60763
|
return fireEvent(content.name, content.args);
|
|
60915
60764
|
case 'goto-route':
|
|
60916
|
-
return
|
|
60765
|
+
return navigate(content.route, content.state);
|
|
60917
60766
|
case 'visualize-all':
|
|
60918
|
-
return
|
|
60767
|
+
return (0,_visualizer__WEBPACK_IMPORTED_MODULE_1__.toggleVisualizer)();
|
|
60919
60768
|
}
|
|
60920
60769
|
}
|
|
60921
60770
|
});
|
|
60922
|
-
(0,_state__WEBPACK_IMPORTED_MODULE_0__.setNavigate)(navigate);
|
|
60923
60771
|
integrate({
|
|
60924
|
-
components: {
|
|
60925
|
-
Debug: _DebugTracker__WEBPACK_IMPORTED_MODULE_2__.DebugTracker
|
|
60926
|
-
},
|
|
60927
60772
|
routes: {
|
|
60928
60773
|
[initialSettings.cataloguePath]: _ExtensionCatalogue__WEBPACK_IMPORTED_MODULE_3__.ExtensionCatalogue
|
|
60929
60774
|
},
|
|
60930
|
-
wrappers: {
|
|
60931
|
-
'*': _VisualizationWrapper__WEBPACK_IMPORTED_MODULE_4__.VisualizationWrapper
|
|
60932
|
-
},
|
|
60933
60775
|
onChange(previous, current, changed) {
|
|
60934
60776
|
if (changed.state) {
|
|
60935
60777
|
if (settings.viewState.value) {
|
|
@@ -60952,7 +60794,7 @@ function installPiralDebug(options) {
|
|
|
60952
60794
|
}
|
|
60953
60795
|
sendMessage({
|
|
60954
60796
|
type: 'container',
|
|
60955
|
-
container: (0,
|
|
60797
|
+
container: (0,_decycle__WEBPACK_IMPORTED_MODULE_2__.decycle)(getGlobalState())
|
|
60956
60798
|
});
|
|
60957
60799
|
}
|
|
60958
60800
|
if (changed.pilets) {
|
|
@@ -61173,19 +61015,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61173
61015
|
/* harmony export */ disablePersistance: () => (/* binding */ disablePersistance),
|
|
61174
61016
|
/* harmony export */ enablePersistance: () => (/* binding */ enablePersistance),
|
|
61175
61017
|
/* harmony export */ getInitialSettings: () => (/* binding */ getInitialSettings),
|
|
61176
|
-
/* harmony export */ getState: () => (/* binding */ getState),
|
|
61177
61018
|
/* harmony export */ initialSetter: () => (/* binding */ initialSetter),
|
|
61178
|
-
/* harmony export */
|
|
61179
|
-
/* harmony export */ setInitialState: () => (/* binding */ setInitialState),
|
|
61180
|
-
/* harmony export */ setNavigate: () => (/* binding */ setNavigate),
|
|
61181
|
-
/* harmony export */ setState: () => (/* binding */ setState),
|
|
61182
|
-
/* harmony export */ settingsKeys: () => (/* binding */ settingsKeys),
|
|
61183
|
-
/* harmony export */ subscribe: () => (/* binding */ subscribe),
|
|
61184
|
-
/* harmony export */ useDebugState: () => (/* binding */ useDebugState)
|
|
61019
|
+
/* harmony export */ settingsKeys: () => (/* binding */ settingsKeys)
|
|
61185
61020
|
/* harmony export */ });
|
|
61186
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
61187
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
61188
|
-
|
|
61189
61021
|
const settingsKeys = {
|
|
61190
61022
|
viewState: 'dbg:view-state',
|
|
61191
61023
|
loadPilets: 'dbg:load-pilets',
|
|
@@ -61258,63 +61090,6 @@ function getInitialSettings(defaultValues) {
|
|
|
61258
61090
|
cataloguePath: '/$debug-extension-catalogue'
|
|
61259
61091
|
};
|
|
61260
61092
|
}
|
|
61261
|
-
const listeners = [];
|
|
61262
|
-
let _navigate = undefined;
|
|
61263
|
-
function setNavigate(navigate) {
|
|
61264
|
-
_navigate = navigate;
|
|
61265
|
-
}
|
|
61266
|
-
function navigate(path, state) {
|
|
61267
|
-
_navigate?.(path, state);
|
|
61268
|
-
}
|
|
61269
|
-
let state = {
|
|
61270
|
-
visualize: {
|
|
61271
|
-
active: false,
|
|
61272
|
-
force: false
|
|
61273
|
-
},
|
|
61274
|
-
catalogue: {
|
|
61275
|
-
active: false,
|
|
61276
|
-
path: ''
|
|
61277
|
-
},
|
|
61278
|
-
route: undefined
|
|
61279
|
-
};
|
|
61280
|
-
function setInitialState(initialSettings) {
|
|
61281
|
-
state.visualize.active = initialSettings.viewOrigins;
|
|
61282
|
-
state.catalogue.active = initialSettings.extensionCatalogue;
|
|
61283
|
-
state.catalogue.path = initialSettings.cataloguePath;
|
|
61284
|
-
}
|
|
61285
|
-
function setState(dispatch) {
|
|
61286
|
-
const newState = dispatch(state);
|
|
61287
|
-
if (newState !== state) {
|
|
61288
|
-
state = newState;
|
|
61289
|
-
listeners.forEach(listener => listener());
|
|
61290
|
-
}
|
|
61291
|
-
}
|
|
61292
|
-
function getState() {
|
|
61293
|
-
return state;
|
|
61294
|
-
}
|
|
61295
|
-
function subscribe(select, notify) {
|
|
61296
|
-
let prevState = select(state);
|
|
61297
|
-
const cb = () => {
|
|
61298
|
-
const nextState = select(state);
|
|
61299
|
-
if (prevState !== nextState) {
|
|
61300
|
-
prevState = nextState;
|
|
61301
|
-
notify(nextState);
|
|
61302
|
-
}
|
|
61303
|
-
};
|
|
61304
|
-
const unsubscribe = () => {
|
|
61305
|
-
const idx = listeners.indexOf(cb);
|
|
61306
|
-
if (idx !== -1) {
|
|
61307
|
-
listeners.splice(idx, 1);
|
|
61308
|
-
}
|
|
61309
|
-
};
|
|
61310
|
-
listeners.push(cb);
|
|
61311
|
-
return unsubscribe;
|
|
61312
|
-
}
|
|
61313
|
-
function useDebugState(select) {
|
|
61314
|
-
const [state, setState] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => select(getState()));
|
|
61315
|
-
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => subscribe(select, setState), []);
|
|
61316
|
-
return state;
|
|
61317
|
-
}
|
|
61318
61093
|
|
|
61319
61094
|
/***/ }),
|
|
61320
61095
|
|
|
@@ -61350,6 +61125,153 @@ function useDebugRouteFilter(paths) {
|
|
|
61350
61125
|
|
|
61351
61126
|
/***/ }),
|
|
61352
61127
|
|
|
61128
|
+
/***/ "../../utilities/piral-debug-utils/esm/visualizer.js":
|
|
61129
|
+
/*!***********************************************************!*\
|
|
61130
|
+
!*** ../../utilities/piral-debug-utils/esm/visualizer.js ***!
|
|
61131
|
+
\***********************************************************/
|
|
61132
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
61133
|
+
|
|
61134
|
+
"use strict";
|
|
61135
|
+
__webpack_require__.r(__webpack_exports__);
|
|
61136
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
61137
|
+
/* harmony export */ createVisualizer: () => (/* binding */ createVisualizer),
|
|
61138
|
+
/* harmony export */ destroyVisualizer: () => (/* binding */ destroyVisualizer),
|
|
61139
|
+
/* harmony export */ toggleVisualizer: () => (/* binding */ toggleVisualizer)
|
|
61140
|
+
/* harmony export */ });
|
|
61141
|
+
const visualizerName = 'piral-inspector-visualizer';
|
|
61142
|
+
const persistAttribute = 'persist';
|
|
61143
|
+
const piletColorMap = {};
|
|
61144
|
+
const colors = ['#001F3F', '#0074D9', '#7FDBFF', '#39CCCC', '#3D9970', '#2ECC40', '#01FF70', '#FFDC00', '#FF851B', '#FF4136', '#85144B', '#F012BE', '#B10DC9'];
|
|
61145
|
+
function getTarget(element) {
|
|
61146
|
+
const row = element.childNodes;
|
|
61147
|
+
const rects = Array.prototype.map.call(row, item => {
|
|
61148
|
+
if (item instanceof Element) {
|
|
61149
|
+
return item.getBoundingClientRect();
|
|
61150
|
+
} else if (item instanceof Text) {
|
|
61151
|
+
const range = document.createRange();
|
|
61152
|
+
range.selectNode(item);
|
|
61153
|
+
return range.getBoundingClientRect();
|
|
61154
|
+
} else {
|
|
61155
|
+
return new DOMRectReadOnly(0, 0, 0, 0);
|
|
61156
|
+
}
|
|
61157
|
+
});
|
|
61158
|
+
const relevant = rects.filter(m => m.height !== 0 && m.width !== 0);
|
|
61159
|
+
if (relevant.length === 0) {
|
|
61160
|
+
return new DOMRectReadOnly(0, 0, 0, 0);
|
|
61161
|
+
}
|
|
61162
|
+
return relevant.reduce((a, b) => {
|
|
61163
|
+
const x = Math.min(a.left, b.left);
|
|
61164
|
+
const y = Math.min(a.top, b.top);
|
|
61165
|
+
const width = Math.max(a.right, b.right) - x;
|
|
61166
|
+
const height = Math.max(a.bottom, b.bottom) - y;
|
|
61167
|
+
return new DOMRectReadOnly(x, y, width, height);
|
|
61168
|
+
});
|
|
61169
|
+
}
|
|
61170
|
+
function hide(vis) {
|
|
61171
|
+
vis.style.opacity = '0';
|
|
61172
|
+
// vis.style.pointerEvents = 'auto';
|
|
61173
|
+
}
|
|
61174
|
+
|
|
61175
|
+
function show(vis) {
|
|
61176
|
+
vis.style.opacity = '1';
|
|
61177
|
+
// vis.style.pointerEvents = 'none';
|
|
61178
|
+
}
|
|
61179
|
+
|
|
61180
|
+
function updatePosition(source, vis) {
|
|
61181
|
+
const targetRect = getTarget(source);
|
|
61182
|
+
vis.style.left = targetRect.left + 'px';
|
|
61183
|
+
vis.style.top = targetRect.top + 'px';
|
|
61184
|
+
vis.style.width = targetRect.width + 'px';
|
|
61185
|
+
vis.style.height = targetRect.height + 'px';
|
|
61186
|
+
}
|
|
61187
|
+
class PiralInspectorVisualizer extends HTMLElement {
|
|
61188
|
+
constructor() {
|
|
61189
|
+
super(...arguments);
|
|
61190
|
+
this.update = () => {
|
|
61191
|
+
const persist = this.getAttribute(persistAttribute) !== null;
|
|
61192
|
+
this.innerText = '';
|
|
61193
|
+
document.querySelectorAll('piral-component').forEach(element => {
|
|
61194
|
+
const pilet = element.getAttribute('origin');
|
|
61195
|
+
const vis = this.appendChild(document.createElement('div'));
|
|
61196
|
+
const info = vis.appendChild(document.createElement('div'));
|
|
61197
|
+
vis.style.position = 'absolute';
|
|
61198
|
+
vis.style.zIndex = '2147483647';
|
|
61199
|
+
vis.style.border = '1px solid #ccc';
|
|
61200
|
+
vis.style.pointerEvents = 'none';
|
|
61201
|
+
info.style.color = 'white';
|
|
61202
|
+
info.textContent = pilet;
|
|
61203
|
+
info.style.position = 'absolute';
|
|
61204
|
+
info.style.right = '0';
|
|
61205
|
+
info.style.top = '0';
|
|
61206
|
+
info.style.fontSize = '8px';
|
|
61207
|
+
info.style.background = piletColorMap[pilet] || (piletColorMap[pilet] = colors[Object.keys(piletColorMap).length % colors.length]);
|
|
61208
|
+
if (!persist) {
|
|
61209
|
+
hide(vis);
|
|
61210
|
+
element.addEventListener('mouseenter', () => {
|
|
61211
|
+
updatePosition(element, vis);
|
|
61212
|
+
show(vis);
|
|
61213
|
+
});
|
|
61214
|
+
element.addEventListener('mouseleave', () => {
|
|
61215
|
+
hide(vis);
|
|
61216
|
+
});
|
|
61217
|
+
} else {
|
|
61218
|
+
updatePosition(element, vis);
|
|
61219
|
+
show(vis);
|
|
61220
|
+
}
|
|
61221
|
+
});
|
|
61222
|
+
};
|
|
61223
|
+
}
|
|
61224
|
+
connectedCallback() {
|
|
61225
|
+
this.style.position = 'absolute';
|
|
61226
|
+
this.style.top = '0';
|
|
61227
|
+
this.style.left = '0';
|
|
61228
|
+
this.style.width = '0';
|
|
61229
|
+
this.style.height = '0';
|
|
61230
|
+
window.addEventListener('resize', this.update);
|
|
61231
|
+
window.addEventListener('add-component', this.update);
|
|
61232
|
+
window.addEventListener('remove-component', this.update);
|
|
61233
|
+
this.update();
|
|
61234
|
+
}
|
|
61235
|
+
disconnectedCallback() {
|
|
61236
|
+
window.removeEventListener('resize', this.update);
|
|
61237
|
+
window.removeEventListener('add-component', this.update);
|
|
61238
|
+
window.removeEventListener('remove-component', this.update);
|
|
61239
|
+
}
|
|
61240
|
+
static get observedAttributes() {
|
|
61241
|
+
return [persistAttribute];
|
|
61242
|
+
}
|
|
61243
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
61244
|
+
if (name === persistAttribute && oldValue !== newValue) {
|
|
61245
|
+
this.update();
|
|
61246
|
+
}
|
|
61247
|
+
}
|
|
61248
|
+
}
|
|
61249
|
+
customElements.define(visualizerName, PiralInspectorVisualizer);
|
|
61250
|
+
function createVisualizer() {
|
|
61251
|
+
const visualizer = document.querySelector(visualizerName);
|
|
61252
|
+
if (!visualizer) {
|
|
61253
|
+
document.body.appendChild(document.createElement(visualizerName));
|
|
61254
|
+
}
|
|
61255
|
+
}
|
|
61256
|
+
function destroyVisualizer() {
|
|
61257
|
+
const visualizer = document.querySelector(visualizerName);
|
|
61258
|
+
if (visualizer) {
|
|
61259
|
+
visualizer.remove();
|
|
61260
|
+
}
|
|
61261
|
+
}
|
|
61262
|
+
function toggleVisualizer() {
|
|
61263
|
+
const visualizer = document.querySelector(visualizerName);
|
|
61264
|
+
if (visualizer) {
|
|
61265
|
+
if (visualizer.getAttribute(persistAttribute) !== null) {
|
|
61266
|
+
visualizer.removeAttribute(persistAttribute);
|
|
61267
|
+
} else {
|
|
61268
|
+
visualizer.setAttribute(persistAttribute, '');
|
|
61269
|
+
}
|
|
61270
|
+
}
|
|
61271
|
+
}
|
|
61272
|
+
|
|
61273
|
+
/***/ }),
|
|
61274
|
+
|
|
61353
61275
|
/***/ "../../../node_modules/core-js/internals/a-callable.js":
|
|
61354
61276
|
/*!*************************************************************!*\
|
|
61355
61277
|
!*** ../../../node_modules/core-js/internals/a-callable.js ***!
|
|
@@ -72390,7 +72312,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
72390
72312
|
|
|
72391
72313
|
|
|
72392
72314
|
function fillDependencies(deps) {
|
|
72393
|
-
deps['sample-cross-fx']={};deps["@angular/common"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/common@16.2.9"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/compiler"]=_node_modules_angular_compiler_fesm2022_compiler_mjs__WEBPACK_IMPORTED_MODULE_0__;deps["@angular/compiler@16.2.9"]=_node_modules_angular_compiler_fesm2022_compiler_mjs__WEBPACK_IMPORTED_MODULE_0__;deps["@angular/core"]=_node_modules_angular_core_fesm2022_core_mjs__WEBPACK_IMPORTED_MODULE_20__;deps["@angular/core@16.2.9"]=_node_modules_angular_core_fesm2022_core_mjs__WEBPACK_IMPORTED_MODULE_20__;deps["@angular/platform-browser"]=_node_modules_angular_platform_browser_fesm2022_platform_browser_mjs__WEBPACK_IMPORTED_MODULE_21__;deps["@angular/platform-browser@16.2.9"]=_node_modules_angular_platform_browser_fesm2022_platform_browser_mjs__WEBPACK_IMPORTED_MODULE_21__;deps["@angular/platform-browser-dynamic"]=_node_modules_angular_platform_browser_dynamic_fesm2022_platform_browser_dynamic_mjs__WEBPACK_IMPORTED_MODULE_22__;deps["@angular/platform-browser-dynamic@16.2.9"]=_node_modules_angular_platform_browser_dynamic_fesm2022_platform_browser_dynamic_mjs__WEBPACK_IMPORTED_MODULE_22__;deps["@webcomponents/webcomponentsjs"]=_node_modules_webcomponents_webcomponentsjs_webcomponents_bundle_js__WEBPACK_IMPORTED_MODULE_1__;deps["@webcomponents/webcomponentsjs@2.6.0"]=_node_modules_webcomponents_webcomponentsjs_webcomponents_bundle_js__WEBPACK_IMPORTED_MODULE_1__;deps["angular"]=_node_modules_angular_index_js__WEBPACK_IMPORTED_MODULE_2__;deps["angular@1.8.3"]=_node_modules_angular_index_js__WEBPACK_IMPORTED_MODULE_2__;deps["aurelia-framework"]=_node_modules_aurelia_framework_dist_native_modules_aurelia_framework_js__WEBPACK_IMPORTED_MODULE_3__;deps["aurelia-framework@1.4.1"]=_node_modules_aurelia_framework_dist_native_modules_aurelia_framework_js__WEBPACK_IMPORTED_MODULE_3__;deps["aurelia-templating-binding"]=_samples_sample_cross_fx_node_modules_aurelia_templating_binding_dist_native_modules_aurelia_templating_binding_js__WEBPACK_IMPORTED_MODULE_4__;deps["aurelia-templating-binding@1.6.0"]=_samples_sample_cross_fx_node_modules_aurelia_templating_binding_dist_native_modules_aurelia_templating_binding_js__WEBPACK_IMPORTED_MODULE_4__;deps["aurelia-templating-resources"]=_samples_sample_cross_fx_node_modules_aurelia_templating_resources_dist_native_modules_aurelia_templating_resources_js__WEBPACK_IMPORTED_MODULE_5__;deps["aurelia-templating-resources@1.14.3"]=_samples_sample_cross_fx_node_modules_aurelia_templating_resources_dist_native_modules_aurelia_templating_resources_js__WEBPACK_IMPORTED_MODULE_5__;deps["aurelia-pal-browser"]=_node_modules_aurelia_pal_browser_dist_es2015_aurelia_pal_browser_js__WEBPACK_IMPORTED_MODULE_6__;deps["aurelia-pal-browser@1.8.1"]=_node_modules_aurelia_pal_browser_dist_es2015_aurelia_pal_browser_js__WEBPACK_IMPORTED_MODULE_6__;deps["aurelia-event-aggregator"]=_node_modules_aurelia_event_aggregator_dist_native_modules_aurelia_event_aggregator_js__WEBPACK_IMPORTED_MODULE_7__;deps["aurelia-event-aggregator@1.0.3"]=_node_modules_aurelia_event_aggregator_dist_native_modules_aurelia_event_aggregator_js__WEBPACK_IMPORTED_MODULE_7__;deps["aurelia-history-browser"]=_node_modules_aurelia_history_browser_dist_native_modules_aurelia_history_browser_js__WEBPACK_IMPORTED_MODULE_8__;deps["aurelia-history-browser@1.4.0"]=_node_modules_aurelia_history_browser_dist_native_modules_aurelia_history_browser_js__WEBPACK_IMPORTED_MODULE_8__;deps["hyperapp"]=_node_modules_hyperapp_src_index_js__WEBPACK_IMPORTED_MODULE_9__;deps["hyperapp@1.2.10"]=_node_modules_hyperapp_src_index_js__WEBPACK_IMPORTED_MODULE_9__;deps["inferno"]=_node_modules_inferno_index_esm_js__WEBPACK_IMPORTED_MODULE_10__;deps["inferno@7.4.11"]=_node_modules_inferno_index_esm_js__WEBPACK_IMPORTED_MODULE_10__;deps["inferno-create-element"]=_node_modules_inferno_create_element_dist_index_esm_js__WEBPACK_IMPORTED_MODULE_11__;deps["inferno-create-element@7.4.11"]=_node_modules_inferno_create_element_dist_index_esm_js__WEBPACK_IMPORTED_MODULE_11__;deps["mithril"]=_samples_sample_cross_fx_node_modules_mithril_index_js__WEBPACK_IMPORTED_MODULE_12__;deps["mithril@2.2.2"]=_samples_sample_cross_fx_node_modules_mithril_index_js__WEBPACK_IMPORTED_MODULE_12__;deps["lit-element"]=_node_modules_lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_13__;deps["lit-element@2.5.1"]=_node_modules_lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_13__;deps["solid-js"]=_node_modules_solid_js_dist_dev_js__WEBPACK_IMPORTED_MODULE_23__;deps["solid-js@1.8.2"]=_node_modules_solid_js_dist_dev_js__WEBPACK_IMPORTED_MODULE_23__;deps["solid-js/web"]=_node_modules_solid_js_web_dist_dev_js__WEBPACK_IMPORTED_MODULE_24__;deps["piral-ng/common"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["piral-ng/common@1.4.0-beta.
|
|
72315
|
+
deps['sample-cross-fx']={};deps["@angular/common"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/common@16.2.9"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/compiler"]=_node_modules_angular_compiler_fesm2022_compiler_mjs__WEBPACK_IMPORTED_MODULE_0__;deps["@angular/compiler@16.2.9"]=_node_modules_angular_compiler_fesm2022_compiler_mjs__WEBPACK_IMPORTED_MODULE_0__;deps["@angular/core"]=_node_modules_angular_core_fesm2022_core_mjs__WEBPACK_IMPORTED_MODULE_20__;deps["@angular/core@16.2.9"]=_node_modules_angular_core_fesm2022_core_mjs__WEBPACK_IMPORTED_MODULE_20__;deps["@angular/platform-browser"]=_node_modules_angular_platform_browser_fesm2022_platform_browser_mjs__WEBPACK_IMPORTED_MODULE_21__;deps["@angular/platform-browser@16.2.9"]=_node_modules_angular_platform_browser_fesm2022_platform_browser_mjs__WEBPACK_IMPORTED_MODULE_21__;deps["@angular/platform-browser-dynamic"]=_node_modules_angular_platform_browser_dynamic_fesm2022_platform_browser_dynamic_mjs__WEBPACK_IMPORTED_MODULE_22__;deps["@angular/platform-browser-dynamic@16.2.9"]=_node_modules_angular_platform_browser_dynamic_fesm2022_platform_browser_dynamic_mjs__WEBPACK_IMPORTED_MODULE_22__;deps["@webcomponents/webcomponentsjs"]=_node_modules_webcomponents_webcomponentsjs_webcomponents_bundle_js__WEBPACK_IMPORTED_MODULE_1__;deps["@webcomponents/webcomponentsjs@2.6.0"]=_node_modules_webcomponents_webcomponentsjs_webcomponents_bundle_js__WEBPACK_IMPORTED_MODULE_1__;deps["angular"]=_node_modules_angular_index_js__WEBPACK_IMPORTED_MODULE_2__;deps["angular@1.8.3"]=_node_modules_angular_index_js__WEBPACK_IMPORTED_MODULE_2__;deps["aurelia-framework"]=_node_modules_aurelia_framework_dist_native_modules_aurelia_framework_js__WEBPACK_IMPORTED_MODULE_3__;deps["aurelia-framework@1.4.1"]=_node_modules_aurelia_framework_dist_native_modules_aurelia_framework_js__WEBPACK_IMPORTED_MODULE_3__;deps["aurelia-templating-binding"]=_samples_sample_cross_fx_node_modules_aurelia_templating_binding_dist_native_modules_aurelia_templating_binding_js__WEBPACK_IMPORTED_MODULE_4__;deps["aurelia-templating-binding@1.6.0"]=_samples_sample_cross_fx_node_modules_aurelia_templating_binding_dist_native_modules_aurelia_templating_binding_js__WEBPACK_IMPORTED_MODULE_4__;deps["aurelia-templating-resources"]=_samples_sample_cross_fx_node_modules_aurelia_templating_resources_dist_native_modules_aurelia_templating_resources_js__WEBPACK_IMPORTED_MODULE_5__;deps["aurelia-templating-resources@1.14.3"]=_samples_sample_cross_fx_node_modules_aurelia_templating_resources_dist_native_modules_aurelia_templating_resources_js__WEBPACK_IMPORTED_MODULE_5__;deps["aurelia-pal-browser"]=_node_modules_aurelia_pal_browser_dist_es2015_aurelia_pal_browser_js__WEBPACK_IMPORTED_MODULE_6__;deps["aurelia-pal-browser@1.8.1"]=_node_modules_aurelia_pal_browser_dist_es2015_aurelia_pal_browser_js__WEBPACK_IMPORTED_MODULE_6__;deps["aurelia-event-aggregator"]=_node_modules_aurelia_event_aggregator_dist_native_modules_aurelia_event_aggregator_js__WEBPACK_IMPORTED_MODULE_7__;deps["aurelia-event-aggregator@1.0.3"]=_node_modules_aurelia_event_aggregator_dist_native_modules_aurelia_event_aggregator_js__WEBPACK_IMPORTED_MODULE_7__;deps["aurelia-history-browser"]=_node_modules_aurelia_history_browser_dist_native_modules_aurelia_history_browser_js__WEBPACK_IMPORTED_MODULE_8__;deps["aurelia-history-browser@1.4.0"]=_node_modules_aurelia_history_browser_dist_native_modules_aurelia_history_browser_js__WEBPACK_IMPORTED_MODULE_8__;deps["hyperapp"]=_node_modules_hyperapp_src_index_js__WEBPACK_IMPORTED_MODULE_9__;deps["hyperapp@1.2.10"]=_node_modules_hyperapp_src_index_js__WEBPACK_IMPORTED_MODULE_9__;deps["inferno"]=_node_modules_inferno_index_esm_js__WEBPACK_IMPORTED_MODULE_10__;deps["inferno@7.4.11"]=_node_modules_inferno_index_esm_js__WEBPACK_IMPORTED_MODULE_10__;deps["inferno-create-element"]=_node_modules_inferno_create_element_dist_index_esm_js__WEBPACK_IMPORTED_MODULE_11__;deps["inferno-create-element@7.4.11"]=_node_modules_inferno_create_element_dist_index_esm_js__WEBPACK_IMPORTED_MODULE_11__;deps["mithril"]=_samples_sample_cross_fx_node_modules_mithril_index_js__WEBPACK_IMPORTED_MODULE_12__;deps["mithril@2.2.2"]=_samples_sample_cross_fx_node_modules_mithril_index_js__WEBPACK_IMPORTED_MODULE_12__;deps["lit-element"]=_node_modules_lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_13__;deps["lit-element@2.5.1"]=_node_modules_lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_13__;deps["solid-js"]=_node_modules_solid_js_dist_dev_js__WEBPACK_IMPORTED_MODULE_23__;deps["solid-js@1.8.2"]=_node_modules_solid_js_dist_dev_js__WEBPACK_IMPORTED_MODULE_23__;deps["solid-js/web"]=_node_modules_solid_js_web_dist_dev_js__WEBPACK_IMPORTED_MODULE_24__;deps["piral-ng/common"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["piral-ng/common@1.4.0-beta.6287"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["piral-ng@1.4.0-beta.6287"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["preact"]=_node_modules_preact_dist_preact_module_js__WEBPACK_IMPORTED_MODULE_14__;deps["preact@10.18.1"]=_node_modules_preact_dist_preact_module_js__WEBPACK_IMPORTED_MODULE_14__;deps["riot"]=_node_modules_riot_riot_esm_js__WEBPACK_IMPORTED_MODULE_15__;deps["riot@4.14.0"]=_node_modules_riot_riot_esm_js__WEBPACK_IMPORTED_MODULE_15__;deps["rxjs"]=_node_modules_rxjs_dist_esm5_index_js__WEBPACK_IMPORTED_MODULE_26__;deps["rxjs@7.5.6"]=_node_modules_rxjs_dist_esm5_index_js__WEBPACK_IMPORTED_MODULE_26__;deps["vue"]=_node_modules_vue_dist_vue_runtime_esm_js__WEBPACK_IMPORTED_MODULE_27__;deps["vue@2.7.14"]=_node_modules_vue_dist_vue_runtime_esm_js__WEBPACK_IMPORTED_MODULE_27__;deps["zone.js"]=_node_modules_zone_js_fesm2015_zone_js__WEBPACK_IMPORTED_MODULE_16__;deps["zone.js@0.13.3"]=_node_modules_zone_js_fesm2015_zone_js__WEBPACK_IMPORTED_MODULE_16__;deps["tslib"]=_node_modules_tslib_tslib_es6_js__WEBPACK_IMPORTED_MODULE_28__;deps["tslib@2.5.2"]=_node_modules_tslib_tslib_es6_js__WEBPACK_IMPORTED_MODULE_28__;deps["react"]=_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_17__;deps["react@18.2.0"]=_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_17__;deps["react-dom"]=/*#__PURE__*/ (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache || (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache = __webpack_require__.t(_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18__, 2)));deps["react-dom@18.2.0"]=/*#__PURE__*/ (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache || (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache = __webpack_require__.t(_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18__, 2)));deps["react-router"]=_node_modules_react_router_esm_react_router_js__WEBPACK_IMPORTED_MODULE_29__;deps["react-router@5.3.4"]=_node_modules_react_router_esm_react_router_js__WEBPACK_IMPORTED_MODULE_29__;deps["react-router-dom"]=_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_30__;deps["react-router-dom@5.3.4"]=_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_30__
|
|
72394
72316
|
}
|
|
72395
72317
|
|
|
72396
72318
|
|
|
@@ -72405,6 +72327,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
72405
72327
|
app: {
|
|
72406
72328
|
error: undefined,
|
|
72407
72329
|
loading: typeof window !== 'undefined',
|
|
72330
|
+
wrap: true,
|
|
72408
72331
|
},
|
|
72409
72332
|
components: {
|
|
72410
72333
|
ErrorInfo: piral_core_defaults_DefaultErrorInfo__WEBPACK_IMPORTED_MODULE_32__.DefaultErrorInfo,
|
|
@@ -227519,4 +227442,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(piral
|
|
|
227519
227442
|
|
|
227520
227443
|
/******/ })()
|
|
227521
227444
|
;
|
|
227522
|
-
//# sourceMappingURL=index.
|
|
227445
|
+
//# sourceMappingURL=index.36982e.js.map
|