@bryntum/scheduler-thin-trial 7.1.3 → 7.2.1
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/README.md +1 -1
- package/entry.js +3 -0
- package/lib/column/ResourceInfoColumn.css +20 -0
- package/lib/column/ResourceInfoColumn.js +1 -1
- package/lib/crud/AbstractCrudManagerMixin.js +1 -1
- package/lib/data/AISettingsModel.js +1 -0
- package/lib/data/mixin/DependencyStoreMixin.js +1 -1
- package/lib/data/mixin/EventStoreMixin.js +1 -1
- package/lib/data/mixin/GetEventsMixin.js +1 -1
- package/lib/feature/AI.js +1 -0
- package/lib/feature/AbstractTimeRanges.js +1 -1
- package/lib/feature/Dependencies.js +1 -1
- package/lib/feature/DependencyEdit.js +1 -1
- package/lib/feature/DependencyMenu.js +1 -1
- package/lib/feature/EventCopyPaste.js +1 -1
- package/lib/feature/EventDragSelect.js +1 -1
- package/lib/feature/EventEdit.js +1 -1
- package/lib/feature/EventFilter.js +1 -1
- package/lib/feature/EventMenu.js +1 -1
- package/lib/feature/EventNonWorkingTime.js +1 -1
- package/lib/feature/EventResize.js +1 -1
- package/lib/feature/GroupSummary.js +1 -1
- package/lib/feature/Labels.js +1 -1
- package/lib/feature/LockRows.js +1 -1
- package/lib/feature/NonWorkingTime.js +1 -1
- package/lib/feature/Pan.js +1 -1
- package/lib/feature/ResourceColumnReorder.css +78 -0
- package/lib/feature/ResourceColumnReorder.js +1 -0
- package/lib/feature/ResourceMenu.js +1 -1
- package/lib/feature/ScheduleContext.js +1 -1
- package/lib/feature/ScheduleMenu.js +1 -1
- package/lib/feature/ScheduleTooltip.js +1 -1
- package/lib/feature/ScrollButtons.js +1 -1
- package/lib/feature/SimpleEventEdit.js +1 -1
- package/lib/feature/Split.js +1 -1
- package/lib/feature/StickyEvents.js +1 -1
- package/lib/feature/Summary.js +1 -1
- package/lib/feature/TimeAxisHeaderMenu.js +1 -1
- package/lib/feature/TimelineSummary.js +1 -1
- package/lib/feature/TreeSummary.js +1 -1
- package/lib/feature/ai/agents/DefaultSchedulerAgent.js +18 -0
- package/lib/feature/ai/agents/trainingData.js +1 -0
- package/lib/feature/base/DragBase.js +1 -1
- package/lib/feature/base/DragCreateBase.js +1 -1
- package/lib/feature/base/EditBase.js +1 -1
- package/lib/feature/base/ResourceTimeRangesBase.js +1 -1
- package/lib/feature/base/TooltipBase.js +1 -1
- package/lib/feature/mixin/DependencyCreation.js +1 -1
- package/lib/feature/mixin/HeaderDragSelect.js +1 -1
- package/lib/feature/mixin/RecurringEventEdit.js +1 -1
- package/lib/model/DependencyBaseModel.js +1 -1
- package/lib/model/TimeSpan.js +1 -1
- package/lib/model/mixin/EventModelMixin.js +1 -1
- package/lib/model/mixin/RecurringTimeSpan.js +1 -1
- package/lib/model/mixin/ResourceModelMixin.js +1 -1
- package/lib/view/ResourceHeader.js +1 -1
- package/lib/view/SchedulerBase.js +1 -1
- package/lib/view/TimelineBase.js +1 -1
- package/lib/view/mixin/EventNavigation.js +1 -1
- package/lib/view/mixin/SchedulerDom.js +1 -1
- package/lib/view/mixin/SchedulerEventRendering.js +1 -1
- package/lib/view/mixin/SchedulerState.js +1 -1
- package/lib/view/mixin/TimelineDomEvents.js +1 -1
- package/lib/view/mixin/TimelineEventRendering.js +1 -1
- package/lib/view/mixin/TimelineViewPresets.js +1 -1
- package/lib/view/orientation/HorizontalRendering.js +1 -1
- package/lib/view/orientation/VerticalRendering.js +1 -1
- package/lib/view/recurrence/RecurrenceEditorPanel.js +1 -1
- package/lib/view/recurrence/RecurrenceLegendButton.js +1 -1
- package/lib/widget/DayButtons.js +1 -1
- package/lib/widget/SchedulerDatePicker.css +1 -1
- package/locales/scheduler.locale.Ar.js +1 -1
- package/locales/scheduler.locale.Bg.js +1 -1
- package/locales/scheduler.locale.Ca.js +1 -1
- package/locales/scheduler.locale.Cs.js +1 -1
- package/locales/scheduler.locale.Da.js +1 -1
- package/locales/scheduler.locale.De.js +1 -1
- package/locales/scheduler.locale.El.js +1 -1
- package/locales/scheduler.locale.En.js +1 -1
- package/locales/scheduler.locale.EnGb.js +1 -1
- package/locales/scheduler.locale.Es.js +1 -1
- package/locales/scheduler.locale.Et.js +1 -1
- package/locales/scheduler.locale.Eu.js +1 -1
- package/locales/scheduler.locale.Fi.js +1 -1
- package/locales/scheduler.locale.FrFr.js +1 -1
- package/locales/scheduler.locale.Gl.js +1 -1
- package/locales/scheduler.locale.He.js +1 -1
- package/locales/scheduler.locale.Hi.js +1 -1
- package/locales/scheduler.locale.Hr.js +1 -1
- package/locales/scheduler.locale.Hu.js +1 -1
- package/locales/scheduler.locale.Id.js +1 -1
- package/locales/scheduler.locale.It.js +1 -1
- package/locales/scheduler.locale.Ja.js +1 -1
- package/locales/scheduler.locale.Kk.js +1 -1
- package/locales/scheduler.locale.Ko.js +1 -1
- package/locales/scheduler.locale.Lt.js +1 -1
- package/locales/scheduler.locale.Lv.js +1 -1
- package/locales/scheduler.locale.Ms.js +1 -1
- package/locales/scheduler.locale.Nl.js +1 -1
- package/locales/scheduler.locale.No.js +1 -1
- package/locales/scheduler.locale.Pl.js +1 -1
- package/locales/scheduler.locale.Pt.js +1 -1
- package/locales/scheduler.locale.PtBr.js +1 -1
- package/locales/scheduler.locale.Ro.js +1 -1
- package/locales/scheduler.locale.Ru.js +1 -1
- package/locales/scheduler.locale.Sk.js +1 -1
- package/locales/scheduler.locale.Sl.js +1 -1
- package/locales/scheduler.locale.Sr.js +1 -1
- package/locales/scheduler.locale.SrRs.js +1 -1
- package/locales/scheduler.locale.SvSE.js +1 -1
- package/locales/scheduler.locale.Th.js +1 -1
- package/locales/scheduler.locale.Tr.js +1 -1
- package/locales/scheduler.locale.Uk.js +1 -1
- package/locales/scheduler.locale.Vi.js +1 -1
- package/locales/scheduler.locale.ZhCn.js +1 -1
- package/locales/scheduler.locale.ZhTw.js +1 -1
- package/package.json +1 -1
- package/scheduler.css +56 -1
- package/scheduler.css.map +3 -3
- package/scheduler.d.ts +1689 -348
package/lib/feature/LockRows.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){
|
|
1
|
+
(function(a,b){function f(a,b){return _scb(b-0x180,a);}const c=a();while(!![]){try{const d=parseInt(f(0x2e5,0x2de))/0x1*(-parseInt(f(0x2cd,0x2c8))/0x2)+parseInt(f(0x2e7,0x2dc))/0x3+-parseInt(f(0x2dd,0x2d9))/0x4*(parseInt(f(0x2d3,0x2db))/0x5)+parseInt(f(0x2c7,0x2ca))/0x6*(-parseInt(f(0x2cb,0x2c9))/0x7)+parseInt(f(0x2e4,0x2dd))/0x8*(-parseInt(f(0x2eb,0x2df))/0x9)+-parseInt(f(0x2e2,0x2d8))/0xa*(parseInt(f(0x2d6,0x2cd))/0xb)+parseInt(f(0x2e4,0x2da))/0xc;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xf0d7f));import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _scd from'@bryntum/grid-thin/lib/feature/LockRows.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x147;let f=c[d];return f;};return _scb(a,b);}import _sce from'./Split.js';export default class LockRows extends _scd{static [_scg(0xc7,0xc2)]=_scg(0xb3,0xb4);['onInternalPaint']({firstPaint:a}){const b=this,{project:c}=b[h(-0xc2,-0xc5)],{resourceStore:d}=c;function h(a,b){return _scg(b,a- -0x191);}if(a){if(b['refreshSuspended']){b[h(-0xc2,-0xcf)][h(-0xd8,-0xda)]();}if(d['count']){b[h(-0xc4,-0xc1)]();}else{const e=c[h(-0xc3,-0xb8)]({'refresh':()=>{function i(a,b){return h(b- -0x1be,a);}if(d[i(-0x294,-0x294)]){e();b[i(-0x28e,-0x282)]();}}});}}}[_scg(0xbf,0xbe)](a,b,c,d){const e=this['superGetClientConfig'](a,b,c,d);e[j(-0x174,-0x181)]=this['client'];delete e[j(-0x179,-0x175)];function j(a,b){return _scg(b,a- -0x235);}return e;}}const myProto=LockRows[_scg(0xd3,0xc4)],superProto=_sce[_scg(0xba,0xc4)];function _scg(a,b){return _scb(b- -0x93,a);}myProto[_scg(0xcd,0xd0)]=superProto['getClientConfig'];myProto[_scg(0xb8,0xc0)]=superProto[_scg(0xbc,0xc0)];LockRows['configurable']['relayProperties']=_sce[_scg(0xbf,0xb8)][_scg(0xb3,0xbf)];_scc[_scg(0xb7,0xbd)](LockRows,![],_scg(0xcf,0xc3));function _sca(){const k=['configurable','resumeRefresh','1458215UZvINp','count','crudManager','registerFeature','getClientConfig','relayProperties','afterConfigChange','partner','$name','Scheduler','prototype','10GTPnXA','3136ttYlUt','58695732haeDkA','4685OSSyMA','2442933kDzQio','436664tSgtia','1DyUIea','99ZAkHil','lockRows','ion','client','superGetClientConfig','LockRows','3128012uHnXDh','7Ozkpyt','10125210uJKchF'];_sca=function(){return k;};return _sca();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){function i(a,b){return _scb(a-0x3d1,b);}const c=a();while(!![]){try{const d=-parseInt(i(0x503,0x4f9))/0x1*(parseInt(i(0x514,0x512))/0x2)+parseInt(i(0x4e7,0x4e5))/0x3+parseInt(i(0x512,0x52d))/0x4+-parseInt(i(0x509,0x4fb))/0x5*(parseInt(i(0x4e8,0x4f9))/0x6)+-parseInt(i(0x50d,0x524))/0x7+parseInt(i(0x51a,0x502))/0x8+parseInt(i(0x4f1,0x4e9))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x1a05d));function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x115;let f=c[d];return f;};return _scb(a,b);}function _scj(a,b){return _scb(b-0x28d,a);}import _scc from'./AbstractTimeRanges.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'@bryntum/core-thin/lib/helper/DateHelper.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scg from'../data/mixin/AttachToProjectMixin.js';function _sca(){const u=['configurable','timeAxis','isEngineReady','autoGeneratedWeekends','267156ZBIRZG','registerFeature','isDelayingCalculation','@bryntum/scheduler-thin/lib/feature/NonWorkingTime.css','Scheduler','calendar','refresh','onConfigChange','$name','timeAxisUnitDurationMs','onTimeAxisViewModelUpdate','timeRanges','client','setupDefaultCalendar','hideRangesOnZooming','loadStylesheet','initialProjectListener','pluginConfig','729Rugmwy','SchedulerPro','detachListeners','attachToCalendar','_timeAxisUnitDurationMs','ion','873365tNEJNj','isDestroyed','isDestroying','project','712285kaDoeK','effectiveCalendar','intervalStore','isScheduler','graph','628196RRPNoq','mixin','38zugMvf','after','isConfiguring','attachToProject','doDestroy','NonWorkingTime','782936zEveNo','getCalendarTimeRanges','336804PjSaeI','6BfFUIr','_timeRanges','Gantt','ResourceHistogram','setTimeout'];_sca=function(){return u;};return _sca();}import _sch from'./mixin/NonWorkingTimeMixin.js';_scf[_scj(0x3cf,0x3bc)]('@bryntum/scheduler-thin/lib/feature/TimeRanges.css');_scf[_scj(0x3b8,0x3bc)](_scj(0x3a7,0x3b0));export default class NonWorkingTime extends _scc[_scj(0x3df,0x3cf)](_scg,_sch){static [_scj(0x39b,0x3b5)]=_scj(0x3dd,0x3d5);static [_scj(0x39a,0x3a9)]={'hideRangesOnZooming':!![],'showHeaderElements':!![],'showLabelInBody':!![],'autoGeneratedWeekends':![]};static get[_scj(0x3a9,0x3be)](){const a=super[k(-0xad,-0xc6)];a[k(-0xc4,-0xb3)]['push'](k(-0xc3,-0xb1),k(-0xd9,-0xd0));function k(a,b){return _scj(a,b- -0x484);}return a;}[_scj(0x3d2,0x3d4)](){this['attachToCalendar'](null);super['doDestroy']();}[_scj(0x3cb,0x3b4)]({name:a}){function l(a,b){return _scj(b,a- -0x4f1);}if(!this[l(-0x11f,-0x128)]&&a==='fillTicks'){this['refresh']();}}[_scj(0x3ba,0x3d3)](a){super[m(-0x63,-0x57)](a);this['attachToCalendar'](a[m(-0x75,-0x60)]);if(!a[m(-0x55,-0x5d)]&&!this[m(-0x5d,-0x71)][m(-0x5a,-0x5e)]){a['ion']({'name':m(-0x53,-0x62),'dataReady':{'fn':()=>this[m(-0x80,-0x68)](a[m(-0x61,-0x60)]),'once':!![]},'thisObj':this});}function m(a,b){return _scj(a,b- -0x42a);}a['ion']({'name':m(-0x54,-0x62),'calendarChange':()=>this[m(-0x6c,-0x68)](a['effectiveCalendar']),'thisObj':this});}['onTimeAxisViewModelUpdate'](...a){this[n(0x1d4,0x1bc)]=null;function n(a,b){return _scj(a,b- -0x207);}return super[n(0x1ba,0x1b0)](...a);}[_scj(0x3c2,0x3c2)](a){const b=this,{project:c,client:d}=b;function o(a,b){return _scj(a,b- -0x4d4);}b[o(-0x123,-0x113)](o(-0x10f,-0x122));b[o(-0x115,-0x128)]=![];if(a){b[o(-0x107,-0x11a)]();a[o(-0x103,-0x109)][o(-0x12a,-0x110)]({'name':o(-0x128,-0x122),'change':()=>b[o(-0x130,-0x12c)](()=>b[o(-0x115,-0x121)](),0x1),'thisObj':b});}if(d[o(-0x127,-0x129)]&&!d['project'][o(-0x12a,-0x125)]&&!d[o(-0x119,-0x10d)]){b['refresh']();}else if(!c[o(-0x108,-0x10e)]){b[o(-0x10f,-0x113)](o(-0x12d,-0x117));c[o(-0x116,-0x110)]({'name':o(-0x109,-0x117),'refresh'({isCalculated:e}){function p(a,b){return o(b,a-0x6f);}if(e!==![]){b[p(-0xb2,-0xcb)]();b[p(-0xa4,-0x8a)](p(-0xa8,-0xaa));}},'thisObj':b});}}get[_scj(0x3b1,0x3b2)](){function q(a,b){return _scj(a,b- -0x27b);}var a;return(a=this[q(0x162,0x14d)])===null||a===void 0x0?void 0x0:a[q(0x135,0x14f)];}get[_scj(0x3b2,0x3b6)](){if(!this[r(0x4f8,0x4fc)]){this['_timeAxisUnitDurationMs']=_sce['as']('ms',0x1,this['client'][r(0x4df,0x4dd)]['unit']);}function r(a,b){return _scj(b,a-0x135);}return this['_timeAxisUnitDurationMs'];}['shouldRenderRange'](a,b,c){function s(a,b){return _scj(a,b- -0x35f);}return super['shouldRenderRange'](a,b,c)&&(!this[s(0x64,0x5c)]||a['durationMS']>=this[s(0x6e,0x57)]);}get[_scj(0x3cb,0x3b8)](){const a=this;function t(a,b){return _scj(b,a- -0x12d);}if(!a['_timeRanges']){a[t(0x278,0x278)]=a[t(0x275,0x265)](a[t(0x285,0x29e)]);}return a['_timeRanges'];}}_scd['registerFeature'](NonWorkingTime,![],_scj(0x3a8,0x3b1));_scd[_scj(0x3a0,0x3ae)](NonWorkingTime,!![],[_scj(0x3ca,0x3c0),_scj(0x3b4,0x3a6),_scj(0x390,0x3a7)]);
|
package/lib/feature/Pan.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function l(a,b){return _scb(
|
|
1
|
+
(function(a,b){const c=a();function l(a,b){return _scb(a-0x9f,b);}while(!![]){try{const d=parseInt(l(0x23b,0x254))/0x1*(parseInt(l(0x23d,0x229))/0x2)+-parseInt(l(0x25c,0x25a))/0x3*(-parseInt(l(0x236,0x22b))/0x4)+-parseInt(l(0x255,0x255))/0x5*(parseInt(l(0x24a,0x238))/0x6)+-parseInt(l(0x25a,0x241))/0x7*(-parseInt(l(0x241,0x23e))/0x8)+-parseInt(l(0x238,0x245))/0x9*(-parseInt(l(0x265,0x275))/0xa)+parseInt(l(0x234,0x226))/0xb*(parseInt(l(0x249,0x248))/0xc)+-parseInt(l(0x24c,0x266))/0xd;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x30923));import _scc from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x193;let f=c[d];return f;};return _scb(a,b);}import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _sca(){const u=['pluginConfig','trigger','onElementMouseDown','enableInHeader','eventDrag','taskDrag','scrollBy','60VYTNTS','45912WjklCl','mouseY','16273452LEKMoE','element','loadStylesheet','clientY','features','closest','targetSelector','mouseX','clientX','20DBsNqJ','Gantt','call','beforePan','onMouseUp','2278717aIgyrb','isActive','2259XohhyJ','setTimeout','onMouseMove','horizontal','.b-sch-time-axis-cell,.b-task-non-working-time,.b-sch-resource-time-range,.b-timeline-sub-grid',',.b-sch-header-time-axis-cell,.b-sch-header-text','panControllingEventSelection','onHeader','mouseDetacher','10QYOxgW','registerFeature','scrollable','getRootElement','matches','258643IEHrtZ','buttons','1412lrvwtF','vertical','3408813ICgDNi','Scheduler','enabled','393697tKlrLq','@bryntum/scheduler-thin/lib/feature/Pan.css','2EfwGoI','configurable','.b-sch-header-time-axis-cell','$name','8LmlUec'];_sca=function(){return u;};return _sca();}import _sce from'@bryntum/core-thin/lib/helper/EventHelper.js';function _scm(a,b){return _scb(a-0x137,b);}import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';_scf[_scm(0x2e6,0x2f6)](_scm(0x2d4,0x2ec));export default class Pan extends _scc{static [_scm(0x2d8,0x2eb)]='Pan';static [_scm(0x2d6,0x2d6)]={'horizontal':!![],'vertical':!![],'enableInHeader':!![]};get[_scm(0x2ea,0x304)](){function n(a,b){return _scm(b-0x178,a);}return n(0x474,0x470)+(this[n(0x463,0x455)]?n(0x489,0x471):'');}static get[_scm(0x2da,0x2ee)](){function o(a,b){return _scm(a-0x2a5,b);}return{'after':[o(0x581,0x59b)]};}['onElementMouseDown'](a){function p(a,b){return _scm(a-0x1bd,b);}const b=this,{client:c}=b,{button:d,touches:e,target:f,clientX:g,clientY:h}=a,i=c[p(0x4a5,0x4a5)][p(0x49c,0x4a2)]||c[p(0x4a5,0x495)][p(0x49b,0x48b)],j=c['readOnly']||!(i!==null&&i!==void 0x0&&i[p(0x48f,0x499)]);if(e||d!==0x0||b['disabled']||c[p(0x498,0x494)](p(0x4ad,0x49b),{'event':a})===![]){return;}if(f[p(0x488,0x492)](b['targetSelector'])||j&&f[p(0x4a6,0x4a8)](c['eventSelector'])){var k;b[p(0x4a8,0x4bc)]=g;b[p(0x4a0,0x49a)]=h;b[p(0x4b8,0x4bd)]=b[p(0x49a,0x4a9)]&&f['closest'](p(0x494,0x49e));(k=b[p(0x4b9,0x4ae)])===null||k===void 0x0||k['call'](b);b[p(0x4b9,0x4c5)]=_sce['on']({'element':_scf[p(0x487,0x48f)](c[p(0x4a2,0x48b)]),'mousemove':p(0x4b3,0x499),'mouseup':p(0x4ae,0x4b7),'thisObj':b});}}[_scm(0x2f6,0x302)](a){const b=this,{client:c}=b,d=c['timeAxisSubGrid'][q(0xcd,0xe1)],e=c['scrollable'],f=a[q(0xe6,0xce)],g=a[q(0xd8,0xc9)];if(a[q(0xb5,0xaf)]===0x0){b['onMouseUp']();return;}a['preventDefault']();if(b[q(0xc2,0xb1)]&&(c['isVertical']||!b[q(0xc5,0xdd)])){e[q(0xbd,0xc2)](0x0,b[q(0xdb,0xc5)]-g);}if(b[q(0xd5,0xd9)]&&(c['isHorizontal']||!b['onHeader'])){d['scrollBy'](b[q(0xb6,0xcd)]-f);}if(!c['eventSelectionDisabled']){c['eventSelectionDisabled']=!![];b[q(0xe5,0xdc)]=!![];}function q(a,b){return _scm(b- -0x21e,a);}b[q(0xc5,0xcd)]=f;b[q(0xda,0xc5)]=g;}[_scm(0x2f1,0x2ed)](){var a;const {client:b}=this;function r(a,b){return _scm(b- -0xd5,a);}(a=this['mouseDetacher'])===null||a===void 0x0||a[r(0x235,0x21a)](this);this[r(0x221,0x227)]=null;b[r(0x213,0x220)](()=>{function s(a,b){return r(b,a- -0x258);}if(this[s(-0x33,-0x18)]){b['eventSelectionDisabled']=![];b['panControllingEventSelection']=![];}},0x32);}get[_scm(0x2f3,0x2fd)](){function t(a,b){return _scm(b-0x206,a);}return Boolean(this[t(0x4e7,0x502)]);}}_scd[_scm(0x2fe,0x2ed)](Pan,![],[_scm(0x2d1,0x2bd),_scm(0x2ee,0x2e1)]);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
:root, :host {
|
|
2
|
+
/**
|
|
3
|
+
* Drop indicator size (width for vertical line)
|
|
4
|
+
*/
|
|
5
|
+
--b-resource-column-reorder-indicator-size : 2px;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Drop indicator color
|
|
9
|
+
*/
|
|
10
|
+
--b-resource-column-reorder-indicator-color : var(--b-secondary);
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Drop indicator color when invalid
|
|
14
|
+
*/
|
|
15
|
+
--b-resource-column-reorder-indicator-invalid-color : var(--b-color-red);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Drag proxy box shadow
|
|
19
|
+
*/
|
|
20
|
+
--b-resource-column-reorder-box-shadow : var(--b-elevation-1);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Opacity of the drag proxy (column being dragged)
|
|
24
|
+
*/
|
|
25
|
+
--b-resource-column-reorder-proxy-opacity : 0.5;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Hidden by default */
|
|
29
|
+
.b-resource-column-drop-indicator {
|
|
30
|
+
display : none;
|
|
31
|
+
pointer-events : none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.b-resource-column-reordering {
|
|
35
|
+
/* A full-height vertical line positioned at drop location */
|
|
36
|
+
.b-resource-column-drop-indicator {
|
|
37
|
+
position : absolute;
|
|
38
|
+
display : block;
|
|
39
|
+
top : 0;
|
|
40
|
+
height : 100%;
|
|
41
|
+
z-index : 2000;
|
|
42
|
+
|
|
43
|
+
inset-inline-start : calc(var(--b-resource-column-reorder-indicator-size) / -2);
|
|
44
|
+
width : var(--b-resource-column-reorder-indicator-size);
|
|
45
|
+
background-color : var(--b-resource-column-reorder-indicator-color);
|
|
46
|
+
|
|
47
|
+
&.b-drag-invalid {
|
|
48
|
+
--b-resource-column-reorder-indicator-color : var(--b-resource-column-reorder-indicator-invalid-color);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Fade the source element during drag */
|
|
53
|
+
.b-resource-header-cell.b-drag-source {
|
|
54
|
+
opacity : 0.3;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Drag proxy container */
|
|
59
|
+
.b-resource-column-reorder-proxy {
|
|
60
|
+
position : absolute;
|
|
61
|
+
z-index : 10000;
|
|
62
|
+
pointer-events : none;
|
|
63
|
+
box-shadow : var(--b-resource-column-reorder-box-shadow);
|
|
64
|
+
opacity : var(--b-resource-column-reorder-proxy-opacity);
|
|
65
|
+
|
|
66
|
+
/* The cloned header cell inside */
|
|
67
|
+
.b-resource-header-cell {
|
|
68
|
+
position : relative;
|
|
69
|
+
background : var(--b-grid-header-background);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.b-drag-invalid {
|
|
73
|
+
.b-resource-header-cell {
|
|
74
|
+
background : color-mix(in oklab, var(--b-resource-column-reorder-indicator-invalid-color), transparent 80%);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function H(a,b){return _scb(a- -0x1e6,b);}while(!![]){try{const d=parseInt(H(-0x3,-0x22))/0x1*(-parseInt(H(-0x3b,-0x4c))/0x2)+parseInt(H(0xc,-0xf))/0x3*(parseInt(H(-0x28,-0x42))/0x4)+parseInt(H(0x9,0xb))/0x5+-parseInt(H(-0x7,-0x27))/0x6*(-parseInt(H(-0x1d,-0x46))/0x7)+parseInt(H(-0x3e,-0x61))/0x8+parseInt(H(0x7,-0xd))/0x9*(parseInt(H(0x14,0x13))/0xa)+-parseInt(H(-0x27,-0x56))/0xb*(parseInt(H(-0x41,-0x2e))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xaa0f1));import _scc from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _scd from'@bryntum/core-thin/lib/helper/DragHelper.js';import _sce from'@bryntum/core-thin/lib/helper/DomHelper.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x19e;let f=c[d];return f;};return _scb(a,b);}import _scf from'@bryntum/core-thin/lib/helper/util/Rectangle.js';import _scg from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _scI(a,b){return _scb(b- -0x350,a);}function _sca(){const W=['isSpecialRow','b-resource-column-reordering','b-drag-source','featureClass','targetSelector','Scheduler','right','onDragStart','pluginConfig','destroy','scrollManager','dropIndicator','dragHelper','onInternalPaint','addCls','add','client','warn','48MHptfG','179938SFPJIG','instanceMeta','display','getGroupHeaderForRecord','construct','insetStart','appendChild','meta','groupRowFor','inset','11851tWONXj','finalizeReorder','onBeforeDragStart','length','once','targetIndex','remove','onDrop','resource','async','.b-resource-header-cell','insetInlineStart','field','resourceColumnDragStart','trigger','offsetWidth','from','ResourceColumnReorder\x20feature\x20only\x20works\x20in\x20vertical\x20mode','resourceColumnDrag','clientX','context','header','2616KYreSY','valid','dataset','horizontal','1aqhkTU','createElement','scrollable','style','classList','insertBefore','rtl','timeAxisColumn','resourceColumnReorder','targetGroup','7335atoQNQ','left','4623735uHgSwv','resourceStore','element','212607pzWBTy','resourceId','onReset','move','paint','resourceColumnDrop','timeAxisSubGrid','onAbort','13150ssuYla','registerFeature','isGrouped','readOnly','ResourceColumnReorder','allRecords','insetInlineEnd','getResourceFromElement','none','1488zhiTou','getResourceWidth','doDestroy','659408VqmGmx','configurable','getById','1885042XCOLZj'];_sca=function(){return W;};return _sca();}_sce['loadStylesheet']('@bryntum/scheduler-thin/lib/feature/ResourceColumnReorder.css');export default class ResourceColumnReorder extends _scc{static ['$name']=_scI(-0x185,-0x1b0);static [_scI(-0x1af,-0x1a7)]={'targetSelector':_scI(-0x190,-0x17d)};[_scI(-0x192,-0x18d)](a,b){function J(a,b){return _scI(a,b-0x66);}if(!a['isVertical']){console[J(-0x151,-0x12d)](J(-0x10f,-0x110));return;}super[J(-0x112,-0x127)](a,b);}[_scI(-0x185,-0x1a9)](){function K(a,b){return _scI(a,b-0x1ce);}var a,b;(a=this[K(0xd,0x36)])===null||a===void 0x0||a[K(0x32,0x33)]();(b=this['dropIndicator'])===null||b===void 0x0||b[K(0x4f,0x4d)]();super[K(0x17,0x25)]();}['init'](){const a=this,{client:b}=a,c=b[L(0x15a,0x171)]['resourceColumns'][L(0x1a7,0x178)];if(!c){b[L(0x150,0x154)](L(0x199,0x17d),()=>a['init'](),a);return;}function L(a,b){return _scI(a,b-0x2d7);}a[L(0x135,0x13f)]=_scd['new']({'name':L(0x143,0x172),'cloneTarget':!![],'positioning':L(0x139,0x14f),'targetSelector':a[L(0x162,0x137)],'lockY':!![],'allowDropOutside':![],'outerElement':c,'rtlSource':b,'scrollManager':b[L(0x15e,0x13d)],'monitoringConfig':{'scrollables':[{'element':b['timeAxisSubGrid']['header'][L(0x16c,0x16c)][L(0x15d,0x178)],'direction':L(0x198,0x169)}]},'createProxy'(d){const e=d['cloneNode'](!![]),{style:f}=e;f['insetInlineStart']=f[M(0xb4,0xd3)]=f[M(0xfe,0x11f)]=f[M(0x105,0xe3)]='';function M(a,b){return L(a,b- -0x56);}e['removeAttribute']('data-resource-id');return _sce[M(0x118,0x115)]({'className':'b-resource-column-reorder-proxy','style':{'width':d[M(0xdf,0x109)]+'px','height':d['offsetHeight']+'px'},'children':[e]});},'internalListeners':{'beforeDragStart':L(0x14f,0x152),'dragStart':'onDragStart','drag':'onDrag','drop':L(0x14f,0x157),'abort':L(0x189,0x180),'reset':L(0x172,0x17b),'thisObj':a}});a[L(0x16b,0x13e)]=_sce[L(0x171,0x16b)]({'className':'b-resource-column-drop-indicator','retainElement':!![]});}static get[_scI(-0x1a0,-0x19c)](){function N(a,b){return _scI(b,a-0x408);}return{'after':[N(0x271,0x242)]};}[_scI(-0x168,-0x197)]({firstPaint:a}){if(a){this['init']();}}[_scI(-0x1ab,-0x1ad)](a){function O(a,b){return _scI(b,a- -0x22);}var b;const c=a===null||a===void 0x0||(b=a[O(-0x191,-0x16d)])===null||b===void 0x0?void 0x0:b[O(-0x17f,-0x196)];return c?this[O(-0x1b6,-0x1c9)][O(-0x182,-0x19e)][O(-0x1c8,-0x1df)](c):null;}[_scI(-0x1b0,-0x185)]({context:a,event:b}){const c=this,{client:d}=c,e=c[P(0x4c2,0x4b4)](a[P(0x510,0x4fa)]);if(!e||d[P(0x4be,0x4a3)]||e['readOnly']){return![];}a[P(0x4f0,0x51c)]=e;function P(a,b){return _scI(b,a-0x66f);}return d['trigger']('resourceColumnBeforeDragStart',{'context':a,'event':b});}[_scI(-0x1aa,-0x19d)]({context:a,event:b}){const c=this,{client:d}=c,e=d[Q(0x57f,0x5a4)]['resourceColumns']['element'];e[Q(0x55a,0x557)](c[Q(0x54c,0x56d)]);function Q(a,b){return _scI(b,a-0x6e5);}d[Q(0x54f,0x544)](Q(0x542,0x516));a[Q(0x586,0x58e)][Q(0x57c,0x56b)][Q(0x550,0x52c)](Q(0x543,0x554));d[Q(0x56c,0x589)](Q(0x56b,0x555),{'context':a,'event':b});}['onDrag']({context:a,event:b}){const c=this,{client:d}=c,{resource:e}=a,{resourceStore:f}=d,g=d[R(0x194,0x18c)][R(0x155,0x172)][R(0x164,0x185)],h=_scf[R(0x14f,0x16d)](g),j=b[R(0x15a,0x170)],k=d[R(0x17c,0x18c)][R(0x170,0x179)]['x'],l=f[R(0x144,0x135)],m=f[R(0x109,0x132)],n=d[R(0x171,0x17d)];function R(a,b){return _scI(a,b-0x2e4);}let o=null,p=-0x1,q=0x0,r=!![],s=null,t=-0x1,u=0x0;for(let v=0x0;v<l[R(0x14f,0x160)];v++){const w=l[v];if(w[R(0x15f,0x140)]){continue;}if(w===e){t=u;}const x=w[R(0x139,0x154)](d),y=x[R(0x179,0x158)],z=d['getResourceWidth'](w);let A,B,C;if(n){B=h[R(0x161,0x146)]-y+k;A=B-z;C=A+z/0x2;}else{A=h[R(0x197,0x182)]+y-k;B=A+z;C=A+z/0x2;}if(m&&j>=A&&j<B){s=f[R(0x174,0x156)](w);}const D=n?j>C:j<C;if(o===null&&D){o=w;p=u;q=y;}u++;}if(!o){p=u;for(let E=l['length']-0x1;E>=0x0;E--){const F=l[E];if(!F[R(0x11d,0x140)]){const G=F[R(0x163,0x154)](d);q=G[R(0x14f,0x158)]+d[R(0x13b,0x13a)](F);if(m&&!s){s=f[R(0x162,0x156)](F);}break;}}}if(p===t||p===t+0x1){r=![];}c[R(0x158,0x14b)]['style'][R(0x155,0x168)]=q-0x1+'px';a[R(0x178,0x17c)]=o;a[R(0x151,0x162)]=p;a[R(0x1ad,0x180)]=s;a['valid']=r;d[R(0x171,0x16b)](R(0x189,0x16f),{'context':a,'event':b});c[R(0x16e,0x14b)][R(0x14d,0x17a)][R(0x168,0x155)]=a['valid']?'':'none';}async[_scI(-0x162,-0x180)]({context:a,event:b}){function S(a,b){return _scI(b,a-0x6df);}const {client:c}=this;if(a[S(0x56f,0x570)]){a[S(0x561,0x55f)]=!![];if(await c['trigger']('resourceColumnBeforeDropFinalize',{'context':a,'event':b})===![]){a[S(0x56f,0x55c)]=![];}if(a['valid']){await this[S(0x559,0x584)](a);}else{a['finalize'](![]);}}c['trigger'](S(0x586,0x57d),{'context':a,'event':b});}async['finalizeReorder'](a){function T(a,b){return _scI(a,b-0x544);}const {client:b}=this,{resourceStore:c}=b,{resource:d,insertBefore:e,targetGroup:f}=a;a['finalize'](!![]);if(c[T(0x3ab,0x392)]&&f){const g=c['groupers'][0x0][T(0x3a1,0x3c9)],h=f[T(0x3e6,0x3ba)][T(0x3c0,0x3bb)];if(d[g]!==h){d[g]=h;}}c[T(0x3dd,0x3e9)](d,e);}[_scI(-0x12b,-0x157)]({context:a,event:b}){function U(a,b){return _scI(a,b-0x391);}this[U(0x221,0x1fd)][U(0x1f2,0x218)]('resourceColumnDragAbort',{'context':a,'event':b});}[_scI(-0x187,-0x15c)](){function V(a,b){return _scI(a,b-0x3fb);}var a;this['client']['removeCls'](V(0x278,0x258));(a=this[V(0x281,0x263)])===null||a===void 0x0||(a=a[V(0x271,0x288)])===null||a===void 0x0||(a=a[V(0x26e,0x29c)])===null||a===void 0x0||a[V(0x27b,0x292)][V(0x280,0x27a)](V(0x27f,0x259));if(this['dropIndicator']){this[V(0x25e,0x262)][V(0x2a1,0x291)][V(0x295,0x26c)]=V(0x27a,0x24f);}}}ResourceColumnReorder[_scI(-0x1c6,-0x1a1)]='';_scg[_scI(-0x13b,-0x155)](ResourceColumnReorder,![],_scI(-0x19b,-0x19f));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){
|
|
1
|
+
(function(a,b){function f(a,b){return _scb(a- -0x3e2,b);}const c=a();while(!![]){try{const d=-parseInt(f(-0x213,-0x222))/0x1+parseInt(f(-0x217,-0x223))/0x2*(-parseInt(f(-0x20c,-0x20d))/0x3)+-parseInt(f(-0x21d,-0x214))/0x4+parseInt(f(-0x203,-0x214))/0x5*(-parseInt(f(-0x20f,-0x1ff))/0x6)+parseInt(f(-0x206,-0x214))/0x7+parseInt(f(-0x221,-0x230))/0x8+parseInt(f(-0x220,-0x22d))/0x9*(parseInt(f(-0x208,-0x212))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x1e011));function _sca(){const k=['client','readOnly','resourceId','9258gRdciL','cellElement','b-separator','609747ZlWSqF','getById','getDataFromEvent','after','30SlJCWw','resourceRecord','1429267udMEos','pluginConfig','L{CellMenu.removeRow}','5UqjTsD','dataset','ResourceMenu','Scheduler','356368sNLHmG','1090080rHzYPd','.b-resource-header-cell','$name','645828KEkWtV','resourceStore','populateResourceMenu','push','resource','featureClass','2BtSJVO','b-fw-icon\x20b-icon-trash','closest','target','122941vICIfH'];_sca=function(){return k;};return _sca();}import _scc from'@bryntum/core-thin/lib/feature/base/ContextMenuBase.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _scg(a,b){return _scb(a- -0x209,b);}export default class ResourceMenu extends _scc{static [_scg(-0x45,-0x48)]=_scg(-0x4a,-0x4f);static ['configurable']={'processItems':null,'items':null,'type':_scg(-0x40,-0x43)};static get[_scg(-0x2c,-0x2b)](){function h(a,b){return _scg(b- -0x16f,a);}const a=super['pluginConfig'];a[h(-0x1a5,-0x19f)][h(-0x1b6,-0x1b0)](h(-0x1b4,-0x1b1));return a;}['getDataFromEvent'](a){function i(a,b){return _scg(b-0x58f,a);}const b=super[i(0x563,0x55e)](a),c=b[i(0x549,0x55a)]=a[i(0x558,0x554)][i(0x55b,0x553)](i(0x53a,0x549)),d=c===null||c===void 0x0?void 0x0:c[i(0x53b,0x544)][i(0x566,0x558)];if(d){b[i(0x559,0x561)]=this[i(0x54a,0x556)][i(0x540,0x54c)][i(0x563,0x55d)](d);return b;}}[_scg(-0x42,-0x47)]({items:a,resourceRecord:b}){function j(a,b){return _scg(b- -0x48,a);}const {client:c}=this;if(!c[j(-0x70,-0x80)]){a['remove']={'text':j(-0x62,-0x73),'localeClass':this,'icon':j(-0x7d,-0x85),'cls':j(-0x7c,-0x7c),'weight':0x64,'disabled':b['readOnly'],'onItem':()=>c[j(-0x7f,-0x8b)]['remove'](b)};}}get['showMenu'](){return!![];}}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x1be;let f=c[d];return f;};return _scb(a,b);}ResourceMenu[_scg(-0x3f,-0x45)]='';_scd['registerFeature'](ResourceMenu,![],[_scg(-0x49,-0x55)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function z(a,b){return _scb(b-0xb5,a);}const c=a();while(!![]){try{const d=-parseInt(z(0x1b7,0x1db))/0x1+parseInt(z(0x149,0x19a))/0x2+-parseInt(z(0x218,0x1ed))/0x3+parseInt(z(0x20a,0x1c8))/0x4*(-parseInt(z(0x2ac,0x249))/0x5)+parseInt(z(0x1e0,0x1b8))/0x6*(-parseInt(z(0x1fd,0x19b))/0x7)+-parseInt(z(0x206,0x237))/0x8*(parseInt(z(0x1ac,0x1e0))/0x9)+-parseInt(z(0x20a,0x231))/0xa*(-parseInt(z(0x242,0x1ec))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x99696));import _scc from'@bryntum/core-thin/lib/helper/DomHelper.js';function _scA(a,b){return _scb(b-0x1b4,a);}function _sca(){const ay=['b-contains-widget','186664IvauBL','startDate','resourceId','map','navigateTo','featureClass','updateSelectedCells','splice','setupCanvas','selectedContextsShow','client','rowBorderHeight','_fromFocusCell','stopTimelineCellsNavigation','shiftToCell','resumeEvents','count','setConfig','45uQjCyb','onCellNavigate','b-scheduler-context','getTimelineCellByOffset','offsetWidth','selectedCells','min','onInternalPaint','keyMapStartCellNavigation','max','features','click','hide','rtl','beforeSelectedContextsShow','timeAxis','selectedTimelineCells','destroy','shiftToAdjacentCellHorizontally','onTimeAxisViewModelUpdate','syncContextElement','resourceRecord','$name','2446252ncSmVd','7IjznXB','scheduleContext','timelineContextChange','eventStore','nullify','keyMapStopCellNavigation','parentIndex','getEvents','buildTimelineCell','currentOrientation','getCoordinateFromDate','isVisible','registerFeature','indexOf','adjustTickToVisibleRange','pluginConfig','canvases','hasEvent','tick','keyMapExtendSelectionUp','clear','eventElement','shareWithEvent','push','rowManager','insetInlineStart','parentNode','recordId','element','5903598mkZGYi','clearCellSelection','_extendingSelection','timelineCell','extendingStartCell','onRowManagerRowHeight','scheduledEventName','onScheduleContextGesture','add','equals','innerHTML','tickStartDate','remove','suspendEvents','query','display','16616rAjzmC','startCellNavigation','ResourceHistogram','@bryntum/scheduler-thin/lib/feature/ScheduleContext.css','columnLines','timelineContextClass','b-schedule-context-canvas','none','multiSelect','owner','domEvent','schedule','focusedRecord','keyNavigation','scheduleContextTrigger','left','keyMapExtendSelectionRight','mouseover','mousemove','1072997JAyPHp','triggerEvent','updateKeyMap','b-schedule-context-navigation-enabled','getRowById','108BCmmcY','isCollection','querySelector','buttons','mixin','canvas','getById','keyMapNavigateToCellUp','createElement','keyMapNavigateToCellLeft','changeSelectedCells','construct','14306655sJJNwX','2464950eAxyxE','onTimelineContextChange','height','isTimelineContext','selectCellRange','tickParentIndex','reconfigure','b-active-tick','keyMapExtendSelectionDown','index','cursorTrackingSuspended','Scheduler','timeAxisColumn','navigateDown','floating','focusCell','isNavigatingTimelineCells','_focusedRecord','tickId','cellNavigatingEnabled','visibleDateRange','mergeConfigs','rows','updateActivateOnEvent','timeAxisSubGridElement','width','onDataChange','tickEndDate','show','includes','columnId','keyMapExtendSelectionLeft','classList','context','callback','changeWidget','sync','eventRecord','configurable','keyMapClearSelection','schedulecontextmenu','updateContext','_focusedCell','getCellBox','sign','ion','getAt','toggle','getRowFor','keyMapNavigateToCellRight','detachListeners','shiftToAdjacentCellVertically','syncContextElements','record','enabled','keyMapNavigateToCellDown','isActive','widget','endDate','loadStylesheet','updateCellNavigatingEnabled','resourceWidth','getTime','store','updateClient','trigger','canvasDOMConfig','mousedown','20HWpQnr','top','b-cells-container','startTimelineCellsNavigation','startNavigationOnColumnFocus'];_sca=function(){return ay;};return _sca();}import _scd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _sce from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _scf from'@bryntum/core-thin/lib/mixin/Delayable.js';import _scg from'@bryntum/core-thin/lib/widget/Widget.js';import _sch from'@bryntum/core-thin/lib/GlobalEvents.js';import _sci from'@bryntum/core-thin/lib/util/Collection.js';import _scj from'@bryntum/core-thin/lib/helper/DomSync.js';_scc[_scA(0x2f7,0x327)](_scA(0x2c9,0x2ca));export default class ScheduleContext extends _scd[_scA(0x284,0x2e3)](_scf){static [_scA(0x2f8,0x298)]='ScheduleContext';static [_scA(0x324,0x312)]={'triggerEvent':_scA(0x338,0x353),'renderer':null,'widget':{'$config':['lazy',_scA(0x252,0x29e)],'value':null},'context':{'$config':{'equal'(c1,c2){function B(a,b){return _scA(b,a-0x1d3);}return(c1===null||c1===void 0x0?void 0x0:c1[B(0x4c8,0x490)])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x4c8,0x47e)])&&(c1===null||c1===void 0x0?void 0x0:c1['tickParentIndex'])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x4c4,0x494)])&&!(((c1===null||c1===void 0x0?void 0x0:c1['tickStartDate'])||0x0)-((c2===null||c2===void 0x0?void 0x0:c2['tickStartDate'])||0x0))&&(c1===null||c1===void 0x0?void 0x0:c1[B(0x4e4,0x4da)])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x4e4,0x4f5)])&&(c1===null||c1===void 0x0?void 0x0:c1[B(0x4f4,0x4fb)])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x4f4,0x502)]);}}},'activateOnEvent':null,'shareWithEvent':null,'keyNavigation':![],'multiSelect':![],'startNavigationOnColumnFocus':!![],'cellNavigatingEnabled':![],'selectedCells':{},'keyMap':{'Enter':{'handler':_scA(0x32f,0x350),'preventDefault':![]},'ArrowRight':{'handler':_scA(0x350,0x31d),'preventDefault':![]},'ArrowLeft':{'handler':'keyMapNavigateToCellLeft','preventDefault':![]},'ArrowUp':{'handler':_scA(0x285,0x2e6),'preventDefault':![]},'ArrowDown':{'handler':'keyMapNavigateToCellDown','preventDefault':![]},'Shift+ArrowRight':{'handler':_scA(0x2b6,0x2d7),'preventDefault':![]},'Shift+ArrowLeft':{'handler':_scA(0x347,0x30b),'preventDefault':![]},'Shift+ArrowUp':{'handler':_scA(0x278,0x2ad),'preventDefault':![]},'Shift+ArrowDown':{'handler':_scA(0x34c,0x2f4),'preventDefault':![]},'Escape':[{'handler':_scA(0x2ed,0x29f),'preventDefault':![],'weight':-0xa},{'handler':_scA(0x2c4,0x313),'preventDefault':![],'weight':-0x14}]},'canvasDOMConfig':{'retainElement':!![],'className':_scA(0x27b,0x2cd),'children':[{'className':_scA(0x319,0x332)}]}};static get[_scA(0x299,0x2a9)](){function C(a,b){return _scA(b,a- -0x17);}return{'before':[C(0x338,0x305)],'chain':[C(0x332,0x38a)],'assign':['startTimelineCellsNavigation',C(0x32c,0x304),C(0x2a3,0x2be),'selectedTimelineCells','isNavigatingTimelineCells',C(0x28b,0x2a8),'selectTimelineCellRange','getTimelineCellByOffset']};}[_scA(0x2d1,0x306)](){function D(a,b){return _scA(a,b- -0x12b);}this[D(0x1f2,0x1f5)]();}['onRowManagerRowHeight'](){this['syncContextElements']();}[_scA(0x319,0x2ea)](a,b){super[E(0x282,0x2d3)](a,b);const {triggerEvent:c}=this,d={'dataChange':E(0x2d2,0x2ef),'timeAxisViewModelUpdate':E(0x2e1,0x27e),'presetChange':E(0x2dd,0x297),'thisObj':this};function E(a,b){return _scA(a,b- -0x17);}if(c===E(0x2a4,0x2c1)){d[E(0x26c,0x285)]='onTimelineContextChange';}else{if(c===E(0x316,0x33c)||c===E(0x335,0x318)){d[E(0x342,0x2fd)]=E(0x290,0x2a7);}d[E(0x269,0x2bb)+c]=E(0x2b9,0x2a7);}a[E(0x308,0x302)](d);a[E(0x24e,0x29b)][E(0x2ec,0x302)]({'rowHeight':E(0x2e2,0x2a5),'thisObj':this});}[_scA(0x373,0x34f)]({firstPaint:a}){function F(a,b){return _scA(b,a- -0x2f5);}if(a){this[F(0x49,0x89)]();}}[_scA(0x3a1,0x33e)](){const a=this,{client:b}=a;function G(a,b){return _scA(b,a- -0x4d4);}if(!a[G(-0x1f0,-0x1e3)]){a[G(-0x1f0,-0x1de)]=b[G(-0x22a,-0x232)][G(-0x239,-0x25a)]=_scc[G(-0x1ed,-0x248)](a['constructor'][G(-0x1d3,-0x22f)](a[G(-0x1a6,-0x187)],{'parent':b[G(-0x1d0,-0x1f9)]}));}}[_scA(0x318,0x2dc)](...a){if(this[H(0x43c,0x445)]){return super[H(0x444,0x3e3)](...a);}function H(a,b){return _scA(b,a-0x168);}return null;}['changeTriggerEvent'](a){function I(a,b){return _scA(b,a-0xbd);}if(a==='hover'||a===I(0x396,0x3f5)){a=I(0x395,0x386);}return a;}[_scA(0x372,0x30f)](a,b){function J(a,b){return _scA(b,a- -0x296);}if(a){const {client:c}=this;return _scg[J(0x5c,0xb1)](b,_scg[J(0x6b,0x2f)](a,{'owner':c,'positioned':!![],'appendTo':this[J(0x4e,0x40)],'hidden':!![],'showAnimation':![]}),this);}b[J(-0x3,0x1e)]();}get[_scA(0x26b,0x2b6)](){const a=this;function K(a,b){return _scA(b,a- -0x1fb);}if(!a['_element']){var b;a['_element']=((b=a[K(0x12a,0xd1)])===null||b===void 0x0?void 0x0:b[K(0xbb,0x116)])||_scc[K(0xec,0x106)]({'parent':a['canvas']});a[K(0xbb,0xfe)][K(0x111,0x10d)][K(0xc4,0xe5)]('b-schedule-selected-tick');}return a['_element'];}[_scA(0x2e8,0x2ed)]({context:a}){function L(a,b){return _scA(b,a-0xde);}this[L(0x3eb,0x3c3)]=a;}[_scA(0x2d9,0x2be)](a){const b=this,{shiftKeyDown:c}=_sch;function M(a,b){return _scA(b,a- -0x4fa);}if(b[M(-0x226,-0x20e)]&&b[M(-0x1c6,-0x202)]&&!b[M(-0x1fb,-0x1ee)]){b[M(-0x232,-0x27b)](a);}else if(b[M(-0x21f,-0x221)]==='click'&&c&&b[M(-0x1fb,-0x226)]&&b[M(-0x23f,-0x200)]){b[M(-0x20a,-0x1a8)](null,a);}else{b[M(-0x1ed,-0x1ac)]=a;}}[_scA(0x267,0x295)]({source:a}){function N(a,b){return _scA(b,a- -0x483);}var b;if(a[N(-0x1f2,-0x1b0)][N(-0x17a,-0x166)]((b=this[N(-0x176,-0x17e)])===null||b===void 0x0?void 0x0:b['tick'])){this['syncContextElements']();}else{this['clear']();}}[_scA(0x25d,0x2ae)](){function O(a,b){return _scA(b,a-0x202);}this[O(0x50f,0x550)]=null;}['changeContext'](a,b){var c;function P(a,b){return _scA(a,b- -0x1ba);}const d=this;if(!((c=d[P(0x125,0x16b)])!==null&&c!==void 0x0&&c[P(0x111,0x10b)](g=>g[P(0x12f,0x140)]&&g[P(0x91,0xeb)]))){var e;a=d[P(0xb4,0xe8)](a);if(!d['shareWithEvent']&&d['hasEvent'](a)){return null;}if(d['activateOnEvent']||!((e=a)!==null&&e!==void 0x0&&e[P(0x158,0xf5)])){var f;if((f=a)!==null&&f!==void 0x0&&f[P(0x112,0x106)](b)){return;}return a;}return null;}}[_scA(0x2b3,0x315)](a,b){function Q(a,b){return _scA(b,a- -0x596);}const c=this;if(a){if(c[Q(-0x2c7,-0x322)]&&c['_extendingSelection']){c[Q(-0x2a6,-0x251)](null,a);}else{c['extendingStartCell']=a;c['selectCell'](a);}}else{c[Q(-0x2de,-0x331)]();}}[_scA(0x2b2,0x303)](a){function R(a,b){return _scA(b,a-0x21b);}const b=this;if(a){const {triggerEvent:c,client:d}=b;b[R(0x4cb,0x489)]=!![];if(c!==R(0x4f3,0x4c8)){d[R(0x534,0x51e)]({'name':R(0x4f0,0x48e),[''+d[R(0x4d8,0x539)]+c]:'onScheduleContextGesture','thisObj':b});}}else{b['shareWithEvent']=b['config']['shareWithEvent'];b[R(0x539,0x57f)](R(0x4f0,0x4c5));}}[_scA(0x25e,0x2ab)](a){var b;const {client:c}=this;function S(a,b){return _scA(b,a- -0x38);}return Boolean(a&&!c['isResourceHistogram']&&((b=c[S(0x265,0x217)][S(0x269,0x20a)]({'resourceRecord':a[S(0x25f,0x27a)],'startDate':a[S(0x28a,0x23b)],'endDate':a[S(0x2cf,0x28d)]}))===null||b===void 0x0?void 0x0:b['length']));}[_scA(0x2ba,0x2f6)]=0x0;[_scA(0x279,0x296)](){function T(a,b){return _scA(b,a- -0x2b4);}var a,b;const c=this,{client:d,widget:e,context:f,renderer:g}=c,h=((a=c[T(0x71,0x7b)])===null||a===void 0x0?void 0x0:a[T(0x2,-0x2e)])||c['element'],{isVertical:i}=d,j=f&&(i?d[T(-0x2,0x28)][T(0x4e,0x57)][0x0]:d[T(0x68,0xa1)](f[T(-0x1d,-0x27)]||f['record']));let k=![];if(f&&j&&c[T(0x6e,0x3e)]&&!((b=f[T(0x1d,-0x3b)])!==null&&b!==void 0x0&&b[T(0x2e,0x15)])){var l;const {dataset:n,style:o}=h,{tickStartDate:p,tickEndDate:q,resourceRecord:r,record:s}=f,t=d[T(-0x11,0x43)]['getTimeSpanRenderData']({'startDate':p,'endDate':q,'startDateMS':p[T(0x76,0xc2)](),'endDateMS':q[T(0x76,0x5b)]()},r||s);let u,v,w;if(i){u=t['top'];v=t[T(0x75,0xb4)];w=t[T(0x3a,0x69)];}else{var m;u=j[T(0x7d,0xc1)];v=t[T(0x51,0x43)]-((m=d[T(0x9e,0xfc)][T(0x17,-0x2c)])!==null&&m!==void 0x0&&m[T(0x6e,0xaf)]?0x1:0x0);w=j[T(0x3a,0x9d)]-d[T(0x8d,0x8a)];}f['index']=j['index'];h[T(0x58,0x36)]['add']('b-schedule-selected-tick',T(0x3f,0x1a));if(r){n[T(0x84,0x86)]=r['id'];}if(s){n[T(0x1,0x5a)]=s['id'];}n[T(0x70,0x25)]=!![];n['tickIndex']=f['tickParentIndex'];n[T(0x4a,0x94)]=(l=f[T(-0x8,-0x65)])===null||l===void 0x0?void 0x0:l['id'];h['classList']['toggle'](T(0x81,0x5c),Boolean(h[T(0x2d,0xb)]('.b-widget')));const x={'width':v,'height':w,'x':t[T(0x22,0x30)],'y':u};if(d[T(0x79,0x63)]('beforeContextShow',{'context':f,'element':h,'position':x})===![]){(e===null||e===void 0x0?void 0x0:e['hide'](![]))||(o[T(0x12,-0x1)]='none');return;}if(e){e[T(-0x26,-0x6d)](![]);if(!f['eventRecord']){if(d['rtl']){x['x']=(h['offsetParent']||h[T(0x0,0x3b)])[T(0x98,0x4c)]-x['x'];}e[T(0x93,0xca)]({...x,'timelineContext':f});e[T(0x54,0x4d)]({'animate':![]});k=!![];}}else{o[T(0x51,0x79)]=x[T(0x51,0x3e)]+'px';o[T(0x3a,0x34)]=x[T(0x3a,0x9b)]+'px';o[T(-0x1,-0x10)]=x['x']+'px';o[T(0x7d,0x48)]=x['y']+'px';h[T(0xd,0x44)]='';g&&c[T(0x5a,0x66)](g,c,[f,h]);o['display']='';k=!![];}}else{(e===null||e===void 0x0?void 0x0:e[T(-0x26,-0x29)](![]))||(h['style'][T(0x12,-0x40)]=T(0x1a,-0x33));}if(k){d[T(0x79,0xda)](T(0x8b,0x46));}}['getCellBox'](a,b='px'){const {client:c}=this,{tick:d,record:e,resourceRecord:f}=a,g=c[U(-0x210,-0x222)](d['startDate'],{'ignoreRTL':!![]}),h=c[U(-0x210,-0x1e9)](d[U(-0x18e,-0x1c4)],{'ignoreRTL':!![]}),i=h-g,j=c[U(-0x1d6,-0x199)](e||f);function U(a,b){return _scA(b,a- -0x4b4);}if(j){const {top:k,height:l}=j;if(b){return{'insetInlineStart':''+g+b,'width':''+i+b,'top':''+k+b,'height':''+l+b};}return{'insetInlineStart':g,'width':i,'top':k,'height':l};}}[_scA(0x2c0,0x320)](){const {selectedCells:a,multiSelect:b,client:c,context:d,renderer:e}=this;if(!b){return this[V(-0xbb,-0xa0)]();}const f={'children':[{'className':V(-0x1f,-0x2e),'children':a[V(-0x18,-0x3a)](g=>{const h=this[W(0x4b3,0x496)](g);function W(a,b){return V(b-0x4d0,a);}if(h){var i;const j=g[W(0x3de,0x43f)](d),k={'className':{'b-schedule-selected-tick':0x1,'b-active-tick':j},'dataset':{'isActive':j,'tickIndex':g['tickParentIndex'],'tickId':(i=g[W(0x450,0x42b)])===null||i===void 0x0?void 0x0:i['id'],'recordId':(g[W(0x501,0x4a0)]||g[W(0x45f,0x416)])['id']},'style':h};e&&this[W(0x431,0x48d)](e,this,[d,k]);return k;}})}]};function V(a,b){return _scA(b,a- -0x351);}if(c['trigger'](V(-0xc1,-0xb3),{'selectedContexts':a['values']['slice'](),'domConfig':f})!==![]){_scj[V(-0x41,-0xc)]({'domConfig':f,'targetElement':this[V(-0x6d,-0x22)]});}c[V(-0x24,0x2f)](V(-0x12,-0x20));}[_scA(0x370,0x32c)](a){this['columnId']=a[X(-0x122,-0x115)]['id'];function X(a,b){return _scA(a,b- -0x40d);}return super['updateClient'](...arguments);}[_scA(0x2a0,0x2e9)](a){function Y(a,b){return _scA(a,b- -0x454);}if(!a[Y(-0x11c,-0x174)]){a=new _sci(a);}return a;}[_scA(0x282,0x2a2)](a){function Z(a,b){return _scA(b,a- -0x501);}if(a&&!a[Z(-0x212,-0x24a)]){const {client:b}=this,c=a[Z(-0x1e0,-0x1b6)]||a[Z(-0x26a,-0x292)];a=b['buildTimelineContext'](b['constructor'][Z(-0x200,-0x261)](a,{'record':c}));}return a;}['changeExtendingStartCell'](a){function a0(a,b){return _scA(a,b- -0x490);}return this[a0(-0x190,-0x1ee)](a);}[_scA(0x35d,0x33c)](a){const b=this;function a1(a,b){return _scA(a,b- -0x1ce);}if(!a[a1(0xbc,0x102)]){a[a1(0xdf,0x102)]=b;}b[a1(0x104,0x150)](a1(0x1d3,0x17f));a[a1(0x180,0x14b)]({'name':a1(0x1de,0x17f),'change':'onSelectedCellsChange','thisObj':b});}[_scA(0x35f,0x328)](a){function a2(a,b){return _scA(a,b- -0x3cc);}const {client:b}=this,c=b[a2(-0x10c,-0xf9)]||this[a2(-0x7e,-0xcf)];if(a&&c){var d;this[a2(-0xb1,-0x92)](c,(d=this['context'])===null||d===void 0x0?void 0x0:d['tick'],!![]);}b[a2(-0x172,-0x116)][a2(-0x62,-0xc0)][a2(-0x95,-0xb1)](a2(-0xf9,-0xef),a);}[_scA(0x3a9,0x34b)](a=0x0,b=0x0,c=null){function a3(a,b){return _scA(a,b- -0x322);}const {context:d,client:e}=this;if(this[a3(-0x81,-0x26)]&&(a||b)&&d){const {tick:f,record:g}=d;let h,i;if(a){h=e[a3(-0x65,-0x91)][a3(0x4c,-0x8)](f[a3(-0xa6,-0x82)]+a);}if(b){i=e[a3(-0x2,0x9)][a3(-0x5b,-0x8)](e[a3(-0x50,0x9)][a3(-0x97,-0x7b)](g)+b);}if(h||i){return new e[(a3(-0x22,-0x56))]({'scheduler':e,'tick':h||f,'record':i||g,'domEvent':c});}}}[_scA(0x314,0x31f)](a,b){if(this[a4(0x46f,0x432)]){a=Math['sign'](a);const c=this[a4(0x4b7,0x487)](0x0,a,b);if(c!==null&&c!==void 0x0&&c['record']){if(a>0x0){this[a4(0x4b3,0x491)][a4(0x46c,0x411)]();}else{this[a4(0x4b3,0x4d1)]['navigateUp']();}}return!![];}function a4(a,b){return _scA(b,a-0x173);}return![];}[_scA(0x27b,0x294)](a,b){if(this[a5(0x69,0x8b)]){a=Math[a5(0x85,0x95)](a);const c=this[a5(0xb1,0x5d)](a,0x0,b);return Boolean(c===null||c===void 0x0?void 0x0:c[a5(0x19,-0x41)]);}function a5(a,b){return _scA(b,a- -0x293);}return![];}[_scA(0x32b,0x2e6)](a){if(this[a6(-0x145,-0xf3)]){this[a6(-0x188,-0x16e)]=![];return this[a6(-0x122,-0x128)](-0x1,a);}function a6(a,b){return _scA(b,a- -0x441);}return![];}[_scA(0x305,0x323)](a){if(this[a7(0x6f,0x2e)]){this[a7(-0x3f,-0x15)]=![];return this[a7(0x4a,0x51)](0x1,a);}function a7(a,b){return _scA(a,b- -0x2ce);}return![];}[_scA(0x31a,0x2e8)](a){function a8(a,b){return _scA(a,b- -0x8b);}if(this[a8(0x269,0x271)]){this[a8(0x290,0x22e)]=![];return this['shiftToAdjacentCellHorizontally'](this['client'][a8(0x1d7,0x204)]?0x1:-0x1,a);}return![];}['keyMapNavigateToCellRight'](a){function a9(a,b){return _scA(a,b- -0x4d0);}if(this['isNavigatingTimelineCells']){this['_extendingSelection']=![];return this['shiftToAdjacentCellHorizontally'](this['client'][a9(-0x1f1,-0x241)]?-0x1:0x1,a);}return![];}[_scA(0x2e9,0x2ad)](a){const b=this;if(b[aa(0x7c,0xaf)]&&b[aa(0x6d,0x82)]){b[aa(0x63,0x6c)]=!![];const c=b[aa(0x94,0xd2)](-0x1,a);b[aa(0xb7,0x6c)]=![];return c;}function aa(a,b){return _scA(a,b- -0x24d);}return![];}[_scA(0x2b2,0x2f4)](a){function ab(a,b){return _scA(b,a- -0x127);}const b=this;if(b[ab(0x1d5,0x198)]&&b['multiSelect']){b['_extendingSelection']=!![];const c=b['shiftToAdjacentCellVertically'](0x1,a);b['_extendingSelection']=![];return c;}return![];}[_scA(0x316,0x30b)](a){const b=this;function ac(a,b){return _scA(b,a- -0x8a);}if(b['isNavigatingTimelineCells']&&b[ac(0x245,0x247)]){b[ac(0x22f,0x228)]=!![];const c=b[ac(0x20a,0x266)](this['client'][ac(0x205,0x257)]?0x1:-0x1,a);b[ac(0x22f,0x1eb)]=![];return c;}return![];}[_scA(0x29e,0x2d7)](a){const b=this;if(b[ad(0x66,0x4f)]&&b[ad(0x3a,0x22)]){b['_extendingSelection']=!![];const c=b[ad(-0x79,-0x19)](this['client']['rtl']?-0x1:0x1,a);b[ad(-0x2d,0xc)]=![];return c;}function ad(a,b){return _scA(a,b- -0x2ad);}return![];}[_scA(0x356,0x350)](){return this['startCellNavigation']()===!![];}[_scA(0x2a0,0x29f)](){function ae(a,b){return _scA(b,a- -0x2b0);}return this[ae(0x93,0x92)]()===!![];}[_scA(0x367,0x313)](){if(this['isNavigatingTimelineCells']&&this['selectedCells'][af(0x2f6,0x2f5)]>0x1){this[af(0x27e,0x268)]=![];this[af(0x2c2,0x267)]();return!![];}function af(a,b){return _scA(a,b- -0x51);}return![];}['onSelectedCellsChange'](){function ag(a,b){return _scA(b,a-0x1f3);}this[ag(0x513,0x4e8)]();}[_scA(0x320,0x349)](a,b,c){const d=this,{columnId:e}=d,{record:f}=c;function ah(a,b){return _scA(a,b- -0x1b2);}if(a[ah(0x1aa,0x190)]&&(b===null||b===void 0x0?void 0x0:b['columnId'])!==e&&c[ah(0x1a5,0x158)]===e&&f&&(d[ah(0x140,0x14d)]||d['keyNavigation']&&d['startNavigationOnColumnFocus'])){var g;d['_focusedRecord']=f;d['navigateTo'](f,(g=d[ah(0x127,0x15b)])===null||g===void 0x0?void 0x0:g[ah(0x143,0xfa)],!![]);d['_extendingSelection']=![];d['cellNavigatingEnabled']=!![];}else if((b===null||b===void 0x0?void 0x0:b[ah(0x1a1,0x158)])===e&&c[ah(0x16d,0x158)]!==e&&d[ah(0x151,0x14d)]){d[ah(0x1ab,0x191)]();}}[_scA(0x2c4,0x2a8)](a){const {client:b}=this,{startDate:c,endDate:d}=b[ai(0xa0,0x41)];if(!a||a[ai(0xbc,0x67)]<=c||a[ai(0xcc,0x78)]>=d){const {timeAxis:e}=b,f=Math['floor'](e['getTickFromDate'](c));a=e[ai(0x3,0x5b)](f);}function ai(a,b){return _scA(a,b- -0x2bf);}return a;}['startCellNavigation'](a){function aj(a,b){return _scA(b,a-0x20d);}var b;if(((b=this['client'][aj(0x523,0x556)])===null||b===void 0x0?void 0x0:b[aj(0x517,0x536)])===this[aj(0x517,0x4d8)]){return this['startTimelineCellsNavigation'](a);}}[_scA(0x2f4,0x33a)](a,b,c=![]){let d;const {context:e}=this;if(a[ak(0x370,0x37d)]){d=a;b=a[ak(0x373,0x33a)];}else if(c){b=this[ak(0x2dc,0x336)](b);}function ak(a,b){return _scA(a,b-0x8e);}if((e===null||e===void 0x0?void 0x0:e['record'])!==a||(e===null||e===void 0x0?void 0x0:e[ak(0x334,0x33a)])!==b){this[ak(0x3d4,0x39b)]=d||{'record':a,'tick':b};}}[_scA(0x2ea,0x344)](a=0x0,b=0x0,c=null){function al(a,b){return _scA(b,a- -0x3b9);}const d=this[al(-0x6e,-0x78)](a,b,c);if(d){this[al(-0x7f,-0x42)](d);return d;}}[_scA(0x267,0x2b8)](){const {selectedCells:a,context:b}=this;a[am(0x49b,0x4a8)](!![]);function am(a,b){return _scA(a,b-0x1e4);}a[am(0x582,0x521)](0x0,a[am(0x555,0x52a)],b?[b]:[]);a[am(0x507,0x529)]();}[_scA(0x2c0,0x2f0)](a,b){function an(a,b){return _scA(b,a- -0x331);}a=a||this[an(-0x76,-0x88)];const {selectedCells:c}=this,{store:d,timeAxis:e,resourceStore:f,isVertical:g}=this[an(0xf,-0x1c)],h=g?f:d,k=a[an(-0x40,0x1b)],l=b[an(-0x40,-0x7e)],m=a['record']||a[an(-0x9a,-0x8c)],n=b['record']||b[an(-0x9a,-0xf9)],o=h[an(-0x8a,-0x84)](m),p=h[an(-0x8a,-0xb6)](n),q=[],r=Math['min'](k,l),s=Math[an(0x20,0x7a)](k,l),t=Math[an(0x1d,0x6d)](o,p),u=Math[an(0x20,0x1a)](o,p);c[an(-0x6d,-0x54)](!![]);for(let v=r;v<=s;v++){const w=e['getAt'](v);for(let x=t;x<=u;x++){const y=h[an(-0x17,-0x2f)](x);q[an(-0x80,-0xcd)](this[an(-0x8f,-0xee)]({'record':y,'tick':w}));}}c[an(0xc,-0x1a)](0x0,c[an(0x15,0x1b)],q);c['resumeEvents']();}['selectCell'](a){function ao(a,b){return _scA(a,b- -0x224);}this[ao(0x10b,0xcc)](a,a);}['deselectCell'](a){const {record:b,tick:c}=a;function ap(a,b){return _scA(b,a- -0xd7);}if(a[ap(0x24a,0x27e)]){const {selectedCells:d}=this;d[ap(0x1ec,0x1c2)](d['get'](b['id']+':'+c['id']));}}get['timelineCell'](){function aq(a,b){return _scA(b,a- -0x523);}return this[aq(-0x216,-0x249)];}set[_scA(0x2e2,0x2ba)](a){function ar(a,b){return _scA(b,a-0x20e);}this[ar(0x51b,0x4fd)]=a;}get[_scA(0x2a8,0x292)](){function as(a,b){return _scA(a,b- -0x482);}return this[as(-0x141,-0x135)];}set[_scA(0x232,0x292)](a){function at(a,b){return _scA(b,a- -0x1f2);}this[at(0x15b,0x10b)]=a;}get['isNavigatingTimelineCells'](){var a;function au(a,b){return _scA(b,a- -0x472);}return this[au(-0x173,-0x194)]&&((a=this['client'][au(-0x15c,-0x18a)])===null||a===void 0x0?void 0x0:a[au(-0x168,-0x13f)])===this[au(-0x168,-0x1b8)];}[_scA(0x36f,0x333)](a){const {client:b,columnId:c,_focusedRecord:d}=this;function av(a,b){return _scA(a,b- -0x32b);}if(!this[av(-0x28,-0x2c)]){var e;const {_focusedCell:g}=b;if((g===null||g===void 0x0?void 0x0:g[av(0x38,-0x21)])!==c){var f;const h=(g===null||g===void 0x0?void 0x0:g[av(-0x10,-0xa)])||d||b['store'][av(-0x6,-0x46)]((f=b['firstVisibleRow'])===null||f===void 0x0?void 0x0:f['id']);b[av(-0x7c,-0x30)]({'grid':b,'column':b[av(-0x1c,-0x33)],'record':h});}if(((e=b[av(0x22,-0x15)])===null||e===void 0x0?void 0x0:e['columnId'])===c){if(a){this[av(0x2e,-0x1e)]=a;}this[av(-0x7d,-0x2c)]=!![];return!![];}}}[_scA(0x37d,0x343)](){function aw(a,b){return _scA(b,a- -0x408);}if(this['cellNavigatingEnabled']){this[aw(-0x14f,-0x1a0)]=![];this[aw(-0x109,-0x105)]=![];return!![];}}['selectTimelineCellRange'](...a){function ax(a,b){return _scA(b,a-0x1a2);}return this[ax(0x492,0x4e8)](...a);}}ScheduleContext[_scA(0x2de,0x33b)]=_scA(0x31e,0x34a);function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xda;let f=c[d];return f;};return _scb(a,b);}_sce[_scA(0x2e7,0x2a6)](ScheduleContext,![],[_scA(0x2c3,0x2f7),_scA(0x2e1,0x2c9)]);
|
|
1
|
+
(function(a,b){const c=a();function z(a,b){return _scb(a-0x172,b);}while(!![]){try{const d=-parseInt(z(0x2d9,0x2f3))/0x1*(-parseInt(z(0x297,0x2f3))/0x2)+parseInt(z(0x2d1,0x332))/0x3*(-parseInt(z(0x289,0x29a))/0x4)+parseInt(z(0x237,0x1fe))/0x5*(-parseInt(z(0x2d3,0x2db))/0x6)+parseInt(z(0x244,0x25b))/0x7+-parseInt(z(0x2d2,0x315))/0x8*(-parseInt(z(0x25d,0x253))/0x9)+-parseInt(z(0x2a8,0x289))/0xa*(-parseInt(z(0x22d,0x1e0))/0xb)+parseInt(z(0x224,0x1e1))/0xc*(-parseInt(z(0x2b4,0x28b))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xb7e8e));function _sca(){const au=['10fiFnux','loadStylesheet','columnId','isResourceHistogram','height','getCellBox','changeContext','getTimeSpanRenderData','tickStartDate','focusedRecord','schedulecontextmenu','keyMapExtendSelectionLeft','265213cZuRlg','selectedCells','canvas','onScheduleContextGesture','timeAxisColumn','keyMapClearSelection','_focusedRecord','hasEvent','scheduledEventName','keyMapStopCellNavigation','values','resourceId','getTickFromDate','indexOf','push','$name','click','selectCell','updateCellNavigatingEnabled','equals','clearCellSelection','destroy','updateContext','keyMapExtendSelectionUp','rtl','onInternalPaint','query','onRowManagerRowHeight','startCellNavigation','3ZzOLAp','24qjFPPJ','55722RdKqug','deselectCell','_focusedCell','canvases','currentOrientation','enabled','56267gAweYA','domEvent','suspendEvents','style','clear','resourceRecord','navigateDown','timeAxisSubGridElement','tickEndDate','adjustTickToVisibleRange','createElement','pluginConfig','keyMapNavigateToCellLeft','selectTimelineCellRange','_element','onDataChange','endDate','startNavigationOnColumnFocus','isVisible','syncContextElements','612ksgKbZ','shiftToAdjacentCellHorizontally','tickIndex','config','changeSelectedCells','multiSelect','isNavigatingTimelineCells','shiftToCell','store','15455187DUoCCc','isTimelineContext','ResourceHistogram','display','index','updateSelectedCells','cellNavigatingEnabled','eventStore','extendingStartCell','max','305vFPMaI','sync','cursorTrackingSuspended','top','add','element','hide','ion','show','remove','b-schedule-selected-tick','context','setupCanvas','57239DPLQoe','stopTimelineCellsNavigation','tickParentIndex','reconfigure','owner','configurable','syncContextElement','keyMapNavigateToCellDown','timeAxis','visibleDateRange','onTimelineContextChange','widget','getTime','keyNavigation','buildTimelineContext','resumeEvents','onSelectedCellsChange','mergeConfigs','parentNode','changeWidget','tick','registerFeature','map','scheduleContext','selectedTimelineCells','3813066kOZUUV','timelineCell','schedule','Scheduler','updateKeyMap','keyMapExtendSelectionRight','sign','get','none','changeTriggerEvent','getAt','insetInlineStart','@bryntum/scheduler-thin/lib/feature/ScheduleContext.css','offsetParent','selectCellRange','innerHTML','b-cells-container','callback','parentIndex','constructor','width','getById','lazy','mixin','navigateTo','getTimelineCellByOffset','left','floor','buttons','hover','client','buildTimelineCell','selectedContextsShow','tickId','onTimeAxisViewModelUpdate','min','rowManager','keyMapNavigateToCellUp','b-schedule-context-canvas','eventElement','trigger','scheduleContextTrigger','classList','.b-widget','1520924pMdRsX','recordId','features','featureClass','keyMapNavigateToCellRight','keyMapStartCellNavigation','floating','eventRecord','includes','_extendingSelection','construct','startDate','changeExtendingStartCell','shareWithEvent','2WynHXl','onCellNavigate','_fromFocusCell','splice','count','keyMapExtendSelectionDown','navigateUp','updateClient','columnLines','b-scheduler-context','startTimelineCellsNavigation','toggle','mouseover','record','shiftToAdjacentCellVertically','beforeContextShow','mousemove'];_sca=function(){return au;};return _sca();}import _scc from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _sce from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xa8;let f=c[d];return f;};return _scb(a,b);}import _scf from'@bryntum/core-thin/lib/mixin/Delayable.js';import _scg from'@bryntum/core-thin/lib/widget/Widget.js';function _scA(a,b){return _scb(a- -0x38b,b);}import _sch from'@bryntum/core-thin/lib/GlobalEvents.js';import _sci from'@bryntum/core-thin/lib/util/Collection.js';import _scj from'@bryntum/core-thin/lib/helper/DomSync.js';_scc[_scA(-0x254,-0x291)](_scA(-0x294,-0x279));export default class ScheduleContext extends _scd[_scA(-0x289,-0x2c6)](_scf){static [_scA(-0x23a,-0x288)]='ScheduleContext';static [_scA(-0x2b4,-0x2cf)]={'triggerEvent':'click','renderer':null,'widget':{'$config':[_scA(-0x28a,-0x28f),'nullify'],'value':null},'context':{'$config':{'equal'(c1,c2){function B(a,b){return _scA(a-0x304,b);}return(c1===null||c1===void 0x0?void 0x0:c1['index'])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x38,0x6a)])&&(c1===null||c1===void 0x0?void 0x0:c1[B(0x4d,0x4d)])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x4d,0xa)])&&!(((c1===null||c1===void 0x0?void 0x0:c1[B(0xb7,0xc8)])||0x0)-((c2===null||c2===void 0x0?void 0x0:c2[B(0xb7,0xce)])||0x0))&&(c1===null||c1===void 0x0?void 0x0:c1[B(0x97,0xb0)])===(c2===null||c2===void 0x0?void 0x0:c2['eventRecord'])&&(c1===null||c1===void 0x0?void 0x0:c1[B(0xab,0xf5)])===(c2===null||c2===void 0x0?void 0x0:c2['record']);}}},'activateOnEvent':null,'shareWithEvent':null,'keyNavigation':![],'multiSelect':![],'startNavigationOnColumnFocus':!![],'cellNavigatingEnabled':![],'selectedCells':{},'keyMap':{'Enter':{'handler':_scA(-0x26f,-0x293),'preventDefault':![]},'ArrowRight':{'handler':_scA(-0x270,-0x27a),'preventDefault':![]},'ArrowLeft':{'handler':_scA(-0x2e1,-0x28c),'preventDefault':![]},'ArrowUp':{'handler':_scA(-0x27b,-0x259),'preventDefault':![]},'ArrowDown':{'handler':_scA(-0x2b2,-0x2d9),'preventDefault':![]},'Shift+ArrowRight':{'handler':_scA(-0x29b,-0x253),'preventDefault':![]},'Shift+ArrowLeft':{'handler':_scA(-0x24a,-0x22b),'preventDefault':![]},'Shift+ArrowUp':{'handler':_scA(-0x232,-0x22a),'preventDefault':![]},'Shift+ArrowDown':{'handler':_scA(-0x261,-0x25c),'preventDefault':![]},'Escape':[{'handler':_scA(-0x240,-0x227),'preventDefault':![],'weight':-0xa},{'handler':_scA(-0x244,-0x245),'preventDefault':![],'weight':-0x14}]},'canvasDOMConfig':{'retainElement':!![],'className':_scA(-0x27a,-0x2ce),'children':[{'className':_scA(-0x290,-0x248)}]}};static get[_scA(-0x2e2,-0x2df)](){function C(a,b){return _scA(b-0x3a,a);}return{'before':[C(-0x20f,-0x1f6)],'after':[C(-0x202,-0x22b)],'assign':[C(-0x1c4,-0x222),C(-0x27b,-0x27e),C(-0x2ac,-0x265),'selectedTimelineCells',C(-0x266,-0x299),C(-0x240,-0x247),C(-0x254,-0x2a6),C(-0x26e,-0x24d)]};}['onDataChange'](){function D(a,b){return _scA(a-0x321,b);}this[D(0x47,0x7a)]();}[_scA(-0x22e,-0x203)](){function E(a,b){return _scA(a-0x2b3,b);}this[E(-0x27,0x1a)]();}[_scA(-0x26a,-0x232)](a,b){super[F(-0x25,-0x2b)](a,b);const {triggerEvent:c}=this,d={'dataChange':F(-0x99,-0x57),'timeAxisViewModelUpdate':F(-0x39,-0x3e),'presetChange':F(0x25,0x7),'thisObj':this};if(c===F(-0x15,0xa)){d['timelineContextChange']=F(-0x6a,-0x17);}else{if(c===F(0xc,0x4)||c==='mousedown'){d[F(-0x6,-0x18)]='onScheduleContextGesture';}d[F(-0x59,-0xa5)+c]=F(-0x1,0x3a);}a[F(-0x7a,-0xb8)](d);function F(a,b){return _scA(a-0x245,b);}a[F(-0x37,-0x6f)][F(-0x7a,-0x26)]({'rowHeight':F(0x17,-0x29),'thisObj':this});}[_scA(-0x230,-0x262)]({firstPaint:a}){function G(a,b){return _scA(a-0x592,b);}if(a){this[G(0x2d8,0x293)]();}}[_scA(-0x2ba,-0x30c)](){function H(a,b){return _scA(a-0x6ac,b);}const a=this,{client:b}=a;if(!a[H(0x465,0x478)]){a['canvas']=b[H(0x485,0x4d7)][H(0x40a,0x415)]=_scc[H(0x3c9,0x3e3)](a['constructor']['mergeConfigs'](a['canvasDOMConfig'],{'parent':b[H(0x48f,0x4d0)]}));}}[_scA(-0x29c,-0x2f5)](...a){if(this[I(0x32f,0x328)]){return super[I(0x33f,0x33f)](...a);}function I(a,b){return _scA(a-0x5db,b);}return null;}[_scA(-0x297,-0x267)](a){function J(a,b){return _scA(b-0x37b,a);}if(a===J(0x9a,0xf8)||a===J(0x142,0x125)){a=J(0xe7,0x121);}return a;}[_scA(-0x2a6,-0x2b5)](a,b){if(a){const {client:c}=this;return _scg[K(0x268,0x284)](b,_scg['mergeConfigs'](a,{'owner':c,'positioned':!![],'appendTo':this[K(0x2d7,0x275)],'hidden':!![],'showAnimation':![]}),this);}function K(a,b){return _scA(a-0x51e,b);}b[K(0x2ea,0x30a)]();}get[_scA(-0x2c1,-0x2c7)](){function L(a,b){return _scA(a-0x329,b);}const a=this;if(!a[L(0x4a,0x13)]){var b;a[L(0x4a,0x44)]=((b=a[L(0x7b,0xb0)])===null||b===void 0x0?void 0x0:b[L(0x68,0xb3)])||_scc[L(0x46,0x98)]({'parent':a['canvas']});a['element']['classList']['add'](L(0x6d,0x89));}return a[L(0x4a,0xd)];}['onTimelineContextChange']({context:a}){function M(a,b){return _scA(a-0x3e,b);}this[M(-0x27d,-0x2d5)]=a;}[_scA(-0x246,-0x1f1)](a){function N(a,b){return _scA(b-0x5c8,a);}const b=this,{shiftKeyDown:c}=_sch;if(b[N(0x2de,0x31c)]&&b['startNavigationOnColumnFocus']&&!b[N(0x360,0x2fe)]){b[N(0x3e5,0x39b)](a);}else if(b['triggerEvent']==='click'&&c&&b[N(0x30d,0x2fe)]&&b['extendingStartCell']){b[N(0x2f1,0x336)](null,a);}else{b[N(0x2ce,0x30d)]=a;}}[_scA(-0x27e,-0x27b)]({source:a}){var b;function O(a,b){return _scA(b-0x66c,a);}if(a[O(0x35a,0x3bb)][O(0x43a,0x400)]((b=this[O(0x359,0x3b1)])===null||b===void 0x0?void 0x0:b[O(0x407,0x3c7)])){this[O(0x394,0x392)]();}else{this[O(0x40b,0x44c)]();}}[_scA(-0x220,-0x1e1)](){function P(a,b){return _scA(b-0x371,a);}this[P(0xf7,0xb6)]=null;}[_scA(-0x24f,-0x273)](a,b){var c;const d=this;function Q(a,b){return _scA(b-0x34e,a);}if(!((c=d[Q(0xec,0xa0)])!==null&&c!==void 0x0&&c[Q(0x168,0x11f)](g=>g[Q(0xdc,0xe0)]&&g[Q(0xab,0x73)]))){var e;a=d['buildTimelineCell'](a);if(!d[Q(0x95,0xe7)]&&d[Q(0x170,0x10c)](a)){return null;}if(d['activateOnEvent']||!((e=a)!==null&&e!==void 0x0&&e[Q(0xc0,0xd5)])){var f;if((f=a)!==null&&f!==void 0x0&&f[Q(0x16f,0x118)](b)){return;}return a;}return null;}}[_scA(-0x233,-0x297)](a,b){function R(a,b){return _scA(b-0x621,a);}const c=this;if(a){if(c[R(0x309,0x34d)]&&c[R(0x3fa,0x3b6)]){c[R(0x3d6,0x38f)](null,a);}else{c['extendingStartCell']=a;c[R(0x3f2,0x3e9)](a);}}else{c[R(0x415,0x3ec)]();}}['updateActivateOnEvent'](a){function S(a,b){return _scA(a-0x5ad,b);}const b=this;if(a){const {triggerEvent:c,client:d}=b;b[S(0x346,0x332)]=!![];if(c!==S(0x353,0x321)){d['ion']({'name':S(0x336,0x308),[''+d[S(0x36c,0x35e)]+c]:'onScheduleContextGesture','thisObj':b});}}else{b['shareWithEvent']=b[S(0x2d7,0x27e)]['shareWithEvent'];b['detachListeners'](S(0x336,0x34e));}}['hasEvent'](a){var b;const {client:c}=this;function T(a,b){return _scA(b-0x5ae,a);}return Boolean(a&&!c[T(0x361,0x35c)]&&((b=c[T(0x2b7,0x2e5)]['getEvents']({'resourceRecord':a['resourceRecord'],'startDate':a[T(0x326,0x361)],'endDate':a[T(0x365,0x392)]}))===null||b===void 0x0?void 0x0:b['length']));}[_scA(-0x2c4,-0x2b6)]=0x0;[_scA(-0x2b3,-0x286)](){var a,b;const c=this,{client:d,widget:e,context:f,renderer:g}=c,h=((a=c['widget'])===null||a===void 0x0?void 0x0:a['element'])||c[U(-0x14b,-0x109)],{isVertical:i}=d,j=f&&(i?d['rowManager']['rows'][0x0]:d['getRowFor'](f[U(-0x90,-0x67)]||f[U(-0x3c,-0xa1)]));function U(a,b){return _scA(b-0x1b8,a);}let k=![];if(f&&j&&c[U(-0x2b,-0x6d)]&&!((b=f[U(-0xa8,-0x6b)])!==null&&b!==void 0x0&&b[U(-0x8a,-0xcc)])){var l;const {dataset:n,style:o}=h,{tickStartDate:p,tickEndDate:q,resourceRecord:r,record:s}=f,t=d[U(-0x8b,-0x6e)][U(-0x36,-0x96)]({'startDate':p,'endDate':q,'startDateMS':p['getTime'](),'endDateMS':q[U(-0xf6,-0xf5)]()},r||s);let u,v,w;if(i){u=t[U(-0x156,-0x10b)];v=t['resourceWidth'];w=t[U(-0x54,-0x99)];}else{var m;u=j[U(-0x155,-0x10b)];v=t[U(-0x11c,-0xd4)]-((m=d[U(-0xad,-0xba)][U(-0x59,-0xa6)])!==null&&m!==void 0x0&&m[U(-0x5f,-0x6d)]?0x1:0x0);w=j['height']-d['rowBorderHeight'];}f[U(-0x116,-0x114)]=j[U(-0x133,-0x114)];h[U(-0x87,-0xbe)][U(-0xa8,-0x10a)]('b-schedule-selected-tick','b-active-tick');if(r){n[U(-0x76,-0x86)]=r['id'];}if(s){n[U(-0x118,-0xbb)]=s['id'];}n['isActive']=!![];n[U(-0x180,-0x11f)]=f[U(-0xbe,-0xff)];n[U(-0x76,-0xc7)]=(l=f[U(-0x10d,-0xed)])===null||l===void 0x0?void 0x0:l['id'];h[U(-0x109,-0xbe)][U(-0xef,-0xa3)]('b-contains-widget',Boolean(h['querySelector'](U(-0xf2,-0xbd))));const x={'width':v,'height':w,'x':t[U(-0x87,-0xce)],'y':u};if(d[U(-0xf0,-0xc0)](U(-0xda,-0x9f),{'context':f,'element':h,'position':x})===![]){(e===null||e===void 0x0?void 0x0:e[U(-0xc9,-0x108)](![]))||(o[U(-0x100,-0x115)]=U(-0xf3,-0xe0));return;}if(e){e[U(-0xc7,-0x108)](![]);if(!f[U(-0xd5,-0xb5)]){if(d[U(-0x85,-0x79)]){x['x']=(h[U(-0x13e,-0xdb)]||h[U(-0xab,-0xef)])['offsetWidth']-x['x'];}e['setConfig']({...x,'timelineContext':f});e[U(-0x11d,-0x106)]({'animate':![]});k=!![];}}else{o[U(-0xc7,-0xd4)]=x[U(-0xa3,-0xd4)]+'px';o[U(-0x8c,-0x99)]=x['height']+'px';o[U(-0xe1,-0xdd)]=x['x']+'px';o[U(-0x14b,-0x10b)]=x['y']+'px';h[U(-0x13c,-0xd9)]='';g&&c[U(-0x9c,-0xd7)](g,c,[f,h]);o['display']='';k=!![];}}else{(e===null||e===void 0x0?void 0x0:e['hide'](![]))||(h[U(-0x24,-0x69)][U(-0xe5,-0x115)]='none');}if(k){d[U(-0x122,-0xc0)](U(-0xdd,-0xc8));}}[_scA(-0x250,-0x276)](a,b='px'){function V(a,b){return _scA(b-0x15d,a);}const {client:c}=this,{tick:d,record:e,resourceRecord:f}=a,g=c['getCoordinateFromDate'](d[V(-0x155,-0x10c)],{'ignoreRTL':!![]}),h=c['getCoordinateFromDate'](d[V(-0x188,-0x180)],{'ignoreRTL':!![]}),i=h-g,j=c['getRowById'](e||f);if(j){const {top:k,height:l}=j;if(b){return{'insetInlineStart':''+g+b,'width':''+i+b,'top':''+k+b,'height':''+l+b};}return{'insetInlineStart':g,'width':i,'top':k,'height':l};}}[_scA(-0x2da,-0x2ba)](){const {selectedCells:a,multiSelect:b,client:c,context:d,renderer:e}=this;if(!b){return this[W(0x346,0x37e)]();}const f={'children':[{'className':'b-cells-container','children':a[W(0x380,0x38e)](g=>{const h=this[X(0x389,0x3a4)](g);function X(a,b){return W(a,b- -0x3d);}if(h){var i;const j=g[X(0x36a,0x3be)](d),k={'className':{'b-schedule-selected-tick':0x1,'b-active-tick':j},'dataset':{'isActive':j,'tickIndex':g[X(0x2f5,0x33d)],'tickId':(i=g[X(0x37a,0x34f)])===null||i===void 0x0?void 0x0:i['id'],'recordId':(g[X(0x3d6,0x39b)]||g[X(0x3a5,0x3d5)])['id']},'style':h};e&&this[X(0x3bc,0x365)](e,this,[d,k]);return k;}})}]};if(c[W(0x3a1,0x3b9)]('beforeSelectedContextsShow',{'selectedContexts':a[W(0x43b,0x3f2)]['slice'](),'domConfig':f})!==![]){_scj[W(0x31c,0x36c)]({'domConfig':f,'targetElement':this[W(0x3d7,0x3ea)]});}function W(a,b){return _scA(b-0x631,a);}c[W(0x375,0x3b9)](W(0x416,0x3b1));}[_scA(-0x25f,-0x29d)](a){this[Y(0x3f2,0x3a3)]=a['timeAxisColumn']['id'];function Y(a,b){return _scA(a-0x645,b);}return super[Y(0x3e6,0x3b7)](...arguments);}[_scA(-0x2d5,-0x323)](a){if(!a['isCollection']){a=new _sci(a);}return a;}['buildTimelineCell'](a){function Z(a,b){return _scA(b-0x2e5,a);}if(a&&!a['isTimelineContext']){const {client:b}=this,c=a[Z(0xbd,0x8c)]||a['resourceRecord'];a=b[Z(0xe,0x3a)](b[Z(0x45,0x58)][Z(-0x13,0x3d)](a,{'record':c}));}return a;}[_scA(-0x268,-0x262)](a){return this['buildTimelineCell'](a);}[_scA(-0x2cb,-0x323)](a){const b=this;if(!a['owner']){a[a0(0x358,0x34d)]=b;}function a0(a,b){return _scA(b-0x602,a);}b['detachListeners'](a0(0x35b,0x3ba));a[a0(0x391,0x343)]({'name':a0(0x38b,0x3ba),'change':a0(0x34f,0x359),'thisObj':b});}[_scA(-0x237,-0x26e)](a){const {client:b}=this,c=b[a1(-0x1c0,-0x223)]||this[a1(-0x1b7,-0x1f9)];if(a&&c){var d;this['navigateTo'](c,(d=this[a1(-0x22f,-0x209)])===null||d===void 0x0?void 0x0:d[a1(-0x219,-0x26f)],!![]);}function a1(a,b){return _scA(a-0x8c,b);}b[a1(-0x235,-0x27d)]['classList']['toggle']('b-schedule-context-navigation-enabled',a);}[_scA(-0x287,-0x2bc)](a=0x0,b=0x0,c=null){function a2(a,b){return _scA(b- -0x33,a);}const {context:d,client:e}=this;if(this[a2(-0x2bb,-0x306)]&&(a||b)&&d){const {tick:f,record:g}=d;let h,i;if(a){h=e[a2(-0x315,-0x2e4)][a2(-0x2b7,-0x2c9)](f[a2(-0x290,-0x2c1)]+a);}if(b){i=e['store']['getAt'](e[a2(-0x358,-0x304)][a2(-0x210,-0x26f)](g)+b);}if(h||i){return new e['timelineContextClass']({'scheduler':e,'tick':h||f,'record':i||g,'domEvent':c});}}}[_scA(-0x258,-0x273)](a,b){if(this[a3(-0x196,-0x14b)]){a=Math[a3(-0x161,-0x112)](a);const c=this['shiftToCell'](0x0,a,b);if(c!==null&&c!==void 0x0&&c[a3(-0x9b,-0xd1)]){if(a>0x0){this[a3(-0xbf,-0xfa)][a3(-0xd7,-0x96)]();}else{this[a3(-0xa7,-0xfa)][a3(-0x75,-0xd8)]();}}return!![];}function a3(a,b){return _scA(b-0x188,a);}return![];}[_scA(-0x2d8,-0x31c)](a,b){if(this[a4(-0x1ef,-0x223)]){a=Math['sign'](a);const c=this[a4(-0x281,-0x222)](a,0x0,b);return Boolean(c===null||c===void 0x0?void 0x0:c[a4(-0x1ab,-0x1f5)]);}function a4(a,b){return _scA(b-0xb0,a);}return![];}['keyMapNavigateToCellUp'](a){if(this[a5(-0x263,-0x231)]){this['_extendingSelection']=![];return this[a5(-0x1fc,-0x1b6)](-0x1,a);}function a5(a,b){return _scA(b-0xa2,a);}return![];}[_scA(-0x2b2,-0x252)](a){function a6(a,b){return _scA(b- -0x33,a);}if(this[a6(-0x2b5,-0x306)]){this[a6(-0x287,-0x29e)]=![];return this[a6(-0x24b,-0x28b)](0x1,a);}return![];}[_scA(-0x2e1,-0x323)](a){if(this[a7(0x27f,0x26f)]){this[a7(0x318,0x2d7)]=![];return this['shiftToAdjacentCellHorizontally'](this[a7(0x2bd,0x2c0)][a7(0x358,0x311)]?0x1:-0x1,a);}function a7(a,b){return _scA(b-0x542,a);}return![];}[_scA(-0x270,-0x24d)](a){function a8(a,b){return _scA(a-0x4c9,b);}if(this[a8(0x1f6,0x1de)]){this[a8(0x25e,0x21b)]=![];return this[a8(0x1f1,0x1dc)](this[a8(0x247,0x264)][a8(0x298,0x270)]?-0x1:0x1,a);}return![];}[_scA(-0x232,-0x23f)](a){const b=this;if(b[a9(0x211,0x1c7)]&&b[a9(0x168,0x1c6)]){b[a9(0x227,0x22f)]=!![];const c=b[a9(0x23c,0x242)](-0x1,a);b[a9(0x1e1,0x22f)]=![];return c;}function a9(a,b){return _scA(b-0x49a,a);}return![];}[_scA(-0x261,-0x1fd)](a){const b=this;function aa(a,b){return _scA(a-0x3fe,b);}if(b[aa(0x12b,0x114)]&&b[aa(0x12a,0x18b)]){b[aa(0x193,0x1af)]=!![];const c=b[aa(0x1a6,0x173)](0x1,a);b[aa(0x193,0x168)]=![];return c;}return![];}[_scA(-0x24a,-0x274)](a){const b=this;if(b['isNavigatingTimelineCells']&&b[ab(0x4a9,0x483)]){b[ab(0x490,0x4ec)]=!![];const c=b[ab(0x496,0x47f)](this['client'][ab(0x570,0x526)]?0x1:-0x1,a);b[ab(0x51c,0x4ec)]=![];return c;}function ab(a,b){return _scA(b-0x757,a);}return![];}[_scA(-0x29b,-0x2d0)](a){const b=this;if(b[ac(0x13d,0x17d)]&&b[ac(0x18f,0x17c)]){b[ac(0x222,0x1e5)]=!![];const c=b[ac(0x183,0x178)](this[ac(0x1cc,0x1ce)]['rtl']?-0x1:0x1,a);b[ac(0x1c3,0x1e5)]=![];return c;}function ac(a,b){return _scA(b-0x450,a);}return![];}[_scA(-0x26f,-0x2bd)](){return this['startCellNavigation']()===!![];}['keyMapStopCellNavigation'](){return this['stopTimelineCellsNavigation']()===!![];}[_scA(-0x244,-0x24d)](){if(this['isNavigatingTimelineCells']&&this[ad(-0x1e3,-0x17f)][ad(-0x1fd,-0x253)]>0x1){this[ad(-0x206,-0x225)]=![];this[ad(-0x1d0,-0x22f)]();return!![];}function ad(a,b){return _scA(a-0x65,b);}return![];}[_scA(-0x2a9,-0x28b)](){function ae(a,b){return _scA(b-0x723,a);}this[ae(0x43d,0x449)]();}[_scA(-0x265,-0x222)](a,b,c){function af(a,b){return _scA(b-0x2c2,a);}const d=this,{columnId:e}=d,{record:f}=c;if(a[af(0x20,0x5e)]&&(b===null||b===void 0x0?void 0x0:b['columnId'])!==e&&c[af(0x7d,0x6f)]===e&&f&&(d['cellNavigatingEnabled']||d[af(0x1b,0x16)]&&d[af(-0x63,-0x1a)])){var g;d[af(0x37,0x7f)]=f;d[af(0x8b,0x3a)](f,(g=d[af(-0x5a,0x7)])===null||g===void 0x0?void 0x0:g['tick'],!![]);d[af(0x12,0x57)]=![];d[af(-0xd,-0x8)]=!![];}else if((b===null||b===void 0x0?void 0x0:b[af(0xbd,0x6f)])===e&&c[af(0xa4,0x6f)]!==e&&d[af(-0x4d,-0x8)]){d['stopTimelineCellsNavigation']();}}['adjustTickToVisibleRange'](a){const {client:b}=this,{startDate:c,endDate:d}=b[ag(0x57,0x57)];function ag(a,b){return _scA(b-0x307,a);}if(!a||a['endDate']<=c||a['startDate']>=d){const {timeAxis:e}=b,f=Math[ag(0x46,0x82)](e[ag(0xaf,0xca)](c));a=e['getAt'](f);}return a;}[_scA(-0x22d,-0x235)](a){function ah(a,b){return _scA(b-0x262,a);}var b;if(((b=this[ah(-0x78,-0x20)]['_focusedCell'])===null||b===void 0x0?void 0x0:b[ah(0x58,0xf)])===this[ah(0x5f,0xf)]){return this['startTimelineCellsNavigation'](a);}}[_scA(-0x288,-0x268)](a,b,c=![]){let d;const {context:e}=this;if(a[ai(-0x1a9,-0x186)]){d=a;b=a[ai(-0x17f,-0x1af)];}else if(c){b=this[ai(-0xf5,-0xf9)](b);}function ai(a,b){return _scA(a-0x126,b);}if((e===null||e===void 0x0?void 0x0:e[ai(-0x133,-0x134)])!==a||(e===null||e===void 0x0?void 0x0:e['tick'])!==b){this['context']=d||{'record':a,'tick':b};}}[_scA(-0x2d2,-0x2b4)](a=0x0,b=0x0,c=null){function aj(a,b){return _scA(b-0x477,a);}const d=this[aj(0x24a,0x1f0)](a,b,c);if(d){this[aj(0x1e7,0x1ef)](d);return d;}}[_scA(-0x235,-0x1ef)](){const {selectedCells:a,context:b}=this;a[ak(-0x187,-0x145)](!![]);a[ak(-0x136,-0x186)](0x0,a[ak(-0x1ce,-0x185)],b?[b]:[]);function ak(a,b){return _scA(b-0xdd,a);}a['resumeEvents']();}['selectCellRange'](a,b){a=a||this[al(-0x1bb,-0x1dc)];const {selectedCells:c}=this,{store:d,timeAxis:e,resourceStore:f,isVertical:g}=this[al(-0x175,-0x121)],h=g?f:d,k=a[al(-0x1aa,-0x1bf)],l=b[al(-0x1aa,-0x1f4)],m=a[al(-0x14c,-0x195)]||a[al(-0x112,-0x171)],n=b[al(-0x14c,-0x13b)]||b[al(-0x112,-0xdd)],o=h[al(-0x12f,-0x125)](m),p=h[al(-0x12f,-0x121)](n),q=[],r=Math[al(-0x170,-0x18d)](k,l),s=Math[al(-0x1ba,-0x181)](k,l),t=Math['min'](o,p),u=Math['max'](o,p);function al(a,b){return _scA(a-0x10d,b);}c[al(-0x115,-0x129)](!![]);for(let v=r;v<=s;v++){const w=e[al(-0x189,-0x1de)](v);for(let x=t;x<=u;x++){const y=h[al(-0x189,-0x1bf)](x);q[al(-0x12e,-0x164)](this[al(-0x174,-0x1d0)]({'record':y,'tick':w}));}}c[al(-0x156,-0x136)](0x0,c['count'],q);c[al(-0x19d,-0x16c)]();}[_scA(-0x238,-0x215)](a){this['selectCellRange'](a,a);}[_scA(-0x229,-0x26d)](a){function am(a,b){return _scA(b-0xcd,a);}const {record:b,tick:c}=a;if(a[am(-0x148,-0x18c)]){const {selectedCells:d}=this;d[am(-0x229,-0x1f0)](d[am(-0x1a1,-0x1cc)](b['id']+':'+c['id']));}}get[_scA(-0x29f,-0x2de)](){function an(a,b){return _scA(a-0x143,b);}return this[an(-0x178,-0x12d)];}set[_scA(-0x29f,-0x298)](a){function ao(a,b){return _scA(a-0x698,b);}this[ao(0x3dd,0x440)]=a;}get[_scA(-0x2a1,-0x291)](){return this['selectedCells'];}set[_scA(-0x2a1,-0x2cf)](a){function ap(a,b){return _scA(a-0x55b,b);}this[ap(0x313,0x2d4)]=a;}get['isNavigatingTimelineCells'](){var a;function aq(a,b){return _scA(a-0x73d,b);}return this['cellNavigatingEnabled']&&((a=this[aq(0x4bb,0x484)][aq(0x515,0x518)])===null||a===void 0x0?void 0x0:a[aq(0x4ea,0x50d)])===this[aq(0x4ea,0x537)];}[_scA(-0x25c,-0x215)](a){const {client:b,columnId:c,_focusedRecord:d}=this;function ar(a,b){return _scA(b- -0x19,a);}if(!this[ar(-0x329,-0x2e3)]){var e;const {_focusedCell:g}=b;if((g===null||g===void 0x0?void 0x0:g[ar(-0x25a,-0x26c)])!==c){var f;const h=(g===null||g===void 0x0?void 0x0:g[ar(-0x2bb,-0x272)])||d||b[ar(-0x2a8,-0x2ea)][ar(-0x2a9,-0x2a4)]((f=b['firstVisibleRow'])===null||f===void 0x0?void 0x0:f['id']);b['focusCell']({'grid':b,'column':b[ar(-0x2ba,-0x25e)],'record':h});}if(((e=b[ar(-0x28b,-0x241)])===null||e===void 0x0?void 0x0:e[ar(-0x279,-0x26c)])===c){if(a){this[ar(-0x2fc,-0x2d4)]=a;}this['cellNavigatingEnabled']=!![];return!![];}}}[_scA(-0x2b8,-0x270)](){function as(a,b){return _scA(a-0x82,b);}if(this[as(-0x248,-0x207)]){this[as(-0x1e9,-0x238)]=![];this['cellNavigatingEnabled']=![];return!![];}}[_scA(-0x2e0,-0x30e)](...a){function at(a,b){return _scA(a-0x337,b);}return this[at(0xa5,0x46)](...a);}}ScheduleContext[_scA(-0x271,-0x222)]=_scA(-0x25d,-0x255);_sce[_scA(-0x2a4,-0x25e)](ScheduleContext,![],[_scA(-0x29d,-0x288),_scA(-0x2ce,-0x315)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function h(a,b){return _scb(
|
|
1
|
+
(function(a,b){const c=a();function h(a,b){return _scb(b-0x356,a);}while(!![]){try{const d=-parseInt(h(0x45f,0x458))/0x1*(parseInt(h(0x46b,0x45d))/0x2)+-parseInt(h(0x441,0x451))/0x3+parseInt(h(0x45d,0x455))/0x4+parseInt(h(0x448,0x448))/0x5*(parseInt(h(0x458,0x445))/0x6)+parseInt(h(0x45a,0x461))/0x7+parseInt(h(0x44d,0x44f))/0x8*(parseInt(h(0x452,0x449))/0x9)+-parseInt(h(0x465,0x463))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xea93a));import _scc from'./base/TimeSpanMenuBase.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _sca(){const p=['after','call','pluginConfig','closest','166856eWwOKr','getDataFromEvent','1750680wqPAIF','eventSelector','shouldShowMenu','configurable','4150924zGgUBk','readOnly','createEvent','6HcAbAl','isSpecialRow','timeAxisSubGridElement','disableAddEvent','resourceStore','387694ANbUNz','menuContext','isWorkingTime','Scheduler','7105161nERwhX','populateScheduleMenu','13272710mSzLOi','schedule','floor','push','getCellDataFromEvent','isVertical','b-icon\x20b-icon-add','11015916zZXTVJ','getRowFor','featureClass','5fdLvim','63XjOhAc','.b-vertical-time-axis-cell'];_sca=function(){return p;};return _sca();}function _sci(a,b){return _scb(a- -0x28c,b);}import _sce from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xea;let f=c[d];return f;};return _scb(a,b);}import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';export default class ScheduleMenu extends _scc{static ['$name']='ScheduleMenu';static [_sci(-0x18e,-0x197)]={'type':_sci(-0x17e,-0x18e),'items':null,'processItems':null};static get['pluginConfig'](){const a=super[j(0x23d,0x235)];a[j(0x23b,0x22b)][j(0x231,0x22a)](j(0x252,0x264));function j(a,b){return _sci(a-0x3d2,b);}return a;}[_sci(-0x18f,-0x195)](a){const {client:b}=this,{targetElement:c,resourceRecord:d}=a,e=b[k(0x146,0x139)]['contains'](c);function k(a,b){return _sci(b-0x2c1,a);}return!c[k(0x121,0x12d)](b[k(0x141,0x131)])&&e&&!(d&&d[k(0x146,0x138)]);}['getDataFromEvent'](a){function l(a,b){return _sci(b-0x1ab,a);}if(_scf['isDOMEvent'](a)){var b,c;if(a['target'][l(0x16,0x17)](l(0x15,0x13))){return;}const {client:d}=this,e=(b=d[l(0x1a,0xb)])===null||b===void 0x0?void 0x0:b[l(0x17,0x15)](d,a),f=(c=d['getDateFromDomEvent'])===null||c===void 0x0?void 0x0:c[l(0x9,0x15)](d,a,l(0x4,0x9)),g=d['resolveResourceRecord'](a)||d[l(0x0,0xc)]&&d[l(0x26,0x25)]['last'];return _sce['assign'](super[l(0x21,0x19)](a),e,{'date':f,'resourceRecord':g});}return a;}['populateScheduleMenu']({items:a,resourceRecord:b,date:c}){const {client:d}=this;function m(a,b){return _sci(a-0x8e,b);}if(!d[m(-0xfe,-0x101)]&&d['eventStore']){a['addEvent']={'text':'L{SchedulerBase.Add\x20event}','icon':m(-0x110,-0x10e),'disabled':this[m(-0xf9,-0xf8)],'weight':0x64,'onItem'(){function n(a,b){return m(b- -0x192,a);}d[n(-0x290,-0x28f)](c,b,d[n(-0x2a9,-0x2a0)](b));}};}}get[_sci(-0x187,-0x18c)](){const {resourceRecord:a,date:b}=this[o(0x53,0x62)];function o(a,b){return _sci(b-0x1e6,a);}return!a||a['readOnly']||!a[o(0x59,0x63)](b);}}ScheduleMenu[_sci(-0x19b,-0x1aa)]='';_scd['registerFeature'](ScheduleMenu,!![],_sci(-0x182,-0x171));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){
|
|
1
|
+
(function(a,b){function i(a,b){return _scb(b-0x1bb,a);}const c=a();while(!![]){try{const d=-parseInt(i(0x239,0x23c))/0x1+-parseInt(i(0x297,0x276))/0x2+-parseInt(i(0x26f,0x254))/0x3+parseInt(i(0x25e,0x248))/0x4+-parseInt(i(0x25d,0x24f))/0x5*(-parseInt(i(0x26d,0x265))/0x6)+parseInt(i(0x23d,0x242))/0x7*(parseInt(i(0x242,0x256))/0x8)+parseInt(i(0x26b,0x260))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xca461));import _scc from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'@bryntum/core-thin/lib/widget/Tooltip.js';function _sca(){const t=['.b-scheduler-base:not(.b-dragging-event,.b-drag-creating,.b-creating-dependency,.b-resizing-event)\x20.b-grid-body-container:not(.b-scrolling)\x20.b-timeline-sub-grid:not(.b-scrolling)\x20>\x20:not(.b-sch-foreground-canvas,.b-group-footer,.b-group-row)\x20*:not(.b-scroll-button-wrap\x20*,.b-sch-dependency)','928495FVzVwJ','call','getHoverTipHtml','hideAnimation','lastHtml','hideForNonWorkingTime','84042xCmlDx','getDateFromDomEvent','template','</div>','ResourceUtilization','plain','377320jIkFhQ','internalOnPointerOver','clockTemplate','target','lastTime','contains','getText','20gdVcty','bind','isWorkingTime','isSchedulerPro','Scheduler','2825388YisGsv','which','488uUzERU','$name','updateTip','configurable','forElement','generateTipContent','destroyProperties','pluginConfig','lastResourceId','onDocumentMouseDown','24414489JOZpYb','doDestroy','ion','client','toggleCls','483258UYCcoi','floor','disabled','messageTemplate','configuredListeners','isVisible','onInternalPaint','resolveResourceRecord','b-sch-schedule-tip','featureClass','-schedule-tip','processConfiguredListeners','hide','registerFeature','ScheduleTooltip','getFormattedDate','prototype','2325570YYVvOn','element','hoverTip','buttons','timeAxisSubGridElement','message'];_sca=function(){return t;};return _sca();}function _scj(a,b){return _scb(a-0x3d0,b);}import _scf from'../tooltip/ClockTemplate.js';import _scg from'@bryntum/core-thin/lib/helper/EventHelper.js';import _sch from'@bryntum/core-thin/lib/helper/DomHelper.js';_sch['loadStylesheet']('@bryntum/scheduler-thin/lib/feature/ScheduleTooltip.css');export default class ScheduleTooltip extends _scc{static [_scj(0x46c,0x456)]=_scj(0x488,0x479);static [_scj(0x46e,0x483)]={'messageTemplate':data=>'<div\x20class=\x22b-sch-hover-tip-msg\x22>'+data[_scj(0x490,0x476)]+_scj(0x45a,0x43d),'hideForNonWorkingTime':null};static get[_scj(0x472,0x47c)](){function k(a,b){return _scj(a- -0x299,b);}return{'after':[k(0x1e7,0x1de)]};}[_scj(0x480,0x490)]({firstPaint:a}){if(!a){return;}const b=this,{client:c}=b;if(c[l(-0x31a,-0x324)]&&b['hideForNonWorkingTime']===undefined){b['hideForNonWorkingTime']=!![];}let d;const e=b['hoverTip']=new _sce({'id':c['id']+l(-0x310,-0x307),'cls':l(-0x31d,-0x309),'allowOver':!![],'hoverDelay':0x0,'hideDelay':0x64,'showOnHover':!![],'forElement':c[l(-0x314,-0x2fc)],'anchorToTarget':![],'trackMouse':!![],'updateContentOnMouseMove':!![],'applyMinWidth':!![],'monitorResize':![],'textContent':![],'rendition':l(-0x32f,-0x32f),'forSelector':l(-0x2da,-0x2fa),'getHtml':b[l(-0x33e,-0x338)][l(-0x32b,-0x326)](b),'onDocumentMouseDown'(f){if(e[m(0x34,0x45)][m(0x28,0x38)](f['domEvent'][m(0x2e,0x36)])){d=_scg['on']({'thisObj':b,'element':c[m(0x67,0x65)],'mousemove':h=>e[m(0x35,0x34)](h),'capture':!![]});}const g=e[m(0xa,0x2a)];e[m(0x47,0x2a)]=![];e['constructor'][m(0x6b,0x60)][m(0x57,0x4a)][m(0x49,0x28)](e,f);function m(a,b){return l(a,b-0x361);}e[m(0x17,0x2a)]=g;},...b['config'],'internalListeners':b[l(-0x2fd,-0x30d)]});e[l(-0x31e,-0x314)]({'pointerOver'({event:f}){function n(a,b){return l(a,b-0x738);}const g=n(0x423,0x43b)in f?f[n(0x435,0x43b)]>0x0:f[n(0x40d,0x417)]>0x0;if(!g&&d){d();}if(b[n(0x41e,0x429)]||g){e[n(0x453,0x433)]();return![];}},'innerHtmlUpdate'({source:f}){function o(a,b){return l(b,a-0x411);}b[o(0xe5,0xeb)]['updateDateIndicator'](f[o(0x112,0x10f)],b['lastTime']);}});function l(a,b){return _scj(b- -0x78b,a);}c[l(-0x32c,-0x314)]({'timeAxisViewModelUpdate':l(-0x322,-0x31e),'thisObj':b});b[l(-0x333,-0x32c)]=new _scf({'scheduler':c});}[_scj(0x485,0x480)](){}[_scj(0x46d,0x474)](){function p(a,b){return _scj(a- -0x268,b);}if(this[p(0x225,0x209)][p(0x217,0x21f)]){this[p(0x225,0x22b)]['updateContent']();}}[_scj(0x476,0x45a)](){this[q(0x12e,0x127)]('clockTemplate','hoverTip');function q(a,b){return _scj(a- -0x343,b);}super['doDestroy']();}[_scj(0x453,0x46e)]({tip:a,event:b}){function r(a,b){return _scj(b- -0x754,a);}const c=this,d=c['client'],e=b&&d[r(-0x2eb,-0x2fc)](b,r(-0x2ba,-0x2d9),!![]);let f=c[r(-0x30d,-0x2ff)];if(e&&b[r(-0x312,-0x2f4)]){const g=d[r(-0x2e9,-0x2d3)](b);if(g&&(e-c['lastTime']!==0x0||g['id']!==c[r(-0x2cf,-0x2e1)])){if(c[r(-0x317,-0x2fe)]){const h=g[r(-0x2d8,-0x2ee)](e);a[r(-0x2dc,-0x2db)]('b-nonworking-time',!h);}c['lastResourceId']=g['id'];f=c[r(-0x2ef,-0x2ff)]=c[r(-0x2f1,-0x2e4)]({'date':e,'event':b,'resourceRecord':g});}}else{a[r(-0x2e7,-0x2ce)]();c[r(-0x2d5,-0x2f3)]=null;c[r(-0x2db,-0x2e1)]=null;}return f;}[_scj(0x470,0x46c)]({date:a,event:b,resourceRecord:c}){const d=this,e=d[s(0x87,0x9e)](a,b,c),f=d[s(0x83,0x8b)][s(0x7d,0x98)]({'date':a,'text':d[s(0x9c,0x9a)][s(0xad,0xb0)](a)}),g=e?d[s(0xa1,0x9a)]({'message':e}):'';d[s(0x85,0x80)]=a;function s(a,b){return _scj(a- -0x3dc,b);}return f+g;}[_scj(0x463,0x445)](a,b,c){}}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x81;let f=c[d];return f;};return _scb(a,b);}ScheduleTooltip[_scj(0x483,0x493)]='b-schedule-tip';_scd[_scj(0x487,0x48b)](ScheduleTooltip,!![],_scj(0x468,0x46e));_scd[_scj(0x487,0x487)](ScheduleTooltip,![],_scj(0x45b,0x449));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function n(a,b){return _scb(b-
|
|
1
|
+
(function(a,b){function n(a,b){return _scb(b- -0x380,a);}const c=a();while(!![]){try{const d=parseInt(n(-0x1c7,-0x1d0))/0x1+parseInt(n(-0x1d2,-0x1d2))/0x2+-parseInt(n(-0x1de,-0x1da))/0x3+-parseInt(n(-0x1f5,-0x1db))/0x4*(parseInt(n(-0x1c6,-0x1d3))/0x5)+parseInt(n(-0x1e0,-0x1d9))/0x6+parseInt(n(-0x1bf,-0x1bd))/0x7+-parseInt(n(-0x1e4,-0x1c3))/0x8;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x5b9ed));function _sca(){const z=['onElementClick','b-sch-canvas\x20b-scroll-buttons-canvas','isConfiguring','registerFeature','1745842nWeNHL','createElement','scrollButtonClick','dataIndex','b-scroll-button-wrap\x20b-scroll-forward','set','sync','b-icon-before','isScheduled','top','mixin','scrollOptions','remove','visibleDateRange','forEach','start','ion','@bryntum/scheduler-thin/lib/feature/ScrollButtons.css','trigger','generateScrollButton','includes','ScrollButtons','closest','assign','easeTo','getById','disabled','labelRenderer','rowStyleMap','doDisable','.b-scroll-button-wrap','delayable','store','end','.b-scroll-forward','appendChild','construct','rows','getEventStartingAfter','rowManager','timeAxisSubGridElement','100FLXldd','2176434kXSXDz','2579814qobZDo','b-scroll-buttons-container','scrollButtonsCanvas','startDate','height','get','96205RnAzWk','1432622OtbTxK','pluginConfig','308343khwiIc','endDate','Scheduler','configurable','events','recordId','attachToEventStore','refreshScrollButtons','scrollResourceEventIntoView','b-scroll-button-content','timeAxisSubGrid','raf','b-scroll-button-wrap\x20b-scroll-backward','977992rVPVDb','span'];_sca=function(){return z;};return _sca();}import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _scd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _sce from'@bryntum/core-thin/lib/mixin/Delayable.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scg from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _sco(a,b){return _scb(a- -0x50,b);}import _sch from'@bryntum/core-thin/lib/helper/DomSync.js';import _sci from'../data/mixin/AttachToProjectMixin.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x194;let f=c[d];return f;};return _scb(a,b);}_scf['loadStylesheet'](_sco(0x184,0x16d));export default class ScrollButtons extends _scd[_sco(0x17d,0x18a)](_sce,_sci){static ['$name']=_sco(0x188,0x170);static [_sco(0x163,0x15d)]={'backwardIconCls':_sco(0x17a,0x167),'forwardIconCls':'b-icon-after','labelRenderer':null,'scrollOptions':{'animate':{'duration':0x258,'easing':_sco(0x144,0x12c)},'y':![],'edgeOffset':0x32},'testConfig':{'scrollOptions':{'animate':{'duration':0x14,'easing':'easeTo'},'y':![],'edgeOffset':0x32}}};static get[_sco(0x15f,0x175)](){function p(a,b){return _sco(b-0x25e,a);}return{'after':[p(0x3e6,0x3cd),'afterRenderRow']};}static [_sco(0x14b,0x129)]={'refreshScrollButtons':_sco(0x16b,0x155)};[_sco(0x148,0x150)]=new Map();[_sco(0x150,0x13d)](a,b){function q(a,b){return _sco(b-0x129,a);}super[q(0x29a,0x279)](a,b);a[q(0x28c,0x27c)][q(0x296,0x2ac)]({'renderDone':q(0x2a3,0x290),'thisObj':this});a[q(0x29d,0x293)]['scrollable']['ion']({'scroll':'refreshScrollButtons','thisObj':this});a[q(0x295,0x293)][q(0x2c6,0x2ac)]({'resize':'refreshScrollButtons','thisObj':this});}[_sco(0x166,0x147)](a){super[r(0x34a,0x332)](a);function r(a,b){return _sco(b-0x1cc,a);}a===null||a===void 0x0||a['ion']({'name':'eventStore','change':r(0x34b,0x333),'refresh':r(0x314,0x333),'thisObj':this});}['afterRenderRow']({row:a}){function s(a,b){return _sco(a-0x429,b);}this[s(0x571,0x584)][s(0x5a1,0x5af)](a[s(0x59f,0x5bd)],{'height':a[s(0x584,0x57d)],'top':a[s(0x5a5,0x5b3)]});}[_sco(0x167,0x15a)](){const a=this,{client:b}=a;if(!b[t(0x572,0x593)]||a[t(0x538,0x51f)]){return;}if(!a[t(0x54b,0x568)]){a['scrollButtonsCanvas']=_scf[t(0x566,0x54d)]({'className':t(0x562,0x549),'parent':b['timeAxisSubGridElement'],'retainElement':!![]});}function t(a,b){return _sco(a-0x3f2,b);}_sch[t(0x56b,0x578)]({'targetElement':a['scrollButtonsCanvas'],'domConfig':{'children':b['rowManager'][t(0x543,0x55c)]['map'](c=>{function u(a,b){return t(a- -0x4b8,b);}if(c['id']==null){return null;}const d=c[u(0xb0,0xc6)],e=b[u(0x86,0x87)][u(0x7f,0x9f)](c['id']);return{'class':u(0x92,0x81),'dataset':{'recordId':e['id'],'rowIndex':d},'style':{'height':a[u(0x82,0x80)][u(0x96,0xb2)](d)[u(0x95,0x86)],'top':a[u(0x82,0x7d)][u(0x96,0x72)](d)[u(0xb6,0xae)]},'children':a[u(0xc0,0xac)](e)};})}});}['generateScrollButton'](a){const {client:b,labelRenderer:c,forwardIconCls:d,backwardIconCls:e}=this,{visibleDateRange:f,eventStore:g}=b,h=a[v(-0x10f,-0x10d)]||[];let i=0x0,j=0x0;function v(a,b){return _sco(b- -0x271,a);}h[v(-0xe2,-0xf0)](k=>{function w(a,b){return v(a,b-0x53c);}if(!k[w(0x447,0x446)]||!g[w(0x475,0x452)](k)){return;}const {startDate:l,endDate:m}=k;if(m<=f[w(0x421,0x425)]){j++;}else if(l>=f['endDate']){i++;}});return[j?{'class':v(-0x11a,-0x105),'children':[{'tag':'i','class':{'b-icon':0x1,'b-scroll-button':0x1,[e]:0x1}},c&&{'tag':'span','class':v(-0xf7,-0x108),'text':this['labelRenderer']({'resourceRecord':a,'isBefore':!![],'nbrEvents':j})}]}:null,i?{'class':v(-0xd6,-0xfa),'children':[c&&{'tag':v(-0xe3,-0x103),'class':'b-scroll-button-content','text':this[v(-0x127,-0x12a)]({'resourceRecord':a,'isBefore':![],'nbrEvents':i})},{'tag':'i','class':{'b-icon':0x1,'b-scroll-button':0x1,[d]:0x1}}]}:null];}[_sco(0x16f,0x168)](a){function x(a,b){return _sco(a-0x1d7,b);}const {client:b}=this,{target:c}=a,d=c[x(0x360,0x36b)]('.b-scroll-buttons-container'),e=c[x(0x360,0x374)](x(0x321,0x308)),f=d===null||d===void 0x0?void 0x0:d['dataset'][x(0x33c,0x352)],g=b[x(0x323,0x31a)][x(0x31c,0x302)](f);if(e&&b[x(0x35c,0x37c)](x(0x34c,0x359),{'domEvent':a,'resourceRecord':g})!==![]){const {visibleDateRange:h}=b,i=c[x(0x360,0x37a)](x(0x325,0x349));if(!g){return;}if(i){b[x(0x33f,0x339)](g,g[x(0x329,0x33f)](h[x(0x338,0x342)]),_scg[x(0x361,0x358)]({'block':x(0x324,0x321)},this[x(0x355,0x345)]));}else{b[x(0x33f,0x35f)](g,g['getEventEndingBefore'](h[x(0x331,0x33b)]),_scg['assign']({'block':x(0x359,0x378)},this['scrollOptions']));}}}[_sco(0x149,0x129)](a){const b=this;function y(a,b){return _sco(a-0xb0,b);}super[y(0x1f9,0x212)](a);if(!b[y(0x221,0x226)]){if(a){b[y(0x209,0x20e)][y(0x22f,0x235)]();}else{b['client'][y(0x204,0x1f0)][y(0x1ff,0x1fd)](b[y(0x209,0x1f4)]);b[y(0x217,0x21d)]();}}}}_scc[_sco(0x172,0x153)](ScrollButtons,![],_sco(0x162,0x181));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function m(a,b){return _scb(b-
|
|
1
|
+
(function(a,b){const c=a();function m(a,b){return _scb(b-0x195,a);}while(!![]){try{const d=-parseInt(m(0x25a,0x247))/0x1+parseInt(m(0x23b,0x25f))/0x2*(-parseInt(m(0x250,0x277))/0x3)+parseInt(m(0x247,0x267))/0x4*(parseInt(m(0x256,0x27a))/0x5)+-parseInt(m(0x26d,0x262))/0x6+-parseInt(m(0x269,0x26d))/0x7*(-parseInt(m(0x2a4,0x278))/0x8)+parseInt(m(0x25a,0x26b))/0x9+parseInt(m(0x239,0x25e))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x3d1e0));import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x96;let f=c[d];return f;};return _scb(a,b);}import _scd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _sce from'@bryntum/core-thin/lib/widget/Editor.js';function _scn(a,b){return _scb(a- -0x223,b);}import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scg from'./mixin/TaskEditStm.js';_scf['loadStylesheet'](_scn(-0x160,-0x187));function _sca(){const z=['eventStore','captureStm','startDate','scrollIntoView','248384RqmhsW','hasStmCapture','onDragCreateEnd','registerFeature','beforestart','b-simple-event-editor','getElementFromEventRecord','readOnly','resource','editEvent','editor','stopPropagation','c-c','beforecancel','render','onEditorComplete','onEventEnterKey','@bryntum/scheduler-thin/lib/feature/SimpleEventEdit.css','timeAxisSubGrid','mixin','startEdit','configurable','client','1802410HFuHch','4RujWCj','pluginConfig','editorConfig','1286952uICVAd','SimpleEventEdit','element','eventRecord','getComputedStyle','296ikFVgL','focus','remove','beforecomplete','1630791eVtNDP','navigator','28zqkcZc','getElementFromAssignmentRecord','Scheduler','style','revertFocus','ion','add','borderWidth','max','down','111897upXFax','53096tQFVag','complete','27015YVgfQh','applyStmCapture','new','inputField','createRecord','scheduler','event','addCls','classList','borderRadius','eventInnerSelector','clientListenersDetacher','doDestroy','isVertical','b-event-editor-editing','isAssignment','freeStm','disabled','timeAxisSubGridElement','onEditorCancel','isCreating','construct','project','cancel','name','eventDblClick','isHorizontal','isModel','relayEvents','object','$name','reset'];_sca=function(){return z;};return _sca();}export default class SimpleEventEdit extends _scd[_scn(-0x15e,-0x137)](_scg){static [_scn(-0x177,-0x160)]=_scn(-0x155,-0x12a);static [_scn(-0x15c,-0x17a)]={'triggerEvent':_scn(-0x17c,-0x17b),'eventRecord':null,'field':_scn(-0x17d,-0x198),'editorConfig':null};static get[_scn(-0x158,-0x158)](){function o(a,b){return _scn(b-0xd7,a);}return{'after':[o(-0xb6,-0x8a),o(-0xba,-0x91)]};}[_scn(-0x180,-0x15a)](a,b){const c=this;c[p(0x44,0x5e)]=a;function p(a,b){return _scn(b-0x197,a);}a['eventEdit']=c;super[p(0x3b,0x17)](a,b);c[p(-0xf,0xd)]=a[p(0x53,0x51)]({[c['triggerEvent']]:({eventRecord:d,eventElement:e})=>c['editEvent'](d,d[p(0x23,0x2e)],e),'dragcreateend':c[p(0x4,0x28)],'thisObj':c});}['doDestroy'](){var a;this[q(0x40c,0x431)]();(a=this[q(0x42f,0x423)])===null||a===void 0x0||a['destroy']();function q(a,b){return _scn(a-0x596,b);}super[q(0x40d,0x3ec)]();}get[_scn(-0x175,-0x18a)](){function r(a,b){return _scn(b-0x1d9,a);}return this[r(0xcb,0xa0)][r(0x46,0x64)];}get[_scn(-0x17f,-0x17c)](){function s(a,b){return _scn(b- -0x9a,a);}return this['client'][s(-0x221,-0x219)];}async[_scn(-0x168,-0x18c)](a,b,c,d){const e=this,{scheduler:f}=e,{eventEdit:g}=e[t(-0x2d,-0x35)]['features'];if(!a[t(-0x4c,-0x43)]){a=typeof a===t(-0x4a,-0x4a)?e[t(-0x47,-0x46)][t(-0xc,-0xf)](a):e['eventStore']['getById'](a);}if(!b){b=a[t(-0x3b,-0x5c)];}if(!c){c=f[t(-0x3d,-0x45)](a);}if(f['readOnly']||e['disabled']||a[t(-0x3c,-0x5d)]||b[t(-0x3c,-0x14)]||g&&!g[t(-0x56,-0x6e)]&&!a[t(-0x53,-0x6a)]){return;}let {editor:h}=e;c=_scf[t(-0x14,0x12)](c,f[t(-0x5d,-0x54)])||c;a=a[t(-0x58,-0x77)]?a[t(-0xa,-0x2f)]:a;e[t(-0x3b,-0x48)]=b;e[t(-0x25,0x6)]=a;e[t(-0x26,-0x38)]=c;f[t(-0x9,0xc)](t(-0x59,-0x31));if(h){h[t(-0x35,-0x13)](f[t(-0x55,-0x80)]);}else{e[t(-0x39,-0x1f)]=h=_sce[t(-0xe,0x10)]({'owner':f[t(-0x31,-0x15)],'appendTo':f[t(-0x55,-0x5c)],'scrollAction':'realign','maxHeight':0x28,'align':{'align':f[t(-0x4d,-0x46)]?t(-0x37,-0x47):'t-t'},'cls':t(-0x3e,-0x3f),'internalListeners':{'complete':t(-0x34,-0x20),'cancel':t(-0x54,-0x41),'thisObj':e},'onInternalKeyDown':l=>l[t(-0x38,-0x16)]()},e[t(-0x29,-0x2f)]);h[t(-0x19,-0xb)]=()=>f[t(-0x3d,-0x58)](e['eventRecord'],e['resourceRecord'],!![])[t(-0x22,-0x2c)]({'scrollIntoView':![]});e[t(-0x4b,-0x71)](e['editor'],[t(-0x3f,-0x1f),'start',t(-0x20,-0x8),t(-0x11,-0xd),t(-0x36,-0x58),t(-0x50,-0x32)]);}if(d){e[t(-0xf,-0x1e)](d);}else if(d!==![]&&!e[t(-0x42,-0x2e)]){e[t(-0x46,-0x23)](!![]);}if(a['isCreating']){a[t(-0x4f,-0x49)]='';}const i=globalThis[t(-0x24,-0x2a)](c);let {borderRadius:j}=i;if(parseFloat(i[t(-0x16,-0x29)])){h[t(-0x26,-0x34)][t(-0x5f,-0x67)][t(-0x17,-0x15)]('b-target-has-border');const l=parseFloat(i[t(-0x16,0xd)]);if(!isNaN(l)){j=Math[t(-0x15,0x3)](0x0,parseFloat(j)-l)+'px';}}h[t(-0xd,0xe)][t(-0x26,-0x1f)][t(-0x1a,-0x1f)][t(-0x5e,-0x43)]=j;const k=await h[t(-0x2f,-0x19)]({'target':c,'record':a,'field':e['field']});if(!k){e[t(-0x57,-0x55)]();e[t(-0x48,-0x32)]();return;}if(f[t(-0x5a,-0x32)]&&a[t(-0x45,-0x54)]<f['visibleDateRange']['startDate']){h['element'][t(-0x44,-0x30)]();}function t(a,b){return _scn(a-0x12e,b);}f[t(-0x1e,-0x28)]['disabled']=!![];}[_scn(-0x162,-0x18a)](){this[u(0x453,0x43a)][u(0x41e,0x40c)]=![];this['reset']();function u(a,b){return _scn(b-0x58d,a);}this[u(0x41a,0x408)](!![]);}[_scn(-0x182,-0x1a1)](){const {eventRecord:a}=this;this[v(-0x101,-0xf8)]();this['freeStm'](![]);function v(a,b){return _scn(a-0x75,b);}if(a[v(-0x10c,-0x12d)]){a[v(-0xda,-0xbd)]();}}[_scn(-0x176,-0x17f)](){this[w(-0x2ab,-0x2ce)]['removeCls'](w(-0x332,-0x31c));this[w(-0x2cb,-0x2ce)][w(-0x2b7,-0x2e1)][w(-0x2fa,-0x319)]=![];function w(a,b){return _scn(b- -0x195,a);}this[w(-0x2c5,-0x2e8)]=null;this[w(-0x2ec,-0x2fe)]=null;}['onEventEnterKey']({assignmentRecord:a,eventRecord:b}){const c=a?this[x(-0x3c,-0x52)][x(-0x40,-0x63)](a):this[x(-0x7b,-0x52)][x(-0xa1,-0x84)](b),d=(a||b)[x(-0x97,-0x82)];function x(a,b){return _scn(b-0xe7,a);}this[x(-0x80,-0x81)](b,d,c);}[_scn(-0x16f,-0x155)]({eventRecord:a,resourceRecord:b,eventElement:c,stmCapture:d}){this[y(0x445,0x41a)]=c;function y(a,b){return _scn(b-0x56e,a);}this[y(0x3ea,0x406)](a,b,c,d);}}_scc[_scn(-0x16e,-0x150)](SimpleEventEdit,![],_scn(-0x149,-0x12f));
|