sample-piral 1.8.3-beta.7909 → 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.23bf4c.js → index.cc6a8d.js} +18 -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.23bf4c.js.map +0 -1
|
@@ -62612,12 +62612,12 @@ function installPiralDebug(options) {
|
|
|
62612
62612
|
debug: debugApiVersion,
|
|
62613
62613
|
instance: {
|
|
62614
62614
|
name: "sample-piral",
|
|
62615
|
-
version: "1.8.3-beta.
|
|
62615
|
+
version: "1.8.3-beta.7915",
|
|
62616
62616
|
dependencies: "reactstrap,tslib,react,react-dom,react-router,react-router-dom"
|
|
62617
62617
|
},
|
|
62618
62618
|
build: {
|
|
62619
|
-
date: "2025-03-
|
|
62620
|
-
cli: "1.8.3-beta.
|
|
62619
|
+
date: "2025-03-17T11:19:38.345Z",
|
|
62620
|
+
cli: "1.8.3-beta.7915",
|
|
62621
62621
|
compat: "1"
|
|
62622
62622
|
}
|
|
62623
62623
|
};
|
|
@@ -66453,13 +66453,24 @@ function loader5(entry, _config) {
|
|
|
66453
66453
|
}
|
|
66454
66454
|
|
|
66455
66455
|
// src/loaders/v3/index.ts
|
|
66456
|
-
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) {
|
|
66457
66467
|
var _entry$dependencies5 = entry.dependencies,
|
|
66458
66468
|
dependencies = _entry$dependencies5 === void 0 ? {} : _entry$dependencies5,
|
|
66459
66469
|
_entry$config3 = entry.config,
|
|
66460
66470
|
config = _entry$config3 === void 0 ? {} : _entry$config3,
|
|
66461
66471
|
link = entry.link,
|
|
66462
66472
|
rest = _objectWithoutProperties(entry, _excluded5);
|
|
66473
|
+
var attachStyles = typeof options.attachStyles === "function" ? options.attachStyles : attachStylesToDocument;
|
|
66463
66474
|
var meta = _objectSpread({
|
|
66464
66475
|
dependencies: dependencies,
|
|
66465
66476
|
config: config,
|
|
@@ -66468,18 +66479,13 @@ function loader6(entry, _config) {
|
|
|
66468
66479
|
registerDependencyUrls(dependencies);
|
|
66469
66480
|
return loadSystemPilet(link).then(function (app) {
|
|
66470
66481
|
var pilet = createEvaluatedPilet(meta, app);
|
|
66471
|
-
if (Array.isArray(app.styles)
|
|
66482
|
+
if (Array.isArray(app.styles)) {
|
|
66472
66483
|
var _iterator3 = _createForOfIteratorHelper(app.styles),
|
|
66473
66484
|
_step3;
|
|
66474
66485
|
try {
|
|
66475
66486
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
66476
66487
|
var style = _step3.value;
|
|
66477
|
-
|
|
66478
|
-
link2.setAttribute("data-origin", pilet.name);
|
|
66479
|
-
link2.type = "text/css";
|
|
66480
|
-
link2.rel = "stylesheet";
|
|
66481
|
-
link2.href = "".concat(pilet.basePath, "/").concat(style);
|
|
66482
|
-
document.head.appendChild(link2);
|
|
66488
|
+
attachStyles(pilet, "".concat(pilet.basePath, "/").concat(style));
|
|
66483
66489
|
}
|
|
66484
66490
|
} catch (err) {
|
|
66485
66491
|
_iterator3.e(err);
|
|
@@ -67155,4 +67161,4 @@ root.render(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(piral_
|
|
|
67155
67161
|
|
|
67156
67162
|
/******/ })()
|
|
67157
67163
|
;
|
|
67158
|
-
//# sourceMappingURL=index.
|
|
67164
|
+
//# sourceMappingURL=index.cc6a8d.js.map
|