@design.estate/dees-catalog 22.2.0 → 22.3.1
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 +346 -43
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-IASP6M5U.js → chunk-IGD4DLG4.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-ZPJBKBPH.js → chunk-MK42UYWT.js} +4 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-ZPJBKBPH.js.map → chunk-MK42UYWT.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-B6IKM3SA.js → chunk-RITCTBBY.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-3ZAD2XFI.js → de-TN6FRTSU.js} +4 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-TN6FRTSU.js.map +1 -0
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-CPEH77LV.js → dees-modal-PLLCPO5V.js} +3 -3
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-65M4HBRK.js → dees-workspace-terminal-7N6EXGH6.js} +4 -4
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.d.ts +16 -2
- package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.demo.js +24 -2
- package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.js +78 -16
- package/dist_ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.d.ts +13 -1
- package/dist_ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.js +80 -12
- package/dist_ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.d.ts +10 -0
- package/dist_ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.js +72 -4
- package/dist_ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.d.ts +12 -0
- package/dist_ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.js +73 -3
- package/dist_ts_web/elements/00group-kanban/kanban.firstload.d.ts +23 -0
- package/dist_ts_web/elements/00group-kanban/kanban.firstload.js +51 -0
- package/dist_ts_web/elements/00group-kanban/kanban.styles.d.ts +8 -0
- package/dist_ts_web/elements/00group-kanban/kanban.styles.js +47 -1
- package/dist_ts_web/i18n/de.d.ts +8 -0
- package/dist_ts_web/i18n/de.js +3 -1
- package/dist_ts_web/i18n/messages.d.ts +8 -0
- package/dist_ts_web/i18n/messages.js +3 -1
- package/package.json +1 -1
- package/readme.md +34 -3
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.demo.ts +23 -1
- package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts +76 -13
- package/ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.ts +88 -11
- package/ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.ts +60 -2
- package/ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.ts +61 -1
- package/ts_web/elements/00group-kanban/kanban.firstload.ts +54 -0
- package/ts_web/elements/00group-kanban/kanban.styles.ts +47 -0
- package/ts_web/i18n/de.ts +2 -0
- package/ts_web/i18n/messages.ts +2 -0
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-3ZAD2XFI.js.map +0 -1
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-IASP6M5U.js.map → chunk-IGD4DLG4.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-B6IKM3SA.js.map → chunk-RITCTBBY.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-CPEH77LV.js.map → dees-modal-PLLCPO5V.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-65M4HBRK.js.map → dees-workspace-terminal-7N6EXGH6.js.map} +0 -0
package/dist_bundle/bundle.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
ownAppuiLabels,
|
|
26
26
|
resolveAppuiLabels,
|
|
27
27
|
xtermStyles
|
|
28
|
-
} from "./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
82524
|
-
__privateAdd(this,
|
|
82525
|
-
__privateAdd(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;
|
|
@@ -82865,7 +83127,7 @@ __runInitializers(_init111, 1, _DeesKanbanColumn);
|
|
|
82865
83127
|
var DeesKanbanColumn = _DeesKanbanColumn;
|
|
82866
83128
|
|
|
82867
83129
|
// ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts
|
|
82868
|
-
var _columnsCollapsed_dec, _openingTicket_dec, _pendingTicketId_dec2, _filterAnnouncement_dec, _filtersOpen_dec, _operationError_dec, _revision_dec, _filterValues_dec2, _currentPersonId_dec, _projectRequired_dec, _autoLabelDefinitions_dec4, _projects_dec4, _error_dec7, _loading_dec12, _provider_dec4, _people_dec2, _columns_dec7, _tickets_dec4, _heading_dec11, _a110, _DeesKanban_decorators, _init112, _heading11, _tickets4, _columns7, _people2, _provider4, _loading12, _error7, _projects4, _autoLabelDefinitions4, _projectRequired, _currentPersonId, _filterValues2, _revision, _operationError, _filtersOpen, _filterAnnouncement, _pendingTicketId2, _openingTicket, _columnsCollapsed;
|
|
83130
|
+
var _columnsCollapsed_dec, _openingTicket_dec, _pendingTicketId_dec2, _filterAnnouncement_dec, _filtersOpen_dec, _boardFetchError_dec, _operationError_dec, _revision_dec, _filterValues_dec2, _currentPersonId_dec, _projectRequired_dec, _autoLabelDefinitions_dec4, _projects_dec4, _error_dec7, _loading_dec12, _provider_dec4, _people_dec2, _columns_dec7, _tickets_dec4, _heading_dec11, _a110, _DeesKanban_decorators, _init112, _heading11, _tickets4, _columns7, _people2, _provider4, _loading12, _error7, _projects4, _autoLabelDefinitions4, _projectRequired, _currentPersonId, _filterValues2, _revision, _operationError, _boardFetchError, _filtersOpen, _filterAnnouncement, _pendingTicketId2, _openingTicket, _columnsCollapsed;
|
|
82869
83131
|
var interactionEvents = [
|
|
82870
83132
|
"kanban-ticket-open",
|
|
82871
83133
|
"kanban-ticket-move",
|
|
@@ -82885,8 +83147,9 @@ 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
|
-
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) {
|
|
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()], _boardFetchError_dec = [r2()], _filtersOpen_dec = [r2()], _filterAnnouncement_dec = [r2()], _pendingTicketId_dec2 = [r2()], _openingTicket_dec = [r2()], _columnsCollapsed_dec = [r2()], _a110) {
|
|
82890
83153
|
constructor() {
|
|
82891
83154
|
super(...arguments);
|
|
82892
83155
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -82904,11 +83167,12 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
82904
83167
|
__privateAdd(this, _filterValues2, __runInitializers(_init112, 52, this, {})), __runInitializers(_init112, 55, this);
|
|
82905
83168
|
__privateAdd(this, _revision, __runInitializers(_init112, 56, this)), __runInitializers(_init112, 59, this);
|
|
82906
83169
|
__privateAdd(this, _operationError, __runInitializers(_init112, 60, this, "")), __runInitializers(_init112, 63, this);
|
|
82907
|
-
__privateAdd(this,
|
|
82908
|
-
__privateAdd(this,
|
|
82909
|
-
__privateAdd(this,
|
|
82910
|
-
__privateAdd(this,
|
|
82911
|
-
__privateAdd(this,
|
|
83170
|
+
__privateAdd(this, _boardFetchError, __runInitializers(_init112, 64, this, "")), __runInitializers(_init112, 67, this);
|
|
83171
|
+
__privateAdd(this, _filtersOpen, __runInitializers(_init112, 68, this, false)), __runInitializers(_init112, 71, this);
|
|
83172
|
+
__privateAdd(this, _filterAnnouncement, __runInitializers(_init112, 72, this, "")), __runInitializers(_init112, 75, this);
|
|
83173
|
+
__privateAdd(this, _pendingTicketId2, __runInitializers(_init112, 76, this, "")), __runInitializers(_init112, 79, this);
|
|
83174
|
+
__privateAdd(this, _openingTicket, __runInitializers(_init112, 80, this, false)), __runInitializers(_init112, 83, this);
|
|
83175
|
+
__privateAdd(this, _columnsCollapsed, __runInitializers(_init112, 84, this, {})), __runInitializers(_init112, 87, this);
|
|
82912
83176
|
__publicField(this, "modal");
|
|
82913
83177
|
__publicField(this, "modalOpening");
|
|
82914
83178
|
__publicField(this, "detail");
|
|
@@ -82947,6 +83211,11 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
82947
83211
|
(input) => this.persistMove(input),
|
|
82948
83212
|
() => !this.pendingTicketId
|
|
82949
83213
|
));
|
|
83214
|
+
__publicField(this, "firstLoad", new KanbanFirstLoadController(
|
|
83215
|
+
this,
|
|
83216
|
+
() => this.isFirstLoad(),
|
|
83217
|
+
() => _DeesKanban.stillLoadingAfter
|
|
83218
|
+
));
|
|
82950
83219
|
/** The columns' scrollbar, shown while they scroll sideways. */
|
|
82951
83220
|
__publicField(this, "scrollbars", new OverlayScrollbarController(
|
|
82952
83221
|
this,
|
|
@@ -83113,10 +83382,15 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83113
83382
|
const count = active.filter((filter) => filter.key !== "text").length;
|
|
83114
83383
|
const filterLabel = count ? this.t("kanban.filtersActive", { count }) : this.t("kanban.filters");
|
|
83115
83384
|
const projects = kanbanProjects(this.projects, this.tickets);
|
|
83385
|
+
const firstLoad = this.isFirstLoad();
|
|
83386
|
+
const stillLoading = this.firstLoad.stillLoading;
|
|
83387
|
+
const error = this.error || this.operationError || this.boardFetchError;
|
|
83116
83388
|
return b`<header class="heading">
|
|
83117
83389
|
<div class="identity">
|
|
83118
83390
|
<h2>${this.heading || this.t("kanban.board")}</h2>
|
|
83119
|
-
|
|
83391
|
+
${firstLoad && stillLoading ? b`<span class="totals" aria-hidden="true">${this.t("kanban.stillLoading")}</span>` : firstLoad ? b`<span class="totals skeleton" aria-hidden="true"><span
|
|
83392
|
+
class="skeletonFill skeletonBar placeholderTotals"
|
|
83393
|
+
></span></span>` : b`<span class="totals">${this.t("kanban.totals", { tasks: tasks.length, epics: epics.length })}</span>`}
|
|
83120
83394
|
</div>
|
|
83121
83395
|
<div class="filters">
|
|
83122
83396
|
<div class="searchField">
|
|
@@ -83193,10 +83467,21 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83193
83467
|
</header>
|
|
83194
83468
|
${this.renderActiveFilters(active)}
|
|
83195
83469
|
<p class="filterStatus" role="status">${this.filterAnnouncement}</p>
|
|
83196
|
-
|
|
83197
|
-
${this.
|
|
83198
|
-
${
|
|
83199
|
-
|
|
83470
|
+
<p class="loadingStatus" role="status">${firstLoad ? this.t(stillLoading ? "kanban.stillLoading" : "kanban.loading") : ""}</p>
|
|
83471
|
+
${!firstLoad && (this.loading || this.openingTicket) ? b`<p class="caption" role="status">${this.loading ? this.t("kanban.loading") : this.t("kanban.opening")}</p>` : ""}
|
|
83472
|
+
${error ? b`<p class="error" role="alert">${error}</p>` : ""}
|
|
83473
|
+
${!this.columns.length && !firstLoad ? b`<p class="empty">${this.t("kanban.noColumns")}</p>` : b`<div
|
|
83474
|
+
class="columns ${this.scrollEdges.fadeClasses()}"
|
|
83475
|
+
aria-label=${this.heading || this.t("kanban.board")}
|
|
83476
|
+
aria-busy=${this.loading ? "true" : "false"}
|
|
83477
|
+
>
|
|
83478
|
+
${!this.columns.length ? placeholderCards.map((cards) => b`<dees-kanban-column
|
|
83479
|
+
.placeholderCards=${cards}
|
|
83480
|
+
.placeholderStalled=${stillLoading}
|
|
83481
|
+
></dees-kanban-column>`) : ""}
|
|
83482
|
+
${directives_exports.repeat(this.columns, (column) => column.id, (column, index) => b`<dees-kanban-column
|
|
83483
|
+
.placeholderCards=${firstLoad ? placeholderCards[index % placeholderCards.length] : 0}
|
|
83484
|
+
.placeholderStalled=${stillLoading}
|
|
83200
83485
|
.column=${column}
|
|
83201
83486
|
.columns=${this.columns}
|
|
83202
83487
|
.pointerManaged=${true}
|
|
@@ -83213,6 +83498,10 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83213
83498
|
></dees-kanban-column>`)}
|
|
83214
83499
|
</div>`}`;
|
|
83215
83500
|
}
|
|
83501
|
+
/** The board's first load runs: loading, with no tickets yet and nothing failed. */
|
|
83502
|
+
isFirstLoad() {
|
|
83503
|
+
return this.loading && this.tickets.length === 0 && !this.error;
|
|
83504
|
+
}
|
|
83216
83505
|
/**
|
|
83217
83506
|
* The active-filter bar: below the header, a chip for each filter off its default and for the
|
|
83218
83507
|
* search, each removing what it names, then "Clear all". Nothing filtered, no bar.
|
|
@@ -83589,8 +83878,8 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83589
83878
|
* Loads the board again through the provider's `loadBoard` and shows it in place, as a live
|
|
83590
83879
|
* update does: the open ticket stays open with its unsaved changes and its comment draft, its
|
|
83591
83880
|
* comments and history load again quietly, and the filters and the scroll stay. Calls made
|
|
83592
|
-
* while a load runs share it, and
|
|
83593
|
-
* loaded while the board saved a change of its own, is not shown.
|
|
83881
|
+
* while a load runs share it, and wait for the follow-up even if the first load fails; a snapshot
|
|
83882
|
+
* older than `revision`, or loaded while the board saved a change of its own, is not shown.
|
|
83594
83883
|
*/
|
|
83595
83884
|
refresh() {
|
|
83596
83885
|
if (!this.provider.loadBoard) return Promise.resolve();
|
|
@@ -83600,7 +83889,7 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83600
83889
|
}
|
|
83601
83890
|
const load = this.boardLoad = this.loadBoard().finally(() => {
|
|
83602
83891
|
this.boardLoad = void 0;
|
|
83603
|
-
if (this.boardAgain && this.isConnected)
|
|
83892
|
+
if (this.boardAgain && this.isConnected) return this.refresh();
|
|
83604
83893
|
});
|
|
83605
83894
|
return load;
|
|
83606
83895
|
}
|
|
@@ -83613,8 +83902,11 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83613
83902
|
try {
|
|
83614
83903
|
snapshot = await this.provider.loadBoard(controller.signal);
|
|
83615
83904
|
} catch (error) {
|
|
83616
|
-
if (
|
|
83617
|
-
|
|
83905
|
+
if (controller.signal.aborted || !this.isConnected) return;
|
|
83906
|
+
const message = this.boardFetchError = kanbanError(error);
|
|
83907
|
+
kanbanEvent(this, "kanban-error", { error, message });
|
|
83908
|
+
if (controller.signal.aborted || !this.isConnected) return;
|
|
83909
|
+
continue;
|
|
83618
83910
|
}
|
|
83619
83911
|
if (controller.signal.aborted || !this.isConnected) return;
|
|
83620
83912
|
if (this.mutationEpoch !== epoch) {
|
|
@@ -83627,6 +83919,7 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83627
83919
|
} while (this.boardAgain);
|
|
83628
83920
|
}
|
|
83629
83921
|
applySnapshot(snapshot) {
|
|
83922
|
+
this.boardFetchError = "";
|
|
83630
83923
|
this.tickets = [...snapshot.tickets];
|
|
83631
83924
|
if (snapshot.columns) this.columns = [...snapshot.columns];
|
|
83632
83925
|
if (snapshot.revision !== void 0) this.revision = snapshot.revision;
|
|
@@ -83984,6 +84277,7 @@ _currentPersonId = new WeakMap();
|
|
|
83984
84277
|
_filterValues2 = new WeakMap();
|
|
83985
84278
|
_revision = new WeakMap();
|
|
83986
84279
|
_operationError = new WeakMap();
|
|
84280
|
+
_boardFetchError = new WeakMap();
|
|
83987
84281
|
_filtersOpen = new WeakMap();
|
|
83988
84282
|
_filterAnnouncement = new WeakMap();
|
|
83989
84283
|
_pendingTicketId2 = new WeakMap();
|
|
@@ -84003,6 +84297,7 @@ __decorateElement(_init112, 4, "currentPersonId", _currentPersonId_dec, _DeesKan
|
|
|
84003
84297
|
__decorateElement(_init112, 4, "filterValues", _filterValues_dec2, _DeesKanban, _filterValues2);
|
|
84004
84298
|
__decorateElement(_init112, 4, "revision", _revision_dec, _DeesKanban, _revision);
|
|
84005
84299
|
__decorateElement(_init112, 4, "operationError", _operationError_dec, _DeesKanban, _operationError);
|
|
84300
|
+
__decorateElement(_init112, 4, "boardFetchError", _boardFetchError_dec, _DeesKanban, _boardFetchError);
|
|
84006
84301
|
__decorateElement(_init112, 4, "filtersOpen", _filtersOpen_dec, _DeesKanban, _filtersOpen);
|
|
84007
84302
|
__decorateElement(_init112, 4, "filterAnnouncement", _filterAnnouncement_dec, _DeesKanban, _filterAnnouncement);
|
|
84008
84303
|
__decorateElement(_init112, 4, "pendingTicketId", _pendingTicketId_dec2, _DeesKanban, _pendingTicketId2);
|
|
@@ -84012,6 +84307,8 @@ _DeesKanban = __decorateElement(_init112, 0, "DeesKanban", _DeesKanban_decorator
|
|
|
84012
84307
|
__name(_DeesKanban, "DeesKanban");
|
|
84013
84308
|
__publicField(_DeesKanban, "demo", demoFunc73);
|
|
84014
84309
|
__publicField(_DeesKanban, "demoGroups", ["Kanban"]);
|
|
84310
|
+
/** How long a first load runs, in milliseconds, before the board says it is still loading. */
|
|
84311
|
+
__publicField(_DeesKanban, "stillLoadingAfter", 1e4);
|
|
84015
84312
|
__publicField(_DeesKanban, "styles", [
|
|
84016
84313
|
...kanbanStyles,
|
|
84017
84314
|
actionControlStyles,
|
|
@@ -84020,6 +84317,7 @@ __publicField(_DeesKanban, "styles", [
|
|
|
84020
84317
|
activeFilterBarStyles,
|
|
84021
84318
|
overlayScrollbarStyles,
|
|
84022
84319
|
scrollEdgeInlineFadeStyles,
|
|
84320
|
+
kanbanSkeletonStyles,
|
|
84023
84321
|
i`
|
|
84024
84322
|
/*
|
|
84025
84323
|
* The board takes the height its host gives it, as a flex column's remaining space or a sized
|
|
@@ -84089,10 +84387,15 @@ __publicField(_DeesKanban, "styles", [
|
|
|
84089
84387
|
corner-shape: var(--dees-corner-shape);
|
|
84090
84388
|
}
|
|
84091
84389
|
|
|
84092
|
-
.filterStatus
|
|
84390
|
+
.filterStatus,
|
|
84391
|
+
.loadingStatus {
|
|
84093
84392
|
${visuallyHidden}
|
|
84094
84393
|
}
|
|
84095
84394
|
|
|
84395
|
+
.placeholderTotals {
|
|
84396
|
+
width: 14ch;
|
|
84397
|
+
}
|
|
84398
|
+
|
|
84096
84399
|
.actions {
|
|
84097
84400
|
display: flex;
|
|
84098
84401
|
gap: 8px;
|
|
@@ -84916,16 +85219,16 @@ var ProfilePictureModal = _ProfilePictureModal;
|
|
|
84916
85219
|
var demoFunc74 = /* @__PURE__ */ __name(() => focusedInputDemo("profilepicture"), "demoFunc");
|
|
84917
85220
|
|
|
84918
85221
|
// 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,
|
|
85222
|
+
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
85223
|
_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 })],
|
|
85224
|
+
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
85225
|
constructor() {
|
|
84923
85226
|
super(...arguments);
|
|
84924
85227
|
__publicField(this, "t", dcLocalize(this));
|
|
84925
85228
|
__privateAdd(this, _value19, __runInitializers(_init114, 8, this, "")), __runInitializers(_init114, 11, this);
|
|
84926
85229
|
__privateAdd(this, _shape2, __runInitializers(_init114, 12, this, "round")), __runInitializers(_init114, 15, this);
|
|
84927
85230
|
__privateAdd(this, _size4, __runInitializers(_init114, 16, this, 120)), __runInitializers(_init114, 19, this);
|
|
84928
|
-
__privateAdd(this,
|
|
85231
|
+
__privateAdd(this, _placeholder11, __runInitializers(_init114, 20, this, "")), __runInitializers(_init114, 23, this);
|
|
84929
85232
|
__privateAdd(this, _allowUpload, __runInitializers(_init114, 24, this, true)), __runInitializers(_init114, 27, this);
|
|
84930
85233
|
__privateAdd(this, _allowDelete, __runInitializers(_init114, 28, this, true)), __runInitializers(_init114, 31, this);
|
|
84931
85234
|
__privateAdd(this, _maxFileSize, __runInitializers(_init114, 32, this, 5 * 1024 * 1024)), __runInitializers(_init114, 35, this);
|
|
@@ -85060,7 +85363,7 @@ _init114 = __decoratorStart(_a112);
|
|
|
85060
85363
|
_value19 = new WeakMap();
|
|
85061
85364
|
_shape2 = new WeakMap();
|
|
85062
85365
|
_size4 = new WeakMap();
|
|
85063
|
-
|
|
85366
|
+
_placeholder11 = new WeakMap();
|
|
85064
85367
|
_allowUpload = new WeakMap();
|
|
85065
85368
|
_allowDelete = new WeakMap();
|
|
85066
85369
|
_maxFileSize = new WeakMap();
|
|
@@ -85073,7 +85376,7 @@ _isLoading2 = new WeakMap();
|
|
|
85073
85376
|
__decorateElement(_init114, 4, "value", _value_dec19, _DeesInputProfilePicture, _value19);
|
|
85074
85377
|
__decorateElement(_init114, 4, "shape", _shape_dec2, _DeesInputProfilePicture, _shape2);
|
|
85075
85378
|
__decorateElement(_init114, 4, "size", _size_dec4, _DeesInputProfilePicture, _size4);
|
|
85076
|
-
__decorateElement(_init114, 4, "placeholder",
|
|
85379
|
+
__decorateElement(_init114, 4, "placeholder", _placeholder_dec11, _DeesInputProfilePicture, _placeholder11);
|
|
85077
85380
|
__decorateElement(_init114, 4, "allowUpload", _allowUpload_dec, _DeesInputProfilePicture, _allowUpload);
|
|
85078
85381
|
__decorateElement(_init114, 4, "allowDelete", _allowDelete_dec, _DeesInputProfilePicture, _allowDelete);
|
|
85079
85382
|
__decorateElement(_init114, 4, "maxFileSize", _maxFileSize_dec, _DeesInputProfilePicture, _maxFileSize);
|
|
@@ -120388,7 +120691,7 @@ var _DeesSimpleAppDash = class _DeesSimpleAppDash extends (_a141 = DeesElement,
|
|
|
120388
120691
|
this.terminalOpen = true;
|
|
120389
120692
|
const request = ++this.terminalRequest;
|
|
120390
120693
|
try {
|
|
120391
|
-
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-
|
|
120694
|
+
const { DeesWorkspaceTerminal: DeesWorkspaceTerminal3 } = await import("./chunks/U6Ua8p1giFoD1s7vrUZUdpbg/dees-workspace-terminal-7N6EXGH6.js");
|
|
120392
120695
|
await this.updateComplete;
|
|
120393
120696
|
if (!this.isConnected || request !== this.terminalRequest) return;
|
|
120394
120697
|
const terminal = new DeesWorkspaceTerminal3();
|
|
@@ -127448,7 +127751,7 @@ var bright = {
|
|
|
127448
127751
|
// ts_web/00_commitinfo_data.ts
|
|
127449
127752
|
var commitinfo = {
|
|
127450
127753
|
name: "@design.estate/dees-catalog",
|
|
127451
|
-
version: "22.
|
|
127754
|
+
version: "22.3.1",
|
|
127452
127755
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
127453
127756
|
};
|
|
127454
127757
|
export {
|