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