@pisapp/core 7.0.0-dev.20260916-153034 → 7.0.0-dev.20261029-122603
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/LICENSE +26 -18
- package/README.md +3 -0
- package/catalogs.js +3 -3
- package/chunks/AttributesTable-DRKGguZ2.js +3474 -0
- package/chunks/PisGlobal-CPAlhOni.js +94 -0
- package/chunks/ProductsDetailsHeader-DfVlpJh_.js +4442 -0
- package/chunks/carousel.es-DBv2Q2Xn.js +1602 -0
- package/chunks/directives-8QlgHJi7.js +8244 -0
- package/chunks/entry-CwhdPOkr.js +9948 -0
- package/chunks/entry-DVqVFTtL.js +5687 -0
- package/chunks/entry-Dyo7FMUS.js +2207 -0
- package/chunks/registerCustomElements-CWZenCp9.js +426 -0
- package/classifications.js +2 -2
- package/core.js +3 -3
- package/generated/registries.json +2775 -0
- package/index.js +7 -6
- package/migration/API_V1_TO_V2_MIGRATION.md +1704 -177
- package/migration/legacy-option-rules.json +51 -6
- package/migration/v7.json +2983 -441
- package/migration/v7.schema.json +61 -2
- package/package.json +17 -8
- package/pis-csp.js +7 -7
- package/pis.js +9 -9
- package/products.js +3 -1
- package/server.js +354 -0
- package/styles/pis.css +1 -1
- package/styles/theme-abb.optimized.css +1 -1
- package/styles/theme-cux2-blue-dark.css +1 -1
- package/styles/theme-cux2-blue-dark.optimized.css +1 -1
- package/styles/theme-cux2-blue-light.css +1 -1
- package/styles/theme-cux2-blue-light.optimized.css +1 -1
- package/styles/theme-cux2-lilac-dark.css +1 -1
- package/styles/theme-cux2-lilac-dark.optimized.css +1 -1
- package/styles/theme-cux2-lilac-light.css +1 -1
- package/styles/theme-cux2-lilac-light.optimized.css +1 -1
- package/styles/theme-cux2-mono-dark.css +1 -1
- package/styles/theme-cux2-mono-dark.optimized.css +1 -1
- package/styles/theme-cux2-mono-light.css +1 -1
- package/styles/theme-cux2-mono-light.optimized.css +1 -1
- package/styles/theme-cux2-red-dark.css +1 -1
- package/styles/theme-cux2-red-dark.optimized.css +1 -1
- package/styles/theme-cux2-red-light.css +1 -1
- package/styles/theme-cux2-red-light.optimized.css +1 -1
- package/types.d.ts +797 -587
- package/catalogs.d.ts +0 -7725
- package/chunks/catalogs-domain-DJxK_B5E.js +0 -9060
- package/chunks/catalogs-domain-DJxK_B5E.js.map +0 -1
- package/chunks/classifications-domain-DdIJaF1D.js +0 -1980
- package/chunks/classifications-domain-DdIJaF1D.js.map +0 -1
- package/chunks/icons-shared-B8v5z3BE.js +0 -1387
- package/chunks/icons-shared-B8v5z3BE.js.map +0 -1
- package/chunks/products-domain-99vJaUyI.js +0 -22587
- package/chunks/products-domain-99vJaUyI.js.map +0 -1
- package/classifications.d.ts +0 -7725
- package/core.d.ts +0 -7711
- package/index.d.ts +0 -7992
- package/pis-csp.js.map +0 -1
- package/pis.js.map +0 -1
- package/products.d.ts +0 -7746
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
//#region \0@oxc-project+runtime@0.142.0/helpers/esm/typeof.js
|
|
2
|
+
function e(t) {
|
|
3
|
+
"@babel/helpers - typeof";
|
|
4
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
5
|
+
return typeof e;
|
|
6
|
+
} : function(e) {
|
|
7
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
8
|
+
}, e(t);
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region \0@oxc-project+runtime@0.142.0/helpers/esm/toPrimitive.js
|
|
12
|
+
function t(t, n) {
|
|
13
|
+
if (e(t) != "object" || !t) return t;
|
|
14
|
+
var r = t[Symbol.toPrimitive];
|
|
15
|
+
if (r !== void 0) {
|
|
16
|
+
var i = r.call(t, n || "default");
|
|
17
|
+
if (e(i) != "object") return i;
|
|
18
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
19
|
+
}
|
|
20
|
+
return (n === "string" ? String : Number)(t);
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region \0@oxc-project+runtime@0.142.0/helpers/esm/toPropertyKey.js
|
|
24
|
+
function n(n) {
|
|
25
|
+
var r = t(n, "string");
|
|
26
|
+
return e(r) == "symbol" ? r : r + "";
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region \0@oxc-project+runtime@0.142.0/helpers/esm/defineProperty.js
|
|
30
|
+
function r(e, t, r) {
|
|
31
|
+
return (t = n(t)) in e ? Object.defineProperty(e, t, {
|
|
32
|
+
value: r,
|
|
33
|
+
enumerable: !0,
|
|
34
|
+
configurable: !0,
|
|
35
|
+
writable: !0
|
|
36
|
+
}) : e[t] = r, e;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/common/api/buildInfo.ts
|
|
40
|
+
function i(e, t) {
|
|
41
|
+
return typeof e == "string" && e.length > 0 ? e : t;
|
|
42
|
+
}
|
|
43
|
+
var a = Object.freeze({
|
|
44
|
+
version: i("7.0.0-dev.20261029-122603", "0.0.0-unknown"),
|
|
45
|
+
revision: i("unknown", "unknown"),
|
|
46
|
+
builtAt: i("unknown", "unknown")
|
|
47
|
+
}), o = a.version, s = !1;
|
|
48
|
+
function c() {
|
|
49
|
+
return a.version && a.version !== "0.0.0-unknown" ? a.version : (s || (s = !0, console.warn("[PIS] Component-Version header will be \"unknown\": the build did not stamp a version into BUILD_INFO. Rebuild from the published pipeline.")), "unknown");
|
|
50
|
+
}
|
|
51
|
+
var l = new class {
|
|
52
|
+
constructor() {
|
|
53
|
+
r(this, "accessors", {}), r(this, "version", a.version), r(this, "build", a.revision);
|
|
54
|
+
}
|
|
55
|
+
get Products() {
|
|
56
|
+
return this.getAccessor("Products");
|
|
57
|
+
}
|
|
58
|
+
get Catalogs() {
|
|
59
|
+
return this.getAccessor("Catalogs");
|
|
60
|
+
}
|
|
61
|
+
get Classifications() {
|
|
62
|
+
return this.getAccessor("Classifications");
|
|
63
|
+
}
|
|
64
|
+
registerProducts(e) {
|
|
65
|
+
this.accessors.Products || (this.accessors.Products = e);
|
|
66
|
+
}
|
|
67
|
+
registerCatalogs(e) {
|
|
68
|
+
this.accessors.Catalogs || (this.accessors.Catalogs = e);
|
|
69
|
+
}
|
|
70
|
+
registerClassifications(e) {
|
|
71
|
+
this.accessors.Classifications || (this.accessors.Classifications = e);
|
|
72
|
+
}
|
|
73
|
+
getAccessor(e) {
|
|
74
|
+
let t = this.accessors[e];
|
|
75
|
+
if (!t) throw Error(`[PIS] ${e} is not registered. Import '@pisapp/core/${e.toLowerCase()}' before using PIS.${e}.`);
|
|
76
|
+
return t;
|
|
77
|
+
}
|
|
78
|
+
}();
|
|
79
|
+
function u(e) {
|
|
80
|
+
l.registerProducts(e);
|
|
81
|
+
}
|
|
82
|
+
function d(e) {
|
|
83
|
+
l.registerCatalogs(e);
|
|
84
|
+
}
|
|
85
|
+
function f(e) {
|
|
86
|
+
l.registerClassifications(e);
|
|
87
|
+
}
|
|
88
|
+
function p() {
|
|
89
|
+
typeof window < "u" && (window.PIS = l);
|
|
90
|
+
}
|
|
91
|
+
//#endregion
|
|
92
|
+
export { u as a, r as c, f as i, l as n, o, d as r, c as s, p as t };
|
|
93
|
+
|
|
94
|
+
//# sourceMappingURL=PisGlobal-CPAlhOni.js.map
|