@design.estate/dees-catalog 21.48.0 → 21.49.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 +143 -154
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-QG5BHDQO.js → chunk-2O2L36Y3.js} +91 -69
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-QG5BHDQO.js.map → chunk-2O2L36Y3.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-Q5VY4AV7.js → chunk-DTFC5CU3.js} +493 -34
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-DTFC5CU3.js.map +1 -0
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-YOGT7PSU.js → dees-modal-4DMZSC7L.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-ORLONA36.js → dees-workspace-terminal-DM23WG2C.js} +3 -3
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-appui/dees-appui-activitylog/dees-appui-activitylog.d.ts +2 -0
- package/dist_ts_web/elements/00group-appui/dees-appui-activitylog/dees-appui-activitylog.js +5 -20
- package/dist_ts_web/elements/00group-appui/dees-appui-mainmenu/dees-appui-mainmenu.d.ts +2 -0
- package/dist_ts_web/elements/00group-appui/dees-appui-mainmenu/dees-appui-mainmenu.js +5 -18
- package/dist_ts_web/elements/00group-appui/dees-appui-secondarymenu/dees-appui-secondarymenu.d.ts +2 -0
- package/dist_ts_web/elements/00group-appui/dees-appui-secondarymenu/dees-appui-secondarymenu.js +5 -18
- package/dist_ts_web/elements/00group-appui/dees-appui-tabs/dees-appui-tabs.d.ts +2 -0
- package/dist_ts_web/elements/00group-appui/dees-appui-tabs/dees-appui-tabs.js +10 -33
- package/dist_ts_web/elements/00group-feedback/dees-progressbar/dees-progressbar.d.ts +2 -0
- package/dist_ts_web/elements/00group-feedback/dees-progressbar/dees-progressbar.js +6 -14
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.d.ts +11 -4
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.demo.js +1 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.js +61 -25
- package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.d.ts +2 -0
- package/dist_ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.js +14 -4
- package/dist_ts_web/elements/00group-harness/harness.markdown.d.ts +7 -0
- package/dist_ts_web/elements/00group-harness/harness.markdown.js +11 -2
- package/dist_ts_web/elements/00group-harness/index.d.ts +1 -1
- package/dist_ts_web/elements/00group-harness/index.js +2 -2
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown-popup.d.ts +2 -0
- package/dist_ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown-popup.js +5 -18
- package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.d.ts +2 -0
- package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.js +14 -23
- package/dist_ts_web/elements/00group-input/dees-input-wysiwyg/blocks/text/code.block.js +7 -19
- package/dist_ts_web/elements/00group-input/dees-input-wysiwyg/wysiwyg.markdown.view.d.ts +3 -0
- package/dist_ts_web/elements/00group-input/dees-input-wysiwyg/wysiwyg.markdown.view.js +15 -1
- package/dist_ts_web/elements/00scrollbars.d.ts +122 -0
- package/dist_ts_web/elements/00scrollbars.js +545 -0
- package/dist_ts_web/elements/00scrolledges.d.ts +1 -14
- package/dist_ts_web/elements/00scrolledges.js +7 -70
- package/dist_ts_web/elements/00scrollerwatch.d.ts +31 -0
- package/dist_ts_web/elements/00scrollerwatch.js +88 -0
- package/dist_ts_web/elements/index.d.ts +1 -0
- package/dist_ts_web/elements/index.js +3 -1
- package/package.json +1 -1
- package/readme.md +49 -4
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-appui/dees-appui-activitylog/dees-appui-activitylog.ts +8 -19
- package/ts_web/elements/00group-appui/dees-appui-mainmenu/dees-appui-mainmenu.ts +8 -17
- package/ts_web/elements/00group-appui/dees-appui-secondarymenu/dees-appui-secondarymenu.ts +8 -17
- package/ts_web/elements/00group-appui/dees-appui-tabs/dees-appui-tabs.ts +13 -32
- package/ts_web/elements/00group-feedback/dees-progressbar/dees-progressbar.ts +9 -13
- package/ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.demo.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-composer/dees-harness-composer.ts +61 -24
- package/ts_web/elements/00group-harness/dees-harness-message-list/dees-harness-message-list.ts +13 -3
- package/ts_web/elements/00group-harness/harness.markdown.ts +12 -1
- package/ts_web/elements/00group-harness/index.ts +1 -1
- package/ts_web/elements/00group-input/dees-input-dropdown/dees-input-dropdown-popup.ts +8 -17
- package/ts_web/elements/00group-input/dees-input-tags/dees-input-tags.ts +17 -22
- package/ts_web/elements/00group-input/dees-input-wysiwyg/blocks/text/code.block.ts +7 -18
- package/ts_web/elements/00group-input/dees-input-wysiwyg/wysiwyg.markdown.view.ts +14 -0
- package/ts_web/elements/00scrollbars.ts +613 -0
- package/ts_web/elements/00scrolledges.ts +6 -71
- package/ts_web/elements/00scrollerwatch.ts +89 -0
- package/ts_web/elements/index.ts +2 -0
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/chunk-Q5VY4AV7.js.map +0 -1
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-YOGT7PSU.js.map → dees-modal-4DMZSC7L.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-ORLONA36.js.map → dees-workspace-terminal-DM23WG2C.js.map} +0 -0
|
@@ -59823,6 +59823,90 @@ var listenForScrollAround = /* @__PURE__ */ __name((elementArg, handlerArg, sign
|
|
|
59823
59823
|
}
|
|
59824
59824
|
}, "listenForScrollAround");
|
|
59825
59825
|
|
|
59826
|
+
// ts_web/elements/00scrollerwatch.ts
|
|
59827
|
+
var ScrollerWatch = class {
|
|
59828
|
+
constructor(onScroll, onLayout) {
|
|
59829
|
+
this.onScroll = onScroll;
|
|
59830
|
+
this.onLayout = onLayout;
|
|
59831
|
+
}
|
|
59832
|
+
onScroll;
|
|
59833
|
+
onLayout;
|
|
59834
|
+
static {
|
|
59835
|
+
__name(this, "ScrollerWatch");
|
|
59836
|
+
}
|
|
59837
|
+
target = null;
|
|
59838
|
+
resizeObserver;
|
|
59839
|
+
mutationObserver;
|
|
59840
|
+
slots = [];
|
|
59841
|
+
/** The scroller followed now, if any. */
|
|
59842
|
+
get scroller() {
|
|
59843
|
+
return this.target;
|
|
59844
|
+
}
|
|
59845
|
+
/**
|
|
59846
|
+
* Follows `scroller`, or nothing; the same scroller stays followed as it is. Answers whether the
|
|
59847
|
+
* followed scroller changed. A new one is measured at once, through `onLayout`.
|
|
59848
|
+
*/
|
|
59849
|
+
follow(scroller) {
|
|
59850
|
+
if (scroller === this.target) {
|
|
59851
|
+
return false;
|
|
59852
|
+
}
|
|
59853
|
+
this.unfollow();
|
|
59854
|
+
this.target = scroller;
|
|
59855
|
+
if (!scroller) {
|
|
59856
|
+
return true;
|
|
59857
|
+
}
|
|
59858
|
+
scroller.addEventListener("scroll", this.onScroll, { passive: true });
|
|
59859
|
+
this.resizeObserver = new ResizeObserver(() => this.onLayout());
|
|
59860
|
+
this.mutationObserver = new MutationObserver(this.observeContent);
|
|
59861
|
+
this.mutationObserver.observe(scroller, { childList: true });
|
|
59862
|
+
this.observeContent();
|
|
59863
|
+
return true;
|
|
59864
|
+
}
|
|
59865
|
+
unfollow() {
|
|
59866
|
+
this.target?.removeEventListener("scroll", this.onScroll);
|
|
59867
|
+
this.resizeObserver?.disconnect();
|
|
59868
|
+
this.resizeObserver = void 0;
|
|
59869
|
+
this.mutationObserver?.disconnect();
|
|
59870
|
+
this.mutationObserver = void 0;
|
|
59871
|
+
for (const slot of this.slots) {
|
|
59872
|
+
slot.removeEventListener("slotchange", this.observeContent);
|
|
59873
|
+
}
|
|
59874
|
+
this.slots = [];
|
|
59875
|
+
this.target = null;
|
|
59876
|
+
}
|
|
59877
|
+
/**
|
|
59878
|
+
* Observes the scroller and what fills it: the scroll height changes with the size of its
|
|
59879
|
+
* children, and with the elements assigned to a slot among them. Children that come or go are
|
|
59880
|
+
* observed anew, and their coming or going is measured at once, since a child that leaves
|
|
59881
|
+
* resizes nothing that stays.
|
|
59882
|
+
*/
|
|
59883
|
+
observeContent = /* @__PURE__ */ __name(() => {
|
|
59884
|
+
const scroller = this.target;
|
|
59885
|
+
const resizeObserver = this.resizeObserver;
|
|
59886
|
+
if (!scroller || !resizeObserver) {
|
|
59887
|
+
return;
|
|
59888
|
+
}
|
|
59889
|
+
resizeObserver.disconnect();
|
|
59890
|
+
for (const slot of this.slots) {
|
|
59891
|
+
slot.removeEventListener("slotchange", this.observeContent);
|
|
59892
|
+
}
|
|
59893
|
+
this.slots = [];
|
|
59894
|
+
resizeObserver.observe(scroller);
|
|
59895
|
+
for (const child of scroller.children) {
|
|
59896
|
+
if (child instanceof HTMLSlotElement) {
|
|
59897
|
+
this.slots.push(child);
|
|
59898
|
+
child.addEventListener("slotchange", this.observeContent);
|
|
59899
|
+
for (const assigned of child.assignedElements({ flatten: true })) {
|
|
59900
|
+
resizeObserver.observe(assigned);
|
|
59901
|
+
}
|
|
59902
|
+
} else {
|
|
59903
|
+
resizeObserver.observe(child);
|
|
59904
|
+
}
|
|
59905
|
+
}
|
|
59906
|
+
this.onLayout();
|
|
59907
|
+
}, "observeContent");
|
|
59908
|
+
};
|
|
59909
|
+
|
|
59826
59910
|
// ts_web/elements/00scrolledges.ts
|
|
59827
59911
|
var edgeThresholdPx = 1;
|
|
59828
59912
|
var scrollEdgeShadowStyles = i`
|
|
@@ -59925,13 +60009,10 @@ var ScrollEdgeShadowController = class {
|
|
|
59925
60009
|
static {
|
|
59926
60010
|
__name(this, "ScrollEdgeShadowController");
|
|
59927
60011
|
}
|
|
59928
|
-
scroller = null;
|
|
59929
60012
|
connected = false;
|
|
59930
60013
|
topVisible = false;
|
|
59931
60014
|
bottomVisible = false;
|
|
59932
|
-
|
|
59933
|
-
mutationObserver;
|
|
59934
|
-
slots = [];
|
|
60015
|
+
watch = new ScrollerWatch(() => this.sync(), () => this.sync());
|
|
59935
60016
|
/** Whether content lies past the scroller's top edge, so that edge casts its shadow. */
|
|
59936
60017
|
get top() {
|
|
59937
60018
|
return this.topVisible;
|
|
@@ -59945,7 +60026,7 @@ var ScrollEdgeShadowController = class {
|
|
|
59945
60026
|
this.connected = true;
|
|
59946
60027
|
void this.host.updateComplete.then(() => {
|
|
59947
60028
|
if (this.connected) {
|
|
59948
|
-
this.follow();
|
|
60029
|
+
this.watch.follow(this.scrollerArg() ?? null);
|
|
59949
60030
|
this.sync();
|
|
59950
60031
|
}
|
|
59951
60032
|
});
|
|
@@ -59953,13 +60034,13 @@ var ScrollEdgeShadowController = class {
|
|
|
59953
60034
|
/** Every render may change the scroller, its content or where it is scrolled to. */
|
|
59954
60035
|
hostUpdated() {
|
|
59955
60036
|
if (this.connected) {
|
|
59956
|
-
this.follow();
|
|
60037
|
+
this.watch.follow(this.scrollerArg() ?? null);
|
|
59957
60038
|
this.sync();
|
|
59958
60039
|
}
|
|
59959
60040
|
}
|
|
59960
60041
|
hostDisconnected() {
|
|
59961
60042
|
this.connected = false;
|
|
59962
|
-
this.unfollow();
|
|
60043
|
+
this.watch.unfollow();
|
|
59963
60044
|
}
|
|
59964
60045
|
/**
|
|
59965
60046
|
* The bands both edges cast, each visible while content lies past its edge. They go right after
|
|
@@ -59983,7 +60064,7 @@ var ScrollEdgeShadowController = class {
|
|
|
59983
60064
|
* scrolls at the edge does, calls it to show the edges in the same frame.
|
|
59984
60065
|
*/
|
|
59985
60066
|
sync = /* @__PURE__ */ __name(() => {
|
|
59986
|
-
const scroller = this.scroller;
|
|
60067
|
+
const scroller = this.watch.scroller;
|
|
59987
60068
|
const top = !!scroller && scroller.scrollTop > edgeThresholdPx;
|
|
59988
60069
|
const bottom = !!scroller && scroller.scrollTop + scroller.clientHeight < scroller.scrollHeight - edgeThresholdPx;
|
|
59989
60070
|
if (top === this.topVisible && bottom === this.bottomVisible) {
|
|
@@ -59993,66 +60074,6 @@ var ScrollEdgeShadowController = class {
|
|
|
59993
60074
|
this.bottomVisible = bottom;
|
|
59994
60075
|
this.host.requestUpdate();
|
|
59995
60076
|
}, "sync");
|
|
59996
|
-
/** Follows the scroller the host names now; the same scroller stays followed as it is. */
|
|
59997
|
-
follow() {
|
|
59998
|
-
const scroller = this.scrollerArg() ?? null;
|
|
59999
|
-
if (scroller === this.scroller) {
|
|
60000
|
-
return;
|
|
60001
|
-
}
|
|
60002
|
-
this.unfollow();
|
|
60003
|
-
this.scroller = scroller;
|
|
60004
|
-
if (!scroller) {
|
|
60005
|
-
return;
|
|
60006
|
-
}
|
|
60007
|
-
scroller.addEventListener("scroll", this.sync, { passive: true });
|
|
60008
|
-
this.resizeObserver = new ResizeObserver(this.sync);
|
|
60009
|
-
this.mutationObserver = new MutationObserver(this.observeContent);
|
|
60010
|
-
this.mutationObserver.observe(scroller, { childList: true });
|
|
60011
|
-
this.observeContent();
|
|
60012
|
-
}
|
|
60013
|
-
/**
|
|
60014
|
-
* Observes the scroller and what fills it: the scroll height changes with the size of its
|
|
60015
|
-
* children, and with the elements assigned to a slot among them. Children that come or go are
|
|
60016
|
-
* observed anew, and their coming or going is measured at once, since a child that leaves
|
|
60017
|
-
* resizes nothing that stays.
|
|
60018
|
-
*/
|
|
60019
|
-
observeContent = /* @__PURE__ */ __name(() => {
|
|
60020
|
-
const scroller = this.scroller;
|
|
60021
|
-
const resizeObserver = this.resizeObserver;
|
|
60022
|
-
if (!scroller || !resizeObserver) {
|
|
60023
|
-
return;
|
|
60024
|
-
}
|
|
60025
|
-
resizeObserver.disconnect();
|
|
60026
|
-
for (const slot of this.slots) {
|
|
60027
|
-
slot.removeEventListener("slotchange", this.observeContent);
|
|
60028
|
-
}
|
|
60029
|
-
this.slots = [];
|
|
60030
|
-
resizeObserver.observe(scroller);
|
|
60031
|
-
for (const child of scroller.children) {
|
|
60032
|
-
if (child instanceof HTMLSlotElement) {
|
|
60033
|
-
this.slots.push(child);
|
|
60034
|
-
child.addEventListener("slotchange", this.observeContent);
|
|
60035
|
-
for (const assigned of child.assignedElements({ flatten: true })) {
|
|
60036
|
-
resizeObserver.observe(assigned);
|
|
60037
|
-
}
|
|
60038
|
-
} else {
|
|
60039
|
-
resizeObserver.observe(child);
|
|
60040
|
-
}
|
|
60041
|
-
}
|
|
60042
|
-
this.sync();
|
|
60043
|
-
}, "observeContent");
|
|
60044
|
-
unfollow() {
|
|
60045
|
-
this.scroller?.removeEventListener("scroll", this.sync);
|
|
60046
|
-
this.resizeObserver?.disconnect();
|
|
60047
|
-
this.resizeObserver = void 0;
|
|
60048
|
-
this.mutationObserver?.disconnect();
|
|
60049
|
-
this.mutationObserver = void 0;
|
|
60050
|
-
for (const slot of this.slots) {
|
|
60051
|
-
slot.removeEventListener("slotchange", this.observeContent);
|
|
60052
|
-
}
|
|
60053
|
-
this.slots = [];
|
|
60054
|
-
this.scroller = null;
|
|
60055
|
-
}
|
|
60056
60077
|
};
|
|
60057
60078
|
|
|
60058
60079
|
// ts_web/elements/00formgate.ts
|
|
@@ -64447,6 +64468,7 @@ export {
|
|
|
64447
64468
|
actionErrorMessage,
|
|
64448
64469
|
reportActionError,
|
|
64449
64470
|
runAction,
|
|
64471
|
+
ScrollerWatch,
|
|
64450
64472
|
scrollEdgeShadowStyles,
|
|
64451
64473
|
scrollEdgeFadeStyles,
|
|
64452
64474
|
ScrollEdgeShadowController,
|
|
@@ -66271,4 +66293,4 @@ lucide/dist/esm/lucide.js:
|
|
|
66271
66293
|
* See the LICENSE file in the root directory of this source tree.
|
|
66272
66294
|
*)
|
|
66273
66295
|
*/
|
|
66274
|
-
//# sourceMappingURL=chunk-
|
|
66296
|
+
//# sourceMappingURL=chunk-2O2L36Y3.js.map
|