@design.estate/dees-catalog 24.3.0 → 24.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 +102 -86
- 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 +42 -23
- package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.demo.js +2 -3
- package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.js +93 -81
- package/dist_ts_web/elements/00group-appui/dees-appui/shell.storage.d.ts +11 -4
- package/dist_ts_web/elements/00group-appui/dees-appui/shell.storage.js +32 -9
- package/dist_ts_web/elements/interfaces/appconfig.d.ts +28 -10
- package/package.json +1 -1
- package/readme.md +9 -6
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-appui/dees-appui/dees-appui.demo.ts +1 -2
- package/ts_web/elements/00group-appui/dees-appui/dees-appui.ts +102 -89
- package/ts_web/elements/00group-appui/dees-appui/readme.md +42 -26
- package/ts_web/elements/00group-appui/dees-appui/shell.storage.ts +42 -11
- package/ts_web/elements/interfaces/appconfig.ts +29 -10
package/dist_bundle/bundle.js
CHANGED
|
@@ -65164,8 +65164,7 @@ var layoutIcons = { browse: "PanelLeft", inspect: "PanelsTopLeft", focus: "Maxim
|
|
|
65164
65164
|
var assistantReply = "edge-eu is back within its 200 ms latency target, and its database connections have recovered. The runbook for the next incident is in Files, under runbooks/latency.md.";
|
|
65165
65165
|
var keptKeys = /* @__PURE__ */ new Set([
|
|
65166
65166
|
"dees-appui.secondaryPaneWidth",
|
|
65167
|
-
"dees-appui.
|
|
65168
|
-
"dees-appui.assistantPaneWidth",
|
|
65167
|
+
"dees-appui.asidePaneWidth",
|
|
65169
65168
|
"dees-appui.lastView"
|
|
65170
65169
|
]);
|
|
65171
65170
|
var sessionShellStorage = {
|
|
@@ -70294,6 +70293,9 @@ var ViewRegistry = class {
|
|
|
70294
70293
|
|
|
70295
70294
|
// ts_web/elements/00group-appui/dees-appui/shell.storage.ts
|
|
70296
70295
|
var paneWidthKey = /* @__PURE__ */ __name((pane) => `${pane}PaneWidth`, "paneWidthKey");
|
|
70296
|
+
var supersededKeys = {
|
|
70297
|
+
asidePaneWidth: ["assistantPaneWidth", "activityPaneWidth"]
|
|
70298
|
+
};
|
|
70297
70299
|
var storageKey = /* @__PURE__ */ __name((key) => `dees-appui.${key}`, "storageKey");
|
|
70298
70300
|
var isBoolean = /* @__PURE__ */ __name((value) => typeof value === "boolean", "isBoolean");
|
|
70299
70301
|
var isWidth = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value), "isWidth");
|
|
@@ -70304,6 +70306,7 @@ var storedShapes = {
|
|
|
70304
70306
|
mainMenuCollapsed: isBoolean,
|
|
70305
70307
|
secondaryMenuCollapsed: isBoolean,
|
|
70306
70308
|
secondaryPaneWidth: isWidth,
|
|
70309
|
+
asidePaneWidth: isWidth,
|
|
70307
70310
|
activityPaneWidth: isWidth,
|
|
70308
70311
|
assistantPaneWidth: isWidth,
|
|
70309
70312
|
aside: /* @__PURE__ */ __name((value) => value === null || value === "activity" || value === "assistant", "aside"),
|
|
@@ -70331,20 +70334,28 @@ var ShellStorage = class {
|
|
|
70331
70334
|
* Applies a key's stored value. An adapter that answers at once is applied
|
|
70332
70335
|
* at once, before the render the caller is part of, so nothing shows the
|
|
70333
70336
|
* value it replaces. A later answer is applied when it arrives, unless
|
|
70334
|
-
* another storage took over or the key was written meanwhile.
|
|
70335
|
-
* the
|
|
70337
|
+
* another storage took over or the key was written meanwhile. The keys it
|
|
70338
|
+
* superseded are asked with it; while the key holds nothing usable, the
|
|
70339
|
+
* first of them that does is applied and written under the key. Resolves
|
|
70340
|
+
* once the answer is applied or dropped.
|
|
70336
70341
|
*/
|
|
70337
70342
|
restore(key, apply) {
|
|
70343
|
+
const sources = [key, ...supersededKeys[key] ?? []];
|
|
70338
70344
|
const settle = /* @__PURE__ */ __name((stored) => {
|
|
70339
|
-
const
|
|
70340
|
-
|
|
70345
|
+
for (const [index, source] of sources.entries()) {
|
|
70346
|
+
const value = this.decode(source, stored[index]);
|
|
70347
|
+
if (value === void 0) continue;
|
|
70348
|
+
apply(value);
|
|
70349
|
+
if (source !== key) this.write(key, value);
|
|
70350
|
+
return;
|
|
70351
|
+
}
|
|
70341
70352
|
}, "settle");
|
|
70342
|
-
const
|
|
70343
|
-
if (!(answer2 instanceof Promise)) {
|
|
70344
|
-
settle(
|
|
70353
|
+
const answers = sources.map((source) => this.readStored(source));
|
|
70354
|
+
if (!answers.some((answer2) => answer2 instanceof Promise)) {
|
|
70355
|
+
settle(answers);
|
|
70345
70356
|
return Promise.resolve();
|
|
70346
70357
|
}
|
|
70347
|
-
return
|
|
70358
|
+
return Promise.all(answers).then((stored) => {
|
|
70348
70359
|
if (!this.retired && !this.written.has(key)) settle(stored);
|
|
70349
70360
|
});
|
|
70350
70361
|
}
|
|
@@ -72802,6 +72813,7 @@ var assertAsideAvailable = /* @__PURE__ */ __name((aside, assistant) => {
|
|
|
72802
72813
|
throw new Error("The side panel can show the assistant only when the configuration has one.");
|
|
72803
72814
|
}
|
|
72804
72815
|
}, "assertAsideAvailable");
|
|
72816
|
+
var configuredAsideWidth = /* @__PURE__ */ __name((config) => config.asideWidth ?? config.assistant?.width ?? config.activityLog?.width, "configuredAsideWidth");
|
|
72805
72817
|
var assertFinitePaneWidth = /* @__PURE__ */ __name((pane, width) => {
|
|
72806
72818
|
if (!Number.isFinite(width)) {
|
|
72807
72819
|
throw new RangeError(`The ${pane} pane width must be a finite number of pixels, not ${width}.`);
|
|
@@ -72818,6 +72830,7 @@ var assertValidConfig = /* @__PURE__ */ __name((config) => {
|
|
|
72818
72830
|
if (config.notFoundView && !config.views.some((view) => view.id === config.notFoundView)) {
|
|
72819
72831
|
throw new Error(`The not-found view "${config.notFoundView}" must be one of the configured views.`);
|
|
72820
72832
|
}
|
|
72833
|
+
if (config.asideWidth !== void 0) assertFinitePaneWidth("aside", config.asideWidth);
|
|
72821
72834
|
if (config.activityLog?.width !== void 0) assertFinitePaneWidth("activity", config.activityLog.width);
|
|
72822
72835
|
if (config.assistant?.width !== void 0) assertFinitePaneWidth("assistant", config.assistant.width);
|
|
72823
72836
|
assertAsideAvailable(config.aside, config.assistant);
|
|
@@ -72831,27 +72844,18 @@ var assertValidConfig = /* @__PURE__ */ __name((config) => {
|
|
|
72831
72844
|
const locale = config.labels?.locale;
|
|
72832
72845
|
if (locale !== void 0) assertValidLocale(locale);
|
|
72833
72846
|
}, "assertValidConfig");
|
|
72847
|
+
var shellPaneOf = /* @__PURE__ */ __name((pane) => pane === "secondary" ? "secondary" : "aside", "shellPaneOf");
|
|
72834
72848
|
var resizablePanes = {
|
|
72835
72849
|
secondary: {
|
|
72836
72850
|
elementId: "secondary-menu",
|
|
72837
72851
|
side: "start",
|
|
72838
|
-
handleLabel: "resizeSecondary",
|
|
72839
72852
|
defaultWidth: 240,
|
|
72840
72853
|
minWidth: 180,
|
|
72841
72854
|
maxWidth: 400
|
|
72842
72855
|
},
|
|
72843
|
-
|
|
72844
|
-
elementId: sidePanelId,
|
|
72845
|
-
side: "end",
|
|
72846
|
-
handleLabel: "resizeActivity",
|
|
72847
|
-
defaultWidth: 280,
|
|
72848
|
-
minWidth: 240,
|
|
72849
|
-
maxWidth: 480
|
|
72850
|
-
},
|
|
72851
|
-
assistant: {
|
|
72856
|
+
aside: {
|
|
72852
72857
|
elementId: sidePanelId,
|
|
72853
72858
|
side: "end",
|
|
72854
|
-
handleLabel: "resizeAssistant",
|
|
72855
72859
|
defaultWidth: 400,
|
|
72856
72860
|
minWidth: 320,
|
|
72857
72861
|
maxWidth: 640
|
|
@@ -72973,8 +72977,7 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
72973
72977
|
__publicField(this, "shortcuts", []);
|
|
72974
72978
|
__privateAdd(this, _paneWidths, __runInitializers(_init96, 260, this, {
|
|
72975
72979
|
secondary: resizablePanes.secondary.defaultWidth,
|
|
72976
|
-
|
|
72977
|
-
assistant: resizablePanes.assistant.defaultWidth
|
|
72980
|
+
aside: resizablePanes.aside.defaultWidth
|
|
72978
72981
|
})), __runInitializers(_init96, 263, this);
|
|
72979
72982
|
__publicField(this, "navigationQueue", Promise.resolve(true));
|
|
72980
72983
|
__publicField(this, "routingGeneration", 0);
|
|
@@ -73231,7 +73234,7 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
73231
73234
|
}}
|
|
73232
73235
|
></dees-appui-bottombar>
|
|
73233
73236
|
</div>
|
|
73234
|
-
${this.
|
|
73237
|
+
${this.isPaneResizable("aside") ? this.renderPaneHandle("aside") : ""}
|
|
73235
73238
|
<aside
|
|
73236
73239
|
id=${sidePanelId}
|
|
73237
73240
|
class="side-panel"
|
|
@@ -73260,14 +73263,14 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
73260
73263
|
`;
|
|
73261
73264
|
}
|
|
73262
73265
|
/**
|
|
73263
|
-
* The shell's tracks: the workspace, and the side panel at
|
|
73264
|
-
*
|
|
73265
|
-
*
|
|
73266
|
-
* workspace instead.
|
|
73266
|
+
* The shell's tracks: the workspace, and the side panel at its width while it
|
|
73267
|
+
* shows a tool. Showing and closing the panel move that last track, through
|
|
73268
|
+
* the shell's transition; switching tools leaves it where it is. The compact
|
|
73269
|
+
* panel covers the workspace instead.
|
|
73267
73270
|
*/
|
|
73268
73271
|
shellColumns() {
|
|
73269
73272
|
if (this.compact) return "minmax(0, 1fr)";
|
|
73270
|
-
return `minmax(0, 1fr) ${this.aside ?
|
|
73273
|
+
return `minmax(0, 1fr) ${this.aside ? "var(--dees-appui-aside-width)" : "0px"}`;
|
|
73271
73274
|
}
|
|
73272
73275
|
/** The workspace's tracks: one column when compact, else each shown menu and the content. */
|
|
73273
73276
|
gridColumns() {
|
|
@@ -73306,7 +73309,7 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
73306
73309
|
`;
|
|
73307
73310
|
}
|
|
73308
73311
|
/**
|
|
73309
|
-
* A tool's place in the side panel, at the
|
|
73312
|
+
* A tool's place in the side panel, at the panel's width. Both places stay
|
|
73310
73313
|
* mounted; the one the panel does not hold is inert. A tool that asks to
|
|
73311
73314
|
* close the panel asks here.
|
|
73312
73315
|
*/
|
|
@@ -73325,14 +73328,14 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
73325
73328
|
* once; a size that settles is reported to the host.
|
|
73326
73329
|
*/
|
|
73327
73330
|
renderPaneHandle(pane) {
|
|
73328
|
-
const { elementId, side,
|
|
73331
|
+
const { elementId, side, defaultWidth, minWidth, maxWidth } = resizablePanes[pane];
|
|
73329
73332
|
return b`
|
|
73330
73333
|
<dees-resize-handle
|
|
73331
73334
|
class="pane-handle"
|
|
73332
73335
|
data-pane=${pane}
|
|
73333
73336
|
aria-controls=${elementId}
|
|
73334
73337
|
.primary=${side}
|
|
73335
|
-
.label=${this.word(
|
|
73338
|
+
.label=${this.word(this.paneHandleLabel(pane))}
|
|
73336
73339
|
.hint=${this.word("resizeReset")}
|
|
73337
73340
|
.value=${this.paneWidths[pane]}
|
|
73338
73341
|
.min=${minWidth}
|
|
@@ -73888,7 +73891,6 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
73888
73891
|
const content = assistant?.content;
|
|
73889
73892
|
const replaced = content !== this.assistantConfig?.content;
|
|
73890
73893
|
this.assistantConfig = assistant;
|
|
73891
|
-
if (assistant?.width !== void 0) this.applyPaneWidth("assistant", assistant.width);
|
|
73892
73894
|
if (!replaced) return;
|
|
73893
73895
|
this.handFocusOutOf("assistant");
|
|
73894
73896
|
this.assistantElement = typeof content === "function" ? void 0 : content;
|
|
@@ -74134,29 +74136,43 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
74134
74136
|
// PROGRAMMATIC API: LAYOUT
|
|
74135
74137
|
// ==========================================
|
|
74136
74138
|
/**
|
|
74137
|
-
* Size a pane — `secondary`, the section menu, `
|
|
74138
|
-
*
|
|
74139
|
-
*
|
|
74140
|
-
*
|
|
74139
|
+
* Size a pane — `secondary`, the section menu, or `aside`, the side panel,
|
|
74140
|
+
* whichever tool it shows — in CSS pixels, clamped to the pane's range and
|
|
74141
|
+
* rounded to whole pixels. The width lands at once, even while the pane is
|
|
74142
|
+
* hidden or collapsed, and the configured storage keeps it. Nothing is
|
|
74141
74143
|
* emitted: `pane-resize` reports what a reader did, so a host restoring a
|
|
74142
|
-
* width of its own never hears it echoed back.
|
|
74144
|
+
* width of its own never hears it echoed back. `activity` and `assistant`
|
|
74145
|
+
* are deprecated names of `aside`: they size the one side panel.
|
|
74143
74146
|
*/
|
|
74144
74147
|
setPaneWidth(pane, width) {
|
|
74145
74148
|
assertFinitePaneWidth(pane, width);
|
|
74146
|
-
|
|
74147
|
-
this.
|
|
74149
|
+
const shellPane = shellPaneOf(pane);
|
|
74150
|
+
this.applyPaneWidth(shellPane, width);
|
|
74151
|
+
this.storePaneWidth(shellPane);
|
|
74148
74152
|
}
|
|
74149
|
-
/**
|
|
74153
|
+
/**
|
|
74154
|
+
* A pane's width in CSS pixels, kept while the pane is hidden or collapsed.
|
|
74155
|
+
* `activity` and `assistant` are deprecated names of `aside`: both answer
|
|
74156
|
+
* the side panel's one width.
|
|
74157
|
+
*/
|
|
74150
74158
|
getPaneWidth(pane) {
|
|
74151
|
-
return this.paneWidths[pane];
|
|
74159
|
+
return this.paneWidths[shellPaneOf(pane)];
|
|
74152
74160
|
}
|
|
74153
74161
|
/**
|
|
74154
74162
|
* A pane can be resized while it stands open beside the content, never as a
|
|
74155
|
-
* compact drawer or overlay;
|
|
74163
|
+
* compact drawer or overlay; the side panel while it shows a tool.
|
|
74156
74164
|
*/
|
|
74157
74165
|
isPaneResizable(pane) {
|
|
74158
74166
|
if (this.compact) return false;
|
|
74159
|
-
return pane === "secondary" ? this.secondaryMenuShown(this.chromeOnScreen()) && !this.secondarymenuCollapsed : this.aside
|
|
74167
|
+
return pane === "secondary" ? this.secondaryMenuShown(this.chromeOnScreen()) && !this.secondarymenuCollapsed : this.aside !== null;
|
|
74168
|
+
}
|
|
74169
|
+
/**
|
|
74170
|
+
* The words a pane's handle is named with. The side panel's names the tool a
|
|
74171
|
+
* reader sees beside it; either way it sizes the panel.
|
|
74172
|
+
*/
|
|
74173
|
+
paneHandleLabel(pane) {
|
|
74174
|
+
if (pane === "secondary") return "resizeSecondary";
|
|
74175
|
+
return this.asideTool === "activity" ? "resizeActivity" : "resizeAssistant";
|
|
74160
74176
|
}
|
|
74161
74177
|
/** The one writer of the pane widths, whoever asks: a handle, `setPaneWidth()`, `configure()` or the storage. */
|
|
74162
74178
|
applyPaneWidth(pane, width) {
|
|
@@ -74168,17 +74184,21 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
74168
74184
|
}
|
|
74169
74185
|
/**
|
|
74170
74186
|
* Puts the pane widths on the host as `--dees-appui-<pane>-width`, where the
|
|
74171
|
-
* grid, the panes and anybody reading the layout find them
|
|
74172
|
-
*
|
|
74173
|
-
*
|
|
74174
|
-
*
|
|
74175
|
-
*
|
|
74187
|
+
* grid, the panes and anybody reading the layout find them, the side panel's
|
|
74188
|
+
* also under the deprecated names `--dees-appui-activity-width` and
|
|
74189
|
+
* `--dees-appui-assistant-width`. The tracks and the section menu animate a
|
|
74190
|
+
* pane being shown or collapsed, but a width lands at once: `resizing`
|
|
74191
|
+
* switches those transitions off, and because a transition is decided when
|
|
74192
|
+
* styles resolve, the styles are resolved before `resizing` goes.
|
|
74176
74193
|
*/
|
|
74177
74194
|
writePaneWidths() {
|
|
74178
74195
|
this.toggleAttribute("resizing", true);
|
|
74179
74196
|
for (const [pane, width] of Object.entries(this.paneWidths)) {
|
|
74180
74197
|
this.style.setProperty(`--dees-appui-${pane}-width`, `${width}px`);
|
|
74181
74198
|
}
|
|
74199
|
+
for (const tool of ["activity", "assistant"]) {
|
|
74200
|
+
this.style.setProperty(`--dees-appui-${tool}-width`, `${this.paneWidths.aside}px`);
|
|
74201
|
+
}
|
|
74182
74202
|
void getComputedStyle(this).display;
|
|
74183
74203
|
this.toggleAttribute("resizing", false);
|
|
74184
74204
|
}
|
|
@@ -74188,12 +74208,14 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
74188
74208
|
}
|
|
74189
74209
|
/**
|
|
74190
74210
|
* A reader settled a pane at a new width: the configured storage keeps it,
|
|
74191
|
-
* and the host hears it once, to keep it or to follow it.
|
|
74211
|
+
* and the host hears it once, to keep it or to follow it. The side panel is
|
|
74212
|
+
* reported under the name of the tool it shows, as hosts written while each
|
|
74213
|
+
* tool had a width of its own expect; either name is the panel's one width.
|
|
74192
74214
|
*/
|
|
74193
74215
|
reportPaneResize(pane) {
|
|
74194
74216
|
this.storePaneWidth(pane);
|
|
74195
74217
|
this.dispatchEvent(new CustomEvent("pane-resize", {
|
|
74196
|
-
detail: { pane, width: this.paneWidths[pane] },
|
|
74218
|
+
detail: { pane: pane === "aside" ? this.asideTool : pane, width: this.paneWidths[pane] },
|
|
74197
74219
|
bubbles: true,
|
|
74198
74220
|
composed: true
|
|
74199
74221
|
}));
|
|
@@ -74543,8 +74565,11 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
74543
74565
|
* `bottomBar` section replaces the bar's widgets and actions, the assistant
|
|
74544
74566
|
* is this call's or none, the side panel shows what `aside` says, the labels
|
|
74545
74567
|
* and the storage are this call's or none, and routing starts over. What the
|
|
74546
|
-
* storage holds wins over what the call sets, and nothing is written
|
|
74547
|
-
*
|
|
74568
|
+
* storage holds wins over what the call sets, and nothing is written but,
|
|
74569
|
+
* once, a side panel width the storage still keeps under a tool's old key,
|
|
74570
|
+
* which moves to the panel's own. The side panel's first width is
|
|
74571
|
+
* `asideWidth`, else the deprecated `assistant.width`, else the deprecated
|
|
74572
|
+
* `activityLog.width`. A configuration it cannot honour — a `notFoundView` that is not among
|
|
74548
74573
|
* `views`, a location base URL of another app, a width that is no finite
|
|
74549
74574
|
* number, `aside: 'assistant'` without an assistant, an assistant shortcut
|
|
74550
74575
|
* that names no key, `restoreLastView` without `storage`, a labels `locale`
|
|
@@ -74596,8 +74621,9 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
74596
74621
|
if (config.activityLog) {
|
|
74597
74622
|
this.activityLogToggleVisible = config.activityLog.toggle ?? true;
|
|
74598
74623
|
if (config.activityLog.live !== void 0) this.activityLogLive = config.activityLog.live;
|
|
74599
|
-
if (config.activityLog.width !== void 0) this.applyPaneWidth("activity", config.activityLog.width);
|
|
74600
74624
|
}
|
|
74625
|
+
const asideWidth = configuredAsideWidth(config);
|
|
74626
|
+
if (asideWidth !== void 0) this.applyPaneWidth("aside", asideWidth);
|
|
74601
74627
|
this.applyAssistantConfig(config.assistant);
|
|
74602
74628
|
this.applyAside(config.aside ?? null);
|
|
74603
74629
|
this.storage?.retire();
|
|
@@ -74632,8 +74658,9 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
74632
74658
|
* for a host whose storage scope changes while the shell runs: a reader who
|
|
74633
74659
|
* switches to another set of books, whose tray tabs are that set's. The
|
|
74634
74660
|
* shell reads what it restores from the new storage, as `configure()` does,
|
|
74635
|
-
* and writes nothing
|
|
74636
|
-
*
|
|
74661
|
+
* and writes nothing but, once, a side panel width the storage still keeps
|
|
74662
|
+
* under a tool's old key: the layout (both menus' collapse, the pane widths,
|
|
74663
|
+
* the side panel), where a key the new storage does not hold keeps what the shell
|
|
74637
74664
|
* shows, and, where the tray is offered, the tray's tabs, which belong to the
|
|
74638
74665
|
* storage: the tray empties at once and shows the new storage's tabs, or none.
|
|
74639
74666
|
* The last view is not read; the route stays. From here on every change is
|
|
@@ -74656,7 +74683,9 @@ var _DeesAppui = class _DeesAppui extends (_a95 = DeesElement, _appbarMenuItems_
|
|
|
74656
74683
|
/**
|
|
74657
74684
|
* What a reader left the layout at, read from the configured storage over
|
|
74658
74685
|
* what the configuration set: both menus' collapse, the pane widths and what
|
|
74659
|
-
* the side panel shows. A
|
|
74686
|
+
* the side panel shows. A side panel width kept only under a tool's key from
|
|
74687
|
+
* before the panel had one width is taken once and kept under the panel's
|
|
74688
|
+
* (`ShellStorage.restore()`). A stored assistant the configuration no longer
|
|
74660
74689
|
* offers is stale, not an error, and leaves the panel as configured.
|
|
74661
74690
|
* Resolves once the storage answered every key.
|
|
74662
74691
|
*/
|
|
@@ -75719,11 +75748,11 @@ __publicField(_DeesAppui, "styles", [
|
|
|
75719
75748
|
}
|
|
75720
75749
|
|
|
75721
75750
|
/* The side panel fills the shell's last track and clips what does not
|
|
75722
|
-
fit it, so the track reveals the panel as it slides in while
|
|
75723
|
-
keeps the width
|
|
75724
|
-
|
|
75725
|
-
|
|
75726
|
-
|
|
75751
|
+
fit it, so the track reveals the panel as it slides in while what it
|
|
75752
|
+
holds keeps the panel's width: nothing in it reflows with the track.
|
|
75753
|
+
It clips rather than hides its overflow, which would make it a scroll
|
|
75754
|
+
container that focusing a tool mid-slide could scroll. Closed and slid
|
|
75755
|
+
out, it leaves the rendering. */
|
|
75727
75756
|
.side-panel {
|
|
75728
75757
|
position: relative;
|
|
75729
75758
|
grid-area: 1 / 2;
|
|
@@ -75744,25 +75773,16 @@ __publicField(_DeesAppui, "styles", [
|
|
|
75744
75773
|
/* The panel's own rows, which continue the bars it stands beside: a
|
|
75745
75774
|
header as tall as the app bar and a footer as tall as the bottom bar,
|
|
75746
75775
|
drawing their lines where the bars draw theirs, and the tool between. */
|
|
75747
|
-
/*
|
|
75748
|
-
does not reflow, and
|
|
75749
|
-
the narrower tool keeps the header across the panel while it
|
|
75750
|
-
narrows. */
|
|
75776
|
+
/* At the panel's width whichever tool it holds, so the panel slides over
|
|
75777
|
+
a frame that does not reflow, and a switch moves nothing. */
|
|
75751
75778
|
.side-frame {
|
|
75752
75779
|
justify-self: start;
|
|
75753
75780
|
display: grid;
|
|
75754
75781
|
grid-template: auto minmax(0, 1fr) auto / minmax(0, 1fr);
|
|
75782
|
+
width: var(--dees-appui-aside-width);
|
|
75755
75783
|
min-height: 0;
|
|
75756
75784
|
}
|
|
75757
75785
|
|
|
75758
|
-
.side-frame[data-tool='activity'] {
|
|
75759
|
-
width: max(100%, var(--dees-appui-activity-width));
|
|
75760
|
-
}
|
|
75761
|
-
|
|
75762
|
-
.side-frame[data-tool='assistant'] {
|
|
75763
|
-
width: max(100%, var(--dees-appui-assistant-width));
|
|
75764
|
-
}
|
|
75765
|
-
|
|
75766
75786
|
.side-header,
|
|
75767
75787
|
.side-footer {
|
|
75768
75788
|
display: flex;
|
|
@@ -75890,29 +75910,25 @@ __publicField(_DeesAppui, "styles", [
|
|
|
75890
75910
|
min-height: 0;
|
|
75891
75911
|
}
|
|
75892
75912
|
|
|
75893
|
-
/* Both tools share one place and stay mounted and
|
|
75894
|
-
keeps a draft, a scroll position and a stream, and
|
|
75895
|
-
size fall to nothing. The tool the panel
|
|
75896
|
-
transparent: transparency hides all it
|
|
75897
|
-
would let a descendant that declares
|
|
75898
|
-
drawer, show through. */
|
|
75913
|
+
/* Both tools share one place at the panel's width and stay mounted and
|
|
75914
|
+
laid out: a switch keeps a draft, a scroll position and a stream, and
|
|
75915
|
+
no tool sees its size change or fall to nothing. The tool the panel
|
|
75916
|
+
does not hold is inert and transparent: transparency hides all it
|
|
75917
|
+
contains, where visibility would let a descendant that declares
|
|
75918
|
+
itself visible, such as an open drawer, show through. */
|
|
75899
75919
|
.side-tool {
|
|
75900
75920
|
grid-area: 1 / 1;
|
|
75901
75921
|
justify-self: start;
|
|
75902
75922
|
display: grid;
|
|
75903
75923
|
grid-template: minmax(0, 1fr) / minmax(0, 1fr);
|
|
75924
|
+
width: var(--dees-appui-aside-width);
|
|
75904
75925
|
min-height: 0;
|
|
75905
75926
|
}
|
|
75906
75927
|
|
|
75907
|
-
.side-tool[data-tool='activity'] {
|
|
75908
|
-
width: var(--dees-appui-activity-width);
|
|
75909
|
-
}
|
|
75910
|
-
|
|
75911
75928
|
/* The activity log draws the edge it shares with the content; an
|
|
75912
75929
|
assistant does not know it stands beside the content, so its place
|
|
75913
75930
|
draws that edge. */
|
|
75914
75931
|
.side-tool[data-tool='assistant'] {
|
|
75915
|
-
width: var(--dees-appui-assistant-width);
|
|
75916
75932
|
border-inline-start: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
|
|
75917
75933
|
}
|
|
75918
75934
|
|
|
@@ -137051,7 +137067,7 @@ var bright = {
|
|
|
137051
137067
|
// ts_web/00_commitinfo_data.ts
|
|
137052
137068
|
var commitinfo = {
|
|
137053
137069
|
name: "@design.estate/dees-catalog",
|
|
137054
|
-
version: "24.
|
|
137070
|
+
version: "24.4.0",
|
|
137055
137071
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
137056
137072
|
};
|
|
137057
137073
|
export {
|