@design.estate/dees-catalog 21.37.0 → 21.38.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 +396 -294
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-NJSNFLQO.js → chunk-H5AZRDKM.js} +31 -12
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-NJSNFLQO.js.map → chunk-H5AZRDKM.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-LSCUUCAI.js → chunk-MFMMXJXV.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-T7SYOP3V.js → dees-modal-IBYJBCAQ.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-FE7RIZKQ.js → dees-workspace-terminal-EVDB2ODT.js} +3 -3
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00anchorplacement.d.ts +1 -1
- package/dist_ts_web/elements/00anchorplacement.js +37 -6
- package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.d.ts +10 -0
- package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.js +111 -62
- package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.js +5 -1
- package/dist_ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.d.ts +5 -0
- package/dist_ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.js +271 -210
- package/dist_ts_web/elements/00group-overlay/dees-modal/dees-modal.d.ts +12 -6
- package/dist_ts_web/elements/00group-overlay/dees-modal/dees-modal.js +14 -8
- package/package.json +1 -1
- package/readme.md +23 -8
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00anchorplacement.ts +37 -5
- package/ts_web/elements/00group-input/dees-input-tags/dees-input-tags.ts +112 -58
- package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts +4 -0
- package/ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.ts +318 -262
- package/ts_web/elements/00group-overlay/dees-modal/dees-modal.ts +19 -10
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-LSCUUCAI.js.map → chunk-MFMMXJXV.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-T7SYOP3V.js.map → dees-modal-IBYJBCAQ.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-FE7RIZKQ.js.map → dees-workspace-terminal-EVDB2ODT.js.map} +0 -0
|
@@ -59539,6 +59539,22 @@ var parentAcrossShadow = /* @__PURE__ */ __name((elementArg) => {
|
|
|
59539
59539
|
const root5 = elementArg.getRootNode();
|
|
59540
59540
|
return root5 instanceof ShadowRoot && root5.host instanceof HTMLElement ? root5.host : null;
|
|
59541
59541
|
}, "parentAcrossShadow");
|
|
59542
|
+
var holdsFixed = /* @__PURE__ */ __name((styleArg) => [styleArg.transform, styleArg.translate, styleArg.rotate, styleArg.scale, styleArg.perspective, styleArg.filter, styleArg.backdropFilter].some((value) => value !== "none") || /layout|paint|strict|content/.test(styleArg.contain) || /size/.test(styleArg.containerType) || /auto|hidden/.test(styleArg.contentVisibility) || /transform|translate|rotate|scale|perspective|filter/.test(styleArg.willChange), "holdsFixed");
|
|
59543
|
+
var holdsAbsolute = /* @__PURE__ */ __name((styleArg) => styleArg.position !== "static" || holdsFixed(styleArg), "holdsAbsolute");
|
|
59544
|
+
var inTopLayer = /* @__PURE__ */ __name((elementArg) => elementArg.matches(":modal, :popover-open"), "inTopLayer");
|
|
59545
|
+
function* holdingAncestors(elementArg) {
|
|
59546
|
+
if (inTopLayer(elementArg)) return;
|
|
59547
|
+
let position2 = getComputedStyle(elementArg).position;
|
|
59548
|
+
for (let ancestor = parentAcrossShadow(elementArg); ancestor; ancestor = parentAcrossShadow(ancestor)) {
|
|
59549
|
+
const style = getComputedStyle(ancestor);
|
|
59550
|
+
if (position2 === "absolute" && !holdsAbsolute(style)) continue;
|
|
59551
|
+
if (position2 === "fixed" && !holdsFixed(style)) continue;
|
|
59552
|
+
yield { ancestor, style };
|
|
59553
|
+
if (inTopLayer(ancestor)) return;
|
|
59554
|
+
position2 = style.position;
|
|
59555
|
+
}
|
|
59556
|
+
}
|
|
59557
|
+
__name(holdingAncestors, "holdingAncestors");
|
|
59542
59558
|
var visibleRect = /* @__PURE__ */ __name((elementArg) => {
|
|
59543
59559
|
if (!elementArg.isConnected || !elementArg.getClientRects().length) return null;
|
|
59544
59560
|
const box = elementArg.getBoundingClientRect();
|
|
@@ -59548,9 +59564,8 @@ var visibleRect = /* @__PURE__ */ __name((elementArg) => {
|
|
|
59548
59564
|
right: Math.min(box.right, window.innerWidth),
|
|
59549
59565
|
bottom: Math.min(box.bottom, window.innerHeight)
|
|
59550
59566
|
};
|
|
59551
|
-
for (
|
|
59567
|
+
for (const { ancestor, style } of holdingAncestors(elementArg)) {
|
|
59552
59568
|
if (visible.right <= visible.left || visible.bottom <= visible.top) return null;
|
|
59553
|
-
const style = getComputedStyle(ancestor);
|
|
59554
59569
|
if (!/(auto|scroll|hidden|clip)/.test(`${style.overflowX} ${style.overflowY}`)) continue;
|
|
59555
59570
|
const clip = ancestor.getBoundingClientRect();
|
|
59556
59571
|
visible = {
|
|
@@ -59564,8 +59579,7 @@ var visibleRect = /* @__PURE__ */ __name((elementArg) => {
|
|
|
59564
59579
|
}, "visibleRect");
|
|
59565
59580
|
var scrollAncestors = /* @__PURE__ */ __name((elementArg) => {
|
|
59566
59581
|
const found = [];
|
|
59567
|
-
for (
|
|
59568
|
-
const style = getComputedStyle(ancestor);
|
|
59582
|
+
for (const { ancestor, style } of holdingAncestors(elementArg)) {
|
|
59569
59583
|
if (/(auto|scroll|hidden|overlay)/.test(`${style.overflowX} ${style.overflowY}`)) found.push(ancestor);
|
|
59570
59584
|
}
|
|
59571
59585
|
found.push(window);
|
|
@@ -63577,7 +63591,10 @@ _DeesModal_decorators = [customElement("dees-modal")];
|
|
|
63577
63591
|
var _DeesModal = class _DeesModal extends (_a19 = DeesElement, _subheading_dec = [n5({ type: String, reflect: true })], _description_dec2 = [n5({ attribute: false })], _sidebar_dec = [n5({ attribute: false })], _heading_dec = [n5({
|
|
63578
63592
|
type: String,
|
|
63579
63593
|
reflect: true
|
|
63580
|
-
})], _content_dec = [r5({})], _menuOptions_dec = [r5({})], _width_dec2 = [n5({ type: String, reflect: true })], _height_dec = [n5({
|
|
63594
|
+
})], _content_dec = [r5({})], _menuOptions_dec = [r5({})], _width_dec2 = [n5({ type: String, reflect: true })], _height_dec = [n5({
|
|
63595
|
+
reflect: true,
|
|
63596
|
+
converter: { fromAttribute: /* @__PURE__ */ __name((value) => value === null ? void 0 : value === "max" ? "max" : Number(value), "fromAttribute") }
|
|
63597
|
+
})], _maxWidth_dec = [n5({ type: Number, reflect: true })], _minWidth_dec = [n5({ type: Number, reflect: true })], _showCloseButton_dec = [n5({ type: Boolean, reflect: true })], _showHelpButton_dec = [n5({ type: Boolean, reflect: true })], _onHelp_dec = [n5({ attribute: false })], _beforeClose_dec = [n5({ attribute: false })], _questionOnly_dec = [r5()], _mobileFullscreen_dec = [n5({ type: Boolean, reflect: true })], _contentPadding_dec = [n5({ type: Number, reflect: true })], _primaryActionType_dec2 = [n5({ type: String, reflect: true })], _modalZIndex_dec = [r5()], _promptPending_dec = [r5()], _a19) {
|
|
63581
63598
|
constructor() {
|
|
63582
63599
|
super();
|
|
63583
63600
|
// INSTANCE
|
|
@@ -63750,7 +63767,7 @@ var _DeesModal = class _DeesModal extends (_a19 = DeesElement, _subheading_dec =
|
|
|
63750
63767
|
const widthClass = typeof this.width === "string" ? `width-${this.width}` : "";
|
|
63751
63768
|
const sizing = [
|
|
63752
63769
|
typeof this.width === "number" ? `--modal-width:${this.width}px` : "",
|
|
63753
|
-
this.height !== void 0 ? `--modal-height:${this.height}px` : "",
|
|
63770
|
+
this.height === "max" ? "--modal-height:100%" : this.height !== void 0 ? `--modal-height:${this.height}px` : "",
|
|
63754
63771
|
this.maxWidth ? `--modal-max-width:${this.maxWidth}px` : "",
|
|
63755
63772
|
this.minWidth ? `--modal-min-width:${this.minWidth}px` : ""
|
|
63756
63773
|
].join(";");
|
|
@@ -63871,16 +63888,18 @@ var _DeesModal = class _DeesModal extends (_a19 = DeesElement, _subheading_dec =
|
|
|
63871
63888
|
this.destroyPromise = this.closeAndRemove();
|
|
63872
63889
|
}
|
|
63873
63890
|
/**
|
|
63874
|
-
* Enter in the last field of a form
|
|
63875
|
-
* action (drawn as the primary button), as a click on it would.
|
|
63891
|
+
* Enter in the last field of a form the dialog holds runs the dialog's
|
|
63892
|
+
* primary action (drawn as the primary button), as a click on it would.
|
|
63876
63893
|
* While an action runs, or a prompt confirms, the request is answered and
|
|
63877
|
-
* nothing else starts.
|
|
63894
|
+
* nothing else starts. The request never leaves the dialog; a form without a
|
|
63895
|
+
* primary to run (a dialog without actions, a form a host inside the dialog
|
|
63896
|
+
* holds, such as a stepper's step) submits itself.
|
|
63878
63897
|
*/
|
|
63879
63898
|
handleFormSubmitRequest(eventArg) {
|
|
63899
|
+
eventArg.stopPropagation();
|
|
63880
63900
|
const footer2 = this.actionFooter;
|
|
63881
|
-
if (!footer2?.primaryAction) return;
|
|
63901
|
+
if (!footer2?.primaryAction || !this.formGate.holds(eventArg.composedPath()[0])) return;
|
|
63882
63902
|
eventArg.preventDefault();
|
|
63883
|
-
eventArg.stopPropagation();
|
|
63884
63903
|
void footer2.runPrimary();
|
|
63885
63904
|
}
|
|
63886
63905
|
async handleOutsideClick(eventArg) {
|
|
@@ -66014,4 +66033,4 @@ lucide/dist/esm/lucide.js:
|
|
|
66014
66033
|
* See the LICENSE file in the root directory of this source tree.
|
|
66015
66034
|
*)
|
|
66016
66035
|
*/
|
|
66017
|
-
//# sourceMappingURL=chunk-
|
|
66036
|
+
//# sourceMappingURL=chunk-H5AZRDKM.js.map
|