@enablerr-ui/form 0.2.75 → 0.2.77

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.min.js CHANGED
@@ -1 +1 @@
1
- System.register(["axios","@enablerr-ui/auth","@enablerr-ui/layout","@enablerr-ui/form"],(function(t){"use strict";var e,n,o,a,s;return{setters:[function(t){e=t.default},function(t){n=t.user},function(t){o=t.getGridHelp,a=t.getAttractions},function(t){s=t.TextArea}],execute:function(){function i(){}function r(t,e){for(const n in e)t[n]=e[n];return t}function c(t){return t()}function l(){return Object.create(null)}function u(t){t.forEach(c)}function d(t){return"function"==typeof t}function f(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function p(t,...e){if(null==t)return i;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function h(t){let e;return p(t,(t=>e=t))(),e}function m(t,e,n,o){if(t){const a=g(t,e,n,o);return t[0](a)}}function g(t,e,n,o){return t[1]&&o?r(n.ctx.slice(),t[1](o(e))):n.ctx}function $(t,e,n,o,a,s,i){const r=function(t,e,n,o){if(t[2]&&o){const a=t[2](o(n));if(void 0===e.dirty)return a;if("object"==typeof a){const t=[],n=Math.max(e.dirty.length,a.length);for(let o=0;o<n;o+=1)t[o]=e.dirty[o]|a[o];return t}return e.dirty|a}return e.dirty}(e,o,a,s);if(r){const a=g(e,n,o,i);t.p(a,r)}}function y(t,e){const n={};e=new Set(e);for(const o in t)e.has(o)||"$"===o[0]||(n[o]=t[o]);return n}function w(t,e,n){t.insertBefore(e,n||null)}function v(t){t.parentNode.removeChild(t)}function b(t){return document.createElement(t)}function x(){return t="",document.createTextNode(t);var t}function k(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function _(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}let S;function D(t){S=t}function E(){if(!S)throw new Error("Function called outside component initialization");return S}function T(){const t=E();return(e,n)=>{const o=t.$$.callbacks[e];if(o){const a=function(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}(e,n);o.slice().forEach((e=>{e.call(t,a)}))}}}const j=[],I=[],N=[],C=[],M=Promise.resolve();let L=!1;function A(t){N.push(t)}function F(t){C.push(t)}let P=!1;const O=new Set;function B(){if(!P){P=!0;do{for(let t=0;t<j.length;t+=1){const e=j[t];D(e),V(e.$$)}for(D(null),j.length=0;I.length;)I.pop()();for(let t=0;t<N.length;t+=1){const e=N[t];O.has(e)||(O.add(e),e())}N.length=0}while(j.length);for(;C.length;)C.pop()();L=!1,P=!1,O.clear()}}function V(t){if(null!==t.fragment){t.update(),u(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(A)}}const R=new Set;let q;function U(){q={r:0,c:[],p:q}}function z(){q.r||u(q.c),q=q.p}function H(t,e){t&&t.i&&(R.delete(t),t.i(e))}function W(t,e,n,o){if(t&&t.o){if(R.has(t))return;R.add(t),q&&q.c.push((()=>{R.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}function K(t,e){const n=e.token={};function o(t,o,a,s){if(e.token!==n)return;e.resolved=s;let i=e.ctx;void 0!==a&&(i=i.slice(),i[a]=s);const r=t&&(e.current=t)(i);let c=!1;e.block&&(e.blocks?e.blocks.forEach(((t,n)=>{n!==o&&t&&(U(),W(t,1,1,(()=>{e.blocks[n]===t&&(e.blocks[n]=null)})),z())})):e.block.d(1),r.c(),H(r,1),r.m(e.mount(),e.anchor),c=!0),e.block=r,e.blocks&&(e.blocks[o]=r),c&&B()}if((a=t)&&"object"==typeof a&&"function"==typeof a.then){const n=E();if(t.then((t=>{D(n),o(e.then,1,e.value,t),D(null)}),(t=>{if(D(n),o(e.catch,2,e.error,t),D(null),!e.hasCatch)throw t})),e.current!==e.pending)return o(e.pending,0),!0}else{if(e.current!==e.then)return o(e.then,1,e.value,t),!0;e.resolved=t}var a}function G(t,e,n){const o=e.slice(),{resolved:a}=t;t.current===t.then&&(o[t.value]=a),t.current===t.catch&&(o[t.error]=a),t.block.p(o,n)}function J(t,e,n){const o=t.$$.props[e];void 0!==o&&(t.$$.bound[o]=n,n(t.$$.ctx[o]))}function Q(t){t&&t.c()}function X(t,e,n,o){const{fragment:a,on_mount:s,on_destroy:i,after_update:r}=t.$$;a&&a.m(e,n),o||A((()=>{const e=s.map(c).filter(d);i?i.push(...e):u(e),t.$$.on_mount=[]})),r.forEach(A)}function Y(t,e){const n=t.$$;null!==n.fragment&&(u(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Z(t,e){-1===t.$$.dirty[0]&&(j.push(t),L||(L=!0,M.then(B)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function tt(t,e,n,o,a,s,r=[-1]){const c=S;D(t);const d=t.$$={fragment:null,ctx:null,props:s,update:i,not_equal:a,bound:l(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(c?c.$$.context:e.context||[]),callbacks:l(),dirty:r,skip_bound:!1};let f=!1;if(d.ctx=n?n(t,e.props||{},((e,n,...o)=>{const s=o.length?o[0]:n;return d.ctx&&a(d.ctx[e],d.ctx[e]=s)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](s),f&&Z(t,e)),n})):[],d.update(),f=!0,u(d.before_update),d.fragment=!!o&&o(d.ctx),e.target){if(e.hydrate){const t=function(t){return Array.from(t.childNodes)}(e.target);d.fragment&&d.fragment.l(t),t.forEach(v)}else d.fragment&&d.fragment.c();e.intro&&H(t.$$.fragment),X(t,e.target,e.anchor,e.customElement),B()}D(c)}class et{$destroy(){Y(this,1),this.$destroy=i}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function nt(t){let e,n,o,a,s;const i=t[5].default,r=m(i,t,t[4],null);return{c(){e=b("span"),r&&r.c(),_(e,"class",n="pointer icon flex brd-radius-full brd-with-sm "+t[1]+" svelte-1jng2dw"),_(e,"title",t[0])},m(n,i){w(n,e,i),r&&r.m(e,null),o=!0,a||(s=k(e,"click",t[2]),a=!0)},p(t,[a]){r&&r.p&&(!o||16&a)&&$(r,i,t,t[4],a,null,null),(!o||2&a&&n!==(n="pointer icon flex brd-radius-full brd-with-sm "+t[1]+" svelte-1jng2dw"))&&_(e,"class",n),(!o||1&a)&&_(e,"title",t[0])},i(t){o||(H(r,t),o=!0)},o(t){W(r,t),o=!1},d(t){t&&v(e),r&&r.d(t),a=!1,s()}}}function ot(t,e,n){let{$$slots:o={},$$scope:a}=e,{title:s}=e,{link:i="/"}=e,{color:r}=e;return t.$$set=t=>{"title"in t&&n(0,s=t.title),"link"in t&&n(3,i=t.link),"color"in t&&n(1,r=t.color),"$$scope"in t&&n(4,a=t.$$scope)},[s,r,()=>window.singleSpaNavigate(i),i,a,o]}const at=[];function st(t,e){return{subscribe:it(t,e).subscribe}}function it(t,e=i){let n;const o=[];function a(e){if(f(t,e)&&(t=e,n)){const e=!at.length;for(let e=0;e<o.length;e+=1){const n=o[e];n[1](),at.push(n,t)}if(e){for(let t=0;t<at.length;t+=2)at[t][0](at[t+1]);at.length=0}}}return{set:a,update:function(e){a(e(t))},subscribe:function(s,r=i){const c=[s,r];return o.push(c),1===o.length&&(n=e(a)||i),s(t),()=>{const t=o.indexOf(c);-1!==t&&o.splice(t,1),0===o.length&&(n(),n=null)}}}}function rt(t,e,n){const o=!Array.isArray(t),a=o?[t]:t,s=e.length<2;return st(n,(t=>{let n=!1;const r=[];let c=0,l=i;const f=()=>{if(c)return;l();const n=e(o?r[0]:r,t);s?t(n):l=d(n)?n:i},h=a.map(((t,e)=>p(t,(t=>{r[e]=t,c&=~(1<<e),n&&f()}),(()=>{c|=1<<e}))));return n=!0,f(),function(){u(h),l()}}))}const ct=()=>[{moduleId:"1111",position:"0"},{moduleId:"3333",position:""}],lt=()=>[{id:"Standard",activated:!0,days:["Mo","Tu","We","Th","Fr","Sa","Su"],moduleList:[{moduleId:"1111",position:"0"},{moduleId:"3333",position:""}]}],{loggedIn:ut}=n,dt=(t,e)=>{let n="";return t&&(n+=`/${t}`,e&&(n+=`/${e}`)),n},ft=async(t,e)=>{const n=dt(t,e);return(await axios.get("/api/comm/chat"+n)).data.filter((e=>t?e.event&&e.event._id===t:!e.event)).filter((t=>e?t.task&&t.task._id===e:!t.task))},{loggedIn:pt}=n,ht=async(t,e)=>[],mt=t("notification",it(!1)),gt=t("notifications_local",it([])),$t=t("communication_notification",it(!1)),yt=t("task_notification",it(!1)),wt=t("approval_notification",it(!1)),vt=t("attachment_notification",it(!1)),bt=it(!1),xt=t("settings",it({})),kt=(t("currentRoles",it()),it(Date.now()+1e7)),_t=rt(st(Date.now(),(function(t){const e=setInterval((()=>{t(Date.now())}),6e4);return function(){clearInterval(e)}})),(t=>t>h(kt)));_t.subscribe((t=>{if(t)if((()=>{let t=Et.filter((t=>t._valid>Date.now()));Et=t,gt.set(Et),mt.set(!0)})(),Et.length>0){const t=Et.reduce(((t,e)=>t.__valid<e.__valid?t:e));kt.set(t.__valid)}else kt.set(Date.now()+1e7)}));const St=[{type:"communication",desc:"Kommunikation",obj:$t},{type:"task",desc:"Aufgabe",obj:yt},{type:"approval",desc:"Visum",obj:wt},{type:"attachment",desc:"Dokument",obj:vt},{type:"workflow",desc:"Worfklow",obj:bt}],Dt=(t,e=!1)=>{const n=h(xt).setting,o=n?.notificationActivated,a=n?.typesOfNotification,s=St.find((e=>e.type===t.type));if(o&&a.find((t=>t===s?.desc))){const e=Et.filter((e=>e.id==t.id&&e.user==t.user));e.length>0?Et[Et.indexOf(e[0])]=t:(Et.unshift(t),t.__valid<kt&&kt.set(t.__valid)),gt.set(Et),mt.set(!1)}e&&s?.obj.set(t)};let Et=[];let Tt=[{id:"001",role:"Kundenmanager",user:"002"},{id:"002",role:"HR",user:"003"},{id:"003",role:"Projektleiter",user:"001"},{id:"004",role:"Software Developer",user:"001"},{id:"005",role:"Software Developer",user:"002"}];const jt=[{id:1111,name:"TaskModule",text:"Alle Tasks",status:!1,6:o.item({x:0,y:0,w:4,h:5,customDragger:!0}),5:o.item({x:0,y:0,w:4,h:5,customDragger:!0}),4:o.item({x:0,y:0,w:3,h:5,customDragger:!0}),3:o.item({x:0,y:0,w:2,h:5,customDragger:!0}),2:o.item({x:0,y:0,w:1,h:5,customDragger:!0}),1:o.item({x:0,y:0,w:1,h:5,customDragger:!0})},{id:3333,name:"Chat Modul",text:"Chat",status:!1,6:o.item({x:4,y:0,w:1,h:5,customDragger:!0}),5:o.item({x:4,y:0,w:1,h:5,customDragger:!0}),4:o.item({x:3,y:0,w:1,h:5,customDragger:!0}),3:o.item({x:2,y:0,w:1,h:5,customDragger:!0}),2:o.item({x:1,y:0,w:1,h:5,customDragger:!0}),1:o.item({x:1,y:0,w:1,h:5,customDragger:!0})},{id:4444,name:"Feedback Modul",text:"Feedback",status:!1,6:o.item({x:5,y:0,w:1,h:5}),5:o.item({x:5,y:0,w:1,h:5}),4:o.item({x:4,y:0,w:1,h:5}),3:o.item({x:3,y:0,w:1,h:5}),2:o.item({x:2,y:0,w:1,h:5}),1:o.item({x:2,y:0,w:1,h:5})},{id:9999,name:"Neues Modul",text:"+",status:!1,6:o.item({x:4,y:0,w:1,h:2}),5:o.item({x:4,y:0,w:1,h:2}),4:o.item({x:3,y:0,w:1,h:2}),3:o.item({x:2,y:0,w:1,h:2}),2:o.item({x:1,y:0,w:1,h:2}),1:o.item({x:1,y:0,w:1,h:2})}],{cacheValidator:It,onLogout:Nt}=n;e.interceptors.request.use((t=>(t.headers.enablerr=window.location.hostname,t))),e.interceptors.response.use((t=>203===t.status?Promise.reject(t.data.error):t),(t=>400===t.response.status?(window.singleSpaNavigate("/error"),Promise.reject(t)):t));let Ct=new Map;const Mt=(t,e)=>(...n)=>{const o=h(It),a=window.localStorage.getItem("enablerr-tenant");"invalid"===o.status&&(Ct=new Map,It.set({tenant:a,status:""}));const s=[].concat(a,e,n).join("-");let i=Ct.get(s);if(!i)try{i=t(...n),Ct.set(s,i)}catch(t){throw t}return i};var Lt={getSchema:Mt((t=>axios.get("/api/schema/"+t).then((t=>t.data)).catch((e=>{throw`schema with id ${t} not found`}))),"getSchema"),getSchemas:async()=>(await axios.get("/api/schema")).data,getSchemaByClass:Mt((async t=>(await axios.get(`/api/schemabyclass/${t}`)).data),"getSchemaByClass"),getEvents:Mt((()=>axios.get("/api/event").then((t=>t.data)).catch((t=>{throw"Events not found"}))),"getEvents"),getEvent:Mt((t=>axios.get("/api/event/"+t).then((t=>t.data)).catch((e=>{throw`Event with id ${t} not found`}))),"getEvent"),getTask:(t,e)=>axios.get(`/api/task/${t}:${e}?display=form`).then((t=>t.data)).catch((t=>{throw"task not found"})),getTaskList:(t,e)=>axios.get(`/api/task/${t}:${e}?display=list`).then((t=>t.data)).catch((t=>{})),getTasksList:t=>axios.get(`/api/tasks/${t}?display=list`).then((t=>t.data)).catch((t=>{throw"list not found"})),getTasks:t=>axios.get(`/api/tasks/${t}?display=form`).then((t=>t.data)).catch((t=>{throw"list not found"})),getTaskById:t=>axios.post("/api/read/_task",{_id:t}).then((t=>t.data[0])).catch((t=>{})),getTaskqueue:(t=!1,e)=>axios.post("/api/taskqueue",{id:t,task:e}).then((t=>t.data)).catch((t=>{throw"queue not found"})),createTaskByEventId:t=>axios.post("/api/workflow/task",{event:t}).then((t=>t.data)).catch((t=>{})),saveData:async(t,e)=>(await axios.post(`/api/${t}`,e)).data,deleteTask:t=>axios.delete(`/api/_task/${t}`).then((t=>t.data)).catch((t=>{})),setTaskVisum:(t,e)=>axios.post(`/api/task/visum/${t}`,{visum:e}).then((t=>t.data)).catch((t=>{})),deleteTaskVisum:(t,e)=>axios.delete(`/api/task/visum/${t}/${e}`).then((t=>t.data)).catch((t=>{})),getTaskOptions:(t,e)=>axios.get(`/api/task/${t}/${e}`).then((t=>t.data)).catch((t=>{throw"docs not found"})),getLastId:(t,e)=>axios.get(`/api/task/${t}/lastId/${e}`).then((t=>t.data)).catch((t=>{throw"docs not found"})),getCumulatedSection:(t,e,n,o)=>axios.get(`/api/task/${t}/${fieldName}/section/${n}/${o}`).then((t=>t.data)).catch((t=>{throw"internal error"})),savePlugins:async(t,e)=>(await axios.post("/api/plugin",t,e)).data,savePlugin:async(t,e)=>(await axios.post(`/api/plugin/${t}`,e)).data,deletePlugin:async t=>(await axios.delete(`/api/plugin/${t}`)).data,deletePluginAndData:()=>axios.delete("/api/plugin"),getAuthStatus:async t=>(await axios.post("/api/auth/status",{email:t})).data,getUserSettings:()=>axios.get("/api/user").then((t=>t.data)),saveUserSettings:t=>axios.post("/api/user",t).then((t=>t.data)),saveDefaultSettings:async(t,e)=>{let n={schema:"http://json-schema.org/draft-04/schema#",id:e,email:t,firstName:"",lastName:"",jobDescription:"",role:[],setting:{showJobDescription:!1,dashboardLayout:[{id:"Standard",activated:!0,days:["Mo","Tu","We","Th","Fr","Sa","Su"],moduleList:[{moduleId:"1111",position:"0"},{moduleId:"3333",position:""}]}],notificationActivated:!0,showNotifications:!0,notificationToMail:!1,typesOfNotification:["Aufgabe","Visum","Dokument"]}};return axios.post("/api/user",n).then((t=>t.data))},authEnroll:async t=>(await axios.post("/api/auth/enroll",t)).data,authLogin:async(t,e)=>(await axios.post("/api/auth/login",{username:t,passcode:e})).data,authLogout:async()=>await axios.post("/api/auth/logout"),setTenant:async t=>axios.post("/api/auth/tenant",{id:t}).then((t=>t.data)).catch((t=>({status:!1}))),getAllChats:async()=>axios.get("/api/comm/chat").then((({data:t})=>t)),getChat:ft,saveChat:async(t,e,n)=>{const{user:o}=h(ut);let a=await ft(t,e);a[0]||(n.sender=o);const s=a[0]?"patch":"post",i=dt(t,e);return(await axios[s]("/api/comm/chat"+i,n)).data.id},getFeedback:ht,saveFeedback:async(t,e,n,o,a)=>{const s={};t&&(s.event={id:t}),e&&(s.task={id:e});let i=await ht();if(i[0]&&null!=a){let t=i.filter((t=>t._id===a));t={...t,...o};const{user:e}=h(pt);return n.sender=e,t[0].messages=(t[0].messages||[]).concat(n),console.log("has id",t[0].messages),(await axios.post("/api/commFeedback",t[0])).data.id}{i={...s},i={...i,...o};const{user:t}=h(pt);return n.sender=t,i.messages=(i.messages||[]).concat(n),console.log("new feedback",i),(await axios.post("/api/commFeedback",i)).data.id}},getUserReports:async t=>(await axios.get("/api/userreport/list/"+t)).data,uploadUserReport:async(t,e)=>(await axios.post("/api/userreport/"+t,e)).data,deleteUserReport:async t=>(await axios.delete("/api/userreport/"+t)).data,getDefaultModuleList:ct,getDefaultLayout:lt,getNotifications:t=>axios.get("/api/notification").then((async t=>{await new Promise((t=>setTimeout(t,2e3)));for(let e of t.data)Dt(e,!1);return Et})),getNotificationsLocal:t=>Et,saveNotification:Dt,updateNotification:t=>{let e=Et.filter((e=>e.id==t.id&&e.user==t.user));e.length>0?(Et[Et.indexOf(e[0])]=t,gt.set(Et)):Dt(t,!1)},getNotificationTypes:Mt((()=>axios.get("/api/notification/type").then((t=>t.data))),"getNotificationTypes"),getRoles:t=>Tt.filter((e=>e.user===t)),getModules:t=>jt.filter((e=>t.includes(e.id))),getModuleName:t=>{const e=jt.find((e=>e.id===Number(t)));return e?e.name:"Unbekanntes Modul"},getAllModules:()=>jt};const At=Intl.NumberFormat().formatToParts(1.1).find((({type:t})=>"decimal"===t)).value||".",Ft=t=>"function"==typeof t,Pt=t=>t&&t.toString,Ot=(t,...e)=>e.includes(t),Bt=t=>Ot(t,void 0,null),Vt=t=>!Bt(t),Rt=(t=null,e,...n)=>{try{return e(...n)}catch{return t}},qt=t=>(e,...n)=>Rt(Rt("",t.toString),e,...n),Ut=(t,e=2,n=0,o=t.toString(),a=n.toString())=>a.repeat(e-o.length)+o,zt=(t,e=window)=>({listen(n,o){e[`${n}EventListener`](t,o)},start(t){this.listen("add",t)},stop(t){this.listen("remove",t)}}),Ht=(...t)=>!t.map((({value:t,check:e,text:n})=>e(t)||Gt(console.error,n))).every(Boolean),Wt=t=>(e,n)=>(Promise.resolve(n).then(e),t),Kt=Wt(!0),Gt=Wt(!1);var Jt=Object.freeze({__proto__:null,decimalSeparator:At,isFunction:Ft,isStringable:Pt,isObjEmpty:(t={})=>!Object.keys(t).length,hasValue:Ot,isNullish:Bt,isNotNullish:Vt,bestValue:(t,...e)=>e.concat(t).find(Vt),tryCatch:Rt,ensureStrValue:qt,padLeft:(...t)=>qt(t[0])(Ut,...t),showupElement:(t="",e=0,n=document.getElementById(t))=>n&&n.style&&(n.style.display="block",setTimeout((()=>n.style.display="none"),e)),getListener:zt,isMissing:Ht,go:Kt,stop:Gt});t("util",Jt);const Qt="single-spa:routing-event",Xt=zt(Qt);function Yt(t,{modulePath:e,update:n}){if(!1===n)return;if(Ht({value:n,check:Ft,text:"<update> should be a function (dataListener)"},{value:e,check:Pt,text:"<modulePath> should be a string (dataListener)"}))return;const o=e.toString()||"/",a=e=>{const a=e.currentTarget.location.pathname,[,s,...i]=a.split("/");o===(s||"/")&&t.dispatchEvent(new CustomEvent("data",{detail:{data:n(...i)}}))};return Xt.start(a),{destroy:()=>Xt.stop(a)}}const Zt=()=>window.dispatchEvent(new CustomEvent(Qt)),te=t=>({prop:4&t,tenant:8&t,user:8&t}),ee=t=>({prop:t[11],refresh:Zt,tenant:t[3].tenant,user:t[3].user}),ne=t=>({err:4&t,prop:4&t,tenant:8&t,user:8&t}),oe=t=>({err:t[12],prop:t[11],refresh:Zt,tenant:t[3].tenant,user:t[3].user}),ae=t=>({prop:4&t,tenant:8&t,user:8&t}),se=t=>({prop:t[11],refresh:Zt,tenant:t[3].tenant,user:t[3].user}),ie=t=>({prop:4&t,tenant:8&t,user:8&t}),re=t=>({prop:t[11],refresh:Zt,tenant:t[3].tenant,user:t[3].user});function ce(t){let e;const n=t[8].init,o=m(n,t,t[7],ee);return{c(){o&&o.c()},m(t,n){o&&o.m(t,n),e=!0},p(t,a){o&&o.p&&(!e||140&a)&&$(o,n,t,t[7],a,te,ee)},i(t){e||(H(o,t),e=!0)},o(t){W(o,t),e=!1},d(t){o&&o.d(t)}}}function le(t){let e,n,o,a={ctx:t,current:null,token:null,hasCatch:!0,pending:fe,then:de,catch:ue,value:11,error:12,blocks:[,,,]};return K(n=t[2],a),{c(){e=x(),a.block.c()},m(t,n){w(t,e,n),a.block.m(t,a.anchor=n),a.mount=()=>e.parentNode,a.anchor=e,o=!0},p(e,o){t=e,a.ctx=t,4&o&&n!==(n=t[2])&&K(n,a)||G(a,t,o)},i(t){o||(H(a.block),o=!0)},o(t){for(let t=0;t<3;t+=1){W(a.blocks[t])}o=!1},d(t){t&&v(e),a.block.d(t),a.token=null,a=null}}}function ue(t){let e;const n=t[8].error,o=m(n,t,t[7],oe);return{c(){o&&o.c()},m(t,n){o&&o.m(t,n),e=!0},p(t,a){o&&o.p&&(!e||140&a)&&$(o,n,t,t[7],a,ne,oe)},i(t){e||(H(o,t),e=!0)},o(t){W(o,t),e=!1},d(t){o&&o.d(t)}}}function de(t){let e;const n=t[8].default,o=m(n,t,t[7],se);return{c(){o&&o.c()},m(t,n){o&&o.m(t,n),e=!0},p(t,a){o&&o.p&&(!e||140&a)&&$(o,n,t,t[7],a,ae,se)},i(t){e||(H(o,t),e=!0)},o(t){W(o,t),e=!1},d(t){o&&o.d(t)}}}function fe(t){let e,n,o,a={ctx:t,current:null,token:null,hasCatch:!1,pending:me,then:he,catch:pe,value:10,blocks:[,,,]};return K(n=t[5](t[1]),a),{c(){e=x(),a.block.c()},m(t,n){w(t,e,n),a.block.m(t,a.anchor=n),a.mount=()=>e.parentNode,a.anchor=e,o=!0},p(e,o){t=e,a.ctx=t,2&o&&n!==(n=t[5](t[1]))&&K(n,a)||G(a,t,o)},i(t){o||(H(a.block),o=!0)},o(t){for(let t=0;t<3;t+=1){W(a.blocks[t])}o=!1},d(t){t&&v(e),a.block.d(t),a.token=null,a=null}}}function pe(t){return{c:i,m:i,p:i,i:i,o:i,d:i}}function he(t){let e;const n=t[8].load,o=m(n,t,t[7],re);return{c(){o&&o.c()},m(t,n){o&&o.m(t,n),e=!0},p(t,a){o&&o.p&&(!e||140&a)&&$(o,n,t,t[7],a,ie,re)},i(t){e||(H(o,t),e=!0)},o(t){W(o,t),e=!1},d(t){o&&o.d(t)}}}function me(t){return{c:i,m:i,p:i,i:i,o:i,d:i}}function ge(t){let e,n,o,a,s,r,c;const l=[le,ce],f=[];function p(t,e){return t[2]?0:1}return n=p(t),o=f[n]=l[n](t),{c(){e=b("section"),o.c(),_(e,"class","data")},m(o,l){var u;w(o,e,l),f[n].m(e,null),s=!0,r||(c=[(u=a=Yt.call(null,e,t[0]),u&&d(u.destroy)?u.destroy:i),k(e,"data",t[9])],r=!0)},p(t,[s]){let i=n;n=p(t),n===i?f[n].p(t,s):(U(),W(f[i],1,1,(()=>{f[i]=null})),z(),o=f[n],o?o.p(t,s):(o=f[n]=l[n](t),o.c()),H(o,1),o.m(e,null)),a&&d(a.update)&&1&s&&a.update.call(null,t[0])},i(t){s||(H(o),s=!0)},o(t){W(o),s=!1},d(t){t&&v(e),f[n].d(),r=!1,u(c)}}}function $e(t,e,o){let a,{$$slots:s={},$$scope:i}=e;const{loggedIn:r}=n;var c,l;c=r,l=t=>o(3,a=t),t.$$.on_destroy.push(p(c,l));let u,{options:d}=e,{update:f=!1}=e,{loadingDelay:h=250}=e;f&&(d={update:f,modulePath:window.location.pathname.split("/")[1]||"/"});return t.$$set=t=>{"options"in t&&o(0,d=t.options),"update"in t&&o(6,f=t.update),"loadingDelay"in t&&o(1,h=t.loadingDelay),"$$scope"in t&&o(7,i=t.$$scope)},[d,h,u,a,r,t=>new Promise((e=>setTimeout(e,t))),f,i,s,({detail:t})=>o(2,u=t.data)]}function ye(t){let e,n;const o=[{class:"full-width"},{style:t[0]},{inputClass:t[1]||t[5]},{multiline:!0},{id:t[2]},{value:t[3]},{rows:t[4]},t[8]];let a={};for(let t=0;t<o.length;t+=1)a=r(a,o[t]);return e=new t[6]({props:a}),e.$on("change",t[7]),{c(){Q(e.$$.fragment)},m(t,o){X(e,t,o),n=!0},p(t,[n]){const a=319&n?function(t,e){const n={},o={},a={$$scope:1};let s=t.length;for(;s--;){const i=t[s],r=e[s];if(r){for(const t in i)t in r||(o[t]=1);for(const t in r)a[t]||(n[t]=r[t],a[t]=1);t[s]=r}else for(const t in i)a[t]=1}for(const t in o)t in n||(n[t]=void 0);return n}(o,[o[0],1&n&&{style:t[0]},34&n&&{inputClass:t[1]||t[5]},o[3],4&n&&{id:t[2]},8&n&&{value:t[3]},16&n&&{rows:t[4]},256&n&&(s=t[8],"object"==typeof s&&null!==s?s:{})]):{};var s;e.$set(a)},i(t){n||(H(e.$$.fragment,t),n=!0)},o(t){W(e.$$.fragment,t),n=!1},d(t){Y(e,t)}}}function we(t,e,n){const o=["noForm","id","value","style","rows","classId"];let s=y(e,o);const i=T(),{TextField:c}=a;let{noForm:l=""}=e,{id:u}=e,{value:d}=e,{style:f=""}=e,{rows:p=3}=e,{classId:h}=e;f+=" padding-bottom: .5em;";const m=5*(p>1),g=()=>{const t=document.getElementById(u);if(!t)return;const{style:e,scrollHeight:n}=t;n&&(e.height=`${n+m}px`)};return t.$$set=t=>{e=r(r({},e),function(t){const e={};for(const n in t)"$"!==n[0]&&(e[n]=t[n]);return e}(t)),n(8,s=y(e,o)),"noForm"in t&&n(1,l=t.noForm),"id"in t&&n(2,u=t.id),"value"in t&&n(3,d=t.value),"style"in t&&n(0,f=t.style),"rows"in t&&n(4,p=t.rows),"classId"in t&&n(5,h=t.classId)},t.$$.update=()=>{8&t.$$.dirty&&d&&setTimeout(g)},[f,l,u,d,p,h,c,({detail:{value:t}})=>i("blur",{value:t}),s]}function ve(t){let e,n;return e=new s({props:{style:"min-width: 25em; overflow-y: hidden; resize: none;",id:t[0],value:t[1]}}),{c(){Q(e.$$.fragment)},m(t,o){X(e,t,o),n=!0},p(t,[n]){const o={};1&n&&(o.id=t[0]),2&n&&(o.value=t[1]),e.$set(o)},i(t){n||(H(e.$$.fragment,t),n=!0)},o(t){W(e.$$.fragment,t),n=!1},d(t){Y(e,t)}}}function be(t,e,n){let{id:o}=e,{value:a}=e;return t.$$set=t=>{"id"in t&&n(0,o=t.id),"value"in t&&n(1,a=t.value)},[o,a]}class xe extends et{constructor(t){super(),tt(this,t,be,ve,f,{id:0,value:1})}}function ke(t){let e,n,o;function a(e){t[7](e)}let s={id:t[5]};return void 0!==t[2]&&(s.value=t[2]),e=new xe({props:s}),I.push((()=>J(e,"value",a))),{c(){Q(e.$$.fragment)},m(t,n){X(e,t,n),o=!0},p(t,o){const a={};!n&&4&o&&(n=!0,a.value=t[2],F((()=>n=!1))),e.$set(a)},i(t){o||(H(e.$$.fragment,t),o=!0)},o(t){W(e.$$.fragment,t),o=!1},d(t){Y(e,t)}}}function _e(t){let e,n;return e=new t[4]({props:{title:t[0],closeCallback:t[10],$$slots:{default:[ke]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},m(t,o){X(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.title=t[0]),1024&n&&(o.closeCallback=t[10]),2052&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(H(e.$$.fragment,t),n=!0)},o(t){W(e.$$.fragment,t),n=!1},d(t){Y(e,t)}}}function Se(t){let e,n,o;function a(e){t[8](e)}let s={$$slots:{default:[_e,({closeCallback:t})=>({10:t}),({closeCallback:t})=>t?1024:0]},$$scope:{ctx:t}};return void 0!==t[1]&&(s.open=t[1]),e=new t[3]({props:s}),I.push((()=>J(e,"open",a))),e.$on("change",t[9]),{c(){Q(e.$$.fragment)},m(t,n){X(e,t,n),o=!0},p(t,[o]){const a={};3077&o&&(a.$$scope={dirty:o,ctx:t}),!n&&2&o&&(n=!0,a.open=t[1],F((()=>n=!1))),e.$set(a)},i(t){o||(H(e.$$.fragment,t),o=!0)},o(t){W(e.$$.fragment,t),o=!1},d(t){Y(e,t)}}}function De(t,e,n){const{Modal:o,Dialog:s}=a;let i,{title:r}=e,{showMessage:c}=e,l="";return c=t=>{n(2,l=[].concat(t).join("\n")),n(1,i=!0)},t.$$set=t=>{"title"in t&&n(0,r=t.title),"showMessage"in t&&n(6,c=t.showMessage)},[r,i,l,o,s,"modalDialog",c,function(t){l=t,n(2,l)},function(t){i=t,n(1,i)},function(e){!function(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach((t=>t(e)))}(t,e)}]}t("version","0.2.75");const Ee=window.sessionStorage;Ee.clear();t("Storage",{getItem:t=>Ee.getItem(t),setItem:(t,e)=>Ee.setItem(t,e)});t("toasts",function(){const t=it([]);function e(e,n,o="default"){n||(n=3e3),t.update((t=>t.length>3?t:t=[...t,{id:"_"+Math.random().toString(36).substring(2,9),type:o,msg:e,timeout:n}]))}const n=rt(t,((e,n)=>{if(n(e),e&&e.length>0){const n=setTimeout((()=>{t.update((t=>(console.log("shift"),t.shift(),t)))}),e[0].timeout);return()=>{clearTimeout(n)}}})),{subscribe:o}=n;return{subscribe:o,send:e,default:(t,n)=>e(t,n,"default"),success:(t,n)=>e(t,n,"success"),failed:(t,n)=>e(t,n,"failed")}}()),t("LinkIcon",class extends et{constructor(t){var e,n,o;super(),document.getElementById("svelte-1jng2dw-style")||((o=b("style")).id="svelte-1jng2dw-style",o.textContent=".red.svelte-1jng2dw{background-color:var(--m-color-red-light)}.blue.svelte-1jng2dw{background-color:var(--m-color-blue-light)}.green.svelte-1jng2dw{background-color:var(--m-color-green-light)}.icon.svelte-1jng2dw{max-height:1.2em}",e=document.head,n=o,e.appendChild(n)),tt(this,t,ot,nt,f,{title:0,link:3,color:1})}}),t("Page",class extends et{constructor(t){super(),tt(this,t,$e,ge,f,{options:0,update:6,loadingDelay:1})}}),t("Request",Lt),t("TextArea",class extends et{constructor(t){super(),tt(this,t,we,ye,f,{noForm:1,id:2,value:3,style:0,rows:4,classId:5})}}),t("ModalDialog",class extends et{constructor(t){super(),tt(this,t,De,Se,f,{title:0,showMessage:6})}})}}}));
1
+ System.register(["axios","@enablerr-ui/auth","@enablerr-ui/layout","@enablerr-ui/form"],(function(t){"use strict";var e,n,o,a,s;return{setters:[function(t){e=t.default},function(t){n=t.user},function(t){o=t.getGridHelp,a=t.getAttractions},function(t){s=t.TextArea}],execute:function(){function i(){}function r(t,e){for(const n in e)t[n]=e[n];return t}function c(t){return t()}function l(){return Object.create(null)}function u(t){t.forEach(c)}function d(t){return"function"==typeof t}function f(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function p(t,...e){if(null==t)return i;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function h(t){let e;return p(t,(t=>e=t))(),e}function m(t,e,n,o){if(t){const a=g(t,e,n,o);return t[0](a)}}function g(t,e,n,o){return t[1]&&o?r(n.ctx.slice(),t[1](o(e))):n.ctx}function $(t,e,n,o,a,s,i){const r=function(t,e,n,o){if(t[2]&&o){const a=t[2](o(n));if(void 0===e.dirty)return a;if("object"==typeof a){const t=[],n=Math.max(e.dirty.length,a.length);for(let o=0;o<n;o+=1)t[o]=e.dirty[o]|a[o];return t}return e.dirty|a}return e.dirty}(e,o,a,s);if(r){const a=g(e,n,o,i);t.p(a,r)}}function y(t,e){const n={};e=new Set(e);for(const o in t)e.has(o)||"$"===o[0]||(n[o]=t[o]);return n}function w(t,e,n){t.insertBefore(e,n||null)}function v(t){t.parentNode.removeChild(t)}function x(t){return document.createElement(t)}function b(){return t="",document.createTextNode(t);var t}function k(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function _(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}let S;function D(t){S=t}function E(){if(!S)throw new Error("Function called outside component initialization");return S}function T(){const t=E();return(e,n)=>{const o=t.$$.callbacks[e];if(o){const a=function(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}(e,n);o.slice().forEach((e=>{e.call(t,a)}))}}}const j=[],I=[],N=[],C=[],M=Promise.resolve();let L=!1;function A(t){N.push(t)}function F(t){C.push(t)}let P=!1;const O=new Set;function B(){if(!P){P=!0;do{for(let t=0;t<j.length;t+=1){const e=j[t];D(e),V(e.$$)}for(D(null),j.length=0;I.length;)I.pop()();for(let t=0;t<N.length;t+=1){const e=N[t];O.has(e)||(O.add(e),e())}N.length=0}while(j.length);for(;C.length;)C.pop()();L=!1,P=!1,O.clear()}}function V(t){if(null!==t.fragment){t.update(),u(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(A)}}const R=new Set;let q;function U(){q={r:0,c:[],p:q}}function z(){q.r||u(q.c),q=q.p}function H(t,e){t&&t.i&&(R.delete(t),t.i(e))}function W(t,e,n,o){if(t&&t.o){if(R.has(t))return;R.add(t),q&&q.c.push((()=>{R.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}function K(t,e){const n=e.token={};function o(t,o,a,s){if(e.token!==n)return;e.resolved=s;let i=e.ctx;void 0!==a&&(i=i.slice(),i[a]=s);const r=t&&(e.current=t)(i);let c=!1;e.block&&(e.blocks?e.blocks.forEach(((t,n)=>{n!==o&&t&&(U(),W(t,1,1,(()=>{e.blocks[n]===t&&(e.blocks[n]=null)})),z())})):e.block.d(1),r.c(),H(r,1),r.m(e.mount(),e.anchor),c=!0),e.block=r,e.blocks&&(e.blocks[o]=r),c&&B()}if((a=t)&&"object"==typeof a&&"function"==typeof a.then){const n=E();if(t.then((t=>{D(n),o(e.then,1,e.value,t),D(null)}),(t=>{if(D(n),o(e.catch,2,e.error,t),D(null),!e.hasCatch)throw t})),e.current!==e.pending)return o(e.pending,0),!0}else{if(e.current!==e.then)return o(e.then,1,e.value,t),!0;e.resolved=t}var a}function G(t,e,n){const o=e.slice(),{resolved:a}=t;t.current===t.then&&(o[t.value]=a),t.current===t.catch&&(o[t.error]=a),t.block.p(o,n)}function J(t,e,n){const o=t.$$.props[e];void 0!==o&&(t.$$.bound[o]=n,n(t.$$.ctx[o]))}function Q(t){t&&t.c()}function X(t,e,n,o){const{fragment:a,on_mount:s,on_destroy:i,after_update:r}=t.$$;a&&a.m(e,n),o||A((()=>{const e=s.map(c).filter(d);i?i.push(...e):u(e),t.$$.on_mount=[]})),r.forEach(A)}function Y(t,e){const n=t.$$;null!==n.fragment&&(u(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Z(t,e){-1===t.$$.dirty[0]&&(j.push(t),L||(L=!0,M.then(B)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function tt(t,e,n,o,a,s,r=[-1]){const c=S;D(t);const d=t.$$={fragment:null,ctx:null,props:s,update:i,not_equal:a,bound:l(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(c?c.$$.context:e.context||[]),callbacks:l(),dirty:r,skip_bound:!1};let f=!1;if(d.ctx=n?n(t,e.props||{},((e,n,...o)=>{const s=o.length?o[0]:n;return d.ctx&&a(d.ctx[e],d.ctx[e]=s)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](s),f&&Z(t,e)),n})):[],d.update(),f=!0,u(d.before_update),d.fragment=!!o&&o(d.ctx),e.target){if(e.hydrate){const t=function(t){return Array.from(t.childNodes)}(e.target);d.fragment&&d.fragment.l(t),t.forEach(v)}else d.fragment&&d.fragment.c();e.intro&&H(t.$$.fragment),X(t,e.target,e.anchor,e.customElement),B()}D(c)}class et{$destroy(){Y(this,1),this.$destroy=i}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function nt(t){let e,n,o,a,s;const i=t[5].default,r=m(i,t,t[4],null);return{c(){e=x("span"),r&&r.c(),_(e,"class",n="pointer icon flex brd-radius-full brd-with-sm "+t[1]+" svelte-1jng2dw"),_(e,"title",t[0])},m(n,i){w(n,e,i),r&&r.m(e,null),o=!0,a||(s=k(e,"click",t[2]),a=!0)},p(t,[a]){r&&r.p&&(!o||16&a)&&$(r,i,t,t[4],a,null,null),(!o||2&a&&n!==(n="pointer icon flex brd-radius-full brd-with-sm "+t[1]+" svelte-1jng2dw"))&&_(e,"class",n),(!o||1&a)&&_(e,"title",t[0])},i(t){o||(H(r,t),o=!0)},o(t){W(r,t),o=!1},d(t){t&&v(e),r&&r.d(t),a=!1,s()}}}function ot(t,e,n){let{$$slots:o={},$$scope:a}=e,{title:s}=e,{link:i="/"}=e,{color:r}=e;return t.$$set=t=>{"title"in t&&n(0,s=t.title),"link"in t&&n(3,i=t.link),"color"in t&&n(1,r=t.color),"$$scope"in t&&n(4,a=t.$$scope)},[s,r,()=>window.singleSpaNavigate(i),i,a,o]}const at=[];function st(t,e){return{subscribe:it(t,e).subscribe}}function it(t,e=i){let n;const o=[];function a(e){if(f(t,e)&&(t=e,n)){const e=!at.length;for(let e=0;e<o.length;e+=1){const n=o[e];n[1](),at.push(n,t)}if(e){for(let t=0;t<at.length;t+=2)at[t][0](at[t+1]);at.length=0}}}return{set:a,update:function(e){a(e(t))},subscribe:function(s,r=i){const c=[s,r];return o.push(c),1===o.length&&(n=e(a)||i),s(t),()=>{const t=o.indexOf(c);-1!==t&&o.splice(t,1),0===o.length&&(n(),n=null)}}}}function rt(t,e,n){const o=!Array.isArray(t),a=o?[t]:t,s=e.length<2;return st(n,(t=>{let n=!1;const r=[];let c=0,l=i;const f=()=>{if(c)return;l();const n=e(o?r[0]:r,t);s?t(n):l=d(n)?n:i},h=a.map(((t,e)=>p(t,(t=>{r[e]=t,c&=~(1<<e),n&&f()}),(()=>{c|=1<<e}))));return n=!0,f(),function(){u(h),l()}}))}const ct=()=>[{moduleId:"1111",position:"0"},{moduleId:"3333",position:""}],lt=()=>[{id:"Standard",activated:!0,days:["Mo","Tu","We","Th","Fr","Sa","Su"],moduleList:[{moduleId:"1111",position:"0"},{moduleId:"3333",position:""}]}],{loggedIn:ut}=n,dt=(t,e)=>{let n="";return t&&(n+=`/${t}`,e&&(n+=`/${e}`)),n},ft=async(t,e)=>{const n=dt(t,e);return(await axios.get("/api/comm/chat"+n)).data.filter((e=>t?e.event&&e.event._id===t:!e.event)).filter((t=>e?t.task&&t.task._id===e:!t.task))},{loggedIn:pt}=n,ht=async(t,e)=>[],mt=t("notification",it(!1)),gt=t("notifications_local",it([])),$t=t("communication_notification",it(!1)),yt=t("task_notification",it(!1)),wt=t("approval_notification",it(!1)),vt=t("attachment_notification",it(!1)),xt=it(!1),bt=t("settings",it({})),kt=(t("currentRoles",it()),it(Date.now()+1e7)),_t=rt(st(Date.now(),(function(t){const e=setInterval((()=>{t(Date.now())}),6e4);return function(){clearInterval(e)}})),(t=>t>h(kt)));_t.subscribe((t=>{if(t)if((()=>{let t=Et.filter((t=>t._valid>Date.now()));Et=t,gt.set(Et),mt.set(!0)})(),Et.length>0){const t=Et.reduce(((t,e)=>t.__valid<e.__valid?t:e));kt.set(t.__valid)}else kt.set(Date.now()+1e7)}));const St=[{type:"communication",desc:"Kommunikation",obj:$t},{type:"task",desc:"Aufgabe",obj:yt},{type:"approval",desc:"Visum",obj:wt},{type:"attachment",desc:"Dokument",obj:vt},{type:"workflow",desc:"Worfklow",obj:xt}],Dt=(t,e=!1)=>{const n=h(bt).setting,o=n?.notificationActivated,a=n?.typesOfNotification,s=St.find((e=>e.type===t.type));if(o&&a.find((t=>t===s?.desc))){const e=Et.filter((e=>e.id==t.id&&e.user==t.user));e.length>0?Et[Et.indexOf(e[0])]=t:(Et.unshift(t),t.__valid<kt&&kt.set(t.__valid)),gt.set(Et),mt.set(!1)}e&&s?.obj.set(t)};let Et=[];let Tt=[{id:"001",role:"Kundenmanager",user:"002"},{id:"002",role:"HR",user:"003"},{id:"003",role:"Projektleiter",user:"001"},{id:"004",role:"Software Developer",user:"001"},{id:"005",role:"Software Developer",user:"002"}];const jt=[{id:1111,name:"TaskModule",text:"Alle Tasks",status:!1,6:o.item({x:0,y:0,w:4,h:5,customDragger:!0}),5:o.item({x:0,y:0,w:4,h:5,customDragger:!0}),4:o.item({x:0,y:0,w:3,h:5,customDragger:!0}),3:o.item({x:0,y:0,w:2,h:5,customDragger:!0}),2:o.item({x:0,y:0,w:1,h:5,customDragger:!0}),1:o.item({x:0,y:0,w:1,h:5,customDragger:!0})},{id:3333,name:"Chat Modul",text:"Chat",status:!1,6:o.item({x:4,y:0,w:1,h:5,customDragger:!0}),5:o.item({x:4,y:0,w:1,h:5,customDragger:!0}),4:o.item({x:3,y:0,w:1,h:5,customDragger:!0}),3:o.item({x:2,y:0,w:1,h:5,customDragger:!0}),2:o.item({x:1,y:0,w:1,h:5,customDragger:!0}),1:o.item({x:1,y:0,w:1,h:5,customDragger:!0})},{id:4444,name:"Feedback Modul",text:"Feedback",status:!1,6:o.item({x:5,y:0,w:1,h:5}),5:o.item({x:5,y:0,w:1,h:5}),4:o.item({x:4,y:0,w:1,h:5}),3:o.item({x:3,y:0,w:1,h:5}),2:o.item({x:2,y:0,w:1,h:5}),1:o.item({x:2,y:0,w:1,h:5})},{id:9999,name:"Neues Modul",text:"+",status:!1,6:o.item({x:4,y:0,w:1,h:2}),5:o.item({x:4,y:0,w:1,h:2}),4:o.item({x:3,y:0,w:1,h:2}),3:o.item({x:2,y:0,w:1,h:2}),2:o.item({x:1,y:0,w:1,h:2}),1:o.item({x:1,y:0,w:1,h:2})}],{cacheValidator:It,onLogout:Nt}=n;e.interceptors.request.use((t=>(t.headers.enablerr=window.location.hostname,t))),e.interceptors.response.use((t=>203===t.status?Promise.reject(t.data.error):t),(t=>400===t.response.status?(window.singleSpaNavigate("/error"),Promise.reject(t)):t));let Ct=new Map;const Mt=(t,e)=>(...n)=>{const o=h(It),a=window.localStorage.getItem("enablerr-tenant");"invalid"===o.status&&(Ct=new Map,It.set({tenant:a,status:""}));const s=[].concat(a,e,n).join("-");let i=Ct.get(s);if(!i)try{i=t(...n),Ct.set(s,i)}catch(t){throw t}return i};var Lt={getSchema:Mt((t=>axios.get("/api/schema/"+t).then((t=>t.data)).catch((e=>{throw`schema with id ${t} not found`}))),"getSchema"),getSchemas:async()=>(await axios.get("/api/schema")).data,getSchemaByClass:Mt((async t=>(await axios.get(`/api/schemabyclass/${t}`)).data),"getSchemaByClass"),getEvents:Mt((()=>axios.get("/api/event").then((t=>t.data)).catch((t=>{throw"Events not found"}))),"getEvents"),getEvent:Mt((t=>axios.get("/api/event/"+t).then((t=>t.data)).catch((e=>{throw`Event with id ${t} not found`}))),"getEvent"),getTask:(t,e)=>axios.get(`/api/task/${t}:${e}?display=form`).then((t=>t.data)).catch((t=>{throw"task not found"})),getTaskList:(t,e)=>axios.get(`/api/task/${t}:${e}?display=list`).then((t=>t.data)).catch((t=>{})),getTasksList:t=>axios.get(`/api/tasks/${t}?display=list`).then((t=>t.data)).catch((t=>{throw"list not found"})),getTasks:t=>axios.get(`/api/tasks/${t}?display=form`).then((t=>t.data)).catch((t=>{throw"list not found"})),getTaskById:t=>axios.post("/api/read/_task",{_id:t}).then((t=>t.data[0])).catch((t=>{})),getTaskqueue:(t=!1,e)=>axios.post("/api/taskqueue",{id:t,task:e}).then((t=>t.data)).catch((t=>{throw"queue not found"})),createTaskByEventId:t=>axios.post("/api/workflow/task",{event:t}).then((t=>t.data)).catch((t=>{})),saveData:async(t,e)=>(await axios.post(`/api/${t}`,e)).data,deleteTask:t=>axios.delete(`/api/_task/${t}`).then((t=>t.data)).catch((t=>{})),setTaskVisum:(t,e)=>axios.post(`/api/task/visum/${t}`,{visum:e}).then((t=>t.data)).catch((t=>{})),deleteTaskVisum:(t,e)=>axios.delete(`/api/task/visum/${t}/${e}`).then((t=>t.data)).catch((t=>{})),getTaskOptions:(t,e)=>axios.get(`/api/task/${t}/${e}`).then((t=>t.data)).catch((t=>{throw"docs not found"})),getLastId:(t,e)=>axios.get(`/api/task/${t}/lastId/${e}`).then((t=>t.data)).catch((t=>{throw"docs not found"})),getCumulatedSection:(t,e,n,o)=>axios.get(`/api/task/${t}/${fieldName}/section/${n}/${o}`).then((t=>t.data)).catch((t=>{throw"internal error"})),getSection:(t,e,n)=>axios.post("/api/read/"+t,{[e]:n}).then((t=>t.data)).catch((t=>{throw"internal error"})),savePlugins:async(t,e)=>(await axios.post("/api/plugin",t,e)).data,savePlugin:async(t,e)=>(await axios.post(`/api/plugin/${t}`,e)).data,deletePlugin:async t=>(await axios.delete(`/api/plugin/${t}`)).data,deletePluginAndData:()=>axios.delete("/api/plugin"),getAuthStatus:async t=>(await axios.post("/api/auth/status",{email:t})).data,getUserSettings:()=>axios.get("/api/user").then((t=>t.data)),saveUserSettings:t=>axios.post("/api/user",t).then((t=>t.data)),saveDefaultSettings:async(t,e)=>{let n={schema:"http://json-schema.org/draft-04/schema#",id:e,email:t,firstName:"",lastName:"",jobDescription:"",role:[],setting:{showJobDescription:!1,dashboardLayout:[{id:"Standard",activated:!0,days:["Mo","Tu","We","Th","Fr","Sa","Su"],moduleList:[{moduleId:"1111",position:"0"},{moduleId:"3333",position:""}]}],notificationActivated:!0,showNotifications:!0,notificationToMail:!1,typesOfNotification:["Aufgabe","Visum","Dokument"]}};return axios.post("/api/user",n).then((t=>t.data))},authEnroll:async t=>(await axios.post("/api/auth/enroll",t)).data,authLogin:async(t,e)=>(await axios.post("/api/auth/login",{username:t,passcode:e})).data,authLogout:async()=>await axios.post("/api/auth/logout"),setTenant:async t=>axios.post("/api/auth/tenant",{id:t}).then((t=>t.data)).catch((t=>({status:!1}))),getAllChats:async()=>axios.get("/api/comm/chat").then((({data:t})=>t)),getChat:ft,saveChat:async(t,e,n)=>{const{user:o}=h(ut);let a=await ft(t,e);a[0]||(n.sender=o);const s=a[0]?"patch":"post",i=dt(t,e);return(await axios[s]("/api/comm/chat"+i,n)).data.id},getFeedback:ht,saveFeedback:async(t,e,n,o,a)=>{const s={};t&&(s.event={id:t}),e&&(s.task={id:e});let i=await ht();if(i[0]&&null!=a){let t=i.filter((t=>t._id===a));t={...t,...o};const{user:e}=h(pt);return n.sender=e,t[0].messages=(t[0].messages||[]).concat(n),console.log("has id",t[0].messages),(await axios.post("/api/commFeedback",t[0])).data.id}{i={...s},i={...i,...o};const{user:t}=h(pt);return n.sender=t,i.messages=(i.messages||[]).concat(n),console.log("new feedback",i),(await axios.post("/api/commFeedback",i)).data.id}},getUserReports:async t=>(await axios.get("/api/userreport/list/"+t)).data,uploadUserReport:async(t,e)=>(await axios.post("/api/userreport/"+t,e)).data,deleteUserReport:async t=>(await axios.delete("/api/userreport/"+t)).data,getDefaultModuleList:ct,getDefaultLayout:lt,getNotifications:t=>axios.get("/api/notification").then((async t=>{await new Promise((t=>setTimeout(t,2e3)));for(let e of t.data)Dt(e,!1);return Et})),getNotificationsLocal:t=>Et,saveNotification:Dt,updateNotification:t=>{let e=Et.filter((e=>e.id==t.id&&e.user==t.user));e.length>0?(Et[Et.indexOf(e[0])]=t,gt.set(Et)):Dt(t,!1)},getNotificationTypes:Mt((()=>axios.get("/api/notification/type").then((t=>t.data))),"getNotificationTypes"),getRoles:t=>Tt.filter((e=>e.user===t)),getModules:t=>jt.filter((e=>t.includes(e.id))),getModuleName:t=>{const e=jt.find((e=>e.id===Number(t)));return e?e.name:"Unbekanntes Modul"},getAllModules:()=>jt};const At=Intl.NumberFormat().formatToParts(1.1).find((({type:t})=>"decimal"===t)).value||".",Ft=t=>"function"==typeof t,Pt=t=>t&&t.toString,Ot=(t,...e)=>e.includes(t),Bt=t=>Ot(t,void 0,null),Vt=t=>!Bt(t),Rt=(t=null,e,...n)=>{try{return e(...n)}catch{return t}},qt=t=>(e,...n)=>Rt(Rt("",t.toString),e,...n),Ut=(t,e=2,n=0,o=t.toString(),a=n.toString())=>a.repeat(e-o.length)+o,zt=(t,e=window)=>({listen(n,o){e[`${n}EventListener`](t,o)},start(t){this.listen("add",t)},stop(t){this.listen("remove",t)}}),Ht=(...t)=>!t.map((({value:t,check:e,text:n})=>e(t)||Gt(console.error,n))).every(Boolean),Wt=t=>(e,n)=>(Promise.resolve(n).then(e),t),Kt=Wt(!0),Gt=Wt(!1);var Jt=Object.freeze({__proto__:null,decimalSeparator:At,isFunction:Ft,isStringable:Pt,isObjEmpty:(t={})=>!Object.keys(t).length,hasValue:Ot,isNullish:Bt,isNotNullish:Vt,bestValue:(t,...e)=>e.concat(t).find(Vt),tryCatch:Rt,ensureStrValue:qt,padLeft:(...t)=>qt(t[0])(Ut,...t),showupElement:(t="",e=0,n=document.getElementById(t))=>n&&n.style&&(n.style.display="block",setTimeout((()=>n.style.display="none"),e)),getListener:zt,isMissing:Ht,go:Kt,stop:Gt});t("util",Jt);const Qt="single-spa:routing-event",Xt=zt(Qt);function Yt(t,{modulePath:e,update:n}){if(!1===n)return;if(Ht({value:n,check:Ft,text:"<update> should be a function (dataListener)"},{value:e,check:Pt,text:"<modulePath> should be a string (dataListener)"}))return;const o=e.toString()||"/",a=e=>{const a=e.currentTarget.location.pathname,[,s,...i]=a.split("/");o===(s||"/")&&t.dispatchEvent(new CustomEvent("data",{detail:{data:n(...i)}}))};return Xt.start(a),{destroy:()=>Xt.stop(a)}}const Zt=()=>window.dispatchEvent(new CustomEvent(Qt)),te=t=>({prop:4&t,tenant:8&t,user:8&t}),ee=t=>({prop:t[11],refresh:Zt,tenant:t[3].tenant,user:t[3].user}),ne=t=>({err:4&t,prop:4&t,tenant:8&t,user:8&t}),oe=t=>({err:t[12],prop:t[11],refresh:Zt,tenant:t[3].tenant,user:t[3].user}),ae=t=>({prop:4&t,tenant:8&t,user:8&t}),se=t=>({prop:t[11],refresh:Zt,tenant:t[3].tenant,user:t[3].user}),ie=t=>({prop:4&t,tenant:8&t,user:8&t}),re=t=>({prop:t[11],refresh:Zt,tenant:t[3].tenant,user:t[3].user});function ce(t){let e;const n=t[8].init,o=m(n,t,t[7],ee);return{c(){o&&o.c()},m(t,n){o&&o.m(t,n),e=!0},p(t,a){o&&o.p&&(!e||140&a)&&$(o,n,t,t[7],a,te,ee)},i(t){e||(H(o,t),e=!0)},o(t){W(o,t),e=!1},d(t){o&&o.d(t)}}}function le(t){let e,n,o,a={ctx:t,current:null,token:null,hasCatch:!0,pending:fe,then:de,catch:ue,value:11,error:12,blocks:[,,,]};return K(n=t[2],a),{c(){e=b(),a.block.c()},m(t,n){w(t,e,n),a.block.m(t,a.anchor=n),a.mount=()=>e.parentNode,a.anchor=e,o=!0},p(e,o){t=e,a.ctx=t,4&o&&n!==(n=t[2])&&K(n,a)||G(a,t,o)},i(t){o||(H(a.block),o=!0)},o(t){for(let t=0;t<3;t+=1){W(a.blocks[t])}o=!1},d(t){t&&v(e),a.block.d(t),a.token=null,a=null}}}function ue(t){let e;const n=t[8].error,o=m(n,t,t[7],oe);return{c(){o&&o.c()},m(t,n){o&&o.m(t,n),e=!0},p(t,a){o&&o.p&&(!e||140&a)&&$(o,n,t,t[7],a,ne,oe)},i(t){e||(H(o,t),e=!0)},o(t){W(o,t),e=!1},d(t){o&&o.d(t)}}}function de(t){let e;const n=t[8].default,o=m(n,t,t[7],se);return{c(){o&&o.c()},m(t,n){o&&o.m(t,n),e=!0},p(t,a){o&&o.p&&(!e||140&a)&&$(o,n,t,t[7],a,ae,se)},i(t){e||(H(o,t),e=!0)},o(t){W(o,t),e=!1},d(t){o&&o.d(t)}}}function fe(t){let e,n,o,a={ctx:t,current:null,token:null,hasCatch:!1,pending:me,then:he,catch:pe,value:10,blocks:[,,,]};return K(n=t[5](t[1]),a),{c(){e=b(),a.block.c()},m(t,n){w(t,e,n),a.block.m(t,a.anchor=n),a.mount=()=>e.parentNode,a.anchor=e,o=!0},p(e,o){t=e,a.ctx=t,2&o&&n!==(n=t[5](t[1]))&&K(n,a)||G(a,t,o)},i(t){o||(H(a.block),o=!0)},o(t){for(let t=0;t<3;t+=1){W(a.blocks[t])}o=!1},d(t){t&&v(e),a.block.d(t),a.token=null,a=null}}}function pe(t){return{c:i,m:i,p:i,i:i,o:i,d:i}}function he(t){let e;const n=t[8].load,o=m(n,t,t[7],re);return{c(){o&&o.c()},m(t,n){o&&o.m(t,n),e=!0},p(t,a){o&&o.p&&(!e||140&a)&&$(o,n,t,t[7],a,ie,re)},i(t){e||(H(o,t),e=!0)},o(t){W(o,t),e=!1},d(t){o&&o.d(t)}}}function me(t){return{c:i,m:i,p:i,i:i,o:i,d:i}}function ge(t){let e,n,o,a,s,r,c;const l=[le,ce],f=[];function p(t,e){return t[2]?0:1}return n=p(t),o=f[n]=l[n](t),{c(){e=x("section"),o.c(),_(e,"class","data")},m(o,l){var u;w(o,e,l),f[n].m(e,null),s=!0,r||(c=[(u=a=Yt.call(null,e,t[0]),u&&d(u.destroy)?u.destroy:i),k(e,"data",t[9])],r=!0)},p(t,[s]){let i=n;n=p(t),n===i?f[n].p(t,s):(U(),W(f[i],1,1,(()=>{f[i]=null})),z(),o=f[n],o?o.p(t,s):(o=f[n]=l[n](t),o.c()),H(o,1),o.m(e,null)),a&&d(a.update)&&1&s&&a.update.call(null,t[0])},i(t){s||(H(o),s=!0)},o(t){W(o),s=!1},d(t){t&&v(e),f[n].d(),r=!1,u(c)}}}function $e(t,e,o){let a,{$$slots:s={},$$scope:i}=e;const{loggedIn:r}=n;var c,l;c=r,l=t=>o(3,a=t),t.$$.on_destroy.push(p(c,l));let u,{options:d}=e,{update:f=!1}=e,{loadingDelay:h=250}=e;f&&(d={update:f,modulePath:window.location.pathname.split("/")[1]||"/"});return t.$$set=t=>{"options"in t&&o(0,d=t.options),"update"in t&&o(6,f=t.update),"loadingDelay"in t&&o(1,h=t.loadingDelay),"$$scope"in t&&o(7,i=t.$$scope)},[d,h,u,a,r,t=>new Promise((e=>setTimeout(e,t))),f,i,s,({detail:t})=>o(2,u=t.data)]}function ye(t){let e,n;const o=[{class:"full-width"},{style:t[0]},{inputClass:t[1]||t[5]},{multiline:!0},{id:t[2]},{value:t[3]},{rows:t[4]},t[9]];let a={};for(let t=0;t<o.length;t+=1)a=r(a,o[t]);return e=new t[6]({props:a}),e.$on("change",t[7]),e.$on("focus",t[8]),{c(){Q(e.$$.fragment)},m(t,o){X(e,t,o),n=!0},p(t,[n]){const a=575&n?function(t,e){const n={},o={},a={$$scope:1};let s=t.length;for(;s--;){const i=t[s],r=e[s];if(r){for(const t in i)t in r||(o[t]=1);for(const t in r)a[t]||(n[t]=r[t],a[t]=1);t[s]=r}else for(const t in i)a[t]=1}for(const t in o)t in n||(n[t]=void 0);return n}(o,[o[0],1&n&&{style:t[0]},34&n&&{inputClass:t[1]||t[5]},o[3],4&n&&{id:t[2]},8&n&&{value:t[3]},16&n&&{rows:t[4]},512&n&&(s=t[9],"object"==typeof s&&null!==s?s:{})]):{};var s;e.$set(a)},i(t){n||(H(e.$$.fragment,t),n=!0)},o(t){W(e.$$.fragment,t),n=!1},d(t){Y(e,t)}}}function we(t,e,n){const o=["noForm","id","value","style","rows","classId"];let s=y(e,o);const i=T(),{TextField:c}=a;let{noForm:l=""}=e,{id:u}=e,{value:d}=e,{style:f=""}=e,{rows:p=3}=e,{classId:h}=e;f+=" padding-bottom: .5em;";const m=5*(p>1),g=()=>{const t=document.getElementById(u);if(!t)return;const{style:e,scrollHeight:n}=t;n&&(e.height=`${n+m}px`)};return t.$$set=t=>{e=r(r({},e),function(t){const e={};for(const n in t)"$"!==n[0]&&(e[n]=t[n]);return e}(t)),n(9,s=y(e,o)),"noForm"in t&&n(1,l=t.noForm),"id"in t&&n(2,u=t.id),"value"in t&&n(3,d=t.value),"style"in t&&n(0,f=t.style),"rows"in t&&n(4,p=t.rows),"classId"in t&&n(5,h=t.classId)},t.$$.update=()=>{8&t.$$.dirty&&d&&setTimeout(g)},[f,l,u,d,p,h,c,({detail:{value:t}})=>i("blur",{value:t}),()=>i("onFocus"),s]}function ve(t){let e,n;return e=new s({props:{style:"min-width: 25em; overflow-y: hidden; resize: none;",id:t[0],value:t[1]}}),{c(){Q(e.$$.fragment)},m(t,o){X(e,t,o),n=!0},p(t,[n]){const o={};1&n&&(o.id=t[0]),2&n&&(o.value=t[1]),e.$set(o)},i(t){n||(H(e.$$.fragment,t),n=!0)},o(t){W(e.$$.fragment,t),n=!1},d(t){Y(e,t)}}}function xe(t,e,n){let{id:o}=e,{value:a}=e;return t.$$set=t=>{"id"in t&&n(0,o=t.id),"value"in t&&n(1,a=t.value)},[o,a]}class be extends et{constructor(t){super(),tt(this,t,xe,ve,f,{id:0,value:1})}}function ke(t){let e,n,o;function a(e){t[7](e)}let s={id:t[5]};return void 0!==t[2]&&(s.value=t[2]),e=new be({props:s}),I.push((()=>J(e,"value",a))),{c(){Q(e.$$.fragment)},m(t,n){X(e,t,n),o=!0},p(t,o){const a={};!n&&4&o&&(n=!0,a.value=t[2],F((()=>n=!1))),e.$set(a)},i(t){o||(H(e.$$.fragment,t),o=!0)},o(t){W(e.$$.fragment,t),o=!1},d(t){Y(e,t)}}}function _e(t){let e,n;return e=new t[4]({props:{title:t[0],closeCallback:t[10],$$slots:{default:[ke]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},m(t,o){X(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.title=t[0]),1024&n&&(o.closeCallback=t[10]),2052&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(H(e.$$.fragment,t),n=!0)},o(t){W(e.$$.fragment,t),n=!1},d(t){Y(e,t)}}}function Se(t){let e,n,o;function a(e){t[8](e)}let s={$$slots:{default:[_e,({closeCallback:t})=>({10:t}),({closeCallback:t})=>t?1024:0]},$$scope:{ctx:t}};return void 0!==t[1]&&(s.open=t[1]),e=new t[3]({props:s}),I.push((()=>J(e,"open",a))),e.$on("change",t[9]),{c(){Q(e.$$.fragment)},m(t,n){X(e,t,n),o=!0},p(t,[o]){const a={};3077&o&&(a.$$scope={dirty:o,ctx:t}),!n&&2&o&&(n=!0,a.open=t[1],F((()=>n=!1))),e.$set(a)},i(t){o||(H(e.$$.fragment,t),o=!0)},o(t){W(e.$$.fragment,t),o=!1},d(t){Y(e,t)}}}function De(t,e,n){const{Modal:o,Dialog:s}=a;let i,{title:r}=e,{showMessage:c}=e,l="";return c=t=>{n(2,l=[].concat(t).join("\n")),n(1,i=!0)},t.$$set=t=>{"title"in t&&n(0,r=t.title),"showMessage"in t&&n(6,c=t.showMessage)},[r,i,l,o,s,"modalDialog",c,function(t){l=t,n(2,l)},function(t){i=t,n(1,i)},function(e){!function(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach((t=>t(e)))}(t,e)}]}t("version","0.2.77");const Ee=window.sessionStorage;Ee.clear();t("Storage",{getItem:t=>Ee.getItem(t),setItem:(t,e)=>Ee.setItem(t,e)});t("toasts",function(){const t=it([]);function e(e,n,o="default"){n||(n=3e3),t.update((t=>t.length>3?t:t=[...t,{id:"_"+Math.random().toString(36).substring(2,9),type:o,msg:e,timeout:n}]))}const n=rt(t,((e,n)=>{if(n(e),e&&e.length>0){const n=setTimeout((()=>{t.update((t=>(console.log("shift"),t.shift(),t)))}),e[0].timeout);return()=>{clearTimeout(n)}}})),{subscribe:o}=n;return{subscribe:o,send:e,default:(t,n)=>e(t,n,"default"),success:(t,n)=>e(t,n,"success"),failed:(t,n)=>e(t,n,"failed")}}()),t("LinkIcon",class extends et{constructor(t){var e,n,o;super(),document.getElementById("svelte-1jng2dw-style")||((o=x("style")).id="svelte-1jng2dw-style",o.textContent=".red.svelte-1jng2dw{background-color:var(--m-color-red-light)}.blue.svelte-1jng2dw{background-color:var(--m-color-blue-light)}.green.svelte-1jng2dw{background-color:var(--m-color-green-light)}.icon.svelte-1jng2dw{max-height:1.2em}",e=document.head,n=o,e.appendChild(n)),tt(this,t,ot,nt,f,{title:0,link:3,color:1})}}),t("Page",class extends et{constructor(t){super(),tt(this,t,$e,ge,f,{options:0,update:6,loadingDelay:1})}}),t("Request",Lt),t("TextArea",class extends et{constructor(t){super(),tt(this,t,we,ye,f,{noForm:1,id:2,value:3,style:0,rows:4,classId:5})}}),t("ModalDialog",class extends et{constructor(t){super(),tt(this,t,De,Se,f,{title:0,showMessage:6})}})}}}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@enablerr-ui/form",
3
3
  "description": "enablerr - the Next Enterprise Solution",
4
- "version": "0.2.75",
4
+ "version": "0.2.77",
5
5
  "os": [
6
6
  "darwin",
7
7
  "linux"