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