halo-pc 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CiVdO1Ui.js → Article-DDHiBRRG.js} +69 -62
- package/dist/{Autocomplete-TVE3ZXGj.js → Autocomplete-Bh4HQ3-C.js} +1 -1
- package/dist/Autocomplete-BljowPIG.js +56 -0
- package/dist/Autocomplete-d0MR8Xx2.js +55 -0
- package/dist/{CSharp-ZvsrI2tS.js → CSharp--lmNVuOo.js} +1 -1
- package/dist/{Calender-BN1Qici-.js → Calender-CvqWvZsn.js} +1 -1
- package/dist/Callback-BrvO3W91.js +28 -0
- package/dist/Cascader-DIvprKCI.js +88 -0
- package/dist/Cascader-OM7zmX3M.js +49 -0
- package/dist/{Checkbox-DPVFKvtd.js → Checkbox-BJdqPlkr.js} +1 -1
- package/dist/Code-BACLmk2L.js +62 -0
- package/dist/Code-DNa70Dop.js +44 -0
- package/dist/Code-Du9XlTYj.js +4 -0
- package/dist/{Code-C-Xxwb29.js → Code-xVaG8AiI.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-FEJ6tUQl.js +67 -0
- package/dist/Column-DpxOF0y2.js +76 -0
- package/dist/Comment-CnA1hoQR.js +106 -0
- package/dist/Compare-cMfhy2tY.js +34 -0
- package/dist/Compare-i-c4cpHb.js +64 -0
- package/dist/Copy-Ccio6WhB.js +51 -0
- package/dist/Custom-d7B0U9LW.js +55 -0
- package/dist/{DataExport-D6d04miG.js → DataExport-D9qNEXNc.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-B0lK_clm.js → DataExport.vue_vue_type_script_setup_true_lang-LIX8EWdw.js} +42 -35
- package/dist/{DataImport-CceWCzes.js → DataImport-IlCpp9MO.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-ByaDXp9z.js +178 -0
- package/dist/{Date-Ddu6Um1a.js → Date-BzTn9eRY.js} +1 -1
- package/dist/{DateRange-DLCMlMSG.js → DateRange-TLadnU8z.js} +24 -16
- package/dist/{DateTime-Bdvr9_wj.js → DateTime-ZXRmiyVk.js} +1 -1
- package/dist/{DateTimeRange-DPWqS1Es.js → DateTimeRange-WV8dpf1A.js} +18 -10
- package/dist/Daterange-Xx9aigH9.js +65 -0
- package/dist/{Decimal-D4atkIK7.js → Decimal-d9D3AKgJ.js} +1 -1
- package/dist/Delete-C1lDzul8.js +63 -0
- package/dist/Detail-DwkywBpF.js +77 -0
- package/dist/Dictionary-41lPMLYE.js +61 -0
- package/dist/{File-B2lndVjU.js → File-CdfGLpx0.js} +54 -45
- package/dist/{Image-CrvP5qms.js → Image-j_l1rTVS.js} +1 -1
- package/dist/Index-BJcvZpAZ.js +180 -0
- package/dist/Index-CRW3fKQm.js +4 -0
- package/dist/{Index-C_HCipwv.js → Index-Cgn9c90j.js} +1 -1
- package/dist/Index-DDYN0PN6.js +77 -0
- package/dist/{Index-DNZBSOK6.js → Index-Dls8FIg_.js} +1 -1
- package/dist/Index-DyDnI3Eh.js +4 -0
- package/dist/{Index-BaLKJJ75.js → Index-DzobZNQl.js} +1 -1
- package/dist/Index-p6jrekIF.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BYIvYRlg.js → Index.vue_vue_type_script_setup_true_lang-DEJe_SEU.js} +26 -17
- package/dist/{Index.vue_vue_type_script_setup_true_lang-uoFDX1Of.js → Index.vue_vue_type_script_setup_true_lang-yNHjfgMT.js} +26 -17
- package/dist/{Index.vue_vue_type_style_index_0_lang-DiU6tUKL.js → Index.vue_vue_type_style_index_0_lang-DzZQYPd_.js} +46 -39
- package/dist/{Install-D1bxQmez.js → Install-DjEEO5jv.js} +33 -24
- package/dist/Int-DCCHJ3Py.js +48 -0
- package/dist/List-B0jkK3__.js +80 -0
- package/dist/Maintaince-BvSeToFI.js +22 -0
- package/dist/{Markdown-Ceg9Ms5R.js → Markdown-DWztB-nd.js} +1 -1
- package/dist/{Month-CfB3ZFt4.js → Month-C-O9wmfa.js} +1 -1
- package/dist/{Normal-DaCn1qBW.js → Normal-D0jVbV6S.js} +54 -47
- package/dist/Paging-DotrJ4K7.js +100 -0
- package/dist/QueryApi-BfzWPAaT.js +22 -0
- package/dist/{Racebar-DBFWFMO-.js → Racebar-BHxShEk3.js} +45 -38
- package/dist/{Radio-CJyl__ew.js → Radio-2lj7_vnv.js} +1 -1
- package/dist/Register-Bc6si8eQ.js +203 -0
- package/dist/RichText-GzSKa3TU.js +49 -0
- package/dist/{SearchFooter-DEoLMe9k.js → SearchFooter-CljN2rfH.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-D1PYRAiE.js → SearchFooter.vue_vue_type_style_index_0_lang-BY7bRgIA.js} +1 -1
- package/dist/{SearchForm-BHHmYaCS.js → SearchForm-BVZA2l7U.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BtNkB6f0.js → SearchForm.vue_vue_type_style_index_0_lang-BSs4V4mF.js} +42 -36
- package/dist/{Select-C2FBbD52.js → Select-1KvlCVU4.js} +1 -1
- package/dist/{Select-DM1c8XBr.js → Select-CocWBLRX.js} +40 -32
- package/dist/{Select-Cz2uCsb-.js → Select-D60XT9o-.js} +26 -18
- package/dist/{Single-B63Zrug-.js → Single-sr-BkPGL.js} +91 -84
- package/dist/{Statistic-0yl1BOUE.js → Statistic-BYcw_PF8.js} +33 -26
- package/dist/{Stock-DcJZ8DgI.js → Stock-BKboB1Yy.js} +1 -1
- package/dist/{Stock-4iCvNHGj.js → Stock-BfJZJOlp.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-4d1EpJnq.js → Stock.vue_vue_type_style_index_0_lang-BvNVV3nm.js} +29 -22
- package/dist/{Switch-N3gJPSk8.js → Switch-aJlpDaFn.js} +1 -1
- package/dist/{Table-Cs56tnaN.js → Table-C7utV1zP.js} +69 -61
- package/dist/{Table-J3e4-OH2.js → Table-Cb3ebUjd.js} +90 -84
- package/dist/Text-BwvQUh3H.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-DKTbR_SE.js +60 -0
- package/dist/TextLink-C6iV4AMN.js +67 -0
- package/dist/{Textarea-B5AXrlWa.js → Textarea-BMTs6P3r.js} +1 -1
- package/dist/Timeline-CbOh5x0N.js +61 -0
- package/dist/Tree-BYDeBPz8.js +124 -0
- package/dist/{Tree-BdW8K2i6.js → Tree-CJw57RjB.js} +103 -97
- package/dist/TreeNode-f5QIDN_8.js +44 -0
- package/dist/Update-4MVWAqee.js +72 -0
- package/dist/Upload-CZH4eCZj.js +74 -0
- package/dist/Upload-DLvv8FP4.js +152 -0
- package/dist/UploadApi-BP2K-0bT.js +22 -0
- package/dist/{Year-CMlo3zsG.js → Year-MmbPwHcY.js} +1 -1
- package/dist/main-Bf4o1iyx.js +8145 -0
- package/dist/main.js +114 -92
- package/dist/style.css +1 -1
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
- package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
- package/dist/vendor-clone-BPtCWdXG.js +134 -0
- package/dist/vendor-crypto-js-YOeWQTUw.js +4997 -0
- package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
- package/dist/vendor-intro.js-DhhZ-dhc.js +1793 -0
- package/dist/vendor-moment-h96o7c8I.js +2578 -0
- package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
- package/dist/vendor-state-local-CEworIRt.js +131 -0
- package/dist/vendor-underscore-B0BCaBxV.js +1070 -0
- package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
- package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
- package/dist/vendor-xlsx-js-style-DIFxrP6P.js +11862 -0
- package/esm/coms/commons/HaTable.vue.d.ts +3 -0
- package/esm/coms/commons/index.d.ts +4 -0
- 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 +1 -1
- package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
- package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
- package/esm/coms/partials/Update.vue.d.ts +1 -1
- package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
- package/esm/coms/partials/index.d.ts +1 -135
- package/esm/coms/partials/types/DetailProps.d.ts +22 -0
- package/esm/coms/partials/types/PagingHeaderProps.d.ts +30 -0
- package/esm/{components/controls/index.d.ts → coms/partials/types/PagingRowProps.d.ts} +5 -9
- package/esm/coms/partials/types/TreeNodeProps.d.ts +22 -0
- package/esm/coms/partials/types/UpdateChildProps.d.ts +22 -0
- package/esm/coms/partials/types/UpdateProps.d.ts +22 -0
- package/esm/coms/partials/types/index.d.ts +7 -0
- package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/searches/Daterange.vue.d.ts +1 -1
- package/esm/coms/searches/Index.vue.d.ts +1 -1
- package/esm/coms/searches/Int.vue.d.ts +1 -1
- package/esm/coms/searches/Month.vue.d.ts +1 -1
- package/esm/coms/searches/Select.vue.d.ts +1 -1
- package/esm/coms/searches/Text.vue.d.ts +1 -1
- package/esm/coms/searches/index.d.ts +3 -7
- package/esm/{components/searches/index.d.ts → coms/searches/types/SearchProps.d.ts} +4 -1
- package/esm/coms/searches/types/index.d.ts +2 -0
- package/esm/svcs/AppSvc.d.ts +16 -3
- package/esm/svcs/index.d.ts +6 -2
- package/package.json +11 -11
- package/dist/Autocomplete-DSE7qXaY.js +0 -48
- package/dist/Autocomplete-gwIpU0Ap.js +0 -49
- package/dist/Callback-C5vXOse3.js +0 -20
- package/dist/Cascader-DIwiaPq_.js +0 -80
- package/dist/Cascader-DhcIQmz0.js +0 -41
- package/dist/Code-EMhF8em7.js +0 -54
- package/dist/Code-MpN64VDz.js +0 -4
- package/dist/Code-rSRVyC9T.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-P0TnGKPx.js +0 -59
- package/dist/Column-CjVMWBjC.js +0 -67
- package/dist/Comment-CakkgoNi.js +0 -98
- package/dist/Compare-C7v4kOpE.js +0 -26
- package/dist/Compare-fM9jPPuu.js +0 -56
- package/dist/Copy-CYEJ22tk.js +0 -43
- package/dist/Custom-Cig2xWvf.js +0 -47
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-5qkPOt4L.js +0 -172
- package/dist/Daterange-D_JOuZ8Z.js +0 -57
- package/dist/Delete-gFaS3kE9.js +0 -55
- package/dist/Detail-B5FvVxu9.js +0 -68
- package/dist/Dictionary-Ce3GwIP_.js +0 -55
- package/dist/Index-BQHiLvTh.js +0 -4
- package/dist/Index-BRmnOaBf.js +0 -4
- package/dist/Index-BbbIu4pT.js +0 -168
- package/dist/Index-CNiNRbjO.js +0 -70
- package/dist/Index-DMei5mlA.js +0 -4
- package/dist/Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js +0 -36
- package/dist/Int-BaGIs_nk.js +0 -41
- package/dist/List-BjQi_wnf.js +0 -72
- package/dist/Maintaince-fou9nONX.js +0 -14
- package/dist/Paging-C5q8jJUU.js +0 -93
- package/dist/QueryApi-DjT4dEyX.js +0 -13
- package/dist/Register-IVPcpL6f.js +0 -196
- package/dist/RichText-D_JQUWM1.js +0 -41
- package/dist/Text-DheLweEH.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-uMGpVMDs.js +0 -52
- package/dist/TextLink-CSaLrd5t.js +0 -59
- package/dist/Timeline-BhPZJNP4.js +0 -53
- package/dist/Tree-Ctq_fSOd.js +0 -117
- package/dist/TreeNode-CDItFlDT.js +0 -34
- package/dist/Update-K3FS-dz-.js +0 -63
- package/dist/Upload-C73uEqps.js +0 -67
- package/dist/Upload-DGz1o9dx.js +0 -146
- package/dist/UploadApi-Dy7aGZWx.js +0 -13
- package/dist/main-CVY9fyTk.js +0 -28912
- package/dist/vendor-intro.js-DwWqhM1v.js +0 -1695
- package/esm/App.vue.d.ts +0 -2
- package/esm/components/business/HaCondition.vue.d.ts +0 -18
- package/esm/components/business/HaCrud.vue.d.ts +0 -29
- package/esm/components/business/HaDrawer.vue.d.ts +0 -24
- package/esm/components/business/HaDriver.vue.d.ts +0 -52
- package/esm/components/business/HaFeedback.vue.d.ts +0 -8
- package/esm/components/business/HaForm.vue.d.ts +0 -23
- package/esm/components/business/HaSwitch.vue.d.ts +0 -24
- package/esm/components/business/HaWelcome.vue.d.ts +0 -8
- package/esm/components/business/HoCondition.vue.d.ts +0 -18
- package/esm/components/business/HoCrud.vue.d.ts +0 -29
- package/esm/components/business/HoDrawer.vue.d.ts +0 -24
- package/esm/components/business/HoDriver.vue.d.ts +0 -52
- package/esm/components/business/HoFeedback.vue.d.ts +0 -8
- package/esm/components/business/HoForm.vue.d.ts +0 -23
- package/esm/components/business/HoSwitch.vue.d.ts +0 -24
- package/esm/components/business/HoWelcome.vue.d.ts +0 -8
- package/esm/components/business/index.d.ts +0 -124
- package/esm/components/controls/Autocomplete.vue.d.ts +0 -24
- package/esm/components/controls/Cascader.vue.d.ts +0 -24
- package/esm/components/controls/Checkbox.vue.d.ts +0 -22
- package/esm/components/controls/Code.vue.d.ts +0 -24
- package/esm/components/controls/Color.vue.d.ts +0 -24
- package/esm/components/controls/Compare.vue.d.ts +0 -24
- package/esm/components/controls/Date.vue.d.ts +0 -24
- package/esm/components/controls/DateRange.vue.d.ts +0 -24
- package/esm/components/controls/DateTime.vue.d.ts +0 -24
- package/esm/components/controls/DateTimeRange.vue.d.ts +0 -24
- package/esm/components/controls/Decimal.vue.d.ts +0 -24
- package/esm/components/controls/Email.vue.d.ts +0 -24
- package/esm/components/controls/Image.vue.d.ts +0 -2
- package/esm/components/controls/Index.vue.d.ts +0 -22
- package/esm/components/controls/Int.vue.d.ts +0 -24
- package/esm/components/controls/Markdown.vue.d.ts +0 -24
- package/esm/components/controls/Month.vue.d.ts +0 -24
- package/esm/components/controls/Password.vue.d.ts +0 -24
- package/esm/components/controls/Progress.vue.d.ts +0 -24
- package/esm/components/controls/Radio.vue.d.ts +0 -24
- package/esm/components/controls/Rate.vue.d.ts +0 -24
- package/esm/components/controls/RichText.vue.d.ts +0 -22
- package/esm/components/controls/Select.vue.d.ts +0 -24
- package/esm/components/controls/Switch.vue.d.ts +0 -24
- package/esm/components/controls/Text.vue.d.ts +0 -26
- package/esm/components/controls/Textarea.vue.d.ts +0 -24
- package/esm/components/controls/Time.vue.d.ts +0 -24
- package/esm/components/controls/Upload.vue.d.ts +0 -24
- package/esm/components/controls/Year.vue.d.ts +0 -24
- package/esm/components/headers/Breadcrumb.vue.d.ts +0 -2
- package/esm/components/headers/Debugger.vue.d.ts +0 -2
- package/esm/components/headers/Hamburger.vue.d.ts +0 -18
- package/esm/components/headers/HeaderRight.vue.d.ts +0 -2
- package/esm/components/headers/Index.vue.d.ts +0 -6
- package/esm/components/headers/Log.vue.d.ts +0 -2
- package/esm/components/headers/Logo.vue.d.ts +0 -6
- package/esm/components/headers/Refresh.vue.d.ts +0 -6
- package/esm/components/headers/Setting.vue.d.ts +0 -8
- package/esm/components/headers/index.d.ts +0 -3
- package/esm/components/index.d.ts +0 -8
- package/esm/components/layouts/Desktop.vue.d.ts +0 -2
- package/esm/components/layouts/Index.vue.d.ts +0 -2
- package/esm/components/layouts/Side.vue.d.ts +0 -2
- package/esm/components/layouts/Top.vue.d.ts +0 -2
- package/esm/components/layouts/index.d.ts +0 -7
- package/esm/components/lists/Calender.vue.d.ts +0 -2
- package/esm/components/lists/Racebar.vue.d.ts +0 -18
- package/esm/components/lists/Statistic.vue.d.ts +0 -18
- package/esm/components/lists/Stock.vue.d.ts +0 -12
- package/esm/components/lists/Timeline.vue.d.ts +0 -12
- package/esm/components/lists/Tree.vue.d.ts +0 -26
- package/esm/components/lists/index.d.ts +0 -15
- package/esm/components/pages/Column.vue.d.ts +0 -22
- package/esm/components/pages/Custom.vue.d.ts +0 -25
- package/esm/components/pages/Delete.vue.d.ts +0 -20
- package/esm/components/pages/Index.vue.d.ts +0 -2
- package/esm/components/pages/List.vue.d.ts +0 -24
- package/esm/components/pages/Paging.vue.d.ts +0 -24
- package/esm/components/pages/Single.vue.d.ts +0 -28
- package/esm/components/pages/index.d.ts +0 -146
- package/esm/components/pagings/Article.vue.d.ts +0 -27
- package/esm/components/pagings/Code.vue.d.ts +0 -12
- package/esm/components/pagings/DataExport.vue.d.ts +0 -33
- package/esm/components/pagings/DataImport.vue.d.ts +0 -18
- package/esm/components/pagings/File.vue.d.ts +0 -12
- package/esm/components/pagings/Index.vue.d.ts +0 -33
- package/esm/components/pagings/SearchFooter.vue.d.ts +0 -122
- package/esm/components/pagings/SearchForm.vue.d.ts +0 -72
- package/esm/components/pagings/Table.vue.d.ts +0 -31
- package/esm/components/pagings/index.d.ts +0 -11
- package/esm/components/partials/ArticleFooter.vue.d.ts +0 -24
- package/esm/components/partials/Detail.vue.d.ts +0 -20
- package/esm/components/partials/PagingHeader.vue.d.ts +0 -28
- package/esm/components/partials/PagingRow.vue.d.ts +0 -24
- package/esm/components/partials/TreeNode.vue.d.ts +0 -12
- package/esm/components/partials/Update.vue.d.ts +0 -20
- package/esm/components/partials/UpdateChild.vue.d.ts +0 -22
- package/esm/components/partials/index.d.ts +0 -135
- package/esm/components/searches/Autocomplete.vue.d.ts +0 -24
- package/esm/components/searches/Daterange.vue.d.ts +0 -22
- package/esm/components/searches/Index.vue.d.ts +0 -18
- package/esm/components/searches/Int.vue.d.ts +0 -24
- package/esm/components/searches/Month.vue.d.ts +0 -24
- package/esm/components/searches/Select.vue.d.ts +0 -24
- package/esm/components/searches/Text.vue.d.ts +0 -24
- package/esm/components/singles/Code.vue.d.ts +0 -18
- package/esm/components/singles/Comment.vue.d.ts +0 -12
- package/esm/components/singles/Index.vue.d.ts +0 -25
- package/esm/components/singles/Normal.vue.d.ts +0 -21
- package/esm/components/singles/Statistic.vue.d.ts +0 -12
- package/esm/components/singles/Stock.vue.d.ts +0 -12
- package/esm/components/singles/Table.vue.d.ts +0 -22
- package/esm/components/singles/Tree.vue.d.ts +0 -14
- package/esm/components/singles/Tree_Old.vue.d.ts +0 -2
- package/esm/components/singles/index.d.ts +0 -15
- package/esm/components/texts/Autocomplete.vue.d.ts +0 -16
- package/esm/components/texts/CSharp.vue.d.ts +0 -16
- package/esm/components/texts/Cascader.vue.d.ts +0 -22
- package/esm/components/texts/Checkbox.vue.d.ts +0 -16
- package/esm/components/texts/Code.vue.d.ts +0 -16
- package/esm/components/texts/Color.vue.d.ts +0 -16
- package/esm/components/texts/Compare.vue.d.ts +0 -16
- package/esm/components/texts/Copy.vue.d.ts +0 -24
- package/esm/components/texts/Date.vue.d.ts +0 -16
- package/esm/components/texts/DateRange.vue.d.ts +0 -16
- package/esm/components/texts/DateTime.vue.d.ts +0 -16
- package/esm/components/texts/Decimal.vue.d.ts +0 -16
- package/esm/components/texts/Dictionary.vue.d.ts +0 -24
- package/esm/components/texts/Email.vue.d.ts +0 -16
- package/esm/components/texts/Index.vue.d.ts +0 -22
- package/esm/components/texts/Int.vue.d.ts +0 -16
- package/esm/components/texts/Markdown.vue.d.ts +0 -16
- package/esm/components/texts/Month.vue.d.ts +0 -16
- package/esm/components/texts/Password.vue.d.ts +0 -16
- package/esm/components/texts/Progress.vue.d.ts +0 -16
- package/esm/components/texts/Radio.vue.d.ts +0 -16
- package/esm/components/texts/Rate.vue.d.ts +0 -24
- package/esm/components/texts/RichText.vue.d.ts +0 -16
- package/esm/components/texts/Select.vue.d.ts +0 -16
- package/esm/components/texts/Switch.vue.d.ts +0 -16
- package/esm/components/texts/Text.vue.d.ts +0 -16
- package/esm/components/texts/TextLink.vue.d.ts +0 -29
- package/esm/components/texts/Textarea.vue.d.ts +0 -16
- package/esm/components/texts/Upload.vue.d.ts +0 -16
- package/esm/components/texts/Year.vue.d.ts +0 -16
- package/esm/drivers/IDriver.d.ts +0 -10
- package/esm/drivers/cdns/Cdn.d.ts +0 -14
- package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
- package/esm/drivers/cdns/ICdn.d.ts +0 -34
- package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
- package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -12
- package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
- package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
- package/esm/drivers/cdns/index.d.ts +0 -0
- package/esm/drivers/driver-helper.d.ts +0 -46
- package/esm/drivers/encoders/Encoder.d.ts +0 -11
- package/esm/drivers/encoders/EncoderFactory.d.ts +0 -16
- package/esm/drivers/encoders/IEncoder.d.ts +0 -22
- package/esm/drivers/encoders/implement/Base64Encoder.d.ts +0 -11
- package/esm/drivers/encoders/index.d.ts +0 -0
- package/esm/drivers/excels/ExcelFactory.d.ts +0 -11
- package/esm/drivers/excels/IExcel.d.ts +0 -18
- package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -10
- package/esm/drivers/excels/index.d.ts +0 -2
- package/esm/drivers/explainers/Explainer.d.ts +0 -4
- package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -1
- package/esm/drivers/explainers/IExplainer.d.ts +0 -3
- package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -4
- package/esm/drivers/explainers/index.d.ts +0 -0
- package/esm/drivers/features/FeatureFactory.d.ts +0 -11
- package/esm/drivers/features/IFeature.d.ts +0 -23
- package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -12
- package/esm/drivers/features/implements/I18NFeature.d.ts +0 -12
- package/esm/drivers/features/implements/SortFeature.d.ts +0 -13
- package/esm/drivers/features/index.d.ts +0 -2
- package/esm/drivers/hashers/Hasher.d.ts +0 -10
- package/esm/drivers/hashers/HasherFactory.d.ts +0 -13
- package/esm/drivers/hashers/IHasher.d.ts +0 -19
- package/esm/drivers/hashers/implement/Md5Hasher.d.ts +0 -10
- package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +0 -10
- package/esm/drivers/hashers/index.d.ts +0 -2
- package/esm/drivers/index.d.ts +0 -9
- package/esm/drivers/providers/IProvider.d.ts +0 -47
- package/esm/drivers/providers/ProviderFactory.d.ts +0 -11
- package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -55
- package/esm/drivers/providers/index.d.ts +0 -2
- package/esm/drivers/requesters/IRequester.d.ts +0 -20
- package/esm/drivers/requesters/Requester.d.ts +0 -12
- package/esm/drivers/requesters/RequesterFactory.d.ts +0 -18
- package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -34
- package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
- package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -12
- package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -40
- package/esm/drivers/requesters/index.d.ts +0 -5
- package/esm/drivers/signers/ISigner.d.ts +0 -33
- package/esm/drivers/signers/SignerFactory.d.ts +0 -11
- package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -18
- package/esm/drivers/signers/index.d.ts +0 -2
- package/esm/drivers/ssos/ISso.d.ts +0 -41
- package/esm/drivers/ssos/SsoFactory.d.ts +0 -11
- package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -18
- package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -22
- package/esm/drivers/ssos/implements/NioSso.d.ts +0 -23
- package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -18
- package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -20
- package/esm/drivers/ssos/index.d.ts +0 -2
- package/esm/plugins/PcMessager.d.ts +0 -35
- package/esm/sdks/commons/HaCaptcha.vue.d.ts +0 -14
- package/esm/sdks/commons/HaCode.vue.d.ts +0 -40
- package/esm/sdks/commons/HaCol.vue.d.ts +0 -9
- package/esm/sdks/commons/HaCompare.vue.d.ts +0 -40
- package/esm/sdks/commons/HaContainer.vue.d.ts +0 -21
- package/esm/sdks/commons/HaDebug.vue.d.ts +0 -9
- package/esm/sdks/commons/HaEditable.vue.d.ts +0 -13
- package/esm/sdks/commons/HaEmpty.vue.d.ts +0 -24
- package/esm/sdks/commons/HaLoading.vue.d.ts +0 -33
- package/esm/sdks/commons/HaMouseContext.vue.d.ts +0 -2
- package/esm/sdks/commons/HaParticles.vue.d.ts +0 -2
- package/esm/sdks/commons/HaProgress.vue.d.ts +0 -8
- package/esm/sdks/commons/HaResizer.vue.d.ts +0 -26
- package/esm/sdks/commons/HaRow.vue.d.ts +0 -19
- package/esm/sdks/commons/HaSpinner.vue.d.ts +0 -20
- package/esm/sdks/commons/HaTable.vue.d.ts +0 -34
- package/esm/sdks/commons/HaTableColumn.vue.d.ts +0 -31
- package/esm/sdks/commons/HoCaptcha.vue.d.ts +0 -14
- package/esm/sdks/commons/HoCode.vue.d.ts +0 -39
- package/esm/sdks/commons/HoCol.vue.d.ts +0 -9
- package/esm/sdks/commons/HoCompare.vue.d.ts +0 -40
- package/esm/sdks/commons/HoContainer.vue.d.ts +0 -21
- package/esm/sdks/commons/HoDebug.vue.d.ts +0 -9
- package/esm/sdks/commons/HoEditable.vue.d.ts +0 -13
- package/esm/sdks/commons/HoEmpty.vue.d.ts +0 -24
- package/esm/sdks/commons/HoLoading.vue.d.ts +0 -33
- package/esm/sdks/commons/HoMouseContext.vue.d.ts +0 -2
- package/esm/sdks/commons/HoParticles.vue.d.ts +0 -2
- package/esm/sdks/commons/HoProgress.vue.d.ts +0 -8
- package/esm/sdks/commons/HoResizer.vue.d.ts +0 -26
- package/esm/sdks/commons/HoRow.vue.d.ts +0 -19
- package/esm/sdks/commons/HoSpinner.vue.d.ts +0 -20
- package/esm/sdks/commons/HoTable.vue.d.ts +0 -34
- package/esm/sdks/commons/HoTableColumn.vue.d.ts +0 -31
- package/esm/sdks/commons/index.d.ts +0 -90
- package/esm/sdks/globals/HaHeaderTab.vue.d.ts +0 -19
- package/esm/sdks/globals/HaHeaderTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HaMenu.vue.d.ts +0 -77
- package/esm/sdks/globals/HaMenuItem.vue.d.ts +0 -76
- package/esm/sdks/globals/HaMissComponent.vue.d.ts +0 -9
- package/esm/sdks/globals/HaSideTab.vue.d.ts +0 -21
- package/esm/sdks/globals/HaSideTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HaWindow.vue.d.ts +0 -66
- package/esm/sdks/globals/HoHeaderTab.vue.d.ts +0 -19
- package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HoMenu.vue.d.ts +0 -77
- package/esm/sdks/globals/HoMenuItem.vue.d.ts +0 -76
- package/esm/sdks/globals/HoMissComponent.vue.d.ts +0 -9
- package/esm/sdks/globals/HoSideTab.vue.d.ts +0 -21
- package/esm/sdks/globals/HoSideTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HoWindow.vue.d.ts +0 -66
- package/esm/sdks/globals/index.d.ts +0 -66
- package/esm/sdks/helpers/array-helper.d.ts +0 -97
- package/esm/sdks/helpers/component-helper.d.ts +0 -10
- package/esm/sdks/helpers/cookie-helper.d.ts +0 -6
- package/esm/sdks/helpers/dictionary-helper.d.ts +0 -18
- package/esm/sdks/helpers/dom-helper.d.ts +0 -74
- package/esm/sdks/helpers/encrypt-helper.d.ts +0 -18
- package/esm/sdks/helpers/event-helper.d.ts +0 -30
- package/esm/sdks/helpers/file-helper.d.ts +0 -22
- package/esm/sdks/helpers/html-helper.d.ts +0 -10
- package/esm/sdks/helpers/i18n-helper.d.ts +0 -14
- package/esm/sdks/helpers/image-helper.d.ts +0 -10
- package/esm/sdks/helpers/index.d.ts +0 -26
- package/esm/sdks/helpers/json-helper.d.ts +0 -31
- package/esm/sdks/helpers/math-helper.d.ts +0 -42
- package/esm/sdks/helpers/micro-helper.d.ts +0 -10
- package/esm/sdks/helpers/mount-helper.d.ts +0 -14
- package/esm/sdks/helpers/object-helper.d.ts +0 -34
- package/esm/sdks/helpers/script-helper.d.ts +0 -31
- package/esm/sdks/helpers/scroll-helper.d.ts +0 -14
- package/esm/sdks/helpers/sign-helper.d.ts +0 -14
- package/esm/sdks/helpers/storage-helper.d.ts +0 -34
- package/esm/sdks/helpers/string-helper.d.ts +0 -94
- package/esm/sdks/helpers/task-helper.d.ts +0 -26
- package/esm/sdks/helpers/time-helper.d.ts +0 -62
- package/esm/sdks/helpers/tree-helper.d.ts +0 -54
- package/esm/sdks/helpers/type-helper.d.ts +0 -26
- package/esm/sdks/helpers/url-helper.d.ts +0 -96
- package/esm/sdks/index.d.ts +0 -7
- package/esm/sdks/panels/HaGroup.vue.d.ts +0 -9
- package/esm/sdks/panels/HaHeader.vue.d.ts +0 -16
- package/esm/sdks/panels/HaOperation.vue.d.ts +0 -22
- package/esm/sdks/panels/HaPanel.vue.d.ts +0 -30
- package/esm/sdks/panels/HaShrink.vue.d.ts +0 -48
- package/esm/sdks/panels/HoGroup.vue.d.ts +0 -9
- package/esm/sdks/panels/HoHeader.vue.d.ts +0 -16
- package/esm/sdks/panels/HoOperation.vue.d.ts +0 -22
- package/esm/sdks/panels/HoPanel.vue.d.ts +0 -30
- package/esm/sdks/panels/HoShrink.vue.d.ts +0 -48
- package/esm/sdks/panels/index.d.ts +0 -13
- package/esm/sdks/stores/index.d.ts +0 -2
- package/esm/sdks/stores/window.d.ts +0 -25
- package/esm/sdks/thirds/index.d.ts +0 -8
- package/esm/sdks/utilities/AffixUtility.d.ts +0 -9
- package/esm/sdks/utilities/EventUtility.d.ts +0 -30
- package/esm/sdks/utilities/KeyboardUtility.d.ts +0 -73
- package/esm/sdks/utilities/MouseUtility.d.ts +0 -24
- package/esm/sdks/utilities/index.d.ts +0 -4
- package/esm/services/ComponentService.d.ts +0 -18
- package/esm/services/ControlService.d.ts +0 -42
- package/esm/services/HttpService.d.ts +0 -22
- package/esm/services/MessageService.d.ts +0 -34
- package/esm/services/PageService.d.ts +0 -38
- package/esm/services/SettingService.d.ts +0 -5
- package/esm/services/StandardService.d.ts +0 -34
- package/esm/services/UploadService.d.ts +0 -10
- package/esm/services/index.d.ts +0 -9
- package/esm/servs/AppServ.d.ts +0 -36
- package/esm/servs/ComponentServ.d.ts +0 -35
- package/esm/servs/ControlServ.d.ts +0 -42
- package/esm/servs/I18nServ.d.ts +0 -79
- package/esm/servs/LayoutServ.d.ts +0 -18
- package/esm/servs/PageServ.d.ts +0 -38
- package/esm/servs/RouterServ.d.ts +0 -23
- package/esm/servs/StandardServ.d.ts +0 -34
- package/esm/servs/UploadServ.d.ts +0 -10
- package/esm/servs/WindowServ.d.ts +0 -27
- package/esm/servs/index.d.ts +0 -17
- package/esm/stores/app.d.ts +0 -44
- package/esm/stores/component.d.ts +0 -30
- package/esm/stores/config.d.ts +0 -55
- package/esm/stores/driver.d.ts +0 -37
- package/esm/stores/i18n.d.ts +0 -67
- package/esm/stores/index.d.ts +0 -12
- package/esm/stores/layout.d.ts +0 -13
- package/esm/stores/log.d.ts +0 -20
- package/esm/stores/router.d.ts +0 -20
- package/esm/stores/setting.d.ts +0 -43
- package/esm/stores/socket.d.ts +0 -27
- package/esm/stores/user.d.ts +0 -40
@@ -1,19 +1,28 @@
|
|
1
|
-
import { defineComponent as P, toRefs as T, ref as A, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as h, unref as e, withCtx as r, createElementVNode as
|
1
|
+
import { defineComponent as P, toRefs as T, ref as A, resolveComponent as p, openBlock as l, createElementBlock as u, createVNode as h, unref as e, withCtx as r, createElementVNode as s, normalizeClass as L, Fragment as q, renderList as w, createBlock as g, toDisplayString as _, createTextVNode as x, createCommentVNode as S } from "vue";
|
2
2
|
import { useRoute as G, useRouter as H } from "vue-router";
|
3
|
-
import
|
4
|
-
import "./vendor-
|
5
|
-
import
|
6
|
-
|
3
|
+
import "./vendor-underscore.string-BEHfJwHl.js";
|
4
|
+
import "./vendor-clone-BPtCWdXG.js";
|
5
|
+
import "./vendor-underscore-B0BCaBxV.js";
|
6
|
+
import "./vendor-file-saver-CytTIJ-3.js";
|
7
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
8
|
+
import "./vendor-moment-h96o7c8I.js";
|
9
|
+
import { z as I, v as m, h as J, b as K } from "./main-Bf4o1iyx.js";
|
10
|
+
import "./vendor-crypto-js-YOeWQTUw.js";
|
11
|
+
import "./vendor-xlsx-js-style-DIFxrP6P.js";
|
12
|
+
import "element-plus";
|
13
|
+
import "./vendor-intro.js-DhhZ-dhc.js";
|
14
|
+
import { _ as M } from "./SearchForm.vue_vue_type_style_index_0_lang-BSs4V4mF.js";
|
15
|
+
const O = { class: "file-layout" }, Q = { class: "toolbar" }, U = /* @__PURE__ */ s("i", { class: "fa fa-list" }, null, -1), W = [
|
7
16
|
U
|
8
|
-
], X = /* @__PURE__ */
|
17
|
+
], X = /* @__PURE__ */ s("i", { class: "fa fa-image" }, null, -1), Y = [
|
9
18
|
X
|
10
19
|
], Z = {
|
11
20
|
key: 0,
|
12
21
|
class: "files-image"
|
13
|
-
}, ee = { class: "file-image" }, te = ["src"], oe = { class: "file-title" }, ae = { class: "file-name" }, le = ["src", "alt"],
|
22
|
+
}, ee = { class: "file-image" }, te = ["src"], oe = { class: "file-title" }, ae = { class: "file-name" }, le = ["src", "alt"], se = { class: "file-title" }, ne = {
|
14
23
|
key: 2,
|
15
24
|
class: "not-support"
|
16
|
-
},
|
25
|
+
}, Ce = /* @__PURE__ */ P({
|
17
26
|
__name: "File",
|
18
27
|
props: {
|
19
28
|
searchData: {},
|
@@ -25,99 +34,99 @@ const O = { class: "file-layout" }, Q = { class: "toolbar" }, U = /* @__PURE__ *
|
|
25
34
|
set: {}
|
26
35
|
},
|
27
36
|
setup(z) {
|
28
|
-
let
|
37
|
+
let F = z, { schema: N, table: n, layout: i, next: d, set: b, searchData: re } = T(F), f = G(), v = H(), k = A(), C = (t) => {
|
29
38
|
let a = { type: "fileLayout", value: t };
|
30
|
-
J.post("/user/config", a).then((
|
31
|
-
|
39
|
+
J.post("/user/config", a).then((y) => {
|
40
|
+
m.fileLayout = t;
|
32
41
|
});
|
33
|
-
},
|
42
|
+
}, V = (t) => {
|
34
43
|
let a = { ...f.query };
|
35
44
|
a.page = t, v.push({ path: d.value.paging.route, query: a });
|
36
|
-
},
|
45
|
+
}, B = () => {
|
37
46
|
let t = { ...f.query };
|
38
47
|
t.page = "1", t.condition = K.encode(k.value);
|
39
48
|
let a = { path: d.value.paging.route, query: t };
|
40
49
|
v.push(a);
|
41
50
|
};
|
42
51
|
return (t, a) => {
|
43
|
-
const
|
52
|
+
const y = p("router-link"), D = p("el-table-column"), R = p("el-table"), E = p("el-button"), j = p("el-pagination");
|
44
53
|
return l(), u("div", O, [
|
45
54
|
h(e(I), {
|
46
55
|
title: t.t_module(t.module.type, t.module.name)
|
47
56
|
}, {
|
48
57
|
operation: r(() => [
|
49
|
-
|
50
|
-
|
51
|
-
class:
|
58
|
+
s("div", Q, [
|
59
|
+
s("a", {
|
60
|
+
class: L({ active: e(m).fileLayout == "list" }),
|
52
61
|
onClick: a[0] || (a[0] = (o) => e(C)("list"))
|
53
62
|
}, W, 2),
|
54
|
-
|
55
|
-
class:
|
63
|
+
s("a", {
|
64
|
+
class: L({ active: e(m).fileLayout == "image" }),
|
56
65
|
onClick: a[1] || (a[1] = (o) => e(C)("image"))
|
57
66
|
}, Y, 2)
|
58
67
|
])
|
59
68
|
]),
|
60
69
|
append: r(() => [
|
61
|
-
e(
|
62
|
-
(l(!0), u(
|
70
|
+
e(m).fileLayout == "image" ? (l(), u("div", Z, [
|
71
|
+
(l(!0), u(q, null, w(e(b)[e(n).name], (o, $) => (l(), g(y, {
|
63
72
|
class: "file",
|
64
|
-
to: { path: e(d).detail.route, query: { id: o[e(
|
73
|
+
to: { path: e(d).detail.route, query: { id: o[e(n).key.name], m: e(f).query.m } },
|
65
74
|
key: $
|
66
75
|
}, {
|
67
76
|
default: r(() => [
|
68
|
-
|
69
|
-
|
77
|
+
s("div", ee, [
|
78
|
+
s("img", {
|
70
79
|
src: o[e(i).url],
|
71
80
|
alt: ""
|
72
81
|
}, null, 8, te)
|
73
82
|
]),
|
74
|
-
|
83
|
+
s("div", oe, _(o[e(i).name]), 1)
|
75
84
|
]),
|
76
85
|
_: 2
|
77
86
|
}, 1032, ["to"]))), 128))
|
78
|
-
])) : e(
|
87
|
+
])) : e(m).fileLayout == "list" ? (l(), g(R, {
|
79
88
|
key: 1,
|
80
89
|
class: "files-list",
|
81
90
|
border: "",
|
82
|
-
data: e(b)[e(
|
91
|
+
data: e(b)[e(n).name]
|
83
92
|
}, {
|
84
93
|
empty: r(() => [
|
85
94
|
x(_(t.t("common.no_data")), 1)
|
86
95
|
]),
|
87
96
|
default: r(() => [
|
88
|
-
(l(!0), u(
|
97
|
+
(l(!0), u(q, null, w(e(n).show, (o, $) => (l(), g(D, {
|
89
98
|
"show-overflow-tooltip": "",
|
90
|
-
sortable: e(
|
99
|
+
sortable: e(n) ? "custom" : !1,
|
91
100
|
"min-width": "180",
|
92
101
|
"sort-orders": ["descending", "ascending"],
|
93
102
|
prop: o.name,
|
94
103
|
label: `${o.label}${o.prefix || o.suffix ? "(" + (o.prefix || o.suffix) + ")" : ""}`,
|
95
|
-
key: `${e(
|
104
|
+
key: `${e(n).name}.${o.name}`
|
96
105
|
}, {
|
97
|
-
default: r((
|
98
|
-
|
99
|
-
|
106
|
+
default: r((c) => [
|
107
|
+
s("div", ae, [
|
108
|
+
c.column.property == e(i).name ? (l(), u("img", {
|
100
109
|
key: 0,
|
101
110
|
class: "file-image",
|
102
|
-
src:
|
103
|
-
alt:
|
111
|
+
src: c.row[e(i).url],
|
112
|
+
alt: c.row[e(i).name]
|
104
113
|
}, null, 8, le)) : S("", !0),
|
105
|
-
|
114
|
+
s("div", se, _(c.row[c.column.property]), 1)
|
106
115
|
])
|
107
116
|
]),
|
108
117
|
_: 2
|
109
118
|
}, 1032, ["sortable", "prop", "label"]))), 128))
|
110
119
|
]),
|
111
120
|
_: 1
|
112
|
-
}, 8, ["data"])) : (l(), u("div",
|
121
|
+
}, 8, ["data"])) : (l(), u("div", ne, "未支持的文件布局:" + _(e(m).fileLayout), 1))
|
113
122
|
]),
|
114
123
|
default: r(() => [
|
115
|
-
e(
|
124
|
+
e(n).search.length > 0 ? (l(), g(M, {
|
116
125
|
key: 0,
|
117
|
-
schema: e(
|
118
|
-
table: e(
|
126
|
+
schema: e(N),
|
127
|
+
table: e(n),
|
119
128
|
search: e(k),
|
120
|
-
onSubmit: e(
|
129
|
+
onSubmit: e(B)
|
121
130
|
}, null, 8, ["schema", "table", "search", "onSubmit"])) : S("", !0)
|
122
131
|
]),
|
123
132
|
_: 1
|
@@ -127,11 +136,11 @@ const O = { class: "file-layout" }, Q = { class: "toolbar" }, U = /* @__PURE__ *
|
|
127
136
|
icon: "el-icon-plus"
|
128
137
|
}, {
|
129
138
|
default: r(() => [
|
130
|
-
h(
|
139
|
+
h(y, {
|
131
140
|
to: { path: e(d).insert.route, query: { m: e(f).query.m } }
|
132
141
|
}, {
|
133
142
|
default: r(() => [
|
134
|
-
x("添加新" + _(e(
|
143
|
+
x("添加新" + _(e(n).title), 1)
|
135
144
|
]),
|
136
145
|
_: 1
|
137
146
|
}, 8, ["to"])
|
@@ -144,12 +153,12 @@ const O = { class: "file-layout" }, Q = { class: "toolbar" }, U = /* @__PURE__ *
|
|
144
153
|
"current-page": e(i).page,
|
145
154
|
"page-size": e(i).pageSize,
|
146
155
|
total: e(i).count,
|
147
|
-
onCurrentChange: e(
|
156
|
+
onCurrentChange: e(V)
|
148
157
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
149
158
|
]);
|
150
159
|
};
|
151
160
|
}
|
152
161
|
});
|
153
162
|
export {
|
154
|
-
|
163
|
+
Ce as default
|
155
164
|
};
|
@@ -0,0 +1,180 @@
|
|
1
|
+
import { defineComponent as Q, ref as u, onMounted as j, computed as D, watch as P, resolveComponent as c, openBlock as p, createElementBlock as U, createVNode as g, unref as o, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as C, isRef as L, withKeys as S, normalizeClass as Z, withModifiers as G, createTextVNode as T, Fragment as J, renderList as W, nextTick as $ } from "vue";
|
2
|
+
import { useRoute as X } from "vue-router";
|
3
|
+
import { p as Y, o as w, i as ee, S as te, I as F, U as oe, r as K, n as le } from "./main-Bf4o1iyx.js";
|
4
|
+
import "./vendor-underscore-B0BCaBxV.js";
|
5
|
+
import "./vendor-file-saver-CytTIJ-3.js";
|
6
|
+
import "./vendor-clone-BPtCWdXG.js";
|
7
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
8
|
+
import "./vendor-moment-h96o7c8I.js";
|
9
|
+
import "./vendor-crypto-js-YOeWQTUw.js";
|
10
|
+
import "./vendor-xlsx-js-style-DIFxrP6P.js";
|
11
|
+
const re = { class: "login-container" }, se = { class: "title-container" }, ne = { class: "title" }, ae = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
12
|
+
/* @__PURE__ */ n("i", { class: "fa fa-user" })
|
13
|
+
], -1), ie = /* @__PURE__ */ n("span", { class: "svg-container" }, [
|
14
|
+
/* @__PURE__ */ n("i", { class: "fa fa-key" })
|
15
|
+
], -1), ue = { class: "btn-others" }, pe = ["href"], de = ["innerHTML"], Ue = /* @__PURE__ */ Q({
|
16
|
+
__name: "Index",
|
17
|
+
setup(ce) {
|
18
|
+
let a = u({ id: "", secret: "" }), d = u("password"), s = u(!1), _ = u(!1), R = u(), V = u(), h = u(), { t: i, t_sys: H } = ee, x = X(), I = {
|
19
|
+
id: [{
|
20
|
+
required: !0,
|
21
|
+
trigger: "blur",
|
22
|
+
validator: (t, e, r) => {
|
23
|
+
e ? e.indexOf("@") > -1 ? te.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
|
24
|
+
}
|
25
|
+
}]
|
26
|
+
// secret: [{required: true, trigger: 'blur', validator: validateSecret}]
|
27
|
+
}, M = (t) => {
|
28
|
+
t.key && t.key.length == 1 && (t.shiftKey && t.key >= "a" && t.key <= "z" || !t.shiftKey && t.key >= "A" && t.key <= "Z" ? s.value = !0 : s.value = !1), t.key == "CapsLock" && s.value == !0 && (s.value = !1);
|
29
|
+
}, B = () => {
|
30
|
+
d.value == "password" ? d.value = "" : d.value = "password", $(() => {
|
31
|
+
h.value.focus();
|
32
|
+
});
|
33
|
+
}, E = async (t) => {
|
34
|
+
_.value = !0, R.value.validate(async (e) => {
|
35
|
+
if (!e)
|
36
|
+
return _.value = !1, !1;
|
37
|
+
(await F.sso.create(t)).login(a.value).then(({ data: f }) => {
|
38
|
+
oe.getBackUrl() ? K.toBackUrl() : K.to("/");
|
39
|
+
}).finally(() => {
|
40
|
+
$(() => {
|
41
|
+
_.value = !1;
|
42
|
+
});
|
43
|
+
});
|
44
|
+
});
|
45
|
+
}, N = async (t) => {
|
46
|
+
let e = await F.sso.create(t), r = x.query.return_url, f = `${window.location.origin}/sso/callback?type=${t.toLowerCase()}&return_url=${r}`;
|
47
|
+
return e.loginUrl(le.api.url + `/user/login?type=${t.toLowerCase()}&callback_url=` + encodeURIComponent(f));
|
48
|
+
}, O = (t) => Object.keys(t).reduce((e, r) => (e[r] = t[r], e), {});
|
49
|
+
j(async () => {
|
50
|
+
Y.setI18nTitle("common.login");
|
51
|
+
for (let t = 0; t < w.ssos.length; t++) {
|
52
|
+
let e = w.ssos[t];
|
53
|
+
e.loginUrl = await N(e.type);
|
54
|
+
}
|
55
|
+
y.value != null && (a.value.id == "" ? V.value.focus() : a.value.secret == "" && h.value.focus());
|
56
|
+
});
|
57
|
+
let y = D(() => w.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
|
58
|
+
return P(() => x, (t) => {
|
59
|
+
debugger;
|
60
|
+
const e = t.query;
|
61
|
+
e && (otherQuery = O(e));
|
62
|
+
}), (t, e) => {
|
63
|
+
const r = c("el-input"), f = c("el-form-item"), b = c("el-tooltip"), q = c("el-button"), A = c("router-link"), z = c("el-form");
|
64
|
+
return p(), U("div", re, [
|
65
|
+
g(z, {
|
66
|
+
ref_key: "loginFormRef",
|
67
|
+
ref: R,
|
68
|
+
autocomplete: "on",
|
69
|
+
"label-position": "left",
|
70
|
+
model: o(a),
|
71
|
+
rules: o(I)
|
72
|
+
}, {
|
73
|
+
default: m(() => [
|
74
|
+
n("div", se, [
|
75
|
+
n("h3", ne, k(o(H)("title")), 1)
|
76
|
+
]),
|
77
|
+
o(y) ? (p(), v(f, {
|
78
|
+
key: 0,
|
79
|
+
prop: "id"
|
80
|
+
}, {
|
81
|
+
default: m(() => [
|
82
|
+
ae,
|
83
|
+
g(r, {
|
84
|
+
ref_key: "idRef",
|
85
|
+
ref: V,
|
86
|
+
placeholder: o(i)("common.username_or_email"),
|
87
|
+
name: "id",
|
88
|
+
type: "text",
|
89
|
+
tabindex: "1",
|
90
|
+
autocomplete: "on",
|
91
|
+
modelValue: o(a).id,
|
92
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => o(a).id = l)
|
93
|
+
}, null, 8, ["placeholder", "modelValue"])
|
94
|
+
]),
|
95
|
+
_: 1
|
96
|
+
})) : C("", !0),
|
97
|
+
o(y) ? (p(), v(b, {
|
98
|
+
key: 1,
|
99
|
+
content: "Caps lock is On",
|
100
|
+
placement: "right",
|
101
|
+
manual: "",
|
102
|
+
modelValue: o(s),
|
103
|
+
"onUpdate:modelValue": e[5] || (e[5] = (l) => L(s) ? s.value = l : s = l)
|
104
|
+
}, {
|
105
|
+
default: m(() => [
|
106
|
+
g(f, { prop: "secret" }, {
|
107
|
+
default: m(() => [
|
108
|
+
ie,
|
109
|
+
(p(), v(r, {
|
110
|
+
ref_key: "secretRef",
|
111
|
+
ref: h,
|
112
|
+
key: o(d),
|
113
|
+
type: o(d),
|
114
|
+
placeholder: o(i)("common.password"),
|
115
|
+
name: "secret",
|
116
|
+
tabindex: "2",
|
117
|
+
autocomplete: "on",
|
118
|
+
onKeyup: [
|
119
|
+
S(o(M), ["native"]),
|
120
|
+
e[2] || (e[2] = S((l) => o(E)("Bearer"), ["enter", "native"]))
|
121
|
+
],
|
122
|
+
onBlur: e[1] || (e[1] = (l) => L(s) ? s.value = !1 : s = !1),
|
123
|
+
modelValue: o(a).secret,
|
124
|
+
"onUpdate:modelValue": e[3] || (e[3] = (l) => o(a).secret = l)
|
125
|
+
}, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
|
126
|
+
n("span", {
|
127
|
+
class: "btn-pwd",
|
128
|
+
onClick: e[4] || (e[4] = //@ts-ignore
|
129
|
+
(...l) => o(B) && o(B)(...l))
|
130
|
+
}, [
|
131
|
+
n("i", {
|
132
|
+
class: Z(o(d) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
|
133
|
+
}, null, 2)
|
134
|
+
])
|
135
|
+
]),
|
136
|
+
_: 1
|
137
|
+
})
|
138
|
+
]),
|
139
|
+
_: 1
|
140
|
+
}, 8, ["modelValue"])) : C("", !0),
|
141
|
+
o(y) ? (p(), v(q, {
|
142
|
+
key: 2,
|
143
|
+
type: "primary",
|
144
|
+
class: "btn-login",
|
145
|
+
loading: o(_),
|
146
|
+
onClick: e[6] || (e[6] = G((l) => o(E)("Bearer"), ["prevent"]))
|
147
|
+
}, {
|
148
|
+
default: m(() => [
|
149
|
+
T(k(o(i)("common.login")), 1)
|
150
|
+
]),
|
151
|
+
_: 1
|
152
|
+
}, 8, ["loading"])) : C("", !0),
|
153
|
+
n("div", ue, [
|
154
|
+
(p(!0), U(J, null, W(o(w).ssos.filter((l) => l.type.toUpperCase() != "BEARER"), (l) => (p(), U("a", {
|
155
|
+
href: l.loginUrl
|
156
|
+
}, k(o(i)(l.text)), 9, pe))), 256)),
|
157
|
+
g(A, {
|
158
|
+
class: "btn-register",
|
159
|
+
to: "/register"
|
160
|
+
}, {
|
161
|
+
default: m(() => [
|
162
|
+
T(k(o(i)("common.register")), 1)
|
163
|
+
]),
|
164
|
+
_: 1
|
165
|
+
})
|
166
|
+
])
|
167
|
+
]),
|
168
|
+
_: 1
|
169
|
+
}, 8, ["model", "rules"]),
|
170
|
+
n("div", {
|
171
|
+
class: "powered-by",
|
172
|
+
innerHTML: o(i)("sys.powered_by")
|
173
|
+
}, null, 8, de)
|
174
|
+
]);
|
175
|
+
};
|
176
|
+
}
|
177
|
+
});
|
178
|
+
export {
|
179
|
+
Ue as default
|
180
|
+
};
|
@@ -0,0 +1,77 @@
|
|
1
|
+
import { defineComponent as x, defineAsyncComponent as C, toRefs as D, computed as d, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as b, isRef as w, createElementVNode as _, toDisplayString as h } from "vue";
|
2
|
+
import { S as N } from "./main-Bf4o1iyx.js";
|
3
|
+
import "./vendor-clone-BPtCWdXG.js";
|
4
|
+
import "./vendor-underscore-B0BCaBxV.js";
|
5
|
+
import "./vendor-file-saver-CytTIJ-3.js";
|
6
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
7
|
+
import "./vendor-moment-h96o7c8I.js";
|
8
|
+
import "./vendor-crypto-js-YOeWQTUw.js";
|
9
|
+
import "./vendor-xlsx-js-style-DIFxrP6P.js";
|
10
|
+
const j = /* @__PURE__ */ x({
|
11
|
+
__name: "Index",
|
12
|
+
props: {
|
13
|
+
schema: {},
|
14
|
+
table: {},
|
15
|
+
field: {},
|
16
|
+
set: {},
|
17
|
+
row: {},
|
18
|
+
config: {}
|
19
|
+
},
|
20
|
+
emits: ["submit", "change"],
|
21
|
+
setup(g, { emit: S }) {
|
22
|
+
let V = C(() => import("./TextLink-C6iV4AMN.js")), k = g, { schema: u, table: i, field: o, set: s, row: r, config: n } = D(k), p = d(() => {
|
23
|
+
let l = o.value.control.type;
|
24
|
+
return n.value && n.value.control && n.value.control.type ? n.value.control.type : l;
|
25
|
+
}), y = d(() => `text-${N.getDashName(p.value)}`), t = d({
|
26
|
+
get() {
|
27
|
+
return r.value[o.value.name];
|
28
|
+
},
|
29
|
+
set(l) {
|
30
|
+
r.value[o.value.name] = l;
|
31
|
+
}
|
32
|
+
});
|
33
|
+
return (l, a) => e(o).link ? (c(), f(e(V), {
|
34
|
+
key: 0,
|
35
|
+
schema: e(u),
|
36
|
+
table: e(i),
|
37
|
+
field: e(o),
|
38
|
+
set: e(s),
|
39
|
+
row: e(r)
|
40
|
+
}, {
|
41
|
+
default: v(() => [
|
42
|
+
(c(), f(b(e(y)), {
|
43
|
+
schema: e(u),
|
44
|
+
table: e(i),
|
45
|
+
field: e(o),
|
46
|
+
set: e(s),
|
47
|
+
row: e(r),
|
48
|
+
modelValue: e(t),
|
49
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => w(t) ? t.value = m : t = m)
|
50
|
+
}, {
|
51
|
+
default: v(() => [
|
52
|
+
_("div", null, h(l.t("common.unsupported_text_control", e(p))), 1)
|
53
|
+
]),
|
54
|
+
_: 1
|
55
|
+
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
|
56
|
+
]),
|
57
|
+
_: 1
|
58
|
+
}, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(b(e(y)), {
|
59
|
+
key: 1,
|
60
|
+
schema: e(u),
|
61
|
+
table: e(i),
|
62
|
+
field: e(o),
|
63
|
+
set: e(s),
|
64
|
+
row: e(r),
|
65
|
+
modelValue: e(t),
|
66
|
+
"onUpdate:modelValue": a[1] || (a[1] = (m) => w(t) ? t.value = m : t = m)
|
67
|
+
}, {
|
68
|
+
default: v(() => [
|
69
|
+
_("div", null, h(l.t("common.unsupported_text_control", e(p))), 1)
|
70
|
+
]),
|
71
|
+
_: 1
|
72
|
+
}, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
|
73
|
+
}
|
74
|
+
});
|
75
|
+
export {
|
76
|
+
j as default
|
77
|
+
};
|
@@ -1,8 +1,17 @@
|
|
1
|
-
import { defineComponent as k, toRefs as D, ref as N, openBlock as
|
2
|
-
import {
|
1
|
+
import { defineComponent as k, toRefs as D, ref as N, openBlock as s, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } from "vue";
|
2
|
+
import { l as F } from "./main-Bf4o1iyx.js";
|
3
|
+
import "./vendor-underscore.string-BEHfJwHl.js";
|
4
|
+
import "./vendor-clone-BPtCWdXG.js";
|
5
|
+
import "./vendor-underscore-B0BCaBxV.js";
|
6
|
+
import "./vendor-file-saver-CytTIJ-3.js";
|
7
|
+
import "./vendor-@monaco-editor-DKC4UNw_.js";
|
8
|
+
import "./vendor-moment-h96o7c8I.js";
|
9
|
+
import "./vendor-crypto-js-YOeWQTUw.js";
|
10
|
+
import "./vendor-xlsx-js-style-DIFxrP6P.js";
|
11
|
+
import "element-plus";
|
3
12
|
import "vue-router";
|
4
|
-
import "./vendor-intro.js-
|
5
|
-
const
|
13
|
+
import "./vendor-intro.js-DhhZ-dhc.js";
|
14
|
+
const I = { class: "not-support" }, Z = /* @__PURE__ */ k({
|
6
15
|
__name: "Index",
|
7
16
|
props: {
|
8
17
|
searchData: {},
|
@@ -14,8 +23,8 @@ const F = { class: "not-support" }, K = /* @__PURE__ */ k({
|
|
14
23
|
set: {}
|
15
24
|
},
|
16
25
|
emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
|
17
|
-
setup(c, { expose:
|
18
|
-
let o =
|
26
|
+
setup(c, { expose: i, emit: u }) {
|
27
|
+
let o = u, m = c, { module: p, schema: g, table: r, layout: l, next: h, set: d, searchData: y } = D(m), n = N(), f = (a, t) => {
|
19
28
|
o("navigate", a, t);
|
20
29
|
}, C = (a, t) => {
|
21
30
|
o("sort", a, t);
|
@@ -32,7 +41,7 @@ const F = { class: "not-support" }, K = /* @__PURE__ */ k({
|
|
32
41
|
}, S = (a) => {
|
33
42
|
o("layout-change", a);
|
34
43
|
};
|
35
|
-
return
|
44
|
+
return i({ resize: (a) => {
|
36
45
|
if (!n.value || !n.value.resize)
|
37
46
|
return !1;
|
38
47
|
n.value.resize(a);
|
@@ -40,20 +49,20 @@ const F = { class: "not-support" }, K = /* @__PURE__ */ k({
|
|
40
49
|
if (!n.value || !n.value.keyboard)
|
41
50
|
return !1;
|
42
51
|
n.value.keyboard(a, t);
|
43
|
-
} }), (a, t) => (
|
44
|
-
R(e(
|
52
|
+
} }), (a, t) => (s(), B(L, null, [
|
53
|
+
R(e(F), {
|
45
54
|
layout: e(l),
|
46
|
-
table: e(
|
55
|
+
table: e(r),
|
47
56
|
onLayoutChange: e(S)
|
48
57
|
}, null, 8, ["layout", "table", "onLayoutChange"]),
|
49
|
-
(
|
58
|
+
(s(), w(E(`paging-${e(l).type.toLowerCase()}`), {
|
50
59
|
ref_key: "pagingRef",
|
51
60
|
ref: n,
|
52
|
-
module: e(
|
53
|
-
schema: e(
|
54
|
-
table: e(
|
61
|
+
module: e(p),
|
62
|
+
schema: e(g),
|
63
|
+
table: e(r),
|
55
64
|
layout: e(l),
|
56
|
-
next: e(
|
65
|
+
next: e(h),
|
57
66
|
set: e(d),
|
58
67
|
"search-data": e(y),
|
59
68
|
onNavigate: e(f),
|
@@ -65,7 +74,7 @@ const F = { class: "not-support" }, K = /* @__PURE__ */ k({
|
|
65
74
|
onClose: e(z)
|
66
75
|
}, {
|
67
76
|
default: P(() => [
|
68
|
-
V("div",
|
77
|
+
V("div", I, "未支持的分页布局方式:" + $(e(l).type), 1)
|
69
78
|
]),
|
70
79
|
_: 1
|
71
80
|
}, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
|
@@ -73,5 +82,5 @@ const F = { class: "not-support" }, K = /* @__PURE__ */ k({
|
|
73
82
|
}
|
74
83
|
});
|
75
84
|
export {
|
76
|
-
|
85
|
+
Z as _
|
77
86
|
};
|