@bryntum/grid-angular-thin 7.2.3 → 7.3.0
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.
- package/README.md +4 -4
- package/bundles/bryntum-grid-angular-thin.umd.js +761 -230
- package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
- package/esm2015/lib/bryntum-a-i-filter-field.component.js +62 -14
- package/esm2015/lib/bryntum-checklist-filter-combo.component.js +62 -14
- package/esm2015/lib/bryntum-grid-base.component.js +78 -35
- package/esm2015/lib/bryntum-grid-chart-designer.component.js +61 -12
- package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +65 -21
- package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +65 -21
- package/esm2015/lib/bryntum-grid.component.js +78 -35
- package/esm2015/lib/bryntum-group-bar.component.js +61 -12
- package/esm2015/lib/bryntum-tree-combo.component.js +62 -14
- package/esm2015/lib/bryntum-tree-grid.component.js +78 -35
- package/esm2015/lib/grid.module.js +5 -4
- package/esm2015/lib/shadowdom.helper.js +82 -0
- package/fesm2015/bryntum-grid-angular-thin.js +738 -207
- package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
- package/lib/bryntum-a-i-filter-field.component.d.ts +87 -133
- package/lib/bryntum-checklist-filter-combo.component.d.ts +106 -166
- package/lib/bryntum-grid-base.component.d.ts +238 -303
- package/lib/bryntum-grid-chart-designer.component.d.ts +71 -108
- package/lib/bryntum-grid-field-filter-picker-group.component.d.ts +93 -143
- package/lib/bryntum-grid-field-filter-picker.component.d.ts +94 -145
- package/lib/bryntum-grid.component.d.ts +238 -303
- package/lib/bryntum-group-bar.component.d.ts +77 -118
- package/lib/bryntum-tree-combo.component.d.ts +107 -168
- package/lib/bryntum-tree-grid.component.d.ts +238 -303
- package/lib/grid.module.d.ts +2 -1
- package/lib/shadowdom.helper.d.ts +3 -0
- package/package.json +1 -1
- package/src/lib/bryntum-a-i-filter-field.component.ts +146 -141
- package/src/lib/bryntum-checklist-filter-combo.component.ts +166 -175
- package/src/lib/bryntum-grid-base.component.ts +275 -319
- package/src/lib/bryntum-grid-chart-designer.component.ts +126 -112
- package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +152 -152
- package/src/lib/bryntum-grid-field-filter-picker.component.ts +152 -153
- package/src/lib/bryntum-grid.component.ts +275 -319
- package/src/lib/bryntum-group-bar.component.ts +132 -122
- package/src/lib/bryntum-theme-combo.component.ts +128 -0
- package/src/lib/bryntum-tree-combo.component.ts +166 -176
- package/src/lib/bryntum-tree-grid.component.ts +275 -319
- package/src/lib/grid.module.ts +2 -1
- package/src/lib/shadowdom.helper.ts +91 -0
|
@@ -7,24 +7,23 @@ import { Component, ElementRef, EventEmitter, Output, Input, SimpleChange, Simpl
|
|
|
7
7
|
|
|
8
8
|
import WrapperHelper from './wrapper.helper';
|
|
9
9
|
|
|
10
|
-
import { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo,
|
|
10
|
+
import { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, DomConfig, Duration, DurationConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, ReactJSX, Rectangle, Scroller, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
11
11
|
import { ChecklistFilterCombo, ChecklistFilterComboListeners, GridContainerItemConfig } from '@bryntum/grid-thin';
|
|
12
12
|
|
|
13
|
-
import { StringHelper } from '@bryntum/core-thin';
|
|
13
|
+
import { DomHelper, StringHelper } from '@bryntum/core-thin';
|
|
14
|
+
import { initThemeInShadowRoots } from './shadowdom.helper';
|
|
14
15
|
|
|
15
16
|
export type BryntumChecklistFilterComboProps = {
|
|
16
17
|
// Configs
|
|
17
18
|
/**
|
|
18
19
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
19
20
|
* content will be placed inside this element.
|
|
20
|
-
* ...
|
|
21
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-adopt)
|
|
21
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-adopt)
|
|
22
22
|
*/
|
|
23
23
|
adopt ? : HTMLElement|string
|
|
24
24
|
/**
|
|
25
25
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
26
|
-
* ...
|
|
27
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-align)
|
|
26
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-align)
|
|
28
27
|
*/
|
|
29
28
|
align ? : AlignSpec|string
|
|
30
29
|
/**
|
|
@@ -46,15 +45,13 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
46
45
|
/**
|
|
47
46
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
48
47
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
49
|
-
* ...
|
|
50
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-ariaDescription)
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-ariaDescription)
|
|
51
49
|
*/
|
|
52
50
|
ariaDescription ? : string
|
|
53
51
|
/**
|
|
54
52
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
55
53
|
* the `aria-label` attribute.
|
|
56
|
-
* ...
|
|
57
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-ariaLabel)
|
|
54
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-ariaLabel)
|
|
58
55
|
*/
|
|
59
56
|
ariaLabel ? : string
|
|
60
57
|
/**
|
|
@@ -77,20 +74,17 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
77
74
|
/**
|
|
78
75
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
79
76
|
* hierarchy when triggered.
|
|
80
|
-
* ...
|
|
81
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-bubbleEvents)
|
|
77
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-bubbleEvents)
|
|
82
78
|
*/
|
|
83
79
|
bubbleEvents ? : object
|
|
84
80
|
/**
|
|
85
81
|
* Enable caching of the last retrieved result until the timeout is reached.
|
|
86
|
-
* ...
|
|
87
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-cacheLastResult)
|
|
82
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-cacheLastResult)
|
|
88
83
|
*/
|
|
89
84
|
cacheLastResult ? : number|string|Duration|DurationConfig
|
|
90
85
|
/**
|
|
91
86
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
92
|
-
* ...
|
|
93
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-callOnFunctions)
|
|
87
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-callOnFunctions)
|
|
94
88
|
*/
|
|
95
89
|
callOnFunctions ? : boolean
|
|
96
90
|
/**
|
|
@@ -100,8 +94,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
100
94
|
/**
|
|
101
95
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
102
96
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
103
|
-
* ...
|
|
104
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-catchEventHandlerExceptions)
|
|
97
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-catchEventHandlerExceptions)
|
|
105
98
|
*/
|
|
106
99
|
catchEventHandlerExceptions ? : boolean
|
|
107
100
|
/**
|
|
@@ -112,8 +105,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
112
105
|
/**
|
|
113
106
|
* A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
|
|
114
107
|
* selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
115
|
-
* ...
|
|
116
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-chipView)
|
|
108
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-chipView)
|
|
117
109
|
*/
|
|
118
110
|
chipView ? : ChipViewConfig
|
|
119
111
|
/**
|
|
@@ -138,15 +130,13 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
138
130
|
* Custom CSS classes to add to element.
|
|
139
131
|
* May be specified as a space separated string, or as an object in which property names
|
|
140
132
|
* with truthy values are used as the class names:
|
|
141
|
-
* ...
|
|
142
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-cls)
|
|
133
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-cls)
|
|
143
134
|
*/
|
|
144
135
|
cls ? : string|object
|
|
145
136
|
/**
|
|
146
137
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
147
138
|
* `style` block.
|
|
148
|
-
* ...
|
|
149
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
|
|
139
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-color)
|
|
150
140
|
*/
|
|
151
141
|
color ? : Color
|
|
152
142
|
/**
|
|
@@ -163,15 +153,13 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
163
153
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
164
154
|
* fields related to a [checkbox](https://bryntum.com/products/grid/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
165
155
|
* these classes for examples of nested fields.
|
|
166
|
-
* ...
|
|
167
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-container)
|
|
156
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-container)
|
|
168
157
|
*/
|
|
169
|
-
container ? : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|FieldContainerConfig
|
|
158
|
+
container ? : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|FieldContainerConfig
|
|
170
159
|
/**
|
|
171
160
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
172
161
|
* [values](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-values).
|
|
173
|
-
* ...
|
|
174
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-containValues)
|
|
162
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-containValues)
|
|
175
163
|
* @param {Core.widget.Field} field Field instance
|
|
176
164
|
* @returns {boolean}
|
|
177
165
|
*/
|
|
@@ -180,16 +168,14 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
180
168
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
181
169
|
* May be specified as a space separated string, or as an object in which property names
|
|
182
170
|
* with truthy values are used as the class names:
|
|
183
|
-
* ...
|
|
184
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-contentElementCls)
|
|
171
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-contentElementCls)
|
|
185
172
|
*/
|
|
186
173
|
contentElementCls ? : string|object
|
|
187
174
|
/**
|
|
188
175
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
189
176
|
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
190
177
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-displayField).
|
|
191
|
-
* ...
|
|
192
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-createOnUnmatched)
|
|
178
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-createOnUnmatched)
|
|
193
179
|
* @param {string} name Record name
|
|
194
180
|
* @param {Core.widget.Combo} combo Combo instance
|
|
195
181
|
* @returns {Core.data.Model} New record
|
|
@@ -210,16 +196,15 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
210
196
|
*/
|
|
211
197
|
defaultBindProperty ? : string
|
|
212
198
|
/**
|
|
213
|
-
* Check for CSS compatibility issues
|
|
214
|
-
*
|
|
215
|
-
* [
|
|
199
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
200
|
+
* checks:
|
|
201
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-detectCSSCompatibilityIssues)
|
|
216
202
|
*/
|
|
217
203
|
detectCSSCompatibilityIssues ? : boolean
|
|
218
204
|
/**
|
|
219
205
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
220
206
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
221
|
-
* ...
|
|
222
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-disabled)
|
|
207
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-disabled)
|
|
223
208
|
*/
|
|
224
209
|
disabled ? : boolean|'inert'
|
|
225
210
|
/**
|
|
@@ -232,26 +217,23 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
232
217
|
* @param {Core.widget.Combo} combo A reference to this Combo
|
|
233
218
|
* @returns {string,void}
|
|
234
219
|
*/
|
|
235
|
-
displayValueRenderer ? : (record: Model
|
|
220
|
+
displayValueRenderer ? : (record: Model, combo: Combo) => string|void
|
|
236
221
|
/**
|
|
237
222
|
* Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/grid/docs/api/Core/widget/Panel)
|
|
238
223
|
* [strips collection](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
239
224
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
240
225
|
* body. Such widgets are called "edge strips".
|
|
241
|
-
* ...
|
|
242
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-dock)
|
|
226
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-dock)
|
|
243
227
|
*/
|
|
244
228
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
245
229
|
/**
|
|
246
230
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
247
231
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
248
232
|
* property which controls when a drag should start.
|
|
249
|
-
* ...
|
|
250
|
-
*
|
|
233
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-draggable)
|
|
234
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
251
235
|
*/
|
|
252
|
-
draggable ? : boolean|
|
|
253
|
-
handleSelector?: string
|
|
254
|
-
}
|
|
236
|
+
draggable ? : boolean|object
|
|
255
237
|
/**
|
|
256
238
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
257
239
|
*/
|
|
@@ -259,21 +241,18 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
259
241
|
/**
|
|
260
242
|
* An object specifying attributes to assign to the root element of this widget.
|
|
261
243
|
* Set `null` value to attribute to remove it.
|
|
262
|
-
* ...
|
|
263
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-elementAttributes)
|
|
244
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-elementAttributes)
|
|
264
245
|
*/
|
|
265
246
|
elementAttributes ? : Record<string, string|null>
|
|
266
247
|
/**
|
|
267
248
|
* Text to display in the drop down when there are no items in the underlying store.
|
|
268
|
-
* ...
|
|
269
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-emptyText)
|
|
249
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-emptyText)
|
|
270
250
|
*/
|
|
271
251
|
emptyText ? : string
|
|
272
252
|
/**
|
|
273
253
|
* A function which creates an array of values for the [filterParamName](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-filterParamName) to pass
|
|
274
254
|
* any filters to the server upon load.
|
|
275
|
-
* ...
|
|
276
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-encodeFilterParams)
|
|
255
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-encodeFilterParams)
|
|
277
256
|
* @param {object[]} filters filters
|
|
278
257
|
* @returns {object[]} array of values
|
|
279
258
|
*/
|
|
@@ -287,8 +266,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
287
266
|
/**
|
|
288
267
|
* The name of an operator type as implemented in [operator](https://bryntum.com/products/grid/docs/api/Core/util/CollectionFilter#config-operator)
|
|
289
268
|
* to use when filtering the dropdown list based upon the typed value.
|
|
290
|
-
* ...
|
|
291
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-filterOperator)
|
|
269
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-filterOperator)
|
|
292
270
|
*/
|
|
293
271
|
filterOperator ? : CollectionCompareOperator
|
|
294
272
|
/**
|
|
@@ -329,8 +307,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
329
307
|
hidden ? : boolean
|
|
330
308
|
/**
|
|
331
309
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
332
|
-
* ...
|
|
333
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-hideAnimation)
|
|
310
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-hideAnimation)
|
|
334
311
|
*/
|
|
335
312
|
hideAnimation ? : boolean|object
|
|
336
313
|
/**
|
|
@@ -351,8 +328,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
351
328
|
/**
|
|
352
329
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
353
330
|
* a field's units.
|
|
354
|
-
* ...
|
|
355
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-hint)
|
|
331
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-hint)
|
|
356
332
|
* @param {object} data A data object
|
|
357
333
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
358
334
|
* @param {any} data.value The current value of the field
|
|
@@ -363,8 +339,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
363
339
|
* This config is similar to [hint](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
|
|
364
340
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
365
341
|
* encode such data (see [encodeHtml](https://bryntum.com/products/grid/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
366
|
-
* ...
|
|
367
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-hintHtml)
|
|
342
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-hintHtml)
|
|
368
343
|
* @param {object} data A data object
|
|
369
344
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
370
345
|
* @param {any} data.value The current value of the field
|
|
@@ -377,23 +352,20 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
377
352
|
id ? : string
|
|
378
353
|
/**
|
|
379
354
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
380
|
-
* ...
|
|
381
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-ignoreParentReadOnly)
|
|
355
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-ignoreParentReadOnly)
|
|
382
356
|
*/
|
|
383
357
|
ignoreParentReadOnly ? : boolean
|
|
384
358
|
/**
|
|
385
359
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
386
360
|
* [hbox](https://bryntum.com/products/grid/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
387
361
|
* [container](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-container).
|
|
388
|
-
* ...
|
|
389
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-inline)
|
|
362
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-inline)
|
|
390
363
|
*/
|
|
391
364
|
inline ? : boolean
|
|
392
365
|
/**
|
|
393
366
|
* Configure this as `true` to render the dropdown list as a permanently visible list
|
|
394
367
|
* in the document flow immediately below the input area instead of as a popup.
|
|
395
|
-
* ...
|
|
396
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-inlinePicker)
|
|
368
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-inlinePicker)
|
|
397
369
|
*/
|
|
398
370
|
inlinePicker ? : boolean
|
|
399
371
|
/**
|
|
@@ -431,30 +403,26 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
431
403
|
insertFirst ? : HTMLElement|string
|
|
432
404
|
/**
|
|
433
405
|
* Rows to display in the dropdown (list items).
|
|
434
|
-
* ...
|
|
435
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-items)
|
|
406
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-items)
|
|
436
407
|
*/
|
|
437
408
|
items ? : object[]|string[]|object
|
|
438
409
|
/**
|
|
439
410
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
440
411
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
441
412
|
* are the name of the instance method to call when the keystroke is received.
|
|
442
|
-
* ...
|
|
443
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-keyMap)
|
|
413
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-keyMap)
|
|
444
414
|
*/
|
|
445
415
|
keyMap ? : Record<string, KeyMapConfig>
|
|
446
416
|
/**
|
|
447
417
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
448
418
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
449
419
|
* immediate feedback, change will still be triggered on blur).
|
|
450
|
-
* ...
|
|
451
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-keyStrokeChangeDelay)
|
|
420
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-keyStrokeChangeDelay)
|
|
452
421
|
*/
|
|
453
422
|
keyStrokeChangeDelay ? : number
|
|
454
423
|
/**
|
|
455
424
|
* The delay in milliseconds to wait after the last keystroke before filtering the list.
|
|
456
|
-
* ...
|
|
457
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-keyStrokeFilterDelay)
|
|
425
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-keyStrokeFilterDelay)
|
|
458
426
|
*/
|
|
459
427
|
keyStrokeFilterDelay ? : number
|
|
460
428
|
/**
|
|
@@ -467,15 +435,15 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
467
435
|
labelCls ? : string|object
|
|
468
436
|
/**
|
|
469
437
|
* Label position, either 'before' the field or 'above' the field
|
|
470
|
-
* ...
|
|
471
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-labelPosition)
|
|
438
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-labelPosition)
|
|
472
439
|
*/
|
|
473
440
|
labelPosition ? : 'before'|'above'|null
|
|
474
441
|
/**
|
|
475
442
|
* The labels to add either before or after the input field.
|
|
476
443
|
* Each label may have the following properties:
|
|
477
|
-
* ...
|
|
478
|
-
*
|
|
444
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-labels)
|
|
445
|
+
* @property {string} html Label text
|
|
446
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
479
447
|
*/
|
|
480
448
|
labels ? : object[]
|
|
481
449
|
/**
|
|
@@ -488,8 +456,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
488
456
|
listCls ? : string
|
|
489
457
|
/**
|
|
490
458
|
* The listener set for this object.
|
|
491
|
-
* ...
|
|
492
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-listeners)
|
|
459
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-listeners)
|
|
493
460
|
*/
|
|
494
461
|
listeners ? : ChecklistFilterComboListeners
|
|
495
462
|
/**
|
|
@@ -500,18 +467,16 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
500
467
|
listItemPillTpl ? : (record: Model) => string
|
|
501
468
|
/**
|
|
502
469
|
* Template string used to render the list items in the dropdown list
|
|
503
|
-
* ...
|
|
504
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-listItemTpl)
|
|
470
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-listItemTpl)
|
|
505
471
|
* @param {Core.data.Model} record The record representing the item being rendered
|
|
506
472
|
* @returns {string,void}
|
|
507
473
|
*/
|
|
508
|
-
listItemTpl ? : (record: Model
|
|
474
|
+
listItemTpl ? : (record: Model) => string|void
|
|
509
475
|
/**
|
|
510
476
|
* A class translations of which are used for translating this entity.
|
|
511
477
|
* This is often used when translations of an item are defined on its container class.
|
|
512
478
|
* For example:
|
|
513
|
-
* ...
|
|
514
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-localeClass)
|
|
479
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-localeClass)
|
|
515
480
|
*/
|
|
516
481
|
localeClass ? : typeof Base
|
|
517
482
|
/**
|
|
@@ -523,8 +488,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
523
488
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
524
489
|
* you could use 'localeKey' meta configuration.
|
|
525
490
|
* Example:
|
|
526
|
-
* ...
|
|
527
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-localizableProperties)
|
|
491
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-localizableProperties)
|
|
528
492
|
*/
|
|
529
493
|
localizableProperties ? : string[]
|
|
530
494
|
/**
|
|
@@ -550,8 +514,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
550
514
|
maxHeight ? : string|number
|
|
551
515
|
/**
|
|
552
516
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
553
|
-
* ...
|
|
554
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-maximizeOnMobile)
|
|
517
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-maximizeOnMobile)
|
|
555
518
|
*/
|
|
556
519
|
maximizeOnMobile ? : number|string
|
|
557
520
|
/**
|
|
@@ -565,8 +528,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
565
528
|
maxWidth ? : string|number
|
|
566
529
|
/**
|
|
567
530
|
* The minimum string length to trigger the filtering, only relevant when [editable](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-editable) is `true`.
|
|
568
|
-
* ...
|
|
569
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-minChars)
|
|
531
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-minChars)
|
|
570
532
|
*/
|
|
571
533
|
minChars ? : number
|
|
572
534
|
/**
|
|
@@ -587,12 +549,10 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
587
549
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
588
550
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
589
551
|
* layout.
|
|
590
|
-
* ...
|
|
591
|
-
*
|
|
552
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-monitorResize)
|
|
553
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
592
554
|
*/
|
|
593
|
-
monitorResize ? : boolean|
|
|
594
|
-
immediate?: boolean
|
|
595
|
-
}
|
|
555
|
+
monitorResize ? : boolean|object
|
|
596
556
|
/**
|
|
597
557
|
* A key value which, when typed in a [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) Combo, selects the
|
|
598
558
|
* currently active item in the picker, and clears the input field ready for another
|
|
@@ -603,8 +563,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
603
563
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
604
564
|
* Used prior to [ref](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
605
565
|
* [Container.values](https://bryntum.com/products/grid/docs/api/Core/widget/Container#property-values).
|
|
606
|
-
* ...
|
|
607
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-name)
|
|
566
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-name)
|
|
608
567
|
*/
|
|
609
568
|
name ? : string
|
|
610
569
|
/**
|
|
@@ -615,10 +574,9 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
615
574
|
/**
|
|
616
575
|
* Configuration object for the [picker](https://bryntum.com/products/grid/docs/api/Core/widget/List) on initialization. Returns the
|
|
617
576
|
* [picker](https://bryntum.com/products/grid/docs/api/Core/widget/List) instance at runtime.
|
|
618
|
-
* ...
|
|
619
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-picker)
|
|
577
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-picker)
|
|
620
578
|
*/
|
|
621
|
-
picker ? : ListConfig
|
|
579
|
+
picker ? : ListConfig
|
|
622
580
|
/**
|
|
623
581
|
* The name of the element property to which the picker should size and align itself.
|
|
624
582
|
*/
|
|
@@ -635,8 +593,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
635
593
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
636
594
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
637
595
|
* widget's [contentElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-contentElement).
|
|
638
|
-
* ...
|
|
639
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-positioned)
|
|
596
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-positioned)
|
|
640
597
|
*/
|
|
641
598
|
positioned ? : boolean
|
|
642
599
|
/**
|
|
@@ -648,22 +605,19 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
648
605
|
* Optionally a [Filter](https://bryntum.com/products/grid/docs/api/Core/util/CollectionFilter) config object which the combo should use for
|
|
649
606
|
* filtering using the typed value.
|
|
650
607
|
* This may use a `filterBy` property to test its `value` against any field in the passed record.
|
|
651
|
-
* ...
|
|
652
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-primaryFilter)
|
|
608
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-primaryFilter)
|
|
653
609
|
*/
|
|
654
610
|
primaryFilter ? : CollectionFilterConfig
|
|
655
611
|
/**
|
|
656
612
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
657
613
|
* are unresponsive.
|
|
658
|
-
* ...
|
|
659
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-readOnly)
|
|
614
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-readOnly)
|
|
660
615
|
*/
|
|
661
616
|
readOnly ? : boolean
|
|
662
617
|
relayStoreEvents ? : boolean
|
|
663
618
|
/**
|
|
664
619
|
* Predefined style to use for the field. Possible values are:
|
|
665
|
-
* ...
|
|
666
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-rendition)
|
|
620
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-rendition)
|
|
667
621
|
*/
|
|
668
622
|
rendition ? : 'outlined'|'filled'|string
|
|
669
623
|
/**
|
|
@@ -682,23 +636,26 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
682
636
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
683
637
|
* [focusElement](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
684
638
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
685
|
-
* ...
|
|
686
|
-
* [
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
639
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-ripple)
|
|
640
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
641
|
+
* @property {string} [color] A CSS color name or specification.
|
|
642
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
643
|
+
* @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
|
|
644
|
+
*/
|
|
645
|
+
ripple ? : boolean|object
|
|
646
|
+
/**
|
|
647
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
648
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
649
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-role)
|
|
650
|
+
*/
|
|
651
|
+
role ? : string
|
|
694
652
|
/**
|
|
695
653
|
* 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`
|
|
696
654
|
*/
|
|
697
655
|
rootElement ? : ShadowRoot|HTMLElement
|
|
698
656
|
/**
|
|
699
657
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
700
|
-
* ...
|
|
701
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-rtl)
|
|
658
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-rtl)
|
|
702
659
|
*/
|
|
703
660
|
rtl ? : boolean
|
|
704
661
|
/**
|
|
@@ -712,8 +669,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
712
669
|
searchText ? : string
|
|
713
670
|
/**
|
|
714
671
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-floating).*
|
|
715
|
-
* ...
|
|
716
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-showAnimation)
|
|
672
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-showAnimation)
|
|
717
673
|
*/
|
|
718
674
|
showAnimation ? : boolean|object
|
|
719
675
|
/**
|
|
@@ -751,8 +707,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
751
707
|
* A configuration for the [tab](https://bryntum.com/products/grid/docs/api/Core/widget/Tab) created for this widget when it is placed in a
|
|
752
708
|
* [TabPanel](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
|
|
753
709
|
* this widget:
|
|
754
|
-
* ...
|
|
755
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-tab)
|
|
710
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-tab)
|
|
756
711
|
*/
|
|
757
712
|
tab ? : boolean|TabConfig
|
|
758
713
|
/**
|
|
@@ -760,14 +715,12 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
760
715
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
761
716
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
762
717
|
* to the element programmatically.
|
|
763
|
-
* ...
|
|
764
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-tabIndex)
|
|
718
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-tabIndex)
|
|
765
719
|
*/
|
|
766
720
|
tabIndex ? : number
|
|
767
721
|
/**
|
|
768
722
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
769
|
-
* ...
|
|
770
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-textAlign)
|
|
723
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-textAlign)
|
|
771
724
|
*/
|
|
772
725
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
773
726
|
/**
|
|
@@ -776,30 +729,26 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
776
729
|
title ? : string
|
|
777
730
|
/**
|
|
778
731
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
779
|
-
* ...
|
|
780
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-tooltip)
|
|
732
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-tooltip)
|
|
781
733
|
*/
|
|
782
734
|
tooltip ? : string|TooltipConfig|null
|
|
783
735
|
/**
|
|
784
736
|
* How to query the store upon click of the expand trigger. Specify one of these values:
|
|
785
|
-
* ...
|
|
786
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-triggerAction)
|
|
737
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-triggerAction)
|
|
787
738
|
*/
|
|
788
739
|
triggerAction ? : 'all'|'last'|null
|
|
789
740
|
/**
|
|
790
741
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
791
742
|
* an instantiated Trigger Widget may be retrieved from the live `triggers` property.
|
|
792
|
-
* ...
|
|
793
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-triggers)
|
|
743
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-triggers)
|
|
794
744
|
*/
|
|
795
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
745
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
796
746
|
type ? : 'checklistfiltercombo'
|
|
797
747
|
/**
|
|
798
748
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
799
749
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
800
750
|
* values are used as the class names.
|
|
801
|
-
* ...
|
|
802
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-ui)
|
|
751
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-ui)
|
|
803
752
|
*/
|
|
804
753
|
ui ? : string|object
|
|
805
754
|
/**
|
|
@@ -818,8 +767,7 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
818
767
|
/**
|
|
819
768
|
* Field used for item value when populating from store. Setting this to `null` will
|
|
820
769
|
* yield the selected record as the Combo's [value](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#property-value).
|
|
821
|
-
* ...
|
|
822
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-valueField)
|
|
770
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-valueField)
|
|
823
771
|
*/
|
|
824
772
|
valueField ? : string|null
|
|
825
773
|
/**
|
|
@@ -835,14 +783,12 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
835
783
|
width ? : string|number
|
|
836
784
|
/**
|
|
837
785
|
* The x position for the widget.
|
|
838
|
-
* ...
|
|
839
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-x)
|
|
786
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-x)
|
|
840
787
|
*/
|
|
841
788
|
x ? : number
|
|
842
789
|
/**
|
|
843
790
|
* The y position for the widget.
|
|
844
|
-
* ...
|
|
845
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-y)
|
|
791
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-y)
|
|
846
792
|
*/
|
|
847
793
|
y ? : number
|
|
848
794
|
|
|
@@ -1000,6 +946,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1000
946
|
'required',
|
|
1001
947
|
'revertOnEscape',
|
|
1002
948
|
'ripple',
|
|
949
|
+
'role',
|
|
1003
950
|
'rootElement',
|
|
1004
951
|
'rtl',
|
|
1005
952
|
'scrollAction',
|
|
@@ -1114,6 +1061,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1114
1061
|
'relayStoreEvents',
|
|
1115
1062
|
'revertOnEscape',
|
|
1116
1063
|
'ripple',
|
|
1064
|
+
'role',
|
|
1117
1065
|
'rootElement',
|
|
1118
1066
|
'scrollAction',
|
|
1119
1067
|
'showAnimation',
|
|
@@ -1135,7 +1083,6 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1135
1083
|
|
|
1136
1084
|
private static bryntumProps: string[] = BryntumChecklistFilterComboComponent.bryntumFeatureNames.concat([
|
|
1137
1085
|
'alignSelf',
|
|
1138
|
-
'anchorSize',
|
|
1139
1086
|
'appendTo',
|
|
1140
1087
|
'badge',
|
|
1141
1088
|
'callOnFunctions',
|
|
@@ -1149,7 +1096,6 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1149
1096
|
'extraData',
|
|
1150
1097
|
'filterOperator',
|
|
1151
1098
|
'flex',
|
|
1152
|
-
'focusVisible',
|
|
1153
1099
|
'formula',
|
|
1154
1100
|
'height',
|
|
1155
1101
|
'hidden',
|
|
@@ -1226,7 +1172,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1226
1172
|
@Input() color ! : Color;
|
|
1227
1173
|
@Input() config ! : object;
|
|
1228
1174
|
@Input() constrainTo ! : HTMLElement|Widget|Rectangle;
|
|
1229
|
-
@Input() container ! : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|FieldContainerConfig
|
|
1175
|
+
@Input() container ! : Record<string, GridContainerItemConfig>|GridContainerItemConfig[]|FieldContainerConfig;
|
|
1230
1176
|
@Input() containValues ! : boolean|string|((field: Field) => boolean);
|
|
1231
1177
|
@Input() contentElementCls ! : string|object;
|
|
1232
1178
|
@Input() createOnUnmatched ! : ((name: string, combo: Combo) => Model)|string|boolean;
|
|
@@ -1234,11 +1180,9 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1234
1180
|
@Input() defaultBindProperty ! : string;
|
|
1235
1181
|
@Input() detectCSSCompatibilityIssues ! : boolean;
|
|
1236
1182
|
@Input() displayField ! : string;
|
|
1237
|
-
@Input() displayValueRenderer ! : (record: Model
|
|
1183
|
+
@Input() displayValueRenderer ! : (record: Model, combo: Combo) => string|void;
|
|
1238
1184
|
@Input() dock ! : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object;
|
|
1239
|
-
@Input() draggable ! : boolean|
|
|
1240
|
-
handleSelector?: string
|
|
1241
|
-
};
|
|
1185
|
+
@Input() draggable ! : boolean|object;
|
|
1242
1186
|
@Input() elementAttributes ! : Record<string, string|null>;
|
|
1243
1187
|
@Input() emptyText ! : string;
|
|
1244
1188
|
@Input() encodeFilterParams ! : (filters: object[]) => object[];
|
|
@@ -1269,7 +1213,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1269
1213
|
@Input() labelWidth ! : string|number;
|
|
1270
1214
|
@Input() listCls ! : string;
|
|
1271
1215
|
@Input() listeners ! : ChecklistFilterComboListeners;
|
|
1272
|
-
@Input() listItemTpl ! : (record: Model
|
|
1216
|
+
@Input() listItemTpl ! : (record: Model) => string|void;
|
|
1273
1217
|
@Input() localeClass ! : typeof Base;
|
|
1274
1218
|
@Input() localizable ! : boolean;
|
|
1275
1219
|
@Input() localizableProperties ! : string[];
|
|
@@ -1278,9 +1222,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1278
1222
|
@Input() maxLength ! : number;
|
|
1279
1223
|
@Input() minChars ! : number;
|
|
1280
1224
|
@Input() minLength ! : number;
|
|
1281
|
-
@Input() monitorResize ! : boolean|
|
|
1282
|
-
immediate?: boolean
|
|
1283
|
-
};
|
|
1225
|
+
@Input() monitorResize ! : boolean|object;
|
|
1284
1226
|
@Input() multiValueSeparator ! : string;
|
|
1285
1227
|
@Input() name ! : string;
|
|
1286
1228
|
@Input() overlayAnchor ! : boolean;
|
|
@@ -1291,12 +1233,8 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1291
1233
|
@Input() primaryFilter ! : CollectionFilterConfig;
|
|
1292
1234
|
@Input() relayStoreEvents ! : boolean;
|
|
1293
1235
|
@Input() revertOnEscape ! : boolean;
|
|
1294
|
-
@Input() ripple ! : boolean|
|
|
1295
|
-
|
|
1296
|
-
color?: string
|
|
1297
|
-
radius?: number
|
|
1298
|
-
clip?: string
|
|
1299
|
-
};
|
|
1236
|
+
@Input() ripple ! : boolean|object;
|
|
1237
|
+
@Input() role ! : string;
|
|
1300
1238
|
@Input() rootElement ! : ShadowRoot|HTMLElement;
|
|
1301
1239
|
@Input() scrollAction ! : 'hide'|'realign'|null;
|
|
1302
1240
|
@Input() showAnimation ! : boolean|object;
|
|
@@ -1362,15 +1300,13 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1362
1300
|
@Input() y ! : number;
|
|
1363
1301
|
|
|
1364
1302
|
// Properties only
|
|
1365
|
-
@Input()
|
|
1366
|
-
@Input()
|
|
1367
|
-
@Input()
|
|
1368
|
-
@Input()
|
|
1369
|
-
@Input()
|
|
1370
|
-
@Input()
|
|
1371
|
-
@Input()
|
|
1372
|
-
@Input() parent ! : Widget;
|
|
1373
|
-
@Input() scrollable ! : Scroller;
|
|
1303
|
+
@Input() content ! : string;
|
|
1304
|
+
@Input() formula ! : string;
|
|
1305
|
+
@Input() html ! : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX;
|
|
1306
|
+
@Input() input ! : HTMLElement;
|
|
1307
|
+
@Input() multiSelect ! : boolean;
|
|
1308
|
+
@Input() parent ! : Widget;
|
|
1309
|
+
@Input() scrollable ! : Scroller;
|
|
1374
1310
|
|
|
1375
1311
|
// Events emitters
|
|
1376
1312
|
/**
|
|
@@ -1403,8 +1339,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1403
1339
|
@Output() onBeforeShow: any = new EventEmitter<((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string>();
|
|
1404
1340
|
/**
|
|
1405
1341
|
* Fires when any other event is fired from the object.
|
|
1406
|
-
* ...
|
|
1407
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#event-catchAll)
|
|
1342
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#event-catchAll)
|
|
1408
1343
|
* @param {object} event Event object
|
|
1409
1344
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
1410
1345
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -1424,8 +1359,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1424
1359
|
@Output() onChange: any = new EventEmitter<((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string>();
|
|
1425
1360
|
/**
|
|
1426
1361
|
* Fired when this field is [cleared](https://bryntum.com/products/grid/docs/api/Core/widget/Field#function-clear).
|
|
1427
|
-
* ...
|
|
1428
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#event-clear)
|
|
1362
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#event-clear)
|
|
1429
1363
|
* @param {object} event Event object
|
|
1430
1364
|
* @param {Core.widget.Field,any} event.source This Field
|
|
1431
1365
|
*/
|
|
@@ -1484,8 +1418,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1484
1418
|
/**
|
|
1485
1419
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
1486
1420
|
* achieves visibility.
|
|
1487
|
-
* ...
|
|
1488
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#event-paint)
|
|
1421
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#event-paint)
|
|
1489
1422
|
* @param {object} event Event object
|
|
1490
1423
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
1491
1424
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -1597,11 +1530,69 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1597
1530
|
WrapperHelper.devWarningContainer(instanceName, containerParam);
|
|
1598
1531
|
}
|
|
1599
1532
|
|
|
1533
|
+
// In shadow DOM (e.g. Angular ViewEncapsulation.ShadowDom), theme CSS from document.head
|
|
1534
|
+
// does not cascade into the shadow root. Inject a matching <link> so Bryntum's CSS check
|
|
1535
|
+
// finds the theme. The @font-face rules from component styles are also extracted to
|
|
1536
|
+
// document scope so document.fonts detects them (shadow-root @font-face is not reliably
|
|
1537
|
+
// included in document.fonts across all browsers).
|
|
1538
|
+
const shadowRoot = elementRef.nativeElement.getRootNode();
|
|
1539
|
+
if (shadowRoot instanceof ShadowRoot) {
|
|
1540
|
+
initThemeInShadowRoots();
|
|
1541
|
+
BryntumChecklistFilterComboComponent.ensureFontsInDocument(shadowRoot);
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1600
1544
|
// @ts-ignore
|
|
1601
1545
|
me.instance = instanceName === 'Widget' ? Widget.create(bryntumConfig) : new instanceClass(bryntumConfig);
|
|
1602
1546
|
|
|
1603
1547
|
}
|
|
1604
1548
|
|
|
1549
|
+
/**
|
|
1550
|
+
* Extracts all @font-face declarations from a shadow root's stylesheets and adds them to
|
|
1551
|
+
* document.head as a single <style> element. This is needed because @font-face rules inside
|
|
1552
|
+
* a shadow root are not reliably included in document.fonts across all browsers, causing
|
|
1553
|
+
* Bryntum's CSS compatibility check to incorrectly report missing fonts.
|
|
1554
|
+
* Safe to call multiple times — the extraction runs only once per page.
|
|
1555
|
+
*/
|
|
1556
|
+
private static ensureFontsInDocument(shadowRoot: ShadowRoot): void {
|
|
1557
|
+
if (document.querySelector('#b-shadow-root-fonts')) {
|
|
1558
|
+
return;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
const fontFaceRules: string[] = [];
|
|
1562
|
+
|
|
1563
|
+
const extractFromSheet = (sheet: CSSStyleSheet): void => {
|
|
1564
|
+
try {
|
|
1565
|
+
const rules = sheet.cssRules;
|
|
1566
|
+
for (let i = 0; i < rules.length; i++) {
|
|
1567
|
+
if (rules[i].type === CSSRule.FONT_FACE_RULE) {
|
|
1568
|
+
fontFaceRules.push(rules[i].cssText);
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
catch (_e) {
|
|
1573
|
+
// Cross-origin access may throw; silently skip
|
|
1574
|
+
}
|
|
1575
|
+
};
|
|
1576
|
+
|
|
1577
|
+
// adoptedStyleSheets (Angular 14+ / modern browsers)
|
|
1578
|
+
const adoptedSheets: CSSStyleSheet[] = (shadowRoot as any).adoptedStyleSheets ?? [];
|
|
1579
|
+
adoptedSheets.forEach(sheet => extractFromSheet(sheet));
|
|
1580
|
+
|
|
1581
|
+
// <style> elements (older Angular or fallback)
|
|
1582
|
+
shadowRoot.querySelectorAll('style').forEach(el => {
|
|
1583
|
+
if (el.sheet) {
|
|
1584
|
+
extractFromSheet(el.sheet);
|
|
1585
|
+
}
|
|
1586
|
+
});
|
|
1587
|
+
|
|
1588
|
+
if (fontFaceRules.length > 0) {
|
|
1589
|
+
const style = document.createElement('style');
|
|
1590
|
+
style.id = 'b-shadow-root-fonts';
|
|
1591
|
+
style.textContent = fontFaceRules.join('\n');
|
|
1592
|
+
document.head.appendChild(style);
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1605
1596
|
/**
|
|
1606
1597
|
* Watch for changes
|
|
1607
1598
|
* @param changes
|