@3sc/common-component 0.0.583 → 0.0.584
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/dist/{index-Da-TaaWA.js → index-Db7NUevk.js} +109 -107
- package/dist/{index-Da-TaaWA.js.map → index-Db7NUevk.js.map} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/{nl-DCCX7R0k.js → nl-DwAQ3vXI.js} +2 -2
- package/dist/{nl-DCCX7R0k.js.map → nl-DwAQ3vXI.js.map} +1 -1
- package/dist/{tr-A8ZTMUOK.js → tr-ChfrDehS.js} +2 -2
- package/dist/{tr-A8ZTMUOK.js.map → tr-ChfrDehS.js.map} +1 -1
- package/package.json +1 -1
|
@@ -30561,9 +30561,9 @@ const FD = ee(Rf)(({ theme: e }) => ({
|
|
|
30561
30561
|
async function qD(e) {
|
|
30562
30562
|
switch (e.split("-")[0]) {
|
|
30563
30563
|
case "tr":
|
|
30564
|
-
return (await import("./tr-
|
|
30564
|
+
return (await import("./tr-ChfrDehS.js")).tr;
|
|
30565
30565
|
case "nl":
|
|
30566
|
-
return (await import("./nl-
|
|
30566
|
+
return (await import("./nl-DwAQ3vXI.js")).nl;
|
|
30567
30567
|
default:
|
|
30568
30568
|
return (await Promise.resolve().then(() => KA)).enUS;
|
|
30569
30569
|
}
|
|
@@ -42036,112 +42036,114 @@ function dL(e) {
|
|
|
42036
42036
|
pageSize: s?.rowPerPage,
|
|
42037
42037
|
gridData: a
|
|
42038
42038
|
};
|
|
42039
|
-
return
|
|
42039
|
+
return /* @__PURE__ */ p.jsxs(Jt, { children: [
|
|
42040
42040
|
o && /* @__PURE__ */ p.jsx(Cp, { ...o, ...R }),
|
|
42041
|
-
/* @__PURE__ */ p.jsxs(
|
|
42042
|
-
/* @__PURE__ */ p.jsxs(
|
|
42043
|
-
|
|
42044
|
-
|
|
42045
|
-
|
|
42046
|
-
|
|
42047
|
-
|
|
42048
|
-
|
|
42049
|
-
|
|
42050
|
-
|
|
42051
|
-
|
|
42052
|
-
|
|
42053
|
-
|
|
42054
|
-
|
|
42055
|
-
|
|
42056
|
-
|
|
42057
|
-
|
|
42058
|
-
|
|
42059
|
-
|
|
42060
|
-
|
|
42061
|
-
|
|
42062
|
-
|
|
42063
|
-
|
|
42064
|
-
|
|
42065
|
-
|
|
42066
|
-
|
|
42067
|
-
|
|
42068
|
-
|
|
42069
|
-
|
|
42070
|
-
|
|
42071
|
-
|
|
42072
|
-
|
|
42073
|
-
|
|
42074
|
-
|
|
42075
|
-
|
|
42076
|
-
|
|
42077
|
-
|
|
42078
|
-
|
|
42079
|
-
|
|
42080
|
-
|
|
42081
|
-
|
|
42082
|
-
|
|
42083
|
-
|
|
42084
|
-
|
|
42085
|
-
|
|
42086
|
-
|
|
42087
|
-
|
|
42088
|
-
|
|
42089
|
-
|
|
42090
|
-
|
|
42091
|
-
|
|
42092
|
-
|
|
42093
|
-
|
|
42094
|
-
|
|
42095
|
-
|
|
42096
|
-
|
|
42097
|
-
|
|
42098
|
-
|
|
42099
|
-
|
|
42100
|
-
|
|
42101
|
-
|
|
42102
|
-
|
|
42103
|
-
|
|
42104
|
-
|
|
42105
|
-
|
|
42106
|
-
|
|
42107
|
-
|
|
42108
|
-
|
|
42109
|
-
|
|
42110
|
-
|
|
42111
|
-
|
|
42112
|
-
|
|
42113
|
-
|
|
42114
|
-
},
|
|
42115
|
-
children: [
|
|
42116
|
-
/* @__PURE__ */ p.jsx(
|
|
42117
|
-
re,
|
|
42118
|
-
{
|
|
42119
|
-
component: "img",
|
|
42120
|
-
src: et.Manage,
|
|
42121
|
-
sx: { width: "1.6rem", height: "2rem", transform: "rotate(90deg)" }
|
|
42122
|
-
}
|
|
42123
|
-
),
|
|
42124
|
-
/* @__PURE__ */ p.jsx(
|
|
42125
|
-
bt,
|
|
42126
|
-
{
|
|
42127
|
-
sx: {
|
|
42128
|
-
fontSize: "1rem",
|
|
42129
|
-
letterSpacing: "0.08em",
|
|
42130
|
-
writingMode: "vertical-rl",
|
|
42131
|
-
textOrientation: "mixed",
|
|
42132
|
-
transform: "rotate(360deg)",
|
|
42133
|
-
userSelect: "none",
|
|
42134
|
-
color: (D) => D.palette.primary.notifyTextColor
|
|
42135
|
-
},
|
|
42136
|
-
children: a?.length > 1 ? t("LABEL_MANAGE_COLUMN") : t("LABEL_MANAGE_COLUMN")?.slice(0, 7)
|
|
42041
|
+
a.length ? /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
42042
|
+
/* @__PURE__ */ p.jsxs(re, { sx: { display: "flex", alignItems: "stretch" }, children: [
|
|
42043
|
+
/* @__PURE__ */ p.jsxs(
|
|
42044
|
+
re,
|
|
42045
|
+
{
|
|
42046
|
+
ref: A,
|
|
42047
|
+
sx: { flex: 1, minWidth: 0, alignSelf: "flex-start", position: "relative" },
|
|
42048
|
+
children: [
|
|
42049
|
+
/* @__PURE__ */ p.jsx(
|
|
42050
|
+
dB,
|
|
42051
|
+
{
|
|
42052
|
+
...r,
|
|
42053
|
+
columns: E,
|
|
42054
|
+
colMgr: n,
|
|
42055
|
+
sidebarOpen: !1,
|
|
42056
|
+
onColumnSave: k,
|
|
42057
|
+
onColumnReorder: O,
|
|
42058
|
+
onColumnResize: M
|
|
42059
|
+
}
|
|
42060
|
+
),
|
|
42061
|
+
r?.columns?.isManageable && n.isOpen && /* @__PURE__ */ p.jsx(
|
|
42062
|
+
re,
|
|
42063
|
+
{
|
|
42064
|
+
sx: {
|
|
42065
|
+
position: "absolute",
|
|
42066
|
+
top: 0,
|
|
42067
|
+
right: 0,
|
|
42068
|
+
width: 260,
|
|
42069
|
+
height: "100%",
|
|
42070
|
+
zIndex: 10,
|
|
42071
|
+
display: "flex",
|
|
42072
|
+
flexDirection: "column",
|
|
42073
|
+
overflow: "hidden"
|
|
42074
|
+
},
|
|
42075
|
+
children: /* @__PURE__ */ p.jsx(
|
|
42076
|
+
n.ColumnManagerPanel,
|
|
42077
|
+
{
|
|
42078
|
+
style: {
|
|
42079
|
+
width: "100%",
|
|
42080
|
+
height: "100%",
|
|
42081
|
+
display: "flex",
|
|
42082
|
+
flexDirection: "column",
|
|
42083
|
+
overflow: "hidden"
|
|
42084
|
+
},
|
|
42085
|
+
render: ({ engine: D, close: N }) => /* @__PURE__ */ p.jsx(cB, { engine: D, onClose: N })
|
|
42086
|
+
}
|
|
42087
|
+
)
|
|
42088
|
+
}
|
|
42089
|
+
)
|
|
42090
|
+
]
|
|
42091
|
+
}
|
|
42092
|
+
),
|
|
42093
|
+
r?.columns?.isManageable && /* @__PURE__ */ p.jsx(Es, { title: t("LABEL_MANAGE_COLUMN"), placement: "left", children: /* @__PURE__ */ p.jsxs(
|
|
42094
|
+
re,
|
|
42095
|
+
{
|
|
42096
|
+
onClick: n.toggle,
|
|
42097
|
+
sx: {
|
|
42098
|
+
width: "2rem",
|
|
42099
|
+
flexShrink: 0,
|
|
42100
|
+
display: "flex",
|
|
42101
|
+
flexDirection: "column",
|
|
42102
|
+
alignItems: "center",
|
|
42103
|
+
justifyContent: "center",
|
|
42104
|
+
cursor: "pointer",
|
|
42105
|
+
gap: "0.5rem",
|
|
42106
|
+
p: "0 1.3rem",
|
|
42107
|
+
borderRadius: (n.isOpen, "0 1.4rem 1.4rem 0"),
|
|
42108
|
+
border: (D) => `0.1rem solid ${D.palette.primary.notifyBorderColor}`,
|
|
42109
|
+
borderLeft: "none",
|
|
42110
|
+
background: (D) => D.palette.primary.notifyButtonBackground,
|
|
42111
|
+
transition: "background 0.15s",
|
|
42112
|
+
"&:hover": {
|
|
42113
|
+
background: (D) => D.palette.primary.appBackground
|
|
42137
42114
|
}
|
|
42138
|
-
|
|
42139
|
-
|
|
42140
|
-
|
|
42141
|
-
|
|
42142
|
-
|
|
42143
|
-
|
|
42144
|
-
|
|
42115
|
+
},
|
|
42116
|
+
children: [
|
|
42117
|
+
/* @__PURE__ */ p.jsx(
|
|
42118
|
+
re,
|
|
42119
|
+
{
|
|
42120
|
+
component: "img",
|
|
42121
|
+
src: et.Manage,
|
|
42122
|
+
sx: { width: "1.6rem", height: "2rem", transform: "rotate(90deg)" }
|
|
42123
|
+
}
|
|
42124
|
+
),
|
|
42125
|
+
/* @__PURE__ */ p.jsx(
|
|
42126
|
+
bt,
|
|
42127
|
+
{
|
|
42128
|
+
sx: {
|
|
42129
|
+
fontSize: "1rem",
|
|
42130
|
+
letterSpacing: "0.08em",
|
|
42131
|
+
writingMode: "vertical-rl",
|
|
42132
|
+
textOrientation: "mixed",
|
|
42133
|
+
transform: "rotate(360deg)",
|
|
42134
|
+
userSelect: "none",
|
|
42135
|
+
color: (D) => D.palette.primary.notifyTextColor
|
|
42136
|
+
},
|
|
42137
|
+
children: a?.length > 1 ? t("LABEL_MANAGE_COLUMN") : t("LABEL_MANAGE_COLUMN")?.slice(0, 7)
|
|
42138
|
+
}
|
|
42139
|
+
)
|
|
42140
|
+
]
|
|
42141
|
+
}
|
|
42142
|
+
) })
|
|
42143
|
+
] }),
|
|
42144
|
+
Object.keys(s).length > 0 && /* @__PURE__ */ p.jsx(Pc, { pagination: s, gridPath: c, baseUrl: d, t })
|
|
42145
|
+
] }) : /* @__PURE__ */ p.jsx(Ar, { sx: { textAlign: "center" }, children: t(pr.NRF) })
|
|
42146
|
+
] });
|
|
42145
42147
|
}
|
|
42146
42148
|
const nx = (e) => {
|
|
42147
42149
|
let {
|
|
@@ -45051,4 +45053,4 @@ export {
|
|
|
45051
45053
|
FB as t,
|
|
45052
45054
|
pL as u
|
|
45053
45055
|
};
|
|
45054
|
-
//# sourceMappingURL=index-
|
|
45056
|
+
//# sourceMappingURL=index-Db7NUevk.js.map
|