vue-data-ui 3.25.2 → 3.25.4
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/{Arrow-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
- package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
- package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.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-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.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-geo.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-hill.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-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.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-rating.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-smiley.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-heatmap.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/{dom-to-png-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
- package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
- package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
- package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
- package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
- package/dist/vue-ui-donut-BfehCl28.js +0 -2413
- package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
- package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
- package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
- package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
- package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
- package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
- package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
- package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
- package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
- package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
- package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
- package/dist/vue-ui-table-CftOhYTO.js +0 -1352
- package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { X as t, i as n, q as r } from "./lib-
|
|
2
|
+
import { X as t, i as n, q as r } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as i, t as a } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as o } from "./useConfig-CyCVHo81.js";
|
|
5
|
-
import { t as s } from "./useNestedProp-
|
|
5
|
+
import { t as s } from "./useNestedProp-Chvyfpl-.js";
|
|
6
6
|
import { t as c } from "./usePrefersMotion-BC-CsqR1.js";
|
|
7
7
|
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineAsyncComponent as g, normalizeClass as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, unref as w, useSlots as T, watch as E } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-kpi.vue
|
|
@@ -21,7 +21,7 @@ var D = /* @__PURE__ */ e({ default: () => j }), O = ["aria-labelledby"], k = ["
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
setup(e) {
|
|
24
|
-
let D = g(() => import("./vue-ui-digits-
|
|
24
|
+
let D = g(() => import("./vue-ui-digits-BBL8uERO.js").then((e) => e.n)), { vue_ui_kpi: j } = o(), M = c(), N = e, P = u({
|
|
25
25
|
get: () => R(),
|
|
26
26
|
set: (e) => e
|
|
27
27
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Tt as t, q as n, x as r } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { t as i } from "./useConfig-CyCVHo81.js";
|
|
4
|
-
import { t as a } from "./useNestedProp-
|
|
4
|
+
import { t as a } from "./useNestedProp-Chvyfpl-.js";
|
|
5
5
|
import { t as o } from "./useThemeCheck-C43Tcqmk.js";
|
|
6
|
-
import { t as s } from "./Shape-
|
|
6
|
+
import { t as s } from "./Shape-CIqU-p2F.js";
|
|
7
7
|
import { t as c } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { t as l } from "./vue_ui_label-B0QoxQrJ.js";
|
|
9
9
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as ee, getCurrentInstance as te, guardReactiveProps as ne, nextTick as h, normalizeClass as re, normalizeProps as ie, normalizeStyle as ae, onBeforeUnmount as oe, onMounted as se, openBlock as g, ref as _, renderList as ce, renderSlot as le, toDisplayString as ue, unref as de, useTemplateRef as v, watch as fe, withModifiers as pe } from "vue";
|
|
@@ -130,7 +130,7 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
130
130
|
defaultConfig: e
|
|
131
131
|
}) : (Ue(e), t = e) : t = e, t;
|
|
132
132
|
}
|
|
133
|
-
let k = d(() => We()), Ge = te(), Ke =
|
|
133
|
+
let k = d(() => We()), Ge = te(), Ke = n(), A = v("wrapperRef"), j = v("labelRef"), qe = v("contentRef"), Je = v("boxRef"), Ye = v("titleTextRef"), Xe = v("contentTextRef"), M = _(null), N = _(null), P = _(null), F = _({
|
|
134
134
|
x: 0,
|
|
135
135
|
y: 0
|
|
136
136
|
}), Ze = _(!1), I = _(!1), Qe = _("pointer"), $e = d(() => k.value.title.fontSize), et = d(() => k.value.title.lineHeight), tt = d(() => k.value.content.fontSize), nt = d(() => k.value.content.lineHeight), rt = d(() => k.value.title.gap), it = d(() => k.value.drag.handleWidth), at = d(() => k.value.collisionGap), ot = null, st = null, L = null, R = {
|
|
@@ -142,7 +142,7 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
142
142
|
}, ct = d(() => ({
|
|
143
143
|
x: D.dataset?.x ?? null,
|
|
144
144
|
y: D.dataset?.y ?? null
|
|
145
|
-
})), z = d(() =>
|
|
145
|
+
})), z = d(() => t(ct.value.x) && t(ct.value.y)), B = d(() => Number(ct.value.x)), V = d(() => Number(ct.value.y)), H = d(() => k.value.link), U = d(() => k.value.box), lt = d(() => k.value.drag), W = d(() => k.value.title.marker), ut = d(() => k.value.overlap === !0), G = d(() => lt.value?.enable === !0), dt = d(() => !!(Ge?.vnode?.props ?? {}).onClick), ft = d(() => dt.value), pt = d(() => [String(k.value.title?.text ?? "").trim(), String(k.value.content?.text ?? "").trim()].filter(Boolean).join(", ") || "Label"), mt = d(() => `Move ${pt.value}`), ht = `label_${Ke}_drag_instructions`, gt = d(() => k.value.a11y.translations.keyboardNavigation), _t = d(() => t(lt.value?.iconSize) ? Math.max(0, Number(lt.value.iconSize)) : 0), vt = d(() => _t.value * .15), yt = d(() => {
|
|
146
146
|
let e = lt.value?.handlePosition;
|
|
147
147
|
return [
|
|
148
148
|
"left",
|
|
@@ -152,20 +152,20 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
152
152
|
].includes(e) ? e : "left";
|
|
153
153
|
}), bt = d(() => {
|
|
154
154
|
let e = D.dataset?.position;
|
|
155
|
-
return !e || !
|
|
155
|
+
return !e || !t(e.x) || !t(e.y) ? null : {
|
|
156
156
|
x: Number(e.x),
|
|
157
157
|
y: Number(e.y)
|
|
158
158
|
};
|
|
159
|
-
}), xt = d(() => Ze.value ? null : bt.value), St = d(() =>
|
|
159
|
+
}), xt = d(() => Ze.value ? null : bt.value), St = d(() => t(H.value.length) ? Math.max(0, Number(H.value.length)) : ke), Ct = d(() => Un(k.value.title.textAlign)), wt = d(() => Un(k.value.content.textAlign)), Tt = d(() => Wn(Ct.value)), Et = d(() => Wn(wt.value)), Dt = d(() => W.value?.color !== null && W.value?.color !== void 0 && String(k.value.title.text ?? "") !== ""), Ot = d(() => Dt.value && t(W.value?.size) ? Math.max(0, Number(W.value.size)) : 0), kt = d(() => Ot.value / 2), At = d(() => W.value?.beforeText !== !1), jt = d(() => Dt.value && Ot.value > 0 ? 6 : 0), Mt = d(() => Ot.value > 0 ? Ot.value + jt.value : 0), K = d(() => {
|
|
160
160
|
let e = U.value.padding ?? {};
|
|
161
161
|
return {
|
|
162
|
-
top:
|
|
163
|
-
right:
|
|
164
|
-
bottom:
|
|
165
|
-
left:
|
|
162
|
+
top: t(e.top) ? Math.max(0, Number(e.top)) : 0,
|
|
163
|
+
right: t(e.right) ? Math.max(0, Number(e.right)) : 0,
|
|
164
|
+
bottom: t(e.bottom) ? Math.max(0, Number(e.bottom)) : 0,
|
|
165
|
+
left: t(e.left) ? Math.max(0, Number(e.left)) : 0
|
|
166
166
|
};
|
|
167
|
-
}), Nt = d(() =>
|
|
168
|
-
if (!U.value.show || !
|
|
167
|
+
}), Nt = d(() => t(U.value.borderWidth) ? Math.max(0, Number(U.value.borderWidth)) : 0), Pt = d(() => t(U.value.borderRadius) ? Math.max(0, Number(U.value.borderRadius)) : 0), q = d(() => t(U.value.maxWidth) ? Math.max(0, Number(U.value.maxWidth)) : null), Ft = d(() => G.value && U.value.show ? it.value : 0), It = d(() => ["left", "right"].includes(yt.value)), Lt = d(() => {
|
|
168
|
+
if (!U.value.show || !t(q.value) || q.value <= 0) return null;
|
|
169
169
|
let e = It.value ? Ft.value : 0;
|
|
170
170
|
return Math.max(1, q.value - K.value.left - K.value.right - e);
|
|
171
171
|
}), Rt = d(() => Lt.value ? Math.max(1, Lt.value - Mt.value) : null), J = d(() => {
|
|
@@ -651,13 +651,13 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
651
651
|
}
|
|
652
652
|
return a && i.push(a), i.length ? i : [""];
|
|
653
653
|
}
|
|
654
|
-
function Qn(e,
|
|
654
|
+
function Qn(e, n, r) {
|
|
655
655
|
let i = Kn(e);
|
|
656
|
-
if (!i.length || !n
|
|
656
|
+
if (!i.length || !t(n) || n <= 0) return i;
|
|
657
657
|
let a = Yn(r);
|
|
658
658
|
if (!a) return i;
|
|
659
659
|
try {
|
|
660
|
-
return i.flatMap((e) => Zn(e,
|
|
660
|
+
return i.flatMap((e) => Zn(e, n, a.measure));
|
|
661
661
|
} finally {
|
|
662
662
|
a.destroy();
|
|
663
663
|
}
|
|
@@ -677,9 +677,9 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
677
677
|
let t = Array.from(e.querySelectorAll("tspan"));
|
|
678
678
|
return t.length ? t.reduce((t, n) => Math.max(t, Jn(n, n.textContent ?? "", e)), 0) : Jn(e, e.textContent ?? "", e);
|
|
679
679
|
}
|
|
680
|
-
function tr(e,
|
|
681
|
-
if (!
|
|
682
|
-
let i = r /
|
|
680
|
+
function tr(e, n, r) {
|
|
681
|
+
if (!t(e) || !t(n) || !t(r) || e <= 0 || n <= r) return e;
|
|
682
|
+
let i = r / n;
|
|
683
683
|
return Math.max(1, e * i * .985);
|
|
684
684
|
}
|
|
685
685
|
function nr() {
|
|
@@ -709,14 +709,14 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
709
709
|
y: l
|
|
710
710
|
};
|
|
711
711
|
}
|
|
712
|
-
function ar(e,
|
|
712
|
+
function ar(e, n) {
|
|
713
713
|
let r = [{
|
|
714
714
|
x: 0,
|
|
715
715
|
y: 0,
|
|
716
716
|
direction: "none"
|
|
717
717
|
}], i = e.x + e.width / 2, a = e.y + e.height / 2;
|
|
718
|
-
for (let o of
|
|
719
|
-
let
|
|
718
|
+
for (let o of n) {
|
|
719
|
+
let n = t(o.gap) ? Math.max(0, Number(o.gap)) : at.value, s = o.x + o.width / 2, c = o.y + o.height / 2, l = o.y - n - (e.y + e.height), u = o.y + o.height + n - e.y, d = o.x - n - (e.x + e.width), f = o.x + o.width + n - e.x;
|
|
720
720
|
r.push({
|
|
721
721
|
x: 0,
|
|
722
722
|
y: l,
|
|
@@ -818,22 +818,22 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
818
818
|
let r = Math.hypot(e.x, e.y);
|
|
819
819
|
return t === "auto" || e.direction === "none" || e.direction === t ? r : r + Math.max(n.width, n.height) * 2;
|
|
820
820
|
}
|
|
821
|
-
function cr(e,
|
|
822
|
-
return
|
|
821
|
+
function cr(e, n) {
|
|
822
|
+
return n.some((n) => Bn(e, n, t(n.gap) ? Math.max(0, Number(n.gap)) : ke));
|
|
823
823
|
}
|
|
824
824
|
function lr(e) {
|
|
825
|
-
let
|
|
825
|
+
let n = t(e?.gap) ? Math.max(0, Number(e.gap)) : ke;
|
|
826
826
|
return {
|
|
827
|
-
x: e.x -
|
|
828
|
-
y: e.y -
|
|
829
|
-
width: e.width +
|
|
830
|
-
height: e.height +
|
|
827
|
+
x: e.x - n,
|
|
828
|
+
y: e.y - n,
|
|
829
|
+
width: e.width + n * 2,
|
|
830
|
+
height: e.height + n * 2
|
|
831
831
|
};
|
|
832
832
|
}
|
|
833
|
-
function ur({ baseRect: e, requestedOffset:
|
|
833
|
+
function ur({ baseRect: e, requestedOffset: n, previousOffset: r = null, hardObstacles: i, bounds: a, overflow: o }) {
|
|
834
834
|
let s = {
|
|
835
|
-
x: n
|
|
836
|
-
y: n
|
|
835
|
+
x: t(n?.x) ? Number(n.x) : 0,
|
|
836
|
+
y: t(n?.y) ? Number(n.y) : 0
|
|
837
837
|
};
|
|
838
838
|
o || (s = ir(e, s, a));
|
|
839
839
|
for (let t of i) {
|
|
@@ -864,9 +864,9 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
864
864
|
}
|
|
865
865
|
return s;
|
|
866
866
|
}
|
|
867
|
-
function dr({ baseRect: e, occupiedRects:
|
|
868
|
-
let l = ar(e, c ? [...r] : [...
|
|
869
|
-
s &&
|
|
867
|
+
function dr({ baseRect: e, occupiedRects: n, hardObstacles: r, bounds: i, position: a, overflow: o, preferredOffset: s = null, ignoreOccupied: c = !1 }) {
|
|
868
|
+
let l = ar(e, c ? [...r] : [...n, ...r]);
|
|
869
|
+
s && t(s.x) && t(s.y) && l.unshift({
|
|
870
870
|
x: Number(s.x),
|
|
871
871
|
y: Number(s.y),
|
|
872
872
|
direction: "manual",
|
|
@@ -879,9 +879,9 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
879
879
|
y: n.y
|
|
880
880
|
};
|
|
881
881
|
})), l = or(l), l.sort((e, t) => sr(e, a, i) - sr(t, a, i));
|
|
882
|
-
function u(
|
|
883
|
-
let a = Q(e,
|
|
884
|
-
return !(!o && !Hn(a, i, y) || cr(a, r) || !c &&
|
|
882
|
+
function u(t) {
|
|
883
|
+
let a = Q(e, t);
|
|
884
|
+
return !(!o && !Hn(a, i, y) || cr(a, r) || !c && n.some((e) => Bn(a, e, at.value)));
|
|
885
885
|
}
|
|
886
886
|
for (let t of l) if (u(t)) {
|
|
887
887
|
if (!t.preferred && [
|
|
@@ -896,11 +896,11 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
896
896
|
return t;
|
|
897
897
|
}
|
|
898
898
|
let d = null, f = Infinity, p = Infinity;
|
|
899
|
-
for (let
|
|
900
|
-
let s = Q(e,
|
|
899
|
+
for (let t of l) {
|
|
900
|
+
let s = Q(e, t);
|
|
901
901
|
if (!o && !Hn(s, i, y) || cr(s, r)) continue;
|
|
902
|
-
let l = c ? 0 :
|
|
903
|
-
(l < f || l === f && u < p) && (f = l, p = u, d =
|
|
902
|
+
let l = c ? 0 : n.reduce((e, t) => e + Vn(s, t), 0), u = sr(t, a, i);
|
|
903
|
+
(l < f || l === f && u < p) && (f = l, p = u, d = t);
|
|
904
904
|
}
|
|
905
905
|
if (d) return d;
|
|
906
906
|
let m = or(ar(e, r)).sort((e, t) => sr(e, a, i) - sr(t, a, i));
|
|
@@ -911,9 +911,9 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
911
911
|
direction: "none"
|
|
912
912
|
};
|
|
913
913
|
}
|
|
914
|
-
function fr(e,
|
|
915
|
-
let r = e?.[
|
|
916
|
-
return !r || !
|
|
914
|
+
function fr(e, n) {
|
|
915
|
+
let r = e?.[n];
|
|
916
|
+
return !r || !t(r.x) || !t(r.y) ? null : {
|
|
917
917
|
x: Number(r.x),
|
|
918
918
|
y: Number(r.y)
|
|
919
919
|
};
|
|
@@ -925,9 +925,9 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
925
925
|
return fr(e, C);
|
|
926
926
|
}
|
|
927
927
|
function hr(e) {
|
|
928
|
-
let
|
|
929
|
-
return
|
|
930
|
-
x: Number(
|
|
928
|
+
let n = e?.dataset?.boxPositionX, r = e?.dataset?.boxPositionY;
|
|
929
|
+
return n === "" || r === "" || !t(n) || !t(r) ? null : {
|
|
930
|
+
x: Number(n),
|
|
931
931
|
y: Number(r)
|
|
932
932
|
};
|
|
933
933
|
}
|
|
@@ -941,13 +941,13 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
941
941
|
return t.sort((e, t) => e[b] - t[b]);
|
|
942
942
|
}
|
|
943
943
|
function vr(e) {
|
|
944
|
-
let
|
|
945
|
-
return !Number.isFinite(
|
|
946
|
-
x:
|
|
944
|
+
let n = Number(e.dataset.targetX), r = Number(e.dataset.targetY);
|
|
945
|
+
return !Number.isFinite(n) || !Number.isFinite(r) ? null : {
|
|
946
|
+
x: n,
|
|
947
947
|
y: r,
|
|
948
948
|
width: 0,
|
|
949
949
|
height: 0,
|
|
950
|
-
gap:
|
|
950
|
+
gap: t(e.dataset.linkLength) ? Math.max(0, Number(e.dataset.linkLength)) : ke
|
|
951
951
|
};
|
|
952
952
|
}
|
|
953
953
|
function yr(e, t, n = null, r = null) {
|
|
@@ -999,15 +999,15 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
999
999
|
}
|
|
1000
1000
|
function wr(e) {
|
|
1001
1001
|
if (!e?.isConnected) return;
|
|
1002
|
-
let
|
|
1003
|
-
if (!
|
|
1002
|
+
let n = _r(e);
|
|
1003
|
+
if (!n.length) return;
|
|
1004
1004
|
let r = Ln(e);
|
|
1005
|
-
for (let e of
|
|
1005
|
+
for (let e of n) e.setAttribute("transform", "translate(0 0)");
|
|
1006
1006
|
let i = [];
|
|
1007
|
-
for (let e of
|
|
1008
|
-
let
|
|
1007
|
+
for (let e of n) {
|
|
1008
|
+
let n = e[Ie] ?? e, r;
|
|
1009
1009
|
try {
|
|
1010
|
-
r =
|
|
1010
|
+
r = n.getBBox();
|
|
1011
1011
|
} catch {
|
|
1012
1012
|
yr(e, null, null, null);
|
|
1013
1013
|
continue;
|
|
@@ -1017,16 +1017,16 @@ var me = /* @__PURE__ */ e({ default: () => D }), he = [
|
|
|
1017
1017
|
continue;
|
|
1018
1018
|
}
|
|
1019
1019
|
let a = Rn(r), o = e.dataset.boxShow === "true", s = {
|
|
1020
|
-
top:
|
|
1021
|
-
right:
|
|
1022
|
-
bottom:
|
|
1023
|
-
left:
|
|
1024
|
-
}, c = o ? zn(a, s) : a, l = o &&
|
|
1020
|
+
top: t(e.dataset.boxPaddingTop) ? Math.max(0, Number(e.dataset.boxPaddingTop)) : 0,
|
|
1021
|
+
right: t(e.dataset.boxPaddingRight) ? Math.max(0, Number(e.dataset.boxPaddingRight)) : 0,
|
|
1022
|
+
bottom: t(e.dataset.boxPaddingBottom) ? Math.max(0, Number(e.dataset.boxPaddingBottom)) : 0,
|
|
1023
|
+
left: t(e.dataset.boxPaddingLeft) ? Math.max(0, Number(e.dataset.boxPaddingLeft)) : 0
|
|
1024
|
+
}, c = o ? zn(a, s) : a, l = o && t(e.dataset.boxMaxWidth) && Number(e.dataset.boxMaxWidth) > 0 ? Number(e.dataset.boxMaxWidth) : null, u = e.dataset.dragEnabled === "true", d = e.dataset.dragHandlePosition, f = [
|
|
1025
1025
|
"left",
|
|
1026
1026
|
"right",
|
|
1027
1027
|
"top",
|
|
1028
1028
|
"bottom"
|
|
1029
|
-
].includes(d) ? d : "right", p = o && u &&
|
|
1029
|
+
].includes(d) ? d : "right", p = o && u && t(e.dataset.dragHandleSize) ? Math.max(0, Number(e.dataset.dragHandleSize)) : 0;
|
|
1030
1030
|
if (p > 0 && (c = f === "left" ? {
|
|
1031
1031
|
...c,
|
|
1032
1032
|
x: c.x - p,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { t } from "./lib-
|
|
2
|
+
import { t } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n, t as r } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as i } from "./useConfig-CyCVHo81.js";
|
|
5
|
-
import { t as a } from "./useNestedProp-
|
|
5
|
+
import { t as a } from "./useNestedProp-Chvyfpl-.js";
|
|
6
6
|
import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, normalizeStyle as d, openBlock as f, ref as p, unref as m, useCssVars as h } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-mini-loader.vue
|