@pisell/materials 6.0.18 → 6.0.20
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 +146 -146
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +51 -20
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +51 -20
- package/es/components/badge/index.d.ts +7 -0
- package/es/components/badge/index.js +44 -0
- package/es/components/badge/index.less +2 -0
- package/es/components/buttonGroupEdit/index.d.ts +8 -0
- package/es/components/buttonGroupEdit/index.js +408 -0
- package/es/components/buttonGroupPreview/index.d.ts +19 -0
- package/es/components/buttonGroupPreview/index.js +74 -0
- package/es/components/cardMetricItem/index.d.ts +12 -0
- package/es/components/cardMetricItem/index.js +39 -0
- package/es/components/cardMetricItem/index.less +39 -0
- package/es/components/cardPro/index.d.ts +3 -0
- package/es/components/cardPro/index.js +66 -0
- package/es/components/cardPro/index.less +55 -0
- package/es/components/cropPhoto/index.d.ts +3 -0
- package/es/components/cropPhoto/index.js +72 -0
- package/es/components/cropPhoto/index.less +15 -0
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -2
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.js +13 -3
- package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -2
- package/es/components/dataSourceComponents/fields/Input/WithMode.js +24 -1
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.js +31 -3
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +31 -3
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.less +2 -0
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +102 -141
- package/es/components/dataSourceComponents/fields/Upload/WithMode.js +6 -3
- package/es/components/dataSourceComponents/fields/Upload/serve.js +13 -3
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.js +396 -0
- package/es/components/dataSourceComponents/fields/Upload/type.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.js +17 -2
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
- package/es/components/dataSourceComponents/hooks/usePlatform.js +12 -0
- package/es/components/login-and-register/index.js +23 -21
- package/es/components/login-and-register/index.less +7 -7
- package/es/components/page/index.js +23 -57
- package/es/components/pisellAnchor/index.d.ts +23 -0
- package/es/components/pisellAnchor/index.js +303 -0
- package/es/components/pisellAnchor/index.less +197 -0
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +18 -2
- package/es/components/pisellQrcode/index.d.ts +10 -0
- package/es/components/pisellQrcode/index.js +70 -0
- package/es/components/pisellQrcode/index.less +41 -0
- package/es/components/pisellStatisticList/index.d.ts +3 -0
- package/es/components/pisellStatisticList/index.js +17 -5
- package/es/components/pisellStatisticList/index.less +1 -1
- package/es/components/pisellText/components/Amount/index.d.ts +2 -0
- package/es/components/pisellText/components/Amount/index.js +3 -2
- package/es/components/pisellWalletPassCard/index.d.ts +4 -4
- package/es/components/pisellWalletPassCard/index.js +28 -12
- package/es/components/pisellWalletPassCard/index.less +26 -4
- package/es/components/record-view/index.d.ts +13 -5
- package/es/components/record-view/index.js +81 -30
- package/es/components/record-view/index.less +37 -2
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/tabs/index.d.ts +1 -0
- package/es/components/tabs/index.js +25 -7
- package/es/components/tabs/index.less +5 -5
- package/es/components/walletCard/Guest/index.d.ts +3 -0
- package/es/components/walletCard/Guest/index.js +83 -0
- package/es/components/walletCard/Guest/index.less +71 -0
- package/es/components/walletCard/index.d.ts +65 -0
- package/es/components/walletCard/index.js +402 -0
- package/es/components/walletCard/index.less +267 -0
- package/es/index.d.ts +10 -1
- package/es/index.js +10 -1
- package/es/locales/en-US.d.ts +38 -2
- package/es/locales/en-US.js +55 -10
- package/es/locales/index.js +4 -2
- package/es/locales/zh-CN.d.ts +36 -0
- package/es/locales/zh-CN.js +41 -1
- package/es/locales/zh-TW.d.ts +36 -0
- package/es/locales/zh-TW.js +41 -1
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +3 -0
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/badge/index.d.ts +7 -0
- package/lib/components/badge/index.js +70 -0
- package/lib/components/badge/index.less +2 -0
- package/lib/components/buttonGroupEdit/index.d.ts +8 -0
- package/lib/components/buttonGroupEdit/index.js +317 -0
- package/lib/components/buttonGroupPreview/index.d.ts +19 -0
- package/lib/components/buttonGroupPreview/index.js +79 -0
- package/lib/components/cardMetricItem/index.d.ts +12 -0
- package/lib/components/cardMetricItem/index.js +75 -0
- package/lib/components/cardMetricItem/index.less +39 -0
- package/lib/components/cardPro/index.d.ts +3 -0
- package/lib/components/cardPro/index.js +98 -0
- package/lib/components/cardPro/index.less +55 -0
- package/lib/components/cropPhoto/index.d.ts +3 -0
- package/lib/components/cropPhoto/index.js +70 -0
- package/lib/components/cropPhoto/index.less +15 -0
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -2
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.js +12 -3
- package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -2
- package/lib/components/dataSourceComponents/fields/Input/WithMode.js +21 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.js +37 -3
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.js +37 -3
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.less +2 -0
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +47 -72
- package/lib/components/dataSourceComponents/fields/Upload/WithMode.js +11 -9
- package/lib/components/dataSourceComponents/fields/Upload/serve.js +11 -2
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.js +247 -0
- package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.js +17 -2
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
- package/lib/components/dataSourceComponents/hooks/usePlatform.js +51 -0
- package/lib/components/login-and-register/index.js +23 -21
- package/lib/components/login-and-register/index.less +7 -7
- package/lib/components/page/index.js +37 -65
- package/lib/components/pisellAnchor/index.d.ts +23 -0
- package/lib/components/pisellAnchor/index.js +251 -0
- package/lib/components/pisellAnchor/index.less +197 -0
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.js +24 -3
- package/lib/components/pisellQrcode/index.d.ts +10 -0
- package/lib/components/pisellQrcode/index.js +82 -0
- package/lib/components/pisellQrcode/index.less +41 -0
- package/lib/components/pisellStatisticList/index.d.ts +3 -0
- package/lib/components/pisellStatisticList/index.js +35 -15
- package/lib/components/pisellStatisticList/index.less +1 -1
- package/lib/components/pisellText/components/Amount/index.d.ts +2 -0
- package/lib/components/pisellText/components/Amount/index.js +2 -1
- package/lib/components/pisellWalletPassCard/index.d.ts +4 -4
- package/lib/components/pisellWalletPassCard/index.js +17 -9
- package/lib/components/pisellWalletPassCard/index.less +26 -4
- package/lib/components/record-view/index.d.ts +13 -5
- package/lib/components/record-view/index.js +63 -11
- package/lib/components/record-view/index.less +37 -2
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/tabs/index.d.ts +1 -0
- package/lib/components/tabs/index.js +12 -1
- package/lib/components/tabs/index.less +5 -5
- package/lib/components/walletCard/Guest/index.d.ts +3 -0
- package/lib/components/walletCard/Guest/index.js +138 -0
- package/lib/components/walletCard/Guest/index.less +71 -0
- package/lib/components/walletCard/index.d.ts +65 -0
- package/lib/components/walletCard/index.js +374 -0
- package/lib/components/walletCard/index.less +267 -0
- package/lib/index.d.ts +10 -1
- package/lib/index.js +26 -1
- package/lib/locales/en-US.d.ts +38 -2
- package/lib/locales/en-US.js +41 -3
- package/lib/locales/index.js +4 -2
- package/lib/locales/zh-CN.d.ts +36 -0
- package/lib/locales/zh-CN.js +41 -1
- package/lib/locales/zh-TW.d.ts +36 -0
- package/lib/locales/zh-TW.js +41 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +6 -1
- package/lib/utils/platform.d.ts +1 -1
- package/lowcode/badge/meta.ts +20 -11
- package/lowcode/badge/snippets.ts +2 -0
- package/lowcode/button/meta.ts +2 -6
- package/lowcode/button-group/meta.ts +198 -0
- package/lowcode/button-group/snippets.ts +68 -0
- package/lowcode/button-group-edit/meta.ts +32 -0
- package/lowcode/button-group-edit/snippets.ts +98 -0
- package/lowcode/button-group-preview/meta.ts +55 -0
- package/lowcode/button-group-preview/snippets.ts +57 -0
- package/lowcode/card/snippets.ts +55 -55
- package/lowcode/card-metric-item/meta.ts +83 -0
- package/lowcode/card-metric-item/snippets.ts +13 -0
- package/lowcode/card-pro/meta.ts +338 -0
- package/lowcode/card-pro/snippe.ts +39 -0
- package/lowcode/crop-photo/meta.ts +77 -0
- package/lowcode/crop-photo/snippe.ts +12 -0
- package/lowcode/form-item-input/snippets.ts +1 -1
- package/lowcode/form-item-upload/meta.ts +11 -0
- package/lowcode/pisell-anchor/meta.ts +118 -0
- package/lowcode/pisell-anchor/snippets.ts +26 -0
- package/lowcode/pisell-card/meta.ts +63 -27
- package/lowcode/pisell-card/snippets.ts +6 -0
- package/lowcode/pisell-modal.information/meta.ts +8 -0
- package/lowcode/pisell-qrcode/__screenshots__/upload-1.png +0 -0
- package/lowcode/pisell-qrcode/meta.ts +46 -0
- package/lowcode/pisell-qrcode/snippets.ts +13 -0
- package/lowcode/pisell-tooltip/meta.ts +1 -1
- package/lowcode/record-view/meta.ts +20 -0
- package/lowcode/section-footers/meta.ts +66 -0
- package/lowcode/section-footers/snippe.ts +21 -0
- package/lowcode/spin/meta.ts +9 -0
- package/lowcode/tag/meta.ts +6 -0
- package/lowcode/timeline/meta.ts +32 -9
- package/lowcode/timeline/snippets.ts +12 -2
- package/lowcode/timeline.item/meta.ts +1 -1
- package/lowcode/wallet-card/meta.ts +283 -0
- package/lowcode/wallet-card/snippets.ts +44 -0
- package/package.json +5 -1
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/walletCard/index.tsx
|
|
30
|
+
var walletCard_exports = {};
|
|
31
|
+
__export(walletCard_exports, {
|
|
32
|
+
default: () => walletCard_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(walletCard_exports);
|
|
35
|
+
var import_antd = require("antd");
|
|
36
|
+
var import_classnames = __toESM(require("classnames"));
|
|
37
|
+
var import_react = __toESM(require("react"));
|
|
38
|
+
var import_react_barcode = __toESM(require("react-barcode"));
|
|
39
|
+
var import_locales = require("../../locales/index");
|
|
40
|
+
var import_iconfont = __toESM(require("./../iconfont"));
|
|
41
|
+
var import_pisellModal = __toESM(require("./../pisellModal"));
|
|
42
|
+
var import_Amount = __toESM(require("./../pisellText/components/Amount"));
|
|
43
|
+
var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
|
|
44
|
+
var import_Guest = __toESM(require("./Guest"));
|
|
45
|
+
var import_index = require("./index.less");
|
|
46
|
+
var DEFAULT_PROPS = {
|
|
47
|
+
symbol: "$",
|
|
48
|
+
mode: "light",
|
|
49
|
+
iconImg: "",
|
|
50
|
+
showIcon: true,
|
|
51
|
+
showWalletName: true,
|
|
52
|
+
shopName: "Store name",
|
|
53
|
+
showShopName: true,
|
|
54
|
+
cardNo: "Wallet number",
|
|
55
|
+
cardStyle: "normal",
|
|
56
|
+
codeType: "barCode",
|
|
57
|
+
platform: "pc",
|
|
58
|
+
codeDirection: "bottom",
|
|
59
|
+
showCardNo: true,
|
|
60
|
+
showCode: true,
|
|
61
|
+
walletName: "Level",
|
|
62
|
+
isLogin: true,
|
|
63
|
+
items: [
|
|
64
|
+
{
|
|
65
|
+
key: "rechargeable",
|
|
66
|
+
label: "rechargeable",
|
|
67
|
+
value: 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
key: "piont",
|
|
71
|
+
label: "piont",
|
|
72
|
+
value: 10
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
key: "voucher",
|
|
76
|
+
label: "Discount cardvoucher",
|
|
77
|
+
value: 0
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
key: "discount",
|
|
81
|
+
label: "discount",
|
|
82
|
+
value: 0
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
};
|
|
86
|
+
var toBooleanValue = (value) => {
|
|
87
|
+
if (value === void 0) return false;
|
|
88
|
+
if (value === 0 || value === "0") return false;
|
|
89
|
+
if (value === 1 || value === "1") return true;
|
|
90
|
+
return !!value;
|
|
91
|
+
};
|
|
92
|
+
var useCodeModal = (cardNo, onCodeClick) => {
|
|
93
|
+
const [isModalOpen, setIsModalOpen] = (0, import_react.useState)(false);
|
|
94
|
+
const handleCodeClick = (e) => {
|
|
95
|
+
e.stopPropagation();
|
|
96
|
+
if (onCodeClick) {
|
|
97
|
+
onCodeClick();
|
|
98
|
+
} else {
|
|
99
|
+
setIsModalOpen(true);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
const closeModal = (e) => {
|
|
103
|
+
e == null ? void 0 : e.stopPropagation();
|
|
104
|
+
setIsModalOpen(false);
|
|
105
|
+
};
|
|
106
|
+
return {
|
|
107
|
+
isModalOpen,
|
|
108
|
+
handleCodeClick,
|
|
109
|
+
closeModal
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
var CardHeader = ({
|
|
113
|
+
showIcon = true,
|
|
114
|
+
showWalletName = true,
|
|
115
|
+
showShopName = true,
|
|
116
|
+
showCardNo = true,
|
|
117
|
+
showCode = true,
|
|
118
|
+
iconImg,
|
|
119
|
+
mode,
|
|
120
|
+
walletName = "Level",
|
|
121
|
+
shopName = "Store name",
|
|
122
|
+
cardNo = "Wallet number",
|
|
123
|
+
cardStyle = "normal",
|
|
124
|
+
codeType = "barCode",
|
|
125
|
+
onCodeClick,
|
|
126
|
+
isLogin = false
|
|
127
|
+
}) => {
|
|
128
|
+
const processedShowIcon = toBooleanValue(showIcon);
|
|
129
|
+
const processedShowWalletName = toBooleanValue(showWalletName);
|
|
130
|
+
const processedShowShopName = toBooleanValue(showShopName);
|
|
131
|
+
const processedShowCardNo = toBooleanValue(showCardNo);
|
|
132
|
+
const processedShowCode = toBooleanValue(showCode);
|
|
133
|
+
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(
|
|
134
|
+
"img",
|
|
135
|
+
{
|
|
136
|
+
src: iconImg,
|
|
137
|
+
alt: "wallet icon",
|
|
138
|
+
style: { width: "20px", height: "20px" }
|
|
139
|
+
}
|
|
140
|
+
)) : 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)), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-header-right" }, processedShowCode && cardStyle === "normal" && /* @__PURE__ */ import_react.default.createElement(
|
|
141
|
+
"div",
|
|
142
|
+
{
|
|
143
|
+
className: "pisell-wallet-card-icon-wrapper",
|
|
144
|
+
onClick: onCodeClick
|
|
145
|
+
},
|
|
146
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
147
|
+
import_iconfont.default,
|
|
148
|
+
{
|
|
149
|
+
style: {
|
|
150
|
+
color: mode === "dark" ? "#fff" : "#101828"
|
|
151
|
+
},
|
|
152
|
+
type: codeType === "barCode" ? "pisell2-Barcode" : "pisell2-a-qr-code-02",
|
|
153
|
+
className: "pisell-wallet-card-icon"
|
|
154
|
+
}
|
|
155
|
+
)
|
|
156
|
+
)));
|
|
157
|
+
};
|
|
158
|
+
var CardItem = ({ item, symbol }) => {
|
|
159
|
+
const { key, label, value } = item;
|
|
160
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-label" }, (0, import_locales.getText)(`walletCard-${label}`) || ""), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-value" }, key === "rechargeable" ? /* @__PURE__ */ import_react.default.createElement(
|
|
161
|
+
import_Amount.default,
|
|
162
|
+
{
|
|
163
|
+
className: "pisell-card-amount-item-value",
|
|
164
|
+
platform: "h5",
|
|
165
|
+
symbol,
|
|
166
|
+
useThousandsSeparator: true,
|
|
167
|
+
showCurrencySymbol: true,
|
|
168
|
+
value
|
|
169
|
+
}
|
|
170
|
+
) : value));
|
|
171
|
+
};
|
|
172
|
+
var CardContent = ({ items, symbol }) => {
|
|
173
|
+
const expectedOrder = ["piont", "balance", "discount", "voucher"];
|
|
174
|
+
const sortedItems = (0, import_react.useMemo)(() => {
|
|
175
|
+
if (!(items == null ? void 0 : items.length)) return [];
|
|
176
|
+
return [...items].sort((a, b) => {
|
|
177
|
+
const indexA = expectedOrder.indexOf(a.key);
|
|
178
|
+
const indexB = expectedOrder.indexOf(b.key);
|
|
179
|
+
return indexA - indexB;
|
|
180
|
+
});
|
|
181
|
+
}, [items]);
|
|
182
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
183
|
+
"div",
|
|
184
|
+
{
|
|
185
|
+
className: "pisell-wallet-card-list",
|
|
186
|
+
style: {
|
|
187
|
+
justifyContent: (sortedItems || []).length > 1 ? "space-between" : "flex-start"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
(sortedItems || []).map((item, index) => /* @__PURE__ */ import_react.default.createElement(CardItem, { key: index, item, symbol }))
|
|
191
|
+
);
|
|
192
|
+
};
|
|
193
|
+
var CodeDisplay = ({ codeType, cardNo }) => {
|
|
194
|
+
if (!cardNo) return null;
|
|
195
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-code" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-code-qrcode" }, codeType === "barCode" ? /* @__PURE__ */ import_react.default.createElement(import_react_barcode.default, { value: cardNo, displayValue: false, height: 114, width: 3 }) : /* @__PURE__ */ import_react.default.createElement(import_antd.QRCode, { size: 250, value: cardNo, bordered: false }), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-code-qrcode-value" }, cardNo)));
|
|
196
|
+
};
|
|
197
|
+
var blockEvent = (e) => {
|
|
198
|
+
e.stopPropagation();
|
|
199
|
+
e.preventDefault();
|
|
200
|
+
if (e.nativeEvent) {
|
|
201
|
+
e.nativeEvent.stopImmediatePropagation();
|
|
202
|
+
e.nativeEvent.preventDefault();
|
|
203
|
+
}
|
|
204
|
+
return false;
|
|
205
|
+
};
|
|
206
|
+
var CodeModal = ({ isOpen, onClose, codeType, cardNo, platform }) => {
|
|
207
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
208
|
+
import_pisellModal.default,
|
|
209
|
+
{
|
|
210
|
+
title: (0, import_locales.getText)(
|
|
211
|
+
codeType === "barCode" ? "walletCard-barcode" : "walletCard-qrcode"
|
|
212
|
+
),
|
|
213
|
+
platform,
|
|
214
|
+
onCancel: onClose,
|
|
215
|
+
open: isOpen,
|
|
216
|
+
footer: null,
|
|
217
|
+
mobileModalHeight: "auto",
|
|
218
|
+
className: "pisell-qrcode-modal",
|
|
219
|
+
bodyStyle: { padding: 0 }
|
|
220
|
+
},
|
|
221
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
222
|
+
"div",
|
|
223
|
+
{
|
|
224
|
+
className: "pisell-qrcode-modal-content",
|
|
225
|
+
onClick: blockEvent,
|
|
226
|
+
onTouchStart: blockEvent,
|
|
227
|
+
onTouchMove: blockEvent,
|
|
228
|
+
onTouchEnd: blockEvent,
|
|
229
|
+
onTouchCancel: blockEvent,
|
|
230
|
+
onMouseDown: blockEvent,
|
|
231
|
+
onMouseMove: blockEvent,
|
|
232
|
+
onMouseUp: blockEvent,
|
|
233
|
+
onWheel: blockEvent,
|
|
234
|
+
onScroll: blockEvent,
|
|
235
|
+
onDragStart: blockEvent,
|
|
236
|
+
onDrag: blockEvent,
|
|
237
|
+
onDragEnd: blockEvent
|
|
238
|
+
},
|
|
239
|
+
/* @__PURE__ */ import_react.default.createElement(CodeDisplay, { codeType, cardNo })
|
|
240
|
+
)
|
|
241
|
+
);
|
|
242
|
+
};
|
|
243
|
+
var WalletCard = (props) => {
|
|
244
|
+
const mergedProps = { ...DEFAULT_PROPS, ...props };
|
|
245
|
+
const {
|
|
246
|
+
symbol,
|
|
247
|
+
mode,
|
|
248
|
+
iconImg,
|
|
249
|
+
shopName,
|
|
250
|
+
cardNo,
|
|
251
|
+
cardStyle,
|
|
252
|
+
codeType,
|
|
253
|
+
platform,
|
|
254
|
+
codeDirection,
|
|
255
|
+
walletName,
|
|
256
|
+
items = [],
|
|
257
|
+
onCodeClick,
|
|
258
|
+
onClick,
|
|
259
|
+
className,
|
|
260
|
+
style
|
|
261
|
+
} = mergedProps;
|
|
262
|
+
const showIcon = toBooleanValue(mergedProps.showIcon);
|
|
263
|
+
const showWalletName = toBooleanValue(mergedProps.showWalletName);
|
|
264
|
+
const showShopName = toBooleanValue(mergedProps.showShopName);
|
|
265
|
+
const showCardNo = toBooleanValue(mergedProps.showCardNo);
|
|
266
|
+
const showCode = toBooleanValue(mergedProps.showCode);
|
|
267
|
+
const isLogin = toBooleanValue(mergedProps.isLogin);
|
|
268
|
+
const context = (0, import_useEngineContext.default)();
|
|
269
|
+
const { utils } = context.appHelper || {};
|
|
270
|
+
const { isModalOpen, handleCodeClick, closeModal } = useCodeModal(
|
|
271
|
+
cardNo,
|
|
272
|
+
onCodeClick
|
|
273
|
+
);
|
|
274
|
+
const backgroundStyle = (0, import_react.useMemo)(() => {
|
|
275
|
+
if (props.customBackgroundImage) {
|
|
276
|
+
return { backgroundImage: `url(${props.customBackgroundImage})` };
|
|
277
|
+
} else {
|
|
278
|
+
return {
|
|
279
|
+
backgroundImage: `url(https://file.mypisell-dev.com/pisel/image/9/${mode === "dark" ? "3d039c83ff5b84fadafb8a23c33d6cc42025_02_26_00_42_53_288_08413160975__720_456__" : "61dcbe950c9451164a6bb1d17d5bc5f02025_02_26_00_43_42_741_04853453608__720_456__"}.png)`
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
}, [props.customBackgroundImage, mode]);
|
|
283
|
+
const goWallet = () => {
|
|
284
|
+
utils == null ? void 0 : utils.action({
|
|
285
|
+
type: "pisell1.goWallet",
|
|
286
|
+
data: {},
|
|
287
|
+
callback: () => {
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
};
|
|
291
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
292
|
+
"div",
|
|
293
|
+
{
|
|
294
|
+
className: (0, import_classnames.default)("pisell-wallet-card-wrapper", className),
|
|
295
|
+
style,
|
|
296
|
+
onClick
|
|
297
|
+
},
|
|
298
|
+
/* @__PURE__ */ import_react.default.createElement(import_antd.Card, { style: { border: "none" }, bodyStyle: { padding: 0 } }, /* @__PURE__ */ import_react.default.createElement(
|
|
299
|
+
"div",
|
|
300
|
+
{
|
|
301
|
+
className: "pisell-wallet-card-container",
|
|
302
|
+
style: {
|
|
303
|
+
flexDirection: codeDirection === "top" ? "column-reverse" : "column"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
307
|
+
"div",
|
|
308
|
+
{
|
|
309
|
+
className: (0, import_classnames.default)(
|
|
310
|
+
"pisell-wallet-card-content",
|
|
311
|
+
mode,
|
|
312
|
+
!isLogin && "pisell-wallet-card-guest-content"
|
|
313
|
+
),
|
|
314
|
+
style: backgroundStyle
|
|
315
|
+
},
|
|
316
|
+
isLogin ? /* @__PURE__ */ import_react.default.createElement(
|
|
317
|
+
"div",
|
|
318
|
+
{
|
|
319
|
+
onClick: () => {
|
|
320
|
+
goWallet();
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
324
|
+
CardHeader,
|
|
325
|
+
{
|
|
326
|
+
mode,
|
|
327
|
+
showWalletName,
|
|
328
|
+
showIcon,
|
|
329
|
+
iconImg,
|
|
330
|
+
walletName,
|
|
331
|
+
shopName,
|
|
332
|
+
showShopName,
|
|
333
|
+
cardNo,
|
|
334
|
+
showCardNo,
|
|
335
|
+
showCode,
|
|
336
|
+
cardStyle,
|
|
337
|
+
codeType,
|
|
338
|
+
onCodeClick: handleCodeClick,
|
|
339
|
+
isLogin
|
|
340
|
+
}
|
|
341
|
+
),
|
|
342
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
343
|
+
CardContent,
|
|
344
|
+
{
|
|
345
|
+
items,
|
|
346
|
+
symbol
|
|
347
|
+
}
|
|
348
|
+
)
|
|
349
|
+
) : /* @__PURE__ */ import_react.default.createElement(import_Guest.default, { setting: props })
|
|
350
|
+
),
|
|
351
|
+
cardStyle === "full" && isLogin && /* @__PURE__ */ import_react.default.createElement(
|
|
352
|
+
"div",
|
|
353
|
+
{
|
|
354
|
+
className: (0, import_classnames.default)(
|
|
355
|
+
"pisell-wallet-card-showCode",
|
|
356
|
+
codeDirection === "top" ? "code-top" : "code-bottom"
|
|
357
|
+
)
|
|
358
|
+
},
|
|
359
|
+
/* @__PURE__ */ import_react.default.createElement(CodeDisplay, { codeType, cardNo })
|
|
360
|
+
)
|
|
361
|
+
)),
|
|
362
|
+
/* @__PURE__ */ import_react.default.createElement(
|
|
363
|
+
CodeModal,
|
|
364
|
+
{
|
|
365
|
+
isOpen: isModalOpen,
|
|
366
|
+
onClose: closeModal,
|
|
367
|
+
codeType,
|
|
368
|
+
cardNo,
|
|
369
|
+
platform
|
|
370
|
+
}
|
|
371
|
+
)
|
|
372
|
+
);
|
|
373
|
+
};
|
|
374
|
+
var walletCard_default = WalletCard;
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
.pisell-wallet-card-wrapper {
|
|
2
|
+
border: none;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
border-radius: 12px;
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
// 卡片容器
|
|
8
|
+
.pisell-wallet-card-container {
|
|
9
|
+
width: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// 卡片内容区域
|
|
15
|
+
.pisell-wallet-card-content {
|
|
16
|
+
padding: 16px 18px;
|
|
17
|
+
background-position: top center;
|
|
18
|
+
background-size: cover;
|
|
19
|
+
background-repeat: no-repeat;
|
|
20
|
+
|
|
21
|
+
// 暗色主题
|
|
22
|
+
&.dark {
|
|
23
|
+
background-color: #000;
|
|
24
|
+
|
|
25
|
+
.pisell-wallet-card-header-left {
|
|
26
|
+
color: #fff;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.pisell-wallet-card-item {
|
|
30
|
+
.pisell-wallet-card-item-label {
|
|
31
|
+
color: #eaecf0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.pisell-wallet-card-item-value {
|
|
35
|
+
color: #fff;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// 亮色主题
|
|
41
|
+
&.light {
|
|
42
|
+
background-color: #fff;
|
|
43
|
+
|
|
44
|
+
.pisell-wallet-card-header-left {
|
|
45
|
+
color: #101828;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.pisell-wallet-card-item {
|
|
49
|
+
.pisell-wallet-card-item-label {
|
|
50
|
+
color: #667085;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.pisell-wallet-card-item-value {
|
|
54
|
+
color: #101828;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.pisell-wallet-card-guest-content {
|
|
61
|
+
padding: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// 卡片头部
|
|
65
|
+
.pisell-wallet-card-header {
|
|
66
|
+
display: flex;
|
|
67
|
+
justify-content: space-between;
|
|
68
|
+
align-items: flex-start;
|
|
69
|
+
|
|
70
|
+
// 头部左侧
|
|
71
|
+
.pisell-wallet-card-header-left {
|
|
72
|
+
font-size: 12px;
|
|
73
|
+
font-weight: 400;
|
|
74
|
+
line-height: 18px;
|
|
75
|
+
|
|
76
|
+
// 卡片等级/名称区域
|
|
77
|
+
.pisell-wallet-card-header-level {
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
gap: 10px;
|
|
81
|
+
margin-bottom: 8px;
|
|
82
|
+
|
|
83
|
+
// 卡片名称文本
|
|
84
|
+
.pisell-wallet-card-header-level-text {
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
font-weight: 600;
|
|
87
|
+
line-height: 20px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// 卡片图标
|
|
91
|
+
.pisell-wallet-card-header-icon {
|
|
92
|
+
width: 20px;
|
|
93
|
+
height: 20px;
|
|
94
|
+
overflow: hidden;
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// 头部左侧其他信息
|
|
102
|
+
> div {
|
|
103
|
+
margin-bottom: 4px;
|
|
104
|
+
|
|
105
|
+
&:last-child {
|
|
106
|
+
margin-bottom: 0;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// 头部右侧
|
|
112
|
+
.pisell-wallet-card-header-right {
|
|
113
|
+
// 图标包装器
|
|
114
|
+
.pisell-wallet-card-icon-wrapper {
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// 图标
|
|
119
|
+
.pisell-wallet-card-icon {
|
|
120
|
+
font-size: 40px;
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
transition: opacity 0.3s ease;
|
|
123
|
+
|
|
124
|
+
&:hover {
|
|
125
|
+
opacity: 0.8;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// 卡片内容列表
|
|
132
|
+
.pisell-wallet-card-list {
|
|
133
|
+
margin-top: 30px;
|
|
134
|
+
height: 50px;
|
|
135
|
+
box-sizing: border-box;
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
flex-wrap: nowrap;
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
gap: 16px;
|
|
141
|
+
|
|
142
|
+
// 列表项
|
|
143
|
+
.pisell-wallet-card-item {
|
|
144
|
+
text-align: center;
|
|
145
|
+
// flex: 1;
|
|
146
|
+
min-width: 0;
|
|
147
|
+
|
|
148
|
+
// 标签
|
|
149
|
+
.pisell-wallet-card-item-label {
|
|
150
|
+
font-size: 14px;
|
|
151
|
+
font-weight: 400;
|
|
152
|
+
line-height: 20px;
|
|
153
|
+
margin-bottom: 4px;
|
|
154
|
+
white-space: nowrap;
|
|
155
|
+
overflow: hidden;
|
|
156
|
+
text-overflow: ellipsis;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// 值
|
|
160
|
+
.pisell-wallet-card-item-value {
|
|
161
|
+
font-size: 20px;
|
|
162
|
+
font-weight: 600;
|
|
163
|
+
line-height: 30px;
|
|
164
|
+
white-space: nowrap;
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
text-overflow: ellipsis;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// 显示二维码/条形码区域
|
|
172
|
+
.pisell-wallet-card-showCode {
|
|
173
|
+
padding: 20px;
|
|
174
|
+
background-color: #fff;
|
|
175
|
+
text-align: center;
|
|
176
|
+
display: flex;
|
|
177
|
+
justify-content: center;
|
|
178
|
+
align-items: center;
|
|
179
|
+
border: 1px solid #d0d5de;
|
|
180
|
+
|
|
181
|
+
// 当二维码/条形码在底部显示时
|
|
182
|
+
&.code-bottom {
|
|
183
|
+
border-top: none;
|
|
184
|
+
border-top-left-radius: 0;
|
|
185
|
+
border-top-right-radius: 0;
|
|
186
|
+
border-bottom-left-radius: 12px;
|
|
187
|
+
border-bottom-right-radius: 12px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
// 当二维码/条形码在顶部显示时
|
|
191
|
+
&.code-top {
|
|
192
|
+
border-bottom: none;
|
|
193
|
+
border-bottom-left-radius: 0;
|
|
194
|
+
border-bottom-right-radius: 0;
|
|
195
|
+
border-top-left-radius: 12px;
|
|
196
|
+
border-top-right-radius: 12px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.pisell-wallet-card-code {
|
|
200
|
+
display: flex;
|
|
201
|
+
justify-content: center;
|
|
202
|
+
}
|
|
203
|
+
// 条形码样式
|
|
204
|
+
.pisell-wallet-card-code {
|
|
205
|
+
width: 100%;
|
|
206
|
+
|
|
207
|
+
// 覆盖react-barcode生成的SVG文本样式
|
|
208
|
+
svg {
|
|
209
|
+
width: 100%;
|
|
210
|
+
|
|
211
|
+
text {
|
|
212
|
+
fill: #000;
|
|
213
|
+
font-family: Inter;
|
|
214
|
+
font-size: 12px;
|
|
215
|
+
font-style: normal;
|
|
216
|
+
font-weight: 400;
|
|
217
|
+
line-height: normal;
|
|
218
|
+
transform: translateY(12px);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// 二维码下方文本样式
|
|
224
|
+
.pisell-wallet-card-code-qrcode-value {
|
|
225
|
+
color: #000;
|
|
226
|
+
font-family: Inter;
|
|
227
|
+
font-size: 12px;
|
|
228
|
+
text-align: center;
|
|
229
|
+
font-style: normal;
|
|
230
|
+
font-weight: 400;
|
|
231
|
+
line-height: normal;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// 卡片内容区域
|
|
236
|
+
.pisell-lowcode-card-body {
|
|
237
|
+
padding: 0;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// 二维码模态框
|
|
242
|
+
.pisell-qrcode-modal {
|
|
243
|
+
.pisell-qrcode-modal-content{
|
|
244
|
+
pointer-events: auto;
|
|
245
|
+
touch-action: none;
|
|
246
|
+
overscroll-behavior: none;
|
|
247
|
+
position: relative;
|
|
248
|
+
z-index: 1001;
|
|
249
|
+
width: 100%;
|
|
250
|
+
|
|
251
|
+
.pisell-wallet-card-code {
|
|
252
|
+
width: 100%;
|
|
253
|
+
display: flex;
|
|
254
|
+
justify-content: center;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// 二维码值
|
|
258
|
+
.pisell-wallet-card-code-qrcode-value {
|
|
259
|
+
color: var(--Gray-500, #667085);
|
|
260
|
+
font-size: 14px;
|
|
261
|
+
font-weight: 400;
|
|
262
|
+
line-height: 20px;
|
|
263
|
+
margin: 0 0 24px;
|
|
264
|
+
text-align: center;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
export { Affix, Alert, Anchor, Avatar,
|
|
1
|
+
export { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, Collapse, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version, } from 'antd';
|
|
2
2
|
export { default as AutoComplete } from './components/auto-complete';
|
|
3
3
|
export { default as AutoCompleteNumber } from './components/auto-complete-number';
|
|
4
|
+
export { default as Badge } from './components/badge';
|
|
4
5
|
export { default as BatchEditor } from './components/batch-editor';
|
|
5
6
|
export { default as Button } from './components/button';
|
|
7
|
+
export { default as ButtonGroupEdit } from './components/buttonGroupEdit';
|
|
8
|
+
export { default as ButtonGroupPreview } from './components/buttonGroupPreview';
|
|
6
9
|
export { default as Calendar } from './components/calendar';
|
|
10
|
+
export { default as CardMetricItem } from './components/cardMetricItem';
|
|
11
|
+
export { default as CardPro } from './components/cardPro';
|
|
7
12
|
export { default as Cascader } from './components/cascader';
|
|
8
13
|
export { default as Checkbox } from './components/checkbox';
|
|
9
14
|
export { default as ClassicLayout } from './components/classicLayout';
|
|
10
15
|
export { default as Component } from './components/component';
|
|
11
16
|
export { default as ConfigProvider } from './components/config-provider';
|
|
17
|
+
export { default as CropPhoto } from './components/cropPhoto';
|
|
12
18
|
export { default as DataSourceForm } from './components/dataSourceComponents/dataSourceForm';
|
|
13
19
|
export { default as FormGroup } from './components/dataSourceComponents/dataSourceForm/group';
|
|
14
20
|
export { default as JsonWrapper } from './components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider';
|
|
@@ -54,6 +60,7 @@ export { default as usePisellConfig } from './components/pisell-config-provider/
|
|
|
54
60
|
export { default as PisellAdjustPrice } from './components/pisellAdjustPrice';
|
|
55
61
|
export { default as PisellAdjustPriceInputNumber } from './components/pisellAdjustPrice/PisellAdjustPriceInputNumber';
|
|
56
62
|
export { default as PisellAlert } from './components/pisellAlert';
|
|
63
|
+
export { default as PisellAnchor } from './components/pisellAnchor';
|
|
57
64
|
export { default as PisellAvatar } from './components/pisellAvatar';
|
|
58
65
|
export { default as PisellCard } from './components/pisellCard';
|
|
59
66
|
export { default as PisellCardList } from './components/pisellCardList';
|
|
@@ -67,6 +74,7 @@ export { default as PisellFloatingPanel } from './components/pisellFloatingPanel
|
|
|
67
74
|
export { default as PisellInformationEntry } from './components/pisellInformationEntry';
|
|
68
75
|
export { default as PisellInput } from './components/pisellInput';
|
|
69
76
|
export { getBankCardTypeImg } from './components/pisellInput/components/BankCard/utils';
|
|
77
|
+
export { default as PisellQrcode } from './components/pisellQrcode';
|
|
70
78
|
export { default as PisellLayout } from './components/pisellLayout';
|
|
71
79
|
export { default as PisellContent } from './components/pisellLayout/content';
|
|
72
80
|
export { default as PisellFooter } from './components/pisellLayout/footer';
|
|
@@ -110,6 +118,7 @@ export { default as VirtualKeyboard } from './components/virtual-keyboard';
|
|
|
110
118
|
export { default as PisellPriceKeyboard } from './components/virtual-keyboard/Amount';
|
|
111
119
|
export { default as PisellNumberKeyboard } from './components/virtual-keyboard/Number';
|
|
112
120
|
export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
|
|
121
|
+
export { default as WalletCard } from './components/walletCard';
|
|
113
122
|
export { default as PublishVersionModal } from './components/versionModal';
|
|
114
123
|
export { default as IconSelect } from './components/iconSelect';
|
|
115
124
|
export { default as CustomSelect } from './components/customSelect';
|