@kumori/aurora-wui-components 0.0.285-dev4269.2 → 0.0.285-dev4269.4
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/cards/axebow-base-card.d.ts +3 -0
- package/dist/components/cards/axebow-base-card.d.ts.map +1 -1
- package/dist/components/cards/card.models.d.ts +2 -0
- package/dist/components/cards/card.models.d.ts.map +1 -1
- package/dist/components/cards/parts/axebow-card-footer.d.ts +3 -0
- package/dist/components/cards/parts/axebow-card-footer.d.ts.map +1 -1
- package/dist/components/cards/parts/axebow-card-stat-item.d.ts +2 -0
- package/dist/components/cards/parts/axebow-card-stat-item.d.ts.map +1 -1
- package/dist/components/cards/parts/axebow-card-stats-row.d.ts.map +1 -1
- package/dist/components/cards/parts/axebow-card-status.d.ts +5 -0
- package/dist/components/cards/parts/axebow-card-status.d.ts.map +1 -1
- package/dist/index.js +59 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -32,6 +32,9 @@ export declare class AxebowBaseCard extends LitElement {
|
|
|
32
32
|
statusCode: string;
|
|
33
33
|
statusMessage: string;
|
|
34
34
|
serviceDetailLabel: string;
|
|
35
|
+
ctaText: string;
|
|
36
|
+
ctaIconName: string;
|
|
37
|
+
ctaIconColor: string;
|
|
35
38
|
showActionBanner: boolean;
|
|
36
39
|
showWarningBanner: boolean;
|
|
37
40
|
manageLabel: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-base-card.d.ts","sourceRoot":"","sources":["../../../src/components/cards/axebow-base-card.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EACL,cAAc,EACd,SAAS,EACT,cAAc,EACd,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,iDAAiD,CAAC;AACzD,OAAO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KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;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;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB"}
|
|
@@ -13,6 +13,9 @@ export declare class AxebowCardFooter extends LitElement {
|
|
|
13
13
|
closeLabel: string;
|
|
14
14
|
moreActionsLabel: string;
|
|
15
15
|
actionLabel: string;
|
|
16
|
+
ctaText: string;
|
|
17
|
+
ctaIconName: string;
|
|
18
|
+
ctaIconColor: string;
|
|
16
19
|
render(): import('lit-html').TemplateResult<1>;
|
|
17
20
|
private _onToggled;
|
|
18
21
|
private _onAction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-card-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-footer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yBAAyB,CAAC;AAEjC,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAGX;IAE2B,UAAU,UAAS;IACnB,WAAW,UAAS;IACrB,UAAU,SAAM;IAChB,aAAa,SAAM;IACnB,WAAW,SAAM;IAChB,WAAW,UAAS;IACpB,eAAe,UAAS;IAC1B,kBAAkB,EAAE,cAAc,EAAE,CAAM;IACzC,UAAU,SAAW;IACrB,gBAAgB,SAAU;IAC1B,WAAW,SAAM;
|
|
1
|
+
{"version":3,"file":"axebow-card-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-footer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yBAAyB,CAAC;AAEjC,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAGX;IAE2B,UAAU,UAAS;IACnB,WAAW,UAAS;IACrB,UAAU,SAAM;IAChB,aAAa,SAAM;IACnB,WAAW,SAAM;IAChB,WAAW,UAAS;IACpB,eAAe,UAAS;IAC1B,kBAAkB,EAAE,cAAc,EAAE,CAAM;IACzC,UAAU,SAAW;IACrB,gBAAgB,SAAU;IAC1B,WAAW,SAAM;IACjB,OAAO,SAAM;IACb,WAAW,SAAU;IACrB,YAAY,SAAyB;IAEjE,MAAM;IA8CN,OAAO,CAAC,UAAU;IAMlB,OAAO,CAAC,SAAS;CAGlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-card-stat-item.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-stat-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,kCAAkC,CAAC;AAE1C,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAGX;IAE0B,KAAK,EAAE,MAAM,CAAK;IAClB,KAAK,SAAM;IACX,KAAK,SAAM;IACV,MAAM,UAAQ;IACf,QAAQ,SAAK;
|
|
1
|
+
{"version":3,"file":"axebow-card-stat-item.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-stat-item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,kCAAkC,CAAC;AAE1C,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAGX;IAE0B,KAAK,EAAE,MAAM,CAAK;IAClB,KAAK,SAAM;IACX,KAAK,SAAM;IACV,MAAM,UAAQ;IACf,QAAQ,SAAK;IACb,WAAW,SAAU;IACrB,YAAY,SAAyB;IAEjE,MAAM;IAmCN,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,WAAW;CAGpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-card-stats-row.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-stats-row.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,4BAA4B,CAAC;AAEpC,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAGX;IAEyB,KAAK,EAAE,aAAa,EAAE,CAAM;IAC3B,QAAQ,EAAE,QAAQ,CAAa;IAE3D,OAAO,CAAC,WAAW;IAInB,MAAM;
|
|
1
|
+
{"version":3,"file":"axebow-card-stats-row.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-stats-row.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,4BAA4B,CAAC;AAEpC,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAGX;IAEyB,KAAK,EAAE,aAAa,EAAE,CAAM;IAC3B,QAAQ,EAAE,QAAQ,CAAa;IAE3D,OAAO,CAAC,WAAW;IAInB,MAAM;IAwBN,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,eAAe;CAKxB"}
|
|
@@ -5,6 +5,11 @@ export declare class AxebowCardStatus extends LitElement {
|
|
|
5
5
|
statusMessage: string;
|
|
6
6
|
borderColor: string;
|
|
7
7
|
showSpinner: boolean;
|
|
8
|
+
ctaText: string;
|
|
9
|
+
ctaIconName: string;
|
|
10
|
+
ctaIconColor: string;
|
|
8
11
|
render(): import('lit-html').TemplateResult<1>;
|
|
12
|
+
private _onCtaClick;
|
|
13
|
+
private _onCtaKeydown;
|
|
9
14
|
}
|
|
10
15
|
//# sourceMappingURL=axebow-card-status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-card-status.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-status.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,wCAAwC,CAAC;AAChD,OAAO,6DAA6D,CAAC;AACrE,OAAO,kCAAkC,CAAC;AAE1C,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAOX;IAE0B,UAAU,SAAM;IAChB,aAAa,SAAM;IACnB,WAAW,SAAM;IAChB,WAAW,UAAS;
|
|
1
|
+
{"version":3,"file":"axebow-card-status.d.ts","sourceRoot":"","sources":["../../../../src/components/cards/parts/axebow-card-status.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,wCAAwC,CAAC;AAChD,OAAO,6DAA6D,CAAC;AACrE,OAAO,kCAAkC,CAAC;AAE1C,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,4BAOX;IAE0B,UAAU,SAAM;IAChB,aAAa,SAAM;IACnB,WAAW,SAAM;IAChB,WAAW,UAAS;IACrB,OAAO,SAAM;IACb,WAAW,SAAU;IACrB,YAAY,SAAyB;IAEjE,MAAM;IAkCN,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,aAAa;CAMtB"}
|
package/dist/index.js
CHANGED
|
@@ -6049,6 +6049,8 @@ var AxebowCardStatItem = class AxebowCardStatItem extends LitElement {
|
|
|
6049
6049
|
this.label = "";
|
|
6050
6050
|
this.active = true;
|
|
6051
6051
|
this.ctaCount = 0;
|
|
6052
|
+
this.ctaIconName = "info";
|
|
6053
|
+
this.ctaIconColor = "var(--axebow-error)";
|
|
6052
6054
|
}
|
|
6053
6055
|
static {
|
|
6054
6056
|
this.styles = [unsafeCSS(tailwind_default), css`:host { display: block; }`];
|
|
@@ -6061,11 +6063,11 @@ var AxebowCardStatItem = class AxebowCardStatItem extends LitElement {
|
|
|
6061
6063
|
${this.ctaCount > 0 ? html`
|
|
6062
6064
|
<span
|
|
6063
6065
|
class="flex items-center gap-0.5 cursor-pointer"
|
|
6064
|
-
style="color:
|
|
6066
|
+
style="color: ${this.ctaIconColor};"
|
|
6065
6067
|
@click=${this._onCtaClick}
|
|
6066
6068
|
>
|
|
6067
6069
|
<div class="w-5 h-5 shrink-0 flex items-center justify-center">
|
|
6068
|
-
<axebow-icon iconName
|
|
6070
|
+
<axebow-icon iconName=${this.ctaIconName} iconColor=${this.ctaIconColor} size="md"></axebow-icon>
|
|
6069
6071
|
</div>
|
|
6070
6072
|
<span class="text-base font-semibold leading-none whitespace-nowrap">${this.ctaCount}</span>
|
|
6071
6073
|
</span>
|
|
@@ -6101,6 +6103,8 @@ __decorate([property({ type: String })], AxebowCardStatItem.prototype, "title",
|
|
|
6101
6103
|
__decorate([property({ type: String })], AxebowCardStatItem.prototype, "label", void 0);
|
|
6102
6104
|
__decorate([property({ type: Boolean })], AxebowCardStatItem.prototype, "active", void 0);
|
|
6103
6105
|
__decorate([property({ type: Number })], AxebowCardStatItem.prototype, "ctaCount", void 0);
|
|
6106
|
+
__decorate([property({ type: String })], AxebowCardStatItem.prototype, "ctaIconName", void 0);
|
|
6107
|
+
__decorate([property({ type: String })], AxebowCardStatItem.prototype, "ctaIconColor", void 0);
|
|
6104
6108
|
AxebowCardStatItem = __decorate([customElement("axebow-card-stat-item")], AxebowCardStatItem);
|
|
6105
6109
|
//#endregion
|
|
6106
6110
|
//#region src/components/cards/parts/axebow-card-stats-row.ts
|
|
@@ -6126,6 +6130,8 @@ var AxebowCardStatsRow = class AxebowCardStatsRow extends LitElement {
|
|
|
6126
6130
|
.label=${stat.label}
|
|
6127
6131
|
.active=${stat.active !== false}
|
|
6128
6132
|
.ctaCount=${stat.ctaCount ?? 0}
|
|
6133
|
+
.ctaIconName=${stat.ctaIconName ?? "info"}
|
|
6134
|
+
.ctaIconColor=${stat.ctaIconColor ?? "var(--axebow-error)"}
|
|
6129
6135
|
@label-click=${() => this._handleLabelClick(index)}
|
|
6130
6136
|
@cta-click=${() => this._handleCtaClick(index)}
|
|
6131
6137
|
></axebow-card-stat-item>
|
|
@@ -6548,6 +6554,9 @@ var AxebowCardStatus = class AxebowCardStatus extends LitElement {
|
|
|
6548
6554
|
this.statusMessage = "";
|
|
6549
6555
|
this.borderColor = "";
|
|
6550
6556
|
this.showSpinner = false;
|
|
6557
|
+
this.ctaText = "";
|
|
6558
|
+
this.ctaIconName = "info";
|
|
6559
|
+
this.ctaIconColor = "var(--axebow-error)";
|
|
6551
6560
|
}
|
|
6552
6561
|
static {
|
|
6553
6562
|
this.styles = [unsafeCSS(tailwind_default), css`
|
|
@@ -6557,6 +6566,21 @@ var AxebowCardStatus = class AxebowCardStatus extends LitElement {
|
|
|
6557
6566
|
`];
|
|
6558
6567
|
}
|
|
6559
6568
|
render() {
|
|
6569
|
+
if (this.ctaText) return html`
|
|
6570
|
+
<div
|
|
6571
|
+
class="flex items-center gap-1 min-w-0 w-full text-base whitespace-nowrap cursor-pointer"
|
|
6572
|
+
style="color: ${this.ctaIconColor};"
|
|
6573
|
+
role="button"
|
|
6574
|
+
tabindex="0"
|
|
6575
|
+
@click=${this._onCtaClick}
|
|
6576
|
+
@keydown=${this._onCtaKeydown}
|
|
6577
|
+
>
|
|
6578
|
+
<div class="w-5 h-5 shrink-0 flex items-center justify-center">
|
|
6579
|
+
<axebow-icon iconName=${this.ctaIconName} iconColor=${this.ctaIconColor} size="md"></axebow-icon>
|
|
6580
|
+
</div>
|
|
6581
|
+
<p class="m-0 truncate">${this.ctaText}</p>
|
|
6582
|
+
</div>
|
|
6583
|
+
`;
|
|
6560
6584
|
if (!this.statusCode) return html`<div class="w-full whitespace-nowrap overflow-hidden text-ellipsis"><slot></slot></div>`;
|
|
6561
6585
|
return html`
|
|
6562
6586
|
<div class="flex items-center gap-1 min-w-0 w-full">
|
|
@@ -6568,11 +6592,26 @@ var AxebowCardStatus = class AxebowCardStatus extends LitElement {
|
|
|
6568
6592
|
</div>
|
|
6569
6593
|
`;
|
|
6570
6594
|
}
|
|
6595
|
+
_onCtaClick() {
|
|
6596
|
+
this.dispatchEvent(new CustomEvent("cta-click", {
|
|
6597
|
+
bubbles: true,
|
|
6598
|
+
composed: true
|
|
6599
|
+
}));
|
|
6600
|
+
}
|
|
6601
|
+
_onCtaKeydown(e) {
|
|
6602
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
6603
|
+
e.preventDefault();
|
|
6604
|
+
this._onCtaClick();
|
|
6605
|
+
}
|
|
6606
|
+
}
|
|
6571
6607
|
};
|
|
6572
6608
|
__decorate([property({ type: String })], AxebowCardStatus.prototype, "statusCode", void 0);
|
|
6573
6609
|
__decorate([property({ type: String })], AxebowCardStatus.prototype, "statusMessage", void 0);
|
|
6574
6610
|
__decorate([property({ type: String })], AxebowCardStatus.prototype, "borderColor", void 0);
|
|
6575
6611
|
__decorate([property({ type: Boolean })], AxebowCardStatus.prototype, "showSpinner", void 0);
|
|
6612
|
+
__decorate([property({ type: String })], AxebowCardStatus.prototype, "ctaText", void 0);
|
|
6613
|
+
__decorate([property({ type: String })], AxebowCardStatus.prototype, "ctaIconName", void 0);
|
|
6614
|
+
__decorate([property({ type: String })], AxebowCardStatus.prototype, "ctaIconColor", void 0);
|
|
6576
6615
|
AxebowCardStatus = __decorate([customElement("axebow-card-status")], AxebowCardStatus);
|
|
6577
6616
|
//#endregion
|
|
6578
6617
|
//#region src/components/cards/parts/axebow-card-footer.ts
|
|
@@ -6590,6 +6629,9 @@ var AxebowCardFooter = class AxebowCardFooter extends LitElement {
|
|
|
6590
6629
|
this.closeLabel = "Close";
|
|
6591
6630
|
this.moreActionsLabel = "More";
|
|
6592
6631
|
this.actionLabel = "";
|
|
6632
|
+
this.ctaText = "";
|
|
6633
|
+
this.ctaIconName = "info";
|
|
6634
|
+
this.ctaIconColor = "var(--axebow-error)";
|
|
6593
6635
|
}
|
|
6594
6636
|
static {
|
|
6595
6637
|
this.styles = [unsafeCSS(tailwind_default), css`:host { display: block; }`];
|
|
@@ -6604,6 +6646,9 @@ var AxebowCardFooter = class AxebowCardFooter extends LitElement {
|
|
|
6604
6646
|
.statusMessage=${this.statusMessage}
|
|
6605
6647
|
.borderColor=${this.borderColor}
|
|
6606
6648
|
.showSpinner=${this.showSpinner}
|
|
6649
|
+
.ctaText=${this.ctaText}
|
|
6650
|
+
.ctaIconName=${this.ctaIconName}
|
|
6651
|
+
.ctaIconColor=${this.ctaIconColor}
|
|
6607
6652
|
>
|
|
6608
6653
|
<slot></slot>
|
|
6609
6654
|
</axebow-card-status>
|
|
@@ -6656,6 +6701,9 @@ __decorate([property({ type: Array })], AxebowCardFooter.prototype, "moreActions
|
|
|
6656
6701
|
__decorate([property({ type: String })], AxebowCardFooter.prototype, "closeLabel", void 0);
|
|
6657
6702
|
__decorate([property({ type: String })], AxebowCardFooter.prototype, "moreActionsLabel", void 0);
|
|
6658
6703
|
__decorate([property({ type: String })], AxebowCardFooter.prototype, "actionLabel", void 0);
|
|
6704
|
+
__decorate([property({ type: String })], AxebowCardFooter.prototype, "ctaText", void 0);
|
|
6705
|
+
__decorate([property({ type: String })], AxebowCardFooter.prototype, "ctaIconName", void 0);
|
|
6706
|
+
__decorate([property({ type: String })], AxebowCardFooter.prototype, "ctaIconColor", void 0);
|
|
6659
6707
|
AxebowCardFooter = __decorate([customElement("axebow-card-footer")], AxebowCardFooter);
|
|
6660
6708
|
//#endregion
|
|
6661
6709
|
//#region src/components/cards/axebow-base-card.ts
|
|
@@ -6696,6 +6744,9 @@ var AxebowBaseCard = class AxebowBaseCard extends LitElement {
|
|
|
6696
6744
|
this.statusCode = "";
|
|
6697
6745
|
this.statusMessage = "";
|
|
6698
6746
|
this.serviceDetailLabel = "Service detail";
|
|
6747
|
+
this.ctaText = "";
|
|
6748
|
+
this.ctaIconName = "info";
|
|
6749
|
+
this.ctaIconColor = "var(--axebow-error)";
|
|
6699
6750
|
this.showActionBanner = false;
|
|
6700
6751
|
this.showWarningBanner = false;
|
|
6701
6752
|
this.manageLabel = "Manage";
|
|
@@ -6896,6 +6947,9 @@ var AxebowBaseCard = class AxebowBaseCard extends LitElement {
|
|
|
6896
6947
|
.closeLabel=${this.closeLabel}
|
|
6897
6948
|
.moreActionsLabel=${this.moreActionsLabel}
|
|
6898
6949
|
.actionLabel=${isRuntime ? this.serviceDetailLabel : ""}
|
|
6950
|
+
.ctaText=${this.ctaText}
|
|
6951
|
+
.ctaIconName=${this.ctaIconName}
|
|
6952
|
+
.ctaIconColor=${this.ctaIconColor}
|
|
6899
6953
|
@more-actions-toggled=${(e) => this.dispatchEvent(new CustomEvent("more-actions-toggled", {
|
|
6900
6954
|
detail: e.detail,
|
|
6901
6955
|
bubbles: true,
|
|
@@ -6948,6 +7002,9 @@ __decorate([property({ type: String })], AxebowBaseCard.prototype, "borderColor"
|
|
|
6948
7002
|
__decorate([property({ type: String })], AxebowBaseCard.prototype, "statusCode", void 0);
|
|
6949
7003
|
__decorate([property({ type: String })], AxebowBaseCard.prototype, "statusMessage", void 0);
|
|
6950
7004
|
__decorate([property({ type: String })], AxebowBaseCard.prototype, "serviceDetailLabel", void 0);
|
|
7005
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "ctaText", void 0);
|
|
7006
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "ctaIconName", void 0);
|
|
7007
|
+
__decorate([property({ type: String })], AxebowBaseCard.prototype, "ctaIconColor", void 0);
|
|
6951
7008
|
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "showActionBanner", void 0);
|
|
6952
7009
|
__decorate([property({ type: Boolean })], AxebowBaseCard.prototype, "showWarningBanner", void 0);
|
|
6953
7010
|
__decorate([property({ type: String })], AxebowBaseCard.prototype, "manageLabel", void 0);
|