xyvcard-goods 0.0.10 → 0.0.12

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/style.css CHANGED
@@ -1 +1 @@
1
- .w-full{width:100%!important}.right-dis{margin-right:10px}.top-dis{margin-top:25px}.cell-item{display:flex;align-items:center;justify-content:flex-end}.el-descriptions__label{width:15%;text-align:right}.el-descriptions__content{width:35%}.title-set[data-v-28216104]{display:flex;align-items:center;font-size:14px;padding:0 0 10px}.goods-spec[data-v-d3b23fe5]{border:1px solid #ccc;margin-bottom:5px}.goods-title[data-v-d3b23fe5]{display:flex;align-items:center;border-bottom:1px solid #ccc;padding:10px 20px}.goods-title .goods-delete[data-v-d3b23fe5]{display:flex;align-items:center;margin-left:auto;color:red;font-size:14px}.goods-content[data-v-d3b23fe5]{padding:10px 20px}.goods-tag[data-v-d3b23fe5]{margin-bottom:10px}[data-v-f10f6f7e] .el-upload--picture-card{width:80px;height:80px;border-radius:0}[data-v-f10f6f7e] .el-upload-list--picture-card .el-upload-list__item{width:80px;height:80px}
1
+ .w-full{width:100%!important}.right-dis{margin-right:10px}.top-dis{margin-top:25px}.cell-item{display:flex;align-items:center;justify-content:flex-end}.el-descriptions__label{width:15%;text-align:right}.el-descriptions__content{width:35%}.title-set[data-v-84542ec3]{display:flex;align-items:center;font-size:14px;padding:0 0 10px}.goods-spec[data-v-d3b23fe5]{border:1px solid #ccc;margin-bottom:5px}.goods-title[data-v-d3b23fe5]{display:flex;align-items:center;border-bottom:1px solid #ccc;padding:10px 20px}.goods-title .goods-delete[data-v-d3b23fe5]{display:flex;align-items:center;margin-left:auto;color:red;font-size:14px}.goods-content[data-v-d3b23fe5]{padding:10px 20px}.goods-tag[data-v-d3b23fe5]{margin-bottom:10px}[data-v-0d62e82a] .el-upload--picture-card{width:80px;height:80px;border-radius:0}[data-v-0d62e82a] .el-upload-list--picture-card .el-upload-list__item{width:80px;height:80px}
@@ -1,19 +1,18 @@
1
1
  import type { PropType } from "vue";
2
2
  import type { Entry } from "jmash-core";
3
- import type { EntryBool } from "@/api/dict";
4
3
  declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
5
4
  modelValue: PropType<string | boolean>;
6
5
  data: {
7
- type: PropType<EntryBool[] | Entry[]>;
6
+ type: PropType<Entry[]>;
8
7
  default: () => void;
9
8
  };
10
9
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
11
10
  modelValue: PropType<string | boolean>;
12
11
  data: {
13
- type: PropType<EntryBool[] | Entry[]>;
12
+ type: PropType<Entry[]>;
14
13
  default: () => void;
15
14
  };
16
15
  }>> & Readonly<{}>, {
17
- data: EntryBool[] | Entry[];
16
+ data: Entry[];
18
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
18
  export default _default;
@@ -1,8 +1,4 @@
1
1
  declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
- modelValue: {
3
- type: StringConstructor;
4
- default: () => string;
5
- };
6
2
  listType: {
7
3
  type: () => "text" | "picture" | "picture-card";
8
4
  default: string;
@@ -11,11 +7,15 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
11
7
  type: NumberConstructor;
12
8
  default: number;
13
9
  };
14
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
- modelValue: {
16
- type: StringConstructor;
17
- default: () => string;
10
+ pictureUrl: {
11
+ type: ArrayConstructor;
12
+ default: () => never[];
18
13
  };
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,9 +24,17 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
24
24
  type: NumberConstructor;
25
25
  default: number;
26
26
  };
27
- }>> & Readonly<{}>, {
28
- modelValue: string;
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
+ }>, {
29
36
  listType: "picture" | "text" | "picture-card";
30
37
  limit: number;
38
+ pictureUrl: unknown[];
31
39
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
40
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-goods",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",
@@ -8,29 +8,19 @@
8
8
  "dist",
9
9
  "dts"
10
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
11
  "peerDependencies": {
22
12
  "axios": "^1.7.7",
23
13
  "element-plus": "^2.8.7",
24
- "jmash-core": "^0.0.108",
25
- "jmash-dict": "^0.0.44",
26
- "jmash-rbac": "^0.0.40",
14
+ "jmash-core": "^0.0.120",
15
+ "jmash-dict": "^0.0.47",
16
+ "jmash-rbac": "^0.0.43",
27
17
  "pinia": "^2.2.4",
28
18
  "vue": "^3.5.11",
29
19
  "vue-i18n": "^9.14.1",
30
20
  "vue-router": "^4.4.5",
31
- "xyvcard-emall": "^0.0.6",
32
- "xyvcard-shop": "^0.0.16",
33
- "xyvcard-cms": "file:xyvcard-cms-0.0.34.tgz"
21
+ "xyvcard-emall": "^0.0.13",
22
+ "xyvcard-shop": "^0.0.23",
23
+ "xyvcard-cms": "0.0.36"
34
24
  },
35
25
  "devDependencies": {
36
26
  "@eslint/js": "^9.16.0",
@@ -61,5 +51,15 @@
61
51
  "file-saver": "^2.0.5",
62
52
  "nprogress": "^0.2.0",
63
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
64
  }
65
- }
65
+ }