@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,678 @@
1
+ /**
2
+ * Angular wrapper for Bryntum Widget
3
+ */
4
+ import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
5
+ import { AlignSpec, Base, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget, WidgetListeners } from '@bryntum/taskboard';
6
+ import * as i0 from "@angular/core";
7
+ export declare type BryntumWidgetProps = {
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/Widget#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/Widget#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/Widget#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/Widget#config-ariaLabel)
49
+ */
50
+ ariaLabel?: string;
51
+ /**
52
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
53
+ * hierarchy when triggered.
54
+ * ...
55
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-bubbleEvents)
56
+ */
57
+ bubbleEvents?: object;
58
+ /**
59
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
60
+ * ...
61
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-callOnFunctions)
62
+ */
63
+ callOnFunctions?: boolean;
64
+ /**
65
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
66
+ * application state is undefined. Code which follows the event handler will *not* be executed.
67
+ * ...
68
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-catchEventHandlerExceptions)
69
+ */
70
+ catchEventHandlerExceptions?: boolean;
71
+ /**
72
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
73
+ * Set to `true` to centre the Widget in browser viewport space.
74
+ */
75
+ centered?: boolean;
76
+ /**
77
+ * Custom CSS classes to add to element.
78
+ * May be specified as a space separated string, or as an object in which property names
79
+ * with truthy values are used as the class names:
80
+ * ...
81
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-cls)
82
+ */
83
+ cls?: string | object;
84
+ /**
85
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
86
+ * `style` block.
87
+ * ...
88
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-color)
89
+ */
90
+ color?: string;
91
+ /**
92
+ * Programmatic control over which column to start in when used in a grid layout.
93
+ */
94
+ column?: number;
95
+ config?: object;
96
+ /**
97
+ * *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).*
98
+ * Element, Widget or Rectangle to which this Widget is constrained.
99
+ */
100
+ constrainTo?: HTMLElement | Widget | Rectangle;
101
+ /**
102
+ * The HTML content that coexists with sibling elements which may have been added to the
103
+ * [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
104
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-htmlCls)
105
+ * class added to its classList, to allow targeted styling.
106
+ */
107
+ content?: string;
108
+ /**
109
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement).
110
+ * May be specified as a space separated string, or as an object in which property names
111
+ * with truthy values are used as the class names:
112
+ * ...
113
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-contentElementCls)
114
+ */
115
+ contentElementCls?: string | object;
116
+ /**
117
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
118
+ * field on the expanded record to use for populating this widget's store (if applicable)
119
+ */
120
+ dataField?: string;
121
+ /**
122
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
123
+ */
124
+ dataset?: Record<string, string>;
125
+ /**
126
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
127
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
128
+ */
129
+ defaultBindProperty?: string;
130
+ /**
131
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
132
+ * ...
133
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-detectCSSCompatibilityIssues)
134
+ */
135
+ detectCSSCompatibilityIssues?: boolean;
136
+ /**
137
+ * 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
138
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
139
+ * ...
140
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-disabled)
141
+ */
142
+ disabled?: boolean | 'inert';
143
+ /**
144
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/taskboard/docs/api/Core/widget/Panel)
145
+ * [strips collection](https://bryntum.com/products/taskboard/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
146
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
147
+ * body. Such widgets are called "edge strips".
148
+ * ...
149
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-dock)
150
+ */
151
+ dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
152
+ /**
153
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
154
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
155
+ * property which controls when a drag should start.
156
+ * ...
157
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-draggable)
158
+ */
159
+ draggable?: boolean | {
160
+ handleSelector?: string;
161
+ };
162
+ /**
163
+ * An object specifying attributes to assign to the root element of this widget.
164
+ * Set `null` value to attribute to remove it.
165
+ * ...
166
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-elementAttributes)
167
+ */
168
+ elementAttributes?: Record<string, string | null>;
169
+ extraData?: any;
170
+ /**
171
+ * 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
172
+ * flexbox layout. This config allows you to set this widget's
173
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
174
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
175
+ * numeric-only values are interpreted as the `flex-grow` value.
176
+ */
177
+ flex?: number | string;
178
+ /**
179
+ * Set to `true` to move the widget out of the document flow and position it
180
+ * absolutely in browser viewport space.
181
+ */
182
+ floating?: boolean;
183
+ /**
184
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
185
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
186
+ * cases this config is convenient.
187
+ */
188
+ height?: string | number;
189
+ /**
190
+ * Configure with true to make widget initially hidden.
191
+ */
192
+ hidden?: boolean;
193
+ /**
194
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
195
+ * ...
196
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-hideAnimation)
197
+ */
198
+ hideAnimation?: boolean | object;
199
+ /**
200
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
201
+ * ...
202
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-html)
203
+ * @param {Core.widget.Widget} widget The calling Widget
204
+ * @returns {string}
205
+ */
206
+ html?: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
207
+ /**
208
+ * The CSS class(es) to add when HTML content is being applied to this widget.
209
+ */
210
+ htmlCls?: string | object;
211
+ /**
212
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
213
+ */
214
+ id?: string;
215
+ /**
216
+ * Determines if the widgets read-only state should be controlled by its parent.
217
+ * ...
218
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-ignoreParentReadOnly)
219
+ */
220
+ ignoreParentReadOnly?: boolean;
221
+ /**
222
+ * 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.
223
+ */
224
+ insertBefore?: HTMLElement | string;
225
+ /**
226
+ * 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.
227
+ */
228
+ insertFirst?: HTMLElement | string;
229
+ /**
230
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
231
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
232
+ * are the name of the instance method to call when the keystroke is received.
233
+ * ...
234
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-keyMap)
235
+ */
236
+ keyMap?: Record<string, KeyMapConfig>;
237
+ /**
238
+ * The listener set for this object.
239
+ * ...
240
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-listeners)
241
+ */
242
+ listeners?: WidgetListeners;
243
+ /**
244
+ * A class translations of which are used for translating this entity.
245
+ * This is often used when translations of an item are defined on its container class.
246
+ * For example:
247
+ * ...
248
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-localeClass)
249
+ */
250
+ localeClass?: typeof Base;
251
+ /**
252
+ * Set to `false` to disable localization of this object.
253
+ */
254
+ localizable?: boolean;
255
+ /**
256
+ * List of properties which values should be translated automatically upon a locale applying.
257
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
258
+ * you could use 'localeKey' meta configuration.
259
+ * Example:
260
+ * ...
261
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-localizableProperties)
262
+ */
263
+ localizableProperties?: string[];
264
+ /**
265
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
266
+ * numeric-only values are interpreted as pixels.
267
+ */
268
+ margin?: number | string;
269
+ /**
270
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/taskboard/docs/api/Core/widget/Mask) created for the
271
+ * [masked](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
272
+ * values.
273
+ */
274
+ maskDefaults?: MaskConfig;
275
+ /**
276
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
277
+ * [Mask](https://bryntum.com/products/taskboard/docs/api/Core/widget/Mask) config object.
278
+ */
279
+ masked?: boolean | string | MaskConfig;
280
+ /**
281
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
282
+ * like [height](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
283
+ */
284
+ maxHeight?: string | number;
285
+ /**
286
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
287
+ * ...
288
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-maximizeOnMobile)
289
+ */
290
+ maximizeOnMobile?: number | string;
291
+ /**
292
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
293
+ * like [width](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
294
+ */
295
+ maxWidth?: string | number;
296
+ /**
297
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
298
+ * like [height](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
299
+ */
300
+ minHeight?: string | number;
301
+ /**
302
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
303
+ * like [width](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
304
+ */
305
+ minWidth?: string | number;
306
+ /**
307
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
308
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
309
+ * layout.
310
+ * ...
311
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-monitorResize)
312
+ */
313
+ monitorResize?: boolean | {
314
+ immediate?: boolean;
315
+ };
316
+ /**
317
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
318
+ * [items](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
319
+ * the owner is <strong>always</strong> the encapsulating Container.
320
+ * ...
321
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-owner)
322
+ */
323
+ owner?: Widget | any;
324
+ /**
325
+ * 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
326
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
327
+ * widget's [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement).
328
+ * ...
329
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-positioned)
330
+ */
331
+ positioned?: boolean;
332
+ /**
333
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
334
+ * menu on click etc, since the tooltip would be displayed at the same time.
335
+ */
336
+ preventTooltipOnTouch?: boolean;
337
+ /**
338
+ * Whether this widget is read-only. This is only valid if the widget is an input
339
+ * field, <strong>or contains input fields at any depth</strong>.
340
+ * ...
341
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-readOnly)
342
+ */
343
+ readOnly?: boolean;
344
+ relayStoreEvents?: boolean;
345
+ /**
346
+ * Configure as `true` to have the component display a translucent ripple when its
347
+ * [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
348
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
349
+ * ...
350
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-ripple)
351
+ */
352
+ ripple?: boolean | {
353
+ delegate?: string;
354
+ color?: string;
355
+ radius?: number;
356
+ clip?: string;
357
+ };
358
+ /**
359
+ * 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`
360
+ */
361
+ rootElement?: ShadowRoot | HTMLElement;
362
+ /**
363
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
364
+ * ...
365
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-rtl)
366
+ */
367
+ rtl?: boolean;
368
+ /**
369
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
370
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
371
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
372
+ * CSS overflow properties thus:
373
+ * ...
374
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-scrollable)
375
+ */
376
+ scrollable?: boolean | ScrollerConfig | Scroller;
377
+ /**
378
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
379
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
380
+ */
381
+ scrollAction?: 'hide' | 'realign' | null;
382
+ /**
383
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
384
+ * ...
385
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-showAnimation)
386
+ */
387
+ showAnimation?: boolean | object;
388
+ /**
389
+ * 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)
390
+ */
391
+ showTooltipWhenDisabled?: boolean;
392
+ /**
393
+ * Programmatic control over how many columns to span when used in a grid layout.
394
+ */
395
+ span?: number;
396
+ /**
397
+ * 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
398
+ * [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
399
+ * this widget:
400
+ * ...
401
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-tab)
402
+ */
403
+ tab?: boolean | TabConfig;
404
+ /**
405
+ * The tag name of this Widget's root element
406
+ */
407
+ tag?: string;
408
+ /**
409
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
410
+ * ...
411
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-textAlign)
412
+ */
413
+ textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
414
+ /**
415
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
416
+ */
417
+ title?: string;
418
+ /**
419
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
420
+ * ...
421
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-tooltip)
422
+ */
423
+ tooltip?: string | TooltipConfig | null;
424
+ type?: 'widget';
425
+ /**
426
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
427
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
428
+ * values are used as the class names.
429
+ * ...
430
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-ui)
431
+ */
432
+ ui?: string | object;
433
+ /**
434
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container).
435
+ * Higher weights go further down.
436
+ */
437
+ weight?: number;
438
+ /**
439
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
440
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
441
+ * this config is convenient.
442
+ */
443
+ width?: string | number;
444
+ /**
445
+ * The x position for the widget.
446
+ * ...
447
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-x)
448
+ */
449
+ x?: number;
450
+ /**
451
+ * The y position for the widget.
452
+ * ...
453
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-y)
454
+ */
455
+ y?: number;
456
+ };
457
+ export declare class BryntumWidgetComponent implements OnInit, OnDestroy {
458
+ static instanceClass: typeof Widget;
459
+ static instanceName: string;
460
+ private static bryntumEvents;
461
+ private static bryntumFeatureNames;
462
+ private static bryntumConfigs;
463
+ private static bryntumConfigsOnly;
464
+ private static bryntumProps;
465
+ private elementRef;
466
+ instance: Widget;
467
+ private bryntumConfig;
468
+ constructor(element: ElementRef);
469
+ adopt: HTMLElement | string;
470
+ align: AlignSpec | string;
471
+ anchor: boolean;
472
+ ariaDescription: string;
473
+ ariaLabel: string;
474
+ bubbleEvents: object;
475
+ centered: boolean;
476
+ color: string;
477
+ config: object;
478
+ constrainTo: HTMLElement | Widget | Rectangle;
479
+ contentElementCls: string | object;
480
+ dataField: string;
481
+ defaultBindProperty: string;
482
+ detectCSSCompatibilityIssues: boolean;
483
+ dock: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
484
+ draggable: boolean | {
485
+ handleSelector?: string;
486
+ };
487
+ elementAttributes: Record<string, string | null>;
488
+ floating: boolean;
489
+ hideAnimation: boolean | object;
490
+ htmlCls: string | object;
491
+ ignoreParentReadOnly: boolean;
492
+ listeners: WidgetListeners;
493
+ localeClass: typeof Base;
494
+ localizable: boolean;
495
+ localizableProperties: string[];
496
+ maskDefaults: MaskConfig;
497
+ masked: boolean | string | MaskConfig;
498
+ monitorResize: boolean | {
499
+ immediate?: boolean;
500
+ };
501
+ owner: Widget | any;
502
+ positioned: boolean;
503
+ preventTooltipOnTouch: boolean;
504
+ relayStoreEvents: boolean;
505
+ ripple: boolean | {
506
+ delegate?: string;
507
+ color?: string;
508
+ radius?: number;
509
+ clip?: string;
510
+ };
511
+ rootElement: ShadowRoot | HTMLElement;
512
+ scrollAction: 'hide' | 'realign' | null;
513
+ showAnimation: boolean | object;
514
+ showTooltipWhenDisabled: boolean;
515
+ tab: boolean | TabConfig;
516
+ tag: string;
517
+ textAlign: 'left' | 'center' | 'right' | 'start' | 'end';
518
+ title: string;
519
+ type: 'widget';
520
+ ui: string | object;
521
+ weight: number;
522
+ alignSelf: string;
523
+ appendTo: HTMLElement | string;
524
+ callOnFunctions: boolean;
525
+ catchEventHandlerExceptions: boolean;
526
+ cls: string | object;
527
+ column: number;
528
+ content: string;
529
+ dataset: object | Record<string, string>;
530
+ disabled: boolean | 'inert';
531
+ extraData: any;
532
+ flex: number | string;
533
+ height: number | string;
534
+ hidden: boolean;
535
+ html: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
536
+ id: string;
537
+ insertBefore: HTMLElement | string;
538
+ insertFirst: HTMLElement | string;
539
+ keyMap: Record<string, KeyMapConfig>;
540
+ margin: number | string;
541
+ maxHeight: string | number;
542
+ maximizeOnMobile: number | string;
543
+ maxWidth: string | number;
544
+ minHeight: string | number;
545
+ minWidth: string | number;
546
+ readOnly: boolean;
547
+ rtl: boolean;
548
+ scrollable: Scroller | boolean | ScrollerConfig;
549
+ span: number;
550
+ tooltip: string | TooltipConfig | null;
551
+ width: number | string;
552
+ x: number;
553
+ y: number;
554
+ anchorSize: number[];
555
+ focusVisible: boolean;
556
+ parent: Widget;
557
+ /**
558
+ * Fires before an object is destroyed.
559
+ * @param {object} event Event object
560
+ * @param {Core.Base} event.source The Object that is being destroyed.
561
+ */
562
+ onBeforeDestroy: any;
563
+ /**
564
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
565
+ * @param {object} event Event object
566
+ * @param {Core.widget.Widget} event.source The widget being hidden.
567
+ */
568
+ onBeforeHide: any;
569
+ /**
570
+ * Triggered before a widget is shown. Return `false` to prevent the action.
571
+ * @param {object} event Event object
572
+ * @param {Core.widget.Widget,any} event.source The widget being shown
573
+ */
574
+ onBeforeShow: any;
575
+ /**
576
+ * Fires when any other event is fired from the object.
577
+ * ...
578
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#event-catchAll)
579
+ * @param {object} event Event object
580
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
581
+ * @param {string} event.event.type The type of the event which is caught by the listener
582
+ */
583
+ onCatchAll: any;
584
+ /**
585
+ * Fires when an object is destroyed.
586
+ * @param {object} event Event object
587
+ * @param {Core.Base} event.source The Object that is being destroyed.
588
+ */
589
+ onDestroy: any;
590
+ /**
591
+ * Triggered when a widget's [element](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-element) is available.
592
+ * @param {object} event Event object
593
+ * @param {HTMLElement} event.element The Widget's element.
594
+ */
595
+ onElementCreated: any;
596
+ /**
597
+ * Fired when focus enters this Widget.
598
+ * @param {object} event Event object
599
+ * @param {Core.widget.Widget} event.source This Widget
600
+ * @param {HTMLElement} event.fromElement The element which lost focus.
601
+ * @param {HTMLElement} event.toElement The element which gained focus.
602
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
603
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
604
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
605
+ */
606
+ onFocusIn: any;
607
+ /**
608
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
609
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
610
+ * will not trigger this event. This is when focus exits this widget completely.
611
+ * @param {object} event Event object
612
+ * @param {Core.widget.Widget} event.source This Widget
613
+ * @param {HTMLElement} event.fromElement The element which lost focus.
614
+ * @param {HTMLElement} event.toElement The element which gained focus.
615
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
616
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
617
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
618
+ */
619
+ onFocusOut: any;
620
+ /**
621
+ * Triggered after a widget was hidden
622
+ * @param {object} event Event object
623
+ * @param {Core.widget.Widget} event.source The widget
624
+ */
625
+ onHide: any;
626
+ /**
627
+ * Triggered when a widget which had been in a non-visible state for any reason
628
+ * achieves visibility.
629
+ * ...
630
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#event-paint)
631
+ * @param {object} event Event object
632
+ * @param {Core.widget.Widget} event.source The widget being painted.
633
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
634
+ */
635
+ onPaint: any;
636
+ /**
637
+ * Fired when a Widget's read only state is toggled
638
+ * @param {object} event Event object
639
+ * @param {boolean} event.readOnly Read only or not
640
+ */
641
+ onReadOnly: any;
642
+ /**
643
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
644
+ * 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.
645
+ */
646
+ onRecompose: any;
647
+ /**
648
+ * 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`*.
649
+ * @param {object} event Event object
650
+ * @param {Core.widget.Widget} event.source This Widget
651
+ * @param {number} event.width The new width
652
+ * @param {number} event.height The new height
653
+ * @param {number} event.oldWidth The old width
654
+ * @param {number} event.oldHeight The old height
655
+ */
656
+ onResize: any;
657
+ /**
658
+ * Triggered after a widget is shown.
659
+ * @param {object} event Event object
660
+ * @param {Core.widget.Widget} event.source The widget
661
+ */
662
+ onShow: any;
663
+ /**
664
+ * Create and append the underlying widget
665
+ */
666
+ ngOnInit(): void;
667
+ /**
668
+ * Watch for changes
669
+ * @param changes
670
+ */
671
+ ngOnChanges(changes: SimpleChanges): void;
672
+ /**
673
+ * Destroy the component
674
+ */
675
+ ngOnDestroy(): void;
676
+ static ɵfac: i0.ɵɵFactoryDeclaration<BryntumWidgetComponent, never>;
677
+ static ɵcmp: i0.ɵɵComponentDeclaration<BryntumWidgetComponent, "bryntum-widget", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "contentElementCls": "contentElementCls"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "floating": "floating"; "hideAnimation": "hideAnimation"; "htmlCls": "htmlCls"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "listeners": "listeners"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "monitorResize": "monitorResize"; "owner": "owner"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "relayStoreEvents": "relayStoreEvents"; "ripple": "ripple"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "tab": "tab"; "tag": "tag"; "textAlign": "textAlign"; "title": "title"; "type": "type"; "ui": "ui"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "content": "content"; "dataset": "dataset"; "disabled": "disabled"; "extraData": "extraData"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "html": "html"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "readOnly": "readOnly"; "rtl": "rtl"; "scrollable": "scrollable"; "span": "span"; "tooltip": "tooltip"; "width": "width"; "x": "x"; "y": "y"; "anchorSize": "anchorSize"; "focusVisible": "focusVisible"; "parent": "parent"; }, { "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onDestroy": "onDestroy"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onShow": "onShow"; }, never, never>;
678
+ }