xyvcard-goods 0.0.4 → 0.0.6

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.
Files changed (35) hide show
  1. package/dist/{auditIndex-BXUxPTBo.mjs → auditIndex-DZUQQzVu.mjs} +1 -1
  2. package/dist/{auditIndex.vue_vue_type_script_setup_true_lang-2LQeWrbt.mjs → auditIndex.vue_vue_type_script_setup_true_lang-Bnc1wKbA.mjs} +8 -8
  3. package/dist/edit-C3imnLUq.mjs +600 -0
  4. package/dist/{index-PA3Mh5x6.mjs → index-kGlE0ywA.mjs} +60 -59
  5. package/dist/index.mjs +2 -21
  6. package/dist/{info-8-HEtfzY.mjs → info-kiOShGr4.mjs} +18 -14
  7. package/dist/{saleIndex-vZV2Dq0y.mjs → saleIndex-CyMvOgxp.mjs} +1 -1
  8. package/dist/{saleIndex.vue_vue_type_script_setup_true_lang-BpHE0pi0.mjs → saleIndex.vue_vue_type_script_setup_true_lang-BgZZMEph.mjs} +16 -16
  9. package/dist/{shelfIndex-Ciis-I11.mjs → shelfIndex-DZWqrqlw.mjs} +1 -1
  10. package/dist/{shelfIndex.vue_vue_type_script_setup_true_lang-GCWPCxCX.mjs → shelfIndex.vue_vue_type_script_setup_true_lang-B7fw9wHp.mjs} +16 -16
  11. package/dist/{skuForm-DaxgHBOV.mjs → skuForm-Dtq2Ttjc.mjs} +35 -37
  12. package/dist/{skuTable-C4mHW-e9.mjs → skuTable-8oPw0DhV.mjs} +113 -96
  13. package/dist/style.css +1 -1
  14. package/dts/components/EnumRadio/index.vue.d.ts +2 -2
  15. package/dts/components/GoodsUpload/ImageUpload.vue.d.ts +4 -2
  16. package/dts/components/GoodsUpload/MultiUpload.vue.d.ts +4 -4
  17. package/dts/components/GoodsUpload/index.vue.d.ts +2 -2
  18. package/dts/constant.d.ts +1 -1
  19. package/dts/main.d.ts +1 -0
  20. package/dts/views/goods/goods-spu/skuForm.vue.d.ts +2 -2
  21. package/dts/views/goods/goods-spu/skuTable.vue.d.ts +2 -2
  22. package/package.json +19 -16
  23. package/dist/edit-B_KK1orD.mjs +0 -2976
  24. package/dist/el-message-D15RmjW3.mjs +0 -1504
  25. package/dts/api/emall/goods-category/index.d.ts +0 -14
  26. package/dts/api/emall/goods-category/types.d.ts +0 -19
  27. package/dts/api/shop/shop-info/index.d.ts +0 -8
  28. package/dts/api/shop/shop-info/types.d.ts +0 -16
  29. package/dts/api/shop/spec-info/index.d.ts +0 -8
  30. package/dts/api/shop/spec-info/types.d.ts +0 -21
  31. package/dts/api/shop/spec-value/index.d.ts +0 -8
  32. package/dts/api/shop/spec-value/types.d.ts +0 -21
  33. package/dts/views/goods/goods-spu/approvedIndex.vue.d.ts +0 -2
  34. package/dts/views/goods/goods-spu/sku-form.vue.d.ts +0 -31
  35. package/dts/views/goods/goods-spu/sku-table.vue.d.ts +0 -14
@@ -1,14 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { GoodsCategoryApi, GoodsCategoryReq, GoodsCategoryModel, GoodsCategoryKey, GoodsCategoryTree } from "./types";
3
- declare class GoodsCategoryApiImpl implements GoodsCategoryApi {
4
- getKey(model: GoodsCategoryModel): GoodsCategoryKey;
5
- /**
6
- * 查询商品树列表的API接口
7
- *
8
- * @param query 可选的查询参数,符合GoodsCategoryReq接口的实例
9
- * @returns 返回一个AxiosPromise,包含GoodsCategoryTree类型的响应数据
10
- */
11
- findTreeListApi(query?: GoodsCategoryReq): AxiosPromise<GoodsCategoryTree>;
12
- }
13
- declare const goodsCategoryApi: GoodsCategoryApiImpl;
14
- export { goodsCategoryApi };
@@ -1,19 +0,0 @@
1
- import type { LayEntry, EntityApi, EntityReq, EntityModel, EntityKey } from "jmash-core";
2
- export interface GoodsCategoryTree {
3
- results: LayEntry[];
4
- }
5
- export interface GoodsCategoryApi extends EntityApi {
6
- }
7
- export interface GoodsCategoryReq extends EntityReq {
8
- likeCategoryName?: string;
9
- status?: boolean;
10
- hasStatus?: boolean;
11
- excludeId?: string;
12
- }
13
- export interface GoodsCategoryModel extends EntityModel {
14
- categoryId?: string;
15
- }
16
- export interface GoodsCategoryKey extends EntityKey {
17
- tenant?: string;
18
- categoryId?: string;
19
- }
@@ -1,8 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { InfoApi, InfoModel, InfoKey, InfoReq, InfoList } from "./types";
3
- declare class InfoApiImpl implements InfoApi {
4
- getKey(model: InfoModel): InfoKey;
5
- findList(query?: InfoReq): AxiosPromise<InfoList>;
6
- }
7
- declare const shopInfoApi: InfoApiImpl;
8
- export { shopInfoApi };
@@ -1,16 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityKey } from "jmash-core";
2
- export interface InfoApi extends EntityApi {
3
- }
4
- export interface InfoReq extends EntityReq {
5
- }
6
- export interface InfoModel extends EntityModel {
7
- shopId?: string;
8
- shopName?: string;
9
- }
10
- export interface InfoList extends EntityList {
11
- results: Array<InfoModel>;
12
- }
13
- export interface InfoKey extends EntityKey {
14
- tenant?: string;
15
- shopId?: string;
16
- }
@@ -1,8 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { SpecInfoApi, SpecInfoReq, SpecInfoModel, SpecInfoList, SpecInfoKey } from "./types";
3
- declare class SpecInfoApiImpl implements SpecInfoApi {
4
- getKey(model: SpecInfoModel): SpecInfoKey;
5
- findList(query?: SpecInfoReq): AxiosPromise<SpecInfoList>;
6
- }
7
- declare const specInfoApi: SpecInfoApiImpl;
8
- export { specInfoApi };
@@ -1,21 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityKey } from "jmash-core";
2
- export interface SpecInfoApi extends EntityApi {
3
- }
4
- export interface SpecInfoReq extends EntityReq {
5
- specId?: string;
6
- shopId?: string;
7
- specName?: string;
8
- }
9
- export interface SpecInfoModel extends EntityModel {
10
- specId?: string;
11
- shopId?: string;
12
- specName?: string;
13
- disabled?: boolean;
14
- }
15
- export interface SpecInfoList extends EntityList {
16
- results: Array<SpecInfoModel>;
17
- }
18
- export interface SpecInfoKey extends EntityKey {
19
- tenant?: string;
20
- specId?: string;
21
- }
@@ -1,8 +0,0 @@
1
- import type { AxiosPromise } from "axios";
2
- import type { SpecValueApi, SpecValueReq, SpecValueModel, SpecValueList, SpecValueKey } from "./types";
3
- declare class SpecValueApiImpl implements SpecValueApi {
4
- getKey(model: SpecValueModel): SpecValueKey;
5
- findList(query?: SpecValueReq): AxiosPromise<SpecValueList>;
6
- }
7
- declare const specValueApi: SpecValueApiImpl;
8
- export { specValueApi };
@@ -1,21 +0,0 @@
1
- import type { EntityApi, EntityReq, EntityModel, EntityList, EntityKey } from "jmash-core";
2
- export interface SpecValueApi extends EntityApi {
3
- }
4
- export interface SpecValueModel extends EntityModel {
5
- specValueId?: string;
6
- specId?: string;
7
- valueName?: string;
8
- disabled?: boolean;
9
- }
10
- export interface SpecValueKey extends EntityKey {
11
- tenant?: string;
12
- specValueId?: string;
13
- }
14
- export interface SpecValueReq extends EntityReq {
15
- specValueId?: string;
16
- specId?: string;
17
- valueName?: string;
18
- }
19
- export interface SpecValueList extends EntityList {
20
- results: Array<SpecValueModel>;
21
- }
@@ -1,2 +0,0 @@
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;
@@ -1,31 +0,0 @@
1
- import { type PropType } from "vue";
2
- import type { GoodsSkuCreateReq } from "@/api/goods-spu/types";
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- specType: {
5
- type: StringConstructor;
6
- default: () => string;
7
- };
8
- skuListUpdate: {
9
- type: PropType<GoodsSkuCreateReq[]>;
10
- default: () => never[];
11
- };
12
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- getGoodsSku: (...args: any[]) => void;
14
- getFormData: (...args: any[]) => void;
15
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
- specType: {
17
- type: StringConstructor;
18
- default: () => string;
19
- };
20
- skuListUpdate: {
21
- type: PropType<GoodsSkuCreateReq[]>;
22
- default: () => never[];
23
- };
24
- }>> & Readonly<{
25
- onGetGoodsSku?: ((...args: any[]) => any) | undefined;
26
- onGetFormData?: ((...args: any[]) => any) | undefined;
27
- }>, {
28
- specType: string;
29
- skuListUpdate: GoodsSkuCreateReq[];
30
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
- export default _default;
@@ -1,14 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- tableObj: {
3
- type: ObjectConstructor;
4
- default: () => void;
5
- };
6
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
- tableObj: {
8
- type: ObjectConstructor;
9
- default: () => void;
10
- };
11
- }>> & Readonly<{}>, {
12
- tableObj: Record<string, any>;
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
- export default _default;