@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.
@@ -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-A8ZTMUOK.js")).tr;
30564
+ return (await import("./tr-ChfrDehS.js")).tr;
30565
30565
  case "nl":
30566
- return (await import("./nl-DCCX7R0k.js")).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 a.length ? /* @__PURE__ */ p.jsxs(Jt, { children: [
42039
+ return /* @__PURE__ */ p.jsxs(Jt, { children: [
42040
42040
  o && /* @__PURE__ */ p.jsx(Cp, { ...o, ...R }),
42041
- /* @__PURE__ */ p.jsxs(re, { sx: { display: "flex", alignItems: "stretch" }, children: [
42042
- /* @__PURE__ */ p.jsxs(
42043
- re,
42044
- {
42045
- ref: A,
42046
- sx: { flex: 1, minWidth: 0, alignSelf: "flex-start", position: "relative" },
42047
- children: [
42048
- /* @__PURE__ */ p.jsx(
42049
- dB,
42050
- {
42051
- ...r,
42052
- columns: E,
42053
- colMgr: n,
42054
- sidebarOpen: !1,
42055
- onColumnSave: k,
42056
- onColumnReorder: O,
42057
- onColumnResize: M
42058
- }
42059
- ),
42060
- r?.columns?.isManageable && n.isOpen && /* @__PURE__ */ p.jsx(
42061
- re,
42062
- {
42063
- sx: {
42064
- position: "absolute",
42065
- top: 0,
42066
- right: 0,
42067
- width: 260,
42068
- height: "100%",
42069
- zIndex: 10,
42070
- display: "flex",
42071
- flexDirection: "column",
42072
- overflow: "hidden"
42073
- },
42074
- children: /* @__PURE__ */ p.jsx(
42075
- n.ColumnManagerPanel,
42076
- {
42077
- style: {
42078
- width: "100%",
42079
- height: "100%",
42080
- display: "flex",
42081
- flexDirection: "column",
42082
- overflow: "hidden"
42083
- },
42084
- render: ({ engine: D, close: N }) => /* @__PURE__ */ p.jsx(cB, { engine: D, onClose: N })
42085
- }
42086
- )
42087
- }
42088
- )
42089
- ]
42090
- }
42091
- ),
42092
- r?.columns?.isManageable && /* @__PURE__ */ p.jsx(Es, { title: t("LABEL_MANAGE_COLUMN"), placement: "left", children: /* @__PURE__ */ p.jsxs(
42093
- re,
42094
- {
42095
- onClick: n.toggle,
42096
- sx: {
42097
- width: "2rem",
42098
- flexShrink: 0,
42099
- display: "flex",
42100
- flexDirection: "column",
42101
- alignItems: "center",
42102
- justifyContent: "center",
42103
- cursor: "pointer",
42104
- gap: "0.5rem",
42105
- p: "0 1.3rem",
42106
- borderRadius: (n.isOpen, "0 1.4rem 1.4rem 0"),
42107
- border: (D) => `0.1rem solid ${D.palette.primary.notifyBorderColor}`,
42108
- borderLeft: "none",
42109
- background: (D) => D.palette.primary.notifyButtonBackground,
42110
- transition: "background 0.15s",
42111
- "&:hover": {
42112
- background: (D) => D.palette.primary.appBackground
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
- Object.keys(s).length > 0 && /* @__PURE__ */ p.jsx(Pc, { pagination: s, gridPath: c, baseUrl: d, t })
42144
- ] }) : /* @__PURE__ */ p.jsx(Ar, { sx: { textAlign: "center" }, children: t(pr.NRF) });
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-Da-TaaWA.js.map
45056
+ //# sourceMappingURL=index-Db7NUevk.js.map