joy-admin-components 0.2.96 → 0.2.98
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/CmpIcon/index.d.ts +24 -13
- package/dist/components/ConfrimButton/index.d.ts +17 -18
- package/dist/components/ImportButton/index.d.ts +18 -0
- package/dist/joy-admin-components.css +1 -1
- package/dist/joy-admin-components.es.js +422 -384
- package/dist/joy-admin-components.umd.js +2 -2
- package/package.json +1 -1
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
import { DefineComponent
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* 图标组件 - 基于 Element Plus Icon 封装
|
|
4
|
+
* 简化图标的使用,通过 name 属性指定图标名称
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```vue
|
|
8
|
+
* <CmpIcon name="Edit" />
|
|
9
|
+
* <CmpIcon name="Delete" />
|
|
10
|
+
* <CmpIcon name="Search" />
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export interface CmpIconProps {
|
|
14
|
+
/**
|
|
15
|
+
* 图标名称
|
|
16
|
+
* 支持 Element Plus 所有图标名称
|
|
17
|
+
* @see https://element-plus.org/zh-CN/component/icon.html
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare const CmpIcon: DefineComponent<CmpIconProps>;
|
|
23
|
+
export default CmpIcon;
|
|
24
|
+
default _default;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { DefineComponent } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export default ConfrimButton;
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_component: DefineComponent<{}, {
|
|
8
|
+
$emit: (event: "ok" | "no", ...args: any[]) => void;
|
|
9
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
10
|
+
type __VLS_TemplateResult = {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLSpanElement;
|
|
17
|
+
};
|
|
@@ -17,3 +17,21 @@ export interface ImportButtonEmits {
|
|
|
17
17
|
|
|
18
18
|
declare const ImportButton: DefineComponent<ImportButtonProps>;
|
|
19
19
|
export default ImportButton;
|
|
20
|
+
rd<string, any> | undefined;
|
|
21
|
+
readonly accept?: string | undefined;
|
|
22
|
+
readonly fileChange?: Function | undefined;
|
|
23
|
+
readonly version?: number | undefined;
|
|
24
|
+
};
|
|
25
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
26
|
+
input: HTMLInputElement;
|
|
27
|
+
}, HTMLDivElement>;
|
|
28
|
+
type __VLS_TemplateResult = {
|
|
29
|
+
attrs: Partial<{}>;
|
|
30
|
+
slots: {
|
|
31
|
+
default?(_: {}): any;
|
|
32
|
+
};
|
|
33
|
+
refs: {
|
|
34
|
+
input: HTMLInputElement;
|
|
35
|
+
};
|
|
36
|
+
rootEl: HTMLDivElement;
|
|
37
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.cmp-icon[data-v-7b9ec6d8],.cmp-icon[data-v-733f9daa]{padding:0!important}.confirm-button-wrapper[data-v-24cb35fd],.ImportButton[data-v-b8f856ea]{vertical-align:middle;line-height:1;display:inline-block}.searchBar-container .searchBar[data-v-db6f71dd]{transition:all .3s;overflow:hidden}.searchBar-container[data-v-db6f71dd] .el-form-item{margin-bottom:8px!important}.searchBar-container .btns[data-v-db6f71dd]{justify-content:space-between;align-items:center;display:flex}.searchBar-container .btns .left[data-v-db6f71dd]{align-items:center;display:flex}.searchBar-container .btns .left[data-v-db6f71dd] .el-tabs__header{margin:0}.searchBar-container .btns .right[data-v-db6f71dd]{text-align:right;align-items:center;display:flex}[data-v-
|
|
1
|
+
.cmp-icon[data-v-7b9ec6d8],.cmp-icon[data-v-733f9daa]{padding:0!important}.confirm-button-wrapper[data-v-24cb35fd],.ImportButton[data-v-b8f856ea]{vertical-align:middle;line-height:1;display:inline-block}.searchBar-container .searchBar[data-v-db6f71dd]{transition:all .3s;overflow:hidden}.searchBar-container[data-v-db6f71dd] .el-form-item{margin-bottom:8px!important}.searchBar-container .btns[data-v-db6f71dd]{justify-content:space-between;align-items:center;display:flex}.searchBar-container .btns .left[data-v-db6f71dd]{align-items:center;display:flex}.searchBar-container .btns .left[data-v-db6f71dd] .el-tabs__header{margin:0}.searchBar-container .btns .right[data-v-db6f71dd]{text-align:right;align-items:center;display:flex}[data-v-102b435f] .vxe-table-custom-wrapper.placement--top-right.is--active{max-height:400px!important}[data-v-102b435f] .vxe-table.cell-copy-enabled .vxe-body--column{-webkit-user-select:none;user-select:none}[data-v-102b435f] .vxe-table.cell-copy-enabled .vxe-body--column.cell-selected{position:relative;background-color:#409eff26!important}[data-v-102b435f] .vxe-table.cell-copy-enabled .vxe-body--column.cell-border-top:before{content:"";pointer-events:none;z-index:10;background-color:#409eff;height:1px;position:absolute;top:0;left:0;right:0}[data-v-102b435f] .vxe-table.cell-copy-enabled .vxe-body--column.cell-border-bottom:after{content:"";pointer-events:none;z-index:10;background-color:#409eff;height:1px;position:absolute;bottom:0;left:0;right:0}[data-v-102b435f] .vxe-table.cell-copy-enabled .vxe-body--column.cell-border-left{border-left:1px solid #409eff!important}[data-v-102b435f] .vxe-table.cell-copy-enabled .vxe-body--column.cell-border-right{border-right:1px solid #409eff!important}.drawer-content .drawer-btn{box-sizing:border-box;text-align:right;z-index:10;background-color:#fff;width:100%;padding:10px 60px 20px 20px;position:absolute;bottom:0}
|
|
2
2
|
/*$vite$:1*/
|