mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2025-12-11 17:32:50 +00:00
🆕 添加构建时测试环境, 优化代码结构
This commit is contained in:
parent
255d24f80f
commit
92f0b03fa4
1
.gitignore
vendored
1
.gitignore
vendored
@ -80,7 +80,6 @@ typings/
|
||||
|
||||
# Nuxt.js build / generate output
|
||||
.nuxt
|
||||
dist
|
||||
|
||||
# Gatsby files
|
||||
.cache/
|
||||
|
||||
1
dist/0.js.map
vendored
Normal file
1
dist/0.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/1.chunk.css
vendored
Normal file
1
dist/1.chunk.css
vendored
Normal file
File diff suppressed because one or more lines are too long
348
dist/1.js
vendored
Normal file
348
dist/1.js
vendored
Normal file
@ -0,0 +1,348 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[1],
|
||||
{
|
||||
'0fCl': function(m, s, f) {
|
||||
'use strict';
|
||||
Object.defineProperty(s, '__esModule', { value: !0 }), (s.default = void 0);
|
||||
var p = u(f('q1tI')),
|
||||
O = _(f('A/WM')),
|
||||
v = _(f('zonl'));
|
||||
function _(e) {
|
||||
return e && e.__esModule ? e : { default: e };
|
||||
}
|
||||
function w() {
|
||||
if (typeof WeakMap != 'function') return null;
|
||||
var e = new WeakMap();
|
||||
return (
|
||||
(w = function() {
|
||||
return e;
|
||||
}),
|
||||
e
|
||||
);
|
||||
}
|
||||
function u(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
if (e === null || (d(e) !== 'object' && typeof e != 'function')) return { default: e };
|
||||
var t = w();
|
||||
if (t && t.has(e)) return t.get(e);
|
||||
var n = {},
|
||||
r = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var o in e)
|
||||
if (Object.prototype.hasOwnProperty.call(e, o)) {
|
||||
var l = r ? Object.getOwnPropertyDescriptor(e, o) : null;
|
||||
l && (l.get || l.set) ? Object.defineProperty(n, o, l) : (n[o] = e[o]);
|
||||
}
|
||||
return (n.default = e), t && t.set(e, n), n;
|
||||
}
|
||||
function d(e) {
|
||||
return (
|
||||
typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol'
|
||||
? (d = function(n) {
|
||||
return typeof n;
|
||||
})
|
||||
: (d = function(n) {
|
||||
return n &&
|
||||
typeof Symbol == 'function' &&
|
||||
n.constructor === Symbol &&
|
||||
n !== Symbol.prototype
|
||||
? 'symbol'
|
||||
: typeof n;
|
||||
}),
|
||||
d(e)
|
||||
);
|
||||
}
|
||||
function b(e, t) {
|
||||
var n = Object.keys(e);
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var r = Object.getOwnPropertySymbols(e);
|
||||
t &&
|
||||
(r = r.filter(function(o) {
|
||||
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
||||
})),
|
||||
n.push.apply(n, r);
|
||||
}
|
||||
return n;
|
||||
}
|
||||
function I(e) {
|
||||
for (var t = 1; t < arguments.length; t++) {
|
||||
var n = arguments[t] != null ? arguments[t] : {};
|
||||
t % 2
|
||||
? b(Object(n), !0).forEach(function(r) {
|
||||
h(e, r, n[r]);
|
||||
})
|
||||
: Object.getOwnPropertyDescriptors
|
||||
? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
|
||||
: b(Object(n)).forEach(function(r) {
|
||||
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
||||
});
|
||||
}
|
||||
return e;
|
||||
}
|
||||
function h(e, t, n) {
|
||||
return (
|
||||
t in e
|
||||
? Object.defineProperty(e, t, {
|
||||
value: n,
|
||||
enumerable: !0,
|
||||
configurable: !0,
|
||||
writable: !0,
|
||||
})
|
||||
: (e[t] = n),
|
||||
e
|
||||
);
|
||||
}
|
||||
function P(e, t) {
|
||||
if (e == null) return {};
|
||||
var n = x(e, t),
|
||||
r,
|
||||
o;
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var l = Object.getOwnPropertySymbols(e);
|
||||
for (o = 0; o < l.length; o++) {
|
||||
if (((r = l[o]), t.indexOf(r) >= 0)) continue;
|
||||
if (!Object.prototype.propertyIsEnumerable.call(e, r)) continue;
|
||||
n[r] = e[r];
|
||||
}
|
||||
}
|
||||
return n;
|
||||
}
|
||||
function x(e, t) {
|
||||
if (e == null) return {};
|
||||
var n = {},
|
||||
r = Object.keys(e),
|
||||
o,
|
||||
l;
|
||||
for (l = 0; l < r.length; l++) {
|
||||
if (((o = r[l]), t.indexOf(o) >= 0)) continue;
|
||||
n[o] = e[o];
|
||||
}
|
||||
return n;
|
||||
}
|
||||
function c(e, t) {
|
||||
if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function');
|
||||
}
|
||||
function i(e, t) {
|
||||
for (var n = 0; n < t.length; n++) {
|
||||
var r = t[n];
|
||||
(r.enumerable = r.enumerable || !1),
|
||||
(r.configurable = !0),
|
||||
'value' in r && (r.writable = !0),
|
||||
Object.defineProperty(e, r.key, r);
|
||||
}
|
||||
}
|
||||
function a(e, t, n) {
|
||||
return t && i(e.prototype, t), n && i(e, n), e;
|
||||
}
|
||||
function y(e, t) {
|
||||
return t && (d(t) === 'object' || typeof t == 'function') ? t : g(e);
|
||||
}
|
||||
function g(e) {
|
||||
if (e === void 0)
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
return e;
|
||||
}
|
||||
function E(e) {
|
||||
return (
|
||||
(E = Object.setPrototypeOf
|
||||
? Object.getPrototypeOf
|
||||
: function(n) {
|
||||
return n.__proto__ || Object.getPrototypeOf(n);
|
||||
}),
|
||||
E(e)
|
||||
);
|
||||
}
|
||||
function B(e, t) {
|
||||
if (typeof t != 'function' && t !== null)
|
||||
throw new TypeError('Super expression must either be null or a function');
|
||||
(e.prototype = Object.create(t && t.prototype, {
|
||||
constructor: { value: e, writable: !0, configurable: !0 },
|
||||
})),
|
||||
t && C(e, t);
|
||||
}
|
||||
function C(e, t) {
|
||||
return (
|
||||
(C =
|
||||
Object.setPrototypeOf ||
|
||||
function(r, o) {
|
||||
return (r.__proto__ = o), r;
|
||||
}),
|
||||
C(e, t)
|
||||
);
|
||||
}
|
||||
var j = { width: '1em', height: '1em', fill: 'currentColor', viewBox: '0 0 32 32' },
|
||||
A = (function(e) {
|
||||
B(t, e);
|
||||
function t() {
|
||||
return c(this, t), y(this, E(t).apply(this, arguments));
|
||||
}
|
||||
return (
|
||||
a(t, [
|
||||
{
|
||||
key: 'render',
|
||||
value: function() {
|
||||
var r,
|
||||
o = this.props,
|
||||
l = o.className,
|
||||
S = o.type,
|
||||
T = o.style,
|
||||
N = o.prefixCls,
|
||||
D = o.theme,
|
||||
k = o.size,
|
||||
z = o.children,
|
||||
W = o.component,
|
||||
F = o.viewBox,
|
||||
Y = P(o, [
|
||||
'className',
|
||||
'type',
|
||||
'style',
|
||||
'prefixCls',
|
||||
'theme',
|
||||
'size',
|
||||
'children',
|
||||
'component',
|
||||
'viewBox',
|
||||
]),
|
||||
L = (0, O.default)(
|
||||
N,
|
||||
l,
|
||||
((r = {}),
|
||||
h(r, ''.concat(N, '--').concat(S), !!S),
|
||||
h(r, ''.concat(N, '--').concat(D), !!D),
|
||||
h(r, ''.concat(N, '--').concat(k), !!k),
|
||||
r),
|
||||
),
|
||||
R = I({ className: L, style: T, type: S, theme: D, size: k }, Y),
|
||||
M;
|
||||
if (W)
|
||||
(j.viewBox = F),
|
||||
(M = p.default.createElement('i', R, p.default.createElement(W, j, z)));
|
||||
else if (z)
|
||||
M = p.default.createElement('i', R, p.default.createElement('svg', j, z));
|
||||
else if (S) {
|
||||
var Q = t.createFromIconfont('//at.alicdn.com/t/font_1285036_9ze0vm44z57.js');
|
||||
M = p.default.createElement(Q, R);
|
||||
}
|
||||
return M;
|
||||
},
|
||||
},
|
||||
]),
|
||||
t
|
||||
);
|
||||
})(p.PureComponent);
|
||||
(A.displayName = 'Icon'),
|
||||
(A.defaultProps = {
|
||||
prefixCls: 'za-icon',
|
||||
theme: 'default',
|
||||
size: 'md',
|
||||
viewBox: j.viewBox,
|
||||
}),
|
||||
(A.createFromIconfont = v.default);
|
||||
var q = A;
|
||||
s.default = q;
|
||||
},
|
||||
'1Ywk': function(m, s, f) {
|
||||
'use strict';
|
||||
f('9d8Q'), f('NtQs');
|
||||
},
|
||||
'8ZyA': function(m, s, f) {},
|
||||
'9d8Q': function(m, s, f) {},
|
||||
'A/WM': function(m, s, f) {
|
||||
var p, O;
|
||||
/*!
|
||||
Copyright (c) 2017 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/ (function() {
|
||||
'use strict';
|
||||
var v = (function() {
|
||||
function _() {}
|
||||
_.prototype = Object.create(null);
|
||||
function w(c, i) {
|
||||
for (var a = i.length, y = 0; y < a; ++y) P(c, i[y]);
|
||||
}
|
||||
var u = {}.hasOwnProperty;
|
||||
function d(c, i) {
|
||||
c[i] = !0;
|
||||
}
|
||||
function b(c, i) {
|
||||
for (var a in i) u.call(i, a) && (c[a] = !!i[a]);
|
||||
}
|
||||
var I = /\s+/;
|
||||
function h(c, i) {
|
||||
for (var a = i.split(I), y = a.length, g = 0; g < y; ++g) c[a[g]] = !0;
|
||||
}
|
||||
function P(c, i) {
|
||||
if (!i) return;
|
||||
var a = typeof i;
|
||||
a === 'string'
|
||||
? h(c, i)
|
||||
: Array.isArray(i)
|
||||
? w(c, i)
|
||||
: a === 'object'
|
||||
? b(c, i)
|
||||
: a === 'number' && d(c, i);
|
||||
}
|
||||
function x() {
|
||||
for (var c = arguments.length, i = Array(c), a = 0; a < c; a++) i[a] = arguments[a];
|
||||
var y = new _();
|
||||
w(y, i);
|
||||
var g = [];
|
||||
for (var E in y) y[E] && g.push(E);
|
||||
return g.join(' ');
|
||||
}
|
||||
return x;
|
||||
})();
|
||||
m.exports
|
||||
? ((v.default = v), (m.exports = v))
|
||||
: !((p = []),
|
||||
(O = function() {
|
||||
return v;
|
||||
}.apply(s, p)),
|
||||
O !== void 0 && (m.exports = O));
|
||||
})();
|
||||
},
|
||||
NtQs: function(m, s, f) {},
|
||||
YawY: function(m, s, f) {
|
||||
'use strict';
|
||||
f('1Ywk'), f('8ZyA');
|
||||
},
|
||||
zonl: function(m, s, f) {
|
||||
'use strict';
|
||||
Object.defineProperty(s, '__esModule', { value: !0 }), (s.default = w);
|
||||
var p = v(f('q1tI')),
|
||||
O = v(f('0fCl'));
|
||||
function v(u) {
|
||||
return u && u.__esModule ? u : { default: u };
|
||||
}
|
||||
var _ = new Set();
|
||||
function w(u) {
|
||||
if (
|
||||
typeof document != 'undefined' &&
|
||||
typeof window != 'undefined' &&
|
||||
typeof document.createElement == 'function' &&
|
||||
typeof u == 'string' &&
|
||||
u.length &&
|
||||
!_.has(u)
|
||||
) {
|
||||
var d = document.createElement('script');
|
||||
d.setAttribute('src', u),
|
||||
d.setAttribute('data-namespace', u),
|
||||
_.add(u),
|
||||
document.body.appendChild(d);
|
||||
}
|
||||
var b = function I(h) {
|
||||
I.displayName = 'Iconfont';
|
||||
var P = h.type,
|
||||
x;
|
||||
return (
|
||||
P && (x = p.default.createElement('use', { xlinkHref: '#'.concat(P) })),
|
||||
p.default.createElement(O.default, h, x)
|
||||
);
|
||||
};
|
||||
return b;
|
||||
}
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=1.js.map
|
||||
1
dist/1.js.map
vendored
Normal file
1
dist/1.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/10.chunk.css
vendored
Normal file
1
dist/10.chunk.css
vendored
Normal file
File diff suppressed because one or more lines are too long
3
dist/10.js
vendored
Normal file
3
dist/10.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([[10], { F4IQ: function(e, n, p) {} }]);
|
||||
|
||||
//# sourceMappingURL=10.js.map
|
||||
1
dist/10.js.map
vendored
Normal file
1
dist/10.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"10.js","sourceRoot":""}
|
||||
35
dist/100.js
vendored
Normal file
35
dist/100.js
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[100],
|
||||
{
|
||||
xxsV: function(b, e, a) {
|
||||
'use strict';
|
||||
a.r(e),
|
||||
a.d(e, 'baseConfig', function() {
|
||||
return n;
|
||||
}),
|
||||
a.d(e, 'baseDefault', function() {
|
||||
return t;
|
||||
});
|
||||
var n = [
|
||||
{ key: 'baseTop', name: '纵向位移', type: 'Number' },
|
||||
{ key: 'baseLeft', name: '横向位移', type: 'Number' },
|
||||
{ key: 'baseRadius', name: '圆角', type: 'Number' },
|
||||
{ key: 'baseRotate', name: '旋转', type: 'Number' },
|
||||
{ key: 'baseScale', name: '缩放', type: 'Number' },
|
||||
{ key: 'baseHeight', name: '容器高度%', type: 'Number' },
|
||||
{ key: 'baseWidth', name: '容器宽度%', type: 'Number' },
|
||||
],
|
||||
t = {
|
||||
baseTop: 0,
|
||||
baseLeft: 0,
|
||||
baseRadius: 0,
|
||||
baseRotate: 0,
|
||||
baseScale: 100,
|
||||
baseHeight: 100,
|
||||
baseWidth: 100,
|
||||
};
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=100.js.map
|
||||
1
dist/100.js.map
vendored
Normal file
1
dist/100.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicPcShop/common.ts"],"names":["baseConfig","key","name","type","baseDefault","baseTop","baseLeft","baseRadius","baseRotate","baseScale","baseHeight","baseWidth"],"mappings":"6FAEA,0FAcO,GAAMA,GAAkC,CAC7C,CACEC,IAAK,UACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,aACLC,KAAM,KACNC,KAAM,UAER,CACEF,IAAK,aACLC,KAAM,KACNC,KAAM,UAER,CACEF,IAAK,YACLC,KAAM,KACNC,KAAM,UAER,CACEF,IAAK,aACLC,KAAM,QACNC,KAAM,UAER,CACEF,IAAK,YACLC,KAAM,QACNC,KAAM,WAIGC,EAAc,CACzBC,QAAS,EACTC,SAAU,EACVC,WAAY,EACZC,WAAY,EACZC,UAAW,IACXC,WAAY,IACZC,UAAW","file":"100.js","sourcesContent":["import { INumberConfigType, TNumberDefaultType } from '../PanelComponents/FormEditor/types';\n\n///提取所有公用设置,传来时加到这里,约定公用类型\n//公用配置需满足条件,所有组件初始值统一,否则不放公用设置\n\nexport interface ICommonBaseType {\n baseTop: TNumberDefaultType;\n baseLeft: TNumberDefaultType;\n baseRadius: TNumberDefaultType;\n baseRotate: TNumberDefaultType;\n baseScale: TNumberDefaultType;\n baseHeight: TNumberDefaultType;\n baseWidth: TNumberDefaultType;\n isTpl?: boolean;\n}\n\nexport const baseConfig: INumberConfigType[] = [\n {\n key: 'baseTop',\n name: '纵向位移',\n type: 'Number',\n },\n {\n key: 'baseLeft',\n name: '横向位移',\n type: 'Number',\n },\n {\n key: 'baseRadius',\n name: '圆角',\n type: 'Number',\n },\n {\n key: 'baseRotate',\n name: '旋转',\n type: 'Number',\n },\n {\n key: 'baseScale',\n name: '缩放',\n type: 'Number',\n },\n {\n key: 'baseHeight',\n name: '容器高度%',\n type: 'Number',\n },\n {\n key: 'baseWidth',\n name: '容器宽度%',\n type: 'Number',\n },\n];\n\nexport const baseDefault = {\n baseTop: 0,\n baseLeft: 0,\n baseRadius: 0,\n baseRotate: 0,\n baseScale: 100,\n baseHeight: 100,\n baseWidth: 100,\n};\n"],"sourceRoot":""}
|
||||
13
dist/101.js
vendored
Normal file
13
dist/101.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[101],
|
||||
{
|
||||
WM4E: function(t, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var o = { type: 'Carousel', h: 82, displayName: '轮播图组件' };
|
||||
e.default = o;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=101.js.map
|
||||
1
dist/101.js.map
vendored
Normal file
1
dist/101.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Carousel/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,WACNC,EAAG,GACHC,YAAa,SAEAH","file":"101.js","sourcesContent":["const template = {\n type: 'Carousel',\n h: 82,\n displayName: '轮播图组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
13
dist/102.js
vendored
Normal file
13
dist/102.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[102],
|
||||
{
|
||||
bjF3: function(a, e, o) {
|
||||
'use strict';
|
||||
o.r(e);
|
||||
var t = { type: 'Footer', h: 24, displayName: '页脚组件' };
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=102.js.map
|
||||
1
dist/102.js.map
vendored
Normal file
1
dist/102.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Footer/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,SACNC,EAAG,GACHC,YAAa,QAEAH","file":"102.js","sourcesContent":["const template = {\n type: 'Footer',\n h: 24,\n displayName: '页脚组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
118
dist/103.js
vendored
Normal file
118
dist/103.js
vendored
Normal file
@ -0,0 +1,118 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[103],
|
||||
{
|
||||
M0I0: function(f, r, t) {
|
||||
'use strict';
|
||||
t.r(r);
|
||||
var g = t('+L6B'),
|
||||
o = t('2/Rp'),
|
||||
_ = t('q1tI'),
|
||||
l = t.n(_),
|
||||
u = {
|
||||
Text: e => {
|
||||
var a = e.label,
|
||||
n = e.onChange;
|
||||
return l.a.createElement(
|
||||
o.a,
|
||||
{
|
||||
style: {
|
||||
color: '#fff',
|
||||
backgroundColor: '#4A4A4A',
|
||||
borderRadius: '2px',
|
||||
lineHeight: '0px',
|
||||
},
|
||||
onChange: () => n,
|
||||
},
|
||||
a,
|
||||
);
|
||||
},
|
||||
Textarea: e => {
|
||||
var a = e.label,
|
||||
n = e.onChange;
|
||||
return l.a.createElement(
|
||||
o.a,
|
||||
{ style: { color: '#fff', backgroundColor: '#4A4A4A' }, onChange: () => n },
|
||||
a,
|
||||
);
|
||||
},
|
||||
Number: e => {
|
||||
var a = e.label,
|
||||
n = e.onChange;
|
||||
return l.a.createElement(
|
||||
o.a,
|
||||
{ style: { color: '#fff', backgroundColor: '#4A4A4A' }, onChange: () => n },
|
||||
a,
|
||||
);
|
||||
},
|
||||
MyRadio: e => {
|
||||
var a = e.label,
|
||||
n = e.onChange;
|
||||
return l.a.createElement(
|
||||
o.a,
|
||||
{ style: { color: '#fff', backgroundColor: '#4A4A4A' }, onChange: () => n },
|
||||
a,
|
||||
);
|
||||
},
|
||||
MyCheckbox: e => {
|
||||
var a = e.label,
|
||||
n = e.onChange;
|
||||
return l.a.createElement(
|
||||
'div',
|
||||
null,
|
||||
l.a.createElement(
|
||||
o.a,
|
||||
{ style: { color: '#fff', backgroundColor: '#4A4A4A' }, onChange: () => n },
|
||||
a,
|
||||
),
|
||||
);
|
||||
},
|
||||
Date: (function(e) {
|
||||
function a(n) {
|
||||
return e.apply(this, arguments);
|
||||
}
|
||||
return (
|
||||
(a.toString = function() {
|
||||
return e.toString();
|
||||
}),
|
||||
a
|
||||
);
|
||||
})(e => {
|
||||
var a = e.label,
|
||||
n = e.onChange;
|
||||
return l.a.createElement(
|
||||
o.a,
|
||||
{ style: { color: '#fff', backgroundColor: '#4A4A4A' }, onChange: () => n },
|
||||
a,
|
||||
);
|
||||
}),
|
||||
MySelect: e => {
|
||||
var a = e.label,
|
||||
n = e.onChange;
|
||||
return l.a.createElement(
|
||||
o.a,
|
||||
{ style: { color: '#fff', backgroundColor: '#4A4A4A' }, onChange: () => n },
|
||||
a,
|
||||
);
|
||||
},
|
||||
MyTextTip: e => {
|
||||
var a = e.label;
|
||||
return l.a.createElement(
|
||||
o.a,
|
||||
{
|
||||
style: {
|
||||
color: '#fff',
|
||||
backgroundColor: '#4A4A4A',
|
||||
borderRadius: '2px',
|
||||
lineHeight: '0px',
|
||||
},
|
||||
},
|
||||
a,
|
||||
);
|
||||
},
|
||||
};
|
||||
r.default = u;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=103.js.map
|
||||
1
dist/103.js.map
vendored
Normal file
1
dist/103.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Form/BasePopoverForm.tsx"],"names":["BaseForm","Text","props","label","onChange","color","backgroundColor","borderRadius","lineHeight","Textarea","Number","MyRadio","MyCheckbox","Date","MySelect","MyTextTip"],"mappings":"qJAoBMA,EAAsB,CAC1BC,KAAOC,IAA2E,GACxEC,GAAoBD,EAApBC,MAAOC,EAAaF,EAAbE,SACf,MACE,wBACE,MAAO,CACLC,MAAO,OACPC,gBAAiB,UACjBC,aAAc,MACdC,WAAY,OAEd,SAAU,IAAMJ,GAEfD,IAIPM,SAAWP,IAA+E,GAChFC,GAAoBD,EAApBC,MAAOC,EAAaF,EAAbE,SACf,MACE,wBAAQ,MAAO,CAAEC,MAAO,OAAQC,gBAAiB,WAAa,SAAU,IAAMF,GAC3ED,IAIPO,OAASR,IAAsF,GACrFC,GAAoBD,EAApBC,MAAOC,EAAaF,EAAbE,SACf,MACE,wBAAQ,MAAO,CAAEC,MAAO,OAAQC,gBAAiB,WAAa,SAAU,IAAMF,GAC3ED,IAIPQ,QAAUT,IAAuF,GACvFC,GAAoBD,EAApBC,MAAOC,EAAaF,EAAbE,SACf,MACE,wBAAQ,MAAO,CAAEC,MAAO,OAAQC,gBAAiB,WAAa,SAAU,IAAMF,GAC3ED,IAIPS,WACEV,IACG,GACKC,GAAoBD,EAApBC,MAAOC,EAAaF,EAAbE,SACf,MACE,8BACE,uBAAQ,MAAO,CAAEC,MAAO,OAAQC,gBAAiB,WAAa,SAAU,IAAMF,GAC3ED,KAKTU,KAAM,SAAF,qGAAGX,IAA6D,GAC1DC,GAAoBD,EAApBC,MAAOC,EAAaF,EAAbE,SACf,MACE,wBAAQ,MAAO,CAAEC,MAAO,OAAQC,gBAAiB,WAAa,SAAU,IAAMF,GAC3ED,KAIPW,SACEZ,IACG,GACKC,GAAoBD,EAApBC,MAAOC,EAAaF,EAAbE,SACf,MACE,wBAAQ,MAAO,CAAEC,MAAO,OAAQC,gBAAiB,WAAa,SAAU,IAAMF,GAC3ED,IAIPY,UAAYb,IAA8B,GAChCC,GAAUD,EAAVC,MACR,MACE,wBACE,MAAO,CACLE,MAAO,OACPC,gBAAiB,UACjBC,aAAc,MACdC,WAAY,QAGbL,KAMMH","file":"103.js","sourcesContent":["import React, { ReactText } from 'react';\nimport { Button } from 'antd';\nimport {\n baseFormDateTpl,\n baseFormMyRadioTpl,\n baseFormMyCheckboxTpl,\n baseFormMySelectTpl,\n baseFormNumberTpl,\n baseFormTextAreaTpl,\n baseFormTextTpl,\n baseFormTextTipTpl,\n baseFormUnionType,\n} from '@/components/PanelComponents/FormEditor/types';\n\n// 维护表单控件, 提高form渲染性能\n\ntype TBaseForm = {\n [key in baseFormUnionType]: any;\n};\n\nconst BaseForm: TBaseForm = {\n Text: (props: baseFormTextTpl & { onChange: (v: string | undefined) => void }) => {\n const { label, onChange } = props;\n return (\n <Button\n style={{\n color: '#fff',\n backgroundColor: '#4A4A4A',\n borderRadius: '2px',\n lineHeight: '0px',\n }}\n onChange={() => onChange}\n >\n {label}\n </Button>\n );\n },\n Textarea: (props: baseFormTextAreaTpl & { onChange: (v: string | undefined) => void }) => {\n const { label, onChange } = props;\n return (\n <Button style={{ color: '#fff', backgroundColor: '#4A4A4A' }} onChange={() => onChange}>\n {label}\n </Button>\n );\n },\n Number: (props: baseFormNumberTpl & { onChange: (v: string | undefined | number) => void }) => {\n const { label, onChange } = props;\n return (\n <Button style={{ color: '#fff', backgroundColor: '#4A4A4A' }} onChange={() => onChange}>\n {label}\n </Button>\n );\n },\n MyRadio: (props: baseFormMyRadioTpl & { onChange: (v: string | undefined | number) => void }) => {\n const { label, onChange } = props;\n return (\n <Button style={{ color: '#fff', backgroundColor: '#4A4A4A' }} onChange={() => onChange}>\n {label}\n </Button>\n );\n },\n MyCheckbox: (\n props: baseFormMyCheckboxTpl & { onChange: (v: Array<ReactText> | undefined) => void },\n ) => {\n const { label, onChange } = props;\n return (\n <div>\n <Button style={{ color: '#fff', backgroundColor: '#4A4A4A' }} onChange={() => onChange}>\n {label}\n </Button>\n </div>\n );\n },\n Date: (props: baseFormDateTpl & { onChange: (v: Date) => void }) => {\n const { label, onChange } = props;\n return (\n <Button style={{ color: '#fff', backgroundColor: '#4A4A4A' }} onChange={() => onChange}>\n {label}\n </Button>\n );\n },\n MySelect: (\n props: baseFormMySelectTpl & { onChange: ((v: Record<string, any>) => void) | undefined },\n ) => {\n const { label, onChange } = props;\n return (\n <Button style={{ color: '#fff', backgroundColor: '#4A4A4A' }} onChange={() => onChange}>\n {label}\n </Button>\n );\n },\n MyTextTip: (props: baseFormTextTipTpl) => {\n const { label } = props;\n return (\n <Button\n style={{\n color: '#fff',\n backgroundColor: '#4A4A4A',\n borderRadius: '2px',\n lineHeight: '0px',\n }}\n >\n {label}\n </Button>\n );\n },\n};\n\nexport default BaseForm;\n"],"sourceRoot":""}
|
||||
59
dist/104.js
vendored
Normal file
59
dist/104.js
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[104],
|
||||
{
|
||||
mjeU: function(l, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var o = {
|
||||
editData: [
|
||||
{ key: 'title', name: '标题', type: 'Text' },
|
||||
{ key: 'fontSize', name: '标题大小', type: 'Number' },
|
||||
{ key: 'titColor', name: '标题颜色', type: 'Color' },
|
||||
{
|
||||
key: 'titWeight',
|
||||
name: '标题粗细',
|
||||
type: 'Select',
|
||||
range: [
|
||||
{ key: '300', text: '300 x 300' },
|
||||
{ key: '400', text: '400 x 400' },
|
||||
{ key: '500', text: '500 x 500' },
|
||||
{ key: '600', text: '600 x 600' },
|
||||
],
|
||||
},
|
||||
{ key: 'bgColor', name: '背景色', type: 'Color' },
|
||||
{ key: 'btnColor', name: '按钮颜色', type: 'Color' },
|
||||
{ key: 'btnTextColor', name: '按钮文本颜色', type: 'Color' },
|
||||
{ key: 'api', name: '表单Api地址', type: 'Text' },
|
||||
{ key: 'formControls', name: '表单控件', type: 'FormItems' },
|
||||
],
|
||||
config: {
|
||||
title: '表单定制组件',
|
||||
fontSize: 18,
|
||||
titColor: 'rgba(60,60,60,1)',
|
||||
titWeight: '400',
|
||||
bgColor: 'rgba(255,255,255,1)',
|
||||
btnColor: 'rgba(20,54,226,100)',
|
||||
btnTextColor: 'rgba(255,255,255,1)',
|
||||
api: '',
|
||||
formControls: [
|
||||
{ id: '1', type: 'Text', label: '姓名', placeholder: '请输入姓名' },
|
||||
{ id: '2', type: 'Number', label: '年龄', placeholder: ' 请输入年龄' },
|
||||
{
|
||||
id: '4',
|
||||
type: 'MySelect',
|
||||
label: '爱好',
|
||||
options: [
|
||||
{ label: '篮球', value: '1' },
|
||||
{ label: '乒乓球', value: '2' },
|
||||
{ label: '健身', value: '3' },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
e.default = o;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=104.js.map
|
||||
1
dist/104.js.map
vendored
Normal file
1
dist/104.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Form/schema.ts"],"names":["Form","editData","key","name","type","range","text","config","title","fontSize","titColor","titWeight","bgColor","btnColor","btnTextColor","api","formControls","id","label","placeholder","options","value"],"mappings":"6FAwCA,UAAMA,GAAoB,CACxBC,SAAU,CACR,CACEC,IAAK,QACLC,KAAM,KACNC,KAAM,QAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,YACLC,KAAM,OACNC,KAAM,SACNC,MAAO,CACL,CACEH,IAAK,MACLI,KAAM,aAER,CACEJ,IAAK,MACLI,KAAM,aAER,CACEJ,IAAK,MACLI,KAAM,aAER,CACEJ,IAAK,MACLI,KAAM,eAIZ,CACEJ,IAAK,UACLC,KAAM,MACNC,KAAM,SAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,eACLC,KAAM,SACNC,KAAM,SAER,CACEF,IAAK,MACLC,KAAM,UACNC,KAAM,QAER,CACEF,IAAK,eACLC,KAAM,OACNC,KAAM,cAGVG,OAAQ,CACNC,MAAO,SACPC,SAAU,GACVC,SAAU,mBACVC,UAAW,MACXC,QAAS,sBACTC,SAAU,sBACVC,aAAc,sBACdC,IAAK,GACLC,aAAc,CACZ,CACEC,GAAI,IACJb,KAAM,OACNc,MAAO,KACPC,YAAa,SAEf,CACEF,GAAI,IACJb,KAAM,SACNc,MAAO,KACPC,YAAa,UAEf,CACEF,GAAI,IACJb,KAAM,WACNc,MAAO,KACPE,QAAS,CACP,CAAEF,MAAO,KAAMG,MAAO,KACtB,CAAEH,MAAO,MAAOG,MAAO,KACvB,CAAEH,MAAO,KAAMG,MAAO,UAMjBrB","file":"104.js","sourcesContent":["import {\n IColorConfigType,\n IFormItemsConfigType,\n INumberConfigType,\n ITextConfigType,\n TColorDefaultType,\n TFormItemsDefaultType,\n TNumberDefaultType,\n TSelectDefaultType,\n ISelectConfigType,\n TTextDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TTextWeightSelectKeyType = '300' | '400' | '500' | '600';\n\nexport type TFormEditData = Array<\n | ITextConfigType\n | INumberConfigType\n | IColorConfigType\n | ITextConfigType\n | IFormItemsConfigType\n | ISelectConfigType<TTextWeightSelectKeyType>\n>;\nexport interface IFormConfig {\n title: TTextDefaultType;\n fontSize: TNumberDefaultType;\n titColor: TColorDefaultType;\n titWeight: TSelectDefaultType<TTextWeightSelectKeyType>;\n bgColor: TColorDefaultType;\n btnColor: TColorDefaultType;\n btnTextColor: TColorDefaultType;\n api: TTextDefaultType;\n formControls: TFormItemsDefaultType;\n}\n\nexport interface IFormSchema {\n editData: TFormEditData;\n config: IFormConfig;\n}\n\nconst Form: IFormSchema = {\n editData: [\n {\n key: 'title',\n name: '标题',\n type: 'Text',\n },\n {\n key: 'fontSize',\n name: '标题大小',\n type: 'Number',\n },\n {\n key: 'titColor',\n name: '标题颜色',\n type: 'Color',\n },\n {\n key: 'titWeight',\n name: '标题粗细',\n type: 'Select',\n range: [\n {\n key: '300',\n text: '300 x 300',\n },\n {\n key: '400',\n text: '400 x 400',\n },\n {\n key: '500',\n text: '500 x 500',\n },\n {\n key: '600',\n text: '600 x 600',\n },\n ],\n },\n {\n key: 'bgColor',\n name: '背景色',\n type: 'Color',\n },\n {\n key: 'btnColor',\n name: '按钮颜色',\n type: 'Color',\n },\n {\n key: 'btnTextColor',\n name: '按钮文本颜色',\n type: 'Color',\n },\n {\n key: 'api',\n name: '表单Api地址',\n type: 'Text',\n },\n {\n key: 'formControls',\n name: '表单控件',\n type: 'FormItems',\n },\n ],\n config: {\n title: '表单定制组件',\n fontSize: 18,\n titColor: 'rgba(60,60,60,1)',\n titWeight: '400',\n bgColor: 'rgba(255,255,255,1)',\n btnColor: 'rgba(20,54,226,100)',\n btnTextColor: 'rgba(255,255,255,1)',\n api: '',\n formControls: [\n {\n id: '1',\n type: 'Text',\n label: '姓名',\n placeholder: '请输入姓名',\n },\n {\n id: '2',\n type: 'Number',\n label: '年龄',\n placeholder: ' 请输入年龄',\n },\n {\n id: '4',\n type: 'MySelect',\n label: '爱好',\n options: [\n { label: '篮球', value: '1' },\n { label: '乒乓球', value: '2' },\n { label: '健身', value: '3' },\n ],\n },\n ],\n },\n};\nexport default Form;\n"],"sourceRoot":""}
|
||||
13
dist/105.js
vendored
Normal file
13
dist/105.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[105],
|
||||
{
|
||||
dsiU: function(t, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var o = { type: 'Form', h: 172, displayName: '表格组件' };
|
||||
e.default = o;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=105.js.map
|
||||
1
dist/105.js.map
vendored
Normal file
1
dist/105.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Form/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,OACNC,EAAG,IACHC,YAAa,QAEAH","file":"105.js","sourcesContent":["const template = {\n type: 'Form',\n h: 172,\n displayName: '表格组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
13
dist/106.js
vendored
Normal file
13
dist/106.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[106],
|
||||
{
|
||||
nQVp: function(p, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var n = { type: 'Header', h: 28, displayName: '页头组件' };
|
||||
e.default = n;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=106.js.map
|
||||
1
dist/106.js.map
vendored
Normal file
1
dist/106.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Header/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,SACNC,EAAG,GACHC,YAAa,QAEAH","file":"106.js","sourcesContent":["const template = {\n type: 'Header',\n h: 28,\n displayName: '页头组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
3
dist/107.js
vendored
Normal file
3
dist/107.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([[107], { DUet: function(o, n) {} }]);
|
||||
|
||||
//# sourceMappingURL=107.js.map
|
||||
1
dist/107.js.map
vendored
Normal file
1
dist/107.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"107.js","sourceRoot":""}
|
||||
68
dist/108.js
vendored
Normal file
68
dist/108.js
vendored
Normal file
@ -0,0 +1,68 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[108],
|
||||
{
|
||||
uaKF: function(n, o, e) {
|
||||
'use strict';
|
||||
e.r(o);
|
||||
var T = {
|
||||
editData: [
|
||||
{ key: 'color', name: '颜色', type: 'Color' },
|
||||
{ key: 'size', name: '大小', type: 'Number' },
|
||||
{ key: 'spin', name: '旋转动画', type: 'Switch' },
|
||||
{
|
||||
key: 'type',
|
||||
name: '图标类型',
|
||||
type: 'CardPicker',
|
||||
icons: [
|
||||
'AccountBookTwoTone',
|
||||
'AlertTwoTone',
|
||||
'ApiTwoTone',
|
||||
'AppstoreTwoTone',
|
||||
'AudioTwoTone',
|
||||
'BankTwoTone',
|
||||
'BellTwoTone',
|
||||
'BookTwoTone',
|
||||
'BugTwoTone',
|
||||
'BuildTwoTone',
|
||||
'BulbTwoTone',
|
||||
'CalculatorTwoTone',
|
||||
'CalendarTwoTone',
|
||||
'CameraTwoTone',
|
||||
'CarTwoTone',
|
||||
'CarryOutTwoTone',
|
||||
'CiCircleTwoTone',
|
||||
'CloudTwoTone',
|
||||
'CodeTwoTone',
|
||||
'CrownTwoTone',
|
||||
'CustomerServiceTwoTone',
|
||||
'DollarCircleTwoTone',
|
||||
'EnvironmentTwoTone',
|
||||
'ExperimentTwoTone',
|
||||
'FireTwoTone',
|
||||
'GiftTwoTone',
|
||||
'InsuranceTwoTone',
|
||||
'LikeTwoTone',
|
||||
'LockTwoTone',
|
||||
'MailTwoTone',
|
||||
'MessageTwoTone',
|
||||
'PhoneTwoTone',
|
||||
'PictureTwoTone',
|
||||
'PlaySquareTwoTone',
|
||||
'RedEnvelopeTwoTone',
|
||||
'ShopTwoTone',
|
||||
'TrademarkCircleTwoTone',
|
||||
'StarTwoTone',
|
||||
'SafetyCertificateTwoTone',
|
||||
'SettingTwoTone',
|
||||
'RocketTwoTone',
|
||||
],
|
||||
},
|
||||
],
|
||||
config: { color: 'rgba(74,144,226,1)', size: 36, spin: !1, type: 'CarTwoTone' },
|
||||
};
|
||||
o.default = T;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=108.js.map
|
||||
1
dist/108.js.map
vendored
Normal file
1
dist/108.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Icon/schema.ts"],"names":["Icon","editData","key","name","type","icons","config","color","size","spin"],"mappings":"6FAqEA,UAAMA,GAAoB,CACxBC,SAAU,CACR,CACEC,IAAK,QACLC,KAAM,KACNC,KAAM,SAER,CACEF,IAAK,OACLC,KAAM,KACNC,KAAM,UAER,CACEF,IAAK,OACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,OACLC,KAAM,OACNC,KAAM,aACNC,MAAO,CACL,qBACA,eACA,aACA,kBACA,eACA,cACA,cACA,cACA,aACA,eACA,cACA,oBACA,kBACA,gBACA,aACA,kBACA,kBACA,eACA,cACA,eACA,yBACA,sBACA,qBACA,oBACA,cACA,cACA,mBACA,cACA,cACA,cACA,iBACA,eACA,iBACA,oBACA,qBACA,cACA,yBACA,cACA,2BACA,iBACA,mBAINC,OAAQ,CACNC,MAAO,qBACPC,KAAM,GACNC,KAAM,GACNL,KAAM,eAIKJ","file":"108.js","sourcesContent":["import {\n ICardPickerConfigType,\n IColorConfigType,\n INumberConfigType,\n ISwitchConfigType,\n TCardPickerDefaultType,\n TColorDefaultType,\n TNumberDefaultType,\n TSwitchDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TIconEditData = Array<\n IColorConfigType | INumberConfigType | ISwitchConfigType | ICardPickerConfigType<IconTypes>\n>;\nexport interface IIconConfig {\n color: TColorDefaultType;\n size: TNumberDefaultType;\n spin: TSwitchDefaultType;\n type: TCardPickerDefaultType<IconTypes>;\n}\n\nexport interface IIconSchema {\n editData: TIconEditData;\n config: IIconConfig;\n}\n\nexport type IconTypes =\n | 'AccountBookTwoTone'\n | 'AlertTwoTone'\n | 'ApiTwoTone'\n | 'AppstoreTwoTone'\n | 'AudioTwoTone'\n | 'BankTwoTone'\n | 'BellTwoTone'\n | 'BookTwoTone'\n | 'BugTwoTone'\n | 'BuildTwoTone'\n | 'BulbTwoTone'\n | 'CalculatorTwoTone'\n | 'CalendarTwoTone'\n | 'CameraTwoTone'\n | 'CarTwoTone'\n | 'CarryOutTwoTone'\n | 'CiCircleTwoTone'\n | 'CloudTwoTone'\n | 'CodeTwoTone'\n | 'CrownTwoTone'\n | 'CustomerServiceTwoTone'\n | 'DollarCircleTwoTone'\n | 'EnvironmentTwoTone'\n | 'ExperimentTwoTone'\n | 'FireTwoTone'\n | 'GiftTwoTone'\n | 'InsuranceTwoTone'\n | 'LikeTwoTone'\n | 'LockTwoTone'\n | 'MailTwoTone'\n | 'MessageTwoTone'\n | 'PhoneTwoTone'\n | 'PictureTwoTone'\n | 'PlaySquareTwoTone'\n | 'RedEnvelopeTwoTone'\n | 'ShopTwoTone'\n | 'TrademarkCircleTwoTone'\n | 'StarTwoTone'\n | 'SafetyCertificateTwoTone'\n | 'SettingTwoTone'\n | 'RocketTwoTone';\n\nconst Icon: IIconSchema = {\n editData: [\n {\n key: 'color',\n name: '颜色',\n type: 'Color',\n },\n {\n key: 'size',\n name: '大小',\n type: 'Number',\n },\n {\n key: 'spin',\n name: '旋转动画',\n type: 'Switch',\n },\n {\n key: 'type',\n name: '图标类型',\n type: 'CardPicker',\n icons: [\n 'AccountBookTwoTone',\n 'AlertTwoTone',\n 'ApiTwoTone',\n 'AppstoreTwoTone',\n 'AudioTwoTone',\n 'BankTwoTone',\n 'BellTwoTone',\n 'BookTwoTone',\n 'BugTwoTone',\n 'BuildTwoTone',\n 'BulbTwoTone',\n 'CalculatorTwoTone',\n 'CalendarTwoTone',\n 'CameraTwoTone',\n 'CarTwoTone',\n 'CarryOutTwoTone',\n 'CiCircleTwoTone',\n 'CloudTwoTone',\n 'CodeTwoTone',\n 'CrownTwoTone',\n 'CustomerServiceTwoTone',\n 'DollarCircleTwoTone',\n 'EnvironmentTwoTone',\n 'ExperimentTwoTone',\n 'FireTwoTone',\n 'GiftTwoTone',\n 'InsuranceTwoTone',\n 'LikeTwoTone',\n 'LockTwoTone',\n 'MailTwoTone',\n 'MessageTwoTone',\n 'PhoneTwoTone',\n 'PictureTwoTone',\n 'PlaySquareTwoTone',\n 'RedEnvelopeTwoTone',\n 'ShopTwoTone',\n 'TrademarkCircleTwoTone',\n 'StarTwoTone',\n 'SafetyCertificateTwoTone',\n 'SettingTwoTone',\n 'RocketTwoTone',\n ],\n },\n ],\n config: {\n color: 'rgba(74,144,226,1)',\n size: 36,\n spin: false,\n type: 'CarTwoTone',\n },\n};\n\nexport default Icon;\n"],"sourceRoot":""}
|
||||
13
dist/109.js
vendored
Normal file
13
dist/109.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[109],
|
||||
{
|
||||
JQsT: function(o, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var n = { type: 'Icon', h: 23, displayName: '图标组件' };
|
||||
e.default = n;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=109.js.map
|
||||
1
dist/109.js.map
vendored
Normal file
1
dist/109.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Icon/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,OACNC,EAAG,GACHC,YAAa,QAEAH","file":"109.js","sourcesContent":["const template = {\n type: 'Icon',\n h: 23,\n displayName: '图标组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
1
dist/11.chunk.css
vendored
Normal file
1
dist/11.chunk.css
vendored
Normal file
File diff suppressed because one or more lines are too long
3
dist/11.js
vendored
Normal file
3
dist/11.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([[11], { z0Ys: function(e, n, p) {} }]);
|
||||
|
||||
//# sourceMappingURL=11.js.map
|
||||
1
dist/11.js.map
vendored
Normal file
1
dist/11.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"11.js","sourceRoot":""}
|
||||
13
dist/110.js
vendored
Normal file
13
dist/110.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[110],
|
||||
{
|
||||
'd+lS': function(d, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var t = { type: 'Image', h: 80, displayName: '图片组件' };
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=110.js.map
|
||||
1
dist/110.js.map
vendored
Normal file
1
dist/110.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Image/template.ts"],"names":["template","type","h","displayName"],"mappings":"+FAAA,UAAMA,GAAW,CACfC,KAAM,QACNC,EAAG,GACHC,YAAa,QAEAH","file":"110.js","sourcesContent":["const template = {\n type: 'Image',\n h: 80,\n displayName: '图片组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
13
dist/111.js
vendored
Normal file
13
dist/111.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[111],
|
||||
{
|
||||
GZ6P: function(n, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var a = { type: 'List', h: 110, displayName: '列表组件' };
|
||||
e.default = a;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=111.js.map
|
||||
1
dist/111.js.map
vendored
Normal file
1
dist/111.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/List/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,OACNC,EAAG,IACHC,YAAa,QAEAH","file":"111.js","sourcesContent":["const template = {\n type: 'List',\n h: 110,\n displayName: '列表组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
39
dist/112.js
vendored
Normal file
39
dist/112.js
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[112],
|
||||
{
|
||||
pRIO: function(o, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var n = {
|
||||
editData: [
|
||||
{ key: 'text', name: '文字', type: 'TextArea' },
|
||||
{ key: 'color', name: '标题颜色', type: 'Color' },
|
||||
{ key: 'fontSize', name: '字体大小', type: 'Number' },
|
||||
{ key: 'indent', name: '首行缩进', type: 'Number', range: [0, 100] },
|
||||
{
|
||||
key: 'textAlign',
|
||||
name: '对齐方式',
|
||||
type: 'Select',
|
||||
range: [
|
||||
{ key: 'left', text: '左对齐' },
|
||||
{ key: 'center', text: '居中对齐' },
|
||||
{ key: 'right', text: '右对齐' },
|
||||
],
|
||||
},
|
||||
{ key: 'lineHeight', name: '行高', type: 'Number', step: 0.1 },
|
||||
],
|
||||
config: {
|
||||
text: '我是长文本有一段故事,dooring可视化编辑器无限可能,赶快来体验吧,骚年们,奥利给~',
|
||||
color: 'rgba(60,60,60,1)',
|
||||
fontSize: 14,
|
||||
indent: 20,
|
||||
lineHeight: 1.8,
|
||||
textAlign: 'left',
|
||||
},
|
||||
};
|
||||
e.default = n;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=112.js.map
|
||||
1
dist/112.js.map
vendored
Normal file
1
dist/112.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/LongText/schema.ts"],"names":["LongText","editData","key","name","type","range","text","step","config","color","fontSize","indent","lineHeight","textAlign"],"mappings":"6FAgCA,UAAMA,GAA4B,CAChCC,SAAU,CACR,CACEC,IAAK,OACLC,KAAM,KACNC,KAAM,YAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,SACLC,KAAM,OACNC,KAAM,SACNC,MAAO,CAAC,EAAG,MAEb,CACEH,IAAK,YACLC,KAAM,OACNC,KAAM,SACNC,MAAO,CACL,CACEH,IAAK,OACLI,KAAM,OAER,CACEJ,IAAK,SACLI,KAAM,QAER,CACEJ,IAAK,QACLI,KAAM,SAIZ,CACEJ,IAAK,aACLC,KAAM,KACNC,KAAM,SACNG,KAAM,KAGVC,OAAQ,CACNF,KAAM,+CACNG,MAAO,mBACPC,SAAU,GACVC,OAAQ,GACRC,WAAY,IACZC,UAAW,SAIAb","file":"112.js","sourcesContent":["import {\n IColorConfigType,\n INumberConfigType,\n ISelectConfigType,\n ITextAreaConfigType,\n TColorDefaultType,\n TNumberDefaultType,\n TSelectDefaultType,\n TTextAreaDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\nexport type TLongTextSelectKeyType = 'left' | 'center' | 'right';\n\nexport type TLongTextEditData = Array<\n | ITextAreaConfigType\n | IColorConfigType\n | INumberConfigType\n | ISelectConfigType<TLongTextSelectKeyType>\n>;\nexport interface ILongTextConfig {\n text: TTextAreaDefaultType;\n color: TColorDefaultType;\n fontSize: TNumberDefaultType;\n indent: TNumberDefaultType;\n lineHeight: TNumberDefaultType;\n textAlign: TSelectDefaultType<TLongTextSelectKeyType>;\n}\n\nexport interface ILongTextSchema {\n editData: TLongTextEditData;\n config: ILongTextConfig;\n}\n\nconst LongText: ILongTextSchema = {\n editData: [\n {\n key: 'text',\n name: '文字',\n type: 'TextArea',\n },\n {\n key: 'color',\n name: '标题颜色',\n type: 'Color',\n },\n {\n key: 'fontSize',\n name: '字体大小',\n type: 'Number',\n },\n {\n key: 'indent',\n name: '首行缩进',\n type: 'Number',\n range: [0, 100],\n },\n {\n key: 'textAlign',\n name: '对齐方式',\n type: 'Select',\n range: [\n {\n key: 'left',\n text: '左对齐',\n },\n {\n key: 'center',\n text: '居中对齐',\n },\n {\n key: 'right',\n text: '右对齐',\n },\n ],\n },\n {\n key: 'lineHeight',\n name: '行高',\n type: 'Number',\n step: 0.1,\n },\n ],\n config: {\n text: '我是长文本有一段故事,dooring可视化编辑器无限可能,赶快来体验吧,骚年们,奥利给~',\n color: 'rgba(60,60,60,1)',\n fontSize: 14,\n indent: 20,\n lineHeight: 1.8,\n textAlign: 'left',\n },\n};\n\nexport default LongText;\n"],"sourceRoot":""}
|
||||
13
dist/113.js
vendored
Normal file
13
dist/113.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[113],
|
||||
{
|
||||
PVIO: function(n, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var a = { type: 'LongText', h: 36, displayName: '长文本组件' };
|
||||
e.default = a;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=113.js.map
|
||||
1
dist/113.js.map
vendored
Normal file
1
dist/113.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/LongText/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,WACNC,EAAG,GACHC,YAAa,SAEAH","file":"113.js","sourcesContent":["const template = {\n type: 'LongText',\n h: 36,\n displayName: '长文本组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
32
dist/114.js
vendored
Normal file
32
dist/114.js
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[114],
|
||||
{
|
||||
'Ywj+': function(n, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var a = {
|
||||
editData: [
|
||||
{ key: 'text', name: '文本', type: 'Text' },
|
||||
{ key: 'speed', name: '滚动速度', type: 'Number' },
|
||||
{
|
||||
key: 'theme',
|
||||
name: '主题',
|
||||
type: 'Select',
|
||||
range: [
|
||||
{ key: 'default', text: '默认' },
|
||||
{ key: 'warning', text: '警告' },
|
||||
{ key: 'primary', text: '主要' },
|
||||
{ key: 'success', text: '成功' },
|
||||
{ key: 'danger', text: '危险' },
|
||||
],
|
||||
},
|
||||
{ key: 'isClose', name: '是否可关闭', type: 'Switch' },
|
||||
],
|
||||
config: { text: '通知栏: 趣谈前端上线啦', speed: 50, theme: 'warning', isClose: !1 },
|
||||
};
|
||||
e.default = a;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=114.js.map
|
||||
1
dist/114.js.map
vendored
Normal file
1
dist/114.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Notice/schema.ts"],"names":["Notice","editData","key","name","type","range","text","config","speed","theme","isClose"],"mappings":"+FA2BA,UAAMA,GAAwB,CAC5BC,SAAU,CACR,CACEC,IAAK,OACLC,KAAM,KACNC,KAAM,QAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,QACLC,KAAM,KACNC,KAAM,SACNC,MAAO,CACL,CACEH,IAAK,UACLI,KAAM,MAER,CACEJ,IAAK,UACLI,KAAM,MAER,CACEJ,IAAK,UACLI,KAAM,MAER,CACEJ,IAAK,UACLI,KAAM,MAER,CACEJ,IAAK,SACLI,KAAM,QAIZ,CACEJ,IAAK,UACLC,KAAM,QACNC,KAAM,WAGVG,OAAQ,CACND,KAAM,eACNE,MAAO,GACPC,MAAO,UACPC,QAAS,KAIEV","file":"114.js","sourcesContent":["import {\n INumberConfigType,\n ISelectConfigType,\n ISwitchConfigType,\n ITextConfigType,\n TNumberDefaultType,\n TSelectDefaultType,\n TSwitchDefaultType,\n TTextDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TNoticeSelectKeyType = 'default' | 'warning' | 'primary' | 'success' | 'danger';\nexport type TNoticeEditData = Array<\n ITextConfigType | INumberConfigType | ISelectConfigType<TNoticeSelectKeyType> | ISwitchConfigType\n>;\nexport interface INoticeConfig {\n text: TTextDefaultType;\n speed: TNumberDefaultType;\n theme: TSelectDefaultType<TNoticeSelectKeyType>;\n isClose: TSwitchDefaultType;\n}\n\nexport interface INoticeSchema {\n editData: TNoticeEditData;\n config: INoticeConfig;\n}\n\nconst Notice: INoticeSchema = {\n editData: [\n {\n key: 'text',\n name: '文本',\n type: 'Text',\n },\n {\n key: 'speed',\n name: '滚动速度',\n type: 'Number',\n },\n {\n key: 'theme',\n name: '主题',\n type: 'Select',\n range: [\n {\n key: 'default',\n text: '默认',\n },\n {\n key: 'warning',\n text: '警告',\n },\n {\n key: 'primary',\n text: '主要',\n },\n {\n key: 'success',\n text: '成功',\n },\n {\n key: 'danger',\n text: '危险',\n },\n ],\n },\n {\n key: 'isClose',\n name: '是否可关闭',\n type: 'Switch',\n },\n ],\n config: {\n text: '通知栏: 趣谈前端上线啦',\n speed: 50,\n theme: 'warning',\n isClose: false,\n },\n};\n\nexport default Notice;\n"],"sourceRoot":""}
|
||||
13
dist/115.js
vendored
Normal file
13
dist/115.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[115],
|
||||
{
|
||||
zRVb: function(o, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var a = { type: 'Notice', h: 20, displayName: '通知组件' };
|
||||
e.default = a;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=115.js.map
|
||||
1
dist/115.js.map
vendored
Normal file
1
dist/115.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Notice/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,SACNC,EAAG,GACHC,YAAa,QAEAH","file":"115.js","sourcesContent":["const template = {\n type: 'Notice',\n h: 20,\n displayName: '通知组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
33
dist/116.js
vendored
Normal file
33
dist/116.js
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[116],
|
||||
{
|
||||
'+WcE': function(n, e, o) {
|
||||
'use strict';
|
||||
o.r(e);
|
||||
var t = {
|
||||
editData: [
|
||||
{ key: 'qrcode', name: '二维码', type: 'Upload', isCrop: !0, cropRate: 1 },
|
||||
{ key: 'text', name: '文字', type: 'Text' },
|
||||
{ key: 'color', name: '文字颜色', type: 'Color' },
|
||||
{ key: 'fontSize', name: '文字大小', type: 'Number' },
|
||||
],
|
||||
config: {
|
||||
qrcode: [
|
||||
{
|
||||
uid: '001',
|
||||
name: 'image.png',
|
||||
status: 'done',
|
||||
url: 'http://io.nainor.com/uploads/code_173e1705e0c.png',
|
||||
},
|
||||
],
|
||||
text: '二维码',
|
||||
color: 'rgba(153,153,153,1)',
|
||||
fontSize: 14,
|
||||
},
|
||||
};
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=116.js.map
|
||||
1
dist/116.js.map
vendored
Normal file
1
dist/116.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Qrcode/schema.ts"],"names":["Qrcode","editData","key","name","type","isCrop","cropRate","config","qrcode","uid","status","url","text","color","fontSize"],"mappings":"+FA0BA,UAAMA,GAAwB,CAC5BC,SAAU,CACR,CACEC,IAAK,SACLC,KAAM,MACNC,KAAM,SACNC,OAAQ,GACRC,SAAU,GAEZ,CACEJ,IAAK,OACLC,KAAM,KACNC,KAAM,QAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,WAGVG,OAAQ,CACNC,OAAQ,CACN,CACEC,IAAK,MACLN,KAAM,YACNO,OAAQ,OACRC,IAAK,sDAGTC,KAAM,MACNC,MAAO,sBACPC,SAAU,KAICd","file":"116.js","sourcesContent":["import {\n IColorConfigType,\n INumberConfigType,\n ITextConfigType,\n IUploadConfigType,\n TColorDefaultType,\n TNumberDefaultType,\n TTextDefaultType,\n TUploadDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TQrcodeEditData = Array<\n IUploadConfigType | ITextConfigType | IColorConfigType | INumberConfigType\n>;\nexport interface IQrcodeConfig {\n qrcode: TUploadDefaultType;\n text: TTextDefaultType;\n color: TColorDefaultType;\n fontSize: TNumberDefaultType;\n}\n\nexport interface IQrcodeSchema {\n editData: TQrcodeEditData;\n config: IQrcodeConfig;\n}\n\nconst Qrcode: IQrcodeSchema = {\n editData: [\n {\n key: 'qrcode',\n name: '二维码',\n type: 'Upload',\n isCrop: true,\n cropRate: 1,\n },\n {\n key: 'text',\n name: '文字',\n type: 'Text',\n },\n {\n key: 'color',\n name: '文字颜色',\n type: 'Color',\n },\n {\n key: 'fontSize',\n name: '文字大小',\n type: 'Number',\n },\n ],\n config: {\n qrcode: [\n {\n uid: '001',\n name: 'image.png',\n status: 'done',\n url: 'http://io.nainor.com/uploads/code_173e1705e0c.png',\n },\n ],\n text: '二维码',\n color: 'rgba(153,153,153,1)',\n fontSize: 14,\n },\n};\n\nexport default Qrcode;\n"],"sourceRoot":""}
|
||||
13
dist/117.js
vendored
Normal file
13
dist/117.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[117],
|
||||
{
|
||||
l8Kd: function(o, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var d = { type: 'Qrcode', h: 150, displayName: '二维码组件' };
|
||||
e.default = d;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=117.js.map
|
||||
1
dist/117.js.map
vendored
Normal file
1
dist/117.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Qrcode/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,SACNC,EAAG,IACHC,YAAa,SAEAH","file":"117.js","sourcesContent":["const template = {\n type: 'Qrcode',\n h: 150,\n displayName: '二维码组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
76
dist/118.js
vendored
Normal file
76
dist/118.js
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[118],
|
||||
{
|
||||
v7n1: function(i, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var a = {
|
||||
editData: [
|
||||
{ key: 'tabs', name: '项目类别', type: 'MutiText' },
|
||||
{ key: 'activeColor', name: '激活颜色', type: 'Color' },
|
||||
{ key: 'color', name: '文字颜色', type: 'Color' },
|
||||
{ key: 'fontSize', name: '文字大小', type: 'Number' },
|
||||
{ key: 'imgSize', name: '图片大小', type: 'Number' },
|
||||
{ key: 'sourceData', name: '数据源', type: 'DataList' },
|
||||
],
|
||||
config: {
|
||||
tabs: ['类别一', '类别二'],
|
||||
color: 'rgba(153,153,153,1)',
|
||||
activeColor: 'rgba(0,102,204,1)',
|
||||
fontSize: 16,
|
||||
imgSize: 100,
|
||||
sourceData: [
|
||||
{
|
||||
id: '1',
|
||||
title: '趣谈小课1',
|
||||
desc: '致力于打造优质小课程',
|
||||
link: 'xxxxx',
|
||||
type: 0,
|
||||
imgUrl: [
|
||||
{
|
||||
uid: '001',
|
||||
name: 'image.png',
|
||||
status: 'done',
|
||||
url: 'http://io.nainor.com/uploads/1_1740c6fbcd9.png',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: '2',
|
||||
title: '趣谈小课2',
|
||||
desc: '致力于打造优质小课程',
|
||||
link: 'xxxxx',
|
||||
type: 0,
|
||||
imgUrl: [
|
||||
{
|
||||
uid: '001',
|
||||
name: 'image.png',
|
||||
status: 'done',
|
||||
url: 'http://io.nainor.com/uploads/2_1740c7033a9.png',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: '3',
|
||||
title: '趣谈小课3',
|
||||
desc: '致力于打造优质小课程',
|
||||
link: 'xxxxx',
|
||||
type: 1,
|
||||
imgUrl: [
|
||||
{
|
||||
uid: '001',
|
||||
name: 'image.png',
|
||||
status: 'done',
|
||||
url: 'http://io.nainor.com/uploads/1_1740c6fbcd9.png',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
e.default = a;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=118.js.map
|
||||
1
dist/118.js.map
vendored
Normal file
1
dist/118.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Tab/schema.ts"],"names":["Tab","editData","key","name","type","config","tabs","color","activeColor","fontSize","imgSize","sourceData","id","title","desc","link","imgUrl","uid","status","url"],"mappings":"6FA4BA,UAAMA,GAAkB,CACtBC,SAAU,CACR,CACEC,IAAK,OACLC,KAAM,OACNC,KAAM,YAER,CACEF,IAAK,cACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,UACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,aACLC,KAAM,MACNC,KAAM,aAGVC,OAAQ,CACNC,KAAM,CAAC,MAAO,OACdC,MAAO,sBACPC,YAAa,oBACbC,SAAU,GACVC,QAAS,IACTC,WAAY,CACV,CACEC,GAAI,IACJC,MAAO,QACPC,KAAM,aACNC,KAAM,QACNX,KAAM,EACNY,OAAQ,CACN,CACEC,IAAK,MACLd,KAAM,YACNe,OAAQ,OACRC,IAAK,oDAIX,CACEP,GAAI,IACJC,MAAO,QACPC,KAAM,aACNC,KAAM,QACNX,KAAM,EACNY,OAAQ,CACN,CACEC,IAAK,MACLd,KAAM,YACNe,OAAQ,OACRC,IAAK,oDAIX,CACEP,GAAI,IACJC,MAAO,QACPC,KAAM,aACNC,KAAM,QACNX,KAAM,EACNY,OAAQ,CACN,CACEC,IAAK,MACLd,KAAM,YACNe,OAAQ,OACRC,IAAK,uDAQFnB","file":"118.js","sourcesContent":["import {\n IColorConfigType,\n IDataListConfigType,\n IMutiTextConfigType,\n INumberConfigType,\n TColorDefaultType,\n TDataListDefaultType,\n TMutiTextDefaultType,\n TNumberDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TTabEditData = Array<\n IMutiTextConfigType | IColorConfigType | INumberConfigType | IDataListConfigType\n>;\nexport interface ITabConfig {\n tabs: TMutiTextDefaultType;\n color: TColorDefaultType;\n activeColor: TColorDefaultType;\n fontSize: TNumberDefaultType;\n imgSize: TNumberDefaultType;\n sourceData: TDataListDefaultType;\n}\n\nexport interface ITabSchema {\n editData: TTabEditData;\n config: ITabConfig;\n}\n\nconst Tab: ITabSchema = {\n editData: [\n {\n key: 'tabs',\n name: '项目类别',\n type: 'MutiText',\n },\n {\n key: 'activeColor',\n name: '激活颜色',\n type: 'Color',\n },\n {\n key: 'color',\n name: '文字颜色',\n type: 'Color',\n },\n {\n key: 'fontSize',\n name: '文字大小',\n type: 'Number',\n },\n {\n key: 'imgSize',\n name: '图片大小',\n type: 'Number',\n },\n {\n key: 'sourceData',\n name: '数据源',\n type: 'DataList',\n },\n ],\n config: {\n tabs: ['类别一', '类别二'],\n color: 'rgba(153,153,153,1)',\n activeColor: 'rgba(0,102,204,1)',\n fontSize: 16,\n imgSize: 100,\n sourceData: [\n {\n id: '1',\n title: '趣谈小课1',\n desc: '致力于打造优质小课程',\n link: 'xxxxx',\n type: 0,\n imgUrl: [\n {\n uid: '001',\n name: 'image.png',\n status: 'done',\n url: 'http://io.nainor.com/uploads/1_1740c6fbcd9.png',\n },\n ],\n },\n {\n id: '2',\n title: '趣谈小课2',\n desc: '致力于打造优质小课程',\n link: 'xxxxx',\n type: 0,\n imgUrl: [\n {\n uid: '001',\n name: 'image.png',\n status: 'done',\n url: 'http://io.nainor.com/uploads/2_1740c7033a9.png',\n },\n ],\n },\n {\n id: '3',\n title: '趣谈小课3',\n desc: '致力于打造优质小课程',\n link: 'xxxxx',\n type: 1,\n imgUrl: [\n {\n uid: '001',\n name: 'image.png',\n status: 'done',\n url: 'http://io.nainor.com/uploads/1_1740c6fbcd9.png',\n },\n ],\n },\n ],\n },\n};\n\nexport default Tab;\n"],"sourceRoot":""}
|
||||
13
dist/119.js
vendored
Normal file
13
dist/119.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[119],
|
||||
{
|
||||
'36CK': function(n, a, e) {
|
||||
'use strict';
|
||||
e.r(a);
|
||||
var t = { type: 'Tab', h: 130, displayName: '切换页组件' };
|
||||
a.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=119.js.map
|
||||
1
dist/119.js.map
vendored
Normal file
1
dist/119.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Tab/template.ts"],"names":["template","type","h","displayName"],"mappings":"+FAAA,UAAMA,GAAW,CACfC,KAAM,MACNC,EAAG,IACHC,YAAa,SAEAH","file":"119.js","sourcesContent":["const template = {\n type: 'Tab',\n h: 130,\n displayName: '切换页组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
37
dist/120.js
vendored
Normal file
37
dist/120.js
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[120],
|
||||
{
|
||||
'5pCo': function(o, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var n = {
|
||||
editData: [
|
||||
{ key: 'text', name: '文字', type: 'Text' },
|
||||
{ key: 'color', name: '标题颜色', type: 'Color' },
|
||||
{ key: 'fontSize', name: '字体大小', type: 'Number' },
|
||||
{
|
||||
key: 'align',
|
||||
name: '对齐方式',
|
||||
type: 'Select',
|
||||
range: [
|
||||
{ key: 'left', text: '左对齐' },
|
||||
{ key: 'center', text: '居中对齐' },
|
||||
{ key: 'right', text: '右对齐' },
|
||||
],
|
||||
},
|
||||
{ key: 'lineHeight', name: '行高', type: 'Number' },
|
||||
],
|
||||
config: {
|
||||
text: '我是文本',
|
||||
color: 'rgba(60,60,60,1)',
|
||||
fontSize: 18,
|
||||
align: 'center',
|
||||
lineHeight: 2,
|
||||
},
|
||||
};
|
||||
e.default = n;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=120.js.map
|
||||
1
dist/120.js.map
vendored
Normal file
1
dist/120.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Text/schema.ts"],"names":["Text","editData","key","name","type","range","text","config","color","fontSize","align","lineHeight"],"mappings":"+FA2BA,UAAMA,GAAoB,CACxBC,SAAU,CACR,CACEC,IAAK,OACLC,KAAM,KACNC,KAAM,QAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SACNC,MAAO,CACL,CACEH,IAAK,OACLI,KAAM,OAER,CACEJ,IAAK,SACLI,KAAM,QAER,CACEJ,IAAK,QACLI,KAAM,SAIZ,CACEJ,IAAK,aACLC,KAAM,KACNC,KAAM,WAGVG,OAAQ,CACND,KAAM,OACNE,MAAO,mBACPC,SAAU,GACVC,MAAO,SACPC,WAAY,IAGDX","file":"120.js","sourcesContent":["import {\n IColorConfigType,\n INumberConfigType,\n ISelectConfigType,\n ITextConfigType,\n TColorDefaultType,\n TNumberDefaultType,\n TSelectDefaultType,\n TTextDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TTextSelectKeyType = 'left' | 'right' | 'center';\nexport type TTextEditData = Array<\n ITextConfigType | IColorConfigType | INumberConfigType | ISelectConfigType<TTextSelectKeyType>\n>;\nexport interface ITextConfig {\n text: TTextDefaultType;\n color: TColorDefaultType;\n fontSize: TNumberDefaultType;\n align: TSelectDefaultType<TTextSelectKeyType>;\n lineHeight: TNumberDefaultType;\n}\n\nexport interface ITextSchema {\n editData: TTextEditData;\n config: ITextConfig;\n}\nconst Text: ITextSchema = {\n editData: [\n {\n key: 'text',\n name: '文字',\n type: 'Text',\n },\n {\n key: 'color',\n name: '标题颜色',\n type: 'Color',\n },\n {\n key: 'fontSize',\n name: '字体大小',\n type: 'Number',\n },\n {\n key: 'align',\n name: '对齐方式',\n type: 'Select',\n range: [\n {\n key: 'left',\n text: '左对齐',\n },\n {\n key: 'center',\n text: '居中对齐',\n },\n {\n key: 'right',\n text: '右对齐',\n },\n ],\n },\n {\n key: 'lineHeight',\n name: '行高',\n type: 'Number',\n },\n ],\n config: {\n text: '我是文本',\n color: 'rgba(60,60,60,1)',\n fontSize: 18,\n align: 'center',\n lineHeight: 2,\n },\n};\nexport default Text;\n"],"sourceRoot":""}
|
||||
13
dist/121.js
vendored
Normal file
13
dist/121.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[121],
|
||||
{
|
||||
esTb: function(n, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var a = { type: 'Text', h: 20, displayName: '文本组件' };
|
||||
e.default = a;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=121.js.map
|
||||
1
dist/121.js.map
vendored
Normal file
1
dist/121.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/Text/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,OACNC,EAAG,GACHC,YAAa,QAEAH","file":"121.js","sourcesContent":["const template = {\n type: 'Text',\n h: 20,\n displayName: '文本组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
28
dist/122.js
vendored
Normal file
28
dist/122.js
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[122],
|
||||
{
|
||||
MfVi: function(n, e, o) {
|
||||
'use strict';
|
||||
o.r(e);
|
||||
var t = {
|
||||
editData: [
|
||||
{ key: 'bgColor', name: '背景色', type: 'Color' },
|
||||
{ key: 'height', name: '高度', type: 'Number' },
|
||||
{ key: 'text', name: '文字', type: 'Text' },
|
||||
{ key: 'color', name: '文字颜色', type: 'Color' },
|
||||
{ key: 'fontSize', name: '文字大小', type: 'Number' },
|
||||
],
|
||||
config: {
|
||||
bgColor: 'rgba(255,255,255,1)',
|
||||
text: '',
|
||||
fontSize: 16,
|
||||
color: 'rgba(210,210,210,1)',
|
||||
height: 30,
|
||||
},
|
||||
};
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=122.js.map
|
||||
1
dist/122.js.map
vendored
Normal file
1
dist/122.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/WhiteTpl/schema.ts"],"names":["WhiteTpl","editData","key","name","type","config","bgColor","text","fontSize","color","height"],"mappings":"6FAuBA,UAAMA,GAA4B,CAChCC,SAAU,CACR,CACEC,IAAK,UACLC,KAAM,MACNC,KAAM,SAER,CACEF,IAAK,SACLC,KAAM,KACNC,KAAM,UAER,CACEF,IAAK,OACLC,KAAM,KACNC,KAAM,QAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,WAGVC,OAAQ,CACNC,QAAS,sBACTC,KAAM,GACNC,SAAU,GACVC,MAAO,sBACPC,OAAQ,KAIGV","file":"122.js","sourcesContent":["import {\n IColorConfigType,\n INumberConfigType,\n ITextConfigType,\n TColorDefaultType,\n TNumberDefaultType,\n TTextDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TWhiteTplEditData = Array<IColorConfigType | INumberConfigType | ITextConfigType>;\nexport interface IWhiteTplConfig {\n bgColor: TColorDefaultType;\n text: TTextDefaultType;\n fontSize: TNumberDefaultType;\n color: TColorDefaultType;\n height: TNumberDefaultType;\n}\n\nexport interface IWhiteTplSchema {\n editData: TWhiteTplEditData;\n config: IWhiteTplConfig;\n}\n\nconst WhiteTpl: IWhiteTplSchema = {\n editData: [\n {\n key: 'bgColor',\n name: '背景色',\n type: 'Color',\n },\n {\n key: 'height',\n name: '高度',\n type: 'Number',\n },\n {\n key: 'text',\n name: '文字',\n type: 'Text',\n },\n {\n key: 'color',\n name: '文字颜色',\n type: 'Color',\n },\n {\n key: 'fontSize',\n name: '文字大小',\n type: 'Number',\n },\n ],\n config: {\n bgColor: 'rgba(255,255,255,1)',\n text: '',\n fontSize: 16,\n color: 'rgba(210,210,210,1)',\n height: 30,\n },\n};\n\nexport default WhiteTpl;\n"],"sourceRoot":""}
|
||||
13
dist/123.js
vendored
Normal file
13
dist/123.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[123],
|
||||
{
|
||||
I9di: function(p, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var a = { type: 'WhiteTpl', h: 20, displayName: '空白组件' };
|
||||
e.default = a;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=123.js.map
|
||||
1
dist/123.js.map
vendored
Normal file
1
dist/123.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/BasicComponents/WhiteTpl/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,WACNC,EAAG,GACHC,YAAa,QAEAH","file":"123.js","sourcesContent":["const template = {\n type: 'WhiteTpl',\n h: 20,\n displayName: '空白组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
29
dist/124.js
vendored
Normal file
29
dist/124.js
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[124],
|
||||
{
|
||||
'/QhU': function(t, e, o) {
|
||||
'use strict';
|
||||
o.r(e);
|
||||
var n = {
|
||||
editData: [
|
||||
{ key: 'poster', name: '视频封面', type: 'Upload' },
|
||||
{ key: 'url', name: '视频链接', type: 'Text' },
|
||||
],
|
||||
config: {
|
||||
poster: [
|
||||
{
|
||||
uid: '001',
|
||||
name: 'image.png',
|
||||
status: 'done',
|
||||
url: 'http://io.nainor.com/uploads/1_1740c6fbcd9.png',
|
||||
},
|
||||
],
|
||||
url: '',
|
||||
},
|
||||
};
|
||||
e.default = n;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=124.js.map
|
||||
1
dist/124.js.map
vendored
Normal file
1
dist/124.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/MediaComponents/Audio/schema.ts"],"names":["Video","editData","key","name","type","config","poster","uid","status","url"],"mappings":"+FAkBA,UAAMA,GAAsB,CAC1BC,SAAU,CACR,CACEC,IAAK,SACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,MACLC,KAAM,OACNC,KAAM,SAGVC,OAAQ,CACNC,OAAQ,CACN,CACEC,IAAK,MACLJ,KAAM,YACNK,OAAQ,OACRC,IAAK,mDAGTA,IAAK,KAIMT","file":"124.js","sourcesContent":["import {\n ITextConfigType,\n IUploadConfigType,\n TTextDefaultType,\n TUploadDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TVideoEditData = Array<IUploadConfigType | ITextConfigType>;\nexport interface IVideoConfig {\n poster: TUploadDefaultType;\n url: TTextDefaultType;\n}\n\nexport interface IVideoSchema {\n editData: TVideoEditData;\n config: IVideoConfig;\n}\n\nconst Video: IVideoSchema = {\n editData: [\n {\n key: 'poster',\n name: '视频封面',\n type: 'Upload',\n },\n {\n key: 'url',\n name: '视频链接',\n type: 'Text',\n },\n ],\n config: {\n poster: [\n {\n uid: '001',\n name: 'image.png',\n status: 'done',\n url: 'http://io.nainor.com/uploads/1_1740c6fbcd9.png',\n },\n ],\n url: '',\n },\n};\n\nexport default Video;\n"],"sourceRoot":""}
|
||||
13
dist/125.js
vendored
Normal file
13
dist/125.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[125],
|
||||
{
|
||||
'LAk/': function(t, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var o = { type: 'Audio', h: 107, displayName: '音频组件' };
|
||||
e.default = o;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=125.js.map
|
||||
1
dist/125.js.map
vendored
Normal file
1
dist/125.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/MediaComponents/Audio/template.ts"],"names":["template","type","h","displayName"],"mappings":"+FAAA,UAAMA,GAAW,CACfC,KAAM,QACNC,EAAG,IACHC,YAAa,QAEAH","file":"125.js","sourcesContent":["const template = {\n type: 'Audio',\n h: 107,\n displayName: '音频组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
29
dist/126.js
vendored
Normal file
29
dist/126.js
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[126],
|
||||
{
|
||||
'3wTj': function(t, e, o) {
|
||||
'use strict';
|
||||
o.r(e);
|
||||
var n = {
|
||||
editData: [
|
||||
{ key: 'poster', name: '视频封面', type: 'Upload' },
|
||||
{ key: 'url', name: '视频链接', type: 'Text' },
|
||||
],
|
||||
config: {
|
||||
poster: [
|
||||
{
|
||||
uid: '001',
|
||||
name: 'image.png',
|
||||
status: 'done',
|
||||
url: 'http://io.nainor.com/uploads/1_1740c6fbcd9.png',
|
||||
},
|
||||
],
|
||||
url: '',
|
||||
},
|
||||
};
|
||||
e.default = n;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=126.js.map
|
||||
1
dist/126.js.map
vendored
Normal file
1
dist/126.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/MediaComponents/Video/schema.ts"],"names":["Video","editData","key","name","type","config","poster","uid","status","url"],"mappings":"+FAkBA,UAAMA,GAAsB,CAC1BC,SAAU,CACR,CACEC,IAAK,SACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,MACLC,KAAM,OACNC,KAAM,SAGVC,OAAQ,CACNC,OAAQ,CACN,CACEC,IAAK,MACLJ,KAAM,YACNK,OAAQ,OACRC,IAAK,mDAGTA,IAAK,KAIMT","file":"126.js","sourcesContent":["import {\n ITextConfigType,\n IUploadConfigType,\n TTextDefaultType,\n TUploadDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TVideoEditData = Array<IUploadConfigType | ITextConfigType>;\nexport interface IVideoConfig {\n poster: TUploadDefaultType;\n url: TTextDefaultType;\n}\n\nexport interface IVideoSchema {\n editData: TVideoEditData;\n config: IVideoConfig;\n}\n\nconst Video: IVideoSchema = {\n editData: [\n {\n key: 'poster',\n name: '视频封面',\n type: 'Upload',\n },\n {\n key: 'url',\n name: '视频链接',\n type: 'Text',\n },\n ],\n config: {\n poster: [\n {\n uid: '001',\n name: 'image.png',\n status: 'done',\n url: 'http://io.nainor.com/uploads/1_1740c6fbcd9.png',\n },\n ],\n url: '',\n },\n};\n\nexport default Video;\n"],"sourceRoot":""}
|
||||
13
dist/127.js
vendored
Normal file
13
dist/127.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[127],
|
||||
{
|
||||
uwDS: function(t, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var o = { type: 'Video', h: 107, displayName: '视频组件' };
|
||||
e.default = o;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=127.js.map
|
||||
1
dist/127.js.map
vendored
Normal file
1
dist/127.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/MediaComponents/Video/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,QACNC,EAAG,IACHC,YAAa,QAEAH","file":"127.js","sourcesContent":["const template = {\n type: 'Video',\n h: 107,\n displayName: '视频组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
33
dist/128.js
vendored
Normal file
33
dist/128.js
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[128],
|
||||
{
|
||||
'1YRe': function(n, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var t = {
|
||||
editData: [
|
||||
{ key: 'title', name: '标题', type: 'Text' },
|
||||
{ key: 'size', name: '标题大小', type: 'Number' },
|
||||
{ key: 'color', name: '标题颜色', type: 'Color' },
|
||||
{ key: 'paddingTop', name: '上边距', type: 'Number' },
|
||||
{ key: 'data', name: '数据源', type: 'Table' },
|
||||
],
|
||||
config: {
|
||||
title: '面积图',
|
||||
size: 14,
|
||||
color: 'rgba(0,0,0,1)',
|
||||
paddingTop: 10,
|
||||
data: [
|
||||
{ name: 'A', value: 20 },
|
||||
{ name: 'B', value: 60 },
|
||||
{ name: 'C', value: 20 },
|
||||
{ name: 'D', value: 80 },
|
||||
],
|
||||
},
|
||||
};
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=128.js.map
|
||||
1
dist/128.js.map
vendored
Normal file
1
dist/128.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/Area/schema.ts"],"names":["Chart","editData","key","name","type","config","title","size","color","paddingTop","data","value"],"mappings":"+FA2BA,UAAMA,GAAsB,CAC1BC,SAAU,CACR,CACEC,IAAK,QACLC,KAAM,KACNC,KAAM,QAER,CACEF,IAAK,OACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,aACLC,KAAM,MACNC,KAAM,UAER,CACEF,IAAK,OACLC,KAAM,MACNC,KAAM,UAGVC,OAAQ,CACNC,MAAO,MACPC,KAAM,GACNC,MAAO,gBACPC,WAAY,GACZC,KAAM,CACJ,CACEP,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,OAMAX","file":"128.js","sourcesContent":["import {\n IColorConfigType,\n INumberConfigType,\n ITableConfigType,\n ITextConfigType,\n TColorDefaultType,\n TNumberDefaultType,\n TTableDefaultType,\n TTextDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TChartEditData = Array<\n ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType\n>;\nexport interface IChartConfig {\n title: TTextDefaultType;\n size: TNumberDefaultType;\n color: TColorDefaultType;\n paddingTop: TNumberDefaultType;\n data: TTableDefaultType;\n}\n\nexport interface IChartSchema {\n editData: TChartEditData;\n config: IChartConfig;\n}\n\nconst Chart: IChartSchema = {\n editData: [\n {\n key: 'title',\n name: '标题',\n type: 'Text',\n },\n {\n key: 'size',\n name: '标题大小',\n type: 'Number',\n },\n {\n key: 'color',\n name: '标题颜色',\n type: 'Color',\n },\n {\n key: 'paddingTop',\n name: '上边距',\n type: 'Number',\n },\n {\n key: 'data',\n name: '数据源',\n type: 'Table',\n },\n ],\n config: {\n title: '面积图',\n size: 14,\n color: 'rgba(0,0,0,1)',\n paddingTop: 10,\n data: [\n {\n name: 'A',\n value: 20,\n },\n {\n name: 'B',\n value: 60,\n },\n {\n name: 'C',\n value: 20,\n },\n {\n name: 'D',\n value: 80,\n },\n ],\n },\n};\n\nexport default Chart;\n"],"sourceRoot":""}
|
||||
13
dist/129.js
vendored
Normal file
13
dist/129.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[129],
|
||||
{
|
||||
W5f8: function(n, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var t = { type: 'Area', h: 108, displayName: '面积图组件' };
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=129.js.map
|
||||
1
dist/129.js.map
vendored
Normal file
1
dist/129.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/Area/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,OACNC,EAAG,IACHC,YAAa,SAEAH","file":"129.js","sourcesContent":["const template = {\n type: 'Area',\n h: 108,\n displayName: '面积图组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
1
dist/13.chunk.css
vendored
Normal file
1
dist/13.chunk.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.za-message{display:flex;position:relative;padding:var(--message-padding-v-md) var(--message-padding-h-md);min-height:var(--message-min-height-md);font-size:var(--message-font-size-md);color:var(--theme-default);background-color:hsla(var(--theme-default-h),var(--theme-default-s),var(--theme-default-l),.1)}.za-message__header{display:flex;align-items:center;line-height:1}.za-message__icon{margin-right:4px}.za-message__icon .za-icon{font-size:var(--message-icon-size-md);cursor:pointer}.za-message__body{flex:1 1;display:flex;align-items:center}.za-message__footer{display:flex;justify-content:center;align-items:center;text-align:right;padding-left:10px}.za-message__footer .za-icon{font-size:var(--message-icon-size-md);cursor:pointer}.za-message--primary{color:var(--theme-primary);background-color:hsla(var(--theme-primary-h),var(--theme-primary-s),var(--theme-primary-l),.1)}.za-message--success{color:var(--theme-success);background-color:hsla(var(--theme-success-h),var(--theme-success-s),var(--theme-success-l),.1)}.za-message--warning{color:var(--theme-warning);background-color:hsla(var(--theme-warning-h),var(--theme-warning-s),var(--theme-warning-l),.1)}.za-message--danger{color:var(--theme-danger);background-color:hsla(var(--theme-danger-h),var(--theme-danger-s),var(--theme-danger-l),.1)}.za-message--lg{min-height:var(--message-min-height-lg);font-size:var(--message-font-size-lg);padding:var(--message-padding-v-lg) var(--message-padding-h-lg)}.za-message--lg .za-message__icon{margin-right:6px}.za-message--lg .za-message__icon .za-icon{font-size:var(--message-icon-size-lg)}.za-message--lg .za-message__body{font-size:var(--message-font-size-lg)}.za-message--lg .za-message__footer .za-icon{font-size:var(--message-icon-size-lg)}.za-notice-bar{position:relative;width:100%;height:var(--notice-bar-height);line-height:var(--notice-bar-height);overflow:hidden}.za-notice-bar__body{position:absolute;left:0;top:0;white-space:nowrap}
|
||||
573
dist/13.js
vendored
Normal file
573
dist/13.js
vendored
Normal file
@ -0,0 +1,573 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[13],
|
||||
{
|
||||
'0yOO': function(P, u, f) {},
|
||||
A6Yv: function(P, u, f) {},
|
||||
Au9P: function(P, u, f) {
|
||||
'use strict';
|
||||
f('1Ywk'), f('fhPA'), f('YawY'), f('A6Yv');
|
||||
},
|
||||
EaIR: function(P, u, f) {
|
||||
'use strict';
|
||||
Object.defineProperty(u, '__esModule', { value: !0 }), (u.default = void 0);
|
||||
var y = h(f('q1tI')),
|
||||
b = g(f('TSYQ')),
|
||||
A = g(f('0fCl'));
|
||||
function g(n) {
|
||||
return n && n.__esModule ? n : { default: n };
|
||||
}
|
||||
function _() {
|
||||
if (typeof WeakMap != 'function') return null;
|
||||
var n = new WeakMap();
|
||||
return (
|
||||
(_ = function() {
|
||||
return n;
|
||||
}),
|
||||
n
|
||||
);
|
||||
}
|
||||
function h(n) {
|
||||
if (n && n.__esModule) return n;
|
||||
if (n === null || (d(n) !== 'object' && typeof n != 'function')) return { default: n };
|
||||
var r = _();
|
||||
if (r && r.has(n)) return r.get(n);
|
||||
var o = {},
|
||||
c = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var e in n)
|
||||
if (Object.prototype.hasOwnProperty.call(n, e)) {
|
||||
var t = c ? Object.getOwnPropertyDescriptor(n, e) : null;
|
||||
t && (t.get || t.set) ? Object.defineProperty(o, e, t) : (o[e] = n[e]);
|
||||
}
|
||||
return (o.default = n), r && r.set(n, o), o;
|
||||
}
|
||||
function d(n) {
|
||||
return (
|
||||
typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol'
|
||||
? (d = function(o) {
|
||||
return typeof o;
|
||||
})
|
||||
: (d = function(o) {
|
||||
return o &&
|
||||
typeof Symbol == 'function' &&
|
||||
o.constructor === Symbol &&
|
||||
o !== Symbol.prototype
|
||||
? 'symbol'
|
||||
: typeof o;
|
||||
}),
|
||||
d(n)
|
||||
);
|
||||
}
|
||||
function m(n, r, o) {
|
||||
return (
|
||||
r in n
|
||||
? Object.defineProperty(n, r, {
|
||||
value: o,
|
||||
enumerable: !0,
|
||||
configurable: !0,
|
||||
writable: !0,
|
||||
})
|
||||
: (n[r] = o),
|
||||
n
|
||||
);
|
||||
}
|
||||
function v(n, r) {
|
||||
if (!(n instanceof r)) throw new TypeError('Cannot call a class as a function');
|
||||
}
|
||||
function O(n, r) {
|
||||
for (var o = 0; o < r.length; o++) {
|
||||
var c = r[o];
|
||||
(c.enumerable = c.enumerable || !1),
|
||||
(c.configurable = !0),
|
||||
'value' in c && (c.writable = !0),
|
||||
Object.defineProperty(n, c.key, c);
|
||||
}
|
||||
}
|
||||
function R(n, r, o) {
|
||||
return r && O(n.prototype, r), o && O(n, o), n;
|
||||
}
|
||||
function W(n, r) {
|
||||
return r && (d(r) === 'object' || typeof r == 'function') ? r : D(n);
|
||||
}
|
||||
function D(n) {
|
||||
if (n === void 0)
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
return n;
|
||||
}
|
||||
function M(n) {
|
||||
return (
|
||||
(M = Object.setPrototypeOf
|
||||
? Object.getPrototypeOf
|
||||
: function(o) {
|
||||
return o.__proto__ || Object.getPrototypeOf(o);
|
||||
}),
|
||||
M(n)
|
||||
);
|
||||
}
|
||||
function U(n, r) {
|
||||
if (typeof r != 'function' && r !== null)
|
||||
throw new TypeError('Super expression must either be null or a function');
|
||||
(n.prototype = Object.create(r && r.prototype, {
|
||||
constructor: { value: n, writable: !0, configurable: !0 },
|
||||
})),
|
||||
r && I(n, r);
|
||||
}
|
||||
function I(n, r) {
|
||||
return (
|
||||
(I =
|
||||
Object.setPrototypeOf ||
|
||||
function(c, e) {
|
||||
return (c.__proto__ = e), c;
|
||||
}),
|
||||
I(n, r)
|
||||
);
|
||||
}
|
||||
var C = (function(n) {
|
||||
U(r, n);
|
||||
function r(o) {
|
||||
var c;
|
||||
return (
|
||||
v(this, r),
|
||||
(c = W(this, M(r).call(this, o))),
|
||||
(c.onClick = function(e) {
|
||||
var t = c.props,
|
||||
a = t.hasArrow,
|
||||
i = t.onClick;
|
||||
a && typeof i == 'function' && i(e);
|
||||
}),
|
||||
(c.onClose = function() {
|
||||
c.setState({ visible: !1 });
|
||||
}),
|
||||
(c.state = { visible: !0 }),
|
||||
c
|
||||
);
|
||||
}
|
||||
return (
|
||||
R(r, [
|
||||
{
|
||||
key: 'render',
|
||||
value: function() {
|
||||
var c,
|
||||
e = this.props,
|
||||
t = e.prefixCls,
|
||||
a = e.className,
|
||||
i = e.theme,
|
||||
l = e.size,
|
||||
s = e.icon,
|
||||
p = e.hasArrow,
|
||||
E = e.closable,
|
||||
w = e.children,
|
||||
B = this.state.visible,
|
||||
Q = (0, b.default)(
|
||||
t,
|
||||
a,
|
||||
((c = {}),
|
||||
m(c, ''.concat(t, '--').concat(i), !!i),
|
||||
m(c, ''.concat(t, '--').concat(l), !!l),
|
||||
c),
|
||||
),
|
||||
T = s && y.default.createElement('div', { className: ''.concat(t, '__icon') }, s),
|
||||
Y =
|
||||
E &&
|
||||
y.default.createElement(A.default, { type: 'wrong', onClick: this.onClose }),
|
||||
x = p && y.default.createElement(A.default, { type: 'arrow-right' }),
|
||||
z = !E && !p;
|
||||
return (
|
||||
B &&
|
||||
y.default.createElement(
|
||||
'div',
|
||||
{ className: Q, onClick: this.onClick },
|
||||
y.default.createElement('div', { className: ''.concat(t, '__header') }, T),
|
||||
y.default.createElement('div', { className: ''.concat(t, '__body') }, w),
|
||||
!z &&
|
||||
y.default.createElement('div', { className: ''.concat(t, '__footer') }, x, Y),
|
||||
)
|
||||
);
|
||||
},
|
||||
},
|
||||
]),
|
||||
r
|
||||
);
|
||||
})(y.PureComponent);
|
||||
(u.default = C),
|
||||
(C.defaultProps = {
|
||||
prefixCls: 'za-message',
|
||||
theme: 'primary',
|
||||
hasArrow: !1,
|
||||
closable: !1,
|
||||
});
|
||||
},
|
||||
MWbL: function(P, u) {
|
||||
P.exports =
|
||||
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAI2ElEQVR4Xu2ceXRU1R3Hv++9mcmsycwkLLIJiHWjolQo5ShwCri0iHJsWV0olUUQCVQMMYDBQEEjYV8sAvGIWCg7BIqQgkiBgoJCesTS2h7KKWLCzGRmMkveLD3vjjy2TJtzcoI/Ob/3T/Le3Hff934/93uXd+aMlEwmk+CDjAMSAyHDQghhILR4MBBiPBgIA6HmADE9PIcwEGIOEJPDCWEgxBwgJocTwkCIOUBMDieEgRBzgJgcTggDIeYAMTmcEAZCzAFicjghDISYA8TkcEIYCDEHiMnhhDAQYg4Qk8MJYSDEHCAmhxPCQIg5QEwOJ4SBEHOAmBxOCAMh5gAxOZwQBkLMAWJyOCEMhJgDxORwQhgIMQeIyeGEUAcSv/gvJMJ+YjJvXjmyJRNKdlu9gdclRD138uZtPdGWGVvdy0AosWEglGgAaFQg6pcn4V9YCMsjT8HafxixptOU02hAYmf/Dl/RBCRrAjDe8yM4C+YJB8L7dsD8416QrHaajnzHqhoFSPzCf+CbMRZyTnMoOc2QCPgFkGQ0jIvjfwnZYoPztcWQ3U3SNj+8ZzPMPR6DlGHWy6hffIbYmQpY+j993X1a3ahV9evB1SXI6PkYjO3vulzWZISUYUl1jPKtsPTqBygKokfKkQgGrqvT0LwVjB0f0K9Xz34ZmROLIJlTdTTG0WAgsbNfIfLn3UKbJCupBh7cA8mUAef0xQi+vwTxqgsCSLzyvCjjmzUBktkG18zfAbJcZ7tCW99D5OAeOPNLILtzUmWiUXheeRrukt+L51x5hHesRW3FCcTOnILcrCXkTLf4OOGrQuLiNzDcdjdMHe+Hpd9Qcb1m/Qqop08iK+9NqBWfCiDqqWMw3tsVSd9FhHaug33Eb5DRtacoX/vpQQRWvIHMycX6Y5WcpghtWaOfS2YzbINGNYhTg4F4cgchqaqpnpxIIBmPQbY6kDWlGLIrB4G35wggjl9PgrdgFJx5xYDFCm/+CDhGT4H5oUfTNiB69CNAAiJ7tyPhrRTl4hfOQW7aEpIkiXPHi9MhO7MRPfaROFePH9K6Boydf5JieKgciisHhrs6ifOMLj0hZzrF/+Fd66E0uQWmBx4S2kPb1qD286OQjEY4RudDzm6qa/NOHQVJUZCs9iJpNMHQsi2s/QYjsLQItmcniHKB5bOQvXz7dwukcmgPOMZOg/nBvnUKuQTEmT8X1SUFiP3zNLIXboB/wXQkwiF9brny5oSnEuGd62EbNhaQJDEPJRMJUaR65gTYx+RDyWkuzmWrHYmaAKLHDtTLiIwuPXQgl24IvFMM9ctTkO0OqGcqYGh3JySDAfHz55C9fCvUr07D/2YeshdvRHDtMhjatIO5Vz8kPFXwL5gG54xloirPuAFwL9lcLx3pCjU4IfUGUjAPsb9VwFs4Fq7X34Z65hRqNqxGzspddYNc+RYSleeRNWk2YDJd7qkFzyMzt0j07GsPb95wyM7UUHXtkfB54HqjVFzWVn/hsvXif/vwXNRsXAVDux/A2OFuBBYWwj4qT8wT/rmvwr1oA1Bbi9iFczC0bg//0lnI6PKgSNr3Hog22XsmDoZz6nzEPZUILJ2FJmvT9+zIx3+EuVvvVEriqQnbVzgOjnHToDTREiJdNelrPdTc+4k6gUTKt+q9NxkOIe6tRM2qEth+NQnhneuQ9HvFIiR6YBdM3ftAMhgRPfwnkRCtI/kXzxD1xr8+B9ndFJLJBNvg0Qjv3vj9TUh4xwcIrluB7KWbENmzBZF9ZXAv+kPaiMfPn4X2q4PqiSMI7y9LGfLvf8DQvLUYx5UsF7KmLtDv14Bk5s6ssz7//KnXDSf+kldhHTRaAJEUA5QWrcUkbf3ZQJHK8Lb34V665ar6qkY8guwlmyFZrDQTUjXiUZg6dobSqp0uXMluBnPv/uJcn9RH58EzcQisjw+FbeBIaMOL4dbbxPyT7vAXT4G575Mw3detXkNW8N2F0OYfcWg/HxmPAQajONWW2PbnXrrqUVcCUdw5UNp0QM17i2AdOFIkr6Z0PtxLNun3aInRltOmTl3hGDedJpBI+TaEytYBsct7gHjV1zD3eRKOEZN0INqyN/LhZpgfHoDwvu0IriiGa+YKGNrfUScPbYlc/fr41Bh+xeFNM4dEdm+AcksbxLWhx56FZDiIyIHdyNJWdd8uczM6dYPhjh/qtVXPmQzb0DFi2DF37wPjPZ2h1e94YSpqj+5H9OCHcJWsTZWPxeB95Rk4xhQg+tlhsSqzPPwUvUm9Lje1sV9Lhrl7b61vIu6t0ldTkf1lCKwugaX3E7A/e3WPvbKuwMq5MDRrAcvPByMZqtE/8hWNF6ak5hCInqzNL97cIcI8bf+irbws/YchtKkU5r4DUD3nZbGnCMwrgGtOKSS7A6HN74o5AkYjzD/tj4z7u4v9Tu2JwzDe3hG1XxwXm0qx9I3FRB1y85ZwPD9ZPNc340XYBo2Er3AsDC3aiGvavJhTujdt4uvzQYNXWekeEv3kY/gXFYqeZLzzPh2I97UXYLi1AxzDJ6bdFCIeh+elX8BVvAYJvw/Vb+WlbYv18WEiZernf4Gl3xCofz2O6rn5+iosGVPFPsU5bSGih/ZCaXu7mC+0FZRr9irEPd8g+M5c8Vfb82h6teFO0vZUMRW2Z8ZDyXIjcqQc9udyL+tQVSSjEYTKPtA3g8HS+WLV1pCj0YBootSKT+Bf9turXi4mQ8H6vcfSjEmzi69Xgy/9BPG3G8hr79FetVx6jVKv+m5QoUYFcoPacFM9hoEQw8lAGAgxB4jJ+Z8J4W+d3Fha//dbJzdWDj/tWgf4i3LE+gQDYSDEHCAmhxPCQIg5QEwOJ4SBEHOAmBxOCAMh5gAxOZwQBkLMAWJyOCEMhJgDxORwQhgIMQeIyeGEMBBiDhCTwwlhIMQcICaHE8JAiDlATA4nhIEQc4CYHE4IAyHmADE5nBAGQswBYnI4IQyEmAPE5HBCGAgxB4jJ4YQwEGIOEJPDCWEgxBwgJocTwkCIOUBMzn8Bt3jnEaa0AlYAAAAASUVORK5CYII=';
|
||||
},
|
||||
'NN+q': function(P, u, f) {
|
||||
'use strict';
|
||||
Object.defineProperty(u, '__esModule', { value: !0 }), (u.default = void 0);
|
||||
var y = d(f('q1tI')),
|
||||
b = _(f('EaIR')),
|
||||
A = _(f('0fCl')),
|
||||
g = f('vM/d');
|
||||
function _(e) {
|
||||
return e && e.__esModule ? e : { default: e };
|
||||
}
|
||||
function h() {
|
||||
if (typeof WeakMap != 'function') return null;
|
||||
var e = new WeakMap();
|
||||
return (
|
||||
(h = function() {
|
||||
return e;
|
||||
}),
|
||||
e
|
||||
);
|
||||
}
|
||||
function d(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
if (e === null || (m(e) !== 'object' && typeof e != 'function')) return { default: e };
|
||||
var t = h();
|
||||
if (t && t.has(e)) return t.get(e);
|
||||
var a = {},
|
||||
i = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var l in e)
|
||||
if (Object.prototype.hasOwnProperty.call(e, l)) {
|
||||
var s = i ? Object.getOwnPropertyDescriptor(e, l) : null;
|
||||
s && (s.get || s.set) ? Object.defineProperty(a, l, s) : (a[l] = e[l]);
|
||||
}
|
||||
return (a.default = e), t && t.set(e, a), a;
|
||||
}
|
||||
function m(e) {
|
||||
return (
|
||||
typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol'
|
||||
? (m = function(a) {
|
||||
return typeof a;
|
||||
})
|
||||
: (m = function(a) {
|
||||
return a &&
|
||||
typeof Symbol == 'function' &&
|
||||
a.constructor === Symbol &&
|
||||
a !== Symbol.prototype
|
||||
? 'symbol'
|
||||
: typeof a;
|
||||
}),
|
||||
m(e)
|
||||
);
|
||||
}
|
||||
function v() {
|
||||
return (
|
||||
(v =
|
||||
Object.assign ||
|
||||
function(e) {
|
||||
for (var t = 1; t < arguments.length; t++) {
|
||||
var a = arguments[t];
|
||||
for (var i in a) Object.prototype.hasOwnProperty.call(a, i) && (e[i] = a[i]);
|
||||
}
|
||||
return e;
|
||||
}),
|
||||
v.apply(this, arguments)
|
||||
);
|
||||
}
|
||||
function O(e, t) {
|
||||
if (e == null) return {};
|
||||
var a = R(e, t),
|
||||
i,
|
||||
l;
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var s = Object.getOwnPropertySymbols(e);
|
||||
for (l = 0; l < s.length; l++) {
|
||||
if (((i = s[l]), t.indexOf(i) >= 0)) continue;
|
||||
if (!Object.prototype.propertyIsEnumerable.call(e, i)) continue;
|
||||
a[i] = e[i];
|
||||
}
|
||||
}
|
||||
return a;
|
||||
}
|
||||
function R(e, t) {
|
||||
if (e == null) return {};
|
||||
var a = {},
|
||||
i = Object.keys(e),
|
||||
l,
|
||||
s;
|
||||
for (s = 0; s < i.length; s++) {
|
||||
if (((l = i[s]), t.indexOf(l) >= 0)) continue;
|
||||
a[l] = e[l];
|
||||
}
|
||||
return a;
|
||||
}
|
||||
function W(e, t) {
|
||||
if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function');
|
||||
}
|
||||
function D(e, t) {
|
||||
for (var a = 0; a < t.length; a++) {
|
||||
var i = t[a];
|
||||
(i.enumerable = i.enumerable || !1),
|
||||
(i.configurable = !0),
|
||||
'value' in i && (i.writable = !0),
|
||||
Object.defineProperty(e, i.key, i);
|
||||
}
|
||||
}
|
||||
function M(e, t, a) {
|
||||
return t && D(e.prototype, t), a && D(e, a), e;
|
||||
}
|
||||
function U(e, t) {
|
||||
return t && (m(t) === 'object' || typeof t == 'function') ? t : I(e);
|
||||
}
|
||||
function I(e) {
|
||||
if (e === void 0)
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
return e;
|
||||
}
|
||||
function C(e) {
|
||||
return (
|
||||
(C = Object.setPrototypeOf
|
||||
? Object.getPrototypeOf
|
||||
: function(a) {
|
||||
return a.__proto__ || Object.getPrototypeOf(a);
|
||||
}),
|
||||
C(e)
|
||||
);
|
||||
}
|
||||
function n(e, t) {
|
||||
if (typeof t != 'function' && t !== null)
|
||||
throw new TypeError('Super expression must either be null or a function');
|
||||
(e.prototype = Object.create(t && t.prototype, {
|
||||
constructor: { value: e, writable: !0, configurable: !0 },
|
||||
})),
|
||||
t && r(e, t);
|
||||
}
|
||||
function r(e, t) {
|
||||
return (
|
||||
(r =
|
||||
Object.setPrototypeOf ||
|
||||
function(i, l) {
|
||||
return (i.__proto__ = l), i;
|
||||
}),
|
||||
r(e, t)
|
||||
);
|
||||
}
|
||||
var o = 'za-notice-bar-scrolling',
|
||||
c = (function(e) {
|
||||
n(t, e);
|
||||
function t() {
|
||||
var a, i;
|
||||
W(this, t);
|
||||
for (var l = arguments.length, s = new Array(l), p = 0; p < l; p++) s[p] = arguments[p];
|
||||
return (
|
||||
(i = U(this, (a = C(t)).call.apply(a, [this].concat(s)))),
|
||||
(i.wrapper = null),
|
||||
(i.content = null),
|
||||
(i.state = { animationDuration: 0 }),
|
||||
i
|
||||
);
|
||||
}
|
||||
return (
|
||||
M(t, [
|
||||
{
|
||||
key: 'componentDidMount',
|
||||
value: function() {
|
||||
this.updateScrolling();
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'componentDidUpdate',
|
||||
value: function() {
|
||||
this.updateScrolling();
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'updateScrolling',
|
||||
value: function() {
|
||||
var i = this.props,
|
||||
l = i.speed,
|
||||
s = i.delay,
|
||||
p = this.wrapper.getBoundingClientRect().width,
|
||||
E = this.content.getBoundingClientRect().width;
|
||||
if (E > p) {
|
||||
var w = Math.round(s * 2 + (E / l) * 1e3),
|
||||
B = Math.round((s * 100) / w);
|
||||
(0, g.existKeyframe)(o) && (0, g.removeKeyframe)(o),
|
||||
(0, g.addKeyframe)(
|
||||
o,
|
||||
`
|
||||
0%, `
|
||||
.concat(
|
||||
B,
|
||||
`% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
`,
|
||||
)
|
||||
.concat(
|
||||
100 - B,
|
||||
`%, 100% {
|
||||
-webkit-transform: translate3d(`,
|
||||
)
|
||||
.concat(
|
||||
-(E - p),
|
||||
`px, 0, 0);
|
||||
transform: translate3d(`,
|
||||
)
|
||||
.concat(
|
||||
-(E - p),
|
||||
`px, 0, 0);
|
||||
}
|
||||
`,
|
||||
),
|
||||
),
|
||||
this.setState({ animationDuration: w });
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'render',
|
||||
value: function() {
|
||||
var i = this,
|
||||
l = this.props,
|
||||
s = l.prefixCls,
|
||||
p = l.children,
|
||||
E = O(l, ['prefixCls', 'children']),
|
||||
w = this.state.animationDuration;
|
||||
return y.default.createElement(
|
||||
b.default,
|
||||
v({}, E, { size: 'lg' }),
|
||||
y.default.createElement(
|
||||
'div',
|
||||
{
|
||||
className: s,
|
||||
ref: function(Q) {
|
||||
i.wrapper = Q;
|
||||
},
|
||||
},
|
||||
y.default.createElement(
|
||||
'div',
|
||||
{
|
||||
className: ''.concat(s, '__body'),
|
||||
ref: function(Q) {
|
||||
i.content = Q;
|
||||
},
|
||||
style:
|
||||
w > 0
|
||||
? {
|
||||
WebkitAnimation: ''
|
||||
.concat(o, ' ')
|
||||
.concat(w, 'ms linear infinite'),
|
||||
animation: ''.concat(o, ' ').concat(w, 'ms linear infinite'),
|
||||
}
|
||||
: void 0,
|
||||
},
|
||||
p,
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
},
|
||||
]),
|
||||
t
|
||||
);
|
||||
})(y.PureComponent);
|
||||
(u.default = c),
|
||||
(c.displayName = 'NoticeBar'),
|
||||
(c.defaultProps = {
|
||||
prefixCls: 'za-notice-bar',
|
||||
theme: 'warning',
|
||||
icon: y.default.createElement(A.default, { type: 'broadcast' }),
|
||||
hasArrow: !1,
|
||||
closable: !1,
|
||||
speed: 50,
|
||||
delay: 2e3,
|
||||
});
|
||||
},
|
||||
fhPA: function(P, u, f) {
|
||||
'use strict';
|
||||
f('1Ywk'), f('YawY'), f('0yOO');
|
||||
},
|
||||
'vM/d': function(P, u, f) {
|
||||
'use strict';
|
||||
Object.defineProperty(u, '__esModule', { value: !0 }),
|
||||
(u.existKeyframe = u.getKeyframe = u.addKeyframe = u.removeKeyframe = void 0);
|
||||
var y = function(d, m) {
|
||||
return `
|
||||
@-webkit-keyframes `
|
||||
.concat(
|
||||
d,
|
||||
` {
|
||||
`,
|
||||
)
|
||||
.concat(
|
||||
m,
|
||||
`
|
||||
}
|
||||
@keyframes `,
|
||||
)
|
||||
.concat(
|
||||
d,
|
||||
` {
|
||||
`,
|
||||
)
|
||||
.concat(
|
||||
m,
|
||||
`
|
||||
}
|
||||
`,
|
||||
);
|
||||
},
|
||||
b = function(d) {
|
||||
var m = document.getElementById(d);
|
||||
!!m && document.getElementsByTagName('head')[0].removeChild(m);
|
||||
};
|
||||
u.removeKeyframe = b;
|
||||
var A = function(d, m) {
|
||||
var v = document.createElement('style');
|
||||
(v.id = d),
|
||||
(v.type = 'text/css'),
|
||||
(v.innerHTML = y(d, m)),
|
||||
document.getElementsByTagName('head')[0].appendChild(v);
|
||||
};
|
||||
u.addKeyframe = A;
|
||||
var g = function(d) {
|
||||
var m = document.getElementById(d);
|
||||
return m && m.innerHTML;
|
||||
};
|
||||
u.getKeyframe = g;
|
||||
var _ = function(d) {
|
||||
var m = document.getElementById(d);
|
||||
return !!m;
|
||||
};
|
||||
u.existKeyframe = _;
|
||||
},
|
||||
'y/2G': function(P, u, f) {
|
||||
'use strict';
|
||||
f.r(u);
|
||||
var y = f('Au9P'),
|
||||
b = f.n(y),
|
||||
A = f('NN+q'),
|
||||
g = f.n(A),
|
||||
_ = f('q1tI'),
|
||||
h = f.n(_),
|
||||
d = f('MWbL'),
|
||||
m = f.n(d),
|
||||
v = Object(_.memo)(O => {
|
||||
var R = O.text,
|
||||
W = O.speed,
|
||||
D = O.theme,
|
||||
M = O.isClose,
|
||||
U = M === void 0 ? !1 : M,
|
||||
I = O.isTpl;
|
||||
return h.a.createElement(
|
||||
h.a.Fragment,
|
||||
null,
|
||||
I
|
||||
? h.a.createElement('div', null, h.a.createElement('img', { src: m.a, alt: '' }))
|
||||
: h.a.createElement(
|
||||
g.a,
|
||||
{ theme: D === 'default' ? void 0 : D, closable: U, speed: W },
|
||||
h.a.createElement('span', { style: { color: 'inherit' } }, R),
|
||||
),
|
||||
);
|
||||
});
|
||||
u.default = v;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=13.js.map
|
||||
1
dist/13.js.map
vendored
Normal file
1
dist/13.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
32
dist/130.js
vendored
Normal file
32
dist/130.js
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[130],
|
||||
{
|
||||
FSN0: function(n, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var t = {
|
||||
editData: [
|
||||
{ key: 'title', name: '标题', type: 'Text' },
|
||||
{ key: 'size', name: '标题大小', type: 'Number' },
|
||||
{ key: 'color', name: '标题颜色', type: 'Color' },
|
||||
{ key: 'paddingTop', name: '上边距', type: 'Number' },
|
||||
{ key: 'data', name: '数据源', type: 'Table' },
|
||||
],
|
||||
config: {
|
||||
title: '柱状图',
|
||||
size: 14,
|
||||
color: 'rgba(0,0,0,1)',
|
||||
paddingTop: 10,
|
||||
data: [
|
||||
{ name: 'A', value: 20 },
|
||||
{ name: 'B', value: 60 },
|
||||
{ name: 'C', value: 20 },
|
||||
],
|
||||
},
|
||||
};
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=130.js.map
|
||||
1
dist/130.js.map
vendored
Normal file
1
dist/130.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/Chart/schema.ts"],"names":["Chart","editData","key","name","type","config","title","size","color","paddingTop","data","value"],"mappings":"6FA2BA,UAAMA,GAAsB,CAC1BC,SAAU,CACR,CACEC,IAAK,QACLC,KAAM,KACNC,KAAM,QAER,CACEF,IAAK,OACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,aACLC,KAAM,MACNC,KAAM,UAER,CACEF,IAAK,OACLC,KAAM,MACNC,KAAM,UAGVC,OAAQ,CACNC,MAAO,MACPC,KAAM,GACNC,MAAO,gBACPC,WAAY,GACZC,KAAM,CACJ,CACEP,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,OAMAX","file":"130.js","sourcesContent":["import {\n IColorConfigType,\n INumberConfigType,\n ITableConfigType,\n ITextConfigType,\n TColorDefaultType,\n TNumberDefaultType,\n TTableDefaultType,\n TTextDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TChartEditData = Array<\n ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType\n>;\nexport interface IChartConfig {\n title: TTextDefaultType;\n size: TNumberDefaultType;\n color: TColorDefaultType;\n paddingTop: TNumberDefaultType;\n data: TTableDefaultType;\n}\n\nexport interface IChartSchema {\n editData: TChartEditData;\n config: IChartConfig;\n}\n\nconst Chart: IChartSchema = {\n editData: [\n {\n key: 'title',\n name: '标题',\n type: 'Text',\n },\n {\n key: 'size',\n name: '标题大小',\n type: 'Number',\n },\n {\n key: 'color',\n name: '标题颜色',\n type: 'Color',\n },\n {\n key: 'paddingTop',\n name: '上边距',\n type: 'Number',\n },\n {\n key: 'data',\n name: '数据源',\n type: 'Table',\n },\n ],\n config: {\n title: '柱状图',\n size: 14,\n color: 'rgba(0,0,0,1)',\n paddingTop: 10,\n data: [\n {\n name: 'A',\n value: 20,\n },\n {\n name: 'B',\n value: 60,\n },\n {\n name: 'C',\n value: 20,\n },\n ],\n },\n};\n\nexport default Chart;\n"],"sourceRoot":""}
|
||||
13
dist/131.js
vendored
Normal file
13
dist/131.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[131],
|
||||
{
|
||||
GWe4: function(n, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var t = { type: 'Chart', h: 102, displayName: '柱状图组件' };
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=131.js.map
|
||||
1
dist/131.js.map
vendored
Normal file
1
dist/131.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/Chart/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,QACNC,EAAG,IACHC,YAAa,SAEAH","file":"131.js","sourcesContent":["const template = {\n type: 'Chart',\n h: 102,\n displayName: '柱状图组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
33
dist/132.js
vendored
Normal file
33
dist/132.js
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[132],
|
||||
{
|
||||
zm62: function(n, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var t = {
|
||||
editData: [
|
||||
{ key: 'title', name: '标题', type: 'Text' },
|
||||
{ key: 'size', name: '标题大小', type: 'Number' },
|
||||
{ key: 'color', name: '标题颜色', type: 'Color' },
|
||||
{ key: 'paddingTop', name: '上边距', type: 'Number' },
|
||||
{ key: 'data', name: '数据源', type: 'Table' },
|
||||
],
|
||||
config: {
|
||||
title: '折线图',
|
||||
size: 14,
|
||||
color: 'rgba(0,0,0,1)',
|
||||
paddingTop: 10,
|
||||
data: [
|
||||
{ name: 'A', value: 20 },
|
||||
{ name: 'B', value: 60 },
|
||||
{ name: 'C', value: 20 },
|
||||
{ name: 'D', value: 80 },
|
||||
],
|
||||
},
|
||||
};
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=132.js.map
|
||||
1
dist/132.js.map
vendored
Normal file
1
dist/132.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/Line/schema.ts"],"names":["Chart","editData","key","name","type","config","title","size","color","paddingTop","data","value"],"mappings":"6FA2BA,UAAMA,GAAsB,CAC1BC,SAAU,CACR,CACEC,IAAK,QACLC,KAAM,KACNC,KAAM,QAER,CACEF,IAAK,OACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,aACLC,KAAM,MACNC,KAAM,UAER,CACEF,IAAK,OACLC,KAAM,MACNC,KAAM,UAGVC,OAAQ,CACNC,MAAO,MACPC,KAAM,GACNC,MAAO,gBACPC,WAAY,GACZC,KAAM,CACJ,CACEP,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,OAMAX","file":"132.js","sourcesContent":["import {\n IColorConfigType,\n INumberConfigType,\n ITableConfigType,\n ITextConfigType,\n TColorDefaultType,\n TNumberDefaultType,\n TTableDefaultType,\n TTextDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TChartEditData = Array<\n ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType\n>;\nexport interface IChartConfig {\n title: TTextDefaultType;\n size: TNumberDefaultType;\n color: TColorDefaultType;\n paddingTop: TNumberDefaultType;\n data: TTableDefaultType;\n}\n\nexport interface IChartSchema {\n editData: TChartEditData;\n config: IChartConfig;\n}\n\nconst Chart: IChartSchema = {\n editData: [\n {\n key: 'title',\n name: '标题',\n type: 'Text',\n },\n {\n key: 'size',\n name: '标题大小',\n type: 'Number',\n },\n {\n key: 'color',\n name: '标题颜色',\n type: 'Color',\n },\n {\n key: 'paddingTop',\n name: '上边距',\n type: 'Number',\n },\n {\n key: 'data',\n name: '数据源',\n type: 'Table',\n },\n ],\n config: {\n title: '折线图',\n size: 14,\n color: 'rgba(0,0,0,1)',\n paddingTop: 10,\n data: [\n {\n name: 'A',\n value: 20,\n },\n {\n name: 'B',\n value: 60,\n },\n {\n name: 'C',\n value: 20,\n },\n {\n name: 'D',\n value: 80,\n },\n ],\n },\n};\n\nexport default Chart;\n"],"sourceRoot":""}
|
||||
13
dist/133.js
vendored
Normal file
13
dist/133.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[133],
|
||||
{
|
||||
Rk8c: function(t, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var n = { type: 'Line', h: 104, displayName: '折线图组件' };
|
||||
e.default = n;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=133.js.map
|
||||
1
dist/133.js.map
vendored
Normal file
1
dist/133.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/Line/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,OACNC,EAAG,IACHC,YAAa,SAEAH","file":"133.js","sourcesContent":["const template = {\n type: 'Line',\n h: 104,\n displayName: '折线图组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
33
dist/134.js
vendored
Normal file
33
dist/134.js
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[134],
|
||||
{
|
||||
ForS: function(n, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var t = {
|
||||
editData: [
|
||||
{ key: 'title', name: '标题', type: 'Text' },
|
||||
{ key: 'size', name: '标题大小', type: 'Number' },
|
||||
{ key: 'color', name: '标题颜色', type: 'Color' },
|
||||
{ key: 'paddingTop', name: '上边距', type: 'Number' },
|
||||
{ key: 'data', name: '数据源', type: 'Table' },
|
||||
],
|
||||
config: {
|
||||
title: '饼图',
|
||||
size: 14,
|
||||
color: 'rgba(0,0,0,1)',
|
||||
paddingTop: 10,
|
||||
data: [
|
||||
{ name: 'A', value: 20 },
|
||||
{ name: 'B', value: 60 },
|
||||
{ name: 'C', value: 20 },
|
||||
{ name: 'D', value: 80 },
|
||||
],
|
||||
},
|
||||
};
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=134.js.map
|
||||
1
dist/134.js.map
vendored
Normal file
1
dist/134.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/Pie/schema.ts"],"names":["Chart","editData","key","name","type","config","title","size","color","paddingTop","data","value"],"mappings":"6FA2BA,UAAMA,GAAsB,CAC1BC,SAAU,CACR,CACEC,IAAK,QACLC,KAAM,KACNC,KAAM,QAER,CACEF,IAAK,OACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,QACLC,KAAM,OACNC,KAAM,SAER,CACEF,IAAK,aACLC,KAAM,MACNC,KAAM,UAER,CACEF,IAAK,OACLC,KAAM,MACNC,KAAM,UAGVC,OAAQ,CACNC,MAAO,KACPC,KAAM,GACNC,MAAO,gBACPC,WAAY,GACZC,KAAM,CACJ,CACEP,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,IAET,CACER,KAAM,IACNQ,MAAO,OAMAX","file":"134.js","sourcesContent":["import {\n IColorConfigType,\n INumberConfigType,\n ITableConfigType,\n ITextConfigType,\n TColorDefaultType,\n TNumberDefaultType,\n TTableDefaultType,\n TTextDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\n\nexport type TChartEditData = Array<\n ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType\n>;\nexport interface IChartConfig {\n title: TTextDefaultType;\n size: TNumberDefaultType;\n color: TColorDefaultType;\n paddingTop: TNumberDefaultType;\n data: TTableDefaultType;\n}\n\nexport interface IChartSchema {\n editData: TChartEditData;\n config: IChartConfig;\n}\n\nconst Chart: IChartSchema = {\n editData: [\n {\n key: 'title',\n name: '标题',\n type: 'Text',\n },\n {\n key: 'size',\n name: '标题大小',\n type: 'Number',\n },\n {\n key: 'color',\n name: '标题颜色',\n type: 'Color',\n },\n {\n key: 'paddingTop',\n name: '上边距',\n type: 'Number',\n },\n {\n key: 'data',\n name: '数据源',\n type: 'Table',\n },\n ],\n config: {\n title: '饼图',\n size: 14,\n color: 'rgba(0,0,0,1)',\n paddingTop: 10,\n data: [\n {\n name: 'A',\n value: 20,\n },\n {\n name: 'B',\n value: 60,\n },\n {\n name: 'C',\n value: 20,\n },\n {\n name: 'D',\n value: 80,\n },\n ],\n },\n};\n\nexport default Chart;\n"],"sourceRoot":""}
|
||||
13
dist/135.js
vendored
Normal file
13
dist/135.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[135],
|
||||
{
|
||||
A4RK: function(n, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var t = { type: 'Pie', h: 106, displayName: '饼图组件' };
|
||||
e.default = t;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=135.js.map
|
||||
1
dist/135.js.map
vendored
Normal file
1
dist/135.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/Pie/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,MACNC,EAAG,IACHC,YAAa,QAEAH","file":"135.js","sourcesContent":["const template = {\n type: 'Pie',\n h: 106,\n displayName: '饼图组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
40
dist/136.js
vendored
Normal file
40
dist/136.js
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[136],
|
||||
{
|
||||
EEmK: function(r, e, t) {
|
||||
'use strict';
|
||||
t.r(e);
|
||||
var n = {
|
||||
editData: [
|
||||
{
|
||||
key: 'theme',
|
||||
name: '主题',
|
||||
type: 'Select',
|
||||
range: [
|
||||
{ key: 'success', text: '成功' },
|
||||
{ key: 'warning', text: '警告' },
|
||||
{ key: 'danger', text: '危险' },
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'shape',
|
||||
name: '形状',
|
||||
type: 'Radio',
|
||||
range: [
|
||||
{ key: 'circle', text: '圆形' },
|
||||
{ key: 'line', text: '线形' },
|
||||
{ key: 'semi-circle', text: '半圆形' },
|
||||
],
|
||||
},
|
||||
{ key: 'size', name: '大小', type: 'Number' },
|
||||
{ key: 'percent', name: '进度值', type: 'Number', range: [0, 100] },
|
||||
{ key: 'strokeWidth', name: '线条粗细', type: 'Number' },
|
||||
],
|
||||
config: { theme: 'success', shape: 'circle', size: 200, percent: 30, strokeWidth: 10 },
|
||||
};
|
||||
e.default = n;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=136.js.map
|
||||
1
dist/136.js.map
vendored
Normal file
1
dist/136.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/XProgress/schema.ts"],"names":["XProgress","editData","key","name","type","range","text","config","theme","shape","size","percent","strokeWidth"],"mappings":"6FA4BA,UAAMA,GAA8B,CAClCC,SAAU,CACR,CACEC,IAAK,QACLC,KAAM,KACNC,KAAM,SACNC,MAAO,CACL,CACEH,IAAK,UACLI,KAAM,MAER,CACEJ,IAAK,UACLI,KAAM,MAER,CACEJ,IAAK,SACLI,KAAM,QAIZ,CACEJ,IAAK,QACLC,KAAM,KACNC,KAAM,QACNC,MAAO,CACL,CACEH,IAAK,SACLI,KAAM,MAER,CACEJ,IAAK,OACLI,KAAM,MAER,CACEJ,IAAK,cACLI,KAAM,SAIZ,CACEJ,IAAK,OACLC,KAAM,KACNC,KAAM,UAER,CACEF,IAAK,UACLC,KAAM,MACNC,KAAM,SACNC,MAAO,CAAC,EAAG,MAEb,CACEH,IAAK,cACLC,KAAM,OACNC,KAAM,WAGVG,OAAQ,CACNC,MAAO,UACPC,MAAO,SACPC,KAAM,IACNC,QAAS,GACTC,YAAa,KAIFZ","file":"136.js","sourcesContent":["import {\n INumberConfigType,\n IRadioConfigType,\n ISelectConfigType,\n TNumberDefaultType,\n TRadioDefaultType,\n TSelectDefaultType,\n} from '@/components/PanelComponents/FormEditor/types';\nexport type TXProgressSelectKeyType = 'success' | 'warning' | 'danger';\nexport type TXProgressRadiotKeyType = 'circle' | 'line' | 'semi-circle';\nexport type TXProgressEditData = Array<\n | ISelectConfigType<TXProgressSelectKeyType>\n | IRadioConfigType<TXProgressRadiotKeyType>\n | INumberConfigType\n>;\nexport interface IXProgressConfig {\n theme: TSelectDefaultType<TXProgressSelectKeyType>;\n shape: TRadioDefaultType<TXProgressRadiotKeyType>;\n size: TNumberDefaultType;\n percent: TNumberDefaultType;\n strokeWidth: TNumberDefaultType;\n}\n\nexport interface IXProgressSchema {\n editData: TXProgressEditData;\n config: IXProgressConfig;\n}\n\nconst XProgress: IXProgressSchema = {\n editData: [\n {\n key: 'theme',\n name: '主题',\n type: 'Select',\n range: [\n {\n key: 'success',\n text: '成功',\n },\n {\n key: 'warning',\n text: '警告',\n },\n {\n key: 'danger',\n text: '危险',\n },\n ],\n },\n {\n key: 'shape',\n name: '形状',\n type: 'Radio',\n range: [\n {\n key: 'circle',\n text: '圆形',\n },\n {\n key: 'line',\n text: '线形',\n },\n {\n key: 'semi-circle',\n text: '半圆形',\n },\n ],\n },\n {\n key: 'size',\n name: '大小',\n type: 'Number',\n },\n {\n key: 'percent',\n name: '进度值',\n type: 'Number',\n range: [0, 100],\n },\n {\n key: 'strokeWidth',\n name: '线条粗细',\n type: 'Number',\n },\n ],\n config: {\n theme: 'success',\n shape: 'circle',\n size: 200,\n percent: 30,\n strokeWidth: 10,\n },\n};\n\nexport default XProgress;\n"],"sourceRoot":""}
|
||||
13
dist/137.js
vendored
Normal file
13
dist/137.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[137],
|
||||
{
|
||||
eEGB: function(t, e, a) {
|
||||
'use strict';
|
||||
a.r(e);
|
||||
var o = { type: 'XProgress', h: 102, displayName: '进度条组件' };
|
||||
e.default = o;
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=137.js.map
|
||||
1
dist/137.js.map
vendored
Normal file
1
dist/137.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/VisualComponents/XProgress/template.ts"],"names":["template","type","h","displayName"],"mappings":"6FAAA,UAAMA,GAAW,CACfC,KAAM,YACNC,EAAG,IACHC,YAAa,SAEAH","file":"137.js","sourcesContent":["const template = {\n type: 'XProgress',\n h: 102,\n displayName: '进度条组件',\n};\nexport default template;\n"],"sourceRoot":""}
|
||||
35
dist/138.js
vendored
Normal file
35
dist/138.js
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[138],
|
||||
{
|
||||
RGNM: function(b, e, a) {
|
||||
'use strict';
|
||||
a.r(e),
|
||||
a.d(e, 'baseConfig', function() {
|
||||
return n;
|
||||
}),
|
||||
a.d(e, 'baseDefault', function() {
|
||||
return t;
|
||||
});
|
||||
var n = [
|
||||
{ key: 'baseTop', name: '纵向位移', type: 'Number' },
|
||||
{ key: 'baseLeft', name: '横向位移', type: 'Number' },
|
||||
{ key: 'baseRadius', name: '圆角', type: 'Number' },
|
||||
{ key: 'baseRotate', name: '旋转', type: 'Number' },
|
||||
{ key: 'baseScale', name: '缩放', type: 'Number' },
|
||||
{ key: 'baseHeight', name: '容器高度%', type: 'Number' },
|
||||
{ key: 'baseWidth', name: '容器宽度%', type: 'Number' },
|
||||
],
|
||||
t = {
|
||||
baseTop: 0,
|
||||
baseLeft: 0,
|
||||
baseRadius: 0,
|
||||
baseRotate: 0,
|
||||
baseScale: 100,
|
||||
baseHeight: 100,
|
||||
baseWidth: 100,
|
||||
};
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=138.js.map
|
||||
1
dist/138.js.map
vendored
Normal file
1
dist/138.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["webpack:///./src/components/BasicShop/common.ts"],"names":["baseConfig","key","name","type","baseDefault","baseTop","baseLeft","baseRadius","baseRotate","baseScale","baseHeight","baseWidth"],"mappings":"6FAEA,0FAcO,GAAMA,GAAkC,CAC7C,CACEC,IAAK,UACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,WACLC,KAAM,OACNC,KAAM,UAER,CACEF,IAAK,aACLC,KAAM,KACNC,KAAM,UAER,CACEF,IAAK,aACLC,KAAM,KACNC,KAAM,UAER,CACEF,IAAK,YACLC,KAAM,KACNC,KAAM,UAER,CACEF,IAAK,aACLC,KAAM,QACNC,KAAM,UAER,CACEF,IAAK,YACLC,KAAM,QACNC,KAAM,WAIGC,EAAc,CACzBC,QAAS,EACTC,SAAU,EACVC,WAAY,EACZC,WAAY,EACZC,UAAW,IACXC,WAAY,IACZC,UAAW","file":"138.js","sourcesContent":["import { INumberConfigType, TNumberDefaultType } from '../PanelComponents/FormEditor/types';\n\n///提取所有公用设置,传来时加到这里,约定公用类型\n//公用配置需满足条件,所有组件初始值统一,否则不放公用设置\n\nexport interface ICommonBaseType {\n baseTop: TNumberDefaultType;\n baseLeft: TNumberDefaultType;\n baseRadius: TNumberDefaultType;\n baseRotate: TNumberDefaultType;\n baseScale: TNumberDefaultType;\n baseHeight: TNumberDefaultType;\n baseWidth: TNumberDefaultType;\n isTpl?: boolean;\n}\n\nexport const baseConfig: INumberConfigType[] = [\n {\n key: 'baseTop',\n name: '纵向位移',\n type: 'Number',\n },\n {\n key: 'baseLeft',\n name: '横向位移',\n type: 'Number',\n },\n {\n key: 'baseRadius',\n name: '圆角',\n type: 'Number',\n },\n {\n key: 'baseRotate',\n name: '旋转',\n type: 'Number',\n },\n {\n key: 'baseScale',\n name: '缩放',\n type: 'Number',\n },\n {\n key: 'baseHeight',\n name: '容器高度%',\n type: 'Number',\n },\n {\n key: 'baseWidth',\n name: '容器宽度%',\n type: 'Number',\n },\n];\n\nexport const baseDefault = {\n baseTop: 0,\n baseLeft: 0,\n baseRadius: 0,\n baseRotate: 0,\n baseScale: 100,\n baseHeight: 100,\n baseWidth: 100,\n};\n"],"sourceRoot":""}
|
||||
1
dist/14.chunk.css
vendored
Normal file
1
dist/14.chunk.css
vendored
Normal file
File diff suppressed because one or more lines are too long
389
dist/14.js
vendored
Normal file
389
dist/14.js
vendored
Normal file
@ -0,0 +1,389 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[14],
|
||||
{
|
||||
'1Ywk': function(m, h, o) {
|
||||
'use strict';
|
||||
o('9d8Q'), o('NtQs');
|
||||
},
|
||||
'9d8Q': function(m, h, o) {},
|
||||
HasT: function(m, h, o) {
|
||||
'use strict';
|
||||
o('1Ywk'), o('VRoH');
|
||||
},
|
||||
NtQs: function(m, h, o) {},
|
||||
VRoH: function(m, h, o) {},
|
||||
'v+0w': function(m, h, o) {
|
||||
'use strict';
|
||||
Object.defineProperty(h, '__esModule', { value: !0 }), (h.default = void 0);
|
||||
var c = j(o('q1tI')),
|
||||
q = Q(o('TSYQ'));
|
||||
function Q(e) {
|
||||
return e && e.__esModule ? e : { default: e };
|
||||
}
|
||||
function x() {
|
||||
if (typeof WeakMap != 'function') return null;
|
||||
var e = new WeakMap();
|
||||
return (
|
||||
(x = function() {
|
||||
return e;
|
||||
}),
|
||||
e
|
||||
);
|
||||
}
|
||||
function j(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
if (e === null || (y(e) !== 'object' && typeof e != 'function')) return { default: e };
|
||||
var t = x();
|
||||
if (t && t.has(e)) return t.get(e);
|
||||
var r = {},
|
||||
n = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var i in e)
|
||||
if (Object.prototype.hasOwnProperty.call(e, i)) {
|
||||
var a = n ? Object.getOwnPropertyDescriptor(e, i) : null;
|
||||
a && (a.get || a.set) ? Object.defineProperty(r, i, a) : (r[i] = e[i]);
|
||||
}
|
||||
return (r.default = e), t && t.set(e, r), r;
|
||||
}
|
||||
function y(e) {
|
||||
return (
|
||||
typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol'
|
||||
? (y = function(r) {
|
||||
return typeof r;
|
||||
})
|
||||
: (y = function(r) {
|
||||
return r &&
|
||||
typeof Symbol == 'function' &&
|
||||
r.constructor === Symbol &&
|
||||
r !== Symbol.prototype
|
||||
? 'symbol'
|
||||
: typeof r;
|
||||
}),
|
||||
y(e)
|
||||
);
|
||||
}
|
||||
function E(e, t) {
|
||||
var r = Object.keys(e);
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var n = Object.getOwnPropertySymbols(e);
|
||||
t &&
|
||||
(n = n.filter(function(i) {
|
||||
return Object.getOwnPropertyDescriptor(e, i).enumerable;
|
||||
})),
|
||||
r.push.apply(r, n);
|
||||
}
|
||||
return r;
|
||||
}
|
||||
function H(e) {
|
||||
for (var t = 1; t < arguments.length; t++) {
|
||||
var r = arguments[t] != null ? arguments[t] : {};
|
||||
t % 2
|
||||
? E(Object(r), !0).forEach(function(n) {
|
||||
k(e, n, r[n]);
|
||||
})
|
||||
: Object.getOwnPropertyDescriptors
|
||||
? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
|
||||
: E(Object(r)).forEach(function(n) {
|
||||
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
||||
});
|
||||
}
|
||||
return e;
|
||||
}
|
||||
function k(e, t, r) {
|
||||
return (
|
||||
t in e
|
||||
? Object.defineProperty(e, t, {
|
||||
value: r,
|
||||
enumerable: !0,
|
||||
configurable: !0,
|
||||
writable: !0,
|
||||
})
|
||||
: (e[t] = r),
|
||||
e
|
||||
);
|
||||
}
|
||||
function L(e, t) {
|
||||
if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function');
|
||||
}
|
||||
function D(e, t) {
|
||||
for (var r = 0; r < t.length; r++) {
|
||||
var n = t[r];
|
||||
(n.enumerable = n.enumerable || !1),
|
||||
(n.configurable = !0),
|
||||
'value' in n && (n.writable = !0),
|
||||
Object.defineProperty(e, n.key, n);
|
||||
}
|
||||
}
|
||||
function U(e, t, r) {
|
||||
return t && D(e.prototype, t), r && D(e, r), e;
|
||||
}
|
||||
function Y(e, t) {
|
||||
return t && (y(t) === 'object' || typeof t == 'function') ? t : $(e);
|
||||
}
|
||||
function $(e) {
|
||||
if (e === void 0)
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
return e;
|
||||
}
|
||||
function b(e) {
|
||||
return (
|
||||
(b = Object.setPrototypeOf
|
||||
? Object.getPrototypeOf
|
||||
: function(r) {
|
||||
return r.__proto__ || Object.getPrototypeOf(r);
|
||||
}),
|
||||
b(e)
|
||||
);
|
||||
}
|
||||
function B(e, t) {
|
||||
if (typeof t != 'function' && t !== null)
|
||||
throw new TypeError('Super expression must either be null or a function');
|
||||
(e.prototype = Object.create(t && t.prototype, {
|
||||
constructor: { value: e, writable: !0, configurable: !0 },
|
||||
})),
|
||||
t && w(e, t);
|
||||
}
|
||||
function w(e, t) {
|
||||
return (
|
||||
(w =
|
||||
Object.setPrototypeOf ||
|
||||
function(n, i) {
|
||||
return (n.__proto__ = i), n;
|
||||
}),
|
||||
w(e, t)
|
||||
);
|
||||
}
|
||||
var P = (function(e) {
|
||||
B(t, e);
|
||||
function t(r) {
|
||||
var n;
|
||||
return (
|
||||
L(this, t),
|
||||
(n = Y(this, b(t).call(this, r))),
|
||||
(n.progressElement = void 0),
|
||||
(n.state = { svgStrokeWidth: n.strokeWidth }),
|
||||
n
|
||||
);
|
||||
}
|
||||
return (
|
||||
U(t, [
|
||||
{
|
||||
key: 'componentDidMount',
|
||||
value: function() {
|
||||
this.useSVG && this.resetSVGStrokeWidth();
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'componentDidUpdate',
|
||||
value: function(n) {
|
||||
var i = this.props;
|
||||
n.strokeWidth !== i.strokeWidth && this.resetSVGStrokeWidth();
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'resetSVGStrokeWidth',
|
||||
value: function() {
|
||||
var n = 32,
|
||||
i = this.progressElement.clientWidth;
|
||||
this.setState({ svgStrokeWidth: (n / i) * this.strokeWidth });
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'render',
|
||||
value: function() {
|
||||
var n,
|
||||
i = this,
|
||||
a = this.props,
|
||||
v = a.theme,
|
||||
_ = a.percent,
|
||||
R = a.strokeShape,
|
||||
s = a.shape,
|
||||
l = a.size,
|
||||
C = a.style,
|
||||
u = a.prefixCls,
|
||||
F = a.className,
|
||||
S = a.children,
|
||||
M = a.text,
|
||||
J = this.state,
|
||||
p = this.useSVG ? J.svgStrokeWidth : this.strokeWidth,
|
||||
N = l && l in t.strokeWeights,
|
||||
K = (0, q.default)(
|
||||
u,
|
||||
F,
|
||||
((n = {}),
|
||||
k(n, ''.concat(u, '--').concat(s), !!s),
|
||||
k(n, ''.concat(u, '--').concat(v), !!v),
|
||||
k(n, ''.concat(u, '--').concat(l), N),
|
||||
n),
|
||||
),
|
||||
g = {};
|
||||
N ||
|
||||
((g.width = l),
|
||||
s === 'circle' && (g.height = l),
|
||||
s === 'semi-circle' &&
|
||||
(typeof l == 'number'
|
||||
? (g.height = ''.concat(l / 2, 'px'))
|
||||
: typeof l == 'string' &&
|
||||
(g.height = l.replace(/^(\d+)(.+)$/, function() {
|
||||
return (
|
||||
parseFloat(arguments.length <= 1 ? void 0 : arguments[1]) / 2 +
|
||||
(arguments.length <= 2 ? void 0 : arguments[2])
|
||||
);
|
||||
}))));
|
||||
var f = 32,
|
||||
d = f / 2,
|
||||
O = d + p / 2,
|
||||
z = R === 'round' ? 'round' : 'butt',
|
||||
A =
|
||||
s === 'circle'
|
||||
? '0 0 '.concat(f + p, ' ').concat(f + p)
|
||||
: '0 0 '.concat(f + p, ' ').concat((f + p) / 2),
|
||||
V =
|
||||
s === 'circle'
|
||||
? `
|
||||
M`
|
||||
.concat(O, ', ')
|
||||
.concat(
|
||||
O,
|
||||
`
|
||||
m0 `,
|
||||
)
|
||||
.concat(
|
||||
-d,
|
||||
`
|
||||
a`,
|
||||
)
|
||||
.concat(d, ' ')
|
||||
.concat(d, ' 0 1 1 0 ')
|
||||
.concat(
|
||||
f,
|
||||
`
|
||||
a`,
|
||||
)
|
||||
.concat(d, ' ')
|
||||
.concat(d, ' 0 1 1 0 ')
|
||||
.concat(-f)
|
||||
: `
|
||||
M`
|
||||
.concat(O, ', ')
|
||||
.concat(
|
||||
O,
|
||||
`
|
||||
m`,
|
||||
)
|
||||
.concat(
|
||||
-d,
|
||||
` 0
|
||||
a`,
|
||||
)
|
||||
.concat(d, ' ')
|
||||
.concat(d, ' 0 0 1 ')
|
||||
.concat(f, ' 0'),
|
||||
G = s === 'circle' ? Math.PI * f : (Math.PI * f) / 2,
|
||||
I = R === 'round' ? ''.concat(this.strokeWidth, 'px') : '0',
|
||||
X = { height: ''.concat(p), borderRadius: I },
|
||||
Z = { width: ''.concat(_, '%'), height: ''.concat(p, 'px'), borderRadius: I },
|
||||
W = M ? M(_ || 0) : null,
|
||||
T = S || W,
|
||||
ee =
|
||||
(s === 'circle' || s === 'semi-circle') &&
|
||||
c.default.createElement(
|
||||
c.default.Fragment,
|
||||
null,
|
||||
c.default.createElement(
|
||||
'svg',
|
||||
{ viewBox: A },
|
||||
c.default.createElement('path', {
|
||||
className: ''.concat(u, '__track'),
|
||||
d: V,
|
||||
strokeWidth: p,
|
||||
strokeLinecap: z,
|
||||
}),
|
||||
c.default.createElement('path', {
|
||||
className: ''.concat(u, '__thumb'),
|
||||
d: V,
|
||||
strokeWidth: p,
|
||||
strokeLinecap: z,
|
||||
strokeDasharray: G,
|
||||
strokeDashoffset: (G * (100 - _)) / 100,
|
||||
}),
|
||||
),
|
||||
T &&
|
||||
c.default.createElement(
|
||||
'div',
|
||||
{ className: ''.concat(u, '__text') },
|
||||
S || W,
|
||||
),
|
||||
),
|
||||
te =
|
||||
s === 'line' &&
|
||||
c.default.createElement(
|
||||
'div',
|
||||
{ className: ''.concat(u, '__outer') },
|
||||
c.default.createElement(
|
||||
'div',
|
||||
{ className: ''.concat(u, '__track'), style: X },
|
||||
c.default.createElement('div', {
|
||||
className: ''.concat(u, '__thumb'),
|
||||
style: Z,
|
||||
}),
|
||||
),
|
||||
T &&
|
||||
c.default.createElement(
|
||||
'div',
|
||||
{ className: ''.concat(u, '__text') },
|
||||
S || W,
|
||||
),
|
||||
);
|
||||
return c.default.createElement(
|
||||
'div',
|
||||
{
|
||||
className: K,
|
||||
style: H({}, g, {}, C),
|
||||
ref: function(re) {
|
||||
i.progressElement = re;
|
||||
},
|
||||
},
|
||||
s === 'line' ? te : ee,
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'useSVG',
|
||||
get: function() {
|
||||
var n = this.props;
|
||||
return n.shape === 'semi-circle' || n.shape === 'circle';
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'strokeWidth',
|
||||
get: function() {
|
||||
var n = this.props,
|
||||
i = n.strokeWidth,
|
||||
a = n.size,
|
||||
v = t.strokeWeights,
|
||||
_ = v[a && a in v ? a : 'md'];
|
||||
return Math.max(1, i || _);
|
||||
},
|
||||
},
|
||||
]),
|
||||
t
|
||||
);
|
||||
})(c.PureComponent);
|
||||
(h.default = P),
|
||||
(P.defaultProps = {
|
||||
prefixCls: 'za-progress',
|
||||
theme: 'primary',
|
||||
shape: 'line',
|
||||
size: 'md',
|
||||
percent: 0,
|
||||
strokeShape: 'round',
|
||||
text: function(t) {
|
||||
return ''.concat(t, '%');
|
||||
},
|
||||
}),
|
||||
(P.strokeWeights = { lg: 10, md: 8, sm: 4 });
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=14.js.map
|
||||
1
dist/14.js.map
vendored
Normal file
1
dist/14.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/15.chunk.css
vendored
Normal file
1
dist/15.chunk.css
vendored
Normal file
File diff suppressed because one or more lines are too long
532
dist/15.js
vendored
Normal file
532
dist/15.js
vendored
Normal file
@ -0,0 +1,532 @@
|
||||
(window.webpackJsonp = window.webpackJsonp || []).push([
|
||||
[15],
|
||||
{
|
||||
'/mF5': function(E, u, l) {
|
||||
'use strict';
|
||||
l('1Ywk'), l('8Zyw'), l('85CK');
|
||||
},
|
||||
'85CK': function(E, u, l) {},
|
||||
'8Zyw': function(E, u, l) {
|
||||
'use strict';
|
||||
l('1Ywk'), l('f+WC');
|
||||
},
|
||||
'f+WC': function(E, u, l) {},
|
||||
r9WC: function(E, u, l) {
|
||||
'use strict';
|
||||
Object.defineProperty(u, '__esModule', { value: !0 }), (u.default = void 0);
|
||||
var c = m(l('q1tI')),
|
||||
C = x(l('TSYQ')),
|
||||
I = x(l('tOMI'));
|
||||
function x(e) {
|
||||
return e && e.__esModule ? e : { default: e };
|
||||
}
|
||||
function S() {
|
||||
if (typeof WeakMap != 'function') return null;
|
||||
var e = new WeakMap();
|
||||
return (
|
||||
(S = function() {
|
||||
return e;
|
||||
}),
|
||||
e
|
||||
);
|
||||
}
|
||||
function m(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
if (e === null || (v(e) !== 'object' && typeof e != 'function')) return { default: e };
|
||||
var t = S();
|
||||
if (t && t.has(e)) return t.get(e);
|
||||
var n = {},
|
||||
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var i in e)
|
||||
if (Object.prototype.hasOwnProperty.call(e, i)) {
|
||||
var o = a ? Object.getOwnPropertyDescriptor(e, i) : null;
|
||||
o && (o.get || o.set) ? Object.defineProperty(n, i, o) : (n[i] = e[i]);
|
||||
}
|
||||
return (n.default = e), t && t.set(e, n), n;
|
||||
}
|
||||
function v(e) {
|
||||
return (
|
||||
typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol'
|
||||
? (v = function(n) {
|
||||
return typeof n;
|
||||
})
|
||||
: (v = function(n) {
|
||||
return n &&
|
||||
typeof Symbol == 'function' &&
|
||||
n.constructor === Symbol &&
|
||||
n !== Symbol.prototype
|
||||
? 'symbol'
|
||||
: typeof n;
|
||||
}),
|
||||
v(e)
|
||||
);
|
||||
}
|
||||
function _() {
|
||||
return (
|
||||
(_ =
|
||||
Object.assign ||
|
||||
function(e) {
|
||||
for (var t = 1; t < arguments.length; t++) {
|
||||
var n = arguments[t];
|
||||
for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
|
||||
}
|
||||
return e;
|
||||
}),
|
||||
_.apply(this, arguments)
|
||||
);
|
||||
}
|
||||
function d(e, t, n) {
|
||||
return (
|
||||
t in e
|
||||
? Object.defineProperty(e, t, {
|
||||
value: n,
|
||||
enumerable: !0,
|
||||
configurable: !0,
|
||||
writable: !0,
|
||||
})
|
||||
: (e[t] = n),
|
||||
e
|
||||
);
|
||||
}
|
||||
function O(e, t) {
|
||||
if (e == null) return {};
|
||||
var n = D(e, t),
|
||||
a,
|
||||
i;
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var o = Object.getOwnPropertySymbols(e);
|
||||
for (i = 0; i < o.length; i++) {
|
||||
if (((a = o[i]), t.indexOf(a) >= 0)) continue;
|
||||
if (!Object.prototype.propertyIsEnumerable.call(e, a)) continue;
|
||||
n[a] = e[a];
|
||||
}
|
||||
}
|
||||
return n;
|
||||
}
|
||||
function D(e, t) {
|
||||
if (e == null) return {};
|
||||
var n = {},
|
||||
a = Object.keys(e),
|
||||
i,
|
||||
o;
|
||||
for (o = 0; o < a.length; o++) {
|
||||
if (((i = a[o]), t.indexOf(i) >= 0)) continue;
|
||||
n[i] = e[i];
|
||||
}
|
||||
return n;
|
||||
}
|
||||
function T(e, t) {
|
||||
if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function');
|
||||
}
|
||||
function N(e, t) {
|
||||
for (var n = 0; n < t.length; n++) {
|
||||
var a = t[n];
|
||||
(a.enumerable = a.enumerable || !1),
|
||||
(a.configurable = !0),
|
||||
'value' in a && (a.writable = !0),
|
||||
Object.defineProperty(e, a.key, a);
|
||||
}
|
||||
}
|
||||
function W(e, t, n) {
|
||||
return t && N(e.prototype, t), n && N(e, n), e;
|
||||
}
|
||||
function k(e, t) {
|
||||
return t && (v(t) === 'object' || typeof t == 'function') ? t : s(e);
|
||||
}
|
||||
function s(e) {
|
||||
if (e === void 0)
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
return e;
|
||||
}
|
||||
function R(e) {
|
||||
return (
|
||||
(R = Object.setPrototypeOf
|
||||
? Object.getPrototypeOf
|
||||
: function(n) {
|
||||
return n.__proto__ || Object.getPrototypeOf(n);
|
||||
}),
|
||||
R(e)
|
||||
);
|
||||
}
|
||||
function q(e, t) {
|
||||
if (typeof t != 'function' && t !== null)
|
||||
throw new TypeError('Super expression must either be null or a function');
|
||||
(e.prototype = Object.create(t && t.prototype, {
|
||||
constructor: { value: e, writable: !0, configurable: !0 },
|
||||
})),
|
||||
t && b(e, t);
|
||||
}
|
||||
function b(e, t) {
|
||||
return (
|
||||
(b =
|
||||
Object.setPrototypeOf ||
|
||||
function(a, i) {
|
||||
return (a.__proto__ = i), a;
|
||||
}),
|
||||
b(e, t)
|
||||
);
|
||||
}
|
||||
var r = (function(e) {
|
||||
q(t, e);
|
||||
function t() {
|
||||
var n, a;
|
||||
T(this, t);
|
||||
for (var i = arguments.length, o = new Array(i), f = 0; f < i; f++) o[f] = arguments[f];
|
||||
return (
|
||||
(a = k(this, (n = R(t)).call.apply(n, [this].concat(o)))),
|
||||
(a.onClick = function(p) {
|
||||
var h = a.props,
|
||||
g = h.disabled,
|
||||
y = h.onClick;
|
||||
if (g) return;
|
||||
typeof y == 'function' && y(p);
|
||||
}),
|
||||
a
|
||||
);
|
||||
}
|
||||
return (
|
||||
W(t, [
|
||||
{
|
||||
key: 'render',
|
||||
value: function() {
|
||||
var a,
|
||||
i = this.props,
|
||||
o = i.prefixCls,
|
||||
f = i.className,
|
||||
p = i.theme,
|
||||
h = i.size,
|
||||
g = i.shape,
|
||||
y = i.icon,
|
||||
P = i.block,
|
||||
M = i.ghost,
|
||||
B = i.shadow,
|
||||
A = i.disabled,
|
||||
Y = i.loading,
|
||||
j = i.onClick,
|
||||
J = i.children,
|
||||
w = O(i, [
|
||||
'prefixCls',
|
||||
'className',
|
||||
'theme',
|
||||
'size',
|
||||
'shape',
|
||||
'icon',
|
||||
'block',
|
||||
'ghost',
|
||||
'shadow',
|
||||
'disabled',
|
||||
'loading',
|
||||
'onClick',
|
||||
'children',
|
||||
]),
|
||||
z = (0, C.default)(
|
||||
o,
|
||||
f,
|
||||
((a = {}),
|
||||
d(a, ''.concat(o, '--').concat(p), !!p),
|
||||
d(a, ''.concat(o, '--').concat(h), !!h),
|
||||
d(a, ''.concat(o, '--').concat(g), !!g),
|
||||
d(a, ''.concat(o, '--block'), !!P),
|
||||
d(a, ''.concat(o, '--ghost'), !!M),
|
||||
d(a, ''.concat(o, '--shadow'), !!B),
|
||||
d(a, ''.concat(o, '--disabled'), !!A),
|
||||
a),
|
||||
),
|
||||
$ = Y ? c.default.createElement(I.default, null) : y,
|
||||
K = J && c.default.createElement('span', null, J),
|
||||
Q =
|
||||
!!y || Y
|
||||
? c.default.createElement(
|
||||
'div',
|
||||
{ className: ''.concat(o, '__content') },
|
||||
$,
|
||||
K,
|
||||
)
|
||||
: K;
|
||||
if (w.href !== void 0) {
|
||||
var ee = w.htmlType,
|
||||
F = O(w, ['htmlType']),
|
||||
U = F,
|
||||
L = U.mimeType,
|
||||
G = O(U, ['mimeType']);
|
||||
return (
|
||||
(z = (0, C.default)(z, ''.concat(o, '--link'))),
|
||||
c.default.createElement(
|
||||
'a',
|
||||
_({}, G, {
|
||||
type: L,
|
||||
'aria-disabled': A,
|
||||
className: z,
|
||||
onClick: this.onClick,
|
||||
}),
|
||||
Q,
|
||||
)
|
||||
);
|
||||
}
|
||||
var te = w.mimeType,
|
||||
ne = w.target,
|
||||
H = O(w, ['mimeType', 'target']),
|
||||
Z = H,
|
||||
V = Z.htmlType,
|
||||
X = O(Z, ['htmlType']);
|
||||
return c.default.createElement(
|
||||
'button',
|
||||
_({}, X, { type: V, 'aria-disabled': A, className: z, onClick: this.onClick }),
|
||||
Q,
|
||||
);
|
||||
},
|
||||
},
|
||||
]),
|
||||
t
|
||||
);
|
||||
})(c.PureComponent);
|
||||
(u.default = r),
|
||||
(r.displayName = 'Button'),
|
||||
(r.defaultProps = {
|
||||
prefixCls: 'za-button',
|
||||
theme: 'default',
|
||||
size: 'md',
|
||||
shape: 'radius',
|
||||
block: !1,
|
||||
ghost: !1,
|
||||
shadow: !1,
|
||||
disabled: !1,
|
||||
loading: !1,
|
||||
htmlType: 'button',
|
||||
});
|
||||
},
|
||||
tOMI: function(E, u, l) {
|
||||
'use strict';
|
||||
Object.defineProperty(u, '__esModule', { value: !0 }), (u.default = void 0);
|
||||
var c = S(l('q1tI')),
|
||||
C = I(l('TSYQ'));
|
||||
function I(r) {
|
||||
return r && r.__esModule ? r : { default: r };
|
||||
}
|
||||
function x() {
|
||||
if (typeof WeakMap != 'function') return null;
|
||||
var r = new WeakMap();
|
||||
return (
|
||||
(x = function() {
|
||||
return r;
|
||||
}),
|
||||
r
|
||||
);
|
||||
}
|
||||
function S(r) {
|
||||
if (r && r.__esModule) return r;
|
||||
if (r === null || (m(r) !== 'object' && typeof r != 'function')) return { default: r };
|
||||
var e = x();
|
||||
if (e && e.has(r)) return e.get(r);
|
||||
var t = {},
|
||||
n = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var a in r)
|
||||
if (Object.prototype.hasOwnProperty.call(r, a)) {
|
||||
var i = n ? Object.getOwnPropertyDescriptor(r, a) : null;
|
||||
i && (i.get || i.set) ? Object.defineProperty(t, a, i) : (t[a] = r[a]);
|
||||
}
|
||||
return (t.default = r), e && e.set(r, t), t;
|
||||
}
|
||||
function m(r) {
|
||||
return (
|
||||
typeof Symbol == 'function' && typeof Symbol.iterator == 'symbol'
|
||||
? (m = function(t) {
|
||||
return typeof t;
|
||||
})
|
||||
: (m = function(t) {
|
||||
return t &&
|
||||
typeof Symbol == 'function' &&
|
||||
t.constructor === Symbol &&
|
||||
t !== Symbol.prototype
|
||||
? 'symbol'
|
||||
: typeof t;
|
||||
}),
|
||||
m(r)
|
||||
);
|
||||
}
|
||||
function v(r, e) {
|
||||
if (!(r instanceof e)) throw new TypeError('Cannot call a class as a function');
|
||||
}
|
||||
function _(r, e) {
|
||||
for (var t = 0; t < e.length; t++) {
|
||||
var n = e[t];
|
||||
(n.enumerable = n.enumerable || !1),
|
||||
(n.configurable = !0),
|
||||
'value' in n && (n.writable = !0),
|
||||
Object.defineProperty(r, n.key, n);
|
||||
}
|
||||
}
|
||||
function d(r, e, t) {
|
||||
return e && _(r.prototype, e), t && _(r, t), r;
|
||||
}
|
||||
function O(r, e) {
|
||||
return e && (m(e) === 'object' || typeof e == 'function') ? e : D(r);
|
||||
}
|
||||
function D(r) {
|
||||
if (r === void 0)
|
||||
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
||||
return r;
|
||||
}
|
||||
function T(r) {
|
||||
return (
|
||||
(T = Object.setPrototypeOf
|
||||
? Object.getPrototypeOf
|
||||
: function(t) {
|
||||
return t.__proto__ || Object.getPrototypeOf(t);
|
||||
}),
|
||||
T(r)
|
||||
);
|
||||
}
|
||||
function N(r, e) {
|
||||
if (typeof e != 'function' && e !== null)
|
||||
throw new TypeError('Super expression must either be null or a function');
|
||||
(r.prototype = Object.create(e && e.prototype, {
|
||||
constructor: { value: r, writable: !0, configurable: !0 },
|
||||
})),
|
||||
e && W(r, e);
|
||||
}
|
||||
function W(r, e) {
|
||||
return (
|
||||
(W =
|
||||
Object.setPrototypeOf ||
|
||||
function(n, a) {
|
||||
return (n.__proto__ = a), n;
|
||||
}),
|
||||
W(r, e)
|
||||
);
|
||||
}
|
||||
function k(r, e, t) {
|
||||
return (
|
||||
e in r
|
||||
? Object.defineProperty(r, e, {
|
||||
value: t,
|
||||
enumerable: !0,
|
||||
configurable: !0,
|
||||
writable: !0,
|
||||
})
|
||||
: (r[e] = t),
|
||||
r
|
||||
);
|
||||
}
|
||||
var s = 62,
|
||||
R = function(e) {
|
||||
var t,
|
||||
n = e.prefixCls,
|
||||
a = e.className,
|
||||
i = e.size,
|
||||
o = e.percent,
|
||||
f = e.strokeWidth,
|
||||
p = e.loading,
|
||||
h = e.style,
|
||||
g = (0, C.default)(
|
||||
a,
|
||||
n,
|
||||
((t = {}),
|
||||
k(t, ''.concat(n, '--').concat(i), !!i),
|
||||
k(t, ''.concat(n, '--circular'), p),
|
||||
t),
|
||||
),
|
||||
y = s / 2,
|
||||
P = y - f / 2,
|
||||
M = 2 * Math.PI * P,
|
||||
B = { strokeDasharray: ''.concat((M * o) / 100, ' ').concat(M), strokeWidth: f };
|
||||
return p
|
||||
? c.default.createElement(
|
||||
'span',
|
||||
{ className: g, style: h },
|
||||
c.default.createElement(
|
||||
'svg',
|
||||
{
|
||||
viewBox: ''
|
||||
.concat(s / 2, ' ')
|
||||
.concat(s / 2, ' ')
|
||||
.concat(s, ' ')
|
||||
.concat(s),
|
||||
},
|
||||
c.default.createElement('circle', {
|
||||
cx: s,
|
||||
cy: s,
|
||||
r: P,
|
||||
fill: 'none',
|
||||
style: { strokeWidth: f },
|
||||
}),
|
||||
),
|
||||
)
|
||||
: c.default.createElement(
|
||||
'span',
|
||||
{ className: g, style: h },
|
||||
c.default.createElement(
|
||||
'svg',
|
||||
{ viewBox: '0 0 '.concat(s, ' ').concat(s) },
|
||||
c.default.createElement('circle', {
|
||||
className: ''.concat(n, '__path'),
|
||||
cx: y,
|
||||
cy: y,
|
||||
r: P,
|
||||
fill: 'none',
|
||||
style: { strokeWidth: f },
|
||||
}),
|
||||
c.default.createElement('circle', {
|
||||
className: ''.concat(n, '__line'),
|
||||
cx: y,
|
||||
cy: y,
|
||||
r: P,
|
||||
fill: 'none',
|
||||
style: B,
|
||||
}),
|
||||
),
|
||||
);
|
||||
},
|
||||
q = function(e) {
|
||||
for (
|
||||
var t = e.prefixCls,
|
||||
n = e.className,
|
||||
a = e.size,
|
||||
i = e.style,
|
||||
o = (0, C.default)(
|
||||
t,
|
||||
''.concat(t, '--spinner'),
|
||||
n,
|
||||
k({}, ''.concat(t, '--').concat(a), !!a),
|
||||
),
|
||||
f = [],
|
||||
p = 0;
|
||||
p < 12;
|
||||
p++
|
||||
)
|
||||
f.push(c.default.createElement('div', { key: p }));
|
||||
return c.default.createElement('div', { className: o, style: i }, f);
|
||||
},
|
||||
b = (function(r) {
|
||||
N(e, r);
|
||||
function e() {
|
||||
return v(this, e), O(this, T(e).apply(this, arguments));
|
||||
}
|
||||
return (
|
||||
d(e, [
|
||||
{
|
||||
key: 'render',
|
||||
value: function() {
|
||||
var n = this.props.type;
|
||||
return n !== 'spinner'
|
||||
? c.default.createElement(R, this.props)
|
||||
: c.default.createElement(q, this.props);
|
||||
},
|
||||
},
|
||||
]),
|
||||
e
|
||||
);
|
||||
})(c.PureComponent);
|
||||
(u.default = b),
|
||||
(b.defaultProps = {
|
||||
prefixCls: 'za-activity-indicator',
|
||||
strokeWidth: 5,
|
||||
percent: 20,
|
||||
type: 'circular',
|
||||
loading: !0,
|
||||
});
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
//# sourceMappingURL=15.js.map
|
||||
1
dist/15.js.map
vendored
Normal file
1
dist/15.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/151.chunk.css
vendored
Normal file
1
dist/151.chunk.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.header{box-sizing:content-box;padding:3px 12px;display:flex;align-items:center;height:50px;background-color:#000}.header .logo{margin-right:10px;max-width:160px;max-height:46px;height:46px;overflow:hidden}.header .logo img{height:100%;object-fit:contain}.header .title{font-size:20px;color:#fff}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user