@huyooo/ui 2.0.0 → 2.0.2

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 (33) hide show
  1. package/dist/{AuthkitAppSetting-rtYZcSAR.js → AuthkitAppSetting-CPTk5V2I.js} +144 -143
  2. package/dist/{Contact-CcWf3UEZ.js → Contact-CterQK1Z.js} +2 -2
  3. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-DCIiz8aj.js +1516 -0
  4. package/dist/{LegalDocViewer-C0tsIbz9.js → LegalDocViewer-CaL-MiTh.js} +4 -4
  5. package/dist/{PaySubscriptions-p75aBnHm.js → PaySubscriptions-DJBlwE0S.js} +1 -1
  6. package/dist/{PricingPlans-CQ0qk9Hb.js → PricingPlans-CqAaWjb9.js} +1 -1
  7. package/dist/Upload.vue_vue_type_script_setup_true_lang-B8-BHJkc.js +83 -0
  8. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DG4AuHiO.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-pd5gnq-G.js} +3 -3
  9. package/dist/{WidthContainer-DSE4QbW0.js → WidthContainer-Dv6p9qbu.js} +3 -3
  10. package/dist/authkit.js +4 -4
  11. package/dist/common.js +1 -1
  12. package/dist/components/Feedback/FeedbackDetails.vue.d.ts +8 -24
  13. package/dist/components/Upload/Upload.vue.d.ts +3 -2
  14. package/dist/composables/uploadFeedbackAttachment.d.ts +7 -1
  15. package/dist/composables.js +4 -4
  16. package/dist/feedback.js +1 -1
  17. package/dist/{fetchAuthPageAboutUs-DiCqMUX3.js → fetchAuthPageAboutUs-2gv5Lke1.js} +1 -1
  18. package/dist/main.js +15 -15
  19. package/dist/pay.js +2 -2
  20. package/dist/privateCom.js +1 -1
  21. package/dist/{runtime-BzCSCUNv.js → runtime-DvVJS4Vm.js} +1344 -1327
  22. package/dist/runtime.d.ts +6 -2
  23. package/dist/style.css +1 -1
  24. package/dist/upload/browserCosTransport.d.ts +2 -5
  25. package/dist/upload/browserUploadService.d.ts +5 -4
  26. package/dist/upload.d.ts +2 -2
  27. package/dist/upload.js +2 -2
  28. package/dist/{useLegalDocs-D44qU_q0.js → useLegalDocs-Cpy86zzQ.js} +1 -1
  29. package/dist/{useSEO-_TNouXE_.js → useSEO-Da2r63SX.js} +1 -1
  30. package/dist/user.js +1 -1
  31. package/package.json +1 -1
  32. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-DpOmbAg-.js +0 -1491
  33. package/dist/Upload.vue_vue_type_script_setup_true_lang-bh0NFq9E.js +0 -78
@@ -1,78 +0,0 @@
1
- /* empty css */
2
- /* empty css */
3
- /* empty css */
4
- /* empty css */
5
- /* empty css */
6
- /* empty css */
7
- import { defineComponent as g, openBlock as h, createBlock as v, unref as y, mergeProps as E, createSlots as S, withCtx as p, renderSlot as l } from "vue";
8
- import { Upload as q } from "@arco-design/web-vue";
9
- import { u as I } from "./runtime-BzCSCUNv.js";
10
- const j = /* @__PURE__ */ g({
11
- __name: "Upload",
12
- props: {
13
- options: {
14
- type: Object,
15
- required: !1,
16
- default: () => null
17
- },
18
- bucketId: {
19
- type: String,
20
- required: !0
21
- }
22
- },
23
- emits: ["progress", "fileFinish", "fail"],
24
- setup(a, {
25
- emit: m
26
- }) {
27
- const e = m, r = a, c = I().upload;
28
- function d(o) {
29
- return o instanceof Error ? o : new Error("上传失败");
30
- }
31
- function f(o) {
32
- const {
33
- onProgress: i,
34
- onError: b,
35
- onSuccess: k,
36
- fileItem: n
37
- } = o;
38
- if (!n.file)
39
- return {
40
- abort() {
41
- }
42
- };
43
- const s = c.upload({
44
- file: n.file,
45
- bucketId: r.bucketId,
46
- onProgress(t) {
47
- e("progress", t), i(t);
48
- }
49
- });
50
- return s.result.then((t) => {
51
- e("fileFinish", t), k(t);
52
- }).catch((t) => {
53
- const u = d(t);
54
- e("fail", u), b(u);
55
- }), {
56
- abort() {
57
- s.abort();
58
- }
59
- };
60
- }
61
- return (o, i) => (h(), v(y(q), E({
62
- "custom-request": f
63
- }, r.options), S({
64
- _: 2
65
- }, [o.$slots["upload-button"] ? {
66
- name: "upload-button",
67
- fn: p(() => [l(o.$slots, "upload-button")]),
68
- key: "0"
69
- } : void 0, o.$slots["upload-item"] ? {
70
- name: "upload-item",
71
- fn: p(() => [l(o.$slots, "upload-item")]),
72
- key: "1"
73
- } : void 0]), 1040));
74
- }
75
- });
76
- export {
77
- j as _
78
- };