vue-data-ui 3.7.11 → 3.7.13
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/BaseDraggableDialog-DZVSjhEw.js +235 -0
- package/dist/{PackageVersion-Dpr5vAal.js → PackageVersion-zsGySlBm.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +10 -3
- package/dist/{vue-data-ui-CxlARzL0.js → vue-data-ui-CPaWiyY3.js} +55 -55
- package/dist/vue-data-ui.js +56 -56
- package/dist/{vue-ui-3d-bar-CPqG0nkm.js → vue-ui-3d-bar-DPdwp0tW.js} +1 -1
- package/dist/{vue-ui-age-pyramid-Ci_nYeGy.js → vue-ui-age-pyramid-DsYHBHvF.js} +1 -1
- package/dist/{vue-ui-bullet-aChvEdJw.js → vue-ui-bullet-BiuF7E-n.js} +1 -1
- package/dist/{vue-ui-candlestick-BVT5S4A7.js → vue-ui-candlestick-t7STPkfD.js} +1 -1
- package/dist/{vue-ui-carousel-table-R9y3ZMj5.js → vue-ui-carousel-table-Am8NLVs-.js} +1 -1
- package/dist/{vue-ui-chestnut-SUJ8HIBI.js → vue-ui-chestnut-DC1FEP0L.js} +1 -1
- package/dist/{vue-ui-chord-CjBMnwsa.js → vue-ui-chord-BPgH9XsI.js} +1 -1
- package/dist/{vue-ui-circle-pack-CFm8eA1x.js → vue-ui-circle-pack-IlflLArc.js} +1 -1
- package/dist/{vue-ui-dashboard-DlzUYi_J.js → vue-ui-dashboard-CyEcrJCz.js} +55 -55
- package/dist/{vue-ui-donut-BCq_iYNW.js → vue-ui-donut-DM0YRak1.js} +1 -1
- package/dist/{vue-ui-donut-evolution-CJ3hcXal.js → vue-ui-donut-evolution-CUibw0Im.js} +471 -471
- package/dist/{vue-ui-dumbbell-Czmk8zMs.js → vue-ui-dumbbell-CVqWj5VK.js} +1 -1
- package/dist/{vue-ui-flow-MfiSTtxE.js → vue-ui-flow-BO4uT-DU.js} +1 -1
- package/dist/{vue-ui-funnel-al95vFQ1.js → vue-ui-funnel-BWZJVfXx.js} +1 -1
- package/dist/{vue-ui-galaxy-zlloUYDn.js → vue-ui-galaxy-CRdR3r4Q.js} +1 -1
- package/dist/{vue-ui-gauge-UPQhTDCY.js → vue-ui-gauge-RO4XMio9.js} +1 -1
- package/dist/{vue-ui-gizmo-CLs6Xv3_.js → vue-ui-gizmo-BqpM6PoW.js} +1 -1
- package/dist/{vue-ui-heatmap-BbazGNWj.js → vue-ui-heatmap-BdQeLMap.js} +1 -1
- package/dist/{vue-ui-history-plot-BmiY0vD2.js → vue-ui-history-plot-CklysnQU.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-BEIR3lGE.js → vue-ui-horizontal-bar-B397SpYr.js} +2 -2
- package/dist/{vue-ui-molecule-CSlSiwbF.js → vue-ui-molecule-D4Obih-D.js} +1 -1
- package/dist/{vue-ui-mood-radar-DdKg5Jq8.js → vue-ui-mood-radar-wO772Pku.js} +1 -1
- package/dist/{vue-ui-nested-donuts-DHt0XTLx.js → vue-ui-nested-donuts-DHRk6SO9.js} +1 -1
- package/dist/{vue-ui-onion-DwMcFdqy.js → vue-ui-onion-D9vTzXiT.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BVFJeYJp.js → vue-ui-parallel-coordinate-plot-D99Dn9nk.js} +1 -1
- package/dist/{vue-ui-quadrant-cW0fRzL_.js → vue-ui-quadrant-DctQGzZQ.js} +1 -1
- package/dist/{vue-ui-quick-chart-BCZBZBRm.js → vue-ui-quick-chart-Bk7bjM8M.js} +1 -1
- package/dist/{vue-ui-radar-ypC88ouR.js → vue-ui-radar-DwRAsabj.js} +1 -1
- package/dist/{vue-ui-relation-circle-CF3mp1_8.js → vue-ui-relation-circle-fy7y6GPv.js} +1 -1
- package/dist/{vue-ui-ridgeline-Ck-tYacP.js → vue-ui-ridgeline-C50dzhcC.js} +1 -1
- package/dist/{vue-ui-rings-CsaXHfbR.js → vue-ui-rings-B2jXOL6I.js} +1 -1
- package/dist/{vue-ui-scatter-CwhL1Z6V.js → vue-ui-scatter-CHcoShcn.js} +1 -1
- package/dist/{vue-ui-skeleton-kiUPhnKb.js → vue-ui-skeleton-BaYEbtyL.js} +1 -1
- package/dist/{vue-ui-spark-trend-CP-hXjfZ.js → vue-ui-spark-trend-CypB4Wyy.js} +1 -1
- package/dist/{vue-ui-sparkbar-CGVL2WyD.js → vue-ui-sparkbar-i5aJjN_0.js} +1 -1
- package/dist/{vue-ui-sparkgauge-DMahN0oG.js → vue-ui-sparkgauge-BIDEen6a.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-DIm-dhdu.js → vue-ui-sparkhistogram-CL60R6m9.js} +1 -1
- package/dist/{vue-ui-sparkline-B6F6FrEk.js → vue-ui-sparkline-BF2_TcCq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-rpuQ620h.js → vue-ui-sparkstackbar-CgGqwbA3.js} +1 -1
- package/dist/{vue-ui-stackbar-C7S5g-tW.js → vue-ui-stackbar-Bt2yYlf8.js} +1 -1
- package/dist/{vue-ui-stackline-U099Cb9P.js → vue-ui-stackline-DPTr6LCe.js} +119 -119
- package/dist/{vue-ui-strip-plot-mYX2KEoI.js → vue-ui-strip-plot-BgO9HCwc.js} +1 -1
- package/dist/{vue-ui-table-CJpEycgN.js → vue-ui-table-CxRU36jP.js} +13 -13
- package/dist/{vue-ui-table-sparkline-D4L1lJzA.js → vue-ui-table-sparkline-BtYeprXs.js} +1 -1
- package/dist/{vue-ui-thermometer-B__EImnG.js → vue-ui-thermometer-vbFd6aId.js} +1 -1
- package/dist/{vue-ui-timer-DAXW8dMO.js → vue-ui-timer-CTWbXBwm.js} +1 -1
- package/dist/{vue-ui-tiremarks-DP5deFrA.js → vue-ui-tiremarks-BCSR4cA2.js} +1 -1
- package/dist/{vue-ui-treemap-CpimSaxC.js → vue-ui-treemap-Dwu0UUYT.js} +1 -1
- package/dist/{vue-ui-waffle-BVGVNq11.js → vue-ui-waffle-Cis2agi-.js} +1 -1
- package/dist/{vue-ui-wheel-B3O0lEj4.js → vue-ui-wheel-BC544dca.js} +1 -1
- package/dist/{vue-ui-word-cloud-67I78EbL.js → vue-ui-word-cloud-DnOpztI1.js} +1 -1
- package/dist/{vue-ui-world-DjA_217m.js → vue-ui-world-Cs5HO9RF.js} +1 -1
- package/dist/{vue-ui-xy-Cj3a2gNF.js → vue-ui-xy-Dy8c79U3.js} +1 -1
- package/dist/{vue-ui-xy-canvas-3x-UDcCu.js → vue-ui-xy-canvas-i1eQQ9Bt.js} +1 -1
- package/package.json +1 -1
- package/dist/BaseDraggableDialog-BDY-Jn9S.js +0 -200
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { ref as l, reactive as U, computed as q, onMounted as A, onUnmounted as G, createBlock as J, openBlock as S, Teleport as Q, createElementBlock as Y, createCommentVNode as Z, withModifiers as d, normalizeStyle as $, createElementVNode as o, unref as _, renderSlot as x, createVNode as ee, normalizeClass as te, nextTick as ne } from "vue";
|
|
2
|
+
import oe from "./BaseIcon-Dl4VBlHV.js";
|
|
3
|
+
import { c as ie, X as re } from "./lib-DUaaQGCv.js";
|
|
4
|
+
import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const de = ["xmlns"], se = { class: "draggable-dialog-actions" }, le = {
|
|
6
|
+
__name: "BaseDraggableDialog",
|
|
7
|
+
props: {
|
|
8
|
+
backgroundColor: { type: String },
|
|
9
|
+
color: { type: String },
|
|
10
|
+
headerBg: { type: String },
|
|
11
|
+
headerColor: { type: String },
|
|
12
|
+
fullscreenParent: { type: HTMLElement },
|
|
13
|
+
isFullscreen: { type: Boolean, default: !1 },
|
|
14
|
+
withPadding: { type: Boolean, default: !1 },
|
|
15
|
+
forcedWidth: { type: Number, default: 400 }
|
|
16
|
+
},
|
|
17
|
+
emits: ["close"],
|
|
18
|
+
setup(a, { expose: O, emit: F }) {
|
|
19
|
+
const y = a, I = F, w = l(!1), z = l(!1), k = l(0), m = l(null), M = l(null), g = l(null), D = `vue-ui-draggable-dialog-${ie()}`, B = `${D}-title`, T = `${D}-body`;
|
|
20
|
+
function E() {
|
|
21
|
+
k.value += 1;
|
|
22
|
+
}
|
|
23
|
+
const e = U({
|
|
24
|
+
left: window.innerWidth / 2 - 200,
|
|
25
|
+
top: window.innerHeight / 2 - 120,
|
|
26
|
+
width: y.forcedWidth,
|
|
27
|
+
height: 400,
|
|
28
|
+
dragging: !1,
|
|
29
|
+
resizing: !1,
|
|
30
|
+
dragOffsetX: 0,
|
|
31
|
+
dragOffsetY: 0,
|
|
32
|
+
pointerStartX: 0,
|
|
33
|
+
pointerStartY: 0,
|
|
34
|
+
resizeStartW: 0,
|
|
35
|
+
resizeStartH: 0
|
|
36
|
+
});
|
|
37
|
+
function P() {
|
|
38
|
+
g.value = document.activeElement instanceof HTMLElement ? document.activeElement : null, w.value = !0, ne(() => {
|
|
39
|
+
z.value || (e.left = Math.max(0, window.innerWidth / 2 - e.width / 2), e.top = Math.max(0, window.innerHeight / 2 - e.height / 2), z.value = !0);
|
|
40
|
+
const t = M.value || m.value;
|
|
41
|
+
t && typeof t.focus == "function" && t.focus();
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function L() {
|
|
45
|
+
w.value = !1, I("close"), g.value && typeof g.value.focus == "function" && g.value.focus();
|
|
46
|
+
}
|
|
47
|
+
O({ open: P, close: L });
|
|
48
|
+
const N = q(() => ({
|
|
49
|
+
position: "fixed",
|
|
50
|
+
left: `${e.left}px`,
|
|
51
|
+
top: `${e.top}px`,
|
|
52
|
+
width: `${e.width}px`,
|
|
53
|
+
height: `${e.height}px`,
|
|
54
|
+
padding: 0,
|
|
55
|
+
border: "none",
|
|
56
|
+
background: y.backgroundColor,
|
|
57
|
+
boxShadow: "0 4px 24px rgba(0,0,0,0.15)",
|
|
58
|
+
zIndex: 9999,
|
|
59
|
+
overflow: "visible",
|
|
60
|
+
borderRadius: "2px",
|
|
61
|
+
"--dlg-color": y.color
|
|
62
|
+
}));
|
|
63
|
+
function s(t) {
|
|
64
|
+
return t.touches && t.touches.length ? { x: t.touches[0].clientX, y: t.touches[0].clientY } : { x: t.clientX, y: t.clientY };
|
|
65
|
+
}
|
|
66
|
+
function C(t) {
|
|
67
|
+
t.preventDefault?.(), E(), e.dragging = !0;
|
|
68
|
+
const n = s(t);
|
|
69
|
+
e.dragOffsetX = n.x - e.left, e.dragOffsetY = n.y - e.top, document.addEventListener("mousemove", v), document.addEventListener("mouseup", u), document.addEventListener("touchmove", v, { passive: !1 }), document.addEventListener("touchend", u);
|
|
70
|
+
}
|
|
71
|
+
function v(t) {
|
|
72
|
+
if (!e.dragging) return;
|
|
73
|
+
t.preventDefault?.();
|
|
74
|
+
const n = s(t);
|
|
75
|
+
let i = n.x - e.dragOffsetX, r = n.y - e.dragOffsetY;
|
|
76
|
+
i = Math.max(0, Math.min(i, window.innerWidth - e.width)), r = Math.max(0, Math.min(r, window.innerHeight - e.height)), e.left = i, e.top = r;
|
|
77
|
+
}
|
|
78
|
+
function u() {
|
|
79
|
+
e.dragging = !1, document.removeEventListener("mousemove", v), document.removeEventListener("mouseup", u), document.removeEventListener("touchmove", v), document.removeEventListener("touchend", u);
|
|
80
|
+
}
|
|
81
|
+
function W(t) {
|
|
82
|
+
t.preventDefault?.(), E(), e.resizing = !0;
|
|
83
|
+
const n = s(t);
|
|
84
|
+
e.pointerStartX = n.x, e.pointerStartY = n.y, e.resizeStartW = e.width, e.resizeStartH = e.height, document.addEventListener("mousemove", h), document.addEventListener("mouseup", c), document.addEventListener("touchmove", h, { passive: !1 }), document.addEventListener("touchend", c);
|
|
85
|
+
}
|
|
86
|
+
function h(t) {
|
|
87
|
+
if (!e.resizing) return;
|
|
88
|
+
t.preventDefault?.();
|
|
89
|
+
const n = s(t);
|
|
90
|
+
let i = n.x - e.pointerStartX, r = n.y - e.pointerStartY;
|
|
91
|
+
e.width = Math.max(240, e.resizeStartW + i), e.height = Math.max(400, e.resizeStartH + r);
|
|
92
|
+
}
|
|
93
|
+
function c() {
|
|
94
|
+
e.resizing = !1, document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", c), document.removeEventListener("touchmove", h), document.removeEventListener("touchend", c);
|
|
95
|
+
}
|
|
96
|
+
function X(t) {
|
|
97
|
+
t.preventDefault?.(), E(), e.resizing = !0;
|
|
98
|
+
const n = s(t);
|
|
99
|
+
e.pointerStartX = n.x, e.pointerStartY = n.y, e.resizeStartW = e.width, e.resizeStartH = e.height, e.resizeStartLeft = e.left, e.resizeStartTop = e.top, document.addEventListener("mousemove", p), document.addEventListener("mouseup", f), document.addEventListener("touchmove", p, { passive: !1 }), document.addEventListener("touchend", f);
|
|
100
|
+
}
|
|
101
|
+
function p(t) {
|
|
102
|
+
if (!e.resizing) return;
|
|
103
|
+
t.preventDefault?.();
|
|
104
|
+
const n = s(t);
|
|
105
|
+
let i = n.x - e.pointerStartX, r = Math.min(
|
|
106
|
+
Math.max(0, e.resizeStartLeft + i),
|
|
107
|
+
e.resizeStartLeft + e.resizeStartW - 240
|
|
108
|
+
), b = e.resizeStartW - (r - e.resizeStartLeft), V = n.y - e.pointerStartY, j = Math.max(400, e.resizeStartH + V);
|
|
109
|
+
e.left = r, e.width = b, e.height = j;
|
|
110
|
+
}
|
|
111
|
+
function f() {
|
|
112
|
+
e.resizing = !1, document.removeEventListener("mousemove", p), document.removeEventListener("mouseup", f), document.removeEventListener("touchmove", p), document.removeEventListener("touchend", f);
|
|
113
|
+
}
|
|
114
|
+
A(() => {
|
|
115
|
+
document.addEventListener("keydown", H);
|
|
116
|
+
});
|
|
117
|
+
function H(t) {
|
|
118
|
+
t.key && t.key === "Escape" && L();
|
|
119
|
+
}
|
|
120
|
+
G(() => {
|
|
121
|
+
u(), c(), f(), document.removeEventListener("keydown", H);
|
|
122
|
+
});
|
|
123
|
+
function R(t) {
|
|
124
|
+
t.key === "Tab" && K(t);
|
|
125
|
+
}
|
|
126
|
+
function K(t) {
|
|
127
|
+
if (!m.value) return;
|
|
128
|
+
const i = m.value.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex]:not([tabindex="-1"]), [contenteditable="true"]');
|
|
129
|
+
if (!i.length) return;
|
|
130
|
+
const r = i[0], b = i[i.length - 1];
|
|
131
|
+
t.shiftKey ? document.activeElement === r && (t.preventDefault(), b.focus()) : document.activeElement === b && (t.preventDefault(), r.focus());
|
|
132
|
+
}
|
|
133
|
+
return (t, n) => (S(), J(Q, {
|
|
134
|
+
to: a.isFullscreen ? a.fullscreenParent : "body",
|
|
135
|
+
key: k.value
|
|
136
|
+
}, [
|
|
137
|
+
w.value ? (S(), Y("div", {
|
|
138
|
+
key: 0,
|
|
139
|
+
ref_key: "draggableDialog",
|
|
140
|
+
ref: m,
|
|
141
|
+
class: "vue-ui-draggable-dialog",
|
|
142
|
+
style: $(N.value),
|
|
143
|
+
role: "dialog",
|
|
144
|
+
"aria-modal": !0,
|
|
145
|
+
"aria-labelledby": B,
|
|
146
|
+
"aria-describedby": T,
|
|
147
|
+
tabindex: "-1",
|
|
148
|
+
onClick: n[0] || (n[0] = d(() => {
|
|
149
|
+
}, ["stop"])),
|
|
150
|
+
onKeydown: R
|
|
151
|
+
}, [
|
|
152
|
+
o("div", {
|
|
153
|
+
class: "vue-ui-draggable-dialog-header",
|
|
154
|
+
style: $({
|
|
155
|
+
backgroundColor: a.headerBg,
|
|
156
|
+
color: a.headerColor
|
|
157
|
+
})
|
|
158
|
+
}, [
|
|
159
|
+
o("span", {
|
|
160
|
+
class: "drag-handle",
|
|
161
|
+
"aria-hidden": "true",
|
|
162
|
+
onMousedown: d(C, ["stop", "prevent"]),
|
|
163
|
+
onTouchstart: d(C, ["stop", "prevent"])
|
|
164
|
+
}, [
|
|
165
|
+
(S(), Y("svg", {
|
|
166
|
+
xmlns: _(re),
|
|
167
|
+
width: "20",
|
|
168
|
+
height: "20",
|
|
169
|
+
viewBox: "0 0 24 24",
|
|
170
|
+
fill: "none",
|
|
171
|
+
stroke: "currentColor",
|
|
172
|
+
"stroke-width": "1",
|
|
173
|
+
"stroke-linecap": "round",
|
|
174
|
+
"stroke-linejoin": "round"
|
|
175
|
+
}, [...n[1] || (n[1] = [
|
|
176
|
+
o("path", { d: "M5 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
177
|
+
o("path", { d: "M5 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
178
|
+
o("path", { d: "M12 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
179
|
+
o("path", { d: "M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
180
|
+
o("path", { d: "M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
181
|
+
o("path", { d: "M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1)
|
|
182
|
+
])], 8, de))
|
|
183
|
+
], 32),
|
|
184
|
+
o("span", {
|
|
185
|
+
class: "vue-ui-draggable-dialog-title",
|
|
186
|
+
id: B
|
|
187
|
+
}, [
|
|
188
|
+
x(t.$slots, "title", {}, void 0, !0)
|
|
189
|
+
]),
|
|
190
|
+
o("div", se, [
|
|
191
|
+
x(t.$slots, "actions", {}, void 0, !0),
|
|
192
|
+
o("button", {
|
|
193
|
+
ref_key: "closeButtonElement",
|
|
194
|
+
ref: M,
|
|
195
|
+
class: "close",
|
|
196
|
+
type: "button",
|
|
197
|
+
"aria-label": "Close dialog",
|
|
198
|
+
onClick: L
|
|
199
|
+
}, [
|
|
200
|
+
ee(oe, {
|
|
201
|
+
name: "close",
|
|
202
|
+
stroke: a.headerColor
|
|
203
|
+
}, null, 8, ["stroke"])
|
|
204
|
+
], 512)
|
|
205
|
+
])
|
|
206
|
+
], 4),
|
|
207
|
+
o("div", {
|
|
208
|
+
id: T,
|
|
209
|
+
role: "document",
|
|
210
|
+
class: te({
|
|
211
|
+
"vue-ui-draggable-dialog-body": !a.withPadding,
|
|
212
|
+
"vue-ui-draggable-dialog-body-pad": a.withPadding
|
|
213
|
+
})
|
|
214
|
+
}, [
|
|
215
|
+
x(t.$slots, "content", {}, void 0, !0)
|
|
216
|
+
], 2),
|
|
217
|
+
o("div", {
|
|
218
|
+
class: "resize-handle",
|
|
219
|
+
"aria-hidden": "true",
|
|
220
|
+
onMousedown: d(W, ["stop", "prevent"]),
|
|
221
|
+
onTouchstart: d(W, ["stop", "prevent"])
|
|
222
|
+
}, null, 32),
|
|
223
|
+
o("div", {
|
|
224
|
+
class: "resize-handle resize-handle-left",
|
|
225
|
+
"aria-hidden": "true",
|
|
226
|
+
onMousedown: d(X, ["stop", "prevent"]),
|
|
227
|
+
onTouchstart: d(X, ["stop", "prevent"])
|
|
228
|
+
}, null, 32)
|
|
229
|
+
], 36)) : Z("", !0)
|
|
230
|
+
], 8, ["to"]));
|
|
231
|
+
}
|
|
232
|
+
}, ge = /* @__PURE__ */ ae(le, [["__scopeId", "data-v-38c3387c"]]);
|
|
233
|
+
export {
|
|
234
|
+
ge as default
|
|
235
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as e, openBlock as t, toDisplayString as o, unref as r } from "vue";
|
|
2
|
-
const n = "3.7.
|
|
2
|
+
const n = "3.7.13", a = { "aria-hidden": "true" }, p = {
|
|
3
3
|
__name: "PackageVersion",
|
|
4
4
|
setup(s) {
|
|
5
5
|
return (c, i) => (t(), e("desc", a, "Composed with Vue Data UI " + o(r(n)), 1));
|