@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.
Files changed (96) hide show
  1. package/README.md +52 -0
  2. package/lib/BryntumColumnCombo.d.ts +268 -0
  3. package/lib/BryntumColumnCombo.js +203 -0
  4. package/lib/BryntumColumnCombo.js.map +1 -0
  5. package/lib/BryntumColumnFilterField.d.ts +234 -0
  6. package/lib/BryntumColumnFilterField.js +170 -0
  7. package/lib/BryntumColumnFilterField.js.map +1 -0
  8. package/lib/BryntumColumnPickerButton.d.ts +208 -0
  9. package/lib/BryntumColumnPickerButton.js +149 -0
  10. package/lib/BryntumColumnPickerButton.js.map +1 -0
  11. package/lib/BryntumColumnScrollButton.d.ts +208 -0
  12. package/lib/BryntumColumnScrollButton.js +149 -0
  13. package/lib/BryntumColumnScrollButton.js.map +1 -0
  14. package/lib/BryntumProjectCombo.d.ts +269 -0
  15. package/lib/BryntumProjectCombo.js +204 -0
  16. package/lib/BryntumProjectCombo.js.map +1 -0
  17. package/lib/BryntumResourcesCombo.d.ts +268 -0
  18. package/lib/BryntumResourcesCombo.js +203 -0
  19. package/lib/BryntumResourcesCombo.js.map +1 -0
  20. package/lib/BryntumSwimlaneCombo.d.ts +268 -0
  21. package/lib/BryntumSwimlaneCombo.js +203 -0
  22. package/lib/BryntumSwimlaneCombo.js.map +1 -0
  23. package/lib/BryntumSwimlaneFilterField.d.ts +236 -0
  24. package/lib/BryntumSwimlaneFilterField.js +172 -0
  25. package/lib/BryntumSwimlaneFilterField.js.map +1 -0
  26. package/lib/BryntumSwimlanePickerButton.d.ts +208 -0
  27. package/lib/BryntumSwimlanePickerButton.js +149 -0
  28. package/lib/BryntumSwimlanePickerButton.js.map +1 -0
  29. package/lib/BryntumSwimlaneScrollButton.d.ts +208 -0
  30. package/lib/BryntumSwimlaneScrollButton.js +149 -0
  31. package/lib/BryntumSwimlaneScrollButton.js.map +1 -0
  32. package/lib/BryntumTagCombo.d.ts +269 -0
  33. package/lib/BryntumTagCombo.js +204 -0
  34. package/lib/BryntumTagCombo.js.map +1 -0
  35. package/lib/BryntumTaskBoard.d.ts +610 -0
  36. package/lib/BryntumTaskBoard.js +287 -0
  37. package/lib/BryntumTaskBoard.js.map +1 -0
  38. package/lib/BryntumTaskBoardBase.d.ts +609 -0
  39. package/lib/BryntumTaskBoardBase.js +286 -0
  40. package/lib/BryntumTaskBoardBase.js.map +1 -0
  41. package/lib/BryntumTaskBoardFieldFilterPicker.d.ts +201 -0
  42. package/lib/BryntumTaskBoardFieldFilterPicker.js +159 -0
  43. package/lib/BryntumTaskBoardFieldFilterPicker.js.map +1 -0
  44. package/lib/BryntumTaskBoardFieldFilterPickerGroup.d.ts +209 -0
  45. package/lib/BryntumTaskBoardFieldFilterPickerGroup.js +165 -0
  46. package/lib/BryntumTaskBoardFieldFilterPickerGroup.js.map +1 -0
  47. package/lib/BryntumTaskBoardProjectModel.d.ts +218 -0
  48. package/lib/BryntumTaskBoardProjectModel.js +139 -0
  49. package/lib/BryntumTaskBoardProjectModel.js.map +1 -0
  50. package/lib/BryntumTaskColorCombo.d.ts +232 -0
  51. package/lib/BryntumTaskColorCombo.js +169 -0
  52. package/lib/BryntumTaskColorCombo.js.map +1 -0
  53. package/lib/BryntumTaskFilterField.d.ts +236 -0
  54. package/lib/BryntumTaskFilterField.js +172 -0
  55. package/lib/BryntumTaskFilterField.js.map +1 -0
  56. package/lib/BryntumTodoListField.d.ts +230 -0
  57. package/lib/BryntumTodoListField.js +165 -0
  58. package/lib/BryntumTodoListField.js.map +1 -0
  59. package/lib/BryntumUndoRedo.d.ts +188 -0
  60. package/lib/BryntumUndoRedo.js +150 -0
  61. package/lib/BryntumUndoRedo.js.map +1 -0
  62. package/lib/BryntumZoomSlider.d.ts +186 -0
  63. package/lib/BryntumZoomSlider.js +143 -0
  64. package/lib/BryntumZoomSlider.js.map +1 -0
  65. package/lib/WrapperHelper.d.ts +26 -0
  66. package/lib/WrapperHelper.js +569 -0
  67. package/lib/WrapperHelper.js.map +1 -0
  68. package/lib/index.d.ts +21 -0
  69. package/lib/index.js +22 -0
  70. package/lib/index.js.map +1 -0
  71. package/license.pdf +0 -0
  72. package/licenses.md +310 -0
  73. package/package.json +25 -0
  74. package/src/BryntumColumnCombo.tsx +1240 -0
  75. package/src/BryntumColumnFilterField.tsx +1019 -0
  76. package/src/BryntumColumnPickerButton.tsx +896 -0
  77. package/src/BryntumColumnScrollButton.tsx +896 -0
  78. package/src/BryntumProjectCombo.tsx +1241 -0
  79. package/src/BryntumResourcesCombo.tsx +1239 -0
  80. package/src/BryntumSwimlaneCombo.tsx +1239 -0
  81. package/src/BryntumSwimlaneFilterField.tsx +1032 -0
  82. package/src/BryntumSwimlanePickerButton.tsx +896 -0
  83. package/src/BryntumSwimlaneScrollButton.tsx +896 -0
  84. package/src/BryntumTagCombo.tsx +1244 -0
  85. package/src/BryntumTaskBoard.tsx +2021 -0
  86. package/src/BryntumTaskBoardBase.tsx +2019 -0
  87. package/src/BryntumTaskBoardFieldFilterPicker.tsx +930 -0
  88. package/src/BryntumTaskBoardFieldFilterPickerGroup.tsx +983 -0
  89. package/src/BryntumTaskBoardProjectModel.tsx +779 -0
  90. package/src/BryntumTaskColorCombo.tsx +996 -0
  91. package/src/BryntumTaskFilterField.tsx +1032 -0
  92. package/src/BryntumTodoListField.tsx +986 -0
  93. package/src/BryntumUndoRedo.tsx +871 -0
  94. package/src/BryntumZoomSlider.tsx +824 -0
  95. package/src/WrapperHelper.tsx +1125 -0
  96. package/src/index.ts +25 -0
@@ -0,0 +1,234 @@
1
+ import React from 'react';
2
+ import { AlignSpec, Base, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
3
+ import { ColumnFilterField, ColumnFilterFieldListeners, TaskBoardContainerItemConfig, TaskBoard } from '@bryntum/taskboard-thin';
4
+ import { processWidgetContent } from './WrapperHelper.js';
5
+ export declare type BryntumColumnFilterFieldProps = {
6
+ adopt?: HTMLElement | string;
7
+ align?: AlignSpec | string;
8
+ alignSelf?: string;
9
+ anchor?: boolean;
10
+ appendTo?: HTMLElement | string;
11
+ ariaDescription?: string;
12
+ ariaLabel?: string;
13
+ autoComplete?: string;
14
+ autoSelect?: boolean;
15
+ badge?: string;
16
+ bubbleEvents?: object;
17
+ callOnFunctions?: boolean;
18
+ catchEventHandlerExceptions?: boolean;
19
+ centered?: boolean;
20
+ clearable?: boolean | FieldTriggerConfig;
21
+ cls?: string | object;
22
+ color?: string;
23
+ column?: number;
24
+ config?: object;
25
+ constrainTo?: HTMLElement | Widget | Rectangle;
26
+ container?: Record<string, TaskBoardContainerItemConfig> | TaskBoardContainerItemConfig[] | FieldContainerConfig | FieldContainer;
27
+ containValues?: boolean | string | ((field: Field) => boolean);
28
+ contentElementCls?: string | object;
29
+ dataField?: string;
30
+ dataset?: Record<string, string>;
31
+ defaultBindProperty?: string;
32
+ detectCSSCompatibilityIssues?: boolean;
33
+ disabled?: boolean | 'inert';
34
+ dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
35
+ draggable?: boolean | {
36
+ handleSelector?: string;
37
+ };
38
+ editable?: boolean;
39
+ elementAttributes?: Record<string, string | null>;
40
+ extraData?: any;
41
+ field?: string;
42
+ filterId?: string | Symbol;
43
+ flex?: number | string;
44
+ floating?: boolean;
45
+ height?: string | number;
46
+ hidden?: boolean;
47
+ hideAnimation?: boolean | object;
48
+ highlightExternalChange?: boolean;
49
+ hint?: string | ((data: {
50
+ source: Field;
51
+ value: any;
52
+ }) => string);
53
+ hintHtml?: string | ((data: {
54
+ source: Field;
55
+ value: any;
56
+ }) => string);
57
+ id?: string;
58
+ ignoreParentReadOnly?: boolean;
59
+ inline?: boolean;
60
+ inputAlign?: string;
61
+ inputAttributes?: Record<string, string>;
62
+ inputTag?: string;
63
+ inputType?: string;
64
+ inputWidth?: string | number;
65
+ insertBefore?: HTMLElement | string;
66
+ insertFirst?: HTMLElement | string;
67
+ internalFilter?: boolean;
68
+ keyMap?: Record<string, KeyMapConfig>;
69
+ keyStrokeChangeDelay?: number;
70
+ label?: string;
71
+ labelCls?: string | object;
72
+ labelPosition?: 'before' | 'above' | null;
73
+ labels?: object[];
74
+ labelWidth?: string | number;
75
+ listeners?: ColumnFilterFieldListeners;
76
+ localeClass?: typeof Base;
77
+ localizable?: boolean;
78
+ localizableProperties?: string[];
79
+ margin?: number | string;
80
+ maskDefaults?: MaskConfig;
81
+ masked?: boolean | string | MaskConfig;
82
+ maxHeight?: string | number;
83
+ maximizeOnMobile?: number | string;
84
+ maxLength?: number;
85
+ maxWidth?: string | number;
86
+ minHeight?: string | number;
87
+ minLength?: number;
88
+ minWidth?: string | number;
89
+ monitorResize?: boolean | {
90
+ immediate?: boolean;
91
+ };
92
+ name?: string;
93
+ owner?: Widget | any;
94
+ placeholder?: string;
95
+ positioned?: boolean;
96
+ preventTooltipOnTouch?: boolean;
97
+ readOnly?: boolean;
98
+ relayStoreEvents?: boolean;
99
+ rendition?: 'outlined' | 'filled' | string;
100
+ required?: boolean;
101
+ revertOnEscape?: boolean;
102
+ ripple?: boolean | {
103
+ delegate?: string;
104
+ color?: string;
105
+ radius?: number;
106
+ clip?: string;
107
+ };
108
+ rootElement?: ShadowRoot | HTMLElement;
109
+ rtl?: boolean;
110
+ scrollAction?: 'hide' | 'realign' | null;
111
+ showAnimation?: boolean | object;
112
+ showRequiredIndicator?: string;
113
+ showTooltipWhenDisabled?: boolean;
114
+ skipValidation?: boolean;
115
+ span?: number;
116
+ spellCheck?: boolean;
117
+ tab?: boolean | TabConfig;
118
+ tabIndex?: number;
119
+ taskBoard?: TaskBoard;
120
+ textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
121
+ title?: string;
122
+ tooltip?: string | TooltipConfig | null;
123
+ triggers?: Record<string, FieldTriggerConfig> | Record<string, Widget>;
124
+ type?: 'columnfilterfield';
125
+ ui?: string | object;
126
+ validateOnInput?: boolean;
127
+ value?: string;
128
+ weight?: number;
129
+ width?: string | number;
130
+ x?: number;
131
+ y?: number;
132
+ onAction?: ((event: {
133
+ source: Field | any;
134
+ value: string | number | boolean | any;
135
+ oldValue: string | number | boolean | any;
136
+ valid: boolean;
137
+ event: Event;
138
+ record: Model;
139
+ records: Model[];
140
+ userAction: boolean;
141
+ checked: boolean;
142
+ }) => void) | string;
143
+ onBeforeDestroy?: ((event: {
144
+ source: Base;
145
+ }) => void) | string;
146
+ onBeforeHide?: ((event: {
147
+ source: Widget;
148
+ }) => Promise<boolean> | boolean | void) | string;
149
+ onBeforeShow?: ((event: {
150
+ source: Widget | any;
151
+ }) => Promise<boolean> | boolean | void) | string;
152
+ onCatchAll?: ((event: {
153
+ [key: string]: any;
154
+ type: string;
155
+ }) => void) | string;
156
+ onChange?: ((event: {
157
+ source: Field | any;
158
+ value: string | number | boolean | any;
159
+ oldValue: string | number | boolean | any;
160
+ valid: boolean;
161
+ event: Event;
162
+ userAction: boolean;
163
+ checked: boolean;
164
+ }) => void) | string;
165
+ onClear?: ((event: {
166
+ source: Field | any;
167
+ }) => void) | string;
168
+ onDestroy?: ((event: {
169
+ source: Base;
170
+ }) => void) | string;
171
+ onElementCreated?: ((event: {
172
+ element: HTMLElement;
173
+ }) => void) | string;
174
+ onFocusIn?: ((event: {
175
+ source: Widget;
176
+ fromElement: HTMLElement;
177
+ toElement: HTMLElement;
178
+ fromWidget: Widget;
179
+ toWidget: Widget;
180
+ backwards: boolean;
181
+ }) => void) | string;
182
+ onFocusOut?: ((event: {
183
+ source: Widget;
184
+ fromElement: HTMLElement;
185
+ toElement: HTMLElement;
186
+ fromWidget: Widget;
187
+ toWidget: Widget;
188
+ backwards: boolean;
189
+ }) => void) | string;
190
+ onHide?: ((event: {
191
+ source: Widget;
192
+ }) => void) | string;
193
+ onInput?: ((event: {
194
+ source: Field | any;
195
+ value: string | number | boolean | any;
196
+ event: Event;
197
+ }) => void) | string;
198
+ onPaint?: ((event: {
199
+ source: Widget;
200
+ firstPaint: boolean;
201
+ }) => void) | string;
202
+ onReadOnly?: ((event: {
203
+ readOnly: boolean;
204
+ }) => void) | string;
205
+ onRecompose?: (() => void) | string;
206
+ onResize?: ((event: {
207
+ source: Widget;
208
+ width: number;
209
+ height: number;
210
+ oldWidth: number;
211
+ oldHeight: number;
212
+ }) => void) | string;
213
+ onShow?: ((event: {
214
+ source: Widget;
215
+ }) => void) | string;
216
+ onTrigger?: ((event: {
217
+ source: Field | any;
218
+ trigger: Widget;
219
+ }) => void) | string;
220
+ };
221
+ export declare class BryntumColumnFilterField extends React.Component<BryntumColumnFilterFieldProps> {
222
+ static instanceClass: typeof ColumnFilterField;
223
+ static instanceName: string;
224
+ processWidgetContent: typeof processWidgetContent;
225
+ static configNames: string[];
226
+ static propertyConfigNames: string[];
227
+ static propertyNames: string[];
228
+ instance: ColumnFilterField;
229
+ element: HTMLElement;
230
+ componentDidMount(): void;
231
+ componentWillUnmount(): void;
232
+ shouldComponentUpdate(nextProps: Readonly<BryntumColumnFilterFieldProps>, nextState: Readonly<{}>): boolean;
233
+ render(): React.ReactNode;
234
+ }
@@ -0,0 +1,170 @@
1
+ import React from 'react';
2
+ import { ColumnFilterField } from '@bryntum/taskboard-thin';
3
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
4
+ export class BryntumColumnFilterField 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-column-filter-field-container`;
21
+ return (React.createElement("div", { className: className, ref: (element) => (this.element = element) }));
22
+ }
23
+ }
24
+ BryntumColumnFilterField.instanceClass = ColumnFilterField;
25
+ BryntumColumnFilterField.instanceName = 'ColumnFilterField';
26
+ BryntumColumnFilterField.configNames = [
27
+ 'adopt',
28
+ 'align',
29
+ 'anchor',
30
+ 'ariaDescription',
31
+ 'ariaLabel',
32
+ 'autoComplete',
33
+ 'autoSelect',
34
+ 'bubbleEvents',
35
+ 'centered',
36
+ 'clearable',
37
+ 'color',
38
+ 'config',
39
+ 'constrainTo',
40
+ 'container',
41
+ 'containValues',
42
+ 'contentElementCls',
43
+ 'dataField',
44
+ 'defaultBindProperty',
45
+ 'detectCSSCompatibilityIssues',
46
+ 'dock',
47
+ 'draggable',
48
+ 'elementAttributes',
49
+ 'field',
50
+ 'filterId',
51
+ 'floating',
52
+ 'hideAnimation',
53
+ 'highlightExternalChange',
54
+ 'hint',
55
+ 'hintHtml',
56
+ 'ignoreParentReadOnly',
57
+ 'inline',
58
+ 'inputAlign',
59
+ 'inputAttributes',
60
+ 'inputTag',
61
+ 'inputType',
62
+ 'inputWidth',
63
+ 'internalFilter',
64
+ 'keyStrokeChangeDelay',
65
+ 'labelCls',
66
+ 'labelPosition',
67
+ 'labels',
68
+ 'labelWidth',
69
+ 'listeners',
70
+ 'localeClass',
71
+ 'localizable',
72
+ 'localizableProperties',
73
+ 'maskDefaults',
74
+ 'masked',
75
+ 'maxLength',
76
+ 'minLength',
77
+ 'monitorResize',
78
+ 'name',
79
+ 'owner',
80
+ 'positioned',
81
+ 'preventTooltipOnTouch',
82
+ 'relayStoreEvents',
83
+ 'revertOnEscape',
84
+ 'ripple',
85
+ 'rootElement',
86
+ 'scrollAction',
87
+ 'showAnimation',
88
+ 'showTooltipWhenDisabled',
89
+ 'skipValidation',
90
+ 'spellCheck',
91
+ 'tab',
92
+ 'tabIndex',
93
+ 'taskBoard',
94
+ 'textAlign',
95
+ 'title',
96
+ 'type',
97
+ 'ui',
98
+ 'validateOnInput',
99
+ 'weight'
100
+ ];
101
+ BryntumColumnFilterField.propertyConfigNames = [
102
+ 'alignSelf',
103
+ 'appendTo',
104
+ 'badge',
105
+ 'callOnFunctions',
106
+ 'catchEventHandlerExceptions',
107
+ 'cls',
108
+ 'column',
109
+ 'dataset',
110
+ 'disabled',
111
+ 'editable',
112
+ 'extraData',
113
+ 'flex',
114
+ 'height',
115
+ 'hidden',
116
+ 'id',
117
+ 'insertBefore',
118
+ 'insertFirst',
119
+ 'keyMap',
120
+ 'label',
121
+ 'margin',
122
+ 'maxHeight',
123
+ 'maximizeOnMobile',
124
+ 'maxWidth',
125
+ 'minHeight',
126
+ 'minWidth',
127
+ 'onAction',
128
+ 'onBeforeDestroy',
129
+ 'onBeforeHide',
130
+ 'onBeforeShow',
131
+ 'onCatchAll',
132
+ 'onChange',
133
+ 'onClear',
134
+ 'onDestroy',
135
+ 'onElementCreated',
136
+ 'onFocusIn',
137
+ 'onFocusOut',
138
+ 'onHide',
139
+ 'onInput',
140
+ 'onPaint',
141
+ 'onReadOnly',
142
+ 'onRecompose',
143
+ 'onResize',
144
+ 'onShow',
145
+ 'onTrigger',
146
+ 'placeholder',
147
+ 'readOnly',
148
+ 'rendition',
149
+ 'required',
150
+ 'rtl',
151
+ 'showRequiredIndicator',
152
+ 'span',
153
+ 'tooltip',
154
+ 'triggers',
155
+ 'value',
156
+ 'width',
157
+ 'x',
158
+ 'y'
159
+ ];
160
+ BryntumColumnFilterField.propertyNames = [
161
+ 'anchorSize',
162
+ 'content',
163
+ 'focusVisible',
164
+ 'formula',
165
+ 'html',
166
+ 'input',
167
+ 'parent',
168
+ 'scrollable'
169
+ ];
170
+ //# sourceMappingURL=BryntumColumnFilterField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BryntumColumnFilterField.js","sourceRoot":"","sources":["../src/BryntumColumnFilterField.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAuE,M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;IACN,OAAO;IACP,QAAQ;IACR,YAAY;CACf,CAAC"}
@@ -0,0 +1,208 @@
1
+ import React from 'react';
2
+ import { AlignSpec, Base, Button, DomConfig, KeyMapConfig, MaskConfig, Menu, MenuConfig, MenuItemEntry, PopupConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
3
+ import { ColumnPickerButton, ColumnPickerButtonListeners, TaskBoardContainerItemConfig, TaskBoard } from '@bryntum/taskboard-thin';
4
+ import { processWidgetContent } from './WrapperHelper.js';
5
+ export declare type BryntumColumnPickerButtonProps = {
6
+ adopt?: HTMLElement | string;
7
+ align?: AlignSpec | string;
8
+ alignSelf?: string;
9
+ anchor?: boolean;
10
+ appendTo?: HTMLElement | string;
11
+ ariaDescription?: string;
12
+ ariaLabel?: string;
13
+ badge?: string;
14
+ behaviorType?: 'button' | 'submit' | 'reset';
15
+ bubbleEvents?: object;
16
+ callOnFunctions?: boolean;
17
+ catchEventHandlerExceptions?: boolean;
18
+ centered?: boolean;
19
+ cls?: string | object;
20
+ color?: string;
21
+ column?: number;
22
+ config?: object;
23
+ constrainTo?: HTMLElement | Widget | Rectangle;
24
+ content?: string;
25
+ contentElementCls?: string | object;
26
+ dataField?: string;
27
+ dataset?: Record<string, string>;
28
+ defaultBindProperty?: string;
29
+ detectCSSCompatibilityIssues?: boolean;
30
+ disabled?: boolean | 'inert';
31
+ dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
32
+ draggable?: boolean | {
33
+ handleSelector?: string;
34
+ };
35
+ elementAttributes?: Record<string, string | null>;
36
+ extraData?: any;
37
+ flex?: number | string;
38
+ floating?: boolean;
39
+ height?: string | number;
40
+ hidden?: boolean;
41
+ hideAnimation?: boolean | object;
42
+ href?: string;
43
+ html?: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
44
+ htmlCls?: string | object;
45
+ icon?: string;
46
+ iconAlign?: 'start' | 'end';
47
+ id?: string;
48
+ ignoreParentReadOnly?: boolean;
49
+ insertBefore?: HTMLElement | string;
50
+ insertFirst?: HTMLElement | string;
51
+ keyMap?: Record<string, KeyMapConfig>;
52
+ listeners?: ColumnPickerButtonListeners;
53
+ localeClass?: typeof Base;
54
+ localizable?: boolean;
55
+ localizableProperties?: string[];
56
+ margin?: number | string;
57
+ maskDefaults?: MaskConfig;
58
+ masked?: boolean | string | MaskConfig;
59
+ maxHeight?: string | number;
60
+ maximizeOnMobile?: number | string;
61
+ maxWidth?: string | number;
62
+ menu?: Record<string, MenuItemEntry | TaskBoardContainerItemConfig> | (MenuItemEntry | TaskBoardContainerItemConfig)[] | MenuConfig | PopupConfig;
63
+ menuIcon?: string;
64
+ minHeight?: string | number;
65
+ minWidth?: string | number;
66
+ monitorResize?: boolean | {
67
+ immediate?: boolean;
68
+ };
69
+ owner?: Widget | any;
70
+ positioned?: boolean;
71
+ pressed?: boolean;
72
+ pressedCls?: string;
73
+ pressedIcon?: string;
74
+ preventTooltipOnTouch?: boolean;
75
+ readOnly?: boolean;
76
+ relayStoreEvents?: boolean;
77
+ rendition?: 'elevated' | 'filled' | 'tonal' | 'outlined' | 'text' | string;
78
+ ripple?: boolean | {
79
+ delegate?: string;
80
+ color?: string;
81
+ radius?: number;
82
+ clip?: string;
83
+ };
84
+ rootElement?: ShadowRoot | HTMLElement;
85
+ rtl?: boolean;
86
+ scrollable?: boolean | ScrollerConfig | Scroller;
87
+ scrollAction?: 'hide' | 'realign' | null;
88
+ showAnimation?: boolean | object;
89
+ showTooltipWhenDisabled?: boolean;
90
+ span?: number;
91
+ split?: boolean | 'mouseover' | 'hover';
92
+ supportsPressedClick?: boolean;
93
+ tab?: boolean | TabConfig;
94
+ tabIndex?: number;
95
+ tag?: string;
96
+ target?: string;
97
+ taskBoard?: TaskBoard;
98
+ text?: string | DomConfig | DomConfig[];
99
+ textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
100
+ title?: string;
101
+ toggleable?: boolean;
102
+ toggleGroup?: string;
103
+ tooltip?: string | TooltipConfig | null;
104
+ type?: 'columnpickerbutton';
105
+ ui?: string | object;
106
+ weight?: number;
107
+ width?: string | number;
108
+ x?: number;
109
+ y?: number;
110
+ onAction?: ((event: {
111
+ source: Button;
112
+ event: Event;
113
+ domEvent: Event;
114
+ }) => void) | string;
115
+ onBeforeDestroy?: ((event: {
116
+ source: Base;
117
+ }) => void) | string;
118
+ onBeforeHide?: ((event: {
119
+ source: Widget;
120
+ }) => Promise<boolean> | boolean | void) | string;
121
+ onBeforeShow?: ((event: {
122
+ source: Widget | any;
123
+ }) => Promise<boolean> | boolean | void) | string;
124
+ onBeforeShowMenu?: ((event: {
125
+ source: Button;
126
+ menu: Menu;
127
+ userAction: boolean;
128
+ domEvent: Event;
129
+ }) => Promise<boolean> | boolean | void) | string;
130
+ onBeforeToggle?: ((event: {
131
+ source: Button;
132
+ pressed: boolean;
133
+ userAction: boolean;
134
+ domEvent: Event;
135
+ }) => Promise<boolean> | boolean | void) | string;
136
+ onCatchAll?: ((event: {
137
+ [key: string]: any;
138
+ type: string;
139
+ }) => void) | string;
140
+ onClick?: ((event: {
141
+ source: Button;
142
+ event: Event;
143
+ domEvent: Event;
144
+ }) => void) | string;
145
+ onDestroy?: ((event: {
146
+ source: Base;
147
+ }) => void) | string;
148
+ onElementCreated?: ((event: {
149
+ element: HTMLElement;
150
+ }) => void) | string;
151
+ onFocusIn?: ((event: {
152
+ source: Widget;
153
+ fromElement: HTMLElement;
154
+ toElement: HTMLElement;
155
+ fromWidget: Widget;
156
+ toWidget: Widget;
157
+ backwards: boolean;
158
+ }) => void) | string;
159
+ onFocusOut?: ((event: {
160
+ source: Widget;
161
+ fromElement: HTMLElement;
162
+ toElement: HTMLElement;
163
+ fromWidget: Widget;
164
+ toWidget: Widget;
165
+ backwards: boolean;
166
+ }) => void) | string;
167
+ onHide?: ((event: {
168
+ source: Widget;
169
+ }) => void) | string;
170
+ onPaint?: ((event: {
171
+ source: Widget;
172
+ firstPaint: boolean;
173
+ }) => void) | string;
174
+ onReadOnly?: ((event: {
175
+ readOnly: boolean;
176
+ }) => void) | string;
177
+ onRecompose?: (() => void) | string;
178
+ onResize?: ((event: {
179
+ source: Widget;
180
+ width: number;
181
+ height: number;
182
+ oldWidth: number;
183
+ oldHeight: number;
184
+ }) => void) | string;
185
+ onShow?: ((event: {
186
+ source: Widget;
187
+ }) => void) | string;
188
+ onToggle?: ((event: {
189
+ source: Button;
190
+ pressed: boolean;
191
+ userAction: boolean;
192
+ domEvent: Event;
193
+ }) => void) | string;
194
+ };
195
+ export declare class BryntumColumnPickerButton extends React.Component<BryntumColumnPickerButtonProps> {
196
+ static instanceClass: typeof ColumnPickerButton;
197
+ static instanceName: string;
198
+ processWidgetContent: typeof processWidgetContent;
199
+ static configNames: string[];
200
+ static propertyConfigNames: string[];
201
+ static propertyNames: string[];
202
+ instance: ColumnPickerButton;
203
+ element: HTMLElement;
204
+ componentDidMount(): void;
205
+ componentWillUnmount(): void;
206
+ shouldComponentUpdate(nextProps: Readonly<BryntumColumnPickerButtonProps>, nextState: Readonly<{}>): boolean;
207
+ render(): React.ReactNode;
208
+ }