ydb-components-material 0.1.11 → 0.1.12
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/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/static/close.cd5b8056.svg +1 -0
- package/build/docs/static/fail.e0f0041c.svg +1 -0
- package/build/docs/static/notice.acf35766.svg +1 -0
- package/build/docs/static/success.35a6d851.svg +1 -0
- package/build/docs/static/success.593e92b2.svg +1 -0
- package/build/docs/static/success.67acd079.svg +1 -0
- package/build/docs/static/warning.acf35766.svg +1 -0
- package/build/docs/static/warning.e0f0041c.svg +1 -0
- package/build/docs/{umi.62ce371b.css → umi.80818792.css} +1 -1
- package/build/docs/umi.d539b2d2.js +1 -0
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- 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 +1 -1
- package/build/lowcode/preview.js +9 -9
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +1 -1
- package/dist/BizComps.js.map +1 -1
- package/es/components/check-detail/icons/close.svg +1 -0
- package/es/components/check-detail/icons/ignore.svg +1 -0
- package/es/components/check-detail/icons/notice.svg +1 -0
- package/es/components/check-detail/icons/success.svg +1 -0
- package/es/components/check-detail/icons/warning.svg +1 -0
- package/es/components/check-detail/index.d.ts +13 -0
- package/es/components/check-detail/index.js +141 -0
- package/es/components/check-detail/index.scss +146 -0
- package/es/components/file-item/index.js +7 -5
- package/es/components/file-item/index.scss +7 -0
- package/es/components/material-check-res/icon/fail.svg +1 -0
- package/es/components/material-check-res/icon/file.svg +1 -0
- package/es/components/material-check-res/icon/success.svg +1 -0
- package/es/components/material-check-res/icon/warning.svg +1 -0
- package/es/components/material-check-res/index.d.ts +13 -0
- package/es/components/material-check-res/index.js +52 -0
- package/es/components/material-check-res/index.scss +52 -0
- package/es/components/statistic/index.scss +1 -1
- package/es/components/success-prompt/index.d.ts +13 -0
- package/es/components/success-prompt/index.js +32 -0
- package/es/components/success-prompt/index.scss +29 -0
- package/es/components/success-prompt/success.svg +1 -0
- package/es/index.d.ts +6 -0
- package/es/index.js +3 -0
- package/lib/components/check-detail/icons/close.svg +1 -0
- package/lib/components/check-detail/icons/ignore.svg +1 -0
- package/lib/components/check-detail/icons/notice.svg +1 -0
- package/lib/components/check-detail/icons/success.svg +1 -0
- package/lib/components/check-detail/icons/warning.svg +1 -0
- package/lib/components/check-detail/index.d.ts +13 -0
- package/lib/components/check-detail/index.js +147 -0
- package/lib/components/check-detail/index.scss +146 -0
- package/lib/components/file-item/index.js +7 -5
- package/lib/components/file-item/index.scss +7 -0
- package/lib/components/material-check-res/icon/fail.svg +1 -0
- package/lib/components/material-check-res/icon/file.svg +1 -0
- package/lib/components/material-check-res/icon/success.svg +1 -0
- package/lib/components/material-check-res/icon/warning.svg +1 -0
- package/lib/components/material-check-res/index.d.ts +13 -0
- package/lib/components/material-check-res/index.js +58 -0
- package/lib/components/material-check-res/index.scss +52 -0
- package/lib/components/statistic/index.scss +1 -1
- package/lib/components/success-prompt/index.d.ts +13 -0
- package/lib/components/success-prompt/index.js +38 -0
- package/lib/components/success-prompt/index.scss +29 -0
- package/lib/components/success-prompt/success.svg +1 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +7 -1
- package/lowcode/check-detail/meta.ts +117 -0
- package/lowcode/material-check-res/meta.ts +117 -0
- package/lowcode/success-prompt/meta.ts +117 -0
- package/lowcode_es/check-detail/meta.d.ts +22 -0
- package/lowcode_es/check-detail/meta.js +99 -0
- package/lowcode_es/material-check-res/meta.d.ts +22 -0
- package/lowcode_es/material-check-res/meta.js +99 -0
- package/lowcode_es/meta.js +5 -2
- package/lowcode_es/success-prompt/meta.d.ts +22 -0
- package/lowcode_es/success-prompt/meta.js +99 -0
- package/lowcode_lib/check-detail/meta.d.ts +22 -0
- package/lowcode_lib/check-detail/meta.js +104 -0
- package/lowcode_lib/material-check-res/meta.d.ts +22 -0
- package/lowcode_lib/material-check-res/meta.js +104 -0
- package/lowcode_lib/meta.js +13 -10
- package/lowcode_lib/success-prompt/meta.d.ts +22 -0
- package/lowcode_lib/success-prompt/meta.js +104 -0
- package/package.json +3 -3
- package/build/docs/umi.7aa0ce58.js +0 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _file = _interopRequireDefault(require("./icon/file.svg"));
|
|
9
|
+
var _fail = _interopRequireDefault(require("./icon/fail.svg"));
|
|
10
|
+
var _success = _interopRequireDefault(require("./icon/success.svg"));
|
|
11
|
+
var _warning = _interopRequireDefault(require("./icon/warning.svg"));
|
|
12
|
+
require("./index.scss");
|
|
13
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
14
|
+
var MaterialCheckRes = function MaterialCheckRes(_ref) {
|
|
15
|
+
var _ref$type = _ref.type,
|
|
16
|
+
type = _ref$type === void 0 ? 'fail' : _ref$type,
|
|
17
|
+
number = _ref.number,
|
|
18
|
+
text = _ref.text,
|
|
19
|
+
style = _ref.style;
|
|
20
|
+
var color = {
|
|
21
|
+
fail: '#F7625D',
|
|
22
|
+
warning: '#F29655',
|
|
23
|
+
success: '#15BC83'
|
|
24
|
+
}[type];
|
|
25
|
+
var icon = {
|
|
26
|
+
fail: _fail["default"],
|
|
27
|
+
warning: _warning["default"],
|
|
28
|
+
success: _success["default"]
|
|
29
|
+
}[type];
|
|
30
|
+
var res = {
|
|
31
|
+
fail: '预审存疑',
|
|
32
|
+
warning: '人工判断',
|
|
33
|
+
success: '预检通过'
|
|
34
|
+
}[type];
|
|
35
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: "materialCheckRes",
|
|
37
|
+
style: (0, _extends2["default"])({
|
|
38
|
+
color: color
|
|
39
|
+
}, style)
|
|
40
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
className: "file"
|
|
42
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
43
|
+
className: "icon",
|
|
44
|
+
src: _file["default"],
|
|
45
|
+
alt: ""
|
|
46
|
+
}), "\u6587\u4EF6"), /*#__PURE__*/React.createElement("div", {
|
|
47
|
+
className: "btns"
|
|
48
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
49
|
+
className: "res"
|
|
50
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
51
|
+
src: icon,
|
|
52
|
+
alt: ""
|
|
53
|
+
}), res), /*#__PURE__*/React.createElement("div", {
|
|
54
|
+
className: "detail"
|
|
55
|
+
}, "\u67E5\u770B\u8BE6\u60C5")));
|
|
56
|
+
};
|
|
57
|
+
MaterialCheckRes.displayName = 'MaterialCheckRes';
|
|
58
|
+
var _default = exports["default"] = MaterialCheckRes;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.materialCheckRes {
|
|
2
|
+
width: 100%;
|
|
3
|
+
border-radius: 8px;
|
|
4
|
+
background: #F7F7F7;
|
|
5
|
+
padding: 10px;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: flex-end;
|
|
8
|
+
|
|
9
|
+
.file {
|
|
10
|
+
width: 80px;
|
|
11
|
+
height: 85px;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
background: #fff;
|
|
18
|
+
font-size: 12px;
|
|
19
|
+
color: #666666;
|
|
20
|
+
margin-right: 12px;
|
|
21
|
+
|
|
22
|
+
img {
|
|
23
|
+
width: 24px;
|
|
24
|
+
height: 24px;
|
|
25
|
+
margin-bottom: 7px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.btns {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
padding-bottom: 5px;
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
flex: 1;
|
|
36
|
+
|
|
37
|
+
.res {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.detail {
|
|
43
|
+
color: #1678FF;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
img {
|
|
47
|
+
width: 16px;
|
|
48
|
+
height: 16px;
|
|
49
|
+
margin-right: 6px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
export interface SuccessPromptProps {
|
|
4
|
+
/**
|
|
5
|
+
* 类型
|
|
6
|
+
*/
|
|
7
|
+
type?: "fail" | "warning" | "success";
|
|
8
|
+
number: number;
|
|
9
|
+
text: string;
|
|
10
|
+
style?: object;
|
|
11
|
+
}
|
|
12
|
+
declare const SuccessPrompt: React.FC<SuccessPromptProps>;
|
|
13
|
+
export default SuccessPrompt;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _radio = _interopRequireDefault(require("@alifd/next/lib/radio"));
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _success = _interopRequireDefault(require("./success.svg"));
|
|
9
|
+
require("./index.scss");
|
|
10
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
11
|
+
var SuccessPrompt = function SuccessPrompt(_ref) {
|
|
12
|
+
var _ref$type = _ref.type,
|
|
13
|
+
type = _ref$type === void 0 ? 'fail' : _ref$type,
|
|
14
|
+
number = _ref.number,
|
|
15
|
+
text = _ref.text,
|
|
16
|
+
style = _ref.style;
|
|
17
|
+
var handleChange = function handleChange(value) {
|
|
18
|
+
console.log(value);
|
|
19
|
+
};
|
|
20
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
21
|
+
className: "SuccessPrompt",
|
|
22
|
+
style: style
|
|
23
|
+
}, "\u60A8\u63D0\u4EA4\u7684\u6750\u6599\u5DF2\u901A\u8FC7\u7CFB\u7EDF\u201C\u667A\u80FD\u9884\u5BA1\u201D\uFF0C\u201C\u667A\u80FD\u9884\u5BA1\u201D\u4EC5\u4EE3\u8868\u7CFB\u7EDF\u7684\u521D\u6B65\u5224\u65AD\uFF0C\u6700\u7EC8\u5BA1\u6838\u7ED3\u679C\u4EE5\u4E1A\u52A1\u90E8\u95E8\u7684\u5BA1\u6838\u7ED3\u679C\u4E3A\u51C6\uFF01", /*#__PURE__*/React.createElement("div", {
|
|
24
|
+
className: "radio"
|
|
25
|
+
}, /*#__PURE__*/React.createElement(_radio["default"], {
|
|
26
|
+
onChange: function onChange(val) {
|
|
27
|
+
return handleChange(val);
|
|
28
|
+
}
|
|
29
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
30
|
+
className: "text"
|
|
31
|
+
}, "\u6211\u5DF2\u77E5\u6653")), /*#__PURE__*/React.createElement("img", {
|
|
32
|
+
className: "img",
|
|
33
|
+
src: _success["default"],
|
|
34
|
+
alt: ""
|
|
35
|
+
}));
|
|
36
|
+
};
|
|
37
|
+
SuccessPrompt.displayName = 'SuccessPrompt';
|
|
38
|
+
var _default = exports["default"] = SuccessPrompt;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.SuccessPrompt {
|
|
2
|
+
width: 100%;
|
|
3
|
+
padding: 16px 12px;
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
background: #15BC83;
|
|
6
|
+
color: #fff;
|
|
7
|
+
font-size: 12px;
|
|
8
|
+
position: relative;
|
|
9
|
+
|
|
10
|
+
.img {
|
|
11
|
+
width: 69px;
|
|
12
|
+
height: 69px;
|
|
13
|
+
position: absolute;
|
|
14
|
+
right: 12px;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.radio {
|
|
19
|
+
margin-top: 8px;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
row-gap: 2px;
|
|
23
|
+
|
|
24
|
+
.text {
|
|
25
|
+
margin-left: 3px;
|
|
26
|
+
margin-top: 1px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="69" height="69" viewBox="0 0 69 69"><g><g><rect x="0" y="0" width="69" height="69" rx="34.5" fill="#FFFFFF" fill-opacity="0.10000000149011612"/></g><g><path d="M55.595893762939454,26.270896918530273Q55.80478276293945,26.062006718530274,55.968906762939454,25.816378018530273Q56.13302976293945,25.570749118530273,56.24608276293945,25.297821018530275Q56.35913076293945,25.024892868530273,56.41676376293945,24.735153908530272Q56.474399762939456,24.445414898530274,56.474399762939456,24.149999618530273Q56.474399762939456,24.002648528530273,56.459956762939456,23.856006978530274Q56.44551476293945,23.709365428530273,56.41676376293945,23.564845678530272Q56.38801976293945,23.420325878530274,56.34524176293945,23.279319648530272Q56.30247076293945,23.138313518530275,56.246078762939455,23.002178918530273Q56.189693762939456,22.866044118530272,56.12023576293945,22.736092118530273Q56.05076976293945,22.606140118530273,55.968906762939454,22.483622318530273Q55.88704276293945,22.361104218530272,55.79356776293945,22.247200218530274Q55.70008876293945,22.133296518530273,55.595893762939454,22.029103518530274Q55.491702762939454,21.924910518530275,55.37779976293945,21.831431818530273Q55.26389676293945,21.737953418530275,55.14137676293945,21.656089818530273Q55.01886376293945,21.574225618530274,54.88891176293945,21.504764818530273Q54.758956762939455,21.435303918530273,54.622817762939455,21.378915318530275Q54.48668276293945,21.322526418530273,54.345679762939454,21.279752718530272Q54.20467376293945,21.236979018530274,54.06015376293945,21.208232418530272Q53.915637762939454,21.179485318530272,53.76899376293945,21.165042118530273Q53.62234876293945,21.150599518530274,53.47499876293945,21.150599518530274Q53.179584762939456,21.150599518530274,52.88984276293945,21.208232418530272Q52.60010576293945,21.265864818530275,52.32717476293945,21.378915318530275Q52.05424876293945,21.491965818530275,51.808620762939455,21.656089818530273Q51.562991762939454,21.820213318530275,51.35410076293945,22.029103318530275L51.353677762939455,22.028679418530274L31.050000762939455,42.332359618530276L22.821320962939453,34.10367961853027L22.820896662939454,34.10410401853027Q22.612006562939452,33.895214118530276,22.366377962939453,33.73108961853028Q22.12074926293945,33.56696511853028,21.847821262939455,33.45391461853028Q21.574893352939455,33.34086421853027,21.28515458293945,33.28323271853027Q20.995415832939454,33.225600218530275,20.700000762939453,33.225600218530275Q20.552649672939452,33.22560121853027,20.406008122939454,33.24004361853027Q20.259366572939452,33.254486118530274,20.11484682293945,33.28323271853027Q19.970327022939454,33.31197931853028,19.829320792939452,33.35475351853027Q19.688314662939455,33.39752771853027,19.552180062939453,33.453915618530274Q19.416045262939452,33.51030541853027,19.286093262939453,33.57976531853028Q19.156141262939453,33.64922711853028,19.033623462939453,33.73109051853027Q18.911105362939452,33.812954918530274,18.797201362939454,33.90643311853027Q18.683297662939452,33.99991221853027,18.579104662939454,34.10410401853027Q18.474911662939455,34.208297618530274,18.381432962939453,34.322200618530275Q18.287954562939454,34.43610561853028,18.206090962939452,34.55862261853027Q18.124226762939454,34.68114061853027,18.054765962939452,34.811092618530274Q17.985305062939453,34.94104461853027,17.928916462939455,35.077178618530276Q17.872527562939453,35.21331361853027,17.82975386293945,35.354320618530274Q17.786980162939454,35.49532661853027,17.758233562939452,35.63984561853027Q17.72948646293945,35.78436661853027,17.715043262939453,35.93100861853027Q17.700600362939454,36.07764961853027,17.700600662939454,36.225000618530274Q17.700600662939454,36.52041561853027,17.758233262939452,36.81015361853027Q17.815865962939455,37.099893618530274,17.928916462939455,37.372821618530274Q18.041966962939455,37.64574861853028,18.206090962939452,37.891378618530275Q18.370214962939453,38.13700661853027,18.579104862939452,38.345896618530276L18.578680562939454,38.34632061853027L28.78727146293945,48.554912618530274Q31.049972762939454,50.81758661853027,33.31274176293945,48.55490161853027L55.59631776293946,26.271319818530273L55.595893762939454,26.270896918530273Z" fill-rule="evenodd" fill="#15BC83" fill-opacity="1"/></g></g></svg>
|
package/lib/index.d.ts
CHANGED
|
@@ -15,5 +15,11 @@ export type { MessageProps } from './components/message';
|
|
|
15
15
|
export { default as Message } from './components/message';
|
|
16
16
|
export type { StatsticProps } from './components/statistic';
|
|
17
17
|
export { default as Statstic } from './components/statistic';
|
|
18
|
+
export type { MaterialCheckResProps } from './components/material-check-res';
|
|
19
|
+
export { default as MaterialCheckRes } from './components/material-check-res';
|
|
20
|
+
export type { SuccessPromptProps } from './components/success-prompt';
|
|
21
|
+
export { default as SuccessPrompt } from './components/success-prompt';
|
|
22
|
+
export type { CheckDetailProps } from './components/check-detail';
|
|
23
|
+
export { default as CheckDetail } from './components/check-detail';
|
|
18
24
|
declare const bizCssPrefix = "bizpack";
|
|
19
25
|
export { bizCssPrefix };
|
package/lib/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
|
-
exports.bizCssPrefix = exports.Tips = exports.Statstic = exports.Message = exports.FileItem = exports.ColorfulInput = exports.ColorfulButton = exports.CheckRes = exports.CheckLoading = exports.CardTitle = void 0;
|
|
5
|
+
exports.bizCssPrefix = exports.Tips = exports.SuccessPrompt = exports.Statstic = exports.Message = exports.MaterialCheckRes = exports.FileItem = exports.ColorfulInput = exports.ColorfulButton = exports.CheckRes = exports.CheckLoading = exports.CheckDetail = exports.CardTitle = void 0;
|
|
6
6
|
var _colorfulButton = _interopRequireDefault(require("./components/colorful-button"));
|
|
7
7
|
exports.ColorfulButton = _colorfulButton["default"];
|
|
8
8
|
var _colorfulInput = _interopRequireDefault(require("./components/colorful-input"));
|
|
@@ -21,4 +21,10 @@ var _message = _interopRequireDefault(require("./components/message"));
|
|
|
21
21
|
exports.Message = _message["default"];
|
|
22
22
|
var _statistic = _interopRequireDefault(require("./components/statistic"));
|
|
23
23
|
exports.Statstic = _statistic["default"];
|
|
24
|
+
var _materialCheckRes = _interopRequireDefault(require("./components/material-check-res"));
|
|
25
|
+
exports.MaterialCheckRes = _materialCheckRes["default"];
|
|
26
|
+
var _successPrompt = _interopRequireDefault(require("./components/success-prompt"));
|
|
27
|
+
exports.SuccessPrompt = _successPrompt["default"];
|
|
28
|
+
var _checkDetail = _interopRequireDefault(require("./components/check-detail"));
|
|
29
|
+
exports.CheckDetail = _checkDetail["default"];
|
|
24
30
|
var bizCssPrefix = exports.bizCssPrefix = 'bizpack';
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const CheckDetailMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "CheckDetail",
|
|
6
|
+
"title": "CheckDetail",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "ydb-components-material",
|
|
12
|
+
"version": "0.1.11",
|
|
13
|
+
"exportName": "CheckDetail",
|
|
14
|
+
"main": "src/index.tsx",
|
|
15
|
+
"destructuring": true,
|
|
16
|
+
"subName": ""
|
|
17
|
+
},
|
|
18
|
+
"configure": {
|
|
19
|
+
"props": [
|
|
20
|
+
{
|
|
21
|
+
"title": {
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "i18n",
|
|
24
|
+
"en-US": "type",
|
|
25
|
+
"zh-CN": "类型"
|
|
26
|
+
},
|
|
27
|
+
"tip": "type | 类型"
|
|
28
|
+
},
|
|
29
|
+
"name": "type",
|
|
30
|
+
"description": "类型",
|
|
31
|
+
"setter": {
|
|
32
|
+
"componentName": "RadioGroupSetter",
|
|
33
|
+
"props": {
|
|
34
|
+
"dataSource": [
|
|
35
|
+
{
|
|
36
|
+
"label": "success",
|
|
37
|
+
"value": "success"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"label": "warning",
|
|
41
|
+
"value": "warning"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"label": "notice",
|
|
45
|
+
"value": "notice"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"options": [
|
|
49
|
+
{
|
|
50
|
+
"label": "success",
|
|
51
|
+
"value": "success"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "warning",
|
|
55
|
+
"value": "warning"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"label": "notice",
|
|
59
|
+
"value": "notice"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"initialValue": "success"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"title": {
|
|
68
|
+
"label": {
|
|
69
|
+
"type": "i18n",
|
|
70
|
+
"en-US": "title",
|
|
71
|
+
"zh-CN": "title"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"name": "title",
|
|
75
|
+
"setter": {
|
|
76
|
+
"componentName": "StringSetter",
|
|
77
|
+
"isRequired": true,
|
|
78
|
+
"initialValue": ""
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"title": {
|
|
83
|
+
"label": {
|
|
84
|
+
"type": "i18n",
|
|
85
|
+
"en-US": "text",
|
|
86
|
+
"zh-CN": "text"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"name": "text",
|
|
90
|
+
"setter": {
|
|
91
|
+
"componentName": "StringSetter",
|
|
92
|
+
"isRequired": true,
|
|
93
|
+
"initialValue": ""
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"supports": {
|
|
98
|
+
"style": true
|
|
99
|
+
},
|
|
100
|
+
"component": {}
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
104
|
+
{
|
|
105
|
+
"title": "CheckDetail",
|
|
106
|
+
"screenshot": "",
|
|
107
|
+
"schema": {
|
|
108
|
+
"componentName": "CheckDetail",
|
|
109
|
+
"props": {}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
];
|
|
113
|
+
|
|
114
|
+
export default {
|
|
115
|
+
...CheckDetailMeta,
|
|
116
|
+
snippets
|
|
117
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const MaterialCheckResMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "MaterialCheckRes",
|
|
6
|
+
"title": "MaterialCheckRes",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "ydb-components-material",
|
|
12
|
+
"version": "0.1.11",
|
|
13
|
+
"exportName": "MaterialCheckRes",
|
|
14
|
+
"main": "src/index.tsx",
|
|
15
|
+
"destructuring": true,
|
|
16
|
+
"subName": ""
|
|
17
|
+
},
|
|
18
|
+
"configure": {
|
|
19
|
+
"props": [
|
|
20
|
+
{
|
|
21
|
+
"title": {
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "i18n",
|
|
24
|
+
"en-US": "type",
|
|
25
|
+
"zh-CN": "类型"
|
|
26
|
+
},
|
|
27
|
+
"tip": "type | 类型"
|
|
28
|
+
},
|
|
29
|
+
"name": "type",
|
|
30
|
+
"description": "类型",
|
|
31
|
+
"setter": {
|
|
32
|
+
"componentName": "RadioGroupSetter",
|
|
33
|
+
"props": {
|
|
34
|
+
"dataSource": [
|
|
35
|
+
{
|
|
36
|
+
"label": "success",
|
|
37
|
+
"value": "success"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"label": "warning",
|
|
41
|
+
"value": "warning"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"label": "fail",
|
|
45
|
+
"value": "fail"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"options": [
|
|
49
|
+
{
|
|
50
|
+
"label": "success",
|
|
51
|
+
"value": "success"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "warning",
|
|
55
|
+
"value": "warning"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"label": "fail",
|
|
59
|
+
"value": "fail"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"initialValue": "success"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"title": {
|
|
68
|
+
"label": {
|
|
69
|
+
"type": "i18n",
|
|
70
|
+
"en-US": "number",
|
|
71
|
+
"zh-CN": "number"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"name": "number",
|
|
75
|
+
"setter": {
|
|
76
|
+
"componentName": "NumberSetter",
|
|
77
|
+
"isRequired": true,
|
|
78
|
+
"initialValue": 0
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"title": {
|
|
83
|
+
"label": {
|
|
84
|
+
"type": "i18n",
|
|
85
|
+
"en-US": "text",
|
|
86
|
+
"zh-CN": "text"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"name": "text",
|
|
90
|
+
"setter": {
|
|
91
|
+
"componentName": "StringSetter",
|
|
92
|
+
"isRequired": true,
|
|
93
|
+
"initialValue": ""
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"supports": {
|
|
98
|
+
"style": true
|
|
99
|
+
},
|
|
100
|
+
"component": {}
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
104
|
+
{
|
|
105
|
+
"title": "MaterialCheckRes",
|
|
106
|
+
"screenshot": "",
|
|
107
|
+
"schema": {
|
|
108
|
+
"componentName": "MaterialCheckRes",
|
|
109
|
+
"props": {}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
];
|
|
113
|
+
|
|
114
|
+
export default {
|
|
115
|
+
...MaterialCheckResMeta,
|
|
116
|
+
snippets
|
|
117
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const SuccessPromptMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "SuccessPrompt",
|
|
6
|
+
"title": "SuccessPrompt",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "ydb-components-material",
|
|
12
|
+
"version": "0.1.11",
|
|
13
|
+
"exportName": "SuccessPrompt",
|
|
14
|
+
"main": "src/index.tsx",
|
|
15
|
+
"destructuring": true,
|
|
16
|
+
"subName": ""
|
|
17
|
+
},
|
|
18
|
+
"configure": {
|
|
19
|
+
"props": [
|
|
20
|
+
{
|
|
21
|
+
"title": {
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "i18n",
|
|
24
|
+
"en-US": "type",
|
|
25
|
+
"zh-CN": "类型"
|
|
26
|
+
},
|
|
27
|
+
"tip": "type | 类型"
|
|
28
|
+
},
|
|
29
|
+
"name": "type",
|
|
30
|
+
"description": "类型",
|
|
31
|
+
"setter": {
|
|
32
|
+
"componentName": "RadioGroupSetter",
|
|
33
|
+
"props": {
|
|
34
|
+
"dataSource": [
|
|
35
|
+
{
|
|
36
|
+
"label": "success",
|
|
37
|
+
"value": "success"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"label": "warning",
|
|
41
|
+
"value": "warning"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"label": "fail",
|
|
45
|
+
"value": "fail"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"options": [
|
|
49
|
+
{
|
|
50
|
+
"label": "success",
|
|
51
|
+
"value": "success"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "warning",
|
|
55
|
+
"value": "warning"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"label": "fail",
|
|
59
|
+
"value": "fail"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"initialValue": "success"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"title": {
|
|
68
|
+
"label": {
|
|
69
|
+
"type": "i18n",
|
|
70
|
+
"en-US": "number",
|
|
71
|
+
"zh-CN": "number"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"name": "number",
|
|
75
|
+
"setter": {
|
|
76
|
+
"componentName": "NumberSetter",
|
|
77
|
+
"isRequired": true,
|
|
78
|
+
"initialValue": 0
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"title": {
|
|
83
|
+
"label": {
|
|
84
|
+
"type": "i18n",
|
|
85
|
+
"en-US": "text",
|
|
86
|
+
"zh-CN": "text"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"name": "text",
|
|
90
|
+
"setter": {
|
|
91
|
+
"componentName": "StringSetter",
|
|
92
|
+
"isRequired": true,
|
|
93
|
+
"initialValue": ""
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"supports": {
|
|
98
|
+
"style": true
|
|
99
|
+
},
|
|
100
|
+
"component": {}
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
104
|
+
{
|
|
105
|
+
"title": "SuccessPrompt",
|
|
106
|
+
"screenshot": "",
|
|
107
|
+
"schema": {
|
|
108
|
+
"componentName": "SuccessPrompt",
|
|
109
|
+
"props": {}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
];
|
|
113
|
+
|
|
114
|
+
export default {
|
|
115
|
+
...SuccessPromptMeta,
|
|
116
|
+
snippets
|
|
117
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|