@pisell/materials 6.5.5 → 6.5.6
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 +7 -7
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +41 -26
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +45 -30
- package/es/components/appVersionControl/index.d.ts +0 -1
- package/es/components/batch-editor/index.d.ts +0 -1
- package/es/components/cardPro/index.js +10 -3
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +22 -11
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +199 -19
- package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Upload/CameraPopover.js +66 -0
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/index.less +35 -3
- package/es/components/dataSourceComponents/fields/Upload/type.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -9
- package/es/components/date-picker/datePickerCpt.d.ts +0 -1
- package/es/components/date-picker/index.d.ts +0 -1
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/es/components/drag-sort-tree/index.d.ts +0 -1
- package/es/components/filter/index.d.ts +0 -1
- package/es/components/iconfont/index.js +1 -1
- package/es/components/list/index.d.ts +0 -1
- package/es/components/lowCodePage/index.d.ts +0 -1
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/es/components/pisellCamera/index.d.ts +4 -0
- package/es/components/pisellCamera/index.js +228 -0
- package/es/components/pisellCamera/index.less +131 -0
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
- package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/es/components/pisellLoading/index.d.ts +0 -1
- package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/index.d.ts +0 -1
- package/es/components/pisellTooltip/index.d.ts +1 -0
- package/es/components/productCard/components/Action/index.d.ts +1 -0
- package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
- package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
- package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/components/Note/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
- package/es/components/productCard/components/Time/index.d.ts +0 -1
- package/es/components/qrcode/index.d.ts +0 -1
- package/es/components/select-time/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -1
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/Group/index.d.ts +0 -1
- package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
- package/es/components/table/Actions/index.d.ts +0 -1
- package/es/components/table/BasicTable/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/es/components/table/Table/SelectField/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/index.d.ts +0 -1
- package/es/components/table/Table/fields/index.d.ts +2 -3
- package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/View/index.d.ts +0 -1
- 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 +71 -50
- package/es/locales/en-US.js +94 -66
- package/es/locales/zh-CN.d.ts +71 -50
- package/es/locales/zh-CN.js +95 -67
- package/es/locales/zh-TW.d.ts +71 -50
- package/es/locales/zh-TW.js +95 -67
- package/lib/components/appVersionControl/index.d.ts +0 -1
- package/lib/components/batch-editor/index.d.ts +0 -1
- package/lib/components/cardPro/index.js +3 -2
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +9 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +168 -5
- package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.js +95 -0
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/index.less +35 -3
- package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -9
- package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
- package/lib/components/date-picker/index.d.ts +0 -1
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/index.d.ts +0 -1
- package/lib/components/filter/index.d.ts +0 -1
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/list/index.d.ts +0 -1
- package/lib/components/lowCodePage/index.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/lib/components/pisellCamera/index.d.ts +4 -0
- package/lib/components/pisellCamera/index.js +222 -0
- package/lib/components/pisellCamera/index.less +131 -0
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
- package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/lib/components/pisellLoading/index.d.ts +0 -1
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/index.d.ts +0 -1
- package/lib/components/pisellTooltip/index.d.ts +1 -0
- package/lib/components/productCard/components/Action/index.d.ts +1 -0
- package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
- package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/components/Note/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/index.d.ts +0 -1
- package/lib/components/qrcode/index.d.ts +0 -1
- package/lib/components/select-time/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -1
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
- package/lib/components/table/Actions/index.d.ts +0 -1
- package/lib/components/table/BasicTable/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/lib/components/table/Table/SelectField/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/index.d.ts +0 -1
- package/lib/components/table/Table/fields/index.d.ts +2 -3
- package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/View/index.d.ts +0 -1
- 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 +71 -50
- package/lib/locales/en-US.js +25 -1
- package/lib/locales/zh-CN.d.ts +71 -50
- package/lib/locales/zh-CN.js +25 -1
- package/lib/locales/zh-TW.d.ts +71 -50
- package/lib/locales/zh-TW.js +25 -1
- package/lowcode/auto-resize-text/meta.ts +35 -9419
- package/lowcode/data-source-table/meta.ts +119 -66
- package/lowcode/form-item-upload/meta.ts +20 -5
- package/lowcode/pisell-upload/meta.ts +8 -0
- package/lowcode/wallet-card/meta.ts +81 -63
- package/package.json +3 -2
- package/es/components/cardPro/index.d.ts +0 -4
- package/es/components/iconfont/index.d.ts +0 -8
- package/lib/components/cardPro/index.d.ts +0 -4
- package/lib/components/iconfont/index.d.ts +0 -8
|
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
155
155
|
sort?: SortType | undefined;
|
|
156
156
|
mode: "" | "localStorage" | "remote";
|
|
157
157
|
currentViewMode: ModeType;
|
|
158
|
-
}) => ("filters" | "
|
|
158
|
+
}) => ("filters" | "view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting")[];
|
|
159
159
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
160
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
161
|
export {};
|
|
@@ -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;
|
|
@@ -36,6 +36,7 @@ var import_antd = require("antd");
|
|
|
36
36
|
var import_classnames = __toESM(require("classnames"));
|
|
37
37
|
var import_react = __toESM(require("react"));
|
|
38
38
|
var import_react_barcode = __toESM(require("react-barcode"));
|
|
39
|
+
var import_EyeOff = __toESM(require("@pisell/icon/es/EyeOff"));
|
|
39
40
|
var import_locales = require("../../locales/index");
|
|
40
41
|
var import_iconfont = __toESM(require("./../iconfont"));
|
|
41
42
|
var import_pisellModal = __toESM(require("./../pisellModal"));
|
|
@@ -143,13 +144,16 @@ var CardHeader = ({
|
|
|
143
144
|
cardStyle = "normal",
|
|
144
145
|
codeType = "barCode",
|
|
145
146
|
onCodeClick,
|
|
146
|
-
isLogin = false
|
|
147
|
+
isLogin = false,
|
|
148
|
+
showViewPin = false,
|
|
149
|
+
onViewPinClick
|
|
147
150
|
}) => {
|
|
148
151
|
const processedShowIcon = toBooleanValue(showIcon);
|
|
149
152
|
const processedShowWalletName = toBooleanValue(showWalletName);
|
|
150
153
|
const processedShowShopName = toBooleanValue(showShopName);
|
|
151
154
|
const processedShowCardNo = toBooleanValue(showCardNo);
|
|
152
155
|
const processedShowCode = toBooleanValue(showCode);
|
|
156
|
+
const processedShowViewPin = toBooleanValue(showViewPin);
|
|
153
157
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-header" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-header-left" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-header-level" }, processedShowIcon && iconImg ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-header-icon" }, /* @__PURE__ */ import_react.default.createElement(
|
|
154
158
|
"img",
|
|
155
159
|
{
|
|
@@ -157,7 +161,15 @@ var CardHeader = ({
|
|
|
157
161
|
alt: "wallet icon",
|
|
158
162
|
style: { width: "20px", height: "20px" }
|
|
159
163
|
}
|
|
160
|
-
)) : null, processedShowWalletName && walletName && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-header-level-text" }, walletName)), processedShowShopName && shopName && /* @__PURE__ */ import_react.default.createElement("div", null, shopName), processedShowCardNo && cardNo && /* @__PURE__ */ import_react.default.createElement("div", null, cardNo)
|
|
164
|
+
)) : null, processedShowWalletName && walletName && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-header-level-text" }, walletName)), processedShowShopName && shopName && /* @__PURE__ */ import_react.default.createElement("div", null, shopName), processedShowCardNo && cardNo && /* @__PURE__ */ import_react.default.createElement("div", null, cardNo), processedShowViewPin && /* @__PURE__ */ import_react.default.createElement(
|
|
165
|
+
"div",
|
|
166
|
+
{
|
|
167
|
+
className: "pisell-wallet-card-header-view-pin",
|
|
168
|
+
onClick: onViewPinClick
|
|
169
|
+
},
|
|
170
|
+
(0, import_locales.getText)("walletCard-viewPin"),
|
|
171
|
+
/* @__PURE__ */ import_react.default.createElement(import_EyeOff.default, { className: "pisell-wallet-card-header-view-pin-icon" })
|
|
172
|
+
)), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-header-right" }, processedShowCode && cardStyle === "normal" && /* @__PURE__ */ import_react.default.createElement(
|
|
161
173
|
"div",
|
|
162
174
|
{
|
|
163
175
|
className: "pisell-wallet-card-icon-wrapper",
|
|
@@ -287,6 +299,7 @@ var WalletCard = (props) => {
|
|
|
287
299
|
const showCardNo = toBooleanValue(mergedProps.showCardNo);
|
|
288
300
|
const showCode = toBooleanValue(mergedProps.showCode);
|
|
289
301
|
const isLogin = toBooleanValue(mergedProps.isLogin);
|
|
302
|
+
const showViewPin = toBooleanValue(mergedProps == null ? void 0 : mergedProps.showViewPin);
|
|
290
303
|
const context = (0, import_useEngineContext.default)();
|
|
291
304
|
const { utils } = context.appHelper || {};
|
|
292
305
|
const { isModalOpen, handleCodeClick, closeModal } = useCodeModal(
|
|
@@ -294,6 +307,7 @@ var WalletCard = (props) => {
|
|
|
294
307
|
onCodeClick,
|
|
295
308
|
codeType
|
|
296
309
|
);
|
|
310
|
+
console.log("showViewPin", props);
|
|
297
311
|
const backgroundStyle = (0, import_react.useMemo)(() => {
|
|
298
312
|
var _a2;
|
|
299
313
|
if (props.customBackgroundImage) {
|
|
@@ -327,6 +341,14 @@ var WalletCard = (props) => {
|
|
|
327
341
|
}
|
|
328
342
|
});
|
|
329
343
|
};
|
|
344
|
+
const onViewPinClick = (e) => {
|
|
345
|
+
e.stopPropagation();
|
|
346
|
+
if (props == null ? void 0 : props.onViewPinClick) {
|
|
347
|
+
props.onViewPinClick();
|
|
348
|
+
} else {
|
|
349
|
+
console.error("onViewPinClick方法需要传入");
|
|
350
|
+
}
|
|
351
|
+
};
|
|
330
352
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
331
353
|
"div",
|
|
332
354
|
{
|
|
@@ -375,7 +397,9 @@ var WalletCard = (props) => {
|
|
|
375
397
|
cardStyle,
|
|
376
398
|
codeType,
|
|
377
399
|
onCodeClick: handleCodeClick,
|
|
378
|
-
isLogin
|
|
400
|
+
isLogin,
|
|
401
|
+
showViewPin,
|
|
402
|
+
onViewPinClick
|
|
379
403
|
}
|
|
380
404
|
),
|
|
381
405
|
/* @__PURE__ */ import_react.default.createElement(
|
|
@@ -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/lib/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;
|
|
@@ -282,5 +283,25 @@ declare const _default: {
|
|
|
282
283
|
'pisell-wallet-pass-card-status-lastPayment': string;
|
|
283
284
|
'pisell-wallet-pass-card-reset': string;
|
|
284
285
|
'pisell-wallet-pass-card-done': string;
|
|
286
|
+
'pisell-camera-no-camera-accessible': string;
|
|
287
|
+
'pisell-camera-permission-denied': string;
|
|
288
|
+
'pisell-camera-switch-camera': string;
|
|
289
|
+
'pisell-camera-canvas': string;
|
|
290
|
+
'pisell-camera-checking': string;
|
|
291
|
+
'pisell-camera-no-camera-desc': string;
|
|
292
|
+
'pisell-upload-camera-local-files': string;
|
|
293
|
+
'pisell-upload-camera-capture': string;
|
|
294
|
+
'pisell-upload-camera-retake': string;
|
|
295
|
+
'pisell-upload-camera-use': string;
|
|
296
|
+
'pisell-list-tab-group-default': string;
|
|
297
|
+
'pisell-list-empty-text-default': string;
|
|
298
|
+
'pisell-list-load-more': string;
|
|
299
|
+
'pisell-list-view-less': string;
|
|
300
|
+
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
301
|
+
'pisell-list-scroll-down': string;
|
|
302
|
+
'pisell-list-scroll-right': string;
|
|
303
|
+
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
304
|
+
'pisell-list-pagination-previous': string;
|
|
305
|
+
'pisell-list-pagination-next': string;
|
|
285
306
|
};
|
|
286
307
|
export default _default;
|
package/lib/locales/en-US.js
CHANGED
|
@@ -197,6 +197,7 @@ var en_US_default = {
|
|
|
197
197
|
"walletCard-done": "Done",
|
|
198
198
|
"walletCard-qrcode": "QR code",
|
|
199
199
|
"walletCard-barcode": "Bar code",
|
|
200
|
+
"walletCard-viewPin": "View PIN",
|
|
200
201
|
// 上传组件
|
|
201
202
|
"pisell-upload-button": "Upload",
|
|
202
203
|
"pisell-upload-setting-size-error": (maxSize) => `Each file should not exceed ${maxSize}MB in size.`,
|
|
@@ -335,5 +336,28 @@ var en_US_default = {
|
|
|
335
336
|
"pisell-wallet-pass-card-status-conflict": "Conflict",
|
|
336
337
|
"pisell-wallet-pass-card-status-lastPayment": "Last Payment",
|
|
337
338
|
"pisell-wallet-pass-card-reset": "Reset",
|
|
338
|
-
"pisell-wallet-pass-card-done": "Done"
|
|
339
|
+
"pisell-wallet-pass-card-done": "Done",
|
|
340
|
+
// 相机组件
|
|
341
|
+
"pisell-camera-no-camera-accessible": "No camera accessible",
|
|
342
|
+
"pisell-camera-permission-denied": "Permission denied",
|
|
343
|
+
"pisell-camera-switch-camera": "Switch camera",
|
|
344
|
+
"pisell-camera-canvas": "Canvas not supported",
|
|
345
|
+
"pisell-camera-checking": "Detecting camera...",
|
|
346
|
+
"pisell-camera-no-camera-desc": "Please check if your device has a camera or grant browser permission to access camera",
|
|
347
|
+
// 拍照组件
|
|
348
|
+
"pisell-upload-camera-local-files": "Local Files",
|
|
349
|
+
"pisell-upload-camera-capture": "Capture",
|
|
350
|
+
"pisell-upload-camera-retake": "Retake",
|
|
351
|
+
"pisell-upload-camera-use": "Use photo",
|
|
352
|
+
// 列表组件
|
|
353
|
+
"pisell-list-tab-group-default": "Field",
|
|
354
|
+
"pisell-list-empty-text-default": "No data available",
|
|
355
|
+
"pisell-list-load-more": "Load More",
|
|
356
|
+
"pisell-list-view-less": "View Less",
|
|
357
|
+
"pisell-list-pagination-total": (start, end, total) => `Showing ${start}-${end} of ${total} items`,
|
|
358
|
+
"pisell-list-scroll-down": "Scroll Down",
|
|
359
|
+
"pisell-list-scroll-right": "Scroll Right",
|
|
360
|
+
"pisell-list-pagination-page-of": (current, total) => `Page ${current} of ${total}`,
|
|
361
|
+
"pisell-list-pagination-previous": "Previous",
|
|
362
|
+
"pisell-list-pagination-next": "Next"
|
|
339
363
|
};
|
package/lib/locales/zh-CN.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;
|
|
@@ -236,15 +237,15 @@ declare const _default: {
|
|
|
236
237
|
'pisell-data-source-form-app-identifier-start-with-letter': string;
|
|
237
238
|
'pisell-data-source-form-app-identifier-special-ends': string;
|
|
238
239
|
'pisell-data-source-form-app-identifier-consecutive-special': string;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
240
|
+
'qrscanner-loading': string;
|
|
241
|
+
'qrscanner-success': string;
|
|
242
|
+
'qrscanner-success-qrcode': string;
|
|
243
|
+
'qrscanner-success-barcode': string;
|
|
244
|
+
'qrscanner-error-upload-image': string;
|
|
245
|
+
'qrscanner-error-load-failed': string;
|
|
246
|
+
'qrscanner-error-no-code': string;
|
|
247
|
+
'qrscanner-error-camera-init': string;
|
|
248
|
+
'qrscanner-error-process-image': string;
|
|
248
249
|
'pisell-login-and-register-title': string;
|
|
249
250
|
'pisell-login-and-register-subtitle': string;
|
|
250
251
|
'pisell-login-and-register-email-label': string;
|
|
@@ -277,5 +278,25 @@ declare const _default: {
|
|
|
277
278
|
'pisell-wallet-pass-card-status-lastPayment': string;
|
|
278
279
|
'pisell-wallet-pass-card-reset': string;
|
|
279
280
|
'pisell-wallet-pass-card-done': string;
|
|
281
|
+
'pisell-camera-no-camera-accessible': string;
|
|
282
|
+
'pisell-camera-permission-denied': string;
|
|
283
|
+
'pisell-camera-switch-camera': string;
|
|
284
|
+
'pisell-camera-canvas': string;
|
|
285
|
+
'pisell-camera-checking': string;
|
|
286
|
+
'pisell-camera-no-camera-desc': string;
|
|
287
|
+
'pisell-upload-camera-local-files': string;
|
|
288
|
+
'pisell-upload-camera-capture': string;
|
|
289
|
+
'pisell-upload-camera-retake': string;
|
|
290
|
+
'pisell-upload-camera-use': string;
|
|
291
|
+
'pisell-list-tab-group-default': string;
|
|
292
|
+
'pisell-list-empty-text-default': string;
|
|
293
|
+
'pisell-list-load-more': string;
|
|
294
|
+
'pisell-list-view-less': string;
|
|
295
|
+
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
296
|
+
'pisell-list-scroll-down': string;
|
|
297
|
+
'pisell-list-scroll-right': string;
|
|
298
|
+
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
299
|
+
'pisell-list-pagination-previous': string;
|
|
300
|
+
'pisell-list-pagination-next': string;
|
|
280
301
|
};
|
|
281
302
|
export default _default;
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -196,6 +196,7 @@ var zh_CN_default = {
|
|
|
196
196
|
"walletCard-done": "完成",
|
|
197
197
|
"walletCard-qrcode": "二维码",
|
|
198
198
|
"walletCard-barcode": "条形码",
|
|
199
|
+
"walletCard-viewPin": "查看PIN",
|
|
199
200
|
// 上传组件
|
|
200
201
|
"pisell-upload-button": "上传",
|
|
201
202
|
"pisell-upload-setting-size-error": (maxSize) => `每个文件的大小不超过${maxSize}MB`,
|
|
@@ -326,5 +327,28 @@ var zh_CN_default = {
|
|
|
326
327
|
"pisell-wallet-pass-card-status-conflict": "冲突",
|
|
327
328
|
"pisell-wallet-pass-card-status-lastPayment": "上次结算",
|
|
328
329
|
"pisell-wallet-pass-card-reset": "清空",
|
|
329
|
-
"pisell-wallet-pass-card-done": "保存"
|
|
330
|
+
"pisell-wallet-pass-card-done": "保存",
|
|
331
|
+
// 相机组件
|
|
332
|
+
"pisell-camera-no-camera-accessible": "没有找到摄像头",
|
|
333
|
+
"pisell-camera-permission-denied": "没有权限使用摄像头",
|
|
334
|
+
"pisell-camera-switch-camera": "切换摄像头",
|
|
335
|
+
"pisell-camera-canvas": "canvas不支持",
|
|
336
|
+
"pisell-camera-checking": "正在检测摄像头...",
|
|
337
|
+
"pisell-camera-no-camera-desc": "请检查设备是否连接摄像头或授权浏览器访问摄像头",
|
|
338
|
+
// 拍照组件
|
|
339
|
+
"pisell-upload-camera-local-files": "本地文件",
|
|
340
|
+
"pisell-upload-camera-capture": "拍摄/拍照",
|
|
341
|
+
"pisell-upload-camera-retake": "重拍",
|
|
342
|
+
"pisell-upload-camera-use": "使用照片",
|
|
343
|
+
// 列表组件
|
|
344
|
+
"pisell-list-tab-group-default": "字段",
|
|
345
|
+
"pisell-list-empty-text-default": "暂无数据",
|
|
346
|
+
"pisell-list-load-more": "查看更多",
|
|
347
|
+
"pisell-list-view-less": "查看更少",
|
|
348
|
+
"pisell-list-pagination-total": (start, end, total) => `显示第 ${start}-${end} 条,共 ${total} 条`,
|
|
349
|
+
"pisell-list-scroll-down": "向下滚动",
|
|
350
|
+
"pisell-list-scroll-right": "向右滚动",
|
|
351
|
+
"pisell-list-pagination-page-of": (current, total) => `第 ${current} 页 共 ${total} 页`,
|
|
352
|
+
"pisell-list-pagination-previous": "上一页",
|
|
353
|
+
"pisell-list-pagination-next": "下一页"
|
|
330
354
|
};
|