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
@@ -1,9 +1,15 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
1
|
+
import { defineComponent as I, toRefs as M, ref as f, computed as T, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as A, withModifiers as L, isRef as O, withCtx as V, createElementBlock as k, Fragment as $, renderList as q, createElementVNode as z, toDisplayString as w, createCommentVNode as G, nextTick as H } from "vue";
|
2
|
+
import { I as J, U as P, h as Q, D 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";
|
3
9
|
const X = { class: "option-text" }, Y = {
|
4
10
|
key: 0,
|
5
11
|
class: "option-suffix"
|
6
|
-
},
|
12
|
+
}, ue = /* @__PURE__ */ I({
|
7
13
|
__name: "Select",
|
8
14
|
props: {
|
9
15
|
schema: {},
|
@@ -15,36 +21,36 @@ const X = { class: "option-text" }, Y = {
|
|
15
21
|
},
|
16
22
|
emits: ["submit", "change", "update:modelValue"],
|
17
23
|
setup(C, { emit: E }) {
|
18
|
-
let s = E, B = C, { schema: S, field:
|
24
|
+
let s = E, B = C, { schema: S, field: r, table: m, set: h, row: R, modelValue: p } = M(B), x = f(), b = f(), v = f(!1), d = f(r.value.control.data.data), j = (t) => {
|
19
25
|
t == "" && (t = null);
|
20
26
|
let e;
|
21
|
-
if (P.object.isString(t) &&
|
22
|
-
let a = m.value.fields.find((l) => l.name ==
|
27
|
+
if (P.object.isString(t) && r.value.control.multiple ? e = t.join(",") : e = t, u.value = e, r.value.control.text) {
|
28
|
+
let a = m.value.fields.find((l) => l.name == r.value.control.text), o;
|
23
29
|
e && (o = d.value.find((i) => i.value == e).text);
|
24
30
|
debugger;
|
25
31
|
R.value[a.name] = o;
|
26
32
|
}
|
27
|
-
g(m.value,
|
28
|
-
},
|
33
|
+
g(m.value, r.value), s("change", t);
|
34
|
+
}, D = () => {
|
29
35
|
s("submit");
|
30
36
|
}, K = () => {
|
31
37
|
}, N = () => {
|
32
38
|
v.value = !0;
|
33
39
|
let t = { text: b.value, conditions: [] };
|
34
|
-
|
40
|
+
r.value.control.data.conditions.forEach((e) => {
|
35
41
|
let a = h.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
|
36
42
|
t.conditions.push({ name: e.name, value: o });
|
37
|
-
}), W.post(
|
43
|
+
}), W.http.post(r.value.control.data.route, t).then(({ data: e }) => {
|
38
44
|
d.value = e;
|
39
45
|
}).finally(() => {
|
40
|
-
v.value = !1,
|
41
|
-
let e = d.value.find((a) => a.value ==
|
46
|
+
v.value = !1, H(() => {
|
47
|
+
let e = d.value.find((a) => a.value == u.value);
|
42
48
|
x.value.scrollToOption(e);
|
43
49
|
});
|
44
50
|
});
|
45
|
-
},
|
51
|
+
}, U = (t) => {
|
46
52
|
b.value = t, N();
|
47
|
-
},
|
53
|
+
}, F = (t, e) => {
|
48
54
|
let a = [];
|
49
55
|
return S.value.forEach((o) => {
|
50
56
|
o.fields.forEach((l) => {
|
@@ -54,12 +60,12 @@ const X = { class: "option-text" }, Y = {
|
|
54
60
|
});
|
55
61
|
}), a;
|
56
62
|
}, g = (t, e) => {
|
57
|
-
|
63
|
+
F(t, e).forEach((o) => {
|
58
64
|
Q.setRowsValue(null, h.value, o.table, o.field), g(o.table, o.field);
|
59
65
|
});
|
60
|
-
},
|
66
|
+
}, u = T({
|
61
67
|
get() {
|
62
|
-
return
|
68
|
+
return r.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
|
63
69
|
},
|
64
70
|
set(t) {
|
65
71
|
s("update:modelValue", t), s("change", t);
|
@@ -77,26 +83,26 @@ const X = { class: "option-text" }, Y = {
|
|
77
83
|
"remote-show-suffix": "",
|
78
84
|
"loading-text": "加载中",
|
79
85
|
clearable: "",
|
80
|
-
placeholder: n(J)(n(m).name, n(
|
81
|
-
multiple: n(
|
82
|
-
"remote-method": n(
|
86
|
+
placeholder: n(J).field_choose_placeholder(n(m).name, n(r).name),
|
87
|
+
multiple: n(r).control.multiple,
|
88
|
+
"remote-method": n(U),
|
83
89
|
loading: n(v),
|
84
|
-
disabled: n(
|
85
|
-
onKeyup:
|
90
|
+
disabled: n(r).control.readonly,
|
91
|
+
onKeyup: A(L(n(D), ["alt"]), ["enter", "native"]),
|
86
92
|
onBlur: n(K),
|
87
|
-
onChange: n(
|
88
|
-
modelValue: n(
|
89
|
-
"onUpdate:modelValue": e[0] || (e[0] = (l) =>
|
93
|
+
onChange: n(j),
|
94
|
+
modelValue: n(u),
|
95
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => O(u) ? u.value = l : u = l)
|
90
96
|
}, {
|
91
97
|
default: V(() => [
|
92
|
-
(c(!0), k(
|
98
|
+
(c(!0), k($, null, q(n(d), (l, i) => (c(), y(a, {
|
93
99
|
label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
|
94
100
|
value: l.value,
|
95
101
|
key: l.value
|
96
102
|
}, {
|
97
103
|
default: V(() => [
|
98
|
-
|
99
|
-
l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) :
|
104
|
+
z("span", X, w(l.text), 1),
|
105
|
+
l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) : G("", !0)
|
100
106
|
]),
|
101
107
|
_: 2
|
102
108
|
}, 1032, ["label", "value"]))), 128))
|
@@ -107,5 +113,5 @@ const X = { class: "option-text" }, Y = {
|
|
107
113
|
}
|
108
114
|
});
|
109
115
|
export {
|
110
|
-
|
116
|
+
ue as default
|
111
117
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: { type: [String, Number, Boolean] }
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = f(() => import("./Dictionary-
|
13
|
+
let r = f(() => import("./Dictionary-CzVkbTgC.js")), n = a, { schema: m, table: s, field: d, set: i, row: p, modelValue: l } = c(n);
|
14
14
|
return (_, t) => (b(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|
@@ -1,9 +1,15 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import {
|
3
|
-
|
1
|
+
import { defineComponent as R, toRefs as S, ref as i, computed as I, resolveComponent as p, openBlock as r, createBlock as c, unref as t, withKeys as M, withModifiers as N, isRef as F, withCtx as f, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as v, createCommentVNode as q } from "vue";
|
2
|
+
import { I as _, D as z } 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 A = { class: "option-text" }, G = {
|
4
10
|
key: 0,
|
5
11
|
class: "option-suffix"
|
6
|
-
},
|
12
|
+
}, $ = /* @__PURE__ */ R({
|
7
13
|
__name: "Select",
|
8
14
|
props: {
|
9
15
|
schema: {},
|
@@ -13,33 +19,33 @@ const H = { class: "option-text" }, I = {
|
|
13
19
|
modelValue: { type: [String, Boolean] }
|
14
20
|
},
|
15
21
|
emits: ["change", "submit", "update:modelValue"],
|
16
|
-
setup(
|
17
|
-
let
|
18
|
-
|
19
|
-
}, w = () => {
|
20
|
-
}, B = (l) => {
|
21
|
-
i.value = l, D();
|
22
|
+
setup(x, { emit: b }) {
|
23
|
+
let s = b, g = x, { schema: H, table: y, field: a, searchData: V, modelValue: k } = S(g), C = i(!1), m = i(), d = i(a.value.control.data.data), w = () => {
|
24
|
+
s("submit");
|
22
25
|
}, D = () => {
|
23
|
-
|
26
|
+
}, B = (l) => {
|
27
|
+
m.value = l, E();
|
28
|
+
}, E = () => {
|
29
|
+
let l = { text: m.value, conditions: [] };
|
24
30
|
a.value.control.data.conditions.forEach((o) => {
|
25
|
-
let u =
|
31
|
+
let u = V.value[o.table][o.field];
|
26
32
|
l.conditions.push({ name: o.name, value: u });
|
27
|
-
}),
|
28
|
-
|
33
|
+
}), z.http.post(a.value.control.data.route, l).then(({ data: o }) => {
|
34
|
+
d.value = o;
|
29
35
|
}).finally(() => {
|
30
36
|
C.value = !1;
|
31
37
|
});
|
32
|
-
}, n =
|
38
|
+
}, n = I({
|
33
39
|
get() {
|
34
|
-
return
|
40
|
+
return k.value;
|
35
41
|
},
|
36
42
|
set(l) {
|
37
|
-
|
43
|
+
s("update:modelValue", l), s("change", l);
|
38
44
|
}
|
39
45
|
});
|
40
46
|
return (l, o) => {
|
41
|
-
const u =
|
42
|
-
return
|
47
|
+
const u = p("el-option"), K = p("el-select");
|
48
|
+
return r(), c(K, {
|
43
49
|
ref: "selectRef",
|
44
50
|
filterable: "",
|
45
51
|
remote: "",
|
@@ -47,25 +53,25 @@ const H = { class: "option-text" }, I = {
|
|
47
53
|
clearable: "",
|
48
54
|
"default-first-option": "",
|
49
55
|
"remote-show-suffix": "",
|
50
|
-
placeholder: t(
|
56
|
+
placeholder: t(_).t("common.please_choose") + t(_).field(t(y).name, t(a).name),
|
51
57
|
multiple: t(a).control.multiple,
|
52
58
|
"loading-text": "加载中",
|
53
59
|
"remote-method": t(B),
|
54
60
|
disabled: t(a).control.readonly,
|
55
|
-
onKeyup: M(N(t(
|
56
|
-
onChange: t(
|
61
|
+
onKeyup: M(N(t(w), ["alt"]), ["enter", "native"]),
|
62
|
+
onChange: t(D),
|
57
63
|
modelValue: t(n),
|
58
64
|
"onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
|
59
65
|
}, {
|
60
66
|
default: f(() => [
|
61
|
-
(
|
67
|
+
(r(!0), h(L, null, U(t(d), (e, J) => (r(), c(u, {
|
62
68
|
label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
|
63
69
|
value: e.value,
|
64
70
|
key: e.value
|
65
71
|
}, {
|
66
72
|
default: f(() => [
|
67
|
-
j("span",
|
68
|
-
e.suffix ? (
|
73
|
+
j("span", A, v(e.text), 1),
|
74
|
+
e.suffix ? (r(), h("span", G, "(" + v(e.suffix) + ")", 1)) : q("", !0)
|
69
75
|
]),
|
70
76
|
_: 2
|
71
77
|
}, 1032, ["label", "value"]))), 128))
|
@@ -76,5 +82,5 @@ const H = { class: "option-text" }, I = {
|
|
76
82
|
}
|
77
83
|
});
|
78
84
|
export {
|
79
|
-
|
85
|
+
$ as default
|
80
86
|
};
|
@@ -0,0 +1,325 @@
|
|
1
|
+
import { defineComponent as $e, toRefs as De, ref as r, computed as te, watch as Ke, resolveComponent as f, openBlock as d, createElementBlock as A, normalizeClass as Be, unref as e, createElementVNode as m, createVNode as _, withCtx as s, withModifiers as Le, createBlock as h, isRef as ae, Fragment as oe, renderList as re, toDisplayString as R, createCommentVNode as $, resolveDynamicComponent as Ne, normalizeStyle as Pe, createTextVNode as ue, nextTick as ne } from "vue";
|
2
|
+
import { c as qe, I as D, b as je, U as K, a as Fe, D as j, m as se, R as G, K as Ie } from "./main-DSgfGXqN.js";
|
3
|
+
import "./assets/liquidjs-BfOWWjtJ.js";
|
4
|
+
import "./assets/underscore-B0BCaBxV.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/clone-BZn0cTAu.js";
|
7
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
8
|
+
import "./assets/moment-h96o7c8I.js";
|
9
|
+
import { _ as ie } from "./Index.vue_vue_type_script_setup_true_lang-B5I-mP-B.js";
|
10
|
+
const Me = { class: "ha-main-form" }, Oe = { class: "row-header" }, Ae = { class: "row-title" }, Ge = { class: "el-drawer__title" }, He = ["href"], ol = /* @__PURE__ */ $e({
|
11
|
+
__name: "Single",
|
12
|
+
props: {
|
13
|
+
base: {},
|
14
|
+
route: {},
|
15
|
+
url: {},
|
16
|
+
win: {}
|
17
|
+
},
|
18
|
+
emits: ["navigate", "load", "succeed", "close"],
|
19
|
+
setup(de, { expose: me, emit: pe }) {
|
20
|
+
let B = pe, ve = de, { url: F, base: H, route: T } = De(ve), c = r(), b = r(), p = r(), u = r(), y = r(), L = r(), v = r({ table: null, layout: null }), w = r(), N = r([]), fe = r(), V = r(), P = r(), I = r(), E = r(), J = r(), i = r({ page: null, url: null, visible: !1, appendToBody: !1 }), C = r(!1), M = r(), x = r(), ce = (l) => !0, be = (l) => {
|
21
|
+
let t = K.url.getPath(F.value), a = K.url.getPath(l);
|
22
|
+
return t != a;
|
23
|
+
}, ye = () => {
|
24
|
+
Ee();
|
25
|
+
}, ge = (l, t) => {
|
26
|
+
Q("copy", l, t);
|
27
|
+
}, _e = (l, t) => {
|
28
|
+
Q("update", l, t);
|
29
|
+
}, he = () => {
|
30
|
+
i.value.visible = !1;
|
31
|
+
}, Q = (l, t, a) => {
|
32
|
+
let n = we(l, t);
|
33
|
+
a.ctrlKey ? B("navigate", n) : (i.value.appendToBody = a.altKey, i.value.page = l, i.value.url = n, i.value.visible = !0);
|
34
|
+
}, we = (l, t = null) => {
|
35
|
+
let a = `${b.value[l].route}`;
|
36
|
+
if (t != null) {
|
37
|
+
let n = t[y.value.key.name];
|
38
|
+
a += `?id=${n}`;
|
39
|
+
}
|
40
|
+
return a;
|
41
|
+
}, Ce = (l, t, a) => {
|
42
|
+
(a.ctrlKey || C.value) && (M.value = l, x.value = K.object.clone(t), C.value = !0, x.value.fields.forEach((n) => {
|
43
|
+
n.control.textualize = !1;
|
44
|
+
}));
|
45
|
+
}, W = (l) => {
|
46
|
+
i.value.visible = !1, B("succeed", ee.value, l);
|
47
|
+
}, Re = () => {
|
48
|
+
B("close");
|
49
|
+
}, X = (l, t, a, n, k) => {
|
50
|
+
}, Y = (l, t) => {
|
51
|
+
if (t) {
|
52
|
+
L.value = y.value.layouts.find((a) => a.type == l);
|
53
|
+
return;
|
54
|
+
}
|
55
|
+
v.value.layout = v.value.table.layouts.find((a) => a.type == l);
|
56
|
+
}, xe = (l) => {
|
57
|
+
let t = u.value.find((a) => a.name == l);
|
58
|
+
v.value.table = t, v.value.layout = t.layouts[0];
|
59
|
+
}, ke = (l) => {
|
60
|
+
let t = Object.keys(l)[0], a = t.substring(1, t.indexOf("]"));
|
61
|
+
u.value.find((k) => k.name == a).main || (w.value = a);
|
62
|
+
}, Se = (l, t = null, a = null) => {
|
63
|
+
ne(() => {
|
64
|
+
V.value.validate((n, k) => {
|
65
|
+
if (!n)
|
66
|
+
return ke(k), a && a(!1), !1;
|
67
|
+
let U = c.value.type == "Update" ? b.value.update.route : b.value.insert.route;
|
68
|
+
t && t(U, p.value), j.http.post(U, p.value).then(({ data: z, message: S }) => {
|
69
|
+
V.value.clearValidate(), j.messenger.success(S), W(p.value);
|
70
|
+
}).catch(({ code: z, data: S, message: le }) => {
|
71
|
+
if (z != "ValidateError")
|
72
|
+
return;
|
73
|
+
N.value = S;
|
74
|
+
let q = S.find((g) => g.table !== y.value.name);
|
75
|
+
if (q) {
|
76
|
+
let g = u.value.find((o) => o.name == q.table);
|
77
|
+
g && (w.value = g.name);
|
78
|
+
}
|
79
|
+
ne(() => {
|
80
|
+
V.value.clearValidate(), V.value.validate((g, o) => {
|
81
|
+
g || (a && a(!1), N.value = []);
|
82
|
+
});
|
83
|
+
});
|
84
|
+
}).finally(() => {
|
85
|
+
a && a();
|
86
|
+
});
|
87
|
+
});
|
88
|
+
});
|
89
|
+
}, Z = (l) => {
|
90
|
+
var a, n;
|
91
|
+
let t = D.module(l.module.type, l.module.name);
|
92
|
+
j.i18n.setTitle(t, l.module.env), c.value = l.module, b.value = l.next, p.value = se.expandSet(l.schema, l.set), u.value = se.expandSchema(l.schema, l.set), y.value = (a = u.value) == null ? void 0 : a[0], L.value = y.value.layouts[0], ((n = u.value) == null ? void 0 : n.length) > 1 && (w.value = u.value[1].name, v.value.table = u.value[1], v.value.layout = u.value[1].layouts[0]);
|
93
|
+
}, Te = (l) => {
|
94
|
+
G.module.triggerResize(P.value, l), G.module.triggerResize(E.value, l);
|
95
|
+
}, Ve = (l, t) => {
|
96
|
+
if (l == Ie.ctrlS) {
|
97
|
+
if (c.value.type == "Detail") {
|
98
|
+
G.module.triggerKeyboard(J.value, l, t);
|
99
|
+
return;
|
100
|
+
}
|
101
|
+
O(t);
|
102
|
+
}
|
103
|
+
}, Ee = () => {
|
104
|
+
let l = K.url.getUrl(T.value.path, T.value.query);
|
105
|
+
B("load", l, !1, (t) => {
|
106
|
+
});
|
107
|
+
};
|
108
|
+
(() => {
|
109
|
+
Z(H.value.data);
|
110
|
+
})();
|
111
|
+
let O = (l) => {
|
112
|
+
if (!I.value.submit) {
|
113
|
+
j.messenger.notify("提示", "请在子组件暴露submit方法来实现快捷提交", "warning");
|
114
|
+
return;
|
115
|
+
}
|
116
|
+
I.value.submit(l);
|
117
|
+
}, Ue = te(() => {
|
118
|
+
let l = `/${y.value.name}/update`, t = c.value.type == "Detail" ? "detail" : "update";
|
119
|
+
return qe.getComponent(l, "partial", t);
|
120
|
+
}), ee = te(() => c.value.type.toLowerCase());
|
121
|
+
return Ke(() => H.value, (l) => {
|
122
|
+
Z(l.data), P.value.update && P.value.update(l.data), E.value && E.value.update && E.value.update(l.data);
|
123
|
+
}), me({ shouldLoad: ce, shouldSpin: be, onKeyboard: Ve, onRefresh: ye, onResize: Te }), (l, t) => {
|
124
|
+
const a = f("el-tooltip"), n = f("el-tab-pane"), k = f("el-tabs"), U = f("el-form"), z = f("el-scrollbar"), S = f("el-popover"), le = f("el-form-item"), q = f("el-card"), g = f("el-drawer");
|
125
|
+
return d(), A("div", {
|
126
|
+
ref_key: "singleRef",
|
127
|
+
ref: fe,
|
128
|
+
class: Be(["ha-single-page", { [e(ee) + "-page"]: !0, editing: e(C) }])
|
129
|
+
}, [
|
130
|
+
m("div", Me, [
|
131
|
+
_(z, { class: "main-scroller" }, {
|
132
|
+
default: s(() => [
|
133
|
+
_(U, {
|
134
|
+
ref_key: "formRef",
|
135
|
+
ref: V,
|
136
|
+
model: e(p),
|
137
|
+
onSubmit: t[3] || (t[3] = Le(() => {
|
138
|
+
}, ["prevent"]))
|
139
|
+
}, {
|
140
|
+
default: s(() => [
|
141
|
+
_(ie, {
|
142
|
+
ref_key: "mainRef",
|
143
|
+
ref: P,
|
144
|
+
url: e(F),
|
145
|
+
module: e(c),
|
146
|
+
schema: e(u),
|
147
|
+
table: e(y),
|
148
|
+
layout: e(L),
|
149
|
+
next: e(b),
|
150
|
+
set: e(p),
|
151
|
+
route: e(T),
|
152
|
+
"validate-errors": e(N),
|
153
|
+
onChange: e(X),
|
154
|
+
onLayoutChange: t[0] || (t[0] = (o) => e(Y)(o, !0)),
|
155
|
+
onSubmit: e(O)
|
156
|
+
}, null, 8, ["url", "module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onChange", "onSubmit"]),
|
157
|
+
e(u).length > 1 ? (d(), h(k, {
|
158
|
+
key: 0,
|
159
|
+
type: "border-card",
|
160
|
+
onTabChange: e(xe),
|
161
|
+
modelValue: e(w),
|
162
|
+
"onUpdate:modelValue": t[1] || (t[1] = (o) => ae(w) ? w.value = o : w = o)
|
163
|
+
}, {
|
164
|
+
default: s(() => [
|
165
|
+
(d(!0), A(oe, null, re(e(u).filter((o, ze) => ze > 0), (o) => (d(), h(n, {
|
166
|
+
name: o.name,
|
167
|
+
key: o.name
|
168
|
+
}, {
|
169
|
+
label: s(() => [
|
170
|
+
_(a, {
|
171
|
+
placement: "top",
|
172
|
+
content: o.tooltip,
|
173
|
+
disabled: !o.tooltip
|
174
|
+
}, {
|
175
|
+
default: s(() => [
|
176
|
+
m("div", null, R(e(D).table(o.table)), 1)
|
177
|
+
]),
|
178
|
+
_: 2
|
179
|
+
}, 1032, ["content", "disabled"])
|
180
|
+
]),
|
181
|
+
_: 2
|
182
|
+
}, 1032, ["name"]))), 128))
|
183
|
+
]),
|
184
|
+
_: 1
|
185
|
+
}, 8, ["onTabChange", "modelValue"])) : $("", !0),
|
186
|
+
e(v).table ? (d(), h(ie, {
|
187
|
+
key: 1,
|
188
|
+
ref_key: "childRef",
|
189
|
+
ref: E,
|
190
|
+
url: e(F),
|
191
|
+
module: e(c),
|
192
|
+
schema: e(u),
|
193
|
+
table: e(v).table,
|
194
|
+
layout: e(v).layout,
|
195
|
+
next: e(b),
|
196
|
+
set: e(p),
|
197
|
+
route: e(T),
|
198
|
+
"validate-errors": e(N),
|
199
|
+
onRowEdit: e(Ce),
|
200
|
+
onChange: e(X),
|
201
|
+
onLayoutChange: t[2] || (t[2] = (o) => e(Y)(o, !1)),
|
202
|
+
onSubmit: e(O)
|
203
|
+
}, null, 8, ["url", "module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"])) : $("", !0)
|
204
|
+
]),
|
205
|
+
_: 1
|
206
|
+
}, 8, ["model"])
|
207
|
+
]),
|
208
|
+
_: 1
|
209
|
+
}),
|
210
|
+
(d(), h(Ne(e(Ue)), {
|
211
|
+
ref_key: "updateRef",
|
212
|
+
ref: I,
|
213
|
+
class: "main-footer",
|
214
|
+
schema: e(u),
|
215
|
+
table: e(y),
|
216
|
+
layout: e(L),
|
217
|
+
next: e(b),
|
218
|
+
set: e(p),
|
219
|
+
route: e(T),
|
220
|
+
onCopy: e(ge),
|
221
|
+
onEdit: e(_e),
|
222
|
+
onSubmit: e(Se),
|
223
|
+
onClose: e(Re)
|
224
|
+
}, null, 40, ["schema", "table", "layout", "next", "set", "route", "onCopy", "onEdit", "onSubmit", "onClose"]))
|
225
|
+
]),
|
226
|
+
e(C) ? (d(), h(q, {
|
227
|
+
key: 0,
|
228
|
+
class: "side-form"
|
229
|
+
}, {
|
230
|
+
header: s(() => [
|
231
|
+
m("div", Oe, [
|
232
|
+
m("div", Ae, R(e(D).t("common.modify")) + " " + R(e(M)[e(x).show[0].name]), 1),
|
233
|
+
m("div", {
|
234
|
+
class: "row-close",
|
235
|
+
onClick: t[4] || (t[4] = (o) => ae(C) ? C.value = !1 : C = !1)
|
236
|
+
}, t[6] || (t[6] = [
|
237
|
+
m("i", { class: "fa fa-close" }, null, -1)
|
238
|
+
]))
|
239
|
+
])
|
240
|
+
]),
|
241
|
+
default: s(() => [
|
242
|
+
_(z, null, {
|
243
|
+
default: s(() => [
|
244
|
+
_(U, {
|
245
|
+
size: "small",
|
246
|
+
"label-width": "80px"
|
247
|
+
}, {
|
248
|
+
default: s(() => [
|
249
|
+
(d(!0), A(oe, null, re(e(x).show, (o) => (d(), h(le, {
|
250
|
+
style: Pe(o.control.height ? `height: ${o.control.height}px;` : ""),
|
251
|
+
rules: o.rules
|
252
|
+
}, {
|
253
|
+
label: s(() => [
|
254
|
+
ue(R(e(D).field(e(x).name, o.name)) + " ", 1),
|
255
|
+
o.control.tooltip ? (d(), h(S, {
|
256
|
+
key: 0,
|
257
|
+
trigger: "hover",
|
258
|
+
placement: "top",
|
259
|
+
width: "auto",
|
260
|
+
title: o.control.tooltip.title
|
261
|
+
}, {
|
262
|
+
reference: s(() => t[7] || (t[7] = [
|
263
|
+
m("i", { class: "fa fa-question-circle icon-question" }, null, -1)
|
264
|
+
])),
|
265
|
+
default: s(() => [
|
266
|
+
m("pre", null, R(o.control.tooltip.content), 1)
|
267
|
+
]),
|
268
|
+
_: 2
|
269
|
+
}, 1032, ["title"])) : $("", !0)
|
270
|
+
]),
|
271
|
+
default: s(() => [
|
272
|
+
_(je, {
|
273
|
+
schema: e(u),
|
274
|
+
table: e(x),
|
275
|
+
field: o,
|
276
|
+
set: e(p),
|
277
|
+
row: e(M)
|
278
|
+
}, null, 8, ["schema", "table", "field", "set", "row"])
|
279
|
+
]),
|
280
|
+
_: 2
|
281
|
+
}, 1032, ["style", "rules"]))), 256))
|
282
|
+
]),
|
283
|
+
_: 1
|
284
|
+
})
|
285
|
+
]),
|
286
|
+
_: 1
|
287
|
+
})
|
288
|
+
]),
|
289
|
+
_: 1
|
290
|
+
})) : $("", !0),
|
291
|
+
e(i).page ? (d(), h(g, {
|
292
|
+
key: 1,
|
293
|
+
"destroy-on-close": "",
|
294
|
+
"append-to-body": e(i).appendToBody,
|
295
|
+
size: `${e(c).width ?? "60%"}`,
|
296
|
+
modelValue: e(i).visible,
|
297
|
+
"onUpdate:modelValue": t[5] || (t[5] = (o) => e(i).visible = o)
|
298
|
+
}, {
|
299
|
+
header: s(() => [
|
300
|
+
m("div", Ge, [
|
301
|
+
ue(R(e(b)[e(i).page].title) + " ", 1),
|
302
|
+
m("a", {
|
303
|
+
class: "drawer-copy",
|
304
|
+
href: `${e(K).url.getToUrl(e(i).url)}`
|
305
|
+
}, R(e(D).t("common.link")), 9, He)
|
306
|
+
])
|
307
|
+
]),
|
308
|
+
default: s(() => [
|
309
|
+
_(e(Fe), {
|
310
|
+
ref_key: "pageRef",
|
311
|
+
ref: J,
|
312
|
+
url: e(i).url,
|
313
|
+
onSucceed: e(W),
|
314
|
+
onClose: e(he)
|
315
|
+
}, null, 8, ["url", "onSucceed", "onClose"])
|
316
|
+
]),
|
317
|
+
_: 1
|
318
|
+
}, 8, ["append-to-body", "size", "modelValue"])) : $("", !0)
|
319
|
+
], 2);
|
320
|
+
};
|
321
|
+
}
|
322
|
+
});
|
323
|
+
export {
|
324
|
+
ol as default
|
325
|
+
};
|