xyvcard-order 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 (25) hide show
  1. package/dist/{index-BwyO6Vdb.mjs → index-B3HKfAop.mjs} +12 -12
  2. package/dist/{index-CL3mlOnd.mjs → index-BGDa_EK1.mjs} +158 -126
  3. package/dist/{index-Dvf0V5EP.mjs → index-BnhfSp6U.mjs} +8 -0
  4. package/dist/index-DHJFncJ6.mjs +378 -0
  5. package/dist/index.mjs +447 -421
  6. package/dist/{info-DtOaZ-hg.mjs → info-BmqDpsnn.mjs} +1 -1
  7. package/dist/{info.vue_vue_type_script_setup_true_lang-DLnh7W1x.mjs → info.vue_vue_type_script_setup_true_lang-CHaAOFGr.mjs} +1 -1
  8. package/dist/reply-9iq8g6ah.mjs +4 -0
  9. package/dist/reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs +158 -0
  10. package/dist/{review-DjGDxyqZ.mjs → review-Dr4_ycsb.mjs} +1 -1
  11. package/dist/{review.vue_vue_type_script_setup_true_lang-CKGCdXD5.mjs → review.vue_vue_type_script_setup_true_lang-BER9b6r2.mjs} +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/{unpay-nfOgE6CJ.mjs → unpay-WAsbEXlr.mjs} +1 -1
  14. package/dist/unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs +570 -0
  15. package/dts/src/api/order-appraises/index.d.ts +11 -0
  16. package/dts/src/api/order-appraises/types.d.ts +62 -0
  17. package/dts/src/api/order-refunds/index.d.ts +2 -1
  18. package/dts/src/api/order-refunds/types.d.ts +5 -0
  19. package/dts/src/lang/order/zh-cn.d.ts +23 -96
  20. package/dts/src/main.d.ts +2 -0
  21. package/dts/src/views/order/order-appraises/index.vue.d.ts +2 -0
  22. package/dts/src/views/order/order-appraises/reply.vue.d.ts +22 -0
  23. package/dts/src/views/order/order-refunds/info.vue.d.ts +3 -2
  24. package/package.json +17 -14
  25. package/dist/unpay.vue_vue_type_script_setup_true_lang-Dcs-uaDJ.mjs +0 -3967
@@ -1,27 +1,24 @@
1
1
  declare const _default: {
2
- orderBill: {
3
- name: string;
4
- billId: string;
5
- orderId: string;
6
- billCode: string;
7
- billType: string;
8
- billPrice: string;
9
- couponPrice: string;
10
- paymentPrice: string;
11
- billStatus: string;
12
- paymentTime: string;
13
- };
14
- orderCart: {
15
- name: string;
16
- cartId: string;
17
- shopId: string;
18
- spuId: string;
19
- skuId: string;
20
- spuName: string;
2
+ goodsAppraises: {
3
+ appraiseRange: string;
4
+ appraiseStartTime: string;
5
+ appraiseEndTime: string;
6
+ createTime: string;
7
+ shopName: string;
8
+ shopNameRequired: string;
9
+ nickName: string;
10
+ orderItemList: string;
11
+ orderCode: string;
12
+ PurchasePrice: string;
21
13
  quantity: string;
22
- addPrice: string;
23
- specInfo: string;
24
- picUrl: string;
14
+ appraises: string;
15
+ goodsScore: string;
16
+ serviceScore: string;
17
+ logisticsScore: string;
18
+ content: string;
19
+ sellerReply: string;
20
+ replyContent: string;
21
+ replyContentRequired: string;
25
22
  };
26
23
  orderInfo: {
27
24
  name: string;
@@ -85,52 +82,6 @@ declare const _default: {
85
82
  logisticsNo: string;
86
83
  logisticsNoRequired: string;
87
84
  };
88
- orderItem: {
89
- name: string;
90
- itemId: string;
91
- orderId: string;
92
- spuId: string;
93
- skuId: string;
94
- spuName: string;
95
- picUrl: string;
96
- specInfo: string;
97
- customInfo: string;
98
- quantity: string;
99
- salesPrice: string;
100
- freightPrice: string;
101
- paymentCouponPrice: string;
102
- paymentPrice: string;
103
- remark: string;
104
- status: string;
105
- isRefund: string;
106
- };
107
- orderLogistics: {
108
- name: string;
109
- logisticsId: string;
110
- orderId: string;
111
- orderItemId: string;
112
- logisticsMchCode: string;
113
- logisticsMchName: string;
114
- logisticsNo: string;
115
- deliveryTime: string;
116
- status: string;
117
- isCheck: string;
118
- receiverTime: string;
119
- message: string;
120
- };
121
- orderPayRecord: {
122
- name: string;
123
- recordId: string;
124
- billId: string;
125
- orderId: string;
126
- mchId: string;
127
- payCode: string;
128
- tradeNo: string;
129
- paymentMode: string;
130
- paymentPrice: string;
131
- status: string;
132
- paymentTime: string;
133
- };
134
85
  orderRefunds: {
135
86
  shopName: string;
136
87
  shopNameRequired: string;
@@ -161,6 +112,10 @@ declare const _default: {
161
112
  refuseRefundResonRequired: string;
162
113
  info: string;
163
114
  refundReview: string;
115
+ refund: string;
116
+ refundConfirm: string;
117
+ refundSuccess: string;
118
+ refundFailed: string;
164
119
  refundOperation: string;
165
120
  userName: string;
166
121
  userNameRequired: string;
@@ -169,33 +124,5 @@ declare const _default: {
169
124
  correctPhone: string;
170
125
  address: string;
171
126
  };
172
- orderRefundRecord: {
173
- name: string;
174
- recordId: string;
175
- refundId: string;
176
- billId: string;
177
- orderId: string;
178
- mchId: string;
179
- refundCode: string;
180
- payType: string;
181
- refundPrice: string;
182
- refundStatus: string;
183
- refundTime: string;
184
- tradeNo: string;
185
- };
186
- orderUserAddress: {
187
- name: string;
188
- addressId: string;
189
- userId: string;
190
- userName: string;
191
- postalCode: string;
192
- provinceName: string;
193
- cityName: string;
194
- countyName: string;
195
- detailInfo: string;
196
- mobilePhone: string;
197
- mobilePhoneIns: string;
198
- isDefault: string;
199
- };
200
127
  };
201
128
  export default _default;
package/dts/src/main.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import "@/permission";
2
+ import "element-plus/dist/index.css";
2
3
  import "jmash-core/dist/style.css";
3
4
  import "jmash-dict/dist/style.css";
4
5
  import "jmash-rbac/dist/style.css";
6
+ import "xyvcard-shop/dist/style.css";
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,22 @@
1
+ import { type PropType } from "vue";
2
+ import type { GoodsAppraisesKey } from "@/api/order-appraises/types";
3
+ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
4
+ modelValue: PropType<boolean>;
5
+ entityKey: {
6
+ type: PropType<GoodsAppraisesKey>;
7
+ default: () => void;
8
+ };
9
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ refresh: (...args: any[]) => void;
11
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
12
+ modelValue: PropType<boolean>;
13
+ entityKey: {
14
+ type: PropType<GoodsAppraisesKey>;
15
+ default: () => void;
16
+ };
17
+ }>> & Readonly<{
18
+ onRefresh?: ((...args: any[]) => any) | undefined;
19
+ }>, {
20
+ entityKey: GoodsAppraisesKey;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
+ export default _default;
@@ -1,12 +1,13 @@
1
+ import { type PropType } from "vue";
1
2
  import type { OrderRefundsKey } from "@/api/order-refunds/types";
2
3
  declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
3
4
  entityKey: {
4
- type: globalThis.PropType<OrderRefundsKey>;
5
+ type: PropType<OrderRefundsKey>;
5
6
  default: () => void;
6
7
  };
7
8
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
8
9
  entityKey: {
9
- type: globalThis.PropType<OrderRefundsKey>;
10
+ type: PropType<OrderRefundsKey>;
10
11
  default: () => void;
11
12
  };
12
13
  }>> & Readonly<{}>, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-order",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -9,18 +9,19 @@
9
9
  "dts/src"
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.99",
12
+ "axios": "^1.7.7",
13
+ "element-plus": "^2.8.7",
14
+ "jmash-core": "^0.0.102",
19
15
  "jmash-dict": "^0.0.44",
20
16
  "jmash-rbac": "^0.0.35",
21
- "xyvcard-shop": "^0.0.12"
17
+ "pinia": "^2.2.4",
18
+ "vue": "^3.5.11",
19
+ "vue-i18n": "^9.14.1",
20
+ "vue-router": "^4.4.5",
21
+ "xyvcard-shop": "^0.0.17"
22
22
  },
23
23
  "devDependencies": {
24
+ "@eslint/js": "^9.16.0",
24
25
  "@rushstack/eslint-patch": "^1.3.3",
25
26
  "@tsconfig/node20": "^20.1.2",
26
27
  "@types/node": "^20.11.10",
@@ -28,22 +29,24 @@
28
29
  "@vue/eslint-config-prettier": "^8.0.0",
29
30
  "@vue/eslint-config-typescript": "^12.0.0",
30
31
  "@vue/tsconfig": "^0.5.1",
31
- "eslint": "^9.11.0",
32
- "eslint-plugin-vue": "^9.28.0",
32
+ "eslint": "^9.16.0",
33
+ "eslint-plugin-vue": "^9.32.0",
34
+ "globals": "^15.13.0",
35
+ "moment": "^2.30.1",
33
36
  "npm-run-all2": "^6.1.1",
34
37
  "prettier": "^3.0.3",
35
38
  "sass": "^1.72.0",
36
39
  "typescript": "~5.3.0",
40
+ "typescript-eslint": "^8.17.0",
37
41
  "unplugin-auto-import": "^0.17.5",
38
42
  "unplugin-vue-components": "^0.26.0",
39
43
  "vite": "^5.0.11",
40
- "vue-tsc": "^1.8.27",
41
- "moment": "^2.30.1"
44
+ "vue-tsc": "^1.8.27"
42
45
  },
43
46
  "dependencies": {
47
+ "@vueuse/core": "^10.9.0",
44
48
  "file-saver": "^2.0.5",
45
49
  "nprogress": "^0.2.0",
46
- "@vueuse/core": "^10.9.0",
47
50
  "qs": "^6.12.0"
48
51
  },
49
52
  "scripts": {