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
@@ -1,78 +1,83 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import {
|
1
|
+
import { defineComponent as Q, ref as i, onMounted as Z, watch as F, resolveComponent as m, openBlock as w, createElementBlock as G, createVNode as p, unref as l, withCtx as f, createElementVNode as r, toDisplayString as J, isRef as V, createBlock as y, withKeys as T, normalizeClass as U, withModifiers as W, createTextVNode as X, nextTick as B } from "vue";
|
2
|
+
import { useRoute as Y } from "vue-router";
|
3
|
+
import { D as b, I as K, v as ee, U as v, r as le } from "./main-DSgfGXqN.js";
|
4
|
+
import "./assets/liquidjs-BfOWWjtJ.js";
|
5
|
+
import "./assets/underscore-B0BCaBxV.js";
|
6
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
7
|
+
import "./assets/clone-BZn0cTAu.js";
|
8
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
4
9
|
import "./assets/moment-h96o7c8I.js";
|
5
10
|
import "./assets/intro.js-Cg1adLK7.js";
|
6
|
-
const
|
11
|
+
const te = { class: "login-container" }, se = { class: "title-container" }, oe = { class: "title" }, ae = ["innerHTML"], ce = /* @__PURE__ */ Q({
|
7
12
|
__name: "Register",
|
8
|
-
setup(
|
9
|
-
let
|
10
|
-
|
11
|
-
},
|
12
|
-
|
13
|
-
},
|
14
|
-
|
13
|
+
setup(re) {
|
14
|
+
let R = i(!1), n = i({ email: "", password: "", confirmPassword: "", position: 0 }), u = i("password"), a = i(!1), k = i(!1), g = i({ jigsaw: null, content: null }), h = i(), C = i(), _ = i(), x = i(), q = Y(), M = (s, e, t) => {
|
15
|
+
v.string.isEmail(e) ? t() : t(new Error("邮箱格式不正确"));
|
16
|
+
}, D = (s, e, t) => {
|
17
|
+
v.string.isPassword(e) ? t() : t(new Error("密码格式不正确"));
|
18
|
+
}, I = (s, e, t, d) => {
|
19
|
+
v.string.isPassword(e) ? e != d.password ? t(new Error("两次密码不一致")) : t() : t(new Error("密码格式不正确"));
|
15
20
|
}, P = (s) => {
|
16
21
|
let { shiftKey: e, key: t } = s;
|
17
22
|
t && t.length == 1 && (e && t >= "a" && t <= "z" || !e && t >= "A" && t <= "Z" ? a.value = !0 : a.value = !1), t == "CapsLock" && a.value == !0 && (a.value = !1);
|
18
23
|
}, c = () => {
|
19
|
-
u.value == "password" ? u.value = "" : u.value = "password",
|
20
|
-
|
24
|
+
u.value == "password" ? u.value = "" : u.value = "password", B(() => {
|
25
|
+
_.value.focus();
|
21
26
|
});
|
22
27
|
}, L = () => {
|
23
|
-
|
28
|
+
h.value.validate((s) => {
|
24
29
|
if (!s)
|
25
30
|
return !1;
|
26
|
-
|
31
|
+
R.value = !0;
|
27
32
|
});
|
28
|
-
},
|
29
|
-
|
33
|
+
}, E = () => {
|
34
|
+
j();
|
30
35
|
}, N = (s) => {
|
31
|
-
|
32
|
-
|
36
|
+
k.value = !0, n.value.position = s, b.http.post("/user/register", n.value).then(({ data: e }) => {
|
37
|
+
le.toBackUrl();
|
33
38
|
}).catch((e) => {
|
34
|
-
throw
|
39
|
+
throw E(), x.value.error(), e;
|
35
40
|
}).finally(() => {
|
36
|
-
|
37
|
-
|
41
|
+
B(() => {
|
42
|
+
k.value = !1;
|
38
43
|
});
|
39
44
|
});
|
40
|
-
},
|
41
|
-
|
42
|
-
|
45
|
+
}, O = (s) => Object.keys(s).reduce((e, t) => (e[t] = s[t], e), {}), j = () => {
|
46
|
+
b.http.get("/user/captcha").then(({ data: s, message: e }) => {
|
47
|
+
g.value.jigsaw = v.image.base64(s.jigsaw), g.value.content = v.image.base64(s.content);
|
43
48
|
});
|
44
49
|
};
|
45
|
-
return
|
46
|
-
|
47
|
-
}),
|
50
|
+
return Z(() => {
|
51
|
+
b.i18n.setI18nTitle("common.register"), j(), n.value.email == "" ? C.value.focus() : n.value.password == "" && _.value.focus();
|
52
|
+
}), F(q, function(s) {
|
48
53
|
const e = s.query;
|
49
|
-
e &&
|
54
|
+
e && O(e);
|
50
55
|
}), (s, e) => {
|
51
|
-
const t = m("el-input"), d = m("el-form-item"),
|
52
|
-
return w(),
|
53
|
-
|
56
|
+
const t = m("el-input"), d = m("el-form-item"), $ = m("el-tooltip"), z = m("el-button"), H = m("el-form");
|
57
|
+
return w(), G("div", te, [
|
58
|
+
p(H, {
|
54
59
|
ref_key: "formRef",
|
55
|
-
ref:
|
60
|
+
ref: h,
|
56
61
|
class: "login-form",
|
57
62
|
autocomplete: "on",
|
58
63
|
"label-position": "left",
|
59
64
|
model: l(n)
|
60
65
|
}, {
|
61
|
-
default:
|
62
|
-
r("div",
|
63
|
-
r("h3",
|
66
|
+
default: f(() => [
|
67
|
+
r("div", se, [
|
68
|
+
r("h3", oe, J(l(K).sys("title")), 1)
|
64
69
|
]),
|
65
|
-
|
70
|
+
p(d, {
|
66
71
|
prop: "email",
|
67
|
-
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(
|
72
|
+
rules: [{ required: !0, trigger: "blur", message: "邮箱不能为空" }, { trigger: "blur", validator: l(M) }]
|
68
73
|
}, {
|
69
|
-
default:
|
74
|
+
default: f(() => [
|
70
75
|
e[8] || (e[8] = r("span", { class: "svg-container" }, [
|
71
76
|
r("i", { class: "fa fa-user" })
|
72
77
|
], -1)),
|
73
|
-
|
78
|
+
p(t, {
|
74
79
|
ref_key: "emailRef",
|
75
|
-
ref:
|
80
|
+
ref: C,
|
76
81
|
modelValue: l(n).email,
|
77
82
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => l(n).email = o),
|
78
83
|
placeholder: "邮箱",
|
@@ -84,19 +89,19 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
84
89
|
]),
|
85
90
|
_: 1
|
86
91
|
}, 8, ["rules"]),
|
87
|
-
|
92
|
+
p($, {
|
88
93
|
modelValue: l(a),
|
89
94
|
"onUpdate:modelValue": e[4] || (e[4] = (o) => V(a) ? a.value = o : a = o),
|
90
95
|
content: "Caps lock is On",
|
91
96
|
placement: "right",
|
92
97
|
manual: ""
|
93
98
|
}, {
|
94
|
-
default:
|
95
|
-
|
99
|
+
default: f(() => [
|
100
|
+
p(d, {
|
96
101
|
prop: "password",
|
97
|
-
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(
|
102
|
+
rules: [{ required: !0, trigger: "blur", message: "密码不能为空" }, { trigger: "blur", validator: l(D) }]
|
98
103
|
}, {
|
99
|
-
default:
|
104
|
+
default: f(() => [
|
100
105
|
e[9] || (e[9] = r("span", { class: "svg-container" }, [
|
101
106
|
r("i", { class: "fa fa-key" })
|
102
107
|
], -1)),
|
@@ -108,7 +113,7 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
108
113
|
name: "password",
|
109
114
|
tabindex: "2",
|
110
115
|
autocomplete: "on",
|
111
|
-
onKeyup:
|
116
|
+
onKeyup: T(l(P), ["native"]),
|
112
117
|
onBlur: e[1] || (e[1] = (o) => V(a) ? a.value = !1 : a = !1),
|
113
118
|
modelValue: l(n).password,
|
114
119
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => l(n).password = o)
|
@@ -119,7 +124,7 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
119
124
|
(...o) => l(c) && l(c)(...o))
|
120
125
|
}, [
|
121
126
|
r("i", {
|
122
|
-
class:
|
127
|
+
class: U(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
123
128
|
}, null, 2)
|
124
129
|
])
|
125
130
|
]),
|
@@ -128,24 +133,24 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
128
133
|
]),
|
129
134
|
_: 1
|
130
135
|
}, 8, ["modelValue"]),
|
131
|
-
|
136
|
+
p(d, {
|
132
137
|
prop: "confirmPassword",
|
133
|
-
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (o,
|
138
|
+
rules: [{ required: !0, trigger: "blur", message: "确认密码不能为空" }, { trigger: "blur", validator: (o, S, A) => l(I)(o, S, A, l(n)) }]
|
134
139
|
}, {
|
135
|
-
default:
|
140
|
+
default: f(() => [
|
136
141
|
e[10] || (e[10] = r("span", { class: "svg-container" }, [
|
137
142
|
r("i", { class: "fa fa-key" })
|
138
143
|
], -1)),
|
139
144
|
(w(), y(t, {
|
140
145
|
ref_key: "passwordRef",
|
141
|
-
ref:
|
146
|
+
ref: _,
|
142
147
|
key: l(u),
|
143
148
|
type: l(u),
|
144
149
|
placeholder: "确认密码",
|
145
150
|
name: "password",
|
146
151
|
tabindex: "2",
|
147
152
|
autocomplete: "on",
|
148
|
-
onKeyup:
|
153
|
+
onKeyup: T(l(P), ["native"]),
|
149
154
|
onBlur: e[5] || (e[5] = (o) => V(a) ? a.value = !1 : a = !1),
|
150
155
|
modelValue: l(n).confirmPassword,
|
151
156
|
"onUpdate:modelValue": e[6] || (e[6] = (o) => l(n).confirmPassword = o)
|
@@ -156,28 +161,28 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
156
161
|
(...o) => l(c) && l(c)(...o))
|
157
162
|
}, [
|
158
163
|
r("i", {
|
159
|
-
class:
|
164
|
+
class: U(l(u) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
160
165
|
}, null, 2)
|
161
166
|
])
|
162
167
|
]),
|
163
168
|
_: 1
|
164
169
|
}, 8, ["rules"]),
|
165
|
-
l(
|
170
|
+
l(R) ? (w(), y(l(ee), {
|
166
171
|
key: 1,
|
167
172
|
ref_key: "captchaRef",
|
168
|
-
ref:
|
169
|
-
content: l(
|
170
|
-
jigsaw: l(
|
171
|
-
onRefresh: l(
|
173
|
+
ref: x,
|
174
|
+
content: l(g).content,
|
175
|
+
jigsaw: l(g).jigsaw,
|
176
|
+
onRefresh: l(E),
|
172
177
|
onValidate: l(N)
|
173
|
-
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (w(), y(
|
178
|
+
}, null, 8, ["content", "jigsaw", "onRefresh", "onValidate"])) : (w(), y(z, {
|
174
179
|
key: 0,
|
175
180
|
type: "primary",
|
176
|
-
loading: l(
|
177
|
-
onClick:
|
181
|
+
loading: l(k),
|
182
|
+
onClick: W(l(L), ["prevent"])
|
178
183
|
}, {
|
179
|
-
default:
|
180
|
-
|
184
|
+
default: f(() => e[11] || (e[11] = [
|
185
|
+
X("注册 ")
|
181
186
|
])),
|
182
187
|
_: 1
|
183
188
|
}, 8, ["loading", "onClick"]))
|
@@ -186,12 +191,12 @@ const oe = { class: "login-container" }, ae = { class: "title-container" }, re =
|
|
186
191
|
}, 8, ["model"]),
|
187
192
|
r("div", {
|
188
193
|
class: "powered-by",
|
189
|
-
innerHTML: l(
|
190
|
-
}, null, 8,
|
194
|
+
innerHTML: l(K).t("sys.powered_by")
|
195
|
+
}, null, 8, ae)
|
191
196
|
]);
|
192
197
|
};
|
193
198
|
}
|
194
199
|
});
|
195
200
|
export {
|
196
|
-
|
201
|
+
ce as default
|
197
202
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as d, onMounted as _, computed as c, watch as f, openBlock as w, createBlock as R, unref as r, normalizeStyle as b, isRef as k } from "vue";
|
2
|
-
import { s as B } from "./main-DxH9UW19.js";
|
3
2
|
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
3
|
import "./assets/underscore-B0BCaBxV.js";
|
5
4
|
import "./assets/file-saver-CwlpTZSc.js";
|
6
5
|
import "./assets/clone-BZn0cTAu.js";
|
7
6
|
import "./assets/underscore.string-DVXD2SZo.js";
|
8
7
|
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import { f as B } from "./main-DSgfGXqN.js";
|
9
9
|
const D = /* @__PURE__ */ g({
|
10
10
|
__name: "RichText",
|
11
11
|
props: /* @__PURE__ */ x({
|
@@ -20,21 +20,21 @@ const D = /* @__PURE__ */ g({
|
|
20
20
|
}),
|
21
21
|
emits: ["update:modelValue"],
|
22
22
|
setup(n) {
|
23
|
-
let v = n, { field: e, table: h, set: C, row:
|
24
|
-
a.value != null && (
|
23
|
+
let v = n, { field: e, table: h, set: C, row: i } = S(v), u = M(n, "modelValue"), t = d({ readonly: !1, scrollTop: 0 }), s = d(), y = (l) => {
|
24
|
+
a.value != null && (i.value[a.value.name] = l.scrollTop);
|
25
25
|
}, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
|
26
|
-
t.value.readonly = e.value.control.readonly, t.value.scrollTop = m.value,
|
26
|
+
t.value.readonly = e.value.control.readonly, t.value.scrollTop = m.value, s.value = T();
|
27
27
|
};
|
28
28
|
_(() => {
|
29
29
|
V();
|
30
30
|
});
|
31
|
-
let m = c(() => a.value ?
|
31
|
+
let m = c(() => a.value ? i.value[a.value.name] : null), a = c(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
|
32
32
|
return f(() => m.value, (l, o) => {
|
33
33
|
t.value.scrollTop = l;
|
34
34
|
}), f(() => e.value.control.readonly, (l, o) => {
|
35
35
|
t.value.readonly = l;
|
36
36
|
}), (l, o) => (w(), R(r(B), {
|
37
|
-
style: b(r(
|
37
|
+
style: b(r(s)),
|
38
38
|
options: r(t),
|
39
39
|
onScroll: r(y),
|
40
40
|
modelValue: r(u),
|
@@ -1,7 +1,12 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { U as ee,
|
1
|
+
import { defineComponent as H, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as D, watch as Q, resolveComponent as m, openBlock as n, createBlock as i, withCtx as r, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as w, createTextVNode as M, toDisplayString as Y, createCommentVNode as Z } from "vue";
|
2
|
+
import { U as ee, m as N, I as te, k as ae } 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
|
-
const
|
9
|
+
const de = /* @__PURE__ */ H({
|
5
10
|
__name: "SearchForm",
|
6
11
|
props: {
|
7
12
|
schema: {},
|
@@ -10,61 +15,61 @@ const ue = /* @__PURE__ */ I({
|
|
10
15
|
searchData: {}
|
11
16
|
},
|
12
17
|
emits: ["change", "submit", "mounted"],
|
13
|
-
setup(T, { expose: W, emit:
|
14
|
-
let C =
|
18
|
+
setup(T, { expose: W, emit: E }) {
|
19
|
+
let C = E, I = T, { schema: F, table: u, layout: k, searchData: b } = J(I), V = p(), y = p(), L = p(), d = p(), $ = (e) => {
|
15
20
|
C("change", e);
|
16
21
|
}, R = (e = null) => {
|
17
22
|
C("submit");
|
18
|
-
},
|
23
|
+
}, j = (e, t) => {
|
19
24
|
let l = e == "*" ? null : e;
|
20
25
|
b.value[u.value.name][t.name] = l, R();
|
21
26
|
}, S = () => {
|
22
|
-
|
23
|
-
},
|
27
|
+
V.value && (y.value = V.value.$el.clientWidth);
|
28
|
+
}, z = (e) => {
|
24
29
|
S();
|
25
|
-
},
|
26
|
-
let e =
|
30
|
+
}, U = () => {
|
31
|
+
let e = k.value.tabs;
|
27
32
|
if (e)
|
28
33
|
for (let t = 0; t < e.length; t++) {
|
29
34
|
let l = e[t];
|
30
35
|
d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
|
31
36
|
}
|
32
37
|
};
|
33
|
-
d.value = ee.object.clone(b.value),
|
38
|
+
d.value = ee.object.clone(b.value), U(), K(async () => {
|
34
39
|
S(), await P(), C("mounted");
|
35
40
|
});
|
36
|
-
let
|
41
|
+
let O = D(() => {
|
37
42
|
if (!y.value)
|
38
43
|
return [];
|
39
|
-
let e = Math.ceil(y.value / 200), t = N.expandSearch(F.value), l =
|
40
|
-
return N.getLines(c, e, (
|
41
|
-
}),
|
42
|
-
let e = [], t =
|
44
|
+
let e = Math.ceil(y.value / 200), t = N.expandSearch(F.value), l = k.value.tabs ?? [], c = t.filter((h) => l.indexOf(h.name) == -1);
|
45
|
+
return N.getLines(c, e, (h) => h, () => 1);
|
46
|
+
}), B = D(() => {
|
47
|
+
let e = [], t = k.value.tabs;
|
43
48
|
return t && t.forEach((l) => {
|
44
49
|
let c = u.value.fields.find((f) => f.name == l);
|
45
50
|
e.push(c);
|
46
51
|
}), e;
|
47
52
|
});
|
48
53
|
return Q(() => b.value, (e, t) => {
|
49
|
-
|
50
|
-
}), W({ onResize:
|
51
|
-
const l = m("el-radio-button"), c = m("el-radio-group"), f = m("el-form-item"),
|
52
|
-
return n(), i(
|
54
|
+
U();
|
55
|
+
}), W({ onResize: z }), (e, t) => {
|
56
|
+
const l = m("el-radio-button"), c = m("el-radio-group"), f = m("el-form-item"), h = m("el-col"), q = m("el-row"), A = m("el-form"), G = m("el-scrollbar");
|
57
|
+
return n(), i(G, {
|
53
58
|
"max-height": "200px",
|
54
59
|
class: "search-form"
|
55
60
|
}, {
|
56
61
|
default: r(() => [
|
57
|
-
a(u).search.length > 0 ? (n(), i(
|
62
|
+
a(u).search.length > 0 ? (n(), i(A, {
|
58
63
|
key: 0,
|
59
64
|
ref_key: "searchFormRef",
|
60
|
-
ref:
|
65
|
+
ref: V,
|
61
66
|
"label-position": "left",
|
62
67
|
inline: "",
|
63
68
|
onSubmit: t[0] || (t[0] = X(() => {
|
64
69
|
}, ["prevent"]))
|
65
70
|
}, {
|
66
71
|
default: r(() => [
|
67
|
-
(n(!0), v(g, null, x(a(
|
72
|
+
(n(!0), v(g, null, x(a(B), (s, _) => (n(), i(f, {
|
68
73
|
class: "search-tab",
|
69
74
|
label: s.label,
|
70
75
|
"label-width": 50
|
@@ -74,7 +79,7 @@ const ue = /* @__PURE__ */ I({
|
|
74
79
|
ref_for: !0,
|
75
80
|
ref_key: "tabRefs",
|
76
81
|
ref: L,
|
77
|
-
onChange: (o) => a(
|
82
|
+
onChange: (o) => a(j)(o, s),
|
78
83
|
modelValue: a(d)[a(u).name][s.name],
|
79
84
|
"onUpdate:modelValue": (o) => a(d)[a(u).name][s.name] = o
|
80
85
|
}, {
|
@@ -99,23 +104,23 @@ const ue = /* @__PURE__ */ I({
|
|
99
104
|
]),
|
100
105
|
_: 2
|
101
106
|
}, 1032, ["label"]))), 256)),
|
102
|
-
(n(!0), v(g, null, x(a(
|
107
|
+
(n(!0), v(g, null, x(a(O), (s) => (n(), i(q, {
|
103
108
|
class: "search-row",
|
104
|
-
label: a(
|
109
|
+
label: a(B).length ? "其它" : "",
|
105
110
|
"label-width": 50,
|
106
111
|
gutter: 5
|
107
112
|
}, {
|
108
113
|
default: r(() => [
|
109
|
-
(n(!0), v(g, null, x(s, ({ data:
|
114
|
+
(n(!0), v(g, null, x(s, ({ data: _, span: o }, le) => (n(), i(h, { span: o }, {
|
110
115
|
default: r(() => [
|
111
116
|
w(f, {
|
112
|
-
label: a(te)(
|
117
|
+
label: a(te).field(_.table.name, _.name)
|
113
118
|
}, {
|
114
119
|
default: r(() => [
|
115
120
|
w(a(ae), {
|
116
121
|
schema: a(F),
|
117
|
-
table:
|
118
|
-
field:
|
122
|
+
table: _.table,
|
123
|
+
field: _,
|
119
124
|
"search-data": a(b),
|
120
125
|
onChange: a($),
|
121
126
|
onSubmit: a(R)
|
@@ -139,5 +144,5 @@ const ue = /* @__PURE__ */ I({
|
|
139
144
|
}
|
140
145
|
});
|
141
146
|
export {
|
142
|
-
|
147
|
+
de as _
|
143
148
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as C, toRefs as E, computed as k, openBlock as r, createElementBlock as B, createBlock as D, resolveDynamicComponent as I, unref as e } from "vue";
|
2
|
-
import {
|
2
|
+
import { c as R } from "./main-DSgfGXqN.js";
|
3
3
|
const A = { class: "search-footer" }, q = /* @__PURE__ */ C({
|
4
4
|
__name: "SearchHeader",
|
5
5
|
props: {
|
@@ -0,0 +1,117 @@
|
|
1
|
+
import { defineComponent as I, toRefs as M, ref as f, computed as T, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as A, withModifiers as L, isRef as O, withCtx as V, createElementBlock as k, Fragment as $, renderList as q, createElementVNode as z, toDisplayString as w, createCommentVNode as G, nextTick as H } from "vue";
|
2
|
+
import { I as J, U as P, h as Q, D as W } 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 X = { class: "option-text" }, Y = {
|
10
|
+
key: 0,
|
11
|
+
class: "option-suffix"
|
12
|
+
}, ue = /* @__PURE__ */ I({
|
13
|
+
__name: "Select",
|
14
|
+
props: {
|
15
|
+
schema: {},
|
16
|
+
table: {},
|
17
|
+
field: {},
|
18
|
+
set: {},
|
19
|
+
row: {},
|
20
|
+
modelValue: { type: [String, Number, Boolean, Array] }
|
21
|
+
},
|
22
|
+
emits: ["submit", "change", "update:modelValue"],
|
23
|
+
setup(C, { emit: E }) {
|
24
|
+
let s = E, B = C, { schema: S, field: r, table: m, set: h, row: R, modelValue: p } = M(B), x = f(), b = f(), v = f(!1), d = f(r.value.control.data.data), j = (t) => {
|
25
|
+
t == "" && (t = null);
|
26
|
+
let e;
|
27
|
+
if (P.object.isString(t) && r.value.control.multiple ? e = t.join(",") : e = t, u.value = e, r.value.control.text) {
|
28
|
+
let a = m.value.fields.find((l) => l.name == r.value.control.text), o;
|
29
|
+
e && (o = d.value.find((i) => i.value == e).text);
|
30
|
+
debugger;
|
31
|
+
R.value[a.name] = o;
|
32
|
+
}
|
33
|
+
g(m.value, r.value), s("change", t);
|
34
|
+
}, D = () => {
|
35
|
+
s("submit");
|
36
|
+
}, K = () => {
|
37
|
+
}, N = () => {
|
38
|
+
v.value = !0;
|
39
|
+
let t = { text: b.value, conditions: [] };
|
40
|
+
r.value.control.data.conditions.forEach((e) => {
|
41
|
+
let a = h.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
|
42
|
+
t.conditions.push({ name: e.name, value: o });
|
43
|
+
}), W.http.post(r.value.control.data.route, t).then(({ data: e }) => {
|
44
|
+
d.value = e;
|
45
|
+
}).finally(() => {
|
46
|
+
v.value = !1, H(() => {
|
47
|
+
let e = d.value.find((a) => a.value == u.value);
|
48
|
+
x.value.scrollToOption(e);
|
49
|
+
});
|
50
|
+
});
|
51
|
+
}, U = (t) => {
|
52
|
+
b.value = t, N();
|
53
|
+
}, F = (t, e) => {
|
54
|
+
let a = [];
|
55
|
+
return S.value.forEach((o) => {
|
56
|
+
o.fields.forEach((l) => {
|
57
|
+
l.dictionary && l.dictionary.conditions.forEach((i) => {
|
58
|
+
i.table == t.name && i.field == e.name && a.push({ table: o, field: l });
|
59
|
+
});
|
60
|
+
});
|
61
|
+
}), a;
|
62
|
+
}, g = (t, e) => {
|
63
|
+
F(t, e).forEach((o) => {
|
64
|
+
Q.setRowsValue(null, h.value, o.table, o.field), g(o.table, o.field);
|
65
|
+
});
|
66
|
+
}, u = T({
|
67
|
+
get() {
|
68
|
+
return r.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
|
69
|
+
},
|
70
|
+
set(t) {
|
71
|
+
s("update:modelValue", t), s("change", t);
|
72
|
+
}
|
73
|
+
});
|
74
|
+
return (t, e) => {
|
75
|
+
const a = _("el-option"), o = _("el-select");
|
76
|
+
return c(), y(o, {
|
77
|
+
ref_key: "selectRef",
|
78
|
+
ref: x,
|
79
|
+
filterable: "",
|
80
|
+
remote: "",
|
81
|
+
"reserve-keyword": "",
|
82
|
+
"default-first-option": "",
|
83
|
+
"remote-show-suffix": "",
|
84
|
+
"loading-text": "加载中",
|
85
|
+
clearable: "",
|
86
|
+
placeholder: n(J).field_choose_placeholder(n(m).name, n(r).name),
|
87
|
+
multiple: n(r).control.multiple,
|
88
|
+
"remote-method": n(U),
|
89
|
+
loading: n(v),
|
90
|
+
disabled: n(r).control.readonly,
|
91
|
+
onKeyup: A(L(n(D), ["alt"]), ["enter", "native"]),
|
92
|
+
onBlur: n(K),
|
93
|
+
onChange: n(j),
|
94
|
+
modelValue: n(u),
|
95
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => O(u) ? u.value = l : u = l)
|
96
|
+
}, {
|
97
|
+
default: V(() => [
|
98
|
+
(c(!0), k($, null, q(n(d), (l, i) => (c(), y(a, {
|
99
|
+
label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
|
100
|
+
value: l.value,
|
101
|
+
key: l.value
|
102
|
+
}, {
|
103
|
+
default: V(() => [
|
104
|
+
z("span", X, w(l.text), 1),
|
105
|
+
l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) : G("", !0)
|
106
|
+
]),
|
107
|
+
_: 2
|
108
|
+
}, 1032, ["label", "value"]))), 128))
|
109
|
+
]),
|
110
|
+
_: 1
|
111
|
+
}, 8, ["placeholder", "multiple", "remote-method", "loading", "disabled", "onKeyup", "onBlur", "onChange", "modelValue"]);
|
112
|
+
};
|
113
|
+
}
|
114
|
+
});
|
115
|
+
export {
|
116
|
+
ue as default
|
117
|
+
};
|
@@ -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-CzVkbTgC.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
|
14
14
|
return (_, t) => (b(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|