@fctc/sme-widget-ui 1.7.3 → 1.7.5
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 +5 -5
- package/dist/index.mjs +5 -5
- package/dist/widgets.js +5 -5
- package/dist/widgets.mjs +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33868,8 +33868,8 @@ var Many2ManyTagField = (props) => {
|
|
|
33868
33868
|
},
|
|
33869
33869
|
styles: {
|
|
33870
33870
|
control: () => ({
|
|
33871
|
-
maxWidth: "max-content",
|
|
33872
|
-
minWidth: "max-content"
|
|
33871
|
+
maxWidth: isEditTable ? "max-content" : "100%",
|
|
33872
|
+
minWidth: isEditTable ? "max-content" : "100%"
|
|
33873
33873
|
}),
|
|
33874
33874
|
multiValue: (provided, state) => {
|
|
33875
33875
|
const { color, id } = state?.data ?? {};
|
|
@@ -35034,7 +35034,7 @@ var Many2OneField = (props) => {
|
|
|
35034
35034
|
className: "cursor-pointer",
|
|
35035
35035
|
"data-tooltip-id": String(name2) + index4,
|
|
35036
35036
|
id: name2,
|
|
35037
|
-
children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue
|
|
35037
|
+
children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue?.id || propValue
|
|
35038
35038
|
}
|
|
35039
35039
|
)
|
|
35040
35040
|
] });
|
|
@@ -35114,8 +35114,8 @@ var Many2OneField = (props) => {
|
|
|
35114
35114
|
menuPortalTarget: typeof window !== "undefined" ? document.body : null,
|
|
35115
35115
|
styles: {
|
|
35116
35116
|
control: () => ({
|
|
35117
|
-
maxWidth: "max-content",
|
|
35118
|
-
minWidth: "max-content"
|
|
35117
|
+
maxWidth: isEditTable ? "max-content" : "100%",
|
|
35118
|
+
minWidth: isEditTable ? "max-content" : "100%"
|
|
35119
35119
|
}),
|
|
35120
35120
|
container: (base) => ({
|
|
35121
35121
|
...base,
|
package/dist/index.mjs
CHANGED
|
@@ -33747,8 +33747,8 @@ var Many2ManyTagField = (props) => {
|
|
|
33747
33747
|
},
|
|
33748
33748
|
styles: {
|
|
33749
33749
|
control: () => ({
|
|
33750
|
-
maxWidth: "max-content",
|
|
33751
|
-
minWidth: "max-content"
|
|
33750
|
+
maxWidth: isEditTable ? "max-content" : "100%",
|
|
33751
|
+
minWidth: isEditTable ? "max-content" : "100%"
|
|
33752
33752
|
}),
|
|
33753
33753
|
multiValue: (provided, state) => {
|
|
33754
33754
|
const { color, id } = state?.data ?? {};
|
|
@@ -34913,7 +34913,7 @@ var Many2OneField = (props) => {
|
|
|
34913
34913
|
className: "cursor-pointer",
|
|
34914
34914
|
"data-tooltip-id": String(name2) + index4,
|
|
34915
34915
|
id: name2,
|
|
34916
|
-
children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue
|
|
34916
|
+
children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue?.id || propValue
|
|
34917
34917
|
}
|
|
34918
34918
|
)
|
|
34919
34919
|
] });
|
|
@@ -34993,8 +34993,8 @@ var Many2OneField = (props) => {
|
|
|
34993
34993
|
menuPortalTarget: typeof window !== "undefined" ? document.body : null,
|
|
34994
34994
|
styles: {
|
|
34995
34995
|
control: () => ({
|
|
34996
|
-
maxWidth: "max-content",
|
|
34997
|
-
minWidth: "max-content"
|
|
34996
|
+
maxWidth: isEditTable ? "max-content" : "100%",
|
|
34997
|
+
minWidth: isEditTable ? "max-content" : "100%"
|
|
34998
34998
|
}),
|
|
34999
34999
|
container: (base) => ({
|
|
35000
35000
|
...base,
|
package/dist/widgets.js
CHANGED
|
@@ -33492,8 +33492,8 @@ var Many2ManyTagField = (props) => {
|
|
|
33492
33492
|
},
|
|
33493
33493
|
styles: {
|
|
33494
33494
|
control: () => ({
|
|
33495
|
-
maxWidth: "max-content",
|
|
33496
|
-
minWidth: "max-content"
|
|
33495
|
+
maxWidth: isEditTable ? "max-content" : "100%",
|
|
33496
|
+
minWidth: isEditTable ? "max-content" : "100%"
|
|
33497
33497
|
}),
|
|
33498
33498
|
multiValue: (provided, state) => {
|
|
33499
33499
|
const { color, id } = state?.data ?? {};
|
|
@@ -34658,7 +34658,7 @@ var Many2OneField = (props) => {
|
|
|
34658
34658
|
className: "cursor-pointer",
|
|
34659
34659
|
"data-tooltip-id": String(name2) + index4,
|
|
34660
34660
|
id: name2,
|
|
34661
|
-
children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue
|
|
34661
|
+
children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue?.id || propValue
|
|
34662
34662
|
}
|
|
34663
34663
|
)
|
|
34664
34664
|
] });
|
|
@@ -34738,8 +34738,8 @@ var Many2OneField = (props) => {
|
|
|
34738
34738
|
menuPortalTarget: typeof window !== "undefined" ? document.body : null,
|
|
34739
34739
|
styles: {
|
|
34740
34740
|
control: () => ({
|
|
34741
|
-
maxWidth: "max-content",
|
|
34742
|
-
minWidth: "max-content"
|
|
34741
|
+
maxWidth: isEditTable ? "max-content" : "100%",
|
|
34742
|
+
minWidth: isEditTable ? "max-content" : "100%"
|
|
34743
34743
|
}),
|
|
34744
34744
|
container: (base) => ({
|
|
34745
34745
|
...base,
|
package/dist/widgets.mjs
CHANGED
|
@@ -33429,8 +33429,8 @@ var Many2ManyTagField = (props) => {
|
|
|
33429
33429
|
},
|
|
33430
33430
|
styles: {
|
|
33431
33431
|
control: () => ({
|
|
33432
|
-
maxWidth: "max-content",
|
|
33433
|
-
minWidth: "max-content"
|
|
33432
|
+
maxWidth: isEditTable ? "max-content" : "100%",
|
|
33433
|
+
minWidth: isEditTable ? "max-content" : "100%"
|
|
33434
33434
|
}),
|
|
33435
33435
|
multiValue: (provided, state) => {
|
|
33436
33436
|
const { color, id } = state?.data ?? {};
|
|
@@ -34595,7 +34595,7 @@ var Many2OneField = (props) => {
|
|
|
34595
34595
|
className: "cursor-pointer",
|
|
34596
34596
|
"data-tooltip-id": String(name2) + index4,
|
|
34597
34597
|
id: name2,
|
|
34598
|
-
children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue
|
|
34598
|
+
children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue?.id || propValue
|
|
34599
34599
|
}
|
|
34600
34600
|
)
|
|
34601
34601
|
] });
|
|
@@ -34675,8 +34675,8 @@ var Many2OneField = (props) => {
|
|
|
34675
34675
|
menuPortalTarget: typeof window !== "undefined" ? document.body : null,
|
|
34676
34676
|
styles: {
|
|
34677
34677
|
control: () => ({
|
|
34678
|
-
maxWidth: "max-content",
|
|
34679
|
-
minWidth: "max-content"
|
|
34678
|
+
maxWidth: isEditTable ? "max-content" : "100%",
|
|
34679
|
+
minWidth: isEditTable ? "max-content" : "100%"
|
|
34680
34680
|
}),
|
|
34681
34681
|
container: (base) => ({
|
|
34682
34682
|
...base,
|