hoeditor-web 3.1.54 → 3.1.55
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.css +1 -17897
- package/lib/hoeditor.umd.js +25 -6
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -38350,8 +38350,11 @@ var Print = /*#__PURE__*/function () {
|
|
|
38350
38350
|
} else {
|
|
38351
38351
|
var chromes;
|
|
38352
38352
|
try {
|
|
38353
|
-
|
|
38353
|
+
if (window.top) {
|
|
38354
|
+
chromes = window.top.chrome;
|
|
38355
|
+
}
|
|
38354
38356
|
} catch (error) {
|
|
38357
|
+
console.error(error);
|
|
38355
38358
|
chromes = undefined;
|
|
38356
38359
|
}
|
|
38357
38360
|
try {
|
|
@@ -86443,8 +86446,11 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
86443
86446
|
if (aNode.controlStyle === "RadioBox" || aNode.controlStyle === "CheckBox" && aNode.isMutualExclusion) {
|
|
86444
86447
|
if (groupName.length > 0) {
|
|
86445
86448
|
if (aNode.isSelected) {
|
|
86446
|
-
|
|
86447
|
-
|
|
86449
|
+
if (hoEditorFactory.allowUncheckRadio) {
|
|
86450
|
+
aNode.isSelected = false;
|
|
86451
|
+
} else {
|
|
86452
|
+
return true;
|
|
86453
|
+
}
|
|
86448
86454
|
} else {
|
|
86449
86455
|
var radioAndCheckBoxs = hoEditorFactory.docTree.radioAndCheckBoxsMap;
|
|
86450
86456
|
radioAndCheckBoxs.forEach(function (value, key) {
|
|
@@ -218775,7 +218781,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
218775
218781
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
218776
218782
|
var ParagraphNode = __webpack_require__(67945);
|
|
218777
218783
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
218778
|
-
/* harmony default export */ var version = ('3.1.
|
|
218784
|
+
/* harmony default export */ var version = ('3.1.55');
|
|
218779
218785
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
218780
218786
|
var PoperTipText = __webpack_require__(50987);
|
|
218781
218787
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -239866,6 +239872,7 @@ var DocController = __webpack_require__(24313);
|
|
|
239866
239872
|
|
|
239867
239873
|
|
|
239868
239874
|
|
|
239875
|
+
//import { SubDocManger } from "./editor/SubDocManger";
|
|
239869
239876
|
|
|
239870
239877
|
|
|
239871
239878
|
|
|
@@ -239900,7 +239907,7 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
239900
239907
|
// 打印时将彩色字体转换成黑色
|
|
239901
239908
|
(0,esm_defineProperty/* default */.Z)(this, "_isUseForm", void 0);
|
|
239902
239909
|
// 是否启用表单模式
|
|
239903
|
-
(0,esm_defineProperty/* default */.Z)(this, "_allowEditCellInForm",
|
|
239910
|
+
(0,esm_defineProperty/* default */.Z)(this, "_allowEditCellInForm", false);
|
|
239904
239911
|
//表单模式下是否允许编辑单元格文本
|
|
239905
239912
|
(0,esm_defineProperty/* default */.Z)(this, "_isUseImagePrint", void 0);
|
|
239906
239913
|
// 是否启用图片打印 默认不启用即使用svg打印
|
|
@@ -240011,12 +240018,14 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
240011
240018
|
(0,esm_defineProperty/* default */.Z)(this, "_isDrawMustMarker", true);
|
|
240012
240019
|
//是否绘制必填标记
|
|
240013
240020
|
(0,esm_defineProperty/* default */.Z)(this, "_isControlCaret", false);
|
|
240021
|
+
//鼠标点击空元素控制光标在中间位置
|
|
240022
|
+
(0,esm_defineProperty/* default */.Z)(this, "_allowUncheckRadio", true);
|
|
240014
240023
|
this._hoEditorFactoryId = id;
|
|
240015
240024
|
}
|
|
240016
240025
|
(0,esm_createClass/* default */.Z)(HOEditorFactory, [{
|
|
240017
240026
|
key: "hoLocalStorage",
|
|
240018
240027
|
get:
|
|
240019
|
-
|
|
240028
|
+
//允许直接取消勾选单选控件
|
|
240020
240029
|
/**
|
|
240021
240030
|
* Getter hoLocalStorage
|
|
240022
240031
|
* @return {HoLocalStorage}
|
|
@@ -240786,6 +240795,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
240786
240795
|
this._isDrawMustMarker = value;
|
|
240787
240796
|
}
|
|
240788
240797
|
}
|
|
240798
|
+
}, {
|
|
240799
|
+
key: "allowUncheckRadio",
|
|
240800
|
+
get: function get() {
|
|
240801
|
+
return this._allowUncheckRadio;
|
|
240802
|
+
},
|
|
240803
|
+
set: function set(value) {
|
|
240804
|
+
if (this._allowUncheckRadio !== value) {
|
|
240805
|
+
this._allowUncheckRadio = value;
|
|
240806
|
+
}
|
|
240807
|
+
}
|
|
240789
240808
|
}, {
|
|
240790
240809
|
key: "isSameColorWithEmptyVlaue",
|
|
240791
240810
|
get: function get() {
|