xyvcard-order 0.0.3 → 0.0.5

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 (43) hide show
  1. package/dist/{index-BwyO6Vdb.mjs → index-B3HKfAop.mjs} +12 -12
  2. package/dist/index-DHJFncJ6.mjs +378 -0
  3. package/dist/index.mjs +557 -535
  4. package/dist/reply-9iq8g6ah.mjs +4 -0
  5. package/dist/reply.vue_vue_type_script_setup_true_lang-BJSf7a8S.mjs +158 -0
  6. package/dist/style.css +1 -1
  7. package/dist/{unpay-nfOgE6CJ.mjs → unpay-WAsbEXlr.mjs} +1 -1
  8. package/dist/unpay.vue_vue_type_script_setup_true_lang-Dj_Sq17m.mjs +570 -0
  9. package/dts/src/api/order-appraises/index.d.ts +11 -0
  10. package/dts/src/api/order-appraises/types.d.ts +62 -0
  11. package/dts/src/lang/order/zh-cn.d.ts +19 -96
  12. package/dts/src/main.d.ts +2 -0
  13. package/dts/src/views/order/{order-bill/edit.vue.d.ts → order-appraises/reply.vue.d.ts} +4 -4
  14. package/dts/src/views/order/order-refunds/info.vue.d.ts +3 -2
  15. package/package.json +16 -12
  16. package/dist/unpay.vue_vue_type_script_setup_true_lang-Dcs-uaDJ.mjs +0 -3967
  17. package/dts/src/api/order/order-bill/index.d.ts +0 -20
  18. package/dts/src/api/order/order-bill/types.d.ts +0 -75
  19. package/dts/src/api/order/order-info/index.d.ts +0 -15
  20. package/dts/src/api/order/order-info/types.d.ts +0 -97
  21. package/dts/src/api/order/order-item/index.d.ts +0 -20
  22. package/dts/src/api/order/order-item/types.d.ts +0 -95
  23. package/dts/src/api/order/order-logistics/index.d.ts +0 -12
  24. package/dts/src/api/order/order-logistics/types.d.ts +0 -85
  25. package/dts/src/api/order/order-pay-record/index.d.ts +0 -20
  26. package/dts/src/api/order/order-pay-record/types.d.ts +0 -77
  27. package/dts/src/api/order/order-refund-record/index.d.ts +0 -20
  28. package/dts/src/api/order/order-refund-record/types.d.ts +0 -80
  29. package/dts/src/api/order/order-refunds/index.d.ts +0 -12
  30. package/dts/src/api/order/order-refunds/types.d.ts +0 -47
  31. package/dts/src/api/shop/shop-info/index.d.ts +0 -8
  32. package/dts/src/api/shop/shop-info/types.d.ts +0 -16
  33. package/dts/src/utils/commons.d.ts +0 -10
  34. package/dts/src/views/order/order-item/edit.vue.d.ts +0 -22
  35. package/dts/src/views/order/order-item/index.vue.d.ts +0 -2
  36. package/dts/src/views/order/order-logistics/edit.vue.d.ts +0 -22
  37. package/dts/src/views/order/order-logistics/index.vue.d.ts +0 -2
  38. package/dts/src/views/order/order-pay-record/edit.vue.d.ts +0 -22
  39. package/dts/src/views/order/order-pay-record/index.vue.d.ts +0 -2
  40. package/dts/src/views/order/order-refund-record/edit.vue.d.ts +0 -22
  41. package/dts/src/views/order/order-refund-record/index.vue.d.ts +0 -2
  42. package/dts/src/views/order/order-refunds/edit.vue.d.ts +0 -22
  43. /package/dts/src/views/order/{order-bill → order-appraises}/index.vue.d.ts +0 -0
@@ -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;
@@ -169,33 +120,5 @@ declare const _default: {
169
120
  correctPhone: string;
170
121
  address: string;
171
122
  };
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
123
  };
201
124
  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";
@@ -1,9 +1,9 @@
1
1
  import { type PropType } from "vue";
2
- import type { OrderBillKey } from "@/api/order/order-bill/types";
2
+ import type { GoodsAppraisesKey } from "@/api/order-appraises/types";
3
3
  declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
4
4
  modelValue: PropType<boolean>;
5
5
  entityKey: {
6
- type: PropType<OrderBillKey>;
6
+ type: PropType<GoodsAppraisesKey>;
7
7
  default: () => void;
8
8
  };
9
9
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -11,12 +11,12 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
11
11
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
12
12
  modelValue: PropType<boolean>;
13
13
  entityKey: {
14
- type: PropType<OrderBillKey>;
14
+ type: PropType<GoodsAppraisesKey>;
15
15
  default: () => void;
16
16
  };
17
17
  }>> & Readonly<{
18
18
  onRefresh?: ((...args: any[]) => any) | undefined;
19
19
  }>, {
20
- entityKey: OrderBillKey;
20
+ entityKey: GoodsAppraisesKey;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
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.3",
3
+ "version": "0.0.5",
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.16"
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,21 +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
44
  "vue-tsc": "^1.8.27"
41
45
  },
42
46
  "dependencies": {
47
+ "@vueuse/core": "^10.9.0",
43
48
  "file-saver": "^2.0.5",
44
49
  "nprogress": "^0.2.0",
45
- "@vueuse/core": "^10.9.0",
46
50
  "qs": "^6.12.0"
47
51
  },
48
52
  "scripts": {