joy-admin-components 0.2.100 → 0.2.102
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.
|
@@ -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,16 +1,23 @@
|
|
|
1
|
-
import { DefineComponent
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { DefineComponent } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* 导入按钮组件 - 文件上传按钮
|
|
4
|
+
* 点击按钮选择文件,支持自定义文件类型
|
|
5
|
+
*/
|
|
6
|
+
export interface ImportButtonProps {
|
|
7
|
+
/** 接受的文件类型,默认 '.xlsx,.xls' */
|
|
8
|
+
accept?: string;
|
|
9
|
+
/** 按钮加载状态 */
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface ImportButtonEmits {
|
|
14
|
+
/** 文件选择后触发 */
|
|
15
|
+
(e: 'fileChange', file: File): void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare const ImportButton: DefineComponent<ImportButtonProps>;
|
|
19
|
+
export default ImportButton;
|
|
20
|
+
rd<string, any> | undefined;
|
|
14
21
|
readonly accept?: string | undefined;
|
|
15
22
|
readonly fileChange?: Function | undefined;
|
|
16
23
|
readonly version?: number | undefined;
|
|
@@ -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-d87fbf92] .vxe-table-custom-wrapper.placement--top-right.is--active{max-height:400px!important}.cell-copy-enabled .vxe-body--column{-webkit-user-select:none;user-select:none}.cell-copy-enabled .vxe-body--column.cell-selected{position:relative;background-color:#409eff26!important}.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}.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}.cell-copy-enabled .vxe-body--column.cell-border-left{border-left:1px solid #409eff!important}.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*/
|