UNPKG

@nodeject/ui-components

Version:

UI library for non-trivial components

1 lines 269 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("schedio-ui-components",[],t):"object"==typeof exports?exports["schedio-ui-components"]=t():e["schedio-ui-components"]=t()}(window,function(){return o={},n.m=r=[function(e,t){e.exports=require("react")},function(e,t){e.exports=require("@ant-design/icons")},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t){e.exports=require("classcat")},function(e,t){e.exports=require("immer")},function(e,t){e.exports=require("antd/lib/button")},function(e,t){e.exports=require("react-responsive")},function(e,t,r){"use strict";var o=r(82);r.d(t,"a",function(){return o.a}),r.d(t,"b",function(){return o.b}),r.d(t,"c",function(){return o.c}),r.d(t,"d",function(){return o.d}),r.d(t,"e",function(){return o.e}),r.d(t,"f",function(){return o.f}),r.d(t,"g",function(){return o.g}),r.d(t,"h",function(){return o.h}),r.d(t,"i",function(){return o.i}),r.d(t,"j",function(){return o.j}),r.d(t,"k",function(){return o.k}),r.d(t,"l",function(){return o.l}),r.d(t,"m",function(){return o.m}),r.d(t,"n",function(){return o.n}),r.d(t,"o",function(){return o.o}),r.d(t,"p",function(){return o.p}),r.d(t,"q",function(){return o.q}),r.d(t,"r",function(){return o.r}),r.d(t,"s",function(){return o.s}),r.d(t,"t",function(){return o.t}),r.d(t,"u",function(){return o.u}),r.d(t,"v",function(){return o.v}),r.d(t,"w",function(){return o.w}),r.d(t,"x",function(){return o.x}),r.d(t,"y",function(){return o.y}),r.d(t,"z",function(){return o.z}),r.d(t,"A",function(){return o.A}),r.d(t,"B",function(){return o.B}),r.d(t,"C",function(){return o.C}),r.d(t,"D",function(){return o.D}),r.d(t,"E",function(){return o.E}),r.d(t,"F",function(){return o.F}),r.d(t,"G",function(){return o.G}),r.d(t,"H",function(){return o.H}),r.d(t,"I",function(){return o.I}),r.d(t,"J",function(){return o.J}),r.d(t,"K",function(){return o.K}),r.d(t,"L",function(){return o.L}),r.d(t,"M",function(){return o.M}),r.d(t,"N",function(){return o.N}),r.d(t,"O",function(){return o.O}),r.d(t,"P",function(){return o.P}),r.d(t,"Q",function(){return o.Q}),r.d(t,"R",function(){return o.R}),r.d(t,"S",function(){return o.S}),r.d(t,"T",function(){return o.T}),r.d(t,"U",function(){return o.U}),r.d(t,"V",function(){return o.V}),r.d(t,"W",function(){return o.W}),r.d(t,"X",function(){return o.X}),r.d(t,"Y",function(){return o.Y}),r.d(t,"Z",function(){return o.Z}),r.d(t,"ab",function(){return o.ab}),r.d(t,"bb",function(){return o.bb}),r.d(t,"cb",function(){return o.cb}),r.d(t,"db",function(){return o.db}),r.d(t,"eb",function(){return o.eb}),r.d(t,"fb",function(){return o.fb}),r.d(t,"gb",function(){return o.gb}),r.d(t,"hb",function(){return o.hb}),r.d(t,"ib",function(){return o.ib}),r.d(t,"jb",function(){return o.jb}),r.d(t,"kb",function(){return o.kb}),r.d(t,"lb",function(){return o.lb}),r.d(t,"mb",function(){return o.mb}),r.d(t,"nb",function(){return o.nb}),r.d(t,"ob",function(){return o.ob}),r.d(t,"pb",function(){return o.pb}),r.d(t,"qb",function(){return o.qb}),r.d(t,"rb",function(){return o.rb}),r.d(t,"sb",function(){return o.sb}),r.d(t,"tb",function(){return o.tb}),r.d(t,"ub",function(){return o.ub}),r.d(t,"vb",function(){return o.vb}),r.d(t,"wb",function(){return o.wb}),r.d(t,"xb",function(){return o.xb}),r.d(t,"yb",function(){return o.yb}),r.d(t,"zb",function(){return o.zb}),r.d(t,"Ab",function(){return o.Ab}),r.d(t,"Bb",function(){return o.Bb}),r.d(t,"Cb",function(){return o.Cb}),r.d(t,"Db",function(){return o.Db}),r.d(t,"Eb",function(){return o.Eb}),r.d(t,"Fb",function(){return o.Fb}),r.d(t,"Gb",function(){return o.Gb}),r.d(t,"Hb",function(){return o.Hb}),r.d(t,"Ib",function(){return o.Ib}),r.d(t,"Jb",function(){return o.Jb}),r.d(t,"Kb",function(){return o.Kb}),r.d(t,"Lb",function(){return o.Lb}),r.d(t,"Mb",function(){return o.Mb}),r.d(t,"Nb",function(){return o.Nb}),r.d(t,"Ob",function(){return o.Ob}),r.d(t,"Pb",function(){return o.Pb}),r.d(t,"Qb",function(){return o.Qb}),r.d(t,"Rb",function(){return o.Rb}),r.d(t,"Sb",function(){return o.Sb}),r.d(t,"Tb",function(){return o.Tb}),r.d(t,"Ub",function(){return o.Ub}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t){e.exports=require("antd/lib/typography")},function(e,s,u){"use strict";(function(e){var t,r,o,n,a;u.d(s,"d",function(){return r}),u.d(s,"a",function(){return o}),u.d(s,"c",function(){return d}),u.d(s,"b",function(){return l}),(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,(a=r=r||{}).Error="error",a.Loading="loading",a.Success="success",(n=o=o||{}).create="create",n.delete="delete",n.move="move";var i,c,d="list",l="item";(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(r,"ServerEventStatus","D:\\code\\schedio\\uic\\src\\dnd-lists\\dtos.ts"),i.register(o,"BoardEvent","D:\\code\\schedio\\uic\\src\\dnd-lists\\dtos.ts"),i.register(d,"DroppableListType","D:\\code\\schedio\\uic\\src\\dnd-lists\\dtos.ts"),i.register(l,"DroppableItemType","D:\\code\\schedio\\uic\\src\\dnd-lists\\dtos.ts")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)}).call(this,u(2)(e))},function(e,a,i){"use strict";(function(e){var t;i.d(a,"a",function(){return n}),(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var r,o,n={content:"SchedioLayoutContent",footer:"SchedioLayoutFooter",header:"SchedioLayoutHeader",layout:"SchedioLayout",sider:"SchedioLayoutSider"};(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&r.register(n,"displayNames","D:\\code\\schedio\\uic\\src\\schedio-layout\\types.ts"),(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(e)}).call(this,i(2)(e))},function(e,t,r){"use strict";var o=r(92);r.d(t,"a",function(){return o.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t){e.exports=require("lodash")},function(e,t,r){"use strict";var o=r(139);r.d(t,"a",function(){return o.a}),r.d(t,"b",function(){return o.b}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t,r){"use strict";var o=r(97);r.d(t,"a",function(){return o.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,i,c){"use strict";(function(e){var t,r,o,n,a;c.d(i,"a",function(){return r}),(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,(a=r=r||{})[a.Org=0]="Org",a[a.List=1]="List",(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(r,"LayoutStyle","D:\\code\\schedio\\uic\\src\\dnd-tree\\dtos.ts"),(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&n(e)}).call(this,c(2)(e))},function(e,t){e.exports=require("antd/lib/typography/style/index.js")},function(e,p,m){"use strict";(function(e){m.d(p,"a",function(){return u});var t,r=m(20),o=m.n(r),n=m(0);(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;function a(e){var t=this.selection.blocks();if(t.length){var r=t[0],o="N",n=this.html.defaultTag();r.tagName.toLowerCase()!=n&&r!=this.el&&(o=r.tagName)}return 0<=["LI","TD","TH"].indexOf(o)&&(o="N"),o.toLowerCase()==e}var i,c=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});o.a.DefineIcon("code",{NAME:"code",PATH:"m 16 3 h 3 c 1 0 1 1 1 1 v 16 c 0 0 0 1 -1 1 h -16 c -1 0 -1 -1 -1 -1 v -3 h 2 v 2 h 14 v -14 h -2 Z"}),o.a.RegisterCommand("code",{title:"Block code",callback:function(e){a.apply(this,["pre"])?this.paragraphFormat.apply("N"):this.paragraphFormat.apply("pre")},refresh:function(e){e.toggleClass("fr-active",a.apply(this,[e.data("cmd")]))}}),o.a.DefineIcon("codeBlock",{NAME:"Block code",PATH:"M 18 5 h 3 c 1 0 1 1 1 1 v 14 c 0 0 0 1 -1 1 h -16 c -1 0 -1 -1 -1 -1 v -3 h 2 v 2 h 14 v -12 h -2 Z m -0.5 4 v 0.255 a 0.595 0.595 90 0 1 -0.17 0.425 l -3.145 3.145 a 0.34 0.34 90 0 1 -0.595 0 l -0.51 -0.51 a 0.34 0.34 90 0 1 0 -0.51 l 2.635 -2.635 l -2.635 -2.635 a 0.34 0.34 90 0 1 0 -0.51 l 0.51 -0.51 a 0.34 0.34 90 0 1 0.595 0 l 3.145 3.145 a 0.595 0.595 90 0 1 0.17 0.425 z m -13.6 0.17 l 2.635 -2.635 a 0.34 0.34 90 0 0 0 -0.51 l -0.595 -0.51 a 0.34 0.34 90 0 0 -0.51 0 l -3.145 3.145 a 0.595 0.595 90 0 0 -0.17 0.425 v 0.255 a 0.595 0.595 90 0 0 0.17 0.425 l 3.145 3.145 a 0.34 0.34 90 0 0 0.595 0 l 0.51 -0.51 a 0.34 0.34 90 0 0 0 -0.51 z m 8.5 -5.865 l -0.765 -0.255 a 0.425 0.425 90 0 0 -0.51 0.255 l -4.08 11.305 a 0.34 0.34 90 0 0 0.255 0.51 l 0.765 0.255 a 0.425 0.425 90 0 0 0.51 -0.255 l 4.08 -11.305 a 0.34 0.34 90 0 0 -0.255 -0.51 z"}),o.a.RegisterCommand("codeBlock",{title:"Block code",callback:function(e){a.apply(this,["pre"])?this.paragraphFormat.apply("N"):this.paragraphFormat.apply("pre")},refresh:function(e){e.toggleClass("fr-active",a.apply(this,[e.data("cmd")]))}}),o.a.DefineIcon("send",{NAME:"Send",PATH:"M 2.1 18.9 l 18.9 -8.4 l -18.9 -8.4 v 6.3 l 13.3 2.1 l -13.3 2.1 v 6.3 z"}),o.a.RegisterCommand("send",{icon:"send",title:"Send",undo:!1,callback:function(){this.save.save()},refresh:function(e){var t=this.html.get().replace('<p data-f-id="pbf" style="text-align: center; font-size: 14px; margin-top: 30px; opacity: 0.65; font-family: sans-serif;">Powered by <a href="https://www.froala.com/wysiwyg-editor?pb=1" title="Schedio Editor">Schedio Editor</a></p>',"").replace('<a id="fr-logo" href="https://froala.com/wysiwyg-editor" target="_blank" title="Schedio WYSIWYG HTML Editor"><span>Powered by</span><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 822.8 355.33"><defs><style>.fr-logo{fill:#b1b2b7;}</style></defs><title>Schedio</title><path class="fr-logo" d="M123.58,78.65A16.16,16.16,0,0,0,111.13,73H16.6C7.6,73,0,80.78,0,89.94V128.3a16.45,16.45,0,0,0,32.9,0V104.14h78.5A15.63,15.63,0,0,0,126.87,91.2,15.14,15.14,0,0,0,123.58,78.65Z"/><path class="fr-logo" d="M103.54,170a16.05,16.05,0,0,0-11.44-4.85H15.79A15.81,15.81,0,0,0,0,180.93v88.69a16.88,16.88,0,0,0,5,11.92,16,16,0,0,0,11.35,4.7h.17a16.45,16.45,0,0,0,16.41-16.6v-73.4H92.2A15.61,15.61,0,0,0,107.89,181,15.1,15.1,0,0,0,103.54,170Z"/><path class="fr-logo" d="M233,144.17c-5.29-6.22-16-7.52-24.14-7.52-16.68,0-28.72,7.71-36.5,23.47v-5.67a16.15,16.15,0,1,0-32.3,0v115.5a16.15,16.15,0,1,0,32.3,0v-38.7c0-19.09,3.5-63.5,35.9-63.5a44.73,44.73,0,0,1,5.95.27h.12c12.79,1.2,20.06-2.73,21.6-11.69C236.76,151.48,235.78,147.39,233,144.17Z"/><path class="fr-logo" d="M371.83,157c-13.93-13.11-32.9-20.33-53.43-20.33S279,143.86,265.12,157c-14.67,13.88-22.42,32.82-22.42,54.77,0,21.68,8,41.28,22.4,55.2,13.92,13.41,32.85,20.8,53.3,20.8s39.44-7.38,53.44-20.79c14.55-13.94,22.56-33.54,22.56-55.21S386.39,170.67,371.83,157Zm-9.73,54.77c0,25.84-18.38,44.6-43.7,44.6s-43.7-18.76-43.7-44.6c0-25.15,18.38-43.4,43.7-43.4S362.1,186.59,362.1,211.74Z"/><path class="fr-logo" d="M552.7,138.14a16.17,16.17,0,0,0-16,16.3v1C526.41,143.85,509,136.64,490,136.64c-19.83,0-38.19,7.24-51.69,20.4C424,171,416.4,190,416.4,212c0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,552.7,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C513.73,168.34,536.4,183.55,536.4,211.74Z"/><path class="fr-logo" d="M623.5,61.94a16.17,16.17,0,0,0-16,16.3v191.7a16.15,16.15,0,1,0,32.3,0V78.24A16.32,16.32,0,0,0,623.5,61.94Z"/><path class="fr-logo" d="M806.5,138.14a16.17,16.17,0,0,0-16,16.3v1c-10.29-11.63-27.74-18.84-46.7-18.84-19.83,0-38.19,7.24-51.69,20.4-14.33,14-21.91,33-21.91,55,0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,806.5,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C767.53,168.34,790.2,183.55,790.2,211.74Z"/></svg></a>',""),r=(new DOMParser).parseFromString(t,"text/html").documentElement.textContent.trim();e.toggleClass("fr-disabled",""===r)},refreshAfterCallback:!0}),o.a.RegisterShortcut(o.a.KEYCODE.ENTER,"send",null,"Save",!1,!1);var d,l,s,u=(s=n.Component,c(f,s),f.prototype.componentWillMount=function(){this.tag=this.props.tag||this.defaultTag},f.prototype.componentDidMount=function(){var e=this.el.tagName.toLowerCase();-1!=this.SPECIAL_TAGS.indexOf(e)&&(this.tag=e,this.hasSpecialTag=!0),this.props.onManualControllerReady?this.generateManualController():this.createEditor()},f.prototype.componentWillUnmount=function(){this.destroyEditor()},f.prototype.componentDidUpdate=function(){JSON.stringify(this.oldModel)!=JSON.stringify(this.props.model)&&this.setContent()},f.prototype.createEditor=function(){var e=this;if(!this.editorInitialized&&(this.config=this.props.config||this.config,this.element=this.el,this.props.model&&(this.element.innerHTML=this.props.model),this.setContent(!0),this.registerEvent("initialized",this.config.events&&this.config.events.initialized),this.config.events||(this.config.events={}),this.config.events.initialized=function(){return e.initListeners()},this.editor=new o.a(this.element,this.config),this._initEvents))for(var t=0;t<this._initEvents.length;t++)this._initEvents[t].call(this.editor)},f.prototype.setContent=function(e){!this.props.model&&""!=this.props.model||(this.oldModel=this.props.model,this.hasSpecialTag?this.setSpecialTagContent():this.setNormalTagContent(e))},f.prototype.setNormalTagContent=function(e){var t=this,r=this;function o(){r.editor.html&&r.editor.html.set(r.props.model||""),r.editorInitialized&&r.editor.undo&&(r.editor.undo.reset(),r.editor.undo.saveStep())}e?this.config.initOnClick?(this.registerEvent("initializationDelayed",function(){o()}),this.registerEvent("initialized",function(){t.editorInitialized=!0})):this.registerEvent("initialized",function(){t.editorInitialized=!0,o()}):o()},f.prototype.setSpecialTagContent=function(){var e=this.props.model;if(e){for(var t in e)e.hasOwnProperty(t)&&t!=this.INNER_HTML_ATTR&&this.element.setAttribute(t,e[t]);e.hasOwnProperty(this.INNER_HTML_ATTR)&&(this.element.innerHTML=e[this.INNER_HTML_ATTR])}},f.prototype.destroyEditor=function(){this.element&&(this.editor.destroy&&this.editor.destroy(),this.listeningEvents.length=0,this.element=null,this.editorInitialized=!1)},f.prototype.getEditor=function(){return this.element?this.editor:null},f.prototype.generateManualController=function(){var e=this,t={initialize:function(){return e.createEditor.call(e)},destroy:function(){return e.destroyEditor.call(e)},getEditor:function(){return e.getEditor.call(e)}};this.props.onManualControllerReady(t)},f.prototype.updateModel=function(){if(this.props.onModelChange){var e="";if(this.hasSpecialTag){for(var t=this.element.attributes,r={},o=0;o<t.length;o++){var n=t[o].name;this.config.reactIgnoreAttrs&&-1!=this.config.reactIgnoreAttrs.indexOf(n)||(r[n]=t[o].value)}this.element.innerHTML&&(r[this.INNER_HTML_ATTR]=this.element.innerHTML),e=r}else{var a=this.editor.html.get();"string"==typeof a&&(e=a)}this.oldModel=e,this.props.onModelChange(e)}},f.prototype.initListeners=function(){var e=this;this.editor.events.on("contentChanged",function(){e.updateModel()}),this.config.immediateReactModelUpdate&&this.editor.events.on("keyup",function(){e.updateModel()})},f.prototype.registerEvent=function(e,t){e&&t&&("initialized"==e?(this._initEvents||(this._initEvents=[]),this._initEvents.push(t)):(this.config.events||(this.config.events={}),this.config.events[e]=t))},f);function f(e){var t=s.call(this,e)||this;return t.tag=null,t.defaultTag="div",t.listeningEvents=[],t.element=null,t.editor=null,t.config={immediateReactModelUpdate:!1,reactIgnoreAttrs:null},t.editorInitialized=!1,t.SPECIAL_TAGS=["img","button","input","a"],t.INNER_HTML_ATTR="innerHTML",t.hasSpecialTag=!1,t.oldModel=null,t}(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(d.register(c,"__extends","D:\\code\\schedio\\uic\\src\\rich-text-editor\\react-editor\\SchedioEditorFunctionality.tsx"),d.register(a,"isActive","D:\\code\\schedio\\uic\\src\\rich-text-editor\\react-editor\\SchedioEditorFunctionality.tsx"),d.register(0,"lastId","D:\\code\\schedio\\uic\\src\\rich-text-editor\\react-editor\\SchedioEditorFunctionality.tsx"),d.register(u,"SchedioEditorFunctionality","D:\\code\\schedio\\uic\\src\\rich-text-editor\\react-editor\\SchedioEditorFunctionality.tsx")),(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&l(e)}).call(this,m(2)(e))},function(e,t){e.exports=require("@richardrout/react-smooth-dnd")},function(e,t,r){"use strict";var o=r(118);r.d(t,"a",function(){return o.a}),r.d(t,"b",function(){return o.b}),r.d(t,"g",function(){return o.c});var n=r(119);r.d(t,"h",function(){return n.a});var a=r(120);r.d(t,"f",function(){return a.a});var i=r(121);r.d(t,"c",function(){return i.a});var c=r(122);r.d(t,"e",function(){return c.a});var d=r(123);r.d(t,"d",function(){return d.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t){e.exports=require("@averystupidtest/editor")},function(e,t){e.exports=require("antd/lib/button/style/index.js")},function(e,t,r){"use strict";r.d(t,"k",function(){return o.a}),r.d(t,"o",function(){return n.c}),r.d(t,"n",function(){return n.b}),r.d(t,"a",function(){return n.a}),r.d(t,"b",function(){return a.a}),r.d(t,"l",function(){return a.b}),r.d(t,"c",function(){return i.a}),r.d(t,"m",function(){return i.b}),r.d(t,"j",function(){return c.a}),r.d(t,"d",function(){return d.a}),r.d(t,"e",function(){return l.a}),r.d(t,"f",function(){return s.a}),r.d(t,"g",function(){return u.a}),r.d(t,"h",function(){return f.a}),r.d(t,"i",function(){return p.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o=r(51),n=r(126),a=r(127),i=r(134),c=r(53),d=r(52),l=r(135),s=r(136),u=r(137),f=r(138),p=r(54);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t,r){"use strict";r.d(t,"a",function(){return o.a}),r.d(t,"b",function(){return o.b});var o=r(79);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature,"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t,r){"use strict";var o=r(101);r.d(t,"a",function(){return o.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t){e.exports=require("antd/lib/tooltip")},function(e,t,r){"use strict";var o=r(85);r.d(t,"a",function(){return o.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t,r){"use strict";var o=r(55);r.d(t,"a",function(){return o.a});var n=r(146);r.d(t,"b",function(){return n.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,f,p){"use strict";(function(e){p.d(f,"a",function(){return s});var t,r=p(4),R=p.n(r),o=p(58),F=p(0),n=p(34),q=p(15);(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e);function V(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}function Q(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var o=Array(e),n=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,c=a.length;i<c;i++,n++)o[n]=a[i];return o}function a(r){var o=Object(F.useRef)(0),e=Object(F.useState)(0),t=e[0],n=e[1];o.current=t,document.body.onmousedown=function(){n(function(e){return e+1})},document.body.onmouseup=function(){n(function(e){return e-1}),k(null),z(null)};var d=r.actions,a=r.activeNode,i=r.components,c=r.onNodeClicked,l=r.treeMode,s=U(U({},{canEditTreeStructure:!1,canExpandCollapse:!0}),r.treeOptions),u=r.treeData,f=Object(F.useState)(),p=f[0],m=f[1],b=Object(F.useState)({saveNewNode:null}),h=b[0],v=b[1],g=Object(F.useState)(r.treeData),y=g[0],L=g[1],x=Object(F.useState)({id:"",isExpanded:!1}),H=x[0],E=x[1],D=Object(F.useState)(Object.assign.apply(Object,Q([{}],r.treeData.nodes.map(function(e){var t;return(t={})[e.data.id]={isExpanded:!1},t})))),I=D[0],w=D[1],G=Object(F.useState)(Y(r.treeData.nodes)),C=G[0],S=G[1],_=Object(F.useState)(""),T=_[0],O=_[1];Object(F.useEffect)(function(){L(u),w(function(r){return Object.assign.apply(Object,Q([{}],u.nodes.map(function(e){var t;return(t={})[e.data.id]={isExpanded:r[e.data.id]},t})))})},[JSON.stringify(u.nodes)]),Object(F.useEffect)(function(){""===T&&""!==H.id&&w(function(e){return R()(e,function(e){e[H.id]={isExpanded:H.isExpanded}})})},[T]);var N=Object(F.useState)(null),M=N[0],k=N[1],P=Object(F.useRef)(null);function j(e){var t=r.actions.createNewNode(e);return m(t.data.id),w(function(e){return R()(e,function(e){e[t.data.id]={isExpanded:!1}})}),t}P.current=M,Object(F.useLayoutEffect)(function(){var e=R()(y,function(e){return Y(e.nodes)});S(e)},[JSON.stringify(y)]);var W,z=function(e){O(e)},A=function(e){return R()(e,function(e){var n=[],t=e.find(function(e){return null===e.data.parent});return function t(r,o){for(var e=B(r,o.data.id)-1;!n[e];)n.push([]);n[e].push(o),r.filter(function(e){return e.data.parent===o.data.id}).map(function(e){t(r,e)})}(e,t),[].concat.apply([],n)})},B=function(e,t){for(var r=1,o=e.find(function(e){return e.data.id===t});o.data.parent;)r+=1,o=e.find(function(e){return e.data.id===o.data.parent});return r};return{actions:{addChildNode:function(a){if(a){var i=j({data:{parent:a,layoutStyle:q.a.List}});L(function(n){return R()(n,function(e){var t,r=Z(a,C);if(0<r.length){var o=r[r.length-1].data.id;t=n.nodes.findIndex(function(e){return e.data.id===o})+1}else t=n.nodes.findIndex(function(e){return e.data.id===a})+1;e.nodes.splice(t,0,i)})}),d.addChildNode?v({saveNewNode:function(e){return d.addChildNode({component:a,newComponent:i.data.id,data:e}).then(function(){return m("")})}}):console.warn("actionsFromServer is not implemented. Please provide a actionsFromServer function")}},collapseNode:function(t){var e=R()(I,function(e){e[t].isExpanded=!1});w(e)},expandNode:function(t){var e=R()(I,function(e){e[t].isExpanded=!0});w(e)},toggleNode:function(t){var e=R()(I,function(e){e[t].isExpanded=!e[t].isExpanded});w(e)},createNewNode:j,deleteNode:function(t){var r=y.nodes.find(function(e){return e.data.id===t}),o=y.nodes.findIndex(function(e){return e.data.id===t});-1!==o&&r&&(L(function(e){return R()(e,function(e){var t=Z(r.data.id,C).length;e.nodes.splice(o,1+t)})}),d.deleteNode?d.deleteNode(t):console.warn("deleteNode is not implemented. Please provide a deleteNode function"))},insertSiblingBefore:function(o){var e=y.nodes.find(function(e){return e.data.id===o}).data.parent;if(e){var n=j({data:{layoutStyle:q.a.List,parent:e}});L(function(r){return R()(r,function(e){var t=r.nodes.findIndex(function(e){return e.data.id===o});e.nodes.splice(t,0,n)})}),d.insertSiblingBefore?v({saveNewNode:function(e){return d.insertSiblingBefore({component:o,newComponent:n.data.id,data:e}).then(function(){return m("")})}}):console.warn("actionsFromServer is not implemented. Please provide a actionsFromServer function")}},insertParent:function(i){var c;L(function(a){return R()(a,function(e){var t=a.nodes.find(function(e){return e.data.id===i}),r=j({data:{layoutStyle:q.a.List,parent:t.data.parent}});c=r.data.id;var o=R()(t,function(e){e.data.parent=r.data.id}),n=a.nodes.findIndex(function(e){return e.data.id===i});e.nodes.splice(n,1,o),e.nodes.splice(n-1,0,r)})}),d.insertParent?v({saveNewNode:function(e){return d.insertParent({component:i,newComponent:c,data:e}).then(function(){return m("")})}}):console.warn("insertParent is not implemented. Please provide a insertParent function")},insertSiblingAfter:function(o){var e=y.nodes.find(function(e){return e.data.id===o}).data.parent;if(e){var n=j({data:{layoutStyle:q.a.List,parent:e}});L(function(r){return R()(r,function(e){var t=r.nodes.findIndex(function(e){return e.data.id===o});e.nodes.splice(t+1,0,n)})}),d.insertSiblingAfter?v({saveNewNode:function(e){return d.insertSiblingAfter({component:o,newComponent:n.data.id,data:e}).then(function(){return m("")})}}):console.warn("actionsFromServer is not implemented. Please provide a actionsFromServer function")}},moveNode:function(e){var t,r,o=e.index,n=e.parentContainerNode,a=e.droppedNode,i=(a.children,V(a,["children"]));if(0===n.children.length)r=y.nodes.find(function(e){return e.data.id===n.data.id});else if(o>n.children.length-1){var c=y.nodes.findIndex(function(e){return e.data.id===n.children[o-1].data.id});r=y.nodes[c+1]||y.nodes[c]}else r=y.nodes.find(function(e){return e.data.id===n.children[o].data.id});i.data.id!==(null===(t=n.children[o])||void 0===t?void 0:t.data.id)&&(L(function(e){var t=R()(i,function(e){return U(U({},e),{data:U(U({},e.data),{parent:n.data.id})})});return{nodes:function(e){var t,r,o,n=e.arr,a=e.id,i=e.toId,c=e.newElement,d=n.find(function(e){return e.data.id===a}),l=n.find(function(e){return e.data.id===i}),s=n.findIndex(function(e){return e.data.id===a}),u=(o=(t=n)[r=s],{array:R()(t,function(e){return e.splice(r,1)[0],e}),removedElement:o}).array,f=i?u.findIndex(function(e){return e.data.id===i}):u.length,p=f;f===u.length-1&&(p=f+1),s<f&&(p=d.data.parent===l.data.parent?f+1:f),s===f&&(p=d.data.parent===l.data.parent?f+1:f),f<s&&(p=f),c.data.parent;var m,b,h,v=(m=u,b=p,h=c,R()(m,function(e){e.splice(b,0,h)}));return A(v)}({arr:e.nodes,id:i.data.id,toId:r.data.id,newElement:t})}}),d.moveNode?d.moveNode({index:o,nodeKey:i.data.id,parentKey:n.data.id}):console.warn("insertParent is not implemented. Please provide a insertParent function")),z("")},saveNewNode:h.saveNewNode,setNodeDraggingId:z},activeNode:a,events:{onMouseDownHandle:function e(t){"dragdrop"===l&&t!==P.current&&(k(t),W=setTimeout(function(){P.current&&0!==o.current&&(e(t),E({id:t,isExpanded:I[t].isExpanded}),z(t))},100))},onMouseUpHandle:function(e){"dragdrop"===l&&(k(null),W&&clearTimeout(W),z(null))}},components:i,onNodeClicked:c,treeMode:l,treeOptions:s,state:{expandedNodes:I,draggingId:T,newNodeId:p,unflattenedTreeData:C}}}var i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},U=function(){return(U=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};i(a,"useRef{mouseDownRef}\nuseState{_a(0)}\nuseState{_b}\nuseState{_c({ saveNewNode: null })}\nuseState{_d(props.treeData)}\nuseState{_e({ id: '', isExpanded: false })}\nuseState{_f(Object.assign.apply(Object, __spreadArrays([{}], props.treeData.nodes.map(function (item) {\r\n var _a;\r\n return _a = {},\r\n _a[item.data.id] = { isExpanded: false },\r\n _a;\r\n }))))}\nuseState{_g(getUnflattenedTreeData(props.treeData.nodes))}\nuseState{_h('')}\nuseEffect{}\nuseEffect{}\nuseState{_j(null)}\nuseRef{isDragValidRef}\nuseLayoutEffect{}");function c(e,t){if(!e)return[];var r=t||[];return e.children.map(function(e){r.push(e),c(e,r)}),r}var d,l,s=Object(o.createContainer)(a),Y=function(e){return{nodes:Object(n.a)(e,{dataField:null,id:"data.id",parentId:"data.parent"})}},Z=function(o,e){var n=null;return function e(t){for(var r=0;r<t.length&&!n;r++){if(t[r].data.id===o){n=t[r];break}e(t[r].children)}}(e.nodes),c(n)},u=function(e,t){return t.split(".").reduce(function(e,t){return e[t]},e)};(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(d.register(U,"__assign","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(V,"__rest","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(Q,"__spreadArrays","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(a,"useDnDTree","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(s,"DnDTreeContainer","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(Y,"getUnflattenedTreeData","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(function e(t){var r=t.children.length;return 0<r?e(t.children[r-1]):t.data.id},"getDeepestDescendant","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(c,"getDescendants","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(Z,"getDescendantsFromFlatNode","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(function(t,e){return"string"==typeof t?e.nodes.findIndex(function(e){return e.data.id===t}):e.nodes.findIndex(function(e){return e.data.id===t.data.id})},"getNodeIndex","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(function(e){var t=e.index;return void 0===e.parent.children[t]},"isDroppedAsLastChild","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(function(e){return c(e).length+1},"branchNodeQty","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(function(e){return e+1},"indexAfterNode","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(function(e,t){return e.data.parent!==t.data.id},"isNodeInserted","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(function(e){var t=e.array,r=e.id,o=e.value;return"string"==typeof o?Object.assign.apply(Object,Q([{}],t.map(function(e){var t;return(t={})[u(e,r)]={data:u(e,o)},t}))):Object.assign.apply(Object,Q([{}],t.map(function(e){var t;return(t={})[u(e,r)]=!0,t})))},"arrayToObject","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts"),d.register(u,"getItemNestedProperty","D:\\code\\schedio\\uic\\src\\dnd-tree\\hooks\\useDnDTree.ts")),(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&l(e)}).call(this,p(2)(e))},function(e,t,r){"use strict";var o=r(102);r.d(t,"a",function(){return o.a});var n=r(103);r.d(t,"b",function(){return n.a});var a=r(104);r.d(t,"c",function(){return a.a}),r.d(t,"d",function(){return a.b}),r(32),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,h,v){"use strict";(function(e){v.d(h,"b",function(){return u}),v.d(h,"a",function(){return b});var t,a=v(0),i=v(77),c=v(51);(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;function r(e,t){var r=(new DOMParser).parseFromString(e,"text/html");return t?s(e,b(r),t):e}function o(e){var t=null==e?void 0:e.replace('<p data-f-id="pbf" style="text-align: center; font-size: 14px; margin-top: 30px; opacity: 0.65; font-family: sans-serif;">Powered by <a href="https://www.Schedio.com/wysiwyg-editor?pb=1" title="Schedio Editor">Schedio Editor</a></p>',""),r=(new DOMParser).parseFromString(t,"text/html"),o=b?b(r):[];return p(t,o)}var n,d,l=function(){return(l=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},s=function(e,t,o){var n=e;return t.map(function(e){var t=f(e),r=o(t).Placeholder;n=m(n,e.outerHTML,Object(i.renderToString)(r))}),n},u={dbToHtml:r,htmlToDb:o},f=function(e){var t=e.getAttribute("id")||"",r=e.getAttribute("data-tribute-title")||"",o=e.getAttribute("data-tribute-type")||"";return{domId:t,organization:e.getAttribute("data-tribute-organization")||"",ppm:e.getAttribute("data-tribute-ppm")||"",title:r,type:o,wbsComponent:e.getAttribute("data-tribute-wbscomponent")||"",workItem:e.getAttribute("data-tribute-workitem")||""}},p=function(e,t){var n=e;return t.map(function(e){var t=f(e),r=l(l({},t),{domId:t.domId+"_"+parseInt(Math.random().toString(8).substr(2,9),10)}),o=a.createElement(c.a,l({},r));n=m(n,e.outerHTML,Object(i.renderToString)(o))}),n},m=function(e,t,r){return e.replace(t,r)},b=function(e){var t=e.getElementsByClassName("schedio-tribute-component"),r=[];return Array.from(t).forEach(function(e){r.push(e)}),r};(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(n.register(l,"__assign","D:\\code\\schedio\\uic\\src\\rich-text-editor\\parser.tsx"),n.register(r,"dbToHtml","D:\\code\\schedio\\uic\\src\\rich-text-editor\\parser.tsx"),n.register(s,"replaceHtmlComponentsWithPlaceholder","D:\\code\\schedio\\uic\\src\\rich-text-editor\\parser.tsx"),n.register(o,"htmlToDb","D:\\code\\schedio\\uic\\src\\rich-text-editor\\parser.tsx"),n.register(u,"parser","D:\\code\\schedio\\uic\\src\\rich-text-editor\\parser.tsx"),n.register(f,"getComponentParams","D:\\code\\schedio\\uic\\src\\rich-text-editor\\parser.tsx"),n.register(p,"replaceFullHtmlComponentsWithDbHtmlComponents","D:\\code\\schedio\\uic\\src\\rich-text-editor\\parser.tsx"),n.register(m,"replaceComponent","D:\\code\\schedio\\uic\\src\\rich-text-editor\\parser.tsx"),n.register(b,"getTributeComponentsFromHtml","D:\\code\\schedio\\uic\\src\\rich-text-editor\\parser.tsx")),(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&d(e)}).call(this,v(2)(e))},function(e,t,r){"use strict";var o=r(28);r.d(t,"a",function(){return o.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,f,p){"use strict";(function(e){p.d(f,"a",function(){return i});var t,r=p(5),c=p.n(r),o=(p(21),p(3)),d=p.n(o),l=p(0),s=p(203);(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var n,a,u={fontSize:"1.6rem",lineHeight:"1rem"},i=function(e){var t,r=e.onNewItemClicked,o=e.position,n=void 0!==e.isDisabled&&e.isDisabled,a=e.title||"+",i=d()(((t={})[s.newItemButton]=Boolean(s.newItemButton),t[e.className]=Boolean(e.className),t));return l.createElement("div",{className:i},l.createElement(c.a,{block:!0,size:"small",type:"primary",disabled:n,onClick:function(){return r(o)}},l.createElement("span",{style:u},a)))};(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(n.register(u,"btnStyle","D:\\code\\schedio\\uic\\src\\dnd-lists\\list\\components\\NewItemButton.tsx"),n.register(i,"NewItemButtonDefault","D:\\code\\schedio\\uic\\src\\dnd-lists\\list\\components\\NewItemButton.tsx")),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&a(e)}).call(this,p(2)(e))},function(e,l,s){"use strict";(function(e){s.d(l,"a",function(){return d});var t,r=s(5),m=s.n(r),o=(s(21),s(8)),n=s.n(o),b=(s(16),s(0)),h=s(24),v=s(7),g=s(207),y=s(209);(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e);var a,i,c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},L=n.a.Text,d=function(e){var t=e.onCancelNewItem,r=e.onSaveNewItem,o=e.saveButtonTitle,n=Object(b.useState)("New item"),a=n[0],i=n[1],c=Object(b.useState)(!1),d=c[0],l=c[1],s=Object(b.useState)(function(){return Math.random()}),u=s[0],f=s[1],p=Object(b.useCallback)(function(e){27===e.keyCode?t&&t():e.keyCode},[]);return Object(b.useEffect)(function(){return document.addEventListener("keydown",p,!1),function(){document.removeEventListener("keydown",p,!1)}},[]),Object(b.useEffect)(function(){l(void 0!==a)},[a]),b.createElement("div",{key:u,className:g.item},b.createElement("div",{className:y.newItem},b.createElement(h.a,{canEdit:!0,initialValue:a,focusOnMount:!0,onSave:function(e){i(e)},htmlTag:"span",editOnClick:!0,setCursorOnFocus:"selectAll"})),b.createElement(m.a,{type:"primary",onClick:function(){d&&(r(a),f(Math.random()),i("New item"))}},o||"Save"),b.createElement(m.a,{type:"link",onClick:t},b.createElement(L,{type:"secondary"},b.createElement(v.q,null))))};c(d,"useState{_a(initialValue)}\nuseState{_b(false)}\nuseState{_c(function () { return Math.random(); })}\nuseCallback{keyDown}\nuseEffect{}\nuseEffect{}"),(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(a.register(L,"Text","D:\\code\\schedio\\uic\\src\\dnd-lists\\item\\components\\NewItem.tsx"),a.register(d,"NewItemDefault","D:\\code\\schedio\\uic\\src\\dnd-lists\\item\\components\\NewItem.tsx")),(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&i(e)}).call(this,s(2)(e))},function(e,i,c){"use strict";(function(e){var t;c.d(i,"a",function(){return a}),(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var r,o,p=function(){return(p=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n={id:"id",parentId:"parentId",dataField:"data",childrenField:"children",throwChildrenFieldIfEmpty:!1,throwIfOrphans:!1},m=function(e,t){return t.split(".").reduce(function(e,t){return e[t]},e)};function a(d,e){void 0===e&&(e={});var l=p(p({},n),e),s=[],u={},f=e.throwIfOrphans?new Set:null;if(d)for(var t=function(e){var t,r,o,n=m(e,l.id),a=m(e,l.parentId),i=0===(null===(t=d.filter(function(e){return n===m(e,l.parentId)}))||void 0===t?void 0:t.length);Object.prototype.hasOwnProperty.call(u,n)||(u[n]=((t={})[l.childrenField]=[],t)),f&&f.delete(n),l.dataField?u[n][l.dataField]=e:l.throwChildrenFieldIfEmpty&&i?u[n]=p({},e):u[n]=p(p({},e),((r={})[l.childrenField]=u[n][l.childrenField],r));var c=u[n];null==a||""===a?s.push(c):(Object.prototype.hasOwnProperty.call(u,a)||(u[a]=((o={})[l.childrenField]=[],o),f&&f.add(a)),u[a][l.childrenField].push(c))},r=0,o=d;r<o.length;r++)t(o[r]);if(f&&f.size)throw new Error("The items array contains orphans that point to the following parentIds: ["+Array.from(f)+"]. These parentIds do not exist in the items array. Hint: prevent orphans to result in an error by passing the following option: { throwIfOrphans: false }");return s}(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(r.register(p,"__assign","D:\\code\\schedio\\uic\\src\\arrayToTree.ts"),r.register(n,"defaultConfig","D:\\code\\schedio\\uic\\src\\arrayToTree.ts"),r.register(m,"getItemNestedProperty","D:\\code\\schedio\\uic\\src\\arrayToTree.ts"),r.register(a,"arrayToTree","D:\\code\\schedio\\uic\\src\\arrayToTree.ts")),(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&o(e)}).call(this,c(2)(e))},function(e,t,r){"use strict";r.d(t,"a",function(){return o.a}),r.d(t,"c",function(){return n.a}),r.d(t,"b",function(){return a.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o=r(148),n=r(149),a=r(151);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t){e.exports=require("uuid")},function(e,t){e.exports=require("antd/lib/list")},function(e,u,f){"use strict";(function(e){f.d(u,"a",function(){return s});var t,r=f(8),o=f.n(r),i=(f(16),f(0)),n=f(56),c=f(189);(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var a,d,l=o.a.Text,s=function(e){var t=e.className,r=e.label,o=e.Link,n=e.onLinkClick,a=e.url;return a?i.createElement(o,{className:t,to:a,onClick:function(){n&&n(a)}},i.createElement(l,{className:c.breadcrumb,type:"secondary"},r)):i.createElement(l,{className:c.breadcrumb,type:"secondary"},r)};s.defaultProps={Link:n.Link},(a="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(a.register(l,"Text","D:\\code\\schedio\\uic\\src\\breadcrumbs\\Breadcrumb.tsx"),a.register(s,"Breadcrumb","D:\\code\\schedio\\uic\\src\\breadcrumbs\\Breadcrumb.tsx")),(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&d(e)}).call(this,f(2)(e))},function(e,u,f){"use strict";(function(e){f.d(u,"a",function(){return s});var t,r=f(1),o=f(158),m=f.n(o),n=(f(172),f(67)),b=f.n(n),a=(f(173),f(8)),i=f.n(a),h=(f(16),f(0)),v=f(56),g=f(45),y=f(26),L=f(193);(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e);var c,d,l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},x=i.a.Text,H=h.createElement(r.RightOutlined,null),s=function(r){var e=r.className,t=r.id,o=r.islinkListLoading,n=r.linkList,a=r.onDropDownClick,i=r.path,c=r.separatorRender||H,d=Object(y.a)(),l=d.active,s=d.toggleOn,u=d.toggleOff,f=void 0!==r.Link?r.Link:v.Link,p=h.createElement(g.a,{className:e,onClick:function(){a&&(a({id:t,url:i}),s()),!a&&n&&s()},active:l},h.createElement(x,{type:"secondary",className:L.separator},c));return 0<(null==n?void 0:n.length)?h.createElement(m.a,{onVisibleChange:function(e){e||u()},overlay:h.createElement(b.a,null,o?null:n.map(function(t){return h.createElement(b.a.Item,{key:""+t.url+t.label},h.createElement(f,{to:null==t?void 0:t.url,onClick:function(){return e=t.url,void(r.onLinkClick&&r.onLinkClick(e));var e}},t.label))})),trigger:["click"],visible:l},p):p};l(s,"useToggle{_a}",function(){return[y.a]}),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(c.register(x,"Text","D:\\code\\schedio\\uic\\src\\breadcrumbs\\Separator.tsx"),c.register(H,"separatorRenderDefault","D:\\code\\schedio\\uic\\src\\breadcrumbs\\Separator.tsx"),c.register(s,"Separator","D:\\code\\schedio\\uic\\src\\breadcrumbs\\Separator.tsx")),(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&d(e)}).call(this,f(2)(e))},function(e,t){e.exports=require("antd/lib/avatar")},function(e,t){e.exports=require("antd/lib/checkbox")},function(e,t){e.exports=require("antd/lib/tooltip/style/index.js")},function(e,p,m){"use strict";(function(e){m.d(p,"a",function(){return u}),m.d(p,"b",function(){return f});var t,r=m(8),o=m.n(r),n=(m(16),m(0));(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;function a(e,t){var r={children:void 0,events:void 0,id:void 0,index:void 0,isDragging:void 0},o=Object.assign({},e,r),n=Object.assign({},t,r);return JSON.stringify(o)===JSON.stringify(n)}var i,c,d=function(){return(d=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},l=o.a.Text,s=o.a.Title,u=n.memo(function(e){return n.createElement("div",{className:"defaultDraggableItem"},e.children)},a),f=n.memo(function(e){var t=e.data,r=parseInt(Math.random().toString(8).substr(2,2),10);return n.createElement(u,d({},e),n.createElement("div",{style:{padding:"12px"}},n.createElement("div",{style:{alignItems:"baseline",width:"100%",display:"flex",justifyContent:"space-between"}},n.createElement(s,{level:3},null==t?void 0:t.title),n.createElement("div",{style:{fontSize:"1.2rem",fontWeight:"bold",color:"red"}},null==t?void 0:t.index),n.createElement(s,{level:4,type:"secondary"},null==t?void 0:t.owner)),n.createElement("div",{style:{alignItems:"baseline",width:"100%",display:"flex",justifyContent:"space-between"}},e.children,n.createElement(l,{type:"secondary"},r))))},a);(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(d,"__assign","D:\\code\\schedio\\uic\\src\\dnd-lists\\item\\components\\DefaultItem.tsx"),i.register(l,"Text","D:\\code\\schedio\\uic\\src\\dnd-lists\\item\\components\\DefaultItem.tsx"),i.register(s,"Title","D:\\code\\schedio\\uic\\src\\dnd-lists\\item\\components\\DefaultItem.tsx"),i.register(a,"itemPropsAreEqual","D:\\code\\schedio\\uic\\src\\dnd-lists\\item\\components\\DefaultItem.tsx"),i.register(u,"DefaultItem","D:\\code\\schedio\\uic\\src\\dnd-lists\\item\\components\\DefaultItem.tsx"),i.register(f,"DefaultItemWithRenderWatcher","D:\\code\\schedio\\uic\\src\\dnd-lists\\item\\components\\DefaultItem.tsx")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)}).call(this,m(2)(e))},function(e,m,b){"use strict";(function(e){b.d(m,"h",function(){return a}),b.d(m,"a",function(){return i}),b.d(m,"b",function(){return c}),b.d(m,"c",function(){return d}),b.d(m,"g",function(){return l}),b.d(m,"f",function(){return s}),b.d(m,"e",function(){return u}),b.d(m,"d",function(){return f}),b.d(m,"i",function(){return p});var t,r=b(12);(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o,n,a=function e(t,r){for(var o,n=0;n<r.length;n++){var a=r[n];a.children&&(a.children.some(function(e){return e.value===t})?o=a.value:e(t,a.children)&&(o=e(t,a.children)))}return o},i=function t(e){return e?r.flatMapDeep(e,function(e){return[e,e.children?t(e.children):[]]}):[]},c=function(e,t,r){return void 0===r&&(r=0),t+""+(e=e||0).toFixed(r).replace(/\B(?=(\d{3})+(?!\d))/g,",")},d=function(e,t){return(e=e||0).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")+" "+t},l=function(e,t){return e+"_"+t},s=function(e){return e},u=function(e,t){return{className:s(e),idName:l(e,t)}},f=function(e,t){var r=u(e,t);return{key:r.idName,className:r.className,id:r.idName}},p=function(e){if(e){for(var t=0,r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);var o="#";for(r=0;r<3;r++)o+=("00"+(t>>8*r&255).toString(16)).substr(-2);return o}return"#ffffff"};(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(o.register(a,"getNodeParentKey","D:\\code\\schedio\\uic\\src\\helpers.ts"),o.register(i,"flattenTree","D:\\code\\schedio\\uic\\src\\helpers.ts"),o.register(c,"formatCurrency","D:\\code\\schedio\\uic\\src\\helpers.ts"),o.register(d,"formatWork","D:\\code\\schedio\\uic\\src\\helpers.ts"),o.register(l,"getIdName","D:\\code\\schedio\\uic\\src\\helpers.ts"),o.register(s,"getClassName","D:\\code\\schedio\\uic\\src\\helpers.ts"),o.register(u,"getClassAndIdNames","D:\\code\\schedio\\uic\\src\\helpers.ts"),o.register(f,"getBasicProps","D:\\code\\schedio\\uic\\src\\helpers.ts"),o.register(p,"stringToColour","D:\\code\\schedio\\uic\\src\\helpers.ts")),(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&n(e)}).call(this,b(2)(e))},function(e,i,c){"use strict";(function(e){c.d(i,"a",function(){return a});var t,r=c(3),d=c.n(r),l=c(0),s=c(191);(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var o,n,a=function(e){var t,r=e.className,o=e.active,n=e.children,a=e.onClick,i=void 0!==o&&o,c=d()(((t={})[s.label]=!0,t[s.labelActive]=i,t[r]=Boolean(r),t));return l.createElement("a",{className:c,onClick:a},n)};(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(o.register(!1,"activeDefault","D:\\code\\schedio\\uic\\src\\buttons\\ButtonLabel.tsx"),o.register(a,"ButtonLabel","D:\\code\\schedio\\uic\\src\\buttons\\ButtonLabel.tsx")),(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&n(e)}).call(this,c(2)(e))},function(e,t,r){"use strict";var o=r(89);r.d(t,"a",function(){return o.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,t,r){"use strict";var o=r(90);r.d(t,"a",function(){return o.a}),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},function(e,s,u){"use strict";(function(e){u.d(s,"a",function(){return d}),u.d(s,"b",function(){return l});var t,r=u(160),o=u.n(r),n=u(161),a=u.n(n);u(174),(t="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&t(e),"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var i,c,d=a()(o.a),l=function(e){return{lang:{locale:"fr",placeholder:e,today:"Aujourd'hui",now:"Maintenant",backToToday:"Retour à aujourd'hui",ok:"Ok",clear:"Effacer",month:"Mois",year:"Année",timeSelect:"Choisissez le temps",dateSelect:"Choisissez la date",monthSelect:"Choisissez le mois",yearSelect:"Choisissez l'année",decadeSelect:"Choisissez la décénie",yearFormat:"YYYY",dateFormat:"MM/DD/YYYY",dayFormat:"D",dateTimeFormat:"MM/DD/YYYY HH:mm:ss",monthFormat:"MMMM",monthBeforeYear:!0,previousMonth:"Mois précédent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Année précédente (Control + left)",nextYear:"Année suivante (Control + right)",previousDecade:"Décénie précédente",nextDecade:"Décénie suivante",previousCentury:"Siècle précédente",nextCentury:"Siècle suivant"},timePickerLocale:{placeholder:"Selectionnez le temps"},dateFormat:"MM/DD/YYYY",dateTimeFormat:"MM/DD/YYYY HH:mm:ss",weekFormat:"YYYY-wo",monthFormat:"MM-YYYY"}};(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(d,"DayjsDatePicker","D:\\code\\schedio\\uic\\src\\date-picker\\Da