提交 bbae8c5f 编写于 作者: zhf's avatar zhf

feat: 更新插件

上级 550a8510
var q = Object.defineProperty;
var _ = (s, n, e) => n in s ? q(s, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[n] = e;
var w = (s, n, e) => (_(s, typeof n != "symbol" ? n + "" : n, e), e);
var P = (s, n, e) => (_(s, typeof n != "symbol" ? n + "" : n, e), e);
import { ListPortletController as y, AppMenuPortletController as A } from "@ibiz-template/controller";
import { ListPortletModel as F, AppMenuPortletModel as $ } from "@ibiz-template/model";
import { useNamespace as D, useListController as T } from "@ibiz-template/vue-util";
......@@ -68,7 +68,7 @@ const d = new U(import.meta.url), G = k({
});
class J {
constructor() {
w(this, "component", G);
P(this, "component", G);
}
async createController(n, e, p) {
const l = new y(
......@@ -94,8 +94,8 @@ const M = k({
setup(s, {
emit: n
}) {
var S;
const e = D("func-drawer"), p = d.dir("/assets/img/placeholder.svg"), l = "未分类", h = f([]), c = f([]), i = f(!1), m = (S = L()) == null ? void 0 : S.proxy, b = () => {
var I;
const e = D("func-drawer"), p = d.dir("/assets/img/placeholder.svg"), l = "未分类", h = f([]), c = f([]), i = f(!1), m = (I = L()) == null ? void 0 : I.proxy, b = () => {
ibiz.net.post("/appfuncs/fetchpersonfuncsetting", {
page: 0,
size: 1e3,
......@@ -147,20 +147,23 @@ const M = k({
if (a.preventDefault(), i.value && a.dataTransfer) {
const o = Number(a.dataTransfer.getData("originIndex"));
if (o !== r) {
const u = c.value[o], P = c.value[r];
c.value.splice(o, 1, P), c.value.splice(r, 1, u);
const u = c.value[o], w = c.value[r];
c.value.splice(o, 1, w), c.value.splice(r, 1, u);
}
}
}, I = (a, r, o, u) => {
}, S = (a, r, o, u) => {
if (a.stopPropagation(), r.ispersonal = +!r.ispersonal, u === "remove")
c.value.splice(o, 1);
else if (u === "change") {
const P = c.value.findIndex((O) => O.pssysappfuncid === r.pssysappfuncid);
P === -1 ? c.value.push(r) : c.value.splice(P, 1);
const w = c.value.findIndex((O) => O.pssysappfuncid === r.pssysappfuncid);
w === -1 ? c.value.push(r) : c.value.splice(w, 1);
}
};
return () => t("div", {
class: [e.b(), s.isShowDrawer ? e.m("show") : ""]
class: [e.b(), s.isShowDrawer ? e.m("show") : ""],
style: {
marginTop: s.isShowDrawer ? "0" : "-100vh"
}
}, [t("div", {
class: e.b("content")
}, [t("div", {
......@@ -196,7 +199,7 @@ const M = k({
}, [t("div", {
class: [e.be("group-item", "checkbox"), e.bem("group-item", "checkbox", "remove"), i.value ? e.bem("group-item", "checkbox", "show") : ""],
on: {
click: (o) => I(o, a, r, "remove")
click: (o) => S(o, a, r, "remove")
}
}, [t("i-icon", {
attrs: {
......@@ -233,7 +236,7 @@ const M = k({
}, [t("div", {
class: [e.be("group-item", "checkbox"), o.ispersonal ? e.bem("group-item", "checkbox", "selected") : "", i.value ? e.bem("group-item", "checkbox", "show") : ""],
on: {
click: (u) => I(u, o, r, "change")
click: (u) => S(u, o, r, "change")
}
}, [o.ispersonal ? t("i-icon", {
attrs: {
......@@ -368,7 +371,7 @@ const M = k({
});
class K {
constructor() {
w(this, "component", H);
P(this, "component", H);
}
async createController(n, e, p) {
const l = new y(
......@@ -454,7 +457,7 @@ const Q = k({
});
class V {
constructor() {
w(this, "component", Q);
P(this, "component", Q);
}
async createController(n, e, p) {
const l = new A(
......
!function(){function t(e){return t="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},t(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function n(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t,e,r){return(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(e){var r=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==t(r)?r:r+""}function a(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return r};var e,r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(e){p=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),s=new _(n||[]);return i(a,"_invoke",{value:O(t,r,s)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var h="suspendedStart",v="suspendedYield",m="executing",g="completed",y={};function b(){}function w(){}function x(){}var k={};p(k,c,(function(){return this}));var L=Object.getPrototypeOf,P=L&&L(L(j([])));P&&P!==n&&o.call(P,c)&&(k=P);var S=x.prototype=b.prototype=Object.create(k);function E(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function D(e,r){function n(i,a,s,c){var u=d(e[i],e,a);if("throw"!==u.type){var l=u.arg,p=l.value;return p&&"object"==t(p)&&o.call(p,"__await")?r.resolve(p.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):r.resolve(p).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,c)}))}c(u.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return a=a?a.then(o,o):o()}})}function O(t,r,n){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=T(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var u=d(t,r,n);if("normal"===u.type){if(o=n.done?g:v,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function T(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,T(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function j(r){if(r||""===r){var n=r[c];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var i=-1,a=function t(){for(;++i<r.length;)if(o.call(r,i))return t.value=r[i],t.done=!1,t;return t.value=e,t.done=!0,t};return a.next=a}}throw new TypeError(t(r)+" is not iterable")}return w.prototype=x,i(S,"constructor",{value:x,configurable:!0}),i(x,"constructor",{value:w,configurable:!0}),w.displayName=p(x,l,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,p(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},r.awrap=function(t){return{__await:t}},E(D.prototype),p(D.prototype,u,(function(){return this})),r.AsyncIterator=D,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new D(f(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(S),p(S,l,"Generator"),p(S,c,(function(){return this})),p(S,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=j,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},r}function s(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function c(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}System.register(["@ibiz-template/controller","@ibiz-template/model","@ibiz-template/vue-util","vue","@ibiz-template/runtime","@ibiz-template/service"],(function(t,r){"use strict";var i,s,u,l,p,f,d,h,v,m,g,y,b,w,x,k;return{setters:[function(t){i=t.ListPortletController,s=t.AppMenuPortletController},function(t){u=t.ListPortletModel,l=t.AppMenuPortletModel},function(t){p=t.useNamespace,f=t.useListController},function(t){d=t.defineComponent,h=t.ref,v=t.getCurrentInstance,m=t.onMounted,g=t.h,y=t.watch,b=t.onUnmounted},function(t){w=t.PluginStaticResource,x=t.AppFuncCommand},function(t){k=t.CounterService}],execute:function(){var L=new w(r.meta.url),P=d({name:"AppPortalListPortlet",props:{modelData:{type:u,required:!0},controller:{type:i,required:!0}},setup:function(t){var e=p("app-portal-list-portlet"),r=h([]),n=Array.from({length:4}).map((function(t,e){return L.dir("/assets/img/app-portal-list-".concat(e,".svg"))})),o=v();if(o&&t.modelData.list){var i=f(o.proxy,t.modelData.list,t.controller.context);m((function(){i.nerve.self.evt.on("mounted",c(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.load();case 2:e=t.sent,r.value=e.slice(0,4);case 4:case"end":return t.stop()}}),t)}))))}))}return{ns:e,appPortalList:r,appPortalImgList:n,openPage:function(t){t&&window.open(t)}}},render:function(){var t=this;return g("div",{class:this.ns.b()},[this.appPortalList.map((function(e,r){return g("div",{class:[t.ns.b("item"),e.url?"":t.ns.bm("item","disabled")],key:e.srfkey,on:{click:function(){return t.openPage(e.url)}}},[g("i-tooltip",{attrs:{content:e.tip,disabled:!e.tip}},[g("div",{class:t.ns.be("item","text")},[e.srfmajortext])]),g("div",{class:t.ns.be("item","icon")},[g("img",{attrs:{src:t.appPortalImgList[r]}})])])}))])}}),S=function(){return n((function t(){e(this,t),o(this,"component",P)}),[{key:"createController",value:(t=c(a().mark((function t(e,r,n){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new i(e,r,n),t.next=3,o.init();case 3:return t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)}))),function(e,r,n){return t.apply(this,arguments)})}]);var t}(),E=d({name:"FuncDrawer",props:{isShowDrawer:{type:Boolean,required:!0,default:!1}},emits:{"on-close":function(){return!0}},setup:function(t,e){var r,n=e.emit,o=p("func-drawer"),i=L.dir("/assets/img/placeholder.svg"),a="未分类",s=h([]),c=h([]),u=h(!1),l=null===(r=v())||void 0===r?void 0:r.proxy,f=function(){ibiz.net.post("/appfuncs/fetchpersonfuncsetting",{page:0,size:1e3,sort:"showorder,asc"}).then((function(t){if(t.ok&&t.data&&t.data.length){var e={};c.value=t.data.filter((function(t){if(t.ispersonal||(t.ispersonal=0),t.pssystemappid){var r=t.pssystemappname;e[r]?e[r].push(t):e[r]=[t]}else e[a]?e[a].push(t):e[a]=[t];return t.ispersonal})),s.value=Object.keys(e).map((function(t){return{name:t,items:e[t]}}))}}))},d=function(){u.value&&(c.value.forEach((function(t,e){t.showorder=e})),ibiz.net.post("/appfuncs/setfuncsetting",{setting:JSON.stringify({list:c.value})}).then((function(t){t.ok&&(null==l||l.$Notice.success({title:"成功",desc:"保存成功"}),f())}))),u.value=!u.value};y((function(){return t.isShowDrawer}),(function(t){t&&f()}));var m=function(t){t&&ibiz.net.get("/appfuncs/".concat(t,"/getfuncurl")).then((function(t){t.ok&&t.data&&t.data.url&&window.open(t.data.url)}))},b=function(t){t.preventDefault()},w=function(t,e,r,n){if(t.stopPropagation(),e.ispersonal=Number(!e.ispersonal),"remove"===n)c.value.splice(r,1);else if("change"===n){var o=c.value.findIndex((function(t){return t.pssysappfuncid===e.pssysappfuncid}));-1===o?c.value.push(e):c.value.splice(o,1)}};return function(){return g("div",{class:[o.b(),t.isShowDrawer?o.m("show"):""]},[g("div",{class:o.b("content")},[g("div",{class:o.b("group")},[g("header",{class:o.b("group-header")},[g("div",{class:o.b("group-header-left")},["常用应用"]),g("div",{class:o.b("group-header-right")},[g("i-button",{on:{click:d}},[u.value?"保存":"配置"]),g("i-button",{on:{click:function(){return n("on-close")}}},["返回"])])]),g("main",{class:o.b("group-content")},[c.value.map((function(t,e){return g("div",{class:[o.b("group-item"),t.pssysappfuncid?"":o.bm("group-item","disabled")],key:t.pssysappfuncid,on:{click:function(){return m(t.pssysappfuncid)},dragstart:function(t){return function(t,e){var r;u.value&&(null===(r=t.dataTransfer)||void 0===r||r.setData("originIndex",e.toString()))}(t,e)},dragover:b,drop:function(t){return function(t,e){if(t.preventDefault(),u.value&&t.dataTransfer){var r=Number(t.dataTransfer.getData("originIndex"));if(r!==e){var n=c.value[r],o=c.value[e];c.value.splice(r,1,o),c.value.splice(e,1,n)}}}(t,e)}},attrs:{draggable:u.value}},[g("div",{class:[o.be("group-item","checkbox"),o.bem("group-item","checkbox","remove"),u.value?o.bem("group-item","checkbox","show"):""],on:{click:function(r){return w(r,t,e,"remove")}}},[g("i-icon",{attrs:{type:"md-remove",size:16}})]),g("div",{class:o.be("group-item","icon")},[g("img",{attrs:{src:t.icon?L.dir("/assets/img/".concat(t.icon)):i,draggable:!1}})]),g("i-tooltip",{attrs:{content:t.tip,disabled:!t.tip}},[g("div",{class:o.be("group-item","text")},[t.pssysappfuncname])])])}))])]),s.value.map((function(t,e){return g("div",{class:o.b("group"),key:e},[g("header",{class:o.b("group-header")},[t.name]),g("main",{class:o.b("group-content")},[t.items.map((function(t){return g("div",{class:[o.b("group-item"),t.pssysappfuncid?"":o.bm("group-item","disabled")],key:t.pssysappfuncid,on:{click:function(){return m(t.pssysappfuncid)}}},[g("div",{class:[o.be("group-item","checkbox"),t.ispersonal?o.bem("group-item","checkbox","selected"):"",u.value?o.bem("group-item","checkbox","show"):""],on:{click:function(r){return w(r,t,e,"change")}}},[t.ispersonal?g("i-icon",{attrs:{type:"md-checkmark",size:16}}):null]),g("div",{class:o.be("group-item","icon")},[g("img",{attrs:{src:t.icon?L.dir("/assets/img/".concat(t.icon)):i,draggable:!1}})]),g("i-tooltip",{attrs:{content:t.tip,disabled:!t.tip}},[g("div",{class:o.be("group-item","text")},[t.pssysappfuncname])])])}))])])}))])])}}}),D=d({name:"FuncPortalListPortlet",components:{FuncDrawer:E},props:{modelData:{type:u,required:!0},controller:{type:i,required:!0}},setup:function(t){var e=p("func-portal-list-portlet"),r=L.dir("/assets/img/quick-entry.svg"),n=L.dir("/assets/img/editor.svg"),o=L.dir("/assets/img/placeholder.svg"),i=h([]),s=v(),u=null;s&&t.modelData.list&&(u=f(s.proxy,t.modelData.list,t.controller.context),m((function(){var t;null===(t=u)||void 0===t||t.nerve.self.evt.on("mounted",c(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!u){t.next=5;break}return t.next=3,u.load();case 3:e=t.sent,i.value=e;case 5:case"end":return t.stop()}}),t)}))))})));var l=h(!1),d=function(){var t=c(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l.value=!1,!u){t.next=6;break}return t.next=4,u.load();case 4:e=t.sent,i.value=e;case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return{ns:e,quickEntryImg:r,editorImg:n,placeholderImg:o,funcPortalList:i,openPage:function(t){t&&ibiz.net.get("/appfuncs/".concat(t,"/getfuncurl")).then((function(t){t.ok&&t.data&&t.data.url&&window.open(t.data.url)}))},isShowDrawer:l,isShowDrawerChange:d}},render:function(){var t=this;return g("div",{class:this.ns.b()},[g("header",{class:this.ns.b("header")},[g("div",{class:this.ns.b("header-left")},[g("div",{class:this.ns.be("header-left","icon")},[g("img",{attrs:{src:this.quickEntryImg}})]),g("div",{class:this.ns.be("header-left","text")},["快速入口"])]),g("div",{class:this.ns.b("header-right"),on:{click:function(){t.isShowDrawer=!0}}},[g("div",{class:this.ns.be("header-right","icon")},[g("img",{attrs:{src:this.editorImg}})]),g("div",{class:this.ns.be("header-right","text")},["更多"])])]),g("div",{class:this.ns.e("divider")}),g("main",{class:this.ns.b("content")},[this.funcPortalList.map((function(e){return g("div",{class:[t.ns.b("item"),e.pssysappfuncid?"":t.ns.bm("item","disabled")],key:e.pssysappfuncid,on:{click:function(){return t.openPage(e.pssysappfuncid)}}},[g("div",{class:t.ns.be("item","icon")},[g("img",{attrs:{src:e.icon?L.dir("/assets/img/".concat(e.icon)):t.placeholderImg}})]),g("i-tooltip",{attrs:{content:e.tip,disabled:!e.tip}},[g("div",{class:t.ns.be("item","text")},[e.pssysappfuncname])])])}))]),g(E,{attrs:{isShowDrawer:this.isShowDrawer},on:{"on-close":this.isShowDrawerChange}})])}}),O=function(){return n((function t(){e(this,t),o(this,"component",D)}),[{key:"createController",value:(t=c(a().mark((function t(e,r,n){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new i(e,r,n),t.next=3,o.init();case 3:return t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)}))),function(e,r,n){return t.apply(this,arguments)})}]);var t}(),T=d({name:"TodoAppMenuPortlet",props:{modelData:{type:l,required:!0},controller:{type:s,required:!0}},setup:function(t){var e=p("todo-app-menu-portlet"),r=Array.from({length:5}).map((function(t,e){return L.dir("/assets/img/todo-app-menu-".concat(e,".svg"))})),n=null,o=h({});if(t.modelData.appMenu){var i=t.modelData.appMenu.source.getPSAppCounterRef();i&&(m(c(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,k.getCounterByRef(i);case 2:(n=t.sent).onChange((function(t){o.value=t}));case 4:case"end":return t.stop()}}),t)})))),b((function(){var t;null===(t=n)||void 0===t||t.destroy()})))}var s=function(){var e=c(a().mark((function e(r){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=r.source.getPSAppFunc())){e.next=4;break}return e.next=4,ibiz.commands.execute(x.TAG,n,t.controller.context,t.controller.params);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{ns:e,todoImgList:r,counter:n,counterData:o,onClickMenuItem:s}},render:function(){var t,e=this;return g("div",{class:this.ns.b()},[null===(t=this.modelData.appMenu)||void 0===t?void 0:t.items.map((function(t,r){return g("div",{class:[e.ns.b("item"),t.source.getPSAppFunc()?"":e.ns.bm("item","disabled")],key:t.id,on:{click:function(){return e.onClickMenuItem(t)}}},[g("div",{class:e.ns.b("item-left")},[g("div",{class:e.ns.be("item-left","icon")},[g("img",{attrs:{src:e.todoImgList[r]}})])]),g("div",{class:e.ns.b("item-right")},[g("div",{class:e.ns.be("item-right","count")},[g("span",{class:[(e.counterData[t.counterId]||0)>99?e.ns.be("item-right","add"):""]},[(e.counterData[t.counterId]||0)>99?99:e.counterData[t.counterId]||0]),g("span",["件"])]),g("i-tooltip",{attrs:{content:t.source.tooltip,disabled:!t.source.tooltip}},[g("div",{class:e.ns.be("item-right","text")},[t.label])])])])}))])}}),I=function(){return n((function t(){e(this,t),o(this,"component",T)}),[{key:"createController",value:(t=c(a().mark((function t(e,r,n){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new s(e,r,n),t.next=3,o.init();case 3:return t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)}))),function(e,r,n){return t.apply(this,arguments)})}]);var t}();t("default",{mateUrl:r.meta.url,install:function(t){L.loadStyle(["/style.css"]),ibiz.register.portletPart.register("PORTLET_CUSTOM_AppPortalList",new S),ibiz.register.portletPart.register("PORTLET_CUSTOM_FuncPortalList",new O),ibiz.register.portletPart.register("PORTLET_CUSTOM_TodoAppMenu",new I)}})}}}))}();
!function(){function t(e){return t="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},t(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function n(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t,e,r){return(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(e){var r=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==t(r)?r:r+""}function a(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return r};var e,r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(e){p=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),s=new _(n||[]);return i(a,"_invoke",{value:O(t,r,s)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var h="suspendedStart",v="suspendedYield",m="executing",g="completed",y={};function b(){}function w(){}function x(){}var k={};p(k,c,(function(){return this}));var L=Object.getPrototypeOf,P=L&&L(L(j([])));P&&P!==n&&o.call(P,c)&&(k=P);var S=x.prototype=b.prototype=Object.create(k);function E(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function D(e,r){function n(i,a,s,c){var u=d(e[i],e,a);if("throw"!==u.type){var l=u.arg,p=l.value;return p&&"object"==t(p)&&o.call(p,"__await")?r.resolve(p.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):r.resolve(p).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,c)}))}c(u.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return a=a?a.then(o,o):o()}})}function O(t,r,n){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=T(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var u=d(t,r,n);if("normal"===u.type){if(o=n.done?g:v,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function T(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,T(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function j(r){if(r||""===r){var n=r[c];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var i=-1,a=function t(){for(;++i<r.length;)if(o.call(r,i))return t.value=r[i],t.done=!1,t;return t.value=e,t.done=!0,t};return a.next=a}}throw new TypeError(t(r)+" is not iterable")}return w.prototype=x,i(S,"constructor",{value:x,configurable:!0}),i(x,"constructor",{value:w,configurable:!0}),w.displayName=p(x,l,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,p(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},r.awrap=function(t){return{__await:t}},E(D.prototype),p(D.prototype,u,(function(){return this})),r.AsyncIterator=D,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new D(f(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(S),p(S,l,"Generator"),p(S,c,(function(){return this})),p(S,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=j,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},r}function s(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function c(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}System.register(["@ibiz-template/controller","@ibiz-template/model","@ibiz-template/vue-util","vue","@ibiz-template/runtime","@ibiz-template/service"],(function(t,r){"use strict";var i,s,u,l,p,f,d,h,v,m,g,y,b,w,x,k;return{setters:[function(t){i=t.ListPortletController,s=t.AppMenuPortletController},function(t){u=t.ListPortletModel,l=t.AppMenuPortletModel},function(t){p=t.useNamespace,f=t.useListController},function(t){d=t.defineComponent,h=t.ref,v=t.getCurrentInstance,m=t.onMounted,g=t.h,y=t.watch,b=t.onUnmounted},function(t){w=t.PluginStaticResource,x=t.AppFuncCommand},function(t){k=t.CounterService}],execute:function(){var L=new w(r.meta.url),P=d({name:"AppPortalListPortlet",props:{modelData:{type:u,required:!0},controller:{type:i,required:!0}},setup:function(t){var e=p("app-portal-list-portlet"),r=h([]),n=Array.from({length:4}).map((function(t,e){return L.dir("/assets/img/app-portal-list-".concat(e,".svg"))})),o=v();if(o&&t.modelData.list){var i=f(o.proxy,t.modelData.list,t.controller.context);m((function(){i.nerve.self.evt.on("mounted",c(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.load();case 2:e=t.sent,r.value=e.slice(0,4);case 4:case"end":return t.stop()}}),t)}))))}))}return{ns:e,appPortalList:r,appPortalImgList:n,openPage:function(t){t&&window.open(t)}}},render:function(){var t=this;return g("div",{class:this.ns.b()},[this.appPortalList.map((function(e,r){return g("div",{class:[t.ns.b("item"),e.url?"":t.ns.bm("item","disabled")],key:e.srfkey,on:{click:function(){return t.openPage(e.url)}}},[g("i-tooltip",{attrs:{content:e.tip,disabled:!e.tip}},[g("div",{class:t.ns.be("item","text")},[e.srfmajortext])]),g("div",{class:t.ns.be("item","icon")},[g("img",{attrs:{src:t.appPortalImgList[r]}})])])}))])}}),S=function(){return n((function t(){e(this,t),o(this,"component",P)}),[{key:"createController",value:(t=c(a().mark((function t(e,r,n){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new i(e,r,n),t.next=3,o.init();case 3:return t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)}))),function(e,r,n){return t.apply(this,arguments)})}]);var t}(),E=d({name:"FuncDrawer",props:{isShowDrawer:{type:Boolean,required:!0,default:!1}},emits:{"on-close":function(){return!0}},setup:function(t,e){var r,n=e.emit,o=p("func-drawer"),i=L.dir("/assets/img/placeholder.svg"),a="未分类",s=h([]),c=h([]),u=h(!1),l=null===(r=v())||void 0===r?void 0:r.proxy,f=function(){ibiz.net.post("/appfuncs/fetchpersonfuncsetting",{page:0,size:1e3,sort:"showorder,asc"}).then((function(t){if(t.ok&&t.data&&t.data.length){var e={};c.value=t.data.filter((function(t){if(t.ispersonal||(t.ispersonal=0),t.pssystemappid){var r=t.pssystemappname;e[r]?e[r].push(t):e[r]=[t]}else e[a]?e[a].push(t):e[a]=[t];return t.ispersonal})),s.value=Object.keys(e).map((function(t){return{name:t,items:e[t]}}))}}))},d=function(){u.value&&(c.value.forEach((function(t,e){t.showorder=e})),ibiz.net.post("/appfuncs/setfuncsetting",{setting:JSON.stringify({list:c.value})}).then((function(t){t.ok&&(null==l||l.$Notice.success({title:"成功",desc:"保存成功"}),f())}))),u.value=!u.value};y((function(){return t.isShowDrawer}),(function(t){t&&f()}));var m=function(t){t&&ibiz.net.get("/appfuncs/".concat(t,"/getfuncurl")).then((function(t){t.ok&&t.data&&t.data.url&&window.open(t.data.url)}))},b=function(t){t.preventDefault()},w=function(t,e,r,n){if(t.stopPropagation(),e.ispersonal=Number(!e.ispersonal),"remove"===n)c.value.splice(r,1);else if("change"===n){var o=c.value.findIndex((function(t){return t.pssysappfuncid===e.pssysappfuncid}));-1===o?c.value.push(e):c.value.splice(o,1)}};return function(){return g("div",{class:[o.b(),t.isShowDrawer?o.m("show"):""],style:{marginTop:t.isShowDrawer?"0":"-100vh"}},[g("div",{class:o.b("content")},[g("div",{class:o.b("group")},[g("header",{class:o.b("group-header")},[g("div",{class:o.b("group-header-left")},["常用应用"]),g("div",{class:o.b("group-header-right")},[g("i-button",{on:{click:d}},[u.value?"保存":"配置"]),g("i-button",{on:{click:function(){return n("on-close")}}},["返回"])])]),g("main",{class:o.b("group-content")},[c.value.map((function(t,e){return g("div",{class:[o.b("group-item"),t.pssysappfuncid?"":o.bm("group-item","disabled")],key:t.pssysappfuncid,on:{click:function(){return m(t.pssysappfuncid)},dragstart:function(t){return function(t,e){var r;u.value&&(null===(r=t.dataTransfer)||void 0===r||r.setData("originIndex",e.toString()))}(t,e)},dragover:b,drop:function(t){return function(t,e){if(t.preventDefault(),u.value&&t.dataTransfer){var r=Number(t.dataTransfer.getData("originIndex"));if(r!==e){var n=c.value[r],o=c.value[e];c.value.splice(r,1,o),c.value.splice(e,1,n)}}}(t,e)}},attrs:{draggable:u.value}},[g("div",{class:[o.be("group-item","checkbox"),o.bem("group-item","checkbox","remove"),u.value?o.bem("group-item","checkbox","show"):""],on:{click:function(r){return w(r,t,e,"remove")}}},[g("i-icon",{attrs:{type:"md-remove",size:16}})]),g("div",{class:o.be("group-item","icon")},[g("img",{attrs:{src:t.icon?L.dir("/assets/img/".concat(t.icon)):i,draggable:!1}})]),g("i-tooltip",{attrs:{content:t.tip,disabled:!t.tip}},[g("div",{class:o.be("group-item","text")},[t.pssysappfuncname])])])}))])]),s.value.map((function(t,e){return g("div",{class:o.b("group"),key:e},[g("header",{class:o.b("group-header")},[t.name]),g("main",{class:o.b("group-content")},[t.items.map((function(t){return g("div",{class:[o.b("group-item"),t.pssysappfuncid?"":o.bm("group-item","disabled")],key:t.pssysappfuncid,on:{click:function(){return m(t.pssysappfuncid)}}},[g("div",{class:[o.be("group-item","checkbox"),t.ispersonal?o.bem("group-item","checkbox","selected"):"",u.value?o.bem("group-item","checkbox","show"):""],on:{click:function(r){return w(r,t,e,"change")}}},[t.ispersonal?g("i-icon",{attrs:{type:"md-checkmark",size:16}}):null]),g("div",{class:o.be("group-item","icon")},[g("img",{attrs:{src:t.icon?L.dir("/assets/img/".concat(t.icon)):i,draggable:!1}})]),g("i-tooltip",{attrs:{content:t.tip,disabled:!t.tip}},[g("div",{class:o.be("group-item","text")},[t.pssysappfuncname])])])}))])])}))])])}}}),D=d({name:"FuncPortalListPortlet",components:{FuncDrawer:E},props:{modelData:{type:u,required:!0},controller:{type:i,required:!0}},setup:function(t){var e=p("func-portal-list-portlet"),r=L.dir("/assets/img/quick-entry.svg"),n=L.dir("/assets/img/editor.svg"),o=L.dir("/assets/img/placeholder.svg"),i=h([]),s=v(),u=null;s&&t.modelData.list&&(u=f(s.proxy,t.modelData.list,t.controller.context),m((function(){var t;null===(t=u)||void 0===t||t.nerve.self.evt.on("mounted",c(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!u){t.next=5;break}return t.next=3,u.load();case 3:e=t.sent,i.value=e;case 5:case"end":return t.stop()}}),t)}))))})));var l=h(!1),d=function(){var t=c(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l.value=!1,!u){t.next=6;break}return t.next=4,u.load();case 4:e=t.sent,i.value=e;case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return{ns:e,quickEntryImg:r,editorImg:n,placeholderImg:o,funcPortalList:i,openPage:function(t){t&&ibiz.net.get("/appfuncs/".concat(t,"/getfuncurl")).then((function(t){t.ok&&t.data&&t.data.url&&window.open(t.data.url)}))},isShowDrawer:l,isShowDrawerChange:d}},render:function(){var t=this;return g("div",{class:this.ns.b()},[g("header",{class:this.ns.b("header")},[g("div",{class:this.ns.b("header-left")},[g("div",{class:this.ns.be("header-left","icon")},[g("img",{attrs:{src:this.quickEntryImg}})]),g("div",{class:this.ns.be("header-left","text")},["快速入口"])]),g("div",{class:this.ns.b("header-right"),on:{click:function(){t.isShowDrawer=!0}}},[g("div",{class:this.ns.be("header-right","icon")},[g("img",{attrs:{src:this.editorImg}})]),g("div",{class:this.ns.be("header-right","text")},["更多"])])]),g("div",{class:this.ns.e("divider")}),g("main",{class:this.ns.b("content")},[this.funcPortalList.map((function(e){return g("div",{class:[t.ns.b("item"),e.pssysappfuncid?"":t.ns.bm("item","disabled")],key:e.pssysappfuncid,on:{click:function(){return t.openPage(e.pssysappfuncid)}}},[g("div",{class:t.ns.be("item","icon")},[g("img",{attrs:{src:e.icon?L.dir("/assets/img/".concat(e.icon)):t.placeholderImg}})]),g("i-tooltip",{attrs:{content:e.tip,disabled:!e.tip}},[g("div",{class:t.ns.be("item","text")},[e.pssysappfuncname])])])}))]),g(E,{attrs:{isShowDrawer:this.isShowDrawer},on:{"on-close":this.isShowDrawerChange}})])}}),O=function(){return n((function t(){e(this,t),o(this,"component",D)}),[{key:"createController",value:(t=c(a().mark((function t(e,r,n){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new i(e,r,n),t.next=3,o.init();case 3:return t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)}))),function(e,r,n){return t.apply(this,arguments)})}]);var t}(),T=d({name:"TodoAppMenuPortlet",props:{modelData:{type:l,required:!0},controller:{type:s,required:!0}},setup:function(t){var e=p("todo-app-menu-portlet"),r=Array.from({length:5}).map((function(t,e){return L.dir("/assets/img/todo-app-menu-".concat(e,".svg"))})),n=null,o=h({});if(t.modelData.appMenu){var i=t.modelData.appMenu.source.getPSAppCounterRef();i&&(m(c(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,k.getCounterByRef(i);case 2:(n=t.sent).onChange((function(t){o.value=t}));case 4:case"end":return t.stop()}}),t)})))),b((function(){var t;null===(t=n)||void 0===t||t.destroy()})))}var s=function(){var e=c(a().mark((function e(r){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=r.source.getPSAppFunc())){e.next=4;break}return e.next=4,ibiz.commands.execute(x.TAG,n,t.controller.context,t.controller.params);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{ns:e,todoImgList:r,counter:n,counterData:o,onClickMenuItem:s}},render:function(){var t,e=this;return g("div",{class:this.ns.b()},[null===(t=this.modelData.appMenu)||void 0===t?void 0:t.items.map((function(t,r){return g("div",{class:[e.ns.b("item"),t.source.getPSAppFunc()?"":e.ns.bm("item","disabled")],key:t.id,on:{click:function(){return e.onClickMenuItem(t)}}},[g("div",{class:e.ns.b("item-left")},[g("div",{class:e.ns.be("item-left","icon")},[g("img",{attrs:{src:e.todoImgList[r]}})])]),g("div",{class:e.ns.b("item-right")},[g("div",{class:e.ns.be("item-right","count")},[g("span",{class:[(e.counterData[t.counterId]||0)>99?e.ns.be("item-right","add"):""]},[(e.counterData[t.counterId]||0)>99?99:e.counterData[t.counterId]||0]),g("span",["件"])]),g("i-tooltip",{attrs:{content:t.source.tooltip,disabled:!t.source.tooltip}},[g("div",{class:e.ns.be("item-right","text")},[t.label])])])])}))])}}),I=function(){return n((function t(){e(this,t),o(this,"component",T)}),[{key:"createController",value:(t=c(a().mark((function t(e,r,n){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new s(e,r,n),t.next=3,o.init();case 3:return t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)}))),function(e,r,n){return t.apply(this,arguments)})}]);var t}();t("default",{mateUrl:r.meta.url,install:function(t){L.loadStyle(["/style.css"]),ibiz.register.portletPart.register("PORTLET_CUSTOM_AppPortalList",new S),ibiz.register.portletPart.register("PORTLET_CUSTOM_FuncPortalList",new O),ibiz.register.portletPart.register("PORTLET_CUSTOM_TodoAppMenu",new I)}})}}}))}();
@charset "UTF-8";.ibiz-app-portal-list-portlet{display:flex;align-items:center;width:100%;margin-top:16px}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item{display:flex;flex:1 0 0;flex-direction:column;flex-shrink:0;justify-content:space-between;width:340px;height:200px;margin-right:14px;overflow:hidden;cursor:pointer;border-radius:10px}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item--disabled{cursor:not-allowed}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item .ivu-tooltip-arrow{border-bottom-color:#303133}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item .ivu-tooltip-inner{background-color:#303133}.ibiz-app-portal-list-portlet-item__text{flex-shrink:0;margin:36px 0 0 20px;overflow:hidden;font-family:MicrosoftYaHei-Bold,MicrosoftYaHei,sans-serif;font-size:24px;font-weight:700;line-height:31px;color:#fff;text-overflow:ellipsis;white-space:nowrap}.ibiz-app-portal-list-portlet-item__icon{margin:0 0 0 auto}.ibiz-app-portal-list-portlet-item__icon img{display:block;user-select:none}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(1){background:linear-gradient(132deg,#3e33ee 0%,#55bffc 100%)}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(1) .ibiz-app-portal-list-portlet-item__icon{margin:0 8px 8px auto}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(2){background:linear-gradient(137deg,#24c69e 0%,#29d57f 100%)}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(2) .ibiz-app-portal-list-portlet-item__icon img{object-position:0 -8px}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(3){background:linear-gradient(139deg,#ffba61 0%,#fee475 100%)}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(4){background:linear-gradient(139deg,#ff7575 0%,#ffa8a8 100%)}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(4) .ibiz-app-portal-list-portlet-item__icon{margin:0 8px 8px auto}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:last-child{margin-right:0}.ibiz-func-portal-list-portlet{display:flex;flex-direction:column;width:1048px;padding:0 16px;background:#fff;border-radius:10px}.ibiz-func-portal-list-portlet__divider{height:1px;background:#d8d8d8}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;height:57px;padding:0 5px}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-header .ibiz-func-portal-list-portlet-header-left{display:flex;align-items:flex-end}.ibiz-func-portal-list-portlet-header-left__icon{width:19px;height:19px;margin-right:8px}.ibiz-func-portal-list-portlet-header-left__icon img{display:block;max-width:100%}.ibiz-func-portal-list-portlet-header-left__text{font-family:MicrosoftYaHei,sans-serif;font-size:16px;line-height:21px;color:#15233f;letter-spacing:3px}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-header .ibiz-func-portal-list-portlet-header-right{display:flex;align-items:center;cursor:pointer}.ibiz-func-portal-list-portlet-header-right__icon{width:20px;height:20px;margin-right:6px}.ibiz-func-portal-list-portlet-header-right__icon img{display:block;max-width:100%}.ibiz-func-portal-list-portlet-header-right__text{font-family:MicrosoftYaHei,sans-serif;font-size:14px;line-height:19px;color:#2d8cf0}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content{display:flex;flex-wrap:wrap;min-height:138px;padding:24px 5px 7px}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ivu-tooltip-arrow{border-bottom-color:#303133}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ivu-tooltip-inner{background-color:#303133}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ibiz-func-portal-list-portlet-item{display:flex;flex-direction:column;flex-shrink:0;align-items:center;width:96px;margin:0 34px 26px 0;cursor:pointer}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ibiz-func-portal-list-portlet-item--disabled{cursor:not-allowed}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ibiz-func-portal-list-portlet-item:nth-child(8n){margin-right:0}.ibiz-func-portal-list-portlet-item__icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:8px}.ibiz-func-portal-list-portlet-item__icon:hover{background:#ecf5ff}.ibiz-func-portal-list-portlet-item__icon img{display:block;max-width:36px}.ibiz-func-portal-list-portlet-item__text{font-family:MicrosoftYaHei,sans-serif;font-size:12px;line-height:16px;color:#666;text-align:center}.ibiz-func-drawer{position:fixed;top:0;left:0;z-index:999;width:100vw;height:100vh;margin-top:-100vh;overflow:auto;visibility:hidden;background:#f5f5f5;transition:all .5s}.ibiz-func-drawer--show{margin-top:0;visibility:visible}.ibiz-func-drawer::-webkit-scrollbar{width:6px;height:6px;background:transparent}.ibiz-func-drawer::-webkit-scrollbar-thumb{background-color:#c1c1c1;border:0;border-radius:4px;box-shadow:none}.ibiz-func-drawer::-webkit-scrollbar-track{border:0;border-radius:4px;box-shadow:none}.ibiz-func-drawer .ibiz-func-drawer-content{display:flex;flex-direction:column;align-items:center;width:1200px;padding-bottom:60px;margin:0 auto}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group{display:flex;flex-direction:column;width:100%;margin-top:24px}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-header{display:flex;align-items:center;justify-content:space-between;height:20px;padding-left:8px;margin-bottom:14px;font-size:14px;font-weight:600;line-height:28px;color:#333}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-header-right{display:flex;align-items:center}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-header-right .ivu-btn{height:28px;margin-right:12px}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-header-right .ivu-btn:last-child{margin-right:0}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content{display:flex;flex-wrap:wrap;min-height:133px;padding:24px 21px 0;background-color:#fff;border-radius:8px}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content .ivu-tooltip-arrow{border-bottom-color:#303133}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content .ivu-tooltip-inner{background-color:#303133}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content .ibiz-func-drawer-group-item{position:relative;display:flex;flex-direction:column;flex-shrink:0;align-items:center;width:96px;margin:0 34px 24px 0;cursor:pointer}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content .ibiz-func-drawer-group-item--disabled{cursor:not-allowed}.ibiz-func-drawer-group-item__checkbox{position:absolute;top:-5px;right:12px;display:none;align-items:center;justify-content:center;width:20px;height:20px;background-color:#fff;border:1px solid #dcdfe6;border-radius:50%}.ibiz-func-drawer-group-item__checkbox--show{display:flex}.ibiz-func-drawer-group-item__checkbox:hover{border-color:#409eff}.ibiz-func-drawer-group-item__checkbox--remove{color:#fff;background-color:#f44945;border:none}.ibiz-func-drawer-group-item__checkbox--selected{color:#409eff;border-color:#409eff}.ibiz-func-drawer-group-item__icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:12px}.ibiz-func-drawer-group-item__icon:hover{background:#ecf5ff}.ibiz-func-drawer-group-item__icon img{display:block;max-width:36px}.ibiz-func-drawer-group-item__text{font-family:MicrosoftYaHei,sans-serif;font-size:12px;line-height:16px;color:#666;text-align:center}.ibiz-todo-app-menu-portlet{display:flex;align-items:center;width:100%}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item{display:flex;flex-shrink:0;align-items:center;width:200px;height:120px;padding:26px 24px 22px;margin-right:12px;cursor:pointer;background:#fff;border-radius:10px}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item--disabled{cursor:not-allowed}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:last-child{margin-right:0}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item .ivu-tooltip-arrow{border-bottom-color:#303133}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item .ivu-tooltip-inner{background-color:#303133}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item .ibiz-todo-app-menu-portlet-item-left{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:72px;height:100%;margin-right:16px;border-radius:4px}.ibiz-todo-app-menu-portlet-item-left__icon{width:40px;height:40px}.ibiz-todo-app-menu-portlet-item-left__icon img{display:block;max-width:100%}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item .ibiz-todo-app-menu-portlet-item-right{display:flex;flex-direction:column;flex-grow:1;flex-shrink:0;justify-content:space-between;height:100%}.ibiz-todo-app-menu-portlet-item-right__count{flex:1;margin-top:6px;font-family:MicrosoftYaHei,sans-serif;font-size:28px;line-height:37px;color:#ff4d4f;white-space:nowrap}.ibiz-todo-app-menu-portlet-item-right__add{position:relative}.ibiz-todo-app-menu-portlet-item-right__add:after{position:absolute;right:-13px;bottom:-4px;font-size:20px;content:"+"}.ibiz-todo-app-menu-portlet-item-right__count span:nth-child(2){margin-left:12px;font-size:16px;line-height:21px;color:#666}.ibiz-todo-app-menu-portlet-item-right__text{margin:2px 0 6px;font-family:MicrosoftYaHei,sans-serif;font-size:16px;line-height:21px;color:#666;white-space:nowrap}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(1) .ibiz-todo-app-menu-portlet-item-left{background:#fff3f3}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(1) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#ff4d4f}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(2) .ibiz-todo-app-menu-portlet-item-left{background:#f1ffe9}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(2) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#73d13d}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(3) .ibiz-todo-app-menu-portlet-item-left{background:#f6efff}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(3) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#9152de}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(4) .ibiz-todo-app-menu-portlet-item-left{background:#fff3f3}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(4) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#f98b15}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(5) .ibiz-todo-app-menu-portlet-item-left{background:#e9f5ff}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(5) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#40a9ff}.app{width:100vw;height:100vh}.app .ibiz-layout{position:relative;margin:auto;--ibiz-layout-width: 1280px}.ibiz-view--app-portal-view .ibiz-view-layout-content{padding:0;margin-top:0}
@charset "UTF-8";.ibiz-app-portal-list-portlet{display:flex;align-items:center;width:100%;margin-top:16px}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item{display:flex;flex:1 0 0;flex-direction:column;flex-shrink:0;justify-content:space-between;width:340px;height:200px;margin-right:14px;overflow:hidden;cursor:pointer;border-radius:10px}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item--disabled{cursor:not-allowed}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item .ivu-tooltip-arrow{border-bottom-color:#303133}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item .ivu-tooltip-inner{background-color:#303133}.ibiz-app-portal-list-portlet-item__text{flex-shrink:0;margin:36px 0 0 20px;overflow:hidden;font-family:MicrosoftYaHei-Bold,MicrosoftYaHei,sans-serif;font-size:24px;font-weight:700;line-height:31px;color:#fff;text-overflow:ellipsis;white-space:nowrap}.ibiz-app-portal-list-portlet-item__icon{margin:0 0 0 auto}.ibiz-app-portal-list-portlet-item__icon img{display:block;user-select:none}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(1){background:linear-gradient(132deg,#3e33ee 0%,#55bffc 100%)}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(1) .ibiz-app-portal-list-portlet-item__icon{margin:0 8px 8px auto}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(2){background:linear-gradient(137deg,#24c69e 0%,#29d57f 100%)}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(2) .ibiz-app-portal-list-portlet-item__icon img{object-position:0 -8px}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(3){background:linear-gradient(139deg,#ffba61 0%,#fee475 100%)}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(4){background:linear-gradient(139deg,#ff7575 0%,#ffa8a8 100%)}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:nth-child(4) .ibiz-app-portal-list-portlet-item__icon{margin:0 8px 8px auto}.ibiz-app-portal-list-portlet .ibiz-app-portal-list-portlet-item:last-child{margin-right:0}.ibiz-func-portal-list-portlet{display:flex;flex-direction:column;width:1048px;padding:0 16px;background:#fff;border-radius:10px}.ibiz-func-portal-list-portlet__divider{height:1px;background:#d8d8d8}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;height:57px;padding:0 5px}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-header .ibiz-func-portal-list-portlet-header-left{display:flex;align-items:flex-end}.ibiz-func-portal-list-portlet-header-left__icon{width:19px;height:19px;margin-right:8px}.ibiz-func-portal-list-portlet-header-left__icon img{display:block;max-width:100%}.ibiz-func-portal-list-portlet-header-left__text{font-family:MicrosoftYaHei,sans-serif;font-size:16px;line-height:21px;color:#15233f;letter-spacing:3px}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-header .ibiz-func-portal-list-portlet-header-right{display:flex;align-items:center;cursor:pointer}.ibiz-func-portal-list-portlet-header-right__icon{width:20px;height:20px;margin-right:6px}.ibiz-func-portal-list-portlet-header-right__icon img{display:block;max-width:100%}.ibiz-func-portal-list-portlet-header-right__text{font-family:MicrosoftYaHei,sans-serif;font-size:14px;line-height:19px;color:#2d8cf0}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content{display:flex;flex-wrap:wrap;min-height:138px;padding:24px 5px 7px}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ivu-tooltip-arrow{border-bottom-color:#303133}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ivu-tooltip-inner{background-color:#303133}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ibiz-func-portal-list-portlet-item{display:flex;flex-direction:column;flex-shrink:0;align-items:center;width:96px;margin:0 34px 26px 0;cursor:pointer}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ibiz-func-portal-list-portlet-item--disabled{cursor:not-allowed}.ibiz-func-portal-list-portlet .ibiz-func-portal-list-portlet-content .ibiz-func-portal-list-portlet-item:nth-child(8n){margin-right:0}.ibiz-func-portal-list-portlet-item__icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:8px}.ibiz-func-portal-list-portlet-item__icon:hover{background:#ecf5ff}.ibiz-func-portal-list-portlet-item__icon img{display:block;max-width:36px}.ibiz-func-portal-list-portlet-item__text{font-family:MicrosoftYaHei,sans-serif;font-size:12px;line-height:16px;color:#666;text-align:center}.ibiz-func-drawer{position:fixed;top:0;left:0;z-index:999;width:100vw;height:100vh;margin-top:-100vh;overflow:auto;background:#f5f5f5;transition:all .5s}.ibiz-func-drawer--show{margin-top:0}.ibiz-func-drawer::-webkit-scrollbar{width:6px;height:6px;background:transparent}.ibiz-func-drawer::-webkit-scrollbar-thumb{background-color:#c1c1c1;border:0;border-radius:4px;box-shadow:none}.ibiz-func-drawer::-webkit-scrollbar-track{border:0;border-radius:4px;box-shadow:none}.ibiz-func-drawer .ibiz-func-drawer-content{display:flex;flex-direction:column;align-items:center;width:1200px;padding-bottom:60px;margin:0 auto}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group{display:flex;flex-direction:column;width:100%;margin-top:24px}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-header{display:flex;align-items:center;justify-content:space-between;height:20px;padding-left:8px;margin-bottom:14px;font-size:14px;font-weight:600;line-height:28px;color:#333}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-header-right{display:flex;align-items:center}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-header-right .ivu-btn{height:28px;margin-right:12px}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-header-right .ivu-btn:last-child{margin-right:0}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content{display:flex;flex-wrap:wrap;min-height:133px;padding:24px 21px 0;background-color:#fff;border-radius:8px}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content .ivu-tooltip-arrow{border-bottom-color:#303133}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content .ivu-tooltip-inner{background-color:#303133}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content .ibiz-func-drawer-group-item{position:relative;display:flex;flex-direction:column;flex-shrink:0;align-items:center;width:96px;margin:0 34px 24px 0;cursor:pointer}.ibiz-func-drawer .ibiz-func-drawer-content .ibiz-func-drawer-group .ibiz-func-drawer-group-content .ibiz-func-drawer-group-item--disabled{cursor:not-allowed}.ibiz-func-drawer-group-item__checkbox{position:absolute;top:-5px;right:12px;display:none;align-items:center;justify-content:center;width:20px;height:20px;background-color:#fff;border:1px solid #dcdfe6;border-radius:50%}.ibiz-func-drawer-group-item__checkbox--show{display:flex}.ibiz-func-drawer-group-item__checkbox:hover{border-color:#409eff}.ibiz-func-drawer-group-item__checkbox--remove{color:#fff;background-color:#f44945;border:none}.ibiz-func-drawer-group-item__checkbox--selected{color:#409eff;border-color:#409eff}.ibiz-func-drawer-group-item__icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:12px}.ibiz-func-drawer-group-item__icon:hover{background:#ecf5ff}.ibiz-func-drawer-group-item__icon img{display:block;max-width:36px}.ibiz-func-drawer-group-item__text{font-family:MicrosoftYaHei,sans-serif;font-size:12px;line-height:16px;color:#666;text-align:center}.ibiz-todo-app-menu-portlet{display:flex;align-items:center;width:100%}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item{display:flex;flex-shrink:0;align-items:center;width:200px;height:120px;padding:26px 24px 22px;margin-right:12px;cursor:pointer;background:#fff;border-radius:10px}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item--disabled{cursor:not-allowed}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:last-child{margin-right:0}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item .ivu-tooltip-arrow{border-bottom-color:#303133}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item .ivu-tooltip-inner{background-color:#303133}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item .ibiz-todo-app-menu-portlet-item-left{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:72px;height:100%;margin-right:16px;border-radius:4px}.ibiz-todo-app-menu-portlet-item-left__icon{width:40px;height:40px}.ibiz-todo-app-menu-portlet-item-left__icon img{display:block;max-width:100%}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item .ibiz-todo-app-menu-portlet-item-right{display:flex;flex-direction:column;flex-grow:1;flex-shrink:0;justify-content:space-between;height:100%}.ibiz-todo-app-menu-portlet-item-right__count{flex:1;margin-top:6px;font-family:MicrosoftYaHei,sans-serif;font-size:28px;line-height:37px;color:#ff4d4f;white-space:nowrap}.ibiz-todo-app-menu-portlet-item-right__add{position:relative}.ibiz-todo-app-menu-portlet-item-right__add:after{position:absolute;right:-13px;bottom:-4px;font-size:20px;content:"+"}.ibiz-todo-app-menu-portlet-item-right__count span:nth-child(2){margin-left:12px;font-size:16px;line-height:21px;color:#666}.ibiz-todo-app-menu-portlet-item-right__text{margin:2px 0 6px;font-family:MicrosoftYaHei,sans-serif;font-size:16px;line-height:21px;color:#666;white-space:nowrap}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(1) .ibiz-todo-app-menu-portlet-item-left{background:#fff3f3}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(1) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#ff4d4f}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(2) .ibiz-todo-app-menu-portlet-item-left{background:#f1ffe9}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(2) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#73d13d}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(3) .ibiz-todo-app-menu-portlet-item-left{background:#f6efff}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(3) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#9152de}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(4) .ibiz-todo-app-menu-portlet-item-left{background:#fff3f3}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(4) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#f98b15}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(5) .ibiz-todo-app-menu-portlet-item-left{background:#e9f5ff}.ibiz-todo-app-menu-portlet .ibiz-todo-app-menu-portlet-item:nth-child(5) .ibiz-todo-app-menu-portlet-item-right .ibiz-todo-app-menu-portlet-item-right__count{color:#40a9ff}.app{width:100vw;height:100vh}.app .ibiz-layout{position:relative;margin:auto;--ibiz-layout-width: 1280px}.ibiz-view--app-portal-view .ibiz-view-layout-content{padding:0;margin-top:0}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册