halo-pc 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. package/dist/{Article-D4qXG55i.js → Article-DievbQaS.js} +5 -4
  2. package/dist/{Autocomplete-BOxOjTFs.js → Autocomplete-9Dw6RZUJ.js} +7 -5
  3. package/dist/{Autocomplete-CV4D7693.js → Autocomplete-BC9yw7bd.js} +16 -16
  4. package/dist/{Autocomplete-BdKldPfG.js → Autocomplete-CA9lAfcX.js} +1 -1
  5. package/dist/{CSharp-D_fhmKNi.js → CSharp-9TTxxjTd.js} +1 -1
  6. package/dist/{Calender-B1bjnNK5.js → Calender-Cvt1swho.js} +1 -1
  7. package/dist/{Callback-DjHhgx-q.js → Callback-3bTaCoQy.js} +1 -1
  8. package/dist/{Cascader-K4fh1YbW.js → Cascader-B8DEKaGU.js} +22 -21
  9. package/dist/{Cascader-B6OhUHVe.js → Cascader-DCbx-Xfo.js} +4 -3
  10. package/dist/{Checkbox-CkfHA52y.js → Checkbox-BPaKVuvv.js} +1 -1
  11. package/dist/{Code-3c6-02U1.js → Code--ryEmiLJ.js} +7 -6
  12. package/dist/Code-CnU5c_Xk.js +4 -0
  13. package/dist/{Code-BTDq_0B6.js → Code-DS9dwk0s.js} +13 -12
  14. package/dist/{Code-C4HjQm82.js → Code-DVUf05Qa.js} +1 -1
  15. package/dist/Code.vue_vue_type_style_index_0_lang-BQQ6Jatk.js +63 -0
  16. package/dist/{Column-D9Kx2OQ2.js → Column-BzM9a1Ai.js} +4 -3
  17. package/dist/{Comment-DCArar0n.js → Comment-5gH4WF9C.js} +9 -8
  18. package/dist/{Copy-DkFCsKxT.js → Copy-DcAUXAJq.js} +1 -1
  19. package/dist/{Custom-a5LNK1fz.js → Custom-lSjUvIAb.js} +7 -6
  20. package/dist/{DataExport-CNacxrr6.js → DataExport-Cl2LRmuu.js} +1 -1
  21. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dnt8MHYd.js → DataExport.vue_vue_type_script_setup_true_lang-DFuUWnTj.js} +14 -13
  22. package/dist/{DataImport-Dm86g3rr.js → DataImport-C8MggQON.js} +1 -1
  23. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DieNCc_-.js → DataImport.vue_vue_type_script_setup_true_lang-Qgy5ODur.js} +3 -3
  24. package/dist/{Date-2zsvAlTg.js → Date-BRd0o_ib.js} +1 -1
  25. package/dist/{DateRange-DM7_QCBw.js → DateRange-Q6osbxfF.js} +4 -3
  26. package/dist/{DateTime-DMECNCs4.js → DateTime-DSUMg60T.js} +1 -1
  27. package/dist/{Daterange-b5lnauDR.js → Daterange-0qtKemST.js} +4 -3
  28. package/dist/{Decimal-DtTHo5uv.js → Decimal-BBYZHN-L.js} +1 -1
  29. package/dist/{Delete-CJYIlwyA.js → Delete-DkSX4BUu.js} +1 -1
  30. package/dist/{Detail-vOrhBm_q.js → Detail-DlJeIF7u.js} +11 -10
  31. package/dist/{Dictionary-B9oe1_S6.js → Dictionary-DH3ukOm9.js} +4 -3
  32. package/dist/{File-Bmnp2oNs.js → File-27vOsF_i.js} +16 -15
  33. package/dist/{Image-8u9oIiGp.js → Image-BejU08yZ.js} +1 -1
  34. package/dist/Index-BaxI_lNq.js +4 -0
  35. package/dist/Index-BnNuVSxA.js +4 -0
  36. package/dist/{Index-DtM8VZwV.js → Index-BtK4Riqs.js} +1 -1
  37. package/dist/{Index-CS11p-lU.js → Index-ByC6qZPq.js} +9 -8
  38. package/dist/{Index-DiMWhBFC.js → Index-CtQ5rwyH.js} +1 -1
  39. package/dist/{Index-BNXlbQ4E.js → Index-DEDLWObm.js} +1 -1
  40. package/dist/{Index-CSqSf17l.js → Index-DMdBkj-p.js} +1 -1
  41. package/dist/{Index.vue_vue_type_script_setup_true_lang-BPj8s6sN.js → Index.vue_vue_type_script_setup_true_lang-3zk23es9.js} +4 -3
  42. package/dist/{Index.vue_vue_type_script_setup_true_lang-CKE6hz5m.js → Index.vue_vue_type_script_setup_true_lang-CCdCOtFc.js} +1 -1
  43. package/dist/{Index.vue_vue_type_style_index_0_lang-CqDJToNR.js → Index.vue_vue_type_style_index_0_lang-DZJCAfOb.js} +5 -4
  44. package/dist/{Install-DU27ycRi.js → Install-DzOXL82w.js} +12 -11
  45. package/dist/{Int-BuRUWpC5.js → Int-D3k7ZnH3.js} +9 -8
  46. package/dist/{List-DmUA_Qjf.js → List-BeoZ2a1r.js} +9 -8
  47. package/dist/{Maintaince-BxK8vEL8.js → Maintaince-BMLmBQI9.js} +1 -1
  48. package/dist/{Markdown-DuJREXXg.js → Markdown-BVhD-lo1.js} +1 -1
  49. package/dist/{Month-D366v-0Q.js → Month--2hXaJkd.js} +1 -1
  50. package/dist/{Normal-CPn8hp3t.js → Normal-B3Xs7sFU.js} +27 -26
  51. package/dist/{Paging-D1DvQER2.js → Paging-CqpaB0Mn.js} +29 -28
  52. package/dist/{QueryApi-B7_jCs5e.js → QueryApi-BqpLpqXT.js} +1 -1
  53. package/dist/{Racebar-ng-7K86M.js → Racebar-CvsmozFH.js} +5 -4
  54. package/dist/{Radio-DW7t0gUT.js → Radio-DMlWrRLV.js} +1 -1
  55. package/dist/{Register-oG9MMCqJ.js → Register-B7KEYSdN.js} +4 -3
  56. package/dist/{RichText-Bpw54w7L.js → RichText-BX7WZjO-.js} +4 -3
  57. package/dist/{SearchFooter-TOtn9psJ.js → SearchFooter-BSHxMoTL.js} +1 -1
  58. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-aQwf-Jl6.js → SearchFooter.vue_vue_type_style_index_0_lang-CgAQfUu-.js} +1 -1
  59. package/dist/{SearchForm-tCH9rcrw.js → SearchForm-CH5YWxKr.js} +1 -1
  60. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-U5f9oExf.js → SearchForm.vue_vue_type_style_index_0_lang-By2w2biv.js} +4 -3
  61. package/dist/{Select-DhpaFdqx.js → Select-B7VB4CHX.js} +1 -1
  62. package/dist/{Select-CGOTSJVh.js → Select-Dmr_Q332.js} +4 -3
  63. package/dist/{Select-Dz8akTqG.js → Select-zZ9NAS5C.js} +1 -1
  64. package/dist/{Single-BETJuNyR.js → Single-z7YLL5yh.js} +6 -5
  65. package/dist/{Statistic-DzF-1c5_.js → Statistic-SFo_gi_N.js} +5 -4
  66. package/dist/{Stock-9Ja_G9Dg.js → Stock-DInt0W2k.js} +1 -1
  67. package/dist/{Stock-CfI244Nf.js → Stock-cw7lE17E.js} +1 -1
  68. package/dist/{Stock.vue_vue_type_style_index_0_lang-DbTd0pjx.js → Stock.vue_vue_type_style_index_0_lang-DKGuyQ08.js} +4 -3
  69. package/dist/{Switch-HAej2klZ.js → Switch-gkN2GOAQ.js} +1 -1
  70. package/dist/{Table-Bes5hPBu.js → Table-BRSX9_5r.js} +2 -2
  71. package/dist/{Table-Q1QCTkqH.js → Table-ByUYlERR.js} +9 -8
  72. package/dist/Text-CXXJqJ8N.js +4 -0
  73. package/dist/{Text.vue_vue_type_style_index_0_lang-Bw2lRC5n.js → Text.vue_vue_type_style_index_0_lang-Cwyu-GMz.js} +4 -3
  74. package/dist/{TextLink-o-e-724y.js → TextLink-KC_xsgpi.js} +15 -14
  75. package/dist/{Textarea-2hZMIygc.js → Textarea-DoE5sGRR.js} +1 -1
  76. package/dist/{Timeline-B2unIcOQ.js → Timeline-CTj1FAtR.js} +4 -3
  77. package/dist/{Tree-DO2eaZZT.js → Tree-B2ILQtRK.js} +4 -3
  78. package/dist/{Tree-Bt7FIc2Z.js → Tree-DfY_7l-G.js} +22 -21
  79. package/dist/{TreeNode-k4qKfs3W.js → TreeNode-BV9BiCFt.js} +10 -9
  80. package/dist/{Update-BH1SivST.js → Update-C6EmSv2D.js} +10 -9
  81. package/dist/{Upload-Cw7Ln3cd.js → Upload-CQo4b32p.js} +25 -24
  82. package/dist/{Upload-Bhp3QMff.js → Upload-z2mEnrlN.js} +6 -5
  83. package/dist/{UploadApi-DdQy8bcl.js → UploadApi-C0wC0lME.js} +4 -3
  84. package/dist/{Year-Q2Y-HAuh.js → Year-CEHCOGTW.js} +1 -1
  85. package/dist/{main-iF34LtMW.js → main-CgmRyjET.js} +1296 -1161
  86. package/dist/main.js +55 -54
  87. package/esm/components/layouts/index.d.ts +2 -2
  88. package/esm/drivers/cdns/Cdn.d.ts +2 -1
  89. package/esm/drivers/cdns/CdnFactory.d.ts +1 -1
  90. package/esm/drivers/cdns/ICdn.d.ts +4 -0
  91. package/esm/drivers/cdns/implements/BootCdn.d.ts +5 -1
  92. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +3 -1
  93. package/esm/drivers/cdns/implements/LocalCdn.d.ts +5 -1
  94. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +9 -1
  95. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +3 -1
  96. package/esm/drivers/driver-helper.d.ts +10 -0
  97. package/esm/drivers/encoders/Encoder.d.ts +11 -0
  98. package/esm/drivers/encoders/EncoderFactory.d.ts +16 -0
  99. package/esm/drivers/encoders/IEncoder.d.ts +22 -0
  100. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +11 -0
  101. package/esm/drivers/excels/ExcelFactory.d.ts +1 -1
  102. package/esm/drivers/features/FeatureFactory.d.ts +1 -1
  103. package/esm/drivers/hashers/Hasher.d.ts +10 -0
  104. package/esm/drivers/hashers/HasherFactory.d.ts +13 -0
  105. package/esm/drivers/hashers/IHasher.d.ts +19 -0
  106. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +10 -0
  107. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +10 -0
  108. package/esm/drivers/providers/ProviderFactory.d.ts +1 -1
  109. package/esm/drivers/requesters/Requester.d.ts +5 -2
  110. package/esm/drivers/requesters/RequesterFactory.d.ts +7 -1
  111. package/esm/drivers/requesters/implements/MkRequester.d.ts +39 -0
  112. package/esm/drivers/signers/ISigner.d.ts +1 -1
  113. package/esm/drivers/signers/SignerFactory.d.ts +1 -1
  114. package/esm/drivers/signers/implements/DefaultSigner.d.ts +3 -1
  115. package/esm/drivers/ssos/ISso.d.ts +1 -1
  116. package/esm/sdks/helpers/dictionary-helper.d.ts +10 -0
  117. package/esm/sdks/helpers/index.d.ts +3 -2
  118. package/esm/sdks/helpers/json-helper.d.ts +4 -0
  119. package/esm/sdks/helpers/object-helper.d.ts +2 -2
  120. package/esm/sdks/helpers/sign-helper.d.ts +14 -0
  121. package/esm/sdks/helpers/string-helper.d.ts +1 -1
  122. package/esm/sdks/helpers/time-helper.d.ts +2 -2
  123. package/esm/sdks/helpers/url-helper.d.ts +4 -4
  124. package/esm/stores/socket.d.ts +1 -1
  125. package/esm/stores/user.d.ts +1 -1
  126. package/package.json +4 -4
  127. package/dist/Code-RAklwsI8.js +0 -4
  128. package/dist/Code.vue_vue_type_style_index_0_lang-zfBqeJue.js +0 -62
  129. package/dist/Index-B_P8rY63.js +0 -4
  130. package/dist/Index-ujUgBmOq.js +0 -4
  131. package/dist/Text-DgINICKw.js +0 -4
@@ -63,15 +63,15 @@ declare class UrlHelper {
63
63
  /**
64
64
  * 从Url中提取查询对象
65
65
  */
66
- static getObjectFromUrl(url: string): {};
66
+ static deserialize(url: string): object;
67
67
  /**
68
68
  * 把查询字符串转换成对象(自动解码成源数据)
69
69
  */
70
- static getObjectFromQs(qs: string, decode?: boolean): {};
70
+ static deserializeQs(qs: string, decode?: boolean): any;
71
71
  /**
72
72
  * 把对象转换成查询字符串,自动编码
73
73
  */
74
- static getQsFromObject(obj: object): string;
74
+ static serialize(obj: object): string;
75
75
  /**
76
76
  * URL编码
77
77
  */
@@ -79,7 +79,7 @@ declare class UrlHelper {
79
79
  /**
80
80
  * 把指定对象转换成base64字符串
81
81
  */
82
- static base64(obj: object): any;
82
+ static base64(obj: object): string;
83
83
  /**
84
84
  * 把指定base64字符串解析为原对象
85
85
  */
@@ -10,7 +10,7 @@ declare let useSocketStore: import("pinia").StoreDefinition<"socket", {
10
10
  /**
11
11
  * 登录后,连接Socket
12
12
  */
13
- connect(): void;
13
+ connect(): Promise<void>;
14
14
  /**
15
15
  * 订阅并替换Socket事件处理程序
16
16
  */
@@ -19,7 +19,7 @@ declare const useUserStore: import("pinia").StoreDefinition<"user", {
19
19
  /**
20
20
  * 通过完整url和请求体,获取授权头
21
21
  */
22
- getAuthorization(url: string, data?: any): string;
22
+ getAuthorization(url: string, data?: any): Promise<string>;
23
23
  /**
24
24
  * 未登录,获取匿名登录信息
25
25
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-pc",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Halo pc framework",
5
5
  "scripts": {
6
6
  "halo-pc:tsc": "vue-tsc",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@monaco-editor/loader": "1.4.0",
31
- "@types/node": "20.14.2",
31
+ "@types/node": "20.14.6",
32
32
  "@vitejs/plugin-vue": "5.0.5",
33
33
  "@vitejs/plugin-vue-jsx": "4.0.0",
34
34
  "axios": "1.7.2",
@@ -43,12 +43,12 @@
43
43
  "monaco-editor": "0.49.0",
44
44
  "pinia": "2.1.7",
45
45
  "quill": "2.0.2",
46
- "sass": "1.77.5",
46
+ "sass": "1.77.6",
47
47
  "sortablejs": "1.15.2",
48
48
  "underscore": "1.13.6",
49
49
  "underscore.string": "3.3.6",
50
50
  "vite": "5.3.1",
51
- "vue": "3.4.28",
51
+ "vue": "3.4.29",
52
52
  "vue-canvas-nest": "2.0.0",
53
53
  "vue-router": "4.3.3",
54
54
  "vue-i18n": "9.13.1",
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-zfBqeJue.js";
2
- export {
3
- f as default
4
- };
@@ -1,62 +0,0 @@
1
- import { defineComponent as C, toRefs as h, ref as s, onMounted as b, resolveComponent as d, openBlock as n, createElementBlock as u, createVNode as i, unref as e, isRef as k, withCtx as p, Fragment as c, renderList as B, createBlock as E, createTextVNode as _, toDisplayString as f, createCommentVNode as L } from "vue";
2
- import { _ as N } from "./main-iF34LtMW.js";
3
- import "./vendor-@monaco-editor-DKC4UNw_.js";
4
- import "./vendor-moment-h96o7c8I.js";
5
- import "xlsx-js-style";
6
- import { Q } from "./QueryApi-B7_jCs5e.js";
7
- const R = { class: "ho-code-layout" }, H = /* @__PURE__ */ C({
8
- __name: "Code",
9
- props: {
10
- route: {},
11
- validateErrors: {},
12
- module: {},
13
- schema: {},
14
- table: {},
15
- layout: {},
16
- next: {},
17
- set: {}
18
- },
19
- emits: ["submit", "change"],
20
- setup(g, { emit: U }) {
21
- let V = g, { module: w, schema: A, table: D, layout: l, next: F, set: M } = h(V), r = s({}), t = s(), v = () => {
22
- t.value = l.value.languages[0];
23
- };
24
- return b(() => {
25
- v(), Q.loadCodeLanguage().then((m) => {
26
- m.forEach((a) => {
27
- r.value[a.text] = a.suffix;
28
- });
29
- });
30
- }), (m, a) => {
31
- const x = d("el-radio"), y = d("el-radio-group");
32
- return n(), u("div", R, [
33
- i(y, {
34
- modelValue: e(t),
35
- "onUpdate:modelValue": a[0] || (a[0] = (o) => k(t) ? t.value = o : t = o)
36
- }, {
37
- default: p(() => [
38
- (n(!0), u(c, null, B(e(l).languages, (o) => (n(), E(x, { value: o }, {
39
- default: p(() => [
40
- _(f(o) + " ", 1),
41
- e(r)[o] ? (n(), u(c, { key: 0 }, [
42
- _("(" + f(e(r)[o]) + ")", 1)
43
- ], 64)) : L("", !0)
44
- ]),
45
- _: 2
46
- }, 1032, ["value"]))), 256))
47
- ]),
48
- _: 1
49
- }, 8, ["modelValue"]),
50
- i(e(N), {
51
- border: "",
52
- config: { language: e(r)[e(t)] },
53
- modelValue: e(l).codes[e(t)],
54
- "onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
55
- }, null, 8, ["config", "modelValue"])
56
- ]);
57
- };
58
- }
59
- });
60
- export {
61
- H as _
62
- };
@@ -1,4 +0,0 @@
1
- import { G as f } from "./main-iF34LtMW.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { o } from "./main-iF34LtMW.js";
2
- export {
3
- o as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-Bw2lRC5n.js";
2
- export {
3
- f as default
4
- };