joy-admin-components 0.2.105 → 0.2.107
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/CmpDictionary/index.d.ts +29 -43
- package/dist/components/CmpIcon/index.d.ts +13 -24
- package/dist/joy-admin-components.css +1 -1
- package/dist/joy-admin-components.es.js +245 -244
- package/dist/joy-admin-components.umd.js +2 -2
- package/dist/utils/index.d.ts +23 -0
- package/package.json +1 -1
- package/src/utils/index.d.ts +23 -0
|
@@ -1,46 +1,32 @@
|
|
|
1
|
-
import { DefineComponent } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface CmpDictionaryEmits {
|
|
33
|
-
/** API 请求成功后触发 */
|
|
34
|
-
(e: 'success', data: any[]): void;
|
|
35
|
-
/** 选择值变化时触发 */
|
|
36
|
-
(e: 'change', value: any): void;
|
|
37
|
-
/** v-model 更新事件 */
|
|
38
|
-
(e: 'update:modelValue', value: any): void;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
declare const CmpDictionary: DefineComponent<CmpDictionaryProps>;
|
|
42
|
-
export default CmpDictionary;
|
|
43
|
-
Partial<{}>;
|
|
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: "change" | "success" | "changeAll", ...args: any[]) => void;
|
|
9
|
+
showCheckAll: boolean;
|
|
10
|
+
optionClick: Function;
|
|
11
|
+
labelValue: Record<string, any>;
|
|
12
|
+
changeLocal: boolean;
|
|
13
|
+
data?: unknown[] | undefined;
|
|
14
|
+
api?: Function | undefined;
|
|
15
|
+
maxLimit?: number | undefined;
|
|
16
|
+
minLimit?: number | undefined;
|
|
17
|
+
$props: {
|
|
18
|
+
readonly showCheckAll?: boolean | undefined;
|
|
19
|
+
readonly optionClick?: Function | undefined;
|
|
20
|
+
readonly labelValue?: Record<string, any> | undefined;
|
|
21
|
+
readonly changeLocal?: boolean | undefined;
|
|
22
|
+
readonly data?: unknown[] | undefined;
|
|
23
|
+
readonly api?: Function | undefined;
|
|
24
|
+
readonly maxLimit?: number | undefined;
|
|
25
|
+
readonly minLimit?: number | undefined;
|
|
26
|
+
};
|
|
27
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
type __VLS_TemplateResult = {
|
|
29
|
+
attrs: Partial<{}>;
|
|
44
30
|
slots: {
|
|
45
31
|
header?(_: {}): any;
|
|
46
32
|
header?(_: {}): any;
|
|
@@ -1,24 +1,13 @@
|
|
|
1
|
-
import { DefineComponent } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export
|
|
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
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
name: {
|
|
4
|
+
tyepe: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
8
|
+
name: {
|
|
9
|
+
tyepe: StringConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -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-c80f0191] .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*/
|