halo-pc 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CjlnxF__.js → Article-7pMF1N-k.js} +67 -71
- package/dist/{Autocomplete-BnQpnnyK.js → Autocomplete-CEjjKXwo.js} +1 -1
- package/dist/Autocomplete-DqKo5NiJ.js +49 -0
- package/dist/Autocomplete-K5ipzchR.js +48 -0
- package/dist/{CSharp-Dxc7debp.js → CSharp-DatSqpip.js} +1 -1
- package/dist/{Calender-CZajLEjs.js → Calender-B1HoFiQg.js} +1 -1
- package/dist/Callback-PyCjejiv.js +20 -0
- package/dist/Cascader-B9lLRKjA.js +80 -0
- package/dist/Cascader-BNvlqc5t.js +41 -0
- package/dist/{Checkbox-DvjA_jtM.js → Checkbox-B6IkMrWB.js} +1 -1
- package/dist/Code-BdK547kD.js +4 -0
- package/dist/Code-DfFF-84i.js +36 -0
- package/dist/Code-LFQVJotC.js +54 -0
- package/dist/{Code-Dn68YB2V.js → Code-SZuIImtp.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +59 -0
- package/dist/Column-DVjYrrr7.js +67 -0
- package/dist/Comment-Do7Mjpjr.js +98 -0
- package/dist/Compare-C_iDn27Q.js +56 -0
- package/dist/Compare-CrX3yfD4.js +26 -0
- package/dist/{Copy-C5yEC9dX.js → Copy-_sbdQvHJ.js} +11 -11
- package/dist/Custom-DarpQFG8.js +49 -0
- package/dist/{DataExport-GCZvxEp5.js → DataExport-I9iG4oEo.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js → DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js} +32 -36
- package/dist/{DataImport-BofV1eCR.js → DataImport-2KtOy-of.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js +170 -0
- package/dist/{Date-DgpsRJon.js → Date-PERpDDy_.js} +1 -1
- package/dist/{DateRange-UHosLXP9.js → DateRange-BaxHMjcx.js} +7 -11
- package/dist/{DateTime-CHn5T-FB.js → DateTime-B7gHENiu.js} +1 -1
- package/dist/{DateTimeRange-6TctUiMd.js → DateTimeRange-yI9Y2qgC.js} +10 -14
- package/dist/{Daterange-DISQqOFM.js → Daterange-DqvBvK-B.js} +13 -17
- package/dist/{Decimal-BB2w4V2o.js → Decimal-AXwMeqBW.js} +1 -1
- package/dist/Delete-BY3vAVWa.js +55 -0
- package/dist/{Detail-D-6vJTGF.js → Detail-aWACqVnM.js} +16 -18
- package/dist/Dictionary-DpQuFYQ5.js +55 -0
- package/dist/{File-CMCYSg30.js → File--NsXL6XX.js} +26 -29
- package/dist/{Image-BL458jPH.js → Image-CuwfJLKW.js} +1 -1
- package/dist/{Index-Ch59SxF3.js → Index-BNOFdDjW.js} +15 -19
- package/dist/Index-B_a_HzsB.js +4 -0
- package/dist/{Index-DZkeSKKp.js → Index-CQ9S2R9b.js} +1 -1
- package/dist/{Index-Cp7EDm0u.js → Index-Cewv4-Ik.js} +52 -57
- package/dist/{Index-B1ZfzgLV.js → Index-Cj79dCuO.js} +1 -1
- package/dist/Index-Cx2J_P37.js +4 -0
- package/dist/{Index-CopnEHli.js → Index-DA2wAurY.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js → Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js} +13 -18
- package/dist/{Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js → Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js} +12 -17
- package/dist/{Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js → Index.vue_vue_type_style_index_0_lang-DApNHvNX.js} +27 -31
- package/dist/{Install-CJbpeRw0.js → Install-BWdNbtVx.js} +17 -19
- package/dist/{Int-CkzuFSk2.js → Int-nmVkFRqG.js} +12 -16
- package/dist/List-BjdY1rMk.js +72 -0
- package/dist/Maintaince-DzYzyrAc.js +15 -0
- package/dist/{Markdown-Dq7L9EMQ.js → Markdown-DD6ufwhM.js} +1 -1
- package/dist/{Month-CUX-EnU_.js → Month-BqbTFGgo.js} +1 -1
- package/dist/{Normal-B2w0Isvm.js → Normal-f4HN1ciI.js} +48 -51
- package/dist/Paging-BMPtLi8P.js +90 -0
- package/dist/QueryApi-CbP5cCyH.js +13 -0
- package/dist/{Racebar-DqWtIQm-.js → Racebar-Bou-XNCm.js} +23 -27
- package/dist/{Radio-xLd4l78I.js → Radio-BmikzeCv.js} +1 -1
- package/dist/{Register-Bio0HxyZ.js → Register-CgbRZH9W.js} +86 -93
- package/dist/{RichText-BYNi_iMx.js → RichText-BeK3zZam.js} +18 -22
- package/dist/{SearchFooter-BAPlMiuj.js → SearchFooter-C4PeAkaR.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js → SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js} +1 -1
- package/dist/{SearchForm-BaPwWOch.js → SearchForm-C7fZiQaW.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js → SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js} +26 -31
- package/dist/{Select-Doyr8ioF.js → Select-C1-NVZdG.js} +17 -21
- package/dist/{Select-DMDcHdlD.js → Select-DR5fQH0d.js} +36 -41
- package/dist/{Select-Dlx4Tg2X.js → Select-DlbQvxQu.js} +1 -1
- package/dist/{Single-B4EEi5Bm.js → Single-BLRyJKB-.js} +75 -79
- package/dist/{Statistic-AY1NP5tM.js → Statistic-BOtmYiRA.js} +30 -34
- package/dist/{Stock-CcBqUgOB.js → Stock-BqQ6lM5B.js} +1 -1
- package/dist/{Stock-Sh2UHojP.js → Stock-Dnwof0R1.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-CcHVxdzc.js → Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js} +22 -26
- package/dist/{Switch-BOsRzAW-.js → Switch-DuMBV0AX.js} +1 -1
- package/dist/{Table-CrMo5L6q.js → Table-Be-rPXr_.js} +69 -71
- package/dist/{Table-C9IrdZEj.js → Table-RMVT0hlE.js} +79 -84
- package/dist/Text-DSXRKFPa.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +52 -0
- package/dist/TextLink-BZW-y_FS.js +62 -0
- package/dist/{Textarea-WPLyT7XC.js → Textarea-3ypOGE1S.js} +1 -1
- package/dist/{Timeline-Dolubd-b.js → Timeline-CLezCcgQ.js} +17 -21
- package/dist/{Tree-KwP6ais4.js → Tree-B6RBRT1y.js} +63 -65
- package/dist/Tree-CLpCeirT.js +117 -0
- package/dist/TreeNode-C16N8jqm.js +34 -0
- package/dist/{Update-C5bPCalk.js → Update-Dc3Tdkn0.js} +11 -13
- package/dist/Upload-DvWyjK3a.js +143 -0
- package/dist/Upload-SEu1V1yX.js +67 -0
- package/dist/{UploadApi-vYU0Jda6.js → UploadApi-Bs507D0w.js} +3 -8
- package/dist/{Year-Dlp5PKhI.js → Year-DKxOQNyS.js} +1 -1
- package/dist/main-QtNG6p7a.js +16673 -0
- package/dist/main.js +82 -76
- package/dist/style.css +1 -1
- package/dist/{vendor-clipboard-BqjesuiY.js → vendor-clipboard-DjQPoCBJ.js} +110 -130
- package/dist/{vendor-intro.js-CZkClzQO.js → vendor-intro.js-DwWqhM1v.js} +1 -1
- package/dist/vendor-pinia-yrN6kSxh.js +861 -0
- package/dist/vendor-vue-demi-CIhrFbpB.js +17 -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/index.d.ts +124 -0
- 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/commons/index.d.ts +32 -0
- package/esm/coms/controls/Autocomplete.vue.d.ts +24 -0
- package/esm/coms/controls/Cascader.vue.d.ts +24 -0
- package/esm/coms/controls/Checkbox.vue.d.ts +22 -0
- package/esm/coms/controls/Code.vue.d.ts +24 -0
- package/esm/coms/controls/Color.vue.d.ts +24 -0
- package/esm/coms/controls/Compare.vue.d.ts +24 -0
- package/esm/coms/controls/Date.vue.d.ts +24 -0
- package/esm/coms/controls/DateRange.vue.d.ts +24 -0
- package/esm/coms/controls/DateTime.vue.d.ts +24 -0
- package/esm/coms/controls/DateTimeRange.vue.d.ts +24 -0
- package/esm/coms/controls/Decimal.vue.d.ts +24 -0
- package/esm/coms/controls/Email.vue.d.ts +24 -0
- package/esm/coms/controls/Image.vue.d.ts +2 -0
- package/esm/coms/controls/Index.vue.d.ts +22 -0
- package/esm/coms/controls/Int.vue.d.ts +24 -0
- package/esm/coms/controls/Markdown.vue.d.ts +24 -0
- package/esm/coms/controls/Month.vue.d.ts +24 -0
- package/esm/coms/controls/Password.vue.d.ts +24 -0
- package/esm/coms/controls/Progress.vue.d.ts +24 -0
- package/esm/coms/controls/Radio.vue.d.ts +24 -0
- package/esm/coms/controls/Rate.vue.d.ts +24 -0
- package/esm/coms/controls/RichText.vue.d.ts +22 -0
- package/esm/coms/controls/Select.vue.d.ts +24 -0
- package/esm/coms/controls/Switch.vue.d.ts +24 -0
- package/esm/coms/controls/Text.vue.d.ts +26 -0
- package/esm/coms/controls/Textarea.vue.d.ts +24 -0
- package/esm/coms/controls/Time.vue.d.ts +24 -0
- package/esm/coms/controls/Upload.vue.d.ts +24 -0
- package/esm/coms/controls/Year.vue.d.ts +24 -0
- package/esm/coms/controls/index.d.ts +26 -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/index.d.ts +70 -0
- package/esm/coms/headers/Breadcrumb.vue.d.ts +2 -0
- package/esm/coms/headers/Debugger.vue.d.ts +2 -0
- package/esm/coms/headers/Hamburger.vue.d.ts +18 -0
- package/esm/coms/headers/HeaderRight.vue.d.ts +2 -0
- package/esm/coms/headers/Index.vue.d.ts +6 -0
- package/esm/coms/headers/Log.vue.d.ts +2 -0
- package/esm/coms/headers/Logo.vue.d.ts +6 -0
- package/esm/coms/headers/Refresh.vue.d.ts +6 -0
- package/esm/coms/headers/Setting.vue.d.ts +8 -0
- package/esm/coms/headers/index.d.ts +3 -0
- package/esm/coms/index.d.ts +11 -0
- package/esm/coms/layouts/Desktop.vue.d.ts +2 -0
- package/esm/coms/layouts/Index.vue.d.ts +2 -0
- package/esm/coms/layouts/Side.vue.d.ts +2 -0
- package/esm/coms/layouts/Top.vue.d.ts +2 -0
- package/esm/coms/layouts/index.d.ts +7 -0
- package/esm/coms/lists/Calender.vue.d.ts +2 -0
- package/esm/coms/lists/Racebar.vue.d.ts +18 -0
- package/esm/coms/lists/Statistic.vue.d.ts +18 -0
- package/esm/coms/lists/Stock.vue.d.ts +12 -0
- package/esm/coms/lists/Timeline.vue.d.ts +12 -0
- package/esm/coms/lists/Tree.vue.d.ts +26 -0
- package/esm/coms/lists/index.d.ts +15 -0
- package/esm/coms/pages/Column.vue.d.ts +22 -0
- package/esm/coms/pages/Custom.vue.d.ts +25 -0
- package/esm/coms/pages/Delete.vue.d.ts +20 -0
- package/esm/coms/pages/Index.vue.d.ts +2 -0
- package/esm/coms/pages/List.vue.d.ts +24 -0
- package/esm/coms/pages/Paging.vue.d.ts +24 -0
- package/esm/coms/pages/Single.vue.d.ts +28 -0
- package/esm/coms/pages/index.d.ts +146 -0
- package/esm/coms/pagings/Article.vue.d.ts +27 -0
- package/esm/coms/pagings/Code.vue.d.ts +12 -0
- package/esm/coms/pagings/DataExport.vue.d.ts +33 -0
- package/esm/coms/pagings/DataImport.vue.d.ts +18 -0
- package/esm/coms/pagings/File.vue.d.ts +12 -0
- package/esm/coms/pagings/Index.vue.d.ts +33 -0
- package/esm/coms/pagings/SearchFooter.vue.d.ts +122 -0
- package/esm/coms/pagings/SearchForm.vue.d.ts +72 -0
- package/esm/coms/pagings/Table.vue.d.ts +31 -0
- package/esm/coms/pagings/index.d.ts +11 -0
- 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/coms/panels/index.d.ts +13 -0
- package/esm/coms/partials/ArticleFooter.vue.d.ts +24 -0
- package/esm/coms/partials/Detail.vue.d.ts +20 -0
- package/esm/coms/partials/PagingHeader.vue.d.ts +28 -0
- package/esm/coms/partials/PagingRow.vue.d.ts +24 -0
- package/esm/coms/partials/TreeNode.vue.d.ts +12 -0
- package/esm/coms/partials/Update.vue.d.ts +20 -0
- package/esm/coms/partials/UpdateChild.vue.d.ts +22 -0
- package/esm/coms/partials/index.d.ts +135 -0
- package/esm/coms/searches/Autocomplete.vue.d.ts +24 -0
- package/esm/coms/searches/Daterange.vue.d.ts +22 -0
- package/esm/coms/searches/Index.vue.d.ts +18 -0
- package/esm/coms/searches/Int.vue.d.ts +24 -0
- package/esm/coms/searches/Month.vue.d.ts +24 -0
- package/esm/coms/searches/Select.vue.d.ts +24 -0
- package/esm/coms/searches/Text.vue.d.ts +24 -0
- package/esm/coms/searches/index.d.ts +7 -0
- package/esm/coms/singles/Code.vue.d.ts +18 -0
- package/esm/coms/singles/Comment.vue.d.ts +12 -0
- package/esm/coms/singles/Index.vue.d.ts +25 -0
- package/esm/coms/singles/Normal.vue.d.ts +21 -0
- package/esm/coms/singles/Statistic.vue.d.ts +12 -0
- package/esm/coms/singles/Stock.vue.d.ts +12 -0
- package/esm/coms/singles/Table.vue.d.ts +22 -0
- package/esm/coms/singles/Tree.vue.d.ts +14 -0
- package/esm/coms/singles/Tree_Old.vue.d.ts +2 -0
- package/esm/coms/singles/index.d.ts +15 -0
- package/esm/coms/texts/Autocomplete.vue.d.ts +16 -0
- package/esm/coms/texts/CSharp.vue.d.ts +16 -0
- package/esm/coms/texts/Cascader.vue.d.ts +22 -0
- package/esm/coms/texts/Checkbox.vue.d.ts +16 -0
- package/esm/coms/texts/Code.vue.d.ts +16 -0
- package/esm/coms/texts/Color.vue.d.ts +16 -0
- package/esm/coms/texts/Compare.vue.d.ts +16 -0
- package/esm/coms/texts/Copy.vue.d.ts +24 -0
- package/esm/coms/texts/Date.vue.d.ts +16 -0
- package/esm/coms/texts/DateRange.vue.d.ts +16 -0
- package/esm/coms/texts/DateTime.vue.d.ts +16 -0
- package/esm/coms/texts/Decimal.vue.d.ts +16 -0
- package/esm/coms/texts/Dictionary.vue.d.ts +24 -0
- package/esm/coms/texts/Email.vue.d.ts +16 -0
- package/esm/coms/texts/Index.vue.d.ts +22 -0
- package/esm/coms/texts/Int.vue.d.ts +16 -0
- package/esm/coms/texts/Markdown.vue.d.ts +16 -0
- package/esm/coms/texts/Month.vue.d.ts +16 -0
- package/esm/coms/texts/Password.vue.d.ts +16 -0
- package/esm/coms/texts/Progress.vue.d.ts +16 -0
- package/esm/coms/texts/Radio.vue.d.ts +16 -0
- package/esm/coms/texts/Rate.vue.d.ts +24 -0
- package/esm/coms/texts/RichText.vue.d.ts +16 -0
- package/esm/coms/texts/Select.vue.d.ts +16 -0
- package/esm/coms/texts/Switch.vue.d.ts +16 -0
- package/esm/coms/texts/Text.vue.d.ts +16 -0
- package/esm/coms/texts/TextLink.vue.d.ts +29 -0
- package/esm/coms/texts/Textarea.vue.d.ts +16 -0
- package/esm/coms/texts/Upload.vue.d.ts +16 -0
- package/esm/coms/texts/Year.vue.d.ts +16 -0
- package/esm/main.d.ts +6 -2
- package/esm/plugins/PcMessager.d.ts +35 -0
- package/esm/plugins/index.d.ts +2 -0
- package/esm/services/index.d.ts +1 -2
- package/esm/stores/index.d.ts +2 -1
- package/package.json +2 -1
- package/dist/Autocomplete-C2FkoM3g.js +0 -52
- package/dist/Autocomplete-Da3h7NqJ.js +0 -53
- package/dist/Callback-txUuqwa4.js +0 -24
- package/dist/Cascader-Bm6ZjZBu.js +0 -84
- package/dist/Cascader-CWljbVzB.js +0 -45
- package/dist/Code--QwKtfhx.js +0 -4
- package/dist/Code-BO3eZKLy.js +0 -58
- package/dist/Code-Dh_cfHCX.js +0 -40
- package/dist/Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js +0 -63
- package/dist/Column-DGnsLHim.js +0 -69
- package/dist/Comment--Tr_kWBl.js +0 -102
- package/dist/Compare-C3rlbp4P.js +0 -60
- package/dist/Compare-DaSyOFIe.js +0 -30
- package/dist/Custom-K9vfVRxn.js +0 -53
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js +0 -174
- package/dist/Delete-C7gIYWP8.js +0 -59
- package/dist/Dictionary-DfEacdox.js +0 -59
- package/dist/Index-8lbvVECt.js +0 -4
- package/dist/Index-tbCW5R6_.js +0 -4
- package/dist/List-V1uPlNfP.js +0 -77
- package/dist/Maintaince-BM4tthS_.js +0 -19
- package/dist/Paging-Bnpq9uSh.js +0 -95
- package/dist/QueryApi-BLc_au6L.js +0 -18
- package/dist/Text-vz76Xb4X.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js +0 -56
- package/dist/TextLink-DKm6XbeF.js +0 -66
- package/dist/Tree-Bv5eVC8s.js +0 -122
- package/dist/TreeNode-rHeuE2ot.js +0 -38
- package/dist/Upload-BSbIQu56.js +0 -147
- package/dist/Upload-heb0FQTh.js +0 -72
- package/dist/main-Bs5Q5ZLl.js +0 -6535
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
- package/dist/vendor-clone-BPtCWdXG.js +0 -134
- package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
- package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
- package/dist/vendor-moment-h96o7c8I.js +0 -2578
- package/dist/vendor-pinia-C-_fm-ER.js +0 -1167
- package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
- package/dist/vendor-state-local-CEworIRt.js +0 -131
- package/dist/vendor-underscore-DVTek3G4.js +0 -1070
- package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
- package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
- package/dist/vendor-vue-demi-DdR-Jw7p.js +0 -31
@@ -0,0 +1,16 @@
|
|
1
|
+
import { ControlProps } from "../controls";
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
|
3
|
+
modelValue?: string;
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
|
5
|
+
modelValue?: string;
|
6
|
+
}>>>, {}, {}>;
|
7
|
+
export default _default;
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
12
|
+
} : {
|
13
|
+
type: import('vue').PropType<T[K]>;
|
14
|
+
required: true;
|
15
|
+
};
|
16
|
+
};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { ControlProps } from "../controls";
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
|
3
|
+
modelValue?: string;
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
|
5
|
+
modelValue?: string;
|
6
|
+
}>>>, {}, {}>;
|
7
|
+
export default _default;
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
12
|
+
} : {
|
13
|
+
type: import('vue').PropType<T[K]>;
|
14
|
+
required: true;
|
15
|
+
};
|
16
|
+
};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { ControlProps } from "../controls";
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
|
3
|
+
modelValue?: string;
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
|
5
|
+
modelValue?: string;
|
6
|
+
}>>>, {}, {}>;
|
7
|
+
export default _default;
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
12
|
+
} : {
|
13
|
+
type: import('vue').PropType<T[K]>;
|
14
|
+
required: true;
|
15
|
+
};
|
16
|
+
};
|
package/esm/main.d.ts
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
declare let app: import("vue").App<Element>;
|
2
2
|
export * from "halo-fe";
|
3
|
-
export * from "./
|
3
|
+
export * from "./coms";
|
4
4
|
export * from "./services";
|
5
5
|
export * from "./stores";
|
6
|
-
|
6
|
+
/**
|
7
|
+
* 初始化PC框架
|
8
|
+
*/
|
9
|
+
declare let createPc: (env: any) => Promise<void>;
|
10
|
+
export { createPc };
|
7
11
|
export default app;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { IMessager } from "halo-fe";
|
2
|
+
/**
|
3
|
+
* 消息服务
|
4
|
+
*/
|
5
|
+
declare class PcMessager 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<any>;
|
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 PcMessager;
|
package/esm/plugins/index.d.ts
CHANGED
package/esm/services/index.d.ts
CHANGED
@@ -3,5 +3,4 @@ import ControlService from "./ControlService";
|
|
3
3
|
import ComponentService from "./ComponentService";
|
4
4
|
import StandardService from "./StandardService";
|
5
5
|
import UploadService from "./UploadService";
|
6
|
-
|
7
|
-
export { PageService, ControlService, ComponentService, StandardService, UploadService, MessageService, };
|
6
|
+
export { PageService, ControlService, ComponentService, StandardService, UploadService };
|
package/esm/stores/index.d.ts
CHANGED
@@ -3,4 +3,5 @@ import useComponentStore from "./component";
|
|
3
3
|
import useLayoutStore from "./layout";
|
4
4
|
import useI18nStore from "./i18n";
|
5
5
|
import useRouterStore from "./router";
|
6
|
-
|
6
|
+
import useWindowStore from "./window";
|
7
|
+
export { useAppStore, useComponentStore, useLayoutStore, useI18nStore, useRouterStore, useWindowStore };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "halo-pc",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.5",
|
4
4
|
"description": "Halo pc framework",
|
5
5
|
"scripts": {
|
6
6
|
"halo-pc:tsc": "vue-tsc",
|
@@ -8,6 +8,7 @@
|
|
8
8
|
"halo-pc:build:debug": "vite build --debug",
|
9
9
|
"halo-pc:build:watch": "npx vite build --watch",
|
10
10
|
"halo-pc:build:publish": "vue-tsc & npx vite build & npm publish",
|
11
|
+
"halo-pc:link": "pnpm link ../halo-fe",
|
11
12
|
"halo-pc:publish": "npm publish"
|
12
13
|
},
|
13
14
|
"type": "module",
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as n, isRef as k } from "vue";
|
2
|
-
import { S as B, h as D } from "./main-Bs5Q5ZLl.js";
|
3
|
-
import "xlsx-js-style";
|
4
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
5
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
const w = /* @__PURE__ */ v({
|
8
|
-
__name: "Autocomplete",
|
9
|
-
props: {
|
10
|
-
schema: {},
|
11
|
-
table: {},
|
12
|
-
field: {},
|
13
|
-
searchData: {},
|
14
|
-
modelValue: {}
|
15
|
-
},
|
16
|
-
emits: ["submit", "change", "update:modelValue"],
|
17
|
-
setup(p, { emit: i }) {
|
18
|
-
let m = i, d = p, { table: c, field: s, searchData: R, modelValue: f } = _(d), o = V([]), h = null, g = (e, t) => {
|
19
|
-
if (o.value.length) {
|
20
|
-
let l = o.value.filter((u) => B.containsIgnoreCase(e, u.value));
|
21
|
-
t(l);
|
22
|
-
return;
|
23
|
-
}
|
24
|
-
let r = { text: h, conditions: [] };
|
25
|
-
D.post(s.value.control.data.route, r).then(({ data: l }) => {
|
26
|
-
o.value = l.map((u) => ({ value: u.text })), t(o.value);
|
27
|
-
}).catch(() => {
|
28
|
-
t([]);
|
29
|
-
});
|
30
|
-
}, a = x({
|
31
|
-
get() {
|
32
|
-
return f.value;
|
33
|
-
},
|
34
|
-
set(e) {
|
35
|
-
m("update:modelValue", e), m("change", e);
|
36
|
-
}
|
37
|
-
});
|
38
|
-
return (e, t) => {
|
39
|
-
const r = C("el-autocomplete");
|
40
|
-
return S(), b(r, {
|
41
|
-
clearable: "",
|
42
|
-
placeholder: e.t_field_placeholder(n(c).name, n(s).name),
|
43
|
-
"fetch-suggestions": n(g),
|
44
|
-
modelValue: n(a),
|
45
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) => k(a) ? a.value = l : a = l)
|
46
|
-
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
47
|
-
};
|
48
|
-
}
|
49
|
-
});
|
50
|
-
export {
|
51
|
-
w as default
|
52
|
-
};
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as n, isRef as k } from "vue";
|
2
|
-
import { S as B, h as R } from "./main-Bs5Q5ZLl.js";
|
3
|
-
import "xlsx-js-style";
|
4
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
5
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
const y = /* @__PURE__ */ v({
|
8
|
-
__name: "Autocomplete",
|
9
|
-
props: {
|
10
|
-
schema: {},
|
11
|
-
table: {},
|
12
|
-
field: {},
|
13
|
-
set: {},
|
14
|
-
row: {},
|
15
|
-
modelValue: {}
|
16
|
-
},
|
17
|
-
emits: ["submit", "change", "update:modelValue"],
|
18
|
-
setup(p, { emit: i }) {
|
19
|
-
let m = i, d = p, { table: c, field: s, set: w, modelValue: f } = _(d), o = V([]), g = null, h = (e, t) => {
|
20
|
-
if (o.value.length) {
|
21
|
-
let l = o.value.filter((r) => B.containsIgnoreCase(e, r.value));
|
22
|
-
t(l);
|
23
|
-
return;
|
24
|
-
}
|
25
|
-
let u = { text: g, conditions: [] };
|
26
|
-
R.post(s.value.control.data.route, u).then(({ data: l }) => {
|
27
|
-
o.value = l.map((r) => ({ value: r.text })), t(o.value);
|
28
|
-
}).catch(() => {
|
29
|
-
t([]);
|
30
|
-
});
|
31
|
-
}, a = x({
|
32
|
-
get() {
|
33
|
-
return f.value;
|
34
|
-
},
|
35
|
-
set(e) {
|
36
|
-
m("update:modelValue", e), m("change", e);
|
37
|
-
}
|
38
|
-
});
|
39
|
-
return (e, t) => {
|
40
|
-
const u = C("el-autocomplete");
|
41
|
-
return S(), b(u, {
|
42
|
-
clearable: "",
|
43
|
-
placeholder: e.t_field_placeholder(n(c).name, n(s).name),
|
44
|
-
"fetch-suggestions": n(h),
|
45
|
-
modelValue: n(a),
|
46
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) => k(a) ? a.value = l : a = l)
|
47
|
-
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
48
|
-
};
|
49
|
-
}
|
50
|
-
});
|
51
|
-
export {
|
52
|
-
y as default
|
53
|
-
};
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { defineComponent as o } from "vue";
|
2
|
-
import { useRouter as i, useRoute as n } from "vue-router";
|
3
|
-
import { M as p, q as s } from "./main-Bs5Q5ZLl.js";
|
4
|
-
import "xlsx-js-style";
|
5
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
6
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
7
|
-
import "./vendor-moment-h96o7c8I.js";
|
8
|
-
const d = /* @__PURE__ */ o({
|
9
|
-
__name: "Callback",
|
10
|
-
setup(u) {
|
11
|
-
let e = i(), t = n().query;
|
12
|
-
return (() => {
|
13
|
-
if (!t.type) {
|
14
|
-
p.error("缺失type参数");
|
15
|
-
return;
|
16
|
-
}
|
17
|
-
let r = s.getSso(t.type.toString());
|
18
|
-
t.identity = JSON.parse(t.identity.toString()), r.login(t), e.push(t.return_url.toString());
|
19
|
-
})(), (r, a) => " 登录完毕,处理回调中... ";
|
20
|
-
}
|
21
|
-
});
|
22
|
-
export {
|
23
|
-
d as default
|
24
|
-
};
|
@@ -1,84 +0,0 @@
|
|
1
|
-
import { defineComponent as B, toRefs as E, ref as w, computed as N, resolveComponent as R, openBlock as i, createBlock as S, unref as n, isRef as T, withCtx as D, createElementVNode as I, createTextVNode as P, toDisplayString as c, createElementBlock as m, createCommentVNode as f } from "vue";
|
2
|
-
import { T as h, h as j } from "./main-Bs5Q5ZLl.js";
|
3
|
-
import "xlsx-js-style";
|
4
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
5
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
const q = {
|
8
|
-
key: 0,
|
9
|
-
class: "cascader-suffix"
|
10
|
-
}, H = {
|
11
|
-
key: 0,
|
12
|
-
class: "cascader-length"
|
13
|
-
}, O = /* @__PURE__ */ B({
|
14
|
-
__name: "Cascader",
|
15
|
-
props: {
|
16
|
-
schema: {},
|
17
|
-
table: {},
|
18
|
-
field: {},
|
19
|
-
set: {},
|
20
|
-
row: {},
|
21
|
-
modelValue: {}
|
22
|
-
},
|
23
|
-
emits: ["submit", "change", "update:modelValue"],
|
24
|
-
setup(v, { emit: g }) {
|
25
|
-
let p = g, V = v, { table: U, field: l, set: z, row: A, modelValue: b } = E(V), r = w(), d = null, _ = () => {
|
26
|
-
r.value || (r.value = l.value.control.data.data);
|
27
|
-
let e = b.value, t = [];
|
28
|
-
return l.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((o) => {
|
29
|
-
let a = h.getParentsById(o, "value", r.value, "children", !0);
|
30
|
-
a.length > 0 && t.push(a.map((k) => k.value));
|
31
|
-
}) : h.getParentsById(e, "value", r.value, "children", !0).forEach((o) => {
|
32
|
-
t.push(o.value);
|
33
|
-
}), t;
|
34
|
-
}, x = (e) => {
|
35
|
-
let t;
|
36
|
-
l.value.control.multiple ? t = e.map((s) => s[s.length - 1]).join(",") : t = e[e.length - 1], p("update:modelValue", t), p("change", t);
|
37
|
-
}, C = (e) => {
|
38
|
-
e && (d = null, y());
|
39
|
-
}, y = () => {
|
40
|
-
let e = { text: d, conditions: [] };
|
41
|
-
l.value.control.data.conditions.forEach((t) => {
|
42
|
-
e.conditions.push({ name: t.name, value: null });
|
43
|
-
}), j.post(l.value.control.data.route, e).then(({ data: t }) => {
|
44
|
-
r.value = t;
|
45
|
-
});
|
46
|
-
}, u = N({
|
47
|
-
get() {
|
48
|
-
return _();
|
49
|
-
},
|
50
|
-
set(e) {
|
51
|
-
x(e);
|
52
|
-
}
|
53
|
-
});
|
54
|
-
return (e, t) => {
|
55
|
-
const s = R("el-cascader");
|
56
|
-
return i(), S(s, {
|
57
|
-
ref: "cascaderRef",
|
58
|
-
filterable: "",
|
59
|
-
"collapse-tags": "",
|
60
|
-
"collapse-tags-tooltip": "",
|
61
|
-
"max-collapse-tags": 6,
|
62
|
-
options: n(r),
|
63
|
-
disabled: n(l).readonly,
|
64
|
-
props: { label: "text", checkStrictly: !0, multiple: n(l).control.multiple },
|
65
|
-
clearable: !n(l).control.required,
|
66
|
-
onVisibleChange: n(C),
|
67
|
-
modelValue: n(u),
|
68
|
-
"onUpdate:modelValue": t[0] || (t[0] = (o) => T(u) ? u.value = o : u = o)
|
69
|
-
}, {
|
70
|
-
default: D(({ node: o, data: a }) => [
|
71
|
-
I("span", null, [
|
72
|
-
P(c(a.text), 1),
|
73
|
-
a.suffix ? (i(), m("span", q, "(" + c(a.suffix) + ")", 1)) : f("", !0)
|
74
|
-
]),
|
75
|
-
a.children ? (i(), m("span", H, c(a.children.length), 1)) : f("", !0)
|
76
|
-
]),
|
77
|
-
_: 1
|
78
|
-
}, 8, ["options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
79
|
-
};
|
80
|
-
}
|
81
|
-
});
|
82
|
-
export {
|
83
|
-
O as default
|
84
|
-
};
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import { defineComponent as y, toRefs as k, computed as p, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
|
2
|
-
import { T as B } from "./main-Bs5Q5ZLl.js";
|
3
|
-
import "xlsx-js-style";
|
4
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
5
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
const C = { class: "text-cascader" }, S = {
|
8
|
-
key: 0,
|
9
|
-
class: "cascader-seperator"
|
10
|
-
}, N = /* @__PURE__ */ y({
|
11
|
-
__name: "Cascader",
|
12
|
-
props: {
|
13
|
-
schema: {},
|
14
|
-
table: {},
|
15
|
-
field: {},
|
16
|
-
set: {},
|
17
|
-
row: {},
|
18
|
-
modelValue: {}
|
19
|
-
},
|
20
|
-
emits: ["submit", "change"],
|
21
|
-
setup(_, { emit: V }) {
|
22
|
-
let v = _, { table: w, field: s, set: E, row: T, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
|
23
|
-
if (u.value.length > 0) {
|
24
|
-
let i = s.value.control.data.data, o = [];
|
25
|
-
return u.value.forEach((r) => {
|
26
|
-
let l = B.getParentsById(r, "value", i, "children", !0);
|
27
|
-
l.length > 0 && o.push(l);
|
28
|
-
}), o;
|
29
|
-
}
|
30
|
-
return [];
|
31
|
-
});
|
32
|
-
return (i, o) => (e(), t("div", C, [
|
33
|
-
(e(!0), t(m, null, d(f(c), (r, l) => (e(), t("span", null, [
|
34
|
-
(e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
|
35
|
-
style: x({ color: n.color }),
|
36
|
-
key: n.value
|
37
|
-
}, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
|
38
|
-
l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
|
39
|
-
]))), 256))
|
40
|
-
]));
|
41
|
-
}
|
42
|
-
});
|
43
|
-
export {
|
44
|
-
N as default
|
45
|
-
};
|
package/dist/Code--QwKtfhx.js
DELETED
package/dist/Code-BO3eZKLy.js
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
import { defineComponent as b, toRefs as h, ref as _, computed as F, watch as T, openBlock as w, createBlock as N, unref as r, isRef as k } from "vue";
|
2
|
-
import { _ as x } from "./main-Bs5Q5ZLl.js";
|
3
|
-
import "xlsx-js-style";
|
4
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
5
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
const U = /* @__PURE__ */ b({
|
8
|
-
__name: "Code",
|
9
|
-
props: {
|
10
|
-
schema: {},
|
11
|
-
table: {},
|
12
|
-
field: {},
|
13
|
-
set: {},
|
14
|
-
row: {},
|
15
|
-
modelValue: {}
|
16
|
-
},
|
17
|
-
emits: ["submit", "change", "update:modelValue"],
|
18
|
-
setup(d, { emit: g }) {
|
19
|
-
let c = g, f = d, { table: i, field: a, set: y, row: s, modelValue: p } = h(f), o = _({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
|
20
|
-
let l = m(a.value.control.scrollTop);
|
21
|
-
l && (s.value[l.name] = e);
|
22
|
-
}, V = () => {
|
23
|
-
let e = n(a.value.control.scrollTop);
|
24
|
-
if (e && (o.value.scrollTop = parseInt(e)), o.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
|
25
|
-
o.value.language = a.value.control.language;
|
26
|
-
else {
|
27
|
-
let l = n(a.value.control.languageField);
|
28
|
-
l && (o.value.language = l);
|
29
|
-
}
|
30
|
-
a.value.control.schema && (o.value.schema = a.value.control.schema, o.value.category = `${i.value.name}.${a.value.name}`);
|
31
|
-
}, n = (e) => {
|
32
|
-
let l = m(e);
|
33
|
-
return l ? s.value[l.name] : null;
|
34
|
-
}, m = (e) => e ? i.value.fields.find((u) => u.name == e) : null;
|
35
|
-
V();
|
36
|
-
let t = F({
|
37
|
-
get() {
|
38
|
-
return p.value ?? "";
|
39
|
-
},
|
40
|
-
set(e) {
|
41
|
-
c("update:modelValue", e), c("change", e);
|
42
|
-
}
|
43
|
-
});
|
44
|
-
return T(() => n(a.value.control.languageField), (e, l) => {
|
45
|
-
o.value.language = e;
|
46
|
-
}), (e, l) => (w(), N(r(x), {
|
47
|
-
class: "control-code",
|
48
|
-
border: "",
|
49
|
-
config: r(o),
|
50
|
-
onScroll: r(v),
|
51
|
-
modelValue: r(t),
|
52
|
-
"onUpdate:modelValue": l[0] || (l[0] = (u) => k(t) ? t.value = u : t = u)
|
53
|
-
}, null, 8, ["config", "onScroll", "modelValue"]));
|
54
|
-
}
|
55
|
-
});
|
56
|
-
export {
|
57
|
-
U as default
|
58
|
-
};
|
package/dist/Code-Dh_cfHCX.js
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as _, unref as n, normalizeStyle as y, isRef as x } from "vue";
|
2
|
-
import { _ as F } from "./main-Bs5Q5ZLl.js";
|
3
|
-
import "xlsx-js-style";
|
4
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
5
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
const N = /* @__PURE__ */ v({
|
8
|
-
__name: "Code",
|
9
|
-
props: {
|
10
|
-
schema: {},
|
11
|
-
table: {},
|
12
|
-
field: {},
|
13
|
-
set: {},
|
14
|
-
row: {},
|
15
|
-
modelValue: {}
|
16
|
-
},
|
17
|
-
setup(f) {
|
18
|
-
let s = f, { table: g, field: t, set: b, row: m, modelValue: a } = h(s), o = i(), r = i({ language: null, readonly: !0, lineNumbers: "off" }), d = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", p = (e) => e ? g.value.fields.find((u) => u.name == e) : null, c = (e) => {
|
19
|
-
let l = p(e);
|
20
|
-
return l ? m.value[l.name] : null;
|
21
|
-
};
|
22
|
-
return (() => {
|
23
|
-
if (o.value = d(), t.value.control.languageField == null)
|
24
|
-
r.value.language = t.value.control.language;
|
25
|
-
else {
|
26
|
-
let e = c(t.value.control.languageField);
|
27
|
-
e && (r.value.language = e);
|
28
|
-
}
|
29
|
-
})(), (e, l) => (V(), _(n(F), {
|
30
|
-
class: "text-code",
|
31
|
-
config: n(r),
|
32
|
-
style: y(n(o)),
|
33
|
-
modelValue: n(a),
|
34
|
-
"onUpdate:modelValue": l[0] || (l[0] = (u) => x(a) ? a.value = u : a = u)
|
35
|
-
}, null, 8, ["config", "style", "modelValue"]));
|
36
|
-
}
|
37
|
-
});
|
38
|
-
export {
|
39
|
-
N as default
|
40
|
-
};
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import { defineComponent as C, toRefs as h, ref as i, onMounted as b, resolveComponent as s, openBlock as n, createElementBlock as u, createVNode as d, unref as e, isRef as k, withCtx as p, Fragment as c, renderList as B, createBlock as E, createTextVNode as _, toDisplayString as f, createCommentVNode as L } from "vue";
|
2
|
-
import { _ as N } from "./main-Bs5Q5ZLl.js";
|
3
|
-
import "xlsx-js-style";
|
4
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
5
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
import { Q } from "./QueryApi-BLc_au6L.js";
|
8
|
-
const R = { class: "ha-code-layout" }, I = /* @__PURE__ */ C({
|
9
|
-
__name: "Code",
|
10
|
-
props: {
|
11
|
-
route: {},
|
12
|
-
validateErrors: {},
|
13
|
-
module: {},
|
14
|
-
schema: {},
|
15
|
-
table: {},
|
16
|
-
layout: {},
|
17
|
-
next: {},
|
18
|
-
set: {}
|
19
|
-
},
|
20
|
-
emits: ["submit", "change"],
|
21
|
-
setup(g, { emit: U }) {
|
22
|
-
let V = g, { module: w, schema: A, table: D, layout: r, next: F, set: M } = h(V), l = i({}), t = i(), v = () => {
|
23
|
-
t.value = r.value.languages[0];
|
24
|
-
};
|
25
|
-
return b(() => {
|
26
|
-
v(), Q.loadCodeLanguage().then((m) => {
|
27
|
-
m.forEach((a) => {
|
28
|
-
l.value[a.text] = a.suffix;
|
29
|
-
});
|
30
|
-
});
|
31
|
-
}), (m, a) => {
|
32
|
-
const x = s("el-radio"), y = s("el-radio-group");
|
33
|
-
return n(), u("div", R, [
|
34
|
-
d(y, {
|
35
|
-
modelValue: e(t),
|
36
|
-
"onUpdate:modelValue": a[0] || (a[0] = (o) => k(t) ? t.value = o : t = o)
|
37
|
-
}, {
|
38
|
-
default: p(() => [
|
39
|
-
(n(!0), u(c, null, B(e(r).languages, (o) => (n(), E(x, { value: o }, {
|
40
|
-
default: p(() => [
|
41
|
-
_(f(o) + " ", 1),
|
42
|
-
e(l)[o] ? (n(), u(c, { key: 0 }, [
|
43
|
-
_("(" + f(e(l)[o]) + ")", 1)
|
44
|
-
], 64)) : L("", !0)
|
45
|
-
]),
|
46
|
-
_: 2
|
47
|
-
}, 1032, ["value"]))), 256))
|
48
|
-
]),
|
49
|
-
_: 1
|
50
|
-
}, 8, ["modelValue"]),
|
51
|
-
d(e(N), {
|
52
|
-
border: "",
|
53
|
-
config: { language: e(l)[e(t)] },
|
54
|
-
modelValue: e(r).codes[e(t)],
|
55
|
-
"onUpdate:modelValue": a[1] || (a[1] = (o) => e(r).codes[e(t)] = o)
|
56
|
-
}, null, 8, ["config", "modelValue"])
|
57
|
-
]);
|
58
|
-
};
|
59
|
-
}
|
60
|
-
});
|
61
|
-
export {
|
62
|
-
I as _
|
63
|
-
};
|
package/dist/Column-DGnsLHim.js
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
import { defineComponent as M, toRefs as b, onMounted as D, computed as f, openBlock as l, createBlock as h, unref as e, withCtx as k, createElementBlock as o, Fragment as E, renderList as H, normalizeClass as L, createCommentVNode as u, createElementVNode as a, toDisplayString as i, resolveDynamicComponent as $, createVNode as z, createTextVNode as s } from "vue";
|
2
|
-
import { e as F, g as y, k as P, y as R } from "./main-Bs5Q5ZLl.js";
|
3
|
-
import "xlsx-js-style";
|
4
|
-
import "./vendor-crypto-js-ftX_aBC-.js";
|
5
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
const T = {
|
8
|
-
key: 0,
|
9
|
-
class: "menus"
|
10
|
-
}, j = ["onClick"], q = { class: "title" }, A = {
|
11
|
-
key: 1,
|
12
|
-
class: "column-empty"
|
13
|
-
}, G = /* @__PURE__ */ a("br", null, null, -1), I = /* @__PURE__ */ a("br", null, null, -1), Z = /* @__PURE__ */ M({
|
14
|
-
__name: "Column",
|
15
|
-
props: {
|
16
|
-
url: {},
|
17
|
-
view: {}
|
18
|
-
},
|
19
|
-
emits: ["loaded", "navigate"],
|
20
|
-
setup(C, { expose: g, emit: x }) {
|
21
|
-
let c = x, U = C, { url: m, view: d } = b(U), w = F(), B = (t) => !0, N = (t) => !0, S = () => {
|
22
|
-
p();
|
23
|
-
}, p = () => {
|
24
|
-
c("loaded", r.value.title);
|
25
|
-
}, V = (t) => {
|
26
|
-
let v = y.getUrl(t.url, { m: t.id });
|
27
|
-
c("navigate", v);
|
28
|
-
};
|
29
|
-
D(() => {
|
30
|
-
p();
|
31
|
-
});
|
32
|
-
let r = f(() => w.getMenuByUrl(m.value)), _ = f(() => y.getPath(m.value));
|
33
|
-
return g({ shouldLoad: B, shouldSpin: N, refresh: S }), (t, v) => (l(), h(e(P), null, {
|
34
|
-
default: k(() => [
|
35
|
-
e(r) ? (l(), o("div", T, [
|
36
|
-
(l(!0), o(E, null, H(e(r).children, (n) => (l(), o("div", {
|
37
|
-
class: "menu",
|
38
|
-
key: n.id,
|
39
|
-
onClick: (J) => e(V)(n)
|
40
|
-
}, [
|
41
|
-
n.icon ? (l(), o("i", {
|
42
|
-
key: 0,
|
43
|
-
class: L(n.icon)
|
44
|
-
}, null, 2)) : u("", !0),
|
45
|
-
a("div", q, i(n.title), 1)
|
46
|
-
], 8, j))), 128))
|
47
|
-
])) : u("", !0),
|
48
|
-
(l(), h($(e(d)))),
|
49
|
-
(!e(r) || e(r).children == 0) && !e(d) ? (l(), o("div", A, [
|
50
|
-
z(e(R), null, {
|
51
|
-
default: k(() => [
|
52
|
-
s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
|
53
|
-
]),
|
54
|
-
_: 1
|
55
|
-
}),
|
56
|
-
s(" 可考虑以下任一选项:"),
|
57
|
-
G,
|
58
|
-
s(" 1. 在 src/views 中实现自定义页面:" + i(e(_)), 1),
|
59
|
-
I,
|
60
|
-
s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + i(e(_)), 1)
|
61
|
-
])) : u("", !0)
|
62
|
-
]),
|
63
|
-
_: 1
|
64
|
-
}));
|
65
|
-
}
|
66
|
-
});
|
67
|
-
export {
|
68
|
-
Z as default
|
69
|
-
};
|