@design.estate/dees-catalog 21.39.0 → 21.40.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 +182 -137
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-DF4QZTOW.js → chunk-5K6O7YAL.js} +4 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-DF4QZTOW.js.map → chunk-5K6O7YAL.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-7SVFKQJK.js → chunk-GQD5HSUW.js} +10 -5
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-7SVFKQJK.js.map → chunk-GQD5HSUW.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-FGQNHF2X.js → chunk-V55MXKAS.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-FNI3J2QO.js → de-6VMRGXCJ.js} +4 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-6VMRGXCJ.js.map +1 -0
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-43SBKV7A.js → dees-modal-QSZV6TA6.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-4WZ3CPSW.js → dees-workspace-terminal-FXF7TT4M.js} +4 -4
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-button/dees-actionfooter/dees-actionfooter.d.ts +8 -0
- package/dist_ts_web/elements/00group-button/dees-actionfooter/dees-actionfooter.js +9 -4
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown-popup.js +10 -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 +180 -141
- package/dist_ts_web/i18n/de.d.ts +5 -1
- package/dist_ts_web/i18n/de.js +3 -2
- package/dist_ts_web/i18n/messages.d.ts +5 -1
- package/dist_ts_web/i18n/messages.js +3 -2
- package/package.json +1 -1
- package/readme.md +22 -9
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-button/dees-actionfooter/dees-actionfooter.ts +15 -3
- package/ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown-popup.ts +9 -0
- package/ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.ts +232 -188
- package/ts_web/i18n/de.ts +2 -1
- package/ts_web/i18n/messages.ts +2 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-FNI3J2QO.js.map +0 -1
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-FGQNHF2X.js.map → chunk-V55MXKAS.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-43SBKV7A.js.map → dees-modal-QSZV6TA6.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-4WZ3CPSW.js.map → dees-workspace-terminal-FXF7TT4M.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-V55MXKAS.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-GQD5HSUW.js";
|
|
128
128
|
import {
|
|
129
129
|
dcMessages,
|
|
130
130
|
dcSourceI18n,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
firstDayOfWeek,
|
|
135
135
|
iso_exports,
|
|
136
136
|
momentFormat
|
|
137
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
137
|
+
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-5K6O7YAL.js";
|
|
138
138
|
import {
|
|
139
139
|
__decorateElement,
|
|
140
140
|
__decoratorMetadata,
|
|
@@ -2727,6 +2727,7 @@ var _DeesInputDropdownPopup = class _DeesInputDropdownPopup extends (_a7 = DeesE
|
|
|
2727
2727
|
const selectedIndex = this.options.findIndex((option) => option.key === this.selectedKey && !option.disabled);
|
|
2728
2728
|
this.highlightedIndex = selectedIndex >= 0 ? selectedIndex : firstUsableIndex(this.options);
|
|
2729
2729
|
this.searchValue = "";
|
|
2730
|
+
this.classList.remove("closing");
|
|
2730
2731
|
this.windowLayer = await DeesWindowLayer.createAndShow({ dimmed: false, ownerElement: this.ownerComponent });
|
|
2731
2732
|
this.windowLayer.addEventListener("click", () => {
|
|
2732
2733
|
this.dispatchEvent(new CustomEvent("close-request"));
|
|
@@ -2745,6 +2746,7 @@ var _DeesInputDropdownPopup = class _DeesInputDropdownPopup extends (_a7 = DeesE
|
|
|
2745
2746
|
return;
|
|
2746
2747
|
}
|
|
2747
2748
|
this.isDestroying = true;
|
|
2749
|
+
this.classList.add("closing");
|
|
2748
2750
|
this.searchAbort?.abort();
|
|
2749
2751
|
this.repositionListeners?.abort();
|
|
2750
2752
|
zIndexRegistry.unregister(this);
|
|
@@ -2910,6 +2912,12 @@ __publicField(_DeesInputDropdownPopup, "styles", [
|
|
|
2910
2912
|
opacity: 1;
|
|
2911
2913
|
}
|
|
2912
2914
|
|
|
2915
|
+
/* A list on its way out takes no presses: the reader has already chosen, and the next press
|
|
2916
|
+
belongs to what lies under it. Set on the host the moment closing starts, not by a render. */
|
|
2917
|
+
:host(.closing) .selectionBox {
|
|
2918
|
+
pointer-events: none;
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2913
2921
|
.options-container {
|
|
2914
2922
|
min-height: 0;
|
|
2915
2923
|
max-height: 250px;
|
|
@@ -72661,7 +72669,7 @@ var _DeesHarnessConversationPicker = class _DeesHarnessConversationPicker extend
|
|
|
72661
72669
|
* cancelled. Focus returns to whatever had it when the picker opened.
|
|
72662
72670
|
*/
|
|
72663
72671
|
static async pick(optionsArg = {}) {
|
|
72664
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
72672
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-QSZV6TA6.js");
|
|
72665
72673
|
const picker = new _DeesHarnessConversationPicker();
|
|
72666
72674
|
picker.sessions = optionsArg.sessions ?? [];
|
|
72667
72675
|
picker.groups = optionsArg.groups ?? [];
|
|
@@ -73122,7 +73130,7 @@ var handleResourceContext = /* @__PURE__ */ __name(async (event) => {
|
|
|
73122
73130
|
list.selectedResourceId = event.detail.resource.id;
|
|
73123
73131
|
}, "handleResourceContext");
|
|
73124
73132
|
var openModal = /* @__PURE__ */ __name(async (sessions, groups) => {
|
|
73125
|
-
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-
|
|
73133
|
+
const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-QSZV6TA6.js");
|
|
73126
73134
|
const content = document.createElement("dees-harness-session-list");
|
|
73127
73135
|
content.sessions = sessions;
|
|
73128
73136
|
content.groups = groups;
|
|
@@ -76733,30 +76741,6 @@ var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a105 = Dee
|
|
|
76733
76741
|
.disabled=${this.saving}
|
|
76734
76742
|
@input=${(event) => this.changeDraft({ description: event.currentTarget.value })}
|
|
76735
76743
|
></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=${() => {
|
|
76751
|
-
this.editing = false;
|
|
76752
|
-
this.draft = void 0;
|
|
76753
|
-
kanbanEvent(this, "kanban-ticket-draft", {
|
|
76754
|
-
ticketId: ticket.id,
|
|
76755
|
-
draft: void 0
|
|
76756
|
-
});
|
|
76757
|
-
}}
|
|
76758
|
-
></dees-button>
|
|
76759
|
-
</div>
|
|
76760
76744
|
</div>` : b`<h2>${ticket.title}</h2>
|
|
76761
76745
|
<div
|
|
76762
76746
|
class="description ${ticket.description ? "" : "muted"}"
|
|
@@ -76764,143 +76748,159 @@ var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a105 = Dee
|
|
|
76764
76748
|
${ticket.source ? this.renderSource(ticket.source) : ""}
|
|
76765
76749
|
</section>
|
|
76766
76750
|
<aside>
|
|
76767
|
-
<div class="
|
|
76768
|
-
<div class="
|
|
76769
|
-
<div class="
|
|
76770
|
-
<
|
|
76771
|
-
|
|
76772
|
-
|
|
76773
|
-
|
|
76774
|
-
|
|
76775
|
-
|
|
76776
|
-
|
|
76751
|
+
<div class="properties">
|
|
76752
|
+
<div class="fields">
|
|
76753
|
+
<div class="status">
|
|
76754
|
+
<div class="field-head">
|
|
76755
|
+
<label class="caption">${this.t("kanban.status")}</label>
|
|
76756
|
+
${editable && !this.editing ? b`<dees-button
|
|
76757
|
+
size="sm"
|
|
76758
|
+
type="ghost"
|
|
76759
|
+
text=${this.t("kanban.editTicket")}
|
|
76760
|
+
icon="lucide:Pencil"
|
|
76761
|
+
@clicked=${() => {
|
|
76777
76762
|
this.editing = true;
|
|
76778
76763
|
this.changeDraft({});
|
|
76779
76764
|
}}
|
|
76780
|
-
|
|
76781
|
-
|
|
76782
|
-
|
|
76783
|
-
|
|
76784
|
-
|
|
76785
|
-
|
|
76786
|
-
|
|
76765
|
+
></dees-button>` : ""}
|
|
76766
|
+
</div>
|
|
76767
|
+
<dees-input-dropdown
|
|
76768
|
+
label=${this.t("kanban.status")}
|
|
76769
|
+
.labelPosition=${"none"}
|
|
76770
|
+
.options=${this.columns.map((column) => ({ key: column.id, option: column.title }))}
|
|
76771
|
+
.value=${{
|
|
76787
76772
|
key: ticket.columnId,
|
|
76788
76773
|
option: this.columns.find((column) => column.id === ticket.columnId)?.title ?? ticket.columnId
|
|
76789
76774
|
}}
|
|
76790
|
-
|
|
76791
|
-
|
|
76775
|
+
.disabled=${!movable || this.saving}
|
|
76776
|
+
@selectedOption=${(event) => kanbanEvent(this, "kanban-ticket-move", {
|
|
76792
76777
|
ticketId: ticket.id,
|
|
76793
76778
|
columnId: event.detail.key
|
|
76794
76779
|
})}
|
|
76795
|
-
|
|
76796
|
-
|
|
76797
|
-
|
|
76798
|
-
|
|
76799
|
-
|
|
76800
|
-
|
|
76801
|
-
|
|
76802
|
-
|
|
76803
|
-
|
|
76780
|
+
></dees-input-dropdown>
|
|
76781
|
+
</div>
|
|
76782
|
+
${this.editing && editable && projects.length ? b`<div>
|
|
76783
|
+
<label class="caption">${this.t("kanban.project")}</label>
|
|
76784
|
+
<dees-input-dropdown
|
|
76785
|
+
label=${this.t("kanban.project")}
|
|
76786
|
+
.labelPosition=${"none"}
|
|
76787
|
+
.disabled=${this.saving}
|
|
76788
|
+
.value=${{
|
|
76804
76789
|
key: draft.project ?? "",
|
|
76805
76790
|
option: draft.project ? kanbanProjectName(projects, draft.project) : this.t("kanban.noProject")
|
|
76806
76791
|
}}
|
|
76807
|
-
|
|
76792
|
+
.options=${[
|
|
76808
76793
|
...ticket.project ? [] : [{ key: "", option: this.t("kanban.noProject") }],
|
|
76809
76794
|
...projects.map((project2) => ({ key: project2.id, option: project2.name }))
|
|
76810
76795
|
]}
|
|
76811
|
-
|
|
76812
|
-
|
|
76813
|
-
|
|
76814
|
-
|
|
76815
|
-
|
|
76816
|
-
|
|
76817
|
-
|
|
76818
|
-
|
|
76819
|
-
|
|
76820
|
-
|
|
76821
|
-
|
|
76822
|
-
|
|
76823
|
-
|
|
76824
|
-
|
|
76825
|
-
|
|
76796
|
+
@selectedOption=${(event) => this.changeDraft({ project: event.detail.key })}
|
|
76797
|
+
></dees-input-dropdown>
|
|
76798
|
+
</div>` : ticket.project || projects.length ? b`<div>
|
|
76799
|
+
<label class="caption">${this.t("kanban.project")}</label>
|
|
76800
|
+
${ticket.project ? b`<span class="value">${kanbanProjectName(projects, ticket.project)}</span>` : this.renderUnset(this.t("kanban.noProject"))}
|
|
76801
|
+
</div>` : ""}
|
|
76802
|
+
${this.editing && editable ? b`
|
|
76803
|
+
<div>
|
|
76804
|
+
<label class="caption">${this.t("kanban.priorityLabel")}</label>
|
|
76805
|
+
<dees-input-dropdown
|
|
76806
|
+
label=${this.t("kanban.priorityLabel")}
|
|
76807
|
+
.labelPosition=${"none"}
|
|
76808
|
+
.disabled=${this.saving}
|
|
76809
|
+
.value=${{ key: draft.priority, option: this.t("kanban.priority", { priority: draft.priority }) }}
|
|
76810
|
+
.options=${["none", "low", "normal", "high", "urgent"].map((key) => ({
|
|
76826
76811
|
key,
|
|
76827
76812
|
option: this.t("kanban.priority", { priority: key })
|
|
76828
76813
|
}))}
|
|
76829
|
-
|
|
76830
|
-
|
|
76831
|
-
|
|
76832
|
-
|
|
76833
|
-
|
|
76834
|
-
|
|
76835
|
-
|
|
76836
|
-
|
|
76837
|
-
|
|
76838
|
-
|
|
76814
|
+
@selectedOption=${(event) => this.changeDraft({ priority: event.detail.key })}
|
|
76815
|
+
></dees-input-dropdown>
|
|
76816
|
+
</div>
|
|
76817
|
+
<div>
|
|
76818
|
+
<label class="caption">${this.t("kanban.assignee")}</label>
|
|
76819
|
+
<dees-input-dropdown
|
|
76820
|
+
label=${this.t("kanban.assignee")}
|
|
76821
|
+
.labelPosition=${"none"}
|
|
76822
|
+
.disabled=${this.saving}
|
|
76823
|
+
.value=${{
|
|
76839
76824
|
key: draft.assigneeId,
|
|
76840
76825
|
option: this.people.find((person) => person.id === draft.assigneeId)?.name ?? ticket.assignee?.name ?? this.t("kanban.unassigned")
|
|
76841
76826
|
}}
|
|
76842
|
-
|
|
76827
|
+
.options=${[
|
|
76843
76828
|
{ key: "", option: this.t("kanban.unassigned") },
|
|
76844
76829
|
...this.people.map((person) => ({ key: person.id, option: person.name }))
|
|
76845
76830
|
]}
|
|
76846
|
-
|
|
76847
|
-
|
|
76848
|
-
|
|
76849
|
-
|
|
76850
|
-
|
|
76851
|
-
|
|
76852
|
-
|
|
76853
|
-
|
|
76854
|
-
|
|
76855
|
-
|
|
76831
|
+
@selectedOption=${(event) => this.changeDraft({ assigneeId: event.detail.key })}
|
|
76832
|
+
></dees-input-dropdown>
|
|
76833
|
+
</div>
|
|
76834
|
+
${ticket.kind !== "epic" ? b`<div>
|
|
76835
|
+
<label class="caption">${this.t(ticket.kind === "task" ? "kanban.epic" : "kanban.parentTask")}</label>
|
|
76836
|
+
<dees-input-dropdown
|
|
76837
|
+
label=${this.t(ticket.kind === "task" ? "kanban.epic" : "kanban.parentTask")}
|
|
76838
|
+
.labelPosition=${"none"}
|
|
76839
|
+
.disabled=${this.saving}
|
|
76840
|
+
.value=${{
|
|
76856
76841
|
key: draft.parentId,
|
|
76857
76842
|
option: parents.find((item) => item.id === draft.parentId)?.title ?? this.t("kanban.none")
|
|
76858
76843
|
}}
|
|
76859
|
-
|
|
76844
|
+
.options=${[
|
|
76860
76845
|
...ticket.kind === "task" ? [{ key: "", option: this.t("kanban.none") }] : [],
|
|
76861
76846
|
...parents.map((item) => ({ key: item.id, option: ticketLabel(item) }))
|
|
76862
76847
|
]}
|
|
76863
|
-
|
|
76864
|
-
|
|
76865
|
-
|
|
76866
|
-
|
|
76867
|
-
|
|
76868
|
-
|
|
76869
|
-
|
|
76870
|
-
|
|
76871
|
-
|
|
76872
|
-
|
|
76873
|
-
|
|
76874
|
-
|
|
76875
|
-
|
|
76876
|
-
|
|
76877
|
-
|
|
76878
|
-
|
|
76879
|
-
|
|
76880
|
-
|
|
76881
|
-
label
|
|
76882
|
-
|
|
76883
|
-
|
|
76884
|
-
|
|
76885
|
-
|
|
76886
|
-
|
|
76887
|
-
|
|
76848
|
+
@selectedOption=${(event) => this.changeDraft({ parentId: event.detail.key })}
|
|
76849
|
+
></dees-input-dropdown>
|
|
76850
|
+
</div>` : ""}
|
|
76851
|
+
` : b`<div>
|
|
76852
|
+
<label class="caption">${this.t("kanban.priorityLabel")}</label>
|
|
76853
|
+
${ticket.priority && ticket.priority !== "none" ? b`<span class="priority value" data-priority=${ticket.priority}><dees-icon
|
|
76854
|
+
.icon=${kanbanPriorityIcon(ticket.priority)}
|
|
76855
|
+
iconSize="13"
|
|
76856
|
+
aria-hidden="true"
|
|
76857
|
+
></dees-icon>${this.t("kanban.priority", { priority: ticket.priority })}</span>` : this.renderUnset(this.t("kanban.priority", { priority: "none" }))}
|
|
76858
|
+
</div>
|
|
76859
|
+
<div>
|
|
76860
|
+
<label class="caption">${this.t("kanban.assignee")}</label>
|
|
76861
|
+
${ticket.assignee ? b`<span class="person value"><span class="avatar" aria-hidden="true">${kanbanInitials(
|
|
76862
|
+
ticket.assignee.name
|
|
76863
|
+
)}</span>${ticket.assignee.name}</span>` : this.renderUnset(this.t("kanban.unassigned"))}
|
|
76864
|
+
</div>`}
|
|
76865
|
+
${this.editing && editable ? b`<div class="labels">
|
|
76866
|
+
<label class="caption">${this.t("kanban.labels")}</label>
|
|
76867
|
+
<dees-input-tags
|
|
76868
|
+
label=${this.t("kanban.labels")}
|
|
76869
|
+
.labelPosition=${"none"}
|
|
76870
|
+
.disabled=${this.saving}
|
|
76871
|
+
.value=${draft.labels ?? ticket.labels ?? []}
|
|
76872
|
+
.suggestions=${labels}
|
|
76873
|
+
.placeholder=${this.t("kanban.labelsPlaceholder")}
|
|
76874
|
+
@change=${(event) => {
|
|
76888
76875
|
event.stopPropagation();
|
|
76889
76876
|
this.changeDraft({ labels: [...event.detail.value] });
|
|
76890
76877
|
}}
|
|
76891
|
-
|
|
76892
|
-
|
|
76893
|
-
|
|
76878
|
+
@input=${(event) => event.stopPropagation()}
|
|
76879
|
+
></dees-input-tags>
|
|
76880
|
+
</div>` : b`<div class="labels">
|
|
76894
76881
|
<label class="caption">${this.t("kanban.labels")}</label>
|
|
76895
|
-
|
|
76896
|
-
|
|
76897
|
-
|
|
76898
|
-
</div>`
|
|
76882
|
+
${ticket.labels?.length ? b`<div class="row value">
|
|
76883
|
+
${ticket.labels.map((label) => b`<span class="badge">${label}</span>`)}
|
|
76884
|
+
</div>` : this.renderUnset(this.t("kanban.noLabels"))}
|
|
76885
|
+
</div>`}
|
|
76886
|
+
</div>
|
|
76887
|
+
${ticket.createdAt || ticket.updatedAt ? b`<footer class="stamps">
|
|
76888
|
+
${ticket.createdAt ? this.renderStamp("created", ticket.createdAt, ticket.createdBy) : ""}
|
|
76889
|
+
${ticket.updatedAt ? this.renderStamp("updated", ticket.updatedAt, ticket.updatedBy) : ""}
|
|
76890
|
+
</footer>` : ""}
|
|
76899
76891
|
</div>
|
|
76900
|
-
${
|
|
76901
|
-
|
|
76902
|
-
|
|
76903
|
-
|
|
76892
|
+
${this.editing && editable ? b`<dees-actionfooter
|
|
76893
|
+
class="actions"
|
|
76894
|
+
.actions=${[
|
|
76895
|
+
{ name: this.t("common.cancel"), action: /* @__PURE__ */ __name(async () => this.cancelEdit(ticket), "action") },
|
|
76896
|
+
{
|
|
76897
|
+
name: this.t("kanban.saveChanges"),
|
|
76898
|
+
pending: this.saving,
|
|
76899
|
+
disabled: !draft.title.trim() || this.conflict !== void 0 && this.conflict.state !== "reloaded",
|
|
76900
|
+
action: /* @__PURE__ */ __name(async () => kanbanEvent(this, "kanban-ticket-save", { ticketId: ticket.id, draft }), "action")
|
|
76901
|
+
}
|
|
76902
|
+
]}
|
|
76903
|
+
></dees-actionfooter>` : ""}
|
|
76904
76904
|
</aside>
|
|
76905
76905
|
<div class="body">
|
|
76906
76906
|
${ticket.links?.length ? b`<section class="links">
|
|
@@ -77054,6 +77054,17 @@ var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a105 = Dee
|
|
|
77054
77054
|
${href ? b`<dees-icon class="external" icon="lucide:ExternalLink" aria-hidden="true"></dees-icon>` : ""}`;
|
|
77055
77055
|
return b`<li>${href ? b`<a class="child" href=${href} target="_blank" rel="noopener noreferrer">${content}</a>` : b`<div class="child">${content}</div>`}</li>`;
|
|
77056
77056
|
}
|
|
77057
|
+
/** A property without a value: a quiet dash, read out as its words. */
|
|
77058
|
+
renderUnset(words) {
|
|
77059
|
+
return b`<span class="value unset"><span aria-hidden="true">—</span><span class="unset-words"
|
|
77060
|
+
>${words}</span></span>`;
|
|
77061
|
+
}
|
|
77062
|
+
/** Leaves the edit and lets go of its draft. */
|
|
77063
|
+
cancelEdit(ticket) {
|
|
77064
|
+
this.editing = false;
|
|
77065
|
+
this.draft = void 0;
|
|
77066
|
+
kanbanEvent(this, "kanban-ticket-draft", { ticketId: ticket.id, draft: void 0 });
|
|
77067
|
+
}
|
|
77057
77068
|
/** When the ticket was created or last changed, and by whom, in a sentence. */
|
|
77058
77069
|
renderStamp(kind, at, by) {
|
|
77059
77070
|
const date2 = new Date(at);
|
|
@@ -77128,8 +77139,9 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77128
77139
|
i`
|
|
77129
77140
|
/*
|
|
77130
77141
|
* The toolbar runs across the top. Under its hairline the main column scrolls on its own
|
|
77131
|
-
* and the properties fill the other side down to the bottom edge.
|
|
77132
|
-
* modal's body,
|
|
77142
|
+
* and the properties fill the other side down to the bottom edge. The detail fills the
|
|
77143
|
+
* height its container gives it, as a modal's body does, however long the ticket: what it
|
|
77144
|
+
* holds never sets its height.
|
|
77133
77145
|
*
|
|
77134
77146
|
* The properties stand between the lead and the rest in the document, so on a phone, where
|
|
77135
77147
|
* they follow the title and the description, the focus order is the order on screen; beside
|
|
@@ -77145,6 +77157,7 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77145
77157
|
.panes {
|
|
77146
77158
|
position: relative;
|
|
77147
77159
|
min-height: 0;
|
|
77160
|
+
contain: size;
|
|
77148
77161
|
}
|
|
77149
77162
|
|
|
77150
77163
|
.main {
|
|
@@ -77321,15 +77334,28 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77321
77334
|
top: 0;
|
|
77322
77335
|
right: 0;
|
|
77323
77336
|
bottom: 0;
|
|
77337
|
+
display: flex;
|
|
77338
|
+
flex-direction: column;
|
|
77324
77339
|
width: 280px;
|
|
77325
|
-
padding: 20px var(--detail-inset-inline, 24px) 24px 20px;
|
|
77326
77340
|
border-left: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
|
|
77327
77341
|
background: var(--dees-color-modal-sidebar);
|
|
77342
|
+
}
|
|
77343
|
+
|
|
77344
|
+
.properties {
|
|
77345
|
+
flex: 1;
|
|
77346
|
+
min-height: 0;
|
|
77347
|
+
padding: 20px var(--detail-inset-inline, 24px) 24px 20px;
|
|
77328
77348
|
overflow-y: auto;
|
|
77329
77349
|
overscroll-behavior: contain;
|
|
77330
77350
|
scrollbar-width: thin;
|
|
77331
77351
|
}
|
|
77332
77352
|
|
|
77353
|
+
/* An edit's Save and Cancel stand at the column's foot, by the fields they save, while the fields scroll. */
|
|
77354
|
+
.actions {
|
|
77355
|
+
flex-shrink: 0;
|
|
77356
|
+
padding-inline: 20px var(--detail-inset-inline, 24px);
|
|
77357
|
+
}
|
|
77358
|
+
|
|
77333
77359
|
/* Edit ticket shares the Status label's line without making it taller: 1lh is the label's line. */
|
|
77334
77360
|
.field-head {
|
|
77335
77361
|
display: flex;
|
|
@@ -77375,6 +77401,16 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77375
77401
|
gap: 7px;
|
|
77376
77402
|
}
|
|
77377
77403
|
|
|
77404
|
+
/* A property without a value: every row stays, with a quiet dash read out as its words. */
|
|
77405
|
+
.unset {
|
|
77406
|
+
color: var(--dees-color-text-secondary);
|
|
77407
|
+
font-weight: 400;
|
|
77408
|
+
}
|
|
77409
|
+
|
|
77410
|
+
.unset-words {
|
|
77411
|
+
${visuallyHidden}
|
|
77412
|
+
}
|
|
77413
|
+
|
|
77378
77414
|
/* When the ticket was created and last changed: below its fields, as sentences. */
|
|
77379
77415
|
.stamps {
|
|
77380
77416
|
display: grid;
|
|
@@ -77625,6 +77661,9 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77625
77661
|
gap: 6px;
|
|
77626
77662
|
padding: var(--dees-spacing-md) var(--detail-inset-inline, 16px);
|
|
77627
77663
|
}
|
|
77664
|
+
.panes {
|
|
77665
|
+
contain: none;
|
|
77666
|
+
}
|
|
77628
77667
|
.main {
|
|
77629
77668
|
height: auto;
|
|
77630
77669
|
margin-right: 0;
|
|
@@ -77644,13 +77683,19 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
|
|
|
77644
77683
|
}
|
|
77645
77684
|
aside {
|
|
77646
77685
|
position: static;
|
|
77686
|
+
display: block;
|
|
77647
77687
|
width: auto;
|
|
77648
|
-
padding: 16px var(--detail-inset-inline, 16px) 20px;
|
|
77649
77688
|
border-left: 0;
|
|
77650
77689
|
border-top: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
|
|
77651
77690
|
border-bottom: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
|
|
77691
|
+
}
|
|
77692
|
+
.properties {
|
|
77693
|
+
padding: 16px var(--detail-inset-inline, 16px) 20px;
|
|
77652
77694
|
overflow: visible;
|
|
77653
77695
|
}
|
|
77696
|
+
.actions {
|
|
77697
|
+
padding-inline: var(--detail-inset-inline, 16px);
|
|
77698
|
+
}
|
|
77654
77699
|
.body {
|
|
77655
77700
|
margin-top: 0;
|
|
77656
77701
|
padding-block: 20px 16px;
|
|
@@ -116937,7 +116982,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a139 = DeesElement,
|
|
|
116937
116982
|
this.terminalOpen = true;
|
|
116938
116983
|
const request = ++this.terminalRequest;
|
|
116939
116984
|
try {
|
|
116940
|
-
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-
|
|
116985
|
+
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-FXF7TT4M.js");
|
|
116941
116986
|
await this.updateComplete;
|
|
116942
116987
|
if (!this.isConnected || request !== this.terminalRequest) return;
|
|
116943
116988
|
const terminal = new DeesWorkspaceTerminal3();
|
|
@@ -123941,7 +123986,7 @@ var bright = {
|
|
|
123941
123986
|
// ts_web/00_commitinfo_data.ts
|
|
123942
123987
|
var commitinfo = {
|
|
123943
123988
|
name: "@design.estate/dees-catalog",
|
|
123944
|
-
version: "21.
|
|
123989
|
+
version: "21.40.0",
|
|
123945
123990
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
123946
123991
|
};
|
|
123947
123992
|
export {
|