@fctc/sme-widget-ui 2.4.0 → 2.4.1
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 +57 -51
- package/dist/index.mjs +57 -51
- package/dist/widgets.js +57 -51
- package/dist/widgets.mjs +57 -51
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13114,64 +13114,70 @@ var TableHead = (props) => {
|
|
|
13114
13114
|
"data-type-co": col?.field?.type_co,
|
|
13115
13115
|
"data-rtc-resizable": col?.name,
|
|
13116
13116
|
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
|
|
13117
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
13118
|
-
|
|
13119
|
-
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13123
|
-
|
|
13124
|
-
|
|
13125
|
-
|
|
13126
|
-
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
13136
|
-
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
minWidth: "12px",
|
|
13148
|
-
maxHeight: "12px",
|
|
13149
|
-
fontSize: "8px"
|
|
13150
|
-
},
|
|
13151
|
-
"data-tooltip-id": `field-help-${col?.field?.name}`,
|
|
13152
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
13153
|
-
"svg",
|
|
13117
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
13118
|
+
"div",
|
|
13119
|
+
{
|
|
13120
|
+
className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${col?.field?.type === "monetary" && "justify-end"}`,
|
|
13121
|
+
children: [
|
|
13122
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate line-clamp-1 w-fit", children: col.title }),
|
|
13123
|
+
col?.field?.help && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
|
|
13124
|
+
(0, import_react_dom.createPortal)(
|
|
13125
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
13126
|
+
M,
|
|
13127
|
+
{
|
|
13128
|
+
style: {
|
|
13129
|
+
padding: "6px 12px",
|
|
13130
|
+
fontSize: "12px",
|
|
13131
|
+
borderRadius: "4px",
|
|
13132
|
+
maxWidth: "200px",
|
|
13133
|
+
whiteSpace: "wrap",
|
|
13134
|
+
fontWeight: 400,
|
|
13135
|
+
textTransform: "none",
|
|
13136
|
+
zIndex: "9999"
|
|
13137
|
+
},
|
|
13138
|
+
id: `field-help-${col?.field?.name}`,
|
|
13139
|
+
content: col?.field?.help,
|
|
13140
|
+
place: "top"
|
|
13141
|
+
}
|
|
13142
|
+
),
|
|
13143
|
+
document.body
|
|
13144
|
+
),
|
|
13145
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
13146
|
+
"span",
|
|
13154
13147
|
{
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
|
|
13148
|
+
style: {
|
|
13149
|
+
width: "12px",
|
|
13150
|
+
height: "12px",
|
|
13151
|
+
minWidth: "12px",
|
|
13152
|
+
maxHeight: "12px",
|
|
13153
|
+
fontSize: "8px"
|
|
13154
|
+
},
|
|
13155
|
+
"data-tooltip-id": `field-help-${col?.field?.name}`,
|
|
13160
13156
|
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
13161
|
-
"
|
|
13157
|
+
"svg",
|
|
13162
13158
|
{
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
|
|
13166
|
-
|
|
13159
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13160
|
+
width: "13",
|
|
13161
|
+
height: "13",
|
|
13162
|
+
viewBox: "0 0 13 13",
|
|
13163
|
+
fill: "none",
|
|
13164
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
13165
|
+
"path",
|
|
13166
|
+
{
|
|
13167
|
+
fillRule: "evenodd",
|
|
13168
|
+
clipRule: "evenodd",
|
|
13169
|
+
d: "M6.25 12.5C9.70178 12.5 12.5 9.70178 12.5 6.25C12.5 2.79822 9.70178 0 6.25 0C2.79822 0 0 2.79822 0 6.25C0 9.70178 2.79822 12.5 6.25 12.5ZM7.36584 9.45858L7.46565 9.0506C7.41399 9.07486 7.3307 9.10258 7.21649 9.13414C7.10197 9.1657 6.9989 9.18177 6.90831 9.18177C6.71536 9.18177 6.57952 9.15014 6.50065 9.08657C6.42236 9.023 6.38331 8.90342 6.38331 8.72827C6.38331 8.65887 6.39509 8.55542 6.41973 8.42003C6.44361 8.28373 6.47108 8.16261 6.50161 8.05666L6.87419 6.73759C6.91068 6.61653 6.93571 6.48344 6.94916 6.33818C6.96292 6.19325 6.96932 6.09185 6.96932 6.03429C6.96932 5.75614 6.87182 5.53041 6.67676 5.35629C6.4817 5.18229 6.20393 5.09529 5.84396 5.09529C5.64365 5.09529 5.43188 5.13088 5.20776 5.202C4.98363 5.27294 4.74933 5.3584 4.50421 5.4582L4.40415 5.8665C4.47719 5.83949 4.56419 5.81043 4.66598 5.78034C4.76732 5.75038 4.86674 5.73489 4.96347 5.73489C5.16096 5.73489 5.29399 5.76856 5.3637 5.83488C5.43342 5.90139 5.46844 6.0197 5.46844 6.18883C5.46844 6.28236 5.45736 6.38626 5.43438 6.49919C5.41172 6.61282 5.38342 6.73298 5.35013 6.8598L4.97595 8.18419C4.94266 8.32336 4.91834 8.44787 4.90304 8.55843C4.88786 8.66886 4.88057 8.77724 4.88057 8.88262C4.88057 9.15482 4.98114 9.3792 5.18222 9.55627C5.38329 9.73264 5.66523 9.82143 6.02769 9.82143C6.26372 9.82143 6.47088 9.79057 6.64917 9.72854C6.82727 9.6667 7.06644 9.57675 7.36584 9.45858ZM7.29946 4.1002C7.47352 3.93882 7.56014 3.74254 7.56014 3.51272C7.56014 3.28341 7.47365 3.08675 7.29946 2.92331C7.12584 2.76032 6.91657 2.67857 6.6719 2.67857C6.42646 2.67857 6.21635 2.76013 6.04107 2.92331C5.86579 3.08675 5.77796 3.28334 5.77796 3.51272C5.77796 3.74254 5.86579 3.93875 6.04107 4.1002C6.21667 4.26217 6.42639 4.34321 6.6719 4.34321C6.91664 4.34321 7.12584 4.26217 7.29946 4.1002Z",
|
|
13170
|
+
fill: "#C3C3C3"
|
|
13171
|
+
}
|
|
13172
|
+
)
|
|
13167
13173
|
}
|
|
13168
13174
|
)
|
|
13169
13175
|
}
|
|
13170
13176
|
)
|
|
13171
|
-
}
|
|
13172
|
-
|
|
13173
|
-
|
|
13174
|
-
|
|
13177
|
+
] })
|
|
13178
|
+
]
|
|
13179
|
+
}
|
|
13180
|
+
)
|
|
13175
13181
|
},
|
|
13176
13182
|
"table-head-" + index4
|
|
13177
13183
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -12987,64 +12987,70 @@ var TableHead = (props) => {
|
|
|
12987
12987
|
"data-type-co": col?.field?.type_co,
|
|
12988
12988
|
"data-rtc-resizable": col?.name,
|
|
12989
12989
|
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
|
|
12990
|
-
children: /* @__PURE__ */ jsxs29(
|
|
12991
|
-
|
|
12992
|
-
|
|
12993
|
-
|
|
12994
|
-
|
|
12995
|
-
|
|
12996
|
-
|
|
12997
|
-
|
|
12998
|
-
|
|
12999
|
-
|
|
13000
|
-
|
|
13001
|
-
|
|
13002
|
-
|
|
13003
|
-
|
|
13004
|
-
|
|
13005
|
-
|
|
13006
|
-
|
|
13007
|
-
|
|
13008
|
-
|
|
13009
|
-
|
|
13010
|
-
|
|
13011
|
-
|
|
13012
|
-
|
|
13013
|
-
|
|
13014
|
-
|
|
13015
|
-
|
|
13016
|
-
|
|
13017
|
-
|
|
13018
|
-
|
|
13019
|
-
|
|
13020
|
-
minWidth: "12px",
|
|
13021
|
-
maxHeight: "12px",
|
|
13022
|
-
fontSize: "8px"
|
|
13023
|
-
},
|
|
13024
|
-
"data-tooltip-id": `field-help-${col?.field?.name}`,
|
|
13025
|
-
children: /* @__PURE__ */ jsx51(
|
|
13026
|
-
"svg",
|
|
12990
|
+
children: /* @__PURE__ */ jsxs29(
|
|
12991
|
+
"div",
|
|
12992
|
+
{
|
|
12993
|
+
className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${col?.field?.type === "monetary" && "justify-end"}`,
|
|
12994
|
+
children: [
|
|
12995
|
+
/* @__PURE__ */ jsx51("span", { className: "truncate line-clamp-1 w-fit", children: col.title }),
|
|
12996
|
+
col?.field?.help && /* @__PURE__ */ jsxs29(Fragment4, { children: [
|
|
12997
|
+
createPortal(
|
|
12998
|
+
/* @__PURE__ */ jsx51(
|
|
12999
|
+
M,
|
|
13000
|
+
{
|
|
13001
|
+
style: {
|
|
13002
|
+
padding: "6px 12px",
|
|
13003
|
+
fontSize: "12px",
|
|
13004
|
+
borderRadius: "4px",
|
|
13005
|
+
maxWidth: "200px",
|
|
13006
|
+
whiteSpace: "wrap",
|
|
13007
|
+
fontWeight: 400,
|
|
13008
|
+
textTransform: "none",
|
|
13009
|
+
zIndex: "9999"
|
|
13010
|
+
},
|
|
13011
|
+
id: `field-help-${col?.field?.name}`,
|
|
13012
|
+
content: col?.field?.help,
|
|
13013
|
+
place: "top"
|
|
13014
|
+
}
|
|
13015
|
+
),
|
|
13016
|
+
document.body
|
|
13017
|
+
),
|
|
13018
|
+
/* @__PURE__ */ jsx51(
|
|
13019
|
+
"span",
|
|
13027
13020
|
{
|
|
13028
|
-
|
|
13029
|
-
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
|
|
13021
|
+
style: {
|
|
13022
|
+
width: "12px",
|
|
13023
|
+
height: "12px",
|
|
13024
|
+
minWidth: "12px",
|
|
13025
|
+
maxHeight: "12px",
|
|
13026
|
+
fontSize: "8px"
|
|
13027
|
+
},
|
|
13028
|
+
"data-tooltip-id": `field-help-${col?.field?.name}`,
|
|
13033
13029
|
children: /* @__PURE__ */ jsx51(
|
|
13034
|
-
"
|
|
13030
|
+
"svg",
|
|
13035
13031
|
{
|
|
13036
|
-
|
|
13037
|
-
|
|
13038
|
-
|
|
13039
|
-
|
|
13032
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13033
|
+
width: "13",
|
|
13034
|
+
height: "13",
|
|
13035
|
+
viewBox: "0 0 13 13",
|
|
13036
|
+
fill: "none",
|
|
13037
|
+
children: /* @__PURE__ */ jsx51(
|
|
13038
|
+
"path",
|
|
13039
|
+
{
|
|
13040
|
+
fillRule: "evenodd",
|
|
13041
|
+
clipRule: "evenodd",
|
|
13042
|
+
d: "M6.25 12.5C9.70178 12.5 12.5 9.70178 12.5 6.25C12.5 2.79822 9.70178 0 6.25 0C2.79822 0 0 2.79822 0 6.25C0 9.70178 2.79822 12.5 6.25 12.5ZM7.36584 9.45858L7.46565 9.0506C7.41399 9.07486 7.3307 9.10258 7.21649 9.13414C7.10197 9.1657 6.9989 9.18177 6.90831 9.18177C6.71536 9.18177 6.57952 9.15014 6.50065 9.08657C6.42236 9.023 6.38331 8.90342 6.38331 8.72827C6.38331 8.65887 6.39509 8.55542 6.41973 8.42003C6.44361 8.28373 6.47108 8.16261 6.50161 8.05666L6.87419 6.73759C6.91068 6.61653 6.93571 6.48344 6.94916 6.33818C6.96292 6.19325 6.96932 6.09185 6.96932 6.03429C6.96932 5.75614 6.87182 5.53041 6.67676 5.35629C6.4817 5.18229 6.20393 5.09529 5.84396 5.09529C5.64365 5.09529 5.43188 5.13088 5.20776 5.202C4.98363 5.27294 4.74933 5.3584 4.50421 5.4582L4.40415 5.8665C4.47719 5.83949 4.56419 5.81043 4.66598 5.78034C4.76732 5.75038 4.86674 5.73489 4.96347 5.73489C5.16096 5.73489 5.29399 5.76856 5.3637 5.83488C5.43342 5.90139 5.46844 6.0197 5.46844 6.18883C5.46844 6.28236 5.45736 6.38626 5.43438 6.49919C5.41172 6.61282 5.38342 6.73298 5.35013 6.8598L4.97595 8.18419C4.94266 8.32336 4.91834 8.44787 4.90304 8.55843C4.88786 8.66886 4.88057 8.77724 4.88057 8.88262C4.88057 9.15482 4.98114 9.3792 5.18222 9.55627C5.38329 9.73264 5.66523 9.82143 6.02769 9.82143C6.26372 9.82143 6.47088 9.79057 6.64917 9.72854C6.82727 9.6667 7.06644 9.57675 7.36584 9.45858ZM7.29946 4.1002C7.47352 3.93882 7.56014 3.74254 7.56014 3.51272C7.56014 3.28341 7.47365 3.08675 7.29946 2.92331C7.12584 2.76032 6.91657 2.67857 6.6719 2.67857C6.42646 2.67857 6.21635 2.76013 6.04107 2.92331C5.86579 3.08675 5.77796 3.28334 5.77796 3.51272C5.77796 3.74254 5.86579 3.93875 6.04107 4.1002C6.21667 4.26217 6.42639 4.34321 6.6719 4.34321C6.91664 4.34321 7.12584 4.26217 7.29946 4.1002Z",
|
|
13043
|
+
fill: "#C3C3C3"
|
|
13044
|
+
}
|
|
13045
|
+
)
|
|
13040
13046
|
}
|
|
13041
13047
|
)
|
|
13042
13048
|
}
|
|
13043
13049
|
)
|
|
13044
|
-
}
|
|
13045
|
-
|
|
13046
|
-
|
|
13047
|
-
|
|
13050
|
+
] })
|
|
13051
|
+
]
|
|
13052
|
+
}
|
|
13053
|
+
)
|
|
13048
13054
|
},
|
|
13049
13055
|
"table-head-" + index4
|
|
13050
13056
|
);
|
package/dist/widgets.js
CHANGED
|
@@ -12106,64 +12106,70 @@ var TableHead = (props) => {
|
|
|
12106
12106
|
"data-type-co": col?.field?.type_co,
|
|
12107
12107
|
"data-rtc-resizable": col?.name,
|
|
12108
12108
|
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
|
|
12109
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
|
|
12116
|
-
|
|
12117
|
-
|
|
12118
|
-
|
|
12119
|
-
|
|
12120
|
-
|
|
12121
|
-
|
|
12122
|
-
|
|
12123
|
-
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12127
|
-
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12131
|
-
|
|
12132
|
-
|
|
12133
|
-
|
|
12134
|
-
|
|
12135
|
-
|
|
12136
|
-
|
|
12137
|
-
|
|
12138
|
-
|
|
12139
|
-
minWidth: "12px",
|
|
12140
|
-
maxHeight: "12px",
|
|
12141
|
-
fontSize: "8px"
|
|
12142
|
-
},
|
|
12143
|
-
"data-tooltip-id": `field-help-${col?.field?.name}`,
|
|
12144
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
12145
|
-
"svg",
|
|
12109
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
12110
|
+
"div",
|
|
12111
|
+
{
|
|
12112
|
+
className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${col?.field?.type === "monetary" && "justify-end"}`,
|
|
12113
|
+
children: [
|
|
12114
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate line-clamp-1 w-fit", children: col.title }),
|
|
12115
|
+
col?.field?.help && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
|
|
12116
|
+
(0, import_react_dom.createPortal)(
|
|
12117
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
12118
|
+
M,
|
|
12119
|
+
{
|
|
12120
|
+
style: {
|
|
12121
|
+
padding: "6px 12px",
|
|
12122
|
+
fontSize: "12px",
|
|
12123
|
+
borderRadius: "4px",
|
|
12124
|
+
maxWidth: "200px",
|
|
12125
|
+
whiteSpace: "wrap",
|
|
12126
|
+
fontWeight: 400,
|
|
12127
|
+
textTransform: "none",
|
|
12128
|
+
zIndex: "9999"
|
|
12129
|
+
},
|
|
12130
|
+
id: `field-help-${col?.field?.name}`,
|
|
12131
|
+
content: col?.field?.help,
|
|
12132
|
+
place: "top"
|
|
12133
|
+
}
|
|
12134
|
+
),
|
|
12135
|
+
document.body
|
|
12136
|
+
),
|
|
12137
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
12138
|
+
"span",
|
|
12146
12139
|
{
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
|
|
12140
|
+
style: {
|
|
12141
|
+
width: "12px",
|
|
12142
|
+
height: "12px",
|
|
12143
|
+
minWidth: "12px",
|
|
12144
|
+
maxHeight: "12px",
|
|
12145
|
+
fontSize: "8px"
|
|
12146
|
+
},
|
|
12147
|
+
"data-tooltip-id": `field-help-${col?.field?.name}`,
|
|
12152
12148
|
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
12153
|
-
"
|
|
12149
|
+
"svg",
|
|
12154
12150
|
{
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12158
|
-
|
|
12151
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12152
|
+
width: "13",
|
|
12153
|
+
height: "13",
|
|
12154
|
+
viewBox: "0 0 13 13",
|
|
12155
|
+
fill: "none",
|
|
12156
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
12157
|
+
"path",
|
|
12158
|
+
{
|
|
12159
|
+
fillRule: "evenodd",
|
|
12160
|
+
clipRule: "evenodd",
|
|
12161
|
+
d: "M6.25 12.5C9.70178 12.5 12.5 9.70178 12.5 6.25C12.5 2.79822 9.70178 0 6.25 0C2.79822 0 0 2.79822 0 6.25C0 9.70178 2.79822 12.5 6.25 12.5ZM7.36584 9.45858L7.46565 9.0506C7.41399 9.07486 7.3307 9.10258 7.21649 9.13414C7.10197 9.1657 6.9989 9.18177 6.90831 9.18177C6.71536 9.18177 6.57952 9.15014 6.50065 9.08657C6.42236 9.023 6.38331 8.90342 6.38331 8.72827C6.38331 8.65887 6.39509 8.55542 6.41973 8.42003C6.44361 8.28373 6.47108 8.16261 6.50161 8.05666L6.87419 6.73759C6.91068 6.61653 6.93571 6.48344 6.94916 6.33818C6.96292 6.19325 6.96932 6.09185 6.96932 6.03429C6.96932 5.75614 6.87182 5.53041 6.67676 5.35629C6.4817 5.18229 6.20393 5.09529 5.84396 5.09529C5.64365 5.09529 5.43188 5.13088 5.20776 5.202C4.98363 5.27294 4.74933 5.3584 4.50421 5.4582L4.40415 5.8665C4.47719 5.83949 4.56419 5.81043 4.66598 5.78034C4.76732 5.75038 4.86674 5.73489 4.96347 5.73489C5.16096 5.73489 5.29399 5.76856 5.3637 5.83488C5.43342 5.90139 5.46844 6.0197 5.46844 6.18883C5.46844 6.28236 5.45736 6.38626 5.43438 6.49919C5.41172 6.61282 5.38342 6.73298 5.35013 6.8598L4.97595 8.18419C4.94266 8.32336 4.91834 8.44787 4.90304 8.55843C4.88786 8.66886 4.88057 8.77724 4.88057 8.88262C4.88057 9.15482 4.98114 9.3792 5.18222 9.55627C5.38329 9.73264 5.66523 9.82143 6.02769 9.82143C6.26372 9.82143 6.47088 9.79057 6.64917 9.72854C6.82727 9.6667 7.06644 9.57675 7.36584 9.45858ZM7.29946 4.1002C7.47352 3.93882 7.56014 3.74254 7.56014 3.51272C7.56014 3.28341 7.47365 3.08675 7.29946 2.92331C7.12584 2.76032 6.91657 2.67857 6.6719 2.67857C6.42646 2.67857 6.21635 2.76013 6.04107 2.92331C5.86579 3.08675 5.77796 3.28334 5.77796 3.51272C5.77796 3.74254 5.86579 3.93875 6.04107 4.1002C6.21667 4.26217 6.42639 4.34321 6.6719 4.34321C6.91664 4.34321 7.12584 4.26217 7.29946 4.1002Z",
|
|
12162
|
+
fill: "#C3C3C3"
|
|
12163
|
+
}
|
|
12164
|
+
)
|
|
12159
12165
|
}
|
|
12160
12166
|
)
|
|
12161
12167
|
}
|
|
12162
12168
|
)
|
|
12163
|
-
}
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
|
|
12169
|
+
] })
|
|
12170
|
+
]
|
|
12171
|
+
}
|
|
12172
|
+
)
|
|
12167
12173
|
},
|
|
12168
12174
|
"table-head-" + index4
|
|
12169
12175
|
);
|
package/dist/widgets.mjs
CHANGED
|
@@ -12043,64 +12043,70 @@ var TableHead = (props) => {
|
|
|
12043
12043
|
"data-type-co": col?.field?.type_co,
|
|
12044
12044
|
"data-rtc-resizable": col?.name,
|
|
12045
12045
|
className: `column whitespace-nowrap text-left p-3 text-sm font-semibold capitalize text-[#060606]`,
|
|
12046
|
-
children: /* @__PURE__ */ jsxs29(
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
12076
|
-
minWidth: "12px",
|
|
12077
|
-
maxHeight: "12px",
|
|
12078
|
-
fontSize: "8px"
|
|
12079
|
-
},
|
|
12080
|
-
"data-tooltip-id": `field-help-${col?.field?.name}`,
|
|
12081
|
-
children: /* @__PURE__ */ jsx51(
|
|
12082
|
-
"svg",
|
|
12046
|
+
children: /* @__PURE__ */ jsxs29(
|
|
12047
|
+
"div",
|
|
12048
|
+
{
|
|
12049
|
+
className: `cursor-pointer flex items-center gap-[4px] w-full group relative ${col?.field?.type === "monetary" && "justify-end"}`,
|
|
12050
|
+
children: [
|
|
12051
|
+
/* @__PURE__ */ jsx51("span", { className: "truncate line-clamp-1 w-fit", children: col.title }),
|
|
12052
|
+
col?.field?.help && /* @__PURE__ */ jsxs29(Fragment4, { children: [
|
|
12053
|
+
createPortal(
|
|
12054
|
+
/* @__PURE__ */ jsx51(
|
|
12055
|
+
M,
|
|
12056
|
+
{
|
|
12057
|
+
style: {
|
|
12058
|
+
padding: "6px 12px",
|
|
12059
|
+
fontSize: "12px",
|
|
12060
|
+
borderRadius: "4px",
|
|
12061
|
+
maxWidth: "200px",
|
|
12062
|
+
whiteSpace: "wrap",
|
|
12063
|
+
fontWeight: 400,
|
|
12064
|
+
textTransform: "none",
|
|
12065
|
+
zIndex: "9999"
|
|
12066
|
+
},
|
|
12067
|
+
id: `field-help-${col?.field?.name}`,
|
|
12068
|
+
content: col?.field?.help,
|
|
12069
|
+
place: "top"
|
|
12070
|
+
}
|
|
12071
|
+
),
|
|
12072
|
+
document.body
|
|
12073
|
+
),
|
|
12074
|
+
/* @__PURE__ */ jsx51(
|
|
12075
|
+
"span",
|
|
12083
12076
|
{
|
|
12084
|
-
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
|
|
12088
|
-
|
|
12077
|
+
style: {
|
|
12078
|
+
width: "12px",
|
|
12079
|
+
height: "12px",
|
|
12080
|
+
minWidth: "12px",
|
|
12081
|
+
maxHeight: "12px",
|
|
12082
|
+
fontSize: "8px"
|
|
12083
|
+
},
|
|
12084
|
+
"data-tooltip-id": `field-help-${col?.field?.name}`,
|
|
12089
12085
|
children: /* @__PURE__ */ jsx51(
|
|
12090
|
-
"
|
|
12086
|
+
"svg",
|
|
12091
12087
|
{
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12088
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12089
|
+
width: "13",
|
|
12090
|
+
height: "13",
|
|
12091
|
+
viewBox: "0 0 13 13",
|
|
12092
|
+
fill: "none",
|
|
12093
|
+
children: /* @__PURE__ */ jsx51(
|
|
12094
|
+
"path",
|
|
12095
|
+
{
|
|
12096
|
+
fillRule: "evenodd",
|
|
12097
|
+
clipRule: "evenodd",
|
|
12098
|
+
d: "M6.25 12.5C9.70178 12.5 12.5 9.70178 12.5 6.25C12.5 2.79822 9.70178 0 6.25 0C2.79822 0 0 2.79822 0 6.25C0 9.70178 2.79822 12.5 6.25 12.5ZM7.36584 9.45858L7.46565 9.0506C7.41399 9.07486 7.3307 9.10258 7.21649 9.13414C7.10197 9.1657 6.9989 9.18177 6.90831 9.18177C6.71536 9.18177 6.57952 9.15014 6.50065 9.08657C6.42236 9.023 6.38331 8.90342 6.38331 8.72827C6.38331 8.65887 6.39509 8.55542 6.41973 8.42003C6.44361 8.28373 6.47108 8.16261 6.50161 8.05666L6.87419 6.73759C6.91068 6.61653 6.93571 6.48344 6.94916 6.33818C6.96292 6.19325 6.96932 6.09185 6.96932 6.03429C6.96932 5.75614 6.87182 5.53041 6.67676 5.35629C6.4817 5.18229 6.20393 5.09529 5.84396 5.09529C5.64365 5.09529 5.43188 5.13088 5.20776 5.202C4.98363 5.27294 4.74933 5.3584 4.50421 5.4582L4.40415 5.8665C4.47719 5.83949 4.56419 5.81043 4.66598 5.78034C4.76732 5.75038 4.86674 5.73489 4.96347 5.73489C5.16096 5.73489 5.29399 5.76856 5.3637 5.83488C5.43342 5.90139 5.46844 6.0197 5.46844 6.18883C5.46844 6.28236 5.45736 6.38626 5.43438 6.49919C5.41172 6.61282 5.38342 6.73298 5.35013 6.8598L4.97595 8.18419C4.94266 8.32336 4.91834 8.44787 4.90304 8.55843C4.88786 8.66886 4.88057 8.77724 4.88057 8.88262C4.88057 9.15482 4.98114 9.3792 5.18222 9.55627C5.38329 9.73264 5.66523 9.82143 6.02769 9.82143C6.26372 9.82143 6.47088 9.79057 6.64917 9.72854C6.82727 9.6667 7.06644 9.57675 7.36584 9.45858ZM7.29946 4.1002C7.47352 3.93882 7.56014 3.74254 7.56014 3.51272C7.56014 3.28341 7.47365 3.08675 7.29946 2.92331C7.12584 2.76032 6.91657 2.67857 6.6719 2.67857C6.42646 2.67857 6.21635 2.76013 6.04107 2.92331C5.86579 3.08675 5.77796 3.28334 5.77796 3.51272C5.77796 3.74254 5.86579 3.93875 6.04107 4.1002C6.21667 4.26217 6.42639 4.34321 6.6719 4.34321C6.91664 4.34321 7.12584 4.26217 7.29946 4.1002Z",
|
|
12099
|
+
fill: "#C3C3C3"
|
|
12100
|
+
}
|
|
12101
|
+
)
|
|
12096
12102
|
}
|
|
12097
12103
|
)
|
|
12098
12104
|
}
|
|
12099
12105
|
)
|
|
12100
|
-
}
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12106
|
+
] })
|
|
12107
|
+
]
|
|
12108
|
+
}
|
|
12109
|
+
)
|
|
12104
12110
|
},
|
|
12105
12111
|
"table-head-" + index4
|
|
12106
12112
|
);
|