halo-pc 1.0.40 → 1.0.42
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CqtkXVmQ.js → Article-DFUSows8.js} +63 -57
- package/dist/{ArticleFooter-DeJdTtZD.js → ArticleFooter-Cj1BBlA1.js} +25 -19
- package/dist/{Autocomplete-0fxB2_FC.js → Autocomplete-BwXXwn67.js} +1 -1
- package/dist/Autocomplete-CkaC4B9a.js +55 -0
- package/dist/Autocomplete-lOArRE-3.js +54 -0
- package/dist/{CSharp-BIFRQLaK.js → CSharp-DKso7gNM.js} +1 -1
- package/dist/{Calender-DPNTn-S4.js → Calender-D-SOVcZj.js} +2 -2
- package/dist/Callback-BR41Vj-N.js +26 -0
- package/dist/Cascader-CgATYx_L.js +87 -0
- package/dist/Cascader-_zr2LKml.js +47 -0
- package/dist/{Checkbox-CIim5NiB.js → Checkbox-5ILQf19K.js} +1 -1
- package/dist/Checkbox-BL8CgSAj.js +76 -0
- package/dist/Code-B4PQhSMK.js +4 -0
- package/dist/{Code-yDKaH1uF.js → Code-C-YP2p5l.js} +1 -1
- package/dist/Code-DFyhE56y.js +60 -0
- package/dist/Code-DiXOxLRf.js +42 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-XgvwusB0.js +65 -0
- package/dist/Column-Bc7Oihiz.js +75 -0
- package/dist/{Comment-tU2wBvGO.js → Comment-xRgfVwWf.js} +25 -19
- package/dist/Compare-Bs02uoCu.js +43 -0
- package/dist/Compare-CzjhvoMB.js +63 -0
- package/dist/Copy-Cm2a5gNO.js +49 -0
- package/dist/Custom-DUwgObv0.js +55 -0
- package/dist/{DataExport-BDftKI0U.js → DataExport-Bl8Gnd65.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js → DataExport.vue_vue_type_script_setup_true_lang-BdcGXCd-.js} +31 -25
- package/dist/{DataImport-CRYaaQfA.js → DataImport-a0LeLUqN.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-SUTAEcM1.js +178 -0
- package/dist/{Date-Dlh1_S7p.js → Date-3ShwD2-i.js} +1 -1
- package/dist/Date-Bxg6thBd.js +43 -0
- package/dist/{DateRange-BgF_T3ls.js → DateRange-Bs02SlBL.js} +17 -11
- package/dist/DateTime-9zVeZZU1.js +44 -0
- package/dist/{DateTime-CNjPeK9t.js → DateTime-CBvGI0QK.js} +1 -1
- package/dist/{DateTimeRange-DbEpW4nB.js → DateTimeRange-BvzT4ePX.js} +15 -9
- package/dist/{Daterange-DHVjhrK9.js → Daterange-jjGQtOYX.js} +23 -17
- package/dist/{Decimal-BDEWVSsK.js → Decimal-ZCkGNnu6.js} +1 -1
- package/dist/Delete-DFYWGXxR.js +62 -0
- package/dist/Detail-BCOVW_Bc.js +75 -0
- package/dist/{Dictionary-CJwZPQz6.js → Dictionary-CzVkbTgC.js} +15 -9
- package/dist/Email-BkTp1o4W.js +54 -0
- package/dist/File-B5gD6gIN.js +164 -0
- package/dist/Image-CJehZtl1.js +9 -0
- package/dist/{Index-j15c7lwJ.js → Index--k39OOeR.js} +1 -1
- package/dist/Index-BgaidjN1.js +4 -0
- package/dist/{Index-D2FOeoNQ.js → Index-Bkk7Lbow.js} +1 -1
- package/dist/Index-C1d92iVF.js +4 -0
- package/dist/Index-CqcpoI5q.js +179 -0
- package/dist/Index-D46msJe6.js +4 -0
- package/dist/Index-DNzPzZAD.js +4 -0
- package/dist/Index-fLIY_xZz.js +76 -0
- 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-ByxBNAdg.js → Index.vue_vue_type_script_setup_true_lang-BBos3LCo.js} +26 -20
- package/dist/{Install-WR3b4IfI.js → Install-D5a1Clhz.js} +40 -34
- package/dist/Int-BCPaDwRr.js +47 -0
- package/dist/Int-vbDN15ge.js +44 -0
- package/dist/List-1gzG3Hh5.js +77 -0
- package/dist/Maintaince-or5c_o4Q.js +20 -0
- package/dist/{Markdown-nVfQs7kc.js → Markdown-DA3F0wmz.js} +1 -1
- package/dist/{Month-CxKMP4kO.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-C8UpM9Kj.js → PagingHeader-ooBPU84X.js} +33 -27
- package/dist/{PagingRow-oQWCofO4.js → PagingRow-BBzD3uJR.js} +26 -20
- package/dist/{Racebar-CvoF2ySW.js → Racebar-CGxwvdJg.js} +29 -23
- package/dist/{Radio-DhjfkC14.js → Radio-Rf8Dk0Kt.js} +1 -1
- package/dist/{Register-B0Vx60wY.js → Register-CRG2u_Oc.js} +82 -76
- package/dist/RichText-D9mVss4s.js +47 -0
- package/dist/{SearchForm-BHVnQaSL.js → SearchForm-DhNSuvIB.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js → SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js} +58 -52
- package/dist/{SearchHeader-C9yovXli.js → SearchHeader-BH9MZ9J0.js} +1 -1
- package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js → SearchHeader.vue_vue_type_style_index_0_lang-BCguAmMx.js} +1 -1
- package/dist/{Select-vgwpegBi.js → Select-BGxScF1V.js} +35 -29
- package/dist/{Select-CX4i5KPQ.js → Select-D6zMSIK-.js} +1 -1
- package/dist/{Select-BDoCqD3I.js → Select-pxgFT4W6.js} +32 -26
- package/dist/Single-Dur5AQwJ.js +325 -0
- package/dist/{Statistic-WPezAlUn.js → Statistic-D2Ui-cl9.js} +37 -31
- package/dist/{Stock-EPM3j2f_.js → Stock-CPNV5oAr.js} +1 -1
- package/dist/{Stock-BD5Acf8y.js → Stock-S-yoIR63.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js → Stock.vue_vue_type_style_index_0_lang-CBM83HPm.js} +30 -24
- package/dist/{Switch-B0XN4K-9.js → Switch-Ddzu0cVc.js} +1 -1
- package/dist/{Table-BklK1hSh.js → Table-Dehxw_Mm.js} +115 -109
- package/dist/{Table-JFdOXuME.js → Table-td4DoauS.js} +96 -90
- package/dist/Text-BQ2sP6BX.js +54 -0
- package/dist/Text-BlDU58Cj.js +4 -0
- package/dist/Text-DzOAFDPQ.js +58 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-SkwvLnGj.js +59 -0
- package/dist/TextLink-BNd6HG70.js +65 -0
- package/dist/{Textarea-3SWLqQvO.js → Textarea-BEGLCMlW.js} +1 -1
- package/dist/Time-6IjugDB1.js +43 -0
- package/dist/{Timeline-B6hUIYhL.js → Timeline-rO6-BdP9.js} +19 -13
- package/dist/{Tree-JexLPBXX.js → Tree-B4CrBXsk.js} +41 -35
- 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-DUG7pAuO.js → UpdateChild-D_vBiyT5.js} +26 -20
- package/dist/Upload-ByD17bHe.js +71 -0
- package/dist/Upload-pOEf-6VG.js +150 -0
- package/dist/{Year-BRsJ7b1J.js → Year-CWW-xi29.js} +1 -1
- package/dist/Year-DkYUnUm3.js +47 -0
- package/dist/assets/{clipboard-ClN4QccS.js → clipboard-DjQPoCBJ.js} +3 -1
- package/dist/assets/clone-BZn0cTAu.js +134 -0
- package/dist/assets/file-saver-CwlpTZSc.js +74 -0
- package/dist/assets/liquidjs-BfOWWjtJ.js +2907 -0
- package/dist/assets/moment-h96o7c8I.js +2578 -0
- package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
- package/dist/assets/underscore-B0BCaBxV.js +1070 -0
- package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
- package/dist/assets/util-deprecate-Dzun97re.js +28 -0
- package/dist/main-DSgfGXqN.js +10966 -0
- package/dist/main.js +163 -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 +3 -4
- 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-BfhYwZ5G.js +0 -49
- package/dist/Autocomplete-LQiKcvz1.js +0 -48
- package/dist/Callback-Ci5KrWOC.js +0 -20
- package/dist/Cascader-CnOEgPDf.js +0 -41
- package/dist/Cascader-Vhc81TDV.js +0 -81
- package/dist/Checkbox-D9Sp6ZGQ.js +0 -70
- package/dist/Code-BEjqqeFZ.js +0 -54
- package/dist/Code-BSrEPuXk.js +0 -4
- package/dist/Code-Dp1-k8sW.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +0 -59
- package/dist/Column-B0ViSver.js +0 -69
- package/dist/Compare-D7Gz-lE9.js +0 -37
- package/dist/Compare-DqvGyQWA.js +0 -57
- package/dist/Copy-Dm1LH9qB.js +0 -43
- package/dist/Custom-CLKAPWEo.js +0 -49
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js +0 -172
- package/dist/Date-DPPiYLWw.js +0 -37
- package/dist/DateTime-DP-VfmtN.js +0 -38
- package/dist/Delete-Bl0GmthL.js +0 -56
- package/dist/Detail-BozyhOTt.js +0 -69
- package/dist/Email-D5X1SzuJ.js +0 -48
- package/dist/File-DixK0K7p.js +0 -158
- package/dist/Image-BrelhCGo.js +0 -9
- package/dist/Index-BeM6hKX9.js +0 -4
- package/dist/Index-BkfLyqpm.js +0 -173
- package/dist/Index-D8UVsXwf.js +0 -4
- package/dist/Index-DbXgnBz6.js +0 -70
- package/dist/Index-FL-dxfFB.js +0 -4
- package/dist/Index-fWOqfFkG.js +0 -4
- package/dist/Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js +0 -66
- package/dist/Int-CWsDtoxE.js +0 -38
- package/dist/Int-GGWiUqO2.js +0 -41
- package/dist/List-kRCsHp6d.js +0 -71
- package/dist/Maintaince-BG8MUi3A.js +0 -14
- package/dist/Month-B1icZmL4.js +0 -37
- package/dist/Month-DnYlAi7k.js +0 -38
- package/dist/Normal-RcqEyIFN.js +0 -256
- package/dist/Paging-DrdGzxeP.js +0 -94
- package/dist/RichText-4wrLw9cy.js +0 -41
- package/dist/Single-C3629BdC.js +0 -317
- package/dist/Text-CNtHdodK.js +0 -4
- package/dist/Text-DrJkdxZF.js +0 -52
- package/dist/Text-KAuEjP7I.js +0 -48
- package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +0 -53
- package/dist/TextLink-BnijIoEJ.js +0 -59
- package/dist/Time-C3qlNZkJ.js +0 -37
- package/dist/Tree-DBvFF4Rj.js +0 -292
- package/dist/TreeNode-BOWB2WN9.js +0 -37
- package/dist/Update-CDLYYwgj.js +0 -64
- package/dist/Upload-B2hbxDsT.js +0 -144
- package/dist/Upload-mlk6Y4Po.js +0 -65
- package/dist/Year-BUF60NmB.js +0 -41
- package/dist/main-DymfKjqO.js +0 -16480
@@ -0,0 +1,62 @@
|
|
1
|
+
import { defineComponent as g, toRefs as D, ref as y, resolveComponent as B, openBlock as N, createElementBlock as V, createElementVNode as i, toDisplayString as o, unref as e, createVNode as a, withCtx as m, createTextVNode as d } from "vue";
|
2
|
+
import { I as l, D as u, r 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 E = { class: "delete" }, I = { class: "delete-title" }, S = { class: "delete-buttons" }, H = /* @__PURE__ */ g({
|
10
|
+
__name: "Delete",
|
11
|
+
props: {
|
12
|
+
base: {},
|
13
|
+
route: {},
|
14
|
+
url: {},
|
15
|
+
win: {}
|
16
|
+
},
|
17
|
+
emits: ["navigate", "succeed", "close"],
|
18
|
+
setup(p, { emit: _ }) {
|
19
|
+
let s = _, f = p, { base: v, route: h } = D(f), n = y(), k = (t) => {
|
20
|
+
n.value = t.next;
|
21
|
+
};
|
22
|
+
(() => {
|
23
|
+
k(v.value.data);
|
24
|
+
})();
|
25
|
+
let C = () => {
|
26
|
+
let t = [h.value.query.id];
|
27
|
+
u.http.post(n.value.delete.route, t).then((c) => {
|
28
|
+
u.messenger.success(c.message), b();
|
29
|
+
});
|
30
|
+
}, b = () => {
|
31
|
+
w.toBackUrl(), s("succeed", "delete");
|
32
|
+
}, x = () => {
|
33
|
+
s("close");
|
34
|
+
};
|
35
|
+
return (t, c) => {
|
36
|
+
const r = B("el-button");
|
37
|
+
return N(), V("div", E, [
|
38
|
+
i("div", I, o(e(l).t("common.confirm_delete")), 1),
|
39
|
+
i("div", S, [
|
40
|
+
a(r, {
|
41
|
+
type: "danger",
|
42
|
+
onClick: e(C)
|
43
|
+
}, {
|
44
|
+
default: m(() => [
|
45
|
+
d(o(e(l).t("common.confirm")), 1)
|
46
|
+
]),
|
47
|
+
_: 1
|
48
|
+
}, 8, ["onClick"]),
|
49
|
+
a(r, { onClick: e(x) }, {
|
50
|
+
default: m(() => [
|
51
|
+
d(o(e(l).t("common.cancel")), 1)
|
52
|
+
]),
|
53
|
+
_: 1
|
54
|
+
}, 8, ["onClick"])
|
55
|
+
])
|
56
|
+
]);
|
57
|
+
};
|
58
|
+
}
|
59
|
+
});
|
60
|
+
export {
|
61
|
+
H as default
|
62
|
+
};
|
@@ -0,0 +1,75 @@
|
|
1
|
+
import { defineComponent as v, toRefs as x, resolveComponent as b, openBlock as N, createBlock as V, unref as t, withCtx as e, createVNode as a, createElementVNode as m, createTextVNode as p, toDisplayString as r } 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 g, I as c } from "./main-DSgfGXqN.js";
|
9
|
+
import "element-plus";
|
10
|
+
import "vue-router";
|
11
|
+
import "./assets/intro.js-Cg1adLK7.js";
|
12
|
+
const F = /* @__PURE__ */ v({
|
13
|
+
__name: "Detail",
|
14
|
+
props: {
|
15
|
+
route: {},
|
16
|
+
table: {},
|
17
|
+
next: {},
|
18
|
+
set: {}
|
19
|
+
},
|
20
|
+
emits: ["copy", "edit", "close"],
|
21
|
+
setup(u, { emit: d }) {
|
22
|
+
let n = d, y = u, { route: B, table: s, set: f, next: D } = x(y), k = (l) => {
|
23
|
+
n("copy", f.value[s.value.name][0], l);
|
24
|
+
}, C = (l) => {
|
25
|
+
n("edit", f.value[s.value.name][0], l);
|
26
|
+
}, _ = () => {
|
27
|
+
n("close");
|
28
|
+
};
|
29
|
+
return (l, o) => {
|
30
|
+
const i = b("el-button");
|
31
|
+
return N(), V(t(g), { padding: 5 }, {
|
32
|
+
default: e(() => [
|
33
|
+
a(i, {
|
34
|
+
type: "primary",
|
35
|
+
onClick: t(C)
|
36
|
+
}, {
|
37
|
+
icon: e(() => o[0] || (o[0] = [
|
38
|
+
m("i", { class: "fa fa-edit" }, null, -1)
|
39
|
+
])),
|
40
|
+
default: e(() => [
|
41
|
+
p(" " + r(t(c).t("common.modify")), 1)
|
42
|
+
]),
|
43
|
+
_: 1
|
44
|
+
}, 8, ["onClick"]),
|
45
|
+
a(i, {
|
46
|
+
type: "primary",
|
47
|
+
plain: "",
|
48
|
+
onClick: t(k)
|
49
|
+
}, {
|
50
|
+
icon: e(() => o[1] || (o[1] = [
|
51
|
+
m("i", { class: "fa fa-copy" }, null, -1)
|
52
|
+
])),
|
53
|
+
default: e(() => [
|
54
|
+
p(" " + r(t(c).t("common.copy")), 1)
|
55
|
+
]),
|
56
|
+
_: 1
|
57
|
+
}, 8, ["onClick"]),
|
58
|
+
a(i, { onClick: t(_) }, {
|
59
|
+
icon: e(() => o[2] || (o[2] = [
|
60
|
+
m("i", { class: "fa fa-chevron-left" }, null, -1)
|
61
|
+
])),
|
62
|
+
default: e(() => [
|
63
|
+
p(" " + r(t(c).t("common.back")), 1)
|
64
|
+
]),
|
65
|
+
_: 1
|
66
|
+
}, 8, ["onClick"])
|
67
|
+
]),
|
68
|
+
_: 1
|
69
|
+
});
|
70
|
+
};
|
71
|
+
}
|
72
|
+
});
|
73
|
+
export {
|
74
|
+
F as default
|
75
|
+
};
|
@@ -1,9 +1,15 @@
|
|
1
1
|
import { defineComponent as g, toRefs as x, computed as a, resolveComponent as b, openBlock as o, createElementBlock as n, Fragment as h, renderList as V, unref as k, createBlock as B, normalizeStyle as C, withCtx as N, createTextVNode as S, toDisplayString as s, createCommentVNode as j } from "vue";
|
2
|
-
import {
|
2
|
+
import { U as r } 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";
|
3
9
|
const w = { class: "text-dictionary" }, D = {
|
4
10
|
key: 0,
|
5
11
|
class: "suffix"
|
6
|
-
},
|
12
|
+
}, I = /* @__PURE__ */ g({
|
7
13
|
__name: "Dictionary",
|
8
14
|
props: {
|
9
15
|
schema: {},
|
@@ -14,15 +20,15 @@ const w = { class: "text-dictionary" }, D = {
|
|
14
20
|
modelValue: { type: [String, Number, Boolean] }
|
15
21
|
},
|
16
22
|
emits: ["submit", "change", "update:modelValue"],
|
17
|
-
setup(i, { emit:
|
18
|
-
let u =
|
23
|
+
setup(i, { emit: m }) {
|
24
|
+
let u = m, c = i, { table: E, field: p, set: U, modelValue: d } = x(c), t = a({
|
19
25
|
get() {
|
20
|
-
return
|
26
|
+
return d.value;
|
21
27
|
},
|
22
28
|
set(e) {
|
23
29
|
u("update:modelValue", e), u("change", e);
|
24
30
|
}
|
25
|
-
}),
|
31
|
+
}), f = a(() => {
|
26
32
|
if (t.value == null)
|
27
33
|
return [];
|
28
34
|
if (r.object.isNumber(t.value))
|
@@ -31,8 +37,8 @@ const w = { class: "text-dictionary" }, D = {
|
|
31
37
|
return [t.value];
|
32
38
|
let e = t.value.toString();
|
33
39
|
return r.string.isEmpty(e) ? [] : e.split(",");
|
34
|
-
}), _ = a(() => r.array.fromValues(
|
35
|
-
return (e,
|
40
|
+
}), _ = a(() => r.array.fromValues(f.value, p.value.control.data.data, "value", "text"));
|
41
|
+
return (e, z) => {
|
36
42
|
const v = b("el-tag");
|
37
43
|
return o(), n("div", w, [
|
38
44
|
(o(!0), n(h, null, V(k(_), (l, y) => (o(), B(v, {
|
@@ -51,5 +57,5 @@ const w = { class: "text-dictionary" }, D = {
|
|
51
57
|
}
|
52
58
|
});
|
53
59
|
export {
|
54
|
-
|
60
|
+
I as default
|
55
61
|
};
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import { defineComponent as f, toRefs as _, computed as V, resolveComponent as b, openBlock as h, createBlock as y, unref as e, withKeys as x, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString 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 { I as K } from "./main-DSgfGXqN.js";
|
9
|
+
const j = /* @__PURE__ */ f({
|
10
|
+
__name: "Email",
|
11
|
+
props: {
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
set: {},
|
16
|
+
row: {},
|
17
|
+
modelValue: {}
|
18
|
+
},
|
19
|
+
emits: ["submit", "change", "update:modelValue"],
|
20
|
+
setup(n, { emit: p }) {
|
21
|
+
let l = p, r = n, { table: d, field: t, set: B, modelValue: s } = _(r), u = () => {
|
22
|
+
l("submit");
|
23
|
+
}, o = V({
|
24
|
+
get() {
|
25
|
+
return s.value;
|
26
|
+
},
|
27
|
+
set(a) {
|
28
|
+
l("update:modelValue", a), l("change", a);
|
29
|
+
}
|
30
|
+
});
|
31
|
+
return (a, m) => {
|
32
|
+
const c = b("el-input");
|
33
|
+
return h(), y(c, {
|
34
|
+
type: "email",
|
35
|
+
disabled: e(t).control.readonly,
|
36
|
+
placeholder: e(K).field_placeholder(e(d).name, e(t).name),
|
37
|
+
onKeyup: x(e(u), ["enter", "native"]),
|
38
|
+
modelValue: e(o),
|
39
|
+
"onUpdate:modelValue": m[0] || (m[0] = (i) => g(o) ? o.value = i : o = i)
|
40
|
+
}, k({ _: 2 }, [
|
41
|
+
e(t).suffix ? {
|
42
|
+
name: "append",
|
43
|
+
fn: v(() => [
|
44
|
+
w(C(e(t).suffix), 1)
|
45
|
+
]),
|
46
|
+
key: "0"
|
47
|
+
} : void 0
|
48
|
+
]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
|
49
|
+
};
|
50
|
+
}
|
51
|
+
});
|
52
|
+
export {
|
53
|
+
j as default
|
54
|
+
};
|
@@ -0,0 +1,164 @@
|
|
1
|
+
import { defineComponent as T, toRefs as A, ref as G, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as g, unref as e, withCtx as r, createElementVNode as n, normalizeClass as w, Fragment as x, renderList as L, createBlock as y, toDisplayString as d, createTextVNode as q, createCommentVNode as S } from "vue";
|
2
|
+
import { useRoute as H, useRouter as J } from "vue-router";
|
3
|
+
import { n as K, I as D, S as m, D as z } 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
|
+
import "element-plus";
|
11
|
+
import "./assets/intro.js-Cg1adLK7.js";
|
12
|
+
import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-rTj9jfpz.js";
|
13
|
+
const O = { class: "file-layout" }, Q = { class: "toolbar" }, U = {
|
14
|
+
key: 0,
|
15
|
+
class: "files-image"
|
16
|
+
}, W = { class: "file-image" }, X = ["src"], Y = { class: "file-title" }, Z = { class: "file-name" }, ee = ["src", "alt"], te = { class: "file-title" }, oe = {
|
17
|
+
key: 2,
|
18
|
+
class: "not-support"
|
19
|
+
}, ge = /* @__PURE__ */ T({
|
20
|
+
__name: "File",
|
21
|
+
props: {
|
22
|
+
searchData: {},
|
23
|
+
module: {},
|
24
|
+
schema: {},
|
25
|
+
table: {},
|
26
|
+
layout: {},
|
27
|
+
next: {},
|
28
|
+
set: {},
|
29
|
+
url: {},
|
30
|
+
win: {}
|
31
|
+
},
|
32
|
+
setup(F) {
|
33
|
+
let N = F, { schema: V, table: s, layout: i, next: f, set: b, searchData: ae } = A(N), _ = H(), v = J(), k = G(), C = (a) => {
|
34
|
+
let t = { type: "fileLayout", value: a };
|
35
|
+
z.http.post("/config/save", t).then((h) => {
|
36
|
+
m.config.fileLayout = a;
|
37
|
+
});
|
38
|
+
}, B = (a) => {
|
39
|
+
let t = { ..._.query };
|
40
|
+
t.page = a, v.push({ path: f.value.paging.route, query: t });
|
41
|
+
}, R = () => {
|
42
|
+
let a = { ..._.query };
|
43
|
+
a.page = "1", a.condition = z.base64.encode(k.value);
|
44
|
+
let t = { path: f.value.paging.route, query: a };
|
45
|
+
v.push(t);
|
46
|
+
};
|
47
|
+
return (a, t) => {
|
48
|
+
const h = p("router-link"), E = p("el-table-column"), I = p("el-table"), j = p("el-button"), P = p("el-pagination");
|
49
|
+
return l(), u("div", O, [
|
50
|
+
g(e(K), {
|
51
|
+
title: e(D).module(a.module.type, a.module.name)
|
52
|
+
}, {
|
53
|
+
operation: r(() => [
|
54
|
+
n("div", Q, [
|
55
|
+
n("a", {
|
56
|
+
class: w({ active: e(m).config.fileLayout == "list" }),
|
57
|
+
onClick: t[0] || (t[0] = (o) => e(C)("list"))
|
58
|
+
}, t[2] || (t[2] = [
|
59
|
+
n("i", { class: "fa fa-list" }, null, -1)
|
60
|
+
]), 2),
|
61
|
+
n("a", {
|
62
|
+
class: w({ active: e(m).config.fileLayout == "image" }),
|
63
|
+
onClick: t[1] || (t[1] = (o) => e(C)("image"))
|
64
|
+
}, t[3] || (t[3] = [
|
65
|
+
n("i", { class: "fa fa-image" }, null, -1)
|
66
|
+
]), 2)
|
67
|
+
])
|
68
|
+
]),
|
69
|
+
append: r(() => [
|
70
|
+
e(m).config.fileLayout == "image" ? (l(), u("div", U, [
|
71
|
+
(l(!0), u(x, null, L(e(b)[e(s).name], (o, $) => (l(), y(h, {
|
72
|
+
class: "file",
|
73
|
+
to: { path: e(f).detail.route, query: { id: o[e(s).key.name], m: e(_).query.m } },
|
74
|
+
key: $
|
75
|
+
}, {
|
76
|
+
default: r(() => [
|
77
|
+
n("div", W, [
|
78
|
+
n("img", {
|
79
|
+
src: o[e(i).url],
|
80
|
+
alt: ""
|
81
|
+
}, null, 8, X)
|
82
|
+
]),
|
83
|
+
n("div", Y, d(o[e(i).name]), 1)
|
84
|
+
]),
|
85
|
+
_: 2
|
86
|
+
}, 1032, ["to"]))), 128))
|
87
|
+
])) : e(m).config.fileLayout == "list" ? (l(), y(I, {
|
88
|
+
key: 1,
|
89
|
+
class: "files-list",
|
90
|
+
border: "",
|
91
|
+
data: e(b)[e(s).name]
|
92
|
+
}, {
|
93
|
+
empty: r(() => [
|
94
|
+
q(d(e(D).t("common.no_data")), 1)
|
95
|
+
]),
|
96
|
+
default: r(() => [
|
97
|
+
(l(!0), u(x, null, L(e(s).show, (o, $) => (l(), y(E, {
|
98
|
+
"show-overflow-tooltip": "",
|
99
|
+
sortable: e(s) ? "custom" : !1,
|
100
|
+
"min-width": "180",
|
101
|
+
"sort-orders": ["descending", "ascending"],
|
102
|
+
prop: o.name,
|
103
|
+
label: `${o.label}${o.prefix || o.suffix ? "(" + (o.prefix || o.suffix) + ")" : ""}`,
|
104
|
+
key: `${e(s).name}.${o.name}`
|
105
|
+
}, {
|
106
|
+
default: r((c) => [
|
107
|
+
n("div", Z, [
|
108
|
+
c.column.property == e(i).name ? (l(), u("img", {
|
109
|
+
key: 0,
|
110
|
+
class: "file-image",
|
111
|
+
src: c.row[e(i).url],
|
112
|
+
alt: c.row[e(i).name]
|
113
|
+
}, null, 8, ee)) : S("", !0),
|
114
|
+
n("div", te, d(c.row[c.column.property]), 1)
|
115
|
+
])
|
116
|
+
]),
|
117
|
+
_: 2
|
118
|
+
}, 1032, ["sortable", "prop", "label"]))), 128))
|
119
|
+
]),
|
120
|
+
_: 1
|
121
|
+
}, 8, ["data"])) : (l(), u("div", oe, "未支持的文件布局:" + d(e(m).config.fileLayout), 1))
|
122
|
+
]),
|
123
|
+
default: r(() => [
|
124
|
+
e(s).search.length > 0 ? (l(), y(M, {
|
125
|
+
key: 0,
|
126
|
+
schema: e(V),
|
127
|
+
table: e(s),
|
128
|
+
search: e(k),
|
129
|
+
onSubmit: e(R)
|
130
|
+
}, null, 8, ["schema", "table", "search", "onSubmit"])) : S("", !0)
|
131
|
+
]),
|
132
|
+
_: 1
|
133
|
+
}, 8, ["title"]),
|
134
|
+
g(j, {
|
135
|
+
type: "primary",
|
136
|
+
icon: "el-icon-plus"
|
137
|
+
}, {
|
138
|
+
default: r(() => [
|
139
|
+
g(h, {
|
140
|
+
to: { path: e(f).insert.route, query: { m: e(_).query.m } }
|
141
|
+
}, {
|
142
|
+
default: r(() => [
|
143
|
+
q("添加新" + d(e(s).title), 1)
|
144
|
+
]),
|
145
|
+
_: 1
|
146
|
+
}, 8, ["to"])
|
147
|
+
]),
|
148
|
+
_: 1
|
149
|
+
}),
|
150
|
+
g(P, {
|
151
|
+
background: "",
|
152
|
+
layout: "total, prev, pager, next, jumper",
|
153
|
+
"current-page": e(i).page,
|
154
|
+
"page-size": e(i).size,
|
155
|
+
total: e(i).count,
|
156
|
+
onCurrentChange: e(B)
|
157
|
+
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
158
|
+
]);
|
159
|
+
};
|
160
|
+
}
|
161
|
+
});
|
162
|
+
export {
|
163
|
+
ge as default
|
164
|
+
};
|
@@ -0,0 +1,179 @@
|
|
1
|
+
import { defineComponent as H, ref as u, onMounted as P, computed as j, watch as Q, resolveComponent as f, openBlock as p, createElementBlock as U, createVNode as _, unref as l, withCtx as c, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as C, isRef as L, withKeys as T, normalizeClass as Z, withModifiers as G, createTextVNode as $, Fragment as J, renderList as W, nextTick as A } from "vue";
|
2
|
+
import { useRoute as X } from "vue-router";
|
3
|
+
import { D as Y, S as w, I as a, U as F, F as I, t as ee, r as K, R as te } 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 le = { class: "login-container" }, oe = { class: "title-container" }, se = { class: "title" }, re = { class: "btn-others" }, ne = ["href"], ae = ["innerHTML"], ke = /* @__PURE__ */ H({
|
11
|
+
__name: "Index",
|
12
|
+
setup(ie) {
|
13
|
+
let i = u({ id: "", secret: "" }), d = u("password"), r = u(!1), y = u(!1), V = u(), h = u(), b = u(), x = X(), M = {
|
14
|
+
id: [{
|
15
|
+
required: !0,
|
16
|
+
trigger: "blur",
|
17
|
+
validator: (t, e, s) => {
|
18
|
+
e ? e.indexOf("@") > -1 ? F.string.isEmail(e) ? s() : s(new Error("邮箱格式不正确")) : s() : s(new Error(a.t("common.username_or_email") + " " + a.t("common.should_not_null")));
|
19
|
+
}
|
20
|
+
}]
|
21
|
+
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
22
|
+
}, N = (t) => {
|
23
|
+
t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? r.value = !0 : r.value = !1), t.key == "CapsLock" && r.value == !0 && (r.value = !1);
|
24
|
+
}, B = () => {
|
25
|
+
d.value == "password" ? d.value = "" : d.value = "password", A(() => {
|
26
|
+
b.value.focus();
|
27
|
+
});
|
28
|
+
}, E = async (t) => {
|
29
|
+
y.value = !0, V.value.validate(async (e) => {
|
30
|
+
if (!e)
|
31
|
+
return y.value = !1, !1;
|
32
|
+
(await I.sso.createAsync(t)).login(i.value).then(async ({ data: m }) => {
|
33
|
+
await ee(m), F.url.getBackUrl() != null ? K.toBackUrl() : K.to("/");
|
34
|
+
}).finally(() => {
|
35
|
+
A(() => {
|
36
|
+
y.value = !1;
|
37
|
+
});
|
38
|
+
});
|
39
|
+
});
|
40
|
+
}, O = async (t) => {
|
41
|
+
let e = await I.sso.createAsync(t), s = x.query.return_url, m = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${s}`;
|
42
|
+
return e.loginUrl(te.setting.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(m));
|
43
|
+
}, S = (t) => Object.keys(t).reduce((e, s) => (e[s] = t[s], e), {});
|
44
|
+
P(async () => {
|
45
|
+
Y.i18n.setI18nTitle("common.login");
|
46
|
+
for (let t = 0; t < w.setting.ssos.length; t++) {
|
47
|
+
let e = w.setting.ssos[t];
|
48
|
+
e.loginUrl = await O(e.type);
|
49
|
+
}
|
50
|
+
g.value != null && (i.value.id == "" ? h.value.focus() : i.value.secret == "" && b.value.focus());
|
51
|
+
});
|
52
|
+
let g = j(() => w.setting.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
53
|
+
return Q(() => x, (t) => {
|
54
|
+
debugger;
|
55
|
+
const e = t.query;
|
56
|
+
e && S(e);
|
57
|
+
}), (t, e) => {
|
58
|
+
const s = f("el-input"), m = f("el-form-item"), R = f("el-tooltip"), q = f("el-button"), D = f("router-link"), z = f("el-form");
|
59
|
+
return p(), U("div", le, [
|
60
|
+
_(z, {
|
61
|
+
ref_key: "loginFormRef",
|
62
|
+
ref: V,
|
63
|
+
autocomplete: "on",
|
64
|
+
"label-position": "left",
|
65
|
+
model: l(i),
|
66
|
+
rules: l(M)
|
67
|
+
}, {
|
68
|
+
default: c(() => [
|
69
|
+
n("div", oe, [
|
70
|
+
n("h3", se, k(l(a).sys("title")), 1)
|
71
|
+
]),
|
72
|
+
l(g) ? (p(), v(m, {
|
73
|
+
key: 0,
|
74
|
+
prop: "id"
|
75
|
+
}, {
|
76
|
+
default: c(() => [
|
77
|
+
e[7] || (e[7] = n("span", { class: "svg-container" }, [
|
78
|
+
n("i", { class: "fa fa-user" })
|
79
|
+
], -1)),
|
80
|
+
_(s, {
|
81
|
+
ref_key: "idRef",
|
82
|
+
ref: h,
|
83
|
+
placeholder: l(a).t("common.username_or_email"),
|
84
|
+
name: "id",
|
85
|
+
type: "text",
|
86
|
+
tabindex: "1",
|
87
|
+
autocomplete: "on",
|
88
|
+
modelValue: l(i).id,
|
89
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => l(i).id = o)
|
90
|
+
}, null, 8, ["placeholder", "modelValue"])
|
91
|
+
]),
|
92
|
+
_: 1
|
93
|
+
})) : C("", !0),
|
94
|
+
l(g) ? (p(), v(R, {
|
95
|
+
key: 1,
|
96
|
+
content: "Caps lock is On",
|
97
|
+
placement: "right",
|
98
|
+
manual: "",
|
99
|
+
modelValue: l(r),
|
100
|
+
"onUpdate:modelValue": e[5] || (e[5] = (o) => L(r) ? r.value = o : r = o)
|
101
|
+
}, {
|
102
|
+
default: c(() => [
|
103
|
+
_(m, { prop: "secret" }, {
|
104
|
+
default: c(() => [
|
105
|
+
e[8] || (e[8] = n("span", { class: "svg-container" }, [
|
106
|
+
n("i", { class: "fa fa-key" })
|
107
|
+
], -1)),
|
108
|
+
(p(), v(s, {
|
109
|
+
ref_key: "secretRef",
|
110
|
+
ref: b,
|
111
|
+
key: l(d),
|
112
|
+
type: l(d),
|
113
|
+
placeholder: l(a).t("common.password"),
|
114
|
+
name: "secret",
|
115
|
+
tabindex: "2",
|
116
|
+
autocomplete: "on",
|
117
|
+
onKeyup: [
|
118
|
+
T(l(N), ["native"]),
|
119
|
+
e[2] || (e[2] = T((o) => l(E)("Bearer"), ["enter", "native"]))
|
120
|
+
],
|
121
|
+
onBlur: e[1] || (e[1] = (o) => L(r) ? r.value = !1 : r = !1),
|
122
|
+
modelValue: l(i).secret,
|
123
|
+
"onUpdate:modelValue": e[3] || (e[3] = (o) => l(i).secret = o)
|
124
|
+
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
125
|
+
n("span", {
|
126
|
+
class: "btn-pwd",
|
127
|
+
onClick: e[4] || (e[4] = //@ts-ignore
|
128
|
+
(...o) => l(B) && l(B)(...o))
|
129
|
+
}, [
|
130
|
+
n("i", {
|
131
|
+
class: Z(l(d) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
132
|
+
}, null, 2)
|
133
|
+
])
|
134
|
+
]),
|
135
|
+
_: 1
|
136
|
+
})
|
137
|
+
]),
|
138
|
+
_: 1
|
139
|
+
}, 8, ["modelValue"])) : C("", !0),
|
140
|
+
l(g) ? (p(), v(q, {
|
141
|
+
key: 2,
|
142
|
+
type: "primary",
|
143
|
+
class: "btn-login",
|
144
|
+
loading: l(y),
|
145
|
+
onClick: e[6] || (e[6] = G((o) => l(E)("Bearer"), ["prevent"]))
|
146
|
+
}, {
|
147
|
+
default: c(() => [
|
148
|
+
$(k(l(a).t("common.login")), 1)
|
149
|
+
]),
|
150
|
+
_: 1
|
151
|
+
}, 8, ["loading"])) : C("", !0),
|
152
|
+
n("div", re, [
|
153
|
+
(p(!0), U(J, null, W(l(w).setting.ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (p(), U("a", {
|
154
|
+
href: o.loginUrl
|
155
|
+
}, k(l(a).t(o.text)), 9, ne))), 256)),
|
156
|
+
_(D, {
|
157
|
+
class: "btn-register",
|
158
|
+
to: "/register"
|
159
|
+
}, {
|
160
|
+
default: c(() => [
|
161
|
+
$(k(l(a).t("common.register")), 1)
|
162
|
+
]),
|
163
|
+
_: 1
|
164
|
+
})
|
165
|
+
])
|
166
|
+
]),
|
167
|
+
_: 1
|
168
|
+
}, 8, ["model", "rules"]),
|
169
|
+
n("div", {
|
170
|
+
class: "powered-by",
|
171
|
+
innerHTML: l(a).t("sys.powered_by")
|
172
|
+
}, null, 8, ae)
|
173
|
+
]);
|
174
|
+
};
|
175
|
+
}
|
176
|
+
});
|
177
|
+
export {
|
178
|
+
ke as default
|
179
|
+
};
|