sample-cross-fx 1.8.0-beta.7735 → 1.8.0-beta.7741
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.
|
@@ -64766,7 +64766,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
64766
64766
|
|
|
64767
64767
|
|
|
64768
64768
|
function fillDependencies(deps) {
|
|
64769
|
-
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.8.0-beta.
|
|
64769
|
+
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.8.0-beta.7741"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["piral-ng@1.8.0-beta.7741"]=_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__
|
|
64770
64770
|
}
|
|
64771
64771
|
|
|
64772
64772
|
|
|
@@ -138237,12 +138237,12 @@ function installPiralDebug(options) {
|
|
|
138237
138237
|
debug: debugApiVersion,
|
|
138238
138238
|
instance: {
|
|
138239
138239
|
name: "sample-cross-fx",
|
|
138240
|
-
version: "1.8.0-beta.
|
|
138240
|
+
version: "1.8.0-beta.7741",
|
|
138241
138241
|
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"
|
|
138242
138242
|
},
|
|
138243
138243
|
build: {
|
|
138244
|
-
date: "2025-01-
|
|
138245
|
-
cli: "1.8.0-beta.
|
|
138244
|
+
date: "2025-01-14T16:13:26.220Z",
|
|
138245
|
+
cli: "1.8.0-beta.7741",
|
|
138246
138246
|
compat: "1"
|
|
138247
138247
|
}
|
|
138248
138248
|
};
|
|
@@ -138606,6 +138606,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
138606
138606
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
138607
138607
|
/* harmony export */ overlayId: () => (/* binding */ overlayId)
|
|
138608
138608
|
/* harmony export */ });
|
|
138609
|
+
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./stack */ "../../utilities/piral-debug-utils/lib/stack.js");
|
|
138610
|
+
|
|
138609
138611
|
// Create an element with provided attributes and optional children
|
|
138610
138612
|
function h(e, attrs = {}, ...children) {
|
|
138611
138613
|
const elem = document.createElement(e);
|
|
@@ -138824,7 +138826,10 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
138824
138826
|
if (hasFrame) {
|
|
138825
138827
|
this.text('.frame', error.frame.trim());
|
|
138826
138828
|
}
|
|
138827
|
-
this.text('.stack', error.stack, links);
|
|
138829
|
+
this.text('.stack', error.stack.split('\n').slice(0, 15).join('\n'), links);
|
|
138830
|
+
(0,_stack__WEBPACK_IMPORTED_MODULE_0__.convertError)(error, 0, 15).then(newStack => {
|
|
138831
|
+
this.text('.stack', newStack, links);
|
|
138832
|
+
});
|
|
138828
138833
|
this.root.querySelector('.window').addEventListener('click', e => {
|
|
138829
138834
|
e.stopPropagation();
|
|
138830
138835
|
});
|
|
@@ -138836,10 +138841,13 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
138836
138841
|
this.close();
|
|
138837
138842
|
}
|
|
138838
138843
|
};
|
|
138844
|
+
this.closeOnReload = () => this.close();
|
|
138845
|
+
window.addEventListener('pilets-reloaded', this.closeOnReload);
|
|
138839
138846
|
document.addEventListener('keydown', this.closeOnEsc);
|
|
138840
138847
|
}
|
|
138841
138848
|
text(selector, text, linkFiles = false) {
|
|
138842
138849
|
const el = this.root.querySelector(selector);
|
|
138850
|
+
el.textContent = '';
|
|
138843
138851
|
if (linkFiles) {
|
|
138844
138852
|
let curIndex = 0;
|
|
138845
138853
|
let match;
|
|
@@ -138868,6 +138876,7 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
138868
138876
|
}
|
|
138869
138877
|
close() {
|
|
138870
138878
|
this.parentNode?.removeChild(this);
|
|
138879
|
+
window.removeEventListener('pilets-reloaded', this.closeOnReload);
|
|
138871
138880
|
document.removeEventListener('keydown', this.closeOnEsc);
|
|
138872
138881
|
}
|
|
138873
138882
|
}
|
|
@@ -138890,21 +138899,53 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
138890
138899
|
/* harmony export */ });
|
|
138891
138900
|
const debugRouteCache = {
|
|
138892
138901
|
active: 0,
|
|
138893
|
-
paths: []
|
|
138894
|
-
refresh: undefined
|
|
138902
|
+
paths: []
|
|
138895
138903
|
};
|
|
138896
138904
|
function freezeRouteRefresh() {
|
|
138897
138905
|
debugRouteCache.active++;
|
|
138898
138906
|
return () => {
|
|
138899
138907
|
debugRouteCache.active--;
|
|
138900
138908
|
if (!debugRouteCache.active) {
|
|
138901
|
-
|
|
138909
|
+
window.dispatchEvent(new CustomEvent('pilets-reloaded'));
|
|
138902
138910
|
}
|
|
138903
138911
|
};
|
|
138904
138912
|
}
|
|
138905
138913
|
|
|
138906
138914
|
/***/ }),
|
|
138907
138915
|
|
|
138916
|
+
/***/ "../../utilities/piral-debug-utils/lib/stack.js":
|
|
138917
|
+
/*!******************************************************!*\
|
|
138918
|
+
!*** ../../utilities/piral-debug-utils/lib/stack.js ***!
|
|
138919
|
+
\******************************************************/
|
|
138920
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
138921
|
+
|
|
138922
|
+
"use strict";
|
|
138923
|
+
__webpack_require__.r(__webpack_exports__);
|
|
138924
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
138925
|
+
/* harmony export */ convertError: () => (/* binding */ convertError),
|
|
138926
|
+
/* harmony export */ install: () => (/* binding */ install)
|
|
138927
|
+
/* harmony export */ });
|
|
138928
|
+
let installPromise;
|
|
138929
|
+
function install() {
|
|
138930
|
+
if (!installPromise) {
|
|
138931
|
+
installPromise = new Promise((resolve, reject) => {
|
|
138932
|
+
const sts = document.createElement('script');
|
|
138933
|
+
sts.src = 'https://cdnjs.cloudflare.com/ajax/libs/stacktrace.js/2.0.2/stacktrace.min.js';
|
|
138934
|
+
document.head.appendChild(sts);
|
|
138935
|
+
sts.onload = () => resolve();
|
|
138936
|
+
sts.onerror = () => reject();
|
|
138937
|
+
});
|
|
138938
|
+
}
|
|
138939
|
+
return installPromise;
|
|
138940
|
+
}
|
|
138941
|
+
async function convertError(error, start = 0, end = -1) {
|
|
138942
|
+
await install();
|
|
138943
|
+
const frames = await window.StackTrace.fromError(error);
|
|
138944
|
+
return frames.slice(start, end).map(sf => sf.toString()).join('\n');
|
|
138945
|
+
}
|
|
138946
|
+
|
|
138947
|
+
/***/ }),
|
|
138948
|
+
|
|
138908
138949
|
/***/ "../../utilities/piral-debug-utils/lib/state.js":
|
|
138909
138950
|
/*!******************************************************!*\
|
|
138910
138951
|
!*** ../../utilities/piral-debug-utils/lib/state.js ***!
|
|
@@ -139018,9 +139059,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
139018
139059
|
function useDebugRouteFilter(paths) {
|
|
139019
139060
|
const [_, triggerChange] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);
|
|
139020
139061
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
|
139021
|
-
|
|
139062
|
+
const handler = () => {
|
|
139063
|
+
triggerChange(s => s + 1);
|
|
139064
|
+
};
|
|
139065
|
+
window.addEventListener('pilets-reloaded', handler);
|
|
139022
139066
|
return () => {
|
|
139023
|
-
|
|
139067
|
+
window.removeEventListener('pilets-reloaded', handler);
|
|
139024
139068
|
};
|
|
139025
139069
|
}, []);
|
|
139026
139070
|
if (!_routeRefresh__WEBPACK_IMPORTED_MODULE_1__.debugRouteCache.active) {
|
|
@@ -228116,4 +228160,4 @@ root.render(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(piral_
|
|
|
228116
228160
|
|
|
228117
228161
|
/******/ })()
|
|
228118
228162
|
;
|
|
228119
|
-
//# sourceMappingURL=index.
|
|
228163
|
+
//# sourceMappingURL=index.6405ce.js.map
|