@bryntum/scheduler-thin-trial 7.2.3 → 7.3.0
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 +0 -1
- package/entry.js +2 -1
- package/fluent2-dark.css +16 -0
- package/high-contrast-dark.css +45 -0
- package/high-contrast-light.css +29 -0
- package/lib/column/DurationColumn.js +1 -1
- package/lib/column/EventColorColumn.js +1 -1
- package/lib/column/ResourceCollapseColumn.js +1 -1
- package/lib/column/ResourceInfoColumn.js +1 -1
- package/lib/column/ScaleColumn.js +1 -1
- package/lib/column/TimeAxisColumn.js +1 -1
- package/lib/column/VerticalTimeAxisColumn.js +1 -1
- package/lib/crud/AbstractCrudManager.js +1 -1
- package/lib/crud/AbstractCrudManagerMixin.js +1 -1
- package/lib/crud/mixin/CrudManagerView.js +1 -1
- package/lib/crud/mixin/LazyLoadCrudManager.js +1 -1
- package/lib/customElements/SchedulerTag.js +1 -1
- package/lib/customElements/TimelineBaseTag.js +1 -1
- package/lib/data/AssignmentStore.js +1 -1
- package/lib/data/CrudManager.js +1 -1
- package/lib/data/DependencyStore.js +1 -1
- package/lib/data/EventStore.js +1 -1
- package/lib/data/ResourceStore.js +1 -1
- package/lib/data/ResourceTickStore.js +1 -1
- package/lib/data/ResourceTimeRangeStore.js +1 -1
- package/lib/data/TimeAxis.js +1 -1
- package/lib/data/TimeRangeStore.js +1 -1
- package/lib/data/mixin/AssignmentStoreMixin.js +1 -1
- 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/data/mixin/LazyLoadView.js +1 -1
- package/lib/data/mixin/ProjectConsumer.js +1 -1
- package/lib/data/mixin/ProjectCrudManager.js +1 -1
- package/lib/data/mixin/ResourceStoreMixin.js +1 -1
- package/lib/data/plugin/DateStoreLazyLoadPlugin.js +1 -1
- package/lib/feature/AI.js +1 -1
- package/lib/feature/AbstractTimeRanges.js +1 -1
- package/lib/feature/ColumnLines.css +6 -1
- package/lib/feature/ColumnLines.js +1 -1
- package/lib/feature/Dependencies.css +12 -2
- 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/EventDrag.css +14 -2
- package/lib/feature/EventDrag.js +1 -1
- package/lib/feature/EventDragCreate.js +1 -1
- package/lib/feature/EventDragSelect.css +6 -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.css +6 -1
- package/lib/feature/EventNonWorkingTime.js +1 -1
- package/lib/feature/EventResize.css +6 -1
- package/lib/feature/EventResize.js +1 -1
- package/lib/feature/EventTooltip.js +1 -1
- package/lib/feature/GroupSummary.js +1 -1
- package/lib/feature/HeaderZoom.js +1 -1
- package/lib/feature/Labels.css +6 -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 +12 -2
- package/lib/feature/ResourceColumnReorder.js +1 -1
- package/lib/feature/ResourceMenu.js +1 -1
- package/lib/feature/ResourceTimeRanges.js +1 -1
- package/lib/feature/RowReorder.js +1 -1
- package/lib/feature/RowResize.js +1 -1
- package/lib/feature/ScheduleContext.css +7 -2
- 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.css +8 -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/TimeRanges.css +52 -0
- package/lib/feature/TimeRanges.js +1 -1
- package/lib/feature/TimeSelection.css +6 -1
- package/lib/feature/TimeSelection.js +1 -1
- package/lib/feature/TimelineSummary.js +1 -1
- package/lib/feature/TreeSummary.js +1 -1
- package/lib/feature/ai/agents/DefaultSchedulerAgent.js +6 -6
- package/lib/feature/ai/agents/trainingData.js +1 -1
- 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/TimeSpanMenuBase.js +1 -1
- package/lib/feature/base/TooltipBase.js +1 -1
- package/lib/feature/export/PdfExport.js +1 -1
- package/lib/feature/export/Print.js +1 -1
- package/lib/feature/export/exporter/MultiPageExporter.js +1 -1
- package/lib/feature/export/exporter/MultiPageVerticalExporter.js +1 -1
- package/lib/feature/export/exporter/SinglePageExporter.js +1 -1
- package/lib/feature/export/verticalexporter/VerticalExporter.js +1 -1
- package/lib/feature/mixin/DependencyCreation.css +7 -2
- package/lib/feature/mixin/HeaderDragSelect.css +8 -1
- package/lib/feature/mixin/NonWorkingTimeMixin.js +1 -1
- package/lib/feature/mixin/RecurringEventEdit.js +1 -1
- package/lib/localization/En.js +1 -1
- package/lib/model/AISettingsModel.js +1 -0
- package/lib/model/AssignmentModel.js +1 -1
- package/lib/model/DependencyBaseModel.js +1 -1
- package/lib/model/DependencyModel.js +1 -1
- package/lib/model/EventModel.js +1 -1
- package/lib/model/RecurrenceModel.js +1 -1
- package/lib/model/ResourceModel.js +1 -1
- package/lib/model/ResourceTimeRangeModel.js +1 -1
- package/lib/model/TimeRangeModel.js +1 -1
- package/lib/model/TimeSpan.js +1 -1
- package/lib/model/mixin/AssignmentModelMixin.js +1 -1
- package/lib/model/mixin/EventModelMixin.js +1 -1
- package/lib/model/mixin/ProjectModelCommon.js +1 -1
- package/lib/model/mixin/RecurringTimeSpan.js +1 -1
- package/lib/model/mixin/ResourceModelMixin.js +1 -1
- package/lib/preset/PresetManager.js +1 -1
- package/lib/preset/PresetStore.js +1 -1
- package/lib/preset/ViewPreset.js +1 -1
- package/lib/util/TimelineContext.js +1 -1
- package/lib/view/EventEditor.js +1 -1
- package/lib/view/ResourceHeader.css +5 -0
- package/lib/view/ResourceHeader.js +1 -1
- package/lib/view/Scheduler.js +1 -1
- package/lib/view/SchedulerBase.js +1 -1
- package/lib/view/TimeAxisBase.js +1 -1
- package/lib/view/TimeAxisSubGrid.js +1 -1
- package/lib/view/TimelineBase.css +22 -9
- package/lib/view/TimelineBase.js +1 -1
- package/lib/view/TimelineHistogram.css +97 -1
- package/lib/view/TimelineHistogram.js +1 -1
- package/lib/view/TimelineHistogramBase.js +1 -1
- package/lib/view/TimelineHistogramRendering.js +1 -1
- package/lib/view/export/SchedulerExportDialog.js +1 -1
- package/lib/view/mixin/Describable.js +1 -1
- package/lib/view/mixin/EventNavigation.js +1 -1
- package/lib/view/mixin/EventSelection.js +1 -1
- package/lib/view/mixin/RecurringEvents.js +1 -1
- package/lib/view/mixin/SchedulerDom.js +1 -1
- package/lib/view/mixin/SchedulerDomEvents.js +1 -1
- package/lib/view/mixin/SchedulerEventRendering.css +26 -6
- package/lib/view/mixin/SchedulerEventRendering.js +1 -1
- package/lib/view/mixin/SchedulerRegions.js +1 -1
- package/lib/view/mixin/SchedulerResourceRendering.js +1 -1
- package/lib/view/mixin/SchedulerScroll.js +1 -1
- package/lib/view/mixin/SchedulerState.js +1 -1
- package/lib/view/mixin/SchedulerStores.js +1 -1
- package/lib/view/mixin/TimelineDateMapper.js +1 -1
- package/lib/view/mixin/TimelineDomEvents.js +1 -1
- package/lib/view/mixin/TimelineEventRendering.js +1 -1
- package/lib/view/mixin/TimelineHistogramGrouping.js +1 -1
- package/lib/view/mixin/TimelineHistogramScaleColumn.js +1 -1
- package/lib/view/mixin/TimelineScroll.js +1 -1
- package/lib/view/mixin/TimelineSmoothZoom.js +1 -0
- package/lib/view/mixin/TimelineState.js +1 -1
- package/lib/view/mixin/TimelineViewPresets.js +1 -1
- package/lib/view/mixin/TimelineZoomable.js +1 -1
- package/lib/view/mixin/TransactionalFeatureMixin.js +1 -1
- package/lib/view/model/TimeAxisViewModel.js +1 -1
- package/lib/view/orientation/HorizontalRendering.js +1 -1
- package/lib/view/orientation/VerticalRendering.js +1 -1
- package/lib/view/recurrence/RecurrenceConfirmationPopup.js +1 -1
- package/lib/view/recurrence/RecurrenceEditor.js +1 -1
- package/lib/view/recurrence/RecurrenceLegendButton.js +1 -1
- package/lib/view/recurrence/field/RecurrenceCombo.js +1 -1
- package/lib/view/recurrence/field/RecurrenceDaysButtonGroup.js +1 -1
- package/lib/view/recurrence/field/RecurrenceDaysCombo.js +1 -1
- package/lib/view/recurrence/field/RecurrenceFrequencyCombo.js +1 -1
- package/lib/view/recurrence/field/RecurrenceMonthDaysButtonGroup.js +1 -1
- package/lib/view/recurrence/field/RecurrenceMonthsButtonGroup.js +1 -1
- package/lib/view/recurrence/field/RecurrencePositionsCombo.js +1 -1
- package/lib/view/recurrence/field/RecurrenceStopConditionCombo.js +1 -1
- package/lib/widget/DayButtons.js +1 -1
- package/lib/widget/EventColorField.js +1 -1
- package/lib/widget/EventColorPicker.js +1 -1
- package/lib/widget/ProjectCombo.js +1 -1
- package/lib/widget/ResourceCombo.js +1 -1
- package/lib/widget/ResourceFilter.js +1 -1
- package/lib/widget/SchedulerDatePicker.css +21 -46
- package/lib/widget/SchedulerDatePicker.js +1 -1
- package/lib/widget/TimeZoomSlider.js +1 -0
- package/lib/widget/UndoRedo.js +1 -1
- package/lib/widget/ViewPresetCombo.js +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/material3-dark.css +16 -0
- package/package.json +1 -1
- package/scheduler.css +172 -47
- package/scheduler.css.map +2 -2
- package/scheduler.d.ts +10578 -12881
- package/stockholm-dark.css +16 -0
- package/svalbard-dark.css +16 -0
- package/visby-dark.css +16 -0
- package/lib/data/AISettingsModel.js +0 -1
package/lib/feature/Labels.css
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
:root, :host {
|
|
2
|
+
/**
|
|
3
|
+
* Label z-index (above dependency terminal hover area)
|
|
4
|
+
*/
|
|
5
|
+
--b-event-label-z-index : 1;
|
|
6
|
+
|
|
2
7
|
/**
|
|
3
8
|
* Label font size
|
|
4
9
|
*/
|
|
@@ -35,11 +40,11 @@
|
|
|
35
40
|
.b-sch-label {
|
|
36
41
|
text-align : center;
|
|
37
42
|
white-space : nowrap;
|
|
38
|
-
z-index : 1; /* Above dependency terminal hover area */
|
|
39
43
|
min-width : 1em; /* To guarantee Siesta can reach it */
|
|
40
44
|
pointer-events : all; /* .b-gantt-task-wrap has pointer-events: none for some reason */
|
|
41
45
|
user-select : none;
|
|
42
46
|
-webkit-user-select : none;
|
|
47
|
+
z-index : var(--b-event-label-z-index); /* Above dependency terminal hover area */
|
|
43
48
|
|
|
44
49
|
background : var(--b-event-label-background);
|
|
45
50
|
color : var(--b-event-label-color);
|
package/lib/feature/Labels.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function o(a,b){return _scb(a-0x20,b);}const c=a();while(!![]){try{const d=-parseInt(o(0x128,0x13a))/0x1+parseInt(o(0x130,0x15e))/0x2*(parseInt(o(0x152,0x11a))/0x3)+parseInt(o(0x160,0x13d))/0x4+-parseInt(o(0x187,0x158))/0x5*(-parseInt(o(0x18f,0x1a1))/0x6)+parseInt(o(0x140,0x10f))/0x7+-parseInt(o(0x18d,0x19a))/0x8+parseInt(o(0x131,0x134))/0x9*(-parseInt(o(0x163,0x139))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x78ed0));function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x108;let f=c[d];return f;};return _scb(a,b);}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/helper/DateHelper.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';function _sca(){const L=['5934294UCrhXd','changeTop','updateTop','isSchedulerPro','updateBefore','editListenerAdded','left','onLabelDblClick','task','updateHostClasslist','createElement','side','sync','b-sch-label','isConfiguring','2788436oWIoUA','format','prototype','date','fieldDef','startMS','generateLabelConfigs','push','measureLabels','refreshWithTransition','rtl','updateAfter','milestoneWidth','labelCharWidth','changeRight','changeBefore','firstElementChild','endMS','3396XAZoez','timeAxisSubGrid','labelCls','Labels\x20feature\x20is\x20not\x20supported\x20in\x20vertical\x20mode','event','onEventDataGenerated','b-labels-top','changeAfter','t-t','html','resource','scheduler','create','recordType','2874432QpaXlU','label-','updateLabelCharWidth','20VQvMVL','realign','refresh','stopImmediatePropagation','processLabelSpec','b-sch-event-wrap\x20b-measure-label','getValue','render','l-l','doDisable','isVertical','isResourceTimeRange','updateBottom','right','resourceRecord','registerFeature','encodeHtml','changeBottom','offsetWidth','b-labels-bottom','remove','top','startEdit','b-sch-labels','b-b','element','type','client','editor','b-sch-label-editor','timeAxisViewModel','fieldMap','wrapperChildren','function','$name','dataset','44470ggDoKp','r-r','retainElement','before','b-labels-topbottom','displayDateFormat','95880USeeVG','assignmentRecord','168eAxjzI','Scheduler','target','includes','label','millisecond','featureClass','estimate','construct','updateLabelLayoutMode','212367biMDOU','after','add','call','modelClass','changeLeft','has','bottom','1188pQOmNj'];_sca=function(){return L;};return _sca();}import _scg from'@bryntum/core-thin/lib/helper/DomSync.js';import _sch from'@bryntum/core-thin/lib/helper/EventHelper.js';import _sci from'@bryntum/core-thin/lib/helper/StringHelper.js';import _scj from'@bryntum/core-thin/lib/widget/Editor.js';function _scp(a,b){return _scb(b-0x173,a);}_scf['loadStylesheet']('@bryntum/scheduler-thin/lib/feature/Labels.css');const sides=['top',_scp(0x307,0x2dd),_scp(0x281,0x27c),_scp(0x25c,0x282)],editorAlign=(a,b)=>{function q(a,b){return _scp(b,a-0x170);}switch(a){case q(0x43b,0x43e):return q(0x43e,0x444);case'after':return b[q(0x40d,0x427)]?q(0x44b,0x42c):q(0x42e,0x432);case q(0x433,0x416):return'l-l';case q(0x3f2,0x3ee):return q(0x41d,0x44c);case q(0x44d,0x47f):return b[q(0x40d,0x41d)]?q(0x42e,0x3f9):q(0x44b,0x43a);case q(0x3fa,0x431):return q(0x44b,0x437);}},topBottom={'top':0x1,'bottom':0x1},layoutModes={'estimate':0x1,'measure':0x1},layoutSides={'before':0x1,'after':0x1};export default class Labels extends _scc{static [_scp(0x2d1,0x2d8)]='Labels';static ['configurable']={'labelCls':_scp(0x263,0x291),'top':null,'after':null,'right':null,'bottom':null,'before':null,'left':null,'thisObj':null,'blurAction':'cancel','labelLayoutMode':'default','labelCharWidth':0x7};static get['pluginConfig'](){function r(a,b){return _scp(a,b- -0x528);}return{'after':[r(-0x29a,-0x27e)]};}[_scp(0x2f0,0x2ea)](a,b){const c=this;if(a[s(-0x281,-0x297)]){throw new Error(s(-0x299,-0x29e));}c['scheduler']=a;function s(a,b){return _scp(b,a- -0x541);}super['construct'](a,b);if(c[s(-0x276,-0x269)]||c[s(-0x2bf,-0x2b8)]||c[s(-0x264,-0x28d)]||c['after']){c[s(-0x2b4,-0x2e2)]();}}[_scp(0x2ba,0x28d)](){const {top:a,bottom:b}=this,{classList:c}=this['scheduler']['element'];function t(a,b){return _scp(b,a- -0x21c);}c[t(0xae,0xbc)](t(0xc2,0xf8));c[t(0xae,0x9d)](t(0x8f,0xab));c['remove'](t(0xad,0xb1));if(a||b){c[t(0x61,0x85)](t(0xc2,0xf2));if(a){c[t(0x61,0x4c)]('b-labels-top');}if(b){c[t(0x61,0x8d)](t(0xad,0xd0));}}}[_scp(0x2c0,0x28b)](a){function u(a,b){return _scp(b,a-0xa1);}var b;const c=this,d=(b=a[u(0x385,0x39a)])===null||b===void 0x0?void 0x0:b['closest']('.'+c[u(0x348,0x347)]);if(d&&!c['scheduler']['readOnly']){const {side:e}=d[u(0x37a,0x35d)],f=c[e],{editor:g,field:h}=f;if(g){const i=c['scheduler']['resolveEventRecord'](a[u(0x385,0x361)]);if(i['readOnly']){return;}if(!(g instanceof _scj)){f[u(0x373,0x33d)]=new _scj({'blurAction':c['blurAction'],'inputField':g,'scrollAction':u(0x358,0x358),'cls':u(0x374,0x382)});}f['editor'][u(0x35e,0x331)](c[u(0x351,0x389)][u(0x370,0x387)]);f[u(0x373,0x342)][u(0x36d,0x33b)]({'target':d,'align':editorAlign(e,c['client']),'matchSize':![],'record':i,'field':h});a[u(0x35a,0x387)]();return![];}}}[_scp(0x28a,0x285)](a){function v(a,b){return _scp(b,a-0xe6);}return this[v(0x3a0,0x3d4)](a,'top');}[_scp(0x2bb,0x286)](){function w(a,b){return _scp(a,b- -0x33);}this[w(0x252,0x25a)]();}[_scp(0x2b3,0x2ac)](a){function x(a,b){return _scp(b,a- -0x8b);}return this['processLabelSpec'](a,x(0x1f1,0x1c1));}[_scp(0x2b6,0x29e)](){function y(a,b){return _scp(a,b- -0x2d0);}this[y(-0x64,-0x43)]();}[_scp(0x272,0x2a1)](a){function z(a,b){return _scp(a,b- -0x130);}this[this[z(0x1a7,0x1a1)][z(0x15c,0x16d)]?z(0x179,0x1ad):z(0x138,0x14c)]=a;}[_scp(0x2ea,0x2c7)](a){function A(a,b){return _scp(a,b-0x23);}return this[A(0x301,0x2dd)](a,'bottom');}[_scp(0x2a2,0x2c2)](){this['updateHostClasslist']();}[_scp(0x2b9,0x2a2)](a){function B(a,b){return _scp(b,a-0xae);}return this[B(0x368,0x38b)](a,B(0x38b,0x387));}[_scp(0x27c,0x288)](){function C(a,b){return _scp(b,a- -0x556);}this[C(-0x2c9,-0x2a6)]();}[_scp(0x266,0x280)](a){function D(a,b){return _scp(a,b-0x1dc);}this[this[D(0x48e,0x4ad)][D(0x472,0x479)]?D(0x490,0x458):D(0x4e3,0x4b9)]=a;}['processLabelSpec'](a,b){if(typeof a===E(-0x1f1,-0x1ea)){a={'renderer':a};}else if(typeof a==='string'){a={'field':a};}else if(a){a=Object[E(-0x217,-0x23e)](a);}else{return null;}const {scheduler:c}=this,{eventStore:d,resourceStore:e,taskStore:f,id:g}=c,{field:h,editor:i}=a;if(topBottom[b]){c[E(-0x229,-0x216)]=null;}function E(a,b){return _scp(b,a- -0x4c8);}if(d&&!f){a[E(-0x216,-0x220)]=E(-0x21f,-0x1ef);}else{a[E(-0x216,-0x217)]=E(-0x23c,-0x25a);}if(h){let j,k=![];if(d&&!f){j=d[E(-0x249,-0x26f)][E(-0x1f3,-0x211)][h];if(j){a[E(-0x231,-0x247)]=j;a[E(-0x216,-0x24d)]=E(-0x21f,-0x22f);k=!![];}else if(Reflect[E(-0x247,-0x219)](d[E(-0x249,-0x26e)][E(-0x233,-0x254)],h)){a[E(-0x216,-0x22b)]=E(-0x21f,-0x1fe);k=!![];}}if(!j&&f){j=f[E(-0x249,-0x211)][E(-0x1f3,-0x1c2)][h];if(j){a[E(-0x231,-0x216)]=j;a[E(-0x216,-0x1e7)]='task';k=!![];}else if(Reflect[E(-0x247,-0x235)](e[E(-0x249,-0x24b)]['prototype'],h)){a[E(-0x216,-0x245)]='task';k=!![];}}if(!j&&e){j=e[E(-0x249,-0x27b)][E(-0x1f3,-0x1cb)][h];if(j){a[E(-0x231,-0x239)]=j;a[E(-0x216,-0x202)]=E(-0x219,-0x225);k=!![];}else if(Reflect[E(-0x247,-0x216)](e[E(-0x249,-0x25d)][E(-0x233,-0x208)],h)){a['recordType']=E(-0x219,-0x1f7);k=!![];}}if(i&&!this[E(-0x23f,-0x20f)]){_sch['on']({'element':c[E(-0x222,-0x201)]['element'],'delegate':'.'+this[E(-0x221,-0x1fb)],'dblclick':E(-0x23d,-0x247),'thisObj':this});this[E(-0x23f,-0x232)]=!![];}}return a;}[_scp(0x2b9,0x2bf)](a){super[F(0x262,0x284)](a);function F(a,b){return _scp(a,b- -0x3b);}if(this['client']['isPainted']){this['client'][F(0x26f,0x27d)]();}}[_scp(0x27e,0x299)](a){function G(a,b){return _scp(b,a- -0x51b);}const b=this,c=[];for(const e of sides){if(b[e]){var d;const {field:f,fieldDef:g,recordType:h,renderer:i,thisObj:j}=b[e],k={'tag':G(-0x235,-0x23a),'className':{[b[G(-0x274,-0x292)]]:0x1,[b[G(-0x274,-0x273)]+'-'+e]:0x1},'dataset':{'side':e,'taskFeature':G(-0x267,-0x23b)+e}};let l;const m=h+'Record',n=a[m];if(i){l=i[G(-0x29d,-0x27b)](j||b['thisObj']||b,{[m]:n,'resourceRecord':a[G(-0x257,-0x239)],'assignmentRecord':a[G(-0x23a,-0x26d)],'domConfig':k,...b[G(-0x26b,-0x286)][G(-0x294,-0x2ae)]?{'eventRecord':n}:{}});if(typeof l==='object'){Object['assign'](k,l);l=null;}}else{l=n[G(-0x25f,-0x277)](f);if((g===null||g===void 0x0?void 0x0:g[G(-0x24b,-0x22e)])===G(-0x285,-0x262)&&!i){l=_sce[G(-0x287,-0x270)](l,b[G(-0x24a,-0x234)][G(-0x23c,-0x26f)]);}else{l=_sci[G(-0x255,-0x260)](l);}}if(l!=null&&l!==![]){k[G(-0x26d,-0x27c)]=l;}if(k['html']!=null||(d=k['children'])!==null&&d!==void 0x0&&d['length']||k['text']!=null){c['push'](k);}}}return c;}[_scp(0x266,0x29b)](a,b){function H(a,b){return _scp(a,b-0x244);}const c=this,d=c[H(0x4f8,0x515)][H(0x541,0x518)]['getSingleUnitInPixels'](H(0x558,0x52b));for(const e of a){if(layoutSides[e[H(0x550,0x51d)][H(0x4f8,0x4d3)]]){let {html:f}=e;let g=0x0;if(c['labelLayoutMode']===H(0x55e,0x52d)){if(f[H(0x4ff,0x529)]('<')){f=_scf['stripTags'](f);}g=f['length']*c[H(0x4b5,0x4e4)]+0x12;}else{const i=c['labelMeasureElement']||(c['labelMeasureElement']=_scf[H(0x4cb,0x4d2)]({'className':H(0x4f5,0x4ff),'parent':c[H(0x520,0x515)]['foregroundCanvas']}));i[H(0x53d,0x520)]=!![];_scg[H(0x4ca,0x4d4)]({'targetElement':i,'domConfig':{'onlyChildren':!![],'children':[e]}});g=i[H(0x501,0x4e7)][H(0x50d,0x50c)];}const h=g/d;switch(e[H(0x50c,0x51d)][H(0x4b0,0x4d3)]){case H(0x53a,0x521):b[H(0x508,0x4dc)]-=h;break;case H(0x4d1,0x4c0):b[H(0x50d,0x4e8)]+=h;break;}}}}[_scp(0x298,0x2aa)](a){var b;function I(a,b){return _scp(a,b- -0x377);}if(!this['disabled']&&!((b=a['eventRecord'])!==null&&b!==void 0x0&&b[I(-0xbd,-0xb6)])){const c=this[I(-0xc5,-0xde)](a);if(layoutModes[this['labelLayoutMode']]){this['measureLabels'](c,a);}a[I(-0xd5,-0xa1)][I(-0x107,-0xdd)](...c);}}[_scp(0x2f7,0x2eb)](){function J(a,b){return _scp(a,b- -0x41a);}if(!this[J(-0x186,-0x188)]){this[J(-0x13c,-0x149)][J(-0x167,-0x17e)]();}}[_scp(0x2cb,0x2b5)](){function K(a,b){return _scp(b,a- -0x1cd);}if(!this[K(0xc5,0xd7)]){this[K(0x104,0xe3)][K(0xcf,0xd0)]();}}}Labels[_scp(0x309,0x2e8)]=_scp(0x298,0x2cd);_scd[_scp(0x2ea,0x2c5)](Labels,![],_scp(0x2cb,0x2e3));
|
|
1
|
+
(function(a,b){function o(a,b){return _scb(b- -0x29d,a);}const c=a();while(!![]){try{const d=parseInt(o(-0x1c2,-0x1b5))/0x1*(-parseInt(o(-0x1ce,-0x1df))/0x2)+-parseInt(o(-0x1ec,-0x1f2))/0x3+-parseInt(o(-0x16f,-0x1a7))/0x4*(parseInt(o(-0x188,-0x17a))/0x5)+parseInt(o(-0x20a,-0x1f1))/0x6*(-parseInt(o(-0x16a,-0x1a2))/0x7)+-parseInt(o(-0x18a,-0x1ac))/0x8+parseInt(o(-0x1cb,-0x1e7))/0x9*(parseInt(o(-0x1d5,-0x1dc))/0xa)+-parseInt(o(-0x1ba,-0x18c))/0xb*(-parseInt(o(-0x162,-0x193))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xebc84));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/helper/DateHelper.js';function _sca(){const K=['after','loadStylesheet','sync','Scheduler','format','measureLabels','assignmentRecord','9MGFjmj','timeAxisViewModel','editor','construct','changeAfter','wrapperChildren','prototype','text','2TuFuIX','getSingleUnitInPixels','changeLeft','6360540qYCLAi','refreshWithTransition','add','b-labels-bottom','disabled','fieldMap','encodeHtml','object','registerFeature','html','isConfiguring','label-','featureClass','includes','type','t-t','displayDateFormat','scheduler','endMS','refresh','right','fieldDef','stopImmediatePropagation','updateHostClasslist','isVertical','stripTags','isResourceTimeRange','realign','isPainted','cancel','top','default','labelCls','left','labelMeasureElement','milestoneWidth','b-labels-top','resource','firstElementChild','40487ZcnSUw','resourceRecord','string','onEventDataGenerated','blurAction','event','remove','isSchedulerPro','updateBottom','8943960CpmDGc','b-sch-labels','has','side','element','366968wMzxKW','task','configurable','dataset','retainElement','14483cUDtWR','millisecond','before','resolveEventRecord','pluginConfig','r-r','foregroundCanvas','b-b','changeBefore','eventRecord','$name','call','rtl','client','editListenerAdded','919524Womuuw','@bryntum/scheduler-thin/lib/feature/Labels.css','labelCharWidth','updateLabelCharWidth','labelLayoutMode','Record','length','803XIisGu','modelClass','updateBefore','updateTop','estimate','generateLabelConfigs','create','b-labels-topbottom','thisObj','push','date','target','assign','recordType','Labels','children','label','b-sch-label','85esKkhr','render','bottom','2405394hqKDaG','5058NrLzcW','processLabelSpec','doDisable'];_sca=function(){return K;};return _sca();}import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scg from'@bryntum/core-thin/lib/helper/DomSync.js';import _sch from'@bryntum/core-thin/lib/helper/EventHelper.js';import _sci from'@bryntum/core-thin/lib/helper/StringHelper.js';import _scj from'@bryntum/core-thin/lib/widget/Editor.js';function _scp(a,b){return _scb(a-0xed,b);}_scf[_scp(0x19d,0x163)](_scp(0x1f8,0x1bb));function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xab;let f=c[d];return f;};return _scb(a,b);}const sides=[_scp(0x1cc,0x1de),'before',_scp(0x19c,0x18f),_scp(0x212,0x233)],editorAlign=(a,b)=>{function q(a,b){return _scp(a- -0x471,b);}switch(a){case q(-0x2a5,-0x2c3):return q(-0x282,-0x2b6);case q(-0x2d5,-0x2c1):return b[q(-0x27d,-0x28c)]?'r-r':'l-l';case q(-0x2af,-0x277):return'l-l';case q(-0x25f,-0x278):return q(-0x2b4,-0x2bb);case q(-0x287,-0x2ad):return b[q(-0x27d,-0x2b2)]?'l-l':'r-r';case q(-0x2a2,-0x285):return q(-0x284,-0x2ab);}},topBottom={'top':0x1,'bottom':0x1},layoutModes={'estimate':0x1,'measure':0x1},layoutSides={'before':0x1,'after':0x1};export default class Labels extends _scc{static [_scp(0x1f2,0x212)]=_scp(0x20c,0x1e6);static [_scp(0x1e5,0x1d5)]={'labelCls':_scp(0x20f,0x1e7),'top':null,'after':null,'right':null,'bottom':null,'before':null,'left':null,'thisObj':null,'blurAction':_scp(0x1cb,0x1f9),'labelLayoutMode':_scp(0x1cd,0x1d4),'labelCharWidth':0x7};static get[_scp(0x1ec,0x21d)](){function r(a,b){return _scp(b-0x19,a);}return{'after':[r(0x1de,0x1f1)]};}[_scp(0x1a6,0x191)](a,b){function s(a,b){return _scp(a-0x25c,b);}const c=this;if(a[s(0x422,0x423)]){throw new Error('Labels\x20feature\x20is\x20not\x20supported\x20in\x20vertical\x20mode');}c[s(0x41b,0x40d)]=a;super[s(0x402,0x401)](a,b);if(c[s(0x428,0x433)]||c[s(0x46e,0x456)]||c[s(0x446,0x427)]||c[s(0x3f8,0x42e)]){c[s(0x421,0x3f6)]();}}[_scp(0x1c5,0x1bf)](){const {top:a,bottom:b}=this,{classList:c}=this[t(0x319,0x312)]['element'];c[t(0x335,0x305)]('b-labels-topbottom');c[t(0x335,0x317)](t(0x32c,0x35e));c['remove'](t(0x30b,0x325));function t(a,b){return _scp(a-0x15a,b);}if(a||b){c['add'](t(0x35f,0x359));if(a){c['add'](t(0x32c,0x352));}if(b){c[t(0x30a,0x2e8)](t(0x30b,0x2ee));}}}['onLabelDblClick'](a){var b;function u(a,b){return _scp(a-0x27e,b);}const c=this,d=(b=a[u(0x487,0x459)])===null||b===void 0x0?void 0x0:b['closest']('.'+c[u(0x44c,0x465)]);if(d&&!c[u(0x43d,0x443)]['readOnly']){const {side:e}=d[u(0x464,0x44c)],f=c[e],{editor:g,field:h}=f;if(g){const i=c['scheduler'][u(0x469,0x44d)](a['target']);if(i['readOnly']){return;}if(!(g instanceof _scj)){f[u(0x423,0x3fb)]=new _scj({'blurAction':c[u(0x457,0x491)],'inputField':g,'scrollAction':u(0x447,0x451),'cls':'b-sch-label-editor'});}f[u(0x423,0x421)][u(0x48f,0x495)](c[u(0x43d,0x46a)][u(0x460,0x43e)]);f[u(0x423,0x43e)]['startEdit']({'target':d,'align':editorAlign(e,c[u(0x473,0x4a3)]),'matchSize':![],'record':i,'field':h});a[u(0x442,0x458)]();return![];}}}['changeTop'](a){function v(a,b){return _scp(b-0x28d,a);}return this[v(0x3f2,0x427)](a,'top');}[_scp(0x201,0x1f6)](){this['updateHostClasslist']();}[_scp(0x1a7,0x1e3)](a){function w(a,b){return _scp(a-0x20a,b);}return this[w(0x3a4,0x3d9)](a,'after');}['updateAfter'](){function x(a,b){return _scp(b-0x2ec,a);}this[x(0x4dd,0x4b1)]();}['changeRight'](a){function y(a,b){return _scp(a- -0x370,b);}this[this['client'][y(-0x17c,-0x1a0)]?y(-0x186,-0x18a):y(-0x1d4,-0x1f5)]=a;}['changeBottom'](a){function z(a,b){return _scp(b- -0x3fb,a);}return this[z(-0x247,-0x261)](a,z(-0x1b8,-0x1e9));}[_scp(0x1dd,0x1df)](){function A(a,b){return _scp(b- -0x4ad,a);}this[A(-0x2b3,-0x2e8)]();}[_scp(0x1f0,0x1de)](a){function B(a,b){return _scp(a- -0x2fa,b);}return this[B(-0x160,-0x16e)](a,B(-0x110,-0xf1));}[_scp(0x200,0x20d)](){this['updateHostClasslist']();}[_scp(0x1ad,0x1aa)](a){function C(a,b){return _scp(a-0x124,b);}this[this[C(0x319,0x34c)][C(0x318,0x33f)]?C(0x2c0,0x2bc):'before']=a;}[_scp(0x19a,0x15e)](a,b){if(typeof a==='function'){a={'renderer':a};}else if(typeof a===D(0x424,0x446)){a={'field':a};}else if(a){a=Object[D(0x450,0x473)](a);}else{return null;}const {scheduler:c}=this,{eventStore:d,resourceStore:e,taskStore:f,id:g}=c,{field:h,editor:i}=a;if(topBottom[b]){c[D(0x41b,0x440)]=null;}if(d&&!f){a[D(0x49f,0x47a)]=D(0x430,0x449);}else{a[D(0x440,0x47a)]='task';}function D(a,b){return _scp(b-0x26f,a);}if(h){let j,k=![];if(d&&!f){j=d['modelClass'][D(0x41f,0x422)][h];if(j){a[D(0x433,0x432)]=j;a[D(0x4b4,0x47a)]=D(0x431,0x449);k=!![];}else if(Reflect[D(0x484,0x44f)](d[D(0x490,0x46e)]['prototype'],h)){a[D(0x451,0x47a)]=D(0x444,0x449);k=!![];}}if(!j&&f){j=f['modelClass'][D(0x40f,0x422)][h];if(j){a['fieldDef']=j;a['recordType']='task';k=!![];}else if(Reflect[D(0x44c,0x44f)](e[D(0x453,0x46e)][D(0x415,0x418)],h)){a['recordType']=D(0x46a,0x453);k=!![];}}if(!j&&e){j=e[D(0x479,0x46e)][D(0x3f6,0x422)][h];if(j){a['fieldDef']=j;a['recordType']=D(0x432,0x442);k=!![];}else if(Reflect['has'](e[D(0x4a9,0x46e)][D(0x436,0x418)],h)){a[D(0x479,0x47a)]=D(0x46f,0x442);k=!![];}}if(i&&!this[D(0x49e,0x465)]){_sch['on']({'element':c['timeAxisSubGrid'][D(0x421,0x451)],'delegate':'.'+this[D(0x458,0x43d)],'dblclick':'onLabelDblClick','thisObj':this});this[D(0x495,0x465)]=!![];}}return a;}[_scp(0x19b,0x18e)](a){super['doDisable'](a);function E(a,b){return _scp(b- -0x60,a);}if(this[E(0x187,0x195)][E(0x15d,0x16a)]){this[E(0x1b9,0x195)][E(0x157,0x161)]();}}[_scp(0x203,0x214)](a){const b=this,c=[];for(const e of sides){if(b[e]){var d;const {field:f,fieldDef:g,recordType:h,renderer:i,thisObj:j}=b[e],k={'tag':F(-0x187,-0x18d),'className':{[b['labelCls']]:0x1,[b['labelCls']+'-'+e]:0x1},'dataset':{'side':e,'taskFeature':F(-0x1b9,-0x1e2)+e}};let l;const m=h+F(-0x1c6,-0x19f),n=a[m];if(i){l=i[F(-0x1e0,-0x1a8)](j||b[F(-0x1b5,-0x195)]||b,{[m]:n,'resourceRecord':a[F(-0x1ee,-0x1c5)],'assignmentRecord':a[F(-0x1ec,-0x1f9)],'domConfig':k,...b[F(-0x1c4,-0x1dc)][F(-0x197,-0x1bf)]?{'eventRecord':n}:{}});if(typeof l===F(-0x1d8,-0x1e6)){Object[F(-0x171,-0x191)](k,l);l=null;}}else{l=n['getValue'](f);if((g===null||g===void 0x0?void 0x0:g[F(-0x1e8,-0x1df)])===F(-0x169,-0x193)&&!i){l=_sce[F(-0x1e6,-0x1fb)](l,b['client'][F(-0x1b7,-0x1dd)]);}else{l=_sci[F(-0x1c8,-0x1e7)](l);}}if(l!=null&&l!==![]){k[F(-0x1cd,-0x1e4)]=l;}if(k[F(-0x214,-0x1e4)]!=null||(d=k[F(-0x1c0,-0x18e)])!==null&&d!==void 0x0&&d['length']||k[F(-0x1d2,-0x1f1)]!=null){c[F(-0x170,-0x194)](k);}}}function F(a,b){return _scp(b- -0x39b,a);}return c;}[_scp(0x1a1,0x194)](a,b){const c=this,d=c['client'][G(0x50,0x55)][G(0x58,0x71)](G(0x95,0x85));function G(a,b){return _scp(a- -0x154,b);}for(const e of a){if(layoutSides[e['dataset'][G(0x8d,0x56)]]){let {html:f}=e;let g=0x0;if(c[G(0xa7,0xe4)]===G(0xae,0x9f)){if(f[G(0x67,0x9e)]('<')){f=_scf[G(0x73,0x8f)](f);}g=f[G(0xa9,0xdc)]*c[G(0xa5,0x6f)]+0x12;}else{const i=c[G(0x7c,0xa0)]||(c[G(0x7c,0x5a)]=_scf['createElement']({'className':'b-sch-event-wrap\x20b-measure-label','parent':c['client'][G(0x9a,0x8d)]}));i[G(0x93,0x93)]=!![];_scg[G(0x4a,0x68)]({'targetElement':i,'domConfig':{'onlyChildren':!![],'children':[e]}});g=i[G(0x80,0x46)]['offsetWidth'];}const h=g/d;switch(e[G(0x92,0xc4)]['side']){case G(0x96,0xbd):b['startMS']-=h;break;case G(0x48,0x4a):b[G(0x6c,0x9b)]+=h;break;}}}}[_scp(0x1d8,0x204)](a){function H(a,b){return _scp(a-0xce,b);}var b;if(!this[H(0x280,0x285)]&&!((b=a[H(0x2bf,0x28e)])!==null&&b!==void 0x0&&b[H(0x296,0x262)])){const c=this[H(0x2d1,0x2b0)](a);if(layoutModes[this['labelLayoutMode']]){this['measureLabels'](c,a);}a[H(0x276,0x23c)][H(0x2d5,0x301)](...c);}}['updateLabelLayoutMode'](){function I(a,b){return _scp(a- -0x4cd,b);}if(!this['isConfiguring']){this[I(-0x2d8,-0x2d8)]['refreshWithTransition']();}}[_scp(0x1fa,0x235)](){function J(a,b){return _scp(a-0x2c2,b);}if(!this[J(0x47a,0x485)]){this[J(0x4b7,0x4b2)][J(0x471,0x435)]();}}}Labels[_scp(0x1ba,0x1f4)]=_scp(0x1df,0x1b3);_scd[_scp(0x1b6,0x17f)](Labels,![],_scp(0x19f,0x188));
|
package/lib/feature/LockRows.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function f(a,b){return _scb(b-
|
|
1
|
+
(function(a,b){function f(a,b){return _scb(b-0x3,a);}const c=a();while(!![]){try{const d=parseInt(f(0x1d4,0x1c9))/0x1*(parseInt(f(0x1c7,0x1bb))/0x2)+-parseInt(f(0x1c5,0x1b8))/0x3+parseInt(f(0x1d2,0x1c7))/0x4*(-parseInt(f(0x1ca,0x1d1))/0x5)+-parseInt(f(0x1be,0x1b9))/0x6+-parseInt(f(0x1c0,0x1ce))/0x7*(parseInt(f(0x1d7,0x1ca))/0x8)+parseInt(f(0x1ba,0x1be))/0x9*(-parseInt(f(0x1b8,0x1c5))/0xa)+-parseInt(f(0x1c1,0x1cd))/0xb*(-parseInt(f(0x1c0,0x1b7))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x443b8));import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _scd from'@bryntum/grid-thin/lib/feature/LockRows.js';import _sce from'./Split.js';export default class LockRows extends _scd{static [_scg(0x345,0x352)]=_scg(0x34b,0x357);[_scg(0x363,0x361)]({firstPaint:a}){const b=this,{project:c}=b[h(0x51f,0x525)],{resourceStore:d}=c;function h(a,b){return _scg(a,b-0x1cd);}if(a){if(b['refreshSuspended']){b['client'][h(0x524,0x526)]();}if(d['count']){b[h(0x525,0x528)]();}else{const e=c[h(0x51c,0x522)]({'refresh':()=>{function i(a,b){return h(a,b- -0x325);}if(d[i(0x1eb,0x1f7)]){e();b[i(0x209,0x203)]();}}});}}}[_scg(0x352,0x354)](a,b,c,d){const e=this[j(-0xfb,-0xf1)](a,b,c,d);e[j(-0x10a,-0x111)]=this['client'];function j(a,b){return _scg(b,a- -0x460);}delete e[j(-0x100,-0xf4)];return e;}}function _scg(a,b){return _scb(b-0x198,a);}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x1b4;let f=c[d];return f;};return _scb(a,b);}const myProto=LockRows[_scg(0x352,0x351)],superProto=_sce[_scg(0x359,0x351)];myProto[_scg(0x366,0x365)]=superProto[_scg(0x34d,0x354)];myProto[_scg(0x363,0x364)]=superProto[_scg(0x35e,0x364)];function _sca(){const k=['9NVstYr','getClientConfig','ion','partner','LockRows','client','resumeRefresh','5538380NoguuY','lockRows','8jDUAQZ','configurable','543677hCYYFz','344GPpdcP','crudManager','onInternalPaint','451fQYBZA','1589SOENWu','afterConfigChange','superGetClientConfig','195220SnQXEa','relayProperties','289356kampfN','642915xkGZPs','2381028drlcbu','count','2oZBQaB','prototype','$name'];_sca=function(){return k;};return _sca();}LockRows[_scg(0x367,0x35d)][_scg(0x367,0x367)]=_sce['configurable'][_scg(0x36b,0x367)];_scc['registerFeature'](LockRows,![],'Scheduler');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function i(a,b){return _scb(a-
|
|
1
|
+
function _scj(a,b){return _scb(a-0x31c,b);}(function(a,b){function i(a,b){return _scb(a- -0xa,b);}const c=a();while(!![]){try{const d=-parseInt(i(0xc9,0xe0))/0x1+parseInt(i(0xd8,0xc1))/0x2+-parseInt(i(0xc3,0xcd))/0x3*(parseInt(i(0xb3,0xc2))/0x4)+-parseInt(i(0xd4,0xd2))/0x5+-parseInt(i(0xbb,0xb4))/0x6+parseInt(i(0xb6,0xaf))/0x7+parseInt(i(0xb9,0xcf))/0x8;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xa09d2));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';function _sca(){const u=['attachToProject','_timeAxisUnitDurationMs','451662zzkamh','$name','setupDefaultCalendar','isScheduler','intervalStore','onConfigChange','35116aiynUj','onTimeAxisViewModelUpdate','ResourceHistogram','shouldRenderRange','refresh','isDestroyed','attachToCalendar','pluginConfig','configurable','timeRanges','push','4544035hlvEfp','ion','Gantt','_timeRanges','2546848iwJwlO','unit','project','detachListeners','mixin','after','durationMS','autoGeneratedWeekends','SchedulerPro','loadStylesheet','doDestroy','Scheduler','28uedNSO','calendar','hideRangesOnZooming','3027276xZtLQu','timeAxisUnitDurationMs','initialProjectListener','15320176RAUBOm','registerFeature','5791434CimdXY','timeAxis','getCalendarTimeRanges','graph','effectiveCalendar','client'];_sca=function(){return u;};return _sca();}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xbb;let f=c[d];return f;};return _scb(a,b);}import _scg from'../data/mixin/AttachToProjectMixin.js';import _sch from'./mixin/NonWorkingTimeMixin.js';_scf['loadStylesheet']('@bryntum/scheduler-thin/lib/feature/TimeRanges.css');_scf[_scj(0x407,0x3f6)]('@bryntum/scheduler-thin/lib/feature/NonWorkingTime.css');export default class NonWorkingTime extends _scc[_scj(0x402,0x404)](_scg,_sch){static [_scj(0x3ea,0x3e7)]='NonWorkingTime';static [_scj(0x3f7,0x40c)]={'hideRangesOnZooming':!![],'showHeaderElements':!![],'showLabelInBody':!![],'autoGeneratedWeekends':![]};static get[_scj(0x3f6,0x3ef)](){function k(a,b){return _scj(a- -0x1c4,b);}const a=super['pluginConfig'];a[k(0x23f,0x234)][k(0x235,0x242)]('attachToProject','onConfigChange');return a;}['doDestroy'](){this[l(-0xdd,-0xcd)](null);function l(a,b){return _scj(b- -0x4c2,a);}super[l(-0xf7,-0xeb)]();}[_scj(0x3ee,0x3f7)]({name:a}){if(!this['isConfiguring']&&a==='fillTicks'){this['refresh']();}}[_scj(0x3e7,0x3fe)](a){super[m(-0x83,-0x9b)](a);function m(a,b){return _scj(a- -0x46a,b);}this['attachToCalendar'](a[m(-0x85,-0x8e)]);if(!a[m(-0x86,-0x70)]&&!this[m(-0x84,-0x78)][m(-0x7e,-0x95)]){a[m(-0x6f,-0x6c)]({'name':m(-0x6a,-0x7f),'dataReady':{'fn':()=>this['attachToCalendar'](a[m(-0x85,-0x99)]),'once':!![]},'thisObj':this});}a[m(-0x6f,-0x58)]({'name':m(-0x6a,-0x62),'calendarChange':()=>this[m(-0x75,-0x84)](a[m(-0x85,-0x74)]),'thisObj':this});}[_scj(0x3f0,0x3d7)](...a){function n(a,b){return _scj(a- -0x2dd,b);}this[n(0x10b,0x11a)]=null;return super[n(0x113,0x11d)](...a);}[_scj(0x3f5,0x3de)](a){const b=this,{project:c,client:d}=b;b[o(0x1f5,0x1eb)]('calendar');function o(a,b){return _scj(a- -0x20c,b);}b[o(0x1f9,0x1f1)]=![];if(a){b[o(0x1df,0x1d8)]();a[o(0x1e1,0x1e9)][o(0x1ef,0x1d8)]({'name':o(0x1ce,0x1bc),'change':()=>b['setTimeout'](()=>b['refresh'](),0x1),'thisObj':b});}if(d['isEngineReady']&&!d[o(0x1f4,0x1e0)]['isDelayingCalculation']&&!d['isDestroying']){b['refresh']();}else if(!c[o(0x1e8,0x1e2)]){b[o(0x1f5,0x1e4)](o(0x1d2,0x1c5));c[o(0x1ef,0x1d7)]({'name':'initialProjectListener','refresh'({isCalculated:e}){function p(a,b){return o(a-0x1e2,b);}if(e!==![]){b[p(0x3c9,0x3e2)]();b[p(0x3d7,0x3ed)](p(0x3b4,0x3bb));}},'thisObj':b});}}get[_scj(0x3da,0x3c9)](){var a;function q(a,b){return _scj(a- -0x68f,b);}return(a=this[q(-0x28f,-0x2a0)])===null||a===void 0x0?void 0x0:a[q(-0x2aa,-0x2ac)];}get[_scj(0x3dd,0x3dc)](){function r(a,b){return _scj(a-0x95,b);}if(!this[r(0x47d,0x482)]){this['_timeAxisUnitDurationMs']=_sce['as']('ms',0x1,this[r(0x47b,0x47c)][r(0x477,0x487)][r(0x494,0x4a3)]);}return this[r(0x47d,0x478)];}[_scj(0x3f2,0x3e7)](a,b,c){function s(a,b){return _scj(a- -0x13f,b);}return super['shouldRenderRange'](a,b,c)&&(!this[s(0x29c,0x2a0)]||a[s(0x2c5,0x2b4)]>=this[s(0x29e,0x289)]);}get[_scj(0x3f8,0x405)](){const a=this;function t(a,b){return _scj(a- -0x589,b);}if(!a[t(-0x18c,-0x183)]){a[t(-0x18c,-0x199)]=a[t(-0x1a6,-0x19c)](a[t(-0x1af,-0x1c3)]);}return a['_timeRanges'];}}_scd[_scj(0x3e0,0x3cd)](NonWorkingTime,![],_scj(0x3d8,0x3e9));_scd[_scj(0x3e0,0x3f0)](NonWorkingTime,!![],[_scj(0x406,0x41f),_scj(0x3fc,0x409),_scj(0x3f1,0x3db)]);
|
package/lib/feature/Pan.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function l(a,b){return _scb(a-
|
|
1
|
+
(function(a,b){const c=a();function l(a,b){return _scb(a-0x2db,b);}while(!![]){try{const d=-parseInt(l(0x3f2,0x3ed))/0x1+-parseInt(l(0x3d5,0x3f2))/0x2*(parseInt(l(0x404,0x407))/0x3)+-parseInt(l(0x3d3,0x3c9))/0x4*(parseInt(l(0x3d6,0x3d0))/0x5)+parseInt(l(0x3fe,0x3e5))/0x6+parseInt(l(0x409,0x412))/0x7*(parseInt(l(0x3f7,0x3fe))/0x8)+-parseInt(l(0x401,0x407))/0x9+-parseInt(l(0x3e3,0x3eb))/0xa*(-parseInt(l(0x3d1,0x3e4))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x9a195));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/helper/EventHelper.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';_scf['loadStylesheet'](_scm(0x3ed,0x3d1));function _scm(a,b){return _scb(b-0x2b3,a);}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xf5;let f=c[d];return f;};return _scb(a,b);}export default class Pan extends _scc{static [_scm(0x3e2,0x3df)]=_scm(0x3b7,0x3be);static [_scm(0x3e7,0x3d3)]={'horizontal':!![],'vertical':!![],'enableInHeader':!![]};get[_scm(0x3d1,0x3b6)](){function n(a,b){return _scm(a,b- -0x1d6);}return n(0x1f4,0x201)+(this[n(0x1fc,0x1f6)]?n(0x217,0x207):'');}static get[_scm(0x3be,0x3d8)](){function o(a,b){return _scm(b,a- -0x404);}return{'after':[o(-0x50,-0x5e)]};}['onElementMouseDown'](a){function p(a,b){return _scm(b,a-0x105);}const b=this,{client:c}=b,{button:d,touches:e,target:f,clientX:g,clientY:h}=a,i=c[p(0x4da,0x4e0)][p(0x4b4,0x4be)]||c[p(0x4da,0x4d1)][p(0x4cc,0x4c8)],j=c[p(0x4b8,0x4b9)]||!(i!==null&&i!==void 0x0&&i[p(0x4c2,0x4b5)]);if(e||d!==0x0||b[p(0x4e7,0x4f5)]||c[p(0x4c1,0x4ab)](p(0x4bf,0x4cf),{'event':a})===![]){return;}if(f[p(0x4d9,0x4dd)](b[p(0x4bb,0x4cb)])||j&&f[p(0x4c7,0x4bd)](c[p(0x4b5,0x4b5)])){var k;b[p(0x4c6,0x4de)]=g;b['mouseY']=h;b[p(0x4cb,0x4e3)]=b[p(0x4d1,0x4d3)]&&f[p(0x4c7,0x4ad)](p(0x4be,0x4d7));(k=b[p(0x4c9,0x4da)])===null||k===void 0x0||k[p(0x4e3,0x4f9)](b);b['mouseDetacher']=_sce['on']({'element':_scf['getRootElement'](c[p(0x4ba,0x4d5)]),'mousemove':p(0x4c8,0x4d2),'mouseup':p(0x4d5,0x4e7),'thisObj':b});}}[_scm(0x3a8,0x3c3)](a){function q(a,b){return _scm(b,a- -0x13b);}const b=this,{client:c}=b,d=c[q(0x27c,0x278)][q(0x297,0x27d)],e=c[q(0x297,0x283)],f=a[q(0x28a,0x2a5)],g=a[q(0x28d,0x27b)];if(a[q(0x26d,0x263)]===0x0){b[q(0x295,0x29e)]();return;}a[q(0x285,0x284)]();if(b[q(0x290,0x274)]&&(c[q(0x2a0,0x2a8)]||!b[q(0x28b,0x28a)])){e[q(0x277,0x27c)](0x0,b[q(0x293,0x2a5)]-g);}if(b[q(0x292,0x296)]&&(c[q(0x2a5,0x2ba)]||!b['onHeader'])){d[q(0x277,0x27a)](b[q(0x286,0x288)]-f);}if(!c[q(0x28e,0x277)]){c['eventSelectionDisabled']=!![];b[q(0x27d,0x28f)]=!![];}b[q(0x286,0x271)]=f;b[q(0x293,0x2ae)]=g;}[_scm(0x3bc,0x3d0)](){var a;function r(a,b){return _scm(a,b- -0x23c);}const {client:b}=this;(a=this['mouseDetacher'])===null||a===void 0x0||a[r(0x1ae,0x1a2)](this);this[r(0x1a4,0x188)]=null;b[r(0x178,0x16e)](()=>{function s(a,b){return r(b,a- -0x40c);}if(this[s(-0x290,-0x28a)]){b[s(-0x27f,-0x28d)]=![];b[s(-0x290,-0x289)]=![];}},0x32);}get[_scm(0x3ce,0x3da)](){function t(a,b){return _scm(a,b- -0x430);}return Boolean(this[t(-0x77,-0x6c)]);}}function _sca(){const u=['onHeader','eventDrag','clientY','eventSelectionDisabled','237610IJkhkD','vertical','enableInHeader','horizontal','mouseY','712VPDnrh','onMouseUp','@bryntum/scheduler-thin/lib/feature/Pan.css','scrollable','configurable','matches','features','4703820ixFfqZ','.b-sch-time-axis-cell,.b-task-non-working-time,.b-sch-resource-time-range,.b-timeline-sub-grid','pluginConfig','10244340adRaMK','isActive','isVertical','1041063qdSJVn',',.b-sch-header-time-axis-cell,.b-sch-header-text','call','$name','isHorizontal','71295Cpluyw','disabled','buttons','26761658jKLtUj','setTimeout','5804iRQaON','registerFeature','6eCCPoF','3705jKDxOV','taskDrag','eventSelector','Scheduler','scrollBy','readOnly','onElementMouseDown','element','targetSelector','timeAxisSubGrid','panControllingEventSelection','.b-sch-header-time-axis-cell','beforePan','10gHXyyv','trigger','enabled','Pan','Gantt','preventDefault','mouseX','closest','onMouseMove','mouseDetacher','clientX'];_sca=function(){return u;};return _sca();}_scd[_scm(0x39e,0x3ac)](Pan,![],[_scm(0x3ca,0x3b1),_scm(0x3ba,0x3bf)]);
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
:root, :host {
|
|
2
|
+
/**
|
|
3
|
+
* Drop indicator z-index
|
|
4
|
+
*/
|
|
5
|
+
--b-resource-column-reorder-drop-indicator-z-index : 2000;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Drag proxy z-index
|
|
9
|
+
*/
|
|
10
|
+
--b-resource-column-reorder-proxy-z-index : 10000;
|
|
11
|
+
|
|
2
12
|
/**
|
|
3
13
|
* Drop indicator size (width for vertical line)
|
|
4
14
|
*/
|
|
@@ -38,7 +48,7 @@
|
|
|
38
48
|
display : block;
|
|
39
49
|
top : 0;
|
|
40
50
|
height : 100%;
|
|
41
|
-
z-index :
|
|
51
|
+
z-index : var(--b-resource-column-reorder-drop-indicator-z-index);
|
|
42
52
|
|
|
43
53
|
inset-inline-start : calc(var(--b-resource-column-reorder-indicator-size) / -2);
|
|
44
54
|
width : var(--b-resource-column-reorder-indicator-size);
|
|
@@ -58,8 +68,8 @@
|
|
|
58
68
|
/* Drag proxy container */
|
|
59
69
|
.b-resource-column-reorder-proxy {
|
|
60
70
|
position : absolute;
|
|
61
|
-
z-index : 10000;
|
|
62
71
|
pointer-events : none;
|
|
72
|
+
z-index : var(--b-resource-column-reorder-proxy-z-index);
|
|
63
73
|
box-shadow : var(--b-resource-column-reorder-box-shadow);
|
|
64
74
|
opacity : var(--b-resource-column-reorder-proxy-opacity);
|
|
65
75
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function H(a,b){return _scb(a-
|
|
1
|
+
(function(a,b){const c=a();function H(a,b){return _scb(a-0x36f,b);}while(!![]){try{const d=-parseInt(H(0x3d3,0x3e1))/0x1+parseInt(H(0x3fa,0x3cf))/0x2*(-parseInt(H(0x420,0x40a))/0x3)+parseInt(H(0x3db,0x3db))/0x4+parseInt(H(0x3f7,0x3d1))/0x5*(parseInt(H(0x3ee,0x3d7))/0x6)+parseInt(H(0x40b,0x3f8))/0x7+parseInt(H(0x419,0x441))/0x8+parseInt(H(0x417,0x42c))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x5de9f));import _scc from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _scd from'@bryntum/core-thin/lib/helper/DragHelper.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x64;let f=c[d];return f;};return _scb(a,b);}function _scI(a,b){return _scb(a- -0x3ab,b);}import _sce from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scf from'@bryntum/core-thin/lib/helper/util/Rectangle.js';import _scg from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';_sce[_scI(-0x31c,-0x2fd)]('@bryntum/scheduler-thin/lib/feature/ResourceColumnReorder.css');export default class ResourceColumnReorder extends _scc{static [_scI(-0x2f2,-0x320)]='ResourceColumnReorder';static ['configurable']={'targetSelector':'.b-resource-header-cell'};[_scI(-0x30c,-0x328)](a,b){if(!a[J(-0x93,-0xa4)]){console[J(-0xda,-0xe7)](J(-0xc9,-0xcb));return;}function J(a,b){return _scI(a-0x261,b);}super[J(-0xab,-0xa3)](a,b);}[_scI(-0x31b,-0x315)](){function K(a,b){return _scI(a-0x26c,b);}var a,b;(a=this[K(-0x8a,-0x7b)])===null||a===void 0x0||a[K(-0xd0,-0xe0)]();(b=this[K(-0x9e,-0xa2)])===null||b===void 0x0||b[K(-0xc4,-0xc9)]();super[K(-0xaf,-0xd0)]();}[_scI(-0x341,-0x31b)](){const a=this,{client:b}=a,c=b[L(-0x246,-0x271)][L(-0x26b,-0x241)][L(-0x27a,-0x288)];if(!c){b[L(-0x265,-0x25a)]('paint',()=>a[L(-0x287,-0x2a6)](),a);return;}a[L(-0x23c,-0x233)]=_scd[L(-0x257,-0x264)]({'name':L(-0x243,-0x21c),'cloneTarget':!![],'positioning':L(-0x25d,-0x24e),'targetSelector':a[L(-0x239,-0x264)],'lockY':!![],'allowDropOutside':![],'outerElement':c,'rtlSource':b,'scrollManager':b[L(-0x23b,-0x234)],'monitoringConfig':{'scrollables':[{'element':b['timeAxisSubGrid']['header']['scrollable']['element'],'direction':L(-0x283,-0x26e)}]},'createProxy'(d){const e=d[M(-0x58,-0x5e)](!![]),{style:f}=e;function M(a,b){return L(b-0x1e4,a);}f[M(-0x8b,-0x61)]=f['insetInlineEnd']=f['left']=f[M(-0xb9,-0x9c)]='';e[M(-0x5e,-0x7c)](M(-0xb7,-0x94));return _sce['createElement']({'className':M(-0x8f,-0x86),'style':{'width':d[M(-0x70,-0x88)]+'px','height':d[M(-0x67,-0x67)]+'px'},'children':[e]});},'internalListeners':{'beforeDragStart':L(-0x284,-0x29b),'dragStart':'onDragStart','drag':L(-0x244,-0x22d),'drop':'onDrop','abort':'onAbort','reset':'onReset','thisObj':a}});function L(a,b){return _scI(a-0xba,b);}a['dropIndicator']=_sce[L(-0x27b,-0x28c)]({'className':L(-0x235,-0x261),'retainElement':!![]});}static get[_scI(-0x338,-0x359)](){function N(a,b){return _scI(b-0x425,a);}return{'after':[N(0xf3,0xe5)]};}[_scI(-0x340,-0x34e)]({firstPaint:a}){function O(a,b){return _scI(b-0x3c6,a);}if(a){this[O(0xa7,0x85)]();}}[_scI(-0x315,-0x313)](a){function P(a,b){return _scI(a-0x508,b);}var b;const c=a===null||a===void 0x0||(b=a[P(0x1d9,0x1c7)])===null||b===void 0x0?void 0x0:b[P(0x206,0x22e)];return c?this[P(0x1c5,0x19b)][P(0x1d5,0x1e2)][P(0x1e1,0x1e0)](c):null;}[_scI(-0x33e,-0x34b)]({context:a,event:b}){const c=this,{client:d}=c,e=c[Q(-0x2a2,-0x28f)](a[Q(-0x2c1,-0x2ac)]);function Q(a,b){return _scI(a-0x73,b);}if(!e||d['readOnly']||e['readOnly']){return![];}a[Q(-0x2a5,-0x2aa)]=e;return d[Q(-0x291,-0x27a)](Q(-0x293,-0x27f),{'context':a,'event':b});}[_scI(-0x314,-0x2fb)]({context:a,event:b}){const c=this,{client:d}=c,e=d['timeAxisColumn'][R(-0x323,-0x33a)][R(-0x332,-0x340)];e[R(-0x32f,-0x328)](c[R(-0x308,-0x32d)]);d['addCls'](R(-0x2ee,-0x2f4));function R(a,b){return _scI(a-0x2,b);}a['element'][R(-0x31f,-0x327)][R(-0x31b,-0x2ef)](R(-0x337,-0x364));d['trigger']('resourceColumnDragStart',{'context':a,'event':b});}[_scI(-0x2fe,-0x2d0)]({context:a,event:b}){const c=this,{client:d}=c,{resource:e}=a,{resourceStore:f}=d,g=d[S(0x153,0x153)]['header'][S(0x155,0x149)],h=_scf[S(0x15c,0x146)](g),j=b[S(0x147,0x153)],k=d[S(0x153,0x134)][S(0x192,0x182)]['x'],l=f[S(0x170,0x19d)],m=f['isGrouped'],n=d[S(0x19d,0x176)];let o=null,p=-0x1,q=0x0,r=!![],s=null,t=-0x1,u=0x0;function S(a,b){return _scI(a-0x489,b);}for(let v=0x0;v<l['length'];v++){const w=l[v];if(w['isSpecialRow']){continue;}if(w===e){t=u;}const x=w[S(0x167,0x175)](d),y=x[S(0x17b,0x181)],z=d[S(0x177,0x18e)](w);let A,B,C;if(n){B=h[S(0x14f,0x14e)]-y+k;A=B-z;C=A+z/0x2;}else{A=h[S(0x191,0x19c)]+y-k;B=A+z;C=A+z/0x2;}if(m&&j>=A&&j<B){s=f[S(0x179,0x14f)](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[S(0x173,0x177)]-0x1;E>=0x0;E--){const F=l[E];if(!F[S(0x181,0x16b)]){const G=F['instanceMeta'](d);q=G['insetStart']+d[S(0x177,0x153)](F);if(m&&!s){s=f[S(0x179,0x16a)](F);}break;}}}if(p===t||p===t+0x1){r=![];}c[S(0x17f,0x168)][S(0x145,0x150)][S(0x18a,0x17c)]=q-0x1+'px';a[S(0x15e,0x142)]=o;a[S(0x182,0x1a3)]=p;a['targetGroup']=s;a[S(0x143,0x116)]=r;d[S(0x185,0x186)](S(0x161,0x18d),{'context':a,'event':b});c[S(0x17f,0x197)][S(0x145,0x13d)]['display']=a[S(0x143,0x126)]?'':S(0x19b,0x1b3);}async[_scI(-0x2f9,-0x2e1)]({context:a,event:b}){const {client:c}=this;function T(a,b){return _scI(a-0x15c,b);}if(a[T(-0x1ea,-0x20b)]){a[T(-0x1e9,-0x1ff)]=!![];if(await c[T(-0x1a8,-0x186)]('resourceColumnBeforeDropFinalize',{'context':a,'event':b})===![]){a[T(-0x1ea,-0x1c5)]=![];}if(a['valid']){await this[T(-0x191,-0x163)](a);}else{a[T(-0x195,-0x180)](![]);}}c[T(-0x1a8,-0x192)](T(-0x1cd,-0x1e7),{'context':a,'event':b});}async['finalizeReorder'](a){const {client:b}=this,{resourceStore:c}=b,{resource:d,insertBefore:e,targetGroup:f}=a;a[U(0x245,0x21e)](!![]);if(c[U(0x22d,0x20b)]&&f){const g=c[U(0x23b,0x21c)][0x0][U(0x208,0x1fb)],h=f['meta']['groupRowFor'];if(d[g]!==h){d[g]=h;}}function U(a,b){return _scI(a-0x536,b);}c['move'](d,e);}[_scI(-0x30b,-0x30c)]({context:a,event:b}){function V(a,b){return _scI(a-0x3c5,b);}this[V(0x82,0xa9)][V(0xc1,0xaf)](V(0xb8,0xbd),{'context':a,'event':b});}['onReset'](){var a;function W(a,b){return _scI(b-0x565,a);}this['client'][W(0x214,0x22e)](W(0x25b,0x275));(a=this[W(0x26a,0x26f)])===null||a===void 0x0||(a=a['context'])===null||a===void 0x0||(a=a[W(0x258,0x231)])===null||a===void 0x0||a['classList']['remove'](W(0x258,0x22c));if(this['dropIndicator']){this[W(0x248,0x25b)][W(0x219,0x221)]['display']='none';}}}ResourceColumnReorder['featureClass']='';function _sca(){const X=['removeAttribute','allRecords','resource','inset','length','getResourceFromElement','onDragStart','registerFeature','getResourceWidth','new','getGroupHeaderForRecord','4214476FxXJYy','insetStart','resourceColumnDragAbort','construct','onAbort','dropIndicator','isGrouped','isSpecialRow','targetIndex','resourceColumnBeforeDragStart','offsetHeight','trigger','1801305xoSabU','resourceId','184624iJKPEF','timeAxisColumn','insetInlineStart','onDrag','resourceColumnReorder','cloneNode','groupers','9HsmITo','onDrop','left','scrollable','dragHelper','scrollManager','isVertical','targetSelector','$name','finalize','b-resource-column-reordering','b-resource-column-drop-indicator','none','finalizeReorder','rtl','605414FllEVN','valid','async','style','client','clientX','init','onInternalPaint','1706672dtMXJT','onBeforeDragStart','horizontal','destroy','warn','right','b-drag-source','pluginConfig','removeCls','timeAxisSubGrid','createElement','element','resourceStore','data-resource-id','appendChild','remove','dataset','field','from','6YwtRMl','insertBefore','ResourceColumnReorder\x20feature\x20only\x20works\x20in\x20vertical\x20mode','resourceColumnDrop','resourceColumnDrag','getById','offsetWidth','resourceColumns','b-resource-column-reorder-proxy','701770axWCZr','instanceMeta','classList','268152zJPCpa','once','Scheduler','add','loadStylesheet','doDestroy'];_sca=function(){return X;};return _sca();}_scg[_scI(-0x313,-0x324)](ResourceColumnReorder,![],_scI(-0x31e,-0x2ff));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function f(a,b){return _scb(a-
|
|
1
|
+
function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x6b;let f=c[d];return f;};return _scb(a,b);}(function(a,b){function f(a,b){return _scb(a-0x232,b);}const c=a();while(!![]){try{const d=parseInt(f(0x2a5,0x2a0))/0x1*(parseInt(f(0x2ac,0x2ad))/0x2)+-parseInt(f(0x2af,0x2bd))/0x3*(parseInt(f(0x2b8,0x2b9))/0x4)+parseInt(f(0x2b7,0x2bf))/0x5+parseInt(f(0x29e,0x2a7))/0x6*(parseInt(f(0x2be,0x2c5))/0x7)+parseInt(f(0x29d,0x29b))/0x8+parseInt(f(0x29f,0x293))/0x9+parseInt(f(0x2a1,0x296))/0xa*(-parseInt(f(0x2ad,0x2ab))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xccc4d));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- -0x29e,b);}export default class ResourceMenu extends _scc{static ['$name']=_scg(-0x21a,-0x222);static [_scg(-0x213,-0x20c)]={'processItems':null,'items':null,'type':_scg(-0x228,-0x22d)};static get[_scg(-0x22c,-0x231)](){const a=super[h(-0x8e,-0x7e)];a[h(-0x78,-0x72)][h(-0x69,-0x6f)](h(-0x86,-0x82));function h(a,b){return _scg(b-0x1ae,a);}return a;}[_scg(-0x227,-0x21a)](a){const b=super[i(0x390,0x384)](a),c=b[i(0x399,0x399)]=a[i(0x395,0x38c)]['closest'](i(0x3a3,0x39f)),d=c===null||c===void 0x0?void 0x0:c[i(0x38d,0x395)]['resourceId'];function i(a,b){return _scg(a-0x5b7,b);}if(d){b[i(0x3a1,0x39a)]=this[i(0x38a,0x37a)]['resourceStore'][i(0x398,0x3a3)](d);return b;}}[_scg(-0x230,-0x242)]({items:a,resourceRecord:b}){function j(a,b){return _scg(b-0x63b,a);}const {client:c}=this;if(!c['readOnly']){a[j(0x424,0x420)]={'text':j(0x422,0x415),'localeClass':this,'icon':j(0x430,0x426),'cls':j(0x406,0x416),'weight':0x64,'disabled':b[j(0x41c,0x40d)],'onItem':()=>c[j(0x42c,0x42a)][j(0x40f,0x420)](b)};}}get[_scg(-0x229,-0x235)](){return!![];}}ResourceMenu['featureClass']='';function _sca(){const k=['1170525mWaNzV','2710092onvIKQ','registerFeature','resourceRecord','b-fw-icon\x20b-icon-trash','.b-resource-header-cell','configurable','49TtlJpN','resourceStore','6856744XgmWHq','123198OGKoeD','8539335pUgNSL','populateResourceMenu','820TVIUDe','readOnly','client','pluginConfig','2RRtjXN','dataset','showMenu','resource','getDataFromEvent','L{CellMenu.removeRow}','b-separator','1217036Gsikdp','252802ZLZEJx','target','3IPwPsf','after','getById','cellElement','push','Scheduler','remove','ResourceMenu'];_sca=function(){return k;};return _sca();}_scd[_scg(-0x217,-0x215)](ResourceMenu,![],[_scg(-0x21c,-0x22c)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){
|
|
1
|
+
(function(a,b){function j(a,b){return _scb(b-0x18d,a);}const c=a();while(!![]){try{const d=-parseInt(j(0x32c,0x311))/0x1*(-parseInt(j(0x2ff,0x308))/0x2)+-parseInt(j(0x31e,0x310))/0x3*(-parseInt(j(0x2ef,0x30a))/0x4)+parseInt(j(0x34e,0x333))/0x5+parseInt(j(0x31f,0x312))/0x6+-parseInt(j(0x317,0x325))/0x7*(parseInt(j(0x34a,0x332))/0x8)+-parseInt(j(0x31e,0x318))/0x9+-parseInt(j(0x309,0x31c))/0xa*(parseInt(j(0x31e,0x30c))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x75c6a));import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x175;let f=c[d];return f;};return _scb(a,b);}import _scd from'./base/ResourceTimeRangesBase.js';import _sce from'../data/ResourceTimeRangeStore.js';import _scf from'@bryntum/core-thin/lib/helper/StringHelper.js';export default class ResourceTimeRanges extends _scd{static [_sck(0x335,0x321)]=_sck(0x319,0x30e);static ['configurable']={'rangeCls':_sck(0x327,0x33c),'enableMouseEvents':![],'tabIndex':0x0,'entityName':'resourceTimeRange'};static get[_sck(0x320,0x320)](){const a=super[l(-0x192,-0x196)];function l(a,b){return _sck(b- -0x4b6,a);}return{...a,'assign':[l(-0x1a7,-0x1ae),l(-0x194,-0x1a2)]};}['attachToProject'](a){const b=this,{client:c}=b;function m(a,b){return _sck(a- -0x21,b);}super[m(0x309,0x308)](a);if(!a[m(0x2f4,0x2f5)]){a[m(0x2f4,0x2f4)]=c[m(0x2f4,0x2fc)]||new _sce({'owner':b});const {crudManager:e}=c;if(e&&!e[m(0x2f4,0x2d9)]){e['resourceTimeRangeStore']=a[m(0x2f4,0x30b)];}}const d=a[m(0x2f4,0x2f6)];if(!b[m(0x304,0x2ed)]){if(c[m(0x2fb,0x2e8)]){d['add'](c['resourceTimeRanges']);delete c[m(0x2fb,0x2f4)];}Object[m(0x2ee,0x2f6)](c,'resourceTimeRanges',{'get':()=>d[m(0x30c,0x2fe)],'set':f=>d[m(0x311,0x2fe)]=f});b[m(0x304,0x30d)]=!![];}if(!d[m(0x2ec,0x2e1)]){d[m(0x2ec,0x2e6)]=a[m(0x2ec,0x2f7)];}b[m(0x310,0x312)](m(0x2fc,0x316));d[m(0x31d,0x321)]({'name':'store','change':b[m(0x30b,0x2fb)],'refresh':b['onStoreChange'],'thisObj':b});}['attachToResourceTimeRangeStore'](a){function n(a,b){return _sck(a- -0x216,b);}this[n(0x114,0x10f)](this['project']);this['client']['refresh']();}get[_sck(0x31d,0x306)](){function o(a,b){return _sck(b-0x141,a);}return this[o(0x476,0x460)][o(0x471,0x456)];}[_sck(0x32e,0x31b)](a,b){if(!this[p(0x18e,0x196)]){var c;const {timeRanges:d}=a[p(0x1bc,0x1ad)],{startDate:e,endDate:f,visibleDateRange:g}=this[p(0x1bb,0x1c4)];(c=this[p(0x1a2,0x194)]['lazyLoad'])===null||c===void 0x0||c['bufferedLazyLoad']({'startDate':e,'endDate':f,'resourceRecord':a,'visibleStart':g[p(0x18f,0x17f)],'visibleEnd':g[p(0x1b9,0x1cc)]});if(d!==null&&d!==void 0x0&&d[p(0x196,0x1a8)]){d[p(0x1b5,0x1b2)](h=>{function q(a,b){return p(b- -0x130,a);}if(h['isRecurring']){for(const i of h['getOccurrencesForDateRange'](e,f)){if(this[q(0x62,0x7d)](i)){b[q(0x6b,0x78)](i);}}}else if(this[q(0x71,0x7d)](h)){b[q(0x88,0x78)](h);}});}}function p(a,b){return _sck(a- -0x17b,b);}return b;}[_sck(0x333,0x320)](a){function r(a,b){return _sck(a-0x3c,b);}return a[r(0x34f,0x34c)]&&!a['isNonWorking']&&!a[r(0x36b,0x386)];}[_sck(0x329,0x343)](a,b,...c){const {client:d}=this,{eventContent:e}=b;function s(a,b){return _sck(a- -0x480,b);}if(d[s(-0x175,-0x190)]){const f=d['resourceTimeRangeRenderer']({'resourceTimeRangeRecord':a,'resourceRecord':b['resourceRecord'],'renderData':b});if(Array[s(-0x165,-0x176)](f)){e[s(-0x15a,-0x14a)]=f;}else if(_scf[s(-0x166,-0x171)](f)){e[s(-0x15a,-0x16a)]=null;e[s(-0x145,-0x12d)]=f;}else if(typeof f==='string'||typeof f===s(-0x143,-0x140)){e[s(-0x15a,-0x162)]=[f];}else if(f!=null){e[s(-0x144,-0x13f)]=f;}}else{super['renderContent'](a,b,...c);}}['doDestroy'](){var a;if(((a=this[t(-0x13f,-0x157)])===null||a===void 0x0?void 0x0:a['owner'])===this){this[t(-0x156,-0x157)][t(-0x122,-0x13a)]();}function t(a,b){return _sck(b- -0x474,a);}super['doDestroy']();}}function _sca(){const u=['forEach','detachListeners','data','shouldInclude','endDate','$name','client','$original','106064lkZBAn','1514250GjZQrk','destroy','html','text','object','ion','resolveResourceTimeRangeRecord','disabled','startDate','resourceTimeRangeRenderer','Scheduler','resourceStore','128162xOfJvZ','defineProperty','2336152TcxxVV','length','472813SYlbjG','isResourceTimeRange','getElementFromResourceTimeRangeRecord','resourceTimeRangeStore','3qRmqfD','12AixmiG','5189472rlPWpf','ResourceTimeRanges','isHtml','isArray','resourceTimeRanges','store','7165467oLPCdj','project','pluginConfig','registerFeature','70gECmWl','push','featureClass','exposedOnScheduler','children','b-sch-resource-time-range','isRangeVisible','renderContent','attachToProject','497iimzoV','onStoreChange','records','getEventsToRender','isCalendarHighlightModel'];_sca=function(){return u;};return _sca();}ResourceTimeRanges[_sck(0x324,0x332)]='';function _sck(a,b){return _scb(a-0x193,b);}_scc[_sck(0x321,0x336)](ResourceTimeRanges,![],_sck(0x30c,0x304));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(a,b){function f(a,b){return _scb(b-0x34d,a);}var c=a();while(!![]){try{var d=-parseInt(f(0x42a,0x420))/0x1*(parseInt(f(0x427,0x425))/0x2)+parseInt(f(0x42c,0x422))/0x3*(parseInt(f(0x425,0x423))/0x4)+parseInt(f(0x434,0x42c))/0x5+parseInt(f(0x41b,0x41c))/0x6+parseInt(f(0x41c,0x419))/0x7+-parseInt(f(0x434,0x42a))/0x8*(-parseInt(f(0x416,0x41b))/0x9)+parseInt(f(0x41c,0x421))/0xa*(-parseInt(f(0x423,0x428))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x90e66));import _scc from'@bryntum/grid-thin/lib/feature/RowReorder.js';function _sca(){var k=['client','9014454sWGSow','4028142TssaJG','onDragStart','onAbort','onDrop','365MsQhqG','25370DhrZQE','860226IvtLdR','8DeItdA','RowReorder','4726dbaxqe','transactionalFeaturesEnabled','registerFeature','10615PKyLCO','rejectFeatureTransaction','8mELVvN','Scheduler','4098310VjqVvt','5866707TmaiCE'];_sca=function(){return k;};return _sca();}import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'./mixin/TransactionalFeature.js';export default class RowReorder extends _sce(_scc){static ['$name']=_scg(0x82,0x7b);[_scg(0x6b,0x74)](...a){super[h(-0x1db,-0x1e3)](...a);function h(a,b){return _scg(b,a- -0x24f);}if(this[h(-0x1de,-0x1dc)][h(-0x1d2,-0x1dc)]){return this['startFeatureTransaction']();}}[_scg(0x7a,0x76)](...a){function i(a,b){return _scg(b,a-0xab);}this[i(0x12b,0x122)]();return super[i(0x121,0x118)](...a);}[_scg(0x75,0x75)](...a){function j(a,b){return _scg(b,a- -0x1fd);}this[j(-0x17d,-0x184)]();return super['onAbort'](...a);}}function _scb(a,b){var c=_sca();_scb=function(d,e){d=d-0xcc;var f=c[d];return f;};return _scb(a,b);}_scd[_scg(0x75,0x7e)](RowReorder,![],_scg(0x78,0x82));function _scg(a,b){return _scb(b- -0x5c,a);}_scd['registerFeature'](RowReorder,!![],'Gantt');
|
package/lib/feature/RowResize.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x78;let f=c[d];return f;};return _scb(a,b);}(function(a,b){function h(a,b){return _scb(a-0x238,b);}const c=a();while(!![]){try{const d=parseInt(h(0x2d2,0x2cc))/0x1*(-parseInt(h(0x2e1,0x2cf))/0x2)+parseInt(h(0x2d7,0x2d7))/0x3*(-parseInt(h(0x2e2,0x2db))/0x4)+parseInt(h(0x2b4,0x2a1))/0x5+-parseInt(h(0x2ca,0x2c7))/0x6+-parseInt(h(0x2de,0x2c5))/0x7+parseInt(h(0x2cd,0x2d3))/0x8*(-parseInt(h(0x2b5,0x2ae))/0x9)+parseInt(h(0x2cc,0x2b1))/0xa*(parseInt(h(0x2d4,0x2c2))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x9a1f3));function _sci(a,b){return _scb(b-0x235,a);}import _scc from'@bryntum/grid-thin/lib/feature/RowResize.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _sca(){const o=['getEventLayout','client','originalRecordResourceMargin','applyToAllRows','disabled','element','onResizing','originalBarMargin','onCancel','call','store','resumeAnimations','2120478VcYflK','onResizeStart','18670PPGDuo','21800owblbc','onBeforeResizeStart','beginBatch','resumeAutoSync','suspendAutoSync','3pUKWCu','elementHeight','14564BeIIqt','getBarMargin','features','18264iseuXa','_oldDragCreateDisabled','end','eventLayout','hasResourceCollapseColumn','oldEventLayout','record','378049iAixvw','originalResourceMarginObject','resourceMargin','356134FxNIqN','656wdrdWi','isSchedulerBase','RowResize','isTimelineBase','suspendAnimations','eventDragCreate','$name','endBatch','5170515XyfiGP','3087JwUSvD','rowHeight','valid','barMargin','crudManager','dataset','registerFeature','getById','start'];_sca=function(){return o;};return _sca();}export default class RowResize extends _scc{static [_sci(0x294,0x2af)]=_sci(0x2da,0x2e1);[_sci(0x2be,0x2cb)](a){const b=this[j(-0x177,-0x163)][j(-0x174,-0x15a)][j(-0x16e,-0x166)](a[j(-0x167,-0x15f)][j(-0x16c,-0x168)]['id']);function j(a,b){return _sci(a,b- -0x41f);}if(this[j(-0x17d,-0x163)][j(-0x13d,-0x147)]&&(b===null||b===void 0x0?void 0x0:b[j(-0x130,-0x148)])==='none'){return![];}return super[j(-0x16b,-0x154)](a);}[_sci(0x2e1,0x2c8)]({context:a}){super['onResizeStart'](...arguments);function k(a,b){return _sci(b,a- -0x451);}const {client:b}=this,{record:c}=a;if(b[k(-0x16f,-0x162)]){var d,e;b[k(-0x1a4,-0x1b3)]();(d=b[k(-0x19b,-0x1b0)])===null||d===void 0x0||(e=d[k(-0x183,-0x193)])===null||e===void 0x0||e[k(-0x18d,-0x184)](d);if(b[k(-0x17e,-0x192)][k(-0x1a3,-0x1a8)]){this[k(-0x17c,-0x192)]=b['features'][k(-0x1a3,-0x1a6)]['disabled'];b[k(-0x17e,-0x194)]['eventDragCreate']['disabled']=!![];}}if(b[k(-0x171,-0x15e)]){var f;if(((f=b[k(-0x196,-0x193)])===null||f===void 0x0?void 0x0:f[k(-0x18d,-0x176)](b,c)['type'])==='stack'){a[k(-0x178,-0x173)]=c[k(-0x17a,-0x15f)];c['eventLayout']='pack';c[k(-0x19e,-0x18e)]=a[k(-0x181,-0x169)];}a['originalBarMargin']=b[k(-0x17f,-0x168)](c);a[k(-0x175,-0x169)]=b['getResourceMarginObject'](c);a[k(-0x194,-0x19c)]=c[k(-0x174,-0x169)];}}['onResizing']({context:a}){const {record:b,newHeight:c,elementHeight:d,originalBarMargin:e,originalResourceMarginObject:f}=a;super[l(-0x1e7,-0x1f7)](...arguments);function l(a,b){return _sci(b,a- -0x4a8);}if(this[l(-0x1ec,-0x1d3)][l(-0x1c6,-0x1cc)]&&!this[l(-0x1ea,-0x1d3)]&&!this[l(-0x1ec,-0x1e1)]['fixedRowHeight']&&a[l(-0x1f4,-0x207)]){b[l(-0x1dc,-0x1cf)]();b[l(-0x1f5,-0x1e5)]=c;if(c<d){const g=c/d;b['barMargin']=e*g;if(f['start']===f[l(-0x1d2,-0x1c8)]){b['resourceMargin']=f[l(-0x1ee,-0x1f7)]*g;}}b[l(-0x1f8,-0x1fc)]();}}['onCancel']({context:a}){function m(a,b){return _sci(b,a- -0x516);}a[m(-0x23c,-0x255)][m(-0x23f,-0x257)]=a[m(-0x23d,-0x233)];a[m(-0x23c,-0x23c)]['resourceMargin']=a[m(-0x259,-0x24b)];a[m(-0x23c,-0x23c)][m(-0x261,-0x262)]=a[m(-0x254,-0x26f)];super[m(-0x253,-0x261)](...arguments);}['cleanup'](){function n(a,b){return _sci(a,b- -0x257);}const {client:a}=this;if(a[n(0x90,0x8b)]){var b,c;a[n(0x88,0x6f)]();(b=a[n(0x67,0x5f)])===null||b===void 0x0||(c=b[n(0x88,0x76)])===null||c===void 0x0||c[n(0x6f,0x6d)](b);if(a['features'][n(0x49,0x57)]){a[n(0x8a,0x7c)][n(0x6a,0x57)][n(0x70,0x68)]=this[n(0x82,0x7e)];}}super['cleanup']();}}_scd[_sci(0x2ce,0x2b8)](RowResize,![]);
|
|
@@ -5,18 +5,23 @@
|
|
|
5
5
|
--b-active-tick-cell-focused-outline-color : var(--b-grid-cell-focused-outline-color);
|
|
6
6
|
--b-active-tick-cell-focused-outline-offset : -2px;
|
|
7
7
|
--b-active-tick-cell-focused-outline-width : var(--b-grid-cell-focused-outline-width);
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Schedule context tick z-index
|
|
11
|
+
*/
|
|
12
|
+
--b-schedule-context-tick-z-index : 7;
|
|
8
13
|
}
|
|
9
14
|
|
|
10
15
|
.b-schedule-selected-tick {
|
|
11
16
|
position : absolute;
|
|
12
17
|
justify-content : center;
|
|
13
18
|
overflow : hidden;
|
|
14
|
-
z-index :
|
|
19
|
+
z-index : var(--b-schedule-context-tick-z-index);
|
|
15
20
|
|
|
16
21
|
/* Surface any contained widgets */
|
|
17
22
|
&.b-widget, .b-contains-widget {
|
|
18
|
-
z-index : 7;
|
|
19
23
|
box-shadow : none;
|
|
24
|
+
z-index : var(--b-schedule-context-tick-z-index);
|
|
20
25
|
}
|
|
21
26
|
|
|
22
27
|
&:not(.b-widget, .b-contains-widget) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function z(a,b){return _scb(b- -0x88,a);}while(!![]){try{const d=-parseInt(z(-0x20,0x29))/0x1*(parseInt(z(0x92,0x88))/0x2)+parseInt(z(0x89,0x57))/0x3*(parseInt(z(0xd7,0x9a))/0x4)+-parseInt(z(0x76,0x19))/0x5+-parseInt(z(0x6e,0x7f))/0x6+-parseInt(z(0x51,0x64))/0x7+parseInt(z(0x102,0xb0))/0x8*(-parseInt(z(0x7b,0x9f))/0x9)+parseInt(z(0x1c,0x45))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x3a62e));function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x99;let f=c[d];return f;};return _scb(a,b);}import _scc from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';function _sca(){const au=['currentOrientation','shareWithEvent','_fromFocusCell','scheduleContextTrigger','keyMapStopCellNavigation','featureClass','clear','querySelector','updateCellNavigatingEnabled','enabled','top','2302205qbKhKu','activateOnEvent','startNavigationOnColumnFocus','$name','multiSelect','onTimelineContextChange','rowManager','client','callback','map','hasEvent','keyNavigation','onInternalPaint','classList','selectTimelineCellRange','_element','626SdYttA','timeAxisColumn','getCellBox','startDate','changeTriggerEvent','updateClient','keyMapExtendSelectionLeft','slice','isResourceHistogram','getTimeSpanRenderData','toggle','navigateUp','configurable','sign','offsetParent','sync','Scheduler','isVisible','hover','changeWidget','mixin','tickStartDate','shiftToAdjacentCellHorizontally','visibleDateRange','selectedContextsShow','equals','width','updateContext','14167150IlMSIF','startCellNavigation','@bryntum/scheduler-thin/lib/feature/ScheduleContext.css','floor','_focusedCell','getAt','updateSelectedCells','context','b-cells-container','canvas','changeSelectedCells','domEvent','getTime','navigateDown','index','buttons','getRowById','isCollection','152175dsXRqu','keyMapNavigateToCellUp','selectedCells','click','mergeConfigs','shiftToCell','add','createElement','selectCell','show','navigateTo','isTimelineContext','tickIndex','1808254qbwpLD','parentIndex','rtl','selectCellRange','none','startTimelineCellsNavigation','keyMapNavigateToCellRight','destroy','.b-widget','keyMapExtendSelectionDown','getCoordinateFromDate','mousedown','trigger','b-active-tick','keyMapClearSelection','mousemove','getRowFor','tick','keyMapStartCellNavigation','length','tickParentIndex','onCellNavigate','resourceRecord','extendingStartCell','timelineCell','_focusedRecord','onScheduleContextGesture','1277340lFUpTC','ion','height','features','rowBorderHeight','suspendEvents','keyMapNavigateToCellLeft','endDate','query','118fEhkRI','columnId','widget','push','pluginConfig','stopTimelineCellsNavigation','b-schedule-selected-tick','isNavigatingTimelineCells','updateKeyMap','getTimelineCellByOffset','updateActivateOnEvent','constructor','getById','changeContext','display','cellNavigatingEnabled','hide','syncContextElements','8YsyxMe','onSelectedCellsChange','store','b-schedule-context-navigation-enabled','element','108zGuwRz','_extendingSelection','keyMapNavigateToCellDown','buildTimelineCell','onRowManagerRowHeight','focusCell','parentNode','indexOf','b-contains-widget','recordId','min','setupCanvas','schedule','getTickFromDate','clearCellSelection','getEvents','eventRecord','206952mDOWMd','style','floating','construct','resumeEvents','focusedRecord','loadStylesheet','beforeContextShow','config','cursorTrackingSuspended','record','changeExtendingStartCell','setConfig','syncContextElement','owner','beforeSelectedContextsShow','ScheduleContext','scheduledEventName','canvases','remove','keyMapExtendSelectionRight','includes','timeAxisSubGridElement','max','insetInlineStart','resourceId','count','mouseover','onDataChange','splice','selectedTimelineCells','nullify','registerFeature','shiftToAdjacentCellVertically'];_sca=function(){return au;};return _sca();}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(-0x143,-0x14a)](_scA(-0x198,-0x1b9));function _scA(a,b){return _scb(b- -0x288,a);}export default class ScheduleContext extends _scd[_scA(-0x1e4,-0x1c3)](_scf){static [_scA(-0x1bf,-0x1e4)]=_scA(-0x13b,-0x140);static [_scA(-0x17b,-0x1cb)]={'triggerEvent':_scA(-0x148,-0x1a6),'renderer':null,'widget':{'$config':['lazy',_scA(-0x143,-0x131)],'value':null},'context':{'$config':{'equal'(c1,c2){function B(a,b){return _scA(a,b-0x58e);}return(c1===null||c1===void 0x0?void 0x0:c1['index'])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x411,0x3e1)])&&(c1===null||c1===void 0x0?void 0x0:c1[B(0x3bc,0x406)])===(c2===null||c2===void 0x0?void 0x0:c2['tickParentIndex'])&&!(((c1===null||c1===void 0x0?void 0x0:c1[B(0x415,0x3cc)])||0x0)-((c2===null||c2===void 0x0?void 0x0:c2[B(0x3b4,0x3cc)])||0x0))&&(c1===null||c1===void 0x0?void 0x0:c1[B(0x40c,0x43d)])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x48a,0x43d)])&&(c1===null||c1===void 0x0?void 0x0:c1['record'])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x45e,0x448)]);}}},'activateOnEvent':null,'shareWithEvent':null,'keyNavigation':![],'multiSelect':![],'startNavigationOnColumnFocus':!![],'cellNavigatingEnabled':![],'selectedCells':{},'keyMap':{'Enter':{'handler':_scA(-0x1e9,-0x18a),'preventDefault':![]},'ArrowRight':{'handler':'keyMapNavigateToCellRight','preventDefault':![]},'ArrowLeft':{'handler':_scA(-0x185,-0x17b),'preventDefault':![]},'ArrowUp':{'handler':_scA(-0x165,-0x1a8),'preventDefault':![]},'ArrowDown':{'handler':_scA(-0x112,-0x15f),'preventDefault':![]},'Shift+ArrowRight':{'handler':_scA(-0x11f,-0x13c),'preventDefault':![]},'Shift+ArrowLeft':{'handler':_scA(-0x1e0,-0x1d1),'preventDefault':![]},'Shift+ArrowUp':{'handler':'keyMapExtendSelectionUp','preventDefault':![]},'Shift+ArrowDown':{'handler':_scA(-0x15b,-0x193),'preventDefault':![]},'Escape':[{'handler':_scA(-0x247,-0x1ee),'preventDefault':![],'weight':-0xa},{'handler':_scA(-0x163,-0x18e),'preventDefault':![],'weight':-0x14}]},'canvasDOMConfig':{'retainElement':!![],'className':'b-schedule-context-canvas','children':[{'className':'b-cells-container'}]}};static get[_scA(-0x13b,-0x174)](){function C(a,b){return _scA(a,b-0x170);}return{'before':[C(-0x21,-0x6b)],'after':[C(-0x3d,-0x17)],'assign':[C(-0x82,-0x27),'stopTimelineCellsNavigation','timelineCell',C(0x2e,0x3e),C(0x34,-0x1),'buildTimelineCell','selectTimelineCellRange',C(-0x37,0x1)]};}['onDataChange'](){function D(a,b){return _scA(a,b- -0x59);}this[D(-0x20d,-0x1c0)]();}['onRowManagerRowHeight'](){function E(a,b){return _scA(a,b-0x545);}this[E(0x40a,0x3de)]();}[_scA(-0x118,-0x14d)](a,b){super[F(0xb5,0xac)](a,b);const {triggerEvent:c}=this,d={'dataChange':F(0xce,0x96),'timeAxisViewModelUpdate':'onTimeAxisViewModelUpdate','presetChange':F(0x16,-0x48),'thisObj':this};if(c==='mouseover'){d['timelineContextChange']=F(0x20,0x6b);}else{if(c===F(0x5c,0x68)||c===F(0x71,0xac)){d['schedulecontextmenu']=F(0x80,0x50);}d[F(0xad,0xa3)+c]=F(0x80,0xdb);}function F(a,b){return _scA(b,a-0x202);}a[F(0x82,0xdc)](d);a[F(0x21,0x2)][F(0x82,0x4b)]({'rowHeight':F(0xa5,0xe3),'thisObj':this});}[_scA(-0x1ed,-0x1db)]({firstPaint:a}){function G(a,b){return _scA(b,a-0x335);}if(a){this[G(0x1df,0x1c2)]();}}[_scA(-0x1a5,-0x156)](){function H(a,b){return _scA(a,b- -0xaa);}const a=this,{client:b}=a;if(!a['canvas']){a[H(-0x260,-0x25c)]=b[H(-0x1e9,-0x1e8)]['scheduleContext']=_scc[H(-0x2ab,-0x24c)](a['constructor'][H(-0x208,-0x24f)](a['canvasDOMConfig'],{'parent':b[H(-0x223,-0x1e4)]}));}}[_scA(-0x123,-0x170)](...a){function I(a,b){return _scA(a,b-0x385);}if(this[I(0x209,0x1a9)]){return super[I(0x228,0x215)](...a);}return null;}[_scA(-0x20a,-0x1d3)](a){function J(a,b){return _scA(b,a-0x562);}if(a===J(0x39d,0x3b5)||a===J(0x3d5,0x3cf)){a=J(0x42d,0x426);}return a;}[_scA(-0x1cf,-0x1c4)](a,b){function K(a,b){return _scA(a,b-0x289);}if(a){const {client:c}=this;return _scg['reconfigure'](b,_scg[K(0xd8,0xe4)](a,{'owner':c,'positioned':!![],'appendTo':this['canvas'],'hidden':!![],'showAnimation':![]}),this);}b[K(0x133,0xf4)]();}get['element'](){const a=this;function L(a,b){return _scA(b,a-0x37d);}if(!a[L(0x1a5,0x18f)]){var b;a[L(0x1a5,0x206)]=((b=a[L(0x207,0x1ec)])===null||b===void 0x0?void 0x0:b[L(0x21b,0x20d)])||_scc[L(0x1db,0x1d6)]({'parent':a[L(0x1cb,0x1e9)]});a[L(0x21b,0x1c5)][L(0x1a3,0x1c5)][L(0x1da,0x18d)](L(0x20b,0x1c1));}return a['_element'];}[_scA(-0x1d9,-0x1e2)]({context:a}){this['context']=a;}[_scA(-0x148,-0x182)](a){function M(a,b){return _scA(b,a-0x498);}const b=this,{shiftKeyDown:c}=_sch;if(b[M(0x2bc,0x2a8)]&&b[M(0x2b3,0x306)]&&!b[M(0x32f,0x31f)]){b[M(0x2de,0x2b4)](a);}else if(b['triggerEvent']==='click'&&c&&b['cellNavigatingEnabled']&&b['extendingStartCell']){b[M(0x2ff,0x2c7)](null,a);}else{b[M(0x2e4,0x2ac)]=a;}}['onTimeAxisViewModelUpdate']({source:a}){function N(a,b){return _scA(a,b-0x27e);}var b;if(a['timeAxis'][N(0x15a,0x143)]((b=this[N(0xd5,0xca)])===null||b===void 0x0?void 0x0:b[N(0xbf,0xf3)])){this[N(0xbe,0x117)]();}else{this['clear']();}}[_scA(-0x1fb,-0x1ec)](){function O(a,b){return _scA(a,b-0x475);}this[O(0x2c6,0x2c1)]=null;}[_scA(-0x170,-0x16b)](a,b){function P(a,b){return _scA(b,a-0xb4);}var c;const d=this;if(!((c=d[P(-0xc2,-0xda)])!==null&&c!==void 0x0&&c[P(-0xc5,-0xf5)](g=>g[P(-0x9a,-0x67)]&&g[P(-0x112,-0x14e)]))){var e;a=d['buildTimelineCell'](a);if(!d['shareWithEvent']&&d[P(-0x129,-0x17b)](a)){return null;}if(d[P(-0x132,-0x187)]||!((e=a)!==null&&e!==void 0x0&&e['eventElement'])){var f;if((f=a)!==null&&f!==void 0x0&&f['equals'](b)){return;}return a;}return null;}}[_scA(-0x17e,-0x1bc)](a,b){const c=this;function Q(a,b){return _scA(a,b-0x57);}if(a){if(c[Q(-0x199,-0x18c)]&&c[Q(-0xea,-0x109)]){c[Q(-0x18d,-0x142)](null,a);}else{c[Q(-0x146,-0x12e)]=a;c[Q(-0x16a,-0x14a)](a);}}else{c[Q(-0xc8,-0xfc)]();}}[_scA(-0x141,-0x16e)](a){function R(a,b){return _scA(a,b- -0xc3);}const b=this;if(a){const {triggerEvent:c,client:d}=b;b['shareWithEvent']=!![];if(c!=='mouseover'){d[R(-0x296,-0x243)]({'name':R(-0x2c1,-0x2b2),[''+d[R(-0x1cc,-0x202)]+c]:R(-0x279,-0x245),'thisObj':b});}}else{b[R(-0x207,-0x1f0)]=b[R(-0x238,-0x20b)]['shareWithEvent'];b['detachListeners']('scheduleContextTrigger');}}[_scA(-0x217,-0x1dd)](a){var b;function S(a,b){return _scA(b,a-0x4ba);}const {client:c}=this;return Boolean(a&&!c[S(0x2eb,0x302)]&&((b=c['eventStore'][S(0x368,0x31e)]({'resourceRecord':a[S(0x334,0x349)],'startDate':a['tickStartDate'],'endDate':a['tickEndDate']}))===null||b===void 0x0?void 0x0:b[S(0x331,0x324)]));}[_scA(-0x114,-0x147)]=0x0;[_scA(-0x111,-0x143)](){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[T(0x292,0x2b3)])||c['element'],{isVertical:i}=d,j=f&&(i?d[T(0x213,0x1c1)]['rows'][0x0]:d[T(0x268,0x279)](f[T(0x26e,0x2a2)]||f['record']));let k=![];if(f&&j&&c[T(0x20b,0x225)]&&!((b=f[T(0x244,0x211)])!==null&&b!==void 0x0&&b[T(0x248,0x24a)])){var l;const {dataset:n,style:o}=h,{tickStartDate:p,tickEndDate:q,resourceRecord:r,record:s}=f,t=d[T(0x2c6,0x26c)][T(0x226,0x280)]({'startDate':p,'endDate':q,'startDateMS':p[T(0x245,0x21b)](),'endDateMS':q['getTime']()},r||s);let u,v,w;if(i){u=t[T(0x20c,0x252)];v=t['resourceWidth'];w=t[T(0x275,0x265)];}else{var m;u=j[T(0x20c,0x1d0)];v=t[T(0x237,0x246)]-((m=d[T(0x276,0x2cd)]['columnLines'])!==null&&m!==void 0x0&&m['enabled']?0x1:0x0);w=j['height']-d[T(0x277,0x250)];}f[T(0x247,0x1ec)]=j[T(0x247,0x1e5)];h[T(0x21a,0x22a)]['add'](T(0x282,0x23d),T(0x265,0x241));if(r){n[T(0x2bd,0x298)]=r['id'];}if(s){n[T(0x29c,0x291)]=s['id'];}n['isActive']=!![];n[T(0x257,0x2a4)]=f['tickParentIndex'];n['tickId']=(l=f[T(0x269,0x239)])===null||l===void 0x0?void 0x0:l['id'];h[T(0x21a,0x225)][T(0x227,0x238)](T(0x29b,0x2a0),Boolean(h[T(0x209,0x1ad)](T(0x260,0x229))));const x={'width':v,'height':w,'x':t['left'],'y':u};if(d[T(0x264,0x272)](T(0x2ab,0x24e),{'context':f,'element':h,'position':x})===![]){(e===null||e===void 0x0?void 0x0:e['hide'](![]))||(o[T(0x28a,0x263)]=T(0x25c,0x1ff));return;}if(e){e[T(0x28c,0x2a0)](![]);if(!f[T(0x2a3,0x270)]){if(d['rtl']){x['x']=(h[T(0x22b,0x245)]||h[T(0x299,0x2b4)])['offsetWidth']-x['x'];}e[T(0x2b0,0x290)]({...x,'timelineContext':f});e[T(0x254,0x25b)]({'animate':![]});k=!![];}}else{o[T(0x237,0x1e0)]=x[T(0x237,0x223)]+'px';o['height']=x[T(0x275,0x2bd)]+'px';o[T(0x2bc,0x295)]=x['x']+'px';o[T(0x20c,0x256)]=x['y']+'px';h['innerHTML']='';g&&c['callback'](g,c,[f,h]);o[T(0x28a,0x2c8)]='';k=!![];}}else{(e===null||e===void 0x0?void 0x0:e['hide'](![]))||(h[T(0x2a5,0x243)][T(0x28a,0x24b)]=T(0x25c,0x254));}function T(a,b){return _scA(b,a-0x3f4);}if(k){d[T(0x264,0x224)](T(0x235,0x21a));}}[_scA(-0x216,-0x1d5)](a,b='px'){function U(a,b){return _scA(a,b- -0x15e);}const {client:c}=this,{tick:d,record:e,resourceRecord:f}=a,g=c[U(-0x334,-0x2f0)](d[U(-0x360,-0x332)],{'ignoreRTL':!![]}),h=c[U(-0x2d7,-0x2f0)](d[U(-0x32b,-0x2d8)],{'ignoreRTL':!![]}),i=h-g,j=c[U(-0x304,-0x309)](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};}}['syncContextElements'](){const {selectedCells:a,multiSelect:b,client:c,context:d,renderer:e}=this;if(!b){return this['syncContextElement']();}function V(a,b){return _scA(b,a-0x61b);}const f={'children':[{'className':V(0x468,0x48c),'children':a[V(0x43d,0x429)](g=>{function W(a,b){return V(b- -0x3a8,a);}const h=this[W(0xd6,0x9e)](g);if(h){var i;const j=g[W(0xee,0xb5)](d),k={'className':{'b-schedule-selected-tick':0x1,'b-active-tick':j},'dataset':{'isActive':j,'tickIndex':g[W(0xf2,0xeb)],'tickId':(i=g[W(0xd8,0xe8)])===null||i===void 0x0?void 0x0:i['id'],'recordId':(g[W(0x101,0x12d)]||g[W(0x94,0xed)])['id']},'style':h};e&&this[W(0xe5,0x94)](e,this,[d,k]);return k;}})}]};if(c[V(0x48b,0x43a)](V(0x4da,0x4a7),{'selectedContexts':a['values'][V(0x44b,0x3fc)](),'domConfig':f})!==![]){_scj[V(0x453,0x4a0)]({'domConfig':f,'targetElement':this[V(0x469,0x4a2)]});}c[V(0x48b,0x495)](V(0x45c,0x49d));}['updateClient'](a){function X(a,b){return _scA(b,a-0x52b);}this[X(0x3b4,0x403)]=a['timeAxisColumn']['id'];return super[X(0x359,0x37e)](...arguments);}[_scA(-0x1d0,-0x1b1)](a){function Y(a,b){return _scA(b,a-0xd5);}if(!a[Y(-0xd5,-0x74)]){a=new _sci(a);}return a;}['buildTimelineCell'](a){if(a&&!a[Z(0x2d,0x22)]){const {client:b}=this,c=a[Z(0x85,0x66)]||a[Z(0x45,0x3)];a=b['buildTimelineContext'](b[Z(0x5e,0x12)][Z(0x26,0x53)](a,{'record':c}));}function Z(a,b){return _scA(b,a-0x1cb);}return a;}[_scA(-0x10b,-0x145)](a){return this['buildTimelineCell'](a);}[_scA(-0x211,-0x1b5)](a){const b=this;function a0(a,b){return _scA(a,b-0x4c3);}if(!a[a0(0x39d,0x381)]){a['owner']=b;}b['detachListeners']('selectedCells');a[a0(0x364,0x343)]({'name':a0(0x36b,0x31c),'change':a0(0x31f,0x35e),'thisObj':b});}[_scA(-0x1bb,-0x1ea)](a){const {client:b}=this,c=b[a1(0x187,0x195)]||this['_focusedRecord'];function a1(a,b){return _scA(a,b-0x2e0);}if(a&&c){var d;this[a1(0x16f,0x141)](c,(d=this[a1(0x120,0x12c)])===null||d===void 0x0?void 0x0:d[a1(0xf3,0x155)],!![]);}b[a1(0x1d2,0x17e)]['classList'][a1(0xd3,0x113)](a1(0x140,0x17d),a);}[_scA(-0x15c,-0x16f)](a=0x0,b=0x0,c=null){function a2(a,b){return _scA(b,a-0x1ed);}const {context:d,client:e}=this;if(this[a2(0x7c,0x87)]&&(a||b)&&d){const {tick:f,record:g}=d;let h,i;if(a){h=e['timeAxis'][a2(0x37,-0x6)](f[a2(0x52,0x58)]+a);}if(b){i=e['store'][a2(0x37,0x1c)](e[a2(0x89,0x81)][a2(0x93,0xab)](g)+b);}if(h||i){return new e['timelineContextClass']({'scheduler':e,'tick':h||f,'record':i||g,'domEvent':c});}}}[_scA(-0x17d,-0x12f)](a,b){if(this[a3(0x175,0x171)]){a=Math[a3(0xf9,0x118)](a);const c=this[a3(0x14e,0x13e)](0x0,a,b);if(c!==null&&c!==void 0x0&&c[a3(0x1b3,0x19c)]){if(a>0x0){this[a3(0x119,0x102)][a3(0x190,0x134)]();}else{this[a3(0x143,0x102)][a3(0xd1,0x116)]();}}return!![];}function a3(a,b){return _scA(a,b-0x2e2);}return![];}[_scA(-0x1d5,-0x1c1)](a,b){if(this['isNavigatingTimelineCells']){a=Math['sign'](a);const c=this[a4(0x3a6,0x3e6)](a,0x0,b);return Boolean(c===null||c===void 0x0?void 0x0:c[a4(0x400,0x3ff)]);}function a4(a,b){return _scA(a,b-0x58a);}return![];}[_scA(-0x1f3,-0x1a8)](a){if(this[a5(0x219,0x261)]){this[a5(0x22a,0x26f)]=![];return this['shiftToAdjacentCellVertically'](-0x1,a);}function a5(a,b){return _scA(b,a-0x38a);}return![];}['keyMapNavigateToCellDown'](a){function a6(a,b){return _scA(b,a- -0x141);}if(this[a6(-0x2b2,-0x28c)]){this[a6(-0x2a1,-0x2f5)]=![];return this['shiftToAdjacentCellVertically'](0x1,a);}return![];}[_scA(-0x15a,-0x17b)](a){if(this[a7(0x69,0x87)]){this[a7(0xc3,0x98)]=![];return this['shiftToAdjacentCellHorizontally'](this['client']['rtl']?0x1:-0x1,a);}function a7(a,b){return _scA(a,b-0x1f8);}return![];}[_scA(-0x179,-0x196)](a){function a8(a,b){return _scA(a,b-0x417);}if(this[a8(0x268,0x2a6)]){this[a8(0x305,0x2b7)]=![];return this[a8(0x268,0x256)](this[a8(0x236,0x237)][a8(0x23c,0x27d)]?-0x1:0x1,a);}return![];}['keyMapExtendSelectionUp'](a){const b=this;if(b[a9(0x4d9,0x4d7)]&&b[a9(0x46c,0x465)]){b[a9(0x529,0x4e8)]=!![];const c=b[a9(0x4ce,0x519)](-0x1,a);b[a9(0x4ca,0x4e8)]=![];return c;}function a9(a,b){return _scA(a,b-0x648);}return![];}['keyMapExtendSelectionDown'](a){const b=this;function aa(a,b){return _scA(b,a- -0x148);}if(b[aa(-0x2b9,-0x296)]&&b['multiSelect']){b['_extendingSelection']=!![];const c=b[aa(-0x277,-0x2d2)](0x1,a);b['_extendingSelection']=![];return c;}return![];}[_scA(-0x1ec,-0x1d1)](a){const b=this;if(b[ab(0x4ed,0x510)]&&b[ab(0x47b,0x47e)]){b[ab(0x4fe,0x4e7)]=!![];const c=b[ab(0x49d,0x44f)](this['client'][ab(0x4c4,0x4e2)]?0x1:-0x1,a);b[ab(0x4fe,0x4fc)]=![];return c;}function ab(a,b){return _scA(b,a-0x65e);}return![];}[_scA(-0x158,-0x13c)](a){const b=this;function ac(a,b){return _scA(b,a-0x66);}if(b[ac(-0x10b,-0xc3)]&&b[ac(-0x17d,-0x12e)]){b[ac(-0xfa,-0xdc)]=!![];const c=b[ac(-0x15b,-0x104)](this[ac(-0x17a,-0x143)][ac(-0x134,-0x129)]?-0x1:0x1,a);b[ac(-0xfa,-0xfa)]=![];return c;}return![];}['keyMapStartCellNavigation'](){function ad(a,b){return _scA(b,a-0x3f4);}return this[ad(0x23a,0x1fb)]()===!![];}['keyMapStopCellNavigation'](){function ae(a,b){return _scA(b,a-0x2cd);}return this[ae(0x15a,0x16d)]()===!![];}[_scA(-0x1d3,-0x18e)](){function af(a,b){return _scA(a,b-0x5d2);}if(this[af(0x4c0,0x461)]&&this[af(0x418,0x42b)][af(0x449,0x49c)]>0x1){this[af(0x469,0x472)]=![];this['clearCellSelection']();return!![];}return![];}[_scA(-0x1b5,-0x165)](){function ag(a,b){return _scA(a,b-0x249);}this[ag(0xb4,0xe2)]();}[_scA(-0x177,-0x187)](a,b,c){function ah(a,b){return _scA(a,b-0x438);}const d=this,{columnId:e}=d,{record:f}=c;if(a[ah(0x317,0x30c)]&&(b===null||b===void 0x0?void 0x0:b[ah(0x2ce,0x2c1)])!==e&&c[ah(0x2f9,0x2c1)]===e&&f&&(d[ah(0x2c2,0x2cf)]||d['keyNavigation']&&d['startNavigationOnColumnFocus'])){var g;d[ah(0x279,0x2b5)]=f;d[ah(0x270,0x299)](f,(g=d[ah(0x29e,0x284)])===null||g===void 0x0?void 0x0:g['tick'],!![]);d[ah(0x2af,0x2d8)]=![];d[ah(0x29a,0x2cf)]=!![];}else if((b===null||b===void 0x0?void 0x0:b[ah(0x30d,0x2c1)])===e&&c[ah(0x2de,0x2c1)]!==e&&d['cellNavigatingEnabled']){d[ah(0x310,0x2c5)]();}}['adjustTickToVisibleRange'](a){const {client:b}=this,{startDate:c,endDate:d}=b[ai(0x3df,0x3d9)];if(!a||a[ai(0x452,0x41f)]<=c||a['startDate']>=d){const {timeAxis:e}=b,f=Math[ai(0x396,0x3e1)](e[ai(0x4a5,0x445)](c));a=e[ai(0x414,0x3e3)](f);}function ai(a,b){return _scA(a,b-0x599);}return a;}[_scA(-0x215,-0x1ba)](a){var b;function aj(a,b){return _scA(a,b-0x29d);}if(((b=this['client']['_focusedCell'])===null||b===void 0x0?void 0x0:b[aj(0x136,0x126)])===this[aj(0x10b,0x126)]){return this[aj(0xde,0x106)](a);}}[_scA(-0x1b6,-0x19f)](a,b,c=![]){let d;const {context:e}=this;function ak(a,b){return _scA(b,a-0x4eb);}if(a['isTimelineContext']){d=a;b=a[ak(0x360,0x389)];}else if(c){b=this['adjustTickToVisibleRange'](b);}if((e===null||e===void 0x0?void 0x0:e[ak(0x3a5,0x36a)])!==a||(e===null||e===void 0x0?void 0x0:e[ak(0x360,0x3b6)])!==b){this['context']=d||{'record':a,'tick':b};}}['shiftToCell'](a=0x0,b=0x0,c=null){function al(a,b){return _scA(b,a-0x644);}const d=this[al(0x4d5,0x4af)](a,b,c);if(d){this[al(0x4a5,0x44c)](d);return d;}}['clearCellSelection'](){const {selectedCells:a,context:b}=this;a['suspendEvents'](!![]);function am(a,b){return _scA(b,a-0x3d3);}a[am(0x2a0,0x24d)](0x0,a[am(0x29d,0x2f5)],b?[b]:[]);a[am(0x287,0x24e)]();}[_scA(-0x175,-0x199)](a,b){a=a||this[an(0x17,0x36)];function an(a,b){return _scA(a,b-0x1bb);}const {selectedCells:c}=this,{store:d,timeAxis:e,resourceStore:f,isVertical:g}=this[an(-0x65,-0x25)],h=g?f:d,k=a[an(0x3f,0x33)],l=b[an(0x30,0x33)],m=a['record']||a['resourceRecord'],n=b[an(0x63,0x75)]||b[an(0x43,0x35)],o=h[an(0x39,0x61)](m),p=h[an(0x52,0x61)](n),q=[],r=Math[an(0x1d,0x64)](k,l),s=Math[an(0x54,0x82)](k,l),t=Math[an(0x3a,0x64)](o,p),u=Math['max'](o,p);c[an(0xa,0x3f)](!![]);for(let v=r;v<=s;v++){const w=e['getAt'](v);for(let x=t;x<=u;x++){const y=h[an(-0x36,0x5)](x);q[an(0x6c,0x46)](this[an(0xa3,0x5d)]({'record':y,'tick':w}));}}c[an(0xd2,0x88)](0x0,c[an(0xde,0x85)],q);c[an(0xbb,0x6f)]();}['selectCell'](a){this['selectCellRange'](a,a);}['deselectCell'](a){const {record:b,tick:c}=a;function ao(a,b){return _scA(b,a-0x51d);}if(a[ao(0x3d7,0x399)]){const {selectedCells:d}=this;d[ao(0x3e0,0x400)](d['get'](b['id']+':'+c['id']));}}get['timelineCell'](){return this['context'];}set[_scA(-0x1ab,-0x184)](a){this['context']=a;}get['selectedTimelineCells'](){function ap(a,b){return _scA(b,a-0x2c8);}return this[ap(0x121,0x167)];}set[_scA(-0x122,-0x132)](a){this['selectedCells']=a;}get[_scA(-0x1bb,-0x171)](){function aq(a,b){return _scA(b,a-0x25);}var a;return this[aq(-0x144,-0x141)]&&((a=this[aq(-0x1bb,-0x205)][aq(-0x192,-0x13b)])===null||a===void 0x0?void 0x0:a[aq(-0x152,-0x12a)])===this[aq(-0x152,-0x14b)];}['startTimelineCellsNavigation'](a){function ar(a,b){return _scA(b,a-0x6c);}const {client:b,columnId:c,_focusedRecord:d}=this;if(!this[ar(-0xfd,-0xbc)]){var e;const {_focusedCell:g}=b;if((g===null||g===void 0x0?void 0x0:g[ar(-0x10b,-0x13e)])!==c){var f;const h=(g===null||g===void 0x0?void 0x0:g[ar(-0xda,-0xfd)])||d||b[ar(-0xf8,-0xef)][ar(-0x100,-0x13a)]((f=b['firstVisibleRow'])===null||f===void 0x0?void 0x0:f['id']);b[ar(-0xf0,-0xad)]({'grid':b,'column':b[ar(-0x16a,-0x190)],'record':h});}if(((e=b[ar(-0x14b,-0xec)])===null||e===void 0x0?void 0x0:e[ar(-0x10b,-0xf6)])===c){if(a){this[ar(-0x148,-0x19b)]=a;}this[ar(-0xfd,-0x108)]=!![];return!![];}}}[_scA(-0x16e,-0x173)](){function as(a,b){return _scA(b,a- -0x2b);}if(this[as(-0x194,-0x167)]){this[as(-0x18b,-0x1bb)]=![];this[as(-0x194,-0x1cc)]=![];return!![];}}[_scA(-0x203,-0x1d9)](...a){function at(a,b){return _scA(a,b-0x2cb);}return this[at(0x180,0x132)](...a);}}ScheduleContext[_scA(-0x231,-0x1ed)]='b-scheduler-context';_sce[_scA(-0x105,-0x130)](ScheduleContext,![],[_scA(-0x1ab,-0x1c7),'ResourceHistogram']);
|
|
1
|
+
function _sca(){const av=['configurable','min','b-cells-container','mousedown','floating','ion','changeSelectedCells','_extendingSelection','querySelector','display','client','shiftToAdjacentCellHorizontally','rtl','getTime','shiftToAdjacentCellVertically','mousemove','index','startTimelineCellsNavigation','clear','destroy','schedulecontextmenu','createElement','selectTimelineCellRange','826884mIZILv','length','163790dVFgIv','splice','offsetParent','eventRecord','keyMapExtendSelectionRight','hover','firstVisibleRow','sync','getAt','startCellNavigation','resourceId','add','327PQtknH','navigateTo','max','style','recordId','pluginConfig','reconfigure','mergeConfigs','tickId','startDate','indexOf','getCoordinateFromDate','ScheduleContext','timeAxis','stopTimelineCellsNavigation','count','owner','featureClass','top','getById','isCollection','12rTIAMb','rowManager','get','focusedRecord','tickStartDate','enabled','keyMapExtendSelectionDown','cellNavigatingEnabled','updateClient','keyMapNavigateToCellUp','navigateUp','setupCanvas','columnLines','triggerEvent','schedule','changeContext','resourceRecord','tick','adjustTickToVisibleRange','keyNavigation','onScheduleContextGesture','getTickFromDate','columnId','widget','timeAxisColumn','@bryntum/scheduler-thin/lib/feature/ScheduleContext.css','focusCell','timelineContextChange','updateSelectedCells','2594400AIOXRE','equals','detachListeners','nullify','_fromFocusCell','hasEvent','canvas','canvases','13386ZMySJs','onTimelineContextChange','tickEndDate','keyMapExtendSelectionLeft','onTimeAxisViewModelUpdate','36756bAhQfW','store','changeWidget','shiftToCell','rowBorderHeight','deselectCell','updateActivateOnEvent','keyMapExtendSelectionUp','selectedTimelineCells','eventElement','classList','lazy','mixin','tickParentIndex','mouseover','shareWithEvent','innerHTML','timelineContextClass','onDataChange','522xUiWQr','extendingStartCell','features','getCellBox','getRowById','_focusedRecord','clearCellSelection','keyMapClearSelection','parentIndex','includes','setConfig','_focusedCell','getRowFor','21598jIkbiL','onCellNavigate','keyMapNavigateToCellLeft','element','onInternalPaint','b-scheduler-context','sign','multiSelect','33uFPllT','buildTimelineCell','onSelectedCellsChange','left','isNavigatingTimelineCells','keyMapStartCellNavigation','scheduledEventName','parentNode','getTimelineCellByOffset','callback','offsetWidth','currentOrientation','suspendEvents','b-schedule-selected-tick','context','record','selectedCells','none','floor','cursorTrackingSuspended','_element','scheduleContextTrigger','selectCell','beforeSelectedContextsShow','updateCellNavigatingEnabled','timelineCell','startNavigationOnColumnFocus','224dBPFCx','width','trigger','resumeEvents','changeExtendingStartCell','isTimelineContext','keyMapNavigateToCellDown','keyMapStopCellNavigation','selectCellRange','getTimeSpanRenderData','click','scheduleContext','ResourceHistogram','buttons','constructor','remove','onRowManagerRowHeight','b-schedule-context-canvas','syncContextElements','show','syncContextElement','activateOnEvent','push','keyMapNavigateToCellRight','config','visibleDateRange','height','loadStylesheet','insetInlineStart','slice','5900272YbFMHQ','timeAxisSubGridElement','hide','buildTimelineContext','navigateDown','b-active-tick','beforeContextShow','toggle','updateKeyMap'];_sca=function(){return av;};return _sca();}(function(a,b){const c=a();function z(a,b){return _scb(b-0x2fd,a);}while(!![]){try{const d=-parseInt(z(0x51c,0x526))/0x1*(parseInt(z(0x552,0x570))/0x2)+parseInt(z(0x4fa,0x511))/0x3*(parseInt(z(0x5ab,0x550))/0x4)+parseInt(z(0x57f,0x543))/0x5+-parseInt(z(0x594,0x54b))/0x6*(parseInt(z(0x583,0x593))/0x7)+parseInt(z(0x515,0x4e3))/0x8+-parseInt(z(0x592,0x563))/0x9*(parseInt(z(0x521,0x505))/0xa)+parseInt(z(0x5cb,0x578))/0xb*(-parseInt(z(0x54d,0x503))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xdbcec));import _scc from'@bryntum/core-thin/lib/helper/DomHelper.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x1e6;let f=c[d];return f;};return _scb(a,b);}import _scd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _sce from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _scA(a,b){return _scb(a-0x169,b);}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(0x41a,0x3ed)](_scA(0x3ab,0x3f9));export default class ScheduleContext extends _scd[_scA(0x3c8,0x36c)](_scf){static ['$name']=_scA(0x389,0x343);static [_scA(0x358,0x3af)]={'triggerEvent':_scA(0x409,0x3b6),'renderer':null,'widget':{'$config':[_scA(0x3c7,0x37d),_scA(0x3b2,0x3b6)],'value':null},'context':{'$config':{'equal'(c1,c2){function B(a,b){return _scA(a- -0x2d2,b);}return(c1===null||c1===void 0x0?void 0x0:c1[B(0x96,0xa2)])===(c2===null||c2===void 0x0?void 0x0:c2['index'])&&(c1===null||c1===void 0x0?void 0x0:c1[B(0xf7,0x109)])===(c2===null||c2===void 0x0?void 0x0:c2[B(0xf7,0x11c)])&&!(((c1===null||c1===void 0x0?void 0x0:c1[B(0xc4,0x110)])||0x0)-((c2===null||c2===void 0x0?void 0x0:c2[B(0xc4,0xb8)])||0x0))&&(c1===null||c1===void 0x0?void 0x0:c1['eventRecord'])===(c2===null||c2===void 0x0?void 0x0:c2['eventRecord'])&&(c1===null||c1===void 0x0?void 0x0:c1['record'])===(c2===null||c2===void 0x0?void 0x0:c2[B(0x121,0xc7)]);}}},'activateOnEvent':null,'shareWithEvent':null,'keyNavigation':![],'multiSelect':![],'startNavigationOnColumnFocus':!![],'cellNavigatingEnabled':![],'selectedCells':{},'keyMap':{'Enter':{'handler':_scA(0x3e9,0x3e4),'preventDefault':![]},'ArrowRight':{'handler':_scA(0x416,0x3be),'preventDefault':![]},'ArrowLeft':{'handler':_scA(0x3de,0x43d),'preventDefault':![]},'ArrowUp':{'handler':_scA(0x39b,0x3d8),'preventDefault':![]},'ArrowDown':{'handler':_scA(0x405,0x418),'preventDefault':![]},'Shift+ArrowRight':{'handler':'keyMapExtendSelectionRight','preventDefault':![]},'Shift+ArrowLeft':{'handler':_scA(0x3ba,0x3e5),'preventDefault':![]},'Shift+ArrowUp':{'handler':_scA(0x3c3,0x37e),'preventDefault':![]},'Shift+ArrowDown':{'handler':_scA(0x398,0x356),'preventDefault':![]},'Escape':[{'handler':_scA(0x406,0x445),'preventDefault':![],'weight':-0xa},{'handler':_scA(0x3d6,0x3a6),'preventDefault':![],'weight':-0x14}]},'canvasDOMConfig':{'retainElement':!![],'className':_scA(0x410,0x3e4),'children':[{'className':_scA(0x35a,0x318)}]}};static get[_scA(0x382,0x383)](){function C(a,b){return _scA(a-0x279,b);}return{'before':[C(0x659,0x668)],'after':[C(0x656,0x66f)],'assign':['startTimelineCellsNavigation','stopTimelineCellsNavigation',C(0x676,0x675),C(0x63d,0x613),C(0x661,0x620),C(0x65e,0x636),C(0x5e7,0x647),C(0x665,0x619)]};}[_scA(0x3ce,0x384)](){this['syncContextElements']();}[_scA(0x40f,0x3d1)](){function D(a,b){return _scA(b- -0x4be,a);}this[D(-0xa6,-0xad)]();}['construct'](a,b){super['construct'](a,b);const {triggerEvent:c}=this,d={'dataChange':E(0x30f,0x33d),'timeAxisViewModelUpdate':'onTimeAxisViewModelUpdate','presetChange':'clear','thisObj':this};if(c===E(0x38f,0x339)){d[E(0x357,0x31c)]='onTimelineContextChange';}else{if(c==='click'||c===E(0x286,0x2ca)){d[E(0x33c,0x2db)]=E(0x312,0x315);}d[E(0x353,0x30f)+c]=E(0x313,0x315);}function E(a,b){return _scA(b- -0x91,a);}a[E(0x29e,0x2cc)](d);a[E(0x2aa,0x302)][E(0x2c6,0x2cc)]({'rowHeight':E(0x34a,0x37e),'thisObj':this});}[_scA(0x3e0,0x40f)]({firstPaint:a}){function F(a,b){return _scA(b-0x30,a);}if(a){this[F(0x427,0x3cd)]();}}['setupCanvas'](){const a=this,{client:b}=a;function G(a,b){return _scA(a-0x90,b);}if(!a[G(0x445,0x3f4)]){a[G(0x445,0x460)]=b[G(0x446,0x437)][G(0x49a,0x4b3)]=_scc[G(0x3fd,0x443)](a[G(0x49d,0x45c)]['mergeConfigs'](a['canvasDOMConfig'],{'parent':b[G(0x3e0,0x3d6)]}));}}[_scA(0x357,0x300)](...a){function H(a,b){return _scA(b-0xed,a);}if(this[H(0x464,0x492)]){return super[H(0x3ff,0x444)](...a);}return null;}['changeTriggerEvent'](a){function I(a,b){return _scA(a-0x130,b);}if(a===I(0x4a6,0x492)||a===I(0x497,0x449)){a='mouseover';}return a;}[_scA(0x3be,0x3bb)](a,b){if(a){const {client:c}=this;return _scg[J(0x56a,0x560)](b,_scg[J(0x56b,0x509)](a,{'owner':c,'positioned':!![],'appendTo':this[J(0x59c,0x556)],'hidden':!![],'showAnimation':![]}),this);}function J(a,b){return _scA(a-0x1e7,b);}b[J(0x552,0x501)]();}get[_scA(0x3df,0x406)](){const a=this;function K(a,b){return _scA(b-0x1a9,a);}if(!a['_element']){var b;a[K(0x563,0x5a1)]=((b=a[K(0x5ae,0x552)])===null||b===void 0x0?void 0x0:b[K(0x5a0,0x588)])||_scc[K(0x4cd,0x516)]({'parent':a['canvas']});a[K(0x5c9,0x588)][K(0x57c,0x56f)]['add'](K(0x569,0x59a));}return a['_element'];}[_scA(0x3b8,0x3bf)]({context:a}){function L(a,b){return _scA(b- -0x509,a);}this[L(-0x155,-0x117)]=a;}[_scA(0x3a6,0x3a4)](a){function M(a,b){return _scA(b- -0x2ef,a);}const b=this,{shiftKeyDown:c}=_sch;if(b[M(0xf3,0xb6)]&&b[M(0xbf,0x10f)]&&!b[M(0x6b,0xaa)]){b[M(0x52,0x8b)](a);}else if(b[M(0xa1,0xb0)]===M(0xb8,0x11a)&&c&&b[M(0x62,0xaa)]&&b[M(0x104,0xe1)]){b['selectCellRange'](null,a);}else{b[M(0xf0,0x103)]=a;}}[_scA(0x3bb,0x37e)]({source:a}){function N(a,b){return _scA(a-0x231,b);}var b;if(a[N(0x5bb,0x570)][N(0x609,0x5d8)]((b=this[N(0x623,0x5da)])===null||b===void 0x0?void 0x0:b[N(0x5d4,0x5bc)])){this[N(0x642,0x610)]();}else{this['clear']();}}[_scA(0x36a,0x374)](){function O(a,b){return _scA(a- -0x458,b);}this[O(-0x66,-0xa2)]=null;}[_scA(0x3a1,0x3c4)](a,b){function P(a,b){return _scA(b- -0x400,a);}var c;const d=this;if(!((c=d[P(-0x64,-0x57)])!==null&&c!==void 0x0&&c['query'](g=>g[P(-0xed,-0xa4)]&&g['isVisible']))){var e;a=d[P(0x27,-0x1b)](a);if(!d[P(0x19,-0x35)]&&d['hasEvent'](a)){return null;}if(d[P(0x20,0x14)]||!((e=a)!==null&&e!==void 0x0&&e[P(-0x4a,-0x3b)])){var f;if((f=a)!==null&&f!==void 0x0&&f[P(-0x10,-0x50)](b)){return;}return a;}return null;}}['updateContext'](a,b){function Q(a,b){return _scA(a- -0x59,b);}const c=this;if(a){if(c[Q(0x38a,0x3df)]&&c[Q(0x306,0x359)]){c[Q(0x3ae,0x399)](null,a);}else{c[Q(0x377,0x37e)]=a;c[Q(0x3a1,0x3d8)](a);}}else{c[Q(0x37c,0x3ac)]();}}[_scA(0x3c2,0x37b)](a){const b=this;function R(a,b){return _scA(a- -0x4cc,b);}if(a){const {triggerEvent:c,client:d}=b;b['shareWithEvent']=!![];if(c!=='mouseover'){d[R(-0x16f,-0x115)]({'name':'scheduleContextTrigger',[''+d[R(-0xe2,-0xf6)]+c]:R(-0x126,-0x140),'thisObj':b});}}else{b[R(-0x101,-0x11a)]=b[R(-0xb5,-0x52)][R(-0x101,-0x152)];b[R(-0x11b,-0x103)](R(-0xd3,-0xa4));}}[_scA(0x3b4,0x3c4)](a){var b;function S(a,b){return _scA(b-0xa0,a);}const {client:c}=this;return Boolean(a&&!c['isResourceHistogram']&&((b=c['eventStore']['getEvents']({'resourceRecord':a[S(0x43d,0x442)],'startDate':a[S(0x46f,0x436)],'endDate':a[S(0x449,0x459)]}))===null||b===void 0x0?void 0x0:b[S(0x441,0x410)]));}[_scA(0x3f7,0x40e)]=0x0;['syncContextElement'](){function T(a,b){return _scA(b-0x261,a);}var a,b;const c=this,{client:d,widget:e,context:f,renderer:g}=c,h=((a=c[T(0x615,0x60a)])===null||a===void 0x0?void 0x0:a[T(0x68d,0x640)])||c[T(0x66e,0x640)],{isVertical:i}=d,j=f&&(i?d[T(0x5f7,0x5f4)]['rows'][0x0]:d[T(0x5ef,0x63c)](f[T(0x5c4,0x603)]||f[T(0x603,0x654)]));let k=![];if(f&&j&&c[T(0x62e,0x5f8)]&&!((b=f['domEvent'])!==null&&b!==void 0x0&&b[T(0x6a8,0x66d)])){var l;const {dataset:n,style:o}=h,{tickStartDate:p,tickEndDate:q,resourceRecord:r,record:s}=f,t=d[T(0x6a1,0x650)][T(0x608,0x669)]({'startDate':p,'endDate':q,'startDateMS':p[T(0x5a6,0x5c6)](),'endDateMS':q[T(0x561,0x5c6)]()},r||s);let u,v,w;if(i){u=t['top'];v=t['resourceWidth'];w=t['height'];}else{var m;u=j[T(0x5a2,0x5f0)];v=t[T(0x664,0x661)]-((m=d[T(0x655,0x632)][T(0x65b,0x5ff)])!==null&&m!==void 0x0&&m[T(0x5aa,0x5f8)]?0x1:0x0);w=j[T(0x6d4,0x67a)]-d[T(0x673,0x621)];}f[T(0x5d4,0x5c9)]=j['index'];h[T(0x5f7,0x627)][T(0x59b,0x5dd)](T(0x5f1,0x652),T(0x571,0x5b5));if(r){n[T(0x590,0x5dc)]=r['id'];}if(s){n[T(0x646,0x5e2)]=s['id'];}n['isActive']=!![];n['tickIndex']=f[T(0x5e6,0x62a)];n[T(0x62c,0x5e6)]=(l=f[T(0x5fb,0x604)])===null||l===void 0x0?void 0x0:l['id'];h[T(0x657,0x627)]['toggle']('b-contains-widget',Boolean(h[T(0x57b,0x5c1)]('.b-widget')));const x={'width':v,'height':w,'x':t[T(0x5e4,0x648)],'y':u};if(d[T(0x618,0x662)](T(0x566,0x5b6),{'context':f,'element':h,'position':x})===![]){(e===null||e===void 0x0?void 0x0:e[T(0x5e8,0x5b2)](![]))||(o['display']='none');return;}if(e){e['hide'](![]);if(!f[T(0x5f6,0x5d5)]){if(d[T(0x5cb,0x5c5)]){x['x']=(h[T(0x5b2,0x5d4)]||h[T(0x68f,0x64c)])[T(0x67a,0x64f)]-x['x'];}e[T(0x641,0x63a)]({...x,'timelineContext':f});e[T(0x62b,0x673)]({'animate':![]});k=!![];}}else{o[T(0x649,0x661)]=x['width']+'px';o[T(0x686,0x67a)]=x[T(0x6ae,0x67a)]+'px';o[T(0x6bf,0x67c)]=x['x']+'px';o['top']=x['y']+'px';h[T(0x66f,0x62d)]='';g&&c[T(0x609,0x64e)](g,c,[f,h]);o[T(0x623,0x5c2)]='';k=!![];}}else{(e===null||e===void 0x0?void 0x0:e[T(0x5d6,0x5b2)](![]))||(h[T(0x5fc,0x5e1)][T(0x600,0x5c2)]=T(0x657,0x656));}if(k){d['trigger']('selectedContextsShow');}}[_scA(0x3d2,0x388)](a,b='px'){function U(a,b){return _scA(a- -0x16f,b);}const {client:c}=this,{tick:d,record:e,resourceRecord:f}=a,g=c[U(0x219,0x1e8)](d['startDate'],{'ignoreRTL':!![]}),h=c['getCoordinateFromDate'](d['endDate'],{'ignoreRTL':!![]}),i=h-g,j=c[U(0x264,0x22c)](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(0x411,0x402)](){const {selectedCells:a,multiSelect:b,client:c,context:d,renderer:e}=this;if(!b){return this[V(0x254,0x245)]();}function V(a,b){return _scA(b- -0x1ce,a);}const f={'children':[{'className':'b-cells-container','children':a['map'](g=>{function W(a,b){return V(b,a- -0xaa);}const h=this[W(0x15a,0x14c)](g);if(h){var i;const j=g['equals'](d),k={'className':{'b-schedule-selected-tick':0x1,'b-active-tick':j},'dataset':{'isActive':j,'tickIndex':g[W(0x151,0x14e)],'tickId':(i=g[W(0x12b,0x188)])===null||i===void 0x0?void 0x0:i['id'],'recordId':(g['record']||g[W(0x12a,0xd0)])['id']},'style':h};e&&this['callback'](e,this,[d,k]);return k;}})}]};if(c[V(0x265,0x233)](V(0x1e6,0x22d),{'selectedContexts':a['values'][V(0x1f4,0x24e)](),'domConfig':f})!==![]){_scj[V(0x1c1,0x1aa)]({'domConfig':f,'targetElement':this[V(0x1e0,0x1e7)]});}c[V(0x291,0x233)]('selectedContextsShow');}[_scA(0x39a,0x3b4)](a){this[X(0x4f8,0x523)]=a['timeAxisColumn']['id'];function X(a,b){return _scA(a-0x150,b);}return super['updateClient'](...arguments);}[_scA(0x35e,0x35a)](a){if(!a[Y(-0xd3,-0xc6)]){a=new _sci(a);}function Y(a,b){return _scA(a- -0x464,b);}return a;}[_scA(0x3e5,0x3ca)](a){if(a&&!a[Z(0x45f,0x456)]){const {client:b}=this,c=a[Z(0x3df,0x445)]||a['resourceRecord'];a=b[Z(0x400,0x3a4)](b[Z(0x449,0x45f)][Z(0x3e0,0x3d6)](a,{'record':c}));}function Z(a,b){return _scA(b-0x52,a);}return a;}[_scA(0x403,0x405)](a){function a0(a,b){return _scA(b- -0xc4,a);}return this[a0(0x2df,0x321)](a);}[_scA(0x3ae,0x409)](a){const b=this;function a1(a,b){return _scA(b- -0x492,a);}if(!a[a1(-0x109,-0x105)]){a['owner']=b;}b[a1(-0xcd,-0xe1)](a1(-0x74,-0x9e));a[a1(-0x106,-0x135)]({'name':a1(-0xc8,-0x9e),'change':'onSelectedCellsChange','thisObj':b});}[_scA(0x3fc,0x3a9)](a){function a2(a,b){return _scA(b- -0x390,a);}const {client:b}=this,c=b[a2(-0x1c,0x5)]||this[a2(0x65,0x44)];if(a&&c){var d;this[a2(-0x4a,-0x12)](c,(d=this[a2(0x62,0x62)])===null||d===void 0x0?void 0x0:d['tick'],!![]);}b[a2(0x5c,0x4f)][a2(0x3c,0x36)][a2(-0x25,-0x3a)]('b-schedule-context-navigation-enabled',a);}['getTimelineCellByOffset'](a=0x0,b=0x0,c=null){const {context:d,client:e}=this;function a3(a,b){return _scA(a- -0x46e,b);}if(this['isNavigatingTimelineCells']&&(a||b)&&d){const {tick:f,record:g}=d;let h,i;if(a){h=e['timeAxis'][a3(-0xf5,-0x12e)](f[a3(-0x97,-0x41)]+a);}if(b){i=e['store'][a3(-0xf5,-0x10f)](e[a3(-0xb1,-0x6d)][a3(-0xe7,-0x117)](g)+b);}if(h||i){return new e[(a3(-0xa1,-0x79))]({'scheduler':e,'tick':h||f,'record':i||g,'domEvent':c});}}}['shiftToAdjacentCellVertically'](a,b){function a4(a,b){return _scA(b- -0x200,a);}if(this[a4(0x1ea,0x1e8)]){a=Math[a4(0x196,0x1e2)](a);const c=this['shiftToCell'](0x0,a,b);if(c!==null&&c!==void 0x0&&c[a4(0x1e9,0x1f3)]){if(a>0x0){this[a4(0x16e,0x162)][a4(0x176,0x153)]();}else{this[a4(0x193,0x162)][a4(0x198,0x19c)]();}}return!![];}return![];}[_scA(0x363,0x390)](a,b){function a5(a,b){return _scA(b- -0x59,a);}if(this[a5(0x391,0x38f)]){a=Math[a5(0x339,0x389)](a);const c=this[a5(0x390,0x366)](a,0x0,b);return Boolean(c===null||c===void 0x0?void 0x0:c[a5(0x3a0,0x34a)]);}return![];}[_scA(0x39b,0x351)](a){function a6(a,b){return _scA(a- -0x1fe,b);}if(this[a6(0x1ea,0x1a4)]){this['_extendingSelection']=![];return this['shiftToAdjacentCellVertically'](-0x1,a);}return![];}['keyMapNavigateToCellDown'](a){function a7(a,b){return _scA(b- -0x514,a);}if(this[a7(-0xe2,-0x12c)]){this['_extendingSelection']=![];return this[a7(-0x1b5,-0x1ae)](0x1,a);}return![];}[_scA(0x3de,0x3d6)](a){if(this[a8(0xfd,0xff)]){this[a8(0x74,0xd6)]=![];return this['shiftToAdjacentCellHorizontally'](this[a8(0x77,0x33)]['rtl']?0x1:-0x1,a);}function a8(a,b){return _scA(a- -0x2eb,b);}return![];}[_scA(0x416,0x436)](a){if(this[a9(0x3a8,0x385)]){this[a9(0x31f,0x382)]=![];return this[a9(0x323,0x2ff)](this[a9(0x322,0x2d3)][a9(0x324,0x2d8)]?-0x1:0x1,a);}function a9(a,b){return _scA(a- -0x40,b);}return![];}[_scA(0x3c3,0x427)](a){const b=this;function aa(a,b){return _scA(b-0x1a8,a);}if(b[aa(0x591,0x590)]&&b[aa(0x585,0x58b)]){b[aa(0x50d,0x507)]=!![];const c=b['shiftToAdjacentCellVertically'](-0x1,a);b[aa(0x4d4,0x507)]=![];return c;}return![];}[_scA(0x398,0x354)](a){const b=this;function ab(a,b){return _scA(a-0x240,b);}if(b['isNavigatingTimelineCells']&&b[ab(0x623,0x67a)]){b[ab(0x59f,0x556)]=!![];const c=b[ab(0x5a6,0x5a6)](0x1,a);b['_extendingSelection']=![];return c;}return![];}[_scA(0x3ba,0x355)](a){const b=this;if(b[ac(0x194,0x132)]&&b['multiSelect']){b[ac(0x9f,0xa9)]=!![];const c=b['shiftToAdjacentCellHorizontally'](this['client'][ac(0x102,0xae)]?0x1:-0x1,a);b['_extendingSelection']=![];return c;}function ac(a,b){return _scA(b- -0x2b6,a);}return![];}[_scA(0x375,0x383)](a){const b=this;if(b[ad(0x20,0x86)]&&b['multiSelect']){b['_extendingSelection']=!![];const c=b[ad(0x27,0x1)](this['client'][ad(0x57,0x2)]?-0x1:0x1,a);b[ad(-0x4c,-0x3)]=![];return c;}function ad(a,b){return _scA(b- -0x362,a);}return![];}[_scA(0x3e9,0x394)](){function ae(a,b){return _scA(b- -0x51,a);}return this[ae(0x320,0x329)]()===!![];}[_scA(0x406,0x421)](){return this['stopTimelineCellsNavigation']()===!![];}[_scA(0x3d6,0x3a4)](){function af(a,b){return _scA(b- -0x515,a);}if(this[af(-0x15b,-0x12d)]&&this[af(-0x12b,-0x121)][af(-0x1d8,-0x189)]>0x1){this[af(-0x162,-0x1b6)]=![];this[af(-0x121,-0x140)]();return!![];}return![];}[_scA(0x3e6,0x42b)](){function ag(a,b){return _scA(a- -0x31d,b);}this[ag(0xf4,0x14d)]();}['onCellNavigate'](a,b,c){function ah(a,b){return _scA(b- -0x43e,a);}const d=this,{columnId:e}=d,{record:f}=c;if(a[ah(-0x57,-0x8b)]&&(b===null||b===void 0x0?void 0x0:b[ah(-0x98,-0x96)])!==e&&c[ah(-0x67,-0x96)]===e&&f&&(d[ah(-0x72,-0xa5)]||d[ah(-0x81,-0x99)]&&d[ah(-0x6a,-0x40)])){var g;d[ah(-0xb0,-0x6a)]=f;d[ah(-0xc8,-0xc0)](f,(g=d['context'])===null||g===void 0x0?void 0x0:g[ah(-0xc4,-0x9b)],!![]);d[ah(-0x13f,-0xdf)]=![];d[ah(-0x4b,-0xa5)]=!![];}else if((b===null||b===void 0x0?void 0x0:b[ah(-0x4a,-0x96)])===e&&c['columnId']!==e&&d[ah(-0x97,-0xa5)]){d['stopTimelineCellsNavigation']();}}['adjustTickToVisibleRange'](a){function ai(a,b){return _scA(a-0xb2,b);}const {client:b}=this,{startDate:c,endDate:d}=b[ai(0x4ca,0x480)];if(!a||a['endDate']<=c||a[ai(0x438,0x432)]>=d){const {timeAxis:e}=b,f=Math[ai(0x4a8,0x4b8)](e[ai(0x459,0x462)](c));a=e['getAt'](f);}return a;}[_scA(0x37a,0x356)](a){var b;function aj(a,b){return _scA(b- -0x10b,a);}if(((b=this[aj(0x2a9,0x257)][aj(0x32f,0x2cf)])===null||b===void 0x0?void 0x0:b[aj(0x2c5,0x29d)])===this[aj(0x2c7,0x29d)]){return this['startTimelineCellsNavigation'](a);}}[_scA(0x37e,0x3d1)](a,b,c=![]){let d;function ak(a,b){return _scA(a- -0x4d7,b);}const {context:e}=this;if(a[ak(-0xd3,-0x81)]){d=a;b=a[ak(-0x134,-0xe5)];}else if(c){b=this[ak(-0x133,-0xd0)](b);}if((e===null||e===void 0x0?void 0x0:e[ak(-0xe4,-0x12e)])!==a||(e===null||e===void 0x0?void 0x0:e[ak(-0x134,-0x18b)])!==b){this[ak(-0xe5,-0x80)]=d||{'record':a,'tick':b};}}[_scA(0x3bf,0x386)](a=0x0,b=0x0,c=null){function al(a,b){return _scA(b- -0x4f0,a);}const d=this[al(-0x13c,-0x104)](a,b,c);if(d){this[al(-0x152,-0x172)](d);return d;}}[_scA(0x3d5,0x404)](){const {selectedCells:a,context:b}=this;a[am(0x442,0x408)](!![]);a[am(0x3c4,0x406)](0x0,a['count'],b?[b]:[]);function am(a,b){return _scA(a-0x52,b);}a[am(0x454,0x455)]();}[_scA(0x407,0x3b6)](a,b){function an(a,b){return _scA(b- -0x1f,a);}a=a||this[an(0x387,0x3b1)];const {selectedCells:c}=this,{store:d,timeAxis:e,resourceStore:f,isVertical:g}=this[an(0x370,0x343)],h=g?f:d,k=a[an(0x3c4,0x3aa)],l=b[an(0x35c,0x3aa)],m=a[an(0x38b,0x3d4)]||a[an(0x3bc,0x383)],n=b[an(0x3c9,0x3d4)]||b[an(0x379,0x383)],o=h['indexOf'](m),p=h[an(0x33e,0x368)](n),q=[],r=Math[an(0x380,0x33a)](k,l),s=Math[an(0x31f,0x360)](k,l),t=Math[an(0x368,0x33a)](o,p),u=Math[an(0x329,0x360)](o,p);c[an(0x39f,0x3d1)](!![]);for(let v=r;v<=s;v++){const w=e['getAt'](v);for(let x=t;x<=u;x++){const y=h['getAt'](x);q[an(0x444,0x3f6)](this[an(0x402,0x3c6)]({'record':y,'tick':w}));}}c[an(0x365,0x353)](0x0,c['count'],q);c[an(0x3f9,0x3e3)]();}['selectCell'](a){this['selectCellRange'](a,a);}[_scA(0x3c1,0x3c4)](a){function ao(a,b){return _scA(a- -0x3e5,b);}const {record:b,tick:c}=a;if(a[ao(0xe,-0x2f)]){const {selectedCells:d}=this;d[ao(0x29,0x2b)](d[ao(-0x51,0xa)](b['id']+':'+c['id']));}}get[_scA(0x3fd,0x3b0)](){function ap(a,b){return _scA(b-0x84,a);}return this[ap(0x461,0x476)];}set[_scA(0x3fd,0x435)](a){this['context']=a;}get[_scA(0x3c4,0x3ee)](){function aq(a,b){return _scA(b-0x173,a);}return this[aq(0x56f,0x567)];}set[_scA(0x3c4,0x3db)](a){function ar(a,b){return _scA(a-0x225,b);}this[ar(0x619,0x638)]=a;}get[_scA(0x3e8,0x445)](){function as(a,b){return _scA(a-0x180,b);}var a;return this[as(0x519,0x542)]&&((a=this[as(0x4e2,0x53e)]['_focusedCell'])===null||a===void 0x0?void 0x0:a[as(0x528,0x50b)])===this[as(0x528,0x53c)];}[_scA(0x369,0x3c5)](a){function at(a,b){return _scA(b- -0x133,a);}const {client:b,columnId:c,_focusedRecord:d}=this;if(!this['cellNavigatingEnabled']){var e;const {_focusedCell:g}=b;if((g===null||g===void 0x0?void 0x0:g['columnId'])!==c){var f;const h=(g===null||g===void 0x0?void 0x0:g[at(0x277,0x2c0)])||d||b['store'][at(0x29f,0x25d)]((f=b[at(0x217,0x244)])===null||f===void 0x0?void 0x0:f['id']);b[at(0x2a6,0x279)]({'grid':b,'column':b[at(0x250,0x277)],'record':h});}if(((e=b[at(0x30c,0x2a7)])===null||e===void 0x0?void 0x0:e[at(0x22c,0x275)])===c){if(a){this[at(0x2de,0x2bf)]=a;}this['cellNavigatingEnabled']=!![];return!![];}}}[_scA(0x38b,0x357)](){function au(a,b){return _scA(b-0x179,a);}if(this[au(0x4f8,0x512)]){this[au(0x4c5,0x4d8)]=![];this[au(0x4e0,0x512)]=![];return!![];}}[_scA(0x36e,0x3a8)](...a){return this['selectCellRange'](...a);}}ScheduleContext[_scA(0x38e,0x350)]=_scA(0x3e1,0x388);_sce['registerFeature'](ScheduleContext,![],['Scheduler',_scA(0x40b,0x3bf)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _sca(){const p=['27NAhWaS','pluginConfig','timeAxisSubGridElement','resourceStore','createEvent','getDateFromDomEvent','after','configurable','resolveResourceRecord','13415292WgGzpd','isDOMEvent','26812QBKSlZ','closest','eventStore','347810orTPfi','readOnly','4235672LecPvu','getDataFromEvent','389442SJgjJb','.b-vertical-time-axis-cell','assign','addEvent','370EVmITP','1813278IJkCGQ','isVertical','schedule','target','11608mNSNwk','featureClass','contains','59GVqaXX','last','isWorkingTime','call','7yqxFdB','getRowFor','eventSelector','$name','disableAddEvent','populateScheduleMenu','b-icon\x20b-icon-add','getCellDataFromEvent','registerFeature'];_sca=function(){return p;};return _sca();}(function(a,b){function h(a,b){return _scb(b- -0x22f,a);}const c=a();while(!![]){try{const d=parseInt(h(-0xe7,-0xe8))/0x1*(-parseInt(h(-0xdc,-0xeb))/0x2)+-parseInt(h(-0xb8,-0xc4))/0x3+parseInt(h(-0xd2,-0xd0))/0x4*(-parseInt(h(-0xda,-0xc5))/0x5)+parseInt(h(-0xbf,-0xc9))/0x6*(-parseInt(h(-0xd2,-0xe4))/0x7)+parseInt(h(-0xb8,-0xcb))/0x8+parseInt(h(-0xdc,-0xdb))/0x9*(parseInt(h(-0xda,-0xcd))/0xa)+parseInt(h(-0xe7,-0xd2))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x545ef));function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x142;let f=c[d];return f;};return _scb(a,b);}import _scc from'./base/TimeSpanMenuBase.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _sci(a,b){return _scb(a- -0x126,b);}import _sce from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';export default class ScheduleMenu extends _scc{static [_sci(0x28,0x1e)]='ScheduleMenu';static [_sci(0x35,0x36)]={'type':_sci(0x1c,0x2e),'items':null,'processItems':null};static get[_sci(0x2f,0x33)](){function j(a,b){return _sci(a- -0x1bd,b);}const a=super[j(-0x18e,-0x186)];a[j(-0x189,-0x17b)]['push']('populateScheduleMenu');return a;}['shouldShowMenu'](a){function k(a,b){return _sci(a-0x2b8,b);}const {client:b}=this,{targetElement:c,resourceRecord:d}=a,e=b[k(0x2e8,0x2ea)][k(0x2d8,0x2c8)](c);return!c[k(0x2f2,0x2e8)](b[k(0x2df,0x2d7)])&&e&&!(d&&d['isSpecialRow']);}['getDataFromEvent'](a){function l(a,b){return _sci(a- -0x8e,b);}if(_scf[l(-0x56,-0x55)](a)){var b,c;if(a[l(-0x71,-0x75)][l(-0x54,-0x60)](l(-0x4d,-0x54))){return;}const {client:d}=this,e=(b=d[l(-0x62,-0x5a)])===null||b===void 0x0?void 0x0:b[l(-0x6a,-0x75)](d,a),f=(c=d[l(-0x5b,-0x47)])===null||c===void 0x0?void 0x0:c['call'](d,a,'floor'),g=d[l(-0x58,-0x54)](a)||d[l(-0x48,-0x36)]&&d[l(-0x5d,-0x57)][l(-0x6c,-0x6e)];return _sce[l(-0x4c,-0x3b)](super[l(-0x4f,-0x47)](a),e,{'date':f,'resourceRecord':g});}return a;}[_sci(0x2a,0x3b)]({items:a,resourceRecord:b,date:c}){function m(a,b){return _sci(b-0x4fa,a);}const {client:d}=this;if(!d['readOnly']&&d[m(0x52b,0x535)]){a[m(0x550,0x53d)]={'text':'L{SchedulerBase.Add\x20event}','icon':m(0x530,0x525),'disabled':this['disableAddEvent'],'weight':0x64,'onItem'(){function n(a,b){return m(b,a- -0x5ad);}d[n(-0x81,-0x85)](c,b,d[n(-0x8d,-0xa0)](b));}};}}get[_sci(0x29,0x22)](){function o(a,b){return _sci(b- -0x131,a);}const {resourceRecord:a,date:b}=this['menuContext'];return!a||a[o(-0x107,-0xf4)]||!a[o(-0x11c,-0x10e)](b);}}ScheduleMenu[_sci(0x1f,0x16)]='';_scd[_sci(0x2d,0x2c)](ScheduleMenu,!![],'Scheduler');
|