sooyie-material 0.0.12 → 0.0.13
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/dts/App.vue.d.ts +2 -0
- package/dts/api/dict.d.ts +9 -0
- package/dts/api/index.d.ts +5 -0
- package/dts/api/mat-material-category/index.d.ts +50 -0
- package/dts/api/mat-material-category/types.d.ts +41 -0
- package/dts/api/mat-material-info/index.d.ts +71 -0
- package/dts/api/mat-material-info/types.d.ts +74 -0
- package/dts/components/MaterialModalSelector/index.vue.d.ts +11 -0
- package/dts/index.d.ts +9 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/lang/material/en.d.ts +2 -0
- package/dts/lang/material/zh-cn.d.ts +32 -0
- package/dts/main.d.ts +4 -0
- package/dts/permission.d.ts +1 -0
- package/dts/views/mat-material-category/edit.vue.d.ts +28 -0
- package/dts/views/mat-material-category/index.vue.d.ts +2 -0
- package/dts/views/mat-material-info/edit.vue.d.ts +28 -0
- package/dts/views/mat-material-info/index.vue.d.ts +2 -0
- package/dts/views/mat-material-info/replaceDialog.vue.d.ts +27 -0
- package/package.json +3 -3
package/dts/App.vue.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BizLayDict, type LayEntry, BizDict, type Entry } from "jmash-core";
|
|
2
|
+
import type { MaterialCategoryModel } from "@/api/mat-material-category/types";
|
|
3
|
+
export declare class MaterialCategoryBizLayDict extends BizLayDict {
|
|
4
|
+
useValues(): Promise<LayEntry[]>;
|
|
5
|
+
convertToLayEntryArray(dictLayEntries: MaterialCategoryModel[]): LayEntry[];
|
|
6
|
+
}
|
|
7
|
+
export declare class UserBizDict extends BizDict {
|
|
8
|
+
useValues(): Promise<Entry[]>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { MaterialCategoryApi, MaterialCategoryReq, MaterialCategoryModel, MaterialCategoryList, MaterialCategoryKey, MaterialCategoryCreateReq, MaterialCategoryUpdateReq } from "./types";
|
|
3
|
+
declare class MaterialCategoryApiImpl implements MaterialCategoryApi {
|
|
4
|
+
getKey(model: MaterialCategoryModel): MaterialCategoryKey;
|
|
5
|
+
/**
|
|
6
|
+
* 查询列表信息材料分类
|
|
7
|
+
* @param query - 查询参数对象,可选
|
|
8
|
+
* @returns 返回材料分类列表的Promise对象
|
|
9
|
+
*/
|
|
10
|
+
findList(query?: MaterialCategoryReq): AxiosPromise<MaterialCategoryList>;
|
|
11
|
+
/**
|
|
12
|
+
* 根据ID查询材料分类信息
|
|
13
|
+
* @param query 包含分类ID的查询参数对象
|
|
14
|
+
* @returns 返回材料分类信息的Promise对象
|
|
15
|
+
*/
|
|
16
|
+
findById(query: MaterialCategoryKey): AxiosPromise<MaterialCategoryModel>;
|
|
17
|
+
/**
|
|
18
|
+
* 创建实体材料分类
|
|
19
|
+
* @param data - 材料分类创建请求参数
|
|
20
|
+
* @returns 返回创建的材料分类信息
|
|
21
|
+
*/
|
|
22
|
+
create(data: MaterialCategoryCreateReq): AxiosPromise<MaterialCategoryModel>;
|
|
23
|
+
/**
|
|
24
|
+
* 修改实体材料分类
|
|
25
|
+
* @param data - 材料分类更新请求数据
|
|
26
|
+
* @returns 返回材料分类模型的Promise对象
|
|
27
|
+
*/
|
|
28
|
+
update(data: MaterialCategoryUpdateReq): AxiosPromise<MaterialCategoryModel>;
|
|
29
|
+
/**
|
|
30
|
+
* 移动物料分类位置(上移或下移)
|
|
31
|
+
* @param key - 物料分类标识对象,包含分类ID等信息
|
|
32
|
+
* @param up - 移动方向,true表示上移,false表示下移
|
|
33
|
+
* @returns 返回Promise对象,resolve时返回操作是否成功的布尔值
|
|
34
|
+
*/
|
|
35
|
+
move(key: MaterialCategoryKey, up: boolean): AxiosPromise<boolean>;
|
|
36
|
+
/**
|
|
37
|
+
* 删除材料分类
|
|
38
|
+
* @param query - 材料分类的查询条件,包含要删除的分类ID等信息
|
|
39
|
+
* @returns 返回一个Promise,解析后得到删除的材料分类数据模型
|
|
40
|
+
*/
|
|
41
|
+
delete(query: MaterialCategoryKey): AxiosPromise<MaterialCategoryModel>;
|
|
42
|
+
/**
|
|
43
|
+
* 批量删除材料分类
|
|
44
|
+
* @param keys 需要删除的材料分类键值数组
|
|
45
|
+
* @returns 返回一个Promise,解析后得到删除操作影响的记录数
|
|
46
|
+
*/
|
|
47
|
+
batchDelete(keys: MaterialCategoryKey[]): AxiosPromise<number>;
|
|
48
|
+
}
|
|
49
|
+
declare const materialCategoryApi: MaterialCategoryApiImpl;
|
|
50
|
+
export { materialCategoryApi };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
|
|
2
|
+
export interface MaterialCategoryApi extends EntityApi {
|
|
3
|
+
}
|
|
4
|
+
export interface MaterialCategoryReq extends EntityReq {
|
|
5
|
+
likeCategoryName?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface MaterialCategoryModel extends EntityModel {
|
|
8
|
+
categoryId?: string;
|
|
9
|
+
categoryName?: string;
|
|
10
|
+
parentId?: string;
|
|
11
|
+
note?: string;
|
|
12
|
+
children?: Array<MaterialCategoryModel>;
|
|
13
|
+
}
|
|
14
|
+
export interface MaterialCategoryList extends EntityList {
|
|
15
|
+
results: Array<MaterialCategoryModel>;
|
|
16
|
+
}
|
|
17
|
+
export interface MaterialCategoryKey extends EntityKey {
|
|
18
|
+
tenant?: string;
|
|
19
|
+
categoryId?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface MaterialCategoryKeyList extends EntityKeyList {
|
|
22
|
+
tenant?: string;
|
|
23
|
+
categoryId?: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
export interface MaterialCategoryCreateReq extends EntityCreateReq {
|
|
26
|
+
categoryName?: string;
|
|
27
|
+
parentId?: string;
|
|
28
|
+
note?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface MaterialCategoryUpdateReq extends EntityUpdateReq {
|
|
31
|
+
categoryId?: string;
|
|
32
|
+
categoryName?: string;
|
|
33
|
+
parentId?: string;
|
|
34
|
+
note?: string;
|
|
35
|
+
}
|
|
36
|
+
export type MaterialCategoryFormReq = MaterialCategoryCreateReq | MaterialCategoryUpdateReq;
|
|
37
|
+
export interface MaterialCategoryMoveKey {
|
|
38
|
+
tenant?: string;
|
|
39
|
+
categoryId?: string;
|
|
40
|
+
up?: boolean;
|
|
41
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { MaterialInfoApi, MaterialInfoReq, MaterialInfoModel, MaterialInfoPage, MaterialInfoKey, MaterialInfoCreateReq, MaterialInfoUpdateReq, MaterialInfoExportReq, MaterialInfoImportReq, EntryList, MaterialInfoReplaceReq } from "./types";
|
|
3
|
+
declare class MaterialInfoApiImpl implements MaterialInfoApi {
|
|
4
|
+
getKey(model: MaterialInfoModel): MaterialInfoKey;
|
|
5
|
+
/**
|
|
6
|
+
* 查询翻页信息材料信息
|
|
7
|
+
* @param query - 查询条件参数对象,可选
|
|
8
|
+
* @returns 返回材料信息分页数据的Promise对象
|
|
9
|
+
*/
|
|
10
|
+
findPage(query?: MaterialInfoReq): AxiosPromise<MaterialInfoPage>;
|
|
11
|
+
/**
|
|
12
|
+
* 查询材料信息
|
|
13
|
+
* @param query - 材料信息查询条件,包含材料ID等关键信息
|
|
14
|
+
* @returns 返回材料信息的Promise对象,包含材料详细信息
|
|
15
|
+
*/
|
|
16
|
+
findById(query: MaterialInfoKey): AxiosPromise<MaterialInfoModel>;
|
|
17
|
+
/**
|
|
18
|
+
* 创建实体材料信息
|
|
19
|
+
* @param data - 材料信息创建请求数据
|
|
20
|
+
* @returns 返回创建的材料信息模型的Promise对象
|
|
21
|
+
*/
|
|
22
|
+
create(data: MaterialInfoCreateReq): AxiosPromise<MaterialInfoModel>;
|
|
23
|
+
/**
|
|
24
|
+
* 修改实体材料信息
|
|
25
|
+
* @param data - 材料信息更新请求数据
|
|
26
|
+
* @returns 返回材料信息模型的Promise对象
|
|
27
|
+
*/
|
|
28
|
+
update(data: MaterialInfoUpdateReq): AxiosPromise<MaterialInfoModel>;
|
|
29
|
+
/**
|
|
30
|
+
* 删除材料信息
|
|
31
|
+
* @param query - 材料信息的查询条件,包含要删除的材料ID等信息
|
|
32
|
+
* @returns 返回删除操作的结果,包含被删除的材料信息模型数据
|
|
33
|
+
*/
|
|
34
|
+
delete(query: MaterialInfoKey): AxiosPromise<MaterialInfoModel>;
|
|
35
|
+
/**
|
|
36
|
+
* 批量删除材料信息
|
|
37
|
+
* @param keys - 要删除的材料信息键值数组
|
|
38
|
+
* @returns 返回一个Promise,解析后为删除操作影响的记录数
|
|
39
|
+
*/
|
|
40
|
+
batchDelete(keys: MaterialInfoKey[]): AxiosPromise<number>;
|
|
41
|
+
/**
|
|
42
|
+
* 下载导入模板材料信息
|
|
43
|
+
* 该函数用于下载指定租户的材料信息导入模板文件
|
|
44
|
+
* @returns 返回一个AxiosPromise对象,包含下载的模板文件数据
|
|
45
|
+
*/
|
|
46
|
+
downloadTemplate(): AxiosPromise;
|
|
47
|
+
/**
|
|
48
|
+
* 导入材料信息
|
|
49
|
+
* @param data - 材料信息导入请求参数
|
|
50
|
+
* @returns 返回导入结果的Promise对象
|
|
51
|
+
*/
|
|
52
|
+
importExcel(data: MaterialInfoImportReq): AxiosPromise<string>;
|
|
53
|
+
/**
|
|
54
|
+
* 导出材料信息Excel文件
|
|
55
|
+
* @param queryParams - 材料信息导出请求参数
|
|
56
|
+
* @returns 返回Excel文件的下载Promise
|
|
57
|
+
*/
|
|
58
|
+
exportExcel(queryParams: MaterialInfoExportReq): AxiosPromise;
|
|
59
|
+
/**
|
|
60
|
+
* 获取单位列表
|
|
61
|
+
*
|
|
62
|
+
* @returns 返回一个包含单位列表信息的AxiosPromise对象
|
|
63
|
+
*
|
|
64
|
+
* 重要逻辑说明:
|
|
65
|
+
* - 从用户存储中获取当前租户信息
|
|
66
|
+
*/
|
|
67
|
+
findUnitList(): AxiosPromise<EntryList>;
|
|
68
|
+
replace(data: MaterialInfoReplaceReq): AxiosPromise<Number>;
|
|
69
|
+
}
|
|
70
|
+
declare const materialInfoApi: MaterialInfoApiImpl;
|
|
71
|
+
export { materialInfoApi };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq, Entry } from "jmash-core";
|
|
2
|
+
export interface MaterialInfoApi extends EntityApi {
|
|
3
|
+
}
|
|
4
|
+
export interface MaterialInfoReq extends EntityReq {
|
|
5
|
+
categoryId?: string;
|
|
6
|
+
likeMaterialName?: string;
|
|
7
|
+
likeMaterialCode?: string;
|
|
8
|
+
likeSpecInfo?: string;
|
|
9
|
+
plannerId?: string;
|
|
10
|
+
operatorId?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface MaterialInfoModel extends EntityModel {
|
|
13
|
+
materialId?: string;
|
|
14
|
+
categoryId?: string;
|
|
15
|
+
materialCode?: string;
|
|
16
|
+
materialName?: string;
|
|
17
|
+
specInfo?: string;
|
|
18
|
+
unit?: string;
|
|
19
|
+
unitPrice?: number;
|
|
20
|
+
plannerId?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface MaterialInfoPage extends EntityPage {
|
|
23
|
+
results: Array<MaterialInfoModel>;
|
|
24
|
+
subTotalDto: MaterialInfoModelTotal;
|
|
25
|
+
totalDto: MaterialInfoModelTotal;
|
|
26
|
+
}
|
|
27
|
+
export interface MaterialInfoModelTotal extends EntityTotal {
|
|
28
|
+
totalSize: number;
|
|
29
|
+
}
|
|
30
|
+
export interface MaterialInfoKey extends EntityKey {
|
|
31
|
+
tenant?: string;
|
|
32
|
+
materialId?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface MaterialInfoKeyList extends EntityKeyList {
|
|
35
|
+
tenant?: string;
|
|
36
|
+
materialId?: Array<string>;
|
|
37
|
+
}
|
|
38
|
+
export interface MaterialInfoCreateReq extends EntityCreateReq {
|
|
39
|
+
categoryId?: string;
|
|
40
|
+
materialCode?: string;
|
|
41
|
+
materialName?: string;
|
|
42
|
+
specInfo?: string;
|
|
43
|
+
unit?: string;
|
|
44
|
+
unitPrice?: number;
|
|
45
|
+
plannerId?: string;
|
|
46
|
+
operatorId?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface MaterialInfoUpdateReq extends EntityUpdateReq {
|
|
49
|
+
materialId?: string;
|
|
50
|
+
categoryId?: string;
|
|
51
|
+
materialCode?: string;
|
|
52
|
+
materialName?: string;
|
|
53
|
+
specInfo?: string;
|
|
54
|
+
unit?: string;
|
|
55
|
+
unitPrice?: number;
|
|
56
|
+
plannerId?: string;
|
|
57
|
+
operatorId?: string;
|
|
58
|
+
}
|
|
59
|
+
export type MaterialInfoFormReq = MaterialInfoCreateReq | MaterialInfoUpdateReq;
|
|
60
|
+
export interface MaterialInfoExportReq extends EntityExportReq {
|
|
61
|
+
req: MaterialInfoReq;
|
|
62
|
+
}
|
|
63
|
+
export interface MaterialInfoImportReq extends EntityImportReq {
|
|
64
|
+
}
|
|
65
|
+
export interface EntryList {
|
|
66
|
+
values: Entry[];
|
|
67
|
+
}
|
|
68
|
+
export interface MaterialInfoReplaceReq {
|
|
69
|
+
tenant?: string;
|
|
70
|
+
requestId?: string;
|
|
71
|
+
materialId?: Array<string>;
|
|
72
|
+
plannerId?: string;
|
|
73
|
+
operatorId?: string;
|
|
74
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
selectMaterial: (...args: any[]) => void;
|
|
6
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
+
onSelectMaterial?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
package/dts/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { App } from "vue";
|
|
2
|
+
export { materialInfoApi } from "./api/mat-material-info/index";
|
|
3
|
+
export type { MaterialInfoReq, MaterialInfoModel, } from "./api/mat-material-info/types";
|
|
4
|
+
export { MaterialCategoryBizLayDict } from "./api/dict";
|
|
5
|
+
import "./styles/index.scss";
|
|
6
|
+
declare const material: {
|
|
7
|
+
install(app: App): void;
|
|
8
|
+
};
|
|
9
|
+
export default material;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function loadLang(i18n: any): void;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
materialCategory: {
|
|
3
|
+
categoryName: string;
|
|
4
|
+
parentId: string;
|
|
5
|
+
orderBy: string;
|
|
6
|
+
note: string;
|
|
7
|
+
categoryNameRequired: string;
|
|
8
|
+
parentIdRequired: string;
|
|
9
|
+
noteRequired: string;
|
|
10
|
+
};
|
|
11
|
+
materialInfo: {
|
|
12
|
+
name: string;
|
|
13
|
+
categoryId: string;
|
|
14
|
+
materialCode: string;
|
|
15
|
+
materialName: string;
|
|
16
|
+
specInfo: string;
|
|
17
|
+
unit: string;
|
|
18
|
+
unitPrice: string;
|
|
19
|
+
plannerId: string;
|
|
20
|
+
operatorId: string;
|
|
21
|
+
categoryIdRequired: string;
|
|
22
|
+
materialCodeRequired: string;
|
|
23
|
+
materialNameRequired: string;
|
|
24
|
+
specInfoRequired: string;
|
|
25
|
+
unitRequired: string;
|
|
26
|
+
unitPriceRequired: string;
|
|
27
|
+
plannerIdRequired: string;
|
|
28
|
+
operatorIdRequired: string;
|
|
29
|
+
replace: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
package/dts/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "nprogress/nprogress.css";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { MaterialCategoryKey } from "@/api/mat-material-category/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
entityKey: {
|
|
5
|
+
type: PropType<MaterialCategoryKey>;
|
|
6
|
+
default: () => void;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
refresh: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
entityKey: {
|
|
16
|
+
type: PropType<MaterialCategoryKey>;
|
|
17
|
+
default: () => void;
|
|
18
|
+
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
24
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
entityKey: MaterialCategoryKey;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { MaterialInfoKey } from "@/api/mat-material-info/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
entityKey: {
|
|
5
|
+
type: PropType<MaterialInfoKey>;
|
|
6
|
+
default: () => void;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
refresh: (...args: any[]) => void;
|
|
13
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
entityKey: {
|
|
16
|
+
type: PropType<MaterialInfoKey>;
|
|
17
|
+
default: () => void;
|
|
18
|
+
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
24
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
entityKey: MaterialInfoKey;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
selectMaterialId: {
|
|
4
|
+
type: PropType<string[]>;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<boolean>;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
refresh: (...args: any[]) => void;
|
|
12
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
selectMaterialId: {
|
|
15
|
+
type: PropType<string[]>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
23
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
selectMaterialId: string[];
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sooyie-material",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
|
-
"types": "dts/
|
|
6
|
+
"types": "dts/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
|
-
"dts
|
|
9
|
+
"dts"
|
|
10
10
|
],
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"axios": "^1.9.0",
|