hoeditor-web 3.1.59 → 3.1.61
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.umd.js +64 -35
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -20689,7 +20689,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
20689
20689
|
|
|
20690
20690
|
/***/ }),
|
|
20691
20691
|
|
|
20692
|
-
/***/
|
|
20692
|
+
/***/ 84311:
|
|
20693
20693
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20694
20694
|
|
|
20695
20695
|
"use strict";
|
|
@@ -20701,7 +20701,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
20701
20701
|
"default": function() { return /* binding */ table_TableFormula; }
|
|
20702
20702
|
});
|
|
20703
20703
|
|
|
20704
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=
|
|
20704
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=4be719b8&
|
|
20705
20705
|
var render = function render() {
|
|
20706
20706
|
var _vm = this,
|
|
20707
20707
|
_c = _vm._self._c;
|
|
@@ -20722,11 +20722,11 @@ var render = function render() {
|
|
|
20722
20722
|
staticStyle: {
|
|
20723
20723
|
"flex-direction": "column"
|
|
20724
20724
|
}
|
|
20725
|
-
}, [
|
|
20725
|
+
}, [_c('p', {
|
|
20726
20726
|
staticStyle: {
|
|
20727
20727
|
"padding": "10px 0"
|
|
20728
20728
|
}
|
|
20729
|
-
}, [_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")])
|
|
20729
|
+
}, [_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]), _c('div', {
|
|
20730
20730
|
staticStyle: {
|
|
20731
20731
|
"padding": "0 0 0 0"
|
|
20732
20732
|
}
|
|
@@ -20734,7 +20734,7 @@ var render = function render() {
|
|
|
20734
20734
|
return _c('p', {
|
|
20735
20735
|
key: index
|
|
20736
20736
|
}, [_vm._v(_vm._s(text))]);
|
|
20737
|
-
})], 2)
|
|
20737
|
+
})], 2), _vm.formula === 'sum' || _vm.formula === 'formula' ? _c('section', [_c('div', {
|
|
20738
20738
|
staticStyle: {
|
|
20739
20739
|
"height": "26px",
|
|
20740
20740
|
"line-height": "36px",
|
|
@@ -21019,7 +21019,7 @@ var render = function render() {
|
|
|
21019
21019
|
},
|
|
21020
21020
|
expression: "idealWeightHeight"
|
|
21021
21021
|
}
|
|
21022
|
-
})], 1)]) : _vm._e(), _vm.formula === 'iss' ? _c('section', [_c('div',
|
|
21022
|
+
})], 1)]) : _vm._e(), _vm.formula === 'iss' ? _c('section', [_c('div', {
|
|
21023
21023
|
staticClass: "ho-table-features-list"
|
|
21024
21024
|
}, [_c('p', {
|
|
21025
21025
|
staticStyle: {
|
|
@@ -21235,7 +21235,8 @@ var TableFormula = __webpack_require__(90832);
|
|
|
21235
21235
|
bmi: 'BMI体质指数=身高(米) * 体重(公斤)^2',
|
|
21236
21236
|
expectedDate: ['预产期计算公式为末次月经第一天的月份加9个月或者减去3个月,为预产期的月份数;日期加7天,为预产期日。', '例如某孕妇的末次月经时间是1月11日来潮,她的预产期是,1+9=10,11+7=18,也就是10月18日的预产期。'],
|
|
21237
21237
|
ftScoreMapping: '通过多个分值组合计算,转换为对应的值域信息。例如:1-5分(高),6-10分中,10-15分(低)',
|
|
21238
|
-
labor: ['将时间元素设置成运算模式,比如这个第一产程时间=宫口全开时间-宫缩开始时间', '第1产程是从规律 “宫缩开始”到“宫口开全”,(“宫口开全” - “宫缩开始”)', '第2产程是从 “宫口开全” 到 “胎儿娩出”, (“胎儿娩出” - “宫口开全” )', '第3产程是从 “胎儿娩出” 到 “胎盘娩出” , (“胎盘娩出” - “胎儿娩出” )', '总产程:= 第1产程+第2产程+第3产程', '表示格式 示例: 9小时24分24秒,当时间大于24小时时, 显示格式为“28小时30分30秒”']
|
|
21238
|
+
labor: ['将时间元素设置成运算模式,比如这个第一产程时间=宫口全开时间-宫缩开始时间', '第1产程是从规律 “宫缩开始”到“宫口开全”,(“宫口开全” - “宫缩开始”)', '第2产程是从 “宫口开全” 到 “胎儿娩出”, (“胎儿娩出” - “宫口开全” )', '第3产程是从 “胎儿娩出” 到 “胎盘娩出” , (“胎盘娩出” - “胎儿娩出” )', '总产程:= 第1产程+第2产程+第3产程', '表示格式 示例: 9小时24分24秒,当时间大于24小时时, 显示格式为“28小时30分30秒”'],
|
|
21239
|
+
iss: ["计算ISS的一般原则:本法把人体分为6个区域,ISS是身体3个最严重损伤区域的最高AIS值的平方和。ISS=AIS1²+AIS2²+AIS3²", "示例:a1,a2,a3,a4,a5,a6"]
|
|
21239
21240
|
},
|
|
21240
21241
|
bodySurfaceAreaWeight: '',
|
|
21241
21242
|
startDateCode: '',
|
|
@@ -21392,10 +21393,10 @@ var TableFormula = __webpack_require__(90832);
|
|
|
21392
21393
|
});
|
|
21393
21394
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=script&lang=js&
|
|
21394
21395
|
/* harmony default export */ var table_TableFormulavue_type_script_lang_js_ = (TableFormulavue_type_script_lang_js_);
|
|
21395
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=
|
|
21396
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=4be719b8&prod&lang=less&
|
|
21396
21397
|
// extracted by mini-css-extract-plugin
|
|
21397
21398
|
|
|
21398
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=
|
|
21399
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=4be719b8&prod&lang=less&
|
|
21399
21400
|
|
|
21400
21401
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
21401
21402
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -44781,11 +44782,11 @@ var DocController = /*#__PURE__*/function () {
|
|
|
44781
44782
|
*/
|
|
44782
44783
|
}, {
|
|
44783
44784
|
key: "insertEmptySignNode",
|
|
44784
|
-
value: function insertEmptySignNode(domRange, name, signType, signFormat, signTimeFormat, customProperty, connectMode, isFront, allowEditSignTime, attribute, connectChar, otherProperties) {
|
|
44785
|
+
value: function insertEmptySignNode(domRange, name, signType, signFormat, signTimeFormat, customProperty, connectMode, isFront, allowEditSignTime, attribute, connectChar, otherProperties, associatedElement) {
|
|
44785
44786
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_78__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
44786
44787
|
var startPath = domRange.startPath;
|
|
44787
44788
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
44788
|
-
var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_85__/* .SignNode */ .N(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__/* .NodeType */ .Jq.ntSign, 0, 0, name, signType, signFormat, '', '', signTimeFormat, '', 0, 0, customProperty, true, hoEditorFactory.docTree.curStyleIndex, connectMode, isFront, allowEditSignTime, undefined, undefined, attribute, connectChar, otherProperties);
|
|
44789
|
+
var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_85__/* .SignNode */ .N(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__/* .NodeType */ .Jq.ntSign, 0, 0, name, signType, signFormat, '', '', signTimeFormat, '', 0, 0, customProperty, true, hoEditorFactory.docTree.curStyleIndex, connectMode, isFront, allowEditSignTime, undefined, undefined, attribute, connectChar, otherProperties, undefined, associatedElement);
|
|
44789
44790
|
//插入该表达式节点
|
|
44790
44791
|
hoEditorFactory.undoService.begin();
|
|
44791
44792
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, signNode));
|
|
@@ -44896,7 +44897,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
44896
44897
|
*/
|
|
44897
44898
|
}, {
|
|
44898
44899
|
key: "updateEmptySignNode",
|
|
44899
|
-
value: function updateEmptySignNode(node, name, attribute, connectChar, signType, signFormat, signor, signTime, signTimeFormat, connectMode, otherProperties, isFront) {
|
|
44900
|
+
value: function updateEmptySignNode(node, name, attribute, connectChar, signType, signFormat, signor, signTime, signTimeFormat, connectMode, otherProperties, isFront, associatedElement) {
|
|
44900
44901
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_78__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
44901
44902
|
var sPath = hoEditorFactory.docTree.getNodeLastPath(node.previousLeaf());
|
|
44902
44903
|
var ePath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
@@ -44913,6 +44914,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
44913
44914
|
node.signTimeFormat = signTimeFormat;
|
|
44914
44915
|
node.attribute = attribute;
|
|
44915
44916
|
node.isFront = isFront;
|
|
44917
|
+
if (associatedElement) {
|
|
44918
|
+
node.associatedElement = associatedElement;
|
|
44919
|
+
}
|
|
44916
44920
|
node.connectMode = connectMode;
|
|
44917
44921
|
node.otherProperties = otherProperties;
|
|
44918
44922
|
hoEditorFactory.docTree.change(changeEvent);
|
|
@@ -56516,7 +56520,7 @@ var SelectRange = __webpack_require__(53901);
|
|
|
56516
56520
|
/*
|
|
56517
56521
|
* @Author: your name
|
|
56518
56522
|
* @Date: 2020-11-11 11:04:19
|
|
56519
|
-
* @LastEditTime:
|
|
56523
|
+
* @LastEditTime: 2024-01-20 15:44:10
|
|
56520
56524
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
56521
56525
|
* @Description: In User Settings Edit
|
|
56522
56526
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawImageNode.ts
|
|
@@ -56678,7 +56682,7 @@ var DrawImageNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
56678
56682
|
value: function updateSign() {
|
|
56679
56683
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this.node.hoEditorFactoryID);
|
|
56680
56684
|
var dArea = hoEditorFactory.drawPageTree.getMainRootArea(this);
|
|
56681
|
-
if (dArea) {
|
|
56685
|
+
if (dArea && hoEditorFactory.drawTree.drawPages[dArea.index]) {
|
|
56682
56686
|
var atype = hoEditorFactory.subDocManger.getHeaderFooterType(this.node.getNodePath());
|
|
56683
56687
|
if (atype === SubDocManger/* HeaderFooterType */.pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
|
|
56684
56688
|
hoEditorFactory.subDocManger.updateAllSameSubDoc(dArea.index, atype, false, false);
|
|
@@ -62582,8 +62586,8 @@ var FingerPosition;
|
|
|
62582
62586
|
var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
62583
62587
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(SignNode, _BaseNode);
|
|
62584
62588
|
var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(SignNode);
|
|
62585
|
-
|
|
62586
|
-
function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties, dataId) {
|
|
62589
|
+
//关联元素的dataid
|
|
62590
|
+
function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties, dataId, associatedElement) {
|
|
62587
62591
|
var _this;
|
|
62588
62592
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, SignNode);
|
|
62589
62593
|
_this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
@@ -62632,6 +62636,8 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
62632
62636
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_connectChar", ":");
|
|
62633
62637
|
//自定义CA签名连接符
|
|
62634
62638
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_otherProperties", void 0);
|
|
62639
|
+
//其它属性{"isDisplayTitle":true,"title":"职称","isDisplayTime":true,"time":"签名日期","timePosition":"1"}
|
|
62640
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_associatedElement", "");
|
|
62635
62641
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys */ .b.instance().getFactory(_this._hoEditorFactoryID);
|
|
62636
62642
|
//this._id = hoEditorFactory.gernerateCode.generateID("SIGN");
|
|
62637
62643
|
_this.number = number;
|
|
@@ -62681,6 +62687,9 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
62681
62687
|
_this._allowEditSignTime = allowEditSignTime;
|
|
62682
62688
|
}
|
|
62683
62689
|
_this._otherProperties = new Object();
|
|
62690
|
+
if (associatedElement) {
|
|
62691
|
+
_this._associatedElement = associatedElement;
|
|
62692
|
+
}
|
|
62684
62693
|
_this._customProperty = new Object();
|
|
62685
62694
|
var assignvalue = function assignvalue(target, source) {
|
|
62686
62695
|
Object.keys(source).forEach(function (value) {
|
|
@@ -62952,6 +62961,16 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
62952
62961
|
this._otherProperties = value;
|
|
62953
62962
|
}
|
|
62954
62963
|
}
|
|
62964
|
+
}, {
|
|
62965
|
+
key: "associatedElement",
|
|
62966
|
+
get: function get() {
|
|
62967
|
+
return this._associatedElement;
|
|
62968
|
+
},
|
|
62969
|
+
set: function set(value) {
|
|
62970
|
+
if (this._associatedElement !== value) {
|
|
62971
|
+
this._associatedElement = value;
|
|
62972
|
+
}
|
|
62973
|
+
}
|
|
62955
62974
|
/**
|
|
62956
62975
|
*
|
|
62957
62976
|
* @param drawTree 绘制树
|
|
@@ -63076,6 +63095,9 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
63076
63095
|
if (isCopy) {
|
|
63077
63096
|
return retObj;
|
|
63078
63097
|
}
|
|
63098
|
+
if (this.associatedElement) {
|
|
63099
|
+
retObj.associatedElement = this.associatedElement;
|
|
63100
|
+
}
|
|
63079
63101
|
return {
|
|
63080
63102
|
"SignNode": retObj
|
|
63081
63103
|
};
|
|
@@ -63108,7 +63130,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
63108
63130
|
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(json.fingerPrintSrc) == 'object') {
|
|
63109
63131
|
json.fingerPrintSrc = '';
|
|
63110
63132
|
}
|
|
63111
|
-
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_18__/* .NodeType */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, isFront, allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar, json.otherProperties, json.dataId);
|
|
63133
|
+
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_18__/* .NodeType */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, isFront, allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar, json.otherProperties, json.dataId, json.associatedElement);
|
|
63112
63134
|
// if (json.id != "") {
|
|
63113
63135
|
// signNode.id = json.id;
|
|
63114
63136
|
// }
|
|
@@ -71522,12 +71544,16 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
|
|
|
71522
71544
|
}
|
|
71523
71545
|
case Paragraph/* Align */.xM.alright:
|
|
71524
71546
|
{
|
|
71525
|
-
|
|
71547
|
+
if (lwidth - this.actualWidth > 0) {
|
|
71548
|
+
usedWidth += lwidth - this.actualWidth;
|
|
71549
|
+
}
|
|
71526
71550
|
break;
|
|
71527
71551
|
}
|
|
71528
71552
|
case Paragraph/* Align */.xM.alcenter:
|
|
71529
71553
|
{
|
|
71530
|
-
|
|
71554
|
+
if (lwidth - this.actualWidth > 0) {
|
|
71555
|
+
usedWidth += (lwidth - this.actualWidth) / 2;
|
|
71556
|
+
}
|
|
71531
71557
|
break;
|
|
71532
71558
|
}
|
|
71533
71559
|
case Paragraph/* Align */.xM.alSpaceEqually:
|
|
@@ -80314,7 +80340,7 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
|
|
|
80314
80340
|
/*
|
|
80315
80341
|
* @Author: your name
|
|
80316
80342
|
* @Date: 2021-09-01 16:51:49
|
|
80317
|
-
* @LastEditTime:
|
|
80343
|
+
* @LastEditTime: 2024-01-22 11:34:18
|
|
80318
80344
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
80319
80345
|
* @Description: In User Settings Edit
|
|
80320
80346
|
* @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
|
|
@@ -89352,7 +89378,9 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
89352
89378
|
// drawObjet.stage.children.splice(3, drawObjet.stage.children.length - 1); //去掉画的批注
|
|
89353
89379
|
// }
|
|
89354
89380
|
this._drawPages.splice(0, this._drawPages.length);
|
|
89355
|
-
this._drawPageCount
|
|
89381
|
+
if (this._drawPageCount) {
|
|
89382
|
+
this._drawPageCount.count = 0;
|
|
89383
|
+
}
|
|
89356
89384
|
}
|
|
89357
89385
|
}, {
|
|
89358
89386
|
key: "getDlineRootDrawNode",
|
|
@@ -179075,7 +179103,7 @@ var map = {
|
|
|
179075
179103
|
"./table/TableColProperty.vue": 63937,
|
|
179076
179104
|
"./table/TableForm.vue": 79036,
|
|
179077
179105
|
"./table/TableFormTree.vue": 84804,
|
|
179078
|
-
"./table/TableFormula.vue":
|
|
179106
|
+
"./table/TableFormula.vue": 84311,
|
|
179079
179107
|
"./table/TableProperty.vue": 89305,
|
|
179080
179108
|
"./table/TableRowProperty.vue": 21568,
|
|
179081
179109
|
"./textDialog/TextDialog.vue": 29520,
|
|
@@ -219705,7 +219733,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
219705
219733
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
219706
219734
|
var ParagraphNode = __webpack_require__(67945);
|
|
219707
219735
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
219708
|
-
/* harmony default export */ var version = ('3.1.
|
|
219736
|
+
/* harmony default export */ var version = ('3.1.61');
|
|
219709
219737
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
219710
219738
|
var PoperTipText = __webpack_require__(50987);
|
|
219711
219739
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -226756,8 +226784,8 @@ var commonParamList = new Map();
|
|
|
226756
226784
|
|
|
226757
226785
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
226758
226786
|
var es_array_from = __webpack_require__(91038);
|
|
226759
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/common/history/index.vue?vue&type=template&id=
|
|
226760
|
-
var
|
|
226787
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/common/history/index.vue?vue&type=template&id=4a3cdd71&
|
|
226788
|
+
var historyvue_type_template_id_4a3cdd71_render = function render() {
|
|
226761
226789
|
var _vm = this,
|
|
226762
226790
|
_c = _vm._self._c;
|
|
226763
226791
|
return _c('div', {
|
|
@@ -226787,7 +226815,7 @@ var historyvue_type_template_id_13f26c15_render = function render() {
|
|
|
226787
226815
|
slot: "title"
|
|
226788
226816
|
}, [_vm._v(" 修改后:" + _vm._s(_vm.afterContent) + " ")]), _vm._v(" 修改后:" + _vm._s(_vm.afterContent) + " ")], 2)], 1)])]);
|
|
226789
226817
|
};
|
|
226790
|
-
var
|
|
226818
|
+
var historyvue_type_template_id_4a3cdd71_staticRenderFns = [];
|
|
226791
226819
|
|
|
226792
226820
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/common/history/index.vue?vue&type=script&lang=js&
|
|
226793
226821
|
|
|
@@ -226819,6 +226847,7 @@ var historyvue_type_template_id_13f26c15_staticRenderFns = [];
|
|
|
226819
226847
|
// this.createLine();
|
|
226820
226848
|
// }
|
|
226821
226849
|
// });
|
|
226850
|
+
Vue.prototype.a = 111;
|
|
226822
226851
|
},
|
|
226823
226852
|
methods: {
|
|
226824
226853
|
clearLine: function clearLine() {
|
|
@@ -226882,10 +226911,10 @@ var historyvue_type_template_id_13f26c15_staticRenderFns = [];
|
|
|
226882
226911
|
});
|
|
226883
226912
|
;// CONCATENATED MODULE: ./src/components/common/history/index.vue?vue&type=script&lang=js&
|
|
226884
226913
|
/* harmony default export */ var common_historyvue_type_script_lang_js_ = (historyvue_type_script_lang_js_);
|
|
226885
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/common/history/index.vue?vue&type=style&index=0&id=
|
|
226914
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/common/history/index.vue?vue&type=style&index=0&id=4a3cdd71&prod&lang=less&
|
|
226886
226915
|
// extracted by mini-css-extract-plugin
|
|
226887
226916
|
|
|
226888
|
-
;// CONCATENATED MODULE: ./src/components/common/history/index.vue?vue&type=style&index=0&id=
|
|
226917
|
+
;// CONCATENATED MODULE: ./src/components/common/history/index.vue?vue&type=style&index=0&id=4a3cdd71&prod&lang=less&
|
|
226889
226918
|
|
|
226890
226919
|
;// CONCATENATED MODULE: ./src/components/common/history/index.vue
|
|
226891
226920
|
|
|
@@ -226898,8 +226927,8 @@ var historyvue_type_template_id_13f26c15_staticRenderFns = [];
|
|
|
226898
226927
|
|
|
226899
226928
|
var history_component = (0,componentNormalizer/* default */.Z)(
|
|
226900
226929
|
common_historyvue_type_script_lang_js_,
|
|
226901
|
-
|
|
226902
|
-
|
|
226930
|
+
historyvue_type_template_id_4a3cdd71_render,
|
|
226931
|
+
historyvue_type_template_id_4a3cdd71_staticRenderFns,
|
|
226903
226932
|
false,
|
|
226904
226933
|
null,
|
|
226905
226934
|
null,
|
|
@@ -229240,7 +229269,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
229240
229269
|
//画当前页的遮罩层
|
|
229241
229270
|
var drawNode = signNode.drawNodes[0];
|
|
229242
229271
|
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(drawNode);
|
|
229243
|
-
var actualHeight = hoEditorFactory.drawPageTree.drawHeaders[0].
|
|
229272
|
+
var actualHeight = hoEditorFactory.drawPageTree.drawHeaders[0].displayHeight;
|
|
229244
229273
|
superiorSign[1] = curPageIndex;
|
|
229245
229274
|
//superiorSign[2] = dline.y;
|
|
229246
229275
|
var stagePt = dline.localToGlobal(drawNode.x, drawNode.y);
|
|
@@ -231482,14 +231511,14 @@ var VueController = /*#__PURE__*/function () {
|
|
|
231482
231511
|
*/
|
|
231483
231512
|
}, {
|
|
231484
231513
|
key: "insertEmptySignNode",
|
|
231485
|
-
value: function insertEmptySignNode(name, signType, signFormat, signTimeFormat, customProperty, connectMode, isFront, allowEditSignTime, attribute, connectChar, otherProperties) {
|
|
231514
|
+
value: function insertEmptySignNode(name, signType, signFormat, signTimeFormat, customProperty, connectMode, isFront, allowEditSignTime, attribute, connectChar, otherProperties, associatedElement) {
|
|
231486
231515
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
231487
231516
|
var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
231488
231517
|
var startPath = curDomRange.normalize().startPath;
|
|
231489
231518
|
var endPath = curDomRange.normalize().endPath;
|
|
231490
231519
|
var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType */.y.insertSign);
|
|
231491
231520
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
231492
|
-
hoEditorFactory.docController.insertEmptySignNode(curDomRange, name, signType, signFormat, signTimeFormat, customProperty, connectMode, isFront, allowEditSignTime, attribute, connectChar, otherProperties);
|
|
231521
|
+
hoEditorFactory.docController.insertEmptySignNode(curDomRange, name, signType, signFormat, signTimeFormat, customProperty, connectMode, isFront, allowEditSignTime, attribute, connectChar, otherProperties, associatedElement);
|
|
231493
231522
|
}
|
|
231494
231523
|
}
|
|
231495
231524
|
/**
|
|
@@ -231552,12 +231581,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
231552
231581
|
*/
|
|
231553
231582
|
}, {
|
|
231554
231583
|
key: "updateEmptySignNode",
|
|
231555
|
-
value: function updateEmptySignNode(node, name, attribute, connectChar, signType, signFormat, signor, signTime, signTimeFormat, connectMode, otherProperties, isFront) {
|
|
231584
|
+
value: function updateEmptySignNode(node, name, attribute, connectChar, signType, signFormat, signor, signTime, signTimeFormat, connectMode, otherProperties, isFront, associatedElement) {
|
|
231556
231585
|
if (node.type !== 0) {
|
|
231557
231586
|
return;
|
|
231558
231587
|
}
|
|
231559
231588
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
231560
|
-
hoEditorFactory.docController.updateEmptySignNode(node, name, attribute, connectChar, signType, signFormat, signor, signTime, signTimeFormat, connectMode, otherProperties, isFront);
|
|
231589
|
+
hoEditorFactory.docController.updateEmptySignNode(node, name, attribute, connectChar, signType, signFormat, signor, signTime, signTimeFormat, connectMode, otherProperties, isFront, associatedElement);
|
|
231561
231590
|
}
|
|
231562
231591
|
/**
|
|
231563
231592
|
* 更新签名时间
|