vue-data-ui 3.2.1 → 3.2.3
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-cyyFTTnm.js → Arrow-Bb0bGghy.js} +1 -1
- package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
- package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-Bz-1GQhu.js} +10 -3
- package/dist/ColorPicker-B-WUqMoV.js +238 -0
- package/dist/{DataTable-xISHA7Pu.js → DataTable-BvjacRbw.js} +10 -10
- package/dist/{Legend-_Rv594VS.js → Legend-BpoFJ8fc.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
- package/dist/{PackageVersion-BB7joYAK.js → PackageVersion-oBQ8brnx.js} +1 -1
- package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CR8q353D.js} +3 -3
- package/dist/{Shape-BDy56-wS.js → Shape-C_C_OmqR.js} +1 -1
- package/dist/{Slicer-qM5l8BsU.js → Slicer-BA2GhOmY.js} +68 -68
- package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-Dz1PDE_h.js} +1 -1
- package/dist/{Title-BIaVNiUQ.js → Title-C__lOIPC.js} +1 -1
- package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BOXz8skU.js} +1 -1
- package/dist/{UserOptions-Bn3u4JQu.js → UserOptions-DsTgvAok.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 +5 -0
- 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-cursor.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-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-icon.js +1 -1
- package/dist/components/vue-ui-kpi.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-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-CSg_eTqL.js → dom-to-png-BgvOdfyW.js} +1 -1
- package/dist/{img-CH7J0fYg.js → img-DjWwQXVS.js} +1 -1
- package/dist/{lib-p5pfHmOX.js → lib-BEpWEyMm.js} +351 -368
- package/dist/{pdf-Wd2BQz4D.js → pdf-YD0ShN36.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +24 -3
- package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
- package/dist/{useNestedProp-7BbqoAYu.js → useNestedProp-CLD3Gk9S.js} +24 -7
- package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-w23K-ezx.js} +2 -2
- package/dist/{vue-data-ui-DyqIdFbp.js → vue-data-ui-hSWsJzdK.js} +64 -64
- package/dist/vue-data-ui.js +96 -96
- package/dist/{vue-ui-3d-bar-BrlJjJDI.js → vue-ui-3d-bar-B45AYk-O.js} +6 -6
- package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
- package/dist/{vue-ui-age-pyramid-BDIMacvP.js → vue-ui-age-pyramid-CJ66TbYc.js} +6 -6
- package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
- package/dist/{vue-ui-bullet-CIJw4kXd.js → vue-ui-bullet-D_V1l1Jt.js} +15 -15
- package/dist/{vue-ui-candlestick-ZjLiyYpC.js → vue-ui-candlestick-DrkWrGT2.js} +33 -33
- package/dist/{vue-ui-carousel-table-_-qalKHa.js → vue-ui-carousel-table-0zk2YkV7.js} +4 -4
- package/dist/{vue-ui-chestnut-XkX5ANAN.js → vue-ui-chestnut-CAGkS9Lt.js} +33 -33
- package/dist/{vue-ui-chord-B1vFXFgp.js → vue-ui-chord-CHAaUGaZ.js} +54 -54
- package/dist/{vue-ui-circle-pack-8J10Q6-I.js → vue-ui-circle-pack-CBySiQot.js} +31 -31
- package/dist/{vue-ui-cursor-CQp6B13J.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
- package/dist/{vue-ui-dashboard-CTEYSHVA.js → vue-ui-dashboard-BAOd1hi1.js} +69 -69
- package/dist/{vue-ui-digits-B4aZJw8I.js → vue-ui-digits-ChAz3jSS.js} +2 -2
- package/dist/{vue-ui-donut-d_XvnIQB.js → vue-ui-donut-BgYaWImK.js} +8 -8
- package/dist/{vue-ui-donut-evolution-Bz7fLQru.js → vue-ui-donut-evolution-UWyvIsbE.js} +55 -55
- package/dist/{vue-ui-dumbbell-fDl24oQq.js → vue-ui-dumbbell-B5IHRXdS.js} +7 -7
- package/dist/{vue-ui-flow-NYnnPoDX.js → vue-ui-flow-DB4sLZG4.js} +63 -63
- package/dist/{vue-ui-funnel-BWPIKyW8.js → vue-ui-funnel-COZLSfZ8.js} +37 -37
- package/dist/{vue-ui-galaxy-LabscC7n.js → vue-ui-galaxy-S8pIdU78.js} +46 -46
- package/dist/{vue-ui-gauge-DXETakZJ.js → vue-ui-gauge-BVaE3IZt.js} +59 -59
- package/dist/{vue-ui-gizmo-DZgMzP_e.js → vue-ui-gizmo-BmJ01zdG.js} +3 -3
- package/dist/{vue-ui-heatmap-C6Z5wEkZ.js → vue-ui-heatmap-DiAryN8L.js} +8 -8
- package/dist/{vue-ui-history-plot-CUGzhcjr.js → vue-ui-history-plot-eeYk4C28.js} +44 -44
- package/dist/{vue-ui-kpi-DklTxULP.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
- package/dist/{vue-ui-mini-loader-D22vfM5g.js → vue-ui-mini-loader-CKMzFSG5.js} +5 -5
- package/dist/{vue-ui-molecule-BAH7NOZP.js → vue-ui-molecule-daI3rmbc.js} +6 -6
- package/dist/{vue-ui-mood-radar-DWZKM2u0.js → vue-ui-mood-radar-CawOBU0s.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CxUSyTrT.js → vue-ui-nested-donuts-Ci7qxsh6.js} +70 -70
- package/dist/{vue-ui-onion-BfzkGOmQ.js → vue-ui-onion-CUkVuewC.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-Dnl2GBps.js → vue-ui-parallel-coordinate-plot-D7UkjkUV.js} +35 -35
- package/dist/{vue-ui-quadrant-C_3l8xWm.js → vue-ui-quadrant-B9VZz5d6.js} +8 -8
- package/dist/{vue-ui-quick-chart-E6QujRg4.js → vue-ui-quick-chart-BQgH4Aap.js} +55 -55
- package/dist/{vue-ui-radar-C_yLoJvR.js → vue-ui-radar-DvZ8XcZC.js} +54 -54
- package/dist/{vue-ui-rating-Df02iNbL.js → vue-ui-rating-C0Ubexdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-CBIXCwQb.js → vue-ui-relation-circle-Bal5QL_Z.js} +28 -28
- package/dist/{vue-ui-ridgeline-euhLcVI0.js → vue-ui-ridgeline-DbRZFJcN.js} +27 -27
- package/dist/{vue-ui-rings-BGxjmMDw.js → vue-ui-rings-BJ_Dmy5i.js} +38 -38
- package/dist/{vue-ui-scatter-CO4kXKZF.js → vue-ui-scatter-bljL9Bav.js} +50 -50
- package/dist/{vue-ui-skeleton-DrCI1AAl.js → vue-ui-skeleton-DZPi12tE.js} +3 -3
- package/dist/{vue-ui-smiley-FPLXOxew.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
- package/dist/{vue-ui-spark-trend-D4dDN0Sc.js → vue-ui-spark-trend-CqMF642_.js} +22 -22
- package/dist/{vue-ui-sparkbar-BEXrQvP0.js → vue-ui-sparkbar-BcyaivMe.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Cp4-BTZu.js → vue-ui-sparkgauge-BkIUpzkZ.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BwmKv4YF.js → vue-ui-sparkhistogram-DnPdJk3e.js} +4 -4
- package/dist/{vue-ui-sparkline-BXZJ-fUn.js → vue-ui-sparkline-F7h636hU.js} +29 -29
- package/dist/{vue-ui-sparkstackbar-Cie2g7gk.js → vue-ui-sparkstackbar-B-Du5D3w.js} +3 -3
- package/dist/{vue-ui-stackbar-B137wy4q.js → vue-ui-stackbar-BNOfLkY2.js} +38 -38
- package/dist/{vue-ui-strip-plot-Dd1aHpFW.js → vue-ui-strip-plot-DNPM01M_.js} +7 -7
- package/dist/{vue-ui-table-CduckNVX.js → vue-ui-table-__ABUm9x.js} +196 -156
- package/dist/{vue-ui-table-heatmap-DZAkUjty.js → vue-ui-table-heatmap-D-iueyM0.js} +14 -14
- package/dist/{vue-ui-table-sparkline-D6oTAFEO.js → vue-ui-table-sparkline-B5QdvlV7.js} +5 -5
- package/dist/{vue-ui-thermometer-BmK3_O7T.js → vue-ui-thermometer-DID_4Y6w.js} +10 -10
- package/dist/{vue-ui-timer-BYw6Z01O.js → vue-ui-timer-CjJmpXoF.js} +27 -27
- package/dist/{vue-ui-tiremarks-CWiME7zn.js → vue-ui-tiremarks-wDKOTVny.js} +6 -6
- package/dist/{vue-ui-treemap-D8PmfJbw.js → vue-ui-treemap-DFo4w0cb.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DRC047BC.js → vue-ui-vertical-bar-BEdckhBh.js} +31 -31
- package/dist/{vue-ui-waffle-DAaBoyx4.js → vue-ui-waffle-D5i1Q6tF.js} +75 -75
- package/dist/vue-ui-wheel-DJlN8joO.js +620 -0
- package/dist/{vue-ui-word-cloud-ByKWZtkV.js → vue-ui-word-cloud-B7Y2UrwO.js} +29 -29
- package/dist/{vue-ui-world-BezpUr_Q.js → vue-ui-world-DzF8YW_Q.js} +6 -6
- package/dist/{vue-ui-xy-DlcJVA22.js → vue-ui-xy-DGln2YgO.js} +900 -822
- package/dist/{vue-ui-xy-canvas-DPfxdanR.js → vue-ui-xy-canvas-DF2Ts-g3.js} +10 -10
- package/package.json +3 -3
- package/dist/ColorPicker-gaAecgEC.js +0 -135
- package/dist/vue-ui-accordion-BSrtaPYx.js +0 -76
- package/dist/vue-ui-annotator-DGVlVhhy.js +0 -2182
- package/dist/vue-ui-wheel-DfNXrsTY.js +0 -587
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineAsyncComponent as ee, ref as c, computed as L, useSlots as ea, onMounted as dl, watch as D, nextTick as hl, shallowRef as Me, onBeforeUnmount as la, createElementBlock as de, openBlock as S, unref as p, normalizeClass as aa, normalizeStyle as le, createCommentVNode as H, createElementVNode as Y, createBlock as F, createSlots as fl, withCtx as m, renderSlot as k, normalizeProps as V, guardReactiveProps as Z, createVNode as yl, Teleport as ta, toDisplayString as Oe, resolveDynamicComponent as oa, mergeProps as ua, createTextVNode as gl } from "vue";
|
|
2
|
-
import { c as ra, b as sa, p as G,
|
|
2
|
+
import { c as ra, b as sa, p as G, B as xe, e as na, C as Re, a as ae, d as te, h as pl, _ as ia, J as va, a7 as ca, o as da, f as ha, z as ml, x as fa, y as ya, A as ga, s as he, m as pa } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { d as ma, t as ba, u as xa, c as La, a as bl, l as C, r as De, b as P, p as xl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ka, a as Ll } from "./useNestedProp-
|
|
5
|
-
import { u as Ca } from "./usePrinter-
|
|
4
|
+
import { u as ka, a as Ll } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
|
+
import { u as Ca } from "./usePrinter-w23K-ezx.js";
|
|
6
6
|
import { u as wa } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Sa } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
8
|
import { t as za } from "./themes-D3cUNuKw.js";
|
|
9
|
-
import $a from "./Legend-
|
|
10
|
-
import Ta from "./Title-
|
|
11
|
-
import { S as Ia } from "./Slicer-
|
|
12
|
-
import Ma from "./vue-ui-accordion-
|
|
9
|
+
import $a from "./Legend-BpoFJ8fc.js";
|
|
10
|
+
import Ta from "./Title-C__lOIPC.js";
|
|
11
|
+
import { S as Ia } from "./Slicer-BA2GhOmY.js";
|
|
12
|
+
import Ma from "./vue-ui-accordion-Cv7OaVUI.js";
|
|
13
13
|
import { u as Oa } from "./useTimeLabels-BGFjWgrv.js";
|
|
14
|
-
import Ra from "./img-
|
|
15
|
-
import Da from "./BaseIcon-
|
|
14
|
+
import Ra from "./img-DjWwQXVS.js";
|
|
15
|
+
import Da from "./BaseIcon-Bz-1GQhu.js";
|
|
16
16
|
import { _ as Fa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
|
|
18
18
|
key: 3,
|
|
@@ -35,7 +35,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend"],
|
|
37
37
|
setup(Fe, { expose: kl, emit: Cl }) {
|
|
38
|
-
const wl = ee(() => import("./DataTable-
|
|
38
|
+
const wl = ee(() => import("./DataTable-BvjacRbw.js")), Sl = ee(() => import("./NonSvgPenAndPaper-l9giyY1Z.js")), zl = ee(() => import("./vue-ui-skeleton-DZPi12tE.js")), $l = ee(() => import("./Tooltip-BOXz8skU.js")), Tl = ee(() => import("./UserOptions-DsTgvAok.js")), Il = ee(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_xy_canvas: Ml } = ka(), g = Fe, _ = c(ra()), I = c(null), oe = c(null), n = c(null), f = c(1), E = c(1), fe = c(!1), d = c(null), ye = c(""), Pe = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ee = c(0), Ae = c(0), ue = c(!1), Ne = c(null), He = c(null), Ye = c(null), _e = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Be = c(!1), re = c(null), Se = c(null), ge = L(() => !!g.dataset && g.dataset.length), Ol = Cl, Rl = ea();
|
|
39
39
|
dl(() => {
|
|
40
40
|
Rl["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
41
41
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-data-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
|
|
7
7
|
"keywords": [
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
"remove-attr": "^0.0.13",
|
|
111
111
|
"sass": "^1.57.1",
|
|
112
112
|
"simple-git": "^3.24.0",
|
|
113
|
-
"vite": "^7.1.
|
|
113
|
+
"vite": "^7.1.7",
|
|
114
114
|
"vitest": "^3.2.4",
|
|
115
|
-
"vue": "^3.5.
|
|
115
|
+
"vue": "^3.5.22"
|
|
116
116
|
}
|
|
117
117
|
}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { ref as l, computed as k, watch as I, withDirectives as P, createElementBlock as r, openBlock as n, withKeys as S, createElementVNode as u, createCommentVNode as z, normalizeStyle as a, createVNode as F, Fragment as E, renderList as N, unref as O } from "vue";
|
|
2
|
-
import C from "./BaseIcon-D2f9w5Z5.js";
|
|
3
|
-
import { G as V } from "./lib-p5pfHmOX.js";
|
|
4
|
-
import { v as D } from "./vClickOutside-C6WiFswA.js";
|
|
5
|
-
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const $ = ["onClick"], G = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -46%)" } }, L = ["value"], T = {
|
|
7
|
-
__name: "ColorPicker",
|
|
8
|
-
props: {
|
|
9
|
-
value: {
|
|
10
|
-
type: String,
|
|
11
|
-
default: "#ffffff"
|
|
12
|
-
},
|
|
13
|
-
size: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: "50px"
|
|
16
|
-
},
|
|
17
|
-
backgroundColor: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "#FFFFFF"
|
|
20
|
-
},
|
|
21
|
-
buttonBorderColor: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: "#FFFFFF"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
emits: ["update:value"],
|
|
27
|
-
setup(e, { emit: m }) {
|
|
28
|
-
const c = e, s = m, g = l(null), y = k(() => ({
|
|
29
|
-
backgroundColor: c.value,
|
|
30
|
-
width: "100%",
|
|
31
|
-
height: "100%",
|
|
32
|
-
cursor: "pointer"
|
|
33
|
-
})), i = l(null), o = l(!1), b = () => {
|
|
34
|
-
i.value?.click();
|
|
35
|
-
};
|
|
36
|
-
function h(t) {
|
|
37
|
-
s("update:value", t), o.value = !1;
|
|
38
|
-
}
|
|
39
|
-
function _() {
|
|
40
|
-
o.value = !1;
|
|
41
|
-
}
|
|
42
|
-
function d() {
|
|
43
|
-
o.value && _();
|
|
44
|
-
}
|
|
45
|
-
const x = (t) => {
|
|
46
|
-
const v = t.target.value;
|
|
47
|
-
s("update:value", v);
|
|
48
|
-
}, p = k(() => V(c.value));
|
|
49
|
-
async function w() {
|
|
50
|
-
o.value = !o.value;
|
|
51
|
-
}
|
|
52
|
-
I(
|
|
53
|
-
() => c.value,
|
|
54
|
-
(t) => {
|
|
55
|
-
i.value.value = t;
|
|
56
|
-
}
|
|
57
|
-
);
|
|
58
|
-
const B = l([
|
|
59
|
-
"#000000",
|
|
60
|
-
"#FFFFFF",
|
|
61
|
-
"#FF5733",
|
|
62
|
-
"#33FF57",
|
|
63
|
-
"#3357FF",
|
|
64
|
-
"#FFC300",
|
|
65
|
-
"#800080",
|
|
66
|
-
"#FF1493",
|
|
67
|
-
"#00CED1"
|
|
68
|
-
]);
|
|
69
|
-
return (t, v) => P((n(), r("div", {
|
|
70
|
-
onKeydown: S(d, ["esc"]),
|
|
71
|
-
style: { height: "100%", width: "100%", position: "relative" }
|
|
72
|
-
}, [
|
|
73
|
-
u("button", {
|
|
74
|
-
class: "icon",
|
|
75
|
-
onClick: w,
|
|
76
|
-
style: a(y.value)
|
|
77
|
-
}, [
|
|
78
|
-
F(C, {
|
|
79
|
-
name: "palette",
|
|
80
|
-
stroke: p.value,
|
|
81
|
-
size: 22
|
|
82
|
-
}, null, 8, ["stroke"])
|
|
83
|
-
], 4),
|
|
84
|
-
o.value ? (n(), r("div", {
|
|
85
|
-
key: 0,
|
|
86
|
-
ref_key: "picker",
|
|
87
|
-
ref: g,
|
|
88
|
-
tabindex: "0",
|
|
89
|
-
class: "vue-ui-color-picker",
|
|
90
|
-
style: a({
|
|
91
|
-
backgroundColor: e.backgroundColor
|
|
92
|
-
})
|
|
93
|
-
}, [
|
|
94
|
-
(n(!0), r(E, null, N(B.value, (f) => (n(), r("button", {
|
|
95
|
-
tabindex: "0",
|
|
96
|
-
class: "vue-ui-color-picker-option",
|
|
97
|
-
style: a({
|
|
98
|
-
backgroundColor: f,
|
|
99
|
-
outline: `1px solid ${e.buttonBorderColor}`
|
|
100
|
-
}),
|
|
101
|
-
onClick: () => h(f)
|
|
102
|
-
}, null, 12, $))), 256)),
|
|
103
|
-
u("button", {
|
|
104
|
-
class: "vue-ui-color-picker-option",
|
|
105
|
-
onClick: b,
|
|
106
|
-
style: a({
|
|
107
|
-
backgroundColor: e.value,
|
|
108
|
-
outline: `1px solid ${e.buttonBorderColor}`
|
|
109
|
-
})
|
|
110
|
-
}, [
|
|
111
|
-
u("div", G, [
|
|
112
|
-
F(C, {
|
|
113
|
-
name: "colorPicker",
|
|
114
|
-
stroke: p.value,
|
|
115
|
-
size: 22
|
|
116
|
-
}, null, 8, ["stroke"])
|
|
117
|
-
]),
|
|
118
|
-
u("input", {
|
|
119
|
-
ref_key: "colorInput",
|
|
120
|
-
ref: i,
|
|
121
|
-
type: "color",
|
|
122
|
-
value: e.value,
|
|
123
|
-
class: "hidden-input",
|
|
124
|
-
onInput: x
|
|
125
|
-
}, null, 40, L)
|
|
126
|
-
], 4)
|
|
127
|
-
], 4)) : z("", !0)
|
|
128
|
-
], 32)), [
|
|
129
|
-
[O(D), d]
|
|
130
|
-
]);
|
|
131
|
-
}
|
|
132
|
-
}, M = /* @__PURE__ */ K(T, [["__scopeId", "data-v-f6dd9192"]]);
|
|
133
|
-
export {
|
|
134
|
-
M as C
|
|
135
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-D2f9w5Z5.js";
|
|
3
|
-
import { u as x, a as B } from "./useNestedProp-7BbqoAYu.js";
|
|
4
|
-
import { c as I } from "./lib-p5pfHmOX.js";
|
|
5
|
-
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const F = ["id"], P = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "vue-ui-accordion-arrow"
|
|
9
|
-
}, z = {
|
|
10
|
-
__name: "vue-ui-accordion",
|
|
11
|
-
props: {
|
|
12
|
-
config: {
|
|
13
|
-
type: Object,
|
|
14
|
-
default() {
|
|
15
|
-
return {};
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
hideDetails: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: !1
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
setup(l) {
|
|
24
|
-
y((o) => ({
|
|
25
|
-
"95f7c2e4": C.value
|
|
26
|
-
}));
|
|
27
|
-
const { vue_ui_accordion: f } = x(), g = l, e = s(() => B({
|
|
28
|
-
userConfig: g.config,
|
|
29
|
-
defaultConfig: f
|
|
30
|
-
})), a = r(e.value.open), h = r(I()), t = r(null), d = r(0);
|
|
31
|
-
b(() => {
|
|
32
|
-
t.value.open = e.value.open;
|
|
33
|
-
}), _(() => e.value.open, (o) => {
|
|
34
|
-
t.value.open = o;
|
|
35
|
-
});
|
|
36
|
-
function k() {
|
|
37
|
-
(d.value > 0 || !e.value.open) && (a.value = !a.value), d.value += 1;
|
|
38
|
-
}
|
|
39
|
-
const C = s(() => `${e.value.maxHeight}px`);
|
|
40
|
-
return (o, E) => (u(), v("div", null, [
|
|
41
|
-
n("details", {
|
|
42
|
-
id: `details_${h.value}`,
|
|
43
|
-
ref_key: "details",
|
|
44
|
-
ref: t,
|
|
45
|
-
onToggle: k
|
|
46
|
-
}, [
|
|
47
|
-
n("summary", {
|
|
48
|
-
class: $({ "vue-ui-accordion-headless": l.hideDetails })
|
|
49
|
-
}, [
|
|
50
|
-
n("div", {
|
|
51
|
-
class: "vue-ui-accordion-head",
|
|
52
|
-
style: p(`background:${e.value.head.backgroundColor};padding:${e.value.head.padding}; ${l.hideDetails ? "height: 0px !important; padding: 0 !important;" : ""}`)
|
|
53
|
-
}, [
|
|
54
|
-
l.hideDetails ? O("", !0) : (u(), v("div", P, [
|
|
55
|
-
e.value.head.useArrowSlot ? c(o.$slots, "arrow", i(N({ key: 0 }, { backgroundColor: e.value.head.backgroundColor, color: e.value.head.color, iconColor: e.value.head.iconColor, isOpen: a.value })), void 0, !0) : (u(), D(w, {
|
|
56
|
-
key: 1,
|
|
57
|
-
name: "arrowRight",
|
|
58
|
-
stroke: e.value.head.iconColor
|
|
59
|
-
}, null, 8, ["stroke"]))
|
|
60
|
-
])),
|
|
61
|
-
c(o.$slots, "title", i(m({ color: e.value.head.color, isOpen: a.value })), void 0, !0)
|
|
62
|
-
], 4)
|
|
63
|
-
], 2)
|
|
64
|
-
], 40, F),
|
|
65
|
-
n("div", {
|
|
66
|
-
class: "vue-ui-accordion-content",
|
|
67
|
-
style: p(`background:${e.value.body.backgroundColor};color:${e.value.body.color}`)
|
|
68
|
-
}, [
|
|
69
|
-
c(o.$slots, "content", i(m({ backgroundColor: e.value.body.backgroundColor, color: e.value.body.color, isOpen: a.value })), void 0, !0)
|
|
70
|
-
], 4)
|
|
71
|
-
]));
|
|
72
|
-
}
|
|
73
|
-
}, R = /* @__PURE__ */ A(z, [["__scopeId", "data-v-28fc829c"]]);
|
|
74
|
-
export {
|
|
75
|
-
R as default
|
|
76
|
-
};
|