halo-pc 1.0.41 → 1.0.42
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-BMW_FzdK.js → Article-DFUSows8.js} +70 -65
- package/dist/{ArticleFooter-7iPkMQaX.js → ArticleFooter-Cj1BBlA1.js} +27 -22
- package/dist/{Autocomplete-C-El55Lz.js → Autocomplete-BwXXwn67.js} +1 -1
- package/dist/Autocomplete-CkaC4B9a.js +55 -0
- package/dist/Autocomplete-lOArRE-3.js +54 -0
- package/dist/{CSharp-BQUrQwua.js → CSharp-DKso7gNM.js} +1 -1
- package/dist/{Calender-CJXR7uhM.js → Calender-D-SOVcZj.js} +1 -1
- package/dist/Callback-BR41Vj-N.js +26 -0
- package/dist/{Cascader-CFc_8QSm.js → Cascader-CgATYx_L.js} +25 -20
- package/dist/{Cascader-DMQjalNv.js → Cascader-_zr2LKml.js} +6 -6
- package/dist/{Checkbox-pV01os-T.js → Checkbox-5ILQf19K.js} +1 -1
- package/dist/{Checkbox-aU8e779g.js → Checkbox-BL8CgSAj.js} +22 -17
- package/dist/Code-B4PQhSMK.js +4 -0
- package/dist/{Code-kDBbVC1W.js → Code-C-YP2p5l.js} +1 -1
- package/dist/{Code-C4pIa8BE.js → Code-DFyhE56y.js} +3 -3
- package/dist/{Code-CCJx9RSm.js → Code-DiXOxLRf.js} +4 -4
- package/dist/{Code.vue_vue_type_style_index_0_lang-36NN7tgP.js → Code.vue_vue_type_style_index_0_lang-XgvwusB0.js} +8 -8
- package/dist/{Column-BebDf5Z9.js → Column-Bc7Oihiz.js} +8 -8
- package/dist/{Comment-BgfD9WtL.js → Comment-xRgfVwWf.js} +1 -1
- package/dist/Compare-Bs02uoCu.js +43 -0
- package/dist/Compare-CzjhvoMB.js +63 -0
- package/dist/{Copy-DW4jSNQi.js → Copy-Cm2a5gNO.js} +16 -11
- package/dist/{Custom-DIF-RYi3.js → Custom-DUwgObv0.js} +16 -16
- package/dist/{DataExport-CyQy2xjO.js → DataExport-Bl8Gnd65.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js → DataExport.vue_vue_type_script_setup_true_lang-BdcGXCd-.js} +33 -28
- package/dist/{DataImport-BVF83UsQ.js → DataImport-a0LeLUqN.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-SUTAEcM1.js +178 -0
- package/dist/{Date-CqpFvbYZ.js → Date-3ShwD2-i.js} +1 -1
- package/dist/Date-Bxg6thBd.js +43 -0
- package/dist/{DateRange-B2afkdbT.js → DateRange-Bs02SlBL.js} +16 -11
- package/dist/DateTime-9zVeZZU1.js +44 -0
- package/dist/{DateTime-Zi3vtH77.js → DateTime-CBvGI0QK.js} +1 -1
- package/dist/{DateTimeRange-BFWM_U7H.js → DateTimeRange-BvzT4ePX.js} +16 -11
- package/dist/{Daterange-tXA0b0Ak.js → Daterange-jjGQtOYX.js} +21 -16
- package/dist/{Decimal-DKQ38XS_.js → Decimal-ZCkGNnu6.js} +1 -1
- package/dist/Delete-DFYWGXxR.js +62 -0
- package/dist/{Detail-SWgERqKG.js → Detail-BCOVW_Bc.js} +23 -18
- package/dist/{Dictionary-Xsj_Qorw.js → Dictionary-CzVkbTgC.js} +1 -1
- package/dist/{Email-DILPnLkb.js → Email-BkTp1o4W.js} +19 -14
- package/dist/File-B5gD6gIN.js +164 -0
- package/dist/{Image-Yx3ZHHJK.js → Image-CJehZtl1.js} +1 -1
- package/dist/{Index-CiQQmYeA.js → Index--k39OOeR.js} +1 -1
- package/dist/Index-BgaidjN1.js +4 -0
- package/dist/{Index-DeYqTT9Q.js → Index-Bkk7Lbow.js} +1 -1
- package/dist/Index-C1d92iVF.js +4 -0
- package/dist/{Index-BTa4YIN9.js → Index-CqcpoI5q.js} +64 -59
- package/dist/Index-D46msJe6.js +4 -0
- package/dist/Index-DNzPzZAD.js +4 -0
- package/dist/{Index-WVLyjyqt.js → Index-fLIY_xZz.js} +20 -15
- package/dist/Index.vue_vue_type_script_setup_true_lang-B5I-mP-B.js +72 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js → Index.vue_vue_type_script_setup_true_lang-BBos3LCo.js} +11 -11
- package/dist/{Install-DW5uDsXF.js → Install-D5a1Clhz.js} +37 -32
- package/dist/Int-BCPaDwRr.js +47 -0
- package/dist/Int-vbDN15ge.js +44 -0
- package/dist/List-1gzG3Hh5.js +77 -0
- package/dist/{Maintaince-DF3nu9Jd.js → Maintaince-or5c_o4Q.js} +4 -4
- package/dist/{Markdown-BC8l7O_U.js → Markdown-DA3F0wmz.js} +1 -1
- package/dist/{Month-DRa9o-WC.js → Month-BNmPXwr5.js} +1 -1
- package/dist/Month-C5Gs9TzA.js +44 -0
- package/dist/Month-DWJvfZWH.js +43 -0
- package/dist/Normal-C08A_LBQ.js +266 -0
- package/dist/Paging-CTYEtfU6.js +100 -0
- package/dist/{PagingHeader-U-oJ1TQE.js → PagingHeader-ooBPU84X.js} +28 -23
- package/dist/{PagingRow-BmokRXX3.js → PagingRow-BBzD3uJR.js} +17 -12
- package/dist/{Racebar-BvFHNGb8.js → Racebar-CGxwvdJg.js} +4 -4
- package/dist/{Radio-CjfXrTOE.js → Radio-Rf8Dk0Kt.js} +1 -1
- package/dist/{Register-BG-3_Q2E.js → Register-CRG2u_Oc.js} +72 -67
- package/dist/{RichText-C88f59ao.js → RichText-D9mVss4s.js} +6 -6
- package/dist/{SearchForm-C0zqD7UP.js → SearchForm-DhNSuvIB.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js → SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js} +36 -31
- package/dist/{SearchHeader-e2LOidgU.js → SearchHeader-BH9MZ9J0.js} +1 -1
- package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js → SearchHeader.vue_vue_type_style_index_0_lang-BCguAmMx.js} +1 -1
- package/dist/Select-BGxScF1V.js +117 -0
- package/dist/{Select-CvP_zGxM.js → Select-D6zMSIK-.js} +1 -1
- package/dist/Select-pxgFT4W6.js +86 -0
- package/dist/{Single-p-8OfzhQ.js → Single-Dur5AQwJ.js} +105 -98
- package/dist/{Statistic-BIKfbZCI.js → Statistic-D2Ui-cl9.js} +47 -42
- package/dist/{Stock-B7RP-SuF.js → Stock-CPNV5oAr.js} +1 -1
- package/dist/{Stock-BhOP8J0c.js → Stock-S-yoIR63.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js → Stock.vue_vue_type_style_index_0_lang-CBM83HPm.js} +16 -11
- package/dist/{Switch-BcDhe4_E.js → Switch-Ddzu0cVc.js} +1 -1
- package/dist/{Table-Cy7FarYr.js → Table-Dehxw_Mm.js} +126 -121
- package/dist/{Table-DK-TaejU.js → Table-td4DoauS.js} +95 -90
- package/dist/Text-BQ2sP6BX.js +54 -0
- package/dist/Text-BlDU58Cj.js +4 -0
- package/dist/{Text-YNB0It4-.js → Text-DzOAFDPQ.js} +15 -10
- package/dist/{Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js → Text.vue_vue_type_style_index_0_lang-SkwvLnGj.js} +1 -1
- package/dist/TextLink-BNd6HG70.js +65 -0
- package/dist/{Textarea-86C9lCtg.js → Textarea-BEGLCMlW.js} +1 -1
- package/dist/Time-6IjugDB1.js +43 -0
- package/dist/{Timeline-O_jWjdxT.js → Timeline-rO6-BdP9.js} +1 -1
- package/dist/{Tree-BfFRW-xZ.js → Tree-B4CrBXsk.js} +1 -1
- package/dist/Tree-Ba3IsT-8.js +298 -0
- package/dist/TreeNode-D3zRAE68.js +43 -0
- package/dist/Update-DustuC7M.js +70 -0
- package/dist/{UpdateChild-YzPMnj_r.js → UpdateChild-D_vBiyT5.js} +17 -12
- package/dist/{Upload-Dj5nSsug.js → Upload-ByD17bHe.js} +18 -18
- package/dist/Upload-pOEf-6VG.js +150 -0
- package/dist/{Year-CcbzIuwy.js → Year-CWW-xi29.js} +1 -1
- package/dist/Year-DkYUnUm3.js +47 -0
- package/dist/{main-DxH9UW19.js → main-DSgfGXqN.js} +6148 -5905
- package/dist/main.js +162 -164
- package/dist/style.css +1 -1
- package/esm/@types/CreatePcOptions.d.ts +1 -2
- package/esm/@types/index.d.ts +1 -2
- package/esm/coms/business/@types/DrawerProps.d.ts +1 -2
- package/esm/coms/business/@types/FormProps.d.ts +1 -2
- package/esm/coms/business/@types/index.d.ts +2 -3
- package/esm/coms/business/Condition.vue.d.ts +3 -3
- package/esm/coms/business/Drawer.vue.d.ts +2 -2
- package/esm/coms/business/Form.vue.d.ts +3 -2
- package/esm/coms/commons/@types/TableProps.d.ts +1 -2
- package/esm/coms/commons/@types/index.d.ts +1 -2
- package/esm/coms/commons/Captcha.vue.d.ts +1 -1
- package/esm/coms/commons/Debug.vue.d.ts +2 -1
- package/esm/coms/commons/Editable.vue.d.ts +2 -1
- package/esm/coms/commons/Loading.vue.d.ts +2 -1
- package/esm/coms/commons/Resizer.vue.d.ts +3 -2
- package/esm/coms/commons/Table.vue.d.ts +8 -3
- package/esm/coms/commons/TableColumn.vue.d.ts +2 -1
- package/esm/coms/controls/@types/ControlProps.d.ts +1 -2
- package/esm/coms/controls/@types/index.d.ts +1 -2
- package/esm/coms/controls/Autocomplete.vue.d.ts +4 -5
- package/esm/coms/controls/Cascader.vue.d.ts +4 -5
- package/esm/coms/controls/Checkbox.vue.d.ts +5 -6
- package/esm/coms/controls/Code.vue.d.ts +4 -5
- package/esm/coms/controls/Color.vue.d.ts +4 -5
- package/esm/coms/controls/Compare.vue.d.ts +5 -6
- package/esm/coms/controls/Date.vue.d.ts +4 -5
- package/esm/coms/controls/DateRange.vue.d.ts +4 -5
- package/esm/coms/controls/DateTime.vue.d.ts +4 -5
- package/esm/coms/controls/DateTimeRange.vue.d.ts +4 -5
- package/esm/coms/controls/Decimal.vue.d.ts +4 -5
- package/esm/coms/controls/Email.vue.d.ts +4 -5
- package/esm/coms/controls/Index.vue.d.ts +4 -5
- package/esm/coms/controls/Int.vue.d.ts +4 -5
- package/esm/coms/controls/Markdown.vue.d.ts +4 -5
- package/esm/coms/controls/Month.vue.d.ts +4 -5
- package/esm/coms/controls/Password.vue.d.ts +4 -5
- package/esm/coms/controls/Progress.vue.d.ts +4 -5
- package/esm/coms/controls/Radio.vue.d.ts +4 -5
- package/esm/coms/controls/Rate.vue.d.ts +4 -5
- package/esm/coms/controls/RichText.vue.d.ts +4 -4
- package/esm/coms/controls/Select.vue.d.ts +4 -5
- package/esm/coms/controls/Switch.vue.d.ts +5 -6
- package/esm/coms/controls/Text.vue.d.ts +4 -5
- package/esm/coms/controls/Textarea.vue.d.ts +4 -5
- package/esm/coms/controls/Time.vue.d.ts +4 -5
- package/esm/coms/controls/Upload.vue.d.ts +5 -6
- package/esm/coms/controls/Year.vue.d.ts +4 -5
- package/esm/coms/drivers/@types/CrudProps.d.ts +1 -2
- package/esm/coms/drivers/@types/DriverBaseProps.d.ts +1 -2
- package/esm/coms/drivers/@types/DriverEmit.d.ts +1 -2
- package/esm/coms/drivers/@types/DriverFormProps.d.ts +2 -3
- package/esm/coms/drivers/@types/DriverKindEmit.d.ts +2 -3
- package/esm/coms/drivers/@types/DriverProps.d.ts +3 -4
- package/esm/coms/drivers/@types/KindFormProps.d.ts +0 -1
- package/esm/coms/drivers/@types/KindProps.d.ts +2 -3
- package/esm/coms/drivers/@types/index.d.ts +5 -6
- package/esm/coms/drivers/Crud.vue.d.ts +6 -3
- package/esm/coms/drivers/Index.vue.d.ts +2 -1
- package/esm/coms/drivers/Kind.vue.d.ts +2 -1
- package/esm/coms/globals/@types/WindowEmit.d.ts +6 -7
- package/esm/coms/globals/@types/WindowOptions.d.ts +1 -2
- package/esm/coms/globals/@types/WindowProps.d.ts +2 -3
- package/esm/coms/globals/@types/index.d.ts +3 -4
- package/esm/coms/globals/HeaderTab.vue.d.ts +3 -2
- package/esm/coms/globals/HeaderTabs.vue.d.ts +4 -3
- package/esm/coms/globals/MenuItem.vue.d.ts +1 -1
- package/esm/coms/globals/MissComponent.vue.d.ts +3 -2
- package/esm/coms/globals/SideTab.vue.d.ts +3 -2
- package/esm/coms/globals/SideTabs.vue.d.ts +2 -1
- package/esm/coms/globals/Window.vue.d.ts +43 -2
- package/esm/coms/headers/@types/ChangeProps.d.ts +1 -2
- package/esm/coms/headers/@types/HeaderProps.d.ts +1 -2
- package/esm/coms/headers/@types/TipsProps.d.ts +1 -2
- package/esm/coms/headers/@types/index.d.ts +3 -4
- package/esm/coms/headers/Hamburger.vue.d.ts +1 -1
- package/esm/coms/headers/Index.vue.d.ts +3 -2
- package/esm/coms/headers/Logo.vue.d.ts +1 -1
- package/esm/coms/headers/Refresh.vue.d.ts +1 -1
- package/esm/coms/layouts/@types/ITaskBar.d.ts +1 -2
- package/esm/coms/layouts/@types/index.d.ts +1 -2
- package/esm/coms/layouts/Desktop.vue.d.ts +1 -1
- package/esm/coms/layouts/Index.vue.d.ts +6 -6
- package/esm/coms/layouts/Side.vue.d.ts +2 -2
- package/esm/coms/layouts/Top.vue.d.ts +1 -1
- package/esm/coms/lists/@types/ListProps.d.ts +1 -2
- package/esm/coms/lists/@types/index.d.ts +1 -2
- package/esm/coms/lists/Calender.vue.d.ts +1 -1
- package/esm/coms/lists/Racebar.vue.d.ts +1 -1
- package/esm/coms/lists/Statistic.vue.d.ts +1 -1
- package/esm/coms/lists/Stock.vue.d.ts +1 -1
- package/esm/coms/lists/Timeline.vue.d.ts +1 -1
- package/esm/coms/lists/Tree.vue.d.ts +1 -1
- package/esm/coms/pages/@types/ColumnPageProps.d.ts +2 -3
- package/esm/coms/pages/@types/CustomPageProps.d.ts +2 -3
- package/esm/coms/pages/@types/DeletePageProps.d.ts +2 -3
- package/esm/coms/pages/@types/ListPageProps.d.ts +2 -3
- package/esm/coms/pages/@types/PageEmit.d.ts +1 -2
- package/esm/coms/pages/@types/PageProps.d.ts +1 -2
- package/esm/coms/pages/@types/PagingPageProps.d.ts +2 -3
- package/esm/coms/pages/@types/SchemaProps.d.ts +3 -4
- package/esm/coms/pages/@types/SinglePageProps.d.ts +2 -3
- package/esm/coms/pages/@types/index.d.ts +9 -10
- package/esm/coms/pages/Column.vue.d.ts +1 -1
- package/esm/coms/pages/Delete.vue.d.ts +1 -1
- package/esm/coms/pages/Paging.vue.d.ts +1 -2
- package/esm/coms/pagings/@types/PagingProps.d.ts +1 -2
- package/esm/coms/pagings/@types/SearchFormProps.d.ts +1 -2
- package/esm/coms/pagings/@types/SearchHeaderProps.d.ts +1 -2
- package/esm/coms/pagings/@types/index.d.ts +3 -4
- package/esm/coms/pagings/Article.vue.d.ts +1 -1
- package/esm/coms/pagings/Code.vue.d.ts +1 -1
- package/esm/coms/pagings/File.vue.d.ts +1 -1
- package/esm/coms/pagings/Index.vue.d.ts +1 -2
- package/esm/coms/pagings/SearchHeader.vue.d.ts +1 -1
- package/esm/coms/pagings/Table.vue.d.ts +2 -3
- package/esm/coms/panels/@types/OperationProps.d.ts +1 -2
- package/esm/coms/panels/@types/index.d.ts +1 -2
- package/esm/coms/panels/Group.vue.d.ts +3 -2
- package/esm/coms/panels/Header.vue.d.ts +1 -1
- package/esm/coms/panels/Operation.vue.d.ts +3 -2
- package/esm/coms/panels/Panel.vue.d.ts +3 -2
- package/esm/coms/panels/Shrink.vue.d.ts +3 -2
- package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +1 -2
- package/esm/coms/partials/@types/DetailEmit.d.ts +1 -2
- package/esm/coms/partials/@types/DetailProps.d.ts +1 -2
- package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +2 -3
- package/esm/coms/partials/@types/PagingHeaderProps.d.ts +1 -2
- package/esm/coms/partials/@types/PagingRowEmit.d.ts +1 -2
- package/esm/coms/partials/@types/PagingRowProps.d.ts +1 -2
- package/esm/coms/partials/@types/TreeNodeProps.d.ts +1 -2
- package/esm/coms/partials/@types/UpdateChildEmit.d.ts +1 -2
- package/esm/coms/partials/@types/UpdateChildProps.d.ts +1 -2
- package/esm/coms/partials/@types/UpdateEmit.d.ts +1 -2
- package/esm/coms/partials/@types/UpdateProps.d.ts +1 -2
- package/esm/coms/partials/@types/index.d.ts +12 -13
- package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
- package/esm/coms/partials/Detail.vue.d.ts +1 -1
- package/esm/coms/partials/PagingHeader.vue.d.ts +2 -2
- package/esm/coms/partials/PagingRow.vue.d.ts +2 -2
- package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
- package/esm/coms/partials/Update.vue.d.ts +1 -1
- package/esm/coms/searches/@types/SearchProps.d.ts +1 -2
- package/esm/coms/searches/@types/index.d.ts +1 -2
- package/esm/coms/searches/Autocomplete.vue.d.ts +4 -5
- package/esm/coms/searches/Daterange.vue.d.ts +4 -5
- package/esm/coms/searches/Int.vue.d.ts +4 -5
- package/esm/coms/searches/Month.vue.d.ts +4 -5
- package/esm/coms/searches/Select.vue.d.ts +4 -5
- package/esm/coms/searches/Text.vue.d.ts +4 -2
- package/esm/coms/singles/@types/SingleProps.d.ts +1 -2
- package/esm/coms/singles/@types/index.d.ts +1 -2
- package/esm/coms/singles/Code.vue.d.ts +1 -1
- package/esm/coms/singles/Comment.vue.d.ts +1 -1
- package/esm/coms/singles/Normal.vue.d.ts +1 -1
- package/esm/coms/singles/Statistic.vue.d.ts +1 -1
- package/esm/coms/singles/Stock.vue.d.ts +1 -1
- package/esm/coms/singles/Tree.vue.d.ts +1 -1
- package/esm/coms/texts/Autocomplete.vue.d.ts +3 -4
- package/esm/coms/texts/CSharp.vue.d.ts +3 -4
- package/esm/coms/texts/Cascader.vue.d.ts +5 -6
- package/esm/coms/texts/Checkbox.vue.d.ts +3 -4
- package/esm/coms/texts/Code.vue.d.ts +3 -4
- package/esm/coms/texts/Color.vue.d.ts +3 -4
- package/esm/coms/texts/Compare.vue.d.ts +3 -4
- package/esm/coms/texts/Copy.vue.d.ts +6 -6
- package/esm/coms/texts/Date.vue.d.ts +3 -4
- package/esm/coms/texts/DateRange.vue.d.ts +3 -4
- package/esm/coms/texts/DateTime.vue.d.ts +3 -4
- package/esm/coms/texts/Decimal.vue.d.ts +3 -4
- package/esm/coms/texts/Dictionary.vue.d.ts +5 -6
- package/esm/coms/texts/Email.vue.d.ts +3 -4
- package/esm/coms/texts/Index.vue.d.ts +4 -5
- package/esm/coms/texts/Int.vue.d.ts +3 -4
- package/esm/coms/texts/Markdown.vue.d.ts +3 -4
- package/esm/coms/texts/Month.vue.d.ts +3 -4
- package/esm/coms/texts/Password.vue.d.ts +3 -4
- package/esm/coms/texts/Progress.vue.d.ts +3 -4
- package/esm/coms/texts/Radio.vue.d.ts +3 -4
- package/esm/coms/texts/Rate.vue.d.ts +4 -5
- package/esm/coms/texts/RichText.vue.d.ts +3 -4
- package/esm/coms/texts/Select.vue.d.ts +3 -4
- package/esm/coms/texts/Switch.vue.d.ts +3 -4
- package/esm/coms/texts/Text.vue.d.ts +3 -4
- package/esm/coms/texts/TextLink.vue.d.ts +2 -1
- package/esm/coms/texts/Textarea.vue.d.ts +3 -4
- package/esm/coms/texts/Upload.vue.d.ts +3 -4
- package/esm/coms/texts/Year.vue.d.ts +3 -4
- package/esm/drivers/index.d.ts +0 -1
- package/esm/drivers/messengers/PcMessenger.d.ts +1 -2
- package/esm/drivers/messengers/index.d.ts +1 -2
- package/esm/repos/UploadApi.d.ts +1 -2
- package/esm/repos/index.d.ts +1 -2
- package/esm/svcs/AppSvc.d.ts +1 -2
- package/esm/svcs/ComponentSvc.d.ts +1 -2
- package/esm/svcs/ControlSvc.d.ts +1 -2
- package/esm/svcs/LayoutSvc.d.ts +1 -2
- package/esm/svcs/ModuleSvc.d.ts +3 -4
- package/esm/svcs/PageSvc.d.ts +1 -2
- package/esm/svcs/RouterSvc.d.ts +1 -2
- package/esm/svcs/Svcs.d.ts +11 -0
- package/esm/svcs/UploadSvc.d.ts +1 -2
- package/esm/svcs/WindowSvc.d.ts +1 -2
- package/esm/svcs/index.d.ts +10 -9
- package/esm/views/helps/401.vue.d.ts +1 -1
- package/esm/views/helps/404.vue.d.ts +1 -1
- package/esm/views/helps/Install.vue.d.ts +1 -1
- package/esm/views/helps/Maintaince.vue.d.ts +1 -1
- package/esm/views/logins/Callback.vue.d.ts +1 -1
- package/esm/views/logins/Index.vue.d.ts +1 -1
- package/esm/views/logins/Register.vue.d.ts +1 -1
- package/package.json +6 -6
- package/dist/Autocomplete-B6Mwp9rT.js +0 -50
- package/dist/Autocomplete-PZTjEBIx.js +0 -49
- package/dist/Callback-CyDW9WU2.js +0 -21
- package/dist/Code-C0Kxulod.js +0 -4
- package/dist/Compare-BZucuvFP.js +0 -58
- package/dist/Compare-D-Byn_Gq.js +0 -38
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js +0 -173
- package/dist/Date-g1XKWU4b.js +0 -38
- package/dist/DateTime-D_x_wBZR.js +0 -39
- package/dist/Delete-BOkBpAGN.js +0 -57
- package/dist/File-BDUTK7hV.js +0 -159
- package/dist/Index-BWukqxQl.js +0 -4
- package/dist/Index-BahY1OIJ.js +0 -4
- package/dist/Index-C9ffFYsl.js +0 -4
- package/dist/Index-DG7Hovsx.js +0 -4
- package/dist/Index.vue_vue_type_script_setup_true_lang-42C0EEto.js +0 -67
- package/dist/Int-BM4sbZvh.js +0 -42
- package/dist/Int-BrFE_Hmm.js +0 -39
- package/dist/List-DWjTqrJR.js +0 -72
- package/dist/Month-QG6OiiLU.js +0 -39
- package/dist/Month-Y0kLXgV7.js +0 -38
- package/dist/Normal-CSy3DFPH.js +0 -257
- package/dist/Paging-BYccIXmC.js +0 -95
- package/dist/Select-CfIvGDPS.js +0 -112
- package/dist/Select-Cz6MPDCC.js +0 -81
- package/dist/Text-B580p9od.js +0 -49
- package/dist/Text-D89aQLxL.js +0 -4
- package/dist/TextLink-CI-AIgdm.js +0 -60
- package/dist/Time-BgArfSc6.js +0 -38
- package/dist/Tree-DayADkaC.js +0 -293
- package/dist/TreeNode-BZp8w6M5.js +0 -38
- package/dist/Update-Bcdz87R4.js +0 -65
- package/dist/Upload-DU5VOqXj.js +0 -145
- package/dist/Year-B3E0kOiA.js +0 -42
@@ -0,0 +1,86 @@
|
|
1
|
+
import { defineComponent as R, toRefs as S, ref as i, computed as I, resolveComponent as p, openBlock as r, createBlock as c, unref as t, withKeys as M, withModifiers as N, isRef as F, withCtx as f, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as v, createCommentVNode as q } from "vue";
|
2
|
+
import { I as _, D as z } from "./main-DSgfGXqN.js";
|
3
|
+
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
|
+
import "./assets/underscore-B0BCaBxV.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/clone-BZn0cTAu.js";
|
7
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
+
import "./assets/moment-h96o7c8I.js";
|
9
|
+
const A = { class: "option-text" }, G = {
|
10
|
+
key: 0,
|
11
|
+
class: "option-suffix"
|
12
|
+
}, $ = /* @__PURE__ */ R({
|
13
|
+
__name: "Select",
|
14
|
+
props: {
|
15
|
+
schema: {},
|
16
|
+
table: {},
|
17
|
+
field: {},
|
18
|
+
searchData: {},
|
19
|
+
modelValue: { type: [String, Boolean] }
|
20
|
+
},
|
21
|
+
emits: ["change", "submit", "update:modelValue"],
|
22
|
+
setup(x, { emit: b }) {
|
23
|
+
let s = b, g = x, { schema: H, table: y, field: a, searchData: V, modelValue: k } = S(g), C = i(!1), m = i(), d = i(a.value.control.data.data), w = () => {
|
24
|
+
s("submit");
|
25
|
+
}, D = () => {
|
26
|
+
}, B = (l) => {
|
27
|
+
m.value = l, E();
|
28
|
+
}, E = () => {
|
29
|
+
let l = { text: m.value, conditions: [] };
|
30
|
+
a.value.control.data.conditions.forEach((o) => {
|
31
|
+
let u = V.value[o.table][o.field];
|
32
|
+
l.conditions.push({ name: o.name, value: u });
|
33
|
+
}), z.http.post(a.value.control.data.route, l).then(({ data: o }) => {
|
34
|
+
d.value = o;
|
35
|
+
}).finally(() => {
|
36
|
+
C.value = !1;
|
37
|
+
});
|
38
|
+
}, n = I({
|
39
|
+
get() {
|
40
|
+
return k.value;
|
41
|
+
},
|
42
|
+
set(l) {
|
43
|
+
s("update:modelValue", l), s("change", l);
|
44
|
+
}
|
45
|
+
});
|
46
|
+
return (l, o) => {
|
47
|
+
const u = p("el-option"), K = p("el-select");
|
48
|
+
return r(), c(K, {
|
49
|
+
ref: "selectRef",
|
50
|
+
filterable: "",
|
51
|
+
remote: "",
|
52
|
+
"reserve-keyword": "",
|
53
|
+
clearable: "",
|
54
|
+
"default-first-option": "",
|
55
|
+
"remote-show-suffix": "",
|
56
|
+
placeholder: t(_).t("common.please_choose") + t(_).field(t(y).name, t(a).name),
|
57
|
+
multiple: t(a).control.multiple,
|
58
|
+
"loading-text": "加载中",
|
59
|
+
"remote-method": t(B),
|
60
|
+
disabled: t(a).control.readonly,
|
61
|
+
onKeyup: M(N(t(w), ["alt"]), ["enter", "native"]),
|
62
|
+
onChange: t(D),
|
63
|
+
modelValue: t(n),
|
64
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
|
65
|
+
}, {
|
66
|
+
default: f(() => [
|
67
|
+
(r(!0), h(L, null, U(t(d), (e, J) => (r(), c(u, {
|
68
|
+
label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
|
69
|
+
value: e.value,
|
70
|
+
key: e.value
|
71
|
+
}, {
|
72
|
+
default: f(() => [
|
73
|
+
j("span", A, v(e.text), 1),
|
74
|
+
e.suffix ? (r(), h("span", G, "(" + v(e.suffix) + ")", 1)) : q("", !0)
|
75
|
+
]),
|
76
|
+
_: 2
|
77
|
+
}, 1032, ["label", "value"]))), 128))
|
78
|
+
]),
|
79
|
+
_: 1
|
80
|
+
}, 8, ["placeholder", "multiple", "remote-method", "disabled", "onKeyup", "onChange", "modelValue"]);
|
81
|
+
};
|
82
|
+
}
|
83
|
+
});
|
84
|
+
export {
|
85
|
+
$ as default
|
86
|
+
};
|
@@ -1,8 +1,13 @@
|
|
1
|
-
import { defineComponent as $e, toRefs as
|
2
|
-
import {
|
1
|
+
import { defineComponent as $e, toRefs as De, ref as r, computed as te, watch as Ke, resolveComponent as f, openBlock as d, createElementBlock as A, normalizeClass as Be, unref as e, createElementVNode as m, createVNode as _, withCtx as s, withModifiers as Le, createBlock as h, isRef as ae, Fragment as oe, renderList as re, toDisplayString as R, createCommentVNode as $, resolveDynamicComponent as Ne, normalizeStyle as Pe, createTextVNode as ue, nextTick as ne } from "vue";
|
2
|
+
import { c as qe, I as D, b as je, U as K, a as Fe, D as j, m as se, R as G, K as Ie } from "./main-DSgfGXqN.js";
|
3
|
+
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
|
+
import "./assets/underscore-B0BCaBxV.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/clone-BZn0cTAu.js";
|
7
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
3
8
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
import { _ as
|
5
|
-
const
|
9
|
+
import { _ as ie } from "./Index.vue_vue_type_script_setup_true_lang-B5I-mP-B.js";
|
10
|
+
const Me = { class: "ha-main-form" }, Oe = { class: "row-header" }, Ae = { class: "row-title" }, Ge = { class: "el-drawer__title" }, He = ["href"], ol = /* @__PURE__ */ $e({
|
6
11
|
__name: "Single",
|
7
12
|
props: {
|
8
13
|
base: {},
|
@@ -11,19 +16,19 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
11
16
|
win: {}
|
12
17
|
},
|
13
18
|
emits: ["navigate", "load", "succeed", "close"],
|
14
|
-
setup(
|
15
|
-
let B =
|
16
|
-
let t = K.url.getPath(
|
19
|
+
setup(de, { expose: me, emit: pe }) {
|
20
|
+
let B = pe, ve = de, { url: F, base: H, route: T } = De(ve), c = r(), b = r(), p = r(), u = r(), y = r(), L = r(), v = r({ table: null, layout: null }), w = r(), N = r([]), fe = r(), V = r(), P = r(), I = r(), E = r(), J = r(), i = r({ page: null, url: null, visible: !1, appendToBody: !1 }), C = r(!1), M = r(), x = r(), ce = (l) => !0, be = (l) => {
|
21
|
+
let t = K.url.getPath(F.value), a = K.url.getPath(l);
|
17
22
|
return t != a;
|
18
23
|
}, ye = () => {
|
19
24
|
Ee();
|
20
|
-
}, _e = (l, t) => {
|
21
|
-
H("copy", l, t);
|
22
25
|
}, ge = (l, t) => {
|
23
|
-
|
26
|
+
Q("copy", l, t);
|
27
|
+
}, _e = (l, t) => {
|
28
|
+
Q("update", l, t);
|
24
29
|
}, he = () => {
|
25
30
|
i.value.visible = !1;
|
26
|
-
},
|
31
|
+
}, Q = (l, t, a) => {
|
27
32
|
let n = we(l, t);
|
28
33
|
a.ctrlKey ? B("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
|
29
34
|
}, we = (l, t = null) => {
|
@@ -34,46 +39,46 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
34
39
|
}
|
35
40
|
return a;
|
36
41
|
}, Ce = (l, t, a) => {
|
37
|
-
(a.ctrlKey || C.value) && (
|
42
|
+
(a.ctrlKey || C.value) && (M.value = l, x.value = K.object.clone(t), C.value = !0, x.value.fields.forEach((n) => {
|
38
43
|
n.control.textualize = !1;
|
39
44
|
}));
|
40
|
-
},
|
41
|
-
i.value.visible = !1, B("succeed",
|
45
|
+
}, W = (l) => {
|
46
|
+
i.value.visible = !1, B("succeed", ee.value, l);
|
42
47
|
}, Re = () => {
|
43
48
|
B("close");
|
44
|
-
},
|
45
|
-
},
|
49
|
+
}, X = (l, t, a, n, k) => {
|
50
|
+
}, Y = (l, t) => {
|
46
51
|
if (t) {
|
47
|
-
|
52
|
+
L.value = y.value.layouts.find((a) => a.type == l);
|
48
53
|
return;
|
49
54
|
}
|
50
55
|
v.value.layout = v.value.table.layouts.find((a) => a.type == l);
|
51
56
|
}, xe = (l) => {
|
52
|
-
let t =
|
57
|
+
let t = u.value.find((a) => a.name == l);
|
53
58
|
v.value.table = t, v.value.layout = t.layouts[0];
|
54
59
|
}, ke = (l) => {
|
55
60
|
let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
|
56
|
-
|
61
|
+
u.value.find((k) => k.name == a).main || (w.value = a);
|
57
62
|
}, Se = (l, t = null, a = null) => {
|
58
|
-
|
63
|
+
ne(() => {
|
59
64
|
V.value.validate((n, k) => {
|
60
65
|
if (!n)
|
61
66
|
return ke(k), a && a(!1), !1;
|
62
67
|
let U = c.value.type == "Update" ? b.value.update.route : b.value.insert.route;
|
63
|
-
t && t(U, p.value),
|
64
|
-
V.value.clearValidate(),
|
65
|
-
}).catch(({ code: z, data: S, message:
|
68
|
+
t && t(U, p.value), j.http.post(U, p.value).then(({ data: z, message: S }) => {
|
69
|
+
V.value.clearValidate(), j.messenger.success(S), W(p.value);
|
70
|
+
}).catch(({ code: z, data: S, message: le }) => {
|
66
71
|
if (z != "ValidateError")
|
67
72
|
return;
|
68
|
-
|
69
|
-
let
|
70
|
-
if (
|
71
|
-
let
|
72
|
-
|
73
|
+
N.value = S;
|
74
|
+
let q = S.find((g) => g.table !== y.value.name);
|
75
|
+
if (q) {
|
76
|
+
let g = u.value.find((o) => o.name == q.table);
|
77
|
+
g && (w.value = g.name);
|
73
78
|
}
|
74
|
-
|
75
|
-
V.value.clearValidate(), V.value.validate((
|
76
|
-
|
79
|
+
ne(() => {
|
80
|
+
V.value.clearValidate(), V.value.validate((g, o) => {
|
81
|
+
g || (a && a(!1), N.value = []);
|
77
82
|
});
|
78
83
|
});
|
79
84
|
}).finally(() => {
|
@@ -81,19 +86,19 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
81
86
|
});
|
82
87
|
});
|
83
88
|
});
|
84
|
-
},
|
89
|
+
}, Z = (l) => {
|
85
90
|
var a, n;
|
86
|
-
let t =
|
87
|
-
|
91
|
+
let t = D.module(l.module.type, l.module.name);
|
92
|
+
j.i18n.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, p.value = se.expandSet(l.schema, l.set), u.value = se.expandSchema(l.schema, l.set), y.value = (a = u.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = u.value) == null ? void 0 : n.length) > 1 && (w.value = u.value[1].name, v.value.table = u.value[1], v.value.layout = u.value[1].layouts[0]);
|
88
93
|
}, Te = (l) => {
|
89
|
-
|
94
|
+
G.module.triggerResize(P.value, l), G.module.triggerResize(E.value, l);
|
90
95
|
}, Ve = (l, t) => {
|
91
96
|
if (l == Ie.ctrlS) {
|
92
97
|
if (c.value.type == "Detail") {
|
93
|
-
|
98
|
+
G.module.triggerKeyboard(J.value, l, t);
|
94
99
|
return;
|
95
100
|
}
|
96
|
-
|
101
|
+
O(t);
|
97
102
|
}
|
98
103
|
}, Ee = () => {
|
99
104
|
let l = K.url.getUrl(T.value.path, T.value.query);
|
@@ -101,31 +106,31 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
101
106
|
});
|
102
107
|
};
|
103
108
|
(() => {
|
104
|
-
|
109
|
+
Z(H.value.data);
|
105
110
|
})();
|
106
|
-
let
|
107
|
-
if (!
|
108
|
-
|
111
|
+
let O = (l) => {
|
112
|
+
if (!I.value.submit) {
|
113
|
+
j.messenger.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
|
109
114
|
return;
|
110
115
|
}
|
111
|
-
|
112
|
-
}, Ue =
|
116
|
+
I.value.submit(l);
|
117
|
+
}, Ue = te(() => {
|
113
118
|
let l = `/${y.value.name}/update`, t = c.value.type == "Detail" ? "detail" : "update";
|
114
|
-
return
|
115
|
-
}),
|
116
|
-
return
|
117
|
-
|
118
|
-
}),
|
119
|
-
const a = f("el-tooltip"), n = f("el-tab-pane"), k = f("el-tabs"), U = f("el-form"), z = f("el-scrollbar"), S = f("el-popover"),
|
120
|
-
return d(),
|
119
|
+
return qe.getComponent(l, "partial", t);
|
120
|
+
}), ee = te(() => c.value.type.toLowerCase());
|
121
|
+
return Ke(() => H.value, (l) => {
|
122
|
+
Z(l.data), P.value.update && P.value.update(l.data), E.value && E.value.update && E.value.update(l.data);
|
123
|
+
}), me({ shouldLoad: ce, shouldSpin: be, onKeyboard: Ve, onRefresh: ye, onResize: Te }), (l, t) => {
|
124
|
+
const a = f("el-tooltip"), n = f("el-tab-pane"), k = f("el-tabs"), U = f("el-form"), z = f("el-scrollbar"), S = f("el-popover"), le = f("el-form-item"), q = f("el-card"), g = f("el-drawer");
|
125
|
+
return d(), A("div", {
|
121
126
|
ref_key: "singleRef",
|
122
127
|
ref: fe,
|
123
|
-
class:
|
128
|
+
class: Be(["ha-single-page", { [e(ee) + "-page"]: !0, editing: e(C) }])
|
124
129
|
}, [
|
125
|
-
m("div",
|
126
|
-
|
130
|
+
m("div", Me, [
|
131
|
+
_(z, { class: "main-scroller" }, {
|
127
132
|
default: s(() => [
|
128
|
-
|
133
|
+
_(U, {
|
129
134
|
ref_key: "formRef",
|
130
135
|
ref: V,
|
131
136
|
model: e(p),
|
@@ -133,41 +138,42 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
133
138
|
}, ["prevent"]))
|
134
139
|
}, {
|
135
140
|
default: s(() => [
|
136
|
-
|
141
|
+
_(ie, {
|
137
142
|
ref_key: "mainRef",
|
138
|
-
ref:
|
143
|
+
ref: P,
|
144
|
+
url: e(F),
|
139
145
|
module: e(c),
|
140
|
-
schema: e(
|
146
|
+
schema: e(u),
|
141
147
|
table: e(y),
|
142
|
-
layout: e(
|
148
|
+
layout: e(L),
|
143
149
|
next: e(b),
|
144
150
|
set: e(p),
|
145
151
|
route: e(T),
|
146
|
-
"validate-errors": e(
|
147
|
-
onChange: e(
|
148
|
-
onLayoutChange: t[0] || (t[0] = (o) => e(
|
149
|
-
onSubmit: e(
|
150
|
-
}, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
|
151
|
-
e(
|
152
|
+
"validate-errors": e(N),
|
153
|
+
onChange: e(X),
|
154
|
+
onLayoutChange: t[0] || (t[0] = (o) => e(Y)(o, !0)),
|
155
|
+
onSubmit: e(O)
|
156
|
+
}, null, 8, ["url", "module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
|
157
|
+
e(u).length > 1 ? (d(), h(k, {
|
152
158
|
key: 0,
|
153
159
|
type: "border-card",
|
154
160
|
onTabChange: e(xe),
|
155
161
|
modelValue: e(w),
|
156
|
-
"onUpdate:modelValue": t[1] || (t[1] = (o) =>
|
162
|
+
"onUpdate:modelValue": t[1] || (t[1] = (o) => ae(w) ? w.value = o : w = o)
|
157
163
|
}, {
|
158
164
|
default: s(() => [
|
159
|
-
(d(!0),
|
165
|
+
(d(!0), A(oe, null, re(e(u).filter((o, ze) => ze > 0), (o) => (d(), h(n, {
|
160
166
|
name: o.name,
|
161
167
|
key: o.name
|
162
168
|
}, {
|
163
169
|
label: s(() => [
|
164
|
-
|
170
|
+
_(a, {
|
165
171
|
placement: "top",
|
166
172
|
content: o.tooltip,
|
167
173
|
disabled: !o.tooltip
|
168
174
|
}, {
|
169
175
|
default: s(() => [
|
170
|
-
m("div", null, R(e(
|
176
|
+
m("div", null, R(e(D).table(o.table)), 1)
|
171
177
|
]),
|
172
178
|
_: 2
|
173
179
|
}, 1032, ["content", "disabled"])
|
@@ -177,23 +183,24 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
177
183
|
]),
|
178
184
|
_: 1
|
179
185
|
}, 8, ["onTabChange", "modelValue"])) : $("", !0),
|
180
|
-
e(v).table ? (d(), h(
|
186
|
+
e(v).table ? (d(), h(ie, {
|
181
187
|
key: 1,
|
182
188
|
ref_key: "childRef",
|
183
189
|
ref: E,
|
190
|
+
url: e(F),
|
184
191
|
module: e(c),
|
185
|
-
schema: e(
|
192
|
+
schema: e(u),
|
186
193
|
table: e(v).table,
|
187
194
|
layout: e(v).layout,
|
188
195
|
next: e(b),
|
189
196
|
set: e(p),
|
190
197
|
route: e(T),
|
191
|
-
"validate-errors": e(
|
198
|
+
"validate-errors": e(N),
|
192
199
|
onRowEdit: e(Ce),
|
193
|
-
onChange: e(
|
194
|
-
onLayoutChange: t[2] || (t[2] = (o) => e(
|
195
|
-
onSubmit: e(
|
196
|
-
}, null, 8, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : $("", !0)
|
200
|
+
onChange: e(X),
|
201
|
+
onLayoutChange: t[2] || (t[2] = (o) => e(Y)(o, !1)),
|
202
|
+
onSubmit: e(O)
|
203
|
+
}, null, 8, ["url", "module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : $("", !0)
|
197
204
|
]),
|
198
205
|
_: 1
|
199
206
|
}, 8, ["model"])
|
@@ -202,49 +209,49 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
202
209
|
}),
|
203
210
|
(d(), h(Ne(e(Ue)), {
|
204
211
|
ref_key: "updateRef",
|
205
|
-
ref:
|
212
|
+
ref: I,
|
206
213
|
class: "main-footer",
|
207
|
-
schema: e(
|
214
|
+
schema: e(u),
|
208
215
|
table: e(y),
|
209
|
-
layout: e(
|
216
|
+
layout: e(L),
|
210
217
|
next: e(b),
|
211
218
|
set: e(p),
|
212
219
|
route: e(T),
|
213
|
-
onCopy: e(
|
214
|
-
onEdit: e(
|
220
|
+
onCopy: e(ge),
|
221
|
+
onEdit: e(_e),
|
215
222
|
onSubmit: e(Se),
|
216
223
|
onClose: e(Re)
|
217
224
|
}, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
|
218
225
|
]),
|
219
|
-
e(C) ? (d(), h(
|
226
|
+
e(C) ? (d(), h(q, {
|
220
227
|
key: 0,
|
221
228
|
class: "side-form"
|
222
229
|
}, {
|
223
230
|
header: s(() => [
|
224
|
-
m("div",
|
225
|
-
m("div",
|
231
|
+
m("div", Oe, [
|
232
|
+
m("div", Ae, R(e(D).t("common.modify")) + " " + R(e(M)[e(x).show[0].name]), 1),
|
226
233
|
m("div", {
|
227
234
|
class: "row-close",
|
228
|
-
onClick: t[4] || (t[4] = (o) =>
|
235
|
+
onClick: t[4] || (t[4] = (o) => ae(C) ? C.value = !1 : C = !1)
|
229
236
|
}, t[6] || (t[6] = [
|
230
237
|
m("i", { class: "fa fa-close" }, null, -1)
|
231
238
|
]))
|
232
239
|
])
|
233
240
|
]),
|
234
241
|
default: s(() => [
|
235
|
-
|
242
|
+
_(z, null, {
|
236
243
|
default: s(() => [
|
237
|
-
|
244
|
+
_(U, {
|
238
245
|
size: "small",
|
239
246
|
"label-width": "80px"
|
240
247
|
}, {
|
241
248
|
default: s(() => [
|
242
|
-
(d(!0),
|
249
|
+
(d(!0), A(oe, null, re(e(x).show, (o) => (d(), h(le, {
|
243
250
|
style: Pe(o.control.height ? `height: ${o.control.height}px;` : ""),
|
244
251
|
rules: o.rules
|
245
252
|
}, {
|
246
253
|
label: s(() => [
|
247
|
-
|
254
|
+
ue(R(e(D).field(e(x).name, o.name)) + " ", 1),
|
248
255
|
o.control.tooltip ? (d(), h(S, {
|
249
256
|
key: 0,
|
250
257
|
trigger: "hover",
|
@@ -262,12 +269,12 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
262
269
|
}, 1032, ["title"])) : $("", !0)
|
263
270
|
]),
|
264
271
|
default: s(() => [
|
265
|
-
|
266
|
-
schema: e(
|
272
|
+
_(je, {
|
273
|
+
schema: e(u),
|
267
274
|
table: e(x),
|
268
275
|
field: o,
|
269
276
|
set: e(p),
|
270
|
-
row: e(
|
277
|
+
row: e(M)
|
271
278
|
}, null, 8, ["schema", "table", "field", "set", "row"])
|
272
279
|
]),
|
273
280
|
_: 2
|
@@ -281,7 +288,7 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
281
288
|
]),
|
282
289
|
_: 1
|
283
290
|
})) : $("", !0),
|
284
|
-
e(i).page ? (d(), h(
|
291
|
+
e(i).page ? (d(), h(g, {
|
285
292
|
key: 1,
|
286
293
|
"destroy-on-close": "",
|
287
294
|
"append-to-body": e(i).appendToBody,
|
@@ -290,20 +297,20 @@ const Je = { class: "ha-main-form" }, Qe = { class: "row-header" }, We = { class
|
|
290
297
|
"onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
|
291
298
|
}, {
|
292
299
|
header: s(() => [
|
293
|
-
m("div",
|
294
|
-
|
300
|
+
m("div", Ge, [
|
301
|
+
ue(R(e(b)[e(i).page].title) + " ", 1),
|
295
302
|
m("a", {
|
296
303
|
class: "drawer-copy",
|
297
304
|
href: `${e(K).url.getToUrl(e(i).url)}`
|
298
|
-
}, R(e(
|
305
|
+
}, R(e(D).t("common.link")), 9, He)
|
299
306
|
])
|
300
307
|
]),
|
301
308
|
default: s(() => [
|
302
|
-
|
309
|
+
_(e(Fe), {
|
303
310
|
ref_key: "pageRef",
|
304
|
-
ref:
|
311
|
+
ref: J,
|
305
312
|
url: e(i).url,
|
306
|
-
onSucceed: e(
|
313
|
+
onSucceed: e(W),
|
307
314
|
onClose: e(he)
|
308
315
|
}, null, 8, ["url", "onSucceed", "onClose"])
|
309
316
|
]),
|
@@ -1,8 +1,13 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
1
|
+
import { defineComponent as q, toRefs as G, ref as c, onMounted as M, watch as O, openBlock as I, createElementBlock as J, createVNode as K, unref as i, createElementVNode as P, normalizeStyle as Q, nextTick as _ } from "vue";
|
2
|
+
import { S as W, m as X, D as L, U as C, R as Y } from "./main-DSgfGXqN.js";
|
3
|
+
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
|
+
import "./assets/underscore-B0BCaBxV.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/clone-BZn0cTAu.js";
|
7
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
3
8
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
import { _ as
|
5
|
-
const
|
9
|
+
import { _ as Z } from "./SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js";
|
10
|
+
const de = /* @__PURE__ */ q({
|
6
11
|
__name: "Statistic",
|
7
12
|
props: {
|
8
13
|
searchData: {},
|
@@ -18,17 +23,17 @@ const se = /* @__PURE__ */ j({
|
|
18
23
|
},
|
19
24
|
emits: ["search"],
|
20
25
|
setup(A, { expose: F, emit: z }) {
|
21
|
-
let
|
22
|
-
|
23
|
-
},
|
24
|
-
|
25
|
-
|
26
|
-
f(), e == null || e(
|
26
|
+
let D = z, H = A, { route: B, module: E, schema: m, table: p, layout: l, next: ee, set: u, searchData: y } = G(H), s = null, g = null, x = c(), d = c(), v = c(), S = c(), T = W.config.sys, V = (t) => {
|
27
|
+
N("search");
|
28
|
+
}, N = (t, e = null) => {
|
29
|
+
D(t, (r) => {
|
30
|
+
_(() => {
|
31
|
+
f(), e == null || e(r);
|
27
32
|
});
|
28
33
|
});
|
29
34
|
}, f = () => {
|
30
35
|
let t = C.array.distinct(u.value[l.value.table], (a) => a[l.value.date]), e = {
|
31
|
-
title: { text:
|
36
|
+
title: { text: E.value.title, left: "center", textStyle: { color: "#777" } },
|
32
37
|
//标题
|
33
38
|
tooltip: { trigger: "axis" },
|
34
39
|
//提示
|
@@ -61,11 +66,11 @@ const se = /* @__PURE__ */ j({
|
|
61
66
|
//坐标
|
62
67
|
series: []
|
63
68
|
};
|
64
|
-
|
65
|
-
let
|
66
|
-
for (let a = 0; a <
|
67
|
-
let o =
|
68
|
-
o.color ||
|
69
|
+
T.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)");
|
70
|
+
let r = l.value.fields.find((a) => a.group && a.name != l.value.date), w = p.value.fields.find((a) => a.name == r.name).control.data.data;
|
71
|
+
for (let a = 0; a < w.length; a++) {
|
72
|
+
let o = w[a];
|
73
|
+
o.color || L.messenger.error("颜色字段不能为空");
|
69
74
|
let n = {
|
70
75
|
name: o.text,
|
71
76
|
type: "line",
|
@@ -91,7 +96,7 @@ const se = /* @__PURE__ */ j({
|
|
91
96
|
}
|
92
97
|
}
|
93
98
|
};
|
94
|
-
|
99
|
+
app.theme == "dark" && (n.areaStyle.color = {
|
95
100
|
type: "linear",
|
96
101
|
x: 0,
|
97
102
|
y: 0,
|
@@ -106,49 +111,49 @@ const se = /* @__PURE__ */ j({
|
|
106
111
|
global: !0
|
107
112
|
});
|
108
113
|
for (let h = 0; h < t.length; h++) {
|
109
|
-
let
|
110
|
-
|
114
|
+
let j = t[h], k = u.value[l.value.table].find((R) => R[r.name] == o.value && R[l.value.date] == j);
|
115
|
+
k == null ? n.data.push(null) : n.data.push(k[l.value.value]);
|
111
116
|
}
|
112
117
|
e.series.push(n), e.legend.data.push(o.text);
|
113
118
|
}
|
114
119
|
e.xAxis.data.push(...t), s.setOption(e);
|
115
|
-
},
|
116
|
-
var
|
117
|
-
let t = C.dom.getHeight([(
|
118
|
-
x.value = e.height - t - 10 - 1, await
|
119
|
-
},
|
120
|
-
|
121
|
-
},
|
122
|
-
await
|
120
|
+
}, b = async () => {
|
121
|
+
var r;
|
122
|
+
let t = C.dom.getHeight([(r = d.value) == null ? void 0 : r.$el]), e = S.value.getBoundingClientRect();
|
123
|
+
x.value = e.height - t - 10 - 1, await _();
|
124
|
+
}, U = async (t) => {
|
125
|
+
Y.module.triggerResize(d.value, t), await b(), s == null || s.resize();
|
126
|
+
}, $ = async () => {
|
127
|
+
await b(), s = g.init(v.value), f();
|
123
128
|
};
|
124
|
-
return
|
125
|
-
|
126
|
-
}),
|
129
|
+
return M(async () => {
|
130
|
+
y.value = X.getConditionForm(m.value, B.value.query.condition), g = await L.cdn.getECharts(), await $();
|
131
|
+
}), O(() => l.value, (t, e) => {
|
127
132
|
f();
|
128
|
-
}), F({ onResize:
|
133
|
+
}), F({ onResize: U }), (t, e) => (I(), J("div", {
|
129
134
|
ref_key: "statisticRef",
|
130
|
-
ref:
|
135
|
+
ref: S,
|
131
136
|
class: "ha-statistic-layout"
|
132
137
|
}, [
|
133
|
-
|
138
|
+
K(Z, {
|
134
139
|
ref_key: "searchRef",
|
135
140
|
ref: d,
|
136
|
-
schema:
|
137
|
-
table:
|
138
|
-
layout:
|
139
|
-
set:
|
140
|
-
"search-data":
|
141
|
-
onChange:
|
141
|
+
schema: i(m),
|
142
|
+
table: i(p),
|
143
|
+
layout: i(l),
|
144
|
+
set: i(u),
|
145
|
+
"search-data": i(y),
|
146
|
+
onChange: i(V)
|
142
147
|
}, null, 8, ["schema", "table", "layout", "set", "search-data", "onChange"]),
|
143
|
-
|
148
|
+
P("div", {
|
144
149
|
ref_key: "chartRef",
|
145
150
|
ref: v,
|
146
151
|
class: "chart",
|
147
|
-
style:
|
152
|
+
style: Q({ height: i(x) + "px" })
|
148
153
|
}, null, 4)
|
149
154
|
], 512));
|
150
155
|
}
|
151
156
|
});
|
152
157
|
export {
|
153
|
-
|
158
|
+
de as default
|
154
159
|
};
|
@@ -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-CBM83HPm.js";
|
3
3
|
const b = /* @__PURE__ */ c({
|
4
4
|
__name: "Stock",
|
5
5
|
props: {
|