@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.
- package/README.md +52 -0
- package/lib/BryntumEventColorField.d.ts +232 -0
- package/lib/BryntumEventColorField.js +169 -0
- package/lib/BryntumEventColorField.js.map +1 -0
- package/lib/BryntumProjectCombo.d.ts +268 -0
- package/lib/BryntumProjectCombo.js +203 -0
- package/lib/BryntumProjectCombo.js.map +1 -0
- package/lib/BryntumResourceCombo.d.ts +268 -0
- package/lib/BryntumResourceCombo.js +203 -0
- package/lib/BryntumResourceCombo.js.map +1 -0
- package/lib/BryntumResourceFilter.d.ts +215 -0
- package/lib/BryntumResourceFilter.js +154 -0
- package/lib/BryntumResourceFilter.js.map +1 -0
- package/lib/BryntumScheduler.d.ts +2039 -0
- package/lib/BryntumScheduler.js +642 -0
- package/lib/BryntumScheduler.js.map +1 -0
- package/lib/BryntumSchedulerBase.d.ts +2038 -0
- package/lib/BryntumSchedulerBase.js +641 -0
- package/lib/BryntumSchedulerBase.js.map +1 -0
- package/lib/BryntumSchedulerDatePicker.d.ts +314 -0
- package/lib/BryntumSchedulerDatePicker.js +216 -0
- package/lib/BryntumSchedulerDatePicker.js.map +1 -0
- package/lib/BryntumSchedulerProjectModel.d.ts +91 -0
- package/lib/BryntumSchedulerProjectModel.js +98 -0
- package/lib/BryntumSchedulerProjectModel.js.map +1 -0
- package/lib/BryntumTimelineHistogram.d.ts +1185 -0
- package/lib/BryntumTimelineHistogram.js +448 -0
- package/lib/BryntumTimelineHistogram.js.map +1 -0
- package/lib/BryntumUndoRedo.d.ts +190 -0
- package/lib/BryntumUndoRedo.js +152 -0
- package/lib/BryntumUndoRedo.js.map +1 -0
- package/lib/BryntumViewPresetCombo.d.ts +216 -0
- package/lib/BryntumViewPresetCombo.js +158 -0
- package/lib/BryntumViewPresetCombo.js.map +1 -0
- package/lib/WrapperHelper.d.ts +26 -0
- package/lib/WrapperHelper.js +569 -0
- package/lib/WrapperHelper.js.map +1 -0
- package/lib/index.d.ts +11 -0
- package/lib/index.js +12 -0
- package/lib/index.js.map +1 -0
- package/license.pdf +0 -0
- package/licenses.md +310 -0
- package/package.json +25 -0
- package/src/BryntumEventColorField.tsx +996 -0
- package/src/BryntumProjectCombo.tsx +1233 -0
- package/src/BryntumResourceCombo.tsx +1236 -0
- package/src/BryntumResourceFilter.tsx +931 -0
- package/src/BryntumScheduler.tsx +5184 -0
- package/src/BryntumSchedulerBase.tsx +5182 -0
- package/src/BryntumSchedulerDatePicker.tsx +1365 -0
- package/src/BryntumSchedulerProjectModel.tsx +424 -0
- package/src/BryntumTimelineHistogram.tsx +3427 -0
- package/src/BryntumUndoRedo.tsx +886 -0
- package/src/BryntumViewPresetCombo.tsx +915 -0
- package/src/WrapperHelper.tsx +1125 -0
- package/src/index.ts +15 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ResourceFilter } from '@bryntum/scheduler-thin';
|
|
3
|
+
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
4
|
+
export class BryntumResourceFilter extends React.Component {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(...arguments);
|
|
7
|
+
this.processWidgetContent = processWidgetContent;
|
|
8
|
+
}
|
|
9
|
+
componentDidMount() {
|
|
10
|
+
this.instance = createWidget(this);
|
|
11
|
+
}
|
|
12
|
+
componentWillUnmount() {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
(_b = (_a = this.instance) === null || _a === void 0 ? void 0 : _a.destroy) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
15
|
+
}
|
|
16
|
+
shouldComponentUpdate(nextProps, nextState) {
|
|
17
|
+
return shouldComponentUpdate(this, nextProps, nextState);
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
const className = `b-react-resource-filter-container`;
|
|
21
|
+
return (React.createElement("div", { className: className, ref: (element) => (this.element = element) }));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
BryntumResourceFilter.instanceClass = ResourceFilter;
|
|
25
|
+
BryntumResourceFilter.instanceName = 'ResourceFilter';
|
|
26
|
+
BryntumResourceFilter.configNames = [
|
|
27
|
+
'activateOnMouseover',
|
|
28
|
+
'adopt',
|
|
29
|
+
'align',
|
|
30
|
+
'allowGroupSelect',
|
|
31
|
+
'anchor',
|
|
32
|
+
'ariaDescription',
|
|
33
|
+
'ariaLabel',
|
|
34
|
+
'bubbleEvents',
|
|
35
|
+
'centered',
|
|
36
|
+
'clearSelectionOnEmptySpaceClick',
|
|
37
|
+
'color',
|
|
38
|
+
'config',
|
|
39
|
+
'constrainTo',
|
|
40
|
+
'contentElementCls',
|
|
41
|
+
'dataField',
|
|
42
|
+
'defaultBindProperty',
|
|
43
|
+
'detectCSSCompatibilityIssues',
|
|
44
|
+
'displayField',
|
|
45
|
+
'dock',
|
|
46
|
+
'draggable',
|
|
47
|
+
'elementAttributes',
|
|
48
|
+
'eventStore',
|
|
49
|
+
'filterResources',
|
|
50
|
+
'floating',
|
|
51
|
+
'getItemCls',
|
|
52
|
+
'getItemStyle',
|
|
53
|
+
'groupHeaderTpl',
|
|
54
|
+
'hideAnimation',
|
|
55
|
+
'htmlCls',
|
|
56
|
+
'ignoreParentReadOnly',
|
|
57
|
+
'isSelectable',
|
|
58
|
+
'itemTpl',
|
|
59
|
+
'listeners',
|
|
60
|
+
'localeClass',
|
|
61
|
+
'localizable',
|
|
62
|
+
'localizableProperties',
|
|
63
|
+
'maskDefaults',
|
|
64
|
+
'masked',
|
|
65
|
+
'masterFilter',
|
|
66
|
+
'monitorResize',
|
|
67
|
+
'owner',
|
|
68
|
+
'positioned',
|
|
69
|
+
'preventTooltipOnTouch',
|
|
70
|
+
'relayStoreEvents',
|
|
71
|
+
'ripple',
|
|
72
|
+
'rootElement',
|
|
73
|
+
'scrollAction',
|
|
74
|
+
'selectAllItem',
|
|
75
|
+
'showAnimation',
|
|
76
|
+
'showTooltipWhenDisabled',
|
|
77
|
+
'tab',
|
|
78
|
+
'tag',
|
|
79
|
+
'textAlign',
|
|
80
|
+
'tooltipTemplate',
|
|
81
|
+
'type',
|
|
82
|
+
'ui',
|
|
83
|
+
'useResourceColor',
|
|
84
|
+
'virtualize',
|
|
85
|
+
'weight'
|
|
86
|
+
];
|
|
87
|
+
BryntumResourceFilter.propertyConfigNames = [
|
|
88
|
+
'alignSelf',
|
|
89
|
+
'appendTo',
|
|
90
|
+
'callOnFunctions',
|
|
91
|
+
'catchEventHandlerExceptions',
|
|
92
|
+
'cls',
|
|
93
|
+
'collapsibleGroups',
|
|
94
|
+
'column',
|
|
95
|
+
'content',
|
|
96
|
+
'dataset',
|
|
97
|
+
'disabled',
|
|
98
|
+
'emptyText',
|
|
99
|
+
'extraData',
|
|
100
|
+
'flex',
|
|
101
|
+
'height',
|
|
102
|
+
'hidden',
|
|
103
|
+
'html',
|
|
104
|
+
'id',
|
|
105
|
+
'insertBefore',
|
|
106
|
+
'insertFirst',
|
|
107
|
+
'items',
|
|
108
|
+
'keyMap',
|
|
109
|
+
'margin',
|
|
110
|
+
'maxHeight',
|
|
111
|
+
'maximizeOnMobile',
|
|
112
|
+
'maxWidth',
|
|
113
|
+
'minHeight',
|
|
114
|
+
'minWidth',
|
|
115
|
+
'multiSelect',
|
|
116
|
+
'onBeforeDestroy',
|
|
117
|
+
'onBeforeHide',
|
|
118
|
+
'onBeforeItem',
|
|
119
|
+
'onBeforeShow',
|
|
120
|
+
'onCatchAll',
|
|
121
|
+
'onChange',
|
|
122
|
+
'onDestroy',
|
|
123
|
+
'onElementCreated',
|
|
124
|
+
'onFocusIn',
|
|
125
|
+
'onFocusOut',
|
|
126
|
+
'onHide',
|
|
127
|
+
'onItem',
|
|
128
|
+
'onPaint',
|
|
129
|
+
'onReadOnly',
|
|
130
|
+
'onRecompose',
|
|
131
|
+
'onResize',
|
|
132
|
+
'onSelectionChange',
|
|
133
|
+
'onShow',
|
|
134
|
+
'onToggleGroup',
|
|
135
|
+
'onToggleNode',
|
|
136
|
+
'readOnly',
|
|
137
|
+
'rtl',
|
|
138
|
+
'scrollable',
|
|
139
|
+
'selected',
|
|
140
|
+
'span',
|
|
141
|
+
'store',
|
|
142
|
+
'title',
|
|
143
|
+
'toggleAllIfCtrlPressed',
|
|
144
|
+
'tooltip',
|
|
145
|
+
'width',
|
|
146
|
+
'x',
|
|
147
|
+
'y'
|
|
148
|
+
];
|
|
149
|
+
BryntumResourceFilter.propertyNames = [
|
|
150
|
+
'anchorSize',
|
|
151
|
+
'focusVisible',
|
|
152
|
+
'parent'
|
|
153
|
+
];
|
|
154
|
+
//# sourceMappingURL=BryntumResourceFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BryntumResourceFilter.js","sourceRoot":"","sources":["../src/BryntumResourceFilter.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAc,cAAc,EAA0C,MAAM,yBAAyB,CAAC;AAE7G,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AA6uB/F,MAAM,OAAO,qBAAsB,SAAQ,KAAK,CAAC,SAAqC;IAAtF;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;IAuKhD,CAAC;IA5BG,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,SAA+C,EAAE,SAAuB;QAC1F,OAAO,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM;QAEF,MAAM,SAAS,GAAG,mCAAmC,CAAC;QACtD,OAAO,CACH,6BAAK,SAAS,EAAE,SAAS,EAAE,GAAG,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