dtable-ui-component 6.0.102-alpha.2 → 6.0.102-alpha.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.
|
@@ -39,6 +39,11 @@ const COLUMNS_ICON_CONFIG = {
|
|
|
39
39
|
[_dtableUtils.CellType.DIGITAL_SIGN]: 'dtable-font dtable-icon-handwritten-signature',
|
|
40
40
|
[_dtableUtils.CellType.DEPARTMENT_SINGLE_SELECT]: 'dtable-font dtable-icon-department-single-selection'
|
|
41
41
|
};
|
|
42
|
+
const COLUMN_DISPLAY_TYPE_ICON_CONFIG = {
|
|
43
|
+
[_dtableUtils.CellType.TEXT]: {
|
|
44
|
+
[_dtableUtils.TEXT_DISPLAY_TYPE_MAP.PHONE]: 'telephone'
|
|
45
|
+
}
|
|
46
|
+
};
|
|
42
47
|
const DTableColumnIcon = _ref => {
|
|
43
48
|
let {
|
|
44
49
|
column,
|
|
@@ -49,11 +54,6 @@ const DTableColumnIcon = _ref => {
|
|
|
49
54
|
} = _ref;
|
|
50
55
|
const columnType = column === null || column === void 0 ? void 0 : column.type;
|
|
51
56
|
if (!columnType) return null;
|
|
52
|
-
const COLUMN_DISPLAY_TYPE_ICON_CONFIG = {
|
|
53
|
-
[_dtableUtils.CellType.TEXT]: {
|
|
54
|
-
[_dtableUtils.TEXT_DISPLAY_TYPE_MAP.PHONE]: 'telephone'
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
57
|
const columnDisplayType = (0, _dtableUtils.getColumnDisplayType)(column);
|
|
58
58
|
let symbol = null;
|
|
59
59
|
let displayTypeIconConfig = COLUMN_DISPLAY_TYPE_ICON_CONFIG[columnType];
|