@cloudfrogger/goodui 0.0.64 → 0.0.65
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/ai/catalog/components/good-app-layout.json +2 -2
- package/ai/catalog/components/good-avatar-menu-item.json +2 -2
- package/ai/catalog/components/{good-main-menu.json → good-header-actions.json} +9 -9
- package/ai/catalog/components/{good-avatar-menu.json → good-header-avatar.json} +5 -5
- package/ai/catalog/components/{good-notifications.json → good-header-notification.json} +5 -5
- package/ai/catalog/components/{good-search.json → good-header-search.json} +5 -5
- package/ai/catalog/components/{good-theme-toggle.json → good-header-themetoggle.json} +5 -5
- package/ai/catalog/components/good-notification-host.json +1 -1
- package/ai/catalog/components/good-settings.json +1 -1
- package/ai/catalog/components/good-topbar.json +2 -2
- package/ai/catalog/index.json +65 -65
- package/ai/guides/component-discovery.md +1 -1
- package/ai/guides/layout.md +1 -1
- package/ai/manifest.json +2 -2
- package/ai/skill/goodui/SKILL.md +1 -1
- package/angular/projects/goodui/package.json +1 -1
- package/angular/projects/goodui/src/lib/actions.ts +20 -20
- package/angular/projects/goodui/src/lib/app-layout.ts +4 -4
- package/angular/projects/goodui/src/lib/topbar.ts +4 -5
- package/angular/projects/goodui/src/styles.css +4 -4
- package/design/component-map.json +21 -14
- package/design.md +5 -5
- package/fesm2022/cloudfrogger-goodui.mjs +55 -56
- package/fesm2022/cloudfrogger-goodui.mjs.map +1 -1
- package/guides/README.md +1 -0
- package/guides/components/header-actions.md +29 -0
- package/guides/components/{avatar-menu.md → header-avatar.md} +4 -4
- package/guides/components/header-notification.md +13 -0
- package/guides/components/{search.md → header-search.md} +6 -6
- package/guides/components/{theme-toggle.md → header-themetoggle.md} +4 -4
- package/guides/components/notifications.md +2 -2
- package/guides/components/settings.md +2 -2
- package/guides/components/submenus.md +1 -1
- package/guides/components/topbar.md +8 -8
- package/guides/contributing/design-to-code.md +2 -2
- package/guides/foundations/tokens.md +4 -4
- package/guides/layout/app-layout.md +8 -8
- package/guides/layout/layout-rules.md +1 -1
- package/guides/migrations/header-actions.md +17 -0
- package/package.json +2 -2
- package/styles.css +1 -1
- package/types/cloudfrogger-goodui.d.ts +145 -146
- package/guides/components/main-menu.md +0 -23
|
@@ -1043,7 +1043,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
1043
1043
|
}]
|
|
1044
1044
|
}], ctorParameters: () => [], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], durationMs: [{ type: i0.Input, args: [{ isSignal: true, alias: "durationMs", required: false }] }], loop: [{ type: i0.Input, args: [{ isSignal: true, alias: "loop", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], showPercent: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPercent", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
1045
1045
|
|
|
1046
|
-
class
|
|
1046
|
+
class GoodHeaderSearchComponent {
|
|
1047
1047
|
items = input([], ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
1048
1048
|
query = signal('', ...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
|
|
1049
1049
|
results = computed(() => this.items().filter(item => `${item.label} ${item.description ?? ''}`.toLocaleLowerCase().includes(this.query().toLocaleLowerCase())), ...(ngDevMode ? [{ debugName: "results" }] : /* istanbul ignore next */ []));
|
|
@@ -1054,8 +1054,8 @@ class GoodSearchComponent {
|
|
|
1054
1054
|
queueMicrotask(() => this.searchInput().nativeElement.focus());
|
|
1055
1055
|
}
|
|
1056
1056
|
close() { this.dialog().nativeElement.close(); }
|
|
1057
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1058
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type:
|
|
1057
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1058
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: GoodHeaderSearchComponent, isStandalone: true, selector: "good-header-search", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "good-header-search" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, isSignal: true }, { propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
1059
1059
|
<button #trigger type="button" class="good-action-button" aria-label="Search" (click)="open()"><good-icon name="search" /></button>
|
|
1060
1060
|
<dialog #dialog class="good-search-dialog" aria-label="Search" (keydown.escape)="close()" (close)="trigger.focus()">
|
|
1061
1061
|
<div class="good-dialog-heading"><strong>Search</strong><button type="button" class="good-action-button" aria-label="Close" (click)="close()"><good-icon name="close" /></button></div>
|
|
@@ -1068,10 +1068,10 @@ class GoodSearchComponent {
|
|
|
1068
1068
|
</dialog>
|
|
1069
1069
|
`, isInline: true, dependencies: [{ kind: "component", type: GoodIconComponent, selector: "good-icon", inputs: ["name"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1070
1070
|
}
|
|
1071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderSearchComponent, decorators: [{
|
|
1072
1072
|
type: Component,
|
|
1073
1073
|
args: [{
|
|
1074
|
-
selector: 'good-search',
|
|
1074
|
+
selector: 'good-header-search',
|
|
1075
1075
|
standalone: true,
|
|
1076
1076
|
imports: [GoodIconComponent, RouterLink],
|
|
1077
1077
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1087,10 +1087,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
1087
1087
|
</div>
|
|
1088
1088
|
</dialog>
|
|
1089
1089
|
`,
|
|
1090
|
-
host: { class: 'good-search' },
|
|
1090
|
+
host: { class: 'good-header-search' },
|
|
1091
1091
|
}]
|
|
1092
1092
|
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], dialog: [{ type: i0.ViewChild, args: ['dialog', { isSignal: true }] }], searchInput: [{ type: i0.ViewChild, args: ['searchInput', { isSignal: true }] }] } });
|
|
1093
|
-
class
|
|
1093
|
+
class GoodHeaderNotificationComponent {
|
|
1094
1094
|
items = input([], ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
1095
1095
|
center = inject(GoodNotificationCenter);
|
|
1096
1096
|
infoIcon = LucideInfo;
|
|
@@ -1121,8 +1121,8 @@ class GoodNotificationsComponent {
|
|
|
1121
1121
|
if (action.route)
|
|
1122
1122
|
this.close();
|
|
1123
1123
|
}
|
|
1124
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1125
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type:
|
|
1124
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderNotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1125
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: GoodHeaderNotificationComponent, isStandalone: true, selector: "good-header-notification", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "good-header-notification" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
1126
1126
|
<button #trigger type="button" class="good-action-button" [attr.aria-label]="unreadCount() ? 'Notifications, ' + unreadCount() + ' unread' : 'Notifications'" (click)="open()">
|
|
1127
1127
|
<good-icon name="bell" />@if (unreadCount()) {
|
|
1128
1128
|
<good-badge class="good-notification-count" color="destructive" size="small" [label]="displayCount()" aria-hidden="true" />
|
|
@@ -1172,10 +1172,10 @@ class GoodNotificationsComponent {
|
|
|
1172
1172
|
</dialog>
|
|
1173
1173
|
`, isInline: true, dependencies: [{ kind: "component", type: GoodIconComponent, selector: "good-icon", inputs: ["name"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: GoodAlertComponent, selector: "good-alert", inputs: ["tone", "appearance", "size", "title", "message", "icon", "showIcon", "dismissible", "closeLabel"], outputs: ["closed"] }, { kind: "component", type: GoodBadgeComponent, selector: "good-badge", inputs: ["label", "color", "variant", "shape", "size", "icon", "iconSrc", "removable", "removeLabel"], outputs: ["removed"] }, { kind: "component", type: GoodButtonComponent, selector: "good-button", inputs: ["icon", "endIcon", "iconOnly", "variant", "size", "ariaLabel", "ariaPressed", "disabled", "type", "ariaExpanded", "ariaControls", "hasPopup"] }, { kind: "component", type: GoodLinkComponent, selector: "good-link", inputs: ["href", "route", "target", "rel", "appearance", "underline", "decoration", "disabled"] }, { kind: "component", type: GoodProgressComponent, selector: "good-progress", inputs: ["mode", "appearance", "size", "value", "durationMs", "loop", "title", "showPercent", "color", "ariaLabel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1174
1174
|
}
|
|
1175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderNotificationComponent, decorators: [{
|
|
1176
1176
|
type: Component,
|
|
1177
1177
|
args: [{
|
|
1178
|
-
selector: 'good-
|
|
1178
|
+
selector: 'good-header-notification',
|
|
1179
1179
|
standalone: true,
|
|
1180
1180
|
imports: [GoodIconComponent, RouterLink, GoodAlertComponent, GoodBadgeComponent, GoodButtonComponent, GoodLinkComponent, GoodProgressComponent],
|
|
1181
1181
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1228,29 +1228,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
1228
1228
|
</div>
|
|
1229
1229
|
</dialog>
|
|
1230
1230
|
`,
|
|
1231
|
-
host: { class: 'good-
|
|
1231
|
+
host: { class: 'good-header-notification' },
|
|
1232
1232
|
}]
|
|
1233
1233
|
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], dialog: [{ type: i0.ViewChild, args: ['dialog', { isSignal: true }] }] } });
|
|
1234
|
-
class
|
|
1234
|
+
class GoodHeaderThemeToggleComponent {
|
|
1235
1235
|
theme = inject(GoodThemeService);
|
|
1236
1236
|
icon = computed(() => ({ light: 'sun', system: 'monitor', dark: 'moon' }[this.theme.preference()]), ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
1237
1237
|
label = computed(() => `Appearance: ${this.theme.preference()}. Switch to ${{ light: 'system', system: 'dark', dark: 'light' }[this.theme.preference()]} mode`, ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
1238
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1239
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type:
|
|
1238
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderThemeToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1239
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: GoodHeaderThemeToggleComponent, isStandalone: true, selector: "good-header-themetoggle", host: { classAttribute: "good-header-themetoggle" }, ngImport: i0, template: `<button type="button" class="good-action-button" [attr.aria-label]="label()" [attr.title]="label()" (click)="theme.cycle()">
|
|
1240
1240
|
<good-icon [name]="icon()" />
|
|
1241
1241
|
</button>`, isInline: true, dependencies: [{ kind: "component", type: GoodIconComponent, selector: "good-icon", inputs: ["name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1242
1242
|
}
|
|
1243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderThemeToggleComponent, decorators: [{
|
|
1244
1244
|
type: Component,
|
|
1245
1245
|
args: [{
|
|
1246
|
-
selector: 'good-
|
|
1246
|
+
selector: 'good-header-themetoggle',
|
|
1247
1247
|
standalone: true,
|
|
1248
1248
|
imports: [GoodIconComponent],
|
|
1249
1249
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1250
1250
|
template: `<button type="button" class="good-action-button" [attr.aria-label]="label()" [attr.title]="label()" (click)="theme.cycle()">
|
|
1251
1251
|
<good-icon [name]="icon()" />
|
|
1252
1252
|
</button>`,
|
|
1253
|
-
host: { class: 'good-
|
|
1253
|
+
host: { class: 'good-header-themetoggle' },
|
|
1254
1254
|
}]
|
|
1255
1255
|
}] });
|
|
1256
1256
|
class GoodSettingsComponent {
|
|
@@ -1407,7 +1407,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
1407
1407
|
host: { class: 'good-avatar-menu-item' },
|
|
1408
1408
|
}]
|
|
1409
1409
|
}], propDecorators: { action: [{ type: i0.Input, args: [{ isSignal: true, alias: "action", required: true }] }], path: [{ type: i0.Input, args: [{ isSignal: true, alias: "path", required: true }] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
|
|
1410
|
-
class
|
|
1410
|
+
class GoodHeaderAvatarComponent {
|
|
1411
1411
|
user = input(null, ...(ngDevMode ? [{ debugName: "user" }] : /* istanbul ignore next */ []));
|
|
1412
1412
|
actions = input([], ...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
1413
1413
|
open = signal(false, ...(ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []));
|
|
@@ -1424,8 +1424,8 @@ class GoodAvatarMenuComponent {
|
|
|
1424
1424
|
if (!this.element.nativeElement.contains(event.target))
|
|
1425
1425
|
this.open.set(false);
|
|
1426
1426
|
}
|
|
1427
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1428
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type:
|
|
1427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1428
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: GoodHeaderAvatarComponent, isStandalone: true, selector: "good-header-avatar", inputs: { user: { classPropertyName: "user", publicName: "user", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "document:click": "onDocumentClick($event)" }, classAttribute: "good-header-avatar" }, ngImport: i0, template: `
|
|
1429
1429
|
<button type="button" class="good-avatar-button" aria-label="User menu" aria-haspopup="menu" [attr.aria-expanded]="open()" (click)="toggleMenu()">
|
|
1430
1430
|
@if (user()?.avatarUrl) { <img [src]="user()!.avatarUrl" alt="" /> } @else { <span>{{ initials() }}</span> }
|
|
1431
1431
|
</button>
|
|
@@ -1446,10 +1446,10 @@ class GoodAvatarMenuComponent {
|
|
|
1446
1446
|
</div> }
|
|
1447
1447
|
`, isInline: true, dependencies: [{ kind: "component", type: GoodAvatarMenuItemComponent, selector: "good-avatar-menu-item", inputs: ["action", "path"], outputs: ["closed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1448
1448
|
}
|
|
1449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderAvatarComponent, decorators: [{
|
|
1450
1450
|
type: Component,
|
|
1451
1451
|
args: [{
|
|
1452
|
-
selector: 'good-avatar
|
|
1452
|
+
selector: 'good-header-avatar',
|
|
1453
1453
|
standalone: true,
|
|
1454
1454
|
imports: [GoodAvatarMenuItemComponent],
|
|
1455
1455
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1473,13 +1473,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
1473
1473
|
}
|
|
1474
1474
|
</div> }
|
|
1475
1475
|
`,
|
|
1476
|
-
host: { class: 'good-avatar
|
|
1476
|
+
host: { class: 'good-header-avatar' },
|
|
1477
1477
|
}]
|
|
1478
1478
|
}], propDecorators: { user: [{ type: i0.Input, args: [{ isSignal: true, alias: "user", required: false }] }], actions: [{ type: i0.Input, args: [{ isSignal: true, alias: "actions", required: false }] }], onDocumentClick: [{
|
|
1479
1479
|
type: HostListener,
|
|
1480
1480
|
args: ['document:click', ['$event']]
|
|
1481
1481
|
}] } });
|
|
1482
|
-
class
|
|
1482
|
+
class GoodHeaderActionsComponent {
|
|
1483
1483
|
user = input(null, ...(ngDevMode ? [{ debugName: "user" }] : /* istanbul ignore next */ []));
|
|
1484
1484
|
notifications = input([], ...(ngDevMode ? [{ debugName: "notifications" }] : /* istanbul ignore next */ []));
|
|
1485
1485
|
searchItems = input([], ...(ngDevMode ? [{ debugName: "searchItems" }] : /* istanbul ignore next */ []));
|
|
@@ -1490,34 +1490,34 @@ class GoodMainMenuComponent {
|
|
|
1490
1490
|
showThemeToggle = input(true, ...(ngDevMode ? [{ debugName: "showThemeToggle" }] : /* istanbul ignore next */ []));
|
|
1491
1491
|
showSettings = input(false, ...(ngDevMode ? [{ debugName: "showSettings" }] : /* istanbul ignore next */ []));
|
|
1492
1492
|
showAvatar = input(true, ...(ngDevMode ? [{ debugName: "showAvatar" }] : /* istanbul ignore next */ []));
|
|
1493
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1494
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type:
|
|
1493
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1494
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: GoodHeaderActionsComponent, isStandalone: true, selector: "good-header-actions", inputs: { user: { classPropertyName: "user", publicName: "user", isSignal: true, isRequired: false, transformFunction: null }, notifications: { classPropertyName: "notifications", publicName: "notifications", isSignal: true, isRequired: false, transformFunction: null }, searchItems: { classPropertyName: "searchItems", publicName: "searchItems", isSignal: true, isRequired: false, transformFunction: null }, settingsActions: { classPropertyName: "settingsActions", publicName: "settingsActions", isSignal: true, isRequired: false, transformFunction: null }, avatarActions: { classPropertyName: "avatarActions", publicName: "avatarActions", isSignal: true, isRequired: false, transformFunction: null }, showSearch: { classPropertyName: "showSearch", publicName: "showSearch", isSignal: true, isRequired: false, transformFunction: null }, showNotifications: { classPropertyName: "showNotifications", publicName: "showNotifications", isSignal: true, isRequired: false, transformFunction: null }, showThemeToggle: { classPropertyName: "showThemeToggle", publicName: "showThemeToggle", isSignal: true, isRequired: false, transformFunction: null }, showSettings: { classPropertyName: "showSettings", publicName: "showSettings", isSignal: true, isRequired: false, transformFunction: null }, showAvatar: { classPropertyName: "showAvatar", publicName: "showAvatar", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "good-header-actions" }, ngImport: i0, template: `
|
|
1495
1495
|
<ng-content>
|
|
1496
|
-
@if (showSearch()) { <good-search [items]="searchItems()" /> }
|
|
1497
|
-
@if (showNotifications()) { <good-
|
|
1498
|
-
@if (showThemeToggle()) { <good-
|
|
1496
|
+
@if (showSearch()) { <good-header-search [items]="searchItems()" /> }
|
|
1497
|
+
@if (showNotifications()) { <good-header-notification [items]="notifications()" /> }
|
|
1498
|
+
@if (showThemeToggle()) { <good-header-themetoggle /> }
|
|
1499
1499
|
@if (showSettings()) { <good-settings [actions]="settingsActions()" /> }
|
|
1500
|
-
@if (showAvatar()) { <good-avatar
|
|
1500
|
+
@if (showAvatar()) { <good-header-avatar [user]="user()" [actions]="avatarActions()" /> }
|
|
1501
1501
|
</ng-content>
|
|
1502
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
1502
|
+
`, isInline: true, dependencies: [{ kind: "component", type: GoodHeaderSearchComponent, selector: "good-header-search", inputs: ["items"] }, { kind: "component", type: GoodHeaderNotificationComponent, selector: "good-header-notification", inputs: ["items"] }, { kind: "component", type: GoodHeaderThemeToggleComponent, selector: "good-header-themetoggle" }, { kind: "component", type: GoodSettingsComponent, selector: "good-settings", inputs: ["actions"] }, { kind: "component", type: GoodHeaderAvatarComponent, selector: "good-header-avatar", inputs: ["user", "actions"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1503
1503
|
}
|
|
1504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type:
|
|
1504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodHeaderActionsComponent, decorators: [{
|
|
1505
1505
|
type: Component,
|
|
1506
1506
|
args: [{
|
|
1507
|
-
selector: 'good-
|
|
1507
|
+
selector: 'good-header-actions',
|
|
1508
1508
|
standalone: true,
|
|
1509
|
-
imports: [
|
|
1509
|
+
imports: [GoodHeaderSearchComponent, GoodHeaderNotificationComponent, GoodHeaderThemeToggleComponent, GoodSettingsComponent, GoodHeaderAvatarComponent],
|
|
1510
1510
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1511
1511
|
template: `
|
|
1512
1512
|
<ng-content>
|
|
1513
|
-
@if (showSearch()) { <good-search [items]="searchItems()" /> }
|
|
1514
|
-
@if (showNotifications()) { <good-
|
|
1515
|
-
@if (showThemeToggle()) { <good-
|
|
1513
|
+
@if (showSearch()) { <good-header-search [items]="searchItems()" /> }
|
|
1514
|
+
@if (showNotifications()) { <good-header-notification [items]="notifications()" /> }
|
|
1515
|
+
@if (showThemeToggle()) { <good-header-themetoggle /> }
|
|
1516
1516
|
@if (showSettings()) { <good-settings [actions]="settingsActions()" /> }
|
|
1517
|
-
@if (showAvatar()) { <good-avatar
|
|
1517
|
+
@if (showAvatar()) { <good-header-avatar [user]="user()" [actions]="avatarActions()" /> }
|
|
1518
1518
|
</ng-content>
|
|
1519
1519
|
`,
|
|
1520
|
-
host: { class: 'good-
|
|
1520
|
+
host: { class: 'good-header-actions' },
|
|
1521
1521
|
}]
|
|
1522
1522
|
}], propDecorators: { user: [{ type: i0.Input, args: [{ isSignal: true, alias: "user", required: false }] }], notifications: [{ type: i0.Input, args: [{ isSignal: true, alias: "notifications", required: false }] }], searchItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchItems", required: false }] }], settingsActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "settingsActions", required: false }] }], avatarActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarActions", required: false }] }], showSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSearch", required: false }] }], showNotifications: [{ type: i0.Input, args: [{ isSignal: true, alias: "showNotifications", required: false }] }], showThemeToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showThemeToggle", required: false }] }], showSettings: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSettings", required: false }] }], showAvatar: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAvatar", required: false }] }] } });
|
|
1523
1523
|
|
|
@@ -2012,9 +2012,8 @@ class GoodTopbarComponent {
|
|
|
2012
2012
|
avatarActions = input([], ...(ngDevMode ? [{ debugName: "avatarActions" }] : /* istanbul ignore next */ []));
|
|
2013
2013
|
menuToggle = output();
|
|
2014
2014
|
projectedMenu = contentChild(GoodTopbarMenuContainerComponent, ...(ngDevMode ? [{ debugName: "projectedMenu" }] : /* istanbul ignore next */ []));
|
|
2015
|
-
projectedMainMenu = contentChild(GoodMainMenuComponent, ...(ngDevMode ? [{ debugName: "projectedMainMenu" }] : /* istanbul ignore next */ []));
|
|
2016
2015
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodTopbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2017
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: GoodTopbarComponent, isStandalone: true, selector: "good-topbar", inputs: { brand: { classPropertyName: "brand", publicName: "brand", isSignal: true, isRequired: false, transformFunction: null }, brandLogoSrc: { classPropertyName: "brandLogoSrc", publicName: "brandLogoSrc", isSignal: true, isRequired: false, transformFunction: null }, brandLogoDarkSrc: { classPropertyName: "brandLogoDarkSrc", publicName: "brandLogoDarkSrc", isSignal: true, isRequired: false, transformFunction: null }, brandMarkSrc: { classPropertyName: "brandMarkSrc", publicName: "brandMarkSrc", isSignal: true, isRequired: false, transformFunction: null }, brandMarkDarkSrc: { classPropertyName: "brandMarkDarkSrc", publicName: "brandMarkDarkSrc", isSignal: true, isRequired: false, transformFunction: null }, showBrandIcon: { classPropertyName: "showBrandIcon", publicName: "showBrandIcon", isSignal: true, isRequired: false, transformFunction: null }, showMobileBrand: { classPropertyName: "showMobileBrand", publicName: "showMobileBrand", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, activeRoute: { classPropertyName: "activeRoute", publicName: "activeRoute", isSignal: true, isRequired: false, transformFunction: null }, mobileMenuMode: { classPropertyName: "mobileMenuMode", publicName: "mobileMenuMode", isSignal: true, isRequired: false, transformFunction: null }, user: { classPropertyName: "user", publicName: "user", isSignal: true, isRequired: false, transformFunction: null }, notifications: { classPropertyName: "notifications", publicName: "notifications", isSignal: true, isRequired: false, transformFunction: null }, searchItems: { classPropertyName: "searchItems", publicName: "searchItems", isSignal: true, isRequired: false, transformFunction: null }, settingsActions: { classPropertyName: "settingsActions", publicName: "settingsActions", isSignal: true, isRequired: false, transformFunction: null }, showThemeToggle: { classPropertyName: "showThemeToggle", publicName: "showThemeToggle", isSignal: true, isRequired: false, transformFunction: null }, showSettings: { classPropertyName: "showSettings", publicName: "showSettings", isSignal: true, isRequired: false, transformFunction: null }, avatarActions: { classPropertyName: "avatarActions", publicName: "avatarActions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { menuToggle: "menuToggle" }, host: { properties: { "attr.data-mobile-menu": "mobileMenuMode()" }, classAttribute: "good-topbar" }, queries: [{ propertyName: "projectedMenu", first: true, predicate: GoodTopbarMenuContainerComponent, descendants: true, isSignal: true }
|
|
2016
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: GoodTopbarComponent, isStandalone: true, selector: "good-topbar", inputs: { brand: { classPropertyName: "brand", publicName: "brand", isSignal: true, isRequired: false, transformFunction: null }, brandLogoSrc: { classPropertyName: "brandLogoSrc", publicName: "brandLogoSrc", isSignal: true, isRequired: false, transformFunction: null }, brandLogoDarkSrc: { classPropertyName: "brandLogoDarkSrc", publicName: "brandLogoDarkSrc", isSignal: true, isRequired: false, transformFunction: null }, brandMarkSrc: { classPropertyName: "brandMarkSrc", publicName: "brandMarkSrc", isSignal: true, isRequired: false, transformFunction: null }, brandMarkDarkSrc: { classPropertyName: "brandMarkDarkSrc", publicName: "brandMarkDarkSrc", isSignal: true, isRequired: false, transformFunction: null }, showBrandIcon: { classPropertyName: "showBrandIcon", publicName: "showBrandIcon", isSignal: true, isRequired: false, transformFunction: null }, showMobileBrand: { classPropertyName: "showMobileBrand", publicName: "showMobileBrand", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, activeRoute: { classPropertyName: "activeRoute", publicName: "activeRoute", isSignal: true, isRequired: false, transformFunction: null }, mobileMenuMode: { classPropertyName: "mobileMenuMode", publicName: "mobileMenuMode", isSignal: true, isRequired: false, transformFunction: null }, user: { classPropertyName: "user", publicName: "user", isSignal: true, isRequired: false, transformFunction: null }, notifications: { classPropertyName: "notifications", publicName: "notifications", isSignal: true, isRequired: false, transformFunction: null }, searchItems: { classPropertyName: "searchItems", publicName: "searchItems", isSignal: true, isRequired: false, transformFunction: null }, settingsActions: { classPropertyName: "settingsActions", publicName: "settingsActions", isSignal: true, isRequired: false, transformFunction: null }, showThemeToggle: { classPropertyName: "showThemeToggle", publicName: "showThemeToggle", isSignal: true, isRequired: false, transformFunction: null }, showSettings: { classPropertyName: "showSettings", publicName: "showSettings", isSignal: true, isRequired: false, transformFunction: null }, avatarActions: { classPropertyName: "avatarActions", publicName: "avatarActions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { menuToggle: "menuToggle" }, host: { properties: { "attr.data-mobile-menu": "mobileMenuMode()" }, classAttribute: "good-topbar" }, queries: [{ propertyName: "projectedMenu", first: true, predicate: GoodTopbarMenuContainerComponent, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
2018
2017
|
<div class="good-topbar-left">
|
|
2019
2018
|
<button type="button" class="good-mobile-menu-button good-action-button" aria-label="Open sidebar" (click)="menuToggle.emit()"><good-icon name="menu" /></button>
|
|
2020
2019
|
@if (showMobileBrand()) {
|
|
@@ -2033,17 +2032,17 @@ class GoodTopbarComponent {
|
|
|
2033
2032
|
@if (!projectedMenu()) { <good-topbar-menu-container [items]="items()" [activeRoute]="activeRoute()" [mobileMode]="mobileMenuMode()" /> }
|
|
2034
2033
|
<ng-content select="good-topbar-menu-container" />
|
|
2035
2034
|
</div>
|
|
2036
|
-
<ng-content select="good-
|
|
2037
|
-
<good-
|
|
2035
|
+
<ng-content select="good-header-actions">
|
|
2036
|
+
<good-header-actions [user]="user()" [notifications]="notifications()" [searchItems]="searchItems()" [settingsActions]="settingsActions()" [avatarActions]="avatarActions()" [showThemeToggle]="showThemeToggle()" [showSettings]="showSettings()" />
|
|
2038
2037
|
</ng-content>
|
|
2039
|
-
`, isInline: true, dependencies: [{ kind: "component", type: GoodIconComponent, selector: "good-icon", inputs: ["name"] }, { kind: "component", type: GoodBrandIconComponent, selector: "good-brand-icon", inputs: ["src", "darkSrc", "label"] }, { kind: "component", type: GoodTopbarMenuContainerComponent, selector: "good-topbar-menu-container", inputs: ["items", "activeRoute", "mobileMode"] }, { kind: "component", type:
|
|
2038
|
+
`, isInline: true, dependencies: [{ kind: "component", type: GoodIconComponent, selector: "good-icon", inputs: ["name"] }, { kind: "component", type: GoodBrandIconComponent, selector: "good-brand-icon", inputs: ["src", "darkSrc", "label"] }, { kind: "component", type: GoodTopbarMenuContainerComponent, selector: "good-topbar-menu-container", inputs: ["items", "activeRoute", "mobileMode"] }, { kind: "component", type: GoodHeaderActionsComponent, selector: "good-header-actions", inputs: ["user", "notifications", "searchItems", "settingsActions", "avatarActions", "showSearch", "showNotifications", "showThemeToggle", "showSettings", "showAvatar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2040
2039
|
}
|
|
2041
2040
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodTopbarComponent, decorators: [{
|
|
2042
2041
|
type: Component,
|
|
2043
2042
|
args: [{
|
|
2044
2043
|
selector: 'good-topbar',
|
|
2045
2044
|
standalone: true,
|
|
2046
|
-
imports: [GoodIconComponent, GoodBrandIconComponent, GoodTopbarMenuContainerComponent,
|
|
2045
|
+
imports: [GoodIconComponent, GoodBrandIconComponent, GoodTopbarMenuContainerComponent, GoodHeaderActionsComponent],
|
|
2047
2046
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2048
2047
|
template: `
|
|
2049
2048
|
<div class="good-topbar-left">
|
|
@@ -2064,13 +2063,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
2064
2063
|
@if (!projectedMenu()) { <good-topbar-menu-container [items]="items()" [activeRoute]="activeRoute()" [mobileMode]="mobileMenuMode()" /> }
|
|
2065
2064
|
<ng-content select="good-topbar-menu-container" />
|
|
2066
2065
|
</div>
|
|
2067
|
-
<ng-content select="good-
|
|
2068
|
-
<good-
|
|
2066
|
+
<ng-content select="good-header-actions">
|
|
2067
|
+
<good-header-actions [user]="user()" [notifications]="notifications()" [searchItems]="searchItems()" [settingsActions]="settingsActions()" [avatarActions]="avatarActions()" [showThemeToggle]="showThemeToggle()" [showSettings]="showSettings()" />
|
|
2069
2068
|
</ng-content>
|
|
2070
2069
|
`,
|
|
2071
2070
|
host: { class: 'good-topbar', '[attr.data-mobile-menu]': 'mobileMenuMode()' },
|
|
2072
2071
|
}]
|
|
2073
|
-
}], propDecorators: { brand: [{ type: i0.Input, args: [{ isSignal: true, alias: "brand", required: false }] }], brandLogoSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandLogoSrc", required: false }] }], brandLogoDarkSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandLogoDarkSrc", required: false }] }], brandMarkSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandMarkSrc", required: false }] }], brandMarkDarkSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandMarkDarkSrc", required: false }] }], showBrandIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBrandIcon", required: false }] }], showMobileBrand: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMobileBrand", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], activeRoute: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeRoute", required: false }] }], mobileMenuMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileMenuMode", required: false }] }], user: [{ type: i0.Input, args: [{ isSignal: true, alias: "user", required: false }] }], notifications: [{ type: i0.Input, args: [{ isSignal: true, alias: "notifications", required: false }] }], searchItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchItems", required: false }] }], settingsActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "settingsActions", required: false }] }], showThemeToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showThemeToggle", required: false }] }], showSettings: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSettings", required: false }] }], avatarActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarActions", required: false }] }], menuToggle: [{ type: i0.Output, args: ["menuToggle"] }], projectedMenu: [{ type: i0.ContentChild, args: [i0.forwardRef(() => GoodTopbarMenuContainerComponent), { isSignal: true }] }]
|
|
2072
|
+
}], propDecorators: { brand: [{ type: i0.Input, args: [{ isSignal: true, alias: "brand", required: false }] }], brandLogoSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandLogoSrc", required: false }] }], brandLogoDarkSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandLogoDarkSrc", required: false }] }], brandMarkSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandMarkSrc", required: false }] }], brandMarkDarkSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "brandMarkDarkSrc", required: false }] }], showBrandIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBrandIcon", required: false }] }], showMobileBrand: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMobileBrand", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], activeRoute: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeRoute", required: false }] }], mobileMenuMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileMenuMode", required: false }] }], user: [{ type: i0.Input, args: [{ isSignal: true, alias: "user", required: false }] }], notifications: [{ type: i0.Input, args: [{ isSignal: true, alias: "notifications", required: false }] }], searchItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchItems", required: false }] }], settingsActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "settingsActions", required: false }] }], showThemeToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "showThemeToggle", required: false }] }], showSettings: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSettings", required: false }] }], avatarActions: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarActions", required: false }] }], menuToggle: [{ type: i0.Output, args: ["menuToggle"] }], projectedMenu: [{ type: i0.ContentChild, args: [i0.forwardRef(() => GoodTopbarMenuContainerComponent), { isSignal: true }] }] } });
|
|
2074
2073
|
|
|
2075
2074
|
let nextActionMenuId = 0;
|
|
2076
2075
|
class GoodActionMenuComponent {
|
|
@@ -14649,8 +14648,8 @@ class GoodAppLayoutComponent {
|
|
|
14649
14648
|
<good-topbar [brand]="brand()" [brandLogoSrc]="brandLogoSrc()" [brandLogoDarkSrc]="brandLogoDarkSrc()" [brandMarkSrc]="brandMarkSrc()" [brandMarkDarkSrc]="brandMarkDarkSrc()" [showBrandIcon]="showBrandIcon()" [showMobileBrand]="showMobileBrand()" [items]="topbarItems()" [activeRoute]="activeRoute()" [mobileMenuMode]="mobileTopbarMenuMode()"
|
|
14650
14649
|
[user]="user()" [notifications]="notifications()" [searchItems]="searchItems()" [settingsActions]="settingsActions()" [avatarActions]="avatarActions()" [showThemeToggle]="showThemeToggle()" [showSettings]="showSettings()"
|
|
14651
14650
|
(menuToggle)="openDrawer()">
|
|
14652
|
-
<ng-content select="good-
|
|
14653
|
-
<good-
|
|
14651
|
+
<ng-content select="good-header-actions" ngProjectAs="good-header-actions">
|
|
14652
|
+
<good-header-actions [user]="user()" [notifications]="notifications()" [searchItems]="searchItems()" [settingsActions]="settingsActions()" [avatarActions]="avatarActions()" [showThemeToggle]="showThemeToggle()" [showSettings]="showSettings()" />
|
|
14654
14653
|
</ng-content>
|
|
14655
14654
|
</good-topbar>
|
|
14656
14655
|
<div class="good-app-page"><ng-content /></div>
|
|
@@ -14665,14 +14664,14 @@ class GoodAppLayoutComponent {
|
|
|
14665
14664
|
<button type="button" class="good-drawer-close" aria-label="Close sidebar" (click)="closeDrawer()">Close</button>
|
|
14666
14665
|
</dialog>
|
|
14667
14666
|
<good-notification-host />
|
|
14668
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
14667
|
+
`, isInline: true, dependencies: [{ kind: "component", type: GoodHeaderActionsComponent, selector: "good-header-actions", inputs: ["user", "notifications", "searchItems", "settingsActions", "avatarActions", "showSearch", "showNotifications", "showThemeToggle", "showSettings", "showAvatar"] }, { kind: "component", type: GoodSidebarContainerComponent, selector: "good-sidebar-container", inputs: ["brand", "brandLogoSrc", "brandLogoDarkSrc", "sections", "activeRoute"] }, { kind: "component", type: GoodTopbarComponent, selector: "good-topbar", inputs: ["brand", "brandLogoSrc", "brandLogoDarkSrc", "brandMarkSrc", "brandMarkDarkSrc", "showBrandIcon", "showMobileBrand", "items", "activeRoute", "mobileMenuMode", "user", "notifications", "searchItems", "settingsActions", "showThemeToggle", "showSettings", "avatarActions"], outputs: ["menuToggle"] }, { kind: "component", type: GoodTopbarMenuContainerComponent, selector: "good-topbar-menu-container", inputs: ["items", "activeRoute", "mobileMode"] }, { kind: "component", type: GoodNotificationHostComponent, selector: "good-notification-host" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14669
14668
|
}
|
|
14670
14669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GoodAppLayoutComponent, decorators: [{
|
|
14671
14670
|
type: Component,
|
|
14672
14671
|
args: [{
|
|
14673
14672
|
selector: 'good-app-layout',
|
|
14674
14673
|
standalone: true,
|
|
14675
|
-
imports: [
|
|
14674
|
+
imports: [GoodHeaderActionsComponent, GoodSidebarContainerComponent, GoodTopbarComponent, GoodTopbarMenuContainerComponent, GoodMainViewComponent, GoodNotificationHostComponent],
|
|
14676
14675
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14677
14676
|
template: `
|
|
14678
14677
|
<good-sidebar-container class="good-desktop-sidebar" [brand]="brand()" [brandLogoSrc]="brandLogoSrc()" [brandLogoDarkSrc]="brandLogoDarkSrc()" [sections]="sidebarSections()" [activeRoute]="activeRoute()" />
|
|
@@ -14680,8 +14679,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
14680
14679
|
<good-topbar [brand]="brand()" [brandLogoSrc]="brandLogoSrc()" [brandLogoDarkSrc]="brandLogoDarkSrc()" [brandMarkSrc]="brandMarkSrc()" [brandMarkDarkSrc]="brandMarkDarkSrc()" [showBrandIcon]="showBrandIcon()" [showMobileBrand]="showMobileBrand()" [items]="topbarItems()" [activeRoute]="activeRoute()" [mobileMenuMode]="mobileTopbarMenuMode()"
|
|
14681
14680
|
[user]="user()" [notifications]="notifications()" [searchItems]="searchItems()" [settingsActions]="settingsActions()" [avatarActions]="avatarActions()" [showThemeToggle]="showThemeToggle()" [showSettings]="showSettings()"
|
|
14682
14681
|
(menuToggle)="openDrawer()">
|
|
14683
|
-
<ng-content select="good-
|
|
14684
|
-
<good-
|
|
14682
|
+
<ng-content select="good-header-actions" ngProjectAs="good-header-actions">
|
|
14683
|
+
<good-header-actions [user]="user()" [notifications]="notifications()" [searchItems]="searchItems()" [settingsActions]="settingsActions()" [avatarActions]="avatarActions()" [showThemeToggle]="showThemeToggle()" [showSettings]="showSettings()" />
|
|
14685
14684
|
</ng-content>
|
|
14686
14685
|
</good-topbar>
|
|
14687
14686
|
<div class="good-app-page"><ng-content /></div>
|
|
@@ -14705,5 +14704,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
14705
14704
|
* Generated bundle index. Do not edit.
|
|
14706
14705
|
*/
|
|
14707
14706
|
|
|
14708
|
-
export { GOODUI_OPTIONS, GOOD_CALENDAR_DEFAULT_NON_WORKING_LABELS, GOOD_CALENDAR_DEFAULT_WORKING_HOURS, GOOD_CHART_DEFAULT_COLORS, GOOD_CLASSIC_COLORS, GOOD_COUNTRY_CODES, GOOD_FONT_OPTIONS, GOOD_MARKER_COLORS, GOOD_PROGRESS_COLORS, GoodActionBarComponent, GoodActionGroupComponent, GoodActionMenuComponent, GoodAlertComponent, GoodAppLayoutComponent, GoodAssistantBodyComponent, GoodAssistantFooterComponent, GoodAssistantHeaderComponent, GoodAssistantMainComponent, GoodAssistantMobileComponent, GoodAssistantPanelComponent,
|
|
14707
|
+
export { GOODUI_OPTIONS, GOOD_CALENDAR_DEFAULT_NON_WORKING_LABELS, GOOD_CALENDAR_DEFAULT_WORKING_HOURS, GOOD_CHART_DEFAULT_COLORS, GOOD_CLASSIC_COLORS, GOOD_COUNTRY_CODES, GOOD_FONT_OPTIONS, GOOD_MARKER_COLORS, GOOD_PROGRESS_COLORS, GoodActionBarComponent, GoodActionGroupComponent, GoodActionMenuComponent, GoodAlertComponent, GoodAppLayoutComponent, GoodAssistantBodyComponent, GoodAssistantFooterComponent, GoodAssistantHeaderComponent, GoodAssistantMainComponent, GoodAssistantMobileComponent, GoodAssistantPanelComponent, GoodAvatarMenuItemComponent, GoodBadgeComponent, GoodBarChartComponent, GoodBrandIconComponent, GoodBreadcrumbsComponent, GoodButtonComponent, GoodCalendarComponent, GoodCalendarService, GoodCardActionsDirective, GoodCardComponent, GoodCardFooterComponent, GoodCardHeaderComponent, GoodChartAxisComponent, GoodChartBarComponent, GoodChartHistogramComponent, GoodChartLineComponent, GoodChartScatterComponent, GoodCheckboxComponent, GoodCitationComponent, GoodCodeBlockComponent, GoodColorControlsComponent, GoodColorPickerComponent, GoodColumnComponent, GoodColumnsComponent, GoodDateInputComponent, GoodDetailListComponent, GoodDetailRowDirective, GoodDropdownComponent, GoodDropdownFooterDirective, GoodDropdownHeaderDirective, GoodErrorPageComponent, GoodErrorTextComponent, GoodExpandableComponent, GoodExpandableHeaderDirective, GoodEyebrowComponent, GoodFieldLabelComponent, GoodFormDirective, GoodFormFieldComponent, GoodFormRowComponent, GoodGroupComponent, GoodHeaderActionsComponent, GoodHeaderAvatarComponent, GoodHeaderNotificationComponent, GoodHeaderSearchComponent, GoodHeaderThemeToggleComponent, GoodHeadingComponent, GoodHeadingGroupComponent, GoodHintComponent, GoodHistogramComponent, GoodIconComponent, GoodImageInputComponent, GoodImagePreviewComponent, GoodInlineImageComponent, GoodInputComponent, GoodInputPhoneComponent, GoodLineChartComponent, GoodLinkComponent, GoodListboxComponent, GoodListboxItemDirective, GoodMainViewComponent, GoodMapColorScaleComponent, GoodMapOverlayComponent, GoodModalComponent, GoodModalFooterComponent, GoodModalHeaderComponent, GoodMonthCalendarComponent, GoodNotificationCenter, GoodNotificationHostComponent, GoodNumberInputComponent, GoodParagraphComponent, GoodPdfPreviewComponent, GoodPinInputComponent, GoodProgressComponent, GoodProseComponent, GoodRadioGroupComponent, GoodRangeSliderComponent, GoodRatingComponent, GoodResizableComponent, GoodResizablePaneComponent, GoodRichTextEditorComponent, GoodScatterChartComponent, GoodSectionComponent, GoodSelectComponent, GoodSelectCountryComponent, GoodSelectFontComponent, GoodSeparatorComponent, GoodSettingsComponent, GoodSidebarContainerComponent, GoodSidebarItemComponent, GoodSidebarMenuContainerComponent, GoodSidebarSubmenuGroupComponent, GoodSidebarSubmenuItemComponent, GoodSignaturePadComponent, GoodSparklineComponent, GoodStatusIconComponent, GoodSubheadingComponent, GoodSubnavComponent, GoodSummaryComponent, GoodSwitchComponent, GoodTabComponent, GoodTableCellDirective, GoodTableComponent, GoodTabsComponent, GoodTextareaComponent, GoodThemeService, GoodTimelineComponent, GoodTimelineSectionComponent, GoodTimelineStepComponent, GoodTopbarComponent, GoodTopbarDropdownItemComponent, GoodTopbarDropdownMenuComponent, GoodTopbarMenuContainerComponent, GoodTopbarMenuItemComponent, GoodTopbarSubmenuComponent, GoodWorldMapComponent, detectAvailableFonts, goodCalendarAddDays, goodCalendarDayKey, goodCalendarMoveEvent, goodCalendarNonWorkingPeriods, goodCalendarNormalizeEvent, goodCalendarResizeEvent, goodCalendarStartOfDay, goodCalendarStartOfWeek, goodFontFamilyCss, goodItemContainsRoute, goodPinAllowedCharacters, goodRouteActive, goodSignatureInkml, goodSignaturePath, goodSignatureSvg, goodSubnavItemContainsRoute, goodTopbarItemContainsRoute, provideGoodUI, resolveChartColor, resolveChartLines, resolveChartSeries, resolveHistogram, resolveScatterSeries };
|
|
14709
14708
|
//# sourceMappingURL=cloudfrogger-goodui.mjs.map
|