@qualcomm-ui/angular-core 1.1.1 → 1.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.
@@ -0,0 +1,478 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Directive, input, computed, booleanAttribute, output, inject, Injector } from '@angular/core';
3
+ import { BaseApiContextService, createApiContext, useTrackBindings, useMachine, normalizeProps } from '@qualcomm-ui/angular-core/machine';
4
+ import { useOnDestroy, useId, useIsMounted } from '@qualcomm-ui/angular-core/common';
5
+ import { DOCUMENT } from '@angular/common';
6
+ import { RenderStrategyContextService } from '@qualcomm-ui/angular-core/presence';
7
+ import { treeMachine, createTreeApi } from '@qualcomm-ui/core/tree';
8
+ import '@qualcomm-ui/utils/collection';
9
+
10
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
11
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
12
+ class TreeContextService extends BaseApiContextService {
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TreeContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TreeContextService });
15
+ }
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TreeContextService, decorators: [{
17
+ type: Injectable
18
+ }] });
19
+ const [TREE_CONTEXT, useTreeContext, provideTreeContext,] = createApiContext("TreeContext", TreeContextService);
20
+
21
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
22
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
23
+ class TreeNodePropsContextService extends BaseApiContextService {
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TreeNodePropsContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
25
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TreeNodePropsContextService });
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TreeNodePropsContextService, decorators: [{
28
+ type: Injectable
29
+ }] });
30
+ const [TREE_NODE_PROPS_CONTEXT, useTreeNodePropsContext, provideTreeNodePropsContext,] = createApiContext("TreeNodePropsContext", TreeNodePropsContextService);
31
+
32
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
33
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
34
+ class CoreTreeBranchContentDirective {
35
+ treeContext = useTreeContext();
36
+ treeNodePropsContext = useTreeNodePropsContext();
37
+ trackBindings = useTrackBindings(() => {
38
+ return this.treeContext().getBranchContentBindings(this.treeNodePropsContext());
39
+ });
40
+ ngOnInit() {
41
+ this.trackBindings();
42
+ }
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
44
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeBranchContentDirective, isStandalone: true, ngImport: i0 });
45
+ }
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchContentDirective, decorators: [{
47
+ type: Directive
48
+ }] });
49
+
50
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
51
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
52
+ class CoreTreeBranchIndentGuideDirective {
53
+ treeContext = useTreeContext();
54
+ treeNodePropsContext = useTreeNodePropsContext();
55
+ trackBindings = useTrackBindings(() => {
56
+ return this.treeContext().getBranchIndentGuideBindings(this.treeNodePropsContext());
57
+ });
58
+ ngOnInit() {
59
+ this.trackBindings();
60
+ }
61
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchIndentGuideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
62
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeBranchIndentGuideDirective, isStandalone: true, ngImport: i0 });
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchIndentGuideDirective, decorators: [{
65
+ type: Directive
66
+ }] });
67
+
68
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
69
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
70
+ class CoreTreeBranchNodeDirective {
71
+ treeContext = useTreeContext();
72
+ treeNodePropsContext = useTreeNodePropsContext();
73
+ trackBindings = useTrackBindings(() => {
74
+ return this.treeContext().getBranchNodeBindings(this.treeNodePropsContext());
75
+ });
76
+ ngOnInit() {
77
+ this.trackBindings();
78
+ }
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchNodeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
80
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeBranchNodeDirective, isStandalone: true, ngImport: i0 });
81
+ }
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchNodeDirective, decorators: [{
83
+ type: Directive
84
+ }] });
85
+
86
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
87
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
88
+ class CoreTreeBranchTriggerDirective {
89
+ treeContext = useTreeContext();
90
+ treeNodePropsContext = useTreeNodePropsContext();
91
+ trackBindings = useTrackBindings(() => {
92
+ return this.treeContext().getBranchTriggerBindings(this.treeNodePropsContext());
93
+ });
94
+ ngOnInit() {
95
+ this.trackBindings();
96
+ }
97
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
98
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeBranchTriggerDirective, isStandalone: true, ngImport: i0 });
99
+ }
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchTriggerDirective, decorators: [{
101
+ type: Directive
102
+ }] });
103
+
104
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
105
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
106
+ class CoreTreeBranchDirective {
107
+ treeContext = useTreeContext();
108
+ treeNodePropsContext = useTreeNodePropsContext();
109
+ trackBindings = useTrackBindings(() => {
110
+ return this.treeContext().getBranchBindings(this.treeNodePropsContext());
111
+ });
112
+ ngOnInit() {
113
+ this.trackBindings();
114
+ }
115
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
116
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeBranchDirective, isStandalone: true, ngImport: i0 });
117
+ }
118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeBranchDirective, decorators: [{
119
+ type: Directive
120
+ }] });
121
+
122
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
123
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
124
+ class CoreTreeLabelDirective {
125
+ /**
126
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
127
+ * omitted, a unique identifier will be generated for accessibility.
128
+ */
129
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
130
+ treeContext = useTreeContext();
131
+ trackBindings = useTrackBindings(() => {
132
+ return this.treeContext().getLabelBindings({
133
+ id: this.hostId(),
134
+ onDestroy: this.onDestroy,
135
+ });
136
+ });
137
+ onDestroy = useOnDestroy();
138
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
139
+ ngOnInit() {
140
+ this.trackBindings();
141
+ }
142
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
143
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.12", type: CoreTreeLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
144
+ }
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeLabelDirective, decorators: [{
146
+ type: Directive
147
+ }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
148
+
149
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
150
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
151
+ class CoreTreeLeafNodeDirective {
152
+ treeContext = useTreeContext();
153
+ treeNodePropsContext = useTreeNodePropsContext();
154
+ trackBindings = useTrackBindings(() => {
155
+ return this.treeContext().getLeafNodeBindings(this.treeNodePropsContext());
156
+ });
157
+ ngOnInit() {
158
+ this.trackBindings();
159
+ }
160
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeLeafNodeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
161
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeLeafNodeDirective, isStandalone: true, ngImport: i0 });
162
+ }
163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeLeafNodeDirective, decorators: [{
164
+ type: Directive
165
+ }] });
166
+
167
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
168
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
169
+ class CoreTreeNodeActionDirective {
170
+ treeContext = useTreeContext();
171
+ treeNodePropsContext = useTreeNodePropsContext();
172
+ trackBindings = useTrackBindings(() => {
173
+ return this.treeContext().getNodeActionBindings(this.treeNodePropsContext());
174
+ });
175
+ ngOnInit() {
176
+ this.trackBindings();
177
+ }
178
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
179
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeNodeActionDirective, isStandalone: true, ngImport: i0 });
180
+ }
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeActionDirective, decorators: [{
182
+ type: Directive
183
+ }] });
184
+
185
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
186
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
187
+ class CoreTreeNodeCheckboxDirective {
188
+ treeContext = useTreeContext();
189
+ treeNodePropsContext = useTreeNodePropsContext();
190
+ trackBindings = useTrackBindings(() => {
191
+ return this.treeContext().getNodeCheckboxBindings(this.treeNodePropsContext());
192
+ });
193
+ ngOnInit() {
194
+ this.trackBindings();
195
+ }
196
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeCheckboxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
197
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeNodeCheckboxDirective, isStandalone: true, ngImport: i0 });
198
+ }
199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeCheckboxDirective, decorators: [{
200
+ type: Directive
201
+ }] });
202
+
203
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
204
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
205
+ class CoreTreeNodeIconDirective {
206
+ treeContext = useTreeContext();
207
+ treeNodePropsContext = useTreeNodePropsContext();
208
+ trackBindings = useTrackBindings(() => {
209
+ return this.treeContext().getNodeIconBindings(this.treeNodePropsContext());
210
+ });
211
+ ngOnInit() {
212
+ this.trackBindings();
213
+ }
214
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
215
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeNodeIconDirective, isStandalone: true, ngImport: i0 });
216
+ }
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeIconDirective, decorators: [{
218
+ type: Directive
219
+ }] });
220
+
221
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
222
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
223
+ class CoreTreeNodeIndicatorDirective {
224
+ treeContext = useTreeContext();
225
+ treeNodePropsContext = useTreeNodePropsContext();
226
+ trackBindings = useTrackBindings(() => {
227
+ return this.treeContext().getNodeIndicatorBindings(this.treeNodePropsContext());
228
+ });
229
+ ngOnInit() {
230
+ this.trackBindings();
231
+ }
232
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
233
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeNodeIndicatorDirective, isStandalone: true, ngImport: i0 });
234
+ }
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeIndicatorDirective, decorators: [{
236
+ type: Directive
237
+ }] });
238
+
239
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
240
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
241
+ class CoreTreeNodeTextDirective {
242
+ treeContext = useTreeContext();
243
+ treeNodePropsContext = useTreeNodePropsContext();
244
+ trackBindings = useTrackBindings(() => {
245
+ return this.treeContext().getNodeTextBindings(this.treeNodePropsContext());
246
+ });
247
+ ngOnInit() {
248
+ this.trackBindings();
249
+ }
250
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
251
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CoreTreeNodeTextDirective, isStandalone: true, ngImport: i0 });
252
+ }
253
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeNodeTextDirective, decorators: [{
254
+ type: Directive
255
+ }] });
256
+
257
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
258
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
259
+ class CoreTreeRootDirective {
260
+ /**
261
+ * The controlled checked node value
262
+ */
263
+ checkedValue = input(...(ngDevMode ? [undefined, { debugName: "checkedValue" }] : []));
264
+ /**
265
+ * The tree collection data
266
+ * @inheritDoc
267
+ */
268
+ collection = input(...(ngDevMode ? [undefined, { debugName: "collection" }] : []));
269
+ /**
270
+ * The initial checked node value when rendered.
271
+ * Use when you don't need to control the checked node value.
272
+ */
273
+ defaultCheckedValue = input(...(ngDevMode ? [undefined, { debugName: "defaultCheckedValue" }] : []));
274
+ /**
275
+ * The initial expanded node ids when rendered.
276
+ * Use when you don't need to control the expanded node value.
277
+ */
278
+ defaultExpandedValue = input(...(ngDevMode ? [undefined, { debugName: "defaultExpandedValue" }] : []));
279
+ /**
280
+ * The initial focused node value when rendered.
281
+ * Use when you don't need to control the focused node value.
282
+ */
283
+ defaultFocusedValue = input(...(ngDevMode ? [undefined, { debugName: "defaultFocusedValue" }] : []));
284
+ /**
285
+ * The initial selected node value when rendered.
286
+ * Use when you don't need to control the selected node value.
287
+ */
288
+ defaultSelectedValue = input(...(ngDevMode ? [undefined, { debugName: "defaultSelectedValue" }] : []));
289
+ /**
290
+ * The document's text/writing direction.
291
+ */
292
+ dir = input(...(ngDevMode ? [undefined, { debugName: "dir" }] : []));
293
+ /**
294
+ * The controlled expanded node ids
295
+ */
296
+ expandedValue = input(...(ngDevMode ? [undefined, { debugName: "expandedValue" }] : []));
297
+ /**
298
+ * Whether clicking on a branch should open it or not
299
+ * @default true
300
+ */
301
+ expandOnClick = input(undefined, ...(ngDevMode ? [{ debugName: "expandOnClick", transform: booleanAttribute }] : [{
302
+ transform: booleanAttribute,
303
+ }]));
304
+ /**
305
+ * The value of the focused node
306
+ */
307
+ focusedValue = input(...(ngDevMode ? [undefined, { debugName: "focusedValue" }] : []));
308
+ /**
309
+ * A root node to correctly resolve the Document in custom environments. i.e.,
310
+ * Iframes, Electron.
311
+ */
312
+ getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
313
+ /**
314
+ * HTML {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
315
+ * omitted, a unique identifier will be generated for accessibility.)
316
+ */
317
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
318
+ /**
319
+ * Function to load children for a node asynchronously.
320
+ * When provided, branches will wait for this promise to resolve before expanding.
321
+ */
322
+ loadChildren = input(...(ngDevMode ? [undefined, { debugName: "loadChildren" }] : []));
323
+ /**
324
+ * When true, the component will not be rendered in the DOM until it becomes
325
+ * visible or active.
326
+ *
327
+ * @default false
328
+ */
329
+ lazyMount = input(undefined, ...(ngDevMode ? [{ debugName: "lazyMount", transform: booleanAttribute }] : [{
330
+ transform: booleanAttribute,
331
+ }]));
332
+ /**
333
+ * The controlled selected node value
334
+ */
335
+ selectedValue = input(...(ngDevMode ? [undefined, { debugName: "selectedValue" }] : []));
336
+ /**
337
+ * Whether the tree supports multiple selection
338
+ * @option `'single'`: only one node can be selected
339
+ * @option `'multiple'`: multiple nodes can be selected
340
+ *
341
+ * @default 'single'
342
+ */
343
+ selectionMode = input(...(ngDevMode ? [undefined, { debugName: "selectionMode" }] : []));
344
+ /**
345
+ * Callback function that determines whether a node should be hidden.
346
+ *
347
+ * @inheritDoc
348
+ */
349
+ shouldHideNode = input(...(ngDevMode ? [undefined, { debugName: "shouldHideNode" }] : []));
350
+ /**
351
+ * Whether the tree supports typeahead search
352
+ * @default true
353
+ */
354
+ typeahead = input(undefined, ...(ngDevMode ? [{ debugName: "typeahead", transform: booleanAttribute }] : [{
355
+ transform: booleanAttribute,
356
+ }]));
357
+ /**
358
+ * When true, the component will be completely removed from the DOM when it
359
+ * becomes inactive or hidden, rather than just being hidden with CSS.
360
+ *
361
+ * @default false
362
+ */
363
+ unmountOnExit = input(undefined, ...(ngDevMode ? [{ debugName: "unmountOnExit", transform: booleanAttribute }] : [{
364
+ transform: booleanAttribute,
365
+ }]));
366
+ /**
367
+ * Called when the checked value changes
368
+ */
369
+ checkedValueChanged = output();
370
+ /**
371
+ * Called when the tree is opened or closed
372
+ */
373
+ expandedValueChanged = output();
374
+ /**
375
+ * Called when the focused node changes
376
+ */
377
+ focusChanged = output();
378
+ /**
379
+ * Called when a node finishes loading children
380
+ */
381
+ loadChildrenComplete = output();
382
+ /**
383
+ * Called when loading children fails for one or more nodes
384
+ */
385
+ loadChildrenError = output();
386
+ /**
387
+ * Called when the selection changes
388
+ */
389
+ selectedValueChanged = output();
390
+ document = inject(DOCUMENT);
391
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
392
+ injector = inject(Injector);
393
+ isMounted = useIsMounted();
394
+ renderStrategyContextService = inject(RenderStrategyContextService);
395
+ treeContextService = inject(TreeContextService);
396
+ trackBindings = useTrackBindings(() => this.treeContextService.context().getRootBindings({
397
+ id: this.hostId(),
398
+ }));
399
+ ngOnInit() {
400
+ const machine = useMachine(treeMachine, computed(() => ({
401
+ checkedValue: this.checkedValue(),
402
+ collection: this.collection(),
403
+ defaultCheckedValue: this.defaultCheckedValue(),
404
+ defaultExpandedValue: this.defaultExpandedValue(),
405
+ defaultFocusedValue: this.defaultFocusedValue(),
406
+ defaultSelectedValue: this.defaultSelectedValue(),
407
+ dir: this.dir(),
408
+ expandedValue: this.expandedValue(),
409
+ expandOnClick: this.expandOnClick(),
410
+ focusedValue: this.focusedValue(),
411
+ getRootNode: this.getRootNode() || (() => this.document),
412
+ loadChildren: this.loadChildren(),
413
+ onCheckedValueChange: (details) => {
414
+ if (this.isMounted()) {
415
+ this.checkedValueChanged.emit(details);
416
+ }
417
+ },
418
+ onExpandedValueChange: (details) => {
419
+ if (this.isMounted()) {
420
+ this.expandedValueChanged.emit(details);
421
+ }
422
+ },
423
+ onFocusChange: (details) => {
424
+ if (this.isMounted()) {
425
+ this.focusChanged.emit(details);
426
+ }
427
+ },
428
+ onLoadChildrenComplete: (details) => {
429
+ if (this.isMounted()) {
430
+ this.loadChildrenComplete.emit(details);
431
+ }
432
+ },
433
+ onLoadChildrenError: (details) => {
434
+ if (this.isMounted()) {
435
+ this.loadChildrenError.emit(details);
436
+ }
437
+ },
438
+ onSelectedValueChange: (details) => {
439
+ if (this.isMounted()) {
440
+ this.selectedValueChanged.emit(details);
441
+ }
442
+ },
443
+ selectedValue: this.selectedValue(),
444
+ selectionMode: this.selectionMode(),
445
+ shouldHideNode: this.shouldHideNode(),
446
+ typeahead: this.typeahead(),
447
+ })), this.injector);
448
+ this.treeContextService.init(computed(() => createTreeApi(machine, normalizeProps)));
449
+ this.renderStrategyContextService.init(computed(() => ({
450
+ lazyMount: this.lazyMount(),
451
+ unmountOnExit: this.unmountOnExit(),
452
+ })));
453
+ this.trackBindings();
454
+ }
455
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
456
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.12", type: CoreTreeRootDirective, isStandalone: true, inputs: { checkedValue: { classPropertyName: "checkedValue", publicName: "checkedValue", isSignal: true, isRequired: false, transformFunction: null }, collection: { classPropertyName: "collection", publicName: "collection", isSignal: true, isRequired: false, transformFunction: null }, defaultCheckedValue: { classPropertyName: "defaultCheckedValue", publicName: "defaultCheckedValue", isSignal: true, isRequired: false, transformFunction: null }, defaultExpandedValue: { classPropertyName: "defaultExpandedValue", publicName: "defaultExpandedValue", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedValue: { classPropertyName: "defaultFocusedValue", publicName: "defaultFocusedValue", isSignal: true, isRequired: false, transformFunction: null }, defaultSelectedValue: { classPropertyName: "defaultSelectedValue", publicName: "defaultSelectedValue", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, expandedValue: { classPropertyName: "expandedValue", publicName: "expandedValue", isSignal: true, isRequired: false, transformFunction: null }, expandOnClick: { classPropertyName: "expandOnClick", publicName: "expandOnClick", isSignal: true, isRequired: false, transformFunction: null }, focusedValue: { classPropertyName: "focusedValue", publicName: "focusedValue", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null }, lazyMount: { classPropertyName: "lazyMount", publicName: "lazyMount", isSignal: true, isRequired: false, transformFunction: null }, selectedValue: { classPropertyName: "selectedValue", publicName: "selectedValue", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, shouldHideNode: { classPropertyName: "shouldHideNode", publicName: "shouldHideNode", isSignal: true, isRequired: false, transformFunction: null }, typeahead: { classPropertyName: "typeahead", publicName: "typeahead", isSignal: true, isRequired: false, transformFunction: null }, unmountOnExit: { classPropertyName: "unmountOnExit", publicName: "unmountOnExit", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checkedValueChanged: "checkedValueChanged", expandedValueChanged: "expandedValueChanged", focusChanged: "focusChanged", loadChildrenComplete: "loadChildrenComplete", loadChildrenError: "loadChildrenError", selectedValueChanged: "selectedValueChanged" }, ngImport: i0 });
457
+ }
458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CoreTreeRootDirective, decorators: [{
459
+ type: Directive
460
+ }], propDecorators: { checkedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkedValue", required: false }] }], collection: [{ type: i0.Input, args: [{ isSignal: true, alias: "collection", required: false }] }], defaultCheckedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultCheckedValue", required: false }] }], defaultExpandedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultExpandedValue", required: false }] }], defaultFocusedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultFocusedValue", required: false }] }], defaultSelectedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultSelectedValue", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], expandedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedValue", required: false }] }], expandOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandOnClick", required: false }] }], focusedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusedValue", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], loadChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadChildren", required: false }] }], lazyMount: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazyMount", required: false }] }], selectedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedValue", required: false }] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], shouldHideNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "shouldHideNode", required: false }] }], typeahead: [{ type: i0.Input, args: [{ isSignal: true, alias: "typeahead", required: false }] }], unmountOnExit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unmountOnExit", required: false }] }], checkedValueChanged: [{ type: i0.Output, args: ["checkedValueChanged"] }], expandedValueChanged: [{ type: i0.Output, args: ["expandedValueChanged"] }], focusChanged: [{ type: i0.Output, args: ["focusChanged"] }], loadChildrenComplete: [{ type: i0.Output, args: ["loadChildrenComplete"] }], loadChildrenError: [{ type: i0.Output, args: ["loadChildrenError"] }], selectedValueChanged: [{ type: i0.Output, args: ["selectedValueChanged"] }] } });
461
+
462
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
463
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
464
+ class TreeNodeStateContextService extends BaseApiContextService {
465
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TreeNodeStateContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
466
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TreeNodeStateContextService });
467
+ }
468
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TreeNodeStateContextService, decorators: [{
469
+ type: Injectable
470
+ }] });
471
+ const [TREE_NODE_STATE_CONTEXT, useTreeNodeStateContext, provideTreeNodeStateContext,] = createApiContext("TreeNodeStateContext", TreeNodeStateContextService);
472
+
473
+ /**
474
+ * Generated bundle index. Do not edit.
475
+ */
476
+
477
+ export { CoreTreeBranchContentDirective, CoreTreeBranchDirective, CoreTreeBranchIndentGuideDirective, CoreTreeBranchNodeDirective, CoreTreeBranchTriggerDirective, CoreTreeLabelDirective, CoreTreeLeafNodeDirective, CoreTreeNodeActionDirective, CoreTreeNodeCheckboxDirective, CoreTreeNodeIconDirective, CoreTreeNodeIndicatorDirective, CoreTreeNodeTextDirective, CoreTreeRootDirective, TREE_CONTEXT, TREE_NODE_PROPS_CONTEXT, TREE_NODE_STATE_CONTEXT, TreeContextService, TreeNodePropsContextService, TreeNodeStateContextService, provideTreeContext, provideTreeNodePropsContext, provideTreeNodeStateContext, useTreeContext, useTreeNodePropsContext, useTreeNodeStateContext };
478
+ //# sourceMappingURL=qualcomm-ui-angular-core-tree.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qualcomm-ui-angular-core-tree.mjs","sources":["../../src/tree/tree-context.service.ts","../../src/tree/tree-node-props-context.service.ts","../../src/tree/core-tree-branch-content.directive.ts","../../src/tree/core-tree-branch-indent-guide.directive.ts","../../src/tree/core-tree-branch-node.directive.ts","../../src/tree/core-tree-branch-trigger.directive.ts","../../src/tree/core-tree-branch.directive.ts","../../src/tree/core-tree-label.directive.ts","../../src/tree/core-tree-leaf-node.directive.ts","../../src/tree/core-tree-node-action.directive.ts","../../src/tree/core-tree-node-checkbox.directive.ts","../../src/tree/core-tree-node-icon.directive.ts","../../src/tree/core-tree-node-indicator.directive.ts","../../src/tree/core-tree-node-text.directive.ts","../../src/tree/core-tree-root.directive.ts","../../src/tree/tree-node-state-context.service.ts","../../src/tree/qualcomm-ui-angular-core-tree.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {TreeApi} from \"@qualcomm-ui/core/tree\"\nimport type {TreeNode} from \"@qualcomm-ui/utils/collection\"\n\n@Injectable()\nexport class TreeContextService<\n T extends TreeNode,\n> extends BaseApiContextService<TreeApi<T>> {}\n\nexport const [\n TREE_CONTEXT,\n useTreeContext,\n provideTreeContext,\n]: ApiContext<TreeApi> = createApiContext<TreeApi>(\n \"TreeContext\",\n TreeContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {NodeProps} from \"@qualcomm-ui/core/tree\"\n\n@Injectable()\nexport class TreeNodePropsContextService extends BaseApiContextService<NodeProps> {}\n\nexport const [\n TREE_NODE_PROPS_CONTEXT,\n useTreeNodePropsContext,\n provideTreeNodePropsContext,\n]: ApiContext<NodeProps> = createApiContext<NodeProps>(\n \"TreeNodePropsContext\",\n TreeNodePropsContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeBranchContentDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getBranchContentBindings(\n this.treeNodePropsContext(),\n )\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeBranchIndentGuideDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getBranchIndentGuideBindings(\n this.treeNodePropsContext(),\n )\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeBranchNodeDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getBranchNodeBindings(this.treeNodePropsContext())\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeBranchTriggerDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getBranchTriggerBindings(\n this.treeNodePropsContext(),\n )\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeBranchDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getBranchBindings(this.treeNodePropsContext())\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\n\n@Directive()\nexport class CoreTreeLabelDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly treeContext = useTreeContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n protected readonly onDestroy = useOnDestroy()\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeLeafNodeDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getLeafNodeBindings(this.treeNodePropsContext())\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeNodeActionDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getNodeActionBindings(this.treeNodePropsContext())\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeNodeCheckboxDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getNodeCheckboxBindings(\n this.treeNodePropsContext(),\n )\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeNodeIconDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getNodeIconBindings(this.treeNodePropsContext())\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeNodeIndicatorDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getNodeIndicatorBindings(\n this.treeNodePropsContext(),\n )\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTreeContext} from \"./tree-context.service\"\nimport {useTreeNodePropsContext} from \"./tree-node-props-context.service\"\n\n@Directive()\nexport class CoreTreeNodeTextDirective implements OnInit {\n protected readonly treeContext = useTreeContext()\n\n protected readonly treeNodePropsContext = useTreeNodePropsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.treeContext().getNodeTextBindings(this.treeNodePropsContext())\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useId, useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {RenderStrategyContextService} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport type {RenderStrategyApiProps} from \"@qualcomm-ui/core/presence\"\nimport {\n type CheckedChangeDetails,\n createTreeApi,\n type ExpandedChangeDetails,\n type FocusChangeDetails,\n type LoadChildrenCompleteDetails,\n type LoadChildrenDetails,\n type LoadChildrenErrorDetails,\n type NodeState,\n type SelectionChangeDetails,\n type TreeApiProps,\n treeMachine,\n} from \"@qualcomm-ui/core/tree\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport {TreeCollection, type TreeNode} from \"@qualcomm-ui/utils/collection\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {TreeContextService} from \"./tree-context.service\"\n\n@Directive()\nexport class CoreTreeRootDirective<T extends TreeNode = TreeNode>\n implements\n SignalifyInput<TreeApiProps<T>>,\n SignalifyInput<RenderStrategyApiProps>,\n OnInit\n{\n /**\n * The controlled checked node value\n */\n readonly checkedValue = input<string[] | undefined>()\n\n /**\n * The tree collection data\n * @inheritDoc\n */\n readonly collection = input<TreeCollection<T>>()\n\n /**\n * The initial checked node value when rendered.\n * Use when you don't need to control the checked node value.\n */\n readonly defaultCheckedValue = input<string[] | undefined>()\n\n /**\n * The initial expanded node ids when rendered.\n * Use when you don't need to control the expanded node value.\n */\n readonly defaultExpandedValue = input<string[] | undefined>()\n\n /**\n * The initial focused node value when rendered.\n * Use when you don't need to control the focused node value.\n */\n readonly defaultFocusedValue = input<string | null | undefined>()\n\n /**\n * The initial selected node value when rendered.\n * Use when you don't need to control the selected node value.\n */\n readonly defaultSelectedValue = input<string[] | undefined>()\n\n /**\n * The document's text/writing direction.\n */\n readonly dir = input<Direction | undefined>()\n\n /**\n * The controlled expanded node ids\n */\n readonly expandedValue = input<string[] | undefined>()\n\n /**\n * Whether clicking on a branch should open it or not\n * @default true\n */\n readonly expandOnClick = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The value of the focused node\n */\n readonly focusedValue = input<string | null | undefined>()\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * HTML {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n /**\n * Function to load children for a node asynchronously.\n * When provided, branches will wait for this promise to resolve before expanding.\n */\n readonly loadChildren = input<\n ((details: LoadChildrenDetails<T>) => Promise<T[]>) | undefined\n >()\n\n /**\n * When true, the component will not be rendered in the DOM until it becomes\n * visible or active.\n *\n * @default false\n */\n readonly lazyMount = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The controlled selected node value\n */\n readonly selectedValue = input<string[] | undefined>()\n\n /**\n * Whether the tree supports multiple selection\n * @option `'single'`: only one node can be selected\n * @option `'multiple'`: multiple nodes can be selected\n *\n * @default 'single'\n */\n readonly selectionMode = input<\"single\" | \"multiple\" | undefined>()\n\n /**\n * Callback function that determines whether a node should be hidden.\n *\n * @inheritDoc\n */\n readonly shouldHideNode =\n input<(state: NodeState<T>) => boolean | undefined>()\n\n /**\n * Whether the tree supports typeahead search\n * @default true\n */\n readonly typeahead = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * When true, the component will be completely removed from the DOM when it\n * becomes inactive or hidden, rather than just being hidden with CSS.\n *\n * @default false\n */\n readonly unmountOnExit = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Called when the checked value changes\n */\n readonly checkedValueChanged = output<CheckedChangeDetails<T>>()\n\n /**\n * Called when the tree is opened or closed\n */\n readonly expandedValueChanged = output<ExpandedChangeDetails<T>>()\n\n /**\n * Called when the focused node changes\n */\n readonly focusChanged = output<FocusChangeDetails<T>>()\n\n /**\n * Called when a node finishes loading children\n */\n readonly loadChildrenComplete = output<LoadChildrenCompleteDetails<T>>()\n\n /**\n * Called when loading children fails for one or more nodes\n */\n readonly loadChildrenError = output<LoadChildrenErrorDetails<T>>()\n\n /**\n * Called when the selection changes\n */\n readonly selectedValueChanged = output<SelectionChangeDetails<T>>()\n\n protected readonly document = inject(DOCUMENT)\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n readonly injector = inject(Injector)\n\n protected readonly isMounted = useIsMounted()\n\n protected readonly renderStrategyContextService = inject(\n RenderStrategyContextService,\n )\n protected readonly treeContextService = inject(TreeContextService)\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.treeContextService.context().getRootBindings({\n id: this.hostId(),\n }),\n )\n\n ngOnInit() {\n const machine = useMachine(\n treeMachine,\n computed<Explicit<TreeApiProps<T>>>(() => ({\n checkedValue: this.checkedValue(),\n collection: this.collection(),\n defaultCheckedValue: this.defaultCheckedValue(),\n defaultExpandedValue: this.defaultExpandedValue(),\n defaultFocusedValue: this.defaultFocusedValue(),\n defaultSelectedValue: this.defaultSelectedValue(),\n dir: this.dir(),\n expandedValue: this.expandedValue(),\n expandOnClick: this.expandOnClick(),\n focusedValue: this.focusedValue(),\n getRootNode: this.getRootNode() || (() => this.document),\n loadChildren: this.loadChildren(),\n onCheckedValueChange: (details) => {\n if (this.isMounted()) {\n this.checkedValueChanged.emit(details)\n }\n },\n onExpandedValueChange: (details) => {\n if (this.isMounted()) {\n this.expandedValueChanged.emit(details)\n }\n },\n onFocusChange: (details) => {\n if (this.isMounted()) {\n this.focusChanged.emit(details)\n }\n },\n onLoadChildrenComplete: (details) => {\n if (this.isMounted()) {\n this.loadChildrenComplete.emit(details)\n }\n },\n onLoadChildrenError: (details) => {\n if (this.isMounted()) {\n this.loadChildrenError.emit(details)\n }\n },\n onSelectedValueChange: (details) => {\n if (this.isMounted()) {\n this.selectedValueChanged.emit(details)\n }\n },\n selectedValue: this.selectedValue(),\n selectionMode: this.selectionMode(),\n shouldHideNode: this.shouldHideNode(),\n typeahead: this.typeahead(),\n })),\n this.injector,\n )\n\n this.treeContextService.init(\n computed(() => createTreeApi(machine, normalizeProps)),\n )\n\n this.renderStrategyContextService.init(\n computed<Explicit<RenderStrategyApiProps>>(() => ({\n lazyMount: this.lazyMount(),\n unmountOnExit: this.unmountOnExit(),\n })),\n )\n\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {NodeState} from \"@qualcomm-ui/core/tree\"\n\n@Injectable()\nexport class TreeNodeStateContextService extends BaseApiContextService<NodeState> {}\n\nexport const [\n TREE_NODE_STATE_CONTEXT,\n useTreeNodeStateContext,\n provideTreeNodeStateContext,\n]: ApiContext<NodeState> = createApiContext<NodeState>(\n \"TreeNodeStateContext\",\n TreeNodeStateContextService,\n)\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AAaM,MAAO,kBAEX,SAAQ,qBAAiC,CAAA;wGAF9B,kBAAkB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,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the real resulting type so callers keep strong typing.
140
140
  */
141
- type MergeProps<T extends readonly Props[]> = T extends readonly [
141
+ type MergePropsHelper<T extends readonly Props[]> = T extends readonly [
142
142
  infer First extends Props,
143
143
  ...infer Rest extends readonly Props[]
144
- ] ? First & MergeProps<Rest> : {};
144
+ ] ? Omit<First, "className"> & MergePropsHelper<Rest> : {};
145
+ /**
146
+ * Construct the real resulting type so callers keep strong typing.
147
+ */
148
+ type MergeProps<T extends readonly Props[]> = MergePropsHelper<T> & {
149
+ className?: string;
150
+ };
145
151
  /**
146
152
  * Angular-friendly version of `mergeProps`.
147
153
  *
148
154
  * - Handlers (`on*`) are composed with `callAll`.
149
155
  * - `class` / `className` values are merged via `clsx`.
150
156
  * - `style` strings or objects are merged and normalised.
157
+ *
158
+ * @deprecated import the equivalent from `@qualcomm-ui/utils/merge-props`
151
159
  */
152
160
  declare function mergeProps<T extends readonly Props[]>(...sources: T): MergeProps<T>;
153
161
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../src/machine/api-context.service.ts","../../src/machine/api-context.directive.ts","../../src/machine/bindable-id-collection.ts","../../src/machine/bindable-id.ts","../../src/machine/bindable.ts","../../src/machine/normalize-props.ts","../../src/machine/use-track-bindings.ts","../../src/machine/machine.types.ts","../../src/machine/merge-props.ts","../../src/machine/q-bind.directive.ts","../../src/machine/refs.ts","../../src/machine/track.ts","../../src/machine/use-machine.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;AAaA;;;;;;;;AAQG;AACH;;AAIE;;;;;AAeD;AAEK;AACJ;;AAEG;;;AAIC;;;AAKJ;;AAGF;;AC5CA;;;;;;;;AAQG;AACH;AAEE;AACA;AACA;;;;AA6BD;;ACjDD;;ACAA;;ACKA;;;AA2CgB;;;;;;ACtBV;AAEA;AAEN;;;ACfE;AAEA;;AAEG;AACH;AAEA;;AAEG;;AAGH;;AAEG;;AAEJ;AAED;AACE;;AAEG;;AAEH;;AAGF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACH;AAgMA;;AC3QA;;AAEG;AACG;;AAEL;;ACJD;AACE;AACD;AAgCD;;AAEG;AACG;;AAEJ;;AAKF;;;;;;AAMG;AACH;;;AClCE;;AAEG;AACH;AACD;AAED;;;;;;;;;;;;;AAaG;AACH;;;AAQE;AACA;AACA;AACA;;;;AAoBA;AAKA;AAWA;AASA;AAWA;AAOA;AAYA;;;AA6ED;;ACzMD;;;AAcC;;ACPD;;;ACmCE;;;;AAIG;AACH;AACD;AAED;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../../src/machine/api-context.service.ts","../../src/machine/api-context.directive.ts","../../src/machine/bindable-id-collection.ts","../../src/machine/bindable-id.ts","../../src/machine/bindable.ts","../../src/machine/normalize-props.ts","../../src/machine/use-track-bindings.ts","../../src/machine/machine.types.ts","../../src/machine/merge-props.ts","../../src/machine/q-bind.directive.ts","../../src/machine/refs.ts","../../src/machine/track.ts","../../src/machine/use-machine.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;AAaA;;;;;;;;AAQG;AACH;;AAIE;;;;;AAeD;AAEK;AACJ;;AAEG;;;AAIC;;;AAKJ;;AAGF;;AC5CA;;;;;;;;AAQG;AACH;AAEE;AACA;AACA;;;;AA6BD;;ACjDD;;ACAA;;ACKA;;;AA2CgB;;;;;;ACtBV;AAEA;AAEN;;;ACfE;AAEA;;AAEG;AACH;AAEA;;AAEG;;AAGH;;AAEG;;AAEJ;AAED;AACE;;AAEG;;AAEH;;AAGF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACH;AAgMA;;AC3QA;;AAEG;AACG;;AAEL;;ACJD;AACE;AACD;AAgCD;;AAEG;AACH;;AAEE;AACD;AAID;;AAEG;AACG;;;AAIN;;;;;;;;AAQG;AACH;;;AC3CE;;AAEG;AACH;AACD;AAED;;;;;;;;;;;;;AAaG;AACH;;;AAQE;AACA;AACA;AACA;;;;AAoBA;AAKA;AAWA;AASA;AAWA;AAOA;AAYA;;;AA6ED;;ACzMD;;;AAcC;;ACPD;;;ACmCE;;;;AAIG;AACH;AACD;AAED;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../../src/menu/menu-item-context.service.ts","../../src/menu/base-menu-item.directive.ts","../../src/menu/menu-option-item-context.service.ts","../../src/menu/core-menu-checkbox-item.directive.ts","../../src/menu/core-menu-content.directive.ts","../../src/menu/core-menu-context-trigger.directive.ts","../../src/menu/core-menu-item-group-label.directive.ts","../../src/menu/menu-item-group-context.service.ts","../../src/menu/core-menu-item-group.directive.ts","../../src/menu/core-menu-item-indicator.directive.ts","../../src/menu/core-menu-item-label.directive.ts","../../src/menu/core-menu-item-root.directive.ts","../../src/menu/core-menu-positioner.directive.ts","../../src/menu/menu-radio-item-group-context.service.ts","../../src/menu/core-menu-radio-item-group.directive.ts","../../src/menu/core-menu-radio-item.directive.ts","../../src/menu/menu-context.service.ts","../../src/menu/menu-machine-context.service.ts","../../src/menu/menu-trigger-context.service.ts","../../src/menu/core-menu-root.directive.ts","../../src/menu/core-menu-separator.directive.ts","../../src/menu/core-menu-trigger-item.directive.ts","../../src/menu/core-menu-trigger.directive.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAYA;AAEA;;;AACqF;AAErF;AACmB;AACC;;ACCpB;;;;AAIG;AACH;AAEE;;AAEG;;AAKH;;AAEG;;AAKH;;AAEG;;AAGH;;;AAGG;;AAGH;;AAEG;;AAGH;AACA;;;;AASD;;ACvDD;AAEA;;;AACiG;AAEjG;AAC0B;AACA;;ACG1B;;;;AAaE;;;;;AAgBE;AAEF;AAMA;;;;;;;;;;;AAME;;;;AAQH;;ACnDD;AAEE;;;AAGG;;AAGH;AACA;;;;;AAYE;AAEF;;AAIA;;;;;AAmBD;;AC1DD;AAEE;;;AAGG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ts","sources":["../../src/menu/menu-item-context.service.ts","../../src/menu/base-menu-item.directive.ts","../../src/menu/menu-option-item-context.service.ts","../../src/menu/core-menu-checkbox-item.directive.ts","../../src/menu/core-menu-content.directive.ts","../../src/menu/core-menu-context-trigger.directive.ts","../../src/menu/core-menu-item-group-label.directive.ts","../../src/menu/menu-item-group-context.service.ts","../../src/menu/core-menu-item-group.directive.ts","../../src/menu/core-menu-item-indicator.directive.ts","../../src/menu/core-menu-item-label.directive.ts","../../src/menu/core-menu-item-root.directive.ts","../../src/menu/core-menu-positioner.directive.ts","../../src/menu/menu-radio-item-group-context.service.ts","../../src/menu/core-menu-radio-item-group.directive.ts","../../src/menu/core-menu-radio-item.directive.ts","../../src/menu/menu-context.service.ts","../../src/menu/menu-machine-context.service.ts","../../src/menu/menu-trigger-context.service.ts","../../src/menu/core-menu-root.directive.ts","../../src/menu/core-menu-separator.directive.ts","../../src/menu/core-menu-trigger-item.directive.ts","../../src/menu/core-menu-trigger.directive.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAYA;AAEA;;;AACqF;AAErF;AACmB;AACC;;ACCpB;;;;AAIG;AACH;AAEE;;AAEG;;AAKH;;AAEG;;AAKH;;AAEG;;AAGH;;;AAGG;;AAGH;;AAEG;;AAGH;AACA;;;;AASD;;ACvDD;AAEA;;;AACiG;AAEjG;AAC0B;AACA;;ACG1B;;;;AAaE;;;;;AAgBE;AAEF;AAMA;;;;;;;;;;;AAME;;;;AAQH;;AClDD;AAEE;;;AAGG;;AAGH;AACA;;;;;AAYE;AAEF;;AAIA;;;;;AAmBD;;AC3DD;AAEE;;;AAGG;;AAGH;;;;AAOE;AAEF;AAEA;;;;AAKD;;ACvBD;AAEE;AACA;AAGA;;;;AAUE;;;;AAKH;;ACpBD;;;AAC2F;AAE3F;AACyB;AACA;;ACNzB;AAEE;;;AAGG;;AAGH;AACA;;;;A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