@pisell/materials 1.0.470 → 1.0.472
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 +6 -6
- package/build/lowcode/preview.js +5 -5
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +16 -16
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +15 -15
- package/es/components/buttonGroupPreview/index.d.ts +3 -4
- package/es/components/buttonGroupPreview/index.js +5 -10
- package/es/components/cardMetricItem/index.d.ts +12 -0
- package/es/components/cardMetricItem/index.js +39 -0
- package/es/components/cardMetricItem/index.less +38 -0
- package/es/components/cropPhoto/index.d.ts +3 -0
- package/es/components/{pisellUploadCrop → cropPhoto}/index.js +2 -2
- package/es/components/pisellAnchor/index.d.ts +5 -11
- package/es/components/pisellAnchor/index.js +98 -90
- package/es/components/pisellAnchor/index.less +84 -91
- package/es/components/pisellCard/index.js +2 -1
- package/es/components/pisellInformationEntry/Input/index.d.ts +1 -0
- package/es/components/pisellInformationEntry/Input/index.js +3 -2
- package/es/components/pisellInformationEntry/index.d.ts +2 -0
- package/es/components/pisellInformationEntry/index.js +5 -2
- package/es/components/pisellQrcode/index.d.ts +6 -1
- package/es/components/pisellQrcode/index.js +13 -18
- package/es/components/pisellStatisticList/index.d.ts +3 -0
- package/es/components/pisellStatisticList/index.js +17 -5
- package/es/components/pisellWalletPassCard/index.d.ts +2 -2
- package/es/components/pisellWalletPassCard/index.js +20 -9
- package/es/components/pisellWalletPassCard/index.less +6 -0
- package/es/components/record-view/index.d.ts +9 -2
- package/es/components/record-view/index.js +55 -42
- package/es/components/record-view/index.less +18 -0
- package/es/components/section-footers/index.js +2 -1
- package/es/components/section-footers/index.less +5 -0
- package/es/components/walletCard/index.d.ts +26 -0
- package/es/components/{pisellWalletCard → walletCard}/index.js +62 -21
- package/es/index.d.ts +3 -3
- package/es/index.js +3 -3
- package/es/locales/en-US.d.ts +1 -0
- package/es/locales/en-US.js +1 -0
- package/es/locales/zh-CN.d.ts +1 -0
- package/es/locales/zh-CN.js +1 -0
- package/es/locales/zh-TW.d.ts +1 -0
- package/es/locales/zh-TW.js +1 -0
- package/lib/components/buttonGroupPreview/index.d.ts +3 -4
- package/lib/components/buttonGroupPreview/index.js +6 -8
- package/lib/components/cardMetricItem/index.d.ts +12 -0
- package/lib/components/{pisellStatistic → cardMetricItem}/index.js +39 -10
- package/lib/components/cardMetricItem/index.less +38 -0
- package/lib/components/cropPhoto/index.d.ts +3 -0
- package/lib/components/{pisellUploadCrop → cropPhoto}/index.js +7 -7
- package/lib/components/pisellAnchor/index.d.ts +5 -11
- package/lib/components/pisellAnchor/index.js +82 -53
- package/lib/components/pisellAnchor/index.less +84 -91
- package/lib/components/pisellCard/index.js +2 -1
- package/lib/components/pisellInformationEntry/Input/index.d.ts +1 -0
- package/lib/components/pisellInformationEntry/Input/index.js +2 -2
- package/lib/components/pisellInformationEntry/index.d.ts +2 -0
- package/lib/components/pisellInformationEntry/index.js +11 -9
- package/lib/components/pisellQrcode/index.d.ts +6 -1
- package/lib/components/pisellQrcode/index.js +11 -4
- package/lib/components/pisellStatisticList/index.d.ts +3 -0
- package/lib/components/pisellStatisticList/index.js +35 -15
- package/lib/components/pisellWalletPassCard/index.d.ts +2 -2
- package/lib/components/pisellWalletPassCard/index.js +13 -8
- package/lib/components/pisellWalletPassCard/index.less +6 -0
- package/lib/components/record-view/index.d.ts +9 -2
- package/lib/components/record-view/index.js +54 -25
- package/lib/components/record-view/index.less +18 -0
- package/lib/components/section-footers/index.js +11 -1
- package/lib/components/section-footers/index.less +5 -0
- package/lib/components/walletCard/index.d.ts +26 -0
- package/lib/components/{pisellWalletCard → walletCard}/index.js +63 -29
- package/lib/index.d.ts +3 -3
- package/lib/index.js +9 -9
- package/lib/locales/en-US.d.ts +1 -0
- package/lib/locales/en-US.js +1 -0
- package/lib/locales/zh-CN.d.ts +1 -0
- package/lib/locales/zh-CN.js +1 -0
- package/lib/locales/zh-TW.d.ts +1 -0
- package/lib/locales/zh-TW.js +1 -0
- package/lowcode/{pisell-statistic → card-metric-item}/meta.ts +3 -3
- package/lowcode/{pisell-statistic → card-metric-item}/snippets.ts +2 -2
- package/lowcode/{pisell-upload-crop → crop-photo}/meta.ts +3 -3
- package/lowcode/{pisell-upload-crop → crop-photo}/snippe.ts +2 -2
- package/lowcode/pisell-qrcode/meta.ts +1 -1
- package/lowcode/pisell-qrcode/snippets.ts +3 -2
- package/lowcode/tabs/meta.ts +10 -0
- package/lowcode/{pisell-wallet-card → wallet-card}/meta.ts +4 -4
- package/lowcode/{pisell-wallet-card → wallet-card}/snippets.ts +2 -2
- package/package.json +1 -1
- package/es/components/pisellStatistic/index.d.ts +0 -10
- package/es/components/pisellStatistic/index.js +0 -25
- package/es/components/pisellStatistic/index.less +0 -14
- package/es/components/pisellUploadCrop/index.d.ts +0 -3
- package/es/components/pisellWalletCard/index.d.ts +0 -4
- package/es/components/table/Actions/component/ExportImport/utils/index.d.ts +0 -9
- package/es/components/table/Actions/component/ExportImport/utils/index.js +0 -11
- package/lib/components/pisellStatistic/index.d.ts +0 -10
- package/lib/components/pisellStatistic/index.less +0 -14
- package/lib/components/pisellUploadCrop/index.d.ts +0 -3
- package/lib/components/pisellWalletCard/index.d.ts +0 -4
- package/lib/components/table/Actions/component/ExportImport/utils/index.d.ts +0 -9
- package/lib/components/table/Actions/component/ExportImport/utils/index.js +0 -31
- /package/es/components/{pisellUploadCrop → cropPhoto}/index.less +0 -0
- /package/es/components/{pisellWalletCard → walletCard}/img/drak.png +0 -0
- /package/es/components/{pisellWalletCard → walletCard}/img/light.png +0 -0
- /package/es/components/{pisellWalletCard → walletCard}/index.less +0 -0
- /package/lib/components/{pisellUploadCrop → cropPhoto}/index.less +0 -0
- /package/lib/components/{pisellWalletCard → walletCard}/img/drak.png +0 -0
- /package/lib/components/{pisellWalletCard → walletCard}/img/light.png +0 -0
- /package/lib/components/{pisellWalletCard → walletCard}/index.less +0 -0
|
@@ -2,7 +2,7 @@ import snippets from './snippets';
|
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
snippets,
|
|
5
|
-
componentName: '
|
|
5
|
+
componentName: 'WalletCard',
|
|
6
6
|
title: '钱包卡片',
|
|
7
7
|
category: '通用',
|
|
8
8
|
docUrl: "",
|
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
npm: {
|
|
12
12
|
package: "@pisell/materials",
|
|
13
13
|
version: "1.0.1",
|
|
14
|
-
exportName: "
|
|
14
|
+
exportName: "WalletCard",
|
|
15
15
|
main: "src/index.tsx",
|
|
16
16
|
destructuring: true,
|
|
17
17
|
subName: "",
|
|
@@ -111,14 +111,14 @@ export default {
|
|
|
111
111
|
},
|
|
112
112
|
setter: "BoolSetter",
|
|
113
113
|
}, {
|
|
114
|
-
name: "
|
|
114
|
+
name: "isShowShopName",
|
|
115
115
|
title: {
|
|
116
116
|
label: "店铺名称",
|
|
117
117
|
tip: "是否显示店铺名称 布尔值"
|
|
118
118
|
},
|
|
119
119
|
setter: "BoolSetter",
|
|
120
120
|
}, {
|
|
121
|
-
name: "
|
|
121
|
+
name: "isShowCardNo",
|
|
122
122
|
title: {
|
|
123
123
|
label: "卡号",
|
|
124
124
|
tip: "是否显示卡号 布尔值"
|
|
@@ -2,17 +2,17 @@ export default [
|
|
|
2
2
|
{
|
|
3
3
|
title: '钱包卡片',
|
|
4
4
|
schema: {
|
|
5
|
-
componentName: '
|
|
5
|
+
componentName: 'WalletCard',
|
|
6
6
|
props: {
|
|
7
7
|
icon: {
|
|
8
8
|
type: "JSSlot",
|
|
9
9
|
},
|
|
10
|
+
cardNo: '123456789012345678',
|
|
10
11
|
mode: 'light',
|
|
11
12
|
cardStyle: 'normal',
|
|
12
13
|
codeType: 'one',
|
|
13
14
|
vipLevel: true,
|
|
14
15
|
shopName: true,
|
|
15
|
-
cardNo: true,
|
|
16
16
|
showCode: true,
|
|
17
17
|
points: true,
|
|
18
18
|
balance: true,
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PisellStatisticProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
number?: number;
|
|
6
|
-
hint?: React.ReactNode;
|
|
7
|
-
tags?: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
declare const PisellStatistic: (props: PisellStatisticProps) => import("react").JSX.Element;
|
|
10
|
-
export default PisellStatistic;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { useEffect } from 'react';
|
|
2
|
-
import { Statistic } from 'antd';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import "./index.less";
|
|
5
|
-
var PisellStatistic = function PisellStatistic(props) {
|
|
6
|
-
useEffect(function () {
|
|
7
|
-
document.body.id = 'body';
|
|
8
|
-
}, []);
|
|
9
|
-
var _props$title = props.title,
|
|
10
|
-
title = _props$title === void 0 ? '' : _props$title,
|
|
11
|
-
number = props.number,
|
|
12
|
-
hint = props.hint,
|
|
13
|
-
tags = props.tags;
|
|
14
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
15
|
-
className: classNames('pisell-statistic-wrap')
|
|
16
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
17
|
-
className: classNames('pisell-statistic-hint')
|
|
18
|
-
}, hint), /*#__PURE__*/React.createElement("div", {
|
|
19
|
-
className: classNames('pisell-statistic-tags')
|
|
20
|
-
}, tags), /*#__PURE__*/React.createElement(Statistic, {
|
|
21
|
-
title: title,
|
|
22
|
-
value: number
|
|
23
|
-
}));
|
|
24
|
-
};
|
|
25
|
-
export default PisellStatistic;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PisellStatisticProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
number?: number;
|
|
6
|
-
hint?: React.ReactNode;
|
|
7
|
-
tags?: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
declare const PisellStatistic: (props: PisellStatisticProps) => import("react").JSX.Element;
|
|
10
|
-
export default PisellStatistic;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// src/components/table/Actions/component/ExportImport/utils/index.ts
|
|
20
|
-
var utils_exports = {};
|
|
21
|
-
__export(utils_exports, {
|
|
22
|
-
formatApiUrl: () => formatApiUrl
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(utils_exports);
|
|
25
|
-
var formatApiUrl = (url) => {
|
|
26
|
-
return url || "/shop/form/data";
|
|
27
|
-
};
|
|
28
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
-
0 && (module.exports = {
|
|
30
|
-
formatApiUrl
|
|
31
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|