@titaui/pc 1.16.80-beta.2 → 1.16.81
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/lib/components/rich-editor/react/reactNodeView.js +24 -23
- package/lib/components/rich-editor/utils/event.js +5 -4
- package/lib/components/version-change-modal/constant.js +1 -1
- package/lib/pages/group-management/components/openData/index.js +5 -4
- package/lib/pages/group-management/groupInterface.js +5 -4
- package/package.json +1 -1
|
@@ -187,29 +187,30 @@ var ReactNodeView = /*#__PURE__*/function () {
|
|
|
187
187
|
}
|
|
188
188
|
}]);
|
|
189
189
|
return ReactNodeView;
|
|
190
|
-
}();
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
190
|
+
}();
|
|
191
|
+
/**
|
|
192
|
+
* A ReactNodeView that handles React components sensitive
|
|
193
|
+
* to selection changes.
|
|
194
|
+
*
|
|
195
|
+
* If the selection changes, it will attempt to re-render the
|
|
196
|
+
* React component. Otherwise it does nothing.
|
|
197
|
+
*
|
|
198
|
+
* You can subclass `viewShouldUpdate` to include other
|
|
199
|
+
* props that your component might want to consider before
|
|
200
|
+
* entering the React lifecycle. These are usually props you
|
|
201
|
+
* compare in `shouldComponentUpdate`.
|
|
202
|
+
*
|
|
203
|
+
* An example:
|
|
204
|
+
*
|
|
205
|
+
* ```
|
|
206
|
+
* viewShouldUpdate(nextNode) {
|
|
207
|
+
* if (nextNode.attrs !== this.node.attrs) {
|
|
208
|
+
* return true;
|
|
209
|
+
* }
|
|
210
|
+
*
|
|
211
|
+
* return super.viewShouldUpdate(nextNode);
|
|
212
|
+
* }```
|
|
213
|
+
*/
|
|
213
214
|
exports["default"] = ReactNodeView;
|
|
214
215
|
var _initialiseProps = function _initialiseProps() {
|
|
215
216
|
var _this3 = this;
|
|
@@ -48,10 +48,11 @@ var EventDispatcher = /*#__PURE__*/function () {
|
|
|
48
48
|
}
|
|
49
49
|
}]);
|
|
50
50
|
return EventDispatcher;
|
|
51
|
-
}();
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
}();
|
|
52
|
+
/**
|
|
53
|
+
* Creates a dispatch function that can be called inside ProseMirror Plugin
|
|
54
|
+
* to notify listeners about that plugin's state change.
|
|
55
|
+
*/
|
|
55
56
|
exports.EventDispatcher = EventDispatcher;
|
|
56
57
|
function createDispatch(eventDispatcher) {
|
|
57
58
|
return function (eventName, data) {
|
|
@@ -55,7 +55,7 @@ var getVersionList = function getVersionList() {
|
|
|
55
55
|
itemType: 'normal',
|
|
56
56
|
items: ['极致作答体验', '多种报告分析', '评估问卷库', '自动获取评估人', '自动匹配权重']
|
|
57
57
|
}, {
|
|
58
|
-
version: Versions.
|
|
58
|
+
version: Versions.PERFORMANCE_E,
|
|
59
59
|
name: '绩效执行版',
|
|
60
60
|
key: 'performance-e',
|
|
61
61
|
image: require("./images/performance-e.png"),
|
|
@@ -141,10 +141,11 @@ var getOpenData = openData();
|
|
|
141
141
|
* @param {type} 数据类型
|
|
142
142
|
* @param {name} 用于不运行在平台时直接展示信息
|
|
143
143
|
*/
|
|
144
|
-
var _default = getOpenData;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
144
|
+
var _default = getOpenData;
|
|
145
|
+
/**
|
|
146
|
+
* 获取开放数据:用户名
|
|
147
|
+
* @param p
|
|
148
|
+
*/
|
|
148
149
|
exports["default"] = _default;
|
|
149
150
|
var OpenUserName = function OpenUserName(p) {
|
|
150
151
|
return getOpenData(_objectSpread(_objectSpread({}, p), {}, {
|
|
@@ -46,10 +46,11 @@ function getDomain() {
|
|
|
46
46
|
*/
|
|
47
47
|
function taker(_x, _x2, _x3) {
|
|
48
48
|
return _taker.apply(this, arguments);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* 拼接 v1 url
|
|
52
|
+
* @param {v1/之后的路径} url
|
|
53
|
+
*/
|
|
53
54
|
function _taker() {
|
|
54
55
|
_taker = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(url, method, body) {
|
|
55
56
|
var header,
|