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,5 +1,5 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- modelValue: import("vue").PropType<boolean>;
1
+ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
+ modelValue: globalThis.PropType<boolean>;
3
3
  limit: {
4
4
  type: NumberConstructor;
5
5
  default: number;
@@ -9,8 +9,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
9
9
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  filesResponse: (...args: any[]) => void;
11
11
  uploadFileList: (...args: any[]) => void;
12
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
- modelValue: import("vue").PropType<boolean>;
12
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
13
+ modelValue: globalThis.PropType<boolean>;
14
14
  limit: {
15
15
  type: NumberConstructor;
16
16
  default: number;
@@ -1,11 +1,11 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
2
  pictureUrl: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
6
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
7
  imageSrc: (...args: any[]) => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
9
  pictureUrl: {
10
10
  type: StringConstructor;
11
11
  default: string;
package/dts/constant.d.ts CHANGED
@@ -4,7 +4,7 @@ export declare class Constant {
4
4
  UNIFIED_SPEC: string;
5
5
  MULTI_SPEC: string;
6
6
  };
7
- static readonly SHELF_VALUES: import("vue").Ref<{
7
+ static readonly SHELF_VALUES: globalThis.Ref<{
8
8
  key: string;
9
9
  value: string;
10
10
  }[], {
package/dts/main.d.ts CHANGED
@@ -4,3 +4,4 @@ import "jmash-dict/dist/style.css";
4
4
  import "jmash-rbac/dist/style.css";
5
5
  import "xyvcard-emall/dist/style.css";
6
6
  import "xyvcard-shop/dist/style.css";
7
+ import "element-plus/dist/index.css";
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
2
  specType: {
3
3
  type: StringConstructor;
4
4
  default: () => string;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
10
10
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  getGoodsSku: (...args: any[]) => void;
12
12
  getFormData: (...args: any[]) => void;
13
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
14
14
  specType: {
15
15
  type: StringConstructor;
16
16
  default: () => string;
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from "vue";
2
2
  import type { GoodsSkuCreateReq, SkuSpecValueModel } from "@/api/goods-spu/types";
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
4
4
  specData: {
5
5
  type: PropType<SkuSpecValueModel[]>;
6
6
  default(): never[];
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
16
16
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
17
  getGoodsSku: (...args: any[]) => void;
18
18
  getFormData: (...args: any[]) => void;
19
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
20
20
  specData: {
21
21
  type: PropType<SkuSpecValueModel[]>;
22
22
  default(): never[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-goods",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",
@@ -9,20 +9,21 @@
9
9
  "dts"
10
10
  ],
11
11
  "peerDependencies": {
12
- "vue": "^3.4.21",
13
- "vue-i18n": "^9.10.1",
14
- "vue-router": "^4.3.0",
15
- "pinia": "^2.1.7",
16
- "element-plus": "^2.7.5",
17
- "axios": "^1.6.7",
18
- "jmash-core": "^0.0.100",
19
- "jmash-rbac": "^0.0.35",
12
+ "axios": "^1.7.7",
13
+ "element-plus": "^2.8.7",
14
+ "jmash-core": "^0.0.102",
20
15
  "jmash-dict": "^0.0.44",
16
+ "jmash-rbac": "^0.0.35",
17
+ "pinia": "^2.2.4",
18
+ "vue": "^3.5.11",
19
+ "vue-i18n": "^9.14.1",
20
+ "vue-router": "^4.4.5",
21
21
  "xyvcard-cms": "^0.0.6",
22
- "xyvcard-emall": "^0.0.3",
23
- "xyvcard-shop": "^0.0.10"
22
+ "xyvcard-emall": "^0.0.6",
23
+ "xyvcard-shop": "^0.0.16"
24
24
  },
25
25
  "devDependencies": {
26
+ "@eslint/js": "^9.16.0",
26
27
  "@rushstack/eslint-patch": "^1.3.3",
27
28
  "@tsconfig/node20": "^20.1.2",
28
29
  "@types/node": "^20.11.10",
@@ -30,23 +31,25 @@
30
31
  "@vue/eslint-config-prettier": "^8.0.0",
31
32
  "@vue/eslint-config-typescript": "^12.0.0",
32
33
  "@vue/tsconfig": "^0.5.1",
33
- "eslint": "^8.49.0",
34
- "eslint-plugin-vue": "^9.17.0",
34
+ "eslint": "^9.16.0",
35
+ "eslint-plugin-vue": "^9.32.0",
36
+ "globals": "^15.13.0",
37
+ "moment": "^2.30.1",
35
38
  "npm-run-all2": "^6.1.1",
36
39
  "prettier": "^3.0.3",
37
40
  "sass": "^1.72.0",
38
41
  "typescript": "~5.3.0",
42
+ "typescript-eslint": "^8.17.0",
39
43
  "unplugin-auto-import": "^0.17.5",
40
44
  "unplugin-vue-components": "^0.26.0",
41
45
  "vite": "^5.0.11",
42
- "vue-tsc": "^1.8.27",
43
- "moment": "^2.30.1"
46
+ "vue-tsc": "^1.8.27"
44
47
  },
45
48
  "dependencies": {
46
49
  "@element-plus/icons-vue": "^2.3.1",
50
+ "@vueuse/core": "^10.9.0",
47
51
  "file-saver": "^2.0.5",
48
52
  "nprogress": "^0.2.0",
49
- "@vueuse/core": "^10.9.0",
50
53
  "qs": "^6.12.0"
51
54
  },
52
55
  "scripts": {