@bryntum/scheduler-thin-trial 7.2.3 → 7.2.4
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/high-contrast-dark.css +29 -0
- package/high-contrast-light.css +29 -0
- package/lib/data/mixin/LazyLoadView.js +1 -1
- package/lib/data/plugin/DateStoreLazyLoadPlugin.js +1 -1
- package/lib/feature/AbstractTimeRanges.js +1 -1
- package/lib/feature/ColumnLines.css +6 -1
- package/lib/feature/Dependencies.css +12 -2
- package/lib/feature/EventDrag.css +14 -2
- package/lib/feature/EventDragSelect.css +6 -1
- package/lib/feature/EventDragSelect.js +1 -1
- package/lib/feature/EventNonWorkingTime.css +6 -1
- package/lib/feature/EventResize.css +6 -1
- package/lib/feature/Labels.css +6 -1
- package/lib/feature/ResourceColumnReorder.css +12 -2
- package/lib/feature/ScheduleContext.css +7 -2
- package/lib/feature/ScrollButtons.js +1 -1
- package/lib/feature/SimpleEventEdit.css +8 -1
- package/lib/feature/Split.js +1 -1
- package/lib/feature/TimeSelection.css +6 -1
- package/lib/feature/TimeSelection.js +1 -1
- package/lib/feature/base/EditBase.js +1 -1
- package/lib/feature/mixin/DependencyCreation.css +7 -2
- package/lib/feature/mixin/HeaderDragSelect.css +8 -1
- package/lib/model/mixin/ResourceModelMixin.js +1 -1
- package/lib/view/ResourceHeader.js +1 -1
- package/lib/view/TimelineBase.css +6 -1
- package/lib/view/TimelineBase.js +1 -1
- package/lib/view/mixin/RecurringEvents.js +1 -1
- package/lib/view/mixin/SchedulerEventRendering.css +26 -6
- package/lib/view/orientation/HorizontalRendering.js +1 -1
- package/lib/view/orientation/VerticalRendering.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/package.json +1 -1
- package/scheduler.css +55 -25
- package/scheduler.css.map +2 -2
- package/scheduler.d.ts +174 -115
|
@@ -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
|
|
|
@@ -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){function n(a,b){return _scb(
|
|
1
|
+
function _sco(a,b){return _scb(b-0x1e4,a);}(function(a,b){function n(a,b){return _scb(a-0x278,b);}const c=a();while(!![]){try{const d=-parseInt(n(0x3cb,0x3e3))/0x1*(-parseInt(n(0x3d2,0x3ad))/0x2)+-parseInt(n(0x3dd,0x3d3))/0x3+parseInt(n(0x3d6,0x3b1))/0x4+parseInt(n(0x3f6,0x3e6))/0x5*(-parseInt(n(0x3e8,0x3d6))/0x6)+-parseInt(n(0x3fc,0x410))/0x7+parseInt(n(0x3e2,0x3f4))/0x8*(parseInt(n(0x3e3,0x3c8))/0x9)+parseInt(n(0x3cd,0x3c5))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xba67b));function _sca(){const z=['b-icon-before','forEach','recordId','getById','isScheduled','scrollButtonClick','1RkCPVW','pluginConfig','10483930ucSKAf','$name','easeTo','scrollButtonsCanvas','ScrollButtons','8432wuHIJq','sync','.b-scroll-buttons-container','closest','5200060kFkvxv','refreshScrollButtons','labelRenderer','isConfiguring','b-scroll-button-wrap\x20b-scroll-backward','attachToEventStore','construct','204621HoPEVa','ion','visibleDateRange','doDisable','remove','8wedtVw','699723PhnlzW','map','.b-scroll-button-wrap','endDate','set','4065054URhapk','scrollable','b-icon-after','client','b-sch-canvas\x20b-scroll-buttons-canvas','b-scroll-button-content','events','includes','start','getEventStartingAfter','eventStore','rowStyleMap','top','.b-scroll-forward','10XPJcjW','rowManager','raf','disabled','getEventEndingBefore','createElement','1705417SRdXTi','loadStylesheet','startDate','afterRenderRow','generateScrollButton','timeAxisSubGrid','appendChild','mixin','trigger','timeAxisSubGridElement','onElementClick','dataIndex','scrollResourceEventIntoView','dataset','span','rows','get','@bryntum/scheduler-thin/lib/feature/ScrollButtons.css','b-scroll-buttons-container'];_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';import _sci from'../data/mixin/AttachToProjectMixin.js';_scf[_sco(0x353,0x369)](_sco(0x327,0x32f));export default class ScrollButtons extends _scd[_sco(0x31f,0x325)](_sce,_sci){static [_sco(0x339,0x33a)]=_sco(0x350,0x33d);static ['configurable']={'backwardIconCls':_sco(0x32d,0x331),'forwardIconCls':_sco(0x34e,0x356),'labelRenderer':null,'scrollOptions':{'animate':{'duration':0x258,'easing':_sco(0x349,0x33b)},'y':![],'edgeOffset':0x32},'testConfig':{'scrollOptions':{'animate':{'duration':0x14,'easing':'easeTo'},'y':![],'edgeOffset':0x32}}};static get[_sco(0x354,0x338)](){function p(a,b){return _sco(b,a- -0x52c);}return{'after':['onElementClick',p(-0x1c1,-0x1e4)]};}static ['delayable']={'refreshScrollButtons':_sco(0x340,0x364)};[_sco(0x349,0x35f)]=new Map();[_sco(0x32c,0x348)](a,b){function q(a,b){return _sco(b,a- -0x147);}super[q(0x201,0x1e4)](a,b);a[q(0x21c,0x22b)][q(0x203,0x1f1)]({'renderDone':'refreshScrollButtons','thisObj':this});a[q(0x226,0x23d)][q(0x20e,0x211)][q(0x203,0x204)]({'scroll':'refreshScrollButtons','thisObj':this});a[q(0x226,0x21e)][q(0x203,0x210)]({'resize':q(0x1fc,0x1fe),'thisObj':this});}[_sco(0x33c,0x347)](a){function r(a,b){return _sco(a,b-0x5b);}super[r(0x396,0x3a2)](a);a===null||a===void 0x0||a[r(0x387,0x3a5)]({'name':r(0x3c1,0x3b9),'change':r(0x3ac,0x39e),'refresh':r(0x3c1,0x39e),'thisObj':this});}[_sco(0x34d,0x36b)]({row:a}){function s(a,b){return _sco(b,a- -0x2c3);}this[s(0x9c,0x8f)][s(0x90,0x7a)](a['dataIndex'],{'height':a['height'],'top':a[s(0x9d,0x81)]});}[_sco(0x367,0x343)](){function t(a,b){return _sco(b,a- -0x29f);}const a=this,{client:b}=a;if(!b[t(0xac,0xbe)]||a[t(0xc6,0xb7)]){return;}if(!a[t(0x9d,0xc2)]){a[t(0x9d,0x95)]=_scf[t(0xc8,0xe7)]({'className':t(0xb9,0x9b),'parent':b[t(0x88,0x65)],'retainElement':!![]});}_sch[t(0xa0,0xa2)]({'targetElement':a[t(0x9d,0x90)],'domConfig':{'children':b[t(0xc4,0xe2)][t(0x8e,0xa8)][t(0xb1,0xb8)](c=>{function u(a,b){return t(a-0x42d,b);}if(c['id']==null){return null;}const d=c[u(0x4b7,0x4dc)],e=b['store'][u(0x4c2,0x4de)](c['id']);if(!e){return null;}return{'class':u(0x4be,0x4e3),'dataset':{'recordId':e['id'],'rowIndex':d},'style':{'height':a[u(0x4ed,0x4ee)]['get'](d)['height'],'top':a[u(0x4ed,0x4f2)][u(0x4bc,0x4d3)](d)[u(0x4ee,0x4f4)]},'children':a[u(0x4fa,0x4fe)](e)};})}});}[_sco(0x351,0x36c)](a){const {client:b,labelRenderer:c,forwardIconCls:d,backwardIconCls:e}=this,{visibleDateRange:f,eventStore:g}=b,h=a[v(-0x202,-0x201)]||[];let i=0x0,j=0x0;h[v(-0x233,-0x229)](k=>{if(!k[w(0x2a7,0x296)]||!g[w(0x2cd,0x2ab)](k)){return;}const {startDate:l,endDate:m}=k;function w(a,b){return v(b,a-0x4cd);}if(m<=f['startDate']){j++;}else if(l>=f[w(0x2c4,0x2c6)]){i++;}});function v(a,b){return _sco(a,b- -0x55b);}return[j?{'class':v(-0x227,-0x215),'children':[{'tag':'i','class':{'b-icon':0x1,'b-scroll-button':0x1,[e]:0x1}},c&&{'tag':v(-0x22a,-0x22f),'class':v(-0x207,-0x202),'text':this['labelRenderer']({'resourceRecord':a,'isBefore':!![],'nbrEvents':j})}]}:null,i?{'class':'b-scroll-button-wrap\x20b-scroll-forward','children':[c&&{'tag':v(-0x246,-0x22f),'class':v(-0x1e1,-0x202),'text':this[v(-0x205,-0x217)]({'resourceRecord':a,'isBefore':![],'nbrEvents':i})},{'tag':'i','class':{'b-icon':0x1,'b-scroll-button':0x1,[d]:0x1}}]}:null];}[_sco(0x34a,0x328)](a){const {client:b}=this,{target:c}=a,d=c[x(0x41f,0x40b)](x(0x41e,0x434)),e=c[x(0x41f,0x41e)](x(0x42f,0x41b)),f=d===null||d===void 0x0?void 0x0:d[x(0x409,0x426)][x(0x411,0x3f8)],g=b['store'][x(0x412,0x417)](f);function x(a,b){return _sco(b,a-0xde);}if(e&&b[x(0x404,0x3f1)](x(0x414,0x410),{'domEvent':a,'resourceRecord':g})!==![]){const {visibleDateRange:h}=b,i=c[x(0x41f,0x406)](x(0x43f,0x428));if(!g){return;}const j=i?g[x(0x43b,0x450)](h['endDate']):g[x(0x444,0x455)](h[x(0x448,0x447)]);if(j){b[x(0x408,0x41e)](g,j,_scg['assign']({'block':i?'end':x(0x43a,0x455)},this['scrollOptions']));}}}[_sco(0x340,0x34c)](a){function y(a,b){return _sco(b,a- -0x4fb);}const b=this;super[y(-0x1af,-0x1a3)](a);if(!b[y(-0x1b6,-0x1b6)]){if(a){b[y(-0x1bf,-0x1d2)][y(-0x1ae,-0x1a1)]();}else{b[y(-0x1a4,-0x19c)][y(-0x1d4,-0x1df)][y(-0x1d7,-0x1f6)](b[y(-0x1bf,-0x1c9)]);b[y(-0x1b8,-0x1d0)]();}}}}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x140;let f=c[d];return f;};return _scb(a,b);}_scc['registerFeature'](ScrollButtons,![],'Scheduler');
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
:root, :host {
|
|
2
|
+
/**
|
|
3
|
+
* Simple event editor z-index (above event elements)
|
|
4
|
+
*/
|
|
5
|
+
--b-simple-event-edit-z-index : 100;
|
|
6
|
+
}
|
|
7
|
+
|
|
1
8
|
.b-simple-event-editor {
|
|
2
9
|
/**
|
|
3
10
|
* Background of the editor
|
|
@@ -9,9 +16,9 @@
|
|
|
9
16
|
border-radius : inherit;
|
|
10
17
|
|
|
11
18
|
/* Must be above the event elements */
|
|
12
|
-
z-index : 100;
|
|
13
19
|
|
|
14
20
|
--b-widget-floating-box-shadow : none;
|
|
21
|
+
z-index : var(--b-simple-event-edit-z-index);
|
|
15
22
|
|
|
16
23
|
&.b-target-has-border .b-field {
|
|
17
24
|
--b-text-field-border-width : 0;
|
package/lib/feature/Split.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _sca(){const C=['splitFrom','startDate','call','isHorizontal','getVirtualCoordFromDate','resources','horizontal','rtl','eventDrag','L{split}','atDate','unsplit','onElementResize','841644rLJYcx','then','freeze','features','reconfigure','remainingWidth','bodyContainer','L{unsplit}','add','center','atColumn','onReconfigure','35NqzszF','project','store','207lCxCIa','isVertical','left','timeAxisSubGridElement','afterConfigChange','selectedCollection','L{both}','client','isReconfiguring','resourceTimeRanges','b-icon\x20b-icon-split-both','eventLayout','end','direction','start','dependencies','forEach','assignmentStore','internalEventLayout','syncSplits','features.eventDrag.constrainDragToTimeline','vertical','round','17098026Rvaltm','10728280awyYyp','splitDirection','splitX','1SZzfzt','right','isBottomSplit','viewPreset','getDateFromCoordinate','L{vertically}','getClientConfig','split','unit','width','populateScheduleMenu','b-icon\x20b-icon-split-horizontal','isGanttBase','length','timeAxisSubGrid','isSchedulerBase','2319957uzEVdI','scrollable','crudManager','unsplitSchedule','timeRanges','isSplit','constrainDragToTimeline','7iPohGr','all','b-icon\x20b-icon-clear','Splitting\x20is\x20not\x20supported\x20in\x20vertical\x20mode','atRecord','disabled','pluginConfig','both','from','setPath','isSchedulerProBase','endDate','assignments','merge','2863000gMyWQA','timeAxis','registerFeature','b-icon\x20b-icon-split-vertical','5789640UdvMBZ','timeAxisColumn','182630RUYWCV','detachListeners','element','processOptions','scrollToDate','after'];_sca=function(){return C;};return _sca();}(function(a,b){const c=a();function l(a,b){return _scb(b- -0xca,a);}while(!![]){try{const d=parseInt(l(0x6,-0x2e))/0x1*(parseInt(l(-0x11,-0x9))/0x2)+-parseInt(l(0xf,-0x1e))/0x3+parseInt(l(-0x6,0x10))/0x4*(-parseInt(l(-0x62,-0x4c))/0x5)+parseInt(l(-0x38,-0x5))/0x6+-parseInt(l(0xe,-0x17))/0x7*(parseInt(l(-0x20,-0x31))/0x8)+-parseInt(l(-0x41,-0x49))/0x9*(-parseInt(l(-0x2e,-0x3))/0xa)+parseInt(l(-0x60,-0x32))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xbf508));import _scc from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';function _scm(a,b){return _scb(a-0x237,b);}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';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x7a;let f=c[d];return f;};return _scb(a,b);}import _scg from'@bryntum/core-thin/lib/helper/util/Rectangle.js';const startScrollOptions=Object['freeze']({'animate':![],'block':_scm(0x2c6,0x2ba)}),endScrollOptions=Object[_scm(0x313,0x329)]({'animate':![],'block':_scm(0x2c4,0x2c9)});export default class Split extends _scd{static ['$name']='Split';static ['configurable']={'relayProperties':{'value':{'barMargin':0x1,'eventColor':0x1,'eventStyle':0x1,'eventLayout':0x1,'fillTicks':0x1,'resourceMargin':0x1,'snap':0x1,'tickSize':0x1},'$config':{'merge':_scm(0x2f7,0x2fe)}}};static get[_scm(0x2f0,0x2ee)](){function n(a,b){return _scm(a- -0x2e6,b);}const a=super[n(0xa,0x3b)];a[n(0x1d,0x15)]['push'](n(-0x9,-0x2));return a;}['getClientConfig'](a,b,c,d){var e;const {client:f}=this,g=super[o(0x467,0x45c)](a,b,c,d);if(!f[o(0x470,0x460)]&&!f[o(0x482,0x460)]&&!f[o(0x46d,0x460)]){return g;}delete g[o(0x445,0x42c)];delete g['events'];delete g[o(0x497,0x4c7)];delete g[o(0x484,0x461)];delete g[o(0x455,0x442)];delete g[o(0x44f,0x45f)];function o(a,b){return _scm(a-0x18e,b);}delete g[o(0x475,0x456)];g['project']=f[o(0x444,0x474)];g[o(0x457,0x481)]=g['project']['assignmentStore'];g[o(0x473,0x442)]=f[o(0x473,0x490)];g['viewPreset']=f[o(0x464,0x475)];g[o(0x493,0x488)]=f[o(0x493,0x49a)];g['endDate']=f['endDate'];g[o(0x44b,0x444)]=f['selectedCollection'];g['useInitialAnimation']=![];g[o(0x451,0x474)]=f['internalEventLayout'];if(((e=g[o(0x4a2,0x4a4)])===null||e===void 0x0?void 0x0:e[o(0x49a,0x4ce)])!==![]){_scf[o(0x481,0x4b4)](g,o(0x45a,0x47e),![]);f['features']['eventDrag'][o(0x477,0x490)]=![];}if(c[o(0x453,0x444)]===o(0x498,0x47c)||c['direction']===o(0x47f,0x471)&&b!==0x1){g[o(0x463,0x44a)]=!![];}return g;}['unsplitCleanup'](a){function p(a,b){return _scm(b- -0x282,a);}this[p(0x64,0x3d)][p(0x33,0x5f)][p(0xc2,0x8e)]();}[_scm(0x2bc,0x2c5)](a){function q(a,b){return _scm(a- -0x464,b);}if(a['name']==='eventLayout'){if(this[q(-0x17c,-0x1a8)]){this[q(-0x199,-0x172)](b=>b[q(-0x1a1,-0x175)]=this['client'][q(-0x19a,-0x1a0)]);}}else{super[q(-0x1a8,-0x1d3)](a);}}[_scm(0x301,0x2f6)](a){const {client:b}=this,c=_scg[r(-0x1ed,-0x1fb)](b[r(-0x1e1,-0x1ed)]);let {atDate:d,atRecord:e}=a;if(a[r(-0x217,-0x228)]!==r(-0x209,-0x1e3)&&!a[r(-0x265,-0x23a)]&&!a[r(-0x1fc,-0x1ff)]&&!d){const f=b[r(-0x1ee,-0x216)](c[r(-0x262,-0x23b)]['x'],r(-0x247,-0x21f),![]);if(f){a[r(-0x20c,-0x1df)]=d=f;a[r(-0x24b,-0x23a)]=b[r(-0x1c6,-0x1f0)];}}function r(a,b){return _scm(b- -0x4ed,a);}if(d){if(!a[r(-0x259,-0x228)]){a[r(-0x232,-0x228)]=e?r(-0x1ed,-0x1fc):r(-0x220,-0x220);}a[r(-0x1f6,-0x21b)]=b[r(-0x1e9,-0x1e5)](d)-b[r(-0x1fb,-0x20c)][r(-0x1ed,-0x209)]['x'];if(b[r(-0x213,-0x1e2)]){a[r(-0x224,-0x21b)]+=c[r(-0x210,-0x211)]-_scg[r(-0x204,-0x1fb)](b['timeAxisSubGridElement'])[r(-0x1f2,-0x219)];}else{a[r(-0x1fc,-0x21b)]+=_scg[r(-0x1fe,-0x1fb)](b[r(-0x219,-0x232)],b[r(-0x201,-0x1d6)])[r(-0x21b,-0x233)];}a[r(-0x1ed,-0x1d7)]=c[r(-0x205,-0x211)]-a[r(-0x235,-0x21b)];}return super[r(-0x215,-0x1ec)](a);}async['split'](a={}){const {client:b}=this;this[s(0x2b5,0x2b0)](s(0x26a,0x24f));if(b[s(0x26f,0x265)]){throw new Error(s(0x2a3,0x29b));}const c=await super[s(0x290,0x281)](a),d=(e,f)=>{function t(a,b){return s(a-0x1d8,b);}e[t(0x4a3,0x498)]({'viewPreset':f['viewPreset'],'startDate':f['startDate'],'endDate':f[t(0x483,0x469)]});};if(c){if(a[s(0x2c4,0x2f1)]){await Promise[s(0x2a1,0x295)]([c[0x0][s(0x2b8,0x2a7)](_sce[s(0x267,0x293)](a[s(0x2c4,0x2cf)],-0x1,b['timeAxis'][s(0x291,0x288)]),endScrollOptions),c[0x1][s(0x2b8,0x293)](a[s(0x2c4,0x2cd)],startScrollOptions)]);}if(b['infiniteScroll']){if(a['direction']==='horizontal'){d(c[0x1][s(0x2af,0x28c)],c[0x0][s(0x2af,0x2ab)]);}if(a[s(0x27b,0x290)]===s(0x2a7,0x2ac)){d(c[0x2]['timeAxis'],c[0x0][s(0x2af,0x2d4)]);d(c[0x3]['timeAxis'],c[0x1]['timeAxis']);}}}b[s(0x297,0x2c3)]['scrollable']['x']+=0.5;c[s(0x27e,0x295)](e=>{function u(a,b){return s(b- -0x54f,a);}e[u(-0x2a6,-0x2a0)]['ion']({'name':u(-0x2e2,-0x2e5),'reconfigure':u(-0x2b2,-0x2e5),'thisObj':this});});function s(a,b){return _scm(a- -0x4a,b);}return c;}['populateCellMenu'](){}[_scm(0x2dd,0x2af)]({items:a,date:b,record:c}){function v(a,b){return _scm(b- -0x258,a);}const d=this,{isSplit:e}=d,{splitFrom:f}=d[v(0x72,0x67)];if(!d[v(0x76,0x97)]&&d[v(0x91,0x67)][v(0x7e,0xaf)]){a['splitSchedule']={'text':v(0xc2,0xb5),'localeClass':d,'icon':v(0xad,0xa3),'weight':0x1f4,'separator':!![],'hidden':e||f,'menu':{'splitHorizontally':{'text':'L{horizontally}','icon':v(0x76,0x86),'localeClass':d,'weight':0x64,'onItem'(){function w(a,b){return v(b,a-0xa8);}d['split']({'atRecord':c,'direction':w(0x15a,0x164)})[w(0x162,0x135)]();}},'splitVertically':{'text':v(0x8d,0x80),'icon':v(0x9a,0xa3),'localeClass':d,'weight':0xc8,'onItem'(){function x(a,b){return v(a,b- -0x115);}d[x(-0x7b,-0x93)]({'atDate':b})[x(-0x5b,-0x5b)]();}},'splitBoth':{'text':v(0x4d,0x66),'icon':v(0x53,0x6a),'localeClass':d,'weight':0x12c,'onItem'(){function y(a,b){return v(a,b-0x3d5);}d[y(0x445,0x457)]({'atDate':b,'atRecord':c,'direction':'both'})[y(0x4b2,0x48f)]();}}}};a[v(0x78,0x8e)]={'text':v(0xa9,0xc0),'localeClass':d,'icon':v(0x9e,0x94),'hidden':!(e||f),'weight':0x226,'onItem'(){function z(a,b){return v(a,b-0x9f);}(f||d)[z(0x166,0x156)]();}};}}[_scm(0x2b4,0x2de)]({suppressRefresh:a,config:b}){function A(a,b){return _scm(a-0x48,b);}const {client:c}=this;if(b&&!this[A(0x308,0x327)]){this[A(0x308,0x329)]=!![];const e=c['splitFrom']?c[A(0x34c,0x348)]:c;if(e[A(0x319,0x322)]&&e[A(0x319,0x31c)]!==A(0x315,0x31c)){var d;(d=c['syncSplits'])===null||d===void 0x0||d[A(0x34e,0x375)](c,f=>{var g,h;const {subViews:i}=e,j=i['indexOf'](f),k=i[B(-0x2ae,-0x2e0)]>0x2?j+(j>0x1?-0x1:0x1)*0x2:0x1-j;(g=i[j])===null||g===void 0x0||g[B(-0x295,-0x27b)][B(-0x279,-0x287)](b,a,![]);function B(a,b){return A(a- -0x5d6,b);}(h=i[k])===null||h===void 0x0||h[B(-0x295,-0x27a)][B(-0x279,-0x2a8)](b,a,![]);});}this['isReconfiguring']=![];}}}_scc[_scm(0x2fa,0x325)](Split,![],'Scheduler');
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
* Time selection body opacity
|
|
4
4
|
*/
|
|
5
5
|
--b-time-selection-opacity : 0.2;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Time selection z-index (above events)
|
|
9
|
+
*/
|
|
10
|
+
--b-time-selection-z-index : 10;
|
|
6
11
|
}
|
|
7
12
|
|
|
8
13
|
/* .b-bryntum { */
|
|
@@ -68,7 +73,7 @@
|
|
|
68
73
|
.b-vertical-time-axis-column {
|
|
69
74
|
.b-selected-time-span {
|
|
70
75
|
transition : none;
|
|
71
|
-
z-index :
|
|
76
|
+
z-index : var(--b-time-selection-z-index); /* Float above events*/
|
|
72
77
|
}
|
|
73
78
|
}
|
|
74
79
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function j(a,b){return _scb(a-
|
|
1
|
+
(function(a,b){const c=a();function j(a,b){return _scb(a- -0x1ea,b);}while(!![]){try{const d=parseInt(j(-0x12b,-0x10d))/0x1+parseInt(j(-0x10c,-0x113))/0x2*(-parseInt(j(-0x11e,-0x134))/0x3)+parseInt(j(-0x103,-0x11d))/0x4+parseInt(j(-0x10d,-0x120))/0x5+parseInt(j(-0x136,-0x11d))/0x6+parseInt(j(-0x128,-0x12d))/0x7*(parseInt(j(-0xfd,-0x10e))/0x8)+-parseInt(j(-0xf7,-0xf7))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x80202));import _scc from'./AbstractTimeRanges.js';function _sck(a,b){return _scb(b- -0x215,a);}import _scd from'./mixin/HeaderDragSelect.js';import _sce from'@bryntum/grid-thin/lib/feature/GridFeatureManager.js';import _scf from'@bryntum/core-thin/lib/helper/DateHelper.js';import _scg from'@bryntum/core-thin/lib/helper/DomHelper.js';_scg[_sck(-0x126,-0x133)](_sck(-0x166,-0x162));function _sca(){const C=['onUIReady','onTimeAxisHeaderClick','configurable','timeAxisViewModel','newY','getDistanceForDuration','target','1357655rnPosz','62810shiMFg','tooltipTemplate','timeRanges','refresh','loadStylesheet','increment','updateSelectedTimeSpan','onTimeAxisHeaderMouseDown','onResizeStart','3526268SmlJli','ion','stateProperties','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20class=\x27b-icon\x20b-icon-close\x27\x20data-ref=\x22closeButton\x22\x20data-btip=\x22L{Popup.close}\x22></i>','shouldRenderRange','TimelineBase','6716024wogRcU','onTimeRangeClick','round','getDateFromVirtualCoord','removeCls','offsetWidth','16766586dnZtXQ','closest','getHtml','element','onDragReset','call','unit','asMilliseconds','onTimeSpanDragSelected','@bryntum/scheduler-thin/lib/feature/TimeRanges.css','1342248WpnscA','.b-selected-time-span','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22b-selection-end\x22>','enableDragSelect','<span\x20class=\x22b-selection-start\x22>','offsetHeight','mixin','timeSelectionChange','$name','registerFeature','isHorizontal','422687DxkbXB','hoverTooltip','updateFromCoords','7QhZBio','elementWidth','onDrag','elementHeight','time-selection','bottomHeader','selectedTimeSpan','b-dragging-timerange','onDragStart','@bryntum/scheduler-thin/lib/feature/TimeSelection.css','24OgsfGu','newX','format','startDate','client','timeSelectionElementClick','[data-ref=\x22closeButton\x22]','timeSelection','disabled','trigger'];_sca=function(){return C;};return _sca();}_scg[_sck(-0x121,-0x133)](_sck(-0x16f,-0x14a));export default class TimeSelection extends _scc[_sck(-0x16c,-0x15b)](_scd){static [_sck(-0x17b,-0x159)]='TimeSelection';static [_sck(-0x147,-0x12c)]=['selectedTimeSpan'];static [_sck(-0x140,-0x13d)]={'enableResizing':!![],'showTooltip':![],'dragTipTemplate':null,'cls':'b-selected-time-span','dragHelperConfig':{'skipUpdatingElement':!![]},'resizeHelperConfig':{'skipUpdatingElement':!![]},'enableDragSelect':![],'headerRenderer'({timeRange:timeRange}){function l(a,b){return _sck(b,a-0x30);}const {dateFormat:dateFormat}=this[l(-0x115,-0x12b)][l(-0x10c,-0x116)][l(-0x11e,-0x11f)];return l(-0x12d,-0x149)+_scf[l(-0x117,-0x125)](timeRange[l(-0x116,-0x139)],dateFormat)+l(-0x12f,-0x13a)+_scf[l(-0x117,-0x13a)](timeRange['endDate'],dateFormat)+l(-0xfb,-0xfb);},'selectedTimeSpan':{'$config':null,'value':null,'default':null}};[_sck(-0x15a,-0x13f)](){function m(a,b){return _sck(a,b- -0xd9);}const a=this;super[m(-0x207,-0x218)]();if(a['hoverTooltip']){a[m(-0x20d,-0x22e)][m(-0x1ea,-0x1f9)]=()=>a[m(-0x1f5,-0x20f)]({...a[m(-0x215,-0x226)]});}a[m(-0x205,-0x21e)][m(-0x1f4,-0x206)]({'timeAxisHeaderMouseDown':m(-0x221,-0x209),'timeAxisHeaderClick':m(-0x1f2,-0x217),'thisObj':a});}[_sck(-0x13f,-0x130)]({startDate:a,endDate:b}){function n(a,b){return _sck(a,b- -0x15e);}if(!this[n(-0x2b4,-0x29f)]&&this[n(-0x2d2,-0x2bc)]){this[n(-0x28b,-0x2ab)]=null;}}['onTimeAxisHeaderClick']({startDate:a,endDate:b}){function o(a,b){return _sck(b,a-0x2e7);}if(!this[o(0x1a6,0x1bd)]){this[o(0x19a,0x1a0)]={'startDate':a,'endDate':b};}}[_sck(-0x139,-0x127)](a){super[p(0x3d7,0x3d0)](a);const b=this;function p(a,b){return _sck(b,a-0x4fe);}if(!b['disabled']&&a[p(0x3c5,0x3d8)][p(0x3dd,0x3d0)](p(0x39e,0x3bc))){if(a[p(0x3c5,0x3c3)]['matches'](p(0x3bb,0x3a9))){b[p(0x3b1,0x397)]=null;}else{b[p(0x3b9,0x3ce)][p(0x3be,0x3a5)](p(0x3ba,0x3cb),{...b['selectedTimeSpan'],'domEvent':a});}}}[_sck(-0x16f,-0x154)](a,b,c,d){const {client:e}=this,f=e[q(-0x128,-0x11d)]?c:d,g=e[q(-0x128,-0x14c)]?a:b,h=e['getDateFromVirtualCoord']({'coord':g,'roundingMethod':'round'})||e[q(-0x117,-0x117)],i=e[q(-0xf6,-0xd3)]({'coord':g+f,'roundingMethod':q(-0xf7,-0xec)})||e['endDate'];function q(a,b){return _sck(b,a-0x2f);}this['selectedTimeSpan']={'startDate':h,'endDate':i};}['onResizeStart']({source:a}){const {timeAxisViewModel:b,timeResolution:c}=this[r(-0x246,-0x24e)],d=_scf[r(-0x265,-0x282)](c[r(-0x233,-0x225)],c[r(-0x266,-0x283)]);function r(a,b){return _sck(b,a- -0x101);}this['resize']['minWidth']=b[r(-0x23b,-0x218)](d);super[r(-0x230,-0x24e)](...arguments);}['onResizeDrag']({context:a}){function s(a,b){return _sck(a,b-0x146);}this['updateFromCoords'](a[s(-0xe,-0x2)],a[s(0x7,0xb)],a['newWidth']??a[s(-0x21,-0xc)],a['newHeight']??a[s(-0x22,-0xa)]);}[_sck(-0x168,-0x14b)](a){super[t(-0x57,-0x57)](a);const {context:b}=a;function t(a,b){return _sck(b,a-0xf4);}b[t(-0x5e,-0x3d)]=b[t(-0x2b,-0x2c)][t(-0x2f,-0x49)];b[t(-0x5c,-0x44)]=b[t(-0x2b,-0x31)][t(-0x68,-0x7e)];}[_sck(-0x168,-0x151)]({context:a}){function u(a,b){return _sck(b,a-0x503);}this[u(0x3af,0x3ca)](a[u(0x3bb,0x3af)],a[u(0x3c8,0x3a9)],a[u(0x3b1,0x38f)],a[u(0x3b3,0x3c3)]);}['onDrop'](){function v(a,b){return _sck(a,b-0x41e);}this[v(0x2b8,0x2d9)][v(0x2e9,0x2fa)](v(0x2ea,0x2d2));}[_sck(-0x11c,-0x11e)](){function w(a,b){return _sck(a,b-0x235);}this[w(0x125,0x101)]();}get[_sck(-0x158,-0x135)](){function x(a,b){return _sck(a,b-0x4d8);}return this[x(0x36a,0x38b)]?[this['selectedTimeSpan']]:[];}[_sck(-0x14d,-0x12a)](){return!![];}['changeSelectedTimeSpan'](a){if(a){a['id']=y(-0x10a,-0x12b);}function y(a,b){return _sck(b,a-0x45);}return a;}[_sck(-0x130,-0x131)](a){function z(a,b){return _sck(b,a- -0x9);}if(!this['isConfiguring']){var b,c;this[z(-0x13d,-0x127)]();(b=(c=this[z(-0x14e,-0x143)])['syncSplits'])===null||b===void 0x0||b[z(-0x126,-0x121)](c,d=>{function A(a,b){return z(a-0x3b5,b);}d['features'][A(0x26a,0x264)]['selectedTimeSpan']=a;});}this[z(-0x14e,-0x132)]['trigger'](z(-0x163,-0x16d),{...a??{}});}[_sck(-0x178,-0x163)]({startDate:a,endDate:b}){function B(a,b){return _sck(a,b-0x11);}this[B(-0x143,-0x13c)]={'startDate':a,'endDate':b};}}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0xb0;let f=c[d];return f;};return _scb(a,b);}_sce[_sck(-0x166,-0x158)](TimeSelection,![],[_sck(-0x110,-0x129)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function i(a,b){return _scb(a-
|
|
1
|
+
(function(a,b){const c=a();function i(a,b){return _scb(a- -0x9,b);}while(!![]){try{const d=parseInt(i(0x166,0x19d))/0x1*(-parseInt(i(0x114,0x13c))/0x2)+-parseInt(i(0xfd,0x102))/0x3+-parseInt(i(0x165,0x160))/0x4*(parseInt(i(0x124,0x144))/0x5)+-parseInt(i(0x129,0xf4))/0x6+-parseInt(i(0x107,0xe6))/0x7*(parseInt(i(0x106,0x119))/0x8)+-parseInt(i(0x145,0x16f))/0x9+parseInt(i(0x131,0x155))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xb7546));import _scc from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _scd from'@bryntum/core-thin/lib/widget/DateField.js';function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x102;let f=c[d];return f;};return _scb(a,b);}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/Config.js';function _scj(a,b){return _scb(b- -0x2b9,a);}import _sch from'@bryntum/core-thin/lib/helper/util/Objects.js';const DH=_sce,productFeaturesToDisable={'calendar':[_scj(-0x124,-0x15b)],'scheduler':['eventResize',_scj(-0x199,-0x194),_scj(-0x17c,-0x160)]};export default class EditBase extends _scc{static [_scj(-0x19e,-0x19f)]={'continueEditingOnEventClick':![],'saveAndCloseOnEnter':!![],'triggerEvent':null,'dateFormat':'L','timeFormat':'LT','editorConfig':null,'items':null,'weekStartDay':null};[_scj(-0x12a,-0x14c)](a,b){const c=this;function k(a,b){return _scj(b,a-0xdd);}a[k(-0xbd,-0x93)]=c;super[k(-0x6f,-0x7b)](a,_scf[k(-0xc4,-0x8b)]({'weekStartDay':a['weekStartDay']},b));c[k(-0xa1,-0x92)]=a['ion']({[c[k(-0xc7,-0xff)]]:k(-0x9c,-0xd1),'dragCreateEnd':k(-0xb4,-0xe4),'eventAutoCreated':'onEventAutoCreated','thisObj':c});}[_scj(-0x189,-0x16f)](){var a;this['clientListenersDetacher']();(a=this[l(-0x29c,-0x28d)])===null||a===void 0x0||a[l(-0x2b9,-0x2f0)]();function l(a,b){return _scj(b,a- -0x126);}super[l(-0x295,-0x273)]();}[_scj(-0x187,-0x157)](){}['changeEditorConfig'](a){const {items:b}=this;if(b){a=_sch[m(0x39a,0x396)](a);a[m(0x3cf,0x405)]=_scg[m(0x3c4,0x3ab)](b,a[m(0x3cf,0x3f0)]);}function m(a,b){return _scj(b,a-0x517);}return a;}[_scj(-0x1ce,-0x1a0)](a){function n(a,b){return _scj(a,b-0x4e4);}this[n(0x395,0x38e)](a);return a;}[_scj(-0x18e,-0x156)](a){function o(a,b){return _scj(a,b-0x60f);}for(const b in a){const c=a[b];if(c===!![]){delete a[b];}else if(c!==null&&c!==void 0x0&&c[o(0x4f6,0x4c7)]){this[o(0x4ce,0x4b9)](c[o(0x495,0x4c7)]);}}}[_scj(-0x1da,-0x1a7)]({value:a,source:b}){const c=this;function p(a,b){return _scj(b,a-0x41e);}if(b[p(0x2d0,0x2cd)]['startsWith'](p(0x268,0x266))){if(a&&c[p(0x2b1,0x2bf)]){c[p(0x2b1,0x28a)][p(0x2cd,0x307)]=_sce[p(0x29e,0x2bf)](a,c[p(0x27c,0x275)],'ms');}if(c[p(0x2b1,0x2c6)]){c['endDateField'][p(0x2a7,0x2b9)]=a;}if(c[p(0x271,0x2a7)]){c[p(0x271,0x2a7)][p(0x2a7,0x28e)]=a;}}else if(b['ref'][p(0x269,0x275)](p(0x26a,0x28a))){var d;if(a&&(d=c['startDateField'])!==null&&d!==void 0x0&&d[p(0x2cd,0x2bd)]){c[p(0x27c,0x265)]=a-c[p(0x2bb,0x2b0)][p(0x2cd,0x297)];}}}async[_scj(-0x197,-0x182)](){throw new Error('Implement\x20in\x20subclass');}get[_scj(-0x1a5,-0x1ab)](){const {editor:a}=this,{values:b,childItems:c}=a,d=new Set();c[q(0x391,0x36f)](e=>{function r(a,b){return q(a,b- -0x1b2);}if(e['name']&&!e['hidden']){d[r(0x180,0x191)](e[r(0x1b2,0x18e)]);}});c[q(0x382,0x36f)](e=>{const {name:f}=e;if(!f||e['hidden']&&!d['has'](f)){delete b[f];}});if(b[q(0x352,0x342)]){b['resource']=this['resourceField']['valueCollection']['first'];}function q(a,b){return _scj(a,b-0x4c3);}if(this[q(0x386,0x36a)]){b[q(0x338,0x367)]=this[q(0x39c,0x36a)]['value'];}if(q(0x362,0x33e)in b&&q(0x2d9,0x313)in b){b[q(0x3aa,0x373)]=DH[q(0x347,0x31b)](b[q(0x313,0x33e)],b[q(0x337,0x313)],a[q(0x341,0x33a)]['durationUnit'],!![]);}return b;}[_scj(-0x1a6,-0x1ae)](a){}['onAfterSave'](a){}[_scj(-0x1a3,-0x18e)](a){const {values:b}=this;if(this['assignmentStore']){delete b[s(0x4e4,0x4ec)];}function s(a,b){return _scj(b,a-0x665);}this['_durationMS']=_sce[s(0x501,0x51b)](b[s(0x515,0x503)]??a[s(0x515,0x544)],a[s(0x4c0,0x4c0)]);return a[s(0x4f4,0x524)](b);}[_scj(-0x16f,-0x167)](){function t(a,b){return _scj(b,a-0x15e);}const {eventRecord:a,editor:b}=this[t(-0x14,-0x32)],{nameField:c}=b[t(-0xb,0x24)];if(c&&a[t(-0x31,-0x15)]){b[t(-0x38,-0x12)]=!![];c['value']='';b[t(-0x38,-0x45)]=![];c['_configuredPlaceholder']=c['placeholder'];c['placeholder']=a[t(-0x25,0x11)];}}[_scj(-0x14d,-0x158)](){function u(a,b){return _scj(b,a-0x1d3);}if(this[u(0x74,0xa6)]){this['onEditorHideShow'](![]);}}['onEditorShow'](){function v(a,b){return _scj(b,a-0x573);}if(this[v(0x414,0x41a)]){this[v(0x3d0,0x3fc)](!![]);}}[_scj(-0x18c,-0x1a3)](a){const {client:b}=this,{features:c}=b,d=productFeaturesToDisable[b[w(-0x18e,-0x15f)]?w(-0x1df,-0x1ae):w(-0x1a3,-0x1d4)];function w(a,b){return _scj(b,a- -0x30);}d[w(-0x184,-0x1a7)](e=>{function x(a,b){return w(b-0x14f,a);}if(a){this[e+x(-0x88,-0x67)]=c[e][x(-0x6e,-0x46)];c[e][x(-0x6d,-0x46)]=!![];}else{c[e][x(-0x6f,-0x46)]=this[e+x(-0x72,-0x67)];}});}['resetEditingContext'](){const a=this;if(!a[y(0x195,0x1c7)]){return;}const {client:b}=a,{editor:c,eventRecord:d}=a[y(0x1b6,0x1c7)],{eventStore:e}=b,{nameField:f}=c[y(0x1eb,0x1d0)];if(d['isCreating']){if(b['isTimelineBase']){var g;(g=a[y(0x197,0x1c7)][y(0x1ad,0x1df)])===null||g===void 0x0||(g=g['closest'](y(0x1b2,0x1c4)))===null||g===void 0x0||g[y(0x1f4,0x1d7)][y(0x1a1,0x1b9)](y(0x1d8,0x1a0));}e['remove'](d);d['isCreating']=![];}if(f){f[y(0x1c9,0x1d3)]=f[y(0x1af,0x1a7)];}function y(a,b){return _scj(a,b-0x339);}b[y(0x181,0x19c)](y(0x1a0,0x1be));a[y(0x1e4,0x1bd)]=a[y(0x1ef,0x1c7)]=a[y(0x209,0x1f0)]=c[y(0x1d4,0x1ae)]=null;}[_scj(-0x137,-0x15d)]({event:a}){const b=this;function z(a,b){return _scj(a,b-0x651);}if(!b[z(0x4dc,0x50b)]&&a[z(0x52d,0x4fc)]===z(0x508,0x4e7)&&b[z(0x4b8,0x4a5)]&&a[z(0x4c2,0x4dd)][z(0x4ce,0x4e5)][z(0x4ba,0x4c4)]()===z(0x4fc,0x4cd)){a[z(0x4dc,0x504)]();b[z(0x4a1,0x4a0)]();}}async['finalizeStmCapture'](a){}async[_scj(-0x1a9,-0x1b1)](){function A(a,b){return _scj(b,a-0xcf);}const a=this;a[A(-0xc8,-0x100)][A(-0xa1,-0xc4)]();a[A(-0x83,-0x52)]=!![];const b=await a['save']();a[A(-0x83,-0x4b)]=![];if(b){await a[A(-0xc6,-0xb4)](![]);if(!a[A(-0xc1,-0x96)]){a[A(-0xc8,-0xad)][A(-0xa9,-0x90)](a);a[A(-0xcc,-0xb9)]['trigger'](A(-0x80,-0x89),{...a['editingContext'],'action':A(-0xb3,-0xdc)});}}return b;}async[_scj(-0x165,-0x19e)](){const a=this;a[B(0xc9,0xe9)]=!![];function B(a,b){return _scj(b,a-0x237);}const b=await a[B(0xbd,0x96)]();a[B(0xc9,0xf5)]=![];if(b){await a['finalizeStmCapture'](![]);if(!a[B(0xa7,0x92)]){a[B(0xa0,0xc8)]['close'](a);a[B(0x9c,0x6d)]['trigger'](B(0xe8,0xb9),{...a[B(0xc5,0xe8)],'action':'delete'});}}}async[_scj(-0x14c,-0x147)](){const a=this,{client:b,editingContext:c}=a,d=document[C(0x1a,0x1d)],e=d&&b['resolveEventRecord'](d);if(e&&a['continueEditingOnEventClick']&&!a[C(0x3a,0x6f)][C(0x69,0x52)]){a[C(0x49,0x66)]();a[C(0x8c,0xbe)](e,b[C(0x70,0x5c)](d),d);a[C(0x3a,0x2b)][C(0x61,0x4a)]();}else{a[C(0x1f,-0x16)]=!![];a[C(0x3a,0x70)]['close'](a);a['isCancelingEdit']=![];if(a[C(0x2b,-0xf)]){await a[C(0x3c,0x3b)](!![]);}}function C(a,b){return _scj(b,a-0x1d1);}if(!a[C(0x41,0x61)]){a[C(0x36,0x12)][C(0x39,0x2d)](C(0x82,0x99),{...c,'action':C(0x47,0x24)});}}}function _sca(){const D=['afterEventEdit','ref','preventDefault','construct','91064WOCEph','77mZmEwV','resourceRecord','items','onCancelClick','readOnly','editEvent','activeElement','start','startsWith','end','28299uxKUwI','isCancelingEdit','onSaveClick','endDate','calendar','onBeforeSave','endTimeField','saveAndCloseOnEnter','values','120oSCdRh','276955fNXAkk','diff','onDatesChange','hasStmCapture','durationUnit','triggerEvent','onEditorHideShow','_durationMS','assign','changeItems','configurable','onDeleteClick','removeCls','9032Qclqpo','client','eventEdit','b-released','trigger','editor','assigningValues','finalizeStmCapture','eventDrag','destroy','_configuredPlaceholder','onDragCreateEnd','isDestroyed','isCreating','updateRecord','toLowerCase','235ptWCvL','_record','cancel','record','resetEditingContext','669396VyiLld','Disabled','startDate','input','name','save','resource','add','43760930gcuYMG','clientListenersDetacher','clone','targetEventElement','b-event-editor-editing','deleteEvent','onActivateEditor','close','min','_editor','[data-event-id]','target','scheduler','editingContext','set','focus','doDestroy','isDeletingEvent','endDateField','tagName','13436703VdXobC','Enter','widgetMap','_isRevertingFocus','onBeforeEditorShow','placeholder','disabled','asMilliseconds','startDateField','classList','resolveResourceRecord','eventDragCreate','continueEditingOnEventClick','isCalendar','onPopupKeyDown','recurrenceRule','drag','eventElement','editRecurrenceButton','onEditorHide','onEventAutoCreated','cleanItemsConfig','key','forEach','merge','isFinalizingEventSave','value','duration'];_sca=function(){return D;};return _sca();}
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
--b-dependency-terminal-z-index : calc(var(--b-event-resize-handle-zindex) + 1);
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Dependency connector proxy z-index
|
|
19
|
+
*/
|
|
20
|
+
--b-dependency-connector-z-index : 10;
|
|
21
|
+
|
|
17
22
|
/**
|
|
18
23
|
* Dependency terminal border width
|
|
19
24
|
*/
|
|
@@ -131,10 +136,10 @@
|
|
|
131
136
|
border-width : var(--b-dependency-terminal-border-width);
|
|
132
137
|
height : var(--b-dependency-terminal-size);
|
|
133
138
|
width : var(--b-dependency-terminal-size);
|
|
134
|
-
z-index : var(--b-dependency-terminal-z-index);
|
|
135
139
|
|
|
136
140
|
/* Push the terminals outside the event bar a little. */
|
|
137
141
|
--bi-terminal-start-end-offset : 80%;
|
|
142
|
+
z-index : var(--b-dependency-terminal-z-index);
|
|
138
143
|
|
|
139
144
|
@media (pointer : coarse) {
|
|
140
145
|
/* There has to be more separation for touch so that the terminal's */
|
|
@@ -240,9 +245,9 @@
|
|
|
240
245
|
position : absolute;
|
|
241
246
|
contain : strict;
|
|
242
247
|
border-top : 2px dashed var(--b-dependency-color);
|
|
243
|
-
z-index : 10;
|
|
244
248
|
transform-origin : 0 0;
|
|
245
249
|
pointer-events : none;
|
|
250
|
+
z-index : var(--b-dependency-connector-z-index);
|
|
246
251
|
|
|
247
252
|
&.b-removing {
|
|
248
253
|
transition : width 0.2s ease-out;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
:root, :host {
|
|
2
|
+
/**
|
|
3
|
+
* Header drag select z-index
|
|
4
|
+
*/
|
|
5
|
+
--b-header-drag-select-z-index : 100;
|
|
6
|
+
}
|
|
7
|
+
|
|
1
8
|
.b-colorize {
|
|
2
9
|
/**
|
|
3
10
|
* Background for the drag select rectangle
|
|
@@ -12,7 +19,7 @@
|
|
|
12
19
|
height : 100%;
|
|
13
20
|
transform-origin : 0 0;
|
|
14
21
|
pointer-events : none;
|
|
15
|
-
z-index :
|
|
22
|
+
z-index : var(--b-header-drag-select-z-index);
|
|
16
23
|
|
|
17
24
|
background : var(--b-header-drag-select-background);
|
|
18
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _scq(a,b){return _scb(a-0x2f,b);}function _sca(){const K=['event','updateAssignmentResourceIds','eventStore','trim','isScheduled','events','resource','10IKbHcR','project','barMargin','resourceId','5840037fFPZnD','assignmentStore','224HcFRNM','isFiltered','some','image','$name','endDate','getEventStartingAfter','assignments','8327726YDmxee','length','imageUrl','6605115dNNyUp','string','calendar','get','name','fields','4698108gQLRAj','number','call','add','ResourceModelMixin','65064DJGzuH','boolean','eventStyle','assigned','syncId','columnWidth','initials','forEach','parent','An\x20absolute\x20URL\x20to\x20an\x20image\x20representing\x20this\x20$$row','48AwlVKo','The\x20color\x20to\x20apply\x20to\x20all\x20events\x20for\x20this\x20$$row.','classDisplayName','eventLayout','eventColor','isPersistable','remove','startDate','includes','isWorkingTime','6991584lYcFrI','6250tndYfX','Name\x20of\x20the\x20$$row','16UFYZxP','isModel','unassignAll','set','resourceMargin','allowOverlap'];_sca=function(){return K;};return _sca();}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x8b;let f=c[d];return f;};return _scb(a,b);}(function(a,b){function p(a,b){return _scb(a-0x172,b);}const c=a();while(!![]){try{const d=parseInt(p(0x20c,0x203))/0x1*(-parseInt(p(0x237,0x24a))/0x2)+parseInt(p(0x22c,0x23a))/0x3*(parseInt(p(0x222,0x22d))/0x4)+parseInt(p(0x217,0x222))/0x5+-parseInt(p(0x236,0x243))/0x6+-parseInt(p(0x20a,0x217))/0x7+-parseInt(p(0x239,0x219))/0x8*(-parseInt(p(0x21d,0x209))/0x9)+parseInt(p(0x206,0x212))/0xa*(parseInt(p(0x214,0x21b))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0xa6b3e));export default a=>class b extends a{static [_scq(0xcd,0xaf)]=_scq(0xde,0xc1);static get['isResourceModel'](){return!![];}static get[_scq(0xd9,0xde)](){function r(a,b){return _scq(b-0x1b,a);}return[{'name':'name','type':r(0xea,0xf0),'description':r(0xfd,0x110)},{'name':'eventColor','type':'string','description':r(0xfc,0x105)},r(0xea,0xfc),{'name':r(0xe0,0xee),'type':r(0xd3,0xf0),'description':r(0xf7,0x103)},r(0xef,0xe7),r(0xf3,0xd5),{'name':r(0xe7,0xe0),'type':r(0xe1,0xf6)},{'name':r(0xf2,0xff),'type':r(0x10b,0xf6),'persist':![]},r(0x112,0x107),{'name':r(0xc3,0xd6),'type':r(0x10d,0xfb)},{'name':'showAvatar','type':r(0xe8,0xfb)}];}['updateAssignmentResourceIds'](){function s(a,b){return _scq(a-0xc2,b);}this[s(0x1a4,0x1af)]['forEach'](c=>{function t(a,b){return s(a- -0x251,b);}c[t(-0xc9,-0xbd)]=this['id'];});}[_scq(0xe3,0xe6)](c){super[u(-0x300,-0x304)](c);function u(a,b){return _scq(b- -0x3e7,a);}this[u(-0x315,-0x32a)]();}get['events'](){const c=new Set();this['assignments']['forEach'](d=>{function v(a,b){return _scb(a- -0x203,b);}if(d[v(-0x176,-0x15f)]){c[v(-0x155,-0x156)](d[v(-0x176,-0x186)]);}});return[...c];}get['assignments'](){function w(a,b){return _scq(a-0x316,b);}return this[w(0x3f8,0x3e9)]?[...this[w(0x3f8,0x3ec)]]:[];}set[_scq(0xd0,0xe0)](c){this[x(-0x30c,-0x302)][x(-0x2e5,-0x2e3)](this[x(-0x304,-0x2f9)]);function x(a,b){return _scq(a- -0x3d4,b);}c['forEach'](d=>{function y(a,b){return x(a-0x2e5,b);}d[y(-0x2d,-0x49)]=this;});}get[_scq(0xee,0xeb)](){function z(a,b){return _scq(b-0x141,a);}return super[z(0x226,0x22f)]&&(!this[z(0x245,0x228)]||this[z(0x22f,0x228)][z(0x213,0x22f)]);}[_scq(0xf8,0xfe)](){function A(a,b){return _scq(b-0xbe,a);}this[A(0x177,0x18e)]&&this[A(0x17c,0x186)][A(0x19c,0x1ad)](this[A(0x184,0x18e)]);}get[_scq(0xe5,0xc7)](){function B(a,b){return _scq(b- -0x1f3,a);}const {name:c}=this;if(!c){return'';}const d=c[B(-0x11a,-0x134)]()['split']('\x20'),e=d[0x0][0x0],f=d[B(-0x10f,-0x121)]>0x1?d[d['length']-0x1][0x0]:'';return e+f;}[_scq(0xf2,0xef)](c){var d,e;function C(a,b){return _scq(b-0x7b,a);}const f=this['effectiveCalendar']||((d=this[C(0x150,0x13f)])===null||d===void 0x0?void 0x0:d[C(0x14b,0x151)]);return!f||((e=f[C(0x151,0x16d)])===null||e===void 0x0?void 0x0:e[C(0x16b,0x157)](f,c));}[_scq(0xcf,0xb0)](c,d=!![]){var e,f;function D(a,b){return _scq(a- -0x40,b);}const g=this,h=c===null||c===void 0x0?void 0x0:c[D(0xb7,0xae)],i=h?c[D(0x8e,0x78)]:c,j=d&&(e=g[D(0x7e,0x79)])!==null&&e!==void 0x0&&e[D(0x8a,0x90)]?g[D(0x7e,0x69)]:null,k=d&&(f=g['assignmentStore'])!==null&&f!==void 0x0&&f[D(0x8a,0x91)]?g['assignmentStore']:null;let l=Number['MAX_VALUE'],m;g[D(0x81,0x84)][D(0xa6,0x89)](n=>{function E(a,b){return D(b-0x24c,a);}if(n!==c&&n[E(0x2dd,0x2cc)]&&n[E(0x2ef,0x2fc)]>=i&&n[E(0x2e2,0x2fc)]<l&&(!j||j[E(0x314,0x2fd)](n))&&(!k||n[E(0x2e7,0x2dc)][E(0x2bd,0x2d7)](o=>k['includes'](o)))){m=n;l=n['startDate'];}});return m;}['getEventEndingBefore'](c,d=!![]){var e,f;const g=this,h=c===null||c===void 0x0?void 0x0:c[F(0x34a,0x32e)],i=h?c[F(0x33b,0x327)]:c,j=d&&(e=g[F(0x2ea,0x2f5)])!==null&&e!==void 0x0&&e['isFiltered']?g[F(0x2e9,0x2f5)]:null,k=d&&(f=g[F(0x30a,0x2ff)])!==null&&f!==void 0x0&&f[F(0x301,0x301)]?g[F(0x303,0x2ff)]:null;let l=0x0,m;g[F(0x2f6,0x2f8)][F(0x30a,0x31d)](n=>{function G(a,b){return F(b,a- -0x4a3);}if(n!==c&&n[G(-0x1ac,-0x19c)]&&n[G(-0x19e,-0x188)]<=i&&n[G(-0x19e,-0x1a2)]>l&&(!j||j['includes'](n))&&(!k||n[G(-0x19c,-0x1a5)][G(-0x1a1,-0x1b4)](o=>k['includes'](o)))){m=n;l=n[G(-0x19e,-0x1a8)];}});function F(a,b){return _scq(b-0x237,a);}return m;}get[_scq(0xed,0x105)](){function H(a,b){return _scq(b- -0x40c,a);}var c;return this[H(-0x347,-0x335)](H(-0x314,-0x31f))||((c=this[H(-0x33c,-0x325)])===null||c===void 0x0?void 0x0:c[H(-0x302,-0x31f)]);}set[_scq(0xed,0xda)](c){function I(a,b){return _scq(a- -0x115,b);}this[I(-0x1c,-0x35)]('eventColor',c);}get[_scq(0xeb,0xdf)](){function J(a,b){return _scq(b-0xa7,a);}return this[J(0x16a,0x17e)](J(0x186,0x17f));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function H(a,b){return _scb(b-0x1a6,a);}while(!![]){try{const d=-parseInt(H(0x3b1,0x3c7))/0x1+parseInt(H(0x3cf,0x3bf))/0x2+-parseInt(H(0x384,0x373))/0x3*(-parseInt(H(0x36a,0x34b))/0x4)+-parseInt(H(0x33e,0x37f))/0x5*(parseInt(H(0x364,0x399))/0x6)+parseInt(H(0x37e,0x3af))/0x7+parseInt(H(0x3a4,0x371))/0x8*(-parseInt(H(0x382,0x386))/0x9)+-parseInt(H(0x3b2,0x3c0))/0xa*(-parseInt(H(0x3bd,0x3b9))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x48286));import _scc from'@bryntum/core-thin/lib/widget/Widget.js';import _scd from'@bryntum/core-thin/lib/helper/DomHelper.js';function _sca(){const a8=['style','changeFitWidth','innerHTML','destroy','columnWidth','groupParent','toLowerCase','name','avatarRendering','floor','encodeHtml','isArray','grid','2558437OIOSSO','insetEnd','updateImagePath','b-has-images','isGrouped','resourceStore','insetInlineStart','showAvatars','string','width','1216424XihipL','add','iconCls','children','field','updateWidthCache','807998MQqGew','10auETsj','removeall','sync','remove','getResourceWidth','@bryntum/scheduler-thin/lib/view/ResourceHeader.css','resourceheader','41704bGipWu','refreshScheduleWidth','getCurrentConfig','ion','meta','_columnWidth','100geWtZg','firstResource','lastResource','image','joinPaths','target','count','refresh','allResourceRecords','var(--b-color-','column','initials','push','updateAvailableWidth','element','resourceHeader','_resourceColumns','_fillWidth','processResourceHeader','toggleCls','length','renderResourceHeaders','html','capitalize','refreshingWidths','groupers','changeColumnWidth','imageExtension','refreshWidths','b-resource-header-group-text-wrap','call','renderer','insetStart','updateShowAvatars','b-grouped','getResourceAvatar','updateColumnWidth','construct','5192BqdggN','closest','11397soUROZ','instanceMeta','groupRenderer','fillWidth','features','trigger','imagePath','defaultImageName','fitWidth','ResourceHeader','includes','configuredFitWidth','5UEWdRo','onResourceStoreGroup','nullify','getImageURL','toggleEmptyText','changeFillWidth','_fitWidth','5814YmTnsc','eventColor','onResourceMouseEvent','forEach','groupChildren','getConfig','addTemporaryClass','configuredFillWidth','headerRenderer','type','group','isConfiguring','span','dataset','groupRowFor','resourceId','object','changeEvent','imageUrl','1311198ZPinEl','visibleResources','detachListeners','childCount','set','onResourceStoreDataChange','resourceColumnWidth','variableColumnWidths','.b-resource-header-cell'];_sca=function(){return a8;};return _sca();}function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x1a1;let f=c[d];return f;};return _scb(a,b);}import _sce from'@bryntum/core-thin/lib/helper/DomSync.js';import _scf from'@bryntum/core-thin/lib/helper/EventHelper.js';import _scg from'@bryntum/core-thin/lib/helper/util/DomClassList.js';function _scI(a,b){return _scb(b-0x1d,a);}import _sch from'@bryntum/core-thin/lib/helper/StringHelper.js';import _sci from'@bryntum/core-thin/lib/widget/util/AvatarRendering.js';_scd['loadStylesheet'](_scI(0x244,0x23c));export default class ResourceHeader extends _scc{static ['$name']=_scI(0x1cd,0x1f3);static [_scI(0x20e,0x206)]=_scI(0x23c,0x23d);static ['configurable']={'resourceStore':null,'headerRenderer':null,'showAvatars':{'value':!![],'$config':_scI(0x222,0x1f8)},'fillWidth':!![],'fitWidth':![],'columnWidth':0x96,'imagePath':null,'imageExtension':null,'defaultImageName':null,'availableWidth':null};[_scI(0x1a5,0x1c3)]=-0x1;['lastResource']=-0x1;[_scI(0x1df,0x1e7)](a){const b=this;a['scheduler'][J(-0x189,-0x187)]=b;super[J(-0x17c,-0x172)](a);if(b['imagePath']!=null){b['addCls'](J(-0x142,-0x130));}function J(a,b){return _scI(a,b- -0x359);}_scf['on']({'element':b[J(-0x162,-0x189)],'delegate':J(-0x122,-0x141),'capture':!![],'click':'onResourceMouseEvent','dblclick':'onResourceMouseEvent','contextmenu':'onResourceMouseEvent','thisObj':b});}['changeShowAvatars'](a){function K(a,b){return _scI(b,a- -0x2c8);}var b;(b=this[K(-0xa7,-0xbf)])===null||b===void 0x0||b[K(-0xac,-0xa3)]();if(a){this[K(-0xa7,-0x8f)]=new _sci({'element':this['element']});}return a;}[_scI(0x1db,0x1e3)](){if(!this['isConfiguring']){this['refresh']();}}['updateResourceStore'](a){function L(a,b){return _scI(b,a-0x1ce);}const b=this;b[L(0x3e0,0x3f4)](L(0x3f9,0x3e8));if(a){a[L(0x38d,0x3a4)]({'name':L(0x3f9,0x3b9),'changePreCommit':L(0x3e3,0x416),'group':L(0x3c5,0x396),'thisObj':b});if(a[L(0x396,0x396)]){b[L(0x3e3,0x3f7)]({});}}}[_scI(0x20e,0x23f)](){const {element:a,column:b,totalWidth:c}=this;function M(a,b){return _scI(a,b-0x9f);}if(c!==this[M(0x2ea,0x2ce)]){_scd['setLength'](a,M(0x2cc,0x2ce),c);b[M(0x273,0x2b3)]('width',c,b[M(0x2c0,0x2c4)][M(0x2d7,0x2a7)]);}}[_scI(0x222,0x1f7)](){function N(a,b){return _scI(b,a- -0x1a0);}this[N(0x9f,0xb5)]();}[_scI(0x240,0x215)]({action:a}){const b=this;b[O(0x2a8,0x274)](O(0x293,0x2b4));b['getConfig'](O(0x298,0x278));const {element:c}=b;function O(a,b){return _scI(b,a-0xa6);}if(b['scheduler'][O(0x2bd,0x2f2)]){b[O(0x279,0x293)]=b[O(0x2a2,0x26c)]=![];}else{b['_fillWidth']=b[O(0x2aa,0x290)];b[O(0x2a2,0x2c1)]=b[O(0x29b,0x28d)];}b[O(0x2e5,0x2be)]();if(a===O(0x2de,0x2a5)){c[O(0x2c1,0x299)]='';}if(a===O(0x2e0,0x313)||a===O(0x2d7,0x2bc)||a==='filter'||b['fitWidth']||b[O(0x293,0x2bb)]){b[O(0x284,0x279)]();}b[O(0x272,0x245)][O(0x2cb,0x2f8)][O(0x2a0,0x292)]();}get['totalWidth'](){function P(a,b){return _scI(b,a- -0x102);}return this[P(0x133,0x16c)]();}[_scI(0x21d,0x235)](){function Q(a,b){return _scI(a,b- -0x100);}let a=0x0;const {scheduler:b}=this;b[Q(0xe3,0x117)]=![];b[Q(0x113,0x12b)][Q(0x11d,0x100)](c=>{const d=c[R(0xbc,0xf2)](b);if(d[R(0x13d,0x124)]==null&&c[R(0x12c,0x124)]){d[R(0xf8,0x124)]=c[R(0x122,0x124)];}d[R(0x10d,0xe9)]=a;d[R(0x115,0x12e)]=a+b[R(0x13a,0x142)](c);function R(a,b){return Q(a,b-0x7);}if(d[R(0xfe,0x124)]==null){a+=b[R(0xe4,0x11d)];}else{a+=d[R(0x112,0x124)];b[R(0x140,0x11e)]=!![];}});return a;}[_scI(0x214,0x1dc)](a){function S(a,b){return _scI(a,b-0x1b8);}if(!this[S(0x3c6,0x392)]){this['configuredColumnWidth']=a;}return a;}[_scI(0x1d9,0x1e6)](a,b){const c=this;if(!c['refreshingWidths']){c[T(0x52e,0x4f0)]();}function T(a,b){return _scI(a,b-0x312);}if(!c[T(0x509,0x51a)]){if(c['resourceStore'][T(0x50b,0x53c)]){c['updateWidthCache']();}c[T(0x4fb,0x4db)]();c[T(0x4d5,0x501)]('columnWidthChange',{'width':a,'oldWidth':b});}}[_scI(0x1fb,0x1fb)](a){function U(a,b){return _scI(b,a-0x253);}return this[U(0x457,0x442)]=a;}['updateFillWidth'](){function V(a,b){return _scI(a,b- -0x145);}if(!this[V(0xc6,0xc3)]){this['refreshWidths']();}}[_scI(0x23d,0x21a)](a){function W(a,b){return _scI(b,a-0x1c5);}return this[W(0x3ba,0x3f3)]=a;}['updateFitWidth'](){function X(a,b){return _scI(b,a-0x182);}if(!this[X(0x38a,0x37a)]){this[X(0x360,0x33d)]();}}[_scI(0x21b,0x1f9)](a){function Y(a,b){return _scI(a,b-0x17b);}return _sch[Y(0x372,0x341)]([this[Y(0x34a,0x36b)]||'',a||''])+(a!==null&&a!==void 0x0&&a[Y(0x3ae,0x36f)]('.')?'':this[Y(0x355,0x358)]);}[_scI(0x25d,0x228)](){function Z(a,b){return _scI(b,a- -0x276);}if(!this['isConfiguring']){this[Z(-0xad,-0xcd)]();}}[_scI(0x1f5,0x1cf)](a){function a0(a,b){return _scI(a,b- -0x1e6);}this[a0(0xe,-0x8)]();}[_scI(0x1b3,0x1de)](){var a;const b=this,{availableWidth:c,configuredColumnWidth:d}=b,e=(a=b[a1(0x3c1,0x3c1)])===null||a===void 0x0?void 0x0:a['count'];if(!c||!e||b['scheduler'][a1(0x383,0x3ad)]){return;}b[a1(0x337,0x370)]=!![];const f=b[a1(0x38c,0x388)]||b[a1(0x392,0x383)]&&d*e<c,g=f?Math[a1(0x39b,0x3b8)](c/e):d,h=b['column'][a1(0x3bb,0x3bb)]['transition'][a1(0x3e0,0x3a4)]&&Math['abs'](b[a1(0x382,0x357)]-g)>0x1e;_scd[a1(0x3c0,0x399)](b[a1(0x388,0x366)],'b-animating',h?0x12c:0x0,b);b[a1(0x3f0,0x3b3)]=g;function a1(a,b){return _scI(a,b-0x196);}b['refreshingWidths']=![];}set[_scI(0x236,0x211)]({firstResource:a,lastResource:b}){this[a2(0x311,0x300)]=a;function a2(a,b){return _scI(a,b-0x13d);}this[a2(0x2e3,0x301)]=b;this[a2(0x3b0,0x372)]();this[a2(0x2d5,0x306)]();}[_scI(0x1a5,0x1c9)](){const a=this,{firstResource:b,scheduler:c,resourceStore:d,lastResource:e}=a,f=d[a3(0x335,0x346)]&&d[a3(0x2f4,0x2f7)][0x0][a3(0x340,0x350)];a[a3(0x321,0x2f1)](a3(0x2df,0x300),Boolean(f));function a3(a,b){return _scI(a,b-0x11c);}const g=a[a3(0x325,0x2f3)](b,e);_sce[a3(0x323,0x355)]({'domConfig':{'onlyChildren':!![],'children':g},'targetElement':a[a3(0x2ca,0x2ec)],'syncIdField':'resourceId','callback':({jsx:h,targetElement:i,domConfig:j})=>{function a4(a,b){return a3(b,a- -0x18b);}var k;(k=c[a4(0x165,0x15e)])===null||k===void 0x0||k[a4(0x171,0x174)](c,{'jsx':h,'targetElement':i,'domConfig':j});}});}[_scI(0x1cc,0x1d7)](a,b){const c=this,{scheduler:d,resourceStore:e}=c,{variableColumnWidths:f}=d,g=e[a5(0x40e,0x42d)]&&e['groupers'][0x0][a5(0x412,0x437)],h=[];function a5(a,b){return _scI(a,b-0x203);}if(!c[a5(0x39c,0x3cf)]['grid'][a5(0x3d8,0x40b)]&&a>-0x1&&b>-0x1&&b<e[a5(0x3cf,0x3cb)]){let m;for(let n=a;n<=b;n++){var j;const o=e[a5(0x390,0x3cd)][n],p=o[a5(0x423,0x3ee)](e)[a5(0x425,0x421)],q=p===null||p===void 0x0?void 0x0:p[a5(0x3fb,0x404)];if(g&&p['id']!==((j=m)===null||j===void 0x0?void 0x0:j[a5(0x420,0x40d)][a5(0x3dc,0x40f)])){var k;const v=q[0x0][a5(0x3bf,0x3ee)](d)[a5(0x3cd,0x3e5)],w=q[q[a5(0x3c8,0x3d9)]-0x1]['instanceMeta'](d)[a5(0x422,0x42a)]-v,x=(k=d[a5(0x3b5,0x3f1)][a5(0x44b,0x40a)])===null||k===void 0x0?void 0x0:k[a5(0x3d5,0x3e4)];let y=q[0x0][a5(0x40f,0x3ee)](e)[a5(0x3ff,0x421)][a5(0x3c1,0x3c3)][a5(0x3f1,0x40e)],z='text';if(x){const A=o[a5(0x423,0x3ee)](e)[a5(0x40e,0x421)],B=A[a5(0x3a2,0x3c3)],C=B[a5(0x40b,0x40e)],D=B[a5(0x3d6,0x416)];y=d[a5(0x3d4,0x3f1)][a5(0x42a,0x40a)][a5(0x3e6,0x3ef)]({'groupRowFor':C,'groupRecords':A['groupChildren'],'count':D});if(typeof y===a5(0x429,0x431)&&y[a5(0x3f1,0x3f7)]('<')){z=a5(0x3fa,0x3db);}else if(typeof y===a5(0x414,0x410)){z='children';y=[y];}}m={'className':'b-resource-header-group-cell','dataset':{'resourceId':p['id']},'style':{'insetInlineStart':v,'width':w},'children':[{'className':a5(0x416,0x3e2),'children':Array[a5(0x418,0x427)](y)?y:[{'tag':a5(0x442,0x40c),[z]:y}]},{'className':'b-resource-header-group-children','children':[]}]};h[a5(0x3cd,0x3d1)](m);}const r=o[a5(0x3dc,0x3ee)](d),s=r[a5(0x453,0x420)]||c[a5(0x416,0x420)],t=g?r[a5(0x3f4,0x3e5)]-m[a5(0x445,0x41c)][a5(0x411,0x42f)]:f?r['insetStart']:n*c['columnWidth'],u={'tabIndex':0x0,'className':new _scg({'b-resource-header-cell':0x1}),'dataset':{'resourceId':o['id']},'style':{'insetInlineStart':t,'width':s,'--b-resource-event-color':o['eventColor']&&a5(0x3d8,0x3ce)+o[a5(0x402,0x401)]+')'},'children':[]};if(c[a5(0x429,0x408)]){const E=c[a5(0x41c,0x408)]({'elementConfig':u,'resourceRecord':o});if(E){if(typeof E===a5(0x41c,0x431)){u['html']=E;}else if(typeof E===a5(0x424,0x410)){u[a5(0x3fa,0x436)]=[E];}}}else{let F;if(o[a5(0x43b,0x412)]){F=o[a5(0x3db,0x412)];}else if(c[a5(0x3e1,0x3f3)]!=null&&o[a5(0x397,0x3c8)]!==![]){var l;const G=o[a5(0x3b7,0x3c8)]||((l=o[a5(0x421,0x423)])===null||l===void 0x0?void 0x0:l[a5(0x3ea,0x422)]());F=G&&c[a5(0x400,0x3fc)](G);}u[a5(0x421,0x436)][a5(0x39f,0x3d1)](c[a5(0x416,0x430)]&&c[a5(0x43c,0x424)][a5(0x416,0x3e8)]({'resourceRecord':o,'initials':o[a5(0x3f0,0x3d0)],'color':o['eventColor'],'iconCls':o[a5(0x470,0x435)],'defaultImageUrl':c['defaultImageName']&&c[a5(0x3c8,0x3fc)](c[a5(0x3eb,0x3f4)]),'imageUrl':F}),{'tag':a5(0x3de,0x40c),'className':'b-resource-name','html':_sch[a5(0x426,0x426)](o[a5(0x460,0x423)])});}if(g){m[a5(0x450,0x436)][0x1][a5(0x473,0x436)][a5(0x3a7,0x3d1)](u);}else{h[a5(0x3d9,0x3d1)](u);}}}return h;}[_scI(0x230,0x1ff)](a){function a6(a,b){return _scI(a,b- -0x6);}const b=a[a6(0x1a2,0x1c1)][a6(0x1c1,0x1e3)]('.b-resource-header-cell'),c=this['resourceStore']['getById'](b[a6(0x1e7,0x204)][a6(0x1ee,0x206)]);this[a6(0x1d4,0x1e9)](a6(0x1e2,0x1cb)+_sch[a6(0x1ce,0x1d3)](a['type']),{'resourceRecord':c,'event':a});}['getCurrentConfig'](a){const b=super[a7(0x276,0x289)](a);delete b[a7(0x311,0x2f6)];delete b[a7(0x2bc,0x297)];function a7(a,b){return _scI(a,b-0xcb);}delete b['type'];return b;}}
|
|
1
|
+
(function(a,b){function H(a,b){return _scb(a- -0xe9,b);}const c=a();while(!![]){try{const d=-parseInt(H(0xaf,0xdc))/0x1*(parseInt(H(0x9e,0x8c))/0x2)+-parseInt(H(0xa9,0x9d))/0x3+parseInt(H(0x75,0x7a))/0x4*(parseInt(H(0xd8,0x104))/0x5)+-parseInt(H(0x7c,0x89))/0x6*(-parseInt(H(0xb3,0xa8))/0x7)+-parseInt(H(0xad,0x7e))/0x8*(-parseInt(H(0xd6,0x9b))/0x9)+parseInt(H(0x79,0x93))/0xa+parseInt(H(0xe3,0xb9))/0xb*(-parseInt(H(0xec,0x10d))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_sca,0x493ed));import _scc from'@bryntum/core-thin/lib/widget/Widget.js';import _scd from'@bryntum/core-thin/lib/helper/DomHelper.js';import _sce from'@bryntum/core-thin/lib/helper/DomSync.js';import _scf from'@bryntum/core-thin/lib/helper/EventHelper.js';import _scg from'@bryntum/core-thin/lib/helper/util/DomClassList.js';function _scI(a,b){return _scb(a- -0x10,b);}import _sch from'@bryntum/core-thin/lib/helper/StringHelper.js';function _sca(){const a9=['object','215536WTpApv','insetStart','getConfig','call','2226710aGEQuP','insetEnd','text','1714680vquWTW','b-resource-header-group-text-wrap','length','_columnWidth','target','var(--b-color-','image','columnWidth','abs','setLength','updateResourceStore','encodeHtml','visibleResources','getResourceAvatar','changeFitWidth','fillWidth','toggleEmptyText','columnWidthChange','resourceheader','instanceMeta','isArray','variableColumnWidths','b-resource-name','closest','destroy','resourceId','onResourceMouseEvent','b-animating','getCurrentConfig','defaultImageName','imageUrl','headerRenderer','avatarRendering','getImageURL','154FGSmlu','firstResource','getById','filter','updateShowAvatars','innerHTML','insetInlineStart','span','changeEvent','refreshWidths','refreshingWidths','1325802IgUbWI','grid','eventColor','children','64fWQTar','loadStylesheet','2572nApUXF','width','push','onResourceStoreDataChange','14RAZNtI','name','groupChildren','construct','toggleCls','renderResourceHeaders','renderer','updateImagePath','isConfiguring','updateAvailableWidth','.b-resource-header-cell','updateWidthCache','features','transition','nullify','add','processResourceHeader','ion','column','element','_fitWidth','string','_fillWidth','joinPaths','count','removeall','_resourceColumns','forEach','capitalize','html','changeColumnWidth','refresh','refreshScheduleWidth','addTemporaryClass','addCls','404892FRRCLk','ResourceHeader','45ZGbqbp','updateColumnWidth','allResourceRecords','floor','totalWidth','sync','field','getResourceWidth','fitWidth','lastResource','detachListeners','11NHWHhG','configuredFillWidth','b-resource-header-group-children','configuredFitWidth','updateFillWidth','group','onResourceStoreGroup','scheduler','resourceStore','8389200uFdvmN','meta','isGrouped','dataset','type','configurable','trigger','iconCls','resourceHeader','groupers','$name','groupParent','b-grouped','remove','includes','toLowerCase','groupRowFor','childCount'];_sca=function(){return a9;};return _sca();}import _sci from'@bryntum/core-thin/lib/widget/util/AvatarRendering.js';_scd[_scI(0x187,0x18e)]('@bryntum/scheduler-thin/lib/view/ResourceHeader.css');function _scb(a,b){const c=_sca();_scb=function(d,e){d=d-0x151;let f=c[d];return f;};return _scb(a,b);}export default class ResourceHeader extends _scc{static [_scI(0x145,0x152)]=_scI(0x1b0,0x1ab);static [_scI(0x1c9,0x1d3)]=_scI(0x167,0x135);static [_scI(0x1ca,0x1db)]={'resourceStore':null,'headerRenderer':null,'showAvatars':{'value':!![],'$config':_scI(0x19a,0x165)},'fillWidth':!![],'fitWidth':![],'columnWidth':0x96,'imagePath':null,'imageExtension':null,'defaultImageName':null,'availableWidth':null};[_scI(0x178,0x164)]=-0x1;[_scI(0x1ba,0x1d9)]=-0x1;[_scI(0x18f,0x180)](a){function J(a,b){return _scI(a-0x25a,b);}const b=this;a['scheduler'][J(0x400,0x412)]=b;super[J(0x3e9,0x425)](a);if(b['imagePath']!=null){b[J(0x408,0x43b)]('b-has-images');}_scf['on']({'element':b[J(0x3f9,0x43c)],'delegate':J(0x3f0,0x3d1),'capture':!![],'click':'onResourceMouseEvent','dblclick':J(0x3c9,0x3b5),'contextmenu':'onResourceMouseEvent','thisObj':b});}['changeShowAvatars'](a){var b;(b=this[K(-0x185,-0x16e)])===null||b===void 0x0||b[K(-0x18d,-0x1d2)]();if(a){this[K(-0x185,-0x152)]=new _sci({'element':this[K(-0x15b,-0x117)]});}function K(a,b){return _scI(a- -0x2fa,b);}return a;}[_scI(0x17b,0x186)](){function L(a,b){return _scI(b- -0x36d,a);}if(!this[L(-0x1de,-0x1d9)]){this['refresh']();}}[_scI(0x15f,0x15a)](a){const b=this;function M(a,b){return _scI(a-0xac,b);}b[M(0x267,0x296)](M(0x270,0x256));if(a){a[M(0x249,0x286)]({'name':M(0x270,0x2ac),'changePreCommit':M(0x237,0x208),'group':M(0x26e,0x245),'thisObj':b});if(a[M(0x250,0x26e)]){b[M(0x237,0x1f7)]({});}}}[_scI(0x1ac,0x172)](){const {element:a,column:b,totalWidth:c}=this;function N(a,b){return _scI(b-0x1a2,a);}if(c!==this[N(0x34a,0x32b)]){_scd[N(0x2ed,0x300)](a,N(0x36e,0x32b),c);b['set']('width',c,b[N(0x31d,0x325)][N(0x324,0x336)]);}}[_scI(0x1c2,0x1d2)](){function O(a,b){return _scI(b- -0x3bb,a);}this[O(-0x211,-0x20f)]();}[_scI(0x18b,0x15e)]({action:a,changes:b}){const c=this;c[P(-0x1a7,-0x199)](P(-0x193,-0x169));c['getConfig'](P(-0x13e,-0x16a));const {element:d}=c;function P(a,b){return _scI(a- -0x2f7,b);}if(c['scheduler'][P(-0x18d,-0x1b4)]){c[P(-0x155,-0x176)]=c['_fitWidth']=![];}else{c[P(-0x155,-0x153)]=c[P(-0x13a,-0xff)];c[P(-0x157,-0x167)]=c['configuredFitWidth'];}c['refreshScheduleWidth']();if(a===P(-0x152,-0x11b)){d[P(-0x17b,-0x178)]='';}if(a===P(-0x1af,-0x1af)||a===P(-0x15c,-0x19e)||a===P(-0x17d,-0x155)||c['fitWidth']||c[P(-0x193,-0x178)]){c[P(-0x177,-0x1a8)]();}if(b&&P(-0x19b,-0x18d)in b){c[P(-0x14c,-0x186)]();}c['column'][P(-0x174,-0x199)][P(-0x192,-0x1d2)]();}get[_scI(0x1b5,0x1a7)](){function Q(a,b){return _scI(b- -0x17d,a);}return this[Q(0x4,0x1a)]();}[_scI(0x197,0x1c2)](){function R(a,b){return _scI(a- -0x381,b);}let a=0x0;const {scheduler:b}=this;b['variableColumnWidths']=![];b['resourceStore'][R(-0x1da,-0x1f6)](c=>{const d=c['instanceMeta'](b);function S(a,b){return R(b-0x50d,a);}if(c[S(0x2bf,0x2e8)]){d['columnWidth']=c[S(0x2aa,0x2e8)];}d[S(0x30b,0x2db)]=a;d[S(0x2a5,0x2df)]=a+b[S(0x36c,0x344)](c);if(d['columnWidth']==null){a+=b['resourceColumnWidth'];}else{a+=d['columnWidth'];b[S(0x2d3,0x2f6)]=!![];}});return a;}[_scI(0x1aa,0x1aa)](a){function T(a,b){return _scI(a-0xab,b);}if(!this[T(0x22c,0x269)]){this['configuredColumnWidth']=a;}return a;}[_scI(0x1b2,0x17d)](a,b){function U(a,b){return _scI(a- -0x3d2,b);}const c=this;if(!c['refreshingWidths']){c[U(-0x252,-0x278)]();}if(!c['isConfiguring']){if(c[U(-0x20e,-0x1e1)][U(-0x20b,-0x216)]){c['updateWidthCache']();}c[U(-0x227,-0x237)]();c[U(-0x291,-0x26d)](U(-0x26c,-0x295),{'width':a,'oldWidth':b});}}['changeFillWidth'](a){function V(a,b){return _scI(a- -0x2eb,b);}return this[V(-0x12e,-0x10d)]=a;}[_scI(0x1c0,0x1cc)](){function W(a,b){return _scI(a- -0x38c,b);}if(!this[W(-0x1f8,-0x1c0)]){this[W(-0x20c,-0x1d4)]();}}[_scI(0x163,0x192)](a){function X(a,b){return _scI(b- -0xd1,a);}return this[X(0x111,0xee)]=a;}['updateFitWidth'](){function Y(a,b){return _scI(b-0x268,a);}if(!this['isConfiguring']){this[Y(0x3f5,0x3e8)]();}}['getImageURL'](a){function Z(a,b){return _scI(b- -0x108,a);}return _sch[Z(0x86,0x9b)]([this['imagePath']||'',a||''])+(a!==null&&a!==void 0x0&&a[Z(0x71,0x41)]('.')?'':this['imageExtension']);}[_scI(0x193,0x1bd)](){function a0(a,b){return _scI(b-0x34d,a);}if(!this[a0(0x511,0x4e1)]){this[a0(0x519,0x4f8)]();}}[_scI(0x195,0x1af)](a){function a1(a,b){return _scI(b- -0x21,a);}this[a1(0x168,0x15f)]();}[_scI(0x180,0x187)](){var a;const b=this,{availableWidth:c,configuredColumnWidth:d}=b,e=(a=b[a2(0x561,0x559)])===null||a===void 0x0?void 0x0:a[a2(0x518,0x539)];if(!c||!e||b[a2(0x538,0x558)][a2(0x516,0x4ff)]){return;}function a2(a,b){return _scI(b-0x395,a);}b[a2(0x4d4,0x516)]=!![];const f=b[a2(0x54d,0x54e)]||b[a2(0x505,0x4f9)]&&d*e<c,g=f?Math[a2(0x553,0x549)](c/e):d,h=b['column'][a2(0x513,0x518)][a2(0x512,0x52e)][a2(0x4ff,0x514)]&&Math[a2(0x4f0,0x4f2)](b[a2(0x532,0x4ed)]-g)>0x1e;_scd[a2(0x560,0x542)](b['element'],a2(0x530,0x505),h?0x12c:0x0,b);b[a2(0x4fe,0x4f1)]=g;b[a2(0x538,0x516)]=![];}set[_scI(0x161,0x182)]({firstResource:a,lastResource:b}){function a3(a,b){return _scI(a- -0x275,b);}this[a3(-0xfd,-0xfc)]=a;this[a3(-0xbb,-0xc4)]=b;this['updateWidthCache']();this[a3(-0xca,-0xcc)]();}[_scI(0x1ab,0x1cc)](){const a=this,{firstResource:b,scheduler:c,resourceStore:d,lastResource:e}=a,f=d['isGrouped']&&d[a4(0x3f8,0x3e7)][0x0]['field'];function a4(a,b){return _scI(b-0x2a3,a);}a[a4(0x418,0x433)](a4(0x3c8,0x3ea),Boolean(f));const g=a[a4(0x407,0x434)](b,e);_sce[a4(0x463,0x459)]({'domConfig':{'onlyChildren':!![],'children':g},'targetElement':a['element'],'syncIdField':a4(0x409,0x411),'callback':({jsx:h,targetElement:i,domConfig:j})=>{var k;function a5(a,b){return a4(b,a- -0x560);}(k=c[a5(-0x121,-0x11f)])===null||k===void 0x0||k[a5(-0x16c,-0x18f)](c,{'jsx':h,'targetElement':i,'domConfig':j});}});}[_scI(0x191,0x166)](a,b){const c=this,{scheduler:d,resourceStore:e}=c,{variableColumnWidths:f}=d,g=e[a6(0x187,0x170)]&&e[a6(0x104,0xf8)][0x0][a6(0x177,0x173)],h=[];function a6(a,b){return _scI(a- -0x40,b);}if(!c[a6(0x15e,0x12f)][a6(0x143,0x161)][a6(0x154,0x11c)]&&a>-0x1&&b>-0x1&&b<e['count']){let m;for(let n=a;n<=b;n++){var j;const o=e[a6(0x173,0x14d)][n],p=o[a6(0x128,0x118)](e)[a6(0x106,0x13c)],q=p===null||p===void 0x0?void 0x0:p[a6(0x14e,0x113)];if(g&&p['id']!==((j=m)===null||j===void 0x0?void 0x0:j[a6(0x188,0x18f)][a6(0x12e,0x12b)])){var k;const v=q[0x0][a6(0x128,0xf0)](d)['insetStart'],w=q[q[a6(0x117,0x148)]-0x1][a6(0x128,0x10b)](d)[a6(0x113,0xdf)]-v,x=(k=d[a6(0x158,0x136)][a6(0x181,0x16e)])===null||k===void 0x0?void 0x0:k[a6(0x152,0x196)];let y=q[0x0][a6(0x128,0x13f)](e)['groupParent'][a6(0x186,0x1ac)][a6(0x10b,0x128)],z=a6(0x114,0x153);if(x){const A=o[a6(0x128,0x119)](e)[a6(0x106,0x10e)],B=A[a6(0x186,0x145)],C=B[a6(0x10b,0x14d)],D=B[a6(0x10c,0xf0)];y=d['features'][a6(0x181,0x1ad)]['groupRenderer']({'groupRowFor':C,'groupRecords':A[a6(0x14e,0x123)],'count':D});if(typeof y===a6(0x161,0x125)&&y[a6(0x109,0xe2)]('<')){z=a6(0x169,0x132);}else if(typeof y===a6(0x10d,0x135)){z='children';y=[y];}}m={'className':'b-resource-header-group-cell','dataset':{'resourceId':p['id']},'style':{'insetInlineStart':v,'width':w},'children':[{'className':a6(0x116,0xe1),'children':Array[a6(0x129,0x157)](y)?y:[{'tag':'span',[z]:y}]},{'className':a6(0x17e,0x189),'children':[]}]};h[a6(0x14a,0x138)](m);}const r=o[a6(0x128,0xe9)](d),s=r[a6(0x11c,0x10b)]||c['columnWidth'],t=g?r[a6(0x10f,0xd5)]-m['style'][a6(0x13d,0x136)]:f?r[a6(0x10f,0x139)]:n*c[a6(0x11c,0x107)],u={'tabIndex':0x0,'className':new _scg({'b-resource-header-cell':0x1}),'dataset':{'resourceId':o['id']},'style':{'insetInlineStart':t,'width':s,'--b-resource-event-color':o[a6(0x144,0x178)]&&a6(0x11a,0x110)+o[a6(0x144,0x11d)]+')'},'children':[]};if(c['headerRenderer']){const E=c[a6(0x134,0x153)]({'elementConfig':u,'resourceRecord':o});if(E){if(typeof E==='string'){u[a6(0x169,0x1a5)]=E;}else if(typeof E===a6(0x10d,0x11e)){u[a6(0x145,0x121)]=[E];}}}else{let F;if(o[a6(0x133,0x135)]){F=o[a6(0x133,0xf1)];}else if(c['imagePath']!=null&&o[a6(0x11b,0xd6)]!==![]){var l;const G=o[a6(0x11b,0x146)]||((l=o[a6(0x14d,0x156)])===null||l===void 0x0?void 0x0:l[a6(0x10a,0x145)]());F=G&&c[a6(0x136,0x162)](G);}u['children']['push'](c['showAvatars']&&c['avatarRendering'][a6(0x122,0x123)]({'resourceRecord':o,'initials':o['initials'],'color':o[a6(0x144,0x164)],'iconCls':o[a6(0x102,0x126)],'defaultImageUrl':c[a6(0x132,0x163)]&&c[a6(0x136,0x117)](c[a6(0x132,0xfe)]),'imageUrl':F}),{'tag':a6(0x13e,0x11a),'className':a6(0x12b,0x13c),'html':_sch[a6(0x120,0x133)](o['name'])});}if(g){m[a6(0x145,0x14a)][0x1][a6(0x145,0x140)][a6(0x14a,0x17f)](u);}else{h['push'](u);}}}return h;}['onResourceMouseEvent'](a){const b=a[a7(0x2e,-0xf)][a7(0x2,0x4)](a7(0x4,0x2e)),c=this[a7(0x47,0x5c)][a7(-0x19,0x11)](b[a7(0x74,0x60)]['resourceId']);function a7(a,b){return _scI(b- -0x168,a);}this[a7(-0x65,-0x27)](a7(0xb,-0x25)+_sch[a7(0x4a,0x40)](a['type']),{'resourceRecord':c,'event':a});}[_scI(0x171,0x136)](a){const b=super['getCurrentConfig'](a);function a8(a,b){return _scI(a- -0x80,b);}delete b[a8(0x144,0x180)];delete b['column'];delete b[a8(0x149,0x149)];return b;}}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
:root, :host {
|
|
2
2
|
--b-top-canvas-zindex : 1000;
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Timeline loading indicator z-index
|
|
6
|
+
*/
|
|
7
|
+
--b-timeline-loading-indicator-z-index : 100;
|
|
3
8
|
}
|
|
4
9
|
|
|
5
10
|
.b-timeline-base {
|
|
@@ -41,7 +46,7 @@
|
|
|
41
46
|
display : flex;
|
|
42
47
|
width : 100%;
|
|
43
48
|
height : 2px;
|
|
44
|
-
z-index :
|
|
49
|
+
z-index : var(--b-timeline-loading-indicator-z-index);
|
|
45
50
|
}
|
|
46
51
|
|
|
47
52
|
.b-timeline-loading-indicator-wrap {
|