Browse Source

fix: QASimpleEditor -> SimpleEditor

Roxas 4 years ago
parent
commit
1e4dba1eec

+ 10
- 46653
eslib/BraftEditor/index.js
File diff suppressed because it is too large
View File


+ 1
- 1
eslib/BraftEditor/index.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
eslib/ConsumeListView/index.js View File

2
 import React, { Component } from 'react';
2
 import React, { Component } from 'react';
3
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
3
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
4
 import { _ as _defineProperty } from '../defineProperty-18999f8e.js';
4
 import { _ as _defineProperty } from '../defineProperty-18999f8e.js';
5
-import { c as classnames } from '../index-b8d80d39.js';
5
+import { c as classnames } from '../index-e3cf212a.js';
6
 import { a as addImageProcess } from '../utils-6b513b37.js';
6
 import { a as addImageProcess } from '../utils-6b513b37.js';
7
 
7
 
8
 var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABvklEQVQ4T62UTygEcRTHv29MIsqfk6OL5CYH5aKd9WfjwqxEnBzExYWTCEWJJGove5H8OTA1uwdCrOWAi83ZwUXJiSj5u+Z5s0msmd2SX81h+r33ee/7fW+G8E+H/srhqEcFCjphve1RzcaVK4j3mmoB5YxqQzdOxTji1wE2QZglb2jAEcT7/g4wr0rQugS1OYJ26nOg5nYDr4ZrR7yrl0FBAKBlqjEX3eRLwSXAmidvOJbSI47oF9LVKaCOkNc4/w7kSPOoFBqDwjpp4XA60LUkF8nzbsuERQt4ejtGdsYwiAYTYIV6STOD6UB3EpqXJC0u7zKxz0Mk3Zrj7lOLerJg5T9K+2lWhALiYx8xS9NbDZnUuPXy0wN/hYw3lnbPiNfE7HaSfTAloRqKWkya8WAnMrdmIBqfBqM/BehJAo+gKHMibdMGzUhqKUiZAHGVXJYLwPdpshPnRDRM4fl5+7uKL/0c1WXdOSie5Dh3wZcyoR7SQttO9z+M5MOWEsStFQmsTAoOwVK7qM64d5P6ayKJj9EqHBa5Q4kx2/ujqR1Exnsq493HH2muFN98oNtJ0g7s3Ul5/vwbSab+G+gDqFybE11pYkYAAAAASUVORK5CYII=";
8
 var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABvklEQVQ4T62UTygEcRTHv29MIsqfk6OL5CYH5aKd9WfjwqxEnBzExYWTCEWJJGove5H8OTA1uwdCrOWAi83ZwUXJiSj5u+Z5s0msmd2SX81h+r33ee/7fW+G8E+H/srhqEcFCjphve1RzcaVK4j3mmoB5YxqQzdOxTji1wE2QZglb2jAEcT7/g4wr0rQugS1OYJ26nOg5nYDr4ZrR7yrl0FBAKBlqjEX3eRLwSXAmidvOJbSI47oF9LVKaCOkNc4/w7kSPOoFBqDwjpp4XA60LUkF8nzbsuERQt4ejtGdsYwiAYTYIV6STOD6UB3EpqXJC0u7zKxz0Mk3Zrj7lOLerJg5T9K+2lWhALiYx8xS9NbDZnUuPXy0wN/hYw3lnbPiNfE7HaSfTAloRqKWkya8WAnMrdmIBqfBqM/BehJAo+gKHMibdMGzUhqKUiZAHGVXJYLwPdpshPnRDRM4fl5+7uKL/0c1WXdOSie5Dh3wZcyoR7SQttO9z+M5MOWEsStFQmsTAoOwVK7qM64d5P6ayKJj9EqHBa5Q4kx2/ujqR1Exnsq493HH2muFN98oNtJ0g7s3Ul5/vwbSab+G+gDqFybE11pYkYAAAAASUVORK5CYII=";

+ 3
- 3
eslib/Editor/index.d.ts View File

9
     text?: string;
9
     text?: string;
10
     render?: (i: ToolListItem, innerIcon: any, innerText: any, divWrapStyle: React.CSSProperties | undefined) => any;
10
     render?: (i: ToolListItem, innerIcon: any, innerText: any, divWrapStyle: React.CSSProperties | undefined) => any;
11
 }
11
 }
12
-interface QASimpleEditorProps extends BaseEditorProps {
12
+interface SimpleEditorProps extends BaseEditorProps {
13
     toolAlign?: "inner" | "bottom";
13
     toolAlign?: "inner" | "bottom";
14
     toolList?: Array<ToolListItem>;
14
     toolList?: Array<ToolListItem>;
15
     injectControlsToolBar?: any;
15
     injectControlsToolBar?: any;
16
     toolBarContainerStyle?: any;
16
     toolBarContainerStyle?: any;
17
     appendToolBtn?: any;
17
     appendToolBtn?: any;
18
 }
18
 }
19
-declare const QASimpleEditor: (props: QASimpleEditorProps) => JSX.Element;
19
+declare const SimpleEditor: (props: SimpleEditorProps) => JSX.Element;
20
 export { default as BraftEditor } from "../BraftEditor/index";
20
 export { default as BraftEditor } from "../BraftEditor/index";
21
-export { QASimpleEditor };
21
+export { SimpleEditor };

+ 10
- 7
eslib/Editor/index.js View File

1
 import React from 'react';
1
 import React from 'react';
2
-import 'react-dom';
3
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
2
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
4
 import { _ as _defineProperty } from '../defineProperty-18999f8e.js';
3
 import { _ as _defineProperty } from '../defineProperty-18999f8e.js';
5
-import '../index-b8d80d39.js';
4
+import '../index-e3cf212a.js';
6
 import '../slicedToArray-4cd9e6d3.js';
5
 import '../slicedToArray-4cd9e6d3.js';
6
+import 'braft-editor';
7
 import { BarftEditorPage } from '../BraftEditor/index.js';
7
 import { BarftEditorPage } from '../BraftEditor/index.js';
8
 export { default as BraftEditor } from '../BraftEditor/index.js';
8
 export { default as BraftEditor } from '../BraftEditor/index.js';
9
-import 'react-dom/server';
9
+import 'braft-editor/dist/index.css';
10
+import 'braft-extensions/dist/emoticon.css';
11
+import 'braft-extensions/dist/emoticon';
12
+import 'braft-extensions/dist/max-length';
10
 
13
 
11
 function ownKeys(object, enumerableOnly) {
14
 function ownKeys(object, enumerableOnly) {
12
   var keys = Object.keys(object);
15
   var keys = Object.keys(object);
100
   }));
103
   }));
101
 };
104
 };
102
 
105
 
103
-var css = ".index_bottomToolBarWrapper__3mYXO {\n  display: flex;\n}\n";
106
+var css = ".index_bottomToolBarWrapper__DzhzC {\n  display: flex;\n}\n";
104
 var styles = {
107
 var styles = {
105
-  "bottomToolBarWrapper": "index_bottomToolBarWrapper__3mYXO"
108
+  "bottomToolBarWrapper": "index_bottomToolBarWrapper__DzhzC"
106
 };
109
 };
107
 styleInject(css);
110
 styleInject(css);
108
 
111
 
109
-var QASimpleEditor = function QASimpleEditor(props) {
112
+var SimpleEditor = function SimpleEditor(props) {
110
   var value = props.value,
113
   var value = props.value,
111
       onChange = props.onChange,
114
       onChange = props.onChange,
112
       _props$toolAlign = props.toolAlign,
115
       _props$toolAlign = props.toolAlign,
152
   }, injectControlsToolBar))), appendToolBtn));
155
   }, injectControlsToolBar))), appendToolBtn));
153
 };
156
 };
154
 
157
 
155
-export { QASimpleEditor };
158
+export { SimpleEditor };
156
 //# sourceMappingURL=index.js.map
159
 //# sourceMappingURL=index.js.map

+ 1
- 1
eslib/Editor/index.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
eslib/PayPlatformOptions/index.js
File diff suppressed because it is too large
View File


+ 1
- 1
eslib/Payment/index.js View File

4
 import '../Modal/index.js';
4
 import '../Modal/index.js';
5
 import '../style-inject.es-1f59c1d0.js';
5
 import '../style-inject.es-1f59c1d0.js';
6
 import '../defineProperty-18999f8e.js';
6
 import '../defineProperty-18999f8e.js';
7
-import '../index-b8d80d39.js';
7
+import '../index-e3cf212a.js';
8
 import '../utils-6b513b37.js';
8
 import '../utils-6b513b37.js';
9
 export { default as ConsumeListView } from '../ConsumeListView/index.js';
9
 export { default as ConsumeListView } from '../ConsumeListView/index.js';
10
 export { default as PayPlatformOptions } from '../PayPlatformOptions/index.js';
10
 export { default as PayPlatformOptions } from '../PayPlatformOptions/index.js';

+ 1
- 1
eslib/PriceOptions/index.js View File

1
 import React, { useState } from 'react';
1
 import React, { useState } from 'react';
2
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
2
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
3
 import { _ as _defineProperty } from '../defineProperty-18999f8e.js';
3
 import { _ as _defineProperty } from '../defineProperty-18999f8e.js';
4
-import { c as classnames } from '../index-b8d80d39.js';
4
+import { c as classnames } from '../index-e3cf212a.js';
5
 import { e as exportStyleSizeClass } from '../utils-6b513b37.js';
5
 import { e as exportStyleSizeClass } from '../utils-6b513b37.js';
6
 import { _ as _slicedToArray } from '../slicedToArray-4cd9e6d3.js';
6
 import { _ as _slicedToArray } from '../slicedToArray-4cd9e6d3.js';
7
 import { Input } from 'antd';
7
 import { Input } from 'antd';

+ 1
- 1
eslib/WaitPayInfoView/index.js View File

1
 import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _getPrototypeOf, e as _createClass } from '../inherits-6cb67931.js';
1
 import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _getPrototypeOf, e as _createClass } from '../inherits-6cb67931.js';
2
 import React, { Component } from 'react';
2
 import React, { Component } from 'react';
3
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
3
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
4
-import { c as classnames } from '../index-b8d80d39.js';
4
+import { c as classnames } from '../index-e3cf212a.js';
5
 
5
 
6
 var css = ".WaitPayInfoView_waitingContainer__3pU2F {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n";
6
 var css = ".WaitPayInfoView_waitingContainer__3pU2F {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n";
7
 var styles = {
7
 var styles = {

+ 1
- 1
eslib/WantedPublishModal/index.js View File

4
 import Modal from '../Modal/index.js';
4
 import Modal from '../Modal/index.js';
5
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
5
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
6
 import '../defineProperty-18999f8e.js';
6
 import '../defineProperty-18999f8e.js';
7
-import '../index-b8d80d39.js';
7
+import '../index-e3cf212a.js';
8
 import 'antd';
8
 import 'antd';
9
 import WantedPublishView from '../WantedPublishView/index.js';
9
 import WantedPublishView from '../WantedPublishView/index.js';
10
 import { W as WatnedPublishBase } from '../WantedPublish-b91e67a7.js';
10
 import { W as WatnedPublishBase } from '../WantedPublish-b91e67a7.js';

+ 1
- 1
eslib/WantedPublishPopover/index.js View File

4
 import '../Modal/index.js';
4
 import '../Modal/index.js';
5
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
5
 import { s as styleInject } from '../style-inject.es-1f59c1d0.js';
6
 import '../defineProperty-18999f8e.js';
6
 import '../defineProperty-18999f8e.js';
7
-import '../index-b8d80d39.js';
7
+import '../index-e3cf212a.js';
8
 import { Popover } from 'antd';
8
 import { Popover } from 'antd';
9
 import WantedPublishView from '../WantedPublishView/index.js';
9
 import WantedPublishView from '../WantedPublishView/index.js';
10
 import { W as WatnedPublishBase } from '../WantedPublish-b91e67a7.js';
10
 import { W as WatnedPublishBase } from '../WantedPublish-b91e67a7.js';

+ 1
- 1
eslib/WantedPublishView/index.js
File diff suppressed because it is too large
View File


eslib/index-b8d80d39.d.ts → eslib/index-e3cf212a.d.ts View File


lib/index-1143667e.js → eslib/index-e3cf212a.js View File

1
-'use strict';
2
-
3
-var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
-
5
-function unwrapExports (x) {
6
-	return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
7
-}
8
-
9
 function createCommonjsModule(fn, module) {
1
 function createCommonjsModule(fn, module) {
10
 	return module = { exports: {} }, fn(module, module.exports), module.exports;
2
 	return module = { exports: {} }, fn(module, module.exports), module.exports;
11
 }
3
 }
59
 }());
51
 }());
60
 });
52
 });
61
 
53
 
62
-exports.classnames = classnames;
63
-exports.commonjsGlobal = commonjsGlobal;
64
-exports.createCommonjsModule = createCommonjsModule;
65
-exports.unwrapExports = unwrapExports;
66
-//# sourceMappingURL=index-1143667e.js.map
54
+export { classnames as c };
55
+//# sourceMappingURL=index-e3cf212a.js.map

lib/index-1143667e.js.map → eslib/index-e3cf212a.js.map View File

1
-{"version":3,"file":"index-b8d80d39.js","sources":["../node_modules/classnames/index.js"],"sourcesContent":["/*!\n  Copyright (c) 2017 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,YAAY;AAEb;AACA,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc,CAAC;AAChC;AACA,CAAC,SAAS,UAAU,IAAI;AACxB,EAAE,IAAI,OAAO,GAAG,EAAE,CAAC;AACnB;AACA,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC7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!\n  Copyright (c) 2017 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":[],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,YAAY;AAEb;AACA,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc,CAAC;AAChC;AACA,CAAC,SAAS,UAAU,IAAI;AACxB,EAAE,IAAI,OAAO,GAAG,EAAE,CAAC;AACnB;AACA,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC7C,GAAG,IAAI,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAC1B,GAAG,IAAI,CAAC,GAAG,EAAE,SAAS;AACtB;AACA,GAAG,IAAI,OAAO,GAAG,OAAO,GAAG,CAAC;AAC5B;AACA,GAAG,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,QAAQ,EAAE;AACrD,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACtB,IAAI,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,EAAE;AAChD,IAAI,IAAI,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;AAC5C,IAAI,IAAI,KAAK,EAAE;AACf,KAAK,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACzB,KAAK;AACL,IAAI,MAAM,IAAI,OAAO,KAAK,QAAQ,EAAE;AACpC,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,EAAE;AACzB,KAAK,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,GAAG,CAAC,GAAG,CAAC,EAAE;AAC5C,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACxB,MAAM;AACN,KAAK;AACL,IAAI;AACJ,GAAG;AACH;AACA,EAAE,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3B,EAAE;AACF;AACA,CAAC,KAAqC,MAAM,CAAC,OAAO,EAAE;AACtD,EAAE,UAAU,CAAC,OAAO,GAAG,UAAU,CAAC;AAClC,EAAE,cAAc,GAAG,UAAU,CAAC;AAC9B,EAAE,MAKM;AACR,EAAE,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;AACjC,EAAE;AACF,CAAC,EAAE;;;;;"}

+ 1
- 1
eslib/index.js View File

4
 export { default as Modal, ModalCMD } from './Modal/index.js';
4
 export { default as Modal, ModalCMD } from './Modal/index.js';
5
 import './style-inject.es-1f59c1d0.js';
5
 import './style-inject.es-1f59c1d0.js';
6
 import './defineProperty-18999f8e.js';
6
 import './defineProperty-18999f8e.js';
7
-import './index-b8d80d39.js';
7
+import './index-e3cf212a.js';
8
 import './utils-6b513b37.js';
8
 import './utils-6b513b37.js';
9
 export { default as ConsumeListView } from './ConsumeListView/index.js';
9
 export { default as ConsumeListView } from './ConsumeListView/index.js';
10
 export { default as PayPlatformOptions } from './PayPlatformOptions/index.js';
10
 export { default as PayPlatformOptions } from './PayPlatformOptions/index.js';

+ 9
- 46652
lib/BraftEditor/index.js
File diff suppressed because it is too large
View File


+ 1
- 1
lib/BraftEditor/index.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
lib/ConsumeListView/index.js View File

9
 var React__default = _interopDefault(React);
9
 var React__default = _interopDefault(React);
10
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
10
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
11
 var defineProperty = require('../defineProperty-ba7cd53d.js');
11
 var defineProperty = require('../defineProperty-ba7cd53d.js');
12
-var index = require('../index-1143667e.js');
12
+var index = require('../index-4c407188.js');
13
 var utils = require('../utils-b800dc99.js');
13
 var utils = require('../utils-b800dc99.js');
14
 
14
 
15
 var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABvklEQVQ4T62UTygEcRTHv29MIsqfk6OL5CYH5aKd9WfjwqxEnBzExYWTCEWJJGove5H8OTA1uwdCrOWAi83ZwUXJiSj5u+Z5s0msmd2SX81h+r33ee/7fW+G8E+H/srhqEcFCjphve1RzcaVK4j3mmoB5YxqQzdOxTji1wE2QZglb2jAEcT7/g4wr0rQugS1OYJ26nOg5nYDr4ZrR7yrl0FBAKBlqjEX3eRLwSXAmidvOJbSI47oF9LVKaCOkNc4/w7kSPOoFBqDwjpp4XA60LUkF8nzbsuERQt4ejtGdsYwiAYTYIV6STOD6UB3EpqXJC0u7zKxz0Mk3Zrj7lOLerJg5T9K+2lWhALiYx8xS9NbDZnUuPXy0wN/hYw3lnbPiNfE7HaSfTAloRqKWkya8WAnMrdmIBqfBqM/BehJAo+gKHMibdMGzUhqKUiZAHGVXJYLwPdpshPnRDRM4fl5+7uKL/0c1WXdOSie5Dh3wZcyoR7SQttO9z+M5MOWEsStFQmsTAoOwVK7qM64d5P6ayKJj9EqHBa5Q4kx2/ujqR1Exnsq493HH2muFN98oNtJ0g7s3Ul5/vwbSab+G+gDqFybE11pYkYAAAAASUVORK5CYII=";
15
 var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABvklEQVQ4T62UTygEcRTHv29MIsqfk6OL5CYH5aKd9WfjwqxEnBzExYWTCEWJJGove5H8OTA1uwdCrOWAi83ZwUXJiSj5u+Z5s0msmd2SX81h+r33ee/7fW+G8E+H/srhqEcFCjphve1RzcaVK4j3mmoB5YxqQzdOxTji1wE2QZglb2jAEcT7/g4wr0rQugS1OYJ26nOg5nYDr4ZrR7yrl0FBAKBlqjEX3eRLwSXAmidvOJbSI47oF9LVKaCOkNc4/w7kSPOoFBqDwjpp4XA60LUkF8nzbsuERQt4ejtGdsYwiAYTYIV6STOD6UB3EpqXJC0u7zKxz0Mk3Zrj7lOLerJg5T9K+2lWhALiYx8xS9NbDZnUuPXy0wN/hYw3lnbPiNfE7HaSfTAloRqKWkya8WAnMrdmIBqfBqM/BehJAo+gKHMibdMGzUhqKUiZAHGVXJYLwPdpshPnRDRM4fl5+7uKL/0c1WXdOSie5Dh3wZcyoR7SQttO9z+M5MOWEsStFQmsTAoOwVK7qM64d5P6ayKJj9EqHBa5Q4kx2/ujqR1Exnsq493HH2muFN98oNtJ0g7s3Ul5/vwbSab+G+gDqFybE11pYkYAAAAASUVORK5CYII=";

+ 3
- 3
lib/Editor/index.d.ts View File

9
     text?: string;
9
     text?: string;
10
     render?: (i: ToolListItem, innerIcon: any, innerText: any, divWrapStyle: React.CSSProperties | undefined) => any;
10
     render?: (i: ToolListItem, innerIcon: any, innerText: any, divWrapStyle: React.CSSProperties | undefined) => any;
11
 }
11
 }
12
-interface QASimpleEditorProps extends BaseEditorProps {
12
+interface SimpleEditorProps extends BaseEditorProps {
13
     toolAlign?: "inner" | "bottom";
13
     toolAlign?: "inner" | "bottom";
14
     toolList?: Array<ToolListItem>;
14
     toolList?: Array<ToolListItem>;
15
     injectControlsToolBar?: any;
15
     injectControlsToolBar?: any;
16
     toolBarContainerStyle?: any;
16
     toolBarContainerStyle?: any;
17
     appendToolBtn?: any;
17
     appendToolBtn?: any;
18
 }
18
 }
19
-declare const QASimpleEditor: (props: QASimpleEditorProps) => JSX.Element;
19
+declare const SimpleEditor: (props: SimpleEditorProps) => JSX.Element;
20
 export { default as BraftEditor } from "../BraftEditor/index";
20
 export { default as BraftEditor } from "../BraftEditor/index";
21
-export { QASimpleEditor };
21
+export { SimpleEditor };

+ 14
- 11
lib/Editor/index.js View File

6
 
6
 
7
 var React = require('react');
7
 var React = require('react');
8
 var React__default = _interopDefault(React);
8
 var React__default = _interopDefault(React);
9
-require('react-dom');
10
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
9
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
11
 var defineProperty = require('../defineProperty-ba7cd53d.js');
10
 var defineProperty = require('../defineProperty-ba7cd53d.js');
12
-require('../index-1143667e.js');
11
+require('../index-4c407188.js');
13
 require('../slicedToArray-172f4624.js');
12
 require('../slicedToArray-172f4624.js');
14
-var BraftEditor = require('../BraftEditor/index.js');
15
-require('react-dom/server');
13
+require('braft-editor');
14
+var BraftEditor$1 = require('../BraftEditor/index.js');
15
+require('braft-editor/dist/index.css');
16
+require('braft-extensions/dist/emoticon.css');
17
+require('braft-extensions/dist/emoticon');
18
+require('braft-extensions/dist/max-length');
16
 
19
 
17
 function ownKeys(object, enumerableOnly) {
20
 function ownKeys(object, enumerableOnly) {
18
   var keys = Object.keys(object);
21
   var keys = Object.keys(object);
106
   }));
109
   }));
107
 };
110
 };
108
 
111
 
109
-var css = ".index_bottomToolBarWrapper__3mYXO {\n  display: flex;\n}\n";
112
+var css = ".index_bottomToolBarWrapper__DzhzC {\n  display: flex;\n}\n";
110
 var styles = {
113
 var styles = {
111
-  "bottomToolBarWrapper": "index_bottomToolBarWrapper__3mYXO"
114
+  "bottomToolBarWrapper": "index_bottomToolBarWrapper__DzhzC"
112
 };
115
 };
113
 styleInject_es.styleInject(css);
116
 styleInject_es.styleInject(css);
114
 
117
 
115
-var QASimpleEditor = function QASimpleEditor(props) {
118
+var SimpleEditor = function SimpleEditor(props) {
116
   var value = props.value,
119
   var value = props.value,
117
       onChange = props.onChange,
120
       onChange = props.onChange,
118
       _props$toolAlign = props.toolAlign,
121
       _props$toolAlign = props.toolAlign,
127
       appendToolBtn = _props$appendToolBtn === void 0 ? null : _props$appendToolBtn;
130
       appendToolBtn = _props$appendToolBtn === void 0 ? null : _props$appendToolBtn;
128
 
131
 
129
   if (toolAlign === 'inner') {
132
   if (toolAlign === 'inner') {
130
-    return React__default.createElement(BraftEditor.BarftEditorPage, {
133
+    return React__default.createElement(BraftEditor$1.BarftEditorPage, {
131
       value: value,
134
       value: value,
132
       onChange: onChange,
135
       onChange: onChange,
133
       controls: [],
136
       controls: [],
143
     });
146
     });
144
   }
147
   }
145
 
148
 
146
-  return React__default.createElement("div", null, React__default.createElement(BraftEditor.BarftEditorPage, {
149
+  return React__default.createElement("div", null, React__default.createElement(BraftEditor$1.BarftEditorPage, {
147
     value: value,
150
     value: value,
148
     onChange: onChange,
151
     onChange: onChange,
149
     controls: []
152
     controls: []
158
   }, injectControlsToolBar))), appendToolBtn));
161
   }, injectControlsToolBar))), appendToolBtn));
159
 };
162
 };
160
 
163
 
161
-exports.BraftEditor = BraftEditor.default;
162
-exports.QASimpleEditor = QASimpleEditor;
164
+exports.BraftEditor = BraftEditor$1.default;
165
+exports.SimpleEditor = SimpleEditor;
163
 //# sourceMappingURL=index.js.map
166
 //# sourceMappingURL=index.js.map

+ 1
- 1
lib/Editor/index.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
lib/PayPlatformOptions/index.js
File diff suppressed because it is too large
View File


+ 1
- 1
lib/Payment/index.js View File

8
 require('../Modal/index.js');
8
 require('../Modal/index.js');
9
 require('../style-inject.es-dcee06b6.js');
9
 require('../style-inject.es-dcee06b6.js');
10
 require('../defineProperty-ba7cd53d.js');
10
 require('../defineProperty-ba7cd53d.js');
11
-require('../index-1143667e.js');
11
+require('../index-4c407188.js');
12
 require('../utils-b800dc99.js');
12
 require('../utils-b800dc99.js');
13
 var ConsumeListView = require('../ConsumeListView/index.js');
13
 var ConsumeListView = require('../ConsumeListView/index.js');
14
 var PayPlatformOptions = require('../PayPlatformOptions/index.js');
14
 var PayPlatformOptions = require('../PayPlatformOptions/index.js');

+ 1
- 1
lib/PriceOptions/index.js View File

8
 var React__default = _interopDefault(React);
8
 var React__default = _interopDefault(React);
9
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
9
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
10
 var defineProperty = require('../defineProperty-ba7cd53d.js');
10
 var defineProperty = require('../defineProperty-ba7cd53d.js');
11
-var index = require('../index-1143667e.js');
11
+var index = require('../index-4c407188.js');
12
 var utils = require('../utils-b800dc99.js');
12
 var utils = require('../utils-b800dc99.js');
13
 var slicedToArray = require('../slicedToArray-172f4624.js');
13
 var slicedToArray = require('../slicedToArray-172f4624.js');
14
 var antd = require('antd');
14
 var antd = require('antd');

+ 1
- 1
lib/WaitPayInfoView/index.js View File

8
 var React = require('react');
8
 var React = require('react');
9
 var React__default = _interopDefault(React);
9
 var React__default = _interopDefault(React);
10
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
10
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
11
-var index = require('../index-1143667e.js');
11
+var index = require('../index-4c407188.js');
12
 
12
 
13
 var css = ".WaitPayInfoView_waitingContainer__3pU2F {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n";
13
 var css = ".WaitPayInfoView_waitingContainer__3pU2F {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n}\n";
14
 var styles = {
14
 var styles = {

+ 1
- 1
lib/WantedPublishModal/index.js View File

11
 var Modal = require('../Modal/index.js');
11
 var Modal = require('../Modal/index.js');
12
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
12
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
13
 require('../defineProperty-ba7cd53d.js');
13
 require('../defineProperty-ba7cd53d.js');
14
-require('../index-1143667e.js');
14
+require('../index-4c407188.js');
15
 require('antd');
15
 require('antd');
16
 var WantedPublishView = require('../WantedPublishView/index.js');
16
 var WantedPublishView = require('../WantedPublishView/index.js');
17
 var WantedPublish = require('../WantedPublish-761aab8e.js');
17
 var WantedPublish = require('../WantedPublish-761aab8e.js');

+ 1
- 1
lib/WantedPublishPopover/index.js View File

11
 require('../Modal/index.js');
11
 require('../Modal/index.js');
12
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
12
 var styleInject_es = require('../style-inject.es-dcee06b6.js');
13
 require('../defineProperty-ba7cd53d.js');
13
 require('../defineProperty-ba7cd53d.js');
14
-require('../index-1143667e.js');
14
+require('../index-4c407188.js');
15
 var antd = require('antd');
15
 var antd = require('antd');
16
 var WantedPublishView = require('../WantedPublishView/index.js');
16
 var WantedPublishView = require('../WantedPublishView/index.js');
17
 var WantedPublish = require('../WantedPublish-761aab8e.js');
17
 var WantedPublish = require('../WantedPublish-761aab8e.js');

+ 1
- 1
lib/WantedPublishView/index.js
File diff suppressed because it is too large
View File


lib/index-1143667e.d.ts → lib/index-4c407188.d.ts View File


eslib/index-b8d80d39.js → lib/index-4c407188.js View File

1
-var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
-
3
-function unwrapExports (x) {
4
-	return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
-}
1
+'use strict';
6
 
2
 
7
 function createCommonjsModule(fn, module) {
3
 function createCommonjsModule(fn, module) {
8
 	return module = { exports: {} }, fn(module, module.exports), module.exports;
4
 	return module = { exports: {} }, fn(module, module.exports), module.exports;
57
 }());
53
 }());
58
 });
54
 });
59
 
55
 
60
-export { createCommonjsModule as a, commonjsGlobal as b, classnames as c, unwrapExports as u };
61
-//# sourceMappingURL=index-b8d80d39.js.map
56
+exports.classnames = classnames;
57
+//# sourceMappingURL=index-4c407188.js.map

eslib/index-b8d80d39.js.map → lib/index-4c407188.js.map View File

1
-{"version":3,"file":"index-b8d80d39.js","sources":["../node_modules/classnames/index.js"],"sourcesContent":["/*!\n  Copyright (c) 2017 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n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AACJ,GAAG;AACH;AACA,EAAE,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3B,EAAE;AACF;AACA,CAAC,KAAqC,MAAM,CAAC,OAAO,EAAE;AACtD,EAAE,UAAU,CAAC,OAAO,GAAG,UAAU,CAAC;AAClC,EAAE,cAAc,GAAG,UAAU,CAAC;AAC9B,EAAE,MAKM;AACR,EAAE,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;AACjC,EAAE;AACF,CAAC,EAAE;;;;;"}
1
+{"version":3,"file":"index-e3cf212a.js","sources":["../node_modules/classnames/index.js"],"sourcesContent":["/*!\n  Copyright (c) 2017 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\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O,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3B,EAAE;AACF;AACA,CAAC,KAAqC,MAAM,CAAC,OAAO,EAAE;AACtD,EAAE,UAAU,CAAC,OAAO,GAAG,UAAU,CAAC;AAClC,EAAE,cAAc,GAAG,UAAU,CAAC;AAC9B,EAAE,MAKM;AACR,EAAE,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;AACjC,EAAE;AACF,CAAC,EAAE;;;;;"}

+ 1
- 1
lib/index.js View File

8
 var Modal = require('./Modal/index.js');
8
 var Modal = require('./Modal/index.js');
9
 require('./style-inject.es-dcee06b6.js');
9
 require('./style-inject.es-dcee06b6.js');
10
 require('./defineProperty-ba7cd53d.js');
10
 require('./defineProperty-ba7cd53d.js');
11
-require('./index-1143667e.js');
11
+require('./index-4c407188.js');
12
 require('./utils-b800dc99.js');
12
 require('./utils-b800dc99.js');
13
 var ConsumeListView = require('./ConsumeListView/index.js');
13
 var ConsumeListView = require('./ConsumeListView/index.js');
14
 var PayPlatformOptions = require('./PayPlatformOptions/index.js');
14
 var PayPlatformOptions = require('./PayPlatformOptions/index.js');

+ 4
- 1
package.json View File

119
   "peerDependencies": {
119
   "peerDependencies": {
120
     "antd": "3.19.3",
120
     "antd": "3.19.3",
121
     "react": "^16.12.0",
121
     "react": "^16.12.0",
122
-    "react-dom": "^16.12.0"
122
+    "react-dom": "^16.12.0",
123
+    "braft-editor": "^2.3.8",
124
+    "braft-extensions": "^0.0.20",
125
+    "braft-utils": "^3.0.12"
123
   }
126
   }
124
 }
127
 }

src/components/Editor/QAEditor/SimpleEditor.tsx → src/components/Editor/ImgTxtEditor/SimpleEditor.tsx View File

4
 import { ContentUtils } from "braft-utils";
4
 import { ContentUtils } from "braft-utils";
5
 import styles from './index.less';
5
 import styles from './index.less';
6
 
6
 
7
-interface QASimpleEditorProps extends BaseEditorProps {
7
+interface SimpleEditorProps extends BaseEditorProps {
8
   toolAlign?: 'inner' | 'bottom';
8
   toolAlign?: 'inner' | 'bottom';
9
   toolList?: Array<ToolListItem>;
9
   toolList?: Array<ToolListItem>;
10
   injectControlsToolBar?: any;
10
   injectControlsToolBar?: any;
12
   appendToolBtn?: any;
12
   appendToolBtn?: any;
13
 }
13
 }
14
 
14
 
15
-const QASimpleEditor = (props: QASimpleEditorProps) => {
15
+const SimpleEditor = (props: SimpleEditorProps) => {
16
   const {
16
   const {
17
     value,
17
     value,
18
     onChange, 
18
     onChange, 
63
   );
63
   );
64
 }
64
 }
65
 
65
 
66
-export default QASimpleEditor;
66
+export default SimpleEditor;

src/components/Editor/QAEditor/index.less → src/components/Editor/ImgTxtEditor/index.less View File


+ 1
- 1
src/components/Editor/index.ts View File

1
 export { default as BraftEditor } from './BraftEditor';
1
 export { default as BraftEditor } from './BraftEditor';
2
-export { default as QASimpleEditor } from './QAEditor/SimpleEditor';
2
+export { default as SimpleEditor } from './ImgTxtEditor/SimpleEditor';

+ 2
- 1
stats.html
File diff suppressed because it is too large
View File


+ 2
- 2
stories/Editor.stories.tsx View File

6
 import { addReadme } from "storybook-readme";
6
 import { addReadme } from "storybook-readme";
7
 
7
 
8
 import { BarftEditorPage } from "@components/Editor/BraftEditor";
8
 import { BarftEditorPage } from "@components/Editor/BraftEditor";
9
-import SimpleEditor from "@components/Editor/QAEditor/SimpleEditor";
9
+import SimpleEditor from "@/components/Editor/ImgTxtEditor/SimpleEditor";
10
 import { ControlsToolBar } from "@components/Editor/CommonTool/ControlsToolBar";
10
 import { ControlsToolBar } from "@components/Editor/CommonTool/ControlsToolBar";
11
 import { ContentUtils } from "braft-utils";
11
 import { ContentUtils } from "braft-utils";
12
 
12
 
110
 );
110
 );
111
 
111
 
112
 stories.add(
112
 stories.add(
113
-  "QASimpleEditor",
113
+  "SimpleEditor",
114
   () => {
114
   () => {
115
     const [editorState, setEditorState] = useState(
115
     const [editorState, setEditorState] = useState(
116
       BraftEditor.createEditorState("<p>Hello <b>World!</b></p>")
116
       BraftEditor.createEditorState("<p>Hello <b>World!</b></p>")