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
package/dist/Date-DPPiYLWw.js
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
import { defineComponent as i, toRefs as f, computed as _, resolveComponent as V, openBlock as b, createBlock as h, unref as e, isRef as k } from "vue";
|
2
|
-
import { T as g } from "./main-DymfKjqO.js";
|
3
|
-
const C = /* @__PURE__ */ i({
|
4
|
-
__name: "Date",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(n, { emit: r }) {
|
15
|
-
let o = r, p = n, { table: s, field: a, set: x, modelValue: u } = f(p), l = _({
|
16
|
-
get() {
|
17
|
-
return u.value;
|
18
|
-
},
|
19
|
-
set(t) {
|
20
|
-
o("update:modelValue", t), o("change", t);
|
21
|
-
}
|
22
|
-
});
|
23
|
-
return (t, d) => {
|
24
|
-
const c = V("el-date-picker");
|
25
|
-
return b(), h(c, {
|
26
|
-
type: "date",
|
27
|
-
placeholder: e(g)(e(s).name, e(a).name),
|
28
|
-
disabled: e(a).control.readonly,
|
29
|
-
modelValue: e(l),
|
30
|
-
"onUpdate:modelValue": d[0] || (d[0] = (m) => k(l) ? l.value = m : l = m)
|
31
|
-
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
32
|
-
};
|
33
|
-
}
|
34
|
-
});
|
35
|
-
export {
|
36
|
-
C as default
|
37
|
-
};
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as b, createBlock as h, unref as e, isRef as k } from "vue";
|
2
|
-
import { T as Y } from "./main-DymfKjqO.js";
|
3
|
-
const T = /* @__PURE__ */ c({
|
4
|
-
__name: "DateTime",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(r, { emit: n }) {
|
15
|
-
let o = n, s = r, { table: p, field: a, set: g, modelValue: u } = f(s), l = _({
|
16
|
-
get() {
|
17
|
-
return u.value;
|
18
|
-
},
|
19
|
-
set(t) {
|
20
|
-
o("update:modelValue", t), o("change", t);
|
21
|
-
}
|
22
|
-
});
|
23
|
-
return (t, m) => {
|
24
|
-
const i = V("el-date-picker");
|
25
|
-
return b(), h(i, {
|
26
|
-
type: "datetime",
|
27
|
-
"value-format": "YYYY-MM-DD HH:mm:ss SSS",
|
28
|
-
disabled: e(a).control.readonly,
|
29
|
-
placeholder: e(Y)(e(p).name, e(a).name),
|
30
|
-
modelValue: e(l),
|
31
|
-
"onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
|
32
|
-
}, null, 8, ["disabled", "placeholder", "modelValue"]);
|
33
|
-
};
|
34
|
-
}
|
35
|
-
});
|
36
|
-
export {
|
37
|
-
T as default
|
38
|
-
};
|
package/dist/Delete-Bl0GmthL.js
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
import { defineComponent as x, toRefs as g, ref as y, resolveComponent as B, openBlock as D, createElementBlock as N, createElementVNode as i, toDisplayString as o, unref as e, createVNode as r, withCtx as d, createTextVNode as m } from "vue";
|
2
|
-
import { p as l, _ as V, l as w, r as E } from "./main-DymfKjqO.js";
|
3
|
-
const S = { class: "delete" }, q = { class: "delete-title" }, R = { class: "delete-buttons" }, z = /* @__PURE__ */ x({
|
4
|
-
__name: "Delete",
|
5
|
-
props: {
|
6
|
-
base: {},
|
7
|
-
route: {},
|
8
|
-
url: {},
|
9
|
-
win: {}
|
10
|
-
},
|
11
|
-
emits: ["navigate", "succeed", "close"],
|
12
|
-
setup(u, { emit: _ }) {
|
13
|
-
let c = _, p = u, { base: f, route: v } = g(p), n = y(), k = (t) => {
|
14
|
-
n.value = t.next;
|
15
|
-
};
|
16
|
-
(() => {
|
17
|
-
k(f.value.data);
|
18
|
-
})();
|
19
|
-
let C = () => {
|
20
|
-
let t = [v.value.query.id];
|
21
|
-
V.post(n.value.delete.route, t).then((s) => {
|
22
|
-
w.success(s.message), b();
|
23
|
-
});
|
24
|
-
}, b = () => {
|
25
|
-
E.toBackUrl(), c("succeed", "delete");
|
26
|
-
}, h = () => {
|
27
|
-
c("close");
|
28
|
-
};
|
29
|
-
return (t, s) => {
|
30
|
-
const a = B("el-button");
|
31
|
-
return D(), N("div", S, [
|
32
|
-
i("div", q, o(e(l)("common.confirm_delete")), 1),
|
33
|
-
i("div", R, [
|
34
|
-
r(a, {
|
35
|
-
type: "danger",
|
36
|
-
onClick: e(C)
|
37
|
-
}, {
|
38
|
-
default: d(() => [
|
39
|
-
m(o(e(l)("common.confirm")), 1)
|
40
|
-
]),
|
41
|
-
_: 1
|
42
|
-
}, 8, ["onClick"]),
|
43
|
-
r(a, { onClick: e(h) }, {
|
44
|
-
default: d(() => [
|
45
|
-
m(o(e(l)("common.cancel")), 1)
|
46
|
-
]),
|
47
|
-
_: 1
|
48
|
-
}, 8, ["onClick"])
|
49
|
-
])
|
50
|
-
]);
|
51
|
-
};
|
52
|
-
}
|
53
|
-
});
|
54
|
-
export {
|
55
|
-
z as default
|
56
|
-
};
|
package/dist/Detail-BozyhOTt.js
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
import { defineComponent as v, toRefs as x, resolveComponent as b, openBlock as D, createBlock as N, unref as e, withCtx as t, createVNode as a, createElementVNode as p, createTextVNode as m, toDisplayString as r } from "vue";
|
2
|
-
import { D as V, p as c } from "./main-DymfKjqO.js";
|
3
|
-
import "element-plus";
|
4
|
-
import "vue-router";
|
5
|
-
import "./assets/intro.js-Cg1adLK7.js";
|
6
|
-
const $ = /* @__PURE__ */ v({
|
7
|
-
__name: "Detail",
|
8
|
-
props: {
|
9
|
-
route: {},
|
10
|
-
table: {},
|
11
|
-
next: {},
|
12
|
-
set: {}
|
13
|
-
},
|
14
|
-
emits: ["copy", "edit", "close"],
|
15
|
-
setup(u, { emit: d }) {
|
16
|
-
let n = d, y = u, { route: g, table: s, set: f, next: B } = x(y), k = (l) => {
|
17
|
-
n("copy", f.value[s.value.name][0], l);
|
18
|
-
}, C = (l) => {
|
19
|
-
n("edit", f.value[s.value.name][0], l);
|
20
|
-
}, _ = () => {
|
21
|
-
n("close");
|
22
|
-
};
|
23
|
-
return (l, o) => {
|
24
|
-
const i = b("el-button");
|
25
|
-
return D(), N(e(V), { padding: 5 }, {
|
26
|
-
default: t(() => [
|
27
|
-
a(i, {
|
28
|
-
type: "primary",
|
29
|
-
onClick: e(C)
|
30
|
-
}, {
|
31
|
-
icon: t(() => o[0] || (o[0] = [
|
32
|
-
p("i", { class: "fa fa-edit" }, null, -1)
|
33
|
-
])),
|
34
|
-
default: t(() => [
|
35
|
-
m(" " + r(e(c)("common.modify")), 1)
|
36
|
-
]),
|
37
|
-
_: 1
|
38
|
-
}, 8, ["onClick"]),
|
39
|
-
a(i, {
|
40
|
-
type: "primary",
|
41
|
-
plain: "",
|
42
|
-
onClick: e(k)
|
43
|
-
}, {
|
44
|
-
icon: t(() => o[1] || (o[1] = [
|
45
|
-
p("i", { class: "fa fa-copy" }, null, -1)
|
46
|
-
])),
|
47
|
-
default: t(() => [
|
48
|
-
m(" " + r(e(c)("common.copy")), 1)
|
49
|
-
]),
|
50
|
-
_: 1
|
51
|
-
}, 8, ["onClick"]),
|
52
|
-
a(i, { onClick: e(_) }, {
|
53
|
-
icon: t(() => o[2] || (o[2] = [
|
54
|
-
p("i", { class: "fa fa-chevron-left" }, null, -1)
|
55
|
-
])),
|
56
|
-
default: t(() => [
|
57
|
-
m(" " + r(e(c)("common.back")), 1)
|
58
|
-
]),
|
59
|
-
_: 1
|
60
|
-
}, 8, ["onClick"])
|
61
|
-
]),
|
62
|
-
_: 1
|
63
|
-
});
|
64
|
-
};
|
65
|
-
}
|
66
|
-
});
|
67
|
-
export {
|
68
|
-
$ as default
|
69
|
-
};
|
package/dist/Email-D5X1SzuJ.js
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
import { defineComponent as f, toRefs as V, computed as _, resolveComponent as b, openBlock as y, createBlock as h, 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 { E } from "./main-DymfKjqO.js";
|
3
|
-
const S = /* @__PURE__ */ f({
|
4
|
-
__name: "Email",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
modelValue: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change", "update:modelValue"],
|
14
|
-
setup(i, { emit: s }) {
|
15
|
-
let o = s, u = i, { table: d, field: t, set: K, modelValue: p } = V(u), r = () => {
|
16
|
-
o("submit");
|
17
|
-
}, l = _({
|
18
|
-
get() {
|
19
|
-
return p.value;
|
20
|
-
},
|
21
|
-
set(a) {
|
22
|
-
o("update:modelValue", a), o("change", a);
|
23
|
-
}
|
24
|
-
});
|
25
|
-
return (a, n) => {
|
26
|
-
const c = b("el-input");
|
27
|
-
return y(), h(c, {
|
28
|
-
type: "email",
|
29
|
-
disabled: e(t).control.readonly,
|
30
|
-
placeholder: e(E)(e(d).name, e(t).name),
|
31
|
-
onKeyup: x(e(r), ["enter", "native"]),
|
32
|
-
modelValue: e(l),
|
33
|
-
"onUpdate:modelValue": n[0] || (n[0] = (m) => g(l) ? l.value = m : l = m)
|
34
|
-
}, k({ _: 2 }, [
|
35
|
-
e(t).suffix ? {
|
36
|
-
name: "append",
|
37
|
-
fn: v(() => [
|
38
|
-
w(C(e(t).suffix), 1)
|
39
|
-
]),
|
40
|
-
key: "0"
|
41
|
-
} : void 0
|
42
|
-
]), 1032, ["disabled", "placeholder", "onKeyup", "modelValue"]);
|
43
|
-
};
|
44
|
-
}
|
45
|
-
});
|
46
|
-
export {
|
47
|
-
S as default
|
48
|
-
};
|
package/dist/File-DixK0K7p.js
DELETED
@@ -1,158 +0,0 @@
|
|
1
|
-
import { defineComponent as P, toRefs as T, ref as A, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as y, unref as e, withCtx as r, createElementVNode as s, normalizeClass as w, Fragment as x, renderList as L, createBlock as g, toDisplayString as _, createTextVNode as q, createCommentVNode as z } from "vue";
|
2
|
-
import { useRoute as G, useRouter as H } from "vue-router";
|
3
|
-
import { s as I, $ as J, n as m, p as K, _ as M, w as O } from "./main-DymfKjqO.js";
|
4
|
-
import "element-plus";
|
5
|
-
import "./assets/intro.js-Cg1adLK7.js";
|
6
|
-
import { _ as Q } from "./SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js";
|
7
|
-
const U = { class: "file-layout" }, W = { class: "toolbar" }, X = {
|
8
|
-
key: 0,
|
9
|
-
class: "files-image"
|
10
|
-
}, Y = { class: "file-image" }, Z = ["src"], ee = { class: "file-title" }, te = { class: "file-name" }, ae = ["src", "alt"], oe = { class: "file-title" }, le = {
|
11
|
-
key: 2,
|
12
|
-
class: "not-support"
|
13
|
-
}, pe = /* @__PURE__ */ P({
|
14
|
-
__name: "File",
|
15
|
-
props: {
|
16
|
-
searchData: {},
|
17
|
-
module: {},
|
18
|
-
schema: {},
|
19
|
-
table: {},
|
20
|
-
layout: {},
|
21
|
-
next: {},
|
22
|
-
set: {},
|
23
|
-
url: {},
|
24
|
-
win: {}
|
25
|
-
},
|
26
|
-
setup(F) {
|
27
|
-
let N = F, { schema: S, table: n, layout: i, next: d, set: b, searchData: se } = T(N), f = G(), v = H(), k = A(), C = (o) => {
|
28
|
-
let t = { type: "fileLayout", value: o };
|
29
|
-
M.post("/config/save", t).then((h) => {
|
30
|
-
m.fileLayout = o;
|
31
|
-
});
|
32
|
-
}, V = (o) => {
|
33
|
-
let t = { ...f.query };
|
34
|
-
t.page = o, v.push({ path: d.value.paging.route, query: t });
|
35
|
-
}, B = () => {
|
36
|
-
let o = { ...f.query };
|
37
|
-
o.page = "1", o.condition = O.encode(k.value);
|
38
|
-
let t = { path: d.value.paging.route, query: o };
|
39
|
-
v.push(t);
|
40
|
-
};
|
41
|
-
return (o, t) => {
|
42
|
-
const h = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), j = p("el-pagination");
|
43
|
-
return l(), u("div", U, [
|
44
|
-
y(e(I), {
|
45
|
-
title: e(J)(o.module.type, o.module.name)
|
46
|
-
}, {
|
47
|
-
operation: r(() => [
|
48
|
-
s("div", W, [
|
49
|
-
s("a", {
|
50
|
-
class: w({ active: e(m).fileLayout == "list" }),
|
51
|
-
onClick: t[0] || (t[0] = (a) => e(C)("list"))
|
52
|
-
}, t[2] || (t[2] = [
|
53
|
-
s("i", { class: "fa fa-list" }, null, -1)
|
54
|
-
]), 2),
|
55
|
-
s("a", {
|
56
|
-
class: w({ active: e(m).fileLayout == "image" }),
|
57
|
-
onClick: t[1] || (t[1] = (a) => e(C)("image"))
|
58
|
-
}, t[3] || (t[3] = [
|
59
|
-
s("i", { class: "fa fa-image" }, null, -1)
|
60
|
-
]), 2)
|
61
|
-
])
|
62
|
-
]),
|
63
|
-
append: r(() => [
|
64
|
-
e(m).fileLayout == "image" ? (l(), u("div", X, [
|
65
|
-
(l(!0), u(x, null, L(e(b)[e(n).name], (a, $) => (l(), g(h, {
|
66
|
-
class: "file",
|
67
|
-
to: { path: e(d).detail.route, query: { id: a[e(n).key.name], m: e(f).query.m } },
|
68
|
-
key: $
|
69
|
-
}, {
|
70
|
-
default: r(() => [
|
71
|
-
s("div", Y, [
|
72
|
-
s("img", {
|
73
|
-
src: a[e(i).url],
|
74
|
-
alt: ""
|
75
|
-
}, null, 8, Z)
|
76
|
-
]),
|
77
|
-
s("div", ee, _(a[e(i).name]), 1)
|
78
|
-
]),
|
79
|
-
_: 2
|
80
|
-
}, 1032, ["to"]))), 128))
|
81
|
-
])) : e(m).fileLayout == "list" ? (l(), g(R, {
|
82
|
-
key: 1,
|
83
|
-
class: "files-list",
|
84
|
-
border: "",
|
85
|
-
data: e(b)[e(n).name]
|
86
|
-
}, {
|
87
|
-
empty: r(() => [
|
88
|
-
q(_(e(K)("common.no_data")), 1)
|
89
|
-
]),
|
90
|
-
default: r(() => [
|
91
|
-
(l(!0), u(x, null, L(e(n).show, (a, $) => (l(), g(D, {
|
92
|
-
"show-overflow-tooltip": "",
|
93
|
-
sortable: e(n) ? "custom" : !1,
|
94
|
-
"min-width": "180",
|
95
|
-
"sort-orders": ["descending", "ascending"],
|
96
|
-
prop: a.name,
|
97
|
-
label: `${a.label}${a.prefix || a.suffix ? "(" + (a.prefix || a.suffix) + ")" : ""}`,
|
98
|
-
key: `${e(n).name}.${a.name}`
|
99
|
-
}, {
|
100
|
-
default: r((c) => [
|
101
|
-
s("div", te, [
|
102
|
-
c.column.property == e(i).name ? (l(), u("img", {
|
103
|
-
key: 0,
|
104
|
-
class: "file-image",
|
105
|
-
src: c.row[e(i).url],
|
106
|
-
alt: c.row[e(i).name]
|
107
|
-
}, null, 8, ae)) : z("", !0),
|
108
|
-
s("div", oe, _(c.row[c.column.property]), 1)
|
109
|
-
])
|
110
|
-
]),
|
111
|
-
_: 2
|
112
|
-
}, 1032, ["sortable", "prop", "label"]))), 128))
|
113
|
-
]),
|
114
|
-
_: 1
|
115
|
-
}, 8, ["data"])) : (l(), u("div", le, "未支持的文件布局:" + _(e(m).fileLayout), 1))
|
116
|
-
]),
|
117
|
-
default: r(() => [
|
118
|
-
e(n).search.length > 0 ? (l(), g(Q, {
|
119
|
-
key: 0,
|
120
|
-
schema: e(S),
|
121
|
-
table: e(n),
|
122
|
-
search: e(k),
|
123
|
-
onSubmit: e(B)
|
124
|
-
}, null, 8, ["schema", "table", "search", "onSubmit"])) : z("", !0)
|
125
|
-
]),
|
126
|
-
_: 1
|
127
|
-
}, 8, ["title"]),
|
128
|
-
y(E, {
|
129
|
-
type: "primary",
|
130
|
-
icon: "el-icon-plus"
|
131
|
-
}, {
|
132
|
-
default: r(() => [
|
133
|
-
y(h, {
|
134
|
-
to: { path: e(d).insert.route, query: { m: e(f).query.m } }
|
135
|
-
}, {
|
136
|
-
default: r(() => [
|
137
|
-
q("添加新" + _(e(n).title), 1)
|
138
|
-
]),
|
139
|
-
_: 1
|
140
|
-
}, 8, ["to"])
|
141
|
-
]),
|
142
|
-
_: 1
|
143
|
-
}),
|
144
|
-
y(j, {
|
145
|
-
background: "",
|
146
|
-
layout: "total, prev, pager, next, jumper",
|
147
|
-
"current-page": e(i).page,
|
148
|
-
"page-size": e(i).size,
|
149
|
-
total: e(i).count,
|
150
|
-
onCurrentChange: e(V)
|
151
|
-
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
152
|
-
]);
|
153
|
-
};
|
154
|
-
}
|
155
|
-
});
|
156
|
-
export {
|
157
|
-
pe as default
|
158
|
-
};
|
package/dist/Image-BrelhCGo.js
DELETED
package/dist/Index-BeM6hKX9.js
DELETED
package/dist/Index-BkfLyqpm.js
DELETED
@@ -1,173 +0,0 @@
|
|
1
|
-
import { defineComponent as X, ref as u, onMounted as j, computed as D, watch as J, resolveComponent as p, openBlock as d, createElementBlock as R, createVNode as g, unref as t, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as U, isRef as K, withKeys as L, normalizeClass as P, withModifiers as Q, createTextVNode as T, Fragment as Z, renderList as G, nextTick as $ } from "vue";
|
2
|
-
import { useRoute as W } from "vue-router";
|
3
|
-
import { B as Y, X as w, J as ee, p as i, d as A, I as F, r as I, K as le } from "./main-DymfKjqO.js";
|
4
|
-
const te = { class: "login-container" }, oe = { class: "title-container" }, re = { class: "title" }, se = { class: "btn-others" }, ne = ["href"], ae = ["innerHTML"], pe = /* @__PURE__ */ X({
|
5
|
-
__name: "Index",
|
6
|
-
setup(ie) {
|
7
|
-
let a = u({ id: "", secret: "" }), f = u("password"), s = u(!1), y = u(!1), B = u(), V = u(), b = u(), h = W(), M = {
|
8
|
-
id: [{
|
9
|
-
required: !0,
|
10
|
-
trigger: "blur",
|
11
|
-
validator: (l, e, r) => {
|
12
|
-
e ? e.indexOf("@") > -1 ? A.string.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
13
|
-
}
|
14
|
-
}]
|
15
|
-
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
16
|
-
}, N = (l) => {
|
17
|
-
l.key && l.key.length == 1 && (l.shiftKey && l.key >= "a" && l.key <= "z" || !l.shiftKey && l.key >= "A" && l.key <= "Z" ? s.value = !0 : s.value = !1), l.key == "CapsLock" && s.value == !0 && (s.value = !1);
|
18
|
-
}, x = () => {
|
19
|
-
f.value == "password" ? f.value = "" : f.value = "password", $(() => {
|
20
|
-
b.value.focus();
|
21
|
-
});
|
22
|
-
}, E = async (l) => {
|
23
|
-
y.value = !0, B.value.validate(async (e) => {
|
24
|
-
if (!e)
|
25
|
-
return y.value = !1, !1;
|
26
|
-
(await F.sso.createAsync(l)).login(a.value).then(({ data: c }) => {
|
27
|
-
A.url.getBackUrl() ? I.toBackUrl() : I.to("/");
|
28
|
-
}).finally(() => {
|
29
|
-
$(() => {
|
30
|
-
y.value = !1;
|
31
|
-
});
|
32
|
-
});
|
33
|
-
});
|
34
|
-
}, O = async (l) => {
|
35
|
-
let e = await F.sso.createAsync(l), r = h.query.return_url, c = `${window.location.origin}/sso/callback?type=${l.toLowerCase()}&return_url=${r}`;
|
36
|
-
return e.loginUrl(le.api.url + `/user/login?type=${l.toLowerCase()}&callback_url=` + encodeURIComponent(c));
|
37
|
-
}, q = (l) => Object.keys(l).reduce((e, r) => (e[r] = l[r], e), {});
|
38
|
-
j(async () => {
|
39
|
-
Y.setI18nTitle("common.login");
|
40
|
-
for (let l = 0; l < w.ssos.length; l++) {
|
41
|
-
let e = w.ssos[l];
|
42
|
-
e.loginUrl = await O(e.type);
|
43
|
-
}
|
44
|
-
_.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && b.value.focus());
|
45
|
-
});
|
46
|
-
let _ = D(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
47
|
-
return J(() => h, (l) => {
|
48
|
-
debugger;
|
49
|
-
const e = l.query;
|
50
|
-
e && q(e);
|
51
|
-
}), (l, e) => {
|
52
|
-
const r = p("el-input"), c = p("el-form-item"), C = p("el-tooltip"), S = p("el-button"), z = p("router-link"), H = p("el-form");
|
53
|
-
return d(), R("div", te, [
|
54
|
-
g(H, {
|
55
|
-
ref_key: "loginFormRef",
|
56
|
-
ref: B,
|
57
|
-
autocomplete: "on",
|
58
|
-
"label-position": "left",
|
59
|
-
model: t(a),
|
60
|
-
rules: t(M)
|
61
|
-
}, {
|
62
|
-
default: m(() => [
|
63
|
-
n("div", oe, [
|
64
|
-
n("h3", re, k(t(ee)("title")), 1)
|
65
|
-
]),
|
66
|
-
t(_) ? (d(), v(c, {
|
67
|
-
key: 0,
|
68
|
-
prop: "id"
|
69
|
-
}, {
|
70
|
-
default: m(() => [
|
71
|
-
e[7] || (e[7] = n("span", { class: "svg-container" }, [
|
72
|
-
n("i", { class: "fa fa-user" })
|
73
|
-
], -1)),
|
74
|
-
g(r, {
|
75
|
-
ref_key: "idRef",
|
76
|
-
ref: V,
|
77
|
-
placeholder: t(i)("common.username_or_email"),
|
78
|
-
name: "id",
|
79
|
-
type: "text",
|
80
|
-
tabindex: "1",
|
81
|
-
autocomplete: "on",
|
82
|
-
modelValue: t(a).id,
|
83
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) => t(a).id = o)
|
84
|
-
}, null, 8, ["placeholder", "modelValue"])
|
85
|
-
]),
|
86
|
-
_: 1
|
87
|
-
})) : U("", !0),
|
88
|
-
t(_) ? (d(), v(C, {
|
89
|
-
key: 1,
|
90
|
-
content: "Caps lock is On",
|
91
|
-
placement: "right",
|
92
|
-
manual: "",
|
93
|
-
modelValue: t(s),
|
94
|
-
"onUpdate:modelValue": e[5] || (e[5] = (o) => K(s) ? s.value = o : s = o)
|
95
|
-
}, {
|
96
|
-
default: m(() => [
|
97
|
-
g(c, { prop: "secret" }, {
|
98
|
-
default: m(() => [
|
99
|
-
e[8] || (e[8] = n("span", { class: "svg-container" }, [
|
100
|
-
n("i", { class: "fa fa-key" })
|
101
|
-
], -1)),
|
102
|
-
(d(), v(r, {
|
103
|
-
ref_key: "secretRef",
|
104
|
-
ref: b,
|
105
|
-
key: t(f),
|
106
|
-
type: t(f),
|
107
|
-
placeholder: t(i)("common.password"),
|
108
|
-
name: "secret",
|
109
|
-
tabindex: "2",
|
110
|
-
autocomplete: "on",
|
111
|
-
onKeyup: [
|
112
|
-
L(t(N), ["native"]),
|
113
|
-
e[2] || (e[2] = L((o) => t(E)("Bearer"), ["enter", "native"]))
|
114
|
-
],
|
115
|
-
onBlur: e[1] || (e[1] = (o) => K(s) ? s.value = !1 : s = !1),
|
116
|
-
modelValue: t(a).secret,
|
117
|
-
"onUpdate:modelValue": e[3] || (e[3] = (o) => t(a).secret = o)
|
118
|
-
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
119
|
-
n("span", {
|
120
|
-
class: "btn-pwd",
|
121
|
-
onClick: e[4] || (e[4] = //@ts-ignore
|
122
|
-
(...o) => t(x) && t(x)(...o))
|
123
|
-
}, [
|
124
|
-
n("i", {
|
125
|
-
class: P(t(f) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
126
|
-
}, null, 2)
|
127
|
-
])
|
128
|
-
]),
|
129
|
-
_: 1
|
130
|
-
})
|
131
|
-
]),
|
132
|
-
_: 1
|
133
|
-
}, 8, ["modelValue"])) : U("", !0),
|
134
|
-
t(_) ? (d(), v(S, {
|
135
|
-
key: 2,
|
136
|
-
type: "primary",
|
137
|
-
class: "btn-login",
|
138
|
-
loading: t(y),
|
139
|
-
onClick: e[6] || (e[6] = Q((o) => t(E)("Bearer"), ["prevent"]))
|
140
|
-
}, {
|
141
|
-
default: m(() => [
|
142
|
-
T(k(t(i)("common.login")), 1)
|
143
|
-
]),
|
144
|
-
_: 1
|
145
|
-
}, 8, ["loading"])) : U("", !0),
|
146
|
-
n("div", se, [
|
147
|
-
(d(!0), R(Z, null, G(t(w).ssos.filter((o) => o.type.toUpperCase() != "BEARER"), (o) => (d(), R("a", {
|
148
|
-
href: o.loginUrl
|
149
|
-
}, k(t(i)(o.text)), 9, ne))), 256)),
|
150
|
-
g(z, {
|
151
|
-
class: "btn-register",
|
152
|
-
to: "/register"
|
153
|
-
}, {
|
154
|
-
default: m(() => [
|
155
|
-
T(k(t(i)("common.register")), 1)
|
156
|
-
]),
|
157
|
-
_: 1
|
158
|
-
})
|
159
|
-
])
|
160
|
-
]),
|
161
|
-
_: 1
|
162
|
-
}, 8, ["model", "rules"]),
|
163
|
-
n("div", {
|
164
|
-
class: "powered-by",
|
165
|
-
innerHTML: t(i)("sys.powered_by")
|
166
|
-
}, null, 8, ae)
|
167
|
-
]);
|
168
|
-
};
|
169
|
-
}
|
170
|
-
});
|
171
|
-
export {
|
172
|
-
pe as default
|
173
|
-
};
|
package/dist/Index-D8UVsXwf.js
DELETED
package/dist/Index-DbXgnBz6.js
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
import { defineComponent as C, defineAsyncComponent as D, toRefs as N, computed as p, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as y, isRef as b, createElementVNode as w, toDisplayString as h } from "vue";
|
2
|
-
import { d as B, p as x } from "./main-DymfKjqO.js";
|
3
|
-
const A = /* @__PURE__ */ C({
|
4
|
-
__name: "Index",
|
5
|
-
props: {
|
6
|
-
schema: {},
|
7
|
-
table: {},
|
8
|
-
field: {},
|
9
|
-
set: {},
|
10
|
-
row: {},
|
11
|
-
config: {}
|
12
|
-
},
|
13
|
-
emits: ["submit", "change"],
|
14
|
-
setup(g, { emit: R }) {
|
15
|
-
let V = D(() => import("./TextLink-BnijIoEJ.js")), k = g, { schema: u, table: s, field: l, set: d, row: a, config: m } = N(k), i = p(() => {
|
16
|
-
let o = l.value.control.type;
|
17
|
-
return m.value && m.value.control && m.value.control.type ? m.value.control.type : o;
|
18
|
-
}), _ = p(() => `text-${B.string.getDashName(i.value)}`), t = p({
|
19
|
-
get() {
|
20
|
-
return a.value[l.value.name];
|
21
|
-
},
|
22
|
-
set(o) {
|
23
|
-
a.value[l.value.name] = o;
|
24
|
-
}
|
25
|
-
});
|
26
|
-
return (o, n) => e(l).link ? (c(), f(e(V), {
|
27
|
-
key: 0,
|
28
|
-
schema: e(u),
|
29
|
-
table: e(s),
|
30
|
-
field: e(l),
|
31
|
-
set: e(d),
|
32
|
-
row: e(a)
|
33
|
-
}, {
|
34
|
-
default: v(() => [
|
35
|
-
(c(), f(y(e(_)), {
|
36
|
-
schema: e(u),
|
37
|
-
table: e(s),
|
38
|
-
field: e(l),
|
39
|
-
set: e(d),
|
40
|
-
row: e(a),
|
41
|
-
modelValue: e(t),
|
42
|
-
"onUpdate:modelValue": n[0] || (n[0] = (r) => b(t) ? t.value = r : t = r)
|
43
|
-
}, {
|
44
|
-
default: v(() => [
|
45
|
-
w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
|
46
|
-
]),
|
47
|
-
_: 1
|
48
|
-
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
|
49
|
-
]),
|
50
|
-
_: 1
|
51
|
-
}, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(y(e(_)), {
|
52
|
-
key: 1,
|
53
|
-
schema: e(u),
|
54
|
-
table: e(s),
|
55
|
-
field: e(l),
|
56
|
-
set: e(d),
|
57
|
-
row: e(a),
|
58
|
-
modelValue: e(t),
|
59
|
-
"onUpdate:modelValue": n[1] || (n[1] = (r) => b(t) ? t.value = r : t = r)
|
60
|
-
}, {
|
61
|
-
default: v(() => [
|
62
|
-
w("div", null, h(e(x)("common.unsupported_text_control", e(i))), 1)
|
63
|
-
]),
|
64
|
-
_: 1
|
65
|
-
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
66
|
-
}
|
67
|
-
});
|
68
|
-
export {
|
69
|
-
A as default
|
70
|
-
};
|
package/dist/Index-FL-dxfFB.js
DELETED
package/dist/Index-fWOqfFkG.js
DELETED