@fctc/sme-widget-ui 2.1.9 → 2.2.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 +2 -2
- package/dist/index.mjs +2 -2
- package/dist/widgets.js +2 -2
- package/dist/widgets.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10962,7 +10962,7 @@ var Row = (props) => {
|
|
|
10962
10962
|
"tr",
|
|
10963
10963
|
{
|
|
10964
10964
|
"data-row-id": row?.id,
|
|
10965
|
-
className: `border-b border-[#e8e8e8] cursor-pointer`,
|
|
10965
|
+
className: `border-b border-[#e8e8e8] cursor-pointer ${indexRow % 2 === 0 ? "bg-[#EEF3FB]" : "bg-white"}`,
|
|
10966
10966
|
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
10967
10967
|
isDisplayCheckbox && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
10968
10968
|
"td",
|
|
@@ -16969,7 +16969,7 @@ var BinaryField = (props) => {
|
|
|
16969
16969
|
Controller,
|
|
16970
16970
|
{
|
|
16971
16971
|
name: name2 ?? "",
|
|
16972
|
-
control: methods
|
|
16972
|
+
control: methods?.control,
|
|
16973
16973
|
rules: {
|
|
16974
16974
|
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16975
16975
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -10836,7 +10836,7 @@ var Row = (props) => {
|
|
|
10836
10836
|
"tr",
|
|
10837
10837
|
{
|
|
10838
10838
|
"data-row-id": row?.id,
|
|
10839
|
-
className: `border-b border-[#e8e8e8] cursor-pointer`,
|
|
10839
|
+
className: `border-b border-[#e8e8e8] cursor-pointer ${indexRow % 2 === 0 ? "bg-[#EEF3FB]" : "bg-white"}`,
|
|
10840
10840
|
children: /* @__PURE__ */ jsxs26(Fragment3, { children: [
|
|
10841
10841
|
isDisplayCheckbox && /* @__PURE__ */ jsx47(
|
|
10842
10842
|
"td",
|
|
@@ -16843,7 +16843,7 @@ var BinaryField = (props) => {
|
|
|
16843
16843
|
Controller,
|
|
16844
16844
|
{
|
|
16845
16845
|
name: name2 ?? "",
|
|
16846
|
-
control: methods
|
|
16846
|
+
control: methods?.control,
|
|
16847
16847
|
rules: {
|
|
16848
16848
|
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16849
16849
|
},
|
package/dist/widgets.js
CHANGED
|
@@ -9954,7 +9954,7 @@ var Row = (props) => {
|
|
|
9954
9954
|
"tr",
|
|
9955
9955
|
{
|
|
9956
9956
|
"data-row-id": row?.id,
|
|
9957
|
-
className: `border-b border-[#e8e8e8] cursor-pointer`,
|
|
9957
|
+
className: `border-b border-[#e8e8e8] cursor-pointer ${indexRow % 2 === 0 ? "bg-[#EEF3FB]" : "bg-white"}`,
|
|
9958
9958
|
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
9959
9959
|
isDisplayCheckbox && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
9960
9960
|
"td",
|
|
@@ -16220,7 +16220,7 @@ var BinaryField = (props) => {
|
|
|
16220
16220
|
Controller,
|
|
16221
16221
|
{
|
|
16222
16222
|
name: name2 ?? "",
|
|
16223
|
-
control: methods
|
|
16223
|
+
control: methods?.control,
|
|
16224
16224
|
rules: {
|
|
16225
16225
|
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16226
16226
|
},
|
package/dist/widgets.mjs
CHANGED
|
@@ -9892,7 +9892,7 @@ var Row = (props) => {
|
|
|
9892
9892
|
"tr",
|
|
9893
9893
|
{
|
|
9894
9894
|
"data-row-id": row?.id,
|
|
9895
|
-
className: `border-b border-[#e8e8e8] cursor-pointer`,
|
|
9895
|
+
className: `border-b border-[#e8e8e8] cursor-pointer ${indexRow % 2 === 0 ? "bg-[#EEF3FB]" : "bg-white"}`,
|
|
9896
9896
|
children: /* @__PURE__ */ jsxs26(Fragment3, { children: [
|
|
9897
9897
|
isDisplayCheckbox && /* @__PURE__ */ jsx47(
|
|
9898
9898
|
"td",
|
|
@@ -16158,7 +16158,7 @@ var BinaryField = (props) => {
|
|
|
16158
16158
|
Controller,
|
|
16159
16159
|
{
|
|
16160
16160
|
name: name2 ?? "",
|
|
16161
|
-
control: methods
|
|
16161
|
+
control: methods?.control,
|
|
16162
16162
|
rules: {
|
|
16163
16163
|
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16164
16164
|
},
|