@kumori/aurora-wui-components 0.0.48 → 0.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ import { LitElement } from 'lit';
2
+ export interface FooterLink {
3
+ label: string;
4
+ url: string;
5
+ onClick: () => void;
6
+ }
7
+ /**
8
+ * Purely presentational site footer. Receives already-filtered, already
9
+ * translated links; owns only the footer-height broadcast used by
10
+ * axebow-sidebar to reserve bottom padding.
11
+ */
12
+ export declare class AxebowFooter extends LitElement {
13
+ static styles: import('lit').CSSResult[];
14
+ links: FooterLink[];
15
+ private resizeObserver?;
16
+ connectedCallback(): void;
17
+ disconnectedCallback(): void;
18
+ private emitFooterHeight;
19
+ render(): import('lit-html').TemplateResult<1>;
20
+ }
21
+ //# sourceMappingURL=axebow-footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-footer.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-footer/axebow-footer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AAEvC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;GAIG;AACH,qBACa,YAAa,SAAQ,UAAU;IAC1C,MAAM,CAAC,MAAM,4BAWX;IAEyB,KAAK,EAAE,UAAU,EAAE,CAAM;IAEpD,OAAO,CAAC,cAAc,CAAC,CAAiB;IAExC,iBAAiB;IAWjB,oBAAoB;IAOpB,OAAO,CAAC,gBAAgB,CAiBtB;IAEF,MAAM;CAmBP"}
@@ -0,0 +1,36 @@
1
+ import { LitElement } from 'lit';
2
+ import { QuickAction } from './parts/axebow-quick-actions.js';
3
+ import { ProfileMenuItem, FormattedNotificationVM } from './parts/axebow-header-actions.js';
4
+ /**
5
+ * Purely presentational app header. Receives fully-resolved data and
6
+ * callback props; quick-actions open state and the notifications
7
+ * unread-only filter are owned by their respective sub-components.
8
+ */
9
+ export declare class AxebowHeader extends LitElement {
10
+ minimal: boolean;
11
+ logoUrl: string;
12
+ logoAlt: string;
13
+ onLogoClick: () => void;
14
+ userName: string;
15
+ quickActionsLabel: string;
16
+ quickActions: QuickAction[];
17
+ profileMenuItems: ProfileMenuItem[];
18
+ logoutLabel: string;
19
+ onLogout: () => void;
20
+ notificationsLabel: string;
21
+ notifications: FormattedNotificationVM[];
22
+ actionNeededNotifications: FormattedNotificationVM[];
23
+ myNotificationsTabLabel: string;
24
+ actionNeededTabLabel: string;
25
+ noNotificationsLabel: string;
26
+ noUnreadNotificationsLabel: string;
27
+ noActionNotificationsLabel: string;
28
+ showUnreadOnlyLabel: string;
29
+ onLabel: string;
30
+ offLabel: string;
31
+ markAllAsReadLabel: string;
32
+ onMarkAllAsRead: () => void;
33
+ static styles: import('lit').CSSResult[];
34
+ render(): import('lit-html').TemplateResult<1>;
35
+ }
36
+ //# sourceMappingURL=axebow-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-header.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-header/axebow-header.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,UAAU,EAAa,MAAM,KAAK,CAAC;AAElD,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAEjG;;;;GAIG;AACH,qBACa,YAAa,SAAQ,UAAU;IACE,OAAO,UAAS;IAChC,OAAO,SAAM;IACb,OAAO,SAAM;IACT,WAAW,EAAE,MAAM,IAAI,CAAY;IACvC,QAAQ,SAAM;IACd,iBAAiB,SAAM;IACxB,YAAY,EAAE,WAAW,EAAE,CAAM;IACjC,gBAAgB,EAAE,eAAe,EAAE,CAAM;IACxC,WAAW,SAAM;IACb,QAAQ,EAAE,MAAM,IAAI,CAAY;IACpC,kBAAkB,SAAM;IACzB,aAAa,EAAE,uBAAuB,EAAE,CAAM;IAC9C,yBAAyB,EAAE,uBAAuB,EAAE,CAAM;IACzD,uBAAuB,SAAM;IAC7B,oBAAoB,SAAM;IAC1B,oBAAoB,SAAM;IAC1B,0BAA0B,SAAM;IAChC,0BAA0B,SAAM;IAChC,mBAAmB,SAAM;IACzB,OAAO,SAAM;IACb,QAAQ,SAAM;IACd,kBAAkB,SAAM;IACpB,eAAe,EAAE,MAAM,IAAI,CAAY;IAEvE,MAAM,CAAC,MAAM,4BAAyC;IAEtD,MAAM;CAiDP"}
@@ -0,0 +1,50 @@
1
+ import { LitElement } from 'lit';
2
+ export interface ProfileMenuItem {
3
+ name: string;
4
+ onClick: () => void;
5
+ }
6
+ export interface NotificationAction {
7
+ label: string;
8
+ color: string;
9
+ action: () => void;
10
+ }
11
+ export interface FormattedNotificationVM {
12
+ id: string;
13
+ title: string;
14
+ description: string;
15
+ icon: string;
16
+ color: string;
17
+ status: 'read' | 'unread';
18
+ date: string;
19
+ callToAction: boolean;
20
+ actions?: NotificationAction[];
21
+ onClick: () => void;
22
+ }
23
+ /**
24
+ * Right-hand header cluster: notifications dropdown + profile menu.
25
+ */
26
+ export declare class AxebowHeaderActions extends LitElement {
27
+ static styles: import('lit').CSSResult[];
28
+ userName: string;
29
+ profileMenuItems: ProfileMenuItem[];
30
+ logoutLabel: string;
31
+ onLogout: () => void;
32
+ notificationsLabel: string;
33
+ notifications: FormattedNotificationVM[];
34
+ actionNeededNotifications: FormattedNotificationVM[];
35
+ myNotificationsTabLabel: string;
36
+ actionNeededTabLabel: string;
37
+ noNotificationsLabel: string;
38
+ noUnreadNotificationsLabel: string;
39
+ noActionNotificationsLabel: string;
40
+ showUnreadOnlyLabel: string;
41
+ onLabel: string;
42
+ offLabel: string;
43
+ markAllAsReadLabel: string;
44
+ onMarkAllAsRead: () => void;
45
+ private showUnreadOnly;
46
+ private handleShowUnreadOnlyChange;
47
+ render(): import('lit-html').TemplateResult<1>;
48
+ private renderNotificationCard;
49
+ }
50
+ //# sourceMappingURL=axebow-header-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-header-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/axebow-header/parts/axebow-header-actions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,+DAA+D,CAAC;AACvE,OAAO,uDAAuD,CAAC;AAC/D,OAAO,2DAA2D,CAAC;AACnE,OAAO,iEAAiE,CAAC;AACzE,OAAO,qDAAqD,CAAC;AAC7D,OAAO,iEAAiE,CAAC;AAEzE,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;GAEG;AACH,qBACa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,4BAeX;IAE0B,QAAQ,SAAM;IACf,gBAAgB,EAAE,eAAe,EAAE,CAAM;IACxC,WAAW,SAAM;IACb,QAAQ,EAAE,MAAM,IAAI,CAAY;IACpC,kBAAkB,SAAM;IACzB,aAAa,EAAE,uBAAuB,EAAE,CAAM;IAC9C,yBAAyB,EAAE,uBAAuB,EAAE,CAAM;IACzD,uBAAuB,SAAM;IAC7B,oBAAoB,SAAM;IAC1B,oBAAoB,SAAM;IAC1B,0BAA0B,SAAM;IAChC,0BAA0B,SAAM;IAChC,mBAAmB,SAAM;IACzB,OAAO,SAAM;IACb,QAAQ,SAAM;IACd,kBAAkB,SAAM;IACpB,eAAe,EAAE,MAAM,IAAI,CAAY;IAE9D,OAAO,CAAC,cAAc,CAAS;IAExC,OAAO,CAAC,0BAA0B;IAIlC,MAAM;IAmHN,OAAO,CAAC,sBAAsB;CA0C/B"}
@@ -0,0 +1,9 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class AxebowQuickActionCard extends LitElement {
3
+ static styles: import('lit').CSSResult[];
4
+ icon: string;
5
+ label: string;
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ private _onClick;
8
+ }
9
+ //# sourceMappingURL=axebow-quick-action-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-quick-action-card.d.ts","sourceRoot":"","sources":["../../../../src/components/axebow-header/parts/axebow-quick-action-card.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,kCAAkC,CAAC;AAE1C,qBACa,qBAAsB,SAAQ,UAAU;IACnD,MAAM,CAAC,MAAM,4BAA4D;IAE7C,IAAI,SAAM;IACV,KAAK,SAAM;IAEvC,MAAM;IAYN,OAAO,CAAC,QAAQ;CAGjB"}
@@ -0,0 +1,24 @@
1
+ import { LitElement } from 'lit';
2
+ export interface QuickAction {
3
+ icon: string;
4
+ label: string;
5
+ visible: boolean;
6
+ onClick: () => void;
7
+ }
8
+ /**
9
+ * Trigger + flyout panel. First 3 actions render as the infra-creation row,
10
+ * the rest as the deploy/service row (wraps after 3 to match the 168px card width).
11
+ */
12
+ export declare class AxebowQuickActions extends LitElement {
13
+ static styles: import('lit').CSSResult[];
14
+ label: string;
15
+ actions: QuickAction[];
16
+ private open;
17
+ connectedCallback(): void;
18
+ disconnectedCallback(): void;
19
+ private _handleOutsideClick;
20
+ private _toggle;
21
+ private _select;
22
+ render(): import('lit-html').TemplateResult<1>;
23
+ }
24
+ //# sourceMappingURL=axebow-quick-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-quick-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/axebow-header/parts/axebow-quick-actions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,+BAA+B,CAAC;AAEvC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAAmE;IAEpD,KAAK,SAAM;IACZ,OAAO,EAAE,WAAW,EAAE,CAAM;IAE9C,OAAO,CAAC,IAAI,CAAS;IAE9B,iBAAiB;IAKjB,oBAAoB;IAKpB,OAAO,CAAC,mBAAmB,CAIzB;IAEF,OAAO,CAAC,OAAO;IAKf,OAAO,CAAC,OAAO;IAKf,MAAM;CA+DP"}
@@ -0,0 +1,36 @@
1
+ import { LitElement } from 'lit';
2
+ export interface NavItem {
3
+ key: string;
4
+ label: string;
5
+ icon: string;
6
+ onClick: () => void;
7
+ isRoot?: boolean;
8
+ openInNewTab?: boolean;
9
+ }
10
+ export interface NavDivider {
11
+ divider: true;
12
+ }
13
+ export type SidebarEntry = NavItem | NavDivider;
14
+ /**
15
+ * Purely presentational app sidebar. Receives fully-resolved nav entries,
16
+ * the currently-selected item key, and the reserved bottom padding (driven
17
+ * by the app's own footer-height tracking); owns only hover-tooltip UI
18
+ * state.
19
+ */
20
+ export declare class AxebowSidebar extends LitElement {
21
+ static styles: import('lit').CSSResult[];
22
+ items: SidebarEntry[];
23
+ bottomItems: NavItem[];
24
+ selectedKey: string | null;
25
+ paddingBottom: number;
26
+ private hoveredItem;
27
+ private tooltipTop;
28
+ private tooltipLeft;
29
+ private handleMouseEnter;
30
+ private handleMouseLeave;
31
+ private _isSelected;
32
+ render(): import('lit-html').TemplateResult<1>;
33
+ private _renderNavItem;
34
+ private _renderBottomItem;
35
+ }
36
+ //# sourceMappingURL=axebow-sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"axebow-sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-sidebar/axebow-sidebar.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AACvD,OAAO,+BAA+B,CAAC;AACvC,OAAO,6DAA6D,CAAC;AAErE,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,UAAU,CAAC;AAEhD;;;;;GAKG;AACH,qBACa,aAAc,SAAQ,UAAU;IAC3C,MAAM,CAAC,MAAM,4BAQX;IAEyB,KAAK,EAAE,YAAY,EAAE,CAAM;IAC3B,WAAW,EAAE,OAAO,EAAE,CAAM;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IAClC,aAAa,SAAM;IAEtC,OAAO,CAAC,WAAW,CAAwB;IAC3C,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,WAAW,CAAK;IAEjC,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,WAAW;IAInB,MAAM;IAoCN,OAAO,CAAC,cAAc;IA2BtB,OAAO,CAAC,iBAAiB;CAwB1B"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  export * from './styles/axebow-theme.js';
2
2
  export * from './components/axebow-icon/axebow-icon.js';
3
3
  export * from './components/axebow-filter-bar/axebow-filter-bar.js';
4
+ export * from './components/axebow-header/axebow-header.js';
5
+ export * from './components/axebow-sidebar/axebow-sidebar.js';
6
+ export * from './components/axebow-footer/axebow-footer.js';
4
7
  export * from './components/cards/card.models.js';
5
8
  export * from './components/axebow-more-actions/axebow-more-actions.js';
6
9
  export * from './components/cards/axebow-base-card.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,mCAAmC,CAAC;AAClD,cAAc,yDAAyD,CAAC;AACxE,cAAc,wCAAwC,CAAC;AACvD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oDAAoD,CAAC;AACnE,cAAc,0DAA0D,CAAC;AACzE,cAAc,iDAAiD,CAAC;AAChE,cAAc,mDAAmD,CAAC;AAClE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qDAAqD,CAAC;AACpE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sDAAsD,CAAC;AACrE,cAAc,sDAAsD,CAAC;AACrE,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD,CAAC;AACrE,cAAc,0DAA0D,CAAC;AACzE,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,yDAAyD,CAAC;AACxE,cAAc,wCAAwC,CAAC;AACvD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oDAAoD,CAAC;AACnE,cAAc,0DAA0D,CAAC;AACzE,cAAc,iDAAiD,CAAC;AAChE,cAAc,mDAAmD,CAAC;AAClE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qDAAqD,CAAC;AACpE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sDAAsD,CAAC;AACrE,cAAc,sDAAsD,CAAC;AACrE,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD,CAAC;AACrE,cAAc,0DAA0D,CAAC;AACzE,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC"}