sample-piral 0.14.14-beta.3767 → 0.14.15-beta.3791
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.e77abf.js → index.1ccd7e.js} +41 -28
- package/app/index.1ccd7e.js.map +1 -0
- 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 +7 -7
- package/app/index.e77abf.js.map +0 -1
|
@@ -842,8 +842,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
842
842
|
/* harmony export */ "includeDependency": () => (/* binding */ includeDependency),
|
|
843
843
|
/* harmony export */ "includeBundle": () => (/* binding */ includeBundle)
|
|
844
844
|
/* harmony export */ });
|
|
845
|
-
function requireModule(name) {
|
|
846
|
-
var
|
|
845
|
+
function requireModule(name, parent) {
|
|
846
|
+
var moduleId = System.resolve(name, parent);
|
|
847
|
+
var dependency = moduleId && System.get(moduleId);
|
|
847
848
|
|
|
848
849
|
if (!dependency) {
|
|
849
850
|
var error = new Error("Cannot find module '".concat(name, "'"));
|
|
@@ -891,7 +892,13 @@ function evalDependency(name, content) {
|
|
|
891
892
|
try {
|
|
892
893
|
var sourceUrl = link && "\n//# sourceURL=".concat(link);
|
|
893
894
|
var importer = new Function('module', 'exports', 'require', content + sourceUrl);
|
|
894
|
-
|
|
895
|
+
var parent = link || name;
|
|
896
|
+
|
|
897
|
+
var require = function require(moduleId) {
|
|
898
|
+
return requireModule(moduleId, parent);
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
importer(mod, mod.exports, require);
|
|
895
902
|
} catch (e) {
|
|
896
903
|
console.error("Error while evaluating ".concat(name, "."), e);
|
|
897
904
|
}
|
|
@@ -913,7 +920,10 @@ function compileDependency(name, content) {
|
|
|
913
920
|
}
|
|
914
921
|
|
|
915
922
|
function includeScript(piletName, depName, link, integrity, crossOrigin) {
|
|
916
|
-
window[depName] =
|
|
923
|
+
window[depName] = function (moduleId) {
|
|
924
|
+
return requireModule(moduleId, link);
|
|
925
|
+
};
|
|
926
|
+
|
|
917
927
|
return includeScriptDependency(link, integrity, crossOrigin).then(function (s) {
|
|
918
928
|
return checkPiletAppAsync(piletName, s.app);
|
|
919
929
|
}, function () {
|
|
@@ -3611,7 +3621,7 @@ function createInstance() {
|
|
|
3611
3621
|
var createApi = apiFactory(context, usedPlugins);
|
|
3612
3622
|
var root = createApi({
|
|
3613
3623
|
name: 'root',
|
|
3614
|
-
version: "0.14.
|
|
3624
|
+
version: "0.14.15-beta.3791" || 0,
|
|
3615
3625
|
spec: ''
|
|
3616
3626
|
});
|
|
3617
3627
|
var options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
|
|
@@ -9236,18 +9246,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9236
9246
|
/* harmony import */ var _state__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./state */ "../../utilities/piral-debug-utils/esm/state.js");
|
|
9237
9247
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9238
9248
|
|
|
9239
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
9240
|
-
|
|
9241
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9242
|
-
|
|
9243
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
9244
|
-
|
|
9245
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
9246
|
-
|
|
9247
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
9248
|
-
|
|
9249
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
9250
|
-
|
|
9251
9249
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
9252
9250
|
|
|
9253
9251
|
|
|
@@ -9475,25 +9473,27 @@ function installPiralDebug(options) {
|
|
|
9475
9473
|
|
|
9476
9474
|
var url = args[0],
|
|
9477
9475
|
parent = args[1];
|
|
9476
|
+
var result = systemResolve.call.apply(systemResolve, [this].concat(args));
|
|
9478
9477
|
|
|
9479
9478
|
if (parent) {
|
|
9480
|
-
|
|
9481
|
-
|
|
9479
|
+
var deps = depMap[parent] || {};
|
|
9480
|
+
deps[url] = result;
|
|
9481
|
+
depMap[parent] = deps;
|
|
9482
9482
|
}
|
|
9483
9483
|
|
|
9484
|
-
return
|
|
9484
|
+
return result;
|
|
9485
9485
|
};
|
|
9486
9486
|
|
|
9487
9487
|
var debugApi = {
|
|
9488
9488
|
debug: debugApiVersion,
|
|
9489
9489
|
instance: {
|
|
9490
9490
|
name: "sample-piral",
|
|
9491
|
-
version: "0.14.
|
|
9491
|
+
version: "0.14.15-beta.3791",
|
|
9492
9492
|
dependencies: "reactstrap,react,react-dom,react-router,react-router-dom,history,tslib,path-to-regexp,@libre/atom,@dbeining/react-atom"
|
|
9493
9493
|
},
|
|
9494
9494
|
build: {
|
|
9495
|
-
date: "2022-03-
|
|
9496
|
-
cli: "0.14.
|
|
9495
|
+
date: "2022-03-04T16:03:13.328Z",
|
|
9496
|
+
cli: "0.14.14",
|
|
9497
9497
|
compat: "0.14"
|
|
9498
9498
|
},
|
|
9499
9499
|
pilets: {
|
|
@@ -9549,13 +9549,26 @@ function installPiralDebug(options) {
|
|
|
9549
9549
|
var dependencyMap = {};
|
|
9550
9550
|
|
|
9551
9551
|
var addDeps = function addDeps(pilet, dependencies) {
|
|
9552
|
-
var
|
|
9552
|
+
var deps = dependencyMap[pilet] || [];
|
|
9553
9553
|
|
|
9554
|
-
|
|
9555
|
-
|
|
9554
|
+
var _loop = function _loop() {
|
|
9555
|
+
var depName = _Object$keys[_i];
|
|
9556
|
+
|
|
9557
|
+
if (!deps.some(function (m) {
|
|
9558
|
+
return m.demanded === depName;
|
|
9559
|
+
})) {
|
|
9560
|
+
deps.push({
|
|
9561
|
+
demanded: depName,
|
|
9562
|
+
resolved: dependencies[depName]
|
|
9563
|
+
});
|
|
9564
|
+
}
|
|
9565
|
+
};
|
|
9566
|
+
|
|
9567
|
+
for (var _i = 0, _Object$keys = Object.keys(dependencies); _i < _Object$keys.length; _i++) {
|
|
9568
|
+
_loop();
|
|
9556
9569
|
}
|
|
9557
9570
|
|
|
9558
|
-
|
|
9571
|
+
dependencyMap[pilet] = deps;
|
|
9559
9572
|
};
|
|
9560
9573
|
|
|
9561
9574
|
var pilets = getPilets().map(function (pilet) {
|
|
@@ -80893,4 +80906,4 @@ var layout_1 = __webpack_require__(/*! ./layout */ "./src/layout.tsx");
|
|
|
80893
80906
|
|
|
80894
80907
|
/******/ })()
|
|
80895
80908
|
;
|
|
80896
|
-
//# sourceMappingURL=index.
|
|
80909
|
+
//# sourceMappingURL=index.1ccd7e.js.map
|