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