sooyie-material 0.0.1 → 0.0.2
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/{edit-C1Gne0fI.mjs → edit-BwUVt41m.mjs} +1 -1
- package/dist/{edit-DF2SGpoh.mjs → edit-DJxSeb24.mjs} +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-Dx7mFloi.mjs +1889 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D5nC2eZW.mjs → edit.vue_vue_type_script_setup_true_lang-aB2_di1J.mjs} +1 -1
- package/dist/{index-Df2_o7yW.mjs → index-CW8xN0Yq.mjs} +2 -2
- package/dist/{index-CTsML4zt.mjs → index-Mo5kukd_.mjs} +80 -92
- package/dist/index-YdYarUAc.mjs +3260 -0
- package/dist/index.mjs +1 -1
- package/dts/src/api/mat-material-info/index.d.ts +10 -1
- package/dts/src/api/mat-material-info/types.d.ts +4 -1
- package/dts/src/views/mat-material-category/edit.vue.d.ts +1 -1
- package/dts/src/views/mat-material-info/edit.vue.d.ts +1 -1
- package/package.json +4 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-DESmcHU5.mjs +0 -1819
- package/dist/index-5-BjPWEv.mjs +0 -3075
package/dist/index.mjs
CHANGED
|
@@ -58,7 +58,7 @@ function d(e) {
|
|
|
58
58
|
let t = e.global.getLocaleMessage("en");
|
|
59
59
|
t = n(t, o), e.global.setLocaleMessage("zh-cn", a), e.global.setLocaleMessage("en", t);
|
|
60
60
|
}
|
|
61
|
-
const m = /* @__PURE__ */ Object.assign({ "./views/mat-material-category/edit.vue": () => import("./edit-
|
|
61
|
+
const m = /* @__PURE__ */ Object.assign({ "./views/mat-material-category/edit.vue": () => import("./edit-BwUVt41m.mjs"), "./views/mat-material-category/index.vue": () => import("./index-Mo5kukd_.mjs"), "./views/mat-material-info/edit.vue": () => import("./edit-DJxSeb24.mjs"), "./views/mat-material-info/index.vue": () => import("./index-CW8xN0Yq.mjs") }), s = {
|
|
62
62
|
install(e) {
|
|
63
63
|
i(m, 7), d(r);
|
|
64
64
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosPromise } from "axios";
|
|
2
|
-
import type { MaterialInfoApi, MaterialInfoReq, MaterialInfoModel, MaterialInfoPage, MaterialInfoList, MaterialInfoKey, MaterialInfoCreateReq, MaterialInfoUpdateReq, MaterialInfoExportReq, MaterialInfoImportReq } from "./types";
|
|
2
|
+
import type { MaterialInfoApi, MaterialInfoReq, MaterialInfoModel, MaterialInfoPage, MaterialInfoList, MaterialInfoKey, MaterialInfoCreateReq, MaterialInfoUpdateReq, MaterialInfoExportReq, MaterialInfoImportReq, EntryList } from "./types";
|
|
3
3
|
declare class MaterialInfoApiImpl implements MaterialInfoApi {
|
|
4
4
|
getKey(model: MaterialInfoModel): MaterialInfoKey;
|
|
5
5
|
/**
|
|
@@ -57,6 +57,15 @@ declare class MaterialInfoApiImpl implements MaterialInfoApi {
|
|
|
57
57
|
* @returns 返回Excel文件的下载Promise
|
|
58
58
|
*/
|
|
59
59
|
exportExcel(queryParams: MaterialInfoExportReq): AxiosPromise;
|
|
60
|
+
/**
|
|
61
|
+
* 获取单位列表
|
|
62
|
+
*
|
|
63
|
+
* @returns 返回一个包含单位列表信息的AxiosPromise对象
|
|
64
|
+
*
|
|
65
|
+
* 重要逻辑说明:
|
|
66
|
+
* - 从用户存储中获取当前租户信息
|
|
67
|
+
*/
|
|
68
|
+
findUnitList(): AxiosPromise<EntryList>;
|
|
60
69
|
}
|
|
61
70
|
declare const materialInfoApi: MaterialInfoApiImpl;
|
|
62
71
|
export { materialInfoApi };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq, Entry } from "jmash-core";
|
|
2
2
|
export interface MaterialInfoApi extends EntityApi {
|
|
3
3
|
}
|
|
4
4
|
export interface MaterialInfoReq extends EntityReq {
|
|
@@ -61,3 +61,6 @@ export interface MaterialInfoExportReq extends EntityExportReq {
|
|
|
61
61
|
}
|
|
62
62
|
export interface MaterialInfoImportReq extends EntityImportReq {
|
|
63
63
|
}
|
|
64
|
+
export interface EntryList {
|
|
65
|
+
values: Entry[];
|
|
66
|
+
}
|
|
@@ -20,8 +20,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
type: PropType<boolean>;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{
|
|
23
|
-
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
23
|
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
24
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
entityKey: MaterialCategoryKey;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -20,8 +20,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
type: PropType<boolean>;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{
|
|
23
|
-
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
24
23
|
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
24
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
entityKey: MaterialInfoKey;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sooyie-material",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/src/index.d.ts",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"vue": "^3.5.13",
|
|
16
16
|
"vue-i18n": "^9.14.4",
|
|
17
17
|
"vue-router": "^4.5.1",
|
|
18
|
-
"jmash-core": "^0.1.
|
|
19
|
-
"jmash-dict": "^0.1.
|
|
20
|
-
"jmash-rbac": "^0.1.
|
|
18
|
+
"jmash-core": "^0.1.13",
|
|
19
|
+
"jmash-dict": "^0.1.4",
|
|
20
|
+
"jmash-rbac": "^0.1.21"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@eslint/js": "^9.14.0",
|