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,29 @@
1
+ import { CrudProps } from "../index";
2
+ declare let __VLS_typeProps: CrudProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string | number;
5
+ } & typeof __VLS_typeProps;
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (modelValue: string | number) => void;
8
+ succeed: (...args: any[]) => void;
9
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
10
+ "onUpdate:modelValue"?: (modelValue: string | number) => any;
11
+ onSucceed?: (...args: any[]) => any;
12
+ }, {}, {}>, {
13
+ default?(_: {}): any;
14
+ }>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToOption<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
@@ -0,0 +1,24 @@
1
+ import { DrawerProps } from "./index";
2
+ declare let __VLS_typeProps: DrawerProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: boolean;
5
+ } & typeof __VLS_typeProps;
6
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": ((modelValue: boolean) => void) & ((...args: any[]) => void);
8
+ succeed: (...args: any[]) => void;
9
+ navigate: (...args: any[]) => void;
10
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
11
+ "onUpdate:modelValue"?: (...args: any[]) => any;
12
+ onSucceed?: (...args: any[]) => any;
13
+ onNavigate?: (...args: any[]) => any;
14
+ }, {}, {}>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToOption<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
@@ -0,0 +1,52 @@
1
+ import { DriverProps } from "./index";
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DriverProps>, {
3
+ readonly: boolean;
4
+ label: boolean;
5
+ width: number;
6
+ }>, {
7
+ keyboard: (type: string, event: KeyboardEvent) => boolean;
8
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ change: (...args: any[]) => void;
10
+ loaded: (...args: any[]) => void;
11
+ succeed: (...args: any[]) => void;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DriverProps>, {
13
+ readonly: boolean;
14
+ label: boolean;
15
+ width: number;
16
+ }>>> & {
17
+ onChange?: (...args: any[]) => any;
18
+ onSucceed?: (...args: any[]) => any;
19
+ onLoaded?: (...args: any[]) => any;
20
+ }, {
21
+ label: boolean;
22
+ width: number;
23
+ readonly: boolean;
24
+ }, {}>, {
25
+ driver?(_: {
26
+ option: any;
27
+ }): any;
28
+ default?(_: {}): any;
29
+ }>;
30
+ export default _default;
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ default: D[K];
34
+ }> : P[K];
35
+ };
36
+ type __VLS_Prettify<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
44
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ type __VLS_TypePropsToOption<T> = {
46
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
+ } : {
49
+ type: import('vue').PropType<T[K]>;
50
+ required: true;
51
+ };
52
+ };
@@ -0,0 +1,8 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ bottom: NumberConstructor;
3
+ }, {
4
+ show: (name: string, url: string) => void;
5
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
6
+ bottom: NumberConstructor;
7
+ }>>, {}, {}>;
8
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import { FormProps } from "./index";
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<FormProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ loaded: (...args: any[]) => void;
4
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<FormProps>>> & {
5
+ onLoaded?: (...args: any[]) => any;
6
+ }, {}, {}>, {
7
+ default?(_: {}): any;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToOption<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
@@ -0,0 +1,24 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ table: {
3
+ type: any;
4
+ required: true;
5
+ };
6
+ layout: {
7
+ type: any;
8
+ required: true;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "layout-change": (...args: any[]) => void;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ table: {
14
+ type: any;
15
+ required: true;
16
+ };
17
+ layout: {
18
+ type: any;
19
+ required: true;
20
+ };
21
+ }>> & {
22
+ "onLayout-change"?: (...args: any[]) => any;
23
+ }, {}, {}>;
24
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ bottom: NumberConstructor;
3
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ [x: string]: (...args: any[]) => void;
5
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
6
+ bottom: NumberConstructor;
7
+ }>>, {}, {}>;
8
+ export default _default;
@@ -1,9 +1,10 @@
1
- import HoCrud from "./HoCrud.vue";
2
- import HoDriver from "./HoDriver.vue";
3
- import HoDrawer from "./HoDrawer.vue";
4
- import HoForm from "./HoForm.vue";
5
- import HoFeedback from "./HoFeedback.vue";
6
- import HoWelcome from "./HoWelcome.vue";
1
+ import HaCrud from "./HaCrud.vue";
2
+ import HaDriver from "./HaDriver.vue";
3
+ import HaDrawer from "./HaDrawer.vue";
4
+ import HaForm from "./HaForm.vue";
5
+ import HaFeedback from "./HaFeedback.vue";
6
+ import HaSwitch from "./HaSwitch.vue";
7
+ import HaWelcome from "./HaWelcome.vue";
7
8
  /**
8
9
  * 注意:
9
10
  * 不能在改文件 export type * from "./index.d"; ,否则会导致该脚本的组件无法在打包后的ts文件中导出
@@ -120,4 +121,4 @@ interface DrawerProps {
120
121
  */
121
122
  url?: string;
122
123
  }
123
- export { HoCrud, HoDriver, HoDrawer, HoForm, HoFeedback, HoWelcome, CrudProps, DriverProps, FormProps, DrawerProps };
124
+ export { HaCrud, HaDriver, HaDrawer, HaForm, HaFeedback, HaSwitch, HaWelcome, CrudProps, DriverProps, FormProps, DrawerProps };
@@ -1,7 +1,7 @@
1
- import HoLayout from "./Index.vue";
1
+ import HaLayout from "./Index.vue";
2
2
  interface ITaskBar {
3
3
  id: string;
4
4
  menu: string;
5
5
  url: string;
6
6
  }
7
- export { HoLayout, ITaskBar };
7
+ export { HaLayout, ITaskBar };
@@ -1,4 +1,4 @@
1
- import HoPage from "./Index.vue";
1
+ import HaPage from "./Index.vue";
2
2
  /**
3
3
  * 页面事件
4
4
  */
@@ -143,4 +143,4 @@ declare enum KeyboardType {
143
143
  ctrlS = 0,
144
144
  ctrlEnter = 1
145
145
  }
146
- export { HoPage, PageEmit, SchemaProps, PageProps, SinglePageProps, PagingPageProps, ListPageProps, DeletePageProps, CustomPageProps, ColumnPageProps, KeyboardType };
146
+ export { HaPage, PageEmit, SchemaProps, PageProps, SinglePageProps, PagingPageProps, ListPageProps, DeletePageProps, CustomPageProps, ColumnPageProps, KeyboardType };
@@ -5,8 +5,9 @@ import ICdn from "./ICdn";
5
5
  declare abstract class Cdn implements ICdn {
6
6
  type: string;
7
7
  baseUrl: string;
8
+ mappings: object;
8
9
  abstract open(conn: string): void;
9
- abstract getPath(name: string): string;
10
+ getPath(name: string): string;
10
11
  loadPathAsync(path: string, files: string[]): Promise<void>;
11
12
  loadAsync(name: string | string[]): Promise<void>;
12
13
  }
@@ -6,6 +6,6 @@ declare class CdnFactory {
6
6
  /**
7
7
  * 获取指定CDN实例
8
8
  */
9
- static getCdn(type: string): ICdn;
9
+ static create(type: string): ICdn;
10
10
  }
11
11
  export default CdnFactory;
@@ -10,6 +10,10 @@ interface ICdn {
10
10
  * 根路径
11
11
  */
12
12
  baseUrl: string;
13
+ /**
14
+ * CDN资源映射
15
+ */
16
+ mappings: object;
13
17
  /**
14
18
  * 开启
15
19
  */
@@ -2,7 +2,11 @@ import ICdn from "../ICdn";
2
2
  import Cdn from "../Cdn";
3
3
  declare class BootCdn extends Cdn implements ICdn {
4
4
  type: string;
5
+ mappings: {
6
+ 'element-plus': string;
7
+ 'monaco-editor': string;
8
+ quill: string;
9
+ };
5
10
  open(conn: string): void;
6
- getPath(name: string): string;
7
11
  }
8
12
  export default BootCdn;
@@ -5,7 +5,9 @@ import Cdn from "../Cdn";
5
5
  */
6
6
  declare class JsdelivrCdn extends Cdn implements ICdn {
7
7
  type: string;
8
+ mappings: {
9
+ 'monaco-editor': string;
10
+ };
8
11
  open(conn: string): void;
9
- getPath(name: string): string;
10
12
  }
11
13
  export default JsdelivrCdn;
@@ -2,7 +2,11 @@ import Cdn from "../Cdn";
2
2
  import ICdn from "../ICdn";
3
3
  declare class LocalCdn extends Cdn implements ICdn {
4
4
  type: string;
5
+ mappings: {
6
+ 'element-plus': string;
7
+ quill: string;
8
+ 'fort-awesome': string;
9
+ };
5
10
  open(conn: string): void;
6
- getPath(name: string): string;
7
11
  }
8
12
  export default LocalCdn;
@@ -1,8 +1,16 @@
1
1
  import ICdn from "../ICdn";
2
2
  import Cdn from "../Cdn";
3
+ /**
4
+ * StaticFile
5
+ */
3
6
  declare class StaticFileCdn extends Cdn implements ICdn {
4
7
  type: string;
8
+ mappings: {
9
+ 'element-plus': string;
10
+ 'monaco-editor': string;
11
+ quill: string;
12
+ 'fort-awesome': string;
13
+ };
5
14
  open(conn: string): void;
6
- getPath(name: string): string;
7
15
  }
8
16
  export default StaticFileCdn;
@@ -2,7 +2,9 @@ import Cdn from "../Cdn";
2
2
  import ICdn from "../ICdn";
3
3
  declare class UnpkgCdn extends Cdn implements ICdn {
4
4
  type: string;
5
+ mappings: {
6
+ 'monaco-editor': string[];
7
+ };
5
8
  open(conn: string): void;
6
- getPath(name: string): string;
7
9
  }
8
10
  export default UnpkgCdn;
@@ -4,6 +4,8 @@ import IFeature from "./features/IFeature";
4
4
  import IProvider from "./providers/IProvider";
5
5
  import IExcel from "./excels/IExcel";
6
6
  import ICdn from "./cdns/ICdn";
7
+ import IEncoder from "./encoders/IEncoder";
8
+ import IHasher from "./hashers/IHasher";
7
9
  /**
8
10
  * 驱动帮助类
9
11
  */
@@ -32,5 +34,13 @@ declare class DriverHelper {
32
34
  * 获取CDN实例
33
35
  */
34
36
  static getCdn(type: string, baseUrl?: string): ICdn;
37
+ /**
38
+ * 获取编码器
39
+ */
40
+ static getEncoder(type: string): IEncoder;
41
+ /**
42
+ * 获取Hasher
43
+ */
44
+ static getHasher(type: string): IHasher;
35
45
  }
36
46
  export default DriverHelper;
@@ -0,0 +1,11 @@
1
+ import IEncoder from "./IEncoder";
2
+ /**
3
+ * 编码基类
4
+ */
5
+ declare abstract class Encoder implements IEncoder {
6
+ type: string;
7
+ abstract open(conn: string): void;
8
+ abstract encode(value: string): string;
9
+ abstract decode(value: string): string;
10
+ }
11
+ export default Encoder;
@@ -0,0 +1,16 @@
1
+ import IEncoder from "./IEncoder";
2
+ /**
3
+ * 编码器工厂
4
+ */
5
+ declare class EncoderFactory {
6
+ /**
7
+ * 创建执行类型的Hash实例
8
+ */
9
+ static create(type: string): IEncoder;
10
+ private static base64;
11
+ /**
12
+ * 获取Base64 编码器对象
13
+ */
14
+ static getBase64(): IEncoder;
15
+ }
16
+ export default EncoderFactory;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * 编码器接口
3
+ */
4
+ interface IEncoder {
5
+ /**
6
+ * 类型
7
+ */
8
+ type: string;
9
+ /**
10
+ * 开启
11
+ */
12
+ open(conn: string): void;
13
+ /**
14
+ * 字符串编码
15
+ */
16
+ encode(value: string): string;
17
+ /**
18
+ * 字符串解码
19
+ */
20
+ decode(value: string): string;
21
+ }
22
+ export default IEncoder;
@@ -0,0 +1,11 @@
1
+ import Encoder from "../Encoder";
2
+ /**
3
+ * MD5 hash计算
4
+ */
5
+ declare class Base64Encoder extends Encoder {
6
+ type: string;
7
+ open(conn: string): void;
8
+ encode(value: string): string;
9
+ decode(value: string): string;
10
+ }
11
+ export default Base64Encoder;
@@ -6,6 +6,6 @@ declare class ExcelFactory {
6
6
  /**
7
7
  * 获取Excel实例
8
8
  */
9
- static getExcel(type: string): IExcel;
9
+ static create(type: string): IExcel;
10
10
  }
11
11
  export default ExcelFactory;
@@ -6,6 +6,6 @@ declare class FeatureFactory {
6
6
  /**
7
7
  * 获取指定特征实例
8
8
  */
9
- static getFeature(type: string): IFeature;
9
+ static create(type: string): IFeature;
10
10
  }
11
11
  export default FeatureFactory;
@@ -0,0 +1,10 @@
1
+ import IHasher from "./IHasher";
2
+ /**
3
+ * Hash计算基类
4
+ */
5
+ declare abstract class Hasher implements IHasher {
6
+ type: string;
7
+ abstract open(conn: string): void;
8
+ abstract compute(value: string): Promise<string>;
9
+ }
10
+ export default Hasher;
@@ -0,0 +1,13 @@
1
+ import IHasher from "./IHasher";
2
+ declare class HasherFactory {
3
+ /**
4
+ * 创建执行类型的Hash实例
5
+ */
6
+ static create(type: string): IHasher;
7
+ private static md5;
8
+ /**
9
+ * 获取MD5 Hash对象
10
+ */
11
+ static getMd5(): IHasher;
12
+ }
13
+ export default HasherFactory;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Hash接口
3
+ */
4
+ interface IHasher {
5
+ /**
6
+ * 类型
7
+ */
8
+ type: string;
9
+ /**
10
+ * 开启
11
+ */
12
+ open(conn: string): void;
13
+ /**
14
+ * 计算字符串Hash值
15
+ * @param value
16
+ */
17
+ compute(value: string): Promise<string>;
18
+ }
19
+ export default IHasher;
@@ -0,0 +1,10 @@
1
+ import Hasher from "../Hasher";
2
+ /**
3
+ * MD5 hash计算
4
+ */
5
+ declare class Md5Hasher extends Hasher {
6
+ type: string;
7
+ open(conn: string): void;
8
+ compute(value: string): Promise<string>;
9
+ }
10
+ export default Md5Hasher;
@@ -0,0 +1,10 @@
1
+ import Hasher from "../Hasher";
2
+ /**
3
+ * Sha256 Hash计算
4
+ */
5
+ declare class Sha256Hasher extends Hasher {
6
+ type: string;
7
+ open(conn: string): void;
8
+ compute(value: string): Promise<string>;
9
+ }
10
+ export default Sha256Hasher;
@@ -6,6 +6,6 @@ declare class ProviderFactory {
6
6
  /**
7
7
  * 获取指定类型的提供程序
8
8
  */
9
- static getProvider(type: string): IProvider;
9
+ static create(type: string): IProvider;
10
10
  }
11
11
  export default ProviderFactory;
@@ -1,8 +1,11 @@
1
1
  import IRequester from "./IRequester";
2
2
  import HttpRequest from "./entities/HttpRequest";
3
3
  import HttpResponse from "./entities/HttpResponse";
4
+ /**
5
+ * 请求器基类
6
+ */
4
7
  declare abstract class Requester implements IRequester {
5
- open(conn: string): void;
6
- send(request: HttpRequest): Promise<HttpResponse>;
8
+ abstract open(conn: string): void;
9
+ abstract send(request: HttpRequest): Promise<HttpResponse>;
7
10
  }
8
11
  export default Requester;
@@ -1,4 +1,5 @@
1
1
  import DefaultRequester from "./implements/DefaultRequester";
2
+ import IRequester from "./IRequester";
2
3
  /**
3
4
  * 请求器工厂类
4
5
  */
@@ -6,6 +7,11 @@ declare class RequesterFactory {
6
7
  /**
7
8
  * 获取指定请求器
8
9
  */
9
- static getRequester(type: string): DefaultRequester;
10
+ static create(type: string): DefaultRequester;
11
+ private static _default;
12
+ /**
13
+ * 获取默认请求器
14
+ */
15
+ static getDefault(): IRequester;
10
16
  }
11
17
  export default RequesterFactory;
@@ -0,0 +1,39 @@
1
+ import Requester from "../Requester";
2
+ import HttpRequest from "../entities/HttpRequest";
3
+ import HttpResponse from "../entities/HttpResponse";
4
+ import IRequester from "../IRequester";
5
+ import IHasher from "../../hashers/IHasher";
6
+ /**
7
+ * MK请求器
8
+ */
9
+ declare class MkRequester extends Requester {
10
+ /**
11
+ * 基准地址
12
+ */
13
+ baseUrl: string;
14
+ /**
15
+ * AppId
16
+ */
17
+ appId: string;
18
+ /**
19
+ * AppSecret
20
+ */
21
+ appSecret: string;
22
+ /**
23
+ * 默认请求器
24
+ */
25
+ requester: IRequester;
26
+ /**
27
+ * Hash计算器
28
+ */
29
+ hasher: IHasher;
30
+ /**
31
+ * 危险操作,会暴露敏感信息
32
+ */
33
+ open(conn: string): void;
34
+ /**
35
+ * 危险操作,会暴露敏感信息
36
+ */
37
+ send(request: HttpRequest): Promise<HttpResponse>;
38
+ }
39
+ export default MkRequester;
@@ -24,7 +24,7 @@ interface ISigner {
24
24
  /**
25
25
  * 获取签名
26
26
  */
27
- getSign(userId: string, url: string, body: any, timestamp: number, secret: string): string;
27
+ getSign(userId: string, url: string, body: any, timestamp: number, secret: string): Promise<string>;
28
28
  /**
29
29
  * 释放资源
30
30
  */
@@ -6,6 +6,6 @@ declare class SignerFactory {
6
6
  /**
7
7
  * 获取指定签名实例
8
8
  */
9
- static getSigner(type: string): ISigner;
9
+ static create(type: string): ISigner;
10
10
  }
11
11
  export default SignerFactory;
@@ -1,15 +1,17 @@
1
1
  import ISigner from "../ISigner";
2
+ import IHasher from "../../hashers/IHasher";
2
3
  /**
3
4
  * 默认签名器
4
5
  */
5
6
  declare class DefaultSigner implements ISigner {
6
7
  type: string;
8
+ hasher: IHasher;
7
9
  open(auth: {
8
10
  url: string;
9
11
  app_id: string;
10
12
  }): void;
11
13
  callback(token: string): void;
12
- getSign(userId: string, url: string, body: object, timestamp: number, secret: string): string;
14
+ getSign(userId: string, url: string, body: object, timestamp: number, secret: string): Promise<string>;
13
15
  loginUrl(callback: string): string;
14
16
  dispose(): void;
15
17
  }
@@ -32,7 +32,7 @@ interface ISso {
32
32
  /**
33
33
  * 获取授权头,不能泄露域账号等用户标识
34
34
  */
35
- getAuthorization(token: string, timestamp: number, signature: string, env: string): string;
35
+ getAuthorization(token: string, timestamp: number, sign: string, env: string): string;
36
36
  /**
37
37
  * 退出
38
38
  */
@@ -0,0 +1,14 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ content: StringConstructor;
3
+ jigsaw: StringConstructor;
4
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ refresh: (...args: any[]) => void;
6
+ validate: (...args: any[]) => void;
7
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ content: StringConstructor;
9
+ jigsaw: StringConstructor;
10
+ }>> & {
11
+ onRefresh?: (...args: any[]) => any;
12
+ onValidate?: (...args: any[]) => any;
13
+ }, {}, {}>;
14
+ export default _default;