@design.estate/dees-catalog 22.3.0 → 22.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_bundle/bundle.js +93 -47
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.d.ts +28 -21
- package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.js +70 -38
- package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.d.ts +4 -2
- package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.js +25 -10
- package/dist_ts_web/elements/interfaces/appconfig.d.ts +22 -7
- package/package.json +1 -1
- package/readme.md +6 -3
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-appui/dees-appui/dees-appui.ts +83 -38
- package/ts_web/elements/00group-appui/dees-appui/readme.md +17 -8
- package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts +16 -7
- package/ts_web/elements/interfaces/appconfig.ts +22 -7
package/dist_bundle/bundle.js
CHANGED
|
@@ -65367,8 +65367,8 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
65367
65367
|
__publicField(this, "historyIndex", 0);
|
|
65368
65368
|
/** Numbers the history entries this shell writes, so an entry it pushes can name the one it was pushed from. */
|
|
65369
65369
|
__publicField(this, "historyEntries", 0);
|
|
65370
|
-
/**
|
|
65371
|
-
__publicField(this, "
|
|
65370
|
+
/** Each history entry this shell wrote, by its number: what a return finds before the current one (`stepsBackTo`). */
|
|
65371
|
+
__publicField(this, "historyEntryRecords", /* @__PURE__ */ new Map());
|
|
65372
65372
|
/** The traversal back a refused browser change started, to `location`; the next change of any address ends it. */
|
|
65373
65373
|
__publicField(this, "restoringHistory");
|
|
65374
65374
|
/** A storage operation failed: the host hears it once, and the shell goes on without it. */
|
|
@@ -66637,15 +66637,32 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
66637
66637
|
* `options.history` decides whether that leaves a step behind: `push` (the
|
|
66638
66638
|
* default) adds a history entry, `replace` rewrites the current one, which is
|
|
66639
66639
|
* what a screen correcting its own route needs, and `return` goes back to the
|
|
66640
|
-
* screen a
|
|
66641
|
-
*
|
|
66640
|
+
* screen a flow was started from, across the steps it took on its own screen,
|
|
66641
|
+
* and replaces the current entry where no entry before shows it. With
|
|
66642
|
+
* `options.origin`, a return ends the flow on another screen, such as the one
|
|
66643
|
+
* it made: it goes back to the origin and pushes the screen after it.
|
|
66642
66644
|
*/
|
|
66643
66645
|
navigateToView(viewId, params = {}, query2 = {}, options) {
|
|
66644
66646
|
const mode = options?.history === "replace" || options?.history === "return" ? options.history : "push";
|
|
66645
|
-
|
|
66647
|
+
const origin = mode === "return" && options?.origin ? this.locationOf(options.origin) ?? null : void 0;
|
|
66648
|
+
return this.queueNavigation(
|
|
66649
|
+
viewId,
|
|
66650
|
+
{ ...params },
|
|
66651
|
+
{ ...query2 },
|
|
66652
|
+
mode,
|
|
66653
|
+
mode === "replace" ? "system" : "reader",
|
|
66654
|
+
void 0,
|
|
66655
|
+
void 0,
|
|
66656
|
+
origin
|
|
66657
|
+
);
|
|
66658
|
+
}
|
|
66659
|
+
/** The location of a screen named by a view and its parameters; none for a route that names no screen. */
|
|
66660
|
+
locationOf(routeArg) {
|
|
66661
|
+
const address = this.addressOf({ viewId: routeArg.viewId, params: { ...routeArg.params }, query: { ...routeArg.query } });
|
|
66662
|
+
return address === void 0 ? void 0 : this.addressing.locationOf(address);
|
|
66646
66663
|
}
|
|
66647
|
-
queueNavigation(viewId, params, query2, mode, intent, index, traversalLocation) {
|
|
66648
|
-
return this.enqueue((generation, request) => this.performNavigation(viewId, params, query2, mode, intent, generation, request, index, traversalLocation));
|
|
66664
|
+
queueNavigation(viewId, params, query2, mode, intent, index, traversalLocation, origin) {
|
|
66665
|
+
return this.enqueue((generation, request) => this.performNavigation(viewId, params, query2, mode, intent, generation, request, index, traversalLocation, origin));
|
|
66649
66666
|
}
|
|
66650
66667
|
/**
|
|
66651
66668
|
* Runs a navigation after every one queued before it. Each is numbered as it
|
|
@@ -66668,7 +66685,7 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
66668
66685
|
this.navigationQueue = result.catch(() => false);
|
|
66669
66686
|
return result;
|
|
66670
66687
|
}
|
|
66671
|
-
async performNavigation(viewId, params, query2, mode, intent, generation, request, index, traversalLocation) {
|
|
66688
|
+
async performNavigation(viewId, params, query2, mode, intent, generation, request, index, traversalLocation, origin) {
|
|
66672
66689
|
const stale = /* @__PURE__ */ __name(() => !this.isConnected || generation !== this.routingGeneration, "stale");
|
|
66673
66690
|
const superseded = /* @__PURE__ */ __name(() => stale() || request !== this.latestNavigationRequest, "superseded");
|
|
66674
66691
|
if (stale()) return false;
|
|
@@ -66725,11 +66742,16 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
66725
66742
|
void this.takeReaderTo(element);
|
|
66726
66743
|
void this.announceView(view.name);
|
|
66727
66744
|
}
|
|
66745
|
+
const stepsBack = mode === "return" && origin !== null ? this.stepsBackTo(origin ?? location) : 0;
|
|
66728
66746
|
if (mode === "push") {
|
|
66729
66747
|
this.historyIndex++;
|
|
66730
66748
|
window.history.pushState(this.routeHistoryState(location, true), "", location);
|
|
66731
|
-
} else if (
|
|
66732
|
-
await this.goBackTo(location);
|
|
66749
|
+
} else if (stepsBack > 0) {
|
|
66750
|
+
await this.goBackTo(origin ?? location, stepsBack);
|
|
66751
|
+
if (origin !== void 0 && origin !== location && !stale() && this.addressing.currentLocation() === origin) {
|
|
66752
|
+
this.historyIndex++;
|
|
66753
|
+
window.history.pushState(this.routeHistoryState(location, true), "", location);
|
|
66754
|
+
}
|
|
66733
66755
|
} else {
|
|
66734
66756
|
if (index !== void 0) this.historyIndex = index;
|
|
66735
66757
|
if (mode === "replace" || mode === "return" || this.addressing.currentLocation() === traversalLocation) {
|
|
@@ -66740,7 +66762,7 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
66740
66762
|
} catch (error) {
|
|
66741
66763
|
if (superseded()) return false;
|
|
66742
66764
|
this.viewLifecycle$.next({ type: "loadError", viewId, error });
|
|
66743
|
-
this.failedNavigation = { view, params, query: query2, mode, location };
|
|
66765
|
+
this.failedNavigation = { view, params, query: query2, mode, location, origin };
|
|
66744
66766
|
this.markViewInMainMenu(viewId);
|
|
66745
66767
|
return false;
|
|
66746
66768
|
}
|
|
@@ -66782,7 +66804,8 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
66782
66804
|
const failed = this.failedNavigation;
|
|
66783
66805
|
if (!failed) return;
|
|
66784
66806
|
const mode = failed.mode === "replace" || this.addressing.currentLocation() === failed.location ? "replace" : failed.mode === "return" ? "return" : "push";
|
|
66785
|
-
|
|
66807
|
+
const origin = mode === "return" ? failed.origin : void 0;
|
|
66808
|
+
void this.queueNavigation(failed.view.id, failed.params, failed.query, mode, "reader", void 0, void 0, origin);
|
|
66786
66809
|
}
|
|
66787
66810
|
/**
|
|
66788
66811
|
* A guard that returns a string asks a question, and the shell asks it in a
|
|
@@ -66809,15 +66832,17 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
66809
66832
|
* The state of a history entry the shell writes, showing a location: where the
|
|
66810
66833
|
* entry stands (`historyIndex`) and a number of its own. An entry pushed also
|
|
66811
66834
|
* names the entry it was pushed from, the one right before it; one rewritten
|
|
66812
|
-
* keeps its number and the entry before it. The location an entry shows
|
|
66813
|
-
*
|
|
66814
|
-
* (`
|
|
66835
|
+
* keeps its number and the entry before it. The location an entry shows, the
|
|
66836
|
+
* view on show there and the entry before it are kept by its number, so a
|
|
66837
|
+
* return can tell what the entries before show (`stepsBackTo`).
|
|
66815
66838
|
*/
|
|
66816
66839
|
routeHistoryState(locationArg, pushedArg = false) {
|
|
66817
66840
|
const current = this.historyMarker();
|
|
66818
66841
|
const entry = pushedArg || !current ? ++this.historyEntries : current.entry;
|
|
66819
66842
|
const previous = pushedArg ? current?.entry : current?.previous;
|
|
66820
|
-
if (locationArg !== void 0)
|
|
66843
|
+
if (locationArg !== void 0) {
|
|
66844
|
+
this.historyEntryRecords.set(entry, { location: locationArg, viewId: this.currentRoute?.viewId, previous });
|
|
66845
|
+
}
|
|
66821
66846
|
const marker = { owner: this.historyOwner, index: this.historyIndex, entry, previous };
|
|
66822
66847
|
return { ...window.history.state, deesAppui: marker };
|
|
66823
66848
|
}
|
|
@@ -66841,29 +66866,42 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
66841
66866
|
return current.location !== positionArg.location || current.index !== positionArg.index;
|
|
66842
66867
|
}
|
|
66843
66868
|
/**
|
|
66844
|
-
*
|
|
66845
|
-
* shell is, on an entry it pushed, and
|
|
66846
|
-
* the one right before it —
|
|
66847
|
-
*
|
|
66848
|
-
*
|
|
66849
|
-
*
|
|
66850
|
-
* from
|
|
66869
|
+
* How many entries a return to a location goes back: the browser stands where
|
|
66870
|
+
* this shell is, on an entry it pushed, and walks back along the entries each
|
|
66871
|
+
* one was pushed from — the one right before it — to the nearest that shows
|
|
66872
|
+
* the location. The entries it passes are the steps of a flow on the current
|
|
66873
|
+
* entry's own screen; an entry of another screen in between was a stop of the
|
|
66874
|
+
* reader's own, so the walk ends there and the return replaces, as it does
|
|
66875
|
+
* from an entry the shell did not push from one of its own, such as the first
|
|
66876
|
+
* one after a reload or a deep link into a flow. So does a return from an
|
|
66877
|
+
* entry whose address shows the location already: going back from it would
|
|
66878
|
+
* change no address, and no change would say it landed. None is `0`.
|
|
66851
66879
|
*/
|
|
66852
|
-
|
|
66880
|
+
stepsBackTo(locationArg) {
|
|
66853
66881
|
const marker = this.historyMarker();
|
|
66854
|
-
|
|
66882
|
+
if (marker?.index !== this.historyIndex || this.addressing.currentLocation() === locationArg) return 0;
|
|
66883
|
+
const flowView = this.historyEntryRecords.get(marker.entry)?.viewId;
|
|
66884
|
+
let previous = marker.previous;
|
|
66885
|
+
for (let steps = 1; previous !== void 0; steps++) {
|
|
66886
|
+
const record = this.historyEntryRecords.get(previous);
|
|
66887
|
+
if (!record) return 0;
|
|
66888
|
+
if (record.location === locationArg) return steps;
|
|
66889
|
+
if (record.viewId !== flowView) return 0;
|
|
66890
|
+
previous = record.previous;
|
|
66891
|
+
}
|
|
66892
|
+
return 0;
|
|
66855
66893
|
}
|
|
66856
66894
|
/**
|
|
66857
|
-
* Goes back
|
|
66858
|
-
*
|
|
66859
|
-
*
|
|
66860
|
-
*
|
|
66895
|
+
* Goes back a number of entries, to the location they show, and waits until
|
|
66896
|
+
* the browser stands there, so no request writes history from the entry it
|
|
66897
|
+
* leaves. The change the browser brings finds that location and is not taken
|
|
66898
|
+
* as a move of the reader's (`restoringHistory`).
|
|
66861
66899
|
*/
|
|
66862
|
-
goBackTo(locationArg) {
|
|
66863
|
-
this.historyIndex
|
|
66900
|
+
goBackTo(locationArg, stepsArg) {
|
|
66901
|
+
this.historyIndex -= stepsArg;
|
|
66864
66902
|
return new Promise((resolve) => {
|
|
66865
66903
|
this.restoringHistory = { location: locationArg, resolve };
|
|
66866
|
-
window.history.
|
|
66904
|
+
window.history.go(-stepsArg);
|
|
66867
66905
|
});
|
|
66868
66906
|
}
|
|
66869
66907
|
/**
|
|
@@ -67034,7 +67072,7 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
|
|
|
67034
67072
|
this.failedNavigation = void 0;
|
|
67035
67073
|
this.historyOwner = `${Date.now()}-${Math.random()}`;
|
|
67036
67074
|
this.historyIndex = 0;
|
|
67037
|
-
this.
|
|
67075
|
+
this.historyEntryRecords.clear();
|
|
67038
67076
|
}
|
|
67039
67077
|
/** Follow the address: mark the entry the shell stands on, listen for its changes, show the first screen. */
|
|
67040
67078
|
startRouting() {
|
|
@@ -83127,7 +83165,7 @@ __runInitializers(_init111, 1, _DeesKanbanColumn);
|
|
|
83127
83165
|
var DeesKanbanColumn = _DeesKanbanColumn;
|
|
83128
83166
|
|
|
83129
83167
|
// ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts
|
|
83130
|
-
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;
|
|
83168
|
+
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;
|
|
83131
83169
|
var interactionEvents = [
|
|
83132
83170
|
"kanban-ticket-open",
|
|
83133
83171
|
"kanban-ticket-move",
|
|
@@ -83149,7 +83187,7 @@ var interactionEvents = [
|
|
|
83149
83187
|
];
|
|
83150
83188
|
var placeholderCards = [3, 2, 3, 1];
|
|
83151
83189
|
_DeesKanban_decorators = [customElement("dees-kanban")];
|
|
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) {
|
|
83190
|
+
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) {
|
|
83153
83191
|
constructor() {
|
|
83154
83192
|
super(...arguments);
|
|
83155
83193
|
__publicField(this, "t", dcLocalize(this));
|
|
@@ -83167,11 +83205,12 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83167
83205
|
__privateAdd(this, _filterValues2, __runInitializers(_init112, 52, this, {})), __runInitializers(_init112, 55, this);
|
|
83168
83206
|
__privateAdd(this, _revision, __runInitializers(_init112, 56, this)), __runInitializers(_init112, 59, this);
|
|
83169
83207
|
__privateAdd(this, _operationError, __runInitializers(_init112, 60, this, "")), __runInitializers(_init112, 63, this);
|
|
83170
|
-
__privateAdd(this,
|
|
83171
|
-
__privateAdd(this,
|
|
83172
|
-
__privateAdd(this,
|
|
83173
|
-
__privateAdd(this,
|
|
83174
|
-
__privateAdd(this,
|
|
83208
|
+
__privateAdd(this, _boardFetchError, __runInitializers(_init112, 64, this, "")), __runInitializers(_init112, 67, this);
|
|
83209
|
+
__privateAdd(this, _filtersOpen, __runInitializers(_init112, 68, this, false)), __runInitializers(_init112, 71, this);
|
|
83210
|
+
__privateAdd(this, _filterAnnouncement, __runInitializers(_init112, 72, this, "")), __runInitializers(_init112, 75, this);
|
|
83211
|
+
__privateAdd(this, _pendingTicketId2, __runInitializers(_init112, 76, this, "")), __runInitializers(_init112, 79, this);
|
|
83212
|
+
__privateAdd(this, _openingTicket, __runInitializers(_init112, 80, this, false)), __runInitializers(_init112, 83, this);
|
|
83213
|
+
__privateAdd(this, _columnsCollapsed, __runInitializers(_init112, 84, this, {})), __runInitializers(_init112, 87, this);
|
|
83175
83214
|
__publicField(this, "modal");
|
|
83176
83215
|
__publicField(this, "modalOpening");
|
|
83177
83216
|
__publicField(this, "detail");
|
|
@@ -83383,6 +83422,7 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83383
83422
|
const projects = kanbanProjects(this.projects, this.tickets);
|
|
83384
83423
|
const firstLoad = this.isFirstLoad();
|
|
83385
83424
|
const stillLoading = this.firstLoad.stillLoading;
|
|
83425
|
+
const error = this.error || this.operationError || this.boardFetchError;
|
|
83386
83426
|
return b`<header class="heading">
|
|
83387
83427
|
<div class="identity">
|
|
83388
83428
|
<h2>${this.heading || this.t("kanban.board")}</h2>
|
|
@@ -83467,7 +83507,7 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83467
83507
|
<p class="filterStatus" role="status">${this.filterAnnouncement}</p>
|
|
83468
83508
|
<p class="loadingStatus" role="status">${firstLoad ? this.t(stillLoading ? "kanban.stillLoading" : "kanban.loading") : ""}</p>
|
|
83469
83509
|
${!firstLoad && (this.loading || this.openingTicket) ? b`<p class="caption" role="status">${this.loading ? this.t("kanban.loading") : this.t("kanban.opening")}</p>` : ""}
|
|
83470
|
-
${
|
|
83510
|
+
${error ? b`<p class="error" role="alert">${error}</p>` : ""}
|
|
83471
83511
|
${!this.columns.length && !firstLoad ? b`<p class="empty">${this.t("kanban.noColumns")}</p>` : b`<div
|
|
83472
83512
|
class="columns ${this.scrollEdges.fadeClasses()}"
|
|
83473
83513
|
aria-label=${this.heading || this.t("kanban.board")}
|
|
@@ -83876,8 +83916,8 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83876
83916
|
* Loads the board again through the provider's `loadBoard` and shows it in place, as a live
|
|
83877
83917
|
* update does: the open ticket stays open with its unsaved changes and its comment draft, its
|
|
83878
83918
|
* comments and history load again quietly, and the filters and the scroll stay. Calls made
|
|
83879
|
-
* while a load runs share it, and
|
|
83880
|
-
* loaded while the board saved a change of its own, is not shown.
|
|
83919
|
+
* while a load runs share it, and wait for the follow-up even if the first load fails; a snapshot
|
|
83920
|
+
* older than `revision`, or loaded while the board saved a change of its own, is not shown.
|
|
83881
83921
|
*/
|
|
83882
83922
|
refresh() {
|
|
83883
83923
|
if (!this.provider.loadBoard) return Promise.resolve();
|
|
@@ -83887,7 +83927,7 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83887
83927
|
}
|
|
83888
83928
|
const load = this.boardLoad = this.loadBoard().finally(() => {
|
|
83889
83929
|
this.boardLoad = void 0;
|
|
83890
|
-
if (this.boardAgain && this.isConnected)
|
|
83930
|
+
if (this.boardAgain && this.isConnected) return this.refresh();
|
|
83891
83931
|
});
|
|
83892
83932
|
return load;
|
|
83893
83933
|
}
|
|
@@ -83900,8 +83940,11 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83900
83940
|
try {
|
|
83901
83941
|
snapshot = await this.provider.loadBoard(controller.signal);
|
|
83902
83942
|
} catch (error) {
|
|
83903
|
-
if (
|
|
83904
|
-
|
|
83943
|
+
if (controller.signal.aborted || !this.isConnected) return;
|
|
83944
|
+
const message = this.boardFetchError = kanbanError(error);
|
|
83945
|
+
kanbanEvent(this, "kanban-error", { error, message });
|
|
83946
|
+
if (controller.signal.aborted || !this.isConnected) return;
|
|
83947
|
+
continue;
|
|
83905
83948
|
}
|
|
83906
83949
|
if (controller.signal.aborted || !this.isConnected) return;
|
|
83907
83950
|
if (this.mutationEpoch !== epoch) {
|
|
@@ -83914,6 +83957,7 @@ var _DeesKanban = class _DeesKanban extends (_a110 = DeesElement, _heading_dec11
|
|
|
83914
83957
|
} while (this.boardAgain);
|
|
83915
83958
|
}
|
|
83916
83959
|
applySnapshot(snapshot) {
|
|
83960
|
+
this.boardFetchError = "";
|
|
83917
83961
|
this.tickets = [...snapshot.tickets];
|
|
83918
83962
|
if (snapshot.columns) this.columns = [...snapshot.columns];
|
|
83919
83963
|
if (snapshot.revision !== void 0) this.revision = snapshot.revision;
|
|
@@ -84271,6 +84315,7 @@ _currentPersonId = new WeakMap();
|
|
|
84271
84315
|
_filterValues2 = new WeakMap();
|
|
84272
84316
|
_revision = new WeakMap();
|
|
84273
84317
|
_operationError = new WeakMap();
|
|
84318
|
+
_boardFetchError = new WeakMap();
|
|
84274
84319
|
_filtersOpen = new WeakMap();
|
|
84275
84320
|
_filterAnnouncement = new WeakMap();
|
|
84276
84321
|
_pendingTicketId2 = new WeakMap();
|
|
@@ -84290,6 +84335,7 @@ __decorateElement(_init112, 4, "currentPersonId", _currentPersonId_dec, _DeesKan
|
|
|
84290
84335
|
__decorateElement(_init112, 4, "filterValues", _filterValues_dec2, _DeesKanban, _filterValues2);
|
|
84291
84336
|
__decorateElement(_init112, 4, "revision", _revision_dec, _DeesKanban, _revision);
|
|
84292
84337
|
__decorateElement(_init112, 4, "operationError", _operationError_dec, _DeesKanban, _operationError);
|
|
84338
|
+
__decorateElement(_init112, 4, "boardFetchError", _boardFetchError_dec, _DeesKanban, _boardFetchError);
|
|
84293
84339
|
__decorateElement(_init112, 4, "filtersOpen", _filtersOpen_dec, _DeesKanban, _filtersOpen);
|
|
84294
84340
|
__decorateElement(_init112, 4, "filterAnnouncement", _filterAnnouncement_dec, _DeesKanban, _filterAnnouncement);
|
|
84295
84341
|
__decorateElement(_init112, 4, "pendingTicketId", _pendingTicketId_dec2, _DeesKanban, _pendingTicketId2);
|
|
@@ -127743,7 +127789,7 @@ var bright = {
|
|
|
127743
127789
|
// ts_web/00_commitinfo_data.ts
|
|
127744
127790
|
var commitinfo = {
|
|
127745
127791
|
name: "@design.estate/dees-catalog",
|
|
127746
|
-
version: "22.
|
|
127792
|
+
version: "22.4.0",
|
|
127747
127793
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
127748
127794
|
};
|
|
127749
127795
|
export {
|