halo-pc 1.0.31 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Article-DCYJail8.js +196 -0
- package/dist/{ArticleFooter-xNcDptRq.js → ArticleFooter-Bvzumuub.js} +17 -21
- package/dist/{Autocomplete-CEC2bBhS.js → Autocomplete-C0D5E-06.js} +1 -1
- package/dist/Autocomplete-CpWD0i6D.js +50 -0
- package/dist/Autocomplete-SLfUYHq2.js +51 -0
- package/dist/{CSharp-Cqgi0Pok.js → CSharp-BWRmcrNc.js} +1 -1
- package/dist/{Calender-CjszgLEx.js → Calender-Dy-Sjrei.js} +1 -1
- package/dist/Callback-DrBVE0ti.js +22 -0
- package/dist/{Cascader-JVKhWe2A.js → Cascader-CIj4KFmi.js} +16 -20
- package/dist/Cascader-DZl4vY2s.js +43 -0
- package/dist/{Checkbox-CQTbKOwL.js → Checkbox-Bb5vxnKt.js} +13 -17
- package/dist/{Checkbox-yexu4eN8.js → Checkbox-DwDE5km1.js} +1 -1
- package/dist/{Code-DBud7EuB.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-CWbTqzza.js → Comment-BEi2eeXI.js} +21 -25
- package/dist/{Compare-BN5vzX57.js → Compare-B9C-Kwdu.js} +7 -11
- package/dist/{Compare-d3wJqFCb.js → Compare-DsdPxDYn.js} +6 -10
- package/dist/{Copy-DV8hPTre.js → Copy-CMbmQr2C.js} +11 -15
- package/dist/Custom-BrfTYDWw.js +61 -0
- package/dist/{DataExport-SXw7PACH.js → DataExport-VHKsp5uP.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-D2NYX8_H.js → DataExport.vue_vue_type_script_setup_true_lang-Caq9XJ-O.js} +16 -19
- package/dist/{DataImport-DieJDb_L.js → DataImport-CnpQ9Kym.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BET41n2z.js → DataImport.vue_vue_type_script_setup_true_lang-DplpxvPQ.js} +45 -47
- package/dist/Date-C2SRDxyk.js +39 -0
- package/dist/{Date-DmAoh5n-.js → Date-CvIM_2sI.js} +1 -1
- package/dist/{DateRange-uGZiEiEc.js → DateRange-WkA7vYqq.js} +15 -19
- package/dist/{DateTime-xaZVaC2L.js → DateTime-DcXFUF6E.js} +1 -1
- package/dist/DateTime-wWaTFovo.js +40 -0
- package/dist/{DateTimeRange-NNX5g8_Q.js → DateTimeRange-Q9AW6zyN.js} +10 -14
- package/dist/Daterange-BY8ZDlBN.js +59 -0
- package/dist/{Decimal-KuDlXyzz.js → Decimal-UESG5P18.js} +1 -1
- package/dist/{Delete-Bq1SoHQN.js → Delete-n91Fcpc-.js} +8 -12
- package/dist/{Detail-CswRTc8H.js → Detail-BtcLxHBS.js} +15 -19
- package/dist/Dictionary-CAJUcBp0.js +57 -0
- package/dist/{Email-Ctt_Ipx7.js → Email-CDMwJk7Z.js} +11 -15
- package/dist/{File-D0nNzHMK.js → File-C76d1BJ1.js} +14 -18
- package/dist/{Image-HGUck2-j.js → Image-CSSMA_jD.js} +1 -1
- package/dist/{Index-HYUgpRBt.js → Index-BgqFKRRj.js} +1 -1
- package/dist/{Index-hcOIqgKK.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-B77I7ynk.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-Ct2Y4EoY.js → Index.vue_vue_type_script_setup_true_lang-1MpxyKly.js} +13 -17
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C-Vnpjwh.js → Index.vue_vue_type_script_setup_true_lang-gZbmbXo1.js} +11 -15
- package/dist/{Install-BUn4HCne.js → Install-CtSCUNub.js} +19 -23
- package/dist/{Int-D9IfjxB-.js → Int-B4zAW0X4.js} +10 -13
- package/dist/{Int-K20XCXaV.js → Int-XV1t0f4f.js} +8 -12
- package/dist/{List-BRde9TDn.js → List-v37-UA9D.js} +26 -30
- package/dist/Maintaince-C44w8P26.js +16 -0
- package/dist/{Markdown-BnPhnRoR.js → Markdown-C_lGXaO5.js} +1 -1
- package/dist/Month-cm6vEq2Y.js +39 -0
- package/dist/{Month-CT0IPvUf.js → Month-pJdC-juw.js} +1 -1
- package/dist/Month-zzTLcslu.js +40 -0
- package/dist/{Normal-B5Th-hx0.js → Normal-BT6pVoVx.js} +78 -81
- package/dist/Paging-B-0NeSQQ.js +96 -0
- package/dist/{PagingHeader-Co23mCB5.js → PagingHeader-CbkHChbA.js} +14 -18
- package/dist/{PagingRow-D8nHvC5E.js → PagingRow-DQGIZbFP.js} +11 -15
- package/dist/QueryApi-DLCwFvTe.js +16 -0
- package/dist/{Racebar-Da8vccaz.js → Racebar-CryjydAO.js} +38 -41
- package/dist/{Radio-CuSlPgzk.js → Radio-CHnqeLBU.js} +1 -1
- package/dist/{Register-B8-KEo6V.js → Register-CB1q0ncb.js} +67 -70
- package/dist/{RichText-9lJ4xdCh.js → RichText-BvK0bmFf.js} +12 -16
- package/dist/{SearchFooter-DocwK3oy.js → SearchFooter-DaEhbBdR.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BvZ154z8.js → SearchFooter.vue_vue_type_style_index_0_lang-B8QDMIGV.js} +1 -1
- package/dist/{SearchForm-q56dfPle.js → SearchForm-BcDIYVhU.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-LWSzVZaA.js → SearchForm.vue_vue_type_style_index_0_lang-DtvRf-gM.js} +41 -44
- package/dist/{Select-DAvMm-er.js → Select-BMazswCl.js} +14 -18
- package/dist/{Select-BmE6rY_E.js → Select-D3aaF4gn.js} +15 -19
- package/dist/{Select-BykIDqGd.js → Select-D9Jclups.js} +1 -1
- package/dist/{Single-DhZciS8Q.js → Single-DCOCo7Vc.js} +78 -81
- package/dist/{Statistic-ifTzJ_Yc.js → Statistic-teiCMfQY.js} +33 -36
- package/dist/{Stock-D83GkjUM.js → Stock-CLmG6hy_.js} +1 -1
- package/dist/{Stock-CVp7_AWy.js → Stock-wNOHTOMF.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-DNvNq1i6.js → Stock.vue_vue_type_style_index_0_lang-DEkzz8vd.js} +12 -15
- package/dist/{Switch-CnxFzGwf.js → Switch-C_sovBFO.js} +1 -1
- package/dist/Table-CrYK4rG9.js +241 -0
- package/dist/{Table-DlF3jFHo.js → Table-pLTOSr8X.js} +97 -101
- package/dist/{Text-BRjZJN1-.js → Text-Bi_wT7pC.js} +16 -20
- package/dist/Text-DMGSVlY8.js +4 -0
- package/dist/{Text-BK-nVezh.js → Text-DVP3c8MB.js} +8 -12
- package/dist/{Text.vue_vue_type_style_index_0_lang-CSDyrVrn.js → Text.vue_vue_type_style_index_0_lang-BlQ5FRgx.js} +15 -19
- package/dist/{TextLink-CWPvlp6E.js → TextLink-KhbhlvEL.js} +16 -20
- package/dist/{Textarea-Cjzozn3F.js → Textarea-BhAHTT9o.js} +1 -1
- package/dist/{Time-BN9Y2_OJ.js → Time-Dchjq1cn.js} +12 -16
- package/dist/{Timeline-B-4G9EcG.js → Timeline-BhQmk26x.js} +13 -17
- package/dist/{Tree-uoIjsiY0.js → Tree-B1oZglBE.js} +114 -117
- package/dist/Tree-CES1v1og.js +119 -0
- package/dist/TreeNode-BWI6UAUL.js +39 -0
- package/dist/{Update-DeEcfDYi.js → Update-Bil0d3JB.js} +10 -14
- package/dist/{UpdateChild-DO0MwrhT.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-DlQHm1Ok.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-CTX5Vufq.js +0 -200
- package/dist/Autocomplete-Dku7hxAa.js +0 -54
- package/dist/Autocomplete-uYd2CkeC.js +0 -53
- package/dist/Callback-CY7CcDL2.js +0 -26
- package/dist/Cascader-CCTw_hT3.js +0 -47
- package/dist/Code-B5IEuV3e.js +0 -4
- package/dist/Code-BUAM5kml.js +0 -42
- package/dist/Code-CXGUdL17.js +0 -60
- package/dist/Code.vue_vue_type_style_index_0_lang-JbNTMhxe.js +0 -65
- package/dist/Column-BJOMakta.js +0 -75
- package/dist/Custom-DbXmCRSW.js +0 -57
- package/dist/Date-ClEnkrQi.js +0 -43
- package/dist/DateTime-1YHoELg1.js +0 -44
- package/dist/Daterange-R-xO-VFg.js +0 -63
- package/dist/Dictionary-CXqEMlOL.js +0 -59
- package/dist/Index-CG4jXLwW.js +0 -4
- package/dist/Index-CxFdjLqc.js +0 -4
- package/dist/Index-DPxfscSr.js +0 -4
- package/dist/Index-diXDd8ID.js +0 -178
- package/dist/Index-uAEkue28.js +0 -4
- package/dist/Maintaince-DVNgvVVi.js +0 -20
- package/dist/Month-C3-QjQiu.js +0 -44
- package/dist/Month-DyuSAV5N.js +0 -43
- package/dist/Paging-CQbyowaE.js +0 -99
- package/dist/QueryApi-BdvQRVtk.js +0 -20
- package/dist/Table-oQbIuPTw.js +0 -243
- package/dist/Text-C6ajDJOY.js +0 -4
- package/dist/Tree-CPG8gsfQ.js +0 -122
- package/dist/TreeNode-CBnpV825.js +0 -42
- package/dist/Upload-BMRRN3bK.js +0 -150
- package/dist/Upload-DkrT6Lou.js +0 -72
- package/dist/UploadApi-CxiKPjll.js +0 -20
- package/dist/Year-CFeUSX8a.js +0 -47
- package/dist/main-BVA1zUMk.js +0 -9218
@@ -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,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
|
+
open(baseUrl: string): void;
|
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,17 @@
|
|
1
|
+
import PageService from "./implement/PageService";
|
2
|
+
import ControlService from "./implement/ControlService";
|
3
|
+
import StandardService from "./implement/StandardService";
|
4
|
+
import UploadService from "./implement/UploadService";
|
5
|
+
import AppService from "./implement/AppService";
|
6
|
+
import ComponentService from "./implement/ComponentService";
|
7
|
+
import LayoutService from "./implement/LayoutService";
|
8
|
+
import I18nService from "./implement/I18nService";
|
9
|
+
import RouterService from "./implement/RouterService";
|
10
|
+
import WindowService from "./implement/WindowService";
|
11
|
+
declare let appService: AppService;
|
12
|
+
declare let componentService: ComponentService;
|
13
|
+
declare let layoutService: LayoutService;
|
14
|
+
declare let i18nService: I18nService;
|
15
|
+
declare let routerService: RouterService;
|
16
|
+
declare let windowService: WindowService;
|
17
|
+
export { PageService, ControlService, StandardService, UploadService, appService, componentService, layoutService, i18nService, routerService, windowService };
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { App } from "vue";
|
2
|
+
/**
|
3
|
+
* 应用服务
|
4
|
+
*/
|
5
|
+
declare class AppServ {
|
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 AppServ;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/**
|
2
|
+
* 使用组件仓储
|
3
|
+
*/
|
4
|
+
declare class ComponentServ {
|
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 ComponentServ;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/**
|
2
|
+
* 控件帮助类
|
3
|
+
*/
|
4
|
+
declare class ControlServ {
|
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 ControlServ;
|
@@ -0,0 +1,79 @@
|
|
1
|
+
/**
|
2
|
+
* 使用多语言仓储
|
3
|
+
*/
|
4
|
+
declare class I18nServ {
|
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 I18nServ;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* 布局服务
|
3
|
+
*/
|
4
|
+
declare class LayoutServ {
|
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 LayoutServ;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* 页面帮助类
|
3
|
+
*/
|
4
|
+
declare class PageServ {
|
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 PageServ;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* 使用路由仓储
|
3
|
+
*/
|
4
|
+
declare class RouterServ {
|
5
|
+
/**
|
6
|
+
* store中存储单独路由的目的是,防止类中导出对象,在npm包被引用的场景下,路由实例被创建2次,进而导致跳转失效
|
7
|
+
*/
|
8
|
+
router: any;
|
9
|
+
open(baseUrl: string): void;
|
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 RouterServ;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/**
|
2
|
+
* 标准帮助类
|
3
|
+
*/
|
4
|
+
declare class StandardServ {
|
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 StandardServ;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { IProvider } from "halo-fe";
|
2
|
+
/**
|
3
|
+
* 使用窗口仓储
|
4
|
+
*/
|
5
|
+
declare class WindowServ {
|
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 WindowServ;
|