hoeditor-web 3.1.209 → 3.1.210
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 +65 -53
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -117699,7 +117699,6 @@ class DocController {
|
|
|
117699
117699
|
const node = nodePosition.node;
|
|
117700
117700
|
if (node) {
|
|
117701
117701
|
let curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
|
|
117702
|
-
const curParaNo = hoEditorFactory.docTree.curParaNo;
|
|
117703
117702
|
let curTextStyle = hoEditorFactory.docTree.styles[curStyleIndex];
|
|
117704
117703
|
if (curTextStyle.combineStyle.font != "himalaya") {
|
|
117705
117704
|
curStyleIndex = curTextStyle.changeStyleString('fontFormat', "himalaya");
|
|
@@ -120916,10 +120915,11 @@ class DocController {
|
|
|
120916
120915
|
const prePath = hoEditorFactory.docTree.getNodeLastPath(domRange.npEnd.node.previousLeaf());
|
|
120917
120916
|
hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_27__/* .NodeDeleteUndoUnit */ .s(this._hoEditorFactoryID, domRange.npEnd.node, startPath, 'update'));
|
|
120918
120917
|
startPath = prePath;
|
|
120918
|
+
} else {
|
|
120919
|
+
const tableFormula = new _treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_61__/* .TableFormula */ .d(this._hoEditorFactoryID, domRange.npStart.roots, pNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType */ .Z6.ntTableFormula, formulaStr, hoEditorFactory.docTree.curStyleIndex, isHideZero, formulaType, '', formulaProperty);
|
|
120920
|
+
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_16__/* .NodeInsertUndoUnit */ .Q(this._hoEditorFactoryID, startPath, tableFormula));
|
|
120921
|
+
hoEditorFactory.undoService.commit();
|
|
120919
120922
|
}
|
|
120920
|
-
const tableFormula = new _treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_61__/* .TableFormula */ .d(this._hoEditorFactoryID, domRange.npStart.roots, pNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType */ .Z6.ntTableFormula, formulaStr, hoEditorFactory.docTree.curStyleIndex, isHideZero, formulaType, '', formulaProperty);
|
|
120921
|
-
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_16__/* .NodeInsertUndoUnit */ .Q(this._hoEditorFactoryID, startPath, tableFormula));
|
|
120922
|
-
hoEditorFactory.undoService.commit();
|
|
120923
120923
|
}
|
|
120924
120924
|
// /**
|
|
120925
120925
|
// * 设置审阅级别颜色和元素颜色
|
|
@@ -154585,41 +154585,49 @@ class DrawTableFormularChart extends _DrawCombineNode__WEBPACK_IMPORTED_MODULE_1
|
|
|
154585
154585
|
getCell(table, arr) {
|
|
154586
154586
|
const [startRow, startCol] = this.dNode.getRowColByCellAdress(arr[0]);
|
|
154587
154587
|
const [endRow, endCol] = this.dNode.getRowColByCellAdress(arr[1]);
|
|
154588
|
-
const list = [];
|
|
154589
154588
|
let notAllowEdit = false;
|
|
154590
|
-
|
|
154591
|
-
|
|
154592
|
-
|
|
154593
|
-
|
|
154594
|
-
|
|
154595
|
-
|
|
154596
|
-
|
|
154597
|
-
|
|
154598
|
-
if (
|
|
154599
|
-
|
|
154600
|
-
|
|
154601
|
-
if (
|
|
154602
|
-
|
|
154603
|
-
|
|
154604
|
-
|
|
154605
|
-
|
|
154606
|
-
|
|
154607
|
-
|
|
154608
|
-
|
|
154609
|
-
|
|
154610
|
-
|
|
154611
|
-
|
|
154612
|
-
|
|
154613
|
-
|
|
154614
|
-
|
|
154589
|
+
const list = [];
|
|
154590
|
+
if (this.formularProperty) {
|
|
154591
|
+
let messageList = [];
|
|
154592
|
+
if (startRow >= 0 && startCol >= 0 && endRow >= 0 && endCol >= 0) {
|
|
154593
|
+
if (startRow === endRow || startCol === endCol) {
|
|
154594
|
+
for (let r = startRow; r <= endRow; r++) {
|
|
154595
|
+
for (let c = startCol; c <= endCol; c++) {
|
|
154596
|
+
const cell = table.rows[r][c];
|
|
154597
|
+
if (cell) {
|
|
154598
|
+
notAllowEdit = cell.cellProperty.notAllowEdit || false;
|
|
154599
|
+
let text = cell.getCellText();
|
|
154600
|
+
if (notAllowEdit) {
|
|
154601
|
+
list.push(text);
|
|
154602
|
+
} else {
|
|
154603
|
+
text = text.replace(/\+|-/g, '');
|
|
154604
|
+
if (text) {
|
|
154605
|
+
if (text > this.formularProperty.max) {
|
|
154606
|
+
var _cell$drawCell$drawPa;
|
|
154607
|
+
text = '';
|
|
154608
|
+
(_cell$drawCell$drawPa = cell.drawCell.drawPageCells[0]) === null || _cell$drawCell$drawPa === void 0 || _cell$drawCell$drawPa.paintBackColor(true);
|
|
154609
|
+
messageList.push(`【${r}行 ${c} 列】`);
|
|
154610
|
+
} else if (text < this.formularProperty.min) {
|
|
154611
|
+
var _cell$drawCell$drawPa2;
|
|
154612
|
+
text = '';
|
|
154613
|
+
messageList.push(`【${r}行 ${c} 列】`);
|
|
154614
|
+
(_cell$drawCell$drawPa2 = cell.drawCell.drawPageCells[0]) === null || _cell$drawCell$drawPa2 === void 0 || _cell$drawCell$drawPa2.paintBackColor(true);
|
|
154615
|
+
} else {
|
|
154616
|
+
var _cell$drawCell$drawPa3;
|
|
154617
|
+
(_cell$drawCell$drawPa3 = cell.drawCell.drawPageCells[0]) === null || _cell$drawCell$drawPa3 === void 0 || _cell$drawCell$drawPa3.paintBackColor(false);
|
|
154618
|
+
}
|
|
154615
154619
|
}
|
|
154620
|
+
list.push(text);
|
|
154616
154621
|
}
|
|
154617
|
-
list.push(text.replace(/\+|-/g, ''));
|
|
154618
154622
|
}
|
|
154619
154623
|
}
|
|
154620
154624
|
}
|
|
154621
154625
|
}
|
|
154622
154626
|
}
|
|
154627
|
+
if (messageList.length > 0) {
|
|
154628
|
+
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .A.destroy();
|
|
154629
|
+
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .A.error(`以下单元格的值超出曲线图设置的范围【${this.formularProperty.min}~${this.formularProperty.max}】:${messageList.join('、')}`);
|
|
154630
|
+
}
|
|
154623
154631
|
}
|
|
154624
154632
|
return {
|
|
154625
154633
|
notAllowEdit,
|
|
@@ -220045,9 +220053,9 @@ var entry_lib_web_dom_collections_iterator = __webpack_require__(62953);
|
|
|
220045
220053
|
var build_entry_lib_objectSpread2 = __webpack_require__(33217);
|
|
220046
220054
|
// EXTERNAL MODULE: ./src/i18n/index.ts + 1 modules
|
|
220047
220055
|
var entry_lib_i18n = __webpack_require__(49850);
|
|
220048
|
-
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=
|
|
220056
|
+
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=14a6cdbd
|
|
220049
220057
|
|
|
220050
|
-
var
|
|
220058
|
+
var entry_lib_HoDocvue_type_template_id_14a6cdbd_render = function render() {
|
|
220051
220059
|
var _vm = this,
|
|
220052
220060
|
_c = _vm._self._c;
|
|
220053
220061
|
return _c('div', {
|
|
@@ -220246,9 +220254,9 @@ var entry_lib_HoDocvue_type_template_id_030c30c6_render = function render() {
|
|
|
220246
220254
|
}
|
|
220247
220255
|
}, [_vm._v("v " + _vm._s(_vm.version))])])], 2)], 1);
|
|
220248
220256
|
};
|
|
220249
|
-
var
|
|
220257
|
+
var entry_lib_HoDocvue_type_template_id_14a6cdbd_staticRenderFns = [];
|
|
220250
220258
|
|
|
220251
|
-
;// ./src/components/HoDoc.vue?vue&type=template&id=
|
|
220259
|
+
;// ./src/components/HoDoc.vue?vue&type=template&id=14a6cdbd
|
|
220252
220260
|
|
|
220253
220261
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
220254
220262
|
var entry_lib_es_array_sort = __webpack_require__(26910);
|
|
@@ -223094,7 +223102,7 @@ var entry_lib_TextNode = __webpack_require__(32083);
|
|
|
223094
223102
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
223095
223103
|
var entry_lib_ParagraphNode = __webpack_require__(40504);
|
|
223096
223104
|
;// ./src/components/version.ts
|
|
223097
|
-
/* harmony default export */ var entry_lib_version = ('3.1.
|
|
223105
|
+
/* harmony default export */ var entry_lib_version = ('3.1.210');
|
|
223098
223106
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
223099
223107
|
var entry_lib_PoperTipText = __webpack_require__(89316);
|
|
223100
223108
|
;// ./src/components/controls/poperTipText/index.ts
|
|
@@ -223614,6 +223622,7 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
|
|
|
223614
223622
|
if (Number(parentNode.inputFieldType) === 0 && (customProperty.additionsEditor == 'true' || customProperty.additionsEditor == true)) {
|
|
223615
223623
|
if (node instanceof entry_lib_DateTimeNode/* DateTimeNode */.Y) {
|
|
223616
223624
|
if (node.isReadOnly && node.text.replace(/\s*/g, '') !== '') {
|
|
223625
|
+
this.$message.error('元素属性设置只读,无法编辑');
|
|
223617
223626
|
return false;
|
|
223618
223627
|
}
|
|
223619
223628
|
this.computedPoperPosition(node, pageIndex);
|
|
@@ -223642,7 +223651,7 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
|
|
|
223642
223651
|
}
|
|
223643
223652
|
const [isInTable, tableNode] = hoEditorFactory.vueController.getDomRange().inSameTable();
|
|
223644
223653
|
if (paintStatus == entry_lib_DrawTree/* PaintState */.ak.psEdit && isInTable && !(node instanceof entry_lib_SignNode/* SignNode */.u)) {
|
|
223645
|
-
const result = hoEditorFactory.editController.canIsEdit(hoEditorFactory);
|
|
223654
|
+
const result = hoEditorFactory.editController.canIsEdit(hoEditorFactory, 'dblclick');
|
|
223646
223655
|
if (!result) return;
|
|
223647
223656
|
}
|
|
223648
223657
|
if (node instanceof entry_lib_SignNode/* SignNode */.u) {
|
|
@@ -223689,6 +223698,7 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
|
|
|
223689
223698
|
return;
|
|
223690
223699
|
}
|
|
223691
223700
|
if (node.isReadOnly && node.text.replace(/\s*/g, '') !== '') {
|
|
223701
|
+
this.$message.error('元素属性设置只读,无法编辑');
|
|
223692
223702
|
return false;
|
|
223693
223703
|
}
|
|
223694
223704
|
this.computedPoperPosition(node, pageIndex);
|
|
@@ -223828,6 +223838,7 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
|
|
|
223828
223838
|
return;
|
|
223829
223839
|
}
|
|
223830
223840
|
if (node.isReadOnly && node.text.replace(/\s*/g, '') !== '') {
|
|
223841
|
+
this.$message.error('元素属性设置只读,无法编辑');
|
|
223831
223842
|
return;
|
|
223832
223843
|
}
|
|
223833
223844
|
const callback = list => {
|
|
@@ -224171,10 +224182,10 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
|
|
|
224171
224182
|
|
|
224172
224183
|
/* harmony default export */ var entry_lib_components_HoDocvue_type_script_lang_js = (entry_lib_HoDocvue_type_script_lang_js);
|
|
224173
224184
|
|
|
224174
|
-
;// ./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/HoDoc.vue?vue&type=style&index=0&id=
|
|
224185
|
+
;// ./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/HoDoc.vue?vue&type=style&index=0&id=14a6cdbd&prod&lang=less
|
|
224175
224186
|
// extracted by mini-css-extract-plugin
|
|
224176
224187
|
|
|
224177
|
-
;// ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
224188
|
+
;// ./src/components/HoDoc.vue?vue&type=style&index=0&id=14a6cdbd&prod&lang=less
|
|
224178
224189
|
|
|
224179
224190
|
;// ./src/components/HoDoc.vue
|
|
224180
224191
|
|
|
@@ -224187,8 +224198,8 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
|
|
|
224187
224198
|
|
|
224188
224199
|
var entry_lib_HoDoc_component = (0,entry_lib_componentNormalizer/* default */.A)(
|
|
224189
224200
|
entry_lib_components_HoDocvue_type_script_lang_js,
|
|
224190
|
-
|
|
224191
|
-
|
|
224201
|
+
entry_lib_HoDocvue_type_template_id_14a6cdbd_render,
|
|
224202
|
+
entry_lib_HoDocvue_type_template_id_14a6cdbd_staticRenderFns,
|
|
224192
224203
|
false,
|
|
224193
224204
|
null,
|
|
224194
224205
|
null,
|
|
@@ -228887,7 +228898,6 @@ class entry_lib_StructureConvert {
|
|
|
228887
228898
|
count: 0
|
|
228888
228899
|
});
|
|
228889
228900
|
// console.time("openJson2Doc");
|
|
228890
|
-
|
|
228891
228901
|
if (nodes) {
|
|
228892
228902
|
const insertNode = (array, prevNode) => {
|
|
228893
228903
|
const firstNode = array[0];
|
|
@@ -235754,7 +235764,6 @@ class entry_lib_VueController {
|
|
|
235754
235764
|
if (lastNextDays) {
|
|
235755
235765
|
this.updateCellNextDays(lastNextDays.rowNo, lastNextDays.colNo, lastNextDays.tableId, '', true);
|
|
235756
235766
|
}
|
|
235757
|
-
setTimeout(() => {}, 1000);
|
|
235758
235767
|
}
|
|
235759
235768
|
}
|
|
235760
235769
|
/**
|
|
@@ -235769,6 +235778,11 @@ class entry_lib_VueController {
|
|
|
235769
235778
|
let updateCount = 1;
|
|
235770
235779
|
let nextCellText = false;
|
|
235771
235780
|
const currentCellNode = (_tableNodeMap$get = tableNodeMap.get(tableId)) === null || _tableNodeMap$get === void 0 ? void 0 : _tableNodeMap$get.rows[rowNo][colNo];
|
|
235781
|
+
const lastNode = currentCellNode === null || currentCellNode === void 0 ? void 0 : currentCellNode.childNodes[currentCellNode.childNodes.length - 1];
|
|
235782
|
+
if (lastNode && lastNode.styleIndex !== undefined) {
|
|
235783
|
+
// 自动更新日期时候 样式变更为最后一个日期单元格内容样式
|
|
235784
|
+
hoEditorFactory.docTree.curStyleIndex = lastNode.styleIndex;
|
|
235785
|
+
}
|
|
235772
235786
|
let currentText = (currentCellNode === null || currentCellNode === void 0 ? void 0 : currentCellNode.getCellText()) || '';
|
|
235773
235787
|
if (currentCellNode && (currentText.replace(/ /g, '') == '' || isAddNewPage && currentText.replace(/ /g, '') != '')) {
|
|
235774
235788
|
const currentStyle = currentCellNode.cellProperty.dateTimeProperty.inputStyle.replace(/dd/g, 'DD').replace(/yyyy/g, 'YYYY');
|
|
@@ -241752,8 +241766,8 @@ class entry_lib_EditController {
|
|
|
241752
241766
|
}
|
|
241753
241767
|
}
|
|
241754
241768
|
if (hoEditorFactory.isUseForm) {
|
|
241755
|
-
// 无选区 只判断结束节点 有选区需要判断首尾节点
|
|
241756
|
-
if (curDomRange.startPath == curDomRange.endPath) {
|
|
241769
|
+
// 无选区 只判断结束节点 有选区需要判断首尾节点 || 双击元素弹窗只判断结束节点 避免双击选区起始节点选到段落不能编辑
|
|
241770
|
+
if (curDomRange.startPath == curDomRange.endPath || curDomRange.startPath != curDomRange.endPath && source == 'dblclick') {
|
|
241757
241771
|
result = this.isEdit(hoEditorFactory, enode, curDomRange);
|
|
241758
241772
|
} else {
|
|
241759
241773
|
let sResult = this.isEdit(hoEditorFactory, snode, curDomRange);
|
|
@@ -258955,9 +258969,9 @@ var entry_lib_HoToolBar_component = (0,entry_lib_componentNormalizer/* default *
|
|
|
258955
258969
|
)
|
|
258956
258970
|
|
|
258957
258971
|
/* harmony default export */ var entry_lib_HoToolBar = (entry_lib_HoToolBar_component.exports);
|
|
258958
|
-
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=
|
|
258972
|
+
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=35b02cd4
|
|
258959
258973
|
|
|
258960
|
-
var
|
|
258974
|
+
var entry_lib_HoRightMenuvue_type_template_id_35b02cd4_render = function render() {
|
|
258961
258975
|
var _vm$hoEditorProvider$, _vm$hoEditorProvider$2, _vm$hoEditorProvider$3, _vm$hoEditorProvider$4, _vm$hoEditorProvider$5, _vm$hoEditorProvider$6, _vm$hoEditorProvider$7, _vm$hoEditorProvider$8, _vm$hoEditorProvider$10, _vm$hoEditorProvider$11, _vm$hoEditorProvider$12, _vm$hoEditorProvider$13, _vm$hoEditorProvider$14, _vm$hoEditorProvider$15, _vm$hoEditorProvider$16, _vm$hoEditorProvider$17, _vm$hoEditorProvider$18, _vm$hoEditorProvider$19, _vm$hoEditorProvider$20, _vm$hoEditorProvider$21, _vm$hoEditorProvider$22, _vm$hoEditorProvider$23, _vm$hoEditorProvider$24, _vm$hoEditorProvider$25, _vm$hoEditorProvider$26, _vm$hoEditorProvider$27;
|
|
258962
258976
|
var _vm = this,
|
|
258963
258977
|
_c = _vm._self._c;
|
|
@@ -259290,9 +259304,9 @@ var entry_lib_HoRightMenuvue_type_template_id_c072f7c2_render = function render(
|
|
|
259290
259304
|
}
|
|
259291
259305
|
}, [_vm._v("v " + _vm._s(_vm.versions))])])])], 2);
|
|
259292
259306
|
};
|
|
259293
|
-
var
|
|
259307
|
+
var entry_lib_HoRightMenuvue_type_template_id_35b02cd4_staticRenderFns = [];
|
|
259294
259308
|
|
|
259295
|
-
;// ./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=
|
|
259309
|
+
;// ./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=35b02cd4
|
|
259296
259310
|
|
|
259297
259311
|
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/TableFeatures.vue?vue&type=template&id=5bcdf497
|
|
259298
259312
|
|
|
@@ -260106,13 +260120,11 @@ var entry_lib_popper = __webpack_require__(98234);
|
|
|
260106
260120
|
async getClipboardContents() {
|
|
260107
260121
|
try {
|
|
260108
260122
|
const clipboardItems = await navigator.clipboard.read();
|
|
260109
|
-
// console.log(clipboardItems)
|
|
260110
260123
|
let htmls = "";
|
|
260111
260124
|
for (const clipboardItem of clipboardItems) {
|
|
260112
260125
|
for (const type of clipboardItem.types) {
|
|
260113
260126
|
if (type === 'text/html') {
|
|
260114
260127
|
const blob = await clipboardItem.getType(type);
|
|
260115
|
-
// console.log(type, blob, '---------');
|
|
260116
260128
|
const reader = new FileReader();
|
|
260117
260129
|
reader.readAsText(blob, 'UTF-8');
|
|
260118
260130
|
reader.onload = e => {
|
|
@@ -260374,8 +260386,8 @@ var entry_lib_popper = __webpack_require__(98234);
|
|
|
260374
260386
|
;
|
|
260375
260387
|
var entry_lib_HoRightMenu_component = (0,entry_lib_componentNormalizer/* default */.A)(
|
|
260376
260388
|
entry_lib_toolbar_HoRightMenuvue_type_script_lang_js,
|
|
260377
|
-
|
|
260378
|
-
|
|
260389
|
+
entry_lib_HoRightMenuvue_type_template_id_35b02cd4_render,
|
|
260390
|
+
entry_lib_HoRightMenuvue_type_template_id_35b02cd4_staticRenderFns,
|
|
260379
260391
|
false,
|
|
260380
260392
|
null,
|
|
260381
260393
|
null,
|