halo-pc 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/{Article-lRUJ_OJd.js → Article-DievbQaS.js} +5 -4
  2. package/dist/{Autocomplete-BZC6nm8e.js → Autocomplete-9Dw6RZUJ.js} +7 -5
  3. package/dist/{Autocomplete-Bi_l7zwo.js → Autocomplete-BC9yw7bd.js} +16 -16
  4. package/dist/{Autocomplete-zUWf79cr.js → Autocomplete-CA9lAfcX.js} +1 -1
  5. package/dist/{CSharp-DE5nh_O4.js → CSharp-9TTxxjTd.js} +1 -1
  6. package/dist/{Calender-BySvLRJq.js → Calender-Cvt1swho.js} +1 -1
  7. package/dist/{Callback-DPPWZw_u.js → Callback-3bTaCoQy.js} +1 -1
  8. package/dist/{Cascader-BsPUAtBL.js → Cascader-B8DEKaGU.js} +22 -21
  9. package/dist/{Cascader-CHVgZRdk.js → Cascader-DCbx-Xfo.js} +4 -3
  10. package/dist/{Checkbox-BKx6xpIx.js → Checkbox-BPaKVuvv.js} +1 -1
  11. package/dist/{Code-Chrbr4KP.js → Code--ryEmiLJ.js} +7 -6
  12. package/dist/{Code-De2Uv1Px.js → Code-CnU5c_Xk.js} +1 -1
  13. package/dist/{Code-qQK_4OZ6.js → Code-DS9dwk0s.js} +13 -12
  14. package/dist/{Code-GhBd93wc.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-DW9n0ein.js → Column-BzM9a1Ai.js} +9 -8
  17. package/dist/{Comment-Cod3CMDP.js → Comment-5gH4WF9C.js} +9 -8
  18. package/dist/{Copy-PYxtclV3.js → Copy-DcAUXAJq.js} +1 -1
  19. package/dist/{Custom-RoQe4kW_.js → Custom-lSjUvIAb.js} +7 -6
  20. package/dist/{DataExport-DzADLzN4.js → DataExport-Cl2LRmuu.js} +1 -1
  21. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-B0DjFKm0.js → DataExport.vue_vue_type_script_setup_true_lang-DFuUWnTj.js} +14 -13
  22. package/dist/{DataImport-CgdY4oAg.js → DataImport-C8MggQON.js} +1 -1
  23. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BOpao8ja.js → DataImport.vue_vue_type_script_setup_true_lang-Qgy5ODur.js} +3 -3
  24. package/dist/{Date-Dr80JkYm.js → Date-BRd0o_ib.js} +1 -1
  25. package/dist/{DateRange-CxGZSLKj.js → DateRange-Q6osbxfF.js} +4 -3
  26. package/dist/{DateTime-BzjTeOtg.js → DateTime-DSUMg60T.js} +1 -1
  27. package/dist/{Daterange-BW8avRzM.js → Daterange-0qtKemST.js} +4 -3
  28. package/dist/{Decimal-CnaJfnyD.js → Decimal-BBYZHN-L.js} +1 -1
  29. package/dist/{Delete-D6JpsqZ1.js → Delete-DkSX4BUu.js} +6 -6
  30. package/dist/{Detail-DPV7avRs.js → Detail-DlJeIF7u.js} +11 -10
  31. package/dist/{Dictionary-Bf5W_pJM.js → Dictionary-DH3ukOm9.js} +4 -3
  32. package/dist/{File-KSe9LUnT.js → File-27vOsF_i.js} +16 -15
  33. package/dist/{Image-Cz3sAz75.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-CFsJEcLx.js → Index-BtK4Riqs.js} +13 -13
  37. package/dist/{Index-CLJ35fvo.js → Index-ByC6qZPq.js} +9 -8
  38. package/dist/{Index-BAdLGn2X.js → Index-CtQ5rwyH.js} +1 -1
  39. package/dist/{Index-5i8NweBu.js → Index-DEDLWObm.js} +1 -1
  40. package/dist/{Index-BSQve4ig.js → Index-DMdBkj-p.js} +1 -1
  41. package/dist/{Index.vue_vue_type_script_setup_true_lang-Crvp7013.js → Index.vue_vue_type_script_setup_true_lang-3zk23es9.js} +21 -15
  42. package/dist/{Index.vue_vue_type_script_setup_true_lang-DaRdnMqk.js → Index.vue_vue_type_script_setup_true_lang-CCdCOtFc.js} +5 -5
  43. package/dist/{Index.vue_vue_type_style_index_0_lang-Cdczm43D.js → Index.vue_vue_type_style_index_0_lang-DZJCAfOb.js} +5 -4
  44. package/dist/{Install-Dx1MoGVW.js → Install-DzOXL82w.js} +12 -11
  45. package/dist/{Int-CfvU-cuR.js → Int-D3k7ZnH3.js} +9 -8
  46. package/dist/{List-BBpYGaUx.js → List-BeoZ2a1r.js} +9 -8
  47. package/dist/{Maintaince-Bs1_cOam.js → Maintaince-BMLmBQI9.js} +1 -1
  48. package/dist/{Markdown-DnPCfzFD.js → Markdown-BVhD-lo1.js} +1 -1
  49. package/dist/{Month-BbbcEZef.js → Month--2hXaJkd.js} +1 -1
  50. package/dist/{Normal-DglkJvhE.js → Normal-B3Xs7sFU.js} +27 -26
  51. package/dist/{Paging-C3ntgZx5.js → Paging-CqpaB0Mn.js} +29 -28
  52. package/dist/{QueryApi-CPyNgIKy.js → QueryApi-BqpLpqXT.js} +1 -1
  53. package/dist/{Racebar-Cseghx3Z.js → Racebar-CvsmozFH.js} +5 -4
  54. package/dist/{Radio-BrSONLbo.js → Radio-DMlWrRLV.js} +1 -1
  55. package/dist/{Register-D7gvuJiE.js → Register-B7KEYSdN.js} +9 -8
  56. package/dist/{RichText-DQvrv6V7.js → RichText-BX7WZjO-.js} +4 -3
  57. package/dist/{SearchFooter-DzxrSako.js → SearchFooter-BSHxMoTL.js} +1 -1
  58. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-h-wf1D-o.js → SearchFooter.vue_vue_type_style_index_0_lang-CgAQfUu-.js} +1 -1
  59. package/dist/{SearchForm-Bo0nk2o4.js → SearchForm-CH5YWxKr.js} +1 -1
  60. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-37Paf-X_.js → SearchForm.vue_vue_type_style_index_0_lang-By2w2biv.js} +4 -3
  61. package/dist/{Select-CIWL2QB_.js → Select-B7VB4CHX.js} +1 -1
  62. package/dist/{Select-DAIbIG11.js → Select-Dmr_Q332.js} +4 -3
  63. package/dist/{Select-Dqw7DP-6.js → Select-zZ9NAS5C.js} +1 -1
  64. package/dist/{Single-CfmqNmeA.js → Single-z7YLL5yh.js} +6 -5
  65. package/dist/{Statistic--Bow2CyV.js → Statistic-SFo_gi_N.js} +5 -4
  66. package/dist/{Stock-U6JTFd2R.js → Stock-DInt0W2k.js} +1 -1
  67. package/dist/{Stock-Bjygq6ei.js → Stock-cw7lE17E.js} +1 -1
  68. package/dist/{Stock.vue_vue_type_style_index_0_lang-BZ0BHU-F.js → Stock.vue_vue_type_style_index_0_lang-DKGuyQ08.js} +4 -3
  69. package/dist/{Switch-qLwHUFTL.js → Switch-gkN2GOAQ.js} +1 -1
  70. package/dist/{Table-DZH3tqZj.js → Table-BRSX9_5r.js} +2 -2
  71. package/dist/{Table-mDlEBMBs.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-DBJbK62d.js → Text.vue_vue_type_style_index_0_lang-Cwyu-GMz.js} +4 -3
  74. package/dist/{TextLink-B6X1_Ltd.js → TextLink-KC_xsgpi.js} +15 -14
  75. package/dist/{Textarea-CnS6jb4O.js → Textarea-DoE5sGRR.js} +1 -1
  76. package/dist/{Timeline-D5mZs0I9.js → Timeline-CTj1FAtR.js} +4 -3
  77. package/dist/{Tree-NDzpgIjQ.js → Tree-B2ILQtRK.js} +4 -3
  78. package/dist/{Tree-V2yFzSQf.js → Tree-DfY_7l-G.js} +22 -21
  79. package/dist/{TreeNode-CrdOVIey.js → TreeNode-BV9BiCFt.js} +10 -9
  80. package/dist/{Update-BGhgeWpg.js → Update-C6EmSv2D.js} +10 -9
  81. package/dist/{Upload-BRAVjqfB.js → Upload-CQo4b32p.js} +25 -24
  82. package/dist/{Upload-DG8svROr.js → Upload-z2mEnrlN.js} +6 -5
  83. package/dist/{UploadApi-DsqrvBXQ.js → UploadApi-C0wC0lME.js} +4 -3
  84. package/dist/{Year-De0vEkgD.js → Year-CEHCOGTW.js} +1 -1
  85. package/dist/{main-_4re--C1.js → main-CgmRyjET.js} +1730 -1553
  86. package/dist/main.js +83 -81
  87. package/dist/style.css +1 -1
  88. package/esm/components/business/HaCondition.vue.d.ts +18 -0
  89. package/esm/components/business/HaCrud.vue.d.ts +29 -0
  90. package/esm/components/business/HaDrawer.vue.d.ts +24 -0
  91. package/esm/components/business/HaDriver.vue.d.ts +52 -0
  92. package/esm/components/business/HaFeedback.vue.d.ts +8 -0
  93. package/esm/components/business/HaForm.vue.d.ts +23 -0
  94. package/esm/components/business/HaSwitch.vue.d.ts +24 -0
  95. package/esm/components/business/HaWelcome.vue.d.ts +8 -0
  96. package/esm/components/business/index.d.ts +8 -7
  97. package/esm/components/layouts/index.d.ts +2 -2
  98. package/esm/components/pages/index.d.ts +2 -2
  99. package/esm/drivers/cdns/Cdn.d.ts +2 -1
  100. package/esm/drivers/cdns/CdnFactory.d.ts +1 -1
  101. package/esm/drivers/cdns/ICdn.d.ts +4 -0
  102. package/esm/drivers/cdns/implements/BootCdn.d.ts +5 -1
  103. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +3 -1
  104. package/esm/drivers/cdns/implements/LocalCdn.d.ts +5 -1
  105. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +9 -1
  106. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +3 -1
  107. package/esm/drivers/driver-helper.d.ts +10 -0
  108. package/esm/drivers/encoders/Encoder.d.ts +11 -0
  109. package/esm/drivers/encoders/EncoderFactory.d.ts +16 -0
  110. package/esm/drivers/encoders/IEncoder.d.ts +22 -0
  111. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +11 -0
  112. package/esm/drivers/excels/ExcelFactory.d.ts +1 -1
  113. package/esm/drivers/features/FeatureFactory.d.ts +1 -1
  114. package/esm/drivers/hashers/Hasher.d.ts +10 -0
  115. package/esm/drivers/hashers/HasherFactory.d.ts +13 -0
  116. package/esm/drivers/hashers/IHasher.d.ts +19 -0
  117. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +10 -0
  118. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +10 -0
  119. package/esm/drivers/providers/ProviderFactory.d.ts +1 -1
  120. package/esm/drivers/requesters/Requester.d.ts +5 -2
  121. package/esm/drivers/requesters/RequesterFactory.d.ts +7 -1
  122. package/esm/drivers/requesters/implements/MkRequester.d.ts +39 -0
  123. package/esm/drivers/signers/ISigner.d.ts +1 -1
  124. package/esm/drivers/signers/SignerFactory.d.ts +1 -1
  125. package/esm/drivers/signers/implements/DefaultSigner.d.ts +3 -1
  126. package/esm/drivers/ssos/ISso.d.ts +1 -1
  127. package/esm/sdks/commons/HaCaptcha.vue.d.ts +14 -0
  128. package/esm/sdks/commons/HaCode.vue.d.ts +39 -0
  129. package/esm/sdks/commons/HaCol.vue.d.ts +9 -0
  130. package/esm/sdks/commons/HaCompare.vue.d.ts +40 -0
  131. package/esm/sdks/commons/HaContainer.vue.d.ts +21 -0
  132. package/esm/sdks/commons/HaDebug.vue.d.ts +9 -0
  133. package/esm/sdks/commons/HaEditable.vue.d.ts +13 -0
  134. package/esm/sdks/commons/HaEmpty.vue.d.ts +24 -0
  135. package/esm/sdks/commons/HaLoading.vue.d.ts +33 -0
  136. package/esm/sdks/commons/HaMouseContext.vue.d.ts +2 -0
  137. package/esm/sdks/commons/HaParticles.vue.d.ts +2 -0
  138. package/esm/sdks/commons/HaProgress.vue.d.ts +8 -0
  139. package/esm/sdks/commons/HaResizer.vue.d.ts +26 -0
  140. package/esm/sdks/commons/HaRow.vue.d.ts +19 -0
  141. package/esm/sdks/commons/HaSpinner.vue.d.ts +20 -0
  142. package/esm/sdks/commons/HaTable.vue.d.ts +34 -0
  143. package/esm/sdks/commons/HaTableColumn.vue.d.ts +31 -0
  144. package/esm/sdks/commons/index.d.ts +13 -13
  145. package/esm/sdks/globals/HaHeaderTab.vue.d.ts +19 -0
  146. package/esm/sdks/globals/HaHeaderTabs.vue.d.ts +17 -0
  147. package/esm/sdks/globals/HaMenu.vue.d.ts +77 -0
  148. package/esm/sdks/globals/HaMenuItem.vue.d.ts +76 -0
  149. package/esm/sdks/globals/HaMissComponent.vue.d.ts +9 -0
  150. package/esm/sdks/globals/HaSideTab.vue.d.ts +21 -0
  151. package/esm/sdks/globals/HaSideTabs.vue.d.ts +17 -0
  152. package/esm/sdks/globals/HaWindow.vue.d.ts +66 -0
  153. package/esm/sdks/globals/index.d.ts +8 -8
  154. package/esm/sdks/helpers/dictionary-helper.d.ts +10 -0
  155. package/esm/sdks/helpers/index.d.ts +3 -2
  156. package/esm/sdks/helpers/json-helper.d.ts +4 -0
  157. package/esm/sdks/helpers/object-helper.d.ts +2 -2
  158. package/esm/sdks/helpers/sign-helper.d.ts +14 -0
  159. package/esm/sdks/helpers/string-helper.d.ts +1 -1
  160. package/esm/sdks/helpers/time-helper.d.ts +2 -2
  161. package/esm/sdks/helpers/url-helper.d.ts +4 -4
  162. package/esm/sdks/panels/HaGroup.vue.d.ts +9 -0
  163. package/esm/sdks/panels/HaHeader.vue.d.ts +16 -0
  164. package/esm/sdks/panels/HaOperation.vue.d.ts +22 -0
  165. package/esm/sdks/panels/HaPanel.vue.d.ts +30 -0
  166. package/esm/sdks/panels/HaShrink.vue.d.ts +48 -0
  167. package/esm/sdks/panels/index.d.ts +4 -4
  168. package/esm/stores/socket.d.ts +1 -1
  169. package/esm/stores/user.d.ts +1 -1
  170. package/package.json +4 -4
  171. package/dist/Code.vue_vue_type_style_index_0_lang-B5F-OmjA.js +0 -62
  172. package/dist/HoSwitch.vue_vue_type_style_index_0_lang-F1qgXnFx.js +0 -46
  173. package/dist/Index-DXnaWCq-.js +0 -4
  174. package/dist/Index-DaGrzGG9.js +0 -4
  175. package/dist/Text-DJbk5I_4.js +0 -4
@@ -0,0 +1,66 @@
1
+ import { WindowProps, WindowOptions } from "../../sdks";
2
+ declare let __VLS_typeProps: WindowProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: boolean;
5
+ } & typeof __VLS_typeProps;
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
7
+ bottom: number;
8
+ }>, {
9
+ focus: () => void;
10
+ blur: () => void;
11
+ min: () => void;
12
+ max: () => void;
13
+ restore: () => void;
14
+ affix: () => void;
15
+ toggleShow: () => void;
16
+ options: WindowOptions;
17
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:modelValue": (modelValue: boolean) => void;
19
+ blur: (...args: any[]) => void;
20
+ close: (...args: any[]) => void;
21
+ focus: (...args: any[]) => void;
22
+ max: (...args: any[]) => void;
23
+ min: (...args: any[]) => void;
24
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
25
+ bottom: number;
26
+ }>>> & {
27
+ onFocus?: (...args: any[]) => any;
28
+ onBlur?: (...args: any[]) => any;
29
+ "onUpdate:modelValue"?: (modelValue: boolean) => any;
30
+ onClose?: (...args: any[]) => any;
31
+ onMax?: (...args: any[]) => any;
32
+ onMin?: (...args: any[]) => any;
33
+ }, {
34
+ bottom: number;
35
+ }, {}>, {
36
+ shortcut?(_: {}): any;
37
+ title?(_: {}): any;
38
+ toolbar?(_: {}): any;
39
+ side?(_: {}): any;
40
+ header?(_: {}): any;
41
+ default?(_: {}): any;
42
+ footer?(_: {}): any;
43
+ }>;
44
+ export default _default;
45
+ type __VLS_WithDefaults<P, D> = {
46
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
+ default: D[K];
48
+ }> : P[K];
49
+ };
50
+ type __VLS_Prettify<T> = {
51
+ [K in keyof T]: T[K];
52
+ } & {};
53
+ type __VLS_WithTemplateSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
58
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
+ type __VLS_TypePropsToOption<T> = {
60
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
61
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
62
+ } : {
63
+ type: import('vue').PropType<T[K]>;
64
+ required: true;
65
+ };
66
+ };
@@ -1,10 +1,10 @@
1
- import HoHeaderTab from "./HoHeaderTab.vue";
2
- import HoHeaderTabs from "./HoHeaderTabs.vue";
3
- import HoMissComponent from "./HoMissComponent.vue";
4
- import HoMenu from "./HoMenu.vue";
5
- import HoSideTab from "./HoSideTab.vue";
6
- import HoSideTabs from "./HoSideTabs.vue";
7
- import HoWindow from "./HoWindow.vue";
1
+ import HaHeaderTab from "./HaHeaderTab.vue";
2
+ import HaHeaderTabs from "./HaHeaderTabs.vue";
3
+ import HaMissComponent from "./HaMissComponent.vue";
4
+ import HaMenu from "./HaMenu.vue";
5
+ import HaSideTab from "./HaSideTab.vue";
6
+ import HaSideTabs from "./HaSideTabs.vue";
7
+ import HaWindow from "./HaWindow.vue";
8
8
  /**
9
9
  * 窗口选项
10
10
  */
@@ -63,4 +63,4 @@ interface WindowProps {
63
63
  */
64
64
  options?: WindowOptions;
65
65
  }
66
- export { HoHeaderTab, HoHeaderTabs, HoMissComponent, HoMenu, HoSideTab, HoSideTabs, HoWindow, WindowProps, WindowOptions, };
66
+ export { HaHeaderTab, HaHeaderTabs, HaMissComponent, HaMenu, HaSideTab, HaSideTabs, HaWindow, WindowProps, WindowOptions, };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 字典帮助类
3
+ */
4
+ declare class DictionaryHelper {
5
+ /**
6
+ * 从指定字典中提取忽略大小写的key的值
7
+ */
8
+ static getValueIgnoreCase(key: string, value: object): string;
9
+ }
10
+ export default DictionaryHelper;
@@ -2,7 +2,7 @@ import ComponentHelper from './component-helper';
2
2
  import ArrayHelper from "./array-helper";
3
3
  import CookieHelper from "./cookie-helper";
4
4
  import DomHelper from "./dom-helper";
5
- import EncryptHelper from "./encrypt-helper";
5
+ import DictionaryHelper from "./dictionary-helper";
6
6
  import EventHelper from "./event-helper";
7
7
  import FileHelper from "./file-helper";
8
8
  import HtmlHelper from "./html-helper";
@@ -22,4 +22,5 @@ import ScrollHelper from "./scroll-helper";
22
22
  import JsonHelper from "./json-helper";
23
23
  import I18nHelper from "./i18n-helper";
24
24
  import UrlHelper from "./url-helper";
25
- export { ComponentHelper, ArrayHelper, CookieHelper, DomHelper, EventHelper, FileHelper, HtmlHelper, ImageHelper, MathHelper, MountHelper, ObjectHelper, MicroHelper, StringHelper, ScriptHelper, TaskHelper, TypeHelper, TimeHelper, TreeHelper, EncryptHelper, StorageHelper, ScrollHelper, JsonHelper, I18nHelper, UrlHelper, };
25
+ import SignHelper from "./sign-helper";
26
+ export { ComponentHelper, ArrayHelper, CookieHelper, DomHelper, DictionaryHelper, EventHelper, FileHelper, HtmlHelper, ImageHelper, MathHelper, MountHelper, ObjectHelper, MicroHelper, StringHelper, ScriptHelper, TaskHelper, TypeHelper, TimeHelper, TreeHelper, StorageHelper, ScrollHelper, JsonHelper, I18nHelper, UrlHelper, SignHelper };
@@ -23,5 +23,9 @@ declare class JsonHelper {
23
23
  * 根据props中的.自动分割得到属性值
24
24
  */
25
25
  static getValue(value: string, props: string): string;
26
+ /**
27
+ * 把json字符串合并到目标对象上
28
+ */
29
+ static mergeTo(target: any, from: string): void;
26
30
  }
27
31
  export default JsonHelper;
@@ -23,9 +23,9 @@ declare class ObjectHelper {
23
23
  */
24
24
  static clone: (obj: any, handler?: (n: any) => void) => any;
25
25
  /**
26
- * 合并对象
26
+ * 合并来源对象到目标对象上
27
27
  */
28
- static merge: (target: any, source: any) => any;
28
+ static mergeTo: (target: any, from: any) => any;
29
29
  /**
30
30
  * 给对象添加属性集合,并赋值
31
31
  */
@@ -0,0 +1,14 @@
1
+ /**
2
+ * 签名帮助类
3
+ */
4
+ declare class SignHelper {
5
+ /**
6
+ * 清空对象中的空值
7
+ */
8
+ static clean(obj: object): void;
9
+ /**
10
+ * 签名字典
11
+ */
12
+ static signDictionary(dictionary: object): string;
13
+ }
14
+ export default SignHelper;
@@ -29,7 +29,7 @@ declare class StringHelper {
29
29
  /**
30
30
  * 忽略大小写包含判断,支持从数组中搜索关键词
31
31
  */
32
- static containsIgnoreCase: (keywords: string, value: string) => boolean;
32
+ static containsIgnoreCase: (keywords: string, value: string | string[]) => boolean;
33
33
  /**
34
34
  * 从html中提取纯文本
35
35
  */
@@ -5,11 +5,11 @@ declare class TimeHelper {
5
5
  /**
6
6
  * 获取相对于1970年1月1日的时间戳(ms),不同时区结果相同
7
7
  */
8
- static getTimestamp: (str?: any) => number;
8
+ static getTimestamp: (value?: any) => number;
9
9
  /**
10
10
  * 根据字符串获取可对比的时间
11
11
  */
12
- static getTime: (str?: any) => Date;
12
+ static getTime: (value?: any) => Date;
13
13
  /**
14
14
  * 格式化时间
15
15
  */
@@ -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
  */
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1,16 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ title: {
3
+ type: StringConstructor;
4
+ };
5
+ theme: {
6
+ type: StringConstructor;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ title: {
10
+ type: StringConstructor;
11
+ };
12
+ theme: {
13
+ type: StringConstructor;
14
+ };
15
+ }>>, {}, {}>;
16
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { OperationProps } from "./index";
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<OperationProps>, {
3
+ ref: import("vue").Ref<any>;
4
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<OperationProps>>>, {}, {}>, {
5
+ left?(_: {}): any;
6
+ default?(_: {}): any;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToOption<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -0,0 +1,30 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ title: {
3
+ type: StringConstructor;
4
+ };
5
+ dark: {
6
+ type: BooleanConstructor;
7
+ default: boolean;
8
+ };
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ title: {
11
+ type: StringConstructor;
12
+ };
13
+ dark: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>>, {
18
+ dark: boolean;
19
+ }, {}>, {
20
+ title?(_: {}): any;
21
+ operation?(_: {}): any;
22
+ default?(_: {}): any;
23
+ "panel-footer"?(_: {}): any;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,48 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ title: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ count: {
7
+ type: NumberConstructor;
8
+ default: any;
9
+ };
10
+ shrinkWhen: {
11
+ type: NumberConstructor;
12
+ default: any;
13
+ };
14
+ shrinkHeight: {
15
+ type: NumberConstructor;
16
+ default: any;
17
+ };
18
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ title: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ count: {
24
+ type: NumberConstructor;
25
+ default: any;
26
+ };
27
+ shrinkWhen: {
28
+ type: NumberConstructor;
29
+ default: any;
30
+ };
31
+ shrinkHeight: {
32
+ type: NumberConstructor;
33
+ default: any;
34
+ };
35
+ }>>, {
36
+ title: string;
37
+ count: number;
38
+ shrinkWhen: number;
39
+ shrinkHeight: number;
40
+ }, {}>, {
41
+ default?(_: {}): any;
42
+ }>;
43
+ export default _default;
44
+ type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -1,6 +1,6 @@
1
- import HoPanel from "./HoPanel.vue";
2
- import HoGroup from "./HoGroup.vue";
3
- import HoOperation from './HoOperation.vue';
1
+ import HaPanel from "./HaPanel.vue";
2
+ import HaGroup from "./HaGroup.vue";
3
+ import HaOperation from './HaOperation.vue';
4
4
  /**
5
5
  * 操作属性
6
6
  */
@@ -10,4 +10,4 @@ interface OperationProps {
10
10
  */
11
11
  padding?: number;
12
12
  }
13
- export { HoPanel, HoGroup, HoOperation, OperationProps };
13
+ export { HaPanel, HaGroup, HaOperation, OperationProps };
@@ -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.0",
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,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-_4re--C1.js";
3
- import "./vendor-@monaco-editor-DKC4UNw_.js";
4
- import "./vendor-moment-h96o7c8I.js";
5
- import "xlsx-js-style";
6
- import { Q } from "./QueryApi-CPyNgIKy.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,46 +0,0 @@
1
- import { defineComponent as f, toRefs as b, ref as C, resolveComponent as u, unref as o, openBlock as a, createElementBlock as i, createVNode as v, isRef as V, withCtx as s, Fragment as k, renderList as w, createBlock as x, createTextVNode as B, toDisplayString as N, createCommentVNode as j } from "vue";
2
- const q = {
3
- key: 0,
4
- class: "ho-layout-switch"
5
- }, S = /* @__PURE__ */ f({
6
- __name: "HoSwitch",
7
- props: {
8
- table: { type: Object, required: !0 },
9
- layout: { type: Object, required: !0 }
10
- },
11
- emits: ["layout-change"],
12
- setup(p, { emit: c }) {
13
- let m = c, d = p, { table: r, layout: y } = b(d), e = C(), _ = (l) => {
14
- m("layout-change", l);
15
- };
16
- return (() => {
17
- e.value = y.value.type;
18
- })(), (l, n) => {
19
- const g = u("el-radio-button"), h = u("el-radio-group");
20
- return o(r).layouts.length > 1 ? (a(), i("div", q, [
21
- v(h, {
22
- size: "small",
23
- onChange: o(_),
24
- modelValue: o(e),
25
- "onUpdate:modelValue": n[0] || (n[0] = (t) => V(e) ? e.value = t : e = t)
26
- }, {
27
- default: s(() => [
28
- (a(!0), i(k, null, w(o(r).layouts, ({ type: t }) => (a(), x(g, {
29
- type: "primary",
30
- value: t
31
- }, {
32
- default: s(() => [
33
- B(N(l.t(`sys.table.layout.${t}`)), 1)
34
- ]),
35
- _: 2
36
- }, 1032, ["value"]))), 256))
37
- ]),
38
- _: 1
39
- }, 8, ["onChange", "modelValue"])
40
- ])) : j("", !0);
41
- };
42
- }
43
- });
44
- export {
45
- S as _
46
- };
@@ -1,4 +0,0 @@
1
- import { o } from "./main-_4re--C1.js";
2
- export {
3
- o as default
4
- };
@@ -1,4 +0,0 @@
1
- import { B as f } from "./main-_4re--C1.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-DBJbK62d.js";
2
- export {
3
- f as default
4
- };