@salesforce/ui-bundle-template-base-angular-app 11.31.10 → 11.31.12
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/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/angular.json +4 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/app.routes.ts +3 -3
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/layout/app-layout/{app-layout.component.spec.ts → app-layout.spec.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/layout/app-layout/{app-layout.component.ts → app-layout.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/alert/{alert.component.ts → alert.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/button/{button.component.ts → button.ts} +2 -2
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/card/{card.component.ts → card.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/collapsible/{collapsible.component.ts → collapsible.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/date-picker/{date-picker.component.ts → date-picker.ts} +2 -2
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/date-range-picker/{date-range-picker.component.ts → date-range-picker.ts} +2 -2
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/dialog/{dialog.component.ts → dialog.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/field/{field.component.ts → field.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/input/{input.component.ts → input.ts} +2 -2
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/label/{label.component.ts → label.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/paginator/{paginator.component.ts → paginator.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/popover/{popover.component.ts → popover.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/select/{select.component.ts → select.ts} +2 -2
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/separator/{separator.component.ts → separator.ts} +2 -2
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/skeleton/{skeleton.component.ts → skeleton.ts} +2 -2
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/pages/home/{home.component.spec.ts → home.spec.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/pages/home/{home.component.ts → home.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/pages/not-found/{not-found.component.spec.ts → not-found.spec.ts} +1 -1
- package/src/force-app/main/default/uiBundles/base-angular-app/src/app/pages/not-found/{not-found.component.ts → not-found.ts} +1 -1
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/layout/app-layout/{app-layout.component.html → app-layout.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/alert/{alert.component.html → alert.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/button/{button.component.html → button.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/button/{button.component.scss → button.scss} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/card/{card.component.scss → card.scss} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/collapsible/{collapsible.component.html → collapsible.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/date-picker/{date-picker.component.html → date-picker.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/date-picker/{date-picker.component.scss → date-picker.scss} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/date-range-picker/{date-range-picker.component.html → date-range-picker.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/date-range-picker/{date-range-picker.component.scss → date-range-picker.scss} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/dialog/{dialog.component.html → dialog.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/field/{field.component.html → field.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/input/{input.component.html → input.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/input/{input.component.scss → input.scss} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/label/{label.component.html → label.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/paginator/{paginator.component.html → paginator.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/popover/{popover.component.html → popover.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/select/{select.component.html → select.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/select/{select.component.scss → select.scss} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/separator/{separator.component.html → separator.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/separator/{separator.component.scss → separator.scss} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/skeleton/{skeleton.component.html → skeleton.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/skeleton/{skeleton.component.scss → skeleton.scss} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/components/ui/spinner/{spinner.component.ts → spinner.ts} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/pages/home/{home.component.html → home.html} +0 -0
- /package/src/force-app/main/default/uiBundles/base-angular-app/src/app/pages/not-found/{not-found.component.html → not-found.html} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [11.31.12](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.31.11...v11.31.12) (2026-07-21)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **angular:** shorten template file paths for Windows CLI 157-char limit @W-23511050@ ([#781](https://github.com/salesforce-experience-platform-emu/webapps/issues/781)) ([d615436](https://github.com/salesforce-experience-platform-emu/webapps/commit/d61543619195098574a6eacde1e5a619229df204))
|
|
11
|
+
|
|
12
|
+
## [11.31.11](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.31.10...v11.31.11) (2026-07-20)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-angular-app
|
|
15
|
+
|
|
6
16
|
## [11.31.10](https://github.com/salesforce-experience-platform-emu/webapps/compare/v11.31.9...v11.31.10) (2026-07-20)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-angular-app
|
package/package.json
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
import { Routes } from '@angular/router';
|
|
7
|
-
import { AppLayoutComponent } from './components/layout/app-layout/app-layout
|
|
8
|
-
import { HomeComponent } from './pages/home/home
|
|
9
|
-
import { NotFoundComponent } from './pages/not-found/not-found
|
|
7
|
+
import { AppLayoutComponent } from './components/layout/app-layout/app-layout';
|
|
8
|
+
import { HomeComponent } from './pages/home/home';
|
|
9
|
+
import { NotFoundComponent } from './pages/not-found/not-found';
|
|
10
10
|
|
|
11
11
|
export const routes: Routes = [
|
|
12
12
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TestBed } from '@angular/core/testing';
|
|
2
2
|
import { provideRouter } from '@angular/router';
|
|
3
|
-
import { AppLayoutComponent } from './app-layout
|
|
3
|
+
import { AppLayoutComponent } from './app-layout';
|
|
4
4
|
|
|
5
5
|
describe('AppLayoutComponent', () => {
|
|
6
6
|
beforeEach(async () => {
|
|
@@ -10,7 +10,7 @@ import { RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router';
|
|
|
10
10
|
selector: 'app-layout',
|
|
11
11
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12
12
|
imports: [RouterLink, RouterLinkActive, RouterOutlet],
|
|
13
|
-
templateUrl: './app-layout.
|
|
13
|
+
templateUrl: './app-layout.html',
|
|
14
14
|
})
|
|
15
15
|
export class AppLayoutComponent {
|
|
16
16
|
readonly isOpen = signal(false);
|
|
@@ -21,7 +21,7 @@ const VARIANT_CLASSES: Record<AppAlertVariant, string> = {
|
|
|
21
21
|
selector: 'app-alert',
|
|
22
22
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
23
|
imports: [MatIconModule],
|
|
24
|
-
templateUrl: './alert.
|
|
24
|
+
templateUrl: './alert.html',
|
|
25
25
|
host: {
|
|
26
26
|
'data-slot': 'alert',
|
|
27
27
|
role: 'alert',
|
|
@@ -30,8 +30,8 @@ export type AppButtonSize =
|
|
|
30
30
|
selector: 'app-button',
|
|
31
31
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
32
|
imports: [MatButtonModule, MatIconModule],
|
|
33
|
-
templateUrl: './button.
|
|
34
|
-
styleUrl: './button.
|
|
33
|
+
templateUrl: './button.html',
|
|
34
|
+
styleUrl: './button.scss',
|
|
35
35
|
})
|
|
36
36
|
export class ButtonComponent {
|
|
37
37
|
readonly appearance = input<AppButtonAppearance>('filled');
|
|
@@ -26,7 +26,7 @@ export type AppCardSize = 'default' | 'sm';
|
|
|
26
26
|
imports: [MatCard],
|
|
27
27
|
template:
|
|
28
28
|
'<mat-card appearance="outlined" [class]="classes()" [class.app-card-sm]="size() === \'sm\'"><ng-content /></mat-card>',
|
|
29
|
-
styleUrl: './card.
|
|
29
|
+
styleUrl: './card.scss',
|
|
30
30
|
})
|
|
31
31
|
export class CardComponent {
|
|
32
32
|
readonly size = input<AppCardSize>('default');
|
|
@@ -15,7 +15,7 @@ import { MatExpansionModule } from '@angular/material/expansion';
|
|
|
15
15
|
selector: 'app-collapsible',
|
|
16
16
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17
17
|
imports: [MatExpansionModule],
|
|
18
|
-
templateUrl: './collapsible.
|
|
18
|
+
templateUrl: './collapsible.html',
|
|
19
19
|
})
|
|
20
20
|
export class CollapsibleComponent {
|
|
21
21
|
/** Two-way bindable expanded state. Supports `[(open)]`. */
|
|
@@ -18,8 +18,8 @@ import type { AppFieldSize } from '../field-size';
|
|
|
18
18
|
selector: 'app-date-picker',
|
|
19
19
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
20
|
imports: [FormsModule, MatDatepickerModule, MatFormFieldModule, MatInputModule],
|
|
21
|
-
templateUrl: './date-picker.
|
|
22
|
-
styleUrl: './date-picker.
|
|
21
|
+
templateUrl: './date-picker.html',
|
|
22
|
+
styleUrl: './date-picker.scss',
|
|
23
23
|
})
|
|
24
24
|
export class DatePickerComponent {
|
|
25
25
|
/** Two-way bindable date value. `null` clears the field. Supports `[(value)]`. */
|
|
@@ -21,8 +21,8 @@ export { DateRange } from '@angular/material/datepicker';
|
|
|
21
21
|
selector: 'app-date-range-picker',
|
|
22
22
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
23
|
imports: [FormsModule, MatDatepickerModule, MatFormFieldModule, MatInputModule],
|
|
24
|
-
templateUrl: './date-range-picker.
|
|
25
|
-
styleUrl: './date-range-picker.
|
|
24
|
+
templateUrl: './date-range-picker.html',
|
|
25
|
+
styleUrl: './date-range-picker.scss',
|
|
26
26
|
})
|
|
27
27
|
export class DateRangePickerComponent {
|
|
28
28
|
/** Two-way bindable range value. `null` clears the field. Supports `[(value)]`. */
|
|
@@ -16,7 +16,7 @@ import { ChangeDetectionStrategy, Component, input, model, output } from '@angul
|
|
|
16
16
|
selector: 'app-dialog',
|
|
17
17
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
18
|
imports: [CdkConnectedOverlay, CdkTrapFocus],
|
|
19
|
-
templateUrl: './dialog.
|
|
19
|
+
templateUrl: './dialog.html',
|
|
20
20
|
})
|
|
21
21
|
export class DialogComponent {
|
|
22
22
|
/** Two-way bindable open state. Supports `[(open)]`. */
|
|
@@ -12,7 +12,7 @@ import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
|
12
12
|
@Component({
|
|
13
13
|
selector: 'app-field',
|
|
14
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
15
|
-
templateUrl: './field.
|
|
15
|
+
templateUrl: './field.html',
|
|
16
16
|
host: {
|
|
17
17
|
'data-slot': 'field',
|
|
18
18
|
class: 'flex flex-col gap-1.5',
|
|
@@ -14,8 +14,8 @@ import type { AppFieldSize } from '../field-size';
|
|
|
14
14
|
selector: 'app-input',
|
|
15
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
16
|
imports: [FormsModule, MatFormFieldModule, MatInputModule],
|
|
17
|
-
templateUrl: './input.
|
|
18
|
-
styleUrl: './input.
|
|
17
|
+
templateUrl: './input.html',
|
|
18
|
+
styleUrl: './input.scss',
|
|
19
19
|
})
|
|
20
20
|
export class InputComponent {
|
|
21
21
|
/** Two-way bindable value. Supports `[(value)]`. */
|
|
@@ -9,7 +9,7 @@ import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
|
9
9
|
@Component({
|
|
10
10
|
selector: 'app-label',
|
|
11
11
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12
|
-
templateUrl: './label.
|
|
12
|
+
templateUrl: './label.html',
|
|
13
13
|
})
|
|
14
14
|
export class LabelComponent {
|
|
15
15
|
/** Optional `for` attribute forwarded to the underlying `<label>`. */
|
|
@@ -14,7 +14,7 @@ import { MatPaginator, type PageEvent } from '@angular/material/paginator';
|
|
|
14
14
|
selector: 'app-paginator',
|
|
15
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
16
|
imports: [MatPaginator],
|
|
17
|
-
templateUrl: './paginator.
|
|
17
|
+
templateUrl: './paginator.html',
|
|
18
18
|
})
|
|
19
19
|
export class PaginatorComponent {
|
|
20
20
|
/** Total item count; Material derives the page count as `ceil(length / pageSize)`. */
|
|
@@ -15,7 +15,7 @@ import { ChangeDetectionStrategy, Component, input, model } from '@angular/core'
|
|
|
15
15
|
selector: 'app-popover',
|
|
16
16
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17
17
|
imports: [CdkConnectedOverlay, CdkOverlayOrigin],
|
|
18
|
-
templateUrl: './popover.
|
|
18
|
+
templateUrl: './popover.html',
|
|
19
19
|
})
|
|
20
20
|
export class PopoverComponent {
|
|
21
21
|
/**
|
|
@@ -27,8 +27,8 @@ export interface AppSelectOption {
|
|
|
27
27
|
selector: 'app-select',
|
|
28
28
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
29
29
|
imports: [FormsModule, MatFormFieldModule, MatSelectModule],
|
|
30
|
-
templateUrl: './select.
|
|
31
|
-
styleUrl: './select.
|
|
30
|
+
templateUrl: './select.html',
|
|
31
|
+
styleUrl: './select.scss',
|
|
32
32
|
})
|
|
33
33
|
export class SelectComponent {
|
|
34
34
|
/** Two-way bindable single-select value. Ignored when `multiple` is set. */
|
|
@@ -31,8 +31,8 @@ const ORIENTATION_CLASSES: Record<AppSeparatorOrientation, string> = {
|
|
|
31
31
|
selector: 'app-separator',
|
|
32
32
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
33
|
imports: [MatDivider],
|
|
34
|
-
templateUrl: './separator.
|
|
35
|
-
styleUrl: './separator.
|
|
34
|
+
templateUrl: './separator.html',
|
|
35
|
+
styleUrl: './separator.scss',
|
|
36
36
|
host: {
|
|
37
37
|
'data-slot': 'separator',
|
|
38
38
|
'[attr.data-orientation]': 'orientation()',
|
|
@@ -13,8 +13,8 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
|
13
13
|
@Component({
|
|
14
14
|
selector: 'app-skeleton',
|
|
15
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
-
templateUrl: './skeleton.
|
|
17
|
-
styleUrl: './skeleton.
|
|
16
|
+
templateUrl: './skeleton.html',
|
|
17
|
+
styleUrl: './skeleton.scss',
|
|
18
18
|
host: {
|
|
19
19
|
'data-slot': 'skeleton',
|
|
20
20
|
'aria-hidden': 'true',
|
|
@@ -8,6 +8,6 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
|
8
8
|
@Component({
|
|
9
9
|
selector: 'app-home',
|
|
10
10
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11
|
-
templateUrl: './home.
|
|
11
|
+
templateUrl: './home.html',
|
|
12
12
|
})
|
|
13
13
|
export class HomeComponent {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TestBed } from '@angular/core/testing';
|
|
2
2
|
import { provideRouter } from '@angular/router';
|
|
3
|
-
import { NotFoundComponent } from './not-found
|
|
3
|
+
import { NotFoundComponent } from './not-found';
|
|
4
4
|
|
|
5
5
|
describe('NotFoundComponent', () => {
|
|
6
6
|
beforeEach(async () => {
|
|
@@ -10,6 +10,6 @@ import { RouterLink } from '@angular/router';
|
|
|
10
10
|
selector: 'app-not-found',
|
|
11
11
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12
12
|
imports: [RouterLink],
|
|
13
|
-
templateUrl: './not-found.
|
|
13
|
+
templateUrl: './not-found.html',
|
|
14
14
|
})
|
|
15
15
|
export class NotFoundComponent {}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|