@egova/egova-api 1.1.8 → 1.1.9
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/dist/index.common.js +5 -2
- package/dist/index.umd.js +5 -2
- package/dist/index.umd.min.js +1 -1
- package/package.json +97 -97
package/dist/index.common.js
CHANGED
|
@@ -5993,7 +5993,6 @@ var tree_Tree = /** @class */function (_super) {
|
|
|
5993
5993
|
});
|
|
5994
5994
|
};
|
|
5995
5995
|
Tree.prototype.onSuccess = function (res, file) {
|
|
5996
|
-
// debugger
|
|
5997
5996
|
if (res && !res.hasError) {
|
|
5998
5997
|
if (!res.result) {
|
|
5999
5998
|
this.$Message.success("导入成功");
|
|
@@ -6302,6 +6301,9 @@ var css = __webpack_require__("3497");
|
|
|
6302
6301
|
// EXTERNAL MODULE: ./src/views/project-combine/data-model/data-model-doc/index.scss
|
|
6303
6302
|
var data_model_doc = __webpack_require__("9b65");
|
|
6304
6303
|
|
|
6304
|
+
// CONCATENATED MODULE: ./src/views/project-combine/data-model/data-model-doc/markdown-style.ts
|
|
6305
|
+
/* 自定义一个markdown样式,用来导出到pdf和html时使用 */
|
|
6306
|
+
var markdownStyle = '<style>body { font-family: Arial, sans-serif; line-height: 1.6;margin: 20px;color: #333;background-color: #fff;} h1, h2, h3, h4,h5,h6 { font-weight: bold; margin-bottom: 20px; color: #333; border-bottom: 2px solid #ddd; padding-bottom: 10px;} h1 { font-size: 2.5em;} h2 { font-size: 2em; } h3 {font-size: 1.75em;} h4 {font-size: 1.5em;} h5 {font-size: 1.25em;} h6 {font-size: 1em;} p { margin-bottom: 1em;} ul, ol { margin-bottom: 1em; padding-left: 40px;} li {margin-bottom: 0.5em;} a { color: #0366d6; text-decoration: none;} a:hover {text-decoration: underline;} pre, code { background-color: #f0f0f0; padding: 5px; font-family: Consolas, "Courier New", monospace;} pre { padding: 10px; overflow-x: auto;} blockquote { border-left: 4px solid #dfe2e5; padding: 10px 20px; margin: 20px 0; background-color: #f9f9f9; color: #555;} table { width: 100%; border-collapse: collapse; margin-bottom: 20px;} th,td { border: 1px solid #ddd; padding: 8px; text-align: left;} th { background-color: #f3f3f3; font-weight: bold;} tr:nth-child(even) { background-color: #f9f9f9;} img { max-width: 100%; height: auto; display: block; margin: 20px 0;} @media print { body {font-size: 12pt;} table { border: 1px solid black;} th, td {border: 1px solid black; } pre,code { background-color: #f0f0f0;} a { color: black; text-decoration: none;} h1, h2, h3, h4, h5, h6 { color: black; border: none;} }</style>';
|
|
6305
6307
|
// CONCATENATED MODULE: ./src/views/project-combine/data-model/data-model-doc/index.ts
|
|
6306
6308
|
|
|
6307
6309
|
|
|
@@ -6312,6 +6314,7 @@ var data_model_doc = __webpack_require__("9b65");
|
|
|
6312
6314
|
// tslint:disable-next-line:no-submodule-imports
|
|
6313
6315
|
|
|
6314
6316
|
|
|
6317
|
+
|
|
6315
6318
|
var data_model_doc_DataModelDoc = /** @class */function (_super) {
|
|
6316
6319
|
__extends(DataModelDoc, _super);
|
|
6317
6320
|
function DataModelDoc() {
|
|
@@ -6347,7 +6350,7 @@ var data_model_doc_DataModelDoc = /** @class */function (_super) {
|
|
|
6347
6350
|
iframe.contentWindow.print();
|
|
6348
6351
|
};
|
|
6349
6352
|
DataModelDoc.prototype.onChange = function (value, render) {
|
|
6350
|
-
this.render = render;
|
|
6353
|
+
this.render = markdownStyle + render;
|
|
6351
6354
|
};
|
|
6352
6355
|
DataModelDoc.prototype.onMenuClick = function (name) {
|
|
6353
6356
|
if (name === "pdf") {
|
package/dist/index.umd.js
CHANGED
|
@@ -6002,7 +6002,6 @@ var tree_Tree = /** @class */function (_super) {
|
|
|
6002
6002
|
});
|
|
6003
6003
|
};
|
|
6004
6004
|
Tree.prototype.onSuccess = function (res, file) {
|
|
6005
|
-
// debugger
|
|
6006
6005
|
if (res && !res.hasError) {
|
|
6007
6006
|
if (!res.result) {
|
|
6008
6007
|
this.$Message.success("导入成功");
|
|
@@ -6311,6 +6310,9 @@ var css = __webpack_require__("3497");
|
|
|
6311
6310
|
// EXTERNAL MODULE: ./src/views/project-combine/data-model/data-model-doc/index.scss
|
|
6312
6311
|
var data_model_doc = __webpack_require__("9b65");
|
|
6313
6312
|
|
|
6313
|
+
// CONCATENATED MODULE: ./src/views/project-combine/data-model/data-model-doc/markdown-style.ts
|
|
6314
|
+
/* 自定义一个markdown样式,用来导出到pdf和html时使用 */
|
|
6315
|
+
var markdownStyle = '<style>body { font-family: Arial, sans-serif; line-height: 1.6;margin: 20px;color: #333;background-color: #fff;} h1, h2, h3, h4,h5,h6 { font-weight: bold; margin-bottom: 20px; color: #333; border-bottom: 2px solid #ddd; padding-bottom: 10px;} h1 { font-size: 2.5em;} h2 { font-size: 2em; } h3 {font-size: 1.75em;} h4 {font-size: 1.5em;} h5 {font-size: 1.25em;} h6 {font-size: 1em;} p { margin-bottom: 1em;} ul, ol { margin-bottom: 1em; padding-left: 40px;} li {margin-bottom: 0.5em;} a { color: #0366d6; text-decoration: none;} a:hover {text-decoration: underline;} pre, code { background-color: #f0f0f0; padding: 5px; font-family: Consolas, "Courier New", monospace;} pre { padding: 10px; overflow-x: auto;} blockquote { border-left: 4px solid #dfe2e5; padding: 10px 20px; margin: 20px 0; background-color: #f9f9f9; color: #555;} table { width: 100%; border-collapse: collapse; margin-bottom: 20px;} th,td { border: 1px solid #ddd; padding: 8px; text-align: left;} th { background-color: #f3f3f3; font-weight: bold;} tr:nth-child(even) { background-color: #f9f9f9;} img { max-width: 100%; height: auto; display: block; margin: 20px 0;} @media print { body {font-size: 12pt;} table { border: 1px solid black;} th, td {border: 1px solid black; } pre,code { background-color: #f0f0f0;} a { color: black; text-decoration: none;} h1, h2, h3, h4, h5, h6 { color: black; border: none;} }</style>';
|
|
6314
6316
|
// CONCATENATED MODULE: ./src/views/project-combine/data-model/data-model-doc/index.ts
|
|
6315
6317
|
|
|
6316
6318
|
|
|
@@ -6321,6 +6323,7 @@ var data_model_doc = __webpack_require__("9b65");
|
|
|
6321
6323
|
// tslint:disable-next-line:no-submodule-imports
|
|
6322
6324
|
|
|
6323
6325
|
|
|
6326
|
+
|
|
6324
6327
|
var data_model_doc_DataModelDoc = /** @class */function (_super) {
|
|
6325
6328
|
__extends(DataModelDoc, _super);
|
|
6326
6329
|
function DataModelDoc() {
|
|
@@ -6356,7 +6359,7 @@ var data_model_doc_DataModelDoc = /** @class */function (_super) {
|
|
|
6356
6359
|
iframe.contentWindow.print();
|
|
6357
6360
|
};
|
|
6358
6361
|
DataModelDoc.prototype.onChange = function (value, render) {
|
|
6359
|
-
this.render = render;
|
|
6362
|
+
this.render = markdownStyle + render;
|
|
6360
6363
|
};
|
|
6361
6364
|
DataModelDoc.prototype.onMenuClick = function (name) {
|
|
6362
6365
|
if (name === "pdf") {
|