@design.estate/dees-catalog 21.37.1 → 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 +492 -346
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-B32Q6N2A.js → chunk-7SVFKQJK.js} +25 -8
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-B32Q6N2A.js.map → chunk-7SVFKQJK.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-2F6USZXH.js → chunk-FGQNHF2X.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-QPC5CDPV.js → dees-modal-43SBKV7A.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-45XTCPYE.js → dees-workspace-terminal-4WZ3CPSW.js} +3 -3
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00anchorplacement.d.ts +1 -1
- package/dist_ts_web/elements/00anchorplacement.js +37 -6
- 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-input/dees-input-tags/dees-input-tags.d.ts +10 -0
- package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.js +111 -62
- package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.js +5 -1
- package/dist_ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.d.ts +5 -0
- package/dist_ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.js +271 -210
- package/dist_ts_web/elements/00group-overlay/dees-modal/dees-modal.d.ts +7 -3
- package/dist_ts_web/elements/00group-overlay/dees-modal/dees-modal.js +7 -3
- 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 +38 -16
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00anchorplacement.ts +37 -5
- 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-input/dees-input-tags/dees-input-tags.ts +112 -58
- package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts +4 -0
- package/ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.ts +318 -262
- package/ts_web/elements/00group-overlay/dees-modal/dees-modal.ts +12 -5
- 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-2F6USZXH.js.map → chunk-FGQNHF2X.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-QPC5CDPV.js.map → dees-modal-43SBKV7A.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-45XTCPYE.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
|
|
|
@@ -6182,6 +6205,36 @@ var _DeesInputTags = class _DeesInputTags extends (_a14 = DeesInputBase, _value_
|
|
|
6182
6205
|
__privateAdd(this, _showSuggestions, __runInitializers(_init16, 28, this, false)), __runInitializers(_init16, 31, this);
|
|
6183
6206
|
__privateAdd(this, _highlightedSuggestionIndex, __runInitializers(_init16, 32, this, -1)), __runInitializers(_init16, 35, this);
|
|
6184
6207
|
__privateAdd(this, _validationText2, __runInitializers(_init16, 36, this, "")), __runInitializers(_init16, 39, this);
|
|
6208
|
+
/** Ends the listeners that keep the open suggestions beside the field. */
|
|
6209
|
+
__publicField(this, "suggestionsTracking");
|
|
6210
|
+
/**
|
|
6211
|
+
* The open suggestions stand in the top layer, below the field or above it without room there,
|
|
6212
|
+
* so no scroll container or clipping ancestor around the field cuts them off. They follow the
|
|
6213
|
+
* field as it scrolls or grows and step out of view while none of it shows.
|
|
6214
|
+
*/
|
|
6215
|
+
__publicField(this, "placeSuggestions", /* @__PURE__ */ __name(() => {
|
|
6216
|
+
const list = this.shadowRoot?.querySelector(".suggestions-dropdown");
|
|
6217
|
+
const field = this.shadowRoot?.querySelector(".tags-container");
|
|
6218
|
+
if (!list || !field) return;
|
|
6219
|
+
const shown = visibleRect(field);
|
|
6220
|
+
if (!shown) {
|
|
6221
|
+
if (list.matches(":popover-open")) list.hidePopover();
|
|
6222
|
+
return;
|
|
6223
|
+
}
|
|
6224
|
+
if (!list.matches(":popover-open")) list.showPopover();
|
|
6225
|
+
const box = field.getBoundingClientRect();
|
|
6226
|
+
list.style.width = `${box.width}px`;
|
|
6227
|
+
const placed = placeAnchored({
|
|
6228
|
+
anchor: { left: box.left, right: box.right, top: shown.top, bottom: shown.bottom },
|
|
6229
|
+
width: box.width,
|
|
6230
|
+
height: list.offsetHeight,
|
|
6231
|
+
placement: "bottom",
|
|
6232
|
+
flip: true,
|
|
6233
|
+
gap: 4
|
|
6234
|
+
});
|
|
6235
|
+
list.style.left = `${placed.left}px`;
|
|
6236
|
+
list.style.top = `${placed.top}px`;
|
|
6237
|
+
}, "placeSuggestions"));
|
|
6185
6238
|
}
|
|
6186
6239
|
render() {
|
|
6187
6240
|
const filteredSuggestions = this.suggestions.filter(
|
|
@@ -6191,56 +6244,54 @@ var _DeesInputTags = class _DeesInputTags extends (_a14 = DeesInputBase, _value_
|
|
|
6191
6244
|
<div class="input-wrapper">
|
|
6192
6245
|
${this.renderLabel()}
|
|
6193
6246
|
|
|
6194
|
-
<div
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
<
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
<
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
</div>
|
|
6247
|
+
<div
|
|
6248
|
+
class="tags-container field-control ${this.disabled ? "disabled" : ""}"
|
|
6249
|
+
@mousedown=${this.handleContainerMousedown}
|
|
6250
|
+
@click=${this.handleContainerClick}
|
|
6251
|
+
>
|
|
6252
|
+
${this.value.map((tag) => b`
|
|
6253
|
+
<div class="tag">
|
|
6254
|
+
<span>${tag}</span>
|
|
6255
|
+
${!this.disabled ? b`
|
|
6256
|
+
<button type="button" class="tag-remove input-action" aria-label=${this.t("tags.remove", { tag })} @click=${(e2) => this.removeTag(e2, tag)}>
|
|
6257
|
+
<dees-icon .icon=${"lucide:x"} .iconSize=${tagRemoveGlyphPx}></dees-icon>
|
|
6258
|
+
</button>
|
|
6259
|
+
` : ""}
|
|
6260
|
+
</div>
|
|
6261
|
+
`)}
|
|
6262
|
+
|
|
6263
|
+
${!this.disabled && (!this.maxTags || this.value.length < this.maxTags) ? b`
|
|
6264
|
+
<input
|
|
6265
|
+
type="text"
|
|
6266
|
+
aria-label=${this.label ? this.t("tags.addTo", { label: this.label }) : this.t("tags.add")}
|
|
6267
|
+
class="tag-input"
|
|
6268
|
+
.placeholder=${this.placeholder || this.t("tags.placeholder")}
|
|
6269
|
+
.value=${this.inputValue}
|
|
6270
|
+
@input=${this.handleInput}
|
|
6271
|
+
@keydown=${this.handleKeyDown}
|
|
6272
|
+
@focus=${this.handleFocus}
|
|
6273
|
+
@blur=${this.handleBlur}
|
|
6274
|
+
?disabled=${this.disabled}
|
|
6275
|
+
/>
|
|
6276
|
+
` : ""}
|
|
6277
|
+
</div>
|
|
6226
6278
|
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6279
|
+
${this.showSuggestions && filteredSuggestions.length > 0 ? b`
|
|
6280
|
+
<div class="suggestions-dropdown" popover="manual">
|
|
6281
|
+
${filteredSuggestions.map((suggestion, index) => b`
|
|
6282
|
+
<div
|
|
6283
|
+
class="suggestion ${index === this.highlightedSuggestionIndex ? "highlighted" : ""}"
|
|
6284
|
+
@mousedown=${(e2) => {
|
|
6233
6285
|
e2.preventDefault();
|
|
6234
6286
|
this.addTag(suggestion);
|
|
6235
6287
|
}}
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
</div>
|
|
6288
|
+
@mouseenter=${() => this.highlightedSuggestionIndex = index}
|
|
6289
|
+
>
|
|
6290
|
+
${suggestion}
|
|
6291
|
+
</div>
|
|
6292
|
+
`)}
|
|
6293
|
+
</div>
|
|
6294
|
+
` : ""}
|
|
6244
6295
|
|
|
6245
6296
|
${this.validationText ? b`
|
|
6246
6297
|
<div class="validation-message">${this.validationText}</div>
|
|
@@ -6250,6 +6301,31 @@ var _DeesInputTags = class _DeesInputTags extends (_a14 = DeesInputBase, _value_
|
|
|
6250
6301
|
</div>
|
|
6251
6302
|
`;
|
|
6252
6303
|
}
|
|
6304
|
+
updated(changedProperties) {
|
|
6305
|
+
super.updated(changedProperties);
|
|
6306
|
+
const list = this.shadowRoot.querySelector(".suggestions-dropdown");
|
|
6307
|
+
if (!list) {
|
|
6308
|
+
this.suggestionsTracking?.abort();
|
|
6309
|
+
this.suggestionsTracking = void 0;
|
|
6310
|
+
return;
|
|
6311
|
+
}
|
|
6312
|
+
if (!this.suggestionsTracking) {
|
|
6313
|
+
const field = this.shadowRoot.querySelector(".tags-container");
|
|
6314
|
+
const tracking = new AbortController();
|
|
6315
|
+
this.suggestionsTracking = tracking;
|
|
6316
|
+
listenForScrollAround(field, this.placeSuggestions, tracking.signal);
|
|
6317
|
+
window.addEventListener("resize", this.placeSuggestions, { passive: true, signal: tracking.signal });
|
|
6318
|
+
const observer = new ResizeObserver(this.placeSuggestions);
|
|
6319
|
+
observer.observe(field);
|
|
6320
|
+
tracking.signal.addEventListener("abort", () => observer.disconnect());
|
|
6321
|
+
}
|
|
6322
|
+
this.placeSuggestions();
|
|
6323
|
+
}
|
|
6324
|
+
async disconnectedCallback() {
|
|
6325
|
+
this.suggestionsTracking?.abort();
|
|
6326
|
+
this.suggestionsTracking = void 0;
|
|
6327
|
+
await super.disconnectedCallback();
|
|
6328
|
+
}
|
|
6253
6329
|
handleContainerClick(e2) {
|
|
6254
6330
|
if (this.disabled) return;
|
|
6255
6331
|
const input = this.shadowRoot?.querySelector(".tag-input");
|
|
@@ -6518,17 +6594,13 @@ __publicField(_DeesInputTags, "styles", [
|
|
|
6518
6594
|
cursor: not-allowed;
|
|
6519
6595
|
}
|
|
6520
6596
|
|
|
6521
|
-
/* Suggestions
|
|
6522
|
-
.suggestions-container {
|
|
6523
|
-
position: relative;
|
|
6524
|
-
}
|
|
6525
|
-
|
|
6597
|
+
/* Suggestions: a popover in the top layer, placed below the field by placeSuggestions. */
|
|
6526
6598
|
.suggestions-dropdown {
|
|
6527
|
-
position:
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6599
|
+
position: fixed;
|
|
6600
|
+
inset: auto;
|
|
6601
|
+
margin: 0;
|
|
6602
|
+
padding: 0;
|
|
6603
|
+
color: inherit;
|
|
6532
6604
|
background: var(--dees-material-regular-bg-opaque);
|
|
6533
6605
|
border: var(--dees-line-width-hairline) solid var(--dees-color-border-default);
|
|
6534
6606
|
border-radius: var(--dees-radius-lg);
|
|
@@ -6536,7 +6608,6 @@ __publicField(_DeesInputTags, "styles", [
|
|
|
6536
6608
|
box-shadow: var(--dees-shadow-lg);
|
|
6537
6609
|
max-height: 200px;
|
|
6538
6610
|
overflow-y: auto;
|
|
6539
|
-
z-index: 1000;
|
|
6540
6611
|
}
|
|
6541
6612
|
|
|
6542
6613
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
@@ -7127,7 +7198,7 @@ var demoFunc12 = /* @__PURE__ */ __name(() => {
|
|
|
7127
7198
|
}, "demoFunc");
|
|
7128
7199
|
|
|
7129
7200
|
// ts_web/elements/00group-feedback/dees-state/dees-state.ts
|
|
7130
|
-
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;
|
|
7131
7202
|
var defaultIcons = {
|
|
7132
7203
|
empty: "lucide:Inbox",
|
|
7133
7204
|
error: "lucide:CircleAlert"
|
|
@@ -7135,7 +7206,7 @@ var defaultIcons = {
|
|
|
7135
7206
|
var actionKeyOf2 = /* @__PURE__ */ __name((action) => action.key ?? action.label, "actionKeyOf");
|
|
7136
7207
|
var retryKey = "\0retry";
|
|
7137
7208
|
_DeesState_decorators = [customElement("dees-state")];
|
|
7138
|
-
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) {
|
|
7139
7210
|
constructor() {
|
|
7140
7211
|
super(...arguments);
|
|
7141
7212
|
__privateAdd(this, _variant, __runInitializers(_init18, 8, this, "empty")), __runInitializers(_init18, 11, this);
|
|
@@ -7148,7 +7219,7 @@ var _DeesState = class _DeesState extends (_a16 = DeesElement, _variant_dec = [n
|
|
|
7148
7219
|
__privateAdd(this, _compact, __runInitializers(_init18, 36, this, false)), __runInitializers(_init18, 39, this);
|
|
7149
7220
|
__privateAdd(this, _pendingActions2, __runInitializers(_init18, 40, this, /* @__PURE__ */ new Set())), __runInitializers(_init18, 43, this);
|
|
7150
7221
|
__publicField(this, "t", dcLocalize(this));
|
|
7151
|
-
__privateAdd(this,
|
|
7222
|
+
__privateAdd(this, _hasActionsSlot, __runInitializers(_init18, 44, this, false)), __runInitializers(_init18, 47, this);
|
|
7152
7223
|
__publicField(this, "handleActionsSlotChange", /* @__PURE__ */ __name((event) => {
|
|
7153
7224
|
this.hasActionsSlot = event.target.assignedElements({ flatten: true }).length > 0;
|
|
7154
7225
|
}, "handleActionsSlotChange"));
|
|
@@ -7226,7 +7297,7 @@ _actions3 = new WeakMap();
|
|
|
7226
7297
|
_onRetry = new WeakMap();
|
|
7227
7298
|
_compact = new WeakMap();
|
|
7228
7299
|
_pendingActions2 = new WeakMap();
|
|
7229
|
-
|
|
7300
|
+
_hasActionsSlot = new WeakMap();
|
|
7230
7301
|
__decorateElement(_init18, 4, "variant", _variant_dec, _DeesState, _variant);
|
|
7231
7302
|
__decorateElement(_init18, 4, "heading", _heading_dec3, _DeesState, _heading3);
|
|
7232
7303
|
__decorateElement(_init18, 4, "description", _description_dec2, _DeesState, _description2);
|
|
@@ -7236,7 +7307,7 @@ __decorateElement(_init18, 4, "actions", _actions_dec3, _DeesState, _actions3);
|
|
|
7236
7307
|
__decorateElement(_init18, 4, "onRetry", _onRetry_dec, _DeesState, _onRetry);
|
|
7237
7308
|
__decorateElement(_init18, 4, "compact", _compact_dec, _DeesState, _compact);
|
|
7238
7309
|
__decorateElement(_init18, 4, "pendingActions", _pendingActions_dec2, _DeesState, _pendingActions2);
|
|
7239
|
-
__decorateElement(_init18, 4, "hasActionsSlot",
|
|
7310
|
+
__decorateElement(_init18, 4, "hasActionsSlot", _hasActionsSlot_dec, _DeesState, _hasActionsSlot);
|
|
7240
7311
|
_DeesState = __decorateElement(_init18, 0, "DeesState", _DeesState_decorators, _DeesState);
|
|
7241
7312
|
__name(_DeesState, "DeesState");
|
|
7242
7313
|
__publicField(_DeesState, "demo", demoFunc12);
|
|
@@ -11526,7 +11597,8 @@ __publicField(_DeesAppuiPage, "styles", [
|
|
|
11526
11597
|
outline-offset: -2px;
|
|
11527
11598
|
}
|
|
11528
11599
|
|
|
11529
|
-
/* 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. */
|
|
11530
11602
|
.tabs {
|
|
11531
11603
|
display: flex;
|
|
11532
11604
|
gap: var(--dees-spacing-xs);
|
|
@@ -11534,6 +11606,7 @@ __publicField(_DeesAppuiPage, "styles", [
|
|
|
11534
11606
|
scrollbar-width: none;
|
|
11535
11607
|
margin-top: var(--dees-spacing-xs);
|
|
11536
11608
|
margin-bottom: calc(-1 * var(--dees-line-width-hairline));
|
|
11609
|
+
margin-inline-start: calc(-1 * var(--dees-spacing-md));
|
|
11537
11610
|
}
|
|
11538
11611
|
|
|
11539
11612
|
.tab {
|
|
@@ -63891,7 +63964,7 @@ var _DeesAppuiMaincontent = class _DeesAppuiMaincontent extends (_a85 = DeesElem
|
|
|
63891
63964
|
render() {
|
|
63892
63965
|
return b`
|
|
63893
63966
|
<div class="maincontainer">
|
|
63894
|
-
<div class="topbar">
|
|
63967
|
+
<div class="topbar" ?inert=${!this.tabBarShown()}>
|
|
63895
63968
|
<dees-appui-tabs
|
|
63896
63969
|
.labels=${this.labels}
|
|
63897
63970
|
.tabs=${this.tabs}
|
|
@@ -63918,6 +63991,15 @@ var _DeesAppuiMaincontent = class _DeesAppuiMaincontent extends (_a85 = DeesElem
|
|
|
63918
63991
|
</div>
|
|
63919
63992
|
`;
|
|
63920
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
|
+
}
|
|
63921
64003
|
/**
|
|
63922
64004
|
* Put the reader into the content area. This is where the shell's skip link
|
|
63923
64005
|
* lands: the view container itself has `display: contents` and generates no
|
|
@@ -63943,21 +64025,13 @@ var _DeesAppuiMaincontent = class _DeesAppuiMaincontent extends (_a85 = DeesElem
|
|
|
63943
64025
|
composed: true
|
|
63944
64026
|
}));
|
|
63945
64027
|
}
|
|
63946
|
-
|
|
63947
|
-
|
|
63948
|
-
|
|
63949
|
-
|
|
63950
|
-
this.removeAttribute("notabs");
|
|
63951
|
-
} else {
|
|
63952
|
-
this.setAttribute("notabs", "");
|
|
63953
|
-
}
|
|
63954
|
-
}
|
|
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());
|
|
63955
64032
|
}
|
|
63956
64033
|
async firstUpdated(_changedProperties) {
|
|
63957
64034
|
await super.firstUpdated(_changedProperties);
|
|
63958
|
-
if (!this.showTabs) {
|
|
63959
|
-
this.setAttribute("notabs", "");
|
|
63960
|
-
}
|
|
63961
64035
|
this.contentPanel = this.shadowRoot.querySelector(".content-area") ?? void 0;
|
|
63962
64036
|
const tabsComponent = this.shadowRoot.querySelector("dees-appui-tabs");
|
|
63963
64037
|
if (tabsComponent) {
|
|
@@ -64142,7 +64216,13 @@ var resizablePanes = {
|
|
|
64142
64216
|
var paneNames = Object.keys(resizablePanes);
|
|
64143
64217
|
var paneLargeStep = 64;
|
|
64144
64218
|
_DeesAppui_decorators = [customElement("dees-appui")];
|
|
64145
|
-
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) {
|
|
64146
64226
|
constructor() {
|
|
64147
64227
|
super();
|
|
64148
64228
|
// ==========================================
|
|
@@ -64179,7 +64259,7 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
64179
64259
|
__privateAdd(this, _secondarymenuCollapsed, __runInitializers(_init87, 88, this, false)), __runInitializers(_init87, 91, this);
|
|
64180
64260
|
__privateAdd(this, _mainmenuVisible, __runInitializers(_init87, 92, this, true)), __runInitializers(_init87, 95, this);
|
|
64181
64261
|
__privateAdd(this, _secondarymenuVisible, __runInitializers(_init87, 96, this, true)), __runInitializers(_init87, 99, this);
|
|
64182
|
-
__privateAdd(this, _secondaryMenuAutoHide, __runInitializers(_init87, 100, this,
|
|
64262
|
+
__privateAdd(this, _secondaryMenuAutoHide, __runInitializers(_init87, 100, this, true)), __runInitializers(_init87, 103, this);
|
|
64183
64263
|
__privateAdd(this, _maincontentTabsVisible, __runInitializers(_init87, 104, this, true)), __runInitializers(_init87, 107, this);
|
|
64184
64264
|
__privateAdd(this, _contentTabsAutoHide, __runInitializers(_init87, 108, this, false)), __runInitializers(_init87, 111, this);
|
|
64185
64265
|
__privateAdd(this, _contentTabsAutoHideThreshold, __runInitializers(_init87, 112, this, 0)), __runInitializers(_init87, 115, this);
|
|
@@ -64833,8 +64913,10 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
64833
64913
|
/**
|
|
64834
64914
|
* Hide the section menu, its resize handle and the compact "Sections" button
|
|
64835
64915
|
* while the view on screen declares no sections, and show them again for the
|
|
64836
|
-
* next view that does. The menu's width and collapsed state are
|
|
64837
|
-
* `
|
|
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.
|
|
64838
64920
|
*/
|
|
64839
64921
|
setSecondaryMenuAutoHide(enabled) {
|
|
64840
64922
|
this.secondaryMenuAutoHide = enabled;
|
|
@@ -65040,7 +65122,9 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
65040
65122
|
* Set the heading above the view, or `null` for none: it replaces what the
|
|
65041
65123
|
* view declares in `contentHeading` until the next activation, and a title it
|
|
65042
65124
|
* leaves out is the view's name. Called in a view's `onActivate`, it heads the
|
|
65043
|
-
* 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.
|
|
65044
65128
|
*/
|
|
65045
65129
|
setContentHeading(heading) {
|
|
65046
65130
|
this.contentHeading = heading ? { ...heading } : null;
|
|
@@ -66122,12 +66206,13 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
66122
66206
|
return b`${directives_exports.keyed(chrome.contentHeadingKey, b`<dees-appui-contentheading
|
|
66123
66207
|
slot="heading"
|
|
66124
66208
|
.heading=${heading.title ?? chrome.viewName}
|
|
66209
|
+
.badges=${heading.badges ?? []}
|
|
66125
66210
|
.description=${heading.description ?? ""}
|
|
66126
66211
|
.meta=${heading.meta ?? []}
|
|
66127
66212
|
.iconName=${heading.iconName ?? ""}
|
|
66128
66213
|
.back=${heading.back ?? null}
|
|
66129
66214
|
.actions=${heading.actions ?? []}
|
|
66130
|
-
|
|
66215
|
+
>${heading.tools ? b`<div class="heading-tools" slot="tools">${heading.tools}</div>` : ""}</dees-appui-contentheading>`)}`;
|
|
66131
66216
|
}
|
|
66132
66217
|
/**
|
|
66133
66218
|
* The chrome a view starts from: an empty one — or, when the view keeps its
|
|
@@ -67253,6 +67338,11 @@ __publicField(_DeesAppui, "styles", [
|
|
|
67253
67338
|
display: contents;
|
|
67254
67339
|
}
|
|
67255
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
|
+
|
|
67256
67346
|
.view-container:empty,
|
|
67257
67347
|
.view-container[hidden] {
|
|
67258
67348
|
display: none;
|
|
@@ -72571,7 +72661,7 @@ var _DeesHarnessConversationPicker = class _DeesHarnessConversationPicker extend
|
|
|
72571
72661
|
* cancelled. Focus returns to whatever had it when the picker opened.
|
|
72572
72662
|
*/
|
|
72573
72663
|
static async pick(optionsArg = {}) {
|
|
72574
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
72664
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-43SBKV7A.js");
|
|
72575
72665
|
const picker = new _DeesHarnessConversationPicker();
|
|
72576
72666
|
picker.sessions = optionsArg.sessions ?? [];
|
|
72577
72667
|
picker.groups = optionsArg.groups ?? [];
|
|
@@ -73032,7 +73122,7 @@ var handleResourceContext = /* @__PURE__ */ __name(async (event) => {
|
|
|
73032
73122
|
list.selectedResourceId = event.detail.resource.id;
|
|
73033
73123
|
}, "handleResourceContext");
|
|
73034
73124
|
var openModal = /* @__PURE__ */ __name(async (sessions, groups) => {
|
|
73035
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
73125
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-43SBKV7A.js");
|
|
73036
73126
|
const content = document.createElement("dees-harness-session-list");
|
|
73037
73127
|
content.sessions = sessions;
|
|
73038
73128
|
content.groups = groups;
|
|
@@ -76438,9 +76528,9 @@ __runInitializers(_init105, 1, _DeesKanbanActivity);
|
|
|
76438
76528
|
var DeesKanbanActivity = _DeesKanbanActivity;
|
|
76439
76529
|
|
|
76440
76530
|
// ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.ts
|
|
76441
|
-
var _feed_dec, _editing_dec3, _conflict_dec, _showTicketKey_dec, _canGoBack_dec, _saving_dec2, _error_dec6, _projects_dec2, _activityError_dec, _loadingActivity_dec, _activity_dec2, _commentsError_dec, _loadingComments_dec, _searchTickets_dec2, _comments_dec2, _commentDraft_dec, _draft_dec4, _provider_dec3, _people_dec, _columns_dec4, _tickets_dec2, _ticket_dec, _a105, _DeesKanbanTicketDetail_decorators, _init106, _ticket, _tickets2, _columns4, _people, _provider3, _draft4, _commentDraft, _comments2, _searchTickets2, _loadingComments, _commentsError, _activity2, _loadingActivity, _activityError, _projects2, _error6, _saving2, _canGoBack, _showTicketKey, _conflict, _editing3, _feed;
|
|
76531
|
+
var _feed_dec, _editing_dec3, _conflict_dec, _frameless_dec14, _showTicketKey_dec, _canGoBack_dec, _saving_dec2, _error_dec6, _projects_dec2, _activityError_dec, _loadingActivity_dec, _activity_dec2, _commentsError_dec, _loadingComments_dec, _searchTickets_dec2, _comments_dec2, _commentDraft_dec, _draft_dec4, _provider_dec3, _people_dec, _columns_dec4, _tickets_dec2, _ticket_dec, _a105, _DeesKanbanTicketDetail_decorators, _init106, _ticket, _tickets2, _columns4, _people, _provider3, _draft4, _commentDraft, _comments2, _searchTickets2, _loadingComments, _commentsError, _activity2, _loadingActivity, _activityError, _projects2, _error6, _saving2, _canGoBack, _showTicketKey, _frameless14, _conflict, _editing3, _feed;
|
|
76442
76532
|
_DeesKanbanTicketDetail_decorators = [customElement("dees-kanban-ticket-detail")];
|
|
76443
|
-
var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a105 = DeesElement, _ticket_dec = [n({ attribute: false })], _tickets_dec2 = [n({ attribute: false })], _columns_dec4 = [n({ attribute: false })], _people_dec = [n({ attribute: false })], _provider_dec3 = [n({ attribute: false })], _draft_dec4 = [n({ attribute: false })], _commentDraft_dec = [n({ attribute: false })], _comments_dec2 = [n({ attribute: false })], _searchTickets_dec2 = [n({ attribute: false })], _loadingComments_dec = [n({ type: Boolean, reflect: true })], _commentsError_dec = [n({ type: String, reflect: true })], _activity_dec2 = [n({ attribute: false })], _loadingActivity_dec = [n({ type: Boolean, reflect: true })], _activityError_dec = [n({ type: String, reflect: true })], _projects_dec2 = [n({ attribute: false })], _error_dec6 = [n({ type: String, reflect: true })], _saving_dec2 = [n({ type: Boolean, reflect: true })], _canGoBack_dec = [n({ type: Boolean, reflect: true })], _showTicketKey_dec = [n({ type: Boolean, reflect: true })], _conflict_dec = [n({ attribute: false })], _editing_dec3 = [r2()], _feed_dec = [r2()], _a105) {
|
|
76533
|
+
var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a105 = DeesElement, _ticket_dec = [n({ attribute: false })], _tickets_dec2 = [n({ attribute: false })], _columns_dec4 = [n({ attribute: false })], _people_dec = [n({ attribute: false })], _provider_dec3 = [n({ attribute: false })], _draft_dec4 = [n({ attribute: false })], _commentDraft_dec = [n({ attribute: false })], _comments_dec2 = [n({ attribute: false })], _searchTickets_dec2 = [n({ attribute: false })], _loadingComments_dec = [n({ type: Boolean, reflect: true })], _commentsError_dec = [n({ type: String, reflect: true })], _activity_dec2 = [n({ attribute: false })], _loadingActivity_dec = [n({ type: Boolean, reflect: true })], _activityError_dec = [n({ type: String, reflect: true })], _projects_dec2 = [n({ attribute: false })], _error_dec6 = [n({ type: String, reflect: true })], _saving_dec2 = [n({ type: Boolean, reflect: true })], _canGoBack_dec = [n({ type: Boolean, reflect: true })], _showTicketKey_dec = [n({ type: Boolean, reflect: true })], _frameless_dec14 = [n({ type: Boolean, reflect: true })], _conflict_dec = [n({ attribute: false })], _editing_dec3 = [r2()], _feed_dec = [r2()], _a105) {
|
|
76444
76534
|
constructor() {
|
|
76445
76535
|
super(...arguments);
|
|
76446
76536
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -76463,11 +76553,12 @@ var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a105 = Dee
|
|
|
76463
76553
|
__privateAdd(this, _saving2, __runInitializers(_init106, 72, this, false)), __runInitializers(_init106, 75, this);
|
|
76464
76554
|
__privateAdd(this, _canGoBack, __runInitializers(_init106, 76, this, false)), __runInitializers(_init106, 79, this);
|
|
76465
76555
|
__privateAdd(this, _showTicketKey, __runInitializers(_init106, 80, this, true)), __runInitializers(_init106, 83, this);
|
|
76466
|
-
__privateAdd(this,
|
|
76467
|
-
__privateAdd(this,
|
|
76556
|
+
__privateAdd(this, _frameless14, __runInitializers(_init106, 84, this, false)), __runInitializers(_init106, 87, this);
|
|
76557
|
+
__privateAdd(this, _conflict, __runInitializers(_init106, 88, this)), __runInitializers(_init106, 91, this);
|
|
76558
|
+
__privateAdd(this, _editing3, __runInitializers(_init106, 92, this, false)), __runInitializers(_init106, 95, this);
|
|
76468
76559
|
/** The reader pressed a button of the refusal, which leaves with its answer: the focus follows. */
|
|
76469
76560
|
__publicField(this, "conflictFocus", false);
|
|
76470
|
-
__privateAdd(this, _feed, __runInitializers(_init106,
|
|
76561
|
+
__privateAdd(this, _feed, __runInitializers(_init106, 96, this, "comments")), __runInitializers(_init106, 99, this);
|
|
76471
76562
|
__publicField(this, "addComment", /* @__PURE__ */ __name((input) => this.provider.addComment(input), "addComment"));
|
|
76472
76563
|
}
|
|
76473
76564
|
updated(changed3) {
|
|
@@ -76621,41 +76712,42 @@ var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a105 = Dee
|
|
|
76621
76712
|
@click=${() => kanbanEvent(this, "kanban-ticket-open", { ticketId: parent.id })}
|
|
76622
76713
|
>${parent.title}</button>` : ""}
|
|
76623
76714
|
</div>
|
|
76624
|
-
<div class="
|
|
76625
|
-
|
|
76626
|
-
|
|
76627
|
-
|
|
76628
|
-
|
|
76629
|
-
|
|
76630
|
-
|
|
76631
|
-
|
|
76632
|
-
|
|
76633
|
-
|
|
76715
|
+
<div class="panes">
|
|
76716
|
+
<div class="main">
|
|
76717
|
+
${this.error ? b`<p class="error" role="alert">${this.error}</p>` : ""}
|
|
76718
|
+
<section class="lead">
|
|
76719
|
+
${this.editing && editable ? b`<div class="edit">
|
|
76720
|
+
${this.conflict ? this.renderConflict(ticket, this.conflict, parents, projects) : ""}
|
|
76721
|
+
<dees-input-text
|
|
76722
|
+
label=${this.t("kanban.ticketTitle")}
|
|
76723
|
+
.value=${draft.title}
|
|
76724
|
+
.disabled=${this.saving}
|
|
76725
|
+
@input=${(event) => this.changeDraft({
|
|
76634
76726
|
title: String(event.currentTarget.value ?? "")
|
|
76635
76727
|
})}
|
|
76636
|
-
|
|
76637
|
-
|
|
76638
|
-
|
|
76639
|
-
|
|
76640
|
-
|
|
76641
|
-
.disabled=${this.saving}
|
|
76642
|
-
@input=${(event) => this.changeDraft({ description: event.currentTarget.value })}
|
|
76643
|
-
></dees-input-textarea>
|
|
76644
|
-
<div class="row">
|
|
76645
|
-
<dees-button
|
|
76646
|
-
size="sm"
|
|
76647
|
-
type="accent"
|
|
76648
|
-
text=${this.t("kanban.saveChanges")}
|
|
76649
|
-
.disabled=${this.saving || !draft.title.trim() || this.conflict !== void 0 && this.conflict.state !== "reloaded"}
|
|
76650
|
-
.status=${this.saving ? "pending" : "normal"}
|
|
76651
|
-
@clicked=${() => kanbanEvent(this, "kanban-ticket-save", { ticketId: ticket.id, draft })}
|
|
76652
|
-
></dees-button>
|
|
76653
|
-
<dees-button
|
|
76654
|
-
size="sm"
|
|
76655
|
-
type="ghost"
|
|
76656
|
-
text=${this.t("common.cancel")}
|
|
76728
|
+
></dees-input-text>
|
|
76729
|
+
<dees-input-textarea
|
|
76730
|
+
label=${this.t("kanban.description")}
|
|
76731
|
+
.value=${draft.description}
|
|
76732
|
+
.rows=${5}
|
|
76657
76733
|
.disabled=${this.saving}
|
|
76658
|
-
@
|
|
76734
|
+
@input=${(event) => this.changeDraft({ description: event.currentTarget.value })}
|
|
76735
|
+
></dees-input-textarea>
|
|
76736
|
+
<div class="row">
|
|
76737
|
+
<dees-button
|
|
76738
|
+
size="sm"
|
|
76739
|
+
type="accent"
|
|
76740
|
+
text=${this.t("kanban.saveChanges")}
|
|
76741
|
+
.disabled=${this.saving || !draft.title.trim() || this.conflict !== void 0 && this.conflict.state !== "reloaded"}
|
|
76742
|
+
.status=${this.saving ? "pending" : "normal"}
|
|
76743
|
+
@clicked=${() => kanbanEvent(this, "kanban-ticket-save", { ticketId: ticket.id, draft })}
|
|
76744
|
+
></dees-button>
|
|
76745
|
+
<dees-button
|
|
76746
|
+
size="sm"
|
|
76747
|
+
type="ghost"
|
|
76748
|
+
text=${this.t("common.cancel")}
|
|
76749
|
+
.disabled=${this.saving}
|
|
76750
|
+
@clicked=${() => {
|
|
76659
76751
|
this.editing = false;
|
|
76660
76752
|
this.draft = void 0;
|
|
76661
76753
|
kanbanEvent(this, "kanban-ticket-draft", {
|
|
@@ -76663,193 +76755,194 @@ var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a105 = Dee
|
|
|
76663
76755
|
draft: void 0
|
|
76664
76756
|
});
|
|
76665
76757
|
}}
|
|
76666
|
-
|
|
76667
|
-
|
|
76668
|
-
|
|
76669
|
-
|
|
76670
|
-
|
|
76671
|
-
|
|
76672
|
-
|
|
76673
|
-
|
|
76674
|
-
|
|
76675
|
-
|
|
76676
|
-
|
|
76677
|
-
|
|
76678
|
-
<
|
|
76679
|
-
|
|
76680
|
-
<ul class="child-list link-list">${ticket.links.map((link) => this.renderLink(link))}</ul>
|
|
76681
|
-
</section>` : ""}
|
|
76682
|
-
${ticket.kind !== "subtask" ? b`<section class="children">
|
|
76683
|
-
<div class="section-title">
|
|
76684
|
-
<h3>${this.t("kanban.children", { kind: ticket.kind })}</h3>
|
|
76685
|
-
<span class="count">${children.length}</span>
|
|
76686
|
-
<span class="spacer"></span>
|
|
76687
|
-
${this.provider.createTicket && ticket.permissions?.createChild !== false ? b`<dees-button
|
|
76758
|
+
></dees-button>
|
|
76759
|
+
</div>
|
|
76760
|
+
</div>` : b`<h2>${ticket.title}</h2>
|
|
76761
|
+
<div
|
|
76762
|
+
class="description ${ticket.description ? "" : "muted"}"
|
|
76763
|
+
>${ticket.description || this.t("kanban.noDescription")}</div>`}
|
|
76764
|
+
${ticket.source ? this.renderSource(ticket.source) : ""}
|
|
76765
|
+
</section>
|
|
76766
|
+
<aside>
|
|
76767
|
+
<div class="fields">
|
|
76768
|
+
<div class="status">
|
|
76769
|
+
<div class="field-head">
|
|
76770
|
+
<label class="caption">${this.t("kanban.status")}</label>
|
|
76771
|
+
${editable && !this.editing ? b`<dees-button
|
|
76688
76772
|
size="sm"
|
|
76689
76773
|
type="ghost"
|
|
76690
|
-
|
|
76691
|
-
|
|
76692
|
-
@clicked=${() =>
|
|
76693
|
-
kind: ticket.kind === "epic" ? "task" : "subtask",
|
|
76694
|
-
parentId: ticket.id,
|
|
76695
|
-
columnId: this.columns[0]?.id ?? ticket.columnId
|
|
76696
|
-
})}
|
|
76697
|
-
></dees-button>` : ""}
|
|
76698
|
-
</div>
|
|
76699
|
-
<div class="child-list">${children.map((child) => b`<button
|
|
76700
|
-
class="child"
|
|
76701
|
-
@click=${() => kanbanEvent(this, "kanban-ticket-open", { ticketId: child.id })}
|
|
76702
|
-
>
|
|
76703
|
-
<span class="child-key">${child.key}</span>
|
|
76704
|
-
<span class="child-title">${child.title}</span>
|
|
76705
|
-
<span class="badge">${this.columns.find(
|
|
76706
|
-
(column) => column.id === child.columnId
|
|
76707
|
-
)?.title ?? child.columnId}</span>
|
|
76708
|
-
</button>`)}</div>
|
|
76709
|
-
${!children.length ? b`<p class="caption">${this.t("kanban.noChildren", { kind: ticket.kind })}</p>` : ""}
|
|
76710
|
-
</section>` : ""}
|
|
76711
|
-
${this.provider.loadActivity ? this.renderFeed(ticket) : this.renderDiscussion(ticket)}
|
|
76712
|
-
</div>
|
|
76713
|
-
</div>
|
|
76714
|
-
<aside>
|
|
76715
|
-
<div class="fields">
|
|
76716
|
-
<div class="status">
|
|
76717
|
-
<div class="field-head">
|
|
76718
|
-
<label class="caption">${this.t("kanban.status")}</label>
|
|
76719
|
-
${editable && !this.editing ? b`<dees-button
|
|
76720
|
-
size="sm"
|
|
76721
|
-
type="ghost"
|
|
76722
|
-
text=${this.t("kanban.editTicket")}
|
|
76723
|
-
icon="lucide:Pencil"
|
|
76724
|
-
@clicked=${() => {
|
|
76774
|
+
text=${this.t("kanban.editTicket")}
|
|
76775
|
+
icon="lucide:Pencil"
|
|
76776
|
+
@clicked=${() => {
|
|
76725
76777
|
this.editing = true;
|
|
76726
76778
|
this.changeDraft({});
|
|
76727
76779
|
}}
|
|
76728
|
-
|
|
76729
|
-
|
|
76730
|
-
|
|
76731
|
-
|
|
76732
|
-
|
|
76733
|
-
|
|
76734
|
-
|
|
76780
|
+
></dees-button>` : ""}
|
|
76781
|
+
</div>
|
|
76782
|
+
<dees-input-dropdown
|
|
76783
|
+
label=${this.t("kanban.status")}
|
|
76784
|
+
.labelPosition=${"none"}
|
|
76785
|
+
.options=${this.columns.map((column) => ({ key: column.id, option: column.title }))}
|
|
76786
|
+
.value=${{
|
|
76735
76787
|
key: ticket.columnId,
|
|
76736
76788
|
option: this.columns.find((column) => column.id === ticket.columnId)?.title ?? ticket.columnId
|
|
76737
76789
|
}}
|
|
76738
|
-
|
|
76739
|
-
|
|
76790
|
+
.disabled=${!movable || this.saving}
|
|
76791
|
+
@selectedOption=${(event) => kanbanEvent(this, "kanban-ticket-move", {
|
|
76740
76792
|
ticketId: ticket.id,
|
|
76741
76793
|
columnId: event.detail.key
|
|
76742
76794
|
})}
|
|
76743
|
-
|
|
76744
|
-
|
|
76745
|
-
|
|
76746
|
-
|
|
76747
|
-
|
|
76748
|
-
|
|
76749
|
-
|
|
76750
|
-
|
|
76751
|
-
|
|
76795
|
+
></dees-input-dropdown>
|
|
76796
|
+
</div>
|
|
76797
|
+
${this.editing && editable && projects.length ? b`<div>
|
|
76798
|
+
<label class="caption">${this.t("kanban.project")}</label>
|
|
76799
|
+
<dees-input-dropdown
|
|
76800
|
+
label=${this.t("kanban.project")}
|
|
76801
|
+
.labelPosition=${"none"}
|
|
76802
|
+
.disabled=${this.saving}
|
|
76803
|
+
.value=${{
|
|
76752
76804
|
key: draft.project ?? "",
|
|
76753
76805
|
option: draft.project ? kanbanProjectName(projects, draft.project) : this.t("kanban.noProject")
|
|
76754
76806
|
}}
|
|
76755
|
-
|
|
76807
|
+
.options=${[
|
|
76756
76808
|
...ticket.project ? [] : [{ key: "", option: this.t("kanban.noProject") }],
|
|
76757
76809
|
...projects.map((project2) => ({ key: project2.id, option: project2.name }))
|
|
76758
76810
|
]}
|
|
76759
|
-
|
|
76760
|
-
|
|
76761
|
-
|
|
76762
|
-
|
|
76763
|
-
|
|
76764
|
-
|
|
76765
|
-
|
|
76766
|
-
|
|
76767
|
-
|
|
76768
|
-
|
|
76769
|
-
|
|
76770
|
-
|
|
76771
|
-
|
|
76772
|
-
|
|
76773
|
-
|
|
76811
|
+
@selectedOption=${(event) => this.changeDraft({ project: event.detail.key })}
|
|
76812
|
+
></dees-input-dropdown>
|
|
76813
|
+
</div>` : ticket.project || projects.length ? b`<div>
|
|
76814
|
+
<label class="caption">${this.t("kanban.project")}</label>
|
|
76815
|
+
<span class="value ${ticket.project ? "" : "muted"}">${ticket.project ? kanbanProjectName(projects, ticket.project) : this.t("kanban.noProject")}</span>
|
|
76816
|
+
</div>` : ""}
|
|
76817
|
+
${this.editing && editable ? b`
|
|
76818
|
+
<div>
|
|
76819
|
+
<label class="caption">${this.t("kanban.priorityLabel")}</label>
|
|
76820
|
+
<dees-input-dropdown
|
|
76821
|
+
label=${this.t("kanban.priorityLabel")}
|
|
76822
|
+
.labelPosition=${"none"}
|
|
76823
|
+
.disabled=${this.saving}
|
|
76824
|
+
.value=${{ key: draft.priority, option: this.t("kanban.priority", { priority: draft.priority }) }}
|
|
76825
|
+
.options=${["none", "low", "normal", "high", "urgent"].map((key) => ({
|
|
76774
76826
|
key,
|
|
76775
76827
|
option: this.t("kanban.priority", { priority: key })
|
|
76776
76828
|
}))}
|
|
76777
|
-
|
|
76778
|
-
|
|
76779
|
-
|
|
76780
|
-
|
|
76781
|
-
|
|
76782
|
-
|
|
76783
|
-
|
|
76784
|
-
|
|
76785
|
-
|
|
76786
|
-
|
|
76829
|
+
@selectedOption=${(event) => this.changeDraft({ priority: event.detail.key })}
|
|
76830
|
+
></dees-input-dropdown>
|
|
76831
|
+
</div>
|
|
76832
|
+
<div>
|
|
76833
|
+
<label class="caption">${this.t("kanban.assignee")}</label>
|
|
76834
|
+
<dees-input-dropdown
|
|
76835
|
+
label=${this.t("kanban.assignee")}
|
|
76836
|
+
.labelPosition=${"none"}
|
|
76837
|
+
.disabled=${this.saving}
|
|
76838
|
+
.value=${{
|
|
76787
76839
|
key: draft.assigneeId,
|
|
76788
76840
|
option: this.people.find((person) => person.id === draft.assigneeId)?.name ?? ticket.assignee?.name ?? this.t("kanban.unassigned")
|
|
76789
76841
|
}}
|
|
76790
|
-
|
|
76842
|
+
.options=${[
|
|
76791
76843
|
{ key: "", option: this.t("kanban.unassigned") },
|
|
76792
76844
|
...this.people.map((person) => ({ key: person.id, option: person.name }))
|
|
76793
76845
|
]}
|
|
76794
|
-
|
|
76795
|
-
|
|
76796
|
-
|
|
76797
|
-
|
|
76798
|
-
|
|
76799
|
-
|
|
76800
|
-
|
|
76801
|
-
|
|
76802
|
-
|
|
76803
|
-
|
|
76846
|
+
@selectedOption=${(event) => this.changeDraft({ assigneeId: event.detail.key })}
|
|
76847
|
+
></dees-input-dropdown>
|
|
76848
|
+
</div>
|
|
76849
|
+
${ticket.kind !== "epic" ? b`<div>
|
|
76850
|
+
<label class="caption">${this.t(ticket.kind === "task" ? "kanban.epic" : "kanban.parentTask")}</label>
|
|
76851
|
+
<dees-input-dropdown
|
|
76852
|
+
label=${this.t(ticket.kind === "task" ? "kanban.epic" : "kanban.parentTask")}
|
|
76853
|
+
.labelPosition=${"none"}
|
|
76854
|
+
.disabled=${this.saving}
|
|
76855
|
+
.value=${{
|
|
76804
76856
|
key: draft.parentId,
|
|
76805
76857
|
option: parents.find((item) => item.id === draft.parentId)?.title ?? this.t("kanban.none")
|
|
76806
76858
|
}}
|
|
76807
|
-
|
|
76859
|
+
.options=${[
|
|
76808
76860
|
...ticket.kind === "task" ? [{ key: "", option: this.t("kanban.none") }] : [],
|
|
76809
76861
|
...parents.map((item) => ({ key: item.id, option: ticketLabel(item) }))
|
|
76810
76862
|
]}
|
|
76811
|
-
|
|
76812
|
-
|
|
76813
|
-
|
|
76814
|
-
|
|
76815
|
-
|
|
76816
|
-
|
|
76817
|
-
|
|
76818
|
-
|
|
76819
|
-
|
|
76820
|
-
|
|
76821
|
-
|
|
76822
|
-
|
|
76823
|
-
|
|
76824
|
-
|
|
76825
|
-
|
|
76826
|
-
|
|
76827
|
-
|
|
76828
|
-
|
|
76829
|
-
|
|
76830
|
-
|
|
76831
|
-
|
|
76832
|
-
|
|
76833
|
-
|
|
76834
|
-
|
|
76835
|
-
|
|
76863
|
+
@selectedOption=${(event) => this.changeDraft({ parentId: event.detail.key })}
|
|
76864
|
+
></dees-input-dropdown>
|
|
76865
|
+
</div>` : ""}
|
|
76866
|
+
` : b`<div>
|
|
76867
|
+
<label class="caption">${this.t("kanban.priorityLabel")}</label>
|
|
76868
|
+
<span class="priority value" data-priority=${ticket.priority ?? "none"}><dees-icon
|
|
76869
|
+
.icon=${kanbanPriorityIcon(ticket.priority)}
|
|
76870
|
+
iconSize="13"
|
|
76871
|
+
aria-hidden="true"
|
|
76872
|
+
></dees-icon>${this.t("kanban.priority", { priority: ticket.priority ?? "none" })}</span>
|
|
76873
|
+
</div>
|
|
76874
|
+
<div>
|
|
76875
|
+
<label class="caption">${this.t("kanban.assignee")}</label>
|
|
76876
|
+
<span class="person value"><span class="avatar" aria-hidden="true">${ticket.assignee ? kanbanInitials(ticket.assignee.name) : "\u2013"}</span>${ticket.assignee?.name ?? this.t("kanban.unassigned")}</span>
|
|
76877
|
+
</div>`}
|
|
76878
|
+
${this.editing && editable ? b`<div class="labels">
|
|
76879
|
+
<label class="caption">${this.t("kanban.labels")}</label>
|
|
76880
|
+
<dees-input-tags
|
|
76881
|
+
label=${this.t("kanban.labels")}
|
|
76882
|
+
.labelPosition=${"none"}
|
|
76883
|
+
.disabled=${this.saving}
|
|
76884
|
+
.value=${draft.labels ?? ticket.labels ?? []}
|
|
76885
|
+
.suggestions=${labels}
|
|
76886
|
+
.placeholder=${this.t("kanban.labelsPlaceholder")}
|
|
76887
|
+
@change=${(event) => {
|
|
76836
76888
|
event.stopPropagation();
|
|
76837
76889
|
this.changeDraft({ labels: [...event.detail.value] });
|
|
76838
76890
|
}}
|
|
76839
|
-
|
|
76840
|
-
|
|
76841
|
-
|
|
76842
|
-
|
|
76843
|
-
|
|
76844
|
-
|
|
76891
|
+
@input=${(event) => event.stopPropagation()}
|
|
76892
|
+
></dees-input-tags>
|
|
76893
|
+
</div>` : ticket.labels?.length ? b`<div class="labels">
|
|
76894
|
+
<label class="caption">${this.t("kanban.labels")}</label>
|
|
76895
|
+
<div class="row value">
|
|
76896
|
+
${ticket.labels.map((label) => b`<span class="badge">${label}</span>`)}
|
|
76897
|
+
</div>
|
|
76898
|
+
</div>` : ""}
|
|
76899
|
+
</div>
|
|
76900
|
+
${ticket.createdAt || ticket.updatedAt ? b`<footer class="stamps">
|
|
76901
|
+
${ticket.createdAt ? this.renderStamp("created", ticket.createdAt, ticket.createdBy) : ""}
|
|
76902
|
+
${ticket.updatedAt ? this.renderStamp("updated", ticket.updatedAt, ticket.updatedBy) : ""}
|
|
76903
|
+
</footer>` : ""}
|
|
76904
|
+
</aside>
|
|
76905
|
+
<div class="body">
|
|
76906
|
+
${ticket.links?.length ? b`<section class="links">
|
|
76907
|
+
<div class="section-title">
|
|
76908
|
+
<h3>${this.t("kanban.links")}</h3>
|
|
76909
|
+
<span class="count">${ticket.links.length}</span>
|
|
76845
76910
|
</div>
|
|
76846
|
-
|
|
76911
|
+
<ul class="child-list link-list">${ticket.links.map((link) => this.renderLink(link))}</ul>
|
|
76912
|
+
</section>` : ""}
|
|
76913
|
+
${ticket.kind !== "subtask" ? b`<section class="children">
|
|
76914
|
+
<div class="section-title">
|
|
76915
|
+
<h3>${this.t("kanban.children", { kind: ticket.kind })}</h3>
|
|
76916
|
+
<span class="count">${children.length}</span>
|
|
76917
|
+
<span class="spacer"></span>
|
|
76918
|
+
${this.provider.createTicket && ticket.permissions?.createChild !== false ? b`<dees-button
|
|
76919
|
+
size="sm"
|
|
76920
|
+
type="ghost"
|
|
76921
|
+
icon="lucide:Plus"
|
|
76922
|
+
text=${this.t("kanban.addChild", { kind: ticket.kind })}
|
|
76923
|
+
@clicked=${() => kanbanEvent(this, "kanban-ticket-create", {
|
|
76924
|
+
kind: ticket.kind === "epic" ? "task" : "subtask",
|
|
76925
|
+
parentId: ticket.id,
|
|
76926
|
+
columnId: this.columns[0]?.id ?? ticket.columnId
|
|
76927
|
+
})}
|
|
76928
|
+
></dees-button>` : ""}
|
|
76929
|
+
</div>
|
|
76930
|
+
<div class="child-list">${children.map((child) => b`<button
|
|
76931
|
+
class="child"
|
|
76932
|
+
@click=${() => kanbanEvent(this, "kanban-ticket-open", { ticketId: child.id })}
|
|
76933
|
+
>
|
|
76934
|
+
<span class="child-key">${child.key}</span>
|
|
76935
|
+
<span class="child-title">${child.title}</span>
|
|
76936
|
+
<span class="badge">${this.columns.find(
|
|
76937
|
+
(column) => column.id === child.columnId
|
|
76938
|
+
)?.title ?? child.columnId}</span>
|
|
76939
|
+
</button>`)}</div>
|
|
76940
|
+
${!children.length ? b`<p class="caption">${this.t("kanban.noChildren", { kind: ticket.kind })}</p>` : ""}
|
|
76941
|
+
</section>` : ""}
|
|
76942
|
+
${this.provider.loadActivity ? this.renderFeed(ticket) : this.renderDiscussion(ticket)}
|
|
76943
|
+
</div>
|
|
76847
76944
|
</div>
|
|
76848
|
-
|
|
76849
|
-
${ticket.createdAt ? this.renderStamp("created", ticket.createdAt, ticket.createdBy) : ""}
|
|
76850
|
-
${ticket.updatedAt ? this.renderStamp("updated", ticket.updatedAt, ticket.updatedBy) : ""}
|
|
76851
|
-
</footer>` : ""}
|
|
76852
|
-
</aside>`;
|
|
76945
|
+
</div>`;
|
|
76853
76946
|
}
|
|
76854
76947
|
renderDiscussion(ticket, inFeed = false) {
|
|
76855
76948
|
return b`<dees-kanban-discussion
|
|
@@ -77000,6 +77093,7 @@ _error6 = new WeakMap();
|
|
|
77000
77093
|
_saving2 = new WeakMap();
|
|
77001
77094
|
_canGoBack = new WeakMap();
|
|
77002
77095
|
_showTicketKey = new WeakMap();
|
|
77096
|
+
_frameless14 = new WeakMap();
|
|
77003
77097
|
_conflict = new WeakMap();
|
|
77004
77098
|
_editing3 = new WeakMap();
|
|
77005
77099
|
_feed = new WeakMap();
|
|
@@ -77022,6 +77116,7 @@ __decorateElement(_init106, 4, "error", _error_dec6, _DeesKanbanTicketDetail, _e
|
|
|
77022
77116
|
__decorateElement(_init106, 4, "saving", _saving_dec2, _DeesKanbanTicketDetail, _saving2);
|
|
77023
77117
|
__decorateElement(_init106, 4, "canGoBack", _canGoBack_dec, _DeesKanbanTicketDetail, _canGoBack);
|
|
77024
77118
|
__decorateElement(_init106, 4, "showTicketKey", _showTicketKey_dec, _DeesKanbanTicketDetail, _showTicketKey);
|
|
77119
|
+
__decorateElement(_init106, 4, "frameless", _frameless_dec14, _DeesKanbanTicketDetail, _frameless14);
|
|
77025
77120
|
__decorateElement(_init106, 4, "conflict", _conflict_dec, _DeesKanbanTicketDetail, _conflict);
|
|
77026
77121
|
__decorateElement(_init106, 4, "editing", _editing_dec3, _DeesKanbanTicketDetail, _editing3);
|
|
77027
77122
|
__decorateElement(_init106, 4, "feed", _feed_dec, _DeesKanbanTicketDetail, _feed);
|
|
@@ -77029,30 +77124,44 @@ _DeesKanbanTicketDetail = __decorateElement(_init106, 0, "DeesKanbanTicketDetail
|
|
|
77029
77124
|
__name(_DeesKanbanTicketDetail, "DeesKanbanTicketDetail");
|
|
77030
77125
|
__publicField(_DeesKanbanTicketDetail, "styles", [
|
|
77031
77126
|
...kanbanStyles,
|
|
77127
|
+
insetInlineStyles("--detail-inset-inline"),
|
|
77032
77128
|
i`
|
|
77033
77129
|
/*
|
|
77034
77130
|
* The toolbar runs across the top. Under its hairline the main column scrolls on its own
|
|
77035
77131
|
* and the properties fill the other side down to the bottom edge. Given a height, such as a
|
|
77036
|
-
* modal's body, the detail fills it; otherwise
|
|
77132
|
+
* modal's body, the detail fills it; otherwise the main column sets its height.
|
|
77133
|
+
*
|
|
77134
|
+
* The properties stand between the lead and the rest in the document, so on a phone, where
|
|
77135
|
+
* they follow the title and the description, the focus order is the order on screen; beside
|
|
77136
|
+
* the main column they are placed against the panes, outside its scroll.
|
|
77037
77137
|
*/
|
|
77038
77138
|
:host {
|
|
77039
77139
|
display: grid;
|
|
77040
|
-
grid-template-columns: minmax(0, 1fr) 280px;
|
|
77041
77140
|
grid-template-rows: auto minmax(0, 1fr);
|
|
77042
|
-
grid-template-areas: 'toolbar toolbar' 'main props';
|
|
77043
77141
|
height: 100%;
|
|
77044
77142
|
min-height: 0;
|
|
77045
77143
|
}
|
|
77046
77144
|
|
|
77145
|
+
.panes {
|
|
77146
|
+
position: relative;
|
|
77147
|
+
min-height: 0;
|
|
77148
|
+
}
|
|
77149
|
+
|
|
77047
77150
|
.main {
|
|
77048
|
-
|
|
77151
|
+
height: 100%;
|
|
77049
77152
|
min-width: 0;
|
|
77050
|
-
|
|
77153
|
+
margin-right: 280px;
|
|
77154
|
+
padding: 20px 24px 24px var(--detail-inset-inline, 24px);
|
|
77051
77155
|
overflow-y: auto;
|
|
77052
77156
|
overscroll-behavior: contain;
|
|
77053
77157
|
scrollbar-width: thin;
|
|
77054
77158
|
}
|
|
77055
77159
|
|
|
77160
|
+
/* Positioned content of the main column is placed in it, so it scrolls with it, not over the panes. */
|
|
77161
|
+
.main > :not(aside) {
|
|
77162
|
+
position: relative;
|
|
77163
|
+
}
|
|
77164
|
+
|
|
77056
77165
|
.lead {
|
|
77057
77166
|
min-width: 0;
|
|
77058
77167
|
}
|
|
@@ -77063,10 +77172,9 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77063
77172
|
}
|
|
77064
77173
|
|
|
77065
77174
|
.toolbar {
|
|
77066
|
-
grid-area: toolbar;
|
|
77067
77175
|
flex-wrap: nowrap;
|
|
77068
77176
|
min-width: 0;
|
|
77069
|
-
padding: var(--dees-spacing-md) 24px 14px;
|
|
77177
|
+
padding: var(--dees-spacing-md) var(--detail-inset-inline, 24px) 14px;
|
|
77070
77178
|
border-bottom: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
|
|
77071
77179
|
}
|
|
77072
77180
|
|
|
@@ -77209,9 +77317,12 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77209
77317
|
|
|
77210
77318
|
/* The properties are the side of the surface, not a box on it; they stay while the main column scrolls. */
|
|
77211
77319
|
aside {
|
|
77212
|
-
|
|
77213
|
-
|
|
77214
|
-
|
|
77320
|
+
position: absolute;
|
|
77321
|
+
top: 0;
|
|
77322
|
+
right: 0;
|
|
77323
|
+
bottom: 0;
|
|
77324
|
+
width: 280px;
|
|
77325
|
+
padding: 20px var(--detail-inset-inline, 24px) 24px 20px;
|
|
77215
77326
|
border-left: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
|
|
77216
77327
|
background: var(--dees-color-modal-sidebar);
|
|
77217
77328
|
overflow-y: auto;
|
|
@@ -77504,7 +77615,7 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77504
77615
|
grid-area: apply;
|
|
77505
77616
|
}
|
|
77506
77617
|
|
|
77507
|
-
/* One column the container scrolls; the properties follow the
|
|
77618
|
+
/* One column the container scrolls; the properties follow the title and the description as a full-width band. */
|
|
77508
77619
|
@media (max-width: 700px) {
|
|
77509
77620
|
:host {
|
|
77510
77621
|
display: block;
|
|
@@ -77512,18 +77623,44 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77512
77623
|
}
|
|
77513
77624
|
.toolbar {
|
|
77514
77625
|
gap: 6px;
|
|
77515
|
-
padding: var(--dees-spacing-md) 16px;
|
|
77626
|
+
padding: var(--dees-spacing-md) var(--detail-inset-inline, 16px);
|
|
77516
77627
|
}
|
|
77517
77628
|
.main {
|
|
77518
|
-
|
|
77629
|
+
height: auto;
|
|
77630
|
+
margin-right: 0;
|
|
77631
|
+
padding: 0;
|
|
77519
77632
|
overflow: visible;
|
|
77520
77633
|
}
|
|
77634
|
+
.main > .error,
|
|
77635
|
+
.lead,
|
|
77636
|
+
.body {
|
|
77637
|
+
padding-inline: var(--detail-inset-inline, 16px);
|
|
77638
|
+
}
|
|
77639
|
+
.main > .error {
|
|
77640
|
+
padding-block: 10px 0;
|
|
77641
|
+
}
|
|
77642
|
+
.lead {
|
|
77643
|
+
padding-block: 16px 20px;
|
|
77644
|
+
}
|
|
77521
77645
|
aside {
|
|
77522
|
-
|
|
77646
|
+
position: static;
|
|
77647
|
+
width: auto;
|
|
77648
|
+
padding: 16px var(--detail-inset-inline, 16px) 20px;
|
|
77523
77649
|
border-left: 0;
|
|
77524
77650
|
border-top: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
|
|
77651
|
+
border-bottom: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
|
|
77525
77652
|
overflow: visible;
|
|
77526
77653
|
}
|
|
77654
|
+
.body {
|
|
77655
|
+
margin-top: 0;
|
|
77656
|
+
padding-block: 20px 16px;
|
|
77657
|
+
}
|
|
77658
|
+
/* The band above already sets the discussion apart. */
|
|
77659
|
+
.body > .discussion:first-child,
|
|
77660
|
+
.body > .feed:first-child {
|
|
77661
|
+
border-top: 0;
|
|
77662
|
+
padding-top: 0;
|
|
77663
|
+
}
|
|
77527
77664
|
.fields {
|
|
77528
77665
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
77529
77666
|
}
|
|
@@ -77531,6 +77668,10 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77531
77668
|
.fields .status {
|
|
77532
77669
|
grid-column: 1 / -1;
|
|
77533
77670
|
}
|
|
77671
|
+
/* Labels left alone on a row take the row, so their chips and suggestions have the width. */
|
|
77672
|
+
.fields .labels:nth-child(even) {
|
|
77673
|
+
grid-column: 1 / -1;
|
|
77674
|
+
}
|
|
77534
77675
|
.child {
|
|
77535
77676
|
gap: 7px;
|
|
77536
77677
|
}
|
|
@@ -80003,6 +80144,7 @@ var _DeesKanban = class _DeesKanban extends (_a108 = DeesElement, _heading_dec11
|
|
|
80003
80144
|
if (!this.detail) {
|
|
80004
80145
|
this.detail = new DeesKanbanTicketDetail();
|
|
80005
80146
|
this.detail.showTicketKey = false;
|
|
80147
|
+
this.detail.frameless = true;
|
|
80006
80148
|
for (const name of interactionEvents) this.detail.addEventListener(name, this.handleInteraction);
|
|
80007
80149
|
}
|
|
80008
80150
|
this.detail.ticket = ticket;
|
|
@@ -80013,6 +80155,8 @@ var _DeesKanban = class _DeesKanban extends (_a108 = DeesElement, _heading_dec11
|
|
|
80013
80155
|
heading: ticket.key,
|
|
80014
80156
|
width: 1e3,
|
|
80015
80157
|
maxWidth: 1040,
|
|
80158
|
+
// The same window for every ticket: the fields stay full height, nothing resizes between tickets.
|
|
80159
|
+
height: "max",
|
|
80016
80160
|
mobileFullscreen: true,
|
|
80017
80161
|
contentPadding: 0,
|
|
80018
80162
|
content: b`${this.detail}`,
|
|
@@ -85343,16 +85487,16 @@ var demoFunc79 = /* @__PURE__ */ __name(() => {
|
|
|
85343
85487
|
}, "demoFunc");
|
|
85344
85488
|
|
|
85345
85489
|
// ts_web/elements/00group-layout/dees-settings/dees-settings.ts
|
|
85346
|
-
var
|
|
85490
|
+
var _frameless_dec15, _actions_dec6, _settingsFields_dec, _description_dec5, _heading_dec12, _a117, _DeesSettings_decorators, _init119, _heading12, _description5, _settingsFields, _actions6, _frameless15;
|
|
85347
85491
|
_DeesSettings_decorators = [customElement("dees-settings")];
|
|
85348
|
-
var _DeesSettings = class _DeesSettings extends (_a117 = DeesElement, _heading_dec12 = [n({ type: String, reflect: true })], _description_dec5 = [n({ type: String, reflect: true })], _settingsFields_dec = [n({ attribute: false })], _actions_dec6 = [n({ attribute: false })],
|
|
85492
|
+
var _DeesSettings = class _DeesSettings extends (_a117 = DeesElement, _heading_dec12 = [n({ type: String, reflect: true })], _description_dec5 = [n({ type: String, reflect: true })], _settingsFields_dec = [n({ attribute: false })], _actions_dec6 = [n({ attribute: false })], _frameless_dec15 = [n({ type: Boolean, reflect: true })], _a117) {
|
|
85349
85493
|
constructor() {
|
|
85350
85494
|
super(...arguments);
|
|
85351
85495
|
__privateAdd(this, _heading12, __runInitializers(_init119, 8, this, "")), __runInitializers(_init119, 11, this);
|
|
85352
85496
|
__privateAdd(this, _description5, __runInitializers(_init119, 12, this, "")), __runInitializers(_init119, 15, this);
|
|
85353
85497
|
__privateAdd(this, _settingsFields, __runInitializers(_init119, 16, this, [])), __runInitializers(_init119, 19, this);
|
|
85354
85498
|
__privateAdd(this, _actions6, __runInitializers(_init119, 20, this, [])), __runInitializers(_init119, 23, this);
|
|
85355
|
-
__privateAdd(this,
|
|
85499
|
+
__privateAdd(this, _frameless15, __runInitializers(_init119, 24, this, false)), __runInitializers(_init119, 27, this);
|
|
85356
85500
|
}
|
|
85357
85501
|
render() {
|
|
85358
85502
|
const hasFields = this.settingsFields.length > 0;
|
|
@@ -85386,12 +85530,12 @@ _heading12 = new WeakMap();
|
|
|
85386
85530
|
_description5 = new WeakMap();
|
|
85387
85531
|
_settingsFields = new WeakMap();
|
|
85388
85532
|
_actions6 = new WeakMap();
|
|
85389
|
-
|
|
85533
|
+
_frameless15 = new WeakMap();
|
|
85390
85534
|
__decorateElement(_init119, 4, "heading", _heading_dec12, _DeesSettings, _heading12);
|
|
85391
85535
|
__decorateElement(_init119, 4, "description", _description_dec5, _DeesSettings, _description5);
|
|
85392
85536
|
__decorateElement(_init119, 4, "settingsFields", _settingsFields_dec, _DeesSettings, _settingsFields);
|
|
85393
85537
|
__decorateElement(_init119, 4, "actions", _actions_dec6, _DeesSettings, _actions6);
|
|
85394
|
-
__decorateElement(_init119, 4, "frameless",
|
|
85538
|
+
__decorateElement(_init119, 4, "frameless", _frameless_dec15, _DeesSettings, _frameless15);
|
|
85395
85539
|
_DeesSettings = __decorateElement(_init119, 0, "DeesSettings", _DeesSettings_decorators, _DeesSettings);
|
|
85396
85540
|
__name(_DeesSettings, "DeesSettings");
|
|
85397
85541
|
__publicField(_DeesSettings, "demo", demoFunc79);
|
|
@@ -88702,14 +88846,14 @@ var viewerStyles3 = i`
|
|
|
88702
88846
|
var demo3 = /* @__PURE__ */ __name(() => mediaDemo("video"), "demo");
|
|
88703
88847
|
|
|
88704
88848
|
// ts_web/elements/00group-media/dees-video-viewer/component.ts
|
|
88705
|
-
var _playbackError_dec2, _controlsVisible_dec, _isFullscreen_dec, _error_dec10, _loading_dec14, _volume_dec2, _duration_dec2, _currentTime_dec2, _isPlaying_dec2, _muted_dec, _loop_dec2, _autoplay_dec2, _showControls_dec, _poster_dec,
|
|
88849
|
+
var _playbackError_dec2, _controlsVisible_dec, _isFullscreen_dec, _error_dec10, _loading_dec14, _volume_dec2, _duration_dec2, _currentTime_dec2, _isPlaying_dec2, _muted_dec, _loop_dec2, _autoplay_dec2, _showControls_dec, _poster_dec, _frameless_dec16, _src_dec3, _a124, _DeesVideoViewer_decorators, _init127, _src3, _frameless16, _poster, _showControls, _autoplay2, _loop2, _muted, _isPlaying2, _currentTime2, _duration2, _volume2, _loading14, _error10, _isFullscreen, _controlsVisible, _playbackError2;
|
|
88706
88850
|
_DeesVideoViewer_decorators = [customElement("dees-video-viewer")];
|
|
88707
|
-
var _DeesVideoViewer = class _DeesVideoViewer extends (_a124 = DeesElement, _src_dec3 = [n({ reflect: true })],
|
|
88851
|
+
var _DeesVideoViewer = class _DeesVideoViewer extends (_a124 = DeesElement, _src_dec3 = [n({ reflect: true })], _frameless_dec16 = [n({ type: Boolean, reflect: true })], _poster_dec = [n({ reflect: true })], _showControls_dec = [n({ type: Boolean, reflect: true })], _autoplay_dec2 = [n({ type: Boolean, reflect: true })], _loop_dec2 = [n({ type: Boolean, reflect: true })], _muted_dec = [n({ type: Boolean, reflect: true })], _isPlaying_dec2 = [r2()], _currentTime_dec2 = [r2()], _duration_dec2 = [r2()], _volume_dec2 = [r2()], _loading_dec14 = [r2()], _error_dec10 = [r2()], _isFullscreen_dec = [r2()], _controlsVisible_dec = [r2()], _playbackError_dec2 = [r2()], _a124) {
|
|
88708
88852
|
constructor() {
|
|
88709
88853
|
super(...arguments);
|
|
88710
88854
|
__publicField(this, "t", dcLocalize(this));
|
|
88711
88855
|
__privateAdd(this, _src3, __runInitializers(_init127, 8, this, "")), __runInitializers(_init127, 11, this);
|
|
88712
|
-
__privateAdd(this,
|
|
88856
|
+
__privateAdd(this, _frameless16, __runInitializers(_init127, 12, this, false)), __runInitializers(_init127, 15, this);
|
|
88713
88857
|
__privateAdd(this, _poster, __runInitializers(_init127, 16, this, "")), __runInitializers(_init127, 19, this);
|
|
88714
88858
|
__privateAdd(this, _showControls, __runInitializers(_init127, 20, this, true)), __runInitializers(_init127, 23, this);
|
|
88715
88859
|
__privateAdd(this, _autoplay2, __runInitializers(_init127, 24, this, false)), __runInitializers(_init127, 27, this);
|
|
@@ -88970,7 +89114,7 @@ var _DeesVideoViewer = class _DeesVideoViewer extends (_a124 = DeesElement, _src
|
|
|
88970
89114
|
};
|
|
88971
89115
|
_init127 = __decoratorStart(_a124);
|
|
88972
89116
|
_src3 = new WeakMap();
|
|
88973
|
-
|
|
89117
|
+
_frameless16 = new WeakMap();
|
|
88974
89118
|
_poster = new WeakMap();
|
|
88975
89119
|
_showControls = new WeakMap();
|
|
88976
89120
|
_autoplay2 = new WeakMap();
|
|
@@ -88986,7 +89130,7 @@ _isFullscreen = new WeakMap();
|
|
|
88986
89130
|
_controlsVisible = new WeakMap();
|
|
88987
89131
|
_playbackError2 = new WeakMap();
|
|
88988
89132
|
__decorateElement(_init127, 4, "src", _src_dec3, _DeesVideoViewer, _src3);
|
|
88989
|
-
__decorateElement(_init127, 4, "frameless",
|
|
89133
|
+
__decorateElement(_init127, 4, "frameless", _frameless_dec16, _DeesVideoViewer, _frameless16);
|
|
88990
89134
|
__decorateElement(_init127, 4, "poster", _poster_dec, _DeesVideoViewer, _poster);
|
|
88991
89135
|
__decorateElement(_init127, 4, "showControls", _showControls_dec, _DeesVideoViewer, _showControls);
|
|
88992
89136
|
__decorateElement(_init127, 4, "autoplay", _autoplay_dec2, _DeesVideoViewer, _autoplay2);
|
|
@@ -111723,15 +111867,15 @@ var viewerInsetStyles = i`
|
|
|
111723
111867
|
var demo4 = /* @__PURE__ */ __name(() => mediaDemo("pdf"), "demo");
|
|
111724
111868
|
|
|
111725
111869
|
// ts_web/elements/00group-media/dees-pdf-viewer/component.ts
|
|
111726
|
-
var _pdfFileSize_dec, _pageData_dec, _thumbnailData_dec, _documentId_dec, _loading_dec15, _currentZoom_dec, _totalPages_dec, _currentPage_dec, _sidebarPosition_dec, _showSidebar_dec, _showToolbar_dec4, _initialZoom_dec, _initialPage_dec, _pdfUrl_dec, _loadError_dec4, _filename_dec3, _showFooter_dec2,
|
|
111870
|
+
var _pdfFileSize_dec, _pageData_dec, _thumbnailData_dec, _documentId_dec, _loading_dec15, _currentZoom_dec, _totalPages_dec, _currentPage_dec, _sidebarPosition_dec, _showSidebar_dec, _showToolbar_dec4, _initialZoom_dec, _initialPage_dec, _pdfUrl_dec, _loadError_dec4, _filename_dec3, _showFooter_dec2, _frameless_dec17, _viewMode_dec, _a125, _DeesPdfViewer_decorators, _init128, _viewMode, _frameless17, _showFooter2, _filename3, _loadError4, _pdfUrl, _initialPage, _initialZoom, _showToolbar4, _showSidebar, _sidebarPosition, _currentPage, _totalPages, _currentZoom, _loading15, _documentId, _thumbnailData, _pageData, _pdfFileSize;
|
|
111727
111871
|
var pipelineSettlementGraceMs = 2500;
|
|
111728
111872
|
_DeesPdfViewer_decorators = [customElement("dees-pdf-viewer")];
|
|
111729
|
-
var _DeesPdfViewer = class _DeesPdfViewer extends (_a125 = DeesElement, _viewMode_dec = [n({ type: String, reflect: true })],
|
|
111873
|
+
var _DeesPdfViewer = class _DeesPdfViewer extends (_a125 = DeesElement, _viewMode_dec = [n({ type: String, reflect: true })], _frameless_dec17 = [n({ type: Boolean, reflect: true })], _showFooter_dec2 = [n({ type: Boolean, reflect: true })], _filename_dec3 = [n({ type: String, reflect: true })], _loadError_dec4 = [n({ type: String, reflect: true })], _pdfUrl_dec = [n({ type: String, reflect: true })], _initialPage_dec = [n({ type: Number, reflect: true })], _initialZoom_dec = [n({ type: String, reflect: true })], _showToolbar_dec4 = [n({ type: Boolean, reflect: true })], _showSidebar_dec = [n({ type: Boolean, reflect: true })], _sidebarPosition_dec = [n({ type: String, reflect: true })], _currentPage_dec = [n({ type: Number })], _totalPages_dec = [n({ type: Number, reflect: true })], _currentZoom_dec = [n({ type: Number })], _loading_dec15 = [n({ type: Boolean, reflect: true })], _documentId_dec = [n({ type: String, reflect: true })], _thumbnailData_dec = [n({ type: Array })], _pageData_dec = [n({ type: Array })], _pdfFileSize_dec = [n({ type: Number, reflect: true })], _a125) {
|
|
111730
111874
|
constructor() {
|
|
111731
111875
|
super();
|
|
111732
111876
|
__publicField(this, "t", dcLocalize(this));
|
|
111733
111877
|
__privateAdd(this, _viewMode, __runInitializers(_init128, 8, this, "document")), __runInitializers(_init128, 11, this);
|
|
111734
|
-
__privateAdd(this,
|
|
111878
|
+
__privateAdd(this, _frameless17, __runInitializers(_init128, 12, this, false)), __runInitializers(_init128, 15, this);
|
|
111735
111879
|
__privateAdd(this, _showFooter2, __runInitializers(_init128, 16, this, true)), __runInitializers(_init128, 19, this);
|
|
111736
111880
|
__privateAdd(this, _filename3, __runInitializers(_init128, 20, this, "")), __runInitializers(_init128, 23, this);
|
|
111737
111881
|
__privateAdd(this, _loadError4, __runInitializers(_init128, 24, this, "")), __runInitializers(_init128, 27, this);
|
|
@@ -113122,7 +113266,7 @@ var _DeesPdfViewer = class _DeesPdfViewer extends (_a125 = DeesElement, _viewMod
|
|
|
113122
113266
|
};
|
|
113123
113267
|
_init128 = __decoratorStart(_a125);
|
|
113124
113268
|
_viewMode = new WeakMap();
|
|
113125
|
-
|
|
113269
|
+
_frameless17 = new WeakMap();
|
|
113126
113270
|
_showFooter2 = new WeakMap();
|
|
113127
113271
|
_filename3 = new WeakMap();
|
|
113128
113272
|
_loadError4 = new WeakMap();
|
|
@@ -113141,7 +113285,7 @@ _thumbnailData = new WeakMap();
|
|
|
113141
113285
|
_pageData = new WeakMap();
|
|
113142
113286
|
_pdfFileSize = new WeakMap();
|
|
113143
113287
|
__decorateElement(_init128, 4, "viewMode", _viewMode_dec, _DeesPdfViewer, _viewMode);
|
|
113144
|
-
__decorateElement(_init128, 4, "frameless",
|
|
113288
|
+
__decorateElement(_init128, 4, "frameless", _frameless_dec17, _DeesPdfViewer, _frameless17);
|
|
113145
113289
|
__decorateElement(_init128, 4, "showFooter", _showFooter_dec2, _DeesPdfViewer, _showFooter2);
|
|
113146
113290
|
__decorateElement(_init128, 4, "filename", _filename_dec3, _DeesPdfViewer, _filename3);
|
|
113147
113291
|
__decorateElement(_init128, 4, "loadError", _loadError_dec4, _DeesPdfViewer, _loadError4);
|
|
@@ -113171,7 +113315,7 @@ var DeesPdfViewer = _DeesPdfViewer;
|
|
|
113171
113315
|
var demoFunc81 = /* @__PURE__ */ __name(() => mediaDemo("preview"), "demoFunc");
|
|
113172
113316
|
|
|
113173
113317
|
// ts_web/elements/00group-media/dees-preview/dees-preview.ts
|
|
113174
|
-
var _error_dec11, _loading_dec16, _resolvedLang_dec, _resolvedText_dec, _resolvedSrc_dec, _resolvedType_dec,
|
|
113318
|
+
var _error_dec11, _loading_dec16, _resolvedLang_dec, _resolvedText_dec, _resolvedSrc_dec, _resolvedType_dec, _frameless_dec18, _showFilename_dec, _showToolbar_dec5, _filename_dec4, _mimeType_dec, _language_dec5, _contentType_dec2, _textContent_dec, _base64_dec, _file_dec, _url_dec, _a126, _DeesPreview_decorators, _init129, _url, _file, _base64, _textContent, _contentType2, _language5, _mimeType, _filename4, _showToolbar5, _showFilename, _frameless18, _resolvedType, _resolvedSrc, _resolvedText, _resolvedLang, _loading16, _error11;
|
|
113175
113319
|
var EXTENSION_MAP = {
|
|
113176
113320
|
// Image
|
|
113177
113321
|
jpg: "image",
|
|
@@ -113284,7 +113428,7 @@ var TYPE_ICONS = {
|
|
|
113284
113428
|
unknown: "lucide:File"
|
|
113285
113429
|
};
|
|
113286
113430
|
_DeesPreview_decorators = [customElement("dees-preview")];
|
|
113287
|
-
var _DeesPreview = class _DeesPreview extends (_a126 = DeesElement, _url_dec = [n({ reflect: true })], _file_dec = [n({ attribute: false })], _base64_dec = [n()], _textContent_dec = [n()], _contentType_dec2 = [n({ reflect: true })], _language_dec5 = [n({ reflect: true })], _mimeType_dec = [n({ reflect: true })], _filename_dec4 = [n({ reflect: true })], _showToolbar_dec5 = [n({ type: Boolean, reflect: true })], _showFilename_dec = [n({ type: Boolean, reflect: true })],
|
|
113431
|
+
var _DeesPreview = class _DeesPreview extends (_a126 = DeesElement, _url_dec = [n({ reflect: true })], _file_dec = [n({ attribute: false })], _base64_dec = [n()], _textContent_dec = [n()], _contentType_dec2 = [n({ reflect: true })], _language_dec5 = [n({ reflect: true })], _mimeType_dec = [n({ reflect: true })], _filename_dec4 = [n({ reflect: true })], _showToolbar_dec5 = [n({ type: Boolean, reflect: true })], _showFilename_dec = [n({ type: Boolean, reflect: true })], _frameless_dec18 = [n({ type: Boolean, reflect: true })], _resolvedType_dec = [r2()], _resolvedSrc_dec = [r2()], _resolvedText_dec = [r2()], _resolvedLang_dec = [r2()], _loading_dec16 = [r2()], _error_dec11 = [r2()], _a126) {
|
|
113288
113432
|
constructor() {
|
|
113289
113433
|
super(...arguments);
|
|
113290
113434
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -113298,7 +113442,7 @@ var _DeesPreview = class _DeesPreview extends (_a126 = DeesElement, _url_dec = [
|
|
|
113298
113442
|
__privateAdd(this, _filename4, __runInitializers(_init129, 36, this, "")), __runInitializers(_init129, 39, this);
|
|
113299
113443
|
__privateAdd(this, _showToolbar5, __runInitializers(_init129, 40, this, true)), __runInitializers(_init129, 43, this);
|
|
113300
113444
|
__privateAdd(this, _showFilename, __runInitializers(_init129, 44, this, true)), __runInitializers(_init129, 47, this);
|
|
113301
|
-
__privateAdd(this,
|
|
113445
|
+
__privateAdd(this, _frameless18, __runInitializers(_init129, 48, this, false)), __runInitializers(_init129, 51, this);
|
|
113302
113446
|
__privateAdd(this, _resolvedType, __runInitializers(_init129, 52, this, "unknown")), __runInitializers(_init129, 55, this);
|
|
113303
113447
|
__privateAdd(this, _resolvedSrc, __runInitializers(_init129, 56, this, "")), __runInitializers(_init129, 59, this);
|
|
113304
113448
|
__privateAdd(this, _resolvedText, __runInitializers(_init129, 60, this, "")), __runInitializers(_init129, 63, this);
|
|
@@ -113531,7 +113675,7 @@ _mimeType = new WeakMap();
|
|
|
113531
113675
|
_filename4 = new WeakMap();
|
|
113532
113676
|
_showToolbar5 = new WeakMap();
|
|
113533
113677
|
_showFilename = new WeakMap();
|
|
113534
|
-
|
|
113678
|
+
_frameless18 = new WeakMap();
|
|
113535
113679
|
_resolvedType = new WeakMap();
|
|
113536
113680
|
_resolvedSrc = new WeakMap();
|
|
113537
113681
|
_resolvedText = new WeakMap();
|
|
@@ -113548,7 +113692,7 @@ __decorateElement(_init129, 4, "mimeType", _mimeType_dec, _DeesPreview, _mimeTyp
|
|
|
113548
113692
|
__decorateElement(_init129, 4, "filename", _filename_dec4, _DeesPreview, _filename4);
|
|
113549
113693
|
__decorateElement(_init129, 4, "showToolbar", _showToolbar_dec5, _DeesPreview, _showToolbar5);
|
|
113550
113694
|
__decorateElement(_init129, 4, "showFilename", _showFilename_dec, _DeesPreview, _showFilename);
|
|
113551
|
-
__decorateElement(_init129, 4, "frameless",
|
|
113695
|
+
__decorateElement(_init129, 4, "frameless", _frameless_dec18, _DeesPreview, _frameless18);
|
|
113552
113696
|
__decorateElement(_init129, 4, "resolvedType", _resolvedType_dec, _DeesPreview, _resolvedType);
|
|
113553
113697
|
__decorateElement(_init129, 4, "resolvedSrc", _resolvedSrc_dec, _DeesPreview, _resolvedSrc);
|
|
113554
113698
|
__decorateElement(_init129, 4, "resolvedText", _resolvedText_dec, _DeesPreview, _resolvedText);
|
|
@@ -116736,8 +116880,8 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a139 = DeesElement,
|
|
|
116736
116880
|
const trail = view && (parent || title !== view.name) ? [...parent ? [parent] : [], view].map((entry) => ({ label: entry.name })) : [];
|
|
116737
116881
|
return b`${directives_exports.keyed(view, b`<dees-appui-contentheading
|
|
116738
116882
|
.heading=${title} .description=${heading.description ?? ""} .meta=${heading.meta ?? []} .iconName=${heading.iconName ?? ""}
|
|
116739
|
-
.back=${heading.back ?? null} .breadcrumbs=${trail} .actions=${heading.actions ?? []}
|
|
116740
|
-
|
|
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>`)}`;
|
|
116741
116885
|
}
|
|
116742
116886
|
handleNavigationKey(event) {
|
|
116743
116887
|
if (!["ArrowDown", "ArrowUp", "Home", "End"].includes(event.key)) return;
|
|
@@ -116793,7 +116937,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a139 = DeesElement,
|
|
|
116793
116937
|
this.terminalOpen = true;
|
|
116794
116938
|
const request = ++this.terminalRequest;
|
|
116795
116939
|
try {
|
|
116796
|
-
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-
|
|
116940
|
+
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-4WZ3CPSW.js");
|
|
116797
116941
|
await this.updateComplete;
|
|
116798
116942
|
if (!this.isConnected || request !== this.terminalRequest) return;
|
|
116799
116943
|
const terminal = new DeesWorkspaceTerminal3();
|
|
@@ -116890,6 +117034,8 @@ __publicField(_DeesSimpleAppDash, "styles", [themeDefaultStyles, cssManager.defa
|
|
|
116890
117034
|
.viewTab.sub { min-height: 34px; font-size: 12px; }
|
|
116891
117035
|
.appActions { padding: 8px; border-top: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle); }
|
|
116892
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; }
|
|
116893
117039
|
.contentArea { min-height: 0; min-width: 0; position: relative; display: grid; }
|
|
116894
117040
|
.appcontent { overflow: auto; min-height: 0; min-width: 0; scrollbar-gutter: stable; overscroll-behavior: contain; }
|
|
116895
117041
|
.appcontent[inert] { visibility: hidden; }
|
|
@@ -117106,10 +117252,10 @@ var DeesDemoSimpleLogin = _DeesDemoSimpleLogin;
|
|
|
117106
117252
|
var demoFunc85 = /* @__PURE__ */ __name(() => demoPage("Sign in", "One welcoming surface. Passkeys, workspace accounts, and passwords working together.", b`<dees-demo-simple-login></dees-demo-simple-login>`), "demoFunc");
|
|
117107
117253
|
|
|
117108
117254
|
// ts_web/elements/00group-simple/dees-simple-login/dees-simple-login.ts
|
|
117109
|
-
var _errorMap_dec, _busyKeys_dec, _detectedPasskeySupport_dec, _passwordLoginHandler_dec, _providerLoginHandler_dec, _passkeyRegisterHandler_dec, _passkeyLoginHandler_dec,
|
|
117255
|
+
var _errorMap_dec, _busyKeys_dec, _detectedPasskeySupport_dec, _passwordLoginHandler_dec, _providerLoginHandler_dec, _passkeyRegisterHandler_dec, _passkeyLoginHandler_dec, _frameless_dec19, _labels_dec11, _methodOrder_dec, _password_dec, _providers_dec, _passkeyAutofill_dec, _passkeyAvailable_dec, _passkeyIntents_dec, _passkey_dec, _name_dec4, _a141, _DeesSimpleLogin_decorators, _init149, _name4, _passkey, _passkeyIntents, _passkeyAvailable, _passkeyAutofill, _providers, _password, _methodOrder, _labels11, _frameless19, _passkeyLoginHandler, _passkeyRegisterHandler, _providerLoginHandler, _passwordLoginHandler, _detectedPasskeySupport, _busyKeys, _errorMap;
|
|
117110
117256
|
var canonicalMethodOrder = ["passkey", "provider", "password"];
|
|
117111
117257
|
_DeesSimpleLogin_decorators = [customElement("dees-simple-login")];
|
|
117112
|
-
var _DeesSimpleLogin = class _DeesSimpleLogin extends (_a141 = DeesElement, _name_dec4 = [n({ reflect: true })], _passkey_dec = [n({ type: Boolean, reflect: true })], _passkeyIntents_dec = [n({ attribute: false })], _passkeyAvailable_dec = [n({ attribute: false })], _passkeyAutofill_dec = [n({ type: Boolean, reflect: true })], _providers_dec = [n({ attribute: false })], _password_dec = [n({ type: Boolean, reflect: true })], _methodOrder_dec = [n({ attribute: false })], _labels_dec11 = [n({ attribute: false })],
|
|
117258
|
+
var _DeesSimpleLogin = class _DeesSimpleLogin extends (_a141 = DeesElement, _name_dec4 = [n({ reflect: true })], _passkey_dec = [n({ type: Boolean, reflect: true })], _passkeyIntents_dec = [n({ attribute: false })], _passkeyAvailable_dec = [n({ attribute: false })], _passkeyAutofill_dec = [n({ type: Boolean, reflect: true })], _providers_dec = [n({ attribute: false })], _password_dec = [n({ type: Boolean, reflect: true })], _methodOrder_dec = [n({ attribute: false })], _labels_dec11 = [n({ attribute: false })], _frameless_dec19 = [n({ type: Boolean, reflect: true })], _passkeyLoginHandler_dec = [n({ attribute: false })], _passkeyRegisterHandler_dec = [n({ attribute: false })], _providerLoginHandler_dec = [n({ attribute: false })], _passwordLoginHandler_dec = [n({ attribute: false })], _detectedPasskeySupport_dec = [r2()], _busyKeys_dec = [r2()], _errorMap_dec = [r2()], _a141) {
|
|
117113
117259
|
constructor() {
|
|
117114
117260
|
super(...arguments);
|
|
117115
117261
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -117122,7 +117268,7 @@ var _DeesSimpleLogin = class _DeesSimpleLogin extends (_a141 = DeesElement, _nam
|
|
|
117122
117268
|
__privateAdd(this, _password, __runInitializers(_init149, 32, this, true)), __runInitializers(_init149, 35, this);
|
|
117123
117269
|
__privateAdd(this, _methodOrder, __runInitializers(_init149, 36, this, ["passkey", "provider", "password"])), __runInitializers(_init149, 39, this);
|
|
117124
117270
|
__privateAdd(this, _labels11, __runInitializers(_init149, 40, this, {})), __runInitializers(_init149, 43, this);
|
|
117125
|
-
__privateAdd(this,
|
|
117271
|
+
__privateAdd(this, _frameless19, __runInitializers(_init149, 44, this, false)), __runInitializers(_init149, 47, this);
|
|
117126
117272
|
__privateAdd(this, _passkeyLoginHandler, __runInitializers(_init149, 48, this)), __runInitializers(_init149, 51, this);
|
|
117127
117273
|
__privateAdd(this, _passkeyRegisterHandler, __runInitializers(_init149, 52, this)), __runInitializers(_init149, 55, this);
|
|
117128
117274
|
__privateAdd(this, _providerLoginHandler, __runInitializers(_init149, 56, this)), __runInitializers(_init149, 59, this);
|
|
@@ -117722,7 +117868,7 @@ _providers = new WeakMap();
|
|
|
117722
117868
|
_password = new WeakMap();
|
|
117723
117869
|
_methodOrder = new WeakMap();
|
|
117724
117870
|
_labels11 = new WeakMap();
|
|
117725
|
-
|
|
117871
|
+
_frameless19 = new WeakMap();
|
|
117726
117872
|
_passkeyLoginHandler = new WeakMap();
|
|
117727
117873
|
_passkeyRegisterHandler = new WeakMap();
|
|
117728
117874
|
_providerLoginHandler = new WeakMap();
|
|
@@ -117739,7 +117885,7 @@ __decorateElement(_init149, 4, "providers", _providers_dec, _DeesSimpleLogin, _p
|
|
|
117739
117885
|
__decorateElement(_init149, 4, "password", _password_dec, _DeesSimpleLogin, _password);
|
|
117740
117886
|
__decorateElement(_init149, 4, "methodOrder", _methodOrder_dec, _DeesSimpleLogin, _methodOrder);
|
|
117741
117887
|
__decorateElement(_init149, 4, "labels", _labels_dec11, _DeesSimpleLogin, _labels11);
|
|
117742
|
-
__decorateElement(_init149, 4, "frameless",
|
|
117888
|
+
__decorateElement(_init149, 4, "frameless", _frameless_dec19, _DeesSimpleLogin, _frameless19);
|
|
117743
117889
|
__decorateElement(_init149, 4, "passkeyLoginHandler", _passkeyLoginHandler_dec, _DeesSimpleLogin, _passkeyLoginHandler);
|
|
117744
117890
|
__decorateElement(_init149, 4, "passkeyRegisterHandler", _passkeyRegisterHandler_dec, _DeesSimpleLogin, _passkeyRegisterHandler);
|
|
117745
117891
|
__decorateElement(_init149, 4, "providerLoginHandler", _providerLoginHandler_dec, _DeesSimpleLogin, _providerLoginHandler);
|
|
@@ -120410,15 +120556,15 @@ __runInitializers(_init153, 1, _DeesWorkspaceFiletree);
|
|
|
120410
120556
|
var DeesWorkspaceFiletree = _DeesWorkspaceFiletree;
|
|
120411
120557
|
|
|
120412
120558
|
// ts_web/elements/00group-workspace/dees-workspace-terminal-preview/dees-workspace-terminal-preview.ts
|
|
120413
|
-
var
|
|
120559
|
+
var _frameless_dec20, _lines_dec, _command_dec, _a146, _DeesWorkspaceTerminalPreview_decorators, _init154, _command, _lines, _frameless20;
|
|
120414
120560
|
_DeesWorkspaceTerminalPreview_decorators = [customElement("dees-workspace-terminal-preview")];
|
|
120415
|
-
var _DeesWorkspaceTerminalPreview = class _DeesWorkspaceTerminalPreview extends (_a146 = DeesElement, _command_dec = [n({ type: String, reflect: true })], _lines_dec = [n({ type: Array })],
|
|
120561
|
+
var _DeesWorkspaceTerminalPreview = class _DeesWorkspaceTerminalPreview extends (_a146 = DeesElement, _command_dec = [n({ type: String, reflect: true })], _lines_dec = [n({ type: Array })], _frameless_dec20 = [n({ type: Boolean, reflect: true })], _a146) {
|
|
120416
120562
|
constructor() {
|
|
120417
120563
|
super();
|
|
120418
120564
|
__publicField(this, "t", dcLocalize(this));
|
|
120419
120565
|
__privateAdd(this, _command, __runInitializers(_init154, 8, this, "")), __runInitializers(_init154, 11, this);
|
|
120420
120566
|
__privateAdd(this, _lines, __runInitializers(_init154, 12, this, [])), __runInitializers(_init154, 15, this);
|
|
120421
|
-
__privateAdd(this,
|
|
120567
|
+
__privateAdd(this, _frameless20, __runInitializers(_init154, 16, this, false)), __runInitializers(_init154, 19, this);
|
|
120422
120568
|
/** The lines the surface of this connection holds, in the order it got them. */
|
|
120423
120569
|
__publicField(this, "painted", []);
|
|
120424
120570
|
this.registerStartupFunction(async (signalArg) => {
|
|
@@ -120500,10 +120646,10 @@ var _DeesWorkspaceTerminalPreview = class _DeesWorkspaceTerminalPreview extends
|
|
|
120500
120646
|
_init154 = __decoratorStart(_a146);
|
|
120501
120647
|
_command = new WeakMap();
|
|
120502
120648
|
_lines = new WeakMap();
|
|
120503
|
-
|
|
120649
|
+
_frameless20 = new WeakMap();
|
|
120504
120650
|
__decorateElement(_init154, 4, "command", _command_dec, _DeesWorkspaceTerminalPreview, _command);
|
|
120505
120651
|
__decorateElement(_init154, 4, "lines", _lines_dec, _DeesWorkspaceTerminalPreview, _lines);
|
|
120506
|
-
__decorateElement(_init154, 4, "frameless",
|
|
120652
|
+
__decorateElement(_init154, 4, "frameless", _frameless_dec20, _DeesWorkspaceTerminalPreview, _frameless20);
|
|
120507
120653
|
_DeesWorkspaceTerminalPreview = __decorateElement(_init154, 0, "DeesWorkspaceTerminalPreview", _DeesWorkspaceTerminalPreview_decorators, _DeesWorkspaceTerminalPreview);
|
|
120508
120654
|
__name(_DeesWorkspaceTerminalPreview, "DeesWorkspaceTerminalPreview");
|
|
120509
120655
|
__publicField(_DeesWorkspaceTerminalPreview, "demo", /* @__PURE__ */ __name(() => b`
|
|
@@ -123795,7 +123941,7 @@ var bright = {
|
|
|
123795
123941
|
// ts_web/00_commitinfo_data.ts
|
|
123796
123942
|
var commitinfo = {
|
|
123797
123943
|
name: "@design.estate/dees-catalog",
|
|
123798
|
-
version: "21.
|
|
123944
|
+
version: "21.39.0",
|
|
123799
123945
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
123800
123946
|
};
|
|
123801
123947
|
export {
|