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