@lemon-fe/components 1.4.23-alpha.0 → 1.4.23
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/es/data-grid/components/custom-panel/field-modal.js +3 -1
- package/es/data-grid/locale/en_US.js +1 -0
- package/es/data-grid/locale/locale.d.ts +1 -0
- package/es/data-grid/locale/vi.js +1 -0
- package/es/data-grid/locale/zh_CN.js +1 -0
- package/es/data-grid/locale/zh_Hant_HK.js +1 -0
- package/package.json +2 -2
|
@@ -245,7 +245,9 @@ export default function FieldModal(props) {
|
|
|
245
245
|
label: " ",
|
|
246
246
|
name: "summary",
|
|
247
247
|
valuePropName: "checked"
|
|
248
|
-
}, /*#__PURE__*/React.createElement(Checkbox, null, fieldModal.summaryText
|
|
248
|
+
}, /*#__PURE__*/React.createElement(Checkbox, null, fieldModal.summaryText, /*#__PURE__*/React.createElement(TipMark, {
|
|
249
|
+
infoContent: fieldModal.summaryTextTooltip
|
|
250
|
+
}))), /*#__PURE__*/React.createElement(Form.Item, {
|
|
249
251
|
name: "summaryType",
|
|
250
252
|
label: /*#__PURE__*/React.createElement("span", null, fieldModal.summaryTypeText, /*#__PURE__*/React.createElement(TipMark, {
|
|
251
253
|
infoContent: /*#__PURE__*/React.createElement("div", {
|
|
@@ -34,6 +34,7 @@ var locale = {
|
|
|
34
34
|
customColumnDecimalPlacesText: 'Decimal places',
|
|
35
35
|
customColumnParentHeaderText: 'The corresponding superior header',
|
|
36
36
|
summaryText: 'Summary or not',
|
|
37
|
+
summaryTextTooltip: 'Fields used in custom formulas must display aggregated values; otherwise, the calculation of totals will not be possible',
|
|
37
38
|
summaryTypeText: 'Rule',
|
|
38
39
|
summaryTypeContentText: "\n <div>\n <p>1. The sum of custom column data values to get the total value</p>\n <p>\n 2. The total value is calculated based on a formula from the data source (this total value is not available for export)\n <br />\n The total value of the field columns added to the formula is calculated based on the formula to derive the custom column total. This is typically used when the custom column represents a percentage, such as gross margin percentage\n </p>\n </div>\n ",
|
|
39
40
|
customSummaryDataText: 'Sum of custom column data values to get the total value',
|
|
@@ -13,6 +13,7 @@ export interface DataGridLocale {
|
|
|
13
13
|
customColumnDecimalPlacesText: string;
|
|
14
14
|
customColumnParentHeaderText: string;
|
|
15
15
|
summaryText: string;
|
|
16
|
+
summaryTextTooltip: string;
|
|
16
17
|
summaryTypeText: string;
|
|
17
18
|
summaryTypeContentText: string;
|
|
18
19
|
customSummaryDataText: string;
|
|
@@ -31,6 +31,7 @@ var locale = {
|
|
|
31
31
|
customColumnDecimalPlacesText: 'Số chữ số thập phân',
|
|
32
32
|
customColumnParentHeaderText: 'Tiêu đề bảng cấp trên mà nó thuộc về',
|
|
33
33
|
summaryText: 'Có thống kê tổng cộng không?',
|
|
34
|
+
summaryTextTooltip: 'Các trường trong công thức tùy chỉnh cần hiển thị giá trị tổng hợp, nếu không sẽ không thể tính tổng (hoặc tổng hợp) giá trị',
|
|
34
35
|
summaryTypeText: 'Quy tắc tính tổng cộng',
|
|
35
36
|
summaryTypeContentText: "\n <div>\n <p>1. T\xEDnh t\u1ED5ng gi\xE1 tr\u1ECB d\u1EEF li\u1EC7u c\u1EE7a c\u1ED9t t\xF9y ch\u1EC9nh \u0111\u1EC3 c\xF3 \u0111\u01B0\u1EE3c gi\xE1 tr\u1ECB t\u1ED5ng c\u1ED9ng.</p>\n <p>\n 2. Gi\xE1 tr\u1ECB t\u1ED5ng \u0111\u01B0\u1EE3c t\xEDnh to\xE1n t\u1EEB ngu\u1ED3n d\u1EEF li\u1EC7u d\u1EF1a tr\xEAn c\xF4ng th\u1EE9c t\xEDnh (gi\xE1 tr\u1ECB t\u1ED5ng n\xE0y kh\xF4ng h\u1ED7 tr\u1EE3 xu\u1EA5t).\n <br />\n Gi\xE1 tr\u1ECB t\u1ED5ng c\u1EE7a c\xE1c c\u1ED9t d\u1EEF li\u1EC7u \u0111\u01B0\u1EE3c th\xEAm v\xE0o c\xF4ng th\u1EE9c \u0111\u01B0\u1EE3c t\xEDnh to\xE1n theo c\xF4ng th\u1EE9c \u0111\u1EC3 ra gi\xE1 tr\u1ECB t\u1ED5ng c\u1EE7a c\u1ED9t t\xF9y ch\u1EC9nh, th\u01B0\u1EDDng \u0111\u01B0\u1EE3c \xE1p d\u1EE5ng khi c\u1ED9t t\xF9y ch\u1EC9nh l\xE0 t\u1EF7 l\u1EC7 ph\u1EA7n tr\u0103m, ch\u1EB3ng h\u1EA1n nh\u01B0 t\u1EF7 su\u1EA5t l\u1EE3i nhu\u1EADn g\u1ED9p.\n </p>\n </div>\n ",
|
|
36
37
|
customSummaryDataText: 'Tính tổng giá trị dữ liệu của cột tùy chỉnh để có được giá trị tổng cộng',
|
|
@@ -31,6 +31,7 @@ var locale = {
|
|
|
31
31
|
customColumnDecimalPlacesText: '小数位数',
|
|
32
32
|
customColumnParentHeaderText: '所属上级表头',
|
|
33
33
|
summaryText: '是否统计合计',
|
|
34
|
+
summaryTextTooltip: '自定义公式内的字段需要显示合计值,否则无法合计值合计',
|
|
34
35
|
summaryTypeText: '合计规则',
|
|
35
36
|
summaryTypeContentText: "\n <div>\n <p>1\u3001\u81EA\u5B9A\u4E49\u5217\u6570\u636E\u503C\u6C42\u548C\u5F97\u51FA\u5408\u8BA1\u503C</p>\n <p>\n 2\u3001\u6570\u636E\u6E90\u6839\u636E\u8BA1\u7B97\u516C\u5F0F\u5F97\u51FA\u5408\u8BA1\u503C(\u8BE5\u5408\u8BA1\u503C\u4E0D\u652F\u6301\u5BFC\u51FA)\n <br />\n \u516C\u5F0F\u4E2D\u6DFB\u52A0\u7684\u5B57\u6BB5\u5217\u6570\u636E\u5408\u8BA1\u503C\u6309\u8BA1\u7B97\u516C\u5F0F\u7B97\u51FA\u81EA\u5B9A\u4E49\u5217\u5408\u8BA1\u503C\uFF0C\u4E00\u822C\u7528\u4E8E\u81EA\u5B9A\u4E49\u5217\u662F\u767E\u5206\u6BD4\u7684\u60C5\u51B5\uFF0C\u6BD4\u5982\u6BDB\u5229\u7387\n </p>\n </div>\n ",
|
|
36
37
|
customSummaryDataText: '自定义列数据值求和得出合计值',
|
|
@@ -31,6 +31,7 @@ var locale = {
|
|
|
31
31
|
customColumnDecimalPlacesText: '小數位數',
|
|
32
32
|
customColumnParentHeaderText: '所屬上級表頭',
|
|
33
33
|
summaryText: '是否統計合計',
|
|
34
|
+
summaryTextTooltip: '自定義公式內的字段需要顯示合計值,否則無法合計值合計',
|
|
34
35
|
summaryTypeText: '合計規則',
|
|
35
36
|
summaryTypeContentText: "\n <div>\n <p>1\u3001\u81EA\u5B9A\u7FA9\u5217\u6578\u64DA\u503C\u6C42\u548C\u5F97\u51FA\u5408\u8A08\u503C</p>\n <p>\n 2\u3001\u6578\u64DA\u6E90\u6839\u64DA\u8A08\u7B97\u516C\u5F0F\u5F97\u51FA\u7E3D\u8A08\u503C(\u8A72\u7E3D\u8A08\u503C\u4E0D\u652F\u63F4\u5C0E\u51FA)\n <br />\n \u516C\u5F0F\u4E2D\u6DFB\u52A0\u7684\u5B57\u6BB5\u5217\u6578\u64DA\u7E3D\u8A08\u503C\u6703\u6309\u8A08\u7B97\u516C\u5F0F\u5F97\u51FA\u81EA\u5B9A\u7FA9\u5217\u7684\u7E3D\u8A08\u503C\uFF0C\u6B64\u65B9\u6CD5\u901A\u5E38\u7528\u65BC\u81EA\u5B9A\u7FA9\u5217\u70BA\u767E\u5206\u6BD4\u7684\u60C5\u6CC1\uFF0C\u4F8B\u5982\u6BDB\u5229\u7387\n </p>\n </div>\n ",
|
|
36
37
|
customSummaryDataText: '自定義列數據值求和得出合計值',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "1.4.23
|
|
3
|
+
"version": "1.4.23",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"registry": "https://registry.npmjs.org"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "c3d8070a21dfdb8b63295e76dd0b8484a94d372a"
|
|
62
62
|
}
|