xyvcard-goods 0.0.7 → 0.0.8

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 (24) hide show
  1. package/dist/{approveFailIndex-F3GtuNeX.mjs → approveFailIndex-BecI6njE.mjs} +1 -1
  2. package/dist/{approveFailIndex.vue_vue_type_script_setup_true_lang-8ykH4NF1.mjs → approveFailIndex.vue_vue_type_script_setup_true_lang-1FXHUoMJ.mjs} +9 -9
  3. package/dist/{auditIndex-DZUQQzVu.mjs → auditIndex-ByyMgebr.mjs} +1 -1
  4. package/dist/{auditIndex.vue_vue_type_script_setup_true_lang-Bnc1wKbA.mjs → auditIndex.vue_vue_type_script_setup_true_lang-DT2irP9g.mjs} +44 -44
  5. package/dist/edit-BWUxDk9Y.mjs +594 -0
  6. package/dist/{index-D5_GsXR7.mjs → index-AZ4TxL-_.mjs} +48 -51
  7. package/dist/{index-kGlE0ywA.mjs → index-BypI3ZNk.mjs} +90 -90
  8. package/dist/index.mjs +2 -2
  9. package/dist/{info-kiOShGr4.mjs → info-BJ1Ld_6D.mjs} +20 -23
  10. package/dist/{saleIndex-CyMvOgxp.mjs → saleIndex-CBtuv6um.mjs} +1 -1
  11. package/dist/{saleIndex.vue_vue_type_script_setup_true_lang-BgZZMEph.mjs → saleIndex.vue_vue_type_script_setup_true_lang-Cxv3foxp.mjs} +69 -69
  12. package/dist/{shelfIndex-DZWqrqlw.mjs → shelfIndex-CykEAeD4.mjs} +1 -1
  13. package/dist/{shelfIndex.vue_vue_type_script_setup_true_lang-B7fw9wHp.mjs → shelfIndex.vue_vue_type_script_setup_true_lang-UPt1ZDpP.mjs} +11 -11
  14. package/dist/{skuForm-Dtq2Ttjc.mjs → skuForm-DdiMztDh.mjs} +82 -77
  15. package/dist/{skuTable-8oPw0DhV.mjs → skuTable-Cg06m_5i.mjs} +122 -127
  16. package/dist/style.css +1 -1
  17. package/dts/api/dict.d.ts +6 -2
  18. package/dts/api/goods-spu/types.d.ts +6 -5
  19. package/dts/components/EnumRadio/index.vue.d.ts +4 -3
  20. package/dts/components/GoodsUpload/ImageUpload.vue.d.ts +10 -18
  21. package/dts/constant.d.ts +3 -3
  22. package/dts/views/goods/goods-spu/skuForm.vue.d.ts +9 -0
  23. package/package.json +65 -65
  24. package/dist/edit-C3imnLUq.mjs +0 -600
@@ -1,4 +1,8 @@
1
1
  declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
+ modelValue: {
3
+ type: StringConstructor;
4
+ default: () => string;
5
+ };
2
6
  listType: {
3
7
  type: () => "text" | "picture" | "picture-card";
4
8
  default: string;
@@ -7,15 +11,11 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
7
11
  type: NumberConstructor;
8
12
  default: number;
9
13
  };
10
- pictureUrl: {
11
- type: ArrayConstructor;
12
- default: () => never[];
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
+ modelValue: {
16
+ type: StringConstructor;
17
+ default: () => string;
13
18
  };
14
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- filesResponse: (...args: any[]) => void;
16
- uploadFileList: (...args: any[]) => void;
17
- removeFile: (...args: any[]) => void;
18
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
19
19
  listType: {
20
20
  type: () => "text" | "picture" | "picture-card";
21
21
  default: string;
@@ -24,17 +24,9 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
24
24
  type: NumberConstructor;
25
25
  default: number;
26
26
  };
27
- pictureUrl: {
28
- type: ArrayConstructor;
29
- default: () => never[];
30
- };
31
- }>> & Readonly<{
32
- onFilesResponse?: ((...args: any[]) => any) | undefined;
33
- onUploadFileList?: ((...args: any[]) => any) | undefined;
34
- onRemoveFile?: ((...args: any[]) => any) | undefined;
35
- }>, {
27
+ }>> & Readonly<{}>, {
28
+ modelValue: string;
36
29
  listType: "picture" | "text" | "picture-card";
37
30
  limit: number;
38
- pictureUrl: unknown[];
39
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
40
32
  export default _default;
package/dts/constant.d.ts CHANGED
@@ -5,13 +5,13 @@ export declare class Constant {
5
5
  MULTI_SPEC: string;
6
6
  };
7
7
  static readonly SHELF_VALUES: globalThis.Ref<{
8
- key: string;
8
+ key: boolean;
9
9
  value: string;
10
10
  }[], {
11
- key: string;
11
+ key: boolean;
12
12
  value: string;
13
13
  }[] | {
14
- key: string;
14
+ key: boolean;
15
15
  value: string;
16
16
  }[]>;
17
17
  static readonly ENUM_FREIGHT_TYPE = "xyvcard.goods.protobuf.FreightType";
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
7
7
  type: ObjectConstructor;
8
8
  default: () => void;
9
9
  };
10
+ isDisabled: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
10
14
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
15
  getGoodsSku: (...args: any[]) => void;
12
16
  getFormData: (...args: any[]) => void;
@@ -19,11 +23,16 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
19
23
  type: ObjectConstructor;
20
24
  default: () => void;
21
25
  };
26
+ isDisabled: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
22
30
  }>> & Readonly<{
23
31
  onGetGoodsSku?: ((...args: any[]) => any) | undefined;
24
32
  onGetFormData?: ((...args: any[]) => any) | undefined;
25
33
  }>, {
26
34
  form: Record<string, any>;
27
35
  specType: string;
36
+ isDisabled: boolean;
28
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
38
  export default _default;
package/package.json CHANGED
@@ -1,65 +1,65 @@
1
- {
2
- "name": "xyvcard-goods",
3
- "version": "0.0.7",
4
- "private": false,
5
- "module": "dist/index.mjs",
6
- "types": "dts/index.d.ts",
7
- "files": [
8
- "dist",
9
- "dts"
10
- ],
11
- "peerDependencies": {
12
- "axios": "^1.7.7",
13
- "element-plus": "^2.8.7",
14
- "jmash-core": "^0.0.102",
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
- "xyvcard-cms": "^0.0.26",
22
- "xyvcard-emall": "^0.0.6",
23
- "xyvcard-shop": "^0.0.16"
24
- },
25
- "devDependencies": {
26
- "@eslint/js": "^9.16.0",
27
- "@rushstack/eslint-patch": "^1.3.3",
28
- "@tsconfig/node20": "^20.1.2",
29
- "@types/node": "^20.11.10",
30
- "@vitejs/plugin-vue": "^5.0.3",
31
- "@vue/eslint-config-prettier": "^8.0.0",
32
- "@vue/eslint-config-typescript": "^12.0.0",
33
- "@vue/tsconfig": "^0.5.1",
34
- "eslint": "^9.16.0",
35
- "eslint-plugin-vue": "^9.32.0",
36
- "globals": "^15.13.0",
37
- "moment": "^2.30.1",
38
- "npm-run-all2": "^6.1.1",
39
- "prettier": "^3.0.3",
40
- "sass": "^1.72.0",
41
- "typescript": "~5.3.0",
42
- "typescript-eslint": "^8.17.0",
43
- "unplugin-auto-import": "^0.17.5",
44
- "unplugin-vue-components": "^0.26.0",
45
- "vite": "^5.0.11",
46
- "vue-tsc": "^1.8.27"
47
- },
48
- "dependencies": {
49
- "@element-plus/icons-vue": "^2.3.1",
50
- "@vueuse/core": "^10.9.0",
51
- "file-saver": "^2.0.5",
52
- "nprogress": "^0.2.0",
53
- "qs": "^6.12.0"
54
- },
55
- "scripts": {
56
- "dev": "vite",
57
- "build": "vite build && pnpm build:dts",
58
- "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
59
- "preview": "vite preview",
60
- "build-only": "vite build",
61
- "type-check": "vue-tsc --build --force",
62
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
63
- "format": "prettier --write src/"
64
- }
65
- }
1
+ {
2
+ "name": "xyvcard-goods",
3
+ "version": "0.0.8",
4
+ "private": false,
5
+ "module": "dist/index.mjs",
6
+ "types": "dts/index.d.ts",
7
+ "files": [
8
+ "dist",
9
+ "dts"
10
+ ],
11
+ "scripts": {
12
+ "dev": "vite",
13
+ "build": "vite build && pnpm build:dts",
14
+ "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
15
+ "preview": "vite preview",
16
+ "build-only": "vite build",
17
+ "type-check": "vue-tsc --build --force",
18
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
19
+ "format": "prettier --write src/"
20
+ },
21
+ "peerDependencies": {
22
+ "axios": "^1.7.7",
23
+ "element-plus": "^2.8.7",
24
+ "jmash-core": "^0.0.102",
25
+ "jmash-dict": "^0.0.44",
26
+ "jmash-rbac": "^0.0.35",
27
+ "pinia": "^2.2.4",
28
+ "vue": "^3.5.11",
29
+ "vue-i18n": "^9.14.1",
30
+ "vue-router": "^4.4.5",
31
+ "xyvcard-cms": "^0.0.26",
32
+ "xyvcard-emall": "^0.0.6",
33
+ "xyvcard-shop": "^0.0.16"
34
+ },
35
+ "devDependencies": {
36
+ "@eslint/js": "^9.16.0",
37
+ "@rushstack/eslint-patch": "^1.3.3",
38
+ "@tsconfig/node20": "^20.1.2",
39
+ "@types/node": "^20.11.10",
40
+ "@vitejs/plugin-vue": "^5.0.3",
41
+ "@vue/eslint-config-prettier": "^8.0.0",
42
+ "@vue/eslint-config-typescript": "^12.0.0",
43
+ "@vue/tsconfig": "^0.5.1",
44
+ "eslint": "^9.16.0",
45
+ "eslint-plugin-vue": "^9.32.0",
46
+ "globals": "^15.13.0",
47
+ "moment": "^2.30.1",
48
+ "npm-run-all2": "^6.1.1",
49
+ "prettier": "^3.0.3",
50
+ "sass": "^1.72.0",
51
+ "typescript": "~5.3.0",
52
+ "typescript-eslint": "^8.17.0",
53
+ "unplugin-auto-import": "^0.17.5",
54
+ "unplugin-vue-components": "^0.26.0",
55
+ "vite": "^5.0.11",
56
+ "vue-tsc": "^1.8.27"
57
+ },
58
+ "dependencies": {
59
+ "@element-plus/icons-vue": "^2.3.1",
60
+ "@vueuse/core": "^10.9.0",
61
+ "file-saver": "^2.0.5",
62
+ "nprogress": "^0.2.0",
63
+ "qs": "^6.12.0"
64
+ }
65
+ }