@design.estate/dees-catalog 21.34.0 → 21.35.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.
Files changed (30) hide show
  1. package/dist_bundle/bundle.js +242 -182
  2. package/dist_bundle/bundle.js.map +1 -1
  3. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-P3H4LK6R.js → chunk-5CNZ4UM3.js} +3 -2
  4. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-P3H4LK6R.js.map → chunk-5CNZ4UM3.js.map} +1 -1
  5. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-22Q5WLXW.js → chunk-KY5Z6Y6T.js} +2 -2
  6. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-Y4JW5Y72.js → chunk-PHFZ5EZN.js} +3 -3
  7. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-7LG7TVSW.js → de-AGABQ27E.js} +3 -2
  8. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-AGABQ27E.js.map +1 -0
  9. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-TUZWVVOC.js → dees-modal-QBFEQURL.js} +3 -3
  10. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-FZU6LDKJ.js → dees-workspace-terminal-UYSWDBV4.js} +4 -4
  11. package/dist_ts_web/00_commitinfo_data.js +1 -1
  12. package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.d.ts +8 -1
  13. package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.js +32 -5
  14. package/dist_ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.js +225 -179
  15. package/dist_ts_web/i18n/de.d.ts +4 -0
  16. package/dist_ts_web/i18n/de.js +2 -1
  17. package/dist_ts_web/i18n/messages.d.ts +4 -0
  18. package/dist_ts_web/i18n/messages.js +2 -1
  19. package/package.json +1 -1
  20. package/readme.md +13 -1
  21. package/ts_web/00_commitinfo_data.ts +1 -1
  22. package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts +24 -3
  23. package/ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.ts +240 -194
  24. package/ts_web/i18n/de.ts +1 -0
  25. package/ts_web/i18n/messages.ts +1 -0
  26. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-7LG7TVSW.js.map +0 -1
  27. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-22Q5WLXW.js.map → chunk-KY5Z6Y6T.js.map} +0 -0
  28. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-Y4JW5Y72.js.map → chunk-PHFZ5EZN.js.map} +0 -0
  29. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-TUZWVVOC.js.map → dees-modal-QBFEQURL.js.map} +0 -0
  30. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-FZU6LDKJ.js.map → dees-workspace-terminal-UYSWDBV4.js.map} +0 -0
@@ -26,7 +26,7 @@ import {
26
26
  ownAppuiLabels,
27
27
  resolveAppuiLabels,
28
28
  xtermStyles
29
- } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-Y4JW5Y72.js";
29
+ } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-PHFZ5EZN.js";
30
30
  import {
31
31
  ActionRunController,
32
32
  BarInfoController,
@@ -123,7 +123,7 @@ import {
123
123
  workspaceVisibility,
124
124
  zIndexLayers,
125
125
  zIndexRegistry
126
- } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-22Q5WLXW.js";
126
+ } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-KY5Z6Y6T.js";
127
127
  import {
128
128
  dcMessages,
129
129
  dcSourceI18n,
@@ -133,7 +133,7 @@ import {
133
133
  firstDayOfWeek,
134
134
  iso_exports,
135
135
  momentFormat
136
- } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-P3H4LK6R.js";
136
+ } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-5CNZ4UM3.js";
137
137
  import {
138
138
  __decorateElement,
139
139
  __decoratorMetadata,
@@ -71696,7 +71696,7 @@ var _DeesHarnessConversationPicker = class _DeesHarnessConversationPicker extend
71696
71696
  * cancelled. Focus returns to whatever had it when the picker opened.
71697
71697
  */
71698
71698
  static async pick(optionsArg = {}) {
71699
- const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-TUZWVVOC.js");
71699
+ const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-QBFEQURL.js");
71700
71700
  const picker = new _DeesHarnessConversationPicker();
71701
71701
  picker.sessions = optionsArg.sessions ?? [];
71702
71702
  picker.groups = optionsArg.groups ?? [];
@@ -72157,7 +72157,7 @@ var handleResourceContext = /* @__PURE__ */ __name(async (event) => {
72157
72157
  list.selectedResourceId = event.detail.resource.id;
72158
72158
  }, "handleResourceContext");
72159
72159
  var openModal = /* @__PURE__ */ __name(async (sessions, groups) => {
72160
- const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-TUZWVVOC.js");
72160
+ const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-QBFEQURL.js");
72161
72161
  const content = document.createElement("dees-harness-session-list");
72162
72162
  content.sessions = sessions;
72163
72163
  content.groups = groups;
@@ -75745,20 +75745,9 @@ var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a104 = Dee
75745
75745
  title=${parent.title}
75746
75746
  @click=${() => kanbanEvent(this, "kanban-ticket-open", { ticketId: parent.id })}
75747
75747
  >${parent.title}</button>` : ""}
75748
- <span class="spacer"></span>
75749
- ${editable && !this.editing ? b`<dees-button
75750
- size="sm"
75751
- type="ghost"
75752
- text=${this.t("kanban.editTicket")}
75753
- icon="lucide:Pencil"
75754
- @clicked=${() => {
75755
- this.editing = true;
75756
- this.changeDraft({});
75757
- }}
75758
- ></dees-button>` : ""}
75759
75748
  </div>
75760
- ${this.error ? b`<p class="error" role="alert">${this.error}</p>` : ""}
75761
- <div class="layout">
75749
+ <div class="main">
75750
+ ${this.error ? b`<p class="error" role="alert">${this.error}</p>` : ""}
75762
75751
  <section class="lead">
75763
75752
  ${this.editing && editable ? b`<div class="edit">
75764
75753
  ${this.conflict ? this.renderConflict(ticket, this.conflict, parents, projects) : ""}
@@ -75807,133 +75796,6 @@ var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a104 = Dee
75807
75796
  >${ticket.description || this.t("kanban.noDescription")}</div>`}
75808
75797
  ${ticket.source ? this.renderSource(ticket.source) : ""}
75809
75798
  </section>
75810
- <aside>
75811
- <div class="fields">
75812
- <div>
75813
- <label class="caption">${this.t("kanban.status")}</label>
75814
- <dees-input-dropdown
75815
- label=${this.t("kanban.status")}
75816
- .labelPosition=${"none"}
75817
- .options=${this.columns.map((column) => ({ key: column.id, option: column.title }))}
75818
- .value=${{
75819
- key: ticket.columnId,
75820
- option: this.columns.find((column) => column.id === ticket.columnId)?.title ?? ticket.columnId
75821
- }}
75822
- .disabled=${!movable || this.saving}
75823
- @selectedOption=${(event) => kanbanEvent(this, "kanban-ticket-move", {
75824
- ticketId: ticket.id,
75825
- columnId: event.detail.key
75826
- })}
75827
- ></dees-input-dropdown>
75828
- </div>
75829
- ${this.editing && editable && projects.length ? b`<div>
75830
- <label class="caption">${this.t("kanban.project")}</label>
75831
- <dees-input-dropdown
75832
- label=${this.t("kanban.project")}
75833
- .labelPosition=${"none"}
75834
- .disabled=${this.saving}
75835
- .value=${{
75836
- key: draft.project ?? "",
75837
- option: draft.project ? kanbanProjectName(projects, draft.project) : this.t("kanban.noProject")
75838
- }}
75839
- .options=${[
75840
- ...ticket.project ? [] : [{ key: "", option: this.t("kanban.noProject") }],
75841
- ...projects.map((project2) => ({ key: project2.id, option: project2.name }))
75842
- ]}
75843
- @selectedOption=${(event) => this.changeDraft({ project: event.detail.key })}
75844
- ></dees-input-dropdown>
75845
- </div>` : ticket.project || projects.length ? b`<div>
75846
- <label class="caption">${this.t("kanban.project")}</label>
75847
- <span class="value ${ticket.project ? "" : "muted"}">${ticket.project ? kanbanProjectName(projects, ticket.project) : this.t("kanban.noProject")}</span>
75848
- </div>` : ""}
75849
- ${this.editing && editable ? b`
75850
- <div>
75851
- <label class="caption">${this.t("kanban.priorityLabel")}</label>
75852
- <dees-input-dropdown
75853
- label=${this.t("kanban.priorityLabel")}
75854
- .labelPosition=${"none"}
75855
- .disabled=${this.saving}
75856
- .value=${{ key: draft.priority, option: this.t("kanban.priority", { priority: draft.priority }) }}
75857
- .options=${["none", "low", "normal", "high", "urgent"].map((key) => ({
75858
- key,
75859
- option: this.t("kanban.priority", { priority: key })
75860
- }))}
75861
- @selectedOption=${(event) => this.changeDraft({ priority: event.detail.key })}
75862
- ></dees-input-dropdown>
75863
- </div>
75864
- <div>
75865
- <label class="caption">${this.t("kanban.assignee")}</label>
75866
- <dees-input-dropdown
75867
- label=${this.t("kanban.assignee")}
75868
- .labelPosition=${"none"}
75869
- .disabled=${this.saving}
75870
- .value=${{
75871
- key: draft.assigneeId,
75872
- option: this.people.find((person) => person.id === draft.assigneeId)?.name ?? ticket.assignee?.name ?? this.t("kanban.unassigned")
75873
- }}
75874
- .options=${[
75875
- { key: "", option: this.t("kanban.unassigned") },
75876
- ...this.people.map((person) => ({ key: person.id, option: person.name }))
75877
- ]}
75878
- @selectedOption=${(event) => this.changeDraft({ assigneeId: event.detail.key })}
75879
- ></dees-input-dropdown>
75880
- </div>
75881
- ${ticket.kind !== "epic" ? b`<div>
75882
- <label class="caption">${this.t(ticket.kind === "task" ? "kanban.epic" : "kanban.parentTask")}</label>
75883
- <dees-input-dropdown
75884
- label=${this.t(ticket.kind === "task" ? "kanban.epic" : "kanban.parentTask")}
75885
- .labelPosition=${"none"}
75886
- .disabled=${this.saving}
75887
- .value=${{
75888
- key: draft.parentId,
75889
- option: parents.find((item) => item.id === draft.parentId)?.title ?? this.t("kanban.none")
75890
- }}
75891
- .options=${[
75892
- ...ticket.kind === "task" ? [{ key: "", option: this.t("kanban.none") }] : [],
75893
- ...parents.map((item) => ({ key: item.id, option: ticketLabel(item) }))
75894
- ]}
75895
- @selectedOption=${(event) => this.changeDraft({ parentId: event.detail.key })}
75896
- ></dees-input-dropdown>
75897
- </div>` : ""}
75898
- ` : b`<div>
75899
- <label class="caption">${this.t("kanban.priorityLabel")}</label>
75900
- <span class="priority value" data-priority=${ticket.priority ?? "none"}><dees-icon
75901
- .icon=${kanbanPriorityIcon(ticket.priority)}
75902
- iconSize="13"
75903
- aria-hidden="true"
75904
- ></dees-icon>${this.t("kanban.priority", { priority: ticket.priority ?? "none" })}</span>
75905
- </div>
75906
- <div>
75907
- <label class="caption">${this.t("kanban.assignee")}</label>
75908
- <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>
75909
- </div>`}
75910
- ${this.editing && editable ? b`<div>
75911
- <label class="caption">${this.t("kanban.labels")}</label>
75912
- <dees-input-tags
75913
- label=${this.t("kanban.labels")}
75914
- .labelPosition=${"none"}
75915
- .disabled=${this.saving}
75916
- .value=${draft.labels ?? ticket.labels ?? []}
75917
- .suggestions=${labels}
75918
- .placeholder=${this.t("kanban.labelsPlaceholder")}
75919
- @change=${(event) => {
75920
- event.stopPropagation();
75921
- this.changeDraft({ labels: [...event.detail.value] });
75922
- }}
75923
- @input=${(event) => event.stopPropagation()}
75924
- ></dees-input-tags>
75925
- </div>` : ticket.labels?.length ? b`<div>
75926
- <label class="caption">${this.t("kanban.labels")}</label>
75927
- <div class="row value">
75928
- ${ticket.labels.map((label) => b`<span class="badge">${label}</span>`)}
75929
- </div>
75930
- </div>` : ""}
75931
- </div>
75932
- ${ticket.createdAt || ticket.updatedAt ? b`<footer class="stamps">
75933
- ${ticket.createdAt ? this.renderStamp("created", ticket.createdAt, ticket.createdBy) : ""}
75934
- ${ticket.updatedAt ? this.renderStamp("updated", ticket.updatedAt, ticket.updatedBy) : ""}
75935
- </footer>` : ""}
75936
- </aside>
75937
75799
  <div class="body">
75938
75800
  ${ticket.links?.length ? b`<section class="links">
75939
75801
  <div class="section-title">
@@ -75973,7 +75835,146 @@ var _DeesKanbanTicketDetail = class _DeesKanbanTicketDetail extends (_a104 = Dee
75973
75835
  </section>` : ""}
75974
75836
  ${this.provider.loadActivity ? this.renderFeed(ticket) : this.renderDiscussion(ticket)}
75975
75837
  </div>
75976
- </div>`;
75838
+ </div>
75839
+ <aside>
75840
+ <div class="fields">
75841
+ <div class="status">
75842
+ <div class="field-head">
75843
+ <label class="caption">${this.t("kanban.status")}</label>
75844
+ ${editable && !this.editing ? b`<dees-button
75845
+ size="sm"
75846
+ type="ghost"
75847
+ text=${this.t("kanban.editTicket")}
75848
+ icon="lucide:Pencil"
75849
+ @clicked=${() => {
75850
+ this.editing = true;
75851
+ this.changeDraft({});
75852
+ }}
75853
+ ></dees-button>` : ""}
75854
+ </div>
75855
+ <dees-input-dropdown
75856
+ label=${this.t("kanban.status")}
75857
+ .labelPosition=${"none"}
75858
+ .options=${this.columns.map((column) => ({ key: column.id, option: column.title }))}
75859
+ .value=${{
75860
+ key: ticket.columnId,
75861
+ option: this.columns.find((column) => column.id === ticket.columnId)?.title ?? ticket.columnId
75862
+ }}
75863
+ .disabled=${!movable || this.saving}
75864
+ @selectedOption=${(event) => kanbanEvent(this, "kanban-ticket-move", {
75865
+ ticketId: ticket.id,
75866
+ columnId: event.detail.key
75867
+ })}
75868
+ ></dees-input-dropdown>
75869
+ </div>
75870
+ ${this.editing && editable && projects.length ? b`<div>
75871
+ <label class="caption">${this.t("kanban.project")}</label>
75872
+ <dees-input-dropdown
75873
+ label=${this.t("kanban.project")}
75874
+ .labelPosition=${"none"}
75875
+ .disabled=${this.saving}
75876
+ .value=${{
75877
+ key: draft.project ?? "",
75878
+ option: draft.project ? kanbanProjectName(projects, draft.project) : this.t("kanban.noProject")
75879
+ }}
75880
+ .options=${[
75881
+ ...ticket.project ? [] : [{ key: "", option: this.t("kanban.noProject") }],
75882
+ ...projects.map((project2) => ({ key: project2.id, option: project2.name }))
75883
+ ]}
75884
+ @selectedOption=${(event) => this.changeDraft({ project: event.detail.key })}
75885
+ ></dees-input-dropdown>
75886
+ </div>` : ticket.project || projects.length ? b`<div>
75887
+ <label class="caption">${this.t("kanban.project")}</label>
75888
+ <span class="value ${ticket.project ? "" : "muted"}">${ticket.project ? kanbanProjectName(projects, ticket.project) : this.t("kanban.noProject")}</span>
75889
+ </div>` : ""}
75890
+ ${this.editing && editable ? b`
75891
+ <div>
75892
+ <label class="caption">${this.t("kanban.priorityLabel")}</label>
75893
+ <dees-input-dropdown
75894
+ label=${this.t("kanban.priorityLabel")}
75895
+ .labelPosition=${"none"}
75896
+ .disabled=${this.saving}
75897
+ .value=${{ key: draft.priority, option: this.t("kanban.priority", { priority: draft.priority }) }}
75898
+ .options=${["none", "low", "normal", "high", "urgent"].map((key) => ({
75899
+ key,
75900
+ option: this.t("kanban.priority", { priority: key })
75901
+ }))}
75902
+ @selectedOption=${(event) => this.changeDraft({ priority: event.detail.key })}
75903
+ ></dees-input-dropdown>
75904
+ </div>
75905
+ <div>
75906
+ <label class="caption">${this.t("kanban.assignee")}</label>
75907
+ <dees-input-dropdown
75908
+ label=${this.t("kanban.assignee")}
75909
+ .labelPosition=${"none"}
75910
+ .disabled=${this.saving}
75911
+ .value=${{
75912
+ key: draft.assigneeId,
75913
+ option: this.people.find((person) => person.id === draft.assigneeId)?.name ?? ticket.assignee?.name ?? this.t("kanban.unassigned")
75914
+ }}
75915
+ .options=${[
75916
+ { key: "", option: this.t("kanban.unassigned") },
75917
+ ...this.people.map((person) => ({ key: person.id, option: person.name }))
75918
+ ]}
75919
+ @selectedOption=${(event) => this.changeDraft({ assigneeId: event.detail.key })}
75920
+ ></dees-input-dropdown>
75921
+ </div>
75922
+ ${ticket.kind !== "epic" ? b`<div>
75923
+ <label class="caption">${this.t(ticket.kind === "task" ? "kanban.epic" : "kanban.parentTask")}</label>
75924
+ <dees-input-dropdown
75925
+ label=${this.t(ticket.kind === "task" ? "kanban.epic" : "kanban.parentTask")}
75926
+ .labelPosition=${"none"}
75927
+ .disabled=${this.saving}
75928
+ .value=${{
75929
+ key: draft.parentId,
75930
+ option: parents.find((item) => item.id === draft.parentId)?.title ?? this.t("kanban.none")
75931
+ }}
75932
+ .options=${[
75933
+ ...ticket.kind === "task" ? [{ key: "", option: this.t("kanban.none") }] : [],
75934
+ ...parents.map((item) => ({ key: item.id, option: ticketLabel(item) }))
75935
+ ]}
75936
+ @selectedOption=${(event) => this.changeDraft({ parentId: event.detail.key })}
75937
+ ></dees-input-dropdown>
75938
+ </div>` : ""}
75939
+ ` : b`<div>
75940
+ <label class="caption">${this.t("kanban.priorityLabel")}</label>
75941
+ <span class="priority value" data-priority=${ticket.priority ?? "none"}><dees-icon
75942
+ .icon=${kanbanPriorityIcon(ticket.priority)}
75943
+ iconSize="13"
75944
+ aria-hidden="true"
75945
+ ></dees-icon>${this.t("kanban.priority", { priority: ticket.priority ?? "none" })}</span>
75946
+ </div>
75947
+ <div>
75948
+ <label class="caption">${this.t("kanban.assignee")}</label>
75949
+ <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>
75950
+ </div>`}
75951
+ ${this.editing && editable ? b`<div>
75952
+ <label class="caption">${this.t("kanban.labels")}</label>
75953
+ <dees-input-tags
75954
+ label=${this.t("kanban.labels")}
75955
+ .labelPosition=${"none"}
75956
+ .disabled=${this.saving}
75957
+ .value=${draft.labels ?? ticket.labels ?? []}
75958
+ .suggestions=${labels}
75959
+ .placeholder=${this.t("kanban.labelsPlaceholder")}
75960
+ @change=${(event) => {
75961
+ event.stopPropagation();
75962
+ this.changeDraft({ labels: [...event.detail.value] });
75963
+ }}
75964
+ @input=${(event) => event.stopPropagation()}
75965
+ ></dees-input-tags>
75966
+ </div>` : ticket.labels?.length ? b`<div>
75967
+ <label class="caption">${this.t("kanban.labels")}</label>
75968
+ <div class="row value">
75969
+ ${ticket.labels.map((label) => b`<span class="badge">${label}</span>`)}
75970
+ </div>
75971
+ </div>` : ""}
75972
+ </div>
75973
+ ${ticket.createdAt || ticket.updatedAt ? b`<footer class="stamps">
75974
+ ${ticket.createdAt ? this.renderStamp("created", ticket.createdAt, ticket.createdBy) : ""}
75975
+ ${ticket.updatedAt ? this.renderStamp("updated", ticket.updatedAt, ticket.updatedBy) : ""}
75976
+ </footer>` : ""}
75977
+ </aside>`;
75977
75978
  }
75978
75979
  renderDiscussion(ticket, inFeed = false) {
75979
75980
  return b`<dees-kanban-discussion
@@ -76154,32 +76155,44 @@ __name(_DeesKanbanTicketDetail, "DeesKanbanTicketDetail");
76154
76155
  __publicField(_DeesKanbanTicketDetail, "styles", [
76155
76156
  ...kanbanStyles,
76156
76157
  i`
76158
+ /*
76159
+ * The toolbar runs across the top. Under its hairline the main column scrolls on its own
76160
+ * and the properties fill the other side down to the bottom edge. Given a height, such as a
76161
+ * modal's body, the detail fills it; otherwise it is as tall as its content.
76162
+ */
76157
76163
  :host {
76158
- padding: 24px;
76164
+ display: grid;
76165
+ grid-template-columns: minmax(0, 1fr) 280px;
76166
+ grid-template-rows: auto minmax(0, 1fr);
76167
+ grid-template-areas: 'toolbar toolbar' 'main props';
76168
+ height: 100%;
76169
+ min-height: 0;
76159
76170
  }
76160
76171
 
76161
- .layout {
76162
- display: grid;
76163
- grid-template-columns: minmax(0, 1fr) 248px;
76164
- grid-template-areas: 'lead props' 'body props';
76165
- gap: 24px;
76166
- align-items: start;
76172
+ .main {
76173
+ grid-area: main;
76174
+ min-width: 0;
76175
+ padding: 20px 24px 24px;
76176
+ overflow-y: auto;
76177
+ overscroll-behavior: contain;
76178
+ scrollbar-width: thin;
76167
76179
  }
76168
76180
 
76169
76181
  .lead {
76170
- grid-area: lead;
76171
76182
  min-width: 0;
76172
76183
  }
76173
76184
 
76174
76185
  .body {
76175
- grid-area: body;
76176
76186
  min-width: 0;
76187
+ margin-top: 24px;
76177
76188
  }
76178
76189
 
76179
76190
  .toolbar {
76180
- margin-bottom: 20px;
76191
+ grid-area: toolbar;
76181
76192
  flex-wrap: nowrap;
76182
76193
  min-width: 0;
76194
+ padding: var(--dees-spacing-md) 24px 14px;
76195
+ border-bottom: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
76183
76196
  }
76184
76197
 
76185
76198
  .toolbar .badge {
@@ -76319,13 +76332,35 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
76319
76332
  font-variant-numeric: tabular-nums;
76320
76333
  }
76321
76334
 
76335
+ /* The properties are the side of the surface, not a box on it; they stay while the main column scrolls. */
76322
76336
  aside {
76323
76337
  grid-area: props;
76324
76338
  min-width: 0;
76325
- padding: 14px 16px;
76326
- border-radius: var(--dees-radius-xl);
76327
- corner-shape: var(--dees-corner-shape);
76328
- background: var(--dees-color-settings-group);
76339
+ padding: 20px 24px 24px 20px;
76340
+ border-left: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
76341
+ background: var(--dees-color-modal-sidebar);
76342
+ overflow-y: auto;
76343
+ overscroll-behavior: contain;
76344
+ scrollbar-width: thin;
76345
+ }
76346
+
76347
+ /* Edit ticket shares the Status label's line without making it taller: 1lh is the label's line. */
76348
+ .field-head {
76349
+ display: flex;
76350
+ align-items: center;
76351
+ gap: 8px;
76352
+ margin-bottom: 5px;
76353
+ font-size: var(--dees-font-caption1-size);
76354
+ }
76355
+
76356
+ .fields .field-head label {
76357
+ flex: 1;
76358
+ margin-bottom: 0;
76359
+ }
76360
+
76361
+ .field-head dees-button {
76362
+ flex-shrink: 0;
76363
+ margin-block: calc((var(--dees-control-height-sm) - 1lh) / -2);
76329
76364
  }
76330
76365
 
76331
76366
  .fields {
@@ -76594,21 +76629,32 @@ __publicField(_DeesKanbanTicketDetail, "styles", [
76594
76629
  grid-area: apply;
76595
76630
  }
76596
76631
 
76632
+ /* One column the container scrolls; the properties follow the main content as a full-width section. */
76597
76633
  @media (max-width: 700px) {
76598
76634
  :host {
76635
+ display: block;
76636
+ height: auto;
76637
+ }
76638
+ .toolbar {
76639
+ gap: 6px;
76640
+ padding: var(--dees-spacing-md) 16px;
76641
+ }
76642
+ .main {
76599
76643
  padding: 16px;
76644
+ overflow: visible;
76600
76645
  }
76601
- .layout {
76602
- grid-template-columns: minmax(0, 1fr);
76603
- grid-template-areas: 'lead' 'props' 'body';
76604
- gap: 20px;
76646
+ aside {
76647
+ padding: 16px 16px 20px;
76648
+ border-left: 0;
76649
+ border-top: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
76650
+ overflow: visible;
76605
76651
  }
76606
76652
  .fields {
76607
76653
  grid-template-columns: repeat(2, minmax(0, 1fr));
76608
76654
  }
76609
- .toolbar {
76610
- gap: 6px;
76611
- margin-bottom: 16px;
76655
+ /* Edit ticket stays at the far side, clear of the next field. */
76656
+ .fields .status {
76657
+ grid-column: 1 / -1;
76612
76658
  }
76613
76659
  .child {
76614
76660
  gap: 7px;
@@ -78557,7 +78603,7 @@ __runInitializers(_init107, 1, _DeesKanbanColumn);
78557
78603
  var DeesKanbanColumn = _DeesKanbanColumn;
78558
78604
 
78559
78605
  // ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts
78560
- var _columnsCollapsed_dec, _openingTicket_dec, _pendingTicketId_dec2, _filterAnnouncement_dec, _filtersOpen_dec, _operationError_dec, _revision_dec, _filterValues_dec2, _currentPersonId_dec, _projects_dec4, _error_dec7, _loading_dec11, _provider_dec4, _people_dec2, _columns_dec7, _tickets_dec4, _heading_dec10, _a107, _DeesKanban_decorators, _init108, _heading10, _tickets4, _columns7, _people2, _provider4, _loading11, _error7, _projects4, _currentPersonId, _filterValues2, _revision, _operationError, _filtersOpen, _filterAnnouncement, _pendingTicketId2, _openingTicket, _columnsCollapsed;
78606
+ var _columnsCollapsed_dec, _openingTicket_dec, _pendingTicketId_dec2, _filterAnnouncement_dec, _filtersOpen_dec, _operationError_dec, _revision_dec, _filterValues_dec2, _currentPersonId_dec, _projectRequired_dec, _projects_dec4, _error_dec7, _loading_dec11, _provider_dec4, _people_dec2, _columns_dec7, _tickets_dec4, _heading_dec10, _a107, _DeesKanban_decorators, _init108, _heading10, _tickets4, _columns7, _people2, _provider4, _loading11, _error7, _projects4, _projectRequired, _currentPersonId, _filterValues2, _revision, _operationError, _filtersOpen, _filterAnnouncement, _pendingTicketId2, _openingTicket, _columnsCollapsed;
78561
78607
  var interactionEvents = [
78562
78608
  "kanban-ticket-open",
78563
78609
  "kanban-ticket-move",
@@ -78576,7 +78622,7 @@ var interactionEvents = [
78576
78622
  "kanban-column-toggle"
78577
78623
  ];
78578
78624
  _DeesKanban_decorators = [customElement("dees-kanban")];
78579
- var _DeesKanban = class _DeesKanban extends (_a107 = DeesElement, _heading_dec10 = [n({ type: String, reflect: true })], _tickets_dec4 = [n({ attribute: false })], _columns_dec7 = [n({ attribute: false })], _people_dec2 = [n({ attribute: false })], _provider_dec4 = [n({ attribute: false })], _loading_dec11 = [n({ type: Boolean, reflect: true })], _error_dec7 = [n({ type: String, reflect: true })], _projects_dec4 = [n({ attribute: false })], _currentPersonId_dec = [n({ type: String, reflect: true })], _filterValues_dec2 = [n({ attribute: false })], _revision_dec = [n({ attribute: false })], _operationError_dec = [r2()], _filtersOpen_dec = [r2()], _filterAnnouncement_dec = [r2()], _pendingTicketId_dec2 = [r2()], _openingTicket_dec = [r2()], _columnsCollapsed_dec = [r2()], _a107) {
78625
+ var _DeesKanban = class _DeesKanban extends (_a107 = DeesElement, _heading_dec10 = [n({ type: String, reflect: true })], _tickets_dec4 = [n({ attribute: false })], _columns_dec7 = [n({ attribute: false })], _people_dec2 = [n({ attribute: false })], _provider_dec4 = [n({ attribute: false })], _loading_dec11 = [n({ type: Boolean, reflect: true })], _error_dec7 = [n({ type: String, reflect: true })], _projects_dec4 = [n({ attribute: false })], _projectRequired_dec = [n({ type: Boolean, reflect: true })], _currentPersonId_dec = [n({ type: String, reflect: true })], _filterValues_dec2 = [n({ attribute: false })], _revision_dec = [n({ attribute: false })], _operationError_dec = [r2()], _filtersOpen_dec = [r2()], _filterAnnouncement_dec = [r2()], _pendingTicketId_dec2 = [r2()], _openingTicket_dec = [r2()], _columnsCollapsed_dec = [r2()], _a107) {
78580
78626
  constructor() {
78581
78627
  super(...arguments);
78582
78628
  __publicField(this, "t", dcLocalize(this));
@@ -78588,15 +78634,16 @@ var _DeesKanban = class _DeesKanban extends (_a107 = DeesElement, _heading_dec10
78588
78634
  __privateAdd(this, _loading11, __runInitializers(_init108, 28, this, false)), __runInitializers(_init108, 31, this);
78589
78635
  __privateAdd(this, _error7, __runInitializers(_init108, 32, this, "")), __runInitializers(_init108, 35, this);
78590
78636
  __privateAdd(this, _projects4, __runInitializers(_init108, 36, this, [])), __runInitializers(_init108, 39, this);
78591
- __privateAdd(this, _currentPersonId, __runInitializers(_init108, 40, this, "")), __runInitializers(_init108, 43, this);
78592
- __privateAdd(this, _filterValues2, __runInitializers(_init108, 44, this, {})), __runInitializers(_init108, 47, this);
78593
- __privateAdd(this, _revision, __runInitializers(_init108, 48, this)), __runInitializers(_init108, 51, this);
78594
- __privateAdd(this, _operationError, __runInitializers(_init108, 52, this, "")), __runInitializers(_init108, 55, this);
78595
- __privateAdd(this, _filtersOpen, __runInitializers(_init108, 56, this, false)), __runInitializers(_init108, 59, this);
78596
- __privateAdd(this, _filterAnnouncement, __runInitializers(_init108, 60, this, "")), __runInitializers(_init108, 63, this);
78597
- __privateAdd(this, _pendingTicketId2, __runInitializers(_init108, 64, this, "")), __runInitializers(_init108, 67, this);
78598
- __privateAdd(this, _openingTicket, __runInitializers(_init108, 68, this, false)), __runInitializers(_init108, 71, this);
78599
- __privateAdd(this, _columnsCollapsed, __runInitializers(_init108, 72, this, {})), __runInitializers(_init108, 75, this);
78637
+ __privateAdd(this, _projectRequired, __runInitializers(_init108, 40, this, false)), __runInitializers(_init108, 43, this);
78638
+ __privateAdd(this, _currentPersonId, __runInitializers(_init108, 44, this, "")), __runInitializers(_init108, 47, this);
78639
+ __privateAdd(this, _filterValues2, __runInitializers(_init108, 48, this, {})), __runInitializers(_init108, 51, this);
78640
+ __privateAdd(this, _revision, __runInitializers(_init108, 52, this)), __runInitializers(_init108, 55, this);
78641
+ __privateAdd(this, _operationError, __runInitializers(_init108, 56, this, "")), __runInitializers(_init108, 59, this);
78642
+ __privateAdd(this, _filtersOpen, __runInitializers(_init108, 60, this, false)), __runInitializers(_init108, 63, this);
78643
+ __privateAdd(this, _filterAnnouncement, __runInitializers(_init108, 64, this, "")), __runInitializers(_init108, 67, this);
78644
+ __privateAdd(this, _pendingTicketId2, __runInitializers(_init108, 68, this, "")), __runInitializers(_init108, 71, this);
78645
+ __privateAdd(this, _openingTicket, __runInitializers(_init108, 72, this, false)), __runInitializers(_init108, 75, this);
78646
+ __privateAdd(this, _columnsCollapsed, __runInitializers(_init108, 76, this, {})), __runInitializers(_init108, 79, this);
78600
78647
  __publicField(this, "modal");
78601
78648
  __publicField(this, "modalOpening");
78602
78649
  __publicField(this, "detail");
@@ -79437,7 +79484,8 @@ var _DeesKanban = class _DeesKanban extends (_a107 = DeesElement, _heading_dec10
79437
79484
  /**
79438
79485
  * Asks for a new ticket's title and, for a task or an epic while the board knows projects, its
79439
79486
  * project, then has the provider create it. The project starts at the board's project filter,
79440
- * else the parent's; a subtask takes its parent's.
79487
+ * else the parent's; a subtask takes its parent's. With `projectRequired`, the dialog creates
79488
+ * nothing until a project is chosen.
79441
79489
  */
79442
79490
  async createTicket(input) {
79443
79491
  if (!this.provider.createTicket || !this.columns.some((column) => column.id === input.columnId))
@@ -79450,16 +79498,21 @@ var _DeesKanban = class _DeesKanban extends (_a107 = DeesElement, _heading_dec10
79450
79498
  const parentProject = parentId ? this.findTicket(parentId)?.project : void 0;
79451
79499
  const project2 = (input.kind === "subtask" ? parentProject || input.project : input.project || this.filterValues.project || parentProject) || "";
79452
79500
  const projects = kanbanProjects(this.projects, this.tickets);
79501
+ const required = this.projectRequired;
79453
79502
  let choice;
79454
79503
  if (input.kind !== "subtask" && projects.length) {
79455
79504
  choice = new DeesInputDropdown();
79456
79505
  choice.label = this.t("kanban.project");
79457
79506
  choice.options = [
79458
- ...project2 ? [] : [{ key: "", option: this.t("kanban.noProject") }],
79507
+ ...project2 || required ? [] : [{ key: "", option: this.t("kanban.noProject") }],
79459
79508
  ...projects.map((item) => ({ key: item.id, option: item.name })),
79460
79509
  ...project2 && !projects.some((item) => item.id === project2) ? [{ key: project2, option: project2 }] : []
79461
79510
  ];
79462
79511
  choice.selectedOption = choice.options.find((option) => option.key === project2) ?? null;
79512
+ if (required) {
79513
+ choice.required = true;
79514
+ choice.description = this.t("kanban.projectRequired");
79515
+ }
79463
79516
  }
79464
79517
  const title = new DeesInputText();
79465
79518
  title.label = this.t("kanban.ticketTitle");
@@ -79475,6 +79528,11 @@ var _DeesKanban = class _DeesKanban extends (_a107 = DeesElement, _heading_dec10
79475
79528
  return;
79476
79529
  }
79477
79530
  const chosen = choice ? choice.getValue()?.key ?? "" : project2;
79531
+ if (choice && required && !chosen) {
79532
+ choice.focus();
79533
+ if (!choice.isOpened) await choice.toggleSelectionBox();
79534
+ return;
79535
+ }
79478
79536
  creating = true;
79479
79537
  title.disabled = true;
79480
79538
  if (choice) choice.disabled = true;
@@ -79604,6 +79662,7 @@ _provider4 = new WeakMap();
79604
79662
  _loading11 = new WeakMap();
79605
79663
  _error7 = new WeakMap();
79606
79664
  _projects4 = new WeakMap();
79665
+ _projectRequired = new WeakMap();
79607
79666
  _currentPersonId = new WeakMap();
79608
79667
  _filterValues2 = new WeakMap();
79609
79668
  _revision = new WeakMap();
@@ -79621,6 +79680,7 @@ __decorateElement(_init108, 4, "provider", _provider_dec4, _DeesKanban, _provide
79621
79680
  __decorateElement(_init108, 4, "loading", _loading_dec11, _DeesKanban, _loading11);
79622
79681
  __decorateElement(_init108, 4, "error", _error_dec7, _DeesKanban, _error7);
79623
79682
  __decorateElement(_init108, 4, "projects", _projects_dec4, _DeesKanban, _projects4);
79683
+ __decorateElement(_init108, 4, "projectRequired", _projectRequired_dec, _DeesKanban, _projectRequired);
79624
79684
  __decorateElement(_init108, 4, "currentPersonId", _currentPersonId_dec, _DeesKanban, _currentPersonId);
79625
79685
  __decorateElement(_init108, 4, "filterValues", _filterValues_dec2, _DeesKanban, _filterValues2);
79626
79686
  __decorateElement(_init108, 4, "revision", _revision_dec, _DeesKanban, _revision);
@@ -115784,7 +115844,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a138 = DeesElement,
115784
115844
  this.terminalOpen = true;
115785
115845
  const request = ++this.terminalRequest;
115786
115846
  try {
115787
- const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-FZU6LDKJ.js");
115847
+ const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-UYSWDBV4.js");
115788
115848
  await this.updateComplete;
115789
115849
  if (!this.isConnected || request !== this.terminalRequest) return;
115790
115850
  const terminal = new DeesWorkspaceTerminal3();
@@ -122789,7 +122849,7 @@ var bright = {
122789
122849
  // ts_web/00_commitinfo_data.ts
122790
122850
  var commitinfo = {
122791
122851
  name: "@design.estate/dees-catalog",
122792
- version: "21.34.0",
122852
+ version: "21.35.0",
122793
122853
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
122794
122854
  };
122795
122855
  export {