@fctc/sme-widget-ui 2.4.7 → 2.4.8
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.js +10 -4
- package/dist/index.mjs +10 -4
- package/dist/widgets.js +10 -4
- package/dist/widgets.mjs +10 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13108,16 +13108,22 @@ var TableHead = (props) => {
|
|
|
13108
13108
|
}
|
|
13109
13109
|
),
|
|
13110
13110
|
columns?.filter((value) => value?.optional !== "hide")?.map((col, index4) => {
|
|
13111
|
+
if (col?.field?.widget === "handle") {
|
|
13112
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
13113
|
+
"th",
|
|
13114
|
+
{
|
|
13115
|
+
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`
|
|
13116
|
+
},
|
|
13117
|
+
"table-head-" + index4
|
|
13118
|
+
);
|
|
13119
|
+
}
|
|
13111
13120
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
13112
13121
|
"th",
|
|
13113
13122
|
{
|
|
13114
13123
|
"data-type-co": col?.field?.type_co,
|
|
13115
13124
|
"data-rtc-resizable": col?.name,
|
|
13116
13125
|
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
|
|
13117
|
-
|
|
13118
|
-
width: col?.field?.widget !== "handle" ? "50px" : "initial"
|
|
13119
|
-
},
|
|
13120
|
-
children: col?.field?.widget !== "handle" && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
13126
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
13121
13127
|
"div",
|
|
13122
13128
|
{
|
|
13123
13129
|
className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${col?.field?.type === "monetary" && "justify-end"}`,
|
package/dist/index.mjs
CHANGED
|
@@ -12981,16 +12981,22 @@ var TableHead = (props) => {
|
|
|
12981
12981
|
}
|
|
12982
12982
|
),
|
|
12983
12983
|
columns?.filter((value) => value?.optional !== "hide")?.map((col, index4) => {
|
|
12984
|
+
if (col?.field?.widget === "handle") {
|
|
12985
|
+
return /* @__PURE__ */ jsx51(
|
|
12986
|
+
"th",
|
|
12987
|
+
{
|
|
12988
|
+
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`
|
|
12989
|
+
},
|
|
12990
|
+
"table-head-" + index4
|
|
12991
|
+
);
|
|
12992
|
+
}
|
|
12984
12993
|
return /* @__PURE__ */ jsx51(
|
|
12985
12994
|
"th",
|
|
12986
12995
|
{
|
|
12987
12996
|
"data-type-co": col?.field?.type_co,
|
|
12988
12997
|
"data-rtc-resizable": col?.name,
|
|
12989
12998
|
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
|
|
12990
|
-
|
|
12991
|
-
width: col?.field?.widget !== "handle" ? "50px" : "initial"
|
|
12992
|
-
},
|
|
12993
|
-
children: col?.field?.widget !== "handle" && /* @__PURE__ */ jsxs29(
|
|
12999
|
+
children: /* @__PURE__ */ jsxs29(
|
|
12994
13000
|
"div",
|
|
12995
13001
|
{
|
|
12996
13002
|
className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${col?.field?.type === "monetary" && "justify-end"}`,
|
package/dist/widgets.js
CHANGED
|
@@ -12100,16 +12100,22 @@ var TableHead = (props) => {
|
|
|
12100
12100
|
}
|
|
12101
12101
|
),
|
|
12102
12102
|
columns?.filter((value) => value?.optional !== "hide")?.map((col, index4) => {
|
|
12103
|
+
if (col?.field?.widget === "handle") {
|
|
12104
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
12105
|
+
"th",
|
|
12106
|
+
{
|
|
12107
|
+
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`
|
|
12108
|
+
},
|
|
12109
|
+
"table-head-" + index4
|
|
12110
|
+
);
|
|
12111
|
+
}
|
|
12103
12112
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
12104
12113
|
"th",
|
|
12105
12114
|
{
|
|
12106
12115
|
"data-type-co": col?.field?.type_co,
|
|
12107
12116
|
"data-rtc-resizable": col?.name,
|
|
12108
12117
|
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
|
|
12109
|
-
|
|
12110
|
-
width: col?.field?.widget !== "handle" ? "50px" : "initial"
|
|
12111
|
-
},
|
|
12112
|
-
children: col?.field?.widget !== "handle" && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
12118
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
12113
12119
|
"div",
|
|
12114
12120
|
{
|
|
12115
12121
|
className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${col?.field?.type === "monetary" && "justify-end"}`,
|
package/dist/widgets.mjs
CHANGED
|
@@ -12037,16 +12037,22 @@ var TableHead = (props) => {
|
|
|
12037
12037
|
}
|
|
12038
12038
|
),
|
|
12039
12039
|
columns?.filter((value) => value?.optional !== "hide")?.map((col, index4) => {
|
|
12040
|
+
if (col?.field?.widget === "handle") {
|
|
12041
|
+
return /* @__PURE__ */ jsx51(
|
|
12042
|
+
"th",
|
|
12043
|
+
{
|
|
12044
|
+
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`
|
|
12045
|
+
},
|
|
12046
|
+
"table-head-" + index4
|
|
12047
|
+
);
|
|
12048
|
+
}
|
|
12040
12049
|
return /* @__PURE__ */ jsx51(
|
|
12041
12050
|
"th",
|
|
12042
12051
|
{
|
|
12043
12052
|
"data-type-co": col?.field?.type_co,
|
|
12044
12053
|
"data-rtc-resizable": col?.name,
|
|
12045
12054
|
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
|
|
12046
|
-
|
|
12047
|
-
width: col?.field?.widget !== "handle" ? "50px" : "initial"
|
|
12048
|
-
},
|
|
12049
|
-
children: col?.field?.widget !== "handle" && /* @__PURE__ */ jsxs29(
|
|
12055
|
+
children: /* @__PURE__ */ jsxs29(
|
|
12050
12056
|
"div",
|
|
12051
12057
|
{
|
|
12052
12058
|
className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${col?.field?.type === "monetary" && "justify-end"}`,
|