@kumori/aurora-wui-components 0.0.1 → 0.0.3
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/dist/components/aurora-button.d.ts +2 -2
- package/dist/components/cards/aurora-base-card.d.ts +45 -0
- package/dist/components/cards/aurora-base-card.d.ts.map +1 -0
- package/dist/components/cards/aurora-more-actions.d.ts +23 -0
- package/dist/components/cards/aurora-more-actions.d.ts.map +1 -0
- package/dist/components/cards/aurora-runtime-card.d.ts +43 -0
- package/dist/components/cards/aurora-runtime-card.d.ts.map +1 -0
- package/dist/components/cards/card.types.d.ts +39 -0
- package/dist/components/cards/card.types.d.ts.map +1 -0
- package/dist/components/cards/parts/aurora-card-action-banner.d.ts +8 -0
- package/dist/components/cards/parts/aurora-card-action-banner.d.ts.map +1 -0
- package/dist/components/cards/parts/aurora-card-attention-banner.d.ts +20 -0
- package/dist/components/cards/parts/aurora-card-attention-banner.d.ts.map +1 -0
- package/dist/components/cards/parts/aurora-card-filter-item.d.ts +9 -0
- package/dist/components/cards/parts/aurora-card-filter-item.d.ts.map +1 -0
- package/dist/components/cards/parts/aurora-card-filter.d.ts +19 -0
- package/dist/components/cards/parts/aurora-card-filter.d.ts.map +1 -0
- package/dist/components/cards/parts/aurora-card-header.d.ts +19 -0
- package/dist/components/cards/parts/aurora-card-header.d.ts.map +1 -0
- package/dist/components/cards/parts/aurora-card-resource-table.d.ts +20 -0
- package/dist/components/cards/parts/aurora-card-resource-table.d.ts.map +1 -0
- package/dist/components/cards/parts/aurora-card-stat-item.d.ts +12 -0
- package/dist/components/cards/parts/aurora-card-stat-item.d.ts.map +1 -0
- package/dist/components/cards/parts/aurora-card-stats-row.d.ts +10 -0
- package/dist/components/cards/parts/aurora-card-stats-row.d.ts.map +1 -0
- package/dist/components/cards/parts/aurora-card-status-bar.d.ts +14 -0
- package/dist/components/cards/parts/aurora-card-status-bar.d.ts.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1222 -2
- package/dist/index.js.map +1 -1
- package/dist/styles/aurora-theme.d.ts +1 -1
- package/package.json +11 -4
- package/dist/components/aurora-button.js +0 -49
- package/dist/components/aurora-button.js.map +0 -1
- package/dist/styles/aurora-theme.js +0 -43
- package/dist/styles/aurora-theme.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
export declare class AuroraButton extends LitElement {
|
|
3
|
-
static styles: import(
|
|
3
|
+
static styles: import('lit').CSSResult;
|
|
4
4
|
disabled: boolean;
|
|
5
|
-
render(): import(
|
|
5
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
6
6
|
}
|
|
7
7
|
declare global {
|
|
8
8
|
interface HTMLElementTagNameMap {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ActionMenuItem, CardBadge, CardFilterItem, MainStatsType, TableStatsType } from './card.types.js';
|
|
3
|
+
export declare class AuroraBaseCard extends LitElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
cardType: 'account' | 'environment' | 'tenant';
|
|
6
|
+
name: string;
|
|
7
|
+
logoSrc: string | null;
|
|
8
|
+
tenantOrAccount: string;
|
|
9
|
+
badge: CardBadge;
|
|
10
|
+
subtitle: string;
|
|
11
|
+
mainStats: MainStatsType[];
|
|
12
|
+
compact: boolean;
|
|
13
|
+
tableStats: TableStatsType[];
|
|
14
|
+
attentionThreshold: number;
|
|
15
|
+
filterItems: CardFilterItem[];
|
|
16
|
+
selected: string | null;
|
|
17
|
+
filterOpened: boolean;
|
|
18
|
+
emptyLabel: string;
|
|
19
|
+
emptyActionLabel: string;
|
|
20
|
+
attentionLabel: string;
|
|
21
|
+
showAttention: boolean;
|
|
22
|
+
isPlainRole: boolean;
|
|
23
|
+
isDeleting: boolean;
|
|
24
|
+
isDisabled: boolean;
|
|
25
|
+
showActionBanner: boolean;
|
|
26
|
+
showWarningBanner: boolean;
|
|
27
|
+
manageLabel: string;
|
|
28
|
+
askOwnerLabel: string;
|
|
29
|
+
invalidCredsLabel: string;
|
|
30
|
+
limitReachedLabel: string;
|
|
31
|
+
andLabel: string;
|
|
32
|
+
actionBannerLabel: string;
|
|
33
|
+
moreActionsOpen: boolean;
|
|
34
|
+
moreActionsOptions: ActionMenuItem[];
|
|
35
|
+
isFreeIaaS: boolean;
|
|
36
|
+
closeLabel: string;
|
|
37
|
+
moreActionsLabel: string;
|
|
38
|
+
freeIaasLabel: string;
|
|
39
|
+
freeIaasTitle: string;
|
|
40
|
+
freeIaasDesc: string;
|
|
41
|
+
haLabel: string;
|
|
42
|
+
haTitle: string;
|
|
43
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=aurora-base-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-base-card.d.ts","sourceRoot":"","sources":["../../../src/components/cards/aurora-base-card.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC3G,OAAO,0BAA0B,CAAC;AAClC,OAAO,+BAA+B,CAAC;AACvC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,+BAA+B,CAAC;AACvC,OAAO,uCAAuC,CAAC;AAC/C,OAAO,mCAAmC,CAAC;AAE3C,qBACa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,4BAaX;IAE0B,QAAQ,EAAE,SAAS,GAAG,aAAa,GAAG,QAAQ,CAAa;IAC3D,IAAI,SAAM;IACV,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,eAAe,SAAM;IACrB,KAAK,EAAE,SAAS,CAAU;IAC1B,QAAQ,SAAM;IAEf,SAAS,EAAE,aAAa,EAAE,CAAM;IAC9B,OAAO,UAAS;IAElB,UAAU,EAAE,cAAc,EAAE,CAAM;IACjC,kBAAkB,SAAM;IAEzB,WAAW,EAAE,cAAc,EAAE,CAAM;IAClC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,YAAY,UAAS;IACtB,UAAU,SAAM;IAChB,gBAAgB,SAAM;IACtB,cAAc,SAAsB;IACnC,aAAa,UAAS;IACtB,WAAW,UAAS;IACpB,UAAU,UAAS;IACnB,UAAU,UAAS;IAEnB,gBAAgB,UAAS;IACzB,iBAAiB,UAAS;IAC3B,WAAW,SAAY;IACvB,aAAa,SAAoB;IACjC,iBAAiB,SAA0B;IAC3C,iBAAiB,SAAoB;IACrC,QAAQ,SAAS;IACjB,iBAAiB,SAAM;IAEtB,eAAe,UAAS;IAC1B,kBAAkB,EAAE,cAAc,EAAE,CAAM;IACxC,UAAU,UAAS;IACpB,UAAU,SAAW;IACrB,gBAAgB,SAAU;IAE1B,aAAa,SAAe;IAC5B,aAAa,SAAyB;IACtC,YAAY,SAAgD;IAC5D,OAAO,SAAsB;IAC7B,OAAO,SAA+B;IAElE,MAAM;CAyFP"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ActionMenuItem } from './card.types.js';
|
|
3
|
+
export declare class AuroraMoreActions extends LitElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
open: boolean;
|
|
6
|
+
placement: 'top' | 'bottom';
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
options: ActionMenuItem[];
|
|
9
|
+
title: string;
|
|
10
|
+
iconName: string;
|
|
11
|
+
openToRight: boolean;
|
|
12
|
+
closeLabel: string;
|
|
13
|
+
moreActionsLabel: string;
|
|
14
|
+
private _fixedPos;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
private _handleOutsideClick;
|
|
18
|
+
private _handleScroll;
|
|
19
|
+
private _toggle;
|
|
20
|
+
private _handleSlotClick;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=aurora-more-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-more-actions.d.ts","sourceRoot":"","sources":["../../../src/components/cards/aurora-more-actions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,4BAGX;IAE2B,IAAI,UAAS;IACd,SAAS,EAAE,KAAK,GAAG,QAAQ,CAAY;IACtC,QAAQ,UAAS;IACnB,OAAO,EAAE,cAAc,EAAE,CAAM;IAC9B,KAAK,SAAM;IACX,QAAQ,SAAM;IACb,WAAW,UAAS;IACrB,UAAU,SAAW;IACrB,gBAAgB,SAAU;IAE7C,OAAO,CAAC,SAAS,CAAwB;IAElD,iBAAiB;IAMjB,oBAAoB;IAMpB,OAAO,CAAC,mBAAmB,CAKzB;IAEF,OAAO,CAAC,aAAa,CAKnB;IAEF,OAAO,CAAC,OAAO;IAcf,OAAO,CAAC,gBAAgB;IAKxB,MAAM;CAkDP"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { TableStatsType, RuntimeFilterRole } from './card.types.js';
|
|
3
|
+
export declare class AuroraRuntimeCard extends LitElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
name: string;
|
|
6
|
+
logo: string;
|
|
7
|
+
revisions: Array<{
|
|
8
|
+
id: string;
|
|
9
|
+
}>;
|
|
10
|
+
displayedRevision: string;
|
|
11
|
+
lastDeployed: string;
|
|
12
|
+
isDeployed: boolean;
|
|
13
|
+
tableStats: TableStatsType[];
|
|
14
|
+
attentionThreshold: number;
|
|
15
|
+
filterOpened: boolean;
|
|
16
|
+
filterDisplayText: string;
|
|
17
|
+
filterRoles: RuntimeFilterRole[];
|
|
18
|
+
showAttention: boolean;
|
|
19
|
+
borderColor: string;
|
|
20
|
+
statusCode: string;
|
|
21
|
+
statusMessage: string;
|
|
22
|
+
isRemoving: boolean;
|
|
23
|
+
deployedLabel: string;
|
|
24
|
+
allLabel: string;
|
|
25
|
+
attentionLabel: string;
|
|
26
|
+
serviceDetailLabel: string;
|
|
27
|
+
manageLabel: string;
|
|
28
|
+
askOwnerLabel: string;
|
|
29
|
+
invalidCredsLabel: string;
|
|
30
|
+
limitReachedLabel: string;
|
|
31
|
+
andLabel: string;
|
|
32
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
33
|
+
private _renderHeader;
|
|
34
|
+
private _renderDeployInfo;
|
|
35
|
+
private _renderTable;
|
|
36
|
+
private _renderFooter;
|
|
37
|
+
private _formatRevision;
|
|
38
|
+
private _onRevisionChange;
|
|
39
|
+
private _onToggleFilter;
|
|
40
|
+
private _onFilterChange;
|
|
41
|
+
private _onServiceDetail;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=aurora-runtime-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-runtime-card.d.ts","sourceRoot":"","sources":["../../../src/components/cards/aurora-runtime-card.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,uCAAuC,CAAC;AAE/C,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,4BAqCX;IAE0B,IAAI,SAAM;IACV,IAAI,SAAM;IACX,SAAS,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAM;IACrC,iBAAiB,SAAM;IACvB,YAAY,SAAM;IACjB,UAAU,UAAS;IACrB,UAAU,EAAE,cAAc,EAAE,CAAM;IACjC,kBAAkB,SAAM;IACvB,YAAY,UAAS;IACtB,iBAAiB,SAAM;IACxB,WAAW,EAAE,iBAAiB,EAAE,CAAM;IACpC,aAAa,UAAS;IACvB,WAAW,SAAM;IACjB,UAAU,SAAM;IAChB,aAAa,SAAM;IAClB,UAAU,UAAS;IAEpB,aAAa,SAAc;IAC3B,QAAQ,SAA2B;IACnC,cAAc,SAAsB;IACpC,kBAAkB,SAAoB;IACtC,WAAW,SAAY;IACvB,aAAa,SAAoB;IACjC,iBAAiB,SAA0B;IAC3C,iBAAiB,SAAoB;IACrC,QAAQ,SAAS;IAE7C,MAAM;IAoBN,OAAO,CAAC,aAAa;IAsBrB,OAAO,CAAC,iBAAiB;IAWzB,OAAO,CAAC,YAAY;IA2DpB,OAAO,CAAC,aAAa;IAqBrB,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,gBAAgB;CAGzB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type CardBadge = 'free-iaas' | 'ha' | 'none';
|
|
2
|
+
export interface CardFilterItem {
|
|
3
|
+
name: string;
|
|
4
|
+
showAttention: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface TableStatsType {
|
|
7
|
+
title: string;
|
|
8
|
+
value: number | string;
|
|
9
|
+
percentage: number;
|
|
10
|
+
icon: string;
|
|
11
|
+
iconRotation?: number;
|
|
12
|
+
minValue?: number | string;
|
|
13
|
+
maxValue?: number | string;
|
|
14
|
+
tagValue?: string;
|
|
15
|
+
isSecondary?: boolean;
|
|
16
|
+
hidden?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface MainStatsType {
|
|
19
|
+
title: string;
|
|
20
|
+
value: number;
|
|
21
|
+
label: string;
|
|
22
|
+
onClickLabel?: () => void;
|
|
23
|
+
active?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface ActionMenuItem {
|
|
26
|
+
label: string;
|
|
27
|
+
icon: string;
|
|
28
|
+
type: 'primary' | 'secondary' | 'tertiary' | 'error' | 'warning';
|
|
29
|
+
onTap: (e: Event) => void;
|
|
30
|
+
}
|
|
31
|
+
export interface RuntimeFilterRole {
|
|
32
|
+
name: string;
|
|
33
|
+
logo?: string;
|
|
34
|
+
instances: Array<{
|
|
35
|
+
name: string;
|
|
36
|
+
needsAttention: boolean;
|
|
37
|
+
}>;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=card.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.types.d.ts","sourceRoot":"","sources":["../../../src/components/cards/card.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,IAAI,GAAG,MAAM,CAAC;AAEpD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,CAAC;IACjE,KAAK,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC7D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class AuroraCardActionBanner extends LitElement {
|
|
3
|
+
static styles: import('lit').CSSResult[];
|
|
4
|
+
label: string;
|
|
5
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
6
|
+
private _onClick;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=aurora-card-action-banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-card-action-banner.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/aurora-card-action-banner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAGvD,qBACa,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAC,MAAM,4BAQX;IAE0B,KAAK,SAAkB;IAEnD,MAAM;IAWN,OAAO,CAAC,QAAQ;CAGjB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { TableStatsType } from '../card.types.js';
|
|
3
|
+
export declare class AuroraCardAttentionBanner extends LitElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
cardType: 'account' | 'environment' | 'tenant';
|
|
6
|
+
tableStats: TableStatsType[];
|
|
7
|
+
threshold: number;
|
|
8
|
+
isPlainRole: boolean;
|
|
9
|
+
invalidCredentials: boolean;
|
|
10
|
+
manageLabel: string;
|
|
11
|
+
askOwnerLabel: string;
|
|
12
|
+
invalidCredsLabel: string;
|
|
13
|
+
limitReachedLabel: string;
|
|
14
|
+
andLabel: string;
|
|
15
|
+
private _getExceeded;
|
|
16
|
+
private _formatList;
|
|
17
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
18
|
+
private _onManage;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=aurora-card-attention-banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-card-attention-banner.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/aurora-card-attention-banner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBACa,yBAA0B,SAAQ,UAAU;IACvD,MAAM,CAAC,MAAM,4BAMX;IAE0B,QAAQ,EAAE,SAAS,GAAG,aAAa,GAAG,QAAQ,CAAa;IAC5D,UAAU,EAAE,cAAc,EAAE,CAAM;IACjC,SAAS,SAAM;IACd,WAAW,UAAS;IACpB,kBAAkB,UAAS;IAC5B,WAAW,SAAY;IACvB,aAAa,SAAoB;IACjC,iBAAiB,SAA0B;IAC3C,iBAAiB,SAAoB;IACrC,QAAQ,SAAS;IAE7C,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,WAAW;IAMnB,MAAM;IAuBN,OAAO,CAAC,SAAS;CAGlB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class AuroraCardFilterItem extends LitElement {
|
|
3
|
+
static styles: import('lit').CSSResult[];
|
|
4
|
+
name: string;
|
|
5
|
+
showAttention: boolean;
|
|
6
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
7
|
+
private _onClick;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=aurora-card-filter-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-card-filter-item.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/aurora-card-filter-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAGvD,qBACa,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAC,MAAM,4BAGX;IAE0B,IAAI,SAAM;IACT,aAAa,UAAS;IAEnD,MAAM;IAcN,OAAO,CAAC,QAAQ;CAKjB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { CardFilterItem } from '../card.types.js';
|
|
3
|
+
export declare class AuroraCardFilter extends LitElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
items: CardFilterItem[];
|
|
6
|
+
selected: string | null;
|
|
7
|
+
emptyLabel: string;
|
|
8
|
+
emptyActionLabel: string;
|
|
9
|
+
attentionLabel: string;
|
|
10
|
+
showAttention: boolean;
|
|
11
|
+
opened: boolean;
|
|
12
|
+
isPlainRole: boolean;
|
|
13
|
+
isDisabled: boolean;
|
|
14
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
15
|
+
private _onToggle;
|
|
16
|
+
private _onSelect;
|
|
17
|
+
private _onEmptyAction;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=aurora-card-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-card-filter.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/aurora-card-filter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,8BAA8B,CAAC;AAEtC,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAGX;IAEyB,KAAK,EAAE,cAAc,EAAE,CAAM;IAC5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC/B,UAAU,SAAM;IAChB,gBAAgB,SAAM;IACtB,cAAc,SAAsB;IACnC,aAAa,UAAS;IACtB,MAAM,UAAS;IACf,WAAW,UAAS;IACpB,UAAU,UAAS;IAEhD,MAAM;IAiDN,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,cAAc;CAGvB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { CardBadge } from '../card.types.js';
|
|
3
|
+
export declare class AuroraCardHeader extends LitElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
logoSrc: string | null;
|
|
6
|
+
tenantOrAccount: string;
|
|
7
|
+
name: string;
|
|
8
|
+
badge: CardBadge;
|
|
9
|
+
subtitle: string;
|
|
10
|
+
cardType: 'account' | 'environment' | 'tenant';
|
|
11
|
+
freeIaasLabel: string;
|
|
12
|
+
freeIaasTitle: string;
|
|
13
|
+
freeIaasDesc: string;
|
|
14
|
+
haLabel: string;
|
|
15
|
+
haTitle: string;
|
|
16
|
+
private _renderBadge;
|
|
17
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=aurora-card-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-card-header.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/aurora-card-header.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAMX;IAE0B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,eAAe,SAAM;IACrB,IAAI,SAAM;IACV,KAAK,EAAE,SAAS,CAAU;IAC1B,QAAQ,SAAM;IACd,QAAQ,EAAE,SAAS,GAAG,aAAa,GAAG,QAAQ,CAAa;IAC3D,aAAa,SAAe;IAC5B,aAAa,SAAyB;IACtC,YAAY,SAAgD;IAC5D,OAAO,SAAsB;IAC7B,OAAO,SAA+B;IAElE,OAAO,CAAC,YAAY;IAyBpB,MAAM;CAkDP"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { TableStatsType } from '../card.types.js';
|
|
3
|
+
export declare class AuroraCardResourceTable extends LitElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
rows: TableStatsType[];
|
|
6
|
+
attentionThreshold: number;
|
|
7
|
+
cardType: 'account' | 'environment' | 'tenant';
|
|
8
|
+
isPlainRole: boolean;
|
|
9
|
+
showActionBanner: boolean;
|
|
10
|
+
showWarningBanner: boolean;
|
|
11
|
+
manageLabel: string;
|
|
12
|
+
askOwnerLabel: string;
|
|
13
|
+
invalidCredsLabel: string;
|
|
14
|
+
limitReachedLabel: string;
|
|
15
|
+
andLabel: string;
|
|
16
|
+
actionBannerLabel: string;
|
|
17
|
+
private _hasAttention;
|
|
18
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=aurora-card-resource-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-card-resource-table.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/aurora-card-resource-table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,mCAAmC,CAAC;AAC3C,OAAO,gCAAgC,CAAC;AAExC,qBACa,uBAAwB,SAAQ,UAAU;IACrD,MAAM,CAAC,MAAM,4BAGX;IAEyB,IAAI,EAAE,cAAc,EAAE,CAAM;IAC3B,kBAAkB,SAAM;IACxB,QAAQ,EAAE,SAAS,GAAG,aAAa,GAAG,QAAQ,CAAa;IAC1D,WAAW,UAAS;IACpB,gBAAgB,UAAS;IACzB,iBAAiB,UAAS;IAC3B,WAAW,SAAY;IACvB,aAAa,SAAoB;IACjC,iBAAiB,SAA0B;IAC3C,iBAAiB,SAAoB;IACrC,QAAQ,SAAS;IACjB,iBAAiB,SAAM;IAEnD,OAAO,CAAC,aAAa;IAKrB,MAAM;CA8FP"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class AuroraCardStatItem extends LitElement {
|
|
3
|
+
static styles: import('lit').CSSResult[];
|
|
4
|
+
value: number;
|
|
5
|
+
title: string;
|
|
6
|
+
label: string;
|
|
7
|
+
active: boolean;
|
|
8
|
+
compact: boolean;
|
|
9
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
10
|
+
private _onClick;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=aurora-card-stat-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-card-stat-item.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/aurora-card-stat-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAGvD,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAGX;IAE0B,KAAK,EAAE,MAAM,CAAK;IAClB,KAAK,SAAM;IACX,KAAK,SAAM;IACV,MAAM,UAAQ;IACd,OAAO,UAAS;IAE7C,MAAM;IAaN,OAAO,CAAC,QAAQ;CAKjB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { MainStatsType } from '../card.types.js';
|
|
3
|
+
export declare class AuroraCardStatsRow extends LitElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
stats: MainStatsType[];
|
|
6
|
+
compact: boolean;
|
|
7
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
+
private _handleLabelClick;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=aurora-card-stats-row.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-card-stats-row.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/aurora-card-stats-row.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,4BAA4B,CAAC;AAEpC,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAGX;IAEyB,KAAK,EAAE,aAAa,EAAE,CAAM;IAC1B,OAAO,UAAS;IAE7C,MAAM;IAmBN,OAAO,CAAC,iBAAiB;CAK1B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ActionMenuItem } from '../card.types.js';
|
|
3
|
+
export declare class AuroraCardStatusBar extends LitElement {
|
|
4
|
+
static styles: import('lit').CSSResult[];
|
|
5
|
+
isFreeIaaS: boolean;
|
|
6
|
+
isPlainRole: boolean;
|
|
7
|
+
moreActionsOpen: boolean;
|
|
8
|
+
moreActionsOptions: ActionMenuItem[];
|
|
9
|
+
closeLabel: string;
|
|
10
|
+
moreActionsLabel: string;
|
|
11
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
12
|
+
private _onToggled;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=aurora-card-status-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aurora-card-status-bar.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/aurora-card-status-bar.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,2BAA2B,CAAC;AAEnC,qBACa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,4BAGX;IAE2B,UAAU,UAAS;IACnB,WAAW,UAAS;IACpB,eAAe,UAAS;IAC1B,kBAAkB,EAAE,cAAc,EAAE,CAAM;IACzC,UAAU,SAAW;IACrB,gBAAgB,SAAU;IAEtD,MAAM;IAsBN,OAAO,CAAC,UAAU;CAKnB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
1
|
export * from './components/aurora-button.js';
|
|
2
2
|
export * from './styles/aurora-theme.js';
|
|
3
|
+
export * from './components/cards/card.types.js';
|
|
4
|
+
export * from './components/cards/aurora-more-actions.js';
|
|
5
|
+
export * from './components/cards/aurora-base-card.js';
|
|
6
|
+
export * from './components/cards/aurora-runtime-card.js';
|
|
7
|
+
export * from './components/cards/parts/aurora-card-header.js';
|
|
8
|
+
export * from './components/cards/parts/aurora-card-stat-item.js';
|
|
9
|
+
export * from './components/cards/parts/aurora-card-stats-row.js';
|
|
10
|
+
export * from './components/cards/parts/aurora-card-filter-item.js';
|
|
11
|
+
export * from './components/cards/parts/aurora-card-filter.js';
|
|
12
|
+
export * from './components/cards/parts/aurora-card-resource-table.js';
|
|
13
|
+
export * from './components/cards/parts/aurora-card-attention-banner.js';
|
|
14
|
+
export * from './components/cards/parts/aurora-card-action-banner.js';
|
|
15
|
+
export * from './components/cards/parts/aurora-card-status-bar.js';
|
|
3
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mDAAmD,CAAC;AAClE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qDAAqD,CAAC;AACpE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wDAAwD,CAAC;AACvE,cAAc,0DAA0D,CAAC;AACzE,cAAc,uDAAuD,CAAC;AACtE,cAAc,oDAAoD,CAAC"}
|