@bryntum/engine-thin-trial 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -0
- package/entry.engine.js +51 -0
- package/entry.gantt.js +9 -0
- package/entry.js +3 -0
- package/entry.pro.js +84 -0
- package/lib/ChronoGraph/benchmark/Benchmark.js +1 -0
- package/lib/ChronoGraph/chrono/CycleResolver.js +1 -0
- package/lib/ChronoGraph/chrono/Effect.js +1 -0
- package/lib/ChronoGraph/chrono/Graph.js +1 -0
- package/lib/ChronoGraph/chrono/Identifier.js +1 -0
- package/lib/ChronoGraph/chrono/Quark.js +1 -0
- package/lib/ChronoGraph/chrono/Revision.js +1 -0
- package/lib/ChronoGraph/chrono/Transaction.js +1 -0
- package/lib/ChronoGraph/chrono/TransactionCycleDetectionWalkContext.js +1 -0
- package/lib/ChronoGraph/chrono/TransactionWalkDepth.js +1 -0
- package/lib/ChronoGraph/class/Base.js +1 -0
- package/lib/ChronoGraph/class/BetterMixin.js +1 -0
- package/lib/ChronoGraph/class/Mixin.js +1 -0
- package/lib/ChronoGraph/class/RequiredProperty.js +1 -0
- package/lib/ChronoGraph/collection/Collection.js +0 -0
- package/lib/ChronoGraph/collection/Iterator.js +1 -0
- package/lib/ChronoGraph/collection/walk_depth/WalkDepthopedia.js +1 -0
- package/lib/ChronoGraph/cycle_resolver/CycleResolver.js +1 -0
- package/lib/ChronoGraph/environment/Debug.js +1 -0
- package/lib/ChronoGraph/event/Event.js +1 -0
- package/lib/ChronoGraph/event/Hook.js +1 -0
- package/lib/ChronoGraph/graph/Graph.js +1 -0
- package/lib/ChronoGraph/graph/Node.js +1 -0
- package/lib/ChronoGraph/graph/WalkDepth.js +1 -0
- package/lib/ChronoGraph/guides/AdvancedFeatures.js +1 -0
- package/lib/ChronoGraph/guides/BasicFeatures.js +1 -0
- package/lib/ChronoGraph/guides/Benchmarks.js +1 -0
- package/lib/ChronoGraph/guides/CycleResolver.js +1 -0
- package/lib/ChronoGraph/lab/Lab.js +0 -0
- package/lib/ChronoGraph/lab/LinkedList.js +0 -0
- package/lib/ChronoGraph/lab/Meta.js +1 -0
- package/lib/ChronoGraph/lab/StaticDefinitions.t.js +0 -0
- package/lib/ChronoGraph/lab/TreeNode.js +0 -0
- package/lib/ChronoGraph/lab/TreeNodeBucket.js +0 -0
- package/lib/ChronoGraph/lab/TreeNodeReference.js +0 -0
- package/lib/ChronoGraph/primitives/Calculation.js +1 -0
- package/lib/ChronoGraph/replica/Entity.js +1 -0
- package/lib/ChronoGraph/replica/Identifier.js +1 -0
- package/lib/ChronoGraph/replica/Reference.js +1 -0
- package/lib/ChronoGraph/replica/ReferenceBucket.js +1 -0
- package/lib/ChronoGraph/replica/Replica.js +1 -0
- package/lib/ChronoGraph/schema/EntityMeta.js +1 -0
- package/lib/ChronoGraph/schema/Field.js +1 -0
- package/lib/ChronoGraph/schema/Schema.js +1 -0
- package/lib/ChronoGraph/util/Helpers.js +1 -0
- package/lib/ChronoGraph/util/LeveledQueue.js +1 -0
- package/lib/ChronoGraph/util/Uniqable.js +1 -0
- package/lib/ChronoGraph/visualization/Cytoscape.js +1 -0
- package/lib/calendar/CalendarCache.js +1 -0
- package/lib/calendar/CalendarCacheInterval.js +1 -0
- package/lib/calendar/CalendarCacheIntervalMultiple.js +1 -0
- package/lib/calendar/CalendarCacheMultiple.js +1 -0
- package/lib/calendar/CalendarCacheSingle.js +1 -0
- package/lib/calendar/CalendarIntervalMixin.js +1 -0
- package/lib/calendar/CalendarIntervalStore.js +1 -0
- package/lib/calendar/IntervalCache.js +1 -0
- package/lib/calendar/SortedMap.js +1 -0
- package/lib/calendar/UnspecifiedTimeIntervalModel.js +1 -0
- package/lib/chrono/ChronoModelMixin.js +1 -0
- package/lib/chrono/Conflict.js +1 -0
- package/lib/chrono/ModelFieldAtom.js +1 -0
- package/lib/chrono/Replica.js +1 -0
- package/lib/chrono/SchedulingIssueEffect.js +1 -0
- package/lib/localization/Ar.js +94 -0
- package/lib/localization/Bg.js +94 -0
- package/lib/localization/Ca.js +94 -0
- package/lib/localization/Cs.js +94 -0
- package/lib/localization/Da.js +94 -0
- package/lib/localization/De.js +94 -0
- package/lib/localization/El.js +94 -0
- package/lib/localization/En.js +94 -0
- package/lib/localization/EnGb.js +94 -0
- package/lib/localization/Es.js +94 -0
- package/lib/localization/Et.js +94 -0
- package/lib/localization/Eu.js +94 -0
- package/lib/localization/Fi.js +94 -0
- package/lib/localization/FrFr.js +94 -0
- package/lib/localization/Gl.js +94 -0
- package/lib/localization/He.js +94 -0
- package/lib/localization/Hi.js +94 -0
- package/lib/localization/Hr.js +94 -0
- package/lib/localization/Hu.js +94 -0
- package/lib/localization/Id.js +94 -0
- package/lib/localization/It.js +94 -0
- package/lib/localization/Ja.js +94 -0
- package/lib/localization/Kk.js +94 -0
- package/lib/localization/Ko.js +94 -0
- package/lib/localization/Lt.js +94 -0
- package/lib/localization/Lv.js +94 -0
- package/lib/localization/Ms.js +94 -0
- package/lib/localization/Nl.js +94 -0
- package/lib/localization/No.js +94 -0
- package/lib/localization/Pl.js +94 -0
- package/lib/localization/Pt.js +94 -0
- package/lib/localization/PtBr.js +94 -0
- package/lib/localization/Ro.js +94 -0
- package/lib/localization/Ru.js +94 -0
- package/lib/localization/Sk.js +94 -0
- package/lib/localization/Sl.js +94 -0
- package/lib/localization/Sr.js +94 -0
- package/lib/localization/SrRs.js +94 -0
- package/lib/localization/SvSE.js +94 -0
- package/lib/localization/Th.js +94 -0
- package/lib/localization/Tr.js +94 -0
- package/lib/localization/Uk.js +94 -0
- package/lib/localization/Vi.js +94 -0
- package/lib/localization/ZhCn.js +94 -0
- package/lib/localization/ZhTw.js +94 -0
- package/lib/quark/AbstractPartOfProjectGenericMixin.js +1 -0
- package/lib/quark/ChronoPartOfProjectGenericMixin.js +1 -0
- package/lib/quark/CorePartOfProjectGenericMixin.js +1 -0
- package/lib/quark/Types.js +0 -0
- package/lib/quark/model/AbstractCalendarMixin.js +1 -0
- package/lib/quark/model/AbstractHasAssignmentsMixin.js +1 -0
- package/lib/quark/model/AbstractProjectMixin.js +1 -0
- package/lib/quark/model/gantt/ConstrainedByParentMixin.js +1 -0
- package/lib/quark/model/gantt/ConstrainedByParentScheduleMixin.js +1 -0
- package/lib/quark/model/gantt/ConstrainedLateEventMixin.js +1 -0
- package/lib/quark/model/gantt/ConstrainedLateScheduleMixin.js +1 -0
- package/lib/quark/model/gantt/GanttEvent.js +1 -0
- package/lib/quark/model/gantt/GanttEventScheduleMixin.js +1 -0
- package/lib/quark/model/gantt/GanttProjectMixin.js +1 -0
- package/lib/quark/model/gantt/GanttProjectScheduleMixin.js +1 -0
- package/lib/quark/model/gantt/GanttTimePhasedAssignmentMixin.js +1 -0
- package/lib/quark/model/gantt/HasCriticalPathsMixin.js +1 -0
- package/lib/quark/model/gantt/InactiveEventMixin.js +1 -0
- package/lib/quark/model/gantt/InactiveEventScheduleMixin.js +1 -0
- package/lib/quark/model/gantt/scheduling_modes/FixedEffortDispatcher.js +1 -0
- package/lib/quark/model/gantt/scheduling_modes/FixedEffortMixin.js +1 -0
- package/lib/quark/model/gantt/scheduling_modes/FixedUnitsDispatcher.js +1 -0
- package/lib/quark/model/gantt/scheduling_modes/FixedUnitsMixin.js +1 -0
- package/lib/quark/model/mixin/AbstractPartOfProjectModelMixin.js +1 -0
- package/lib/quark/model/mixin/ChronoPartOfProjectModelMixin.js +1 -0
- package/lib/quark/model/mixin/CorePartOfProjectModelMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/BaseAssignmentMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/BaseCalendarMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/BaseDependencyMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/BaseEventDispatcher.js +1 -0
- package/lib/quark/model/scheduler_basic/BaseEventMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/BaseHasAssignmentsMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/BaseResourceMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/ChronoAbstractProjectMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/HasCalendarMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/HasChildrenMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/HasDependenciesMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/HasSubEventsMixin.js +1 -0
- package/lib/quark/model/scheduler_basic/SchedulerBasicEvent.js +1 -0
- package/lib/quark/model/scheduler_basic/SchedulerBasicProjectMixin.js +1 -0
- package/lib/quark/model/scheduler_core/CoreAssignmentMixin.js +1 -0
- package/lib/quark/model/scheduler_core/CoreCalendarMixin.js +1 -0
- package/lib/quark/model/scheduler_core/CoreDependencyMixin.js +1 -0
- package/lib/quark/model/scheduler_core/CoreEventMixin.js +1 -0
- package/lib/quark/model/scheduler_core/CoreHasAssignmentsMixin.js +1 -0
- package/lib/quark/model/scheduler_core/CoreHasDependenciesMixin.js +1 -0
- package/lib/quark/model/scheduler_core/CoreResourceMixin.js +1 -0
- package/lib/quark/model/scheduler_core/SchedulerCoreEvent.js +1 -0
- package/lib/quark/model/scheduler_core/SchedulerCoreProjectMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/ConstrainedByDependenciesEventMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/ConstrainedByDependenciesEventScheduleMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/ConstrainedEarlyEventMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/ConstrainedScheduleMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/CostResourceAllocationInfoMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/DelayFromParentMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/DelayFromParentScheduleMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/HasCostSubEventsMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/HasDateConstraintMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/HasDateConstraintScheduleMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/HasEffortDispatcher.js +1 -0
- package/lib/quark/model/scheduler_pro/HasEffortMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/HasPercentDoneMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/HasSchedulingModeMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/MaterialResourceAllocationInfoMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/ResourceAllocationInfo.js +1 -0
- package/lib/quark/model/scheduler_pro/SchedulerProAssignmentMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/SchedulerProDependencyMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/SchedulerProEvent.js +1 -0
- package/lib/quark/model/scheduler_pro/SchedulerProEventSegment.js +1 -0
- package/lib/quark/model/scheduler_pro/SchedulerProHasAssignmentsMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/SchedulerProHasTimePhasedAssignmentsMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/SchedulerProProjectMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/SchedulerProResourceMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/SchedulerProTimePhasedAssignmentMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/SplitEventMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/TimePhasedAssignmentStructureDispatcher.js +1 -0
- package/lib/quark/model/scheduler_pro/TimePhasedEventAssignmentDispatcher.js +1 -0
- package/lib/quark/model/scheduler_pro/WorkResourceAllocationInfoMixin.js +1 -0
- package/lib/quark/model/scheduler_pro/scheduling_modes/FixedDurationDispatcher.js +1 -0
- package/lib/quark/model/scheduler_pro/scheduling_modes/FixedDurationMixin.js +1 -0
- package/lib/quark/store/AbstractAssignmentStoreMixin.js +1 -0
- package/lib/quark/store/AbstractCalendarManagerStoreMixin.js +1 -0
- package/lib/quark/store/AbstractDependencyStoreMixin.js +1 -0
- package/lib/quark/store/AbstractEventStoreMixin.js +1 -0
- package/lib/quark/store/AbstractResourceStoreMixin.js +1 -0
- package/lib/quark/store/ChronoAssignmentStoreMixin.js +1 -0
- package/lib/quark/store/ChronoCalendarManagerStoreMixin.js +1 -0
- package/lib/quark/store/ChronoDependencyStoreMixin.js +1 -0
- package/lib/quark/store/ChronoEventStoreMixin.js +1 -0
- package/lib/quark/store/ChronoResourceStoreMixin.js +1 -0
- package/lib/quark/store/CoreAssignmentStoreMixin.js +1 -0
- package/lib/quark/store/CoreCalendarManagerStoreMixin.js +1 -0
- package/lib/quark/store/CoreDependencyStoreMixin.js +1 -0
- package/lib/quark/store/CoreEventStoreMixin.js +1 -0
- package/lib/quark/store/CoreResourceStoreMixin.js +1 -0
- package/lib/quark/store/mixin/AbstractPartOfProjectStoreMixin.js +1 -0
- package/lib/quark/store/mixin/ChronoPartOfProjectStoreMixin.js +1 -0
- package/lib/quark/store/mixin/ChronoStoreMixin.js +1 -0
- package/lib/quark/store/mixin/CorePartOfProjectStoreMixin.js +1 -0
- package/lib/scheduling/DateInterval.js +1 -0
- package/lib/scheduling/DurationConverterMixin.js +1 -0
- package/lib/scheduling/Types.js +1 -0
- package/lib/util/BinarySearch.js +1 -0
- package/lib/util/Constants.js +1 -0
- package/lib/util/Functions.js +1 -0
- package/lib/util/Queue.js +1 -0
- package/lib/util/StripDuplicates.js +1 -0
- package/lib/util/Types.js +1 -0
- package/lib/vendor/later/later.js +1 -0
- package/package.json +24 -0
- package/postinstall.cjs +11 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function h(a,b){return _enb(b- -0x2fc,a);}const c=a();while(!![]){try{const d=-parseInt(h(-0x1e6,-0x1e9))/0x1*(-parseInt(h(-0x1c7,-0x1ce))/0x2)+parseInt(h(-0x1dd,-0x1de))/0x3+parseInt(h(-0x1d9,-0x1e5))/0x4*(parseInt(h(-0x1d9,-0x1d5))/0x5)+parseInt(h(-0x1f3,-0x1e8))/0x6+parseInt(h(-0x1cc,-0x1d2))/0x7*(-parseInt(h(-0x1c9,-0x1cd))/0x8)+parseInt(h(-0x1e1,-0x1df))/0x9+-parseInt(h(-0x1db,-0x1e2))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xe1aab));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{AbstractPartOfProjectStoreMixin}from'../../store/mixin/AbstractPartOfProjectStoreMixin.js';function _ena(){const p=['1205859BANvPP','isFillingFromMaster','prototype','getAsync','isRestoringData','untrackRecordFieldChanges','calculateProject','unjoinStore','project','8528365ZomRlo','graph','stm','217861TiQCYV','joinProject','call','leaveProject','92YqtlmJ','152scjWZY','isRestoring','setAsync','joinStore','4345jLxXcP','4120194IZtHlf','stores','commitAsync','4vZvzAy','set','isChained','26039380CXNmoq','setProject','getProject','10128699yGNOUo'];_ena=function(){return p;};return _ena();}import{AbstractPartOfProjectGenericMixin}from'../../AbstractPartOfProjectGenericMixin.js';import _enc from'@bryntum/core-thin/lib/data/Model.js';import{isInstanceOf}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';class AbstractPartOfProjectModelMixin extends Mixin([AbstractPartOfProjectGenericMixin,_enc],a=>{const b=a[i(0x161,0x16f)];function i(a,b){return _enb(a-0x41,b);}class c extends a{[i(0x153,0x146)](d){let e=null;if(isInstanceOf(d,AbstractPartOfProjectStoreMixin)){const f=d['getProject']();if(f&&!this[j(-0x26e,-0x26c)]()){this[j(-0x27d,-0x26d)](f);e=f;}}b[j(-0x27f,-0x276)][j(-0x26c,-0x25c)](this,d);function j(a,b){return i(b- -0x3c9,a);}if(e&&!e['isRepopulatingStores'])this[j(-0x265,-0x25d)]();}[i(0x166,0x168)](d,e=![]){b['unjoinStore'][k(-0x27e,-0x27c)](this,d,e);const {project:f}=this;const g=isInstanceOf(d,AbstractPartOfProjectStoreMixin)&&!d[k(-0x289,-0x289)]&&f===(d[k(-0x289,-0x28f)]&&d[k(-0x275,-0x282)]?d['masterStore']['project']:d[k(-0x282,-0x282)]);function k(a,b){return i(b- -0x3e9,a);}if(f&&!f['isDestroying']&&!f['isRepopulatingStores']&&g){d[k(-0x285,-0x285)]?.();this[k(-0x27a,-0x27b)](e);this[k(-0x29a,-0x28d)](null);}if(g)this[k(-0x270,-0x280)]=null;}[i(0x16c,0x17c)](){}['leaveProject'](d=![]){}[i(0x165,0x165)](){const d=this[l(0x259,0x25d)]?.['find'](e=>isInstanceOf(e,AbstractPartOfProjectStoreMixin)&&!!e[l(0x260,0x256)]());function l(a,b){return i(a-0x103,b);}return d?.['getProject']();}async[i(0x152,0x142)](d,e,f){function m(a,b){return i(b-0x2f1,a);}const g=this[m(0x43e,0x44a)](d,e,f);await this[m(0x461,0x458)]?.['commitAsync']();return g;}async[i(0x162,0x165)](d){function n(a,b){return i(b- -0x251,a);}await this[n(-0xf3,-0xea)]?.[n(-0xec,-0xfa)]();return this['get'](d);}get['isStmRestoring'](){const d=this[o(0x388,0x388)]();function o(a,b){return i(b-0x22b,a);}return d?.[o(0x38c,0x38e)]||d?.[o(0x393,0x395)][o(0x37d,0x37c)]||![];}}return c;}){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x110;let f=c[d];return f;};return _enb(a,b);}export{AbstractPartOfProjectModelMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xb2;let f=c[d];return f;};return _enb(a,b);}(function(a,b){function f(a,b){return _enb(b- -0x2a3,a);}const c=a();while(!![]){try{const d=parseInt(f(-0x1e3,-0x1dc))/0x1+parseInt(f(-0x1f4,-0x1f0))/0x2+parseInt(f(-0x1dc,-0x1dd))/0x3+parseInt(f(-0x1e5,-0x1e3))/0x4*(-parseInt(f(-0x1e9,-0x1e8))/0x5)+parseInt(f(-0x1e8,-0x1e2))/0x6+parseInt(f(-0x1d3,-0x1de))/0x7+-parseInt(f(-0x1e1,-0x1e1))/0x8;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x90226));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ChronoModelMixin}from'../../../chrono/ChronoModelMixin.js';import{ChronoPartOfProjectGenericMixin}from'../../ChronoPartOfProjectGenericMixin.js';import{ChronoPartOfProjectStoreMixin}from'../../store/mixin/ChronoPartOfProjectStoreMixin.js';import{AbstractPartOfProjectModelMixin}from'./AbstractPartOfProjectModelMixin.js';function _ena(){const n=['_graph','10LmmJtD','joinProject','find','calculateProject','addEntity','1339996MQwjOs','2664960SsMAKv','10105048bkEEQh','call','delayEnteringReplica','6683152GYbryT','1963770gIZRne','439562SEzGiM','graph','60910kWYsFp','project','prototype','removeEntity','getProject','leaveProject','getGraph'];_ena=function(){return n;};return _ena();}import{isInstanceOf}from'@bryntum/engine-thin/lib/ChronoGraph/class/Mixin.js';class ChronoPartOfProjectModelMixin extends Mixin([AbstractPartOfProjectModelMixin,ChronoPartOfProjectGenericMixin,ChronoModelMixin],a=>{const b=a[g(0x370,0x37b)];class c extends a{[g(0x37e,0x382)](){function h(a,b){return g(a,b- -0x66a);}if(!this[h(-0x2e9,-0x2f0)]?.[h(-0x2e0,-0x2e0)]){if(this[h(-0x2f7,-0x2f2)]&&this[h(-0x2f7,-0x2f2)]!=this[h(-0x2e0,-0x2eb)]()){this[h(-0x2fd,-0x2f2)]=null;}this['getGraph']()[h(-0x2ef,-0x2e5)](this);}}[g(0x378,0x37e)](d=![]){b[i(-0x129,-0x127)][i(-0x11e,-0x11c)](this,d);const e=this[i(-0x128,-0x11d)]();function i(a,b){return g(b,a- -0x4a7);}e?.[i(-0x12b,-0x130)](this);this['graph']=null;}[g(0x37c,0x37d)](){function j(a,b){return g(b,a- -0x58d);}return b['getProject'][j(-0x204,-0x20f)](this);}[g(0x37a,0x384)](){function k(a,b){return g(b,a- -0x3dd);}const d=this['stores']?.[k(-0x5a,-0x5f)](e=>isInstanceOf(e,ChronoPartOfProjectStoreMixin)&&!!e[k(-0x60,-0x55)]());return d?.[k(-0x60,-0x5b)]();}get[g(0x37f,0x378)](){function l(a,b){return g(b,a- -0x308);}return this[l(0x72,0x74)]?.[l(0x82,0x8d)]?null:this['_graph'];}set[g(0x380,0x378)](d){function m(a,b){return g(a,b- -0x2c2);}this[m(0xc9,0xbe)]=d;}}function g(a,b){return _enb(b-0x2c6,a);}return c;}){}export{ChronoPartOfProjectModelMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1b9;let f=c[d];return f;};return _enb(a,b);}(function(a,b){const c=a();function i(a,b){return _enb(a-0x2d9,b);}while(!![]){try{const d=parseInt(i(0x49d,0x4aa))/0x1+-parseInt(i(0x4a1,0x499))/0x2+-parseInt(i(0x4a9,0x4a3))/0x3+-parseInt(i(0x4a3,0x493))/0x4+parseInt(i(0x4b0,0x4a9))/0x5*(-parseInt(i(0x4a8,0x4a6))/0x6)+parseInt(i(0x496,0x490))/0x7*(-parseInt(i(0x4ab,0x4a5))/0x8)+-parseInt(i(0x4ae,0x49f))/0x9*(-parseInt(i(0x4a5,0x49f))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x770ad));function _ena(){const t=['propose','1368760DPMFPB','call','10zBkEgn','get','joinProject','222sbpOzD','2632347ohuTsk','isInActiveTransaction','200hCkGWW','finalizeInvalidated','$beforeChange','24641667jxsGHo','keys','63820LcOhgG','$isCalculating','recurringTimeSpan','set','isRoot','add','leaveProject','48041WTvant','setChanged','invalidate','length','$changed','project','bufferedCommitAsync','534853GaOXKL','_preventInvalidation','prototype','setData','1843474oIifZr'];_ena=function(){return t;};return _ena();}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{CorePartOfProjectGenericMixin}from'../../CorePartOfProjectGenericMixin.js';import _enc from'@bryntum/core-thin/lib/data/Model.js';import{AbstractPartOfProjectModelMixin}from'./AbstractPartOfProjectModelMixin.js';class CorePartOfProjectModelMixin extends Mixin([AbstractPartOfProjectModelMixin,CorePartOfProjectGenericMixin,_enc],a=>{function j(a,b){return _enb(b- -0x175,a);}const b=a[j(0x5f,0x51)];class c extends a{constructor(){super(...arguments);function k(a,b){return j(a,b-0x311);}this[k(0x378,0x374)]=![];this[k(0x355,0x35d)]={};this['$beforeChange']={};}get[j(0x62,0x5c)](){return!![];}[j(0x48,0x59)](){function l(a,b){return j(a,b-0x348);}!this[l(0x38b,0x38d)]&&this['invalidate']();}['leaveProject'](d=![]){function m(a,b){return j(b,a- -0x17f);}this['project']['$leaving'][m(-0x139,-0x128)](this);b[m(-0x138,-0x136)][m(-0x129,-0x127)](this,d);this['project']?.[m(-0x131,-0x121)]();}[j(0x51,0x4a)](){function n(a,b){return j(a,b-0x8d);}!this[n(0xdb,0xdd)]&&this[n(0xdb,0xda)]?.[n(0xdb,0xd7)](this);}['getCurrentOrProposed'](d){function o(a,b){return j(a,b-0x347);}if(d in this[o(0x39e,0x393)]&&this[o(0x38f,0x393)][d]!==!![]){return this[o(0x39c,0x393)][d];}return this[o(0x390,0x39f)](d)??null;}['hasCurrentOrProposed'](d){function p(a,b){return j(b,a-0xec);}return d in this[p(0x138,0x13e)]&&this[p(0x138,0x147)][d]!=!![]||this[p(0x144,0x13b)](d)!=null;}[j(0x45,0x54)](d){function q(a,b){return j(b,a-0x4ea);}if(this['project']||this[q(0x54e,0x542)]?.[q(0x537,0x548)]){const e=Object[q(0x54b,0x53c)](d);for(let f=0x0;f<e[q(0x535,0x53b)];f++){const g=e[f];this[q(0x536,0x52f)][g]=d[g];}this[q(0x534,0x52a)]();}else{this[q(0x52e,0x536)](d);}}[j(0x56,0x49)](d,e,f=!![],g=![]){function r(a,b){return j(b,a- -0x188);}const h=this;h[r(-0x13c,-0x14b)][d]=e;if(g){if(!(d in h[r(-0x129,-0x132)])){h['$beforeChange'][d]=h[r(-0x130,-0x128)](d);}h[r(-0x136,-0x139)](d,e);}f&&h[r(-0x13e,-0x146)]();}['calculateInvalidated'](){}[j(0x52,0x5e)](d=![]){const e=this;e[s(0x43,0x42)]=!![];if(!d){e[s(0x32,0x2a)](e[s(0x3f,0x50)]);e['set'](e[s(0x2c,0x28)]);}else{e[s(0x32,0x41)](e[s(0x2c,0x20)]);}e[s(0x2c,0x27)]={};function s(a,b){return j(b,a- -0x20);}e[s(0x3f,0x49)]={};e[s(0x43,0x42)]=![];}}return c;}){}export{CorePartOfProjectModelMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function l(a,b){return _enb(b-0x17f,a);}var c=a();while(!![]){try{var d=-parseInt(l(0x30e,0x315))/0x1*(parseInt(l(0x316,0x312))/0x2)+parseInt(l(0x310,0x311))/0x3*(parseInt(l(0x31b,0x316))/0x4)+parseInt(l(0x311,0x319))/0x5*(parseInt(l(0x314,0x310))/0x6)+parseInt(l(0x318,0x313))/0x7+parseInt(l(0x31a,0x31c))/0x8+-parseInt(l(0x30e,0x30f))/0x9+-parseInt(l(0x31c,0x31f))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x9e609));var __decorate=function(a,b,e,f){var g=arguments[m(-0x197,-0x19b)],h=g<0x3?b:f===null?f=Object[m(-0x19e,-0x1a1)](b,e):f,j;function m(a,b){return _enb(b- -0x339,a);}if(typeof Reflect===m(-0x1aa,-0x1aa)&&typeof Reflect[m(-0x194,-0x198)]===m(-0x1a8,-0x1a0))h=Reflect[m(-0x19c,-0x198)](a,b,e,f);else for(var k=a[m(-0x197,-0x19b)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(-0x196,-0x19a)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{generic_field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0x18f;var f=c[d];return f;};return _enb(a,b);}import{ModelReferenceField,injectStaticFieldsProperty,isSerializableEqual}from'../../../chrono/ModelFieldAtom.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';function _ena(){var q=['6174HrknOB','26YydbkL','1709274aBNRvV','prototype','23831menZwC','2132nJJWNF','getOwnPropertyDescriptor','function','1205Dmshnf','assigned','getResourceById','2126392TahzzM','length','defineProperty','9053290PnHwHP','decorate','getEventById','object','8387127UdduvY','29598pcBYzf'];_ena=function(){return q;};return _ena();}class BaseAssignmentMixin extends Mixin([ChronoPartOfProjectModelMixin],a=>{const b=a[n(0x476,0x46d)];function n(a,b){return _enb(b-0x2d8,a);}class c extends a{}__decorate([generic_field({'bucket':n(0x471,0x473),'resolver':function(d){function o(a,b){return n(b,a- -0x197);}return this[o(0x2e3,0x2d9)](d);},'modelFieldConfig':{'serialize':d=>d?.['id'],'isEqual':isSerializableEqual,'persist':![]}},ModelReferenceField)],c[n(0x477,0x46d)],'event',void 0x0);__decorate([generic_field({'bucket':n(0x471,0x473),'resolver':function(d){function p(a,b){return n(a,b- -0x657);}return this[p(-0x1ed,-0x1e3)](d);},'modelFieldConfig':{'serialize':d=>d?.['id'],'isEqual':isSerializableEqual,'persist':![]}},ModelReferenceField)],c[n(0x46b,0x46d)],'resource',void 0x0);injectStaticFieldsProperty(c);return c;}){}export{BaseAssignmentMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function l(a,b){return _enb(a- -0x1c8,b);}const c=a();while(!![]){try{const d=-parseInt(l(0x1a,0x20))/0x1*(-parseInt(l(0x17,0x2b))/0x2)+-parseInt(l(0xe,-0xf))/0x3*(parseInt(l(0x43,0x56))/0x4)+-parseInt(l(0x15,0x2c))/0x5*(-parseInt(l(0x2c,0xc))/0x6)+-parseInt(l(0x3a,0x34))/0x7+-parseInt(l(0x14,-0x4))/0x8+parseInt(l(0x2f,0x15))/0x9*(-parseInt(l(0x48,0x48))/0xa)+parseInt(l(0x1d,0xd))/0xb*(parseInt(l(0x1e,0x22))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x27c8b));var __decorate=function(a,b,e,f){var g=arguments[m(-0x181,-0x173)],h=g<0x3?b:f===null?f=Object[m(-0x190,-0x1a5)](b,e):f,j;function m(a,b){return _enb(a- -0x393,b);}if(typeof Reflect===m(-0x195,-0x1af)&&typeof Reflect[m(-0x1a9,-0x192)]===m(-0x180,-0x170))h=Reflect[m(-0x1a9,-0x194)](a,b,e,f);else for(var k=a[m(-0x181,-0x181)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(-0x186,-0x198)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1d5;let f=c[d];return f;};return _enb(a,b);}import{model_field}from'../../../chrono/ModelFieldAtom.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';import{AbstractCalendarMixin}from'../AbstractCalendarMixin.js';import{SchedulingIssueEffect,SchedulingIssueEffectResolution}from'../../../chrono/SchedulingIssueEffect.js';import _enc from'@bryntum/core-thin/lib/localization/Localizable.js';function _ena(){const A=['function','leaveProject','281877MsXKba','$name','clearCombinationsWith','_resolutions','_descriptionBuilderClass','clearIntervals','478272ClXyuJ','85DbyvBm','prototype','2ppaJDR','unspecifiedTimeIsWorking','every\x20weekday\x20at\x2008:00','300427bXiFgk','BaseEmptyCalendarEffectResolution','every\x20weekday\x20at\x2012:00','17611pJRGNU','2148ebpByU','format','getCalendar','assign','decorate','NoBackward','dateFormat','new','addIntervals','isForward','name','L{backwardDescriptionTpl}','on\x20Mon','calendars','99048uAbEWs','intervals','project','1566738BozlXk','getInvalidCalendar','event','version','Use24hrsEmptyCalendarEffectResolution','L{noIntersectionDescriptionTpl}','date','object','getDescription','Use8hrsEmptyCalendarEffectResolution','fixCalendarData','1322608VovMWv','getOwnPropertyDescriptor','L{descriptionTpl}','configurable','L{forwardDescriptionTpl}','calendarData','every\x20weekday\x20at\x2013:00','EmptyCalendarSymbol','every\x20weekday\x20at\x2017:00','12CrEbLm','Empty','defineProperty','NoForward','skipNonWorkingTime','10DFvvhm','resolve','length'];_ena=function(){return A;};return _ena();}import _end from'@bryntum/core-thin/lib/Base.js';import{prototypeValue}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import{format}from'../../../util/Functions.js';import _ene from'@bryntum/core-thin/lib/helper/DateHelper.js';const EmptyCalendarSymbol=Symbol(_enn(-0x15,-0x7));function _enn(a,b){return _enb(a- -0x21e,b);}var CalendarAvailabilityIssue;(function(a){a['Empty']=o(0x4dc,0x4f3);a[o(0x4de,0x4d7)]=o(0x4de,0x4dd);function o(a,b){return _enn(a-0x4ee,b);}a[o(0x4bb,0x4b7)]=o(0x4bb,0x49e);}(CalendarAvailabilityIssue||(CalendarAvailabilityIssue={})));class BaseCalendarMixin extends Mixin([AbstractCalendarMixin,ChronoPartOfProjectModelMixin],a=>{class b extends a{constructor(){super(...arguments);this['version']=0x1;}['leaveProject'](){this[p(0x16b,0x186)]?.[p(0x166,0x168)](this);function p(a,b){return _enb(b- -0x70,a);}super[p(0x15c,0x165)]();}}__decorate([model_field({},{'persistent':![]})],b['prototype'],q(0x4d1,0x4b8),void 0x0);__decorate([model_field({'type':'boolean','defaultValue':!![]})],b['prototype'],q(0x4b7,0x4cc),void 0x0);__decorate([model_field()],b[q(0x4b5,0x4a3)],q(0x4cc,0x4de),void 0x0);function q(a,b){return _enn(a-0x4f5,b);}return b;}){}class EmptyCalendarEffectDescription extends _enc(_end){static get[_enn(-0x32,-0x40)](){return'LLL';}static[_enn(-0x1f,0x0)](a){let b=r(0x447,0x431);let c;const d=a[r(0x421,0x425)]();if(d){c=d[0x0];if(d[0x1]!==CalendarAvailabilityIssue['Empty']){b=a[r(0x43b,0x41c)]?r(0x43c,0x433):r(0x40a,0x41e);}}else{b=r(0x41e,0x429);c=a[r(0x402,0x420)][0x0];}function r(a,b){return _enn(b-0x44b,a);}return format(this['L'](b),c[r(0x411,0x41d)]||c['id'],_ene[r(0x404,0x414)](a[r(0x439,0x42a)],this['dateFormat']),a[r(0x419,0x426)][r(0x40f,0x41d)]);}}EmptyCalendarEffectDescription[_enn(-0x47,-0x2f)]='EmptyCalendarEffectDescription';class EmptyCalendarEffect extends SchedulingIssueEffect{constructor(){super(...arguments);this['handler']=EmptyCalendarSymbol;}['getResolutions'](){const a=this[s(0x5d4,0x5c0)]();function s(a,b){return _enn(b-0x5f6,a);}return this[s(0x5a6,0x5b1)]||(this[s(0x5a2,0x5b1)]=[Use24hrsEmptyCalendarEffectResolution[s(0x5bf,0x5c5)]({'calendar':a}),Use8hrsEmptyCalendarEffectResolution['new']({'calendar':a})]);}['getCalendar'](){function t(a,b){return _enn(b-0x377,a);}const a=this[t(0x35b,0x351)]();return a?a[0x0]:this[t(0x36a,0x34c)][0x0];}['getInvalidCalendar'](){const {calendars:a,date:b,isForward:c}=this;function u(a,b){return _enn(a-0x2f3,b);}for(const d of a){const e=d[u(0x2e4,0x2d2)](b,![]);const f=d[u(0x2e4,0x2f1)](b,!![]);if(c){if(!(f instanceof Date)){return[d,e instanceof Date?CalendarAvailabilityIssue[u(0x2e3,0x2e3)]:CalendarAvailabilityIssue[u(0x2e1,0x2c5)]];}}else{if(!(e instanceof Date)){return[d,f instanceof Date?CalendarAvailabilityIssue[u(0x2c0,0x2b0)]:CalendarAvailabilityIssue['Empty']];}}}}}__decorate([prototypeValue('emptyCalendar')],EmptyCalendarEffect[_enn(-0x40,-0x31)],'type',void 0x0);__decorate([prototypeValue(EmptyCalendarEffectDescription)],EmptyCalendarEffect['prototype'],_enn(-0x44,-0x59),void 0x0);class BaseEmptyCalendarEffectResolution extends _enc(SchedulingIssueEffectResolution){static get['configurable'](){return{'calendarData':{'intervals':[{'isWorking':!![]}]}};}[_enn(-0x1f,-0x35)](){function v(a,b){return _enn(b-0x2e9,a);}const {calendar:a}=this;return format(this['L'](v(0x2db,0x2cf)),a[v(0x2b5,0x2bb)]||a['id']);}[_enn(-0x1d,-0x7)](a){a[w(-0x18a,-0x181)](!![]);Object[w(-0x168,-0x173)](a,this[w(-0x13c,-0x155)]);function w(a,b){return _enn(b- -0x13e,a);}if(a[w(-0x178,-0x167)]?.[w(-0x12f,-0x14a)]){a[w(-0x160,-0x16e)](a['intervals']);}}[_enn(-0xd,-0x3)](){function x(a,b){return _enn(b- -0x1bd,a);}const {calendar:a}=this;this[x(-0x1be,-0x1da)](a);}}BaseEmptyCalendarEffectResolution['$name']=_enn(-0x3b,-0x47);class Use24hrsEmptyCalendarEffectResolution extends BaseEmptyCalendarEffectResolution{static get['configurable'](){function y(a,b){return _enn(b- -0x1b9,a);}return{'calendarData':{'unspecifiedTimeIsWorking':![],'intervals':[{'recurrentStartDate':y(-0x1f8,-0x1e5),'recurrentEndDate':'on\x20Sat','isWorking':!![]}]}};}}Use24hrsEmptyCalendarEffectResolution['$name']=_enn(-0x23,-0x1d);class Use8hrsEmptyCalendarEffectResolution extends BaseEmptyCalendarEffectResolution{static get[_enn(-0x19,-0x36)](){function z(a,b){return _enn(b-0xfa,a);}return{'calendarData':{'unspecifiedTimeIsWorking':![],'intervals':[{'recurrentStartDate':z(0xc4,0xbd),'recurrentEndDate':z(0xaa,0xc0),'isWorking':!![]},{'recurrentStartDate':z(0xe2,0xe4),'recurrentEndDate':z(0xf1,0xe6),'isWorking':!![]}]}};}}Use8hrsEmptyCalendarEffectResolution[_enn(-0x47,-0x55)]=_enn(-0x1e,-0x13);export{BaseCalendarMixin,BaseEmptyCalendarEffectResolution,CalendarAvailabilityIssue,EmptyCalendarEffect,EmptyCalendarEffectDescription,EmptyCalendarSymbol,Use24hrsEmptyCalendarEffectResolution,Use8hrsEmptyCalendarEffectResolution};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){var c=a();function l(a,b){return _enb(a-0x2c1,b);}while(!![]){try{var d=parseInt(l(0x3d8,0x3df))/0x1+-parseInt(l(0x3dc,0x3e5))/0x2+parseInt(l(0x3e3,0x3ed))/0x3*(-parseInt(l(0x3d3,0x3d1))/0x4)+parseInt(l(0x3d6,0x3dd))/0x5*(parseInt(l(0x3d2,0x3d0))/0x6)+parseInt(l(0x3e6,0x3da))/0x7+parseInt(l(0x3d9,0x3d6))/0x8+-parseInt(l(0x3e1,0x3da))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xad80d));var __decorate=function(a,b,e,f){function m(a,b){return _enb(a- -0x276,b);}var g=arguments[m(-0x14f,-0x15a)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;if(typeof Reflect===m(-0x15c,-0x162)&&typeof Reflect[m(-0x153,-0x157)]===m(-0x158,-0x151))h=Reflect[m(-0x153,-0x14f)](a,b,e,f);else for(var k=a['length']-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object['defineProperty'](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{generic_field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{model_field,ModelReferenceField,isSerializableEqual}from'../../../chrono/ModelFieldAtom.js';function _ena(){var r=['type','7344513AgpPzF','string','81shCQvL','decorate','toEvent','7175154IYGIVy','hasIdentifier','length','6aysEBP','17704cElvuC','prototype','getEventById','6653245SciGaj','EndToStart','380484UzdghE','1530736eAjNYc','fromEvent','object','2562538LCYaRQ','incomingDeps','isValid','function'];_ena=function(){return r;};return _ena();}import{DependencyType}from'../../../scheduling/Types.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0x111;var f=c[d];return f;};return _enb(a,b);}class BaseDependencyMixin extends Mixin([ChronoPartOfProjectModelMixin],a=>{const b=a[n(-0x66,-0x62)];class c extends a{get['isValid'](){const {$:d,graph:e}=this;if(e&&(!e[o(0x404,0x3fe)](d[o(0x3f7,0x3f4)])||!e['hasIdentifier'](d[o(0x402,0x405)]))){return![];}function o(a,b){return n(a-0x457,b);}return super[o(0x3fb,0x3f1)];}}function n(a,b){return _enb(a- -0x179,b);}__decorate([generic_field({'bucket':'outgoingDeps','resolver':function(d){function p(a,b){return n(a- -0x1b6,b);}return this[p(-0x21b,-0x219)](d);},'modelFieldConfig':{'persist':!![],'serialize':d=>d?.['id'],'isEqual':isSerializableEqual}},ModelReferenceField)],c['prototype'],'fromEvent',void 0x0);__decorate([generic_field({'bucket':n(-0x5d,-0x61),'resolver':function(d){function q(a,b){return n(b-0x292,a);}return this[q(0x233,0x22d)](d);},'modelFieldConfig':{'persist':!![],'serialize':d=>d?.['id'],'isEqual':isSerializableEqual}},ModelReferenceField)],c[n(-0x66,-0x65)],n(-0x55,-0x4d),void 0x0);__decorate([model_field({'type':'int','defaultValue':DependencyType[n(-0x63,-0x5e)]})],c[n(-0x66,-0x63)],n(-0x5a,-0x5f),void 0x0);__decorate([model_field({'type':n(-0x58,-0x63)})],c[n(-0x66,-0x67)],'fromSide',void 0x0);__decorate([model_field({'type':n(-0x58,-0x4d)})],c[n(-0x66,-0x66)],'toSide',void 0x0);return c;}){}export{BaseDependencyMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function f(a,b){return _enb(a-0x19e,b);}const c=a();while(!![]){try{const d=parseInt(f(0x284,0x27c))/0x1+-parseInt(f(0x283,0x28d))/0x2+-parseInt(f(0x28d,0x287))/0x3*(parseInt(f(0x27c,0x27f))/0x4)+-parseInt(f(0x279,0x26e))/0x5+parseInt(f(0x28a,0x284))/0x6*(parseInt(f(0x27d,0x272))/0x7)+-parseInt(f(0x27a,0x282))/0x8*(-parseInt(f(0x27e,0x276))/0x9)+parseInt(f(0x278,0x278))/0xa*(parseInt(f(0x282,0x283))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xb0e6a));import{CycleResolutionInputChrono}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/CycleResolver.js';import{CalculatedValueGen}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Identifier.js';import{CalculateProposed,CycleDescription,CycleResolution,Formula}from'@bryntum/engine-thin/lib/ChronoGraph/cycle_resolver/CycleResolver.js';import{FieldIdentifier}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Identifier.js';var Instruction;(function(a){function g(a,b){return _enb(a- -0x224,b);}a['KeepDuration']=g(-0x147,-0x140);a['KeepStartDate']=g(-0x136,-0x135);a['KeepEndDate']=g(-0x134,-0x12c);}(Instruction||(Instruction={})));const StartDateVar=Symbol('StartDate');function _enh(a,b){return _enb(a- -0xfe,b);}const EndDateVar=Symbol(_enh(-0x1c,-0x25));function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xda;let f=c[d];return f;};return _enb(a,b);}const DurationVar=Symbol(_enh(-0x15,-0x1c));const startDateFormula=Formula[_enh(-0x1b,-0x1c)]({'output':StartDateVar,'inputs':new Set([DurationVar,EndDateVar])});const endDateFormula=Formula[_enh(-0x1b,-0x20)]({'output':EndDateVar,'inputs':new Set([DurationVar,StartDateVar])});const durationFormula=Formula[_enh(-0x1b,-0x19)]({'output':DurationVar,'inputs':new Set([StartDateVar,EndDateVar])});const SEDGraphDescription=CycleDescription['new']({'variables':new Set([StartDateVar,EndDateVar,DurationVar]),'formulas':new Set([startDateFormula,endDateFormula,durationFormula])});const SEDForwardCycleResolutionContext=CycleResolution['new']({'description':SEDGraphDescription,'defaultResolutionFormulas':new Set([endDateFormula])});const SEDBackwardCycleResolutionContext=CycleResolution['new']({'description':SEDGraphDescription,'defaultResolutionFormulas':new Set([startDateFormula])});class SEDDispatcher extends CycleResolutionInputChrono{*[_enh(-0x11,-0x19)](a,b){if(a===Instruction['KeepStartDate'])this['addKeepIfPossibleFlag'](StartDateVar);function i(a,b){return _enh(b- -0x239,a);}if(a===Instruction['KeepEndDate'])this['addKeepIfPossibleFlag'](EndDateVar);if(a===Instruction[i(-0x261,-0x25a)])this[i(-0x248,-0x250)](DurationVar);}}function _ena(){const k=['10pHwxFK','6607650RTjxmo','252656UcBnNZ','KeepDuration','4nqsSKV','91VbvtUe','279tByVzh','mix','EndDate','new','17896351hmueID','1258756xPGlBr','774591cYQddP','addKeepIfPossibleFlag','get','Duration','resolution','equality','189990eCOFnl','addInstruction','KeepStartDate','3350175GpBRMb','KeepEndDate'];_ena=function(){return k;};return _ena();}class SEDDispatcherIdentifier extends FieldIdentifier[_enh(-0x1d,-0x1b)](CalculatedValueGen){[_enh(-0x13,-0x14)](a,b){const c=a[j(0x2e7,0x2e4)];function j(a,b){return _enh(a-0x2fb,b);}const d=b[j(0x2e7,0x2f2)];const e=c[j(0x2e5,0x2e1)](StartDateVar)===d[j(0x2e5,0x2da)](StartDateVar)&&c['get'](EndDateVar)===d[j(0x2e5,0x2eb)](EndDateVar)&&c[j(0x2e5,0x2ef)](DurationVar)===d['get'](DurationVar)||c[j(0x2e5,0x2df)](StartDateVar)===CalculateProposed&&c[j(0x2e5,0x2dc)](EndDateVar)===CalculateProposed&&c[j(0x2e5,0x2ec)](DurationVar)===CalculateProposed;return e;}}export{DurationVar,EndDateVar,Instruction,SEDBackwardCycleResolutionContext,SEDDispatcher,SEDDispatcherIdentifier,SEDForwardCycleResolutionContext,SEDGraphDescription,StartDateVar,durationFormula,endDateFormula,startDateFormula};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function n(a,b){return _enb(a- -0x250,b);}const c=a();while(!![]){try{const d=-parseInt(n(-0x7f,-0x6a))/0x1+parseInt(n(-0x3f,-0x22))/0x2+-parseInt(n(-0x6a,-0x6d))/0x3+parseInt(n(-0x72,-0x83))/0x4+-parseInt(n(-0x6e,-0x88))/0x5+parseInt(n(-0x6d,-0x6d))/0x6*(parseInt(n(-0x66,-0x45))/0x7)+-parseInt(n(-0x23,-0xb))/0x8*(-parseInt(n(-0x4b,-0x68))/0x9);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xdf852));var __decorate=function(a,b,e,f){var g=arguments[o(-0x57,-0x60)],h=g<0x3?b:f===null?f=Object[o(-0x73,-0x68)](b,e):f,j;function o(a,b){return _enb(b- -0x293,a);}if(typeof Reflect===o(-0xda,-0xaa)&&typeof Reflect[o(-0x87,-0x78)]===o(-0x45,-0x77))h=Reflect['decorate'](a,b,e,f);else for(var k=a[o(-0x74,-0x60)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[o(-0xbf,-0xa1)](b,e,h),h;};function _ena(){const X=['effectiveCalendar','dispatcher','KeepStartDate','calculateStartDateDirection','hasElapsedDuration','length','effectiveDirection','skipWorkingTime','constructor','addPreviousValueFlag','DATA','860912jmamYn','isStmRestoring','calculateDurationProposed','prepareDispatcher','dispatcherClass','addInstruction','run','calculateDuration','writeEndDate','Unknown\x20formula\x20for\x20`endDate`','hasIdentifier','getDurationConverter','durationUnit','827752pEyMqQ','calculateStartDateProposed','calculateProjectedDuration','calculateStartDatePure','6923265gCaYBT','1398DgUfLt','commitAsync','setDuration','968265VWhSzn','setStartDate','shouldSkipNonWorkingTime','object','19649btnpPl','cycleResolutionContext','Unknown\x20formula\x20for\x20`duration`','convertDurationGen','Millisecond','calculateEffectiveDataOrVisualCalendar','calculateDurationMs','own','defineProperty','buildProposedDispatcher','delayedCalculationPromise','unitsInMs','writeStartDate','baseRevision','data','collectInfo','skipNonWorkingTime','normalizeUnit','calculateDispatcher','visual','formulaId','Cancel','getProject','date','endDateDirection','boolean','Day','5067dXSqlJ','calculateEndDateDirection','get','unscheduled','startDate','isManuallyScheduled','endDate','resolution','prototype','None','calculateStartDate','hasProposedValue','1657216laleBj','onEffectSync','canConvertDuration','new','string','calculateEffectiveCalendar','KeepDuration','Unknown\x20formula\x20for\x20`startDate`','Forward','calculateProjectedXDateWithDuration','decorate','function','writeDuration','calculateDurationPure','defaultCalendar','KeepEndDate','setEndDate','write','duration','direction','$convertDuration','calculateEndDatePure','skipNonWorkingTimeWhenSchedulingManually','calculateEndDate','calculateEffectiveDirection','durationunit','getOwnPropertyDescriptor','call','25496fEzjKr'];_ena=function(){return X;};return _ena();}import{ProposedArgumentsOf,ProposedOrPrevious,ProposedOrPreviousValueOf,Reject,Write}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{CalculateProposed}from'@bryntum/engine-thin/lib/ChronoGraph/cycle_resolver/CycleResolver.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1d0;let f=c[d];return f;};return _enb(a,b);}import{build_proposed,calculate,field,write}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import _enc from'@bryntum/core-thin/lib/helper/DateHelper.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';import{EffectResolutionResult}from'../../../chrono/SchedulingIssueEffect.js';import{Direction,isEqualEffectiveDirection,TimeUnit}from'../../../scheduling/Types.js';import{isNotNumber}from'../../../util/Functions.js';import{EmptyCalendarEffect}from'./BaseCalendarMixin.js';import{durationFormula,DurationVar,endDateFormula,EndDateVar,Instruction,SEDBackwardCycleResolutionContext,SEDDispatcher,SEDDispatcherIdentifier,SEDForwardCycleResolutionContext,startDateFormula,StartDateVar}from'./BaseEventDispatcher.js';import{HasCalendarMixin}from'./HasCalendarMixin.js';class BaseEventMixin extends Mixin([HasCalendarMixin],a=>{const b=a[p(0x2d0,0x2b2)];class c extends a{*[p(0x292,0x2af)](){return yield this['$']['manuallyScheduled'];}*[p(0x2dc,0x2d7)](){function q(a,b){return p(a,b-0x49);}const d=yield this['$'][q(0x29e,0x2cb)];return this[q(0x2c9,0x2ee)]()['isElapsedDurationUnit'](d);}*[p(0x2cb,0x2a1)](d){const e=yield ProposedOrPrevious;const f=yield*this[r(0x273,0x2a3)](d);const g=yield ProposedArgumentsOf(this['$'][r(0x2a8,0x277)]);const h=g?g[0x0]?Instruction[r(0x2b6,0x28e)]:Instruction[r(0x2bf,0x2a9)]:void 0x0;if(h)yield*f[r(0x275,0x294)](h,this);const i=yield ProposedArgumentsOf(this['$'][r(0x2aa,0x2ab)]);function r(a,b){return p(b,a- -0x6);}const j=i?i[0x0]?Instruction[r(0x2b6,0x2c3)]:Instruction['KeepStartDate']:void 0x0;if(j)yield*f[r(0x275,0x246)](j,this);const k=yield this['$'][r(0x2d3,0x2c7)];const l=yield ProposedArgumentsOf(this['$'][r(0x2c2,0x29a)]);let m;if(l){switch(l[0x0]){case!![]:m=Instruction['KeepStartDate'];break;case![]:m=Instruction[r(0x2bf,0x2db)];break;}}if(!m&&f[r(0x2af,0x27d)](DurationVar)){m=k[r(0x2c3,0x2b2)]===Direction[r(0x2b8,0x2e1)]||k[r(0x2c3,0x2da)]===Direction[r(0x2ad,0x2df)]?Instruction[r(0x2cf,0x2f9)]:Instruction[r(0x2bf,0x2b1)];}if(m)yield*f[r(0x275,0x25b)](m,this);return f;}*[p(0x260,0x279)](d){const e=this[s(-0x82,-0x79)](d);const f=e[s(-0x51,-0x3a)]({'context':this[s(-0x93,-0x63)](d)});f[s(-0x6d,-0x55)](d,this['$']['startDate'],StartDateVar);f[s(-0x76,-0x55)](d,this['$'][s(-0x24,-0x43)],EndDateVar);function s(a,b){return p(a,b- -0x2f3);}f[s(-0x53,-0x55)](d,this['$'][s(-0x8,-0x2b)],DurationVar);return f;}['cycleResolutionContext'](d){function t(a,b){return p(a,b-0x286);}const e=d(this['$'][t(0x54b,0x55f)]);return e['direction']===Direction['Forward']||e['direction']===Direction[t(0x544,0x539)]?SEDForwardCycleResolutionContext:SEDBackwardCycleResolutionContext;}[p(0x26c,0x27a)](d){return SEDDispatcher;}['buildProposedDispatcher'](d,e,f){const g=this[u(0x583,0x5b1)](f[u(0x5c0,0x5f0)])[u(0x5c2,0x5dd)]({'context':this[u(0x599,0x584)](f[u(0x5c0,0x5a9)])});g[u(0x5e5,0x5e8)](StartDateVar);function u(a,b){return p(b,a-0x309);}g['addPreviousValueFlag'](EndDateVar);g[u(0x5e5,0x5d3)](DurationVar);return g;}*[p(0x2d7,0x2bb)](){if(yield*this['hasElapsedDuration']()){return this['getProject']()[v(-0x52,-0x3c)];}function v(a,b){return p(b,a- -0x316);}return yield*super[v(-0x5b,-0x5c)]();}*['skipNonWorkingTime'](d,e){const f=yield this['$'][w(0x31f,0x32b)];if(!d)return null;function w(a,b){return p(a,b-0x58);}const g=f[w(0x31c,0x2f7)](d,e);if(g instanceof Date){return g;}else{const h=EmptyCalendarEffect[w(0x31b,0x311)]({'calendars':[f],'event':this,'date':d,'isForward':e});if((yield h)===EffectResolutionResult[w(0x31d,0x2fc)]){yield Reject(h);}else{return null;}}}[p(0x25f,0x281)](){function x(a,b){return p(b,a-0x198);}return this[x(0x43d,0x42c)]();}[p(0x297,0x2b8)](d,e,f){const g=this[y(0x3b6,0x3bc)]();f=_enc[y(0x3b0,0x3db)](f);e=_enc[y(0x3be,0x3db)](e);function y(a,b){return p(a,b-0x13b);}const h=g?.[y(0x3e5,0x3d5)];return Boolean(typeof d==='number'&&h?.[e]&&h[f]);}*['convertDurationGen'](d,e,f){const g=this[z(-0x153,-0x132)]();if(g===this){return yield*super[z(-0x10a,-0x120)](d,e,f);}function z(a,b){return p(b,a- -0x3d4);}return yield*g[z(-0x10a,-0xdd)](d,e,f);}*[p(0x2cd,0x2da)](d,e,f,g){const h=yield this['$'][A(-0x163,-0x16a)];if(g&&g!==h){f=yield*this[A(-0x163,-0x15a)](f,g,h);}function A(a,b){return p(a,b- -0x3ec);}return yield*this[A(-0x14b,-0x12d)](d,e,f);}[p(0x261,0x28c)](d,e=!![]){const {graph:f,project:g}=this;function B(a,b){return p(b,a- -0xa6);}if(f){f[B(0x221,0x23c)](this['$'][B(0x208,0x1d9)],d,e);return f[B(0x1e3,0x1da)]();}else{this['$'][B(0x208,0x1f0)][B(0x1cf,0x1a9)]=d;return g?.['delayedCalculationPromise'];}}[p(0x2b2,0x29b)](d,e,f,g,h=!![]){if(!e[C(0x29,0x56)][C(0xd,0x11)](d)&&g==null)return;if(!this[C(0x32,0x42)]()['isStmRestoring']){e[C(0x54,0x21)](this['$'][C(0x3a,0x36)],g==null);}function C(a,b){return p(b,a- -0x273);}d[C(0x68,0x49)][C(0x3f,0x43)][C(0x54,0x2c)][C(0x5e,0x81)](this,d,e,f,g,h);}*[p(0x28d,0x2b4)](){function D(a,b){return p(a,b-0x234);}const d=yield this['$'][D(0x4d7,0x508)];const e=d[D(0x501,0x4e5)]['get'](StartDateVar);if(e===CalculateProposed){return yield*this['calculateStartDateProposed']();}else if(e===startDateFormula[D(0x4ab,0x4d7)]){return yield*this[D(0x486,0x4ba)]();}else{throw new Error(D(0x4d6,0x4f1));}}*[p(0x28a,0x286)](){function E(a,b){return p(b,a- -0x1d9);}return yield*this[E(0xe6,0xdc)](yield this['$'][E(0xd7,0x100)],![],yield this['$'][E(0xef,0xe5)]);}*['shouldSkipNonWorkingTime'](){function F(a,b){return p(a,b- -0x315);}const d=yield*this['isManuallyScheduled']();const e=this[F(-0x41,-0x70)]();return!d||e[F(-0x58,-0x49)];}*[p(0x265,0x284)](){const d=yield ProposedOrPrevious;const e=yield*this['shouldSkipNonWorkingTime']();return e?yield*this['skipNonWorkingTime'](d,!![]):d;}*['calculateProjectedXDateWithDuration'](d,e,f,g){g=g??(yield this['$'][G(-0xb,-0xf)]);function G(a,b){return p(b,a- -0x28d);}const h=yield this['$'][G(0x46,0x35)];if(!d||isNotNumber(f))return null;e=e===void 0x0?!![]:e;if(e){return h[G(0x40,0xc)](d,yield*this[G(0x5,-0x21)](f,g,TimeUnit[G(0x6,0x12)]));}else{return h[G(0x27,0x1f)](d,yield*this[G(0x5,-0x9)](f,g,TimeUnit['Millisecond']));}}[p(0x2b0,0x2c6)](d,e=![]){const {graph:f,project:g}=this;function H(a,b){return p(b,a-0xab);}if(f){f[H(0x372,0x36b)](this['$'][H(0x35b,0x374)],d,e);return f[H(0x334,0x334)]();}else{this['$'][H(0x35b,0x367)]['DATA']=d;return g?.['delayedCalculationPromise'];}}['writeEndDate'](d,e,f,g,h=![]){function I(a,b){return p(b,a- -0x42d);}if(!e['baseRevision'][I(-0x1ad,-0x19a)](d)&&g==null)return;if(!this[I(-0x188,-0x196)]()['isStmRestoring']){e[I(-0x166,-0x158)](this['$'][I(-0x180,-0x15a)],g==null);}d[I(-0x152,-0x12e)]['prototype']['write'][I(-0x15c,-0x160)](this,d,e,f,g,h);}*['calculateEndDate'](){const d=yield this['$'][J(0x20f,0x1e4)];function J(a,b){return p(b,a- -0xc5);}const e=d['resolution'][J(0x1e7,0x1ea)](EndDateVar);if(e===CalculateProposed){return yield*this['calculateEndDateProposed']();}else if(e===endDateFormula[J(0x1de,0x1c0)]){return yield*this[J(0x206,0x1ff)]();}else{throw new Error(J(0x1ba,0x1bc));}}*[p(0x2ad,0x2cb)](){function K(a,b){return p(a,b- -0x205);}return yield*this[K(0xcf,0xba)](yield this['$']['startDate'],!![],yield this['$'][K(0x91,0xc3)]);}*['calculateEndDateProposed'](){const d=yield ProposedOrPrevious;function L(a,b){return p(a,b-0x73);}const e=yield*this[L(0x2d7,0x300)]();return e?yield*this['skipNonWorkingTime'](d,![]):d;}['getDuration'](d){const e=this[M(0x2aa,0x292)];function M(a,b){return p(b,a- -0x1e);}return d!==void 0x0?this[M(0x25e,0x291)]('convertDurationGen',e,this[M(0x264,0x24d)],d):e;}[p(0x26f,0x28a)](d,e,f){function N(a,b){return p(b,a- -0x390);}const {graph:g,project:h}=this;if(g){if(d!==void 0x0){g[N(-0xc9,-0xda)](this['$']['duration'],d,e,f);return g[N(-0x107,-0xe4)]();}}else{const i={'duration':d};this['$'][N(-0xc8,-0xdd)][N(-0x11b,-0xe7)]=d;if(e!=null)i[N(-0x10e,-0x132)]=this['$'][N(-0x10e,-0x10d)][N(-0x11b,-0xf4)]=e;this['set'](i);return h?.[N(-0xf7,-0xea)];}}['setDurationUnit'](d){throw new Error('Use\x20`setDuration`\x20instead');}[p(0x28f,0x2c2)](d,e,f,g,h,i=void 0x0){if(g<0x0)g=0x0;if(!e[O(-0xc0,-0xc9)][O(-0xdc,-0xe7)](d)&&g==null)return;function O(a,b){return p(b,a- -0x35c);}if(!this[O(-0xb7,-0xb2)]()[O(-0xe5,-0xf9)]){e[O(-0x95,-0xc7)](this['$'][O(-0xaf,-0xdf)],g==null);}d['constructor']['prototype'][O(-0x95,-0x9f)][O(-0x8b,-0xa2)](this,d,e,f,g,i);if(h!=null)e[O(-0x95,-0xaa)](this['$'][O(-0xda,-0xd7)],h);}*[p(0x270,0x27d)](){const d=yield this['$'][P(-0x1b2,-0x1ae)];const e=d[P(-0x1f6,-0x1d1)][P(-0x1af,-0x1d6)](DurationVar);function P(a,b){return p(a,b- -0x482);}if(e===CalculateProposed){return yield*this[P(-0x217,-0x20a)]();}else if(e===durationFormula[P(-0x1f2,-0x1df)]){return yield*this[P(-0x1e9,-0x1bf)]();}else{throw new Error(P(-0x1c2,-0x1f1));}}*[p(0x2d1,0x2c3)](){function Q(a,b){return p(b,a- -0x398);}const d=yield this['$'][Q(-0xea,-0xd7)];const e=yield this['$'][Q(-0xe8,-0x11a)];if(!d||!e)return null;if(d>e){yield Write(this['$'][Q(-0xd0,-0xb0)],0x0,null);}else{return yield*this[Q(-0x113,-0x114)](d,e);}}*[p(0x262,0x278)](){return yield ProposedOrPrevious;}*[p(0x26a,0x285)](d,e,f,g,h=![]){function R(a,b){return p(b,a-0x2a2);}if(!d||!e)return null;if(!f)f=yield this['$'][R(0x524,0x549)];const i=yield this['$'][R(0x575,0x56e)];return yield*this[R(0x534,0x541)](i[R(0x537,0x506)](d,e,h),TimeUnit[R(0x535,0x552)],f);}*['calculateEffectiveDuration'](){const d=yield this['$'][S(-0xf5,-0xe3)];let e;const f=d['resolution'][S(-0x11d,-0x108)](DurationVar);function S(a,b){return p(b,a- -0x3c9);}if(f===CalculateProposed){e=yield this['$'][S(-0x101,-0xeb)];}else if(f===durationFormula['formulaId']){e=yield*this[S(-0x144,-0x16d)](yield ProposedOrPreviousValueOf(this['$']['startDate']),yield ProposedOrPreviousValueOf(this['$'][S(-0x119,-0xfc)]));}return e;}*[p(0x2a2,0x2ce)](){function T(a,b){return p(a,b- -0x365);}const d=yield this['$']['direction'];return{'kind':T(-0x9c,-0xcf),'direction':d||Direction[T(-0x7b,-0xa7)]};}*[p(0x2c0,0x2d6)](){function U(a,b){return p(a,b- -0x367);}return yield this['$'][U(-0x9e,-0x8e)];}*[p(0x29e,0x2ab)](){function V(a,b){return p(a,b- -0x2ce);}return yield this['$'][V(-0x24,0xb)];}*[p(0x2ba,0x294)](d){function W(a,b){return p(b,a-0x194);}if(d===W(0x436,0x409)){return yield*super['calculateEffectiveDataOrVisualCalendar'](W(0x436,0x463));}else{const e=yield*this[W(0x443,0x459)]();const f=this['getProject']();return e&&!f['skipNonWorkingTimeInDurationWhenSchedulingManually']?f[W(0x458,0x448)]:yield*super[W(0x428,0x414)](W(0x431,0x453));}}}__decorate([model_field({'type':p(0x2ae,0x2a6),'bypassEqualityOnSyncDataset':!![]},{'converter':dateConverter})],c[p(0x293,0x2b2)],p(0x2a1,0x2ae),void 0x0);__decorate([model_field({'type':p(0x28e,0x2a6),'bypassEqualityOnSyncDataset':!![]},{'converter':dateConverter})],c['prototype'],p(0x2da,0x2b0),void 0x0);__decorate([model_field({'type':'number','bypassEqualityOnSyncDataset':!![],'allowNull':!![]})],c['prototype'],'duration',void 0x0);__decorate([model_field({'type':p(0x2f1,0x2cf),'defaultValue':TimeUnit[p(0x2a5,0x2a9)]},{'converter':d=>_enc['normalizeUnit'](d)||TimeUnit[p(0x27e,0x2a9)]})],c[p(0x291,0x2b2)],p(0x29a,0x282),void 0x0);__decorate([model_field({'type':p(0x2d4,0x2ba),'defaultValue':null},{'sync':!![]})],c['prototype'],p(0x2dc,0x2c9),void 0x0);__decorate([field({'sync':!![],'equality':isEqualEffectiveDirection})],c[p(0x2cd,0x2b2)],'startDateDirection',void 0x0);__decorate([field({'sync':!![],'equality':isEqualEffectiveDirection})],c[p(0x28b,0x2b2)],'endDateDirection',void 0x0);__decorate([field({'sync':!![],'equality':isEqualEffectiveDirection})],c[p(0x2ca,0x2b2)],p(0x30c,0x2d9),void 0x0);__decorate([field({'identifierCls':SEDDispatcherIdentifier})],c[p(0x28f,0x2b2)],p(0x2a3,0x2d4),void 0x0);__decorate([model_field({'type':p(0x2c9,0x2a8),'defaultValue':![]},{'sync':!![]})],c[p(0x292,0x2b2)],'manuallyScheduled',void 0x0);__decorate([model_field({'type':p(0x28b,0x2a8),'defaultValue':![]})],c[p(0x29a,0x2b2)],p(0x287,0x2ad),void 0x0);__decorate([calculate(p(0x2f8,0x2d4))],c[p(0x2d2,0x2b2)],p(0x286,0x2a1),null);__decorate([build_proposed(p(0x2d5,0x2d4))],c[p(0x2a0,0x2b2)],p(0x2a1,0x298),null);function p(a,b){return _enb(b-0xa5,a);}__decorate([write('startDate')],c[p(0x2ac,0x2b2)],p(0x2a1,0x29b),null);__decorate([calculate(p(0x289,0x2ae))],c[p(0x2c7,0x2b2)],p(0x2ab,0x2b4),null);__decorate([write(p(0x2d2,0x2b0))],c['prototype'],p(0x271,0x27e),null);__decorate([calculate('endDate')],c['prototype'],'calculateEndDate',null);__decorate([write(p(0x2f4,0x2c8))],c[p(0x2c1,0x2b2)],p(0x2c0,0x2c2),null);__decorate([calculate(p(0x2ca,0x2c8))],c['prototype'],p(0x26a,0x27d),null);__decorate([calculate('effectiveDirection')],c[p(0x2dc,0x2b2)],p(0x2ed,0x2ce),null);__decorate([calculate('startDateDirection')],c[p(0x2ae,0x2b2)],p(0x2ec,0x2d6),null);__decorate([calculate(p(0x287,0x2a7))],c['prototype'],p(0x295,0x2ab),null);return c;}){}export{BaseEventMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){var c=a();function l(a,b){return _enb(b-0x228,a);}while(!![]){try{var d=parseInt(l(0x36a,0x372))/0x1*(parseInt(l(0x37e,0x37c))/0x2)+parseInt(l(0x37c,0x37a))/0x3+parseInt(l(0x383,0x37e))/0x4*(parseInt(l(0x378,0x37b))/0x5)+parseInt(l(0x36f,0x373))/0x6+parseInt(l(0x37a,0x377))/0x7+parseInt(l(0x378,0x378))/0x8*(parseInt(l(0x386,0x382))/0x9)+-parseInt(l(0x38a,0x384))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x41fde));function _ena(){var p=['object','1545549ctNJXB','5pGgGwS','26ELRBcC','function','1037684QixJzM','defineProperty','prototype','getOwnPropertyDescriptor','474543TUnMFj','length','19175440OSSXhw','26636uSyfjv','2984640nAvGpE','assignments','assigned','decorate','2879471acSXlT','24ppJwJC'];_ena=function(){return p;};return _ena();}var __decorate=function(a,b,e,f){function m(a,b){return _enb(a- -0x83,b);}var g=arguments[m(0xd8,0xdd)],h=g<0x3?b:f===null?f=Object[m(0xd6,0xdc)](b,e):f,j;if(typeof Reflect===m(0xce,0xc6)&&typeof Reflect[m(0xcb,0xd2)]===m(0xd2,0xc9))h=Reflect[m(0xcb,0xcb)](a,b,e,f);else for(var k=a[m(0xd8,0xd4)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[m(0xd4,0xde)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{generic_field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ModelBucketField}from'../../../chrono/ModelFieldAtom.js';function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0x14a;var f=c[d];return f;};return _enb(a,b);}import{BaseEventMixin}from'./BaseEventMixin.js';import{AbstractHasAssignmentsMixin}from'../AbstractHasAssignmentsMixin.js';class BaseHasAssignmentsMixin extends Mixin([BaseEventMixin,AbstractHasAssignmentsMixin],a=>{const b=a[n(0x425,0x41e)];class c extends a{get[n(0x419,0x415)](){function o(a,b){return n(b- -0x2ff,a);}return this[o(0x11d,0x11b)]?[...this['assigned']]:[];}}__decorate([generic_field({},ModelBucketField)],c['prototype'],n(0x41a,0x417),void 0x0);function n(a,b){return _enb(a-0x2cd,b);}return c;}){}export{BaseHasAssignmentsMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function l(a,b){return _enb(b- -0x375,a);}var c=a();while(!![]){try{var d=-parseInt(l(-0x1e1,-0x1d8))/0x1*(parseInt(l(-0x1c3,-0x1cf))/0x2)+parseInt(l(-0x1d2,-0x1d6))/0x3*(-parseInt(l(-0x1e4,-0x1df))/0x4)+parseInt(l(-0x1db,-0x1d2))/0x5+-parseInt(l(-0x1e6,-0x1e1))/0x6*(-parseInt(l(-0x1e6,-0x1dc))/0x7)+-parseInt(l(-0x1ea,-0x1e0))/0x8+-parseInt(l(-0x1cc,-0x1d4))/0x9+parseInt(l(-0x1d7,-0x1e4))/0xa*(parseInt(l(-0x1dc,-0x1d7))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x72f46));var __decorate=function(a,b,e,f){var g=arguments[m(0xde,0xeb)],h=g<0x3?b:f===null?f=Object[m(0xd5,0xc8)](b,e):f,j;if(typeof Reflect===m(0xe8,0xe0)&&typeof Reflect[m(0xdd,0xe1)]==='function')h=Reflect['decorate'](a,b,e,f);else for(var k=a[m(0xde,0xeb)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function m(a,b){return _enb(a- -0xbd,b);}return g>0x3&&h&&Object[m(0xea,0xe7)](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{generic_field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ModelBucketField}from'../../../chrono/ModelFieldAtom.js';function _ena(){var r=['7176591rOMsiw','prototype','3467580fjnRHB','children','object','10gkIFFS','defineProperty','assignmentsForRemoval','fields','8869150bSdtqn','getOwnPropertyDescriptor','call','822PDSAAT','5879048Dsjwxs','9464huUqev','leaveProject','isStmRestoring','36799ijaRok','decorate','length','forEach','9342plYLYD','11CKKjEa','318EYVAcM','assigned'];_ena=function(){return r;};return _ena();}import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';import{HasCalendarMixin}from'./HasCalendarMixin.js';class BaseResourceMixin extends Mixin([HasCalendarMixin,ChronoPartOfProjectModelMixin],a=>{const b=a[n(-0x130,-0x12d)];class c extends a{get['assignments'](){function o(a,b){return n(a,b-0x2);}return[...this[o(-0x129,-0x12d)]];}[n(-0x139,-0x138)](d=![]){if(!this[p(0x336,0x32b)]&&this[p(0x33e,0x332)]&&!d){const e=this['getResourceStore']();this[p(0x33e,0x349)][p(0x33a,0x33f)](f=>e[p(0x346,0x349)]['add'](f));}function p(a,b){return n(b,a-0x46d);}b[p(0x335,0x342)][p(0x331,0x327)](this);}static get[n(-0x14c,-0x13f)](){function q(a,b){return n(a,b- -0xf3);}return[{'name':'parentId'},{'name':q(-0x227,-0x21e),'persist':![]}];}}__decorate([generic_field({},ModelBucketField)],c['prototype'],'assigned',void 0x0);function n(a,b){return _enb(b- -0x2cf,a);}return c;}){}function _enb(a,b){var c=_ena();_enb=function(d,e){d=d-0x190;var f=c[d];return f;};return _enb(a,b);}export{BaseResourceMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function i(a,b){return _enb(b-0x373,a);}while(!![]){try{const d=-parseInt(i(0x46e,0x463))/0x1*(parseInt(i(0x453,0x46a))/0x2)+parseInt(i(0x461,0x47a))/0x3+parseInt(i(0x45b,0x45c))/0x4*(parseInt(i(0x465,0x468))/0x5)+-parseInt(i(0x448,0x45b))/0x6+-parseInt(i(0x471,0x459))/0x7*(-parseInt(i(0x491,0x47c))/0x8)+parseInt(i(0x489,0x472))/0x9*(parseInt(i(0x467,0x456))/0xa)+-parseInt(i(0x46a,0x46c))/0xb*(parseInt(i(0x47e,0x482))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x45b12));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ChronoModelMixin}from'../../../chrono/ChronoModelMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xdf;let f=c[d];return f;};return _enb(a,b);}import{ConflictEffect}from'../../../chrono/Conflict.js';function _ena(){const y=['calculation','calendarManagerStore','onCycleSchedulingIssue','298632YZnizj','commitAsync','setStoreCalculations','eventStore','prototype','onEmptyCalendarSchedulingIssue','modelClass','1220KcUiBz','isInitialCommitPerformed','replica','7847PcAgzJ','setModelCalculations','760110ONFQiP','1083332jcgCNJ','delayedCalculationPromise','isDelayingCalculation','trigger','Cancel','hasListener','enterReplica','3997lTAFEp','type','$calculations','getSchedulingIssueEventArguments','assign','5BwjiSx','setCalculations','142OIngOV','setRecordCalculations','286ZNjYfc','onSchedulingIssueCall','invalidateTemporaryIndices','$entity','dependencyStore','now','6723HEWMXG','constructor','assignmentStore','keys','conflict','forEach','resourceStore','$skeleton','1332120XTjHJN','project','3832rxciDL','first','repopulateReplica'];_ena=function(){return y;};return _ena();}import{AbstractProjectMixin}from'../AbstractProjectMixin.js';import{EffectResolutionResult}from'../../../chrono/SchedulingIssueEffect.js';class ChronoAbstractProjectMixin extends Mixin([ChronoModelMixin,AbstractProjectMixin],a=>{const b=a[j(-0x7d,-0x6d)];class c extends a{get[j(-0x72,-0x83)](){function k(a,b){return j(a-0x411,b);}return Boolean(this['delayEnteringReplica']||this[k(0x39e,0x3a1)]);}['getGraph'](){function l(a,b){return j(b-0x24c,a);}return this[l(0x1cc,0x1d4)];}['beforeCommitAsync'](){return null;}[j(-0x6e,-0x81)](d){}['acceptChanges'](){}['finalizeCommitHook'](d){return![];}[j(-0x62,-0x65)](){}async[j(-0x4d,-0x34)](){function m(a,b){return j(b-0x90,a);}if(this['delayedCalculationPromise']){return this[m(0x30,0x1d)];}else{if(this[m(0x16,0x18)]){return this[m(0x24,0x18)][m(0x5a,0x43)]();}else{this[m(0x28,0x17)]=!![];}}}[j(-0x6a,-0x7e)](d,e,f,g){function n(a,b){return j(a-0x48e,b);}const h=[d[n(0x422,0x42e)],{'continueWithResolutionResult':f,'schedulingIssue':d}];if(d instanceof ConflictEffect)h[0x1][n(0x434,0x433)]=d;return h;}async[j(-0x63,-0x4c)](d,e){if(d['type']&&this[o(-0x1c9,-0x1cd)](d[o(-0x1ce,-0x1ca)])){return new Promise((f,g)=>{function p(a,b){return o(b,a-0x68d);}this[p(0x4be,0x4b7)](...this[p(0x4c5,0x4de)](d,e,f,g));});}function o(a,b){return j(b- -0x15e,a);}return EffectResolutionResult[o(-0x1b6,-0x1ce)];}async[j(-0x4f,-0x51)](d,e){function q(a,b){return j(b-0x17e,a);}return this[q(0x120,0x11b)](d,e);}async[j(-0x7c,-0x72)](d,e){return this['onSchedulingIssueCall'](d,e);}async['onConflictSchedulingIssue'](d,e){function r(a,b){return j(a- -0x27b,b);}return this[r(-0x2de,-0x2f5)](d,e);}[j(-0x76,-0x73)](d,e){function s(a,b){return j(b- -0x23e,a);}if(!e)return;const f={};for(const g in e){f[g]=d['prototype'][s(-0x2aa,-0x2a9)][g];}Object[s(-0x295,-0x2a7)](d[s(-0x2a4,-0x2bb)]['$calculations'],e);return f;}['setRecordCalculations'](d,e){function t(a,b){return j(b- -0x25,a);}const f=this[t(-0xab,-0x9b)](d[t(-0x80,-0x82)],e);const g=d[t(-0x81,-0x86)][t(-0x64,-0x7c)];Object[t(-0x72,-0x80)](e)[t(-0x80,-0x7e)](h=>{function u(a,b){return t(a,b-0x559);}g[h][u(0x4ae,0x4b7)][u(0x4cf,0x4e3)]=d[e[h]];});return f;}[j(-0x4c,-0x4a)](d,e){if(!e)return;function v(a,b){return j(b-0x290,a);}const f=d[v(0x23e,0x23d)];if(f){return this[v(0x212,0x22b)](f,e);}else{return this['setModelCalculations'](d[v(0x207,0x215)],e);}}async[j(-0x67,-0x65)](d){this[w(0xef,0xfe)]&&await this['commitAsync']();const e={};const f={'tasks':this[w(0xe9,0xe8)],'events':this[w(0xe9,0xf0)],'dependencies':this[w(0x107,0x106)],'resources':this[w(0x10f,0x103)],'assignments':this[w(0x10b,0xf3)],'calendars':this[w(0x117,0x11f)]};Object[w(0x10c,0x10f)](f)[w(0x10e,0x10a)](h=>{function x(a,b){return w(b- -0x17f,a);}if(d[h]){e[h]=this[x(-0x79,-0x64)](f[h],d[h]);}});let g=d[w(0x112,0x107)];function w(a,b){return j(a-0x167,b);}if(g){e['project']=this[w(0x102,0x113)](this,g);}this['replica']&&this[w(0x115,0x115)][w(0x108,0x101)]();this[w(0xef,0x105)]&&await this[w(0x11a,0x121)]();return e;}}function j(a,b){return _enb(a- -0x15d,b);}return c;}){}export{ChronoAbstractProjectMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function l(a,b){return _enb(a- -0x242,b);}while(!![]){try{const d=parseInt(l(-0xaf,-0xbf))/0x1*(-parseInt(l(-0xb0,-0xb8))/0x2)+-parseInt(l(-0xc3,-0xda))/0x3*(parseInt(l(-0xb7,-0xce))/0x4)+parseInt(l(-0xd8,-0xdf))/0x5+parseInt(l(-0xc5,-0xce))/0x6+-parseInt(l(-0xb5,-0xc9))/0x7+parseInt(l(-0xad,-0xa5))/0x8*(parseInt(l(-0xd7,-0xdb))/0x9)+parseInt(l(-0xba,-0xb6))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xdcf6a));var __decorate=function(a,b,e,f){function m(a,b){return _enb(b- -0xd7,a);}var g=arguments[m(0x9a,0xab)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect[m(0x9a,0x9c)]===m(0x9b,0xb2))h=Reflect[m(0x98,0x9c)](a,b,e,f);else for(var k=a[m(0x9f,0xab)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object['defineProperty'](b,e,h),h;};import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field,generic_field,write}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{CalendarCacheMultiple}from'../../../calendar/CalendarCacheMultiple.js';import{injectStaticFieldsProperty,isSerializableEqual,ModelReferenceField}from'../../../chrono/ModelFieldAtom.js';function _ena(){const A=['map','clearCombinationsWith','write','getById','1539204djejft','calculateEffectiveCalendar','3621azLgQa','cache','sort','length','resolveCalendar','calculateEffectiveVisualCalendar','prototype','oldIdMap','writeCalendar','26645080YhWotL','function','getCalendarManagerStore','5476JkSSLJ','getProject','2362143GGVyud','effectiveVisualCalendar','set','calendar','delete','22702yzyecP','145iDSDYq','constructor','544nCyTOf','join','visual','get','calendarCache','7588415TbljGi','13509wVgGDT','internalId','data','combinedCalendarsCache','calculateEffectiveDataOrVisualCalendar','versionsHash','shouldRecordFieldChange','combinationsByCalendar','decorate','calendarCaches','effectiveCalendar','version','add','forEach'];_ena=function(){return A;};return _ena();}import{stripDuplicates}from'../../../util/StripDuplicates.js';import{ChronoPartOfProjectModelMixin}from'../mixin/ChronoPartOfProjectModelMixin.js';import{BaseCalendarMixin}from'./BaseCalendarMixin.js';class HasCalendarMixin extends Mixin([ChronoPartOfProjectModelMixin],a=>{class b extends a{['writeCalendar'](c,d,e,f){const g=this[n(0x384,0x38d)]();const h=f;function n(a,b){return _enb(a-0x1fa,b);}if(f&&g&&f instanceof BaseCalendarMixin&&!g['includes'](h)){g[n(0x371,0x375)](h);}c[n(0x38e,0x3a5)]['prototype'][n(0x375,0x383)]['call'](this,c,d,e,f);}[o(0x53a,0x54b)](c){function p(a,b){return o(a- -0x1aa,b);}return this[p(0x397,0x39e)]()?.[p(0x389,0x37f)](c);}*[o(0x526,0x53b)](c){let d=yield this['$'][q(-0x109,-0x10e)];if(!d){const e=this[q(-0x10d,-0x104)]();d=yield e['$']['effectiveCalendar'];}yield d['$']['version'];function q(a,b){return o(a- -0x650,b);}return d;}*['calculateEffectiveCalendar'](){function r(a,b){return o(a- -0x3d2,b);}return yield*this[r(0x154,0x168)](r(0x152,0x157));}*[o(0x53b,0x546)](){function s(a,b){return o(a- -0x286,b);}return yield*this[s(0x2a0,0x28a)](s(0x2c8,0x2cf));}[o(0x528,0x53a)](c,d,e){if(!super[t(0x11d,0x118)](c,d,e)){return![];}function t(a,b){return o(b- -0x410,a);}const {project:f}=this;if(c==='calendar'&&f){const {calendarManagerStore:g}=f;return g[t(0x13e,0x12d)][d]!==g[t(0x124,0x123)](e);}return!![];}}__decorate([field({'equality':()=>![]})],b[o(0x53c,0x551)],o(0x52c,0x51b),void 0x0);function o(a,b){return _enb(a-0x3b7,b);}__decorate([field({'equality':()=>![]})],b[o(0x53c,0x554)],o(0x545,0x545),void 0x0);__decorate([generic_field({'modelFieldConfig':{'persist':!![],'serialize':c=>c==null?null:c?.['id']??null,'isEqual':isSerializableEqual,'defaultValue':null},'resolver':function(c){return this['resolveCalendar'](c);},'sync':!![]},ModelReferenceField)],b[o(0x53c,0x52a)],o(0x547,0x55e),void 0x0);__decorate([write(o(0x547,0x556))],b[o(0x53c,0x531)],o(0x53e,0x54e),null);__decorate([calculate(o(0x52c,0x526))],b[o(0x53c,0x554)],o(0x535,0x524),null);__decorate([calculate(o(0x545,0x549))],b[o(0x53c,0x542)],'calculateEffectiveVisualCalendar',null);injectStaticFieldsProperty(b);return b;}){}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x168;let f=c[d];return f;};return _enb(a,b);}class CanCombineCalendarsMixin extends Mixin([],a=>{function y(a,b){return _enb(a-0x3d8,b);}class b extends a{constructor(){super(...arguments);function u(a,b){return _enb(a- -0xbf,b);}this[u(0xaf,0xc4)]=new Map();this[u(0xb3,0xc4)]=new Map();}['combineCalendars'](c){const d=stripDuplicates(c);if(d[v(0x331,0x31e)]===0x0)throw new Error('No\x20calendars\x20to\x20combine');d[v(0x330,0x341)]((i,j)=>{function w(a,b){return v(a- -0x121,b);}if(i[w(0x1fa,0x206)]<j[w(0x1fa,0x1e2)])return-0x1;else return 0x1;});const e=d[v(0x328,0x315)](i=>i[v(0x31b,0x32f)]+'/')[v(0x345,0x359)]('');function v(a,b){return _enb(a-0x1af,b);}const f=d[v(0x328,0x31b)](i=>i[v(0x325,0x329)]+'/')[v(0x345,0x355)]('');const g=this[v(0x31d,0x331)][v(0x317,0x320)](e);let h;if(g&&g[v(0x31f,0x336)]===f)h=g[v(0x32f,0x337)];else{h=new CalendarCacheMultiple({'calendarCaches':d[v(0x328,0x314)](i=>i[v(0x318,0x30e)])});this[v(0x31d,0x31d)][v(0x33e,0x339)](e,{'versionsHash':f,'cache':h});d[v(0x327,0x316)](i=>{function x(a,b){return v(b- -0x4c5,a);}let j=this['combinationsByCalendar']['get'](i);if(!j){j=new Set();this[x(-0x1b9,-0x1a4)][x(-0x197,-0x187)](i,j);}j[x(-0x18a,-0x19f)](e);});}return h;}[y(0x552,0x567)](c){function z(a,b){return y(b- -0x269,a);}const d=this[z(0x2d1,0x2e1)]['get'](c);if(d){for(const e of d){for(const f of this['combinedCalendarsCache'][z(0x2de,0x2d7)](e)['cache'][z(0x2d2,0x2e3)]){const g=this['combinationsByCalendar'][z(0x2c8,0x2d7)](f[z(0x306,0x2ff)]);g['delete'](e);}this[z(0x2e4,0x2dd)][z(0x304,0x300)](e);}this[z(0x2da,0x2e1)][z(0x301,0x300)](c);}}}return b;}){}export{CanCombineCalendarsMixin,HasCalendarMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1d3;let f=c[d];return f;};return _enb(a,b);}(function(a,b){function l(a,b){return _enb(b- -0x327,a);}const c=a();while(!![]){try{const d=parseInt(l(-0x14e,-0x14b))/0x1*(-parseInt(l(-0x133,-0x132))/0x2)+-parseInt(l(-0x137,-0x136))/0x3+-parseInt(l(-0x138,-0x145))/0x4+parseInt(l(-0x13c,-0x139))/0x5+-parseInt(l(-0x13f,-0x144))/0x6+-parseInt(l(-0x14e,-0x14a))/0x7*(-parseInt(l(-0x13f,-0x13b))/0x8)+-parseInt(l(-0x147,-0x146))/0x9*(-parseInt(l(-0x133,-0x131))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x2b54e));var __decorate=function(a,b,e,f){var g=arguments[m(0xc,0xc)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;if(typeof Reflect===m(-0x14,-0x6)&&typeof Reflect[m(0x1f,0x12)]===m(0xc,0x1e))h=Reflect[m(0x1c,0x12)](a,b,e,f);else for(var k=a[m(0x16,0xc)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function m(a,b){return _enb(b- -0x1d9,a);}return g>0x3&&h&&Object[m(-0x8,0x0)](b,e,h),h;};function _ena(){const w=['967692cDwkgH','size','length','enforced','parentEvent','own','isManuallyScheduled','hasSubEvents','decorate','402656PvNJMD','direction','326325nNjZHx','inheritedFrom','childEvents','907212GMUYPw','calculateStartDateDirection','parent','_parent','228560FeWmmc','5630rOgQSL','function','calculateEndDateDirection','subEventsIterable','object','enforcedBy','prototype','kind','startDateDirection','calculateEffectiveDirection','defineProperty','inherited','effectiveDirection','3LdkbiI','49iCGkrN','getEventById','getProject','endDateDirection','11169sXYJCN','529040iXjCcC'];_ena=function(){return w;};return _ena();}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{bucket}from'@bryntum/engine-thin/lib/ChronoGraph/replica/ReferenceBucket.js';import{HasSubEventsMixin}from'./HasSubEventsMixin.js';import{ModelReferenceField}from'../../../chrono/ModelFieldAtom.js';import{generic_field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';class HasChildrenMixin extends Mixin([HasSubEventsMixin],a=>{function n(a,b){return _enb(a- -0x2bd,b);}const b=a[n(-0xe8,-0xf0)];class c extends a{*[n(-0xd3,-0xd5)](){const d=yield this['$'][o(0x2f,0x38)];function o(a,b){return n(a-0xfc,b);}return d[o(0x23,0x1e)]>0x0;}*['subEventsIterable'](){function p(a,b){return n(b-0x360,a);}return yield this['$'][p(0x2a2,0x293)];}get[n(-0xca,-0xd9)](){function q(a,b){return n(a-0x30f,b);}return this[q(0x246,0x256)];}set['parent'](d){this[r(-0x87,-0x89)]=d;function r(a,b){return n(b-0x40,a);}this['parentEvent']=d;}*['calculateEffectiveDirection'](){const d=yield this['$']['direction'];if(d)return{'kind':s(0x3b0,0x39e),'direction':d};const e=yield this['$'][s(0x3af,0x39d)];function s(a,b){return n(b-0x473,a);}if(e){const f=yield e['$'][s(0x3a5,0x391)];return{'kind':s(0x395,0x390),'direction':f[s(0x390,0x3a3)],'inheritedFrom':f['kind']===s(0x39e,0x39e)?e:f[s(0x39c,0x38c)]===s(0x399,0x390)?f[s(0x392,0x3a5)]:e};}else return yield*super[s(0x390,0x38e)]();}*[n(-0xcb,-0xc9)](){const d=yield this[t(-0x34,-0x24)]()['$'][t(-0x38,-0x4c)];let e=null;function t(a,b){return n(a-0xaa,b);}if(!(yield*this['isManuallyScheduled']())){const f=yield*this[t(-0x1a,-0x25)]();for(const g of f){const h=yield g['$'][t(-0x3c,-0x2a)];if(d[t(-0x26,-0x2a)]!==h['direction']){e={'kind':t(-0x2d,-0x3b),'direction':h[t(-0x26,-0x24)],'enforcedBy':h[t(-0x3d,-0x46)]===t(-0x2b,-0x3a)?g:h['kind']===t(-0x2d,-0x2a)?h[t(-0x3f,-0x37)]:h[t(-0x24,-0x2c)]};break;}}}return e??(yield*super['calculateStartDateDirection']());}*[n(-0xc5,-0xc3)](){function u(a,b){return n(b-0x522,a);}const d=yield this['getProject']()['$'][u(0x435,0x440)];let e=null;if(!(yield*this[u(0x444,0x44e)]())){const f=yield*this[u(0x45b,0x45e)]();for(const g of f){const h=yield g['$'][u(0x456,0x445)];if(d[u(0x45c,0x452)]!==h['direction']){e={'kind':u(0x440,0x44b),'direction':h[u(0x465,0x452)],'enforcedBy':h[u(0x42e,0x43b)]===u(0x45b,0x44d)?g:h[u(0x427,0x43b)]==='enforced'?h[u(0x43a,0x439)]:h[u(0x462,0x454)]};break;}}}return e??(yield*super[u(0x463,0x45d)]());}}__decorate([generic_field({'bucket':n(-0xcd,-0xbf),'resolver':function(d){function v(a,b){return n(b-0x5ca,a);}return this[v(0x4eb,0x4eb)](d);},'ignore':!![],'modelFieldConfig':{'persist':![]}},ModelReferenceField)],c[n(-0xe8,-0xd6)],n(-0xd6,-0xcb),void 0x0);__decorate([bucket()],c[n(-0xe8,-0xf3)],n(-0xcd,-0xc2),void 0x0);return c;}){}export{HasChildrenMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function l(a,b){return _enb(b- -0x11d,a);}while(!![]){try{const d=parseInt(l(-0xa8,-0xa1))/0x1*(parseInt(l(-0xae,-0xa6))/0x2)+parseInt(l(-0xa1,-0xa9))/0x3*(parseInt(l(-0xaa,-0x9d))/0x4)+-parseInt(l(-0xa5,-0xae))/0x5*(parseInt(l(-0xad,-0xa3))/0x6)+-parseInt(l(-0xa0,-0x99))/0x7+-parseInt(l(-0xb2,-0xab))/0x8+parseInt(l(-0xb3,-0xaa))/0x9+parseInt(l(-0x9c,-0x9c))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xf3bd7));var __decorate=function(a,b,e,f){var g=arguments[m(0x25f,0x25a)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;if(typeof Reflect===m(0x23f,0x248)&&typeof Reflect['decorate']==='function')h=Reflect['decorate'](a,b,e,f);else for(var k=a[m(0x261,0x25a)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function m(a,b){return _enb(b-0x1d8,a);}return g>0x3&&h&&Object[m(0x244,0x246)](b,e,h),h;};function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x6b;let f=c[d];return f;};return _enb(a,b);}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{generic_field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';function _ena(){const p=['10735176wOpsWg','3870648KSKojD','19314tGaWkX','project','remove','3410eMGqRZ','prototype','dependencyStore','9960798asaPmZ','includes','1114iKtzPf','outgoingDeps','call','incomingDeps','76uRBGxr','24596080JkWKen','length','leaveProject','6376881BgvKZx','push','readCurrentOrProposedOrPrevious','graph','isInActiveTransaction','defineProperty','5LOHHgz','object','activeTransaction'];_ena=function(){return p;};return _ena();}import{ModelBucketField}from'../../../chrono/ModelFieldAtom.js';import{BaseEventMixin}from'./BaseEventMixin.js';class HasDependenciesMixin extends Mixin([BaseEventMixin],a=>{const b=a[n(-0x310,-0x307)];class c extends a{['leaveProject'](){function o(a,b){return n(b-0xdc,a);}if(this[o(-0x24a,-0x23f)]){const d=this[o(-0x247,-0x240)][o(-0x246,-0x23b)];const e=this['getDependencyStore']();const f=[];for(const g of d['readCurrentOrProposedOrPrevious'](this['$'][o(-0x237,-0x22f)])??[])if(e[o(-0x229,-0x231)](g))f[o(-0x224,-0x227)](g);for(const h of d[o(-0x238,-0x241)](this['$'][o(-0x233,-0x22d)])??[])if(e[o(-0x22e,-0x231)](h))f['push'](h);this[o(-0x245,-0x237)][o(-0x23a,-0x233)][o(-0x22d,-0x236)](f);}b[o(-0x231,-0x229)][o(-0x22d,-0x22e)](this);}}function n(a,b){return _enb(a- -0x388,b);}__decorate([generic_field({},ModelBucketField)],c[n(-0x310,-0x318)],n(-0x30b,-0x306),void 0x0);__decorate([generic_field({},ModelBucketField)],c[n(-0x310,-0x304)],n(-0x309,-0x315),void 0x0);return c;}){}export{HasDependenciesMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function i(a,b){return _enb(a-0x25d,b);}while(!![]){try{const d=-parseInt(i(0x40e,0x3fe))/0x1*(-parseInt(i(0x402,0x402))/0x2)+parseInt(i(0x40d,0x415))/0x3*(-parseInt(i(0x419,0x418))/0x4)+-parseInt(i(0x410,0x418))/0x5+-parseInt(i(0x415,0x414))/0x6*(-parseInt(i(0x3fd,0x3f2))/0x7)+-parseInt(i(0x400,0x40d))/0x8+parseInt(i(0x40b,0x400))/0x9*(-parseInt(i(0x3fe,0x406))/0xa)+parseInt(i(0x3fc,0x406))/0xb*(parseInt(i(0x418,0x417))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xed397));function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x19d;let f=c[d];return f;};return _enb(a,b);}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{MAX_DATE,MIN_DATE}from'../../../util/Constants.js';function _ena(){const s=['calculateEndDateProposed','calculateDurationPure','121DBOKzu','11286247nasNYZ','4697870WJciAA','calculateMinChildrenStartDate','9381312KPtXkO','Abstract\x20method\x20`hasSubEvents`\x20has\x20been\x20called','712zKcani','calculateStartDateProposed','subEventsIterable','calculateMaxChildrenEndDate','shouldRollupChildEndDate','startDate','endDate','isManuallyScheduled','calculateDurationProposed','18AHgQUb','HasSubEventsMixin','1804533Yqjdsq','3793giKlST','getTime','4312700TDiwqp','calculateEndDatePure','prototype','shouldRollupChildStartDate','$name','6LIbWQE','hasSubEvents','calculateStartDatePure','1729452aVJygA','4qovGEH','call'];_ena=function(){return s;};return _ena();}import{BaseEventMixin}from'./BaseEventMixin.js';class HasSubEventsMixin extends Mixin([BaseEventMixin],a=>{const b=a[j(0x434,0x43e)];function j(a,b){return _enb(b-0x289,a);}class c extends a{*[j(0x449,0x442)](){function k(a,b){return j(a,b- -0x4af);}throw new Error(k(-0x8a,-0x82));}*[j(0x43f,0x430)](){throw new Error('Abstract\x20method\x20`subEventsIterable`\x20has\x20been\x20called');}*[j(0x44f,0x443)](){function l(a,b){return j(b,a-0xad);}const d=yield*this['isManuallyScheduled']();const e=yield*this[l(0x4ef,0x4df)]();if(!d&&e){return yield*this[l(0x4d8,0x4c8)]();}else{return yield*b['calculateStartDatePure'][l(0x4f3,0x4fd)](this);}}*[j(0x441,0x43d)](){const d=yield*this[m(-0x46,-0x38)]();function m(a,b){return j(b,a- -0x47b);}const e=yield*this[m(-0x39,-0x35)]();if(!d&&e){return yield*this[m(-0x4a,-0x4a)]();}else{return yield*b[m(-0x3e,-0x46)][m(-0x35,-0x38)](this);}}*[j(0x428,0x42f)](){const d=yield*this['isManuallyScheduled']();function n(a,b){return j(b,a- -0x210);}const e=yield*this[n(0x232,0x238)]();if(!d&&e){return yield*this[n(0x233,0x232)]();}else{return yield*b[n(0x21f,0x21f)][n(0x236,0x241)](this);}}*['calculateEndDateProposed'](){const d=yield*this['isManuallyScheduled']();function o(a,b){return j(b,a- -0x639);}const e=yield*this[o(-0x1f7,-0x1e7)]();if(!d&&e){return yield*this[o(-0x1fc,-0x1ff)]();}else{return yield*b[o(-0x213,-0x209)][o(-0x1f3,-0x1f4)](this);}}*[j(0x446,0x436)](){const d=yield*this['isManuallyScheduled']();function p(a,b){return j(a,b- -0x2a9);}const e=yield*this[p(0x1a1,0x199)]();if(!d&&e){return yield*this[p(0x188,0x17e)]();}else{return yield*b[p(0x189,0x18d)][p(0x19e,0x19d)](this);}}*[j(0x44b,0x43f)](d){return!![];}*[j(0x42f,0x42b)](){const d=yield*this['subEventsIterable']();let e=MAX_DATE['getTime']();for(const f of d){if(yield*this[q(0x25,0x34)](f)){let g=yield f['$'][q(0x19,0x22)];if(!g){g=yield f['$']['endDate'];}if((yield*f[q(0x1b,0x22)]())&&(yield*f['hasSubEvents']())){const h=yield*f['calculateMinChildrenStartDate']();if(!g||h&&h[q(0x21,0x1a)]()<g[q(0x21,0x21)]())g=h;}if(g&&g[q(0x21,0x22)]()<e){e=g[q(0x21,0x22)]();}}}if(e===MIN_DATE[q(0x21,0x24)]()||e===MAX_DATE['getTime']())return null;function q(a,b){return j(b,a- -0x41a);}return new Date(e);}*[j(0x43a,0x432)](d){return!![];}*[j(0x43b,0x431)](){const d=yield*this['subEventsIterable']();let e=MIN_DATE['getTime']();for(const f of d){if(yield*this[r(-0x120,-0x12d)](f)){let g=yield f['$'][r(-0x11e,-0x12b)];if(!g){g=yield f['$'][r(-0x128,-0x12c)];}if((yield*f[r(-0x134,-0x12a)]())&&(yield*f[r(-0x129,-0x11d)]())){const h=yield*f[r(-0x129,-0x12e)]();if(!g||h&&h['getTime']()>g[r(-0x119,-0x124)]())g=h;}if(g&&g['getTime']()>e){e=g[r(-0x122,-0x124)]();}}}function r(a,b){return j(a,b- -0x55f);}if(e===MIN_DATE[r(-0x12e,-0x124)]()||e===MAX_DATE[r(-0x129,-0x124)]())return null;return new Date(e);}}c[j(0x44f,0x440)]=j(0x42a,0x438);return c;}){}export{HasSubEventsMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x16d;let f=c[d];return f;};return _enb(a,b);}(function(a,b){function f(a,b){return _enb(a-0x2d9,b);}const c=a();while(!![]){try{const d=-parseInt(f(0x44c,0x452))/0x1*(parseInt(f(0x44b,0x450))/0x2)+parseInt(f(0x44a,0x450))/0x3+-parseInt(f(0x44e,0x452))/0x4+-parseInt(f(0x44d,0x44b))/0x5*(parseInt(f(0x450,0x452))/0x6)+parseInt(f(0x447,0x449))/0x7+-parseInt(f(0x44f,0x44d))/0x8*(parseInt(f(0x446,0x443))/0x9)+parseInt(f(0x448,0x448))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x60a83));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _ena(){const h=['1691sgQfsB','625fYKjNK','2465244BSbfvF','2632880oKbmeX','32556zSDTXA','9GVUIHv','2628416QJIFDK','17332390JSLRBQ','prototype','945000adMvdE','478iKfZwW'];_ena=function(){return h;};return _ena();}import{BaseEventMixin}from'./BaseEventMixin.js';import{BaseHasAssignmentsMixin}from'./BaseHasAssignmentsMixin.js';import{HasDependenciesMixin}from'./HasDependenciesMixin.js';class SchedulerBasicEvent extends Mixin([BaseEventMixin,BaseHasAssignmentsMixin,HasDependenciesMixin],a=>{const b=a[g(0x408,0x40a)];function g(a,b){return _enb(b-0x29a,a);}class c extends a{}return c;}){}export{SchedulerBasicEvent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function o(a,b){return _enb(a-0x1a1,b);}const c=a();while(!![]){try{const d=parseInt(o(0x378,0x35d))/0x1*(parseInt(o(0x3e1,0x3ec))/0x2)+parseInt(o(0x39f,0x34f))/0x3+parseInt(o(0x373,0x373))/0x4*(-parseInt(o(0x3f2,0x3fa))/0x5)+parseInt(o(0x413,0x3e0))/0x6*(parseInt(o(0x398,0x418))/0x7)+-parseInt(o(0x3a8,0x3e8))/0x8*(-parseInt(o(0x3fb,0x3d2))/0x9)+-parseInt(o(0x383,0x3ff))/0xa*(-parseInt(o(0x32a,0x33c))/0xb)+parseInt(o(0x38a,0x373))/0xc*(-parseInt(o(0x415,0x417))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x99b70));var __decorate=function(a,b,e,f){var g=arguments[p(0x329,0x386)],h=g<0x3?b:f===null?f=Object[p(0x28b,0x28a)](b,e):f,j;if(typeof Reflect===p(0x2e9,0x31b)&&typeof Reflect[p(0x32b,0x2ac)]===p(0x371,0x36a))h=Reflect['decorate'](a,b,e,f);else for(var k=a[p(0x329,0x2bf)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function p(a,b){return _enb(a-0xfa,b);}return g>0x3&&h&&Object[p(0x2b4,0x31e)](b,e,h),h;};import{MixinAny}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{ReadMode}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Replica.js';import{Schema}from'@bryntum/engine-thin/lib/ChronoGraph/schema/Schema.js';import{delay}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import _enc from'@bryntum/core-thin/lib/data/stm/StateTrackingManager.js';import _end from'@bryntum/core-thin/lib/data/Store.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x187;let f=c[d];return f;};return _enb(a,b);}import _ene from'@bryntum/core-thin/lib/helper/IdHelper.js';import _enf from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import{IsChronoModelSymbol,model_field,ModelBucketField}from'../../../chrono/ModelFieldAtom.js';import{CycleEffect,EngineReplica}from'../../../chrono/Replica.js';import{DurationConverterMixin}from'../../../scheduling/DurationConverterMixin.js';import{Direction,ProjectType}from'../../../scheduling/Types.js';import _eng from'../../../util/Queue.js';import{ChronoAssignmentStoreMixin}from'../../store/ChronoAssignmentStoreMixin.js';import{ChronoCalendarManagerStoreMixin}from'../../store/ChronoCalendarManagerStoreMixin.js';import{ChronoDependencyStoreMixin}from'../../store/ChronoDependencyStoreMixin.js';import{ChronoEventStoreMixin}from'../../store/ChronoEventStoreMixin.js';import{ChronoResourceStoreMixin}from'../../store/ChronoResourceStoreMixin.js';import{BaseAssignmentMixin}from'./BaseAssignmentMixin.js';import{BaseCalendarMixin}from'./BaseCalendarMixin.js';import{BaseDependencyMixin}from'./BaseDependencyMixin.js';import{BaseEventMixin}from'./BaseEventMixin.js';import{BaseResourceMixin}from'./BaseResourceMixin.js';function _ena(){const as=['project','recordsUnlinked','acceptChanges','tasksData','1032SYOxOt','getDefaultEventModelClass','from','onCommitRejection','setAssignmentStore','delayCalculation','getType','unspecifiedTimeIsWorking','calendarManagerStore','detachStore','syncDataOnLoad','isValidDependency','CurrentOrProposedOrPrevious','data','eventStoreChange','usingSyncDataOnLoad','time','stm','dependencyStore','Forward','setCalendarManagerStore','internalDelayCalculation','dependencyStoreChange','defaultCalendar','includeEvent','beginBatch','totalCount','activeTransaction','setStm','isLoadingInlineData','direction','delayCalculationEnd','isCommitting','undo','excludeEvent','enterReplica','eventsData','rejectedWith','setResourceStore','tryPropagateWithChangesQueued','length','resourceModelClass','decorate','enableProgressNotifications','hasPendingAutoCommit','storeClass','resourceStoreClass','set','removeEvent','calendarManagerStoreChange','_enableProgressNotifications','commitAsync','cycleEffectClass','eventStore','unlinkCalendarConsumers','dirty','assignmentStoreClass','626PLzXxj','hasChanges','beforeCommitAsync','calculateProject','resourceStoreChange','stateRestoringDone','has','prototype','eventStoreClass','getDefaultDependencyStoreClass','unjoinRecordsFromProject','assignments','addIndex','tryPropagateWithChanges','resetStmQueue','values','invalidateIndices','1605CeOJif','scheduleDelayedCalculation','resourceStore','addEvent','initializeStm','some','redo','tree','invalidateTemporaryIndices','21051GRkVNW','tasks','assignmentStoreChange','SchedulerBasic','getById','boolean','assign','resetQueue','queue','repopulateReplica','calendarManagerStoreClass','startTransaction','removeRejectedRecordsAdd','resourcesData','setDependencyStore','enable','revisionsEnabled','onSTMRestoringStart','now','entries','transaction','getDefaultDependencyModelClass','deferUntilRepopulationIfNeeded','setEventStore','12swfnqY','isEngineReady','13iOvRGh','_stmAutoRecord','stopTransaction','function','assignmentsForRemoval','calendarsData','handleSTMRestoringStop','hasSubEvents','rootNode','Time\x20to\x20visible','resumeFilterOnUpdate','load','dependencyStoreClass','getDefaultCalendarManagerStoreClass','unScheduleAutoCommit','getReplicaConfig','removeStore','loadInlineData','generateId','Populating\x20project','repopulateOnDataset','getGraph','DEBUG','isDelayingCalculation','baseRevision','8987zWdvZM','timeEnd','rejectStmTransaction','repopulateStore','dependencies','hasChangesInStores','storePopulation','getLatestStableEntryFor','getOwnPropertyDescriptor','_stmDisabled','disable','Project\x20\x22ignoreInitialCommitComputationCycles\x22\x20option\x20is\x20deprecated\x20and\x20will\x20be\x20dropped\x20in\x20the\x20next\x20major\x20release','query','getRange','calendarModelClass','unlinkStoreRecords','getCalendarConsumers','setupTemporaryIndices','await','assignmentStore','eventModelClass','clear','traverse','afterResourceRemoval','add','getDefaultResourceModelClass','getDefaultAssignmentStoreClass','calendar','onCommitInitialization','resource','remove','onCommitFinalization','size','isPending','commitLoad','stmClass','previous','addEvents','ignoreInitialCommitComputationCycles','onSTMRestoringStop','isDestroyed','_stmRestoringInProgress','disabled','calendars','expanded','ProjectModelQueue','autoRecord','resources','ignore','defineProperty','then','events','removeEvents','attachStore','isRecording','ion','getDefaultCycleEffectClass','_queue','hasDataInStores','getDefaultAssignmentModelClass','rejectTransaction','font-weight:bold;color:darkgreen;text-transform:uppercase;margin-top:\x202em','reject','suspendChangeTracking','delayCalculationStart','destroy','joinRecordsToProject','removeTemporaryIndices','sort','getEventStore','construct','addEntity','replica','13852zaUyue','isRepopulatingStores','onPropagationProgressNotification','_isCommittingAfterStmRestore','silenceInitialCommit','1533rwgAfM','assignmentsData','isInitialCommitPerformed','repopulateStores','hasStore','getStm','dependencyModelClass','setProject','addStore','children','delayedCalculationPromise','5170bDcccd','forEachStore','isWritingPreviousData','trigger','delayable','forEach','get','12087060JykIYp','getDefaultResourceStoreClass','assignmentModelClass','new','self','removalOrder','object','createReplica','dependenciesData','appendChild','unlinkRecord','doDestroy','log','dataStores','3214603SlYZdk','delayEnteringReplica','skipNonWorkingTimeWhenSchedulingManually','keys','identifier','applyProjectResponse','removeIndex','1878261ButyBF','calculateEffectiveDataOrVisualCalendar','stop','getDefaultEventStoreClass','event'];_ena=function(){return as;};return _ena();}import{ChronoAbstractProjectMixin}from'./ChronoAbstractProjectMixin.js';import{CanCombineCalendarsMixin,HasCalendarMixin}from'./HasCalendarMixin.js';import{SchedulerBasicEvent}from'./SchedulerBasicEvent.js';import{HasChildrenMixin}from'./HasChildrenMixin.js';class SchedulerBasicProjectMixin extends MixinAny([ChronoAbstractProjectMixin,BaseEventMixin,HasChildrenMixin,HasCalendarMixin,DurationConverterMixin,CanCombineCalendarsMixin],a=>{const b=a[q(-0x6a,-0xe5)];class c extends a{[q(-0xe2,-0xe6)](d={}){d[r(-0x33,-0x98)]=d['delayCalculation']!==![];d[r(-0xd,-0x8)]=d['enableProgressNotifications']||d[r(-0x33,0x39)]!==![];this[r(-0x7d,-0xb3)]=new _eng(_ene[r(0x47,0x43)](r(-0x89,-0x80)));if(!('expanded'in d)){d[r(-0x8a,-0xe5)]=!![];}if(d[r(-0x33,-0x4e)]){this[r(-0x47,0x2a)]=!![];}if(!('skipNonWorkingTimeWhenSchedulingManually'in d)){d[r(-0x46,0x0)]=![];}const {events:e,dependencies:f,resources:g,assignments:h,calendars:i}=d;delete d[r(-0x83,-0xb7)];delete d[r(-0xb2,-0xe2)];delete d[r(-0x87,-0x80)];delete d['assignments'];delete d[r(-0x8b,-0x91)];b[r(-0x70,-0x6b)]['call'](this,d);this[r(-0x65,-0xad)]=new Set();this[r(-0x90,-0xf6)]=r(-0x90,-0x6a)in d?d[r(-0x90,-0x76)]:![];if(this[r(-0x90,-0xcd)]){console['warn'](r(-0xab,-0xa6));}if(!this[r(-0xa2,-0xf7)])this[r(-0xa2,-0x36)]=this[r(-0x37,-0x42)]();if(!this[r(0x9,0x2a)])this[r(0x9,0x5a)]=this[r(-0x3e,-0x1a)]();if(!this[r(-0x62,-0xba)])this['dependencyModelClass']=this[r(0x30,0x46)]();if(!this[r(0x41,-0x18)])this[r(0x41,-0x1b)]=this['getDefaultDependencyStoreClass']();if(!this[r(-0xf,-0x39)])this[r(-0xf,0x32)]=this['getDefaultResourceModelClass']();function r(a,b){return q(a-0x72,b);}if(!this[r(-0xa,-0x52)])this[r(-0xa,0x54)]=this['getDefaultResourceStoreClass']();if(!this['assignmentModelClass'])this[r(-0x54,-0x83)]=this['getDefaultAssignmentModelClass']();if(!this[r(0x0,0x2d)])this[r(0x0,0x73)]=this[r(-0x9c,-0xd1)]();if(!this['calendarModelClass'])this[r(-0xa8,-0xe3)]=this['getDefaultCalendarModelClass']();if(!this[r(0x25,-0x53)])this[r(0x25,0x42)]=this[r(0x42,0x69)]();if(!this['cycleEffectClass'])this[r(-0x4,-0x6a)]=this[r(-0x7e,-0xd9)]();this[r(0x16,0x31)]();this[r(-0x21,0x7)]=new this['calendarModelClass']({'name':'Default','unspecifiedTimeIsWorking':this[r(-0x31,-0x90)]});this[r(-0x21,0x46)]['project']=this;if(!this['delayEnteringReplica'])this['enterReplica'](![]);this[r(-0x24,-0x21)](this[r(-0x30,-0x22)]);this['setEventStore'](this[r(-0x3,0x28)]);this[r(0x29,0x5b)](this['dependencyStore']);this[r(-0x12,-0x68)](this['resourceStore']);this[r(-0x34,-0x6c)](this[r(-0xa3,-0xa8)]);const j=Boolean(this[r(0x3a,-0xe)]||this[r(-0x14,-0x74)]||this['dependenciesData']||this[r(0x28,0x30)]||this[r(-0x67,-0x2e)]||i||e||f||g||h);if(j){this[r(0x46,0x91)]({'calendarsData':this['calendarsData'],'eventsData':this[r(-0x14,0x4c)],'dependenciesData':this[r(-0x4e,-0x96)],'resourcesData':this[r(0x28,0x93)],'assignmentsData':this[r(-0x67,-0x78)],'calendars':i,'events':e,'dependencies':f,'resources':g,'assignments':h});delete this[r(0x3a,0x4c)];delete this['eventsData'];delete this[r(-0x4e,-0x73)];delete this['resourcesData'];delete this[r(-0x67,-0xcb)];}else{if(this[r(-0x33,-0x33)]&&this[r(-0x7c,-0x6a)])this['scheduleDelayedCalculation']();}}get[q(-0xbb,-0x3d)](){function s(a,b){return q(a-0x161,b);}return[this['calendarManagerStore'],this[s(0x103,0xbd)],this['eventStore'],this[s(0xc9,0x54)],this[s(0x4c,0x94)]];}get[q(-0xee,-0x110)](){function t(a,b){return q(a-0x79,b);}return this[t(-0x42,-0x94)][t(0x1e,0x22)](d=>d['totalCount']>0x0);}get[q(-0x123,-0x186)](){function u(a,b){return q(a-0x633,b);}return this['dataStores'][u(0x5d8,0x615)](d=>d[u(0x5c3,0x60b)]);}[q(-0x87,-0x27)](d){const e=this;function v(a,b){return q(a- -0x72,b);}if(!e[v(-0x152,-0x175)]){e[v(-0x152,-0x10e)]=e[v(-0x133,-0xd5)]();e[v(-0x152,-0x13b)][v(-0x153,-0x132)](e);e[v(-0x152,-0xee)][v(-0x153,-0x176)](e[v(-0x105,-0x128)]);e[v(-0x13e,-0x1b0)]('graphReady');}if(d&&!e[v(-0x150,-0x16a)]){e[v(-0x12d,-0x14d)][v(-0x13c,-0x114)](f=>{function w(a,b){return v(b-0x569,a);}f[w(0x44a,0x42d)](g=>{!g['graph']&&g['joinProject']();},void 0x0,{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});});}}[q(-0x63,-0x2d)](){const d=this['stm'][x(-0x6e,0xb)];this['stm'][x(0x13,-0x15)]();this[x(0x19,0x70)]['resetQueue']();function x(a,b){return q(b-0x109,a);}if(!d){this[x(0x75,0x70)]['enable']();}}[q(-0xbd,-0x116)](){const d=this;d['dataStores']['forEach'](e=>e?.[y(-0x10b,-0xfe)]());function y(a,b){return q(b- -0x17,a);}d[y(-0xe6,-0xaa)]?.[y(-0xd4,-0xfe)]();d['replica']?.[y(-0x125,-0x12a)]();d['stm']?.[y(-0x102,-0xfe)]();b[y(-0x6a,-0xd4)]['call'](this);}[q(-0x2e,-0x60)](){function z(a,b){return q(a- -0xbc,b);}return{'project':this,'schema':Schema[z(-0x181,-0x158)](),'enableProgressNotifications':this['enableProgressNotifications'],'silenceInitialCommit':this[z(-0x197,-0x142)],'ignoreInitialCommitComputationCycles':this[z(-0x1be,-0x164)],'cycleEffectClass':this[z(-0x132,-0xf8)],'onWriteDuringCommit':z(-0x1b4,-0x22d),'readMode':ReadMode[z(-0x15a,-0x1b0)]};}[q(-0xc1,-0xff)](){function A(a,b){return q(a-0x3cf,b);}return EngineReplica['new'](this[A(0x3a1,0x3a5)]());}*[q(-0x36,-0x3d)](){return this['getEventStore']()['count']>0x0;}*['subEventsIterable'](){function B(a,b){return q(b-0x430,a);}return this[B(0x301,0x34d)]()[B(0x340,0x315)]();}[q(-0xa4,-0xbe)](){function C(a,b){return q(a- -0x132,b);}return ProjectType[C(-0x186,-0x108)];}get[q(-0x7f,-0x81)](){return this['_enableProgressNotifications'];}set[q(-0x7f,-0xa)](d){function D(a,b){return q(a-0x305,b);}this[D(0x28d,0x300)]=d;if(this[D(0x225,0x1d6)])this[D(0x225,0x1ad)][D(0x286,0x219)]=d;}['getDefaultCycleEffectClass'](){return CycleEffect;}['getDefaultEventModelClass'](){return SchedulerBasicEvent;}[q(-0xb0,-0xbd)](){return ChronoEventStoreMixin;}[q(-0x42,-0x20)](){return BaseDependencyMixin;}[q(-0x68,-0x40)](){return ChronoDependencyStoreMixin;}[q(-0x10f,-0xf7)](){return BaseResourceMixin;}[q(-0xc7,-0xf2)](){return ChronoResourceStoreMixin;}[q(-0xed,-0xda)](){return BaseAssignmentMixin;}[q(-0x10e,-0xf1)](){return ChronoAssignmentStoreMixin;}['getDefaultCalendarModelClass'](){return BaseCalendarMixin;}['getDefaultCalendarManagerStoreClass'](){return ChronoCalendarManagerStoreMixin;}[q(-0x9b,-0xa0)](){function E(a,b){return q(b-0x34c,a);}return[this[E(0x320,0x2d7)],this[E(0x312,0x2ee)],this[E(0x2fa,0x2b4)],this[E(0x29a,0x237)]][E(0x366,0x2f1)](d=>d['syncDataOnLoad']);}async[q(-0x2c,-0xa)](d){const {calendarManagerStore:e,eventStore:f,dependencyStore:g,assignmentStore:h,resourceStore:i,replica:j}=this;this['dataPropertyDeprecation']?.(d||{});if(!this[F(-0x91,-0xc3)]){j?.[F(0x18,0x82)]();}else{while(j?.['isCommitting']){await this[F(-0x30,0x16)]();}}if(j?.['enableProgressNotifications']&&!this['delayCalculation']){await delay(0x0);await this[F(-0x30,0x0)]();j[F(-0x96,-0xcb)]({'total':0x0,'remaining':0x0,'phase':F(-0xdb,-0xf5)});await delay(0x32);}this['isInitialCommitPerformed']=![];this[F(-0x46,0x6)]=!![];if(globalThis[F(0x20,-0x5c)]){console[F(-0x75,-0x1c)]('%cInitializing\x20project',F(-0xa4,-0xc0));console['time'](F(0x13,0x93));console[F(-0x53,-0xbf)](F(0x1d,-0x45));}if(this['delayCalculation']&&!this[F(-0x89,-0x71)]&&!this[F(-0x54,-0x8)]()){this['scheduleDelayedCalculation']();}if(d[F(-0xb6,-0x134)]||d[F(0xf,-0x58)]){this[F(-0xde,-0x90)](e);e['data']=d[F(-0xb6,-0x61)]||d['calendarsData'];}if(d[F(-0xae,-0x6b)]||d[F(-0xf,0x3c)]||d[F(-0x3f,0x1a)]||d['tasksData']){this[F(-0xde,-0xcf)](f);f[F(-0x56,-0x45)]=d[F(-0xae,-0x5c)]||d[F(-0xf,-0x15)]||d['eventsData']||d[F(-0x64,0x13)];}function F(a,b){return q(a-0x47,b);}if(d[F(-0xdd,-0xa6)]||d['dependenciesData']){this[F(-0xde,-0x126)](g);g['data']=d['dependencies']||d[F(-0x79,-0xb1)];}if(d[F(-0xb2,-0x31)]||d[F(-0x3,-0x3c)]){this[F(-0xde,-0x6f)](i);i[F(-0x56,-0xb1)]=d[F(-0xb2,-0x5d)]||d[F(-0x3,-0x2c)];}if(d['assignments']||d[F(-0x92,-0x9b)]){this[F(-0xde,-0xb5)](h);h[F(-0x56,-0x7d)]=d[F(-0x1f,-0x50)]||d[F(-0x92,-0x58)];}if(d['project']){if(this[F(-0x72,-0x62)]&&this[F(-0xa7,-0x109)]){this[F(-0xaa,-0xc8)]({'recordsUnlinked':()=>{function G(a,b){return F(a-0x4f7,b);}this[G(0x455,0x441)]();this['applyProjectResponse'](d['project']);this['resumeChangeTracking']();},'once':!![]});}else{this[F(-0x6e,-0x2c)](d[F(-0x67,-0x4c)]);}}if(globalThis['DEBUG'])console[F(-0xe0,-0x160)](F(0x1d,0x1));const k=await this[F(-0xbf,-0xfb)]();this[F(-0x46,-0x7b)]=![];return k;}['setupTemporaryIndices'](){const {storage:d}=this[H(0x4bc,0x51c)]||{};function H(a,b){return q(a-0x5d1,b);}if(d){d[H(0x56c,0x5b4)]({'property':H(0x522,0x59f),'unique':![]});d[H(0x56c,0x540)]({'property':H(0x4c6,0x509),'unique':![]});}}[q(-0x58,0x1b)](){function I(a,b){return q(a-0x4da,b);}this['assignmentStore']?.['storage']?.[I(0x479,0x407)]();}[q(-0xe5,-0x113)](){const {storage:d}=this[J(-0xc2,-0xef)];d[J(-0x61,-0x44)](J(-0x5c,-0x16));function J(a,b){return q(a-0x53,b);}d[J(-0x61,-0x6)](J(-0xb8,-0xc0));}async[q(-0x95,-0xe9)](d){const e=this;function K(a,b){return q(a-0x4dc,b);}e['delayEnteringReplica']=!![];e['setupTemporaryIndices']();await delay(0x0);if(e[K(0x3dc,0x3e6)]){d();return;}e[K(0x410,0x3dc)](K(0x3f4,0x3ea));e[K(0x410,0x399)]('refresh',{'isCalculated':![]});await delay(0x0);if(e[K(0x3dc,0x416)]){d();return;}e['delayEnteringReplica']=![];e[K(0x421,0x483)][K(0x412,0x3d7)](g=>g['suspendFilterOnUpdate']());if(e[K(0x3fe,0x3b0)]){e['repopulateReplica'][K(0x497,0x48d)]();}else{e['trigger'](K(0x42f,0x471));e[K(0x455,0x3d8)](!![]);}const f=await e[K(0x3fc,0x41c)][K(0x465,0x4b5)]();if(e[K(0x3dc,0x38e)]){d();return;}e[K(0x421,0x494)][K(0x412,0x3ed)](g=>g[K(0x4a9,0x42f)]());d(f);e['delayedCalculationPromise']=null;e[K(0x410,0x469)](K(0x451,0x4a4));e['removeTemporaryIndices']();}[q(-0x5f,-0xc)](){if(this['delayedCalculationPromise']){return this[L(0x37e,0x3a1)];}function L(a,b){return q(b-0x471,a);}if(this[L(0x350,0x3cc)]!==![]){return this[L(0x332,0x3a1)]=new Promise(d=>this[L(0x38b,0x3dc)](d)[L(0x334,0x37b)]());}}async[q(-0x106,-0x14a)](){const d=await this['commitAsync']();function M(a,b){return q(b-0x155,a);}if(!this[M(0xb7,0x55)])this['trigger'](M(0x143,0x123));return d;}['initializeStm'](){function N(a,b){return q(a-0x21f,b);}const d=this[N(0x11a,0xec)]||_enc;if(!(this[N(0x186,0x1e2)]instanceof _enc))this[N(0x186,0x173)]=d[N(0x15a,0xfb)]({'disabled':!![]},this[N(0x186,0x1b1)]);this[N(0x191,0x1f8)](this[N(0x186,0x1a0)]);if(this['resetUndoRedoQueuesAfterLoad']){this['ion']({'load':this[N(0x1bc,0x160)],'thisObj':this});}this[N(0x12e,0xc0)]({'beforeCommit':this[N(0x113,0xed)],'commitFinalized':this[N(0x116,0x141)],'commitRejected':this[N(0x178,0x158)],'thisObj':this});}[q(-0x4b,0x26)]({transactionResult:d,silenceCommit:e}){function O(a,b){return q(b-0x7a,a);}const f=new Map();for(const h of d[O(0x62,0x36)][O(-0x3d,0x18)]()){const i=h[O(0x17,-0x3c)];const {field:j}=i;if(h['isShadow']()||!i[IsChronoModelSymbol]||j instanceof ModelBucketField)continue;const k=i[O(-0x37,-0x4a)];const l=k['firstStore'];if(l&&!h[O(-0x32,-0x8a)]&&!d['transaction'][O(-0x2a,-0xa7)](k['$$'])?.[O(-0xea,-0x8a)]){if(!f[O(0x8a,0xf)](l)){f[O(-0x2d,-0x1)](l,new Set([k]));}else if(!f['get'](l)[O(-0x35,0xf)](k)){f['get'](l)['add'](k);}}}this['suspendChangeTracking']?.();const g=Array[O(-0x90,-0x2e)](f[O(0xf,-0x3d)]())[O(-0x2a,-0x6a)]((m,n)=>m['removalOrder']-n[O(-0x92,-0x49)]);g[O(-0x21,-0x50)](m=>m[O(-0xd0,-0x90)](f['get'](m)));this['resumeChangeTracking']?.(e);if(e){this[O(0x27,-0x41)]['forEach'](m=>m[O(0x40,-0x32)]());}}[q(-0xa7,-0x47)](d){function P(a,b){return q(b- -0x44,a);}if(this[P(-0x141,-0x163)]){this['replica'][P(-0xcf,-0x111)]++;this['isRestoringData']=!![];this[P(-0x63,-0x8f)](d);this['isRestoringData']=![];this['replica'][P(-0xa6,-0x111)]--;}else{this[P(-0x122,-0x16a)]();}}[q(-0x10c,-0x157)](){const {stm:d}=this;this[Q(0x4f8,0x4ef)]=d[Q(0x4cb,0x510)];function Q(a,b){return q(b-0x60e,a);}if(d['isRecording']&&d[Q(0x4bf,0x514)]){this[Q(0x59f,0x5d2)]=!![];d[Q(0x503,0x514)]=![];}}[q(-0x109,-0x117)](){function R(a,b){return q(a-0x98,b);}if(this['_stmAutoRecord']){this[R(-0x1,-0x69)][R(-0x62,-0xe2)]=!![];this[R(0x5c,0x29)]=![];}}async[q(-0x89,-0xa3)](){await this[S(0x2aa,0x238)][S(0x2ba,0x2aa)]();function S(a,b){return q(a-0x343,b);}if(this[S(0x267,0x29d)]){await this[S(0x22d,0x1cb)](S(0x2d7,0x356),![]);}}async[q(-0x5a,0x16)](){await this[T(0x2e4,0x2ba)][T(0x34b,0x2f9)]();function T(a,b){return q(b-0x353,a);}if(this[T(0x245,0x277)]){await this[T(0x1e8,0x23d)](T(0x2ed,0x2e7),![]);}}['onSTMRestoringStart']({source:d}){function U(a,b){return q(a-0x572,b);}if(this[U(0x492,0x4f5)])this[U(0x492,0x511)][U(0x4a5,0x4ec)]++;}async[q(-0x37,0x35)](d){if(this[V(0x104,0x175)])this['replica'][V(0x1d3,0x188)]--;this[V(0x10b,0x156)]=!![];function V(a,b){return q(b-0x255,a);}d[V(0xbe,0x137)]();this['_isCommittingAfterStmRestore']=!![];await this['commitAsync']();this[V(0x10f,0x179)]=![];this[V(0x190,0x156)]=![];if(!this[V(0x18d,0x155)]){d['enable']();this[V(0x116,0x189)](V(0x1c7,0x1e9));}}async[q(-0x101,-0xfb)]({source:d}){function W(a,b){return q(b-0x250,a);}if(d[W(0x1ca,0x209)]){await this[W(0x206,0x201)](()=>this[W(0x1b1,0x219)](d));}else{await this['handleSTMRestoringStop'](d);}}[q(-0x41,-0xb0)](d,e,f){function X(a,b){return q(b- -0xca,a);}if(this[X(-0x16e,-0x1a8)]){this['detachListeners'](d);this['ion']({'name':d,'repopulateReplica':{'fn':async()=>{await this['commitAsync']();function Y(a,b){return X(a,b- -0x40);}if(!this[Y(-0x261,-0x20a)]){e(...f);}},'once':!![]}});}else{e(...f);}}get[q(-0xde,-0xf1)](){function Z(a,b){return q(b-0x66,a);}return Boolean(this[Z(-0xcd,-0x71)]?.[Z(-0x8d,-0xa2)]);}[q(-0x125,-0xb7)](d){function a0(a,b){return q(a-0x353,b);}const e=this;if(e[a0(0x32a,0x323)]&&d['totalCount']&&!d[a0(0x2b3,0x2ce)]){e[a0(0x273,0x22c)]?.[a0(0x2c4,0x270)][a0(0x2a2,0x31e)]();if(!e['repopulateStores'])e[a0(0x27c,0x222)]=new Set();e[a0(0x27c,0x2a3)]['add'](d);e['repopulateReplica']();}}[q(-0x4e,-0x94)](){const d=this;if(d[a1(0x2c,0x52)]){return;}const {dataStores:e,replica:f,calendarManagerStore:g}=d;if(f){d[a1(-0x34,0x41)](...e);d[a1(0x27,-0x2e)](d);d[a1(0x27,0x64)](d[a1(0x52,0x6)]);d[a1(0x19,-0x2)](a1(0x38,0x4d));f[a1(-0x2e,0x29)]();}else{d['trigger']('recordsUnlinked');}const h=d[a1(0x5,-0x54)]=d['createReplica']();h['addEntities']([d,d[a1(0x52,0x9d)]]);const i=new Map();for(const j of e){i[a1(0x6a,0x2a)](j,j['joinRecordsToProject'](d,!![]));}function a1(a,b){return q(a-0xe5,b);}if(i[a1(0x1c,0x58)](g)<g[a1(0x55,0x63)]){d[a1(0x43,0x59)][a1(-0x1,-0x79)](d,!![]);}if(f){h[a1(0x56,0x96)]['writeFailedResolutionInfo'](f[a1(-0x44,-0x36)]['failedResolutionReferences']);}d[a1(0xe,0xb)]['clear']();d[a1(0x19,-0x64)]('repopulateReplica');}[q(-0x6f,-0x33)](){function a2(a,b){return q(a-0x4c9,b);}if(this['repopulateReplica'][a2(0x3c2,0x440)]&&!this[a2(0x39f,0x3e4)]){this[a2(0x47b,0x482)][a2(0x484,0x4ef)]();return this[a2(0x3e9,0x381)][a2(0x452,0x440)]();}return null;}['unlinkRecord'](d){d['unlink']();}[q(-0x119,-0x154)](...d){function a3(a,b){return q(b-0x87,a);}d[a3(0xe,-0x43)](e=>{function a4(a,b){return a3(b,a-0x123);}if(!this[a4(0xd3,0xb8)]['has'](e)||e['syncDataOnLoad']){e[a4(0x98,0x7e)](f=>{function a5(a,b){return a4(a- -0x26a,b);}this[a5(-0x17e,-0x197)](f);},![],![],{'includeFilteredOutRecords':!![],'includeCollapsedGroupRecords':!![]});}});}[q(-0x28,-0x84)](){function a6(a,b){return q(a-0x1c3,b);}return this[a6(0xe3,0x73)];}async[q(-0x103,-0x15b)](d){function a7(a,b){return q(a-0x173,b);}this['eventStore']['add'](d);return this[a7(0xfc,0xda)]();}async[q(-0x5d,-0xcd)](d){function a8(a,b){return q(b-0x1f1,a);}this[a8(0x125,0x17c)][a8(0x141,0xe1)](d);return this[a8(0x10c,0x17a)]();}[q(-0x92,-0x102)](d){this['eventStore']['add'](d);}async[q(-0xf4,-0x11d)](d){function a9(a,b){return q(b- -0x11,a);}this[a9(-0xf7,-0x86)]['remove'](d);return this[a9(-0xb3,-0x88)]();}[q(-0x88,-0xaf)](d){function aa(a,b){return q(a-0x193,b);}this['eventStore'][aa(0x89,0xe3)](d);}async[q(-0x7a,-0xaa)](d){function ab(a,b){return q(b-0x685,a);}this[ab(0x68f,0x610)][ab(0x511,0x57b)](d);return this['commitAsync']();}[q(-0xd5,-0xb4)](){return this['stm'];}[q(-0x8e,-0x38)](d){function ac(a,b){return q(b-0x11e,a);}this['stm']=d;this['stm'][ac(0x12,0x2d)]({'restoringStart':this[ac(0x14e,0xd8)],'restoringStop':this[ac(-0x58,0x1d)],'thisObj':this});}[q(-0x6e,-0x5d)](){return this;}*[q(-0xb2,-0x56)](d){let e=yield this['$']['calendar'];if(e){yield e['$']['version'];}else{e=this[ad(0x323,0x36c)];}function ad(a,b){return q(b-0x3ff,a);}return e;}[q(-0x40,-0x36)](d){const e=this['eventStore'];if(e&&this[ae(0x134,0x11e)]['hasStore'](e)){this[ae(0x104,0x11e)][ae(0x16a,0x18a)](e);e[ae(0xd6,0x150)](this);this[ae(0xef,0x116)](e);const f=e[ae(0x143,0x17e)];f[ae(0x116,0xed)](g=>{function af(a,b){return ae(a,b-0x20);}const h=g[af(0x107,0x128)];if(h){const i=d[af(0x1c9,0x184)](h['id']);if(i){g['event']=i;f['delete'](g);}}});e['afterEventRemoval']();}function ae(a,b){return q(b-0x1b7,a);}if(!d||!(d instanceof _end)){const g=d?.[ae(0xdf,0x13a)]||this[ae(0x181,0x14e)];this[ae(0x10b,0x142)]=new g(_enf[ae(0x15f,0x166)]({'modelClass':this[ae(0x55,0xa3)],'project':this,'stm':this['stm']},d||{}));}else{this['eventStore']=d;d[ae(0xc8,0xe4)](this);this[ae(0xc1,0x11e)][ae(0x110,0xe5)](d);if(d[ae(0x17d,0x15e)]&&d[ae(0x156,0x182)]!==this){this[ae(0x135,0xf8)](d[ae(0x142,0x182)][ae(0x113,0xe6)]||[]);d['rootNode']=this;}else{d[ae(0x12d,0xd1)](this);}}this[ae(0x10a,0xc4)](this[ae(0x115,0x142)]);this[ae(0x88,0xeb)](ae(0x17d,0x11b),{'store':this[ae(0x16b,0x142)]});}[q(-0x49,-0x14)](d){const e=this[ag(0x575,0x576)];function ag(a,b){return q(b-0x60e,a);}if(e&&this[ag(0x54e,0x575)][ag(0x586,0x538)](e)){this[ag(0x5ae,0x575)][ag(0x5a8,0x5e1)](e);this[ag(0x5a6,0x56d)](e);}if(!d||!(d instanceof _end)){const f=d?.[ag(0x613,0x591)]||this[ag(0x577,0x5dd)];this[ag(0x521,0x576)]=new f(_enf[ag(0x561,0x5bd)]({'modelClass':this[ag(0x4d6,0x53a)],'project':this,'stm':this[ag(0x574,0x575)]},d||{}));}else{this[ag(0x4f9,0x576)]=d;d[ag(0x532,0x53b)](this);this[ag(0x573,0x575)]['addStore'](d);d[ag(0x554,0x528)](this);}this[ag(0x4ba,0x51b)](this['dependencyStore']);this[ag(0x53d,0x542)](ag(0x58e,0x57a),{'store':this['dependencyStore']});}['setResourceStore'](d){const e=this[ah(0x171,0x12d)];if(e&&this[ah(0xa3,0xf2)][ah(0x41,0xb5)](e)){this[ah(0x87,0xf2)]['removeStore'](e);e[ah(0x136,0x124)](this);this[ah(0x8f,0xea)](e);const f=e[ah(0x129,0x152)];f[ah(0xd0,0xc1)](g=>{const h=g['resource'];function ai(a,b){return ah(a,b-0x391);}if(h){const i=d[ai(0x454,0x4c9)](h['id']);if(i){g[ai(0x411,0x411)]=i;f['delete'](g);}}});e[ah(0x6d,0x7a)]();}if(!d||!(d instanceof _end)){const g=d?.[ah(0xd6,0x10e)]||this['resourceStoreClass'];this['resourceStore']=new g(_enf[ah(0xd2,0x13a)]({'modelClass':this[ah(0x154,0x10a)],'project':this,'stm':this[ah(0x173,0xf2)]},d||{}));}else{this['resourceStore']=d;d[ah(0x5b,0xb8)](this);this[ah(0x9f,0xf2)][ah(0x13a,0xb9)](d);d['joinRecordsToProject'](this);}this[ah(0xf8,0x98)](this[ah(0x193,0x12d)]);function ah(a,b){return q(b-0x18b,a);}this['trigger'](ah(0x132,0x11e),{'store':this[ah(0xf4,0x12d)]});}[q(-0xa6,-0x44)](d){const e=this[aj(-0x1a0,-0x1e7)];if(e&&this[aj(-0x124,-0xfe)][aj(-0x161,-0x151)](e)){this[aj(-0x124,-0x10f)]['removeStore'](e);e[aj(-0xf2,-0xe7)](this);this['detachStore'](e);}if(!d||!(d instanceof _end)){const f=d?.[aj(-0x108,-0x114)]||this[aj(-0xfd,-0x11e)];this['assignmentStore']=new f(_enf[aj(-0xdc,-0x61)]({'modelClass':this[aj(-0x151,-0x174)],'project':this,'stm':this[aj(-0x124,-0xe3)]},d||{}));}else{this[aj(-0x1a0,-0x124)]=d;d['setProject'](this);this[aj(-0x124,-0xd7)]['addStore'](d);d[aj(-0x171,-0x1eb)](this);}this[aj(-0x1b5,-0x15d)]&&this[aj(-0x1a2,-0x17f)]();this[aj(-0x17e,-0x164)](this[aj(-0x1a0,-0x1e4)]);function aj(a,b){return q(a- -0x8b,b);}this[aj(-0x157,-0xe2)](aj(-0xe0,-0xbe),{'store':this['assignmentStore']});}[q(-0x96,-0xce)](d){const e=this[ak(0x1d9,0x169)];if(e&&this[ak(0x1e2,0x203)][ak(0x1a5,0x227)](e)){this[ak(0x1e2,0x240)][ak(0x24e,0x267)](e);this['detachStore'](e);}if(!d||!(d instanceof _end)){const f=d?.[ak(0x1fe,0x249)]||this['calendarManagerStoreClass'];this['calendarManagerStore']=new f(_enf['assign']({'modelClass':this['calendarModelClass'],'project':this,'stm':this[ak(0x1e2,0x20c)]},d||{}));}else{this['calendarManagerStore']=d;if(d){d[ak(0x1a8,0x1f2)](this);this['stm'][ak(0x1a9,0x18c)](d);d[ak(0x195,0x1f2)](this);}}function ak(a,b){return q(a-0x27b,b);}this[ak(0x188,0x16c)](this[ak(0x1d9,0x1c0)]);this[ak(0x1af,0x1a4)](ak(0x202,0x268),{'store':this[ak(0x1d9,0x1c9)]});}async[q(-0x9f,-0x9e)](...d){return!![];}[q(-0x126,-0xef)](d){function al(a,b){return q(a-0x47a,b);}d=d||this[al(0x3e1,0x42f)];if(d[al(0x437,0x401)]){if(d[al(0x437,0x409)][al(0x3f8,0x3cb)]){d[al(0x3ac,0x421)](e=>e[al(0x3e9,0x381)]());d[al(0x38e,0x3fe)]();d['forEachStore'](e=>e['endBatch']());}else{d[al(0x43f,0x42a)]();}}}async['tryPropagateWithChanges'](d){const f=this['stm'],g=f[am(0x28a,0x2b5)],h=f[am(0x259,0x2b9)];if(g){f[am(0x2ef,0x36b)]();}else{if(h){f[am(0x2ca,0x2b9)]=![];}if(f[am(0x263,0x2c1)]){f[am(0x325,0x378)]();}}f[am(0x338,0x367)]();function am(a,b){return q(b-0x3b3,a);}d();let i=!![];try{const j=await this[am(0x380,0x33c)]();i=!j[am(0x3a9,0x32e)];}catch(k){if(!/cycle/i['test'](k))throw k;i=![];}if(i){f['stopTransaction']();if(g){f[am(0x394,0x363)]();}}else{this[am(0x31b,0x2d3)][am(0x346,0x2c9)]();this[am(0x2c4,0x28d)](f);}f['disabled']=g;f[am(0x2e3,0x2b9)]=h;return i;}async[q(-0x83,-0xfb)](d){function an(a,b){return q(a-0x573,b);}return this[an(0x524,0x4d7)](()=>this[an(0x50f,0x49f)](d));}[q(-0x4f,-0x78)](d,e){function ao(a,b){return q(a-0x181,b);}const f=this;return f[ao(0x92,0x49)][ao(0x132,0x162)](async function g(){return d();},e);}[q(-0x3e,-0x8a)](){function ap(a,b){return q(b- -0x7c,a);}const {replica:d}=this;return this[ap(-0x178,-0x135)]||!this[ap(-0x14e,-0x15a)]&&(d?!(d[ap(-0xf3,-0xef)]&&(d[ap(-0x7b,-0xfa)]()||d[ap(-0xe4,-0x106)])):!![]);}[q(-0x118,-0xb5)](d){const e=[];if(this[aq(0x33c,0x3b4)]===d)e['push'](this);function aq(a,b){return q(b-0x4c1,a);}e['push'](...this[aq(0x455,0x44c)]['query'](f=>f[aq(0x3bf,0x3b4)]===d,!![]));e['push'](...this['resourceStore'][aq(0x409,0x3a5)](f=>f[aq(0x414,0x3b4)]===d,!![]));if(d['children']?.[aq(0x47c,0x43f)]){for(const f of d[aq(0x447,0x3f0)]){e['push'](...this['getCalendarConsumers'](f));}}return e;}[q(-0x74,-0x31)](d){const e=this[ar(0xd5,0x56)](d);function ar(a,b){return q(a-0x1ed,b);}for(const f of e){f['calendar']=null;}}static get['defaultConfig'](){return{'assignmentsData':null,'calendarsData':null,'dependenciesData':null,'eventsData':null,'resourcesData':null,'eventStore':null,'resourceStore':null,'assignmentStore':null,'dependencyStore':null,'calendarManagerStore':null,'eventModelClass':null,'resourceModelClass':null,'assignmentModelClass':null,'dependencyModelClass':null,'calendarModelClass':null,'repopulateOnDataset':!![]};}static get[q(-0xcb,-0x120)](){return{'repopulateReplica':0xa};}}c['applyConfigs']=!![];function q(a,b){return _enb(a- -0x2b1,b);}__decorate([model_field({'type':q(-0x52,0xc),'defaultValue':!![]})],c['prototype'],'unspecifiedTimeIsWorking',void 0x0);__decorate([model_field({'type':q(-0x52,-0x4c),'defaultValue':![]})],c['prototype'],q(-0xb8,-0x4a),void 0x0);__decorate([model_field({'type':q(-0x52,-0x99),'defaultValue':![]})],c[q(-0x6a,-0x1a)],'skipNonWorkingTimeInDurationWhenSchedulingManually',void 0x0);__decorate([model_field({'type':'string','defaultValue':Direction[q(-0x97,-0x73)]},{'sync':!![]})],c[q(-0x6a,-0x87)],q(-0x8c,-0x92),void 0x0);return c;}){}export{SchedulerBasicProjectMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function n(a,b){return _enb(a-0x14b,b);}while(!![]){try{const d=-parseInt(n(0x281,0x27f))/0x1*(-parseInt(n(0x275,0x273))/0x2)+-parseInt(n(0x27e,0x285))/0x3*(parseInt(n(0x27d,0x289))/0x4)+parseInt(n(0x27f,0x274))/0x5*(parseInt(n(0x284,0x27f))/0x6)+-parseInt(n(0x28c,0x28f))/0x7+-parseInt(n(0x283,0x277))/0x8*(-parseInt(n(0x278,0x27f))/0x9)+-parseInt(n(0x28b,0x292))/0xa+parseInt(n(0x280,0x27f))/0xb*(parseInt(n(0x28a,0x298))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x4f118));import{Mixin,isInstanceOf}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _ena(){const y=['24YMGFFa','207876IarLoH','194170MmWUFZ','726451oqAomT','1dMlHQc','eventId','5157224vTtYzz','60MDFXyj','skipInvalidateIndices','resource','$master','isLoadingData','finalizeInvalidated','24OSCWjV','1982970DCoWMs','2657641ZmwszW','calculateInvalidated','eventStore','event','get','resourceId','305002kFMXMp','prototype','fields','9uibFIs','getById','isPerformingCommit','setChanged','call'];_ena=function(){return y;};return _ena();}import{CorePartOfProjectModelMixin}from'../mixin/CorePartOfProjectModelMixin.js';import{CoreEventMixin}from'./CoreEventMixin.js';import{CoreResourceMixin}from'./CoreResourceMixin.js';function asId(a){return a?.['isModel']?a['id']:a;}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x126;let f=c[d];return f;};return _enb(a,b);}class CoreAssignmentMixin extends Mixin([CorePartOfProjectModelMixin],a=>{const b=a[o(0x395,0x389)];class c extends a{static get[o(0x396,0x392)](){function p(a,b){return o(a-0x8c,b);}return[{'name':p(0x431,0x42b),'isEqual':(d,e)=>d===e,'persist':![]},{'name':p(0x41d,0x424),'isEqual':(d,e)=>d===e,'persist':![]}];}[o(0x39a,0x3a4)](d,e,f){const {assignmentStore:g,eventStore:h,resourceStore:i,project:j}=this;function q(a,b){return o(a- -0x3ad,b);}let k=![];if(d===q(-0x1c,-0x15)){const l=isInstanceOf(e,CoreEventMixin)?e:h?.[q(-0x7,-0xa)]['getById'](e);if(l)k=!![];e=l||e;}if(d===q(-0x8,0x7)){const m=isInstanceOf(e,CoreResourceMixin)?e:i?.[q(-0x7,-0x13)][q(-0x15,-0x22)](e);if(m)k=!![];e=m||e;}b[q(-0x13,-0x22)]['call'](this,d,e,f,!![]);if(g&&k&&!j[q(-0x14,-0x10)]&&!g['isLoadingData']&&!i?.[q(-0x6,-0xc)]&&!g[q(-0x9,0x0)]){g['invalidateIndices']();}}['joinProject'](){b['joinProject'][r(0x2d9,0x2de)](this);function r(a,b){return o(a- -0xc2,b);}this[r(0x2d8,0x2ce)](r(0x2cf,0x2db),this['get'](r(0x2cf,0x2cf)));this['setChanged'](r(0x2e3,0x2ea),this['get'](r(0x2e3,0x2e3)));}[o(0x3ac,0x3bb)](){let {event:event=this['event'],resource:resource=this[s(-0x74,-0x6f)]}=this['$changed'];function s(a,b){return o(a- -0x419,b);}if(event!==null&&!isInstanceOf(event,CoreEventMixin)){const d=this[s(-0x89,-0x80)]?.[s(-0x81,-0x83)](event);if(d)this[s(-0x7f,-0x79)](s(-0x88,-0x86),d,![]);}if(resource!==null&&!isInstanceOf(resource,CoreResourceMixin)){const e=this['resourceStore']?.[s(-0x81,-0x89)](resource);if(e)this[s(-0x7f,-0x74)](s(-0x74,-0x7a),e,![]);}}[o(0x3a8,0x3b1)](d){const e=this['$changed'];if('resource'in e){e[t(0x11c,0x111)]=asId(e[t(0x12e,0x128)]);}if(t(0x11a,0x124)in e){e[t(0x12a,0x126)]=asId(e[t(0x11a,0x113)]);}function t(a,b){return o(a- -0x277,b);}b[t(0x131,0x140)][t(0x124,0x12b)](this,d);}set[o(0x391,0x386)](d){function u(a,b){return o(a- -0x471,b);}this[u(-0xd7,-0xcd)]('event',d);this['setChanged']('eventId',asId(d));}get[o(0x391,0x395)](){const d=this[v(-0x27e,-0x283)](v(-0x285,-0x284));function v(a,b){return o(b- -0x615,a);}return d?.['id']!=null?d:null;}set[o(0x3a5,0x399)](d){this[w(0x134,0x126)](w(0x135,0x131),d);function w(a,b){return o(b- -0x274,a);}this['setChanged'](w(0x114,0x11f),asId(d));}get[o(0x3a5,0x39d)](){function x(a,b){return o(b- -0x1b6,a);}const d=this['get'](x(0x1e7,0x1ef));return d?.['id']!=null?d:null;}}function o(a,b){return _enb(a-0x26a,b);}return c;}){}export{CoreAssignmentMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function f(a,b){return _enb(b-0x16c,a);}const c=a();while(!![]){try{const d=parseInt(f(0x24d,0x253))/0x1*(-parseInt(f(0x250,0x251))/0x2)+-parseInt(f(0x253,0x250))/0x3*(parseInt(f(0x25b,0x258))/0x4)+parseInt(f(0x250,0x254))/0x5+-parseInt(f(0x256,0x252))/0x6*(parseInt(f(0x25b,0x257))/0x7)+-parseInt(f(0x251,0x256))/0x8*(-parseInt(f(0x24f,0x24f))/0x9)+-parseInt(f(0x25b,0x259))/0xa+parseInt(f(0x260,0x25a))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xe1661));import{CorePartOfProjectModelMixin}from'../mixin/CorePartOfProjectModelMixin.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{AbstractCalendarMixin}from'../AbstractCalendarMixin.js';class CoreCalendarMixin extends Mixin([AbstractCalendarMixin,CorePartOfProjectModelMixin],a=>{const b=a[g(0x0,-0x5)];class c extends a{}function g(a,b){return _enb(b- -0xee,a);}return c;}){}function _ena(){const h=['250735PaXfLV','prototype','120quDbVJ','1241198tYcsUb','4GEoSsw','5098010ecCpUL','28283310PTRCcK','1082322FJKjZr','1701636flQWrH','54GvoKDU','36ClWeTa','50411yhUFud'];_ena=function(){return h;};return _ena();}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xe3;let f=c[d];return f;};return _enb(a,b);}export{CoreCalendarMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function i(a,b){return _enb(a- -0x8b,b);}while(!![]){try{const d=-parseInt(i(0xfa,0xf2))/0x1*(-parseInt(i(0x101,0xff))/0x2)+-parseInt(i(0x111,0x114))/0x3+-parseInt(i(0x112,0x11f))/0x4*(parseInt(i(0x106,0x111))/0x5)+-parseInt(i(0x10f,0x104))/0x6+parseInt(i(0xfd,0xf0))/0x7*(parseInt(i(0x109,0xfb))/0x8)+-parseInt(i(0x104,0x10d))/0x9*(parseInt(i(0x100,0xf4))/0xa)+parseInt(i(0xfc,0xf9))/0xb*(parseInt(i(0x10e,0x10a))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xa1f7a));function _ena(){const s=['21307QrcNMQ','14zHrwqb','joinProject','$changed','5594690qZHppj','166CdHOmv','dependencyStore','isLoadingData','9Ffhpyd','get','1422860aYRFEx','eventStore','toEvent','245464dMaUTz','setChanged','getById','invalidateIndices','call','21012VtmTtN','7415430zlbQAt','prototype','2795208yOzBzd','16qSBWAh','fromEvent','project','calculateInvalidated','12961oRlqIg','fields'];_ena=function(){return s;};return _ena();}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x183;let f=c[d];return f;};return _enb(a,b);}import{CorePartOfProjectModelMixin}from'../mixin/CorePartOfProjectModelMixin.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{CoreEventMixin}from'./CoreEventMixin.js';import{isInstanceOf}from'@bryntum/engine-thin/lib/ChronoGraph/class/Mixin.js';class CoreDependencyMixin extends Mixin([CorePartOfProjectModelMixin],a=>{const b=a[j(0x4e2,0x4dd)];function j(a,b){return _enb(b-0x342,a);}class c extends a{static get[j(0x4bd,0x4c8)](){function k(a,b){return j(b,a- -0x125);}return[{'name':'fromEvent','isEqual':(d,e)=>d===e,'persist':![]},{'name':k(0x3b0,0x3ad),'isEqual':(d,e)=>d===e,'persist':![]}];}[j(0x4dd,0x4d7)](d,e,f){let g=![];function l(a,b){return j(b,a- -0x574);}if(d==='fromEvent'||d===l(-0x9f,-0xa4)){const h=isInstanceOf(e,CoreEventMixin)?e:this[l(-0xa0,-0xa4)]?.[l(-0x9c,-0x94)](e);if(h)g=!![];e=h||e;}b['setChanged'][l(-0x9a,-0x91)](this,d,e,f,!![]);if(g&&!this[l(-0xaf,-0xae)]['isPerformingCommit']&&!this['dependencyStore']?.[l(-0xa4,-0xa5)]){this[l(-0xa5,-0xa2)]?.[l(-0x9b,-0xa3)]();}}[j(0x4c6,0x4cb)](){b['joinProject'][m(0x4b8,0x4b7)](this);function m(a,b){return j(a,b- -0x23);}this[m(0x4af,0x4b4)]('fromEvent',this[m(0x4a6,0x4af)]('fromEvent'));this[m(0x4bc,0x4b4)](m(0x4ab,0x4b2),this[m(0x4a6,0x4af)]('toEvent'));}[j(0x4cb,0x4c6)](){function n(a,b){return j(b,a- -0x441);}let {fromEvent:d,toEvent:e}=this[n(0x8b,0x91)];if(d!==null&&!isInstanceOf(d,CoreEventMixin)){const f=this[n(0x93,0x8b)]?.[n(0x97,0xa3)](d);if(f)this['$changed'][n(0x9f,0x97)]=f;}if(e!==null&&!isInstanceOf(e,CoreEventMixin)){const g=this[n(0x93,0x8a)]?.[n(0x97,0x8d)](e);if(g)this[n(0x8b,0x89)][n(0x94,0x86)]=g;}}set[j(0x4d6,0x4e0)](d){function o(a,b){return j(b,a- -0x2db);}this[o(0x1fc,0x1ee)]('fromEvent',d);}get['fromEvent'](){const d=this[p(0xe3,0xf1)]('fromEvent');function p(a,b){return j(a,b- -0x3e1);}return d?.['id']!=null?d:null;}set[j(0x4d5,0x4d5)](d){function q(a,b){return j(b,a-0x45);}this[q(0x51c,0x514)]('toEvent',d);}get['toEvent'](){function r(a,b){return j(a,b- -0x3d5);}const d=this['get'](r(0xf9,0x100));return d?.['id']!=null?d:null;}}return c;}){}export{CoreDependencyMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _ena(){const X=['proposeEndDate','storage','getStartDate','duration','call','keepDuration','propose','4236cAkJig','283202rsBobh','473816Ndojrj','isWritingData','4762449hvnidi','$isCalculating','setStartDate','337952xACXSW','recurringTimeSpan','event','prototype','eventStore','5170200XCIDFk','getEndDate','_duration','613483MYBqul','getTimezoneOffset','adjustDurationToDST','get','calculateInvalidated','date','proposeStartDate','getCurrentOrProposed','millisecond','durationUnit','proposeDuration','setChanged','commitAsync','_startDate','endDate','inSetting','getTime','$changed','assignmentStore','number','hasCurrentOrProposed','project','findItem','setData','_endDate','afterChange','durationunit','joinProject','setTime','add','2675rqbiej','day','startDate','string','inSet','12qHmnkQ','keepStart','eventId','6qytsWB'];_ena=function(){return X;};return _ena();}(function(a,b){const c=a();function z(a,b){return _enb(b- -0x63,a);}while(!![]){try{const d=-parseInt(z(0x141,0x152))/0x1+parseInt(z(0x135,0x144))/0x2*(parseInt(z(0x18b,0x178))/0x3)+-parseInt(z(0x160,0x143))/0x4*(-parseInt(z(0x16e,0x170))/0x5)+parseInt(z(0x186,0x175))/0x6*(parseInt(z(0x14e,0x145))/0x7)+-parseInt(z(0x14d,0x14a))/0x8+parseInt(z(0x12e,0x147))/0x9+-parseInt(z(0x14e,0x14f))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x53635));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{CorePartOfProjectModelMixin}from'../mixin/CorePartOfProjectModelMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1a3;let f=c[d];return f;};return _enb(a,b);}import _enc from'@bryntum/core-thin/lib/helper/DateHelper.js';class CoreEventMixin extends Mixin([CorePartOfProjectModelMixin],a=>{const b=a[A(0x42b,0x438)];function A(a,b){return _enb(b-0x288,a);}class c extends a{constructor(){super(...arguments);this[B(0x4f4,0x50a)]=null;this['_endDate']=null;function B(a,b){return A(a,b-0xc0);}this['_duration']=null;}static get['fields'](){function C(a,b){return A(b,a- -0x131);}return[{'name':C(0x32c,0x33e),'type':C(0x311,0x321)},{'name':C(0x31a,0x329),'type':'date'},{'name':C(0x336,0x353),'type':C(0x31f,0x32b)},{'name':C(0x315,0x305),'type':C(0x326,0x331),'defaultValue':C(0x32b,0x30d)}];}get[A(0x47b,0x45d)](){function D(a,b){return A(b,a- -0x39a);}return this[D(0xb0,0xac)]??this[D(0xa6,0x98)]('startDate')??null;}get[A(0x457,0x44b)](){function E(a,b){return A(a,b- -0x401);}return this['_endDate']??this[E(0x4a,0x3f)](E(0x68,0x4a))??null;}get['duration'](){function F(a,b){return A(a,b- -0x20f);}return this[F(0x221,0x22d)]??this[F(0x21c,0x231)]('duration')??null;}set['startDate'](d){this['proposeStartDate'](d);}set[A(0x442,0x44b)](d){function G(a,b){return A(b,a- -0x492);}this[G(-0x2e,-0x3c)](d);}set[A(0x46c,0x467)](d){function H(a,b){return A(a,b- -0x55);}this[H(0x403,0x3f2)](d);}[A(0x457,0x45f)](d,e,f,g,h){const i=this;if(i[I(0x1dd,0x1c1)]&&!i[I(0x1cf,0x1c1)][I(0x1a1,0x1a0)]&&typeof d!==I(0x1cf,0x1cd)&&!h){if(I(0x1c9,0x1cc)in d&&!(I(0x1d8,0x1cc)in i[I(0x1b6,0x1bd)])){i[I(0x1cc,0x1bd)][I(0x1cf,0x1cc)]=!![];i['invalidate']();}if(I(0x19e,0x1ba)in d&&!(I(0x1bb,0x1ba)in i[I(0x1b3,0x1bd)])){i[I(0x1bd,0x1bd)][I(0x1c8,0x1ba)]=!![];i['invalidate']();}}function I(a,b){return A(a,b- -0x291);}return b[I(0x1ca,0x1ce)][I(0x1a5,0x19a)](i,d,e,f,g,h);}[A(0x44a,0x466)](){function J(a,b){return A(b,a- -0x1f3);}return this[J(0x26a,0x287)];}[A(0x43a,0x443)](d,e=!(A(0x435,0x44b)in this['$changed'])){function K(a,b){return A(a,b- -0x545);}if(this[K(-0xe1,-0xf9)]||d?.['getTime']()!==this[K(-0x101,-0xe8)]?.[K(-0x102,-0xf8)]()){this[K(-0x105,-0xfb)]=d;this['propose']({'startDate':d,'keepDuration':e});}}async[A(0x43b,0x434)](d,e=!![]){this['proposeStartDate'](d,e);function L(a,b){return A(b,a-0x1f);}return this['project']?.[L(0x468,0x47a)]();}[A(0x437,0x43b)](){function M(a,b){return A(a,b- -0x13a);}return this[M(0x32b,0x311)];}[A(0x46c,0x464)](d,e=![]){function N(a,b){return A(a,b-0x154);}if(this[N(0x5b4,0x5a0)]||d?.[N(0x5b8,0x5a1)]()!==this[N(0x5ab,0x59f)]?.[N(0x5a1,0x5a1)]()){this[N(0x5a1,0x5a9)]=d;this[N(0x57d,0x581)]({'endDate':d,'keepDuration':e});}}async['setEndDate'](d,e=![]){this[O(-0x7e,-0x68)](d,e);function O(a,b){return A(b,a- -0x4e2);}return this[O(-0x90,-0xad)]?.[O(-0x99,-0x9e)]();}['getDuration'](){function P(a,b){return A(a,b-0xf6);}return this[P(0x54a,0x55d)];}[A(0x451,0x447)](d,e,f=!![]){function Q(a,b){return A(b,a- -0x472);}this['_duration']=d;this[Q(-0x45,-0x26)]({'duration':d,'keepStart':f});if(e)this[Q(-0x45,-0x63)]({'durationUnit':e});}async['setDuration'](d,e,f=!![]){function R(a,b){return A(a,b- -0x124);}this['proposeDuration'](d,e,f);return this[R(0x31b,0x32e)]?.[R(0x320,0x325)]();}['getDurationUnit'](){function S(a,b){return A(a,b- -0x13f);}return this[S(0x2fd,0x307)];}[A(0x461,0x458)](){const d=this;const e=d[T(0x2e0,0x2f7)];const f=d['getCurrentOrProposed'](T(0x2f4,0x306));const g=d[T(0x2de,0x2ed)](T(0x302,0x2f4));const h=d['getCurrentOrProposed'](T(0x32b,0x310));if(f!=null)e[T(0x2fe,0x306)]=d[T(0x2f0,0x2f3)]=f;if(g!=null)e['endDate']=d[T(0x312,0x2fe)]=g;if(h!=null)e[T(0x310,0x310)]=d['_duration']=h;if(d[T(0x2d2,0x2e2)]&&!d[T(0x2d2,0x2e2)]['isLoadingData']){const i=d[T(0x2fd,0x2f8)]?.[T(0x2f9,0x30e)][T(0x2e5,0x2fc)]('event',null);if(i){const j=d[T(0x308,0x2f8)]?.[T(0x319,0x30e)][T(0x2ef,0x2fc)](T(0x2f2,0x30b),d['id']);if(j){for(const k of j){k[T(0x307,0x2f1)](T(0x2c6,0x2e0),d);}}else{for(const l of i){if(l[T(0x2f1,0x2ed)]('event')===d['id']){l[T(0x2f8,0x2f1)]('event',d);}}}}}function T(a,b){return A(a,b- -0x157);}b['joinProject'][T(0x2bf,0x2d4)](d);}['applyValue'](d,e,f,g,h){function U(a,b){return A(b,a- -0x38d);}if((this['project']||this[U(0xa9,0xaf)]?.[U(0xc5,0xdd)])&&h){const {name:i}=h;if(i==='startDate'||i==U(0xda,0xcc)||i===U(0xbe,0xda)){d=!![];this['_'+i]=f;}if(g){d=![];}}b['applyValue']['call'](this,d,e,f,g,h);}[A(0x452,0x456)](d,e,f,g,h){function V(a,b){return A(a,b- -0x7);}if(!this[V(0x42b,0x42c)]&&!h){this[V(0x42e,0x44d)]({'startDate':this[V(0x433,0x43d)](V(0x46c,0x456)),'endDate':this[V(0x42d,0x43d)](V(0x437,0x444)),'duration':this['getCurrentOrProposed'](V(0x452,0x460)),'durationUnit':this[V(0x44b,0x43d)]('durationUnit')});}b[V(0x462,0x44f)][V(0x409,0x424)](this,d,e,f,g,h);}[A(0x425,0x441)](){const d=this;const e=d[W(0x410,0x417)];const f=W(0x415,0x426)in e;const g=W(0x430,0x414)in e;const h=W(0x424,0x430)in e;const {startDate:i,endDate:j,duration:k,keepDuration:l,keepStart:m}=e;function W(a,b){return A(a,b- -0x37);}let n=null;if(f&&!g&&!h){if(i===null){e[W(0x403,0x414)]=null;}else if(d['hasCurrentOrProposed'](W(0x3f7,0x414))&&i>d[W(0x42b,0x40d)](W(0x42d,0x414))&&!l){e['endDate']=i;e[W(0x420,0x430)]=0x0;}else if(d['hasCurrentOrProposed'](W(0x436,0x430))&&(l||!d['hasCurrentOrProposed'](W(0x405,0x414)))){n=W(0x405,0x414);}else if(d[W(0x430,0x41a)](W(0x404,0x414))){n=W(0x43a,0x430);}}else if(!f&&g&&!h){if(j===null){e[W(0x409,0x426)]=null;}else if(d[W(0x413,0x41a)](W(0x427,0x426))&&!l&&j!==!![]&&j<d[W(0x427,0x40d)](W(0x437,0x426))){e[W(0x424,0x426)]=j;e[W(0x42d,0x430)]=0x0;}else if(d[W(0x406,0x41a)](W(0x421,0x430))&&(l||!d[W(0x432,0x41a)](W(0x421,0x426)))){n=W(0x42b,0x426);}else if(d['hasCurrentOrProposed'](W(0x43c,0x426))){n=W(0x43e,0x430);}}else if(!f&&!g&&h){if(k===null){e['endDate']=null;}else if(d[W(0x435,0x41a)](W(0x413,0x426))&&(m||!d[W(0x400,0x41a)](W(0x408,0x414)))){if(m&&e[W(0x417,0x430)]<0x0){e[W(0x43d,0x430)]=0x0;}n=W(0x40c,0x414);}else if(d[W(0x401,0x41a)](W(0x416,0x414))){n=W(0x415,0x426);}}else if(f&&g&&!h){if(i===null&&j===null){e[W(0x415,0x430)]=null;}else{n=W(0x41c,0x430);}}else if(f&&!g&&h){n=W(0x419,0x414);}else if(!f&&g&&h){n='startDate';}else if(f&&g&&h){if(k==null){n='duration';}else if(i==null){n=W(0x416,0x426);}else{n='endDate';}}const o=d[W(0x42a,0x40d)](W(0x421,0x426));const p=d[W(0x3fd,0x40d)](W(0x3fa,0x414));const q=d[W(0x3ee,0x40d)]('duration');const r=d[W(0x420,0x40d)]('durationUnit');const s=d['getProject']()?.[W(0x418,0x408)]??![];switch(n){case W(0x432,0x426):const t=_enc[W(0x433,0x423)](p,-q,r);if(s){const w=p['getTimezoneOffset']()-t[W(0x41c,0x407)]();t[W(0x431,0x422)](t[W(0x3ff,0x416)]()-w*0x3c*0x3e8);}e[W(0x422,0x426)]=t;break;case W(0x407,0x414):const u=_enc[W(0x429,0x423)](o,q,r);if(s){const x=o[W(0x40e,0x407)]()-u[W(0x413,0x407)]();u[W(0x405,0x422)](u[W(0x433,0x416)]()-x*0x3c*0x3e8);}e['endDate']=u;break;case'duration':let v=_enc['diff'](o,p,W(0x3f6,0x40e));if(s){const y=o[W(0x424,0x407)]()-p[W(0x3f0,0x407)]();v+=y*0x3c*0x3e8;}e['duration']=_enc['as'](r,v,'millisecond');break;}if(W(0x422,0x426)in e&&e['startDate']!==!![])this[W(0x403,0x413)]=e[W(0x428,0x426)];if(W(0x3f9,0x414)in e&&e['endDate']!==!![])this['_endDate']=e[W(0x3f6,0x414)];if('duration'in e&&e['duration']!==!![])this[W(0x412,0x405)]=e[W(0x447,0x430)];if(e[W(0x431,0x426)]===!![])delete e[W(0x444,0x426)];if(e[W(0x409,0x414)]===!![])delete e[W(0x429,0x414)];delete e[W(0x3ff,0x3f5)];delete e[W(0x444,0x42a)];}}return c;}){}export{CoreEventMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xb7;let f=c[d];return f;};return _enb(a,b);}(function(a,b){function j(a,b){return _enb(b-0x378,a);}const c=a();while(!![]){try{const d=parseInt(j(0x44c,0x442))/0x1+-parseInt(j(0x430,0x433))/0x2+parseInt(j(0x42f,0x431))/0x3+-parseInt(j(0x432,0x435))/0x4+-parseInt(j(0x435,0x43f))/0x5+-parseInt(j(0x432,0x439))/0x6+parseInt(j(0x42f,0x437))/0x7;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xba10f));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{CoreEventMixin}from'./CoreEventMixin.js';import _enc from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import{AbstractHasAssignmentsMixin}from'../AbstractHasAssignmentsMixin.js';function _ena(){const p=['6060696NHYCKd','assigned','32237310nomWVA','applyValue','8717880lHkpFO','copy','assignmentStore','isObject','$cachedAssignments','call','7183425GApwhk','skipFieldIdentifiers','prototype','934427WzTtEc','getEventsAssignments','project','forEach','1839336hJMWWJ','eventId','1971806aOLGdA','leaveProject'];_ena=function(){return p;};return _ena();}class CoreHasAssignmentsMixin extends Mixin([CoreEventMixin,AbstractHasAssignmentsMixin],a=>{const b=a[k(0x19d,0x19f)];function k(a,b){return _enb(a-0xd4,b);}class c extends a{get['assigned'](){function l(a,b){return k(a- -0x136,b);}return this[l(0x55,0x4e)]?.[l(0x61,0x61)][l(0x69,0x71)](this)??this[l(0x63,0x61)];}['leaveProject'](d=![]){this[m(0x406,0x3fd)]=this['assigned'];function m(a,b){return k(b-0x264,a);}super[m(0x3f1,0x3f4)](d);}['applyValue'](d,e,f,g,h){if(e==='id'){this[n(0x1e7,0x1e5)]?.[n(0x1db,0x1df)](i=>i['set'](n(0x1e8,0x1e1),f));}function n(a,b){return k(b-0x53,a);}b[n(0x1e7,0x1e7)][n(0x1ed,0x1ed)](this,d,e,f,g,h);}[k(0x196,0x192)](d=null,e=null){const f=b[o(0x309,0x314)][o(0x30d,0x30f)](this,d,e);if(_enc[o(0x30b,0x303)](e)&&!e[o(0x30f,0x30a)]||!_enc[o(0x30b,0x315)](e)){f[o(0x30c,0x302)]=this['assigned'];}function o(a,b){return k(a-0x173,b);}return f;}}return c;}){}export{CoreHasAssignmentsMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function f(a,b){return _enb(b-0x115,a);}while(!![]){try{const d=-parseInt(f(0x199,0x195))/0x1*(parseInt(f(0x19a,0x19a))/0x2)+-parseInt(f(0x191,0x197))/0x3+parseInt(f(0x1aa,0x1a3))/0x4+parseInt(f(0x195,0x19f))/0x5+-parseInt(f(0x18e,0x198))/0x6+-parseInt(f(0x1ad,0x1a6))/0x7*(-parseInt(f(0x194,0x19d))/0x8)+-parseInt(f(0x1a9,0x1a1))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x1cbc4));function _ena(){const k=['outgoingDeps','2UnCAHd','call','201258pmYMru','90270Kegxrd','add','120374hfhKWB','dependenciesForRemoval','eventStore','165776QGOajI','leaveProject','777055NumtCY','project','653112yZQBte','getOutgoingDepsForEvent','203456ASlcCH','forEach','incomingDeps','63TLltOR','dependencyStore','getIncomingDepsForEvent'];_ena=function(){return k;};return _ena();}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x7e;let f=c[d];return f;};return _enb(a,b);}import{CoreEventMixin}from'./CoreEventMixin.js';class CoreHasDependenciesMixin extends Mixin([CoreEventMixin],a=>{const b=a['prototype'];class c extends a{get[g(-0x322,-0x328)](){function h(a,b){return g(b-0x3f3,a);}return this['project'][h(0xdb,0xe4)][h(0xe1,0xdf)](this);}get[g(-0x311,-0x318)](){function i(a,b){return g(b-0x296,a);}return this[i(-0x76,-0x80)]['dependencyStore'][i(-0x94,-0x8d)](this);}[g(-0x318,-0x312)](){const d=this[j(-0x3a,-0x3d)];if(this['outgoingDeps']){this[j(-0x42,-0x3a)][j(-0x32,-0x2d)](e=>d[j(-0x3b,-0x35)][j(-0x3d,-0x35)](e));}if(this[j(-0x31,-0x34)]){this[j(-0x31,-0x34)][j(-0x32,-0x3b)](e=>d[j(-0x3b,-0x32)][j(-0x3d,-0x3f)](e));}function j(a,b){return g(a-0x2e0,b);}b['leaveProject'][j(-0x40,-0x48)](this);}}function g(a,b){return _enb(a- -0x3a1,b);}return c;}){}export{CoreHasDependenciesMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function j(a,b){return _enb(b- -0x247,a);}const c=a();while(!![]){try{const d=-parseInt(j(-0x57,-0x64))/0x1*(parseInt(j(-0x74,-0x65))/0x2)+parseInt(j(-0x59,-0x5a))/0x3*(parseInt(j(-0x6a,-0x5f))/0x4)+parseInt(j(-0x64,-0x6a))/0x5+parseInt(j(-0x60,-0x56))/0x6+parseInt(j(-0x5d,-0x54))/0x7*(-parseInt(j(-0x4d,-0x58))/0x8)+parseInt(j(-0x5b,-0x57))/0x9*(parseInt(j(-0x69,-0x69))/0xa)+-parseInt(j(-0x5f,-0x6c))/0xb*(-parseInt(j(-0x60,-0x55))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0xe442a));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1da;let f=c[d];return f;};return _enb(a,b);}function _ena(){const q=['setChanged','resourceStore','assigned','8UAmSIi','joinProject','assignmentStore','isLoadingData','project','2256327aQacDv','resource','1767488rTyIMh','5139efvpag','8083470deDkdH','13764tMrsjI','49iqVewr','resourceId','name','add','forEach','prototype','3993lUDnSi','leaveProject','3651250EjwsHy','40TGKVpY','applyValue','get','call','32316ouZNKV','94gLwxHV','getResourcesAssignments'];_ena=function(){return q;};return _ena();}import{CorePartOfProjectModelMixin}from'../mixin/CorePartOfProjectModelMixin.js';const emptySet=new Set();class CoreResourceMixin extends Mixin([CorePartOfProjectModelMixin],a=>{const b=a[k(0x43,0x35)];class c extends a{get[k(0x3e,0x42)](){function l(a,b){return k(a,b- -0x104);}return this[l(-0xb9,-0xbd)]?.[l(-0xb6,-0xbf)][l(-0xbd,-0xc5)](this)||emptySet;}[k(0x36,0x44)](){function m(a,b){return k(b,a- -0x16b);}if(this[m(-0x12a,-0x120)]&&!this[m(-0x12a,-0x134)][m(-0x125,-0x12a)]){this[m(-0x126,-0x132)]?.['query'](d=>d[m(-0x130,-0x136)](m(-0x122,-0x12f))===this['id'])[m(-0x119,-0x11e)](d=>d[m(-0x12b,-0x125)](m(-0x122,-0x115),this));}b['joinProject'][m(-0x12f,-0x137)](this);}['leaveProject'](d=![]){function n(a,b){return k(a,b-0x519);}if(this[n(0x54e,0x55b)]&&!d&&!this['resourceStore']?.[n(0x568,0x55f)]){const e=this['resourceStore'];this[n(0x557,0x55b)][n(0x566,0x56b)](f=>e['assignmentsForRemoval'][n(0x562,0x56a)](f));}b[n(0x54a,0x550)][n(0x564,0x555)](this);}['applyValue'](d,e,f,g,h){if(h?.[o(0x421,0x422)]==='id'){this[o(0x413,0x420)][o(0x423,0x418)](i=>{function p(a,b){return o(a-0x4c,b);}i['set'](p(0x46c,0x477),f);});}function o(a,b){return k(b,a-0x3d1);}b[o(0x40b,0x405)][o(0x40d,0x412)](this,d,e,f,g,h);}}function k(a,b){return _enb(b- -0x1a5,a);}return c;}){}export{CoreResourceMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function f(a,b){return _enb(b- -0x26d,a);}while(!![]){try{const d=parseInt(f(-0x139,-0x13a))/0x1*(parseInt(f(-0x13d,-0x13b))/0x2)+parseInt(f(-0x13b,-0x139))/0x3*(parseInt(f(-0x139,-0x138))/0x4)+-parseInt(f(-0x134,-0x135))/0x5+parseInt(f(-0x132,-0x137))/0x6+parseInt(f(-0x12b,-0x130))/0x7*(-parseInt(f(-0x135,-0x134))/0x8)+parseInt(f(-0x137,-0x131))/0x9*(parseInt(f(-0x134,-0x136))/0xa)+-parseInt(f(-0x12c,-0x132))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x2ffcc));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{CoreEventMixin}from'./CoreEventMixin.js';import{CoreHasAssignmentsMixin}from'./CoreHasAssignmentsMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x132;let f=c[d];return f;};return _enb(a,b);}function _ena(){const h=['1152qrAVlh','1392108NyTaSe','10btMcyS','1555205HzBtGS','2858384cqLIJy','prototype','357181IkjGjp','1296117dVboaD','7bCBDBA','404462KcFpfV','1ixfvrP','3324HKNcmm'];_ena=function(){return h;};return _ena();}import{CoreHasDependenciesMixin}from'./CoreHasDependenciesMixin.js';class SchedulerCoreEvent extends Mixin([CoreEventMixin,CoreHasAssignmentsMixin,CoreHasDependenciesMixin],a=>{const b=a[g(0x219,0x214)];class c extends a{}function g(a,b){return _enb(a-0xdf,b);}return c;}){}export{SchedulerCoreEvent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function s(a,b){return _enb(a- -0x4b,b);}const c=a();while(!![]){try{const d=-parseInt(s(0x1a7,0x1c7))/0x1+-parseInt(s(0x178,0x192))/0x2*(parseInt(s(0x176,0x1ac))/0x3)+parseInt(s(0x18d,0x1c9))/0x4*(-parseInt(s(0x16e,0x19b))/0x5)+parseInt(s(0x1db,0x207))/0x6*(parseInt(s(0x18b,0x155))/0x7)+-parseInt(s(0x1ca,0x1e4))/0x8*(-parseInt(s(0x16d,0x186))/0x9)+parseInt(s(0x1e3,0x1a8))/0xa+parseInt(s(0x1d3,0x1b1))/0xb*(parseInt(s(0x1c4,0x193))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x2c751));import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{SchedulerCoreEvent}from'./SchedulerCoreEvent.js';import _enc from'@bryntum/core-thin/lib/data/Store.js';import _end from'@bryntum/core-thin/lib/data/Model.js';import _ene from'@bryntum/core-thin/lib/mixin/Delayable.js';import{CoreEventStoreMixin}from'../../store/CoreEventStoreMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1b7;let f=c[d];return f;};return _enb(a,b);}import{CoreAssignmentMixin}from'./CoreAssignmentMixin.js';import{CoreAssignmentStoreMixin}from'../../store/CoreAssignmentStoreMixin.js';import{CoreResourceMixin}from'./CoreResourceMixin.js';import{CoreResourceStoreMixin}from'../../store/CoreResourceStoreMixin.js';import{CorePartOfProjectGenericMixin}from'../../CorePartOfProjectGenericMixin.js';import{CoreDependencyStoreMixin}from'../../store/CoreDependencyStoreMixin.js';function _ena(){const ac=['resolve','dependenciesData','changeResourceStore','defaultCalendar','isAssignmentStore','event','assignmentsData','isDestroyed','assignmentStore','trigger','isPerformingCommit','calendarManagerStore','addResource','addStore','104366tOlerb','getDefaultConfiguration','unspecifiedTimeIsWorking','assignment','doDestroy','endBatch','beginBatch','forEach','destroy','clear','SchedulerCoreProjectMixin','effectiveCalendar','getById','silenceInitialCommit','afterEventRemoval','calendarModelClass','hasPendingAutoCommit','detachStore','dependency','calendar','hasLoadedDataToCommit','date','prototype','assign','hasStore','unScheduleAutoCommit','events','isWritingData','assignmentStoreChange','2496oACtVu','getStm','resourceStore','removeStore','resolveStoreAndModelClass','stateRestoringDone','40AmNykY','size','stm','onCommitAsync','startDate','configurable','updateDependencyStore','updateAssignmentStore','modelClass','20031NIWvEw','setDependencyStore','doCommitAsync','resourcesData','setResourceStore','$invalidated','add','suspendSortOnUpdate','308058adDzgj','joinRecordsToProject','commitAsync','attachStore','endDate','$leaving','setProject','finalizeInvalidated','151020Eokkwa','unjoinRecordsFromProject','setEventStore','load','ModelClass','tasksData','suspendAutoCommit','changeDependencyStore','tasks','data','eventStoreChange','setAssignmentStore','bufferedCommitAsync','crudManager','isInitialCommitPerformed','setTimeout','commitFinalized','delete','beforeCommit','340839ZBParM','1070hSgCtW','loadInlineData','addAssignment','dependencyStore','isEngineReady','updateCalendarManagerStore','propagateAsync','setCalendarManagerStore','3kqRQan','updateResourceStore','451686YRnJzg','$stm','applyConfigs','addEvent','resource','resumeSortOnUpdate','construct','dependencies','masterStore','dataPropertyDeprecation','commitLoad','project','StoreClass','resources','fields','afterResourceRemoval','disable','eventsData','dataReady','35sCqTha','$calendar','6124NMUywn','eventStore','ongoing','calendarsData','isLoadingInlineData','calendars','dependencyStoreChange','assignments','$name','resourceStoreChange','clearTimeout','refresh'];_ena=function(){return ac;};return _ena();}import{CoreDependencyMixin}from'./CoreDependencyMixin.js';import{CoreCalendarMixin}from'./CoreCalendarMixin.js';import{CoreCalendarManagerStoreMixin}from'../../store/CoreCalendarManagerStoreMixin.js';import{delay}from'../../../util/Functions.js';import _enf from'@bryntum/core-thin/lib/data/stm/StateTrackingManager.js';import{AbstractProjectMixin}from'../AbstractProjectMixin.js';import _eng from'@bryntum/core-thin/lib/helper/ObjectHelper.js';class DelayableWrapper extends Mixin([],_ene){}class SchedulerCoreProjectMixin extends Mixin([AbstractProjectMixin,CorePartOfProjectGenericMixin,DelayableWrapper,_end],a=>{const b=a[t(0x15c,0x14a)];class c extends a{static get[t(0x125,0x101)](){function u(a,b){return t(b- -0x2bf,a);}return[{'name':u(-0x129,-0x152),'type':u(-0x132,-0x164)},{'name':u(-0x158,-0x141),'type':u(-0x1a0,-0x164)}];}static get[t(0x16e,0x1ad)](){return{'stm':{},'eventStore':{},'assignmentStore':{},'resourceStore':{},'dependencyStore':{},'calendarManagerStore':{},'eventModelClass':SchedulerCoreEvent,'assignmentModelClass':CoreAssignmentMixin,'resourceModelClass':CoreResourceMixin,'dependencyModelClass':CoreDependencyMixin,'calendarModelClass':CoreCalendarMixin,'eventStoreClass':CoreEventStoreMixin,'assignmentStoreClass':CoreAssignmentStoreMixin,'resourceStoreClass':CoreResourceStoreMixin,'dependencyStoreClass':CoreDependencyStoreMixin,'calendarManagerStoreClass':CoreCalendarManagerStoreMixin};}[t(0x11d,0x15c)](d={}){const e=this;const {resources:f,events:g,dependencies:h,assignments:i,calendars:j}=d;delete d[v(-0xe,-0x38)];delete d['events'];function v(a,b){return t(b- -0x15c,a);}delete d[v(-0x69,-0x3e)];delete d[v(-0x2a,-0x29)];delete d['calendars'];delete d[v(0x5e,0x2e)];e[v(-0x5,0x1b)]=new Set();e[v(0x48,0x23)]=new Set();e['isPerformingCommit']=![];e[v(0xb,-0x9)]=!![];e[v(0x3,-0x2e)]=Promise[v(0x7,-0x24)]();if(d[v(-0x64,-0x2f)]&&!d[v(0x15,-0x1c)]){const q=d[v(-0x22,-0x2f)][v(0x7,-0x3d)]||d[v(-0x53,-0x2f)];const r=q[v(-0x55,-0x1c)]||q[v(0x4b,0x33)]?.['assignmentStore'];if(r?.[v(-0x40,-0x20)]){d[v(-0x55,-0x1c)]=r;e['isSharingAssignmentStore']=!![];}}b['construct']['call'](e,d);e[v(0x10,-0x21)]=new e[(v(-0x2a,-0x19))][(v(-0x1d,0x15))]({'unspecifiedTimeIsWorking':e[v(-0x25,-0x14)]});e[v(-0x25,-0x21)][v(-0x42,-0x3a)]=e;const {calendarsData:k,eventsData:l,dependenciesData:m,resourcesData:n,assignmentsData:o}=e;const p=Boolean(k||l||m||n||o||j||g||h||f||i);if(p){e[v(-0x41,-0x4e)]({'calendarsData':k,'eventsData':l,'dependenciesData':m,'resourcesData':n,'assignmentsData':o,'calendars':j,'events':g,'dependencies':h,'resources':f,'assignments':i});delete e[v(-0x6d,-0x2d)];delete e['eventsData'];delete e[v(-0x55,-0x23)];delete e[v(-0x21,0x19)];delete e[v(-0x2d,-0x1e)];}else{e[v(-0x5,0x32)]();}}[t(0x14a,0x187)](){function w(a,b){return t(b- -0x2be,a);}const d=this;d[w(-0x1ce,-0x191)]?.[w(-0x19f,-0x170)]();d[w(-0x1eb,-0x1ae)]?.[w(-0x197,-0x170)]();d[w(-0x16f,-0x17e)]?.[w(-0x12b,-0x170)]();d[w(-0x16f,-0x159)]?.[w(-0x1ab,-0x170)]();d['calendarManagerStore']?.['destroy']();d['defaultCalendar'][w(-0x169,-0x170)]();d['stm']?.['destroy']();b[w(-0x199,-0x174)]['call'](this);}async[t(0x10e,0xe8)](d){const e=this;e[x(0x44d,0x450)]=!![];e[x(0x43d,0x3f9)]?.(d||{});if(d['calendars']||d[x(0x44c,0x468)]){e[x(0x460,0x474)][x(0x4a8,0x4e3)]=d[x(0x44e,0x47d)]||d[x(0x44c,0x45b)];}function x(a,b){return t(a-0x31d,b);}if(d[x(0x441,0x457)]||d[x(0x492,0x486)]){e[x(0x482,0x4a4)][x(0x4a8,0x48f)]=d['resources']||d['resourcesData'];}if(d['assignments']||d['assignmentsData']){e[x(0x45d,0x467)]['data']=d['assignments']||d[x(0x45b,0x448)];}if(d[x(0x47d,0x47b)]||d[x(0x445,0x434)]){e[x(0x44a,0x441)][x(0x4a8,0x4a8)]=d[x(0x47d,0x492)]||d[x(0x445,0x43d)];}if(d['tasks']||d['tasksData']){e[x(0x44a,0x48c)]['data']=d[x(0x4a7,0x4d5)]||d[x(0x4a4,0x4a3)];}if(d[x(0x43b,0x456)]||d[x(0x456,0x477)]){e['dependencyStore']['data']=d[x(0x43b,0x471)]||d[x(0x456,0x455)];}await e[x(0x43e,0x459)]();e[x(0x44d,0x457)]=![];return;}async['commitLoad'](){function y(a,b){return t(a- -0x2a7,b);}await this[y(-0x12b,-0x133)]();if(!this['isDestroyed'])this['trigger'](y(-0x122,-0xea));}[t(0x167,0x1a3)](d,e){const f=e?.['storeClass']||this[d+z(0x544,0x587)];let g=e?.[z(0x5bb,0x5d5)];function z(a,b){return t(b-0x464,a);}if(!g){if(this[z(0x5ce,0x5ab)]()[d+z(0x61a,0x5ea)]!==f[z(0x59e,0x5ab)]()[z(0x5f0,0x5d5)]){g=f[z(0x5bc,0x5ab)]()[z(0x5a8,0x5d5)];}else{g=this[d+'ModelClass'];}}return{'storeClass':f,'modelClass':g};}[t(0x184,0x152)](d){function A(a,b){return t(b- -0x1c3,a);}this[A(-0x83,-0x96)]=d;}['changeEventStore'](d,e){const f=this,{stm:g}=f;f[B(-0xed,-0x104)](e);if(!(d instanceof _enc)){const {storeClass:h,modelClass:i}=f['resolveStoreAndModelClass'](B(-0x107,-0x141),d);d=new h(_eng[B(-0xe7,-0xed)]({'modelClass':i,'project':f,'stm':g},d));}else{d[B(-0x122,-0x102)]=f;g[B(-0xff,-0x13b)](d);d[B(-0xc9,-0xde)](f);}if(e&&g[B(-0xe6,-0xaf)](e)){g[B(-0xde,-0xe6)](e);e[B(-0xc1,-0xff)](f);const {assignmentsForRemoval:j}=e;j[B(-0xf7,-0xf4)](k=>{function C(a,b){return B(a-0x638,b);}const l=k[C(0x531,0x538)];if(l){const m=d['getById'](l['id']);if(m){k['event']=m;j[C(0x587,0x565)](k);}}});e[B(-0xf0,-0x10a)]();}d['setProject'](f);function B(a,b){return t(a- -0x244,b);}return d;}['updateEventStore'](d,e){function D(a,b){return t(a- -0x2e5,b);}this['attachStore'](d);this[D(-0x1a4,-0x1b0)](D(-0x159,-0x119),{'store':d});}[t(0x18d,0x1ca)](d){function E(a,b){return t(a- -0x24b,b);}this[E(-0x10b,-0x13e)]=d;}['changeAssignmentStore'](d,e){const f=this,{stm:g}=f;f[F(0x42c,0x44b)](e);if(e&&g[F(0x433,0x420)](e)){g['removeStore'](e);e[F(0x458,0x423)](f);}function F(a,b){return t(a-0x2d5,b);}if(!(d instanceof _enc)){const {storeClass:h,modelClass:i}=f['resolveStoreAndModelClass'](F(0x41e,0x452),d);d=new h(_eng[F(0x432,0x406)]({'modelClass':i,'project':f,'stm':g},d));}else{d['project']=f;g[F(0x41a,0x42c)](d);d[F(0x450,0x41b)](f);}d[F(0x455,0x48c)](f);return d;}[t(0x170,0x181)](d,e){function G(a,b){return t(b- -0x51,a);}this[G(0xee,0x12c)](d);this['trigger'](G(0x152,0x111),{'store':d});}[t(0x176,0x192)](d){function H(a,b){return t(b- -0x2d4,a);}this[H(-0x142,-0x16f)]=d;}[t(0x13a,0x12b)](d,e){const f=this,{stm:g}=f;function I(a,b){return t(a- -0xfe,b);}f['detachStore'](e);if(!(d instanceof _enc)){const {storeClass:h,modelClass:i}=f[I(0x69,0x63)](I(0x1d,-0x12),d);d=new h(_eng[I(0x5f,0x61)]({'modelClass':i,'project':f,'stm':g},d));}else{d[I(0x24,0x61)]=f;g[I(0x47,0x8b)](d);d[I(0x7d,0x77)](f);}if(e&&g[I(0x60,0x8b)](e)){g[I(0x68,0x6a)](e);e[I(0x85,0x8b)](f);const {assignmentsForRemoval:j}=e;j[I(0x4f,0x5f)](k=>{function J(a,b){return I(b-0x46f,a);}const l=k['resource'];if(l){const m=d[J(0x4ae,0x4c3)](l['id']);if(m){k[J(0x477,0x48c)]=m;j[J(0x518,0x504)](k);}}});e[I(0x28,0x38)]();}d['setProject'](f);return d;}[t(0x116,0x11e)](d,e){this['attachStore'](d);function K(a,b){return t(a-0x2da,b);}this['trigger'](K(0x40f,0x3da),{'store':d});}[t(0x173,0x170)](d){function L(a,b){return t(a-0x265,b);}this[L(0x375,0x38b)]=d;}[t(0x189,0x170)](d,e){const f=this;f[M(0x3fb,0x3d4)](e);function M(a,b){return t(a-0x2a4,b);}if(!(d instanceof _enc)){const {storeClass:g,modelClass:h}=f[M(0x40b,0x407)](M(0x3fc,0x42a),d);d=new g(_eng[M(0x401,0x43f)]({'modelClass':h,'project':f,'stm':f[M(0x40f,0x3d1)]},d));}else{d[M(0x3c6,0x384)]=f;f[M(0x40f,0x427)][M(0x3e9,0x3fb)](d);d[M(0x41f,0x453)](f);}return d;}[t(0x16f,0x1b0)](d,e){function N(a,b){return t(b-0x366,a);}this[N(0x519,0x4e3)](d);this[N(0x4b3,0x4a7)](N(0x488,0x498),{'store':d});}[t(0x114,0xd7)](d){function O(a,b){return t(a- -0x137,b);}this[O(0xc,0x4b)]=d;}['changeCalendarManagerStore'](d,e){function P(a,b){return t(b- -0x2a1,a);}const f=this;f['detachStore'](e);if(!(d instanceof _enc)){const g=d?.['storeClass']||f['calendarManagerStoreClass'];const h=d?.[P(-0x145,-0x130)]||g[P(-0x14e,-0x15a)]()[P(-0x15b,-0x130)]||f[P(-0x125,-0x14c)];d=new g(_eng[P(-0x180,-0x144)]({'modelClass':h,'project':f,'stm':f['stm']},d));}else{f[P(-0x118,-0x136)][P(-0x183,-0x15c)](d);}d['setProject'](f);return d;}[t(0x112,0x147)](d,e){function Q(a,b){return t(a- -0x280,b);}this[Q(-0x103,-0xc4)](d);this[Q(-0x13f,-0x16a)]('calendarManagerStoreChange',{'store':d});}get['calendar'](){function R(a,b){return t(a- -0xc1,b);}return this[R(0x6a,0x4d)]||this['defaultCalendar'];}set[t(0x159,0x175)](d){function S(a,b){return t(b- -0x10b,a);}this[S(0x5f,0x20)]=d;}get[t(0x151,0x177)](){function T(a,b){return t(a- -0x1f9,b);}return this[T(-0xa0,-0xb8)];}async[t(0x11a,0x158)](d){function U(a,b){return t(b- -0x320,a);}this[U(-0x215,-0x1f3)]['add'](d);return this[U(-0x18c,-0x1a4)]();}async[t(0x10f,0x122)](d){function V(a,b){return t(a- -0x27c,b);}this[V(-0x13c,-0x152)]['add'](d);return this[V(-0x100,-0xcb)]();}async[t(0x144,0x134)](d){this[W(-0x77,-0xab)][W(-0xa8,-0x98)](d);function W(a,b){return t(b- -0x210,a);}return this['commitAsync']();}async['addDependency'](d){this[X(0x40e,0x3ff)][X(0x428,0x467)](d);function X(a,b){return t(b-0x2ef,a);}return this[X(0x440,0x46b)]();}[t(0x18e,0x1bc)](){function Y(a,b){return t(a-0xd6,b);}if(!this[Y(0x22c,0x25a)]){this[Y(0x267,0x239)]({'fn':()=>this[Y(0x252,0x263)]?.(),'name':Y(0x252,0x244),'delay':0xa});}}get[t(0x156,0x186)](){function Z(a,b){return t(b- -0x2f5,a);}return this['hasTimeout'](Z(-0x137,-0x179));}[t(0x15f,0x19a)](){function a0(a,b){return t(b- -0x2f8,a);}this[a0(-0x1c6,-0x1c2)](a0(-0x15b,-0x17c));}async[t(0x17c,0x156)](){function a1(a,b){return t(a-0x30f,b);}if(this[a1(0x451,0x456)])return this[a1(0x43d,0x479)];this[a1(0x450,0x419)](a1(0x41a,0x454));return this['ongoing']=this[a1(0x483,0x480)]();}async[t(0x174,0x147)](){const d=this;function a2(a,b){return t(a- -0x217,b);}if(!d[a2(-0xa0,-0x6c)][a2(-0xad,-0x7a)]&&!d['$leaving'][a2(-0xad,-0x8e)]&&!d[a2(-0xbd,-0x93)]&&!d['isInitialCommit']){d['trigger'](a2(-0x85,-0xc8));return;}d[a2(-0x98,-0x62)][a2(-0xc8,-0xc9)]();d[a2(-0xd5,-0xf5)]=!![];await delay(0x0);if(!d[a2(-0xd8,-0xde)]){d[a2(-0xb8,-0xfc)]();for(const i of d[a2(-0xa0,-0xb6)]){i['calculateInvalidated']();}const {isInitialCommit:e,silenceInitialCommit:f}=d;const g=e&&f;d[a2(-0xd7,-0x103)]['onCommitAsync']();d[a2(-0x107,-0xec)][a2(-0xab,-0xed)]();d['isInitialCommitPerformed']=!![];d[a2(-0xbd,-0xdd)]=![];d[a2(-0xd5,-0xfc)]=![];const h=[d[a2(-0xd7,-0x114)],d['dependencyStore'],d[a2(-0xea,-0xb7)],d[a2(-0xb2,-0x81)],d[a2(-0xd4,-0x118)]];h[a2(-0xca,-0x8f)](j=>{j[a3(0x40d,0x3d2)]?.();function a3(a,b){return a2(a-0x49c,b);}j[a3(0x3fe,0x421)]?.();});d['isWritingData']=!![];d[a2(-0xd6,-0xe4)](a2(-0xe0,-0x111),{'isInitialCommit':e,'isCalculated':!![]});if(g){for(const j of d[a2(-0xa0,-0xa7)]){j[a2(-0x96,-0xa1)](!![]);}}else{for(const k of d['$invalidated']){k[a2(-0xcb,-0xc0)](!![]);k[a2(-0x96,-0x5a)]();}for(const l of d[a2(-0xa0,-0x6c)]){l[a2(-0xcc,-0x8f)](![],!![]);}}d[a2(-0xb6,-0xb8)]=![];d[a2(-0xa0,-0x99)][a2(-0xc8,-0x95)]();d[a2(-0xd6,-0xd7)](a2(-0xee,-0xdd));h[a2(-0xca,-0xb4)](m=>{function a4(a,b){return a2(b-0x1ac,a);}m['resumeAutoCommit']?.();m[a4(0xa3,0xb1)]?.();});d[a2(-0xd6,-0xaa)](a2(-0x85,-0x9c));return!![];}}async[t(0x113,0xe2)](){function a5(a,b){return t(b-0xf2,a);}return this[a5(0x236,0x26e)]();}['invalidate'](d){this[a6(0x1c5,0x1d4)][a6(0x1c6,0x1a5)](d);function a6(a,b){return t(a-0x4e,b);}this[a6(0x1dc,0x204)]();}async['isValidDependency'](){return!![];}[t(0x164,0x16f)](){function a7(a,b){return t(a-0x342,b);}return this[a7(0x4ad,0x48e)];}set[t(0x16b,0x175)](d){function a8(a,b){return t(b-0x444,a);}d=this['$stm']=new _enf(_eng[a8(0x5ba,0x5a1)]({'disabled':!![]},d));d['ion']({'restoringStop':async()=>{d[a9(0x4ec,0x4d7)]();await this[a9(0x519,0x52c)]();function a9(a,b){return a8(a,b- -0x94);}if(!this[a9(0x4e9,0x4ef)]){d['enable']();this[a9(0x4fc,0x4f1)](a9(0x516,0x518));}}});}get['stm'](){function aa(a,b){return t(b-0x82,a);}return this[aa(0x1bd,0x19a)];}[t(0x111,0x12f)](){function ab(a,b){return t(a-0x391,b);}return!this[ab(0x4e7,0x50e)]&&!this[ab(0x4d3,0x4e6)]&&this[ab(0x521,0x4e4)];}}c[t(0x134,0x105)]=t(0x150,0x11d);c[t(0x119,0x14f)]=!![];function t(a,b){return _enb(a- -0xac,b);}return c;}){}export{DelayableWrapper,SchedulerCoreProjectMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){function n(a,b){return _enb(b-0x109,a);}const c=a();while(!![]){try{const d=-parseInt(n(0x2fb,0x310))/0x1*(-parseInt(n(0x310,0x303))/0x2)+-parseInt(n(0x313,0x306))/0x3*(-parseInt(n(0x33f,0x321))/0x4)+-parseInt(n(0x2e4,0x2f2))/0x5*(-parseInt(n(0x2f2,0x2fa))/0x6)+parseInt(n(0x2d1,0x2ee))/0x7+parseInt(n(0x2f6,0x2f6))/0x8+-parseInt(n(0x2f4,0x2f7))/0x9*(-parseInt(n(0x2ef,0x2f9))/0xa)+-parseInt(n(0x2ea,0x30b))/0xb*(parseInt(n(0x32d,0x318))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x264f9));var __decorate=function(a,b,e,f){var g=arguments['length'],h=g<0x3?b:f===null?f=Object[o(0x2dc,0x2cd)](b,e):f,j;function o(a,b){return _enb(b-0xe7,a);}if(typeof Reflect==='object'&&typeof Reflect[o(0x2de,0x2db)]==='function')h=Reflect['decorate'](a,b,e,f);else for(var k=a[o(0x2d5,0x2f7)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object['defineProperty'](b,e,h),h;};import{ProposedOrPreviousValueOf,UnsafeProposedOrPreviousValueOf,Write}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{prototypeValue}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import _enc from'@bryntum/core-thin/lib/helper/DateHelper.js';import _end from'@bryntum/core-thin/lib/localization/Localizable.js';import{ConflictResolution,ConstraintInterval,ConstraintIntervalDescription}from'../../../chrono/Conflict.js';import{model_field}from'../../../chrono/ModelFieldAtom.js';import'../../../localization/En.js';import{ConstraintType}from'../../../scheduling/Types.js';import{format}from'../../../util/Functions.js';import{HasChildrenMixin}from'../scheduler_basic/HasChildrenMixin.js';import{HasDependenciesMixin}from'../scheduler_basic/HasDependenciesMixin.js';import{ConstrainedByDependenciesEventScheduleMixin}from'./ConstrainedByDependenciesEventScheduleMixin.js';import{ConstrainedEarlyEventMixin}from'./ConstrainedEarlyEventMixin.js';import{DateConstraintInterval,HasDateConstraintMixin}from'./HasDateConstraintMixin.js';class ConstrainedByDependenciesEventMixin extends Mixin([ConstrainedEarlyEventMixin,HasDependenciesMixin,HasChildrenMixin,HasDateConstraintMixin],a=>{class b extends a{constructor(){function p(a,b){return _enb(a- -0x348,b);}super(...arguments);this[p(-0x12f,-0x14e)]=0x3;}*['shouldPredecessorAffectScheduling'](c){return!![];}*['shouldSuccessorAffectScheduling'](c){return!![];}*[q(0x381,0x372)](){function r(a,b){return q(a,b- -0x2b5);}return this[r(0x97,0xb5)][r(0xf5,0xe9)]&&(yield this['$'][r(0xd0,0xd4)])[r(0xea,0xe7)]===0x0&&(yield this['$'][r(0xac,0xd2)])[r(0xcd,0xe7)]===0x0&&!(yield this['$'][r(0xe6,0xfd)]);}*[q(0x3cc,0x3a8)](){let c;function s(a,b){return q(b,a- -0x262);}if(this[s(0x13f,0x119)]&0x1){c=yield UnsafeProposedOrPreviousValueOf(this['$'][s(0x134,0x11f)]);if(c==null&&(yield*this[s(0x110,0xee)]())){c=ConstraintType[s(0x112,0x111)];}else{c=yield*super['calculateConstraintType']();}}else{c=yield*super['calculateConstraintType']();}this[s(0x13f,0x11f)]&=0x2;return c;}*[q(0x35d,0x373)](c){function t(a,b){return q(b,a- -0x90);}let d;if(this[t(0x311,0x30b)]&0x2){d=yield UnsafeProposedOrPreviousValueOf(this['$'][t(0x2ed,0x2ec)]);if(d==null&&(yield*this['shouldAutoSetConstraintOnLoad']())){d=yield UnsafeProposedOrPreviousValueOf(this['$'][t(0x316,0x320)]);}else{d=yield*super[t(0x2e3,0x2e9)](c);}}else{d=yield*super[t(0x2e3,0x2e5)](c);}this['isInitialConstraintCalculation']&=0x1;return d;}*[q(0x384,0x38c)](){if(this[u(0xdc,0xf2)][u(0xea,0xf3)]&&(yield ProposedOrPreviousValueOf(this['$'][u(0x103,0xed)]))==null&&(!(yield ProposedOrPreviousValueOf(this['$'][u(0x145,0x12e)]))||!(yield ProposedOrPreviousValueOf(this['$'][u(0x10a,0x127)])))){if((yield this['$'][u(0x103,0x111)])['size']>0x0)return 0x1;}function u(a,b){return q(a,b- -0x278);}return yield*super['calculateDuration']();}*[q(0x37d,0x36f)](c,d){const e=c===v(-0x1c9,-0x1aa)?yield*d['doCalculateEffectiveStartDateInterval'](!![]):yield*d[v(-0x15a,-0x16b)](!![]);function v(a,b){return q(a,b- -0x51a);}let f=Array[v(-0x198,-0x1b1)](e[v(-0x1cd,-0x1b2)]);const g=this[v(-0x19f,-0x194)](f);if(g){const h=yield this['$']['postponedConflict'];const i=yield this[v(-0x153,-0x177)]()['$'][v(-0x18f,-0x16c)];if((h||i)&&!this[v(-0x1aa,-0x18a)]){const j=c===v(-0x191,-0x1aa)?yield*d[v(-0x179,-0x19f)](!![],!![]):yield*d['doCalculateEffectiveEndDateInterval'](!![],!![]);if(!j[v(-0x16a,-0x16a)]()){if(!h){const k=yield*this[v(-0x1ac,-0x19c)](c,d);yield Write(this['$'][v(-0x15c,-0x16f)],k);}return{'kind':'resolved','value':j};}return yield*super['onEmptyEffectiveInterval'](c,d);}this['forceResolutionOfPostponedConflict']=![];}return yield*super[v(-0x18e,-0x1ab)](c,d);}[q(0x360,0x384)](c){const d=c['filter'](f=>f instanceof DateConstraintInterval&&f[w(0x44,0x5f)]===this);const e=c[w(0x63,0x5d)](f=>f instanceof DependencyConstraintInterval);if(d[w(0x4a,0x4d)]===0x1&&e[w(0x4a,0x30)]>0x0){const f=d[0x0];const g=e[w(0x45,0x4e)](h=>h['intersect'](f)[w(0x62,0x58)]());if(g){return{'kind':'dependency_with_own_constraint','ownConstraintInterval':f,'dependencyIntervals':e};}}function w(a,b){return q(b,a- -0x34e);}return{'kind':w(0x59,0x51)};}}b[q(0x3b2,0x38e)]=Mixin([a[q(0x389,0x38e)],ConstrainedByDependenciesEventScheduleMixin],c=>c);__decorate([model_field({'type':'boolean'})],b[q(0x3bd,0x39b)],q(0x36f,0x391),void 0x0);function q(a,b){return _enb(b-0x188,a);}return b;}){}class BaseDependencyResolution extends _end(ConflictResolution){[_enx(0x51d,0x511)](){function y(a,b){return _enx(b- -0xfb,a);}const {dependency:a}=this,{type:b,fromEvent:c,toEvent:d}=a;return format(this['L']('L{descriptionTpl}'),this['L']('L{DependencyType.long}')[b],c[y(0x3f3,0x40e)]||c['id'],d[y(0x41e,0x40e)]||d['id']);}}BaseDependencyResolution[_enx(0x523,0x51e)]=_enx(0x537,0x536);class RemoveDependencyResolution extends BaseDependencyResolution{['resolve'](){this['dependency']['remove']();}}RemoveDependencyResolution[_enx(0x523,0x546)]=_enx(0x52b,0x53e);class DeactivateDependencyResolution extends BaseDependencyResolution{[_enx(0x54c,0x53b)](){function z(a,b){return _enx(b- -0xf5,a);}this['dependency'][z(0x41c,0x431)]=![];}}function _ena(){const D=['descriptionBuilderClass','constraintType','9082092zUWzkO','length','DeactivateDependencyResolution','hasIdentifier','prototype','size','DependencyConstraintIntervalDescription','autoSetConstraints','endDate','94808JXOhIl','isInitialConstraintCalculation','L{dateFormat}','getProject','format','new','startDate','no_own_constraint_conflict','calculateConstraintType','resolve','resolutions','postponedConflict','isShadow','reflectionOf','autoPostponeConflicts','doCalculateEffectiveEndDateInterval','isIntervalEmpty','filter','manuallyScheduled','duration','name','graph','intersectionOf','from','project','_showUnscheduledTasks','get','1222949qiLPrC','getOwnPropertyDescriptor','onEmptyEffectiveInterval','start','42415OxOlIq','shouldAutoSetConstraintOnLoad','calculateConstraintDate','StartNoEarlierThan','836512BCldMC','18zPCLUi','L{DependencyType.long}','763320BvjhOX','84NrlwoS','getDescription','doCalculateEffectiveStartDateInterval','decorate','constraintDate','createConflictEffect','toEvent','$name','type','131434anyfIi','active','getOwnConstraintConflictInfo','21tkWYaL','canPostponeIntervalsConflict','childEvents','RemoveDependencyResolution','incomingDeps','11oOTkqa','baseRevision','calculateDuration','removeDependencyConflictResolutionClass','scheduleMixinClass','3mPTTwL','forceResolutionOfPostponedConflict','inactive','owner','some','BaseDependencyResolution'];_ena=function(){return D;};return _ena();}function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x1dd;let f=c[d];return f;};return _enb(a,b);}DeactivateDependencyResolution[_enx(0x523,0x528)]=_enx(0x53c,0x52d);class DependencyConstraintIntervalDescription extends ConstraintIntervalDescription{static['getDescriptionParameters'](a){a=a[A(0x596,0x586)]||a;const b=a[A(0x57b,0x58b)];function A(a,b){return _enx(a-0x46,b);}return[_enc['format'](a['startDate'],this['L'](A(0x58b,0x5a2))),_enc[A(0x58d,0x57d)](a[A(0x588,0x596)],this['L'](A(0x58b,0x585))),this['L'](A(0x560,0x558))[b[A(0x56a,0x546)]],b['fromEvent'][A(0x54f,0x551)],b[A(0x568,0x559)][A(0x54f,0x54c)]];}}DependencyConstraintIntervalDescription[_enx(0x523,0x535)]=_enx(0x540,0x53b);function _enx(a,b){return _enb(a-0x32b,b);}class DependencyConstraintInterval extends ConstraintInterval{get['isDependencyConstraintInterval'](){return!![];}['isAffectedByTransaction'](a){const b=this[B(0xce,0xdd)];a=a||b[B(0xa3,0x7d)]['activeTransaction'];function B(a,b){return _enx(a- -0x467,b);}const {entries:c}=a,{fromEvent:d,toEvent:e,lag:f,lagUnit:g,type:h}=b['$'],i=c[B(0xa8,0x9d)](d),j=c[B(0xa8,0x92)](e),k=c[B(0xa8,0x86)](f),l=c[B(0xa8,0xb5)](g),m=c[B(0xa8,0xa2)](h);return!a[B(0xc7,0xa5)][B(0xd6,0xf5)](b['$$'])||i&&!i[B(0xe8,0xc6)]()||j&&!j[B(0xe8,0xc6)]()||k&&!k[B(0xe8,0xca)]()||l&&!l[B(0xe8,0xc1)]()||m&&!m[B(0xe8,0xe5)]();}['getResolutions'](){function C(a,b){return _enx(a- -0x684,b);}return this[C(-0x137,-0x132)]||(this[C(-0x137,-0x129)]=[this['deactivateDependencyConflictResolutionClass'][C(-0x13c,-0x11e)]({'dependency':this[C(-0x14f,-0x15c)]}),this[C(-0x154,-0x154)][C(-0x13c,-0x149)]({'dependency':this[C(-0x14f,-0x16e)]})]);}}__decorate([prototypeValue(RemoveDependencyResolution)],DependencyConstraintInterval[_enx(0x53e,0x524)],'removeDependencyConflictResolutionClass',void 0x0);__decorate([prototypeValue(DeactivateDependencyResolution)],DependencyConstraintInterval[_enx(0x53e,0x51a)],'deactivateDependencyConflictResolutionClass',void 0x0);__decorate([prototypeValue(DependencyConstraintIntervalDescription)],DependencyConstraintInterval[_enx(0x53e,0x53f)],_enx(0x538,0x51c),void 0x0);export{BaseDependencyResolution,ConstrainedByDependenciesEventMixin,DeactivateDependencyResolution,DependencyConstraintInterval,DependencyConstraintIntervalDescription,RemoveDependencyResolution};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function q(a,b){return _enb(b-0x3d8,a);}while(!![]){try{const d=parseInt(q(0x497,0x495))/0x1+parseInt(q(0x4a5,0x4a4))/0x2*(parseInt(q(0x472,0x47d))/0x3)+parseInt(q(0x4a0,0x4ab))/0x4*(parseInt(q(0x457,0x475))/0x5)+-parseInt(q(0x488,0x498))/0x6*(parseInt(q(0x493,0x49d))/0x7)+parseInt(q(0x49b,0x492))/0x8+-parseInt(q(0x4b5,0x4a2))/0x9*(parseInt(q(0x497,0x49a))/0xa)+-parseInt(q(0x4a3,0x4aa))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x3242a));var __decorate=function(a,b,e,f){var g=arguments[r(-0x173,-0x163)],h=g<0x3?b:f===null?f=Object['getOwnPropertyDescriptor'](b,e):f,j;function r(a,b){return _enb(b- -0x222,a);}if(typeof Reflect==='object'&&typeof Reflect[r(-0x18c,-0x177)]==='function')h=Reflect['decorate'](a,b,e,f);else for(var k=a[r(-0x177,-0x163)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;return g>0x3&&h&&Object[r(-0x189,-0x184)](b,e,h),h;};function _ena(){const A=['Backward','272054Oztyoa','calculateStartDateConstraintIntervals','length','2094sfREne','direction','3504610PZfzNw','calendar','pick','574kVKBDv','EndToStart','Forward','event','isManuallyScheduled','9PbHtIK','lag','4mTorCF','call','unshift','StartToStart','lagUnit','EndToEnd','4775166sdcSAI','72Mvwiix','calculateEndDate','dependencyConstraintIntervalClass','convertLagGen','fromEvent','shouldPredecessorAffectScheduling','startDateConstraintIntervals','106220udXBbv','defineProperty','calculateEndDateConstraintIntervals','Millisecond','isElapsedDurationUnit','version','type','incomingDeps','434328xaaaNY','effectiveDirection','outgoingDeps','defaultCalendar','prototype','pickPushingEventIdentifier','decorate','pickPushingStartDateIdentifier','skipNonWorkingTime','Should\x20not\x20be\x20here','startDate','active','toEvent','pickPushingDepsIdentifier','calculateStartDate','getProject','shouldSuccessorAffectScheduling','inactive','new','pickPushingEndDateIdentifier','shouldPushingDepAffectScheduling','600424PfBQjW','endDate'];_ena=function(){return A;};return _ena();}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0x99;let f=c[d];return f;};return _enb(a,b);}import{isAtomicValue}from'@bryntum/engine-thin/lib/ChronoGraph/util/Helpers.js';import{DependencyType,Direction,TimeUnit}from'../../../scheduling/Types.js';import{ConstrainedScheduleMixin}from'./ConstrainedScheduleMixin.js';class ConstrainedByDependenciesEventScheduleMixin extends Mixin([ConstrainedScheduleMixin],a=>{function s(a,b){return _enb(a- -0x2ae,b);}const b=a['prototype'];class c extends a{*[s(-0x1f5,-0x1d7)](d){if(this[t(0x164,0x15c)]===Direction[t(0x145,0x162)]&&!(yield*this[t(0x16f,0x163)][t(0x148,0x136)](d))||this[t(0x175,0x15c)]===Direction[t(0x171,0x157)]&&!(yield*this[t(0x164,0x163)][t(0x145,0x150)](d))){return![];}function t(a,b){return s(b-0x349,a);}const e=yield this[t(0x132,0x145)](d);return e&&!isAtomicValue(e)&&(yield d['$'][t(0x134,0x14b)])&&(!(yield e['$'][t(0x16d,0x151)])||(yield this[t(0x152,0x163)]['$'][t(0x14d,0x151)]));}[s(-0x1fc,-0x202)](d){function u(a,b){return s(b-0x30f,a);}if(this[u(0x13d,0x122)]===Direction[u(0x113,0x128)]){return d['$'][u(0x112,0x105)];}else if(this[u(0x114,0x122)]===Direction[u(0x118,0x11d)]){return d['$'][u(0x125,0x108)];}else{throw new Error('Should\x20not\x20be\x20here');}}[s(-0x204,-0x20c)](d){function v(a,b){return s(b- -0xca,a);}if(this['direction']===Direction[v(-0x2c4,-0x2b1)]){return d['$'][v(-0x2ce,-0x2de)];}else if(this['direction']===Direction['Backward']){return d['$'][v(-0x2b3,-0x2c7)];}else{throw new Error(v(-0x2b0,-0x2ca));}}*[s(-0x202,-0x210)](d){function w(a,b){return s(a-0x429,b);}return this[w(0x23f,0x23b)](d)['$'][w(0x22a,0x21a)];}*[s(-0x1f6,-0x1ea)](d){function x(a,b){return s(b- -0x32,a);}return this[x(-0x226,-0x21c)](d)['$'][x(-0x21b,-0x225)];}*[s(-0x1f0,-0x1f0)](){const d=yield*b[y(-0x18a,-0x1a7)]['call'](this);const e=this['getProject']();function y(a,b){return s(b-0x49,a);}const f=e[y(-0x19c,-0x190)];const g=yield this[y(-0x1a3,-0x1b3)](this[y(-0x19c,-0x19d)]);for(const h of g){if(!(yield*this['shouldPushingDepAffectScheduling'](h)))continue;const i=yield this[y(-0x1a9,-0x1bb)](h);const j=yield*i[y(-0x194,-0x19c)]();const k=(yield this[y(-0x1b3,-0x19d)]['$']['effectiveDirection'])[y(-0x188,-0x1a4)];let l;switch(yield h['$'][y(-0x1d8,-0x1c2)]){case DependencyType['StartToEnd']:if(this[y(-0x186,-0x1a4)]===Direction[y(-0x1b5,-0x1a9)]){l=j&&k===this['direction']?yield i['$'][y(-0x1b0,-0x1aa)]:yield yield*this[y(-0x1c1,-0x1ad)](i);}break;case DependencyType['EndToStart']:if(this[y(-0x1c3,-0x1a4)]===Direction[y(-0x196,-0x19e)]){l=j&&k===this[y(-0x197,-0x1a4)]?yield i['$'][y(-0x191,-0x1aa)]:yield yield*this[y(-0x1c0,-0x1ad)](i);}break;case DependencyType[y(-0x194,-0x196)]:l=j&&k===this[y(-0x1b9,-0x1a4)]?yield i['$'][y(-0x1c6,-0x1b6)]:yield yield*this[y(-0x1a5,-0x1b9)](i);break;}if(l){const m=yield h['$'][y(-0x185,-0x19a)];const n=yield h['$'][y(-0x19c,-0x195)];const o=e[y(-0x1d1,-0x1c4)](n)?e[y(-0x1d4,-0x1bd)]:yield h['$'][y(-0x18f,-0x1a2)];yield o['$'][y(-0x1d6,-0x1c3)];const p=this['direction']===Direction[y(-0x19b,-0x19e)]?f[y(-0x19c,-0x1ae)]({'owner':h,'startDate':m!==0x0?o[y(-0x19d,-0x191)](l,yield*h[y(-0x1e3,-0x1cc)](m,n,TimeUnit['Millisecond'])):l,'endDate':null}):f[y(-0x19f,-0x1ae)]({'owner':h,'startDate':null,'endDate':m!==0x0?o['skipNonWorkingTime'](o[y(-0x1a0,-0x1b2)](l,yield*h[y(-0x1e8,-0x1cc)](m,n,TimeUnit['Millisecond']))):l});d[y(-0x178,-0x197)](p);}}return d;}*[s(-0x20f,-0x229)](){const d=yield*b[z(-0x36,-0x3b)][z(-0x1d,-0xd)](this);const e=this[z(-0x12,-0x26)]();function z(a,b){return s(b-0x1d4,a);}const f=e[z(0x16,-0x5)];const g=yield this[z(-0x2a,-0x28)](this[z(-0x9,-0x12)]);for(const h of g){if(!(yield*this[z(-0x6,-0x21)](h)))continue;const i=yield this[z(-0x35,-0x30)](h);const j=yield*i['isManuallyScheduled']();const k=(yield this[z(-0x9,-0x12)]['$'][z(-0x27,-0x34)])[z(-0x33,-0x19)];let l;switch(yield h['$'][z(-0x1e,-0x37)]){case DependencyType[z(-0xe,-0x9)]:l=j&&k===this[z(-0x38,-0x19)]?yield i['$'][z(-0x7,-0x1f)]:yield yield*this[z(-0x38,-0x22)](i);break;case DependencyType['StartToEnd']:if(this['direction']===Direction['Forward']){l=j&&k===this[z(-0x3,-0x19)]?yield i['$'][z(-0x1c,-0x2b)]:yield yield*this['pickPushingStartDateIdentifier'](i);}break;case DependencyType[z(-0x2e,-0x14)]:if(this['direction']===Direction['Backward']){l=j&&k===this['direction']?yield i['$'][z(-0x10,-0x2b)]:yield yield*this[z(-0x42,-0x2e)](i);}break;}if(l){const m=yield h['$']['lag'];const n=yield h['$']['lagUnit'];const o=e[z(-0x1f,-0x39)](n)?e[z(-0x44,-0x32)]:yield h['$']['calendar'];yield o['$']['version'];const p=this['direction']===Direction['Forward']?f[z(-0x24,-0x23)]({'owner':h,'startDate':m!==0x0?o[z(-0x9,-0x6)](l,yield*h['convertLagGen'](m,n,TimeUnit[z(-0x3f,-0x3a)])):l,'endDate':null}):f[z(-0x38,-0x23)]({'owner':h,'startDate':null,'endDate':m!==0x0?o[z(-0x28,-0x2d)](o[z(-0x27,-0x27)](l,yield*h[z(-0x58,-0x41)](m,n,TimeUnit[z(-0x3a,-0x3a)]))):l});d[z(-0x18,-0xc)](p);}}return d;}}__decorate([calculate(s(-0x212,-0x22d))],c[s(-0x205,-0x209)],s(-0x1f0,-0x1fb),null);return c;}){}export{ConstrainedByDependenciesEventScheduleMixin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){const c=a();function l(a,b){return _enb(b-0x35,a);}while(!![]){try{const d=-parseInt(l(0x12a,0x11d))/0x1*(parseInt(l(0x13a,0x12e))/0x2)+parseInt(l(0xf9,0x11b))/0x3+parseInt(l(0xfd,0x109))/0x4*(parseInt(l(0x13a,0x11c))/0x5)+-parseInt(l(0x115,0x125))/0x6*(parseInt(l(0x10b,0x127))/0x7)+parseInt(l(0x148,0x12c))/0x8*(-parseInt(l(0x12b,0x10f))/0x9)+-parseInt(l(0x109,0x111))/0xa*(parseInt(l(0x128,0x126))/0xb)+parseInt(l(0xdc,0xf5))/0xc*(parseInt(l(0x136,0x12d))/0xd);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_ena,0x4c527));var __decorate=function(a,b,e,f){var g=arguments['length'],h=g<0x3?b:f===null?f=Object[m(-0x107,-0xf4)](b,e):f,j;if(typeof Reflect==='object'&&typeof Reflect[m(-0xfa,-0xdf)]===m(-0x105,-0xec))h=Reflect[m(-0xfa,-0x105)](a,b,e,f);else for(var k=a[m(-0xd0,-0xc3)]-0x1;k>=0x0;k--)if(j=a[k])h=(g<0x3?j(h):g>0x3?j(b,e,h):j(b,e))||h;function m(a,b){return _enb(a- -0x1cb,b);}return g>0x3&&h&&Object[m(-0xdd,-0xe7)](b,e,h),h;};import{Reject}from'@bryntum/engine-thin/lib/ChronoGraph/chrono/Effect.js';function _ena(){const D=['isConstrainedAlongDirection','calculateEffectiveDuration','264lSSjQp','calculateEndDateConstraintIntervals','getDateShifter','intersectionOf','getOwnPropertyDescriptor','endDateConstraintIntervals','function','return','calculateStartDateConstraintIntervals','enterGraph','pickDirectionSchedule','calculateMinChildrenStartDate','calculateStartDatePure','earlySchedule','calculateEarlyEndDateConstraintIntervals','prototype','shouldRollupChildLateEndDate','decorate','unscheduled','constructor','1102372DdOZfF','date','start','onEmptyEffectiveInterval','doCalculateEffectiveStartDateInterval','endDate','9QJMlul','shouldSkipNonWorkingTime','3027490jxAbyS','isManuallyScheduled','call','resume','event','calculateStartDateProposed','shouldRollupChildEarlyStartDate','direction','scheduleMixinClass','calculateEarlyStartDateConstraintIntervals','579285lAnNob','5CZDJGh','15rJUvMv','earlyStartDate','startDate','_earlySchedule','calculateEndDatePure','unlink','defineProperty','createConflictEffect','30MkUzJC','11KlWhGa','98581PbGFkL','shouldRollupChildEarlyEndDate','calculateProjectedXDateWithDuration','earlyPreSchedule','doCalculateEffectiveEndDateInterval','3195496CzBsjO','408967VFPWFX','10076UKgipf','calculateLateStartDateConstraintIntervals','length','shouldRollupChildLateStartDate','effectiveDirection','leaveGraph','earlyEndDate','calculateEndDateProposed','hasSubEvents'];_ena=function(){return D;};return _ena();}import{Mixin}from'@bryntum/engine-thin/lib/ChronoGraph/class/BetterMixin.js';import{calculate,field}from'@bryntum/engine-thin/lib/ChronoGraph/replica/Entity.js';import{ConflictEffect}from'../../../chrono/Conflict.js';import{dateConverter,model_field}from'../../../chrono/ModelFieldAtom.js';import{EffectResolutionResult}from'../../../chrono/SchedulingIssueEffect.js';import{HasSubEventsMixin}from'../scheduler_basic/HasSubEventsMixin.js';import{ConstrainedScheduleMixin}from'./ConstrainedScheduleMixin.js';function _enb(a,b){const c=_ena();_enb=function(d,e){d=d-0xc0;let f=c[d];return f;};return _enb(a,b);}import{HasPercentDoneMixin}from'./HasPercentDoneMixin.js';class ConstrainedEarlyEventMixin extends Mixin([HasSubEventsMixin,HasPercentDoneMixin],a=>{const b=a[n(0x2f7,0x308)];class c extends a{get[n(0x32d,0x32e)](){return this['earlySchedule'];}get[n(0x2fa,0x306)](){function o(a,b){return n(b,a- -0x4dd);}if(this[o(-0x1b9,-0x1d3)]!==void 0x0)return this[o(-0x1b9,-0x1c3)];const d=new this[(o(-0x1d1,-0x1ba))][(o(-0x1c0,-0x1af))]({'id':'earlySchedule'},null,null,![],!![]);d[o(-0x1c4,-0x1a3)]=this;return this['_earlySchedule']=d;}[n(0x319,0x302)](d){function p(a,b){return n(a,b- -0x35d);}super[p(-0x63,-0x5b)](d);this[p(-0x71,-0x57)]['enterGraph'](d);}['leaveGraph'](d){this[q(0x215,0x21f)][q(0x246,0x240)](d);function q(a,b){return n(b,a- -0xf1);}super[q(0x246,0x25a)](d);}[n(0x31a,0x326)](){function r(a,b){return n(a,b- -0x2f1);}this[r(0x4,0x15)]['unlink']();super[r(0x15,0x35)]();}*['calculateEarlyStartDate'](){function s(a,b){return n(a,b- -0x327);}return yield this['earlySchedule']['$'][s(-0x4,-0x4)];}*['calculateEarlyEndDate'](){function t(a,b){return n(a,b-0x15);}return yield this[t(0x2fb,0x31b)]['$'][t(0x30c,0x327)];}*[n(0x2f5,0x301)](){return[];}*['calculateEndDateConstraintIntervals'](){return[];}*[n(0x309,0x31e)](){return[];}*[n(0x2f7,0x307)](){return[];}*[n(0x311,0x333)](){return[];}*['calculateLateEndDateConstraintIntervals'](){return[];}*[n(0x317,0x31b)](d){return!![];}*[n(0x331,0x32c)](d){return!![];}*[n(0x32a,0x335)](d){return!![];}*[n(0x326,0x309)](d){return!![];}*[n(0x2ec,0x305)](){const d=yield this['$']['effectiveDirection'];let e;const f=yield*this[u(0x32a,0x323)]();function u(a,b){return n(a,b-0xd);}if(!f&&!(yield this['$'][u(0x30b,0x318)])&&(yield*this[u(0x328,0x348)](d[u(0x32b,0x329)]))){if(yield*this[u(0x350,0x347)]()){return yield*this[u(0x30b,0x311)]();}e=yield this[u(0x2fa,0x310)](d[u(0x32a,0x329)])['$'][u(0x343,0x330)];}return e||(yield*b['calculateStartDatePure']['call'](this));}*['calculateStartDateProposed'](){function v(a,b){return n(b,a- -0x50a);}const d=yield this['$'][v(-0x1d4,-0x1e4)];let e;const f=yield*this['isManuallyScheduled']();if(!f&&!(yield this['$'][v(-0x1ff,-0x213)])&&(yield*this[v(-0x1cf,-0x1bb)](d[v(-0x1ee,-0x1ff)]))){if(yield*this[v(-0x1d0,-0x1dc)]()){return yield*this[v(-0x206,-0x1fc)]();}e=yield this[v(-0x207,-0x209)](d['direction'])['$'][v(-0x1e7,-0x1c8)];}return e||(yield*b[v(-0x1f0,-0x1e4)][v(-0x1f3,-0x211)](this));}*[n(0x306,0x325)](){const d=yield this['$']['effectiveDirection'];let e;const f=yield*this[w(0x398,0x39d)]();if(!f&&!(yield this['$'][w(0x38d,0x379)])&&(yield*this[w(0x3bd,0x3d5)](d['direction']))){if(yield*this['hasSubEvents']()){return yield*this['calculateMaxChildrenEndDate']();}e=yield this[w(0x385,0x380)](d[w(0x39e,0x37d)])['$']['endDate'];}function w(a,b){return n(b,a-0x82);}return e||(yield*b[w(0x3a7,0x3bb)][w(0x399,0x39f)](this));}*[n(0x326,0x339)](){function x(a,b){return n(b,a- -0x5d);}const d=yield this['$']['effectiveDirection'];let e;const f=yield*this['isManuallyScheduled']();if(!f&&!(yield this['$']['unscheduled'])&&(yield*this[x(0x2de,0x2fc)](d['direction']))){if(yield*this[x(0x2dd,0x2e4)]()){return yield*this['calculateMaxChildrenEndDate']();}e=yield this[x(0x2a6,0x2be)](d['direction'])['$'][x(0x2b5,0x299)];}return e||(yield*b['calculateEndDateProposed'][x(0x2ba,0x2db)](this));}*[n(0x327,0x33b)](d){function y(a,b){return n(b,a- -0x397);}return yield*this[y(-0x91,-0x95)]['isConstrained']();}[n(0x2e9,0x303)](d){return this['earlySchedule'];}*['createConflictEffect'](d,e){const f=d===z(0x2d5,0x2e9)?yield*e[z(0x2d7,0x2e6)](!![]):yield*e[z(0x2f5,0x2e5)](!![]);function z(a,b){return n(b,a- -0x3a);}return ConflictEffect['new']({'intervals':[...f[z(0x2c2,0x2d3)]],'sourceSchedule':e});}*[n(0x2fb,0x310)](d,e){function A(a,b){return n(b,a- -0x261);}const f=yield*this[A(0xc7,0xa8)](d,e);if((yield f)===EffectResolutionResult['Cancel']){yield Reject(f);return{'kind':A(0xb7,0xa2)};}else{return{'kind':A(0x9f,0xa8),'value':null};}}*['onNonEmptyEffectiveInterval'](d,e){}*[n(0x2df,0x2fb)](d){const e=this;const f=yield*this[B(-0x2c5,-0x2af)]();if(f==null){return null;}function B(a,b){return n(b,a- -0x601);}return function*(g){function C(a,b){return B(b-0x29a,a);}return yield*e[C(-0x56,-0x3a)](g,d,f);};}*[n(0x334,0x314)](){let d=yield*super['shouldSkipNonWorkingTime']();if(d){const e=yield*this['calculateEffectiveDuration']();d=e>0x0;}return d;}}c[n(0x31c,0x31d)]=ConstrainedScheduleMixin;__decorate([model_field({'type':n(0x2fa,0x30e),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c[n(0x31d,0x308)],n(0x342,0x322),void 0x0);__decorate([model_field({'type':n(0x32f,0x30e),'persist':![],'calculated':!![]},{'lazy':!![],'converter':dateConverter,'persistent':![]})],c[n(0x2f0,0x308)],n(0x31c,0x338),void 0x0);__decorate([field()],c[n(0x2e7,0x308)],'startDateConstraintIntervals',void 0x0);__decorate([field()],c[n(0x300,0x308)],n(0x31d,0x2fe),void 0x0);__decorate([calculate('earlyStartDate')],c[n(0x318,0x308)],'calculateEarlyStartDate',null);__decorate([calculate(n(0x33d,0x338))],c[n(0x2f6,0x308)],'calculateEarlyEndDate',null);function n(a,b){return _enb(b-0x239,a);}__decorate([calculate('startDateConstraintIntervals')],c['prototype'],n(0x308,0x301),null);__decorate([calculate(n(0x2e6,0x2fe))],c[n(0x307,0x308)],n(0x2e6,0x2fa),null);return c;}){}export{ConstrainedEarlyEventMixin};
|