This commit is contained in:
kuaifan 2022-02-21 18:49:21 +08:00
parent a99588c766
commit 119f61ef67
15 changed files with 15 additions and 15 deletions

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.9.10",
"version": "0.9.13",
"description": "DooTask is task management system.",
"main": "main.js",
"license": "MIT",

View File

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

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

View File

@ -1,6 +1,6 @@
/*!
* html2canvas 1.3.4 <https://html2canvas.hertzen.com>
* Copyright (c) 2021 Niklas von Hertzen <https://hertzen.com>
* html2canvas 1.4.0 <https://html2canvas.hertzen.com>
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/

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/421.js vendored Normal file
View File

@ -0,0 +1 @@
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[421],{4990:(t,e,a)=>{a.d(e,{Z:()=>r});var n=a(1519),o=a.n(n)()((function(t){return t[1]}));o.push([t.id,".drawio-content[data-v-43f10e5a],.drawio-content .drawio-iframe[data-v-43f10e5a]{height:100%;left:0;position:absolute;top:0;width:100%}.drawio-content .drawio-iframe[data-v-43f10e5a]{background:0 0;border:0;float:none;margin:-1px 0 0;max-width:none;outline:0;padding:0}.drawio-content .drawio-loading[data-v-43f10e5a]{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}",""]);const r=o},39421:(t,e,a)=>{a.r(e),a.d(e,{default:()=>u});var n=a(20629);function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const i={name:"Drawio",props:{value:{type:Object,default:function(){return{}}},readOnly:{type:Boolean,default:!1}},data:function(){return{loadIng:!0,url:null,bakData:""}},created:function(){var t="en";switch(this.getLanguage()){case"CN":case"TC":t="zh"}var e=this.readOnly?1:0,a=this.readOnly?0:1,n=this.themeIsDark?"dark":"kennedy",o="?chrome=".concat(a,"&lightbox=").concat(e,"&ui=").concat(n,"&lang=").concat(t,"&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(o)):this.url=$A.apiUrl("../drawio/webapp/".concat(o))},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 a=null!=arguments[e]?arguments[e]:{};e%2?o(Object(a),!0).forEach((function(e){r(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},(0,n.rn)(["themeIsDark"])),methods:{formatZoom:function(t){return t+"%"},updateContent:function(){this.$refs.myFlow.contentWindow.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}),"*")},handleMessage:function(t){var e=this.$refs.myFlow.contentWindow;if(t.source===e){var a=$A.jsonParse(t.data);switch(a.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":void 0===this.value.xml&&e.postMessage(JSON.stringify({action:"template"}),"*");break;case"autosave":var n={xml:a.xml};this.bakData=$A.jsonStringify(n),this.$emit("input",n);break;case"save":this.$emit("saveData")}}}}};var s=a(93379),c=a.n(s),l=a(4990),d={insert:"head",singleton:!1};c()(l.Z,d);l.Z.locals;const u=(0,a(51900).Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"drawio-content"},[a("iframe",{ref:"myFlow",staticClass:"drawio-iframe",attrs:{src:t.url}}),t._v(" "),t.loadIng?a("div",{staticClass:"drawio-loading"},[a("Loading")],1):t._e()])}),[],!1,null,"43f10e5a",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

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[842],{13509:(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-543194db],.drawio-content .drawio-iframe[data-v-543194db]{height:100%;left:0;position:absolute;top:0;width:100%}.drawio-content .drawio-iframe[data-v-543194db]{background:0 0;border:0;float:none;margin:-1px 0 0;max-width:none;outline:0;padding:0}.drawio-content .drawio-loading[data-v-543194db]{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}",""]);const r=o},29842:(t,e,n)=>{n.r(e),n.d(e,{default:()=>u});var a=n(20629);function o(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 r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const i={name:"Drawio",props:{value:{type:Object,default:function(){return{}}},readOnly:{type:Boolean,default:!1}},data:function(){return{loadIng:!0,url:null,bakData:""}},created:function(){var t="en";switch(this.getLanguage()){case"CN":case"TC":t="zh"}var e=this.readOnly?0:1,n=this.readOnly?1:0,a=this.themeIsDark?"dark":"kennedy";this.url=$A.apiUrl("../drawio/?chrome=".concat(e,"&lightbox=").concat(n,"&ui=").concat(a,"&lang=").concat(t,"&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json"))},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?o(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(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.myFlow.contentWindow.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}),"*")},handleMessage:function(t){var e=$A.originUrl("drawio/"),n=this.$refs.myFlow.contentWindow;if(e.includes(t.origin)){var a=$A.jsonParse(t.data);switch(a.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":void 0===this.value.xml&&n.postMessage(JSON.stringify({action:"template"}),"*");break;case"autosave":var o={xml:a.xml};this.bakData=$A.jsonStringify(o),this.$emit("input",o);break;case"save":this.$emit("saveData")}}}}};var s=n(93379),c=n.n(s),d=n(13509),l={insert:"head",singleton:!1};c()(d.Z,l);d.Z.locals;const u=(0,n(51900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"drawio-content"},[n("iframe",{ref:"myFlow",staticClass:"drawio-iframe",attrs:{src:t.url}}),t._v(" "),t.loadIng?n("div",{staticClass:"drawio-loading"},[n("Loading")],1):t._e()])}),[],!1,null,"543194db",null).exports}}]);

File diff suppressed because one or more lines are too long