payment-kit 1.13.177 → 1.13.178

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/blocklet.yml CHANGED
@@ -14,7 +14,7 @@ repository:
14
14
  type: git
15
15
  url: git+https://github.com/blocklet/payment-kit.git
16
16
  specVersion: 1.2.8
17
- version: 1.13.177
17
+ version: 1.13.178
18
18
  logo: logo.png
19
19
  files:
20
20
  - dist
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payment-kit",
3
- "version": "1.13.177",
3
+ "version": "1.13.178",
4
4
  "scripts": {
5
5
  "dev": "cross-env COMPONENT_STORE_URL=https://test.store.blocklet.dev blocklet dev --open",
6
6
  "eject": "vite eject",
@@ -50,7 +50,7 @@
50
50
  "@arcblock/jwt": "^1.18.110",
51
51
  "@arcblock/ux": "^2.9.39",
52
52
  "@blocklet/logger": "1.16.23",
53
- "@blocklet/payment-react": "1.13.177",
53
+ "@blocklet/payment-react": "1.13.178",
54
54
  "@blocklet/sdk": "1.16.23",
55
55
  "@blocklet/ui-react": "^2.9.39",
56
56
  "@blocklet/uploader": "^0.0.74",
@@ -110,7 +110,7 @@
110
110
  "devDependencies": {
111
111
  "@abtnode/types": "1.16.23",
112
112
  "@arcblock/eslint-config-ts": "^0.2.4",
113
- "@blocklet/payment-types": "1.13.177",
113
+ "@blocklet/payment-types": "1.13.178",
114
114
  "@types/cookie-parser": "^1.4.6",
115
115
  "@types/cors": "^2.8.17",
116
116
  "@types/dotenv-flow": "^3.3.3",
@@ -149,5 +149,5 @@
149
149
  "parser": "typescript"
150
150
  }
151
151
  },
152
- "gitHead": "be1b8ffce6d158f52c0103eefa415577fb793be2"
152
+ "gitHead": "1484b62c0e39622bffd1382b0fcddb8381918997"
153
153
  }
@@ -41,7 +41,7 @@ export default function RenamePaymentLink({
41
41
  maxWidth="sm"
42
42
  onClose={() => onCancel(null)}
43
43
  showCloseButton={false}
44
- title={t('admin.product.edit')}
44
+ title={t('admin.paymentLink.rename')}
45
45
  actions={
46
46
  <Stack direction="row">
47
47
  <Button size="small" sx={{ mr: 2 }} onClick={onCancel}>
@@ -41,7 +41,7 @@ export default function RenamePricingTable({
41
41
  maxWidth="sm"
42
42
  onClose={() => onCancel(null)}
43
43
  showCloseButton={false}
44
- title={t('admin.product.edit')}
44
+ title={t('admin.pricingTable.rename')}
45
45
  actions={
46
46
  <Stack direction="row">
47
47
  <Button size="small" sx={{ mr: 2 }} onClick={onCancel}>
@@ -56,8 +56,8 @@ export default function RenamePricingTable({
56
56
  <FormInput
57
57
  name="name"
58
58
  rules={{ required: true }}
59
- label={t('admin.paymentLink.name.label')}
60
- placeholder={t('admin.paymentLink.name.placeholder')}
59
+ label={t('admin.pricingTable.name.label')}
60
+ placeholder={t('admin.pricingTable.name.placeholder')}
61
61
  autoFocus
62
62
  />
63
63
  </FormProvider>
@@ -3,6 +3,7 @@ import flat from 'flat';
3
3
  export default flat({
4
4
  common: {
5
5
  redirecting: 'Redirecting...',
6
+ title: 'Name',
6
7
  metadata: {
7
8
  label: 'Metadata',
8
9
  add: 'Add more metadata',
@@ -3,6 +3,7 @@ import flat from 'flat';
3
3
  export default flat({
4
4
  common: {
5
5
  redirecting: '跳转中...',
6
+ title: '名称',
6
7
  metadata: {
7
8
  label: '元数据',
8
9
  add: '添加更多元数据',
@@ -144,7 +144,7 @@ export default function PaymentLinkDetail(props: { id: string }) {
144
144
  data={data.line_items}
145
145
  columns={[
146
146
  {
147
- label: t('common.name'),
147
+ label: t('common.title'),
148
148
  name: 'name',
149
149
  options: {
150
150
  sort: false,
@@ -80,7 +80,7 @@ function PaymentLinks() {
80
80
  },
81
81
  },
82
82
  {
83
- label: t('common.name'),
83
+ label: t('common.title'),
84
84
  name: 'name',
85
85
  },
86
86
  {
@@ -37,7 +37,7 @@ export default function PassportList() {
37
37
 
38
38
  const columns = [
39
39
  {
40
- label: t('common.name'),
40
+ label: t('common.title'),
41
41
  name: 'title',
42
42
  options: {
43
43
  sort: false,
@@ -124,7 +124,7 @@ export default function PricingTableDetail(props: { id: string }) {
124
124
  data={data.items}
125
125
  columns={[
126
126
  {
127
- label: t('common.name'),
127
+ label: t('common.title'),
128
128
  name: 'product_id',
129
129
  options: {
130
130
  sort: false,
@@ -79,7 +79,7 @@ function PricingTables() {
79
79
  },
80
80
  },
81
81
  {
82
- label: t('common.name'),
82
+ label: t('common.title'),
83
83
  name: 'name',
84
84
  },
85
85
  {