@bryntum/scheduler-angular-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 (36) hide show
  1. package/README.md +44 -0
  2. package/bryntum-scheduler-angular-thin.d.ts +5 -0
  3. package/bundles/bryntum-scheduler-angular-thin.umd.js +18832 -0
  4. package/bundles/bryntum-scheduler-angular-thin.umd.js.map +1 -0
  5. package/esm2015/bryntum-scheduler-angular-thin.js +5 -0
  6. package/esm2015/lib/bryntum-event-color-field.component.js +795 -0
  7. package/esm2015/lib/bryntum-project-combo.component.js +937 -0
  8. package/esm2015/lib/bryntum-resource-combo.component.js +937 -0
  9. package/esm2015/lib/bryntum-resource-filter.component.js +743 -0
  10. package/esm2015/lib/bryntum-scheduler-base.component.js +4589 -0
  11. package/esm2015/lib/bryntum-scheduler-date-picker.component.js +1021 -0
  12. package/esm2015/lib/bryntum-scheduler-project-model.component.js +365 -0
  13. package/esm2015/lib/bryntum-scheduler.component.js +4593 -0
  14. package/esm2015/lib/bryntum-timeline-histogram.component.js +2888 -0
  15. package/esm2015/lib/bryntum-undo-redo.component.js +698 -0
  16. package/esm2015/lib/bryntum-view-preset-combo.component.js +746 -0
  17. package/esm2015/lib/scheduler.module.js +74 -0
  18. package/esm2015/lib/wrapper.helper.js +74 -0
  19. package/esm2015/public-api.js +16 -0
  20. package/fesm2015/bryntum-scheduler-angular-thin.js +18371 -0
  21. package/fesm2015/bryntum-scheduler-angular-thin.js.map +1 -0
  22. package/lib/bryntum-event-color-field.component.d.ts +966 -0
  23. package/lib/bryntum-project-combo.component.d.ts +1202 -0
  24. package/lib/bryntum-resource-combo.component.d.ts +1205 -0
  25. package/lib/bryntum-resource-filter.component.d.ts +888 -0
  26. package/lib/bryntum-scheduler-base.component.d.ts +5014 -0
  27. package/lib/bryntum-scheduler-date-picker.component.d.ts +1363 -0
  28. package/lib/bryntum-scheduler-project-model.component.d.ts +392 -0
  29. package/lib/bryntum-scheduler.component.d.ts +5016 -0
  30. package/lib/bryntum-timeline-histogram.component.d.ts +3312 -0
  31. package/lib/bryntum-undo-redo.component.d.ts +847 -0
  32. package/lib/bryntum-view-preset-combo.component.d.ts +885 -0
  33. package/lib/scheduler.module.d.ts +17 -0
  34. package/lib/wrapper.helper.d.ts +26 -0
  35. package/package.json +33 -0
  36. package/public-api.d.ts +12 -0
@@ -0,0 +1,966 @@
1
+ /**
2
+ * Angular wrapper for Bryntum EventColorField
3
+ */
4
+ import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
5
+ import { AlignSpec, Base, ColorDescriptor, DomConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
6
+ import { SchedulerContainerItemConfig, EventColorField, EventColorFieldListeners } from '@bryntum/scheduler-thin';
7
+ import * as i0 from "@angular/core";
8
+ export declare type BryntumEventColorFieldProps = {
9
+ /**
10
+ * Adds an option in the picker to set no background color
11
+ */
12
+ addNoColorItem?: boolean;
13
+ /**
14
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
15
+ * content will be placed inside this element.
16
+ * ...
17
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-adopt)
18
+ */
19
+ adopt?: HTMLElement | string;
20
+ /**
21
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
22
+ * ...
23
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-align)
24
+ */
25
+ align?: AlignSpec | string;
26
+ /**
27
+ * When this widget is a child of a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container), it will by default be participating in a
28
+ * flexbox layout. This config allows you to set this widget's
29
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
30
+ */
31
+ alignSelf?: string;
32
+ /**
33
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*
34
+ * `true` to show a connector arrow pointing to the align target.
35
+ */
36
+ anchor?: boolean;
37
+ /**
38
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
39
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element).
40
+ */
41
+ appendTo?: HTMLElement | string;
42
+ /**
43
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
44
+ * into an element which will be linked using the `aria-describedby` attribute.
45
+ * ...
46
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ariaDescription)
47
+ */
48
+ ariaDescription?: string;
49
+ /**
50
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
51
+ * the `aria-label` attribute.
52
+ * ...
53
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ariaLabel)
54
+ */
55
+ ariaLabel?: string;
56
+ /**
57
+ * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to
58
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
59
+ */
60
+ autoComplete?: string;
61
+ /**
62
+ * Configure as `true` to have the picker expand upon focus enter.
63
+ */
64
+ autoExpand?: boolean;
65
+ /**
66
+ * Specify `true` to auto select field contents on focus
67
+ */
68
+ autoSelect?: boolean;
69
+ /**
70
+ * Initial text to show in badge.
71
+ */
72
+ badge?: string;
73
+ /**
74
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
75
+ * hierarchy when triggered.
76
+ * ...
77
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-bubbleEvents)
78
+ */
79
+ bubbleEvents?: object;
80
+ /**
81
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
82
+ * ...
83
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-callOnFunctions)
84
+ */
85
+ callOnFunctions?: boolean;
86
+ /**
87
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
88
+ * application state is undefined. Code which follows the event handler will *not* be executed.
89
+ * ...
90
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-catchEventHandlerExceptions)
91
+ */
92
+ catchEventHandlerExceptions?: boolean;
93
+ /**
94
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
95
+ * Set to `true` to centre the Widget in browser viewport space.
96
+ */
97
+ centered?: boolean;
98
+ /**
99
+ * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-readOnly). The trigger is available
100
+ * in the [triggers](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
101
+ * configures the `clear` [trigger](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers).
102
+ */
103
+ clearable?: boolean | FieldTriggerConfig;
104
+ /**
105
+ * Custom CSS classes to add to element.
106
+ * May be specified as a space separated string, or as an object in which property names
107
+ * with truthy values are used as the class names:
108
+ * ...
109
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-cls)
110
+ */
111
+ cls?: string | object;
112
+ /**
113
+ * The `colors` property can be an array of string CSS colors or of objects with `color`
114
+ * and `text` properties from which the user can chose from. This will override the
115
+ * [pickers default colors](https://bryntum.com/products/scheduler/docs/api/Core/widget/ColorPicker#config-colors).
116
+ * ...
117
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-colors)
118
+ */
119
+ colors?: (string | ColorDescriptor)[];
120
+ /**
121
+ * Programmatic control over which column to start in when used in a grid layout.
122
+ */
123
+ column?: number;
124
+ config?: object;
125
+ /**
126
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
127
+ * Element, Widget or Rectangle to which this Widget is constrained.
128
+ */
129
+ constrainTo?: HTMLElement | Widget | Rectangle;
130
+ /**
131
+ * The configuration for additional items associated to this field. This is typically used to add contextual
132
+ * fields related to a [checkbox](https://bryntum.com/products/scheduler/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
133
+ * these classes for examples of nested fields.
134
+ * ...
135
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-container)
136
+ */
137
+ container?: Record<string, SchedulerContainerItemConfig> | SchedulerContainerItemConfig[] | FieldContainerConfig | FieldContainer;
138
+ /**
139
+ * The config controls how the value of nested items are handled when a parent container gets or sets its
140
+ * [values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).
141
+ * ...
142
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-containValues)
143
+ * @param {Core.widget.Field} field Field instance
144
+ * @returns {boolean}
145
+ */
146
+ containValues?: boolean | string | ((field: Field) => boolean);
147
+ /**
148
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
149
+ * May be specified as a space separated string, or as an object in which property names
150
+ * with truthy values are used as the class names:
151
+ * ...
152
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-contentElementCls)
153
+ */
154
+ contentElementCls?: string | object;
155
+ /**
156
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
157
+ * field on the expanded record to use for populating this widget's store (if applicable)
158
+ */
159
+ dataField?: string;
160
+ /**
161
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
162
+ */
163
+ dataset?: Record<string, string>;
164
+ /**
165
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
166
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
167
+ */
168
+ defaultBindProperty?: string;
169
+ /**
170
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
171
+ * ...
172
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-detectCSSCompatibilityIssues)
173
+ */
174
+ detectCSSCompatibilityIssues?: boolean;
175
+ /**
176
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
177
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
178
+ * ...
179
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-disabled)
180
+ */
181
+ disabled?: boolean | 'inert';
182
+ /**
183
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel)
184
+ * [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
185
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
186
+ * body. Such widgets are called "edge strips".
187
+ * ...
188
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-dock)
189
+ */
190
+ dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
191
+ /**
192
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
193
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
194
+ * property which controls when a drag should start.
195
+ * ...
196
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-draggable)
197
+ */
198
+ draggable?: boolean | {
199
+ handleSelector?: string;
200
+ };
201
+ /**
202
+ * An object specifying attributes to assign to the root element of this widget.
203
+ * Set `null` value to attribute to remove it.
204
+ * ...
205
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-elementAttributes)
206
+ */
207
+ elementAttributes?: Record<string, string | null>;
208
+ extraData?: any;
209
+ /**
210
+ * When this widget is a child of a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container), it will by default be participating in a
211
+ * flexbox layout. This config allows you to set this widget's
212
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
213
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
214
+ * numeric-only values are interpreted as the `flex-grow` value.
215
+ */
216
+ flex?: number | string;
217
+ /**
218
+ * Set to `true` to move the widget out of the document flow and position it
219
+ * absolutely in browser viewport space.
220
+ */
221
+ floating?: boolean;
222
+ /**
223
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
224
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
225
+ * cases this config is convenient.
226
+ */
227
+ height?: string | number;
228
+ /**
229
+ * Configure with true to make widget initially hidden.
230
+ */
231
+ hidden?: boolean;
232
+ /**
233
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
234
+ * ...
235
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-hideAnimation)
236
+ */
237
+ hideAnimation?: boolean | object;
238
+ /**
239
+ * Specify `true` to highlight field after external value changes
240
+ */
241
+ highlightExternalChange?: boolean;
242
+ /**
243
+ * An optional string to display inside the input field as an overlay. This can be useful for displaying
244
+ * a field's units.
245
+ * ...
246
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-hint)
247
+ * @param {object} data A data object
248
+ * @param {Core.widget.Field} data.source A reference to the field instance
249
+ * @param {any} data.value The current value of the field
250
+ * @returns {string}
251
+ */
252
+ hint?: string | ((data: {
253
+ source: Field;
254
+ value: any;
255
+ }) => string);
256
+ /**
257
+ * This config is similar to [hint](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
258
+ * Since this can allow malicious content to be executed, be sure not to include user-entered data or to
259
+ * encode such data (see [encodeHtml](https://bryntum.com/products/scheduler/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
260
+ * ...
261
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-hintHtml)
262
+ * @param {object} data A data object
263
+ * @param {Core.widget.Field} data.source A reference to the field instance
264
+ * @param {any} data.value The current value of the field
265
+ * @returns {string}
266
+ */
267
+ hintHtml?: string | ((data: {
268
+ source: Field;
269
+ value: any;
270
+ }) => string);
271
+ /**
272
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
273
+ */
274
+ id?: string;
275
+ /**
276
+ * Determines if the widgets read-only state should be controlled by its parent.
277
+ * ...
278
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ignoreParentReadOnly)
279
+ */
280
+ ignoreParentReadOnly?: boolean;
281
+ /**
282
+ * Set this config to `true` to always display items horizontally along with this field. This assigns an
283
+ * [hbox](https://bryntum.com/products/scheduler/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
284
+ * [container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-container).
285
+ * ...
286
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-inline)
287
+ */
288
+ inline?: boolean;
289
+ /**
290
+ * Text alignment for the input field.
291
+ */
292
+ inputAlign?: string;
293
+ /**
294
+ * Sets custom attributes of the underlying input element. For more information, please refer to
295
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)
296
+ */
297
+ inputAttributes?: Record<string, string>;
298
+ /**
299
+ * If you need to use something else than a default `input` element, as the input element, provide the tag
300
+ * name here. Please note that this is used for advanced usage only, for example when using WebComponents
301
+ * (custom elements), and that the configured element must fulfil the same contract as a regular input
302
+ * element.
303
+ */
304
+ inputTag?: string;
305
+ /**
306
+ * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).
307
+ */
308
+ inputType?: string;
309
+ /**
310
+ * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any
311
+ * triggers. If a number is specified, `px` will be used.
312
+ */
313
+ inputWidth?: string | number;
314
+ /**
315
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
316
+ */
317
+ insertBefore?: HTMLElement | string;
318
+ /**
319
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
320
+ */
321
+ insertFirst?: HTMLElement | string;
322
+ /**
323
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
324
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
325
+ * are the name of the instance method to call when the keystroke is received.
326
+ * ...
327
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-keyMap)
328
+ */
329
+ keyMap?: Record<string, KeyMapConfig>;
330
+ /**
331
+ * The delay in milliseconds to wait after the last keystroke before triggering a change event.
332
+ * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
333
+ * immediate feedback, change will still be triggered on blur).
334
+ * ...
335
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-keyStrokeChangeDelay)
336
+ */
337
+ keyStrokeChangeDelay?: number;
338
+ /**
339
+ * Label, prepended to field
340
+ */
341
+ label?: string;
342
+ /**
343
+ * CSS class name or class names to add to any configured [label](https://bryntum.com/products/scheduler/docs/api/Core/widget/mixin/Labelable#config-label)
344
+ */
345
+ labelCls?: string | object;
346
+ /**
347
+ * Label position, either 'before' the field or 'above' the field
348
+ * ...
349
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-labelPosition)
350
+ */
351
+ labelPosition?: 'before' | 'above' | null;
352
+ /**
353
+ * The labels to add either before or after the input field.
354
+ * Each label may have the following properties:
355
+ * ...
356
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-labels)
357
+ */
358
+ labels?: object[];
359
+ /**
360
+ * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.
361
+ */
362
+ labelWidth?: string | number;
363
+ /**
364
+ * The listener set for this object.
365
+ * ...
366
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-listeners)
367
+ */
368
+ listeners?: EventColorFieldListeners;
369
+ /**
370
+ * A class translations of which are used for translating this entity.
371
+ * This is often used when translations of an item are defined on its container class.
372
+ * For example:
373
+ * ...
374
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-localeClass)
375
+ */
376
+ localeClass?: typeof Base;
377
+ /**
378
+ * Set to `false` to disable localization of this object.
379
+ */
380
+ localizable?: boolean;
381
+ /**
382
+ * List of properties which values should be translated automatically upon a locale applying.
383
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
384
+ * you could use 'localeKey' meta configuration.
385
+ * Example:
386
+ * ...
387
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-localizableProperties)
388
+ */
389
+ localizableProperties?: string[];
390
+ /**
391
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
392
+ * numeric-only values are interpreted as pixels.
393
+ */
394
+ margin?: number | string;
395
+ /**
396
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) created for the
397
+ * [masked](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
398
+ * values.
399
+ */
400
+ maskDefaults?: MaskConfig;
401
+ /**
402
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
403
+ * [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) config object.
404
+ */
405
+ masked?: boolean | string | MaskConfig;
406
+ /**
407
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
408
+ * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
409
+ */
410
+ maxHeight?: string | number;
411
+ /**
412
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
413
+ * ...
414
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-maximizeOnMobile)
415
+ */
416
+ maximizeOnMobile?: number | string;
417
+ /**
418
+ * The max number of characters for the input field
419
+ */
420
+ maxLength?: number;
421
+ /**
422
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
423
+ * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
424
+ */
425
+ maxWidth?: string | number;
426
+ /**
427
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
428
+ * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
429
+ */
430
+ minHeight?: string | number;
431
+ /**
432
+ * The min number of characters for the input field
433
+ */
434
+ minLength?: number;
435
+ /**
436
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
437
+ * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
438
+ */
439
+ minWidth?: string | number;
440
+ /**
441
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
442
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
443
+ * layout.
444
+ * ...
445
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-monitorResize)
446
+ */
447
+ monitorResize?: boolean | {
448
+ immediate?: boolean;
449
+ };
450
+ /**
451
+ * Name of the field which is used as a key to get/set values from/to the field.
452
+ * Used prior to [ref](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
453
+ * [Container.values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).
454
+ * ...
455
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-name)
456
+ */
457
+ name?: string;
458
+ /**
459
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
460
+ * [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
461
+ * the owner is <strong>always</strong> the encapsulating Container.
462
+ * ...
463
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-owner)
464
+ */
465
+ owner?: Widget | any;
466
+ /**
467
+ * The name of the element property to which the picker should size and align itself.
468
+ */
469
+ pickerAlignElement?: string;
470
+ /**
471
+ * Text to display in empty field.
472
+ */
473
+ placeholder?: string;
474
+ /**
475
+ * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement), but must
476
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
477
+ * widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
478
+ * ...
479
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-positioned)
480
+ */
481
+ positioned?: boolean;
482
+ /**
483
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
484
+ * menu on click etc, since the tooltip would be displayed at the same time.
485
+ */
486
+ preventTooltipOnTouch?: boolean;
487
+ /**
488
+ * Makes the field unmodifiable by user action. The input area is not editable, and triggers
489
+ * are unresponsive.
490
+ * ...
491
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-readOnly)
492
+ */
493
+ readOnly?: boolean;
494
+ relayStoreEvents?: boolean;
495
+ /**
496
+ * Predefined style to use for the field. Possible values are:
497
+ * ...
498
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-rendition)
499
+ */
500
+ rendition?: 'outlined' | 'filled' | string;
501
+ /**
502
+ * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will
503
+ * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.
504
+ */
505
+ required?: boolean;
506
+ /**
507
+ * If this field is not [readOnly](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
508
+ * the `ESCAPE` key after editing the field will revert the field to the value it had when
509
+ * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-clearable)
510
+ * behaviour will be activated.
511
+ */
512
+ revertOnEscape?: boolean;
513
+ /**
514
+ * Configure as `true` to have the component display a translucent ripple when its
515
+ * [focusElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
516
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
517
+ * ...
518
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ripple)
519
+ */
520
+ ripple?: boolean | {
521
+ delegate?: string;
522
+ color?: string;
523
+ radius?: number;
524
+ clip?: string;
525
+ };
526
+ /**
527
+ * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
528
+ */
529
+ rootElement?: ShadowRoot | HTMLElement;
530
+ /**
531
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
532
+ * ...
533
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-rtl)
534
+ */
535
+ rtl?: boolean;
536
+ /**
537
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
538
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
539
+ */
540
+ scrollAction?: 'hide' | 'realign' | null;
541
+ /**
542
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
543
+ * ...
544
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-showAnimation)
545
+ */
546
+ showAnimation?: boolean | object;
547
+ /**
548
+ * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-required).
549
+ */
550
+ showRequiredIndicator?: string;
551
+ /**
552
+ * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-disabled)
553
+ */
554
+ showTooltipWhenDisabled?: boolean;
555
+ /**
556
+ * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`
557
+ * to the user).
558
+ */
559
+ skipValidation?: boolean;
560
+ /**
561
+ * Programmatic control over how many columns to span when used in a grid layout.
562
+ */
563
+ span?: number;
564
+ /**
565
+ * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to
566
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
567
+ */
568
+ spellCheck?: boolean;
569
+ /**
570
+ * A configuration for the [tab](https://bryntum.com/products/scheduler/docs/api/Core/widget/Tab) created for this widget when it is placed in a
571
+ * [TabPanel](https://bryntum.com/products/scheduler/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
572
+ * this widget:
573
+ * ...
574
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-tab)
575
+ */
576
+ tab?: boolean | TabConfig;
577
+ /**
578
+ * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`
579
+ * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
580
+ * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
581
+ * to the element programmatically.
582
+ * ...
583
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-tabIndex)
584
+ */
585
+ tabIndex?: number;
586
+ /**
587
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
588
+ * ...
589
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-textAlign)
590
+ */
591
+ textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
592
+ /**
593
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
594
+ */
595
+ title?: string;
596
+ /**
597
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
598
+ * ...
599
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-tooltip)
600
+ */
601
+ tooltip?: string | TooltipConfig | null;
602
+ /**
603
+ * The triggers to add either before or after the input field. Each property name is the reference by which
604
+ * an instantiated Trigger Widget may be retrieved from the live `triggers` property.
605
+ * ...
606
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-triggers)
607
+ */
608
+ triggers?: Record<string, FieldTriggerConfig> | Record<string, Widget>;
609
+ type?: 'eventcolorfield';
610
+ /**
611
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
612
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
613
+ * values are used as the class names.
614
+ * ...
615
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-ui)
616
+ */
617
+ ui?: string | object;
618
+ /**
619
+ * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press
620
+ * or similar.
621
+ */
622
+ validateOnInput?: boolean;
623
+ /**
624
+ * Default value
625
+ */
626
+ value?: string;
627
+ /**
628
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container).
629
+ * Higher weights go further down.
630
+ */
631
+ weight?: number;
632
+ /**
633
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
634
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
635
+ * this config is convenient.
636
+ */
637
+ width?: string | number;
638
+ /**
639
+ * The x position for the widget.
640
+ * ...
641
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-x)
642
+ */
643
+ x?: number;
644
+ /**
645
+ * The y position for the widget.
646
+ * ...
647
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#config-y)
648
+ */
649
+ y?: number;
650
+ };
651
+ export declare class BryntumEventColorFieldComponent implements OnInit, OnDestroy {
652
+ static instanceClass: typeof EventColorField;
653
+ static instanceName: string;
654
+ private static bryntumEvents;
655
+ private static bryntumFeatureNames;
656
+ private static bryntumConfigs;
657
+ private static bryntumConfigsOnly;
658
+ private static bryntumProps;
659
+ private elementRef;
660
+ instance: EventColorField;
661
+ private bryntumConfig;
662
+ constructor(element: ElementRef);
663
+ adopt: HTMLElement | string;
664
+ align: AlignSpec | string;
665
+ anchor: boolean;
666
+ ariaDescription: string;
667
+ ariaLabel: string;
668
+ autoComplete: string;
669
+ autoExpand: boolean;
670
+ autoSelect: boolean;
671
+ bubbleEvents: object;
672
+ centered: boolean;
673
+ clearable: boolean | FieldTriggerConfig;
674
+ config: object;
675
+ constrainTo: HTMLElement | Widget | Rectangle;
676
+ container: Record<string, SchedulerContainerItemConfig> | SchedulerContainerItemConfig[] | FieldContainerConfig | FieldContainer;
677
+ containValues: boolean | string | ((field: Field) => boolean);
678
+ contentElementCls: string | object;
679
+ dataField: string;
680
+ defaultBindProperty: string;
681
+ detectCSSCompatibilityIssues: boolean;
682
+ dock: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
683
+ draggable: boolean | {
684
+ handleSelector?: string;
685
+ };
686
+ elementAttributes: Record<string, string | null>;
687
+ floating: boolean;
688
+ hideAnimation: boolean | object;
689
+ highlightExternalChange: boolean;
690
+ hint: string | ((data: {
691
+ source: Field;
692
+ value: any;
693
+ }) => string);
694
+ hintHtml: string | ((data: {
695
+ source: Field;
696
+ value: any;
697
+ }) => string);
698
+ ignoreParentReadOnly: boolean;
699
+ inline: boolean;
700
+ inputAlign: string;
701
+ inputAttributes: Record<string, string>;
702
+ inputTag: string;
703
+ inputType: string;
704
+ inputWidth: string | number;
705
+ keyStrokeChangeDelay: number;
706
+ labelCls: string | object;
707
+ labelPosition: 'before' | 'above' | null;
708
+ labels: object[];
709
+ labelWidth: string | number;
710
+ listeners: EventColorFieldListeners;
711
+ localeClass: typeof Base;
712
+ localizable: boolean;
713
+ localizableProperties: string[];
714
+ maskDefaults: MaskConfig;
715
+ masked: boolean | string | MaskConfig;
716
+ maxLength: number;
717
+ minLength: number;
718
+ monitorResize: boolean | {
719
+ immediate?: boolean;
720
+ };
721
+ name: string;
722
+ owner: Widget | any;
723
+ pickerAlignElement: string;
724
+ positioned: boolean;
725
+ preventTooltipOnTouch: boolean;
726
+ relayStoreEvents: boolean;
727
+ revertOnEscape: boolean;
728
+ ripple: boolean | {
729
+ delegate?: string;
730
+ color?: string;
731
+ radius?: number;
732
+ clip?: string;
733
+ };
734
+ rootElement: ShadowRoot | HTMLElement;
735
+ scrollAction: 'hide' | 'realign' | null;
736
+ showAnimation: boolean | object;
737
+ showTooltipWhenDisabled: boolean;
738
+ skipValidation: boolean;
739
+ spellCheck: boolean;
740
+ tab: boolean | TabConfig;
741
+ tabIndex: number;
742
+ textAlign: 'left' | 'center' | 'right' | 'start' | 'end';
743
+ title: string;
744
+ type: 'eventcolorfield';
745
+ ui: string | object;
746
+ validateOnInput: boolean;
747
+ weight: number;
748
+ addNoColorItem: boolean;
749
+ alignSelf: string;
750
+ appendTo: HTMLElement | string;
751
+ badge: string;
752
+ callOnFunctions: boolean;
753
+ catchEventHandlerExceptions: boolean;
754
+ cls: string | object;
755
+ colors: (string | ColorDescriptor)[];
756
+ column: number;
757
+ dataset: object | Record<string, string>;
758
+ disabled: boolean | 'inert';
759
+ extraData: any;
760
+ flex: number | string;
761
+ height: number | string;
762
+ hidden: boolean;
763
+ id: string;
764
+ insertBefore: HTMLElement | string;
765
+ insertFirst: HTMLElement | string;
766
+ keyMap: Record<string, KeyMapConfig>;
767
+ label: string;
768
+ margin: number | string;
769
+ maxHeight: string | number;
770
+ maximizeOnMobile: number | string;
771
+ maxWidth: string | number;
772
+ minHeight: string | number;
773
+ minWidth: string | number;
774
+ placeholder: string;
775
+ readOnly: boolean;
776
+ rendition: 'outlined' | 'filled' | string;
777
+ required: boolean;
778
+ rtl: boolean;
779
+ showRequiredIndicator: string;
780
+ span: number;
781
+ tooltip: string | TooltipConfig | null;
782
+ triggers: Record<string, FieldTriggerConfig> | Record<string, Widget>;
783
+ value: any | string;
784
+ width: number | string;
785
+ x: number;
786
+ y: number;
787
+ anchorSize: number[];
788
+ content: string;
789
+ editable: boolean;
790
+ focusVisible: boolean;
791
+ formula: string;
792
+ html: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
793
+ input: HTMLElement;
794
+ parent: Widget;
795
+ scrollable: Scroller;
796
+ /**
797
+ * User performed default action (typed into this field).
798
+ * @param {object} event Event object
799
+ * @param {Core.widget.Field,any} event.source This Field
800
+ * @param {string,number,boolean,any} event.value This field's value
801
+ * @param {string,number,boolean,any} event.oldValue This field's previous value
802
+ * @param {boolean} event.valid True if this field is in a valid state
803
+ * @param {Event} event.event The triggering DOM event if any
804
+ * @param {Core.data.Model} event.record Selected record. Available for fields with records selection functionality
805
+ * @param {Core.data.Model[]} event.records Selected records as an array. Available for fields with records selection functionality
806
+ * @param {boolean} event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
807
+ * @param {boolean} event.checked
808
+ */
809
+ onAction: any;
810
+ /**
811
+ * Fires before an object is destroyed.
812
+ * @param {object} event Event object
813
+ * @param {Core.Base} event.source The Object that is being destroyed.
814
+ */
815
+ onBeforeDestroy: any;
816
+ /**
817
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
818
+ * @param {object} event Event object
819
+ * @param {Core.widget.Widget} event.source The widget being hidden.
820
+ */
821
+ onBeforeHide: any;
822
+ /**
823
+ * Triggered before a widget is shown. Return `false` to prevent the action.
824
+ * @param {object} event Event object
825
+ * @param {Core.widget.Widget,any} event.source The widget being shown
826
+ */
827
+ onBeforeShow: any;
828
+ /**
829
+ * Fires when any other event is fired from the object.
830
+ * ...
831
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#event-catchAll)
832
+ * @param {object} event Event object
833
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
834
+ * @param {string} event.event.type The type of the event which is caught by the listener
835
+ */
836
+ onCatchAll: any;
837
+ /**
838
+ * Fired when this field's value changes.
839
+ * @param {object} event Event object
840
+ * @param {Core.widget.Field,any} event.source This Field
841
+ * @param {string,number,boolean,any} event.value This field's value
842
+ * @param {string,number,boolean,any} event.oldValue This field's previous value
843
+ * @param {boolean} event.valid True if this field is in a valid state
844
+ * @param {Event} event.event The triggering DOM event if any
845
+ * @param {boolean} event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
846
+ * @param {boolean} event.checked
847
+ */
848
+ onChange: any;
849
+ /**
850
+ * Fired when this field is [cleared](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#function-clear).
851
+ * ...
852
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#event-clear)
853
+ * @param {object} event Event object
854
+ * @param {Core.widget.Field,any} event.source This Field
855
+ */
856
+ onClear: any;
857
+ /**
858
+ * Fires when an object is destroyed.
859
+ * @param {object} event Event object
860
+ * @param {Core.Base} event.source The Object that is being destroyed.
861
+ */
862
+ onDestroy: any;
863
+ /**
864
+ * Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.
865
+ * @param {object} event Event object
866
+ * @param {HTMLElement} event.element The Widget's element.
867
+ */
868
+ onElementCreated: any;
869
+ /**
870
+ * Fired when focus enters this Widget.
871
+ * @param {object} event Event object
872
+ * @param {Core.widget.Widget} event.source This Widget
873
+ * @param {HTMLElement} event.fromElement The element which lost focus.
874
+ * @param {HTMLElement} event.toElement The element which gained focus.
875
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
876
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
877
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
878
+ */
879
+ onFocusIn: any;
880
+ /**
881
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
882
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
883
+ * will not trigger this event. This is when focus exits this widget completely.
884
+ * @param {object} event Event object
885
+ * @param {Core.widget.Widget} event.source This Widget
886
+ * @param {HTMLElement} event.fromElement The element which lost focus.
887
+ * @param {HTMLElement} event.toElement The element which gained focus.
888
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
889
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
890
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
891
+ */
892
+ onFocusOut: any;
893
+ /**
894
+ * Triggered after a widget was hidden
895
+ * @param {object} event Event object
896
+ * @param {Core.widget.Widget} event.source The widget
897
+ */
898
+ onHide: any;
899
+ /**
900
+ * Fired when the user types into this field.
901
+ * @param {object} event Event object
902
+ * @param {Core.widget.Field,any} event.source This field
903
+ * @param {string,number,boolean,any} event.value This field's value
904
+ * @param {Event} event.event The triggering DOM event
905
+ */
906
+ onInput: any;
907
+ /**
908
+ * Triggered when a widget which had been in a non-visible state for any reason
909
+ * achieves visibility.
910
+ * ...
911
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorField#event-paint)
912
+ * @param {object} event Event object
913
+ * @param {Core.widget.Widget} event.source The widget being painted.
914
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
915
+ */
916
+ onPaint: any;
917
+ /**
918
+ * Fired when a Widget's read only state is toggled
919
+ * @param {object} event Event object
920
+ * @param {boolean} event.readOnly Read only or not
921
+ */
922
+ onReadOnly: any;
923
+ /**
924
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
925
+ * to [recompose](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
926
+ */
927
+ onRecompose: any;
928
+ /**
929
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
930
+ * @param {object} event Event object
931
+ * @param {Core.widget.Widget} event.source This Widget
932
+ * @param {number} event.width The new width
933
+ * @param {number} event.height The new height
934
+ * @param {number} event.oldWidth The old width
935
+ * @param {number} event.oldHeight The old height
936
+ */
937
+ onResize: any;
938
+ /**
939
+ * Triggered after a widget is shown.
940
+ * @param {object} event Event object
941
+ * @param {Core.widget.Widget} event.source The widget
942
+ */
943
+ onShow: any;
944
+ /**
945
+ * User clicked one of this field's [triggers](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers)
946
+ * @param {object} event Event object
947
+ * @param {Core.widget.Field,any} event.source This field
948
+ * @param {Core.widget.Widget} event.trigger The trigger activated by click or touch tap.
949
+ */
950
+ onTrigger: any;
951
+ /**
952
+ * Create and append the underlying widget
953
+ */
954
+ ngOnInit(): void;
955
+ /**
956
+ * Watch for changes
957
+ * @param changes
958
+ */
959
+ ngOnChanges(changes: SimpleChanges): void;
960
+ /**
961
+ * Destroy the component
962
+ */
963
+ ngOnDestroy(): void;
964
+ static ɵfac: i0.ɵɵFactoryDeclaration<BryntumEventColorFieldComponent, never>;
965
+ static ɵcmp: i0.ɵɵComponentDeclaration<BryntumEventColorFieldComponent, "bryntum-event-color-field", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoComplete": "autoComplete"; "autoExpand": "autoExpand"; "autoSelect": "autoSelect"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "clearable": "clearable"; "config": "config"; "constrainTo": "constrainTo"; "container": "container"; "containValues": "containValues"; "contentElementCls": "contentElementCls"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "floating": "floating"; "hideAnimation": "hideAnimation"; "highlightExternalChange": "highlightExternalChange"; "hint": "hint"; "hintHtml": "hintHtml"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "inline": "inline"; "inputAlign": "inputAlign"; "inputAttributes": "inputAttributes"; "inputTag": "inputTag"; "inputType": "inputType"; "inputWidth": "inputWidth"; "keyStrokeChangeDelay": "keyStrokeChangeDelay"; "labelCls": "labelCls"; "labelPosition": "labelPosition"; "labels": "labels"; "labelWidth": "labelWidth"; "listeners": "listeners"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "maxLength": "maxLength"; "minLength": "minLength"; "monitorResize": "monitorResize"; "name": "name"; "owner": "owner"; "pickerAlignElement": "pickerAlignElement"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "relayStoreEvents": "relayStoreEvents"; "revertOnEscape": "revertOnEscape"; "ripple": "ripple"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "skipValidation": "skipValidation"; "spellCheck": "spellCheck"; "tab": "tab"; "tabIndex": "tabIndex"; "textAlign": "textAlign"; "title": "title"; "type": "type"; "ui": "ui"; "validateOnInput": "validateOnInput"; "weight": "weight"; "addNoColorItem": "addNoColorItem"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "badge": "badge"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "colors": "colors"; "column": "column"; "dataset": "dataset"; "disabled": "disabled"; "extraData": "extraData"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "label": "label"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "placeholder": "placeholder"; "readOnly": "readOnly"; "rendition": "rendition"; "required": "required"; "rtl": "rtl"; "showRequiredIndicator": "showRequiredIndicator"; "span": "span"; "tooltip": "tooltip"; "triggers": "triggers"; "value": "value"; "width": "width"; "x": "x"; "y": "y"; "anchorSize": "anchorSize"; "content": "content"; "editable": "editable"; "focusVisible": "focusVisible"; "formula": "formula"; "html": "html"; "input": "input"; "parent": "parent"; "scrollable": "scrollable"; }, { "onAction": "onAction"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onChange": "onChange"; "onClear": "onClear"; "onDestroy": "onDestroy"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onInput": "onInput"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onShow": "onShow"; "onTrigger": "onTrigger"; }, never, never>;
966
+ }