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