@design.estate/dees-catalog 21.38.0 → 21.39.0
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_bundle/bundle.js +102 -58
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-H5AZRDKM.js → chunk-7SVFKQJK.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-MFMMXJXV.js → chunk-FGQNHF2X.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-IBYJBCAQ.js → dees-modal-43SBKV7A.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-EVDB2ODT.js → dees-workspace-terminal-4WZ3CPSW.js} +3 -3
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.d.ts +12 -4
- package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.js +28 -8
- package/dist_ts_web/elements/00group-appui/dees-appui-contentheading/dees-appui-contentheading.d.ts +12 -8
- package/dist_ts_web/elements/00group-appui/dees-appui-contentheading/dees-appui-contentheading.demo.d.ts +1 -0
- package/dist_ts_web/elements/00group-appui/dees-appui-contentheading/dees-appui-contentheading.demo.js +20 -6
- package/dist_ts_web/elements/00group-appui/dees-appui-contentheading/dees-appui-contentheading.js +41 -21
- package/dist_ts_web/elements/00group-appui/dees-appui-maincontent/dees-appui-maincontent.d.ts +9 -2
- package/dist_ts_web/elements/00group-appui/dees-appui-maincontent/dees-appui-maincontent.js +19 -17
- package/dist_ts_web/elements/00group-appui/dees-appui-page/dees-appui-page.js +4 -2
- package/dist_ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.d.ts +2 -2
- package/dist_ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.js +5 -3
- package/dist_ts_web/elements/interfaces/appconfig.d.ts +4 -3
- package/dist_ts_web/elements/interfaces/contentheading.d.ts +15 -0
- package/package.json +1 -1
- package/readme.md +19 -11
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-appui/dees-appui/dees-appui.ts +27 -7
- package/ts_web/elements/00group-appui/dees-appui/readme.md +44 -20
- package/ts_web/elements/00group-appui/dees-appui-contentheading/dees-appui-contentheading.demo.ts +19 -5
- package/ts_web/elements/00group-appui/dees-appui-contentheading/dees-appui-contentheading.ts +25 -12
- package/ts_web/elements/00group-appui/dees-appui-maincontent/dees-appui-maincontent.ts +17 -15
- package/ts_web/elements/00group-appui/dees-appui-page/dees-appui-page.ts +3 -1
- package/ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.ts +6 -4
- package/ts_web/elements/interfaces/appconfig.ts +4 -3
- package/ts_web/elements/interfaces/contentheading.ts +16 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-H5AZRDKM.js.map → chunk-7SVFKQJK.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-MFMMXJXV.js.map → chunk-FGQNHF2X.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-IBYJBCAQ.js.map → dees-modal-43SBKV7A.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-EVDB2ODT.js.map → dees-workspace-terminal-4WZ3CPSW.js.map} +0 -0
package/dist_bundle/bundle.js
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
ownAppuiLabels,
|
|
27
27
|
resolveAppuiLabels,
|
|
28
28
|
xtermStyles
|
|
29
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
29
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-FGQNHF2X.js";
|
|
30
30
|
import {
|
|
31
31
|
ActionRunController,
|
|
32
32
|
BarInfoController,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
workspaceVisibility,
|
|
125
125
|
zIndexLayers,
|
|
126
126
|
zIndexRegistry
|
|
127
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
127
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-7SVFKQJK.js";
|
|
128
128
|
import {
|
|
129
129
|
dcMessages,
|
|
130
130
|
dcSourceI18n,
|
|
@@ -1392,7 +1392,7 @@ var demoFunc2 = /* @__PURE__ */ __name(() => {
|
|
|
1392
1392
|
narrowResult.textContent = "New booking";
|
|
1393
1393
|
}, "action") }
|
|
1394
1394
|
];
|
|
1395
|
-
return demoPage("Content heading", "The heading of what the content area shows: a title, the line under it with what the screen shows and further facts, the screen's actions at the end of the row, and a hairline across the content area. A view declares it as data in `contentHeading`, and dees-appui renders it; dees-appui-page draws its header with it.", b`
|
|
1395
|
+
return demoPage("Content heading", "The heading of what the content area shows: a title with its badges, the line under it with what the screen shows and further facts, the view's tools and the screen's actions at the end of the row, and a hairline across the content area. A view declares it as data in `contentHeading`, and dees-appui renders it; dees-appui-page draws its header with it.", b`
|
|
1396
1396
|
${demoSection("A start screen", "A title, a line with the chart of accounts and the reader's role, and the screen's primary action.", b`
|
|
1397
1397
|
${contentArea(b`<dees-appui-contentheading
|
|
1398
1398
|
heading="Home"
|
|
@@ -1402,16 +1402,15 @@ var demoFunc2 = /* @__PURE__ */ __name(() => {
|
|
|
1402
1402
|
></dees-appui-contentheading>`)}
|
|
1403
1403
|
${homeResult}
|
|
1404
1404
|
`)}
|
|
1405
|
-
${demoSection("A record", "A back link to the list, a
|
|
1405
|
+
${demoSection("A record", "A back link to the list, its state as a badge beside the title, facts on the line under it, and two actions. Download runs for a moment: its button shows the pending state.", b`
|
|
1406
1406
|
${contentArea(b`<dees-appui-contentheading
|
|
1407
1407
|
heading="Invoice 2026-0142"
|
|
1408
1408
|
description="Acme Supplies Ltd."
|
|
1409
1409
|
.meta=${["Due 2026-10-24", "EUR 1,280.00"]}
|
|
1410
1410
|
.back=${{ label: "Invoices", href: "#invoices" }}
|
|
1411
|
+
.badges=${[{ text: "Open", type: "warning" }, { text: "Overdue", type: "error" }]}
|
|
1411
1412
|
.actions=${detailActions}
|
|
1412
|
-
|
|
1413
|
-
<dees-badge slot="status" type="warning" text="Open" rounded></dees-badge>
|
|
1414
|
-
</dees-appui-contentheading>`)}
|
|
1413
|
+
></dees-appui-contentheading>`)}
|
|
1415
1414
|
${detailResult}
|
|
1416
1415
|
`)}
|
|
1417
1416
|
${demoSection("A glyph and slotted actions", "A glyph before the title, and controls in the actions slot instead of declared actions.", b`
|
|
@@ -1419,6 +1418,20 @@ var demoFunc2 = /* @__PURE__ */ __name(() => {
|
|
|
1419
1418
|
<dees-button slot="actions" type="outline" icon="lucide:RefreshCw" .text=${"Sync"}></dees-button>
|
|
1420
1419
|
</dees-appui-contentheading>`)}
|
|
1421
1420
|
`)}
|
|
1421
|
+
${demoSection("Tools before the actions", "Controls of the view's own in the tools slot \u2014 a filter and a grouping \u2014 stand before the declared actions.", b`
|
|
1422
|
+
${contentArea(b`<dees-appui-contentheading
|
|
1423
|
+
heading="Invoices"
|
|
1424
|
+
description="Incoming invoices"
|
|
1425
|
+
.meta=${["42 this year"]}
|
|
1426
|
+
.badges=${[{ text: "3 open", type: "warning" }]}
|
|
1427
|
+
.actions=${[{ label: "New invoice", iconName: "lucide:Plus", type: "primary", action: /* @__PURE__ */ __name(() => void 0, "action") }]}
|
|
1428
|
+
>
|
|
1429
|
+
<div slot="tools" style="display: flex; align-items: center; gap: var(--dees-spacing-sm);">
|
|
1430
|
+
<dees-input-text style="width: 200px;" labelPosition="none" placeholder="Filter invoices"></dees-input-text>
|
|
1431
|
+
<dees-button type="outline" icon="lucide:Group" .text=${"By supplier"}></dees-button>
|
|
1432
|
+
</div>
|
|
1433
|
+
</dees-appui-contentheading>`)}
|
|
1434
|
+
`)}
|
|
1422
1435
|
${demoSection("Narrow", "At 600px the actions stand under the title and wrap, and a title wider than the row ends in an ellipsis.", b`
|
|
1423
1436
|
${contentArea(b`<dees-appui-contentheading
|
|
1424
1437
|
heading="Journal of the financial year 2026 for Acme Holding GmbH and its subsidiaries"
|
|
@@ -1432,29 +1445,34 @@ var demoFunc2 = /* @__PURE__ */ __name(() => {
|
|
|
1432
1445
|
}, "demoFunc");
|
|
1433
1446
|
|
|
1434
1447
|
// ts_web/elements/00group-appui/dees-appui-contentheading/dees-appui-contentheading.ts
|
|
1435
|
-
var _hasTabs_dec,
|
|
1448
|
+
var _hasTabs_dec, _filledControlSlots_dec, _pendingActions_dec, _actionSource_dec, _actions_dec, _breadcrumbs_dec, _back_dec, _iconName_dec, _meta_dec, _description_dec, _badges_dec, _heading_dec, _a4, _DeesAppuiContentheading_decorators, _init5, _heading, _badges, _description, _meta, _iconName, _back, _breadcrumbs, _actions, _actionSource, _pendingActions, _filledControlSlots, _hasTabs;
|
|
1436
1449
|
var buttonTypeOf = /* @__PURE__ */ __name((type) => type === "primary" ? "accent" : type === "destructive" ? "destructive" : "outline", "buttonTypeOf");
|
|
1437
1450
|
var actionKeyOf = /* @__PURE__ */ __name((action) => action.key ?? action.label, "actionKeyOf");
|
|
1438
1451
|
_DeesAppuiContentheading_decorators = [customElement("dees-appui-contentheading")];
|
|
1439
|
-
var _DeesAppuiContentheading = class _DeesAppuiContentheading extends (_a4 = DeesElement, _heading_dec = [n({ type: String, reflect: true })], _description_dec = [n({ type: String, reflect: true })], _meta_dec = [n({ attribute: false })], _iconName_dec = [n({ type: String, reflect: true })], _back_dec = [n({ attribute: false })], _breadcrumbs_dec = [n({ attribute: false })], _actions_dec = [n({ attribute: false })], _actionSource_dec = [n({ attribute: false })], _pendingActions_dec = [r2()],
|
|
1452
|
+
var _DeesAppuiContentheading = class _DeesAppuiContentheading extends (_a4 = DeesElement, _heading_dec = [n({ type: String, reflect: true })], _badges_dec = [n({ attribute: false })], _description_dec = [n({ type: String, reflect: true })], _meta_dec = [n({ attribute: false })], _iconName_dec = [n({ type: String, reflect: true })], _back_dec = [n({ attribute: false })], _breadcrumbs_dec = [n({ attribute: false })], _actions_dec = [n({ attribute: false })], _actionSource_dec = [n({ attribute: false })], _pendingActions_dec = [r2()], _filledControlSlots_dec = [r2()], _hasTabs_dec = [r2()], _a4) {
|
|
1440
1453
|
constructor() {
|
|
1441
1454
|
super(...arguments);
|
|
1442
1455
|
__privateAdd(this, _heading, __runInitializers(_init5, 8, this, "")), __runInitializers(_init5, 11, this);
|
|
1443
|
-
__privateAdd(this,
|
|
1444
|
-
__privateAdd(this,
|
|
1445
|
-
__privateAdd(this,
|
|
1446
|
-
__privateAdd(this,
|
|
1447
|
-
__privateAdd(this,
|
|
1448
|
-
__privateAdd(this,
|
|
1449
|
-
__privateAdd(this,
|
|
1450
|
-
__privateAdd(this,
|
|
1451
|
-
__privateAdd(this,
|
|
1452
|
-
__privateAdd(this,
|
|
1456
|
+
__privateAdd(this, _badges, __runInitializers(_init5, 12, this, [])), __runInitializers(_init5, 15, this);
|
|
1457
|
+
__privateAdd(this, _description, __runInitializers(_init5, 16, this, "")), __runInitializers(_init5, 19, this);
|
|
1458
|
+
__privateAdd(this, _meta, __runInitializers(_init5, 20, this, [])), __runInitializers(_init5, 23, this);
|
|
1459
|
+
__privateAdd(this, _iconName, __runInitializers(_init5, 24, this, "")), __runInitializers(_init5, 27, this);
|
|
1460
|
+
__privateAdd(this, _back, __runInitializers(_init5, 28, this, null)), __runInitializers(_init5, 31, this);
|
|
1461
|
+
__privateAdd(this, _breadcrumbs, __runInitializers(_init5, 32, this, [])), __runInitializers(_init5, 35, this);
|
|
1462
|
+
__privateAdd(this, _actions, __runInitializers(_init5, 36, this, [])), __runInitializers(_init5, 39, this);
|
|
1463
|
+
__privateAdd(this, _actionSource, __runInitializers(_init5, 40, this, "heading-action")), __runInitializers(_init5, 43, this);
|
|
1464
|
+
__privateAdd(this, _pendingActions, __runInitializers(_init5, 44, this, /* @__PURE__ */ new Set())), __runInitializers(_init5, 47, this);
|
|
1465
|
+
__privateAdd(this, _filledControlSlots, __runInitializers(_init5, 48, this, /* @__PURE__ */ new Set())), __runInitializers(_init5, 51, this);
|
|
1466
|
+
__privateAdd(this, _hasTabs, __runInitializers(_init5, 52, this, false)), __runInitializers(_init5, 55, this);
|
|
1453
1467
|
__publicField(this, "t", dcLocalize(this));
|
|
1454
1468
|
/** Flattened: a slot a composing element forwards counts by what it holds. */
|
|
1455
|
-
__publicField(this, "
|
|
1456
|
-
|
|
1457
|
-
|
|
1469
|
+
__publicField(this, "handleControlSlotChange", /* @__PURE__ */ __name((event) => {
|
|
1470
|
+
const slot = event.currentTarget;
|
|
1471
|
+
const filled = new Set(this.filledControlSlots);
|
|
1472
|
+
if (slot.assignedElements({ flatten: true }).length > 0) filled.add(slot.name);
|
|
1473
|
+
else filled.delete(slot.name);
|
|
1474
|
+
this.filledControlSlots = filled;
|
|
1475
|
+
}, "handleControlSlotChange"));
|
|
1458
1476
|
__publicField(this, "handleTabsSlotChange", /* @__PURE__ */ __name((event) => {
|
|
1459
1477
|
this.hasTabs = event.currentTarget.assignedElements({ flatten: true }).length > 0;
|
|
1460
1478
|
}, "handleTabsSlotChange"));
|
|
@@ -1471,14 +1489,16 @@ var _DeesAppuiContentheading = class _DeesAppuiContentheading extends (_a4 = Dee
|
|
|
1471
1489
|
<div class="titles">
|
|
1472
1490
|
<div class="titleLine">
|
|
1473
1491
|
<h1 title=${this.heading}>${this.heading}</h1>
|
|
1492
|
+
${this.badges.map((badge) => b`<dees-badge .type=${badge.type ?? "default"} .text=${badge.text} .rounded=${true}></dees-badge>`)}
|
|
1474
1493
|
<slot name="status"></slot>
|
|
1475
1494
|
</div>
|
|
1476
1495
|
<div class="subheading"><slot name="description">${line}</slot></div>
|
|
1477
1496
|
</div>
|
|
1478
1497
|
</div>
|
|
1479
|
-
<div class="actions ${this.actions.length || this.
|
|
1498
|
+
<div class="actions ${this.actions.length || this.filledControlSlots.size ? "filled" : ""}">
|
|
1499
|
+
<slot name="tools" @slotchange=${this.handleControlSlotChange}></slot>
|
|
1480
1500
|
${this.orderedActions().map((action) => this.renderAction(action))}
|
|
1481
|
-
<slot name="actions" @slotchange=${this.
|
|
1501
|
+
<slot name="actions" @slotchange=${this.handleControlSlotChange}></slot>
|
|
1482
1502
|
</div>
|
|
1483
1503
|
</div>
|
|
1484
1504
|
<slot name="tabs" @slotchange=${this.handleTabsSlotChange}></slot>
|
|
@@ -1545,6 +1565,7 @@ var _DeesAppuiContentheading = class _DeesAppuiContentheading extends (_a4 = Dee
|
|
|
1545
1565
|
};
|
|
1546
1566
|
_init5 = __decoratorStart(_a4);
|
|
1547
1567
|
_heading = new WeakMap();
|
|
1568
|
+
_badges = new WeakMap();
|
|
1548
1569
|
_description = new WeakMap();
|
|
1549
1570
|
_meta = new WeakMap();
|
|
1550
1571
|
_iconName = new WeakMap();
|
|
@@ -1553,9 +1574,10 @@ _breadcrumbs = new WeakMap();
|
|
|
1553
1574
|
_actions = new WeakMap();
|
|
1554
1575
|
_actionSource = new WeakMap();
|
|
1555
1576
|
_pendingActions = new WeakMap();
|
|
1556
|
-
|
|
1577
|
+
_filledControlSlots = new WeakMap();
|
|
1557
1578
|
_hasTabs = new WeakMap();
|
|
1558
1579
|
__decorateElement(_init5, 4, "heading", _heading_dec, _DeesAppuiContentheading, _heading);
|
|
1580
|
+
__decorateElement(_init5, 4, "badges", _badges_dec, _DeesAppuiContentheading, _badges);
|
|
1559
1581
|
__decorateElement(_init5, 4, "description", _description_dec, _DeesAppuiContentheading, _description);
|
|
1560
1582
|
__decorateElement(_init5, 4, "meta", _meta_dec, _DeesAppuiContentheading, _meta);
|
|
1561
1583
|
__decorateElement(_init5, 4, "iconName", _iconName_dec, _DeesAppuiContentheading, _iconName);
|
|
@@ -1564,7 +1586,7 @@ __decorateElement(_init5, 4, "breadcrumbs", _breadcrumbs_dec, _DeesAppuiContenth
|
|
|
1564
1586
|
__decorateElement(_init5, 4, "actions", _actions_dec, _DeesAppuiContentheading, _actions);
|
|
1565
1587
|
__decorateElement(_init5, 4, "actionSource", _actionSource_dec, _DeesAppuiContentheading, _actionSource);
|
|
1566
1588
|
__decorateElement(_init5, 4, "pendingActions", _pendingActions_dec, _DeesAppuiContentheading, _pendingActions);
|
|
1567
|
-
__decorateElement(_init5, 4, "
|
|
1589
|
+
__decorateElement(_init5, 4, "filledControlSlots", _filledControlSlots_dec, _DeesAppuiContentheading, _filledControlSlots);
|
|
1568
1590
|
__decorateElement(_init5, 4, "hasTabs", _hasTabs_dec, _DeesAppuiContentheading, _hasTabs);
|
|
1569
1591
|
_DeesAppuiContentheading = __decorateElement(_init5, 0, "DeesAppuiContentheading", _DeesAppuiContentheading_decorators, _DeesAppuiContentheading);
|
|
1570
1592
|
__name(_DeesAppuiContentheading, "DeesAppuiContentheading");
|
|
@@ -1711,7 +1733,8 @@ __publicField(_DeesAppuiContentheading, "styles", [
|
|
|
1711
1733
|
min-width: 0;
|
|
1712
1734
|
}
|
|
1713
1735
|
|
|
1714
|
-
::slotted([slot='status'])
|
|
1736
|
+
::slotted([slot='status']),
|
|
1737
|
+
.titleLine dees-badge {
|
|
1715
1738
|
flex: none;
|
|
1716
1739
|
}
|
|
1717
1740
|
|
|
@@ -7175,7 +7198,7 @@ var demoFunc12 = /* @__PURE__ */ __name(() => {
|
|
|
7175
7198
|
}, "demoFunc");
|
|
7176
7199
|
|
|
7177
7200
|
// ts_web/elements/00group-feedback/dees-state/dees-state.ts
|
|
7178
|
-
var
|
|
7201
|
+
var _hasActionsSlot_dec, _pendingActions_dec2, _compact_dec, _onRetry_dec, _actions_dec3, _iconName_dec2, _detail_dec, _description_dec2, _heading_dec3, _variant_dec, _a16, _DeesState_decorators, _init18, _variant, _heading3, _description2, _detail, _iconName2, _actions3, _onRetry, _compact, _pendingActions2, _hasActionsSlot;
|
|
7179
7202
|
var defaultIcons = {
|
|
7180
7203
|
empty: "lucide:Inbox",
|
|
7181
7204
|
error: "lucide:CircleAlert"
|
|
@@ -7183,7 +7206,7 @@ var defaultIcons = {
|
|
|
7183
7206
|
var actionKeyOf2 = /* @__PURE__ */ __name((action) => action.key ?? action.label, "actionKeyOf");
|
|
7184
7207
|
var retryKey = "\0retry";
|
|
7185
7208
|
_DeesState_decorators = [customElement("dees-state")];
|
|
7186
|
-
var _DeesState = class _DeesState extends (_a16 = DeesElement, _variant_dec = [n({ type: String, reflect: true })], _heading_dec3 = [n({ type: String, reflect: true })], _description_dec2 = [n({ type: String, reflect: true })], _detail_dec = [n({ type: String })], _iconName_dec2 = [n({ type: String, reflect: true })], _actions_dec3 = [n({ attribute: false })], _onRetry_dec = [n({ attribute: false })], _compact_dec = [n({ type: Boolean, reflect: true })], _pendingActions_dec2 = [r2()],
|
|
7209
|
+
var _DeesState = class _DeesState extends (_a16 = DeesElement, _variant_dec = [n({ type: String, reflect: true })], _heading_dec3 = [n({ type: String, reflect: true })], _description_dec2 = [n({ type: String, reflect: true })], _detail_dec = [n({ type: String })], _iconName_dec2 = [n({ type: String, reflect: true })], _actions_dec3 = [n({ attribute: false })], _onRetry_dec = [n({ attribute: false })], _compact_dec = [n({ type: Boolean, reflect: true })], _pendingActions_dec2 = [r2()], _hasActionsSlot_dec = [r2()], _a16) {
|
|
7187
7210
|
constructor() {
|
|
7188
7211
|
super(...arguments);
|
|
7189
7212
|
__privateAdd(this, _variant, __runInitializers(_init18, 8, this, "empty")), __runInitializers(_init18, 11, this);
|
|
@@ -7196,7 +7219,7 @@ var _DeesState = class _DeesState extends (_a16 = DeesElement, _variant_dec = [n
|
|
|
7196
7219
|
__privateAdd(this, _compact, __runInitializers(_init18, 36, this, false)), __runInitializers(_init18, 39, this);
|
|
7197
7220
|
__privateAdd(this, _pendingActions2, __runInitializers(_init18, 40, this, /* @__PURE__ */ new Set())), __runInitializers(_init18, 43, this);
|
|
7198
7221
|
__publicField(this, "t", dcLocalize(this));
|
|
7199
|
-
__privateAdd(this,
|
|
7222
|
+
__privateAdd(this, _hasActionsSlot, __runInitializers(_init18, 44, this, false)), __runInitializers(_init18, 47, this);
|
|
7200
7223
|
__publicField(this, "handleActionsSlotChange", /* @__PURE__ */ __name((event) => {
|
|
7201
7224
|
this.hasActionsSlot = event.target.assignedElements({ flatten: true }).length > 0;
|
|
7202
7225
|
}, "handleActionsSlotChange"));
|
|
@@ -7274,7 +7297,7 @@ _actions3 = new WeakMap();
|
|
|
7274
7297
|
_onRetry = new WeakMap();
|
|
7275
7298
|
_compact = new WeakMap();
|
|
7276
7299
|
_pendingActions2 = new WeakMap();
|
|
7277
|
-
|
|
7300
|
+
_hasActionsSlot = new WeakMap();
|
|
7278
7301
|
__decorateElement(_init18, 4, "variant", _variant_dec, _DeesState, _variant);
|
|
7279
7302
|
__decorateElement(_init18, 4, "heading", _heading_dec3, _DeesState, _heading3);
|
|
7280
7303
|
__decorateElement(_init18, 4, "description", _description_dec2, _DeesState, _description2);
|
|
@@ -7284,7 +7307,7 @@ __decorateElement(_init18, 4, "actions", _actions_dec3, _DeesState, _actions3);
|
|
|
7284
7307
|
__decorateElement(_init18, 4, "onRetry", _onRetry_dec, _DeesState, _onRetry);
|
|
7285
7308
|
__decorateElement(_init18, 4, "compact", _compact_dec, _DeesState, _compact);
|
|
7286
7309
|
__decorateElement(_init18, 4, "pendingActions", _pendingActions_dec2, _DeesState, _pendingActions2);
|
|
7287
|
-
__decorateElement(_init18, 4, "hasActionsSlot",
|
|
7310
|
+
__decorateElement(_init18, 4, "hasActionsSlot", _hasActionsSlot_dec, _DeesState, _hasActionsSlot);
|
|
7288
7311
|
_DeesState = __decorateElement(_init18, 0, "DeesState", _DeesState_decorators, _DeesState);
|
|
7289
7312
|
__name(_DeesState, "DeesState");
|
|
7290
7313
|
__publicField(_DeesState, "demo", demoFunc12);
|
|
@@ -11574,7 +11597,8 @@ __publicField(_DeesAppuiPage, "styles", [
|
|
|
11574
11597
|
outline-offset: -2px;
|
|
11575
11598
|
}
|
|
11576
11599
|
|
|
11577
|
-
/* The selected tab's line lies on the heading's hairline: the row reaches over it.
|
|
11600
|
+
/* The selected tab's line lies on the heading's hairline: the row reaches over it.
|
|
11601
|
+
The first tab's label stands at the title's inset; its hover face reaches into the inset. */
|
|
11578
11602
|
.tabs {
|
|
11579
11603
|
display: flex;
|
|
11580
11604
|
gap: var(--dees-spacing-xs);
|
|
@@ -11582,6 +11606,7 @@ __publicField(_DeesAppuiPage, "styles", [
|
|
|
11582
11606
|
scrollbar-width: none;
|
|
11583
11607
|
margin-top: var(--dees-spacing-xs);
|
|
11584
11608
|
margin-bottom: calc(-1 * var(--dees-line-width-hairline));
|
|
11609
|
+
margin-inline-start: calc(-1 * var(--dees-spacing-md));
|
|
11585
11610
|
}
|
|
11586
11611
|
|
|
11587
11612
|
.tab {
|
|
@@ -63939,7 +63964,7 @@ var _DeesAppuiMaincontent = class _DeesAppuiMaincontent extends (_a85 = DeesElem
|
|
|
63939
63964
|
render() {
|
|
63940
63965
|
return b`
|
|
63941
63966
|
<div class="maincontainer">
|
|
63942
|
-
<div class="topbar">
|
|
63967
|
+
<div class="topbar" ?inert=${!this.tabBarShown()}>
|
|
63943
63968
|
<dees-appui-tabs
|
|
63944
63969
|
.labels=${this.labels}
|
|
63945
63970
|
.tabs=${this.tabs}
|
|
@@ -63966,6 +63991,15 @@ var _DeesAppuiMaincontent = class _DeesAppuiMaincontent extends (_a85 = DeesElem
|
|
|
63966
63991
|
</div>
|
|
63967
63992
|
`;
|
|
63968
63993
|
}
|
|
63994
|
+
/**
|
|
63995
|
+
* Whether the tab bar takes its row: it is shown, it holds a tab or a tab
|
|
63996
|
+
* action — an empty bar is no bar — and auto-hide does not take it away.
|
|
63997
|
+
*/
|
|
63998
|
+
tabBarShown() {
|
|
63999
|
+
if (!this.showTabs) return false;
|
|
64000
|
+
if (this.tabsAutoHide && this.tabs.length <= this.tabsAutoHideThreshold) return false;
|
|
64001
|
+
return this.tabs.length > 0 || this.tabActionsLeft.length > 0 || this.tabActionsRight.length > 0;
|
|
64002
|
+
}
|
|
63969
64003
|
/**
|
|
63970
64004
|
* Put the reader into the content area. This is where the shell's skip link
|
|
63971
64005
|
* lands: the view container itself has `display: contents` and generates no
|
|
@@ -63991,21 +64025,13 @@ var _DeesAppuiMaincontent = class _DeesAppuiMaincontent extends (_a85 = DeesElem
|
|
|
63991
64025
|
composed: true
|
|
63992
64026
|
}));
|
|
63993
64027
|
}
|
|
63994
|
-
|
|
63995
|
-
|
|
63996
|
-
|
|
63997
|
-
|
|
63998
|
-
this.removeAttribute("notabs");
|
|
63999
|
-
} else {
|
|
64000
|
-
this.setAttribute("notabs", "");
|
|
64001
|
-
}
|
|
64002
|
-
}
|
|
64028
|
+
/** Set before each render, so a bar that starts without tabs never shows, not even for a frame. */
|
|
64029
|
+
willUpdate(changedProperties) {
|
|
64030
|
+
super.willUpdate(changedProperties);
|
|
64031
|
+
this.toggleAttribute("notabs", !this.tabBarShown());
|
|
64003
64032
|
}
|
|
64004
64033
|
async firstUpdated(_changedProperties) {
|
|
64005
64034
|
await super.firstUpdated(_changedProperties);
|
|
64006
|
-
if (!this.showTabs) {
|
|
64007
|
-
this.setAttribute("notabs", "");
|
|
64008
|
-
}
|
|
64009
64035
|
this.contentPanel = this.shadowRoot.querySelector(".content-area") ?? void 0;
|
|
64010
64036
|
const tabsComponent = this.shadowRoot.querySelector("dees-appui-tabs");
|
|
64011
64037
|
if (tabsComponent) {
|
|
@@ -64190,7 +64216,13 @@ var resizablePanes = {
|
|
|
64190
64216
|
var paneNames = Object.keys(resizablePanes);
|
|
64191
64217
|
var paneLargeStep = 64;
|
|
64192
64218
|
_DeesAppui_decorators = [customElement("dees-appui")];
|
|
64193
|
-
var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_dec = [n({ type: Array })], _appbarBreadcrumbs_dec = [n({ type: String, reflect: true })], _appbarBreadcrumbSeparator_dec = [n({ type: String, reflect: true })], _appbarLocationEnabled_dec = [n({ type: Boolean, reflect: true })], _locationItems_dec = [r2()], _currentRoute_dec = [r2()], _appbarShowWindowControls_dec = [n({ type: Boolean, reflect: true })], _appbarUser_dec = [n({ type: Object })], _appbarProfileMenuItems_dec = [n({ type: Array })], _appbarShowSearch_dec = [n({ type: Boolean, reflect: true })], _mainmenuLogoIcon_dec = [n({ type: String, reflect: true })], _mainmenuLogoText_dec = [n({ type: String, reflect: true })], _mainmenuGroups_dec = [n({ type: Array })], _mainmenuBottomTabs_dec = [n({ type: Array })], _mainmenuTabs_dec = [n({ type: Array })], _mainmenuSelectedTab_dec = [n({ type: Object })], _secondarymenuHeading_dec = [n({ type: String, reflect: true })], _secondarymenuGroups_dec = [n({ type: Array })], _secondarymenuSelectedItem_dec = [n({ type: Object })], _mainmenuCollapsed_dec = [n({ type: Boolean, reflect: true })], _secondarymenuCollapsed_dec = [n({ type: Boolean, reflect: true })], _mainmenuVisible_dec = [n({ type: Boolean, reflect: true })], _secondarymenuVisible_dec = [n({ type: Boolean, reflect: true })], _secondaryMenuAutoHide_dec = [n({
|
|
64219
|
+
var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_dec = [n({ type: Array })], _appbarBreadcrumbs_dec = [n({ type: String, reflect: true })], _appbarBreadcrumbSeparator_dec = [n({ type: String, reflect: true })], _appbarLocationEnabled_dec = [n({ type: Boolean, reflect: true })], _locationItems_dec = [r2()], _currentRoute_dec = [r2()], _appbarShowWindowControls_dec = [n({ type: Boolean, reflect: true })], _appbarUser_dec = [n({ type: Object })], _appbarProfileMenuItems_dec = [n({ type: Array })], _appbarShowSearch_dec = [n({ type: Boolean, reflect: true })], _mainmenuLogoIcon_dec = [n({ type: String, reflect: true })], _mainmenuLogoText_dec = [n({ type: String, reflect: true })], _mainmenuGroups_dec = [n({ type: Array })], _mainmenuBottomTabs_dec = [n({ type: Array })], _mainmenuTabs_dec = [n({ type: Array })], _mainmenuSelectedTab_dec = [n({ type: Object })], _secondarymenuHeading_dec = [n({ type: String, reflect: true })], _secondarymenuGroups_dec = [n({ type: Array })], _secondarymenuSelectedItem_dec = [n({ type: Object })], _mainmenuCollapsed_dec = [n({ type: Boolean, reflect: true })], _secondarymenuCollapsed_dec = [n({ type: Boolean, reflect: true })], _mainmenuVisible_dec = [n({ type: Boolean, reflect: true })], _secondarymenuVisible_dec = [n({ type: Boolean, reflect: true })], _secondaryMenuAutoHide_dec = [n({
|
|
64220
|
+
reflect: true,
|
|
64221
|
+
converter: {
|
|
64222
|
+
fromAttribute: /* @__PURE__ */ __name((value) => value !== "false", "fromAttribute"),
|
|
64223
|
+
toAttribute: /* @__PURE__ */ __name((value) => value ? null : "false", "toAttribute")
|
|
64224
|
+
}
|
|
64225
|
+
})], _maincontentTabsVisible_dec = [n({ type: Boolean, reflect: true })], _contentTabsAutoHide_dec = [n({ type: Boolean, reflect: true })], _contentTabsAutoHideThreshold_dec = [n({ type: Number, reflect: true })], _activityLogLive_dec = [n({ type: Boolean, reflect: true })], _activityLogCount_dec2 = [r2()], _activityVisibleCount_dec = [r2()], _activityLogToggleVisible_dec = [r2()], _aside_dec2 = [r2()], _asideTool_dec = [r2()], _assistantConfig_dec = [r2()], _assistantElement_dec = [r2()], _maincontentTabs_dec = [n({ type: Array })], _maincontentSelectedTab_dec = [n({ type: Object })], _contentTabActionsLeft_dec = [n({ type: Array })], _contentTabActionsRight_dec = [n({ type: Array })], _contentHeading_dec = [r2()], _contentHeadingViewName_dec = [r2()], _contentHeadingKey_dec = [r2()], _appbar_dec = [r2()], _mainmenu_dec = [r2()], _secondarymenu_dec = [r2()], _maincontent_dec = [r2()], _activitylogElement_dec = [r2()], _sidePanel_dec = [r2()], _bottombarElement_dec = [r2()], _bottombarVisible_dec = [r2()], _trayEnabled_dec = [r2()], _trayTabs_dec = [r2()], _trayOpen_dec = [r2()], _currentView_dec = [r2()], _viewLoading_dec = [r2()], _failedNavigation_dec = [r2()], _heldChrome_dec = [r2()], _labels_dec10 = [r2()], _compact_dec7 = [r2()], _compactMainOpen_dec = [r2()], _compactSecondaryOpen_dec = [r2()], _viewAnnouncement_dec = [r2()], _commands_dec3 = [r2()], _paneWidths_dec = [r2()], _a86) {
|
|
64194
64226
|
constructor() {
|
|
64195
64227
|
super();
|
|
64196
64228
|
// ==========================================
|
|
@@ -64227,7 +64259,7 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
64227
64259
|
__privateAdd(this, _secondarymenuCollapsed, __runInitializers(_init87, 88, this, false)), __runInitializers(_init87, 91, this);
|
|
64228
64260
|
__privateAdd(this, _mainmenuVisible, __runInitializers(_init87, 92, this, true)), __runInitializers(_init87, 95, this);
|
|
64229
64261
|
__privateAdd(this, _secondarymenuVisible, __runInitializers(_init87, 96, this, true)), __runInitializers(_init87, 99, this);
|
|
64230
|
-
__privateAdd(this, _secondaryMenuAutoHide, __runInitializers(_init87, 100, this,
|
|
64262
|
+
__privateAdd(this, _secondaryMenuAutoHide, __runInitializers(_init87, 100, this, true)), __runInitializers(_init87, 103, this);
|
|
64231
64263
|
__privateAdd(this, _maincontentTabsVisible, __runInitializers(_init87, 104, this, true)), __runInitializers(_init87, 107, this);
|
|
64232
64264
|
__privateAdd(this, _contentTabsAutoHide, __runInitializers(_init87, 108, this, false)), __runInitializers(_init87, 111, this);
|
|
64233
64265
|
__privateAdd(this, _contentTabsAutoHideThreshold, __runInitializers(_init87, 112, this, 0)), __runInitializers(_init87, 115, this);
|
|
@@ -64881,8 +64913,10 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
64881
64913
|
/**
|
|
64882
64914
|
* Hide the section menu, its resize handle and the compact "Sections" button
|
|
64883
64915
|
* while the view on screen declares no sections, and show them again for the
|
|
64884
|
-
* next view that does. The menu's width and collapsed state are
|
|
64885
|
-
* `
|
|
64916
|
+
* next view that does — the default. The menu's width and collapsed state are
|
|
64917
|
+
* kept. `false` keeps an empty menu in place, for an app whose views should
|
|
64918
|
+
* not move as the menu comes and goes. `setSecondaryMenuVisible(false)` still
|
|
64919
|
+
* hides the menu for every view.
|
|
64886
64920
|
*/
|
|
64887
64921
|
setSecondaryMenuAutoHide(enabled) {
|
|
64888
64922
|
this.secondaryMenuAutoHide = enabled;
|
|
@@ -65088,7 +65122,9 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
65088
65122
|
* Set the heading above the view, or `null` for none: it replaces what the
|
|
65089
65123
|
* view declares in `contentHeading` until the next activation, and a title it
|
|
65090
65124
|
* leaves out is the view's name. Called in a view's `onActivate`, it heads the
|
|
65091
|
-
* view being activated.
|
|
65125
|
+
* view being activated. Called again while the view is on screen, for a title
|
|
65126
|
+
* or badges that changed, it updates the same heading in place: the `tools`
|
|
65127
|
+
* element set again stays where it is, and so does the focus in it.
|
|
65092
65128
|
*/
|
|
65093
65129
|
setContentHeading(heading) {
|
|
65094
65130
|
this.contentHeading = heading ? { ...heading } : null;
|
|
@@ -66170,12 +66206,13 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
66170
66206
|
return b`${directives_exports.keyed(chrome.contentHeadingKey, b`<dees-appui-contentheading
|
|
66171
66207
|
slot="heading"
|
|
66172
66208
|
.heading=${heading.title ?? chrome.viewName}
|
|
66209
|
+
.badges=${heading.badges ?? []}
|
|
66173
66210
|
.description=${heading.description ?? ""}
|
|
66174
66211
|
.meta=${heading.meta ?? []}
|
|
66175
66212
|
.iconName=${heading.iconName ?? ""}
|
|
66176
66213
|
.back=${heading.back ?? null}
|
|
66177
66214
|
.actions=${heading.actions ?? []}
|
|
66178
|
-
|
|
66215
|
+
>${heading.tools ? b`<div class="heading-tools" slot="tools">${heading.tools}</div>` : ""}</dees-appui-contentheading>`)}`;
|
|
66179
66216
|
}
|
|
66180
66217
|
/**
|
|
66181
66218
|
* The chrome a view starts from: an empty one — or, when the view keeps its
|
|
@@ -67301,6 +67338,11 @@ __publicField(_DeesAppui, "styles", [
|
|
|
67301
67338
|
display: contents;
|
|
67302
67339
|
}
|
|
67303
67340
|
|
|
67341
|
+
/* Carries a view's heading tools into their slot; the view's element is the control. */
|
|
67342
|
+
.heading-tools {
|
|
67343
|
+
display: contents;
|
|
67344
|
+
}
|
|
67345
|
+
|
|
67304
67346
|
.view-container:empty,
|
|
67305
67347
|
.view-container[hidden] {
|
|
67306
67348
|
display: none;
|
|
@@ -72619,7 +72661,7 @@ var _DeesHarnessConversationPicker = class _DeesHarnessConversationPicker extend
|
|
|
72619
72661
|
* cancelled. Focus returns to whatever had it when the picker opened.
|
|
72620
72662
|
*/
|
|
72621
72663
|
static async pick(optionsArg = {}) {
|
|
72622
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
72664
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-43SBKV7A.js");
|
|
72623
72665
|
const picker = new _DeesHarnessConversationPicker();
|
|
72624
72666
|
picker.sessions = optionsArg.sessions ?? [];
|
|
72625
72667
|
picker.groups = optionsArg.groups ?? [];
|
|
@@ -73080,7 +73122,7 @@ var handleResourceContext = /* @__PURE__ */ __name(async (event) => {
|
|
|
73080
73122
|
list.selectedResourceId = event.detail.resource.id;
|
|
73081
73123
|
}, "handleResourceContext");
|
|
73082
73124
|
var openModal = /* @__PURE__ */ __name(async (sessions, groups) => {
|
|
73083
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
73125
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-43SBKV7A.js");
|
|
73084
73126
|
const content = document.createElement("dees-harness-session-list");
|
|
73085
73127
|
content.sessions = sessions;
|
|
73086
73128
|
content.groups = groups;
|
|
@@ -116838,8 +116880,8 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a139 = DeesElement,
|
|
|
116838
116880
|
const trail = view && (parent || title !== view.name) ? [...parent ? [parent] : [], view].map((entry) => ({ label: entry.name })) : [];
|
|
116839
116881
|
return b`${directives_exports.keyed(view, b`<dees-appui-contentheading
|
|
116840
116882
|
.heading=${title} .description=${heading.description ?? ""} .meta=${heading.meta ?? []} .iconName=${heading.iconName ?? ""}
|
|
116841
|
-
.back=${heading.back ?? null} .breadcrumbs=${trail} .actions=${heading.actions ?? []}
|
|
116842
|
-
|
|
116883
|
+
.back=${heading.back ?? null} .breadcrumbs=${trail} .badges=${heading.badges ?? []} .actions=${heading.actions ?? []}
|
|
116884
|
+
>${heading.tools ? b`<div class="heading-tools" slot="tools">${heading.tools}</div>` : ""}</dees-appui-contentheading>`)}`;
|
|
116843
116885
|
}
|
|
116844
116886
|
handleNavigationKey(event) {
|
|
116845
116887
|
if (!["ArrowDown", "ArrowUp", "Home", "End"].includes(event.key)) return;
|
|
@@ -116895,7 +116937,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a139 = DeesElement,
|
|
|
116895
116937
|
this.terminalOpen = true;
|
|
116896
116938
|
const request = ++this.terminalRequest;
|
|
116897
116939
|
try {
|
|
116898
|
-
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-
|
|
116940
|
+
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-4WZ3CPSW.js");
|
|
116899
116941
|
await this.updateComplete;
|
|
116900
116942
|
if (!this.isConnected || request !== this.terminalRequest) return;
|
|
116901
116943
|
const terminal = new DeesWorkspaceTerminal3();
|
|
@@ -116992,6 +117034,8 @@ __publicField(_DeesSimpleAppDash, "styles", [themeDefaultStyles, cssManager.defa
|
|
|
116992
117034
|
.viewTab.sub { min-height: 34px; font-size: 12px; }
|
|
116993
117035
|
.appActions { padding: 8px; border-top: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle); }
|
|
116994
117036
|
.workspace { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-width: 0; min-height: 0; }
|
|
117037
|
+
/* Carries a view's heading tools into their slot; the view's element is the control. */
|
|
117038
|
+
.heading-tools { display: contents; }
|
|
116995
117039
|
.contentArea { min-height: 0; min-width: 0; position: relative; display: grid; }
|
|
116996
117040
|
.appcontent { overflow: auto; min-height: 0; min-width: 0; scrollbar-gutter: stable; overscroll-behavior: contain; }
|
|
116997
117041
|
.appcontent[inert] { visibility: hidden; }
|
|
@@ -123897,7 +123941,7 @@ var bright = {
|
|
|
123897
123941
|
// ts_web/00_commitinfo_data.ts
|
|
123898
123942
|
var commitinfo = {
|
|
123899
123943
|
name: "@design.estate/dees-catalog",
|
|
123900
|
-
version: "21.
|
|
123944
|
+
version: "21.39.0",
|
|
123901
123945
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
123902
123946
|
};
|
|
123903
123947
|
export {
|