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,14 +1,19 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
1
|
+
import { defineComponent as oe, toRefs as ae, ref as c, onMounted as ne, computed as re, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as w, normalizeStyle as se, withCtx as C, createElementVNode as i, Fragment as ie, renderList as ue, withModifiers as H, toDisplayString as d, resolveDynamicComponent as ce, createTextVNode as U } from "vue";
|
2
|
+
import { c as de, U as h, I as pe, a as me, D as E, R as ve } 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 ge } from "./SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js";
|
10
|
+
const fe = { class: "article-layout" }, he = ["href", "onClick"], _e = ["src"], ye = { class: "article-title" }, be = {
|
6
11
|
key: 0,
|
7
12
|
class: "article-content"
|
8
|
-
},
|
13
|
+
}, ke = { class: "article-time" }, we = {
|
9
14
|
key: 1,
|
10
15
|
class: "article-view-count"
|
11
|
-
},
|
16
|
+
}, Ce = ["href"], Re = { class: "el-drawer__title" }, xe = ["href"], Ke = /* @__PURE__ */ oe({
|
12
17
|
__name: "Article",
|
13
18
|
props: {
|
14
19
|
searchData: {},
|
@@ -22,70 +27,70 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
22
27
|
win: {}
|
23
28
|
},
|
24
29
|
emits: ["page-change", "navigate", "search", "succeed", "close"],
|
25
|
-
setup(
|
26
|
-
let p =
|
30
|
+
setup(K, { expose: M, emit: N }) {
|
31
|
+
let p = N, F = K, { module: I, schema: P, table: n, layout: r, next: m, set: R, searchData: j } = ae(F), x = c(), y = c(), $ = c(), B = c(), z = c();
|
27
32
|
c({ layout: "prev, pager, next", count: 5 });
|
28
33
|
let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), S = (t) => {
|
29
|
-
|
34
|
+
g("insert", null, t);
|
30
35
|
}, A = (t, l) => {
|
31
|
-
|
36
|
+
g("detail", t, l);
|
32
37
|
}, L = (t, l) => {
|
33
|
-
|
38
|
+
g("update", t, l);
|
34
39
|
}, q = (t, l) => {
|
35
|
-
|
40
|
+
g("copy", t, l);
|
36
41
|
}, G = (t, l) => {
|
37
|
-
|
38
|
-
},
|
42
|
+
g("delete", t, l);
|
43
|
+
}, J = (t) => {
|
39
44
|
let l = t.map((s) => s[n.value.key.name]);
|
40
|
-
|
41
|
-
|
45
|
+
E.http.post(m.value.delete.route, l).then((s) => {
|
46
|
+
E.messenger.success(s.message), V();
|
42
47
|
});
|
43
|
-
},
|
44
|
-
let
|
45
|
-
s.ctrlKey ? (o.value.row = null, p("navigate",
|
48
|
+
}, g = (t, l, s) => {
|
49
|
+
let v = T(t, l);
|
50
|
+
s.ctrlKey ? (o.value.row = null, p("navigate", v)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = v, o.value.row = l, o.value.visible = !0);
|
46
51
|
}, T = (t, l = null) => {
|
47
52
|
let s = `${m.value[t].route}`;
|
48
53
|
if (l != null) {
|
49
|
-
let
|
50
|
-
s += `?id=${
|
54
|
+
let v = l[n.value.key.name];
|
55
|
+
s += `?id=${v}`;
|
51
56
|
}
|
52
57
|
return s;
|
53
|
-
},
|
58
|
+
}, O = () => {
|
54
59
|
o.value.visible = !1, p("close");
|
55
60
|
}, V = (t = null) => {
|
56
61
|
o.value.visible = !1, p("succeed", t);
|
57
|
-
}, O = (t) => {
|
58
|
-
p("page-change", t);
|
59
62
|
}, Q = (t) => {
|
63
|
+
p("page-change", t);
|
64
|
+
}, W = (t) => {
|
60
65
|
p("navigate", t);
|
61
|
-
}, W = () => {
|
62
|
-
p("search");
|
63
66
|
}, X = () => {
|
64
|
-
|
65
|
-
}, Y = (
|
66
|
-
|
67
|
-
}, Z = (t) => {
|
68
|
-
|
69
|
-
},
|
67
|
+
p("search");
|
68
|
+
}, Y = () => {
|
69
|
+
D();
|
70
|
+
}, Z = (t, l) => {
|
71
|
+
ve.module.triggerKeyboard(z.value, t, l);
|
72
|
+
}, ee = (t) => {
|
73
|
+
D();
|
74
|
+
}, D = () => {
|
70
75
|
if (y.value == null)
|
71
76
|
return;
|
72
77
|
let t = h.dom.getHeight(x.value), l = h.dom.getHeight([y.value.$el, $.value]);
|
73
78
|
B.value = t - l;
|
74
79
|
};
|
75
|
-
|
80
|
+
ne(() => {
|
76
81
|
});
|
77
|
-
let
|
82
|
+
let te = re(() => {
|
78
83
|
let t = `/${n.value.name}/article-footer`;
|
79
|
-
return
|
84
|
+
return de.getComponent(t, "partial", "article-footer");
|
80
85
|
});
|
81
|
-
return
|
82
|
-
const s = b("el-scrollbar"),
|
86
|
+
return M({ onKeyboard: Z, onResize: ee }), (t, l) => {
|
87
|
+
const s = b("el-scrollbar"), v = b("el-pagination"), le = b("el-drawer");
|
83
88
|
return u(), f("div", {
|
84
89
|
ref_key: "pagingRef",
|
85
90
|
ref: x,
|
86
91
|
class: "paging-article"
|
87
92
|
}, [
|
88
|
-
e(n).search.length > 0 ? (u(), k(
|
93
|
+
e(n).search.length > 0 ? (u(), k(ge, {
|
89
94
|
key: 0,
|
90
95
|
ref_key: "searchRef",
|
91
96
|
ref: y,
|
@@ -93,30 +98,30 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
93
98
|
table: e(n),
|
94
99
|
layout: e(r),
|
95
100
|
"search-data": e(j),
|
96
|
-
onSubmit: e(
|
97
|
-
onMounted: e(
|
101
|
+
onSubmit: e(X),
|
102
|
+
onMounted: e(Y)
|
98
103
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
|
99
104
|
w(s, {
|
100
105
|
class: "article-scroller",
|
101
|
-
style:
|
106
|
+
style: se({ height: e(B) + "px" })
|
102
107
|
}, {
|
103
108
|
default: C(() => [
|
104
|
-
i("div",
|
105
|
-
(u(!0), f(
|
109
|
+
i("div", fe, [
|
110
|
+
(u(!0), f(ie, null, ue(e(R)[e(n).name], (a) => (u(), f("a", {
|
106
111
|
class: "article",
|
107
112
|
href: `${e(m).detail.route}?id=${a[e(n).key.name]}`,
|
108
|
-
onClick:
|
113
|
+
onClick: H(($e) => e(W)(`${e(m).detail.route}?id=${a[e(n).key.name]}`), ["prevent"]),
|
109
114
|
key: a[e(n).key.name]
|
110
115
|
}, [
|
111
116
|
i("img", {
|
112
117
|
class: "article-image",
|
113
118
|
src: a[e(r).image]
|
114
|
-
}, null, 8,
|
115
|
-
i("div",
|
116
|
-
e(h).html.getText(a[e(r).content]) ? (u(), f("div",
|
117
|
-
i("div",
|
118
|
-
a[e(r).viewCount] ? (u(), f("div",
|
119
|
-
(u(), k(
|
119
|
+
}, null, 8, _e),
|
120
|
+
i("div", ye, d(a[e(r).title]), 1),
|
121
|
+
e(h).html.getText(a[e(r).content]) ? (u(), f("div", be, d(e(h).html.getText(a[e(r).content])), 1)) : _("", !0),
|
122
|
+
i("div", ke, d(a[e(r).time]), 1),
|
123
|
+
a[e(r).viewCount] ? (u(), f("div", we, d(a[e(r).viewCount]), 1)) : _("", !0),
|
124
|
+
(u(), k(ce(e(te)), {
|
120
125
|
table: e(n),
|
121
126
|
next: e(m),
|
122
127
|
set: e(R),
|
@@ -125,21 +130,21 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
125
130
|
onEdit: e(L),
|
126
131
|
onCopy: e(q),
|
127
132
|
onBeforeRemove: e(G),
|
128
|
-
onRemove: e(
|
133
|
+
onRemove: e(J)
|
129
134
|
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
|
130
|
-
], 8,
|
135
|
+
], 8, he))), 128)),
|
131
136
|
i("a", {
|
132
137
|
href: e(T)("insert"),
|
133
138
|
class: "article-add",
|
134
|
-
onClick: l[0] || (l[0] =
|
139
|
+
onClick: l[0] || (l[0] = H(
|
135
140
|
//@ts-ignore
|
136
141
|
(...a) => e(S) && e(S)(...a),
|
137
142
|
["prevent"]
|
138
143
|
))
|
139
144
|
}, [
|
140
145
|
l[2] || (l[2] = i("i", { class: "fa fa-plus" }, null, -1)),
|
141
|
-
|
142
|
-
], 8,
|
146
|
+
U(" 添加新" + d(e(n).title), 1)
|
147
|
+
], 8, Ce)
|
143
148
|
])
|
144
149
|
]),
|
145
150
|
_: 1
|
@@ -149,39 +154,39 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
149
154
|
ref: $,
|
150
155
|
class: "article-bottom"
|
151
156
|
}, [
|
152
|
-
w(
|
157
|
+
w(v, {
|
153
158
|
background: "",
|
154
159
|
layout: "total, prev, pager, next, jumper",
|
155
160
|
"current-page": e(r).page,
|
156
161
|
"page-size": e(r).size,
|
157
162
|
total: e(r).count,
|
158
|
-
onCurrentChange: e(
|
163
|
+
onCurrentChange: e(Q)
|
159
164
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
160
165
|
], 512),
|
161
|
-
e(o).page ? (u(), k(
|
166
|
+
e(o).page ? (u(), k(le, {
|
162
167
|
key: 1,
|
163
168
|
"destroy-on-close": "",
|
164
169
|
"append-to-body": e(o).appendToBody,
|
165
|
-
size: `${e(
|
170
|
+
size: `${e(I).width ?? "60%"}`,
|
166
171
|
modelValue: e(o).visible,
|
167
172
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
|
168
173
|
}, {
|
169
174
|
header: C(() => [
|
170
|
-
i("div",
|
171
|
-
|
175
|
+
i("div", Re, [
|
176
|
+
U(d(e(m)[e(o).page].title) + " ", 1),
|
172
177
|
i("a", {
|
173
178
|
class: "drawer-copy",
|
174
179
|
href: e(h).url.getToUrl(e(o).url)
|
175
|
-
}, d(e(
|
180
|
+
}, d(e(pe).t("common.link")), 9, xe)
|
176
181
|
])
|
177
182
|
]),
|
178
183
|
default: C(() => [
|
179
|
-
w(e(
|
184
|
+
w(e(me), {
|
180
185
|
ref_key: "pageRef",
|
181
186
|
ref: z,
|
182
187
|
url: e(o).url,
|
183
188
|
onSucceed: e(V),
|
184
|
-
onClose: e(
|
189
|
+
onClose: e(O)
|
185
190
|
}, null, 8, ["url", "onSucceed", "onClose"])
|
186
191
|
]),
|
187
192
|
_: 1
|
@@ -191,5 +196,5 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
|
|
191
196
|
}
|
192
197
|
});
|
193
198
|
export {
|
194
|
-
|
199
|
+
Ke as default
|
195
200
|
};
|
@@ -1,7 +1,12 @@
|
|
1
|
-
import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as
|
2
|
-
import
|
1
|
+
import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as p, unref as e, withModifiers as c, createCommentVNode as s, createBlock as E, withCtx as I, createElementVNode as N } from "vue";
|
2
|
+
import "./assets/liquidjs-BfOWWjtJ.js";
|
3
|
+
import "./assets/underscore-B0BCaBxV.js";
|
4
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
5
|
+
import "./assets/clone-BZn0cTAu.js";
|
6
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
3
7
|
import "./assets/moment-h96o7c8I.js";
|
4
|
-
|
8
|
+
import { I as a } from "./main-DSgfGXqN.js";
|
9
|
+
const R = { class: "article-footer" }, H = /* @__PURE__ */ w({
|
5
10
|
__name: "ArticleFooter",
|
6
11
|
props: {
|
7
12
|
table: {},
|
@@ -11,41 +16,41 @@ const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
|
|
11
16
|
},
|
12
17
|
emits: ["preview", "edit", "copy", "before-remove", "remove"],
|
13
18
|
setup(b, { emit: k }) {
|
14
|
-
let i = k, C = b, { table:
|
15
|
-
i("preview",
|
19
|
+
let i = k, C = b, { table: V, next: l, set: A, row: m } = _(C), f = (o) => {
|
20
|
+
i("preview", m.value, o);
|
16
21
|
}, u = (o) => {
|
17
|
-
i("edit",
|
22
|
+
i("edit", m.value, o);
|
18
23
|
}, v = (o) => {
|
19
|
-
i("copy",
|
24
|
+
i("copy", m.value, o);
|
20
25
|
}, d = (o) => {
|
21
26
|
}, x = () => {
|
22
|
-
i("remove", [
|
27
|
+
i("remove", [m.value]);
|
23
28
|
};
|
24
29
|
return (o, t) => {
|
25
30
|
const y = B("el-popconfirm");
|
26
|
-
return r(),
|
27
|
-
e(l).detail ? (r(),
|
31
|
+
return r(), p("div", R, [
|
32
|
+
e(l).detail ? (r(), p("i", {
|
28
33
|
key: 0,
|
29
34
|
class: "fa fa-search-plus btn-icon",
|
30
|
-
onClick: t[0] || (t[0] =
|
35
|
+
onClick: t[0] || (t[0] = c(
|
31
36
|
//@ts-ignore
|
32
37
|
(...n) => e(f) && e(f)(...n),
|
33
38
|
["prevent", "stop"]
|
34
39
|
))
|
35
40
|
})) : s("", !0),
|
36
|
-
e(l).update ? (r(),
|
41
|
+
e(l).update ? (r(), p("i", {
|
37
42
|
key: 1,
|
38
43
|
class: "fa fa-pencil btn-icon",
|
39
|
-
onClick: t[1] || (t[1] =
|
44
|
+
onClick: t[1] || (t[1] = c(
|
40
45
|
//@ts-ignore
|
41
46
|
(...n) => e(u) && e(u)(...n),
|
42
47
|
["prevent", "stop"]
|
43
48
|
))
|
44
49
|
})) : s("", !0),
|
45
|
-
e(l).copy ? (r(),
|
50
|
+
e(l).copy ? (r(), p("i", {
|
46
51
|
key: 2,
|
47
52
|
class: "fa fa-copy btn-icon",
|
48
|
-
onClick: t[2] || (t[2] =
|
53
|
+
onClick: t[2] || (t[2] = c(
|
49
54
|
//@ts-ignore
|
50
55
|
(...n) => e(v) && e(v)(...n),
|
51
56
|
["prevent", "stop"]
|
@@ -54,15 +59,15 @@ const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
|
|
54
59
|
e(l).delete ? (r(), E(y, {
|
55
60
|
key: 3,
|
56
61
|
width: 180,
|
57
|
-
title: e(a)("common.confirm_delete"),
|
58
|
-
"confirm-button-text": e(a)("common.confirm"),
|
59
|
-
"cancel-button-text": e(a)("common.cancel"),
|
62
|
+
title: e(a).t("common.confirm_delete"),
|
63
|
+
"confirm-button-text": e(a).t("common.confirm"),
|
64
|
+
"cancel-button-text": e(a).t("common.cancel"),
|
60
65
|
onConfirm: e(x)
|
61
66
|
}, {
|
62
|
-
reference:
|
63
|
-
|
67
|
+
reference: I(() => [
|
68
|
+
N("i", {
|
64
69
|
class: "fa fa-trash-alt btn-icon",
|
65
|
-
onClick: t[3] || (t[3] =
|
70
|
+
onClick: t[3] || (t[3] = c(
|
66
71
|
//@ts-ignore
|
67
72
|
(...n) => e(d) && e(d)(...n),
|
68
73
|
["prevent", "stop"]
|
@@ -76,5 +81,5 @@ const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
|
|
76
81
|
}
|
77
82
|
});
|
78
83
|
export {
|
79
|
-
|
84
|
+
H as default
|
80
85
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ f({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let m = i(() => import("./Text-
|
13
|
+
let m = i(() => import("./Text-BlDU58Cj.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
|
14
14
|
return (u, o) => (V(), b(e(m), {
|
15
15
|
schema: u.schema,
|
16
16
|
table: e(r),
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as I, createBlock as U, unref as o, isRef as b } from "vue";
|
2
|
+
import { I as k, U as B, D } 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 G = /* @__PURE__ */ v({
|
10
|
+
__name: "Autocomplete",
|
11
|
+
props: {
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
set: {},
|
16
|
+
row: {},
|
17
|
+
modelValue: {}
|
18
|
+
},
|
19
|
+
emits: ["submit", "change", "update:modelValue"],
|
20
|
+
setup(p, { emit: i }) {
|
21
|
+
let u = i, d = p, { table: c, field: s, set: R, modelValue: f } = _(d), a = V([]), h = null, g = (l, e) => {
|
22
|
+
if (a.value.length) {
|
23
|
+
let t = a.value.filter((m) => B.string.containsIgnoreCase(l, m.value));
|
24
|
+
e(t);
|
25
|
+
return;
|
26
|
+
}
|
27
|
+
let n = { text: h, conditions: [] };
|
28
|
+
D.http.post(s.value.control.data.route, n).then(({ data: t }) => {
|
29
|
+
a.value = t.map((m) => ({ value: m.text })), e(a.value);
|
30
|
+
}).catch(() => {
|
31
|
+
e([]);
|
32
|
+
});
|
33
|
+
}, r = x({
|
34
|
+
get() {
|
35
|
+
return f.value;
|
36
|
+
},
|
37
|
+
set(l) {
|
38
|
+
u("update:modelValue", l), u("change", l);
|
39
|
+
}
|
40
|
+
});
|
41
|
+
return (l, e) => {
|
42
|
+
const n = C("el-autocomplete");
|
43
|
+
return I(), U(n, {
|
44
|
+
clearable: "",
|
45
|
+
placeholder: o(k).field_placeholder(o(c).name, o(s).name),
|
46
|
+
"fetch-suggestions": o(g),
|
47
|
+
modelValue: o(r),
|
48
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => b(r) ? r.value = t : r = t)
|
49
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
50
|
+
};
|
51
|
+
}
|
52
|
+
});
|
53
|
+
export {
|
54
|
+
G as default
|
55
|
+
};
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as D, openBlock as C, createBlock as I, unref as o, isRef as U } from "vue";
|
2
|
+
import { I as b, U as k, D as B } 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 G = /* @__PURE__ */ v({
|
10
|
+
__name: "Autocomplete",
|
11
|
+
props: {
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
searchData: {},
|
16
|
+
modelValue: {}
|
17
|
+
},
|
18
|
+
emits: ["submit", "change", "update:modelValue"],
|
19
|
+
setup(p, { emit: i }) {
|
20
|
+
let u = i, d = p, { table: c, field: s, searchData: R, modelValue: f } = _(d), a = V([]), h = null, g = (l, e) => {
|
21
|
+
if (a.value.length) {
|
22
|
+
let t = a.value.filter((m) => k.string.containsIgnoreCase(l, m.value));
|
23
|
+
e(t);
|
24
|
+
return;
|
25
|
+
}
|
26
|
+
let n = { text: h, conditions: [] };
|
27
|
+
B.http.post(s.value.control.data.route, n).then(({ data: t }) => {
|
28
|
+
a.value = t.map((m) => ({ value: m.text })), e(a.value);
|
29
|
+
}).catch(() => {
|
30
|
+
e([]);
|
31
|
+
});
|
32
|
+
}, r = x({
|
33
|
+
get() {
|
34
|
+
return f.value;
|
35
|
+
},
|
36
|
+
set(l) {
|
37
|
+
u("update:modelValue", l), u("change", l);
|
38
|
+
}
|
39
|
+
});
|
40
|
+
return (l, e) => {
|
41
|
+
const n = D("el-autocomplete");
|
42
|
+
return C(), I(n, {
|
43
|
+
clearable: "",
|
44
|
+
placeholder: o(b).field_placeholder(o(c).name, o(s).name),
|
45
|
+
"fetch-suggestions": o(g),
|
46
|
+
modelValue: o(r),
|
47
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => U(r) ? r.value = t : r = t)
|
48
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
49
|
+
};
|
50
|
+
}
|
51
|
+
});
|
52
|
+
export {
|
53
|
+
G as default
|
54
|
+
};
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = i(() => import("./Code-
|
13
|
+
let r = i(() => import("./Code-DiXOxLRf.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
|
14
14
|
return (w, o) => (V(), b(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { defineComponent as s, openBlock as n, createElementBlock as i } from "vue";
|
2
|
+
import { useRouter as p, useRoute as a } from "vue-router";
|
3
|
+
import { D as u, F as c, t as l, w as m } 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";
|
9
|
+
import "./assets/moment-h96o7c8I.js";
|
10
|
+
const v = /* @__PURE__ */ s({
|
11
|
+
__name: "Callback",
|
12
|
+
setup(y) {
|
13
|
+
let r = p(), t = a().query;
|
14
|
+
return (async () => {
|
15
|
+
if (t.type == null) {
|
16
|
+
u.messenger.error("缺失type参数");
|
17
|
+
return;
|
18
|
+
}
|
19
|
+
let e = new m();
|
20
|
+
e.userId = t.userId.toString(), e.type = t.type.toString(), e.secret = t.secret.toString(), e.identity = JSON.parse(t.identity.toString()), (await c.sso.createAsync(e.type)).login(t), await l(e), r.push(t.return_url.toString());
|
21
|
+
})(), (e, o) => (n(), i("div", null, "登录完毕,处理回调中..."));
|
22
|
+
}
|
23
|
+
});
|
24
|
+
export {
|
25
|
+
v as default
|
26
|
+
};
|
@@ -1,5 +1,10 @@
|
|
1
|
-
import { defineComponent as E, toRefs as
|
2
|
-
import {
|
1
|
+
import { defineComponent as E, toRefs as D, ref as I, computed as w, resolveComponent as N, openBlock as i, createBlock as R, unref as a, isRef as S, withCtx as U, createElementVNode as P, createTextVNode as j, toDisplayString as c, createElementBlock as m, createCommentVNode as f } from "vue";
|
2
|
+
import { I as q, U as h, D as T } 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
9
|
const z = {
|
5
10
|
key: 0,
|
@@ -7,7 +12,7 @@ const z = {
|
|
7
12
|
}, A = {
|
8
13
|
key: 0,
|
9
14
|
class: "cascader-length"
|
10
|
-
},
|
15
|
+
}, X = /* @__PURE__ */ E({
|
11
16
|
__name: "Cascader",
|
12
17
|
props: {
|
13
18
|
schema: {},
|
@@ -19,28 +24,28 @@ const z = {
|
|
19
24
|
},
|
20
25
|
emits: ["submit", "change", "update:modelValue"],
|
21
26
|
setup(v, { emit: g }) {
|
22
|
-
let
|
27
|
+
let p = g, V = v, { table: _, field: t, set: F, row: G, modelValue: b } = D(V), s = I(), d = null, x = () => {
|
23
28
|
s.value || (s.value = t.value.control.data.data);
|
24
29
|
let e = b.value, l = [];
|
25
30
|
return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((r) => {
|
26
|
-
let o =
|
31
|
+
let o = h.tree.getParentsById(r, "value", s.value, "children", !0);
|
27
32
|
o.length > 0 && l.push(o.map((B) => B.value));
|
28
|
-
}) :
|
33
|
+
}) : h.tree.getParentsById(e, "value", s.value, "children", !0).forEach((r) => {
|
29
34
|
l.push(r.value);
|
30
35
|
}), l;
|
31
36
|
}, C = (e) => {
|
32
37
|
let l;
|
33
|
-
t.value.control.multiple ? l = e.map((n) => n[n.length - 1]).join(",") : l = e[e.length - 1],
|
38
|
+
t.value.control.multiple ? l = e.map((n) => n[n.length - 1]).join(",") : l = e[e.length - 1], p("update:modelValue", l), p("change", l);
|
34
39
|
}, y = (e) => {
|
35
|
-
e && (
|
40
|
+
e && (d = null, k());
|
36
41
|
}, k = () => {
|
37
|
-
let e = { text:
|
42
|
+
let e = { text: d, conditions: [] };
|
38
43
|
t.value.control.data.conditions.forEach((l) => {
|
39
44
|
e.conditions.push({ name: l.name, value: null });
|
40
|
-
}), T.post(t.value.control.data.route, e).then(({ data: l }) => {
|
45
|
+
}), T.http.post(t.value.control.data.route, e).then(({ data: l }) => {
|
41
46
|
s.value = l;
|
42
47
|
});
|
43
|
-
}, u =
|
48
|
+
}, u = w({
|
44
49
|
get() {
|
45
50
|
return x();
|
46
51
|
},
|
@@ -49,10 +54,10 @@ const z = {
|
|
49
54
|
}
|
50
55
|
});
|
51
56
|
return (e, l) => {
|
52
|
-
const n =
|
53
|
-
return
|
57
|
+
const n = N("el-cascader");
|
58
|
+
return i(), R(n, {
|
54
59
|
ref: "cascaderRef",
|
55
|
-
placeholder: a(q)(a(
|
60
|
+
placeholder: a(q).field_choose_placeholder(a(_).name, a(t).name),
|
56
61
|
filterable: "",
|
57
62
|
"collapse-tags": "",
|
58
63
|
"collapse-tags-tooltip": "",
|
@@ -63,14 +68,14 @@ const z = {
|
|
63
68
|
clearable: !a(t).control.required,
|
64
69
|
onVisibleChange: a(y),
|
65
70
|
modelValue: a(u),
|
66
|
-
"onUpdate:modelValue": l[0] || (l[0] = (r) =>
|
71
|
+
"onUpdate:modelValue": l[0] || (l[0] = (r) => S(u) ? u.value = r : u = r)
|
67
72
|
}, {
|
68
|
-
default:
|
73
|
+
default: U(({ node: r, data: o }) => [
|
69
74
|
P("span", null, [
|
70
|
-
j(
|
71
|
-
o.suffix ? (
|
75
|
+
j(c(o.text), 1),
|
76
|
+
o.suffix ? (i(), m("span", z, "(" + c(o.suffix) + ")", 1)) : f("", !0)
|
72
77
|
]),
|
73
|
-
o.children ? (
|
78
|
+
o.children ? (i(), m("span", A, c(o.children.length), 1)) : f("", !0)
|
74
79
|
]),
|
75
80
|
_: 1
|
76
81
|
}, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
@@ -78,5 +83,5 @@ const z = {
|
|
78
83
|
}
|
79
84
|
});
|
80
85
|
export {
|
81
|
-
|
86
|
+
X as default
|
82
87
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as y, toRefs as k, computed as c, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
|
2
|
-
import { U as B } from "./main-
|
2
|
+
import { U as B } from "./main-DSgfGXqN.js";
|
3
3
|
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
4
|
import "./assets/underscore-B0BCaBxV.js";
|
5
5
|
import "./assets/file-saver-CwlpTZSc.js";
|
@@ -21,17 +21,17 @@ const C = { class: "text-cascader" }, S = {
|
|
21
21
|
},
|
22
22
|
emits: ["submit", "change"],
|
23
23
|
setup(_, { emit: V }) {
|
24
|
-
let v = _, { table: w, field: s, set: E, row: U, modelValue:
|
24
|
+
let v = _, { table: w, field: s, set: E, row: U, modelValue: a } = k(v), u = c(() => s.value.control.multiple == !1 ? a.value : a.value ? a.value.toString().split(",") : []), i = c(() => {
|
25
25
|
if (u.value.length > 0) {
|
26
|
-
let p = s.value.control.data.data,
|
26
|
+
let p = s.value.control.data.data, o = [];
|
27
27
|
return u.value.forEach((r) => {
|
28
28
|
let l = B.tree.getParentsById(r, "value", p, "children", !0);
|
29
|
-
l.length > 0 &&
|
30
|
-
}),
|
29
|
+
l.length > 0 && o.push(l);
|
30
|
+
}), o;
|
31
31
|
}
|
32
32
|
return [];
|
33
33
|
});
|
34
|
-
return (p,
|
34
|
+
return (p, o) => (e(), t("div", C, [
|
35
35
|
(e(!0), t(m, null, d(f(i), (r, l) => (e(), t("span", null, [
|
36
36
|
(e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
|
37
37
|
style: x({ color: n.color }),
|