vue-data-ui 2.4.66 → 2.4.68
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/README.md +51 -3
- package/dist/{Arrow-DnHGHQq6.js → Arrow-D5Ik6Rl_.js} +1 -1
- package/dist/{Arrow-CinoagyA.cjs → Arrow-DTyx6yXe.cjs} +1 -1
- package/dist/{BaseIcon-DDhFGhji.cjs → BaseIcon-At97xJaA.cjs} +1 -1
- package/dist/{BaseIcon-BL0i0eFe.js → BaseIcon-D7H3G8-f.js} +1 -1
- package/dist/{DataTable-CrQ-j4UZ.js → DataTable-CNH8bChE.js} +2 -2
- package/dist/{DataTable-CrU6NsnZ.cjs → DataTable-Dng-zRfh.cjs} +1 -1
- package/dist/{Legend-B05Ec_1l.js → Legend-kF7sC1KK.js} +2 -2
- package/dist/{Legend-CpC2khOT.cjs → Legend-kMbr5DZt.cjs} +1 -1
- package/dist/{PackageVersion-BTEZS-AO.cjs → PackageVersion-CHUMvFGr.cjs} +1 -1
- package/dist/{PackageVersion-yUQtXKwp.js → PackageVersion-m6HC0skh.js} +1 -1
- package/dist/{PenAndPaper-BaKbiNrh.cjs → PenAndPaper-DmMAK04m.cjs} +1 -1
- package/dist/{PenAndPaper-CYyJrFfM.js → PenAndPaper-FOhKSug_.js} +3 -3
- package/dist/{Shape-CDFEALe-.cjs → Shape-Ajzs1V3O.cjs} +1 -1
- package/dist/{Shape-BpLTlC_C.js → Shape-CfcWXI5g.js} +1 -1
- package/dist/{Slicer-C4sOxE_0.js → Slicer-Bq3BajcJ.js} +2 -2
- package/dist/{Slicer-8RJ40s0G.cjs → Slicer-Cgyw5vYE.cjs} +1 -1
- package/dist/{Title-BAqipUCK.cjs → Title-C7y-iI1m.cjs} +1 -1
- package/dist/{Title-DzwQyxHK.js → Title-L52l_KMR.js} +1 -1
- package/dist/{Tooltip-zI1jiDe6.js → Tooltip-FYp9ljnj.js} +1 -1
- package/dist/{Tooltip-Bg6dUJYI.cjs → Tooltip-Y622sV6l.cjs} +1 -1
- package/dist/{index-CTPLFZB1.js → index-3_ulDZ6w.js} +8 -7
- package/dist/{index-D34VnlKo.cjs → index-CPtAxuTc.cjs} +3 -3
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +11 -0
- package/dist/types/vue-data-ui.d.ts +11 -0
- package/dist/{useNestedProp-CYQCqGyq.js → useNestedProp-Bs6ltq3I.js} +1 -1
- package/dist/{useNestedProp-DQqkm_M2.cjs → useNestedProp-BtCZVKOm.cjs} +1 -1
- package/dist/{usePrinter-VZV9i0vE.cjs → usePrinter-BmNhTUGE.cjs} +1 -1
- package/dist/{usePrinter-BOhLGHKi.js → usePrinter-NdwnpHUu.js} +1 -1
- package/dist/vue-data-ui-C4MFJb3X.cjs +9 -0
- package/dist/vue-data-ui-qqS_JEAb.js +288 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +41 -40
- package/dist/{vue-ui-3d-bar-Bia0XepA.js → vue-ui-3d-bar-B-DPM6sB.js} +9 -9
- package/dist/{vue-ui-3d-bar-DMJ8_prS.cjs → vue-ui-3d-bar-D1Q5GpB8.cjs} +1 -1
- package/dist/{vue-ui-accordion-DLo-MS7a.js → vue-ui-accordion-DXlXtAML.js} +3 -3
- package/dist/{vue-ui-accordion-CB-ii53-.cjs → vue-ui-accordion-Dd0mfQys.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-SRYqnWde.js → vue-ui-age-pyramid-CEw1j90S.js} +10 -10
- package/dist/{vue-ui-age-pyramid-BsCRCTkU.cjs → vue-ui-age-pyramid-Dn8sTUD1.cjs} +1 -1
- package/dist/{vue-ui-annotator-CRyAG0LO.cjs → vue-ui-annotator-DLwKn7nJ.cjs} +1 -1
- package/dist/{vue-ui-annotator-CMEi2CeL.js → vue-ui-annotator-I7b5208U.js} +1 -1
- package/dist/{vue-ui-bullet-DMqGu5l7.cjs → vue-ui-bullet-B_toFHM0.cjs} +1 -1
- package/dist/{vue-ui-bullet-gH7JdVPs.js → vue-ui-bullet-CUpzxv8b.js} +8 -8
- package/dist/{vue-ui-candlestick-DvXyfStN.js → vue-ui-candlestick-D4poOC-A.js} +11 -11
- package/dist/{vue-ui-candlestick-DdRk6RyV.cjs → vue-ui-candlestick-DUjJP9IX.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-D8qRz5dB.cjs → vue-ui-carousel-table-BRdt1LUl.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DV4mDEda.js → vue-ui-carousel-table-CMP41H6W.js} +4 -4
- package/dist/{vue-ui-chestnut-BgIxc4rY.cjs → vue-ui-chestnut-BGpagpDQ.cjs} +1 -1
- package/dist/{vue-ui-chestnut--47-80Bn.js → vue-ui-chestnut-BzCjWlbs.js} +8 -8
- package/dist/{vue-ui-cursor-ktnsEEbG.js → vue-ui-cursor-CdhhPJ2w.js} +2 -2
- package/dist/{vue-ui-cursor-BkwiaFRC.cjs → vue-ui-cursor-Ike72xN1.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CLfGxnbt.js → vue-ui-dashboard-CDUpQHzg.js} +2 -2
- package/dist/{vue-ui-dashboard-DwXOmsTy.cjs → vue-ui-dashboard-CFF1xhGw.cjs} +1 -1
- package/dist/{vue-ui-digits-BZ1j5jy-.js → vue-ui-digits-Cje8oZYA.js} +2 -2
- package/dist/{vue-ui-digits-2fdBtEvo.cjs → vue-ui-digits-Cu3AtNFJ.cjs} +1 -1
- package/dist/{vue-ui-donut-CXumbWa-.cjs → vue-ui-donut-BNmui7ee.cjs} +1 -1
- package/dist/{vue-ui-donut-CbLrJw6j.js → vue-ui-donut-DyEbJv8M.js} +12 -12
- package/dist/{vue-ui-donut-evolution-C6E6ex_P.js → vue-ui-donut-evolution-B_kVMwY5.js} +11 -11
- package/dist/{vue-ui-donut-evolution-D9b_8fvQ.cjs → vue-ui-donut-evolution-BxElmgKr.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-yo3qeSim.cjs → vue-ui-dumbbell-Bb4_UIZL.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-Bw22lnUz.js → vue-ui-dumbbell-XSwVUKkI.js} +10 -10
- package/dist/{vue-ui-flow-DWasFCLd.cjs → vue-ui-flow-BxSDPsTX.cjs} +1 -1
- package/dist/{vue-ui-flow-4QNqMDZQ.js → vue-ui-flow-CT9Ikm2q.js} +9 -9
- package/dist/{vue-ui-funnel-yhpp5IjE.cjs → vue-ui-funnel-4Xz5KcCC.cjs} +1 -1
- package/dist/{vue-ui-funnel-DkTmYwFz.js → vue-ui-funnel-xE-KSwUY.js} +9 -9
- package/dist/{vue-ui-galaxy-LZr-E91c.cjs → vue-ui-galaxy-BKyxc95s.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DmWcHtQs.js → vue-ui-galaxy-CQu_2tM7.js} +11 -11
- package/dist/{vue-ui-gauge-DFDkLgtH.js → vue-ui-gauge-BML0PHj7.js} +7 -7
- package/dist/{vue-ui-gauge-ClNvXC3Q.cjs → vue-ui-gauge-BY-_g8oh.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Dp6JyPHC.js → vue-ui-gizmo-CZdz1ws4.js} +3 -3
- package/dist/{vue-ui-gizmo-D-96qCuO.cjs → vue-ui-gizmo-DCDez8vm.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BdT2qDhu.cjs → vue-ui-heatmap-B6TqJ0rT.cjs} +1 -1
- package/dist/{vue-ui-heatmap-C28SIiux.js → vue-ui-heatmap-BBhBotdK.js} +10 -10
- package/dist/{vue-ui-history-plot-BXolBuor.js → vue-ui-history-plot-CEGzb0go.js} +11 -11
- package/dist/{vue-ui-history-plot-CiIq7L89.cjs → vue-ui-history-plot-ICiiX_iG.cjs} +1 -1
- package/dist/{vue-ui-kpi-nnH0NlWt.js → vue-ui-kpi-CcY9SiQU.js} +3 -3
- package/dist/{vue-ui-kpi-Cp52wvwz.cjs → vue-ui-kpi-b1KYFaD5.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Bxpax8Nj.js → vue-ui-mini-loader-ChYeDs8b.js} +2 -2
- package/dist/{vue-ui-mini-loader-Cl9GjcDo.cjs → vue-ui-mini-loader-DRDOwWX4.cjs} +1 -1
- package/dist/{vue-ui-molecule-DfD1wEDy.cjs → vue-ui-molecule-BC9pfKLe.cjs} +1 -1
- package/dist/{vue-ui-molecule-CnCjuJu1.js → vue-ui-molecule-C7RlUrep.js} +11 -11
- package/dist/{vue-ui-mood-radar-RPgRutQv.cjs → vue-ui-mood-radar-DuyOelxm.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CDOq4EXn.js → vue-ui-mood-radar-MwQGdQBk.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DOkP-Qof.js → vue-ui-nested-donuts-CTjWqxm1.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BAKBPN7A.cjs → vue-ui-nested-donuts-DV_fUt8X.cjs} +1 -1
- package/dist/{vue-ui-onion-DTzZcLj-.cjs → vue-ui-onion-CMJQd4hJ.cjs} +1 -1
- package/dist/{vue-ui-onion-BDLsK5Yj.js → vue-ui-onion-DQU2quzY.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-onQ2LC2e.js → vue-ui-parallel-coordinate-plot-el0qRCNH.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-CxQ4dMOc.cjs → vue-ui-parallel-coordinate-plot-mr_VL-5e.cjs} +1 -1
- package/dist/vue-ui-pattern-COZLnLYz.js +146 -0
- package/dist/vue-ui-pattern-CT3p_iOg.cjs +1 -0
- package/dist/{vue-ui-quadrant-BnpSQgPI.js → vue-ui-quadrant-D4JbzGnx.js} +12 -12
- package/dist/{vue-ui-quadrant-DKFp_Xl5.cjs → vue-ui-quadrant-p1PqQgE8.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-C7yT4KRZ.js → vue-ui-quick-chart-C7dbfJas.js} +9 -9
- package/dist/{vue-ui-quick-chart-CfHuPSlh.cjs → vue-ui-quick-chart-CpVCnKQR.cjs} +1 -1
- package/dist/{vue-ui-radar-tWBSOOQ7.cjs → vue-ui-radar-B8w_jmnj.cjs} +1 -1
- package/dist/{vue-ui-radar-2yAwkUX-.js → vue-ui-radar-DwcDudGq.js} +12 -12
- package/dist/{vue-ui-rating-B6jY2NFV.cjs → vue-ui-rating-CF611kMg.cjs} +1 -1
- package/dist/{vue-ui-rating-Bn0chVr_.js → vue-ui-rating-CVWVcuH4.js} +2 -2
- package/dist/{vue-ui-relation-circle-Cq2wrLZb.js → vue-ui-relation-circle-DOqHTAlr.js} +7 -7
- package/dist/{vue-ui-relation-circle-CNQau7y6.cjs → vue-ui-relation-circle-i-IWbtjG.cjs} +1 -1
- package/dist/{vue-ui-rings-Z61TsIO0.js → vue-ui-rings-CYtiwLoa.js} +12 -12
- package/dist/{vue-ui-rings-BMSkgetK.cjs → vue-ui-rings-HITb7jlj.cjs} +1 -1
- package/dist/{vue-ui-scatter-Cd9d2gvB.js → vue-ui-scatter-Cz4FEjWs.js} +12 -12
- package/dist/{vue-ui-scatter-CZTHchb5.cjs → vue-ui-scatter-OHMJOdMx.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Dzex21Ck.js → vue-ui-screenshot-BdztwxL8.js} +1 -1
- package/dist/{vue-ui-screenshot--BsSpFoM.cjs → vue-ui-screenshot-PgLhVqsE.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CN5Eejtd.cjs → vue-ui-skeleton-DkZB7ae3.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D2SlwBer.js → vue-ui-skeleton-uAX1ZH1F.js} +3 -3
- package/dist/{vue-ui-smiley-CqEd1qeu.js → vue-ui-smiley-B8AEl3OB.js} +2 -2
- package/dist/{vue-ui-smiley-BwXqK-x4.cjs → vue-ui-smiley-CdtUIpXZ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-C37XHHpt.cjs → vue-ui-spark-trend-BvYBFEgW.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BrEWsDTR.js → vue-ui-spark-trend-C4TeGkYj.js} +5 -5
- package/dist/{vue-ui-sparkbar-Dkn9l6Iv.js → vue-ui-sparkbar-CTjfAkYo.js} +4 -4
- package/dist/{vue-ui-sparkbar-pOZ6cirK.cjs → vue-ui-sparkbar-DB7UzjAD.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-FqKAu1Qk.js → vue-ui-sparkgauge-BlPTNi74.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BUFLskBw.cjs → vue-ui-sparkgauge-Bn2BPZoT.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CDna0c0K.cjs → vue-ui-sparkhistogram-B1mF8U0R.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C1Rg7R7q.js → vue-ui-sparkhistogram-BKRqTMvf.js} +5 -5
- package/dist/{vue-ui-sparkline-BoQGdcb-.js → vue-ui-sparkline-Bg-TapoG.js} +4 -4
- package/dist/{vue-ui-sparkline-C4Y11Y9_.cjs → vue-ui-sparkline-Dj0hFEo0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CttAiR_w.js → vue-ui-sparkstackbar-D8KqTPqH.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DBudhYEs.cjs → vue-ui-sparkstackbar-DzI-MFl3.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BOtbKiIU.js → vue-ui-stackbar-6vF4VXMO.js} +13 -13
- package/dist/{vue-ui-stackbar-DRcXZyiM.cjs → vue-ui-stackbar-e1b5UPvn.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-B_jvu-0j.cjs → vue-ui-strip-plot-GsQbr3zj.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DlHIASsp.js → vue-ui-strip-plot-sWs8kbbo.js} +11 -11
- package/dist/{vue-ui-table-CaoW2jvO.cjs → vue-ui-table-CJVmhYep.cjs} +1 -1
- package/dist/{vue-ui-table-fubeSxgu.js → vue-ui-table-SRSARac3.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Cua4Oc1y.js → vue-ui-table-heatmap-CKiO41aZ.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BJkfwCpI.cjs → vue-ui-table-heatmap-D1xntRRZ.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DolwHxoq.cjs → vue-ui-table-sparkline-BZJqRwhf.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-UimVaB_H.js → vue-ui-table-sparkline-hyCYl7SR.js} +5 -5
- package/dist/{vue-ui-thermometer-DJaHNf4v.cjs → vue-ui-thermometer-0bxewTlH.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C__SODnz.js → vue-ui-thermometer-uYO2Cbv6.js} +7 -7
- package/dist/{vue-ui-timer-CkQvP03G.js → vue-ui-timer-DO2sPtaA.js} +5 -5
- package/dist/{vue-ui-timer-DZZmMPv3.cjs → vue-ui-timer-hehskDGP.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-z5y9Zy-r.cjs → vue-ui-tiremarks-C3Y478uT.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-8liLSEKo.js → vue-ui-tiremarks-DQjOkAad.js} +7 -7
- package/dist/{vue-ui-treemap-CeMceJLe.js → vue-ui-treemap-Bv36Ha7O.js} +11 -11
- package/dist/{vue-ui-treemap-DG7Wnka3.cjs → vue-ui-treemap-_4nb3nS1.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-D6xUSkRV.js → vue-ui-vertical-bar-DeP6cUWy.js} +12 -12
- package/dist/{vue-ui-vertical-bar-oP2y79gc.cjs → vue-ui-vertical-bar-LquYjKVD.cjs} +1 -1
- package/dist/{vue-ui-waffle-BZqIeeRs.js → vue-ui-waffle-BfzfWmf5.js} +304 -276
- package/dist/vue-ui-waffle-Hlsl5QtL.cjs +1 -0
- package/dist/{vue-ui-wheel-KMHJl6y4.cjs → vue-ui-wheel--e6UBwL4.cjs} +1 -1
- package/dist/{vue-ui-wheel-B01XDoES.js → vue-ui-wheel-DJC5YCbw.js} +7 -7
- package/dist/{vue-ui-word-cloud-BR-0V6pW.cjs → vue-ui-word-cloud-AGcxc9Jb.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DEUmMqMx.js → vue-ui-word-cloud-CVsld1uE.js} +10 -10
- package/dist/{vue-ui-xy-DvPWUcZ3.cjs → vue-ui-xy-DiZVwKYl.cjs} +1 -1
- package/dist/{vue-ui-xy-B6CWNQY7.js → vue-ui-xy-DwwIMZEo.js} +14 -14
- package/dist/{vue-ui-xy-canvas-BvBsQaxo.js → vue-ui-xy-canvas-ChBRm7Zw.js} +11 -11
- package/dist/{vue-ui-xy-canvas-CCk1oOD_.cjs → vue-ui-xy-canvas-D1kEOzE6.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-data-ui--K40HoWH.cjs +0 -9
- package/dist/vue-data-ui-C2oB3zqB.js +0 -265
- package/dist/vue-ui-waffle-DZOSpIFQ.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-CPtAxuTc.cjs"),me=require("./useResponsive-BJ7DTGpm.cjs"),Ee=require("./Title-C7y-iI1m.cjs"),be=require("./usePrinter-BmNhTUGE.cjs"),Fe=require("./DataTable-Dng-zRfh.cjs"),Te=require("./Tooltip-Y622sV6l.cjs"),Oe=require("./Legend-kMbr5DZt.cjs"),Pe=require("./vue-ui-skeleton-DkZB7ae3.cjs"),ze=require("./vue-ui-accordion-Dd0mfQys.cjs"),ge=require("./useNestedProp-BtCZVKOm.cjs"),De=require("./PackageVersion-CHUMvFGr.cjs"),Ie=require("./PenAndPaper-DmMAK04m.cjs"),Ae=require("./useUserOptionState-BgepsfED.cjs"),Me=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),q=x=>(e.pushScopeId("data-v-7b38ae51"),x=x(),e.popScopeId(),x),Ue=["id"],Re=["xmlns","viewBox"],qe=["width","height"],Ye=["id"],Xe=q(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF","stop-opacity":"0"},null,-1)),Ge=["offset","stop-color"],He=["offset","stop-opacity"],We=q(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF","stop-opacity":"0"},null,-1)),Je=["id"],Ke=["id"],Qe=q(()=>e.createElementVNode("feColorMatrix",{type:"saturate",values:"0"},null,-1)),Ze=["id"],je=["flood-color"],et=["d","fill","stroke","stroke-width","filter"],tt={key:1},lt=["d","fill"],at={key:2},ot=["x","y","font-size","font-weight","fill"],nt={key:3},rt=["filter"],st=["text-anchor","x","y","fill","font-size","font-weight"],ut=["text-anchor","x","y","fill","font-size","font-weight"],it=["text-anchor","x","y","fill","font-size","font-weight"],ct=["d","fill","onMouseenter","onClick"],dt={key:5,class:"vue-data-ui-watermark"},vt={key:0,class:"vue-ui-nested-donuts-legend-title"},ft=["onClick"],pt=["innerHTML"],ht={__name:"vue-ui-nested-donuts",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(x,{expose:ke,emit:Y}){const k=x,{vue_ui_nested_donuts:Ce}=r.useConfig(),$=e.computed(()=>!!k.dataset&&k.dataset.length),p=e.ref(r.createUid()),T=e.ref(!1),O=e.ref(""),we=e.ref(null),X=e.ref(0),L=e.ref(null),G=e.ref(null),P=e.ref(null),H=e.ref(null),W=e.ref(null),J=e.ref(0),K=e.ref(0),Q=e.ref(0),B=e.ref(!1);function Le(l){B.value=l,X.value+=1}const t=e.computed({get:()=>ee(),set:l=>l}),{userOptionsVisible:z,setUserOptionsVisibility:Z,keepUserOptionState:j}=Ae.useUserOptionState({config:t.value});function ee(){const l=ge.useNestedProp({userConfig:k.config,defaultConfig:Ce});return l.theme?{...ge.useNestedProp({userConfig:r.themes.vue_ui_nested_donuts[l.theme]||k.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>k.config,l=>{t.value=ee(),z.value=!t.value.showOnChartHover,te(),J.value+=1,K.value+=1,Q.value+=1},{deep:!0});const N=e.ref(null);e.onMounted(()=>{te()});function te(){if(r.objectIsEmpty(k.dataset)&&r.error({componentName:"VueUiNestedDonuts",type:"dataset"}),t.value.responsive){const l=me.throttle(()=>{const{width:s,height:o}=me.useResponsive({chart:L.value,title:t.value.style.chart.title.text?G.value:null,legend:t.value.style.chart.legend.show?P.value:null,source:H.value,noTitle:W.value});c.value.width=s,c.value.height=o});N.value=new ResizeObserver(l),N.value.observe(L.value.parentNode)}}e.onBeforeUnmount(()=>{N.value&&N.value.disconnect()});const{isPrinting:le,isImaging:ae,generatePdf:oe,generateImage:ne}=be.usePrinter({elementId:`nested_donuts_${p.value}`,fileName:t.value.style.chart.title.text||"vue-ui-nested-donuts"}),Be=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),xe=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),h=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),c=e.ref({height:512,width:512});function $e({datapoint:l,index:s}){Y("selectDatapoint",{datapoint:l,index:s})}const v=e.ref([]),m=e.computed(()=>(k.dataset.forEach((l,s)=>{[null,void 0].includes(l.name)&&r.error({componentName:"VueUiNestedDonuts",type:"datasetSerieAttribute",property:"name",index:s}),[null,void 0].includes(l.series)?r.error({componentName:"VueUiNestedDonuts",type:"datasetSerieAttribute",property:"series",index:s}):l.series.length===0?r.error({componentName:"VueUiNestedDonuts",type:"datasetAttributeEmpty",property:`series at index ${s}`}):l.series.forEach((o,n)=>{[null,void 0].includes(o.name)&&r.error({componentName:"VueUiNestedDonuts",type:"datasetSerieAttribute",property:"name",index:n,key:"serie"}),[null,void 0].includes(o.values)&&r.error({componentName:"VueUiNestedDonuts",type:"datasetSerieAttribute",property:"values",index:n,key:"serie"})})}),k.dataset.map((l,s)=>({...l,total:l.series.filter(o=>!v.value.includes(o.id)).map(o=>r.sanitizeArray(o.values).reduce((n,a)=>n+a,0)).reduce((o,n)=>o+n,0),datasetIndex:s,id:`${p.value}_${s}`,series:l.series.map((o,n)=>({name:o.name,arcOf:l.name,arcOfId:`${p.value}_${s}`,id:`${p.value}_${s}_${n}`,seriesIndex:n,datasetIndex:s,color:r.convertColorToHex(o.color)||xe.value[n]||r.palette[n]||r.palette[n%r.palette.length],value:r.sanitizeArray(o.values).reduce((a,u)=>a+u,0),absoluteValues:o.values||[]}))})))),b=e.computed(()=>Math.min(c.value.height,c.value.width)*(t.value.style.chart.layout.donut.strokeWidth/512)),re=e.computed(()=>[...m.value].map((l,s)=>{const o=l.series.filter(n=>!v.value.includes(n.id)).map(n=>n.value).reduce((n,a)=>n+a,0);return{...l,total:o,series:l.series.filter(n=>!v.value.includes(n.id)).map(n=>({...n,proportion:n.value/o}))}}));function Ne(l,s,o){let n=0;for(let a=0;a<l.length;a+=1)o.includes(l[a])&&(n+=1);return n<s}const d=e.ref(re.value);e.watch(()=>re.value,l=>d.value=l);const se=e.ref(null),ue=e.ref(null);function D(l){Y("selectLegend",l);const s=m.value.flatMap(i=>i.series).find(i=>i.id===l.id),o=d.value.flatMap(i=>i.series).find(i=>i.id===l.id);let a=o?o.value:0;const u=m.value.find(i=>i.id===s.arcOfId).series.map(i=>i.id),f=Ne(u,u.length-1,v.value);if(v.value.includes(l.id)){let i=function(){a>s.value?(cancelAnimationFrame(se.value),d.value=d.value.map(y=>({...y,series:y.series.map(g=>g.id==l.id?{...g,value:s.value}:g)}))):(a+=s.value*.025,d.value=d.value.map(y=>({...y,series:y.series.map(g=>g.id===l.id?{...g,value:a}:g)})),se.value=requestAnimationFrame(i))};v.value=v.value.filter(y=>y!==l.id),i()}else if(f){let i=function(){a<.1?(cancelAnimationFrame(ue.value),v.value.push(l.id),d.value=d.value.map((y,g)=>({...y,series:y.series.map(w=>w.id===l.id?{...w,value:0}:w)}))):(a/=1.1,d.value=d.value.map((y,g)=>({...y,series:y.series.map(w=>w.id===l.id?{...w,value:a}:w)})),ue.value=requestAnimationFrame(i))};i()}}const I=e.computed(()=>b.value/m.value.length*t.value.style.chart.layout.donut.spacingRatio),ie=e.computed(()=>d.value.map((l,s)=>b.value-s*b.value/m.value.length)),_=e.computed(()=>d.value.map((l,s)=>{const o=s*b.value/m.value.length;return{...l,radius:b.value-o,donut:r.makeDonut({series:l.series},c.value.width/2,c.value.height/2,b.value-o,b.value-o,1.99999,2,1,360,105.25,I.value)}})),ce=e.computed(()=>[...m.value].map((l,s)=>{const o=s*b.value/m.value.length;return{sizeRatio:o,donut:r.makeDonut({series:[{value:1}]},c.value.width/2,c.value.height/2,b.value-o,b.value-o,1.99999,2,1,360,105.25,b.value/m.value.length*t.value.style.chart.layout.donut.spacingRatio)[0]}})),de=e.ref(null),S=e.ref(null),V=e.ref(null),A=e.ref(null);function _e({datapoint:l,_relativeIndex:s,seriesIndex:o}){de.value=l.arcOfId,S.value=l.id,V.value=o,A.value={datapoint:l,seriesIndex:o,series:d.value,config:t.value};const n=t.value.style.chart.tooltip.customFormat;if(r.isFunction(n)&&r.functionReturnsString(()=>n({seriesIndex:o,datapoint:l,series:d.value,config:t.value})))O.value=n({seriesIndex:o,datapoint:l,series:d.value,config:t.value});else{let a="";if(t.value.style.chart.tooltip.showAllItemsAtIndex&&v.value.length===0){const u=d.value.map(f=>f.series.find(i=>i.seriesIndex===o));u.forEach((f,i)=>{if(!f)return"";a+=`
|
|
2
2
|
<div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${i<u.length-1?`border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor}`:""}">
|
|
3
3
|
<div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
|
|
4
4
|
<svg viewBox="0 0 20 20" height="${t.value.style.chart.tooltip.fontSize}" width="${t.value.style.chart.tooltip.fontSize}">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-CPtAxuTc.cjs"),le=require("./useResponsive-BJ7DTGpm.cjs"),we=require("./Title-C7y-iI1m.cjs"),ae=require("./usePrinter-BmNhTUGE.cjs"),Ce=require("./Legend-kMbr5DZt.cjs"),$e=require("./DataTable-Dng-zRfh.cjs"),xe=require("./Tooltip-Y622sV6l.cjs"),Be=require("./vue-ui-skeleton-DkZB7ae3.cjs"),Te=require("./vue-ui-accordion-Dd0mfQys.cjs"),oe=require("./useNestedProp-BtCZVKOm.cjs"),Se=require("./PackageVersion-CHUMvFGr.cjs"),Pe=require("./PenAndPaper-DmMAK04m.cjs"),Oe=require("./useUserOptionState-BgepsfED.cjs"),Ne=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_e=["id"],Ve=["xmlns","viewBox"],Ee=["width","height"],Fe=["cx","cy","r","stroke","stroke-width","stroke-dasharray","stroke-dashoffset"],Ae=["cx","cy","r","stroke","stroke-width","stroke-dasharray","stroke-dashoffset"],Ie=["id"],Me=["stdDeviation"],Le=["filter"],Re=["cx","cy","r","stroke-width","stroke-dasharray","stroke-dashoffset"],ze=["cx","cy","r","stroke-width","stroke-dasharray","stroke-dashoffset","onMouseenter"],De={key:2},qe=["onMouseenter"],Ue=["x","y","font-size","fill","font-weight"],Ye={key:5,class:"vue-data-ui-watermark"},Xe=["onClick"],Ge=["innerHTML"],He={__name:"vue-ui-onion",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(re,{expose:ne,emit:ue}){const p=re,{vue_ui_onion:se}=u.useConfig(),C=e.computed(()=>!!p.dataset&&p.dataset.length),m=e.ref(u.createUid()),ie=e.ref(null),A=e.ref(0),$=e.ref(!1),S=e.ref(""),d=e.ref([]),y=e.ref(null),I=e.ref(null),M=e.ref(null),L=e.ref(null),R=e.ref(null),z=e.ref(0),D=e.ref(0),q=e.ref(0),t=e.computed({get:()=>X(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:U,keepUserOptionState:Y}=Oe.useUserOptionState({config:t.value});function X(){const l=oe.useNestedProp({userConfig:p.config,defaultConfig:se});return l.theme?{...oe.useNestedProp({userConfig:u.themes.vue_ui_onion[l.theme]||p.config,defaultConfig:l}),customPalette:u.themePalettes[l.theme]||u.palette}:l}e.watch(()=>p.config,l=>{t.value=X(),P.value=!t.value.showOnChartHover,J(),z.value+=1,D.value+=1,q.value+=1},{deep:!0});const{isPrinting:G,isImaging:H,generatePdf:j,generateImage:W}=ae.usePrinter({elementId:`vue-ui-onion_${m.value}`,fileName:t.value.style.chart.title.text||"vue-ui-onion"}),ce=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),de=e.computed(()=>u.convertCustomPalette(t.value.customPalette)),f=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),n=e.ref({height:512,width:512,padding:{top:64,left:64,right:64,bottom:64},minRadius:64}),x=e.ref(null);e.onMounted(()=>{J()});function J(){if(u.objectIsEmpty(p.dataset)&&u.error({componentName:"VueUiOnion",type:"dataset"}),t.value.responsive){const r=le.throttle(()=>{const{width:a,height:o}=le.useResponsive({chart:y.value,title:t.value.style.chart.title.text?I.value:null,legend:t.value.style.chart.legend.show?M.value:null,source:L.value,noTitle:R.value});n.value.width=a,n.value.height=o,n.value.padding.top=Math.max(a,o)*.125,n.value.padding.right=Math.max(a,o)*.125,n.value.padding.bottom=Math.max(a,o)*.125,n.value.padding.left=Math.max(a,o)*.125,n.value.minRadius=Math.min(a,o)*.125});x.value=new ResizeObserver(r),x.value.observe(y.value.parentNode)}}e.onBeforeUnmount(()=>{x.value&&x.value.disconnect()});const s=e.computed(()=>({top:n.value.padding.top,left:n.value.padding.left,right:n.value.width-n.value.padding.right,bottom:n.value.height-n.value.padding.bottom,centerX:n.value.width/2,centerY:n.value.height/2,width:n.value.width-n.value.padding.right-n.value.padding.left,height:n.value.height-n.value.padding.bottom-n.value.padding.top,minRadius:n.value.minRadius,maxRadius:Math.min(n.value.width,n.value.height)-n.value.padding.top*2})),i=e.computed(()=>(p.dataset.forEach((l,r)=>{[null,void 0].includes(l.name)&&u.error({componentName:"VueUiOnion",type:"datasetSerieAttribute",property:"name",index:r}),[void 0].includes(l.percentage)&&u.error({componentName:"VueUiOnion",type:"datasetSerieAttribute",property:"percentage",index:r})}),p.dataset.map((l,r)=>{const a=`onion_serie_${r}_${m.value}`;return{...l,percentage:l.percentage||0,targetPercentage:l.percentage||0,color:u.convertColorToHex(l.color)||de.value[r]||u.palette[r],id:a,shape:"circle",opacity:d.value.includes(a)?.5:1,absoluteIndex:r,segregate:()=>K(a),isSegregated:d.value.includes(a)}}))),b=e.ref(i.value),ve=e.computed(()=>t.value.useStartAnimation),he=e.ref(null),pe=e.computed(()=>Math.max(...i.value.map(l=>l.percentage))),O=e.ref(!1);e.watch(()=>i.value,fe,{immediate:!0});function fe(){if(ve.value&&!O.value){let r=function(){l>=pe.value?(cancelAnimationFrame(he.value),b.value=i.value,O.value=!0):(b.value=i.value.map(a=>({...a,percentage:l<a.targetPercentage?l:a.targetPercentage})),l+=1,requestAnimationFrame(r),O.value=!0)};b.value=i.value.map(a=>({...a,percentage:0}));let l=0;r()}else b.value=i.value}const ge=e.computed(()=>({cy:"onion-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),me=e.computed(()=>i.value.filter(l=>!d.value.includes(l.id)).length),g=e.computed(()=>{const l=Math.min(s.value.width,s.value.height)/2/i.value.length;return{gutter:(l>t.value.style.chart.layout.maxThickness?t.value.style.chart.layout.maxThickness:l)*t.value.style.chart.layout.gutter.width,track:(l>t.value.style.chart.layout.maxThickness?t.value.style.chart.layout.maxThickness:l)*t.value.style.chart.layout.track.width}}),v=e.computed(()=>b.value.filter(l=>!d.value.includes(l.id)).map((l,r)=>{const a=(s.value.maxRadius-g.value.track)/me.value/2*(1+r),o=s.value.centerY-a;return{percentage:l.percentage||0,...l,labelY:o,radius:a,path:ye(a,l.percentage||0)}}));function ye(l,r){const a=2*Math.PI*l,o=a*.75,c=`${o} ${a}`,w=o*(1-r/100);return{bgDashArray:`${o} ${a}`,bgDashOffset:0,dashArray:c,dashOffset:w,fullOffset:0,active:`
|
|
2
2
|
M ${s.value.centerX},${s.value.centerY-l}
|
|
3
3
|
A ${l},${l} 0 1 1
|
|
4
4
|
${s.value.centerX+l*Math.cos(Math.PI*3/4)},${s.value.centerY+l*Math.sin(Math.PI*3/4)}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { computed as v, ref as s, watch as ke, onMounted as Be, onBeforeUnmount as Ue, openBlock as n, createElementBlock as u, normalizeClass as B, normalizeStyle as U, unref as i, createBlock as C, createCommentVNode as f, createSlots as Xe, withCtx as g, renderSlot as h, normalizeProps as S, guardReactiveProps as M, createVNode as we, Fragment as F, renderList as N, createElementVNode as O, toDisplayString as P, createTextVNode as Ge, nextTick as Ee } from "vue";
|
|
2
|
-
import { u as He, c as We, t as je, a as qe, p as $e, b as Je, o as Ke, e as K, d as Qe, X as Ze, f as R, i as Q, x as Ce, q as et, r as tt, y as at } from "./index-
|
|
2
|
+
import { u as He, c as We, t as je, a as qe, p as $e, b as Je, o as Ke, e as K, d as Qe, X as Ze, f as R, i as Q, x as Ce, q as et, r as tt, y as at } from "./index-3_ulDZ6w.js";
|
|
3
3
|
import { t as lt, u as ot } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as rt } from "./Title-
|
|
5
|
-
import { u as nt, U as st } from "./usePrinter-
|
|
6
|
-
import { L as ut } from "./Legend-
|
|
7
|
-
import { D as it } from "./DataTable-
|
|
8
|
-
import { _ as ct } from "./Tooltip-
|
|
9
|
-
import dt from "./vue-ui-skeleton-
|
|
10
|
-
import vt from "./vue-ui-accordion-
|
|
11
|
-
import { u as xe } from "./useNestedProp-
|
|
12
|
-
import { _ as ht } from "./PackageVersion-
|
|
13
|
-
import { P as ft } from "./PenAndPaper-
|
|
4
|
+
import { _ as rt } from "./Title-L52l_KMR.js";
|
|
5
|
+
import { u as nt, U as st } from "./usePrinter-NdwnpHUu.js";
|
|
6
|
+
import { L as ut } from "./Legend-kF7sC1KK.js";
|
|
7
|
+
import { D as it } from "./DataTable-CNH8bChE.js";
|
|
8
|
+
import { _ as ct } from "./Tooltip-FYp9ljnj.js";
|
|
9
|
+
import dt from "./vue-ui-skeleton-uAX1ZH1F.js";
|
|
10
|
+
import vt from "./vue-ui-accordion-DXlXtAML.js";
|
|
11
|
+
import { u as xe } from "./useNestedProp-Bs6ltq3I.js";
|
|
12
|
+
import { _ as ht } from "./PackageVersion-m6HC0skh.js";
|
|
13
|
+
import { P as ft } from "./PenAndPaper-FOhKSug_.js";
|
|
14
14
|
import { u as gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["width", "height"], kt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], wt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], $t = ["id"], Ct = ["stdDeviation"], xt = ["filter"], Tt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], _t = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], Ot = { key: 2 }, Pt = ["onMouseenter"], At = ["x", "y", "font-size", "fill", "font-weight"], It = {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { computed as g, ref as v, watch as He, onMounted as Ge, onBeforeUnmount as Xe, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as T, unref as x, createBlock as z, createCommentVNode as p, createSlots as Ye, withCtx as k, renderSlot as b, normalizeProps as W, guardReactiveProps as E, createVNode as _e, Fragment as C, renderList as I, createElementVNode as F, toDisplayString as D, createTextVNode as qe } from "vue";
|
|
2
|
-
import { u as Qe, c as ee, t as Je, a as Ke, p as H, o as Ze, e as Me, g as et, b as tt, d as at, D as lt, Q as ot, R as st, S as nt, X as ut, x as ze, i as Ie, f as Fe, y as it, q as rt, r as ct, F as G } from "./index-
|
|
2
|
+
import { u as Qe, c as ee, t as Je, a as Ke, p as H, o as Ze, e as Me, g as et, b as tt, d as at, D as lt, Q as ot, R as st, S as nt, X as ut, x as ze, i as Ie, f as Fe, y as it, q as rt, r as ct, F as G } from "./index-3_ulDZ6w.js";
|
|
3
3
|
import { t as vt, u as dt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as ht } from "./Title-
|
|
5
|
-
import { L as pt } from "./Legend-
|
|
6
|
-
import { _ as mt } from "./Tooltip-
|
|
7
|
-
import { _ as yt } from "./Shape-
|
|
8
|
-
import { u as ft, U as gt } from "./usePrinter-
|
|
9
|
-
import { D as bt } from "./DataTable-
|
|
10
|
-
import xt from "./vue-ui-accordion-
|
|
11
|
-
import kt from "./vue-ui-skeleton-
|
|
12
|
-
import { u as Pe } from "./useNestedProp-
|
|
13
|
-
import { _ as wt } from "./PackageVersion-
|
|
14
|
-
import { P as Ct } from "./PenAndPaper-
|
|
4
|
+
import { _ as ht } from "./Title-L52l_KMR.js";
|
|
5
|
+
import { L as pt } from "./Legend-kF7sC1KK.js";
|
|
6
|
+
import { _ as mt } from "./Tooltip-FYp9ljnj.js";
|
|
7
|
+
import { _ as yt } from "./Shape-CfcWXI5g.js";
|
|
8
|
+
import { u as ft, U as gt } from "./usePrinter-NdwnpHUu.js";
|
|
9
|
+
import { D as bt } from "./DataTable-CNH8bChE.js";
|
|
10
|
+
import xt from "./vue-ui-accordion-DXlXtAML.js";
|
|
11
|
+
import kt from "./vue-ui-skeleton-uAX1ZH1F.js";
|
|
12
|
+
import { u as Pe } from "./useNestedProp-Bs6ltq3I.js";
|
|
13
|
+
import { _ as wt } from "./PackageVersion-m6HC0skh.js";
|
|
14
|
+
import { P as Ct } from "./PenAndPaper-FOhKSug_.js";
|
|
15
15
|
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"], zt = { style: { "pointer-events": "none" } }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = ["x", "y", "fill", "font-size", "font-weight"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "fill", "font-size", "font-weight"], St = { key: 0 }, Lt = ["x", "y", "font-size", "fill"], Ot = ["width", "x", "y"], Dt = { style: { width: "100%" } }, Ut = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Wt = ["d", "stroke", "stroke-width", "onMouseenter"], Et = ["d", "onMouseenter"], Vt = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-CPtAxuTc.cjs"),ue=require("./useResponsive-BJ7DTGpm.cjs"),Be=require("./Title-C7y-iI1m.cjs"),$e=require("./Legend-kMbr5DZt.cjs"),Se=require("./Tooltip-Y622sV6l.cjs"),ze=require("./Shape-Ajzs1V3O.cjs"),ce=require("./usePrinter-BmNhTUGE.cjs"),Ne=require("./DataTable-Dng-zRfh.cjs"),Ae=require("./vue-ui-accordion-Dd0mfQys.cjs"),Te=require("./vue-ui-skeleton-DkZB7ae3.cjs"),de=require("./useNestedProp-BtCZVKOm.cjs"),Pe=require("./PackageVersion-CHUMvFGr.cjs"),Fe=require("./PenAndPaper-DmMAK04m.cjs"),Me=require("./useUserOptionState-BgepsfED.cjs"),_e=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ee=["id"],Ie=["xmlns","viewBox"],Le=["x","y","width","height"],Ve={style:{"pointer-events":"none"}},Oe=["x1","x2","y1","y2","stroke","stroke-width"],De=["x","y","fill","font-size","font-weight"],qe=["x1","x2","y1","y2","stroke","stroke-width"],Ue=["x","y","fill","font-size","font-weight"],Re={key:0},We=["x","y","font-size","fill"],je=["width","x","y"],He={style:{width:"100%"}},Ge=["x","y","fill","font-weight","font-size","onMouseenter"],Ye=["d","stroke","stroke-width","onMouseenter"],Xe=["d","onMouseenter"],Je={key:5,class:"vue-data-ui-watermark"},Ke=["onClick"],Qe=["innerHTML"],Ze={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ve,{expose:pe,emit:L}){const b=ve,{vue_ui_parallel_coordinate_plot:he}=i.useConfig(),x=e.computed({get(){return!!b.dataset&&b.dataset.length},set(l){return l}}),V=e.ref(0),C=e.ref(null),O=e.ref(null),D=e.ref(null),q=e.ref(null),U=e.ref(null),R=e.ref(0),W=e.ref(0),j=e.ref(0),T=e.ref(i.createUid()),w=e.ref(!1);function me(l){w.value=l,V.value+=1}const t=e.computed({get:()=>Y(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:H,keepUserOptionState:G}=Me.useUserOptionState({config:t.value});function Y(){const l=de.useNestedProp({userConfig:b.config,defaultConfig:he});return l.theme?{...de.useNestedProp({userConfig:i.themes.vue_ui_parallel_coordinate_plot[l.theme]||b.config,defaultConfig:l}),customPalette:i.themePalettes[l.theme]||i.palette}:l}e.watch(()=>b.config,l=>{t.value=Y(),P.value=!t.value.showOnChartHover,X(),R.value+=1,j.value+=1,W.value+=1},{deep:!0});const S=e.ref(null);e.onMounted(()=>{X()});function X(){if(i.objectIsEmpty(b.dataset)?i.error({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):b.dataset.forEach((l,o)=>{i.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","series"]}).forEach(a=>{x.value=!1,i.error({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:a,index:o})})}),t.value.responsive){const l=ue.throttle(()=>{const{width:o,height:a}=ue.useResponsive({chart:C.value,title:t.value.style.chart.title.text?O.value:null,legend:t.value.style.chart.legend.show?D.value:null,source:q.value,noTitle:U.value});d.value.width=o,d.value.height=a,d.value.plotSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),d.value.ticksFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),d.value.datapointFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),d.value.axisNameFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})});S.value=new ResizeObserver(l),S.value.observe(C.value.parentNode)}}e.onBeforeUnmount(()=>{S.value&&S.value.disconnect()});const{isPrinting:J,isImaging:K,generatePdf:Q,generateImage:Z}=ce.usePrinter({elementId:`pcp_${T.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),ye=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),d=e.ref({height:t.value.style.chart.height,width:t.value.style.chart.width,plotSize:t.value.style.chart.plots.radius,ticksFontSize:t.value.style.chart.yAxis.labels.ticks.fontSize,datapointFontSize:t.value.style.chart.yAxis.labels.datapoints.fontSize,axisNameFontSize:t.value.style.chart.yAxis.labels.axisNamesFontSize}),c=e.computed(()=>{const{top:l,right:o,bottom:a,left:n}=t.value.style.chart.padding,r=d.value.height,s=d.value.width;return{chartHeight:r,chartWidth:s,height:r-l-a,width:s-n-o,top:l,left:n,right:s-o,bottom:r-a}}),fe=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),h=e.ref({dataLabels:{show:t.value.style.chart.yAxis.labels.datapoints.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),f=e.ref([]);function ee(l){f.value.includes(l)?f.value=f.value.filter(o=>o!==l):f.value.push(l)}const k=e.computed(()=>b.dataset.map((l,o)=>{const a=i.convertColorToHex(l.color)||fe.value[o]||i.palette[o]||i.palette[o%i.palette.length];return{...l,series:l.series.map(n=>({...n,id:i.createUid(),color:a})),seriesIndex:o,color:a,id:i.createUid(),shape:l.shape||"circle"}})),ge=e.computed(()=>k.value.map(l=>({...l,opacity:f.value.includes(l.id)?.5:1,segregate:()=>ee(l.id),isSegregated:f.value.includes(l.id)}))),be=e.computed(()=>({cy:"pcp-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),te=e.computed(()=>Math.max(...k.value.filter(l=>!f.value.includes(l.id)).map(l=>Math.max(...l.series.flatMap(o=>o.values.length))))),y=e.computed(()=>c.value.width/te.value),F=e.computed(()=>k.value.filter(l=>!f.value.includes(l.id))),m=e.computed(()=>{let l=[];for(let o=0;o<te.value;o+=1){const a=Math.min(...F.value.flatMap(v=>v.series.map(A=>A.values[o]||0)||0)),n=Math.max(...F.value.flatMap(v=>v.series.map(A=>A.values[o]||0)||0)),r=n===a?a/4:a,s=n===a?n*2:n,u=i.calculateNiceScale(r,s,t.value.style.chart.yAxis.scaleTicks),g=u.ticks.map((v,A)=>{const Ce=u.min<0?v+Math.abs(u.min):v-Math.abs(u.min),we=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:c.value.bottom-c.value.height*(Ce/we),x:c.value.left+y.value*o+y.value/2,value:v}});l.push({scale:u,ticks:g,name:t.value.style.chart.yAxis.labels.axisNames[o]||`Y-${o+1}`})}return l}),M=e.computed(()=>F.value.map((l,o)=>({...l,series:l.series.map((a,n)=>({...a,datapoints:a.values.map((r,s)=>{const u=m.value[s].scale.min<0?(r||0)+Math.abs(m.value[s].scale.min):(r||0)-Math.abs(m.value[s].scale.min),g=m.value[s].scale.min<0?m.value[s].scale.max+Math.abs(m.value[s].scale.min):m.value[s].scale.max-Math.abs(m.value[s].scale.min);return{name:a.name,seriesName:l.name,axisIndex:s,datapointIndex:n,seriesIndex:o,value:r||0,x:c.value.left+y.value*s+y.value/2,y:c.value.bottom-c.value.height*(u/g),comment:a.comments&&a.comments[s]||""}})}))})).map(l=>({...l,series:l.series.map(o=>{const a=i.createStraightPath(o.datapoints),n=i.createSmoothPath(o.datapoints),r=i.getPathLengthFromCoordinates(t.value.style.chart.lines.smooth?`M ${n}`:`M ${a}`);return{...o,smoothPath:n,straightPath:a,pathLength:r}})})));function le({value:l,index:o,datapoint:a}){return i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[o]||null,l,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[o]||"",v:l,s:t.value.style.chart.yAxis.labels.suffixes[o]||"",r:t.value.style.chart.yAxis.labels.roundings[o]||0}),{datapoint:a,seriesIndex:o})}const p=e.ref(null),_=e.ref(null),B=e.ref(!1),E=e.ref("");function z({shape:l,serieName:o,serie:a,relativeIndex:n,seriesIndex:r}){_.value={serie:a,relativeIndex:n,seriesIndex:r,series:k.value,scales:m.value},B.value=!0,p.value=a.id;let s="";const u=t.value.style.chart.tooltip.customFormat;i.isFunction(u)&&i.functionReturnsString(()=>u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}))?E.value=u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o?o+" - ":""}${a.name}</div>`,m.value.map(g=>g.name).forEach((g,v)=>{s+=`
|
|
2
2
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
3
3
|
<span>${g}: </span>
|
|
4
4
|
<span>
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { computed as t, openBlock as z, createElementBlock as c, createElementVNode as h } from "vue";
|
|
2
|
+
function L() {
|
|
3
|
+
return {
|
|
4
|
+
...{
|
|
5
|
+
bubbles: {
|
|
6
|
+
height: 30,
|
|
7
|
+
width: 30,
|
|
8
|
+
path: "M9 20.502A7.5 7.5 0 0 1 1.5 28 7.5 7.5 0 0 0-6 35.5a7.5 7.5 0 0 1-7.5 7.499 7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1-21 35.5a7.5 7.5 0 0 1 7.5-7.5A7.5 7.5 0 0 0-6 20.502a7.5 7.5 0 1 1 15 0zm15 0A7.5 7.5 0 0 1 16.5 28a7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1 9 20.502c0-2.072-.84-3.947-2.197-5.303A7.48 7.48 0 0 0 1.5 13.002a7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1-6 5.503a7.5 7.5 0 1 1 15 0c0 2.07.84 3.945 2.196 5.303a7.48 7.48 0 0 0 5.304 2.196c2.07 0 3.945.84 5.303 2.197A7.47 7.47 0 0 1 24 20.502zm15 0A7.5 7.5 0 0 1 31.5 28a7.5 7.5 0 0 0-7.5 7.5 7.5 7.5 0 0 1-7.5 7.499 7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1 9 35.5a7.5 7.5 0 0 1 7.5-7.5 7.5 7.5 0 0 0 7.5-7.498 7.5 7.5 0 1 1 15 0zm0-30A7.5 7.5 0 0 1 31.5-2 7.5 7.5 0 0 0 24 5.5a7.5 7.5 0 0 1-7.5 7.499 7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1 9 5.5 7.5 7.5 0 0 1 16.5-2 7.5 7.5 0 0 0 24-9.498a7.5 7.5 0 1 1 15 0zm-22.5 37.5a7.5 7.5 0 0 0-7.5 7.5c0-2.072-.84-3.947-2.197-5.303A7.48 7.48 0 0 0 1.5 28.002 7.5 7.5 0 0 0 9 20.503c0 2.07.84 3.945 2.196 5.303a7.48 7.48 0 0 0 5.304 2.196zm15-15a7.5 7.5 0 0 0-7.5 7.5c0-2.072-.84-3.947-2.197-5.303a7.48 7.48 0 0 0-5.303-2.197A7.5 7.5 0 0 0 24 5.503c0 2.07.84 3.945 2.196 5.303a7.48 7.48 0 0 0 5.304 2.196z",
|
|
9
|
+
strokeLinecap: "round",
|
|
10
|
+
hasFill: !1
|
|
11
|
+
},
|
|
12
|
+
flooring: {
|
|
13
|
+
height: 20,
|
|
14
|
+
width: 40,
|
|
15
|
+
path: "M40 0 20-10V0l20 10zm0 10L20 0v10l20 10zm0 10L20 10v10l20 10zM0 20l20-10v10L0 30zm0-10L20 0v10L0 20zM0 0l20-10V0L0 10z",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
hasFill: !1
|
|
18
|
+
},
|
|
19
|
+
grid: {
|
|
20
|
+
height: 20,
|
|
21
|
+
width: 20,
|
|
22
|
+
path: "M10 0v20ZM0 10h20Z",
|
|
23
|
+
strokeLinecap: "round",
|
|
24
|
+
hasFill: !1
|
|
25
|
+
},
|
|
26
|
+
"hexagon-diamond": {
|
|
27
|
+
height: 29.003,
|
|
28
|
+
width: 50.222,
|
|
29
|
+
path: "M58.592-14.503h-16.74m6.277 3.627H56.5l4.188 7.25h-8.373zM60.686 3.623l-4.187 7.25h-8.372l4.187-7.25zM41.852-7.252l4.185 7.25-4.185 7.252L37.666 0zm25.11 7.25L58.593 14.5h-16.74L33.481-.001l8.371-14.501m16.74-.001 8.37 14.502m0 0h-16.74v0m-8.37-14.501L50.222 0l-8.37 14.503M8.371-14.502H-8.37m6.276 3.627h8.371l4.188 7.25H2.093zM10.464 3.624l-4.186 7.25h-8.373l4.187-7.25zM-8.37-7.251-4.185 0-8.37 7.252-12.556 0zM16.74 0 8.37 14.502H-8.37L-16.742 0l8.371-14.501m16.74-.001L16.741-.001m0 0H.001v0m-8.37-14.501L0 0l-8.37 14.503m6.275 3.625h8.372l4.187 7.25H2.093zm12.558 14.499-4.187 7.25h-8.372l4.187-7.25zM-8.371 21.752l4.185 7.25-4.185 7.252-4.185-7.251zm25.112 7.25L8.37 43.504H-8.37l-8.371-14.502 8.37-14.501M8.37 14.5l8.372 14.502m0 0H0v0m-8.37-14.5L0 29.003l-8.37 14.503m56.5-25.379 8.371.001 4.188 7.25h-8.373zm12.557 14.5L56.5 39.876l-8.372.001 4.187-7.25zM41.852 21.751l4.185 7.25-4.185 7.252-4.186-7.252zm25.11 7.25-8.37 14.502h-16.74l-8.372-14.5M58.59 14.5l8.372 14.503m0 0h-16.74v0m-8.371-14.501 8.37 14.501-8.37 14.503M33.482 0h-16.74m6.276 3.627 8.371.001 4.188 7.25h-8.373zm12.557 14.5-4.187 7.249-8.372.001 4.187-7.25zM16.741 7.25l4.185 7.25-4.185 7.252-4.186-7.252zm25.11 7.25-8.37 14.502h-16.74M41.851 14.5h-16.74v0M16.742 0l8.37 14.502-8.37 14.503",
|
|
30
|
+
strokeLinecap: "square",
|
|
31
|
+
hasFill: !1
|
|
32
|
+
},
|
|
33
|
+
"hexagon-flooring": {
|
|
34
|
+
height: 40,
|
|
35
|
+
width: 23.07,
|
|
36
|
+
path: "m17.62 0-6.07 10.5m2.74 4.76L8.22 4.75m-5.48 0h12.13M.01 0h23.07M6.07 20 0 9.5m2.74-4.75-6.07 10.5m-5.48 0H3.33m8.2 4.75L0 .02-11.54 20m40.68 0L23.07 9.5m2.74-4.75-6.06 10.5m-5.49 0H26.4M34.6 20 23.08.02 11.53 20m-5.46 0L0 30.51m2.74 4.75-6.07-10.5m-5.48 0H3.33m8.2-4.75L0 40l-11.54-19.98zM17.6 40l-6.06-10.5m2.74-4.76L8.2 35.25m-5.48 0h12.13M0 40h23.07L11.54 20.01m17.6 0-6.07 10.5m2.74 4.75-6.06-10.5m-5.49 0H26.4M11.53 20h23.08L23.07 40",
|
|
37
|
+
strokeLinecap: "square",
|
|
38
|
+
hasFill: !1
|
|
39
|
+
},
|
|
40
|
+
"hexagon-grid": {
|
|
41
|
+
height: 50.115,
|
|
42
|
+
width: 29,
|
|
43
|
+
path: "M14.498 16.858 0 8.488.002-8.257l14.5-8.374L29-8.26l-.002 16.745zm0 50.06L0 58.548l.002-16.745 14.5-8.373L29 41.8l-.002 16.744zM28.996 41.8l-14.498-8.37.002-16.744L29 8.312l14.498 8.37-.002 16.745zm-29 0-14.498-8.37.002-16.744L0 8.312l14.498 8.37-.002 16.745z",
|
|
44
|
+
strokeLinecap: "round",
|
|
45
|
+
hasFill: !1
|
|
46
|
+
},
|
|
47
|
+
maze: {
|
|
48
|
+
height: 100,
|
|
49
|
+
width: 100,
|
|
50
|
+
path: "M0 0v1l1-1zm6.29 0-.147.143 11.81 11.619 8.19-8.143L22.666.047 22.709 0h-1.998l-.045.047 3.477 3.572-6.19 6.143L8.238.192 8.434 0H6.289zm6.759 0 1.047 1.047L15.143 0zm14.474 0 7.143 7.143-2.428 2.523-3.43-3.523-4.855 4.572 8.238 8.142L43.857 7.143 36.686 0h-2.008l7.226 7.191-9.666 9.713L26 10.762l2.762-2.57 3.476 3.617 4.477-4.618L29.572.047 29.62 0h-2.096zm14.288 0 4.808 4.809 4.572-4.57L50.953 0h-2.047l.285.285-2.572 2.572L43.762 0zm14.068 0-17.64 17.904 4.57 4.62L65 .333 64.697 0H62.79l.258.285-20.19 20.192-2.572-2.573L57.857 0H55.88zm14.549 0-3.62 3.62 8.145 8.142L86.666.047 86.619 0h-1.951l.047.047L75 9.762l-6.143-6.143 2.57-2.572L75 4.619 79.62 0h-2.048l-2.619 2.62L72.334 0zm21.43 0-3.62 3.62 4.57 4.571L100 .998V0h-.953l-6.19 6.191-2.572-2.572L93.905 0h-2.048zm-88 2.191L0 6.091v2.04l3.762-3.846 2.666 3.049-6.381 6.19-.047-.05v2.098l8.38-8.095L3.858 2.19zM100 6.091l-4.572 4.624L100 15.572v-2.097l-2.572-2.713L100 8.13V6.09zm-35.762.1-4.572 4.57 4.572 4.573 4.57-4.572-4.57-4.57zm21.428 0L74.953 16.904l-3.572-3.57-4.572 4.57 8.144 8.143 15.285-15.285-4.572-4.57zm-21.428 2 2.57 2.57-2.57 2.573-2.572-2.572zm21.477 0 2.57 2.57L75 24.048l-6.143-6.143 2.57-2.57L75 18.904zM10.666 10 0 20.668v2L10.666 12l2.572 2.572L0 27.811v2l15.238-15.239zm46.43 3.334L42.809 27.619l-7.381-7.38-8.143 8.142 4.572 4.572 3.57-3.572 2.811 2.81-6.142 6.143L21.38 27.619l-4.572 4.572 15.287 15.286 25-25L67.809 33.19l4.572-4.572-15.285-15.285zm35.713.238-4.57 4.57 11.714 11.715.047-.046v-1.954l-9.715-9.714 2.572-2.57L100 22.714v-2.047l-.047.047-7.144-7.143zm-71.143.094-12 11.38 4.572 4.669 7.334-7.238 3.381 3.57 4.62-4.62zm35.43 1.62L70.38 28.571l-2.572 2.57-10.713-10.714-25 25-13.287-13.285 2.572-2.57 10.715 10.712 8.142-8.142-4.81-4.809-3.57 3.57-2.573-2.57 6.143-6.143 7.38 7.381 14.288-14.287zm-35.477.429 5.904 5.762L25 24l-3.38-3.523-7.335 7.285-2.57-2.62zm64.047 4.762-4.57 4.57L96.38 40.334l3.619-3.62V34.81zm.049 2L99 35.762l-2.572 2.572-13.285-13.287zm-6.953 4.904L67.809 38.334l-3.57-3.572-4.573 4.572 8.143 8.143 15.525-15.524zm-71.666.238-4.573 4.572L17.81 47.477l4.572-4.573L7.096 27.62zm50 0L45.38 39.334l4.572 4.57 11.713-11.713zm21.713 1.762 2.572 2.572-13.524 13.524-6.142-6.143 2.57-2.572 3.572 3.572L78.81 29.381zm-71.713.238L20.38 42.904l-2.572 2.573L4.523 32.19l2.573-2.572zm50 0 2.57 2.572-9.713 9.713-2.572-2.57zm28.57 5.143-4.57 4.572 11.713 11.713 4.572-4.57zM0 34.809v1.906l.953-.953zm85.715 1.953 9.713 9.715-2.57 2.57-9.715-9.713zm-82.192 1.81L0 41.877v2.08l2.523 2.424L0 48.973v2.12l7.096 7.098 8.142-8.144zm0 1.951L13.238 50l-6.142 6.143L.953 50l3.57-3.715L1 42.857zM100 41.877l-1.096 1.027L100 43.957zm-57.191.027-4.57 4.573 4.57 4.57 4.572-4.57zm14.287 0L45.38 53.62l4.572 4.572 7.143-7.144 10.713 10.715 4.572-4.57zm21.476 0-8.144 8.143L75 54.619l3.572-3.572 7.143 7.144 4.57-4.572zm-35.763 2 2.572 2.573-2.572 2.57-2.57-2.57zm14.287 0L70.38 57.191l-2.572 2.57-10.713-10.714-7.143 7.144-2.572-2.572 9.715-9.715zm21.476 0 9.713 9.715-2.57 2.572-7.143-7.144L75 52.619l-2.572-2.572zm-53.619 1.573L9.666 60.762l4.572 4.572 15.285-15.287zm0 2 2.57 2.57-13.285 13.287-2.572-2.572zM100 48.973l-1.047 1.074L100 51.094zm-64.334.074-4.57 4.572 18.857 18.858 11.713-11.715-4.57-4.57-7.143 7.142zm0 2 14.287 14.287 7.143-7.143 2.57 2.57-9.713 9.716-16.857-16.858zm60.953 1.81-4.572 4.57L100 65.382v-2.049l-5.904-5.904 2.57-2.57L100 58.19v-1.953l-3.38-3.38zm-68.096 3.334L9.666 75.047l4.572 4.572 7.143-7.142 7.142 7.142 4.573-4.572-7.143-7.143 2.57-2.57 7.143 7.143 4.572-4.573zm50 0-8.142 8.143 8.142 8.143 4.573-4.573-3.573-3.57 3.573-3.572zM0 56.238v2l9.666 9.666-2.57 2.573L0 63.38v2l7.096 7.096 4.57-4.573zm28.523 1.905 9.715 9.714-2.572 2.57-7.143-7.142-4.57 4.572L31.096 75l-2.573 2.572-7.142-7.144-7.143 7.144L11.666 75zm50 .048 2.573 2.57-3.573 3.573 3.573 3.57-2.573 2.573-6.142-6.143zm10.715 1.57-4.572 4.573 3.572 3.57-6.904 6.905 4.57 4.572 11.477-11.477zm.047 2 6.143 6.143-9.475 9.477-2.572-2.572 6.904-6.905-3.57-3.57zm-25.047 1.573-8.142 8.143 4.57 4.57 8.143-8.143-4.57-4.57zm0 2 2.57 2.57-6.142 6.143-2.57-2.57zm-21.43 5.143L28.524 84.762l-7.142-7.143-4.572 4.57 11.714 11.715 18.858-18.857-4.572-4.57zm28.573 0-4.572 4.57 11.714 11.715 4.573-4.573L71.38 70.477zm28.572 0L88.238 82.189l4.57 4.43 7.145-7 .047.047v-2.094l-7.143 7.047-2.572-2.476L100 72.428v-1.905zM0 70.523v1.952l16.809 16.81-2.57 2.572-3.573-3.572-7.143 7.143L0 91.904v2.05l3.523 3.523 7.143-7.143 3.572 3.57 4.57-4.57L0 70.524zm42.809 1.954 2.572 2.57-16.858 16.857-9.714-9.715 2.572-2.57 7.142 7.143L42.81 72.477zm28.572 0 9.715 9.712-2.573 2.573-9.714-9.715zm-17.858 1.57-4.57 4.572 4.57 4.57 4.573-4.57zm0 2 2.573 2.572-2.573 2.57-2.57-2.57zM0 77.619v2.047l6.096 6.096-2.573 2.666L0 84.81v1.953l3.523 3.664 4.573-4.713zm64.238 0L53.523 88.334l-7.142-7.145-4.572 4.573 11.714 11.715L68.81 82.189l-4.57-4.57zm0 2 2.57 2.57-13.285 13.288-9.714-9.715 2.572-2.573 7.142 7.145zm7.143 5.143-8.143 8.142 4.57 4.573 3.573-3.573 3.572 3.573 4.57-4.573zm14.285 0-4.57 4.572L89 97.238l4.572-4.572zm14.287 0-4.572 4.572 4.619 4.62v-2.097l-2.572-2.572 2.572-2.57V84.81l-.047-.05zm-28.525 1.953 6.144 6.142L75 95.427l-3.572-3.57-3.57 3.57-2.573-2.57zm14.287.047 5.904 5.904-2.572 2.572-5.904-5.904zm-46.477 1.572-4.572 4.57L41.762 100h2l-7.096-7.096 2.572-2.57L48.906 100h2zm-18.095 3.57-7.096 7.143-3.332-3.332L6.289 100h2.143l2.33-2.285L13.049 100h2.094l6.095-6.096L24 96.524 20.71 100h1.999L26 96.428zm75.476 3.334L91.857 100h2.047l2.762-2.762 2.572 2.57-.191.192H100v-1.38l-3.38-3.382zm-36.142.096L55.879 100h1.978l2.57-2.62L62.79 100h1.908zm-28.381.094L27.523 100h2.096l2.524-2.523L34.678 100h2.008zm50 .049L77.572 100h2.047l2.524-2.523L84.668 100h1.951zM0 98.617V100h1l.191-.191zm71.38.43-.952.953h1.906l-.953-.953z",
|
|
51
|
+
strokeLinecap: "round",
|
|
52
|
+
hasFill: !0
|
|
53
|
+
},
|
|
54
|
+
redrum: {
|
|
55
|
+
height: 59.428,
|
|
56
|
+
width: 40,
|
|
57
|
+
path: "M0 70.975V47.881m20-1.692L8.535 52.808v13.239L20 72.667l11.465-6.62V52.808zm0-32.95 11.465-6.62V-6.619L20-13.24 8.535-6.619V6.619L20 13.24m8.535 4.927v13.238L40 38.024l11.465-6.62V18.166L40 11.546zM20 36.333 0 47.88m0 0v23.094m0 0 20 11.548 20-11.548V47.88m0 0L20 36.333m0 0 20 11.549M0 11.547l-11.465 6.619v13.239L0 38.025l11.465-6.62v-13.24L0 11.548v-23.094l20-11.547 20 11.547v23.094M20 36.333V13.24",
|
|
58
|
+
strokeLinecap: "square",
|
|
59
|
+
hasFill: !1
|
|
60
|
+
},
|
|
61
|
+
scales: {
|
|
62
|
+
height: 40,
|
|
63
|
+
width: 79.508,
|
|
64
|
+
path: "M0 0v.685c5.16 0 10.01 2.01 13.657 5.658.384.383.74.787 1.086 1.197a41 41 0 0 0-1.877 1.546c.185-.16.367-.324.554-.481C10.19 4.803 5.38 2.385 0 2.385v1.639c4.877 0 9.245 2.203 12.177 5.659.153-.139.313-.27.468-.406a41.2 41.2 0 0 0-6.769 7.675c.204-.299.403-.6.614-.893A7.59 7.59 0 0 0 0 12.399v1.64c2.427 0 4.511 1.462 5.44 3.548.11-.168.228-.33.34-.496a41 41 0 0 0-1.368 2.165c.231.025.46.06.69.088a41 41 0 0 0-1.846-.187c.305.022.61.039.913.07-.365-1.983-2.081-3.49-4.169-3.49v1.64c1.129 0 2.094.717 2.463 1.72q.033.001.068.005A42 42 0 0 0 0 19.016v1.64c5.312 0 10.464 1.04 15.314 3.091A39.2 39.2 0 0 1 27.82 32.18a39.4 39.4 0 0 1 5.756 7.301 41 41 0 0 1 1.766-.224 41 41 0 0 0-1.373-2.172c.113.168.233.332.345.502.93-2.085 3.013-3.547 5.44-3.547 2.426 0 4.51 1.462 5.44 3.547.112-.17.232-.334.345-.502a41 41 0 0 0-1.373 2.172 43 43 0 0 1 1.766.224 39.4 39.4 0 0 1 5.756-7.3 39.22 39.22 0 0 1 27.82-11.524v-1.64a42 42 0 0 0-2.649.09l.199-.016a2.62 2.62 0 0 1 2.45-1.713v-1.64c-2.085 0-3.784 1.51-4.151 3.487.344-.034.692-.056 1.039-.082q-1.002.077-1.99.202c.23-.028.459-.063.69-.088a41 41 0 0 0-1.368-2.165c.112.166.23.328.34.496.929-2.086 3.013-3.548 5.44-3.548V12.4a7.59 7.59 0 0 0-6.49 3.66c.211.293.41.594.614.893a41.2 41.2 0 0 0-6.769-7.675c.156.136.315.267.468.406 2.932-3.456 7.3-5.66 12.177-5.66V2.385c-5.38 0-10.189 2.42-13.42 6.22.187.158.369.322.554.482a41 41 0 0 0-1.877-1.546c.347-.41.702-.814 1.086-1.197A19.2 19.2 0 0 1 79.508.685V0H73.34a20.97 20.97 0 0 0-9.903 6.563c.343.243.679.496 1.014.749a41 41 0 0 0-6.108-3.833c.261.133.525.262.782.4a26 26 0 0 1 2.005-2.257A27 27 0 0 1 62.917 0h-2.405c-1.026.975-2.004 1.998-2.87 3.12.096.046.19.099.287.147a41 41 0 0 0-2.005-.926l.126.052A30 30 0 0 1 58.081 0h-2.148c-.49.578-.997 1.144-1.445 1.757.2.078.397.163.597.243-.743-.3-1.495-.584-2.26-.841.282-.398.596-.773.894-1.159h-2.065c-.155.216-.32.425-.47.644q.812.236 1.608.504A41 41 0 0 0 48.66.005c.262.06.527.112.787.175.041-.062.091-.118.133-.18H29.928c.042.062.092.118.133.18.255-.061.513-.113.77-.171q-2.09.464-4.096 1.133a41 41 0 0 1 1.589-.498c-.15-.22-.315-.428-.47-.644h-2.065c.298.386.612.761.893 1.159-.762.256-1.51.539-2.252.838.197-.079.391-.163.59-.24-.45-.613-.955-1.179-1.446-1.757h-2.147a30 30 0 0 1 2.03 2.393q.061-.024.121-.05-1.01.434-1.993.92c.095-.046.187-.098.282-.144C21 2 20.022.975 18.997 0H16.59a27 27 0 0 1 1.787 1.622 26 26 0 0 1 2.005 2.257c.255-.137.515-.264.773-.396a41 41 0 0 0-6.097 3.827c.335-.252.67-.504 1.012-.747A20.97 20.97 0 0 0 6.168 0Zm10.659 0a22.7 22.7 0 0 1 6.827 5.601q.689-.449 1.396-.87c-1.475-1.82-3.226-3.4-5.16-4.731Zm55.127 0c-1.934 1.332-3.686 2.91-5.16 4.732q.707.42 1.396.87A22.7 22.7 0 0 1 68.849 0ZM39.754.656c5.312 0 10.464 1.04 15.314 3.091a39.2 39.2 0 0 1 12.506 8.432 39.4 39.4 0 0 1 5.756 7.302c.117-.018.237-.029.354-.045a41 41 0 0 0-2.215.375l.046-.01C64.832 9.316 53.11 2.355 39.754 2.355S14.676 9.316 7.994 19.802l.044.01a41 41 0 0 0-2.213-.376c.117.016.236.027.353.045a39.4 39.4 0 0 1 5.756-7.302A39.22 39.22 0 0 1 39.754.656m0 3.338a35.9 35.9 0 0 1 25.46 10.546 36 36 0 0 1 4.6 5.64c.266-.065.535-.118.802-.178a41 41 0 0 0-4.18 1.156 42 42 0 0 0-2.271.846c.203-.081.404-.168.608-.247-5.632-7.712-14.738-12.725-25.019-12.725s-19.387 5.013-25.02 12.725c.207.08.409.167.614.25a40.6 40.6 0 0 0-6.443-2.002c.262.059.527.112.788.175a36 36 0 0 1 4.601-5.64 35.9 35.9 0 0 1 25.46-10.546m26.682 17.164a42 42 0 0 1 1.642-.514c-6.18-9.026-16.559-14.951-28.324-14.951s-22.143 5.925-28.323 14.951q.828.24 1.64.514a33 33 0 0 1 3.583-4.258 32.56 32.56 0 0 1 23.1-9.568 32.56 32.56 0 0 1 23.1 9.568 33 33 0 0 1 3.582 4.258M79.508 5.723c-4.4 0-8.333 1.994-10.952 5.124q.588.582 1.153 1.187c2.319-2.848 5.849-4.672 9.799-4.672zM0 5.723v1.64c3.95 0 7.48 1.823 9.8 4.67q.564-.604 1.152-1.186A14.24 14.24 0 0 0 0 5.723m0 3.338v1.64c3.123 0 5.886 1.552 7.573 3.92a43 43 0 0 1 1.074-1.303c-2-2.585-5.125-4.257-8.647-4.257m79.508 0c-3.522 0-6.647 1.672-8.647 4.257q.55.64 1.074 1.304c1.687-2.369 4.45-3.922 7.573-3.922zm-39.754 1.61c7.834 0 15.2 3.05 20.739 8.59a30 30 0 0 1 2.718 3.132l.13-.053q-1.02.438-2.01.928c.097-.049.192-.102.29-.15-5.054-6.535-12.966-10.749-21.867-10.749-8.9 0-16.813 4.214-21.867 10.75.098.047.193.1.29.149a41 41 0 0 0-2.01-.928l.13.053a30 30 0 0 1 2.718-3.132c5.54-5.54 12.905-8.59 20.739-8.59m0 3.338c6.943 0 13.47 2.704 18.378 7.613a26 26 0 0 1 2.005 2.257c.259-.14.524-.269.786-.403a41 41 0 0 0-6.131 3.85q.51-.389 1.032-.763c-3.843-4.592-9.613-7.517-16.07-7.517s-12.226 2.925-16.07 7.517c.35.248.691.505 1.032.763a41 41 0 0 0-6.13-3.85c.261.134.526.264.785.403a26 26 0 0 1 2.005-2.257c4.909-4.91 11.435-7.613 18.378-7.613m0 1.699c-7.63 0-14.43 3.523-18.883 9.023q.708.422 1.397.87.691-.84 1.468-1.62a22.5 22.5 0 0 1 16.018-6.634c6.05 0 11.74 2.356 16.018 6.635a23 23 0 0 1 1.469 1.619q.689-.448 1.395-.87c-4.454-5.5-11.253-9.023-18.882-9.023m0 4.977c5.16 0 10.01 2.01 13.657 5.657.384.384.74.788 1.086 1.197a41 41 0 0 0-1.89 1.558c.19-.164.375-.331.567-.492-3.231-3.802-8.04-6.22-13.42-6.22-5.378 0-10.186 2.417-13.417 6.216.211.178.416.363.624.545a41 41 0 0 0-1.95-1.607c.347-.409.702-.813 1.086-1.197a19.2 19.2 0 0 1 13.657-5.657M0 22.355v1.639A35.89 35.89 0 0 1 29.929 40h.94l.288-.064c-.085.018-.166.045-.25.064H48.6c-.084-.019-.164-.046-.249-.064q.144.03.288.064h.94a35.89 35.89 0 0 1 29.929-16.006v-1.64h-.001c-13.356 0-25.078 6.962-31.76 17.448l.098.022a41 41 0 0 0-3.94-.598c-.367-1.979-2.067-3.488-4.152-3.488s-3.785 1.51-4.151 3.488a41 41 0 0 0-3.942.598l.1-.022C25.077 29.316 13.355 22.355 0 22.354Zm39.754 1.669c4.877 0 9.244 2.202 12.177 5.659.156-.142.318-.275.477-.413a41.2 41.2 0 0 0-6.785 7.692c.206-.302.407-.607.62-.904a7.59 7.59 0 0 0-6.489-3.659 7.59 7.59 0 0 0-6.49 3.66c.214.296.415.601.621.903a41.2 41.2 0 0 0-6.815-7.721c.168.148.34.29.507.442 2.932-3.457 7.3-5.66 12.177-5.66zM0 25.693V27.6c.234 0 .465-.014.694-.034.02-.066.045-.13.067-.196 4.14.094 8.161.924 11.954 2.529A32.6 32.6 0 0 1 23.1 36.9c.975.976 1.854 2.022 2.689 3.1h2.065C21.626 31.342 11.479 25.693 0 25.693m79.508 0c-11.479 0-21.626 5.65-27.854 14.307h2.065c.835-1.078 1.714-2.124 2.69-3.1 3-3 6.494-5.356 10.384-7 3.793-1.605 7.814-2.436 11.954-2.53l.068.196c.228.02.459.034.693.034zm-39.754.03c-4.4 0-8.333 1.994-10.952 5.124a43 43 0 0 1 1.153 1.186c2.32-2.847 5.849-4.671 9.799-4.671s7.48 1.824 9.8 4.671q.564-.604 1.152-1.186a14.24 14.24 0 0 0-10.952-5.124M0 29.03v1.64c7.834 0 15.2 3.05 20.739 8.59.24.24.458.493.688.739h2.148C17.895 33.31 9.463 29.031 0 29.031Zm79.508 0c-9.463 0-17.895 4.28-23.575 10.969h2.148c.23-.246.449-.5.688-.74 5.54-5.539 12.905-8.59 20.739-8.59zm-39.754.03c-3.522 0-6.647 1.672-8.647 4.257q.55.64 1.075 1.304c1.687-2.369 4.449-3.921 7.572-3.921s5.885 1.552 7.573 3.92a42 42 0 0 1 1.074-1.303c-2-2.585-5.125-4.257-8.647-4.257M0 32.37v1.64c6.132 0 11.936 2.116 16.59 5.991h2.407C14.043 35.29 7.375 32.37 0 32.37m79.508 0c-7.374 0-14.043 2.922-18.996 7.631h2.405c4.655-3.875 10.459-5.991 16.591-5.991ZM0 35.709v1.639c3.78 0 7.418.92 10.66 2.653h3.062C9.815 37.31 5.102 35.708 0 35.708Zm79.508 0c-5.103 0-9.815 1.602-13.722 4.292h3.062a22.54 22.54 0 0 1 10.66-2.653zm-39.754 1.67c1.144 0 2.108.74 2.466 1.763-.82-.049-1.633-.125-2.466-.125s-1.646.076-2.466.125a2.62 2.62 0 0 1 2.466-1.764zM0 39.045V40h6.168A20.9 20.9 0 0 0 0 39.046Zm79.508 0a20.9 20.9 0 0 0-6.168.954h6.168z",
|
|
65
|
+
strokeLinecap: "round",
|
|
66
|
+
hasFill: !0
|
|
67
|
+
},
|
|
68
|
+
squares: {
|
|
69
|
+
height: 40,
|
|
70
|
+
width: 40,
|
|
71
|
+
path: "m34.582 5.417.001-10.722h10.722v10.72zm18.014-18.014v25.305H27.293v-25.304zM19.999 20 20-19.888h39.888V20zM-5.305 5.417V-5.304l10.722-.001V5.416zm18.013-18.014V12.71l-25.304-.001v-25.304zM-19.888 20v-39.888H20V20zm54.47 25.305.002-10.722h10.721v10.722zm18.014-18.014.001 25.306H27.292V27.291zM20 59.888V20h39.888v39.888zM-5.304 34.584H5.417v10.721H-5.305zm18.013 18.013h-25.305V27.291H12.71zM-19.888 20H20v39.888h-39.888z",
|
|
72
|
+
strokeLinecap: "round",
|
|
73
|
+
hasFill: !1
|
|
74
|
+
},
|
|
75
|
+
wave: {
|
|
76
|
+
height: 20,
|
|
77
|
+
width: 40,
|
|
78
|
+
path: "M-4.798 13.573C-3.149 12.533-1.446 11.306 0 10c2.812-2.758 6.18-4.974 10-5 4.183.336 7.193 2.456 10 5 2.86 2.687 6.216 4.952 10 5 4.185-.315 7.35-2.48 10-5 1.452-1.386 3.107-3.085 4.793-4.176",
|
|
79
|
+
strokeLinecap: "round",
|
|
80
|
+
hasFill: !1
|
|
81
|
+
},
|
|
82
|
+
"zig-zag": {
|
|
83
|
+
height: 20,
|
|
84
|
+
width: 20,
|
|
85
|
+
path: "M-5 5 5.1 15 15 5l10 10",
|
|
86
|
+
strokeLinecap: "round",
|
|
87
|
+
hasFill: !1
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
const i = ["id", "height", "width", "patternTransform"], s = ["fill"], r = ["fill", "stroke", "stroke-width", "stroke-linecap", "d"], M = {
|
|
93
|
+
__name: "vue-ui-pattern",
|
|
94
|
+
props: {
|
|
95
|
+
name: {
|
|
96
|
+
type: String,
|
|
97
|
+
required: !0
|
|
98
|
+
},
|
|
99
|
+
id: {
|
|
100
|
+
type: String,
|
|
101
|
+
required: !0
|
|
102
|
+
},
|
|
103
|
+
fill: {
|
|
104
|
+
type: String,
|
|
105
|
+
default: "#FFFFFF00"
|
|
106
|
+
},
|
|
107
|
+
stroke: {
|
|
108
|
+
type: String,
|
|
109
|
+
default: "#2D353C"
|
|
110
|
+
},
|
|
111
|
+
strokeWidth: {
|
|
112
|
+
type: Number,
|
|
113
|
+
default: 1
|
|
114
|
+
},
|
|
115
|
+
scale: {
|
|
116
|
+
type: Number,
|
|
117
|
+
default: 1
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
setup(m) {
|
|
121
|
+
const a = m, e = L(), l = t(() => e[a.name]);
|
|
122
|
+
return (n, v) => (z(), c("pattern", {
|
|
123
|
+
id: m.id,
|
|
124
|
+
height: l.value.height,
|
|
125
|
+
width: l.value.width,
|
|
126
|
+
patternTransform: `scale(${a.scale})`,
|
|
127
|
+
patternUnits: "userSpaceOnUse"
|
|
128
|
+
}, [
|
|
129
|
+
h("rect", {
|
|
130
|
+
width: "100%",
|
|
131
|
+
height: "100%",
|
|
132
|
+
fill: m.fill
|
|
133
|
+
}, null, 8, s),
|
|
134
|
+
h("path", {
|
|
135
|
+
fill: l.value.hasFill ? a.stroke : "none",
|
|
136
|
+
stroke: l.value.hasFill ? "none" : a.stroke,
|
|
137
|
+
"stroke-width": a.strokeWidth,
|
|
138
|
+
"stroke-linecap": l.value.strokeLinecap,
|
|
139
|
+
d: l.value.path
|
|
140
|
+
}, null, 8, r)
|
|
141
|
+
], 8, i));
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
export {
|
|
145
|
+
M as default
|
|
146
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("vue");function t(){return{...{bubbles:{height:30,width:30,path:"M9 20.502A7.5 7.5 0 0 1 1.5 28 7.5 7.5 0 0 0-6 35.5a7.5 7.5 0 0 1-7.5 7.499 7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1-21 35.5a7.5 7.5 0 0 1 7.5-7.5A7.5 7.5 0 0 0-6 20.502a7.5 7.5 0 1 1 15 0zm15 0A7.5 7.5 0 0 1 16.5 28a7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1 9 20.502c0-2.072-.84-3.947-2.197-5.303A7.48 7.48 0 0 0 1.5 13.002a7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1-6 5.503a7.5 7.5 0 1 1 15 0c0 2.07.84 3.945 2.196 5.303a7.48 7.48 0 0 0 5.304 2.196c2.07 0 3.945.84 5.303 2.197A7.47 7.47 0 0 1 24 20.502zm15 0A7.5 7.5 0 0 1 31.5 28a7.5 7.5 0 0 0-7.5 7.5 7.5 7.5 0 0 1-7.5 7.499 7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1 9 35.5a7.5 7.5 0 0 1 7.5-7.5 7.5 7.5 0 0 0 7.5-7.498 7.5 7.5 0 1 1 15 0zm0-30A7.5 7.5 0 0 1 31.5-2 7.5 7.5 0 0 0 24 5.5a7.5 7.5 0 0 1-7.5 7.499 7.48 7.48 0 0 1-5.304-2.196A7.48 7.48 0 0 1 9 5.5 7.5 7.5 0 0 1 16.5-2 7.5 7.5 0 0 0 24-9.498a7.5 7.5 0 1 1 15 0zm-22.5 37.5a7.5 7.5 0 0 0-7.5 7.5c0-2.072-.84-3.947-2.197-5.303A7.48 7.48 0 0 0 1.5 28.002 7.5 7.5 0 0 0 9 20.503c0 2.07.84 3.945 2.196 5.303a7.48 7.48 0 0 0 5.304 2.196zm15-15a7.5 7.5 0 0 0-7.5 7.5c0-2.072-.84-3.947-2.197-5.303a7.48 7.48 0 0 0-5.303-2.197A7.5 7.5 0 0 0 24 5.503c0 2.07.84 3.945 2.196 5.303a7.48 7.48 0 0 0 5.304 2.196z",strokeLinecap:"round",hasFill:!1},flooring:{height:20,width:40,path:"M40 0 20-10V0l20 10zm0 10L20 0v10l20 10zm0 10L20 10v10l20 10zM0 20l20-10v10L0 30zm0-10L20 0v10L0 20zM0 0l20-10V0L0 10z",strokeLinecap:"round",hasFill:!1},grid:{height:20,width:20,path:"M10 0v20ZM0 10h20Z",strokeLinecap:"round",hasFill:!1},"hexagon-diamond":{height:29.003,width:50.222,path:"M58.592-14.503h-16.74m6.277 3.627H56.5l4.188 7.25h-8.373zM60.686 3.623l-4.187 7.25h-8.372l4.187-7.25zM41.852-7.252l4.185 7.25-4.185 7.252L37.666 0zm25.11 7.25L58.593 14.5h-16.74L33.481-.001l8.371-14.501m16.74-.001 8.37 14.502m0 0h-16.74v0m-8.37-14.501L50.222 0l-8.37 14.503M8.371-14.502H-8.37m6.276 3.627h8.371l4.188 7.25H2.093zM10.464 3.624l-4.186 7.25h-8.373l4.187-7.25zM-8.37-7.251-4.185 0-8.37 7.252-12.556 0zM16.74 0 8.37 14.502H-8.37L-16.742 0l8.371-14.501m16.74-.001L16.741-.001m0 0H.001v0m-8.37-14.501L0 0l-8.37 14.503m6.275 3.625h8.372l4.187 7.25H2.093zm12.558 14.499-4.187 7.25h-8.372l4.187-7.25zM-8.371 21.752l4.185 7.25-4.185 7.252-4.185-7.251zm25.112 7.25L8.37 43.504H-8.37l-8.371-14.502 8.37-14.501M8.37 14.5l8.372 14.502m0 0H0v0m-8.37-14.5L0 29.003l-8.37 14.503m56.5-25.379 8.371.001 4.188 7.25h-8.373zm12.557 14.5L56.5 39.876l-8.372.001 4.187-7.25zM41.852 21.751l4.185 7.25-4.185 7.252-4.186-7.252zm25.11 7.25-8.37 14.502h-16.74l-8.372-14.5M58.59 14.5l8.372 14.503m0 0h-16.74v0m-8.371-14.501 8.37 14.501-8.37 14.503M33.482 0h-16.74m6.276 3.627 8.371.001 4.188 7.25h-8.373zm12.557 14.5-4.187 7.249-8.372.001 4.187-7.25zM16.741 7.25l4.185 7.25-4.185 7.252-4.186-7.252zm25.11 7.25-8.37 14.502h-16.74M41.851 14.5h-16.74v0M16.742 0l8.37 14.502-8.37 14.503",strokeLinecap:"square",hasFill:!1},"hexagon-flooring":{height:40,width:23.07,path:"m17.62 0-6.07 10.5m2.74 4.76L8.22 4.75m-5.48 0h12.13M.01 0h23.07M6.07 20 0 9.5m2.74-4.75-6.07 10.5m-5.48 0H3.33m8.2 4.75L0 .02-11.54 20m40.68 0L23.07 9.5m2.74-4.75-6.06 10.5m-5.49 0H26.4M34.6 20 23.08.02 11.53 20m-5.46 0L0 30.51m2.74 4.75-6.07-10.5m-5.48 0H3.33m8.2-4.75L0 40l-11.54-19.98zM17.6 40l-6.06-10.5m2.74-4.76L8.2 35.25m-5.48 0h12.13M0 40h23.07L11.54 20.01m17.6 0-6.07 10.5m2.74 4.75-6.06-10.5m-5.49 0H26.4M11.53 20h23.08L23.07 40",strokeLinecap:"square",hasFill:!1},"hexagon-grid":{height:50.115,width:29,path:"M14.498 16.858 0 8.488.002-8.257l14.5-8.374L29-8.26l-.002 16.745zm0 50.06L0 58.548l.002-16.745 14.5-8.373L29 41.8l-.002 16.744zM28.996 41.8l-14.498-8.37.002-16.744L29 8.312l14.498 8.37-.002 16.745zm-29 0-14.498-8.37.002-16.744L0 8.312l14.498 8.37-.002 16.745z",strokeLinecap:"round",hasFill:!1},maze:{height:100,width:100,path:"M0 0v1l1-1zm6.29 0-.147.143 11.81 11.619 8.19-8.143L22.666.047 22.709 0h-1.998l-.045.047 3.477 3.572-6.19 6.143L8.238.192 8.434 0H6.289zm6.759 0 1.047 1.047L15.143 0zm14.474 0 7.143 7.143-2.428 2.523-3.43-3.523-4.855 4.572 8.238 8.142L43.857 7.143 36.686 0h-2.008l7.226 7.191-9.666 9.713L26 10.762l2.762-2.57 3.476 3.617 4.477-4.618L29.572.047 29.62 0h-2.096zm14.288 0 4.808 4.809 4.572-4.57L50.953 0h-2.047l.285.285-2.572 2.572L43.762 0zm14.068 0-17.64 17.904 4.57 4.62L65 .333 64.697 0H62.79l.258.285-20.19 20.192-2.572-2.573L57.857 0H55.88zm14.549 0-3.62 3.62 8.145 8.142L86.666.047 86.619 0h-1.951l.047.047L75 9.762l-6.143-6.143 2.57-2.572L75 4.619 79.62 0h-2.048l-2.619 2.62L72.334 0zm21.43 0-3.62 3.62 4.57 4.571L100 .998V0h-.953l-6.19 6.191-2.572-2.572L93.905 0h-2.048zm-88 2.191L0 6.091v2.04l3.762-3.846 2.666 3.049-6.381 6.19-.047-.05v2.098l8.38-8.095L3.858 2.19zM100 6.091l-4.572 4.624L100 15.572v-2.097l-2.572-2.713L100 8.13V6.09zm-35.762.1-4.572 4.57 4.572 4.573 4.57-4.572-4.57-4.57zm21.428 0L74.953 16.904l-3.572-3.57-4.572 4.57 8.144 8.143 15.285-15.285-4.572-4.57zm-21.428 2 2.57 2.57-2.57 2.573-2.572-2.572zm21.477 0 2.57 2.57L75 24.048l-6.143-6.143 2.57-2.57L75 18.904zM10.666 10 0 20.668v2L10.666 12l2.572 2.572L0 27.811v2l15.238-15.239zm46.43 3.334L42.809 27.619l-7.381-7.38-8.143 8.142 4.572 4.572 3.57-3.572 2.811 2.81-6.142 6.143L21.38 27.619l-4.572 4.572 15.287 15.286 25-25L67.809 33.19l4.572-4.572-15.285-15.285zm35.713.238-4.57 4.57 11.714 11.715.047-.046v-1.954l-9.715-9.714 2.572-2.57L100 22.714v-2.047l-.047.047-7.144-7.143zm-71.143.094-12 11.38 4.572 4.669 7.334-7.238 3.381 3.57 4.62-4.62zm35.43 1.62L70.38 28.571l-2.572 2.57-10.713-10.714-25 25-13.287-13.285 2.572-2.57 10.715 10.712 8.142-8.142-4.81-4.809-3.57 3.57-2.573-2.57 6.143-6.143 7.38 7.381 14.288-14.287zm-35.477.429 5.904 5.762L25 24l-3.38-3.523-7.335 7.285-2.57-2.62zm64.047 4.762-4.57 4.57L96.38 40.334l3.619-3.62V34.81zm.049 2L99 35.762l-2.572 2.572-13.285-13.287zm-6.953 4.904L67.809 38.334l-3.57-3.572-4.573 4.572 8.143 8.143 15.525-15.524zm-71.666.238-4.573 4.572L17.81 47.477l4.572-4.573L7.096 27.62zm50 0L45.38 39.334l4.572 4.57 11.713-11.713zm21.713 1.762 2.572 2.572-13.524 13.524-6.142-6.143 2.57-2.572 3.572 3.572L78.81 29.381zm-71.713.238L20.38 42.904l-2.572 2.573L4.523 32.19l2.573-2.572zm50 0 2.57 2.572-9.713 9.713-2.572-2.57zm28.57 5.143-4.57 4.572 11.713 11.713 4.572-4.57zM0 34.809v1.906l.953-.953zm85.715 1.953 9.713 9.715-2.57 2.57-9.715-9.713zm-82.192 1.81L0 41.877v2.08l2.523 2.424L0 48.973v2.12l7.096 7.098 8.142-8.144zm0 1.951L13.238 50l-6.142 6.143L.953 50l3.57-3.715L1 42.857zM100 41.877l-1.096 1.027L100 43.957zm-57.191.027-4.57 4.573 4.57 4.57 4.572-4.57zm14.287 0L45.38 53.62l4.572 4.572 7.143-7.144 10.713 10.715 4.572-4.57zm21.476 0-8.144 8.143L75 54.619l3.572-3.572 7.143 7.144 4.57-4.572zm-35.763 2 2.572 2.573-2.572 2.57-2.57-2.57zm14.287 0L70.38 57.191l-2.572 2.57-10.713-10.714-7.143 7.144-2.572-2.572 9.715-9.715zm21.476 0 9.713 9.715-2.57 2.572-7.143-7.144L75 52.619l-2.572-2.572zm-53.619 1.573L9.666 60.762l4.572 4.572 15.285-15.287zm0 2 2.57 2.57-13.285 13.287-2.572-2.572zM100 48.973l-1.047 1.074L100 51.094zm-64.334.074-4.57 4.572 18.857 18.858 11.713-11.715-4.57-4.57-7.143 7.142zm0 2 14.287 14.287 7.143-7.143 2.57 2.57-9.713 9.716-16.857-16.858zm60.953 1.81-4.572 4.57L100 65.382v-2.049l-5.904-5.904 2.57-2.57L100 58.19v-1.953l-3.38-3.38zm-68.096 3.334L9.666 75.047l4.572 4.572 7.143-7.142 7.142 7.142 4.573-4.572-7.143-7.143 2.57-2.57 7.143 7.143 4.572-4.573zm50 0-8.142 8.143 8.142 8.143 4.573-4.573-3.573-3.57 3.573-3.572zM0 56.238v2l9.666 9.666-2.57 2.573L0 63.38v2l7.096 7.096 4.57-4.573zm28.523 1.905 9.715 9.714-2.572 2.57-7.143-7.142-4.57 4.572L31.096 75l-2.573 2.572-7.142-7.144-7.143 7.144L11.666 75zm50 .048 2.573 2.57-3.573 3.573 3.573 3.57-2.573 2.573-6.142-6.143zm10.715 1.57-4.572 4.573 3.572 3.57-6.904 6.905 4.57 4.572 11.477-11.477zm.047 2 6.143 6.143-9.475 9.477-2.572-2.572 6.904-6.905-3.57-3.57zm-25.047 1.573-8.142 8.143 4.57 4.57 8.143-8.143-4.57-4.57zm0 2 2.57 2.57-6.142 6.143-2.57-2.57zm-21.43 5.143L28.524 84.762l-7.142-7.143-4.572 4.57 11.714 11.715 18.858-18.857-4.572-4.57zm28.573 0-4.572 4.57 11.714 11.715 4.573-4.573L71.38 70.477zm28.572 0L88.238 82.189l4.57 4.43 7.145-7 .047.047v-2.094l-7.143 7.047-2.572-2.476L100 72.428v-1.905zM0 70.523v1.952l16.809 16.81-2.57 2.572-3.573-3.572-7.143 7.143L0 91.904v2.05l3.523 3.523 7.143-7.143 3.572 3.57 4.57-4.57L0 70.524zm42.809 1.954 2.572 2.57-16.858 16.857-9.714-9.715 2.572-2.57 7.142 7.143L42.81 72.477zm28.572 0 9.715 9.712-2.573 2.573-9.714-9.715zm-17.858 1.57-4.57 4.572 4.57 4.57 4.573-4.57zm0 2 2.573 2.572-2.573 2.57-2.57-2.57zM0 77.619v2.047l6.096 6.096-2.573 2.666L0 84.81v1.953l3.523 3.664 4.573-4.713zm64.238 0L53.523 88.334l-7.142-7.145-4.572 4.573 11.714 11.715L68.81 82.189l-4.57-4.57zm0 2 2.57 2.57-13.285 13.288-9.714-9.715 2.572-2.573 7.142 7.145zm7.143 5.143-8.143 8.142 4.57 4.573 3.573-3.573 3.572 3.573 4.57-4.573zm14.285 0-4.57 4.572L89 97.238l4.572-4.572zm14.287 0-4.572 4.572 4.619 4.62v-2.097l-2.572-2.572 2.572-2.57V84.81l-.047-.05zm-28.525 1.953 6.144 6.142L75 95.427l-3.572-3.57-3.57 3.57-2.573-2.57zm14.287.047 5.904 5.904-2.572 2.572-5.904-5.904zm-46.477 1.572-4.572 4.57L41.762 100h2l-7.096-7.096 2.572-2.57L48.906 100h2zm-18.095 3.57-7.096 7.143-3.332-3.332L6.289 100h2.143l2.33-2.285L13.049 100h2.094l6.095-6.096L24 96.524 20.71 100h1.999L26 96.428zm75.476 3.334L91.857 100h2.047l2.762-2.762 2.572 2.57-.191.192H100v-1.38l-3.38-3.382zm-36.142.096L55.879 100h1.978l2.57-2.62L62.79 100h1.908zm-28.381.094L27.523 100h2.096l2.524-2.523L34.678 100h2.008zm50 .049L77.572 100h2.047l2.524-2.523L84.668 100h1.951zM0 98.617V100h1l.191-.191zm71.38.43-.952.953h1.906l-.953-.953z",strokeLinecap:"round",hasFill:!0},redrum:{height:59.428,width:40,path:"M0 70.975V47.881m20-1.692L8.535 52.808v13.239L20 72.667l11.465-6.62V52.808zm0-32.95 11.465-6.62V-6.619L20-13.24 8.535-6.619V6.619L20 13.24m8.535 4.927v13.238L40 38.024l11.465-6.62V18.166L40 11.546zM20 36.333 0 47.88m0 0v23.094m0 0 20 11.548 20-11.548V47.88m0 0L20 36.333m0 0 20 11.549M0 11.547l-11.465 6.619v13.239L0 38.025l11.465-6.62v-13.24L0 11.548v-23.094l20-11.547 20 11.547v23.094M20 36.333V13.24",strokeLinecap:"square",hasFill:!1},scales:{height:40,width:79.508,path:"M0 0v.685c5.16 0 10.01 2.01 13.657 5.658.384.383.74.787 1.086 1.197a41 41 0 0 0-1.877 1.546c.185-.16.367-.324.554-.481C10.19 4.803 5.38 2.385 0 2.385v1.639c4.877 0 9.245 2.203 12.177 5.659.153-.139.313-.27.468-.406a41.2 41.2 0 0 0-6.769 7.675c.204-.299.403-.6.614-.893A7.59 7.59 0 0 0 0 12.399v1.64c2.427 0 4.511 1.462 5.44 3.548.11-.168.228-.33.34-.496a41 41 0 0 0-1.368 2.165c.231.025.46.06.69.088a41 41 0 0 0-1.846-.187c.305.022.61.039.913.07-.365-1.983-2.081-3.49-4.169-3.49v1.64c1.129 0 2.094.717 2.463 1.72q.033.001.068.005A42 42 0 0 0 0 19.016v1.64c5.312 0 10.464 1.04 15.314 3.091A39.2 39.2 0 0 1 27.82 32.18a39.4 39.4 0 0 1 5.756 7.301 41 41 0 0 1 1.766-.224 41 41 0 0 0-1.373-2.172c.113.168.233.332.345.502.93-2.085 3.013-3.547 5.44-3.547 2.426 0 4.51 1.462 5.44 3.547.112-.17.232-.334.345-.502a41 41 0 0 0-1.373 2.172 43 43 0 0 1 1.766.224 39.4 39.4 0 0 1 5.756-7.3 39.22 39.22 0 0 1 27.82-11.524v-1.64a42 42 0 0 0-2.649.09l.199-.016a2.62 2.62 0 0 1 2.45-1.713v-1.64c-2.085 0-3.784 1.51-4.151 3.487.344-.034.692-.056 1.039-.082q-1.002.077-1.99.202c.23-.028.459-.063.69-.088a41 41 0 0 0-1.368-2.165c.112.166.23.328.34.496.929-2.086 3.013-3.548 5.44-3.548V12.4a7.59 7.59 0 0 0-6.49 3.66c.211.293.41.594.614.893a41.2 41.2 0 0 0-6.769-7.675c.156.136.315.267.468.406 2.932-3.456 7.3-5.66 12.177-5.66V2.385c-5.38 0-10.189 2.42-13.42 6.22.187.158.369.322.554.482a41 41 0 0 0-1.877-1.546c.347-.41.702-.814 1.086-1.197A19.2 19.2 0 0 1 79.508.685V0H73.34a20.97 20.97 0 0 0-9.903 6.563c.343.243.679.496 1.014.749a41 41 0 0 0-6.108-3.833c.261.133.525.262.782.4a26 26 0 0 1 2.005-2.257A27 27 0 0 1 62.917 0h-2.405c-1.026.975-2.004 1.998-2.87 3.12.096.046.19.099.287.147a41 41 0 0 0-2.005-.926l.126.052A30 30 0 0 1 58.081 0h-2.148c-.49.578-.997 1.144-1.445 1.757.2.078.397.163.597.243-.743-.3-1.495-.584-2.26-.841.282-.398.596-.773.894-1.159h-2.065c-.155.216-.32.425-.47.644q.812.236 1.608.504A41 41 0 0 0 48.66.005c.262.06.527.112.787.175.041-.062.091-.118.133-.18H29.928c.042.062.092.118.133.18.255-.061.513-.113.77-.171q-2.09.464-4.096 1.133a41 41 0 0 1 1.589-.498c-.15-.22-.315-.428-.47-.644h-2.065c.298.386.612.761.893 1.159-.762.256-1.51.539-2.252.838.197-.079.391-.163.59-.24-.45-.613-.955-1.179-1.446-1.757h-2.147a30 30 0 0 1 2.03 2.393q.061-.024.121-.05-1.01.434-1.993.92c.095-.046.187-.098.282-.144C21 2 20.022.975 18.997 0H16.59a27 27 0 0 1 1.787 1.622 26 26 0 0 1 2.005 2.257c.255-.137.515-.264.773-.396a41 41 0 0 0-6.097 3.827c.335-.252.67-.504 1.012-.747A20.97 20.97 0 0 0 6.168 0Zm10.659 0a22.7 22.7 0 0 1 6.827 5.601q.689-.449 1.396-.87c-1.475-1.82-3.226-3.4-5.16-4.731Zm55.127 0c-1.934 1.332-3.686 2.91-5.16 4.732q.707.42 1.396.87A22.7 22.7 0 0 1 68.849 0ZM39.754.656c5.312 0 10.464 1.04 15.314 3.091a39.2 39.2 0 0 1 12.506 8.432 39.4 39.4 0 0 1 5.756 7.302c.117-.018.237-.029.354-.045a41 41 0 0 0-2.215.375l.046-.01C64.832 9.316 53.11 2.355 39.754 2.355S14.676 9.316 7.994 19.802l.044.01a41 41 0 0 0-2.213-.376c.117.016.236.027.353.045a39.4 39.4 0 0 1 5.756-7.302A39.22 39.22 0 0 1 39.754.656m0 3.338a35.9 35.9 0 0 1 25.46 10.546 36 36 0 0 1 4.6 5.64c.266-.065.535-.118.802-.178a41 41 0 0 0-4.18 1.156 42 42 0 0 0-2.271.846c.203-.081.404-.168.608-.247-5.632-7.712-14.738-12.725-25.019-12.725s-19.387 5.013-25.02 12.725c.207.08.409.167.614.25a40.6 40.6 0 0 0-6.443-2.002c.262.059.527.112.788.175a36 36 0 0 1 4.601-5.64 35.9 35.9 0 0 1 25.46-10.546m26.682 17.164a42 42 0 0 1 1.642-.514c-6.18-9.026-16.559-14.951-28.324-14.951s-22.143 5.925-28.323 14.951q.828.24 1.64.514a33 33 0 0 1 3.583-4.258 32.56 32.56 0 0 1 23.1-9.568 32.56 32.56 0 0 1 23.1 9.568 33 33 0 0 1 3.582 4.258M79.508 5.723c-4.4 0-8.333 1.994-10.952 5.124q.588.582 1.153 1.187c2.319-2.848 5.849-4.672 9.799-4.672zM0 5.723v1.64c3.95 0 7.48 1.823 9.8 4.67q.564-.604 1.152-1.186A14.24 14.24 0 0 0 0 5.723m0 3.338v1.64c3.123 0 5.886 1.552 7.573 3.92a43 43 0 0 1 1.074-1.303c-2-2.585-5.125-4.257-8.647-4.257m79.508 0c-3.522 0-6.647 1.672-8.647 4.257q.55.64 1.074 1.304c1.687-2.369 4.45-3.922 7.573-3.922zm-39.754 1.61c7.834 0 15.2 3.05 20.739 8.59a30 30 0 0 1 2.718 3.132l.13-.053q-1.02.438-2.01.928c.097-.049.192-.102.29-.15-5.054-6.535-12.966-10.749-21.867-10.749-8.9 0-16.813 4.214-21.867 10.75.098.047.193.1.29.149a41 41 0 0 0-2.01-.928l.13.053a30 30 0 0 1 2.718-3.132c5.54-5.54 12.905-8.59 20.739-8.59m0 3.338c6.943 0 13.47 2.704 18.378 7.613a26 26 0 0 1 2.005 2.257c.259-.14.524-.269.786-.403a41 41 0 0 0-6.131 3.85q.51-.389 1.032-.763c-3.843-4.592-9.613-7.517-16.07-7.517s-12.226 2.925-16.07 7.517c.35.248.691.505 1.032.763a41 41 0 0 0-6.13-3.85c.261.134.526.264.785.403a26 26 0 0 1 2.005-2.257c4.909-4.91 11.435-7.613 18.378-7.613m0 1.699c-7.63 0-14.43 3.523-18.883 9.023q.708.422 1.397.87.691-.84 1.468-1.62a22.5 22.5 0 0 1 16.018-6.634c6.05 0 11.74 2.356 16.018 6.635a23 23 0 0 1 1.469 1.619q.689-.448 1.395-.87c-4.454-5.5-11.253-9.023-18.882-9.023m0 4.977c5.16 0 10.01 2.01 13.657 5.657.384.384.74.788 1.086 1.197a41 41 0 0 0-1.89 1.558c.19-.164.375-.331.567-.492-3.231-3.802-8.04-6.22-13.42-6.22-5.378 0-10.186 2.417-13.417 6.216.211.178.416.363.624.545a41 41 0 0 0-1.95-1.607c.347-.409.702-.813 1.086-1.197a19.2 19.2 0 0 1 13.657-5.657M0 22.355v1.639A35.89 35.89 0 0 1 29.929 40h.94l.288-.064c-.085.018-.166.045-.25.064H48.6c-.084-.019-.164-.046-.249-.064q.144.03.288.064h.94a35.89 35.89 0 0 1 29.929-16.006v-1.64h-.001c-13.356 0-25.078 6.962-31.76 17.448l.098.022a41 41 0 0 0-3.94-.598c-.367-1.979-2.067-3.488-4.152-3.488s-3.785 1.51-4.151 3.488a41 41 0 0 0-3.942.598l.1-.022C25.077 29.316 13.355 22.355 0 22.354Zm39.754 1.669c4.877 0 9.244 2.202 12.177 5.659.156-.142.318-.275.477-.413a41.2 41.2 0 0 0-6.785 7.692c.206-.302.407-.607.62-.904a7.59 7.59 0 0 0-6.489-3.659 7.59 7.59 0 0 0-6.49 3.66c.214.296.415.601.621.903a41.2 41.2 0 0 0-6.815-7.721c.168.148.34.29.507.442 2.932-3.457 7.3-5.66 12.177-5.66zM0 25.693V27.6c.234 0 .465-.014.694-.034.02-.066.045-.13.067-.196 4.14.094 8.161.924 11.954 2.529A32.6 32.6 0 0 1 23.1 36.9c.975.976 1.854 2.022 2.689 3.1h2.065C21.626 31.342 11.479 25.693 0 25.693m79.508 0c-11.479 0-21.626 5.65-27.854 14.307h2.065c.835-1.078 1.714-2.124 2.69-3.1 3-3 6.494-5.356 10.384-7 3.793-1.605 7.814-2.436 11.954-2.53l.068.196c.228.02.459.034.693.034zm-39.754.03c-4.4 0-8.333 1.994-10.952 5.124a43 43 0 0 1 1.153 1.186c2.32-2.847 5.849-4.671 9.799-4.671s7.48 1.824 9.8 4.671q.564-.604 1.152-1.186a14.24 14.24 0 0 0-10.952-5.124M0 29.03v1.64c7.834 0 15.2 3.05 20.739 8.59.24.24.458.493.688.739h2.148C17.895 33.31 9.463 29.031 0 29.031Zm79.508 0c-9.463 0-17.895 4.28-23.575 10.969h2.148c.23-.246.449-.5.688-.74 5.54-5.539 12.905-8.59 20.739-8.59zm-39.754.03c-3.522 0-6.647 1.672-8.647 4.257q.55.64 1.075 1.304c1.687-2.369 4.449-3.921 7.572-3.921s5.885 1.552 7.573 3.92a42 42 0 0 1 1.074-1.303c-2-2.585-5.125-4.257-8.647-4.257M0 32.37v1.64c6.132 0 11.936 2.116 16.59 5.991h2.407C14.043 35.29 7.375 32.37 0 32.37m79.508 0c-7.374 0-14.043 2.922-18.996 7.631h2.405c4.655-3.875 10.459-5.991 16.591-5.991ZM0 35.709v1.639c3.78 0 7.418.92 10.66 2.653h3.062C9.815 37.31 5.102 35.708 0 35.708Zm79.508 0c-5.103 0-9.815 1.602-13.722 4.292h3.062a22.54 22.54 0 0 1 10.66-2.653zm-39.754 1.67c1.144 0 2.108.74 2.466 1.763-.82-.049-1.633-.125-2.466-.125s-1.646.076-2.466.125a2.62 2.62 0 0 1 2.466-1.764zM0 39.045V40h6.168A20.9 20.9 0 0 0 0 39.046Zm79.508 0a20.9 20.9 0 0 0-6.168.954h6.168z",strokeLinecap:"round",hasFill:!0},squares:{height:40,width:40,path:"m34.582 5.417.001-10.722h10.722v10.72zm18.014-18.014v25.305H27.293v-25.304zM19.999 20 20-19.888h39.888V20zM-5.305 5.417V-5.304l10.722-.001V5.416zm18.013-18.014V12.71l-25.304-.001v-25.304zM-19.888 20v-39.888H20V20zm54.47 25.305.002-10.722h10.721v10.722zm18.014-18.014.001 25.306H27.292V27.291zM20 59.888V20h39.888v39.888zM-5.304 34.584H5.417v10.721H-5.305zm18.013 18.013h-25.305V27.291H12.71zM-19.888 20H20v39.888h-39.888z",strokeLinecap:"round",hasFill:!1},wave:{height:20,width:40,path:"M-4.798 13.573C-3.149 12.533-1.446 11.306 0 10c2.812-2.758 6.18-4.974 10-5 4.183.336 7.193 2.456 10 5 2.86 2.687 6.216 4.952 10 5 4.185-.315 7.35-2.48 10-5 1.452-1.386 3.107-3.085 4.793-4.176",strokeLinecap:"round",hasFill:!1},"zig-zag":{height:20,width:20,path:"M-5 5 5.1 15 15 5l10 10",strokeLinecap:"round",hasFill:!1}}}}const c=["id","height","width","patternTransform"],z=["fill"],L=["fill","stroke","stroke-width","stroke-linecap","d"],i={__name:"vue-ui-pattern",props:{name:{type:String,required:!0},id:{type:String,required:!0},fill:{type:String,default:"#FFFFFF00"},stroke:{type:String,default:"#2D353C"},strokeWidth:{type:Number,default:1},scale:{type:Number,default:1}},setup(e){const a=e,h=t(),l=m.computed(()=>h[a.name]);return(s,r)=>(m.openBlock(),m.createElementBlock("pattern",{id:e.id,height:l.value.height,width:l.value.width,patternTransform:`scale(${a.scale})`,patternUnits:"userSpaceOnUse"},[m.createElementVNode("rect",{width:"100%",height:"100%",fill:e.fill},null,8,z),m.createElementVNode("path",{fill:l.value.hasFill?a.stroke:"none",stroke:l.value.hasFill?"none":a.stroke,"stroke-width":a.strokeWidth,"stroke-linecap":l.value.strokeLinecap,d:l.value.path},null,8,L)],8,c))}};exports.default=i;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { computed as g, ref as h, watch as Fe, onMounted as lt, onBeforeUnmount as at, openBlock as o, createElementBlock as n, normalizeClass as T, normalizeStyle as w, unref as y, createBlock as N, createCommentVNode as c, createSlots as ut, withCtx as x, renderSlot as $, normalizeProps as G, guardReactiveProps as Q, createVNode as ve, createElementVNode as d, Fragment as S, renderList as Y, toDisplayString as k, createTextVNode as ot, nextTick as st } from "vue";
|
|
2
|
-
import { u as rt, c as Re, t as nt, a as it, p as de, o as vt, e as H, b as dt, T as ct, d as ht, i as O, f as P, X as yt, s as ae, w as bt, U as ft, G as pt, x as gt, y as mt, q as xt, r as $t } from "./index-
|
|
2
|
+
import { u as rt, c as Re, t as nt, a as it, p as de, o as vt, e as H, b as dt, T as ct, d as ht, i as O, f as P, X as yt, s as ae, w as bt, U as ft, G as pt, x as gt, y as mt, q as xt, r as $t } from "./index-3_ulDZ6w.js";
|
|
3
3
|
import { t as kt, u as Lt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as wt } from "./Title-
|
|
5
|
-
import { u as qt, U as _t } from "./usePrinter-
|
|
6
|
-
import { _ as St } from "./Tooltip-
|
|
7
|
-
import { _ as He } from "./Shape-
|
|
8
|
-
import { L as Ct } from "./Legend-
|
|
9
|
-
import { D as zt } from "./DataTable-
|
|
10
|
-
import Tt from "./vue-ui-skeleton-
|
|
11
|
-
import Xt from "./vue-ui-accordion-
|
|
12
|
-
import { u as Ie } from "./useNestedProp-
|
|
13
|
-
import { _ as Wt } from "./PackageVersion-
|
|
14
|
-
import { P as Yt } from "./PenAndPaper-
|
|
4
|
+
import { _ as wt } from "./Title-L52l_KMR.js";
|
|
5
|
+
import { u as qt, U as _t } from "./usePrinter-NdwnpHUu.js";
|
|
6
|
+
import { _ as St } from "./Tooltip-FYp9ljnj.js";
|
|
7
|
+
import { _ as He } from "./Shape-CfcWXI5g.js";
|
|
8
|
+
import { L as Ct } from "./Legend-kF7sC1KK.js";
|
|
9
|
+
import { D as zt } from "./DataTable-CNH8bChE.js";
|
|
10
|
+
import Tt from "./vue-ui-skeleton-uAX1ZH1F.js";
|
|
11
|
+
import Xt from "./vue-ui-accordion-DXlXtAML.js";
|
|
12
|
+
import { u as Ie } from "./useNestedProp-Bs6ltq3I.js";
|
|
13
|
+
import { _ as Wt } from "./PackageVersion-m6HC0skh.js";
|
|
14
|
+
import { P as Yt } from "./PenAndPaper-FOhKSug_.js";
|
|
15
15
|
import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "height"], Vt = ["id"], Bt = ["stop-color"], Ft = ["stop-color"], Rt = { key: 1 }, Ht = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], It = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Dt = { key: 2 }, Et = ["points", "fill"], Gt = ["points", "fill"], Qt = ["points", "fill"], Jt = ["points", "fill"], jt = { key: 3 }, Zt = ["y", "fill", "font-size"], Kt = ["x", "y", "fill", "font-size"], el = ["x", "y", "fill", "font-size"], tl = ["y", "fill", "font-size"], ll = { key: 4 }, al = ["x", "y", "font-size", "fill"], ul = ["x", "y", "font-size", "fill"], ol = ["x", "y", "font-size", "fill"], sl = ["id", "font-size", "transform", "fill"], rl = ["id", "font-size", "transform", "fill"], nl = ["id", "font-size", "transform", "fill"], il = { key: 5 }, vl = ["fill", "points"], dl = ["x", "y", "width", "height"], cl = ["x", "y", "width", "height"], hl = ["x", "y", "width", "height"], yl = ["x", "y", "width", "height"], bl = {
|