sample-piral 1.8.3-beta.7883 → 1.8.3-beta.7915
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.264832.js → index.cc6a8d.js} +24 -12
- package/app/index.cc6a8d.js.map +1 -0
- package/app/index.d.ts +7 -0
- package/app/index.html +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +8 -8
- package/app/index.264832.js.map +0 -1
|
@@ -58522,11 +58522,17 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
58522
58522
|
key: "name",
|
|
58523
58523
|
get: function get() {
|
|
58524
58524
|
return this.getAttribute('name');
|
|
58525
|
+
},
|
|
58526
|
+
set: function set(value) {
|
|
58527
|
+
this.setAttribute('name', value);
|
|
58525
58528
|
}
|
|
58526
58529
|
}, {
|
|
58527
58530
|
key: "origin",
|
|
58528
58531
|
get: function get() {
|
|
58529
58532
|
return this.getAttribute('origin');
|
|
58533
|
+
},
|
|
58534
|
+
set: function set(value) {
|
|
58535
|
+
this.setAttribute('origin', value);
|
|
58530
58536
|
}
|
|
58531
58537
|
}, {
|
|
58532
58538
|
key: "connectedCallback",
|
|
@@ -62606,12 +62612,12 @@ function installPiralDebug(options) {
|
|
|
62606
62612
|
debug: debugApiVersion,
|
|
62607
62613
|
instance: {
|
|
62608
62614
|
name: "sample-piral",
|
|
62609
|
-
version: "1.8.3-beta.
|
|
62615
|
+
version: "1.8.3-beta.7915",
|
|
62610
62616
|
dependencies: "reactstrap,tslib,react,react-dom,react-router,react-router-dom"
|
|
62611
62617
|
},
|
|
62612
62618
|
build: {
|
|
62613
|
-
date: "2025-
|
|
62614
|
-
cli: "1.8.3-beta.
|
|
62619
|
+
date: "2025-03-17T11:19:38.345Z",
|
|
62620
|
+
cli: "1.8.3-beta.7915",
|
|
62615
62621
|
compat: "1"
|
|
62616
62622
|
}
|
|
62617
62623
|
};
|
|
@@ -66447,13 +66453,24 @@ function loader5(entry, _config) {
|
|
|
66447
66453
|
}
|
|
66448
66454
|
|
|
66449
66455
|
// src/loaders/v3/index.ts
|
|
66450
|
-
function
|
|
66456
|
+
function attachStylesToDocument(pilet, url) {
|
|
66457
|
+
if (typeof document !== "undefined") {
|
|
66458
|
+
var link = document.createElement("link");
|
|
66459
|
+
link.setAttribute("data-origin", pilet.name);
|
|
66460
|
+
link.type = "text/css";
|
|
66461
|
+
link.rel = "stylesheet";
|
|
66462
|
+
link.href = url;
|
|
66463
|
+
document.head.appendChild(link);
|
|
66464
|
+
}
|
|
66465
|
+
}
|
|
66466
|
+
function loader6(entry, options) {
|
|
66451
66467
|
var _entry$dependencies5 = entry.dependencies,
|
|
66452
66468
|
dependencies = _entry$dependencies5 === void 0 ? {} : _entry$dependencies5,
|
|
66453
66469
|
_entry$config3 = entry.config,
|
|
66454
66470
|
config = _entry$config3 === void 0 ? {} : _entry$config3,
|
|
66455
66471
|
link = entry.link,
|
|
66456
66472
|
rest = _objectWithoutProperties(entry, _excluded5);
|
|
66473
|
+
var attachStyles = typeof options.attachStyles === "function" ? options.attachStyles : attachStylesToDocument;
|
|
66457
66474
|
var meta = _objectSpread({
|
|
66458
66475
|
dependencies: dependencies,
|
|
66459
66476
|
config: config,
|
|
@@ -66462,18 +66479,13 @@ function loader6(entry, _config) {
|
|
|
66462
66479
|
registerDependencyUrls(dependencies);
|
|
66463
66480
|
return loadSystemPilet(link).then(function (app) {
|
|
66464
66481
|
var pilet = createEvaluatedPilet(meta, app);
|
|
66465
|
-
if (Array.isArray(app.styles)
|
|
66482
|
+
if (Array.isArray(app.styles)) {
|
|
66466
66483
|
var _iterator3 = _createForOfIteratorHelper(app.styles),
|
|
66467
66484
|
_step3;
|
|
66468
66485
|
try {
|
|
66469
66486
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
66470
66487
|
var style = _step3.value;
|
|
66471
|
-
|
|
66472
|
-
link2.setAttribute("data-origin", pilet.name);
|
|
66473
|
-
link2.type = "text/css";
|
|
66474
|
-
link2.rel = "stylesheet";
|
|
66475
|
-
link2.href = "".concat(pilet.basePath, "/").concat(style);
|
|
66476
|
-
document.head.appendChild(link2);
|
|
66488
|
+
attachStyles(pilet, "".concat(pilet.basePath, "/").concat(style));
|
|
66477
66489
|
}
|
|
66478
66490
|
} catch (err) {
|
|
66479
66491
|
_iterator3.e(err);
|
|
@@ -67149,4 +67161,4 @@ root.render(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(piral_
|
|
|
67149
67161
|
|
|
67150
67162
|
/******/ })()
|
|
67151
67163
|
;
|
|
67152
|
-
//# sourceMappingURL=index.
|
|
67164
|
+
//# sourceMappingURL=index.cc6a8d.js.map
|