@orangelogic/design-system 2.117.0 → 2.119.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/library/assets/diff.worker-ClilI1xm.js +1 -0
- package/library/chunks/{animation.8MjXJybe.js → animation.hpY88RxG.js} +106 -100
- package/library/chunks/{asset.CIWxY-Aw.js → asset.D_MQwP1C.js} +4 -4
- package/library/chunks/browser.BHOCIF_A.js +84 -0
- package/library/chunks/{button.DwJEeW2t.js → button.bufNNyTc.js} +1 -1
- package/library/chunks/{color-swatch-group.BvLicLI4.js → color-swatch-group.CeazdbIe.js} +6 -6
- package/library/chunks/{color-swatch.DVzEaNeL.js → color-swatch.LEvHo5G_.js} +2 -2
- package/library/chunks/{confirm-popover.BifwpSuf.js → confirm-popover.BLQFU6Hs.js} +3 -3
- package/library/chunks/{content-builder.OsUmm8Wu.js → content-builder.BGzxZUgi.js} +1 -1
- package/library/chunks/debounce.DaHuiSGU.js +15 -0
- package/library/chunks/{dialog.BYCWepBc.js → dialog.DdsJ_WqU.js} +2 -2
- package/library/chunks/{document-viewer.CKCX8ueu.js → document-viewer.B5VtBEEP.js} +7 -7
- package/library/chunks/{dot-pagination.C4l5vKor.js → dot-pagination.Bny2T6DA.js} +1 -1
- package/library/chunks/{endpoints.D4h8hp1m.js → endpoints.6E17hFiK.js} +385 -385
- package/library/chunks/{file-on-demand.AwMj4AfO.js → file-on-demand.DDuWnvmy.js} +10 -10
- package/library/chunks/{folder-select.CrWjwQcw.js → folder-select.D1jO1hB_.js} +295 -203
- package/library/chunks/{header.Cf9ujCpg.js → header.CfiA4TRu.js} +1 -1
- package/library/chunks/{i18n.CH-wak_P.js → i18n.DDj5y9px.js} +106 -11
- package/library/chunks/{icon-button.CQiBjznj.js → icon-button.DOrACmes.js} +1 -1
- package/library/chunks/{iframe.BQPVygBJ.js → iframe.qaVD1n1m.js} +1 -1
- package/library/chunks/{image.cT-FziNS.js → image.BugewF1g.js} +129 -146
- package/library/chunks/{input.CH4lKxPM.js → input.BYj6YXcM.js} +1 -1
- package/library/chunks/keyed.C0rkKrxH.js +22 -0
- package/library/chunks/{list-editor.BfpDIsU5.js → list-editor.D5szxqSM.js} +11 -11
- package/library/chunks/math.DuKzLacZ.js +26 -0
- package/library/chunks/{option.Bvh35v8S.js → option.CnxdM30G.js} +1 -1
- package/library/chunks/{pagination.zQ2FFtxB.js → pagination.Dxig0LoI.js} +6 -6
- package/library/chunks/{responsive.C8NCkfCG.js → responsive.Cf65FCWd.js} +1 -1
- package/library/chunks/{tab-group.DvMX02hY.js → tab-group.CGg9lPLP.js} +3 -3
- package/library/chunks/{table.GCs54Y2t.js → table.BkdcDorc.js} +1471 -1400
- package/library/chunks/{tree.Btf2Q4YZ.js → tree.yYbWIRnc.js} +3 -3
- package/library/components/alert.js +2 -2
- package/library/components/animation.js +1 -1
- package/library/components/asset-link-format.js +8 -8
- package/library/components/atoms.js +144 -142
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +5 -5
- package/library/components/color-swatch-group.js +7 -7
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/diff.d.ts +3 -0
- package/library/components/diff.js +104 -0
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +282 -211
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +11 -11
- package/library/components/folder-select.js +5 -5
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +2 -2
- package/library/components/image.js +5 -4
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +6 -5
- package/library/components/list-editor.js +8 -8
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +7 -7
- package/library/components/popup.js +76 -75
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +3 -3
- package/library/components/rating.js +2 -2
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +33 -32
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +2 -2
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +2 -2
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +2 -2
- package/library/components/table.js +62 -60
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +3 -3
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +35403 -32971
- package/library/components/video.js +3 -3
- package/library/package.json +1 -1
- package/library/packages/atoms/src/animations/index.d.ts +2 -1
- package/library/packages/atoms/src/animations/rotating/rotate.d.ts +4 -0
- package/library/packages/atoms/src/components/diff/diff.d.ts +46 -0
- package/library/packages/atoms/src/components/diff/diff.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/diff/utils/diff-worker-client.d.ts +10 -0
- package/library/packages/atoms/src/components/select/select.d.ts +9 -9
- package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +1 -1
- package/library/packages/atoms/src/components/table/components/index.d.ts +1 -0
- package/library/packages/atoms/src/components/table/components/table-footer/table-footer.d.ts +25 -0
- package/library/packages/atoms/src/components/table/components/table-footer/table-footer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.d.ts +7 -1
- package/library/packages/atoms/src/components/table/table.d.ts +14 -3
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/events/src/cx-capacity-change.d.ts +20 -0
- package/library/packages/events/src/cx-capacity-week-bar.d.ts +26 -0
- package/library/packages/events/src/cx-folder-select-children-loaded.d.ts +10 -0
- package/library/packages/events/src/cx-list-editor-change.d.ts +1 -1
- package/library/packages/events/src/cx-sb-dam-view-config-change.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +4 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/diff.d.ts +5 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters.d.ts +2 -0
- package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +19 -1
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +11 -0
- package/library/packages/organisms/src/capacity-planner/capacity-core.d.ts +81 -0
- package/library/packages/organisms/src/capacity-planner/capacity-planner.d.ts +194 -0
- package/library/packages/organisms/src/capacity-planner/capacity-planner.styles.d.ts +2 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-toolbar/capacity-toolbar.d.ts +35 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-toolbar/capacity-toolbar.styles.d.ts +2 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-week-bar/capacity-week-bar.d.ts +101 -0
- package/library/packages/organisms/src/capacity-planner/components/capacity-week-bar/capacity-week-bar.styles.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/chatbot.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/configs/dam-view.d.ts +66 -0
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +110 -0
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/dam-view.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +7 -3
- package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.d.ts +176 -0
- package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.styles.d.ts +2 -0
- package/library/packages/organisms/src/index.d.ts +2 -0
- package/library/packages/services/src/api/cms5/cms5.d.ts +17 -1
- package/library/packages/services/src/api/endpoints.d.ts +13 -1
- package/library/packages/services/src/api/metadata/index.d.ts +1 -0
- package/library/packages/services/src/api/metadata/metadata.d.ts +3 -1
- package/library/packages/services/src/api/metadata/metadata.types.d.ts +53 -0
- package/library/packages/styles/src/table-select.styles.d.ts +2 -0
- package/library/packages/types/src/content-builder.d.ts +13 -5
- package/library/packages/types/src/dam-view.d.ts +48 -0
- package/library/packages/types/src/table.d.ts +17 -1
- package/library/packages/utils/src/custom-element/i18n.d.ts +95 -0
- package/library/packages/utils/src/custom-element/math.d.ts +8 -0
- package/library/packages/utils/src/date/index.d.ts +1 -0
- package/library/packages/utils/src/date/iso-week-number.d.ts +9 -0
- package/library/react-web-component.d.ts +545 -438
- package/library/utils.js +267 -253
- package/package.json +1 -1
- package/library/chunks/debounce.CIEhztrj.js +0 -97
- package/library/chunks/math.DqTA6ya4.js +0 -7
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import "../chunks/overlayscrollbars.BMav4RQ4.js";
|
|
4
|
-
import { C as v } from "../chunks/dialog.
|
|
4
|
+
import { C as v } from "../chunks/dialog.DdsJ_WqU.js";
|
|
5
5
|
import "../chunks/event.BeKOsirN.js";
|
|
6
6
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
7
|
-
import "../chunks/i18n.
|
|
7
|
+
import "../chunks/i18n.DDj5y9px.js";
|
|
8
8
|
import "../chunks/modal.U1QltQKe.js";
|
|
9
9
|
import "../chunks/scroll.xtO5yojm.js";
|
|
10
10
|
import "../chunks/slot.j5oheLJC.js";
|
|
@@ -18,7 +18,7 @@ import "../chunks/style-map.llVFPd__.js";
|
|
|
18
18
|
import "../chunks/when.Dr1es41R.js";
|
|
19
19
|
import "../chunks/animation-registry.HmpwNuGH.js";
|
|
20
20
|
import "./divider.js";
|
|
21
|
-
import "../chunks/icon-button.
|
|
21
|
+
import "../chunks/icon-button.DOrACmes.js";
|
|
22
22
|
import "./popup.js";
|
|
23
23
|
export {
|
|
24
24
|
v as default
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { n as m, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as w } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
|
+
import { c as _ } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
+
import { d as g } from "../chunks/debounce.DaHuiSGU.js";
|
|
5
|
+
import { H as v } from "../chunks/slot.j5oheLJC.js";
|
|
6
|
+
import { w as p } from "../chunks/watch.CThbualB.js";
|
|
7
|
+
import { s as y } from "../chunks/string.DUgD4c9f.js";
|
|
8
|
+
import { i as C, x as d, E as S } from "../chunks/lit-element.jLBm65_O.js";
|
|
9
|
+
import { r as V } from "../chunks/state.CSDxrqLd.js";
|
|
10
|
+
import { o as R } from "../chunks/unsafe-html.Dff7-rCx.js";
|
|
11
|
+
import { n as u } from "../chunks/when.Dr1es41R.js";
|
|
12
|
+
const b = C`:host,.cx-diff__content{display:inline}.cx-diff__del,.cx-diff__old{background-color:var(--cx-diff-deleted-bg,var(--cx-color-neutral-200));color:var(--cx-diff-deleted-color,inherit);margin-inline-end:var(--cx-diff-gap,var(--cx-spacing-2x-small));text-decoration:line-through}.cx-diff__ins,.cx-diff__new{background-color:var(--cx-diff-inserted-bg,var(--cx-color-success-200));color:var(--cx-diff-inserted-color,inherit)}`;
|
|
13
|
+
function q(e) {
|
|
14
|
+
return new Worker(
|
|
15
|
+
"https://design-system.orangelogic.com/assets/diff.worker-ClilI1xm.js",
|
|
16
|
+
{
|
|
17
|
+
name: e?.name
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
let o, D = 0;
|
|
22
|
+
const i = /* @__PURE__ */ new Map();
|
|
23
|
+
function h() {
|
|
24
|
+
i.forEach((e) => e("")), i.clear(), o?.terminate(), o = void 0;
|
|
25
|
+
}
|
|
26
|
+
function E() {
|
|
27
|
+
return o || (o = new q(), o.addEventListener("message", (e) => {
|
|
28
|
+
if (e.data?.type !== "cx-diff-response")
|
|
29
|
+
return;
|
|
30
|
+
const { id: t, result: n } = e.data.payload, r = i.get(t);
|
|
31
|
+
r && (i.delete(t), r(n));
|
|
32
|
+
}), o.addEventListener("error", h), o.addEventListener("messageerror", h)), o;
|
|
33
|
+
}
|
|
34
|
+
function M(e, t) {
|
|
35
|
+
const n = E(), r = ++D;
|
|
36
|
+
return new Promise((s) => {
|
|
37
|
+
i.set(r, s), n.postMessage({ payload: { id: r, newValue: t, oldValue: e }, type: "cx-diff-request" });
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
var A = Object.defineProperty, W = Object.getOwnPropertyDescriptor, a = (e, t, n, r) => {
|
|
41
|
+
for (var s = r > 1 ? void 0 : r ? W(t, n) : t, f = e.length - 1, c; f >= 0; f--)
|
|
42
|
+
(c = e[f]) && (s = (r ? c(t, n, s) : c(s)) || s);
|
|
43
|
+
return r && s && A(t, n, s), s;
|
|
44
|
+
};
|
|
45
|
+
let l = class extends x {
|
|
46
|
+
constructor() {
|
|
47
|
+
super(...arguments), this.hasSlotController = new v(this, "old", "new"), this.oldValue = "", this.newValue = "", this.diffResult = "", this.latestRequestId = 0;
|
|
48
|
+
}
|
|
49
|
+
handleValuesChange() {
|
|
50
|
+
this.refreshDiff();
|
|
51
|
+
}
|
|
52
|
+
async refreshDiff() {
|
|
53
|
+
const e = ++this.latestRequestId;
|
|
54
|
+
if (this.hasSlotController.test("old") || this.hasSlotController.test("new"))
|
|
55
|
+
return;
|
|
56
|
+
if (!this.oldValue && !this.newValue) {
|
|
57
|
+
this.diffResult = "";
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
const t = await M(this.oldValue, this.newValue);
|
|
61
|
+
e === this.latestRequestId && (this.diffResult = y(
|
|
62
|
+
t.replaceAll(/<ins[^>]*>/g, '<span class="cx-diff__ins">').replaceAll("</ins>", "</span>").replaceAll(/<del[^>]*>/g, '<span class="cx-diff__del">').replaceAll("</del>", "</span>")
|
|
63
|
+
));
|
|
64
|
+
}
|
|
65
|
+
renderSlotMode() {
|
|
66
|
+
const e = this.hasSlotController.test("old"), t = this.hasSlotController.test("new");
|
|
67
|
+
return d`
|
|
68
|
+
${u(e, () => d`<span class="cx-diff__old" part="deleted"><slot name="old"></slot></span>`)}
|
|
69
|
+
${u(t, () => d`<span class="cx-diff__new" part="inserted"><slot name="new"></slot></span>`)}
|
|
70
|
+
`;
|
|
71
|
+
}
|
|
72
|
+
renderAutoMode() {
|
|
73
|
+
return u(
|
|
74
|
+
!!this.diffResult,
|
|
75
|
+
() => d`<span class="cx-diff__content">${R(this.diffResult)}</span>`,
|
|
76
|
+
() => S
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
render() {
|
|
80
|
+
return this.hasSlotController.test("old") || this.hasSlotController.test("new") ? this.renderSlotMode() : this.renderAutoMode();
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
l.styles = [w, b];
|
|
84
|
+
l.dependencies = {};
|
|
85
|
+
a([
|
|
86
|
+
m({ attribute: "old-value", type: String })
|
|
87
|
+
], l.prototype, "oldValue", 2);
|
|
88
|
+
a([
|
|
89
|
+
m({ attribute: "new-value", type: String })
|
|
90
|
+
], l.prototype, "newValue", 2);
|
|
91
|
+
a([
|
|
92
|
+
V()
|
|
93
|
+
], l.prototype, "diffResult", 2);
|
|
94
|
+
a([
|
|
95
|
+
p("oldValue"),
|
|
96
|
+
p("newValue", { waitUntilFirstUpdate: !0 }),
|
|
97
|
+
g(16)
|
|
98
|
+
], l.prototype, "handleValuesChange", 1);
|
|
99
|
+
l = a([
|
|
100
|
+
_("cx-diff")
|
|
101
|
+
], l);
|
|
102
|
+
export {
|
|
103
|
+
l as default
|
|
104
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../chunks/resizable-component.styles.DpK0TTP5.js";
|
|
2
|
-
import { C as b } from "../chunks/document-viewer.
|
|
2
|
+
import { C as b } from "../chunks/document-viewer.B5VtBEEP.js";
|
|
3
3
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
4
4
|
import "../chunks/index.Cpamj0jB.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
6
|
-
import "../chunks/i18n.
|
|
6
|
+
import "../chunks/i18n.DDj5y9px.js";
|
|
7
7
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
8
8
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
9
9
|
import "../chunks/state.CSDxrqLd.js";
|
|
10
10
|
import "../chunks/class-map.BiVq-cVR.js";
|
|
11
11
|
import "../chunks/when.Dr1es41R.js";
|
|
12
12
|
import "../chunks/icon.DnBh6-56.js";
|
|
13
|
-
import "../chunks/image.
|
|
13
|
+
import "../chunks/image.BugewF1g.js";
|
|
14
14
|
import "../chunks/typography.DJC_UXgs.js";
|
|
15
15
|
export {
|
|
16
16
|
b as default
|
|
@@ -2,7 +2,7 @@ import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import "../chunks/index.Cpamj0jB.js";
|
|
4
4
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import "../chunks/i18n.
|
|
5
|
+
import "../chunks/i18n.DDj5y9px.js";
|
|
6
6
|
import "../chunks/watch.CThbualB.js";
|
|
7
7
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
8
8
|
import "../chunks/state.CSDxrqLd.js";
|
|
@@ -13,7 +13,7 @@ import "../chunks/if-defined.BRoBj_Rp.js";
|
|
|
13
13
|
import "../chunks/map.D8heArFD.js";
|
|
14
14
|
import "../chunks/when.Dr1es41R.js";
|
|
15
15
|
import "./tooltip.js";
|
|
16
|
-
import { C as g } from "../chunks/dot-pagination.
|
|
16
|
+
import { C as g } from "../chunks/dot-pagination.Bny2T6DA.js";
|
|
17
17
|
export {
|
|
18
18
|
g as default
|
|
19
19
|
};
|
|
@@ -2,7 +2,7 @@ import { n as s, C as k } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as z } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { a as d, s as p, w as v } from "../chunks/event.BeKOsirN.js";
|
|
4
4
|
import { c as P } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as O } from "../chunks/i18n.
|
|
5
|
+
import { L as O } from "../chunks/i18n.DDj5y9px.js";
|
|
6
6
|
import { M as $ } from "../chunks/modal.U1QltQKe.js";
|
|
7
7
|
import { l as w, u } from "../chunks/scroll.xtO5yojm.js";
|
|
8
8
|
import { H as B } from "../chunks/slot.j5oheLJC.js";
|
|
@@ -15,7 +15,7 @@ import { o as _ } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
|
15
15
|
import { n as b } from "../chunks/when.Dr1es41R.js";
|
|
16
16
|
import { c as x } from "../chunks/capitalize.i-sHIcnm.js";
|
|
17
17
|
import { s as o, g as c } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
18
|
-
import { C as q } from "../chunks/icon-button.
|
|
18
|
+
import { C as q } from "../chunks/icon-button.DOrACmes.js";
|
|
19
19
|
const D = S`:host{--size:25rem;--header-spacing:var(--cx-spacing-large);--body-spacing:var(--cx-spacing-large);--footer-spacing:var(--cx-spacing-large);--font-family:var(--cx-font-sans);display:contents}.drawer{top:0;pointer-events:none;width:0;height:0;inset-inline-start:0;overflow:hidden}.drawer--open{width:100%;height:100%}.drawer--persistent.drawer--open{width:var(--size);min-width:var(--size)}.drawer--contained{z-index:initial;position:absolute}.drawer--persistent{position:relative}.drawer--fixed{z-index:var(--cx-z-index-drawer);position:fixed}.drawer__panel{z-index:2;background-color:var(--cx-panel-background-color);max-width:100%;max-height:100%;box-shadow:var(--cx-shadow-large);pointer-events:all;flex-direction:column;display:flex;position:absolute;overflow:auto}.drawer__panel:focus{outline:none}.drawer--top .drawer__panel{top:0;inset-inline-end:auto;bottom:auto;width:100%;height:var(--size);inset-inline-start:0}.drawer--end .drawer__panel{top:0;inset-inline-end:0;bottom:auto;width:var(--size);height:100%;inset-inline-start:auto}.drawer--bottom .drawer__panel{top:auto;inset-inline-end:auto;bottom:0;width:100%;height:var(--size);inset-inline-start:0}.drawer--start .drawer__panel{top:0;inset-inline-end:auto;bottom:auto;width:var(--size);height:100%;inset-inline-start:0}.drawer__header{gap:var(--cx-spacing-small);padding:var(--header-spacing);border-bottom:solid 1px var(--cx-input-border-color);font-family:var(--font-family);display:flex}.drawer__header__content{flex:auto}.drawer__title{font:inherit;font-size:var(--cx-font-size-large);font-weight:var(--cx-font-weight-semibold);line-height:var(--cx-line-height-medium);align-items:center;margin:0;display:flex}.drawer__header-actions{justify-content:end;gap:var(--cx-spacing-2x-small);flex-wrap:wrap;flex-shrink:0;display:flex}.drawer__header-actions cx-icon-button,.drawer__header-actions ::slotted(cx-icon-button){font-size:var(--cx-font-size-medium);flex:none;align-items:center;display:flex}.drawer__description{font-family:var(--font-family);font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-700)}.drawer__description ::slotted(*){margin:0}.drawer__body{padding:var(--body-spacing);-webkit-overflow-scrolling:touch;font-family:var(--font-family);flex:auto;display:block;overflow:auto}.drawer__footer{text-align:right;padding:var(--footer-spacing);font-family:var(--font-family)}.drawer__footer ::slotted(cx-button:not(:last-of-type)){margin-inline-end:var(--cx-spacing-x-small)}.drawer:not(.drawer--has-footer) .drawer__footer{display:none}.drawer__overlay{background-color:var(--cx-overlay-background-color);pointer-events:all;display:block;position:fixed;inset:0}.drawer--contained .drawer__overlay{opacity:0;position:absolute}.drawer--contained.drawer--ignore-parent-width.drawer--open{width:0;overflow:visible}.drawer--ignore-parent-width .drawer__panel{max-width:none}.drawer__overlay--disabled{display:none}@media (forced-colors:active){.drawer__panel{border:solid 1px var(--cx-color-neutral-0)}}`;
|
|
20
20
|
var E = Object.defineProperty, L = Object.getOwnPropertyDescriptor, r = (e, a, i, l) => {
|
|
21
21
|
for (var n = l > 1 ? void 0 : l ? L(a, i) : a, f = e.length - 1, m; f >= 0; f--)
|
|
@@ -2,7 +2,7 @@ import { n as s, C as w } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as b } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { w as c, s as u, a as m } from "../chunks/event.BeKOsirN.js";
|
|
4
4
|
import { c as x } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as v } from "../chunks/i18n.
|
|
5
|
+
import { L as v } from "../chunks/i18n.DDj5y9px.js";
|
|
6
6
|
import { H as k } from "../chunks/slot.j5oheLJC.js";
|
|
7
7
|
import { g as f } from "../chunks/tabbable.CcMz3mIL.js";
|
|
8
8
|
import { w as E } from "../chunks/watch.CThbualB.js";
|
|
@@ -11,7 +11,7 @@ import { e as h } from "../chunks/query.BBf1UFkC.js";
|
|
|
11
11
|
import { e as T } from "../chunks/class-map.BiVq-cVR.js";
|
|
12
12
|
import { o as O } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
13
13
|
import { s as y, g } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
14
|
-
import { C as _ } from "../chunks/input.
|
|
14
|
+
import { C as _ } from "../chunks/input.BYj6YXcM.js";
|
|
15
15
|
import d from "./menu.js";
|
|
16
16
|
import L from "./popup.js";
|
|
17
17
|
import A from "./textarea.js";
|