@pisell/materials 1.0.448 → 1.0.450
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 +2 -2
- package/build/lowcode/preview.js +146 -146
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +39 -23
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +39 -23
- package/es/components/pisellAnchor/index.js +0 -1
- package/es/components/pisellStatistic/index.js +0 -1
- package/es/components/pisellUpload/index.js +0 -1
- package/es/components/pisellUploadCrop/index.js +0 -1
- package/es/components/pisellWalletCard/index.js +0 -2
- package/es/components/pisellWalletPassCard/index.js +4 -1
- package/es/components/record-view/index.js +0 -3
- package/es/components/section-footers/index.js +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/tabs/index.js +0 -4
- package/lib/components/pisellAnchor/index.js +0 -5
- package/lib/components/pisellStatistic/index.js +0 -5
- package/lib/components/pisellUpload/index.js +0 -5
- package/lib/components/pisellUploadCrop/index.js +0 -5
- package/lib/components/pisellWalletCard/index.js +0 -10
- package/lib/components/pisellWalletPassCard/index.js +3 -0
- package/lib/components/record-view/index.js +0 -15
- package/lib/components/section-footers/index.js +0 -5
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/tabs/index.js +0 -20
- package/lowcode/pisell-text.amount/meta.ts +1 -1
- package/lowcode/timeline/meta.ts +1 -2
- package/package.json +3 -3
|
@@ -17,7 +17,6 @@ import "./index.less";
|
|
|
17
17
|
* @constructor
|
|
18
18
|
*/
|
|
19
19
|
var PisellAnchor = function PisellAnchor(props) {
|
|
20
|
-
console.log('%c [ props ]-21', 'font-size:13px; background:pink; color:#bf2c9f;', props);
|
|
21
20
|
var _useState = useState(true),
|
|
22
21
|
_useState2 = _slicedToArray(_useState, 2),
|
|
23
22
|
leftDisabled = _useState2[0],
|
|
@@ -3,7 +3,6 @@ import { Statistic } from 'antd';
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import "./index.less";
|
|
5
5
|
var pisellStatistic = function pisellStatistic(props) {
|
|
6
|
-
console.log('%c [ props ]-6', 'font-size:13px; background:pink; color:#bf2c9f;', props);
|
|
7
6
|
useEffect(function () {
|
|
8
7
|
document.body.id = 'body';
|
|
9
8
|
}, []);
|
|
@@ -13,7 +13,6 @@ var PisellUpload = function PisellUpload(props) {
|
|
|
13
13
|
text1 = props.text1,
|
|
14
14
|
text2 = props.text2,
|
|
15
15
|
uploadType = props.uploadType;
|
|
16
|
-
console.log('%c [ props ]-13', 'font-size:13px; background:pink; color:#bf2c9f;', props);
|
|
17
16
|
useEffect(function () {
|
|
18
17
|
document.body.id = 'body';
|
|
19
18
|
}, []);
|
|
@@ -12,7 +12,6 @@ import React, { useState } from 'react';
|
|
|
12
12
|
import { Upload } from 'antd';
|
|
13
13
|
import ImgCrop from 'antd-img-crop';
|
|
14
14
|
var pisellUploadCrop = function pisellUploadCrop(props) {
|
|
15
|
-
console.log('%c [ props ]-12', 'font-size:13px; background:pink; color:#bf2c9f;', props);
|
|
16
15
|
var cropShape = props.cropShape; // 裁剪形状
|
|
17
16
|
var _useState = useState([]),
|
|
18
17
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -16,7 +16,6 @@ import classNames from 'classnames';
|
|
|
16
16
|
var walletNumber = '123871283618273687123'; //钱包号
|
|
17
17
|
var PisellWalletCard = function PisellWalletCard(props) {
|
|
18
18
|
var _context$appHelper;
|
|
19
|
-
console.log('%c [ props ]-12', 'font-size:13px; background:pink; color:#bf2c9f;', props);
|
|
20
19
|
var mode = props.mode,
|
|
21
20
|
cardStyle = props.cardStyle,
|
|
22
21
|
codeType = props.codeType,
|
|
@@ -32,7 +31,6 @@ var PisellWalletCard = function PisellWalletCard(props) {
|
|
|
32
31
|
coupon = props.coupon,
|
|
33
32
|
vouCher = props.vouCher,
|
|
34
33
|
discountCard = props.discountCard; // 裁剪形状
|
|
35
|
-
console.log('%c [ props ]-43', 'font-size:13px; background:pink; color:#bf2c9f;', props);
|
|
36
34
|
var context = useEngineContext();
|
|
37
35
|
var _useState = useState(false),
|
|
38
36
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import QRCode from "../qrcode";
|
|
4
4
|
import Iconfont from "../iconfont";
|
|
@@ -48,6 +48,9 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
|
|
|
48
48
|
_props$showDiscount = props.showDiscount,
|
|
49
49
|
showDiscount = _props$showDiscount === void 0 ? false : _props$showDiscount,
|
|
50
50
|
discount = props.discount;
|
|
51
|
+
useEffect(function () {
|
|
52
|
+
document.body.id = 'body';
|
|
53
|
+
}, []);
|
|
51
54
|
return /*#__PURE__*/React.createElement("div", {
|
|
52
55
|
className: classNames('pisell-wallet-pass-card', {
|
|
53
56
|
'pisell-card-disabled': disabled,
|
|
@@ -133,9 +133,6 @@ var RecordView = function RecordView(props) {
|
|
|
133
133
|
footer: _footer
|
|
134
134
|
}), emptyDom);
|
|
135
135
|
}, [props, _renderItem, _footer]);
|
|
136
|
-
console.log('%c [ detail ]-209', 'font-size:13px; background:pink; color:#bf2c9f;', detail);
|
|
137
|
-
console.log('%c [ _leftSpan ]-214', 'font-size:13px; background:pink; color:#bf2c9f;', _leftSpan);
|
|
138
|
-
console.log('%c [ rightSpan ]-215', 'font-size:13px; background:pink; color:#bf2c9f;', rightSpan);
|
|
139
136
|
return /*#__PURE__*/React.createElement(Row, {
|
|
140
137
|
gutter: gutter,
|
|
141
138
|
style: style,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
2
|
import { Flex } from 'antd';
|
|
3
3
|
var SectionFooters = function SectionFooters(props) {
|
|
4
|
-
console.log('%c [ props ]-6', 'font-size:13px; background:pink; color:#bf2c9f;', props);
|
|
5
4
|
useEffect(function () {
|
|
6
5
|
document.body.id = 'body';
|
|
7
6
|
}, []);
|
|
@@ -167,7 +167,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
167
167
|
sort?: SortType | undefined;
|
|
168
168
|
mode: "" | "localStorage" | "remote";
|
|
169
169
|
currentViewMode: ModeType;
|
|
170
|
-
}) => ("
|
|
170
|
+
}) => ("view_mode" | "column_setting" | "order_by" | "group_by" | "gallery_setting" | "filter_setting")[];
|
|
171
171
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
172
172
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
173
173
|
export {};
|
|
@@ -132,9 +132,6 @@ var Tabs = /*#__PURE__*/function (_Component) {
|
|
|
132
132
|
// renderTabBar: this.renderIconLabelTabBar,
|
|
133
133
|
// type: 'line',
|
|
134
134
|
};
|
|
135
|
-
console.log('%c [ type ]-118', 'font-size:13px; background:pink; color:#bf2c9f;', type);
|
|
136
|
-
console.log('%c [ props ]-123', 'font-size:13px; background:pink; color:#bf2c9f;', props);
|
|
137
|
-
console.log('%c [ otherProps ]-124', 'font-size:13px; background:pink; color:#bf2c9f;', otherProps);
|
|
138
135
|
if (type === 'line') {
|
|
139
136
|
items = items.map(function (item) {
|
|
140
137
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
@@ -151,7 +148,6 @@ var Tabs = /*#__PURE__*/function (_Component) {
|
|
|
151
148
|
});
|
|
152
149
|
});
|
|
153
150
|
}
|
|
154
|
-
console.log('%c [ items ]-142', 'font-size:13px; background:pink; color:#bf2c9f;', items);
|
|
155
151
|
return /*#__PURE__*/React.createElement(OriginalTabs, _extends({}, props, otherProps, {
|
|
156
152
|
items: items,
|
|
157
153
|
activeKey: activeKey,
|
|
@@ -39,11 +39,6 @@ var import_ahooks = require("ahooks");
|
|
|
39
39
|
var import_icons = require("@ant-design/icons");
|
|
40
40
|
var import_index = require("./index.less");
|
|
41
41
|
var PisellAnchor = (props) => {
|
|
42
|
-
console.log(
|
|
43
|
-
"%c [ props ]-21",
|
|
44
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
45
|
-
props
|
|
46
|
-
);
|
|
47
42
|
const [leftDisabled, setLeftDisabled] = (0, import_react.useState)(true);
|
|
48
43
|
const [rightDisabled, setRightDisabled] = (0, import_react.useState)(false);
|
|
49
44
|
const { items = [], direction, scrollNumber = 1 } = props;
|
|
@@ -37,11 +37,6 @@ var import_antd = require("antd");
|
|
|
37
37
|
var import_classnames = __toESM(require("classnames"));
|
|
38
38
|
var import_index = require("./index.less");
|
|
39
39
|
var pisellStatistic = (props) => {
|
|
40
|
-
console.log(
|
|
41
|
-
"%c [ props ]-6",
|
|
42
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
43
|
-
props
|
|
44
|
-
);
|
|
45
40
|
(0, import_react.useEffect)(() => {
|
|
46
41
|
document.body.id = "body";
|
|
47
42
|
}, []);
|
|
@@ -40,11 +40,6 @@ var import_index = require("./index.less");
|
|
|
40
40
|
var { Dragger } = import_antd.Upload;
|
|
41
41
|
var PisellUpload = (props) => {
|
|
42
42
|
const { name, multiple, onDrop, title, text1, text2, uploadType } = props;
|
|
43
|
-
console.log(
|
|
44
|
-
"%c [ props ]-13",
|
|
45
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
46
|
-
props
|
|
47
|
-
);
|
|
48
43
|
(0, import_react.useEffect)(() => {
|
|
49
44
|
document.body.id = "body";
|
|
50
45
|
}, []);
|
|
@@ -36,11 +36,6 @@ var import_react = __toESM(require("react"));
|
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_antd_img_crop = __toESM(require("antd-img-crop"));
|
|
38
38
|
var pisellUploadCrop = (props) => {
|
|
39
|
-
console.log(
|
|
40
|
-
"%c [ props ]-12",
|
|
41
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
42
|
-
props
|
|
43
|
-
);
|
|
44
39
|
const { cropShape } = props;
|
|
45
40
|
const [fileList, setFileList] = (0, import_react.useState)([]);
|
|
46
41
|
const onChange = ({ fileList: newFileList }) => {
|
|
@@ -44,11 +44,6 @@ var import_classnames = __toESM(require("classnames"));
|
|
|
44
44
|
var walletNumber = "123871283618273687123";
|
|
45
45
|
var PisellWalletCard = (props) => {
|
|
46
46
|
var _a;
|
|
47
|
-
console.log(
|
|
48
|
-
"%c [ props ]-12",
|
|
49
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
50
|
-
props
|
|
51
|
-
);
|
|
52
47
|
const {
|
|
53
48
|
mode,
|
|
54
49
|
cardStyle,
|
|
@@ -65,11 +60,6 @@ var PisellWalletCard = (props) => {
|
|
|
65
60
|
vouCher,
|
|
66
61
|
discountCard
|
|
67
62
|
} = props;
|
|
68
|
-
console.log(
|
|
69
|
-
"%c [ props ]-43",
|
|
70
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
71
|
-
props
|
|
72
|
-
);
|
|
73
63
|
const context = (0, import_useEngineContext.default)();
|
|
74
64
|
const [isModalOpen, setIsModalOpen] = (0, import_react.useState)(false);
|
|
75
65
|
const { store } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
|
|
@@ -168,21 +168,6 @@ var RecordView = (props) => {
|
|
|
168
168
|
emptyDom
|
|
169
169
|
);
|
|
170
170
|
}, [props, _renderItem, _footer]);
|
|
171
|
-
console.log(
|
|
172
|
-
"%c [ detail ]-209",
|
|
173
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
174
|
-
detail
|
|
175
|
-
);
|
|
176
|
-
console.log(
|
|
177
|
-
"%c [ _leftSpan ]-214",
|
|
178
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
179
|
-
_leftSpan
|
|
180
|
-
);
|
|
181
|
-
console.log(
|
|
182
|
-
"%c [ rightSpan ]-215",
|
|
183
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
184
|
-
rightSpan
|
|
185
|
-
);
|
|
186
171
|
return /* @__PURE__ */ import_react.default.createElement(import_antd.Row, { gutter, style, className: `${prefix}record-view` }, /* @__PURE__ */ import_react.default.createElement(import_antd.Col, { span: _leftSpan, className: `${prefix}record-view-left` }, list), !detailModalDisplay && /* @__PURE__ */ import_react.default.createElement(import_antd.Col, { span: rightSpan }, detail), detailModalShow && detailModalDisplay && /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}detail-modal-wrap` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}modal-header` }, /* @__PURE__ */ import_react.default.createElement(
|
|
187
172
|
import_icons.CloseOutlined,
|
|
188
173
|
{
|
|
@@ -25,11 +25,6 @@ module.exports = __toCommonJS(section_footers_exports);
|
|
|
25
25
|
var import_react = require("react");
|
|
26
26
|
var import_antd = require("antd");
|
|
27
27
|
var SectionFooters = (props) => {
|
|
28
|
-
console.log(
|
|
29
|
-
"%c [ props ]-6",
|
|
30
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
31
|
-
props
|
|
32
|
-
);
|
|
33
28
|
(0, import_react.useEffect)(() => {
|
|
34
29
|
document.body.id = "body";
|
|
35
30
|
}, []);
|
|
@@ -167,7 +167,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
167
167
|
sort?: SortType | undefined;
|
|
168
168
|
mode: "" | "localStorage" | "remote";
|
|
169
169
|
currentViewMode: ModeType;
|
|
170
|
-
}) => ("
|
|
170
|
+
}) => ("view_mode" | "column_setting" | "order_by" | "group_by" | "gallery_setting" | "filter_setting")[];
|
|
171
171
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
172
172
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
173
173
|
export {};
|
|
@@ -133,21 +133,6 @@ var Tabs = class extends import_react.Component {
|
|
|
133
133
|
// renderTabBar: this.renderIconLabelTabBar,
|
|
134
134
|
// type: 'line',
|
|
135
135
|
};
|
|
136
|
-
console.log(
|
|
137
|
-
"%c [ type ]-118",
|
|
138
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
139
|
-
type
|
|
140
|
-
);
|
|
141
|
-
console.log(
|
|
142
|
-
"%c [ props ]-123",
|
|
143
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
144
|
-
props
|
|
145
|
-
);
|
|
146
|
-
console.log(
|
|
147
|
-
"%c [ otherProps ]-124",
|
|
148
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
149
|
-
otherProps
|
|
150
|
-
);
|
|
151
136
|
if (type === "line") {
|
|
152
137
|
items = items.map((item) => {
|
|
153
138
|
return {
|
|
@@ -156,11 +141,6 @@ var Tabs = class extends import_react.Component {
|
|
|
156
141
|
};
|
|
157
142
|
});
|
|
158
143
|
}
|
|
159
|
-
console.log(
|
|
160
|
-
"%c [ items ]-142",
|
|
161
|
-
"font-size:13px; background:pink; color:#bf2c9f;",
|
|
162
|
-
items
|
|
163
|
-
);
|
|
164
144
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
165
145
|
import_antd.Tabs,
|
|
166
146
|
{
|
package/lowcode/timeline/meta.ts
CHANGED
|
@@ -105,7 +105,7 @@ export default {
|
|
|
105
105
|
return {
|
|
106
106
|
key: `timeLine${uuid()}`,
|
|
107
107
|
// label: '时间轴',
|
|
108
|
-
color:'#D0D5DD',
|
|
108
|
+
color: '#D0D5DD',
|
|
109
109
|
children: {
|
|
110
110
|
type: "JSSlot",
|
|
111
111
|
value: [],
|
|
@@ -161,7 +161,6 @@ export default {
|
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
console.log('%c [ items ]-158', 'font-size:13px; background:#4b6c60; color:#8fb0a4;', items);
|
|
165
164
|
return items;
|
|
166
165
|
},
|
|
167
166
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.450",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
66
66
|
"react-window": "^1.8.10",
|
|
67
67
|
"styled-components": "^6.0.0-rc.3",
|
|
68
|
-
"@pisell/
|
|
68
|
+
"@pisell/date-picker": "1.0.112",
|
|
69
69
|
"@pisell/utils": "1.0.43",
|
|
70
|
-
"@pisell/
|
|
70
|
+
"@pisell/icon": "0.0.10"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": "^18.0.0",
|