vue-chrts 0.0.32 → 0.0.34

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.
@@ -0,0 +1,24 @@
1
+ export interface ButtonProps {
2
+ variant?: 'primary' | 'secondary';
3
+ size?: 'small' | 'medium' | 'large';
4
+ }
5
+ declare function __VLS_template(): {
6
+ default?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ButtonProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ButtonProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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
+ };
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Button } from './Button.vue';
2
+ export type { ButtonProps } from './Button.vue';
@@ -0,0 +1,27 @@
1
+ import { BulletLegendItemInterface } from '@unovis/ts';
2
+
3
+ export declare const categories1: Record<string, BulletLegendItemInterface>;
4
+ export declare const categories2: Record<string, BulletLegendItemInterface>;
5
+ export declare const categories3: Record<string, BulletLegendItemInterface>;
6
+ export declare const categories4: Record<string, BulletLegendItemInterface>;
7
+ export declare const categories5: Record<string, BulletLegendItemInterface>;
8
+ export interface AreaChartItem1 {
9
+ date: string;
10
+ desktop: number;
11
+ mobile: number;
12
+ }
13
+ export declare const AreaChartData1: AreaChartItem1[];
14
+ export interface AreaChartItem2 {
15
+ hour: string;
16
+ temperature: number;
17
+ }
18
+ export declare const AreaChartData2: AreaChartItem2[];
19
+ export declare const AreaChartData3: {
20
+ time: string;
21
+ returning: number;
22
+ firstTime: number;
23
+ }[];
24
+ export declare const AreaChartData4: {
25
+ month: string;
26
+ desktop: number;
27
+ }[];
@@ -0,0 +1,8 @@
1
+ export interface ElectionDatum {
2
+ year: number;
3
+ democrat: number;
4
+ republican: number;
5
+ other: number;
6
+ }
7
+ export declare function capitalize(s: string): string;
8
+ export declare const BarChartData: ElectionDatum[];
@@ -0,0 +1,23 @@
1
+ import { BulletLegendItemInterface } from '@unovis/ts';
2
+
3
+ export interface IncomeExpenseItem {
4
+ month: string;
5
+ year: number;
6
+ income: {
7
+ salary: number;
8
+ sideHustle: number;
9
+ total: number;
10
+ };
11
+ expenses: {
12
+ rent: number;
13
+ groceries: number;
14
+ utilities: number;
15
+ transportation: number;
16
+ entertainment: number;
17
+ eatingOut: number;
18
+ other: number;
19
+ total: number;
20
+ };
21
+ }
22
+ export declare const categories: Record<string, BulletLegendItemInterface>;
23
+ export declare const IncomeExpenseData: IncomeExpenseItem[];
@@ -0,0 +1,9 @@
1
+ import { BulletLegendItemInterface } from '@unovis/ts';
2
+
3
+ export declare const categories: Record<string, BulletLegendItemInterface>;
4
+ export declare const InvestmentData: {
5
+ date: string;
6
+ 'ETF Shares Vital': number;
7
+ 'Vitainvest Core': number;
8
+ 'iShares Tech Growth': number;
9
+ }[];
@@ -0,0 +1,11 @@
1
+ import { BulletLegendItemInterface } from '@unovis/ts';
2
+
3
+ export declare const categories: Record<string, BulletLegendItemInterface>;
4
+ export declare const RevenueData: {
5
+ date: string;
6
+ value: number;
7
+ }[];
8
+ export declare const RevenueDataSmall: {
9
+ date: string;
10
+ value: number;
11
+ }[];
@@ -0,0 +1,5 @@
1
+ export interface IVisitorsData {
2
+ date: Date;
3
+ visitors: number;
4
+ }
5
+ export declare const VisitorsData: IVisitorsData[];
@@ -0,0 +1 @@
1
+ export * from './components/Button';
@@ -1 +1 @@
1
- .button[data-v-e87de3dd]{border:none;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color .2s}.button--primary[data-v-e87de3dd]{background-color:#646cff;color:#fff}.button--secondary[data-v-e87de3dd]{background-color:#e2e8f0;color:#1a1a1a}.button--small[data-v-e87de3dd]{padding:.4em .8em;font-size:.875rem}.button--medium[data-v-e87de3dd]{padding:.6em 1.2em;font-size:1rem}.button--large[data-v-e87de3dd]{padding:.8em 1.6em;font-size:1.125rem}
1
+ .button[data-v-52b6ec0c]{border:none;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color .2s}.button--primary[data-v-52b6ec0c]{background-color:#646cff;color:#fff}.button--secondary[data-v-52b6ec0c]{background-color:#e2e8f0;color:#1a1a1a}.button--small[data-v-52b6ec0c]{padding:.4em .8em;font-size:.875rem}.button--medium[data-v-52b6ec0c]{padding:.6em 1.2em;font-size:1rem}.button--large[data-v-52b6ec0c]{padding:.8em 1.6em;font-size:1.125rem}
package/dist/vue-chrts.js CHANGED
@@ -5,8 +5,8 @@ const i = /* @__PURE__ */ s({
5
5
  variant: {},
6
6
  size: {}
7
7
  },
8
- setup(e) {
9
- return (t, o) => (c(), a("button", {
8
+ setup(o) {
9
+ return (t, e) => (c(), a("button", {
10
10
  class: p([
11
11
  "button",
12
12
  `button--${t.variant || "primary"}`,
@@ -16,12 +16,12 @@ const i = /* @__PURE__ */ s({
16
16
  u(t.$slots, "default", {}, void 0, !0)
17
17
  ], 2));
18
18
  }
19
- }), _ = (e, t) => {
20
- const o = e.__vccOpts || e;
19
+ }), _ = (o, t) => {
20
+ const e = o.__vccOpts || o;
21
21
  for (const [n, r] of t)
22
- o[n] = r;
23
- return o;
24
- }, l = /* @__PURE__ */ _(i, [["__scopeId", "data-v-e87de3dd"]]);
22
+ e[n] = r;
23
+ return e;
24
+ }, m = /* @__PURE__ */ _(i, [["__scopeId", "data-v-52b6ec0c"]]);
25
25
  export {
26
- l as Button
26
+ m as Button
27
27
  };
@@ -1 +1 @@
1
- (function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t["vue-chrts"]={},t.Vue))})(this,function(t,e){"use strict";const r=((o,n)=>{const s=o.__vccOpts||o;for(const[i,u]of n)s[i]=u;return s})(e.defineComponent({__name:"Button",props:{variant:{},size:{}},setup(o){return(n,s)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["button",`button--${n.variant||"primary"}`,`button--${n.size||"medium"}`])},[e.renderSlot(n.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-e87de3dd"]]);t.Button=r,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
1
+ (function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t["vue-chrts"]={},t.Vue))})(this,function(t,e){"use strict";const r=((o,n)=>{const s=o.__vccOpts||o;for(const[i,u]of n)s[i]=u;return s})(e.defineComponent({__name:"Button",props:{variant:{},size:{}},setup(o){return(n,s)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["button",`button--${n.variant||"primary"}`,`button--${n.size||"medium"}`])},[e.renderSlot(n.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-52b6ec0c"]]);t.Button=r,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "vue-chrts",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
8
  "main": "./dist/vue-chrts.umd.cjs",
9
9
  "module": "./dist/vue-chrts.js",
10
+
10
11
  "exports": {
11
12
  ".": {
12
13
  "import": "./dist/vue-chrts.js",