halo-pc 1.0.32 → 1.0.33
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-DCYJail8.js +196 -0
- package/dist/{ArticleFooter-CQ9AIv5h.js → ArticleFooter-Bvzumuub.js} +17 -21
- package/dist/{Autocomplete-OR6Im-cE.js → Autocomplete-C0D5E-06.js} +1 -1
- package/dist/Autocomplete-CpWD0i6D.js +50 -0
- package/dist/Autocomplete-SLfUYHq2.js +51 -0
- package/dist/{CSharp-AEpf5-C8.js → CSharp-BWRmcrNc.js} +1 -1
- package/dist/{Calender-B9SQE_dy.js → Calender-Dy-Sjrei.js} +1 -1
- package/dist/Callback-DrBVE0ti.js +22 -0
- package/dist/{Cascader-CQYJHxde.js → Cascader-CIj4KFmi.js} +16 -20
- package/dist/Cascader-DZl4vY2s.js +43 -0
- package/dist/{Checkbox-rn3rUyNj.js → Checkbox-Bb5vxnKt.js} +13 -17
- package/dist/{Checkbox-DYnxQbzW.js → Checkbox-DwDE5km1.js} +1 -1
- package/dist/{Code-CrgtwU3k.js → Code-B8uBt_JE.js} +1 -1
- package/dist/Code-D2wLpash.js +38 -0
- package/dist/Code-DN-iUuKo.js +4 -0
- package/dist/Code-s8nXn9oo.js +56 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-6xhQHppt.js +61 -0
- package/dist/Column-mw1IjF56.js +71 -0
- package/dist/{Comment-BsBFJGaQ.js → Comment-BEi2eeXI.js} +21 -25
- package/dist/{Compare-Cv14ecIG.js → Compare-B9C-Kwdu.js} +7 -11
- package/dist/{Compare-DWPAXxRl.js → Compare-DsdPxDYn.js} +6 -10
- package/dist/{Copy-GmouOi6m.js → Copy-CMbmQr2C.js} +11 -15
- package/dist/Custom-BrfTYDWw.js +61 -0
- package/dist/{DataExport-nWsB9V2F.js → DataExport-VHKsp5uP.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CSEK5Szf.js → DataExport.vue_vue_type_script_setup_true_lang-Caq9XJ-O.js} +16 -19
- package/dist/{DataImport-B-p5FvJ7.js → DataImport-CnpQ9Kym.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-aFcYHSGO.js → DataImport.vue_vue_type_script_setup_true_lang-DplpxvPQ.js} +45 -47
- package/dist/Date-C2SRDxyk.js +39 -0
- package/dist/{Date-ajUkX7sc.js → Date-CvIM_2sI.js} +1 -1
- package/dist/{DateRange-t7EQCe1S.js → DateRange-WkA7vYqq.js} +15 -19
- package/dist/{DateTime-C0ZOwxCc.js → DateTime-DcXFUF6E.js} +1 -1
- package/dist/DateTime-wWaTFovo.js +40 -0
- package/dist/{DateTimeRange-CcO07AoI.js → DateTimeRange-Q9AW6zyN.js} +10 -14
- package/dist/Daterange-BY8ZDlBN.js +59 -0
- package/dist/{Decimal-BgjGUtrc.js → Decimal-UESG5P18.js} +1 -1
- package/dist/{Delete-C9XmUMZJ.js → Delete-n91Fcpc-.js} +8 -12
- package/dist/{Detail-KkegBU3k.js → Detail-BtcLxHBS.js} +15 -19
- package/dist/Dictionary-CAJUcBp0.js +57 -0
- package/dist/{Email-CJPL28hv.js → Email-CDMwJk7Z.js} +11 -15
- package/dist/{File-BjbmEXZd.js → File-C76d1BJ1.js} +14 -18
- package/dist/{Image-BDtr8i7Q.js → Image-CSSMA_jD.js} +1 -1
- package/dist/{Index-DFgVPWAR.js → Index-BgqFKRRj.js} +1 -1
- package/dist/{Index-A3fVUpUc.js → Index-BrgQOciZ.js} +17 -20
- package/dist/Index-C5u3IceT.js +4 -0
- package/dist/Index-C8Z6PxoA.js +4 -0
- package/dist/Index-DB0yuhyV.js +175 -0
- package/dist/{Index-CrsEtA8H.js → Index-DLubnMVv.js} +1 -1
- package/dist/Index-KkyOmZ3R.js +4 -0
- package/dist/Index-msx6xz6k.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BchX4oAa.js → Index.vue_vue_type_script_setup_true_lang-1MpxyKly.js} +11 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-D8sKBxWN.js → Index.vue_vue_type_script_setup_true_lang-gZbmbXo1.js} +9 -13
- package/dist/{Install-BKjOyBl4.js → Install-CtSCUNub.js} +19 -23
- package/dist/{Int-DH7oV_hH.js → Int-B4zAW0X4.js} +10 -13
- package/dist/{Int-DHDcCAlq.js → Int-XV1t0f4f.js} +8 -12
- package/dist/{List-sJPDvZo0.js → List-v37-UA9D.js} +26 -30
- package/dist/Maintaince-C44w8P26.js +16 -0
- package/dist/{Markdown-569jtVWW.js → Markdown-C_lGXaO5.js} +1 -1
- package/dist/Month-cm6vEq2Y.js +39 -0
- package/dist/{Month-B8bZg9yu.js → Month-pJdC-juw.js} +1 -1
- package/dist/Month-zzTLcslu.js +40 -0
- package/dist/{Normal-COyWYgbT.js → Normal-BT6pVoVx.js} +78 -81
- package/dist/Paging-B-0NeSQQ.js +96 -0
- package/dist/{PagingHeader-B9ZN-gzP.js → PagingHeader-CbkHChbA.js} +14 -18
- package/dist/{PagingRow-BMCnYeRU.js → PagingRow-DQGIZbFP.js} +11 -15
- package/dist/QueryApi-DLCwFvTe.js +16 -0
- package/dist/{Racebar-jI_Tr0oJ.js → Racebar-CryjydAO.js} +38 -41
- package/dist/{Radio-CXOvmHaC.js → Radio-CHnqeLBU.js} +1 -1
- package/dist/{Register-Dc3SHbQr.js → Register-CB1q0ncb.js} +67 -70
- package/dist/{RichText-BFoNVAke.js → RichText-BvK0bmFf.js} +11 -15
- package/dist/{SearchFooter-z_VvJkGQ.js → SearchFooter-DaEhbBdR.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Cyc3lOz2.js → SearchFooter.vue_vue_type_style_index_0_lang-B8QDMIGV.js} +1 -1
- package/dist/{SearchForm-DOf6HA9X.js → SearchForm-BcDIYVhU.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-4UV9Kag_.js → SearchForm.vue_vue_type_style_index_0_lang-DtvRf-gM.js} +41 -44
- package/dist/{Select-C07y0IUr.js → Select-BMazswCl.js} +14 -18
- package/dist/{Select-DjvKZlDp.js → Select-D3aaF4gn.js} +15 -19
- package/dist/{Select-DUL8NZY-.js → Select-D9Jclups.js} +1 -1
- package/dist/{Single-CoZwT834.js → Single-DCOCo7Vc.js} +78 -81
- package/dist/{Statistic-B9sFcyyg.js → Statistic-teiCMfQY.js} +33 -36
- package/dist/{Stock-CwZn5mMQ.js → Stock-CLmG6hy_.js} +1 -1
- package/dist/{Stock-lAtweMdA.js → Stock-wNOHTOMF.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-BuSHv622.js → Stock.vue_vue_type_style_index_0_lang-DEkzz8vd.js} +12 -15
- package/dist/{Switch-D5N98lH2.js → Switch-C_sovBFO.js} +1 -1
- package/dist/Table-CrYK4rG9.js +241 -0
- package/dist/{Table-D_G9vqqg.js → Table-pLTOSr8X.js} +97 -101
- package/dist/{Text-CP8Fzkm-.js → Text-Bi_wT7pC.js} +16 -20
- package/dist/Text-DMGSVlY8.js +4 -0
- package/dist/{Text-PDd5nZH8.js → Text-DVP3c8MB.js} +8 -12
- package/dist/{Text.vue_vue_type_style_index_0_lang-JCklGm0p.js → Text.vue_vue_type_style_index_0_lang-BlQ5FRgx.js} +15 -19
- package/dist/{TextLink-B-uh2FSK.js → TextLink-KhbhlvEL.js} +16 -20
- package/dist/{Textarea-m0k4bL1V.js → Textarea-BhAHTT9o.js} +1 -1
- package/dist/{Time-DOZHyrC6.js → Time-Dchjq1cn.js} +12 -16
- package/dist/{Timeline-CWVqeAPO.js → Timeline-BhQmk26x.js} +13 -17
- package/dist/{Tree-BftFsRke.js → Tree-B1oZglBE.js} +114 -117
- package/dist/Tree-CES1v1og.js +119 -0
- package/dist/TreeNode-BWI6UAUL.js +39 -0
- package/dist/{Update-Bq3Vc9BT.js → Update-Bil0d3JB.js} +10 -14
- package/dist/{UpdateChild-Bzxp6hg4.js → UpdateChild-QgHXRQrk.js} +14 -18
- package/dist/Upload-Cha8b4S2.js +148 -0
- package/dist/Upload-DACACI2K.js +69 -0
- package/dist/UploadApi-EK9Yas4b.js +16 -0
- package/dist/Year-DX-UFKAf.js +43 -0
- package/dist/{Year-C1ewILpv.js → Year-abA2Vrst.js} +1 -1
- package/dist/main-Dq4FCPIB.js +9703 -0
- package/dist/main.js +134 -131
- package/dist/style.css +1 -1
- package/esm/App.vue.d.ts +2 -0
- package/esm/components/business/HaCondition.vue.d.ts +18 -0
- package/esm/components/business/HaCrud.vue.d.ts +29 -0
- package/esm/components/business/HaDrawer.vue.d.ts +24 -0
- package/esm/components/business/HaDriver.vue.d.ts +52 -0
- package/esm/components/business/HaFeedback.vue.d.ts +8 -0
- package/esm/components/business/HaForm.vue.d.ts +23 -0
- package/esm/components/business/HaSwitch.vue.d.ts +24 -0
- package/esm/components/business/HaWelcome.vue.d.ts +8 -0
- package/esm/components/business/index.d.ts +124 -0
- package/esm/components/controls/Autocomplete.vue.d.ts +24 -0
- package/esm/components/controls/Cascader.vue.d.ts +24 -0
- package/esm/components/controls/Checkbox.vue.d.ts +22 -0
- package/esm/components/controls/Code.vue.d.ts +24 -0
- package/esm/components/controls/Color.vue.d.ts +24 -0
- package/esm/components/controls/Compare.vue.d.ts +24 -0
- package/esm/components/controls/Date.vue.d.ts +24 -0
- package/esm/components/controls/DateRange.vue.d.ts +24 -0
- package/esm/components/controls/DateTime.vue.d.ts +24 -0
- package/esm/components/controls/DateTimeRange.vue.d.ts +24 -0
- package/esm/components/controls/Decimal.vue.d.ts +24 -0
- package/esm/components/controls/Email.vue.d.ts +24 -0
- package/esm/components/controls/Image.vue.d.ts +2 -0
- package/esm/components/controls/Index.vue.d.ts +22 -0
- package/esm/components/controls/Int.vue.d.ts +24 -0
- package/esm/components/controls/Markdown.vue.d.ts +24 -0
- package/esm/components/controls/Month.vue.d.ts +24 -0
- package/esm/components/controls/Password.vue.d.ts +24 -0
- package/esm/components/controls/Progress.vue.d.ts +24 -0
- package/esm/components/controls/Radio.vue.d.ts +24 -0
- package/esm/components/controls/Rate.vue.d.ts +24 -0
- package/esm/components/controls/RichText.vue.d.ts +22 -0
- package/esm/components/controls/Select.vue.d.ts +24 -0
- package/esm/components/controls/Switch.vue.d.ts +24 -0
- package/esm/components/controls/Text.vue.d.ts +26 -0
- package/esm/components/controls/Textarea.vue.d.ts +24 -0
- package/esm/components/controls/Time.vue.d.ts +24 -0
- package/esm/components/controls/Upload.vue.d.ts +24 -0
- package/esm/components/controls/Year.vue.d.ts +24 -0
- package/esm/components/controls/index.d.ts +26 -0
- package/esm/components/headers/Breadcrumb.vue.d.ts +2 -0
- package/esm/components/headers/Debugger.vue.d.ts +2 -0
- package/esm/components/headers/Hamburger.vue.d.ts +18 -0
- package/esm/components/headers/HeaderRight.vue.d.ts +2 -0
- package/esm/components/headers/Index.vue.d.ts +6 -0
- package/esm/components/headers/Log.vue.d.ts +2 -0
- package/esm/components/headers/Logo.vue.d.ts +6 -0
- package/esm/components/headers/Refresh.vue.d.ts +6 -0
- package/esm/components/headers/Setting.vue.d.ts +8 -0
- package/esm/components/headers/index.d.ts +3 -0
- package/esm/components/index.d.ts +8 -0
- package/esm/components/layouts/Desktop.vue.d.ts +2 -0
- package/esm/components/layouts/Index.vue.d.ts +2 -0
- package/esm/components/layouts/Side.vue.d.ts +2 -0
- package/esm/components/layouts/Top.vue.d.ts +2 -0
- package/esm/components/layouts/index.d.ts +7 -0
- package/esm/components/lists/Calender.vue.d.ts +2 -0
- package/esm/components/lists/Racebar.vue.d.ts +18 -0
- package/esm/components/lists/Statistic.vue.d.ts +18 -0
- package/esm/components/lists/Stock.vue.d.ts +12 -0
- package/esm/components/lists/Timeline.vue.d.ts +12 -0
- package/esm/components/lists/Tree.vue.d.ts +26 -0
- package/esm/components/lists/index.d.ts +15 -0
- package/esm/components/pages/Column.vue.d.ts +22 -0
- package/esm/components/pages/Custom.vue.d.ts +25 -0
- package/esm/components/pages/Delete.vue.d.ts +20 -0
- package/esm/components/pages/Index.vue.d.ts +2 -0
- package/esm/components/pages/List.vue.d.ts +24 -0
- package/esm/components/pages/Paging.vue.d.ts +24 -0
- package/esm/components/pages/Single.vue.d.ts +28 -0
- package/esm/components/pages/index.d.ts +146 -0
- package/esm/components/pagings/Article.vue.d.ts +27 -0
- package/esm/components/pagings/Code.vue.d.ts +12 -0
- package/esm/components/pagings/DataExport.vue.d.ts +33 -0
- package/esm/components/pagings/DataImport.vue.d.ts +18 -0
- package/esm/components/pagings/File.vue.d.ts +12 -0
- package/esm/components/pagings/Index.vue.d.ts +33 -0
- package/esm/components/pagings/SearchFooter.vue.d.ts +122 -0
- package/esm/components/pagings/SearchForm.vue.d.ts +72 -0
- package/esm/components/pagings/Table.vue.d.ts +31 -0
- package/esm/components/pagings/index.d.ts +11 -0
- package/esm/components/partials/ArticleFooter.vue.d.ts +24 -0
- package/esm/components/partials/Detail.vue.d.ts +20 -0
- package/esm/components/partials/PagingHeader.vue.d.ts +28 -0
- package/esm/components/partials/PagingRow.vue.d.ts +24 -0
- package/esm/components/partials/TreeNode.vue.d.ts +12 -0
- package/esm/components/partials/Update.vue.d.ts +20 -0
- package/esm/components/partials/UpdateChild.vue.d.ts +22 -0
- package/esm/components/partials/index.d.ts +135 -0
- package/esm/components/searches/Autocomplete.vue.d.ts +24 -0
- package/esm/components/searches/Daterange.vue.d.ts +22 -0
- package/esm/components/searches/Index.vue.d.ts +18 -0
- package/esm/components/searches/Int.vue.d.ts +24 -0
- package/esm/components/searches/Month.vue.d.ts +24 -0
- package/esm/components/searches/Select.vue.d.ts +24 -0
- package/esm/components/searches/Text.vue.d.ts +24 -0
- package/esm/components/searches/index.d.ts +7 -0
- package/esm/components/singles/Code.vue.d.ts +18 -0
- package/esm/components/singles/Comment.vue.d.ts +12 -0
- package/esm/components/singles/Index.vue.d.ts +25 -0
- package/esm/components/singles/Normal.vue.d.ts +21 -0
- package/esm/components/singles/Statistic.vue.d.ts +12 -0
- package/esm/components/singles/Stock.vue.d.ts +12 -0
- package/esm/components/singles/Table.vue.d.ts +22 -0
- package/esm/components/singles/Tree.vue.d.ts +14 -0
- package/esm/components/singles/Tree_Old.vue.d.ts +2 -0
- package/esm/components/singles/index.d.ts +15 -0
- package/esm/components/texts/Autocomplete.vue.d.ts +16 -0
- package/esm/components/texts/CSharp.vue.d.ts +16 -0
- package/esm/components/texts/Cascader.vue.d.ts +22 -0
- package/esm/components/texts/Checkbox.vue.d.ts +16 -0
- package/esm/components/texts/Code.vue.d.ts +16 -0
- package/esm/components/texts/Color.vue.d.ts +16 -0
- package/esm/components/texts/Compare.vue.d.ts +16 -0
- package/esm/components/texts/Copy.vue.d.ts +24 -0
- package/esm/components/texts/Date.vue.d.ts +16 -0
- package/esm/components/texts/DateRange.vue.d.ts +16 -0
- package/esm/components/texts/DateTime.vue.d.ts +16 -0
- package/esm/components/texts/Decimal.vue.d.ts +16 -0
- package/esm/components/texts/Dictionary.vue.d.ts +24 -0
- package/esm/components/texts/Email.vue.d.ts +16 -0
- package/esm/components/texts/Index.vue.d.ts +22 -0
- package/esm/components/texts/Int.vue.d.ts +16 -0
- package/esm/components/texts/Markdown.vue.d.ts +16 -0
- package/esm/components/texts/Month.vue.d.ts +16 -0
- package/esm/components/texts/Password.vue.d.ts +16 -0
- package/esm/components/texts/Progress.vue.d.ts +16 -0
- package/esm/components/texts/Radio.vue.d.ts +16 -0
- package/esm/components/texts/Rate.vue.d.ts +24 -0
- package/esm/components/texts/RichText.vue.d.ts +16 -0
- package/esm/components/texts/Select.vue.d.ts +16 -0
- package/esm/components/texts/Switch.vue.d.ts +16 -0
- package/esm/components/texts/Text.vue.d.ts +16 -0
- package/esm/components/texts/TextLink.vue.d.ts +29 -0
- package/esm/components/texts/Textarea.vue.d.ts +16 -0
- package/esm/components/texts/Upload.vue.d.ts +16 -0
- package/esm/components/texts/Year.vue.d.ts +16 -0
- package/esm/coms/business/Driver.vue.d.ts +1 -0
- package/esm/coms/business/HaCondition.vue.d.ts +18 -0
- package/esm/coms/business/HaCrud.vue.d.ts +29 -0
- package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
- package/esm/coms/business/HaDriver.vue.d.ts +52 -0
- package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
- package/esm/coms/business/HaForm.vue.d.ts +23 -0
- package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
- package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
- package/esm/coms/business/Welcome.vue.d.ts +3 -1
- package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
- package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
- package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
- package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
- package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
- package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
- package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
- package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
- package/esm/coms/commons/HaTable.vue.d.ts +34 -0
- package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
- package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
- package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
- package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
- package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
- package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
- package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
- package/esm/coms/globals/Window.vue.d.ts +11 -2
- package/esm/coms/headers/HeaderRight.vue.d.ts +5 -1
- package/esm/coms/headers/Index.vue.d.ts +14 -15
- package/esm/coms/headers/index.d.ts +2 -2
- package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
- package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
- package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
- package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
- package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
- package/esm/plugins/PcMessager.d.ts +35 -0
- package/esm/plugins/index.d.ts +1 -2
- package/esm/sdks/commons/HaCaptcha.vue.d.ts +14 -0
- package/esm/sdks/commons/HaDebug.vue.d.ts +9 -0
- package/esm/sdks/commons/HaEditable.vue.d.ts +13 -0
- package/esm/sdks/commons/HaLoading.vue.d.ts +33 -0
- package/esm/sdks/commons/HaMouseContext.vue.d.ts +2 -0
- package/esm/sdks/commons/HaParticles.vue.d.ts +2 -0
- package/esm/sdks/commons/HaResizer.vue.d.ts +26 -0
- package/esm/sdks/commons/HaSpinner.vue.d.ts +20 -0
- package/esm/sdks/commons/HaTable.vue.d.ts +34 -0
- package/esm/sdks/commons/HaTableColumn.vue.d.ts +31 -0
- package/esm/sdks/commons/index.d.ts +32 -0
- package/esm/sdks/globals/HaHeaderTab.vue.d.ts +19 -0
- package/esm/sdks/globals/HaHeaderTabs.vue.d.ts +17 -0
- package/esm/sdks/globals/HaMenu.vue.d.ts +77 -0
- package/esm/sdks/globals/HaMenuItem.vue.d.ts +76 -0
- package/esm/sdks/globals/HaMissComponent.vue.d.ts +9 -0
- package/esm/sdks/globals/HaSideTab.vue.d.ts +21 -0
- package/esm/sdks/globals/HaSideTabs.vue.d.ts +17 -0
- package/esm/sdks/globals/HaWindow.vue.d.ts +66 -0
- package/esm/sdks/globals/index.d.ts +70 -0
- package/esm/sdks/index.d.ts +4 -0
- package/esm/sdks/panels/HaGroup.vue.d.ts +9 -0
- package/esm/sdks/panels/HaHeader.vue.d.ts +16 -0
- package/esm/sdks/panels/HaOperation.vue.d.ts +22 -0
- package/esm/sdks/panels/HaPanel.vue.d.ts +30 -0
- package/esm/sdks/panels/HaShrink.vue.d.ts +48 -0
- package/esm/sdks/panels/index.d.ts +13 -0
- package/esm/sdks/stores/index.d.ts +2 -0
- package/esm/services/AppService.d.ts +36 -0
- package/esm/services/ComponentService.d.ts +35 -0
- package/esm/services/ControlService.d.ts +42 -0
- package/esm/services/I18nService.d.ts +79 -0
- package/esm/services/IService.d.ts +3 -0
- package/esm/services/LayoutService.d.ts +18 -0
- package/esm/services/MessageService.d.ts +35 -0
- package/esm/services/PageService.d.ts +38 -0
- package/esm/services/RouterService.d.ts +23 -0
- package/esm/services/Service.d.ts +4 -0
- package/esm/services/ServiceFactory.d.ts +11 -0
- package/esm/services/StandardService.d.ts +34 -0
- package/esm/services/UploadService.d.ts +10 -0
- package/esm/services/WindowService.d.ts +27 -0
- package/esm/services/implement/AppService.d.ts +36 -0
- package/esm/services/implement/ComponentService.d.ts +35 -0
- package/esm/services/implement/ControlService.d.ts +42 -0
- package/esm/services/implement/I18nService.d.ts +79 -0
- package/esm/services/implement/LayoutService.d.ts +18 -0
- package/esm/services/implement/PageService.d.ts +38 -0
- package/esm/services/implement/RouterService.d.ts +23 -0
- package/esm/services/implement/StandardService.d.ts +34 -0
- package/esm/services/implement/UploadService.d.ts +10 -0
- package/esm/services/implement/WindowService.d.ts +27 -0
- package/esm/services/index.d.ts +17 -0
- package/esm/servs/AppServ.d.ts +36 -0
- package/esm/servs/ComponentServ.d.ts +35 -0
- package/esm/servs/ControlServ.d.ts +42 -0
- package/esm/servs/I18nServ.d.ts +79 -0
- package/esm/servs/LayoutServ.d.ts +18 -0
- package/esm/servs/PageServ.d.ts +38 -0
- package/esm/servs/RouterServ.d.ts +23 -0
- package/esm/servs/StandardServ.d.ts +34 -0
- package/esm/servs/UploadServ.d.ts +10 -0
- package/esm/servs/WindowServ.d.ts +27 -0
- package/esm/servs/index.d.ts +17 -0
- package/esm/stores/index.d.ts +7 -0
- package/esm/svcs/I18nSvc.d.ts +79 -0
- package/esm/types/PcOptions.d.ts +18 -0
- package/package.json +2 -2
- package/dist/Article-DdbL4Rxb.js +0 -200
- package/dist/Autocomplete-B29_JGgy.js +0 -54
- package/dist/Autocomplete-CDeLmF63.js +0 -53
- package/dist/Callback-DtbfupbN.js +0 -26
- package/dist/Cascader-oKD8yaoM.js +0 -47
- package/dist/Code-BBlM__Hy.js +0 -42
- package/dist/Code-BVq612C-.js +0 -60
- package/dist/Code-CwEhwgvG.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-DYtCGnTc.js +0 -65
- package/dist/Column-EGW6y97E.js +0 -75
- package/dist/Custom-Cb3i3bqD.js +0 -57
- package/dist/Date-BDC05CJ3.js +0 -43
- package/dist/DateTime-BdzNOWG8.js +0 -44
- package/dist/Daterange-ChAXKUg5.js +0 -63
- package/dist/Dictionary-Cb7aVsaW.js +0 -59
- package/dist/Index-9C-NNHc5.js +0 -4
- package/dist/Index-ClRh0-VD.js +0 -4
- package/dist/Index-D6C_pdWz.js +0 -178
- package/dist/Index-gGO_YKcR.js +0 -4
- package/dist/Index-gqpuMuJY.js +0 -4
- package/dist/Maintaince-CLR1UbTX.js +0 -20
- package/dist/Month-CHE-uCIH.js +0 -43
- package/dist/Month-_nN2Q4-y.js +0 -44
- package/dist/Paging-DgpnQ8Z-.js +0 -99
- package/dist/QueryApi-Cnhw4j4z.js +0 -20
- package/dist/Table-tLOOeKDu.js +0 -243
- package/dist/Text-Df6_rov4.js +0 -4
- package/dist/Tree-DG-JvHyh.js +0 -122
- package/dist/TreeNode-b11A2q51.js +0 -42
- package/dist/Upload-BelDE_Gj.js +0 -72
- package/dist/Upload-BrZMjfqk.js +0 -150
- package/dist/UploadApi-rJCEFRnE.js +0 -20
- package/dist/Year-ajwigTmh.js +0 -47
- package/dist/main-CBbiFa-k.js +0 -9218
@@ -0,0 +1,70 @@
|
|
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
|
+
/**
|
9
|
+
* 窗口选项
|
10
|
+
*/
|
11
|
+
interface WindowOptions {
|
12
|
+
/**
|
13
|
+
* 窗口x坐标
|
14
|
+
*/
|
15
|
+
x?: number;
|
16
|
+
/**
|
17
|
+
* 窗口y坐标
|
18
|
+
*/
|
19
|
+
y?: number;
|
20
|
+
/**
|
21
|
+
* 窗口宽度
|
22
|
+
*/
|
23
|
+
width?: number;
|
24
|
+
/**
|
25
|
+
* 窗口高度
|
26
|
+
*/
|
27
|
+
height?: number;
|
28
|
+
/**
|
29
|
+
* 窗口堆叠顺序
|
30
|
+
*/
|
31
|
+
index?: number;
|
32
|
+
/**
|
33
|
+
* 窗口侧边宽度
|
34
|
+
*/
|
35
|
+
side?: number;
|
36
|
+
/**
|
37
|
+
* 聚焦状态
|
38
|
+
*/
|
39
|
+
focus?: boolean;
|
40
|
+
/**
|
41
|
+
* 窗口状态(min,max,left,right)
|
42
|
+
*/
|
43
|
+
state?: string;
|
44
|
+
}
|
45
|
+
/**
|
46
|
+
* 窗口属性
|
47
|
+
*/
|
48
|
+
interface WindowProps {
|
49
|
+
/**
|
50
|
+
* 窗口唯一标识
|
51
|
+
*/
|
52
|
+
id: string;
|
53
|
+
/**
|
54
|
+
* 窗口标题
|
55
|
+
*/
|
56
|
+
title?: string;
|
57
|
+
/**
|
58
|
+
* 窗口样式类
|
59
|
+
*/
|
60
|
+
class?: string;
|
61
|
+
/**
|
62
|
+
* 窗口活动范围距离底部的距离
|
63
|
+
*/
|
64
|
+
bottom?: number;
|
65
|
+
/**
|
66
|
+
* 支持自定义位置和大小
|
67
|
+
*/
|
68
|
+
options?: WindowOptions;
|
69
|
+
}
|
70
|
+
export { HaHeaderTab, HaHeaderTabs, HaMissComponent, HaMenu, HaSideTab, HaSideTabs, HaWindow, WindowProps, WindowOptions, };
|
@@ -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
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import HaPanel from "./HaPanel.vue";
|
2
|
+
import HaGroup from "./HaGroup.vue";
|
3
|
+
import HaOperation from './HaOperation.vue';
|
4
|
+
/**
|
5
|
+
* 操作属性
|
6
|
+
*/
|
7
|
+
interface OperationProps {
|
8
|
+
/**
|
9
|
+
* 填充距
|
10
|
+
*/
|
11
|
+
padding?: number;
|
12
|
+
}
|
13
|
+
export { HaPanel, HaGroup, HaOperation, OperationProps };
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { App } from "vue";
|
2
|
+
/**
|
3
|
+
* 应用服务
|
4
|
+
*/
|
5
|
+
declare class AppService {
|
6
|
+
sidebar: {
|
7
|
+
opened: boolean;
|
8
|
+
width: any;
|
9
|
+
};
|
10
|
+
size: any;
|
11
|
+
/**
|
12
|
+
* 是否隐藏侧边导航栏和顶部导航栏
|
13
|
+
*/
|
14
|
+
hideNav: boolean;
|
15
|
+
/**
|
16
|
+
* 初始化
|
17
|
+
*/
|
18
|
+
useGlobal(app: App<Element>): Promise<void>;
|
19
|
+
/**
|
20
|
+
* 注册自定义路由
|
21
|
+
*/
|
22
|
+
useRoutes(routes: any[]): void;
|
23
|
+
/**
|
24
|
+
* 注册多语言翻译
|
25
|
+
*/
|
26
|
+
useI18n(messages: object): void;
|
27
|
+
/**
|
28
|
+
* 注册自定义组件
|
29
|
+
*/
|
30
|
+
useComponents(app: any, components: any, replace: any, prefix: any): void;
|
31
|
+
toggleSideBar(): void;
|
32
|
+
closeSidebar(): void;
|
33
|
+
setSidebarWidth(width: any): void;
|
34
|
+
setHideNav(data: any): void;
|
35
|
+
}
|
36
|
+
export default AppService;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/**
|
2
|
+
* 使用组件仓储
|
3
|
+
*/
|
4
|
+
declare class ComponentService {
|
5
|
+
/**
|
6
|
+
* 目前系统中正在运行的首页组件
|
7
|
+
*/
|
8
|
+
pages: {};
|
9
|
+
/**
|
10
|
+
* 目前系统中注册的所有组件
|
11
|
+
*/
|
12
|
+
comps: any[];
|
13
|
+
/**
|
14
|
+
* 初始化&注册全局组件
|
15
|
+
*/
|
16
|
+
init(app: any): void;
|
17
|
+
/**
|
18
|
+
* 注册全局异步或同步组件
|
19
|
+
* 支持同步组件的目的:异步组件在执行到mounted内容仍没挂载,反而会执行到父组件mounted事件,导致父组件拿不到子组件实际高度
|
20
|
+
*/
|
21
|
+
register(app: any, components: object, replace: string, prefix: string): void;
|
22
|
+
/**
|
23
|
+
* 根据路由获取组件
|
24
|
+
*/
|
25
|
+
getComponent(url: string, prefix: string, _default?: string): any;
|
26
|
+
/**
|
27
|
+
* 添加页面
|
28
|
+
*/
|
29
|
+
addPage(name: string, value: any): void;
|
30
|
+
/**
|
31
|
+
* 删除页面
|
32
|
+
*/
|
33
|
+
removePage(name: string): void;
|
34
|
+
}
|
35
|
+
export default ComponentService;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/**
|
2
|
+
* 控件帮助类
|
3
|
+
*/
|
4
|
+
declare class ControlService {
|
5
|
+
/**
|
6
|
+
* 获取控件的值,自动区分搜索控件和提交表单控件
|
7
|
+
*/
|
8
|
+
static getValue: (form: any, index: number, table: any, field: any) => any;
|
9
|
+
/**
|
10
|
+
* 设置表单控件的值
|
11
|
+
*/
|
12
|
+
static setValue: (val: any, form: any, table: any, index: number, field: any) => void;
|
13
|
+
/**
|
14
|
+
* 设置多行中某字段的值
|
15
|
+
*/
|
16
|
+
static setRowsValue: (val: any, form: any, table: any, field: any) => void;
|
17
|
+
/**
|
18
|
+
* 把数组分成每行columns列的数组
|
19
|
+
*/
|
20
|
+
static splitRows: (array: any[], columns: number) => any[];
|
21
|
+
/**
|
22
|
+
* 获取不同布局控件配置,用于对控件的展示类型进行重写,但是不影响字段配置
|
23
|
+
*/
|
24
|
+
static getConfig: (field: any, page: any, layout: string) => {
|
25
|
+
control: {
|
26
|
+
type: string;
|
27
|
+
};
|
28
|
+
};
|
29
|
+
/**
|
30
|
+
* 获取控件样式
|
31
|
+
*/
|
32
|
+
static getStyle: (field: any, page: any, layout: string) => string;
|
33
|
+
/**
|
34
|
+
* 获取控件高度
|
35
|
+
*/
|
36
|
+
static getHeight: (field: any, page: any, layout: string) => any;
|
37
|
+
/**
|
38
|
+
* 转换值为指定类型
|
39
|
+
*/
|
40
|
+
static convert: (value: any, type: string) => any;
|
41
|
+
}
|
42
|
+
export default ControlService;
|
@@ -0,0 +1,79 @@
|
|
1
|
+
/**
|
2
|
+
* 使用多语言仓储
|
3
|
+
*/
|
4
|
+
declare class I18nService {
|
5
|
+
/**
|
6
|
+
* 多语言处理实体
|
7
|
+
*/
|
8
|
+
i18n: any;
|
9
|
+
/**
|
10
|
+
* Element UI语言包
|
11
|
+
*/
|
12
|
+
locale: any;
|
13
|
+
/**
|
14
|
+
* 记录加载过的语言包,防止重复加载
|
15
|
+
*/
|
16
|
+
loadedLocales: any[];
|
17
|
+
/**
|
18
|
+
* 只实例化一次
|
19
|
+
*/
|
20
|
+
constructor();
|
21
|
+
/**
|
22
|
+
* 判断指定key是否存在
|
23
|
+
*/
|
24
|
+
t_exists(key: any): any;
|
25
|
+
/**
|
26
|
+
* 翻译指定key,不存在使用默认值
|
27
|
+
*/
|
28
|
+
t(key: string, params?: any, display?: string): any;
|
29
|
+
/**
|
30
|
+
* 业务翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
|
31
|
+
*/
|
32
|
+
t_menu(key: string): any;
|
33
|
+
/**
|
34
|
+
* 模块业务翻译
|
35
|
+
*/
|
36
|
+
t_module(type: string, key: string): string;
|
37
|
+
/**
|
38
|
+
* 业务翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
|
39
|
+
*/
|
40
|
+
t_table(table: string): any;
|
41
|
+
/**
|
42
|
+
* 业务翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
|
43
|
+
* 注意:如果结果返回未完毕},则vue编译异常
|
44
|
+
*/
|
45
|
+
t_field(table: string, field: string): any;
|
46
|
+
/**
|
47
|
+
* 枚举翻译:菜单多余言、多个窗口的多语言同时切换,而不用重载接口
|
48
|
+
*/
|
49
|
+
t_enum(name: string, value: string): any;
|
50
|
+
/**
|
51
|
+
* 字段占位符翻译
|
52
|
+
*/
|
53
|
+
t_field_placeholder(table: string, field: string): any;
|
54
|
+
/**
|
55
|
+
* 字段占位符翻译
|
56
|
+
*/
|
57
|
+
t_field_choose_placeholder(table: string, field: string): any;
|
58
|
+
/**
|
59
|
+
* 系统翻译
|
60
|
+
*/
|
61
|
+
t_sys(key: string): any;
|
62
|
+
/**
|
63
|
+
* 系统标题
|
64
|
+
*/
|
65
|
+
t_title(): any;
|
66
|
+
/**
|
67
|
+
* 添加多语言包
|
68
|
+
*/
|
69
|
+
addMessages(messages: object): void;
|
70
|
+
/**
|
71
|
+
* 加载语言包
|
72
|
+
*/
|
73
|
+
loadI18n(lang: string): Promise<void>;
|
74
|
+
/**
|
75
|
+
* 切换语言,自动加载菜单
|
76
|
+
*/
|
77
|
+
switchI18n(lang: string): Promise<void>;
|
78
|
+
}
|
79
|
+
export default I18nService;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* 布局服务
|
3
|
+
*/
|
4
|
+
declare class LayoutService {
|
5
|
+
/**
|
6
|
+
* 一行的总列数
|
7
|
+
*/
|
8
|
+
columns: number;
|
9
|
+
dialog: {
|
10
|
+
/**
|
11
|
+
* 弹出对话框的宽度
|
12
|
+
*/
|
13
|
+
width: any;
|
14
|
+
};
|
15
|
+
setColumn(columns: number): void;
|
16
|
+
setDialogWidth(width: number): void;
|
17
|
+
}
|
18
|
+
export default LayoutService;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { IMessager } from "halo-fe";
|
2
|
+
/**
|
3
|
+
* 消息服务
|
4
|
+
*/
|
5
|
+
declare class MessageService implements IMessager {
|
6
|
+
/**
|
7
|
+
* 显示全局成功消息
|
8
|
+
*/
|
9
|
+
success: (message: string) => void;
|
10
|
+
/**
|
11
|
+
* 显示全局警告消息
|
12
|
+
*/
|
13
|
+
warning: (message: string) => void;
|
14
|
+
/**
|
15
|
+
* 显示全局信息消息
|
16
|
+
*/
|
17
|
+
info: (message: string) => void;
|
18
|
+
/**
|
19
|
+
* 显示全局错误消息
|
20
|
+
*/
|
21
|
+
error: (message: string) => void;
|
22
|
+
/**
|
23
|
+
* 显示全局错误消息
|
24
|
+
*/
|
25
|
+
confirm: (title: string, message: string, options?: any) => Promise<import("element-plus").MessageBoxData>;
|
26
|
+
/**
|
27
|
+
* 显示警告框
|
28
|
+
*/
|
29
|
+
alert: (title: string, message: string, options?: any) => Promise<import("element-plus").MessageBoxData>;
|
30
|
+
/**
|
31
|
+
* 通知
|
32
|
+
*/
|
33
|
+
notify: (title: string, message: string, type: string) => import("element-plus").NotificationHandle;
|
34
|
+
}
|
35
|
+
export default MessageService;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* 页面帮助类
|
3
|
+
*/
|
4
|
+
declare class PageService {
|
5
|
+
/**
|
6
|
+
* 设置列宽
|
7
|
+
*/
|
8
|
+
static setColumnWidth: (route: string, tableName: string, fieldName: string, width: number) => void;
|
9
|
+
/**
|
10
|
+
* 获取列宽
|
11
|
+
*/
|
12
|
+
static getColumnWidth: (route: string, table: string, field: any) => any;
|
13
|
+
/**
|
14
|
+
* 设置侧边栏宽度
|
15
|
+
*/
|
16
|
+
static setSidebarWidth: (width: number) => void;
|
17
|
+
/**
|
18
|
+
* 获取侧边栏宽度
|
19
|
+
*/
|
20
|
+
static getSidebarWidth: () => any;
|
21
|
+
/**
|
22
|
+
* 根据key设置多语言标题
|
23
|
+
*/
|
24
|
+
static setI18nTitle: (key: string) => void;
|
25
|
+
/**
|
26
|
+
* 设置标题
|
27
|
+
*/
|
28
|
+
static setTitle: (title?: string, env?: string) => void;
|
29
|
+
/**
|
30
|
+
* 获取抽屉宽度,得到的结果是相对于整个页面的宽度
|
31
|
+
*/
|
32
|
+
static getDrawerWidth: (width: number) => "90%" | "80%" | "70%" | "60%" | "50%";
|
33
|
+
/**
|
34
|
+
* 把字符串转换成实际类型。场景1: query字符串转换
|
35
|
+
*/
|
36
|
+
static convert: (value: string, type: string) => string | number;
|
37
|
+
}
|
38
|
+
export default PageService;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* 使用路由仓储
|
3
|
+
*/
|
4
|
+
declare class RouterService {
|
5
|
+
/**
|
6
|
+
* store中存储单独路由的目的是,防止类中导出对象,在npm包被引用的场景下,路由实例被创建2次,进而导致跳转失效
|
7
|
+
*/
|
8
|
+
router: any;
|
9
|
+
constructor(baseUrl: string);
|
10
|
+
/**
|
11
|
+
* 跳转到指定地址,并返回跳转后的地址,要使用vue-route路由跳转,否则刷新页面后,参数会被解码
|
12
|
+
*/
|
13
|
+
to(url: string, withReturnUrl?: boolean): string;
|
14
|
+
/**
|
15
|
+
* 跳转到后退地址
|
16
|
+
*/
|
17
|
+
toBackUrl(): void;
|
18
|
+
/**
|
19
|
+
* 添加路由集合
|
20
|
+
*/
|
21
|
+
addRoutes(routes: any[]): void;
|
22
|
+
}
|
23
|
+
export default RouterService;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/**
|
2
|
+
* 标准帮助类
|
3
|
+
*/
|
4
|
+
declare class StandardService {
|
5
|
+
/**
|
6
|
+
* 把数组中的元素按照列数,分割成多行,并且计算好每列的列宽
|
7
|
+
*/
|
8
|
+
static getLines: (array: any[], columns: number, dataHandler: (field: any) => any, spanHandler: (field: any) => number) => any[];
|
9
|
+
/**
|
10
|
+
* 获取表的默认行数据
|
11
|
+
*/
|
12
|
+
static getDefaultRow: (table: any) => object;
|
13
|
+
/**
|
14
|
+
* 获取所有数据表的搜索字段信息
|
15
|
+
*/
|
16
|
+
static expandSearch: (schema: any) => any[];
|
17
|
+
/**
|
18
|
+
* 展开数据和架构信息
|
19
|
+
*/
|
20
|
+
static expandSet: (schema: any[], set: any) => any;
|
21
|
+
/**
|
22
|
+
* 展开架构信息
|
23
|
+
*/
|
24
|
+
static expandSchema: (schema: any[]) => any[];
|
25
|
+
/**
|
26
|
+
* 填充搜索条件中不存在的搜索条件表单
|
27
|
+
*/
|
28
|
+
static getConditionForm: (schema: any[], condition: string) => {};
|
29
|
+
/**
|
30
|
+
* 获取验证规则
|
31
|
+
*/
|
32
|
+
static getRules(errors: any[], table: any, field: any, index: number): any[];
|
33
|
+
}
|
34
|
+
export default StandardService;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { IProvider } from "halo-fe";
|
2
|
+
/**
|
3
|
+
* 使用窗口仓储
|
4
|
+
*/
|
5
|
+
declare class WindowService {
|
6
|
+
/**
|
7
|
+
* 存储所有窗口
|
8
|
+
*/
|
9
|
+
windows: any[];
|
10
|
+
/**
|
11
|
+
* 加载窗口
|
12
|
+
*/
|
13
|
+
loadWindows(provider: IProvider): Promise<void>;
|
14
|
+
/**
|
15
|
+
* 获取窗口状态
|
16
|
+
*/
|
17
|
+
get(id: string): any;
|
18
|
+
/**
|
19
|
+
* 保存窗口状态
|
20
|
+
*/
|
21
|
+
save(id: string, options: any, provider: IProvider): Promise<void>;
|
22
|
+
/**
|
23
|
+
* 删除窗口
|
24
|
+
*/
|
25
|
+
remove(id: string): void;
|
26
|
+
}
|
27
|
+
export default WindowService;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { App } from "vue";
|
2
|
+
/**
|
3
|
+
* 应用服务
|
4
|
+
*/
|
5
|
+
declare class AppService {
|
6
|
+
sidebar: {
|
7
|
+
opened: boolean;
|
8
|
+
width: any;
|
9
|
+
};
|
10
|
+
size: any;
|
11
|
+
/**
|
12
|
+
* 是否隐藏侧边导航栏和顶部导航栏
|
13
|
+
*/
|
14
|
+
hideNav: boolean;
|
15
|
+
/**
|
16
|
+
* 初始化
|
17
|
+
*/
|
18
|
+
useGlobal(app: App<Element>): Promise<void>;
|
19
|
+
/**
|
20
|
+
* 注册自定义路由
|
21
|
+
*/
|
22
|
+
useRoutes(routes: any[]): void;
|
23
|
+
/**
|
24
|
+
* 注册多语言翻译
|
25
|
+
*/
|
26
|
+
useI18n(messages: object): void;
|
27
|
+
/**
|
28
|
+
* 注册自定义组件
|
29
|
+
*/
|
30
|
+
useComponents(app: any, components: any, replace: any, prefix: any): void;
|
31
|
+
toggleSideBar(): void;
|
32
|
+
closeSidebar(): void;
|
33
|
+
setSidebarWidth(width: any): void;
|
34
|
+
setHideNav(data: any): void;
|
35
|
+
}
|
36
|
+
export default AppService;
|