sample-cross-fx 1.3.0-beta.5959 → 1.3.0-beta.6010
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.f9a06b.js → index.79d6a4.js} +256 -261
- package/app/{index.f9a06b.js.map → index.79d6a4.js.map} +1 -1
- package/app/index.d.ts +2 -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
|
@@ -54256,7 +54256,12 @@ function createConverter(lazy, opts, language, logLevel) {
|
|
|
54256
54256
|
if (ev.type.startsWith('piral-')) {
|
|
54257
54257
|
const type = ev.type.replace('piral-', '');
|
|
54258
54258
|
const args = ev.detail.arg;
|
|
54259
|
-
|
|
54259
|
+
try {
|
|
54260
|
+
JSON.stringify(args);
|
|
54261
|
+
(0,_interop__WEBPACK_IMPORTED_MODULE_1__.processEvent)(type, args);
|
|
54262
|
+
} catch (_a) {
|
|
54263
|
+
console.warn(`The event "${type}" could not be serialized and will not be handled by Blazor.`);
|
|
54264
|
+
}
|
|
54260
54265
|
}
|
|
54261
54266
|
return eventDispatcher.call(this, ev);
|
|
54262
54267
|
};
|
|
@@ -54437,8 +54442,8 @@ function createBlazorApi(config = {}) {
|
|
|
54437
54442
|
const loader = (0,_dependencies__WEBPACK_IMPORTED_MODULE_1__.createDependencyLoader)(convert);
|
|
54438
54443
|
let options;
|
|
54439
54444
|
return {
|
|
54440
|
-
defineBlazorReferences(references, satellites, prio, kind) {
|
|
54441
|
-
return loader.defineBlazorReferences(references, meta, satellites, prio, kind);
|
|
54445
|
+
defineBlazorReferences(references, satellites, prio, kind, sharedDependencies) {
|
|
54446
|
+
return loader.defineBlazorReferences(references, meta, satellites, prio, kind, sharedDependencies);
|
|
54442
54447
|
},
|
|
54443
54448
|
defineBlazorOptions(blazorOptions) {
|
|
54444
54449
|
options = blazorOptions;
|
|
@@ -54478,9 +54483,24 @@ var _a, _b;
|
|
|
54478
54483
|
|
|
54479
54484
|
const loadedDependencies = (_a = window.$blazorDependencies) !== null && _a !== void 0 ? _a : window.$blazorDependencies = [];
|
|
54480
54485
|
const depsWithPrios = (_b = window.$blazorDependencyPrios) !== null && _b !== void 0 ? _b : window.$blazorDependencyPrios = [];
|
|
54486
|
+
function toExtLessUrl(url) {
|
|
54487
|
+
const idx = url.lastIndexOf('.');
|
|
54488
|
+
const sep = url.lastIndexOf('/');
|
|
54489
|
+
if (idx > sep) {
|
|
54490
|
+
return url.substring(0, idx);
|
|
54491
|
+
}
|
|
54492
|
+
return url;
|
|
54493
|
+
}
|
|
54481
54494
|
function toPdb(url) {
|
|
54482
|
-
|
|
54483
|
-
|
|
54495
|
+
return `${toExtLessUrl(url)}.pdb`;
|
|
54496
|
+
}
|
|
54497
|
+
function toDepName(url) {
|
|
54498
|
+
const front = toExtLessUrl(url);
|
|
54499
|
+
const idx = front.lastIndexOf('/');
|
|
54500
|
+
if (idx >= 0) {
|
|
54501
|
+
return front.substring(idx + 1);
|
|
54502
|
+
}
|
|
54503
|
+
return front;
|
|
54484
54504
|
}
|
|
54485
54505
|
function createDependencyLoader(convert) {
|
|
54486
54506
|
const definedBlazorReferences = [];
|
|
@@ -54490,7 +54510,7 @@ function createDependencyLoader(convert) {
|
|
|
54490
54510
|
getDependency() {
|
|
54491
54511
|
return dependency;
|
|
54492
54512
|
},
|
|
54493
|
-
defineBlazorReferences(references, meta = {}, satellites = {}, prio = 0, kind = 'local') {
|
|
54513
|
+
defineBlazorReferences(references, meta = {}, satellites = {}, prio = 0, kind = 'local', sharedDependencies = []) {
|
|
54494
54514
|
prio = Math.max(prio, 0);
|
|
54495
54515
|
const depWithPrio = {
|
|
54496
54516
|
prio,
|
|
@@ -54511,11 +54531,24 @@ function createDependencyLoader(convert) {
|
|
|
54511
54531
|
if (!capabilities.includes('language')) {
|
|
54512
54532
|
satellites = undefined;
|
|
54513
54533
|
}
|
|
54534
|
+
const supportsCore = capabilities.includes('core-pilet');
|
|
54514
54535
|
const dependencies = references.filter(m => m.endsWith('.dll'));
|
|
54515
54536
|
const dllUrl = dependencies.pop();
|
|
54516
54537
|
const pdbUrl = toPdb(dllUrl);
|
|
54517
54538
|
const dependencySymbols = dependencies.map(toPdb).filter(dep => references.includes(dep));
|
|
54518
54539
|
const id = Math.random().toString(26).substring(2);
|
|
54540
|
+
if (supportsCore) {
|
|
54541
|
+
for (let i = dependencies.length; i--;) {
|
|
54542
|
+
const name = toDepName(dependencies[i]);
|
|
54543
|
+
for (const dep of sharedDependencies) {
|
|
54544
|
+
// OK we want to share this one - remove it from the given dependencies
|
|
54545
|
+
if (name === dep) {
|
|
54546
|
+
dependencies.splice(i, 1);
|
|
54547
|
+
break;
|
|
54548
|
+
}
|
|
54549
|
+
}
|
|
54550
|
+
}
|
|
54551
|
+
}
|
|
54519
54552
|
yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadBlazorPilet)(id, {
|
|
54520
54553
|
name: meta.name || '(unknown)',
|
|
54521
54554
|
version: meta.version || '0.0.0',
|
|
@@ -54523,8 +54556,8 @@ function createDependencyLoader(convert) {
|
|
|
54523
54556
|
baseUrl: meta.basePath || dllUrl.substring(0, dllUrl.lastIndexOf('/')).replace('/_framework/', '/'),
|
|
54524
54557
|
dependencies,
|
|
54525
54558
|
dependencySymbols: capabilities.includes('dependency-symbols') ? dependencySymbols : undefined,
|
|
54526
|
-
sharedDependencies:
|
|
54527
|
-
kind:
|
|
54559
|
+
sharedDependencies: supportsCore ? sharedDependencies : undefined,
|
|
54560
|
+
kind: supportsCore ? kind : undefined,
|
|
54528
54561
|
satellites,
|
|
54529
54562
|
dllUrl,
|
|
54530
54563
|
pdbUrl: references.includes(pdbUrl) ? pdbUrl : undefined
|
|
@@ -55667,6 +55700,24 @@ function createExtension(rootName) {
|
|
|
55667
55700
|
};
|
|
55668
55701
|
}
|
|
55669
55702
|
|
|
55703
|
+
/***/ }),
|
|
55704
|
+
|
|
55705
|
+
/***/ "../../converters/piral-ng/common.js":
|
|
55706
|
+
/*!*******************************************!*\
|
|
55707
|
+
!*** ../../converters/piral-ng/common.js ***!
|
|
55708
|
+
\*******************************************/
|
|
55709
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
55710
|
+
|
|
55711
|
+
"use strict";
|
|
55712
|
+
__webpack_require__.r(__webpack_exports__);
|
|
55713
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
55714
|
+
/* harmony export */ "NgExtension": () => (/* reexport safe */ piral_ng_common__WEBPACK_IMPORTED_MODULE_0__.NgExtension),
|
|
55715
|
+
/* harmony export */ "ResourceUrlPipe": () => (/* reexport safe */ piral_ng_common__WEBPACK_IMPORTED_MODULE_0__.ResourceUrlPipe),
|
|
55716
|
+
/* harmony export */ "SharedModule": () => (/* reexport safe */ piral_ng_common__WEBPACK_IMPORTED_MODULE_0__.SharedModule)
|
|
55717
|
+
/* harmony export */ });
|
|
55718
|
+
/* harmony import */ var piral_ng_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-ng-common */ "../../../node_modules/piral-ng-common/fesm2022/piral-ng-common.mjs");
|
|
55719
|
+
|
|
55720
|
+
|
|
55670
55721
|
/***/ }),
|
|
55671
55722
|
|
|
55672
55723
|
/***/ "../../converters/piral-ng/esm/RoutingService.js":
|
|
@@ -55878,7 +55929,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55878
55929
|
/* harmony import */ var _queue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./queue */ "../../converters/piral-ng/esm/queue.js");
|
|
55879
55930
|
/* harmony import */ var _module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./module */ "../../converters/piral-ng/esm/module.js");
|
|
55880
55931
|
/* harmony import */ var _bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./bootstrap */ "../../converters/piral-ng/esm/bootstrap.js");
|
|
55881
|
-
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common */ "
|
|
55932
|
+
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common */ "../../../node_modules/piral-ng-common/fesm2022/piral-ng-common.mjs");
|
|
55882
55933
|
|
|
55883
55934
|
|
|
55884
55935
|
|
|
@@ -55981,7 +56032,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55981
56032
|
/* harmony import */ var _startup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./startup */ "../../converters/piral-ng/esm/startup.js");
|
|
55982
56033
|
/* harmony import */ var _RoutingService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./RoutingService */ "../../converters/piral-ng/esm/RoutingService.js");
|
|
55983
56034
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils */ "../../converters/piral-ng/esm/utils.js");
|
|
55984
|
-
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common */ "
|
|
56035
|
+
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common */ "../../../node_modules/piral-ng-common/fesm2022/piral-ng-common.mjs");
|
|
55985
56036
|
|
|
55986
56037
|
|
|
55987
56038
|
|
|
@@ -57301,28 +57352,44 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
57301
57352
|
/* harmony export */ });
|
|
57302
57353
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
57303
57354
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
57304
|
-
/* harmony import */ var
|
|
57305
|
-
/* harmony import */ var
|
|
57355
|
+
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");
|
|
57356
|
+
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
57357
|
+
/* harmony import */ var _modules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modules */ "../../framework/piral-core/esm/modules/element.js");
|
|
57358
|
+
|
|
57306
57359
|
|
|
57307
57360
|
|
|
57308
57361
|
|
|
57309
57362
|
const RootListener = () => {
|
|
57310
|
-
const context = (0,
|
|
57363
|
+
const context = (0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useGlobalStateContext)();
|
|
57311
57364
|
react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect(() => {
|
|
57312
57365
|
if (typeof document !== 'undefined') {
|
|
57313
|
-
const
|
|
57366
|
+
const renderHtml = ev => {
|
|
57314
57367
|
ev.stopPropagation();
|
|
57315
57368
|
const {
|
|
57316
57369
|
target,
|
|
57317
57370
|
props
|
|
57318
57371
|
} = ev.detail;
|
|
57319
|
-
const [dispose, update] = (0,
|
|
57372
|
+
const [dispose, update] = (0,_modules__WEBPACK_IMPORTED_MODULE_3__.renderElement)(context, target, props);
|
|
57320
57373
|
target.dispose = dispose;
|
|
57321
57374
|
target.update = update;
|
|
57322
57375
|
};
|
|
57323
|
-
|
|
57376
|
+
const renderContent = ev => {
|
|
57377
|
+
ev.stopPropagation();
|
|
57378
|
+
const {
|
|
57379
|
+
target,
|
|
57380
|
+
content,
|
|
57381
|
+
portalId
|
|
57382
|
+
} = ev.detail;
|
|
57383
|
+
const portal = /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal)(content, target);
|
|
57384
|
+
const dispose = () => context.hidePortal(portalId, portal);
|
|
57385
|
+
context.showPortal(portalId, portal);
|
|
57386
|
+
target.dispose = dispose;
|
|
57387
|
+
};
|
|
57388
|
+
document.body.addEventListener('render-html', renderHtml, false);
|
|
57389
|
+
document.body.addEventListener('render-content', renderContent, false);
|
|
57324
57390
|
return () => {
|
|
57325
|
-
document.body.removeEventListener('render-html',
|
|
57391
|
+
document.body.removeEventListener('render-html', renderHtml, false);
|
|
57392
|
+
document.body.removeEventListener('render-content', renderContent, false);
|
|
57326
57393
|
};
|
|
57327
57394
|
}
|
|
57328
57395
|
}, [context]);
|
|
@@ -57716,39 +57783,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
57716
57783
|
/* harmony export */ });
|
|
57717
57784
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
57718
57785
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
57719
|
-
/* harmony import */ var
|
|
57720
|
-
/* harmony import */ var _wrapComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./wrapComponent */ "../../framework/piral-core/esm/components/wrapComponent.js");
|
|
57786
|
+
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/dist/piral-base-full.mjs");
|
|
57721
57787
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
|
|
57722
57788
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/react.js");
|
|
57723
|
-
/* harmony import */ var
|
|
57724
|
-
|
|
57789
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
|
|
57725
57790
|
|
|
57726
57791
|
|
|
57727
57792
|
|
|
57728
57793
|
|
|
57729
|
-
const wrapper = ({
|
|
57730
|
-
children
|
|
57731
|
-
}) => (0,_utils__WEBPACK_IMPORTED_MODULE_1__.defaultRender)(children);
|
|
57732
|
-
const renderExtensions = [{
|
|
57733
|
-
component: props => {
|
|
57734
|
-
const context = (0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useGlobalStateContext)();
|
|
57735
|
-
const converters = context.converters;
|
|
57736
|
-
const piral = context.apis._;
|
|
57737
|
-
const {
|
|
57738
|
-
component,
|
|
57739
|
-
props: args
|
|
57740
|
-
} = props.params;
|
|
57741
|
-
const Component = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => (0,_wrapComponent__WEBPACK_IMPORTED_MODULE_3__.wrapComponent)(converters, component, {
|
|
57742
|
-
piral
|
|
57743
|
-
}, wrapper), [component]);
|
|
57744
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, Object.assign({}, args));
|
|
57745
|
-
},
|
|
57746
|
-
defaults: {},
|
|
57747
|
-
pilet: '',
|
|
57748
|
-
reference: {
|
|
57749
|
-
displayName: 'AnyComponent'
|
|
57750
|
-
}
|
|
57751
|
-
}];
|
|
57752
57794
|
function defaultOrder(extensions) {
|
|
57753
57795
|
return extensions;
|
|
57754
57796
|
}
|
|
@@ -57767,8 +57809,8 @@ function ExtensionSlot(props) {
|
|
|
57767
57809
|
emptySkipsRender = false,
|
|
57768
57810
|
order = defaultOrder
|
|
57769
57811
|
} = props;
|
|
57770
|
-
const extensions = (0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useGlobalState)(s =>
|
|
57771
|
-
const isEmpty = extensions.length === 0 && (0,
|
|
57812
|
+
const extensions = (0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useGlobalState)(s => s.registry.extensions[name] || _utils__WEBPACK_IMPORTED_MODULE_3__.none);
|
|
57813
|
+
const isEmpty = extensions.length === 0 && (0,piral_base__WEBPACK_IMPORTED_MODULE_4__.isfunc)(empty);
|
|
57772
57814
|
const content = isEmpty ? [(0,_utils__WEBPACK_IMPORTED_MODULE_1__.defaultRender)(empty(), 'empty')] : order(extensions).map(({
|
|
57773
57815
|
component: Component,
|
|
57774
57816
|
reference,
|
|
@@ -59162,6 +59204,47 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
59162
59204
|
}
|
|
59163
59205
|
}
|
|
59164
59206
|
customElements.define(_utils__WEBPACK_IMPORTED_MODULE_3__.slotName, PiralSlot);
|
|
59207
|
+
/**
|
|
59208
|
+
* This is a virtual element to render children defined in React / by Piral in other
|
|
59209
|
+
* frameworks.
|
|
59210
|
+
*
|
|
59211
|
+
* Usage:
|
|
59212
|
+
*
|
|
59213
|
+
* ```
|
|
59214
|
+
* <piral-content cid="123"></piral-content>
|
|
59215
|
+
* ```
|
|
59216
|
+
*/
|
|
59217
|
+
class PiralContent extends HTMLElement {
|
|
59218
|
+
constructor() {
|
|
59219
|
+
super(...arguments);
|
|
59220
|
+
this.dispose = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
59221
|
+
}
|
|
59222
|
+
connectedCallback() {
|
|
59223
|
+
this.style.display = 'contents';
|
|
59224
|
+
const cid = this.getAttribute('cid');
|
|
59225
|
+
const content = PiralContent.contentAssignments[cid];
|
|
59226
|
+
const portal = this.closest('piral-portal');
|
|
59227
|
+
if (content && portal) {
|
|
59228
|
+
const portalId = portal.getAttribute('pid');
|
|
59229
|
+
document.body.dispatchEvent(new CustomEvent('render-content', {
|
|
59230
|
+
detail: {
|
|
59231
|
+
target: this,
|
|
59232
|
+
content,
|
|
59233
|
+
portalId
|
|
59234
|
+
}
|
|
59235
|
+
}));
|
|
59236
|
+
}
|
|
59237
|
+
}
|
|
59238
|
+
disconnectedCallback() {
|
|
59239
|
+
this.dispose();
|
|
59240
|
+
this.dispose = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
|
|
59241
|
+
}
|
|
59242
|
+
}
|
|
59243
|
+
PiralContent.contentAssignments = {};
|
|
59244
|
+
window.assignContent = (cid, content) => {
|
|
59245
|
+
PiralContent.contentAssignments[cid] = content;
|
|
59246
|
+
};
|
|
59247
|
+
customElements.define(_utils__WEBPACK_IMPORTED_MODULE_3__.contentName, PiralContent);
|
|
59165
59248
|
}
|
|
59166
59249
|
function renderElement(context, element, props) {
|
|
59167
59250
|
if (typeof window !== 'undefined') {
|
|
@@ -59668,6 +59751,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
59668
59751
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
59669
59752
|
/* harmony export */ "attachDomPortal": () => (/* binding */ attachDomPortal),
|
|
59670
59753
|
/* harmony export */ "changeDomPortal": () => (/* binding */ changeDomPortal),
|
|
59754
|
+
/* harmony export */ "contentName": () => (/* binding */ contentName),
|
|
59671
59755
|
/* harmony export */ "convertComponent": () => (/* binding */ convertComponent),
|
|
59672
59756
|
/* harmony export */ "extensionName": () => (/* binding */ extensionName),
|
|
59673
59757
|
/* harmony export */ "portalName": () => (/* binding */ portalName),
|
|
@@ -59680,6 +59764,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
59680
59764
|
|
|
59681
59765
|
|
|
59682
59766
|
const extensionName = 'piral-extension';
|
|
59767
|
+
const contentName = 'piral-content';
|
|
59683
59768
|
const portalName = 'piral-portal';
|
|
59684
59769
|
const slotName = 'piral-slot';
|
|
59685
59770
|
function attachDomPortal(id, context, element, component, props) {
|
|
@@ -60763,12 +60848,12 @@ function installPiralDebug(options) {
|
|
|
60763
60848
|
debug: debugApiVersion,
|
|
60764
60849
|
instance: {
|
|
60765
60850
|
name: "sample-cross-fx",
|
|
60766
|
-
version: "1.3.0-beta.
|
|
60851
|
+
version: "1.3.0-beta.6010",
|
|
60767
60852
|
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"
|
|
60768
60853
|
},
|
|
60769
60854
|
build: {
|
|
60770
|
-
date: "2023-09-
|
|
60771
|
-
cli: "1.
|
|
60855
|
+
date: "2023-09-28T08:38:17.312Z",
|
|
60856
|
+
cli: "1.3.0-beta.6010",
|
|
60772
60857
|
compat: "1"
|
|
60773
60858
|
}
|
|
60774
60859
|
};
|
|
@@ -72542,7 +72627,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
72542
72627
|
/* harmony import */ var _node_modules_lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../node_modules/lit-element/lit-element.js */ "../../../node_modules/lit-element/lit-element.js");
|
|
72543
72628
|
/* harmony import */ var _node_modules_solid_js_dist_dev_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../../node_modules/solid-js/dist/dev.js */ "../../../node_modules/solid-js/dist/dev.js");
|
|
72544
72629
|
/* harmony import */ var _node_modules_solid_js_web_dist_dev_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../../node_modules/solid-js/web/dist/dev.js */ "../../../node_modules/solid-js/web/dist/dev.js");
|
|
72545
|
-
/* harmony import */ var
|
|
72630
|
+
/* harmony import */ var _converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../converters/piral-ng/common.js */ "../../converters/piral-ng/common.js");
|
|
72546
72631
|
/* harmony import */ var _node_modules_preact_dist_preact_module_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../node_modules/preact/dist/preact.module.js */ "../../../node_modules/preact/dist/preact.module.js");
|
|
72547
72632
|
/* harmony import */ var _node_modules_riot_riot_esm_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../node_modules/riot/riot.esm.js */ "../../../node_modules/riot/riot.esm.js");
|
|
72548
72633
|
/* harmony import */ var _node_modules_rxjs_dist_esm5_index_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../../node_modules/rxjs/dist/esm5/index.js */ "../../../node_modules/rxjs/dist/esm5/index.js");
|
|
@@ -72608,7 +72693,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
72608
72693
|
|
|
72609
72694
|
|
|
72610
72695
|
function fillDependencies(deps) {
|
|
72611
|
-
deps['sample-cross-fx']={};deps["@angular/common"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/common@16.0.1"]=_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.0.1"]=_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.0.1"]=_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.0.1"]=_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.0.1"]=_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.7.3"]=_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"]=
|
|
72696
|
+
deps['sample-cross-fx']={};deps["@angular/common"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/common@16.0.1"]=_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.0.1"]=_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.0.1"]=_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.0.1"]=_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.0.1"]=_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.7.3"]=_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.3.0-beta.6010"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["piral-ng@1.3.0-beta.6010"]=_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.8.2"]=_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.2"]=_node_modules_vue_dist_vue_runtime_esm_js__WEBPACK_IMPORTED_MODULE_27__;deps["zone.js"]=_node_modules_zone_js_dist_zone_js__WEBPACK_IMPORTED_MODULE_16__;deps["zone.js@0.9.1"]=_node_modules_zone_js_dist_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.3"]=_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.3"]=_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_30__
|
|
72612
72697
|
}
|
|
72613
72698
|
|
|
72614
72699
|
|
|
@@ -214147,213 +214232,6 @@ function _setPrototypeOf(o, p) {
|
|
|
214147
214232
|
return _setPrototypeOf(o, p);
|
|
214148
214233
|
}
|
|
214149
214234
|
|
|
214150
|
-
/***/ }),
|
|
214151
|
-
|
|
214152
|
-
/***/ "../../converters/piral-ng/common/fesm2022/piral-ng-common.mjs":
|
|
214153
|
-
/*!*********************************************************************!*\
|
|
214154
|
-
!*** ../../converters/piral-ng/common/fesm2022/piral-ng-common.mjs ***!
|
|
214155
|
-
\*********************************************************************/
|
|
214156
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
214157
|
-
|
|
214158
|
-
"use strict";
|
|
214159
|
-
__webpack_require__.r(__webpack_exports__);
|
|
214160
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
214161
|
-
/* harmony export */ "NgExtension": () => (/* binding */ NgExtension),
|
|
214162
|
-
/* harmony export */ "ResourceUrlPipe": () => (/* binding */ ResourceUrlPipe),
|
|
214163
|
-
/* harmony export */ "SharedModule": () => (/* binding */ SharedModule)
|
|
214164
|
-
/* harmony export */ });
|
|
214165
|
-
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm2022/common.mjs");
|
|
214166
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm2022/core.mjs");
|
|
214167
|
-
|
|
214168
|
-
|
|
214169
|
-
|
|
214170
|
-
const selector = 'extension-component';
|
|
214171
|
-
class NgExtension {
|
|
214172
|
-
elRef;
|
|
214173
|
-
piral;
|
|
214174
|
-
name;
|
|
214175
|
-
params;
|
|
214176
|
-
constructor(elRef, piral) {
|
|
214177
|
-
this.elRef = elRef;
|
|
214178
|
-
this.piral = piral;
|
|
214179
|
-
}
|
|
214180
|
-
ngOnChanges() {
|
|
214181
|
-
this.elRef.nativeElement.dispatchEvent(new CustomEvent('extension-props-changed', {
|
|
214182
|
-
detail: {
|
|
214183
|
-
name: this.name,
|
|
214184
|
-
params: this.params
|
|
214185
|
-
}
|
|
214186
|
-
}));
|
|
214187
|
-
}
|
|
214188
|
-
ngAfterContentInit() {
|
|
214189
|
-
this.piral.renderHtmlExtension(this.elRef.nativeElement, {
|
|
214190
|
-
name: this.name,
|
|
214191
|
-
params: this.params
|
|
214192
|
-
});
|
|
214193
|
-
}
|
|
214194
|
-
static ɵfac = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareFactory"]({
|
|
214195
|
-
minVersion: "12.0.0",
|
|
214196
|
-
version: "16.0.1",
|
|
214197
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214198
|
-
type: NgExtension,
|
|
214199
|
-
deps: [{
|
|
214200
|
-
token: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
|
|
214201
|
-
}, {
|
|
214202
|
-
token: 'piral'
|
|
214203
|
-
}],
|
|
214204
|
-
target: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵFactoryTarget"].Component
|
|
214205
|
-
});
|
|
214206
|
-
static ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareComponent"]({
|
|
214207
|
-
minVersion: "14.0.0",
|
|
214208
|
-
version: "16.0.1",
|
|
214209
|
-
type: NgExtension,
|
|
214210
|
-
selector: "extension-component",
|
|
214211
|
-
inputs: {
|
|
214212
|
-
name: "name",
|
|
214213
|
-
params: "params"
|
|
214214
|
-
},
|
|
214215
|
-
usesOnChanges: true,
|
|
214216
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214217
|
-
template: '',
|
|
214218
|
-
isInline: true
|
|
214219
|
-
});
|
|
214220
|
-
}
|
|
214221
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareClassMetadata"]({
|
|
214222
|
-
minVersion: "12.0.0",
|
|
214223
|
-
version: "16.0.1",
|
|
214224
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214225
|
-
type: NgExtension,
|
|
214226
|
-
decorators: [{
|
|
214227
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Component,
|
|
214228
|
-
args: [{
|
|
214229
|
-
selector,
|
|
214230
|
-
template: ''
|
|
214231
|
-
}]
|
|
214232
|
-
}],
|
|
214233
|
-
ctorParameters: function () {
|
|
214234
|
-
return [{
|
|
214235
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
|
|
214236
|
-
}, {
|
|
214237
|
-
type: undefined,
|
|
214238
|
-
decorators: [{
|
|
214239
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
|
|
214240
|
-
args: ['piral']
|
|
214241
|
-
}]
|
|
214242
|
-
}];
|
|
214243
|
-
},
|
|
214244
|
-
propDecorators: {
|
|
214245
|
-
name: [{
|
|
214246
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
|
|
214247
|
-
args: ['name']
|
|
214248
|
-
}],
|
|
214249
|
-
params: [{
|
|
214250
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
|
|
214251
|
-
args: ['params']
|
|
214252
|
-
}]
|
|
214253
|
-
}
|
|
214254
|
-
});
|
|
214255
|
-
class ResourceUrlPipe {
|
|
214256
|
-
piral;
|
|
214257
|
-
constructor(piral) {
|
|
214258
|
-
this.piral = piral;
|
|
214259
|
-
}
|
|
214260
|
-
transform(value) {
|
|
214261
|
-
const {
|
|
214262
|
-
basePath = '/'
|
|
214263
|
-
} = this.piral.meta;
|
|
214264
|
-
return basePath + value;
|
|
214265
|
-
}
|
|
214266
|
-
static ɵfac = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareFactory"]({
|
|
214267
|
-
minVersion: "12.0.0",
|
|
214268
|
-
version: "16.0.1",
|
|
214269
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214270
|
-
type: ResourceUrlPipe,
|
|
214271
|
-
deps: [{
|
|
214272
|
-
token: 'piral'
|
|
214273
|
-
}],
|
|
214274
|
-
target: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵFactoryTarget"].Pipe
|
|
214275
|
-
});
|
|
214276
|
-
static ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclarePipe"]({
|
|
214277
|
-
minVersion: "14.0.0",
|
|
214278
|
-
version: "16.0.1",
|
|
214279
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214280
|
-
type: ResourceUrlPipe,
|
|
214281
|
-
name: "resourceUrl"
|
|
214282
|
-
});
|
|
214283
|
-
}
|
|
214284
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareClassMetadata"]({
|
|
214285
|
-
minVersion: "12.0.0",
|
|
214286
|
-
version: "16.0.1",
|
|
214287
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214288
|
-
type: ResourceUrlPipe,
|
|
214289
|
-
decorators: [{
|
|
214290
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
|
|
214291
|
-
args: [{
|
|
214292
|
-
name: 'resourceUrl'
|
|
214293
|
-
}]
|
|
214294
|
-
}],
|
|
214295
|
-
ctorParameters: function () {
|
|
214296
|
-
return [{
|
|
214297
|
-
type: undefined,
|
|
214298
|
-
decorators: [{
|
|
214299
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
|
|
214300
|
-
args: ['piral']
|
|
214301
|
-
}]
|
|
214302
|
-
}];
|
|
214303
|
-
}
|
|
214304
|
-
});
|
|
214305
|
-
const declarationsDef = [NgExtension, ResourceUrlPipe];
|
|
214306
|
-
const exportsDef = [NgExtension, ResourceUrlPipe];
|
|
214307
|
-
const importsDef = [_angular_common__WEBPACK_IMPORTED_MODULE_1__.CommonModule];
|
|
214308
|
-
class SharedModule {
|
|
214309
|
-
static props = {};
|
|
214310
|
-
static ɵfac = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareFactory"]({
|
|
214311
|
-
minVersion: "12.0.0",
|
|
214312
|
-
version: "16.0.1",
|
|
214313
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214314
|
-
type: SharedModule,
|
|
214315
|
-
deps: [],
|
|
214316
|
-
target: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵFactoryTarget"].NgModule
|
|
214317
|
-
});
|
|
214318
|
-
static ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareNgModule"]({
|
|
214319
|
-
minVersion: "14.0.0",
|
|
214320
|
-
version: "16.0.1",
|
|
214321
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214322
|
-
type: SharedModule,
|
|
214323
|
-
declarations: [NgExtension, ResourceUrlPipe],
|
|
214324
|
-
imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.CommonModule],
|
|
214325
|
-
exports: [NgExtension, ResourceUrlPipe]
|
|
214326
|
-
});
|
|
214327
|
-
static ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareInjector"]({
|
|
214328
|
-
minVersion: "12.0.0",
|
|
214329
|
-
version: "16.0.1",
|
|
214330
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214331
|
-
type: SharedModule,
|
|
214332
|
-
imports: [importsDef]
|
|
214333
|
-
});
|
|
214334
|
-
}
|
|
214335
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareClassMetadata"]({
|
|
214336
|
-
minVersion: "12.0.0",
|
|
214337
|
-
version: "16.0.1",
|
|
214338
|
-
ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__,
|
|
214339
|
-
type: SharedModule,
|
|
214340
|
-
decorators: [{
|
|
214341
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
|
|
214342
|
-
args: [{
|
|
214343
|
-
declarations: declarationsDef,
|
|
214344
|
-
providers: [],
|
|
214345
|
-
imports: importsDef,
|
|
214346
|
-
exports: exportsDef
|
|
214347
|
-
}]
|
|
214348
|
-
}]
|
|
214349
|
-
});
|
|
214350
|
-
|
|
214351
|
-
/**
|
|
214352
|
-
* Generated bundle index. Do not edit.
|
|
214353
|
-
*/
|
|
214354
|
-
|
|
214355
|
-
|
|
214356
|
-
|
|
214357
214235
|
/***/ }),
|
|
214358
214236
|
|
|
214359
214237
|
/***/ "../../framework/piral-base/dist/piral-base-full.mjs":
|
|
@@ -215229,8 +215107,13 @@ function compareVersions(v1, v2) {
|
|
|
215229
215107
|
const s2 = splitVersion(v2);
|
|
215230
215108
|
const len = Math.max(s1.length - 1, s2.length - 1);
|
|
215231
215109
|
for (let i = 0; i < len; i++) {
|
|
215232
|
-
const
|
|
215233
|
-
const
|
|
215110
|
+
const m1 = s1[i] || "0";
|
|
215111
|
+
const m2 = s2[i] || "0";
|
|
215112
|
+
if (m2 === "x") {
|
|
215113
|
+
return 0;
|
|
215114
|
+
}
|
|
215115
|
+
const n1 = parseInt(m1, 10);
|
|
215116
|
+
const n2 = parseInt(m2, 10);
|
|
215234
215117
|
if (n1 > n2) {
|
|
215235
215118
|
return 1;
|
|
215236
215119
|
} else if (n2 > n1) {
|
|
@@ -219542,6 +219425,118 @@ const html = (strings, ...values) => new _lib_template_result_js__WEBPACK_IMPORT
|
|
|
219542
219425
|
const svg = (strings, ...values) => new _lib_template_result_js__WEBPACK_IMPORTED_MODULE_1__.SVGTemplateResult(strings, values, 'svg', _lib_default_template_processor_js__WEBPACK_IMPORTED_MODULE_0__.defaultTemplateProcessor);
|
|
219543
219426
|
//# sourceMappingURL=lit-html.js.map
|
|
219544
219427
|
|
|
219428
|
+
/***/ }),
|
|
219429
|
+
|
|
219430
|
+
/***/ "../../../node_modules/piral-ng-common/fesm2022/piral-ng-common.mjs":
|
|
219431
|
+
/*!**************************************************************************!*\
|
|
219432
|
+
!*** ../../../node_modules/piral-ng-common/fesm2022/piral-ng-common.mjs ***!
|
|
219433
|
+
\**************************************************************************/
|
|
219434
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
219435
|
+
|
|
219436
|
+
"use strict";
|
|
219437
|
+
__webpack_require__.r(__webpack_exports__);
|
|
219438
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
219439
|
+
/* harmony export */ "NgExtension": () => (/* binding */ NgExtension),
|
|
219440
|
+
/* harmony export */ "ResourceUrlPipe": () => (/* binding */ ResourceUrlPipe),
|
|
219441
|
+
/* harmony export */ "SharedModule": () => (/* binding */ SharedModule)
|
|
219442
|
+
/* harmony export */ });
|
|
219443
|
+
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm2022/common.mjs");
|
|
219444
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm2022/core.mjs");
|
|
219445
|
+
|
|
219446
|
+
|
|
219447
|
+
|
|
219448
|
+
|
|
219449
|
+
const selector = 'extension-component';
|
|
219450
|
+
class NgExtension {
|
|
219451
|
+
elRef;
|
|
219452
|
+
piral;
|
|
219453
|
+
name;
|
|
219454
|
+
params;
|
|
219455
|
+
constructor(elRef, piral) {
|
|
219456
|
+
this.elRef = elRef;
|
|
219457
|
+
this.piral = piral;
|
|
219458
|
+
}
|
|
219459
|
+
ngOnChanges() {
|
|
219460
|
+
this.elRef.nativeElement.dispatchEvent(new CustomEvent('extension-props-changed', {
|
|
219461
|
+
detail: {
|
|
219462
|
+
name: this.name,
|
|
219463
|
+
params: this.params,
|
|
219464
|
+
},
|
|
219465
|
+
}));
|
|
219466
|
+
}
|
|
219467
|
+
ngAfterContentInit() {
|
|
219468
|
+
this.piral.renderHtmlExtension(this.elRef.nativeElement, {
|
|
219469
|
+
name: this.name,
|
|
219470
|
+
params: this.params,
|
|
219471
|
+
});
|
|
219472
|
+
}
|
|
219473
|
+
static ɵfac = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareFactory"]({ minVersion: "12.0.0", version: "16.2.6", ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, type: NgExtension, deps: [{ token: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef }, { token: 'piral' }], target: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵFactoryTarget"].Component });
|
|
219474
|
+
static ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareComponent"]({ minVersion: "14.0.0", version: "16.2.6", type: NgExtension, selector: "extension-component", inputs: { name: "name", params: "params" }, usesOnChanges: true, ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, template: '', isInline: true });
|
|
219475
|
+
}
|
|
219476
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareClassMetadata"]({ minVersion: "12.0.0", version: "16.2.6", ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, type: NgExtension, decorators: [{
|
|
219477
|
+
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Component,
|
|
219478
|
+
args: [{
|
|
219479
|
+
selector,
|
|
219480
|
+
template: '',
|
|
219481
|
+
}]
|
|
219482
|
+
}], ctorParameters: function () { return [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef }, { type: undefined, decorators: [{
|
|
219483
|
+
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
|
|
219484
|
+
args: ['piral']
|
|
219485
|
+
}] }]; }, propDecorators: { name: [{
|
|
219486
|
+
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
|
|
219487
|
+
args: ['name']
|
|
219488
|
+
}], params: [{
|
|
219489
|
+
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
|
|
219490
|
+
args: ['params']
|
|
219491
|
+
}] } });
|
|
219492
|
+
|
|
219493
|
+
class ResourceUrlPipe {
|
|
219494
|
+
piral;
|
|
219495
|
+
constructor(piral) {
|
|
219496
|
+
this.piral = piral;
|
|
219497
|
+
}
|
|
219498
|
+
transform(value) {
|
|
219499
|
+
const { basePath = '/' } = this.piral.meta;
|
|
219500
|
+
return basePath + value;
|
|
219501
|
+
}
|
|
219502
|
+
static ɵfac = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareFactory"]({ minVersion: "12.0.0", version: "16.2.6", ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, type: ResourceUrlPipe, deps: [{ token: 'piral' }], target: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵFactoryTarget"].Pipe });
|
|
219503
|
+
static ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclarePipe"]({ minVersion: "14.0.0", version: "16.2.6", ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, type: ResourceUrlPipe, name: "resourceUrl" });
|
|
219504
|
+
}
|
|
219505
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareClassMetadata"]({ minVersion: "12.0.0", version: "16.2.6", ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, type: ResourceUrlPipe, decorators: [{
|
|
219506
|
+
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
|
|
219507
|
+
args: [{ name: 'resourceUrl' }]
|
|
219508
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
219509
|
+
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
|
|
219510
|
+
args: ['piral']
|
|
219511
|
+
}] }]; } });
|
|
219512
|
+
|
|
219513
|
+
const declarationsDef = [NgExtension, ResourceUrlPipe];
|
|
219514
|
+
const exportsDef = [NgExtension, ResourceUrlPipe];
|
|
219515
|
+
const importsDef = [_angular_common__WEBPACK_IMPORTED_MODULE_1__.CommonModule];
|
|
219516
|
+
class SharedModule {
|
|
219517
|
+
static props = {};
|
|
219518
|
+
static ɵfac = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareFactory"]({ minVersion: "12.0.0", version: "16.2.6", ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, type: SharedModule, deps: [], target: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵFactoryTarget"].NgModule });
|
|
219519
|
+
static ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareNgModule"]({ minVersion: "14.0.0", version: "16.2.6", ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, type: SharedModule, declarations: [NgExtension, ResourceUrlPipe], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.CommonModule], exports: [NgExtension, ResourceUrlPipe] });
|
|
219520
|
+
static ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareInjector"]({ minVersion: "12.0.0", version: "16.2.6", ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, type: SharedModule, imports: [importsDef] });
|
|
219521
|
+
}
|
|
219522
|
+
_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵngDeclareClassMetadata"]({ minVersion: "12.0.0", version: "16.2.6", ngImport: _angular_core__WEBPACK_IMPORTED_MODULE_0__, type: SharedModule, decorators: [{
|
|
219523
|
+
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
|
|
219524
|
+
args: [{
|
|
219525
|
+
declarations: declarationsDef,
|
|
219526
|
+
providers: [],
|
|
219527
|
+
imports: importsDef,
|
|
219528
|
+
exports: exportsDef,
|
|
219529
|
+
}]
|
|
219530
|
+
}] });
|
|
219531
|
+
|
|
219532
|
+
/**
|
|
219533
|
+
* Generated bundle index. Do not edit.
|
|
219534
|
+
*/
|
|
219535
|
+
|
|
219536
|
+
|
|
219537
|
+
//# sourceMappingURL=piral-ng-common.mjs.map
|
|
219538
|
+
|
|
219539
|
+
|
|
219545
219540
|
/***/ }),
|
|
219546
219541
|
|
|
219547
219542
|
/***/ "../../../node_modules/solid-js/dist/dev.js":
|
|
@@ -222304,4 +222299,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
|
|
|
222304
222299
|
|
|
222305
222300
|
/******/ })()
|
|
222306
222301
|
;
|
|
222307
|
-
//# sourceMappingURL=index.
|
|
222302
|
+
//# sourceMappingURL=index.79d6a4.js.map
|