Socket
Socket
Sign inDemoInstall

bettem-micro-utils

Package Overview
Dependencies
75
Maintainers
1
Versions
311
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.3 to 1.8.4

dist/src/components/MvCounts/mvCounts.d.ts

106

dist/es/api/index.js

@@ -7,6 +7,6 @@ import w from "axios";

import { downloadFile as R, viewPdf as T } from "../utils/downloadFile.js";
const p = w.create(), h = (e, a, t = "") => {
const p = w.create(), h = (e, o, t = "") => {
u.has(e) && (u.set(e, {
loading: !1,
data: a,
data: o,
message: t

@@ -18,5 +18,5 @@ }), setTimeout(() => {

p.interceptors.request.use((e) => {
const a = localStorage.getItem(i.tokenName) || sessionStorage.getItem(i.tokenName);
const o = localStorage.getItem(i.tokenName) || sessionStorage.getItem(i.tokenName);
let t = null;
return a !== null && (t = JSON.parse(a).token), e.timeout = i.timeout, e.baseURL = i.baseURL, e.headers = Object.assign({
return o !== null && (t = JSON.parse(o).token), e.timeout = i.timeout, e.baseURL = i.baseURL, e.headers = Object.assign({
"Content-Type": "application/json; charset=UTF-8",

@@ -28,4 +28,4 @@ // ["Content-Type"]: "application/x-www-form-urlencoded"

p.interceptors.response.use((e) => {
var a, t;
if (h((a = e.config.headers) == null ? void 0 : a.pendingKey, e.data), e.status === 200) {
var o, t;
if (h((o = e.config.headers) == null ? void 0 : o.pendingKey, e.data), e.status === 200) {
if (e.request.responseType === "blob")

@@ -38,18 +38,18 @@ return e;

}, (e) => {
var t, o, s, n, l;
var t, a, s, n, l;
h((t = e.response.config.headers) == null ? void 0 : t.pendingKey, null, e.response.message), u.clear();
let a = "";
let o = "";
if (e && e.response)
switch (e.response.status) {
case 404:
a = "接口不存在404";
o = "接口不存在404";
break;
case 401:
a = "令牌已失效,请重新登录";
o = "令牌已失效,请重新登录";
break;
case 403:
a = "服务器错误,请耐心等待修复";
o = "服务器错误,请耐心等待修复";
break;
default:
a = i.defaultErrorMsg;
o = i.defaultErrorMsg;
}

@@ -59,15 +59,15 @@ if (e.response.responseType === "blob") {

r.onloadend = () => {
["application/json", "text/html"].includes(e.response.data.type) && (e.response.data = JSON.parse(r.result), a = e.response.data.msg);
["application/json", "text/html"].includes(e.response.data.type) && (e.response.data = JSON.parse(r.result), o = e.response.data.msg);
}, r.readAsText(e.response.data);
}
if (((o = e.response) == null ? void 0 : o.status) === 401) {
if (((a = e.response) == null ? void 0 : a.status) === 401) {
const r = localStorage.getItem(i.tokenName) || sessionStorage.getItem(i.tokenName);
let c = null;
r !== null && (c = JSON.parse(r).token);
const d = window.__REPEAT_ERROR__;
let d = null;
r !== null && (d = JSON.parse(r).token);
const c = window.__REPEAT_ERROR__;
if (window.__BETTEM_BY_QIANKUN__) {
if (d && !location.pathname.startsWith("/oAuth"))
if (c && !location.pathname.startsWith("/oAuth"))
if (window.__REPEAT_ERROR__ = !1, setTimeout(() => {
window.__REPEAT_ERROR__ = !0;
}, 5e3), c) {
}, 5e3), d) {
const f = `/oAuth?redirect=${encodeURIComponent(location.pathname + location.search)}`;

@@ -82,5 +82,5 @@ m.alert(i.loginOutMessage, "温馨提示", {

} else
d || (window.__REPEAT_ERROR__ = !0, setTimeout(() => {
c || (window.__REPEAT_ERROR__ = !0, setTimeout(() => {
window.__REPEAT_ERROR__ = !1;
}, 5e3), c ? m.alert(i.loginOutMessage, "温馨提示", {
}, 5e3), d ? m.alert(i.loginOutMessage, "温馨提示", {
callback: (f) => {

@@ -93,3 +93,3 @@ localStorage.clear(), g();

title: "温馨提示",
message: ((n = (s = e.response) == null ? void 0 : s.data) == null ? void 0 : n.msg) || a,
message: ((n = (s = e.response) == null ? void 0 : s.data) == null ? void 0 : n.msg) || o,
type: "error"

@@ -100,9 +100,9 @@ }), i.customError = !1), i.debug && console.log(`%c错误接口:${(l = e.response) == null ? void 0 : l.config.url}`, "color: red");

class y {
request(a, t, o = {}, s = !1) {
request(o, t, a = {}, s = !1) {
i.customError = s;
const n = b.MD5(`${a}${JSON.stringify(t.data || t.params)}&${t.method}`).toString();
const n = b.MD5(`${o}${JSON.stringify(t.data || t.params)}&${t.method}`).toString();
return u.has(n) ? new Promise((l, r) => {
const c = setInterval(() => {
const d = u.get(n);
d != null && d.loading || (clearInterval(c), d != null && d.data ? l(d.data) : r({ code: 0, msg: d.message || "请求失败", data: null }));
const d = setInterval(() => {
const c = u.get(n);
c != null && c.loading || (clearInterval(d), c != null && c.data ? l(c.data) : r({ code: 0, msg: (c == null ? void 0 : c.message) || "请求失败", data: null }));
}, 5);

@@ -114,12 +114,12 @@ }) : (u.set(n, {

p.request({
url: a,
url: o,
...t,
headers: {
pendingKey: n,
...o
...a
}
}).then((c) => {
l(c);
}).catch((c) => {
r(c);
}).then((d) => {
l(d);
}).catch((d) => {
r(d);
});

@@ -134,7 +134,7 @@ }));

*/
get(a, t = {}, o = {}, s = !1) {
return this.request(a, {
get(o, t = {}, a = {}, s = !1) {
return this.request(o, {
method: "get",
params: t
}, o, s);
}, a, s);
}

@@ -147,7 +147,7 @@ /**

*/
post(a, t = {}, o = {}, s = !1) {
return this.request(a, {
post(o, t = {}, a = {}, s = !1) {
return this.request(o, {
method: "post",
data: t
}, o, s);
}, a, s);
}

@@ -159,7 +159,7 @@ /**

*/
upload(a, t = {}, o) {
upload(o, t = {}, a) {
const s = new FormData();
for (const n in t)
s.append(n, t[n]);
return s.append("file", o), this.request(a, {
return s.append("file", a), this.request(o, {
method: "post",

@@ -177,10 +177,10 @@ data: s

*/
async download(a, t = {}, o = "post", s = !1, n = !1) {
async download(o, t = {}, a = "post", s = !1, n = !1) {
const l = {
method: o,
method: a,
responseType: "blob"
};
o === "post" && (l.data = t), o === "get" && (l.params = t), i.customError = s;
a === "post" && (l.data = t), a === "get" && (l.params = t), i.customError = s;
try {
const r = await this.request(a, l, {}, s);
const r = await this.request(o, l, {}, s);
return R(r.data, r.data.type, r.headers["content-disposition"], n), {

@@ -204,4 +204,4 @@ code: 1,

*/
async blobToUrl(a, t = {}, o = {}) {
const s = o.method || "post", n = o.customError || !1, l = o.fileType || "pdf", r = {
async blobToUrl(o, t = {}, a = {}) {
const s = a.method || "post", n = a.customError || !1, l = a.fileType || "pdf", r = {
method: s,

@@ -211,4 +211,4 @@ responseType: "blob"

s === "post" && (r.data = t), s === "get" && (r.params = t), i.customError = n || !1;
const c = await this.request(a, r, {}, n);
return T(c.data, l);
const d = await this.request(o, r, {}, n);
return T(d.data, l);
}

@@ -221,9 +221,9 @@ /**

*/
async blobToBuffer(a, t = {}, o = "post", s = !1) {
async blobToBuffer(o, t = {}, a = "post", s = !1) {
const n = {
method: o,
method: a,
responseType: "blob"
};
o === "post" && (n.data = t), o === "get" && (n.params = t);
const l = await this.request(a, n, {}, s);
a === "post" && (n.data = t), a === "get" && (n.params = t);
const l = await this.request(o, n, {}, s);
return console.log(l.data), await new Blob([l.data], { type: l.data.type }).arrayBuffer();

@@ -230,0 +230,0 @@ }

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("axios"),p=require("element-plus"),o=require("./apiConfig.js"),E=require("crypto-js"),g=require("../utils/microAuth.js"),m=require("../utils/downloadFile.js"),u=w.create(),h=(e,a,t="")=>{o.pending.has(e)&&(o.pending.set(e,{loading:!1,data:a,message:t}),setTimeout(()=>{o.pending.delete(e)},1e3))};u.interceptors.request.use(e=>{const a=localStorage.getItem(o.apiConfig.tokenName)||sessionStorage.getItem(o.apiConfig.tokenName);let t=null;return a!==null&&(t=JSON.parse(a).token),e.timeout=o.apiConfig.timeout,e.baseURL=o.apiConfig.baseURL,e.headers=Object.assign({"Content-Type":"application/json; charset=UTF-8",Authorization:t??""},e.headers),e},e=>(o.pending.clear(),console.error(e),Promise.reject(e)));u.interceptors.response.use(e=>{var a,t;if(h((a=e.config.headers)==null?void 0:a.pendingKey,e.data),e.status===200){if(e.request.responseType==="blob")return e;if(e.data.code===1||e.data.code===0)return e.data}return o.apiConfig.customError||(p.ElMessage.error(e.data.msg||o.apiConfig.defaultErrorMsg),o.apiConfig.customError=!1),o.apiConfig.debug&&console.log(`%c错误接口:${(t=e.config)==null?void 0:t.url}`,"color: red"),Promise.reject(e.data)},e=>{var t,s,n,r,l;h((t=e.response.config.headers)==null?void 0:t.pendingKey,null,e.response.message),o.pending.clear();let a="";if(e&&e.response)switch(e.response.status){case 404:a="接口不存在404";break;case 401:a="令牌已失效,请重新登录";break;case 403:a="服务器错误,请耐心等待修复";break;default:a=o.apiConfig.defaultErrorMsg}if(e.response.responseType==="blob"){const i=new FileReader;i.onloadend=()=>{["application/json","text/html"].includes(e.response.data.type)&&(e.response.data=JSON.parse(i.result),a=e.response.data.msg)},i.readAsText(e.response.data)}if(((s=e.response)==null?void 0:s.status)===401){const i=localStorage.getItem(o.apiConfig.tokenName)||sessionStorage.getItem(o.apiConfig.tokenName);let c=null;i!==null&&(c=JSON.parse(i).token);const d=window.__REPEAT_ERROR__;if(window.__BETTEM_BY_QIANKUN__){if(d&&!location.pathname.startsWith("/oAuth"))if(window.__REPEAT_ERROR__=!1,setTimeout(()=>{window.__REPEAT_ERROR__=!0},5e3),c){const f=`/oAuth?redirect=${encodeURIComponent(location.pathname+location.search)}`;p.ElMessageBox.alert(o.apiConfig.loginOutMessage,"温馨提示",{callback:T=>{localStorage.clear(),window.self===window.top?location.href=f:window.parent.location.href=f}})}else location.href=`/oAuth?redirect=${encodeURIComponent(location.pathname+location.search)}`}else d||(window.__REPEAT_ERROR__=!0,setTimeout(()=>{window.__REPEAT_ERROR__=!1},5e3),c?p.ElMessageBox.alert(o.apiConfig.loginOutMessage,"温馨提示",{callback:f=>{localStorage.clear(),g()}}):g())}else o.apiConfig.customError||(p.ElNotification({title:"温馨提示",message:((r=(n=e.response)==null?void 0:n.data)==null?void 0:r.msg)||a,type:"error"}),o.apiConfig.customError=!1),o.apiConfig.debug&&console.log(`%c错误接口:${(l=e.response)==null?void 0:l.config.url}`,"color: red");return Promise.reject(e)});class b{request(a,t,s={},n=!1){o.apiConfig.customError=n;const r=E.MD5(`${a}${JSON.stringify(t.data||t.params)}&${t.method}`).toString();return o.pending.has(r)?new Promise((l,i)=>{const c=setInterval(()=>{const d=o.pending.get(r);d!=null&&d.loading||(clearInterval(c),d!=null&&d.data?l(d.data):i({code:0,msg:d.message||"请求失败",data:null}))},5)}):(o.pending.set(r,{loading:!0,data:null}),new Promise((l,i)=>{u.request({url:a,...t,headers:{pendingKey:r,...s}}).then(c=>{l(c)}).catch(c=>{i(c)})}))}get(a,t={},s={},n=!1){return this.request(a,{method:"get",params:t},s,n)}post(a,t={},s={},n=!1){return this.request(a,{method:"post",data:t},s,n)}upload(a,t={},s){const n=new FormData;for(const r in t)n.append(r,t[r]);return n.append("file",s),this.request(a,{method:"post",data:n},{"Content-Type":"multipart/form-data"},!0)}async download(a,t={},s="post",n=!1,r=!1){const l={method:s,responseType:"blob"};s==="post"&&(l.data=t),s==="get"&&(l.params=t),o.apiConfig.customError=n;try{const i=await this.request(a,l,{},n);return m.downloadFile(i.data,i.data.type,i.headers["content-disposition"],r),{code:1,data:i.data,message:"获取成功!"}}catch{return{code:0,data:null,message:"获取失败"}}}async blobToUrl(a,t={},s={}){const n=s.method||"post",r=s.customError||!1,l=s.fileType||"pdf",i={method:n,responseType:"blob"};n==="post"&&(i.data=t),n==="get"&&(i.params=t),o.apiConfig.customError=r||!1;const c=await this.request(a,i,{},r);return m.viewPdf(c.data,l)}async blobToBuffer(a,t={},s="post",n=!1){const r={method:s,responseType:"blob"};s==="post"&&(r.data=t),s==="get"&&(r.params=t);const l=await this.request(a,r,{},n);return console.log(l.data),await new Blob([l.data],{type:l.data.type}).arrayBuffer()}}const _=new b;exports.client=_;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("axios"),d=require("element-plus"),o=require("./apiConfig.js"),E=require("crypto-js"),g=require("../utils/microAuth.js"),m=require("../utils/downloadFile.js"),u=w.create(),h=(e,a,t="")=>{o.pending.has(e)&&(o.pending.set(e,{loading:!1,data:a,message:t}),setTimeout(()=>{o.pending.delete(e)},1e3))};u.interceptors.request.use(e=>{const a=localStorage.getItem(o.apiConfig.tokenName)||sessionStorage.getItem(o.apiConfig.tokenName);let t=null;return a!==null&&(t=JSON.parse(a).token),e.timeout=o.apiConfig.timeout,e.baseURL=o.apiConfig.baseURL,e.headers=Object.assign({"Content-Type":"application/json; charset=UTF-8",Authorization:t??""},e.headers),e},e=>(o.pending.clear(),console.error(e),Promise.reject(e)));u.interceptors.response.use(e=>{var a,t;if(h((a=e.config.headers)==null?void 0:a.pendingKey,e.data),e.status===200){if(e.request.responseType==="blob")return e;if(e.data.code===1||e.data.code===0)return e.data}return o.apiConfig.customError||(d.ElMessage.error(e.data.msg||o.apiConfig.defaultErrorMsg),o.apiConfig.customError=!1),o.apiConfig.debug&&console.log(`%c错误接口:${(t=e.config)==null?void 0:t.url}`,"color: red"),Promise.reject(e.data)},e=>{var t,s,n,r,l;h((t=e.response.config.headers)==null?void 0:t.pendingKey,null,e.response.message),o.pending.clear();let a="";if(e&&e.response)switch(e.response.status){case 404:a="接口不存在404";break;case 401:a="令牌已失效,请重新登录";break;case 403:a="服务器错误,请耐心等待修复";break;default:a=o.apiConfig.defaultErrorMsg}if(e.response.responseType==="blob"){const i=new FileReader;i.onloadend=()=>{["application/json","text/html"].includes(e.response.data.type)&&(e.response.data=JSON.parse(i.result),a=e.response.data.msg)},i.readAsText(e.response.data)}if(((s=e.response)==null?void 0:s.status)===401){const i=localStorage.getItem(o.apiConfig.tokenName)||sessionStorage.getItem(o.apiConfig.tokenName);let p=null;i!==null&&(p=JSON.parse(i).token);const c=window.__REPEAT_ERROR__;if(window.__BETTEM_BY_QIANKUN__){if(c&&!location.pathname.startsWith("/oAuth"))if(window.__REPEAT_ERROR__=!1,setTimeout(()=>{window.__REPEAT_ERROR__=!0},5e3),p){const f=`/oAuth?redirect=${encodeURIComponent(location.pathname+location.search)}`;d.ElMessageBox.alert(o.apiConfig.loginOutMessage,"温馨提示",{callback:T=>{localStorage.clear(),window.self===window.top?location.href=f:window.parent.location.href=f}})}else location.href=`/oAuth?redirect=${encodeURIComponent(location.pathname+location.search)}`}else c||(window.__REPEAT_ERROR__=!0,setTimeout(()=>{window.__REPEAT_ERROR__=!1},5e3),p?d.ElMessageBox.alert(o.apiConfig.loginOutMessage,"温馨提示",{callback:f=>{localStorage.clear(),g()}}):g())}else o.apiConfig.customError||(d.ElNotification({title:"温馨提示",message:((r=(n=e.response)==null?void 0:n.data)==null?void 0:r.msg)||a,type:"error"}),o.apiConfig.customError=!1),o.apiConfig.debug&&console.log(`%c错误接口:${(l=e.response)==null?void 0:l.config.url}`,"color: red");return Promise.reject(e)});class b{request(a,t,s={},n=!1){o.apiConfig.customError=n;const r=E.MD5(`${a}${JSON.stringify(t.data||t.params)}&${t.method}`).toString();return o.pending.has(r)?new Promise((l,i)=>{const p=setInterval(()=>{const c=o.pending.get(r);c!=null&&c.loading||(clearInterval(p),c!=null&&c.data?l(c.data):i({code:0,msg:(c==null?void 0:c.message)||"请求失败",data:null}))},5)}):(o.pending.set(r,{loading:!0,data:null}),new Promise((l,i)=>{u.request({url:a,...t,headers:{pendingKey:r,...s}}).then(p=>{l(p)}).catch(p=>{i(p)})}))}get(a,t={},s={},n=!1){return this.request(a,{method:"get",params:t},s,n)}post(a,t={},s={},n=!1){return this.request(a,{method:"post",data:t},s,n)}upload(a,t={},s){const n=new FormData;for(const r in t)n.append(r,t[r]);return n.append("file",s),this.request(a,{method:"post",data:n},{"Content-Type":"multipart/form-data"},!0)}async download(a,t={},s="post",n=!1,r=!1){const l={method:s,responseType:"blob"};s==="post"&&(l.data=t),s==="get"&&(l.params=t),o.apiConfig.customError=n;try{const i=await this.request(a,l,{},n);return m.downloadFile(i.data,i.data.type,i.headers["content-disposition"],r),{code:1,data:i.data,message:"获取成功!"}}catch{return{code:0,data:null,message:"获取失败"}}}async blobToUrl(a,t={},s={}){const n=s.method||"post",r=s.customError||!1,l=s.fileType||"pdf",i={method:n,responseType:"blob"};n==="post"&&(i.data=t),n==="get"&&(i.params=t),o.apiConfig.customError=r||!1;const p=await this.request(a,i,{},r);return m.viewPdf(p.data,l)}async blobToBuffer(a,t={},s="post",n=!1){const r={method:s,responseType:"blob"};s==="post"&&(r.data=t),s==="get"&&(r.params=t);const l=await this.request(a,r,{},n);return console.log(l.data),await new Blob([l.data],{type:l.data.type}).arrayBuffer()}}const _=new b;exports.client=_;

@@ -1,2 +0,3 @@

declare const _sfc_main: import("vue").DefineComponent<{
import type { ExtractPropTypes } from "vue";
export declare const mvAlertProps: {
title: {

@@ -8,7 +9,9 @@ type: StringConstructor;

};
}, {
cancel: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
};
export declare const mvAlertEmits: {
cancel: () => boolean;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
};
export type MvAlertProps = ExtractPropTypes<typeof mvAlertProps>;
export type MvAlertEmits = typeof mvAlertEmits;
edComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
title: {

@@ -15,0 +18,0 @@ type: StringConstructor;

@@ -1,2 +0,3 @@

declare const _sfc_main: import("vue").DefineComponent<{
import type { ExtractPropTypes } from "vue";
export declare const mvGapProps: {
width: {

@@ -10,3 +11,5 @@ type: (StringConstructor | NumberConstructor)[];

};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
};
export type MvGapProps = ExtractPropTypes<typeof mvGapProps>;
onsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
width: {

@@ -13,0 +16,0 @@ type: (StringConstructor | NumberConstructor)[];

@@ -1,2 +0,4 @@

declare const _sfc_main: import("vue").DefineComponent<{
import type { ExtractPropTypes, PropType } from "vue";
import type { MvIconButtonIconType } from "./types";
export declare const mvIconButtonProps: {
icon: {

@@ -7,3 +9,3 @@ type: StringConstructor;

iconType: {
type: import("vue").PropType<import("./types").MvIconButtonIconType>;
type: PropType<MvIconButtonIconType>;
default: string;

@@ -19,3 +21,7 @@ };

};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
};
export type MvIconButtonProps = ExtractPropTypes<typeof mvIconButtonProps>;
export declare const mvIconButtonEmits: {};
export type MvIconButtonEmits = typeof mvIconButtonEmits;
ropTypes<{
icon: {

@@ -22,0 +28,0 @@ type: StringConstructor;

@@ -1,6 +0,4 @@

import type { ExtractPropTypes, PropType } from "vue";
import type { BdPagesInterface } from "./types";
export declare const mvPagesProps: {
declare const _sfc_main: import("vue").DefineComponent<{
pages: {
type: PropType<BdPagesInterface>;
type: import("vue").PropType<import("./types").BdPagesInterface>;
default: () => {};

@@ -13,3 +11,3 @@ };

pageSizes: {
type: PropType<number[]>;
type: import("vue").PropType<number[]>;
default: number[];

@@ -37,10 +35,6 @@ };

};
};
export type MvPagesProps = ExtractPropTypes<typeof mvPagesProps>;
export declare const mvPagesEmits: {
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
change: () => boolean;
"update:pages": (value: BdPagesInterface) => BdPagesInterface;
};
export type MvPagesEmits = typeof mvPagesEmits;
ComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
"update:pages": (value: import("./types").BdPagesInterface) => import("./types").BdPagesInterface;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
pages: {

@@ -47,0 +41,0 @@ type: import("vue").PropType<import("./types").BdPagesInterface>;

@@ -1,2 +0,4 @@

declare const _sfc_main: import("vue").DefineComponent<{
import type { ExtractPropTypes, PropType } from "vue";
import type { MvProjectProgressColorOption } from "./types";
export declare const mvProjectProgressProps: {
businessId: {

@@ -19,10 +21,12 @@ type: (StringConstructor | NumberConstructor)[];

colorOption: {
type: import("vue").PropType<import("./types").MvProjectProgressColorOption>;
type: PropType<MvProjectProgressColorOption>;
default: () => {};
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
};
export type MvProjectProgressProps = ExtractPropTypes<typeof mvProjectProgressProps>;
export declare const mvProjectProgressEmits: {
dotClick: (value: any) => any;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
businessId: {
type: (StringConstructor | NumberConstructor)[];
};
export type MvProjectProgressEmits = typeof mvProjectProgressEmits;
ype: (StringConstructor | NumberConstructor)[];
default: number;

@@ -29,0 +33,0 @@ };

@@ -1,3 +0,2 @@

import type { ExtractPropTypes } from "vue";
export declare const mvRadioProps: {
declare const _sfc_main: import("vue").DefineComponent<{
modelValue: {

@@ -14,7 +13,3 @@ type: (StringConstructor | NumberConstructor)[];

};
};
export type MvRadioProps = ExtractPropTypes<typeof mvRadioProps>;
export declare const mvRadioEmits: {};
export type MvRadioEmits = typeof mvRadioEmits;
("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: {

@@ -21,0 +16,0 @@ type: (StringConstructor | NumberConstructor)[];

@@ -1,8 +0,10 @@

declare const _sfc_main: import("vue").DefineComponent<{
import type { ExtractPropTypes, PropType } from "vue";
import type { MvTabPanelOption, MvTabPanelTags } from "./types";
export declare const mvTabPanelProps: {
option: {
type: import("vue").PropType<import("./types").MvTabPanelOption>;
type: PropType<MvTabPanelOption>;
default: () => {};
};
tags: {
type: import("vue").PropType<import("./types").MvTabPanelTags[]>;
type: PropType<MvTabPanelTags[]>;
default: () => {

@@ -17,5 +19,9 @@ label: string;

};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
};
export type MvTabPanelProps = ExtractPropTypes<typeof mvTabPanelProps>;
export declare const mvTabPanelEmits: {
click: (value: any) => any;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
};
export type MvTabPanelEmits = typeof mvTabPanelEmits;
Readonly<import("vue").ExtractPropTypes<{
option: {

@@ -22,0 +28,0 @@ type: import("vue").PropType<import("./types").MvTabPanelOption>;

{
"name": "bettem-micro-utils",
"version": "1.8.3",
"version": "1.8.4",
"description": "bettem micro app utils",
"main": "dist/es/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "vite dev",
"build": "vite build",
"pack": "npm pack"
},
"exports": {

@@ -56,3 +50,9 @@ ".": {

"vue-tsc": "^1.2.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "vite dev",
"build": "vite build",
"pack": "npm pack"
}
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc