@bryntum/scheduler-thin-trial 7.2.4 → 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 +16 -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/ProjectConsumer.js +1 -1
- package/lib/data/mixin/ProjectCrudManager.js +1 -1
- package/lib/data/mixin/ResourceStoreMixin.js +1 -1
- package/lib/feature/AI.js +1 -1
- package/lib/feature/AbstractTimeRanges.js +1 -1
- package/lib/feature/ColumnLines.js +1 -1
- package/lib/feature/Dependencies.js +1 -1
- package/lib/feature/DependencyEdit.js +1 -1
- package/lib/feature/DependencyMenu.js +1 -1
- package/lib/feature/EventCopyPaste.js +1 -1
- package/lib/feature/EventDrag.js +1 -1
- package/lib/feature/EventDragCreate.js +1 -1
- package/lib/feature/EventDragSelect.js +1 -1
- package/lib/feature/EventEdit.js +1 -1
- package/lib/feature/EventFilter.js +1 -1
- package/lib/feature/EventMenu.js +1 -1
- package/lib/feature/EventNonWorkingTime.js +1 -1
- package/lib/feature/EventResize.js +1 -1
- package/lib/feature/EventTooltip.js +1 -1
- package/lib/feature/GroupSummary.js +1 -1
- package/lib/feature/HeaderZoom.js +1 -1
- package/lib/feature/Labels.js +1 -1
- package/lib/feature/LockRows.js +1 -1
- package/lib/feature/NonWorkingTime.js +1 -1
- package/lib/feature/Pan.js +1 -1
- package/lib/feature/ResourceColumnReorder.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.js +1 -1
- package/lib/feature/ScheduleMenu.js +1 -1
- package/lib/feature/ScheduleTooltip.js +1 -1
- package/lib/feature/ScrollButtons.js +1 -1
- package/lib/feature/SimpleEventEdit.js +1 -1
- package/lib/feature/Split.js +1 -1
- package/lib/feature/StickyEvents.js +1 -1
- package/lib/feature/Summary.js +1 -1
- package/lib/feature/TimeAxisHeaderMenu.js +1 -1
- package/lib/feature/TimeRanges.css +52 -0
- package/lib/feature/TimeRanges.js +1 -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/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 +17 -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.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 +117 -22
- package/scheduler.css.map +2 -2
- package/scheduler.d.ts +10470 -12832
- 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
|
@@ -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');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _scj(a,b){return _scb(b-0x3cf,a);}(function(a,b){const c=a();function i(a,b){return _scb(a- -0x135,b);}while(!![]){try{const d=parseInt(i(0x8,0x0))/0x1*(parseInt(i(-0x21,-0xf))/0x2)+parseInt(i(0x1a,0x18))/0x3*(parseInt(i(0x4,0x25))/0x4)+parseInt(i(0x18,0x2))/0x5*(parseInt(i(-0x1f,-0x2c))/0x6)+parseInt(i(-0xc,-0x2c))/0x7+parseInt(i(0x12,0x32))/0x8*(parseInt(i(-0x20,-0x23))/0x9)+-parseInt(i(-0x15,-0xf))/0xa+parseInt(i(0x10,0x13))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x70d42));import _scc from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'@bryntum/core-thin/lib/widget/Tooltip.js';function _sca(){const v=['internalOnPointerOver','hideForNonWorkingTime','4036TmsYdY','1217673SPZWtF','1062282AhwpvP','getText','processConfiguredListeners','-schedule-tip','isSchedulerPro','config','ion','b-nonworking-time','registerFeature','@bryntum/scheduler-thin/lib/feature/ScheduleTooltip.css','9064500efGQTh','isVisible','hide','buttons','lastResourceId','toggleCls','clockTemplate','constructor','configurable','4606126stGRju','lastHtml','getHoverTipHtml','b-sch-schedule-tip','isWorkingTime','ResourceUtilization','doDestroy','lastTime','hoverTip','messageTemplate','timeAxisSubGridElement','</div>','domEvent','call','forElement','floor','784lyqYNH','onDocumentMouseDown','$wheelZooming','plain','18HGIWuf','target','.b-scheduler-base:not(.b-dragging-event,.b-drag-creating,.b-creating-dependency,.b-resizing-event,.b-wheel-zooming)\x20.b-grid-body-container:not(.b-scrolling)\x20.b-timeline-sub-grid:not(.b-scrolling)\x20>\x20:not(.b-sch-foreground-canvas,.b-group-footer,.b-group-row)\x20*:not(.b-scroll-button-wrap\x20*,.b-sch-dependency)','b-schedule-tip','onInternalPaint','pluginConfig','ScheduleTooltip','generateTipContent','2739154gFRiTs','resolveResourceRecord','8HRsrtu','configuredListeners','featureClass','client','<div\x20class=\x22b-sch-hover-tip-msg\x22>','element','5xszIGY','$name','1728zVVPea','contains','loadStylesheet','which','hideAnimation','prototype'];_sca=function(){return v;};return _sca();}import _scf from'../tooltip/ClockTemplate.js';import _scg from'@bryntum/core-thin/lib/helper/EventHelper.js';import _sch from'@bryntum/core-thin/lib/helper/DomHelper.js';_sch[_scj(0x50d,0x520)](_scj(0x50f,0x4ee));export default class ScheduleTooltip extends _scc{static [_scj(0x515,0x51d)]=_scj(0x504,0x512);static [_scj(0x4d9,0x4f7)]={'messageTemplate':data=>_scj(0x518,0x51a)+data['message']+_scj(0x4e4,0x503),'hideForNonWorkingTime':null};static get[_scj(0x50c,0x511)](){function k(a,b){return _scj(a,b- -0x90);}return{'after':[k(0x48c,0x480)]};}[_scj(0x4fb,0x510)]({firstPaint:a}){if(!a){return;}const b=this,{client:c}=b;function l(a,b){return _scj(b,a- -0x230);}if(c[l(0x2b9,0x2c7)]&&b[l(0x2b2,0x29b)]===undefined){b[l(0x2b2,0x2a0)]=!![];}let d;const e=b[l(0x2d0,0x2c1)]=new _sce({'id':c['id']+l(0x2b8,0x2c7),'cls':l(0x2cb,0x2d4),'allowOver':!![],'hoverDelay':0x0,'hideDelay':0x64,'showOnHover':!![],'forElement':c['timeAxisSubGridElement'],'anchorToTarget':![],'trackMouse':!![],'updateContentOnMouseMove':!![],'applyMinWidth':!![],'monitorResize':![],'textContent':![],'rendition':l(0x2db,0x2ea),'forSelector':l(0x2de,0x2f2),'getHtml':b[l(0x2ca,0x2ae)]['bind'](b),'onDocumentMouseDown'(f){if(e[m(-0x1d4,-0x1df)][m(-0x1e2,-0x1c6)](f[m(-0x1ce,-0x1e1)][m(-0x1d7,-0x1d8)])){d=_scg['on']({'thisObj':b,'element':c[m(-0x1e5,-0x1e3)],'mousemove':h=>e[m(-0x1ea,-0x204)](h),'capture':!![]});}const g=e[m(-0x1af,-0x1c3)];e[m(-0x1ce,-0x1c3)]=![];e[m(-0x1df,-0x1ef)][m(-0x221,-0x205)][m(-0x1c8,-0x1dc)][m(-0x1da,-0x1e0)](e,f);function m(a,b){return l(b- -0x4b5,a);}e[m(-0x1be,-0x1c3)]=g;},...b[l(0x2ba,0x2ad)],'internalListeners':b[l(0x2e7,0x2f3)]});e[l(0x2bb,0x2a1)]({'pointerOver'({event:f}){const g=n(0x29c,0x2ae)in f?f[n(0x2ab,0x2ae)]>0x0:f[n(0x2ee,0x2dd)]>0x0;function n(a,b){return l(b- -0x14,a);}if(!g&&d){d();}if(b['disabled']||g){e[n(0x2c7,0x2ad)]();return![];}},'innerHtmlUpdate'({source:f}){function o(a,b){return l(a- -0x315,b);}b[o(-0x50,-0x33)]['updateDateIndicator'](f[o(-0x2a,-0x4b)],b['lastTime']);}});c['ion']({'timeAxisViewModelUpdate':()=>{function p(a,b){return l(b- -0x4d2,a);}if(!c[p(-0x1ff,-0x1f8)]){b['updateTip']();}},'smoothWheelZoom':()=>{function q(a,b){return l(b- -0xd3,a);}b[q(0x1e3,0x1fd)]['hide']();},'thisObj':b});b[l(0x2c5,0x2d1)]=new _scf({'scheduler':c});}[_scj(0x4d6,0x4e7)](){}['updateTip'](){function r(a,b){return _scj(a,b- -0x24d);}if(this[r(0x297,0x2b3)][r(0x2bb,0x2a3)]){this[r(0x2b7,0x2b3)]['updateContent']();}}[_scj(0x514,0x4fe)](){this['destroyProperties']('clockTemplate','hoverTip');function s(a,b){return _scj(b,a- -0x6c9);}super[s(-0x1cb,-0x1d9)]();}['getHoverTipHtml']({tip:a,event:b}){const c=this,d=c[t(0x1d0,0x1bf)],e=b&&d['getDateFromDomEvent'](b,t(0x1b8,0x1ad),!![]);let f=c[t(0x1ae,0x19f)];if(e&&b['target']){const g=d[t(0x1db,0x1bb)](b);if(g&&(e-c[t(0x18a,0x1a5)]!==0x0||g['id']!==c['lastResourceId'])){if(c[t(0x18d,0x188)]){const h=g[t(0x1ac,0x1a2)](e);a[t(0x182,0x19a)](t(0x17a,0x192),!h);}c[t(0x1ae,0x199)]=g['id'];f=c[t(0x1c0,0x19f)]=c[t(0x1d4,0x1b9)]({'date':e,'event':b,'resourceRecord':g});}}else{a[t(0x18c,0x197)]();c[t(0x1a8,0x1a5)]=null;c[t(0x19b,0x199)]=null;}function t(a,b){return _scj(a,b- -0x35a);}return f;}[_scj(0x52c,0x513)]({date:a,event:b,resourceRecord:c}){function u(a,b){return _scj(b,a-0xb);}const d=this,e=d[u(0x4f1,0x4d3)](a,b,c),f=d['clockTemplate']['template']({'date':a,'text':d[u(0x524,0x52e)]['getFormattedDate'](a)}),g=e?d[u(0x50c,0x506)]({'message':e}):'';d[u(0x50a,0x505)]=a;return f+g;}[_scj(0x4fe,0x4e6)](a,b,c){}}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x111;let f=c[d];return f;};return _scb(a,b);}ScheduleTooltip[_scj(0x4fc,0x518)]=_scj(0x4fb,0x50f);_scd[_scj(0x4dd,0x4ed)](ScheduleTooltip,!![],'Scheduler');_scd[_scj(0x502,0x4ed)](ScheduleTooltip,![],_scj(0x502,0x4fd));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(a,b){const c=a();function n(a,b){return _scb(b-0x366,a);}while(!![]){try{const d=parseInt(n(0x4b5,0x4cc))/0x1*(-parseInt(n(0x4e3,0x4de))/0x2)+parseInt(n(0x490,0x4b4))/0x3*(-parseInt(n(0x50d,0x4ee))/0x4)+parseInt(n(0x4bd,0x4c2))/0x5*(parseInt(n(0x4c8,0x4d6))/0x6)+-parseInt(n(0x4f6,0x4e7))/0x7+-parseInt(n(0x4d3,0x4ca))/0x8+-parseInt(n(0x4e2,0x4c8))/0x9+parseInt(n(0x4c0,0x4b9))/0xa*(parseInt(n(0x4dd,0x4ef))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x264d3));function _sca(){const z=['2155951iAspqb','eventStore','@bryntum/scheduler-thin/lib/feature/ScrollButtons.css','end','map','b-scroll-button-content','endDate','233196hmVeon','44KQAivq','$name','appendChild','isConfiguring','loadStylesheet','createElement','construct','refreshScrollButtons','b-scroll-button-wrap\x20b-scroll-forward','store','onElementClick','.b-scroll-forward','b-scroll-buttons-container','3inCcsS','raf','registerFeature','labelRenderer','easeTo','2694240xWsbIb','ion','span','closest','client','.b-scroll-button-wrap','b-scroll-button-wrap\x20b-scroll-backward','dataset','getEventEndingBefore','5SloRMO','get','b-sch-canvas\x20b-scroll-buttons-canvas','set','configurable','start','1783818nNLgrx','startDate','2192984pxHpsA','b-icon-before','99611Dadody','remove','height','Scheduler','scrollButtonsCanvas','mixin','recordId','attachToEventStore','rowManager','assign','1299822XYBYOh','scrollButtonClick','doDisable','rowStyleMap','trigger','visibleDateRange','.b-scroll-buttons-container','top','6GYuxLD','delayable','includes','getEventStartingAfter','generateScrollButton','scrollOptions','afterRenderRow','rows','getById'];_sca=function(){return z;};return _sca();}import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _scd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _sce from'@bryntum/core-thin/lib/mixin/Delayable.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scg from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import _sch from'@bryntum/core-thin/lib/helper/DomSync.js';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 _sci from'../data/mixin/AttachToProjectMixin.js';function _sco(a,b){return _scb(b-0x236,a);}_scf[_sco(0x36e,0x37b)](_sco(0x3a5,0x3b9));export default class ScrollButtons extends _scd[_sco(0x3ac,0x3a1)](_sce,_sci){static [_sco(0x372,0x378)]='ScrollButtons';static [_sco(0x37d,0x396)]={'backwardIconCls':_sco(0x38d,0x39b),'forwardIconCls':'b-icon-after','labelRenderer':null,'scrollOptions':{'animate':{'duration':0x258,'easing':_sco(0x38e,0x388)},'y':![],'edgeOffset':0x32},'testConfig':{'scrollOptions':{'animate':{'duration':0x14,'easing':_sco(0x393,0x388)},'y':![],'edgeOffset':0x32}}};static get['pluginConfig'](){function p(a,b){return _sco(b,a- -0x25b);}return{'after':['onElementClick',p(0x159,0x137)]};}static [_sco(0x3b2,0x3af)]={'refreshScrollButtons':_sco(0x39a,0x385)};[_sco(0x3af,0x3a9)]=new Map();[_sco(0x362,0x37d)](a,b){super[q(0x459,0x468)](a,b);a[q(0x48f,0x48f)][q(0x499,0x475)]({'renderDone':q(0x48a,0x469),'thisObj':this});function q(a,b){return _sco(a,b-0xeb);}a[q(0x464,0x475)]({'visibleDateRangeChange':'refreshScrollButtons','thisObj':this});}['attachToEventStore'](a){super[r(0x3a7,0x3c0)](a);function r(a,b){return _sco(b,a-0x4);}a===null||a===void 0x0||a['ion']({'name':r(0x3bc,0x3b8),'change':'refreshScrollButtons','refresh':r(0x382,0x39b),'thisObj':this});}[_sco(0x3c5,0x3b4)]({row:a}){function s(a,b){return _sco(a,b- -0x28f);}this['rowStyleMap'][s(0xe3,0x106)](a['dataIndex'],{'height':a[s(0x11e,0x10f)],'top':a[s(0x12c,0x11e)]});}[_sco(0x393,0x37e)](){const a=this,{client:b}=a;if(!b[t(0x33a,0x324)]||a['disabled']){return;}function t(a,b){return _sco(a,b- -0x87);}if(!a[t(0x32d,0x319)]){a['scrollButtonsCanvas']=_scf[t(0x2fd,0x2f5)]({'className':t(0x32a,0x30d),'parent':b['timeAxisSubGridElement'],'retainElement':!![]});}_sch['sync']({'targetElement':a['scrollButtonsCanvas'],'domConfig':{'children':b[t(0x316,0x31d)][t(0x312,0x32e)][t(0x34e,0x334)](c=>{if(c['id']==null){return null;}function u(a,b){return t(b,a-0x19e);}const d=c['dataIndex'],e=b[u(0x497,0x4b0)][u(0x4cd,0x4db)](c['id']);if(!e){return null;}return{'class':u(0x49a,0x4b4),'dataset':{'recordId':e['id'],'rowIndex':d},'style':{'height':a['rowStyleMap'][u(0x4aa,0x487)](d)[u(0x4b5,0x4d0)],'top':a[u(0x4c0,0x4a7)][u(0x4aa,0x4c5)](d)[u(0x4c4,0x4ad)]},'children':a[u(0x4c9,0x4c8)](e)};})}});}[_sco(0x38f,0x3b2)](a){const {client:b,labelRenderer:c,forwardIconCls:d,backwardIconCls:e}=this,{visibleDateRange:f,eventStore:g}=b,h=a['events']||[];function w(a,b){return _sco(a,b- -0xc0);}let i=0x0,j=0x0;h['forEach'](k=>{if(!k['isScheduled']||!g[v(-0x27,-0x1e)](k)){return;}const {startDate:l,endDate:m}=k;function v(a,b){return _scb(a- -0x1a1,b);}if(m<=f[v(-0x3e,-0x42)]){j++;}else if(l>=f[v(-0x1a,0x0)]){i++;}});return[j?{'class':w(0x2d8,0x2cf),'children':[{'tag':'i','class':{'b-icon':0x1,'b-scroll-button':0x1,[e]:0x1}},c&&{'tag':w(0x2af,0x2cb),'class':'b-scroll-button-content','text':this[w(0x2e4,0x2c7)]({'resourceRecord':a,'isBefore':!![],'nbrEvents':j})}]}:null,i?{'class':w(0x2db,0x2bf),'children':[c&&{'tag':w(0x2a9,0x2cb),'class':w(0x2e8,0x2fc),'text':this[w(0x2ca,0x2c7)]({'resourceRecord':a,'isBefore':![],'nbrEvents':i})},{'tag':'i','class':{'b-icon':0x1,'b-scroll-button':0x1,[d]:0x1}}]}:null];}[_sco(0x381,0x381)](a){const {client:b}=this,{target:c}=a,d=c[x(0x11c,0xf9)](x(0x13c,0x128)),e=c[x(0x11c,0x129)](x(0x11e,0x10d)),f=d===null||d===void 0x0?void 0x0:d[x(0x120,0x12e)][x(0x132,0x133)],g=b[x(0x110,0x128)][x(0x146,0x14f)](f);function x(a,b){return _sco(b,a- -0x270);}if(e&&b[x(0x13a,0x130)](x(0x137,0x152),{'domEvent':a,'resourceRecord':g})!==![]){const {visibleDateRange:h}=b,i=c[x(0x11c,0x13e)](x(0x112,0xfe));if(!g){return;}const j=i?g[x(0x141,0x156)](h[x(0x14d,0x141)]):g[x(0x121,0x140)](h['startDate']);if(j){b['scrollResourceEventIntoView'](g,j,_scg[x(0x135,0x13e)]({'block':i?x(0x14a,0x12e):x(0x127,0x13a)},this[x(0x143,0x13d)]));}}}[_sco(0x390,0x3a8)](a){function y(a,b){return _sco(b,a- -0x99);}const b=this;super[y(0x30f,0x2fa)](a);if(!b[y(0x2e1,0x2d4)]){if(a){b[y(0x307,0x30c)][y(0x304,0x2fa)]();}else{b[y(0x2f4,0x2f3)]['timeAxisSubGridElement'][y(0x2e0,0x2e3)](b['scrollButtonsCanvas']);b[y(0x2e5,0x2c1)]();}}}}_scc[_sco(0x376,0x386)](ScrollButtons,![],_sco(0x3c1,0x39f));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function q(a,b){return _scb(
|
|
1
|
+
(function(a,b){const c=a();function q(a,b){return _scb(a- -0xfb,b);}while(!![]){try{const d=-parseInt(q(0x74,0x4b))/0x1*(parseInt(q(0x58,0x78))/0x2)+-parseInt(q(0x8d,0x94))/0x3+-parseInt(q(0x52,0x7d))/0x4+parseInt(q(0x48,0x1e))/0x5+parseInt(q(0x4b,0x27))/0x6*(parseInt(q(0x47,0x3d))/0x7)+-parseInt(q(0x99,0x6f))/0x8*(parseInt(q(0x8b,0x73))/0x9)+parseInt(q(0x7d,0x75))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xa499d));import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _scd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x142;let f=c[d];return f;};return _scb(a,b);}function _sca(){const E=['doDestroy','@bryntum/scheduler-thin/lib/feature/SimpleEventEdit.css','1218160timIfO','clientListenersDetacher','isModel','retainElement','readOnly','onEventEnterKey','15188PWsAOi','getComputedStyle','onEditorComplete','isAssignment','getElementFromEventRecord','resourceRecord','resource','editor','t-t','eventEdit','classList','timeAxisSubGrid','startEdit','field','triggerEvent','name','canvases','eventRecord','rtl','inputField','pluginConfig','SimpleEventEdit','configurable','object','Scheduler','editorConfig','c-c','features','149HpwHHR','scrollResourceEventIntoView','beforestart','captureStm','disabled','eventDblClick','cancel','onEditorCancel','none','23338150XidvUs','event','style','max','element','mixin','b-target-has-border','b-event-editor-editing','project','scheduler','borderWidth','registerFeature','getById','isCreating','9831033qyhUxA','construct','2729547sjdGFp','navigator','b-simple-event-editor','remove','loadStylesheet','top','ion','reset','from','createRecord','left','focus','8sXLVGk','getElementFromAssignmentRecord','timeAxisSubGridElement','start','eventInnerSelector','complete','applyStmCapture','eventStore','destroy','105sXZqjn','3081435yEVphU','borderRadius','freeStm','464934VJKyPg','removeCls','beforecomplete','onDragCreateEnd','editEvent'];_sca=function(){return E;};return _sca();}import _sce from'@bryntum/core-thin/lib/widget/Editor.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';import _scg from'@bryntum/core-thin/lib/helper/util/Rectangle.js';import _sch from'./mixin/TaskEditStm.js';function _scr(a,b){return _scb(b-0x1a9,a);}_scf[_scr(0x328,0x335)](_scr(0x2e0,0x2f5));export default class SimpleEventEdit extends _scd[_scr(0x314,0x326)](_sch){static ['$name']=_scr(0x2e3,0x311);static [_scr(0x2fa,0x312)]={'triggerEvent':_scr(0x309,0x31d),'eventRecord':null,'field':_scr(0x2fa,0x30b),'editorConfig':null};static get[_scr(0x307,0x310)](){function s(a,b){return _scr(b,a- -0x21c);}return{'after':['onEventEnterKey',s(0xd7,0xd0)]};}[_scr(0x351,0x330)](a,b){const c=this;c['scheduler']=a;function t(a,b){return _scr(b,a- -0x4ec);}a[t(-0x1e7,-0x1f1)]=c;super[t(-0x1bc,-0x194)](a,b);c[t(-0x1f5,-0x205)]=a[t(-0x1b5,-0x198)]({[c[t(-0x1e2,-0x20a)]]:({eventRecord:d,eventElement:e})=>c[t(-0x1f9,-0x20f)](d,d[t(-0x1ea,-0x1ec)],e),'dragcreateend':c[t(-0x1fa,-0x1cd)],'thisObj':c});}[_scr(0x2de,0x2f4)](){var a;this['clientListenersDetacher']();(a=this[u(0x3ca,0x3bb)])===null||a===void 0x0||a[u(0x40c,0x3f3)]();function u(a,b){return _scr(b,a-0xc7);}super[u(0x3bb,0x3a9)]();}get[_scr(0x352,0x344)](){function v(a,b){return _scr(b,a-0x1f0);}return this[v(0x51a,0x4f1)]['eventStore'];}get[_scr(0x31b,0x329)](){function w(a,b){return _scr(b,a-0x180);}return this['client'][w(0x4a9,0x48f)];}async['editEvent'](a,b,c,d){const e=this,{scheduler:f}=e,{isHorizontal:g}=f,{eventEdit:h}=f[x(-0x73,-0x61)];if(!a[x(-0x9f,-0x80)]){a=typeof a===x(-0x7a,-0x65)?e[x(-0x6,-0x34)][x(-0x59,-0x3e)](a):e[x(-0x3f,-0x34)][x(-0x69,-0x4b)](a);}if(!b){b=a['resource'];}if(!c){c=f[x(-0x8f,-0x78)](a);}function x(a,b){return _scr(a,b- -0x378);}if(f[x(-0x94,-0x7e)]||e['disabled']||a[x(-0x51,-0x7e)]||b[x(-0xa7,-0x7e)]||h&&!h['disabled']&&!a[x(-0x5a,-0x4a)]){return;}let {editor:i}=e;c=_scf['down'](c,f[x(-0x59,-0x37)])||c;a=a[x(-0x69,-0x79)]?a[x(-0x83,-0x56)]:a;e[x(-0x87,-0x76)]=b;e[x(-0x5e,-0x6b)]=a;e[x(-0x6c,-0x53)]=c;f['addCls'](x(-0x4d,-0x50));if(i){i['render'](f[x(-0x59,-0x6c)][x(-0x66,-0x56)]);}else{e[x(-0x9c,-0x75)]=i=_sce['new']({'owner':f[x(-0x80,-0x71)],'appendTo':f[x(-0x84,-0x6c)][x(-0x71,-0x56)],'constrainTo':![],'scrollAction':x(-0x6d,-0x58),'maxHeight':0x28,'align':{'align':g?x(-0x6c,-0x62):x(-0x47,-0x74)},'cls':x(-0x24,-0x45),'internalListeners':{'complete':'onEditorComplete','cancel':x(-0x3f,-0x59),'thisObj':e},'onInternalKeyDown':p=>p['stopPropagation']()},e[x(-0x68,-0x63)]);i[x(-0x41,-0x53)][x(-0x54,-0x7f)]=!![];i['revertFocus']=()=>{var p;function y(a,b){return x(b,a- -0xb);}(p=f[y(-0x83,-0x91)](e[y(-0x76,-0x70)],e[y(-0x82,-0xa2)],!![]))===null||p===void 0x0||p[y(-0x47,-0x2e)]({'scrollIntoView':![]});};e['relayEvents'](e[x(-0x7c,-0x75)],[x(-0x82,-0x5e),x(-0x5c,-0x38),x(-0x71,-0x87),x(-0x1f,-0x36),'beforecancel',x(-0x68,-0x5a)]);}if(d){e[x(-0x27,-0x35)](d);}else if(d!==![]&&!e['hasStmCapture']){e[x(-0x4a,-0x5d)](!![]);}if(a[x(-0x36,-0x4a)]){a[x(-0x52,-0x6d)]='';}const j=globalThis[x(-0x8d,-0x7b)](c);let {borderRadius:k}=j;if(parseFloat(j[x(-0x53,-0x4d)])){i[x(-0x48,-0x53)][x(-0x52,-0x72)]['add'](x(-0x46,-0x51));const p=parseFloat(j[x(-0x48,-0x4d)]);if(!isNaN(p)){k=Math[x(-0x66,-0x54)](0x0,parseFloat(k)-p)+'px';}}i[x(-0x4e,-0x69)]['element'][x(-0x7b,-0x55)][x(-0x9b,-0x8b)]=k;const l=_scg[x(-0x14,-0x3f)](f[x(-0x40,-0x39)]),m=_scg['from'](c)['translate'](-l['x'],-l['y']),n=g?f[x(-0x91,-0x6a)]?m['right']>f[x(-0xe,-0x39)]['offsetWidth']:m[x(-0x2e,-0x3d)]<0x0:m[x(-0x64,-0x42)]<0x0;if(n){await f[x(-0x44,-0x5f)](b,a,{[g?'inline':'block']:'start',[g?'maxWidth':'maxHeight']:0x64,'edgeOffset':0x0});}const o=await i[x(-0x4c,-0x70)]({'target':c,'record':a,'field':e[x(-0x53,-0x6f)]});if(!o){e[x(-0x6e,-0x8a)]();e['reset']();return;}f[x(-0x50,-0x46)]['disabled']=!![];}[_scr(0x2e4,0x2fe)](){this['eventRecord'][z(0x50b,0x52f)]=![];function z(a,b){return _scr(b,a-0x1dd);}this[z(0x515,0x510)]();this[z(0x4cb,0x4ca)](!![]);}[_scr(0x2fa,0x31f)](){function A(a,b){return _scr(a,b- -0x426);}const {eventRecord:a}=this;this[A(-0x109,-0xee)]();this[A(-0x11c,-0x138)](![]);if(a[A(-0xdf,-0xf8)]){a[A(-0x10f,-0xf2)]();}}[_scr(0x33f,0x338)](){this[B(-0x26a,-0x249)][B(-0x2af,-0x283)](B(-0x224,-0x24b));function B(a,b){return _scr(a,b- -0x573);}this[B(-0x22b,-0x249)][B(-0x231,-0x241)][B(-0x26b,-0x257)]=![];this[B(-0x27e,-0x266)]=null;this['resource']=null;}[_scr(0x2d5,0x2fb)]({assignmentRecord:a,eventRecord:b}){const c=a?this[C(0x17a,0x197)][C(0x18e,0x161)](a):this[C(0x17a,0x177)][C(0x150,0x162)](b),d=(a||b)[C(0x152,0x168)];function C(a,b){return _scr(b,a- -0x1b0);}this['editEvent'](b,d,c);}['onDragCreateEnd']({eventRecord:a,resourceRecord:b,eventElement:c,stmCapture:d}){function D(a,b){return _scr(a,b-0x224);}this[D(0x532,0x549)]=c;this[D(0x527,0x517)](a,b,c,d);}}_scc[_scr(0x30c,0x32c)](SimpleEventEdit,![],_scr(0x31c,0x314));
|
package/lib/feature/Split.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(a,b){function l(a,b){return _scb(a- -0xe9,b);}const c=a();while(!![]){try{const d=parseInt(l(0x1d,0x3a))/0x1*(-parseInt(l(-0x6,0x17))/0x2)+-parseInt(l(0x15,0xf))/0x3+-parseInt(l(-0x19,-0x4e))/0x4+-parseInt(l(-0x22,-0x30))/0x5+-parseInt(l(0x18,-0x2))/0x6*(-parseInt(l(-0x26,-0x27))/0x7)+parseInt(l(0x11,0x16))/0x8*(-parseInt(l(0x0,-0x35))/0x9)+parseInt(l(-0x4,-0x6))/0xa*(parseInt(l(0x3d,0x39))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x5d0a8));function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xbb;let f=c[d];return f;};return _scb(a,b);}function _scm(a,b){return _scb(b-0x3b4,a);}import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _sca(){const C=['detachListeners','timeAxisSubGrid','timeAxis','2237815fFjBjd','project','b-icon\x20b-icon-split-both','selectedCollection','reconfigure','L{split}','isSplit','center','atDate','2241256OTdwdS','startDate','events','assignmentStore','processOptions','all','timeAxisSubGridElement','Split','isVertical','viewPreset','crudManager','getDateFromCoordinate','splitSchedule','timeAxisColumn','isBottomSplit','features','left','atColumn','onElementResize','170766YgYNHH','unsplitSchedule','338690avspUd','onReconfigure','isHorizontal','L{both}','360TrghCY','client','constrainDragToTimeline','vertical','b-icon\x20b-icon-split-horizontal','timeRanges','assignments','forEach','right','afterConfigChange','unsplit','getVirtualCoordFromDate','endDate','configurable','unit','isReconfiguring','L{vertically}','37304wChUan','both','then','Scheduler','272358vUmYdk','features.eventDrag.constrainDragToTimeline','scrollable','36wJWsvj','after','L{unsplit}','splitFrom','syncSplits','6fqmreh','name','populateCellMenu','splitDirection','from','end','bodyContainer','Splitting\x20is\x20not\x20supported\x20in\x20vertical\x20mode','internalEventLayout','scrollToDate','resourceTimeRanges','pluginConfig','push','splitX','disabled','isGanttBase','merge','useInitialAnimation','indexOf','freeze','resources','eventDrag','width','populateScheduleMenu','registerFeature','round','direction','call','ion','b-icon\x20b-icon-clear','b-icon\x20b-icon-split-vertical','getClientConfig','649BUKINC','horizontal','add','split','remainingWidth','rtl','eventLayout','L{horizontally}','infiniteScroll','210357VXdfEf'];_sca=function(){return C;};return _sca();}import _scd from'@bryntum/grid-thin/lib/feature/Split.js';import _sce from'@bryntum/core-thin/lib/helper/DateHelper.js';import _scf from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import _scg from'@bryntum/core-thin/lib/helper/util/Rectangle.js';const startScrollOptions=Object[_scm(0x4e2,0x4cd)]({'animate':![],'block':'start'}),endScrollOptions=Object[_scm(0x4b7,0x4cd)]({'animate':![],'block':_scm(0x4d0,0x4bf)});export default class Split extends _scd{static ['$name']=_scm(0x498,0x48b);static [_scm(0x4cd,0x4aa)]={'relayProperties':{'value':{'barMargin':0x1,'eventColor':0x1,'eventStyle':0x1,'eventLayout':0x1,'fillTicks':0x1,'resourceMargin':0x1,'snap':0x1,'tickSize':0x1},'$config':{'merge':_scm(0x4e5,0x4ca)}}};static get[_scm(0x4a1,0x4c5)](){const a=super[n(-0x209,-0x229)];function n(a,b){return _scm(a,b- -0x6ee);}a[n(-0x26c,-0x238)][n(-0x21b,-0x228)]('populateScheduleMenu');return a;}[_scm(0x4d8,0x4d9)](a,b,c,d){var e;const {client:f}=this,g=super[o(-0x234,-0x24b)](a,b,c,d);if(!f['isSchedulerBase']&&!f['isSchedulerProBase']&&!f[o(-0x244,-0x22f)]){return g;}delete g['store'];delete g[o(-0x287,-0x2b5)];delete g[o(-0x23f,-0x215)];delete g[o(-0x26a,-0x263)];delete g['dependencies'];delete g[o(-0x249,-0x243)];delete g[o(-0x26b,-0x25d)];g[o(-0x291,-0x25c)]=f['project'];g[o(-0x286,-0x28f)]=g[o(-0x291,-0x270)][o(-0x286,-0x273)];g[o(-0x27f,-0x26e)]=f[o(-0x27f,-0x2a4)];g[o(-0x280,-0x27d)]=f[o(-0x280,-0x258)];g[o(-0x288,-0x299)]=f[o(-0x288,-0x290)];g[o(-0x264,-0x250)]=f[o(-0x264,-0x290)];g['selectedCollection']=f[o(-0x28f,-0x28a)];g[o(-0x242,-0x256)]=![];g[o(-0x299,-0x26f)]=f[o(-0x24b,-0x254)];if(((e=g[o(-0x27a,-0x2ad)])===null||e===void 0x0?void 0x0:e[o(-0x23e,-0x251)])!==![]){_scf['setPath'](g,o(-0x25a,-0x25e),![]);f[o(-0x27a,-0x283)]['eventDrag'][o(-0x26e,-0x246)]=![];}if(c[o(-0x239,-0x20e)]==='horizontal'||c[o(-0x239,-0x20f)]===o(-0x25e,-0x263)&&b!==0x1){g[o(-0x27b,-0x2a8)]=!![];}function o(a,b){return _scm(b,a- -0x70d);}return g;}['unsplitCleanup'](a){function p(a,b){return _scm(b,a- -0x165);}this[p(0x339,0x366)][p(0x314,0x311)][p(0x331,0x336)]();}[_scm(0x4a4,0x4a6)](a){function q(a,b){return _scm(b,a- -0xe6);}if(a[q(0x3d5,0x40a)]===q(0x38e,0x3b8)){if(this[q(0x39b,0x3ac)]){this[q(0x3d3,0x3d1)](b=>b[q(0x38e,0x3ae)]=this['client'][q(0x3dc,0x3c5)]);}}else{super['afterConfigChange'](a);}}[_scm(0x4ac,0x488)](a){const {client:b}=this,c=_scg['from'](b['element']);let {atDate:d,atRecord:e}=a;if(a[r(-0x20c,-0x242)]!=='horizontal'&&!a[r(-0x24b,-0x254)]&&!a['atRecord']&&!d){const f=b[r(-0x251,-0x234)](c[r(-0x25e,-0x230)]['x'],r(-0x20d,-0x1d7),![]);if(f){a[r(-0x25d,-0x23d)]=d=f;a[r(-0x24b,-0x242)]=b[r(-0x24f,-0x274)];}}if(d){if(!a[r(-0x20c,-0x20a)]){a[r(-0x20c,-0x236)]=e?r(-0x231,-0x232):r(-0x240,-0x23e);}a[r(-0x219,-0x224)]=b[r(-0x238,-0x231)](d)-b[r(-0x267,-0x299)]['scrollable']['x'];if(b[r(-0x26d,-0x29a)]){a[r(-0x219,-0x1fb)]+=c[r(-0x210,-0x1f0)]-_scg[r(-0x222,-0x233)](b[r(-0x256,-0x26a)])[r(-0x23b,-0x237)];}else{a['splitX']+=_scg[r(-0x222,-0x246)](b[r(-0x256,-0x284)],b[r(-0x220,-0x239)])[r(-0x24c,-0x230)];}a[r(-0x26e,-0x25e)]=c['width']-a['splitX'];}function r(a,b){return _scm(b,a- -0x6e0);}return super['processOptions'](a);}async['split'](a={}){const {client:b}=this;function s(a,b){return _scm(b,a- -0x450);}this[s(0x28,0x43)](s(0x4a,0x57));if(b[s(0x3c,0x58)]){throw new Error(s(0x71,0x9d));}const c=await super['split'](a),d=(e,f)=>{function t(a,b){return s(a-0x3c3,b);}e[t(0x3f2,0x408)]({'viewPreset':f['viewPreset'],'startDate':f[t(0x3f8,0x3de)],'endDate':f[t(0x41c,0x424)]});};if(c){if(a[s(0x33,0x5c)]){await Promise[s(0x39,0x5a)]([c[0x0]['scrollToDate'](_sce[s(0x20,-0x7)](a[s(0x33,0x68)],-0x1,b['timeAxis'][s(0x5b,0x27)]),endScrollOptions),c[0x1][s(0x73,0x88)](a[s(0x33,0x15)],startScrollOptions)]);}if(b[s(0x26,-0x10)]){if(a[s(0x84,0x74)]===s(0x1f,-0x15)){d(c[0x1][s(0x2a,0x36)],c[0x0][s(0x2a,0x52)]);}if(a[s(0x84,0x8e)]===s(0x5f,0x32)){d(c[0x2][s(0x2a,0x43)],c[0x0][s(0x2a,-0x3)]);d(c[0x3][s(0x2a,0x58)],c[0x1]['timeAxis']);}}}b['timeAxisSubGrid'][s(0x64,0x71)]['x']+=0.5;c[s(0x54,0x6e)](e=>{function u(a,b){return s(b-0x144,a);}e[u(0x194,0x16e)][u(0x1d6,0x1ca)]({'name':'onReconfigure','reconfigure':u(0x1b9,0x18e),'thisObj':this});});return c;}[_scm(0x4a9,0x4bc)](){}[_scm(0x4e8,0x4d1)]({items:a,date:b,record:c}){const d=this,{isSplit:e}=d,{splitFrom:f}=d[v(-0x274,-0x2a5)];function v(a,b){return _scm(a,b- -0x743);}if(!d[v(-0x288,-0x27b)]&&d[v(-0x2a1,-0x2a5)][v(-0x2d9,-0x2a8)]){a[v(-0x2b5,-0x2b3)]={'text':v(-0x2f0,-0x2c3),'localeClass':d,'icon':v(-0x24e,-0x26b),'weight':0x1f4,'separator':!![],'hidden':e||f,'menu':{'splitHorizontally':{'text':v(-0x2c3,-0x2ce),'icon':v(-0x278,-0x2a2),'localeClass':d,'weight':0x64,'onItem'(){function w(a,b){return v(a,b-0x70d);}d[w(0x462,0x43b)]({'atRecord':c,'direction':'horizontal'})[w(0x45f,0x47a)]();}},'splitVertically':{'text':v(-0x294,-0x296),'icon':v(-0x25f,-0x26b),'localeClass':d,'weight':0xc8,'onItem'(){function x(a,b){return v(b,a-0x4ed);}d[x(0x21b,0x231)]({'atDate':b})['then']();}},'splitBoth':{'text':v(-0x2c7,-0x2a7),'icon':v(-0x2f7,-0x2c6),'localeClass':d,'weight':0x12c,'onItem'(){function y(a,b){return v(b,a-0x52f);}d[y(0x25d,0x23e)]({'atDate':b,'atRecord':c,'direction':'both'})[y(0x29c,0x268)]();}}}};a[v(-0x2db,-0x2ab)]={'text':v(-0x299,-0x28c),'localeClass':d,'icon':v(-0x27d,-0x26c),'hidden':!(e||f),'weight':0x226,'onItem'(){function z(a,b){return v(b,a-0x534);}(f||d)[z(0x298,0x2bd)]();}};}}[_scm(0x482,0x49a)]({suppressRefresh:a,config:b}){function A(a,b){return _scm(b,a- -0x2a4);}const {client:c}=this;if(b&&!this[A(0x208,0x1fe)]){this[A(0x208,0x23e)]=!![];const e=c[A(0x214,0x239)]?c['splitFrom']:c;if(e[A(0x219,0x24d)]&&e[A(0x219,0x245)]!=='vertical'){var d;(d=c[A(0x215,0x216)])===null||d===void 0x0||d[A(0x231,0x23b)](c,f=>{var g,h;const {subViews:i}=e,j=i[B(0x160,0x167)](f),k=i['length']>0x2?j+(j>0x1?-0x1:0x1)*0x2:0x1-j;(g=i[j])===null||g===void 0x0||g[B(0x10e,0xe7)][B(0x113,0x136)](b,a,![]);function B(a,b){return A(a- -0xc8,b);}(h=i[k])===null||h===void 0x0||h[B(0x10e,0xf7)][B(0x113,0x13e)](b,a,![]);});}this[A(0x208,0x1d8)]=![];}}}_scc[_scm(0x4fc,0x4d2)](Split,![],_scm(0x4c8,0x4b1));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function C(a,b){return _scb(
|
|
1
|
+
(function(a,b){const c=a();function C(a,b){return _scb(b-0x115,a);}while(!![]){try{const d=parseInt(C(0x1e2,0x1f1))/0x1+parseInt(C(0x1d7,0x1c9))/0x2*(-parseInt(C(0x1f1,0x1f4))/0x3)+-parseInt(C(0x1f1,0x1f0))/0x4*(parseInt(C(0x1cd,0x1e2))/0x5)+parseInt(C(0x1c4,0x1c1))/0x6*(parseInt(C(0x1e1,0x1e7))/0x7)+-parseInt(C(0x19c,0x1ba))/0x8+parseInt(C(0x1e3,0x1f5))/0x9*(parseInt(C(0x1e8,0x1d0))/0xa)+parseInt(C(0x1eb,0x1d9))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x97eb0));function _scD(a,b){return _scb(b- -0xea,a);}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/DomHelper.js';import _scf from'@bryntum/core-thin/lib/helper/DomSync.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xa5;let f=c[d];return f;};return _scb(a,b);}_sce[_scD(0x17,-0x7)](_scD(-0x43,-0x3f));const zeroMargins={'width':0x0,'height':0x0};function _sca(){const O=['apply','parentNode','b-disable-sticky','126650ZEIVRL','timeAxisSubGrid','values','Scheduler','min','12138uUaRWg','isHorizontal','classList','string','MAX_SAFE_INTEGER','ResourceHistogram','style','toUpdate','stickyEvents','112euaSAg','1202000HSDClx','getChild','getEventContentMargins','2246691neGmuC','9SJeCns','isVertical','translate','loadStylesheet','onEventDataGenerated','stickyContents','3303920RXxpfv','isResourceTimeRange','doDisable','width','contains','children','@bryntum/scheduler-thin/lib/feature/StickyEvents.css','2328DWIgGA','applyStyle','disabled','registerFeature','syncEventContentPosition','type','stuck','updateStyles','2zCoMSP','b-sch-event-content','size','offsetWidth','wrapperCls','add','construct','3249070iuwoSX','scrollable','onSchedulerScroll','center','margin','onHorizontalScroll','event.content','getStyleValue','verticalSyncAllEventsContentPosition','3230524RTfvJt','clear','push','justifyContent','$name','client'];_sca=function(){return O;};return _sca();}export default class StickyEvents extends _scc{static [_scD(-0x36,-0x22)]='StickyEvents';static [_scD(-0x1e,-0x39)]=_scD(-0x1b,-0x10);static get['pluginConfig'](){function E(a,b){return _scD(a,b-0x423);}return{'after':[E(0x40d,0x41d)]};}['construct'](a,b){function F(a,b){return _scD(a,b- -0x227);}super[F(-0x255,-0x257)](a,b);if(a[F(-0x23b,-0x230)]){this['toUpdate']=new Set();a['ion']({'scroll':'onSchedulerScroll','horizontalScroll':F(-0x250,-0x251),'thisObj':this,'prio':0x2710});}}[_scD(-0x15,-0x6)](a){function G(a,b){return _scD(b,a- -0x2c6);}if(this[G(-0x2e7,-0x2d7)][G(-0x2dd,-0x2f2)]){a[G(-0x2f8,-0x2f7)][G(-0x2e4,-0x2f7)]=a['eventRecord']['stickyContents']===![];}else{this[G(-0x300,-0x2ed)](a,undefined,!![]);this[G(-0x2fd,-0x2fd)]();}}[_scD(-0x26,-0x2d)](){function H(a,b){return _scD(a,b-0x3a1);}if(!this['disabled']){this[H(0x35d,0x37a)](this[H(0x362,0x380)]);}}[_scD(-0x21,-0x2a)]({subGrid:a}){function I(a,b){return _scD(b,a- -0x244);}if(a===this['client'][I(-0x260,-0x24f)]){this[I(-0x26b,-0x261)](this[I(-0x265,-0x26f)]);}}['updateStyles'](){for(const {contentEl:a,style:b}of this[J(0xad,0xa5)]){_sce[J(0x69,0x79)](a,b);}function J(a,b){return _scD(a,b-0xb6);}this[J(0x9e,0xa5)][J(0x97,0x91)]();}['verticalSyncAllEventsContentPosition'](a){const {resourceMap:b}=a['currentOrientation'];for(const c of b[K(0xd4,0xe9)]()){for(const {renderData:d,elementConfig:e}of Object['values'](c)){const f=[d];if(e&&d['eventRecord'][K(0xab,0xa9)]){f[K(0xcb,0xc3)](e[K(0xaf,0xa2)][0x0]);}this[K(0xb5,0x9e)][K(0xcf,0xec)](this,f);}}function K(a,b){return _scD(b,a-0xef);}this['toUpdate'][K(0xbb,0x9a)]&&this[K(0xb8,0xd8)]();}['syncEventContentPosition'](a,b=a['eventContent'],d=![]){if(this[L(0x2e,0x15)]||a['eventRecord'][L(0x36,0x4c)]===![]){return;}const {client:e}=this,{eventRecord:f,resourceRecord:g,useEventBuffer:h,bufferAfterWidth:i,bufferBeforeWidth:j,top:k,height:l}=a,m=e[L(0x3b,0x23)]['y'],n=d?null:e['getElementFromEventRecord'](f,g,!![]),o=n&&_scf[L(0x34,0x44)](n,L(0x1d,0x28)),p=f['instanceMeta'](e),q=typeof b[L(0x60,0x3f)]===L(0x40,0x3c)?b[L(0x50,0x3f)]=_sce['parseStyle'](b[L(0x5c,0x3f)]):b[L(0x3c,0x3f)]||(b['style']={});if(n!==null&&n!==void 0x0&&n[L(0x3d,0x3b)][L(-0x2,0x10)]('b-dragging')){return;}let r=k,s=l,t=r+s;function L(a,b){return _scD(a,b-0x51);}if(h){r+=j;s=s-j-i;t=r+s;}if(r<m&&t>=m&&!f['isMilestone']){const u=o===null||o===void 0x0?void 0x0:o[L(0x2a,0x1e)],v=(o===null||o===void 0x0?void 0x0:o['parentNode'])&&_sce[L(0x24,0x29)](o[L(0x50,0x32)],L(0x17,0x2e)),w=v===L(0x25,0x25)?(a[L(0xc,0xf)]-u)/0x2:0x0,x=r,y=x+s-0x1;if((!o||u)&&x<m&&y>=m){const z=this['getEventContentMargins'](o),A=o?s-o['offsetHeight']-z['height']-w:Number[L(0x5d,0x3d)],B=Math[L(0x1b,0x38)](m-x,A-0x2);q[L(0x5f,0x49)]=B>0x0?'0\x20'+B+'px':'';p[L(0x36,0x19)]=!![];}else{q['translate']='';p[L(0x15,0x19)]=![];}if(o){this[L(0x1f,0x40)][L(0x5,0x20)]({'contentEl':o,'style':q});}}else if(o&&p[L(0x22,0x19)]){q['translate']='';p[L(0x2f,0x19)]=![];this['toUpdate'][L(0xc,0x20)]({'contentEl':o,'style':q});}}[_scD(-0x1f,-0xc)](a){function M(a,b){return _scD(a,b- -0x23a);}if(a!==null&&a!==void 0x0&&a[M(-0x256,-0x250)][M(-0x263,-0x27b)](M(-0x288,-0x26f))){return _sce['getEdgeSize'](a,M(-0x264,-0x265));}return zeroMargins;}[_scD(-0x26,-0x43)](...a){super[N(0x178,0x172)](...a);function N(a,b){return _scD(b,a-0x1bb);}if(!this['isConfiguring']){this[N(0x19a,0x18a)]['refreshWithTransition']();}}}_scd[_scD(-0x32,-0x3b)](StickyEvents,!![],_scD(-0x39,-0x1a));_scd[_scD(-0x39,-0x3b)](StickyEvents,![],_scD(-0x8,-0x13));
|
package/lib/feature/Summary.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function s(a,b){return _scb(
|
|
1
|
+
(function(a,b){const c=a();function s(a,b){return _scb(a- -0x1f4,b);}while(!![]){try{const d=-parseInt(s(-0xc,-0x18))/0x1*(parseInt(s(-0x4,-0x21))/0x2)+parseInt(s(-0x6,0x13))/0x3+-parseInt(s(0x31,0x3c))/0x4+parseInt(s(0xe,-0x3))/0x5*(-parseInt(s(0x13,0x1d))/0x6)+-parseInt(s(0x32,0x12))/0x7*(parseInt(s(0x10,0xb))/0x8)+-parseInt(s(0x14,-0xa))/0x9*(-parseInt(s(-0x8,0xb))/0xa)+parseInt(s(-0xd,-0xb))/0xb*(parseInt(s(0x24,0x2d))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xb5999));import _scc from'./TimelineSummary.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _sct(a,b){return _scb(a- -0x2f1,b);}export default class Summary extends _scc{static [_sct(-0xf4,-0xfe)]=_sct(-0xdb,-0xf1);static [_sct(-0xee,-0xdd)]={'summaries':null,'renderer':null,'verticalSummaryColumnConfig':null};static get[_sct(-0xfa,-0x119)](){const a=super[u(0x306,0x2f9)];a['after'][u(0x32d,0x313)](u(0x305,0x312),u(0x326,0x31a),u(0x31f,0x33f));function u(a,b){return _sct(a-0x400,b);}return a;}['construct'](a,b){const c=this;c[v(0x1dc,0x1e9)]=a;function v(a,b){return _sct(b-0x2f1,a);}if(a[v(0x215,0x221)]){a[v(0x20c,0x1f5)][v(0x22e,0x21b)]=![];b[v(0x1dd,0x1ea)]=!![];a[v(0x204,0x1f4)](a[v(0x1fb,0x211)](v(0x209,0x21d),{},a[v(0x20c,0x215)]));c[v(0x221,0x21c)]=a[v(0x1f1,0x20e)][v(0x215,0x1f4)](_sce['assign']({'filterable':null,'region':v(0x229,0x21d),'cellCls':v(0x21f,0x224),'align':'center','sortable':![],'editor':![],'groupable':![],'htmlEncode':![],'cellMenuItems':![],'enableHeaderContextMenu':![],'hidden':c[v(0x215,0x206)]},c[v(0x1d3,0x1ed)]))[0x0];}super[v(0x1f1,0x205)](a,b);if(a[v(0x240,0x220)]){c['updateEventStore'](a[v(0x1f9,0x209)]);c[v(0x1f4,0x210)](a['resourceStore']);}}[_sct(-0xda,-0xc1)](a){this[w(0x569,0x58c)](w(0x560,0x562));function w(a,b){return _sct(a-0x662,b);}a['ion']({'name':w(0x560,0x575),'filter':'updateTimelineSummaries','thisObj':this});}[_sct(-0xe1,-0xc5)](a){function x(a,b){return _sct(a-0x519,b);}this[x(0x420,0x3ff)](x(0x419,0x41d));a[x(0x441,0x437)]({'name':'summaryResourceStore','filter':'updateTimelineSummaries','thisObj':this});}[_sct(-0xdf,-0xe9)](){const a=this,{client:b}=a,{eventStore:c,timeAxis:d,isEngineReady:e,project:f}=b,g=a['summaryBarElement'],h=a['selectedOnly']&&b[y(0x7b,0x89)][y(0x9f,0x8b)]?b[y(0xa9,0x89)]:b['resourceStore']['records'];function y(a,b){return _sct(b-0x170,a);}if(g&&e&&f[y(0xac,0x9e)]){const i=b[y(0x8f,0x72)](h,({event:j})=>{function z(a,b){return y(b,a- -0x235);}return!c[z(-0x1cb,-0x1ec)]||c[z(-0x1b8,-0x1b1)][z(-0x1ba,-0x198)](j);});Array[y(0x9f,0xa8)](g[y(0xa1,0x92)])[y(0x83,0x8e)]((j,k)=>{const l=d[A(0x5dc,0x5ce)](k),m=i[k]||[];let n='',o=A(0x603,0x602)+a['L'](A(0x5d6,0x5c2),b[A(0x5e6,0x5c9)](l[A(0x5ef,0x601)]))+A(0x5f5,0x616);a[A(0x602,0x5ef)][A(0x5ea,0x5e3)](p=>{function B(a,b){return A(b- -0x67c,a);}const q=p['renderer']({'startDate':l[B(-0x8e,-0x8d)],'endDate':l[B(-0xcf,-0xbc)],'resourceStore':b[B(-0x7e,-0x7f)],'eventStore':c,'events':m,'element':j}),r=q?B(-0xa6,-0x94)+q+'</div>':'';if(a[B(-0x7c,-0x7a)][B(-0x7f,-0x95)]>0x1||q){n+=r;}o+=r?B(-0xc4,-0xaf)+(p['label']||'')+'</label>'+r:'';});function A(a,b){return y(b,a-0x55c);}j[A(0x5d5,0x5d1)]=n;j['_tipHtml']=n?o:'';});}}[_sct(-0xf8,-0xec)](){function C(a,b){return _sct(a-0x64e,b);}if(!this[C(0x543,0x549)]){this[C(0x580,0x585)]();}}}function _sca(){const D=['2WNkbmd','summaryResourceStore','<label>','getResourcesEventsPerTick','add','timeAxisSubGrid','bindStore','pluginConfig','detachListeners','updateSummaries','innerHTML','L{Summary\x20for}','includes','$name','records','Scheduler','registerFeature','getAt','485WvfxJw','configurable','8904UAQoBC','construct','disabled','35490SRPViG','693EfBBLz','eventStore','selectedRecords','getFormattedDate','length','<div\x20class=\x22b-time-axis-summary-value\x22>','columns','forEach','updateResourceStore','createSubGrid','updateTimelineSummaries','children','startDate','regions','Summary','updateEventStore','348tTXzdP','ion','</header>','resizable','summaryColumn','right','push','isInitialCommitPerformed','isSchedulerBase','isVertical','resourceStore','refreshSummaries','b-grid-footer\x20b-sch-summary-bar','5008320RkWdrd','189ycAbYa','summaries','<header>','from','endDate','isConfiguring','847429TEdLoS','446411siIDlM','scheduler','hideFooters','isFiltered','1930OAHqYH','verticalSummaryColumnConfig','2391414sUSVKk','summaryEventStore'];_sca=function(){return D;};return _sca();}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x1e5;let f=c[d];return f;};return _scb(a,b);}_scd[_sct(-0xf1,-0xe6)](Summary,![],_sct(-0xf2,-0xf4));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function h(a,b){return _scb(
|
|
1
|
+
(function(a,b){const c=a();function h(a,b){return _scb(b- -0x106,a);}while(!![]){try{const d=parseInt(h(0xc0,0xd2))/0x1+parseInt(h(0xe8,0xd4))/0x2*(parseInt(h(0xaf,0xca))/0x3)+parseInt(h(0xbd,0xce))/0x4*(-parseInt(h(0x104,0xde))/0x5)+-parseInt(h(0x111,0xf8))/0x6*(-parseInt(h(0xe9,0x101))/0x7)+parseInt(h(0xe8,0x10a))/0x8+-parseInt(h(0xe9,0x111))/0x9+-parseInt(h(0xd0,0xd6))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xa174c));import _scc from'@bryntum/grid-thin/lib/feature/HeaderMenu.js';import _scd from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _sce from'@bryntum/core-thin/lib/helper/DateHelper.js';import _scf from'@bryntum/core-thin/lib/helper/DomHelper.js';import'@bryntum/core-thin/lib/widget/Slider.js';import'../widget/TimeZoomSlider.js';_scf['loadStylesheet'](_sci(-0x22,-0x26));function _sca(){const y=['initDates','assign','zoomLevel','resumeEvents','TimeAxisHeaderMenu','ion','$name','48EwhVLj','shiftIncrement','popup','max','4fMZxWG','Scheduler','shiftUnit','menu','1308357hSkeRt','pluginConfig','52396FRGWIN','endDateFieldInitialValue','13147910gEcXIP','shiftPrevious','b-right-nav-btn','shouldShowMenu','b-icon\x20b-icon-next','hide','timeAxisHeader','zoomOnTimeAxisDoubleClick','1482395TnFPsZ','minDate','zoomDetacher','click','onLeftShiftBtnClick','startDateField','smoothZoom','construct','startDate','timeAxis','shiftNext','.b-vertical-time-axis-cell','onZoomSliderChange','presets','onTodayBtnClick','push','setTimeSpan','add','maxDate','count','populateTimeAxisHeaderMenu','triggerEvent','@bryntum/scheduler-thin/lib/feature/TimeAxisHeaderMenu.css','b-sch-time-axis-menu-date-range-popup','L{endText}','b-today-nav-btn','2490gGpJuW','slider','enableHeaderContextMenu','L{pickZoomLevel}','b-fw-icon\x20b-icon-search-plus','call','min','isTimeAxisColumn','Gantt','8477rQHpvA','button','maxZoomLevel','configurable','items','onRangeDateFieldChange','updateMaxAllowedEndDate','includes','endDate','4043792eOugzC','nullify','day','getAllowedDateRange','startDateFieldInitialValue','endDateField','updateMinAllowedStartDate','4166730yRZEjl','TimelineHistogram','isHorizontal','client','clearTime','minZoomLevel','suspendEvents','initDateRangeFields','6em','value','b-icon\x20b-icon-previous'];_sca=function(){return y;};return _sca();}function _sci(a,b){return _scb(b- -0x220,a);}const setTimeSpanOptions={'maintainVisibleStart':!![]};function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x1c7;let f=c[d];return f;};return _scb(a,b);}export default class TimeAxisHeaderMenu extends _scc{static [_sci(-0x75,-0x51)]=_sci(-0x35,-0x53);static [_sci(0x14,-0x16)]={'menu':{'$config':['lazy',_sci(-0x20,-0xf)],'value':{'type':_sci(-0x52,-0x49),'autoShow':![],'closeAction':_sci(-0x62,-0x3f),'align':{'monitorResize':![]},'scrollAction':null,'constrainTo':globalThis}},'processItems':null,'items':null,'type':_sci(-0x29,-0x3e)};static get[_sci(-0x3c,-0x47)](){function j(a,b){return _sci(a,b-0x269);}const a=super['pluginConfig'];a['after'][j(0x251,0x23c)](j(0x242,0x241));return a;}[_sci(-0x57,-0x35)](...a){function k(a,b){return _sci(a,b- -0x3e);}super[k(-0x96,-0x73)](...a);if(this[k(-0x92,-0x65)][k(-0x28,-0x50)](k(-0x87,-0x77))&&this['client'][k(-0x57,-0x7b)]){this['client']['zoomOnTimeAxisDoubleClick']=![];}}[_sci(-0x18,-0x41)](a){function l(a,b){return _sci(a,b-0x2d9);}const {column:b,targetElement:c}=a,{client:d}=this;if(d[l(0x2af,0x2d2)]){return(b===null||b===void 0x0?void 0x0:b[l(0x2d8,0x2b9)])!==![]&&(b===null||b===void 0x0?void 0x0:b[l(0x2c2,0x2be)]);}return c['closest'](l(0x296,0x2a8));}[_sci(-0x27,-0x28)]({items:a}){const b=this,{client:c}=b,d={'magnitude':c[m(0x5b4,0x5c4)][m(0x598,0x5a8)],'unit':c[m(0x5b4,0x5d2)]['shiftUnit']};function m(a,b){return _sci(b,a-0x5e7);}Object[m(0x591,0x5b5)](a,{'zoomLevel':{'text':m(0x5c8,0x5e9),'localeClass':b,'icon':m(0x5c9,0x5bf),'disabled':!c[m(0x5b8,0x5dc)][m(0x5be,0x5c5)]||b['disabled'],'weight':0xc8,'menu':{'items':{'zoomSlider':{'type':c[m(0x5b1,0x59d)]?'timezoomslider':m(0x5c6,0x5d1),'weight':0xd2,'minWidth':c[m(0x5b1,0x5a9)]?0xc8:0x82,'showValue':![],'triggerChangeOnInput':!![]}},'onBeforeShow'({source:e}){if(c[n(0x18a,0x1b4)]){return;}const [f]=e[n(0x1ab,0x19d)];f[n(0x1a4,0x1c5)]=c[n(0x1bc,0x1a2)];function n(a,b){return m(a- -0x427,b);}f[n(0x173,0x18e)]=c[n(0x1a9,0x19d)];f['value']=c[n(0x16b,0x187)];b[n(0x186,0x190)]=f[n(0x16e,0x177)]({'change':n(0x190,0x1a0),'thisObj':b});},'onHide'(){var e;function o(a,b){return m(a- -0x167,b);}if(c[o(0x44a,0x442)]){return;}(e=b[o(0x446,0x41d)])===null||e===void 0x0||e[o(0x463,0x48e)](b);b[o(0x446,0x437)]=null;}}},'dateRange':{'text':'L{activeDateRange}','localeClass':b,'icon':'b-fw-icon\x20b-icon-calendar','weight':0x12c,'menu':{'type':m(0x599,0x5a8),'cls':m(0x5c2,0x5e0),'defaults':{'localeClass':b},'items':{'startDateField':{'type':'datefield','label':'L{startText}','weight':0x136,'labelWidth':m(0x5e6,0x5d3),'required':!![],'step':d,'highlightExternalChange':![],'span':0x3,'picker':{'internalListeners':{'beforeShow':b[m(0x5dd,0x5bd)],'thisObj':b}},'internalListeners':{'change':b[m(0x5d3,0x5b1)],'thisObj':b}},'endDateField':{'type':'datefield','label':m(0x5c3,0x5b2),'weight':0x140,'labelWidth':'6em','required':!![],'step':d,'highlightExternalChange':![],'span':0x3,'picker':{'internalListeners':{'beforeShow':b['updateMaxAllowedEndDate'],'thisObj':b}},'internalListeners':{'change':b[m(0x5d3,0x5f7)],'thisObj':b}},'leftShiftBtn':{'type':m(0x5cf,0x5e3),'weight':0x14a,'cls':'b-left-nav-btn','icon':m(0x58f,0x566),'internalListeners':{'click':b['onLeftShiftBtnClick'],'thisObj':b}},'todayBtn':{'type':'button','weight':0x154,'cls':m(0x5c4,0x5b3),'text':'L{todayText}','flex':0x1,'internalListeners':{'click':b['onTodayBtnClick'],'thisObj':b}},'rightShiftBtn':{'type':m(0x5cf,0x5c5),'weight':0x15e,'cls':m(0x5a5,0x57c),'icon':m(0x5a7,0x5a7),'internalListeners':{'click':b['onRightShiftBtnClick'],'thisObj':b}}},'internalListeners':{'paint':b[m(0x5e5,0x5bf)],'thisObj':b}}}});}[_sci(-0x3c,-0x30)]({value:a}){function p(a,b){return _sci(b,a-0x16d);}this[p(0x167,0x167)]['zoomLevel']=a;}[_sci(0x13,-0x2)]({source:a,firstPaint:b}){function q(a,b){return _sci(a,b-0x4bc);}if(b){const {widgetMap:c}=a;this['startDateField']=c[q(0x45a,0x485)];this[q(0x4aa,0x4b1)]=c[q(0x4ba,0x4b1)];}this['initDates']();}[_sci(-0x7d,-0x57)](){const a=this;a['startDateField'][r(0x2a6,0x2bb)]();a[r(0x2d4,0x2b3)][r(0x2c3,0x2bb)]();function r(a,b){return _sci(a,b-0x2be);}a[r(0x274,0x287)][r(0x26b,0x265)]=a[r(0x291,0x2b2)]=a['client'][r(0x27e,0x28a)];a[r(0x286,0x2b3)][r(0x24e,0x265)]=a[r(0x266,0x279)]=a[r(0x2d8,0x2b8)][r(0x2aa,0x2ad)];a[r(0x27b,0x287)][r(0x277,0x26a)]();a[r(0x2d2,0x2b3)][r(0x293,0x26a)]();}[_sci(-0x33,-0x13)]({source:a}){a[s(0x108,0xf6)]=this[s(0x117,0x11a)]['getAllowedDateRange']()[s(0x119,0x10f)];function s(a,b){return _sci(a,b-0x120);}return!![];}[_sci(-0x2c,-0xa)]({source:a}){a[t(0x5a1,0x5c2)]=this[t(0x5d6,0x5c4)][t(0x5cf,0x5b6)]()[t(0x5a8,0x5d1)];function t(a,b){return _sci(b,a-0x5dc);}return!![];}[_sci(-0x2c,-0x14)]({source:a}){const b=this,c=a===b['startDateField'],{client:d}=b,{timeAxis:e}=d,f=b['startDateFieldInitialValue']&&!c?b[u(-0x4c,-0x23)]:b[u(-0x21,-0x4e)][u(-0x7d,-0x70)];let g=b[u(-0x37,-0x5c)]&&c?b[u(-0x87,-0x5c)]:b[u(-0x9,-0x22)][u(-0x5e,-0x70)];if(c){b[u(-0x25,-0x23)]=null;}else{b['endDateFieldInitialValue']=null;}function u(a,b){return _sci(a,b- -0x17);}if(!(g-f)){g=_sce[u(-0x3f,-0x42)](g,e[u(-0x82,-0x66)],e[u(-0x68,-0x61)]);}else if(g<f){g=_sce[u(-0x2a,-0x42)](f,e[u(-0x5d,-0x66)],e[u(-0x3c,-0x61)]);}d[u(-0x2e,-0x43)](f,g,setTimeSpanOptions);b[u(-0x82,-0x6e)]();}[_sci(-0x1d,-0x38)](){this[v(0x268,0x252)][v(0x209,0x225)][v(0x206,0x215)]();function v(a,b){return _sci(a,b-0x258);}this['initDates']();}[_sci(-0xd,-0x2e)](){const a=_sce[w(0x2ac,0x2cd)](new Date());function w(a,b){return _sci(b,a-0x2b1);}this['client'][w(0x285,0x298)](a,_sce[w(0x286,0x26d)](a,0x1,w(0x2a3,0x2b2)));this[w(0x25a,0x261)]();}['onRightShiftBtnClick'](){function x(a,b){return _sci(b,a-0x3d3);}this[x(0x3cd,0x3c8)][x(0x3a0,0x389)][x(0x3a1,0x39f)]();this[x(0x37c,0x376)]();}}_scd['registerFeature'](TimeAxisHeaderMenu,!![],[_sci(-0x77,-0x4b),_sci(-0x27,-0x8),_sci(0x10,-0x1a)]);
|
|
@@ -108,6 +108,11 @@
|
|
|
108
108
|
* Current time background & line color
|
|
109
109
|
*/
|
|
110
110
|
--b-current-time-color : var(--b-color-deep-orange);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Z-index of the mouse indicator line elements (`showMouseIndicatorLine`)
|
|
114
|
+
*/
|
|
115
|
+
--b-mouse-indicator-zindex : 15;
|
|
111
116
|
}
|
|
112
117
|
|
|
113
118
|
.b-colorize {
|
|
@@ -130,6 +135,11 @@
|
|
|
130
135
|
* Time range line label background color
|
|
131
136
|
*/
|
|
132
137
|
--b-time-range-line-label-background : var(--b-time-range-line-color);
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Mouse indicator line color (`showMouseIndicatorLine`). Defaults to the primary palette.
|
|
141
|
+
*/
|
|
142
|
+
/* --b-mouse-indicator-color : var(--b-primary-50); */
|
|
133
143
|
}
|
|
134
144
|
|
|
135
145
|
/* Canvas in header and body */
|
|
@@ -159,6 +169,7 @@
|
|
|
159
169
|
align-items : center;
|
|
160
170
|
justify-content : center;
|
|
161
171
|
bottom : 0;
|
|
172
|
+
white-space : nowrap; /* When using headerRenderer, app might not put a label in the header */
|
|
162
173
|
|
|
163
174
|
background : var(--b-time-range-header-background);
|
|
164
175
|
color : var(--b-time-range-color);
|
|
@@ -189,6 +200,16 @@
|
|
|
189
200
|
|
|
190
201
|
--b-primary : var(--b-current-time-color);
|
|
191
202
|
}
|
|
203
|
+
|
|
204
|
+
&.b-interactive {
|
|
205
|
+
.b-sch-time-range:not(.b-read-only) {
|
|
206
|
+
cursor : pointer;
|
|
207
|
+
|
|
208
|
+
&.b-over-resize-handle {
|
|
209
|
+
cursor : ew-resize;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
192
213
|
}
|
|
193
214
|
|
|
194
215
|
/* Body */
|
|
@@ -260,6 +281,31 @@
|
|
|
260
281
|
}
|
|
261
282
|
}
|
|
262
283
|
|
|
284
|
+
/* Mouse indicator line */
|
|
285
|
+
.b-sch-line.b-sch-mouse-indicator {
|
|
286
|
+
pointer-events : none;
|
|
287
|
+
transition : none !important;
|
|
288
|
+
z-index : var(--b-mouse-indicator-zindex);
|
|
289
|
+
|
|
290
|
+
--b-primary : var(--b-mouse-indicator-color, var(--b-color-blue));
|
|
291
|
+
--b-time-range-line-color : var(--b-primary-85);
|
|
292
|
+
--b-time-range-line-opacity : 1;
|
|
293
|
+
--b-time-range-header-background : var(--b-primary);
|
|
294
|
+
--b-time-range-line-header-background : var(--b-primary);
|
|
295
|
+
--b-time-range-color : #fff;
|
|
296
|
+
--b-time-range-header-font-size : 0.8em;
|
|
297
|
+
--b-time-range-header-font-weight : 500;
|
|
298
|
+
--b-time-range-line-width : 1px;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/* Header pill styling */
|
|
302
|
+
.b-time-ranges-header-canvas .b-sch-mouse-indicator {
|
|
303
|
+
height : auto;
|
|
304
|
+
padding : 0.2em 0.6em;
|
|
305
|
+
border-radius : var(--b-time-range-line-header-border-radius);
|
|
306
|
+
translate : -50%;
|
|
307
|
+
}
|
|
308
|
+
|
|
263
309
|
.b-timeline-base:not(.b-sch-vertical) {
|
|
264
310
|
.b-time-ranges-header-canvas {
|
|
265
311
|
.b-sch-line {
|
|
@@ -277,6 +323,12 @@
|
|
|
277
323
|
border-start-start-radius : var(--b-time-range-line-header-border-radius);
|
|
278
324
|
border-end-start-radius : var(--b-time-range-line-header-border-radius);
|
|
279
325
|
}
|
|
326
|
+
|
|
327
|
+
/* In vertical mode the line is horizontal, so center the pill on the Y axis
|
|
328
|
+
* (the default `translate: -50%` centers on the X axis for horizontal mode). */
|
|
329
|
+
.b-sch-mouse-indicator {
|
|
330
|
+
translate : 0 -50%;
|
|
331
|
+
}
|
|
280
332
|
}
|
|
281
333
|
|
|
282
334
|
.b-sch-time-range {
|