This commit is contained in:
kuaifan 2023-02-22 20:53:02 +08:00
parent db5bcfb683
commit d561d4f902
24 changed files with 32 additions and 25 deletions

View File

@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.
## [0.23.58]
## [0.23.62]
### Bug Fixes
@ -14,6 +14,8 @@ All notable changes to this project will be documented in this file.
- 再次点击消息图标闪动未读对话
- 优化移动端设置
- Office、图表、文本国际化
- 优化ws连接机制
## [0.23.52]

View File

@ -14277,4 +14277,4 @@
"fr": "Contenu non reproductible",
"id": "Yang tidak boleh ditiru"
}
]
]

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.23.58",
"version": "0.23.61",
"description": "DooTask is task management system.",
"scripts": {
"start": "./cmd dev",

2
public/css/app.css vendored

File diff suppressed because one or more lines are too long

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
public/js/build/294.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[66],{99265:(t,e,n)=>{n.d(e,{Z:()=>r});var a=n(1519),o=n.n(a)()((function(t){return t[1]}));o.push([t.id,".drawio-content[data-v-380040ea],.drawio-content .drawio-iframe[data-v-380040ea]{height:100%;left:0;position:absolute;top:0;width:100%}.drawio-content .drawio-iframe[data-v-380040ea]{background:0 0;border:0;float:none;margin:-1px 0 0;max-width:none;outline:0;padding:0}.drawio-content .drawio-loading[data-v-380040ea]{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}",""]);const r=o},41066:(t,e,n)=>{n.r(e),n.d(e,{default:()=>m});var a=n(20629),o=n(62065),r=n(69138);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function c(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,e||"default");if("object"!==i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const l={name:"Drawio",components:{IFrame:o.Z},props:{value:{type:Object,default:function(){return{}}},title:{type:String,default:""},readOnly:{type:Boolean,default:!1}},data:function(){return{loadIng:!0,url:null,bakData:""}},created:function(){var t="en";switch(r.AX){case"CN":case"TC":t="zh"}var e=this.readOnly?1:0,n=this.readOnly?0:1,a=this.themeIsDark?"dark":"kennedy",o=this.title?encodeURIComponent(this.title):"",i="?title=".concat(o,"&chrome=").concat(n,"&lightbox=").concat(e,"&ui=").concat(a,"&lang=").concat(t,"&offline=1&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json");this.$Electron?this.url=$A.originUrl("drawio/webapp/index.html".concat(i)):this.url=$A.apiUrl("../drawio/webapp/".concat(i))},mounted:function(){window.addEventListener("message",this.handleMessage)},beforeDestroy:function(){window.removeEventListener("message",this.handleMessage)},watch:{value:{handler:function(t){this.bakData!=$A.jsonStringify(t)&&(this.bakData=$A.jsonStringify(t),this.updateContent())},deep:!0}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,a.rn)(["themeIsDark"])),methods:{formatZoom:function(t){return t+"%"},updateContent:function(){this.$refs.frame.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}))},onMessage:function(t){switch(t.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":void 0===this.value.xml&&this.$refs.frame.postMessage(JSON.stringify({action:"template"}));break;case"autosave":var e={xml:t.xml};this.bakData=$A.jsonStringify(e),this.$emit("input",e);break;case"save":this.$emit("saveData")}}}};var u=n(93379),d=n.n(u),f=n(99265),p={insert:"head",singleton:!1};d()(f.Z,p);f.Z.locals;const m=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"drawio-content"},[e("IFrame",{ref:"frame",staticClass:"drawio-iframe",attrs:{src:t.url},on:{"on-message":t.onMessage}}),t._v(" "),t.loadIng?e("div",{staticClass:"drawio-loading"},[e("Loading")],1):t._e()],1)}),[],!1,null,"380040ea",null).exports}}]);

1
public/js/build/732.js vendored Normal file
View File

@ -0,0 +1 @@
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[732],{16302:(t,e,n)=>{n.d(e,{Z:()=>a});var o=n(1519),r=n.n(o)()((function(t){return t[1]}));r.push([t.id,".drawio-content[data-v-2c0935bf],.drawio-content .drawio-iframe[data-v-2c0935bf]{height:100%;left:0;position:absolute;top:0;width:100%}.drawio-content .drawio-iframe[data-v-2c0935bf]{background:0 0;border:0;float:none;margin:-1px 0 0;max-width:none;outline:0;padding:0}.drawio-content .drawio-loading[data-v-2c0935bf]{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}",""]);const a=r},92732:(t,e,n)=>{n.r(e),n.d(e,{default:()=>b});var o=n(20629),r=n(62065),a=n(69138);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function c(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const l={name:"Drawio",components:{IFrame:r.Z},props:{value:{type:Object,default:function(){return{}}},title:{type:String,default:""},readOnly:{type:Boolean,default:!1}},data:function(){return{loadIng:!0,url:null,bakData:""}},created:function(){var t=a.AX;if("zh-CHT"===a.AX)t="zh-tw";var e=this.readOnly?1:0,n=this.readOnly?0:1,o=this.themeIsDark?"dark":"kennedy",r=this.title?encodeURIComponent(this.title):"",i="?title=".concat(r,"&chrome=").concat(n,"&lightbox=").concat(e,"&ui=").concat(o,"&lang=").concat(t,"&offline=1&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json");this.$Electron?this.url=$A.originUrl("drawio/webapp/index.html".concat(i)):this.url=$A.apiUrl("../drawio/webapp/".concat(i))},mounted:function(){window.addEventListener("message",this.handleMessage)},beforeDestroy:function(){window.removeEventListener("message",this.handleMessage)},watch:{value:{handler:function(t){this.bakData!=$A.jsonStringify(t)&&(this.bakData=$A.jsonStringify(t),this.updateContent())},deep:!0}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,o.rn)(["themeIsDark"])),methods:{formatZoom:function(t){return t+"%"},updateContent:function(){this.$refs.frame.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}))},onMessage:function(t){switch(t.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":void 0===this.value.xml&&this.$refs.frame.postMessage(JSON.stringify({action:"template"}));break;case"autosave":var e={xml:t.xml};this.bakData=$A.jsonStringify(e),this.$emit("input",e);break;case"save":this.$emit("saveData")}}}};var u=n(93379),f=n.n(u),d=n(16302),p={insert:"head",singleton:!1};f()(d.Z,p);d.Z.locals;const b=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"drawio-content"},[e("IFrame",{ref:"frame",staticClass:"drawio-iframe",attrs:{src:t.url},on:{"on-message":t.onMessage}}),t._v(" "),t.loadIng?e("div",{staticClass:"drawio-loading"},[e("Loading")],1):t._e()],1)}),[],!1,null,"2c0935bf",null).exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
79b59e859721339f
7af107beb7cf8c61

File diff suppressed because one or more lines are too long

View File

@ -781,14 +781,12 @@
"/js/build/13.js": "/js/build/13.js",
"/js/build/158.js": "/js/build/158.js",
"/js/build/158.js.LICENSE.txt": "/js/build/158.js.LICENSE.txt",
"/js/build/192.js": "/js/build/192.js",
"/js/build/192.js.LICENSE.txt": "/js/build/192.js.LICENSE.txt",
"/js/build/203.js": "/js/build/203.js",
"/js/build/203.js.LICENSE.txt": "/js/build/203.js.LICENSE.txt",
"/js/build/228.js": "/js/build/228.js",
"/js/build/27.js": "/js/build/27.js",
"/js/build/283.js": "/js/build/283.js",
"/js/build/283.js.LICENSE.txt": "/js/build/283.js.LICENSE.txt",
"/js/build/294.js": "/js/build/294.js",
"/js/build/298.js": "/js/build/298.js",
"/js/build/313.js": "/js/build/313.js",
"/js/build/330.js": "/js/build/330.js",
@ -812,13 +810,15 @@
"/js/build/506.js.LICENSE.txt": "/js/build/506.js.LICENSE.txt",
"/js/build/575.js": "/js/build/575.js",
"/js/build/596.js": "/js/build/596.js",
"/js/build/66.js": "/js/build/66.js",
"/js/build/724.js": "/js/build/724.js",
"/js/build/725.js": "/js/build/725.js",
"/js/build/73.js": "/js/build/73.js",
"/js/build/732.js": "/js/build/732.js",
"/js/build/747.js": "/js/build/747.js",
"/js/build/781.js": "/js/build/781.js",
"/js/build/791.js": "/js/build/791.js",
"/js/build/820.js": "/js/build/820.js",
"/js/build/820.js.LICENSE.txt": "/js/build/820.js.LICENSE.txt",
"/js/build/823.js": "/js/build/823.js",
"/js/build/826.js": "/js/build/826.js",
"/js/build/826.js.LICENSE.txt": "/js/build/826.js.LICENSE.txt",
@ -856,7 +856,13 @@
"/js/tinymce/icons/default/icons.js": "/js/tinymce/icons/default/icons.js",
"/js/tinymce/icons/default/icons.min.js": "/js/tinymce/icons/default/icons.min.js",
"/js/tinymce/icons/default/index.js": "/js/tinymce/icons/default/index.js",
"/js/tinymce/langs/de.js": "/js/tinymce/langs/de.js",
"/js/tinymce/langs/fr_FR.js": "/js/tinymce/langs/fr_FR.js",
"/js/tinymce/langs/id.js": "/js/tinymce/langs/id.js",
"/js/tinymce/langs/ja.js": "/js/tinymce/langs/ja.js",
"/js/tinymce/langs/ko_KR.js": "/js/tinymce/langs/ko_KR.js",
"/js/tinymce/langs/zh_CN.js": "/js/tinymce/langs/zh_CN.js",
"/js/tinymce/langs/zh_TW.js": "/js/tinymce/langs/zh_TW.js",
"/js/tinymce/plugins/advlist/index.js": "/js/tinymce/plugins/advlist/index.js",
"/js/tinymce/plugins/advlist/plugin.js": "/js/tinymce/plugins/advlist/plugin.js",
"/js/tinymce/plugins/advlist/plugin.min.js": "/js/tinymce/plugins/advlist/plugin.min.js",

View File

@ -64,7 +64,6 @@ export default {
wsListener: {},
wsReadTimeout: null,
wsReadWaitData: {},
wsCallReconnect: 0,
// 会员信息
userInfo: {},

@ -1 +1 @@
Subproject commit 1fc5faf09feb1492cb2c268c36e2335df93da379
Subproject commit 618d4df57c026820cde4887e733a77db588b9054