@kumori/aurora-wui-components 0.0.337-dev4696.1 → 0.0.337-dev4696.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/axebow-call-to-action-row/axebow-call-to-action-row.d.ts +0 -1
- package/dist/components/axebow-call-to-action-row/axebow-call-to-action-row.d.ts.map +1 -1
- package/dist/components/axebow-call-to-action-row/call-to-action-notification.d.ts +1 -2
- package/dist/components/axebow-call-to-action-row/call-to-action-notification.d.ts.map +1 -1
- package/dist/components/axebow-cta-dialog/axebow-cta-dialog.d.ts.map +1 -1
- package/dist/index.js +13 -26
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,6 @@ export declare class AxebowCallToActionRow extends LitElement {
|
|
|
24
24
|
timeText: string;
|
|
25
25
|
buttons: CallToActionButton[];
|
|
26
26
|
lowNoteText: string;
|
|
27
|
-
count: number;
|
|
28
27
|
static styles: import('lit').CSSResult[];
|
|
29
28
|
render(): import('lit-html').TemplateResult<1>;
|
|
30
29
|
private _renderDescription;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-call-to-action-row.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-call-to-action-row/axebow-call-to-action-row.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AACvC,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAEnF,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC;AAElE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;IACrG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,uBAAuB,EAAE,gBAAgB,CAIhF,CAAC;AAEF,qBACa,qBAAsB,SAAQ,UAAU;IACvB,WAAW,EAAE,uBAAuB,CAAS;IAC7C,OAAO,SAAM;IACb,UAAU,SAAM;IAChB,WAAW,SAAM;IAClB,UAAU,EAAE,0BAA0B,EAAE,CAAM;IAC7C,QAAQ,SAAM;IACf,OAAO,EAAE,kBAAkB,EAAE,CAAM;IAClC,WAAW,SAAM;
|
|
1
|
+
{"version":3,"file":"axebow-call-to-action-row.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-call-to-action-row/axebow-call-to-action-row.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AACvC,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAEnF,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC;AAElE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;IACrG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,uBAAuB,EAAE,gBAAgB,CAIhF,CAAC;AAEF,qBACa,qBAAsB,SAAQ,UAAU;IACvB,WAAW,EAAE,uBAAuB,CAAS;IAC7C,OAAO,SAAM;IACb,UAAU,SAAM;IAChB,WAAW,SAAM;IAClB,UAAU,EAAE,0BAA0B,EAAE,CAAM;IAC7C,QAAQ,SAAM;IACf,OAAO,EAAE,kBAAkB,EAAE,CAAM;IAClC,WAAW,SAAM;IAE7C,MAAM,CAAC,MAAM,4BASX;IAEF,MAAM;IA0BN,OAAO,CAAC,kBAAkB;IAc1B,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,cAAc;CAyBvB"}
|
|
@@ -49,10 +49,9 @@ export declare function getCtaHeading(notification: CallToActionNotification): s
|
|
|
49
49
|
export declare function getCtaDescription(notification: CallToActionNotification): string;
|
|
50
50
|
export declare function getCtaBadgeLabel(notification: CallToActionNotification): string;
|
|
51
51
|
export declare function getCtaBreadcrumb(notification: CallToActionNotification, labels?: CallToActionBreadcrumbLabels): CallToActionBreadcrumbItem[];
|
|
52
|
-
export declare function
|
|
52
|
+
export declare function formatCtaDateTime(date: string | undefined): string;
|
|
53
53
|
export interface GroupedCallToActionNotification {
|
|
54
54
|
notification: CallToActionNotification;
|
|
55
|
-
count: number;
|
|
56
55
|
}
|
|
57
56
|
export declare function groupCallToActionNotifications(notifications: CallToActionNotification[], { byEntity }?: GroupCallToActionOptions): GroupedCallToActionNotification[];
|
|
58
57
|
export declare function buildCtaButtons(notification: CallToActionNotification, dispatch: (detail: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call-to-action-notification.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-call-to-action-row/call-to-action-notification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAElG,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,gBAAgB,EAAE,cAAc,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,uBAAuB,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AAExD,eAAO,MAAM,yBAAyB,EAAE,4BAKvC,CAAC;AAoBF,wBAAgB,qBAAqB,CAAC,aAAa,EAAE;IAAE,WAAW,EAAE,uBAAuB,CAAA;CAAE,EAAE,GAAG,uBAAuB,CAIxH;AAED,wBAAgB,aAAa,CAAC,YAAY,EAAE,wBAAwB,GAAG,MAAM,CAG5E;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,wBAAwB,GAAG,MAAM,CAEhF;AAED,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,wBAAwB,GAAG,MAAM,CAE/E;AAyBD,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,wBAAwB,EACtC,MAAM,GAAE,4BAAwD,GAC/D,0BAA0B,EAAE,CAK9B;AAED,wBAAgB,
|
|
1
|
+
{"version":3,"file":"call-to-action-notification.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-call-to-action-row/call-to-action-notification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAElG,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,gBAAgB,EAAE,cAAc,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,uBAAuB,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AAExD,eAAO,MAAM,yBAAyB,EAAE,4BAKvC,CAAC;AAoBF,wBAAgB,qBAAqB,CAAC,aAAa,EAAE;IAAE,WAAW,EAAE,uBAAuB,CAAA;CAAE,EAAE,GAAG,uBAAuB,CAIxH;AAED,wBAAgB,aAAa,CAAC,YAAY,EAAE,wBAAwB,GAAG,MAAM,CAG5E;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,wBAAwB,GAAG,MAAM,CAEhF;AAED,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,wBAAwB,GAAG,MAAM,CAE/E;AAyBD,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,wBAAwB,EACtC,MAAM,GAAE,4BAAwD,GAC/D,0BAA0B,EAAE,CAK9B;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CASlE;AAED,MAAM,WAAW,+BAA+B;IAC9C,YAAY,EAAE,wBAAwB,CAAC;CACxC;AAED,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,wBAAwB,EAAE,EACzC,EAAE,QAAgB,EAAE,GAAE,wBAA6B,GAClD,+BAA+B,EAAE,CAQnC;AAED,wBAAgB,eAAe,CAC7B,YAAY,EAAE,wBAAwB,EACtC,QAAQ,EAAE,CAAC,MAAM,EAAE;IAAE,YAAY,EAAE,wBAAwB,CAAC;IAAC,MAAM,EAAE,8BAA8B,CAAA;CAAE,KAAK,IAAI,GAC7G,kBAAkB,EAAE,CAStB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-cta-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-cta-dialog/axebow-cta-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,2DAA2D,CAAC;AASnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAE5G,qBACa,eAAgB,SAAQ,UAAU;IACD,IAAI,UAAS;IAC7B,WAAW,SAAgC;IAC3C,WAAW,SAAa;IACzB,aAAa,EAAE,wBAAwB,EAAE,CAAM;IAC1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErD,MAAM,CAAC,MAAM,4BAOX;IAEF,OAAO,CAAC,YAAY;IAIpB,MAAM;
|
|
1
|
+
{"version":3,"file":"axebow-cta-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-cta-dialog/axebow-cta-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAEvD,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,2DAA2D,CAAC;AASnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6DAA6D,CAAC;AAE5G,qBACa,eAAgB,SAAQ,UAAU;IACD,IAAI,UAAS;IAC7B,WAAW,SAAgC;IAC3C,WAAW,SAAa;IACzB,aAAa,EAAE,wBAAwB,EAAE,CAAM;IAC1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErD,MAAM,CAAC,MAAM,4BAOX;IAEF,OAAO,CAAC,YAAY;IAIpB,MAAM;CAoCP"}
|
package/dist/index.js
CHANGED
|
@@ -9054,10 +9054,10 @@ var AxebowResourceCard = class AxebowResourceCard extends LitElement {
|
|
|
9054
9054
|
</button>
|
|
9055
9055
|
|
|
9056
9056
|
<button
|
|
9057
|
-
class="w-20.5 h-8 box-border flex items-center justify-center bg-transparent border-none cursor-pointer rounded whitespace-nowrap
|
|
9057
|
+
class="w-20.5 h-8 box-border flex items-center justify-center bg-transparent border-none cursor-pointer rounded whitespace-nowrap font-semibold text-(--axebow-tertiary) hover:bg-(--axebow-anti-flash-white) hover:text-(--axebow-gray) shrink-0"
|
|
9058
9058
|
@click=${() => row.onSeeHere?.()}
|
|
9059
9059
|
>
|
|
9060
|
-
|
|
9060
|
+
<span class="text-base">${this.seeHereLabel}</span>
|
|
9061
9061
|
</button>
|
|
9062
9062
|
</div>
|
|
9063
9063
|
|
|
@@ -9901,7 +9901,6 @@ var AxebowCallToActionRow = class AxebowCallToActionRow extends LitElement {
|
|
|
9901
9901
|
this.timeText = "";
|
|
9902
9902
|
this.buttons = [];
|
|
9903
9903
|
this.lowNoteText = "";
|
|
9904
|
-
this.count = 1;
|
|
9905
9904
|
}
|
|
9906
9905
|
static {
|
|
9907
9906
|
this.styles = [
|
|
@@ -9929,12 +9928,6 @@ var AxebowCallToActionRow = class AxebowCallToActionRow extends LitElement {
|
|
|
9929
9928
|
<div class="w-full flex flex-row items-center gap-2">
|
|
9930
9929
|
<span class="text-base font-semibold truncate">${this.heading}</span>
|
|
9931
9930
|
${this.badgeLabel ? html`<axebow-badge class="uppercase" bgColor=${bg} textColor=${color}>${this.badgeLabel}</axebow-badge>` : ""}
|
|
9932
|
-
${this.count > 1 ? html`<div
|
|
9933
|
-
class="w-5 h-5 shrink-0 rounded-full border border-solid flex items-center justify-center text-sm font-semibold"
|
|
9934
|
-
style="background-color: ${bg}; color: ${color}; border-color: ${color};"
|
|
9935
|
-
>
|
|
9936
|
-
${this.count}
|
|
9937
|
-
</div>` : ""}
|
|
9938
9931
|
</div>
|
|
9939
9932
|
${this._renderDescription()}
|
|
9940
9933
|
</div>
|
|
@@ -9991,7 +9984,6 @@ __decorate([property({ type: Array })], AxebowCallToActionRow.prototype, "breadc
|
|
|
9991
9984
|
__decorate([property({ type: String })], AxebowCallToActionRow.prototype, "timeText", void 0);
|
|
9992
9985
|
__decorate([property({ type: Array })], AxebowCallToActionRow.prototype, "buttons", void 0);
|
|
9993
9986
|
__decorate([property({ type: String })], AxebowCallToActionRow.prototype, "lowNoteText", void 0);
|
|
9994
|
-
__decorate([property({ type: Number })], AxebowCallToActionRow.prototype, "count", void 0);
|
|
9995
9987
|
AxebowCallToActionRow = __decorate([customElement("axebow-call-to-action-row")], AxebowCallToActionRow);
|
|
9996
9988
|
//#endregion
|
|
9997
9989
|
//#region src/components/axebow-tenant-card/axebow-tenant-card.ts
|
|
@@ -15391,24 +15383,20 @@ function getCtaBreadcrumb(notification, labels = DEFAULT_BREADCRUMB_LABELS) {
|
|
|
15391
15383
|
name: names[level]
|
|
15392
15384
|
}));
|
|
15393
15385
|
}
|
|
15394
|
-
function
|
|
15386
|
+
function formatCtaDateTime(date) {
|
|
15395
15387
|
const numeric = Number(date);
|
|
15396
15388
|
const timestamp = numeric > 0 ? numeric < 0xe8d4a51000 ? numeric * 1e3 : numeric : Date.parse(date ?? "");
|
|
15397
15389
|
if (!Number.isFinite(timestamp)) return "";
|
|
15398
|
-
const
|
|
15399
|
-
|
|
15390
|
+
const moment = new Date(timestamp);
|
|
15391
|
+
const pad = (value) => String(value).padStart(2, "0");
|
|
15392
|
+
return `${`${pad(moment.getDate())}/${pad(moment.getMonth() + 1)}`} • ${`${pad(moment.getHours())}:${pad(moment.getMinutes())}:${pad(moment.getSeconds())}`}`;
|
|
15400
15393
|
}
|
|
15401
15394
|
function groupCallToActionNotifications(notifications, { byEntity = false } = {}) {
|
|
15402
15395
|
const groups = /* @__PURE__ */ new Map();
|
|
15403
15396
|
notifications.forEach((notification) => {
|
|
15404
15397
|
const entityKey = byEntity ? Object.values(getCtaEntityNames(notification)).join("|") : "";
|
|
15405
15398
|
const key = `${notification.criticality}|${getCtaHeading(notification)}|${getCtaDescription(notification)}|${entityKey}`;
|
|
15406
|
-
|
|
15407
|
-
if (existing) existing.count += 1;
|
|
15408
|
-
else groups.set(key, {
|
|
15409
|
-
notification,
|
|
15410
|
-
count: 1
|
|
15411
|
-
});
|
|
15399
|
+
if (!groups.has(key)) groups.set(key, { notification });
|
|
15412
15400
|
});
|
|
15413
15401
|
return [...groups.values()];
|
|
15414
15402
|
}
|
|
@@ -15508,6 +15496,7 @@ var AxebowCallToActionFeature = class AxebowCallToActionFeature extends LitEleme
|
|
|
15508
15496
|
const { color: criticalityColor, iconName } = CRITICALITY_STYLES[this._highestCriticality];
|
|
15509
15497
|
const chevronIconName = this.expanded ? "keyboard_arrow_down" : "chevron_right";
|
|
15510
15498
|
const hasCallToActions = this.callToActions.length > 0;
|
|
15499
|
+
const callToActionGroups = groupCallToActionNotifications(this.callToActions, { byEntity: true });
|
|
15511
15500
|
return html`
|
|
15512
15501
|
<div class="w-full box-border border border-solid border-(--axebow-table-header-border) rounded-lg overflow-hidden flex flex-col axebow-shadow-hover">
|
|
15513
15502
|
<div
|
|
@@ -15522,7 +15511,7 @@ var AxebowCallToActionFeature = class AxebowCallToActionFeature extends LitEleme
|
|
|
15522
15511
|
class="w-6 h-6 shrink-0 rounded-full flex items-center justify-center"
|
|
15523
15512
|
style="background-color: ${hasCallToActions ? this.expanded ? "var(--axebow-white)" : "var(--axebow-base)" : "var(--axebow-success)"};"
|
|
15524
15513
|
>
|
|
15525
|
-
<span class="text-base" style="color: ${hasCallToActions ? "inherit" : "var(--axebow-white)"};">${
|
|
15514
|
+
<span class="text-base" style="color: ${hasCallToActions ? "inherit" : "var(--axebow-white)"};">${callToActionGroups.length}</span>
|
|
15526
15515
|
</div>
|
|
15527
15516
|
</div>
|
|
15528
15517
|
|
|
@@ -15553,15 +15542,14 @@ var AxebowCallToActionFeature = class AxebowCallToActionFeature extends LitEleme
|
|
|
15553
15542
|
` : ""}
|
|
15554
15543
|
${!this.refreshing && this.expanded && hasCallToActions ? html`
|
|
15555
15544
|
<div class="w-full flex flex-col">
|
|
15556
|
-
${
|
|
15545
|
+
${callToActionGroups.map(({ notification }) => html`
|
|
15557
15546
|
<axebow-call-to-action-row
|
|
15558
15547
|
criticality=${notification.criticality}
|
|
15559
15548
|
heading=${getCtaDescription(notification) || getCtaHeading(notification)}
|
|
15560
15549
|
badgeLabel=${getCtaBadgeLabel(notification)}
|
|
15561
15550
|
.breadcrumb=${getCtaBreadcrumb(notification, this.breadcrumbLabels)}
|
|
15562
|
-
timeText=${
|
|
15551
|
+
timeText=${formatCtaDateTime(notification.date)}
|
|
15563
15552
|
lowNoteText=${DEFAULT_LOW_NOTE_TEXT}
|
|
15564
|
-
count=${count}
|
|
15565
15553
|
.buttons=${buildCtaButtons(notification, (detail) => this.dispatchEvent(new CustomEvent("cta-action", {
|
|
15566
15554
|
detail,
|
|
15567
15555
|
bubbles: true,
|
|
@@ -15617,14 +15605,13 @@ var AxebowCtaDialog = class AxebowCtaDialog extends LitElement {
|
|
|
15617
15605
|
@close=${() => this._handleClose()}
|
|
15618
15606
|
>
|
|
15619
15607
|
<div class="flex flex-col gap-2 p-6">
|
|
15620
|
-
${groupCallToActionNotifications(this.notifications).map(({ notification
|
|
15608
|
+
${groupCallToActionNotifications(this.notifications).map(({ notification }) => html`
|
|
15621
15609
|
<axebow-call-to-action-row
|
|
15622
15610
|
criticality=${notification.criticality}
|
|
15623
15611
|
heading=${getCtaHeading(notification)}
|
|
15624
15612
|
badgeLabel=${getCtaBadgeLabel(notification)}
|
|
15625
15613
|
description=${getCtaDescription(notification)}
|
|
15626
15614
|
lowNoteText=${DEFAULT_LOW_NOTE_TEXT}
|
|
15627
|
-
count=${count}
|
|
15628
15615
|
.buttons=${buildCtaButtons(notification, (detail) => this.dispatchEvent(new CustomEvent("cta-action", {
|
|
15629
15616
|
detail,
|
|
15630
15617
|
bubbles: true,
|
|
@@ -17838,6 +17825,6 @@ __decorate([property({ type: Number })], AxebowScrollbar.prototype, "thumbLength
|
|
|
17838
17825
|
__decorate([property({ type: Number })], AxebowScrollbar.prototype, "edgeOffsetRem", void 0);
|
|
17839
17826
|
AxebowScrollbar = __decorate([customElement("axebow-scrollbar")], AxebowScrollbar);
|
|
17840
17827
|
//#endregion
|
|
17841
|
-
export { AxebowActionsFooter, AxebowAdjustmentResourcesCounter, AxebowAlert, AxebowBadge, AxebowBanner, AxebowBaseCard, AxebowBorderContainer, AxebowBoxSection, AxebowBoxedInput, AxebowBreadcrumbHeader, AxebowButton, AxebowCallToActionFeature, AxebowCallToActionRow, AxebowCardActionBanner, AxebowCardAttentionBanner, AxebowCardCloudLogo, AxebowCardFilter, AxebowCardFilterItem, AxebowCardFooter, AxebowCardHeader, AxebowCardResourceRow, AxebowCardResourceTable, AxebowCardSpecialLink, AxebowCardStatItem, AxebowCardStatsRow, AxebowCardStatus, AxebowCardTableHeader, AxebowCardVersionSelector, AxebowCarousel, AxebowCarouselInput, AxebowCarouselSelectorItem, AxebowCarouselSelectorTenant, AxebowChannelConfigPanel, AxebowCheckboxInput, AxebowCollaboratorsDialog, AxebowCopyBox, AxebowCopyIcon, AxebowCtaDialog, AxebowDeleteDataPopup, AxebowDeployCard, AxebowDeploySummary, AxebowDialog, AxebowDivider, AxebowDragDropUploadFile, AxebowDraggableService, AxebowEmptyState, AxebowEmptyStateDescriptionSection, AxebowEmptyStateSelectorSection, AxebowExpandableCard, AxebowExpandableHeader, AxebowFilterBar, AxebowFooter, AxebowFormPanelField, AxebowGettingStartedCard, AxebowGraph, AxebowHeader, AxebowHelpBubble, AxebowHyperlinkSwitch, AxebowIcon, AxebowInfrastructureCard, AxebowInput, AxebowInputBase, AxebowInstancesTable, AxebowLearningCenter, AxebowLimitsCounter, AxebowManageHyperlinks, AxebowMarketplaceCard, AxebowMobileWarningBanner, AxebowModal, AxebowModalsConfirmation, AxebowMoreActions, AxebowNumberCard, AxebowNumbersSection, AxebowNumericInput, AxebowObservabilityContainer, AxebowPageActions, AxebowPaginatedTable, AxebowPemDialog, AxebowPill, AxebowPlanProvidersModal, AxebowPlanSelectField, AxebowPremiumPlanPopup, AxebowProgressBar, AxebowPromotionDropdown, AxebowProvidersInput, AxebowQuickTipButton, AxebowQuickTipSection, AxebowRefreshPeriodPanel, AxebowRegistrySelector, AxebowResourceBar, AxebowResourceBoxForm, AxebowResourceCard, AxebowResourceLimitInput, AxebowResourceLimitsPanel, AxebowResourcesCounter, AxebowRoleCard, AxebowRoleContainerDropdown, AxebowRoleTooltip, AxebowRuntimeZipDialog, AxebowScrollbar, AxebowSearch, AxebowSearchBarFilters, AxebowSelectInput, AxebowSelectInputWithDivider, AxebowSelectorCard, AxebowSelectorSlider, AxebowServiceDetailHeader, AxebowServicesPanel, AxebowSidebar, AxebowStatus, AxebowStepHeader, AxebowSummaryCard, AxebowSummaryFlavors, AxebowSummaryKeyValue, AxebowSummaryLimits, AxebowSummaryStep, AxebowSummaryStepHeader, AxebowSwitch, AxebowSwitchInput, AxebowTabSelector, AxebowTabsSubmenu, AxebowTagsInput, AxebowTenantCard, AxebowTenantResourceTable, AxebowTenantsTable, AxebowTextInput, AxebowTimeRangePanel, AxebowTooltip, AxebowUl, AxebowUndeployCard, AxebowUnderlineTabSelector, AxebowUsageTooltip, AxebowWhiteContainer, CRITICALITY_STYLES, CustomHomePageBody, DEFAULT_ADD_DIALOG_LABELS, DEFAULT_BREADCRUMB_LABELS, DEFAULT_LOW_NOTE_TEXT, DeployModalComponent, DeployModalFooter, DeployModalHeader, DeployPageBody, STATUS_COLORS, TableChart, UsageChart, WizardPageLayout, axebowTheme, buildAddButton, buildCtaButtons, buildExternalNodeContent, buildMainNodeContent, createElement, createIcon,
|
|
17828
|
+
export { AxebowActionsFooter, AxebowAdjustmentResourcesCounter, AxebowAlert, AxebowBadge, AxebowBanner, AxebowBaseCard, AxebowBorderContainer, AxebowBoxSection, AxebowBoxedInput, AxebowBreadcrumbHeader, AxebowButton, AxebowCallToActionFeature, AxebowCallToActionRow, AxebowCardActionBanner, AxebowCardAttentionBanner, AxebowCardCloudLogo, AxebowCardFilter, AxebowCardFilterItem, AxebowCardFooter, AxebowCardHeader, AxebowCardResourceRow, AxebowCardResourceTable, AxebowCardSpecialLink, AxebowCardStatItem, AxebowCardStatsRow, AxebowCardStatus, AxebowCardTableHeader, AxebowCardVersionSelector, AxebowCarousel, AxebowCarouselInput, AxebowCarouselSelectorItem, AxebowCarouselSelectorTenant, AxebowChannelConfigPanel, AxebowCheckboxInput, AxebowCollaboratorsDialog, AxebowCopyBox, AxebowCopyIcon, AxebowCtaDialog, AxebowDeleteDataPopup, AxebowDeployCard, AxebowDeploySummary, AxebowDialog, AxebowDivider, AxebowDragDropUploadFile, AxebowDraggableService, AxebowEmptyState, AxebowEmptyStateDescriptionSection, AxebowEmptyStateSelectorSection, AxebowExpandableCard, AxebowExpandableHeader, AxebowFilterBar, AxebowFooter, AxebowFormPanelField, AxebowGettingStartedCard, AxebowGraph, AxebowHeader, AxebowHelpBubble, AxebowHyperlinkSwitch, AxebowIcon, AxebowInfrastructureCard, AxebowInput, AxebowInputBase, AxebowInstancesTable, AxebowLearningCenter, AxebowLimitsCounter, AxebowManageHyperlinks, AxebowMarketplaceCard, AxebowMobileWarningBanner, AxebowModal, AxebowModalsConfirmation, AxebowMoreActions, AxebowNumberCard, AxebowNumbersSection, AxebowNumericInput, AxebowObservabilityContainer, AxebowPageActions, AxebowPaginatedTable, AxebowPemDialog, AxebowPill, AxebowPlanProvidersModal, AxebowPlanSelectField, AxebowPremiumPlanPopup, AxebowProgressBar, AxebowPromotionDropdown, AxebowProvidersInput, AxebowQuickTipButton, AxebowQuickTipSection, AxebowRefreshPeriodPanel, AxebowRegistrySelector, AxebowResourceBar, AxebowResourceBoxForm, AxebowResourceCard, AxebowResourceLimitInput, AxebowResourceLimitsPanel, AxebowResourcesCounter, AxebowRoleCard, AxebowRoleContainerDropdown, AxebowRoleTooltip, AxebowRuntimeZipDialog, AxebowScrollbar, AxebowSearch, AxebowSearchBarFilters, AxebowSelectInput, AxebowSelectInputWithDivider, AxebowSelectorCard, AxebowSelectorSlider, AxebowServiceDetailHeader, AxebowServicesPanel, AxebowSidebar, AxebowStatus, AxebowStepHeader, AxebowSummaryCard, AxebowSummaryFlavors, AxebowSummaryKeyValue, AxebowSummaryLimits, AxebowSummaryStep, AxebowSummaryStepHeader, AxebowSwitch, AxebowSwitchInput, AxebowTabSelector, AxebowTabsSubmenu, AxebowTagsInput, AxebowTenantCard, AxebowTenantResourceTable, AxebowTenantsTable, AxebowTextInput, AxebowTimeRangePanel, AxebowTooltip, AxebowUl, AxebowUndeployCard, AxebowUnderlineTabSelector, AxebowUsageTooltip, AxebowWhiteContainer, CRITICALITY_STYLES, CustomHomePageBody, DEFAULT_ADD_DIALOG_LABELS, DEFAULT_BREADCRUMB_LABELS, DEFAULT_LOW_NOTE_TEXT, DeployModalComponent, DeployModalFooter, DeployModalHeader, DeployPageBody, STATUS_COLORS, TableChart, UsageChart, WizardPageLayout, axebowTheme, buildAddButton, buildCtaButtons, buildExternalNodeContent, buildMainNodeContent, createElement, createIcon, formatCtaDateTime, getCtaBadgeLabel, getCtaBreadcrumb, getCtaDescription, getCtaHeading, getHighestCriticality, groupCallToActionNotifications };
|
|
17842
17829
|
|
|
17843
17830
|
//# sourceMappingURL=index.js.map
|