@bryntum/taskboard-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/BryntumColumnCombo.d.ts +268 -0
- package/lib/BryntumColumnCombo.js +203 -0
- package/lib/BryntumColumnCombo.js.map +1 -0
- package/lib/BryntumColumnFilterField.d.ts +234 -0
- package/lib/BryntumColumnFilterField.js +170 -0
- package/lib/BryntumColumnFilterField.js.map +1 -0
- package/lib/BryntumColumnPickerButton.d.ts +208 -0
- package/lib/BryntumColumnPickerButton.js +149 -0
- package/lib/BryntumColumnPickerButton.js.map +1 -0
- package/lib/BryntumColumnScrollButton.d.ts +208 -0
- package/lib/BryntumColumnScrollButton.js +149 -0
- package/lib/BryntumColumnScrollButton.js.map +1 -0
- package/lib/BryntumProjectCombo.d.ts +269 -0
- package/lib/BryntumProjectCombo.js +204 -0
- package/lib/BryntumProjectCombo.js.map +1 -0
- package/lib/BryntumResourcesCombo.d.ts +268 -0
- package/lib/BryntumResourcesCombo.js +203 -0
- package/lib/BryntumResourcesCombo.js.map +1 -0
- package/lib/BryntumSwimlaneCombo.d.ts +268 -0
- package/lib/BryntumSwimlaneCombo.js +203 -0
- package/lib/BryntumSwimlaneCombo.js.map +1 -0
- package/lib/BryntumSwimlaneFilterField.d.ts +236 -0
- package/lib/BryntumSwimlaneFilterField.js +172 -0
- package/lib/BryntumSwimlaneFilterField.js.map +1 -0
- package/lib/BryntumSwimlanePickerButton.d.ts +208 -0
- package/lib/BryntumSwimlanePickerButton.js +149 -0
- package/lib/BryntumSwimlanePickerButton.js.map +1 -0
- package/lib/BryntumSwimlaneScrollButton.d.ts +208 -0
- package/lib/BryntumSwimlaneScrollButton.js +149 -0
- package/lib/BryntumSwimlaneScrollButton.js.map +1 -0
- package/lib/BryntumTagCombo.d.ts +269 -0
- package/lib/BryntumTagCombo.js +204 -0
- package/lib/BryntumTagCombo.js.map +1 -0
- package/lib/BryntumTaskBoard.d.ts +610 -0
- package/lib/BryntumTaskBoard.js +287 -0
- package/lib/BryntumTaskBoard.js.map +1 -0
- package/lib/BryntumTaskBoardBase.d.ts +609 -0
- package/lib/BryntumTaskBoardBase.js +286 -0
- package/lib/BryntumTaskBoardBase.js.map +1 -0
- package/lib/BryntumTaskBoardFieldFilterPicker.d.ts +201 -0
- package/lib/BryntumTaskBoardFieldFilterPicker.js +159 -0
- package/lib/BryntumTaskBoardFieldFilterPicker.js.map +1 -0
- package/lib/BryntumTaskBoardFieldFilterPickerGroup.d.ts +209 -0
- package/lib/BryntumTaskBoardFieldFilterPickerGroup.js +165 -0
- package/lib/BryntumTaskBoardFieldFilterPickerGroup.js.map +1 -0
- package/lib/BryntumTaskBoardProjectModel.d.ts +218 -0
- package/lib/BryntumTaskBoardProjectModel.js +139 -0
- package/lib/BryntumTaskBoardProjectModel.js.map +1 -0
- package/lib/BryntumTaskColorCombo.d.ts +232 -0
- package/lib/BryntumTaskColorCombo.js +169 -0
- package/lib/BryntumTaskColorCombo.js.map +1 -0
- package/lib/BryntumTaskFilterField.d.ts +236 -0
- package/lib/BryntumTaskFilterField.js +172 -0
- package/lib/BryntumTaskFilterField.js.map +1 -0
- package/lib/BryntumTodoListField.d.ts +230 -0
- package/lib/BryntumTodoListField.js +165 -0
- package/lib/BryntumTodoListField.js.map +1 -0
- package/lib/BryntumUndoRedo.d.ts +188 -0
- package/lib/BryntumUndoRedo.js +150 -0
- package/lib/BryntumUndoRedo.js.map +1 -0
- package/lib/BryntumZoomSlider.d.ts +186 -0
- package/lib/BryntumZoomSlider.js +143 -0
- package/lib/BryntumZoomSlider.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 +21 -0
- package/lib/index.js +22 -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/BryntumColumnCombo.tsx +1240 -0
- package/src/BryntumColumnFilterField.tsx +1019 -0
- package/src/BryntumColumnPickerButton.tsx +896 -0
- package/src/BryntumColumnScrollButton.tsx +896 -0
- package/src/BryntumProjectCombo.tsx +1241 -0
- package/src/BryntumResourcesCombo.tsx +1239 -0
- package/src/BryntumSwimlaneCombo.tsx +1239 -0
- package/src/BryntumSwimlaneFilterField.tsx +1032 -0
- package/src/BryntumSwimlanePickerButton.tsx +896 -0
- package/src/BryntumSwimlaneScrollButton.tsx +896 -0
- package/src/BryntumTagCombo.tsx +1244 -0
- package/src/BryntumTaskBoard.tsx +2021 -0
- package/src/BryntumTaskBoardBase.tsx +2019 -0
- package/src/BryntumTaskBoardFieldFilterPicker.tsx +930 -0
- package/src/BryntumTaskBoardFieldFilterPickerGroup.tsx +983 -0
- package/src/BryntumTaskBoardProjectModel.tsx +779 -0
- package/src/BryntumTaskColorCombo.tsx +996 -0
- package/src/BryntumTaskFilterField.tsx +1032 -0
- package/src/BryntumTodoListField.tsx +986 -0
- package/src/BryntumUndoRedo.tsx +871 -0
- package/src/BryntumZoomSlider.tsx +824 -0
- package/src/WrapperHelper.tsx +1125 -0
- package/src/index.ts +25 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AlignSpec, Base, CollectionFilterConfig, Container, DomConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, FieldOption, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, Store, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
3
|
+
import { TaskBoardContainerItemConfig, TaskBoardContainerLayoutConfig, TaskBoardFieldFilterPickerGroup, TaskBoardFieldFilterPickerGroupListeners } from '@bryntum/taskboard-thin';
|
|
4
|
+
import { processWidgetContent } from './WrapperHelper.js';
|
|
5
|
+
export declare type BryntumTaskBoardFieldFilterPickerGroupProps = {
|
|
6
|
+
addFilterButtonText?: string;
|
|
7
|
+
adopt?: HTMLElement | string;
|
|
8
|
+
align?: AlignSpec | string;
|
|
9
|
+
alignSelf?: string;
|
|
10
|
+
allowedFieldNames?: string[];
|
|
11
|
+
anchor?: boolean;
|
|
12
|
+
appendTo?: HTMLElement | string;
|
|
13
|
+
ariaDescription?: string;
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
autoUpdateRecord?: boolean;
|
|
16
|
+
bubbleEvents?: object;
|
|
17
|
+
callOnFunctions?: boolean;
|
|
18
|
+
canDeleteFilter?: (filter: any) => boolean;
|
|
19
|
+
canManageFilter?: (filter: any) => boolean;
|
|
20
|
+
catchEventHandlerExceptions?: boolean;
|
|
21
|
+
centered?: boolean;
|
|
22
|
+
cls?: string | object;
|
|
23
|
+
color?: string;
|
|
24
|
+
column?: number;
|
|
25
|
+
config?: object;
|
|
26
|
+
constrainTo?: HTMLElement | Widget | Rectangle;
|
|
27
|
+
content?: string;
|
|
28
|
+
contentElementCls?: string | object;
|
|
29
|
+
dataField?: string;
|
|
30
|
+
dataset?: Record<string, string>;
|
|
31
|
+
dateFormat?: string;
|
|
32
|
+
defaultBindProperty?: string;
|
|
33
|
+
defaultFocus?: ((widget: Widget) => boolean) | string;
|
|
34
|
+
defaults?: TaskBoardContainerItemConfig;
|
|
35
|
+
detectCSSCompatibilityIssues?: boolean;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
38
|
+
draggable?: boolean | {
|
|
39
|
+
handleSelector?: string;
|
|
40
|
+
};
|
|
41
|
+
elementAttributes?: Record<string, string | null>;
|
|
42
|
+
excludeFields?: string[];
|
|
43
|
+
extraData?: any;
|
|
44
|
+
fields?: Record<string, FieldOption>;
|
|
45
|
+
filters?: CollectionFilterConfig[];
|
|
46
|
+
flex?: number | string;
|
|
47
|
+
floating?: boolean;
|
|
48
|
+
getFieldFilterPickerConfig?: (filter: CollectionFilterConfig) => FieldFilterPickerConfig;
|
|
49
|
+
height?: string | number;
|
|
50
|
+
hidden?: boolean;
|
|
51
|
+
hideAnimation?: boolean | object;
|
|
52
|
+
hideWhenEmpty?: boolean;
|
|
53
|
+
html?: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
|
|
54
|
+
htmlCls?: string | object;
|
|
55
|
+
id?: string;
|
|
56
|
+
ignoreParentReadOnly?: boolean;
|
|
57
|
+
inputFieldAlign?: 'start' | 'end';
|
|
58
|
+
insertBefore?: HTMLElement | string;
|
|
59
|
+
insertFirst?: HTMLElement | string;
|
|
60
|
+
itemCls?: string;
|
|
61
|
+
items?: Record<string, TaskBoardContainerItemConfig | MenuItemEntry> | (TaskBoardContainerItemConfig | MenuItemEntry | Widget)[];
|
|
62
|
+
keyMap?: Record<string, KeyMapConfig>;
|
|
63
|
+
labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
64
|
+
layout?: string | TaskBoardContainerLayoutConfig;
|
|
65
|
+
layoutStyle?: object;
|
|
66
|
+
lazyItems?: Record<string, TaskBoardContainerItemConfig> | TaskBoardContainerItemConfig[] | Widget[];
|
|
67
|
+
limitToProperty?: string;
|
|
68
|
+
listeners?: TaskBoardFieldFilterPickerGroupListeners;
|
|
69
|
+
localeClass?: typeof Base;
|
|
70
|
+
localizable?: boolean;
|
|
71
|
+
localizableProperties?: string[];
|
|
72
|
+
margin?: number | string;
|
|
73
|
+
maskDefaults?: MaskConfig;
|
|
74
|
+
masked?: boolean | string | MaskConfig;
|
|
75
|
+
maxHeight?: string | number;
|
|
76
|
+
maximizeOnMobile?: number | string;
|
|
77
|
+
maxWidth?: string | number;
|
|
78
|
+
minHeight?: string | number;
|
|
79
|
+
minWidth?: string | number;
|
|
80
|
+
monitorResize?: boolean | {
|
|
81
|
+
immediate?: boolean;
|
|
82
|
+
};
|
|
83
|
+
namedItems?: Record<string, TaskBoardContainerItemConfig>;
|
|
84
|
+
operators?: object;
|
|
85
|
+
owner?: Widget | any;
|
|
86
|
+
positioned?: boolean;
|
|
87
|
+
preventTooltipOnTouch?: boolean;
|
|
88
|
+
readOnly?: boolean;
|
|
89
|
+
record?: Model;
|
|
90
|
+
relayStoreEvents?: boolean;
|
|
91
|
+
rendition?: string | Record<string, string> | null;
|
|
92
|
+
ripple?: boolean | {
|
|
93
|
+
delegate?: string;
|
|
94
|
+
color?: string;
|
|
95
|
+
radius?: number;
|
|
96
|
+
clip?: string;
|
|
97
|
+
};
|
|
98
|
+
rootElement?: ShadowRoot | HTMLElement;
|
|
99
|
+
rtl?: boolean;
|
|
100
|
+
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
101
|
+
scrollAction?: 'hide' | 'realign' | null;
|
|
102
|
+
showAddFilterButton?: boolean;
|
|
103
|
+
showAnimation?: boolean | object;
|
|
104
|
+
showTooltipWhenDisabled?: boolean;
|
|
105
|
+
span?: number;
|
|
106
|
+
store?: Store;
|
|
107
|
+
strictRecordMapping?: boolean;
|
|
108
|
+
tab?: boolean | TabConfig;
|
|
109
|
+
tabBarItems?: ToolbarItems[] | Widget[];
|
|
110
|
+
tag?: string;
|
|
111
|
+
textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
|
|
112
|
+
textContent?: boolean;
|
|
113
|
+
title?: string;
|
|
114
|
+
tooltip?: string | TooltipConfig | null;
|
|
115
|
+
triggerChangeOnInput?: boolean;
|
|
116
|
+
type?: 'taskboardfieldfilterpickergroup';
|
|
117
|
+
ui?: string | object;
|
|
118
|
+
weight?: number;
|
|
119
|
+
width?: string | number;
|
|
120
|
+
x?: number;
|
|
121
|
+
y?: number;
|
|
122
|
+
onBeforeAddFilter?: ((event: {
|
|
123
|
+
source: FieldFilterPicker;
|
|
124
|
+
filter: CollectionFilterConfig;
|
|
125
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
126
|
+
onBeforeDestroy?: ((event: {
|
|
127
|
+
source: Base;
|
|
128
|
+
}) => void) | string;
|
|
129
|
+
onBeforeHide?: ((event: {
|
|
130
|
+
source: Widget;
|
|
131
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
132
|
+
onBeforeSetRecord?: ((event: {
|
|
133
|
+
source: Container;
|
|
134
|
+
record: Model;
|
|
135
|
+
}) => void) | string;
|
|
136
|
+
onBeforeShow?: ((event: {
|
|
137
|
+
source: Widget | any;
|
|
138
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
139
|
+
onCatchAll?: ((event: {
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
type: string;
|
|
142
|
+
}) => void) | string;
|
|
143
|
+
onChange?: ((event: {
|
|
144
|
+
source: FieldFilterPickerGroup;
|
|
145
|
+
filters: CollectionFilterConfig[];
|
|
146
|
+
validFilters: CollectionFilterConfig[];
|
|
147
|
+
}) => void) | string;
|
|
148
|
+
onDestroy?: ((event: {
|
|
149
|
+
source: Base;
|
|
150
|
+
}) => void) | string;
|
|
151
|
+
onDirtyStateChange?: ((event: {
|
|
152
|
+
source: Container;
|
|
153
|
+
dirty: boolean;
|
|
154
|
+
}) => void) | string;
|
|
155
|
+
onElementCreated?: ((event: {
|
|
156
|
+
element: HTMLElement;
|
|
157
|
+
}) => void) | string;
|
|
158
|
+
onFocusIn?: ((event: {
|
|
159
|
+
source: Widget;
|
|
160
|
+
fromElement: HTMLElement;
|
|
161
|
+
toElement: HTMLElement;
|
|
162
|
+
fromWidget: Widget;
|
|
163
|
+
toWidget: Widget;
|
|
164
|
+
backwards: boolean;
|
|
165
|
+
}) => void) | string;
|
|
166
|
+
onFocusOut?: ((event: {
|
|
167
|
+
source: Widget;
|
|
168
|
+
fromElement: HTMLElement;
|
|
169
|
+
toElement: HTMLElement;
|
|
170
|
+
fromWidget: Widget;
|
|
171
|
+
toWidget: Widget;
|
|
172
|
+
backwards: boolean;
|
|
173
|
+
}) => void) | string;
|
|
174
|
+
onHide?: ((event: {
|
|
175
|
+
source: Widget;
|
|
176
|
+
}) => void) | string;
|
|
177
|
+
onPaint?: ((event: {
|
|
178
|
+
source: Widget;
|
|
179
|
+
firstPaint: boolean;
|
|
180
|
+
}) => void) | string;
|
|
181
|
+
onReadOnly?: ((event: {
|
|
182
|
+
readOnly: boolean;
|
|
183
|
+
}) => void) | string;
|
|
184
|
+
onRecompose?: (() => void) | string;
|
|
185
|
+
onResize?: ((event: {
|
|
186
|
+
source: Widget;
|
|
187
|
+
width: number;
|
|
188
|
+
height: number;
|
|
189
|
+
oldWidth: number;
|
|
190
|
+
oldHeight: number;
|
|
191
|
+
}) => void) | string;
|
|
192
|
+
onShow?: ((event: {
|
|
193
|
+
source: Widget;
|
|
194
|
+
}) => void) | string;
|
|
195
|
+
};
|
|
196
|
+
export declare class BryntumTaskBoardFieldFilterPickerGroup extends React.Component<BryntumTaskBoardFieldFilterPickerGroupProps> {
|
|
197
|
+
static instanceClass: typeof TaskBoardFieldFilterPickerGroup;
|
|
198
|
+
static instanceName: string;
|
|
199
|
+
processWidgetContent: typeof processWidgetContent;
|
|
200
|
+
static configNames: string[];
|
|
201
|
+
static propertyConfigNames: string[];
|
|
202
|
+
static propertyNames: string[];
|
|
203
|
+
instance: TaskBoardFieldFilterPickerGroup;
|
|
204
|
+
element: HTMLElement;
|
|
205
|
+
componentDidMount(): void;
|
|
206
|
+
componentWillUnmount(): void;
|
|
207
|
+
shouldComponentUpdate(nextProps: Readonly<BryntumTaskBoardFieldFilterPickerGroupProps>, nextState: Readonly<{}>): boolean;
|
|
208
|
+
render(): React.ReactNode;
|
|
209
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TaskBoardFieldFilterPickerGroup } from '@bryntum/taskboard-thin';
|
|
3
|
+
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
4
|
+
export class BryntumTaskBoardFieldFilterPickerGroup 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-task-board-field-filter-picker-group-container`;
|
|
21
|
+
return (React.createElement("div", { className: className, ref: (element) => (this.element = element) }));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
BryntumTaskBoardFieldFilterPickerGroup.instanceClass = TaskBoardFieldFilterPickerGroup;
|
|
25
|
+
BryntumTaskBoardFieldFilterPickerGroup.instanceName = 'TaskBoardFieldFilterPickerGroup';
|
|
26
|
+
BryntumTaskBoardFieldFilterPickerGroup.configNames = [
|
|
27
|
+
'addFilterButtonText',
|
|
28
|
+
'adopt',
|
|
29
|
+
'align',
|
|
30
|
+
'allowedFieldNames',
|
|
31
|
+
'anchor',
|
|
32
|
+
'ariaDescription',
|
|
33
|
+
'ariaLabel',
|
|
34
|
+
'autoUpdateRecord',
|
|
35
|
+
'bubbleEvents',
|
|
36
|
+
'canDeleteFilter',
|
|
37
|
+
'canManageFilter',
|
|
38
|
+
'centered',
|
|
39
|
+
'color',
|
|
40
|
+
'config',
|
|
41
|
+
'constrainTo',
|
|
42
|
+
'contentElementCls',
|
|
43
|
+
'dataField',
|
|
44
|
+
'dateFormat',
|
|
45
|
+
'defaultBindProperty',
|
|
46
|
+
'defaultFocus',
|
|
47
|
+
'defaults',
|
|
48
|
+
'detectCSSCompatibilityIssues',
|
|
49
|
+
'dock',
|
|
50
|
+
'draggable',
|
|
51
|
+
'elementAttributes',
|
|
52
|
+
'excludeFields',
|
|
53
|
+
'fields',
|
|
54
|
+
'filters',
|
|
55
|
+
'floating',
|
|
56
|
+
'getFieldFilterPickerConfig',
|
|
57
|
+
'hideAnimation',
|
|
58
|
+
'hideWhenEmpty',
|
|
59
|
+
'htmlCls',
|
|
60
|
+
'ignoreParentReadOnly',
|
|
61
|
+
'itemCls',
|
|
62
|
+
'lazyItems',
|
|
63
|
+
'limitToProperty',
|
|
64
|
+
'listeners',
|
|
65
|
+
'localeClass',
|
|
66
|
+
'localizable',
|
|
67
|
+
'localizableProperties',
|
|
68
|
+
'maskDefaults',
|
|
69
|
+
'masked',
|
|
70
|
+
'monitorResize',
|
|
71
|
+
'namedItems',
|
|
72
|
+
'operators',
|
|
73
|
+
'owner',
|
|
74
|
+
'positioned',
|
|
75
|
+
'preventTooltipOnTouch',
|
|
76
|
+
'relayStoreEvents',
|
|
77
|
+
'ripple',
|
|
78
|
+
'rootElement',
|
|
79
|
+
'scrollAction',
|
|
80
|
+
'showAddFilterButton',
|
|
81
|
+
'showAnimation',
|
|
82
|
+
'showTooltipWhenDisabled',
|
|
83
|
+
'store',
|
|
84
|
+
'tab',
|
|
85
|
+
'tabBarItems',
|
|
86
|
+
'tag',
|
|
87
|
+
'textAlign',
|
|
88
|
+
'textContent',
|
|
89
|
+
'title',
|
|
90
|
+
'triggerChangeOnInput',
|
|
91
|
+
'type',
|
|
92
|
+
'ui',
|
|
93
|
+
'weight'
|
|
94
|
+
];
|
|
95
|
+
BryntumTaskBoardFieldFilterPickerGroup.propertyConfigNames = [
|
|
96
|
+
'alignSelf',
|
|
97
|
+
'appendTo',
|
|
98
|
+
'callOnFunctions',
|
|
99
|
+
'catchEventHandlerExceptions',
|
|
100
|
+
'cls',
|
|
101
|
+
'column',
|
|
102
|
+
'content',
|
|
103
|
+
'dataset',
|
|
104
|
+
'disabled',
|
|
105
|
+
'extraData',
|
|
106
|
+
'flex',
|
|
107
|
+
'height',
|
|
108
|
+
'hidden',
|
|
109
|
+
'html',
|
|
110
|
+
'id',
|
|
111
|
+
'inputFieldAlign',
|
|
112
|
+
'insertBefore',
|
|
113
|
+
'insertFirst',
|
|
114
|
+
'items',
|
|
115
|
+
'keyMap',
|
|
116
|
+
'labelPosition',
|
|
117
|
+
'layout',
|
|
118
|
+
'layoutStyle',
|
|
119
|
+
'margin',
|
|
120
|
+
'maxHeight',
|
|
121
|
+
'maximizeOnMobile',
|
|
122
|
+
'maxWidth',
|
|
123
|
+
'minHeight',
|
|
124
|
+
'minWidth',
|
|
125
|
+
'onBeforeAddFilter',
|
|
126
|
+
'onBeforeDestroy',
|
|
127
|
+
'onBeforeHide',
|
|
128
|
+
'onBeforeSetRecord',
|
|
129
|
+
'onBeforeShow',
|
|
130
|
+
'onCatchAll',
|
|
131
|
+
'onChange',
|
|
132
|
+
'onDestroy',
|
|
133
|
+
'onDirtyStateChange',
|
|
134
|
+
'onElementCreated',
|
|
135
|
+
'onFocusIn',
|
|
136
|
+
'onFocusOut',
|
|
137
|
+
'onHide',
|
|
138
|
+
'onPaint',
|
|
139
|
+
'onReadOnly',
|
|
140
|
+
'onRecompose',
|
|
141
|
+
'onResize',
|
|
142
|
+
'onShow',
|
|
143
|
+
'readOnly',
|
|
144
|
+
'record',
|
|
145
|
+
'rendition',
|
|
146
|
+
'rtl',
|
|
147
|
+
'scrollable',
|
|
148
|
+
'span',
|
|
149
|
+
'strictRecordMapping',
|
|
150
|
+
'tooltip',
|
|
151
|
+
'width',
|
|
152
|
+
'x',
|
|
153
|
+
'y'
|
|
154
|
+
];
|
|
155
|
+
BryntumTaskBoardFieldFilterPickerGroup.propertyNames = [
|
|
156
|
+
'anchorSize',
|
|
157
|
+
'focusVisible',
|
|
158
|
+
'hasChanges',
|
|
159
|
+
'isSettingValues',
|
|
160
|
+
'isValid',
|
|
161
|
+
'parent',
|
|
162
|
+
'value',
|
|
163
|
+
'values'
|
|
164
|
+
];
|
|
165
|
+
//# sourceMappingURL=BryntumTaskBoardFieldFilterPickerGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BryntumTaskBoardF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,SAAS;IACT,OAAO;IACP,GAAG;IACH,GAAG;CACN,CAAC;AAEK,oDAAa,GAAG;IACnB,YAAY;IACZ,cAAc;IACd,YAAY;IACZ,iBAAiB;IACjB,SAAS;IACT,QAAQ;IACR,OAAO;IACP,QAAQ;CACX,CAAC"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Base, Model, ModelConfig, StateTrackingManager, StateTrackingManagerConfig, Store, StoreConfig } from '@bryntum/core-thin';
|
|
3
|
+
import { AbstractCrudManager, AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, CrudManagerStoreDescriptor, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventModel, EventModelConfig, EventStore, EventStoreConfig, ProjectModel, ProjectModel as SchedulerProjectModel, ProjectModelListeners, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, TaskModel, TaskModelConfig, TaskStore, TaskStoreConfig } from '@bryntum/taskboard-thin';
|
|
4
|
+
import { processWidgetContent } from './WrapperHelper.js';
|
|
5
|
+
export declare type BryntumTaskBoardProjectModelProps = {
|
|
6
|
+
adjustDurationToDST?: boolean;
|
|
7
|
+
assignmentModelClass?: typeof AssignmentModel;
|
|
8
|
+
assignments?: AssignmentModel[] | AssignmentModelConfig[];
|
|
9
|
+
assignmentsData?: AssignmentModel[] | AssignmentModelConfig[];
|
|
10
|
+
assignmentStore?: AssignmentStore | AssignmentStoreConfig;
|
|
11
|
+
assignmentStoreClass?: typeof AssignmentStore | object;
|
|
12
|
+
autoLoad?: boolean;
|
|
13
|
+
autoSync?: boolean;
|
|
14
|
+
autoSyncTimeout?: number;
|
|
15
|
+
bubbleEvents?: object;
|
|
16
|
+
callOnFunctions?: boolean;
|
|
17
|
+
catchEventHandlerExceptions?: boolean;
|
|
18
|
+
children?: boolean | object[] | Model[] | ModelConfig[];
|
|
19
|
+
crudStores?: Store[] | string[] | CrudManagerStoreDescriptor[] | StoreConfig[];
|
|
20
|
+
dependencies?: DependencyModel[] | DependencyModelConfig[];
|
|
21
|
+
dependenciesData?: DependencyModel[] | DependencyModelConfig[];
|
|
22
|
+
dependencyModelClass?: typeof DependencyModel;
|
|
23
|
+
dependencyStore?: DependencyStore | DependencyStoreConfig;
|
|
24
|
+
dependencyStoreClass?: typeof DependencyStore | object;
|
|
25
|
+
encoder?: {
|
|
26
|
+
requestData?: object;
|
|
27
|
+
};
|
|
28
|
+
events?: EventModel[] | EventModelConfig[];
|
|
29
|
+
eventsData?: EventModel[] | EventModelConfig[];
|
|
30
|
+
eventStore?: EventStore | EventStoreConfig;
|
|
31
|
+
expanded?: boolean;
|
|
32
|
+
forceSync?: boolean;
|
|
33
|
+
id?: string | number;
|
|
34
|
+
ignoreRemoteChangesInSTM?: boolean;
|
|
35
|
+
includeChildrenInRemoveRequest?: boolean;
|
|
36
|
+
includeLegacyDataProperties?: boolean;
|
|
37
|
+
isFullyLoaded?: boolean;
|
|
38
|
+
json?: string;
|
|
39
|
+
listeners?: ProjectModelListeners;
|
|
40
|
+
loadUrl?: string;
|
|
41
|
+
orderedParentIndex?: number;
|
|
42
|
+
parentId?: string | number | null;
|
|
43
|
+
parentIndex?: number;
|
|
44
|
+
phantomIdField?: string;
|
|
45
|
+
phantomParentIdField?: string;
|
|
46
|
+
readOnly?: boolean;
|
|
47
|
+
remoteChildCount?: number;
|
|
48
|
+
resetIdsBeforeSync?: boolean;
|
|
49
|
+
resourceModelClass?: typeof ResourceModel;
|
|
50
|
+
resources?: ResourceModel[] | ResourceModelConfig[];
|
|
51
|
+
resourcesData?: ResourceModel[] | ResourceModelConfig[];
|
|
52
|
+
resourceStore?: ResourceStore | ResourceStoreConfig;
|
|
53
|
+
resourceStoreClass?: typeof ResourceStore | object;
|
|
54
|
+
shouldSyncDataOnLoad?: (options: {
|
|
55
|
+
store: Store;
|
|
56
|
+
records: Model;
|
|
57
|
+
data: object[];
|
|
58
|
+
}) => Set<any> | boolean;
|
|
59
|
+
silenceInitialCommit?: boolean;
|
|
60
|
+
skipSuccessProperty?: boolean;
|
|
61
|
+
stm?: StateTrackingManagerConfig | StateTrackingManager;
|
|
62
|
+
storeIdProperty?: string;
|
|
63
|
+
supportShortSyncResponse?: boolean;
|
|
64
|
+
syncApplySequence?: string[] | CrudManagerStoreDescriptor[];
|
|
65
|
+
syncUrl?: string;
|
|
66
|
+
taskModelClass?: typeof TaskModel;
|
|
67
|
+
tasks?: TaskModel[] | TaskModelConfig[];
|
|
68
|
+
tasksData?: TaskModel[] | TaskModelConfig[];
|
|
69
|
+
taskStore?: TaskStoreConfig | TaskStore;
|
|
70
|
+
taskStoreClass?: typeof TaskStore;
|
|
71
|
+
timeZone?: string | number;
|
|
72
|
+
toJSONResultFormat?: 'inlineData' | 'model';
|
|
73
|
+
trackResponseType?: boolean;
|
|
74
|
+
transport?: {
|
|
75
|
+
load?: object;
|
|
76
|
+
sync?: object;
|
|
77
|
+
};
|
|
78
|
+
useRawData?: boolean;
|
|
79
|
+
validateResponse?: boolean;
|
|
80
|
+
writeAllFields?: boolean;
|
|
81
|
+
onBeforeDestroy?: ((event: {
|
|
82
|
+
source: Base;
|
|
83
|
+
}) => void) | string;
|
|
84
|
+
onBeforeLoad?: ((event: {
|
|
85
|
+
source: AbstractCrudManager;
|
|
86
|
+
pack: object;
|
|
87
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
88
|
+
onBeforeLoadApply?: ((event: {
|
|
89
|
+
source: AbstractCrudManager;
|
|
90
|
+
response: object;
|
|
91
|
+
options: object;
|
|
92
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
93
|
+
onBeforeResponseApply?: ((event: {
|
|
94
|
+
source: AbstractCrudManager;
|
|
95
|
+
requestType: 'sync' | 'load';
|
|
96
|
+
response: object;
|
|
97
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
98
|
+
onBeforeSend?: ((event: {
|
|
99
|
+
crudManager: AbstractCrudManager;
|
|
100
|
+
params: object;
|
|
101
|
+
requestType: 'sync' | 'load';
|
|
102
|
+
requestConfig: object;
|
|
103
|
+
}) => Promise<void>) | string;
|
|
104
|
+
onBeforeSync?: ((event: {
|
|
105
|
+
source: AbstractCrudManager;
|
|
106
|
+
pack: object;
|
|
107
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
108
|
+
onBeforeSyncApply?: ((event: {
|
|
109
|
+
source: AbstractCrudManager;
|
|
110
|
+
response: object;
|
|
111
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
112
|
+
onCatchAll?: ((event: {
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
type: string;
|
|
115
|
+
}) => void) | string;
|
|
116
|
+
onChange?: ((event: {
|
|
117
|
+
source: SchedulerProjectModel | any;
|
|
118
|
+
store: Store;
|
|
119
|
+
action: 'remove' | 'removeAll' | 'add' | 'clearchanges' | 'filter' | 'update' | 'dataset' | 'replace';
|
|
120
|
+
record: Model;
|
|
121
|
+
records: Model[];
|
|
122
|
+
changes: object;
|
|
123
|
+
}) => void) | string;
|
|
124
|
+
onDataReady?: ((event: {
|
|
125
|
+
source: SchedulerProjectModel | any;
|
|
126
|
+
isInitialCommit: boolean;
|
|
127
|
+
records: Set<any>;
|
|
128
|
+
}) => void) | string;
|
|
129
|
+
onDestroy?: ((event: {
|
|
130
|
+
source: Base;
|
|
131
|
+
}) => void) | string;
|
|
132
|
+
onHasChanges?: ((event: {
|
|
133
|
+
source: AbstractCrudManager;
|
|
134
|
+
}) => void) | string;
|
|
135
|
+
onLoad?: ((event: {
|
|
136
|
+
source: AbstractCrudManager;
|
|
137
|
+
response: object;
|
|
138
|
+
responseOptions: object;
|
|
139
|
+
requestOptions: object;
|
|
140
|
+
rawResponse: any;
|
|
141
|
+
}) => void) | string;
|
|
142
|
+
onLoadCanceled?: ((event: {
|
|
143
|
+
source: AbstractCrudManager;
|
|
144
|
+
pack: object;
|
|
145
|
+
}) => void) | string;
|
|
146
|
+
onLoadFail?: ((event: {
|
|
147
|
+
source: AbstractCrudManager;
|
|
148
|
+
response: object;
|
|
149
|
+
responseText: string;
|
|
150
|
+
responseOptions: object;
|
|
151
|
+
requestOptions: object;
|
|
152
|
+
rawResponse: any;
|
|
153
|
+
}) => void) | string;
|
|
154
|
+
onNoChanges?: ((event: {
|
|
155
|
+
source: AbstractCrudManager;
|
|
156
|
+
}) => void) | string;
|
|
157
|
+
onRequestDone?: ((event: {
|
|
158
|
+
source: AbstractCrudManager;
|
|
159
|
+
requestType: 'sync' | 'load';
|
|
160
|
+
response: object;
|
|
161
|
+
responseOptions: object;
|
|
162
|
+
requestOptions: object;
|
|
163
|
+
rawResponse: any;
|
|
164
|
+
}) => void) | string;
|
|
165
|
+
onRequestFail?: ((event: {
|
|
166
|
+
source: AbstractCrudManager;
|
|
167
|
+
requestType: 'sync' | 'load';
|
|
168
|
+
response: object;
|
|
169
|
+
responseText: string;
|
|
170
|
+
responseOptions: object;
|
|
171
|
+
requestOptions: object;
|
|
172
|
+
rawResponse: any;
|
|
173
|
+
}) => void) | string;
|
|
174
|
+
onSync?: ((event: {
|
|
175
|
+
source: AbstractCrudManager;
|
|
176
|
+
response: object;
|
|
177
|
+
responseOptions: object;
|
|
178
|
+
requestOptions: object;
|
|
179
|
+
rawResponse: any;
|
|
180
|
+
}) => void) | string;
|
|
181
|
+
onSyncCanceled?: ((event: {
|
|
182
|
+
source: AbstractCrudManager;
|
|
183
|
+
pack: object;
|
|
184
|
+
}) => void) | string;
|
|
185
|
+
onSyncDelayed?: ((event: {
|
|
186
|
+
source: AbstractCrudManager;
|
|
187
|
+
arguments: object;
|
|
188
|
+
}) => void) | string;
|
|
189
|
+
onSyncFail?: ((event: {
|
|
190
|
+
source: AbstractCrudManager;
|
|
191
|
+
response: object;
|
|
192
|
+
responseText: string;
|
|
193
|
+
responseOptions: object;
|
|
194
|
+
requestOptions: object;
|
|
195
|
+
rawResponse: any;
|
|
196
|
+
}) => void) | string;
|
|
197
|
+
};
|
|
198
|
+
export declare class BryntumTaskBoardProjectModel extends React.Component<BryntumTaskBoardProjectModelProps> {
|
|
199
|
+
static instanceClass: typeof ProjectModel;
|
|
200
|
+
static instanceName: string;
|
|
201
|
+
processWidgetContent: typeof processWidgetContent;
|
|
202
|
+
dataStores: {
|
|
203
|
+
assignmentStore: string;
|
|
204
|
+
dependencyStore: string;
|
|
205
|
+
eventStore: string;
|
|
206
|
+
resourceStore: string;
|
|
207
|
+
taskStore: string;
|
|
208
|
+
};
|
|
209
|
+
static configNames: string[];
|
|
210
|
+
static propertyConfigNames: string[];
|
|
211
|
+
static propertyNames: string[];
|
|
212
|
+
instance: ProjectModel;
|
|
213
|
+
element: HTMLElement;
|
|
214
|
+
componentDidMount(): void;
|
|
215
|
+
componentWillUnmount(): void;
|
|
216
|
+
shouldComponentUpdate(nextProps: Readonly<BryntumTaskBoardProjectModelProps>, nextState: Readonly<{}>): boolean;
|
|
217
|
+
render(): React.ReactNode;
|
|
218
|
+
}
|