hoeditor-web 0.3.114 → 0.3.115
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/hoeditor.common.js +1258 -900
- package/lib/hoeditor.css +2 -2
- package/lib/hoeditor.umd.js +1258 -900
- package/lib/hoeditor.umd.min.js +14 -14
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -19197,6 +19197,13 @@ PageAreaChangedEvent.eventName = "pageAreaRectChanged";
|
|
|
19197
19197
|
|
|
19198
19198
|
/***/ }),
|
|
19199
19199
|
|
|
19200
|
+
/***/ "20b5":
|
|
19201
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
19202
|
+
|
|
19203
|
+
// extracted by mini-css-extract-plugin
|
|
19204
|
+
|
|
19205
|
+
/***/ }),
|
|
19206
|
+
|
|
19200
19207
|
/***/ "20d3":
|
|
19201
19208
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
19202
19209
|
|
|
@@ -20214,520 +20221,68 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
20214
20221
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
20215
20222
|
|
|
20216
20223
|
"use strict";
|
|
20224
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return FormularType; });
|
|
20225
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return TableFormula; });
|
|
20226
|
+
/* harmony import */ var element_ui_lib_theme_chalk_message_box_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9e1f");
|
|
20227
|
+
/* harmony import */ var element_ui_lib_theme_chalk_message_box_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_theme_chalk_message_box_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
20228
|
+
/* harmony import */ var element_ui_lib_theme_chalk_base_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("450d");
|
|
20229
|
+
/* harmony import */ var element_ui_lib_theme_chalk_base_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_theme_chalk_base_css__WEBPACK_IMPORTED_MODULE_1__);
|
|
20230
|
+
/* harmony import */ var element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("6ed5");
|
|
20231
|
+
/* harmony import */ var element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2__);
|
|
20232
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("3835");
|
|
20233
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("53ca");
|
|
20234
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("d4ec");
|
|
20235
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("bee2");
|
|
20236
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_get_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("45eb");
|
|
20237
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("7e84");
|
|
20238
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("262e");
|
|
20239
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("2caf");
|
|
20240
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("d3b7");
|
|
20241
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
20242
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("159b");
|
|
20243
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
20244
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("b64b");
|
|
20245
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
20246
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("a9e3");
|
|
20247
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
20248
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("ac1f");
|
|
20249
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
20250
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("1276");
|
|
20251
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
20252
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("5319");
|
|
20253
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
20254
|
+
/* harmony import */ var core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("5b81");
|
|
20255
|
+
/* harmony import */ var core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
20256
|
+
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("4d63");
|
|
20257
|
+
/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
20258
|
+
/* harmony import */ var core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("c607");
|
|
20259
|
+
/* harmony import */ var core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
20260
|
+
/* harmony import */ var core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("2c3e");
|
|
20261
|
+
/* harmony import */ var core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_21__);
|
|
20262
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("25f0");
|
|
20263
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_22__);
|
|
20264
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("a434");
|
|
20265
|
+
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_23__);
|
|
20266
|
+
/* harmony import */ var core_js_modules_es_string_match_all_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("a1f0");
|
|
20267
|
+
/* harmony import */ var core_js_modules_es_string_match_all_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_all_js__WEBPACK_IMPORTED_MODULE_24__);
|
|
20268
|
+
/* harmony import */ var core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("b680");
|
|
20269
|
+
/* harmony import */ var core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_25__);
|
|
20270
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("caad");
|
|
20271
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_26__);
|
|
20272
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__("2532");
|
|
20273
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_27__);
|
|
20274
|
+
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__("498a");
|
|
20275
|
+
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_28__);
|
|
20276
|
+
/* harmony import */ var _editor_draw_drawNode_DrawTableFormular__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__("e5d9");
|
|
20277
|
+
/* harmony import */ var _editor_utils_ExpressionCalculator__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__("ddd4");
|
|
20278
|
+
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__("8d1d");
|
|
20279
|
+
/* harmony import */ var _plugins_util__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__("6ae4");
|
|
20280
|
+
/* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__("91a4");
|
|
20281
|
+
/* harmony import */ var _CellNode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__("eb7b");
|
|
20282
|
+
/* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__("8841");
|
|
20217
20283
|
|
|
20218
|
-
// EXPORTS
|
|
20219
|
-
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ FormularType; });
|
|
20220
|
-
__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ TableFormula_TableFormula; });
|
|
20221
|
-
|
|
20222
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/message-box.css
|
|
20223
|
-
var message_box = __webpack_require__("9e1f");
|
|
20224
|
-
|
|
20225
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/base.css
|
|
20226
|
-
var base = __webpack_require__("450d");
|
|
20227
|
-
|
|
20228
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/message-box.js
|
|
20229
|
-
var lib_message_box = __webpack_require__("6ed5");
|
|
20230
|
-
var lib_message_box_default = /*#__PURE__*/__webpack_require__.n(lib_message_box);
|
|
20231
|
-
|
|
20232
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
20233
|
-
var slicedToArray = __webpack_require__("3835");
|
|
20234
|
-
|
|
20235
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
20236
|
-
var classCallCheck = __webpack_require__("d4ec");
|
|
20237
|
-
|
|
20238
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
20239
|
-
var createClass = __webpack_require__("bee2");
|
|
20240
|
-
|
|
20241
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/get.js + 1 modules
|
|
20242
|
-
var get = __webpack_require__("45eb");
|
|
20243
|
-
|
|
20244
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
20245
|
-
var getPrototypeOf = __webpack_require__("7e84");
|
|
20246
|
-
|
|
20247
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
|
20248
|
-
var inherits = __webpack_require__("262e");
|
|
20249
|
-
|
|
20250
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 2 modules
|
|
20251
|
-
var createSuper = __webpack_require__("2caf");
|
|
20252
|
-
|
|
20253
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
20254
|
-
var es_number_constructor = __webpack_require__("a9e3");
|
|
20255
|
-
|
|
20256
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
20257
|
-
var es_regexp_exec = __webpack_require__("ac1f");
|
|
20258
|
-
|
|
20259
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
|
20260
|
-
var es_string_split = __webpack_require__("1276");
|
|
20261
|
-
|
|
20262
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
20263
|
-
var es_string_replace = __webpack_require__("5319");
|
|
20264
|
-
|
|
20265
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace-all.js
|
|
20266
|
-
var es_string_replace_all = __webpack_require__("5b81");
|
|
20267
|
-
|
|
20268
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.constructor.js
|
|
20269
|
-
var es_regexp_constructor = __webpack_require__("4d63");
|
|
20270
|
-
|
|
20271
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.dot-all.js
|
|
20272
|
-
var es_regexp_dot_all = __webpack_require__("c607");
|
|
20273
|
-
|
|
20274
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.sticky.js
|
|
20275
|
-
var es_regexp_sticky = __webpack_require__("2c3e");
|
|
20276
|
-
|
|
20277
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
20278
|
-
var es_regexp_to_string = __webpack_require__("25f0");
|
|
20279
|
-
|
|
20280
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
20281
|
-
var es_array_splice = __webpack_require__("a434");
|
|
20282
|
-
|
|
20283
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match-all.js
|
|
20284
|
-
var es_string_match_all = __webpack_require__("a1f0");
|
|
20285
|
-
|
|
20286
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
20287
|
-
var es_object_to_string = __webpack_require__("d3b7");
|
|
20288
|
-
|
|
20289
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.to-fixed.js
|
|
20290
|
-
var es_number_to_fixed = __webpack_require__("b680");
|
|
20291
|
-
|
|
20292
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
20293
|
-
var es_array_includes = __webpack_require__("caad");
|
|
20294
|
-
|
|
20295
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
20296
|
-
var es_string_includes = __webpack_require__("2532");
|
|
20297
|
-
|
|
20298
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
|
|
20299
|
-
var es_string_trim = __webpack_require__("498a");
|
|
20300
|
-
|
|
20301
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
20302
|
-
var assertThisInitialized = __webpack_require__("257e");
|
|
20303
|
-
|
|
20304
|
-
// EXTERNAL MODULE: ./src/editor/draw/drawObj/DrawStyleText.ts
|
|
20305
|
-
var DrawStyleText = __webpack_require__("d6db");
|
|
20306
|
-
|
|
20307
|
-
// EXTERNAL MODULE: ./src/yuki-createjs/index.ts
|
|
20308
|
-
var yuki_createjs = __webpack_require__("120e");
|
|
20309
|
-
|
|
20310
|
-
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawContainer.ts
|
|
20311
|
-
var DrawContainer = __webpack_require__("b8e2");
|
|
20312
|
-
|
|
20313
|
-
// EXTERNAL MODULE: ./src/editor/draw/IDrawInfos.ts
|
|
20314
|
-
var IDrawInfos = __webpack_require__("8bda");
|
|
20315
|
-
|
|
20316
|
-
// CONCATENATED MODULE: ./src/editor/draw/drawNode/DrawSimpleNode.ts
|
|
20317
|
-
|
|
20318
|
-
|
|
20319
|
-
|
|
20320
|
-
|
|
20321
|
-
|
|
20322
|
-
|
|
20323
|
-
//不能进行分割的普通绘制节点;
|
|
20324
|
-
|
|
20325
|
-
var DrawSimpleNode_DrawSimpleNode = /*#__PURE__*/function (_DrawContainer) {
|
|
20326
|
-
Object(inherits["a" /* default */])(DrawSimpleNode, _DrawContainer);
|
|
20327
|
-
|
|
20328
|
-
var _super = Object(createSuper["a" /* default */])(DrawSimpleNode);
|
|
20329
|
-
|
|
20330
|
-
// protected _index!: number;
|
|
20331
|
-
// get selectShape(): createjs.Shape {
|
|
20332
|
-
// if (!this._selectShape) {
|
|
20333
|
-
// this._selectShape = new createjs.Shape();
|
|
20334
|
-
// }
|
|
20335
|
-
// const selectRect = this._selectShape.getBounds();
|
|
20336
|
-
// const bound = this.getBounds();
|
|
20337
|
-
// if (selectRect !== bound) {
|
|
20338
|
-
// this._selectShape.setBounds(bound.x, bound.y, bound.width, bound.height);
|
|
20339
|
-
// this._selectShape.graphics
|
|
20340
|
-
// .beginFill("blue")
|
|
20341
|
-
// .rect(bound.x, bound.y, bound.width, bound.height);
|
|
20342
|
-
// this._selectShape.alpha = 0.5;
|
|
20343
|
-
// }
|
|
20344
|
-
// return this._selectShape;
|
|
20345
|
-
// }
|
|
20346
|
-
function DrawSimpleNode(rootPath, node, index) {
|
|
20347
|
-
var _this;
|
|
20348
|
-
|
|
20349
|
-
Object(classCallCheck["a" /* default */])(this, DrawSimpleNode);
|
|
20350
|
-
|
|
20351
|
-
_this = _super.call(this, rootPath, index);
|
|
20352
|
-
_this._node = node;
|
|
20353
|
-
_this._discriminator = IDrawInfos["a" /* gDrawIntfID */];
|
|
20354
|
-
return _this;
|
|
20355
|
-
}
|
|
20356
|
-
|
|
20357
|
-
Object(createClass["a" /* default */])(DrawSimpleNode, [{
|
|
20358
|
-
key: "discriminator",
|
|
20359
|
-
get: function get() {
|
|
20360
|
-
return this._discriminator;
|
|
20361
|
-
},
|
|
20362
|
-
set: function set(discriminator) {
|
|
20363
|
-
this._discriminator = discriminator;
|
|
20364
|
-
}
|
|
20365
|
-
}, {
|
|
20366
|
-
key: "index",
|
|
20367
|
-
get: function get() {
|
|
20368
|
-
return this._index;
|
|
20369
|
-
}
|
|
20370
|
-
}, {
|
|
20371
|
-
key: "node",
|
|
20372
|
-
get: function get() {
|
|
20373
|
-
return this._node;
|
|
20374
|
-
}
|
|
20375
|
-
}]);
|
|
20376
|
-
|
|
20377
|
-
return DrawSimpleNode;
|
|
20378
|
-
}(DrawContainer["a" /* DrawContainer */]);
|
|
20379
|
-
// CONCATENATED MODULE: ./src/editor/draw/drawNode/DrawTableFormular.ts
|
|
20380
|
-
|
|
20381
|
-
|
|
20382
|
-
|
|
20383
|
-
|
|
20384
|
-
|
|
20385
|
-
|
|
20386
|
-
var DrawTableFormular_DrawTableFormular = /*#__PURE__*/function (_DrawSimpleNode) {
|
|
20387
|
-
Object(inherits["a" /* default */])(DrawTableFormular, _DrawSimpleNode);
|
|
20388
|
-
|
|
20389
|
-
var _super = Object(createSuper["a" /* default */])(DrawTableFormular);
|
|
20390
|
-
|
|
20391
|
-
function DrawTableFormular(rootPath, node, text) {
|
|
20392
|
-
var _this;
|
|
20393
|
-
|
|
20394
|
-
Object(classCallCheck["a" /* default */])(this, DrawTableFormular);
|
|
20395
|
-
|
|
20396
|
-
_this = _super.call(this, rootPath, node, 0);
|
|
20397
|
-
var dStyleText = new DrawStyleText["a" /* DrawStyleText */](node.hoEditorFactoryID, Object(assertThisInitialized["a" /* default */])(_this), text, node.styleIndex);
|
|
20398
|
-
_this._dHeight = dStyleText.dHeight;
|
|
20399
|
-
_this._dWidth = dStyleText.dWidth;
|
|
20400
|
-
return _this;
|
|
20401
|
-
}
|
|
20402
|
-
|
|
20403
|
-
return DrawTableFormular;
|
|
20404
|
-
}(DrawSimpleNode_DrawSimpleNode);
|
|
20405
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
|
|
20406
|
-
var es_string_match = __webpack_require__("466d");
|
|
20407
|
-
|
|
20408
|
-
// CONCATENATED MODULE: ./src/editor/utils/ExpressionCalculator.ts
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
|
|
20412
|
-
|
|
20413
|
-
|
|
20414
|
-
function expressionCalculator(expr) {
|
|
20415
|
-
var openCount = null;
|
|
20416
|
-
var closeCount = null;
|
|
20417
|
-
var flag = false;
|
|
20418
|
-
|
|
20419
|
-
if (expr.includes('(')) {
|
|
20420
|
-
var open = expr.match(/\(/g);
|
|
20421
|
-
if (open) openCount = open.length;
|
|
20422
|
-
}
|
|
20423
|
-
|
|
20424
|
-
if (expr.includes(')')) {
|
|
20425
|
-
var close = expr.match(/\)/g);
|
|
20426
|
-
if (close) closeCount = close.length;
|
|
20427
|
-
}
|
|
20428
|
-
|
|
20429
|
-
if (openCount != closeCount) throw new Error('ExpressionError: Brackets must be paired');
|
|
20430
|
-
var stSign = [];
|
|
20431
|
-
var stNum = [];
|
|
20432
|
-
var isOpenBracket = false;
|
|
20433
|
-
var prioritySign = {
|
|
20434
|
-
'-': 1,
|
|
20435
|
-
'+': 1,
|
|
20436
|
-
'/': 2,
|
|
20437
|
-
'*': 2
|
|
20438
|
-
};
|
|
20439
|
-
|
|
20440
|
-
function multi(one, two) {
|
|
20441
|
-
return one * two;
|
|
20442
|
-
}
|
|
20443
|
-
|
|
20444
|
-
function diff(one, two) {
|
|
20445
|
-
return one - two;
|
|
20446
|
-
}
|
|
20447
|
-
|
|
20448
|
-
function addition(one, two) {
|
|
20449
|
-
return one + two;
|
|
20450
|
-
}
|
|
20451
|
-
|
|
20452
|
-
function division(one, two) {
|
|
20453
|
-
return one / two;
|
|
20454
|
-
}
|
|
20455
|
-
|
|
20456
|
-
function getLastFromStack(arr) {
|
|
20457
|
-
return arr.pop();
|
|
20458
|
-
}
|
|
20459
|
-
|
|
20460
|
-
function addInArray(arr, element) {
|
|
20461
|
-
if (element) arr.push(element);
|
|
20462
|
-
}
|
|
20463
|
-
|
|
20464
|
-
function innerBracketExpr(stNum, stSign) {
|
|
20465
|
-
for (var index = stSign.length - 1; index >= 0; index--) {
|
|
20466
|
-
if (stSign[index] == '(') {
|
|
20467
|
-
stSign.pop();
|
|
20468
|
-
break;
|
|
20469
|
-
} else {
|
|
20470
|
-
var element = stSign[index];
|
|
20471
|
-
var stLastNumber = stNum[stNum.length - 1];
|
|
20472
|
-
var stPreLastNumber = stNum[stNum.length - 2]; // debugger
|
|
20473
|
-
|
|
20474
|
-
switch (element) {
|
|
20475
|
-
case '/':
|
|
20476
|
-
{
|
|
20477
|
-
if (stLastNumber == 0) throw new Error("TypeError: Division by zero.");
|
|
20478
|
-
var rest = stPreLastNumber / stLastNumber;
|
|
20479
|
-
stNum.pop();
|
|
20480
|
-
stNum.pop();
|
|
20481
|
-
stSign.pop();
|
|
20482
|
-
stNum.push(rest);
|
|
20483
|
-
flag = false; // debugger
|
|
20484
|
-
|
|
20485
|
-
break;
|
|
20486
|
-
}
|
|
20487
|
-
|
|
20488
|
-
case '*':
|
|
20489
|
-
{
|
|
20490
|
-
var _rest = stPreLastNumber * stLastNumber;
|
|
20491
|
-
|
|
20492
|
-
stNum.pop();
|
|
20493
|
-
stNum.pop();
|
|
20494
|
-
stSign.pop();
|
|
20495
|
-
stNum.push(_rest);
|
|
20496
|
-
flag = false; // debugger
|
|
20497
|
-
|
|
20498
|
-
break;
|
|
20499
|
-
}
|
|
20500
|
-
|
|
20501
|
-
case '+':
|
|
20502
|
-
{
|
|
20503
|
-
var _rest2 = Number(stPreLastNumber) + Number(stLastNumber);
|
|
20504
|
-
|
|
20505
|
-
stNum.pop();
|
|
20506
|
-
stNum.pop();
|
|
20507
|
-
stSign.pop();
|
|
20508
|
-
stNum.push(_rest2);
|
|
20509
|
-
flag = false; // debugger
|
|
20510
|
-
|
|
20511
|
-
break;
|
|
20512
|
-
}
|
|
20513
|
-
|
|
20514
|
-
case '-':
|
|
20515
|
-
{
|
|
20516
|
-
var _rest3 = stPreLastNumber - stLastNumber;
|
|
20517
|
-
|
|
20518
|
-
stNum.pop();
|
|
20519
|
-
stNum.pop();
|
|
20520
|
-
stSign.pop();
|
|
20521
|
-
stNum.push(_rest3);
|
|
20522
|
-
flag = false; // debugger
|
|
20523
|
-
|
|
20524
|
-
break;
|
|
20525
|
-
}
|
|
20526
|
-
|
|
20527
|
-
case '(':
|
|
20528
|
-
// debugger
|
|
20529
|
-
break;
|
|
20530
|
-
|
|
20531
|
-
default:
|
|
20532
|
-
break;
|
|
20533
|
-
}
|
|
20534
|
-
}
|
|
20535
|
-
}
|
|
20536
|
-
}
|
|
20537
|
-
|
|
20538
|
-
function yo(stSign, stNum, element) {
|
|
20539
|
-
if (stSign.length == 0) stSign.push(element);else {
|
|
20540
|
-
if (element == '(') {
|
|
20541
|
-
stSign.push(element); // debugger
|
|
20542
|
-
|
|
20543
|
-
return;
|
|
20544
|
-
}
|
|
20545
|
-
|
|
20546
|
-
if (element == ')') {
|
|
20547
|
-
// debugger
|
|
20548
|
-
innerBracketExpr(stNum, stSign);
|
|
20549
|
-
} else {
|
|
20550
|
-
var lastElInStack = stSign[stSign.length - 1];
|
|
20551
|
-
var stPriority = prioritySign[lastElInStack];
|
|
20552
|
-
var curPriority = prioritySign[element];
|
|
20553
|
-
|
|
20554
|
-
if (lastElInStack == '(') {
|
|
20555
|
-
stSign.push(element); // debugger
|
|
20556
|
-
} else {
|
|
20557
|
-
if (curPriority < stPriority || curPriority == stPriority) {
|
|
20558
|
-
var stLastNumber = stNum[stNum.length - 1];
|
|
20559
|
-
var stPreLastNumber = stNum[stNum.length - 2]; // debugger
|
|
20560
|
-
|
|
20561
|
-
switch (lastElInStack) {
|
|
20562
|
-
case '/':
|
|
20563
|
-
{
|
|
20564
|
-
if (stLastNumber == 0) throw new Error("TypeError: Division by zero.");
|
|
20565
|
-
var rest = stPreLastNumber / stLastNumber;
|
|
20566
|
-
stNum.pop();
|
|
20567
|
-
stNum.pop();
|
|
20568
|
-
stSign.pop();
|
|
20569
|
-
stNum.push(rest);
|
|
20570
|
-
flag = false; // debugger
|
|
20571
|
-
|
|
20572
|
-
yo(stSign, stNum, element);
|
|
20573
|
-
break;
|
|
20574
|
-
}
|
|
20575
|
-
|
|
20576
|
-
case '*':
|
|
20577
|
-
{
|
|
20578
|
-
var _rest4 = stPreLastNumber * stLastNumber;
|
|
20579
|
-
|
|
20580
|
-
stNum.pop();
|
|
20581
|
-
stNum.pop();
|
|
20582
|
-
stSign.pop();
|
|
20583
|
-
stNum.push(_rest4);
|
|
20584
|
-
flag = false; // debugger
|
|
20585
|
-
|
|
20586
|
-
yo(stSign, stNum, element);
|
|
20587
|
-
break;
|
|
20588
|
-
}
|
|
20589
|
-
|
|
20590
|
-
case '+':
|
|
20591
|
-
{
|
|
20592
|
-
var _rest5 = Number(stPreLastNumber) + Number(stLastNumber);
|
|
20593
|
-
|
|
20594
|
-
stNum.pop();
|
|
20595
|
-
stNum.pop();
|
|
20596
|
-
stSign.pop();
|
|
20597
|
-
stNum.push(_rest5);
|
|
20598
|
-
flag = false; // debugger
|
|
20599
|
-
|
|
20600
|
-
yo(stSign, stNum, element);
|
|
20601
|
-
break;
|
|
20602
|
-
}
|
|
20603
|
-
|
|
20604
|
-
case '-':
|
|
20605
|
-
{
|
|
20606
|
-
var _rest6 = stPreLastNumber - stLastNumber;
|
|
20607
|
-
|
|
20608
|
-
stNum.pop();
|
|
20609
|
-
stNum.pop();
|
|
20610
|
-
stSign.pop();
|
|
20611
|
-
stNum.push(_rest6);
|
|
20612
|
-
flag = false; // debugger
|
|
20613
|
-
|
|
20614
|
-
yo(stSign, stNum, element);
|
|
20615
|
-
break;
|
|
20616
|
-
}
|
|
20617
|
-
|
|
20618
|
-
case '(':
|
|
20619
|
-
// debugger
|
|
20620
|
-
break;
|
|
20621
|
-
|
|
20622
|
-
default:
|
|
20623
|
-
break;
|
|
20624
|
-
}
|
|
20625
|
-
} else if (curPriority > stPriority) {
|
|
20626
|
-
stSign.push(element);
|
|
20627
|
-
}
|
|
20628
|
-
}
|
|
20629
|
-
}
|
|
20630
|
-
}
|
|
20631
|
-
}
|
|
20632
|
-
|
|
20633
|
-
var result = expr.match(/(\d+)|[-/+()*]/g);
|
|
20634
|
-
if (!result) throw new Error("非法的数学表达式");
|
|
20635
|
-
|
|
20636
|
-
for (var index = 0; index < result.length; index++) {
|
|
20637
|
-
var element = parseInt(result[index]);
|
|
20638
|
-
|
|
20639
|
-
if (!isNaN(element)) {
|
|
20640
|
-
stNum.push(element);
|
|
20641
|
-
} else {
|
|
20642
|
-
yo(stSign, stNum, result[index]);
|
|
20643
|
-
}
|
|
20644
|
-
}
|
|
20645
|
-
|
|
20646
|
-
for (var _index = stSign.length - 1; _index >= 0; _index--) {
|
|
20647
|
-
var _element = stSign[_index];
|
|
20648
|
-
var stLastNumber = stNum[stNum.length - 1];
|
|
20649
|
-
var stPreLastNumber = stNum[stNum.length - 2];
|
|
20650
|
-
|
|
20651
|
-
switch (_element) {
|
|
20652
|
-
case '/':
|
|
20653
|
-
{
|
|
20654
|
-
if (stLastNumber == 0) throw new Error("TypeError: Division by zero.");
|
|
20655
|
-
var rest = stPreLastNumber / stLastNumber;
|
|
20656
|
-
stNum.pop();
|
|
20657
|
-
stNum.pop();
|
|
20658
|
-
stSign.pop();
|
|
20659
|
-
stNum.push(rest);
|
|
20660
|
-
flag = false; // debugger
|
|
20661
|
-
|
|
20662
|
-
break;
|
|
20663
|
-
}
|
|
20664
|
-
|
|
20665
|
-
case '*':
|
|
20666
|
-
{
|
|
20667
|
-
var _rest7 = stPreLastNumber * stLastNumber;
|
|
20668
|
-
|
|
20669
|
-
stNum.pop();
|
|
20670
|
-
stNum.pop();
|
|
20671
|
-
stSign.pop();
|
|
20672
|
-
stNum.push(_rest7);
|
|
20673
|
-
flag = false; // debugger
|
|
20674
|
-
|
|
20675
|
-
break;
|
|
20676
|
-
}
|
|
20677
|
-
|
|
20678
|
-
case '+':
|
|
20679
|
-
{
|
|
20680
|
-
var _rest8 = Number(stPreLastNumber) + Number(stLastNumber);
|
|
20681
|
-
|
|
20682
|
-
stNum.pop();
|
|
20683
|
-
stNum.pop();
|
|
20684
|
-
stSign.pop();
|
|
20685
|
-
stNum.push(_rest8);
|
|
20686
|
-
flag = false; // debugger
|
|
20687
|
-
|
|
20688
|
-
break;
|
|
20689
|
-
}
|
|
20690
|
-
|
|
20691
|
-
case '-':
|
|
20692
|
-
{
|
|
20693
|
-
var _rest9 = stPreLastNumber - stLastNumber;
|
|
20694
|
-
|
|
20695
|
-
stNum.pop();
|
|
20696
|
-
stNum.pop();
|
|
20697
|
-
stSign.pop();
|
|
20698
|
-
stNum.push(_rest9);
|
|
20699
|
-
flag = false; // debugger
|
|
20700
|
-
|
|
20701
|
-
break;
|
|
20702
|
-
}
|
|
20703
|
-
|
|
20704
|
-
case '(':
|
|
20705
|
-
// debugger
|
|
20706
|
-
break;
|
|
20707
|
-
|
|
20708
|
-
default:
|
|
20709
|
-
break;
|
|
20710
|
-
}
|
|
20711
|
-
}
|
|
20712
|
-
|
|
20713
|
-
return stNum[0]; // console.log(stNum[0]);
|
|
20714
|
-
}
|
|
20715
|
-
// EXTERNAL MODULE: ./src/HOEditorFactorys.ts
|
|
20716
|
-
var HOEditorFactorys = __webpack_require__("8d1d");
|
|
20717
|
-
|
|
20718
|
-
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
20719
|
-
var util = __webpack_require__("6ae4");
|
|
20720
|
-
|
|
20721
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/BaseNode.ts
|
|
20722
|
-
var BaseNode = __webpack_require__("91a4");
|
|
20723
|
-
|
|
20724
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/CellNode.ts
|
|
20725
|
-
var CellNode = __webpack_require__("eb7b");
|
|
20726
20284
|
|
|
20727
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ControlNode.ts
|
|
20728
|
-
var ControlNode = __webpack_require__("8841");
|
|
20729
20285
|
|
|
20730
|
-
// CONCATENATED MODULE: ./src/editor/dom/treeNode/TableFormula.ts
|
|
20731
20286
|
|
|
20732
20287
|
|
|
20733
20288
|
|
|
@@ -20781,22 +20336,22 @@ var FormularType;
|
|
|
20781
20336
|
FormularType[FormularType["ftPregnantWeeks"] = 5] = "ftPregnantWeeks";
|
|
20782
20337
|
})(FormularType || (FormularType = {}));
|
|
20783
20338
|
|
|
20784
|
-
var
|
|
20785
|
-
Object(
|
|
20339
|
+
var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
20340
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"])(TableFormula, _ControlNode);
|
|
20786
20341
|
|
|
20787
|
-
var _super = Object(
|
|
20342
|
+
var _super = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"])(TableFormula);
|
|
20788
20343
|
|
|
20789
|
-
function TableFormula(hoEditorFactoryID, rootNodes, pNode, nodeType, formulaStr, styleIndex, hideZero, formularType) {
|
|
20344
|
+
function TableFormula(hoEditorFactoryID, rootNodes, pNode, nodeType, formulaStr, styleIndex, hideZero, formularType, customProperty) {
|
|
20790
20345
|
var _this;
|
|
20791
20346
|
|
|
20792
|
-
Object(
|
|
20347
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(this, TableFormula);
|
|
20793
20348
|
|
|
20794
20349
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
20795
20350
|
_this._formularType = FormularType.ftSum;
|
|
20796
20351
|
_this._formulaStr = "";
|
|
20797
20352
|
_this._hideZero = true; //计算结果为0时是否隐藏
|
|
20798
20353
|
|
|
20799
|
-
_this._id =
|
|
20354
|
+
_this._id = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_31__[/* HOEditorFactorys */ "a"].instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("TFS");
|
|
20800
20355
|
_this._styleIndex = styleIndex;
|
|
20801
20356
|
_this.isAllowDelete = true;
|
|
20802
20357
|
_this._cellRange = new Array();
|
|
@@ -20810,12 +20365,37 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
20810
20365
|
_this.formulaStr = formulaStr;
|
|
20811
20366
|
if (hideZero !== undefined) _this._hideZero = hideZero;
|
|
20812
20367
|
|
|
20368
|
+
if (customProperty && customProperty !== "") {
|
|
20369
|
+
_this.setCustomProperty(customProperty);
|
|
20370
|
+
}
|
|
20371
|
+
|
|
20813
20372
|
_this.updateResult();
|
|
20814
20373
|
|
|
20815
20374
|
return _this;
|
|
20816
20375
|
}
|
|
20817
20376
|
|
|
20818
|
-
Object(
|
|
20377
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])(TableFormula, [{
|
|
20378
|
+
key: "setCustomProperty",
|
|
20379
|
+
value: function setCustomProperty(customProperty) {
|
|
20380
|
+
var assignvalue = function assignvalue(target, source) {
|
|
20381
|
+
Object.keys(source).forEach(function (value) {
|
|
20382
|
+
if (Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(target[value]) == "object") {
|
|
20383
|
+
if (Object.prototype.toString.call(source[value]) === "[object Object]") {
|
|
20384
|
+
assignvalue(target[value], source[value]);
|
|
20385
|
+
} else {
|
|
20386
|
+
if (source[value] !== "" && source[value] !== null) {
|
|
20387
|
+
assignvalue(target[value], eval("(" + source[value] + ")"));
|
|
20388
|
+
}
|
|
20389
|
+
}
|
|
20390
|
+
} else {
|
|
20391
|
+
target[value] = source[value];
|
|
20392
|
+
}
|
|
20393
|
+
});
|
|
20394
|
+
};
|
|
20395
|
+
|
|
20396
|
+
assignvalue(this.customProperty, customProperty);
|
|
20397
|
+
}
|
|
20398
|
+
}, {
|
|
20819
20399
|
key: "formularType",
|
|
20820
20400
|
get: function get() {
|
|
20821
20401
|
return this._formularType;
|
|
@@ -20886,7 +20466,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
20886
20466
|
}, {
|
|
20887
20467
|
key: "refreshDrawStyle",
|
|
20888
20468
|
value: function refreshDrawStyle() {
|
|
20889
|
-
var hoEditorFactory =
|
|
20469
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_31__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
20890
20470
|
var textStyle = hoEditorFactory.docTree.styles[this._styleIndex];
|
|
20891
20471
|
var cbStyle;
|
|
20892
20472
|
|
|
@@ -20907,7 +20487,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
20907
20487
|
value: function node2DrawNodeRange(startIndex, endIndex) {
|
|
20908
20488
|
this.refreshDrawStyle();
|
|
20909
20489
|
var text = this._hideZero && (this._text == "0" || this._text === "0.00") ? " " : this._text;
|
|
20910
|
-
var dNode = new
|
|
20490
|
+
var dNode = new _editor_draw_drawNode_DrawTableFormular__WEBPACK_IMPORTED_MODULE_29__[/* DrawTableFormular */ "a"](this._rootPath, this, text);
|
|
20911
20491
|
|
|
20912
20492
|
this._drawNodes.push(dNode);
|
|
20913
20493
|
}
|
|
@@ -20937,7 +20517,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
20937
20517
|
|
|
20938
20518
|
dline.addChild(this._drawNodes[0]);
|
|
20939
20519
|
dline.drawItems.push(this._drawNodes[0]);
|
|
20940
|
-
|
|
20520
|
+
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_31__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).drawTree.formularNodes.set(this.id, this);
|
|
20941
20521
|
dline.fitLines();
|
|
20942
20522
|
return dline.paragraphNode.getLastDrawline();
|
|
20943
20523
|
}
|
|
@@ -20950,11 +20530,12 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
20950
20530
|
key: "node2Json",
|
|
20951
20531
|
value: function node2Json(range, isCopy) {
|
|
20952
20532
|
var retObj = {
|
|
20953
|
-
nodeType:
|
|
20533
|
+
nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_33__[/* NodeType */ "b"][this.nodeType],
|
|
20954
20534
|
text: this._formulaStr,
|
|
20955
20535
|
styleIndex: this.styleIndex,
|
|
20956
20536
|
hideZero: this._hideZero,
|
|
20957
|
-
formularType: this.formularType
|
|
20537
|
+
formularType: this.formularType,
|
|
20538
|
+
customProperty: this.customProperty
|
|
20958
20539
|
};
|
|
20959
20540
|
|
|
20960
20541
|
if (isCopy) {
|
|
@@ -20971,7 +20552,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
20971
20552
|
var pNode = this.parentNode;
|
|
20972
20553
|
|
|
20973
20554
|
while (pNode) {
|
|
20974
|
-
if (pNode instanceof
|
|
20555
|
+
if (pNode instanceof _CellNode__WEBPACK_IMPORTED_MODULE_34__[/* CellNode */ "a"]) {
|
|
20975
20556
|
return pNode;
|
|
20976
20557
|
}
|
|
20977
20558
|
|
|
@@ -20991,12 +20572,12 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
20991
20572
|
|
|
20992
20573
|
if (arr.length == 2) {
|
|
20993
20574
|
var _this$getRowColByCell = this.getRowColByCellAdress(arr[0]),
|
|
20994
|
-
_this$getRowColByCell2 = Object(
|
|
20575
|
+
_this$getRowColByCell2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell, 2),
|
|
20995
20576
|
istartRow = _this$getRowColByCell2[0],
|
|
20996
20577
|
istartCol = _this$getRowColByCell2[1];
|
|
20997
20578
|
|
|
20998
20579
|
var _this$getRowColByCell3 = this.getRowColByCellAdress(arr[1]),
|
|
20999
|
-
_this$getRowColByCell4 = Object(
|
|
20580
|
+
_this$getRowColByCell4 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell3, 2),
|
|
21000
20581
|
iEndRow = _this$getRowColByCell4[0],
|
|
21001
20582
|
iEndCol = _this$getRowColByCell4[1];
|
|
21002
20583
|
|
|
@@ -21011,7 +20592,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21011
20592
|
if (!cell) continue;
|
|
21012
20593
|
|
|
21013
20594
|
var _this$getCellNumber = this.getCellNumber(table, r, c),
|
|
21014
|
-
_this$getCellNumber2 = Object(
|
|
20595
|
+
_this$getCellNumber2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getCellNumber, 2),
|
|
21015
20596
|
bret = _this$getCellNumber2[0],
|
|
21016
20597
|
value = _this$getCellNumber2[1];
|
|
21017
20598
|
|
|
@@ -21094,7 +20675,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21094
20675
|
//const strValue = cell.getCellText().replaceAll('\n', '').replaceAll(' ', '').replaceAll('\b', '').replaceAll('\r', '');
|
|
21095
20676
|
|
|
21096
20677
|
|
|
21097
|
-
var hoEditorFactory =
|
|
20678
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_31__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
21098
20679
|
var strValue = hoEditorFactory.unitConvert.replaceAll(cell.getCellText(), '\n', '');
|
|
21099
20680
|
strValue = hoEditorFactory.unitConvert.replaceAll(strValue, ' ', '');
|
|
21100
20681
|
strValue = hoEditorFactory.unitConvert.replaceAll(strValue, '\b', '');
|
|
@@ -21173,7 +20754,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21173
20754
|
for (var i = 0, j = arr.length; i < j; i++) {
|
|
21174
20755
|
{
|
|
21175
20756
|
var _this$getRowColByCell5 = this.getRowColByCellAdress(arr[i]),
|
|
21176
|
-
_this$getRowColByCell6 = Object(
|
|
20757
|
+
_this$getRowColByCell6 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell5, 2),
|
|
21177
20758
|
r = _this$getRowColByCell6[0],
|
|
21178
20759
|
c = _this$getRowColByCell6[1];
|
|
21179
20760
|
|
|
@@ -21184,7 +20765,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21184
20765
|
if (bCalc) {
|
|
21185
20766
|
if (r >= 0 && c >= 0 && r < table.rowCount && c < table.colCount) {
|
|
21186
20767
|
var _this$getCellNumber3 = this.getCellNumber(table, r, c),
|
|
21187
|
-
_this$getCellNumber4 = Object(
|
|
20768
|
+
_this$getCellNumber4 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getCellNumber3, 2),
|
|
21188
20769
|
isNumber = _this$getCellNumber4[0],
|
|
21189
20770
|
avalue = _this$getCellNumber4[1];
|
|
21190
20771
|
|
|
@@ -21210,13 +20791,13 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21210
20791
|
}
|
|
21211
20792
|
|
|
21212
20793
|
if (totalOk) {
|
|
21213
|
-
var hoEditorFactory =
|
|
20794
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_31__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
21214
20795
|
|
|
21215
20796
|
for (var k = arr.length - 1; k >= 0; k--) {
|
|
21216
20797
|
strFormula = hoEditorFactory.unitConvert.replaceAll(strFormula, arr[k], value[k]); //strFormula.replaceAll(arr[k], value[k]);
|
|
21217
20798
|
}
|
|
21218
20799
|
|
|
21219
|
-
strRet = '' + expressionCalculator(strFormula);
|
|
20800
|
+
strRet = '' + Object(_editor_utils_ExpressionCalculator__WEBPACK_IMPORTED_MODULE_30__[/* expressionCalculator */ "a"])(strFormula);
|
|
21220
20801
|
}
|
|
21221
20802
|
|
|
21222
20803
|
return strRet;
|
|
@@ -21229,16 +20810,16 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21229
20810
|
var arrStr = this.formulaStr.split(",");
|
|
21230
20811
|
|
|
21231
20812
|
if (arrStr.length < 2) {
|
|
21232
|
-
|
|
20813
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("体重和身高对应的单元格编号传入有误:" + this.formulaStr);
|
|
21233
20814
|
}
|
|
21234
20815
|
|
|
21235
20816
|
var _this$getRowColByCell7 = this.getRowColByCellAdress(arrStr[0]),
|
|
21236
|
-
_this$getRowColByCell8 = Object(
|
|
20817
|
+
_this$getRowColByCell8 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell7, 2),
|
|
21237
20818
|
weightRow = _this$getRowColByCell8[0],
|
|
21238
20819
|
weightCol = _this$getRowColByCell8[1];
|
|
21239
20820
|
|
|
21240
20821
|
var _this$getRowColByCell9 = this.getRowColByCellAdress(arrStr[1]),
|
|
21241
|
-
_this$getRowColByCell10 = Object(
|
|
20822
|
+
_this$getRowColByCell10 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell9, 2),
|
|
21242
20823
|
heightRow = _this$getRowColByCell10[0],
|
|
21243
20824
|
heightCol = _this$getRowColByCell10[1];
|
|
21244
20825
|
|
|
@@ -21248,12 +20829,12 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21248
20829
|
|
|
21249
20830
|
if (wCell && hCell) {
|
|
21250
20831
|
var _this$getCellNumber5 = this.getCellNumber(table, weightRow, weightCol),
|
|
21251
|
-
_this$getCellNumber6 = Object(
|
|
20832
|
+
_this$getCellNumber6 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getCellNumber5, 2),
|
|
21252
20833
|
wRet = _this$getCellNumber6[0],
|
|
21253
20834
|
weightNum = _this$getCellNumber6[1];
|
|
21254
20835
|
|
|
21255
20836
|
var _this$getCellNumber7 = this.getCellNumber(table, heightRow, heightCol),
|
|
21256
|
-
_this$getCellNumber8 = Object(
|
|
20837
|
+
_this$getCellNumber8 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getCellNumber7, 2),
|
|
21257
20838
|
hRet = _this$getCellNumber8[0],
|
|
21258
20839
|
heightNum = _this$getCellNumber8[1];
|
|
21259
20840
|
|
|
@@ -21279,16 +20860,16 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21279
20860
|
var arrStr = this.formulaStr.split(",");
|
|
21280
20861
|
|
|
21281
20862
|
if (arrStr.length < 2) {
|
|
21282
|
-
|
|
20863
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_2___default.a.alert("单元格编号传入有误:" + this.formulaStr);
|
|
21283
20864
|
}
|
|
21284
20865
|
|
|
21285
20866
|
var _this$getRowColByCell11 = this.getRowColByCellAdress(arrStr[0]),
|
|
21286
|
-
_this$getRowColByCell12 = Object(
|
|
20867
|
+
_this$getRowColByCell12 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell11, 2),
|
|
21287
20868
|
sRow = _this$getRowColByCell12[0],
|
|
21288
20869
|
sCol = _this$getRowColByCell12[1];
|
|
21289
20870
|
|
|
21290
20871
|
var _this$getRowColByCell13 = this.getRowColByCellAdress(arrStr[1]),
|
|
21291
|
-
_this$getRowColByCell14 = Object(
|
|
20872
|
+
_this$getRowColByCell14 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell13, 2),
|
|
21292
20873
|
eRow = _this$getRowColByCell14[0],
|
|
21293
20874
|
eCol = _this$getRowColByCell14[1];
|
|
21294
20875
|
|
|
@@ -21298,7 +20879,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21298
20879
|
if (arrStr.length === 3) {
|
|
21299
20880
|
var _this$getRowColByCell15 = this.getRowColByCellAdress(arrStr[2]);
|
|
21300
20881
|
|
|
21301
|
-
var _this$getRowColByCell16 = Object(
|
|
20882
|
+
var _this$getRowColByCell16 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell15, 2);
|
|
21302
20883
|
|
|
21303
20884
|
aRow = _this$getRowColByCell16[0];
|
|
21304
20885
|
aCol = _this$getRowColByCell16[1];
|
|
@@ -21313,7 +20894,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21313
20894
|
var eDateStr = eCell.getCellText();
|
|
21314
20895
|
|
|
21315
20896
|
if (arrStr.length === 2) {
|
|
21316
|
-
if (Object(
|
|
20897
|
+
if (Object(_plugins_util__WEBPACK_IMPORTED_MODULE_32__[/* isDate */ "j"])(sDateStr) && Object(_plugins_util__WEBPACK_IMPORTED_MODULE_32__[/* isDate */ "j"])(eDateStr)) {
|
|
21317
20898
|
var sDate = new Date(sDateStr);
|
|
21318
20899
|
var eDate = new Date(eDateStr);
|
|
21319
20900
|
var sTime = sDate.getTime();
|
|
@@ -21406,19 +20987,19 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21406
20987
|
|
|
21407
20988
|
if (sDateStr.length > 0 && eDateStr.length > 0 && aDateStr.length > 0) {
|
|
21408
20989
|
var _getTime = getTime(sDateStr),
|
|
21409
|
-
_getTime2 = Object(
|
|
20990
|
+
_getTime2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_getTime, 3),
|
|
21410
20991
|
h1 = _getTime2[0],
|
|
21411
20992
|
m1 = _getTime2[1],
|
|
21412
20993
|
s1 = _getTime2[2];
|
|
21413
20994
|
|
|
21414
20995
|
var _getTime3 = getTime(eDateStr),
|
|
21415
|
-
_getTime4 = Object(
|
|
20996
|
+
_getTime4 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_getTime3, 3),
|
|
21416
20997
|
h2 = _getTime4[0],
|
|
21417
20998
|
m2 = _getTime4[1],
|
|
21418
20999
|
s2 = _getTime4[2];
|
|
21419
21000
|
|
|
21420
21001
|
var _getTime5 = getTime(aDateStr),
|
|
21421
|
-
_getTime6 = Object(
|
|
21002
|
+
_getTime6 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_getTime5, 3),
|
|
21422
21003
|
h3 = _getTime6[0],
|
|
21423
21004
|
m3 = _getTime6[1],
|
|
21424
21005
|
s3 = _getTime6[2];
|
|
@@ -21468,7 +21049,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21468
21049
|
var table = this.getParentCell().table;
|
|
21469
21050
|
|
|
21470
21051
|
var _this$getRowColByCell17 = this.getRowColByCellAdress(this.formulaStr),
|
|
21471
|
-
_this$getRowColByCell18 = Object(
|
|
21052
|
+
_this$getRowColByCell18 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell17, 2),
|
|
21472
21053
|
row = _this$getRowColByCell18[0],
|
|
21473
21054
|
col = _this$getRowColByCell18[1];
|
|
21474
21055
|
|
|
@@ -21478,7 +21059,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21478
21059
|
if (cell) {
|
|
21479
21060
|
var lastMenstryDate = cell.getCellText();
|
|
21480
21061
|
|
|
21481
|
-
if (Object(
|
|
21062
|
+
if (Object(_plugins_util__WEBPACK_IMPORTED_MODULE_32__[/* isDate */ "j"])(lastMenstryDate)) {
|
|
21482
21063
|
var date = new Date(lastMenstryDate); // const year = date.getFullYear();
|
|
21483
21064
|
// const month = date.getMonth()+1;
|
|
21484
21065
|
// const day = date.getDate();
|
|
@@ -21512,7 +21093,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21512
21093
|
var table = this.getParentCell().table;
|
|
21513
21094
|
|
|
21514
21095
|
var _this$getRowColByCell19 = this.getRowColByCellAdress(this.formulaStr),
|
|
21515
|
-
_this$getRowColByCell20 = Object(
|
|
21096
|
+
_this$getRowColByCell20 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_this$getRowColByCell19, 2),
|
|
21516
21097
|
row = _this$getRowColByCell20[0],
|
|
21517
21098
|
col = _this$getRowColByCell20[1];
|
|
21518
21099
|
|
|
@@ -21522,10 +21103,15 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21522
21103
|
if (cell) {
|
|
21523
21104
|
var lastMenstryDate = cell.getCellText();
|
|
21524
21105
|
|
|
21525
|
-
if (Object(
|
|
21106
|
+
if (Object(_plugins_util__WEBPACK_IMPORTED_MODULE_32__[/* isDate */ "j"])(lastMenstryDate)) {
|
|
21526
21107
|
var date = new Date(lastMenstryDate);
|
|
21527
21108
|
var sTime = date.getTime();
|
|
21528
21109
|
var eTime = Date.now();
|
|
21110
|
+
|
|
21111
|
+
if (this.customProperty.visitTime) {
|
|
21112
|
+
eTime = new Date(this.customProperty.visitTime).getTime();
|
|
21113
|
+
}
|
|
21114
|
+
|
|
21529
21115
|
var subTime = ((eTime - sTime + 1) / (1000 * 3600 * 24 * 7)).toString();
|
|
21530
21116
|
var weekData = subTime.split('.');
|
|
21531
21117
|
var week = Number(weekData[0]);
|
|
@@ -21549,7 +21135,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21549
21135
|
|
|
21550
21136
|
if (cell.table === acell.table) {
|
|
21551
21137
|
var _cell$table$getCellIn = cell.table.getCellInfos(cell),
|
|
21552
|
-
_cell$table$getCellIn2 = Object(
|
|
21138
|
+
_cell$table$getCellIn2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_cell$table$getCellIn, 2),
|
|
21553
21139
|
ir = _cell$table$getCellIn2[0],
|
|
21554
21140
|
ic = _cell$table$getCellIn2[1];
|
|
21555
21141
|
|
|
@@ -21595,9 +21181,9 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21595
21181
|
}, {
|
|
21596
21182
|
key: "delete",
|
|
21597
21183
|
value: function _delete(operType) {
|
|
21598
|
-
|
|
21184
|
+
_HOEditorFactorys__WEBPACK_IMPORTED_MODULE_31__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).drawTree.formularNodes.delete(this._id);
|
|
21599
21185
|
|
|
21600
|
-
Object(
|
|
21186
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_get_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"])(TableFormula.prototype), "delete", this).call(this, operType);
|
|
21601
21187
|
|
|
21602
21188
|
return true;
|
|
21603
21189
|
}
|
|
@@ -21641,13 +21227,13 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21641
21227
|
formularType = json.text.indexOf(':') > 0 ? FormularType.ftSum : FormularType.ftFormular;
|
|
21642
21228
|
}
|
|
21643
21229
|
|
|
21644
|
-
var ret = new TableFormula(hoEditorFactoryID, rootNodes, pNode ? pNode : null,
|
|
21230
|
+
var ret = new TableFormula(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_33__[/* NodeType */ "b"].ntTableFormula, json.text, styleIndex, hideZero, formularType, json.customProperty);
|
|
21645
21231
|
return ret;
|
|
21646
21232
|
}
|
|
21647
21233
|
}]);
|
|
21648
21234
|
|
|
21649
21235
|
return TableFormula;
|
|
21650
|
-
}(
|
|
21236
|
+
}(_ControlNode__WEBPACK_IMPORTED_MODULE_35__[/* ControlNode */ "a"]);
|
|
21651
21237
|
|
|
21652
21238
|
/***/ }),
|
|
21653
21239
|
|
|
@@ -42615,7 +42201,12 @@ var UndoService_UndoService = /*#__PURE__*/function () {
|
|
|
42615
42201
|
value: function undo() {
|
|
42616
42202
|
if (this._position !== 0) {
|
|
42617
42203
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
42618
|
-
|
|
42204
|
+
|
|
42205
|
+
if (hoEditorFactory.drawTree.paintStatus !== DrawTree["b" /* PaintState */].psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree["b" /* PaintState */].psPrint) {
|
|
42206
|
+
hoEditorFactory.contentIsModify.isModify = true;
|
|
42207
|
+
hoEditorFactory.hoLocalStorage.autoSaveLocalStorage();
|
|
42208
|
+
}
|
|
42209
|
+
|
|
42619
42210
|
this._position--;
|
|
42620
42211
|
|
|
42621
42212
|
this._stack[this._position].undo();
|
|
@@ -42626,7 +42217,13 @@ var UndoService_UndoService = /*#__PURE__*/function () {
|
|
|
42626
42217
|
value: function redo() {
|
|
42627
42218
|
if (this._stack.length !== 0 && this._position < this._stack.length) {
|
|
42628
42219
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
42629
|
-
|
|
42220
|
+
|
|
42221
|
+
if (hoEditorFactory.drawTree.paintStatus !== DrawTree["b" /* PaintState */].psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree["b" /* PaintState */].psPrint) {
|
|
42222
|
+
hoEditorFactory.contentIsModify.isModify = true;
|
|
42223
|
+
hoEditorFactory.hoLocalStorage.autoSaveLocalStorage();
|
|
42224
|
+
}
|
|
42225
|
+
|
|
42226
|
+
;
|
|
42630
42227
|
|
|
42631
42228
|
this._stack[this._position].redo();
|
|
42632
42229
|
|
|
@@ -45720,10 +45317,16 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
45720
45317
|
value: function placeDNodeAfterDrawLine(paragraphNode, dline, endPath) {
|
|
45721
45318
|
this._paragraphNode = paragraphNode;
|
|
45722
45319
|
this.drawTable.paragraphNode = paragraphNode;
|
|
45723
|
-
var dTop = dline.dTop + this._borderWidth;
|
|
45320
|
+
var dTop = dline.dTop + this._borderWidth; // if (dline.drawItems.length > 0 || paragraphNode.drawlines.length > 1) {
|
|
45321
|
+
// throw new Error("错误的表格绘制位置");
|
|
45322
|
+
// }
|
|
45323
|
+
|
|
45324
|
+
if (dline.drawItems.length > 0) {
|
|
45325
|
+
dline.drawItems.length = 0;
|
|
45326
|
+
}
|
|
45724
45327
|
|
|
45725
|
-
if (
|
|
45726
|
-
|
|
45328
|
+
if (paragraphNode.drawlines.length > 1) {
|
|
45329
|
+
paragraphNode.drawlines.splice(1, paragraphNode.drawlines.length - 1);
|
|
45727
45330
|
}
|
|
45728
45331
|
|
|
45729
45332
|
var index = paragraphNode.drootNodes.indexOf(paragraphNode.drawlines[0]);
|
|
@@ -46016,7 +45619,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
46016
45619
|
customProperties: "",
|
|
46017
45620
|
lightCellBorders: false,
|
|
46018
45621
|
dataSource: "",
|
|
46019
|
-
backColor: "
|
|
45622
|
+
backColor: "transparent",
|
|
46020
45623
|
editorProperty: _TableProperty__WEBPACK_IMPORTED_MODULE_31__[/* EditorProperty */ "e"].None,
|
|
46021
45624
|
downListProperty: "",
|
|
46022
45625
|
dateTimeProperty: ""
|
|
@@ -47502,6 +47105,13 @@ SelectRange.shapes = [];
|
|
|
47502
47105
|
|
|
47503
47106
|
/***/ }),
|
|
47504
47107
|
|
|
47108
|
+
/***/ "4a15":
|
|
47109
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
47110
|
+
|
|
47111
|
+
// extracted by mini-css-extract-plugin
|
|
47112
|
+
|
|
47113
|
+
/***/ }),
|
|
47114
|
+
|
|
47505
47115
|
/***/ "4ae1":
|
|
47506
47116
|
/***/ (function(module, exports, __webpack_require__) {
|
|
47507
47117
|
|
|
@@ -47949,6 +47559,17 @@ if (!_vue2.default.prototype.$isServer) {
|
|
|
47949
47559
|
|
|
47950
47560
|
exports.default = PopupManager;
|
|
47951
47561
|
|
|
47562
|
+
/***/ }),
|
|
47563
|
+
|
|
47564
|
+
/***/ "4b3f":
|
|
47565
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
47566
|
+
|
|
47567
|
+
"use strict";
|
|
47568
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HoPage_vue_vue_type_style_index_0_id_876d1352_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("20b5");
|
|
47569
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HoPage_vue_vue_type_style_index_0_id_876d1352_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HoPage_vue_vue_type_style_index_0_id_876d1352_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
47570
|
+
/* unused harmony reexport * */
|
|
47571
|
+
|
|
47572
|
+
|
|
47952
47573
|
/***/ }),
|
|
47953
47574
|
|
|
47954
47575
|
/***/ "4b89":
|
|
@@ -69019,7 +68640,21 @@ var DocTree = /*#__PURE__*/function () {
|
|
|
69019
68640
|
var preNode = node.previousLeaf();
|
|
69020
68641
|
|
|
69021
68642
|
if (preNode) {
|
|
69022
|
-
|
|
68643
|
+
if (preNode instanceof _treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_29__[/* ParagraphNode */ "a"]) {
|
|
68644
|
+
var nextSiblingNode = preNode.nextSibling();
|
|
68645
|
+
|
|
68646
|
+
if (nextSiblingNode instanceof _treeNode_TableNode__WEBPACK_IMPORTED_MODULE_43__[/* TableNode */ "c"]) {
|
|
68647
|
+
var ppreNode = preNode.previousLeaf();
|
|
68648
|
+
|
|
68649
|
+
if (ppreNode) {
|
|
68650
|
+
toPath = this.getNodeLastPath(ppreNode);
|
|
68651
|
+
}
|
|
68652
|
+
} else {
|
|
68653
|
+
toPath = this.getNodeLastPath(preNode);
|
|
68654
|
+
}
|
|
68655
|
+
} else {
|
|
68656
|
+
toPath = this.getNodeLastPath(preNode);
|
|
68657
|
+
}
|
|
69023
68658
|
}
|
|
69024
68659
|
} else {
|
|
69025
68660
|
pathArray[pathArray.length - 1] = (pathLastValue - 1).toString();
|
|
@@ -72440,7 +72075,7 @@ var Comment = /*#__PURE__*/function () {
|
|
|
72440
72075
|
|
|
72441
72076
|
commentArr.forEach(function (v) {
|
|
72442
72077
|
comment += v;
|
|
72443
|
-
wordWidth += new createjs.Text(v, "13px
|
|
72078
|
+
wordWidth += new createjs.Text(v, "13px 宋体", "transparent").getMeasuredWidth();
|
|
72444
72079
|
|
|
72445
72080
|
if (wordWidth > commentWidth - 30) {
|
|
72446
72081
|
arr.push(comment);
|
|
@@ -75964,9 +75599,11 @@ var HOEditorFactorys = __webpack_require__("8d1d");
|
|
|
75964
75599
|
// CONCATENATED MODULE: ./src/editor/Caret.ts
|
|
75965
75600
|
|
|
75966
75601
|
|
|
75602
|
+
// import "@/yuki-createjs";
|
|
75603
|
+
// import { DrawLine } from "./draw/DrawLine";
|
|
75604
|
+
// import { DrawTable } from "./draw/drawNode/DrawTable";
|
|
75605
|
+
// const NUM_PARTICLES = 1;
|
|
75967
75606
|
|
|
75968
|
-
|
|
75969
|
-
var NUM_PARTICLES = 1;
|
|
75970
75607
|
var Caret_Caret = /*#__PURE__*/function () {
|
|
75971
75608
|
// get dLine(): DrawLine | DrawTable {
|
|
75972
75609
|
// return this._dLine;
|
|
@@ -75985,10 +75622,9 @@ var Caret_Caret = /*#__PURE__*/function () {
|
|
|
75985
75622
|
this._height = 20;
|
|
75986
75623
|
this._visible = true;
|
|
75987
75624
|
this._pageIndex = -1;
|
|
75988
|
-
this.
|
|
75989
|
-
|
|
75990
|
-
|
|
75991
|
-
this.updateCaret(); // this.stage.addChildAt(this.cursor,1);
|
|
75625
|
+
this.div_cursor = document.createElement("div");
|
|
75626
|
+
this.div_cursor.id = "ho_caret";
|
|
75627
|
+
this.div_cursor.className = "ho-caret-animation";
|
|
75992
75628
|
} //private _dLine!: DrawLine | DrawTable; //光标所在行
|
|
75993
75629
|
|
|
75994
75630
|
|
|
@@ -75998,17 +75634,20 @@ var Caret_Caret = /*#__PURE__*/function () {
|
|
|
75998
75634
|
return this._visible;
|
|
75999
75635
|
},
|
|
76000
75636
|
set: function set(val) {
|
|
76001
|
-
if (val !== this.
|
|
76002
|
-
|
|
76003
|
-
|
|
76004
|
-
|
|
76005
|
-
|
|
76006
|
-
|
|
76007
|
-
|
|
76008
|
-
|
|
76009
|
-
|
|
76010
|
-
|
|
76011
|
-
|
|
75637
|
+
// if (val !== this._visible) {
|
|
75638
|
+
this.div_cursor.style.visibility = val ? 'visible' : 'hidden'; // this._visible = val;
|
|
75639
|
+
// if (this.cursor) {
|
|
75640
|
+
// this.cursor.visible = this.visible;
|
|
75641
|
+
// if (this.cursor.stage) {
|
|
75642
|
+
// this.cursor.stage.update();
|
|
75643
|
+
// }
|
|
75644
|
+
// }
|
|
75645
|
+
// }
|
|
75646
|
+
}
|
|
75647
|
+
}, {
|
|
75648
|
+
key: "cursor",
|
|
75649
|
+
get: function get() {
|
|
75650
|
+
return this.div_cursor;
|
|
76012
75651
|
}
|
|
76013
75652
|
}, {
|
|
76014
75653
|
key: "height",
|
|
@@ -76025,11 +75664,11 @@ var Caret_Caret = /*#__PURE__*/function () {
|
|
|
76025
75664
|
// ) {
|
|
76026
75665
|
// yValue = lineHeight - lineSpace - val;
|
|
76027
75666
|
// }
|
|
76028
|
-
this._height = Math.max(val, 12);
|
|
76029
|
-
|
|
76030
|
-
g.clear();
|
|
76031
|
-
g.beginFill("black").rect(0, 0, 1, this._height);
|
|
76032
|
-
this.updateCaret();
|
|
75667
|
+
// this._height = Math.max(val, 12);
|
|
75668
|
+
// const g = this.cursor.graphics;
|
|
75669
|
+
// g.clear();
|
|
75670
|
+
// g.beginFill("black").rect(0, 0, 1, this._height);
|
|
75671
|
+
this.div_cursor.style.height = Math.max(val, 12) + "px"; // this.updateCaret();
|
|
76033
75672
|
}
|
|
76034
75673
|
}
|
|
76035
75674
|
}, {
|
|
@@ -76053,31 +75692,28 @@ var Caret_Caret = /*#__PURE__*/function () {
|
|
|
76053
75692
|
value: function setPage(pageIndex) {
|
|
76054
75693
|
var hoeditorfacotry = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditoryFactoryID);
|
|
76055
75694
|
var newPage = hoeditorfacotry.drawTree.drawPages[pageIndex];
|
|
76056
|
-
var oldPage = hoeditorfacotry.drawTree.drawPages[this._pageIndex];
|
|
76057
|
-
|
|
76058
|
-
if (this._pageIndex !== pageIndex || this.cursor.parent !== newPage.selectContainer) {
|
|
76059
|
-
var _hoeditorfacotry = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditoryFactoryID);
|
|
76060
75695
|
|
|
75696
|
+
if (this._pageIndex !== pageIndex) {
|
|
76061
75697
|
if (this._pageIndex >= 0) {
|
|
76062
|
-
var
|
|
75698
|
+
var oldPage = hoeditorfacotry.drawTree.drawPages[this._pageIndex];
|
|
76063
75699
|
|
|
76064
|
-
if (
|
|
76065
|
-
|
|
75700
|
+
if (oldPage && oldPage.drawSelectLevel) {
|
|
75701
|
+
var canvas = oldPage.drawSelectLevel.selectCanvas;
|
|
76066
75702
|
|
|
76067
|
-
if (
|
|
75703
|
+
if (canvas.parentNode && this.div_cursor.parentNode === canvas.parentNode) {
|
|
75704
|
+
canvas.parentNode.removeChild(this.div_cursor);
|
|
75705
|
+
}
|
|
76068
75706
|
}
|
|
76069
75707
|
}
|
|
76070
75708
|
|
|
76071
75709
|
this._pageIndex = pageIndex;
|
|
75710
|
+
}
|
|
76072
75711
|
|
|
76073
|
-
|
|
76074
|
-
|
|
76075
|
-
|
|
76076
|
-
if (_newPage) {
|
|
76077
|
-
_newPage.selectContainer.addChild(this.cursor);
|
|
75712
|
+
if (pageIndex >= 0 && newPage.drawSelectLevel) {
|
|
75713
|
+
var _canvas = newPage.drawSelectLevel.selectCanvas;
|
|
76078
75714
|
|
|
76079
|
-
|
|
76080
|
-
|
|
75715
|
+
if (_canvas.parentNode) {
|
|
75716
|
+
_canvas.parentNode.appendChild(this.div_cursor);
|
|
76081
75717
|
}
|
|
76082
75718
|
}
|
|
76083
75719
|
}
|
|
@@ -76088,14 +75724,11 @@ var Caret_Caret = /*#__PURE__*/function () {
|
|
|
76088
75724
|
|
|
76089
75725
|
}, {
|
|
76090
75726
|
key: "updateCaret",
|
|
76091
|
-
value: function updateCaret() {
|
|
76092
|
-
|
|
76093
|
-
|
|
76094
|
-
|
|
76095
|
-
|
|
76096
|
-
}).to({
|
|
76097
|
-
alpha: 0
|
|
76098
|
-
}, 400);
|
|
75727
|
+
value: function updateCaret() {// const tween = createjs.Tween.get(this.cursor, {
|
|
75728
|
+
// loop: -1,
|
|
75729
|
+
// bounce: true,
|
|
75730
|
+
// override: true,
|
|
75731
|
+
// }).to({ alpha: 0 }, 400);
|
|
76099
75732
|
}
|
|
76100
75733
|
/**
|
|
76101
75734
|
* @author xyl
|
|
@@ -76109,11 +75742,10 @@ var Caret_Caret = /*#__PURE__*/function () {
|
|
|
76109
75742
|
value: function moveTo(pageIndex, x, y) {
|
|
76110
75743
|
this.x = x;
|
|
76111
75744
|
this.y = y;
|
|
76112
|
-
this.
|
|
76113
|
-
this.
|
|
76114
|
-
this.
|
|
76115
|
-
this.setPage(pageIndex);
|
|
76116
|
-
this.updateCaret();
|
|
75745
|
+
this.div_cursor.style.left = x + "px";
|
|
75746
|
+
this.div_cursor.style.top = y + "px";
|
|
75747
|
+
this.div_cursor.style.opacity = "1";
|
|
75748
|
+
this.setPage(pageIndex); // this.updateCaret();
|
|
76117
75749
|
}
|
|
76118
75750
|
}]);
|
|
76119
75751
|
|
|
@@ -76271,7 +75903,7 @@ var EditorController_EditorController = /*#__PURE__*/function () {
|
|
|
76271
75903
|
value: function editCompositionStart(e) {
|
|
76272
75904
|
var el = e.target;
|
|
76273
75905
|
el.style.opacity = "1";
|
|
76274
|
-
el.style.background = "#
|
|
75906
|
+
el.style.background = "#fff";
|
|
76275
75907
|
el.style.height = '50px';
|
|
76276
75908
|
} //输入法录入结束
|
|
76277
75909
|
|
|
@@ -76293,6 +75925,7 @@ var EditorController_EditorController = /*#__PURE__*/function () {
|
|
|
76293
75925
|
|
|
76294
75926
|
this.keyBoardInput(el.value);
|
|
76295
75927
|
el.value = "";
|
|
75928
|
+
hoeditorfactory.drawTree.caret.cursor.className = 'ho-caret-animation';
|
|
76296
75929
|
} //文本录入
|
|
76297
75930
|
|
|
76298
75931
|
}, {
|
|
@@ -76300,6 +75933,7 @@ var EditorController_EditorController = /*#__PURE__*/function () {
|
|
|
76300
75933
|
value: function editInput(e) {
|
|
76301
75934
|
var el = e.target;
|
|
76302
75935
|
var hoeditorfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
75936
|
+
hoeditorfactory.drawTree.caret.cursor.className = '';
|
|
76303
75937
|
|
|
76304
75938
|
if (hoeditorfactory.drawTree.paintStatus === PaintState.psReadOnly || hoeditorfactory.drawTree.paintStatus === PaintState.psPreview || hoeditorfactory.drawTree.paintStatus === PaintState.psPrint) {
|
|
76305
75939
|
el.value = "";
|
|
@@ -76327,6 +75961,7 @@ var EditorController_EditorController = /*#__PURE__*/function () {
|
|
|
76327
75961
|
}
|
|
76328
75962
|
} finally {
|
|
76329
75963
|
el.value = "";
|
|
75964
|
+
hoeditorfactory.drawTree.caret.cursor.className = 'ho-caret-animation';
|
|
76330
75965
|
}
|
|
76331
75966
|
}
|
|
76332
75967
|
}
|
|
@@ -76520,10 +76155,10 @@ var Editor_Editor = /*#__PURE__*/function () {
|
|
|
76520
76155
|
atextArea.style.left = "0";
|
|
76521
76156
|
atextArea.style.width = "0";
|
|
76522
76157
|
atextArea.style.height = "0";
|
|
76523
|
-
atextArea.style.zIndex = "
|
|
76158
|
+
atextArea.style.zIndex = "20";
|
|
76524
76159
|
atextArea.style.margin = "0";
|
|
76525
76160
|
atextArea.style.border = "0";
|
|
76526
|
-
atextArea.style.padding = "
|
|
76161
|
+
atextArea.style.padding = "0"; // atextArea.style.resize = "none";
|
|
76527
76162
|
|
|
76528
76163
|
atextArea.style.outline = "none";
|
|
76529
76164
|
atextArea.style.fontSize = "18px"; // atextArea.style.overflow = "hidden";
|
|
@@ -76552,12 +76187,12 @@ var Editor_Editor = /*#__PURE__*/function () {
|
|
|
76552
76187
|
|
|
76553
76188
|
var hoeditorfacotry = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
76554
76189
|
var newPage = hoeditorfacotry.drawTree.drawPages[pageIndex];
|
|
76555
|
-
var oldPage = hoeditorfacotry.drawTree.drawPages[this.pageIndex];
|
|
76556
76190
|
|
|
76557
76191
|
if (pageIndex !== this.pageIndex || this.input.parentNode !== ((_newPage$drawSelectLe = newPage.drawSelectLevel) === null || _newPage$drawSelectLe === void 0 ? void 0 : _newPage$drawSelectLe.selectCanvas.parentNode)) {
|
|
76558
|
-
|
|
76559
|
-
|
|
76192
|
+
// const hoeditorfacotry = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
76560
76193
|
if (this.pageIndex >= 0) {
|
|
76194
|
+
var oldPage = hoeditorfacotry.drawTree.drawPages[this.pageIndex];
|
|
76195
|
+
|
|
76561
76196
|
if (oldPage && oldPage.drawSelectLevel) {
|
|
76562
76197
|
var canvas = oldPage.drawSelectLevel.selectCanvas;
|
|
76563
76198
|
|
|
@@ -76630,6 +76265,7 @@ var SubDocManger = __webpack_require__("59dd");
|
|
|
76630
76265
|
|
|
76631
76266
|
|
|
76632
76267
|
|
|
76268
|
+
|
|
76633
76269
|
var DrawPage_DrawPage = /*#__PURE__*/function () {
|
|
76634
76270
|
function DrawPage(hoeditorfacotryID, index //,
|
|
76635
76271
|
//doc: DocTree,
|
|
@@ -76928,7 +76564,7 @@ var DrawPage_DrawPage = /*#__PURE__*/function () {
|
|
|
76928
76564
|
key: "paintBackGround",
|
|
76929
76565
|
value: function () {
|
|
76930
76566
|
var _paintBackGround = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
76931
|
-
var hoEditorFactory;
|
|
76567
|
+
var hoEditorFactory, backColor;
|
|
76932
76568
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
76933
76569
|
while (1) {
|
|
76934
76570
|
switch (_context.prev = _context.next) {
|
|
@@ -76941,13 +76577,15 @@ var DrawPage_DrawPage = /*#__PURE__*/function () {
|
|
|
76941
76577
|
|
|
76942
76578
|
this._background.graphics.clear();
|
|
76943
76579
|
|
|
76944
|
-
|
|
76580
|
+
backColor = hoEditorFactory.drawTree.paintStatus === PaintState.psPreview ? "#FFFFFF" : "#FFFFFF";
|
|
76581
|
+
|
|
76582
|
+
this._background.graphics.beginFill(backColor).drawRect(0, 0, hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes).closePath();
|
|
76945
76583
|
|
|
76946
76584
|
if (this._domLevel && this._domLevel.stage) {
|
|
76947
76585
|
this._domLevel.stage.addChildAt(this._background, 0);
|
|
76948
76586
|
}
|
|
76949
76587
|
|
|
76950
|
-
case
|
|
76588
|
+
case 6:
|
|
76951
76589
|
case "end":
|
|
76952
76590
|
return _context.stop();
|
|
76953
76591
|
}
|
|
@@ -77219,7 +76857,7 @@ var DrawPageMainDoc = __webpack_require__("65aa");
|
|
|
77219
76857
|
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawTextNode.ts + 1 modules
|
|
77220
76858
|
var DrawTextNode = __webpack_require__("48c4");
|
|
77221
76859
|
|
|
77222
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts
|
|
76860
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts
|
|
77223
76861
|
var TableFormula = __webpack_require__("2273");
|
|
77224
76862
|
|
|
77225
76863
|
// CONCATENATED MODULE: ./src/editor/draw/drawTree/DrawTree.ts
|
|
@@ -77369,6 +77007,11 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
77369
77007
|
|
|
77370
77008
|
|
|
77371
77009
|
Object(createClass["a" /* default */])(DrawTree, [{
|
|
77010
|
+
key: "caret",
|
|
77011
|
+
get: function get() {
|
|
77012
|
+
return this._caret;
|
|
77013
|
+
}
|
|
77014
|
+
}, {
|
|
77372
77015
|
key: "editor",
|
|
77373
77016
|
get: function get() {
|
|
77374
77017
|
return this._editor;
|
|
@@ -77554,12 +77197,10 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
77554
77197
|
var _this = this;
|
|
77555
77198
|
|
|
77556
77199
|
// createjs.Ticker.timingMode = createjs.Ticker.RAF;
|
|
77557
|
-
createjs.Ticker.framerate = 20;
|
|
77200
|
+
// createjs.Ticker.framerate = 20;
|
|
77201
|
+
// createjs.Ticker.paused = true;
|
|
77202
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // createjs.Ticker.addEventListener("tick", (e) => this.onTick(e));
|
|
77558
77203
|
|
|
77559
|
-
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
77560
|
-
createjs.Ticker.addEventListener("tick", function (e) {
|
|
77561
|
-
return _this.onTick(e);
|
|
77562
|
-
});
|
|
77563
77204
|
hoEditorFactory.docTree.addEventListener(NodeChangeEvent["a" /* NodeChangeEvent */].eventName, function (e) {
|
|
77564
77205
|
return _this.onDocChanged(e);
|
|
77565
77206
|
});
|
|
@@ -94927,8 +94568,9 @@ NodeChangeEvent.eventName = "nodechanged";
|
|
|
94927
94568
|
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("a434");
|
|
94928
94569
|
/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
94929
94570
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("8d1d");
|
|
94930
|
-
/* harmony import */ var
|
|
94931
|
-
/* harmony import */ var
|
|
94571
|
+
/* harmony import */ var _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("cf50");
|
|
94572
|
+
/* harmony import */ var _domNode_Paragraph__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("c7e5");
|
|
94573
|
+
/* harmony import */ var _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("3365");
|
|
94932
94574
|
|
|
94933
94575
|
|
|
94934
94576
|
|
|
@@ -94950,6 +94592,7 @@ NodeChangeEvent.eventName = "nodechanged";
|
|
|
94950
94592
|
|
|
94951
94593
|
|
|
94952
94594
|
|
|
94595
|
+
|
|
94953
94596
|
var PrintDirection;
|
|
94954
94597
|
|
|
94955
94598
|
(function (PrintDirection) {
|
|
@@ -95015,9 +94658,9 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
95015
94658
|
|
|
95016
94659
|
this._fontColor = "#000000"; //字体颜色
|
|
95017
94660
|
|
|
95018
|
-
this._backColor = "
|
|
94661
|
+
this._backColor = "transparent"; //字体背景颜色
|
|
95019
94662
|
|
|
95020
|
-
this._paraAlign =
|
|
94663
|
+
this._paraAlign = _domNode_Paragraph__WEBPACK_IMPORTED_MODULE_11__[/* Align */ "a"].alSpaceEqually; //段落对齐方式
|
|
95021
94664
|
|
|
95022
94665
|
this._charSpace = 0; //字间距
|
|
95023
94666
|
|
|
@@ -95078,20 +94721,20 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
95078
94721
|
hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID);
|
|
95079
94722
|
|
|
95080
94723
|
if (type === "text") {
|
|
95081
|
-
defaultStyle = new
|
|
95082
|
-
|
|
95083
|
-
firstStyle = new
|
|
94724
|
+
defaultStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_12__[/* CombineStyle */ "a"](this._hoEditorFactoryID);
|
|
94725
|
+
_domNode_TextStyle__WEBPACK_IMPORTED_MODULE_12__[/* CombineStyle */ "a"].makeDefaultStyle(this._hoEditorFactoryID, defaultStyle);
|
|
94726
|
+
firstStyle = new _domNode_TextStyle__WEBPACK_IMPORTED_MODULE_12__[/* TextStyle */ "c"](this._hoEditorFactoryID);
|
|
95084
94727
|
hoEditorFactory.docTree._defaultCombineStyle = defaultStyle;
|
|
95085
94728
|
hoEditorFactory.docTree.styles.splice(0, 1);
|
|
95086
94729
|
hoEditorFactory.docTree.styles.splice(0, 0, firstStyle);
|
|
95087
94730
|
}
|
|
95088
94731
|
|
|
95089
94732
|
if (type === "para") {
|
|
95090
|
-
hoEditorFactory.docTree._defaultCombineParagraph = new
|
|
94733
|
+
hoEditorFactory.docTree._defaultCombineParagraph = new _domNode_Paragraph__WEBPACK_IMPORTED_MODULE_11__[/* CombineParagraph */ "b"](this._hoEditorFactoryID, null);
|
|
95091
94734
|
|
|
95092
94735
|
hoEditorFactory.docTree._defaultCombineParagraph.defaultCombineParagraph(hoEditorFactory.docTree._defaultCombineParagraph);
|
|
95093
94736
|
|
|
95094
|
-
paragraph = new
|
|
94737
|
+
paragraph = new _domNode_Paragraph__WEBPACK_IMPORTED_MODULE_11__[/* Paragraph */ "c"](this._hoEditorFactoryID);
|
|
95095
94738
|
hoEditorFactory.docTree.paragraphs.splice(0, 1);
|
|
95096
94739
|
hoEditorFactory.docTree.paragraphs.splice(0, 0, paragraph);
|
|
95097
94740
|
paraNode = hoEditorFactory.docTree.mainNodes[0];
|
|
@@ -95164,7 +94807,8 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
95164
94807
|
this._widthPixes = hoEditorFactory.unitConvert.mmConversionPx(this._widthMm + this._commentWidthMm, true);
|
|
95165
94808
|
this._commentWidthPixes = hoEditorFactory.unitConvert.mmConversionPx(this._commentWidthMm, true);
|
|
95166
94809
|
this._rightMarginPixes = hoEditorFactory.unitConvert.mmConversionPx(this._rightMarginMm + this._commentWidthMm, true);
|
|
95167
|
-
this.
|
|
94810
|
+
var width = this._widthPixes % 2 !== 0 ? this._widthPixes + 1 : this._widthPixes;
|
|
94811
|
+
this._canvasParams.width = width * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
|
|
95168
94812
|
}
|
|
95169
94813
|
}
|
|
95170
94814
|
}, {
|
|
@@ -95176,7 +94820,8 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
95176
94820
|
if (value !== this._widthMm) {
|
|
95177
94821
|
this._widthMm = value;
|
|
95178
94822
|
this._widthPixes = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(this._widthMm + this._commentWidthMm, true);
|
|
95179
|
-
this.
|
|
94823
|
+
var width = this._widthPixes % 2 !== 0 ? this._widthPixes + 1 : this._widthPixes;
|
|
94824
|
+
this._canvasParams.width = width * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
|
|
95180
94825
|
}
|
|
95181
94826
|
}
|
|
95182
94827
|
}, {
|
|
@@ -95188,7 +94833,8 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
95188
94833
|
if (value !== this._heightMm) {
|
|
95189
94834
|
this._heightMm = value;
|
|
95190
94835
|
this._heightPixes = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(this._heightMm, false);
|
|
95191
|
-
|
|
94836
|
+
var height = this._heightPixes % 2 !== 0 ? this._heightPixes + 1 : this._heightPixes;
|
|
94837
|
+
this._canvasParams.height = height * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY; // this._canvasHeadFootPos.headerY = this._topMarginPixes - this._headerYPixes;
|
|
95192
94838
|
// this._canvasHeadFootPos.footerY = this._heightPixes - this._bottomMarginPixes;
|
|
95193
94839
|
}
|
|
95194
94840
|
}
|
|
@@ -96645,6 +96291,12 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
96645
96291
|
|
|
96646
96292
|
var _index = siblings.indexOf(node);
|
|
96647
96293
|
|
|
96294
|
+
if (_index === 0 && (parentNode === null || parentNode === void 0 ? void 0 : parentNode.nodeType) === NodeType.ntField && node._nodeType !== NodeType.ntMark) {
|
|
96295
|
+
_editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__[/* Exception */ "a"].printCallStack(); //fixme 此处返回-1时会造成死循环,需要查找原因
|
|
96296
|
+
|
|
96297
|
+
throw new Error("此处返回-1时会造成死循环,需要查找原因");
|
|
96298
|
+
}
|
|
96299
|
+
|
|
96648
96300
|
if (_index === siblings.length - 1) {
|
|
96649
96301
|
// node = parentNode;
|
|
96650
96302
|
// parentNode = parentNode._parentNode;
|
|
@@ -96735,6 +96387,8 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
96735
96387
|
break;
|
|
96736
96388
|
}
|
|
96737
96389
|
} else {
|
|
96390
|
+
var _parentNode;
|
|
96391
|
+
|
|
96738
96392
|
var siblings = parentNode.childNodes;
|
|
96739
96393
|
|
|
96740
96394
|
var _index3 = siblings.indexOf(node);
|
|
@@ -96749,6 +96403,12 @@ var BaseNode = /*#__PURE__*/function () {
|
|
|
96749
96403
|
parentNode = parentNode._parentNode;
|
|
96750
96404
|
}
|
|
96751
96405
|
|
|
96406
|
+
if (_index3 === 0 && ((_parentNode = parentNode) === null || _parentNode === void 0 ? void 0 : _parentNode.nodeType) === NodeType.ntField && node._nodeType !== NodeType.ntMark) {
|
|
96407
|
+
_editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__[/* Exception */ "a"].printCallStack(); //fixme 此处返回-1时会造成死循环,需要查找原因
|
|
96408
|
+
|
|
96409
|
+
throw new Error("此处返回-1时会造成死循环,需要查找原因");
|
|
96410
|
+
}
|
|
96411
|
+
|
|
96752
96412
|
if (_index3 === -1) {
|
|
96753
96413
|
_editor_events_Exception__WEBPACK_IMPORTED_MODULE_9__[/* Exception */ "a"].printCallStack(); //fixme 此处返回-1时会造成死循环,需要查找原因
|
|
96754
96414
|
|
|
@@ -103684,7 +103344,7 @@ var DrawCombineNode = /*#__PURE__*/function (_DrawContainer) {
|
|
|
103684
103344
|
// .drawRect(0, -r.height * 1.5, r.width + 2, r.height * 1.5).closePath();
|
|
103685
103345
|
|
|
103686
103346
|
|
|
103687
|
-
_this2._event.graphics.beginFill('
|
|
103347
|
+
_this2._event.graphics.beginFill('transparent').drawRect(0, -r.height, r.width + 2, r.height).closePath();
|
|
103688
103348
|
|
|
103689
103349
|
_this2._event.alpha = 0.01;
|
|
103690
103350
|
|
|
@@ -103723,7 +103383,7 @@ var DrawCombineNode = /*#__PURE__*/function (_DrawContainer) {
|
|
|
103723
103383
|
|
|
103724
103384
|
_this2._event.graphics.clear();
|
|
103725
103385
|
|
|
103726
|
-
_this2._event.graphics.beginFill('
|
|
103386
|
+
_this2._event.graphics.beginFill('transparent').drawRect(0, -r.height, r.width + 2, r.height).closePath();
|
|
103727
103387
|
|
|
103728
103388
|
_this2._event.alpha = 0.01;
|
|
103729
103389
|
|
|
@@ -150995,6 +150655,46 @@ module.exports = Object.getPrototypeOf || function (O) {
|
|
|
150995
150655
|
};
|
|
150996
150656
|
|
|
150997
150657
|
|
|
150658
|
+
/***/ }),
|
|
150659
|
+
|
|
150660
|
+
/***/ "cf50":
|
|
150661
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
150662
|
+
|
|
150663
|
+
"use strict";
|
|
150664
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DrawConfig; });
|
|
150665
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
|
150666
|
+
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
150667
|
+
|
|
150668
|
+
|
|
150669
|
+
var DrawConfig = /*#__PURE__*/function () {
|
|
150670
|
+
function DrawConfig() {
|
|
150671
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, DrawConfig);
|
|
150672
|
+
|
|
150673
|
+
this._scaleXY = 1;
|
|
150674
|
+
}
|
|
150675
|
+
|
|
150676
|
+
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(DrawConfig, [{
|
|
150677
|
+
key: "scaleXY",
|
|
150678
|
+
get: function get() {
|
|
150679
|
+
return this._scaleXY;
|
|
150680
|
+
},
|
|
150681
|
+
set: function set(scaleXY) {
|
|
150682
|
+
this._scaleXY = scaleXY;
|
|
150683
|
+
}
|
|
150684
|
+
}], [{
|
|
150685
|
+
key: "instance",
|
|
150686
|
+
value: function instance() {
|
|
150687
|
+
if (!this._instance) {
|
|
150688
|
+
this._instance = new DrawConfig(); // this._instance = new PrintStatus();
|
|
150689
|
+
}
|
|
150690
|
+
|
|
150691
|
+
return this._instance;
|
|
150692
|
+
}
|
|
150693
|
+
}]);
|
|
150694
|
+
|
|
150695
|
+
return DrawConfig;
|
|
150696
|
+
}();
|
|
150697
|
+
|
|
150998
150698
|
/***/ }),
|
|
150999
150699
|
|
|
151000
150700
|
/***/ "cfa4":
|
|
@@ -154621,6 +154321,330 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
154621
154321
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
154622
154322
|
|
|
154623
154323
|
|
|
154324
|
+
/***/ }),
|
|
154325
|
+
|
|
154326
|
+
/***/ "ddd4":
|
|
154327
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
154328
|
+
|
|
154329
|
+
"use strict";
|
|
154330
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return expressionCalculator; });
|
|
154331
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("caad");
|
|
154332
|
+
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
154333
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("2532");
|
|
154334
|
+
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
154335
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ac1f");
|
|
154336
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
154337
|
+
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("466d");
|
|
154338
|
+
/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
154339
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("a9e3");
|
|
154340
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
154341
|
+
|
|
154342
|
+
|
|
154343
|
+
|
|
154344
|
+
|
|
154345
|
+
|
|
154346
|
+
function expressionCalculator(expr) {
|
|
154347
|
+
var openCount = null;
|
|
154348
|
+
var closeCount = null;
|
|
154349
|
+
var flag = false;
|
|
154350
|
+
|
|
154351
|
+
if (expr.includes('(')) {
|
|
154352
|
+
var open = expr.match(/\(/g);
|
|
154353
|
+
if (open) openCount = open.length;
|
|
154354
|
+
}
|
|
154355
|
+
|
|
154356
|
+
if (expr.includes(')')) {
|
|
154357
|
+
var close = expr.match(/\)/g);
|
|
154358
|
+
if (close) closeCount = close.length;
|
|
154359
|
+
}
|
|
154360
|
+
|
|
154361
|
+
if (openCount != closeCount) throw new Error('ExpressionError: Brackets must be paired');
|
|
154362
|
+
var stSign = [];
|
|
154363
|
+
var stNum = [];
|
|
154364
|
+
var isOpenBracket = false;
|
|
154365
|
+
var prioritySign = {
|
|
154366
|
+
'-': 1,
|
|
154367
|
+
'+': 1,
|
|
154368
|
+
'/': 2,
|
|
154369
|
+
'*': 2
|
|
154370
|
+
};
|
|
154371
|
+
|
|
154372
|
+
function multi(one, two) {
|
|
154373
|
+
return one * two;
|
|
154374
|
+
}
|
|
154375
|
+
|
|
154376
|
+
function diff(one, two) {
|
|
154377
|
+
return one - two;
|
|
154378
|
+
}
|
|
154379
|
+
|
|
154380
|
+
function addition(one, two) {
|
|
154381
|
+
return one + two;
|
|
154382
|
+
}
|
|
154383
|
+
|
|
154384
|
+
function division(one, two) {
|
|
154385
|
+
return one / two;
|
|
154386
|
+
}
|
|
154387
|
+
|
|
154388
|
+
function getLastFromStack(arr) {
|
|
154389
|
+
return arr.pop();
|
|
154390
|
+
}
|
|
154391
|
+
|
|
154392
|
+
function addInArray(arr, element) {
|
|
154393
|
+
if (element) arr.push(element);
|
|
154394
|
+
}
|
|
154395
|
+
|
|
154396
|
+
function innerBracketExpr(stNum, stSign) {
|
|
154397
|
+
for (var index = stSign.length - 1; index >= 0; index--) {
|
|
154398
|
+
if (stSign[index] == '(') {
|
|
154399
|
+
stSign.pop();
|
|
154400
|
+
break;
|
|
154401
|
+
} else {
|
|
154402
|
+
var element = stSign[index];
|
|
154403
|
+
var stLastNumber = stNum[stNum.length - 1];
|
|
154404
|
+
var stPreLastNumber = stNum[stNum.length - 2]; // debugger
|
|
154405
|
+
|
|
154406
|
+
switch (element) {
|
|
154407
|
+
case '/':
|
|
154408
|
+
{
|
|
154409
|
+
if (stLastNumber == 0) throw new Error("TypeError: Division by zero.");
|
|
154410
|
+
var rest = stPreLastNumber / stLastNumber;
|
|
154411
|
+
stNum.pop();
|
|
154412
|
+
stNum.pop();
|
|
154413
|
+
stSign.pop();
|
|
154414
|
+
stNum.push(rest);
|
|
154415
|
+
flag = false; // debugger
|
|
154416
|
+
|
|
154417
|
+
break;
|
|
154418
|
+
}
|
|
154419
|
+
|
|
154420
|
+
case '*':
|
|
154421
|
+
{
|
|
154422
|
+
var _rest = stPreLastNumber * stLastNumber;
|
|
154423
|
+
|
|
154424
|
+
stNum.pop();
|
|
154425
|
+
stNum.pop();
|
|
154426
|
+
stSign.pop();
|
|
154427
|
+
stNum.push(_rest);
|
|
154428
|
+
flag = false; // debugger
|
|
154429
|
+
|
|
154430
|
+
break;
|
|
154431
|
+
}
|
|
154432
|
+
|
|
154433
|
+
case '+':
|
|
154434
|
+
{
|
|
154435
|
+
var _rest2 = Number(stPreLastNumber) + Number(stLastNumber);
|
|
154436
|
+
|
|
154437
|
+
stNum.pop();
|
|
154438
|
+
stNum.pop();
|
|
154439
|
+
stSign.pop();
|
|
154440
|
+
stNum.push(_rest2);
|
|
154441
|
+
flag = false; // debugger
|
|
154442
|
+
|
|
154443
|
+
break;
|
|
154444
|
+
}
|
|
154445
|
+
|
|
154446
|
+
case '-':
|
|
154447
|
+
{
|
|
154448
|
+
var _rest3 = stPreLastNumber - stLastNumber;
|
|
154449
|
+
|
|
154450
|
+
stNum.pop();
|
|
154451
|
+
stNum.pop();
|
|
154452
|
+
stSign.pop();
|
|
154453
|
+
stNum.push(_rest3);
|
|
154454
|
+
flag = false; // debugger
|
|
154455
|
+
|
|
154456
|
+
break;
|
|
154457
|
+
}
|
|
154458
|
+
|
|
154459
|
+
case '(':
|
|
154460
|
+
// debugger
|
|
154461
|
+
break;
|
|
154462
|
+
|
|
154463
|
+
default:
|
|
154464
|
+
break;
|
|
154465
|
+
}
|
|
154466
|
+
}
|
|
154467
|
+
}
|
|
154468
|
+
}
|
|
154469
|
+
|
|
154470
|
+
function yo(stSign, stNum, element) {
|
|
154471
|
+
if (stSign.length == 0) stSign.push(element);else {
|
|
154472
|
+
if (element == '(') {
|
|
154473
|
+
stSign.push(element); // debugger
|
|
154474
|
+
|
|
154475
|
+
return;
|
|
154476
|
+
}
|
|
154477
|
+
|
|
154478
|
+
if (element == ')') {
|
|
154479
|
+
// debugger
|
|
154480
|
+
innerBracketExpr(stNum, stSign);
|
|
154481
|
+
} else {
|
|
154482
|
+
var lastElInStack = stSign[stSign.length - 1];
|
|
154483
|
+
var stPriority = prioritySign[lastElInStack];
|
|
154484
|
+
var curPriority = prioritySign[element];
|
|
154485
|
+
|
|
154486
|
+
if (lastElInStack == '(') {
|
|
154487
|
+
stSign.push(element); // debugger
|
|
154488
|
+
} else {
|
|
154489
|
+
if (curPriority < stPriority || curPriority == stPriority) {
|
|
154490
|
+
var stLastNumber = stNum[stNum.length - 1];
|
|
154491
|
+
var stPreLastNumber = stNum[stNum.length - 2]; // debugger
|
|
154492
|
+
|
|
154493
|
+
switch (lastElInStack) {
|
|
154494
|
+
case '/':
|
|
154495
|
+
{
|
|
154496
|
+
if (stLastNumber == 0) throw new Error("TypeError: Division by zero.");
|
|
154497
|
+
var rest = stPreLastNumber / stLastNumber;
|
|
154498
|
+
stNum.pop();
|
|
154499
|
+
stNum.pop();
|
|
154500
|
+
stSign.pop();
|
|
154501
|
+
stNum.push(rest);
|
|
154502
|
+
flag = false; // debugger
|
|
154503
|
+
|
|
154504
|
+
yo(stSign, stNum, element);
|
|
154505
|
+
break;
|
|
154506
|
+
}
|
|
154507
|
+
|
|
154508
|
+
case '*':
|
|
154509
|
+
{
|
|
154510
|
+
var _rest4 = stPreLastNumber * stLastNumber;
|
|
154511
|
+
|
|
154512
|
+
stNum.pop();
|
|
154513
|
+
stNum.pop();
|
|
154514
|
+
stSign.pop();
|
|
154515
|
+
stNum.push(_rest4);
|
|
154516
|
+
flag = false; // debugger
|
|
154517
|
+
|
|
154518
|
+
yo(stSign, stNum, element);
|
|
154519
|
+
break;
|
|
154520
|
+
}
|
|
154521
|
+
|
|
154522
|
+
case '+':
|
|
154523
|
+
{
|
|
154524
|
+
var _rest5 = Number(stPreLastNumber) + Number(stLastNumber);
|
|
154525
|
+
|
|
154526
|
+
stNum.pop();
|
|
154527
|
+
stNum.pop();
|
|
154528
|
+
stSign.pop();
|
|
154529
|
+
stNum.push(_rest5);
|
|
154530
|
+
flag = false; // debugger
|
|
154531
|
+
|
|
154532
|
+
yo(stSign, stNum, element);
|
|
154533
|
+
break;
|
|
154534
|
+
}
|
|
154535
|
+
|
|
154536
|
+
case '-':
|
|
154537
|
+
{
|
|
154538
|
+
var _rest6 = stPreLastNumber - stLastNumber;
|
|
154539
|
+
|
|
154540
|
+
stNum.pop();
|
|
154541
|
+
stNum.pop();
|
|
154542
|
+
stSign.pop();
|
|
154543
|
+
stNum.push(_rest6);
|
|
154544
|
+
flag = false; // debugger
|
|
154545
|
+
|
|
154546
|
+
yo(stSign, stNum, element);
|
|
154547
|
+
break;
|
|
154548
|
+
}
|
|
154549
|
+
|
|
154550
|
+
case '(':
|
|
154551
|
+
// debugger
|
|
154552
|
+
break;
|
|
154553
|
+
|
|
154554
|
+
default:
|
|
154555
|
+
break;
|
|
154556
|
+
}
|
|
154557
|
+
} else if (curPriority > stPriority) {
|
|
154558
|
+
stSign.push(element);
|
|
154559
|
+
}
|
|
154560
|
+
}
|
|
154561
|
+
}
|
|
154562
|
+
}
|
|
154563
|
+
}
|
|
154564
|
+
|
|
154565
|
+
var result = expr.match(/(\d+)|[-/+()*]/g);
|
|
154566
|
+
if (!result) throw new Error("非法的数学表达式");
|
|
154567
|
+
|
|
154568
|
+
for (var index = 0; index < result.length; index++) {
|
|
154569
|
+
var element = parseInt(result[index]);
|
|
154570
|
+
|
|
154571
|
+
if (!isNaN(element)) {
|
|
154572
|
+
stNum.push(element);
|
|
154573
|
+
} else {
|
|
154574
|
+
yo(stSign, stNum, result[index]);
|
|
154575
|
+
}
|
|
154576
|
+
}
|
|
154577
|
+
|
|
154578
|
+
for (var _index = stSign.length - 1; _index >= 0; _index--) {
|
|
154579
|
+
var _element = stSign[_index];
|
|
154580
|
+
var stLastNumber = stNum[stNum.length - 1];
|
|
154581
|
+
var stPreLastNumber = stNum[stNum.length - 2];
|
|
154582
|
+
|
|
154583
|
+
switch (_element) {
|
|
154584
|
+
case '/':
|
|
154585
|
+
{
|
|
154586
|
+
if (stLastNumber == 0) throw new Error("TypeError: Division by zero.");
|
|
154587
|
+
var rest = stPreLastNumber / stLastNumber;
|
|
154588
|
+
stNum.pop();
|
|
154589
|
+
stNum.pop();
|
|
154590
|
+
stSign.pop();
|
|
154591
|
+
stNum.push(rest);
|
|
154592
|
+
flag = false; // debugger
|
|
154593
|
+
|
|
154594
|
+
break;
|
|
154595
|
+
}
|
|
154596
|
+
|
|
154597
|
+
case '*':
|
|
154598
|
+
{
|
|
154599
|
+
var _rest7 = stPreLastNumber * stLastNumber;
|
|
154600
|
+
|
|
154601
|
+
stNum.pop();
|
|
154602
|
+
stNum.pop();
|
|
154603
|
+
stSign.pop();
|
|
154604
|
+
stNum.push(_rest7);
|
|
154605
|
+
flag = false; // debugger
|
|
154606
|
+
|
|
154607
|
+
break;
|
|
154608
|
+
}
|
|
154609
|
+
|
|
154610
|
+
case '+':
|
|
154611
|
+
{
|
|
154612
|
+
var _rest8 = Number(stPreLastNumber) + Number(stLastNumber);
|
|
154613
|
+
|
|
154614
|
+
stNum.pop();
|
|
154615
|
+
stNum.pop();
|
|
154616
|
+
stSign.pop();
|
|
154617
|
+
stNum.push(_rest8);
|
|
154618
|
+
flag = false; // debugger
|
|
154619
|
+
|
|
154620
|
+
break;
|
|
154621
|
+
}
|
|
154622
|
+
|
|
154623
|
+
case '-':
|
|
154624
|
+
{
|
|
154625
|
+
var _rest9 = stPreLastNumber - stLastNumber;
|
|
154626
|
+
|
|
154627
|
+
stNum.pop();
|
|
154628
|
+
stNum.pop();
|
|
154629
|
+
stSign.pop();
|
|
154630
|
+
stNum.push(_rest9);
|
|
154631
|
+
flag = false; // debugger
|
|
154632
|
+
|
|
154633
|
+
break;
|
|
154634
|
+
}
|
|
154635
|
+
|
|
154636
|
+
case '(':
|
|
154637
|
+
// debugger
|
|
154638
|
+
break;
|
|
154639
|
+
|
|
154640
|
+
default:
|
|
154641
|
+
break;
|
|
154642
|
+
}
|
|
154643
|
+
}
|
|
154644
|
+
|
|
154645
|
+
return stNum[0]; // console.log(stNum[0]);
|
|
154646
|
+
}
|
|
154647
|
+
|
|
154624
154648
|
/***/ }),
|
|
154625
154649
|
|
|
154626
154650
|
/***/ "defb":
|
|
@@ -161634,6 +161658,133 @@ module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[
|
|
|
161634
161658
|
/* unused harmony reexport * */
|
|
161635
161659
|
|
|
161636
161660
|
|
|
161661
|
+
/***/ }),
|
|
161662
|
+
|
|
161663
|
+
/***/ "e5d9":
|
|
161664
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
161665
|
+
|
|
161666
|
+
"use strict";
|
|
161667
|
+
|
|
161668
|
+
// EXPORTS
|
|
161669
|
+
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ DrawTableFormular_DrawTableFormular; });
|
|
161670
|
+
|
|
161671
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
161672
|
+
var classCallCheck = __webpack_require__("d4ec");
|
|
161673
|
+
|
|
161674
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
161675
|
+
var assertThisInitialized = __webpack_require__("257e");
|
|
161676
|
+
|
|
161677
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
|
161678
|
+
var inherits = __webpack_require__("262e");
|
|
161679
|
+
|
|
161680
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 2 modules
|
|
161681
|
+
var createSuper = __webpack_require__("2caf");
|
|
161682
|
+
|
|
161683
|
+
// EXTERNAL MODULE: ./src/editor/draw/drawObj/DrawStyleText.ts
|
|
161684
|
+
var DrawStyleText = __webpack_require__("d6db");
|
|
161685
|
+
|
|
161686
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
161687
|
+
var createClass = __webpack_require__("bee2");
|
|
161688
|
+
|
|
161689
|
+
// EXTERNAL MODULE: ./src/yuki-createjs/index.ts
|
|
161690
|
+
var yuki_createjs = __webpack_require__("120e");
|
|
161691
|
+
|
|
161692
|
+
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawContainer.ts
|
|
161693
|
+
var DrawContainer = __webpack_require__("b8e2");
|
|
161694
|
+
|
|
161695
|
+
// EXTERNAL MODULE: ./src/editor/draw/IDrawInfos.ts
|
|
161696
|
+
var IDrawInfos = __webpack_require__("8bda");
|
|
161697
|
+
|
|
161698
|
+
// CONCATENATED MODULE: ./src/editor/draw/drawNode/DrawSimpleNode.ts
|
|
161699
|
+
|
|
161700
|
+
|
|
161701
|
+
|
|
161702
|
+
|
|
161703
|
+
|
|
161704
|
+
|
|
161705
|
+
//不能进行分割的普通绘制节点;
|
|
161706
|
+
|
|
161707
|
+
var DrawSimpleNode_DrawSimpleNode = /*#__PURE__*/function (_DrawContainer) {
|
|
161708
|
+
Object(inherits["a" /* default */])(DrawSimpleNode, _DrawContainer);
|
|
161709
|
+
|
|
161710
|
+
var _super = Object(createSuper["a" /* default */])(DrawSimpleNode);
|
|
161711
|
+
|
|
161712
|
+
// protected _index!: number;
|
|
161713
|
+
// get selectShape(): createjs.Shape {
|
|
161714
|
+
// if (!this._selectShape) {
|
|
161715
|
+
// this._selectShape = new createjs.Shape();
|
|
161716
|
+
// }
|
|
161717
|
+
// const selectRect = this._selectShape.getBounds();
|
|
161718
|
+
// const bound = this.getBounds();
|
|
161719
|
+
// if (selectRect !== bound) {
|
|
161720
|
+
// this._selectShape.setBounds(bound.x, bound.y, bound.width, bound.height);
|
|
161721
|
+
// this._selectShape.graphics
|
|
161722
|
+
// .beginFill("blue")
|
|
161723
|
+
// .rect(bound.x, bound.y, bound.width, bound.height);
|
|
161724
|
+
// this._selectShape.alpha = 0.5;
|
|
161725
|
+
// }
|
|
161726
|
+
// return this._selectShape;
|
|
161727
|
+
// }
|
|
161728
|
+
function DrawSimpleNode(rootPath, node, index) {
|
|
161729
|
+
var _this;
|
|
161730
|
+
|
|
161731
|
+
Object(classCallCheck["a" /* default */])(this, DrawSimpleNode);
|
|
161732
|
+
|
|
161733
|
+
_this = _super.call(this, rootPath, index);
|
|
161734
|
+
_this._node = node;
|
|
161735
|
+
_this._discriminator = IDrawInfos["a" /* gDrawIntfID */];
|
|
161736
|
+
return _this;
|
|
161737
|
+
}
|
|
161738
|
+
|
|
161739
|
+
Object(createClass["a" /* default */])(DrawSimpleNode, [{
|
|
161740
|
+
key: "discriminator",
|
|
161741
|
+
get: function get() {
|
|
161742
|
+
return this._discriminator;
|
|
161743
|
+
},
|
|
161744
|
+
set: function set(discriminator) {
|
|
161745
|
+
this._discriminator = discriminator;
|
|
161746
|
+
}
|
|
161747
|
+
}, {
|
|
161748
|
+
key: "index",
|
|
161749
|
+
get: function get() {
|
|
161750
|
+
return this._index;
|
|
161751
|
+
}
|
|
161752
|
+
}, {
|
|
161753
|
+
key: "node",
|
|
161754
|
+
get: function get() {
|
|
161755
|
+
return this._node;
|
|
161756
|
+
}
|
|
161757
|
+
}]);
|
|
161758
|
+
|
|
161759
|
+
return DrawSimpleNode;
|
|
161760
|
+
}(DrawContainer["a" /* DrawContainer */]);
|
|
161761
|
+
// CONCATENATED MODULE: ./src/editor/draw/drawNode/DrawTableFormular.ts
|
|
161762
|
+
|
|
161763
|
+
|
|
161764
|
+
|
|
161765
|
+
|
|
161766
|
+
|
|
161767
|
+
|
|
161768
|
+
var DrawTableFormular_DrawTableFormular = /*#__PURE__*/function (_DrawSimpleNode) {
|
|
161769
|
+
Object(inherits["a" /* default */])(DrawTableFormular, _DrawSimpleNode);
|
|
161770
|
+
|
|
161771
|
+
var _super = Object(createSuper["a" /* default */])(DrawTableFormular);
|
|
161772
|
+
|
|
161773
|
+
function DrawTableFormular(rootPath, node, text) {
|
|
161774
|
+
var _this;
|
|
161775
|
+
|
|
161776
|
+
Object(classCallCheck["a" /* default */])(this, DrawTableFormular);
|
|
161777
|
+
|
|
161778
|
+
_this = _super.call(this, rootPath, node, 0);
|
|
161779
|
+
var dStyleText = new DrawStyleText["a" /* DrawStyleText */](node.hoEditorFactoryID, Object(assertThisInitialized["a" /* default */])(_this), text, node.styleIndex);
|
|
161780
|
+
_this._dHeight = dStyleText.dHeight;
|
|
161781
|
+
_this._dWidth = dStyleText.dWidth;
|
|
161782
|
+
return _this;
|
|
161783
|
+
}
|
|
161784
|
+
|
|
161785
|
+
return DrawTableFormular;
|
|
161786
|
+
}(DrawSimpleNode_DrawSimpleNode);
|
|
161787
|
+
|
|
161637
161788
|
/***/ }),
|
|
161638
161789
|
|
|
161639
161790
|
/***/ "e5f6":
|
|
@@ -169479,17 +169630,6 @@ function setCanvasModule(canvasModule) {
|
|
|
169479
169630
|
|
|
169480
169631
|
|
|
169481
169632
|
|
|
169482
|
-
/***/ }),
|
|
169483
|
-
|
|
169484
|
-
/***/ "f331":
|
|
169485
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
169486
|
-
|
|
169487
|
-
"use strict";
|
|
169488
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HoPage_vue_vue_type_style_index_0_id_1c05a630_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f769");
|
|
169489
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HoPage_vue_vue_type_style_index_0_id_1c05a630_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HoPage_vue_vue_type_style_index_0_id_1c05a630_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
169490
|
-
/* unused harmony reexport * */
|
|
169491
|
-
|
|
169492
|
-
|
|
169493
169633
|
/***/ }),
|
|
169494
169634
|
|
|
169495
169635
|
/***/ "f36a":
|
|
@@ -172408,6 +172548,17 @@ module.exports = __webpack_require__("e974");
|
|
|
172408
172548
|
|
|
172409
172549
|
/******/ });
|
|
172410
172550
|
|
|
172551
|
+
/***/ }),
|
|
172552
|
+
|
|
172553
|
+
/***/ "f5ad":
|
|
172554
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
172555
|
+
|
|
172556
|
+
"use strict";
|
|
172557
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_17141de4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4a15");
|
|
172558
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_17141de4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_HistoryLogs_vue_vue_type_style_index_0_id_17141de4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
172559
|
+
/* unused harmony reexport * */
|
|
172560
|
+
|
|
172561
|
+
|
|
172411
172562
|
/***/ }),
|
|
172412
172563
|
|
|
172413
172564
|
/***/ "f5df":
|
|
@@ -172687,13 +172838,6 @@ var PermanentTeethMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
172687
172838
|
|
|
172688
172839
|
/***/ }),
|
|
172689
172840
|
|
|
172690
|
-
/***/ "f769":
|
|
172691
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
172692
|
-
|
|
172693
|
-
// extracted by mini-css-extract-plugin
|
|
172694
|
-
|
|
172695
|
-
/***/ }),
|
|
172696
|
-
|
|
172697
172841
|
/***/ "f772":
|
|
172698
172842
|
/***/ (function(module, exports, __webpack_require__) {
|
|
172699
172843
|
|
|
@@ -173671,12 +173815,12 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
173671
173815
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
173672
173816
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
173673
173817
|
|
|
173674
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
173675
|
-
var
|
|
173818
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=fe729838&
|
|
173819
|
+
var HoDocsvue_type_template_id_fe729838_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isListStyle":_vm.isListStyle},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true}],null,true)}),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e(),_c('ViewContinuousXml',{attrs:{"hoEditorFactoryId":_vm.activeDocId}})],1):_vm._e()}
|
|
173676
173820
|
var staticRenderFns = []
|
|
173677
173821
|
|
|
173678
173822
|
|
|
173679
|
-
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=
|
|
173823
|
+
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=fe729838&
|
|
173680
173824
|
|
|
173681
173825
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
173682
173826
|
var es_object_keys = __webpack_require__("b64b");
|
|
@@ -174591,12 +174735,12 @@ function isPromise(obj) {
|
|
|
174591
174735
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
174592
174736
|
}
|
|
174593
174737
|
|
|
174594
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
174595
|
-
var
|
|
174596
|
-
var
|
|
174738
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=25ab8436&
|
|
174739
|
+
var HoDocvue_type_template_id_25ab8436_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount - 1 && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount + 1)?_c('HoPage',{directives:[{name:"show",rawName:"v-show",value:(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount),expression:"pgIndex - 1 >= currentPageIndex * paginationCount && pgIndex - 1 < (currentPageIndex + 1) * paginationCount"}],key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)}):_vm._e()]})],2):_vm._e(),(_vm.currentPageList > 1)?_c('ul',{staticClass:"draw-pagination"},_vm._l((_vm.currentPageList),function(i){return _c('li',{key:i,class:_vm.currentPageIndex === i - 1 ? 'current-pagination' : '',on:{"click":function($event){return _vm.setCurrentPagination(i - 1)}}},[_vm._v(_vm._s(i))])}),0):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return _vm.isCreateRightMenuModal = false; }),expression:"() => isCreateRightMenuModal = false"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v("编辑器内核版本: "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
|
|
174740
|
+
var HoDocvue_type_template_id_25ab8436_staticRenderFns = []
|
|
174597
174741
|
|
|
174598
174742
|
|
|
174599
|
-
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=
|
|
174743
|
+
// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=25ab8436&
|
|
174600
174744
|
|
|
174601
174745
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
174602
174746
|
var toConsumableArray = __webpack_require__("2909");
|
|
@@ -174613,12 +174757,12 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
174613
174757
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
174614
174758
|
var es_string_replace = __webpack_require__("5319");
|
|
174615
174759
|
|
|
174616
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
174617
|
-
var
|
|
174618
|
-
var
|
|
174760
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoPage.vue?vue&type=template&id=876d1352&scoped=true&
|
|
174761
|
+
var HoPagevue_type_template_id_876d1352_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"hoPage",class:_vm.pageClassNames,style:({ height: _vm.canvasHeight + 'px', width: _vm.canvasWidth + 'px' })},[_c('canvas',{ref:"domcanvas",class:_vm.domCanvasName,attrs:{"width":_vm.doubleCanvasWidth,"height":_vm.doubleCanvasHeight}}),_c('canvas',{ref:"selectcanvas",staticClass:"selectcanvas",attrs:{"width":_vm.doubleCanvasWidth,"height":_vm.doubleCanvasHeight},on:{"contextmenu":function($event){return _vm.canvasRightClick.apply(null, arguments)}}}),(_vm.isPoperText)?_c('PoperTipText',{attrs:{"poperText":_vm.poperText,"poperPos":_vm.poperPos},on:{"poperTextClose":_vm.poperTextClose}}):_vm._e(),(_vm.isHeadFoot === 'header' || _vm.isHeadFoot === 'footer')?_c('ho-head-foot',{attrs:{"headerFooterPosition":_vm.canvasHeadFootPos,"isHeadFoot":_vm.isHeadFoot},scopedSlots:_vm._u([{key:"head",fn:function(){return [_vm._t("hoPageHead")]},proxy:true},{key:"foot",fn:function(){return [_vm._t("hoPageFoot")]},proxy:true}],null,true)}):_vm._e()],1)}
|
|
174762
|
+
var HoPagevue_type_template_id_876d1352_scoped_true_staticRenderFns = []
|
|
174619
174763
|
|
|
174620
174764
|
|
|
174621
|
-
// CONCATENATED MODULE: ./src/components/HoPage.vue?vue&type=template&id=
|
|
174765
|
+
// CONCATENATED MODULE: ./src/components/HoPage.vue?vue&type=template&id=876d1352&scoped=true&
|
|
174622
174766
|
|
|
174623
174767
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
|
174624
174768
|
var es_string_split = __webpack_require__("1276");
|
|
@@ -174683,46 +174827,9 @@ var TableProperty = __webpack_require__("26a9");
|
|
|
174683
174827
|
// EXTERNAL MODULE: ./src/HOEditorFactorys.ts
|
|
174684
174828
|
var HOEditorFactorys = __webpack_require__("8d1d");
|
|
174685
174829
|
|
|
174686
|
-
//
|
|
174830
|
+
// EXTERNAL MODULE: ./src/editor/draw/DrawConfig.ts
|
|
174831
|
+
var DrawConfig = __webpack_require__("cf50");
|
|
174687
174832
|
|
|
174688
|
-
|
|
174689
|
-
var DrawConfig_DrawConfig = /*#__PURE__*/function () {
|
|
174690
|
-
function DrawConfig() {
|
|
174691
|
-
Object(classCallCheck["a" /* default */])(this, DrawConfig);
|
|
174692
|
-
|
|
174693
|
-
this._domScaleXY = 2;
|
|
174694
|
-
this._selectScaleXY = 2;
|
|
174695
|
-
}
|
|
174696
|
-
|
|
174697
|
-
Object(createClass["a" /* default */])(DrawConfig, [{
|
|
174698
|
-
key: "domScaleXY",
|
|
174699
|
-
get: function get() {
|
|
174700
|
-
return this._domScaleXY;
|
|
174701
|
-
},
|
|
174702
|
-
set: function set(domScaleXY) {
|
|
174703
|
-
this._domScaleXY = domScaleXY;
|
|
174704
|
-
}
|
|
174705
|
-
}, {
|
|
174706
|
-
key: "selectScaleXY",
|
|
174707
|
-
get: function get() {
|
|
174708
|
-
return this._selectScaleXY;
|
|
174709
|
-
},
|
|
174710
|
-
set: function set(selectScaleXY) {
|
|
174711
|
-
this._selectScaleXY = selectScaleXY;
|
|
174712
|
-
}
|
|
174713
|
-
}], [{
|
|
174714
|
-
key: "instance",
|
|
174715
|
-
value: function instance() {
|
|
174716
|
-
if (!this._instance) {
|
|
174717
|
-
this._instance = new DrawConfig(); // this._instance = new PrintStatus();
|
|
174718
|
-
}
|
|
174719
|
-
|
|
174720
|
-
return this._instance;
|
|
174721
|
-
}
|
|
174722
|
-
}]);
|
|
174723
|
-
|
|
174724
|
-
return DrawConfig;
|
|
174725
|
-
}();
|
|
174726
174833
|
// CONCATENATED MODULE: ./src/editor/draw/DrawSelectLevel.ts
|
|
174727
174834
|
|
|
174728
174835
|
|
|
@@ -174822,16 +174929,12 @@ var DrawSelectLevel_DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
174822
174929
|
var _dPage$drawDomLevel, _dPage$drawDomLevel2;
|
|
174823
174930
|
|
|
174824
174931
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
174825
|
-
this._selectCanvas.width = hoEditorFactory.pageProperty.
|
|
174932
|
+
this._selectCanvas.width = hoEditorFactory.pageProperty.canvasParams.width;
|
|
174933
|
+
this._selectCanvas.height = hoEditorFactory.pageProperty.canvasParams.height; // if (hoEditorFactory.drawTree.paintStatus === PaintState.psReview) {
|
|
174826
174934
|
|
|
174827
|
-
if (hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReview) {
|
|
174828
|
-
this._selectCanvas.width += 100;
|
|
174829
|
-
}
|
|
174830
|
-
|
|
174831
|
-
this._selectCanvas.height = hoEditorFactory.pageProperty.heightPixes * DrawConfig_DrawConfig.instance().domScaleXY;
|
|
174832
174935
|
this._selectStage = new createjs.Stage(this._selectCanvas);
|
|
174833
|
-
this._selectStage.scaleX =
|
|
174834
|
-
this._selectStage.scaleY =
|
|
174936
|
+
this._selectStage.scaleX = DrawConfig["a" /* DrawConfig */].instance().scaleXY;
|
|
174937
|
+
this._selectStage.scaleY = DrawConfig["a" /* DrawConfig */].instance().scaleXY;
|
|
174835
174938
|
var dPage = hoEditorFactory.drawTree.drawPages[this._pageIndex];
|
|
174836
174939
|
if ((_dPage$drawDomLevel = dPage.drawDomLevel) !== null && _dPage$drawDomLevel !== void 0 && _dPage$drawDomLevel.stage) this._selectStage.nextStage = (_dPage$drawDomLevel2 = dPage.drawDomLevel) === null || _dPage$drawDomLevel2 === void 0 ? void 0 : _dPage$drawDomLevel2.stage;
|
|
174837
174940
|
dPage.setEnableMouseOver(5);
|
|
@@ -175517,7 +175620,6 @@ var SubDocManger = __webpack_require__("59dd");
|
|
|
175517
175620
|
|
|
175518
175621
|
|
|
175519
175622
|
|
|
175520
|
-
|
|
175521
175623
|
var DrawPlace;
|
|
175522
175624
|
|
|
175523
175625
|
(function (DrawPlace) {
|
|
@@ -175607,16 +175709,15 @@ var DrawDomLevel_DrawDomLevel = /*#__PURE__*/function () {
|
|
|
175607
175709
|
value: function bindStage(isPrint) {
|
|
175608
175710
|
if (!this._domStage) {
|
|
175609
175711
|
var hoeditorfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
175610
|
-
this._domCanvas.width = hoeditorfactory.pageProperty.
|
|
175611
|
-
|
|
175612
|
-
|
|
175613
|
-
|
|
175614
|
-
|
|
175712
|
+
this._domCanvas.width = hoeditorfactory.pageProperty.canvasParams.width;
|
|
175713
|
+
this._domCanvas.height = hoeditorfactory.pageProperty.canvasParams.height; // if (hoeditorfactory.drawTree.paintStatus === PaintState.psReview) {
|
|
175714
|
+
// this._domCanvas.width += 100;
|
|
175715
|
+
// }
|
|
175716
|
+
// this._domCanvas.height = hoeditorfactory.pageProperty.heightPixes * DrawConfig.instance().scaleXY;
|
|
175615
175717
|
|
|
175616
|
-
this._domCanvas.height = hoeditorfactory.pageProperty.heightPixes * DrawConfig_DrawConfig.instance().domScaleXY;
|
|
175617
175718
|
this._domStage = new createjs.Stage(this._domCanvas);
|
|
175618
|
-
this._domStage.scaleX =
|
|
175619
|
-
this._domStage.scaleY =
|
|
175719
|
+
this._domStage.scaleX = DrawConfig["a" /* DrawConfig */].instance().scaleXY;
|
|
175720
|
+
this._domStage.scaleY = DrawConfig["a" /* DrawConfig */].instance().scaleXY;
|
|
175620
175721
|
var dPage = hoeditorfactory.drawTree.drawPages[this._pageIndex];
|
|
175621
175722
|
|
|
175622
175723
|
this._domStage.addChild(dPage.drawDocContainer);
|
|
@@ -175734,7 +175835,7 @@ var DrawDomLevel_DrawDomLevel = /*#__PURE__*/function () {
|
|
|
175734
175835
|
value: function getDrawPlaceByPos(x, y) {
|
|
175735
175836
|
var hoeditorfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
175736
175837
|
var dPage = hoeditorfactory.drawTree.drawPages[this._pageIndex];
|
|
175737
|
-
var adjy = y /
|
|
175838
|
+
var adjy = y / DrawConfig["a" /* DrawConfig */].instance().scaleXY;
|
|
175738
175839
|
|
|
175739
175840
|
if (adjy >= 0 && adjy <= this._mainDocTop) {
|
|
175740
175841
|
return dPage.drawHeader;
|
|
@@ -175753,7 +175854,7 @@ var DrawDomLevel_DrawDomLevel = /*#__PURE__*/function () {
|
|
|
175753
175854
|
|
|
175754
175855
|
return DrawDomLevel;
|
|
175755
175856
|
}();
|
|
175756
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
175857
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoHeadFoot.vue?vue&type=template&id=5d96d796&scoped=true&
|
|
175757
175858
|
var HoHeadFootvue_type_template_id_5d96d796_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('ul',{staticClass:"ho-headfoot-list ho-head-list",style:(_vm.headTop)},[_c('li',{staticClass:"ho-headfoot-item"},[_vm._v("页眉")]),_c('span',{staticStyle:{"flex":"1"}}),_vm._t("head")],2),_c('ul',{staticClass:"ho-headfoot-list ho-head-list",style:(_vm.footerTop)},[_c('li',{staticClass:"ho-headfoot-item"},[_vm._v("页脚")]),_c('span',{staticStyle:{"flex":"1"}}),_vm._t("foot")],2)])}
|
|
175758
175859
|
var HoHeadFootvue_type_template_id_5d96d796_scoped_true_staticRenderFns = []
|
|
175759
175860
|
|
|
@@ -175928,7 +176029,7 @@ var component = normalizeComponent(
|
|
|
175928
176029
|
)
|
|
175929
176030
|
|
|
175930
176031
|
/* harmony default export */ var components_HoHeadFoot = (component.exports);
|
|
175931
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
176032
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=06cc5327&scoped=true&
|
|
175932
176033
|
var PoperTipTextvue_type_template_id_06cc5327_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],staticClass:"poper-text-modal animation-in",style:(_vm.posStyle)},[_c('div',{class:_vm.poperDirection === 'bottom' ? 'poper-arrow poper-arrow-bottom' : 'poper-arrow poper-arrow-top'}),_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])})],2)}
|
|
175933
176034
|
var PoperTipTextvue_type_template_id_06cc5327_scoped_true_staticRenderFns = []
|
|
175934
176035
|
|
|
@@ -176121,7 +176222,6 @@ var PoperTipText_component = normalizeComponent(
|
|
|
176121
176222
|
|
|
176122
176223
|
|
|
176123
176224
|
|
|
176124
|
-
|
|
176125
176225
|
var HoPagevue_type_script_lang_ts_HoPage = /*#__PURE__*/function (_Vue) {
|
|
176126
176226
|
Object(inherits["a" /* default */])(HoPage, _Vue);
|
|
176127
176227
|
|
|
@@ -176156,22 +176256,12 @@ var HoPagevue_type_script_lang_ts_HoPage = /*#__PURE__*/function (_Vue) {
|
|
|
176156
176256
|
}, {
|
|
176157
176257
|
key: "doubleCanvasHeight",
|
|
176158
176258
|
get: function get() {
|
|
176159
|
-
|
|
176160
|
-
return this.canvasHeight * DrawConfig_DrawConfig.instance().domScaleXY;
|
|
176259
|
+
return this.canvasHeight;
|
|
176161
176260
|
}
|
|
176162
176261
|
}, {
|
|
176163
176262
|
key: "doubleCanvasWidth",
|
|
176164
176263
|
get: function get() {
|
|
176165
|
-
|
|
176166
|
-
return this.canvasWidth * DrawConfig_DrawConfig.instance().domScaleXY;
|
|
176167
|
-
}
|
|
176168
|
-
}, {
|
|
176169
|
-
key: "style",
|
|
176170
|
-
get: function get() {
|
|
176171
|
-
return {
|
|
176172
|
-
width: this.canvasWidth + "px",
|
|
176173
|
-
height: this.canvasHeight + "px"
|
|
176174
|
-
};
|
|
176264
|
+
return this.canvasWidth;
|
|
176175
176265
|
}
|
|
176176
176266
|
}, {
|
|
176177
176267
|
key: "domCanvasName",
|
|
@@ -176321,8 +176411,8 @@ HoPagevue_type_script_lang_ts_HoPage = __decorate([vue_class_component_esm({
|
|
|
176321
176411
|
/* harmony default export */ var HoPagevue_type_script_lang_ts_ = (HoPagevue_type_script_lang_ts_HoPage);
|
|
176322
176412
|
// CONCATENATED MODULE: ./src/components/HoPage.vue?vue&type=script&lang=ts&
|
|
176323
176413
|
/* harmony default export */ var components_HoPagevue_type_script_lang_ts_ = (HoPagevue_type_script_lang_ts_);
|
|
176324
|
-
// EXTERNAL MODULE: ./src/components/HoPage.vue?vue&type=style&index=0&id=
|
|
176325
|
-
var
|
|
176414
|
+
// EXTERNAL MODULE: ./src/components/HoPage.vue?vue&type=style&index=0&id=876d1352&scoped=true&lang=css&
|
|
176415
|
+
var HoPagevue_type_style_index_0_id_876d1352_scoped_true_lang_css_ = __webpack_require__("4b3f");
|
|
176326
176416
|
|
|
176327
176417
|
// CONCATENATED MODULE: ./src/components/HoPage.vue
|
|
176328
176418
|
|
|
@@ -176335,17 +176425,17 @@ var HoPagevue_type_style_index_0_id_1c05a630_scoped_true_lang_css_ = __webpack_r
|
|
|
176335
176425
|
|
|
176336
176426
|
var HoPage_component = normalizeComponent(
|
|
176337
176427
|
components_HoPagevue_type_script_lang_ts_,
|
|
176338
|
-
|
|
176339
|
-
|
|
176428
|
+
HoPagevue_type_template_id_876d1352_scoped_true_render,
|
|
176429
|
+
HoPagevue_type_template_id_876d1352_scoped_true_staticRenderFns,
|
|
176340
176430
|
false,
|
|
176341
176431
|
null,
|
|
176342
|
-
"
|
|
176432
|
+
"876d1352",
|
|
176343
176433
|
null
|
|
176344
176434
|
|
|
176345
176435
|
)
|
|
176346
176436
|
|
|
176347
176437
|
/* harmony default export */ var components_HoPage = (HoPage_component.exports);
|
|
176348
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
176438
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/backToPage/HoToPage.vue?vue&type=template&id=2e02cb8f&
|
|
176349
176439
|
var HoToPagevue_type_template_id_2e02cb8f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible)?_c('div',{staticClass:"ho-to-page",style:({
|
|
176350
176440
|
right: _vm.styleRight,
|
|
176351
176441
|
bottom: _vm.styleBottom,
|
|
@@ -176517,7 +176607,7 @@ var HoToPage_component = normalizeComponent(
|
|
|
176517
176607
|
// CONCATENATED MODULE: ./src/components/backToPage/index.ts
|
|
176518
176608
|
|
|
176519
176609
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
176520
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
176610
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=443a2e36&scoped=true&
|
|
176521
176611
|
var PoperSelectvue_type_template_id_443a2e36_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length > 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[_c('ul',{ref:"selectPoperList",staticClass:"list"},_vm._l((_vm.currentList),function(item,index){return _c('li',{key:item.id,class:item.default ? 'selected' : '',on:{"click":function($event){return _vm.selectItems(item, index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#selected"}})])])}),0),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择"},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id,staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.selectItems(item, index)}}})])]})],2):_vm._e()],1)]):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length === 0)?_c('div',[_vm._m(0)]):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
|
|
176522
176612
|
var PoperSelectvue_type_template_id_443a2e36_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])])}]
|
|
176523
176613
|
|
|
@@ -176599,7 +176689,7 @@ var textParams = {
|
|
|
176599
176689
|
readType: false,
|
|
176600
176690
|
keyValue: ''
|
|
176601
176691
|
};
|
|
176602
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
176692
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dateDialog/DatePanel.vue?vue&type=template&id=104516fd&
|
|
176603
176693
|
var DatePanelvue_type_template_id_104516fd_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"component-date",class:_vm.customClass},[_c('div',{staticClass:"my-vue-date2 "},[_c('div',{staticClass:"date-header"},[_c('i',{staticClass:"el-icon-d-arrow-left last",on:{"click":_vm.last}}),_c('p',[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'year'),expression:"type === 'year'"}]},[_vm._v(_vm._s(_vm.yearTitle)+" 年")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.type !== 'year'),expression:"type !== 'year'"}],on:{"click":_vm.showYear}},[_vm._v(_vm._s(_vm.year)+" 年")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'date'),expression:"type === 'date'"}],on:{"click":_vm.showMonth}},[_vm._v(_vm._s(_vm.month)+" 月")])]),_c('i',{staticClass:"el-icon-d-arrow-right next",on:{"click":_vm.next}})]),_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'year'),expression:"type === 'year'"}],staticClass:"years"},_vm._l((_vm.yearList),function(val){return _c('li',{key:val + Math.random(0, 1),class:_vm.nowYear == val ? 'active' : '',on:{"click":function($event){$event.stopPropagation();return _vm.getYear(val)}}},[_vm._v(_vm._s(val))])}),0),_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'month'),expression:"type === 'month'"}],staticClass:"years "},_vm._l((12),function(i){return _c('li',{key:i,class:_vm.month == i ? 'active' : '',on:{"click":function($event){$event.stopPropagation();return _vm.getMonth(i)}}},[_vm._v(_vm._s(i)+"月")])}),0),_c('table',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'date' && _vm.dateType === 'date'),expression:"type === 'date' && dateType === 'date'"}],attrs:{"colspan":"0","rowspan":"0"}},[_vm._m(0),_vm._l((_vm.rows),function(row,i){return _c('tr',{key:i},_vm._l((row),function(cell,n){return _c('td',{key:n,class:cell.date == _vm.nowDate ? 'today' : ''},[_c('span',{staticClass:"date-item",class:{ grey: cell.month == 'last' || cell.month == 'next', active: cell.date === _vm.date },attrs:{"title":cell.date},on:{"click":function($event){return _vm.getDate(cell, $event)}}},[_vm._v(_vm._s(cell.text))])])}),0)})],2)])])}
|
|
176604
176694
|
var DatePanelvue_type_template_id_104516fd_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('th',[_vm._v("日")]),_c('th',[_vm._v("一")]),_c('th',[_vm._v("二")]),_c('th',[_vm._v("三")]),_c('th',[_vm._v("四")]),_c('th',[_vm._v("五")]),_c('th',[_vm._v("六")])])}]
|
|
176605
176695
|
|
|
@@ -177581,7 +177671,7 @@ var PoperSelect_component = normalizeComponent(
|
|
|
177581
177671
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
177582
177672
|
|
|
177583
177673
|
/* harmony default export */ var poperSelect = (PoperSelect);
|
|
177584
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
177674
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=51088f79&scoped=true&
|
|
177585
177675
|
var TableCellPopervue_type_template_id_51088f79_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],staticClass:"cell-poper-selected-modal animation-in",style:(_vm.posStyle)},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch)?_c('el-input',{attrs:{"placeholder":"可搜索","size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}}):_vm._e(),(_vm.editorProperty === 1)?_c('div',{staticClass:"select-poper"},[_c('ul',{staticClass:"list"},[_vm._l((_vm.currentList),function(item,index){return _c('li',{key:item.id,class:item.default ? 'selected' : '',on:{"click":function($event){return _vm.selectItems(item, index)}}},[_c('span',[_vm._v(_vm._s(item.text.split("<元素>")[0]))]),_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#selected"}})])])}),(_vm.currentList.length === 0)?_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")]):_vm._e()],2),(_vm.isAllowMultiSelect)?_c('footer',{style:({ bottom: _vm.isAllowMultiSelect ? '-34px' : '0px' })},[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":function($event){_vm.selected = []}}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e()]):_vm._e(),(_vm.editorProperty === 2)?_c('div',{staticClass:"date-poper"},[(_vm.inputStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.inputStyle.includes('MM') && !_vm.inputStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.inputStyle.includes('yyyy') && !_vm.inputStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.inputStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v(_vm._s(_vm.inputStyle.indexOf("HH") !== -1 ? "此刻" : "今天"))]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":function($event){return _vm.handleClose('cancel')}}},[_vm._v("取消")])],1)],1):_vm._e()],1)}
|
|
177586
177676
|
var TableCellPopervue_type_template_id_51088f79_scoped_true_staticRenderFns = []
|
|
177587
177677
|
|
|
@@ -179463,7 +179553,7 @@ var SignNode = __webpack_require__("2bc5");
|
|
|
179463
179553
|
var ParagraphNode = __webpack_require__("1551");
|
|
179464
179554
|
|
|
179465
179555
|
// CONCATENATED MODULE: ./src/components/version.ts
|
|
179466
|
-
/* harmony default export */ var version = ('0.3.
|
|
179556
|
+
/* harmony default export */ var version = ('0.3.115');
|
|
179467
179557
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDoc.vue?vue&type=script&lang=ts&
|
|
179468
179558
|
|
|
179469
179559
|
|
|
@@ -179514,7 +179604,7 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
|
|
|
179514
179604
|
_this = _super.apply(this, arguments);
|
|
179515
179605
|
_this.dateFormat = util["e" /* dateFormat */];
|
|
179516
179606
|
_this.canvasParams = {
|
|
179517
|
-
width:
|
|
179607
|
+
width: 794,
|
|
179518
179608
|
height: 1122
|
|
179519
179609
|
};
|
|
179520
179610
|
_this.canvasHeadFootPos = {
|
|
@@ -180096,8 +180186,8 @@ var HoDocvue_type_style_index_0_lang_scss_ = __webpack_require__("560f");
|
|
|
180096
180186
|
|
|
180097
180187
|
var HoDoc_component = normalizeComponent(
|
|
180098
180188
|
components_HoDocvue_type_script_lang_ts_,
|
|
180099
|
-
|
|
180100
|
-
|
|
180189
|
+
HoDocvue_type_template_id_25ab8436_render,
|
|
180190
|
+
HoDocvue_type_template_id_25ab8436_staticRenderFns,
|
|
180101
180191
|
false,
|
|
180102
180192
|
null,
|
|
180103
180193
|
null,
|
|
@@ -181208,6 +181298,11 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
181208
181298
|
dPage.drawDomLevel.stage.update();
|
|
181209
181299
|
dPage.needUpdateStage = false;
|
|
181210
181300
|
}
|
|
181301
|
+
|
|
181302
|
+
if (dPage.drawSelectLevel && dPage.drawSelectLevel.stage && hoEditorFactory.drawTree.inViewPages.indexOf(dPage.pageIndex) >= 0) {
|
|
181303
|
+
dPage.drawSelectLevel.stage.update();
|
|
181304
|
+
dPage.needUpdateStage = false;
|
|
181305
|
+
}
|
|
181211
181306
|
}
|
|
181212
181307
|
}
|
|
181213
181308
|
}, {
|
|
@@ -181553,9 +181648,9 @@ var Option_Option = /*#__PURE__*/function () {
|
|
|
181553
181648
|
|
|
181554
181649
|
this._reviewLev1Color = "#F19191"; //审阅级别1颜色
|
|
181555
181650
|
|
|
181556
|
-
this._reviewLev2Color = "#
|
|
181651
|
+
this._reviewLev2Color = "#8198F7"; //审阅级别2颜色
|
|
181557
181652
|
|
|
181558
|
-
this._reviewLev3Color = "#
|
|
181653
|
+
this._reviewLev3Color = "#7FD27F"; //审阅级别3颜色
|
|
181559
181654
|
|
|
181560
181655
|
this._fieldColor = "#DFFFFF"; //文本域元素颜色 #FBFAD0
|
|
181561
181656
|
|
|
@@ -182620,7 +182715,7 @@ var ControlNode = __webpack_require__("8841");
|
|
|
182620
182715
|
// EXTERNAL MODULE: ./src/editor/draw/SelectRange.ts
|
|
182621
182716
|
var SelectRange = __webpack_require__("49e9");
|
|
182622
182717
|
|
|
182623
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts
|
|
182718
|
+
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts
|
|
182624
182719
|
var TableFormula = __webpack_require__("2273");
|
|
182625
182720
|
|
|
182626
182721
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
|
@@ -188697,13 +188792,12 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188697
188792
|
hoEditorFactory.vueController.setPageProperty(JSON.stringify({
|
|
188698
188793
|
commentWidthMm: commentWidthMm
|
|
188699
188794
|
}));
|
|
188700
|
-
}
|
|
188795
|
+
} // if(status === 0 || status === 1 || status === 4) {
|
|
188796
|
+
// if(createjs.Ticker.paused) this.tickerPaused(false);
|
|
188797
|
+
// } else {
|
|
188798
|
+
// if(!createjs.Ticker.paused) this.tickerPaused(true);
|
|
188799
|
+
// }
|
|
188701
188800
|
|
|
188702
|
-
if (status === 0 || status === 1 || status === 4) {
|
|
188703
|
-
if (createjs.Ticker.paused) this.tickerPaused(false);
|
|
188704
|
-
} else {
|
|
188705
|
-
if (!createjs.Ticker.paused) this.tickerPaused(true);
|
|
188706
|
-
}
|
|
188707
188801
|
}
|
|
188708
188802
|
}, {
|
|
188709
188803
|
key: "pageProperty",
|
|
@@ -188738,7 +188832,6 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188738
188832
|
var _this = this;
|
|
188739
188833
|
|
|
188740
188834
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188741
|
-
var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
188742
188835
|
|
|
188743
188836
|
if (!hoEditorFactory.isHideComments) {
|
|
188744
188837
|
this.hideComments(true);
|
|
@@ -188775,7 +188868,10 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188775
188868
|
}
|
|
188776
188869
|
}).then(function (res) {
|
|
188777
188870
|
if (res === "printend") {
|
|
188778
|
-
hoEditorFactory.drawTree.paintStatus =
|
|
188871
|
+
hoEditorFactory.drawTree.paintStatus = beforePrintedStatus;
|
|
188872
|
+
hoEditorFactory.printStatus.printRange = 2;
|
|
188873
|
+
hoEditorFactory.printStatus.drawPrintRecord.clear();
|
|
188874
|
+
hoEditorFactory.printStatus.clearArea();
|
|
188779
188875
|
|
|
188780
188876
|
_this.rebuildAll(false);
|
|
188781
188877
|
}
|
|
@@ -189933,13 +190029,13 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189933
190029
|
}
|
|
189934
190030
|
|
|
189935
190031
|
if (area && area.stage && area.stage.canvas) {
|
|
189936
|
-
var dHeight = Math.max(Math.min(area.docHeight, area.maxHeight), area.dHeight) *
|
|
190032
|
+
var dHeight = Math.max(Math.min(area.docHeight, area.maxHeight), area.dHeight) * DrawConfig["a" /* DrawConfig */].instance().scaleXY;
|
|
189937
190033
|
var ctx = area.stage.canvas.getContext("2d");
|
|
189938
190034
|
|
|
189939
190035
|
if (ctx) {
|
|
189940
|
-
var oImgData = ctx.getImageData(0, area.y *
|
|
190036
|
+
var oImgData = ctx.getImageData(0, area.y * DrawConfig["a" /* DrawConfig */].instance().scaleXY, hoeditfactory.pageProperty.widthPixes * DrawConfig["a" /* DrawConfig */].instance().scaleXY, dHeight);
|
|
189941
190037
|
var oCanvas = document.createElement("canvas");
|
|
189942
|
-
oCanvas.width = hoeditfactory.pageProperty.widthPixes *
|
|
190038
|
+
oCanvas.width = hoeditfactory.pageProperty.widthPixes * DrawConfig["a" /* DrawConfig */].instance().scaleXY;
|
|
189943
190039
|
oCanvas.height = dHeight;
|
|
189944
190040
|
var oCtx = oCanvas.getContext("2d");
|
|
189945
190041
|
|
|
@@ -190591,25 +190687,10 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
190591
190687
|
value: function getUserInfoes() {
|
|
190592
190688
|
return HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).userInfo;
|
|
190593
190689
|
}
|
|
190594
|
-
/**
|
|
190595
|
-
* @param paused 处理createjs.Ticker刷新事件
|
|
190596
|
-
*/
|
|
190597
|
-
|
|
190598
190690
|
}, {
|
|
190599
|
-
key: "
|
|
190600
|
-
value: function
|
|
190601
|
-
|
|
190602
|
-
createjs.Ticker.paused = paused;
|
|
190603
|
-
|
|
190604
|
-
if (paused) {
|
|
190605
|
-
createjs.Ticker.addEventListener("tick", function (e) {
|
|
190606
|
-
return hoEditorFactory.drawTree.onTick(e);
|
|
190607
|
-
});
|
|
190608
|
-
} else {
|
|
190609
|
-
createjs.Ticker.removeEventListener("tick", function (e) {
|
|
190610
|
-
return hoEditorFactory.drawTree.onTick(e);
|
|
190611
|
-
});
|
|
190612
|
-
}
|
|
190691
|
+
key: "hoLocalStorage",
|
|
190692
|
+
value: function hoLocalStorage() {
|
|
190693
|
+
return HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).hoLocalStorage;
|
|
190613
190694
|
}
|
|
190614
190695
|
}]);
|
|
190615
190696
|
|
|
@@ -193643,6 +193724,148 @@ var FormatPainter_FormatPainter = /*#__PURE__*/function () {
|
|
|
193643
193724
|
|
|
193644
193725
|
return FormatPainter;
|
|
193645
193726
|
}();
|
|
193727
|
+
// CONCATENATED MODULE: ./src/editor/storage.ts
|
|
193728
|
+
|
|
193729
|
+
|
|
193730
|
+
|
|
193731
|
+
|
|
193732
|
+
|
|
193733
|
+
|
|
193734
|
+
|
|
193735
|
+
|
|
193736
|
+
|
|
193737
|
+
|
|
193738
|
+
var storage_HoLocalStorage = /*#__PURE__*/function () {
|
|
193739
|
+
function HoLocalStorage(hoEditorFactoryID) {
|
|
193740
|
+
Object(classCallCheck["a" /* default */])(this, HoLocalStorage);
|
|
193741
|
+
|
|
193742
|
+
var hoEitfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(hoEditorFactoryID);
|
|
193743
|
+
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
193744
|
+
this._key = hoEitfactory.userInfo.id + hoEitfactory.docTree.docProperty.patientID + hoEitfactory.docTree.docProperty.title;
|
|
193745
|
+
var orignalSetItem = localStorage.setItem;
|
|
193746
|
+
|
|
193747
|
+
localStorage.setItem = function (key, newValue) {
|
|
193748
|
+
var setItemEvent = new Event("setItemEvent");
|
|
193749
|
+
setItemEvent.newValue = newValue;
|
|
193750
|
+
window.dispatchEvent(setItemEvent);
|
|
193751
|
+
orignalSetItem.apply(this, arguments);
|
|
193752
|
+
};
|
|
193753
|
+
} // 获取key的数据 => { data, keyInfo }
|
|
193754
|
+
|
|
193755
|
+
|
|
193756
|
+
Object(createClass["a" /* default */])(HoLocalStorage, [{
|
|
193757
|
+
key: "getLocalStorage",
|
|
193758
|
+
value: function getLocalStorage() {
|
|
193759
|
+
var data = localStorage.getItem(this._key);
|
|
193760
|
+
|
|
193761
|
+
if (data) {
|
|
193762
|
+
return JSON.parse(data);
|
|
193763
|
+
}
|
|
193764
|
+
|
|
193765
|
+
return null;
|
|
193766
|
+
}
|
|
193767
|
+
}, {
|
|
193768
|
+
key: "removeLocalStorage",
|
|
193769
|
+
value: function removeLocalStorage() {
|
|
193770
|
+
localStorage.removeItem(this._key);
|
|
193771
|
+
}
|
|
193772
|
+
}, {
|
|
193773
|
+
key: "cancelManualSaveLocalStorage",
|
|
193774
|
+
value: function cancelManualSaveLocalStorage() {
|
|
193775
|
+
var hoEitfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
193776
|
+
var data = localStorage.getItem(this._key);
|
|
193777
|
+
|
|
193778
|
+
if (data) {
|
|
193779
|
+
var historyLogs = JSON.parse(data);
|
|
193780
|
+
hoEitfactory.vueController.openXml(historyLogs.manual_save[0].xml);
|
|
193781
|
+
localStorage.setItem(this._key, JSON.stringify(_objectSpread2(_objectSpread2({}, historyLogs), {}, {
|
|
193782
|
+
manual_save: []
|
|
193783
|
+
})));
|
|
193784
|
+
}
|
|
193785
|
+
}
|
|
193786
|
+
}, {
|
|
193787
|
+
key: "manualSaveLocalStorage",
|
|
193788
|
+
value: function manualSaveLocalStorage(auto_save_index) {
|
|
193789
|
+
var hoEitfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
193790
|
+
var saveTime = Object(util["e" /* dateFormat */])(new Date());
|
|
193791
|
+
var data = localStorage.getItem(this._key);
|
|
193792
|
+
|
|
193793
|
+
if (data) {
|
|
193794
|
+
var historyLogs = JSON.parse(data);
|
|
193795
|
+
var arr = historyLogs.manual_save;
|
|
193796
|
+
|
|
193797
|
+
if (arr.length > 0) {
|
|
193798
|
+
localStorage.setItem(this._key, JSON.stringify(_objectSpread2(_objectSpread2({}, historyLogs), {}, {
|
|
193799
|
+
manual_save: [{
|
|
193800
|
+
xml: arr[0].xml,
|
|
193801
|
+
saveTime: saveTime
|
|
193802
|
+
}]
|
|
193803
|
+
})));
|
|
193804
|
+
hoEitfactory.vueController.openXml(historyLogs.auto_save[auto_save_index].xml);
|
|
193805
|
+
} else {
|
|
193806
|
+
localStorage.setItem(this._key, JSON.stringify(_objectSpread2(_objectSpread2({}, historyLogs), {}, {
|
|
193807
|
+
manual_save: [{
|
|
193808
|
+
xml: hoEitfactory.structureConvert.doc2Xml("xml"),
|
|
193809
|
+
saveTime: saveTime
|
|
193810
|
+
}]
|
|
193811
|
+
})));
|
|
193812
|
+
hoEitfactory.vueController.openXml(historyLogs.auto_save[auto_save_index].xml);
|
|
193813
|
+
}
|
|
193814
|
+
}
|
|
193815
|
+
}
|
|
193816
|
+
}, {
|
|
193817
|
+
key: "autoSaveLocalStorage",
|
|
193818
|
+
value: function autoSaveLocalStorage() {
|
|
193819
|
+
var _this = this;
|
|
193820
|
+
|
|
193821
|
+
setTimeout(function () {
|
|
193822
|
+
var hoEitfactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(_this._hoEditorFactoryID);
|
|
193823
|
+
var data = localStorage.getItem(_this._key);
|
|
193824
|
+
var saveTime = Object(util["e" /* dateFormat */])(new Date());
|
|
193825
|
+
|
|
193826
|
+
var logs = Object(toConsumableArray["a" /* default */])(hoEitfactory.domController.getLogs());
|
|
193827
|
+
|
|
193828
|
+
if (!data) {
|
|
193829
|
+
localStorage.setItem(_this._key, JSON.stringify({
|
|
193830
|
+
manual_save: [],
|
|
193831
|
+
auto_save: [{
|
|
193832
|
+
xml: hoEitfactory.structureConvert.doc2Xml("xml"),
|
|
193833
|
+
saveTime: saveTime,
|
|
193834
|
+
logs: logs
|
|
193835
|
+
}]
|
|
193836
|
+
}));
|
|
193837
|
+
} else {
|
|
193838
|
+
var historyLogs = JSON.parse(data);
|
|
193839
|
+
var arr = historyLogs.auto_save;
|
|
193840
|
+
if (arr.length === 5) arr.pop();
|
|
193841
|
+
var lastLogsTime = new Date(arr[0].saveTime).getTime();
|
|
193842
|
+
var newLogs = [];
|
|
193843
|
+
|
|
193844
|
+
if (lastLogsTime) {
|
|
193845
|
+
newLogs = logs.filter(function (log) {
|
|
193846
|
+
return log.operTime && new Date(log.operTime).getTime() > lastLogsTime;
|
|
193847
|
+
});
|
|
193848
|
+
} else {
|
|
193849
|
+
newLogs = Object(toConsumableArray["a" /* default */])(logs);
|
|
193850
|
+
}
|
|
193851
|
+
|
|
193852
|
+
arr.unshift({
|
|
193853
|
+
xml: hoEitfactory.structureConvert.doc2Xml("xml"),
|
|
193854
|
+
saveTime: saveTime,
|
|
193855
|
+
logs: newLogs
|
|
193856
|
+
});
|
|
193857
|
+
localStorage.setItem(_this._key, JSON.stringify(_objectSpread2(_objectSpread2({}, historyLogs), {}, {
|
|
193858
|
+
auto_save: Object(toConsumableArray["a" /* default */])(arr)
|
|
193859
|
+
})));
|
|
193860
|
+
}
|
|
193861
|
+
}, 100);
|
|
193862
|
+
}
|
|
193863
|
+
}]);
|
|
193864
|
+
|
|
193865
|
+
return HoLocalStorage;
|
|
193866
|
+
}();
|
|
193867
|
+
|
|
193868
|
+
/* harmony default export */ var storage = (storage_HoLocalStorage);
|
|
193646
193869
|
// CONCATENATED MODULE: ./src/HOEditorFactory.ts
|
|
193647
193870
|
|
|
193648
193871
|
|
|
@@ -193674,6 +193897,7 @@ var FormatPainter_FormatPainter = /*#__PURE__*/function () {
|
|
|
193674
193897
|
|
|
193675
193898
|
|
|
193676
193899
|
|
|
193900
|
+
|
|
193677
193901
|
|
|
193678
193902
|
|
|
193679
193903
|
var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
@@ -193699,12 +193923,26 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
193699
193923
|
this._hoEditorFactoryId = id;
|
|
193700
193924
|
}
|
|
193701
193925
|
/**
|
|
193702
|
-
* Getter
|
|
193703
|
-
* @return {
|
|
193926
|
+
* Getter hoLocalStorage
|
|
193927
|
+
* @return {HoLocalStorage}
|
|
193704
193928
|
*/
|
|
193705
193929
|
|
|
193706
193930
|
|
|
193707
193931
|
Object(createClass["a" /* default */])(HOEditorFactory, [{
|
|
193932
|
+
key: "hoLocalStorage",
|
|
193933
|
+
get: function get() {
|
|
193934
|
+
if (!this._hoLocalStorage) {
|
|
193935
|
+
this._hoLocalStorage = new storage(this._hoEditorFactoryId);
|
|
193936
|
+
}
|
|
193937
|
+
|
|
193938
|
+
return this._hoLocalStorage;
|
|
193939
|
+
}
|
|
193940
|
+
/**
|
|
193941
|
+
* Getter baseController
|
|
193942
|
+
* @return {BaseController}
|
|
193943
|
+
*/
|
|
193944
|
+
|
|
193945
|
+
}, {
|
|
193708
193946
|
key: "baseController",
|
|
193709
193947
|
get: function get() {
|
|
193710
193948
|
if (!this._baseController) {
|
|
@@ -194293,21 +194531,21 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
194293
194531
|
|
|
194294
194532
|
return HOEditorFactory;
|
|
194295
194533
|
}();
|
|
194296
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194534
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoFooter.vue?vue&type=template&id=fad373b2&scoped=true&
|
|
194297
194535
|
var HoFootervue_type_template_id_fad373b2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ho-footer"},[_c('div',{staticClass:"footer-item"}),_c('div',{staticClass:"footer-item"},[_c('span',{staticClass:"text"},[_vm._v("第 "+_vm._s(_vm.currentActivePages + 1 === 0 ? 1 : _vm.currentActivePages + 1)+" 页 / 共 "+_vm._s(_vm.drawPages)+" 页")]),(!!_vm.docName)?_c('span',{staticClass:"text"},[_vm._v("名称:"+_vm._s(_vm.docName))]):_vm._e(),(!!_vm.userNames)?_c('span',{staticClass:"text"},[_vm._v("书写人:"+_vm._s(_vm.userNames))]):_vm._e(),(!!_vm.historyTime)?_c('span',{staticClass:"text"},[_vm._v("书写时间:"+_vm._s(_vm.historyTime))]):_vm._e()]),_c('p',{staticStyle:{"flex":"1"}}),_c('div',{staticClass:"footer-item"})])}
|
|
194298
194536
|
var HoFootervue_type_template_id_fad373b2_scoped_true_staticRenderFns = []
|
|
194299
194537
|
|
|
194300
194538
|
|
|
194301
194539
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=fad373b2&scoped=true&
|
|
194302
194540
|
|
|
194303
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194541
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
194304
194542
|
var Popervue_type_template_id_0f8bfa37_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.classSelected,style:(_vm.poperStyle),on:{"mouseenter":_vm.mouseenter,"mouseleave":_vm.mouseleave}},[_vm._t("default",function(){return [_c('span',{class:_vm.classNames})]}),(_vm.title && _vm.show)?_c('Title',{attrs:{"title":_vm.title,"styles":_vm.styles}}):_vm._e()],2)}
|
|
194305
194543
|
var Popervue_type_template_id_0f8bfa37_staticRenderFns = []
|
|
194306
194544
|
|
|
194307
194545
|
|
|
194308
194546
|
// CONCATENATED MODULE: ./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
194309
194547
|
|
|
194310
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194548
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/popers/Title.vue?vue&type=template&id=3d9d462b&scoped=true&
|
|
194311
194549
|
var Titlevue_type_template_id_3d9d462b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"fade"}},[_c('span',{staticClass:"poper-title",style:(_vm.styles)},[_vm._v(_vm._s(_vm.title))])])}
|
|
194312
194550
|
var Titlevue_type_template_id_3d9d462b_scoped_true_staticRenderFns = []
|
|
194313
194551
|
|
|
@@ -194596,14 +194834,14 @@ var HoFooter_component = normalizeComponent(
|
|
|
194596
194834
|
)
|
|
194597
194835
|
|
|
194598
194836
|
/* harmony default export */ var components_HoFooter = (HoFooter_component.exports);
|
|
194599
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194837
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=3be7d6ee&
|
|
194600
194838
|
var ControlModalvue_type_template_id_3be7d6ee_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"toolModals",staticClass:"control-modal",on:{"mousedown":_vm.toolModalDown}},[(_vm.controlType === 'barcode')?_c('Barcode',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'qrcode')?_c('QrCode',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'express')?_c('ExpressionForm',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"controlProperty":_vm.controlProperty},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'text')?_c('TextDialog',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose},scopedSlots:_vm._u([{key:"hoTextFieldModal",fn:function(){return [_vm._t("hoTextModal")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlType === 'date')?_c('DateDialog',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose},scopedSlots:_vm._u([{key:"hoDateFieldModal",fn:function(){return [_vm._t("hoDateModal")]},proxy:true},{key:"hoTextFieldModal",fn:function(){return [_vm._t("hoTextModal")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlType === 'select')?_c('SelectDialog',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table')?_c('TableProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table-row')?_c('TableRowProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table-cell')?_c('TableCellProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table-col')?_c('TableColProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.isCustoms)?_c('CustomAttributes',{on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.isDataSource)?_c('DataSourceDialog',{on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.isListStyle)?_c('ListSource',{on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'RadioBox' || _vm.controlType === 'CheckBox')?_c('RadioCheckbox',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId,"controlProperty":_vm.controlProperty},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'waterset')?_c('WaterSetDialog',{attrs:{"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'comment')?_c('CommentDialog',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"insertComments":_vm.insertComments,"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'pageInfoes')?_c('PageInfoes',{attrs:{"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'delimiter')?_c('Delimiter',{attrs:{"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'sign')?_c('Sign',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"closed":_vm.handleClose}}):_vm._e()],1)}
|
|
194601
194839
|
var ControlModalvue_type_template_id_3be7d6ee_staticRenderFns = []
|
|
194602
194840
|
|
|
194603
194841
|
|
|
194604
194842
|
// CONCATENATED MODULE: ./src/components/controls/ControlModal.vue?vue&type=template&id=3be7d6ee&
|
|
194605
194843
|
|
|
194606
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194844
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=fb1c8b12&scoped=true&
|
|
194607
194845
|
var SelectDialogvue_type_template_id_fb1c8b12_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉框")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"25%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"25%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"25%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.allowMultiSelect),callback:function ($$v) {_vm.allowMultiSelect=$$v},expression:"allowMultiSelect"}},[_vm._v("允许多选")])],1),_c('div',{staticStyle:{"width":"25%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1)]),_c('li',{staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.downListContent,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消默认")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认值")]):_vm._e(),(scope.$index !== _vm.downListContent.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
194608
194846
|
var SelectDialogvue_type_template_id_fb1c8b12_scoped_true_staticRenderFns = []
|
|
194609
194847
|
|
|
@@ -194975,14 +195213,14 @@ var SelectDialog_component = normalizeComponent(
|
|
|
194975
195213
|
// CONCATENATED MODULE: ./src/components/controls/selectDialog/index.ts
|
|
194976
195214
|
|
|
194977
195215
|
/* harmony default export */ var selectDialog = (selectDialog_SelectDialog);
|
|
194978
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195216
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=03f03576&
|
|
194979
195217
|
var DateDialogvue_type_template_id_03f03576_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("日期时间")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("输入样式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.controlStyle),callback:function ($$v) {_vm.controlStyle=$$v},expression:"controlStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期时间")]),(_vm.controlStyle.includes('MM') && !_vm.controlStyle.includes('dd'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"month","placeholder":"选择月"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(_vm.controlStyle.includes('yyyy') && !_vm.controlStyle.includes('MM'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"year","placeholder":"选择年"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(_vm.controlStyle.includes('dd') && _vm.controlStyle.includes('mm'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"datetime","format":_vm.controlStyle,"placeholder":"日期时间"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(!_vm.controlStyle.includes('dd') && _vm.controlStyle.includes('mm'))?_c('el-time-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"time","format":_vm.controlStyle,"placeholder":"时间"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(!_vm.controlStyle.includes('mm') && _vm.controlStyle.includes('dd'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"date","format":_vm.controlStyle,"placeholder":"日期"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e()],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"margin":"0 0 0 20px"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"20px"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1)])])]),_vm._t("hoTextFieldModal")],2)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
194980
195218
|
var DateDialogvue_type_template_id_03f03576_staticRenderFns = []
|
|
194981
195219
|
|
|
194982
195220
|
|
|
194983
195221
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=03f03576&
|
|
194984
195222
|
|
|
194985
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195223
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/Tab.vue?vue&type=template&id=5ccacc33&
|
|
194986
195224
|
var Tabvue_type_template_id_5ccacc33_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ho-toolbar"},[_c('ul',{staticClass:"main-bar"},[_vm._l((_vm.navList),function(item){return _c('li',{key:item.name,class:{ selected: item.name === _vm.currentValue },on:{"click":function($event){return _vm.handleChange(_vm.currentValue, item.name)}}},[_vm._v(" "+_vm._s(item.label)+" ")])}),_c('li',{staticClass:"tabs-active-bar",style:(_vm.activeBarStyle)})],2),_c('div',{staticClass:"sub-bar-box"},[_vm._t("default")],2)])}
|
|
194987
195225
|
var Tabvue_type_template_id_5ccacc33_staticRenderFns = []
|
|
194988
195226
|
|
|
@@ -195379,7 +195617,7 @@ var DateDialog_component = normalizeComponent(
|
|
|
195379
195617
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/index.ts
|
|
195380
195618
|
|
|
195381
195619
|
/* harmony default export */ var dateDialog = (dateDialog_DateDialog);
|
|
195382
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195620
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/barCode/BarCodes.vue?vue&type=template&id=b90e0398&
|
|
195383
195621
|
var BarCodesvue_type_template_id_b90e0398_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("条形码")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("条形码内容")]),_c('el-input',{attrs:{"size":"mini","placeholder":"条形码内容不能为空","maxlength":"20","show-word-limit":""},on:{"input":_vm.codeChange},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否显示文本")]),_c('el-checkbox',{on:{"change":_vm.codeChange},model:{value:(_vm.isDisplayText),callback:function ($$v) {_vm.isDisplayText=$$v},expression:"isDisplayText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_vm._v("预 览")]),_c('div',{staticClass:"bar-code"},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.textContent && !_vm.textField),expression:"textContent && !textField"}],ref:"barcode",attrs:{"id":"barcode"}}),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.textContent && _vm.textField),expression:"textContent && textField"}]},[_vm._v(_vm._s(_vm.textField))])])])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
195384
195622
|
var BarCodesvue_type_template_id_b90e0398_staticRenderFns = []
|
|
195385
195623
|
|
|
@@ -195569,7 +195807,7 @@ var BarCodes_component = normalizeComponent(
|
|
|
195569
195807
|
// CONCATENATED MODULE: ./src/components/controls/barCode/index.ts
|
|
195570
195808
|
|
|
195571
195809
|
/* harmony default export */ var barCode = (BarCodes);
|
|
195572
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195810
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/qrCode/QrCode.vue?vue&type=template&id=bff70498&
|
|
195573
195811
|
var QrCodevue_type_template_id_bff70498_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("二维码")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","autosize":{ minRows: 4, maxRows: 8 },"clearable":"","placeholder":"文本内容","maxlength":"256","show-word-limit":""},on:{"input":_vm.codeChange},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("宽(高)")]),_c('el-input-number',{attrs:{"controls":false,"size":"mini","autocomplete":"off"},on:{"change":_vm.qrSizeChange},model:{value:(_vm.size),callback:function ($$v) {_vm.size=$$v},expression:"size"}}),_c('span',{staticStyle:{"padding":"0 20px 0 10px"}},[_vm._v("px")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("纠错能力")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.correctLevel),callback:function ($$v) {_vm.correctLevel=$$v},expression:"correctLevel"}},[_c('el-option',{attrs:{"label":"L: 7%的字码可被修正","value":"L"}}),_c('el-option',{attrs:{"label":"M: 15%的字码可被修正","value":"M"}}),_c('el-option',{attrs:{"label":"Q: 25%的字码可被修正","value":"Q"}}),_c('el-option',{attrs:{"label":"H: 30%的字码可被修正","value":"H"}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]),_c('div',{staticClass:"section-right"},[_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_vm._v("预 览")]),_c('div',{ref:"hoQrcode",style:(_vm.qrCanvasBoxStyle),attrs:{"id":"qrcode"}})])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
195574
195812
|
var QrCodevue_type_template_id_bff70498_staticRenderFns = []
|
|
195575
195813
|
|
|
@@ -195755,12 +195993,12 @@ var QrCode_component = normalizeComponent(
|
|
|
195755
195993
|
// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
|
|
195756
195994
|
|
|
195757
195995
|
/* harmony default export */ var qrCode = (QrCode);
|
|
195758
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195759
|
-
var
|
|
195760
|
-
var
|
|
195996
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=0457ce60&
|
|
195997
|
+
var TextDialogvue_type_template_id_0457ce60_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("文本域")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("直接输入文本数据")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("下拉列表方式")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.textParam.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.textParam.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "innerIdentifier", $$v)},expression:"textParam.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.textParam.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "dataMetaIdentifier", $$v)},expression:"textParam.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.textParam.identifierFormat),callback:function ($$v) {_vm.$set(_vm.textParam, "identifierFormat", $$v)},expression:"textParam.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.textParam.name),callback:function ($$v) {_vm.$set(_vm.textParam, "name", $$v)},expression:"textParam.name"}})],1),_c('li',{staticClass:"line"}),(_vm.textParam.inputFieldType === 0)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"mini","placeholder":"文本内容"},model:{value:(_vm.textParam.text),callback:function ($$v) {_vm.$set(_vm.textParam, "text", $$v)},expression:"textParam.text"}})],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("下拉列表")]),_c('el-input',{attrs:{"size":"mini","disabled":true,"placeholder":"下拉列表项"},model:{value:(_vm.textParam.downListProperty.source),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "source", $$v)},expression:"textParam.downListProperty.source"}}),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.openListArrModel.apply(null, arguments)}}},[_vm._v("浏览")])],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否多选")]),_c('div',{staticStyle:{"width":"30%"}},[_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.textParam.downListProperty.splitCharacter),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "splitCharacter", $$v)},expression:"textParam.downListProperty.splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}}),_c('el-option',{attrs:{"label":"\\","value":"\\"}})],1)],1)]):_vm._e(),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.textParam.tipText),callback:function ($$v) {_vm.$set(_vm.textParam, "tipText", $$v)},expression:"textParam.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容只读状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"placeholder":"请选择","size":"mini"},model:{value:(_vm.textParam.readOnlyStatus),callback:function ($$v) {_vm.$set(_vm.textParam, "readOnlyStatus", $$v)},expression:"textParam.readOnlyStatus"}},[_c('el-option',{attrs:{"label":"继承父元素","value":2}}),_c('el-option',{attrs:{"label":"是","value":0}}),_c('el-option',{attrs:{"label":"否","value":1}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("固定宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.textParam.fixedWidth),callback:function ($$v) {_vm.$set(_vm.textParam, "fixedWidth", $$v)},expression:"textParam.fixedWidth"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("厘米")])],1),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.canModifyContent),callback:function ($$v) {_vm.$set(_vm.textParam, "canModifyContent", $$v)},expression:"textParam.canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.textParam, "isAllowDelete", $$v)},expression:"textParam.isAllowDelete"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.enableGlobalColor),callback:function ($$v) {_vm.$set(_vm.textParam, "enableGlobalColor", $$v)},expression:"textParam.enableGlobalColor"}},[_vm._v("启用全局文本颜色")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.alignWithBlocked),callback:function ($$v) {_vm.$set(_vm.textParam, "alignWithBlocked", $$v)},expression:"textParam.alignWithBlocked"}},[_vm._v("文本域中的段落使用块对齐(诊断专用)")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"43px"}},[_c('el-checkbox',{model:{value:(_vm.textParam.readType),callback:function ($$v) {_vm.$set(_vm.textParam, "readType", $$v)},expression:"textParam.readType"}},[_vm._v("自动回填")])],1)])])]),_c('tab-pane',{attrs:{"label":"其他属性","notHover":false,"name":"third"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)])]),_vm._t("hoTextFieldModal")],2)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
195998
|
+
var TextDialogvue_type_template_id_0457ce60_staticRenderFns = []
|
|
195761
195999
|
|
|
195762
196000
|
|
|
195763
|
-
// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=
|
|
196001
|
+
// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=0457ce60&
|
|
195764
196002
|
|
|
195765
196003
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
|
|
195766
196004
|
|
|
@@ -195874,6 +196112,8 @@ var TextDialogvue_type_script_lang_ts_TextDialog = /*#__PURE__*/function (_Vue)
|
|
|
195874
196112
|
var listItems = this.textParam.downListProperty.listItems;
|
|
195875
196113
|
var listItem = listItems ? JSON.parse(listItems) : [];
|
|
195876
196114
|
this.setListStyle(listItem, this.textParam.downListProperty.source);
|
|
196115
|
+
} else {
|
|
196116
|
+
this.textParam.inputFieldType = 0;
|
|
195877
196117
|
}
|
|
195878
196118
|
} else {
|
|
195879
196119
|
this.textParam.id = this.vueController.generateID("TF");
|
|
@@ -196034,8 +196274,8 @@ var TextDialogvue_type_style_index_0_lang_scss_ = __webpack_require__("e8ee");
|
|
|
196034
196274
|
|
|
196035
196275
|
var TextDialog_component = normalizeComponent(
|
|
196036
196276
|
textDialog_TextDialogvue_type_script_lang_ts_,
|
|
196037
|
-
|
|
196038
|
-
|
|
196277
|
+
TextDialogvue_type_template_id_0457ce60_render,
|
|
196278
|
+
TextDialogvue_type_template_id_0457ce60_staticRenderFns,
|
|
196039
196279
|
false,
|
|
196040
196280
|
null,
|
|
196041
196281
|
null,
|
|
@@ -196047,7 +196287,7 @@ var TextDialog_component = normalizeComponent(
|
|
|
196047
196287
|
// CONCATENATED MODULE: ./src/components/controls/textDialog/index.ts
|
|
196048
196288
|
|
|
196049
196289
|
/* harmony default export */ var textDialog = (textDialog_TextDialog);
|
|
196050
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196290
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/expressionForm/ExpressionForm.vue?vue&type=template&id=0fa85a23&scoped=true&
|
|
196051
196291
|
var ExpressionFormvue_type_template_id_0fa85a23_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.names[_vm.expressStyle]))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.cancel}})]),_c('section',{staticClass:"expression-form"},[(_vm.expressStyle === 'style1')?[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1),_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"line style1-line"}),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("末次月经/绝经年龄")]),(_vm.isUseDate)?_c('el-date-picker',{attrs:{"prefix-icon":"null","type":"date","size":"small","format":_vm.useDateFormat,"value-format":_vm.useDateFormat,"placeholder":"日期"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e(),(!_vm.isUseDate)?_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e()],1)]),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)]:_vm._e(),(_vm.expressStyle === 'style2')?[_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1)]),_c('div',{staticClass:"line style21-line"}),_c('div',{staticClass:"line style22-line"}),_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("末次月经/绝经年龄")]),(_vm.isUseDate)?_c('el-date-picker',{attrs:{"prefix-icon":"null","type":"date","size":"small","format":_vm.useDateFormat,"value-format":_vm.useDateFormat,"placeholder":"日期"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e(),(!_vm.isUseDate)?_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e()],1),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)])]:_vm._e(),(_vm.expressStyle === 'style3')?[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1),_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"line style31-line"}),_c('div',{staticClass:"line style32-line"}),_c('div',{staticClass:"expression-item",staticStyle:{"margin-left":"73px"}},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)]),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("末次月经/绝经年龄")]),(_vm.isUseDate)?_c('el-date-picker',{attrs:{"prefix-icon":"null","type":"date","size":"small","format":_vm.useDateFormat,"value-format":_vm.useDateFormat,"placeholder":"日期"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e(),(!_vm.isUseDate)?_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e()],1)]:_vm._e(),(_vm.expressStyle === 'style4')?_c('div',{staticClass:"style4"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"line style41-line"}),_c('div',{staticClass:"expression-style4"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1),_c('div',{staticClass:"line style42-line"}),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)])]):_vm._e(),(_vm.expressStyle === 'style1' || _vm.expressStyle === 'style2' || _vm.expressStyle === 'style3')?[_c('div',{staticClass:"express-date-items"},[_c('el-checkbox',{on:{"change":_vm.useDateChange},model:{value:(_vm.isUseDate),callback:function ($$v) {_vm.isUseDate=$$v},expression:"isUseDate"}},[_vm._v("使用日期")])],1),(_vm.isUseDate)?_c('div',{staticClass:"express-date-items"},[_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},on:{"change":_vm.dateFormatChange},model:{value:(_vm.useDateFormat),callback:function ($$v) {_vm.useDateFormat=$$v},expression:"useDateFormat"}},[_c('el-option',{attrs:{"label":"yyyy-MM-dd","value":"yyyy-MM-dd"}}),_c('el-option',{attrs:{"label":"yyyy/MM/dd","value":"yyyy/MM/dd"}}),_c('el-option',{attrs:{"label":"yyyy年MM月dd日","value":"yyyy年MM月dd日"}})],1)],1):_vm._e()]:_vm._e(),(_vm.expressStyle === 'style5')?[_c('div',{staticClass:"expression-style5"},[_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value1),callback:function ($$v) {_vm.$set(_vm.style567, "value1", $$v)},expression:"style567.value1"}}),_c('div',{staticStyle:{"width":"100px"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value2),callback:function ($$v) {_vm.$set(_vm.style567, "value2", $$v)},expression:"style567.value2"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value3),callback:function ($$v) {_vm.$set(_vm.style567, "value3", $$v)},expression:"style567.value3"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value4),callback:function ($$v) {_vm.$set(_vm.style567, "value4", $$v)},expression:"style567.value4"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value5),callback:function ($$v) {_vm.$set(_vm.style567, "value5", $$v)},expression:"style567.value5"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value6),callback:function ($$v) {_vm.$set(_vm.style567, "value6", $$v)},expression:"style567.value6"}}),_c('div',{staticStyle:{"width":"100px"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value7),callback:function ($$v) {_vm.$set(_vm.style567, "value7", $$v)},expression:"style567.value7"}})],1)]:_vm._e(),(_vm.expressStyle === 'style6')?[_c('div',{staticClass:"expression-style5"},[_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value1),callback:function ($$v) {_vm.$set(_vm.style567, "value1", $$v)},expression:"style567.value1"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value2),callback:function ($$v) {_vm.$set(_vm.style567, "value2", $$v)},expression:"style567.value2"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value3),callback:function ($$v) {_vm.$set(_vm.style567, "value3", $$v)},expression:"style567.value3"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value4),callback:function ($$v) {_vm.$set(_vm.style567, "value4", $$v)},expression:"style567.value4"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value5),callback:function ($$v) {_vm.$set(_vm.style567, "value5", $$v)},expression:"style567.value5"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value6),callback:function ($$v) {_vm.$set(_vm.style567, "value6", $$v)},expression:"style567.value6"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value7),callback:function ($$v) {_vm.$set(_vm.style567, "value7", $$v)},expression:"style567.value7"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value8),callback:function ($$v) {_vm.$set(_vm.style567, "value8", $$v)},expression:"style567.value8"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value9),callback:function ($$v) {_vm.$set(_vm.style567, "value9", $$v)},expression:"style567.value9"}})],1)]:_vm._e(),(_vm.expressStyle === 'style7')?[_c('div',{staticClass:"expression-style5 style7"},[_c('div',{staticClass:"line style71-line"}),_c('div',{staticClass:"line style72-line"}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value1),callback:function ($$v) {_vm.$set(_vm.style567, "value1", $$v)},expression:"style567.value1"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value2),callback:function ($$v) {_vm.$set(_vm.style567, "value2", $$v)},expression:"style567.value2"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value3),callback:function ($$v) {_vm.$set(_vm.style567, "value3", $$v)},expression:"style567.value3"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value4),callback:function ($$v) {_vm.$set(_vm.style567, "value4", $$v)},expression:"style567.value4"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value5),callback:function ($$v) {_vm.$set(_vm.style567, "value5", $$v)},expression:"style567.value5"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value6),callback:function ($$v) {_vm.$set(_vm.style567, "value6", $$v)},expression:"style567.value6"}})],1)]:_vm._e(),(_vm.expressStyle === 'style8')?[_c('div',{staticClass:"style89"},[_c('span',{staticClass:"pos-top"},[_vm._v("上颌")]),_c('span',{staticClass:"pos-bottom"},[_vm._v("下颌")]),_c('span',{staticClass:"pos-left"},[_vm._v("左")]),_c('span',{staticClass:"pos-right"},[_vm._v("右")]),_vm._m(0),_c('ul',[_vm._l((['8', '7', '6', '5', '4', '3', '2', '1']),function(item){return _c('li',{key:item + 'a'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topLeft),callback:function ($$v) {_vm.$set(_vm.style89, "topLeft", $$v)},expression:"style89.topLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['1', '2', '3', '4', '5', '6', '7', '8']),function(item){return _c('li',{key:item + 'b'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topRight),callback:function ($$v) {_vm.$set(_vm.style89, "topRight", $$v)},expression:"style89.topRight"}},[_c('el-checkbox-button',{attrs:{"size":"mini","label":item}})],1)],1)})],2),_c('ul',[_vm._l((['8', '7', '6', '5', '4', '3', '2', '1']),function(item){return _c('li',{key:item + 'c'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomLeft),callback:function ($$v) {_vm.$set(_vm.style89, "bottomLeft", $$v)},expression:"style89.bottomLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['1', '2', '3', '4', '5', '6', '7', '8']),function(item){return _c('li',{key:item + 'd'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomRight),callback:function ($$v) {_vm.$set(_vm.style89, "bottomRight", $$v)},expression:"style89.bottomRight"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)})],2)])]:_vm._e(),(_vm.expressStyle === 'style9')?[_c('div',{staticClass:"style89 style9"},[_c('span',{staticClass:"pos-top"},[_vm._v("上颌")]),_c('span',{staticClass:"pos-bottom"},[_vm._v("下颌")]),_c('span',{staticClass:"pos-left"},[_vm._v("左")]),_c('span',{staticClass:"pos-right"},[_vm._v("右")]),_vm._m(1),_c('ul',[_vm._l((['V', 'IV', 'III', 'II', 'I']),function(item){return _c('li',{key:item + 'a'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topLeft),callback:function ($$v) {_vm.$set(_vm.style89, "topLeft", $$v)},expression:"style89.topLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['I', 'II', 'III', 'IV', 'V']),function(item){return _c('li',{key:item + 'b'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topRight),callback:function ($$v) {_vm.$set(_vm.style89, "topRight", $$v)},expression:"style89.topRight"}},[_c('el-checkbox-button',{attrs:{"size":"mini","label":item}})],1)],1)})],2),_c('ul',[_vm._l((['V', 'IV', 'III', 'II', 'I']),function(item){return _c('li',{key:item + 'c'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomLeft),callback:function ($$v) {_vm.$set(_vm.style89, "bottomLeft", $$v)},expression:"style89.bottomLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['I', 'II', 'III', 'IV', 'V']),function(item){return _c('li',{key:item + 'd'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomRight),callback:function ($$v) {_vm.$set(_vm.style89, "bottomRight", $$v)},expression:"style89.bottomRight"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)})],2)])]:_vm._e()],2),_c('footer',{staticClass:"dialog-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")]),(_vm.expressStyle === 'style8' || _vm.expressStyle === 'style9')?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重 置")]):_vm._e(),(_vm.expressStyle === 'style8' || _vm.expressStyle === 'style9')?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reverse}},[_vm._v("反 选")]):_vm._e(),(_vm.expressStyle === 'style8' || _vm.expressStyle === 'style9')?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.all}},[_vm._v("全 选")]):_vm._e(),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.cancel}},[_vm._v("取 消")])],1)])}
|
|
196052
196292
|
var ExpressionFormvue_type_template_id_0fa85a23_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"titles"},[_c('li',[_vm._v("第三磨牙")]),_c('li',[_vm._v("第二磨牙")]),_c('li',[_vm._v("第一磨牙")]),_c('li',[_vm._v("第二前磨牙")]),_c('li',[_vm._v("第一前磨牙")]),_c('li',[_vm._v("尖牙")]),_c('li',[_vm._v("侧切牙")]),_c('li',[_vm._v("中切牙")]),_c('li',[_vm._v("中切牙")]),_c('li',[_vm._v("侧切牙")]),_c('li',[_vm._v("尖牙")]),_c('li',[_vm._v("第一前磨牙")]),_c('li',[_vm._v("第二前磨牙")]),_c('li',[_vm._v("第一磨牙")]),_c('li',[_vm._v("第二磨牙")]),_c('li',[_vm._v("第三磨牙")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"titles"},[_c('li',[_vm._v("第二乳磨牙")]),_c('li',[_vm._v("第一乳磨牙")]),_c('li',[_vm._v("乳尖牙")]),_c('li',[_vm._v("乳侧切牙")]),_c('li',[_vm._v("乳中切牙")]),_c('li',[_vm._v("乳中切牙")]),_c('li',[_vm._v("乳侧切牙")]),_c('li',[_vm._v("乳尖牙")]),_c('li',[_vm._v("第一乳磨牙")]),_c('li',[_vm._v("第二乳磨牙")])])}]
|
|
196053
196293
|
|
|
@@ -196546,7 +196786,7 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
196546
196786
|
// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
196547
196787
|
|
|
196548
196788
|
/* harmony default export */ var expressionForm = (expressionForm_ExpressionForm);
|
|
196549
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196789
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=6d6aeec0&
|
|
196550
196790
|
var RadioCheckboxvue_type_template_id_6d6aeec0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,style:({ width: _vm.boxGroup === 1 ? '1060px' : '500px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.controlType === "RadioBox" ? "单选框" : "复选框")+_vm._s(_vm.boxGroup === 1 ? "组" : ""))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("多项")]),_c('el-radio',{staticStyle:{"margin-left":"30px"},attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("单项")])],1),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.groupName),callback:function ($$v) {_vm.groupName=$$v},expression:"groupName"}})],1):_vm._e(),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item",staticStyle:{"padding":"0"}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.radioCheckBoxGroup,"height":"300px"}},[_c('el-table-column',{attrs:{"label":"文本","width":"160"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,4204152597)}),_c('el-table-column',{attrs:{"label":"提示文本","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(scope.row.tipText),callback:function ($$v) {_vm.$set(scope.row, "tipText", $$v)},expression:"scope.row.tipText"}})]}}],null,false,2396764658)}),_c('el-table-column',{attrs:{"label":"数值","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(scope.row.numericValue),callback:function ($$v) {_vm.$set(scope.row, "numericValue", $$v)},expression:"scope.row.numericValue"}})]}}],null,false,3789767535)}),_c('el-table-column',{attrs:{"label":"内部标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"内部标识符"},model:{value:(scope.row.innerIdentifier),callback:function ($$v) {_vm.$set(scope.row, "innerIdentifier", $$v)},expression:"scope.row.innerIdentifier"}})]}}],null,false,1119088692)}),_c('el-table-column',{attrs:{"label":"数据元标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数据元标识符"},model:{value:(scope.row.dataMetaIdentifier),callback:function ($$v) {_vm.$set(scope.row, "dataMetaIdentifier", $$v)},expression:"scope.row.dataMetaIdentifier"}})]}}],null,false,479119831)}),_c('el-table-column',{attrs:{"label":"表示格式","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"表示格式"},model:{value:(scope.row.identifierFormat),callback:function ($$v) {_vm.$set(scope.row, "identifierFormat", $$v)},expression:"scope.row.identifierFormat"}})]}}],null,false,241604674)}),_c('el-table-column',{attrs:{"label":"默认选中","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.controlType === 'RadioBox')?_c('el-radio',{staticClass:"table-radio",attrs:{"label":scope.row.id},model:{value:(_vm.tableRadio),callback:function ($$v) {_vm.tableRadio=$$v},expression:"tableRadio"}}):_vm._e(),(_vm.controlType === 'CheckBox')?_c('el-checkbox',{model:{value:(scope.row.isSelected),callback:function ($$v) {_vm.$set(scope.row, "isSelected", $$v)},expression:"scope.row.isSelected"}}):_vm._e()]}}],null,false,1265273066)}),_c('el-table-column',{attrs:{"label":"勾选框左对齐","width":"58"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.boxAlign),callback:function ($$v) {_vm.$set(scope.row, "boxAlign", $$v)},expression:"scope.row.boxAlign"}})]}}],null,false,599012276)}),_c('el-table-column',{attrs:{"label":"内容转文本","width":"58"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isTransToTextNode),callback:function ($$v) {_vm.$set(scope.row, "isTransToTextNode", $$v)},expression:"scope.row.isTransToTextNode"}})]}}],null,false,614432202)}),_c('el-table-column',{attrs:{"label":"编辑文本","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isEditText),callback:function ($$v) {_vm.$set(scope.row, "isEditText", $$v)},expression:"scope.row.isEditText"}})]}}],null,false,3019799127)}),_c('el-table-column',{attrs:{"label":"可以删除","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isAllowDelete),callback:function ($$v) {_vm.$set(scope.row, "isAllowDelete", $$v)},expression:"scope.row.isAllowDelete"}})]}}],null,false,2012793206)}),_c('el-table-column',{attrs:{"label":"自动回填","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.readType),callback:function ($$v) {_vm.$set(scope.row, "readType", $$v)},expression:"scope.row.readType"}})]}}],null,false,373021414)}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]}}],null,false,1240557165)})],1)],1):_vm._e(),(_vm.boxGroup === 0)?[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.radioCheckbox.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.radioCheckbox.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "innerIdentifier", $$v)},expression:"radioCheckbox.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.radioCheckbox.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "dataMetaIdentifier", $$v)},expression:"radioCheckbox.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.radioCheckbox.identifierFormat),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "identifierFormat", $$v)},expression:"radioCheckbox.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.radioCheckbox.groupName),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "groupName", $$v)},expression:"radioCheckbox.groupName"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(_vm.radioCheckbox.text),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "text", $$v)},expression:"radioCheckbox.text"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(_vm.radioCheckbox.tipText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "tipText", $$v)},expression:"radioCheckbox.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isSelected),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isSelected", $$v)},expression:"radioCheckbox.isSelected"}},[_vm._v("处于选择状态")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isAllowDelete", $$v)},expression:"radioCheckbox.isAllowDelete"}},[_vm._v("可以删除")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.boxAlign),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "boxAlign", $$v)},expression:"radioCheckbox.boxAlign"}},[_vm._v("勾选框左对齐")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.readType),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "readType", $$v)},expression:"radioCheckbox.readType"}},[_vm._v("自动回填")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isTransToTextNode),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToTextNode", $$v)},expression:"radioCheckbox.isTransToTextNode"}},[_vm._v("内容转文本")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isEditText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isEditText", $$v)},expression:"radioCheckbox.isEditText"}},[_vm._v("编辑文本")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数值")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(_vm.radioCheckbox.numericValue),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "numericValue", $$v)},expression:"radioCheckbox.numericValue"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("附加数据")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"附加数据"},model:{value:(_vm.radioCheckbox.additionalData),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "additionalData", $$v)},expression:"radioCheckbox.additionalData"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"勾选级联对象"},model:{value:(_vm.radioCheckbox.checkCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "checkCascadeObject", $$v)},expression:"radioCheckbox.checkCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("不勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"不勾选级联对象"},model:{value:(_vm.radioCheckbox.unCheckCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "unCheckCascadeObject", $$v)},expression:"radioCheckbox.unCheckCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]:_vm._e()],2)]),_c('footer',{staticClass:"modal-footer"},[(_vm.boxGroup === 1)?_c('el-button',{staticStyle:{"transform":"translateX(-352px)"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.addBox}},[_vm._v("增加"+_vm._s(_vm.controlType === "RadioBox" ? "单选项" : "复选项"))]):_vm._e(),_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
196551
196791
|
var RadioCheckboxvue_type_template_id_6d6aeec0_staticRenderFns = []
|
|
196552
196792
|
|
|
@@ -196779,7 +197019,7 @@ var RadioCheckbox_component = normalizeComponent(
|
|
|
196779
197019
|
// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/index.ts
|
|
196780
197020
|
|
|
196781
197021
|
/* harmony default export */ var radioCheckBox = (radioCheckBox_RadioCheckbox);
|
|
196782
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197022
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/commentDialog/CommentDialog.vue?vue&type=template&id=34f4e997&
|
|
196783
197023
|
var CommentDialogvue_type_template_id_34f4e997_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents comment-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("批注")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":function($event){return _vm.$emit('closed')}}})]),_c('section',{staticClass:"modal-content"},[_c('el-input',{attrs:{"type":"textarea","size":"mini","autosize":{ minRows: 13, maxRows: 13 },"clearable":"","placeholder":"批注内容","maxlength":"256","show-word-limit":""},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":function($event){return _vm.$emit('closed')}}},[_vm._v("取消")])],1)])}
|
|
196784
197024
|
var CommentDialogvue_type_template_id_34f4e997_staticRenderFns = []
|
|
196785
197025
|
|
|
@@ -196875,7 +197115,7 @@ var CommentDialog_component = normalizeComponent(
|
|
|
196875
197115
|
// CONCATENATED MODULE: ./src/components/controls/commentDialog/index.ts
|
|
196876
197116
|
|
|
196877
197117
|
/* harmony default export */ var commentDialog = (commentDialog_CommentDialog);
|
|
196878
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197118
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/watermark/WaterSet.vue?vue&type=template&id=468ee214&
|
|
196879
197119
|
var WaterSetvue_type_template_id_468ee214_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents water-set animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("水印")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"50px"}},[_vm._v("内容")]),_c('el-input',{attrs:{"type":"text","size":"mini","clearable":"","placeholder":"文本内容","maxlength":"20","show-word-limit":""},on:{"input":_vm.codeChange},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"50px"}},[_vm._v("角度")]),_c('el-radio-group',{attrs:{"size":"mini"},on:{"change":_vm.codeChange},model:{value:(_vm.rotate),callback:function ($$v) {_vm.rotate=$$v},expression:"rotate"}},[_c('el-radio-button',{attrs:{"label":0}},[_vm._v("水平")]),_c('el-radio-button',{attrs:{"label":1}},[_vm._v("倾斜")])],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"50px"}},[_vm._v("颜色")]),_c('el-color-picker',{attrs:{"show-alpha":""},on:{"change":_vm.codeChange},model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:"color"}})],1)]),_c('div',{staticClass:"section-right"},[_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_vm._v("预 览")]),_c('div',{attrs:{"id":"water"}},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.waterUrl),expression:"waterUrl"}],attrs:{"src":_vm.waterUrl,"alt":"背景水印"}})])])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
196880
197120
|
var WaterSetvue_type_template_id_468ee214_staticRenderFns = []
|
|
196881
197121
|
|
|
@@ -196991,7 +197231,7 @@ var WaterSet_component = normalizeComponent(
|
|
|
196991
197231
|
// CONCATENATED MODULE: ./src/components/controls/watermark/index.ts
|
|
196992
197232
|
|
|
196993
197233
|
|
|
196994
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197234
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/customAttributes/CustomAttributes.vue?vue&type=template&id=caf6d86c&scoped=true&
|
|
196995
197235
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"customsFormModal",staticClass:"control-modal-contents customs-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("自定义属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.customsValue,"max-height":"360px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"名称","width":"210"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)}},model:{value:(scope.row.name),callback:function ($$v) {_vm.$set(scope.row, "name", $$v)},expression:"scope.row.name"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"210"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])})],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
196996
197236
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_staticRenderFns = []
|
|
196997
197237
|
|
|
@@ -197144,7 +197384,7 @@ var CustomAttributes_component = normalizeComponent(
|
|
|
197144
197384
|
// CONCATENATED MODULE: ./src/components/controls/customAttributes/index.ts
|
|
197145
197385
|
|
|
197146
197386
|
/* harmony default export */ var customAttributes = (customAttributes_CustomAttributes);
|
|
197147
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197387
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dataSource/DataSource.vue?vue&type=template&id=d0d17200&
|
|
197148
197388
|
var DataSourcevue_type_template_id_d0d17200_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"dataSourceModal",staticClass:"control-modal-contents data-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("绑定数据源")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",staticStyle:{"padding":"10px"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{model:{value:(_vm.dataSource.dataSourceEnabled),callback:function ($$v) {_vm.$set(_vm.dataSource, "dataSourceEnabled", $$v)},expression:"dataSource.dataSourceEnabled"}},[_vm._v("数据源绑定设置有效")])],1)]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-input',{attrs:{"size":"mini","disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"数据源"},model:{value:(_vm.dataSource.dataSource),callback:function ($$v) {_vm.$set(_vm.dataSource, "dataSource", $$v)},expression:"dataSource.dataSource"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("格式化")]),_c('el-input',{attrs:{"size":"mini","disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"格式化"},model:{value:(_vm.dataSource.format),callback:function ($$v) {_vm.$set(_vm.dataSource, "format", $$v)},expression:"dataSource.format"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("访问路径")]),_c('el-input',{attrs:{"size":"mini","disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"访问路径"},model:{value:(_vm.dataSource.visitPath),callback:function ($$v) {_vm.$set(_vm.dataSource, "visitPath", $$v)},expression:"dataSource.visitPath"}})],1),_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{attrs:{"disabled":!_vm.dataSource.dataSourceEnabled},model:{value:(_vm.dataSource.isReadOnly),callback:function ($$v) {_vm.$set(_vm.dataSource, "isReadOnly", $$v)},expression:"dataSource.isReadOnly"}},[_vm._v("只读")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{attrs:{"disabled":!_vm.dataSource.dataSourceEnabled},model:{value:(_vm.dataSource.autoUpdate),callback:function ($$v) {_vm.$set(_vm.dataSource, "autoUpdate", $$v)},expression:"dataSource.autoUpdate"}},[_vm._v("自动更新,当加载文档或者数据源发生改变时自动更新数值")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("执行状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"请选择","size":"mini"},model:{value:(_vm.dataSource.executeStatus),callback:function ($$v) {_vm.$set(_vm.dataSource, "executeStatus", $$v)},expression:"dataSource.executeStatus"}},[_c('el-option',{attrs:{"label":"总是执行","value":0}}),_c('el-option',{attrs:{"label":"只执行一次","value":1}}),_c('el-option',{attrs:{"label":"不执行","value":2}})],1)],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
197149
197389
|
var DataSourcevue_type_template_id_d0d17200_staticRenderFns = []
|
|
197150
197390
|
|
|
@@ -197254,7 +197494,7 @@ var DataSource_component = normalizeComponent(
|
|
|
197254
197494
|
// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
197255
197495
|
|
|
197256
197496
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
197257
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197497
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=template&id=530d6908&
|
|
197258
197498
|
var ListSourcevue_type_template_id_530d6908_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"listSourceModal",staticClass:"control-modal-contents list-source-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉列表")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item",staticStyle:{"width":"100%"}},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini","placeholder":"来源"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("列表")]),_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listValue,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消默认")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认值")]):_vm._e(),(scope.$index !== _vm.listValue.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
197259
197499
|
var ListSourcevue_type_template_id_530d6908_staticRenderFns = []
|
|
197260
197500
|
|
|
@@ -197535,7 +197775,7 @@ var ListSource_component = normalizeComponent(
|
|
|
197535
197775
|
// CONCATENATED MODULE: ./src/components/controls/listsource/index.ts
|
|
197536
197776
|
|
|
197537
197777
|
/* harmony default export */ var listsource = (listsource_ListSource);
|
|
197538
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197778
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableProperty.vue?vue&type=template&id=7331209a&scoped=true&
|
|
197539
197779
|
var TablePropertyvue_type_template_id_7331209a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canAdjustRowHeight),callback:function ($$v) {_vm.canAdjustRowHeight=$$v},expression:"canAdjustRowHeight"}},[_vm._v("用户可调整行高")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canAdjustRowWidth),callback:function ($$v) {_vm.canAdjustRowWidth=$$v},expression:"canAdjustRowWidth"}},[_vm._v("用户可调整列宽")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canAddRow),callback:function ($$v) {_vm.canAddRow=$$v},expression:"canAddRow"}},[_vm._v("用户可新增表格行列")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canDeleteRow),callback:function ($$v) {_vm.canDeleteRow=$$v},expression:"canDeleteRow"}},[_vm._v("用户可删除表格行列")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canDeleteTable),callback:function ($$v) {_vm.canDeleteTable=$$v},expression:"canDeleteTable"}},[_vm._v("用户可删除表格")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.continuePrintBorders),callback:function ($$v) {_vm.continuePrintBorders=$$v},expression:"continuePrintBorders"}},[_vm._v("续打时打印所有单元格边框")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.isAutoChangeLine),callback:function ($$v) {_vm.isAutoChangeLine=$$v},expression:"isAutoChangeLine"}},[_vm._v("表格内自动换行")])],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
197540
197780
|
var TablePropertyvue_type_template_id_7331209a_scoped_true_staticRenderFns = []
|
|
197541
197781
|
|
|
@@ -197715,7 +197955,7 @@ var TableProperty_component = normalizeComponent(
|
|
|
197715
197955
|
)
|
|
197716
197956
|
|
|
197717
197957
|
/* harmony default export */ var table_TableProperty = (TableProperty_component.exports);
|
|
197718
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197958
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=561d76c0&scoped=true&
|
|
197719
197959
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格行属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyHeight),callback:function ($$v) {_vm.isSpecifyHeight=$$v},expression:"isSpecifyHeight"}},[_vm._v("指定高度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyHeight,"precision":2,"step":1,"min":0,"controls":false,"controls-position":"right"},model:{value:(_vm.rowHeight),callback:function ($$v) {_vm.rowHeight=$$v},expression:"rowHeight"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示高度 "+_vm._s(_vm.rowHeightMm)+" 厘米")])],1),_c('li',{staticClass:"control-item",staticStyle:{"padding":"0 0 0 10px"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.isSpecifyHeight},model:{value:(_vm.isAutoRaiseHeight),callback:function ($$v) {_vm.isAutoRaiseHeight=$$v},expression:"isAutoRaiseHeight"}},[_vm._v("内容过多时自动撑大行高以显示所有内容")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.repeatAsTitleAtPageTop),callback:function ($$v) {_vm.repeatAsTitleAtPageTop=$$v},expression:"repeatAsTitleAtPageTop"}},[_vm._v("在隔页顶端以标题行形式重复出现")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.sameLineCanAcrossPages),callback:function ($$v) {_vm.sameLineCanAcrossPages=$$v},expression:"sameLineCanAcrossPages"}},[_vm._v("同行内容能跨页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.forcedPageBreak),callback:function ($$v) {_vm.forcedPageBreak=$$v},expression:"forcedPageBreak"}},[_vm._v("强制分页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBorders),callback:function ($$v) {_vm.printCellBorders=$$v},expression:"printCellBorders"}},[_vm._v("打印单元格边框线")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBg),callback:function ($$v) {_vm.printCellBg=$$v},expression:"printCellBg"}},[_vm._v("打印单元格背景")])],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
197720
197960
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_staticRenderFns = []
|
|
197721
197961
|
|
|
@@ -197985,7 +198225,7 @@ var TableRowProperty_component = normalizeComponent(
|
|
|
197985
198225
|
)
|
|
197986
198226
|
|
|
197987
198227
|
/* harmony default export */ var TableRowProperty = (TableRowProperty_component.exports);
|
|
197988
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198228
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableColProperty.vue?vue&type=template&id=4ec6e040&
|
|
197989
198229
|
var TableColPropertyvue_type_template_id_4ec6e040_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格列属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyWidth),callback:function ($$v) {_vm.isSpecifyWidth=$$v},expression:"isSpecifyWidth"}},[_vm._v("指定宽度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyWidth,"step":1,"min":0,"precision":2,"controls":false},model:{value:(_vm.width),callback:function ($$v) {_vm.width=$$v},expression:"width"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示宽度 "+_vm._s(_vm.colWidth)+" 厘米")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("垂直对齐方式")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"垂直对齐方式","size":"mini"},model:{value:(_vm.align),callback:function ($$v) {_vm.align=$$v},expression:"align"}},[_c('el-option',{attrs:{"label":"靠上","value":0}}),_c('el-option',{attrs:{"label":"居中","value":1}}),_c('el-option',{attrs:{"label":"靠下","value":2}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编辑器属性")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"编辑器属性","size":"mini"},on:{"change":_vm.editorPropertyChange},model:{value:(_vm.editorProperty),callback:function ($$v) {_vm.editorProperty=$$v},expression:"editorProperty"}},[_c('el-option',{attrs:{"label":"无","value":0}}),_c('el-option',{attrs:{"label":"下拉列表","value":1}}),_c('el-option',{attrs:{"label":"日期","value":2}}),_c('el-option',{attrs:{"label":"数值","value":3}})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.splitCharacter),callback:function ($$v) {_vm.splitCharacter=$$v},expression:"splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}})],1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.allowMultiSelected),callback:function ($$v) {_vm.allowMultiSelected=$$v},expression:"allowMultiSelected"}},[_vm._v("允许多选")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAllowDel),callback:function ($$v) {_vm.isAllowDel=$$v},expression:"isAllowDel"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.canModifyContent),callback:function ($$v) {_vm.canModifyContent=$$v},expression:"canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listItems,"max-height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return (scope.$index !== _vm.listItems.length - 1 && _vm.focusIndexs === scope.$index)?[_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]:undefined}}],null,true)})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期格式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.inputStyle),callback:function ($$v) {_vm.inputStyle=$$v},expression:"inputStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 3),expression:"editorProperty === 3"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("最小值")]),_c('el-input-number',{attrs:{"size":"mini","max":Number(_vm.maxNumVal),"min":0,"step":10,"controls":false},model:{value:(_vm.minNumVal),callback:function ($$v) {_vm.minNumVal=$$v},expression:"minNumVal"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("最大值")]),_c('el-input-number',{attrs:{"size":"mini","min":Number(_vm.minNumVal),"step":10,"controls":false},model:{value:(_vm.maxNumVal),callback:function ($$v) {_vm.maxNumVal=$$v},expression:"maxNumVal"}})],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
197990
198230
|
var TableColPropertyvue_type_template_id_4ec6e040_staticRenderFns = []
|
|
197991
198231
|
|
|
@@ -198299,14 +198539,14 @@ var TableColProperty_component = normalizeComponent(
|
|
|
198299
198539
|
)
|
|
198300
198540
|
|
|
198301
198541
|
/* harmony default export */ var TableColProperty = (TableColProperty_component.exports);
|
|
198302
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198542
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=f044d33c&scoped=true&
|
|
198303
198543
|
var TableCellPropertyvue_type_template_id_f044d33c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-cell-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("单元格属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-tabs',{model:{value:(_vm.textActiveName),callback:function ($$v) {_vm.textActiveName=$$v},expression:"textActiveName"}},[_c('el-tab-pane',{attrs:{"label":"常规","name":"0"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"margin-left":"10px"}},[_vm._v("标题")]),_c('el-input',{attrs:{"size":"mini","placeholder":"标题"},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:"title"}})],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"margin-left":"10px"}},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.lightCellBorders),callback:function ($$v) {_vm.lightCellBorders=$$v},expression:"lightCellBorders"}},[_vm._v("突出显示单元格边框")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"margin-left":"10px"}},[_vm._v("垂直对齐方式")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"垂直对齐方式","size":"mini"},model:{value:(_vm.align),callback:function ($$v) {_vm.align=$$v},expression:"align"}},[_c('el-option',{attrs:{"label":"靠上","value":0}}),_c('el-option',{attrs:{"label":"垂直居中","value":1}}),_c('el-option',{attrs:{"label":"靠下","value":2}})],1)],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("单元格背景色")]),_c('ho-color-picker',{attrs:{"defaultColor":"#ffffff"},model:{value:(_vm.backColor),callback:function ($$v) {_vm.backColor=$$v},expression:"backColor"}})],1)]),_c('li',{staticClass:"control-item"},[_c('div',[_c('span',{staticClass:"label",staticStyle:{"display":"inline-block"}},[_vm._v("单元格内边距")]),_c('span',{staticClass:"label"},[_vm._v("上")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellTop),callback:function ($$v) {_vm.cellTop=$$v},expression:"cellTop"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")]),_c('span',{staticClass:"label"},[_vm._v("下")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellBottom),callback:function ($$v) {_vm.cellBottom=$$v},expression:"cellBottom"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")])],1),_c('div',[_c('span',{staticClass:"label",staticStyle:{"display":"inline-block","padding":"0 44px","margin-left":"-1px"}}),_c('span',{staticClass:"label"},[_vm._v("左")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellLeft),callback:function ($$v) {_vm.cellLeft=$$v},expression:"cellLeft"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")]),_c('span',{staticClass:"label"},[_vm._v("右")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellRight),callback:function ($$v) {_vm.cellRight=$$v},expression:"cellRight"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")])],1)]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("边框设置")]),_c('div',[_c('el-checkbox',{model:{value:(_vm.isDrawGridlines),callback:function ($$v) {_vm.isDrawGridlines=$$v},expression:"isDrawGridlines"}},[_vm._v("绘制边框")])],1)]),_c('li',{staticClass:"control-item grid-lines-style",style:({ color: _vm.isDrawGridlines ? '#000000' : '#C0C4CC' })},[_c('span',{staticClass:"label"}),_c('div',[_c('div',{staticClass:"control-item"},[_c('div',{staticClass:"grid-lines-color-item"},[_c('span',{staticClass:"label",staticStyle:{"display":"inline-block"}},[_vm._v("边框颜色")]),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("上")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[0]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 0, $$v)},expression:"gridLinesColor[0]"}}),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("下")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[1]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 1, $$v)},expression:"gridLinesColor[1]"}})],1),_c('div',{staticClass:"grid-lines-color-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("左")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[2]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 2, $$v)},expression:"gridLinesColor[2]"}}),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("右")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[3]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 3, $$v)},expression:"gridLinesColor[3]"}})],1)]),_c('PrintLineStyle',{attrs:{"isDrawGridlines":_vm.isDrawGridlines,"defaultStyle":_vm.gridLinesStyle,"placeholder":"边框样式"},on:{"change":_vm.printStyleChange}}),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{attrs:{"disabled":!_vm.isDrawGridlines},model:{value:(_vm.printGridLines),callback:function ($$v) {_vm.printGridLines=$$v},expression:"printGridLines"}},[_vm._v("打印边框")])],1)],1)])])]),_c('el-tab-pane',{attrs:{"label":"双击属性","name":"1"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编辑器属性")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"编辑器属性","size":"mini"},model:{value:(_vm.editorProperty),callback:function ($$v) {_vm.editorProperty=$$v},expression:"editorProperty"}},[_c('el-option',{attrs:{"label":"无","value":0}}),_c('el-option',{attrs:{"label":"下拉列表","value":1}}),_c('el-option',{attrs:{"label":"日期","value":2}})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.splitCharacter),callback:function ($$v) {_vm.splitCharacter=$$v},expression:"splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}})],1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.allowMultiSelected),callback:function ($$v) {_vm.allowMultiSelected=$$v},expression:"allowMultiSelected"}},[_vm._v("允许多选")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAllowDel),callback:function ($$v) {_vm.isAllowDel=$$v},expression:"isAllowDel"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.canModifyContent),callback:function ($$v) {_vm.canModifyContent=$$v},expression:"canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listItems,"max-height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return (scope.$index !== _vm.listItems.length - 1 && _vm.focusIndexs === scope.$index)?[_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]:undefined}}],null,true)})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期格式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.inputStyle),callback:function ($$v) {_vm.inputStyle=$$v},expression:"inputStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAutoInputCurDate),callback:function ($$v) {_vm.isAutoInputCurDate=$$v},expression:"isAutoInputCurDate"}},[_vm._v("双击设置当前日期时间")])],1)])])]),_c('el-tab-pane',{attrs:{"label":"斜分割线","name":"2"}},[_c('ul',{staticClass:"diagonal-line"},[_c('li',{class:_vm.obliqueSplitLine === 0 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(0)}}},[_c('span',{staticClass:"line no-line"}),_c('span',[_vm._v("None")])]),_c('li',{class:_vm.obliqueSplitLine === 1 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(1)}}},[_c('span',{staticClass:"line left-line top-line top-left-one-line"}),_c('span',[_vm._v("TopLeftOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 2 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(2)}}},[_c('span',{staticClass:"line left-line top-line top-left-two-line"}),_c('span',[_vm._v("TopLeftTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 3 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(3)}}},[_c('span',{staticClass:"line right-line top-line top-right-one-line"}),_c('span',[_vm._v("TopRightOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 4 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(4)}}},[_c('span',{staticClass:"line right-line top-line top-right-two-line"}),_c('span',[_vm._v("TopRightTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 5 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(5)}}},[_c('span',{staticClass:"line left-line bottom-line bottom-left-one-line"}),_c('span',[_vm._v("BottomLeftOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 6 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(6)}}},[_c('span',{staticClass:"line left-line bottom-line bottom-left-two-line"}),_c('span',[_vm._v("BottomLeftTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 7 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(7)}}},[_c('span',{staticClass:"line right-line bottom-line bottom-right-one-line"}),_c('span',[_vm._v("BottomRightOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 8 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(8)}}},[_c('span',{staticClass:"line right-line bottom-line bottom-right-two-line"}),_c('span',[_vm._v("BottomRightTwoLine")])])])])],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
198304
198544
|
var TableCellPropertyvue_type_template_id_f044d33c_scoped_true_staticRenderFns = []
|
|
198305
198545
|
|
|
198306
198546
|
|
|
198307
198547
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=f044d33c&scoped=true&
|
|
198308
198548
|
|
|
198309
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198549
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/printstyle/PrintLineStyle.vue?vue&type=template&id=3a0156b2&scoped=true&
|
|
198310
198550
|
var PrintLineStylevue_type_template_id_3a0156b2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",style:({ width: _vm.labelWidth })},[_vm._v(_vm._s(_vm.placeholder))]),_c('el-select',{staticClass:"grid-lines-style",staticStyle:{"width":"144px"},attrs:{"disabled":_vm.isDrawGridlines,"placeholder":_vm.placeholder,"size":"mini"},on:{"change":_vm.linesStyleChange},model:{value:(_vm.linesStyle),callback:function ($$v) {_vm.linesStyle=$$v},expression:"linesStyle"}},[_c('el-option',{attrs:{"label":"solid","value":0}},[_c('svg',{attrs:{"viewBox":"0 0 18236 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"100","height":"34"}},[_c('path',{attrs:{"d":"M0 0h18236.952381v1024H0z","fill":"#333"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("solid")])]),_c('el-option',{attrs:{"label":"dash","value":1}},[_c('svg',{attrs:{"viewBox":"0 0 15360 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"100","height":"32","fill":"#333"}},[_c('path',{attrs:{"d":"M0 1024V0h3072v1024H0z m4096 0V0h3072v1024H4096z m8192 0V0h3072v1024h-3072z m-4096 0V0h3072v1024H8192z"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("dash")])]),_c('el-option',{attrs:{"label":"dashdot","value":2}},[_c('svg',{staticStyle:{"transform":"translateY(8px)"},attrs:{"viewBox":"0 0 7680 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"50","height":"20","fill":"#333"}},[_c('path',{attrs:{"d":"M0 0h2304v1024H0V0z m3328 0h1024v1024h-1024V0z m2048 0h2304v1024h-2304V0z"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("dashdot")])]),_c('el-option',{attrs:{"label":"dashdotdo","value":3}},[_c('svg',{attrs:{"viewBox":"0 0 12288 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"80","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M6912 0h1536v1024h-1536V0zM3840 0h1536v1024h-1536V0zM0 0h2304v1024H0V0z m9984 0h2304v1024h-2304V0z"}})]),_c('span',{staticStyle:{"flex":"1","padding":"0 33px"}}),_c('span',[_vm._v("dashdotdot")])]),_c('el-option',{attrs:{"label":"dot","value":4}},[_c('svg',{staticStyle:{"transform":"translateY(-12px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"36","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"}})]),_c('svg',{staticStyle:{"transform":"translateY(-12px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"36","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"}})]),_c('svg',{staticStyle:{"transform":"translateY(-12px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"36","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("dot")])])],1)],1)}
|
|
198311
198551
|
var PrintLineStylevue_type_template_id_3a0156b2_scoped_true_staticRenderFns = []
|
|
198312
198552
|
|
|
@@ -198400,7 +198640,7 @@ var PrintLineStyle_component = normalizeComponent(
|
|
|
198400
198640
|
// CONCATENATED MODULE: ./src/components/controls/printstyle/index.ts
|
|
198401
198641
|
|
|
198402
198642
|
|
|
198403
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198643
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/colorPicker/HoColorPicker.vue?vue&type=template&id=a4ad5878&scoped=true&
|
|
198404
198644
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.closed),expression:"closed"}],ref:"colorPicker",staticClass:"ho-color-picker"},[_c('div',{staticClass:"color-btn",class:{ disabled: _vm.disabled },style:({'background-color': _vm.showColor, 'border-color': _vm.showColor.toLowerCase() === '#ffffff' ? '#333' : 'transparent'}),on:{"click":_vm.openPanel}}),_c('div',{staticClass:"box",class:{ open: _vm.openStatus }},[_c('div',{staticClass:"hd"},[_c('div',{staticClass:"color-view",style:(("background-color: " + _vm.showPanelColor))}),_c('div',{staticClass:"default-color",on:{"click":_vm.handleDefaultColor,"mouseover":function($event){_vm.hoveColor = _vm.defaultColor},"mouseout":function($event){_vm.hoveColor = null}}},[_vm._v("默认颜色")])]),_c('div',{staticClass:"bd"},[_c('h3',[_vm._v("主题颜色")]),_c('ul',{staticClass:"t-color"},_vm._l((_vm.tColor),function(color,index){return _c('li',{key:index,style:({ backgroundColor: color }),on:{"mouseover":function($event){_vm.hoveColor = color},"mouseout":function($event){_vm.hoveColor = null},"click":function($event){return _vm.updataValue(color)}}})}),0),_c('h3',[_vm._v("标准颜色")]),_c('ul',{staticClass:"t-color"},_vm._l((_vm.bColor),function(color,index){return _c('li',{key:index,style:({ backgroundColor: color }),on:{"mouseover":function($event){_vm.hoveColor = color},"mouseout":function($event){_vm.hoveColor = null},"click":function($event){return _vm.updataValue(color)}}})}),0)])])])}
|
|
198405
198645
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_staticRenderFns = []
|
|
198406
198646
|
|
|
@@ -199015,7 +199255,7 @@ var TableCellProperty_component = normalizeComponent(
|
|
|
199015
199255
|
|
|
199016
199256
|
|
|
199017
199257
|
|
|
199018
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199258
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/pageInfoes/PageInfoes.vue?vue&type=template&id=4da72a3a&scoped=true&
|
|
199019
199259
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents pageinfoes-modal ' + _vm.animationClassName},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("页码页数信息")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容")]),_c('el-radio',{attrs:{"size":"small","label":0},model:{value:(_vm.content),callback:function ($$v) {_vm.content=$$v},expression:"content"}},[_vm._v("页码")]),_c('el-radio',{attrs:{"size":"small","label":1},model:{value:(_vm.content),callback:function ($$v) {_vm.content=$$v},expression:"content"}},[_vm._v("总页数")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数字显示格式")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"数字显示格式","size":"mini"},model:{value:(_vm.format),callback:function ($$v) {_vm.format=$$v},expression:"format"}},[_c('el-option',{attrs:{"label":"1. 2. 3. 4. ···","value":0}}),_c('el-option',{attrs:{"label":"一. 二. 三. 四. ···","value":1}})],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
199020
199260
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_staticRenderFns = []
|
|
199021
199261
|
|
|
@@ -199112,7 +199352,7 @@ var PageInfoes_component = normalizeComponent(
|
|
|
199112
199352
|
// CONCATENATED MODULE: ./src/components/controls/pageInfoes/index.ts
|
|
199113
199353
|
|
|
199114
199354
|
/* harmony default export */ var pageInfoes = (pageInfoes_PageInfoes);
|
|
199115
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199355
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/delimiter/Delimiter.vue?vue&type=template&id=0277f9ca&
|
|
199116
199356
|
var Delimitervue_type_template_id_0277f9ca_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("分割符")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",staticStyle:{"padding":"20px"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.width),callback:function ($$v) {_vm.width=$$v},expression:"width"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("px")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("颜色")]),_c('ho-color-picker',{model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:"color"}})],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.insertDelimiter}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
199117
199357
|
var Delimitervue_type_template_id_0277f9ca_staticRenderFns = []
|
|
199118
199358
|
|
|
@@ -199204,7 +199444,7 @@ var Delimiter_component = normalizeComponent(
|
|
|
199204
199444
|
// CONCATENATED MODULE: ./src/components/controls/delimiter/index.ts
|
|
199205
199445
|
|
|
199206
199446
|
/* harmony default export */ var delimiter = (delimiter_Delimiter);
|
|
199207
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199447
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/sign/Sign.vue?vue&type=template&id=f4860f7c&
|
|
199208
199448
|
var Signvue_type_template_id_f4860f7c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("签名")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",staticStyle:{"paDDing":"20px"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名名称")]),_c('el-input',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"}),_c('el-radio',{attrs:{"label":0},model:{value:(_vm.signType),callback:function ($$v) {_vm.signType=$$v},expression:"signType"}},[_vm._v("单人签名")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.signType),callback:function ($$v) {_vm.signType=$$v},expression:"signType"}},[_vm._v("多人签名")])],1),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名格式")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.signFormat),callback:function ($$v) {_vm.signFormat=$$v},expression:"signFormat"}},[_c('el-option',{attrs:{"label":"<医师姓名>","value":"<医师姓名>"}}),_c('el-option',{attrs:{"label":"<医师姓名>(<医师职称>)","value":"<医师姓名>(<医师职称>)"}}),_c('el-option',{attrs:{"label":"<医师姓名>:<医师职称>","value":"<医师姓名>:<医师职称>"}}),_c('el-option',{attrs:{"label":"<医师姓名>:<医师职称>\\n<签名时间>","value":"<医师姓名>:<医师职称>\\n<签名时间>"}}),_vm._l((_vm.customSignFormatList),function(format){return _c('el-option',{key:format.label,attrs:{"label":format.label,"value":format.value}})})],2)],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名时间格式")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.signTimeFormat),callback:function ($$v) {_vm.signTimeFormat=$$v},expression:"signTimeFormat"}},[_c('el-option',{attrs:{"label":"yyyy-MM-DD HH:mm:ss","value":"yyyy-MM-DD HH:mm:ss"}}),_c('el-option',{attrs:{"label":"yyyy-MM-DD HH:mm","value":"yyyy-MM-DD HH:mm"}}),_c('el-option',{attrs:{"label":"yyyy/MM/DD HH:mm:ss","value":"yyyy/MM/DD HH:mm:ss"}}),_c('el-option',{attrs:{"label":"yyyy/MM/DD HH:mm","value":"yyyy/MM/DD HH:mm"}}),_c('el-option',{attrs:{"label":"yyyy年MM月DD日 HH时mm分ss秒","value":"yyyy年MM月DD日 HH时mm分ss秒"}}),_c('el-option',{attrs:{"label":"yyyy年MM月DD日 HH时mm分","value":"yyyy年MM月DD日 HH时mm分"}})],1)],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名连接方式")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.connectMode),callback:function ($$v) {_vm.connectMode=$$v},expression:"connectMode"}},[_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"换行","value":"换行"}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":",","value":","}})],1)],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"}),_c('el-checkbox',{model:{value:(_vm.isFront),callback:function ($$v) {_vm.isFront=$$v},expression:"isFront"}},[_vm._v("连接符前置")]),_c('el-tooltip',{attrs:{"placement":"right","effect":"dark"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("不勾选参数: 医师签名 / "),_c('br'),_vm._v(" 勾选参数: / 医师签名 ")]),_c('i',{staticClass:"el-icon-info",staticStyle:{"font-size":"18px","margin-left":"10px"}})])],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"}),_c('el-checkbox',{model:{value:(_vm.allowEditSignTime),callback:function ($$v) {_vm.allowEditSignTime=$$v},expression:"allowEditSignTime"}},[_vm._v("允许修改签名时间")])],1):_vm._e()]),(_vm.signType === 1)?_c('div',{staticClass:"section-right"},[_c('div',{staticClass:"custom-format-tool-box"},[_c('ul',{staticClass:"custom-format-tool"},[_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<医师姓名>'}}},[_vm._v("医师姓名")]),_c('i',{staticClass:"el-icon-circle-plus"})],1),_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<医师工号>'}}},[_vm._v("医师工号")]),_c('i',{staticClass:"el-icon-circle-plus"})],1),_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<医师职称>'}}},[_vm._v("医师职称")]),_c('i',{staticClass:"el-icon-circle-plus"})],1),_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<签名时间>'}}},[_vm._v("签名时间")]),_c('i',{staticClass:"el-icon-circle-plus"})],1)]),_c('el-input',{attrs:{"type":"textarea","placeholder":"请输入内容"},model:{value:(_vm.customFormatContent),callback:function ($$v) {_vm.customFormatContent=$$v},expression:"customFormatContent"}})],1),_c('p',[_vm._v("提示:")]),_c('p',[_vm._v("1. 尖括号内的内容用来替换, 不能修改")]),_c('p',[_vm._v("2. 尖括号外的内容处理格式,可以编辑")]),_c('p',[_vm._v("2. 回车键可以自动换行,或者手动插入换行符\\n")]),_c('div',{staticClass:"custom-format-tool-btn"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.createSignFormat}},[_vm._v("添加自定义签名格式")])],1)]):_vm._e()]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.insertSign}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
199209
199449
|
var Signvue_type_template_id_f4860f7c_staticRenderFns = []
|
|
199210
199450
|
|
|
@@ -199593,7 +199833,7 @@ var ControlModal_component = normalizeComponent(
|
|
|
199593
199833
|
)
|
|
199594
199834
|
|
|
199595
199835
|
/* harmony default export */ var controls_ControlModal = (ControlModal_component.exports);
|
|
199596
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199836
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/findReplace/FindReplace.vue?vue&type=template&id=fd4f089c&
|
|
199597
199837
|
var FindReplacevue_type_template_id_fd4f089c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"findModal",class:_vm.animationClassNames,on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("查找替换")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("查找内容")]),_c('el-input',{attrs:{"type":"text","size":"mini"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.toFind.apply(null, arguments)}},model:{value:(_vm.findContent),callback:function ($$v) {_vm.findContent=$$v},expression:"findContent"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"label"},[_c('el-checkbox',{on:{"change":_vm.switchTypes},model:{value:(_vm.switchType),callback:function ($$v) {_vm.switchType=$$v},expression:"switchType"}},[_vm._v("替换内容")])],1),_c('el-input',{attrs:{"disabled":!_vm.switchType,"type":"text","size":"mini"},model:{value:(_vm.replaceCentent),callback:function ($$v) {_vm.replaceCentent=$$v},expression:"replaceCentent"}})],1),_c('li',{staticClass:"control-item"},[_c('el-radio',{attrs:{"label":0},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向下")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向上")]),_c('div',{staticStyle:{"margin-left":"30px"}},[_c('el-checkbox',{model:{value:(_vm.matchCase),callback:function ($$v) {_vm.matchCase=$$v},expression:"matchCase"}},[_vm._v("区分大小写")])],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"disabled":_vm.findContent === '',"size":"mini"},on:{"click":_vm.toFind}},[_vm._v("查找")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplace}},[_vm._v("替换")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplaceAll}},[_vm._v("全部替换")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1)])}
|
|
199598
199838
|
var FindReplacevue_type_template_id_fd4f089c_staticRenderFns = []
|
|
199599
199839
|
|
|
@@ -199744,7 +199984,7 @@ var FindReplace_component = normalizeComponent(
|
|
|
199744
199984
|
// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
199745
199985
|
|
|
199746
199986
|
/* harmony default export */ var findReplace = (FindReplace);
|
|
199747
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199987
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/viewContinuousXml/ViewContinuousXml.vue?vue&type=template&id=db8cca98&
|
|
199748
199988
|
var ViewContinuousXmlvue_type_template_id_db8cca98_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.loadMore),expression:"loadMore"}],staticClass:"ho-continuous-viewbox",staticStyle:{"overflow":"auto"}},_vm._l((_vm.continuousView.currentList),function(svgBox,index){return _c('div',{key:index,domProps:{"innerHTML":_vm._s(svgBox.innerHTML)}})}),0)}
|
|
199749
199989
|
var ViewContinuousXmlvue_type_template_id_db8cca98_staticRenderFns = []
|
|
199750
199990
|
|
|
@@ -201002,20 +201242,20 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
201002
201242
|
value: function setActiveDocIndex(activeDocId) {
|
|
201003
201243
|
this.activeDocId = activeDocId;
|
|
201004
201244
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.activeDocId); // 编辑器加载完成后增加浏览器页签切换监听事件 切换走时移除刷新事件 切换回来时候添加编辑事件
|
|
201005
|
-
|
|
201006
|
-
if (document.hidden !== undefined) {
|
|
201007
|
-
|
|
201008
|
-
|
|
201009
|
-
|
|
201010
|
-
|
|
201011
|
-
|
|
201012
|
-
|
|
201013
|
-
|
|
201014
|
-
|
|
201015
|
-
|
|
201016
|
-
|
|
201017
|
-
|
|
201018
|
-
}
|
|
201245
|
+
// 刷新事件暂时完全移除 不在需要监听页签切换
|
|
201246
|
+
// if (document.hidden !== undefined) {
|
|
201247
|
+
// document.addEventListener("visibilitychange", () => {
|
|
201248
|
+
// if (document.hidden) {
|
|
201249
|
+
// if(hoEditorFactory.drawTree.paintStatus !== PaintState.psDesign && hoEditorFactory.drawTree.paintStatus !== PaintState.psEdit && hoEditorFactory.drawTree.paintStatus !== PaintState.psReview) {
|
|
201250
|
+
// hoEditorFactory.vueController.tickerPaused(true);
|
|
201251
|
+
// }
|
|
201252
|
+
// } else {
|
|
201253
|
+
// if(hoEditorFactory.drawTree.paintStatus === PaintState.psDesign || hoEditorFactory.drawTree.paintStatus === PaintState.psEdit || hoEditorFactory.drawTree.paintStatus === PaintState.psReview) {
|
|
201254
|
+
// hoEditorFactory.vueController.tickerPaused(false);
|
|
201255
|
+
// }
|
|
201256
|
+
// }
|
|
201257
|
+
// });
|
|
201258
|
+
// }
|
|
201019
201259
|
|
|
201020
201260
|
this.$emit("docReady", {
|
|
201021
201261
|
vueController: hoEditorFactory.vueController,
|
|
@@ -201236,7 +201476,7 @@ var HoDocsvue_type_style_index_0_lang_scss_media_print_ = __webpack_require__("e
|
|
|
201236
201476
|
|
|
201237
201477
|
var HoDocs_component = normalizeComponent(
|
|
201238
201478
|
components_HoDocsvue_type_script_lang_ts_,
|
|
201239
|
-
|
|
201479
|
+
HoDocsvue_type_template_id_fe729838_render,
|
|
201240
201480
|
staticRenderFns,
|
|
201241
201481
|
false,
|
|
201242
201482
|
null,
|
|
@@ -201246,7 +201486,7 @@ var HoDocs_component = normalizeComponent(
|
|
|
201246
201486
|
)
|
|
201247
201487
|
|
|
201248
201488
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
201249
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201489
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=05f510c6&
|
|
201250
201490
|
var ToolBarvue_type_template_id_05f510c6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tabs',{attrs:{"tabKey":_vm.tabKey},on:{"tabClick":_vm.mainBarClick,"updateTabKey":_vm.updateTabKey}},[_vm._t("beforeBrowse"),_c('tab-pane',{attrs:{"isShow":_vm.defaultBrowseJson.isBrowse,"label":"浏览模式","notHover":true,"name":"ho-browse"}},[(_vm.defaultBrowseJson.saveAsFile)?_c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{attrs:{"trigger":"click"}},[_c('span',{staticClass:"el-dropdown-link"},[_vm._v("另存为")]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('xml')}}},[_vm._v("XML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('html')}}},[_vm._v("HTML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('plain')}}},[_vm._v("TXT")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('json')}}},[_vm._v("JSON")])],1)],1)],1):_vm._e(),(_vm.isPrinted)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{class:_vm.isPrintClass,on:{"click":_vm.outPrinted}},[_vm._v("退出打印预览状态")])]):_vm._e(),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printed)?_c('span',{class:_vm.printedClass,on:{"click":_vm.printed}},[_vm._v("打印")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printSelected)?_c('span',{class:_vm.printSelectedClass,on:{"click":_vm.printSelected}},[_vm._v("打印拖动鼠标选中区域")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border-right":"1px solid #e6e6e6"}},[(_vm.defaultBrowseJson.printCaret)?_c('span',{class:_vm.printCaretClass,on:{"click":_vm.printCaret}},[_vm._v("打印鼠标点击位置")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border":"0"}},[(_vm.defaultBrowseJson.printContinue)?_c('span',{class:_vm.printContinueClass,on:{"click":_vm.printContinue}},[_vm._v("续打")]):_vm._e()]),_c('HoPrintDialog',{attrs:{"vueController":_vm.vueController,"printBeforeStatus":5,"printModal":_vm.printModal},on:{"closed":_vm.closedHoPrintModal}})],1),_vm._t("beforeEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isEdit,"label":"编辑模式","notHover":true,"name":"ho-edit"}},[_c('ToolBarChild',{attrs:{"editJson":_vm.defaultEditJson,"vueController":_vm.vueController,"tabStatus":_vm.tabStatus,"textStyle":_vm.textStyle,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus}})],1),_vm._t("afterEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertElement,"label":"插入","name":"ho-insert"}},[_c('tool-control',{attrs:{"insert":_vm.defaultEditJson,"vueController":_vm.vueController,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus},scopedSlots:_vm._u([{key:"hoInsertItem",fn:function(){return [_vm._t("insideInsert")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertTable,"label":"表格","name":"ho-table"}},[_c('tool-table',{attrs:{"table":_vm.defaultEditJson,"vueController":_vm.vueController},scopedSlots:_vm._u([{key:"hoTableItem",fn:function(){return [_vm._t("insideTable")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultReviewJson.isReview,"label":"审阅模式","name":"ho-review"}},[_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.insertComment)?_c('span',{staticClass:"review",on:{"click":function($event){$event.stopPropagation();return _vm.createControlComment.apply(null, arguments)}}},[_vm._v("插入批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.editComment)?_c('span',{staticClass:"review",on:{"click":_vm.editComment}},[_vm._v("编辑批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteComment}},[_vm._v("删除批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteAllComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteAllComment}},[_vm._v("删除全部批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.cancelDelete)?_c('span',{staticClass:"review",on:{"click":_vm.cancelDelete}},[_vm._v("取消删除文本")]):_vm._e()]),(_vm.userInfoes && _vm.userInfoes.permissionLevel)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{style:({color: _vm.reviewLevel.color[_vm.userInfoes.permissionLevel - 1]})},[_vm._v(_vm._s(_vm.reviewLevel.text[_vm.userInfoes.permissionLevel - 1]))])]):_vm._e(),_vm._t("insertReview")],2),_vm._t("afterReview")],2)}
|
|
201251
201491
|
var ToolBarvue_type_template_id_05f510c6_staticRenderFns = []
|
|
201252
201492
|
|
|
@@ -201259,7 +201499,7 @@ var web_url = __webpack_require__("2b3d");
|
|
|
201259
201499
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.js
|
|
201260
201500
|
var web_url_search_params = __webpack_require__("9861");
|
|
201261
201501
|
|
|
201262
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201502
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoPrintDialog.vue?vue&type=template&id=f3e9ff84&
|
|
201263
201503
|
var HoPrintDialogvue_type_template_id_f3e9ff84_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"title":"打印设置","top":"200px","visible":_vm.printDialog,"center":"","width":"40%","before-close":_vm.closedHoPrintModal,"append-to-body":"","destroy-on-close":"","close-on-click-modal":false},on:{"update:visible":function($event){_vm.printDialog=$event}}},[_c('section',{staticClass:"ho-print-content"},[_c('el-radio',{attrs:{"size":"medium","label":0},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("全部打印")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("奇数页")]),_c('el-radio',{attrs:{"label":2},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("偶数页")]),_c('div',{staticClass:"ho-print-more"},[_c('el-radio',{attrs:{"label":3},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("打印指定页:")]),_c('el-input',{attrs:{"disabled":_vm.printMode !== 3,"size":"mini","placeholder":"示例: 1, 2-4, 5, 7-10, 12"},model:{value:(_vm.printAppoint),callback:function ($$v) {_vm.printAppoint=$$v},expression:"printAppoint"}})],1),(_vm.errorText)?_c('div',{staticClass:"ho-print-error"},[_vm._v(_vm._s(_vm.errorText))]):_vm._e(),_c('div',{staticClass:"ho-print-title"},[_vm._v("指定页: 1, 2-4, 5, 7-10, 12")])],1),_c('span',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.hoPrinted}},[_vm._v("确 定")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.closedHoPrintModal}},[_vm._v("取 消")])],1)])}
|
|
201264
201504
|
var HoPrintDialogvue_type_template_id_f3e9ff84_staticRenderFns = []
|
|
201265
201505
|
|
|
@@ -202330,7 +202570,7 @@ ToolParagraph_ToolParagraph = __decorate([vue_class_component_esm({
|
|
|
202330
202570
|
}
|
|
202331
202571
|
})], ToolParagraph_ToolParagraph);
|
|
202332
202572
|
/* harmony default export */ var toolbar_ToolParagraph = (ToolParagraph_ToolParagraph);
|
|
202333
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202573
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/MedicalExpressions.vue?vue&type=template&id=50152c2d&scoped=true&
|
|
202334
202574
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"overflow":"hidden","height":"640px"},attrs:{"native":false}},[_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style1"},on:{"click":function($event){return _vm.selectedSure('style1')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"43","y":"13"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"43","y":"55"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 40 30 L 80 30"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style2"},on:{"click":function($event){return _vm.selectedSure('style2')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"15","y":"20"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"15","y":"50"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 10 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style3"},on:{"click":function($event){return _vm.selectedSure('style3')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"43","y":"13"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"43","y":"55"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 15 5 L 110 55"}}),_c('path',{attrs:{"d":"M 15 55 L 110 5"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style4"},on:{"click":function($event){return _vm.selectedSure('style4')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("Value3")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 62 30 L 110 30"}}),_c('path',{attrs:{"d":"M 45 45 L 55 15"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style5"},on:{"click":function($event){return _vm.selectedSure('style5')}}},[_c('span',[_vm._v("瞳孔图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"25"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"0","y":"40"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"40","y":"40"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"0","y":"55"}},[_vm._v("Value6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("Value7")])])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style6"},on:{"click":function($event){return _vm.selectedSure('style6')}}},[_c('span',[_vm._v("光定位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"25"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"0","y":"40"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"0","y":"55"}},[_vm._v("Value7")]),_c('text',{attrs:{"x":"40","y":"25"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"40","y":"40"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"40","y":"55"}},[_vm._v("Value8")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("Value6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("Value9")])])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style7"},on:{"click":function($event){return _vm.selectedSure('style7')}}},[_c('span',[_vm._v("胎心图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"12","y":"15"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"12","y":"35"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"12","y":"55"}},[_vm._v("Value7")]),_c('text',{attrs:{"x":"70","y":"15"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"70","y":"35"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"70","y":"55"}},[_vm._v("Value8")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 0 30 L 10 30"}}),_c('path',{attrs:{"d":"M 52 30 L 67 30"}}),_c('path',{attrs:{"d":"M 110 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style8"},on:{"click":function($event){return _vm.selectedSure('style8')}}},[_c('span',[_vm._v("恒牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("12345678")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("12345678")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style9"},on:{"click":function($event){return _vm.selectedSure('style9')}}},[_c('span',[_vm._v("乳牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("I II III IV V")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("I II III IV V")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])])],1)}
|
|
202335
202575
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_staticRenderFns = []
|
|
202336
202576
|
|
|
@@ -202396,7 +202636,7 @@ var MedicalExpressions_component = normalizeComponent(
|
|
|
202396
202636
|
)
|
|
202397
202637
|
|
|
202398
202638
|
/* harmony default export */ var MedicalExpressions = (MedicalExpressions_component.exports);
|
|
202399
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202639
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/UploadImage.vue?vue&type=template&id=208b2688&scoped=true&
|
|
202400
202640
|
var UploadImagevue_type_template_id_208b2688_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-upload',{ref:"upload",staticClass:"upload-image",attrs:{"action":"","file-list":_vm.fileList,"auto-upload":false,"on-change":_vm.uploadImage,"accept":"image/*"}},[_c('el-menu-item',{attrs:{"slot":"trigger","index":"upload"},slot:"trigger"},[_c('svg',{attrs:{"width":"16","height":"16","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('g',{attrs:{"transform":"translate(1 1)"}},[_c('path',{attrs:{"stroke":"none","d":"M1 0h12c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1zm0 1v11h12V1H1z"}}),_c('circle',{attrs:{"stroke":"none","cx":"10","cy":"4","r":"1"}}),_c('path',{attrs:{"stroke":"none","d":"M8.5 11.2l-4-4.1L1 10.7V9.2c1.7-1.6 2.7-2.5 3-2.8.4-.5.7-.4 1 0L8.5 10 11 7.3c.4-.5.6-.5 1-.1l2 2.8v1.5l-2.5-3.4-3 3.1z"}})])]),_c('span',{attrs:{"size":"small"}},[_vm._v("图片")])])],1)}
|
|
202401
202641
|
var UploadImagevue_type_template_id_208b2688_scoped_true_staticRenderFns = []
|
|
202402
202642
|
|
|
@@ -202564,7 +202804,7 @@ var UploadImage_component = normalizeComponent(
|
|
|
202564
202804
|
)
|
|
202565
202805
|
|
|
202566
202806
|
/* harmony default export */ var toolbar_UploadImage = (UploadImage_component.exports);
|
|
202567
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202807
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/SpecialChars.vue?vue&type=template&id=517c34d3&scoped=true&
|
|
202568
202808
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-menu-item',{staticClass:"special-characters",attrs:{"disabled":"","index":"style1"}},[_c('section',[_c('ul',[_c('li',[_c('header',[_vm._v("特殊字符")]),_c('p',{staticClass:"chars-list special-chars-list"},_vm._l((_vm.specialChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("罗马字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.romanChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("数学字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.mathChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)])])])])}
|
|
202569
202809
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_staticRenderFns = []
|
|
202570
202810
|
|
|
@@ -203183,7 +203423,7 @@ ToolControl_ToolControls = __decorate([vue_class_component_esm({
|
|
|
203183
203423
|
}
|
|
203184
203424
|
})], ToolControl_ToolControls);
|
|
203185
203425
|
/* harmony default export */ var toolbar_ToolControl = (ToolControl_ToolControls);
|
|
203186
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203426
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UpdateDocument.vue?vue&type=template&id=01703d21&scoped=true&
|
|
203187
203427
|
var UpdateDocumentvue_type_template_id_01703d21_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(
|
|
203188
203428
|
function () {
|
|
203189
203429
|
_vm.isDocumentShow = false;
|
|
@@ -203257,14 +203497,14 @@ var UpdateDocument_component = normalizeComponent(
|
|
|
203257
203497
|
)
|
|
203258
203498
|
|
|
203259
203499
|
/* harmony default export */ var components_UpdateDocument = (UpdateDocument_component.exports);
|
|
203260
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203500
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
203261
203501
|
var ToolTablevue_type_template_id_7e9dd939_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-submenu',{attrs:{"popper-class":"insert-menus","index":"tables"}},[_c('template',{slot:"title"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16","viewBox":"0 0 16 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-4 -4)"}},[_c('path',{attrs:{"stroke":"none","d":"M4,7 C4,5.34314575 5.34314575,4 7,4 L17,4 C18.6568542,4 20,5.34314575 20,7 L20,17 C20,18.6568542 18.6568542,20 17,20 L7,20 C5.34314575,20 4,18.6568542 4,17 L4,7 Z M7,6 C6.44771525,6 6,6.44771525 6,7 L6,11 L11,11 L11,6 L7,6 Z M13,6 L13,11 L18,11 L18,7 C18,6.44771525 17.5522847,6 17,6 L13,6 Z M18,13 L13,13 L13,18 L17,18 C17.5522847,18 18,17.5522847 18,17 L18,13 Z M11,18 L11,13 L6,13 L6,17 C6,17.5522847 6.44771525,18 7,18 L11,18 Z"}})])]),_c('span',[_vm._v("表格")])]),_c('el-submenu',{attrs:{"index":"insertTable","popper-append-to-body":true}},[_c('template',{slot:"title"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16","viewBox":"0 0 16 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-4 -4)"}},[_c('path',{attrs:{"stroke":"none","d":"M4,7 C4,5.34314575 5.34314575,4 7,4 L17,4 C18.6568542,4 20,5.34314575 20,7 L20,17 C20,18.6568542 18.6568542,20 17,20 L7,20 C5.34314575,20 4,18.6568542 4,17 L4,7 Z M7,6 C6.44771525,6 6,6.44771525 6,7 L6,11 L11,11 L11,6 L7,6 Z M13,6 L13,11 L18,11 L18,7 C18,6.44771525 17.5522847,6 17,6 L13,6 Z M18,13 L13,13 L13,18 L17,18 C17.5522847,18 18,17.5522847 18,17 L18,13 Z M11,18 L11,13 L6,13 L6,17 C6,17.5522847 6.44771525,18 7,18 L11,18 Z"}})])]),_c('span',[_vm._v("插入表格")])]),_c('el-menu-item',{staticClass:"table-menus",attrs:{"index":"0"}},[_c('div',{staticClass:"columns",on:{"mouseleave":_vm.clearData}},[_c('p',{staticClass:"table-title"},[_vm._v(" "+_vm._s(_vm.rows ? _vm.rows + " x " + _vm.columns : "插入")+" 表格 ")]),_vm._l((10),function(row_index){return _c('div',{key:'row_' + row_index,staticClass:"rows",on:{"mousemove":_vm.mouse,"click":_vm.createdTables}},_vm._l((10),function(column_index){return _c('span',{key:'column_index' + column_index,class:row_index <= _vm.rows && column_index <= _vm.columns ? 'selected' : '',attrs:{"data-column":column_index,"data-row":row_index},on:{"touchstart":_vm.touch,"touchmove":_vm.touch,"touchend":_vm.touchend}})}),0)}),_c('p',{staticClass:"table-bottom-title",on:{"click":function($event){_vm.dialogFormVisible = true}}},[_vm._v(" 自定义行列数 ")])],2)])],2),(_vm.isOpen)?_c('TableFeatures',{attrs:{"className":"insert-rows-columns-menu","vueController":_vm.vueController,"table":_vm.table},on:{"closeMenu":_vm.closeMenu}}):_vm._e(),_c('el-dialog',{attrs:{"title":"自定义表格行列","width":"320px","visible":_vm.dialogFormVisible,"top":"200px","append-to-body":"","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{"model":_vm.form}},[_c('el-form-item',{attrs:{"label":"行数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.rows),callback:function ($$v) {_vm.$set(_vm.form, "rows", $$v)},expression:"form.rows"}})],1),_c('el-form-item',{attrs:{"label":"列数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.columns),callback:function ($$v) {_vm.$set(_vm.form, "columns", $$v)},expression:"form.columns"}})],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{on:{"click":function($event){_vm.dialogFormVisible = false}}},[_vm._v("取 消")]),_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")])],1)],1)],2)}
|
|
203262
203502
|
var ToolTablevue_type_template_id_7e9dd939_staticRenderFns = []
|
|
203263
203503
|
|
|
203264
203504
|
|
|
203265
203505
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
203266
203506
|
|
|
203267
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203507
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/TableFeatures.vue?vue&type=template&id=907964ce&
|
|
203268
203508
|
var TableFeaturesvue_type_template_id_907964ce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.className},[(_vm.table.insertRowAbove)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowAbove),expression:"tableInsertRowAbove",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"disabled":"","index":"1"}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"insertTableRowsColumns"}},[_c('path',{attrs:{"d":"M1024 1024H0V384h1024v640zM171.2 127.8L0 256V0l171.2 127.8z m132.9 512.1V512H128l0.1 127.9h176z m0 256.1V767.9h-176L128 896h176.1zM1024 192H256V64h768v128zM592.1 639.9V512h-160v127.9h160z m0 256.1V767.9h-160V896h160z m304-256.1L896 512H720.1v127.9h176zM896 896l0.1-128.1h-176V896H896z"}})])]),_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("上方插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-top",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.topRows),callback:function ($$v) {_vm.topRows=$$v},expression:"topRows"}}),_c('span',[_vm._v(" 行")])],1)]):_vm._e(),(_vm.table.insertRowBelow)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowBelow),expression:"tableInsertRowBelow",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"disabled":"","index":"2"}},[_c('svg',{staticStyle:{"transform":"rotateX(180deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("下方插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-bottom",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.bottomRows),callback:function ($$v) {_vm.bottomRows=$$v},expression:"bottomRows"}}),_c('span',[_vm._v(" 行")])],1)]):_vm._e(),(_vm.table.insertColLeft)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColLeft),expression:"tableInsertColLeft",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"3","disabled":""}},[_c('svg',{staticStyle:{"transform":"rotateZ(270deg) rotateY(180deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("左侧插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-left",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.leftRows),callback:function ($$v) {_vm.leftRows=$$v},expression:"leftRows"}}),_c('span',[_vm._v(" 列")])],1)]):_vm._e(),(_vm.table.insertColRight)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColRight),expression:"tableInsertColRight",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"4","disabled":""}},[_c('svg',{staticStyle:{"transform":"rotateZ(90deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("右侧插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-right",attrs:{"size":"mini","precision":0,"controls":false,"min":1},model:{value:(_vm.rightRows),callback:function ($$v) {_vm.rightRows=$$v},expression:"rightRows"}}),_c('span',[_vm._v(" 列")])],1)]):_vm._e(),(_vm.table.deleteRows)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteRows),expression:"tableDeleteRows",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"5"}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"27213","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M1024.078512 835.218318v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963302H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963302v-161.779812a25.598072 25.598072 0 0 1 26.963302-26.963303h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963303zM1024.078512 27.00187v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963303H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963303V27.00187A25.598072 25.598072 0 0 1 296.410663 0.038568h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963302z m0 0M477.986318 424.625249v167.240734a21.843688 21.843688 0 0 1-18.771919 24.232842H18.927567a21.843688 21.843688 0 0 1-18.771919-24.232842v-167.240734a21.843688 21.843688 0 0 1 18.771919-24.232841h440.286832a21.843688 21.843688 0 0 1 18.771919 24.232841z m0 0"}}),_c('path',{attrs:{"d":"M961.619218 314.724195l-149.492738 149.492738-149.151431-149.492738a36.519915 36.519915 0 0 0-51.878759 0 36.178608 36.178608 0 0 0 0 51.537451l149.492739 149.492738-149.492739 149.492738a36.178608 36.178608 0 0 0 0 51.537451 36.519915 36.519915 0 0 0 51.878759 0l149.151431-149.151431L961.619218 716.784573a36.519915 36.519915 0 0 0 51.878758 0 36.861223 36.861223 0 0 0 0-51.537451l-149.492738-149.492738 149.492738-149.492738a36.861223 36.861223 0 0 0 0-51.537451 36.519915 36.519915 0 0 0-51.878758 0z m25.939379-25.939379"}})]),_c('span',[_vm._v("删除行")])]):_vm._e(),(_vm.table.deleteCols)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteCols),expression:"tableDeleteCols",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"6"}},[_c('svg',{staticStyle:{"transform":"rotateZ(90deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M1024.078512 835.218318v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963302H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963302v-161.779812a25.598072 25.598072 0 0 1 26.963302-26.963303h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963303zM1024.078512 27.00187v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963303H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963303V27.00187A25.598072 25.598072 0 0 1 296.410663 0.038568h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963302z m0 0M477.986318 424.625249v167.240734a21.843688 21.843688 0 0 1-18.771919 24.232842H18.927567a21.843688 21.843688 0 0 1-18.771919-24.232842v-167.240734a21.843688 21.843688 0 0 1 18.771919-24.232841h440.286832a21.843688 21.843688 0 0 1 18.771919 24.232841z m0 0"}}),_c('path',{attrs:{"d":"M961.619218 314.724195l-149.492738 149.492738-149.151431-149.492738a36.519915 36.519915 0 0 0-51.878759 0 36.178608 36.178608 0 0 0 0 51.537451l149.492739 149.492738-149.492739 149.492738a36.178608 36.178608 0 0 0 0 51.537451 36.519915 36.519915 0 0 0 51.878759 0l149.151431-149.151431L961.619218 716.784573a36.519915 36.519915 0 0 0 51.878758 0 36.861223 36.861223 0 0 0 0-51.537451l-149.492738-149.492738 149.492738-149.492738a36.861223 36.861223 0 0 0 0-51.537451 36.519915 36.519915 0 0 0-51.878758 0z m25.939379-25.939379"}})]),_c('span',[_vm._v("删除列")])]):_vm._e(),(_vm.table.mergerCells)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableMergerCells),expression:"tableMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"7"}},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"18","height":"16","viewBox":"0 0 18 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-3 -4)"}},[_c('path',{attrs:{"fill":"#F0F0F0","d":"M0,0 L24,0 L24,24 L0,24 L0,0 Z","opacity":"0"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"4 7 4 5 7 5 10 5 10 19 7 19 4 19 4 16.952","transform":"matrix(-1 0 0 1 14 0)"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"14 7 14 5 17 5 20 5 20 19 17 19 14 19 14 16.952"}}),_c('path',{attrs:{"stroke":"none","d":"M10.3652377,13.1421629 L8.12342591,13.1421629 L8.79597093,13.8610652 C9.03778436,14.1357021 9.02267185,14.5638117 8.76574414,14.8222945 C8.64483728,14.9353803 8.49370422,15 8.33501255,15 C8.17632235,15 8.01763215,14.9353796 7.8967247,14.8142158 L6.1889167,12.9886918 C6.06800984,12.859451 6,12.689822 6,12.5121164 C6,12.4232634 6.01511339,12.3344109 6.05289673,12.2455566 C6.08312352,12.1647811 6.12846356,12.0840053 6.18891699,12.0193853 L7.90427979,10.1938613 C8.02518665,10.0646205 8.18387744,10 8.3501239,10 C8.51637035,10 8.68261828,10.0726979 8.80352426,10.2019384 C8.92443112,10.3311791 8.9848847,10.5008082 8.9848847,10.6785137 C8.98488469,10.8562192 8.91687457,11.0258476 8.795968,11.155089 L8.19898995,11.7932157 L10.3652392,11.7932157 C10.7128461,11.7851381 11,12.0840068 11,12.4636523 C11,12.835216 10.7128446,13.1421629 10.3652377,13.1421629 Z","transform":"matrix(-1 0 0 1 17 0)"}}),_c('path',{attrs:{"stroke":"none","d":"M17.3652377,13.1421629 L15.1234259,13.1421629 L15.7959709,13.8610652 C16.0377844,14.1357021 16.0226718,14.5638117 15.7657441,14.8222945 C15.6448373,14.9353803 15.4937042,15 15.3350126,15 C15.1763223,15 15.0176321,14.9353796 14.8967247,14.8142158 L13.1889167,12.9886918 C13.0680098,12.859451 13,12.689822 13,12.5121164 C13,12.4232634 13.0151134,12.3344109 13.0528967,12.2455566 C13.0831235,12.1647811 13.1284636,12.0840053 13.188917,12.0193853 L14.9042798,10.1938613 C15.0251866,10.0646205 15.1838774,10 15.3501239,10 C15.5163704,10 15.6826183,10.0726979 15.8035243,10.2019384 C15.9244311,10.3311791 15.9848847,10.5008082 15.9848847,10.6785137 C15.9848847,10.8562192 15.9168746,11.0258476 15.795968,11.155089 L15.19899,11.7932157 L17.3652392,11.7932157 C17.7128461,11.7851381 18,12.0840068 18,12.4636523 C18,12.835216 17.7128446,13.1421629 17.3652377,13.1421629 Z"}})])]),_c('span',[_vm._v("合并单元格")])]):_vm._e(),(_vm.table.unMergerCells)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableUnMergerCells),expression:"tableUnMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"8"}},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"18","height":"16","viewBox":"0 0 18 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-3 -4)"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"4 7 4 5 7 5 10 5 10 19 7 19 4 19 4 16.952"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"14 7 14 5 17 5 20 5 20 19 17 19 14 19 14 16.952","transform":"matrix(-1 0 0 1 34 0)"}}),_c('path',{attrs:{"stroke":"none","d":"M7.36523773,13.1421629 L5.12342591,13.1421629 L5.79597093,13.8610652 C6.03778436,14.1357021 6.02267185,14.5638117 5.76574414,14.8222945 C5.64483728,14.9353803 5.49370422,15 5.33501255,15 C5.17632235,15 5.01763215,14.9353796 4.8967247,14.8142158 L3.1889167,12.9886918 C3.06800984,12.859451 3,12.689822 3,12.5121164 C3,12.4232634 3.01511339,12.3344109 3.05289673,12.2455566 C3.08312352,12.1647811 3.12846356,12.0840053 3.18891699,12.0193853 L4.90427979,10.1938613 C5.02518665,10.0646205 5.18387744,10 5.3501239,10 C5.51637035,10 5.68261828,10.0726979 5.80352426,10.2019384 C5.92443112,10.3311791 5.9848847,10.5008082 5.9848847,10.6785137 C5.98488469,10.8562192 5.91687457,11.0258476 5.795968,11.155089 L5.19898995,11.7932157 L7.36523919,11.7932157 C7.71284609,11.7851381 8,12.0840068 8,12.4636523 C8,12.835216 7.71284463,13.1421629 7.36523773,13.1421629 Z"}}),_c('path',{attrs:{"stroke":"none","d":"M20.3652377,13.1421629 L18.1234259,13.1421629 L18.7959709,13.8610652 C19.0377844,14.1357021 19.0226718,14.5638117 18.7657441,14.8222945 C18.6448373,14.9353803 18.4937042,15 18.3350126,15 C18.1763223,15 18.0176321,14.9353796 17.8967247,14.8142158 L16.1889167,12.9886918 C16.0680098,12.859451 16,12.689822 16,12.5121164 C16,12.4232634 16.0151134,12.3344109 16.0528967,12.2455566 C16.0831235,12.1647811 16.1284636,12.0840053 16.188917,12.0193853 L17.9042798,10.1938613 C18.0251866,10.0646205 18.1838774,10 18.3501239,10 C18.5163704,10 18.6826183,10.0726979 18.8035243,10.2019384 C18.9244311,10.3311791 18.9848847,10.5008082 18.9848847,10.6785137 C18.9848847,10.8562192 18.9168746,11.0258476 18.795968,11.155089 L18.19899,11.7932157 L20.3652392,11.7932157 C20.7128461,11.7851381 21,12.0840068 21,12.4636523 C21,12.835216 20.7128446,13.1421629 20.3652377,13.1421629 Z","transform":"matrix(-1 0 0 1 37 0)"}})])]),_c('span',[_vm._v("取消合并单元格")])]):_vm._e(),_c('el-dialog',{attrs:{"title":"表格计算公式","width":"520px","visible":_vm.dialogFormVisible,"top":"200px","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('section',[_c('div',{staticStyle:{"height":"26px","line-height":"36px","font-size":"16px"}},[_vm._v(" "+_vm._s(_vm.dialogFormTitle === "a3:a10" ? "求和公式" : "四则运算公式")+" ")]),_c('div',{staticStyle:{"height":"36px","line-height":"36px"}},[_vm._v("示例: "+_vm._s(_vm.dialogFormTitle))]),_c('el-input',{attrs:{"autocomplete":"off"},model:{value:(_vm.formula),callback:function ($$v) {_vm.formula=$$v},expression:"formula"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")])],1)])],1)}
|
|
203269
203509
|
var TableFeaturesvue_type_template_id_907964ce_staticRenderFns = []
|
|
203270
203510
|
|
|
@@ -203593,7 +203833,7 @@ var ToolTable_component = normalizeComponent(
|
|
|
203593
203833
|
)
|
|
203594
203834
|
|
|
203595
203835
|
/* harmony default export */ var toolbar_ToolTable = (ToolTable_component.exports);
|
|
203596
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203836
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/PageSetting.vue?vue&type=template&id=187fdd38&scoped=true&
|
|
203597
203837
|
var PageSettingvue_type_template_id_187fdd38_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal"},[_c('div',{ref:"pageSettingModal",class:_vm.animationClassNames,on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("页面设置")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-tabs',{model:{value:(_vm.textActiveName),callback:function ($$v) {_vm.textActiveName=$$v},expression:"textActiveName"}},[_c('el-tab-pane',{attrs:{"label":"页面设置","name":"first"}},[_c('div',{staticClass:"control-list"},[_c('fieldset',{staticClass:"control-item fieldset",staticStyle:{"margin":"0 10px 10px 10px"}},[_c('legend',[_vm._v("页边距 毫米")]),_c('ul',{staticClass:"page-spacing"},[_c('li',{staticClass:"page-spacing-item",staticStyle:{"justify-content":"space-between"}},[_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("上(T)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.topMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "topMarginMm", $$v)},expression:"property.topMarginMm"}})],1),_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("左(L)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.leftMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "leftMarginMm", $$v)},expression:"property.leftMarginMm"}})],1)]),_c('li',{staticClass:"page-spacing-item",staticStyle:{"justify-content":"space-between"}},[_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("下(B)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.bottomMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "bottomMarginMm", $$v)},expression:"property.bottomMarginMm"}})],1),_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("右(R)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.rightMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "rightMarginMm", $$v)},expression:"property.rightMarginMm"}})],1)])])]),_c('div',{staticClass:"print-settings"},[_c('fieldset',{staticClass:"fieldset print-direction-item"},[_c('legend',[_vm._v("打印方向")]),_c('div',{class:_vm.property.printDirection === 0 ? 'print-direction is-actived' : 'print-direction',on:{"click":function($event){return _vm.setPrintDirection(0)}}},[_c('div',[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32"}},[_c('path',{attrs:{"d":"M850.56 297.984l-254.336-233.088s-6.314667-7.637333-14.464-7.637333H211.968c-24.064 0-43.776 19.584-43.776 43.776v825.557333c0 24.064 19.584 43.776 43.776 43.776h600.021333c24.064 0 43.776-19.584 43.776-43.776V309.717333a16.213333 16.213333 0 0 0-5.205333-11.733333z m-252.757333-188.416l200.874666 184.149333-149.034666-0.085333a52.053333 52.053333 0 0 1-51.84-51.925333V109.568z m225.92 816.981333a11.733333 11.733333 0 0 1-11.733334 11.733334H211.882667a11.733333 11.733333 0 0 1-11.733334-11.733334V100.992c0-6.528 5.290667-11.733333 11.733334-11.733333h353.877333v152.405333c0 46.208 37.546667 83.84 83.754667 83.84l174.250666 0.213333v600.832z m0 0"}}),_c('path',{attrs:{"d":"M535.04 367.36h-46.08l-127.274667 334.037333h47.616l32.128-91.477333h139.093334l34.090666 91.477333h47.616L535.04 367.36z m-80.042667 204.928l50.048-138.837333c1.962667-5.504 3.797333-13.226667 5.376-23.253334h1.109334c1.962667 11.008 3.669333 18.730667 5.205333 23.253334l50.474667 138.837333h-112.213334z"}})])]),_c('p',[_vm._v("纵向(P)")])]),_c('div',{class:_vm.property.printDirection === 1 ? 'print-direction is-actived' : 'print-direction',on:{"click":function($event){return _vm.setPrintDirection(1)}}},[_c('div',[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32"}},[_c('path',{attrs:{"d":"M296.192 175.189333l-233.088 254.336s-7.637333 6.314667-7.637333 14.464v369.792c0 24.064 19.584 43.776 43.776 43.776h825.557333c24.064 0 43.776-19.584 43.776-43.776V213.76c0-24.064-19.584-43.776-43.776-43.776H307.925333a16.384 16.384 0 0 0-11.733333 5.205333z m-188.416 252.8l184.149333-200.874666-0.128 149.034666a52.053333 52.053333 0 0 1-51.925333 51.84H107.776z m817.024-225.962666c6.528 0 11.733333 5.290667 11.733333 11.733333v600.149333a11.733333 11.733333 0 0 1-11.733333 11.733334H99.2a11.733333 11.733333 0 0 1-11.733333-11.733334v-353.877333h152.405333c46.208 0 83.84-37.546667 83.84-83.754667l0.213333-174.250666h600.874667z m0 0"}}),_c('path',{attrs:{"d":"M555.648 346.752h-46.08L382.293333 680.789333h47.616l32.128-91.477333h139.093334l34.090666 91.477333h47.616l-127.189333-334.037333z m-80.085333 204.928l50.048-138.837333c1.962667-5.504 3.797333-13.226667 5.376-23.253334h1.109333c1.962667 11.008 3.669333 18.730667 5.205333 23.253334l50.474667 138.837333h-112.213333z"}})])]),_c('p',[_vm._v("横向(P)")])])]),_c('div',{staticClass:"control-item",staticStyle:{"padding":"0","margin-left":"10px"}},[_c('fieldset',{staticClass:"fieldset",staticStyle:{"width":"250px","padding":"0 10px","margin":"0"}},[_c('legend',[_vm._v("纸张 毫米")]),_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("大小(Z)")]),_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"mini","placeholder":"请选择纸张大小"},on:{"change":function($event){return _vm.setPrintDirection(_vm.property.printDirection)}},model:{value:(_vm.property.pageSize),callback:function ($$v) {_vm.$set(_vm.property, "pageSize", $$v)},expression:"property.pageSize"}},_vm._l((_vm.paperStyle),function(style,index){return _c('el-option',{key:index,attrs:{"label":style[0],"value":style[0]}})}),1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("来源(S)")]),_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"mini","placeholder":"请选择来源"},model:{value:(_vm.property.source),callback:function ($$v) {_vm.$set(_vm.property, "source", $$v)},expression:"property.source"}},[_c('el-option',{attrs:{"label":"自动选择","value":"0"}})],1)],1),_c('li',{staticClass:"control-item paper-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("宽度(W)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"disabled":_vm.property.pageSize !== '自定义',"controls":false,"size":"mini","step":1,"min":0},model:{value:(_vm.property.widthMm),callback:function ($$v) {_vm.$set(_vm.property, "widthMm", $$v)},expression:"property.widthMm"}})],1),_c('li',{staticClass:"control-item paper-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("高度(H)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"disabled":_vm.property.pageSize !== '自定义',"controls":false,"size":"mini","step":1,"min":0},model:{value:(_vm.property.heightMm),callback:function ($$v) {_vm.$set(_vm.property, "heightMm", $$v)},expression:"property.heightMm"}})],1)])]),_c('fieldset',{staticClass:"fieldset",staticStyle:{"width":"250px","padding":"0 10px 10px"}},[_c('legend',[_vm._v("边框")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("边框颜色")]),_c('el-color-picker',{attrs:{"size":"mini"},model:{value:(_vm.property.borderColor),callback:function ($$v) {_vm.$set(_vm.property, "borderColor", $$v)},expression:"property.borderColor"}})],1),_c('PrintLineStyle',{attrs:{"labelWidth":"64px","defaultStyle":_vm.property.paintRowLine,"placeholder":"绘制行线"},on:{"change":_vm.printStyleChange}})],1)])])])]),_c('el-tab-pane',{attrs:{"label":"页眉页脚","name":"second"}},[_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页眉 毫米")]),_c('div',{staticClass:"control-item"},[_vm._v("距页边界:")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px","padding-left":"54px"}},[_vm._v("至页眉(H):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.headerYMm),callback:function ($$v) {_vm.$set(_vm.property, "headerYMm", $$v)},expression:"property.headerYMm"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}}),_c('el-checkbox',{model:{value:(_vm.property.showFirstPageHead),callback:function ($$v) {_vm.$set(_vm.property, "showFirstPageHead", $$v)},expression:"property.showFirstPageHead"}},[_vm._v("显示-第一页的页眉(H)")])],1)]),_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页脚 毫米")]),_c('div',{staticClass:"control-item"},[_vm._v("距页边界:")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px","padding-left":"54px"}},[_vm._v("至页脚(F):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.footerYMm),callback:function ($$v) {_vm.$set(_vm.property, "footerYMm", $$v)},expression:"property.footerYMm"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}}),_c('el-checkbox',{model:{value:(_vm.property.showFirstPageFoot),callback:function ($$v) {_vm.$set(_vm.property, "showFirstPageFoot", $$v)},expression:"property.showFirstPageFoot"}},[_vm._v("显示-第一页的页脚(F)")])],1)]),_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页数")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}},[_vm._v("从第几页开始(S):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.pageNumber),callback:function ($$v) {_vm.$set(_vm.property, "pageNumber", $$v)},expression:"property.pageNumber"}})],1)])])],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.sureSetPageing}},[_vm._v("确定")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])])}
|
|
203598
203838
|
var PageSettingvue_type_template_id_187fdd38_scoped_true_staticRenderFns = []
|
|
203599
203839
|
|
|
@@ -203793,7 +204033,7 @@ var PageSetting_component = normalizeComponent(
|
|
|
203793
204033
|
)
|
|
203794
204034
|
|
|
203795
204035
|
/* harmony default export */ var toolbar_PageSetting = (PageSetting_component.exports);
|
|
203796
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204036
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/UploadFile.vue?vue&type=template&id=4361e817&
|
|
203797
204037
|
var UploadFilevue_type_template_id_4361e817_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-upload',{staticClass:"upload-image",attrs:{"action":"","accept":".xml","multiple":false,"show-file-list":false,"auto-upload":false,"file-list":_vm.fileList,"on-change":_vm.uploadFiles}},[_c('span',{attrs:{"size":"small"}},[_vm._v("打开文件")])])}
|
|
203798
204038
|
var UploadFilevue_type_template_id_4361e817_staticRenderFns = []
|
|
203799
204039
|
|
|
@@ -203876,6 +204116,158 @@ var UploadFile_component = normalizeComponent(
|
|
|
203876
204116
|
)
|
|
203877
204117
|
|
|
203878
204118
|
/* harmony default export */ var toolbar_UploadFile = (UploadFile_component.exports);
|
|
204119
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HistoryLogs.vue?vue&type=template&id=17141de4&scoped=true&
|
|
204120
|
+
var HistoryLogsvue_type_template_id_17141de4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"sub-bar-items item-history-logs"},[_c('span',{staticStyle:{"padding":"0 10px"},on:{"click":_vm.openHistoryLogs}},[_vm._v("查看记录")]),(_vm.showHistoryLogs && _vm.historyLog)?_c('div',{staticClass:"document-item animation-in"},[(Array.isArray(_vm.historyLog.auto_save))?_c('ul',_vm._l((_vm.historyLog.auto_save),function(history,auto_save_index){return _c('li',{key:history.saveTime + new Date().getTime()},[_c('div',[_c('p',{staticClass:"flex-rows"},[_c('span',{staticStyle:{"padding-left":"4px"}},[_vm._v("缓存时间:"+_vm._s(history.saveTime))]),_c('span',{staticClass:"cover",on:{"click":function($event){return _vm.manualSaveLocalStorage(auto_save_index)}}},[_vm._v("恢复")])]),_vm._l((history.logs),function(logs){return [_c('p',{key:logs.operTime},[_c('span',[_vm._v("操作类型:"+_vm._s(logs._operType))]),_c('span',[_vm._v("操作时间:"+_vm._s(_vm.dateFormat(logs._operTime)))]),_c('span',[_vm._v("操作内容:"+_vm._s(logs._operText))])])]})],2)])}),0):_vm._e()]):_vm._e()])}
|
|
204121
|
+
var HistoryLogsvue_type_template_id_17141de4_scoped_true_staticRenderFns = []
|
|
204122
|
+
|
|
204123
|
+
|
|
204124
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=template&id=17141de4&scoped=true&
|
|
204125
|
+
|
|
204126
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/DropDownClassName.ts
|
|
204127
|
+
|
|
204128
|
+
|
|
204129
|
+
|
|
204130
|
+
|
|
204131
|
+
|
|
204132
|
+
|
|
204133
|
+
/**
|
|
204134
|
+
* 节点添加到 body 上面
|
|
204135
|
+
*/
|
|
204136
|
+
|
|
204137
|
+
var DropDownClassName_DropDownClassNameMixins = /*#__PURE__*/function (_Vue) {
|
|
204138
|
+
Object(inherits["a" /* default */])(DropDownClassNameMixins, _Vue);
|
|
204139
|
+
|
|
204140
|
+
var _super = Object(createSuper["a" /* default */])(DropDownClassNameMixins);
|
|
204141
|
+
|
|
204142
|
+
function DropDownClassNameMixins() {
|
|
204143
|
+
var _this;
|
|
204144
|
+
|
|
204145
|
+
Object(classCallCheck["a" /* default */])(this, DropDownClassNameMixins);
|
|
204146
|
+
|
|
204147
|
+
_this = _super.apply(this, arguments);
|
|
204148
|
+
_this.dropdownClassName = "";
|
|
204149
|
+
return _this;
|
|
204150
|
+
}
|
|
204151
|
+
|
|
204152
|
+
Object(createClass["a" /* default */])(DropDownClassNameMixins, [{
|
|
204153
|
+
key: "dropdownChange",
|
|
204154
|
+
value: function dropdownChange(value) {
|
|
204155
|
+
this.dropdownClassName = value ? "drop-down-open" : "drop-down-close";
|
|
204156
|
+
}
|
|
204157
|
+
}]);
|
|
204158
|
+
|
|
204159
|
+
return DropDownClassNameMixins;
|
|
204160
|
+
}(external_commonjs_vue_commonjs2_vue_root_Vue_default.a);
|
|
204161
|
+
|
|
204162
|
+
DropDownClassName_DropDownClassNameMixins = __decorate([vue_class_component_esm], DropDownClassName_DropDownClassNameMixins);
|
|
204163
|
+
|
|
204164
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HistoryLogs.vue?vue&type=script&lang=ts&
|
|
204165
|
+
|
|
204166
|
+
|
|
204167
|
+
|
|
204168
|
+
|
|
204169
|
+
|
|
204170
|
+
|
|
204171
|
+
|
|
204172
|
+
|
|
204173
|
+
|
|
204174
|
+
var HistoryLogsvue_type_script_lang_ts_HistoryLogs = /*#__PURE__*/function (_Mixins) {
|
|
204175
|
+
Object(inherits["a" /* default */])(HistoryLogs, _Mixins);
|
|
204176
|
+
|
|
204177
|
+
var _super = Object(createSuper["a" /* default */])(HistoryLogs);
|
|
204178
|
+
|
|
204179
|
+
function HistoryLogs() {
|
|
204180
|
+
var _this;
|
|
204181
|
+
|
|
204182
|
+
Object(classCallCheck["a" /* default */])(this, HistoryLogs);
|
|
204183
|
+
|
|
204184
|
+
_this = _super.apply(this, arguments);
|
|
204185
|
+
_this.showHistoryLogs = false;
|
|
204186
|
+
_this.historyLog = null;
|
|
204187
|
+
_this.dateFormat = util["e" /* dateFormat */];
|
|
204188
|
+
return _this;
|
|
204189
|
+
} // created() {
|
|
204190
|
+
// window.addEventListener("setItemEvent", function (e) {
|
|
204191
|
+
// console.log(e);
|
|
204192
|
+
// });
|
|
204193
|
+
// }
|
|
204194
|
+
|
|
204195
|
+
|
|
204196
|
+
Object(createClass["a" /* default */])(HistoryLogs, [{
|
|
204197
|
+
key: "listenersLogsChange",
|
|
204198
|
+
value: function listenersLogsChange(e) {
|
|
204199
|
+
this.getLocalStorage();
|
|
204200
|
+
} // 撤销恢复
|
|
204201
|
+
|
|
204202
|
+
}, {
|
|
204203
|
+
key: "cancelManualSaveLocalStorage",
|
|
204204
|
+
value: function cancelManualSaveLocalStorage(auto_save_index) {
|
|
204205
|
+
this.vueController.hoLocalStorage().cancelManualSaveLocalStorage();
|
|
204206
|
+
} // 恢复
|
|
204207
|
+
|
|
204208
|
+
}, {
|
|
204209
|
+
key: "manualSaveLocalStorage",
|
|
204210
|
+
value: function manualSaveLocalStorage(auto_save_index) {
|
|
204211
|
+
this.vueController.hoLocalStorage().manualSaveLocalStorage(auto_save_index);
|
|
204212
|
+
}
|
|
204213
|
+
}, {
|
|
204214
|
+
key: "getLocalStorage",
|
|
204215
|
+
value: function getLocalStorage() {
|
|
204216
|
+
var historyLog = this.vueController.hoLocalStorage().getLocalStorage();
|
|
204217
|
+
this.historyLog = [];
|
|
204218
|
+
if (historyLog) this.historyLog = historyLog;
|
|
204219
|
+
}
|
|
204220
|
+
}, {
|
|
204221
|
+
key: "openHistoryLogs",
|
|
204222
|
+
value: function openHistoryLogs() {
|
|
204223
|
+
this.showHistoryLogs = !this.showHistoryLogs;
|
|
204224
|
+
this.getLocalStorage();
|
|
204225
|
+
window.addEventListener("setItemEvent", this.listenersLogsChange);
|
|
204226
|
+
}
|
|
204227
|
+
}, {
|
|
204228
|
+
key: "closeHistoryLogs",
|
|
204229
|
+
value: function closeHistoryLogs() {
|
|
204230
|
+
this.showHistoryLogs = false;
|
|
204231
|
+
window.removeEventListener("setItemEvent", this.listenersLogsChange);
|
|
204232
|
+
this.historyLog = null;
|
|
204233
|
+
}
|
|
204234
|
+
}]);
|
|
204235
|
+
|
|
204236
|
+
return HistoryLogs;
|
|
204237
|
+
}(mixins(DropDownClassName_DropDownClassNameMixins));
|
|
204238
|
+
|
|
204239
|
+
__decorate([Prop()], HistoryLogsvue_type_script_lang_ts_HistoryLogs.prototype, "vueController", void 0);
|
|
204240
|
+
|
|
204241
|
+
HistoryLogsvue_type_script_lang_ts_HistoryLogs = __decorate([vue_class_component_esm({
|
|
204242
|
+
name: "HistoryLogs"
|
|
204243
|
+
})], HistoryLogsvue_type_script_lang_ts_HistoryLogs);
|
|
204244
|
+
/* harmony default export */ var HistoryLogsvue_type_script_lang_ts_ = (HistoryLogsvue_type_script_lang_ts_HistoryLogs);
|
|
204245
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=script&lang=ts&
|
|
204246
|
+
/* harmony default export */ var insert_HistoryLogsvue_type_script_lang_ts_ = (HistoryLogsvue_type_script_lang_ts_);
|
|
204247
|
+
// EXTERNAL MODULE: ./src/components/toolbar/insert/HistoryLogs.vue?vue&type=style&index=0&id=17141de4&lang=scss&scoped=true&
|
|
204248
|
+
var HistoryLogsvue_type_style_index_0_id_17141de4_lang_scss_scoped_true_ = __webpack_require__("f5ad");
|
|
204249
|
+
|
|
204250
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/HistoryLogs.vue
|
|
204251
|
+
|
|
204252
|
+
|
|
204253
|
+
|
|
204254
|
+
|
|
204255
|
+
|
|
204256
|
+
|
|
204257
|
+
/* normalize component */
|
|
204258
|
+
|
|
204259
|
+
var HistoryLogs_component = normalizeComponent(
|
|
204260
|
+
insert_HistoryLogsvue_type_script_lang_ts_,
|
|
204261
|
+
HistoryLogsvue_type_template_id_17141de4_scoped_true_render,
|
|
204262
|
+
HistoryLogsvue_type_template_id_17141de4_scoped_true_staticRenderFns,
|
|
204263
|
+
false,
|
|
204264
|
+
null,
|
|
204265
|
+
"17141de4",
|
|
204266
|
+
null
|
|
204267
|
+
|
|
204268
|
+
)
|
|
204269
|
+
|
|
204270
|
+
/* harmony default export */ var insert_HistoryLogs = (HistoryLogs_component.exports);
|
|
203879
204271
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolBarChild.tsx
|
|
203880
204272
|
|
|
203881
204273
|
|
|
@@ -203905,6 +204297,7 @@ var UploadFile_component = normalizeComponent(
|
|
|
203905
204297
|
|
|
203906
204298
|
|
|
203907
204299
|
|
|
204300
|
+
|
|
203908
204301
|
|
|
203909
204302
|
|
|
203910
204303
|
var ToolBarChild_ToolBarChild = /*#__PURE__*/function (_Vue) {
|
|
@@ -204529,7 +204922,9 @@ var ToolBarChild_ToolBarChild = /*#__PURE__*/function (_Vue) {
|
|
|
204529
204922
|
title: "查找替换",
|
|
204530
204923
|
svg: "find"
|
|
204531
204924
|
})
|
|
204532
|
-
})]) : null
|
|
204925
|
+
})]) : null, h(insert_HistoryLogs, {
|
|
204926
|
+
"attrs": _objectSpread2({}, _objectSpread2({}, vueControllerProps))
|
|
204927
|
+
})]);
|
|
204533
204928
|
}
|
|
204534
204929
|
}]);
|
|
204535
204930
|
|
|
@@ -204561,62 +204956,25 @@ ToolBarChild_ToolBarChild = __decorate([vue_class_component_esm({
|
|
|
204561
204956
|
UpdateDocument: components_UpdateDocument,
|
|
204562
204957
|
ToolParagraph: toolbar_ToolParagraph,
|
|
204563
204958
|
UploadFile: toolbar_UploadFile,
|
|
204564
|
-
Poper: popers
|
|
204959
|
+
Poper: popers,
|
|
204960
|
+
HistoryLogs: insert_HistoryLogs
|
|
204565
204961
|
}
|
|
204566
204962
|
})], ToolBarChild_ToolBarChild);
|
|
204567
204963
|
/* harmony default export */ var toolbar_ToolBarChild = (ToolBarChild_ToolBarChild);
|
|
204568
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204569
|
-
var ToolControlvue_type_template_id_0f2f61c6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"sub-bar"},[_vm._t("insertBefore"),(_vm.insert.delimiter)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('delimiter')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M535.630769 606.523077c55.138462 55.138462 106.338462 110.276923 161.476923 165.415385 23.630769 23.630769-11.815385 55.138462-35.446154 35.446154-47.261538-47.261538-94.523077-98.461538-141.784615-145.723077-47.261538 51.2-98.461538 98.461538-145.723077 149.661538-23.630769 23.630769-59.076923-11.815385-35.446154-35.446154 55.138462-55.138462 110.276923-110.276923 165.415385-165.415385C508.061538 598.646154 527.753846 598.646154 535.630769 606.523077z"}}),_c('path',{attrs:{"d":"M500.184615 417.476923c-55.138462-55.138462-110.276923-110.276923-165.415385-165.415385C311.138462 228.430769 346.584615 192.984615 370.215385 216.615385c47.261538 51.2 98.461538 98.461538 145.723077 149.661538 47.261538-47.261538 94.523077-98.461538 141.784615-145.723077 23.630769-23.630769 59.076923 11.815385 35.446154 35.446154-55.138462 55.138462-106.338462 110.276923-161.476923 165.415385C527.753846 425.353846 508.061538 425.353846 500.184615 417.476923z"}}),_c('path',{attrs:{"d":"M1024 515.938462c0 11.815385-27.569231 23.630769-63.015385 23.630769l-894.030769 0c-35.446154 0-63.015385-11.815385-63.015385-23.630769l0 0c0-11.815385 27.569231-23.630769 63.015385-23.630769l894.030769 0C996.430769 492.307692 1024 504.123077 1024 515.938462L1024 515.938462z"}})]),_c('span',[_vm._v("分割符")])]):_vm._e(),(_vm.insert.uploadImage)?_c('li',{staticClass:"sub-bar-items"},[_c('el-upload',{ref:"upload",staticClass:"upload-image",attrs:{"action":"","file-list":_vm.fileList,"show-file-list":false,"auto-upload":false,"on-change":_vm.uploadImage,"accept":"image/*"}},[_c('svg',{staticStyle:{"transform":"translateY(3px)"},attrs:{"width":"16","height":"16","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('g',{attrs:{"transform":"translate(1 1)"}},[_c('path',{attrs:{"stroke":"none","d":"M1 0h12c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1zm0 1v11h12V1H1z"}}),_c('circle',{attrs:{"stroke":"none","cx":"10","cy":"4","r":"1"}}),_c('path',{attrs:{"stroke":"none","d":"M8.5 11.2l-4-4.1L1 10.7V9.2c1.7-1.6 2.7-2.5 3-2.8.4-.5.7-.4 1 0L8.5 10 11 7.3c.4-.5.6-.5 1-.1l2 2.8v1.5l-2.5-3.4-3 3.1z"}})])]),_c('span',{attrs:{"size":"small"}},[_vm._v("图片")])])],1):_vm._e(),(_vm.insert.barcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('barcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(5px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M65.7 158.7h134v703h-134zM703.3 158.7h134v703h-134zM263.4 158.7h57.4v703h-57.4zM901 158.7h57.4v703H901zM572.6 158.7h76.6v703h-76.6zM394.1 158.7H509v703H394.1z"}})]),_c('span',[_vm._v("条形码")])]):_vm._e(),(_vm.insert.qrcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('qrcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(6px)"},attrs:{"viewBox":"0 0 1041 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"13"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M948.906667 931.84h92.16V1024h-92.16zM948.906667 559.786667v184.32H853.333333v-184.32H576.853333V1024h92.16V651.946667h92.16v184.32h279.893334v-276.48z"}}),_c('path',{attrs:{"d":"M761.173333 931.84H853.333333V1024h-92.16zM187.733333 187.733333h92.16v92.16H187.733333z","p-id":"1209"}}),_c('path',{attrs:{"d":"M0 464.213333h464.213333V0H0v464.213333zM92.16 92.16h279.893333v279.893333H92.16V92.16zM187.733333 744.106667h92.16v92.16H187.733333z"}}),_c('path',{attrs:{"d":"M0 1024h464.213333V559.786667H0V1024z m92.16-372.053333h279.893333v279.893333H92.16v-279.893333zM761.173333 187.733333H853.333333v92.16h-92.16z"}}),_c('path',{attrs:{"d":"M1041.066667 0H576.853333v464.213333h464.213334V0z m-92.16 372.053333h-279.893334V92.16h279.893334v279.893333z"}})]),_c('span',[_vm._v("二维码")])]):_vm._e(),(_vm.insert.express)?_c('li',{staticClass:"sub-bar-items"},[_c('HoMedicalExpression',{on:{"openExpress":_vm.openExpress}})],1):_vm._e(),(_vm.insert.datetime)?_c('li',{staticClass:"sub-bar-items"},[_c('HoDateTime',{attrs:{"vueController":_vm.vueController},on:{"setModal":_vm.createControl}})],1):_vm._e(),(_vm.insert.select)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('select')}}},[_c('svg',{attrs:{"viewBox":"0 0 1573 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M890.432646 976.724088l649.322886-750.693969A136.987951 136.987951 0 0 0 1435.64469 0H136.998917a136.987951 136.987951 0 0 0-104.110842 226.030119l649.322886 749.32409a136.987951 136.987951 0 0 0 208.221685 1.369879z"}})]),_c('span',[_vm._v("下拉框")])]):_vm._e(),(_vm.insert.text)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('text')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M34.909091 474.763636c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818zM51.2 279.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 4.654545 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m921.6-316.509091c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m16.290909-300.218182c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 6.981818 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m-481.745455 165.236364H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727272 0h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m211.781818 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-9.309091-16.290909-16.290909-16.290909z m-318.836364 0H230.4c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727273-11.636364H109.381818V930.909091c0-9.309091-6.981818-18.618182-18.618182-18.618182H65.163636v-53.527273c0-9.309091-6.981818-18.618182-16.290909-18.618181-9.309091 0-16.290909 6.981818-16.290909 18.618181v53.527273H18.618182c-9.309091 0-18.618182 6.981818-18.618182 18.618182v74.472727c0 9.309091 6.981818 18.618182 18.618182 18.618182H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182v-16.290909h48.872727c9.309091-2.327273 18.618182-11.636364 18.618182-18.618182-2.327273-11.636364-20.945455-25.6-20.945455-25.6z m528.29091 11.636364h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m104.727272 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909zM442.181818 65.163636h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m-104.727273 0h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m209.454546 0H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909-2.327273 6.981818 6.981818 16.290909 13.963636 16.290909z m-316.509091 0h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H230.4c-9.309091 0-16.290909 6.981818-16.290909 18.618182 0 6.981818 6.981818 13.963636 16.290909 13.963636zM158.254545 32.581818H109.381818V18.618182c0-11.636364-9.309091-18.618182-18.618182-18.618182H18.618182C9.309091 0 0 6.981818 0 18.618182V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h16.290909v48.872727c2.327273 9.309091 11.636364 18.618182 18.618182 18.618182 9.309091 0 23.272727-18.618182 23.272727-18.618182V109.381818H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182V65.163636h48.872727c9.309091 0 16.290909-6.981818 16.290909-16.290909-2.327273-9.309091-9.309091-16.290909-18.618182-16.290909z m495.709091 32.581818h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m104.727273 0H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909zM1005.381818 0H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v16.290909h-48.872727c-9.309091 2.327273-18.618182 11.636364-18.618182 18.618182 0 9.309091 18.618182 23.272727 18.618182 23.272727h48.872727V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h25.6v53.527273c0 9.309091 6.981818 18.618182 16.290909 18.618181 9.309091 0 16.290909-6.981818 16.290909-18.618181V109.381818h16.290909c9.309091 0 18.618182-6.981818 18.618182-18.618182V18.618182c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 912.290909h-16.290909v-48.872727c-2.327273-9.309091-11.636364-18.618182-18.618182-18.618182-9.309091 0-23.272727 18.618182-23.272727 18.618182v48.872727H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v25.6h-48.872727c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h48.872727v16.290909c0 9.309091 6.981818 18.618182 18.618182 18.618182h74.472727c9.309091 0 18.618182-6.981818 18.618182-18.618182V930.909091c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 0"}}),_c('path',{attrs:{"d":"M781.963636 288.581818c0-11.636364 0-20.945455 2.327273-30.254545 0-9.309091 2.327273-16.290909 2.327273-25.6 0-11.636364-6.981818-20.945455-18.618182-23.272728-6.981818-2.327273-18.618182-2.327273-30.254545-2.327272H288.581818c-11.636364 0-20.945455 2.327273-30.254545 4.654545-18.618182 4.654545-20.945455 18.618182-20.945455 25.6 2.327273 20.945455 4.654545 41.890909 4.654546 62.836364 0 20.945455-2.327273 41.890909-4.654546 62.836363 0 4.654545 0 9.309091 9.309091 16.29091 4.654545 2.327273 9.309091 4.654545 13.963636 4.654545 4.654545 0 9.309091 0 13.963637-2.327273 6.981818-2.327273 11.636364-9.309091 13.963636-16.290909 4.654545-20.945455 9.309091-39.563636 13.963637-53.527273 4.654545-11.636364 11.636364-20.945455 18.618181-27.927272 6.981818-6.981818 16.290909-11.636364 27.927273-13.963637 11.636364-2.327273 27.927273-4.654545 48.872727-4.654545 27.927273 0 41.890909 4.654545 46.545455 6.981818 6.981818 4.654545 9.309091 18.618182 9.309091 27.927273v372.363636c0 18.618182 0 30.254545-2.327273 41.890909-2.327273 6.981818-4.654545 13.963636-9.309091 18.618182-4.654545 4.654545-11.636364 6.981818-18.618182 9.309091-9.309091 2.327273-23.272727 4.654545-39.563636 6.981818-6.981818 0-11.636364 4.654545-16.290909 11.636364-2.327273 4.654545-4.654545 9.309091-4.654546 16.290909 0 4.654545 2.327273 11.636364 4.654546 16.290909 4.654545 6.981818 9.309091 9.309091 18.618182 9.309091 18.618182 0 39.563636 0 62.836363-2.327273 44.218182-4.654545 83.781818-4.654545 123.345455 0 20.945455 2.327273 41.890909 2.327273 65.163636 2.327273 6.981818 0 13.963636-2.327273 18.618182-9.309091 2.327273-4.654545 4.654545-9.309091 4.654546-16.290909 0-4.654545-2.327273-11.636364-4.654546-16.290909-4.654545-11.636364-9.309091-16.290909-18.618182-16.290909-16.290909-2.327273-30.254545-4.654545-41.890909-6.981818-9.309091-2.327273-13.963636-4.654545-18.618182-9.309091-4.654545-4.654545-6.981818-9.309091-6.981818-16.290909-2.327273-9.309091-2.327273-23.272727-2.327273-41.89091v-372.363636c0-16.290909 2.327273-25.6 9.309091-27.927273 6.981818-2.327273 20.945455-6.981818 48.872728-6.981818 16.290909 0 32.581818 2.327273 44.218181 4.654546s20.945455 6.981818 27.927273 13.963636c6.981818 6.981818 13.963636 16.290909 18.618182 27.927273 4.654545 13.963636 9.309091 30.254545 11.636364 53.527272 2.327273 6.981818 6.981818 13.963636 13.963636 16.29091 4.654545 2.327273 9.309091 2.327273 13.963636 2.327272 4.654545 0 9.309091-2.327273 13.963637-4.654545 6.981818-4.654545 9.309091-11.636364 9.309091-16.290909 0-11.636364-2.327273-23.272727-2.327273-34.909091 4.654545-13.963636 4.654545-25.6 4.654545-37.236364z"}})]),_c('span',[_vm._v("文本域")])]):_vm._e(),(_vm.insert.radioBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('RadioBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M511.262 3.070c-282.949 0-507.681 227.919-507.681 509.095 0 281.143 227.919 509.092 509.063 509.092 281.175 0 509.095-227.948 509.095-509.092 0-281.175-227.527-509.095-510.477-509.095zM513.578 926.348c-230.265 0-416.953-186.688-416.953-416.951 0-230.292 186.688-416.98 416.953-416.98 230.293 0 416.951 186.689 416.951 416.98 0 230.265-186.658 416.951-416.951 416.951zM820.797 327.158c-17.682-18.585-46.313-18.585-63.99 0l-292.576 307.665-167.863-156.253c-17.683-18.553-46.311-18.553-63.995 0-17.653 18.587-17.653 48.719 0 67.303l195.65 182.058c16.923 17.817 43.956 18.539 61.716 2.196 8.935-1.589 17.508-5.991 24.41-13.234l306.649-322.463c17.653-18.583 17.653-48.685 0.002-67.27z"}})]),_c('span',[_vm._v("单选框")])]):_vm._e(),(_vm.insert.checkBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('CheckBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M877.714286 0H146.285714a146.285714 146.285714 0 0 0-146.285714 146.285714v731.428572a146.285714 146.285714 0 0 0 146.285714 146.285714h731.428572a146.285714 146.285714 0 0 0 146.285714-146.285714V146.285714a146.285714 146.285714 0 0 0-146.285714-146.285714z m73.142857 877.714286a73.142857 73.142857 0 0 1-73.142857 73.142857H146.285714a73.142857 73.142857 0 0 1-73.142857-73.142857V146.285714a73.142857 73.142857 0 0 1 73.142857-73.142857h731.428572a73.142857 73.142857 0 0 1 73.142857 73.142857z"}}),_c('path',{attrs:{"d":"M761.417143 282.331429L416.182857 628.297143 223.817143 438.857143A58.514286 58.514286 0 0 0 146.285714 438.857143a58.514286 58.514286 0 0 0 0 73.142857l230.4 230.4a90.697143 90.697143 0 0 0 38.765715 13.165714 67.291429 67.291429 0 0 0 38.034285-13.165714l384-384a47.542857 47.542857 0 0 0 0-76.8 58.514286 58.514286 0 0 0-76.068571 0.731429z"}})]),_c('span',[_vm._v("复选框")])]):_vm._e(),(_vm.insert.mathFormula)?_c('li',{staticClass:"sub-bar-items"},[_c('HoFormula',{attrs:{"vueController":_vm.vueController}})],1):_vm._e(),(_vm.insert.sign)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('sign')}}},[_c('span',[_vm._v("签名")])]):_vm._e(),(_vm.insert.pageInfoes)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('pageInfoes')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M732.258937 608.38132H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237038h283.372625a32.237037 32.237037 0 0 0 0-64.474075zM793.929791 0h-439.446055a132.41095 132.41095 0 0 0-126.144928 127.793881l-36.689211 1.071819A127.1343 127.1343 0 0 0 70.533977 256.082448v640.041223a131.916264 131.916264 0 0 0 126.144928 127.793881h472.837359a132.41095 132.41095 0 0 0 126.144928-127.793881h31.659903a132.41095 132.41095 0 0 0 126.144928-127.79388V214.446377zM669.516264 959.525926H196.349114a65.958132 65.958132 0 0 1-62.742673-63.89694V256.164895a62.907568 62.907568 0 0 1 60.0219-62.742673l34.463124-1.071819v575.567149a131.916264 131.916264 0 0 0 126.144928 127.793881h378.022544a67.277295 67.277295 0 0 1-62.990016 63.814493z m220.547504-191.690821a66.37037 66.37037 0 0 1-62.742673 63.89694H353.98905a65.958132 65.958132 0 0 1-62.742673-63.89694V127.793881A66.37037 66.37037 0 0 1 353.98905 63.89694h376.703382c-0.577134 74.202899 0 25.558776 0 25.558777 0 66.700161 34.463124 127.216747 101.657971 127.216747h57.713365zM732.258937 448.350403H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237037h283.372625a32.237037 32.237037 0 0 0 0-64.474074z"}})]),_c('span',[_vm._v("页码页数信息")])]):_vm._e(),_vm._t("hoInsertItem"),(_vm.insert.specialChars)?_c('li',{staticClass:"sub-bar-items"},[_c('HoSpecialChars',{attrs:{"vueController":_vm.vueController}})],1):_vm._e()],2)}
|
|
204570
|
-
var
|
|
204964
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=e408f5dc&
|
|
204965
|
+
var ToolControlvue_type_template_id_e408f5dc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"sub-bar"},[_vm._t("insertBefore"),(_vm.insert.delimiter)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('delimiter')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M535.630769 606.523077c55.138462 55.138462 106.338462 110.276923 161.476923 165.415385 23.630769 23.630769-11.815385 55.138462-35.446154 35.446154-47.261538-47.261538-94.523077-98.461538-141.784615-145.723077-47.261538 51.2-98.461538 98.461538-145.723077 149.661538-23.630769 23.630769-59.076923-11.815385-35.446154-35.446154 55.138462-55.138462 110.276923-110.276923 165.415385-165.415385C508.061538 598.646154 527.753846 598.646154 535.630769 606.523077z"}}),_c('path',{attrs:{"d":"M500.184615 417.476923c-55.138462-55.138462-110.276923-110.276923-165.415385-165.415385C311.138462 228.430769 346.584615 192.984615 370.215385 216.615385c47.261538 51.2 98.461538 98.461538 145.723077 149.661538 47.261538-47.261538 94.523077-98.461538 141.784615-145.723077 23.630769-23.630769 59.076923 11.815385 35.446154 35.446154-55.138462 55.138462-106.338462 110.276923-161.476923 165.415385C527.753846 425.353846 508.061538 425.353846 500.184615 417.476923z"}}),_c('path',{attrs:{"d":"M1024 515.938462c0 11.815385-27.569231 23.630769-63.015385 23.630769l-894.030769 0c-35.446154 0-63.015385-11.815385-63.015385-23.630769l0 0c0-11.815385 27.569231-23.630769 63.015385-23.630769l894.030769 0C996.430769 492.307692 1024 504.123077 1024 515.938462L1024 515.938462z"}})]),_c('span',[_vm._v("分割符")])]):_vm._e(),(_vm.insert.uploadImage)?_c('li',{staticClass:"sub-bar-items"},[_c('el-upload',{ref:"upload",staticClass:"upload-image",attrs:{"action":"","file-list":_vm.fileList,"show-file-list":false,"auto-upload":false,"on-change":_vm.uploadImage,"accept":"image/*"}},[_c('svg',{staticStyle:{"transform":"translateY(3px)"},attrs:{"width":"16","height":"16","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('g',{attrs:{"transform":"translate(1 1)"}},[_c('path',{attrs:{"stroke":"none","d":"M1 0h12c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1zm0 1v11h12V1H1z"}}),_c('circle',{attrs:{"stroke":"none","cx":"10","cy":"4","r":"1"}}),_c('path',{attrs:{"stroke":"none","d":"M8.5 11.2l-4-4.1L1 10.7V9.2c1.7-1.6 2.7-2.5 3-2.8.4-.5.7-.4 1 0L8.5 10 11 7.3c.4-.5.6-.5 1-.1l2 2.8v1.5l-2.5-3.4-3 3.1z"}})])]),_c('span',{attrs:{"size":"small"}},[_vm._v("图片")])])],1):_vm._e(),(_vm.insert.barcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('barcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(5px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M65.7 158.7h134v703h-134zM703.3 158.7h134v703h-134zM263.4 158.7h57.4v703h-57.4zM901 158.7h57.4v703H901zM572.6 158.7h76.6v703h-76.6zM394.1 158.7H509v703H394.1z"}})]),_c('span',[_vm._v("条形码")])]):_vm._e(),(_vm.insert.qrcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('qrcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(6px)"},attrs:{"viewBox":"0 0 1041 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"13"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M948.906667 931.84h92.16V1024h-92.16zM948.906667 559.786667v184.32H853.333333v-184.32H576.853333V1024h92.16V651.946667h92.16v184.32h279.893334v-276.48z"}}),_c('path',{attrs:{"d":"M761.173333 931.84H853.333333V1024h-92.16zM187.733333 187.733333h92.16v92.16H187.733333z","p-id":"1209"}}),_c('path',{attrs:{"d":"M0 464.213333h464.213333V0H0v464.213333zM92.16 92.16h279.893333v279.893333H92.16V92.16zM187.733333 744.106667h92.16v92.16H187.733333z"}}),_c('path',{attrs:{"d":"M0 1024h464.213333V559.786667H0V1024z m92.16-372.053333h279.893333v279.893333H92.16v-279.893333zM761.173333 187.733333H853.333333v92.16h-92.16z"}}),_c('path',{attrs:{"d":"M1041.066667 0H576.853333v464.213333h464.213334V0z m-92.16 372.053333h-279.893334V92.16h279.893334v279.893333z"}})]),_c('span',[_vm._v("二维码")])]):_vm._e(),(_vm.insert.express)?_c('li',{staticClass:"sub-bar-items"},[_c('HoMedicalExpression',{on:{"openExpress":_vm.openExpress}})],1):_vm._e(),(_vm.insert.datetime)?_c('li',{staticClass:"sub-bar-items"},[_c('HoDateTime',{attrs:{"vueController":_vm.vueController},on:{"setModal":_vm.createControl}})],1):_vm._e(),(_vm.insert.select)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('select')}}},[_c('svg',{attrs:{"viewBox":"0 0 1573 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M890.432646 976.724088l649.322886-750.693969A136.987951 136.987951 0 0 0 1435.64469 0H136.998917a136.987951 136.987951 0 0 0-104.110842 226.030119l649.322886 749.32409a136.987951 136.987951 0 0 0 208.221685 1.369879z"}})]),_c('span',[_vm._v("下拉框")])]):_vm._e(),(_vm.insert.text)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('text')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M34.909091 474.763636c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818zM51.2 279.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 4.654545 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m921.6-316.509091c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m16.290909-300.218182c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 6.981818 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m-481.745455 165.236364H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727272 0h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m211.781818 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-9.309091-16.290909-16.290909-16.290909z m-318.836364 0H230.4c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727273-11.636364H109.381818V930.909091c0-9.309091-6.981818-18.618182-18.618182-18.618182H65.163636v-53.527273c0-9.309091-6.981818-18.618182-16.290909-18.618181-9.309091 0-16.290909 6.981818-16.290909 18.618181v53.527273H18.618182c-9.309091 0-18.618182 6.981818-18.618182 18.618182v74.472727c0 9.309091 6.981818 18.618182 18.618182 18.618182H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182v-16.290909h48.872727c9.309091-2.327273 18.618182-11.636364 18.618182-18.618182-2.327273-11.636364-20.945455-25.6-20.945455-25.6z m528.29091 11.636364h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m104.727272 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909zM442.181818 65.163636h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m-104.727273 0h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m209.454546 0H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909-2.327273 6.981818 6.981818 16.290909 13.963636 16.290909z m-316.509091 0h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H230.4c-9.309091 0-16.290909 6.981818-16.290909 18.618182 0 6.981818 6.981818 13.963636 16.290909 13.963636zM158.254545 32.581818H109.381818V18.618182c0-11.636364-9.309091-18.618182-18.618182-18.618182H18.618182C9.309091 0 0 6.981818 0 18.618182V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h16.290909v48.872727c2.327273 9.309091 11.636364 18.618182 18.618182 18.618182 9.309091 0 23.272727-18.618182 23.272727-18.618182V109.381818H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182V65.163636h48.872727c9.309091 0 16.290909-6.981818 16.290909-16.290909-2.327273-9.309091-9.309091-16.290909-18.618182-16.290909z m495.709091 32.581818h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m104.727273 0H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909zM1005.381818 0H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v16.290909h-48.872727c-9.309091 2.327273-18.618182 11.636364-18.618182 18.618182 0 9.309091 18.618182 23.272727 18.618182 23.272727h48.872727V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h25.6v53.527273c0 9.309091 6.981818 18.618182 16.290909 18.618181 9.309091 0 16.290909-6.981818 16.290909-18.618181V109.381818h16.290909c9.309091 0 18.618182-6.981818 18.618182-18.618182V18.618182c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 912.290909h-16.290909v-48.872727c-2.327273-9.309091-11.636364-18.618182-18.618182-18.618182-9.309091 0-23.272727 18.618182-23.272727 18.618182v48.872727H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v25.6h-48.872727c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h48.872727v16.290909c0 9.309091 6.981818 18.618182 18.618182 18.618182h74.472727c9.309091 0 18.618182-6.981818 18.618182-18.618182V930.909091c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 0"}}),_c('path',{attrs:{"d":"M781.963636 288.581818c0-11.636364 0-20.945455 2.327273-30.254545 0-9.309091 2.327273-16.290909 2.327273-25.6 0-11.636364-6.981818-20.945455-18.618182-23.272728-6.981818-2.327273-18.618182-2.327273-30.254545-2.327272H288.581818c-11.636364 0-20.945455 2.327273-30.254545 4.654545-18.618182 4.654545-20.945455 18.618182-20.945455 25.6 2.327273 20.945455 4.654545 41.890909 4.654546 62.836364 0 20.945455-2.327273 41.890909-4.654546 62.836363 0 4.654545 0 9.309091 9.309091 16.29091 4.654545 2.327273 9.309091 4.654545 13.963636 4.654545 4.654545 0 9.309091 0 13.963637-2.327273 6.981818-2.327273 11.636364-9.309091 13.963636-16.290909 4.654545-20.945455 9.309091-39.563636 13.963637-53.527273 4.654545-11.636364 11.636364-20.945455 18.618181-27.927272 6.981818-6.981818 16.290909-11.636364 27.927273-13.963637 11.636364-2.327273 27.927273-4.654545 48.872727-4.654545 27.927273 0 41.890909 4.654545 46.545455 6.981818 6.981818 4.654545 9.309091 18.618182 9.309091 27.927273v372.363636c0 18.618182 0 30.254545-2.327273 41.890909-2.327273 6.981818-4.654545 13.963636-9.309091 18.618182-4.654545 4.654545-11.636364 6.981818-18.618182 9.309091-9.309091 2.327273-23.272727 4.654545-39.563636 6.981818-6.981818 0-11.636364 4.654545-16.290909 11.636364-2.327273 4.654545-4.654545 9.309091-4.654546 16.290909 0 4.654545 2.327273 11.636364 4.654546 16.290909 4.654545 6.981818 9.309091 9.309091 18.618182 9.309091 18.618182 0 39.563636 0 62.836363-2.327273 44.218182-4.654545 83.781818-4.654545 123.345455 0 20.945455 2.327273 41.890909 2.327273 65.163636 2.327273 6.981818 0 13.963636-2.327273 18.618182-9.309091 2.327273-4.654545 4.654545-9.309091 4.654546-16.290909 0-4.654545-2.327273-11.636364-4.654546-16.290909-4.654545-11.636364-9.309091-16.290909-18.618182-16.290909-16.290909-2.327273-30.254545-4.654545-41.890909-6.981818-9.309091-2.327273-13.963636-4.654545-18.618182-9.309091-4.654545-4.654545-6.981818-9.309091-6.981818-16.290909-2.327273-9.309091-2.327273-23.272727-2.327273-41.89091v-372.363636c0-16.290909 2.327273-25.6 9.309091-27.927273 6.981818-2.327273 20.945455-6.981818 48.872728-6.981818 16.290909 0 32.581818 2.327273 44.218181 4.654546s20.945455 6.981818 27.927273 13.963636c6.981818 6.981818 13.963636 16.290909 18.618182 27.927273 4.654545 13.963636 9.309091 30.254545 11.636364 53.527272 2.327273 6.981818 6.981818 13.963636 13.963636 16.29091 4.654545 2.327273 9.309091 2.327273 13.963636 2.327272 4.654545 0 9.309091-2.327273 13.963637-4.654545 6.981818-4.654545 9.309091-11.636364 9.309091-16.290909 0-11.636364-2.327273-23.272727-2.327273-34.909091 4.654545-13.963636 4.654545-25.6 4.654545-37.236364z"}})]),_c('span',[_vm._v("文本域")])]):_vm._e(),(_vm.insert.radioBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('RadioBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M511.262 3.070c-282.949 0-507.681 227.919-507.681 509.095 0 281.143 227.919 509.092 509.063 509.092 281.175 0 509.095-227.948 509.095-509.092 0-281.175-227.527-509.095-510.477-509.095zM513.578 926.348c-230.265 0-416.953-186.688-416.953-416.951 0-230.292 186.688-416.98 416.953-416.98 230.293 0 416.951 186.689 416.951 416.98 0 230.265-186.658 416.951-416.951 416.951zM820.797 327.158c-17.682-18.585-46.313-18.585-63.99 0l-292.576 307.665-167.863-156.253c-17.683-18.553-46.311-18.553-63.995 0-17.653 18.587-17.653 48.719 0 67.303l195.65 182.058c16.923 17.817 43.956 18.539 61.716 2.196 8.935-1.589 17.508-5.991 24.41-13.234l306.649-322.463c17.653-18.583 17.653-48.685 0.002-67.27z"}})]),_c('span',[_vm._v("单选框")])]):_vm._e(),(_vm.insert.checkBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('CheckBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M877.714286 0H146.285714a146.285714 146.285714 0 0 0-146.285714 146.285714v731.428572a146.285714 146.285714 0 0 0 146.285714 146.285714h731.428572a146.285714 146.285714 0 0 0 146.285714-146.285714V146.285714a146.285714 146.285714 0 0 0-146.285714-146.285714z m73.142857 877.714286a73.142857 73.142857 0 0 1-73.142857 73.142857H146.285714a73.142857 73.142857 0 0 1-73.142857-73.142857V146.285714a73.142857 73.142857 0 0 1 73.142857-73.142857h731.428572a73.142857 73.142857 0 0 1 73.142857 73.142857z"}}),_c('path',{attrs:{"d":"M761.417143 282.331429L416.182857 628.297143 223.817143 438.857143A58.514286 58.514286 0 0 0 146.285714 438.857143a58.514286 58.514286 0 0 0 0 73.142857l230.4 230.4a90.697143 90.697143 0 0 0 38.765715 13.165714 67.291429 67.291429 0 0 0 38.034285-13.165714l384-384a47.542857 47.542857 0 0 0 0-76.8 58.514286 58.514286 0 0 0-76.068571 0.731429z"}})]),_c('span',[_vm._v("复选框")])]):_vm._e(),(_vm.insert.mathFormula)?_c('li',{staticClass:"sub-bar-items"},[_c('HoFormula',{attrs:{"vueController":_vm.vueController}})],1):_vm._e(),(_vm.insert.sign)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('sign')}}},[_c('span',[_vm._v("签名")])]):_vm._e(),(_vm.insert.pageInfoes)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('pageInfoes')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M732.258937 608.38132H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237038h283.372625a32.237037 32.237037 0 0 0 0-64.474075zM793.929791 0h-439.446055a132.41095 132.41095 0 0 0-126.144928 127.793881l-36.689211 1.071819A127.1343 127.1343 0 0 0 70.533977 256.082448v640.041223a131.916264 131.916264 0 0 0 126.144928 127.793881h472.837359a132.41095 132.41095 0 0 0 126.144928-127.793881h31.659903a132.41095 132.41095 0 0 0 126.144928-127.79388V214.446377zM669.516264 959.525926H196.349114a65.958132 65.958132 0 0 1-62.742673-63.89694V256.164895a62.907568 62.907568 0 0 1 60.0219-62.742673l34.463124-1.071819v575.567149a131.916264 131.916264 0 0 0 126.144928 127.793881h378.022544a67.277295 67.277295 0 0 1-62.990016 63.814493z m220.547504-191.690821a66.37037 66.37037 0 0 1-62.742673 63.89694H353.98905a65.958132 65.958132 0 0 1-62.742673-63.89694V127.793881A66.37037 66.37037 0 0 1 353.98905 63.89694h376.703382c-0.577134 74.202899 0 25.558776 0 25.558777 0 66.700161 34.463124 127.216747 101.657971 127.216747h57.713365zM732.258937 448.350403H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237037h283.372625a32.237037 32.237037 0 0 0 0-64.474074z"}})]),_c('span',[_vm._v("页码页数信息")])]):_vm._e(),_vm._t("hoInsertItem"),(_vm.insert.specialChars)?_c('li',{staticClass:"sub-bar-items"},[_c('HoSpecialChars',{attrs:{"vueController":_vm.vueController}})],1):_vm._e()],2)}
|
|
204966
|
+
var ToolControlvue_type_template_id_e408f5dc_staticRenderFns = []
|
|
204571
204967
|
|
|
204572
204968
|
|
|
204573
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=
|
|
204969
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=e408f5dc&
|
|
204574
204970
|
|
|
204575
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204971
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=e2c455d4&scoped=true&
|
|
204576
204972
|
var HoMedicalExpressionvue_type_template_id_e2c455d4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{class:_vm.dropdownClassName + ' ho-medical-expression-list',attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange,"command":_vm.selectedSure}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M921.6 448.884364h89.6c6.376727 0 12.8-6.376727 12.8-12.753455V333.870545a13.777455 13.777455 0 0 0-12.8-12.8h-102.4c-6.423273 0-19.176727 6.423273-19.176727 12.8l-108.823273 115.060364c-6.376727 6.330182-12.8 6.330182-12.8 0l-57.576727-115.060364c-6.423273-6.376727-12.8-12.8-19.223273-12.8h-166.4a13.777455 13.777455 0 0 0-12.8 12.8V436.130909c0 6.376727 6.423273 12.753455 12.8 12.753455h102.4c6.423273 0 12.8 6.376727 19.176727 12.8l38.4 83.083636v19.130182l-115.2 134.190545c-6.376727 0-12.753455 6.423273-19.176727 6.423273H460.8c-6.376727 0-12.8 6.376727-12.8 12.753455v102.260363c0 6.376727 6.423273 12.8 12.8 12.8h102.4c6.376727 0 19.176727-6.423273 19.176727-12.8l147.223273-166.167273c6.423273-6.376727 12.8-6.376727 12.8 0l83.176727 166.167273c0 6.376727 12.8 12.8 19.223273 12.8h102.4a13.777455 13.777455 0 0 0 12.8-12.8V717.265455a13.777455 13.777455 0 0 0-12.8-12.753455h-38.4c-6.423273 0-12.8-6.423273-19.176727-12.8l-64.046546-127.813818v-19.130182l76.8-83.083636c6.423273-6.423273 12.846545-12.8 19.223273-12.8zM377.623273 65.489455c-32.023273 25.6-64.046545 63.906909-83.223273 127.813818l-31.976727 127.767272H76.8a13.777455 13.777455 0 0 0-12.8 12.8V436.130909c0 6.376727 6.376727 12.753455 12.8 12.753455h153.6l-96.023273 383.441454c-19.176727 76.660364-70.376727 63.860364-70.376727 63.860364H0V1024h64c51.2 0 102.4-6.376727 128-38.353455 32.023273-31.930182 51.2-89.460364 64-153.320727l96.023273-383.441454h147.176727c6.376727 0 12.8-6.376727 12.8-12.753455V333.870545a13.777455 13.777455 0 0 0-12.8-12.8H384l32.023273-121.390545c6.376727-19.130182 38.4-51.106909 57.576727-63.906909 70.376727-51.106909 166.4-19.176727 230.4-6.376727V20.759273c-64-12.753455-204.8-57.483636-326.376727 44.683636v0.046546z"}})]),_c('span',[_vm._v("医学表达式")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{attrs:{"command":"style1"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 130 60"}},[_c('g',{staticClass:"text",attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"48","y":"13"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"48","y":"55"}},[_vm._v("周期")]),_c('text',{attrs:{"x":"75","y":"33"}},[_vm._v("末次月经")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 52 30 L 70 30"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style2"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"5","y":"20"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"5","y":"50"}},[_vm._v("末次月经")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 5 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style3"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"50","y":"13"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"40","y":"55"}},[_vm._v("末次月经")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 15 5 L 110 55"}}),_c('path',{attrs:{"d":"M 15 55 L 110 5"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style4"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 62 30 L 110 30"}}),_c('path',{attrs:{"d":"M 45 45 L 55 15"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style5"}},[_c('p',[_vm._v("瞳孔图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"10","y":"25"}},[_vm._v("1")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("2")]),_c('text',{attrs:{"x":"10","y":"40"}},[_vm._v("3")]),_c('text',{attrs:{"x":"45","y":"40"}},[_vm._v("4")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("5")]),_c('text',{attrs:{"x":"10","y":"55"}},[_vm._v("6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("7")])])])]),_c('el-dropdown-item',{attrs:{"command":"style6"}},[_c('p',[_vm._v("光定位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"10","y":"25"}},[_vm._v("1")]),_c('text',{attrs:{"x":"10","y":"40"}},[_vm._v("4")]),_c('text',{attrs:{"x":"10","y":"55"}},[_vm._v("7")]),_c('text',{attrs:{"x":"45","y":"25"}},[_vm._v("2")]),_c('text',{attrs:{"x":"45","y":"40"}},[_vm._v("5")]),_c('text',{attrs:{"x":"45","y":"55"}},[_vm._v("8")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("3")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("9")])])])]),_c('el-dropdown-item',{attrs:{"command":"style7"}},[_c('p',[_vm._v("胎心图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"26","y":"15"}},[_vm._v("1")]),_c('text',{attrs:{"x":"26","y":"35"}},[_vm._v("4")]),_c('text',{attrs:{"x":"26","y":"55"}},[_vm._v("7")]),_c('text',{attrs:{"x":"84","y":"15"}},[_vm._v("2")]),_c('text',{attrs:{"x":"84","y":"35"}},[_vm._v("5")]),_c('text',{attrs:{"x":"84","y":"55"}},[_vm._v("8")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 0 30 L 10 30"}}),_c('path',{attrs:{"d":"M 52 30 L 67 30"}}),_c('path',{attrs:{"d":"M 110 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style8"}},[_c('p',[_vm._v("恒牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("12345678")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("12345678")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style9"}},[_c('p',[_vm._v("乳牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("I II III IV V")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("I II III IV V")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])])],1)],1)}
|
|
204577
204973
|
var HoMedicalExpressionvue_type_template_id_e2c455d4_scoped_true_staticRenderFns = []
|
|
204578
204974
|
|
|
204579
204975
|
|
|
204580
204976
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=e2c455d4&scoped=true&
|
|
204581
204977
|
|
|
204582
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/DropDownClassName.ts
|
|
204583
|
-
|
|
204584
|
-
|
|
204585
|
-
|
|
204586
|
-
|
|
204587
|
-
|
|
204588
|
-
|
|
204589
|
-
/**
|
|
204590
|
-
* 节点添加到 body 上面
|
|
204591
|
-
*/
|
|
204592
|
-
|
|
204593
|
-
var DropDownClassName_DropDownClassNameMixins = /*#__PURE__*/function (_Vue) {
|
|
204594
|
-
Object(inherits["a" /* default */])(DropDownClassNameMixins, _Vue);
|
|
204595
|
-
|
|
204596
|
-
var _super = Object(createSuper["a" /* default */])(DropDownClassNameMixins);
|
|
204597
|
-
|
|
204598
|
-
function DropDownClassNameMixins() {
|
|
204599
|
-
var _this;
|
|
204600
|
-
|
|
204601
|
-
Object(classCallCheck["a" /* default */])(this, DropDownClassNameMixins);
|
|
204602
|
-
|
|
204603
|
-
_this = _super.apply(this, arguments);
|
|
204604
|
-
_this.dropdownClassName = "";
|
|
204605
|
-
return _this;
|
|
204606
|
-
}
|
|
204607
|
-
|
|
204608
|
-
Object(createClass["a" /* default */])(DropDownClassNameMixins, [{
|
|
204609
|
-
key: "dropdownChange",
|
|
204610
|
-
value: function dropdownChange(value) {
|
|
204611
|
-
this.dropdownClassName = value ? "drop-down-open" : "drop-down-close";
|
|
204612
|
-
}
|
|
204613
|
-
}]);
|
|
204614
|
-
|
|
204615
|
-
return DropDownClassNameMixins;
|
|
204616
|
-
}(external_commonjs_vue_commonjs2_vue_root_Vue_default.a);
|
|
204617
|
-
|
|
204618
|
-
DropDownClassName_DropDownClassNameMixins = __decorate([vue_class_component_esm], DropDownClassName_DropDownClassNameMixins);
|
|
204619
|
-
|
|
204620
204978
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=script&lang=ts&
|
|
204621
204979
|
|
|
204622
204980
|
|
|
@@ -204677,7 +205035,7 @@ var HoMedicalExpression_component = normalizeComponent(
|
|
|
204677
205035
|
)
|
|
204678
205036
|
|
|
204679
205037
|
/* harmony default export */ var insert_HoMedicalExpression = (HoMedicalExpression_component.exports);
|
|
204680
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205038
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoSpecialChars.vue?vue&type=template&id=18ad3397&scoped=true&
|
|
204681
205039
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M825.163595 883.651765H416.226184v-10.842353c62.162824-39.996235 99.629176-117.157647 99.629176-211.727059 0-32.768-4.999529-64.813176-12.047059-95.232H727.642654a18.432 18.432 0 0 0 18.130824-18.672941V477.605647a18.432 18.432 0 0 0-18.130824-18.612706h-254.192941c-16.263529-52.525176-30.358588-106.194824-30.358588-163.84 0-101.074824 77.101176-163.117176 198.053647-163.117176 48.790588 0 96.496941 9.517176 137.095529 24.395294 11.806118 4.457412 24.094118-4.638118 24.094118-17.648941V46.983529a18.853647 18.853647 0 0 0-11.866353-17.468235A448.752941 448.752941 0 0 0 630.904772 0c-210.823529 0-343.762824 103.424-343.762824 279.491765 0 61.138824 15.661176 120.892235 33.129412 179.2H198.776772A18.432 18.432 0 0 0 180.706184 477.304471V546.936471c0 10.24 8.192 18.612706 18.130823 18.612705H351.172066c7.710118 34.153412 13.372235 68.306824 13.372235 102.701177 0 105.050353-65.355294 193.536-165.165176 218.895059a18.552471 18.552471 0 0 0-13.854118 18.070588v89.509647c0 10.24 8.192 18.612706 18.130824 18.612706H825.223831a18.432 18.432 0 0 0 18.130823-18.672941V902.324706a18.432 18.432 0 0 0-18.130823-18.672941z"}})]),_c('span',[_vm._v("特殊字符")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{staticClass:"special-characters",attrs:{"disabled":""}},[_c('section',[_c('ul',[_c('li',[_c('header',[_vm._v("特殊字符")]),_c('p',{staticClass:"chars-list special-chars-list"},_vm._l((_vm.specialChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("罗马字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.romanChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("数学字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.mathChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)])])])])],1)],1)}
|
|
204682
205040
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_staticRenderFns = []
|
|
204683
205041
|
|
|
@@ -204782,7 +205140,7 @@ var HoSpecialChars_component = normalizeComponent(
|
|
|
204782
205140
|
)
|
|
204783
205141
|
|
|
204784
205142
|
/* harmony default export */ var insert_HoSpecialChars = (HoSpecialChars_component.exports);
|
|
204785
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205143
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoDateTime.vue?vue&type=template&id=07b294c6&
|
|
204786
205144
|
var HoDateTimevue_type_template_id_07b294c6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M3.323286 405.074141v577.095823c0 23.005753 18.822889 41.828641 41.828641 41.828642h933.696146c23.005753 0 41.828641-18.822889 41.828641-41.828642v-577.095823H3.323286z m295.734072 386.159229h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.487244 27.885761-27.885761 27.885761m0-145.005957h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.487244 27.885761-27.885761 27.885761m283.110188 145.005957h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.485849 27.885761-27.885761 27.885761m0-145.005957h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.485849 27.885761-27.885761 27.885761m249.973539 145.005957h-107.197049c-15.399911 0-27.885761-12.484455-27.88576-27.885761s12.485849-27.885761 27.88576-27.885761h107.197049c15.4027 0 27.885761 12.484455 27.88576 27.885761s-12.484455 27.885761-27.88576 27.885761m0-145.005957h-107.197049c-15.399911 0-27.885761-12.484455-27.88576-27.885761s12.485849-27.885761 27.88576-27.885761h107.197049c15.4027 0 27.885761 12.484455 27.88576 27.885761s-12.484455 27.885761-27.88576 27.885761M293.55968 230.408889c-23.486782 0-42.525785-19.039003-42.525785-42.525786V42.525785c0-23.486782 19.039003-42.525785 42.525785-42.525785s42.525785 19.039003 42.525786 42.525785v145.357318c0 23.486782-19.039003 42.525785-42.525786 42.525786M719.447753 230.408889c-23.486782 0-42.525785-19.039003-42.525785-42.525786V42.525785c0-23.486782 19.039003-42.525785 42.525785-42.525785s42.525785 19.039003 42.525785 42.525785v145.357318c0 23.486782-19.039003 42.525785-42.525785 42.525786","p-id":"2003"}}),_c('path',{attrs:{"d":"M978.848073 101.085884H787.767867v86.797219c0 37.730829-30.587891 68.320114-68.320114 68.320114s-68.320114-30.589285-68.320114-68.320114V101.085884H361.879794v86.797219c0 37.730829-30.589285 68.320114-68.320114 68.320114-37.732223 0-68.320114-30.589285-68.320114-68.320114V101.085884H45.151927c-23.005753 0-41.828641 18.822889-41.828641 41.828641v206.388094h1017.353428V142.914525c0-23.005753-18.822889-41.828641-41.828641-41.828641"}})]),_c('span',[_vm._v("日期时间")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.dateFormatValue),function(value,index){return _c('el-dropdown-item',{key:value + index,staticClass:"date-time-item",attrs:{"index":_vm.dateFormatList[index]},nativeOn:{"click":function($event){return _vm.selectedDate(_vm.dateFormatList[index], value)}}},[_vm._v(_vm._s(value))])}),_c('el-dropdown-item',{staticClass:"date-time-item",nativeOn:{"click":function($event){return _vm.selectedDate('more', '')}}},[_vm._v("更多日期属性")])],2)],1)}
|
|
204787
205145
|
var HoDateTimevue_type_template_id_07b294c6_staticRenderFns = []
|
|
204788
205146
|
|
|
@@ -204888,7 +205246,7 @@ var HoDateTime_component = normalizeComponent(
|
|
|
204888
205246
|
)
|
|
204889
205247
|
|
|
204890
205248
|
/* harmony default export */ var insert_HoDateTime = (HoDateTime_component.exports);
|
|
204891
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205249
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/hoformula/HoFormula.vue?vue&type=template&id=88e6be42&
|
|
204892
205250
|
var HoFormulavue_type_template_id_88e6be42_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',{on:{"click":_vm.insertFormula}},[_vm._v("插入公式")]),_c('el-dialog',{staticClass:"ho-formula-iframe",attrs:{"title":"公式编辑","width":"868px","visible":_vm.createFormula,"close-on-click-modal":false,"top":"150px","append-to-body":"","center":""},on:{"update:visible":function($event){_vm.createFormula=$event},"before-close":_vm.closeFormula}},[_c('section',[_c('div',{staticClass:"kf-editor",attrs:{"id":"HoKfEditorContainer"}}),(_vm.kityformulaError)?_c('p',[_vm._v(_vm._s(_vm.kityformulaError))]):_vm._e()]),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{staticClass:"right",attrs:{"id":"kityformula-btn"},on:{"click":_vm.sureInsertKityFormula}},[_vm._v("确认插入")]),_c('el-button',{staticClass:"right",attrs:{"id":"kityformula-btn"},on:{"click":_vm.closeFormula}},[_vm._v("取消")])],1)])],1)}
|
|
204893
205251
|
var HoFormulavue_type_template_id_88e6be42_staticRenderFns = []
|
|
204894
205252
|
|
|
@@ -205236,8 +205594,8 @@ ToolControlvue_type_script_lang_ts_ToolControl = __decorate([vue_class_component
|
|
|
205236
205594
|
|
|
205237
205595
|
var ToolControl_component = normalizeComponent(
|
|
205238
205596
|
insert_ToolControlvue_type_script_lang_ts_,
|
|
205239
|
-
|
|
205240
|
-
|
|
205597
|
+
ToolControlvue_type_template_id_e408f5dc_render,
|
|
205598
|
+
ToolControlvue_type_template_id_e408f5dc_staticRenderFns,
|
|
205241
205599
|
false,
|
|
205242
205600
|
null,
|
|
205243
205601
|
null,
|
|
@@ -205246,14 +205604,14 @@ var ToolControl_component = normalizeComponent(
|
|
|
205246
205604
|
)
|
|
205247
205605
|
|
|
205248
205606
|
/* harmony default export */ var insert_ToolControl = (ToolControl_component.exports);
|
|
205249
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205607
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=3c999b04&
|
|
205250
205608
|
var ToolTablevue_type_template_id_3c999b04_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"sub-bar table-bar"},[_c('el-dialog',{attrs:{"title":"自定义表格行列","width":"320px","visible":_vm.dialogFormVisible,"top":"200px","append-to-body":"","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{"model":_vm.form}},[_c('el-form-item',{attrs:{"label":"行数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.rows),callback:function ($$v) {_vm.$set(_vm.form, "rows", $$v)},expression:"form.rows"}})],1),_c('el-form-item',{attrs:{"label":"列数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.columns),callback:function ($$v) {_vm.$set(_vm.form, "columns", $$v)},expression:"form.columns"}})],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")]),_c('el-button',{on:{"click":function($event){_vm.dialogFormVisible = false}}},[_vm._v("取 消")])],1)],1),_vm._t("insertBefore"),(_vm.table.insertTable)?_c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('span',[_vm._v("插入表格")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{staticClass:"ho-insert-table-item",attrs:{"disabled":""}},[_c('div',{staticClass:"columns",on:{"mouseleave":_vm.clearData}},[_c('p',{staticClass:"table-title"},[_vm._v(_vm._s(_vm.rows ? _vm.rows + " x " + _vm.columns : "插入")+" 表格")]),_vm._l((10),function(row_index){return _c('div',{key:'row_' + row_index,staticClass:"rows",on:{"mousemove":_vm.mouse,"click":_vm.createdTables}},_vm._l((10),function(column_index){return _c('span',{key:'column_index' + column_index,class:row_index <= _vm.rows && column_index <= _vm.columns ? 'selected' : '',attrs:{"data-column":column_index,"data-row":row_index},on:{"touchstart":_vm.touch,"touchmove":_vm.touch,"touchend":_vm.touchend}})}),0)})],2),_c('p',{staticClass:"table-bottom-title",on:{"click":function($event){_vm.dialogFormVisible = true}}},[_vm._v("自定义行列数")])])],1)],1)],1):_vm._e(),_c('HoTableFeatures',{attrs:{"vueController":_vm.vueController,"dropdownClassName":_vm.dropdownClassName,"table":_vm.table}}),_vm._t("hoTableItem")],2)}
|
|
205251
205609
|
var ToolTablevue_type_template_id_3c999b04_staticRenderFns = []
|
|
205252
205610
|
|
|
205253
205611
|
|
|
205254
205612
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=3c999b04&
|
|
205255
205613
|
|
|
205256
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205614
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=57db8374&
|
|
205257
205615
|
var HoTableFeaturesvue_type_template_id_57db8374_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{ref:"hoTableFeatures",staticClass:"ho-table-features"},[_c('el-dialog',{attrs:{"width":"520px","top":"20%","center":"","append-to-body":"","close-on-click-modal":false,"title":_vm.dialogFormTitle,"visible":_vm.dialogFormVisible},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[(_vm.formula === 'a1: a2' || _vm.formula === '(a1 + a2) * 2')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('div',{staticStyle:{"height":"26px","line-height":"36px","font-size":"16px"}},[_vm._v(" "+_vm._s(_vm.dialogFormTitle)+" ")]),_c('div',{staticStyle:{"height":"36px","line-height":"36px"}},[_vm._v(" 示例: "+_vm._s(_vm.dialogFormTitle === "表格行列求和公式" ? 'a1 + a2' : '(a1 + a2) * 2')+" ")]),_c('el-checkbox',{model:{value:(_vm.isHideZero),callback:function ($$v) {_vm.isHideZero=$$v},expression:"isHideZero"}},[_vm._v("结果为 0 不显示")]),_c('p',{staticStyle:{"height":"10px"}}),_c('el-input',{attrs:{"autocomplete":"off"},model:{value:(_vm.simpleFormula),callback:function ($$v) {_vm.simpleFormula=$$v},expression:"simpleFormula"}})],1):_vm._e(),(_vm.formula === 'bmi')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("身高")]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.height),callback:function ($$v) {_vm.height=$$v},expression:"height"}})],1),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("体重")]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.weight),callback:function ($$v) {_vm.weight=$$v},expression:"weight"}})],1)]):_vm._e(),(_vm.formula === 'labor')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('el-checkbox',{model:{value:(_vm.isHideZero),callback:function ($$v) {_vm.isHideZero=$$v},expression:"isHideZero"}},[_vm._v("结果为 0 不显示")]),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("产程类型")]),_c('el-select',{attrs:{"size":"mini"},on:{"change":_vm.laborTypeChange},model:{value:(_vm.laborType),callback:function ($$v) {_vm.laborType=$$v},expression:"laborType"}},[_c('el-option',{attrs:{"value":1,"label":"第一产程"}}),_c('el-option',{attrs:{"value":2,"label":"第二产程"}}),_c('el-option',{attrs:{"value":3,"label":"第三产程"}}),_c('el-option',{attrs:{"value":0,"label":"总产程"}})],1)],1),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v(_vm._s(['第一产程','宫缩开始','宫口全开','胎儿娩出'][_vm.laborType]))]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.labor1),callback:function ($$v) {_vm.labor1=$$v},expression:"labor1"}})],1),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v(_vm._s(['第二产程','宫口全开','胎儿娩出','胎盘娩出'][_vm.laborType]))]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.labor2),callback:function ($$v) {_vm.labor2=$$v},expression:"labor2"}})],1),(_vm.laborType === 0)?_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v(_vm._s(['第三产程','宫缩开始','宫口全开','胎儿娩出'][_vm.laborType]))]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.labor3),callback:function ($$v) {_vm.labor3=$$v},expression:"labor3"}})],1):_vm._e()],1):_vm._e(),(_vm.formula === 'expectedDate' || _vm.formula === 'pregnantDays' || _vm.formula === 'pregnantWeeks')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("末次月经")]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.expectedDate),callback:function ($$v) {_vm.expectedDate=$$v},expression:"expectedDate"}})],1)]):_vm._e(),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.sure}},[_vm._v("确 定")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){_vm.dialogFormVisible = false}}},[_vm._v("取 消")])],1)]),(_vm.table.tableFormula)?_c('div',{staticClass:"sub-bar-items"},[_c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('span',[_vm._v("表格计算公式")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[(_vm.table.isTableCode)?_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{directives:[{name:"debounce",rawName:"v-debounce:30.click",value:(_vm.setCellCode),expression:"setCellCode",arg:"30",modifiers:{"click":true}}]},[_c('span',[_vm._v(_vm._s(_vm.tableCellCode ? "隐藏" : "显示")+"单元格编号")])])]):_vm._e(),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"sumFormula"},on:{"click":function($event){return _vm.openFormula(['表格行列求和公式', 'a1: a2'])}}},[_vm._v(" 表格行列求和 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"arithmeticFormula"},on:{"click":function($event){_vm.openFormula(['表格行列混合运算公式', '(a1 + a2) * 2'])}}},[_vm._v(" 表格行列混合运算 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"bmiFormula"},on:{"click":function($event){return _vm.openFormula(['BMI指数计算公式', 'bmi'])}}},[_vm._v(" BMI指数 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"laborFormula"},on:{"click":function($event){return _vm.openFormula(['产程计算公式', 'labor'])}}},[_vm._v(" 产程 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"expectedDateFormula"},on:{"click":function($event){return _vm.openFormula(['预产期计算公式', 'expectedDate'])}}},[_vm._v(" 预产期 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"expectedDateFormula"},on:{"click":function($event){return _vm.openFormula(['孕周计算公式', 'pregnantWeeks'])}}},[_vm._v(" 孕周 ")])])],1)],1)],1):_vm._e(),(_vm.table.insertRowAbove)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowAbove),expression:"tableInsertRowAbove",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("上方插入 ")]),_c('el-input-number',{staticClass:"insert-top",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.topRows),callback:function ($$v) {_vm.topRows=$$v},expression:"topRows"}}),_c('span',[_vm._v(" 行")])],1):_vm._e(),(_vm.table.insertRowBelow)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowBelow),expression:"tableInsertRowBelow",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("下方插入 ")]),_c('el-input-number',{staticClass:"insert-bottom",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.bottomRows),callback:function ($$v) {_vm.bottomRows=$$v},expression:"bottomRows"}}),_c('span',[_vm._v(" 行")])],1):_vm._e(),(_vm.table.insertColLeft)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColLeft),expression:"tableInsertColLeft",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("左侧插入 ")]),_c('el-input-number',{staticClass:"insert-left",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.leftRows),callback:function ($$v) {_vm.leftRows=$$v},expression:"leftRows"}}),_c('span',[_vm._v(" 列")])],1):_vm._e(),(_vm.table.insertColRight)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColRight),expression:"tableInsertColRight",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("右侧插入 ")]),_c('el-input-number',{staticClass:"insert-right",attrs:{"size":"mini","precision":0,"controls":false,"min":1},model:{value:(_vm.rightRows),callback:function ($$v) {_vm.rightRows=$$v},expression:"rightRows"}}),_c('span',[_vm._v(" 列")])],1):_vm._e(),(_vm.table.deleteRows)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteRows),expression:"tableDeleteRows",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("删除行")])]):_vm._e(),(_vm.table.deleteCols)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteCols),expression:"tableDeleteCols",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("删除列")])]):_vm._e(),(_vm.table.mergerCells)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableMergerCells),expression:"tableMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("合并单元格")])]):_vm._e(),(_vm.table.unMergerCells)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableUnMergerCells),expression:"tableUnMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("取消合并单元格")])]):_vm._e()],1)}
|
|
205258
205616
|
var HoTableFeaturesvue_type_template_id_57db8374_staticRenderFns = []
|
|
205259
205617
|
|
|
@@ -206221,7 +206579,7 @@ var ToolBar_component = normalizeComponent(
|
|
|
206221
206579
|
)
|
|
206222
206580
|
|
|
206223
206581
|
/* harmony default export */ var toolbar_ToolBar = (ToolBar_component.exports);
|
|
206224
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206582
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8d7cd0d0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/TabPane.vue?vue&type=template&id=71cdc485&
|
|
206225
206583
|
var TabPanevue_type_template_id_71cdc485_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],class:_vm.className},[_vm._t("default")],2)}
|
|
206226
206584
|
var TabPanevue_type_template_id_71cdc485_staticRenderFns = []
|
|
206227
206585
|
|