hoeditor-web 3.0.97 → 3.0.98
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 +149 -90
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -17995,7 +17995,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
17995
17995
|
|
|
17996
17996
|
/***/ }),
|
|
17997
17997
|
|
|
17998
|
-
/***/
|
|
17998
|
+
/***/ 17857:
|
|
17999
17999
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18000
18000
|
|
|
18001
18001
|
"use strict";
|
|
@@ -18015,7 +18015,7 @@ var es_array_includes = __webpack_require__(26699);
|
|
|
18015
18015
|
var es_string_includes = __webpack_require__(32023);
|
|
18016
18016
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
18017
18017
|
var es_number_constructor = __webpack_require__(9653);
|
|
18018
|
-
;// 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/TableColProperty.vue?vue&type=template&id=
|
|
18018
|
+
;// 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/TableColProperty.vue?vue&type=template&id=a8b426b6&
|
|
18019
18019
|
|
|
18020
18020
|
|
|
18021
18021
|
|
|
@@ -18041,12 +18041,6 @@ var render = function render() {
|
|
|
18041
18041
|
staticClass: "control-list"
|
|
18042
18042
|
}, [_c('li', {
|
|
18043
18043
|
staticClass: "control-item"
|
|
18044
|
-
}, [_c('span', {
|
|
18045
|
-
staticClass: "label"
|
|
18046
|
-
}, [_vm._v("编号")]), _c('span', {
|
|
18047
|
-
staticClass: "readonly-value"
|
|
18048
|
-
}, [_vm._v(_vm._s(_vm.id))])]), _c('li', {
|
|
18049
|
-
staticClass: "control-item"
|
|
18050
18044
|
}, [_c('div', {
|
|
18051
18045
|
staticClass: "control-item"
|
|
18052
18046
|
}, [_c('span', {
|
|
@@ -18283,27 +18277,6 @@ var render = function render() {
|
|
|
18283
18277
|
expression: "editorProperty === 1"
|
|
18284
18278
|
}],
|
|
18285
18279
|
staticClass: "control-item"
|
|
18286
|
-
}, [_c('span', {
|
|
18287
|
-
staticClass: "label"
|
|
18288
|
-
}, [_vm._v("来源")]), _c('a-input', {
|
|
18289
|
-
attrs: {
|
|
18290
|
-
"size": "small"
|
|
18291
|
-
},
|
|
18292
|
-
model: {
|
|
18293
|
-
value: _vm.source,
|
|
18294
|
-
callback: function callback($$v) {
|
|
18295
|
-
_vm.source = $$v;
|
|
18296
|
-
},
|
|
18297
|
-
expression: "source"
|
|
18298
|
-
}
|
|
18299
|
-
})], 1), _c('li', {
|
|
18300
|
-
directives: [{
|
|
18301
|
-
name: "show",
|
|
18302
|
-
rawName: "v-show",
|
|
18303
|
-
value: _vm.editorProperty === 1,
|
|
18304
|
-
expression: "editorProperty === 1"
|
|
18305
|
-
}],
|
|
18306
|
-
staticClass: "control-item"
|
|
18307
18280
|
}, [_c('a-table', {
|
|
18308
18281
|
staticStyle: {
|
|
18309
18282
|
"width": "100%",
|
|
@@ -18520,7 +18493,7 @@ var render = function render() {
|
|
|
18520
18493
|
};
|
|
18521
18494
|
var staticRenderFns = [];
|
|
18522
18495
|
|
|
18523
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=template&id=
|
|
18496
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=template&id=a8b426b6&
|
|
18524
18497
|
|
|
18525
18498
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
18526
18499
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -18587,7 +18560,7 @@ var getCellNode = __webpack_require__(5986);
|
|
|
18587
18560
|
data: function data() {
|
|
18588
18561
|
return {
|
|
18589
18562
|
dateFormatList: util/* dateFormatList */.eG,
|
|
18590
|
-
id: '',
|
|
18563
|
+
//id: '',
|
|
18591
18564
|
editorProperty: 1,
|
|
18592
18565
|
align: 0,
|
|
18593
18566
|
width: 0,
|
|
@@ -18596,7 +18569,7 @@ var getCellNode = __webpack_require__(5986);
|
|
|
18596
18569
|
// 签名类型 插入元素的签名名称
|
|
18597
18570
|
|
|
18598
18571
|
listItems: [],
|
|
18599
|
-
source: '',
|
|
18572
|
+
//source: '',
|
|
18600
18573
|
canModifyContent: true,
|
|
18601
18574
|
isAllowDel: true,
|
|
18602
18575
|
allowMultiSelected: false,
|
|
@@ -18622,7 +18595,7 @@ var getCellNode = __webpack_require__(5986);
|
|
|
18622
18595
|
tableInfo: null
|
|
18623
18596
|
};
|
|
18624
18597
|
},
|
|
18625
|
-
inject: [
|
|
18598
|
+
inject: ['hoEditorProvider'],
|
|
18626
18599
|
computed: {
|
|
18627
18600
|
customProperties: function customProperties() {
|
|
18628
18601
|
// 获取自定义属性列表,并去除空值
|
|
@@ -18656,7 +18629,7 @@ var getCellNode = __webpack_require__(5986);
|
|
|
18656
18629
|
var _colProperty$dateTime, _colProperty$dateTime2;
|
|
18657
18630
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
|
|
18658
18631
|
var colProperty = colInfoes.colProperty;
|
|
18659
|
-
this.id = colProperty.id ? colProperty.id : this.vueController.generateID('TB');
|
|
18632
|
+
//this.id = colProperty.id ? colProperty.id : this.vueController.generateID('TB');
|
|
18660
18633
|
this.editorProperty = colProperty.editorProperty ? colProperty.editorProperty : 0;
|
|
18661
18634
|
this.align = colProperty.align ? colProperty.align : 0;
|
|
18662
18635
|
var listKeyId = this.getKeyId(0);
|
|
@@ -18666,7 +18639,7 @@ var getCellNode = __webpack_require__(5986);
|
|
|
18666
18639
|
id: listKeyId
|
|
18667
18640
|
}];
|
|
18668
18641
|
this.listItems = colProperty.downListProperty && JSON.parse(colProperty.downListProperty.listItems) ? [].concat((0,toConsumableArray/* default */.Z)(JSON.parse(colProperty.downListProperty.listItems)), list) : [].concat(list);
|
|
18669
|
-
this.source = colProperty.downListProperty ? colProperty.downListProperty.source : '';
|
|
18642
|
+
//this.source = colProperty.downListProperty ? colProperty.downListProperty.source : '';
|
|
18670
18643
|
this.canModifyContent = colProperty.downListProperty ? colProperty.downListProperty.canModifyContent : true;
|
|
18671
18644
|
this.isAllowDel = colProperty.downListProperty ? colProperty.downListProperty.isAllowDel : true;
|
|
18672
18645
|
this.allowMultiSelected = colProperty.downListProperty ? colProperty.downListProperty.allowMultiSelected : false;
|
|
@@ -18796,7 +18769,7 @@ var getCellNode = __webpack_require__(5986);
|
|
|
18796
18769
|
if (this.editorProperty !== this.defaultColProperty.editorProperty) param.signProperty = signProperty;
|
|
18797
18770
|
}
|
|
18798
18771
|
var params = {
|
|
18799
|
-
id: this.id,
|
|
18772
|
+
//id: this.id,
|
|
18800
18773
|
editorProperty: this.editorProperty,
|
|
18801
18774
|
align: this.align,
|
|
18802
18775
|
width: this.width,
|
|
@@ -18823,10 +18796,10 @@ var getCellNode = __webpack_require__(5986);
|
|
|
18823
18796
|
});
|
|
18824
18797
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=script&lang=js&
|
|
18825
18798
|
/* harmony default export */ var table_TableColPropertyvue_type_script_lang_js_ = (TableColPropertyvue_type_script_lang_js_);
|
|
18826
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableColProperty.vue?vue&type=style&index=0&id=
|
|
18799
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableColProperty.vue?vue&type=style&index=0&id=a8b426b6&prod&lang=scss&
|
|
18827
18800
|
// extracted by mini-css-extract-plugin
|
|
18828
18801
|
|
|
18829
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=style&index=0&id=
|
|
18802
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableColProperty.vue?vue&type=style&index=0&id=a8b426b6&prod&lang=scss&
|
|
18830
18803
|
|
|
18831
18804
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
18832
18805
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -19423,7 +19396,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
19423
19396
|
|
|
19424
19397
|
/***/ }),
|
|
19425
19398
|
|
|
19426
|
-
/***/
|
|
19399
|
+
/***/ 83037:
|
|
19427
19400
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
19428
19401
|
|
|
19429
19402
|
"use strict";
|
|
@@ -19435,7 +19408,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
19435
19408
|
"default": function() { return /* binding */ table_TableFormula; }
|
|
19436
19409
|
});
|
|
19437
19410
|
|
|
19438
|
-
;// 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=
|
|
19411
|
+
;// 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=31c7016a&
|
|
19439
19412
|
var render = function render() {
|
|
19440
19413
|
var _vm = this,
|
|
19441
19414
|
_c = _vm._self._c;
|
|
@@ -19740,6 +19713,19 @@ var render = function render() {
|
|
|
19740
19713
|
},
|
|
19741
19714
|
expression: "bodySurfaceAreaWeight"
|
|
19742
19715
|
}
|
|
19716
|
+
})], 1)]) : _vm._e(), _vm.formula === 'idealWeight' ? _c('section', [_c('div', {
|
|
19717
|
+
staticClass: "ho-table-features-list"
|
|
19718
|
+
}, [_c('p', [_vm._v("身高")]), _c('a-input', {
|
|
19719
|
+
attrs: {
|
|
19720
|
+
"autocomplete": "off"
|
|
19721
|
+
},
|
|
19722
|
+
model: {
|
|
19723
|
+
value: _vm.idealWeightHeight,
|
|
19724
|
+
callback: function callback($$v) {
|
|
19725
|
+
_vm.idealWeightHeight = $$v;
|
|
19726
|
+
},
|
|
19727
|
+
expression: "idealWeightHeight"
|
|
19728
|
+
}
|
|
19743
19729
|
})], 1)]) : _vm._e(), _vm.formula === 'costumRowColumns' ? _c('section', {
|
|
19744
19730
|
staticClass: "costum-row-columns"
|
|
19745
19731
|
}, [_c('div', {
|
|
@@ -19937,7 +19923,8 @@ var TableFormula = __webpack_require__(90832);
|
|
|
19937
19923
|
},
|
|
19938
19924
|
bodySurfaceAreaWeight: '',
|
|
19939
19925
|
startDateCode: '',
|
|
19940
|
-
endDateCode: ''
|
|
19926
|
+
endDateCode: '',
|
|
19927
|
+
idealWeightHeight: ''
|
|
19941
19928
|
};
|
|
19942
19929
|
},
|
|
19943
19930
|
inject: ['hoEditorProvider'],
|
|
@@ -19984,12 +19971,12 @@ var TableFormula = __webpack_require__(90832);
|
|
|
19984
19971
|
if (node.formulaStr) {
|
|
19985
19972
|
try {
|
|
19986
19973
|
var ftScoreMapping = JSON.parse(node.formulaStr);
|
|
19987
|
-
var cell = ftScoreMapping.cell.split(
|
|
19974
|
+
var cell = ftScoreMapping.cell.split(',');
|
|
19988
19975
|
if (cell.length > 1) {
|
|
19989
19976
|
ftScoreMapping.cell = cell[0];
|
|
19990
19977
|
this.ftScoreMappingCell = cell.filter(function (v, index) {
|
|
19991
19978
|
return index > 0;
|
|
19992
|
-
}).join(
|
|
19979
|
+
}).join(',');
|
|
19993
19980
|
}
|
|
19994
19981
|
ftScoreMapping.items = ftScoreMapping.items.map(function (v) {
|
|
19995
19982
|
v.range = v.range.split('-');
|
|
@@ -20000,7 +19987,7 @@ var TableFormula = __webpack_require__(90832);
|
|
|
20000
19987
|
console.warn("\u5206\u503C\u6620\u5C04\u516C\u5F0F\u89E3\u6790\u5931\u8D25\uFF1A".concat(node.formulaStr));
|
|
20001
19988
|
}
|
|
20002
19989
|
}
|
|
20003
|
-
} else if (this.formula === 'ftCalcDays' || this.formula ===
|
|
19990
|
+
} else if (this.formula === 'ftCalcDays' || this.formula === 'ftCalcTime') {
|
|
20004
19991
|
if (node.formulaStr) {
|
|
20005
19992
|
this.startDateCode = node.formulaStr.split(',')[0];
|
|
20006
19993
|
this.endDateCode = node.formulaStr.split(',')[1];
|
|
@@ -20061,8 +20048,10 @@ var TableFormula = __webpack_require__(90832);
|
|
|
20061
20048
|
this.vueController.insertTableFormula("".concat(this.bodySurfaceAreaWeight).toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea);
|
|
20062
20049
|
} else if (this.formula === 'ftCalcDays') {
|
|
20063
20050
|
this.vueController.insertTableFormula("".concat(this.startDateCode, ",").concat(this.endDateCode).toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType.ftCalcDays */.a.ftCalcDays);
|
|
20064
|
-
} else if (this.formula ===
|
|
20051
|
+
} else if (this.formula === 'ftCalcTime') {
|
|
20065
20052
|
this.vueController.insertTableFormula("".concat(this.startDateCode, ",").concat(this.endDateCode).toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType.ftCalcTime */.a.ftCalcTime);
|
|
20053
|
+
} else if (this.formula === 'idealWeight') {
|
|
20054
|
+
this.vueController.insertTableFormula("".concat(this.idealWeightHeight).toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType.ftIdealWeight */.a.ftIdealWeight);
|
|
20066
20055
|
}
|
|
20067
20056
|
this.handleClose();
|
|
20068
20057
|
},
|
|
@@ -20084,10 +20073,10 @@ var TableFormula = __webpack_require__(90832);
|
|
|
20084
20073
|
});
|
|
20085
20074
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=script&lang=js&
|
|
20086
20075
|
/* harmony default export */ var table_TableFormulavue_type_script_lang_js_ = (TableFormulavue_type_script_lang_js_);
|
|
20087
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
20076
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=31c7016a&prod&lang=scss&
|
|
20088
20077
|
// extracted by mini-css-extract-plugin
|
|
20089
20078
|
|
|
20090
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=
|
|
20079
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=31c7016a&prod&lang=scss&
|
|
20091
20080
|
|
|
20092
20081
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
20093
20082
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -41342,15 +41331,25 @@ var DocController = /*#__PURE__*/function () {
|
|
|
41342
41331
|
var spath = sCell.childNodes[0].getNodePath();
|
|
41343
41332
|
var epath = hoEditorFactory.docTree.getNodeLastPath(sCell.childNodes[sCell.childNodes.length - 1]);
|
|
41344
41333
|
var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_30__/* .DomRange */ .a(this._hoEditorFactoryID, spath, epath);
|
|
41345
|
-
var jsonData = hoEditorFactory.structureNode.Copy(domRange, null,
|
|
41334
|
+
var jsonData = hoEditorFactory.structureNode.Copy(domRange, null, false);
|
|
41346
41335
|
hoEditorFactory.docTree.curDomRange.setSamePath(tCell.childNodes[0].getNodePath());
|
|
41347
41336
|
var nodes = hoEditorFactory.structureNode.Parse(_utils_StructureNode__WEBPACK_IMPORTED_MODULE_89__/* .ClipboardType.ctJSON */ .Y6.ctJSON, jsonData);
|
|
41348
41337
|
for (var n = 0; n < nodes.length; n++) {
|
|
41349
41338
|
var anode = nodes[n];
|
|
41350
41339
|
if (anode instanceof _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_26__/* .TextNode */ .R) {
|
|
41351
41340
|
nodes.splice(n, 1);
|
|
41352
|
-
}
|
|
41353
|
-
|
|
41341
|
+
} else if (anode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && !anode.isEmpty()) {
|
|
41342
|
+
anode.childNodes.splice(1, anode.childNodes.length - 2);
|
|
41343
|
+
var markNode = new _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_46__/* .MarkNode */ .j(this._hoEditorFactoryID, anode.rootNodes, anode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntMark */ .Jq.ntMark, anode.name, anode.childNodes[0].styleIndex, 1);
|
|
41344
|
+
anode.childNodes.splice(1, 0, markNode);
|
|
41345
|
+
} else if (anode instanceof _treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_54__/* .DownListNode */ .yF && anode.keyValue !== "") {
|
|
41346
|
+
anode.text = anode.name;
|
|
41347
|
+
anode.keyValue = "";
|
|
41348
|
+
anode.node2DrawNode();
|
|
41349
|
+
} else if (anode instanceof _treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_53__/* .DateTimeNode */ .Z && anode.text !== anode.labelText) {
|
|
41350
|
+
anode.text = anode.labelText;
|
|
41351
|
+
anode.node2DrawNode();
|
|
41352
|
+
} else if (anode instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N && anode.number !== 0) {
|
|
41354
41353
|
anode.number = 0;
|
|
41355
41354
|
anode.type = 0;
|
|
41356
41355
|
anode.signor = "";
|
|
@@ -41450,15 +41449,25 @@ var DocController = /*#__PURE__*/function () {
|
|
|
41450
41449
|
var spath = sCell.childNodes[0].getNodePath();
|
|
41451
41450
|
var epath = hoEditorFactory.docTree.getNodeLastPath(sCell.childNodes[sCell.childNodes.length - 1]);
|
|
41452
41451
|
var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_30__/* .DomRange */ .a(this._hoEditorFactoryID, spath, epath);
|
|
41453
|
-
var jsonData = hoEditorFactory.structureNode.Copy(domRange, null,
|
|
41452
|
+
var jsonData = hoEditorFactory.structureNode.Copy(domRange, null, false);
|
|
41454
41453
|
var nodes = hoEditorFactory.structureNode.Parse(_utils_StructureNode__WEBPACK_IMPORTED_MODULE_89__/* .ClipboardType.ctJSON */ .Y6.ctJSON, jsonData);
|
|
41455
41454
|
hoEditorFactory.docTree.curDomRange.setSamePath(tCell.childNodes[0].getNodePath());
|
|
41456
41455
|
for (var n = 0; n < nodes.length; n++) {
|
|
41457
41456
|
var anode = nodes[n];
|
|
41458
41457
|
if (anode instanceof _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_26__/* .TextNode */ .R) {
|
|
41459
41458
|
nodes.splice(n, 1);
|
|
41460
|
-
}
|
|
41461
|
-
|
|
41459
|
+
} else if (anode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && !anode.isEmpty()) {
|
|
41460
|
+
anode.childNodes.splice(1, anode.childNodes.length - 2);
|
|
41461
|
+
var markNode = new _treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_46__/* .MarkNode */ .j(this._hoEditorFactoryID, anode.rootNodes, anode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_23__/* .NodeType.ntMark */ .Jq.ntMark, anode.name, anode.childNodes[0].styleIndex, 1);
|
|
41462
|
+
anode.childNodes.splice(1, 0, markNode);
|
|
41463
|
+
} else if (anode instanceof _treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_54__/* .DownListNode */ .yF && anode.keyValue !== "") {
|
|
41464
|
+
anode.text = anode.name;
|
|
41465
|
+
anode.keyValue = "";
|
|
41466
|
+
anode.node2DrawNode();
|
|
41467
|
+
} else if (anode instanceof _treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_53__/* .DateTimeNode */ .Z && anode.text !== anode.labelText) {
|
|
41468
|
+
anode.text = anode.labelText;
|
|
41469
|
+
anode.node2DrawNode();
|
|
41470
|
+
} else if (anode instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N && anode.number !== 0) {
|
|
41462
41471
|
anode.number = 0;
|
|
41463
41472
|
anode.type = 0;
|
|
41464
41473
|
anode.signor = "";
|
|
@@ -47398,7 +47407,7 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
47398
47407
|
/*
|
|
47399
47408
|
* @Author: your name
|
|
47400
47409
|
* @Date: 2020-12-24 16:01:16
|
|
47401
|
-
* @LastEditTime: 2023-08-
|
|
47410
|
+
* @LastEditTime: 2023-08-04 14:39:49
|
|
47402
47411
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
47403
47412
|
* @Description: In User Settings Edit
|
|
47404
47413
|
* @FilePath: \hoeditor-web\src\editor\dom\TableProperty.ts
|
|
@@ -47688,7 +47697,7 @@ var RowProperty = /*#__PURE__*/function () {
|
|
|
47688
47697
|
//打印单元格背景
|
|
47689
47698
|
//按下Tab键强制插入新行(即使不是最后一行)
|
|
47690
47699
|
//是否锁定行高
|
|
47691
|
-
|
|
47700
|
+
//新增行带着单元格元素
|
|
47692
47701
|
function RowProperty(objectValues //, table: TableNode
|
|
47693
47702
|
) {
|
|
47694
47703
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, RowProperty);
|
|
@@ -47844,7 +47853,7 @@ var VAlign;
|
|
|
47844
47853
|
var ColDownListProperty = /*#__PURE__*/function () {
|
|
47845
47854
|
//允许多选 编辑器属性是DownList类型的情况
|
|
47846
47855
|
//列表项目分隔字符 编辑器属性是DownList类型的情况
|
|
47847
|
-
//来源 编辑器属性是DownList类型的情况
|
|
47856
|
+
//private _source = ""; //来源 编辑器属性是DownList类型的情况
|
|
47848
47857
|
//列表项目 编辑器属性是DownList类型的情况
|
|
47849
47858
|
//用户可以直接编辑修改内容 编辑器属性是DownList类型的情况
|
|
47850
47859
|
//允许被删除 编辑器属性是DownList类型的情况
|
|
@@ -47852,13 +47861,12 @@ var ColDownListProperty = /*#__PURE__*/function () {
|
|
|
47852
47861
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, ColDownListProperty);
|
|
47853
47862
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_allowMultiSelected", true);
|
|
47854
47863
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_splitCharacter", ",");
|
|
47855
|
-
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_source", "");
|
|
47856
47864
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_listItems", "");
|
|
47857
47865
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_canModifyContent", true);
|
|
47858
47866
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_isAllowDel", true);
|
|
47859
47867
|
this._allowMultiSelected = objectValues["allowMultiSelected"] !== undefined ? objectValues["allowMultiSelected"] : objectValues["_allowMultiSelected"];
|
|
47860
47868
|
this._splitCharacter = objectValues["splitCharacter"] ? objectValues["splitCharacter"] : objectValues["_splitCharacter"];
|
|
47861
|
-
this._source = objectValues["source"] ? objectValues["source"] : objectValues["_source"];
|
|
47869
|
+
//this._source = objectValues["source"] ? objectValues["source"] : objectValues["_source"];
|
|
47862
47870
|
this._listItems = objectValues["listItems"] ? objectValues["listItems"] : objectValues["_listItems"];
|
|
47863
47871
|
this._canModifyContent = objectValues["canModifyContent"] !== undefined ? objectValues["canModifyContent"] : objectValues["_canModifyContent"];
|
|
47864
47872
|
this._isAllowDel = objectValues["isAllowDel"] !== undefined ? objectValues["isAllowDel"] : objectValues["_isAllowDel"];
|
|
@@ -47879,14 +47887,12 @@ var ColDownListProperty = /*#__PURE__*/function () {
|
|
|
47879
47887
|
set: function set(value) {
|
|
47880
47888
|
this._splitCharacter = value;
|
|
47881
47889
|
}
|
|
47882
|
-
|
|
47883
|
-
|
|
47884
|
-
|
|
47885
|
-
|
|
47886
|
-
|
|
47887
|
-
|
|
47888
|
-
this._source = value;
|
|
47889
|
-
}
|
|
47890
|
+
// get source(): string {
|
|
47891
|
+
// return this._source;
|
|
47892
|
+
// }
|
|
47893
|
+
// set source(value: string) {
|
|
47894
|
+
// this._source = value;
|
|
47895
|
+
// }
|
|
47890
47896
|
}, {
|
|
47891
47897
|
key: "listItems",
|
|
47892
47898
|
get: function get() {
|
|
@@ -61510,6 +61516,7 @@ var FormularType;
|
|
|
61510
61516
|
FormularType[FormularType["ftBodySurfaceArea"] = 7] = "ftBodySurfaceArea";
|
|
61511
61517
|
FormularType[FormularType["ftCalcDays"] = 8] = "ftCalcDays";
|
|
61512
61518
|
FormularType[FormularType["ftCalcTime"] = 9] = "ftCalcTime";
|
|
61519
|
+
FormularType[FormularType["ftIdealWeight"] = 10] = "ftIdealWeight";
|
|
61513
61520
|
})(FormularType || (FormularType = {}));
|
|
61514
61521
|
var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
61515
61522
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(TableFormula, _ControlNode);
|
|
@@ -61623,6 +61630,9 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
61623
61630
|
if (this.formularType === FormularType.ftCalcTime) {
|
|
61624
61631
|
this.clacTime();
|
|
61625
61632
|
}
|
|
61633
|
+
if (this.formularType === FormularType.ftIdealWeight) {
|
|
61634
|
+
this.clacIdealWeight();
|
|
61635
|
+
}
|
|
61626
61636
|
}
|
|
61627
61637
|
}
|
|
61628
61638
|
}, {
|
|
@@ -62521,6 +62531,45 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
62521
62531
|
}
|
|
62522
62532
|
return strRet;
|
|
62523
62533
|
}
|
|
62534
|
+
}, {
|
|
62535
|
+
key: "clacIdealWeight",
|
|
62536
|
+
value: function clacIdealWeight() {
|
|
62537
|
+
var strRet = " ";
|
|
62538
|
+
var table = this.getParentCell().table;
|
|
62539
|
+
if (this.formulaStr == "") {
|
|
62540
|
+
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_38__/* ["default"].warn */ .Z.warn("身高的单元格编号传入有误:" + this.formulaStr);
|
|
62541
|
+
}
|
|
62542
|
+
var _this$getRowColByCell33 = this.getRowColByCellAdress(this.formulaStr),
|
|
62543
|
+
_this$getRowColByCell34 = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this$getRowColByCell33, 2),
|
|
62544
|
+
row = _this$getRowColByCell34[0],
|
|
62545
|
+
col = _this$getRowColByCell34[1];
|
|
62546
|
+
if (row >= 0 && col >= 0) {
|
|
62547
|
+
if (!table.rows[row]) return strRet;
|
|
62548
|
+
var hCell = table.rows[row][col];
|
|
62549
|
+
if (hCell) {
|
|
62550
|
+
var _this$getCellNumber13 = this.getCellNumber(table, row, col),
|
|
62551
|
+
_this$getCellNumber14 = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this$getCellNumber13, 2),
|
|
62552
|
+
hRet = _this$getCellNumber14[0],
|
|
62553
|
+
height = _this$getCellNumber14[1];
|
|
62554
|
+
if (height == "") return strRet;
|
|
62555
|
+
var heightNum = Number(height);
|
|
62556
|
+
if (hRet) {
|
|
62557
|
+
var num = 0;
|
|
62558
|
+
if (heightNum > 3) {
|
|
62559
|
+
num = heightNum - 105;
|
|
62560
|
+
} else {
|
|
62561
|
+
num = 100 * heightNum - 105;
|
|
62562
|
+
}
|
|
62563
|
+
if (num < 0) {
|
|
62564
|
+
strRet = "?";
|
|
62565
|
+
} else {
|
|
62566
|
+
strRet = num.toFixed(2);
|
|
62567
|
+
}
|
|
62568
|
+
}
|
|
62569
|
+
}
|
|
62570
|
+
}
|
|
62571
|
+
return strRet;
|
|
62572
|
+
}
|
|
62524
62573
|
}, {
|
|
62525
62574
|
key: "isCellInFormula",
|
|
62526
62575
|
value: function isCellInFormula(acell, r, c) {
|
|
@@ -62593,6 +62642,8 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
62593
62642
|
this._text = this.clacDays();
|
|
62594
62643
|
} else if (this.formularType === FormularType.ftCalcTime) {
|
|
62595
62644
|
this._text = this.clacTime();
|
|
62645
|
+
} else if (this.formularType === FormularType.ftIdealWeight) {
|
|
62646
|
+
this._text = this.clacIdealWeight();
|
|
62596
62647
|
}
|
|
62597
62648
|
this.node2DrawNode();
|
|
62598
62649
|
}
|
|
@@ -87117,7 +87168,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
87117
87168
|
// value.parentNode.update();
|
|
87118
87169
|
// }
|
|
87119
87170
|
//const isCellInFormula = value.isCellInFormula(cell, r, c);
|
|
87120
|
-
if (value.formularType === TableFormula/* FormularType.ftSum */.a.ftSum || value.formularType === TableFormula/* FormularType.ftFormular */.a.ftFormular || value.formularType === TableFormula/* FormularType.ftBMI */.a.ftBMI || value.formularType === TableFormula/* FormularType.ftLaborProcess */.a.ftLaborProcess || value.formularType === TableFormula/* FormularType.ftExpectedBirthDate */.a.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType.ftPregnantWeeks */.a.ftPregnantWeeks || value.formularType === TableFormula/* FormularType.ftScoreMapping */.a.ftScoreMapping || value.formularType === TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea || value.formularType === TableFormula/* FormularType.ftCalcDays */.a.ftCalcDays || value.formularType === TableFormula/* FormularType.ftCalcTime */.a.ftCalcTime) {
|
|
87171
|
+
if (value.formularType === TableFormula/* FormularType.ftSum */.a.ftSum || value.formularType === TableFormula/* FormularType.ftFormular */.a.ftFormular || value.formularType === TableFormula/* FormularType.ftBMI */.a.ftBMI || value.formularType === TableFormula/* FormularType.ftLaborProcess */.a.ftLaborProcess || value.formularType === TableFormula/* FormularType.ftExpectedBirthDate */.a.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType.ftPregnantWeeks */.a.ftPregnantWeeks || value.formularType === TableFormula/* FormularType.ftScoreMapping */.a.ftScoreMapping || value.formularType === TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea || value.formularType === TableFormula/* FormularType.ftCalcDays */.a.ftCalcDays || value.formularType === TableFormula/* FormularType.ftCalcTime */.a.ftCalcTime || value.formularType === TableFormula/* FormularType.ftIdealWeight */.a.ftIdealWeight) {
|
|
87121
87172
|
//const str = value.formulaStr;
|
|
87122
87173
|
value.updateResult();
|
|
87123
87174
|
value.getParentCell().drawCell.needUpdate = true;
|
|
@@ -200487,10 +200538,10 @@ var map = {
|
|
|
200487
200538
|
"./sign/Sign.vue": 28715,
|
|
200488
200539
|
"./table/TableCellPoper.vue": 61917,
|
|
200489
200540
|
"./table/TableCellProperty.vue": 47585,
|
|
200490
|
-
"./table/TableColProperty.vue":
|
|
200541
|
+
"./table/TableColProperty.vue": 17857,
|
|
200491
200542
|
"./table/TableForm.vue": 19064,
|
|
200492
200543
|
"./table/TableFormTree.vue": 39703,
|
|
200493
|
-
"./table/TableFormula.vue":
|
|
200544
|
+
"./table/TableFormula.vue": 83037,
|
|
200494
200545
|
"./table/TableProperty.vue": 47130,
|
|
200495
200546
|
"./table/TableRowProperty.vue": 37466,
|
|
200496
200547
|
"./textDialog/TextDialog.vue": 26401,
|
|
@@ -236740,8 +236791,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
236740
236791
|
var es_number_constructor = __webpack_require__(9653);
|
|
236741
236792
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
236742
236793
|
var es_json_stringify = __webpack_require__(38862);
|
|
236743
|
-
;// 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/HoDoc.vue?vue&type=template&id=
|
|
236744
|
-
var
|
|
236794
|
+
;// 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/HoDoc.vue?vue&type=template&id=65a78357&
|
|
236795
|
+
var HoDocvue_type_template_id_65a78357_render = function render() {
|
|
236745
236796
|
var _vm = this,
|
|
236746
236797
|
_c = _vm._self._c;
|
|
236747
236798
|
return _c('div', {
|
|
@@ -236889,7 +236940,7 @@ var HoDocvue_type_template_id_1e9632f5_render = function render() {
|
|
|
236889
236940
|
}
|
|
236890
236941
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
236891
236942
|
};
|
|
236892
|
-
var
|
|
236943
|
+
var HoDocvue_type_template_id_65a78357_staticRenderFns = [];
|
|
236893
236944
|
|
|
236894
236945
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
236895
236946
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -239893,7 +239944,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
239893
239944
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
239894
239945
|
var ParagraphNode = __webpack_require__(67945);
|
|
239895
239946
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
239896
|
-
/* harmony default export */ var version = ('3.0.
|
|
239947
|
+
/* harmony default export */ var version = ('3.0.98');
|
|
239897
239948
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
239898
239949
|
var PoperTipText = __webpack_require__(36081);
|
|
239899
239950
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -240416,7 +240467,7 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
240416
240467
|
}
|
|
240417
240468
|
this.poperType = 'datePoper';
|
|
240418
240469
|
} else if (Number(_parentNode.inputFieldType) === 1) {
|
|
240419
|
-
var _node$parentNode$down, _node$parentNode$down2;
|
|
240470
|
+
var _node$parentNode$down, _node$parentNode$down2, _node$parentNode$down3;
|
|
240420
240471
|
if (paintStatus === 0) {
|
|
240421
240472
|
this.hoEditorProvider.setControlProperty('text', 'update', '');
|
|
240422
240473
|
this.hoEditorProvider.setUpdateNodeValue(this.getCurrentSelectNode());
|
|
@@ -240424,7 +240475,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
240424
240475
|
}
|
|
240425
240476
|
var text = node.text.replace(/ /g, '');
|
|
240426
240477
|
var list = (_node$parentNode$down = node.parentNode.downListProperty) !== null && _node$parentNode$down !== void 0 && _node$parentNode$down.listItems ? JSON.parse((_node$parentNode$down2 = node.parentNode.downListProperty) === null || _node$parentNode$down2 === void 0 ? void 0 : _node$parentNode$down2.listItems) : [];
|
|
240427
|
-
|
|
240478
|
+
var allowMultiSelected = ((_node$parentNode$down3 = node.parentNode.downListProperty) === null || _node$parentNode$down3 === void 0 ? void 0 : _node$parentNode$down3.allowMultiSelected) || false;
|
|
240479
|
+
if (text != node.parentNode.name && text !== '' && !allowMultiSelected && list.length > 0) {
|
|
240428
240480
|
if (list.filter(function (v) {
|
|
240429
240481
|
return v.text.split('<元素>')[0].includes(text);
|
|
240430
240482
|
}).length === 0) {
|
|
@@ -240638,10 +240690,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
240638
240690
|
});
|
|
240639
240691
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
240640
240692
|
/* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
|
|
240641
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
240693
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=65a78357&prod&lang=scss&
|
|
240642
240694
|
// extracted by mini-css-extract-plugin
|
|
240643
240695
|
|
|
240644
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
240696
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=65a78357&prod&lang=scss&
|
|
240645
240697
|
|
|
240646
240698
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
240647
240699
|
|
|
@@ -240654,8 +240706,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
|
|
|
240654
240706
|
|
|
240655
240707
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
240656
240708
|
components_HoDocvue_type_script_lang_js_,
|
|
240657
|
-
|
|
240658
|
-
|
|
240709
|
+
HoDocvue_type_template_id_65a78357_render,
|
|
240710
|
+
HoDocvue_type_template_id_65a78357_staticRenderFns,
|
|
240659
240711
|
false,
|
|
240660
240712
|
null,
|
|
240661
240713
|
null,
|
|
@@ -245749,7 +245801,7 @@ var StructureConvert = /*#__PURE__*/function () {
|
|
|
245749
245801
|
var formularNodes = hoEditorFactory.drawTree.formularNodes;
|
|
245750
245802
|
var tableArr = [];
|
|
245751
245803
|
formularNodes.forEach(function (value, key) {
|
|
245752
|
-
if (value.formularType === TableFormula/* FormularType.ftSum */.a.ftSum || value.formularType === TableFormula/* FormularType.ftFormular */.a.ftFormular || value.formularType === TableFormula/* FormularType.ftBMI */.a.ftBMI || value.formularType === TableFormula/* FormularType.ftLaborProcess */.a.ftLaborProcess || value.formularType === TableFormula/* FormularType.ftExpectedBirthDate */.a.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType.ftPregnantWeeks */.a.ftPregnantWeeks || value.formularType === TableFormula/* FormularType.ftScoreMapping */.a.ftScoreMapping || value.formularType === TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea || value.formularType === TableFormula/* FormularType.ftCalcDays */.a.ftCalcDays || value.formularType === TableFormula/* FormularType.ftCalcTime */.a.ftCalcTime) {
|
|
245804
|
+
if (value.formularType === TableFormula/* FormularType.ftSum */.a.ftSum || value.formularType === TableFormula/* FormularType.ftFormular */.a.ftFormular || value.formularType === TableFormula/* FormularType.ftBMI */.a.ftBMI || value.formularType === TableFormula/* FormularType.ftLaborProcess */.a.ftLaborProcess || value.formularType === TableFormula/* FormularType.ftExpectedBirthDate */.a.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType.ftPregnantWeeks */.a.ftPregnantWeeks || value.formularType === TableFormula/* FormularType.ftScoreMapping */.a.ftScoreMapping || value.formularType === TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea || value.formularType === TableFormula/* FormularType.ftCalcDays */.a.ftCalcDays || value.formularType === TableFormula/* FormularType.ftCalcTime */.a.ftCalcTime || value.formularType === TableFormula/* FormularType.ftIdealWeight */.a.ftIdealWeight) {
|
|
245753
245805
|
value.updateResult();
|
|
245754
245806
|
value.getParentCell().drawCell.needUpdate = true;
|
|
245755
245807
|
var table = value.getParentCell().table;
|
|
@@ -261187,7 +261239,8 @@ var formularType = {
|
|
|
261187
261239
|
6: 'ftScoreMapping',
|
|
261188
261240
|
7: 'bodySurfaceArea',
|
|
261189
261241
|
8: 'ftCalcDays',
|
|
261190
|
-
9: 'ftCalcTime'
|
|
261242
|
+
9: 'ftCalcTime',
|
|
261243
|
+
10: 'idealWeight' //计算理想体重
|
|
261191
261244
|
};
|
|
261192
261245
|
|
|
261193
261246
|
var getFormula = function getFormula(tableFormular) {
|
|
@@ -266410,8 +266463,8 @@ var ToolTablevue_type_template_id_c3a519ae_render = function render() {
|
|
|
266410
266463
|
};
|
|
266411
266464
|
var ToolTablevue_type_template_id_c3a519ae_staticRenderFns = [];
|
|
266412
266465
|
|
|
266413
|
-
;// 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/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=
|
|
266414
|
-
var
|
|
266466
|
+
;// 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/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=08ac57c8&
|
|
266467
|
+
var HoTableFeaturesvue_type_template_id_08ac57c8_render = function render() {
|
|
266415
266468
|
var _vm = this,
|
|
266416
266469
|
_c = _vm._self._c;
|
|
266417
266470
|
return _c('div', {
|
|
@@ -266460,7 +266513,9 @@ var HoTableFeaturesvue_type_template_id_2517920a_render = function render() {
|
|
|
266460
266513
|
key: "ftCalcDays"
|
|
266461
266514
|
}, [_vm._v("计算住院天数")]), _c('a-menu-item', {
|
|
266462
266515
|
key: "ftCalcTime"
|
|
266463
|
-
}, [_vm._v("时间计算")])
|
|
266516
|
+
}, [_vm._v("时间计算")]), _c('a-menu-item', {
|
|
266517
|
+
key: "idealWeight"
|
|
266518
|
+
}, [_vm._v("理想体重")])], 1)], 1)], 2)], 1) : _vm._e(), _vm.table.insertRowAbove && _vm.tableProperty.canAddRow ? _c('div', {
|
|
266464
266519
|
directives: [{
|
|
266465
266520
|
name: "debounce",
|
|
266466
266521
|
rawName: "v-debounce:1000.click",
|
|
@@ -266618,7 +266673,7 @@ var HoTableFeaturesvue_type_template_id_2517920a_render = function render() {
|
|
|
266618
266673
|
staticClass: "ho-emr-tool-item"
|
|
266619
266674
|
}, [_c('span', [_vm._v("取消合并单元格")])]) : _vm._e()]);
|
|
266620
266675
|
};
|
|
266621
|
-
var
|
|
266676
|
+
var HoTableFeaturesvue_type_template_id_08ac57c8_staticRenderFns = [];
|
|
266622
266677
|
|
|
266623
266678
|
;// 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/toolbar/insert/HoTableFeatures.vue?vue&type=script&lang=js&
|
|
266624
266679
|
|
|
@@ -266693,7 +266748,8 @@ var HoTableFeaturesvue_type_template_id_2517920a_staticRenderFns = [];
|
|
|
266693
266748
|
}]
|
|
266694
266749
|
},
|
|
266695
266750
|
// 体表面积
|
|
266696
|
-
bodySurfaceAreaWeight: ''
|
|
266751
|
+
bodySurfaceAreaWeight: '',
|
|
266752
|
+
idealWeightHeight: ''
|
|
266697
266753
|
};
|
|
266698
266754
|
},
|
|
266699
266755
|
computed: {
|
|
@@ -266755,6 +266811,7 @@ var HoTableFeaturesvue_type_template_id_2517920a_staticRenderFns = [];
|
|
|
266755
266811
|
this.laborType = 1;
|
|
266756
266812
|
this.expectedDate = '';
|
|
266757
266813
|
this.bodySurfaceArea = '';
|
|
266814
|
+
this.idealWeight = '';
|
|
266758
266815
|
},
|
|
266759
266816
|
laborTypeChange: function laborTypeChange() {
|
|
266760
266817
|
this.labor1 = '';
|
|
@@ -266780,7 +266837,8 @@ var HoTableFeaturesvue_type_template_id_2517920a_staticRenderFns = [];
|
|
|
266780
266837
|
ftScoreMapping: '分值映射计算公式',
|
|
266781
266838
|
bodySurfaceArea: '体表面积公式',
|
|
266782
266839
|
ftCalcDays: '计算住院天数公式',
|
|
266783
|
-
ftCalcTime:
|
|
266840
|
+
ftCalcTime: '时间计算公式',
|
|
266841
|
+
idealWeight: '理想体重'
|
|
266784
266842
|
};
|
|
266785
266843
|
if (formula[formulaType] === 'code') {
|
|
266786
266844
|
this.setCellCode();
|
|
@@ -266855,8 +266913,8 @@ var HoTableFeaturesvue_type_template_id_2517920a_staticRenderFns = [];
|
|
|
266855
266913
|
;
|
|
266856
266914
|
var HoTableFeatures_component = (0,componentNormalizer/* default */.Z)(
|
|
266857
266915
|
insert_HoTableFeaturesvue_type_script_lang_js_,
|
|
266858
|
-
|
|
266859
|
-
|
|
266916
|
+
HoTableFeaturesvue_type_template_id_08ac57c8_render,
|
|
266917
|
+
HoTableFeaturesvue_type_template_id_08ac57c8_staticRenderFns,
|
|
266860
266918
|
false,
|
|
266861
266919
|
null,
|
|
266862
266920
|
null,
|
|
@@ -268327,7 +268385,8 @@ var popper = __webpack_require__(95551);
|
|
|
268327
268385
|
ftScoreMapping: '分值映射公式',
|
|
268328
268386
|
bodySurfaceArea: '体表面积公式',
|
|
268329
268387
|
ftCalcDays: '计算住院天数公式',
|
|
268330
|
-
ftCalcTime: "时间计算公式"
|
|
268388
|
+
ftCalcTime: "时间计算公式",
|
|
268389
|
+
idealWeight: "理想体重公式"
|
|
268331
268390
|
},
|
|
268332
268391
|
isPasted: false,
|
|
268333
268392
|
isWebview: false,
|