@design.estate/dees-catalog 22.2.0 → 22.3.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 (45) hide show
  1. package/dist_bundle/bundle.js +325 -30
  2. package/dist_bundle/bundle.js.map +1 -1
  3. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-IASP6M5U.js → chunk-IGD4DLG4.js} +3 -3
  4. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-ZPJBKBPH.js → chunk-MK42UYWT.js} +4 -2
  5. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-ZPJBKBPH.js.map → chunk-MK42UYWT.js.map} +1 -1
  6. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-B6IKM3SA.js → chunk-RITCTBBY.js} +2 -2
  7. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-3ZAD2XFI.js → de-TN6FRTSU.js} +4 -2
  8. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-TN6FRTSU.js.map +1 -0
  9. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-CPEH77LV.js → dees-modal-PLLCPO5V.js} +3 -3
  10. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-65M4HBRK.js → dees-workspace-terminal-7N6EXGH6.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 +12 -0
  13. package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.demo.js +24 -2
  14. package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.js +54 -7
  15. package/dist_ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.d.ts +13 -1
  16. package/dist_ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.js +80 -12
  17. package/dist_ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.d.ts +10 -0
  18. package/dist_ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.js +72 -4
  19. package/dist_ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.d.ts +12 -0
  20. package/dist_ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.js +73 -3
  21. package/dist_ts_web/elements/00group-kanban/kanban.firstload.d.ts +23 -0
  22. package/dist_ts_web/elements/00group-kanban/kanban.firstload.js +51 -0
  23. package/dist_ts_web/elements/00group-kanban/kanban.styles.d.ts +8 -0
  24. package/dist_ts_web/elements/00group-kanban/kanban.styles.js +47 -1
  25. package/dist_ts_web/i18n/de.d.ts +8 -0
  26. package/dist_ts_web/i18n/de.js +3 -1
  27. package/dist_ts_web/i18n/messages.d.ts +8 -0
  28. package/dist_ts_web/i18n/messages.js +3 -1
  29. package/package.json +1 -1
  30. package/readme.md +34 -3
  31. package/ts_web/00_commitinfo_data.ts +1 -1
  32. package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.demo.ts +23 -1
  33. package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts +60 -6
  34. package/ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.ts +88 -11
  35. package/ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.ts +60 -2
  36. package/ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.ts +61 -1
  37. package/ts_web/elements/00group-kanban/kanban.firstload.ts +54 -0
  38. package/ts_web/elements/00group-kanban/kanban.styles.ts +47 -0
  39. package/ts_web/i18n/de.ts +2 -0
  40. package/ts_web/i18n/messages.ts +2 -0
  41. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-3ZAD2XFI.js.map +0 -1
  42. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-IASP6M5U.js.map → chunk-IGD4DLG4.js.map} +0 -0
  43. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-B6IKM3SA.js.map → chunk-RITCTBBY.js.map} +0 -0
  44. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-CPEH77LV.js.map → dees-modal-PLLCPO5V.js.map} +0 -0
  45. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-65M4HBRK.js.map → dees-workspace-terminal-7N6EXGH6.js.map} +0 -0
@@ -25,7 +25,7 @@ import {
25
25
  ownAppuiLabels,
26
26
  resolveAppuiLabels,
27
27
  xtermStyles
28
- } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-IASP6M5U.js";
28
+ } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-IGD4DLG4.js";
29
29
  import {
30
30
  ActionRunController,
31
31
  BarInfoController,
@@ -128,7 +128,7 @@ import {
128
128
  workspaceVisibility,
129
129
  zIndexLayers,
130
130
  zIndexRegistry
131
- } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-B6IKM3SA.js";
131
+ } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-RITCTBBY.js";
132
132
  import {
133
133
  dcMessages,
134
134
  dcSourceI18n,
@@ -138,7 +138,7 @@ import {
138
138
  firstDayOfWeek,
139
139
  iso_exports,
140
140
  momentFormat
141
- } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-ZPJBKBPH.js";
141
+ } from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-MK42UYWT.js";
142
142
  import {
143
143
  __decorateElement,
144
144
  __decoratorMetadata,
@@ -73783,7 +73783,7 @@ var _DeesHarnessConversationPicker = class _DeesHarnessConversationPicker extend
73783
73783
  * cancelled. Focus returns to whatever had it when the picker opened.
73784
73784
  */
73785
73785
  static async pick(optionsArg = {}) {
73786
- const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-CPEH77LV.js");
73786
+ const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-PLLCPO5V.js");
73787
73787
  const picker = new _DeesHarnessConversationPicker();
73788
73788
  picker.sessions = optionsArg.sessions ?? [];
73789
73789
  picker.groups = optionsArg.groups ?? [];
@@ -74252,7 +74252,7 @@ var handleResourceContext = /* @__PURE__ */ __name(async (event) => {
74252
74252
  list.selectedResourceId = event.detail.resource.id;
74253
74253
  }, "handleResourceContext");
74254
74254
  var openModal = /* @__PURE__ */ __name(async (sessions, groups) => {
74255
- const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-CPEH77LV.js");
74255
+ const { DeesModal: DeesModal2 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-modal-PLLCPO5V.js");
74256
74256
  const content = document.createElement("dees-harness-resource-list");
74257
74257
  content.sessions = sessions;
74258
74258
  content.groups = groups;
@@ -78921,6 +78921,45 @@ var kanbanFeedStyles = i`
78921
78921
  color: var(--dees-color-text-secondary);
78922
78922
  }
78923
78923
  `;
78924
+ var kanbanSkeletonStyles = i`
78925
+ .skeleton {
78926
+ animation: dees-kanban-skeleton-reveal 1ms linear 200ms both;
78927
+ }
78928
+
78929
+ @keyframes dees-kanban-skeleton-reveal {
78930
+ from { visibility: hidden; }
78931
+ to { visibility: visible; }
78932
+ }
78933
+
78934
+ .skeletonFill {
78935
+ background: var(--dees-color-fill-secondary);
78936
+ animation: dees-kanban-skeleton var(--dees-loading-pulse-duration) var(--dees-ease-standard) infinite;
78937
+ }
78938
+
78939
+ .skeletonBar {
78940
+ display: inline-block;
78941
+ vertical-align: middle;
78942
+ max-width: 100%;
78943
+ height: 1cap;
78944
+ border-radius: var(--dees-radius-full);
78945
+ }
78946
+
78947
+ .skeleton.stalled .skeletonFill,
78948
+ .skeleton.stalled.skeletonFill {
78949
+ animation: none;
78950
+ }
78951
+
78952
+ @keyframes dees-kanban-skeleton {
78953
+ 0%, 100% { opacity: 1; }
78954
+ 50% { opacity: var(--dees-loading-pulse-opacity); }
78955
+ }
78956
+
78957
+ @media (prefers-reduced-motion: reduce) {
78958
+ .skeletonFill {
78959
+ animation: none;
78960
+ }
78961
+ }
78962
+ `;
78924
78963
 
78925
78964
  // ts_web/elements/00group-kanban/dees-kanban-discussion/dees-kanban-discussion.ts
78926
78965
  var _answering_dec, _showHeader_dec2, _error_dec4, _readOnly_dec3, _loading_dec10, _answerQuestion_dec, _askQuestion_dec, _addComment_dec, _view_dec2, _currentPerson_dec, _searchTickets_dec, _draft_dec3, _comments_dec, _ticketId_dec, _a105, _DeesKanbanDiscussion_decorators, _init107, _ticketId, _comments, _draft3, _searchTickets, _currentPerson, _view2, _addComment, _askQuestion, _answerQuestion, _loading10, _readOnly3, _error4, _showHeader2, _answering;
@@ -79189,8 +79228,54 @@ __publicField(_DeesKanbanDiscussion, "styles", [...kanbanStyles, kanbanFeedStyle
79189
79228
  __runInitializers(_init107, 1, _DeesKanbanDiscussion);
79190
79229
  var DeesKanbanDiscussion = _DeesKanbanDiscussion;
79191
79230
 
79231
+ // ts_web/elements/00group-kanban/kanban.firstload.ts
79232
+ var KanbanFirstLoadController = class {
79233
+ constructor(host, isFirstLoad, stillLoadingAfter) {
79234
+ this.host = host;
79235
+ this.isFirstLoad = isFirstLoad;
79236
+ this.stillLoadingAfter = stillLoadingAfter;
79237
+ host.addController(this);
79238
+ }
79239
+ host;
79240
+ isFirstLoad;
79241
+ stillLoadingAfter;
79242
+ static {
79243
+ __name(this, "KanbanFirstLoadController");
79244
+ }
79245
+ timer;
79246
+ stalled = false;
79247
+ /** The first load has run past `stillLoadingAfter()`. */
79248
+ get stillLoading() {
79249
+ return this.stalled;
79250
+ }
79251
+ hostConnected() {
79252
+ if (this.isFirstLoad()) this.host.requestUpdate();
79253
+ }
79254
+ hostUpdate() {
79255
+ if (!this.host.isConnected || !this.isFirstLoad()) {
79256
+ this.clear();
79257
+ return;
79258
+ }
79259
+ if (this.stalled || this.timer) return;
79260
+ this.timer = setTimeout(() => {
79261
+ this.timer = void 0;
79262
+ this.stalled = true;
79263
+ this.host.requestUpdate();
79264
+ }, this.stillLoadingAfter());
79265
+ }
79266
+ hostDisconnected() {
79267
+ this.clear();
79268
+ }
79269
+ clear() {
79270
+ if (this.timer) clearTimeout(this.timer);
79271
+ this.timer = void 0;
79272
+ this.stalled = false;
79273
+ }
79274
+ };
79275
+
79192
79276
  // ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.ts
79193
79277
  var _showHeader_dec3, _error_dec5, _loading_dec11, _projects_dec, _tickets_dec, _columns_dec3, _activity_dec, _ticketId_dec2, _a106, _DeesKanbanActivity_decorators, _init108, _ticketId2, _activity, _columns3, _tickets, _projects, _loading11, _error5, _showHeader3;
79278
+ var placeholderEntries = 3;
79194
79279
  var noValue = "\u2014";
79195
79280
  var valueLength = 120;
79196
79281
  var actionIcons = {
@@ -79208,6 +79293,11 @@ var _DeesKanbanActivity = class _DeesKanbanActivity extends (_a106 = DeesElement
79208
79293
  constructor() {
79209
79294
  super(...arguments);
79210
79295
  __publicField(this, "t", dcLocalize(this));
79296
+ __publicField(this, "firstLoad", new KanbanFirstLoadController(
79297
+ this,
79298
+ () => this.isFirstLoad(),
79299
+ () => _DeesKanbanActivity.stillLoadingAfter
79300
+ ));
79211
79301
  __privateAdd(this, _ticketId2, __runInitializers(_init108, 8, this, "")), __runInitializers(_init108, 11, this);
79212
79302
  __privateAdd(this, _activity, __runInitializers(_init108, 12, this, [])), __runInitializers(_init108, 15, this);
79213
79303
  __privateAdd(this, _columns3, __runInitializers(_init108, 16, this, [])), __runInitializers(_init108, 19, this);
@@ -79218,10 +79308,13 @@ var _DeesKanbanActivity = class _DeesKanbanActivity extends (_a106 = DeesElement
79218
79308
  __privateAdd(this, _showHeader3, __runInitializers(_init108, 36, this, true)), __runInitializers(_init108, 39, this);
79219
79309
  }
79220
79310
  render() {
79221
- const entries = this.activity.filter((entry) => entry.ticketId === this.ticketId).slice().sort((a, b2) => Date.parse(a.createdAt) - Date.parse(b2.createdAt));
79311
+ const entries = this.entries();
79312
+ const firstLoad = this.isFirstLoad();
79313
+ const stillLoading = this.firstLoad.stillLoading;
79314
+ const skeleton = `skeleton ${stillLoading ? "stalled" : ""}`;
79222
79315
  return b`${this.showHeader ? b`<header>
79223
79316
  <h3>${this.t("kanban.history")}</h3>
79224
- <span class="count">${entries.length}</span>
79317
+ ${firstLoad ? b`<span class=${skeleton} aria-hidden="true"><span class="count skeletonFill"></span></span>` : b`<span class="count">${entries.length}</span>`}
79225
79318
  <span class="spacer"></span>
79226
79319
  <dees-button
79227
79320
  class="refresh"
@@ -79233,11 +79326,31 @@ var _DeesKanbanActivity = class _DeesKanbanActivity extends (_a106 = DeesElement
79233
79326
  @clicked=${() => kanbanEvent(this, "kanban-activity-refresh", { ticketId: this.ticketId })}
79234
79327
  ></dees-button>
79235
79328
  </header>` : ""}
79236
- ${this.loading ? b`<p class="caption" role="status">${this.t("kanban.loadingHistory")}</p>` : ""}
79329
+ <p class="loadingStatus" role="status">${firstLoad ? this.t(stillLoading ? "kanban.stillLoadingHistory" : "kanban.loadingHistory") : ""}</p>
79330
+ ${firstLoad && stillLoading ? b`<p class="caption" aria-hidden="true">${this.t("kanban.stillLoadingHistory")}</p>` : !firstLoad && this.loading ? b`<p class="caption" role="status">${this.t("kanban.loadingHistory")}</p>` : ""}
79237
79331
  ${this.error ? b`<p class="error" role="alert">${this.error}</p>` : ""}
79238
- <ol aria-label=${this.t("kanban.history")}>${entries.map((entry) => this.renderEntry(entry))}</ol>
79332
+ <ol aria-label=${this.t("kanban.history")} aria-busy=${this.loading ? "true" : "false"}>${firstLoad ? Array.from({ length: placeholderEntries }, () => this.renderPlaceholderEntry(skeleton)) : entries.map((entry) => this.renderEntry(entry))}</ol>
79239
79333
  ${!entries.length && !this.loading && !this.error ? b`<p class="empty">${this.t("kanban.noHistory")}</p>` : ""}`;
79240
79334
  }
79335
+ /** The history's first load runs: loading, with no entries of the ticket yet and nothing failed. */
79336
+ isFirstLoad() {
79337
+ return this.loading && !this.error && this.entries().length === 0;
79338
+ }
79339
+ entries() {
79340
+ return this.activity.filter((entry) => entry.ticketId === this.ticketId).slice().sort((a, b2) => Date.parse(a.createdAt) - Date.parse(b2.createdAt));
79341
+ }
79342
+ /** A placeholder entry, on an entry's own glyph and meta row. */
79343
+ renderPlaceholderEntry(skeleton) {
79344
+ return b`<li class=${skeleton} aria-hidden="true">
79345
+ <span class="glyph skeletonFill"></span><div>
79346
+ <div class="row meta">
79347
+ <span><span class="author skeletonFill skeletonBar placeholderAuthor"></span> <span
79348
+ class="what skeletonFill skeletonBar placeholderWhat"
79349
+ ></span></span>
79350
+ <time class="skeletonFill skeletonBar placeholderTime"></time>
79351
+ </div>
79352
+ </div></li>`;
79353
+ }
79241
79354
  renderEntry(entry) {
79242
79355
  const lines = this.changeLines(entry);
79243
79356
  return b`<li>
@@ -79374,9 +79487,12 @@ __decorateElement(_init108, 4, "error", _error_dec5, _DeesKanbanActivity, _error
79374
79487
  __decorateElement(_init108, 4, "showHeader", _showHeader_dec3, _DeesKanbanActivity, _showHeader3);
79375
79488
  _DeesKanbanActivity = __decorateElement(_init108, 0, "DeesKanbanActivity", _DeesKanbanActivity_decorators, _DeesKanbanActivity);
79376
79489
  __name(_DeesKanbanActivity, "DeesKanbanActivity");
79490
+ /** How long a first load runs, in milliseconds, before the history says it is still loading. */
79491
+ __publicField(_DeesKanbanActivity, "stillLoadingAfter", 1e4);
79377
79492
  __publicField(_DeesKanbanActivity, "styles", [
79378
79493
  ...kanbanStyles,
79379
79494
  kanbanFeedStyles,
79495
+ kanbanSkeletonStyles,
79380
79496
  i`
79381
79497
  li {
79382
79498
  grid-template-columns: 24px minmax(0, 1fr);
@@ -79435,6 +79551,31 @@ __publicField(_DeesKanbanActivity, "styles", [
79435
79551
  min-width: 0;
79436
79552
  overflow-wrap: anywhere;
79437
79553
  }
79554
+
79555
+ .loadingStatus {
79556
+ ${visuallyHidden}
79557
+ }
79558
+
79559
+ /* A placeholder entry's lines, of differing lengths from entry to entry. */
79560
+ .placeholderAuthor {
79561
+ width: 10ch;
79562
+ }
79563
+
79564
+ .placeholderWhat {
79565
+ width: 18ch;
79566
+ }
79567
+
79568
+ li:nth-child(3n + 2) .placeholderWhat {
79569
+ width: 12ch;
79570
+ }
79571
+
79572
+ li:nth-child(3n) .placeholderWhat {
79573
+ width: 22ch;
79574
+ }
79575
+
79576
+ .placeholderTime {
79577
+ width: 12ch;
79578
+ }
79438
79579
  `
79439
79580
  ]);
79440
79581
  __runInitializers(_init108, 1, _DeesKanbanActivity);
@@ -81469,12 +81610,32 @@ var demoFunc73 = /* @__PURE__ */ __name(() => {
81469
81610
  demo11.actAs(mara3);
81470
81611
  await board.refresh();
81471
81612
  }, "rename");
81613
+ const startFirstLoad = /* @__PURE__ */ __name((event) => {
81614
+ const board = boardOf(event);
81615
+ board.tickets = [];
81616
+ board.loading = true;
81617
+ }, "startFirstLoad");
81618
+ const finishLoading = /* @__PURE__ */ __name(async (event) => {
81619
+ const board = boardOf(event);
81620
+ await board.refresh();
81621
+ board.loading = false;
81622
+ }, "finishLoading");
81623
+ const refreshWithTickets = /* @__PURE__ */ __name(async (event) => {
81624
+ const board = boardOf(event);
81625
+ board.loading = true;
81626
+ await new Promise((resolve) => setTimeout(resolve, 1500));
81627
+ await board.refresh();
81628
+ board.loading = false;
81629
+ }, "refreshWithTickets");
81472
81630
  const questionSaved = /* @__PURE__ */ __name((event) => void event.currentTarget.refresh(), "questionSaved");
81473
81631
  return demoApp(b`<div style="display: flex; flex-direction: column; height: 100%">
81474
81632
  <div class="dees-demo-row" style="flex: none; padding: 0 24px 4px">
81475
- <p class="dees-demo-caption">Signed in as Mara Chen. Jonas and Alex work on the same board; Alex waits for Mara's answer on CAT-103. To see a refused stale edit, start editing CAT-102, close it, let Jonas rename it and save.</p>
81633
+ <p class="dees-demo-caption">Signed in as Mara Chen. Jonas and Alex work on the same board; Alex waits for Mara's answer on CAT-103. To see a refused stale edit, start editing CAT-102, close it, let Jonas rename it and save. A first load shows placeholders until it finishes, and says it is still loading after ten seconds.</p>
81476
81634
  <dees-button type="outline" size="sm" text="Simulate a teammate's change" @clicked=${simulate2}></dees-button>
81477
81635
  <dees-button type="outline" size="sm" text="Jonas renames CAT-102" @clicked=${rename}></dees-button>
81636
+ <dees-button type="outline" size="sm" text="Start a first load" @clicked=${startFirstLoad}></dees-button>
81637
+ <dees-button type="outline" size="sm" text="Finish loading" @clicked=${finishLoading}></dees-button>
81638
+ <dees-button type="outline" size="sm" text="Refresh with tickets" @clicked=${refreshWithTickets}></dees-button>
81478
81639
  </div>
81479
81640
  <dees-kanban
81480
81641
  heading="Product workspace"
@@ -81492,9 +81653,9 @@ var demoFunc73 = /* @__PURE__ */ __name(() => {
81492
81653
  }, "demoFunc");
81493
81654
 
81494
81655
  // ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.ts
81495
- var _pointerManaged_dec, _saving_dec3, _pending_dec2, _moveDisabled_dec, _movable_dec, _autoLabelDefinitions_dec2, _columns_dec5, _projectName_dec, _subtasks_dec, _epic_dec, _ticket_dec2, _a108, _DeesKanbanCard_decorators, _init110, _ticket2, _epic, _subtasks, _projectName, _columns5, _autoLabelDefinitions2, _movable, _moveDisabled, _pending2, _saving3, _pointerManaged;
81656
+ var _stalled_dec, _placeholder_dec10, _pointerManaged_dec, _saving_dec3, _pending_dec2, _moveDisabled_dec, _movable_dec, _autoLabelDefinitions_dec2, _columns_dec5, _projectName_dec, _subtasks_dec, _epic_dec, _ticket_dec2, _a108, _DeesKanbanCard_decorators, _init110, _ticket2, _epic, _subtasks, _projectName, _columns5, _autoLabelDefinitions2, _movable, _moveDisabled, _pending2, _saving3, _pointerManaged, _placeholder10, _stalled;
81496
81657
  _DeesKanbanCard_decorators = [customElement("dees-kanban-card")];
81497
- var _DeesKanbanCard = class _DeesKanbanCard extends (_a108 = DeesElement, _ticket_dec2 = [n({ attribute: false })], _epic_dec = [n({ attribute: false })], _subtasks_dec = [n({ attribute: false })], _projectName_dec = [n({ type: String, reflect: true })], _columns_dec5 = [n({ attribute: false })], _autoLabelDefinitions_dec2 = [n({ attribute: false })], _movable_dec = [n({ type: Boolean, reflect: true })], _moveDisabled_dec = [n({ type: Boolean, reflect: true })], _pending_dec2 = [n({ type: Boolean, reflect: true })], _saving_dec3 = [n({ type: Boolean, reflect: true })], _pointerManaged_dec = [n({ attribute: false })], _a108) {
81658
+ var _DeesKanbanCard = class _DeesKanbanCard extends (_a108 = DeesElement, _ticket_dec2 = [n({ attribute: false })], _epic_dec = [n({ attribute: false })], _subtasks_dec = [n({ attribute: false })], _projectName_dec = [n({ type: String, reflect: true })], _columns_dec5 = [n({ attribute: false })], _autoLabelDefinitions_dec2 = [n({ attribute: false })], _movable_dec = [n({ type: Boolean, reflect: true })], _moveDisabled_dec = [n({ type: Boolean, reflect: true })], _pending_dec2 = [n({ type: Boolean, reflect: true })], _saving_dec3 = [n({ type: Boolean, reflect: true })], _pointerManaged_dec = [n({ attribute: false })], _placeholder_dec10 = [n({ type: Boolean, reflect: true })], _stalled_dec = [n({ type: Boolean, reflect: true })], _a108) {
81498
81659
  constructor() {
81499
81660
  super(...arguments);
81500
81661
  __privateAdd(this, _ticket2, __runInitializers(_init110, 8, this)), __runInitializers(_init110, 11, this);
@@ -81508,12 +81669,15 @@ var _DeesKanbanCard = class _DeesKanbanCard extends (_a108 = DeesElement, _ticke
81508
81669
  __privateAdd(this, _pending2, __runInitializers(_init110, 40, this, false)), __runInitializers(_init110, 43, this);
81509
81670
  __privateAdd(this, _saving3, __runInitializers(_init110, 44, this, false)), __runInitializers(_init110, 47, this);
81510
81671
  __privateAdd(this, _pointerManaged, __runInitializers(_init110, 48, this, false)), __runInitializers(_init110, 51, this);
81672
+ __privateAdd(this, _placeholder10, __runInitializers(_init110, 52, this, false)), __runInitializers(_init110, 55, this);
81673
+ __privateAdd(this, _stalled, __runInitializers(_init110, 56, this, false)), __runInitializers(_init110, 59, this);
81511
81674
  __publicField(this, "t", dcLocalize(this));
81512
81675
  }
81513
81676
  open(ticketId) {
81514
81677
  kanbanEvent(this, "kanban-ticket-open", { ticketId });
81515
81678
  }
81516
81679
  render() {
81680
+ if (this.placeholder) return this.renderPlaceholder();
81517
81681
  const ticket2 = this.ticket;
81518
81682
  if (!ticket2) return b``;
81519
81683
  const completed = this.subtasks.filter(
@@ -81597,6 +81761,20 @@ var _DeesKanbanCard = class _DeesKanbanCard extends (_a108 = DeesElement, _ticke
81597
81761
  )}</details>` : ""}
81598
81762
  </article>`;
81599
81763
  }
81764
+ /** The placeholder card: each line on the card's own boxes, so the card that replaces it takes its place. */
81765
+ renderPlaceholder() {
81766
+ return b`<article class="skeleton ${this.stalled ? "stalled" : ""}" aria-hidden="true">
81767
+ <div class="meta"><span class="skeletonFill skeletonBar placeholderKey"></span></div>
81768
+ <div class="title"><span class="skeletonFill skeletonBar placeholderTitle"></span></div>
81769
+ <div class="row footer">
81770
+ <span class="badge skeletonFill placeholderLabel">\u200b</span>
81771
+ <span class="assignee">
81772
+ <span class="avatar skeletonFill"></span>
81773
+ <span class="skeletonFill skeletonBar placeholderName"></span>
81774
+ </span>
81775
+ </div>
81776
+ </article>`;
81777
+ }
81600
81778
  };
81601
81779
  _init110 = __decoratorStart(_a108);
81602
81780
  _ticket2 = new WeakMap();
@@ -81610,6 +81788,8 @@ _moveDisabled = new WeakMap();
81610
81788
  _pending2 = new WeakMap();
81611
81789
  _saving3 = new WeakMap();
81612
81790
  _pointerManaged = new WeakMap();
81791
+ _placeholder10 = new WeakMap();
81792
+ _stalled = new WeakMap();
81613
81793
  __decorateElement(_init110, 4, "ticket", _ticket_dec2, _DeesKanbanCard, _ticket2);
81614
81794
  __decorateElement(_init110, 4, "epic", _epic_dec, _DeesKanbanCard, _epic);
81615
81795
  __decorateElement(_init110, 4, "subtasks", _subtasks_dec, _DeesKanbanCard, _subtasks);
@@ -81621,10 +81801,13 @@ __decorateElement(_init110, 4, "moveDisabled", _moveDisabled_dec, _DeesKanbanCar
81621
81801
  __decorateElement(_init110, 4, "pending", _pending_dec2, _DeesKanbanCard, _pending2);
81622
81802
  __decorateElement(_init110, 4, "saving", _saving_dec3, _DeesKanbanCard, _saving3);
81623
81803
  __decorateElement(_init110, 4, "pointerManaged", _pointerManaged_dec, _DeesKanbanCard, _pointerManaged);
81804
+ __decorateElement(_init110, 4, "placeholder", _placeholder_dec10, _DeesKanbanCard, _placeholder10);
81805
+ __decorateElement(_init110, 4, "stalled", _stalled_dec, _DeesKanbanCard, _stalled);
81624
81806
  _DeesKanbanCard = __decorateElement(_init110, 0, "DeesKanbanCard", _DeesKanbanCard_decorators, _DeesKanbanCard);
81625
81807
  __name(_DeesKanbanCard, "DeesKanbanCard");
81626
81808
  __publicField(_DeesKanbanCard, "styles", [
81627
81809
  ...kanbanStyles,
81810
+ kanbanSkeletonStyles,
81628
81811
  i`
81629
81812
  article {
81630
81813
  padding: 12px;
@@ -81635,7 +81818,7 @@ __publicField(_DeesKanbanCard, "styles", [
81635
81818
  box-shadow: var(--dees-shadow-xs);
81636
81819
  }
81637
81820
 
81638
- article:hover {
81821
+ article:not(.skeleton):hover {
81639
81822
  border-color: var(--dees-color-border-strong);
81640
81823
  }
81641
81824
 
@@ -81829,6 +82012,35 @@ __publicField(_DeesKanbanCard, "styles", [
81829
82012
  color: var(--dees-color-link);
81830
82013
  }
81831
82014
 
82015
+ /* A placeholder's lines, of differing lengths from card to card, as real titles are. */
82016
+ .skeleton .title {
82017
+ cursor: default;
82018
+ }
82019
+
82020
+ .placeholderKey {
82021
+ width: 7ch;
82022
+ }
82023
+
82024
+ .placeholderTitle {
82025
+ width: 82%;
82026
+ }
82027
+
82028
+ :host(:nth-child(3n + 2)) .placeholderTitle {
82029
+ width: 58%;
82030
+ }
82031
+
82032
+ :host(:nth-child(3n)) .placeholderTitle {
82033
+ width: 70%;
82034
+ }
82035
+
82036
+ .placeholderLabel {
82037
+ width: 9ch;
82038
+ }
82039
+
82040
+ .placeholderName {
82041
+ width: 8ch;
82042
+ }
82043
+
81832
82044
  @media (pointer: coarse) {
81833
82045
  .move::part(button) {
81834
82046
  width: 32px;
@@ -82499,10 +82711,10 @@ var KanbanDragController = class {
82499
82711
  };
82500
82712
 
82501
82713
  // ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.ts
82502
- var _motion_dec, _nativeOver_dec, _nativeDropBefore_dec, _pointerManaged_dec2, _draggingTicketId_dec, _pendingTicketId_dec, _collapsed_dec3, _canCreate_dec, _movesDisabled_dec, _movable_dec2, _showProjects_dec, _autoLabelDefinitions_dec3, _projects_dec3, _columns_dec6, _allTickets_dec, _tickets_dec3, _column_dec, _a109, _DeesKanbanColumn_decorators, _init111, _column, _tickets3, _allTickets, _columns6, _projects3, _autoLabelDefinitions3, _showProjects, _movable2, _movesDisabled, _canCreate, _collapsed3, _pendingTicketId, _draggingTicketId, _pointerManaged2, _nativeDropBefore, _nativeOver, _motion;
82714
+ var _motion_dec, _nativeOver_dec, _nativeDropBefore_dec, _placeholderStalled_dec, _placeholderCards_dec, _pointerManaged_dec2, _draggingTicketId_dec, _pendingTicketId_dec, _collapsed_dec3, _canCreate_dec, _movesDisabled_dec, _movable_dec2, _showProjects_dec, _autoLabelDefinitions_dec3, _projects_dec3, _columns_dec6, _allTickets_dec, _tickets_dec3, _column_dec, _a109, _DeesKanbanColumn_decorators, _init111, _column, _tickets3, _allTickets, _columns6, _projects3, _autoLabelDefinitions3, _showProjects, _movable2, _movesDisabled, _canCreate, _collapsed3, _pendingTicketId, _draggingTicketId, _pointerManaged2, _placeholderCards, _placeholderStalled, _nativeDropBefore, _nativeOver, _motion;
82503
82715
  var collapsedCards = 3;
82504
82716
  _DeesKanbanColumn_decorators = [customElement("dees-kanban-column")];
82505
- var _DeesKanbanColumn = class _DeesKanbanColumn extends (_a109 = DeesElement, _column_dec = [n({ attribute: false })], _tickets_dec3 = [n({ attribute: false })], _allTickets_dec = [n({ attribute: false })], _columns_dec6 = [n({ attribute: false })], _projects_dec3 = [n({ attribute: false })], _autoLabelDefinitions_dec3 = [n({ attribute: false })], _showProjects_dec = [n({ type: Boolean, reflect: true })], _movable_dec2 = [n({ type: Boolean, reflect: true })], _movesDisabled_dec = [n({ type: Boolean, reflect: true })], _canCreate_dec = [n({ type: Boolean, reflect: true })], _collapsed_dec3 = [n({ type: Boolean, reflect: true })], _pendingTicketId_dec = [n({ type: String, reflect: true })], _draggingTicketId_dec = [n({ type: String, reflect: true })], _pointerManaged_dec2 = [n({ attribute: false })], _nativeDropBefore_dec = [r2()], _nativeOver_dec = [r2()], _motion_dec = [n({ attribute: false })], _a109) {
82717
+ var _DeesKanbanColumn = class _DeesKanbanColumn extends (_a109 = DeesElement, _column_dec = [n({ attribute: false })], _tickets_dec3 = [n({ attribute: false })], _allTickets_dec = [n({ attribute: false })], _columns_dec6 = [n({ attribute: false })], _projects_dec3 = [n({ attribute: false })], _autoLabelDefinitions_dec3 = [n({ attribute: false })], _showProjects_dec = [n({ type: Boolean, reflect: true })], _movable_dec2 = [n({ type: Boolean, reflect: true })], _movesDisabled_dec = [n({ type: Boolean, reflect: true })], _canCreate_dec = [n({ type: Boolean, reflect: true })], _collapsed_dec3 = [n({ type: Boolean, reflect: true })], _pendingTicketId_dec = [n({ type: String, reflect: true })], _draggingTicketId_dec = [n({ type: String, reflect: true })], _pointerManaged_dec2 = [n({ attribute: false })], _placeholderCards_dec = [n({ type: Number, reflect: true })], _placeholderStalled_dec = [n({ type: Boolean, reflect: true })], _nativeDropBefore_dec = [r2()], _nativeOver_dec = [r2()], _motion_dec = [n({ attribute: false })], _a109) {
82506
82718
  constructor() {
82507
82719
  super(...arguments);
82508
82720
  __publicField(this, "t", dcLocalize(this));
@@ -82520,9 +82732,11 @@ var _DeesKanbanColumn = class _DeesKanbanColumn extends (_a109 = DeesElement, _c
82520
82732
  __privateAdd(this, _pendingTicketId, __runInitializers(_init111, 52, this, "")), __runInitializers(_init111, 55, this);
82521
82733
  __privateAdd(this, _draggingTicketId, __runInitializers(_init111, 56, this, "")), __runInitializers(_init111, 59, this);
82522
82734
  __privateAdd(this, _pointerManaged2, __runInitializers(_init111, 60, this, false)), __runInitializers(_init111, 63, this);
82523
- __privateAdd(this, _nativeDropBefore, __runInitializers(_init111, 64, this)), __runInitializers(_init111, 67, this);
82524
- __privateAdd(this, _nativeOver, __runInitializers(_init111, 68, this, false)), __runInitializers(_init111, 71, this);
82525
- __privateAdd(this, _motion, __runInitializers(_init111, 72, this)), __runInitializers(_init111, 75, this);
82735
+ __privateAdd(this, _placeholderCards, __runInitializers(_init111, 64, this, 0)), __runInitializers(_init111, 67, this);
82736
+ __privateAdd(this, _placeholderStalled, __runInitializers(_init111, 68, this, false)), __runInitializers(_init111, 71, this);
82737
+ __privateAdd(this, _nativeDropBefore, __runInitializers(_init111, 72, this)), __runInitializers(_init111, 75, this);
82738
+ __privateAdd(this, _nativeOver, __runInitializers(_init111, 76, this, false)), __runInitializers(_init111, 79, this);
82739
+ __privateAdd(this, _motion, __runInitializers(_init111, 80, this)), __runInitializers(_init111, 83, this);
82526
82740
  /** "Show all" unfolded the column and went away with it: focus moves to the header's toggle. */
82527
82741
  __publicField(this, "focusToggle", false);
82528
82742
  __publicField(this, "scrollEdges", new ScrollEdgeShadowController(this, () => this.cardScroller));
@@ -82545,6 +82759,7 @@ var _DeesKanbanColumn = class _DeesKanbanColumn extends (_a109 = DeesElement, _c
82545
82759
  }
82546
82760
  }
82547
82761
  render() {
82762
+ if (this.placeholderCards > 0) return this.renderPlaceholder();
82548
82763
  if (!this.column) return b``;
82549
82764
  const motion = this.motion;
82550
82765
  const ordered = sortKanbanTickets(this.tickets).filter(
@@ -82673,6 +82888,31 @@ var _DeesKanbanColumn = class _DeesKanbanColumn extends (_a109 = DeesElement, _c
82673
82888
  </div>
82674
82889
  </section>`;
82675
82890
  }
82891
+ /**
82892
+ * The column while the board's first load runs: its own header, or a placeholder one, over
82893
+ * placeholder cards in the stack the cards will fill. Nothing in it takes a drop.
82894
+ */
82895
+ renderPlaceholder() {
82896
+ const skeleton = `skeleton ${this.placeholderStalled ? "stalled" : ""}`;
82897
+ const cards = Array.from({ length: this.placeholderCards }, () => b`<dees-kanban-card
82898
+ placeholder
82899
+ .stalled=${this.placeholderStalled}
82900
+ ></dees-kanban-card>`);
82901
+ const content = b`<header>
82902
+ ${this.column ? b`<span class="status ${this.column.done ? "done" : ""}" aria-hidden="true"></span>
82903
+ <h3>${this.column.title}</h3>` : b`<span class="status ${skeleton}" aria-hidden="true"></span>
82904
+ <h3 class=${skeleton} aria-hidden="true"><span
82905
+ class="skeletonFill skeletonBar placeholderTitle"
82906
+ ></span></h3>`}
82907
+ <span class=${skeleton} aria-hidden="true"><span class="count skeletonFill"></span></span>
82908
+ </header>
82909
+ <div class="bodyFrame">
82910
+ <div class="body">
82911
+ <div class="stack" aria-hidden="true">${cards}</div>
82912
+ </div>
82913
+ </div>`;
82914
+ return this.column ? b`<section aria-label=${this.column.title}>${content}</section>` : b`<section aria-hidden="true">${content}</section>`;
82915
+ }
82676
82916
  toggle() {
82677
82917
  kanbanEvent(this, "kanban-column-toggle", { columnId: this.column.id });
82678
82918
  }
@@ -82692,6 +82932,8 @@ _collapsed3 = new WeakMap();
82692
82932
  _pendingTicketId = new WeakMap();
82693
82933
  _draggingTicketId = new WeakMap();
82694
82934
  _pointerManaged2 = new WeakMap();
82935
+ _placeholderCards = new WeakMap();
82936
+ _placeholderStalled = new WeakMap();
82695
82937
  _nativeDropBefore = new WeakMap();
82696
82938
  _nativeOver = new WeakMap();
82697
82939
  _motion = new WeakMap();
@@ -82709,6 +82951,8 @@ __decorateElement(_init111, 4, "collapsed", _collapsed_dec3, _DeesKanbanColumn,
82709
82951
  __decorateElement(_init111, 4, "pendingTicketId", _pendingTicketId_dec, _DeesKanbanColumn, _pendingTicketId);
82710
82952
  __decorateElement(_init111, 4, "draggingTicketId", _draggingTicketId_dec, _DeesKanbanColumn, _draggingTicketId);
82711
82953
  __decorateElement(_init111, 4, "pointerManaged", _pointerManaged_dec2, _DeesKanbanColumn, _pointerManaged2);
82954
+ __decorateElement(_init111, 4, "placeholderCards", _placeholderCards_dec, _DeesKanbanColumn, _placeholderCards);
82955
+ __decorateElement(_init111, 4, "placeholderStalled", _placeholderStalled_dec, _DeesKanbanColumn, _placeholderStalled);
82712
82956
  __decorateElement(_init111, 4, "nativeDropBefore", _nativeDropBefore_dec, _DeesKanbanColumn, _nativeDropBefore);
82713
82957
  __decorateElement(_init111, 4, "nativeOver", _nativeOver_dec, _DeesKanbanColumn, _nativeOver);
82714
82958
  __decorateElement(_init111, 4, "motion", _motion_dec, _DeesKanbanColumn, _motion);
@@ -82716,6 +82960,7 @@ _DeesKanbanColumn = __decorateElement(_init111, 0, "DeesKanbanColumn", _DeesKanb
82716
82960
  __name(_DeesKanbanColumn, "DeesKanbanColumn");
82717
82961
  __publicField(_DeesKanbanColumn, "styles", [
82718
82962
  ...kanbanStyles,
82963
+ kanbanSkeletonStyles,
82719
82964
  scrollEdgeFadeStyles,
82720
82965
  overlayScrollbarStyles,
82721
82966
  i`
@@ -82846,6 +83091,23 @@ __publicField(_DeesKanbanColumn, "styles", [
82846
83091
  margin-top: 8px;
82847
83092
  }
82848
83093
 
83094
+ /* A placeholder column's name, of differing lengths from column to column. */
83095
+ .placeholderTitle {
83096
+ width: 12ch;
83097
+ }
83098
+
83099
+ :host(:nth-child(4n + 2)) .placeholderTitle {
83100
+ width: 9ch;
83101
+ }
83102
+
83103
+ :host(:nth-child(4n + 3)) .placeholderTitle {
83104
+ width: 14ch;
83105
+ }
83106
+
83107
+ :host(:nth-child(4n)) .placeholderTitle {
83108
+ width: 7ch;
83109
+ }
83110
+
82849
83111
  @media (prefers-reduced-motion: reduce) {
82850
83112
  section {
82851
83113
  transition: none;
@@ -82885,6 +83147,7 @@ var interactionEvents = [
82885
83147
  "kanban-conflict-dismiss",
82886
83148
  "kanban-column-toggle"
82887
83149
  ];
83150
+ var placeholderCards = [3, 2, 3, 1];
82888
83151
  _DeesKanban_decorators = [customElement("dees-kanban")];
82889
83152
  var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11 = [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_dec12 = [n({ type: Boolean, reflect: true })], _error_dec7 = [n({ type: String, reflect: true })], _projects_dec4 = [n({ attribute: false })], _autoLabelDefinitions_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()], _a110) {
82890
83153
  constructor() {
@@ -82947,6 +83210,11 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
82947
83210
  (input) => this.persistMove(input),
82948
83211
  () => !this.pendingTicketId
82949
83212
  ));
83213
+ __publicField(this, "firstLoad", new KanbanFirstLoadController(
83214
+ this,
83215
+ () => this.isFirstLoad(),
83216
+ () => _DeesKanban.stillLoadingAfter
83217
+ ));
82950
83218
  /** The columns' scrollbar, shown while they scroll sideways. */
82951
83219
  __publicField(this, "scrollbars", new OverlayScrollbarController(
82952
83220
  this,
@@ -83113,10 +83381,14 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
83113
83381
  const count = active.filter((filter) => filter.key !== "text").length;
83114
83382
  const filterLabel = count ? this.t("kanban.filtersActive", { count }) : this.t("kanban.filters");
83115
83383
  const projects = kanbanProjects(this.projects, this.tickets);
83384
+ const firstLoad = this.isFirstLoad();
83385
+ const stillLoading = this.firstLoad.stillLoading;
83116
83386
  return b`<header class="heading">
83117
83387
  <div class="identity">
83118
83388
  <h2>${this.heading || this.t("kanban.board")}</h2>
83119
- <span class="totals">${this.t("kanban.totals", { tasks: tasks.length, epics: epics.length })}</span>
83389
+ ${firstLoad && stillLoading ? b`<span class="totals" aria-hidden="true">${this.t("kanban.stillLoading")}</span>` : firstLoad ? b`<span class="totals skeleton" aria-hidden="true"><span
83390
+ class="skeletonFill skeletonBar placeholderTotals"
83391
+ ></span></span>` : b`<span class="totals">${this.t("kanban.totals", { tasks: tasks.length, epics: epics.length })}</span>`}
83120
83392
  </div>
83121
83393
  <div class="filters">
83122
83394
  <div class="searchField">
@@ -83193,10 +83465,21 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
83193
83465
  </header>
83194
83466
  ${this.renderActiveFilters(active)}
83195
83467
  <p class="filterStatus" role="status">${this.filterAnnouncement}</p>
83196
- ${this.loading || this.openingTicket ? b`<p class="caption" role="status">${this.loading ? this.t("kanban.loading") : this.t("kanban.opening")}</p>` : ""}
83468
+ <p class="loadingStatus" role="status">${firstLoad ? this.t(stillLoading ? "kanban.stillLoading" : "kanban.loading") : ""}</p>
83469
+ ${!firstLoad && (this.loading || this.openingTicket) ? b`<p class="caption" role="status">${this.loading ? this.t("kanban.loading") : this.t("kanban.opening")}</p>` : ""}
83197
83470
  ${this.error || this.operationError ? b`<p class="error" role="alert">${this.error || this.operationError}</p>` : ""}
83198
- ${!this.columns.length ? b`<p class="empty">${this.t("kanban.noColumns")}</p>` : b`<div class="columns ${this.scrollEdges.fadeClasses()}" aria-label=${this.heading || this.t("kanban.board")}>
83199
- ${directives_exports.repeat(this.columns, (column) => column.id, (column) => b`<dees-kanban-column
83471
+ ${!this.columns.length && !firstLoad ? b`<p class="empty">${this.t("kanban.noColumns")}</p>` : b`<div
83472
+ class="columns ${this.scrollEdges.fadeClasses()}"
83473
+ aria-label=${this.heading || this.t("kanban.board")}
83474
+ aria-busy=${this.loading ? "true" : "false"}
83475
+ >
83476
+ ${!this.columns.length ? placeholderCards.map((cards) => b`<dees-kanban-column
83477
+ .placeholderCards=${cards}
83478
+ .placeholderStalled=${stillLoading}
83479
+ ></dees-kanban-column>`) : ""}
83480
+ ${directives_exports.repeat(this.columns, (column) => column.id, (column, index) => b`<dees-kanban-column
83481
+ .placeholderCards=${firstLoad ? placeholderCards[index % placeholderCards.length] : 0}
83482
+ .placeholderStalled=${stillLoading}
83200
83483
  .column=${column}
83201
83484
  .columns=${this.columns}
83202
83485
  .pointerManaged=${true}
@@ -83213,6 +83496,10 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
83213
83496
  ></dees-kanban-column>`)}
83214
83497
  </div>`}`;
83215
83498
  }
83499
+ /** The board's first load runs: loading, with no tickets yet and nothing failed. */
83500
+ isFirstLoad() {
83501
+ return this.loading && this.tickets.length === 0 && !this.error;
83502
+ }
83216
83503
  /**
83217
83504
  * The active-filter bar: below the header, a chip for each filter off its default and for the
83218
83505
  * search, each removing what it names, then "Clear all". Nothing filtered, no bar.
@@ -84012,6 +84299,8 @@ _DeesKanban = __decorateElement(_init112, 0, "DeesKanban", _DeesKanban_decorator
84012
84299
  __name(_DeesKanban, "DeesKanban");
84013
84300
  __publicField(_DeesKanban, "demo", demoFunc73);
84014
84301
  __publicField(_DeesKanban, "demoGroups", ["Kanban"]);
84302
+ /** How long a first load runs, in milliseconds, before the board says it is still loading. */
84303
+ __publicField(_DeesKanban, "stillLoadingAfter", 1e4);
84015
84304
  __publicField(_DeesKanban, "styles", [
84016
84305
  ...kanbanStyles,
84017
84306
  actionControlStyles,
@@ -84020,6 +84309,7 @@ __publicField(_DeesKanban, "styles", [
84020
84309
  activeFilterBarStyles,
84021
84310
  overlayScrollbarStyles,
84022
84311
  scrollEdgeInlineFadeStyles,
84312
+ kanbanSkeletonStyles,
84023
84313
  i`
84024
84314
  /*
84025
84315
  * The board takes the height its host gives it, as a flex column's remaining space or a sized
@@ -84089,10 +84379,15 @@ __publicField(_DeesKanban, "styles", [
84089
84379
  corner-shape: var(--dees-corner-shape);
84090
84380
  }
84091
84381
 
84092
- .filterStatus {
84382
+ .filterStatus,
84383
+ .loadingStatus {
84093
84384
  ${visuallyHidden}
84094
84385
  }
84095
84386
 
84387
+ .placeholderTotals {
84388
+ width: 14ch;
84389
+ }
84390
+
84096
84391
  .actions {
84097
84392
  display: flex;
84098
84393
  gap: 8px;
@@ -84916,16 +85211,16 @@ var ProfilePictureModal = _ProfilePictureModal;
84916
85211
  var demoFunc74 = /* @__PURE__ */ __name(() => focusedInputDemo("profilepicture"), "demoFunc");
84917
85212
 
84918
85213
  // ts_web/elements/00group-input/profilepicture/dees-input-profilepicture.ts
84919
- var _isLoading_dec2, _isDragging_dec, _isHovered_dec, _outputQuality_dec2, _outputSize_dec2, _acceptedFormats_dec, _maxFileSize_dec, _allowDelete_dec, _allowUpload_dec, _placeholder_dec10, _size_dec4, _shape_dec2, _value_dec19, _a112, _DeesInputProfilePicture_decorators, _init114, _value19, _shape2, _size4, _placeholder10, _allowUpload, _allowDelete, _maxFileSize, _acceptedFormats, _outputSize2, _outputQuality2, _isHovered, _isDragging, _isLoading2;
85214
+ var _isLoading_dec2, _isDragging_dec, _isHovered_dec, _outputQuality_dec2, _outputSize_dec2, _acceptedFormats_dec, _maxFileSize_dec, _allowDelete_dec, _allowUpload_dec, _placeholder_dec11, _size_dec4, _shape_dec2, _value_dec19, _a112, _DeesInputProfilePicture_decorators, _init114, _value19, _shape2, _size4, _placeholder11, _allowUpload, _allowDelete, _maxFileSize, _acceptedFormats, _outputSize2, _outputQuality2, _isHovered, _isDragging, _isLoading2;
84920
85215
  _DeesInputProfilePicture_decorators = [customElement("dees-input-profilepicture")];
84921
- var _DeesInputProfilePicture = class _DeesInputProfilePicture extends (_a112 = DeesInputBase, _value_dec19 = [n({ type: String })], _shape_dec2 = [n({ type: String, reflect: true })], _size_dec4 = [n({ type: Number, reflect: true })], _placeholder_dec10 = [n({ type: String, reflect: true })], _allowUpload_dec = [n({ type: Boolean, reflect: true })], _allowDelete_dec = [n({ type: Boolean, reflect: true })], _maxFileSize_dec = [n({ type: Number, reflect: true })], _acceptedFormats_dec = [n({ type: Array })], _outputSize_dec2 = [n({ type: Number, reflect: true })], _outputQuality_dec2 = [n({ type: Number, reflect: true })], _isHovered_dec = [r2()], _isDragging_dec = [r2()], _isLoading_dec2 = [r2()], _a112) {
85216
+ var _DeesInputProfilePicture = class _DeesInputProfilePicture extends (_a112 = DeesInputBase, _value_dec19 = [n({ type: String })], _shape_dec2 = [n({ type: String, reflect: true })], _size_dec4 = [n({ type: Number, reflect: true })], _placeholder_dec11 = [n({ type: String, reflect: true })], _allowUpload_dec = [n({ type: Boolean, reflect: true })], _allowDelete_dec = [n({ type: Boolean, reflect: true })], _maxFileSize_dec = [n({ type: Number, reflect: true })], _acceptedFormats_dec = [n({ type: Array })], _outputSize_dec2 = [n({ type: Number, reflect: true })], _outputQuality_dec2 = [n({ type: Number, reflect: true })], _isHovered_dec = [r2()], _isDragging_dec = [r2()], _isLoading_dec2 = [r2()], _a112) {
84922
85217
  constructor() {
84923
85218
  super(...arguments);
84924
85219
  __publicField(this, "t", dcLocalize(this));
84925
85220
  __privateAdd(this, _value19, __runInitializers(_init114, 8, this, "")), __runInitializers(_init114, 11, this);
84926
85221
  __privateAdd(this, _shape2, __runInitializers(_init114, 12, this, "round")), __runInitializers(_init114, 15, this);
84927
85222
  __privateAdd(this, _size4, __runInitializers(_init114, 16, this, 120)), __runInitializers(_init114, 19, this);
84928
- __privateAdd(this, _placeholder10, __runInitializers(_init114, 20, this, "")), __runInitializers(_init114, 23, this);
85223
+ __privateAdd(this, _placeholder11, __runInitializers(_init114, 20, this, "")), __runInitializers(_init114, 23, this);
84929
85224
  __privateAdd(this, _allowUpload, __runInitializers(_init114, 24, this, true)), __runInitializers(_init114, 27, this);
84930
85225
  __privateAdd(this, _allowDelete, __runInitializers(_init114, 28, this, true)), __runInitializers(_init114, 31, this);
84931
85226
  __privateAdd(this, _maxFileSize, __runInitializers(_init114, 32, this, 5 * 1024 * 1024)), __runInitializers(_init114, 35, this);
@@ -85060,7 +85355,7 @@ _init114 = __decoratorStart(_a112);
85060
85355
  _value19 = new WeakMap();
85061
85356
  _shape2 = new WeakMap();
85062
85357
  _size4 = new WeakMap();
85063
- _placeholder10 = new WeakMap();
85358
+ _placeholder11 = new WeakMap();
85064
85359
  _allowUpload = new WeakMap();
85065
85360
  _allowDelete = new WeakMap();
85066
85361
  _maxFileSize = new WeakMap();
@@ -85073,7 +85368,7 @@ _isLoading2 = new WeakMap();
85073
85368
  __decorateElement(_init114, 4, "value", _value_dec19, _DeesInputProfilePicture, _value19);
85074
85369
  __decorateElement(_init114, 4, "shape", _shape_dec2, _DeesInputProfilePicture, _shape2);
85075
85370
  __decorateElement(_init114, 4, "size", _size_dec4, _DeesInputProfilePicture, _size4);
85076
- __decorateElement(_init114, 4, "placeholder", _placeholder_dec10, _DeesInputProfilePicture, _placeholder10);
85371
+ __decorateElement(_init114, 4, "placeholder", _placeholder_dec11, _DeesInputProfilePicture, _placeholder11);
85077
85372
  __decorateElement(_init114, 4, "allowUpload", _allowUpload_dec, _DeesInputProfilePicture, _allowUpload);
85078
85373
  __decorateElement(_init114, 4, "allowDelete", _allowDelete_dec, _DeesInputProfilePicture, _allowDelete);
85079
85374
  __decorateElement(_init114, 4, "maxFileSize", _maxFileSize_dec, _DeesInputProfilePicture, _maxFileSize);
@@ -120388,7 +120683,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a141 = DeesElement,
120388
120683
  this.terminalOpen = true;
120389
120684
  const request = ++this.terminalRequest;
120390
120685
  try {
120391
- const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-65M4HBRK.js");
120686
+ const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-7N6EXGH6.js");
120392
120687
  await this.updateComplete;
120393
120688
  if (!this.isConnected || request !== this.terminalRequest) return;
120394
120689
  const terminal = new DeesWorkspaceTerminal3();
@@ -127448,7 +127743,7 @@ var bright = {
127448
127743
  // ts_web/00_commitinfo_data.ts
127449
127744
  var commitinfo = {
127450
127745
  name: "@design.estate/dees-catalog",
127451
- version: "22.2.0",
127746
+ version: "22.3.0",
127452
127747
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
127453
127748
  };
127454
127749
  export {