base6-ui 2.0.13 → 2.0.15
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/button/button.d.ts +1352 -0
- package/dist/components/button/index.d.ts +2 -1
- package/dist/components/button/interface.d.ts +678 -0
- package/dist/components/data-table/data-table.d.ts +1 -1
- package/dist/components/slider/index.vue.d.ts +3 -2
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.umd.js +1 -1
- package/es/components/button/button.d.ts +1352 -0
- package/es/components/button/button.mjs +28 -0
- package/es/components/button/index.d.ts +2 -1
- package/es/components/button/interface.d.ts +678 -0
- package/es/components/button/interface.mjs +22 -0
- package/es/components/data-table/data-table.d.ts +1 -1
- package/es/components/dialog/index.vue.mjs +7 -6
- package/es/components/slider/index.vue.d.ts +3 -2
- package/es/components/slider/index.vue.mjs +2 -2
- package/es/components/slider/index.vue2.mjs +48 -44
- package/es/components/tabs/tabs.d.ts +1 -1
- package/es/index.css +1 -1
- package/es/index.mjs +92 -90
- package/lib/components/button/button.d.ts +1352 -0
- package/lib/components/button/button.js +1 -0
- package/lib/components/button/index.d.ts +2 -1
- package/lib/components/button/interface.d.ts +678 -0
- package/lib/components/button/interface.js +1 -0
- package/lib/components/data-table/data-table.d.ts +1 -1
- package/lib/components/dialog/index.vue.js +1 -1
- package/lib/components/slider/index.vue.d.ts +3 -2
- package/lib/components/slider/index.vue.js +1 -1
- package/lib/components/slider/index.vue2.js +1 -1
- package/lib/components/tabs/tabs.d.ts +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/dist/components/button/index.vue.d.ts +0 -24
- package/es/components/button/index.vue.d.ts +0 -24
- package/es/components/button/index.vue.mjs +0 -36
- package/es/components/button/index.vue2.mjs +0 -4
- package/lib/components/button/index.vue.d.ts +0 -24
- package/lib/components/button/index.vue.js +0 -1
- package/lib/components/button/index.vue2.js +0 -1
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./_virtual/virtual_svg-icons-register.js");;/* empty css */;/* empty css */const r=require("./components/app-provider/index.vue.js"),t=require("./components/button/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./_virtual/virtual_svg-icons-register.js");;/* empty css */;/* empty css */const r=require("./components/app-provider/index.vue.js"),t=require("./components/button/button.js"),n=require("./components/button/interface.js"),o=require("./components/cascader/cascader.js"),i=require("./components/cascader/types.js"),d=require("./components/config-provider/config-provider.js"),u=require("./components/data-table/data-table.js"),s=require("./components/data-table/interface.js"),a=require("./components/dialog/index.vue.js"),c=require("./components/input-number/index.vue.js"),l=require("./components/global-header/index.vue.js"),q=require("./components/global-header/title.vue.js"),f=require("./components/layout/index.vue.js"),p=require("./components/layout/header/index.vue.js"),_=require("./components/layout/aside/index.vue.js"),h=require("./components/layout/aside-menu/aside-menu.js"),B=require("./components/layout/aside-menu/props.js"),g=require("./components/logo/index.vue.js"),b=require("./components/nav-icon/index.vue.js"),$=require("./components/radio/index.vue.js"),T=require("./components/platform-navigation/index.vue.js"),v=require("./components/progress/index.js"),m=require("./components/select/index.vue.js"),x=require("./components/slider/index.vue.js"),P=require("./components/steps/steps.js"),k=require("./components/switch/index.vue.js"),C=require("./components/system-actions/index.vue.js"),e=require("./components/tabs/tabs.js"),y=require("./config/themes/index.js"),A=require("./enum/locale.js"),L=require("./hooks/useAnimationHook.js"),S=require("./locale/lang/en-us.js"),H=require("./locale/lang/zh-cn.js"),M=require("./locale/http/en-us.js"),N=require("./locale/http/zh-cn.js"),O=require("./globalMethods/index.js"),D=require("./utils/render.js"),I=require("./config/themes/token/dark.js"),G=require("./config/themes/token/light.js"),U=require("./config/themes/color/dark.js"),j=require("./config/themes/color/light.js"),z=require("./globalMethods/modules/message.js"),E=require("./globalMethods/modules/confirmTip.js"),F=require("./config/themes/light.js"),K=require("./config/themes/dark.js"),w=require("./config/themes/components/charts/dark.js"),R=require("./config/themes/components/charts/light.js");exports.BodenAppProvider=r.default;exports.BodenButton=t.default;exports.bodenButtonProps=n.bodenButtonProps;exports.BodenCascader=o.default;exports.bodenCascaderProps=i.bodenCascaderProps;exports.BodenConfigProvider=d.default;exports.BodenDataTable=u.default;exports.bodenDataTableProps=s.bodenDataTableProps;exports.BodenDialog=a.default;exports.BodenInputNumber=c.default;exports.BodenGlobalHeader=l.default;exports.BodenGlobalHeaderTitle=q.default;exports.BodenLayout=f.default;exports.BodenLayoutHeader=p.default;exports.BodenLayoutAside=_.default;exports.BodenAsideMenu=h.default;exports.bodenAsideMenuProps=B.bodenAsideMenuProps;exports.BodenLogo=g.default;exports.BodenNavIcon=b.default;exports.BodenRadio=$.default;exports.BodenPlatformNavigation=T.default;exports.BodenProgress=v.default;exports.BodenSelect=m.default;exports.BodenSlider=x.default;exports.BodenSteps=P.default;exports.BodenSwitch=k.default;exports.BodenSystemActions=C.default;exports.BodenTabs=e.default;exports.bodenTabsProps=e.bodenTabsProps;exports.configProviderInjectionKey=y.configProviderInjectionKey;exports.LOCALE_LANG=A.LOCALE_LANG;exports.useAnimationHook=L.useAnimationHook;exports.enUS=S.default;exports.zhCN=H.default;exports.HttpEnUS=M.default;exports.HttpZhCN=N.default;exports.registerBodenGlobalMethods=O.default;exports.renderStepsFinishIcon=D.renderStepsFinishIcon;exports.darkToken=I.default;exports.lightToken=G.default;exports.darkBase=U.default;exports.lightBase=j.default;exports.useMessage=z.default;exports.useConfirmTip=E.default;exports.lightThemeOverrides=F.lightThemeOverrides;exports.darkThemeOverrides=K.darkThemeOverrides;exports.ChartsThemeDark=w.ChartsThemeDark;exports.ChartsThemeLight=R.ChartsThemeLight;
|
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
type PropsType = {
|
|
2
|
-
icon?: string;
|
|
3
|
-
content?: string;
|
|
4
|
-
};
|
|
5
|
-
declare function __VLS_template(): {
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
slots: {
|
|
8
|
-
icon?(_: {}): any;
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: any;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{}>, {
|
|
16
|
-
icon: string;
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
type PropsType = {
|
|
2
|
-
icon?: string;
|
|
3
|
-
content?: string;
|
|
4
|
-
};
|
|
5
|
-
declare function __VLS_template(): {
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
slots: {
|
|
8
|
-
icon?(_: {}): any;
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: any;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{}>, {
|
|
16
|
-
icon: string;
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { NButton as a } from "naive-ui";
|
|
2
|
-
import { defineComponent as r, resolveComponent as m, createBlock as t, openBlock as e, normalizeProps as d, guardReactiveProps as u, createSlots as f, withCtx as s, renderSlot as c, createElementBlock as k, toDisplayString as p } from "vue";
|
|
3
|
-
const y = { key: 1 }, B = /* @__PURE__ */ r({
|
|
4
|
-
__name: "index",
|
|
5
|
-
props: {
|
|
6
|
-
icon: { default: "" },
|
|
7
|
-
content: {}
|
|
8
|
-
},
|
|
9
|
-
setup(n) {
|
|
10
|
-
return (o, $) => {
|
|
11
|
-
const i = m("svg-icon"), l = a;
|
|
12
|
-
return e(), t(l, d(u(o.$attrs)), f({ _: 2 }, [
|
|
13
|
-
o.$slots.icon || n.icon ? {
|
|
14
|
-
name: "icon",
|
|
15
|
-
fn: s(() => [
|
|
16
|
-
o.$slots.icon ? c(o.$slots, "icon", { key: 0 }) : (e(), t(i, {
|
|
17
|
-
key: 1,
|
|
18
|
-
icon: n.icon
|
|
19
|
-
}, null, 8, ["icon"]))
|
|
20
|
-
]),
|
|
21
|
-
key: "0"
|
|
22
|
-
} : void 0,
|
|
23
|
-
o.$slots.default || n.content ? {
|
|
24
|
-
name: "default",
|
|
25
|
-
fn: s(() => [
|
|
26
|
-
o.$slots.default ? c(o.$slots, "default", { key: 0 }) : (e(), k("span", y, p(n.content), 1))
|
|
27
|
-
]),
|
|
28
|
-
key: "1"
|
|
29
|
-
} : void 0
|
|
30
|
-
]), 1040);
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
B as default
|
|
36
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
type PropsType = {
|
|
2
|
-
icon?: string;
|
|
3
|
-
content?: string;
|
|
4
|
-
};
|
|
5
|
-
declare function __VLS_template(): {
|
|
6
|
-
attrs: Partial<{}>;
|
|
7
|
-
slots: {
|
|
8
|
-
icon?(_: {}): any;
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: any;
|
|
13
|
-
};
|
|
14
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{}>, {
|
|
16
|
-
icon: string;
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("naive-ui"),e=require("vue"),s={key:1},i=e.defineComponent({__name:"index",props:{icon:{default:""},content:{}},setup(n){return(o,r)=>{const t=e.resolveComponent("svg-icon"),c=l.NButton;return e.openBlock(),e.createBlock(c,e.normalizeProps(e.guardReactiveProps(o.$attrs)),e.createSlots({_:2},[o.$slots.icon||n.icon?{name:"icon",fn:e.withCtx(()=>[o.$slots.icon?e.renderSlot(o.$slots,"icon",{key:0}):(e.openBlock(),e.createBlock(t,{key:1,icon:n.icon},null,8,["icon"]))]),key:"0"}:void 0,o.$slots.default||n.content?{name:"default",fn:e.withCtx(()=>[o.$slots.default?e.renderSlot(o.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock("span",s,e.toDisplayString(n.content),1))]),key:"1"}:void 0]),1040)}}});exports.default=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|