@bryntum/gantt-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 (28) hide show
  1. package/README.md +44 -0
  2. package/bryntum-gantt-angular-thin.d.ts +5 -0
  3. package/bundles/bryntum-gantt-angular-thin.umd.js +14832 -0
  4. package/bundles/bryntum-gantt-angular-thin.umd.js.map +1 -0
  5. package/esm2015/bryntum-gantt-angular-thin.js +5 -0
  6. package/esm2015/lib/bryntum-assignment-field.component.js +941 -0
  7. package/esm2015/lib/bryntum-assignment-grid.component.js +2111 -0
  8. package/esm2015/lib/bryntum-calendar-picker.component.js +933 -0
  9. package/esm2015/lib/bryntum-dependency-field.component.js +961 -0
  10. package/esm2015/lib/bryntum-gantt-base.component.js +4219 -0
  11. package/esm2015/lib/bryntum-gantt-project-model.component.js +923 -0
  12. package/esm2015/lib/bryntum-gantt.component.js +4223 -0
  13. package/esm2015/lib/gantt.module.js +54 -0
  14. package/esm2015/lib/wrapper.helper.js +74 -0
  15. package/esm2015/public-api.js +12 -0
  16. package/fesm2015/bryntum-gantt-angular-thin.js +14387 -0
  17. package/fesm2015/bryntum-gantt-angular-thin.js.map +1 -0
  18. package/lib/bryntum-assignment-field.component.d.ts +1225 -0
  19. package/lib/bryntum-assignment-grid.component.d.ts +2292 -0
  20. package/lib/bryntum-calendar-picker.component.d.ts +1200 -0
  21. package/lib/bryntum-dependency-field.component.d.ts +1241 -0
  22. package/lib/bryntum-gantt-base.component.d.ts +4468 -0
  23. package/lib/bryntum-gantt-project-model.component.d.ts +1106 -0
  24. package/lib/bryntum-gantt.component.d.ts +4470 -0
  25. package/lib/gantt.module.d.ts +13 -0
  26. package/lib/wrapper.helper.d.ts +26 -0
  27. package/package.json +33 -0
  28. package/public-api.d.ts +8 -0
@@ -0,0 +1,1241 @@
1
+ /**
2
+ * Angular wrapper for Bryntum DependencyField
3
+ */
4
+ import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
5
+ import { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, DomConfig, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Scroller, Sorter, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
6
+ import { GanttContainerItemConfig, DependencyField, DependencyFieldListeners, DependencyStore } from '@bryntum/gantt-thin';
7
+ import * as i0 from "@angular/core";
8
+ export declare type BryntumDependencyFieldProps = {
9
+ /**
10
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
11
+ * content will be placed inside this element.
12
+ * ...
13
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-adopt)
14
+ */
15
+ adopt?: HTMLElement | string;
16
+ /**
17
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
18
+ * ...
19
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-align)
20
+ */
21
+ align?: AlignSpec | string;
22
+ /**
23
+ * When this widget is a child of a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container), it will by default be participating in a
24
+ * flexbox layout. This config allows you to set this widget's
25
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
26
+ */
27
+ alignSelf?: string;
28
+ /**
29
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*
30
+ * `true` to show a connector arrow pointing to the align target.
31
+ */
32
+ anchor?: boolean;
33
+ /**
34
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
35
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-element).
36
+ */
37
+ appendTo?: HTMLElement | string;
38
+ /**
39
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
40
+ * into an element which will be linked using the `aria-describedby` attribute.
41
+ * ...
42
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ariaDescription)
43
+ */
44
+ ariaDescription?: string;
45
+ /**
46
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
47
+ * the `aria-label` attribute.
48
+ * ...
49
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ariaLabel)
50
+ */
51
+ ariaLabel?: string;
52
+ /**
53
+ * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to
54
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
55
+ */
56
+ autoComplete?: string;
57
+ /**
58
+ * Configure as `true` to have the picker expand upon focus enter.
59
+ */
60
+ autoExpand?: boolean;
61
+ /**
62
+ * Specify `true` to auto select field contents on focus
63
+ */
64
+ autoSelect?: boolean;
65
+ /**
66
+ * Initial text to show in badge.
67
+ */
68
+ badge?: string;
69
+ /**
70
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
71
+ * hierarchy when triggered.
72
+ * ...
73
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-bubbleEvents)
74
+ */
75
+ bubbleEvents?: object;
76
+ /**
77
+ * Enable caching of the last retrieved result until the timeout is reached.
78
+ * ...
79
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-cacheLastResult)
80
+ */
81
+ cacheLastResult?: number | string | Duration | DurationConfig;
82
+ /**
83
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
84
+ * ...
85
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-callOnFunctions)
86
+ */
87
+ callOnFunctions?: boolean;
88
+ /**
89
+ * Configure as `true` to force case matching when filtering the dropdown list based upon the typed value.
90
+ */
91
+ caseSensitive?: boolean;
92
+ /**
93
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
94
+ * application state is undefined. Code which follows the event handler will *not* be executed.
95
+ * ...
96
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-catchEventHandlerExceptions)
97
+ */
98
+ catchEventHandlerExceptions?: boolean;
99
+ /**
100
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
101
+ * Set to `true` to centre the Widget in browser viewport space.
102
+ */
103
+ centered?: boolean;
104
+ /**
105
+ * A config object to configure the [ChipView](https://bryntum.com/products/gantt/docs/api/Core/widget/ChipView) to display the
106
+ * selected value set when [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
107
+ * ...
108
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-chipView)
109
+ */
110
+ chipView?: ChipViewConfig;
111
+ /**
112
+ * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly). The trigger is available
113
+ * in the [triggers](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
114
+ * configures the `clear` [trigger](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-triggers).
115
+ */
116
+ clearable?: boolean | FieldTriggerConfig;
117
+ /**
118
+ * `true` to clear value typed to a multiselect combo when picker is collapsed
119
+ */
120
+ clearTextOnPickerHide?: boolean;
121
+ /**
122
+ * Specify `false` to not clear value typed to a multiselect combo when an item is selected.
123
+ */
124
+ clearTextOnSelection?: boolean;
125
+ /**
126
+ * Set to `true` to clear this field when user empties the input element
127
+ */
128
+ clearWhenInputEmpty?: boolean;
129
+ /**
130
+ * Custom CSS classes to add to element.
131
+ * May be specified as a space separated string, or as an object in which property names
132
+ * with truthy values are used as the class names:
133
+ * ...
134
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-cls)
135
+ */
136
+ cls?: string | object;
137
+ /**
138
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
139
+ * `style` block.
140
+ * ...
141
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-color)
142
+ */
143
+ color?: string;
144
+ /**
145
+ * Programmatic control over which column to start in when used in a grid layout.
146
+ */
147
+ column?: number;
148
+ config?: object;
149
+ /**
150
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
151
+ * Element, Widget or Rectangle to which this Widget is constrained.
152
+ */
153
+ constrainTo?: HTMLElement | Widget | Rectangle;
154
+ /**
155
+ * The configuration for additional items associated to this field. This is typically used to add contextual
156
+ * fields related to a [checkbox](https://bryntum.com/products/gantt/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
157
+ * these classes for examples of nested fields.
158
+ * ...
159
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-container)
160
+ */
161
+ container?: Record<string, GanttContainerItemConfig> | GanttContainerItemConfig[] | FieldContainerConfig | FieldContainer;
162
+ /**
163
+ * The config controls how the value of nested items are handled when a parent container gets or sets its
164
+ * [values](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-values).
165
+ * ...
166
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-containValues)
167
+ * @param {Core.widget.Field} field Field instance
168
+ * @returns {boolean}
169
+ */
170
+ containValues?: boolean | string | ((field: Field) => boolean);
171
+ /**
172
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement).
173
+ * May be specified as a space separated string, or as an object in which property names
174
+ * with truthy values are used as the class names:
175
+ * ...
176
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-contentElementCls)
177
+ */
178
+ contentElementCls?: string | object;
179
+ /**
180
+ * If configured as `true`, this means that when an unmatched string is typed into the
181
+ * combo's input field, and `ENTER`, or the [multiValueSeparator](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
182
+ * a new record will be created using the typed string as the [displayField](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-displayField).
183
+ * ...
184
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-createOnUnmatched)
185
+ * @param {string} name Record name
186
+ * @param {Core.widget.Combo} combo Combo instance
187
+ * @returns {Core.data.Model} New record
188
+ */
189
+ createOnUnmatched?: ((name: string, combo: Combo) => Model) | string | boolean;
190
+ /**
191
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
192
+ * field on the expanded record to use for populating this widget's store (if applicable)
193
+ */
194
+ dataField?: string;
195
+ /**
196
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
197
+ */
198
+ dataset?: Record<string, string>;
199
+ /**
200
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
201
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
202
+ */
203
+ defaultBindProperty?: string;
204
+ /**
205
+ * Delimiter between dependency ids in the field
206
+ */
207
+ delimiter?: string;
208
+ /**
209
+ * A task field (id, wbsCode, sequenceNumber etc) that will be used when displaying and editing linked
210
+ * tasks. Defaults to [Gantt#dependencyIdField](https://bryntum.com/products/gantt/docs/api/Gantt/view/GanttBase#config-dependencyIdField)
211
+ */
212
+ dependencyIdField?: string;
213
+ /**
214
+ * The dependency store
215
+ */
216
+ dependencyStore?: DependencyStore;
217
+ /**
218
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
219
+ * ...
220
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-detectCSSCompatibilityIssues)
221
+ */
222
+ detectCSSCompatibilityIssues?: boolean;
223
+ /**
224
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
225
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
226
+ * ...
227
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-disabled)
228
+ */
229
+ disabled?: boolean | 'inert';
230
+ /**
231
+ * Field used for item text when populating from store
232
+ */
233
+ displayField?: string;
234
+ /**
235
+ * Template function that can be used to customize the displayed value
236
+ * @param {Core.data.Model} record The record to provide a textual value for
237
+ * @param {Core.widget.Combo} combo A reference to this Combo
238
+ * @returns {string,void}
239
+ */
240
+ displayValueRenderer?: (record: Model | ComboModel, combo: Combo) => string | void;
241
+ /**
242
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel)
243
+ * [strips collection](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
244
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
245
+ * body. Such widgets are called "edge strips".
246
+ * ...
247
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-dock)
248
+ */
249
+ dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
250
+ /**
251
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
252
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
253
+ * property which controls when a drag should start.
254
+ * ...
255
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-draggable)
256
+ */
257
+ draggable?: boolean | {
258
+ handleSelector?: string;
259
+ };
260
+ /**
261
+ * User can edit text in text field (otherwise only pick from attached picker)
262
+ */
263
+ editable?: boolean;
264
+ /**
265
+ * An object specifying attributes to assign to the root element of this widget.
266
+ * Set `null` value to attribute to remove it.
267
+ * ...
268
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-elementAttributes)
269
+ */
270
+ elementAttributes?: Record<string, string | null>;
271
+ /**
272
+ * Text to display in the drop down when there are no items in the underlying store.
273
+ * ...
274
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-emptyText)
275
+ */
276
+ emptyText?: string;
277
+ /**
278
+ * A function which creates an array of values for the [filterParamName](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-filterParamName) to pass
279
+ * any filters to the server upon load.
280
+ * ...
281
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-encodeFilterParams)
282
+ * @param {object[]} filters filters
283
+ * @returns {object[]} array of values
284
+ */
285
+ encodeFilterParams?: (filters: object[]) => object[];
286
+ extraData?: any;
287
+ /**
288
+ * Set to `false` to hide the filter field
289
+ */
290
+ filterable?: boolean;
291
+ /**
292
+ * If `false`, filtering will be triggered once you exceed [minChars](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-minChars). To filter only when
293
+ * hitting Enter key, set this to `true`;
294
+ */
295
+ filterOnEnter?: boolean;
296
+ /**
297
+ * The name of an operator type as implemented in [operator](https://bryntum.com/products/gantt/docs/api/Core/util/CollectionFilter#config-operator)
298
+ * to use when filtering the dropdown list based upon the typed value.
299
+ * ...
300
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-filterOperator)
301
+ */
302
+ filterOperator?: CollectionCompareOperator;
303
+ /**
304
+ * If the dropdown is to be populated with a filtered query to a remote server, specify the
305
+ * name of the parameter to pass the typed string here. By default, the string is simply sent
306
+ * as the value of the parameter. For special encoding, configure the combo with [encodeFilterParams](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-encodeFilterParams)
307
+ */
308
+ filterParamName?: string;
309
+ /**
310
+ * When [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`, you may configure `filterSelected` as
311
+ * `true` to hide items in the dropdown when they are added to the selection.
312
+ * It will appear as if the requested item has "moved" into the field's
313
+ * [ChipView](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-chipView).
314
+ */
315
+ filterSelected?: boolean;
316
+ /**
317
+ * When this widget is a child of a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container), it will by default be participating in a
318
+ * flexbox layout. This config allows you to set this widget's
319
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
320
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
321
+ * numeric-only values are interpreted as the `flex-grow` value.
322
+ */
323
+ flex?: number | string;
324
+ /**
325
+ * Set to `true` to move the widget out of the document flow and position it
326
+ * absolutely in browser viewport space.
327
+ */
328
+ floating?: boolean;
329
+ /**
330
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
331
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
332
+ * cases this config is convenient.
333
+ */
334
+ height?: string | number;
335
+ /**
336
+ * Configure with true to make widget initially hidden.
337
+ */
338
+ hidden?: boolean;
339
+ /**
340
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
341
+ * ...
342
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-hideAnimation)
343
+ */
344
+ hideAnimation?: boolean | object;
345
+ /**
346
+ * By default, the picker is hidden on selection in single select mode, and
347
+ * remains to allow more selections when [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
348
+ * Setting this to a `Boolean` value can override that default.
349
+ */
350
+ hidePickerOnSelect?: boolean;
351
+ /**
352
+ * Configure as `true` to hide the expand trigger. This is automatically set to `true` if
353
+ * remote filtering is enabled by setting the [filterParamName](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-filterParamName) config.
354
+ */
355
+ hideTrigger?: boolean;
356
+ /**
357
+ * Specify `true` to highlight field after external value changes
358
+ */
359
+ highlightExternalChange?: boolean;
360
+ /**
361
+ * An optional string to display inside the input field as an overlay. This can be useful for displaying
362
+ * a field's units.
363
+ * ...
364
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-hint)
365
+ * @param {object} data A data object
366
+ * @param {Core.widget.Field} data.source A reference to the field instance
367
+ * @param {any} data.value The current value of the field
368
+ * @returns {string}
369
+ */
370
+ hint?: string | ((data: {
371
+ source: Field;
372
+ value: any;
373
+ }) => string);
374
+ /**
375
+ * This config is similar to [hint](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
376
+ * Since this can allow malicious content to be executed, be sure not to include user-entered data or to
377
+ * encode such data (see [encodeHtml](https://bryntum.com/products/gantt/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
378
+ * ...
379
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-hintHtml)
380
+ * @param {object} data A data object
381
+ * @param {Core.widget.Field} data.source A reference to the field instance
382
+ * @param {any} data.value The current value of the field
383
+ * @returns {string}
384
+ */
385
+ hintHtml?: string | ((data: {
386
+ source: Field;
387
+ value: any;
388
+ }) => string);
389
+ /**
390
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
391
+ */
392
+ id?: string;
393
+ /**
394
+ * Determines if the widgets read-only state should be controlled by its parent.
395
+ * ...
396
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ignoreParentReadOnly)
397
+ */
398
+ ignoreParentReadOnly?: boolean;
399
+ /**
400
+ * Set this config to `true` to always display items horizontally along with this field. This assigns an
401
+ * [hbox](https://bryntum.com/products/gantt/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
402
+ * [container](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-container).
403
+ * ...
404
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-inline)
405
+ */
406
+ inline?: boolean;
407
+ /**
408
+ * Configure this as `true` to render the dropdown list as a permanently visible list
409
+ * in the document flow immediately below the input area instead of as a popup.
410
+ * ...
411
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-inlinePicker)
412
+ */
413
+ inlinePicker?: boolean;
414
+ /**
415
+ * Text alignment for the input field.
416
+ */
417
+ inputAlign?: string;
418
+ /**
419
+ * Sets custom attributes of the underlying input element. For more information, please refer to
420
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)
421
+ */
422
+ inputAttributes?: Record<string, string>;
423
+ /**
424
+ * If you need to use something else than a default `input` element, as the input element, provide the tag
425
+ * name here. Please note that this is used for advanced usage only, for example when using WebComponents
426
+ * (custom elements), and that the configured element must fulfil the same contract as a regular input
427
+ * element.
428
+ */
429
+ inputTag?: string;
430
+ /**
431
+ * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).
432
+ */
433
+ inputType?: string;
434
+ /**
435
+ * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any
436
+ * triggers. If a number is specified, `px` will be used.
437
+ */
438
+ inputWidth?: string | number;
439
+ /**
440
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
441
+ */
442
+ insertBefore?: HTMLElement | string;
443
+ /**
444
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
445
+ */
446
+ insertFirst?: HTMLElement | string;
447
+ /**
448
+ * Rows to display in the dropdown (list items).
449
+ * ...
450
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-items)
451
+ */
452
+ items?: object[] | string[] | object;
453
+ /**
454
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
455
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
456
+ * are the name of the instance method to call when the keystroke is received.
457
+ * ...
458
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-keyMap)
459
+ */
460
+ keyMap?: Record<string, KeyMapConfig>;
461
+ /**
462
+ * The delay in milliseconds to wait after the last keystroke before triggering a change event.
463
+ * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
464
+ * immediate feedback, change will still be triggered on blur).
465
+ * ...
466
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-keyStrokeChangeDelay)
467
+ */
468
+ keyStrokeChangeDelay?: number;
469
+ /**
470
+ * The delay in milliseconds to wait after the last keystroke before filtering the list.
471
+ * ...
472
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-keyStrokeFilterDelay)
473
+ */
474
+ keyStrokeFilterDelay?: number;
475
+ /**
476
+ * Label, prepended to field
477
+ */
478
+ label?: string;
479
+ /**
480
+ * CSS class name or class names to add to any configured [label](https://bryntum.com/products/gantt/docs/api/Core/widget/mixin/Labelable#config-label)
481
+ */
482
+ labelCls?: string | object;
483
+ /**
484
+ * Label position, either 'before' the field or 'above' the field
485
+ * ...
486
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-labelPosition)
487
+ */
488
+ labelPosition?: 'before' | 'above' | null;
489
+ /**
490
+ * The labels to add either before or after the input field.
491
+ * Each label may have the following properties:
492
+ * ...
493
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-labels)
494
+ */
495
+ labels?: object[];
496
+ /**
497
+ * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.
498
+ */
499
+ labelWidth?: string | number;
500
+ /**
501
+ * CSS class to add to picker
502
+ */
503
+ listCls?: string;
504
+ /**
505
+ * The listener set for this object.
506
+ * ...
507
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-listeners)
508
+ */
509
+ listeners?: DependencyFieldListeners;
510
+ /**
511
+ * Template string used to render the list items in the dropdown list
512
+ * ...
513
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-listItemTpl)
514
+ * @param {Core.data.Model} record The record representing the item being rendered
515
+ * @returns {string,void}
516
+ */
517
+ listItemTpl?: (record: Model | ComboModel) => string | void;
518
+ /**
519
+ * A class translations of which are used for translating this entity.
520
+ * This is often used when translations of an item are defined on its container class.
521
+ * For example:
522
+ * ...
523
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-localeClass)
524
+ */
525
+ localeClass?: typeof Base;
526
+ /**
527
+ * Set to `false` to disable localization of this object.
528
+ */
529
+ localizable?: boolean;
530
+ /**
531
+ * List of properties which values should be translated automatically upon a locale applying.
532
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
533
+ * you could use 'localeKey' meta configuration.
534
+ * Example:
535
+ * ...
536
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-localizableProperties)
537
+ */
538
+ localizableProperties?: string[];
539
+ /**
540
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
541
+ * numeric-only values are interpreted as pixels.
542
+ */
543
+ margin?: number | string;
544
+ /**
545
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) created for the
546
+ * [masked](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
547
+ * values.
548
+ */
549
+ maskDefaults?: MaskConfig;
550
+ /**
551
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
552
+ * [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) config object.
553
+ */
554
+ masked?: boolean | string | MaskConfig;
555
+ /**
556
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
557
+ * like [height](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
558
+ */
559
+ maxHeight?: string | number;
560
+ /**
561
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
562
+ * ...
563
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-maximizeOnMobile)
564
+ */
565
+ maximizeOnMobile?: number | string;
566
+ /**
567
+ * The max number of characters for the input field
568
+ */
569
+ maxLength?: number;
570
+ /**
571
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
572
+ * like [width](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
573
+ */
574
+ maxWidth?: string | number;
575
+ /**
576
+ * The minimum string length to trigger the filtering, only relevant when [editable](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-editable) is `true`.
577
+ * ...
578
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-minChars)
579
+ */
580
+ minChars?: number;
581
+ /**
582
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
583
+ * like [height](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
584
+ */
585
+ minHeight?: string | number;
586
+ /**
587
+ * The min number of characters for the input field
588
+ */
589
+ minLength?: number;
590
+ /**
591
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
592
+ * like [width](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
593
+ */
594
+ minWidth?: string | number;
595
+ /**
596
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
597
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
598
+ * layout.
599
+ * ...
600
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-monitorResize)
601
+ */
602
+ monitorResize?: boolean | {
603
+ immediate?: boolean;
604
+ };
605
+ /**
606
+ * Set to `true` to allow selection of multiple values from the dropdown list.
607
+ * ...
608
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-multiSelect)
609
+ */
610
+ multiSelect?: boolean;
611
+ /**
612
+ * A key value which, when typed in a [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) Combo, selects the
613
+ * currently active item in the picker, and clears the input field ready for another
614
+ * match to be typed.
615
+ */
616
+ multiValueSeparator?: string;
617
+ /**
618
+ * Name of the field which is used as a key to get/set values from/to the field.
619
+ * Used prior to [ref](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
620
+ * [Container.values](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-values).
621
+ * ...
622
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-name)
623
+ */
624
+ name?: string;
625
+ /**
626
+ * The other task's relationship with this field's contextual task.
627
+ * This will be `'from'` if we are editing predecessors, and `'to'` if
628
+ * we are editing successors.
629
+ */
630
+ otherSide?: 'from' | 'to';
631
+ /**
632
+ * This field's contextual task's relationship with the other task.
633
+ * This will be `'to'` if we are editing predecessors, and `'from'` if
634
+ * we are editing successors.
635
+ */
636
+ ourSide?: 'from' | 'to';
637
+ /**
638
+ * This implies that the picker will display an anchor pointer, but also means that the picker will align closer
639
+ * to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-pickerAlignElement)
640
+ */
641
+ overlayAnchor?: boolean;
642
+ /**
643
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
644
+ * [items](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
645
+ * the owner is <strong>always</strong> the encapsulating Container.
646
+ * ...
647
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-owner)
648
+ */
649
+ owner?: Widget | any;
650
+ /**
651
+ * Configuration object for the [picker](https://bryntum.com/products/gantt/docs/api/Core/widget/List) on initialization. Returns the
652
+ * [picker](https://bryntum.com/products/gantt/docs/api/Core/widget/List) instance at runtime.
653
+ * ...
654
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-picker)
655
+ */
656
+ picker?: ListConfig | List;
657
+ /**
658
+ * The name of the element property to which the picker should size and align itself.
659
+ */
660
+ pickerAlignElement?: string;
661
+ /**
662
+ * Width of picker, defaults to this combo's [pickerAlignElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-pickerAlignElement) width
663
+ */
664
+ pickerWidth?: number | string;
665
+ /**
666
+ * Text to display in empty field.
667
+ */
668
+ placeholder?: string;
669
+ /**
670
+ * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement), but must
671
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
672
+ * widget's [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement).
673
+ * ...
674
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-positioned)
675
+ */
676
+ positioned?: boolean;
677
+ /**
678
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
679
+ * menu on click etc, since the tooltip would be displayed at the same time.
680
+ */
681
+ preventTooltipOnTouch?: boolean;
682
+ /**
683
+ * Optionally a [Filter](https://bryntum.com/products/gantt/docs/api/Core/util/CollectionFilter) config object which the combo should use for
684
+ * filtering using the typed value.
685
+ * This may use a `filterBy` property to test its `value` against any field in the passed record.
686
+ * ...
687
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-primaryFilter)
688
+ */
689
+ primaryFilter?: CollectionFilterConfig;
690
+ /**
691
+ * Makes the field unmodifiable by user action. The input area is not editable, and triggers
692
+ * are unresponsive.
693
+ * ...
694
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-readOnly)
695
+ */
696
+ readOnly?: boolean;
697
+ relayStoreEvents?: boolean;
698
+ /**
699
+ * Predefined style to use for the field. Possible values are:
700
+ * ...
701
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-rendition)
702
+ */
703
+ rendition?: 'outlined' | 'filled' | string;
704
+ /**
705
+ * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will
706
+ * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.
707
+ */
708
+ required?: boolean;
709
+ /**
710
+ * If this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
711
+ * the `ESCAPE` key after editing the field will revert the field to the value it had when
712
+ * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-clearable)
713
+ * behaviour will be activated.
714
+ */
715
+ revertOnEscape?: boolean;
716
+ /**
717
+ * Configure as `true` to have the component display a translucent ripple when its
718
+ * [focusElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
719
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
720
+ * ...
721
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ripple)
722
+ */
723
+ ripple?: boolean | {
724
+ delegate?: string;
725
+ color?: string;
726
+ radius?: number;
727
+ clip?: string;
728
+ };
729
+ /**
730
+ * 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`
731
+ */
732
+ rootElement?: ShadowRoot | HTMLElement;
733
+ /**
734
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
735
+ * ...
736
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-rtl)
737
+ */
738
+ rtl?: boolean;
739
+ /**
740
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
741
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
742
+ */
743
+ scrollAction?: 'hide' | 'realign' | null;
744
+ /**
745
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
746
+ * ...
747
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-showAnimation)
748
+ */
749
+ showAnimation?: boolean | object;
750
+ /**
751
+ * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-required).
752
+ */
753
+ showRequiredIndicator?: string;
754
+ /**
755
+ * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-disabled)
756
+ */
757
+ showTooltipWhenDisabled?: boolean;
758
+ /**
759
+ * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`
760
+ * to the user).
761
+ */
762
+ skipValidation?: boolean;
763
+ /**
764
+ * The sorters defining how to sort tasks in the drop down list, defaults to sorting by `name` field
765
+ * ascending. See [StoreSort](https://bryntum.com/products/gantt/docs/api/Core/data/mixin/StoreSort) for more information.
766
+ */
767
+ sorters?: Sorter[] | string[];
768
+ /**
769
+ * Programmatic control over how many columns to span when used in a grid layout.
770
+ */
771
+ span?: number;
772
+ /**
773
+ * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to
774
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
775
+ */
776
+ spellCheck?: boolean;
777
+ /**
778
+ * Store used to populate items. Also accepts a Store config object
779
+ */
780
+ store?: Store | StoreConfig;
781
+ /**
782
+ * A configuration for the [tab](https://bryntum.com/products/gantt/docs/api/Core/widget/Tab) created for this widget when it is placed in a
783
+ * [TabPanel](https://bryntum.com/products/gantt/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
784
+ * this widget:
785
+ * ...
786
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-tab)
787
+ */
788
+ tab?: boolean | TabConfig;
789
+ /**
790
+ * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`
791
+ * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
792
+ * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
793
+ * to the element programmatically.
794
+ * ...
795
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-tabIndex)
796
+ */
797
+ tabIndex?: number;
798
+ /**
799
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
800
+ * ...
801
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-textAlign)
802
+ */
803
+ textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
804
+ /**
805
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
806
+ */
807
+ title?: string;
808
+ /**
809
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
810
+ * ...
811
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-tooltip)
812
+ */
813
+ tooltip?: string | TooltipConfig | null;
814
+ /**
815
+ * How to query the store upon click of the expand trigger. Specify one of these values:
816
+ * ...
817
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-triggerAction)
818
+ */
819
+ triggerAction?: 'all' | 'last' | null;
820
+ /**
821
+ * The triggers to add either before or after the input field. Each property name is the reference by which
822
+ * an instantiated Trigger Widget may be retrieved from the live `triggers` property.
823
+ * ...
824
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-triggers)
825
+ */
826
+ triggers?: Record<string, FieldTriggerConfig> | Record<string, Widget>;
827
+ type?: 'dependencyfield';
828
+ /**
829
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
830
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
831
+ * values are used as the class names.
832
+ * ...
833
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ui)
834
+ */
835
+ ui?: string | object;
836
+ /**
837
+ * `true` to cause the field to be in an invalid state while the typed filter string does not match a record in the store.
838
+ */
839
+ validateFilter?: boolean;
840
+ /**
841
+ * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press
842
+ * or similar.
843
+ */
844
+ validateOnInput?: boolean;
845
+ /**
846
+ * The initial value of this Combo box. In single select mode (default) it's a simple string value, for
847
+ * [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) mode, it should be an array of record ids.
848
+ */
849
+ value?: string | number | string[] | number[];
850
+ /**
851
+ * Field used for item value when populating from store. Setting this to `null` will
852
+ * yield the selected record as the Combo's [value](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#property-value).
853
+ * ...
854
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-valueField)
855
+ */
856
+ valueField?: string | null;
857
+ /**
858
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container).
859
+ * Higher weights go further down.
860
+ */
861
+ weight?: number;
862
+ /**
863
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
864
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
865
+ * this config is convenient.
866
+ */
867
+ width?: string | number;
868
+ /**
869
+ * The x position for the widget.
870
+ * ...
871
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-x)
872
+ */
873
+ x?: number;
874
+ /**
875
+ * The y position for the widget.
876
+ * ...
877
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-y)
878
+ */
879
+ y?: number;
880
+ };
881
+ export declare class BryntumDependencyFieldComponent implements OnInit, OnDestroy {
882
+ static instanceClass: typeof DependencyField;
883
+ static instanceName: string;
884
+ private static bryntumEvents;
885
+ private static bryntumFeatureNames;
886
+ private static bryntumConfigs;
887
+ private static bryntumConfigsOnly;
888
+ private static bryntumProps;
889
+ private elementRef;
890
+ instance: DependencyField;
891
+ private bryntumConfig;
892
+ constructor(element: ElementRef);
893
+ adopt: HTMLElement | string;
894
+ align: AlignSpec | string;
895
+ anchor: boolean;
896
+ ariaDescription: string;
897
+ ariaLabel: string;
898
+ autoComplete: string;
899
+ autoExpand: boolean;
900
+ autoSelect: boolean;
901
+ bubbleEvents: object;
902
+ cacheLastResult: number | string | Duration | DurationConfig;
903
+ caseSensitive: boolean;
904
+ centered: boolean;
905
+ chipView: ChipViewConfig;
906
+ clearable: boolean | FieldTriggerConfig;
907
+ clearTextOnPickerHide: boolean;
908
+ clearTextOnSelection: boolean;
909
+ clearWhenInputEmpty: boolean;
910
+ color: string;
911
+ config: object;
912
+ constrainTo: HTMLElement | Widget | Rectangle;
913
+ container: Record<string, GanttContainerItemConfig> | GanttContainerItemConfig[] | FieldContainerConfig | FieldContainer;
914
+ containValues: boolean | string | ((field: Field) => boolean);
915
+ contentElementCls: string | object;
916
+ createOnUnmatched: ((name: string, combo: Combo) => Model) | string | boolean;
917
+ dataField: string;
918
+ defaultBindProperty: string;
919
+ delimiter: string;
920
+ dependencyIdField: string;
921
+ dependencyStore: DependencyStore;
922
+ detectCSSCompatibilityIssues: boolean;
923
+ displayField: string;
924
+ displayValueRenderer: (record: Model | ComboModel, combo: Combo) => string | void;
925
+ dock: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
926
+ draggable: boolean | {
927
+ handleSelector?: string;
928
+ };
929
+ elementAttributes: Record<string, string | null>;
930
+ emptyText: string;
931
+ encodeFilterParams: (filters: object[]) => object[];
932
+ filterable: boolean;
933
+ filterOnEnter: boolean;
934
+ filterParamName: string;
935
+ filterSelected: boolean;
936
+ floating: boolean;
937
+ hideAnimation: boolean | object;
938
+ hidePickerOnSelect: boolean;
939
+ hideTrigger: boolean;
940
+ highlightExternalChange: boolean;
941
+ hint: string | ((data: {
942
+ source: Field;
943
+ value: any;
944
+ }) => string);
945
+ hintHtml: string | ((data: {
946
+ source: Field;
947
+ value: any;
948
+ }) => string);
949
+ ignoreParentReadOnly: boolean;
950
+ inline: boolean;
951
+ inlinePicker: boolean;
952
+ inputAlign: string;
953
+ inputAttributes: Record<string, string>;
954
+ inputTag: string;
955
+ inputType: string;
956
+ inputWidth: string | number;
957
+ items: object[] | string[] | object;
958
+ keyStrokeChangeDelay: number;
959
+ keyStrokeFilterDelay: number;
960
+ labelCls: string | object;
961
+ labelPosition: 'before' | 'above' | null;
962
+ labels: object[];
963
+ labelWidth: string | number;
964
+ listCls: string;
965
+ listeners: DependencyFieldListeners;
966
+ listItemTpl: (record: Model | ComboModel) => string | void;
967
+ localeClass: typeof Base;
968
+ localizable: boolean;
969
+ localizableProperties: string[];
970
+ maskDefaults: MaskConfig;
971
+ masked: boolean | string | MaskConfig;
972
+ maxLength: number;
973
+ minChars: number;
974
+ minLength: number;
975
+ monitorResize: boolean | {
976
+ immediate?: boolean;
977
+ };
978
+ multiValueSeparator: string;
979
+ name: string;
980
+ otherSide: 'from' | 'to';
981
+ ourSide: 'from' | 'to';
982
+ overlayAnchor: boolean;
983
+ owner: Widget | any;
984
+ pickerAlignElement: string;
985
+ pickerWidth: number | string;
986
+ positioned: boolean;
987
+ preventTooltipOnTouch: boolean;
988
+ primaryFilter: CollectionFilterConfig;
989
+ relayStoreEvents: boolean;
990
+ revertOnEscape: boolean;
991
+ ripple: boolean | {
992
+ delegate?: string;
993
+ color?: string;
994
+ radius?: number;
995
+ clip?: string;
996
+ };
997
+ rootElement: ShadowRoot | HTMLElement;
998
+ scrollAction: 'hide' | 'realign' | null;
999
+ showAnimation: boolean | object;
1000
+ showTooltipWhenDisabled: boolean;
1001
+ skipValidation: boolean;
1002
+ sorters: Sorter[] | string[];
1003
+ spellCheck: boolean;
1004
+ tab: boolean | TabConfig;
1005
+ tabIndex: number;
1006
+ textAlign: 'left' | 'center' | 'right' | 'start' | 'end';
1007
+ title: string;
1008
+ triggerAction: 'all' | 'last' | null;
1009
+ type: 'dependencyfield';
1010
+ ui: string | object;
1011
+ validateFilter: boolean;
1012
+ validateOnInput: boolean;
1013
+ valueField: string | null;
1014
+ weight: number;
1015
+ alignSelf: string;
1016
+ appendTo: HTMLElement | string;
1017
+ badge: string;
1018
+ callOnFunctions: boolean;
1019
+ catchEventHandlerExceptions: boolean;
1020
+ cls: string | object;
1021
+ column: number;
1022
+ dataset: object | Record<string, string>;
1023
+ disabled: boolean | 'inert';
1024
+ editable: boolean;
1025
+ extraData: any;
1026
+ filterOperator: CollectionCompareOperator;
1027
+ flex: number | string;
1028
+ height: number | string;
1029
+ hidden: boolean;
1030
+ id: string;
1031
+ insertBefore: HTMLElement | string;
1032
+ insertFirst: HTMLElement | string;
1033
+ keyMap: Record<string, KeyMapConfig>;
1034
+ label: string;
1035
+ margin: number | string;
1036
+ maxHeight: string | number;
1037
+ maximizeOnMobile: number | string;
1038
+ maxWidth: string | number;
1039
+ minHeight: string | number;
1040
+ minWidth: string | number;
1041
+ multiSelect: boolean;
1042
+ picker: ListConfig | List;
1043
+ placeholder: string;
1044
+ readOnly: boolean;
1045
+ rendition: 'outlined' | 'filled' | string;
1046
+ required: boolean;
1047
+ rtl: boolean;
1048
+ showRequiredIndicator: string;
1049
+ span: number;
1050
+ store: Store | StoreConfig;
1051
+ tooltip: string | TooltipConfig | null;
1052
+ triggers: Record<string, FieldTriggerConfig> | Record<string, Widget>;
1053
+ value: object | number | string | string[] | number[];
1054
+ width: number | string;
1055
+ x: number;
1056
+ y: number;
1057
+ anchorSize: number[];
1058
+ content: string;
1059
+ focusVisible: boolean;
1060
+ formula: string;
1061
+ html: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
1062
+ input: HTMLElement;
1063
+ parent: Widget;
1064
+ scrollable: Scroller;
1065
+ /**
1066
+ * The default action was performed (an item in the list was selected)
1067
+ * @param {object} event Event object
1068
+ * @param {Core.widget.Combo} event.source The combo
1069
+ * @param {any} event.value The [value](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-valueField) of the selected record
1070
+ * @param {Core.data.Model} event.record Selected record
1071
+ * @param {Core.data.Model[]} event.records Selected records as an array if [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`
1072
+ * @param {boolean} event.userAction `true` if the value change is due to user interaction
1073
+ */
1074
+ onAction: any;
1075
+ /**
1076
+ * Fires before an object is destroyed.
1077
+ * @param {object} event Event object
1078
+ * @param {Core.Base} event.source The Object that is being destroyed.
1079
+ */
1080
+ onBeforeDestroy: any;
1081
+ /**
1082
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
1083
+ * @param {object} event Event object
1084
+ * @param {Core.widget.Widget} event.source The widget being hidden.
1085
+ */
1086
+ onBeforeHide: any;
1087
+ /**
1088
+ * Triggered before a widget is shown. Return `false` to prevent the action.
1089
+ * @param {object} event Event object
1090
+ * @param {Core.widget.Widget,any} event.source The widget being shown
1091
+ */
1092
+ onBeforeShow: any;
1093
+ /**
1094
+ * Fires when any other event is fired from the object.
1095
+ * ...
1096
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#event-catchAll)
1097
+ * @param {object} event Event object
1098
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
1099
+ * @param {string} event.event.type The type of the event which is caught by the listener
1100
+ */
1101
+ onCatchAll: any;
1102
+ /**
1103
+ * Fired when this field's value changes.
1104
+ * @param {object} event Event object
1105
+ * @param {Core.widget.Field,any} event.source This Field
1106
+ * @param {string,number,boolean,any} event.value This field's value
1107
+ * @param {string,number,boolean,any} event.oldValue This field's previous value
1108
+ * @param {boolean} event.valid True if this field is in a valid state
1109
+ * @param {Event} event.event The triggering DOM event if any
1110
+ * @param {boolean} event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
1111
+ * @param {boolean} event.checked
1112
+ */
1113
+ onChange: any;
1114
+ /**
1115
+ * Fired when this field is [cleared](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#function-clear).
1116
+ * ...
1117
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#event-clear)
1118
+ * @param {object} event Event object
1119
+ * @param {Core.widget.Field,any} event.source This Field
1120
+ */
1121
+ onClear: any;
1122
+ /**
1123
+ * Fires when an object is destroyed.
1124
+ * @param {object} event Event object
1125
+ * @param {Core.Base} event.source The Object that is being destroyed.
1126
+ */
1127
+ onDestroy: any;
1128
+ /**
1129
+ * Triggered when a widget's [element](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-element) is available.
1130
+ * @param {object} event Event object
1131
+ * @param {HTMLElement} event.element The Widget's element.
1132
+ */
1133
+ onElementCreated: any;
1134
+ /**
1135
+ * Fired when focus enters this Widget.
1136
+ * @param {object} event Event object
1137
+ * @param {Core.widget.Widget} event.source This Widget
1138
+ * @param {HTMLElement} event.fromElement The element which lost focus.
1139
+ * @param {HTMLElement} event.toElement The element which gained focus.
1140
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
1141
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
1142
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1143
+ */
1144
+ onFocusIn: any;
1145
+ /**
1146
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
1147
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
1148
+ * will not trigger this event. This is when focus exits this widget completely.
1149
+ * @param {object} event Event object
1150
+ * @param {Core.widget.Widget} event.source This Widget
1151
+ * @param {HTMLElement} event.fromElement The element which lost focus.
1152
+ * @param {HTMLElement} event.toElement The element which gained focus.
1153
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
1154
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
1155
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1156
+ */
1157
+ onFocusOut: any;
1158
+ /**
1159
+ * Triggered after a widget was hidden
1160
+ * @param {object} event Event object
1161
+ * @param {Core.widget.Widget} event.source The widget
1162
+ */
1163
+ onHide: any;
1164
+ /**
1165
+ * User typed into the field. Please note that the value attached to this event is the raw input field value and
1166
+ * not the combos value
1167
+ * @param {object} event Event object
1168
+ * @param {Core.widget.Combo} event.source The combo.
1169
+ * @param {string} event.value Raw input value
1170
+ * @param {Event} event.event The triggering DOM event if any.
1171
+ */
1172
+ onInput: any;
1173
+ /**
1174
+ * Triggered when a widget which had been in a non-visible state for any reason
1175
+ * achieves visibility.
1176
+ * ...
1177
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#event-paint)
1178
+ * @param {object} event Event object
1179
+ * @param {Core.widget.Widget} event.source The widget being painted.
1180
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
1181
+ */
1182
+ onPaint: any;
1183
+ /**
1184
+ * Fired when a Widget's read only state is toggled
1185
+ * @param {object} event Event object
1186
+ * @param {boolean} event.readOnly Read only or not
1187
+ */
1188
+ onReadOnly: any;
1189
+ /**
1190
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
1191
+ * to [recompose](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
1192
+ */
1193
+ onRecompose: any;
1194
+ /**
1195
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
1196
+ * @param {object} event Event object
1197
+ * @param {Core.widget.Widget} event.source This Widget
1198
+ * @param {number} event.width The new width
1199
+ * @param {number} event.height The new height
1200
+ * @param {number} event.oldWidth The old width
1201
+ * @param {number} event.oldHeight The old height
1202
+ */
1203
+ onResize: any;
1204
+ /**
1205
+ * An item in the list was selected
1206
+ * @param {object} event Event object
1207
+ * @param {Core.widget.Combo} event.source The combo
1208
+ * @param {Core.data.Model} event.record Selected record
1209
+ * @param {Core.data.Model[]} event.records Selected records as an array if [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`
1210
+ * @param {boolean} event.userAction `true` if the value change is due to user interaction
1211
+ */
1212
+ onSelect: any;
1213
+ /**
1214
+ * Triggered after a widget is shown.
1215
+ * @param {object} event Event object
1216
+ * @param {Core.widget.Widget} event.source The widget
1217
+ */
1218
+ onShow: any;
1219
+ /**
1220
+ * User clicked one of this field's [triggers](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-triggers)
1221
+ * @param {object} event Event object
1222
+ * @param {Core.widget.Field,any} event.source This field
1223
+ * @param {Core.widget.Widget} event.trigger The trigger activated by click or touch tap.
1224
+ */
1225
+ onTrigger: any;
1226
+ /**
1227
+ * Create and append the underlying widget
1228
+ */
1229
+ ngOnInit(): void;
1230
+ /**
1231
+ * Watch for changes
1232
+ * @param changes
1233
+ */
1234
+ ngOnChanges(changes: SimpleChanges): void;
1235
+ /**
1236
+ * Destroy the component
1237
+ */
1238
+ ngOnDestroy(): void;
1239
+ static ɵfac: i0.ɵɵFactoryDeclaration<BryntumDependencyFieldComponent, never>;
1240
+ static ɵcmp: i0.ɵɵComponentDeclaration<BryntumDependencyFieldComponent, "bryntum-dependency-field", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoComplete": "autoComplete"; "autoExpand": "autoExpand"; "autoSelect": "autoSelect"; "bubbleEvents": "bubbleEvents"; "cacheLastResult": "cacheLastResult"; "caseSensitive": "caseSensitive"; "centered": "centered"; "chipView": "chipView"; "clearable": "clearable"; "clearTextOnPickerHide": "clearTextOnPickerHide"; "clearTextOnSelection": "clearTextOnSelection"; "clearWhenInputEmpty": "clearWhenInputEmpty"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "container": "container"; "containValues": "containValues"; "contentElementCls": "contentElementCls"; "createOnUnmatched": "createOnUnmatched"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "delimiter": "delimiter"; "dependencyIdField": "dependencyIdField"; "dependencyStore": "dependencyStore"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "displayField": "displayField"; "displayValueRenderer": "displayValueRenderer"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "emptyText": "emptyText"; "encodeFilterParams": "encodeFilterParams"; "filterable": "filterable"; "filterOnEnter": "filterOnEnter"; "filterParamName": "filterParamName"; "filterSelected": "filterSelected"; "floating": "floating"; "hideAnimation": "hideAnimation"; "hidePickerOnSelect": "hidePickerOnSelect"; "hideTrigger": "hideTrigger"; "highlightExternalChange": "highlightExternalChange"; "hint": "hint"; "hintHtml": "hintHtml"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "inline": "inline"; "inlinePicker": "inlinePicker"; "inputAlign": "inputAlign"; "inputAttributes": "inputAttributes"; "inputTag": "inputTag"; "inputType": "inputType"; "inputWidth": "inputWidth"; "items": "items"; "keyStrokeChangeDelay": "keyStrokeChangeDelay"; "keyStrokeFilterDelay": "keyStrokeFilterDelay"; "labelCls": "labelCls"; "labelPosition": "labelPosition"; "labels": "labels"; "labelWidth": "labelWidth"; "listCls": "listCls"; "listeners": "listeners"; "listItemTpl": "listItemTpl"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "maxLength": "maxLength"; "minChars": "minChars"; "minLength": "minLength"; "monitorResize": "monitorResize"; "multiValueSeparator": "multiValueSeparator"; "name": "name"; "otherSide": "otherSide"; "ourSide": "ourSide"; "overlayAnchor": "overlayAnchor"; "owner": "owner"; "pickerAlignElement": "pickerAlignElement"; "pickerWidth": "pickerWidth"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "primaryFilter": "primaryFilter"; "relayStoreEvents": "relayStoreEvents"; "revertOnEscape": "revertOnEscape"; "ripple": "ripple"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "skipValidation": "skipValidation"; "sorters": "sorters"; "spellCheck": "spellCheck"; "tab": "tab"; "tabIndex": "tabIndex"; "textAlign": "textAlign"; "title": "title"; "triggerAction": "triggerAction"; "type": "type"; "ui": "ui"; "validateFilter": "validateFilter"; "validateOnInput": "validateOnInput"; "valueField": "valueField"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "badge": "badge"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "dataset": "dataset"; "disabled": "disabled"; "editable": "editable"; "extraData": "extraData"; "filterOperator": "filterOperator"; "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"; "multiSelect": "multiSelect"; "picker": "picker"; "placeholder": "placeholder"; "readOnly": "readOnly"; "rendition": "rendition"; "required": "required"; "rtl": "rtl"; "showRequiredIndicator": "showRequiredIndicator"; "span": "span"; "store": "store"; "tooltip": "tooltip"; "triggers": "triggers"; "value": "value"; "width": "width"; "x": "x"; "y": "y"; "anchorSize": "anchorSize"; "content": "content"; "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"; "onSelect": "onSelect"; "onShow": "onShow"; "onTrigger": "onTrigger"; }, never, never>;
1241
+ }