@kumori/aurora-wui-components 0.0.281-dev4205.13 → 0.0.281-dev4205.15
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-header/axebow-header.d.ts +0 -3
- package/dist/components/axebow-header/axebow-header.d.ts.map +1 -1
- package/dist/components/axebow-header/parts/axebow-header-actions.d.ts +0 -4
- package/dist/components/axebow-header/parts/axebow-header-actions.d.ts.map +1 -1
- package/dist/index.js +1 -26
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -19,12 +19,9 @@ export declare class AxebowHeader extends LitElement {
|
|
|
19
19
|
onLogout: () => void;
|
|
20
20
|
notificationsLabel: string;
|
|
21
21
|
notifications: FormattedNotificationVM[];
|
|
22
|
-
actionNeededNotifications: FormattedNotificationVM[];
|
|
23
22
|
myNotificationsTabLabel: string;
|
|
24
|
-
actionNeededTabLabel: string;
|
|
25
23
|
noNotificationsLabel: string;
|
|
26
24
|
noUnreadNotificationsLabel: string;
|
|
27
|
-
noActionNotificationsLabel: string;
|
|
28
25
|
showUnreadOnlyLabel: string;
|
|
29
26
|
onLabel: string;
|
|
30
27
|
offLabel: string;
|
|
@@ -1 +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;
|
|
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;IAC7C,uBAAuB,SAAM;IAC7B,oBAAoB,SAAM;IAC1B,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;CA8CP"}
|
|
@@ -16,7 +16,6 @@ export interface FormattedNotificationVM {
|
|
|
16
16
|
color: string;
|
|
17
17
|
status: 'read' | 'unread';
|
|
18
18
|
date: string;
|
|
19
|
-
callToAction: boolean;
|
|
20
19
|
actions?: NotificationAction[];
|
|
21
20
|
onClick: () => void;
|
|
22
21
|
}
|
|
@@ -31,12 +30,9 @@ export declare class AxebowHeaderActions extends LitElement {
|
|
|
31
30
|
onLogout: () => void;
|
|
32
31
|
notificationsLabel: string;
|
|
33
32
|
notifications: FormattedNotificationVM[];
|
|
34
|
-
actionNeededNotifications: FormattedNotificationVM[];
|
|
35
33
|
myNotificationsTabLabel: string;
|
|
36
|
-
actionNeededTabLabel: string;
|
|
37
34
|
noNotificationsLabel: string;
|
|
38
35
|
noUnreadNotificationsLabel: string;
|
|
39
|
-
noActionNotificationsLabel: string;
|
|
40
36
|
showUnreadOnlyLabel: string;
|
|
41
37
|
onLabel: string;
|
|
42
38
|
offLabel: string;
|
|
@@ -1 +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;AAGvD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,sCAAsC,CAAC;AAC9C,OAAO,+DAA+D,CAAC;AACvE,OAAO,uDAAuD,CAAC;AAC/D,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,
|
|
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;AAGvD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,sCAAsC,CAAC;AAC9C,OAAO,+DAA+D,CAAC;AACvE,OAAO,uDAAuD,CAAC;AAC/D,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,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,4BAgBX;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;IAC7C,uBAAuB,SAAM;IAC7B,oBAAoB,SAAM;IAC1B,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;IAiGN,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,sBAAsB;CA0C/B"}
|
package/dist/index.js
CHANGED
|
@@ -1455,12 +1455,9 @@ var AxebowHeaderActions = class AxebowHeaderActions extends LitElement {
|
|
|
1455
1455
|
this.onLogout = () => {};
|
|
1456
1456
|
this.notificationsLabel = "";
|
|
1457
1457
|
this.notifications = [];
|
|
1458
|
-
this.actionNeededNotifications = [];
|
|
1459
1458
|
this.myNotificationsTabLabel = "";
|
|
1460
|
-
this.actionNeededTabLabel = "";
|
|
1461
1459
|
this.noNotificationsLabel = "";
|
|
1462
1460
|
this.noUnreadNotificationsLabel = "";
|
|
1463
|
-
this.noActionNotificationsLabel = "";
|
|
1464
1461
|
this.showUnreadOnlyLabel = "";
|
|
1465
1462
|
this.onLabel = "";
|
|
1466
1463
|
this.offLabel = "";
|
|
@@ -1515,10 +1512,9 @@ var AxebowHeaderActions = class AxebowHeaderActions extends LitElement {
|
|
|
1515
1512
|
</div>
|
|
1516
1513
|
<sl-tab-group class="bg-white rounded-md w-120 text-base">
|
|
1517
1514
|
<sl-tab slot="nav" panel="my_notifications">${this.myNotificationsTabLabel}</sl-tab>
|
|
1518
|
-
<sl-tab slot="nav" panel="action_needed">${this.actionNeededTabLabel}</sl-tab>
|
|
1519
1515
|
|
|
1520
1516
|
<sl-tab-panel class="bg-gray-100" name="my_notifications">
|
|
1521
|
-
<div class="flex flex-col gap-2 px-4 max-h-[40vh] overflow-auto w-full">
|
|
1517
|
+
<div class="flex flex-col gap-2 px-4 pb-4 max-h-[40vh] overflow-auto w-full">
|
|
1522
1518
|
${this.notifications.length === 0 ? this.renderEmptyState(this.noNotificationsLabel) : html`
|
|
1523
1519
|
<div class="flex flex-col text-black gap-4">
|
|
1524
1520
|
<div class="flex justify-between items-center flex-wrap gap-4">
|
|
@@ -1541,15 +1537,6 @@ var AxebowHeaderActions = class AxebowHeaderActions extends LitElement {
|
|
|
1541
1537
|
`}
|
|
1542
1538
|
</div>
|
|
1543
1539
|
</sl-tab-panel>
|
|
1544
|
-
<sl-tab-panel class="bg-gray-100" name="action_needed">
|
|
1545
|
-
<div class="flex flex-col gap-2 px-4 max-h-[40vh] overflow-auto w-full">
|
|
1546
|
-
${this.actionNeededNotifications.length === 0 ? this.renderEmptyState(this.noActionNotificationsLabel) : html`
|
|
1547
|
-
<div class="flex flex-col text-black gap-4">
|
|
1548
|
-
${this.actionNeededNotifications.map((item) => this.renderNotificationCard(item))}
|
|
1549
|
-
</div>
|
|
1550
|
-
`}
|
|
1551
|
-
</div>
|
|
1552
|
-
</sl-tab-panel>
|
|
1553
1540
|
</sl-tab-group>
|
|
1554
1541
|
</sl-dropdown>
|
|
1555
1542
|
<sl-dropdown class="shrink-0">
|
|
@@ -1633,12 +1620,9 @@ __decorate([property({ type: String })], AxebowHeaderActions.prototype, "logoutL
|
|
|
1633
1620
|
__decorate([property({ attribute: false })], AxebowHeaderActions.prototype, "onLogout", void 0);
|
|
1634
1621
|
__decorate([property({ type: String })], AxebowHeaderActions.prototype, "notificationsLabel", void 0);
|
|
1635
1622
|
__decorate([property({ type: Array })], AxebowHeaderActions.prototype, "notifications", void 0);
|
|
1636
|
-
__decorate([property({ type: Array })], AxebowHeaderActions.prototype, "actionNeededNotifications", void 0);
|
|
1637
1623
|
__decorate([property({ type: String })], AxebowHeaderActions.prototype, "myNotificationsTabLabel", void 0);
|
|
1638
|
-
__decorate([property({ type: String })], AxebowHeaderActions.prototype, "actionNeededTabLabel", void 0);
|
|
1639
1624
|
__decorate([property({ type: String })], AxebowHeaderActions.prototype, "noNotificationsLabel", void 0);
|
|
1640
1625
|
__decorate([property({ type: String })], AxebowHeaderActions.prototype, "noUnreadNotificationsLabel", void 0);
|
|
1641
|
-
__decorate([property({ type: String })], AxebowHeaderActions.prototype, "noActionNotificationsLabel", void 0);
|
|
1642
1626
|
__decorate([property({ type: String })], AxebowHeaderActions.prototype, "showUnreadOnlyLabel", void 0);
|
|
1643
1627
|
__decorate([property({ type: String })], AxebowHeaderActions.prototype, "onLabel", void 0);
|
|
1644
1628
|
__decorate([property({ type: String })], AxebowHeaderActions.prototype, "offLabel", void 0);
|
|
@@ -1663,12 +1647,9 @@ var AxebowHeader = class AxebowHeader extends LitElement {
|
|
|
1663
1647
|
this.onLogout = () => {};
|
|
1664
1648
|
this.notificationsLabel = "";
|
|
1665
1649
|
this.notifications = [];
|
|
1666
|
-
this.actionNeededNotifications = [];
|
|
1667
1650
|
this.myNotificationsTabLabel = "";
|
|
1668
|
-
this.actionNeededTabLabel = "";
|
|
1669
1651
|
this.noNotificationsLabel = "";
|
|
1670
1652
|
this.noUnreadNotificationsLabel = "";
|
|
1671
|
-
this.noActionNotificationsLabel = "";
|
|
1672
1653
|
this.showUnreadOnlyLabel = "";
|
|
1673
1654
|
this.onLabel = "";
|
|
1674
1655
|
this.offLabel = "";
|
|
@@ -1709,12 +1690,9 @@ var AxebowHeader = class AxebowHeader extends LitElement {
|
|
|
1709
1690
|
.onLogout=${this.onLogout}
|
|
1710
1691
|
.notificationsLabel=${this.notificationsLabel}
|
|
1711
1692
|
.notifications=${this.notifications}
|
|
1712
|
-
.actionNeededNotifications=${this.actionNeededNotifications}
|
|
1713
1693
|
.myNotificationsTabLabel=${this.myNotificationsTabLabel}
|
|
1714
|
-
.actionNeededTabLabel=${this.actionNeededTabLabel}
|
|
1715
1694
|
.noNotificationsLabel=${this.noNotificationsLabel}
|
|
1716
1695
|
.noUnreadNotificationsLabel=${this.noUnreadNotificationsLabel}
|
|
1717
|
-
.noActionNotificationsLabel=${this.noActionNotificationsLabel}
|
|
1718
1696
|
.showUnreadOnlyLabel=${this.showUnreadOnlyLabel}
|
|
1719
1697
|
.onLabel=${this.onLabel}
|
|
1720
1698
|
.offLabel=${this.offLabel}
|
|
@@ -1741,12 +1719,9 @@ __decorate([property({ type: String })], AxebowHeader.prototype, "logoutLabel",
|
|
|
1741
1719
|
__decorate([property({ attribute: false })], AxebowHeader.prototype, "onLogout", void 0);
|
|
1742
1720
|
__decorate([property({ type: String })], AxebowHeader.prototype, "notificationsLabel", void 0);
|
|
1743
1721
|
__decorate([property({ type: Array })], AxebowHeader.prototype, "notifications", void 0);
|
|
1744
|
-
__decorate([property({ type: Array })], AxebowHeader.prototype, "actionNeededNotifications", void 0);
|
|
1745
1722
|
__decorate([property({ type: String })], AxebowHeader.prototype, "myNotificationsTabLabel", void 0);
|
|
1746
|
-
__decorate([property({ type: String })], AxebowHeader.prototype, "actionNeededTabLabel", void 0);
|
|
1747
1723
|
__decorate([property({ type: String })], AxebowHeader.prototype, "noNotificationsLabel", void 0);
|
|
1748
1724
|
__decorate([property({ type: String })], AxebowHeader.prototype, "noUnreadNotificationsLabel", void 0);
|
|
1749
|
-
__decorate([property({ type: String })], AxebowHeader.prototype, "noActionNotificationsLabel", void 0);
|
|
1750
1725
|
__decorate([property({ type: String })], AxebowHeader.prototype, "showUnreadOnlyLabel", void 0);
|
|
1751
1726
|
__decorate([property({ type: String })], AxebowHeader.prototype, "onLabel", void 0);
|
|
1752
1727
|
__decorate([property({ type: String })], AxebowHeader.prototype, "offLabel", void 0);
|