halo-pc 1.0.32 → 1.0.34
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-0A49F8P3.js +196 -0
- package/dist/{ArticleFooter-CQ9AIv5h.js → ArticleFooter-DVCVY8fL.js} +18 -22
- package/dist/Autocomplete-BHTBAXI4.js +51 -0
- package/dist/{Autocomplete-OR6Im-cE.js → Autocomplete-CfwcsH9X.js} +1 -1
- package/dist/Autocomplete-wJRVhTSr.js +50 -0
- package/dist/{CSharp-AEpf5-C8.js → CSharp-NVVr0btN.js} +1 -1
- package/dist/{Calender-B9SQE_dy.js → Calender-C25Zt8pB.js} +1 -1
- package/dist/Callback-CwvEGzcg.js +22 -0
- package/dist/{Cascader-CQYJHxde.js → Cascader-BIPlzFxe.js} +17 -21
- package/dist/Cascader-Bo8EBeD0.js +43 -0
- package/dist/{Checkbox-DYnxQbzW.js → Checkbox-BbE-mfrG.js} +1 -1
- package/dist/{Checkbox-rn3rUyNj.js → Checkbox-ad3zFkbT.js} +14 -18
- package/dist/{Code-CrgtwU3k.js → Code-B1IngqnV.js} +1 -1
- package/dist/Code-BfH1YqPu.js +38 -0
- package/dist/Code-C3wvju3a.js +56 -0
- package/dist/Code-CLm3GJU5.js +4 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-BtYg0qCY.js +61 -0
- package/dist/Column-C5t97ur4.js +71 -0
- package/dist/Comment-DJwFyMUA.js +100 -0
- package/dist/Compare-ByagdHQX.js +39 -0
- package/dist/{Compare-Cv14ecIG.js → Compare-DXdAxVeB.js} +8 -12
- package/dist/Copy-BqzKzCBc.js +45 -0
- package/dist/Custom-CZCf6EdX.js +61 -0
- package/dist/{DataExport-nWsB9V2F.js → DataExport-DDrI7qCj.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CSEK5Szf.js → DataExport.vue_vue_type_script_setup_true_lang-Bw_vJ1Br.js} +25 -28
- package/dist/{DataImport-B-p5FvJ7.js → DataImport-D0qpiN9N.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-aFcYHSGO.js → DataImport.vue_vue_type_script_setup_true_lang-B-Viy4DV.js} +52 -54
- package/dist/{Date-ajUkX7sc.js → Date-7SowHlFy.js} +1 -1
- package/dist/Date-fBbHVdBO.js +39 -0
- package/dist/{DateRange-t7EQCe1S.js → DateRange-464QAgtl.js} +16 -20
- package/dist/{DateTime-C0ZOwxCc.js → DateTime-BQdGxMuT.js} +1 -1
- package/dist/DateTime-CHfA2yVX.js +40 -0
- package/dist/{DateTimeRange-CcO07AoI.js → DateTimeRange-D9nD2R59.js} +11 -15
- package/dist/Daterange-BzQiMxTf.js +59 -0
- package/dist/{Decimal-BgjGUtrc.js → Decimal-DmMf2VS9.js} +1 -1
- package/dist/{Delete-C9XmUMZJ.js → Delete-DUlL4Ekn.js} +9 -13
- package/dist/Detail-0EGB67GH.js +71 -0
- package/dist/Dictionary-DcZ6B6OQ.js +57 -0
- package/dist/{Email-CJPL28hv.js → Email-CdNevnHG.js} +12 -16
- package/dist/File-C32GW6xh.js +158 -0
- package/dist/{Image-BDtr8i7Q.js → Image-CjX_5BQP.js} +1 -1
- package/dist/{Index-A3fVUpUc.js → Index-AkT5lS7_.js} +18 -21
- package/dist/Index-B4fTYPvp.js +4 -0
- package/dist/Index-BaCO8oxQ.js +4 -0
- package/dist/Index-BdUKso9r.js +175 -0
- package/dist/{Index-DFgVPWAR.js → Index-CVrkL3OL.js} +1 -1
- package/dist/Index-DDH8Z-8G.js +4 -0
- package/dist/Index-DEeN6NF3.js +4 -0
- package/dist/{Index-CrsEtA8H.js → Index-DqYjZ0WV.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-D8sKBxWN.js → Index.vue_vue_type_script_setup_true_lang-DTIzyTKV.js} +10 -14
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BchX4oAa.js → Index.vue_vue_type_script_setup_true_lang-oCZva2ft.js} +12 -16
- package/dist/{Install-BKjOyBl4.js → Install-8aYvXNcI.js} +50 -54
- package/dist/{Int-DHDcCAlq.js → Int-B6NKxa49.js} +9 -13
- package/dist/{Int-DH7oV_hH.js → Int-BWJIpMIU.js} +11 -14
- package/dist/{List-sJPDvZo0.js → List-UzIfwX49.js} +27 -31
- package/dist/Maintaince-D5AJe-XM.js +16 -0
- package/dist/{Markdown-569jtVWW.js → Markdown-0VblT2uI.js} +1 -1
- package/dist/Month-B7L0yMpS.js +39 -0
- package/dist/Month-DBFUZ0GW.js +40 -0
- package/dist/{Month-B8bZg9yu.js → Month-GbE9_bWA.js} +1 -1
- package/dist/{Normal-COyWYgbT.js → Normal-D8hpyH5M.js} +81 -84
- package/dist/Paging-rtMed0Sy.js +96 -0
- package/dist/PagingHeader-aLM8HpOv.js +143 -0
- package/dist/{PagingRow-BMCnYeRU.js → PagingRow-O7oBHQPG.js} +12 -16
- package/dist/QueryApi-WhFuwo_F.js +16 -0
- package/dist/{Racebar-jI_Tr0oJ.js → Racebar-COpaXaKR.js} +39 -42
- package/dist/{Radio-CXOvmHaC.js → Radio-CBrBsj-P.js} +1 -1
- package/dist/Register-BqN5D3_n.js +198 -0
- package/dist/{RichText-BFoNVAke.js → RichText-CPJ8b-dz.js} +12 -16
- package/dist/{SearchFooter-z_VvJkGQ.js → SearchFooter-BwkLFHKe.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Cyc3lOz2.js → SearchFooter.vue_vue_type_style_index_0_lang-DVIVF713.js} +1 -1
- package/dist/{SearchForm-DOf6HA9X.js → SearchForm-CvH-0W7u.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-4UV9Kag_.js → SearchForm.vue_vue_type_style_index_0_lang-Cb52PjZe.js} +40 -43
- package/dist/{Select-C07y0IUr.js → Select-BImtLux6.js} +15 -19
- package/dist/{Select-DUL8NZY-.js → Select-CIa2dGml.js} +1 -1
- package/dist/{Select-DjvKZlDp.js → Select-eMjldrWJ.js} +27 -31
- package/dist/{Single-CoZwT834.js → Single-DLM8uDJ6.js} +110 -113
- package/dist/{Statistic-B9sFcyyg.js → Statistic-s5tlvbn2.js} +34 -37
- package/dist/{Stock-lAtweMdA.js → Stock-C201huf0.js} +1 -1
- package/dist/{Stock-CwZn5mMQ.js → Stock-dq4XJ57m.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-BuSHv622.js → Stock.vue_vue_type_style_index_0_lang-zFDGFun3.js} +28 -31
- package/dist/{Switch-D5N98lH2.js → Switch--lyzbPEU.js} +1 -1
- package/dist/{Table-D_G9vqqg.js → Table-BbUzsIBM.js} +98 -102
- package/dist/Table-Bly5PFIJ.js +241 -0
- package/dist/{Text-PDd5nZH8.js → Text-8VqbfNy3.js} +9 -13
- package/dist/Text-Dr7VfqLe.js +4 -0
- package/dist/{Text-CP8Fzkm-.js → Text-DrAHP0p2.js} +17 -21
- package/dist/Text.vue_vue_type_style_index_0_lang-IxMYA_cu.js +55 -0
- package/dist/{TextLink-B-uh2FSK.js → TextLink-D7b2GqmQ.js} +17 -21
- package/dist/{Textarea-m0k4bL1V.js → Textarea-oDjOpaO0.js} +1 -1
- package/dist/Time-80U5QafM.js +39 -0
- package/dist/{Timeline-CWVqeAPO.js → Timeline-EKq2D4wv.js} +14 -18
- package/dist/Tree-Bf-kpbwp.js +294 -0
- package/dist/Tree-DuFSGBw_.js +119 -0
- package/dist/TreeNode-Bj4oWOws.js +39 -0
- package/dist/Update-1_cGh8pa.js +66 -0
- package/dist/UpdateChild-DdFGPX51.js +88 -0
- package/dist/Upload-DzicaeX9.js +148 -0
- package/dist/Upload-PdcM-ZQd.js +69 -0
- package/dist/UploadApi-Dm_lj8m4.js +16 -0
- package/dist/Year-BF1FsPiq.js +43 -0
- package/dist/{Year-C1ewILpv.js → Year-Bm_YQkFR.js} +1 -1
- package/dist/assets/{liquidjs-C-LVcoaY.js → liquidjs-B8dqQyVv.js} +639 -632
- package/dist/main-DKQm8MHi.js +9789 -0
- package/dist/main.js +139 -135
- package/dist/style.css +1 -1
- package/esm/coms/business/Condition.vue.d.ts +4 -16
- package/esm/coms/business/Crud.vue.d.ts +14 -22
- package/esm/coms/business/Drawer.vue.d.ts +4 -18
- package/esm/coms/business/Driver.vue.d.ts +23 -38
- package/esm/coms/business/Feedback.vue.d.ts +5 -5
- package/esm/coms/business/Form.vue.d.ts +13 -15
- package/esm/coms/business/Switch.vue.d.ts +7 -13
- package/esm/coms/business/Welcome.vue.d.ts +6 -6
- package/esm/coms/commons/Captcha.vue.d.ts +7 -7
- package/esm/coms/commons/Debug.vue.d.ts +10 -4
- package/esm/coms/commons/Editable.vue.d.ts +11 -5
- package/esm/coms/commons/Loading.vue.d.ts +17 -17
- package/esm/coms/commons/MouseContext.vue.d.ts +1 -1
- package/esm/coms/commons/Particles.vue.d.ts +1 -1
- package/esm/coms/commons/Resizer.vue.d.ts +18 -14
- package/esm/coms/commons/Spinner.vue.d.ts +7 -11
- package/esm/coms/commons/Table.vue.d.ts +22 -22
- package/esm/coms/commons/TableColumn.vue.d.ts +17 -17
- package/esm/coms/controls/Autocomplete.vue.d.ts +7 -16
- package/esm/coms/controls/Cascader.vue.d.ts +7 -16
- package/esm/coms/controls/Checkbox.vue.d.ts +7 -16
- package/esm/coms/controls/Code.vue.d.ts +7 -16
- package/esm/coms/controls/Color.vue.d.ts +7 -16
- package/esm/coms/controls/Compare.vue.d.ts +7 -16
- package/esm/coms/controls/Date.vue.d.ts +7 -16
- package/esm/coms/controls/DateRange.vue.d.ts +7 -16
- package/esm/coms/controls/DateTime.vue.d.ts +7 -16
- package/esm/coms/controls/DateTimeRange.vue.d.ts +7 -16
- package/esm/coms/controls/Decimal.vue.d.ts +7 -16
- package/esm/coms/controls/Email.vue.d.ts +7 -16
- package/esm/coms/controls/Image.vue.d.ts +1 -1
- package/esm/coms/controls/Index.vue.d.ts +5 -14
- package/esm/coms/controls/Int.vue.d.ts +7 -16
- package/esm/coms/controls/Markdown.vue.d.ts +7 -16
- package/esm/coms/controls/Month.vue.d.ts +7 -16
- package/esm/coms/controls/Password.vue.d.ts +7 -16
- package/esm/coms/controls/Progress.vue.d.ts +7 -16
- package/esm/coms/controls/Radio.vue.d.ts +7 -16
- package/esm/coms/controls/Rate.vue.d.ts +7 -16
- package/esm/coms/controls/RichText.vue.d.ts +6 -13
- package/esm/coms/controls/Select.vue.d.ts +7 -16
- package/esm/coms/controls/Switch.vue.d.ts +7 -16
- package/esm/coms/controls/Text.vue.d.ts +8 -17
- package/esm/coms/controls/Textarea.vue.d.ts +7 -16
- package/esm/coms/controls/Time.vue.d.ts +7 -16
- package/esm/coms/controls/Upload.vue.d.ts +7 -16
- package/esm/coms/controls/Year.vue.d.ts +7 -16
- package/esm/coms/globals/HeaderTab.vue.d.ts +17 -10
- package/esm/coms/globals/HeaderTabs.vue.d.ts +16 -9
- package/esm/coms/globals/Menu.vue.d.ts +14 -39
- package/esm/coms/globals/MenuItem.vue.d.ts +13 -39
- package/esm/coms/globals/MissComponent.vue.d.ts +11 -4
- package/esm/coms/globals/SideTab.vue.d.ts +18 -11
- package/esm/coms/globals/SideTabs.vue.d.ts +16 -9
- package/esm/coms/globals/Window.vue.d.ts +42 -43
- package/esm/coms/headers/Breadcrumb.vue.d.ts +1 -1
- package/esm/coms/headers/Debugger.vue.d.ts +1 -1
- package/esm/coms/headers/Hamburger.vue.d.ts +7 -10
- package/esm/coms/headers/HeaderRight.vue.d.ts +5 -1
- package/esm/coms/headers/Index.vue.d.ts +36 -20
- package/esm/coms/headers/Log.vue.d.ts +1 -1
- package/esm/coms/headers/Logo.vue.d.ts +2 -2
- package/esm/coms/headers/Refresh.vue.d.ts +2 -2
- package/esm/coms/headers/Setting.vue.d.ts +2 -2
- package/esm/coms/headers/index.d.ts +2 -2
- package/esm/coms/layouts/Desktop.vue.d.ts +1 -1
- package/esm/coms/layouts/Index.vue.d.ts +31 -1
- package/esm/coms/layouts/Side.vue.d.ts +27 -1
- package/esm/coms/layouts/Top.vue.d.ts +1 -1
- package/esm/coms/lists/Calender.vue.d.ts +1 -1
- package/esm/coms/lists/Racebar.vue.d.ts +4 -13
- package/esm/coms/lists/Statistic.vue.d.ts +4 -13
- package/esm/coms/lists/Stock.vue.d.ts +1 -10
- package/esm/coms/lists/Timeline.vue.d.ts +1 -10
- package/esm/coms/lists/Tree.vue.d.ts +5 -14
- package/esm/coms/pages/Column.vue.d.ts +4 -13
- package/esm/coms/pages/Custom.vue.d.ts +4 -13
- package/esm/coms/pages/Delete.vue.d.ts +3 -12
- package/esm/coms/pages/List.vue.d.ts +6 -15
- package/esm/coms/pages/Paging.vue.d.ts +6 -15
- package/esm/coms/pages/Single.vue.d.ts +6 -15
- package/esm/coms/pagings/Article.vue.d.ts +5 -14
- package/esm/coms/pagings/Code.vue.d.ts +1 -10
- package/esm/coms/pagings/DataExport.vue.d.ts +10 -16
- package/esm/coms/pagings/DataImport.vue.d.ts +9 -8
- package/esm/coms/pagings/File.vue.d.ts +1 -10
- package/esm/coms/pagings/Index.vue.d.ts +6 -15
- package/esm/coms/pagings/SearchFooter.vue.d.ts +17 -60
- package/esm/coms/pagings/SearchForm.vue.d.ts +10 -35
- package/esm/coms/pagings/Table.vue.d.ts +6 -15
- package/esm/coms/panels/Group.vue.d.ts +11 -4
- package/esm/coms/panels/Header.vue.d.ts +5 -9
- package/esm/coms/panels/Operation.vue.d.ts +17 -17
- package/esm/coms/panels/Panel.vue.d.ts +21 -17
- package/esm/coms/panels/Shrink.vue.d.ts +19 -23
- package/esm/coms/partials/ArticleFooter.vue.d.ts +9 -18
- package/esm/coms/partials/Detail.vue.d.ts +6 -15
- package/esm/coms/partials/PagingHeader.vue.d.ts +12 -21
- package/esm/coms/partials/PagingRow.vue.d.ts +9 -18
- package/esm/coms/partials/TreeNode.vue.d.ts +1 -10
- package/esm/coms/partials/Update.vue.d.ts +6 -15
- package/esm/coms/partials/UpdateChild.vue.d.ts +8 -17
- package/esm/coms/searches/Autocomplete.vue.d.ts +7 -16
- package/esm/coms/searches/Daterange.vue.d.ts +7 -16
- package/esm/coms/searches/Index.vue.d.ts +3 -12
- package/esm/coms/searches/Int.vue.d.ts +7 -16
- package/esm/coms/searches/Month.vue.d.ts +7 -16
- package/esm/coms/searches/Select.vue.d.ts +7 -16
- package/esm/coms/searches/Text.vue.d.ts +7 -16
- package/esm/coms/singles/Code.vue.d.ts +3 -12
- package/esm/coms/singles/Comment.vue.d.ts +1 -10
- package/esm/coms/singles/Index.vue.d.ts +5 -14
- package/esm/coms/singles/Normal.vue.d.ts +4 -13
- package/esm/coms/singles/Statistic.vue.d.ts +1 -10
- package/esm/coms/singles/Stock.vue.d.ts +1 -10
- package/esm/coms/singles/Table.vue.d.ts +4 -13
- package/esm/coms/singles/Tree.vue.d.ts +2 -11
- package/esm/coms/singles/Tree_Old.vue.d.ts +1 -1
- package/esm/coms/texts/Autocomplete.vue.d.ts +3 -12
- package/esm/coms/texts/CSharp.vue.d.ts +3 -12
- package/esm/coms/texts/Cascader.vue.d.ts +5 -14
- package/esm/coms/texts/Checkbox.vue.d.ts +3 -12
- package/esm/coms/texts/Code.vue.d.ts +3 -12
- package/esm/coms/texts/Color.vue.d.ts +3 -12
- package/esm/coms/texts/Compare.vue.d.ts +3 -12
- package/esm/coms/texts/Copy.vue.d.ts +13 -16
- package/esm/coms/texts/Date.vue.d.ts +3 -12
- package/esm/coms/texts/DateRange.vue.d.ts +3 -12
- package/esm/coms/texts/DateTime.vue.d.ts +3 -12
- package/esm/coms/texts/Decimal.vue.d.ts +3 -12
- package/esm/coms/texts/Dictionary.vue.d.ts +7 -16
- package/esm/coms/texts/Email.vue.d.ts +3 -12
- package/esm/coms/texts/Index.vue.d.ts +5 -14
- package/esm/coms/texts/Int.vue.d.ts +3 -12
- package/esm/coms/texts/Markdown.vue.d.ts +3 -12
- package/esm/coms/texts/Month.vue.d.ts +3 -12
- package/esm/coms/texts/Password.vue.d.ts +3 -12
- package/esm/coms/texts/Progress.vue.d.ts +3 -12
- package/esm/coms/texts/Radio.vue.d.ts +3 -12
- package/esm/coms/texts/Rate.vue.d.ts +7 -16
- package/esm/coms/texts/RichText.vue.d.ts +3 -12
- package/esm/coms/texts/Select.vue.d.ts +3 -12
- package/esm/coms/texts/Switch.vue.d.ts +3 -12
- package/esm/coms/texts/Text.vue.d.ts +3 -12
- package/esm/coms/texts/TextLink.vue.d.ts +16 -19
- package/esm/coms/texts/Textarea.vue.d.ts +3 -12
- package/esm/coms/texts/Upload.vue.d.ts +3 -12
- package/esm/coms/texts/Year.vue.d.ts +3 -12
- 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/helps/Upgrade.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 +10 -11
- package/dist/Article-DdbL4Rxb.js +0 -200
- package/dist/Autocomplete-B29_JGgy.js +0 -54
- package/dist/Autocomplete-CDeLmF63.js +0 -53
- package/dist/Callback-DtbfupbN.js +0 -26
- package/dist/Cascader-oKD8yaoM.js +0 -47
- package/dist/Code-BBlM__Hy.js +0 -42
- package/dist/Code-BVq612C-.js +0 -60
- package/dist/Code-CwEhwgvG.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-DYtCGnTc.js +0 -65
- package/dist/Column-EGW6y97E.js +0 -75
- package/dist/Comment-BsBFJGaQ.js +0 -104
- package/dist/Compare-DWPAXxRl.js +0 -44
- package/dist/Copy-GmouOi6m.js +0 -49
- package/dist/Custom-Cb3i3bqD.js +0 -57
- package/dist/Date-BDC05CJ3.js +0 -43
- package/dist/DateTime-BdzNOWG8.js +0 -44
- package/dist/Daterange-ChAXKUg5.js +0 -63
- package/dist/Detail-KkegBU3k.js +0 -75
- package/dist/Dictionary-Cb7aVsaW.js +0 -59
- package/dist/File-BjbmEXZd.js +0 -162
- package/dist/Index-9C-NNHc5.js +0 -4
- package/dist/Index-ClRh0-VD.js +0 -4
- package/dist/Index-D6C_pdWz.js +0 -178
- package/dist/Index-gGO_YKcR.js +0 -4
- package/dist/Index-gqpuMuJY.js +0 -4
- package/dist/Maintaince-CLR1UbTX.js +0 -20
- package/dist/Month-CHE-uCIH.js +0 -43
- package/dist/Month-_nN2Q4-y.js +0 -44
- package/dist/Paging-DgpnQ8Z-.js +0 -99
- package/dist/PagingHeader-B9ZN-gzP.js +0 -147
- package/dist/QueryApi-Cnhw4j4z.js +0 -20
- package/dist/Register-Dc3SHbQr.js +0 -201
- package/dist/Table-tLOOeKDu.js +0 -243
- package/dist/Text-Df6_rov4.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-JCklGm0p.js +0 -59
- package/dist/Time-DOZHyrC6.js +0 -43
- package/dist/Tree-BftFsRke.js +0 -297
- package/dist/Tree-DG-JvHyh.js +0 -122
- package/dist/TreeNode-b11A2q51.js +0 -42
- package/dist/Update-Bq3Vc9BT.js +0 -70
- package/dist/UpdateChild-Bzxp6hg4.js +0 -92
- package/dist/Upload-BelDE_Gj.js +0 -72
- package/dist/Upload-BrZMjfqk.js +0 -150
- package/dist/UploadApi-rJCEFRnE.js +0 -20
- package/dist/Year-ajwigTmh.js +0 -47
- package/dist/main-CBbiFa-k.js +0 -9218
package/dist/Upload-BelDE_Gj.js
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
import { defineComponent as V, toRefs as b, ref as r, onMounted as k, computed as w, resolveComponent as C, openBlock as p, createElementBlock as u, Fragment as x, renderList as F, unref as s, createVNode as y, isRef as B, withCtx as E, createElementVNode as H } from "vue";
|
2
|
-
import "./assets/underscore-B0BCaBxV.js";
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import { B as c, U as R, y as $, F as I, C as N } from "./main-CBbiFa-k.js";
|
5
|
-
import "./assets/clone-BZn0cTAu.js";
|
6
|
-
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
-
import "./QueryApi-Cnhw4j4z.js";
|
9
|
-
import { U as S } from "./UploadApi-rJCEFRnE.js";
|
10
|
-
const j = { class: "text-upload" }, A = ["src", "onClick", "alt"], L = ["src"], Z = /* @__PURE__ */ V({
|
11
|
-
__name: "Upload",
|
12
|
-
props: {
|
13
|
-
schema: {},
|
14
|
-
table: {},
|
15
|
-
field: {},
|
16
|
-
set: {},
|
17
|
-
row: {},
|
18
|
-
modelValue: {}
|
19
|
-
},
|
20
|
-
setup(v) {
|
21
|
-
let f = v, { table: M, field: O, set: T, row: q, modelValue: g } = b(f), n = r(), t = r(!1), d = r([]), m = r(), _ = (e) => {
|
22
|
-
t.value = !0, m.value = e.url;
|
23
|
-
}, h = () => {
|
24
|
-
if (o.value)
|
25
|
-
if (c.upload.method == "box")
|
26
|
-
S.getUploadToken().then((e) => {
|
27
|
-
o.value.split(",").forEach((a) => {
|
28
|
-
let l = `${c.upload.address}/api/objects/download?slug=${a}&token=${e}`;
|
29
|
-
d.value.push({ name: a, url: l });
|
30
|
-
});
|
31
|
-
});
|
32
|
-
else {
|
33
|
-
let e = R.httpOrHttps(o.value) ? o.value : $.api.url + o.value;
|
34
|
-
I.isImage(e) ? n.value = e : n.value = N.getFileIcon(e);
|
35
|
-
}
|
36
|
-
};
|
37
|
-
k(() => {
|
38
|
-
h();
|
39
|
-
});
|
40
|
-
let o = w(() => g.value);
|
41
|
-
return (e, i) => {
|
42
|
-
const a = C("el-dialog");
|
43
|
-
return p(), u("div", j, [
|
44
|
-
(p(!0), u(x, null, F(s(d), (l, U) => (p(), u("img", {
|
45
|
-
class: "detail-image",
|
46
|
-
src: l.url,
|
47
|
-
onClick: (z) => s(_)(l),
|
48
|
-
alt: l.name,
|
49
|
-
key: U
|
50
|
-
}, null, 8, A))), 128)),
|
51
|
-
y(a, {
|
52
|
-
draggable: "",
|
53
|
-
"append-to-body": "",
|
54
|
-
top: "5vh",
|
55
|
-
modelValue: s(t),
|
56
|
-
"onUpdate:modelValue": i[0] || (i[0] = (l) => B(t) ? t.value = l : t = l)
|
57
|
-
}, {
|
58
|
-
default: E(() => [
|
59
|
-
H("img", {
|
60
|
-
width: "100%",
|
61
|
-
src: s(m)
|
62
|
-
}, null, 8, L)
|
63
|
-
]),
|
64
|
-
_: 1
|
65
|
-
}, 8, ["modelValue"])
|
66
|
-
]);
|
67
|
-
};
|
68
|
-
}
|
69
|
-
});
|
70
|
-
export {
|
71
|
-
Z as default
|
72
|
-
};
|
package/dist/Upload-BrZMjfqk.js
DELETED
@@ -1,150 +0,0 @@
|
|
1
|
-
import { defineComponent as X, toRefs as Y, ref as p, onMounted as Z, computed as x, watch as ee, resolveComponent as k, openBlock as R, createElementBlock as B, normalizeClass as le, unref as a, createVNode as C, withCtx as U, createBlock as te, createTextVNode as ae, toDisplayString as oe, isRef as re, createElementVNode as ue } from "vue";
|
2
|
-
import { t as ne, y as F, z as ie, h as I, m as se, A as s, x as N, B as H, F as S, C as T, U as de } from "./main-CBbiFa-k.js";
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/moment-h96o7c8I.js";
|
6
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
7
|
-
import "./QueryApi-Cnhw4j4z.js";
|
8
|
-
import { U as pe } from "./UploadApi-rJCEFRnE.js";
|
9
|
-
const me = {
|
10
|
-
key: 0,
|
11
|
-
class: "fa fa-upload"
|
12
|
-
}, ce = ["src"], xe = /* @__PURE__ */ X({
|
13
|
-
__name: "Upload",
|
14
|
-
props: {
|
15
|
-
schema: {},
|
16
|
-
table: {},
|
17
|
-
field: {},
|
18
|
-
set: {},
|
19
|
-
row: {},
|
20
|
-
modelValue: {}
|
21
|
-
},
|
22
|
-
emits: ["submit", "change", "update:modelValue"],
|
23
|
-
setup(z, { emit: O }) {
|
24
|
-
let h = O, $ = z, { table: d, field: u, row: g, set: ve, modelValue: q } = Y($), m = p(!1), P = p({}), c = p([]), j = p(), E = p(), f = !0, _ = p({ action: "", data: null }), L = (e) => {
|
25
|
-
let l = pe.getUploadToken();
|
26
|
-
e.forEach((o) => {
|
27
|
-
let t = `${H.upload.address}/api/objects/download?slug=${o[0]}&token=${l}`;
|
28
|
-
c.value.push({ name: o[1], url: t });
|
29
|
-
});
|
30
|
-
}, D = async (e) => {
|
31
|
-
f = !1;
|
32
|
-
let l = `/upload?table=${d.value.name}&field=${u.value.name}`;
|
33
|
-
_.value.action = F.api.url + l;
|
34
|
-
let o = new ie();
|
35
|
-
o.path = l, o.method = "POST", await I.onRequest(o);
|
36
|
-
let t = o.getHeader("Authorization");
|
37
|
-
return P.value.Authorization = t, u.value.control.fileType == "Image" ? e.type.indexOf("image") == 0 ? Promise.resolve() : (se.error("请上传正确的图片文件"), Promise.reject()) : Promise.resolve();
|
38
|
-
}, M = (e, l) => {
|
39
|
-
f = !1;
|
40
|
-
let t = [e.name.replace(F.api.url, "")];
|
41
|
-
return I.post("/upload/delete", { files: t }).then(({ data: r }) => {
|
42
|
-
let n = l.indexOf(e), b = s.removeIndex(i.value, n, ",");
|
43
|
-
if (h("update:modelValue", b), u.value.control.name) {
|
44
|
-
let v = d.value.fields.find((w) => w.name == u.value.control.name), V = N.getValue(r.value, n, d.value, v), y = s.removeIndex(V, n, ",");
|
45
|
-
N.setValue(y, r.value, d.value, n, v);
|
46
|
-
}
|
47
|
-
return Promise.resolve();
|
48
|
-
}).catch(() => Promise.reject());
|
49
|
-
}, G = (e) => {
|
50
|
-
m.value = !0, j.value = e.url;
|
51
|
-
}, J = (e, l, o) => {
|
52
|
-
}, K = (e, l) => {
|
53
|
-
I.handleResponseBody(e).then((o) => {
|
54
|
-
let { name: t, url: r } = o.data[0];
|
55
|
-
H.upload.method == "box" || S.isImage(r) || (l.url = T.getFileIcon(r));
|
56
|
-
let b = s.split(i.value, ",", r).join(",");
|
57
|
-
if (i.value = b, u.value.control.name) {
|
58
|
-
let v = d.value.fields.find((w) => w.name == u.value.control.name), V = g.value[v.value], y = s.split(V, ",", t);
|
59
|
-
g.value[v.value] = y.join(",");
|
60
|
-
}
|
61
|
-
}).catch(() => {
|
62
|
-
c.value = [];
|
63
|
-
}).finally(() => {
|
64
|
-
f = !0;
|
65
|
-
});
|
66
|
-
}, A = () => {
|
67
|
-
if (c.value = [], !i.value)
|
68
|
-
return;
|
69
|
-
let e = s.split(i.value, ","), l = [];
|
70
|
-
if (u.value.control.name) {
|
71
|
-
let t = d.value.fields.find((n) => n.name == u.value.control.name), r = g.value[t.name];
|
72
|
-
l = s.split(r, ",");
|
73
|
-
}
|
74
|
-
let o = s.combine(e, l);
|
75
|
-
if (H.upload.method == "box")
|
76
|
-
L(o);
|
77
|
-
else {
|
78
|
-
let t = de.httpOrHttps(i.value) ? i.value : F.api.url + i.value, r = { name: t, url: null };
|
79
|
-
S.isImage(t) ? r.url = t : r.url = T.getFileIcon(t), c.value.push(r);
|
80
|
-
}
|
81
|
-
};
|
82
|
-
Z(() => {
|
83
|
-
A();
|
84
|
-
});
|
85
|
-
let i = x({
|
86
|
-
get() {
|
87
|
-
return q.value;
|
88
|
-
},
|
89
|
-
set(e) {
|
90
|
-
h("update:modelValue", e), h("change", e);
|
91
|
-
}
|
92
|
-
}), Q = x(() => u.value.control.preview ? "picture-card" : null), W = x(() => W);
|
93
|
-
return ee(() => i.value, (e, l) => {
|
94
|
-
f && A();
|
95
|
-
}), (e, l) => {
|
96
|
-
const o = k("el-button"), t = k("el-upload"), r = k("el-dialog");
|
97
|
-
return R(), B("div", {
|
98
|
-
class: le(a(u).control.preview ? "control-file-preview" : "control-file")
|
99
|
-
}, [
|
100
|
-
C(t, {
|
101
|
-
ref_key: "uploadRef",
|
102
|
-
ref: E,
|
103
|
-
"list-type": a(Q),
|
104
|
-
action: a(_).action,
|
105
|
-
headers: a(P),
|
106
|
-
data: a(_).data,
|
107
|
-
"file-list": a(c),
|
108
|
-
"before-upload": a(D),
|
109
|
-
"before-remove": a(M),
|
110
|
-
"on-preview": a(G),
|
111
|
-
"on-success": a(K),
|
112
|
-
"on-progress": a(J),
|
113
|
-
disabled: a(u).readonly
|
114
|
-
}, {
|
115
|
-
default: U(() => [
|
116
|
-
a(u).control.preview ? (R(), B("i", me)) : (R(), te(o, {
|
117
|
-
key: 1,
|
118
|
-
icon: "el-icon-upload",
|
119
|
-
type: "primary"
|
120
|
-
}, {
|
121
|
-
default: U(() => [
|
122
|
-
ae(oe(a(ne)("common.click_upload")), 1)
|
123
|
-
]),
|
124
|
-
_: 1
|
125
|
-
}))
|
126
|
-
]),
|
127
|
-
_: 1
|
128
|
-
}, 8, ["list-type", "action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-progress", "disabled"]),
|
129
|
-
C(r, {
|
130
|
-
draggable: "",
|
131
|
-
"append-to-body": "",
|
132
|
-
modelValue: a(m),
|
133
|
-
"onUpdate:modelValue": l[0] || (l[0] = (n) => re(m) ? m.value = n : m = n)
|
134
|
-
}, {
|
135
|
-
default: U(() => [
|
136
|
-
ue("img", {
|
137
|
-
width: "100%",
|
138
|
-
src: a(j),
|
139
|
-
alt: ""
|
140
|
-
}, null, 8, ce)
|
141
|
-
]),
|
142
|
-
_: 1
|
143
|
-
}, 8, ["modelValue"])
|
144
|
-
], 2);
|
145
|
-
};
|
146
|
-
}
|
147
|
-
});
|
148
|
-
export {
|
149
|
-
xe as default
|
150
|
-
};
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import "./assets/underscore-B0BCaBxV.js";
|
2
|
-
import "vue";
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import { h as o, o as t } from "./main-CBbiFa-k.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
let e = null;
|
10
|
-
class T {
|
11
|
-
/**
|
12
|
-
* 获取上传令牌,过期自动获取
|
13
|
-
*/
|
14
|
-
static async getUploadToken() {
|
15
|
-
return e == null || t.getTime() >= t.getTime(e.expireTime) ? o.get("/upload/token").then(({ data: r }) => (e = r, Promise.resolve(e.token))).catch(() => Promise.reject()) : Promise.resolve(e.token);
|
16
|
-
}
|
17
|
-
}
|
18
|
-
export {
|
19
|
-
T as U
|
20
|
-
};
|
package/dist/Year-ajwigTmh.js
DELETED
@@ -1,47 +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 k } from "vue";
|
2
|
-
import "./assets/underscore-B0BCaBxV.js";
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import { k as Y } from "./main-CBbiFa-k.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const z = /* @__PURE__ */ f({
|
10
|
-
__name: "Year",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {},
|
17
|
-
modelValue: {}
|
18
|
-
},
|
19
|
-
emits: ["submit", "change", "update:modelValue"],
|
20
|
-
setup(n, { emit: p }) {
|
21
|
-
let t = p, d = n, { table: i, field: a, row: C, set: y, modelValue: u } = _(d), s = () => {
|
22
|
-
t("submit");
|
23
|
-
}, o = h({
|
24
|
-
get() {
|
25
|
-
return u.value;
|
26
|
-
},
|
27
|
-
set(l) {
|
28
|
-
t("update:modelValue", l), t("change", l);
|
29
|
-
}
|
30
|
-
});
|
31
|
-
return (l, r) => {
|
32
|
-
const c = V("el-date-picker");
|
33
|
-
return b(), g(c, {
|
34
|
-
type: "year",
|
35
|
-
placeholder: e(Y)(e(i).name, e(a).name),
|
36
|
-
"value-format": "YYYY",
|
37
|
-
disabled: e(a).control.readonly,
|
38
|
-
onChange: e(s),
|
39
|
-
modelValue: e(o),
|
40
|
-
"onUpdate:modelValue": r[0] || (r[0] = (m) => k(o) ? o.value = m : o = m)
|
41
|
-
}, null, 8, ["placeholder", "disabled", "onChange", "modelValue"]);
|
42
|
-
};
|
43
|
-
}
|
44
|
-
});
|
45
|
-
export {
|
46
|
-
z as default
|
47
|
-
};
|