ydb-components-material 0.1.5 → 0.1.7
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/icon_error.a47c88b2.svg +1 -0
- package/build/docs/static/icon_success.67acd079.svg +1 -0
- package/build/docs/static/icon_warning.8ebf6588.svg +1 -0
- package/build/docs/{umi.34c733e0.css → umi.bd8d71be.css} +1 -1
- package/build/docs/umi.c6d22b15.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 +8 -8
- 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/card-title/index.js +1 -1
- package/es/components/card-title/index.scss +1 -1
- package/es/components/check-loading/index.js +1 -1
- package/es/components/check-loading/index.scss +1 -1
- package/es/components/check-res/index.d.ts +1 -0
- package/es/components/check-res/index.js +7 -2
- package/es/components/check-res/index.scss +2 -1
- package/es/components/tips/icon/icon_error.svg +1 -0
- package/es/components/tips/icon/icon_success.svg +1 -0
- package/es/components/tips/icon/icon_warning.svg +1 -0
- package/es/components/tips/index.d.ts +11 -0
- package/es/components/tips/index.js +35 -0
- package/es/components/tips/index.scss +17 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +1 -0
- package/lib/components/card-title/index.js +1 -1
- package/lib/components/card-title/index.scss +1 -1
- package/lib/components/check-loading/index.js +1 -1
- package/lib/components/check-loading/index.scss +1 -1
- package/lib/components/check-res/index.d.ts +1 -0
- package/lib/components/check-res/index.js +7 -2
- package/lib/components/check-res/index.scss +2 -1
- package/lib/components/tips/icon/icon_error.svg +1 -0
- package/lib/components/tips/icon/icon_success.svg +1 -0
- package/lib/components/tips/icon/icon_warning.svg +1 -0
- package/lib/components/tips/index.d.ts +11 -0
- package/lib/components/tips/index.js +41 -0
- package/lib/components/tips/index.scss +17 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lowcode/check-res/meta.ts +15 -0
- package/lowcode/tips/meta.ts +103 -0
- package/lowcode_es/check-res/meta.js +14 -0
- package/lowcode_es/meta.js +3 -2
- package/lowcode_es/tips/meta.d.ts +22 -0
- package/lowcode_es/tips/meta.js +86 -0
- package/lowcode_lib/check-res/meta.js +14 -0
- package/lowcode_lib/meta.js +3 -2
- package/lowcode_lib/tips/meta.d.ts +22 -0
- package/lowcode_lib/tips/meta.js +91 -0
- package/package.json +9 -9
- package/build/docs/umi.e39b680b.js +0 -1
|
@@ -16,7 +16,7 @@ var CheckLoading = function CheckLoading(_ref) {
|
|
|
16
16
|
var _otherProps = otherProps || {};
|
|
17
17
|
_otherProps.style = _style;
|
|
18
18
|
return /*#__PURE__*/React.createElement("div", {
|
|
19
|
-
className: "
|
|
19
|
+
className: "check_loading"
|
|
20
20
|
}, /*#__PURE__*/React.createElement("div", {
|
|
21
21
|
className: "loading"
|
|
22
22
|
}, /*#__PURE__*/React.createElement("img", {
|
|
@@ -9,7 +9,8 @@ require("./index.scss");
|
|
|
9
9
|
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); }
|
|
10
10
|
var CheckRes = function CheckRes(_ref) {
|
|
11
11
|
var res = _ref.res,
|
|
12
|
-
name = _ref.name
|
|
12
|
+
name = _ref.name,
|
|
13
|
+
hasBorderBottom = _ref.hasBorderBottom;
|
|
13
14
|
var text = '预检中...';
|
|
14
15
|
if (res === true) {
|
|
15
16
|
text = '预检成功';
|
|
@@ -23,8 +24,12 @@ var CheckRes = function CheckRes(_ref) {
|
|
|
23
24
|
color = '#15BC83';
|
|
24
25
|
}
|
|
25
26
|
var iconType = res ? 'success-filling' : 'delete-filling';
|
|
27
|
+
var borderBottom = hasBorderBottom ? '1px solid #EEEEEE' : 'none';
|
|
26
28
|
return /*#__PURE__*/React.createElement("div", {
|
|
27
|
-
className: "
|
|
29
|
+
className: "check_res",
|
|
30
|
+
style: {
|
|
31
|
+
borderBottom: borderBottom
|
|
32
|
+
}
|
|
28
33
|
}, /*#__PURE__*/React.createElement("div", {
|
|
29
34
|
className: "name"
|
|
30
35
|
}, name), /*#__PURE__*/React.createElement("div", {
|
|
@@ -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="14" height="14" viewBox="0 0 14 14"><g><g><rect x="0" y="0" width="14" height="14" rx="7" fill="#FF6237" fill-opacity="1"/></g><g><path d="M10.374788305468751,4.3754119873046875Q10.374788305468751,4.5245664673046875,10.31770940546875,4.662367187304687Q10.26063060546875,4.800168087304687,10.15516230546875,4.905636087304687L10.15526820546875,4.905742087304688L8.06059880546875,7.000411487304687L10.15526910546875,9.095081787304688L10.15516280546875,9.095187687304687Q10.26063060546875,9.200655887304688,10.31770940546875,9.338456587304687Q10.37478880546875,9.476257287304687,10.374789205468751,9.625411987304688Q10.37478880546875,9.699265487304688,10.36038020546875,9.771699887304688Q10.34597210546875,9.844134287304687,10.31770940546875,9.912366387304687Q10.28944680546875,9.980598487304688,10.248416405468749,10.042005587304686Q10.207385105468749,10.103413087304688,10.15516280546875,10.155635787304687Q10.10294060546875,10.207858087304688,10.041533505468749,10.248888987304689Q9.98012590546875,10.289919887304688,9.91189380546875,10.318182987304688Q9.84366230546875,10.346445087304687,9.77122740546875,10.360853187304688Q9.698792505468749,10.375262287304688,9.62493900546875,10.375262287304688Q9.47578430546875,10.375262287304688,9.33798310546875,10.318182987304688Q9.20018240546875,10.261103587304689,9.09471460546875,10.155635787304687L9.09460880546875,10.155741687304687L6.99993900546875,8.061071887304688L4.90526910546875,10.155741687304687L4.90516330546875,10.155635787304687Q4.79969520546875,10.261103587304689,4.66189430546875,10.318182987304688Q4.52409350546875,10.375262287304688,4.3749389654687505,10.375262287304688Q4.30108511546875,10.375262287304688,4.22865045546875,10.360853687304687Q4.1562157254687495,10.346445087304687,4.08798372546875,10.318182487304687Q4.01975172546875,10.289919887304688,3.95834457546875,10.248888987304689Q3.89693739546875,10.207858087304688,3.84471490546875,10.155635787304687Q3.79249238546875,10.103413087304688,3.75146143546875,10.042005987304687Q3.71043047346875,9.980598487304688,3.68216785746875,9.912366887304687Q3.65390524046875,9.844134787304688,3.63949708546875,9.771699887304688Q3.62508893012975,9.699265487304688,3.62508893012975,9.625411987304688Q3.62508893012975,9.476257287304687,3.68216785046875,9.338456587304687Q3.73924677546875,9.200655887304688,3.84471487546875,9.095187687304687L3.84460884546875,9.095081787304688L5.93927880546875,7.000411487304687L3.84460973546875,4.905742087304688L3.84471559546875,4.905636087304687Q3.73924749546875,4.800168087304687,3.68216856946875,4.662367187304687Q3.62508964538575,4.5245664673046875,3.62508964538575,4.3754119873046875Q3.62508964538575,4.301558197304687,3.63949780446875,4.229123477304688Q3.65390596346875,4.156688807304688,3.68216858846875,4.088456777304687Q3.71043121046875,4.020224747304687,3.75146219546875,3.9588175973046873Q3.79249316546875,3.8974104273046875,3.84471568546875,3.8451879473046873Q3.89693820546875,3.7929654273046873,3.95834541546875,3.7519344573046873Q4.01975259546875,3.7109035033046873,4.08798462546875,3.6826408843046874Q4.15621662546875,3.6543782653046875,4.22865134546875,3.6399701093046875Q4.30108606546875,3.6255619525946874,4.37493991546875,3.6255619525946874Q4.52409422546875,3.6255619525946874,4.66189500546875,3.6826408733046874Q4.79969580546875,3.7397197973046876,4.9051642054687505,3.8451879073046875L4.90527010546875,3.8450819273046877L6.99993900546875,5.9397511873046875L9.094607805468751,3.8450819273046877L9.094713705468749,3.8451879073046875Q9.20018200546875,3.7397197973046876,9.33798220546875,3.6826408733046874Q9.475783305468749,3.6255619525946874,9.62493800546875,3.6255619525946874Q9.698791505468751,3.6255619525946874,9.77122590546875,3.6399701093046875Q9.843660805468751,3.6543782633046873,9.91189290546875,3.6826408803046875Q9.980124505468751,3.7109034953046875,10.04153160546875,3.7519344573046873Q10.10293910546875,3.7929654073046875,10.15516190546875,3.8451879273046874Q10.207384105468751,3.8974104273046875,10.24841500546875,3.9588175973046873Q10.28944590546875,4.020224747304687,10.317708505468751,4.088456747304687Q10.345971105468749,4.156688747304687,10.36037970546875,4.229123477304688Q10.374787805468749,4.301558197304687,10.374788305468751,4.3754119873046875Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
|
|
@@ -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="16" height="16" viewBox="0 0 16 16"><g><g><rect x="0" y="0" width="16" height="16" rx="8" fill="#15BC83" fill-opacity="1"/></g><g><path d="M12.930224390734864,6.1302238146325685Q13.035691290734864,6.0247556546325685,13.092770590734863,5.886954964632569Q13.149849890734863,5.749154284632568,13.149849890734863,5.599999904632568Q13.149849890734863,5.526146121632569,13.135440790734863,5.453711424632568Q13.121031790734863,5.381276724632569,13.092769590734862,5.313044724632569Q13.064507490734863,5.244812724632569,13.023476590734862,5.183405574632569Q12.982445690734863,5.121998394632568,12.930223490734864,5.069775874632568Q12.878001190734864,5.017553384632569,12.816594090734863,4.976522444632568Q12.755186590734862,4.935491444632568,12.686954490734863,4.907228824632568Q12.618722890734864,4.878966214632569,12.546288490734863,4.864558104632568Q12.473854090734864,4.850149874632568,12.400000090734864,4.850149874632568Q12.250844990734862,4.850149874632568,12.113043790734864,4.9072289446325685Q11.975243590734863,4.964307964632568,11.869775790734863,5.0697762346325685L11.869669390734863,5.0696698446325685L7.200000090734863,9.739339804632568L5.330330250734863,7.8696701046325686L5.330224270734863,7.869776004632568Q5.224756180734864,7.764308004632568,5.0869554307348634,7.707228904632569Q4.949154660734863,7.650150104632568,4.800000190734863,7.650150104632568Q4.726146407734864,7.650150104632568,4.653711710734863,7.664558204632568Q4.581277010734864,7.678966504632569,4.513045010734864,7.707228904632569Q4.444813010734864,7.735491504632568,4.383405860734864,7.776522404632568Q4.321998680734863,7.817553304632568,4.269776160734863,7.869775804632568Q4.217553670734864,7.921998304632568,4.176522730734863,7.983405604632568Q4.135491730734863,8.044812704632568,4.107229110734863,8.113044704632568Q4.078966500734864,8.181276804632569,4.064558390734863,8.253711504632568Q4.050150160734863,8.326146104632569,4.050150160734863,8.400000104632568Q4.050150210734863,8.549154304632568,4.107229110734863,8.68695500463257Q4.164308070734863,8.824755704632569,4.269776110734863,8.930224204632568L4.2696701307348635,8.930330004632568L6.528248890734863,11.188909004632569Q6.806497590734864,11.467157804632567,7.200000290734863,11.467157804632567Q7.593502490734863,11.467157804632567,7.871751790734863,11.188909004632569L12.930330290734863,6.130329964632568L12.930224390734864,6.1302238146325685Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>
|
|
@@ -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="14" height="14" viewBox="0 0 14 14"><g><g><path d="M14,7Q14,7.1718402,13.991568,7.3434739Q13.983135,7.5151072,13.966292,7.68612Q13.949449,7.8571329,13.924234,8.027113Q13.899019,8.197093,13.865496,8.3656311Q13.83197,8.5341702,13.790217,8.700861Q13.748464,8.8675518,13.698582,9.0319929Q13.648699,9.196434,13.590806,9.3582287Q13.532915,9.5200233,13.467155,9.6787834Q13.401394,9.8375435,13.327923,9.9928856Q13.254452,10.148228,13.173448,10.299777Q13.092443,10.451326,13.004099,10.598719Q12.915755,10.746111,12.820286,10.88899Q12.724816,11.03187,12.622452,11.169893Q12.520086,11.307918,12.411073,11.440753Q12.302058,11.573587,12.186657,11.700912Q12.071257,11.828238,11.949747,11.949747Q11.828238,12.071257,11.700912,12.186658Q11.573587,12.302058,11.440753,12.411073Q11.307918,12.520086,11.169893,12.622451Q11.03187,12.724816,10.88899,12.820286Q10.746111,12.915755,10.598719,13.004099Q10.451326,13.092443,10.299777,13.173449Q10.148228,13.254454,9.9928856,13.327925Q9.8375435,13.401396,9.6787834,13.467155Q9.5200233,13.532916,9.3582287,13.590808Q9.196434,13.648699,9.0319929,13.698583Q8.8675518,13.748465,8.700861,13.790218Q8.5341702,13.831971,8.3656311,13.865496Q8.197093,13.899019,8.027113,13.924234Q7.8571329,13.94945,7.68612,13.966293Q7.5151072,13.983136,7.3434734,13.991568Q7.1718402,14,7,14Q6.8281598,14,6.6565266,13.991568Q6.4848933,13.983135,6.3138804,13.966292Q6.1428671,13.949449,5.9728866,13.924234Q5.802906,13.899019,5.6343675,13.865496Q5.4658289,13.83197,5.2991385,13.790217Q5.1324482,13.748464,4.9680071,13.698582Q4.803566,13.648699,4.6417708,13.590806Q4.4799757,13.532915,4.3212156,13.467155Q4.1624556,13.401394,4.0071144,13.327923Q3.8517723,13.254452,3.700223,13.173448Q3.5486732,13.092443,3.4012804,13.004099Q3.2538881,12.915755,3.1110082,12.820286Q2.9681282,12.724816,2.8301048,12.622452Q2.6920815,12.520086,2.559247,12.411073Q2.4264126,12.302058,2.299087,12.186657Q2.171762,12.071257,2.0502524,11.949747Q1.9287429,11.828238,1.813342,11.700912Q1.6979411,11.573587,1.5889268,11.440753Q1.4799124,11.307918,1.3775473,11.169893Q1.275182,11.03187,1.1797127,10.88899Q1.0842432,10.746111,0.99589968,10.598719Q0.90755606,10.451326,0.82655108,10.299777Q0.74554604,10.148228,0.67207485,9.9928856Q0.59860361,9.8375435,0.53284317,9.6787834Q0.46708274,9.5200233,0.40919149,9.3582287Q0.35130021,9.196434,0.30141759,9.0319929Q0.25153497,8.8675518,0.20978118,8.700861Q0.16802739,8.5341702,0.13450301,8.3656311Q0.10097862,8.197093,0.075764418,8.027113Q0.0505502,7.8571329,0.033706907,7.68612Q0.016863609,7.5151072,0.0084318044,7.3434734Q0,7.1718402,0,7Q0,6.8281598,0.0084318044,6.6565266Q0.016863609,6.4848933,0.033706907,6.3138804Q0.0505502,6.1428671,0.07576441,5.9728866Q0.10097862,5.802906,0.13450301,5.6343675Q0.16802739,5.4658289,0.20978117,5.2991385Q0.25153497,5.1324482,0.30141759,4.9680071Q0.35130021,4.803566,0.40919146,4.6417708Q0.46708274,4.4799757,0.53284317,4.3212156Q0.59860361,4.1624556,0.67207479,4.0071144Q0.74554598,3.8517723,0.82655102,3.700223Q0.90755594,3.5486732,0.99589956,3.4012804Q1.0842431,3.2538881,1.1797125,3.1110082Q1.2751819,2.9681282,1.3775471,2.8301048Q1.4799123,2.6920815,1.5889268,2.559247Q1.6979411,2.4264126,1.8133421,2.299087Q1.9287429,2.171762,2.0502524,2.0502524Q2.171762,1.9287429,2.299087,1.813342Q2.4264126,1.6979411,2.559247,1.5889268Q2.6920815,1.4799124,2.8301048,1.3775473Q2.9681282,1.275182,3.1110082,1.1797127Q3.2538881,1.0842432,3.4012806,0.99589968Q3.5486729,0.90755606,3.7002227,0.82655108Q3.8517723,0.74554604,4.0071139,0.67207485Q4.1624556,0.59860361,4.3212156,0.53284317Q4.4799757,0.46708274,4.6417708,0.40919149Q4.803566,0.35130021,4.9680071,0.30141759Q5.1324482,0.25153497,5.2991385,0.20978118Q5.4658289,0.16802739,5.6343675,0.13450301Q5.802906,0.10097862,5.9728866,0.075764418Q6.1428671,0.0505502,6.31388,0.033706907Q6.4848928,0.016863609,6.6565266,0.0084318044Q6.8281598,0,7,0Q7.1718402,0,7.3434739,0.0084318044Q7.5151072,0.016863609,7.68612,0.033706907Q7.8571329,0.0505502,8.027113,0.07576441Q8.197093,0.10097862,8.3656311,0.13450301Q8.5341702,0.16802739,8.700861,0.20978117Q8.8675518,0.25153497,9.0319929,0.30141759Q9.196434,0.35130021,9.3582287,0.40919146Q9.5200233,0.46708274,9.6787834,0.53284317Q9.8375435,0.59860361,9.9928856,0.67207479Q10.148228,0.74554598,10.299777,0.82655102Q10.451326,0.90755594,10.598719,0.99589956Q10.746111,1.0842431,10.88899,1.1797125Q11.03187,1.2751819,11.169893,1.3775471Q11.307918,1.4799123,11.440753,1.5889268Q11.573587,1.6979411,11.700912,1.8133421Q11.828238,1.9287429,11.949747,2.0502524Q12.071257,2.171762,12.186658,2.299087Q12.302058,2.4264126,12.411073,2.559247Q12.520086,2.6920815,12.622451,2.8301048Q12.724816,2.9681282,12.820286,3.1110082Q12.915755,3.2538881,13.004099,3.4012806Q13.092443,3.5486729,13.173449,3.7002227Q13.254454,3.8517723,13.327925,4.0071139Q13.401396,4.1624556,13.467155,4.3212156Q13.532916,4.4799757,13.590808,4.6417708Q13.648699,4.803566,13.698583,4.9680071Q13.748465,5.1324482,13.790218,5.2991385Q13.831971,5.4658289,13.865496,5.6343675Q13.899019,5.802906,13.924234,5.9728866Q13.94945,6.1428671,13.966293,6.31388Q13.983136,6.4848928,13.991568,6.6565266Q14,6.8281598,14,7ZM6.9999456,8.5557728C6.5703907,8.5557728,6.222168,8.20755,6.222168,7.7779951L6.222168,3.8891058C6.222168,3.4595511,6.5703907,3.1113281,6.9999456,3.1113281C7.4295006,3.1113281,7.7777233,3.4595511,7.7777233,3.8891058L7.7777233,7.7779951C7.7777233,8.20755,7.4295006,8.5557728,6.9999456,8.5557728ZM7.7777233,10.889106Q7.7777228,10.96571,7.7627783,11.040842Q7.7478328,11.115973,7.7185173,11.186747Q7.6892023,11.25752,7.6466436,11.321214Q7.604085,11.384909,7.5499172,11.439076Q7.4957495,11.493243,7.432055,11.535803Q7.3683605,11.578362,7.2975874,11.607677Q7.2268143,11.636992,7.1516819,11.651937Q7.0765495,11.666883,6.9999456,11.666883Q6.9233408,11.666883,6.8482084,11.651937Q6.7730756,11.636992,6.7023025,11.607677Q6.6315289,11.578362,6.5678344,11.535803Q6.5041404,11.493244,6.4499731,11.439077Q6.3958054,11.384909,6.3532467,11.321215Q6.3106875,11.25752,6.2813725,11.186747Q6.2520571,11.115973,6.2371125,11.040841Q6.222168,10.96571,6.222168,10.889106Q6.222168,10.8125,6.237113,10.737368Q6.2520571,10.662235,6.2813725,10.591462Q6.3106875,10.520689,6.3532462,10.456995Q6.3958054,10.3933,6.4499731,10.339133Q6.5041404,10.284966,6.5678349,10.242407Q6.6315289,10.199847,6.702302,10.170532Q6.7730751,10.141217,6.848208,10.126272Q6.9233408,10.111328,6.9999456,10.111328Q7.0765495,10.111328,7.1516819,10.126272Q7.2268143,10.141217,7.2975874,10.170532Q7.3683605,10.199847,7.432055,10.242407Q7.4957495,10.284966,7.5499167,10.339133Q7.604084,10.3933,7.6466436,10.456994Q7.6892023,10.520688,7.7185178,10.591461Q7.7478333,10.662235,7.7627783,10.737368Q7.7777228,10.8125,7.7777233,10.889106Z" fill-rule="evenodd" fill="#F29655" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var React = _interopRequireWildcard(require("react"));
|
|
7
|
+
require("./index.scss");
|
|
8
|
+
var _icon_warning = _interopRequireDefault(require("./icon/icon_warning.svg"));
|
|
9
|
+
var _icon_success = _interopRequireDefault(require("./icon/icon_success.svg"));
|
|
10
|
+
var _icon_error = _interopRequireDefault(require("./icon/icon_error.svg"));
|
|
11
|
+
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); }
|
|
12
|
+
var Tips = function Tips(_ref) {
|
|
13
|
+
var _ref$text = _ref.text,
|
|
14
|
+
text = _ref$text === void 0 ? '文案' : _ref$text,
|
|
15
|
+
type = _ref.type;
|
|
16
|
+
var color = '#333333';
|
|
17
|
+
if (type === 'warning') {
|
|
18
|
+
color = '#F29655';
|
|
19
|
+
} else if (type === 'error') {
|
|
20
|
+
color = '#FF6237';
|
|
21
|
+
}
|
|
22
|
+
var icon = _icon_success["default"];
|
|
23
|
+
if (type === 'warning') {
|
|
24
|
+
icon = _icon_warning["default"];
|
|
25
|
+
} else if (type === 'error') {
|
|
26
|
+
icon = _icon_error["default"];
|
|
27
|
+
}
|
|
28
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
29
|
+
className: "tips"
|
|
30
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
31
|
+
className: "icon",
|
|
32
|
+
src: icon
|
|
33
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
className: "text",
|
|
35
|
+
style: {
|
|
36
|
+
color: color
|
|
37
|
+
}
|
|
38
|
+
}, text));
|
|
39
|
+
};
|
|
40
|
+
Tips.displayName = 'Tips';
|
|
41
|
+
var _default = exports["default"] = Tips;
|
package/lib/index.d.ts
CHANGED
|
@@ -7,5 +7,7 @@ export type { CardTitleProps } from './components/card-title';
|
|
|
7
7
|
export { default as CardTitle } from './components/card-title';
|
|
8
8
|
export type { CheckResProps } from './components/check-res';
|
|
9
9
|
export { default as CheckRes } from './components/check-res';
|
|
10
|
+
export type { TipsProps } from './components/tips';
|
|
11
|
+
export { default as Tips } from './components/tips';
|
|
10
12
|
declare const bizCssPrefix = "bizpack";
|
|
11
13
|
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.ColorfulInput = exports.ColorfulButton = exports.CheckRes = exports.CheckLoading = exports.CardTitle = void 0;
|
|
5
|
+
exports.bizCssPrefix = exports.Tips = exports.ColorfulInput = exports.ColorfulButton = exports.CheckRes = exports.CheckLoading = 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"));
|
|
@@ -13,4 +13,6 @@ var _cardTitle = _interopRequireDefault(require("./components/card-title"));
|
|
|
13
13
|
exports.CardTitle = _cardTitle["default"];
|
|
14
14
|
var _checkRes = _interopRequireDefault(require("./components/check-res"));
|
|
15
15
|
exports.CheckRes = _checkRes["default"];
|
|
16
|
+
var _tips = _interopRequireDefault(require("./components/tips"));
|
|
17
|
+
exports.Tips = _tips["default"];
|
|
16
18
|
var bizCssPrefix = exports.bizCssPrefix = 'bizpack';
|
|
@@ -48,6 +48,21 @@ const CheckResMeta: IPublicTypeComponentMetadata = {
|
|
|
48
48
|
"isRequired": true,
|
|
49
49
|
"initialValue": ""
|
|
50
50
|
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"title": {
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "i18n",
|
|
56
|
+
"en-US": "hasBorderBottom",
|
|
57
|
+
"zh-CN": "下边框"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"name": "hasBorderBottom",
|
|
61
|
+
"setter": {
|
|
62
|
+
"componentName": "BoolSetter",
|
|
63
|
+
"isRequired": true,
|
|
64
|
+
"initialValue": true
|
|
65
|
+
}
|
|
51
66
|
}
|
|
52
67
|
],
|
|
53
68
|
"supports": {
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const TipsMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "Tips",
|
|
6
|
+
"title": "Tips",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "ydb-components-material",
|
|
12
|
+
"version": "0.1.5",
|
|
13
|
+
"exportName": "Tips",
|
|
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": "text",
|
|
25
|
+
"zh-CN": "标题"
|
|
26
|
+
},
|
|
27
|
+
"tip": "text | 标题"
|
|
28
|
+
},
|
|
29
|
+
"name": "text",
|
|
30
|
+
"description": "标题",
|
|
31
|
+
"setter": {
|
|
32
|
+
"componentName": "StringSetter",
|
|
33
|
+
"isRequired": true,
|
|
34
|
+
"initialValue": ""
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"title": {
|
|
39
|
+
"label": {
|
|
40
|
+
"type": "i18n",
|
|
41
|
+
"en-US": "type",
|
|
42
|
+
"zh-CN": "type"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"name": "type",
|
|
46
|
+
"setter": {
|
|
47
|
+
"componentName": "RadioGroupSetter",
|
|
48
|
+
"props": {
|
|
49
|
+
"dataSource": [
|
|
50
|
+
{
|
|
51
|
+
"label": "success",
|
|
52
|
+
"value": "success"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"label": "warning",
|
|
56
|
+
"value": "warning"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"label": "error",
|
|
60
|
+
"value": "error"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"options": [
|
|
64
|
+
{
|
|
65
|
+
"label": "success",
|
|
66
|
+
"value": "success"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"label": "warning",
|
|
70
|
+
"value": "warning"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"label": "error",
|
|
74
|
+
"value": "error"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"isRequired": true,
|
|
79
|
+
"initialValue": "success"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"supports": {
|
|
84
|
+
"style": true
|
|
85
|
+
},
|
|
86
|
+
"component": {}
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
90
|
+
{
|
|
91
|
+
"title": "提示文字",
|
|
92
|
+
"screenshot": "",
|
|
93
|
+
"schema": {
|
|
94
|
+
"componentName": "Tips",
|
|
95
|
+
"props": {}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
];
|
|
99
|
+
|
|
100
|
+
export default {
|
|
101
|
+
...TipsMeta,
|
|
102
|
+
snippets
|
|
103
|
+
};
|
|
@@ -44,6 +44,20 @@ var CheckResMeta = {
|
|
|
44
44
|
"isRequired": true,
|
|
45
45
|
"initialValue": ""
|
|
46
46
|
}
|
|
47
|
+
}, {
|
|
48
|
+
"title": {
|
|
49
|
+
"label": {
|
|
50
|
+
"type": "i18n",
|
|
51
|
+
"en-US": "hasBorderBottom",
|
|
52
|
+
"zh-CN": "下边框"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"name": "hasBorderBottom",
|
|
56
|
+
"setter": {
|
|
57
|
+
"componentName": "BoolSetter",
|
|
58
|
+
"isRequired": true,
|
|
59
|
+
"initialValue": true
|
|
60
|
+
}
|
|
47
61
|
}],
|
|
48
62
|
"supports": {
|
|
49
63
|
"style": true
|
package/lowcode_es/meta.js
CHANGED
|
@@ -4,6 +4,7 @@ import CheckLoadingMeta from "./check-loading/meta";
|
|
|
4
4
|
import CheckResMeta from "./check-res/meta";
|
|
5
5
|
import ColorfulButtonMeta from "./colorful-button/meta";
|
|
6
6
|
import ColorfulInputMeta from "./colorful-input/meta";
|
|
7
|
+
import TipsMeta from "./tips/meta";
|
|
7
8
|
var componentCategorySort = {};
|
|
8
9
|
["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
|
|
9
10
|
componentCategorySort[item] = ++index;
|
|
@@ -75,7 +76,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
75
76
|
packageName = 'ydb-components-material';
|
|
76
77
|
}
|
|
77
78
|
if (version === void 0) {
|
|
78
|
-
version = '0.1.
|
|
79
|
+
version = '0.1.7';
|
|
79
80
|
}
|
|
80
81
|
if (basicLibraryVersion === void 0) {
|
|
81
82
|
basicLibraryVersion = {
|
|
@@ -102,7 +103,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
102
103
|
}
|
|
103
104
|
return meta;
|
|
104
105
|
}
|
|
105
|
-
var componentMetas = [CardTitleMeta, CheckLoadingMeta, CheckResMeta, ColorfulButtonMeta, ColorfulInputMeta];
|
|
106
|
+
var componentMetas = [CardTitleMeta, CheckLoadingMeta, CheckResMeta, ColorfulButtonMeta, ColorfulInputMeta, TipsMeta];
|
|
106
107
|
var components = [];
|
|
107
108
|
var npmInfo = {};
|
|
108
109
|
componentMetas.forEach(function (meta) {
|
|
@@ -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;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
var TipsMeta = {
|
|
3
|
+
"componentName": "Tips",
|
|
4
|
+
"title": "Tips",
|
|
5
|
+
"docUrl": "",
|
|
6
|
+
"screenshot": "",
|
|
7
|
+
"devMode": "proCode",
|
|
8
|
+
"npm": {
|
|
9
|
+
"package": "ydb-components-material",
|
|
10
|
+
"version": "0.1.5",
|
|
11
|
+
"exportName": "Tips",
|
|
12
|
+
"main": "src/index.tsx",
|
|
13
|
+
"destructuring": true,
|
|
14
|
+
"subName": ""
|
|
15
|
+
},
|
|
16
|
+
"configure": {
|
|
17
|
+
"props": [{
|
|
18
|
+
"title": {
|
|
19
|
+
"label": {
|
|
20
|
+
"type": "i18n",
|
|
21
|
+
"en-US": "text",
|
|
22
|
+
"zh-CN": "标题"
|
|
23
|
+
},
|
|
24
|
+
"tip": "text | 标题"
|
|
25
|
+
},
|
|
26
|
+
"name": "text",
|
|
27
|
+
"description": "标题",
|
|
28
|
+
"setter": {
|
|
29
|
+
"componentName": "StringSetter",
|
|
30
|
+
"isRequired": true,
|
|
31
|
+
"initialValue": ""
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
"title": {
|
|
35
|
+
"label": {
|
|
36
|
+
"type": "i18n",
|
|
37
|
+
"en-US": "type",
|
|
38
|
+
"zh-CN": "type"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"name": "type",
|
|
42
|
+
"setter": {
|
|
43
|
+
"componentName": "RadioGroupSetter",
|
|
44
|
+
"props": {
|
|
45
|
+
"dataSource": [{
|
|
46
|
+
"label": "success",
|
|
47
|
+
"value": "success"
|
|
48
|
+
}, {
|
|
49
|
+
"label": "warning",
|
|
50
|
+
"value": "warning"
|
|
51
|
+
}, {
|
|
52
|
+
"label": "error",
|
|
53
|
+
"value": "error"
|
|
54
|
+
}],
|
|
55
|
+
"options": [{
|
|
56
|
+
"label": "success",
|
|
57
|
+
"value": "success"
|
|
58
|
+
}, {
|
|
59
|
+
"label": "warning",
|
|
60
|
+
"value": "warning"
|
|
61
|
+
}, {
|
|
62
|
+
"label": "error",
|
|
63
|
+
"value": "error"
|
|
64
|
+
}]
|
|
65
|
+
},
|
|
66
|
+
"isRequired": true,
|
|
67
|
+
"initialValue": "success"
|
|
68
|
+
}
|
|
69
|
+
}],
|
|
70
|
+
"supports": {
|
|
71
|
+
"style": true
|
|
72
|
+
},
|
|
73
|
+
"component": {}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
var snippets = [{
|
|
77
|
+
"title": "提示文字",
|
|
78
|
+
"screenshot": "",
|
|
79
|
+
"schema": {
|
|
80
|
+
"componentName": "Tips",
|
|
81
|
+
"props": {}
|
|
82
|
+
}
|
|
83
|
+
}];
|
|
84
|
+
export default _extends({}, TipsMeta, {
|
|
85
|
+
snippets: snippets
|
|
86
|
+
});
|
|
@@ -49,6 +49,20 @@ var CheckResMeta = {
|
|
|
49
49
|
"isRequired": true,
|
|
50
50
|
"initialValue": ""
|
|
51
51
|
}
|
|
52
|
+
}, {
|
|
53
|
+
"title": {
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "i18n",
|
|
56
|
+
"en-US": "hasBorderBottom",
|
|
57
|
+
"zh-CN": "下边框"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"name": "hasBorderBottom",
|
|
61
|
+
"setter": {
|
|
62
|
+
"componentName": "BoolSetter",
|
|
63
|
+
"isRequired": true,
|
|
64
|
+
"initialValue": true
|
|
65
|
+
}
|
|
52
66
|
}],
|
|
53
67
|
"supports": {
|
|
54
68
|
"style": true
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -9,6 +9,7 @@ var _meta2 = _interopRequireDefault(require("./check-loading/meta"));
|
|
|
9
9
|
var _meta3 = _interopRequireDefault(require("./check-res/meta"));
|
|
10
10
|
var _meta4 = _interopRequireDefault(require("./colorful-button/meta"));
|
|
11
11
|
var _meta5 = _interopRequireDefault(require("./colorful-input/meta"));
|
|
12
|
+
var _meta6 = _interopRequireDefault(require("./tips/meta"));
|
|
12
13
|
var componentCategorySort = {};
|
|
13
14
|
["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
|
|
14
15
|
componentCategorySort[item] = ++index;
|
|
@@ -80,7 +81,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
80
81
|
packageName = 'ydb-components-material';
|
|
81
82
|
}
|
|
82
83
|
if (version === void 0) {
|
|
83
|
-
version = '0.1.
|
|
84
|
+
version = '0.1.7';
|
|
84
85
|
}
|
|
85
86
|
if (basicLibraryVersion === void 0) {
|
|
86
87
|
basicLibraryVersion = {
|
|
@@ -107,7 +108,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
107
108
|
}
|
|
108
109
|
return meta;
|
|
109
110
|
}
|
|
110
|
-
var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"], _meta5["default"]];
|
|
111
|
+
var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"], _meta5["default"], _meta6["default"]];
|
|
111
112
|
var components = exports.components = [];
|
|
112
113
|
var npmInfo = {};
|
|
113
114
|
componentMetas.forEach(function (meta) {
|
|
@@ -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;
|
|
@@ -0,0 +1,91 @@
|
|
|
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 TipsMeta = {
|
|
8
|
+
"componentName": "Tips",
|
|
9
|
+
"title": "Tips",
|
|
10
|
+
"docUrl": "",
|
|
11
|
+
"screenshot": "",
|
|
12
|
+
"devMode": "proCode",
|
|
13
|
+
"npm": {
|
|
14
|
+
"package": "ydb-components-material",
|
|
15
|
+
"version": "0.1.5",
|
|
16
|
+
"exportName": "Tips",
|
|
17
|
+
"main": "src/index.tsx",
|
|
18
|
+
"destructuring": true,
|
|
19
|
+
"subName": ""
|
|
20
|
+
},
|
|
21
|
+
"configure": {
|
|
22
|
+
"props": [{
|
|
23
|
+
"title": {
|
|
24
|
+
"label": {
|
|
25
|
+
"type": "i18n",
|
|
26
|
+
"en-US": "text",
|
|
27
|
+
"zh-CN": "标题"
|
|
28
|
+
},
|
|
29
|
+
"tip": "text | 标题"
|
|
30
|
+
},
|
|
31
|
+
"name": "text",
|
|
32
|
+
"description": "标题",
|
|
33
|
+
"setter": {
|
|
34
|
+
"componentName": "StringSetter",
|
|
35
|
+
"isRequired": true,
|
|
36
|
+
"initialValue": ""
|
|
37
|
+
}
|
|
38
|
+
}, {
|
|
39
|
+
"title": {
|
|
40
|
+
"label": {
|
|
41
|
+
"type": "i18n",
|
|
42
|
+
"en-US": "type",
|
|
43
|
+
"zh-CN": "type"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"name": "type",
|
|
47
|
+
"setter": {
|
|
48
|
+
"componentName": "RadioGroupSetter",
|
|
49
|
+
"props": {
|
|
50
|
+
"dataSource": [{
|
|
51
|
+
"label": "success",
|
|
52
|
+
"value": "success"
|
|
53
|
+
}, {
|
|
54
|
+
"label": "warning",
|
|
55
|
+
"value": "warning"
|
|
56
|
+
}, {
|
|
57
|
+
"label": "error",
|
|
58
|
+
"value": "error"
|
|
59
|
+
}],
|
|
60
|
+
"options": [{
|
|
61
|
+
"label": "success",
|
|
62
|
+
"value": "success"
|
|
63
|
+
}, {
|
|
64
|
+
"label": "warning",
|
|
65
|
+
"value": "warning"
|
|
66
|
+
}, {
|
|
67
|
+
"label": "error",
|
|
68
|
+
"value": "error"
|
|
69
|
+
}]
|
|
70
|
+
},
|
|
71
|
+
"isRequired": true,
|
|
72
|
+
"initialValue": "success"
|
|
73
|
+
}
|
|
74
|
+
}],
|
|
75
|
+
"supports": {
|
|
76
|
+
"style": true
|
|
77
|
+
},
|
|
78
|
+
"component": {}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
var snippets = [{
|
|
82
|
+
"title": "提示文字",
|
|
83
|
+
"screenshot": "",
|
|
84
|
+
"schema": {
|
|
85
|
+
"componentName": "Tips",
|
|
86
|
+
"props": {}
|
|
87
|
+
}
|
|
88
|
+
}];
|
|
89
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, TipsMeta, {
|
|
90
|
+
snippets: snippets
|
|
91
|
+
});
|