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
@@ -1,14 +1,10 @@
|
|
1
|
-
import { defineComponent as Be, toRefs as De, ref as
|
2
|
-
import { u as je,
|
3
|
-
import "
|
4
|
-
import "./
|
5
|
-
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
import { _ as Ie } from "./Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js";
|
8
|
-
import { _ as ue } from "./Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js";
|
9
|
-
const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class: "row-title" }, We = /* @__PURE__ */ m("i", { class: "fa fa-close" }, null, -1), Xe = [
|
1
|
+
import { defineComponent as Be, toRefs as De, ref as u, computed as Y, watch as Le, resolveComponent as f, openBlock as d, createElementBlock as M, normalizeClass as Pe, unref as e, createElementVNode as m, createVNode as h, withCtx as s, withModifiers as Ke, createBlock as g, isRef as Z, Fragment as ee, renderList as le, toDisplayString as S, createCommentVNode as B, resolveDynamicComponent as Ne, normalizeStyle as qe, createTextVNode as te, nextTick as ae } from "vue";
|
2
|
+
import { u as je, e as Fe, I as q, h as Ie, K as Me, j as Oe, m as oe, o as Ae, d as ue } from "./main-QtNG6p7a.js";
|
3
|
+
import { _ as Ge } from "./Index.vue_vue_type_style_index_0_lang-DApNHvNX.js";
|
4
|
+
import { _ as re } from "./Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js";
|
5
|
+
const He = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class: "row-title" }, We = /* @__PURE__ */ m("i", { class: "fa fa-close" }, null, -1), Xe = [
|
10
6
|
We
|
11
|
-
], Ye = /* @__PURE__ */ m("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ze = { class: "el-drawer__title" }, el = ["href"],
|
7
|
+
], Ye = /* @__PURE__ */ m("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ze = { class: "el-drawer__title" }, el = ["href"], rl = /* @__PURE__ */ Be({
|
12
8
|
__name: "Single",
|
13
9
|
props: {
|
14
10
|
base: {},
|
@@ -17,8 +13,8 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
17
13
|
},
|
18
14
|
emits: ["navigate", "load", "succeed", "close"],
|
19
15
|
setup(ne, { expose: se, emit: ie }) {
|
20
|
-
let D = ie, de = ne, { url: me, base:
|
21
|
-
let t =
|
16
|
+
let D = ie, de = ne, { url: me, base: O, route: z } = De(de), p = u(), b = u(), v = u(), r = u(), y = u(), L = u(), c = u({ table: null, layout: null }), w = u(), P = u([]), ve = u(), E = u(), x = u(), j = u(), C = u(), K = u(), { t_module: ce, $t_table: fe } = je(), pe = Fe(), i = u({ page: null, url: null, visible: !1, appendToBody: !1 }), k = u(!1), F = u(), R = u(), be = (l) => !0, ye = (l) => {
|
17
|
+
let t = q.getPath(me.value), a = q.getPath(l);
|
22
18
|
return t != a;
|
23
19
|
}, _e = () => {
|
24
20
|
Ee();
|
@@ -38,42 +34,42 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
38
34
|
a += `?id=${n}`;
|
39
35
|
}
|
40
36
|
return a;
|
41
|
-
},
|
42
|
-
(a.ctrlKey ||
|
37
|
+
}, ke = (l, t, a) => {
|
38
|
+
(a.ctrlKey || k.value) && (F.value = l, R.value = Me.clone(t), k.value = !0, R.value.fields.forEach((n) => {
|
43
39
|
n.control.textualize = !1;
|
44
40
|
}));
|
45
|
-
},
|
41
|
+
}, G = (l) => {
|
46
42
|
i.value.visible = !1, D("succeed", W.value, l);
|
47
|
-
},
|
43
|
+
}, Se = () => {
|
48
44
|
D("close");
|
49
|
-
},
|
45
|
+
}, H = (l, t, a, n, T) => {
|
50
46
|
}, J = (l, t) => {
|
51
47
|
if (t) {
|
52
48
|
L.value = y.value.layouts.find((a) => a.type == l);
|
53
49
|
return;
|
54
50
|
}
|
55
|
-
|
51
|
+
c.value.layout = c.value.table.layouts.find((a) => a.type == l);
|
56
52
|
}, xe = (l) => {
|
57
|
-
let t =
|
58
|
-
|
53
|
+
let t = r.value.find((a) => a.name == l);
|
54
|
+
c.value.table = t, c.value.layout = t.layouts[0];
|
59
55
|
}, Re = (l) => {
|
60
56
|
let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
|
61
|
-
|
57
|
+
r.value.find((T) => T.name == a).main || (w.value = a);
|
62
58
|
}, Te = (l, t = null, a = null) => {
|
63
59
|
ae(() => {
|
64
60
|
E.value.validate((n, T) => {
|
65
61
|
if (!n)
|
66
62
|
return Re(T), a && a(!1), !1;
|
67
|
-
let $ =
|
68
|
-
t && t($, v.value),
|
69
|
-
E.value.clearValidate(), oe.success(V),
|
63
|
+
let $ = p.value.type == "Update" ? b.value.update.route : b.value.insert.route;
|
64
|
+
t && t($, v.value), Oe.post($, v.value).then(({ data: U, message: V }) => {
|
65
|
+
E.value.clearValidate(), oe.success(V), G(v.value);
|
70
66
|
}).catch(({ code: U, data: V, message: X }) => {
|
71
67
|
if (U != "ValidateError")
|
72
68
|
return;
|
73
69
|
P.value = V;
|
74
70
|
let N = V.find((_) => _.table !== y.value.name);
|
75
71
|
if (N) {
|
76
|
-
let _ =
|
72
|
+
let _ = r.value.find((o) => o.name == N.table);
|
77
73
|
_ && (w.value = _.name);
|
78
74
|
}
|
79
75
|
ae(() => {
|
@@ -88,74 +84,74 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
88
84
|
});
|
89
85
|
}, Q = (l) => {
|
90
86
|
var a, n;
|
91
|
-
let t =
|
92
|
-
Ae.setTitle(t, l.module.env),
|
87
|
+
let t = ce(l.module.type, l.module.name);
|
88
|
+
Ae.setTitle(t, l.module.env), p.value = l.module, b.value = l.next, v.value = ue.expandSet(l.schema, l.set), r.value = ue.expandSchema(l.schema), y.value = (a = r.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = r.value) == null ? void 0 : n.length) > 1 && (w.value = r.value[1].name, c.value.table = r.value[1], c.value.layout = r.value[1].layouts[0]);
|
93
89
|
}, Ve = (l) => {
|
94
90
|
x.value && x.value.resize && x.value.resize(l), C.value && C.value.resize && C.value.resize(l);
|
95
91
|
}, ze = (l, t) => {
|
96
92
|
if (l == "ctrlS") {
|
97
|
-
if (
|
98
|
-
if (!
|
93
|
+
if (p.value.type == "Detail") {
|
94
|
+
if (!K.value || !K.value.keyboard)
|
99
95
|
return !1;
|
100
|
-
|
96
|
+
K.value.keyboard(l, t);
|
101
97
|
return;
|
102
98
|
}
|
103
|
-
|
99
|
+
I(t);
|
104
100
|
}
|
105
101
|
}, Ee = () => {
|
106
|
-
let l =
|
102
|
+
let l = q.getUrl(z.value.path, z.value.query);
|
107
103
|
D("load", l, !1, (t) => {
|
108
104
|
});
|
109
105
|
};
|
110
106
|
(() => {
|
111
|
-
Q(
|
107
|
+
Q(O.value.data);
|
112
108
|
})();
|
113
|
-
let
|
109
|
+
let I = (l) => {
|
114
110
|
if (!j.value.submit) {
|
115
111
|
oe.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
|
116
112
|
return;
|
117
113
|
}
|
118
114
|
j.value.submit(l);
|
119
115
|
}, $e = Y(() => {
|
120
|
-
let l = `/${y.value.name}/update`, t =
|
121
|
-
return
|
122
|
-
}), W = Y(() =>
|
123
|
-
return Le(() =>
|
116
|
+
let l = `/${y.value.name}/update`, t = p.value.type == "Detail" ? "detail" : "update";
|
117
|
+
return pe.getComponent(l, "partial", t);
|
118
|
+
}), W = Y(() => p.value.type.toLowerCase());
|
119
|
+
return Le(() => O.value, (l) => {
|
124
120
|
Q(l.data), x.value.update && x.value.update(l.data), C.value && C.value.update && C.value.update(l.data);
|
125
121
|
}), se({ shouldLoad: be, shouldSpin: ye, keyboard: ze, refresh: _e, resize: Ve }), (l, t) => {
|
126
|
-
const a =
|
127
|
-
return d(),
|
122
|
+
const a = f("el-tooltip"), n = f("el-tab-pane"), T = f("el-tabs"), $ = f("el-form"), U = f("el-scrollbar"), V = f("el-popover"), X = f("el-form-item"), N = f("el-card"), _ = f("el-drawer");
|
123
|
+
return d(), M("div", {
|
128
124
|
ref_key: "singleRef",
|
129
125
|
ref: ve,
|
130
|
-
class: Pe(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(
|
126
|
+
class: Pe(["ha-single-page", { [e(W) + "-page"]: !0, editing: e(k) }])
|
131
127
|
}, [
|
132
|
-
m("div",
|
128
|
+
m("div", He, [
|
133
129
|
h(U, { class: "main-scroller" }, {
|
134
130
|
default: s(() => [
|
135
131
|
h($, {
|
136
132
|
ref_key: "formRef",
|
137
133
|
ref: E,
|
138
134
|
model: e(v),
|
139
|
-
onSubmit: t[3] || (t[3] =
|
135
|
+
onSubmit: t[3] || (t[3] = Ke(() => {
|
140
136
|
}, ["prevent"]))
|
141
137
|
}, {
|
142
138
|
default: s(() => [
|
143
|
-
h(
|
139
|
+
h(re, {
|
144
140
|
ref_key: "mainRef",
|
145
141
|
ref: x,
|
146
|
-
module: e(
|
147
|
-
schema: e(
|
142
|
+
module: e(p),
|
143
|
+
schema: e(r),
|
148
144
|
table: e(y),
|
149
145
|
layout: e(L),
|
150
146
|
next: e(b),
|
151
147
|
set: e(v),
|
152
148
|
route: e(z),
|
153
149
|
"validate-errors": e(P),
|
154
|
-
onChange: e(
|
150
|
+
onChange: e(H),
|
155
151
|
onLayoutChange: t[0] || (t[0] = (o) => e(J)(o, !0)),
|
156
|
-
onSubmit: e(
|
152
|
+
onSubmit: e(I)
|
157
153
|
}, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
|
158
|
-
e(
|
154
|
+
e(r).length > 1 ? (d(), g(T, {
|
159
155
|
key: 0,
|
160
156
|
type: "border-card",
|
161
157
|
onTabChange: e(xe),
|
@@ -163,7 +159,7 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
163
159
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => Z(w) ? w.value = o : w = o)
|
164
160
|
}, {
|
165
161
|
default: s(() => [
|
166
|
-
(d(!0),
|
162
|
+
(d(!0), M(ee, null, le(e(r).filter((o, Ue) => Ue > 0), (o) => (d(), g(n, {
|
167
163
|
name: o.name,
|
168
164
|
key: o.name
|
169
165
|
}, {
|
@@ -174,7 +170,7 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
174
170
|
disabled: !o.tooltip
|
175
171
|
}, {
|
176
172
|
default: s(() => [
|
177
|
-
m("div", null,
|
173
|
+
m("div", null, S(e(fe)(o.table)), 1)
|
178
174
|
]),
|
179
175
|
_: 2
|
180
176
|
}, 1032, ["content", "disabled"])
|
@@ -184,22 +180,22 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
184
180
|
]),
|
185
181
|
_: 1
|
186
182
|
}, 8, ["onTabChange", "modelValue"])) : B("", !0),
|
187
|
-
e(
|
183
|
+
e(c).table ? (d(), g(re, {
|
188
184
|
key: 1,
|
189
185
|
ref_key: "childRef",
|
190
186
|
ref: C,
|
191
|
-
module: e(
|
192
|
-
schema: e(
|
193
|
-
table: e(
|
194
|
-
layout: e(
|
187
|
+
module: e(p),
|
188
|
+
schema: e(r),
|
189
|
+
table: e(c).table,
|
190
|
+
layout: e(c).layout,
|
195
191
|
next: e(b),
|
196
192
|
set: e(v),
|
197
193
|
route: e(z),
|
198
194
|
"validate-errors": e(P),
|
199
|
-
onRowEdit: e(
|
200
|
-
onChange: e(
|
195
|
+
onRowEdit: e(ke),
|
196
|
+
onChange: e(H),
|
201
197
|
onLayoutChange: t[2] || (t[2] = (o) => e(J)(o, !1)),
|
202
|
-
onSubmit: e(
|
198
|
+
onSubmit: e(I)
|
203
199
|
}, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : B("", !0)
|
204
200
|
]),
|
205
201
|
_: 1
|
@@ -211,7 +207,7 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
211
207
|
ref_key: "updateRef",
|
212
208
|
ref: j,
|
213
209
|
class: "main-footer",
|
214
|
-
schema: e(
|
210
|
+
schema: e(r),
|
215
211
|
table: e(y),
|
216
212
|
layout: e(L),
|
217
213
|
next: e(b),
|
@@ -220,19 +216,19 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
220
216
|
onCopy: e(he),
|
221
217
|
onEdit: e(ge),
|
222
218
|
onSubmit: e(Te),
|
223
|
-
onClose: e(
|
219
|
+
onClose: e(Se)
|
224
220
|
}, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
|
225
221
|
]),
|
226
|
-
e(
|
222
|
+
e(k) ? (d(), g(N, {
|
227
223
|
key: 0,
|
228
224
|
class: "side-form"
|
229
225
|
}, {
|
230
226
|
header: s(() => [
|
231
227
|
m("div", Je, [
|
232
|
-
m("div", Qe,
|
228
|
+
m("div", Qe, S(l.t("common.modify")) + " " + S(e(F)[e(R).show[0].name]), 1),
|
233
229
|
m("div", {
|
234
230
|
class: "row-close",
|
235
|
-
onClick: t[4] || (t[4] = (o) => Z(
|
231
|
+
onClick: t[4] || (t[4] = (o) => Z(k) ? k.value = !1 : k = !1)
|
236
232
|
}, Xe)
|
237
233
|
])
|
238
234
|
]),
|
@@ -244,12 +240,12 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
244
240
|
"label-width": "80px"
|
245
241
|
}, {
|
246
242
|
default: s(() => [
|
247
|
-
(d(!0),
|
248
|
-
style:
|
243
|
+
(d(!0), M(ee, null, le(e(R).show, (o) => (d(), g(X, {
|
244
|
+
style: qe(o.control.height ? `height: ${o.control.height}px;` : ""),
|
249
245
|
rules: o.rules
|
250
246
|
}, {
|
251
247
|
label: s(() => [
|
252
|
-
te(
|
248
|
+
te(S(l.t_field(e(R).name, o.name)) + " ", 1),
|
253
249
|
o.control.tooltip ? (d(), g(V, {
|
254
250
|
key: 0,
|
255
251
|
trigger: "hover",
|
@@ -261,18 +257,18 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
261
257
|
Ye
|
262
258
|
]),
|
263
259
|
default: s(() => [
|
264
|
-
m("pre", null,
|
260
|
+
m("pre", null, S(o.control.tooltip.content), 1)
|
265
261
|
]),
|
266
262
|
_: 2
|
267
263
|
}, 1032, ["title"])) : B("", !0)
|
268
264
|
]),
|
269
265
|
default: s(() => [
|
270
|
-
h(
|
271
|
-
schema: e(
|
266
|
+
h(Ge, {
|
267
|
+
schema: e(r),
|
272
268
|
table: e(R),
|
273
269
|
field: o,
|
274
270
|
set: e(v),
|
275
|
-
row: e(
|
271
|
+
row: e(F)
|
276
272
|
}, null, 8, ["schema", "table", "field", "set", "row"])
|
277
273
|
]),
|
278
274
|
_: 2
|
@@ -290,25 +286,25 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
290
286
|
key: 1,
|
291
287
|
"destroy-on-close": "",
|
292
288
|
"append-to-body": e(i).appendToBody,
|
293
|
-
size: `${e(
|
289
|
+
size: `${e(p).width ?? "60%"}`,
|
294
290
|
modelValue: e(i).visible,
|
295
291
|
"onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
|
296
292
|
}, {
|
297
293
|
header: s(() => [
|
298
294
|
m("div", Ze, [
|
299
|
-
te(
|
295
|
+
te(S(e(b)[e(i).page].title) + " ", 1),
|
300
296
|
m("a", {
|
301
297
|
class: "drawer-copy",
|
302
|
-
href: `${e(
|
303
|
-
},
|
298
|
+
href: `${e(q).getToUrl(e(i).url)}`
|
299
|
+
}, S(l.t("common.link")), 9, el)
|
304
300
|
])
|
305
301
|
]),
|
306
302
|
default: s(() => [
|
307
|
-
h(e(
|
303
|
+
h(e(Ie), {
|
308
304
|
ref_key: "pageRef",
|
309
|
-
ref:
|
305
|
+
ref: K,
|
310
306
|
url: e(i).url,
|
311
|
-
onSucceed: e(
|
307
|
+
onSucceed: e(G),
|
312
308
|
onClose: e(we)
|
313
309
|
}, null, 8, ["url", "onSucceed", "onClose"])
|
314
310
|
]),
|
@@ -319,5 +315,5 @@ const Ge = { class: "ha-main-form" }, Je = { class: "row-header" }, Qe = { class
|
|
319
315
|
}
|
320
316
|
});
|
321
317
|
export {
|
322
|
-
|
318
|
+
rl as default
|
323
319
|
};
|
@@ -1,11 +1,7 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
import "
|
4
|
-
|
5
|
-
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js";
|
8
|
-
const ne = /* @__PURE__ */ N({
|
1
|
+
import { defineComponent as j, toRefs as q, ref as n, onMounted as G, watch as M, openBlock as O, createElementBlock as I, createVNode as J, unref as i, createElementVNode as K, normalizeStyle as P, nextTick as m } from "vue";
|
2
|
+
import { H as Q, d as U, r as W, m as X, V as Y } from "./main-QtNG6p7a.js";
|
3
|
+
import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js";
|
4
|
+
const re = /* @__PURE__ */ j({
|
9
5
|
__name: "Statistic",
|
10
6
|
props: {
|
11
7
|
searchData: {},
|
@@ -18,16 +14,16 @@ const ne = /* @__PURE__ */ N({
|
|
18
14
|
set: {}
|
19
15
|
},
|
20
16
|
emits: ["search"],
|
21
|
-
setup(A, { expose: C, emit:
|
22
|
-
let
|
23
|
-
|
24
|
-
},
|
25
|
-
|
17
|
+
setup(A, { expose: C, emit: F }) {
|
18
|
+
let H = F, z = A, { route: V, module: B, schema: x, table: y, layout: a, next: ee, set: u, searchData: p } = q(z), g = Q(), s = null, v = null, b = n(), d = n(), S = n(), k = n(), T = (t) => {
|
19
|
+
D("search");
|
20
|
+
}, D = (t, e = null) => {
|
21
|
+
H(t, (r) => {
|
26
22
|
m(() => {
|
27
|
-
|
23
|
+
f(), e && e(r);
|
28
24
|
});
|
29
25
|
});
|
30
|
-
},
|
26
|
+
}, f = () => {
|
31
27
|
let t = W.distinct(u.value[a.value.table], (l) => l[a.value.date]), e = {
|
32
28
|
title: { text: B.value.title, left: "center", textStyle: { color: "#777" } },
|
33
29
|
//标题
|
@@ -63,7 +59,7 @@ const ne = /* @__PURE__ */ N({
|
|
63
59
|
series: []
|
64
60
|
};
|
65
61
|
g.theme == "dark" && (e.title.textStyle.color = "rgba(255,255,255,0.8)", e.legend.textStyle.color = "rgba(255,255,255,.72)", e.xAxis.axisLabel.color = "rgba(255,255,255,.72)", e.yAxis.splitLine.lineStyle.color = "rgba(110,117,130,0.2)", e.yAxis.axisLabel.color = "rgba(255,255,255,.72)");
|
66
|
-
let r = a.value.fields.find((l) => l.group && l.name != a.value.date), L =
|
62
|
+
let r = a.value.fields.find((l) => l.group && l.name != a.value.date), L = y.value.fields.find((l) => l.name == r.name).control.data.data;
|
67
63
|
for (let l = 0; l < L.length; l++) {
|
68
64
|
let o = L[l];
|
69
65
|
o.color || X.error("颜色字段不能为空");
|
@@ -107,7 +103,7 @@ const ne = /* @__PURE__ */ N({
|
|
107
103
|
global: !0
|
108
104
|
});
|
109
105
|
for (let h = 0; h < t.length; h++) {
|
110
|
-
let
|
106
|
+
let $ = t[h], w = u.value[a.value.table].find((R) => R[r.name] == o.value && R[a.value.date] == $);
|
111
107
|
w == null ? c.data.push(null) : c.data.push(w[a.value.value]);
|
112
108
|
}
|
113
109
|
e.series.push(c), e.legend.data.push(o.text);
|
@@ -115,37 +111,37 @@ const ne = /* @__PURE__ */ N({
|
|
115
111
|
e.xAxis.data.push(...t), s.setOption(e);
|
116
112
|
}, _ = () => {
|
117
113
|
var r;
|
118
|
-
let t = Y.getHeight([(r =
|
114
|
+
let t = Y.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = k.value.getBoundingClientRect();
|
119
115
|
b.value = e.height - t - 10 - 1;
|
120
|
-
},
|
121
|
-
|
116
|
+
}, E = (t) => {
|
117
|
+
d.value.resize(t), m(() => {
|
122
118
|
_(), s == null || s.resize();
|
123
119
|
});
|
124
|
-
},
|
120
|
+
}, N = () => {
|
125
121
|
_(), m(() => {
|
126
|
-
s = v.init(S.value),
|
122
|
+
s = v.init(S.value), f();
|
127
123
|
});
|
128
124
|
};
|
129
|
-
return
|
130
|
-
|
131
|
-
v = t,
|
125
|
+
return G(() => {
|
126
|
+
p.value = U.getConditionForm(x.value, V.value.query.condition), import("echarts").then((t) => {
|
127
|
+
v = t, N();
|
132
128
|
});
|
133
|
-
}),
|
134
|
-
|
135
|
-
}), C({ resize:
|
129
|
+
}), M(() => a.value, (t, e) => {
|
130
|
+
f();
|
131
|
+
}), C({ resize: E }), (t, e) => (O(), I("div", {
|
136
132
|
ref_key: "statisticRef",
|
137
133
|
ref: k,
|
138
134
|
class: "ha-statistic-layout"
|
139
135
|
}, [
|
140
136
|
J(Z, {
|
141
137
|
ref_key: "searchRef",
|
142
|
-
ref:
|
143
|
-
schema: i(
|
144
|
-
table: i(
|
138
|
+
ref: d,
|
139
|
+
schema: i(x),
|
140
|
+
table: i(y),
|
145
141
|
layout: i(a),
|
146
142
|
set: i(u),
|
147
|
-
"search-data": i(
|
148
|
-
onChange: i(
|
143
|
+
"search-data": i(p),
|
144
|
+
onChange: i(T)
|
149
145
|
}, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
|
150
146
|
K("div", {
|
151
147
|
ref_key: "chartRef",
|
@@ -157,5 +153,5 @@ const ne = /* @__PURE__ */ N({
|
|
157
153
|
}
|
158
154
|
});
|
159
155
|
export {
|
160
|
-
|
156
|
+
re as default
|
161
157
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as c, toRefs as m, openBlock as u, createBlock as p, unref as e } from "vue";
|
2
|
-
import { _ } from "./Stock.vue_vue_type_style_index_0_lang-
|
2
|
+
import { _ } from "./Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js";
|
3
3
|
const b = /* @__PURE__ */ c({
|
4
4
|
__name: "Stock",
|
5
5
|
props: {
|
@@ -1,12 +1,8 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
import "./vendor-moment-h96o7c8I.js";
|
7
|
-
const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据", -1), z = [
|
8
|
-
j
|
9
|
-
], D = /* @__PURE__ */ F({
|
1
|
+
import { defineComponent as C, toRefs as R, ref as T, onMounted as B, openBlock as G, createBlock as P, unref as h, withCtx as V, createElementVNode as A, createTextVNode as z, toDisplayString as b } from "vue";
|
2
|
+
import { H as E, z as O, r as K } from "./main-QtNG6p7a.js";
|
3
|
+
const N = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据", -1), j = [
|
4
|
+
N
|
5
|
+
], U = /* @__PURE__ */ C({
|
10
6
|
__name: "Stock",
|
11
7
|
props: {
|
12
8
|
searchData: {},
|
@@ -19,18 +15,18 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
19
15
|
set: {}
|
20
16
|
},
|
21
17
|
setup(k) {
|
22
|
-
let L = k, { module: H, schema: W, table: v, layout: n, next:
|
23
|
-
let o =
|
18
|
+
let L = k, { module: H, schema: W, table: v, layout: n, next: q, set: f } = R(L), p = null, c = null, w = E(), y = "#04aa4e", x = "#ff5945", S = T(), u = { history: null, week: null, month: null }, _ = (t) => {
|
19
|
+
let o = K.orderBy(t, (i) => i[n.value.time], !1), e = [], l = [], r = [];
|
24
20
|
for (let i = 0; i < o.length; i++) {
|
25
21
|
let a = o[i];
|
26
22
|
e.push(a[n.value.time]);
|
27
|
-
let
|
28
|
-
l.push([
|
29
|
-
let
|
23
|
+
let d = parseFloat(a[n.value.open]), s = parseFloat(a[n.value.close]);
|
24
|
+
l.push([d, s, parseFloat(a[n.value.low]), parseFloat(a[n.value.high])]);
|
25
|
+
let F = {
|
30
26
|
value: parseFloat(a[n.value.volumn]),
|
31
|
-
itemStyle: { color: s >
|
27
|
+
itemStyle: { color: s > d ? y : x }
|
32
28
|
};
|
33
|
-
r.push(
|
29
|
+
r.push(F);
|
34
30
|
}
|
35
31
|
return { times: e, values: l, volumes: r };
|
36
32
|
}, m = (t, o) => {
|
@@ -233,7 +229,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
233
229
|
smooth: !0,
|
234
230
|
data: [],
|
235
231
|
areaStyle: {
|
236
|
-
color: new
|
232
|
+
color: new c.graphic.LinearGradient(0, 0, 0, 1, [{
|
237
233
|
offset: 0,
|
238
234
|
color: l
|
239
235
|
}, {
|
@@ -242,7 +238,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
242
238
|
}])
|
243
239
|
}
|
244
240
|
};
|
245
|
-
w.theme == "dark" && (r.areaStyle.color = new
|
241
|
+
w.theme == "dark" && (r.areaStyle.color = new c.graphic.LinearGradient(
|
246
242
|
0,
|
247
243
|
0,
|
248
244
|
0,
|
@@ -256,14 +252,14 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
256
252
|
r.data.push(...i), e.series.push(r);
|
257
253
|
}
|
258
254
|
return o && f.value[o.table].forEach((r) => {
|
259
|
-
let i = r[o.time], a = t.times.indexOf(i),
|
255
|
+
let i = r[o.time], a = t.times.indexOf(i), d = t.values[a], s = {
|
260
256
|
coord: [i],
|
261
257
|
itemStyle: { color: null },
|
262
258
|
label: { position: null, offset: null },
|
263
259
|
value: null,
|
264
260
|
symbolRotate: null
|
265
261
|
};
|
266
|
-
r[o.direction] == 1 ? (s.coord.push(
|
262
|
+
r[o.direction] == 1 ? (s.coord.push(d[2] * 0.99), s.value = "买", s.itemStyle.color = "#00c805", s.symbolRotate = 180, s.label.position = "insideBottom", s.label.offset = [0, -5]) : (s.coord.push(d[3] * 1.01), s.value = "卖", s.itemStyle.color = "#ff5000"), e.series[0].markPoint.data.push(s);
|
267
263
|
}), e;
|
268
264
|
}, g = (t) => {
|
269
265
|
let o = 0;
|
@@ -273,7 +269,7 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
273
269
|
}), o / t.length * 100;
|
274
270
|
}, I = (t) => {
|
275
271
|
let o = M(t);
|
276
|
-
p || (p =
|
272
|
+
p || (p = c.init(S.value)), p.setOption(o);
|
277
273
|
let e = t.values, l = e.reverse();
|
278
274
|
u.history = g(e), u.week = g(l.slice(0, 7)), u.month = g(l.slice(0, 30));
|
279
275
|
}, Z = () => {
|
@@ -282,21 +278,21 @@ const j = /* @__PURE__ */ A("div", { class: "ha-empty" }, "暂无行情数据",
|
|
282
278
|
};
|
283
279
|
return B(() => {
|
284
280
|
import("echarts").then((t) => {
|
285
|
-
|
281
|
+
c = t, Z();
|
286
282
|
});
|
287
|
-
}), (t, o) => (G(), P(h(
|
283
|
+
}), (t, o) => (G(), P(h(O), null, {
|
288
284
|
default: V(() => [
|
289
285
|
A("div", {
|
290
286
|
ref_key: "chartRef",
|
291
287
|
ref: S,
|
292
288
|
class: "chart"
|
293
|
-
},
|
294
|
-
|
289
|
+
}, j, 512),
|
290
|
+
z(" 30日开盘振幅:" + b(h(u).month) + "% 7日开盘振幅:" + b(h(u).week) + "% 历史开盘振幅:" + b(h(u).history) + "% ", 1)
|
295
291
|
]),
|
296
292
|
_: 1
|
297
293
|
}));
|
298
294
|
}
|
299
295
|
});
|
300
296
|
export {
|
301
|
-
|
297
|
+
U as _
|
302
298
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: { type: [String, Number, Boolean] }
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = f(() => import("./Dictionary-
|
13
|
+
let r = f(() => import("./Dictionary-DpQuFYQ5.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
|
14
14
|
return (h, l) => (b(), w(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|