@fctc/sme-widget-ui 1.4.2 → 1.4.3

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 CHANGED
@@ -34399,7 +34399,7 @@ var Many2ManyField = (props) => {
34399
34399
  handleCheckBoxAll
34400
34400
  }
34401
34401
  ),
34402
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
34402
+ rows?.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
34403
34403
  TableBody,
34404
34404
  {
34405
34405
  tableGroupController,
@@ -34439,7 +34439,20 @@ var Many2ManyField = (props) => {
34439
34439
  checkedAll,
34440
34440
  context
34441
34441
  }
34442
- )
34442
+ ) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
34443
+ "td",
34444
+ {
34445
+ className: "w-full",
34446
+ colSpan: columns?.length + 2,
34447
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
34448
+ "div",
34449
+ {
34450
+ className: `flex flex-col items-center justify-center gap-3 py-6`,
34451
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(EmptyTable, {})
34452
+ }
34453
+ )
34454
+ }
34455
+ ) })
34443
34456
  ]
34444
34457
  }
34445
34458
  ) })
package/dist/index.mjs CHANGED
@@ -34280,7 +34280,7 @@ var Many2ManyField = (props) => {
34280
34280
  handleCheckBoxAll
34281
34281
  }
34282
34282
  ),
34283
- /* @__PURE__ */ jsx103(
34283
+ rows?.length > 0 ? /* @__PURE__ */ jsx103(
34284
34284
  TableBody,
34285
34285
  {
34286
34286
  tableGroupController,
@@ -34320,7 +34320,20 @@ var Many2ManyField = (props) => {
34320
34320
  checkedAll,
34321
34321
  context
34322
34322
  }
34323
- )
34323
+ ) : /* @__PURE__ */ jsx103("tr", { children: /* @__PURE__ */ jsx103(
34324
+ "td",
34325
+ {
34326
+ className: "w-full",
34327
+ colSpan: columns?.length + 2,
34328
+ children: /* @__PURE__ */ jsx103(
34329
+ "div",
34330
+ {
34331
+ className: `flex flex-col items-center justify-center gap-3 py-6`,
34332
+ children: /* @__PURE__ */ jsx103(EmptyTable, {})
34333
+ }
34334
+ )
34335
+ }
34336
+ ) })
34324
34337
  ]
34325
34338
  }
34326
34339
  ) })
package/dist/widgets.js CHANGED
@@ -34025,7 +34025,7 @@ var Many2ManyField = (props) => {
34025
34025
  handleCheckBoxAll
34026
34026
  }
34027
34027
  ),
34028
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
34028
+ rows?.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
34029
34029
  TableBody,
34030
34030
  {
34031
34031
  tableGroupController,
@@ -34065,7 +34065,20 @@ var Many2ManyField = (props) => {
34065
34065
  checkedAll,
34066
34066
  context
34067
34067
  }
34068
- )
34068
+ ) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
34069
+ "td",
34070
+ {
34071
+ className: "w-full",
34072
+ colSpan: columns?.length + 2,
34073
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
34074
+ "div",
34075
+ {
34076
+ className: `flex flex-col items-center justify-center gap-3 py-6`,
34077
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(EmptyTable, {})
34078
+ }
34079
+ )
34080
+ }
34081
+ ) })
34069
34082
  ]
34070
34083
  }
34071
34084
  ) })
package/dist/widgets.mjs CHANGED
@@ -33962,7 +33962,7 @@ var Many2ManyField = (props) => {
33962
33962
  handleCheckBoxAll
33963
33963
  }
33964
33964
  ),
33965
- /* @__PURE__ */ jsx103(
33965
+ rows?.length > 0 ? /* @__PURE__ */ jsx103(
33966
33966
  TableBody,
33967
33967
  {
33968
33968
  tableGroupController,
@@ -34002,7 +34002,20 @@ var Many2ManyField = (props) => {
34002
34002
  checkedAll,
34003
34003
  context
34004
34004
  }
34005
- )
34005
+ ) : /* @__PURE__ */ jsx103("tr", { children: /* @__PURE__ */ jsx103(
34006
+ "td",
34007
+ {
34008
+ className: "w-full",
34009
+ colSpan: columns?.length + 2,
34010
+ children: /* @__PURE__ */ jsx103(
34011
+ "div",
34012
+ {
34013
+ className: `flex flex-col items-center justify-center gap-3 py-6`,
34014
+ children: /* @__PURE__ */ jsx103(EmptyTable, {})
34015
+ }
34016
+ )
34017
+ }
34018
+ ) })
34006
34019
  ]
34007
34020
  }
34008
34021
  ) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",