datastake-daf 0.6.342 → 0.6.343

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.
@@ -55870,7 +55870,7 @@ const getColumns$1 = ({
55870
55870
  });
55871
55871
  }
55872
55872
  }, {
55873
- title: t("category"),
55873
+ title: t("Category"),
55874
55874
  dataIndex: "category",
55875
55875
  key: "category",
55876
55876
  render: (value, all) => {
@@ -55881,7 +55881,7 @@ const getColumns$1 = ({
55881
55881
  });
55882
55882
  }
55883
55883
  }, {
55884
- title: t("country"),
55884
+ title: t("Country"),
55885
55885
  dataIndex: "country",
55886
55886
  key: "country",
55887
55887
  render: (value, all) => {
@@ -55964,7 +55964,7 @@ function CombineLocationModal({
55964
55964
  };
55965
55965
  return /*#__PURE__*/jsxRuntime.jsxs(Modal, {
55966
55966
  open: isOpen,
55967
- title: t("admin:merge"),
55967
+ title: t("admin::merge"),
55968
55968
  onClose: onClose,
55969
55969
  onSuccess: onSubmit,
55970
55970
  withModalFormWrapper: false,
@@ -55979,7 +55979,7 @@ function CombineLocationModal({
55979
55979
  style: {
55980
55980
  color: token.baseGray90
55981
55981
  },
55982
- children: t("admin::current_accounts")
55982
+ children: t("admin::current_subjects")
55983
55983
  }), /*#__PURE__*/jsxRuntime.jsx(DAFTable, {
55984
55984
  columns: columns,
55985
55985
  data: selectedLocations,
@@ -56023,7 +56023,7 @@ function CombineLocationModal({
56023
56023
  className: "flex-1",
56024
56024
  name: "name",
56025
56025
  children: /*#__PURE__*/jsxRuntime.jsx(antd.Input, {
56026
- placeholder: t("name")
56026
+ placeholder: t("Name")
56027
56027
  })
56028
56028
  }), /*#__PURE__*/jsxRuntime.jsx(antd.Form.Item, {
56029
56029
  className: "flex-1",
@@ -56035,7 +56035,7 @@ function CombineLocationModal({
56035
56035
  value: location?.category || "-"
56036
56036
  };
56037
56037
  }).filter((option, index, self) => index === self.findIndex(o => o.value === option.value)),
56038
- placeholder: t("category")
56038
+ placeholder: t("Category")
56039
56039
  })
56040
56040
  }), /*#__PURE__*/jsxRuntime.jsx(antd.Form.Item, {
56041
56041
  className: "flex-1",
@@ -7468,7 +7468,8 @@ const en = {
7468
7468
  country: "Country",
7469
7469
  account_type: "Account Type",
7470
7470
  current_accounts: "Current Accounts",
7471
- merged_output: "Merged Output"
7471
+ merged_output: "Merged Output",
7472
+ current_subjects: "Current Subjects"
7472
7473
  }
7473
7474
  };
7474
7475
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.342",
3
+ "version": "0.6.343",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -21,7 +21,7 @@ export const getColumns = ({ t, selectOptions, module }) => {
21
21
  },
22
22
  },
23
23
  {
24
- title: t("category"),
24
+ title: t("Category"),
25
25
  dataIndex: "category",
26
26
  key: "category",
27
27
  render: (value, all) => {
@@ -30,7 +30,7 @@ export const getColumns = ({ t, selectOptions, module }) => {
30
30
  },
31
31
  },
32
32
  {
33
- title: t("country"),
33
+ title: t("Country"),
34
34
  dataIndex: "country",
35
35
  key: "country",
36
36
  render: (value, all) => {
@@ -44,7 +44,7 @@ export default function CombineLocationModal({
44
44
  return (
45
45
  <Modal
46
46
  open={isOpen}
47
- title={t("admin:merge")}
47
+ title={t("admin::merge")}
48
48
  onClose={onClose}
49
49
  onSuccess={onSubmit}
50
50
  withModalFormWrapper={false}
@@ -60,7 +60,7 @@ export default function CombineLocationModal({
60
60
  color: token.baseGray90,
61
61
  }}
62
62
  >
63
- {t("admin::current_accounts")}
63
+ {t("admin::current_subjects")}
64
64
  </span>
65
65
  <DAFTable
66
66
  columns={columns}
@@ -108,7 +108,7 @@ export default function CombineLocationModal({
108
108
  </Form.Item>
109
109
 
110
110
  <Form.Item className="flex-1" name="name">
111
- <Input placeholder={t("name")}></Input>
111
+ <Input placeholder={t("Name")}></Input>
112
112
  </Form.Item>
113
113
 
114
114
  <Form.Item className="flex-1" name="category">
@@ -129,7 +129,7 @@ export default function CombineLocationModal({
129
129
  (option, index, self) =>
130
130
  index === self.findIndex((o) => o.value === option.value),
131
131
  )}
132
- placeholder={t("category")}
132
+ placeholder={t("Category")}
133
133
  ></Select>
134
134
  </Form.Item>
135
135
 
@@ -1363,6 +1363,7 @@ const en = {
1363
1363
  account_type: "Account Type",
1364
1364
  current_accounts: "Current Accounts",
1365
1365
  merged_output: "Merged Output",
1366
+ current_subjects: "Current Subjects",
1366
1367
  },
1367
1368
  };
1368
1369