base6-ui 2.0.26 → 2.0.28
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/_utils/composable/use-omit-props.d.ts +2 -0
- package/dist/_utils/simply-omit.d.ts +1 -0
- package/dist/components/button-list/index.d.ts +2 -0
- package/dist/components/button-list/src/button-list.d.ts +35 -0
- package/dist/components/button-list/src/interface.d.ts +48 -0
- package/dist/components/data-table/data-table.d.ts +2 -7094
- package/dist/components/data-table/interface.d.ts +26 -2
- package/dist/components/index.d.ts +2 -0
- package/dist/components/shape-button/index.d.ts +2 -0
- package/dist/components/shape-button/src/cssVar.d.ts +7 -0
- package/dist/components/shape-button/src/interface.d.ts +667 -0
- package/dist/components/shape-button/src/shape-button.d.ts +4 -0
- package/dist/hooks/useBodenHttpMessage.d.ts +7 -1
- package/dist/index.css +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/locale/http/en-us.d.ts +96 -42
- package/es/_utils/composable/use-omit-props.d.ts +2 -0
- package/es/_utils/composable/use-omit-props.mjs +12 -0
- package/es/_utils/simply-omit.d.ts +1 -0
- package/es/_utils/simply-omit.mjs +9 -0
- package/es/_virtual/virtual_svg-icons-register.mjs +1 -1
- package/es/components/button-list/index.d.ts +2 -0
- package/es/components/button-list/src/button-list.d.ts +35 -0
- package/es/components/button-list/src/button-list.mjs +63 -0
- package/es/components/button-list/src/interface.d.ts +48 -0
- package/es/components/button-list/src/interface.mjs +12 -0
- package/es/components/data-table/data-table.d.ts +2 -7094
- package/es/components/data-table/data-table.mjs +34 -29
- package/es/components/data-table/interface.d.ts +26 -2
- package/es/components/data-table/interface.mjs +17 -7
- package/es/components/index.d.ts +2 -0
- package/es/components/shape-button/index.d.ts +2 -0
- package/es/components/shape-button/src/cssVar.d.ts +7 -0
- package/es/components/shape-button/src/cssVar.mjs +65 -0
- package/es/components/shape-button/src/interface.d.ts +667 -0
- package/es/components/shape-button/src/interface.mjs +30 -0
- package/es/components/shape-button/src/shape-button.d.ts +4 -0
- package/es/components/shape-button/src/shape-button.mjs +52 -0
- package/es/components/system-actions/index.vue.mjs +2 -2
- package/es/components/system-actions/index.vue2.mjs +43 -48
- package/es/config/themes/components/card/dark.mjs +1 -1
- package/es/config/themes/components/dataTable/dark.mjs +3 -3
- package/es/config/themes/components/inputNumber/light.mjs +7 -5
- package/es/hooks/useBodenHttpMessage.d.ts +7 -1
- package/es/hooks/useBodenHttpMessage.mjs +17 -71
- package/es/index.css +1 -1
- package/es/index.mjs +104 -96
- package/es/locale/http/en-us.d.ts +96 -42
- package/es/locale/http/en-us.mjs +96 -85
- package/es/locale/http/zh-cn.mjs +95 -83
- package/es/node_modules/.pnpm/naive-ui@2.43.1_vue@3.5.22_typescript@5.7.2_/node_modules/naive-ui/es/_utils/css/format-length.mjs +22 -0
- package/lib/_utils/composable/use-omit-props.d.ts +2 -0
- package/lib/_utils/composable/use-omit-props.js +1 -0
- package/lib/_utils/simply-omit.d.ts +1 -0
- package/lib/_utils/simply-omit.js +1 -0
- package/lib/_virtual/virtual_svg-icons-register.js +1 -1
- package/lib/components/button-list/index.d.ts +2 -0
- package/lib/components/button-list/src/button-list.d.ts +35 -0
- package/lib/components/button-list/src/button-list.js +1 -0
- package/lib/components/button-list/src/interface.d.ts +48 -0
- package/lib/components/button-list/src/interface.js +1 -0
- package/lib/components/data-table/data-table.d.ts +2 -7094
- package/lib/components/data-table/data-table.js +1 -1
- package/lib/components/data-table/interface.d.ts +26 -2
- package/lib/components/data-table/interface.js +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/shape-button/index.d.ts +2 -0
- package/lib/components/shape-button/src/cssVar.d.ts +7 -0
- package/lib/components/shape-button/src/cssVar.js +1 -0
- package/lib/components/shape-button/src/interface.d.ts +667 -0
- package/lib/components/shape-button/src/interface.js +1 -0
- package/lib/components/shape-button/src/shape-button.d.ts +4 -0
- package/lib/components/shape-button/src/shape-button.js +1 -0
- package/lib/components/system-actions/index.vue.js +1 -1
- package/lib/components/system-actions/index.vue2.js +1 -1
- package/lib/config/themes/components/card/dark.js +1 -1
- package/lib/config/themes/components/dataTable/dark.js +1 -1
- package/lib/config/themes/components/inputNumber/light.js +1 -1
- package/lib/hooks/useBodenHttpMessage.d.ts +7 -1
- package/lib/hooks/useBodenHttpMessage.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/http/en-us.d.ts +96 -42
- package/lib/locale/http/en-us.js +1 -1
- package/lib/locale/http/zh-cn.js +1 -1
- package/lib/node_modules/.pnpm/naive-ui@2.43.1_vue@3.5.22_typescript@5.7.2_/node_modules/naive-ui/es/_utils/css/format-length.js +1 -0
- package/package.json +1 -1
- package/es/components/system-actions/cssVar.mjs +0 -65
- package/lib/components/system-actions/cssVar.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function simplyOmit<T, K extends keyof T, R extends Record<string, any>>(object: T, keys?: K[], rest?: R): Omit<T, K> & (R extends undefined ? Record<string, unknown> : R);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DropdownOption } from 'naive-ui';
|
|
2
|
+
import { ButtonOption } from './interface';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
readonly gap: {
|
|
5
|
+
readonly type: import('vue').PropType<string | number>;
|
|
6
|
+
readonly default: 12;
|
|
7
|
+
};
|
|
8
|
+
readonly buttonOptions: {
|
|
9
|
+
readonly type: import('vue').PropType<ButtonOption[]>;
|
|
10
|
+
readonly default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
readonly onToggleClick: import('vue').PropType<import('./interface').bodenButtonListEmits["toggleClick"]>;
|
|
13
|
+
readonly onToggleSelect: import('vue').PropType<import('./interface').bodenButtonListEmits["toggleSelect"]>;
|
|
14
|
+
}>, {
|
|
15
|
+
cssVarStyle: import('vue').ComputedRef<{
|
|
16
|
+
'--boden-gap': string;
|
|
17
|
+
}>;
|
|
18
|
+
toggleClick: (e: Event, key: string, option: ButtonOption) => void;
|
|
19
|
+
toggleSelect: (option: ButtonOption, dropdownKey: string | number, dropdownOption: DropdownOption) => void;
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
readonly gap: {
|
|
22
|
+
readonly type: import('vue').PropType<string | number>;
|
|
23
|
+
readonly default: 12;
|
|
24
|
+
};
|
|
25
|
+
readonly buttonOptions: {
|
|
26
|
+
readonly type: import('vue').PropType<ButtonOption[]>;
|
|
27
|
+
readonly default: () => never[];
|
|
28
|
+
};
|
|
29
|
+
readonly onToggleClick: import('vue').PropType<import('./interface').bodenButtonListEmits["toggleClick"]>;
|
|
30
|
+
readonly onToggleSelect: import('vue').PropType<import('./interface').bodenButtonListEmits["toggleSelect"]>;
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
|
+
readonly gap: string | number;
|
|
33
|
+
readonly buttonOptions: ButtonOption[];
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ExtractPublicPropTypes, PropType, VNode } from 'vue';
|
|
2
|
+
import { DropdownOption, DropdownProps, TooltipProps } from 'naive-ui';
|
|
3
|
+
import { BodenButtonProps } from '../../button';
|
|
4
|
+
import { BodenShapeButtonProps } from '../../shape-button';
|
|
5
|
+
export declare const enum BUTTON_TYPE {
|
|
6
|
+
BODEN_BUTTON = "boden-button",
|
|
7
|
+
BODEN_SHAPE_BUTTON = "boden-shape-button"
|
|
8
|
+
}
|
|
9
|
+
export type CommonButtonOption = {
|
|
10
|
+
key: string;
|
|
11
|
+
type: BUTTON_TYPE.BODEN_BUTTON;
|
|
12
|
+
content?: string;
|
|
13
|
+
icon?: string;
|
|
14
|
+
dropdown?: DropdownProps | boolean;
|
|
15
|
+
tooltip?: TooltipProps | boolean;
|
|
16
|
+
tooltipContent?: string;
|
|
17
|
+
buttonProps?: BodenButtonProps;
|
|
18
|
+
render?: () => VNode;
|
|
19
|
+
};
|
|
20
|
+
export type ShapeButtonOption = {
|
|
21
|
+
key: string;
|
|
22
|
+
type: BUTTON_TYPE.BODEN_SHAPE_BUTTON;
|
|
23
|
+
content?: string;
|
|
24
|
+
icon?: string;
|
|
25
|
+
dropdown?: DropdownProps | boolean;
|
|
26
|
+
tooltip?: TooltipProps | boolean;
|
|
27
|
+
tooltipContent?: string;
|
|
28
|
+
buttonProps?: BodenShapeButtonProps;
|
|
29
|
+
render?: () => VNode;
|
|
30
|
+
};
|
|
31
|
+
export type ButtonOption = ShapeButtonOption | CommonButtonOption;
|
|
32
|
+
export declare const bodenButtonListProps: {
|
|
33
|
+
readonly gap: {
|
|
34
|
+
readonly type: PropType<string | number>;
|
|
35
|
+
readonly default: 12;
|
|
36
|
+
};
|
|
37
|
+
readonly buttonOptions: {
|
|
38
|
+
readonly type: PropType<ButtonOption[]>;
|
|
39
|
+
readonly default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
readonly onToggleClick: PropType<bodenButtonListEmits["toggleClick"]>;
|
|
42
|
+
readonly onToggleSelect: PropType<bodenButtonListEmits["toggleSelect"]>;
|
|
43
|
+
};
|
|
44
|
+
export type BodenButtonListProps = ExtractPublicPropTypes<typeof bodenButtonListProps>;
|
|
45
|
+
export type bodenButtonListEmits = {
|
|
46
|
+
'toggleClick': (event: Event, key: string, option: ButtonOption) => void;
|
|
47
|
+
'toggleSelect': (option: ButtonOption, key: string | number, dropdownOption: DropdownOption) => void;
|
|
48
|
+
};
|