@topdatasec/report 1.0.7 → 1.0.8
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/index.iife.js +1 -1
- package/dist/index.js +790 -245
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/es/_virtual/_plugin-vue_export-helper.js +9 -0
- package/es/bar/Bar.vue.js +6 -8
- package/es/components.d.ts +2 -0
- package/es/components.js +6 -2
- package/es/config/Config.css +1 -0
- package/es/config/Config.d.ts +2 -0
- package/es/config/Config.vue.js +7 -0
- package/es/config/Config.vue2.js +207 -0
- package/es/config/index.d.ts +14 -0
- package/es/config/index.js +6 -0
- package/es/index.js +26 -22
- package/es/line/Line.d.ts +5 -0
- package/es/line/Line.vue.js +20 -0
- package/es/line/Line.vue2.js +4 -0
- package/es/line/index.d.ts +15 -0
- package/es/line/index.js +6 -0
- package/es/pie/Pie.d.ts +5 -0
- package/es/pie/index.d.ts +15 -0
- package/es/report/Report.d.ts +7 -0
- package/es/report/index.d.ts +17 -0
- package/es/select/Select.d.ts +9 -0
- package/es/select/index.d.ts +25 -0
- package/es/settingCharts/SettingCharts.d.ts +5 -0
- package/es/settingCharts/index.d.ts +14 -0
- package/es/settingFilter/index.d.ts +15 -0
- package/es/settingFilter/settingFilter.d.ts +5 -0
- package/es/settingTable/SettingTable.d.ts +2 -0
- package/es/settingTable/index.d.ts +14 -0
- package/es/settingText/index.d.ts +15 -0
- package/es/settingText/settingText.d.ts +5 -0
- package/es/settingTitle/index.d.ts +14 -0
- package/es/settingTitle/settingTitle.d.ts +2 -0
- package/es/stores/interface/index.d.ts +18 -0
- package/es/stores/modules/report.d.ts +35 -0
- package/es/stores/modules/report.js +45 -0
- package/es/table/Table.d.ts +5 -0
- package/es/table/index.d.ts +15 -0
- package/es/text/Text.d.ts +5 -0
- package/es/text/index.d.ts +15 -0
- package/es/time/Time.d.ts +9 -0
- package/es/time/index.d.ts +25 -0
- package/es/utils/api.d.ts +12 -0
- package/es/utils/api.js +9 -0
- package/es/utils/chartsOption.d.ts +298 -0
- package/es/utils/chartsOption.js +187 -0
- package/es/utils/data.d.ts +4 -0
- package/es/utils/data.js +101 -0
- package/es/utils/index.d.ts +2 -0
- package/es/utils/index.js +82 -79
- package/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/lib/bar/Bar.vue.cjs +1 -1
- package/lib/components.cjs +1 -1
- package/lib/components.d.ts +2 -0
- package/lib/config/Config.css +1 -0
- package/lib/config/Config.d.ts +2 -0
- package/lib/config/Config.vue.cjs +1 -0
- package/lib/config/Config.vue2.cjs +1 -0
- package/lib/config/index.cjs +1 -0
- package/lib/config/index.d.ts +14 -0
- package/lib/index.cjs +1 -1
- package/lib/line/Line.d.ts +5 -0
- package/lib/line/Line.vue.cjs +1 -0
- package/lib/line/Line.vue2.cjs +1 -0
- package/lib/line/index.cjs +1 -0
- package/lib/line/index.d.ts +15 -0
- package/lib/pie/Pie.d.ts +5 -0
- package/lib/pie/index.d.ts +15 -0
- package/lib/report/Report.d.ts +7 -0
- package/lib/report/index.d.ts +17 -0
- package/lib/select/Select.d.ts +9 -0
- package/lib/select/index.d.ts +25 -0
- package/lib/settingCharts/SettingCharts.d.ts +5 -0
- package/lib/settingCharts/index.d.ts +14 -0
- package/lib/settingFilter/index.d.ts +15 -0
- package/lib/settingFilter/settingFilter.d.ts +5 -0
- package/lib/settingTable/SettingTable.d.ts +2 -0
- package/lib/settingTable/index.d.ts +14 -0
- package/lib/settingText/index.d.ts +15 -0
- package/lib/settingText/settingText.d.ts +5 -0
- package/lib/settingTitle/index.d.ts +14 -0
- package/lib/settingTitle/settingTitle.d.ts +2 -0
- package/lib/stores/interface/index.d.ts +18 -0
- package/lib/stores/modules/report.cjs +1 -0
- package/lib/stores/modules/report.d.ts +35 -0
- package/lib/table/Table.d.ts +5 -0
- package/lib/table/index.d.ts +15 -0
- package/lib/text/Text.d.ts +5 -0
- package/lib/text/index.d.ts +15 -0
- package/lib/time/Time.d.ts +9 -0
- package/lib/time/index.d.ts +25 -0
- package/lib/utils/api.cjs +1 -0
- package/lib/utils/api.d.ts +12 -0
- package/lib/utils/chartsOption.cjs +1 -0
- package/lib/utils/chartsOption.d.ts +298 -0
- package/lib/utils/data.cjs +1 -0
- package/lib/utils/data.d.ts +4 -0
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.d.ts +2 -0
- package/package.json +9 -4
package/dist/index.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(i,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],r):(i=typeof globalThis<"u"?globalThis:i||self,r(i.TdsReportUI=i.TdsReportUI||{},i.Vue))})(this,function(i,r){"use strict";const O={class:"chart-components"},y=(e=>{const t=e;return t.install=function(n){n.component(t.name,e)},e})(r.defineComponent({name:"TdsReportBar",__name:"Bar",props:{data:{}},setup(e){const t=e;console.log(t.data,444444444);const n=r.computed(()=>t.data.options);return(o,s)=>{const c=r.resolveComponent("TdsChart");return r.openBlock(),r.createElementBlock("div",O,[r.createVNode(c,{option:n.value},null,8,["option"])])}}})),B=Object.freeze(Object.defineProperty({__proto__:null,TdsReportBar:y},Symbol.toStringTag,{value:"Module"}));function U(e=Date.now(),t="YYYY-MM-DD HH:mm:ss"){try{let n;if(typeof e=="number"||typeof e=="string"){if(n=new Date(e),isNaN(n.getTime()))throw new Error("Invalid date")}else n=e;const o=(c,a=2)=>String(c).padStart(a,"0"),s=c=>{switch(c){case"YYYY":return o(n.getFullYear());case"YY":return o(n.getFullYear()).slice(2,4);case"MM":return o(n.getMonth()+1);case"M":return String(n.getMonth()+1);case"DD":return o(n.getDate());case"D":return String(n.getDate());case"HH":return o(n.getHours());case"H":return String(n.getHours());case"mm":return o(n.getMinutes());case"m":return String(n.getMinutes());case"ss":return o(n.getSeconds());case"s":return String(n.getSeconds());case"SSS":return o(n.getMilliseconds(),3);default:return c}};return t.replace(/(YYYY|YY|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS)/g,s)}catch(n){return console.error("Error formatting date:",n),""}}function V(e,t=2,n=",",o=".",s,c){typeof e!="number"&&typeof e!="string"&&console.warn("Expected value to be of type number or string"),typeof t!="number"&&console.warn("Expected precision to be of type number");const a=Number(e);if(isNaN(a)||!isFinite(a))return"";if(a===0)return a.toFixed(t);let u=a.toFixed(t);if(typeof n=="string"&&n!==""){const[f,m]=u.split(".");u=f.replace(/(\d)(?=(\d{3})+$)/g,"$1"+n)+(m?o+m:"")}return(s||"")+u+(c||"")}function k(e,t=0,n=!1){let o=null;function s(a){if(o||(o=a),a-o>=t){try{e()}catch(f){console.error("Error executing rafTimeout function:",f)}n&&(o=a,c.id=requestAnimationFrame(s))}else c.id=requestAnimationFrame(s)}const c={id:requestAnimationFrame(s)};return c}function H(e){e&&e.id&&typeof e.id=="number"?cancelAnimationFrame(e.id):console.warn("cancelRaf received an invalid id:",e)}function M(e,t=300){let n=!0;return function(...o){return n&&(e(...o),n=!1,setTimeout(()=>{n=!0},t)),!1}}function T(e,t=300){let n=null;return function(...o){n&&clearTimeout(n),n=setTimeout(()=>{e(...o)},t)}}function I(e,t){if(Number.isNaN(e)||Number.isNaN(t))throw new Error("Both num1 and num2 must be valid numbers.");const n=e%1!==0,o=t%1!==0;if(!n&&!o)return e+t;const s=String(e).split(".")[1]??"",c=String(t).split(".")[1]??"",a=Math.max(s.length,c.length),u=Math.pow(10,a),f=e.toFixed(a),m=t.toFixed(a);return(+f.replace(".","")+ +m.replace(".",""))/u}function j(e,t){if(!e){console.error("无效的 url");return}const n=t||e.split("?")[0].split("/").pop()||"download";try{fetch(e).then(o=>{o.ok?o.blob().then(s=>{const c=URL.createObjectURL(s),a=document.createElement("a");a.href=c,a.download=n,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(c)}):console.error("请求文件失败,状态码:",o.status)})}catch(o){console.error("文件下载失败:",o)}}function N(){const e=document.documentElement;e.classList.toggle("dark"),e.classList.contains("dark")?e.style.colorScheme="dark":e.style.colorScheme="light"}function z(){const e=r.ref(!1),t=r.getCurrentInstance();return t&&r.onMounted(()=>{e.value=!0},t),e}function R(e){const t=z();return r.computed(()=>(t.value,!!e()))}function $(e,t,n){r.onMounted(()=>e.addEventListener(t,n)),r.onUnmounted(()=>e.removeEventListener(t,n))}function q(e,t,n={}){const o=R(()=>window&&"MutationObserver"in window),s=r.ref(!1);let c;const a=r.computed(()=>{const d=r.toValue(e);return d?Array.isArray(d)?d.map(p=>r.toValue(p)).filter(p=>p):[d]:[]}),u=()=>{c&&(c.disconnect(),c=void 0)},f=()=>{o.value&&a.value.length&&!s.value&&(c=new MutationObserver(t),a.value.forEach(d=>c.observe(d,n)))};r.watch(()=>a.value,()=>{u(),f()},{immediate:!0,flush:"post"});const m=()=>{s.value=!0,u()},h=()=>{s.value=!1,f()};return r.onBeforeUnmount(()=>u()),{stop:m,start:h}}function x(e=window,t=0,n,o){const s=r.ref(0),c=r.ref(0),a=r.ref(0),u=r.ref(0),f=r.ref(!1),m=r.ref(!1),h=r.ref(!1),d=r.ref(!1),p=r.ref(!1),E=r.ref(0),S=r.ref(0);function Q(l){f.value=!0;const g=l.target.documentElement??l.target;s.value=g.scrollLeft,a.value=g.scrollTop,m.value=s.value<E.value,h.value=s.value>E.value,d.value=a.value<S.value,p.value=a.value>S.value,E.value=s.value,S.value=a.value,w(l),n&&n(l)}const _=M(Q,t);function X(l){f.value&&(f.value=!1,m.value=!1,h.value=!1,d.value=!1,p.value=!1,o&&o(l))}const w=T(X,t+200),A=r.computed(()=>{const l=r.toValue(e);return l||null});r.watch(()=>A.value,(l,g)=>{var b;if(g&&D(g),l){const v=((b=l==null?void 0:l.document)==null?void 0:b.documentElement)||(l==null?void 0:l.documentElement)||l;c.value=v.scrollWidth-v.clientWidth,u.value=v.scrollHeight-v.clientHeight,v.addEventListener("scroll",_),v.addEventListener("scrollend",w)}},{immediate:!0,flush:"post"});function D(l){var b;const g=((b=l==null?void 0:l.document)==null?void 0:b.documentElement)||(l==null?void 0:l.documentElement)||l;g.removeEventListener("scroll",_),g.removeEventListener("scrollend",w)}return r.onBeforeUnmount(()=>D(A.value)),{x:s,xScrollMax:c,y:a,yScrollMax:u,isScrolling:f,left:m,right:h,top:d,bottom:p}}function C(){const e=r.ref(0),t=r.ref(0);let n=performance.now();const o=10,s=c=>{if(t.value++,t.value>=o){const a=c-n;e.value=Math.round(1e3/(a/o)),n=c,t.value=0}requestAnimationFrame(s)};return requestAnimationFrame(s),{fps:e}}function P(e){if(!e||typeof e!="string"||e.trim()==="")throw new Error("Invalid mediaQuery parameter. It must be a non-empty string.");const t=r.ref(window&&window.matchMedia(e).matches),n=window.matchMedia(e),o=s=>{t.value=s.matches};return r.onMounted(()=>{n.addEventListener("change",o)}),r.onBeforeUnmount(()=>{n.removeEventListener("change",o)}),{match:t}}function W(e,t,n={}){const o=R(()=>window&&"ResizeObserver"in window);let s;const c=r.ref(!1),a=r.computed(()=>{const d=r.toValue(e);return d?Array.isArray(d)?d.map(p=>r.toValue(p)).filter(p=>p):[d]:[]}),u=()=>{s&&(s.disconnect(),s=void 0)},f=()=>{o.value&&a.value.length&&!c.value&&(s=new ResizeObserver(t),a.value.forEach(d=>s.observe(d,n)))};r.watch(()=>a.value,()=>{u(),f()},{immediate:!0,flush:"post"});const m=()=>{c.value=!0,u()},h=()=>{c.value=!1,f()};return r.onBeforeUnmount(()=>u()),{stop:m,start:h}}function Z(e="default"){const t=r.useSlots(),n=o=>{var a;const s=(a=t[o])==null?void 0:a.call(t),c=u=>{if(u.type===r.Comment||Array.isArray(u.children)&&!u.children.length)return!1;if(u.type!==r.Text)return!0;if(typeof u.children=="string")return u.children.trim()!==""};return s&&(s!=null&&s.length)?s.some(f=>c(f)):!1};if(Array.isArray(e)){const o=r.reactive({});return e.forEach(s=>{const c=r.computed(()=>n(s));o[s]=c}),o}else return r.computed(()=>n(e))}const F={TdsReportBar:"TdsReportBar"},L={BackTop:["Tooltip"]};function G(e,t){if(["NumberAnimation","Watermark"].includes(e))return[];const n=[e];e in L&&n.push(...L[e]);const o=t!=null&&t.cjs?"lib":"es",s=[`@topdatasec/report/${o}/style/global.css`];return n.forEach(c=>{s.push(`@topdatasec/report/${o}/${F[c]}/${c}.css`)}),s}function J(e){return{type:"component",resolve:t=>{if(t in F)return{name:t,from:"@topdatasec/report",sideEffects:G(t,e)}}}}const Y=function(e){return Object.values(B).forEach(t=>{t&&t.install&&e.use(t)}),e},K={install:Y};i.TdsReportBar=y,i.VueAmazingUIResolver=J,i.add=I,i.cancelRaf=H,i.dateFormat=U,i.debounce=T,i.default=K,i.downloadFile=j,i.formatNumber=V,i.install=Y,i.rafTimeout=k,i.throttle=M,i.toggleDark=N,i.useEventListener=$,i.useFps=C,i.useMediaQuery=P,i.useMutationObserver=q,i.useResizeObserver=W,i.useScroll=x,i.useSlotsExist=Z,Object.defineProperties(i,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1
|
+
(function(u,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("pinia"),require("echarts")):typeof define=="function"&&define.amd?define(["exports","vue","pinia","echarts"],e):(u=typeof globalThis<"u"?globalThis:u||self,e(u.TdsReportUI=u.TdsReportUI||{},u.Vue,u.pinia))})(this,function(u,e,H){"use strict";const W={class:"chart-components"},q=e.defineComponent({name:"TdsReportBar",__name:"Bar",props:{data:{}},setup(o){const n=o,t=e.computed(()=>n.data.options);return(r,a)=>{const s=e.resolveComponent("TdsChart");return e.openBlock(),e.createElementBlock("div",W,[e.createVNode(s,{option:t.value},null,8,["option"])])}}}),k=o=>{const n=o;return n.install=function(t){t.component(n.name,o)},o},R=k(q),M=window.$envURL,j=o=>M.request({url:`${M}/tds/report/demo/get`,method:"get",params:o,isError:!1});function P(o=Date.now(),n="YYYY-MM-DD HH:mm:ss"){try{let t;if(typeof o=="number"||typeof o=="string"){if(t=new Date(o),isNaN(t.getTime()))throw new Error("Invalid date")}else t=o;const r=(s,i=2)=>String(s).padStart(i,"0"),a=s=>{switch(s){case"YYYY":return r(t.getFullYear());case"YY":return r(t.getFullYear()).slice(2,4);case"MM":return r(t.getMonth()+1);case"M":return String(t.getMonth()+1);case"DD":return r(t.getDate());case"D":return String(t.getDate());case"HH":return r(t.getHours());case"H":return String(t.getHours());case"mm":return r(t.getMinutes());case"m":return String(t.getMinutes());case"ss":return r(t.getSeconds());case"s":return String(t.getSeconds());case"SSS":return r(t.getMilliseconds(),3);default:return s}};return n.replace(/(YYYY|YY|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS)/g,a)}catch(t){return console.error("Error formatting date:",t),""}}function G(o,n=2,t=",",r=".",a,s){typeof o!="number"&&typeof o!="string"&&console.warn("Expected value to be of type number or string"),typeof n!="number"&&console.warn("Expected precision to be of type number");const i=Number(o);if(isNaN(i)||!isFinite(i))return"";if(i===0)return i.toFixed(n);let d=i.toFixed(n);if(typeof t=="string"&&t!==""){const[c,l]=d.split(".");d=c.replace(/(\d)(?=(\d{3})+$)/g,"$1"+t)+(l?r+l:"")}return(a||"")+d+(s||"")}function J(o,n=0,t=!1){let r=null;function a(i){if(r||(r=i),i-r>=n){try{o()}catch(c){console.error("Error executing rafTimeout function:",c)}t&&(r=i,s.id=requestAnimationFrame(a))}else s.id=requestAnimationFrame(a)}const s={id:requestAnimationFrame(a)};return s}function Z(o){o&&o.id&&typeof o.id=="number"?cancelAnimationFrame(o.id):console.warn("cancelRaf received an invalid id:",o)}function B(o,n=300){let t=!0;return function(...r){return t&&(o(...r),t=!1,setTimeout(()=>{t=!0},n)),!1}}function D(o,n=300){let t=null;return function(...r){t&&clearTimeout(t),t=setTimeout(()=>{o(...r)},n)}}function K(o,n){if(Number.isNaN(o)||Number.isNaN(n))throw new Error("Both num1 and num2 must be valid numbers.");const t=o%1!==0,r=n%1!==0;if(!t&&!r)return o+n;const a=String(o).split(".")[1]??"",s=String(n).split(".")[1]??"",i=Math.max(a.length,s.length),d=Math.pow(10,i),c=o.toFixed(i),l=n.toFixed(i);return(+c.replace(".","")+ +l.replace(".",""))/d}function Q(o,n){if(!o){console.error("无效的 url");return}const t=n||o.split("?")[0].split("/").pop()||"download";try{fetch(o).then(r=>{r.ok?r.blob().then(a=>{const s=URL.createObjectURL(a),i=document.createElement("a");i.href=s,i.download=t,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(s)}):console.error("请求文件失败,状态码:",r.status)})}catch(r){console.error("文件下载失败:",r)}}function X(){const o=document.documentElement;o.classList.toggle("dark"),o.classList.contains("dark")?o.style.colorScheme="dark":o.style.colorScheme="light"}function ee(){const o=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{o.value=!0},n),o}function U(o){const n=ee();return e.computed(()=>(n.value,!!o()))}function te(o,n,t){e.onMounted(()=>o.addEventListener(n,t)),e.onUnmounted(()=>o.removeEventListener(n,t))}function oe(o,n,t={}){const r=U(()=>window&&"MutationObserver"in window),a=e.ref(!1);let s;const i=e.computed(()=>{const f=e.toValue(o);return f?Array.isArray(f)?f.map(g=>e.toValue(g)).filter(g=>g):[f]:[]}),d=()=>{s&&(s.disconnect(),s=void 0)},c=()=>{r.value&&i.value.length&&!a.value&&(s=new MutationObserver(n),i.value.forEach(f=>s.observe(f,t)))};e.watch(()=>i.value,()=>{d(),c()},{immediate:!0,flush:"post"});const l=()=>{a.value=!0,d()},h=()=>{a.value=!1,c()};return e.onBeforeUnmount(()=>d()),{stop:l,start:h}}function ne(o=window,n=0,t,r){const a=e.ref(0),s=e.ref(0),i=e.ref(0),d=e.ref(0),c=e.ref(!1),l=e.ref(!1),h=e.ref(!1),f=e.ref(!1),g=e.ref(!1),b=e.ref(0),w=e.ref(0);function E(p){c.value=!0;const y=p.target.documentElement??p.target;a.value=y.scrollLeft,i.value=y.scrollTop,l.value=a.value<b.value,h.value=a.value>b.value,f.value=i.value<w.value,g.value=i.value>w.value,b.value=a.value,w.value=i.value,T(p),t&&t(p)}const _=B(E,n);function N(p){c.value&&(c.value=!1,l.value=!1,h.value=!1,f.value=!1,g.value=!1,r&&r(p))}const T=D(N,n+200),m=e.computed(()=>{const p=e.toValue(o);return p||null});e.watch(()=>m.value,(p,y)=>{var L;if(y&&C(y),p){const x=((L=p==null?void 0:p.document)==null?void 0:L.documentElement)||(p==null?void 0:p.documentElement)||p;s.value=x.scrollWidth-x.clientWidth,d.value=x.scrollHeight-x.clientHeight,x.addEventListener("scroll",_),x.addEventListener("scrollend",T)}},{immediate:!0,flush:"post"});function C(p){var L;const y=((L=p==null?void 0:p.document)==null?void 0:L.documentElement)||(p==null?void 0:p.documentElement)||p;y.removeEventListener("scroll",_),y.removeEventListener("scrollend",T)}return e.onBeforeUnmount(()=>C(m.value)),{x:a,xScrollMax:s,y:i,yScrollMax:d,isScrolling:c,left:l,right:h,top:f,bottom:g}}function re(){const o=e.ref(0),n=e.ref(0);let t=performance.now();const r=10,a=s=>{if(n.value++,n.value>=r){const i=s-t;o.value=Math.round(1e3/(i/r)),t=s,n.value=0}requestAnimationFrame(a)};return requestAnimationFrame(a),{fps:o}}function ae(o){if(!o||typeof o!="string"||o.trim()==="")throw new Error("Invalid mediaQuery parameter. It must be a non-empty string.");const n=e.ref(window&&window.matchMedia(o).matches),t=window.matchMedia(o),r=a=>{n.value=a.matches};return e.onMounted(()=>{t.addEventListener("change",r)}),e.onBeforeUnmount(()=>{t.removeEventListener("change",r)}),{match:n}}function le(o,n,t={}){const r=U(()=>window&&"ResizeObserver"in window);let a;const s=e.ref(!1),i=e.computed(()=>{const f=e.toValue(o);return f?Array.isArray(f)?f.map(g=>e.toValue(g)).filter(g=>g):[f]:[]}),d=()=>{a&&(a.disconnect(),a=void 0)},c=()=>{r.value&&i.value.length&&!s.value&&(a=new ResizeObserver(n),i.value.forEach(f=>a.observe(f,t)))};e.watch(()=>i.value,()=>{d(),c()},{immediate:!0,flush:"post"});const l=()=>{s.value=!0,d()},h=()=>{s.value=!1,c()};return e.onBeforeUnmount(()=>d()),{stop:l,start:h}}function se(o="default"){const n=e.useSlots(),t=r=>{var i;const a=(i=n[r])==null?void 0:i.call(n),s=d=>{if(d.type===e.Comment||Array.isArray(d.children)&&!d.children.length)return!1;if(d.type!==e.Text)return!0;if(typeof d.children=="string")return d.children.trim()!==""};return a&&(a!=null&&a.length)?a.some(c=>s(c)):!1};if(Array.isArray(o)){const r=e.reactive({});return o.forEach(a=>{const s=e.computed(()=>t(a));r[a]=s}),r}else return e.computed(()=>t(o))}const V=()=>new Date().getTime().toString(36)+"-"+Math.random().toString(36).substring(2,9),ie=o=>JSON.parse(JSON.stringify(o)),ce="rgba(51, 51, 51, 0.15)",v="rgba(51, 51, 51, 1)",de=12,ue=(o=!1)=>{const n={left:"3%",right:"3%",bottom:"2%",containLabel:!0};return o&&(n.top="5%"),n},S=["46, 145, 255","48, 212, 183","108, 108, 255","109, 237, 124","128, 218, 236","58, 200, 218","146, 218, 89","118, 218, 218","143, 192, 244","192, 192, 145","153, 136, 204","212, 217, 230","124, 186, 255","209, 182, 225","255, 197, 84","249, 140, 106","246, 179, 82","100, 161, 206","246, 175, 159","238, 97, 97"],pe=(o=[{name:"数据1",value:63},{name:"数据2",value:45},{name:"数据3",value:43}],n={name:"name",value:"value"})=>{const t=(a="rgba(46, 145, 255, 0.7)",s="rgba(46, 145, 255, 0.2)")=>({color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:a},{offset:.8,color:s}]}}),r=o.map(a=>a[n.value]);return{tooltip:{trigger:"item"},grid:ue(),title:{show:!0,text:"样例数据",textStyle:{color:"#333",fontSize:18},x:10,y:10},xAxis:[{type:"category",nameGap:8,nameRotate:0,axisLabel:{color:v,rotate:0},axisLine:{show:!0,lineStyle:{color:ce,width:1}},axisTick:{show:!1},splitLine:{show:!1},data:o.map(a=>a[n.name])}],yAxis:[{type:"value",min:0,position:"left",nameTextStyle:{fontSize:de,color:v,fontWeight:"bold"},axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:v,formatter:"{value}",inside:!1}}],series:[{type:"bar",barWidth:15,barGap:"0%",itemStyle:t(`rgba(${S[0]}, 0.7)`,`rgba(${S[0]}, 0.2)`),data:r,label:{show:!0,position:"top",color:"inherit",lineHeight:24}},{name:"",type:"pictorialBar",symbolSize:[15,10],symbolOffset:[0,5],itemStyle:t(`rgba(${S[0]}, 0.7)`,`rgba(${S[0]}, 0.2)`),data:r},{name:"",type:"pictorialBar",symbolSize:[15,10],symbolOffset:[0,-5],symbolPosition:"end",itemStyle:t(`rgba(${S[0]}, 0.9)`,`rgba(${S[0]}, 1)`),data:r}]}},A=[{key:"assets",name:"资产名称"},{key:"type",name:"资产类型"},{key:"data",name:"资产数据"}],$=[{assets:"name1",type:"type1",data:"data1"},{assets:"name2",type:"type2",data:"data2"},{assets:"name3",type:"type3",data:"data3"}],me=[{data:[{name:"默认数据",value:180}],label:"name1"},{data:[{name:"默认数据",value:311}],label:"name2"},{data:[{name:"默认数据",value:42}],label:"name3"},{data:[{name:"默认数据",value:32391}],label:"name4"}],fe=[{type:"report-select",label:"资产:",value:"0",data:[{label:"全部",data:"0"},{label:"10.10.2.20_root",data:"743dbb32-8a41-4990-9d76-48925b000a93"},{label:"10.10.4.206_sysdba",data:"23193788-c895-47a8-8123-65799540394c"},{label:"10.10.4.26_root@/root/files/",data:"bb7b07c9-b96b-4caf-ac76-bb45ae849844"}],uri:"/da/report/sens/get_asset_all",id:V()},{type:"range-time",data:[{start_time:"2024-08-20 19:49:34",end_time:"2024-09-12 19:49:34"}],id:V()},{type:"h1",data:"报表名称",options:{size:24,color:"rgba(0,0,0,0.85)",fontWeight:500,letterSpacing:0,textIndent:0,textAlign:"left"},id:V()},{type:"h2",data:"一级标题",name:"一级标题",options:{size:18,color:" rgba(0, 0, 0, 0.85)",fontWeight:500,letterSpacing:0,textIndent:0,textAlign:"left"},id:V()},{type:"report-table",data:$,showColumn:A,name:"表格",options:{showColumn:{assets:!0,type:!0,data:!0},border:!0,showHeader:!0,stripe:!1},rp_item_uuid:"",id:V()}];pe();const ge=H.defineStore("tds-report",{state:()=>({componentList:[],activeComponents:{},notDraggableList:[],titleComponent:{},filterForm:{range_time:1,filter_uuid:""}}),getters:{getActiveComponents:o=>o.activeComponents},actions:{setComponentList(o){this.componentList=o},async getReportDemo(o){let n=[];o?n=(await j({report_uuid:o})).data:n={content:ie(fe),range_time:1};const t=[];n.content.forEach(r=>{(r.type==="report-select"||r.type==="range-time")&&t.push(r),r.type==="h1"&&(this.titleComponent=r),r.id=V()}),this.notDraggableList=t,this.filterForm.range_time=n.range_time,this.filterForm.filter_uuid=n.filter_uuid,n.content.splice(0,3),this.componentList=n.content},setActiveComponents(o){this.activeComponents=o},clearComponents(){this.activeComponents={},this.componentList=[],this.notDraggableList=[],this.titleComponent={},this.filterForm={range_time:1,filter_uuid:""}}}}),be={key:0},he={class:"sub-title"},F=k(((o,n)=>{const t=o.__vccOpts||o;for(const[r,a]of n)t[r]=a;return t})(e.defineComponent({name:"TdsReportConfig",__name:"Config",setup(o){const n=ge(),t=e.computed(()=>n.activeComponents);function r(c){c?(t.value.options.series[0].radius=["10%","65%"],t.value.options.graphic[0].invisible=!0,t.value.options.graphic[1].invisible=!0):(t.value.options.series[0].radius=["45%","70%"],t.value.options.graphic[0].invisible=!1,t.value.options.graphic[1].invisible=!1)}const a=e.ref("rgb(46, 145, 255)"),s=(c="rgba(46, 145, 255, 0.7)",l="rgba(46, 145, 255, 0.2)")=>({color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:c},{offset:.8,color:l}]}});function i(c){c&&(n.activeComponents.options.series[0].itemStyle=s(d(c,.7),d(c,.2)),n.activeComponents.options.series[1].itemStyle=s(d(c,.7),d(c,.2)),n.activeComponents.options.series[2].itemStyle=s(d(c,.9),d(c,1)))}function d(c,l=1){c=c.replace(/^#/,"");const h=parseInt(c.substring(0,2),16),f=parseInt(c.substring(2,4),16),g=parseInt(c.substring(4,6),16);return`rgba(${h}, ${f}, ${g}, ${l})`}return(c,l)=>{const h=e.resolveComponent("el-input"),f=e.resolveComponent("el-form-item"),g=e.resolveComponent("el-switch"),b=e.resolveComponent("el-col"),w=e.resolveComponent("el-color-picker"),E=e.resolveComponent("el-input-number"),_=e.resolveComponent("el-row"),N=e.resolveComponent("el-collapse-item"),T=e.resolveComponent("el-collapse");return t.value.options.title?(e.openBlock(),e.createElementBlock("div",be,[e.createVNode(f,{label:"标题"},{default:e.withCtx(()=>[e.createVNode(h,{modelValue:t.value.options.title.text,"onUpdate:modelValue":l[0]||(l[0]=m=>t.value.options.title.text=m)},null,8,["modelValue"])]),_:1}),e.createVNode(T,null,{default:e.withCtx(()=>[e.createVNode(N,{title:"标题配置",name:"1"},{default:e.withCtx(()=>[e.createVNode(_,{class:"w-100%"},{default:e.withCtx(()=>[e.createVNode(b,{span:24},{default:e.withCtx(()=>[l[9]||(l[9]=e.createElementVNode("span",{class:"switch-label"},"显示标题",-1)),e.createVNode(g,{modelValue:t.value.options.title.show,"onUpdate:modelValue":l[1]||(l[1]=m=>t.value.options.title.show=m)},null,8,["modelValue"])]),_:1}),e.createVNode(b,{span:12},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:t.value.options.title.textStyle.color,"onUpdate:modelValue":l[2]||(l[2]=m=>t.value.options.title.textStyle.color=m),"show-alpha":""},null,8,["modelValue"]),l[10]||(l[10]=e.createElementVNode("p",{class:"sub-title"},"颜色",-1))]),_:1}),e.createVNode(b,{span:12},{default:e.withCtx(()=>[e.createVNode(E,{modelValue:t.value.options.title.textStyle.fontSize,"onUpdate:modelValue":l[3]||(l[3]=m=>t.value.options.title.textStyle.fontSize=m),"controls-position":"right"},null,8,["modelValue"]),l[11]||(l[11]=e.createElementVNode("p",{class:"sub-title"},"字体大小",-1))]),_:1}),e.createVNode(b,{span:12},{default:e.withCtx(()=>[e.createVNode(E,{modelValue:t.value.options.title.x,"onUpdate:modelValue":l[4]||(l[4]=m=>t.value.options.title.x=m),"controls-position":"right"},null,8,["modelValue"]),l[12]||(l[12]=e.createElementVNode("p",{class:"sub-title"},"横向",-1))]),_:1}),e.createVNode(b,{span:12},{default:e.withCtx(()=>[e.createVNode(E,{modelValue:t.value.options.title.y,"onUpdate:modelValue":l[5]||(l[5]=m=>t.value.options.title.y=m),"controls-position":"right"},null,8,["modelValue"]),l[13]||(l[13]=e.createElementVNode("p",{class:"sub-title"},"纵向",-1))]),_:1})]),_:1})]),_:1}),e.createVNode(N,{title:"图形配置",name:"2"},{default:e.withCtx(()=>[t.value.options.color&&t.value.options.color.length&&t.value.type==="pie"?(e.openBlock(),e.createBlock(_,{key:0},{default:e.withCtx(()=>[e.createVNode(b,{span:24},{default:e.withCtx(()=>[l[14]||(l[14]=e.createElementVNode("span",{class:"switch-label"},"玫瑰图",-1)),e.createVNode(g,{onChange:r,modelValue:t.value.options.series[0].roseType,"onUpdate:modelValue":l[6]||(l[6]=m=>t.value.options.series[0].roseType=m)},null,8,["modelValue"])]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.data,(m,C)=>(e.openBlock(),e.createBlock(b,{span:12,class:"mb-10px",key:C},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:t.value.options.color[C],"onUpdate:modelValue":p=>t.value.options.color[C]=p,"show-alpha":""},null,8,["modelValue","onUpdate:modelValue"]),e.createElementVNode("p",he,e.toDisplayString(m.label),1)]),_:2},1024))),128))]),_:1})):e.createCommentVNode("",!0),t.value.type==="bar"?(e.openBlock(),e.createBlock(_,{key:1},{default:e.withCtx(()=>[e.createVNode(b,{span:12},{default:e.withCtx(()=>[e.createVNode(w,{modelValue:a.value,"onUpdate:modelValue":l[7]||(l[7]=m=>a.value=m),onChange:i},null,8,["modelValue"]),l[15]||(l[15]=e.createElementVNode("p",{class:"sub-title"},"柱颜色",-1))]),_:1})]),_:1})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(N,{title:"图例配置",name:"3"},{default:e.withCtx(()=>[e.createVNode(_,null,{default:e.withCtx(()=>[e.createVNode(b,{span:24},{default:e.withCtx(()=>[l[16]||(l[16]=e.createElementVNode("span",{class:"switch-label"},"显示图例",-1)),t.value.options.legend?(e.openBlock(),e.createBlock(g,{key:0,modelValue:t.value.options.legend.show,"onUpdate:modelValue":l[8]||(l[8]=m=>t.value.options.legend.show=m)},null,8,["modelValue"])):e.createCommentVNode("",!0)]),_:1})]),_:1})]),_:1})]),_:1})])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-9d35239c"]])),ye={class:"chart-components"},O=k(e.defineComponent({name:"TdsReportLine",__name:"Line",props:{data:{}},setup(o){const n=o,t=e.computed(()=>n.data.options);return(r,a)=>{const s=e.resolveComponent("TdsChart");return e.openBlock(),e.createElementBlock("div",ye,[e.createVNode(s,{option:t.value},null,8,["option"])])}}})),we=Object.freeze(Object.defineProperty({__proto__:null,TdsReportBar:R,TdsReportConfig:F,TdsReportLine:O},Symbol.toStringTag,{value:"Module"})),I={TdsReportBar:"TdsReportBar"},z={BackTop:["Tooltip"]};function _e(o,n){if(["NumberAnimation","Watermark"].includes(o))return[];const t=[o];o in z&&t.push(...z[o]);const r=n!=null&&n.cjs?"lib":"es",a=[`@topdatasec/report/${r}/style/global.css`];return t.forEach(s=>{a.push(`@topdatasec/report/${r}/${I[s]}/${s}.css`)}),a}function Ve(o){return{type:"component",resolve:n=>{if(n in I)return{name:n,from:"@topdatasec/report",sideEffects:_e(n,o)}}}}const Y=function(o){return Object.values(we).forEach(n=>{n&&n.install&&o.use(n)}),o},Se={install:Y};u.TdsReportBar=R,u.TdsReportConfig=F,u.TdsReportLine=O,u.VueAmazingUIResolver=Ve,u.add=K,u.cancelRaf=Z,u.dateFormat=P,u.debounce=D,u.default=Se,u.downloadFile=Q,u.formatNumber=G,u.install=Y,u.rafTimeout=J,u.throttle=B,u.toggleDark=X,u.useEventListener=te,u.useFps=re,u.useMediaQuery=ae,u.useMutationObserver=oe,u.useResizeObserver=le,u.useScroll=ne,u.useSlotsExist=se,Object.defineProperties(u,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,*:before,*:after{box-sizing:border-box;margin:0;padding:0;caret-color:transparent}:root{--primary-color: #1677ff;--primary-color-hover: #4096ff}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}input,textarea{caret-color:auto}a{color:var(--primary-color);text-decoration:none;background-color:transparent;-webkit-tap-highlight-color:transparent;outline:none;cursor:pointer;transition:color .3s ease}a:hover{color:var(--primary-color-hover)}
|
|
1
|
+
*,*:before,*:after{box-sizing:border-box;margin:0;padding:0;caret-color:transparent}:root{--primary-color: #1677ff;--primary-color-hover: #4096ff}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}input,textarea{caret-color:auto}a{color:var(--primary-color);text-decoration:none;background-color:transparent;-webkit-tap-highlight-color:transparent;outline:none;cursor:pointer;transition:color .3s ease}a:hover{color:var(--primary-color-hover)}[data-v-9d35239c] .el-color-picker{width:95%}[data-v-9d35239c] .el-color-picker .el-color-picker__trigger{width:100%;top:1px}[data-v-9d35239c] .el-input-number{width:95%}.sub-title[data-v-9d35239c]{color:#555;font-size:12px;padding-left:5px;height:20px;line-height:20px;margin-bottom:10px}.switch-label[data-v-9d35239c]{color:#555;font-size:14px;margin-right:10px;margin-bottom:10px}[data-v-9d35239c] .el-collapse-item__header{background-color:#fafafa;padding-left:15px;height:42px;border-bottom:1px solid #ebeef5}[data-v-9d35239c] .el-collapse-item__content{padding-top:10px;padding-bottom:10px;padding-left:10px}[data-v-9d35239c] .el-collapse-item__content .el-descriptions__cell{padding:1px 0 0 15px}.el-collapse[data-v-9d35239c]{border-right:1px solid var(--el-border-color-lighter);border-left:1px solid var(--el-border-color-lighter)}
|
package/es/bar/Bar.vue.js
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as s, computed as a, resolveComponent as c, createElementBlock as p, openBlock as r, createVNode as d } from "vue";
|
|
2
|
+
const m = { class: "chart-components" }, u = /* @__PURE__ */ s({
|
|
3
3
|
name: "TdsReportBar",
|
|
4
4
|
__name: "Bar",
|
|
5
5
|
props: {
|
|
6
6
|
data: {}
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const o = t;
|
|
10
|
-
|
|
11
|
-
const e = s(() => o.data.options);
|
|
12
|
-
return (m, _) => {
|
|
8
|
+
setup(o) {
|
|
9
|
+
const t = o, e = a(() => t.data.options);
|
|
10
|
+
return (_, i) => {
|
|
13
11
|
const n = c("TdsChart");
|
|
14
|
-
return r(), p("div",
|
|
12
|
+
return r(), p("div", m, [
|
|
15
13
|
d(n, { option: e.value }, null, 8, ["option"])
|
|
16
14
|
]);
|
|
17
15
|
};
|
package/es/components.d.ts
CHANGED
package/es/components.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as r } from "./bar/index.js";
|
|
2
|
+
import { default as a } from "./config/index.js";
|
|
3
|
+
import { default as d } from "./line/index.js";
|
|
2
4
|
export {
|
|
3
|
-
|
|
5
|
+
r as TdsReportBar,
|
|
6
|
+
a as TdsReportConfig,
|
|
7
|
+
d as TdsReportLine
|
|
4
8
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-9d35239c] .el-color-picker{width:95%}[data-v-9d35239c] .el-color-picker .el-color-picker__trigger{width:100%;top:1px}[data-v-9d35239c] .el-input-number{width:95%}.sub-title[data-v-9d35239c]{color:#555;font-size:12px;padding-left:5px;height:20px;line-height:20px;margin-bottom:10px}.switch-label[data-v-9d35239c]{color:#555;font-size:14px;margin-right:10px;margin-bottom:10px}[data-v-9d35239c] .el-collapse-item__header{background-color:#fafafa;padding-left:15px;height:42px;border-bottom:1px solid #ebeef5}[data-v-9d35239c] .el-collapse-item__content{padding-top:10px;padding-bottom:10px;padding-left:10px}[data-v-9d35239c] .el-collapse-item__content .el-descriptions__cell{padding:1px 0 0 15px}.el-collapse[data-v-9d35239c]{border-right:1px solid var(--el-border-color-lighter);border-left:1px solid var(--el-border-color-lighter)}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { defineComponent as R, computed as $, ref as I, resolveComponent as i, createElementBlock as U, createCommentVNode as v, openBlock as r, createVNode as o, withCtx as s, createElementVNode as u, createBlock as V, Fragment as N, renderList as z, toDisplayString as E } from "vue";
|
|
2
|
+
import { useReportStore as D } from "../stores/modules/report.js";
|
|
3
|
+
const F = { key: 0 }, L = { class: "sub-title" }, G = /* @__PURE__ */ R({
|
|
4
|
+
name: "TdsReportConfig",
|
|
5
|
+
__name: "Config",
|
|
6
|
+
setup(j) {
|
|
7
|
+
const d = D(), l = $(() => d.activeComponents);
|
|
8
|
+
function k(n) {
|
|
9
|
+
n ? (l.value.options.series[0].radius = ["10%", "65%"], l.value.options.graphic[0].invisible = !0, l.value.options.graphic[1].invisible = !0) : (l.value.options.series[0].radius = ["45%", "70%"], l.value.options.graphic[0].invisible = !1, l.value.options.graphic[1].invisible = !1);
|
|
10
|
+
}
|
|
11
|
+
const S = I("rgb(46, 145, 255)"), b = (n = "rgba(46, 145, 255, 0.7)", e = "rgba(46, 145, 255, 0.2)") => ({
|
|
12
|
+
color: {
|
|
13
|
+
type: "linear",
|
|
14
|
+
x: 0,
|
|
15
|
+
y: 0,
|
|
16
|
+
x2: 0,
|
|
17
|
+
y2: 1,
|
|
18
|
+
colorStops: [
|
|
19
|
+
{
|
|
20
|
+
offset: 0,
|
|
21
|
+
color: n
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
offset: 0.8,
|
|
25
|
+
color: e
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
function x(n) {
|
|
31
|
+
n && (d.activeComponents.options.series[0].itemStyle = b(p(n, 0.7), p(n, 0.2)), d.activeComponents.options.series[1].itemStyle = b(p(n, 0.7), p(n, 0.2)), d.activeComponents.options.series[2].itemStyle = b(p(n, 0.9), p(n, 1)));
|
|
32
|
+
}
|
|
33
|
+
function p(n, e = 1) {
|
|
34
|
+
n = n.replace(/^#/, "");
|
|
35
|
+
const g = parseInt(n.substring(0, 2), 16), _ = parseInt(n.substring(2, 4), 16), m = parseInt(n.substring(4, 6), 16);
|
|
36
|
+
return `rgba(${g}, ${_}, ${m}, ${e})`;
|
|
37
|
+
}
|
|
38
|
+
return (n, e) => {
|
|
39
|
+
const g = i("el-input"), _ = i("el-form-item"), m = i("el-switch"), a = i("el-col"), c = i("el-color-picker"), y = i("el-input-number"), f = i("el-row"), w = i("el-collapse-item"), T = i("el-collapse");
|
|
40
|
+
return l.value.options.title ? (r(), U("div", F, [
|
|
41
|
+
o(_, { label: "标题" }, {
|
|
42
|
+
default: s(() => [
|
|
43
|
+
o(g, {
|
|
44
|
+
modelValue: l.value.options.title.text,
|
|
45
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => l.value.options.title.text = t)
|
|
46
|
+
}, null, 8, ["modelValue"])
|
|
47
|
+
]),
|
|
48
|
+
_: 1
|
|
49
|
+
}),
|
|
50
|
+
o(T, null, {
|
|
51
|
+
default: s(() => [
|
|
52
|
+
o(w, {
|
|
53
|
+
title: "标题配置",
|
|
54
|
+
name: "1"
|
|
55
|
+
}, {
|
|
56
|
+
default: s(() => [
|
|
57
|
+
o(f, { class: "w-100%" }, {
|
|
58
|
+
default: s(() => [
|
|
59
|
+
o(a, { span: 24 }, {
|
|
60
|
+
default: s(() => [
|
|
61
|
+
e[9] || (e[9] = u("span", { class: "switch-label" }, "显示标题", -1)),
|
|
62
|
+
o(m, {
|
|
63
|
+
modelValue: l.value.options.title.show,
|
|
64
|
+
"onUpdate:modelValue": e[1] || (e[1] = (t) => l.value.options.title.show = t)
|
|
65
|
+
}, null, 8, ["modelValue"])
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}),
|
|
69
|
+
o(a, { span: 12 }, {
|
|
70
|
+
default: s(() => [
|
|
71
|
+
o(c, {
|
|
72
|
+
modelValue: l.value.options.title.textStyle.color,
|
|
73
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => l.value.options.title.textStyle.color = t),
|
|
74
|
+
"show-alpha": ""
|
|
75
|
+
}, null, 8, ["modelValue"]),
|
|
76
|
+
e[10] || (e[10] = u("p", { class: "sub-title" }, "颜色", -1))
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
}),
|
|
80
|
+
o(a, { span: 12 }, {
|
|
81
|
+
default: s(() => [
|
|
82
|
+
o(y, {
|
|
83
|
+
modelValue: l.value.options.title.textStyle.fontSize,
|
|
84
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => l.value.options.title.textStyle.fontSize = t),
|
|
85
|
+
"controls-position": "right"
|
|
86
|
+
}, null, 8, ["modelValue"]),
|
|
87
|
+
e[11] || (e[11] = u("p", { class: "sub-title" }, "字体大小", -1))
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}),
|
|
91
|
+
o(a, { span: 12 }, {
|
|
92
|
+
default: s(() => [
|
|
93
|
+
o(y, {
|
|
94
|
+
modelValue: l.value.options.title.x,
|
|
95
|
+
"onUpdate:modelValue": e[4] || (e[4] = (t) => l.value.options.title.x = t),
|
|
96
|
+
"controls-position": "right"
|
|
97
|
+
}, null, 8, ["modelValue"]),
|
|
98
|
+
e[12] || (e[12] = u("p", { class: "sub-title" }, "横向", -1))
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}),
|
|
102
|
+
o(a, { span: 12 }, {
|
|
103
|
+
default: s(() => [
|
|
104
|
+
o(y, {
|
|
105
|
+
modelValue: l.value.options.title.y,
|
|
106
|
+
"onUpdate:modelValue": e[5] || (e[5] = (t) => l.value.options.title.y = t),
|
|
107
|
+
"controls-position": "right"
|
|
108
|
+
}, null, 8, ["modelValue"]),
|
|
109
|
+
e[13] || (e[13] = u("p", { class: "sub-title" }, "纵向", -1))
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
})
|
|
113
|
+
]),
|
|
114
|
+
_: 1
|
|
115
|
+
})
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}),
|
|
119
|
+
o(w, {
|
|
120
|
+
title: "图形配置",
|
|
121
|
+
name: "2"
|
|
122
|
+
}, {
|
|
123
|
+
default: s(() => [
|
|
124
|
+
l.value.options.color && l.value.options.color.length && l.value.type === "pie" ? (r(), V(f, { key: 0 }, {
|
|
125
|
+
default: s(() => [
|
|
126
|
+
o(a, { span: 24 }, {
|
|
127
|
+
default: s(() => [
|
|
128
|
+
e[14] || (e[14] = u("span", { class: "switch-label" }, "玫瑰图", -1)),
|
|
129
|
+
o(m, {
|
|
130
|
+
onChange: k,
|
|
131
|
+
modelValue: l.value.options.series[0].roseType,
|
|
132
|
+
"onUpdate:modelValue": e[6] || (e[6] = (t) => l.value.options.series[0].roseType = t)
|
|
133
|
+
}, null, 8, ["modelValue"])
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
}),
|
|
137
|
+
(r(!0), U(N, null, z(l.value.data, (t, C) => (r(), V(a, {
|
|
138
|
+
span: 12,
|
|
139
|
+
class: "mb-10px",
|
|
140
|
+
key: C
|
|
141
|
+
}, {
|
|
142
|
+
default: s(() => [
|
|
143
|
+
o(c, {
|
|
144
|
+
modelValue: l.value.options.color[C],
|
|
145
|
+
"onUpdate:modelValue": (B) => l.value.options.color[C] = B,
|
|
146
|
+
"show-alpha": ""
|
|
147
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
148
|
+
u("p", L, E(t.label), 1)
|
|
149
|
+
]),
|
|
150
|
+
_: 2
|
|
151
|
+
}, 1024))), 128))
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
})) : v("", !0),
|
|
155
|
+
l.value.type === "bar" ? (r(), V(f, { key: 1 }, {
|
|
156
|
+
default: s(() => [
|
|
157
|
+
o(a, { span: 12 }, {
|
|
158
|
+
default: s(() => [
|
|
159
|
+
o(c, {
|
|
160
|
+
modelValue: S.value,
|
|
161
|
+
"onUpdate:modelValue": e[7] || (e[7] = (t) => S.value = t),
|
|
162
|
+
onChange: x
|
|
163
|
+
}, null, 8, ["modelValue"]),
|
|
164
|
+
e[15] || (e[15] = u("p", { class: "sub-title" }, "柱颜色", -1))
|
|
165
|
+
]),
|
|
166
|
+
_: 1
|
|
167
|
+
})
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
})) : v("", !0)
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
}),
|
|
174
|
+
o(w, {
|
|
175
|
+
title: "图例配置",
|
|
176
|
+
name: "3"
|
|
177
|
+
}, {
|
|
178
|
+
default: s(() => [
|
|
179
|
+
o(f, null, {
|
|
180
|
+
default: s(() => [
|
|
181
|
+
o(a, { span: 24 }, {
|
|
182
|
+
default: s(() => [
|
|
183
|
+
e[16] || (e[16] = u("span", { class: "switch-label" }, "显示图例", -1)),
|
|
184
|
+
l.value.options.legend ? (r(), V(m, {
|
|
185
|
+
key: 0,
|
|
186
|
+
modelValue: l.value.options.legend.show,
|
|
187
|
+
"onUpdate:modelValue": e[8] || (e[8] = (t) => l.value.options.legend.show = t)
|
|
188
|
+
}, null, 8, ["modelValue"])) : v("", !0)
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
})
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
})
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
})
|
|
198
|
+
]),
|
|
199
|
+
_: 1
|
|
200
|
+
})
|
|
201
|
+
])) : v("", !0);
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
export {
|
|
206
|
+
G as default
|
|
207
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
14
|
+
export default _default;
|
package/es/index.js
CHANGED
|
@@ -1,34 +1,38 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import * as t from "./components.js";
|
|
3
|
-
import { add as
|
|
4
|
-
import { VueAmazingUIResolver as
|
|
5
|
-
import { default as
|
|
6
|
-
|
|
3
|
+
import { add as f, cancelRaf as i, dateFormat as d, debounce as n, downloadFile as m, formatNumber as p, rafTimeout as c, throttle as x, toggleDark as R, useEventListener as b, useFps as v, useMediaQuery as g, useMutationObserver as T, useResizeObserver as E, useScroll as F, useSlotsExist as O } from "./utils/index.js";
|
|
4
|
+
import { VueAmazingUIResolver as z } from "./utils/resolver.js";
|
|
5
|
+
import { default as M } from "./bar/index.js";
|
|
6
|
+
import { default as j } from "./config/index.js";
|
|
7
|
+
import { default as w } from "./line/index.js";
|
|
8
|
+
const o = function(r) {
|
|
7
9
|
return Object.values(t).forEach((e) => {
|
|
8
10
|
e && e.install && r.use(e);
|
|
9
11
|
}), r;
|
|
10
12
|
}, a = {
|
|
11
|
-
install:
|
|
13
|
+
install: o
|
|
12
14
|
};
|
|
13
15
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
f as
|
|
19
|
-
|
|
16
|
+
M as TdsReportBar,
|
|
17
|
+
j as TdsReportConfig,
|
|
18
|
+
w as TdsReportLine,
|
|
19
|
+
z as VueAmazingUIResolver,
|
|
20
|
+
f as add,
|
|
21
|
+
i as cancelRaf,
|
|
22
|
+
d as dateFormat,
|
|
23
|
+
n as debounce,
|
|
20
24
|
a as default,
|
|
21
25
|
m as downloadFile,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
p as formatNumber,
|
|
27
|
+
o as install,
|
|
28
|
+
c as rafTimeout,
|
|
29
|
+
x as throttle,
|
|
30
|
+
R as toggleDark,
|
|
31
|
+
b as useEventListener,
|
|
32
|
+
v as useFps,
|
|
29
33
|
g as useMediaQuery,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
T as useMutationObserver,
|
|
35
|
+
E as useResizeObserver,
|
|
36
|
+
F as useScroll,
|
|
37
|
+
O as useSlotsExist
|
|
34
38
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
data: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as s, computed as c, resolveComponent as p, createElementBlock as a, openBlock as r, createVNode as d } from "vue";
|
|
2
|
+
const i = { class: "chart-components" }, u = /* @__PURE__ */ s({
|
|
3
|
+
name: "TdsReportLine",
|
|
4
|
+
__name: "Line",
|
|
5
|
+
props: {
|
|
6
|
+
data: {}
|
|
7
|
+
},
|
|
8
|
+
setup(o) {
|
|
9
|
+
const t = o, e = c(() => t.data.options);
|
|
10
|
+
return (m, _) => {
|
|
11
|
+
const n = p("TdsChart");
|
|
12
|
+
return r(), a("div", i, [
|
|
13
|
+
d(n, { option: e.value }, null, 8, ["option"])
|
|
14
|
+
]);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
u as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type { Props } from './Line';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Line').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
4
|
+
P: {};
|
|
5
|
+
B: {};
|
|
6
|
+
D: {};
|
|
7
|
+
C: {};
|
|
8
|
+
M: {};
|
|
9
|
+
Defaults: {};
|
|
10
|
+
}, Readonly<import('./Line').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
+
__isFragment?: never;
|
|
12
|
+
__isTeleport?: never;
|
|
13
|
+
__isSuspense?: never;
|
|
14
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./Line').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
15
|
+
export default _default;
|
package/es/line/index.js
ADDED
package/es/pie/Pie.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
data: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type { Props } from './Pie';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Pie').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
4
|
+
P: {};
|
|
5
|
+
B: {};
|
|
6
|
+
D: {};
|
|
7
|
+
C: {};
|
|
8
|
+
M: {};
|
|
9
|
+
Defaults: {};
|
|
10
|
+
}, Readonly<import('./Pie').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
+
__isFragment?: never;
|
|
12
|
+
__isTeleport?: never;
|
|
13
|
+
__isSuspense?: never;
|
|
14
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./Pie').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
prodType: number | string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
|
+
proTable: unknown;
|
|
6
|
+
}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type { Props } from './Report';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Report').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
4
|
+
proTable: unknown;
|
|
5
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
6
|
+
P: {};
|
|
7
|
+
B: {};
|
|
8
|
+
D: {};
|
|
9
|
+
C: {};
|
|
10
|
+
M: {};
|
|
11
|
+
Defaults: {};
|
|
12
|
+
}, Readonly<import('./Report').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
13
|
+
__isFragment?: never;
|
|
14
|
+
__isTeleport?: never;
|
|
15
|
+
__isSuspense?: never;
|
|
16
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./Report').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
data: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
change: (...args: any[]) => void;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
7
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type { Props } from './Select';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Select').Props> & Readonly<{
|
|
4
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
change: (...args: any[]) => void;
|
|
7
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
8
|
+
P: {};
|
|
9
|
+
B: {};
|
|
10
|
+
D: {};
|
|
11
|
+
C: {};
|
|
12
|
+
M: {};
|
|
13
|
+
Defaults: {};
|
|
14
|
+
}, Readonly<import('./Select').Props> & Readonly<{
|
|
15
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, {}>;
|
|
17
|
+
__isFragment?: never;
|
|
18
|
+
__isTeleport?: never;
|
|
19
|
+
__isSuspense?: never;
|
|
20
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./Select').Props> & Readonly<{
|
|
21
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
change: (...args: any[]) => void;
|
|
24
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type Props = {
|
|
2
|
+
prodType: number | string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./SettingCharts').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<import('./SettingCharts').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./SettingCharts').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
14
|
+
export default _default;
|