@bryntum/scheduler-react-thin 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.
Files changed (56) hide show
  1. package/README.md +52 -0
  2. package/lib/BryntumEventColorField.d.ts +232 -0
  3. package/lib/BryntumEventColorField.js +169 -0
  4. package/lib/BryntumEventColorField.js.map +1 -0
  5. package/lib/BryntumProjectCombo.d.ts +268 -0
  6. package/lib/BryntumProjectCombo.js +203 -0
  7. package/lib/BryntumProjectCombo.js.map +1 -0
  8. package/lib/BryntumResourceCombo.d.ts +268 -0
  9. package/lib/BryntumResourceCombo.js +203 -0
  10. package/lib/BryntumResourceCombo.js.map +1 -0
  11. package/lib/BryntumResourceFilter.d.ts +215 -0
  12. package/lib/BryntumResourceFilter.js +154 -0
  13. package/lib/BryntumResourceFilter.js.map +1 -0
  14. package/lib/BryntumScheduler.d.ts +2039 -0
  15. package/lib/BryntumScheduler.js +642 -0
  16. package/lib/BryntumScheduler.js.map +1 -0
  17. package/lib/BryntumSchedulerBase.d.ts +2038 -0
  18. package/lib/BryntumSchedulerBase.js +641 -0
  19. package/lib/BryntumSchedulerBase.js.map +1 -0
  20. package/lib/BryntumSchedulerDatePicker.d.ts +314 -0
  21. package/lib/BryntumSchedulerDatePicker.js +216 -0
  22. package/lib/BryntumSchedulerDatePicker.js.map +1 -0
  23. package/lib/BryntumSchedulerProjectModel.d.ts +91 -0
  24. package/lib/BryntumSchedulerProjectModel.js +98 -0
  25. package/lib/BryntumSchedulerProjectModel.js.map +1 -0
  26. package/lib/BryntumTimelineHistogram.d.ts +1185 -0
  27. package/lib/BryntumTimelineHistogram.js +448 -0
  28. package/lib/BryntumTimelineHistogram.js.map +1 -0
  29. package/lib/BryntumUndoRedo.d.ts +190 -0
  30. package/lib/BryntumUndoRedo.js +152 -0
  31. package/lib/BryntumUndoRedo.js.map +1 -0
  32. package/lib/BryntumViewPresetCombo.d.ts +216 -0
  33. package/lib/BryntumViewPresetCombo.js +158 -0
  34. package/lib/BryntumViewPresetCombo.js.map +1 -0
  35. package/lib/WrapperHelper.d.ts +26 -0
  36. package/lib/WrapperHelper.js +569 -0
  37. package/lib/WrapperHelper.js.map +1 -0
  38. package/lib/index.d.ts +11 -0
  39. package/lib/index.js +12 -0
  40. package/lib/index.js.map +1 -0
  41. package/license.pdf +0 -0
  42. package/licenses.md +310 -0
  43. package/package.json +25 -0
  44. package/src/BryntumEventColorField.tsx +996 -0
  45. package/src/BryntumProjectCombo.tsx +1233 -0
  46. package/src/BryntumResourceCombo.tsx +1236 -0
  47. package/src/BryntumResourceFilter.tsx +931 -0
  48. package/src/BryntumScheduler.tsx +5184 -0
  49. package/src/BryntumSchedulerBase.tsx +5182 -0
  50. package/src/BryntumSchedulerDatePicker.tsx +1365 -0
  51. package/src/BryntumSchedulerProjectModel.tsx +424 -0
  52. package/src/BryntumTimelineHistogram.tsx +3427 -0
  53. package/src/BryntumUndoRedo.tsx +886 -0
  54. package/src/BryntumViewPresetCombo.tsx +915 -0
  55. package/src/WrapperHelper.tsx +1125 -0
  56. package/src/index.ts +15 -0
@@ -0,0 +1,98 @@
1
+ import React from 'react';
2
+ import { ProjectModel } from '@bryntum/scheduler-thin';
3
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
4
+ export class BryntumSchedulerProjectModel extends React.Component {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.processWidgetContent = processWidgetContent;
8
+ this.dataStores = {
9
+ 'assignmentStore': 'assignments',
10
+ 'dependencyStore': 'dependencies',
11
+ 'eventStore': 'events',
12
+ 'resourceStore': 'resources',
13
+ 'resourceTimeRangeStore': 'resourceTimeRanges',
14
+ 'timeRangeStore': 'timeRanges'
15
+ };
16
+ }
17
+ componentDidMount() {
18
+ this.instance = createWidget(this);
19
+ }
20
+ componentWillUnmount() {
21
+ var _a, _b;
22
+ (_b = (_a = this.instance) === null || _a === void 0 ? void 0 : _a.destroy) === null || _b === void 0 ? void 0 : _b.call(_a);
23
+ }
24
+ shouldComponentUpdate(nextProps, nextState) {
25
+ return shouldComponentUpdate(this, nextProps, nextState);
26
+ }
27
+ render() {
28
+ return null;
29
+ }
30
+ }
31
+ BryntumSchedulerProjectModel.instanceClass = ProjectModel;
32
+ BryntumSchedulerProjectModel.instanceName = 'ProjectModel';
33
+ BryntumSchedulerProjectModel.configNames = [
34
+ 'adjustDurationToDST',
35
+ 'assignmentModelClass',
36
+ 'assignmentsData',
37
+ 'assignmentStoreClass',
38
+ 'children',
39
+ 'dependenciesData',
40
+ 'dependencyModelClass',
41
+ 'dependencyStoreClass',
42
+ 'eventModelClass',
43
+ 'eventsData',
44
+ 'eventStoreClass',
45
+ 'expanded',
46
+ 'orderedParentIndex',
47
+ 'parentIndex',
48
+ 'resourceModelClass',
49
+ 'resourcesData',
50
+ 'resourceStoreClass',
51
+ 'resourceTimeRangesData',
52
+ 'resourceTimeRangeStoreClass',
53
+ 'silenceInitialCommit',
54
+ 'timeRangesData',
55
+ 'timeRangeStoreClass',
56
+ 'toJSONResultFormat',
57
+ 'useRawData'
58
+ ];
59
+ BryntumSchedulerProjectModel.propertyConfigNames = [
60
+ 'assignments',
61
+ 'assignmentStore',
62
+ 'dependencies',
63
+ 'dependencyStore',
64
+ 'events',
65
+ 'eventStore',
66
+ 'id',
67
+ 'includeLegacyDataProperties',
68
+ 'isFullyLoaded',
69
+ 'json',
70
+ 'onChange',
71
+ 'onDataReady',
72
+ 'parentId',
73
+ 'readOnly',
74
+ 'remoteChildCount',
75
+ 'resources',
76
+ 'resourceStore',
77
+ 'resourceTimeRanges',
78
+ 'resourceTimeRangeStore',
79
+ 'shouldSyncDataOnLoad',
80
+ 'stm',
81
+ 'timeRanges',
82
+ 'timeRangeStore',
83
+ 'timeZone'
84
+ ];
85
+ BryntumSchedulerProjectModel.propertyNames = [
86
+ 'allChildren',
87
+ 'allUnfilteredChildren',
88
+ 'descendantCount',
89
+ 'hasGeneratedId',
90
+ 'inlineData',
91
+ 'internalId',
92
+ 'isCommitting',
93
+ 'isCreating',
94
+ 'isValid',
95
+ 'previousSiblingsTotalCount',
96
+ 'visibleDescendantCount'
97
+ ];
98
+ //# sourceMappingURL=BryntumSchedulerProjectModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BryntumSchedulerProjectModel.js","sourceRoot":"","sources":["../src/BryntumSchedulerProjectModel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAA8N,YAAY,EAAsP,MAAM,yBAAyB,CAAC;AAEvgB,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AA2S/F,MAAM,OAAO,4BAA6B,SAAQ,KAAK,CAAC,SAA4C;IAApG;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;QAE5C,eAAU,GAAG;YACT,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,cAAc;YACjC,YAAY,EAAE,QAAQ;YACtB,eAAe,EAAE,WAAW;YAC5B,wBAAwB,EAAE,oBAAoB;YAC9C,gBAAgB,EAAE,YAAY;SACjC,CAAC;IAqGN,CAAC;IAzBG,iBAAiB;QACb,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IAED,oBAAoB;;QAEhB,MAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,OAAO,kDAAI,CAAC;IAC/B,CAAC;IASD,qBAAqB,CAAC,SAAsD,EAAE,SAAuB;QACjG,OAAO,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM;QAEF,OAAO,IAAI,CAAA;IAEf,CAAC;;AAjHM,0CAAa,GAAG,YAAY,CAAC;AAE7B,yCAAY,GAAG,cAAc,CAAC;AAa9B,wCAAW,GAAG;IACjB,qBAAqB;IACrB,sBAAsB;IACtB,iBAAiB;IACjB,sBAAsB;IACtB,UAAU;IACV,kB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