@flozy/editor 10.4.3 → 10.4.4
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/Editor/Elements/DataView/Layouts/ColumnView.js +4 -2
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/MultiSelect.js +4 -2
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +4 -2
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +8 -4
- package/dist/Editor/common/LinkSettings/NavComponents.js +1 -2
- package/dist/Editor/common/LinkSettings/index.js +0 -1
- package/package.json +1 -1
@@ -14,7 +14,8 @@ const ColumnView = props => {
|
|
14
14
|
property,
|
15
15
|
onSelect,
|
16
16
|
selected,
|
17
|
-
readOnly
|
17
|
+
readOnly,
|
18
|
+
translation
|
18
19
|
} = props;
|
19
20
|
const {
|
20
21
|
type
|
@@ -60,7 +61,8 @@ const ColumnView = props => {
|
|
60
61
|
readOnly: readOnly,
|
61
62
|
settings: {
|
62
63
|
wrapColumn: property?.wrapColumn
|
63
|
-
}
|
64
|
+
},
|
65
|
+
translation: translation
|
64
66
|
}), needAnchor && !readOnly ? /*#__PURE__*/_jsx(Popper, {
|
65
67
|
sx: classes.root,
|
66
68
|
open: open,
|
@@ -33,7 +33,8 @@ const MultiSelectWithPopover = props => {
|
|
33
33
|
onChange,
|
34
34
|
onUpdate,
|
35
35
|
property,
|
36
|
-
wrapColumn = false
|
36
|
+
wrapColumn = false,
|
37
|
+
translation
|
37
38
|
} = props;
|
38
39
|
const [anchorEl, setAnchorEl] = useState(null);
|
39
40
|
const [anchorElOption, setAnchorElOption] = useState(null);
|
@@ -442,7 +443,8 @@ const MultiSelectWithPopover = props => {
|
|
442
443
|
anchorEl: anchorElOption,
|
443
444
|
mode: mode,
|
444
445
|
onClose: onClose,
|
445
|
-
onEvent: onEditOption
|
446
|
+
onEvent: onEditOption,
|
447
|
+
translation: translation
|
446
448
|
}) : null, showSnackBar ? /*#__PURE__*/_jsx(SnackbarAlert, {
|
447
449
|
message: "Option already selected!",
|
448
450
|
setShowSnackBar: setShowSnackBar
|
@@ -10,7 +10,8 @@ const MultiSelectType = props => {
|
|
10
10
|
options,
|
11
11
|
label = "",
|
12
12
|
readOnly,
|
13
|
-
settings
|
13
|
+
settings,
|
14
|
+
translation
|
14
15
|
} = props;
|
15
16
|
const {
|
16
17
|
onChange,
|
@@ -51,7 +52,8 @@ const MultiSelectType = props => {
|
|
51
52
|
placeholder: label,
|
52
53
|
disabled: readOnly,
|
53
54
|
property: property,
|
54
|
-
wrapColumn: wrapColumn
|
55
|
+
wrapColumn: wrapColumn,
|
56
|
+
translation: translation
|
55
57
|
});
|
56
58
|
};
|
57
59
|
export default MultiSelectType;
|
@@ -11,7 +11,8 @@ const RenderRow = props => {
|
|
11
11
|
properties,
|
12
12
|
onSelect,
|
13
13
|
selected,
|
14
|
-
readOnly
|
14
|
+
readOnly,
|
15
|
+
translation
|
15
16
|
} = props;
|
16
17
|
const showProperties = properties?.filter(f => f.visible);
|
17
18
|
return showProperties?.map((property, i) => {
|
@@ -22,7 +23,8 @@ const RenderRow = props => {
|
|
22
23
|
property: property,
|
23
24
|
onSelect: onSelect,
|
24
25
|
selected: selected,
|
25
|
-
readOnly: readOnly
|
26
|
+
readOnly: readOnly,
|
27
|
+
translation: translation
|
26
28
|
}, `${property.key}_${i}`);
|
27
29
|
});
|
28
30
|
};
|
@@ -33,7 +35,8 @@ const ViewData = props => {
|
|
33
35
|
customProps
|
34
36
|
} = props;
|
35
37
|
const {
|
36
|
-
readOnly
|
38
|
+
readOnly,
|
39
|
+
translation
|
37
40
|
} = customProps || {};
|
38
41
|
const {
|
39
42
|
properties,
|
@@ -67,7 +70,8 @@ const ViewData = props => {
|
|
67
70
|
properties: properties,
|
68
71
|
onSelect: onSelect,
|
69
72
|
selected: selectedRows?.includes(row?.id),
|
70
|
-
readOnly: readOnly
|
73
|
+
readOnly: readOnly,
|
74
|
+
translation: translation
|
71
75
|
}), /*#__PURE__*/_jsx("td", {}), /*#__PURE__*/_jsx("td", {})]
|
72
76
|
}, i);
|
73
77
|
}), /*#__PURE__*/_jsx("tr", {
|
@@ -192,8 +192,7 @@ export const ScrollTopBottom = props => {
|
|
192
192
|
value: value,
|
193
193
|
onChange: e => onChange(e.target.value),
|
194
194
|
MenuProps: {
|
195
|
-
sx: classes.customSelect
|
196
|
-
disablePortal: true
|
195
|
+
sx: classes.customSelect
|
197
196
|
},
|
198
197
|
children: scrollToOptions.map((option, i) => {
|
199
198
|
return /*#__PURE__*/_jsx(MenuItem, {
|