@fonixtree/magic-design 2.0.20 → 2.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/assets/fonts/magic-box-iconfont.css +3 -3
- package/es/assets/fonts/magic-box-iconfont.css.bak +3 -3
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/common/LinkModal/FilteredProductModal/index.js +2 -2
- package/es/common/LinkModal/ProductDetailPage/index.js +1 -1
- package/es/common/ProductModal/index.js +2 -2
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +2 -1
- package/es/composite-comp/dito/components/Recommend/pc/index.js +2 -1
- package/es/core/Designer/AiImageGenerator/History/index.less +2 -0
- package/es/core/Designer/AiImageGenerator/index.less +5 -1
- package/es/core/Designer/ChatRobot/index.js +10 -2
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.js +8 -2
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BackgroundSVG.js +27 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/index.js +7 -0
- package/es/core/Designer/TextEditModal/ToolBar/index.js +10 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +12 -2
- package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +3 -1
- package/es/core/Designer/ToolBarModal/ToolBtn/index.js +12 -0
- package/es/core/Designer/ToolBarModal/index.js +85 -24
- package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/es/meta-comp/components/Text/index.js +8 -10
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/es/meta-comp/config-panels/TextConfig/index.js +9 -30
- package/es/meta-comp/config-panels/TextConfig/index.less +0 -23
- package/es/utils/androidUtil.js +6 -0
- package/lib/assets/fonts/magic-box-iconfont.css +3 -3
- package/lib/assets/fonts/magic-box-iconfont.css.bak +3 -3
- package/lib/assets/fonts/magic-box-iconfont.js +1 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/common/LinkModal/FilteredProductModal/index.js +2 -2
- package/lib/common/LinkModal/ProductDetailPage/index.js +1 -1
- package/lib/common/ProductModal/index.js +2 -2
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +2 -1
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +2 -1
- package/lib/core/Designer/AiImageGenerator/History/index.less +2 -0
- package/lib/core/Designer/AiImageGenerator/index.less +5 -1
- package/lib/core/Designer/ChatRobot/index.js +10 -2
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.js +8 -2
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BackgroundSVG.js +27 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/index.js +7 -0
- package/lib/core/Designer/TextEditModal/ToolBar/index.js +10 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +12 -2
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +3 -1
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +12 -0
- package/lib/core/Designer/ToolBarModal/index.js +85 -24
- package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/lib/meta-comp/components/Text/index.js +8 -10
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/lib/meta-comp/config-panels/TextConfig/index.js +9 -30
- package/lib/meta-comp/config-panels/TextConfig/index.less +0 -23
- package/lib/utils/androidUtil.js +6 -0
- package/package.json +1 -1
- package/es/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/.DS_Store +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TextDecorationColorStyle = exports.TextDecorationColorAttributor = void 0;
|
|
7
|
+
|
|
8
|
+
var _quill = _interopRequireDefault(require("quill"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
13
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
14
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
15
|
+
__proto__: []
|
|
16
|
+
} instanceof Array && function (d, b) {
|
|
17
|
+
d.__proto__ = b;
|
|
18
|
+
} || function (d, b) {
|
|
19
|
+
for (var p in b) {
|
|
20
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
return _extendStatics(d, b);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
return function (d, b) {
|
|
28
|
+
_extendStatics(d, b);
|
|
29
|
+
|
|
30
|
+
function __() {
|
|
31
|
+
this.constructor = d;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
35
|
+
};
|
|
36
|
+
}();
|
|
37
|
+
|
|
38
|
+
var Parchment = _quill["default"]["import"]('parchment');
|
|
39
|
+
|
|
40
|
+
var TextDecorationColorAttributor =
|
|
41
|
+
/** @class */
|
|
42
|
+
function (_super) {
|
|
43
|
+
__extends(TextDecorationColorAttributor, _super);
|
|
44
|
+
|
|
45
|
+
function TextDecorationColorAttributor() {
|
|
46
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return TextDecorationColorAttributor;
|
|
50
|
+
}(Parchment.Attributor.Style);
|
|
51
|
+
|
|
52
|
+
exports.TextDecorationColorAttributor = TextDecorationColorAttributor;
|
|
53
|
+
var TextDecorationColorStyle = new TextDecorationColorAttributor('text-decoration-color', 'text-decoration-color', {
|
|
54
|
+
scope: Parchment.Scope.INLINE
|
|
55
|
+
});
|
|
56
|
+
exports.TextDecorationColorStyle = TextDecorationColorStyle;
|
|
57
|
+
|
|
58
|
+
_quill["default"].register('formats/text-decoration-color', TextDecorationColorStyle, true);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TextDecorationStyleStyle = exports.TextDecorationStyleAttributor = void 0;
|
|
7
|
+
|
|
8
|
+
var _quill = _interopRequireDefault(require("quill"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
13
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
14
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
15
|
+
__proto__: []
|
|
16
|
+
} instanceof Array && function (d, b) {
|
|
17
|
+
d.__proto__ = b;
|
|
18
|
+
} || function (d, b) {
|
|
19
|
+
for (var p in b) {
|
|
20
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
return _extendStatics(d, b);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
return function (d, b) {
|
|
28
|
+
_extendStatics(d, b);
|
|
29
|
+
|
|
30
|
+
function __() {
|
|
31
|
+
this.constructor = d;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
35
|
+
};
|
|
36
|
+
}();
|
|
37
|
+
|
|
38
|
+
var Parchment = _quill["default"]["import"]('parchment');
|
|
39
|
+
|
|
40
|
+
var TextDecorationStyleAttributor =
|
|
41
|
+
/** @class */
|
|
42
|
+
function (_super) {
|
|
43
|
+
__extends(TextDecorationStyleAttributor, _super);
|
|
44
|
+
|
|
45
|
+
function TextDecorationStyleAttributor() {
|
|
46
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return TextDecorationStyleAttributor;
|
|
50
|
+
}(Parchment.Attributor.Style);
|
|
51
|
+
|
|
52
|
+
exports.TextDecorationStyleAttributor = TextDecorationStyleAttributor;
|
|
53
|
+
var TextDecorationStyleStyle = new TextDecorationStyleAttributor('text-decoration-style', 'text-decoration-style', {
|
|
54
|
+
scope: Parchment.Scope.INLINE
|
|
55
|
+
});
|
|
56
|
+
exports.TextDecorationStyleStyle = TextDecorationStyleStyle;
|
|
57
|
+
|
|
58
|
+
_quill["default"].register('formats/text-decoration-style', TextDecorationStyleStyle, true);
|
|
@@ -11,6 +11,14 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
11
11
|
|
|
12
12
|
var _quill = _interopRequireDefault(require("quill"));
|
|
13
13
|
|
|
14
|
+
require("./formats/fontWeight");
|
|
15
|
+
|
|
16
|
+
require("./formats/fontFamily");
|
|
17
|
+
|
|
18
|
+
require("./formats/textDecorationColor");
|
|
19
|
+
|
|
20
|
+
require("./formats/textDecorationStyle");
|
|
21
|
+
|
|
14
22
|
var _decorator = require("../../../decorator");
|
|
15
23
|
|
|
16
24
|
var _coreUtil = require("../../../utils/coreUtil");
|
|
@@ -19,8 +27,6 @@ var _commonUtil = require("../../../utils/commonUtil");
|
|
|
19
27
|
|
|
20
28
|
var _mobx = require("../../../mobx");
|
|
21
29
|
|
|
22
|
-
var _ToolBarModal = require("../../../core/Designer/ToolBarModal");
|
|
23
|
-
|
|
24
30
|
require("./index.less");
|
|
25
31
|
|
|
26
32
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -101,14 +107,6 @@ sizeStyle.whitelist = null;
|
|
|
101
107
|
|
|
102
108
|
_quill["default"].register(sizeStyle, true);
|
|
103
109
|
|
|
104
|
-
var fonts = _quill["default"]["import"]('formats/font');
|
|
105
|
-
|
|
106
|
-
fonts.whitelist = _ToolBarModal.fontFamilyList.map(function (item) {
|
|
107
|
-
return item.value;
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
_quill["default"].register(fonts, true);
|
|
111
|
-
|
|
112
110
|
var contentStyle = function contentStyle(content) {
|
|
113
111
|
return {
|
|
114
112
|
fontSize: window.magicDesign.device == 'pc' ? content.pcFontSize : content.fontSize,
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _antd = require("antd");
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
require("./index.less");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
17
|
+
|
|
18
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
19
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
20
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
21
|
+
__proto__: []
|
|
22
|
+
} instanceof Array && function (d, b) {
|
|
23
|
+
d.__proto__ = b;
|
|
24
|
+
} || function (d, b) {
|
|
25
|
+
for (var p in b) {
|
|
26
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
return _extendStatics(d, b);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
return function (d, b) {
|
|
34
|
+
_extendStatics(d, b);
|
|
35
|
+
|
|
36
|
+
function __() {
|
|
37
|
+
this.constructor = d;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
+
};
|
|
42
|
+
}();
|
|
43
|
+
/* eslint-disable react/no-danger */
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
var UnderlineSelect =
|
|
47
|
+
/** @class */
|
|
48
|
+
function (_super) {
|
|
49
|
+
__extends(UnderlineSelect, _super);
|
|
50
|
+
|
|
51
|
+
function UnderlineSelect() {
|
|
52
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53
|
+
|
|
54
|
+
_this.containerRef = /*#__PURE__*/_react["default"].createRef();
|
|
55
|
+
return _this;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
UnderlineSelect.prototype.render = function () {
|
|
59
|
+
var _this = this;
|
|
60
|
+
|
|
61
|
+
var _a = this.props.repeatCount,
|
|
62
|
+
repeatCount = _a === void 0 ? 50 : _a;
|
|
63
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
64
|
+
ref: this.containerRef,
|
|
65
|
+
className: "underline-select-wrap"
|
|
66
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, _extends({
|
|
67
|
+
getPopupContainer: function getPopupContainer() {
|
|
68
|
+
return _this.containerRef.current;
|
|
69
|
+
}
|
|
70
|
+
}, this.props), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
71
|
+
value: "solid"
|
|
72
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
73
|
+
className: "line-config line-solid",
|
|
74
|
+
dangerouslySetInnerHTML: {
|
|
75
|
+
__html: ' '.repeat(repeatCount)
|
|
76
|
+
}
|
|
77
|
+
})), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
78
|
+
value: "dashed"
|
|
79
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
80
|
+
className: "line-config dashed-line",
|
|
81
|
+
dangerouslySetInnerHTML: {
|
|
82
|
+
__html: ' '.repeat(repeatCount)
|
|
83
|
+
}
|
|
84
|
+
})), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
85
|
+
value: "double"
|
|
86
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
87
|
+
className: "line-config double-line",
|
|
88
|
+
dangerouslySetInnerHTML: {
|
|
89
|
+
__html: ' '.repeat(repeatCount)
|
|
90
|
+
}
|
|
91
|
+
})), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
92
|
+
value: "wavy"
|
|
93
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
94
|
+
className: "line-config wavy-line",
|
|
95
|
+
dangerouslySetInnerHTML: {
|
|
96
|
+
__html: ' '.repeat(repeatCount)
|
|
97
|
+
}
|
|
98
|
+
}))));
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
UnderlineSelect.defaultProps = {
|
|
102
|
+
repeatCount: 50
|
|
103
|
+
};
|
|
104
|
+
return UnderlineSelect;
|
|
105
|
+
}(_react["default"].Component);
|
|
106
|
+
|
|
107
|
+
var _default = UnderlineSelect;
|
|
108
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.underline-select-wrap {
|
|
2
|
+
.line-config {
|
|
3
|
+
text-decoration-line: line-through;
|
|
4
|
+
text-decoration-color: #000;
|
|
5
|
+
font-size: 14px;
|
|
6
|
+
font-weight: 600;
|
|
7
|
+
|
|
8
|
+
&.line-solid {
|
|
9
|
+
text-decoration-style: solid;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.dashed-line {
|
|
13
|
+
text-decoration-style: dashed;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.double-line {
|
|
17
|
+
text-decoration-style: double;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.wavy-line {
|
|
21
|
+
text-decoration-style: wavy;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
}
|
|
@@ -13,6 +13,8 @@ var _antd = require("antd");
|
|
|
13
13
|
|
|
14
14
|
var _TextLabel = _interopRequireDefault(require("./TextLabel"));
|
|
15
15
|
|
|
16
|
+
var _UnderlineSelect = _interopRequireDefault(require("./UnderlineSelect"));
|
|
17
|
+
|
|
16
18
|
var _coreUtil = require("../../../utils/coreUtil");
|
|
17
19
|
|
|
18
20
|
var _locale = require("../../../locale");
|
|
@@ -146,6 +148,7 @@ function (_super) {
|
|
|
146
148
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
147
149
|
|
|
148
150
|
_this.state = {};
|
|
151
|
+
_this.containerRef = /*#__PURE__*/_react["default"].createRef();
|
|
149
152
|
|
|
150
153
|
_this.onSizeTypeChange = function (v, obj) {
|
|
151
154
|
_extends(obj, sizeTypeMap[v]);
|
|
@@ -329,42 +332,17 @@ function (_super) {
|
|
|
329
332
|
value: data.underline.textDecorationColor
|
|
330
333
|
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
331
334
|
title: (0, _locale.i18n)('UNDERLINE_STYLE')
|
|
332
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
335
|
+
}, /*#__PURE__*/_react["default"].createElement(_UnderlineSelect["default"], {
|
|
333
336
|
onChange: function onChange(v) {
|
|
334
337
|
data.underline.textDecorationStyle = v;
|
|
335
338
|
|
|
336
339
|
_this.selfRender();
|
|
337
340
|
},
|
|
341
|
+
style: {
|
|
342
|
+
width: '100%'
|
|
343
|
+
},
|
|
338
344
|
value: data.underline.textDecorationStyle
|
|
339
|
-
},
|
|
340
|
-
value: "solid"
|
|
341
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
342
|
-
className: "line-config line-solid",
|
|
343
|
-
dangerouslySetInnerHTML: {
|
|
344
|
-
__html: ' '.repeat(50)
|
|
345
|
-
}
|
|
346
|
-
})), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
347
|
-
value: "dashed"
|
|
348
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
349
|
-
className: "line-config dashed-line",
|
|
350
|
-
dangerouslySetInnerHTML: {
|
|
351
|
-
__html: ' '.repeat(50)
|
|
352
|
-
}
|
|
353
|
-
})), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
354
|
-
value: "double"
|
|
355
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
356
|
-
className: "line-config double-line",
|
|
357
|
-
dangerouslySetInnerHTML: {
|
|
358
|
-
__html: ' '.repeat(50)
|
|
359
|
-
}
|
|
360
|
-
})), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
361
|
-
value: "wavy"
|
|
362
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
363
|
-
className: "line-config wavy-line",
|
|
364
|
-
dangerouslySetInnerHTML: {
|
|
365
|
-
__html: ' '.repeat(50)
|
|
366
|
-
}
|
|
367
|
-
}))))),
|
|
345
|
+
}))),
|
|
368
346
|
metaOption: data.underline,
|
|
369
347
|
toggleType: 'checkbox'
|
|
370
348
|
}];
|
|
@@ -380,6 +358,7 @@ function (_super) {
|
|
|
380
358
|
}
|
|
381
359
|
|
|
382
360
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
361
|
+
ref: this.containerRef,
|
|
383
362
|
className: "m-text-config"
|
|
384
363
|
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse // divider="dashed"
|
|
385
364
|
// headerSize="small"
|
|
@@ -4,29 +4,6 @@
|
|
|
4
4
|
padding: 0 12px;
|
|
5
5
|
background-color: #F5F6F7;
|
|
6
6
|
|
|
7
|
-
.line-config {
|
|
8
|
-
text-decoration-line: line-through;
|
|
9
|
-
text-decoration-color: #000;
|
|
10
|
-
font-size: 14px;
|
|
11
|
-
font-weight: 600;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.line-solid {
|
|
15
|
-
text-decoration-style: solid;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.dashed-line {
|
|
19
|
-
text-decoration-style: dashed;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.double-line {
|
|
23
|
-
text-decoration-style: double;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.wavy-line {
|
|
27
|
-
text-decoration-style: wavy;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
7
|
.edit-text-btn {
|
|
31
8
|
margin: 8px auto;
|
|
32
9
|
padding: 6px 16px;
|
package/es/utils/androidUtil.js
CHANGED
|
@@ -117,6 +117,12 @@ var sendToApp = function sendToApp(params) {
|
|
|
117
117
|
// 对接flutter版本
|
|
118
118
|
if (window.flutter_inject_js_bridge && window.flutter_inject_js_bridge.postMessage) {
|
|
119
119
|
window.flutter_inject_js_bridge.postMessage(JSON.stringify(params));
|
|
120
|
+
} // 对接Nuri App
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
if (window.WebViewJavascriptBridge) {
|
|
124
|
+
window.WebViewJavascriptBridge.callHandler('action', // 调用java的函数名字
|
|
125
|
+
params);
|
|
120
126
|
} // 对接mpaas版本
|
|
121
127
|
|
|
122
128
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "magic-box-iconfont"; /* Project id 3317752 */
|
|
3
|
-
src: url('magic-box-iconfont.woff2?t=
|
|
4
|
-
url('magic-box-iconfont.woff?t=
|
|
5
|
-
url('magic-box-iconfont.ttf?t=
|
|
3
|
+
src: url('magic-box-iconfont.woff2?t=1691480393512') format('woff2'),
|
|
4
|
+
url('magic-box-iconfont.woff?t=1691480393512') format('woff'),
|
|
5
|
+
url('magic-box-iconfont.ttf?t=1691480393512') format('truetype');
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.magic-box-iconfont {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "magic-box-iconfont"; /* Project id 3317752 */
|
|
3
|
-
src: url('magic-box-iconfont.woff2?t=
|
|
4
|
-
url('magic-box-iconfont.woff?t=
|
|
5
|
-
url('magic-box-iconfont.ttf?t=
|
|
3
|
+
src: url('magic-box-iconfont.woff2?t=1691480393512') format('woff2'),
|
|
4
|
+
url('magic-box-iconfont.woff?t=1691480393512') format('woff'),
|
|
5
|
+
url('magic-box-iconfont.ttf?t=1691480393512') format('truetype');
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.magic-box-iconfont {
|