@fctc/sme-widget-ui 1.4.0 → 1.4.2

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
@@ -34337,7 +34337,7 @@ var Many2ManyField = (props) => {
34337
34337
  handleAddTagSearch,
34338
34338
  searchBy,
34339
34339
  groupBy,
34340
- showFiltersGroups: true,
34340
+ showFiltersGroups: filterBy && filterBy?.length > 0 || groupBy && groupBy?.length > 0,
34341
34341
  setGroupBy,
34342
34342
  setDomainList: setDomain,
34343
34343
  setPage: (pages) => {
@@ -34508,7 +34508,7 @@ var CustomMenuList = (props) => {
34508
34508
  {
34509
34509
  type: "button",
34510
34510
  onClick: () => setIsShowModalMany2Many(true),
34511
- className: "text-primary text-sm text-left w-full hover:bg-blue-100 italic font-medium py-1 px-3",
34511
+ className: "searh-more text-primary text-sm text-left w-full italic font-medium py-1 px-3",
34512
34512
  children: [
34513
34513
  instance.t("search_more"),
34514
34514
  "..."
@@ -34658,11 +34658,11 @@ var Many2OneField = (props) => {
34658
34658
  }),
34659
34659
  menuPortal: (base) => ({
34660
34660
  ...base,
34661
- zIndex: 9999
34661
+ zIndex: 999
34662
34662
  }),
34663
34663
  menu: (base) => ({
34664
34664
  ...base,
34665
- zIndex: 9999,
34665
+ zIndex: 999,
34666
34666
  width: isEditTable ? "auto" : "100%",
34667
34667
  minWidth: isEditTable ? "200px" : "100%"
34668
34668
  })
package/dist/index.mjs CHANGED
@@ -34218,7 +34218,7 @@ var Many2ManyField = (props) => {
34218
34218
  handleAddTagSearch,
34219
34219
  searchBy,
34220
34220
  groupBy,
34221
- showFiltersGroups: true,
34221
+ showFiltersGroups: filterBy && filterBy?.length > 0 || groupBy && groupBy?.length > 0,
34222
34222
  setGroupBy,
34223
34223
  setDomainList: setDomain,
34224
34224
  setPage: (pages) => {
@@ -34389,7 +34389,7 @@ var CustomMenuList = (props) => {
34389
34389
  {
34390
34390
  type: "button",
34391
34391
  onClick: () => setIsShowModalMany2Many(true),
34392
- className: "text-primary text-sm text-left w-full hover:bg-blue-100 italic font-medium py-1 px-3",
34392
+ className: "searh-more text-primary text-sm text-left w-full italic font-medium py-1 px-3",
34393
34393
  children: [
34394
34394
  instance.t("search_more"),
34395
34395
  "..."
@@ -34539,11 +34539,11 @@ var Many2OneField = (props) => {
34539
34539
  }),
34540
34540
  menuPortal: (base) => ({
34541
34541
  ...base,
34542
- zIndex: 9999
34542
+ zIndex: 999
34543
34543
  }),
34544
34544
  menu: (base) => ({
34545
34545
  ...base,
34546
- zIndex: 9999,
34546
+ zIndex: 999,
34547
34547
  width: isEditTable ? "auto" : "100%",
34548
34548
  minWidth: isEditTable ? "200px" : "100%"
34549
34549
  })
package/dist/widgets.js CHANGED
@@ -33963,7 +33963,7 @@ var Many2ManyField = (props) => {
33963
33963
  handleAddTagSearch,
33964
33964
  searchBy,
33965
33965
  groupBy,
33966
- showFiltersGroups: true,
33966
+ showFiltersGroups: filterBy && filterBy?.length > 0 || groupBy && groupBy?.length > 0,
33967
33967
  setGroupBy,
33968
33968
  setDomainList: setDomain,
33969
33969
  setPage: (pages) => {
@@ -34134,7 +34134,7 @@ var CustomMenuList = (props) => {
34134
34134
  {
34135
34135
  type: "button",
34136
34136
  onClick: () => setIsShowModalMany2Many(true),
34137
- className: "text-primary text-sm text-left w-full hover:bg-blue-100 italic font-medium py-1 px-3",
34137
+ className: "searh-more text-primary text-sm text-left w-full italic font-medium py-1 px-3",
34138
34138
  children: [
34139
34139
  instance.t("search_more"),
34140
34140
  "..."
@@ -34284,11 +34284,11 @@ var Many2OneField = (props) => {
34284
34284
  }),
34285
34285
  menuPortal: (base) => ({
34286
34286
  ...base,
34287
- zIndex: 9999
34287
+ zIndex: 999
34288
34288
  }),
34289
34289
  menu: (base) => ({
34290
34290
  ...base,
34291
- zIndex: 9999,
34291
+ zIndex: 999,
34292
34292
  width: isEditTable ? "auto" : "100%",
34293
34293
  minWidth: isEditTable ? "200px" : "100%"
34294
34294
  })
package/dist/widgets.mjs CHANGED
@@ -33900,7 +33900,7 @@ var Many2ManyField = (props) => {
33900
33900
  handleAddTagSearch,
33901
33901
  searchBy,
33902
33902
  groupBy,
33903
- showFiltersGroups: true,
33903
+ showFiltersGroups: filterBy && filterBy?.length > 0 || groupBy && groupBy?.length > 0,
33904
33904
  setGroupBy,
33905
33905
  setDomainList: setDomain,
33906
33906
  setPage: (pages) => {
@@ -34071,7 +34071,7 @@ var CustomMenuList = (props) => {
34071
34071
  {
34072
34072
  type: "button",
34073
34073
  onClick: () => setIsShowModalMany2Many(true),
34074
- className: "text-primary text-sm text-left w-full hover:bg-blue-100 italic font-medium py-1 px-3",
34074
+ className: "searh-more text-primary text-sm text-left w-full italic font-medium py-1 px-3",
34075
34075
  children: [
34076
34076
  instance.t("search_more"),
34077
34077
  "..."
@@ -34221,11 +34221,11 @@ var Many2OneField = (props) => {
34221
34221
  }),
34222
34222
  menuPortal: (base) => ({
34223
34223
  ...base,
34224
- zIndex: 9999
34224
+ zIndex: 999
34225
34225
  }),
34226
34226
  menu: (base) => ({
34227
34227
  ...base,
34228
- zIndex: 9999,
34228
+ zIndex: 999,
34229
34229
  width: isEditTable ? "auto" : "100%",
34230
34230
  minWidth: isEditTable ? "200px" : "100%"
34231
34231
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",