vue-chrts 0.0.28 → 0.0.30
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/components/Base/index.d.ts +3 -10
- package/dist/vue-chrts.js +15 -0
- package/dist/vue-chrts.umd.cjs +1 -0
- package/package.json +1 -1
- package/dist/components/Base/Area/AreaChart.vue.d.ts +0 -36
- package/dist/components/Base/Area/index.d.ts +0 -3
- package/dist/components/Base/AreaStacked/AreaStackedChart.vue.d.ts +0 -17
- package/dist/components/Base/AreaStacked/index.d.ts +0 -3
- package/dist/components/Base/Bar/BarChart.vue.d.ts +0 -29
- package/dist/components/Base/Bar/index.d.ts +0 -3
- package/dist/components/Base/Crosshair.vue.d.ts +0 -38
- package/dist/components/Base/Donut/DonutChart.vue.d.ts +0 -40
- package/dist/components/Base/Donut/index.d.ts +0 -3
- package/dist/components/Base/Line/LineChart.vue.d.ts +0 -27
- package/dist/components/Base/Line/index.d.ts +0 -4
- package/dist/components/Base/Line/types.d.ts +0 -4
- package/dist/components/Base/Progress.vue.d.ts +0 -19
- package/dist/components/Base/Tooltip.vue.d.ts +0 -17
- package/dist/my-vue-components.js +0 -9546
- package/dist/my-vue-components.umd.cjs +0 -468
- /package/dist/components/Base/{Status.vue.d.ts → MyFirstComponent.vue.d.ts} +0 -0
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { default as Tooltip } from './Tooltip.vue';
|
|
5
|
-
export * from './Area';
|
|
6
|
-
export * from './AreaStacked';
|
|
7
|
-
export * from './Bar';
|
|
8
|
-
export * from './Donut';
|
|
9
|
-
export * from './Line';
|
|
10
|
-
export { Crosshair, Progress, Status, Tooltip };
|
|
1
|
+
import { default as MyFirstComponent } from './MyFirstComponent.vue';
|
|
2
|
+
|
|
3
|
+
export { MyFirstComponent };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createElementBlock as r, openBlock as s } from "vue";
|
|
2
|
+
const _ = (t, e) => {
|
|
3
|
+
const n = t.__vccOpts || t;
|
|
4
|
+
for (const [o, c] of e)
|
|
5
|
+
n[o] = c;
|
|
6
|
+
return n;
|
|
7
|
+
}, i = {};
|
|
8
|
+
function a(t, e) {
|
|
9
|
+
return s(), r("div", null, " This is my first vue component shared ");
|
|
10
|
+
}
|
|
11
|
+
const l = /* @__PURE__ */ _(i, [["render", a]]), m = {};
|
|
12
|
+
export {
|
|
13
|
+
l as MyFirstComponent,
|
|
14
|
+
m as default
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["vue-chrts"]={},e.Vue))})(this,function(e,t){"use strict";const s=(n,o)=>{const i=n.__vccOpts||n;for(const[d,l]of o)i[d]=l;return i},c={};function r(n,o){return t.openBlock(),t.createElementBlock("div",null," This is my first vue component shared ")}const u=s(c,[["render",r]]),f={};e.MyFirstComponent=u,e.default=f,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BulletLegendItemInterface, CurveType } from '@unovis/ts';
|
|
2
|
-
import { PaginationPosition } from '..';
|
|
3
|
-
|
|
4
|
-
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & {
|
|
6
|
-
data: T[];
|
|
7
|
-
height: number;
|
|
8
|
-
xLabel?: string;
|
|
9
|
-
yLabel?: string;
|
|
10
|
-
categories: Record<string, BulletLegendItemInterface>;
|
|
11
|
-
xFormatter: (i: number, idx: number) => string;
|
|
12
|
-
yFormatter?: (i: number, idx?: number) => string | number;
|
|
13
|
-
curveType?: CurveType;
|
|
14
|
-
xNumTicks?: number;
|
|
15
|
-
yNumTicks?: number;
|
|
16
|
-
hideLegend?: boolean;
|
|
17
|
-
hideTooltip?: boolean;
|
|
18
|
-
gridLineX?: boolean;
|
|
19
|
-
domainLineX?: boolean;
|
|
20
|
-
gridLineY?: boolean;
|
|
21
|
-
domainLineY?: boolean;
|
|
22
|
-
paginationPoisition?: PaginationPosition;
|
|
23
|
-
}, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
24
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
25
|
-
attrs: any;
|
|
26
|
-
slots: ReturnType<() => {}>;
|
|
27
|
-
emit: typeof __VLS_emit;
|
|
28
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}> & {
|
|
31
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
32
|
-
};
|
|
33
|
-
export default _default;
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
-
|
|
3
|
-
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & {
|
|
5
|
-
data: T[];
|
|
6
|
-
categories: Record<string, BulletLegendItemInterface>;
|
|
7
|
-
}, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
8
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
9
|
-
attrs: any;
|
|
10
|
-
slots: ReturnType<() => {}>;
|
|
11
|
-
emit: typeof __VLS_emit;
|
|
12
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}> & {
|
|
15
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
-
|
|
3
|
-
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & {
|
|
5
|
-
data: T[];
|
|
6
|
-
height: number;
|
|
7
|
-
xLabel?: string;
|
|
8
|
-
yLabel?: string;
|
|
9
|
-
categories: Record<string, BulletLegendItemInterface>;
|
|
10
|
-
xFormatter: (i: number, idx: number) => string;
|
|
11
|
-
yFormatter?: (i: number, idx?: number) => string | number;
|
|
12
|
-
yNumTicks?: number;
|
|
13
|
-
xNumTicks?: number;
|
|
14
|
-
yAxis: string[];
|
|
15
|
-
groupPadding?: number;
|
|
16
|
-
barPadding?: number;
|
|
17
|
-
radius?: number;
|
|
18
|
-
hideLegend?: boolean;
|
|
19
|
-
}, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
20
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
21
|
-
attrs: any;
|
|
22
|
-
slots: ReturnType<() => {}>;
|
|
23
|
-
emit: typeof __VLS_emit;
|
|
24
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}> & {
|
|
27
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
28
|
-
};
|
|
29
|
-
export default _default;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
-
import { Component } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
colors: string[];
|
|
6
|
-
index: string;
|
|
7
|
-
items: BulletLegendItemInterface[];
|
|
8
|
-
customTooltip?: Component;
|
|
9
|
-
}>, {
|
|
10
|
-
colors: () => never[];
|
|
11
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
colors: string[];
|
|
13
|
-
index: string;
|
|
14
|
-
items: BulletLegendItemInterface[];
|
|
15
|
-
customTooltip?: Component;
|
|
16
|
-
}>, {
|
|
17
|
-
colors: () => never[];
|
|
18
|
-
}>>> & Readonly<{}>, {
|
|
19
|
-
colors: string[];
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
|
-
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
default?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
type?: string;
|
|
6
|
-
data: number[];
|
|
7
|
-
height: number;
|
|
8
|
-
radius: number;
|
|
9
|
-
hidePagination?: boolean;
|
|
10
|
-
labels: {
|
|
11
|
-
name: string;
|
|
12
|
-
color: string;
|
|
13
|
-
}[];
|
|
14
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
-
type?: string;
|
|
16
|
-
data: number[];
|
|
17
|
-
height: number;
|
|
18
|
-
radius: number;
|
|
19
|
-
hidePagination?: boolean;
|
|
20
|
-
labels: {
|
|
21
|
-
name: string;
|
|
22
|
-
color: string;
|
|
23
|
-
}[];
|
|
24
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
-
new (): {
|
|
38
|
-
$slots: S;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { BulletLegendItemInterface, CurveType } from '@unovis/ts';
|
|
2
|
-
import { PaginationPosition } from './../../Base';
|
|
3
|
-
|
|
4
|
-
declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & {
|
|
6
|
-
data: T[];
|
|
7
|
-
height: number;
|
|
8
|
-
xLabel?: string;
|
|
9
|
-
yLabel?: string;
|
|
10
|
-
categories: Record<string, BulletLegendItemInterface>;
|
|
11
|
-
xFormatter: (i: number, idx: number) => string;
|
|
12
|
-
yFormatter?: (i: number, idx: number) => string;
|
|
13
|
-
curveType?: CurveType;
|
|
14
|
-
yNumTicks?: number;
|
|
15
|
-
xNumTicks?: number;
|
|
16
|
-
paginationPoisition?: PaginationPosition;
|
|
17
|
-
}, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
18
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
19
|
-
attrs: any;
|
|
20
|
-
slots: ReturnType<() => {}>;
|
|
21
|
-
emit: typeof __VLS_emit;
|
|
22
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}> & {
|
|
25
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface StorageProps {
|
|
2
|
-
label: string;
|
|
3
|
-
value: string;
|
|
4
|
-
unit?: string;
|
|
5
|
-
progress: number;
|
|
6
|
-
total: number;
|
|
7
|
-
color: string;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<StorageProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<StorageProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
-
|
|
3
|
-
declare const _default: <T extends {}>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & {
|
|
5
|
-
data: T;
|
|
6
|
-
categories: Record<string, BulletLegendItemInterface>;
|
|
7
|
-
}, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
|
|
8
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
9
|
-
attrs: any;
|
|
10
|
-
slots: ReturnType<() => {}>;
|
|
11
|
-
emit: typeof __VLS_emit;
|
|
12
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}> & {
|
|
15
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|