@pisell/materials 1.0.444 → 1.0.445
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 +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/cardPro/index.d.ts +4 -0
- package/es/components/cardPro/index.js +66 -0
- package/es/components/cardPro/index.less +58 -0
- package/es/components/section-footers/index.d.ts +3 -0
- package/es/components/section-footers/index.js +4 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -0
- package/lib/components/cardPro/index.d.ts +4 -0
- package/lib/components/cardPro/index.js +60 -0
- package/lib/components/cardPro/index.less +58 -0
- package/lib/components/section-footers/index.d.ts +3 -0
- package/lib/components/section-footers/index.js +28 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +6 -0
- package/lowcode/badge/meta.ts +2 -2
- package/lowcode/button/meta.ts +2 -5
- package/lowcode/card-pro/meta.ts +338 -0
- package/lowcode/card-pro/snippe.ts +39 -0
- package/lowcode/section-footers/meta.ts +22 -0
- package/lowcode/section-footers/snippe.ts +8 -0
- package/lowcode/statistic/meta.ts +1 -1
- package/lowcode/timeline/meta.ts +21 -6
- package/lowcode/timeline/snippets.ts +10 -2
- package/package.json +1 -1
- package/dist/umd/materials.min.css +0 -1
- package/dist/umd/materials.min.js +0 -1
- package/dist/umd/static/DotsSix.57d66266.svg +0 -1
- package/dist/umd/static/arrow-left.e542294f.svg +0 -1
- package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
- package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
- package/dist/umd/static/help-circle.31c9be40.svg +0 -1
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withWrap } from "../../utils/hoc";
|
|
3
|
+
import { Card, Flex } from 'antd';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
import "./index.less";
|
|
6
|
+
var CardPro = function CardPro(props) {
|
|
7
|
+
var headTitle = props.headTitle,
|
|
8
|
+
headSubTitle = props.headSubTitle,
|
|
9
|
+
_props$isShowFooter = props.isShowFooter,
|
|
10
|
+
isShowFooter = _props$isShowFooter === void 0 ? true : _props$isShowFooter,
|
|
11
|
+
contentHeight = props.contentHeight,
|
|
12
|
+
children = props.children,
|
|
13
|
+
_props$actionButtons = props.actionButtons,
|
|
14
|
+
actionButtons = _props$actionButtons === void 0 ? [] : _props$actionButtons,
|
|
15
|
+
_props$buttonPosition = props.buttonPosition,
|
|
16
|
+
buttonPosition = _props$buttonPosition === void 0 ? 'center' : _props$buttonPosition,
|
|
17
|
+
cover = props.cover,
|
|
18
|
+
extra = props.extra,
|
|
19
|
+
isShowHead = props.isShowHead,
|
|
20
|
+
className = props.className,
|
|
21
|
+
coverHeight = props.coverHeight,
|
|
22
|
+
badge = props.badge;
|
|
23
|
+
return /*#__PURE__*/React.createElement(Card, {
|
|
24
|
+
title: null,
|
|
25
|
+
style: {
|
|
26
|
+
padding: 0
|
|
27
|
+
},
|
|
28
|
+
className: classNames('pisell-cardPro-wrap', className, cover && 'pisell-cardPro-wrap-with-cover')
|
|
29
|
+
}, !!cover && /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
className: classNames('pisell-cardPro-cover'),
|
|
31
|
+
style: {
|
|
32
|
+
height: coverHeight
|
|
33
|
+
}
|
|
34
|
+
}, cover, /*#__PURE__*/React.createElement("div", {
|
|
35
|
+
className: classNames('pisell-cardPro-badge')
|
|
36
|
+
}, badge)), isShowHead && /*#__PURE__*/React.createElement(Flex, {
|
|
37
|
+
className: classNames('pisell-cardPro-head'),
|
|
38
|
+
justify: "space-between"
|
|
39
|
+
}, /*#__PURE__*/React.createElement(Flex, {
|
|
40
|
+
style: {
|
|
41
|
+
flex: 1
|
|
42
|
+
},
|
|
43
|
+
vertical: true,
|
|
44
|
+
gap: "middle"
|
|
45
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
46
|
+
className: classNames('pisell-cardPro-head-title')
|
|
47
|
+
}, headTitle), /*#__PURE__*/React.createElement("div", {
|
|
48
|
+
className: classNames('pisell-cardPro-head-subTitle')
|
|
49
|
+
}, headSubTitle)), /*#__PURE__*/React.createElement("div", {
|
|
50
|
+
className: classNames('pisell-cardPro-head-extra')
|
|
51
|
+
}, extra)), /*#__PURE__*/React.createElement(Flex, {
|
|
52
|
+
style: {
|
|
53
|
+
height: contentHeight
|
|
54
|
+
},
|
|
55
|
+
className: classNames('pisell-cardPro-content')
|
|
56
|
+
}, children), isShowFooter && /*#__PURE__*/React.createElement(Flex, {
|
|
57
|
+
gap: 20,
|
|
58
|
+
justify: buttonPosition,
|
|
59
|
+
style: {
|
|
60
|
+
marginTop: 20
|
|
61
|
+
}
|
|
62
|
+
}, actionButtons.map(function (item, index) {
|
|
63
|
+
return item.button;
|
|
64
|
+
})));
|
|
65
|
+
};
|
|
66
|
+
export default withWrap(CardPro);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.pisell-cardPro-wrap {
|
|
2
|
+
border-radius: 12px;
|
|
3
|
+
|
|
4
|
+
&.pisell-cardPro-wrap-with-cover {
|
|
5
|
+
.pisell-lowcode-card-body {
|
|
6
|
+
padding-top: 0;
|
|
7
|
+
padding-left: 0;
|
|
8
|
+
padding-right: 0;
|
|
9
|
+
padding-bottom: 24px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.pisell-cardPro-head, .pisell-cardPro-content {
|
|
13
|
+
padding: 0 24px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
.pisell-cardPro-cover {
|
|
19
|
+
position: relative;
|
|
20
|
+
|
|
21
|
+
.pisell-cardPro-badge {
|
|
22
|
+
position: absolute;
|
|
23
|
+
right: 0;
|
|
24
|
+
top: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.pisell-cardPro-head {
|
|
30
|
+
padding: 0;
|
|
31
|
+
.pisell-cardPro-head-title {
|
|
32
|
+
font-size: 16px;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
color: #1a2029;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.pisell-cardPro-head-subtitle {
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
color: #6e8098;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pisell-cardPro-head-extra {
|
|
43
|
+
width: 150px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.pisell-cardPro-content {
|
|
48
|
+
overflow-y: auto;
|
|
49
|
+
margin-top: 20px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.pisell-cardPro-content {
|
|
53
|
+
overflow-y: auto;
|
|
54
|
+
margin-top: 20px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
}
|
package/es/index.d.ts
CHANGED
|
@@ -76,9 +76,11 @@ export { default as InputNumberRange } from './components/input-number-range';
|
|
|
76
76
|
export { default as LowCodePage } from './components/lowCodePage';
|
|
77
77
|
export { default as PickerView } from './components/picker-view';
|
|
78
78
|
export { default as Segmented } from './components/segmented';
|
|
79
|
+
export { default as CardPro } from './components/cardPro';
|
|
79
80
|
export { default as VirtualKeyboard } from './components/virtual-keyboard';
|
|
80
81
|
export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
|
|
81
82
|
export { default as SelectTime } from './components/select-time';
|
|
83
|
+
export { default as sectionFooters } from './components/section-footers';
|
|
82
84
|
export { default as AutoCompleteNumber } from './components/auto-complete-number';
|
|
83
85
|
export { default as BatchEditor } from './components/batch-editor';
|
|
84
86
|
export { default as DragSortTree } from './components/drag-sort-tree';
|
package/es/index.js
CHANGED
|
@@ -96,9 +96,11 @@ export { default as InputNumberRange } from "./components/input-number-range";
|
|
|
96
96
|
export { default as LowCodePage } from "./components/lowCodePage";
|
|
97
97
|
export { default as PickerView } from "./components/picker-view";
|
|
98
98
|
export { default as Segmented } from "./components/segmented";
|
|
99
|
+
export { default as CardPro } from "./components/cardPro";
|
|
99
100
|
export { default as VirtualKeyboard } from "./components/virtual-keyboard";
|
|
100
101
|
export { default as VirtualKeyboardTime } from "./components/virtual-keyboard/Time";
|
|
101
102
|
export { default as SelectTime } from "./components/select-time";
|
|
103
|
+
export { default as sectionFooters } from "./components/section-footers";
|
|
102
104
|
export { default as AutoCompleteNumber } from "./components/auto-complete-number";
|
|
103
105
|
export { default as BatchEditor } from "./components/batch-editor";
|
|
104
106
|
export { default as DragSortTree } from "./components/drag-sort-tree";
|
|
@@ -0,0 +1,60 @@
|
|
|
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/cardPro/index.tsx
|
|
30
|
+
var cardPro_exports = {};
|
|
31
|
+
__export(cardPro_exports, {
|
|
32
|
+
default: () => cardPro_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(cardPro_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_hoc = require("../../utils/hoc");
|
|
37
|
+
var import_antd = require("antd");
|
|
38
|
+
var import_classnames = __toESM(require("classnames"));
|
|
39
|
+
var import_index = require("./index.less");
|
|
40
|
+
var CardPro = (props) => {
|
|
41
|
+
const {
|
|
42
|
+
headTitle,
|
|
43
|
+
headSubTitle,
|
|
44
|
+
isShowFooter = true,
|
|
45
|
+
contentHeight,
|
|
46
|
+
children,
|
|
47
|
+
actionButtons = [],
|
|
48
|
+
buttonPosition = "center",
|
|
49
|
+
cover,
|
|
50
|
+
extra,
|
|
51
|
+
isShowHead,
|
|
52
|
+
className,
|
|
53
|
+
coverHeight,
|
|
54
|
+
badge
|
|
55
|
+
} = props;
|
|
56
|
+
return /* @__PURE__ */ import_react.default.createElement(import_antd.Card, { title: null, style: { padding: 0 }, className: (0, import_classnames.default)("pisell-cardPro-wrap", className, cover && "pisell-cardPro-wrap-with-cover") }, !!cover && /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("pisell-cardPro-cover"), style: { height: coverHeight } }, cover, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("pisell-cardPro-badge") }, badge)), isShowHead && /* @__PURE__ */ import_react.default.createElement(import_antd.Flex, { className: (0, import_classnames.default)("pisell-cardPro-head"), justify: "space-between" }, /* @__PURE__ */ import_react.default.createElement(import_antd.Flex, { style: { flex: 1 }, vertical: true, gap: "middle" }, /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("pisell-cardPro-head-title") }, headTitle), /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("pisell-cardPro-head-subTitle") }, headSubTitle)), /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("pisell-cardPro-head-extra") }, extra)), /* @__PURE__ */ import_react.default.createElement(import_antd.Flex, { style: { height: contentHeight }, className: (0, import_classnames.default)("pisell-cardPro-content") }, children), isShowFooter && /* @__PURE__ */ import_react.default.createElement(import_antd.Flex, { gap: 20, justify: buttonPosition, style: { marginTop: 20 } }, actionButtons.map((item, index) => {
|
|
57
|
+
return item.button;
|
|
58
|
+
})));
|
|
59
|
+
};
|
|
60
|
+
var cardPro_default = (0, import_hoc.withWrap)(CardPro);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.pisell-cardPro-wrap {
|
|
2
|
+
border-radius: 12px;
|
|
3
|
+
|
|
4
|
+
&.pisell-cardPro-wrap-with-cover {
|
|
5
|
+
.pisell-lowcode-card-body {
|
|
6
|
+
padding-top: 0;
|
|
7
|
+
padding-left: 0;
|
|
8
|
+
padding-right: 0;
|
|
9
|
+
padding-bottom: 24px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.pisell-cardPro-head, .pisell-cardPro-content {
|
|
13
|
+
padding: 0 24px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
.pisell-cardPro-cover {
|
|
19
|
+
position: relative;
|
|
20
|
+
|
|
21
|
+
.pisell-cardPro-badge {
|
|
22
|
+
position: absolute;
|
|
23
|
+
right: 0;
|
|
24
|
+
top: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.pisell-cardPro-head {
|
|
30
|
+
padding: 0;
|
|
31
|
+
.pisell-cardPro-head-title {
|
|
32
|
+
font-size: 16px;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
color: #1a2029;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.pisell-cardPro-head-subtitle {
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
color: #6e8098;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pisell-cardPro-head-extra {
|
|
43
|
+
width: 150px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.pisell-cardPro-content {
|
|
48
|
+
overflow-y: auto;
|
|
49
|
+
margin-top: 20px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.pisell-cardPro-content {
|
|
53
|
+
overflow-y: auto;
|
|
54
|
+
margin-top: 20px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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/section-footers/index.tsx
|
|
20
|
+
var section_footers_exports = {};
|
|
21
|
+
__export(section_footers_exports, {
|
|
22
|
+
default: () => section_footers_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(section_footers_exports);
|
|
25
|
+
var SectionFooters = () => {
|
|
26
|
+
return /* @__PURE__ */ React.createElement("div", null, "12313");
|
|
27
|
+
};
|
|
28
|
+
var section_footers_default = SectionFooters;
|
package/lib/index.d.ts
CHANGED
|
@@ -76,9 +76,11 @@ export { default as InputNumberRange } from './components/input-number-range';
|
|
|
76
76
|
export { default as LowCodePage } from './components/lowCodePage';
|
|
77
77
|
export { default as PickerView } from './components/picker-view';
|
|
78
78
|
export { default as Segmented } from './components/segmented';
|
|
79
|
+
export { default as CardPro } from './components/cardPro';
|
|
79
80
|
export { default as VirtualKeyboard } from './components/virtual-keyboard';
|
|
80
81
|
export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
|
|
81
82
|
export { default as SelectTime } from './components/select-time';
|
|
83
|
+
export { default as sectionFooters } from './components/section-footers';
|
|
82
84
|
export { default as AutoCompleteNumber } from './components/auto-complete-number';
|
|
83
85
|
export { default as BatchEditor } from './components/batch-editor';
|
|
84
86
|
export { default as DragSortTree } from './components/drag-sort-tree';
|
package/lib/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __export(src_exports, {
|
|
|
43
43
|
ButtonGroupPreview: () => import_buttonGroupPreview.default,
|
|
44
44
|
Calendar: () => import_calendar.default,
|
|
45
45
|
Card: () => import_antd7.Card,
|
|
46
|
+
CardPro: () => import_cardPro.default,
|
|
46
47
|
Carousel: () => import_antd9.Carousel,
|
|
47
48
|
Cascader: () => import_cascader.default,
|
|
48
49
|
Checkbox: () => import_checkbox.default,
|
|
@@ -142,6 +143,7 @@ __export(src_exports, {
|
|
|
142
143
|
globalConfig: () => import_context.globalConfig,
|
|
143
144
|
message: () => import_antd17.message,
|
|
144
145
|
notification: () => import_antd21.notification,
|
|
146
|
+
sectionFooters: () => import_section_footers.default,
|
|
145
147
|
usePisellConfig: () => import_usePisellConfig.default,
|
|
146
148
|
version: () => import_antd38.version
|
|
147
149
|
});
|
|
@@ -224,9 +226,11 @@ var import_input_number_range = __toESM(require("./components/input-number-range
|
|
|
224
226
|
var import_lowCodePage = __toESM(require("./components/lowCodePage"));
|
|
225
227
|
var import_picker_view = __toESM(require("./components/picker-view"));
|
|
226
228
|
var import_segmented = __toESM(require("./components/segmented"));
|
|
229
|
+
var import_cardPro = __toESM(require("./components/cardPro"));
|
|
227
230
|
var import_virtual_keyboard = __toESM(require("./components/virtual-keyboard"));
|
|
228
231
|
var import_Time = __toESM(require("./components/virtual-keyboard/Time"));
|
|
229
232
|
var import_select_time = __toESM(require("./components/select-time"));
|
|
233
|
+
var import_section_footers = __toESM(require("./components/section-footers"));
|
|
230
234
|
var import_auto_complete_number = __toESM(require("./components/auto-complete-number"));
|
|
231
235
|
var import_batch_editor = __toESM(require("./components/batch-editor"));
|
|
232
236
|
var import_drag_sort_tree = __toESM(require("./components/drag-sort-tree"));
|
|
@@ -276,6 +280,7 @@ var import_PisellAdjustPriceInputNumber = __toESM(require("./components/pisellAd
|
|
|
276
280
|
ButtonGroupPreview,
|
|
277
281
|
Calendar,
|
|
278
282
|
Card,
|
|
283
|
+
CardPro,
|
|
279
284
|
Carousel,
|
|
280
285
|
Cascader,
|
|
281
286
|
Checkbox,
|
|
@@ -375,6 +380,7 @@ var import_PisellAdjustPriceInputNumber = __toESM(require("./components/pisellAd
|
|
|
375
380
|
globalConfig,
|
|
376
381
|
message,
|
|
377
382
|
notification,
|
|
383
|
+
sectionFooters,
|
|
378
384
|
usePisellConfig,
|
|
379
385
|
version
|
|
380
386
|
});
|
package/lowcode/badge/meta.ts
CHANGED
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
snippets,
|
|
5
5
|
componentName: 'Badge',
|
|
6
6
|
title: '徽标数',
|
|
7
|
-
category: '
|
|
7
|
+
category: '通用',
|
|
8
8
|
docUrl: "",
|
|
9
9
|
screenshot: "",
|
|
10
10
|
devMode: "proCode",
|
|
@@ -87,7 +87,7 @@ export default {
|
|
|
87
87
|
tip: '设置鼠标放在状态点上时显示的文字',
|
|
88
88
|
},
|
|
89
89
|
propType: 'string',
|
|
90
|
-
setter: '
|
|
90
|
+
setter: 'StringSetter',
|
|
91
91
|
},
|
|
92
92
|
],
|
|
93
93
|
configure: {
|
package/lowcode/button/meta.ts
CHANGED
|
@@ -40,11 +40,8 @@ const ButtonMeta: ComponentMetadata = {
|
|
|
40
40
|
},
|
|
41
41
|
tip: "children",
|
|
42
42
|
},
|
|
43
|
-
propType:
|
|
44
|
-
|
|
45
|
-
value: ["node", "string"],
|
|
46
|
-
},
|
|
47
|
-
setter: ["SlotSetter", "PisellI18nSetter", "VariableSetter"],
|
|
43
|
+
propType: 'string',
|
|
44
|
+
setter: 'StringSetter',
|
|
48
45
|
},
|
|
49
46
|
{
|
|
50
47
|
name: "htmlType",
|