@citizenplatform/core 1.0.0
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/README.md +32 -0
- package/dist/index.js +6 -0
- package/dist/index10.js +110 -0
- package/dist/index10.js.map +1 -0
- package/dist/index100.js +10 -0
- package/dist/index100.js.map +1 -0
- package/dist/index101.js +31 -0
- package/dist/index101.js.map +1 -0
- package/dist/index102.js +165 -0
- package/dist/index102.js.map +1 -0
- package/dist/index103.js +48 -0
- package/dist/index103.js.map +1 -0
- package/dist/index104.js +8 -0
- package/dist/index104.js.map +1 -0
- package/dist/index105.js +14 -0
- package/dist/index105.js.map +1 -0
- package/dist/index106.js +8 -0
- package/dist/index106.js.map +1 -0
- package/dist/index107.js +7 -0
- package/dist/index107.js.map +1 -0
- package/dist/index108.js +16 -0
- package/dist/index108.js.map +1 -0
- package/dist/index109.js +7 -0
- package/dist/index109.js.map +1 -0
- package/dist/index11.js +97 -0
- package/dist/index11.js.map +1 -0
- package/dist/index110.js +22 -0
- package/dist/index110.js.map +1 -0
- package/dist/index111.js +7 -0
- package/dist/index111.js.map +1 -0
- package/dist/index112.js +9 -0
- package/dist/index112.js.map +1 -0
- package/dist/index113.js +20 -0
- package/dist/index113.js.map +1 -0
- package/dist/index114.js +56 -0
- package/dist/index114.js.map +1 -0
- package/dist/index115.js +73 -0
- package/dist/index115.js.map +1 -0
- package/dist/index116.js +20 -0
- package/dist/index116.js.map +1 -0
- package/dist/index117.js +26 -0
- package/dist/index117.js.map +1 -0
- package/dist/index118.js +2 -0
- package/dist/index119.js +3 -0
- package/dist/index12.js +22 -0
- package/dist/index12.js.map +1 -0
- package/dist/index120.js +22 -0
- package/dist/index120.js.map +1 -0
- package/dist/index121.js +149 -0
- package/dist/index121.js.map +1 -0
- package/dist/index122.js +20 -0
- package/dist/index122.js.map +1 -0
- package/dist/index123.js +9 -0
- package/dist/index123.js.map +1 -0
- package/dist/index124.js +9 -0
- package/dist/index124.js.map +1 -0
- package/dist/index125.js +63 -0
- package/dist/index125.js.map +1 -0
- package/dist/index126.js +24 -0
- package/dist/index126.js.map +1 -0
- package/dist/index127.js +9 -0
- package/dist/index127.js.map +1 -0
- package/dist/index128.js +11 -0
- package/dist/index128.js.map +1 -0
- package/dist/index129.js +10 -0
- package/dist/index129.js.map +1 -0
- package/dist/index13.js +18 -0
- package/dist/index13.js.map +1 -0
- package/dist/index130.js +254 -0
- package/dist/index130.js.map +1 -0
- package/dist/index131.js +25 -0
- package/dist/index131.js.map +1 -0
- package/dist/index132.js +250 -0
- package/dist/index132.js.map +1 -0
- package/dist/index133.js +20 -0
- package/dist/index133.js.map +1 -0
- package/dist/index134.js +13 -0
- package/dist/index134.js.map +1 -0
- package/dist/index135.js +15 -0
- package/dist/index135.js.map +1 -0
- package/dist/index136.js +117 -0
- package/dist/index136.js.map +1 -0
- package/dist/index137.js +13 -0
- package/dist/index137.js.map +1 -0
- package/dist/index138.js +22 -0
- package/dist/index138.js.map +1 -0
- package/dist/index139.js +26 -0
- package/dist/index139.js.map +1 -0
- package/dist/index14.js +11 -0
- package/dist/index14.js.map +1 -0
- package/dist/index140.js +20 -0
- package/dist/index140.js.map +1 -0
- package/dist/index141.js +22 -0
- package/dist/index141.js.map +1 -0
- package/dist/index142.js +12 -0
- package/dist/index142.js.map +1 -0
- package/dist/index143.js +26 -0
- package/dist/index143.js.map +1 -0
- package/dist/index144.js +56 -0
- package/dist/index144.js.map +1 -0
- package/dist/index145.js +12 -0
- package/dist/index145.js.map +1 -0
- package/dist/index146.js +212 -0
- package/dist/index146.js.map +1 -0
- package/dist/index147.js +4 -0
- package/dist/index148.js +5 -0
- package/dist/index149.js +7 -0
- package/dist/index15.js +192 -0
- package/dist/index15.js.map +1 -0
- package/dist/index16.js +24 -0
- package/dist/index16.js.map +1 -0
- package/dist/index17.js +14 -0
- package/dist/index17.js.map +1 -0
- package/dist/index18.js +54 -0
- package/dist/index18.js.map +1 -0
- package/dist/index19.js +99 -0
- package/dist/index19.js.map +1 -0
- package/dist/index2.js +13 -0
- package/dist/index20.js +10 -0
- package/dist/index20.js.map +1 -0
- package/dist/index21.js +18 -0
- package/dist/index21.js.map +1 -0
- package/dist/index22.js +9 -0
- package/dist/index22.js.map +1 -0
- package/dist/index23.js +67 -0
- package/dist/index23.js.map +1 -0
- package/dist/index24.js +13 -0
- package/dist/index24.js.map +1 -0
- package/dist/index25.js +64 -0
- package/dist/index25.js.map +1 -0
- package/dist/index26.js +84 -0
- package/dist/index26.js.map +1 -0
- package/dist/index27.js +12 -0
- package/dist/index27.js.map +1 -0
- package/dist/index28.js +41 -0
- package/dist/index28.js.map +1 -0
- package/dist/index29.js +10 -0
- package/dist/index29.js.map +1 -0
- package/dist/index3.js +11 -0
- package/dist/index3.js.map +1 -0
- package/dist/index30.js +10 -0
- package/dist/index30.js.map +1 -0
- package/dist/index31.js +46 -0
- package/dist/index31.js.map +1 -0
- package/dist/index32.js +273 -0
- package/dist/index32.js.map +1 -0
- package/dist/index33.js +49 -0
- package/dist/index33.js.map +1 -0
- package/dist/index34.js +16 -0
- package/dist/index34.js.map +1 -0
- package/dist/index35.js +24 -0
- package/dist/index35.js.map +1 -0
- package/dist/index36.js +61 -0
- package/dist/index36.js.map +1 -0
- package/dist/index37.js +63 -0
- package/dist/index37.js.map +1 -0
- package/dist/index38.js +12 -0
- package/dist/index38.js.map +1 -0
- package/dist/index39.js +26 -0
- package/dist/index39.js.map +1 -0
- package/dist/index4.js +9 -0
- package/dist/index4.js.map +1 -0
- package/dist/index40.js +55 -0
- package/dist/index40.js.map +1 -0
- package/dist/index41.js +48 -0
- package/dist/index41.js.map +1 -0
- package/dist/index42.js +6 -0
- package/dist/index42.js.map +1 -0
- package/dist/index43.js +13 -0
- package/dist/index43.js.map +1 -0
- package/dist/index44.js +10 -0
- package/dist/index44.js.map +1 -0
- package/dist/index45.js +40 -0
- package/dist/index45.js.map +1 -0
- package/dist/index46.js +71 -0
- package/dist/index46.js.map +1 -0
- package/dist/index47.js +10 -0
- package/dist/index47.js.map +1 -0
- package/dist/index48.js +44 -0
- package/dist/index48.js.map +1 -0
- package/dist/index49.js +117 -0
- package/dist/index49.js.map +1 -0
- package/dist/index5.js +6 -0
- package/dist/index5.js.map +1 -0
- package/dist/index50.js +14 -0
- package/dist/index50.js.map +1 -0
- package/dist/index51.js +16 -0
- package/dist/index51.js.map +1 -0
- package/dist/index52.js +28 -0
- package/dist/index52.js.map +1 -0
- package/dist/index53.js +36 -0
- package/dist/index53.js.map +1 -0
- package/dist/index54.js +25 -0
- package/dist/index54.js.map +1 -0
- package/dist/index55.js +44 -0
- package/dist/index55.js.map +1 -0
- package/dist/index56.js +160 -0
- package/dist/index56.js.map +1 -0
- package/dist/index57.js +77 -0
- package/dist/index57.js.map +1 -0
- package/dist/index58.js +14 -0
- package/dist/index58.js.map +1 -0
- package/dist/index59.js +38 -0
- package/dist/index59.js.map +1 -0
- package/dist/index6.js +14 -0
- package/dist/index6.js.map +1 -0
- package/dist/index60.js +15 -0
- package/dist/index60.js.map +1 -0
- package/dist/index61.js +12 -0
- package/dist/index61.js.map +1 -0
- package/dist/index62.js +19 -0
- package/dist/index62.js.map +1 -0
- package/dist/index63.js +20 -0
- package/dist/index63.js.map +1 -0
- package/dist/index64.js +24 -0
- package/dist/index64.js.map +1 -0
- package/dist/index65.js +12 -0
- package/dist/index65.js.map +1 -0
- package/dist/index66.js +25 -0
- package/dist/index66.js.map +1 -0
- package/dist/index67.js +16 -0
- package/dist/index67.js.map +1 -0
- package/dist/index68.js +130 -0
- package/dist/index68.js.map +1 -0
- package/dist/index69.js +32 -0
- package/dist/index69.js.map +1 -0
- package/dist/index7.js +41 -0
- package/dist/index7.js.map +1 -0
- package/dist/index70.js +8 -0
- package/dist/index70.js.map +1 -0
- package/dist/index71.js +122 -0
- package/dist/index71.js.map +1 -0
- package/dist/index72.js +35 -0
- package/dist/index72.js.map +1 -0
- package/dist/index73.js +14 -0
- package/dist/index73.js.map +1 -0
- package/dist/index74.js +13 -0
- package/dist/index74.js.map +1 -0
- package/dist/index75.js +42 -0
- package/dist/index75.js.map +1 -0
- package/dist/index76.js +66 -0
- package/dist/index76.js.map +1 -0
- package/dist/index77.js +10 -0
- package/dist/index77.js.map +1 -0
- package/dist/index78.js +17 -0
- package/dist/index78.js.map +1 -0
- package/dist/index79.js +9 -0
- package/dist/index79.js.map +1 -0
- package/dist/index8.js +6 -0
- package/dist/index8.js.map +1 -0
- package/dist/index80.js +21 -0
- package/dist/index80.js.map +1 -0
- package/dist/index81.js +21 -0
- package/dist/index81.js.map +1 -0
- package/dist/index82.js +21 -0
- package/dist/index82.js.map +1 -0
- package/dist/index83.js +21 -0
- package/dist/index83.js.map +1 -0
- package/dist/index84.js +21 -0
- package/dist/index84.js.map +1 -0
- package/dist/index85.js +21 -0
- package/dist/index85.js.map +1 -0
- package/dist/index86.js +21 -0
- package/dist/index86.js.map +1 -0
- package/dist/index87.js +219 -0
- package/dist/index87.js.map +1 -0
- package/dist/index88.js +12 -0
- package/dist/index88.js.map +1 -0
- package/dist/index89.js +15 -0
- package/dist/index89.js.map +1 -0
- package/dist/index9.js +39 -0
- package/dist/index9.js.map +1 -0
- package/dist/index90.js +55 -0
- package/dist/index90.js.map +1 -0
- package/dist/index91.js +38 -0
- package/dist/index91.js.map +1 -0
- package/dist/index92.js +52 -0
- package/dist/index92.js.map +1 -0
- package/dist/index93.js +12 -0
- package/dist/index93.js.map +1 -0
- package/dist/index94.js +15 -0
- package/dist/index94.js.map +1 -0
- package/dist/index95.js +28 -0
- package/dist/index95.js.map +1 -0
- package/dist/index96.js +111 -0
- package/dist/index96.js.map +1 -0
- package/dist/index97.js +9 -0
- package/dist/index97.js.map +1 -0
- package/dist/index98.js +38 -0
- package/dist/index98.js.map +1 -0
- package/dist/index99.js +8 -0
- package/dist/index99.js.map +1 -0
- package/package.json +88 -0
package/dist/index49.js
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import e from "./index43.js";
|
|
2
|
+
import { iterateBreakpoints as t } from "./index46.js";
|
|
3
|
+
import { getPath as n } from "./index48.js";
|
|
4
|
+
//#region node_modules/@mui/system/spacing/spacing.mjs
|
|
5
|
+
var r = { internal_cache: {} }, i = {
|
|
6
|
+
m: "margin",
|
|
7
|
+
p: "padding"
|
|
8
|
+
}, a = {
|
|
9
|
+
t: "Top",
|
|
10
|
+
r: "Right",
|
|
11
|
+
b: "Bottom",
|
|
12
|
+
l: "Left",
|
|
13
|
+
x: ["Left", "Right"],
|
|
14
|
+
y: ["Top", "Bottom"]
|
|
15
|
+
}, o = {
|
|
16
|
+
marginX: "mx",
|
|
17
|
+
marginY: "my",
|
|
18
|
+
paddingX: "px",
|
|
19
|
+
paddingY: "py"
|
|
20
|
+
}, s = {};
|
|
21
|
+
for (let e in i) s[e] = [i[e]];
|
|
22
|
+
for (let e in i) for (let t in a) {
|
|
23
|
+
let n = i[e], r = a[t], o = Array.isArray(r) ? r.map((e) => n + e) : [n + r];
|
|
24
|
+
s[e + t] = o;
|
|
25
|
+
}
|
|
26
|
+
for (let e in o) s[e] = s[o[e]];
|
|
27
|
+
var c = /* @__PURE__ */ new Set([
|
|
28
|
+
"m",
|
|
29
|
+
"mt",
|
|
30
|
+
"mr",
|
|
31
|
+
"mb",
|
|
32
|
+
"ml",
|
|
33
|
+
"mx",
|
|
34
|
+
"my",
|
|
35
|
+
"margin",
|
|
36
|
+
"marginTop",
|
|
37
|
+
"marginRight",
|
|
38
|
+
"marginBottom",
|
|
39
|
+
"marginLeft",
|
|
40
|
+
"marginX",
|
|
41
|
+
"marginY",
|
|
42
|
+
"marginInline",
|
|
43
|
+
"marginInlineStart",
|
|
44
|
+
"marginInlineEnd",
|
|
45
|
+
"marginBlock",
|
|
46
|
+
"marginBlockStart",
|
|
47
|
+
"marginBlockEnd"
|
|
48
|
+
]), l = /* @__PURE__ */ new Set([
|
|
49
|
+
"p",
|
|
50
|
+
"pt",
|
|
51
|
+
"pr",
|
|
52
|
+
"pb",
|
|
53
|
+
"pl",
|
|
54
|
+
"px",
|
|
55
|
+
"py",
|
|
56
|
+
"padding",
|
|
57
|
+
"paddingTop",
|
|
58
|
+
"paddingRight",
|
|
59
|
+
"paddingBottom",
|
|
60
|
+
"paddingLeft",
|
|
61
|
+
"paddingX",
|
|
62
|
+
"paddingY",
|
|
63
|
+
"paddingInline",
|
|
64
|
+
"paddingInlineStart",
|
|
65
|
+
"paddingInlineEnd",
|
|
66
|
+
"paddingBlock",
|
|
67
|
+
"paddingBlockStart",
|
|
68
|
+
"paddingBlockEnd"
|
|
69
|
+
]), u = /* @__PURE__ */ new Set([...c, ...l]);
|
|
70
|
+
function d(e, t, r, i) {
|
|
71
|
+
let a = n(e, t, !0) ?? r;
|
|
72
|
+
return typeof a == "number" || typeof a == "string" ? (e) => typeof e == "string" ? e : (process.env.NODE_ENV !== "production" && typeof e != "number" && console.error(`MUI: Expected ${i} argument to be a number or a string, got ${e}.`), typeof a == "string" ? a.startsWith("var(") && e === 0 ? 0 : a.startsWith("var(") && e === 1 ? a : `calc(${e} * ${a})` : a * e) : Array.isArray(a) ? (e) => {
|
|
73
|
+
if (typeof e == "string") return e;
|
|
74
|
+
let n = Math.abs(e);
|
|
75
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(n) ? n > a.length - 1 && console.error([
|
|
76
|
+
`MUI: The value provided (${n}) overflows.`,
|
|
77
|
+
`The supported values are: ${JSON.stringify(a)}.`,
|
|
78
|
+
`${n} > ${a.length - 1}, you need to add the missing values.`
|
|
79
|
+
].join("\n")) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n")));
|
|
80
|
+
let r = a[n];
|
|
81
|
+
return e >= 0 ? r : typeof r == "number" ? -r : typeof r == "string" && r.startsWith("var(") ? `calc(-1 * ${r})` : `-${r}`;
|
|
82
|
+
} : typeof a == "function" ? a : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`, "It should be a number, an array or a function."].join("\n")), () => void 0);
|
|
83
|
+
}
|
|
84
|
+
function f(e) {
|
|
85
|
+
return d(e, "spacing", 8, "spacing");
|
|
86
|
+
}
|
|
87
|
+
function p(e, t) {
|
|
88
|
+
return typeof t == "string" || t == null ? t : e(t);
|
|
89
|
+
}
|
|
90
|
+
var m = [""];
|
|
91
|
+
function h(e, n) {
|
|
92
|
+
let i = e.theme ?? r, a = i?.internal_cache?.unarySpacing ?? f(i), o = {};
|
|
93
|
+
for (let r in e) {
|
|
94
|
+
if (!n.has(r)) continue;
|
|
95
|
+
let i = s[r] ?? (m[0] = r, m), c = e[r];
|
|
96
|
+
t(o, e.theme, c, (e, t) => {
|
|
97
|
+
let n = e ? o[e] : o;
|
|
98
|
+
for (let e = 0; e < i.length; e += 1) n[i[e]] = p(a, t);
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
return o;
|
|
102
|
+
}
|
|
103
|
+
function g(e) {
|
|
104
|
+
return h(e, c);
|
|
105
|
+
}
|
|
106
|
+
g.propTypes = process.env.NODE_ENV === "production" ? {} : Array.from(c).reduce((t, n) => (t[n] = e, t), {}), g.filterProps = c;
|
|
107
|
+
var _ = g;
|
|
108
|
+
function v(e) {
|
|
109
|
+
return h(e, l);
|
|
110
|
+
}
|
|
111
|
+
v.propTypes = process.env.NODE_ENV === "production" ? {} : Array.from(l).reduce((t, n) => (t[n] = e, t), {}), v.filterProps = l;
|
|
112
|
+
var y = v;
|
|
113
|
+
process.env.NODE_ENV === "production" || Array.from(u).reduce((t, n) => (t[n] = e, t), {});
|
|
114
|
+
//#endregion
|
|
115
|
+
export { f as createUnarySpacing, d as createUnaryUnit, p as getValue, _ as margin, c as marginKeys, y as padding, l as paddingKeys };
|
|
116
|
+
|
|
117
|
+
//# sourceMappingURL=index49.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index49.js","names":[],"sources":["../node_modules/@mui/system/spacing/spacing.mjs"],"sourcesContent":["import responsivePropType from \"../responsivePropType/index.mjs\";\nimport { iterateBreakpoints } from \"../breakpoints/index.mjs\";\nimport { getPath } from \"../style/index.mjs\";\n\n/* eslint-disable guard-for-in */\n\nconst EMPTY_THEME = {\n internal_cache: {}\n};\nconst properties = {\n m: 'margin',\n p: 'padding'\n};\nconst directions = {\n t: 'Top',\n r: 'Right',\n b: 'Bottom',\n l: 'Left',\n x: ['Left', 'Right'],\n y: ['Top', 'Bottom']\n};\nconst aliases = {\n marginX: 'mx',\n marginY: 'my',\n paddingX: 'px',\n paddingY: 'py'\n};\nconst CSS_PROPERTIES = {};\nfor (const key in properties) {\n CSS_PROPERTIES[key] = [properties[key]];\n}\nfor (const keyProperty in properties) {\n for (const keyDirection in directions) {\n const property = properties[keyProperty];\n const direction = directions[keyDirection];\n const value = Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];\n CSS_PROPERTIES[keyProperty + keyDirection] = value;\n }\n}\nfor (const key in aliases) {\n CSS_PROPERTIES[key] = CSS_PROPERTIES[aliases[key]];\n}\n\n/** @internal */\nexport const marginKeys = new Set(['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd']);\n\n/** @internal */\nexport const paddingKeys = new Set(['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd']);\nconst spacingKeys = new Set([...marginKeys, ...paddingKeys]);\nexport function createUnaryUnit(theme, themeKey, defaultValue, propName) {\n const themeSpacing = getPath(theme, themeKey, true) ?? defaultValue;\n if (typeof themeSpacing === 'number' || typeof themeSpacing === 'string') {\n return val => {\n if (typeof val === 'string') {\n return val;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (typeof val !== 'number') {\n console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${val}.`);\n }\n }\n if (typeof themeSpacing === 'string') {\n if (themeSpacing.startsWith('var(') && val === 0) {\n return 0;\n }\n if (themeSpacing.startsWith('var(') && val === 1) {\n return themeSpacing;\n }\n return `calc(${val} * ${themeSpacing})`;\n }\n return themeSpacing * val;\n };\n }\n if (Array.isArray(themeSpacing)) {\n return val => {\n if (typeof val === 'string') {\n return val;\n }\n const abs = Math.abs(val);\n if (process.env.NODE_ENV !== 'production') {\n if (!Number.isInteger(abs)) {\n console.error([`MUI: The \\`theme.${themeKey}\\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \\`theme.${themeKey}\\` as a number.`].join('\\n'));\n } else if (abs > themeSpacing.length - 1) {\n console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\\n'));\n }\n }\n const transformed = themeSpacing[abs];\n if (val >= 0) {\n return transformed;\n }\n if (typeof transformed === 'number') {\n return -transformed;\n }\n if (typeof transformed === 'string' && transformed.startsWith('var(')) {\n return `calc(-1 * ${transformed})`;\n }\n return `-${transformed}`;\n };\n }\n if (typeof themeSpacing === 'function') {\n return themeSpacing;\n }\n if (process.env.NODE_ENV !== 'production') {\n console.error([`MUI: The \\`theme.${themeKey}\\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\\n'));\n }\n return () => undefined;\n}\nexport function createUnarySpacing(theme) {\n return createUnaryUnit(theme, 'spacing', 8, 'spacing');\n}\nexport function getValue(transformer, propValue) {\n if (typeof propValue === 'string' || propValue == null) {\n return propValue;\n }\n return transformer(propValue);\n}\n\n// Avoid allocations\nconst container = [''];\nfunction style(props, keys) {\n const theme = props.theme ?? EMPTY_THEME;\n const transformer = theme?.internal_cache?.unarySpacing ?? createUnarySpacing(theme);\n const result = {};\n for (const prop in props) {\n if (!keys.has(prop)) {\n continue;\n }\n const cssProperties = CSS_PROPERTIES[prop] ?? (container[0] = prop, container);\n const propValue = props[prop];\n iterateBreakpoints(result, props.theme, propValue, (mediaKey, value) => {\n const target = mediaKey ? result[mediaKey] : result;\n for (let i = 0; i < cssProperties.length; i += 1) {\n target[cssProperties[i]] = getValue(transformer, value);\n }\n });\n }\n return result;\n}\nfunction marginFn(props) {\n return style(props, marginKeys);\n}\nmarginFn.propTypes = process.env.NODE_ENV !== 'production' ? Array.from(marginKeys).reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nmarginFn.filterProps = marginKeys;\nexport const margin = marginFn;\nfunction paddingFn(props) {\n return style(props, paddingKeys);\n}\npaddingFn.propTypes = process.env.NODE_ENV !== 'production' ? Array.from(paddingKeys).reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\npaddingFn.filterProps = paddingKeys;\nexport const padding = paddingFn;\nfunction spacingFn(props) {\n return style(props, spacingKeys);\n}\nspacingFn.propTypes = process.env.NODE_ENV !== 'production' ? Array.from(spacingKeys).reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nspacingFn.filterProps = spacingKeys;\nconst spacing = spacingFn;\nexport default spacing;"],"x_google_ignoreList":[0],"mappings":";;;;AAMA,IAAM,IAAc,EAClB,gBAAgB,CAAC,EACnB,GACM,IAAa;CACjB,GAAG;CACH,GAAG;AACL,GACM,IAAa;CACjB,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG,CAAC,QAAQ,OAAO;CACnB,GAAG,CAAC,OAAO,QAAQ;AACrB,GACM,IAAU;CACd,SAAS;CACT,SAAS;CACT,UAAU;CACV,UAAU;AACZ,GACM,IAAiB,CAAC;AACxB,KAAK,IAAM,KAAO,GAChB,EAAe,KAAO,CAAC,EAAW,EAAI;AAExC,KAAK,IAAM,KAAe,GACxB,KAAK,IAAM,KAAgB,GAAY;CACrC,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,GAAa,CAAK;EAE1D,CAAC;CACH;CACA,OAAO;AACT;AACA,SAAS,EAAS,GAAO;CACvB,OAAO,EAAM,GAAO,CAAU;AAChC;AACA,EAAS,YAAA,QAAA,IAAA,aAAqC,eAGrC,CAAC,IAHmD,MAAM,KAAK,CAAU,CAAC,CAAC,QAAQ,GAAK,OAC/F,EAAI,KAAO,GACJ,IACN,CAAC,CAAC,GACL,EAAS,cAAc;AACvB,IAAa,IAAS;AACtB,SAAS,EAAU,GAAO;CACxB,OAAO,EAAM,GAAO,CAAW;AACjC;AACA,EAAU,YAAA,QAAA,IAAA,aAAqC,eAGtC,CAAC,IAHoD,MAAM,KAAK,CAAW,CAAC,CAAC,QAAQ,GAAK,OACjG,EAAI,KAAO,GACJ,IACN,CAAC,CAAC,GACL,EAAU,cAAc;AACxB,IAAa,IAAU;AAIb,QAAA,IAAA,aAAqC,gBAAe,MAAM,KAAK,CAAW,CAAC,CAAC,QAAQ,GAAK,OACjG,EAAI,KAAO,GACJ,IACN,CAAC,CAAC"}
|
package/dist/index5.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index5.js","names":[],"sources":["../node_modules/@mui/material/styles/identifier.mjs"],"sourcesContent":["export default '$$material';"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAA,IAAe"}
|
package/dist/index50.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createUnarySpacing as e } from "./index49.js";
|
|
2
|
+
//#region node_modules/@mui/system/createTheme/createSpacing.mjs
|
|
3
|
+
function t(t = 8, n = e({ spacing: t })) {
|
|
4
|
+
if (t.mui) return t;
|
|
5
|
+
let r = (...e) => (process.env.NODE_ENV !== "production" && (e.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)), (e.length === 0 ? [1] : e).map((e) => {
|
|
6
|
+
let t = n(e);
|
|
7
|
+
return typeof t == "number" ? `${t}px` : t;
|
|
8
|
+
}).join(" "));
|
|
9
|
+
return r.mui = !0, r;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { t as default };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=index50.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index50.js","names":[],"sources":["../node_modules/@mui/system/createTheme/createSpacing.mjs"],"sourcesContent":["import { createUnarySpacing } from \"../spacing/index.mjs\";\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8,\n// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n// Smaller components, such as icons, can align to a 4dp grid.\n// https://m2.material.io/design/layout/understanding-layout.html\ntransform = createUnarySpacing({\n spacing: spacingInput\n})) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}"],"x_google_ignoreList":[0],"mappings":";;AAKA,SAAwB,EAAc,IAAe,GAIrD,IAAY,EAAmB,EAC7B,SAAS,EACX,CAAC,GAAG;CAEF,IAAI,EAAa,KACf,OAAO;CAET,IAAM,KAAW,GAAG,OAClB,QAAA,IAAA,aAA6B,iBACrB,EAAU,UAAU,KACxB,QAAQ,MAAM,mEAAmE,EAAU,QAAQ,KAG1F,EAAU,WAAW,IAAI,CAAC,CAAC,IAAI,EAAA,CAChC,KAAI,MAAY;EAC1B,IAAM,IAAS,EAAU,CAAQ;EACjC,OAAO,OAAO,KAAW,WAAW,GAAG,EAAO,MAAM;CACtD,CAAC,CAAC,CAAC,KAAK,GAAG;CAGb,OADA,EAAQ,MAAM,IACP;AACT"}
|
package/dist/index51.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "./index45.js";
|
|
2
|
+
//#region node_modules/@mui/system/compose/compose.mjs
|
|
3
|
+
function t(...t) {
|
|
4
|
+
let n = t.reduce((e, t) => (t.filterProps.forEach((n) => {
|
|
5
|
+
e[n] = t;
|
|
6
|
+
}), e), {}), r = (t) => {
|
|
7
|
+
let r = {};
|
|
8
|
+
for (let i in t) n[i] && e(r, n[i](t));
|
|
9
|
+
return r;
|
|
10
|
+
};
|
|
11
|
+
return r.propTypes = process.env.NODE_ENV === "production" ? {} : t.reduce((e, t) => Object.assign(e, t.propTypes), {}), r.filterProps = t.reduce((e, t) => e.concat(t.filterProps), []), r;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { t as default };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=index51.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index51.js","names":[],"sources":["../node_modules/@mui/system/compose/compose.mjs"],"sourcesContent":["import fastDeepAssign from '@mui/utils/fastDeepAssign';\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n const fn = props => {\n const result = {};\n for (const prop in props) {\n if (handlers[prop]) {\n fastDeepAssign(result, handlers[prop](props));\n }\n }\n return result;\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;"],"x_google_ignoreList":[0],"mappings":";;AACA,SAAS,EAAQ,GAAG,GAAQ;CAC1B,IAAM,IAAW,EAAO,QAAQ,GAAK,OACnC,EAAM,YAAY,SAAQ,MAAQ;EAChC,EAAI,KAAQ;CACd,CAAC,GACM,IACN,CAAC,CAAC,GACC,KAAK,MAAS;EAClB,IAAM,IAAS,CAAC;EAChB,KAAK,IAAM,KAAQ,GACjB,AAAI,EAAS,MACX,EAAe,GAAQ,EAAS,EAAK,CAAC,CAAK,CAAC;EAGhD,OAAO;CACT;CAGA,OAFA,EAAG,YAAA,QAAA,IAAA,aAAqC,eAAwF,CAAC,IAA1E,EAAO,QAAQ,GAAK,MAAU,OAAO,OAAO,GAAK,EAAM,SAAS,GAAG,CAAC,CAAC,GAC5H,EAAG,cAAc,EAAO,QAAQ,GAAK,MAAU,EAAI,OAAO,EAAM,WAAW,GAAG,CAAC,CAAC,GACzE;AACT"}
|
package/dist/index52.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import e from "./index43.js";
|
|
2
|
+
import { handleBreakpoints as t } from "./index46.js";
|
|
3
|
+
import n from "./index48.js";
|
|
4
|
+
import { createUnaryUnit as r, getValue as i } from "./index49.js";
|
|
5
|
+
import a from "./index51.js";
|
|
6
|
+
//#region node_modules/@mui/system/borders/borders.mjs
|
|
7
|
+
function o(e) {
|
|
8
|
+
return typeof e == "number" ? `${e}px solid` : e;
|
|
9
|
+
}
|
|
10
|
+
function s(e, t) {
|
|
11
|
+
return n({
|
|
12
|
+
prop: e,
|
|
13
|
+
themeKey: "borders",
|
|
14
|
+
transform: t
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
var c = s("border", o), l = s("borderTop", o), u = s("borderRight", o), d = s("borderBottom", o), f = s("borderLeft", o), p = s("borderColor"), m = s("borderTopColor"), h = s("borderRightColor"), g = s("borderBottomColor"), _ = s("borderLeftColor"), v = s("outline", o), y = s("outlineColor"), b = (e) => {
|
|
18
|
+
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
19
|
+
let n = r(e.theme, "shape.borderRadius", 4, "borderRadius");
|
|
20
|
+
return t(e, e.borderRadius, (e) => ({ borderRadius: i(n, e) }));
|
|
21
|
+
}
|
|
22
|
+
return null;
|
|
23
|
+
};
|
|
24
|
+
b.propTypes = process.env.NODE_ENV === "production" ? {} : { borderRadius: e }, b.filterProps = ["borderRadius"], a(c, l, u, d, f, p, m, h, g, _, b, v, y);
|
|
25
|
+
//#endregion
|
|
26
|
+
export { c as border, d as borderBottom, g as borderBottomColor, p as borderColor, f as borderLeft, _ as borderLeftColor, b as borderRadius, u as borderRight, h as borderRightColor, l as borderTop, m as borderTopColor, o as borderTransform, v as outline, y as outlineColor };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=index52.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index52.js","names":[],"sources":["../node_modules/@mui/system/borders/borders.mjs"],"sourcesContent":["import responsivePropType from \"../responsivePropType/index.mjs\";\nimport style from \"../style/index.mjs\";\nimport compose from \"../compose/index.mjs\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.mjs\";\nimport { handleBreakpoints } from \"../breakpoints/index.mjs\";\n\n/** @internal */\nexport function borderTransform(value) {\n if (typeof value !== 'number') {\n return value;\n }\n return `${value}px solid`;\n}\nfunction createBorderStyle(prop, transform) {\n return style({\n prop,\n themeKey: 'borders',\n transform: transform\n });\n}\nexport const border = createBorderStyle('border', borderTransform);\nexport const borderTop = createBorderStyle('borderTop', borderTransform);\nexport const borderRight = createBorderStyle('borderRight', borderTransform);\nexport const borderBottom = createBorderStyle('borderBottom', borderTransform);\nexport const borderLeft = createBorderStyle('borderLeft', borderTransform);\nexport const borderColor = createBorderStyle('borderColor');\nexport const borderTopColor = createBorderStyle('borderTopColor');\nexport const borderRightColor = createBorderStyle('borderRightColor');\nexport const borderBottomColor = createBorderStyle('borderBottomColor');\nexport const borderLeftColor = createBorderStyle('borderLeftColor');\nexport const outline = createBorderStyle('outline', borderTransform);\nexport const outlineColor = createBorderStyle('outlineColor');\nexport const borderRadius = props => {\n if (props.borderRadius !== undefined && props.borderRadius !== null) {\n const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');\n const styleFromPropValue = propValue => ({\n borderRadius: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.borderRadius, styleFromPropValue);\n }\n return null;\n};\nborderRadius.propTypes = process.env.NODE_ENV !== 'production' ? {\n borderRadius: responsivePropType\n} : {};\nborderRadius.filterProps = ['borderRadius'];\nconst borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);\nexport default borders;"],"x_google_ignoreList":[0],"mappings":";;;;;;AAOA,SAAgB,EAAgB,GAAO;CAIrC,OAHI,OAAO,KAAU,WAGd,GAAG,EAAM,YAFP;AAGX;AACA,SAAS,EAAkB,GAAM,GAAW;CAC1C,OAAO,EAAM;EACX;EACA,UAAU;EACC;CACb,CAAC;AACH;AACA,IAAa,IAAS,EAAkB,UAAU,CAAe,GACpD,IAAY,EAAkB,aAAa,CAAe,GAC1D,IAAc,EAAkB,eAAe,CAAe,GAC9D,IAAe,EAAkB,gBAAgB,CAAe,GAChE,IAAa,EAAkB,cAAc,CAAe,GAC5D,IAAc,EAAkB,aAAa,GAC7C,IAAiB,EAAkB,gBAAgB,GACnD,IAAmB,EAAkB,kBAAkB,GACvD,IAAoB,EAAkB,mBAAmB,GACzD,IAAkB,EAAkB,iBAAiB,GACrD,IAAU,EAAkB,WAAW,CAAe,GACtD,IAAe,EAAkB,cAAc,GAC/C,KAAe,MAAS;CACnC,IAAI,EAAM,iBAAiB,KAAA,KAAa,EAAM,iBAAiB,MAAM;EACnE,IAAM,IAAc,EAAgB,EAAM,OAAO,sBAAsB,GAAG,cAAc;EAIxF,OAAO,EAAkB,GAAO,EAAM,eAHX,OAAc,EACvC,cAAc,EAAS,GAAa,CAAS,EAC/C,EACsE;CACxE;CACA,OAAO;AACT;AACA,EAAa,YAAA,QAAA,IAAA,aAAqC,eAE9C,CAAC,IAF4D,EAC/D,cAAc,EAChB,GACA,EAAa,cAAc,CAAC,cAAc,GAC1B,EAAQ,GAAQ,GAAW,GAAa,GAAc,GAAY,GAAa,GAAgB,GAAkB,GAAmB,GAAiB,GAAc,GAAS,CAAY"}
|
package/dist/index53.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import e from "./index43.js";
|
|
2
|
+
import { handleBreakpoints as t } from "./index46.js";
|
|
3
|
+
import n from "./index48.js";
|
|
4
|
+
import { createUnaryUnit as r, getValue as i } from "./index49.js";
|
|
5
|
+
import a from "./index51.js";
|
|
6
|
+
//#region node_modules/@mui/system/cssGrid/cssGrid.mjs
|
|
7
|
+
var o = (e) => {
|
|
8
|
+
if (e.gap !== void 0 && e.gap !== null) {
|
|
9
|
+
let n = r(e.theme, "spacing", 8, "gap");
|
|
10
|
+
return t(e, e.gap, (e) => ({ gap: i(n, e) }));
|
|
11
|
+
}
|
|
12
|
+
return null;
|
|
13
|
+
};
|
|
14
|
+
o.propTypes = process.env.NODE_ENV === "production" ? {} : { gap: e }, o.filterProps = ["gap"];
|
|
15
|
+
var s = (e) => {
|
|
16
|
+
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
17
|
+
let n = r(e.theme, "spacing", 8, "columnGap");
|
|
18
|
+
return t(e, e.columnGap, (e) => ({ columnGap: i(n, e) }));
|
|
19
|
+
}
|
|
20
|
+
return null;
|
|
21
|
+
};
|
|
22
|
+
s.propTypes = process.env.NODE_ENV === "production" ? {} : { columnGap: e }, s.filterProps = ["columnGap"];
|
|
23
|
+
var c = (e) => {
|
|
24
|
+
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
25
|
+
let n = r(e.theme, "spacing", 8, "rowGap");
|
|
26
|
+
return t(e, e.rowGap, (e) => ({ rowGap: i(n, e) }));
|
|
27
|
+
}
|
|
28
|
+
return null;
|
|
29
|
+
};
|
|
30
|
+
c.propTypes = process.env.NODE_ENV === "production" ? {} : { rowGap: e }, c.filterProps = ["rowGap"];
|
|
31
|
+
var l = n({ prop: "gridColumn" }), u = n({ prop: "gridRow" }), d = n({ prop: "gridAutoFlow" }), f = n({ prop: "gridAutoColumns" }), p = n({ prop: "gridAutoRows" }), m = n({ prop: "gridTemplateColumns" }), h = n({ prop: "gridTemplateRows" }), g = n({ prop: "gridTemplateAreas" }), _ = n({ prop: "gridArea" });
|
|
32
|
+
a(o, s, c, l, u, d, f, p, m, h, g, _);
|
|
33
|
+
//#endregion
|
|
34
|
+
export { s as columnGap, o as gap, _ as gridArea, f as gridAutoColumns, d as gridAutoFlow, p as gridAutoRows, l as gridColumn, u as gridRow, g as gridTemplateAreas, m as gridTemplateColumns, h as gridTemplateRows, c as rowGap };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=index53.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index53.js","names":[],"sources":["../node_modules/@mui/system/cssGrid/cssGrid.mjs"],"sourcesContent":["import style from \"../style/index.mjs\";\nimport compose from \"../compose/index.mjs\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.mjs\";\nimport { handleBreakpoints } from \"../breakpoints/index.mjs\";\nimport responsivePropType from \"../responsivePropType/index.mjs\";\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;"],"x_google_ignoreList":[0],"mappings":";;;;;;AAKA,IAAa,KAAM,MAAS;CAC1B,IAAI,EAAM,QAAQ,KAAA,KAAa,EAAM,QAAQ,MAAM;EACjD,IAAM,IAAc,EAAgB,EAAM,OAAO,WAAW,GAAG,KAAK;EAIpE,OAAO,EAAkB,GAAO,EAAM,MAHX,OAAc,EACvC,KAAK,EAAS,GAAa,CAAS,EACtC,EAC6D;CAC/D;CACA,OAAO;AACT;AACA,EAAI,YAAA,QAAA,IAAA,aAAqC,eAErC,CAAC,IAFmD,EACtD,KAAK,EACP,GACA,EAAI,cAAc,CAAC,KAAK;AACxB,IAAa,KAAY,MAAS;CAChC,IAAI,EAAM,cAAc,KAAA,KAAa,EAAM,cAAc,MAAM;EAC7D,IAAM,IAAc,EAAgB,EAAM,OAAO,WAAW,GAAG,WAAW;EAI1E,OAAO,EAAkB,GAAO,EAAM,YAHX,OAAc,EACvC,WAAW,EAAS,GAAa,CAAS,EAC5C,EACmE;CACrE;CACA,OAAO;AACT;AACA,EAAU,YAAA,QAAA,IAAA,aAAqC,eAE3C,CAAC,IAFyD,EAC5D,WAAW,EACb,GACA,EAAU,cAAc,CAAC,WAAW;AACpC,IAAa,KAAS,MAAS;CAC7B,IAAI,EAAM,WAAW,KAAA,KAAa,EAAM,WAAW,MAAM;EACvD,IAAM,IAAc,EAAgB,EAAM,OAAO,WAAW,GAAG,QAAQ;EAIvE,OAAO,EAAkB,GAAO,EAAM,SAHX,OAAc,EACvC,QAAQ,EAAS,GAAa,CAAS,EACzC,EACgE;CAClE;CACA,OAAO;AACT;AACA,EAAO,YAAA,QAAA,IAAA,aAAqC,eAExC,CAAC,IAFsD,EACzD,QAAQ,EACV,GACA,EAAO,cAAc,CAAC,QAAQ;AAC9B,IAAa,IAAa,EAAM,EAC9B,MAAM,aACR,CAAC,GACY,IAAU,EAAM,EAC3B,MAAM,UACR,CAAC,GACY,IAAe,EAAM,EAChC,MAAM,eACR,CAAC,GACY,IAAkB,EAAM,EACnC,MAAM,kBACR,CAAC,GACY,IAAe,EAAM,EAChC,MAAM,eACR,CAAC,GACY,IAAsB,EAAM,EACvC,MAAM,sBACR,CAAC,GACY,IAAmB,EAAM,EACpC,MAAM,mBACR,CAAC,GACY,IAAoB,EAAM,EACrC,MAAM,oBACR,CAAC,GACY,IAAW,EAAM,EAC5B,MAAM,WACR,CAAC;AACY,EAAQ,GAAK,GAAW,GAAQ,GAAY,GAAS,GAAc,GAAiB,GAAc,GAAqB,GAAkB,GAAmB,CAAQ"}
|
package/dist/index54.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import e from "./index48.js";
|
|
2
|
+
import t from "./index51.js";
|
|
3
|
+
//#region node_modules/@mui/system/palette/palette.mjs
|
|
4
|
+
function n(e, t) {
|
|
5
|
+
return t === "grey" ? t : e;
|
|
6
|
+
}
|
|
7
|
+
var r = e({
|
|
8
|
+
prop: "color",
|
|
9
|
+
themeKey: "palette",
|
|
10
|
+
transform: n
|
|
11
|
+
}), i = e({
|
|
12
|
+
prop: "bgcolor",
|
|
13
|
+
cssProperty: "backgroundColor",
|
|
14
|
+
themeKey: "palette",
|
|
15
|
+
transform: n
|
|
16
|
+
}), a = e({
|
|
17
|
+
prop: "backgroundColor",
|
|
18
|
+
themeKey: "palette",
|
|
19
|
+
transform: n
|
|
20
|
+
});
|
|
21
|
+
t(r, i, a);
|
|
22
|
+
//#endregion
|
|
23
|
+
export { a as backgroundColor, i as bgcolor, r as color, n as paletteTransform };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=index54.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index54.js","names":[],"sources":["../node_modules/@mui/system/palette/palette.mjs"],"sourcesContent":["import style from \"../style/index.mjs\";\nimport compose from \"../compose/index.mjs\";\n\n/** @internal */\nexport function paletteTransform(value, userValue) {\n if (userValue === 'grey') {\n return userValue;\n }\n return value;\n}\nexport const color = style({\n prop: 'color',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const bgcolor = style({\n prop: 'bgcolor',\n cssProperty: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const backgroundColor = style({\n prop: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nconst palette = compose(color, bgcolor, backgroundColor);\nexport default palette;"],"x_google_ignoreList":[0],"mappings":";;;AAIA,SAAgB,EAAiB,GAAO,GAAW;CAIjD,OAHI,MAAc,SACT,IAEF;AACT;AACA,IAAa,IAAQ,EAAM;CACzB,MAAM;CACN,UAAU;CACV,WAAW;AACb,CAAC,GACY,IAAU,EAAM;CAC3B,MAAM;CACN,aAAa;CACb,UAAU;CACV,WAAW;AACb,CAAC,GACY,IAAkB,EAAM;CACnC,MAAM;CACN,UAAU;CACV,WAAW;AACb,CAAC;AACe,EAAQ,GAAO,GAAS,CAAe"}
|
package/dist/index55.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { handleBreakpoints as e, values as t } from "./index46.js";
|
|
2
|
+
import n from "./index48.js";
|
|
3
|
+
import r from "./index51.js";
|
|
4
|
+
//#region node_modules/@mui/system/sizing/sizing.mjs
|
|
5
|
+
var i = t;
|
|
6
|
+
function a(e) {
|
|
7
|
+
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
8
|
+
}
|
|
9
|
+
var o = n({
|
|
10
|
+
prop: "width",
|
|
11
|
+
transform: a
|
|
12
|
+
}), s = (t) => t.maxWidth !== void 0 && t.maxWidth !== null ? e(t, t.maxWidth, (e) => {
|
|
13
|
+
let n = t.theme?.breakpoints?.values?.[e] || i[e];
|
|
14
|
+
return n ? t.theme?.breakpoints?.unit === "px" ? { maxWidth: n } : { maxWidth: `${n}${t.theme.breakpoints.unit}` } : { maxWidth: a(e) };
|
|
15
|
+
}) : null;
|
|
16
|
+
s.filterProps = ["maxWidth"];
|
|
17
|
+
var c = n({
|
|
18
|
+
prop: "minWidth",
|
|
19
|
+
transform: a
|
|
20
|
+
}), l = n({
|
|
21
|
+
prop: "height",
|
|
22
|
+
transform: a
|
|
23
|
+
}), u = n({
|
|
24
|
+
prop: "maxHeight",
|
|
25
|
+
transform: a
|
|
26
|
+
}), d = n({
|
|
27
|
+
prop: "minHeight",
|
|
28
|
+
transform: a
|
|
29
|
+
});
|
|
30
|
+
n({
|
|
31
|
+
prop: "size",
|
|
32
|
+
cssProperty: "width",
|
|
33
|
+
transform: a
|
|
34
|
+
}), n({
|
|
35
|
+
prop: "size",
|
|
36
|
+
cssProperty: "height",
|
|
37
|
+
transform: a
|
|
38
|
+
});
|
|
39
|
+
var f = n({ prop: "boxSizing" });
|
|
40
|
+
r(o, s, c, l, u, d, f);
|
|
41
|
+
//#endregion
|
|
42
|
+
export { f as boxSizing, l as height, u as maxHeight, s as maxWidth, d as minHeight, c as minWidth, a as sizingTransform, o as width };
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=index55.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index55.js","names":["breakpointsModule.values"],"sources":["../node_modules/@mui/system/sizing/sizing.mjs"],"sourcesContent":["import style from \"../style/index.mjs\";\nimport compose from \"../compose/index.mjs\";\nimport { handleBreakpoints } from \"../breakpoints/index.mjs\";\nimport * as breakpointsModule from \"../breakpoints/index.mjs\";\nconst breakpointsValues = breakpointsModule.values;\n\n/** @internal */\nexport function sizingTransform(value) {\n return value <= 1 && value !== 0 ? `${value * 100}%` : value;\n}\nexport const width = style({\n prop: 'width',\n transform: sizingTransform\n});\nexport const maxWidth = props => {\n if (props.maxWidth !== undefined && props.maxWidth !== null) {\n const styleFromPropValue = propValue => {\n const breakpoint = props.theme?.breakpoints?.values?.[propValue] || breakpointsValues[propValue];\n if (!breakpoint) {\n return {\n maxWidth: sizingTransform(propValue)\n };\n }\n if (props.theme?.breakpoints?.unit !== 'px') {\n return {\n maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`\n };\n }\n return {\n maxWidth: breakpoint\n };\n };\n return handleBreakpoints(props, props.maxWidth, styleFromPropValue);\n }\n return null;\n};\nmaxWidth.filterProps = ['maxWidth'];\nexport const minWidth = style({\n prop: 'minWidth',\n transform: sizingTransform\n});\nexport const height = style({\n prop: 'height',\n transform: sizingTransform\n});\nexport const maxHeight = style({\n prop: 'maxHeight',\n transform: sizingTransform\n});\nexport const minHeight = style({\n prop: 'minHeight',\n transform: sizingTransform\n});\nexport const sizeWidth = style({\n prop: 'size',\n cssProperty: 'width',\n transform: sizingTransform\n});\nexport const sizeHeight = style({\n prop: 'size',\n cssProperty: 'height',\n transform: sizingTransform\n});\nexport const boxSizing = style({\n prop: 'boxSizing'\n});\nconst sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);\nexport default sizing;"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAoBA;AAG1B,SAAgB,EAAgB,GAAO;CACrC,OAAO,KAAS,KAAK,MAAU,IAAI,GAAG,IAAQ,IAAI,KAAK;AACzD;AACA,IAAa,IAAQ,EAAM;CACzB,MAAM;CACN,WAAW;AACb,CAAC,GACY,KAAW,MAClB,EAAM,aAAa,KAAA,KAAa,EAAM,aAAa,OAiB9C,EAAkB,GAAO,EAAM,WAhBX,MAAa;CACtC,IAAM,IAAa,EAAM,OAAO,aAAa,SAAS,MAAc,EAAkB;CAWtF,OAVK,IAKD,EAAM,OAAO,aAAa,SAAS,OAKhC,EACL,UAAU,EACZ,IANS,EACL,UAAU,GAAG,IAAa,EAAM,MAAM,YAAY,OACpD,IAPO,EACL,UAAU,EAAgB,CAAS,EACrC;AAUJ,CACkE,IAE7D;AAET,EAAS,cAAc,CAAC,UAAU;AAClC,IAAa,IAAW,EAAM;CAC5B,MAAM;CACN,WAAW;AACb,CAAC,GACY,IAAS,EAAM;CAC1B,MAAM;CACN,WAAW;AACb,CAAC,GACY,IAAY,EAAM;CAC7B,MAAM;CACN,WAAW;AACb,CAAC,GACY,IAAY,EAAM;CAC7B,MAAM;CACN,WAAW;AACb,CAAC;AACwB,EAAM;CAC7B,MAAM;CACN,aAAa;CACb,WAAW;AACb,CAAC,GACyB,EAAM;CAC9B,MAAM;CACN,aAAa;CACb,WAAW;AACb,CAAC;AACD,IAAa,IAAY,EAAM,EAC7B,MAAM,YACR,CAAC;AACc,EAAQ,GAAO,GAAU,GAAU,GAAQ,GAAW,GAAW,CAAS"}
|
package/dist/index56.js
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { margin as e, padding as t } from "./index49.js";
|
|
2
|
+
import { borderRadius as n, borderTransform as r } from "./index52.js";
|
|
3
|
+
import { columnGap as i, gap as a, rowGap as o } from "./index53.js";
|
|
4
|
+
import { paletteTransform as s } from "./index54.js";
|
|
5
|
+
import { maxWidth as c, sizingTransform as l } from "./index55.js";
|
|
6
|
+
//#region node_modules/@mui/system/styleFunctionSx/defaultSxConfig.mjs
|
|
7
|
+
var u = {
|
|
8
|
+
border: {
|
|
9
|
+
themeKey: "borders",
|
|
10
|
+
transform: r
|
|
11
|
+
},
|
|
12
|
+
borderTop: {
|
|
13
|
+
themeKey: "borders",
|
|
14
|
+
transform: r
|
|
15
|
+
},
|
|
16
|
+
borderRight: {
|
|
17
|
+
themeKey: "borders",
|
|
18
|
+
transform: r
|
|
19
|
+
},
|
|
20
|
+
borderBottom: {
|
|
21
|
+
themeKey: "borders",
|
|
22
|
+
transform: r
|
|
23
|
+
},
|
|
24
|
+
borderLeft: {
|
|
25
|
+
themeKey: "borders",
|
|
26
|
+
transform: r
|
|
27
|
+
},
|
|
28
|
+
borderColor: { themeKey: "palette" },
|
|
29
|
+
borderTopColor: { themeKey: "palette" },
|
|
30
|
+
borderRightColor: { themeKey: "palette" },
|
|
31
|
+
borderBottomColor: { themeKey: "palette" },
|
|
32
|
+
borderLeftColor: { themeKey: "palette" },
|
|
33
|
+
outline: {
|
|
34
|
+
themeKey: "borders",
|
|
35
|
+
transform: r
|
|
36
|
+
},
|
|
37
|
+
outlineColor: { themeKey: "palette" },
|
|
38
|
+
borderRadius: {
|
|
39
|
+
themeKey: "shape.borderRadius",
|
|
40
|
+
style: n
|
|
41
|
+
},
|
|
42
|
+
color: {
|
|
43
|
+
themeKey: "palette",
|
|
44
|
+
transform: s
|
|
45
|
+
},
|
|
46
|
+
bgcolor: {
|
|
47
|
+
themeKey: "palette",
|
|
48
|
+
cssProperty: "backgroundColor",
|
|
49
|
+
transform: s
|
|
50
|
+
},
|
|
51
|
+
backgroundColor: {
|
|
52
|
+
themeKey: "palette",
|
|
53
|
+
transform: s
|
|
54
|
+
},
|
|
55
|
+
p: { style: t },
|
|
56
|
+
pt: { style: t },
|
|
57
|
+
pr: { style: t },
|
|
58
|
+
pb: { style: t },
|
|
59
|
+
pl: { style: t },
|
|
60
|
+
px: { style: t },
|
|
61
|
+
py: { style: t },
|
|
62
|
+
padding: { style: t },
|
|
63
|
+
paddingTop: { style: t },
|
|
64
|
+
paddingRight: { style: t },
|
|
65
|
+
paddingBottom: { style: t },
|
|
66
|
+
paddingLeft: { style: t },
|
|
67
|
+
paddingX: { style: t },
|
|
68
|
+
paddingY: { style: t },
|
|
69
|
+
paddingInline: { style: t },
|
|
70
|
+
paddingInlineStart: { style: t },
|
|
71
|
+
paddingInlineEnd: { style: t },
|
|
72
|
+
paddingBlock: { style: t },
|
|
73
|
+
paddingBlockStart: { style: t },
|
|
74
|
+
paddingBlockEnd: { style: t },
|
|
75
|
+
m: { style: e },
|
|
76
|
+
mt: { style: e },
|
|
77
|
+
mr: { style: e },
|
|
78
|
+
mb: { style: e },
|
|
79
|
+
ml: { style: e },
|
|
80
|
+
mx: { style: e },
|
|
81
|
+
my: { style: e },
|
|
82
|
+
margin: { style: e },
|
|
83
|
+
marginTop: { style: e },
|
|
84
|
+
marginRight: { style: e },
|
|
85
|
+
marginBottom: { style: e },
|
|
86
|
+
marginLeft: { style: e },
|
|
87
|
+
marginX: { style: e },
|
|
88
|
+
marginY: { style: e },
|
|
89
|
+
marginInline: { style: e },
|
|
90
|
+
marginInlineStart: { style: e },
|
|
91
|
+
marginInlineEnd: { style: e },
|
|
92
|
+
marginBlock: { style: e },
|
|
93
|
+
marginBlockStart: { style: e },
|
|
94
|
+
marginBlockEnd: { style: e },
|
|
95
|
+
displayPrint: {
|
|
96
|
+
cssProperty: !1,
|
|
97
|
+
transform: (e) => ({ "@media print": { display: e } })
|
|
98
|
+
},
|
|
99
|
+
display: {},
|
|
100
|
+
overflow: {},
|
|
101
|
+
textOverflow: {},
|
|
102
|
+
visibility: {},
|
|
103
|
+
whiteSpace: {},
|
|
104
|
+
flexBasis: {},
|
|
105
|
+
flexDirection: {},
|
|
106
|
+
flexWrap: {},
|
|
107
|
+
justifyContent: {},
|
|
108
|
+
alignItems: {},
|
|
109
|
+
alignContent: {},
|
|
110
|
+
order: {},
|
|
111
|
+
flex: {},
|
|
112
|
+
flexGrow: {},
|
|
113
|
+
flexShrink: {},
|
|
114
|
+
alignSelf: {},
|
|
115
|
+
justifyItems: {},
|
|
116
|
+
justifySelf: {},
|
|
117
|
+
gap: { style: a },
|
|
118
|
+
rowGap: { style: o },
|
|
119
|
+
columnGap: { style: i },
|
|
120
|
+
gridColumn: {},
|
|
121
|
+
gridRow: {},
|
|
122
|
+
gridAutoFlow: {},
|
|
123
|
+
gridAutoColumns: {},
|
|
124
|
+
gridAutoRows: {},
|
|
125
|
+
gridTemplateColumns: {},
|
|
126
|
+
gridTemplateRows: {},
|
|
127
|
+
gridTemplateAreas: {},
|
|
128
|
+
gridArea: {},
|
|
129
|
+
position: {},
|
|
130
|
+
zIndex: { themeKey: "zIndex" },
|
|
131
|
+
top: {},
|
|
132
|
+
right: {},
|
|
133
|
+
bottom: {},
|
|
134
|
+
left: {},
|
|
135
|
+
boxShadow: { themeKey: "shadows" },
|
|
136
|
+
width: { transform: l },
|
|
137
|
+
maxWidth: { style: c },
|
|
138
|
+
minWidth: { transform: l },
|
|
139
|
+
height: { transform: l },
|
|
140
|
+
maxHeight: { transform: l },
|
|
141
|
+
minHeight: { transform: l },
|
|
142
|
+
boxSizing: {},
|
|
143
|
+
font: { themeKey: "font" },
|
|
144
|
+
fontFamily: { themeKey: "typography" },
|
|
145
|
+
fontSize: { themeKey: "typography" },
|
|
146
|
+
fontStyle: { themeKey: "typography" },
|
|
147
|
+
fontWeight: { themeKey: "typography" },
|
|
148
|
+
letterSpacing: {},
|
|
149
|
+
textTransform: {},
|
|
150
|
+
lineHeight: {},
|
|
151
|
+
textAlign: {},
|
|
152
|
+
typography: {
|
|
153
|
+
cssProperty: !1,
|
|
154
|
+
themeKey: "typography"
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
//#endregion
|
|
158
|
+
export { u as default };
|
|
159
|
+
|
|
160
|
+
//# sourceMappingURL=index56.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index56.js","names":[],"sources":["../node_modules/@mui/system/styleFunctionSx/defaultSxConfig.mjs"],"sourcesContent":["import { padding, margin } from \"../spacing/index.mjs\";\nimport { borderRadius, borderTransform } from \"../borders/index.mjs\";\nimport { gap, rowGap, columnGap } from \"../cssGrid/index.mjs\";\nimport { paletteTransform } from \"../palette/index.mjs\";\nimport { maxWidth, sizingTransform } from \"../sizing/index.mjs\";\nconst defaultSxConfig = {\n // borders\n border: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderTop: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderRight: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderBottom: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderLeft: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderColor: {\n themeKey: 'palette'\n },\n borderTopColor: {\n themeKey: 'palette'\n },\n borderRightColor: {\n themeKey: 'palette'\n },\n borderBottomColor: {\n themeKey: 'palette'\n },\n borderLeftColor: {\n themeKey: 'palette'\n },\n outline: {\n themeKey: 'borders',\n transform: borderTransform\n },\n outlineColor: {\n themeKey: 'palette'\n },\n borderRadius: {\n themeKey: 'shape.borderRadius',\n style: borderRadius\n },\n // palette\n color: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n bgcolor: {\n themeKey: 'palette',\n cssProperty: 'backgroundColor',\n transform: paletteTransform\n },\n backgroundColor: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n // spacing\n p: {\n style: padding\n },\n pt: {\n style: padding\n },\n pr: {\n style: padding\n },\n pb: {\n style: padding\n },\n pl: {\n style: padding\n },\n px: {\n style: padding\n },\n py: {\n style: padding\n },\n padding: {\n style: padding\n },\n paddingTop: {\n style: padding\n },\n paddingRight: {\n style: padding\n },\n paddingBottom: {\n style: padding\n },\n paddingLeft: {\n style: padding\n },\n paddingX: {\n style: padding\n },\n paddingY: {\n style: padding\n },\n paddingInline: {\n style: padding\n },\n paddingInlineStart: {\n style: padding\n },\n paddingInlineEnd: {\n style: padding\n },\n paddingBlock: {\n style: padding\n },\n paddingBlockStart: {\n style: padding\n },\n paddingBlockEnd: {\n style: padding\n },\n m: {\n style: margin\n },\n mt: {\n style: margin\n },\n mr: {\n style: margin\n },\n mb: {\n style: margin\n },\n ml: {\n style: margin\n },\n mx: {\n style: margin\n },\n my: {\n style: margin\n },\n margin: {\n style: margin\n },\n marginTop: {\n style: margin\n },\n marginRight: {\n style: margin\n },\n marginBottom: {\n style: margin\n },\n marginLeft: {\n style: margin\n },\n marginX: {\n style: margin\n },\n marginY: {\n style: margin\n },\n marginInline: {\n style: margin\n },\n marginInlineStart: {\n style: margin\n },\n marginInlineEnd: {\n style: margin\n },\n marginBlock: {\n style: margin\n },\n marginBlockStart: {\n style: margin\n },\n marginBlockEnd: {\n style: margin\n },\n // display\n displayPrint: {\n cssProperty: false,\n transform: value => ({\n '@media print': {\n display: value\n }\n })\n },\n display: {},\n overflow: {},\n textOverflow: {},\n visibility: {},\n whiteSpace: {},\n // flexbox\n flexBasis: {},\n flexDirection: {},\n flexWrap: {},\n justifyContent: {},\n alignItems: {},\n alignContent: {},\n order: {},\n flex: {},\n flexGrow: {},\n flexShrink: {},\n alignSelf: {},\n justifyItems: {},\n justifySelf: {},\n // grid\n gap: {\n style: gap\n },\n rowGap: {\n style: rowGap\n },\n columnGap: {\n style: columnGap\n },\n gridColumn: {},\n gridRow: {},\n gridAutoFlow: {},\n gridAutoColumns: {},\n gridAutoRows: {},\n gridTemplateColumns: {},\n gridTemplateRows: {},\n gridTemplateAreas: {},\n gridArea: {},\n // positions\n position: {},\n zIndex: {\n themeKey: 'zIndex'\n },\n top: {},\n right: {},\n bottom: {},\n left: {},\n // shadows\n boxShadow: {\n themeKey: 'shadows'\n },\n // sizing\n width: {\n transform: sizingTransform\n },\n maxWidth: {\n style: maxWidth\n },\n minWidth: {\n transform: sizingTransform\n },\n height: {\n transform: sizingTransform\n },\n maxHeight: {\n transform: sizingTransform\n },\n minHeight: {\n transform: sizingTransform\n },\n boxSizing: {},\n // typography\n font: {\n themeKey: 'font'\n },\n fontFamily: {\n themeKey: 'typography'\n },\n fontSize: {\n themeKey: 'typography'\n },\n fontStyle: {\n themeKey: 'typography'\n },\n fontWeight: {\n themeKey: 'typography'\n },\n letterSpacing: {},\n textTransform: {},\n lineHeight: {},\n textAlign: {},\n typography: {\n cssProperty: false,\n themeKey: 'typography'\n }\n};\nexport default defaultSxConfig;"],"x_google_ignoreList":[0],"mappings":";;;;;;AAKA,IAAM,IAAkB;CAEtB,QAAQ;EACN,UAAU;EACV,WAAW;CACb;CACA,WAAW;EACT,UAAU;EACV,WAAW;CACb;CACA,aAAa;EACX,UAAU;EACV,WAAW;CACb;CACA,cAAc;EACZ,UAAU;EACV,WAAW;CACb;CACA,YAAY;EACV,UAAU;EACV,WAAW;CACb;CACA,aAAa,EACX,UAAU,UACZ;CACA,gBAAgB,EACd,UAAU,UACZ;CACA,kBAAkB,EAChB,UAAU,UACZ;CACA,mBAAmB,EACjB,UAAU,UACZ;CACA,iBAAiB,EACf,UAAU,UACZ;CACA,SAAS;EACP,UAAU;EACV,WAAW;CACb;CACA,cAAc,EACZ,UAAU,UACZ;CACA,cAAc;EACZ,UAAU;EACV,OAAO;CACT;CAEA,OAAO;EACL,UAAU;EACV,WAAW;CACb;CACA,SAAS;EACP,UAAU;EACV,aAAa;EACb,WAAW;CACb;CACA,iBAAiB;EACf,UAAU;EACV,WAAW;CACb;CAEA,GAAG,EACD,OAAO,EACT;CACA,IAAI,EACF,OAAO,EACT;CACA,IAAI,EACF,OAAO,EACT;CACA,IAAI,EACF,OAAO,EACT;CACA,IAAI,EACF,OAAO,EACT;CACA,IAAI,EACF,OAAO,EACT;CACA,IAAI,EACF,OAAO,EACT;CACA,SAAS,EACP,OAAO,EACT;CACA,YAAY,EACV,OAAO,EACT;CACA,cAAc,EACZ,OAAO,EACT;CACA,eAAe,EACb,OAAO,EACT;CACA,aAAa,EACX,OAAO,EACT;CACA,UAAU,EACR,OAAO,EACT;CACA,UAAU,EACR,OAAO,EACT;CACA,eAAe,EACb,OAAO,EACT;CACA,oBAAoB,EAClB,OAAO,EACT;CACA,kBAAkB,EA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,kBAAkB,CAAC;CACnB,mBAAmB,CAAC;CACpB,UAAU,CAAC;CAEX,UAAU,CAAC;CACX,QAAQ,EACN,UAAU,SACZ;CACA,KAAK,CAAC;CACN,OAAO,CAAC;CACR,QAAQ,CAAC;CACT,MAAM,CAAC;CAEP,WAAW,EACT,UAAU,UACZ;CAEA,OAAO,EACL,WAAW,EACb;CACA,UAAU,EACR,OAAO,EACT;CACA,UAAU,EACR,WAAW,EACb;CACA,QAAQ,EACN,WAAW,EACb;CACA,WAAW,EACT,WAAW,EACb;CACA,WAAW,EACT,WAAW,EACb;CACA,WAAW,CAAC;CAEZ,MAAM,EACJ,UAAU,OACZ;CACA,YAAY,EACV,UAAU,aACZ;CACA,UAAU,EACR,UAAU,aACZ;CACA,WAAW,EACT,UAAU,aACZ;CACA,YAAY,EACV,UAAU,aACZ;CACA,eAAe,CAAC;CAChB,eAAe,CAAC;CAChB,YAAY,CAAC;CACb,WAAW,CAAC;CACZ,YAAY;EACV,aAAa;EACb,UAAU;CACZ;AACF"}
|
package/dist/index57.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { sortContainerQueries as e } from "./index41.js";
|
|
2
|
+
import t from "./index45.js";
|
|
3
|
+
import { DEFAULT_BREAKPOINTS as n, createEmptyBreakpointObject as r, hasBreakpoint as i, iterateBreakpoints as a, removeUnusedBreakpoints as o } from "./index46.js";
|
|
4
|
+
import { getPath as s, getStyleValue2 as c } from "./index48.js";
|
|
5
|
+
import l from "./index56.js";
|
|
6
|
+
//#region node_modules/@mui/system/styleFunctionSx/styleFunctionSx.mjs
|
|
7
|
+
var u = {};
|
|
8
|
+
function d() {
|
|
9
|
+
function t(s) {
|
|
10
|
+
if (!s.sx) return null;
|
|
11
|
+
let { sx: c, theme: d = u, nested: f } = s, h = d.unstable_sxConfig ?? l, g = {
|
|
12
|
+
sx: null,
|
|
13
|
+
theme: d,
|
|
14
|
+
nested: !0
|
|
15
|
+
};
|
|
16
|
+
function _(c) {
|
|
17
|
+
let l = c;
|
|
18
|
+
if (typeof c == "function") l = c(d);
|
|
19
|
+
else if (typeof c != "object") return c;
|
|
20
|
+
if (!l) return null;
|
|
21
|
+
let u = d.breakpoints ?? n, _ = r(u);
|
|
22
|
+
for (let e in l) {
|
|
23
|
+
let n = m(l[e], d);
|
|
24
|
+
if (n != null) {
|
|
25
|
+
if (typeof n != "object") {
|
|
26
|
+
p(_, e, n, d, h);
|
|
27
|
+
continue;
|
|
28
|
+
}
|
|
29
|
+
if (h[e]) {
|
|
30
|
+
p(_, e, n, d, h);
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
i(u, n) ? a(_, s.theme, n, (t, n) => {
|
|
34
|
+
_[t][e] = n;
|
|
35
|
+
}) : (g.sx = n, _[e] = t(g));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return !f && d.modularCssLayers ? { "@layer sx": e(d, o(u, _)) } : e(d, o(u, _));
|
|
39
|
+
}
|
|
40
|
+
return Array.isArray(c) ? c.map(_) : _(c);
|
|
41
|
+
}
|
|
42
|
+
return t.filterProps = ["sx"], t;
|
|
43
|
+
}
|
|
44
|
+
var f = d();
|
|
45
|
+
function p(e, n, r, i, o) {
|
|
46
|
+
let l = o[n];
|
|
47
|
+
if (!l) {
|
|
48
|
+
e[n] = r;
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
if (r == null) return;
|
|
52
|
+
let { themeKey: u } = l;
|
|
53
|
+
if (u === "typography" && r === "inherit") {
|
|
54
|
+
e[n] = r;
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
let { style: d } = l;
|
|
58
|
+
if (d) {
|
|
59
|
+
t(e, d({
|
|
60
|
+
[n]: r,
|
|
61
|
+
theme: i
|
|
62
|
+
}));
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
let { cssProperty: f = n, transform: p } = l, m = s(i, u);
|
|
66
|
+
a(e, i, r, (r, i) => {
|
|
67
|
+
let a = c(m, p, i, n);
|
|
68
|
+
f === !1 ? t(r ? e[r] : e, a) : r ? e[r][f] = a : e[f] = a;
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function m(e, t) {
|
|
72
|
+
return typeof e == "function" ? e(t) : e;
|
|
73
|
+
}
|
|
74
|
+
//#endregion
|
|
75
|
+
export { f as default, d as unstable_createStyleFunctionSx };
|
|
76
|
+
|
|
77
|
+
//# sourceMappingURL=index57.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index57.js","names":[],"sources":["../node_modules/@mui/system/styleFunctionSx/styleFunctionSx.mjs"],"sourcesContent":["import merge from '@mui/utils/fastDeepAssign';\nimport { getPath, getStyleValue2 } from \"../style/index.mjs\";\nimport { hasBreakpoint, iterateBreakpoints, createEmptyBreakpointObject, removeUnusedBreakpoints, DEFAULT_BREAKPOINTS } from \"../breakpoints/index.mjs\";\nimport { sortContainerQueries } from \"../cssContainerQueries/index.mjs\";\nimport defaultSxConfig from \"./defaultSxConfig.mjs\";\n\n/* eslint-disable guard-for-in */\n\nconst EMPTY_THEME = {};\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function unstable_createStyleFunctionSx() {\n function styleFunctionSx(props) {\n if (!props.sx) {\n return null;\n }\n const {\n sx,\n theme = EMPTY_THEME,\n nested\n } = props;\n const config = theme.unstable_sxConfig ?? defaultSxConfig;\n\n // Pass argument without loop allocations\n const wrapper = {\n sx: null,\n theme,\n nested: true\n };\n function process(sxInput) {\n let sxObject = sxInput;\n if (typeof sxInput === 'function') {\n sxObject = sxInput(theme);\n } else if (typeof sxInput !== 'object') {\n // value\n return sxInput;\n }\n if (!sxObject) {\n return null;\n }\n const breakpoints = theme.breakpoints ?? DEFAULT_BREAKPOINTS;\n const css = createEmptyBreakpointObject(breakpoints);\n for (const styleKey in sxObject) {\n const value = callIfFn(sxObject[styleKey], theme);\n if (value === null || value === undefined) {\n continue;\n }\n if (typeof value !== 'object') {\n setThemeValue(css, styleKey, value, theme, config);\n continue;\n }\n if (config[styleKey]) {\n setThemeValue(css, styleKey, value, theme, config);\n continue;\n }\n if (hasBreakpoint(breakpoints, value)) {\n iterateBreakpoints(css, props.theme, value, (mediaKey, finalValue) => {\n css[mediaKey][styleKey] = finalValue;\n });\n } else {\n wrapper.sx = value;\n css[styleKey] = styleFunctionSx(wrapper);\n }\n }\n if (!nested && theme.modularCssLayers) {\n return {\n '@layer sx': sortContainerQueries(theme, removeUnusedBreakpoints(breakpoints, css))\n };\n }\n return sortContainerQueries(theme, removeUnusedBreakpoints(breakpoints, css));\n }\n return Array.isArray(sx) ? sx.map(process) : process(sx);\n }\n styleFunctionSx.filterProps = ['sx'];\n return styleFunctionSx;\n}\nexport default unstable_createStyleFunctionSx();\nfunction setThemeValue(css, prop, value, theme, config) {\n const options = config[prop];\n if (!options) {\n css[prop] = value;\n return;\n }\n if (value == null) {\n return;\n }\n const {\n themeKey\n } = options;\n // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123\n if (themeKey === 'typography' && value === 'inherit') {\n css[prop] = value;\n return;\n }\n const {\n style\n } = options;\n if (style) {\n merge(css, style({\n [prop]: value,\n theme\n }));\n return;\n }\n const {\n cssProperty = prop,\n transform\n } = options;\n const themeMapping = getPath(theme, themeKey);\n iterateBreakpoints(css, theme, value, (mediaKey, valueFinal) => {\n const finalValue = getStyleValue2(themeMapping, transform, valueFinal, prop);\n if (cssProperty === false) {\n if (mediaKey) {\n merge(css[mediaKey], finalValue);\n } else {\n merge(css, finalValue);\n }\n } else {\n // eslint-disable-next-line no-lonely-if\n if (mediaKey) {\n css[mediaKey][cssProperty] = finalValue;\n } else {\n css[cssProperty] = finalValue;\n }\n }\n });\n}\nfunction callIfFn(maybeFn, arg) {\n return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn;\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;AAQA,IAAM,IAAc,CAAC;AAGrB,SAAgB,IAAiC;CAC/C,SAAS,EAAgB,GAAO;EAC9B,IAAI,CAAC,E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