hoeditor-web 3.0.1 → 3.0.2
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 +55 -92
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -8988,7 +8988,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
8988
8988
|
|
|
8989
8989
|
/***/ }),
|
|
8990
8990
|
|
|
8991
|
-
/***/
|
|
8991
|
+
/***/ 64497:
|
|
8992
8992
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8993
8993
|
|
|
8994
8994
|
"use strict";
|
|
@@ -9008,7 +9008,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
9008
9008
|
var es_regexp_exec = __webpack_require__(74916);
|
|
9009
9009
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
9010
9010
|
var es_string_replace = __webpack_require__(15306);
|
|
9011
|
-
;// 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/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9011
|
+
;// 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/poperSelect/PoperSelect.vue?vue&type=template&id=c70794f6&
|
|
9012
9012
|
|
|
9013
9013
|
|
|
9014
9014
|
|
|
@@ -9238,8 +9238,8 @@ var render = function render() {
|
|
|
9238
9238
|
"open": true,
|
|
9239
9239
|
"locale": _vm.locale,
|
|
9240
9240
|
"showToday": false,
|
|
9241
|
-
"format": _vm.dateTimeStyle.replace(/dd/g, 'DD'),
|
|
9242
|
-
"valueFormat": _vm.dateTimeStyle.replace(/dd/g, 'DD')
|
|
9241
|
+
"format": _vm.dateTimeStyle.replace(/dd/g, 'DD').split(' ')[0],
|
|
9242
|
+
"valueFormat": _vm.dateTimeStyle.replace(/dd/g, 'DD').split(' ')[0]
|
|
9243
9243
|
},
|
|
9244
9244
|
scopedSlots: _vm._u([{
|
|
9245
9245
|
key: "dateRender",
|
|
@@ -9365,12 +9365,14 @@ var render = function render() {
|
|
|
9365
9365
|
};
|
|
9366
9366
|
var staticRenderFns = [];
|
|
9367
9367
|
|
|
9368
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9368
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=c70794f6&
|
|
9369
9369
|
|
|
9370
9370
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
9371
9371
|
var toConsumableArray = __webpack_require__(61748);
|
|
9372
9372
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
9373
9373
|
var es_object_assign = __webpack_require__(19601);
|
|
9374
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
9375
|
+
var es_function_name = __webpack_require__(68309);
|
|
9374
9376
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
9375
9377
|
var es_object_to_string = __webpack_require__(41539);
|
|
9376
9378
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
|
@@ -9379,8 +9381,6 @@ var web_dom_collections_for_each = __webpack_require__(54747);
|
|
|
9379
9381
|
var es_array_filter = __webpack_require__(57327);
|
|
9380
9382
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
9381
9383
|
var es_array_push = __webpack_require__(57658);
|
|
9382
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
9383
|
-
var es_function_name = __webpack_require__(68309);
|
|
9384
9384
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
9385
9385
|
var es_json_stringify = __webpack_require__(38862);
|
|
9386
9386
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
@@ -11477,52 +11477,14 @@ var type = __webpack_require__(41542);
|
|
|
11477
11477
|
if (this.poperType === 'datePoper') {
|
|
11478
11478
|
if (currentPoperNode instanceof DateTimeNode/* DateTimeNode */.Z) {
|
|
11479
11479
|
this.dateTimeStyle = currentPoperNode.controlStyle;
|
|
11480
|
-
// const style = currentPoperNode.controlStyle?.replace(/\hh/g, 'HH');
|
|
11481
|
-
// if ((style.includes('yyyy') || style.includes('MM')) && style.includes('HH')) {
|
|
11482
|
-
// this.dateStyle = style.split(' ')[0] ? style.split(' ')[0] : 'yyyy/MM/dd';
|
|
11483
|
-
// this.timeStyle = style.split(' ')[1] ? style.split(' ')[1] : 'HH:mm:ss';
|
|
11484
|
-
// } else {
|
|
11485
|
-
// if (style.includes('yyyy') || style.includes('MM')) {
|
|
11486
|
-
// this.dateStyle = style;
|
|
11487
|
-
// }
|
|
11488
|
-
// if (style.includes('HH') || style.includes('mm')) {
|
|
11489
|
-
// this.timeStyle = style;
|
|
11490
|
-
// }
|
|
11491
|
-
// }
|
|
11492
11480
|
var val = currentPoperNode.text.split(' ');
|
|
11493
|
-
this.date = val[0] ? val[0] :
|
|
11494
|
-
this.time = val[1] ? val[1] :
|
|
11495
|
-
|
|
11496
|
-
|
|
11497
|
-
|
|
11498
|
-
|
|
11499
|
-
// if (text && (isDate(text) || isDate('2021/10/08 ' + text))) {
|
|
11500
|
-
// if ((style.includes('yyyy') || style.includes('MM')) && (style.includes('HH') || style.includes('mm'))) {
|
|
11501
|
-
// this.date = text.split(' ')[0];
|
|
11502
|
-
// this.time = text;
|
|
11503
|
-
// } else {
|
|
11504
|
-
// if (style.includes('yyyy') || style.includes('MM')) {
|
|
11505
|
-
// this.date = text;
|
|
11506
|
-
// }
|
|
11507
|
-
// if (style.includes('HH') || style.includes('mm')) {
|
|
11508
|
-
// this.time = dateFormat(new Date(), 'yyyy/MM/dd ') + text;
|
|
11509
|
-
// }
|
|
11510
|
-
// }
|
|
11511
|
-
// } else {
|
|
11512
|
-
// this.date = dateFormat(new Date(), 'yyyy/MM/dd');
|
|
11513
|
-
// if (this.timeStyle) this.time = dateFormat(new Date(), 'yyyy/MM/dd ' + this.timeStyle);
|
|
11514
|
-
// }
|
|
11481
|
+
this.date = val[0] ? val[0] : '';
|
|
11482
|
+
this.time = val[1] ? val[1] : '';
|
|
11483
|
+
if (this.date === currentPoperNode.name) {
|
|
11484
|
+
this.date = '';
|
|
11485
|
+
}
|
|
11515
11486
|
}
|
|
11516
|
-
// this.date = this.date?.replace(/[^\d]/g, '/');
|
|
11517
|
-
|
|
11518
11487
|
var height = 90;
|
|
11519
|
-
// if (currentPoperNode.controlStyle.includes('yyyy') || currentPoperNode.controlStyle.includes('MM')) height = 300;
|
|
11520
|
-
// if (currentPoperNode.controlStyle.includes('HH') || currentPoperNode.controlStyle.includes('mm')) height = 90;
|
|
11521
|
-
// if (
|
|
11522
|
-
// (currentPoperNode.controlStyle.includes('yyyy') || currentPoperNode.controlStyle.includes('MM')) &&
|
|
11523
|
-
// (currentPoperNode.controlStyle.includes('HH') || currentPoperNode.controlStyle.includes('mm'))
|
|
11524
|
-
// )
|
|
11525
|
-
// height = 350;
|
|
11526
11488
|
this.posStyle = this.computedPoperPosition(height, this.poperPos);
|
|
11527
11489
|
} else {
|
|
11528
11490
|
var _this$poperSelectList;
|
|
@@ -11568,13 +11530,9 @@ var type = __webpack_require__(41542);
|
|
|
11568
11530
|
name: 'preventOverflow',
|
|
11569
11531
|
options: {
|
|
11570
11532
|
padding: 8
|
|
11571
|
-
// mainAxis: false, // true by default
|
|
11572
|
-
// altAxis: true, // false by default
|
|
11573
|
-
// padding: { left: selectCanvasSize.left, right: selectCanvasSize.right, top: selectCanvasSize.top, bottom: selectCanvasSize.bottom },
|
|
11574
11533
|
}
|
|
11575
11534
|
}]
|
|
11576
11535
|
});
|
|
11577
|
-
|
|
11578
11536
|
setTimeout(function () {
|
|
11579
11537
|
if (_this2.poppernIstance) {
|
|
11580
11538
|
_this2.poppernIstance.update();
|
|
@@ -11660,26 +11618,7 @@ var type = __webpack_require__(41542);
|
|
|
11660
11618
|
});
|
|
11661
11619
|
},
|
|
11662
11620
|
sureDate: function sureDate() {
|
|
11663
|
-
// let value = '';
|
|
11664
|
-
// if (this.date) {
|
|
11665
|
-
// value = this.date;
|
|
11666
|
-
// if (this.time) {
|
|
11667
|
-
// const time = this.time
|
|
11668
|
-
// .replace(/年|月|-/g, '/')
|
|
11669
|
-
// .replace(/时|分/g, ':')
|
|
11670
|
-
// .replace(/秒/g, '');
|
|
11671
|
-
// if (time.includes('/')) {
|
|
11672
|
-
// value += ' ' + time.split(' ')[1];
|
|
11673
|
-
// } else {
|
|
11674
|
-
// value += ' ' + time;
|
|
11675
|
-
// }
|
|
11676
|
-
// }
|
|
11677
|
-
// } else {
|
|
11678
|
-
// value = '2021/10/08 ' + this.time.replace(/[^\d]/g, ':').substr(0, 8);
|
|
11679
|
-
// }
|
|
11680
11621
|
var node = this.getCurrentPoperNode();
|
|
11681
|
-
// value = this.dateFormat(value, node.controlStyle);
|
|
11682
|
-
|
|
11683
11622
|
var value = '';
|
|
11684
11623
|
if (node.controlStyle.includes('mm') && node.controlStyle.includes(' ')) {
|
|
11685
11624
|
value = this.date + ' ' + this.time;
|
|
@@ -11981,10 +11920,10 @@ var type = __webpack_require__(41542);
|
|
|
11981
11920
|
});
|
|
11982
11921
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
|
|
11983
11922
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
|
|
11984
|
-
;// 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/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
11923
|
+
;// 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/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=c70794f6&prod&lang=scss&
|
|
11985
11924
|
// extracted by mini-css-extract-plugin
|
|
11986
11925
|
|
|
11987
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
11926
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=c70794f6&prod&lang=scss&
|
|
11988
11927
|
|
|
11989
11928
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
11990
11929
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -15275,7 +15214,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
15275
15214
|
|
|
15276
15215
|
/***/ }),
|
|
15277
15216
|
|
|
15278
|
-
/***/
|
|
15217
|
+
/***/ 14776:
|
|
15279
15218
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
15280
15219
|
|
|
15281
15220
|
"use strict";
|
|
@@ -15295,7 +15234,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
15295
15234
|
var es_regexp_exec = __webpack_require__(74916);
|
|
15296
15235
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
15297
15236
|
var es_string_replace = __webpack_require__(15306);
|
|
15298
|
-
;// 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/TableCellPoper.vue?vue&type=template&id=
|
|
15237
|
+
;// 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/TableCellPoper.vue?vue&type=template&id=08459377&
|
|
15299
15238
|
|
|
15300
15239
|
|
|
15301
15240
|
|
|
@@ -15432,8 +15371,8 @@ var render = function render() {
|
|
|
15432
15371
|
"open": true,
|
|
15433
15372
|
"locale": _vm.locale,
|
|
15434
15373
|
"showToday": false,
|
|
15435
|
-
"format": _vm.inputStyle.replace(/dd/g, 'DD'),
|
|
15436
|
-
"valueFormat": _vm.inputStyle.replace(/dd/g, 'DD')
|
|
15374
|
+
"format": _vm.inputStyle.replace(/dd/g, 'DD').split(' ')[0],
|
|
15375
|
+
"valueFormat": _vm.inputStyle.replace(/dd/g, 'DD').split(' ')[0]
|
|
15437
15376
|
},
|
|
15438
15377
|
scopedSlots: _vm._u([{
|
|
15439
15378
|
key: "dateRender",
|
|
@@ -15559,10 +15498,12 @@ var render = function render() {
|
|
|
15559
15498
|
};
|
|
15560
15499
|
var staticRenderFns = [];
|
|
15561
15500
|
|
|
15562
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=
|
|
15501
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=08459377&
|
|
15563
15502
|
|
|
15564
15503
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
15565
15504
|
var toConsumableArray = __webpack_require__(61748);
|
|
15505
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
15506
|
+
var es_function_name = __webpack_require__(68309);
|
|
15566
15507
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
15567
15508
|
var es_object_to_string = __webpack_require__(41539);
|
|
15568
15509
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
|
@@ -15605,6 +15546,7 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
15605
15546
|
|
|
15606
15547
|
|
|
15607
15548
|
|
|
15549
|
+
|
|
15608
15550
|
/* harmony default export */ var TableCellPopervue_type_script_lang_js_ = ({
|
|
15609
15551
|
name: 'TableCellPoper',
|
|
15610
15552
|
mixins: [appendToBody/* default */.Z],
|
|
@@ -15728,8 +15670,11 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
15728
15670
|
text = this.dateFormat(new Date(), this.inputStyle);
|
|
15729
15671
|
}
|
|
15730
15672
|
var val = text.split(' ');
|
|
15731
|
-
this.date = val[0] ? val[0] :
|
|
15732
|
-
this.time = val[1] ? val[1] :
|
|
15673
|
+
this.date = val[0] ? val[0] : '';
|
|
15674
|
+
this.time = val[1] ? val[1] : '';
|
|
15675
|
+
if (this.date === currentPoperNode.name) {
|
|
15676
|
+
this.date = '';
|
|
15677
|
+
}
|
|
15733
15678
|
// if ((this.inputStyle.includes('yyyy') || this.inputStyle.includes('MM')) && this.inputStyle.includes('HH')) {
|
|
15734
15679
|
// this.dateStyle = this.inputStyle.split(' ')[0] ? this.inputStyle.split(' ')[0] : 'yyyy/MM/dd';
|
|
15735
15680
|
// this.timeStyle = this.inputStyle.split(' ')[1] ? this.inputStyle.split(' ')[1] : 'HH:mm:ss';
|
|
@@ -15929,10 +15874,10 @@ var HOEditorFactorys = __webpack_require__(74089);
|
|
|
15929
15874
|
});
|
|
15930
15875
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=script&lang=js&
|
|
15931
15876
|
/* harmony default export */ var table_TableCellPopervue_type_script_lang_js_ = (TableCellPopervue_type_script_lang_js_);
|
|
15932
|
-
;// 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/TableCellPoper.vue?vue&type=style&index=0&id=
|
|
15877
|
+
;// 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/TableCellPoper.vue?vue&type=style&index=0&id=08459377&prod&lang=scss&
|
|
15933
15878
|
// extracted by mini-css-extract-plugin
|
|
15934
15879
|
|
|
15935
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=
|
|
15880
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=08459377&prod&lang=scss&
|
|
15936
15881
|
|
|
15937
15882
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
15938
15883
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -186814,7 +186759,7 @@ var map = {
|
|
|
186814
186759
|
"./pageInfoes/PageInfoes.vue": 17481,
|
|
186815
186760
|
"./paragraph/ParagraphDialog.vue": 54949,
|
|
186816
186761
|
"./poperSelect/PoperMark.vue": 71472,
|
|
186817
|
-
"./poperSelect/PoperSelect.vue":
|
|
186762
|
+
"./poperSelect/PoperSelect.vue": 64497,
|
|
186818
186763
|
"./poperTipText/PoperTipText.vue": 15845,
|
|
186819
186764
|
"./popers/Poper.vue": 57937,
|
|
186820
186765
|
"./popers/Title.vue": 89987,
|
|
@@ -186823,7 +186768,7 @@ var map = {
|
|
|
186823
186768
|
"./radioCheckBox/RadioCheckbox.vue": 18971,
|
|
186824
186769
|
"./selectDialog/SelectDialog.vue": 26679,
|
|
186825
186770
|
"./sign/Sign.vue": 99163,
|
|
186826
|
-
"./table/TableCellPoper.vue":
|
|
186771
|
+
"./table/TableCellPoper.vue": 14776,
|
|
186827
186772
|
"./table/TableCellProperty.vue": 71176,
|
|
186828
186773
|
"./table/TableColProperty.vue": 2116,
|
|
186829
186774
|
"./table/TableForm.vue": 19064,
|
|
@@ -224998,7 +224943,7 @@ var DrawPage = __webpack_require__(72722);
|
|
|
224998
224943
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
224999
224944
|
var plugins_util = __webpack_require__(62783);
|
|
225000
224945
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
225001
|
-
var PoperSelect = __webpack_require__(
|
|
224946
|
+
var PoperSelect = __webpack_require__(64497);
|
|
225002
224947
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
225003
224948
|
var PoperMark = __webpack_require__(71472);
|
|
225004
224949
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
@@ -225006,7 +224951,7 @@ var PoperMark = __webpack_require__(71472);
|
|
|
225006
224951
|
|
|
225007
224952
|
|
|
225008
224953
|
// EXTERNAL MODULE: ./src/components/controls/table/TableCellPoper.vue + 6 modules
|
|
225009
|
-
var TableCellPoper = __webpack_require__(
|
|
224954
|
+
var TableCellPoper = __webpack_require__(14776);
|
|
225010
224955
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/DateTimeNode.ts
|
|
225011
224956
|
var DateTimeNode = __webpack_require__(92501);
|
|
225012
224957
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/DownListNode.ts
|
|
@@ -226693,7 +226638,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
226693
226638
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
226694
226639
|
var ParagraphNode = __webpack_require__(67945);
|
|
226695
226640
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
226696
|
-
/* harmony default export */ var version = ('3.0.
|
|
226641
|
+
/* harmony default export */ var version = ('3.0.2');
|
|
226697
226642
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
226698
226643
|
var PoperTipText = __webpack_require__(15845);
|
|
226699
226644
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -232216,6 +232161,7 @@ var NodePosition = __webpack_require__(42921);
|
|
|
232216
232161
|
|
|
232217
232162
|
|
|
232218
232163
|
|
|
232164
|
+
|
|
232219
232165
|
|
|
232220
232166
|
// import { HTMLConverter2 } from "./HTMLConverter";
|
|
232221
232167
|
|
|
@@ -232589,10 +232535,13 @@ var StructureNode = /*#__PURE__*/function () {
|
|
|
232589
232535
|
this._html = this._Convertor.toTHML();
|
|
232590
232536
|
this._text = this._Convertor.toText();
|
|
232591
232537
|
if (clipboard) {
|
|
232538
|
+
var patientID = hoEditorFactory.docTree.docProperty.patientID;
|
|
232592
232539
|
if (this._json != "") {
|
|
232593
|
-
var patientID = hoEditorFactory.docTree.docProperty.patientID;
|
|
232594
232540
|
this._json = patientID + ":" + this._json;
|
|
232595
232541
|
}
|
|
232542
|
+
if (this._html !== "") {
|
|
232543
|
+
this._html = this._html.replace('<!--StartFragment-->', "<!--StartFragment--><!--:".concat(patientID, "-->"));
|
|
232544
|
+
}
|
|
232596
232545
|
clipboard.setData(ClipboardType.ctJSON, this._json);
|
|
232597
232546
|
clipboard.setData(ClipboardType.ctHTML, this._html);
|
|
232598
232547
|
clipboard.setData(ClipboardType.ctText, this._text);
|
|
@@ -239932,6 +239881,11 @@ var DomController = /*#__PURE__*/function () {
|
|
|
239932
239881
|
|
|
239933
239882
|
|
|
239934
239883
|
|
|
239884
|
+
|
|
239885
|
+
|
|
239886
|
+
|
|
239887
|
+
|
|
239888
|
+
|
|
239935
239889
|
|
|
239936
239890
|
|
|
239937
239891
|
|
|
@@ -240240,14 +240194,23 @@ var EditController = /*#__PURE__*/function () {
|
|
|
240240
240194
|
return;
|
|
240241
240195
|
}
|
|
240242
240196
|
var nodes;
|
|
240243
|
-
if (!jsonData) {
|
|
240197
|
+
if (!jsonData || !htmlData) {
|
|
240244
240198
|
if (hoeditorfactory.notAllowCrossPatiPaste && hoeditorfactory.drawTree.paintStatus !== DrawTree/* PaintState.psDesign */.Dh.psDesign) {
|
|
240245
240199
|
message/* default.warn */.Z.warn("不能将他人病历内容复制粘贴到该患者病历中");
|
|
240246
240200
|
return;
|
|
240247
240201
|
}
|
|
240248
240202
|
}
|
|
240203
|
+
var patientID = '';
|
|
240204
|
+
if (jsonData) {
|
|
240205
|
+
patientID = jsonData.split(":")[0];
|
|
240206
|
+
} else if (htmlData) {
|
|
240207
|
+
var reg = new RegExp('<!--:' + '(.*?)' + '-->');
|
|
240208
|
+
var htmls = htmlData.match(reg);
|
|
240209
|
+
if (htmls) {
|
|
240210
|
+
patientID = htmlData.match(reg)[1];
|
|
240211
|
+
}
|
|
240212
|
+
}
|
|
240249
240213
|
if (jsonData) {
|
|
240250
|
-
var patientID = jsonData.split(":")[0];
|
|
240251
240214
|
var index = jsonData.indexOf(":");
|
|
240252
240215
|
jsonData = jsonData.substring(index + 1, jsonData.length);
|
|
240253
240216
|
if (hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
|