@pisell/materials 2.2.103 → 2.2.104
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +164 -148
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +31 -17
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +40 -26
- package/es/components/appVersionControl/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +7 -7
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/es/components/drag-sort-tree/index.d.ts +1 -0
- package/es/components/iconfont/index.d.ts +8 -0
- package/es/components/page/index.d.ts +0 -1
- package/es/components/pisell-config-provider/context.d.ts +22 -0
- package/es/components/pisellAdjustPrice/index.d.ts +0 -1
- package/es/components/pisellAdjustPrice/status.d.ts +32 -0
- package/es/components/pisellAdjustPrice/type.d.ts +22 -0
- package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/es/components/pisellInput/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
- package/es/components/productCard/components/Action/index.d.ts +4 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/es/components/productCard/components/Time/index.d.ts +1 -0
- package/es/components/productCard/locales.d.ts +84 -0
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
- package/es/components/table/Table/fields/index.d.ts +2 -2
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/es/components/walletCard/index.d.ts +4 -0
- package/es/components/walletCard/index.js +29 -3
- package/es/components/walletCard/index.less +27 -0
- package/es/locales/en-US.d.ts +51 -50
- package/es/locales/en-US.js +66 -65
- package/es/locales/zh-CN.d.ts +51 -50
- package/es/locales/zh-CN.js +67 -66
- package/es/locales/zh-TW.d.ts +51 -50
- package/es/locales/zh-TW.js +67 -66
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/appVersionControl/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +7 -7
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/index.d.ts +1 -0
- package/lib/components/iconfont/index.d.ts +8 -0
- package/lib/components/page/index.d.ts +0 -1
- package/lib/components/pisell-config-provider/context.d.ts +22 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
- package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/lib/components/pisellInput/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
- package/lib/components/productCard/components/Action/index.d.ts +4 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/index.d.ts +1 -0
- package/lib/components/productCard/locales.d.ts +84 -0
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
- package/lib/components/table/Table/fields/index.d.ts +2 -2
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/lib/components/walletCard/index.d.ts +4 -0
- package/lib/components/walletCard/index.js +27 -3
- package/lib/components/walletCard/index.less +27 -0
- package/lib/locales/en-US.d.ts +51 -50
- package/lib/locales/en-US.js +1 -0
- package/lib/locales/zh-CN.d.ts +51 -50
- package/lib/locales/zh-CN.js +1 -0
- package/lib/locales/zh-TW.d.ts +51 -50
- package/lib/locales/zh-TW.js +1 -0
- package/lib/utils/platform.d.ts +1 -1
- package/lowcode/wallet-card/meta.ts +81 -63
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const numberThemeConfig: {
|
|
2
|
+
dark: {
|
|
3
|
+
backgroundColor: string;
|
|
4
|
+
containerBackgroundColor: string;
|
|
5
|
+
buttonBackgroundColor: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
resetButtonBackgroundColor: string;
|
|
8
|
+
resetButtonTextColor: string;
|
|
9
|
+
isDoneButtonFollowTheme: boolean;
|
|
10
|
+
doneButtonBackgroundColor: string;
|
|
11
|
+
doneButtonTextColor: string;
|
|
12
|
+
keyboardBackgroundColor: string;
|
|
13
|
+
keyboardButtonBackgroundColor: string;
|
|
14
|
+
keyboardButtonTextColor: string;
|
|
15
|
+
keyboardButtonHoverColor: string;
|
|
16
|
+
};
|
|
17
|
+
light: {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
containerBackgroundColor: string;
|
|
20
|
+
buttonBackgroundColor: string;
|
|
21
|
+
textColor: string;
|
|
22
|
+
resetButtonBackgroundColor: string;
|
|
23
|
+
resetButtonTextColor: string;
|
|
24
|
+
isDoneButtonFollowTheme: boolean;
|
|
25
|
+
doneButtonBackgroundColor: string;
|
|
26
|
+
doneButtonTextColor: string;
|
|
27
|
+
keyboardBackgroundColor: string;
|
|
28
|
+
keyboardButtonBackgroundColor: string;
|
|
29
|
+
keyboardButtonTextColor: string;
|
|
30
|
+
keyboardButtonHoverColor: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface NumberProps {
|
|
2
|
+
max?: number;
|
|
3
|
+
min?: number;
|
|
4
|
+
doneText?: string;
|
|
5
|
+
resetText: string;
|
|
6
|
+
defaultValue?: string | number;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
value?: string | number;
|
|
9
|
+
onChange?: (val: string | number) => void;
|
|
10
|
+
onEnter?: (val: string | number) => void;
|
|
11
|
+
defaultSelect?: boolean;
|
|
12
|
+
selectType?: 'light' | 'dark';
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
containerBackgroundColor?: string;
|
|
15
|
+
buttonBackgroundColor?: string;
|
|
16
|
+
textColor?: string;
|
|
17
|
+
resetButtonBackgroundColor?: string;
|
|
18
|
+
resetButtonTextColor?: string;
|
|
19
|
+
isDoneButtonFollowTheme?: boolean;
|
|
20
|
+
doneButtonBackgroundColor?: string;
|
|
21
|
+
doneButtonTextColor?: string;
|
|
22
|
+
keyboardBackgroundColor?: string;
|
|
23
|
+
keyboardButtonBackgroundColor?: string;
|
|
24
|
+
keyboardButtonTextColor?: string;
|
|
25
|
+
keyboardButtonHoverColor?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputProps } from 'antd';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export interface VirtualKeyInputProps extends InputProps {
|
|
5
|
+
previewValue?: string;
|
|
6
|
+
renderInput?: (props: any) => any;
|
|
7
|
+
showDelete?: boolean;
|
|
8
|
+
onValueSelect?: (selected: boolean) => void;
|
|
9
|
+
defaultSelect?: boolean;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
declare const VirtualKeyInput: (props: VirtualKeyInputProps) => JSX.Element;
|
|
13
|
+
export default VirtualKeyInput;
|
|
@@ -62,6 +62,10 @@ export interface WalletCardProps {
|
|
|
62
62
|
isLogin?: boolean;
|
|
63
63
|
/** 是否是引导页 */
|
|
64
64
|
isGuide?: boolean;
|
|
65
|
+
/** 是否显示查看PIN */
|
|
66
|
+
showViewPin?: boolean;
|
|
67
|
+
/** 查看PIN的回调 */
|
|
68
|
+
onViewPinClick?: () => void;
|
|
65
69
|
}
|
|
66
70
|
declare const WalletCard: React.FC<WalletCardProps>;
|
|
67
71
|
export default WalletCard;
|
|
@@ -18,6 +18,7 @@ import { Card, QRCode } from 'antd';
|
|
|
18
18
|
import classNames from 'classnames';
|
|
19
19
|
import React, { useMemo, useState } from 'react';
|
|
20
20
|
import Barcode from 'react-barcode';
|
|
21
|
+
import EyeOff from '@pisell/icon/es/EyeOff';
|
|
21
22
|
import { getText } from "../../locales/index";
|
|
22
23
|
import Iconfont from "./../iconfont";
|
|
23
24
|
import PisellModal from "./../pisellModal";
|
|
@@ -148,13 +149,17 @@ var CardHeader = function CardHeader(_ref2) {
|
|
|
148
149
|
codeType = _ref2$codeType === void 0 ? 'barCode' : _ref2$codeType,
|
|
149
150
|
onCodeClick = _ref2.onCodeClick,
|
|
150
151
|
_ref2$isLogin = _ref2.isLogin,
|
|
151
|
-
isLogin = _ref2$isLogin === void 0 ? false : _ref2$isLogin
|
|
152
|
+
isLogin = _ref2$isLogin === void 0 ? false : _ref2$isLogin,
|
|
153
|
+
_ref2$showViewPin = _ref2.showViewPin,
|
|
154
|
+
showViewPin = _ref2$showViewPin === void 0 ? false : _ref2$showViewPin,
|
|
155
|
+
onViewPinClick = _ref2.onViewPinClick;
|
|
152
156
|
// 处理可能为0/1的布尔值
|
|
153
157
|
var processedShowIcon = toBooleanValue(showIcon);
|
|
154
158
|
var processedShowWalletName = toBooleanValue(showWalletName);
|
|
155
159
|
var processedShowShopName = toBooleanValue(showShopName);
|
|
156
160
|
var processedShowCardNo = toBooleanValue(showCardNo);
|
|
157
161
|
var processedShowCode = toBooleanValue(showCode);
|
|
162
|
+
var processedShowViewPin = toBooleanValue(showViewPin);
|
|
158
163
|
return /*#__PURE__*/React.createElement("div", {
|
|
159
164
|
className: "pisell-wallet-card-header"
|
|
160
165
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -172,7 +177,12 @@ var CardHeader = function CardHeader(_ref2) {
|
|
|
172
177
|
}
|
|
173
178
|
})) : null, processedShowWalletName && walletName && /*#__PURE__*/React.createElement("div", {
|
|
174
179
|
className: "pisell-wallet-card-header-level-text"
|
|
175
|
-
}, walletName)), processedShowShopName && shopName && /*#__PURE__*/React.createElement("div", null, shopName), processedShowCardNo && cardNo && /*#__PURE__*/React.createElement("div", null, cardNo)
|
|
180
|
+
}, walletName)), processedShowShopName && shopName && /*#__PURE__*/React.createElement("div", null, shopName), processedShowCardNo && cardNo && /*#__PURE__*/React.createElement("div", null, cardNo), processedShowViewPin && /*#__PURE__*/React.createElement("div", {
|
|
181
|
+
className: "pisell-wallet-card-header-view-pin",
|
|
182
|
+
onClick: onViewPinClick
|
|
183
|
+
}, getText('walletCard-viewPin'), /*#__PURE__*/React.createElement(EyeOff, {
|
|
184
|
+
className: "pisell-wallet-card-header-view-pin-icon"
|
|
185
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
176
186
|
className: "pisell-wallet-card-header-right"
|
|
177
187
|
}, processedShowCode && cardStyle === 'normal' && /*#__PURE__*/React.createElement("div", {
|
|
178
188
|
className: "pisell-wallet-card-icon-wrapper",
|
|
@@ -339,6 +349,7 @@ var WalletCard = function WalletCard(props) {
|
|
|
339
349
|
var showCardNo = toBooleanValue(mergedProps.showCardNo);
|
|
340
350
|
var showCode = toBooleanValue(mergedProps.showCode);
|
|
341
351
|
var isLogin = toBooleanValue(mergedProps.isLogin);
|
|
352
|
+
var showViewPin = toBooleanValue(mergedProps === null || mergedProps === void 0 ? void 0 : mergedProps.showViewPin);
|
|
342
353
|
var context = useEngineContext();
|
|
343
354
|
var _ref7 = context.appHelper || {},
|
|
344
355
|
utils = _ref7.utils;
|
|
@@ -347,6 +358,7 @@ var WalletCard = function WalletCard(props) {
|
|
|
347
358
|
isModalOpen = _useCodeModal.isModalOpen,
|
|
348
359
|
handleCodeClick = _useCodeModal.handleCodeClick,
|
|
349
360
|
closeModal = _useCodeModal.closeModal;
|
|
361
|
+
console.log('showViewPin', props);
|
|
350
362
|
|
|
351
363
|
// 计算背景样式
|
|
352
364
|
var backgroundStyle = useMemo(function () {
|
|
@@ -378,6 +390,18 @@ var WalletCard = function WalletCard(props) {
|
|
|
378
390
|
callback: function callback() {}
|
|
379
391
|
});
|
|
380
392
|
};
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* 查看PIN的回调
|
|
396
|
+
*/
|
|
397
|
+
var onViewPinClick = function onViewPinClick(e) {
|
|
398
|
+
e.stopPropagation();
|
|
399
|
+
if (props !== null && props !== void 0 && props.onViewPinClick) {
|
|
400
|
+
props.onViewPinClick();
|
|
401
|
+
} else {
|
|
402
|
+
console.error('onViewPinClick方法需要传入');
|
|
403
|
+
}
|
|
404
|
+
};
|
|
381
405
|
return /*#__PURE__*/React.createElement("div", {
|
|
382
406
|
className: classNames('pisell-wallet-card-wrapper', className),
|
|
383
407
|
style: style,
|
|
@@ -415,7 +439,9 @@ var WalletCard = function WalletCard(props) {
|
|
|
415
439
|
cardStyle: cardStyle,
|
|
416
440
|
codeType: codeType,
|
|
417
441
|
onCodeClick: handleCodeClick,
|
|
418
|
-
isLogin: isLogin
|
|
442
|
+
isLogin: isLogin,
|
|
443
|
+
showViewPin: showViewPin,
|
|
444
|
+
onViewPinClick: onViewPinClick
|
|
419
445
|
}), /*#__PURE__*/React.createElement(CardContent, {
|
|
420
446
|
items: items,
|
|
421
447
|
symbol: symbol
|
|
@@ -106,6 +106,33 @@
|
|
|
106
106
|
margin-bottom: 0;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
|
|
110
|
+
.pisell-wallet-card-header-view-pin {
|
|
111
|
+
position: relative;
|
|
112
|
+
color: #53b1fd;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
font-size: 12px;
|
|
115
|
+
font-weight: 400;
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: center;
|
|
118
|
+
gap: 4px;
|
|
119
|
+
|
|
120
|
+
.pisell-wallet-card-header-view-pin-icon {
|
|
121
|
+
width: 16px;
|
|
122
|
+
height: 16px;
|
|
123
|
+
color: #53b1fd;
|
|
124
|
+
font-size: 16px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:after {
|
|
128
|
+
content: '';
|
|
129
|
+
position: absolute;
|
|
130
|
+
top: -5px;
|
|
131
|
+
left: -5px;
|
|
132
|
+
right: -5px;
|
|
133
|
+
bottom: -5px; /* 向外扩展5px */
|
|
134
|
+
}
|
|
135
|
+
}
|
|
109
136
|
}
|
|
110
137
|
|
|
111
138
|
// 头部右侧
|
package/es/locales/en-US.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
2
|
+
'table-filter-search': string;
|
|
3
|
+
'table-filter-clear': string;
|
|
4
|
+
'table-filter-filter': string;
|
|
5
|
+
'table-filter-min': string;
|
|
6
|
+
'table-filter-max': string;
|
|
7
|
+
'table-pagination-previous': string;
|
|
8
|
+
'table-pagination-next': string;
|
|
9
|
+
'table-pagination-total': (current: string, total: string) => string;
|
|
10
|
+
'select-dropdown-render-select-all': string;
|
|
11
|
+
'select-dropdown-render-search': string;
|
|
12
|
+
'sort-button-text': string;
|
|
13
|
+
'sort-oldest-to-newest': string;
|
|
14
|
+
'sort-newest-to-oldest': string;
|
|
15
|
+
'sort-a-z': string;
|
|
16
|
+
'sort-z-a': string;
|
|
17
|
+
'sort-from-morning-to-night': string;
|
|
18
|
+
'sort-from-evening-to-morning': string;
|
|
19
|
+
'sort-0-9': string;
|
|
20
|
+
'sort-9-0': string;
|
|
21
|
+
'table-action-filter-button': string;
|
|
22
|
+
'table-action-filter-quick-filter': string;
|
|
23
|
+
'table-action-filter-quick-filter-tip': (count: number) => string;
|
|
24
|
+
'table-action-filter-other-filter': string;
|
|
25
|
+
'table-action-filter-other-filter-tip': () => string;
|
|
26
|
+
'table-action-group-by-title': string;
|
|
27
|
+
'table-action-group-by-title-tip': string;
|
|
28
|
+
'table-action-column-title': string;
|
|
29
|
+
'table-column-group-records': string;
|
|
30
|
+
'table-column-group-lock-tip': string;
|
|
31
|
+
'table-column-drag-sort-disabled-tip': string;
|
|
32
|
+
'table-action-filter-no-filter': string;
|
|
33
|
+
'table-action-range-picker-presets-today': string;
|
|
34
|
+
'table-action-range-picker-presets-yesterday': string;
|
|
35
|
+
'table-action-range-picker-presets-last-3-day': string;
|
|
36
|
+
'table-action-range-picker-presets-last-7-day': string;
|
|
37
|
+
'table-action-range-picker-presets-last-14-day': string;
|
|
38
|
+
'table-action-range-picker-presets-last-30-day': string;
|
|
39
|
+
'table-action-range-picker-presets-last-90-day': string;
|
|
40
|
+
'virtual-keyboard-time-now': string;
|
|
41
|
+
'virtual-keyboard-time-ok': string;
|
|
42
42
|
'batch-editor-batch-edit': string;
|
|
43
43
|
'batch-editor-actions': string;
|
|
44
44
|
'batch-editor-remove': string;
|
|
@@ -108,7 +108,7 @@ declare const _default: {
|
|
|
108
108
|
'date-picker-first_day_of_next_month': string;
|
|
109
109
|
'date-picker-last_day_of_last_month': string;
|
|
110
110
|
'date-picker-invalid-date': string;
|
|
111
|
-
|
|
111
|
+
'date-picker-apply': string;
|
|
112
112
|
'date-picker-shortcut-custom': string;
|
|
113
113
|
'pisell-input-copy-success': string;
|
|
114
114
|
'pisell-input-copy': string;
|
|
@@ -160,6 +160,7 @@ declare const _default: {
|
|
|
160
160
|
'walletCard-done': string;
|
|
161
161
|
'walletCard-qrcode': string;
|
|
162
162
|
'walletCard-barcode': string;
|
|
163
|
+
'walletCard-viewPin': string;
|
|
163
164
|
'pisell-upload-button': string;
|
|
164
165
|
'pisell-upload-setting-size-error': (maxSize: number) => string;
|
|
165
166
|
'pisell-upload-setting-type-error': (type: string) => string;
|
|
@@ -241,15 +242,15 @@ declare const _default: {
|
|
|
241
242
|
'pisell-data-source-form-app-identifier-alphanumeric': string;
|
|
242
243
|
'pisell-data-source-form-app-identifier-special-ends': string;
|
|
243
244
|
'pisell-data-source-form-app-identifier-consecutive-special': string;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
245
|
+
'qrscanner-loading': string;
|
|
246
|
+
'qrscanner-success': string;
|
|
247
|
+
'qrscanner-success-qrcode': string;
|
|
248
|
+
'qrscanner-success-barcode': string;
|
|
249
|
+
'qrscanner-error-upload-image': string;
|
|
250
|
+
'qrscanner-error-load-failed': string;
|
|
251
|
+
'qrscanner-error-no-code': string;
|
|
252
|
+
'qrscanner-error-camera-init': string;
|
|
253
|
+
'qrscanner-error-process-image': string;
|
|
253
254
|
'pisell-login-and-register-title': string;
|
|
254
255
|
'pisell-login-and-register-subtitle': string;
|
|
255
256
|
'pisell-login-and-register-email-label': string;
|
package/es/locales/en-US.js
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
'table-filter-search': 'Search',
|
|
3
|
+
'table-filter-clear': 'Clear',
|
|
4
|
+
'table-filter-filter': 'Filter',
|
|
5
|
+
'table-filter-min': 'Min',
|
|
6
|
+
'table-filter-max': 'Max',
|
|
7
|
+
'table-pagination-previous': 'Previous',
|
|
8
|
+
'table-pagination-next': 'Next',
|
|
9
|
+
'table-pagination-total': function tablePaginationTotal(current, total) {
|
|
10
10
|
return "Page ".concat(current, " of ").concat(total);
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
'select-dropdown-render-select-all': 'Select all',
|
|
13
|
+
'select-dropdown-render-search': 'Search',
|
|
14
|
+
'sort-button-text': 'Sort',
|
|
15
|
+
'sort-oldest-to-newest': 'Oldest to newest',
|
|
16
|
+
'sort-newest-to-oldest': 'Newest to oldest',
|
|
17
|
+
'sort-a-z': 'A to Z',
|
|
18
|
+
'sort-z-a': 'Z to A',
|
|
19
|
+
'sort-from-morning-to-night': 'From morning to night',
|
|
20
|
+
'sort-from-evening-to-morning': 'From evening to morning',
|
|
21
|
+
'sort-0-9': '0 ~ 9',
|
|
22
|
+
'sort-9-0': '9 ~ 0',
|
|
23
|
+
'table-action-filter-button': 'Filter',
|
|
24
|
+
'table-action-filter-quick-filter': 'Quick Filter',
|
|
25
|
+
'table-action-filter-quick-filter-tip': function tableActionFilterQuickFilterTip(count) {
|
|
26
26
|
return "Enable quick filtering directly on the page for convenient filtering operations, with a maximum of ".concat(count, " filters allowed.");
|
|
27
27
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return
|
|
28
|
+
'table-action-filter-other-filter': 'Filter',
|
|
29
|
+
'table-action-filter-other-filter-tip': function tableActionFilterOtherFilterTip() {
|
|
30
|
+
return 'Select filter criteria in the list to perform filtering operations and display corresponding results.';
|
|
31
31
|
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
32
|
+
'table-action-group-by-title': 'Group by',
|
|
33
|
+
'table-action-group-by-title-tip': 'Please select the field from the dropdown menu to group the data for better organization and browsing.',
|
|
34
|
+
'table-action-column-title': 'Header settings',
|
|
35
|
+
'table-column-group-records': 'records',
|
|
36
|
+
'table-column-group-lock-tip': 'Fixed column immutable order',
|
|
37
|
+
'table-column-drag-sort-disabled-tip': 'Automatic sorting is enabled, manual dragging is disabled.',
|
|
38
|
+
'table-action-filter-no-filter': 'No filter options available.',
|
|
39
|
+
'table-action-range-picker-presets-today': 'Today',
|
|
40
|
+
'table-action-range-picker-presets-yesterday': 'Yesterday',
|
|
41
|
+
'table-action-range-picker-presets-last-3-day': 'Last 3 Days',
|
|
42
|
+
'table-action-range-picker-presets-last-7-day': 'Last 7 Days',
|
|
43
|
+
'table-action-range-picker-presets-last-14-day': 'Last 14 Days',
|
|
44
|
+
'table-action-range-picker-presets-last-30-day': 'Last 30 Days',
|
|
45
|
+
'table-action-range-picker-presets-last-90-day': 'Last 90 Days',
|
|
46
|
+
'virtual-keyboard-time-now': 'Now',
|
|
47
|
+
'virtual-keyboard-time-ok': 'OK',
|
|
48
48
|
'batch-editor-batch-edit': 'Batch edit',
|
|
49
49
|
'batch-editor-actions': 'Actions',
|
|
50
50
|
'batch-editor-remove': 'Remove',
|
|
@@ -54,7 +54,7 @@ export default {
|
|
|
54
54
|
'batch-editor-confirm': 'Confirm',
|
|
55
55
|
'batch-editor-batch-remove': 'Batch remove',
|
|
56
56
|
'batch-editor-quick-edit': 'Quick edit',
|
|
57
|
-
'batch-editor-what-price':
|
|
57
|
+
'batch-editor-what-price': 'What price',
|
|
58
58
|
'batch-editor-quick-edit-title': function batchEditorQuickEditTitle(product, num) {
|
|
59
59
|
return "You have selected ".concat(num, " products including ").concat(product);
|
|
60
60
|
},
|
|
@@ -131,7 +131,7 @@ export default {
|
|
|
131
131
|
'date-picker-first_day_of_next_month': 'First day of next month',
|
|
132
132
|
'date-picker-last_day_of_last_month': 'Last day of last month',
|
|
133
133
|
'date-picker-invalid-date': 'Invalid date',
|
|
134
|
-
|
|
134
|
+
'date-picker-apply': 'Apply',
|
|
135
135
|
'date-picker-shortcut-custom': 'Custom',
|
|
136
136
|
'pisell-input-copy-success': 'Copy Success',
|
|
137
137
|
'pisell-input-copy': 'Copy',
|
|
@@ -155,12 +155,12 @@ export default {
|
|
|
155
155
|
'pisell-wallet-pass-card-required': 'This field is required',
|
|
156
156
|
'pisell-wallet-pass-card-expireDate': 'Long term',
|
|
157
157
|
// 金额修改组件
|
|
158
|
-
'pisell-adjust-price-price-override':
|
|
159
|
-
'pisell-adjust-price-discount':
|
|
160
|
-
'pisell-adjust-price-discount-amount':
|
|
161
|
-
'pisell-adjust-price-discount-percentage':
|
|
162
|
-
'pisell-adjust-price-total-after-discount':
|
|
163
|
-
'pisell-adjust-price-discount-can-be-maximum':
|
|
158
|
+
'pisell-adjust-price-price-override': 'Price override',
|
|
159
|
+
'pisell-adjust-price-discount': 'Discount',
|
|
160
|
+
'pisell-adjust-price-discount-amount': 'Amount',
|
|
161
|
+
'pisell-adjust-price-discount-percentage': 'Percentage',
|
|
162
|
+
'pisell-adjust-price-total-after-discount': 'Total after discount: ',
|
|
163
|
+
'pisell-adjust-price-discount-can-be-maximum': 'Discount can be maximum',
|
|
164
164
|
'pisell-discount-card-title': 'Discount',
|
|
165
165
|
'pisell-discount-card-unit': 'off',
|
|
166
166
|
'pisell-discount-card-fixed-amount-prefix': 'Save',
|
|
@@ -199,6 +199,7 @@ export default {
|
|
|
199
199
|
'walletCard-done': 'Done',
|
|
200
200
|
'walletCard-qrcode': 'QR code',
|
|
201
201
|
'walletCard-barcode': 'Bar code',
|
|
202
|
+
'walletCard-viewPin': 'View PIN',
|
|
202
203
|
// 上传组件
|
|
203
204
|
'pisell-upload-button': 'Upload',
|
|
204
205
|
'pisell-upload-setting-size-error': function pisellUploadSettingSizeError(maxSize) {
|
|
@@ -274,7 +275,7 @@ export default {
|
|
|
274
275
|
'pisell-lowcode-app-version-control-new-version': 'New version',
|
|
275
276
|
'pisell-lowcode-app-version-control-promote-to-live': 'Promote to live',
|
|
276
277
|
'pisell-lowcode-app-version-control-promote-version': function pisellLowcodeAppVersionControlPromoteVersion(version) {
|
|
277
|
-
return "Promote version ".concat(version ||
|
|
278
|
+
return "Promote version ".concat(version || '', "?");
|
|
278
279
|
},
|
|
279
280
|
'pisell-lowcode-app-version-control-promote-version-describe': 'Are you sure you want to promote this version?',
|
|
280
281
|
'pisell-lowcode-app-version-control-promote-version-ok': 'Promote',
|
|
@@ -286,12 +287,12 @@ export default {
|
|
|
286
287
|
'pisell-lowcode-navigation-menu-add-sub-menu': 'Add submenu',
|
|
287
288
|
'pisell-lowcode-navigation-menu-add-page': 'Add page',
|
|
288
289
|
'pisell-lowcode-navigation-menu-add-page-tip': 'No navigation found. Please add a submenu or page.',
|
|
289
|
-
'pisell-lowcode-navigation-menu-tag-base':
|
|
290
|
-
'pisell-lowcode-navigation-menu-tag-proCode':
|
|
291
|
-
'pisell-lowcode-navigation-menu-tag-pisell1':
|
|
292
|
-
'pisell-lowcode-navigation-menu-tag-group':
|
|
293
|
-
'pisell-lowcode-navigation-menu-tag-sub-menu':
|
|
294
|
-
'pisell-lowcode-navigation-menu-tag-custom':
|
|
290
|
+
'pisell-lowcode-navigation-menu-tag-base': 'Base',
|
|
291
|
+
'pisell-lowcode-navigation-menu-tag-proCode': 'Pro code',
|
|
292
|
+
'pisell-lowcode-navigation-menu-tag-pisell1': 'Pisell 1.0',
|
|
293
|
+
'pisell-lowcode-navigation-menu-tag-group': 'Group',
|
|
294
|
+
'pisell-lowcode-navigation-menu-tag-sub-menu': 'Submenu',
|
|
295
|
+
'pisell-lowcode-navigation-menu-tag-custom': 'Custom',
|
|
295
296
|
// 应用标识符
|
|
296
297
|
'pisell-data-source-form-app-identifier-pattern': 'Can only contain lowercase letters, numbers, hyphens, dots, and underscores',
|
|
297
298
|
'pisell-data-source-form-app-identifier-start-with-letter': 'Must start with a letter',
|
|
@@ -304,15 +305,15 @@ export default {
|
|
|
304
305
|
'pisell-data-source-form-app-identifier-special-ends': 'Cannot end with a hyphen, dot, or underscore',
|
|
305
306
|
'pisell-data-source-form-app-identifier-consecutive-special': 'Cannot contain consecutive hyphens, dots, or underscores',
|
|
306
307
|
// QR Scanner related texts
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
308
|
+
'qrscanner-loading': 'Recognizing QR code...',
|
|
309
|
+
'qrscanner-success': 'Successfully recognized: ',
|
|
310
|
+
'qrscanner-success-qrcode': 'QR code successfully recognized: ',
|
|
311
|
+
'qrscanner-success-barcode': 'Barcode successfully recognized: ',
|
|
312
|
+
'qrscanner-error-upload-image': 'Please upload an image file',
|
|
313
|
+
'qrscanner-error-load-failed': 'Failed to read file',
|
|
314
|
+
'qrscanner-error-no-code': 'No QR code or barcode detected.',
|
|
315
|
+
'qrscanner-error-camera-init': "Cannot start camera. Please make sure it's authorized.",
|
|
316
|
+
'qrscanner-error-process-image': 'Error processing image',
|
|
316
317
|
// 登录注册组件
|
|
317
318
|
'pisell-login-and-register-title': 'Log in to your account',
|
|
318
319
|
'pisell-login-and-register-subtitle': 'Welcome back! Please enter your details.',
|