@qualcomm-ui/angular 1.3.3 → 1.5.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,140 @@
1
+ import * as _qualcomm_ui_angular_core_machine from '@qualcomm-ui/angular-core/machine';
2
+ import * as _qualcomm_ui_qds_core_badge from '@qualcomm-ui/qds-core/badge';
3
+ import { QdsTextBadgeProps, QdsBadgeBasicSize, QdsBadgeSemanticEmphasis, QdsBadgeCategoryEmphasis, QdsTextBadgeVariant, QdsNumberBadgeProps, QdsNumberBadgeEmphasis, QdsIconBadgeProps, QdsBadgeExtendedSize, QdsIconBadgeVariant, QdsStatusBadgeProps, QdsBadgeExtraSize, QdsStatusBadgeVariant } from '@qualcomm-ui/qds-core/badge';
4
+ import * as _angular_core from '@angular/core';
5
+ import { OnInit } from '@angular/core';
6
+ import { SignalifyInput } from '@qualcomm-ui/angular-core/signals';
7
+ import { Booleanish } from '@qualcomm-ui/utils/coercion';
8
+ import { LucideIconOrString } from '@qualcomm-ui/angular-core/lucide';
9
+
10
+ declare class BadgeDirective implements OnInit, SignalifyInput<QdsTextBadgeProps> {
11
+ /**
12
+ * Governs the size of the badge.
13
+ * @default 'md'
14
+ */
15
+ readonly size: _angular_core.InputSignal<QdsBadgeBasicSize | undefined>;
16
+ /**
17
+ * The badge disabled state.
18
+ */
19
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, Booleanish>;
20
+ /**
21
+ * Governs the color of the text badge.
22
+ * @default 'neutral'
23
+ */
24
+ readonly emphasis: _angular_core.InputSignal<QdsBadgeSemanticEmphasis | QdsBadgeCategoryEmphasis | undefined>;
25
+ /**
26
+ * Governs the style of the badge.
27
+ * @default 'default'
28
+ */
29
+ readonly variant: _angular_core.InputSignal<QdsTextBadgeVariant | undefined>;
30
+ protected readonly api: _angular_core.Signal<_qualcomm_ui_qds_core_badge.QdsTextBadgeApi>;
31
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
32
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
33
+ setDisabled: (disabled: boolean) => void;
34
+ };
35
+ ngOnInit(): void;
36
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BadgeDirective, never>;
37
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BadgeDirective, "[q-badge]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "emphasis": { "alias": "emphasis"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
38
+ }
39
+
40
+ declare class NumberBadgeDirective implements OnInit, SignalifyInput<QdsNumberBadgeProps> {
41
+ /**
42
+ * The badge disabled state.
43
+ */
44
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, Booleanish>;
45
+ /**
46
+ * Governs the color and style of the number badge.
47
+ * @default 'neutral'
48
+ */
49
+ readonly emphasis: _angular_core.InputSignal<QdsNumberBadgeEmphasis | undefined>;
50
+ /**
51
+ * Maximum value to display for the number badge.
52
+ * @default 99
53
+ */
54
+ readonly max: _angular_core.InputSignalWithTransform<number | undefined, string | number>;
55
+ /**
56
+ * Governs the size of the badge.
57
+ * @default 'md'
58
+ */
59
+ readonly size: _angular_core.InputSignal<QdsBadgeBasicSize | undefined>;
60
+ /**
61
+ * The numeric value to display for the number badge.
62
+ */
63
+ readonly value: _angular_core.InputSignalWithTransform<number | undefined, string | number>;
64
+ protected readonly api: _angular_core.Signal<_qualcomm_ui_qds_core_badge.QdsNumberBadgeApi>;
65
+ protected readonly displayValue: _angular_core.Signal<string | number | null>;
66
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
67
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
68
+ setDisabled: (disabled: boolean) => void;
69
+ };
70
+ ngOnInit(): void;
71
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberBadgeDirective, never>;
72
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NumberBadgeDirective, "[q-number-badge]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "emphasis": { "alias": "emphasis"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
73
+ }
74
+
75
+ declare class IconBadgeDirective implements OnInit, SignalifyInput<QdsIconBadgeProps> {
76
+ /**
77
+ * Governs the size of the badge.
78
+ * @default 'md'
79
+ */
80
+ readonly size: _angular_core.InputSignal<QdsBadgeExtendedSize | undefined>;
81
+ /**
82
+ * The badge disabled state.
83
+ */
84
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, Booleanish>;
85
+ /**
86
+ * Governs the color of the icon badge.
87
+ * @default 'neutral'
88
+ */
89
+ readonly emphasis: _angular_core.InputSignal<QdsBadgeSemanticEmphasis | QdsBadgeCategoryEmphasis | undefined>;
90
+ /**
91
+ * Governs the style of the icon badge.
92
+ * @default 'default'
93
+ */
94
+ readonly variant: _angular_core.InputSignal<QdsIconBadgeVariant | undefined>;
95
+ /**
96
+ * {@link https://lucide.dev/icons lucide-angular} icon to display in the icon badge.
97
+ */
98
+ readonly icon: _angular_core.InputSignal<LucideIconOrString | undefined>;
99
+ protected readonly api: _angular_core.Signal<_qualcomm_ui_qds_core_badge.QdsIconBadgeApi>;
100
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
101
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
102
+ setDisabled: (disabled: boolean) => void;
103
+ };
104
+ ngOnInit(): void;
105
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconBadgeDirective, never>;
106
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconBadgeDirective, "[q-icon-badge]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "emphasis": { "alias": "emphasis"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
107
+ }
108
+
109
+ declare class StatusBadgeDirective implements OnInit, SignalifyInput<QdsStatusBadgeProps> {
110
+ /**
111
+ * Governs the size of the badge.
112
+ * @default 'md'
113
+ */
114
+ readonly size: _angular_core.InputSignal<QdsBadgeExtraSize | undefined>;
115
+ /**
116
+ * The badge disabled state.
117
+ */
118
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, Booleanish>;
119
+ /**
120
+ * Governs the color of the status badge.
121
+ * @default 'neutral'
122
+ */
123
+ readonly emphasis: _angular_core.InputSignal<QdsBadgeSemanticEmphasis | undefined>;
124
+ /**
125
+ * Governs the style of the status badge.
126
+ * @default 'filled'
127
+ */
128
+ readonly variant: _angular_core.InputSignal<QdsStatusBadgeVariant | undefined>;
129
+ protected readonly api: _angular_core.Signal<_qualcomm_ui_qds_core_badge.QdsStatusBadgeApi>;
130
+ protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
131
+ extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
132
+ setDisabled: (disabled: boolean) => void;
133
+ };
134
+ ngOnInit(): void;
135
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatusBadgeDirective, never>;
136
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StatusBadgeDirective, "[q-status-badge]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "emphasis": { "alias": "emphasis"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
137
+ }
138
+
139
+ export { BadgeDirective, IconBadgeDirective, NumberBadgeDirective, StatusBadgeDirective };
140
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sources":["../../src/badge/badge.directive.ts","../../src/badge/number-badge.directive.ts","../../src/badge/icon-badge.directive.ts","../../src/badge/status-badge.directive.ts"],"sourcesContent":[null,null,null,null],"names":[],"mappings":";;;;;;;;;AA0BA,cAAA,cAAA,YAAA,MAAA,EAAA,cAAA,CAAA,iBAAA;AASE;;;AAGG;mBACU,aAAA,CAAA,WAAA,CAAA,iBAAA;AAEb;;AAEG;uBACc,aAAA,CAAA,wBAAA,sBAAA,UAAA;AAIjB;;;AAGG;uBACc,aAAA,CAAA,WAAA,CAAA,wBAAA,GAAA,wBAAA;AAIjB;;;AAGG;sBACa,aAAA,CAAA,WAAA,CAAA,mBAAA;AAEhB,4BAAsB,aAAA,QAAA,2BAAA,CAAA,eAAA;+CAYU,iCAAA,CAAA,mBAAA;;;AAE/B;;;;AAKF;;ACxDD,cAAA,oBAAA,YAAA,MAAA,EAAA,cAAA,CAAA,mBAAA;AASE;;AAEG;uBACc,aAAA,CAAA,wBAAA,sBAAA,UAAA;AAIjB;;;AAGG;uBACc,aAAA,CAAA,WAAA,CAAA,sBAAA;AAEjB;;;AAGG;kBACS,aAAA,CAAA,wBAAA;AAIZ;;;AAGG;mBACU,aAAA,CAAA,WAAA,CAAA,iBAAA;AAEb;;AAEG;oBACW,aAAA,CAAA,wBAAA;AAId,4BAAsB,aAAA,QAAA,2BAAA,CAAA,iBAAA;AAatB,qCAA+B,aAAA,CAAA,MAAA;+CAEC,iCAAA,CAAA,mBAAA;;;AAE/B;;;;AAKF;;AC1DD,cAAA,kBAAA,YAAA,MAAA,EAAA,cAAA,CAAA,iBAAA;AAeE;;;AAGG;mBACU,aAAA,CAAA,WAAA,CAAA,oBAAA;AAEb;;AAEG;uBACc,aAAA,CAAA,wBAAA,sBAAA,UAAA;AAIjB;;;AAGG;uBACc,aAAA,CAAA,WAAA,CAAA,wBAAA,GAAA,wBAAA;AAIjB;;;AAGG;sBACa,aAAA,CAAA,WAAA,CAAA,mBAAA;AAEhB;;AAEG;mBACU,aAAA,CAAA,WAAA,CAAA,kBAAA;AAEb,4BAAsB,aAAA,QAAA,2BAAA,CAAA,eAAA;+CAYU,iCAAA,CAAA,mBAAA;;;AAE/B;;;;AAKF;;ACzED,cAAA,oBAAA,YAAA,MAAA,EAAA,cAAA,CAAA,mBAAA;AAME;;;AAGG;mBACU,aAAA,CAAA,WAAA,CAAA,iBAAA;AAEb;;AAEG;uBACc,aAAA,CAAA,wBAAA,sBAAA,UAAA;AAIjB;;;AAGG;uBACc,aAAA,CAAA,WAAA,CAAA,wBAAA;AAEjB;;;AAGG;sBACa,aAAA,CAAA,WAAA,CAAA,qBAAA;AAEhB,4BAAsB,aAAA,QAAA,2BAAA,CAAA,iBAAA;+CAYU,iCAAA,CAAA,mBAAA;;;AAE/B;;;;AAKF;;;;"}
@@ -0,0 +1,236 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, booleanAttribute, computed, Component, numberAttribute, Directive } from '@angular/core';
3
+ import { normalizeProps, useTrackBindings, QBindDirective } from '@qualcomm-ui/angular-core/machine';
4
+ import { createQdsTextBadgeApi, createQdsNumberBadgeApi, createQdsIconBadgeApi, createQdsStatusBadgeApi } from '@qualcomm-ui/qds-core/badge';
5
+ import { IconDirective } from '@qualcomm-ui/angular/icon';
6
+ import { provideIcons } from '@qualcomm-ui/angular-core/lucide';
7
+
8
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
9
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
10
+ class BadgeDirective {
11
+ /**
12
+ * Governs the size of the badge.
13
+ * @default 'md'
14
+ */
15
+ size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
16
+ /**
17
+ * The badge disabled state.
18
+ */
19
+ disabled = input(undefined, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{
20
+ transform: booleanAttribute,
21
+ }]));
22
+ /**
23
+ * Governs the color of the text badge.
24
+ * @default 'neutral'
25
+ */
26
+ emphasis = input(...(ngDevMode ? [undefined, { debugName: "emphasis" }] : []));
27
+ /**
28
+ * Governs the style of the badge.
29
+ * @default 'default'
30
+ */
31
+ variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : []));
32
+ api = computed(() => {
33
+ return createQdsTextBadgeApi({
34
+ disabled: this.disabled(),
35
+ emphasis: this.emphasis(),
36
+ size: this.size(),
37
+ variant: this.variant(),
38
+ }, normalizeProps);
39
+ }, ...(ngDevMode ? [{ debugName: "api" }] : []));
40
+ trackBindings = useTrackBindings(() => this.api().getRootBindings());
41
+ ngOnInit() {
42
+ this.trackBindings();
43
+ }
44
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: BadgeDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
45
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.12", type: BadgeDirective, isStandalone: true, selector: "[q-badge]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
46
+ <ng-content />
47
+ `, isInline: true });
48
+ }
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: BadgeDirective, decorators: [{
50
+ type: Component,
51
+ args: [{
52
+ selector: "[q-badge]",
53
+ template: `
54
+ <ng-content />
55
+ `,
56
+ }]
57
+ }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], emphasis: [{ type: i0.Input, args: [{ isSignal: true, alias: "emphasis", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
58
+
59
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
60
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
61
+ class NumberBadgeDirective {
62
+ /**
63
+ * The badge disabled state.
64
+ */
65
+ disabled = input(undefined, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{
66
+ transform: booleanAttribute,
67
+ }]));
68
+ /**
69
+ * Governs the color and style of the number badge.
70
+ * @default 'neutral'
71
+ */
72
+ emphasis = input(...(ngDevMode ? [undefined, { debugName: "emphasis" }] : []));
73
+ /**
74
+ * Maximum value to display for the number badge.
75
+ * @default 99
76
+ */
77
+ max = input(undefined, ...(ngDevMode ? [{ debugName: "max", transform: numberAttribute }] : [{
78
+ transform: numberAttribute,
79
+ }]));
80
+ /**
81
+ * Governs the size of the badge.
82
+ * @default 'md'
83
+ */
84
+ size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
85
+ /**
86
+ * The numeric value to display for the number badge.
87
+ */
88
+ value = input(undefined, ...(ngDevMode ? [{ debugName: "value", transform: numberAttribute }] : [{
89
+ transform: numberAttribute,
90
+ }]));
91
+ api = computed(() => {
92
+ return createQdsNumberBadgeApi({
93
+ disabled: this.disabled(),
94
+ emphasis: this.emphasis(),
95
+ max: this.max(),
96
+ size: this.size(),
97
+ value: this.value(),
98
+ }, normalizeProps);
99
+ }, ...(ngDevMode ? [{ debugName: "api" }] : []));
100
+ displayValue = computed(() => this.api().displayValue, ...(ngDevMode ? [{ debugName: "displayValue" }] : []));
101
+ trackBindings = useTrackBindings(() => this.api().getRootBindings());
102
+ ngOnInit() {
103
+ this.trackBindings();
104
+ }
105
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: NumberBadgeDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
106
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.12", type: NumberBadgeDirective, isStandalone: true, selector: "[q-number-badge]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
107
+ <ng-content>{{ displayValue() }}</ng-content>
108
+ `, isInline: true });
109
+ }
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: NumberBadgeDirective, decorators: [{
111
+ type: Component,
112
+ args: [{
113
+ selector: "[q-number-badge]",
114
+ template: `
115
+ <ng-content>{{ displayValue() }}</ng-content>
116
+ `,
117
+ }]
118
+ }], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], emphasis: [{ type: i0.Input, args: [{ isSignal: true, alias: "emphasis", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
119
+
120
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
121
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
122
+ class IconBadgeDirective {
123
+ /**
124
+ * Governs the size of the badge.
125
+ * @default 'md'
126
+ */
127
+ size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
128
+ /**
129
+ * The badge disabled state.
130
+ */
131
+ disabled = input(undefined, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{
132
+ transform: booleanAttribute,
133
+ }]));
134
+ /**
135
+ * Governs the color of the icon badge.
136
+ * @default 'neutral'
137
+ */
138
+ emphasis = input(...(ngDevMode ? [undefined, { debugName: "emphasis" }] : []));
139
+ /**
140
+ * Governs the style of the icon badge.
141
+ * @default 'default'
142
+ */
143
+ variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : []));
144
+ /**
145
+ * {@link https://lucide.dev/icons lucide-angular} icon to display in the icon badge.
146
+ */
147
+ icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
148
+ api = computed(() => {
149
+ return createQdsIconBadgeApi({
150
+ disabled: this.disabled(),
151
+ emphasis: this.emphasis(),
152
+ size: this.size(),
153
+ variant: this.variant(),
154
+ }, normalizeProps);
155
+ }, ...(ngDevMode ? [{ debugName: "api" }] : []));
156
+ trackBindings = useTrackBindings(() => this.api().getRootBindings());
157
+ ngOnInit() {
158
+ this.trackBindings();
159
+ }
160
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: IconBadgeDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
161
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: IconBadgeDirective, isStandalone: true, selector: "[q-icon-badge]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideIcons({})], ngImport: i0, template: `
162
+ <ng-content>
163
+ @if (icon()) {
164
+ <svg [q-bind]="api().getIconBindings()" [qIcon]="icon()!"></svg>
165
+ }
166
+ </ng-content>
167
+ `, isInline: true, dependencies: [{ kind: "directive", type: IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }, { kind: "directive", type: QBindDirective, selector: "[q-bind]", inputs: ["q-bind", "q-bind-options"] }] });
168
+ }
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: IconBadgeDirective, decorators: [{
170
+ type: Component,
171
+ args: [{
172
+ imports: [IconDirective, QBindDirective],
173
+ providers: [provideIcons({})],
174
+ selector: "[q-icon-badge]",
175
+ template: `
176
+ <ng-content>
177
+ @if (icon()) {
178
+ <svg [q-bind]="api().getIconBindings()" [qIcon]="icon()!"></svg>
179
+ }
180
+ </ng-content>
181
+ `,
182
+ }]
183
+ }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], emphasis: [{ type: i0.Input, args: [{ isSignal: true, alias: "emphasis", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }] } });
184
+
185
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
186
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
187
+ class StatusBadgeDirective {
188
+ /**
189
+ * Governs the size of the badge.
190
+ * @default 'md'
191
+ */
192
+ size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
193
+ /**
194
+ * The badge disabled state.
195
+ */
196
+ disabled = input(undefined, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{
197
+ transform: booleanAttribute,
198
+ }]));
199
+ /**
200
+ * Governs the color of the status badge.
201
+ * @default 'neutral'
202
+ */
203
+ emphasis = input(...(ngDevMode ? [undefined, { debugName: "emphasis" }] : []));
204
+ /**
205
+ * Governs the style of the status badge.
206
+ * @default 'filled'
207
+ */
208
+ variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : []));
209
+ api = computed(() => {
210
+ return createQdsStatusBadgeApi({
211
+ disabled: this.disabled(),
212
+ emphasis: this.emphasis(),
213
+ size: this.size(),
214
+ variant: this.variant(),
215
+ }, normalizeProps);
216
+ }, ...(ngDevMode ? [{ debugName: "api" }] : []));
217
+ trackBindings = useTrackBindings(() => this.api().getRootBindings());
218
+ ngOnInit() {
219
+ this.trackBindings();
220
+ }
221
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: StatusBadgeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
222
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.12", type: StatusBadgeDirective, isStandalone: true, selector: "[q-status-badge]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
223
+ }
224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: StatusBadgeDirective, decorators: [{
225
+ type: Directive,
226
+ args: [{
227
+ selector: "[q-status-badge]",
228
+ }]
229
+ }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], emphasis: [{ type: i0.Input, args: [{ isSignal: true, alias: "emphasis", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
230
+
231
+ /**
232
+ * Generated bundle index. Do not edit.
233
+ */
234
+
235
+ export { BadgeDirective, IconBadgeDirective, NumberBadgeDirective, StatusBadgeDirective };
236
+ //# sourceMappingURL=qualcomm-ui-angular-badge.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qualcomm-ui-angular-badge.mjs","sources":["../../src/badge/badge.directive.ts","../../src/badge/number-badge.directive.ts","../../src/badge/icon-badge.directive.ts","../../src/badge/status-badge.directive.ts","../../src/badge/qualcomm-ui-angular-badge.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n Component,\n computed,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {\n normalizeProps,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsTextBadgeApi,\n type QdsBadgeBasicSize,\n type QdsBadgeCategoryEmphasis,\n type QdsBadgeSemanticEmphasis,\n type QdsTextBadgeProps,\n type QdsTextBadgeVariant,\n} from \"@qualcomm-ui/qds-core/badge\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\n@Component({\n selector: \"[q-badge]\",\n template: `\n <ng-content />\n `,\n})\nexport class BadgeDirective\n implements OnInit, SignalifyInput<QdsTextBadgeProps>\n{\n /**\n * Governs the size of the badge.\n * @default 'md'\n */\n readonly size = input<QdsBadgeBasicSize>()\n\n /**\n * The badge disabled state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Governs the color of the text badge.\n * @default 'neutral'\n */\n readonly emphasis = input<\n QdsBadgeSemanticEmphasis | QdsBadgeCategoryEmphasis\n >()\n\n /**\n * Governs the style of the badge.\n * @default 'default'\n */\n readonly variant = input<QdsTextBadgeVariant>()\n\n protected readonly api = computed(() => {\n return createQdsTextBadgeApi(\n {\n disabled: this.disabled(),\n emphasis: this.emphasis(),\n size: this.size(),\n variant: this.variant(),\n },\n normalizeProps,\n )\n })\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.api().getRootBindings(),\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 {\n booleanAttribute,\n Component,\n computed,\n input,\n numberAttribute,\n type OnInit,\n} from \"@angular/core\"\n\nimport {\n normalizeProps,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsNumberBadgeApi,\n type QdsBadgeBasicSize,\n type QdsNumberBadgeEmphasis,\n type QdsNumberBadgeProps,\n} from \"@qualcomm-ui/qds-core/badge\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\n@Component({\n selector: \"[q-number-badge]\",\n template: `\n <ng-content>{{ displayValue() }}</ng-content>\n `,\n})\nexport class NumberBadgeDirective\n implements OnInit, SignalifyInput<QdsNumberBadgeProps>\n{\n /**\n * The badge disabled state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Governs the color and style of the number badge.\n * @default 'neutral'\n */\n readonly emphasis = input<QdsNumberBadgeEmphasis>()\n\n /**\n * Maximum value to display for the number badge.\n * @default 99\n */\n readonly max = input<number | undefined, string | number>(undefined, {\n transform: numberAttribute,\n })\n\n /**\n * Governs the size of the badge.\n * @default 'md'\n */\n readonly size = input<QdsBadgeBasicSize>()\n\n /**\n * The numeric value to display for the number badge.\n */\n readonly value = input<number | undefined, string | number>(undefined, {\n transform: numberAttribute,\n })\n\n protected readonly api = computed(() => {\n return createQdsNumberBadgeApi(\n {\n disabled: this.disabled(),\n emphasis: this.emphasis(),\n max: this.max(),\n size: this.size(),\n value: this.value(),\n },\n normalizeProps,\n )\n })\n\n protected readonly displayValue = computed(() => this.api().displayValue)\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.api().getRootBindings(),\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 {\n booleanAttribute,\n Component,\n computed,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {IconDirective} from \"@qualcomm-ui/angular/icon\"\nimport {\n type LucideIconOrString,\n provideIcons,\n} from \"@qualcomm-ui/angular-core/lucide\"\nimport {\n normalizeProps,\n QBindDirective,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsIconBadgeApi,\n type QdsBadgeCategoryEmphasis,\n type QdsBadgeExtendedSize,\n type QdsBadgeSemanticEmphasis,\n type QdsIconBadgeProps,\n type QdsIconBadgeVariant,\n} from \"@qualcomm-ui/qds-core/badge\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\n@Component({\n imports: [IconDirective, QBindDirective],\n providers: [provideIcons({})],\n selector: \"[q-icon-badge]\",\n template: `\n <ng-content>\n @if (icon()) {\n <svg [q-bind]=\"api().getIconBindings()\" [qIcon]=\"icon()!\"></svg>\n }\n </ng-content>\n `,\n})\nexport class IconBadgeDirective\n implements OnInit, SignalifyInput<QdsIconBadgeProps>\n{\n /**\n * Governs the size of the badge.\n * @default 'md'\n */\n readonly size = input<QdsBadgeExtendedSize>()\n\n /**\n * The badge disabled state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Governs the color of the icon badge.\n * @default 'neutral'\n */\n readonly emphasis = input<\n QdsBadgeSemanticEmphasis | QdsBadgeCategoryEmphasis\n >()\n\n /**\n * Governs the style of the icon badge.\n * @default 'default'\n */\n readonly variant = input<QdsIconBadgeVariant>()\n\n /**\n * {@link https://lucide.dev/icons lucide-angular} icon to display in the icon badge.\n */\n readonly icon = input<LucideIconOrString>()\n\n protected readonly api = computed(() => {\n return createQdsIconBadgeApi(\n {\n disabled: this.disabled(),\n emphasis: this.emphasis(),\n size: this.size(),\n variant: this.variant(),\n },\n normalizeProps,\n )\n })\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.api().getRootBindings(),\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 {\n booleanAttribute,\n computed,\n Directive,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {\n normalizeProps,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsStatusBadgeApi,\n type QdsBadgeExtraSize,\n type QdsBadgeSemanticEmphasis,\n type QdsStatusBadgeProps,\n type QdsStatusBadgeVariant,\n} from \"@qualcomm-ui/qds-core/badge\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\n@Directive({\n selector: \"[q-status-badge]\",\n})\nexport class StatusBadgeDirective\n implements OnInit, SignalifyInput<QdsStatusBadgeProps>\n{\n /**\n * Governs the size of the badge.\n * @default 'md'\n */\n readonly size = input<QdsBadgeExtraSize>()\n\n /**\n * The badge disabled state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Governs the color of the status badge.\n * @default 'neutral'\n */\n readonly emphasis = input<QdsBadgeSemanticEmphasis>()\n\n /**\n * Governs the style of the status badge.\n * @default 'filled'\n */\n readonly variant = input<QdsStatusBadgeVariant>()\n\n protected readonly api = computed(() => {\n return createQdsStatusBadgeApi(\n {\n disabled: this.disabled(),\n emphasis: this.emphasis(),\n size: this.size(),\n variant: this.variant(),\n },\n normalizeProps,\n )\n })\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.api().getRootBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"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A,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,kBAAkB;AAC7B,iBAAA;;;AC3BD;;AAEG;;;;"}
@@ -7,7 +7,7 @@ import { useInlineIconButtonApi } from '@qualcomm-ui/angular/inline-icon-button'
7
7
  import { mergeProps } from '@qualcomm-ui/utils/merge-props';
8
8
  import * as i2 from '@qualcomm-ui/angular/icon';
9
9
  import { IconDirective } from '@qualcomm-ui/angular/icon';
10
- import { GripVertical, Filter, UnfoldHorizontal, ArrowUp, ArrowDownUp, GripHorizontal, ChevronRight } from 'lucide-angular';
10
+ import { GripVertical, Funnel, UnfoldHorizontal, ArrowUp, ArrowDownUp, GripHorizontal, ChevronRight } from 'lucide-angular';
11
11
  import { provideIcons } from '@qualcomm-ui/angular-core/lucide';
12
12
  import { PaginationRootDirective, provideQdsPaginationContext } from '@qualcomm-ui/angular/pagination';
13
13
  import { providePaginationContext } from '@qualcomm-ui/angular-core/pagination';
@@ -24,6 +24,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
24
24
  type: Directive
25
25
  }], propDecorators: { context: [{ type: i0.Input, args: [{ isSignal: true, alias: "context", required: true }] }] } });
26
26
 
27
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
28
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
29
+ class HeaderComponentContextDirective {
30
+ context = input.required(...(ngDevMode ? [{ debugName: "context" }] : []));
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: HeaderComponentContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
32
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.12", type: HeaderComponentContextDirective, isStandalone: true, inputs: { context: { classPropertyName: "context", publicName: "context", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
33
+ }
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: HeaderComponentContextDirective, decorators: [{
35
+ type: Directive
36
+ }], propDecorators: { context: [{ type: i0.Input, args: [{ isSignal: true, alias: "context", required: true }] }] } });
37
+
27
38
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
28
39
  // SPDX-License-Identifier: BSD-3-Clause-Clear
29
40
  const qdsTableApi = createQdsTableApi(normalizeProps);
@@ -411,31 +422,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
411
422
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
412
423
  // SPDX-License-Identifier: BSD-3-Clause-Clear
413
424
  class TableColumnFilterActionDirective {
425
+ /**
426
+ * Whether the column can be filtered. Pass in the state from the column:
427
+ *
428
+ * @example
429
+ * ```angular-html
430
+ * <button
431
+ * q-table-column-filter-action
432
+ * [canFilter]="header.column.getCanFilter()"
433
+ * ></button>
434
+ * ```
435
+ */
436
+ canFilter = input(undefined, ...(ngDevMode ? [{ debugName: "canFilter", transform: booleanAttribute }] : [{
437
+ transform: booleanAttribute,
438
+ }]));
439
+ /**
440
+ * Whether the column is filtered. Pass in the state from the column:
441
+ *
442
+ * @example
443
+ * ```angular-html
444
+ * <button
445
+ * q-table-column-filter-action
446
+ * [isFiltered]="header.column.getIsFiltered()"
447
+ * ></button>
448
+ * ```
449
+ */
450
+ isFiltered = input(undefined, ...(ngDevMode ? [{ debugName: "isFiltered", transform: booleanAttribute }] : [{
451
+ transform: booleanAttribute,
452
+ }]));
414
453
  /**
415
454
  * The column header associated with the filter.
416
455
  */
417
- header = input.required(...(ngDevMode ? [{ debugName: "header" }] : []));
456
+ header = input(...(ngDevMode ? [undefined, { debugName: "header" }] : []));
418
457
  /**
419
458
  * Lucide icon to display inside the button.
420
459
  *
421
- * @default "Filter"
460
+ * @default "Funnel"
422
461
  */
423
- icon = input("Filter", ...(ngDevMode ? [{ debugName: "icon" }] : []));
424
- canFilter = computed(() => this.header().column.getCanFilter(), ...(ngDevMode ? [{ debugName: "canFilter" }] : []));
462
+ icon = input("Funnel", ...(ngDevMode ? [{ debugName: "icon" }] : []));
463
+ filterable = computed(() => this.canFilter() || this.header()?.column.getCanFilter(), ...(ngDevMode ? [{ debugName: "filterable" }] : []));
425
464
  inlineIconButtonApi = useInlineIconButtonApi({
426
465
  emphasis: "neutral",
427
466
  size: "sm",
428
467
  variant: "fixed",
429
468
  });
430
469
  trackBindings = useTrackBindings(() => mergeProps(this.inlineIconButtonApi().getRootBindings(), qdsTableApi.getColumnFilterActionBindings({
470
+ canFilter: this.canFilter(),
431
471
  header: this.header(),
472
+ isFiltered: this.isFiltered(),
432
473
  })));
433
474
  ngOnInit() {
434
475
  this.trackBindings();
435
476
  }
436
477
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TableColumnFilterActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
437
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: TableColumnFilterActionDirective, isStandalone: false, selector: "[q-table-column-filter-action]", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideIcons({ Filter })], ngImport: i0, template: `
438
- @if (canFilter()) {
478
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: TableColumnFilterActionDirective, isStandalone: false, selector: "[q-table-column-filter-action]", inputs: { canFilter: { classPropertyName: "canFilter", publicName: "canFilter", isSignal: true, isRequired: false, transformFunction: null }, isFiltered: { classPropertyName: "isFiltered", publicName: "isFiltered", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideIcons({ Funnel })], ngImport: i0, template: `
479
+ @if (filterable()) {
439
480
  <svg
440
481
  [q-bind]="inlineIconButtonApi().getIconBindings()"
441
482
  [qIcon]="icon()"
@@ -446,11 +487,11 @@ class TableColumnFilterActionDirective {
446
487
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TableColumnFilterActionDirective, decorators: [{
447
488
  type: Component,
448
489
  args: [{
449
- providers: [provideIcons({ Filter })],
490
+ providers: [provideIcons({ Funnel })],
450
491
  selector: "[q-table-column-filter-action]",
451
492
  standalone: false,
452
493
  template: `
453
- @if (canFilter()) {
494
+ @if (filterable()) {
454
495
  <svg
455
496
  [q-bind]="inlineIconButtonApi().getIconBindings()"
456
497
  [qIcon]="icon()"
@@ -458,7 +499,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
458
499
  }
459
500
  `,
460
501
  }]
461
- }], propDecorators: { header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: true }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }] } });
502
+ }], propDecorators: { canFilter: [{ type: i0.Input, args: [{ isSignal: true, alias: "canFilter", required: false }] }], isFiltered: [{ type: i0.Input, args: [{ isSignal: true, alias: "isFiltered", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }] } });
462
503
 
463
504
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
464
505
  // SPDX-License-Identifier: BSD-3-Clause-Clear
@@ -548,13 +589,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
548
589
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
549
590
  // SPDX-License-Identifier: BSD-3-Clause-Clear
550
591
  class TableColumnSortActionDirective {
592
+ /**
593
+ * Whether the column is sorted. Pass in the state from the column:
594
+ *
595
+ * @example
596
+ * ```angular-html
597
+ * <button
598
+ * q-table-column-sort-action
599
+ * [isSorted]="column.getIsSorted()">
600
+ * </button>
601
+ * ```
602
+ */
603
+ isSorted = input(false, ...(ngDevMode ? [{ debugName: "isSorted" }] : []));
551
604
  /**
552
605
  * The column header associated with the sort action.
553
606
  */
554
607
  header = input.required(...(ngDevMode ? [{ debugName: "header" }] : []));
555
608
  canSort = computed(() => this.header().column.getCanSort(), ...(ngDevMode ? [{ debugName: "canSort" }] : []));
556
609
  sortIcon = computed(() => {
557
- const sortDirection = this.header().column.getIsSorted();
610
+ const sortDirection = this.isSorted() || this.header().column.getIsSorted();
558
611
  return sortDirection ? "ArrowUp" : "ArrowDownUp";
559
612
  }, ...(ngDevMode ? [{ debugName: "sortIcon" }] : []));
560
613
  inlineIconButtonApi = useInlineIconButtonApi({
@@ -564,12 +617,13 @@ class TableColumnSortActionDirective {
564
617
  });
565
618
  trackBindings = useTrackBindings(() => mergeProps(this.inlineIconButtonApi().getRootBindings(), qdsTableApi.getColumnSortActionBindings({
566
619
  header: this.header(),
620
+ isSorted: this.isSorted() || this.header().column.getIsSorted(),
567
621
  })));
568
622
  ngOnInit() {
569
623
  this.trackBindings();
570
624
  }
571
625
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TableColumnSortActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
572
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: TableColumnSortActionDirective, isStandalone: false, selector: "[q-table-column-sort-action]", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: true, transformFunction: null } }, providers: [provideIcons({ ArrowDownUp, ArrowUp })], ngImport: i0, template: `
626
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: TableColumnSortActionDirective, isStandalone: false, selector: "[q-table-column-sort-action]", inputs: { isSorted: { classPropertyName: "isSorted", publicName: "isSorted", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: true, transformFunction: null } }, providers: [provideIcons({ ArrowDownUp, ArrowUp })], ngImport: i0, template: `
573
627
  @if (canSort()) {
574
628
  <svg
575
629
  [q-bind]="inlineIconButtonApi().getIconBindings()"
@@ -593,7 +647,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
593
647
  }
594
648
  `,
595
649
  }]
596
- }], propDecorators: { header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: true }] }] } });
650
+ }], propDecorators: { isSorted: [{ type: i0.Input, args: [{ isSignal: true, alias: "isSorted", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: true }] }] } });
597
651
 
598
652
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
599
653
  // SPDX-License-Identifier: BSD-3-Clause-Clear
@@ -836,6 +890,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
836
890
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
837
891
  // SPDX-License-Identifier: BSD-3-Clause-Clear
838
892
  class TableRowExpandButtonDirective {
893
+ /**
894
+ * Whether the row is expanded. Pass in the state from the row:
895
+ *
896
+ * @example
897
+ * ```angular-html
898
+ * <button
899
+ * q-table-row-expand-button
900
+ * [isExpanded]="row.getIsExpanded()"
901
+ * ></button>
902
+ * ```
903
+ */
839
904
  isExpanded = input(undefined, ...(ngDevMode ? [{ debugName: "isExpanded", transform: booleanAttribute }] : [{
840
905
  transform: booleanAttribute,
841
906
  }]));
@@ -1313,5 +1378,5 @@ function createTablePagination(table, opts = {}) {
1313
1378
  * Generated bundle index. Do not edit.
1314
1379
  */
1315
1380
 
1316
- export { CellComponentContextDirective, RenderCellDirective, RenderFooterDirective, RenderHeaderDirective, TableActionBarDirective, TableBodyDirective, TableCellActionDirective, TableCellDirective, TableColumnDragHandleDirective, TableColumnDragPreviewDirective, TableColumnDropIndicatorDirective, TableColumnFilterActionDirective, TableColumnHeaderActionDirective, TableColumnResizeHandleDirective, TableColumnSortActionDirective, TableFooterDirective, TableHeaderCellDirective, TableHeaderDirective, TableModule, TablePaginationDirective, TableRootDirective, TableRowDirective, TableRowDragHandleDirective, TableRowDragPreviewDirective, TableRowDropIndicatorDirective, TableRowExpandButtonDirective, TableScrollContainerDirective, TableTableDirective, TableTitleBarDirective, createAngularTable, createTablePagination, qdsTableApi };
1381
+ export { CellComponentContextDirective, HeaderComponentContextDirective, RenderCellDirective, RenderFooterDirective, RenderHeaderDirective, TableActionBarDirective, TableBodyDirective, TableCellActionDirective, TableCellDirective, TableColumnDragHandleDirective, TableColumnDragPreviewDirective, TableColumnDropIndicatorDirective, TableColumnFilterActionDirective, TableColumnHeaderActionDirective, TableColumnResizeHandleDirective, TableColumnSortActionDirective, TableFooterDirective, TableHeaderCellDirective, TableHeaderDirective, TableModule, TablePaginationDirective, TableRootDirective, TableRowDirective, TableRowDragHandleDirective, TableRowDragPreviewDirective, TableRowDropIndicatorDirective, TableRowExpandButtonDirective, TableScrollContainerDirective, TableTableDirective, TableTitleBarDirective, createAngularTable, createTablePagination, qdsTableApi };
1317
1382
  //# sourceMappingURL=qualcomm-ui-angular-table.mjs.map