@spartan-ng/cli 1.6.3 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generators/ui/libs/pagination/files/index.ts.template +1 -0
- package/src/generators/ui/libs/pagination/files/lib/hlm-numbered-pagination-query-params.ts.template +46 -3
- package/src/generators/ui/libs/pagination/files/lib/hlm-numbered-pagination.ts.template +44 -5
- package/src/generators/ui/libs/pagination/files/lib/hlm-pagination-next.ts.template +5 -2
- package/src/generators/ui/libs/pagination/files/lib/hlm-pagination-previous.ts.template +5 -2
- package/src/generators/ui/libs/pagination/files/lib/hlm-pagination.token.ts.template +29 -0
- package/src/generators/ui/supported-ui-libraries.json +43 -43
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@ export * from './lib/hlm-pagination-item';
|
|
|
17
17
|
export * from './lib/hlm-pagination-link';
|
|
18
18
|
export * from './lib/hlm-pagination-next';
|
|
19
19
|
export * from './lib/hlm-pagination-previous';
|
|
20
|
+
export * from './lib/hlm-pagination.token';
|
|
20
21
|
|
|
21
22
|
export const HlmPaginationImports = [
|
|
22
23
|
HlmPagination,
|
package/src/generators/ui/libs/pagination/files/lib/hlm-numbered-pagination-query-params.ts.template
CHANGED
|
@@ -19,6 +19,7 @@ import { HlmPaginationItem } from './hlm-pagination-item';
|
|
|
19
19
|
import { HlmPaginationLink } from './hlm-pagination-link';
|
|
20
20
|
import { HlmPaginationNext } from './hlm-pagination-next';
|
|
21
21
|
import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
22
|
+
import { injectHlmPaginationConfig } from './hlm-pagination.token';
|
|
22
23
|
|
|
23
24
|
@Component({
|
|
24
25
|
selector: 'hlm-numbered-pagination-query-params',
|
|
@@ -34,11 +35,11 @@ import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
|
34
35
|
],
|
|
35
36
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
36
37
|
template: `
|
|
37
|
-
<div class="flex items-center gap-1 text-sm text-nowrap
|
|
38
|
+
<div class="text-muted-foreground flex items-center gap-1 text-sm text-nowrap">
|
|
38
39
|
<b>{{ totalItems() }}</b>
|
|
39
|
-
|
|
40
|
+
{{ totalItemsLabel() }} |
|
|
40
41
|
<b>{{ _lastPageNumber() }}</b>
|
|
41
|
-
|
|
42
|
+
{{ pagesLabel() }}
|
|
42
43
|
</div>
|
|
43
44
|
|
|
44
45
|
<nav hlmPagination>
|
|
@@ -49,6 +50,8 @@ import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
|
49
50
|
[link]="link()"
|
|
50
51
|
[queryParams]="{ page: currentPage() - 1 }"
|
|
51
52
|
queryParamsHandling="merge"
|
|
53
|
+
[text]="previousLabel()"
|
|
54
|
+
[aria-label]="previousAriaLabel()"
|
|
52
55
|
/>
|
|
53
56
|
</li>
|
|
54
57
|
}
|
|
@@ -77,6 +80,8 @@ import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
|
77
80
|
[link]="link()"
|
|
78
81
|
[queryParams]="{ page: currentPage() + 1 }"
|
|
79
82
|
queryParamsHandling="merge"
|
|
83
|
+
[text]="nextLabel()"
|
|
84
|
+
[aria-label]="nextAriaLabel()"
|
|
80
85
|
/>
|
|
81
86
|
</li>
|
|
82
87
|
}
|
|
@@ -99,6 +104,8 @@ import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
|
99
104
|
`,
|
|
100
105
|
})
|
|
101
106
|
export class HlmNumberedPaginationQueryParams {
|
|
107
|
+
private readonly _config = injectHlmPaginationConfig();
|
|
108
|
+
|
|
102
109
|
/**
|
|
103
110
|
* The current (active) page.
|
|
104
111
|
*/
|
|
@@ -144,6 +151,42 @@ export class HlmNumberedPaginationQueryParams {
|
|
|
144
151
|
*/
|
|
145
152
|
public readonly pageSizes = input<number[]>([10, 20, 50, 100]);
|
|
146
153
|
|
|
154
|
+
/**
|
|
155
|
+
* The label for total items or pages to show
|
|
156
|
+
* Defaults to config's totalItemsLabel
|
|
157
|
+
*/
|
|
158
|
+
public readonly totalItemsLabel = input<string>(this._config.totalItemsLabel);
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The label for pages to show
|
|
162
|
+
* Defaults to config's pagesLabel
|
|
163
|
+
*/
|
|
164
|
+
public readonly pagesLabel = input<string>(this._config.pagesLabel);
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* The label to show on the next button
|
|
168
|
+
* Defaults to config's nextLabel
|
|
169
|
+
*/
|
|
170
|
+
public readonly nextLabel = input<string>(this._config.nextLabel);
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* The aria-label to show on the next button
|
|
174
|
+
* Defaults to config's nextAriaLabel
|
|
175
|
+
*/
|
|
176
|
+
public readonly nextAriaLabel = input<string>(this._config.nextAriaLabel);
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The label to show on the previous button
|
|
180
|
+
* Defaults to config's previousLabel
|
|
181
|
+
*/
|
|
182
|
+
public readonly previousLabel = input<string>(this._config.previousLabel);
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* The aria-label to show on the previous button
|
|
186
|
+
* Defaults to config's previousAriaLabel
|
|
187
|
+
*/
|
|
188
|
+
public readonly previousAriaLabel = input<string>(this._config.previousAriaLabel);
|
|
189
|
+
|
|
147
190
|
protected readonly _pageSizesWithCurrent = computed(() => {
|
|
148
191
|
const pageSizes = this.pageSizes();
|
|
149
192
|
return pageSizes.includes(this.itemsPerPage())
|
|
@@ -17,6 +17,7 @@ import { HlmPaginationItem } from './hlm-pagination-item';
|
|
|
17
17
|
import { HlmPaginationLink } from './hlm-pagination-link';
|
|
18
18
|
import { HlmPaginationNext } from './hlm-pagination-next';
|
|
19
19
|
import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
20
|
+
import { injectHlmPaginationConfig } from './hlm-pagination.token';
|
|
20
21
|
|
|
21
22
|
@Component({
|
|
22
23
|
selector: 'hlm-numbered-pagination',
|
|
@@ -33,18 +34,18 @@ import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
|
33
34
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
34
35
|
template: `
|
|
35
36
|
<div class="flex items-center justify-between gap-2 px-4 py-2">
|
|
36
|
-
<div class="flex items-center gap-1 text-sm text-nowrap
|
|
37
|
+
<div class="text-muted-foreground flex items-center gap-1 text-sm text-nowrap">
|
|
37
38
|
<b>{{ totalItems() }}</b>
|
|
38
|
-
|
|
39
|
+
{{ totalItemsLabel() }} |
|
|
39
40
|
<b>{{ _lastPageNumber() }}</b>
|
|
40
|
-
|
|
41
|
+
{{ pagesLabel() }}
|
|
41
42
|
</div>
|
|
42
43
|
|
|
43
44
|
<nav hlmPagination>
|
|
44
45
|
<ul hlmPaginationContent>
|
|
45
46
|
@if (showEdges() && !_isFirstPageActive()) {
|
|
46
47
|
<li hlmPaginationItem (click)="goToPrevious()">
|
|
47
|
-
<hlm-pagination-previous />
|
|
48
|
+
<hlm-pagination-previous [aria-label]="previousAriaLabel()" [text]="previousLabel()" />
|
|
48
49
|
</li>
|
|
49
50
|
}
|
|
50
51
|
|
|
@@ -62,7 +63,7 @@ import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
|
62
63
|
|
|
63
64
|
@if (showEdges() && !_isLastPageActive()) {
|
|
64
65
|
<li hlmPaginationItem (click)="goToNext()">
|
|
65
|
-
<hlm-pagination-next />
|
|
66
|
+
<hlm-pagination-next [aria-label]="nextAriaLabel()" [text]="nextLabel()" />
|
|
66
67
|
</li>
|
|
67
68
|
}
|
|
68
69
|
</ul>
|
|
@@ -85,6 +86,8 @@ import { HlmPaginationPrevious } from './hlm-pagination-previous';
|
|
|
85
86
|
`,
|
|
86
87
|
})
|
|
87
88
|
export class HlmNumberedPagination {
|
|
89
|
+
private readonly _config = injectHlmPaginationConfig();
|
|
90
|
+
|
|
88
91
|
/**
|
|
89
92
|
* The current (active) page.
|
|
90
93
|
*/
|
|
@@ -124,6 +127,42 @@ export class HlmNumberedPagination {
|
|
|
124
127
|
*/
|
|
125
128
|
public readonly pageSizes = input<number[]>([10, 20, 50, 100]);
|
|
126
129
|
|
|
130
|
+
/**
|
|
131
|
+
* The label for total items or pages to show
|
|
132
|
+
* Defaults to config's totalItemsLabel
|
|
133
|
+
*/
|
|
134
|
+
public readonly totalItemsLabel = input<string>(this._config.totalItemsLabel);
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The label for pages to show
|
|
138
|
+
* Defaults to config's pagesLabel
|
|
139
|
+
*/
|
|
140
|
+
public readonly pagesLabel = input<string>(this._config.pagesLabel);
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The label to show on the next button
|
|
144
|
+
* Defaults to config's nextLabel
|
|
145
|
+
*/
|
|
146
|
+
public readonly nextLabel = input<string>(this._config.nextLabel);
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The aria-label to show on the next button
|
|
150
|
+
* Defaults to config's nextAriaLabel
|
|
151
|
+
*/
|
|
152
|
+
public readonly nextAriaLabel = input<string>(this._config.nextAriaLabel);
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* The label to show on the previous button
|
|
156
|
+
* Defaults to config's previousLabel
|
|
157
|
+
*/
|
|
158
|
+
public readonly previousLabel = input<string>(this._config.previousLabel);
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The aria-label to show on the previous button
|
|
162
|
+
* Defaults to config's previousAriaLabel
|
|
163
|
+
*/
|
|
164
|
+
public readonly previousAriaLabel = input<string>(this._config.previousAriaLabel);
|
|
165
|
+
|
|
127
166
|
protected readonly _pageSizesWithCurrent = computed(() => {
|
|
128
167
|
const pageSizes = this.pageSizes();
|
|
129
168
|
return pageSizes.includes(this.itemsPerPage())
|
|
@@ -7,6 +7,7 @@ import type { ButtonVariants } from '<%- importAlias %>/button';
|
|
|
7
7
|
import { hlm } from '<%- importAlias %>/utils';
|
|
8
8
|
import type { ClassValue } from 'clsx';
|
|
9
9
|
import { HlmPaginationLink } from './hlm-pagination-link';
|
|
10
|
+
import { injectHlmPaginationConfig } from './hlm-pagination.token';
|
|
10
11
|
|
|
11
12
|
@Component({
|
|
12
13
|
selector: 'hlm-pagination-next',
|
|
@@ -29,6 +30,8 @@ import { HlmPaginationLink } from './hlm-pagination-link';
|
|
|
29
30
|
`,
|
|
30
31
|
})
|
|
31
32
|
export class HlmPaginationNext {
|
|
33
|
+
private readonly _config = injectHlmPaginationConfig();
|
|
34
|
+
|
|
32
35
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
33
36
|
/** The link to navigate to the next page. */
|
|
34
37
|
public readonly link = input<RouterLink['routerLink']>();
|
|
@@ -38,9 +41,9 @@ export class HlmPaginationNext {
|
|
|
38
41
|
public readonly queryParamsHandling = input<RouterLink['queryParamsHandling']>();
|
|
39
42
|
|
|
40
43
|
/** The aria-label for the next page link. */
|
|
41
|
-
public readonly ariaLabel = input<string>(
|
|
44
|
+
public readonly ariaLabel = input<string>(this._config.nextAriaLabel, { alias: 'aria-label' });
|
|
42
45
|
/** The text to display for the next page link. */
|
|
43
|
-
public readonly text = input<string>(
|
|
46
|
+
public readonly text = input<string>(this._config.nextLabel);
|
|
44
47
|
/** Whether the button should only display the icon. */
|
|
45
48
|
public readonly iconOnly = input<boolean, BooleanInput>(false, {
|
|
46
49
|
transform: booleanAttribute,
|
|
@@ -7,6 +7,7 @@ import type { ButtonVariants } from '<%- importAlias %>/button';
|
|
|
7
7
|
import { hlm } from '<%- importAlias %>/utils';
|
|
8
8
|
import type { ClassValue } from 'clsx';
|
|
9
9
|
import { HlmPaginationLink } from './hlm-pagination-link';
|
|
10
|
+
import { injectHlmPaginationConfig } from './hlm-pagination.token';
|
|
10
11
|
|
|
11
12
|
@Component({
|
|
12
13
|
selector: 'hlm-pagination-previous',
|
|
@@ -29,6 +30,8 @@ import { HlmPaginationLink } from './hlm-pagination-link';
|
|
|
29
30
|
`,
|
|
30
31
|
})
|
|
31
32
|
export class HlmPaginationPrevious {
|
|
33
|
+
private readonly _config = injectHlmPaginationConfig();
|
|
34
|
+
|
|
32
35
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
33
36
|
/** The link to navigate to the previous page. */
|
|
34
37
|
public readonly link = input<RouterLink['routerLink']>();
|
|
@@ -38,9 +41,9 @@ export class HlmPaginationPrevious {
|
|
|
38
41
|
public readonly queryParamsHandling = input<RouterLink['queryParamsHandling']>();
|
|
39
42
|
|
|
40
43
|
/** The aria-label for the previous page link. */
|
|
41
|
-
public readonly ariaLabel = input<string>(
|
|
44
|
+
public readonly ariaLabel = input<string>(this._config.previousAriaLabel, { alias: 'aria-label' });
|
|
42
45
|
/** The text to display for the previous page link. */
|
|
43
|
-
public readonly text = input<string>(
|
|
46
|
+
public readonly text = input<string>(this._config.previousLabel);
|
|
44
47
|
/** Whether the button should only display the icon. */
|
|
45
48
|
public readonly iconOnly = input<boolean, BooleanInput>(false, {
|
|
46
49
|
transform: booleanAttribute,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { inject, InjectionToken, type ValueProvider } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
export interface HlmPaginationConfig {
|
|
4
|
+
totalItemsLabel: string;
|
|
5
|
+
pagesLabel: string;
|
|
6
|
+
previousLabel: string;
|
|
7
|
+
previousAriaLabel: string;
|
|
8
|
+
nextLabel: string;
|
|
9
|
+
nextAriaLabel: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const defaultConfig: HlmPaginationConfig = {
|
|
13
|
+
totalItemsLabel: 'total items',
|
|
14
|
+
pagesLabel: 'pages',
|
|
15
|
+
nextLabel: 'Next',
|
|
16
|
+
nextAriaLabel: 'Go to next page',
|
|
17
|
+
previousLabel: 'Previous',
|
|
18
|
+
previousAriaLabel: 'Go to previous page',
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const HlmPaginationConfigToken = new InjectionToken<HlmPaginationConfig>('HlmPaginationConfig');
|
|
22
|
+
|
|
23
|
+
export function provideHlmPaginationConfig(config: Partial<HlmPaginationConfig>): ValueProvider {
|
|
24
|
+
return { provide: HlmPaginationConfigToken, useValue: { ...defaultConfig, ...config } };
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export function injectHlmPaginationConfig(): HlmPaginationConfig {
|
|
28
|
+
return inject(HlmPaginationConfigToken, { optional: true }) ?? defaultConfig;
|
|
29
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "accordion",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
6
|
-
"@spartan-ng/brain": "1.
|
|
6
|
+
"@spartan-ng/brain": "1.7.0",
|
|
7
7
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
8
8
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
9
9
|
"clsx": "^2.1.1"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"name": "alert-dialog",
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
23
|
-
"@spartan-ng/brain": "1.
|
|
23
|
+
"@spartan-ng/brain": "1.7.0",
|
|
24
24
|
"clsx": "^2.1.1"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"name": "autocomplete",
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
45
|
-
"@spartan-ng/brain": "1.
|
|
45
|
+
"@spartan-ng/brain": "1.7.0",
|
|
46
46
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
47
47
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
48
48
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"name": "avatar",
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
56
|
-
"@spartan-ng/brain": "1.
|
|
56
|
+
"@spartan-ng/brain": "1.7.0"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"badge": {
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"name": "button",
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
86
|
-
"@spartan-ng/brain": "1.
|
|
86
|
+
"@spartan-ng/brain": "1.7.0",
|
|
87
87
|
"class-variance-authority": "^0.7.0",
|
|
88
88
|
"clsx": "^2.1.1"
|
|
89
89
|
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"name": "button-group",
|
|
93
93
|
"peerDependencies": {
|
|
94
94
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
95
|
-
"@spartan-ng/brain": "1.
|
|
95
|
+
"@spartan-ng/brain": "1.7.0",
|
|
96
96
|
"class-variance-authority": "^0.7.0"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
104
104
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
105
105
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
106
|
-
"@spartan-ng/brain": "1.
|
|
106
|
+
"@spartan-ng/brain": "1.7.0"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
"card": {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
141
141
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
142
142
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
143
|
-
"@spartan-ng/brain": "1.
|
|
143
|
+
"@spartan-ng/brain": "1.7.0",
|
|
144
144
|
"clsx": "^2.1.1"
|
|
145
145
|
}
|
|
146
146
|
},
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"name": "collapsible",
|
|
149
149
|
"peerDependencies": {
|
|
150
150
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
151
|
-
"@spartan-ng/brain": "1.
|
|
151
|
+
"@spartan-ng/brain": "1.7.0"
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
"combobox": {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"peerDependencies": {
|
|
157
157
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
158
158
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
159
|
-
"@spartan-ng/brain": "1.
|
|
159
|
+
"@spartan-ng/brain": "1.7.0",
|
|
160
160
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
161
161
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
162
162
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"peerDependencies": {
|
|
169
169
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
170
170
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
171
|
-
"@spartan-ng/brain": "1.
|
|
171
|
+
"@spartan-ng/brain": "1.7.0",
|
|
172
172
|
"clsx": "^2.1.1",
|
|
173
173
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
174
174
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"name": "context-menu",
|
|
179
179
|
"peerDependencies": {
|
|
180
180
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
181
|
-
"@spartan-ng/brain": "1.
|
|
181
|
+
"@spartan-ng/brain": "1.7.0",
|
|
182
182
|
"@angular/cdk": ">=21.0.0 <23.0.0"
|
|
183
183
|
}
|
|
184
184
|
},
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
190
190
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
191
191
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
192
|
-
"@spartan-ng/brain": "1.
|
|
192
|
+
"@spartan-ng/brain": "1.7.0",
|
|
193
193
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
194
194
|
"clsx": "^2.1.1"
|
|
195
195
|
}
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"name": "dialog",
|
|
199
199
|
"peerDependencies": {
|
|
200
200
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
201
|
-
"@spartan-ng/brain": "1.
|
|
201
|
+
"@spartan-ng/brain": "1.7.0",
|
|
202
202
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
203
203
|
"@angular/common": ">=21.0.0 <23.0.0",
|
|
204
204
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
"name": "drawer",
|
|
212
212
|
"peerDependencies": {
|
|
213
213
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
214
|
-
"@spartan-ng/brain": "1.
|
|
214
|
+
"@spartan-ng/brain": "1.7.0",
|
|
215
215
|
"clsx": "^2.1.1"
|
|
216
216
|
}
|
|
217
217
|
},
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
223
223
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
224
224
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
225
|
-
"@spartan-ng/brain": "1.
|
|
225
|
+
"@spartan-ng/brain": "1.7.0",
|
|
226
226
|
"rxjs": "^7.8.0"
|
|
227
227
|
}
|
|
228
228
|
},
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"name": "field",
|
|
238
238
|
"peerDependencies": {
|
|
239
239
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
240
|
-
"@spartan-ng/brain": "1.
|
|
240
|
+
"@spartan-ng/brain": "1.7.0",
|
|
241
241
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
242
242
|
"class-variance-authority": "^0.7.0"
|
|
243
243
|
}
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"name": "hover-card",
|
|
247
247
|
"peerDependencies": {
|
|
248
248
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
249
|
-
"@spartan-ng/brain": "1.
|
|
249
|
+
"@spartan-ng/brain": "1.7.0"
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
252
|
"input": {
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
"peerDependencies": {
|
|
255
255
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
256
256
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
257
|
-
"@spartan-ng/brain": "1.
|
|
257
|
+
"@spartan-ng/brain": "1.7.0"
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
"input-group": {
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
272
272
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
273
273
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
274
|
-
"@spartan-ng/brain": "1.
|
|
274
|
+
"@spartan-ng/brain": "1.7.0"
|
|
275
275
|
}
|
|
276
276
|
},
|
|
277
277
|
"item": {
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"peerDependencies": {
|
|
280
280
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
281
281
|
"class-variance-authority": "^0.7.0",
|
|
282
|
-
"@spartan-ng/brain": "1.
|
|
282
|
+
"@spartan-ng/brain": "1.7.0"
|
|
283
283
|
}
|
|
284
284
|
},
|
|
285
285
|
"kbd": {
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"name": "label",
|
|
293
293
|
"peerDependencies": {
|
|
294
294
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
295
|
-
"@spartan-ng/brain": "1.
|
|
295
|
+
"@spartan-ng/brain": "1.7.0"
|
|
296
296
|
}
|
|
297
297
|
},
|
|
298
298
|
"marker": {
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
"name": "menubar",
|
|
307
307
|
"peerDependencies": {
|
|
308
308
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
309
|
-
"@spartan-ng/brain": "1.
|
|
309
|
+
"@spartan-ng/brain": "1.7.0",
|
|
310
310
|
"@angular/cdk": ">=21.0.0 <23.0.0"
|
|
311
311
|
}
|
|
312
312
|
},
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
323
323
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
324
324
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
325
|
-
"@spartan-ng/brain": "1.
|
|
325
|
+
"@spartan-ng/brain": "1.7.0"
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
"native-select": {
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
334
334
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
335
335
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
336
|
-
"@spartan-ng/brain": "1.
|
|
336
|
+
"@spartan-ng/brain": "1.7.0",
|
|
337
337
|
"clsx": "^2.1.1"
|
|
338
338
|
}
|
|
339
339
|
},
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
"peerDependencies": {
|
|
343
343
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
344
344
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
345
|
-
"@spartan-ng/brain": "1.
|
|
345
|
+
"@spartan-ng/brain": "1.7.0",
|
|
346
346
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
347
347
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0"
|
|
348
348
|
}
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
"peerDependencies": {
|
|
364
364
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
365
365
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
366
|
-
"@spartan-ng/brain": "1.
|
|
366
|
+
"@spartan-ng/brain": "1.7.0"
|
|
367
367
|
}
|
|
368
368
|
},
|
|
369
369
|
"progress": {
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
"peerDependencies": {
|
|
372
372
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
373
373
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
374
|
-
"@spartan-ng/brain": "1.
|
|
374
|
+
"@spartan-ng/brain": "1.7.0"
|
|
375
375
|
}
|
|
376
376
|
},
|
|
377
377
|
"questionnaire": {
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
381
381
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
382
382
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
383
|
-
"@spartan-ng/brain": "1.
|
|
383
|
+
"@spartan-ng/brain": "1.7.0"
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
386
|
"radio-group": {
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
"peerDependencies": {
|
|
389
389
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
390
390
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
391
|
-
"@spartan-ng/brain": "1.
|
|
391
|
+
"@spartan-ng/brain": "1.7.0",
|
|
392
392
|
"clsx": "^2.1.1",
|
|
393
393
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
394
394
|
"@angular/common": ">=21.0.0 <23.0.0"
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
"name": "resizable",
|
|
399
399
|
"peerDependencies": {
|
|
400
400
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
401
|
-
"@spartan-ng/brain": "1.
|
|
401
|
+
"@spartan-ng/brain": "1.7.0"
|
|
402
402
|
}
|
|
403
403
|
},
|
|
404
404
|
"scroll-area": {
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
415
415
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
416
416
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
417
|
-
"@spartan-ng/brain": "1.
|
|
417
|
+
"@spartan-ng/brain": "1.7.0",
|
|
418
418
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
419
419
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
420
420
|
"clsx": "^2.1.1"
|
|
@@ -424,14 +424,14 @@
|
|
|
424
424
|
"name": "separator",
|
|
425
425
|
"peerDependencies": {
|
|
426
426
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
427
|
-
"@spartan-ng/brain": "1.
|
|
427
|
+
"@spartan-ng/brain": "1.7.0"
|
|
428
428
|
}
|
|
429
429
|
},
|
|
430
430
|
"sheet": {
|
|
431
431
|
"name": "sheet",
|
|
432
432
|
"peerDependencies": {
|
|
433
433
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
434
|
-
"@spartan-ng/brain": "1.
|
|
434
|
+
"@spartan-ng/brain": "1.7.0",
|
|
435
435
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
436
436
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
437
437
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
"peerDependencies": {
|
|
444
444
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
445
445
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
446
|
-
"@spartan-ng/brain": "1.
|
|
446
|
+
"@spartan-ng/brain": "1.7.0",
|
|
447
447
|
"class-variance-authority": "^0.7.0",
|
|
448
448
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
449
449
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
"peerDependencies": {
|
|
463
463
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
464
464
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
465
|
-
"@spartan-ng/brain": "1.
|
|
465
|
+
"@spartan-ng/brain": "1.7.0"
|
|
466
466
|
}
|
|
467
467
|
},
|
|
468
468
|
"sonner": {
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
473
473
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
474
474
|
"@ng-icons/lucide": ">=32.0.0 <34.0.0",
|
|
475
|
-
"@spartan-ng/brain": "1.
|
|
475
|
+
"@spartan-ng/brain": "1.7.0",
|
|
476
476
|
"clsx": "^2.1.1"
|
|
477
477
|
}
|
|
478
478
|
},
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
"name": "switch",
|
|
489
489
|
"peerDependencies": {
|
|
490
490
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
491
|
-
"@spartan-ng/brain": "1.
|
|
491
|
+
"@spartan-ng/brain": "1.7.0",
|
|
492
492
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
493
493
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
494
494
|
"clsx": "^2.1.1"
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
"name": "tabs",
|
|
505
505
|
"peerDependencies": {
|
|
506
506
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
507
|
-
"@spartan-ng/brain": "1.
|
|
507
|
+
"@spartan-ng/brain": "1.7.0",
|
|
508
508
|
"class-variance-authority": "^0.7.0",
|
|
509
509
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
510
510
|
"@ng-icons/core": ">=32.0.0 <34.0.0",
|
|
@@ -518,14 +518,14 @@
|
|
|
518
518
|
"peerDependencies": {
|
|
519
519
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
520
520
|
"@angular/forms": ">=21.0.0 <23.0.0",
|
|
521
|
-
"@spartan-ng/brain": "1.
|
|
521
|
+
"@spartan-ng/brain": "1.7.0"
|
|
522
522
|
}
|
|
523
523
|
},
|
|
524
524
|
"toggle": {
|
|
525
525
|
"name": "toggle",
|
|
526
526
|
"peerDependencies": {
|
|
527
527
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
528
|
-
"@spartan-ng/brain": "1.
|
|
528
|
+
"@spartan-ng/brain": "1.7.0",
|
|
529
529
|
"class-variance-authority": "^0.7.0"
|
|
530
530
|
}
|
|
531
531
|
},
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
"name": "toggle-group",
|
|
534
534
|
"peerDependencies": {
|
|
535
535
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
536
|
-
"@spartan-ng/brain": "1.
|
|
536
|
+
"@spartan-ng/brain": "1.7.0",
|
|
537
537
|
"@angular/cdk": ">=21.0.0 <23.0.0"
|
|
538
538
|
}
|
|
539
539
|
},
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
"peerDependencies": {
|
|
543
543
|
"@angular/cdk": ">=21.0.0 <23.0.0",
|
|
544
544
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
545
|
-
"@spartan-ng/brain": "1.
|
|
545
|
+
"@spartan-ng/brain": "1.7.0",
|
|
546
546
|
"class-variance-authority": "^0.7.0"
|
|
547
547
|
}
|
|
548
548
|
},
|