@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
|
@@ -210,6 +210,134 @@ declare class GoodSidebarContainerComponent {
|
|
|
210
210
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodSidebarContainerComponent, "good-sidebar-container", never, { "brand": { "alias": "brand"; "required": false; "isSignal": true; }; "brandLogoSrc": { "alias": "brandLogoSrc"; "required": false; "isSignal": true; }; "brandLogoDarkSrc": { "alias": "brandLogoDarkSrc"; "required": false; "isSignal": true; }; "sections": { "alias": "sections"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
+
type GoodTopbarMobileMenuMode = 'hidden' | 'popup';
|
|
214
|
+
declare class GoodBrandIconComponent {
|
|
215
|
+
readonly src: _angular_core.InputSignal<string>;
|
|
216
|
+
readonly darkSrc: _angular_core.InputSignal<string>;
|
|
217
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
218
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodBrandIconComponent, never>;
|
|
219
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodBrandIconComponent, "good-brand-icon", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "darkSrc": { "alias": "darkSrc"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
220
|
+
}
|
|
221
|
+
declare class GoodTopbarDropdownItemComponent {
|
|
222
|
+
readonly item: _angular_core.InputSignal<GoodTopbarItem>;
|
|
223
|
+
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
224
|
+
readonly expanded: _angular_core.InputSignal<boolean>;
|
|
225
|
+
readonly panelId: _angular_core.InputSignal<string | null>;
|
|
226
|
+
readonly hover: _angular_core.OutputEmitterRef<void>;
|
|
227
|
+
readonly focused: _angular_core.OutputEmitterRef<void>;
|
|
228
|
+
readonly toggle: _angular_core.OutputEmitterRef<void>;
|
|
229
|
+
readonly navigate: _angular_core.OutputEmitterRef<void>;
|
|
230
|
+
readonly isActive: _angular_core.Signal<boolean>;
|
|
231
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarDropdownItemComponent, never>;
|
|
232
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarDropdownItemComponent, "good-topbar-dropdown-item", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "panelId": { "alias": "panelId"; "required": false; "isSignal": true; }; }, { "hover": "hover"; "focused": "focused"; "toggle": "toggle"; "navigate": "navigate"; }, never, never, true, never>;
|
|
233
|
+
}
|
|
234
|
+
declare class GoodTopbarDropdownMenuComponent {
|
|
235
|
+
readonly items: _angular_core.InputSignal<readonly GoodTopbarItem[]>;
|
|
236
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
237
|
+
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
238
|
+
readonly navigate: _angular_core.OutputEmitterRef<void>;
|
|
239
|
+
readonly openChildId: _angular_core.WritableSignal<string | null>;
|
|
240
|
+
readonly submenu: _angular_core.Signal<GoodTopbarSubmenuComponent | undefined>;
|
|
241
|
+
private readonly uid;
|
|
242
|
+
private readonly element;
|
|
243
|
+
private openedByClick;
|
|
244
|
+
private suppressFocusOpen;
|
|
245
|
+
panelId(item: GoodTopbarItem): string;
|
|
246
|
+
private desktopHover;
|
|
247
|
+
onHover(item: GoodTopbarItem): void;
|
|
248
|
+
onFocus(item: GoodTopbarItem): void;
|
|
249
|
+
onToggle(item: GoodTopbarItem): void;
|
|
250
|
+
onNavigate(): void;
|
|
251
|
+
closeDeepest(): boolean;
|
|
252
|
+
onEscape(event: Event): void;
|
|
253
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarDropdownMenuComponent, never>;
|
|
254
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarDropdownMenuComponent, "good-topbar-dropdown-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; }, { "navigate": "navigate"; }, never, never, true, never>;
|
|
255
|
+
}
|
|
256
|
+
declare class GoodTopbarSubmenuComponent {
|
|
257
|
+
readonly items: _angular_core.InputSignal<readonly GoodTopbarItem[]>;
|
|
258
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
259
|
+
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
260
|
+
readonly navigate: _angular_core.OutputEmitterRef<void>;
|
|
261
|
+
readonly flipped: _angular_core.WritableSignal<boolean>;
|
|
262
|
+
readonly menu: _angular_core.Signal<GoodTopbarDropdownMenuComponent | undefined>;
|
|
263
|
+
private readonly element;
|
|
264
|
+
constructor();
|
|
265
|
+
updatePlacement(): void;
|
|
266
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarSubmenuComponent, never>;
|
|
267
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarSubmenuComponent, "good-topbar-submenu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; }, { "navigate": "navigate"; }, never, never, true, never>;
|
|
268
|
+
}
|
|
269
|
+
declare class GoodTopbarMenuItemComponent implements OnDestroy {
|
|
270
|
+
readonly item: _angular_core.InputSignal<GoodTopbarItem | null>;
|
|
271
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
272
|
+
readonly route: _angular_core.InputSignal<string | undefined>;
|
|
273
|
+
readonly active: _angular_core.InputSignal<boolean>;
|
|
274
|
+
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
275
|
+
readonly text: _angular_core.Signal<string>;
|
|
276
|
+
readonly link: _angular_core.Signal<string | undefined>;
|
|
277
|
+
readonly children: _angular_core.Signal<readonly GoodTopbarItem[]>;
|
|
278
|
+
readonly isActive: _angular_core.Signal<boolean>;
|
|
279
|
+
readonly open: _angular_core.WritableSignal<boolean>;
|
|
280
|
+
readonly dropdown: _angular_core.Signal<GoodTopbarDropdownMenuComponent | undefined>;
|
|
281
|
+
readonly panelId: string;
|
|
282
|
+
private readonly element;
|
|
283
|
+
private openedByClick;
|
|
284
|
+
private suppressFocusOpen;
|
|
285
|
+
private closeTimer;
|
|
286
|
+
private desktopHover;
|
|
287
|
+
onPointerEnter(): void;
|
|
288
|
+
onPointerLeave(): void;
|
|
289
|
+
openFromFocus(): void;
|
|
290
|
+
toggleMenu(): void;
|
|
291
|
+
closeMenu(): void;
|
|
292
|
+
private returnFocus;
|
|
293
|
+
onEscape(event: Event): void;
|
|
294
|
+
onFocusOut(event: FocusEvent): void;
|
|
295
|
+
onDocumentPointerDown(event: PointerEvent): void;
|
|
296
|
+
onDocumentEscape(): void;
|
|
297
|
+
ngOnDestroy(): void;
|
|
298
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarMenuItemComponent, never>;
|
|
299
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarMenuItemComponent, "good-topbar-menu-item", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "route": { "alias": "route"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
300
|
+
}
|
|
301
|
+
declare class GoodTopbarMenuContainerComponent {
|
|
302
|
+
readonly items: _angular_core.InputSignal<readonly GoodTopbarItem[]>;
|
|
303
|
+
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
304
|
+
readonly mobileMode: _angular_core.InputSignal<GoodTopbarMobileMenuMode>;
|
|
305
|
+
readonly mobileOpen: _angular_core.WritableSignal<boolean>;
|
|
306
|
+
readonly mobilePanelId: string;
|
|
307
|
+
private readonly element;
|
|
308
|
+
toggleMobileMenu(): void;
|
|
309
|
+
private closeMobileMenu;
|
|
310
|
+
onClick(event: MouseEvent): void;
|
|
311
|
+
onOutsidePointer(event: PointerEvent): void;
|
|
312
|
+
onEscape(event: Event): void;
|
|
313
|
+
onResize(): void;
|
|
314
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarMenuContainerComponent, never>;
|
|
315
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarMenuContainerComponent, "good-topbar-menu-container", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; "mobileMode": { "alias": "mobileMode"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
316
|
+
}
|
|
317
|
+
declare class GoodTopbarComponent {
|
|
318
|
+
readonly brand: _angular_core.InputSignal<string>;
|
|
319
|
+
readonly brandLogoSrc: _angular_core.InputSignal<string>;
|
|
320
|
+
readonly brandLogoDarkSrc: _angular_core.InputSignal<string>;
|
|
321
|
+
readonly brandMarkSrc: _angular_core.InputSignal<string>;
|
|
322
|
+
readonly brandMarkDarkSrc: _angular_core.InputSignal<string>;
|
|
323
|
+
readonly showBrandIcon: _angular_core.InputSignal<boolean>;
|
|
324
|
+
readonly showMobileBrand: _angular_core.InputSignal<boolean>;
|
|
325
|
+
readonly items: _angular_core.InputSignal<readonly GoodTopbarItem[]>;
|
|
326
|
+
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
327
|
+
readonly mobileMenuMode: _angular_core.InputSignal<GoodTopbarMobileMenuMode>;
|
|
328
|
+
readonly user: _angular_core.InputSignal<GoodUser | null>;
|
|
329
|
+
readonly notifications: _angular_core.InputSignal<readonly GoodNotification[]>;
|
|
330
|
+
readonly searchItems: _angular_core.InputSignal<readonly GoodSearchItem[]>;
|
|
331
|
+
readonly settingsActions: _angular_core.InputSignal<readonly GoodMenuAction[]>;
|
|
332
|
+
readonly showThemeToggle: _angular_core.InputSignal<boolean>;
|
|
333
|
+
readonly showSettings: _angular_core.InputSignal<boolean>;
|
|
334
|
+
readonly avatarActions: _angular_core.InputSignal<readonly GoodMenuAction[]>;
|
|
335
|
+
readonly menuToggle: _angular_core.OutputEmitterRef<void>;
|
|
336
|
+
readonly projectedMenu: _angular_core.Signal<GoodTopbarMenuContainerComponent | undefined>;
|
|
337
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarComponent, never>;
|
|
338
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarComponent, "good-topbar", never, { "brand": { "alias": "brand"; "required": false; "isSignal": true; }; "brandLogoSrc": { "alias": "brandLogoSrc"; "required": false; "isSignal": true; }; "brandLogoDarkSrc": { "alias": "brandLogoDarkSrc"; "required": false; "isSignal": true; }; "brandMarkSrc": { "alias": "brandMarkSrc"; "required": false; "isSignal": true; }; "brandMarkDarkSrc": { "alias": "brandMarkDarkSrc"; "required": false; "isSignal": true; }; "showBrandIcon": { "alias": "showBrandIcon"; "required": false; "isSignal": true; }; "showMobileBrand": { "alias": "showMobileBrand"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; "mobileMenuMode": { "alias": "mobileMenuMode"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "notifications": { "alias": "notifications"; "required": false; "isSignal": true; }; "searchItems": { "alias": "searchItems"; "required": false; "isSignal": true; }; "settingsActions": { "alias": "settingsActions"; "required": false; "isSignal": true; }; "showThemeToggle": { "alias": "showThemeToggle"; "required": false; "isSignal": true; }; "showSettings": { "alias": "showSettings"; "required": false; "isSignal": true; }; "avatarActions": { "alias": "avatarActions"; "required": false; "isSignal": true; }; }, { "menuToggle": "menuToggle"; }, ["projectedMenu"], ["good-topbar-menu-container", "good-header-actions"], true, never>;
|
|
339
|
+
}
|
|
340
|
+
|
|
213
341
|
type GoodAlertTone = 'neutral' | 'info' | 'success' | 'brand' | 'destructive' | 'warning';
|
|
214
342
|
type GoodAlertAppearance = 'default' | 'mono' | 'outline' | 'light';
|
|
215
343
|
type GoodAlertSize = 'small' | 'default' | 'large';
|
|
@@ -338,7 +466,7 @@ declare class GoodNotificationCenter {
|
|
|
338
466
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GoodNotificationCenter>;
|
|
339
467
|
}
|
|
340
468
|
|
|
341
|
-
declare class
|
|
469
|
+
declare class GoodHeaderSearchComponent {
|
|
342
470
|
readonly items: _angular_core.InputSignal<readonly GoodSearchItem[]>;
|
|
343
471
|
readonly query: _angular_core.WritableSignal<string>;
|
|
344
472
|
readonly results: _angular_core.Signal<GoodSearchItem[]>;
|
|
@@ -346,10 +474,10 @@ declare class GoodSearchComponent {
|
|
|
346
474
|
private readonly searchInput;
|
|
347
475
|
open(): void;
|
|
348
476
|
close(): void;
|
|
349
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
350
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
477
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodHeaderSearchComponent, never>;
|
|
478
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodHeaderSearchComponent, "good-header-search", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
351
479
|
}
|
|
352
|
-
declare class
|
|
480
|
+
declare class GoodHeaderNotificationComponent {
|
|
353
481
|
readonly items: _angular_core.InputSignal<readonly GoodNotification[]>;
|
|
354
482
|
readonly center: GoodNotificationCenter;
|
|
355
483
|
readonly infoIcon: typeof LucideInfo;
|
|
@@ -373,15 +501,15 @@ declare class GoodNotificationsComponent {
|
|
|
373
501
|
close(): void;
|
|
374
502
|
onDialogClick(event: MouseEvent): void;
|
|
375
503
|
activate(item: GoodNotificationEntry, action: GoodNotificationAction): void;
|
|
376
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
377
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
504
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodHeaderNotificationComponent, never>;
|
|
505
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodHeaderNotificationComponent, "good-header-notification", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
378
506
|
}
|
|
379
|
-
declare class
|
|
507
|
+
declare class GoodHeaderThemeToggleComponent {
|
|
380
508
|
readonly theme: GoodThemeService;
|
|
381
509
|
readonly icon: _angular_core.Signal<"sun" | "moon" | "monitor">;
|
|
382
510
|
readonly label: _angular_core.Signal<string>;
|
|
383
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
384
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
511
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodHeaderThemeToggleComponent, never>;
|
|
512
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodHeaderThemeToggleComponent, "good-header-themetoggle", never, {}, {}, never, never, true, never>;
|
|
385
513
|
}
|
|
386
514
|
declare class GoodSettingsComponent {
|
|
387
515
|
readonly actions: _angular_core.InputSignal<readonly GoodMenuAction[]>;
|
|
@@ -409,7 +537,7 @@ declare class GoodAvatarMenuItemComponent {
|
|
|
409
537
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodAvatarMenuItemComponent, never>;
|
|
410
538
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodAvatarMenuItemComponent, "good-avatar-menu-item", never, { "action": { "alias": "action"; "required": true; "isSignal": true; }; "path": { "alias": "path"; "required": true; "isSignal": true; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
411
539
|
}
|
|
412
|
-
declare class
|
|
540
|
+
declare class GoodHeaderAvatarComponent {
|
|
413
541
|
readonly user: _angular_core.InputSignal<GoodUser | null>;
|
|
414
542
|
readonly actions: _angular_core.InputSignal<readonly GoodMenuAction[]>;
|
|
415
543
|
readonly open: _angular_core.WritableSignal<boolean>;
|
|
@@ -419,10 +547,10 @@ declare class GoodAvatarMenuComponent {
|
|
|
419
547
|
toggleMenu(): void;
|
|
420
548
|
closeMenu(): void;
|
|
421
549
|
onDocumentClick(event: MouseEvent): void;
|
|
422
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
423
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
550
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodHeaderAvatarComponent, never>;
|
|
551
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodHeaderAvatarComponent, "good-header-avatar", never, { "user": { "alias": "user"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
424
552
|
}
|
|
425
|
-
declare class
|
|
553
|
+
declare class GoodHeaderActionsComponent {
|
|
426
554
|
readonly user: _angular_core.InputSignal<GoodUser | null>;
|
|
427
555
|
readonly notifications: _angular_core.InputSignal<readonly GoodNotification[]>;
|
|
428
556
|
readonly searchItems: _angular_core.InputSignal<readonly GoodSearchItem[]>;
|
|
@@ -433,137 +561,8 @@ declare class GoodMainMenuComponent {
|
|
|
433
561
|
readonly showThemeToggle: _angular_core.InputSignal<boolean>;
|
|
434
562
|
readonly showSettings: _angular_core.InputSignal<boolean>;
|
|
435
563
|
readonly showAvatar: _angular_core.InputSignal<boolean>;
|
|
436
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
437
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
type GoodTopbarMobileMenuMode = 'hidden' | 'popup';
|
|
441
|
-
declare class GoodBrandIconComponent {
|
|
442
|
-
readonly src: _angular_core.InputSignal<string>;
|
|
443
|
-
readonly darkSrc: _angular_core.InputSignal<string>;
|
|
444
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
445
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodBrandIconComponent, never>;
|
|
446
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodBrandIconComponent, "good-brand-icon", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "darkSrc": { "alias": "darkSrc"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
447
|
-
}
|
|
448
|
-
declare class GoodTopbarDropdownItemComponent {
|
|
449
|
-
readonly item: _angular_core.InputSignal<GoodTopbarItem>;
|
|
450
|
-
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
451
|
-
readonly expanded: _angular_core.InputSignal<boolean>;
|
|
452
|
-
readonly panelId: _angular_core.InputSignal<string | null>;
|
|
453
|
-
readonly hover: _angular_core.OutputEmitterRef<void>;
|
|
454
|
-
readonly focused: _angular_core.OutputEmitterRef<void>;
|
|
455
|
-
readonly toggle: _angular_core.OutputEmitterRef<void>;
|
|
456
|
-
readonly navigate: _angular_core.OutputEmitterRef<void>;
|
|
457
|
-
readonly isActive: _angular_core.Signal<boolean>;
|
|
458
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarDropdownItemComponent, never>;
|
|
459
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarDropdownItemComponent, "good-topbar-dropdown-item", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "panelId": { "alias": "panelId"; "required": false; "isSignal": true; }; }, { "hover": "hover"; "focused": "focused"; "toggle": "toggle"; "navigate": "navigate"; }, never, never, true, never>;
|
|
460
|
-
}
|
|
461
|
-
declare class GoodTopbarDropdownMenuComponent {
|
|
462
|
-
readonly items: _angular_core.InputSignal<readonly GoodTopbarItem[]>;
|
|
463
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
464
|
-
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
465
|
-
readonly navigate: _angular_core.OutputEmitterRef<void>;
|
|
466
|
-
readonly openChildId: _angular_core.WritableSignal<string | null>;
|
|
467
|
-
readonly submenu: _angular_core.Signal<GoodTopbarSubmenuComponent | undefined>;
|
|
468
|
-
private readonly uid;
|
|
469
|
-
private readonly element;
|
|
470
|
-
private openedByClick;
|
|
471
|
-
private suppressFocusOpen;
|
|
472
|
-
panelId(item: GoodTopbarItem): string;
|
|
473
|
-
private desktopHover;
|
|
474
|
-
onHover(item: GoodTopbarItem): void;
|
|
475
|
-
onFocus(item: GoodTopbarItem): void;
|
|
476
|
-
onToggle(item: GoodTopbarItem): void;
|
|
477
|
-
onNavigate(): void;
|
|
478
|
-
closeDeepest(): boolean;
|
|
479
|
-
onEscape(event: Event): void;
|
|
480
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarDropdownMenuComponent, never>;
|
|
481
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarDropdownMenuComponent, "good-topbar-dropdown-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; }, { "navigate": "navigate"; }, never, never, true, never>;
|
|
482
|
-
}
|
|
483
|
-
declare class GoodTopbarSubmenuComponent {
|
|
484
|
-
readonly items: _angular_core.InputSignal<readonly GoodTopbarItem[]>;
|
|
485
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
486
|
-
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
487
|
-
readonly navigate: _angular_core.OutputEmitterRef<void>;
|
|
488
|
-
readonly flipped: _angular_core.WritableSignal<boolean>;
|
|
489
|
-
readonly menu: _angular_core.Signal<GoodTopbarDropdownMenuComponent | undefined>;
|
|
490
|
-
private readonly element;
|
|
491
|
-
constructor();
|
|
492
|
-
updatePlacement(): void;
|
|
493
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarSubmenuComponent, never>;
|
|
494
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarSubmenuComponent, "good-topbar-submenu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; }, { "navigate": "navigate"; }, never, never, true, never>;
|
|
495
|
-
}
|
|
496
|
-
declare class GoodTopbarMenuItemComponent implements OnDestroy {
|
|
497
|
-
readonly item: _angular_core.InputSignal<GoodTopbarItem | null>;
|
|
498
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
499
|
-
readonly route: _angular_core.InputSignal<string | undefined>;
|
|
500
|
-
readonly active: _angular_core.InputSignal<boolean>;
|
|
501
|
-
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
502
|
-
readonly text: _angular_core.Signal<string>;
|
|
503
|
-
readonly link: _angular_core.Signal<string | undefined>;
|
|
504
|
-
readonly children: _angular_core.Signal<readonly GoodTopbarItem[]>;
|
|
505
|
-
readonly isActive: _angular_core.Signal<boolean>;
|
|
506
|
-
readonly open: _angular_core.WritableSignal<boolean>;
|
|
507
|
-
readonly dropdown: _angular_core.Signal<GoodTopbarDropdownMenuComponent | undefined>;
|
|
508
|
-
readonly panelId: string;
|
|
509
|
-
private readonly element;
|
|
510
|
-
private openedByClick;
|
|
511
|
-
private suppressFocusOpen;
|
|
512
|
-
private closeTimer;
|
|
513
|
-
private desktopHover;
|
|
514
|
-
onPointerEnter(): void;
|
|
515
|
-
onPointerLeave(): void;
|
|
516
|
-
openFromFocus(): void;
|
|
517
|
-
toggleMenu(): void;
|
|
518
|
-
closeMenu(): void;
|
|
519
|
-
private returnFocus;
|
|
520
|
-
onEscape(event: Event): void;
|
|
521
|
-
onFocusOut(event: FocusEvent): void;
|
|
522
|
-
onDocumentPointerDown(event: PointerEvent): void;
|
|
523
|
-
onDocumentEscape(): void;
|
|
524
|
-
ngOnDestroy(): void;
|
|
525
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarMenuItemComponent, never>;
|
|
526
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarMenuItemComponent, "good-topbar-menu-item", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "route": { "alias": "route"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
527
|
-
}
|
|
528
|
-
declare class GoodTopbarMenuContainerComponent {
|
|
529
|
-
readonly items: _angular_core.InputSignal<readonly GoodTopbarItem[]>;
|
|
530
|
-
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
531
|
-
readonly mobileMode: _angular_core.InputSignal<GoodTopbarMobileMenuMode>;
|
|
532
|
-
readonly mobileOpen: _angular_core.WritableSignal<boolean>;
|
|
533
|
-
readonly mobilePanelId: string;
|
|
534
|
-
private readonly element;
|
|
535
|
-
toggleMobileMenu(): void;
|
|
536
|
-
private closeMobileMenu;
|
|
537
|
-
onClick(event: MouseEvent): void;
|
|
538
|
-
onOutsidePointer(event: PointerEvent): void;
|
|
539
|
-
onEscape(event: Event): void;
|
|
540
|
-
onResize(): void;
|
|
541
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarMenuContainerComponent, never>;
|
|
542
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarMenuContainerComponent, "good-topbar-menu-container", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; "mobileMode": { "alias": "mobileMode"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
543
|
-
}
|
|
544
|
-
declare class GoodTopbarComponent {
|
|
545
|
-
readonly brand: _angular_core.InputSignal<string>;
|
|
546
|
-
readonly brandLogoSrc: _angular_core.InputSignal<string>;
|
|
547
|
-
readonly brandLogoDarkSrc: _angular_core.InputSignal<string>;
|
|
548
|
-
readonly brandMarkSrc: _angular_core.InputSignal<string>;
|
|
549
|
-
readonly brandMarkDarkSrc: _angular_core.InputSignal<string>;
|
|
550
|
-
readonly showBrandIcon: _angular_core.InputSignal<boolean>;
|
|
551
|
-
readonly showMobileBrand: _angular_core.InputSignal<boolean>;
|
|
552
|
-
readonly items: _angular_core.InputSignal<readonly GoodTopbarItem[]>;
|
|
553
|
-
readonly activeRoute: _angular_core.InputSignal<string>;
|
|
554
|
-
readonly mobileMenuMode: _angular_core.InputSignal<GoodTopbarMobileMenuMode>;
|
|
555
|
-
readonly user: _angular_core.InputSignal<GoodUser | null>;
|
|
556
|
-
readonly notifications: _angular_core.InputSignal<readonly GoodNotification[]>;
|
|
557
|
-
readonly searchItems: _angular_core.InputSignal<readonly GoodSearchItem[]>;
|
|
558
|
-
readonly settingsActions: _angular_core.InputSignal<readonly GoodMenuAction[]>;
|
|
559
|
-
readonly showThemeToggle: _angular_core.InputSignal<boolean>;
|
|
560
|
-
readonly showSettings: _angular_core.InputSignal<boolean>;
|
|
561
|
-
readonly avatarActions: _angular_core.InputSignal<readonly GoodMenuAction[]>;
|
|
562
|
-
readonly menuToggle: _angular_core.OutputEmitterRef<void>;
|
|
563
|
-
readonly projectedMenu: _angular_core.Signal<GoodTopbarMenuContainerComponent | undefined>;
|
|
564
|
-
readonly projectedMainMenu: _angular_core.Signal<GoodMainMenuComponent | undefined>;
|
|
565
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodTopbarComponent, never>;
|
|
566
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodTopbarComponent, "good-topbar", never, { "brand": { "alias": "brand"; "required": false; "isSignal": true; }; "brandLogoSrc": { "alias": "brandLogoSrc"; "required": false; "isSignal": true; }; "brandLogoDarkSrc": { "alias": "brandLogoDarkSrc"; "required": false; "isSignal": true; }; "brandMarkSrc": { "alias": "brandMarkSrc"; "required": false; "isSignal": true; }; "brandMarkDarkSrc": { "alias": "brandMarkDarkSrc"; "required": false; "isSignal": true; }; "showBrandIcon": { "alias": "showBrandIcon"; "required": false; "isSignal": true; }; "showMobileBrand": { "alias": "showMobileBrand"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "activeRoute": { "alias": "activeRoute"; "required": false; "isSignal": true; }; "mobileMenuMode": { "alias": "mobileMenuMode"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "notifications": { "alias": "notifications"; "required": false; "isSignal": true; }; "searchItems": { "alias": "searchItems"; "required": false; "isSignal": true; }; "settingsActions": { "alias": "settingsActions"; "required": false; "isSignal": true; }; "showThemeToggle": { "alias": "showThemeToggle"; "required": false; "isSignal": true; }; "showSettings": { "alias": "showSettings"; "required": false; "isSignal": true; }; "avatarActions": { "alias": "avatarActions"; "required": false; "isSignal": true; }; }, { "menuToggle": "menuToggle"; }, ["projectedMenu", "projectedMainMenu"], ["good-topbar-menu-container", "good-main-menu"], true, never>;
|
|
564
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodHeaderActionsComponent, never>;
|
|
565
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodHeaderActionsComponent, "good-header-actions", never, { "user": { "alias": "user"; "required": false; "isSignal": true; }; "notifications": { "alias": "notifications"; "required": false; "isSignal": true; }; "searchItems": { "alias": "searchItems"; "required": false; "isSignal": true; }; "settingsActions": { "alias": "settingsActions"; "required": false; "isSignal": true; }; "avatarActions": { "alias": "avatarActions"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "showNotifications": { "alias": "showNotifications"; "required": false; "isSignal": true; }; "showThemeToggle": { "alias": "showThemeToggle"; "required": false; "isSignal": true; }; "showSettings": { "alias": "showSettings"; "required": false; "isSignal": true; }; "showAvatar": { "alias": "showAvatar"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
567
566
|
}
|
|
568
567
|
|
|
569
568
|
interface GoodRequiredControl {
|
|
@@ -3948,8 +3947,8 @@ declare class GoodAppLayoutComponent {
|
|
|
3948
3947
|
onBackdropClick(event: MouseEvent): void;
|
|
3949
3948
|
onDrawerClose(): void;
|
|
3950
3949
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoodAppLayoutComponent, never>;
|
|
3951
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodAppLayoutComponent, "good-app-layout", never, { "brand": { "alias": "brand"; "required": false; "isSignal": true; }; "brandLogoSrc": { "alias": "brandLogoSrc"; "required": false; "isSignal": true; }; "brandLogoDarkSrc": { "alias": "brandLogoDarkSrc"; "required": false; "isSignal": true; }; "brandMarkSrc": { "alias": "brandMarkSrc"; "required": false; "isSignal": true; }; "brandMarkDarkSrc": { "alias": "brandMarkDarkSrc"; "required": false; "isSignal": true; }; "showBrandIcon": { "alias": "showBrandIcon"; "required": false; "isSignal": true; }; "showMobileBrand": { "alias": "showMobileBrand"; "required": false; "isSignal": true; }; "sidebarSections": { "alias": "sidebarSections"; "required": false; "isSignal": true; }; "topbarItems": { "alias": "topbarItems"; "required": false; "isSignal": true; }; "mobileTopbarMenuMode": { "alias": "mobileTopbarMenuMode"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "notifications": { "alias": "notifications"; "required": false; "isSignal": true; }; "searchItems": { "alias": "searchItems"; "required": false; "isSignal": true; }; "settingsActions": { "alias": "settingsActions"; "required": false; "isSignal": true; }; "showThemeToggle": { "alias": "showThemeToggle"; "required": false; "isSignal": true; }; "showSettings": { "alias": "showSettings"; "required": false; "isSignal": true; }; "avatarActions": { "alias": "avatarActions"; "required": false; "isSignal": true; }; }, {}, never, ["good-
|
|
3950
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GoodAppLayoutComponent, "good-app-layout", never, { "brand": { "alias": "brand"; "required": false; "isSignal": true; }; "brandLogoSrc": { "alias": "brandLogoSrc"; "required": false; "isSignal": true; }; "brandLogoDarkSrc": { "alias": "brandLogoDarkSrc"; "required": false; "isSignal": true; }; "brandMarkSrc": { "alias": "brandMarkSrc"; "required": false; "isSignal": true; }; "brandMarkDarkSrc": { "alias": "brandMarkDarkSrc"; "required": false; "isSignal": true; }; "showBrandIcon": { "alias": "showBrandIcon"; "required": false; "isSignal": true; }; "showMobileBrand": { "alias": "showMobileBrand"; "required": false; "isSignal": true; }; "sidebarSections": { "alias": "sidebarSections"; "required": false; "isSignal": true; }; "topbarItems": { "alias": "topbarItems"; "required": false; "isSignal": true; }; "mobileTopbarMenuMode": { "alias": "mobileTopbarMenuMode"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "notifications": { "alias": "notifications"; "required": false; "isSignal": true; }; "searchItems": { "alias": "searchItems"; "required": false; "isSignal": true; }; "settingsActions": { "alias": "settingsActions"; "required": false; "isSignal": true; }; "showThemeToggle": { "alias": "showThemeToggle"; "required": false; "isSignal": true; }; "showSettings": { "alias": "showSettings"; "required": false; "isSignal": true; }; "avatarActions": { "alias": "avatarActions"; "required": false; "isSignal": true; }; }, {}, never, ["good-header-actions", "*"], true, never>;
|
|
3952
3951
|
}
|
|
3953
3952
|
|
|
3954
|
-
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,
|
|
3953
|
+
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 };
|
|
3955
3954
|
export type { GoodActionBarCommand, GoodActionBarGroup, GoodActionBarSelection, GoodActionGroupAlign, GoodActionGroupJustify, GoodActionGroupOrientation, GoodActionGroupSpacing, GoodAlertAppearance, GoodAlertSize, GoodAlertTone, GoodAssistantMainPadding, GoodAssistantPanelAppearance, GoodBadgeColor, GoodBadgeShape, GoodBadgeSize, GoodBadgeVariant, GoodBreadcrumbItem, GoodButtonIcon, GoodButtonSize, GoodButtonVariant, GoodCalendarEmptyAction, GoodCalendarEvent, GoodCalendarEventInput, GoodCalendarHoliday, GoodCalendarMinuteRange, GoodCalendarMove, GoodCalendarNonWorkingLabel, GoodCalendarRange, GoodCalendarResize, GoodCalendarTone, GoodCalendarView, GoodCalendarWorkingPeriod, GoodChartAggregation, GoodChartAxisDefinition, GoodChartAxisType, GoodChartDataSource, GoodChartKey, GoodChartKeyType, GoodChartLineDefinition, GoodChartPoint, GoodChartResolution, GoodChartSeriesDefinition, GoodChartTimeGroup, GoodChartValue, GoodCheckboxAppearance, GoodCheckboxSize, GoodCodeLanguage, GoodColorMode, GoodColorPickerIcon, GoodColumnBreakpoint, GoodDateMode, GoodDatePlacement, GoodDatePreset, GoodDateRange, GoodDateValue, GoodDropdownItem, GoodDropdownPlacement, GoodDropdownTrigger, GoodErrorPageTone, GoodExpandableIcon, GoodEyebrowAppearance, GoodFontOption, GoodGroupAppearance, GoodGroupSpacing, GoodHeadingLevel, GoodHistogramBin, GoodHistogramResolution, GoodHistogramSeriesDefinition, GoodIconName, GoodImageAlign, GoodImageInputShape, GoodInputAddonTone, GoodInputSize, GoodInputType, GoodLinkAppearance, GoodLinkDecoration, GoodLinkUnderline, GoodListboxAppearance, GoodListboxGroup, GoodListboxItem, GoodListboxItemContext, GoodListboxItemSelectionChange, GoodListboxSelectionMode, GoodMainViewLayout, GoodMapColorPalette, GoodMapOverlayType, GoodMarkerColor, GoodMenuAction, GoodModalDismissReason, GoodModalPresentation, GoodModalSize, GoodMonthCalendarHighlight, GoodMonthCalendarOrientation, GoodMonthCalendarSelection, GoodMonthCalendarSelectionMode, GoodNavItem, GoodNotification, GoodNotificationAction, GoodNotificationDelivery, GoodNotificationEntry, GoodNotificationProgress, GoodNotificationRequest, GoodNotificationUpdate, GoodNumberInputSize, GoodPdfSource, GoodPinInputAppearance, GoodPinInputSize, GoodProgressAppearance, GoodProgressColor, GoodProgressMode, GoodProgressSize, GoodRadioAppearance, GoodRadioOption, GoodRadioSize, GoodRangeSliderColor, GoodRangeSliderMode, GoodRangeSliderRange, GoodRangeSliderSize, GoodRangeSliderTick, GoodRatingIcon, GoodRatingSize, GoodResizableHandle, GoodResizableOrientation, GoodResolvedChartLine, GoodResolvedChartSeries, GoodRichTextAlignment, GoodRichTextFeature, GoodRichTextTableAction, GoodSearchItem, GoodSelectOption, GoodSelectValue, GoodSeparatorVariant, GoodSidebarSection, GoodSignatureData, GoodSignaturePoint, GoodSignatureStroke, GoodSparklineSize, GoodStatusIconAppearance, GoodStatusIconSize, GoodStatusIconStatus, GoodSubheadingLevel, GoodSubnavAction, GoodSubnavItem, GoodSwitchAppearance, GoodSwitchSize, GoodTabActivation, GoodTableCellContext, GoodTableColumn, GoodTableColumnBreakpoint, GoodTableColumnMeta, GoodTablePagination, GoodTableRequest, GoodTableStyle, GoodTheme, GoodThemePreference, GoodTimelineAppearance, GoodTimelineColor, GoodTimelineIconName, GoodTimelineMarker, GoodTimelineOrientation, GoodTimelineSectionState, GoodTimelineSize, GoodTimelineState, GoodTimelineStep, GoodTimelineTone, GoodTopbarItem, GoodTopbarMobileMenuMode, GoodUINotificationOptions, GoodUIOptions, GoodUser };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Main menu
|
|
2
|
-
|
|
3
|
-
`good-main-menu` is the topbar action container. It owns alignment and responsive gaps. Applications compose its children in any order without adding layout CSS.
|
|
4
|
-
|
|
5
|
-
```html
|
|
6
|
-
<good-app-layout [sidebarSections]="navigation">
|
|
7
|
-
<good-main-menu>
|
|
8
|
-
<good-search [items]="searchItems" />
|
|
9
|
-
<good-notifications />
|
|
10
|
-
<good-theme-toggle />
|
|
11
|
-
<good-avatar-menu [user]="currentUser" [actions]="accountActions" />
|
|
12
|
-
</good-main-menu>
|
|
13
|
-
<router-outlet />
|
|
14
|
-
</good-app-layout>
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Import `GoodMainMenuComponent` and each child component in the standalone component that declares this template. The same composition works directly inside `good-topbar`. Remove or reorder child tags to choose the available actions and their order. Settings is available as `good-settings`. Projected content replaces all generated actions; configure each child directly. Shell inputs configure only the generated default menu.
|
|
18
|
-
|
|
19
|
-
With no projected content, the existing default composition remains Search, Notifications, Theme toggle, and Avatar menu. Its inputs remain `user`, `notifications`, `searchItems`, `settingsActions`, `avatarActions`, `showSearch`, `showNotifications`, `showThemeToggle`, `showSettings`, and `showAvatar`. All visibility inputs default to true except `showSettings`, which defaults to false. AppLayout and Topbar forward `showThemeToggle` and `showSettings`.
|
|
20
|
-
|
|
21
|
-
Each action is documented separately: [Search](search.md), [Notifications](notifications.md), [Theme toggle](theme-toggle.md), [Avatar menu](avatar-menu.md), and [Settings](settings.md). Each owns its 36 × 36 px hit area and interaction. MainMenu owns spacing; actions have no external margins. Use Angular conditional blocks inside the container to control visibility. An explicitly supplied conditional block owns the content even when no actions are currently visible.
|
|
22
|
-
|
|
23
|
-
Penpot `goodui.main-menu.default` retains its stable ID and linked Search, Notifications, ThemeToggle, and AvatarMenu instances. This specimen represents the default composition, rather than a mandatory action list.
|