hoeditor-web 3.0.8 → 3.0.10
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 +61 -53
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -3240,7 +3240,7 @@ function _extends(){return _extends=Object.assign?Object.assign.bind():function(
|
|
|
3240
3240
|
|
|
3241
3241
|
/***/ }),
|
|
3242
3242
|
|
|
3243
|
-
/***/
|
|
3243
|
+
/***/ 60442:
|
|
3244
3244
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3245
3245
|
|
|
3246
3246
|
"use strict";
|
|
@@ -3252,7 +3252,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
3252
3252
|
"default": function() { return /* binding */ ControlModal; }
|
|
3253
3253
|
});
|
|
3254
3254
|
|
|
3255
|
-
;// 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/ControlModal.vue?vue&type=template&id=
|
|
3255
|
+
;// 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/ControlModal.vue?vue&type=template&id=4a979707&
|
|
3256
3256
|
var render = function render() {
|
|
3257
3257
|
var _vm = this,
|
|
3258
3258
|
_c = _vm._self._c;
|
|
@@ -3378,8 +3378,8 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
3378
3378
|
'text-to-label': 'textDialog/TextToLabelDialog',
|
|
3379
3379
|
date: 'dateDialog/DateDialog',
|
|
3380
3380
|
select: 'selectDialog/SelectDialog',
|
|
3381
|
-
'
|
|
3382
|
-
'
|
|
3381
|
+
'RadioBox': 'radioCheckBox/RadioCheckbox',
|
|
3382
|
+
'Checkbox': 'radioCheckBox/RadioCheckbox',
|
|
3383
3383
|
table: 'table/TableProperty',
|
|
3384
3384
|
'table-row': 'table/TableRowProperty',
|
|
3385
3385
|
'table-col': 'table/TableColProperty',
|
|
@@ -12980,7 +12980,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
12980
12980
|
|
|
12981
12981
|
/***/ }),
|
|
12982
12982
|
|
|
12983
|
-
/***/
|
|
12983
|
+
/***/ 41580:
|
|
12984
12984
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
12985
12985
|
|
|
12986
12986
|
"use strict";
|
|
@@ -12992,7 +12992,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12992
12992
|
"default": function() { return /* binding */ RadioCheckbox; }
|
|
12993
12993
|
});
|
|
12994
12994
|
|
|
12995
|
-
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
12995
|
+
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=ec091fa2&
|
|
12996
12996
|
var render = function render() {
|
|
12997
12997
|
var _vm = this,
|
|
12998
12998
|
_c = _vm._self._c;
|
|
@@ -13800,7 +13800,7 @@ var defaultBox = {
|
|
|
13800
13800
|
},
|
|
13801
13801
|
addBox: function addBox() {
|
|
13802
13802
|
var box = (0,objectSpread2/* default */.Z)({}, defaultBox);
|
|
13803
|
-
box.id = this.controlType === '
|
|
13803
|
+
box.id = this.controlType === 'RadioBox' ? this.vueController.generateID('RB') : this.vueController.generateID('CB');
|
|
13804
13804
|
box.groupName = this.groupName;
|
|
13805
13805
|
this.radioCheckBoxGroup.push(box);
|
|
13806
13806
|
},
|
|
@@ -13824,7 +13824,7 @@ var defaultBox = {
|
|
|
13824
13824
|
} else if (this.boxGroup === 1 && this.controlStatus === 'add') {
|
|
13825
13825
|
this.radioCheckBoxGroup.forEach(function (v) {
|
|
13826
13826
|
v.groupName = _this2.groupName;
|
|
13827
|
-
v.controlStyle = _this2.controlType == "
|
|
13827
|
+
v.controlStyle = _this2.controlType == "RadioBox" ? 'RadioBox' : "CheckBox";
|
|
13828
13828
|
if (v.id === _this2.tableRadio) v.isSelected = true;
|
|
13829
13829
|
if (v.text == '') return; // 处理单复选文本值为空的情况
|
|
13830
13830
|
_this2.vueController.insertRadioAndCheckBox('add', JSON.stringify(v));
|
|
@@ -13843,10 +13843,10 @@ var defaultBox = {
|
|
|
13843
13843
|
});
|
|
13844
13844
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=js&
|
|
13845
13845
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_js_ = (RadioCheckboxvue_type_script_lang_js_);
|
|
13846
|
-
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
13846
|
+
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=ec091fa2&prod&lang=scss&
|
|
13847
13847
|
// extracted by mini-css-extract-plugin
|
|
13848
13848
|
|
|
13849
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
13849
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=ec091fa2&prod&lang=scss&
|
|
13850
13850
|
|
|
13851
13851
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
13852
13852
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -42673,7 +42673,7 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
42673
42673
|
/*
|
|
42674
42674
|
* @Author: your name
|
|
42675
42675
|
* @Date: 2020-12-24 16:01:16
|
|
42676
|
-
* @LastEditTime: 2022-12-
|
|
42676
|
+
* @LastEditTime: 2022-12-20 17:40:47
|
|
42677
42677
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
42678
42678
|
* @Description: In User Settings Edit
|
|
42679
42679
|
* @FilePath: \hoeditor-web\src\editor\dom\TableProperty.ts
|
|
@@ -62715,8 +62715,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
62715
62715
|
"a": function() { return /* binding */ DrawLine; }
|
|
62716
62716
|
});
|
|
62717
62717
|
|
|
62718
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
62719
|
-
var slicedToArray = __webpack_require__(27222);
|
|
62720
62718
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
62721
62719
|
var classCallCheck = __webpack_require__(70280);
|
|
62722
62720
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
@@ -62846,7 +62844,6 @@ var TextInputFieldNode = __webpack_require__(90161);
|
|
|
62846
62844
|
|
|
62847
62845
|
|
|
62848
62846
|
|
|
62849
|
-
|
|
62850
62847
|
|
|
62851
62848
|
|
|
62852
62849
|
var DrawLine = /*#__PURE__*/function (_DrawContainer) {
|
|
@@ -63132,10 +63129,7 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
|
|
|
63132
63129
|
value: function adjustDHeight(dHeight) {
|
|
63133
63130
|
if (this.paragraphNode.parentNode && this.paragraphNode.parentNode.nodeType === BaseNode/* NodeType.ntCell */.Jq.ntCell && this.paragraphNode.parentNode.table.tableProperty.isAutoChangeLine) {
|
|
63134
63131
|
var cell = this.paragraphNode.parentNode;
|
|
63135
|
-
|
|
63136
|
-
_cell$table$getCellIn2 = (0,slicedToArray/* default */.Z)(_cell$table$getCellIn, 2),
|
|
63137
|
-
r = _cell$table$getCellIn2[0],
|
|
63138
|
-
c = _cell$table$getCellIn2[1];
|
|
63132
|
+
//const [r, c] = cell.table.getCellInfos(cell);
|
|
63139
63133
|
if (cell.needPaintLineGrid() && dHeight, cell.table.tableProperty.autoLineHeightPx) {
|
|
63140
63134
|
dHeight = Math.max(dHeight, cell.table.tableProperty.autoLineHeightPx - this.paragraphNode.combineParagraph.lineSpace - this.paragraphNode.combineParagraph.topMarginPixes);
|
|
63141
63135
|
}
|
|
@@ -69066,7 +69060,7 @@ var ResizeDrawTableObj = /*#__PURE__*/function () {
|
|
|
69066
69060
|
if (rect) {
|
|
69067
69061
|
var dWidth = rect.width;
|
|
69068
69062
|
var dHeight = rect.height;
|
|
69069
|
-
if (0 < pos.x && pos.x < dWidth &&
|
|
69063
|
+
if (0 < pos.x && pos.x < dWidth && pos.y >= 0 && pos.y <= dHeight) {
|
|
69070
69064
|
inYrange = true;
|
|
69071
69065
|
// this._dObj.cursor = "s-resize";
|
|
69072
69066
|
// this.setBoundsYMoveable(e.stageY, dWidth);
|
|
@@ -69350,7 +69344,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
69350
69344
|
// this._leftBorder = new createjs.Rectangle(dLeft, dTop, 2, dHeight);
|
|
69351
69345
|
// this._rightBorder = new createjs.Rectangle(
|
|
69352
69346
|
// dLeft + dWidth - 2,
|
|
69353
|
-
// dTop,
|
|
69347
|
+
// dTop,canjustRowHeight
|
|
69354
69348
|
// 2,
|
|
69355
69349
|
// dHeight
|
|
69356
69350
|
// );
|
|
@@ -69387,7 +69381,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
69387
69381
|
// gLineHeight;
|
|
69388
69382
|
// }
|
|
69389
69383
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(_this._hoEditorFactoryID);
|
|
69390
|
-
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psEdit */.Dh.psEdit || hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
|
|
69384
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psEdit */.Dh.psEdit && (_this.cell.table.tableProperty.canAdjustRowHeight || _this.cell.table.tableProperty.canAdjustRowWidth) || hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
|
|
69391
69385
|
_this._ResizeObj = new ResizeDrawTableObj(_this._hoEditorFactoryID, _this._cell, _this._touchArea, rowIndex, colIndex);
|
|
69392
69386
|
}
|
|
69393
69387
|
// this.paintBackground();
|
|
@@ -69561,7 +69555,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
69561
69555
|
* |0 1 |
|
|
69562
69556
|
* | D B |
|
|
69563
69557
|
* |3___C___2 |
|
|
69564
|
-
*
|
|
69558
|
+
*canjustRowHeight
|
|
69565
69559
|
*/
|
|
69566
69560
|
switch (this._cell.cellProperty.obliqueSplitLine) {
|
|
69567
69561
|
//02
|
|
@@ -70887,9 +70881,9 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
70887
70881
|
value: function paint(dTop, dParent, restHeight) {
|
|
70888
70882
|
var totalHeight = 0;
|
|
70889
70883
|
var aTop = dTop;
|
|
70890
|
-
if (this.table.tableProperty.fixedOnePage) {
|
|
70891
|
-
|
|
70892
|
-
}
|
|
70884
|
+
// if (this.table.tableProperty.fixedOnePage) {
|
|
70885
|
+
// restHeight = Infinity;
|
|
70886
|
+
// }
|
|
70893
70887
|
var pageRestHeight = restHeight;
|
|
70894
70888
|
var bStartRowFinished = true;
|
|
70895
70889
|
var index = this._table.drawTable.drawPageTables.indexOf(this);
|
|
@@ -71505,9 +71499,9 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
71505
71499
|
key: "drawUpdate",
|
|
71506
71500
|
value: function drawUpdate(prevdPageTable, dRestHeight) {
|
|
71507
71501
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_14__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this.table.hoEditorFactoryID);
|
|
71508
|
-
if (this.table.tableProperty.fixedOnePage) {
|
|
71509
|
-
|
|
71510
|
-
}
|
|
71502
|
+
// if (this.table.tableProperty.fixedOnePage) {
|
|
71503
|
+
// dRestHeight = Infinity;
|
|
71504
|
+
// }
|
|
71511
71505
|
var pageRestHeight = dRestHeight;
|
|
71512
71506
|
var rowTop = 0;
|
|
71513
71507
|
var index = this._table.drawTable.drawPageTables.indexOf(this);
|
|
@@ -73143,6 +73137,10 @@ var DrawTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
73143
73137
|
} else {
|
|
73144
73138
|
ret = false;
|
|
73145
73139
|
}
|
|
73140
|
+
var fixedOnePage = this.table.tableProperty.fixedOnePage;
|
|
73141
|
+
if (fixedOnePage) {
|
|
73142
|
+
return true;
|
|
73143
|
+
}
|
|
73146
73144
|
}
|
|
73147
73145
|
return ret;
|
|
73148
73146
|
}
|
|
@@ -76064,6 +76062,7 @@ var EditorController = /*#__PURE__*/function () {
|
|
|
76064
76062
|
}
|
|
76065
76063
|
} finally {
|
|
76066
76064
|
el.value = '';
|
|
76065
|
+
el.style.width = '0px';
|
|
76067
76066
|
hoeditorfactory.drawTree.caret.cursor.className = 'ho-caret-animation';
|
|
76068
76067
|
}
|
|
76069
76068
|
}
|
|
@@ -186826,7 +186825,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
186826
186825
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
186827
186826
|
|
|
186828
186827
|
var map = {
|
|
186829
|
-
"./ControlModal.vue":
|
|
186828
|
+
"./ControlModal.vue": 60442,
|
|
186830
186829
|
"./barCode/BarCodes.vue": 98194,
|
|
186831
186830
|
"./colorPicker/HoColorPicker.vue": 91351,
|
|
186832
186831
|
"./colorPicker/HoColorPickers.vue": 84214,
|
|
@@ -186851,7 +186850,7 @@ var map = {
|
|
|
186851
186850
|
"./popers/Title.vue": 89987,
|
|
186852
186851
|
"./printstyle/PrintLineStyle.vue": 41889,
|
|
186853
186852
|
"./qrCode/QrCode.vue": 67124,
|
|
186854
|
-
"./radioCheckBox/RadioCheckbox.vue":
|
|
186853
|
+
"./radioCheckBox/RadioCheckbox.vue": 41580,
|
|
186855
186854
|
"./selectDialog/SelectDialog.vue": 26679,
|
|
186856
186855
|
"./sign/Sign.vue": 99163,
|
|
186857
186856
|
"./table/TableCellPoper.vue": 21277,
|
|
@@ -226891,7 +226890,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
226891
226890
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
226892
226891
|
var ParagraphNode = __webpack_require__(67945);
|
|
226893
226892
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
226894
|
-
/* harmony default export */ var version = ('3.0.
|
|
226893
|
+
/* harmony default export */ var version = ('3.0.10');
|
|
226895
226894
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
226896
226895
|
var PoperTipText = __webpack_require__(15845);
|
|
226897
226896
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -228163,6 +228162,7 @@ var DrawPageTree = /*#__PURE__*/function () {
|
|
|
228163
228162
|
}, {
|
|
228164
228163
|
key: "paintDrawPageCell",
|
|
228165
228164
|
value: function paintDrawPageCell(aDrawArea, dRoots, startLine, endLine) {
|
|
228165
|
+
var fixedOnePage = aDrawArea.cell.table.tableProperty.fixedOnePage;
|
|
228166
228166
|
var startUpdateLine = endLine;
|
|
228167
228167
|
var drawArea = aDrawArea;
|
|
228168
228168
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -228201,9 +228201,17 @@ var DrawPageTree = /*#__PURE__*/function () {
|
|
|
228201
228201
|
var dMaxHeight = mainArea.dHeight - drawArea.localToLocal(0, 0, mainArea).y;
|
|
228202
228202
|
drawArea.maxHeight = dMaxHeight;
|
|
228203
228203
|
var restHeight = Infinity;
|
|
228204
|
+
var bIsFull = false;
|
|
228204
228205
|
if (drawArea.allowAcrossPage && mainArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
228206
|
+
if (dLine && fixedOnePage) {
|
|
228207
|
+
//drawArea.allowAcrossPage = false;
|
|
228208
|
+
restHeight = drawArea.maxHeight - dTop;
|
|
228209
|
+
if (dLine.dHeight > restHeight) {
|
|
228210
|
+
restHeight = 0;
|
|
228211
|
+
bIsFull = true;
|
|
228212
|
+
}
|
|
228213
|
+
}
|
|
228205
228214
|
var nextLine = startLine;
|
|
228206
|
-
var bIsFull = false;
|
|
228207
228215
|
while (nextLine <= endLine) {
|
|
228208
228216
|
var dline = dRoots[nextLine];
|
|
228209
228217
|
if (dline instanceof DrawTable/* DrawTable */.t && restHeight < hoEditorFactory.defaultLineHeight || dline instanceof DrawLine/* DrawLine */.a && restHeight < dline.dHeight) {
|
|
@@ -228273,8 +228281,8 @@ var DrawPageTree = /*#__PURE__*/function () {
|
|
|
228273
228281
|
if (index > 0) {
|
|
228274
228282
|
prevPgTable = dPgTable.table.drawTable.drawPageTables[index - 1];
|
|
228275
228283
|
}
|
|
228276
|
-
var
|
|
228277
|
-
drawArea.drawPageTable.table.drawTable.drawUpdate(pArea, prevPgTable, dPgTable.y,
|
|
228284
|
+
var restHeight1 = dPgTable.getMainRestHeight();
|
|
228285
|
+
drawArea.drawPageTable.table.drawTable.drawUpdate(pArea, prevPgTable, dPgTable.y, restHeight1);
|
|
228278
228286
|
break;
|
|
228279
228287
|
}
|
|
228280
228288
|
if (nextLine > startLine || nextLine === startLine && !drawArea.contains(_dobj2)) {
|
|
@@ -245399,7 +245407,7 @@ var HoFooter_component = (0,componentNormalizer/* default */.Z)(
|
|
|
245399
245407
|
|
|
245400
245408
|
/* harmony default export */ var HoFooter = (HoFooter_component.exports);
|
|
245401
245409
|
// EXTERNAL MODULE: ./src/components/controls/ControlModal.vue + 3 modules
|
|
245402
|
-
var ControlModal = __webpack_require__(
|
|
245410
|
+
var ControlModal = __webpack_require__(60442);
|
|
245403
245411
|
// EXTERNAL MODULE: ./src/components/controls/findReplace/FindReplace.vue + 5 modules
|
|
245404
245412
|
var FindReplace = __webpack_require__(25918);
|
|
245405
245413
|
;// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
@@ -249255,8 +249263,8 @@ var ToolBarChild_component = (0,componentNormalizer/* default */.Z)(
|
|
|
249255
249263
|
)
|
|
249256
249264
|
|
|
249257
249265
|
/* harmony default export */ var ToolBarChild = (ToolBarChild_component.exports);
|
|
249258
|
-
;// 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/ToolControl.vue?vue&type=template&id=
|
|
249259
|
-
var
|
|
249266
|
+
;// 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/ToolControl.vue?vue&type=template&id=0b557048&
|
|
249267
|
+
var ToolControlvue_type_template_id_0b557048_render = function render() {
|
|
249260
249268
|
var _vm = this,
|
|
249261
249269
|
_c = _vm._self._c;
|
|
249262
249270
|
return _c('div', {
|
|
@@ -249469,7 +249477,7 @@ var ToolControlvue_type_template_id_b0adf838_render = function render() {
|
|
|
249469
249477
|
staticClass: "ho-emr-tool-item",
|
|
249470
249478
|
on: {
|
|
249471
249479
|
"click": function click($event) {
|
|
249472
|
-
return _vm.createControl('
|
|
249480
|
+
return _vm.createControl('RadioBox');
|
|
249473
249481
|
}
|
|
249474
249482
|
}
|
|
249475
249483
|
}, [_c('svg', {
|
|
@@ -249488,7 +249496,7 @@ var ToolControlvue_type_template_id_b0adf838_render = function render() {
|
|
|
249488
249496
|
staticClass: "ho-emr-tool-item",
|
|
249489
249497
|
on: {
|
|
249490
249498
|
"click": function click($event) {
|
|
249491
|
-
return _vm.createControl('
|
|
249499
|
+
return _vm.createControl('Checkbox');
|
|
249492
249500
|
}
|
|
249493
249501
|
}
|
|
249494
249502
|
}, [_c('svg', {
|
|
@@ -249555,7 +249563,7 @@ var ToolControlvue_type_template_id_b0adf838_render = function render() {
|
|
|
249555
249563
|
}
|
|
249556
249564
|
})], 1) : _vm._e()], 2);
|
|
249557
249565
|
};
|
|
249558
|
-
var
|
|
249566
|
+
var ToolControlvue_type_template_id_0b557048_staticRenderFns = [];
|
|
249559
249567
|
|
|
249560
249568
|
;// 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/HoSpecialChars.vue?vue&type=template&id=79ce269a&
|
|
249561
249569
|
var HoSpecialCharsvue_type_template_id_79ce269a_render = function render() {
|
|
@@ -250275,8 +250283,8 @@ var ajax = __webpack_require__(79969);
|
|
|
250275
250283
|
;
|
|
250276
250284
|
var ToolControl_component = (0,componentNormalizer/* default */.Z)(
|
|
250277
250285
|
insert_ToolControlvue_type_script_lang_js_,
|
|
250278
|
-
|
|
250279
|
-
|
|
250286
|
+
ToolControlvue_type_template_id_0b557048_render,
|
|
250287
|
+
ToolControlvue_type_template_id_0b557048_staticRenderFns,
|
|
250280
250288
|
false,
|
|
250281
250289
|
null,
|
|
250282
250290
|
null,
|
|
@@ -252224,10 +252232,10 @@ var popper = __webpack_require__(95551);
|
|
|
252224
252232
|
}).then(function (permissionStatus) {
|
|
252225
252233
|
// permissionStatus.state 的值是 'granted'、'denied'、'prompt':
|
|
252226
252234
|
if (permissionStatus.state === 'denied') {
|
|
252227
|
-
var
|
|
252228
|
-
(
|
|
252235
|
+
var _window$top, _window$top$chrome, _window$top$chrome$we, _chrome, _chrome$webview;
|
|
252236
|
+
(_window$top = window.top) === null || _window$top === void 0 ? void 0 : (_window$top$chrome = _window$top.chrome) === null || _window$top$chrome === void 0 ? void 0 : (_window$top$chrome$we = _window$top$chrome.webview) === null || _window$top$chrome$we === void 0 ? void 0 : _window$top$chrome$we.addEventListener('message', _this.getMessage);
|
|
252229
252237
|
_this.postMessage();
|
|
252230
|
-
if ((
|
|
252238
|
+
if ((_chrome = chrome) !== null && _chrome !== void 0 && (_chrome$webview = _chrome.webview) !== null && _chrome$webview !== void 0 && _chrome$webview.postMessage) {
|
|
252231
252239
|
_this.isWebview = true;
|
|
252232
252240
|
} else {
|
|
252233
252241
|
console.warn('当前浏览器不支持,请用 ctrl+ v 粘贴');
|
|
@@ -252262,8 +252270,8 @@ var popper = __webpack_require__(95551);
|
|
|
252262
252270
|
},
|
|
252263
252271
|
methods: {
|
|
252264
252272
|
postMessage: function postMessage() {
|
|
252265
|
-
var
|
|
252266
|
-
(
|
|
252273
|
+
var _window$top2, _window$top2$chrome, _window$top2$chrome$w;
|
|
252274
|
+
(_window$top2 = window.top) === null || _window$top2 === void 0 ? void 0 : (_window$top2$chrome = _window$top2.chrome) === null || _window$top2$chrome === void 0 ? void 0 : (_window$top2$chrome$w = _window$top2$chrome.webview) === null || _window$top2$chrome$w === void 0 ? void 0 : _window$top2$chrome$w.postMessage({
|
|
252267
252275
|
exec: 'clipboard',
|
|
252268
252276
|
data: ''
|
|
252269
252277
|
});
|
|
@@ -252347,11 +252355,11 @@ var popper = __webpack_require__(95551);
|
|
|
252347
252355
|
this.handleClose();
|
|
252348
252356
|
},
|
|
252349
252357
|
handleClose: function handleClose() {
|
|
252350
|
-
var _window,
|
|
252351
|
-
_window$chrome,
|
|
252352
|
-
_window$chrome$
|
|
252358
|
+
var _window$top3,
|
|
252359
|
+
_window$top3$chrome,
|
|
252360
|
+
_window$top3$chrome$w,
|
|
252353
252361
|
_this2 = this;
|
|
252354
|
-
(_window = window) === null || _window === void 0 ? void 0 : (_window$chrome = _window.chrome) === null || _window$chrome === void 0 ? void 0 : (_window$chrome$
|
|
252362
|
+
(_window$top3 = window.top) === null || _window$top3 === void 0 ? void 0 : (_window$top3$chrome = _window$top3.chrome) === null || _window$top3$chrome === void 0 ? void 0 : (_window$top3$chrome$w = _window$top3$chrome.webview) === null || _window$top3$chrome$w === void 0 ? void 0 : _window$top3$chrome$w.removeEventListener('message', this.getMessage);
|
|
252355
252363
|
this.$nextTick(function () {
|
|
252356
252364
|
return _this2.$emit('closeRight');
|
|
252357
252365
|
});
|
|
@@ -252591,7 +252599,7 @@ var popper = __webpack_require__(95551);
|
|
|
252591
252599
|
return _this5.toUpdateNodes('express', event);
|
|
252592
252600
|
}
|
|
252593
252601
|
}
|
|
252594
|
-
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.type) === '
|
|
252602
|
+
}, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.type) === 'RadioBox' || ((_this$hoEditorProvide8 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide8 === void 0 ? void 0 : _this$hoEditorProvide8.type) === 'Checkbox') && ((_this$hoEditorProvide9 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide9 === void 0 ? void 0 : _this$hoEditorProvide9.paintStatus) === 0 && h("ul", {
|
|
252595
252603
|
"class": "mouse-right-menu"
|
|
252596
252604
|
}, [h("li", {
|
|
252597
252605
|
"class": "mouse-menu-item mouse-right-menu-line"
|
|
@@ -252603,7 +252611,7 @@ var popper = __webpack_require__(95551);
|
|
|
252603
252611
|
return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
|
|
252604
252612
|
}
|
|
252605
252613
|
}
|
|
252606
|
-
}, [((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])])
|
|
252614
|
+
}, [((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]), ((_this$hoEditorProvide11 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide11 === void 0 ? void 0 : _this$hoEditorProvide11.type) === 'date' && ((_this$hoEditorProvide12 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide12 === void 0 ? void 0 : _this$hoEditorProvide12.paintStatus) === 0 && h("ul", {
|
|
252607
252615
|
"class": "mouse-right-menu"
|
|
252608
252616
|
}, [h("li", {
|
|
252609
252617
|
"class": "mouse-menu-item mouse-right-menu-line"
|