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,298 @@
|
|
1
|
+
import { defineComponent as be, toRefs as ke, ref as v, onMounted as xe, onUnmounted as ge, computed as B, watch as Ce, resolveComponent as I, openBlock as i, createBlock as g, unref as e, withCtx as m, createElementVNode as c, createElementBlock as h, createVNode as b, Fragment as _e, renderList as we, withDirectives as Ne, resolveDynamicComponent as Ke, createCommentVNode as C, createTextVNode as _, toDisplayString as k, vShow as Re, nextTick as A } from "vue";
|
2
|
+
import { D as w, c as Se, h as G, l as $e, k as De, n as Ie, I as f, a as H, U as N, R as Ue, M as Te } 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
|
+
import "vue-router";
|
10
|
+
import "./assets/intro.js-Cg1adLK7.js";
|
11
|
+
const Ve = { class: "tree-left" }, qe = {
|
12
|
+
key: 2,
|
13
|
+
class: "ha-empty"
|
14
|
+
}, Le = {
|
15
|
+
key: 3,
|
16
|
+
class: "tree-add"
|
17
|
+
}, Je = /* @__PURE__ */ be({
|
18
|
+
__name: "Tree",
|
19
|
+
props: {
|
20
|
+
searchData: {},
|
21
|
+
route: {},
|
22
|
+
module: {},
|
23
|
+
schema: {},
|
24
|
+
table: {},
|
25
|
+
layout: {},
|
26
|
+
next: {},
|
27
|
+
set: {},
|
28
|
+
url: {},
|
29
|
+
win: {}
|
30
|
+
},
|
31
|
+
emits: ["refresh", "succeed", "search", "navigate"],
|
32
|
+
setup(J, { expose: Q, emit: W }) {
|
33
|
+
let x = W, X = J, { route: K, module: z, schema: Y, table: p, layout: o, next: y, set: Be, searchData: Z } = ke(X), R = v(), E = v(), U = v(), S = v(), M = v(), ee = v(), d = v({ type: null, name: null, url: null, visible: !1 }), $ = v(), T = null, r = v({ width: 250, currentNode: null, currentKey: null, expandedKeys: [], scrollTop: 0, visible: !1 }), O = () => {
|
34
|
+
if (!R.value)
|
35
|
+
return;
|
36
|
+
let t = R.value.$el.querySelector(".is-context");
|
37
|
+
t && t.classList.remove("is-context");
|
38
|
+
}, le = (t, l, a, n) => {
|
39
|
+
O(), n.vnode.el.classList.add("is-context"), r.value.currentNode = l, T.show(t);
|
40
|
+
}, D = (t) => {
|
41
|
+
let l = o.value.parentId, a = { [l]: null };
|
42
|
+
t == "sibling" ? a[l] = r.value.currentNode[l] : t == "child" && (a[l] = r.value.currentNode[o.value.id]);
|
43
|
+
let n = w.base64.encode(a), u;
|
44
|
+
t == "copy" ? u = `${y.value.copy.route}?id=${r.value.currentNode[o.value.id]}&` : u = `${y.value.insert.route}?`, u += `default=${n}`, d.value.url = u, d.value.visible = !0;
|
45
|
+
}, P = () => {
|
46
|
+
let t = r.value.currentNode[o.value.id], l = r.value.currentNode[o.value.text], a = f.t("common.confirm_delete", l);
|
47
|
+
w.messenger.confirm(f.t("common.tips"), a, { type: "warning" }).then(() => {
|
48
|
+
te(t);
|
49
|
+
});
|
50
|
+
}, te = (t) => {
|
51
|
+
let l = o.value.id, a = o.value.data, n = N.tree.getNextById(t, l, a, "Children");
|
52
|
+
w.http.post(y.value.delete.route, [t]).then(() => {
|
53
|
+
N.tree.removeById(t, l, a, "Children");
|
54
|
+
let u = null;
|
55
|
+
n && (u = n[l], r.value.currentKey = u, r.value.expandedKeys.push(u)), x("succeed", () => {
|
56
|
+
V(r.value.scrollTop);
|
57
|
+
});
|
58
|
+
});
|
59
|
+
}, re = (t) => {
|
60
|
+
r.value.scrollTop = t.scrollTop;
|
61
|
+
}, V = (t = null, l = null) => {
|
62
|
+
r.value.visible = !1, A(() => {
|
63
|
+
r.value.visible = !0, A(() => {
|
64
|
+
if (t == null) {
|
65
|
+
let a = R.value.$el.querySelector(".el-tree-node.is-current");
|
66
|
+
a && a.scrollIntoView({ block: "center", behavior: "smooth" });
|
67
|
+
} else
|
68
|
+
S.value.setScrollTop(t);
|
69
|
+
l && l();
|
70
|
+
});
|
71
|
+
});
|
72
|
+
}, oe = () => {
|
73
|
+
d.value.visible = !1, x("succeed", () => {
|
74
|
+
V(r.value.scrollTop);
|
75
|
+
});
|
76
|
+
}, ae = (t) => {
|
77
|
+
d.value.type = t.module.type, d.value.name = t.module.name;
|
78
|
+
}, ne = () => {
|
79
|
+
d.value.visible = !1;
|
80
|
+
}, ue = (t, l, a) => {
|
81
|
+
O();
|
82
|
+
let n = t[o.value.id];
|
83
|
+
if (N.array.pushIfNotExist(r.value.expandedKeys, n), n == r.value.currentKey)
|
84
|
+
U.value.refresh();
|
85
|
+
else {
|
86
|
+
r.value.currentKey = n, $.value = q();
|
87
|
+
let u = N.url.getUrl(K.value.fullPath, { id: n });
|
88
|
+
x("navigate", u);
|
89
|
+
}
|
90
|
+
}, se = (t, l, a) => {
|
91
|
+
N.array.remove(r.value.expandedKeys, t[o.value.id]);
|
92
|
+
}, de = (t, l, a, n) => {
|
93
|
+
let u = {
|
94
|
+
table: o.value.table,
|
95
|
+
id: t.data[o.value.id],
|
96
|
+
targetId: l.data[o.value.id],
|
97
|
+
position: a
|
98
|
+
};
|
99
|
+
w.http.post(o.value.operation.route, u).then((F) => {
|
100
|
+
});
|
101
|
+
}, ie = (t) => {
|
102
|
+
x("search", t);
|
103
|
+
}, ce = (t) => {
|
104
|
+
}, ve = (t, l) => t ? l[p.value.text].indexOf(t) !== -1 : !0, fe = () => {
|
105
|
+
x("refresh");
|
106
|
+
}, me = (t, l) => {
|
107
|
+
Ue.module.triggerKeyboard(U.value, t, l);
|
108
|
+
}, pe = () => {
|
109
|
+
S.value.update();
|
110
|
+
}, q = () => {
|
111
|
+
let t = y.value[o.value.page.toLowerCase()].route;
|
112
|
+
return r.value.currentKey && (t += "?id=" + r.value.currentKey), t;
|
113
|
+
}, ye = () => {
|
114
|
+
let t = K.value.query.id, l;
|
115
|
+
t == null ? l = o.value.updateKey : l = G.convert(t, j.value.type), l && (r.value.currentKey = l, r.value.expandedKeys = [l], $.value = q()), V(null, () => {
|
116
|
+
T = new Te(E.value, [S.value.$el, M.value]);
|
117
|
+
});
|
118
|
+
};
|
119
|
+
xe(() => {
|
120
|
+
ye();
|
121
|
+
}), ge(() => {
|
122
|
+
T.dispose();
|
123
|
+
}), B(() => {
|
124
|
+
let t = { [o.value.parentId]: K.value.query.id };
|
125
|
+
return w.base64.encode(t);
|
126
|
+
});
|
127
|
+
let he = B(() => {
|
128
|
+
let t = `/${p.value.name}/tree-node`;
|
129
|
+
return Se.getComponent(t, "partial", "tree-node");
|
130
|
+
}), j = B(() => p.value.fields.find((l) => l.name == o.value.id));
|
131
|
+
return Ce(() => K.value, (t, l) => {
|
132
|
+
r.value.currentKey = G.convert(t.query.id, j.value.type), $.value = q();
|
133
|
+
}), Q({ onRefresh: fe, onKeyboard: me, onResize: pe }), (t, l) => {
|
134
|
+
const a = I("el-scrollbar"), n = I("el-tree"), u = I("el-button"), F = I("el-drawer");
|
135
|
+
return i(), g(e($e), {
|
136
|
+
class: "tree",
|
137
|
+
width: e(r).width,
|
138
|
+
onResize: l[5] || (l[5] = (s) => e(r).width = s)
|
139
|
+
}, {
|
140
|
+
left: m(() => [
|
141
|
+
c("div", Ve, [
|
142
|
+
e(p).search.length ? (i(), h("div", {
|
143
|
+
key: 0,
|
144
|
+
ref_key: "searchRef",
|
145
|
+
ref: ee,
|
146
|
+
class: "tree-search"
|
147
|
+
}, [
|
148
|
+
b(a, null, {
|
149
|
+
default: m(() => [
|
150
|
+
(i(!0), h(_e, null, we(e(p).search, (s, L) => (i(), h("div", {
|
151
|
+
class: "search-field",
|
152
|
+
key: L
|
153
|
+
}, [
|
154
|
+
b(e(De), {
|
155
|
+
schema: e(Y),
|
156
|
+
table: e(p),
|
157
|
+
field: s,
|
158
|
+
"search-data": e(Z),
|
159
|
+
onChange: e(ce),
|
160
|
+
onSubmit: e(ie)
|
161
|
+
}, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
|
162
|
+
]))), 128))
|
163
|
+
]),
|
164
|
+
_: 1
|
165
|
+
})
|
166
|
+
], 512)) : (i(), g(e(Ie), {
|
167
|
+
key: 1,
|
168
|
+
title: e(f).module(e(z).type, e(z).name)
|
169
|
+
}, null, 8, ["title"])),
|
170
|
+
Ne(b(a, {
|
171
|
+
ref_key: "scrollbarRef",
|
172
|
+
ref: S,
|
173
|
+
class: "tree-content",
|
174
|
+
onScroll: e(re)
|
175
|
+
}, {
|
176
|
+
default: m(() => [
|
177
|
+
e(r).visible ? (i(), g(n, {
|
178
|
+
key: 0,
|
179
|
+
ref_key: "treeRef",
|
180
|
+
ref: R,
|
181
|
+
"highlight-current": "",
|
182
|
+
"show-checkbox": e(o).checkbox,
|
183
|
+
"expand-on-click-node": !1,
|
184
|
+
draggable: !!e(o).operation,
|
185
|
+
data: e(o).data,
|
186
|
+
"node-key": e(o).id,
|
187
|
+
"current-node-key": e(r).currentKey,
|
188
|
+
props: { children: "Children", label: e(o).text },
|
189
|
+
"filter-node-method": e(ve),
|
190
|
+
"default-expanded-keys": e(r).expandedKeys,
|
191
|
+
onNodeClick: e(ue),
|
192
|
+
onNodeContextmenu: e(le),
|
193
|
+
onNodeCollapse: e(se),
|
194
|
+
onNodeDrop: e(de)
|
195
|
+
}, {
|
196
|
+
default: m(({ node: s, data: L }) => [
|
197
|
+
(i(), g(Ke(e(he)), {
|
198
|
+
table: e(p),
|
199
|
+
layout: e(o),
|
200
|
+
row: L,
|
201
|
+
node: s
|
202
|
+
}, null, 8, ["table", "layout", "row", "node"]))
|
203
|
+
]),
|
204
|
+
_: 1
|
205
|
+
}, 8, ["show-checkbox", "draggable", "data", "node-key", "current-node-key", "props", "filter-node-method", "default-expanded-keys", "onNodeClick", "onNodeContextmenu", "onNodeCollapse", "onNodeDrop"])) : C("", !0),
|
206
|
+
c("ul", {
|
207
|
+
ref_key: "menuRef",
|
208
|
+
ref: E,
|
209
|
+
class: "mouse-context"
|
210
|
+
}, [
|
211
|
+
c("li", {
|
212
|
+
onClick: l[0] || (l[0] = (s) => e(D)("child"))
|
213
|
+
}, [
|
214
|
+
l[6] || (l[6] = c("i", { class: "fa fa-plus" }, null, -1)),
|
215
|
+
_(k(e(f).t("tree.add_sub_item")), 1)
|
216
|
+
]),
|
217
|
+
c("li", {
|
218
|
+
onClick: l[1] || (l[1] = (s) => e(D)("sibling"))
|
219
|
+
}, [
|
220
|
+
l[7] || (l[7] = c("i", { class: "fa fa-plus" }, null, -1)),
|
221
|
+
_(k(e(f).t("tree.add_same_grade")), 1)
|
222
|
+
]),
|
223
|
+
c("li", {
|
224
|
+
onClick: l[2] || (l[2] = (s) => e(D)("copy"))
|
225
|
+
}, [
|
226
|
+
l[8] || (l[8] = c("i", { class: "fa fa-copy" }, null, -1)),
|
227
|
+
_(k(e(f).t("common.copy")), 1)
|
228
|
+
]),
|
229
|
+
e(y).delete ? (i(), h("li", {
|
230
|
+
key: 0,
|
231
|
+
onClick: l[3] || (l[3] = //@ts-ignore
|
232
|
+
(...s) => e(P) && e(P)(...s))
|
233
|
+
}, [
|
234
|
+
l[9] || (l[9] = c("i", { class: "fa fa-trash" }, null, -1)),
|
235
|
+
_(k(e(f).t("common.delete")), 1)
|
236
|
+
])) : C("", !0)
|
237
|
+
], 512)
|
238
|
+
]),
|
239
|
+
_: 1
|
240
|
+
}, 8, ["onScroll"]), [
|
241
|
+
[Re, e(o).data.length]
|
242
|
+
]),
|
243
|
+
e(o).data.length ? C("", !0) : (i(), h("div", qe, k(e(f).t("common.no_data")), 1)),
|
244
|
+
!e(o).data.length && e(y).insert ? (i(), h("div", Le, [
|
245
|
+
b(u, {
|
246
|
+
type: "primary",
|
247
|
+
onClick: e(D)
|
248
|
+
}, {
|
249
|
+
icon: m(() => l[10] || (l[10] = [
|
250
|
+
c("i", { class: "fa fa-plus" }, null, -1)
|
251
|
+
])),
|
252
|
+
default: m(() => [
|
253
|
+
_(" " + k(e(y).insert.title), 1)
|
254
|
+
]),
|
255
|
+
_: 1
|
256
|
+
}, 8, ["onClick"])
|
257
|
+
])) : C("", !0)
|
258
|
+
])
|
259
|
+
]),
|
260
|
+
default: m(() => [
|
261
|
+
c("div", {
|
262
|
+
ref_key: "detailRef",
|
263
|
+
ref: M,
|
264
|
+
class: "tree-detail"
|
265
|
+
}, [
|
266
|
+
e(r).currentKey ? (i(), g(e(H), {
|
267
|
+
key: 0,
|
268
|
+
ref_key: "singleRef",
|
269
|
+
ref: U,
|
270
|
+
url: e($)
|
271
|
+
}, null, 8, ["url"])) : C("", !0)
|
272
|
+
], 512),
|
273
|
+
b(F, {
|
274
|
+
size: "60%",
|
275
|
+
"destroy-on-close": "",
|
276
|
+
title: e(f).module(e(d).type, e(d).name),
|
277
|
+
modelValue: e(d).visible,
|
278
|
+
"onUpdate:modelValue": l[4] || (l[4] = (s) => e(d).visible = s)
|
279
|
+
}, {
|
280
|
+
default: m(() => [
|
281
|
+
b(e(H), {
|
282
|
+
url: e(d).url,
|
283
|
+
onLoaded: e(ae),
|
284
|
+
onSucceed: e(oe),
|
285
|
+
onClose: e(ne)
|
286
|
+
}, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
|
287
|
+
]),
|
288
|
+
_: 1
|
289
|
+
}, 8, ["title", "modelValue"])
|
290
|
+
]),
|
291
|
+
_: 1
|
292
|
+
}, 8, ["width"]);
|
293
|
+
};
|
294
|
+
}
|
295
|
+
});
|
296
|
+
export {
|
297
|
+
Je as default
|
298
|
+
};
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { defineComponent as x, toRefs as h, computed as C, openBlock as a, createElementBlock as s, unref as e, createElementVNode as N, toDisplayString as i, createTextVNode as b, createCommentVNode as d } from "vue";
|
2
|
+
import { I as g, U 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";
|
8
|
+
import "./assets/moment-h96o7c8I.js";
|
9
|
+
const k = ["title"], v = { class: "number" }, V = {
|
10
|
+
key: 0,
|
11
|
+
class: "option-suffix"
|
12
|
+
}, B = {
|
13
|
+
key: 1,
|
14
|
+
class: "count"
|
15
|
+
}, L = /* @__PURE__ */ x({
|
16
|
+
__name: "TreeNode",
|
17
|
+
props: {
|
18
|
+
table: {},
|
19
|
+
layout: {},
|
20
|
+
row: {},
|
21
|
+
node: {}
|
22
|
+
},
|
23
|
+
setup(p) {
|
24
|
+
let u = p, { table: m, layout: r, row: t, node: c } = h(u), f = (o, l) => {
|
25
|
+
let n = (o.parent.data.Children ? o.parent.data.Children.indexOf(l) : o.parent.data.indexOf(l)) + 1;
|
26
|
+
return y.string.padLeft(n, 2, "0");
|
27
|
+
}, _ = C(() => m.value.fields.find((n) => n.name == r.value.text).control.i18N);
|
28
|
+
return (o, l) => {
|
29
|
+
var n;
|
30
|
+
return a(), s("div", {
|
31
|
+
title: e(t)[e(r).title]
|
32
|
+
}, [
|
33
|
+
N("span", v, i(e(f)(e(c), e(t))), 1),
|
34
|
+
b(" " + i((n = e(_)) != null && n.value ? e(g).t(e(t)[e(r).text]) : e(t)[e(r).text]) + " ", 1),
|
35
|
+
e(r).suffix ? (a(), s("span", V, i(e(t)[e(r).suffix]), 1)) : d("", !0),
|
36
|
+
e(t).Children && e(t).Children.length > 0 ? (a(), s("span", B, "(" + i(e(t).Children.length) + ")", 1)) : d("", !0)
|
37
|
+
], 8, k);
|
38
|
+
};
|
39
|
+
}
|
40
|
+
});
|
41
|
+
export {
|
42
|
+
L as default
|
43
|
+
};
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { defineComponent as b, toRefs as C, ref as x, resolveComponent as g, openBlock as v, createBlock as y, unref as t, withCtx as o, createVNode as m, createSlots as N, createTextVNode as a, toDisplayString as p, createElementVNode as c } 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";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import { p as V, I as u } from "./main-DSgfGXqN.js";
|
9
|
+
import "element-plus";
|
10
|
+
import "vue-router";
|
11
|
+
import "./assets/intro.js-Cg1adLK7.js";
|
12
|
+
const q = /* @__PURE__ */ b({
|
13
|
+
__name: "Update",
|
14
|
+
props: {
|
15
|
+
table: {},
|
16
|
+
layout: {},
|
17
|
+
next: {},
|
18
|
+
set: {}
|
19
|
+
},
|
20
|
+
emits: ["submit", "close"],
|
21
|
+
setup(f, { expose: d, emit: _ }) {
|
22
|
+
let l = _;
|
23
|
+
C(f);
|
24
|
+
let n = x(!1), i = (r) => {
|
25
|
+
n.value = !0, l("submit", r, null, (e) => {
|
26
|
+
n.value = !1;
|
27
|
+
});
|
28
|
+
}, k = () => {
|
29
|
+
l("close");
|
30
|
+
};
|
31
|
+
return d({ submit: i }), (r, e) => {
|
32
|
+
const s = g("el-button");
|
33
|
+
return v(), y(t(V), { padding: 5 }, {
|
34
|
+
default: o(() => [
|
35
|
+
m(s, {
|
36
|
+
type: "primary",
|
37
|
+
loading: t(n),
|
38
|
+
onClick: t(i)
|
39
|
+
}, N({
|
40
|
+
default: o(() => [
|
41
|
+
a(" " + p(t(u).t("common.confirm")), 1)
|
42
|
+
]),
|
43
|
+
_: 2
|
44
|
+
}, [
|
45
|
+
t(n) ? void 0 : {
|
46
|
+
name: "icon",
|
47
|
+
fn: o(() => [
|
48
|
+
e[0] || (e[0] = c("i", { class: "fa fa-check" }, null, -1))
|
49
|
+
]),
|
50
|
+
key: "0"
|
51
|
+
}
|
52
|
+
]), 1032, ["loading", "onClick"]),
|
53
|
+
m(s, { onClick: t(k) }, {
|
54
|
+
icon: o(() => e[1] || (e[1] = [
|
55
|
+
c("i", { class: "fa fa-chevron-left" }, null, -1)
|
56
|
+
])),
|
57
|
+
default: o(() => [
|
58
|
+
a(" " + p(t(u).t("common.back")), 1)
|
59
|
+
]),
|
60
|
+
_: 1
|
61
|
+
}, 8, ["onClick"])
|
62
|
+
]),
|
63
|
+
_: 1
|
64
|
+
});
|
65
|
+
};
|
66
|
+
}
|
67
|
+
});
|
68
|
+
export {
|
69
|
+
q as default
|
70
|
+
};
|
@@ -1,7 +1,12 @@
|
|
1
|
-
import { defineComponent as v, toRefs as x, resolveComponent as N, unref as e, openBlock as
|
2
|
-
import
|
1
|
+
import { defineComponent as v, toRefs as x, resolveComponent as N, unref as e, openBlock as m, createElementBlock as V, Fragment as B, createBlock as d, withCtx as l, createElementVNode as r, createTextVNode as p, toDisplayString as o, createVNode as c, createCommentVNode as h } 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 s } from "./main-DSgfGXqN.js";
|
9
|
+
const z = /* @__PURE__ */ v({
|
5
10
|
__name: "UpdateChild",
|
6
11
|
props: {
|
7
12
|
module: {},
|
@@ -20,10 +25,10 @@ const T = /* @__PURE__ */ v({
|
|
20
25
|
}, _ = () => {
|
21
26
|
i("remove");
|
22
27
|
};
|
23
|
-
return (
|
28
|
+
return (I, t) => {
|
24
29
|
const a = N("el-button");
|
25
|
-
return e(k).type != "Detail" ? (
|
26
|
-
e(n).length == 0 ? (
|
30
|
+
return e(k).type != "Detail" ? (m(), V(B, { key: 0 }, [
|
31
|
+
e(n).length == 0 ? (m(), d(a, {
|
27
32
|
key: 0,
|
28
33
|
type: "primary",
|
29
34
|
plain: "",
|
@@ -33,10 +38,10 @@ const T = /* @__PURE__ */ v({
|
|
33
38
|
r("i", { class: "fa fa-plus" }, null, -1)
|
34
39
|
])),
|
35
40
|
default: l(() => [
|
36
|
-
p(" " + o(e(
|
41
|
+
p(" " + o(e(s).t("update.add")), 1)
|
37
42
|
]),
|
38
43
|
_: 1
|
39
|
-
}, 8, ["onClick"])) : (
|
44
|
+
}, 8, ["onClick"])) : (m(), d(a, {
|
40
45
|
key: 1,
|
41
46
|
type: "primary",
|
42
47
|
plain: "",
|
@@ -46,7 +51,7 @@ const T = /* @__PURE__ */ v({
|
|
46
51
|
r("i", { class: "fa fa-share" }, null, -1)
|
47
52
|
])),
|
48
53
|
default: l(() => [
|
49
|
-
p(" " + o(e(
|
54
|
+
p(" " + o(e(s).t("update.insert")), 1)
|
50
55
|
]),
|
51
56
|
_: 1
|
52
57
|
}, 8, ["onClick"])),
|
@@ -60,7 +65,7 @@ const T = /* @__PURE__ */ v({
|
|
60
65
|
r("i", { class: "fa fa-copy" }, null, -1)
|
61
66
|
])),
|
62
67
|
default: l(() => [
|
63
|
-
p(" " + o(e(
|
68
|
+
p(" " + o(e(s).t("common.copy")) + "(" + o(e(n).length) + ") ", 1)
|
64
69
|
]),
|
65
70
|
_: 1
|
66
71
|
}, 8, ["disabled", "onClick"]),
|
@@ -74,7 +79,7 @@ const T = /* @__PURE__ */ v({
|
|
74
79
|
r("i", { class: "fa fa-trash" }, null, -1)
|
75
80
|
])),
|
76
81
|
default: l(() => [
|
77
|
-
p(" " + o(e(
|
82
|
+
p(" " + o(e(s).t("common.delete")) + "(" + o(e(n).length) + ") ", 1)
|
78
83
|
]),
|
79
84
|
_: 1
|
80
85
|
}, 8, ["disabled", "onClick"])
|
@@ -83,5 +88,5 @@ const T = /* @__PURE__ */ v({
|
|
83
88
|
}
|
84
89
|
});
|
85
90
|
export {
|
86
|
-
|
91
|
+
z as default
|
87
92
|
};
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
1
|
+
import { defineComponent as V, toRefs as k, ref as r, onMounted as w, computed as x, resolveComponent as C, openBlock as u, createElementBlock as n, Fragment as R, renderList as E, unref as s, createVNode as F, isRef as S, withCtx as $, createElementVNode as j } from "vue";
|
2
|
+
import { S as c, j as y, U as v, R as B, u as I } 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";
|
6
6
|
import "./assets/clone-BZn0cTAu.js";
|
7
7
|
import "./assets/underscore.string-DVXD2SZo.js";
|
8
8
|
import "./assets/moment-h96o7c8I.js";
|
9
|
-
const
|
9
|
+
const N = { class: "text-upload" }, A = ["src", "onClick", "alt"], L = ["src"], X = /* @__PURE__ */ V({
|
10
10
|
__name: "Upload",
|
11
11
|
props: {
|
12
12
|
schema: {},
|
@@ -16,21 +16,21 @@ const S = { class: "text-upload" }, j = ["src", "onClick", "alt"], z = ["src"],
|
|
16
16
|
row: {},
|
17
17
|
modelValue: {}
|
18
18
|
},
|
19
|
-
setup(
|
20
|
-
let
|
19
|
+
setup(g) {
|
20
|
+
let f = g, { table: M, field: T, set: W, row: q, modelValue: _ } = k(f), d = r(), t = r(!1), p = r([]), m = r(), h = (e) => {
|
21
21
|
t.value = !0, m.value = e.url;
|
22
22
|
}, U = () => {
|
23
23
|
if (o.value)
|
24
|
-
if (c.upload.method == "box")
|
25
|
-
|
24
|
+
if (c.setting.upload.method == "box")
|
25
|
+
y.getUploadToken().then((e) => {
|
26
26
|
o.value.split(",").forEach((a) => {
|
27
|
-
let l = `${c.upload.address}/api/objects/download?slug=${a}&token=${e}`;
|
27
|
+
let l = `${c.setting.upload.address}/api/objects/download?slug=${a}&token=${e}`;
|
28
28
|
p.value.push({ name: a, url: l });
|
29
29
|
});
|
30
30
|
});
|
31
31
|
else {
|
32
|
-
let e = v.url.
|
33
|
-
v.file.isImage(e) ? d.value = e : d.value =
|
32
|
+
let e = v.url.isWebUrl(o.value) ? o.value : B.setting.api.url + o.value;
|
33
|
+
v.file.isImage(e) ? d.value = e : d.value = I.getFileIcon(e);
|
34
34
|
}
|
35
35
|
};
|
36
36
|
w(() => {
|
@@ -39,26 +39,26 @@ const S = { class: "text-upload" }, j = ["src", "onClick", "alt"], z = ["src"],
|
|
39
39
|
let o = x(() => _.value);
|
40
40
|
return (e, i) => {
|
41
41
|
const a = C("el-dialog");
|
42
|
-
return u(), n("div",
|
43
|
-
(u(!0), n(
|
42
|
+
return u(), n("div", N, [
|
43
|
+
(u(!0), n(R, null, E(s(p), (l, b) => (u(), n("img", {
|
44
44
|
class: "detail-image",
|
45
45
|
src: l.url,
|
46
|
-
onClick: (
|
46
|
+
onClick: (z) => s(h)(l),
|
47
47
|
alt: l.name,
|
48
|
-
key:
|
49
|
-
}, null, 8,
|
48
|
+
key: b
|
49
|
+
}, null, 8, A))), 128)),
|
50
50
|
F(a, {
|
51
51
|
draggable: "",
|
52
52
|
"append-to-body": "",
|
53
53
|
top: "5vh",
|
54
54
|
modelValue: s(t),
|
55
|
-
"onUpdate:modelValue": i[0] || (i[0] = (l) =>
|
55
|
+
"onUpdate:modelValue": i[0] || (i[0] = (l) => S(t) ? t.value = l : t = l)
|
56
56
|
}, {
|
57
57
|
default: $(() => [
|
58
|
-
|
58
|
+
j("img", {
|
59
59
|
width: "100%",
|
60
60
|
src: s(m)
|
61
|
-
}, null, 8,
|
61
|
+
}, null, 8, L)
|
62
62
|
]),
|
63
63
|
_: 1
|
64
64
|
}, 8, ["modelValue"])
|