halo-pc 1.0.32 → 1.0.33
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Article-DCYJail8.js +196 -0
- package/dist/{ArticleFooter-CQ9AIv5h.js → ArticleFooter-Bvzumuub.js} +17 -21
- package/dist/{Autocomplete-OR6Im-cE.js → Autocomplete-C0D5E-06.js} +1 -1
- package/dist/Autocomplete-CpWD0i6D.js +50 -0
- package/dist/Autocomplete-SLfUYHq2.js +51 -0
- package/dist/{CSharp-AEpf5-C8.js → CSharp-BWRmcrNc.js} +1 -1
- package/dist/{Calender-B9SQE_dy.js → Calender-Dy-Sjrei.js} +1 -1
- package/dist/Callback-DrBVE0ti.js +22 -0
- package/dist/{Cascader-CQYJHxde.js → Cascader-CIj4KFmi.js} +16 -20
- package/dist/Cascader-DZl4vY2s.js +43 -0
- package/dist/{Checkbox-rn3rUyNj.js → Checkbox-Bb5vxnKt.js} +13 -17
- package/dist/{Checkbox-DYnxQbzW.js → Checkbox-DwDE5km1.js} +1 -1
- package/dist/{Code-CrgtwU3k.js → Code-B8uBt_JE.js} +1 -1
- package/dist/Code-D2wLpash.js +38 -0
- package/dist/Code-DN-iUuKo.js +4 -0
- package/dist/Code-s8nXn9oo.js +56 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-6xhQHppt.js +61 -0
- package/dist/Column-mw1IjF56.js +71 -0
- package/dist/{Comment-BsBFJGaQ.js → Comment-BEi2eeXI.js} +21 -25
- package/dist/{Compare-Cv14ecIG.js → Compare-B9C-Kwdu.js} +7 -11
- package/dist/{Compare-DWPAXxRl.js → Compare-DsdPxDYn.js} +6 -10
- package/dist/{Copy-GmouOi6m.js → Copy-CMbmQr2C.js} +11 -15
- package/dist/Custom-BrfTYDWw.js +61 -0
- package/dist/{DataExport-nWsB9V2F.js → DataExport-VHKsp5uP.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CSEK5Szf.js → DataExport.vue_vue_type_script_setup_true_lang-Caq9XJ-O.js} +16 -19
- package/dist/{DataImport-B-p5FvJ7.js → DataImport-CnpQ9Kym.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-aFcYHSGO.js → DataImport.vue_vue_type_script_setup_true_lang-DplpxvPQ.js} +45 -47
- package/dist/Date-C2SRDxyk.js +39 -0
- package/dist/{Date-ajUkX7sc.js → Date-CvIM_2sI.js} +1 -1
- package/dist/{DateRange-t7EQCe1S.js → DateRange-WkA7vYqq.js} +15 -19
- package/dist/{DateTime-C0ZOwxCc.js → DateTime-DcXFUF6E.js} +1 -1
- package/dist/DateTime-wWaTFovo.js +40 -0
- package/dist/{DateTimeRange-CcO07AoI.js → DateTimeRange-Q9AW6zyN.js} +10 -14
- package/dist/Daterange-BY8ZDlBN.js +59 -0
- package/dist/{Decimal-BgjGUtrc.js → Decimal-UESG5P18.js} +1 -1
- package/dist/{Delete-C9XmUMZJ.js → Delete-n91Fcpc-.js} +8 -12
- package/dist/{Detail-KkegBU3k.js → Detail-BtcLxHBS.js} +15 -19
- package/dist/Dictionary-CAJUcBp0.js +57 -0
- package/dist/{Email-CJPL28hv.js → Email-CDMwJk7Z.js} +11 -15
- package/dist/{File-BjbmEXZd.js → File-C76d1BJ1.js} +14 -18
- package/dist/{Image-BDtr8i7Q.js → Image-CSSMA_jD.js} +1 -1
- package/dist/{Index-DFgVPWAR.js → Index-BgqFKRRj.js} +1 -1
- package/dist/{Index-A3fVUpUc.js → Index-BrgQOciZ.js} +17 -20
- package/dist/Index-C5u3IceT.js +4 -0
- package/dist/Index-C8Z6PxoA.js +4 -0
- package/dist/Index-DB0yuhyV.js +175 -0
- package/dist/{Index-CrsEtA8H.js → Index-DLubnMVv.js} +1 -1
- package/dist/Index-KkyOmZ3R.js +4 -0
- package/dist/Index-msx6xz6k.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-BchX4oAa.js → Index.vue_vue_type_script_setup_true_lang-1MpxyKly.js} +11 -15
- package/dist/{Index.vue_vue_type_script_setup_true_lang-D8sKBxWN.js → Index.vue_vue_type_script_setup_true_lang-gZbmbXo1.js} +9 -13
- package/dist/{Install-BKjOyBl4.js → Install-CtSCUNub.js} +19 -23
- package/dist/{Int-DH7oV_hH.js → Int-B4zAW0X4.js} +10 -13
- package/dist/{Int-DHDcCAlq.js → Int-XV1t0f4f.js} +8 -12
- package/dist/{List-sJPDvZo0.js → List-v37-UA9D.js} +26 -30
- package/dist/Maintaince-C44w8P26.js +16 -0
- package/dist/{Markdown-569jtVWW.js → Markdown-C_lGXaO5.js} +1 -1
- package/dist/Month-cm6vEq2Y.js +39 -0
- package/dist/{Month-B8bZg9yu.js → Month-pJdC-juw.js} +1 -1
- package/dist/Month-zzTLcslu.js +40 -0
- package/dist/{Normal-COyWYgbT.js → Normal-BT6pVoVx.js} +78 -81
- package/dist/Paging-B-0NeSQQ.js +96 -0
- package/dist/{PagingHeader-B9ZN-gzP.js → PagingHeader-CbkHChbA.js} +14 -18
- package/dist/{PagingRow-BMCnYeRU.js → PagingRow-DQGIZbFP.js} +11 -15
- package/dist/QueryApi-DLCwFvTe.js +16 -0
- package/dist/{Racebar-jI_Tr0oJ.js → Racebar-CryjydAO.js} +38 -41
- package/dist/{Radio-CXOvmHaC.js → Radio-CHnqeLBU.js} +1 -1
- package/dist/{Register-Dc3SHbQr.js → Register-CB1q0ncb.js} +67 -70
- package/dist/{RichText-BFoNVAke.js → RichText-BvK0bmFf.js} +11 -15
- package/dist/{SearchFooter-z_VvJkGQ.js → SearchFooter-DaEhbBdR.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Cyc3lOz2.js → SearchFooter.vue_vue_type_style_index_0_lang-B8QDMIGV.js} +1 -1
- package/dist/{SearchForm-DOf6HA9X.js → SearchForm-BcDIYVhU.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-4UV9Kag_.js → SearchForm.vue_vue_type_style_index_0_lang-DtvRf-gM.js} +41 -44
- package/dist/{Select-C07y0IUr.js → Select-BMazswCl.js} +14 -18
- package/dist/{Select-DjvKZlDp.js → Select-D3aaF4gn.js} +15 -19
- package/dist/{Select-DUL8NZY-.js → Select-D9Jclups.js} +1 -1
- package/dist/{Single-CoZwT834.js → Single-DCOCo7Vc.js} +78 -81
- package/dist/{Statistic-B9sFcyyg.js → Statistic-teiCMfQY.js} +33 -36
- package/dist/{Stock-CwZn5mMQ.js → Stock-CLmG6hy_.js} +1 -1
- package/dist/{Stock-lAtweMdA.js → Stock-wNOHTOMF.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-BuSHv622.js → Stock.vue_vue_type_style_index_0_lang-DEkzz8vd.js} +12 -15
- package/dist/{Switch-D5N98lH2.js → Switch-C_sovBFO.js} +1 -1
- package/dist/Table-CrYK4rG9.js +241 -0
- package/dist/{Table-D_G9vqqg.js → Table-pLTOSr8X.js} +97 -101
- package/dist/{Text-CP8Fzkm-.js → Text-Bi_wT7pC.js} +16 -20
- package/dist/Text-DMGSVlY8.js +4 -0
- package/dist/{Text-PDd5nZH8.js → Text-DVP3c8MB.js} +8 -12
- package/dist/{Text.vue_vue_type_style_index_0_lang-JCklGm0p.js → Text.vue_vue_type_style_index_0_lang-BlQ5FRgx.js} +15 -19
- package/dist/{TextLink-B-uh2FSK.js → TextLink-KhbhlvEL.js} +16 -20
- package/dist/{Textarea-m0k4bL1V.js → Textarea-BhAHTT9o.js} +1 -1
- package/dist/{Time-DOZHyrC6.js → Time-Dchjq1cn.js} +12 -16
- package/dist/{Timeline-CWVqeAPO.js → Timeline-BhQmk26x.js} +13 -17
- package/dist/{Tree-BftFsRke.js → Tree-B1oZglBE.js} +114 -117
- package/dist/Tree-CES1v1og.js +119 -0
- package/dist/TreeNode-BWI6UAUL.js +39 -0
- package/dist/{Update-Bq3Vc9BT.js → Update-Bil0d3JB.js} +10 -14
- package/dist/{UpdateChild-Bzxp6hg4.js → UpdateChild-QgHXRQrk.js} +14 -18
- package/dist/Upload-Cha8b4S2.js +148 -0
- package/dist/Upload-DACACI2K.js +69 -0
- package/dist/UploadApi-EK9Yas4b.js +16 -0
- package/dist/Year-DX-UFKAf.js +43 -0
- package/dist/{Year-C1ewILpv.js → Year-abA2Vrst.js} +1 -1
- package/dist/main-Dq4FCPIB.js +9703 -0
- package/dist/main.js +134 -131
- package/dist/style.css +1 -1
- package/esm/App.vue.d.ts +2 -0
- package/esm/components/business/HaCondition.vue.d.ts +18 -0
- package/esm/components/business/HaCrud.vue.d.ts +29 -0
- package/esm/components/business/HaDrawer.vue.d.ts +24 -0
- package/esm/components/business/HaDriver.vue.d.ts +52 -0
- package/esm/components/business/HaFeedback.vue.d.ts +8 -0
- package/esm/components/business/HaForm.vue.d.ts +23 -0
- package/esm/components/business/HaSwitch.vue.d.ts +24 -0
- package/esm/components/business/HaWelcome.vue.d.ts +8 -0
- package/esm/components/business/index.d.ts +124 -0
- package/esm/components/controls/Autocomplete.vue.d.ts +24 -0
- package/esm/components/controls/Cascader.vue.d.ts +24 -0
- package/esm/components/controls/Checkbox.vue.d.ts +22 -0
- package/esm/components/controls/Code.vue.d.ts +24 -0
- package/esm/components/controls/Color.vue.d.ts +24 -0
- package/esm/components/controls/Compare.vue.d.ts +24 -0
- package/esm/components/controls/Date.vue.d.ts +24 -0
- package/esm/components/controls/DateRange.vue.d.ts +24 -0
- package/esm/components/controls/DateTime.vue.d.ts +24 -0
- package/esm/components/controls/DateTimeRange.vue.d.ts +24 -0
- package/esm/components/controls/Decimal.vue.d.ts +24 -0
- package/esm/components/controls/Email.vue.d.ts +24 -0
- package/esm/components/controls/Image.vue.d.ts +2 -0
- package/esm/components/controls/Index.vue.d.ts +22 -0
- package/esm/components/controls/Int.vue.d.ts +24 -0
- package/esm/components/controls/Markdown.vue.d.ts +24 -0
- package/esm/components/controls/Month.vue.d.ts +24 -0
- package/esm/components/controls/Password.vue.d.ts +24 -0
- package/esm/components/controls/Progress.vue.d.ts +24 -0
- package/esm/components/controls/Radio.vue.d.ts +24 -0
- package/esm/components/controls/Rate.vue.d.ts +24 -0
- package/esm/components/controls/RichText.vue.d.ts +22 -0
- package/esm/components/controls/Select.vue.d.ts +24 -0
- package/esm/components/controls/Switch.vue.d.ts +24 -0
- package/esm/components/controls/Text.vue.d.ts +26 -0
- package/esm/components/controls/Textarea.vue.d.ts +24 -0
- package/esm/components/controls/Time.vue.d.ts +24 -0
- package/esm/components/controls/Upload.vue.d.ts +24 -0
- package/esm/components/controls/Year.vue.d.ts +24 -0
- package/esm/components/controls/index.d.ts +26 -0
- package/esm/components/headers/Breadcrumb.vue.d.ts +2 -0
- package/esm/components/headers/Debugger.vue.d.ts +2 -0
- package/esm/components/headers/Hamburger.vue.d.ts +18 -0
- package/esm/components/headers/HeaderRight.vue.d.ts +2 -0
- package/esm/components/headers/Index.vue.d.ts +6 -0
- package/esm/components/headers/Log.vue.d.ts +2 -0
- package/esm/components/headers/Logo.vue.d.ts +6 -0
- package/esm/components/headers/Refresh.vue.d.ts +6 -0
- package/esm/components/headers/Setting.vue.d.ts +8 -0
- package/esm/components/headers/index.d.ts +3 -0
- package/esm/components/index.d.ts +8 -0
- package/esm/components/layouts/Desktop.vue.d.ts +2 -0
- package/esm/components/layouts/Index.vue.d.ts +2 -0
- package/esm/components/layouts/Side.vue.d.ts +2 -0
- package/esm/components/layouts/Top.vue.d.ts +2 -0
- package/esm/components/layouts/index.d.ts +7 -0
- package/esm/components/lists/Calender.vue.d.ts +2 -0
- package/esm/components/lists/Racebar.vue.d.ts +18 -0
- package/esm/components/lists/Statistic.vue.d.ts +18 -0
- package/esm/components/lists/Stock.vue.d.ts +12 -0
- package/esm/components/lists/Timeline.vue.d.ts +12 -0
- package/esm/components/lists/Tree.vue.d.ts +26 -0
- package/esm/components/lists/index.d.ts +15 -0
- package/esm/components/pages/Column.vue.d.ts +22 -0
- package/esm/components/pages/Custom.vue.d.ts +25 -0
- package/esm/components/pages/Delete.vue.d.ts +20 -0
- package/esm/components/pages/Index.vue.d.ts +2 -0
- package/esm/components/pages/List.vue.d.ts +24 -0
- package/esm/components/pages/Paging.vue.d.ts +24 -0
- package/esm/components/pages/Single.vue.d.ts +28 -0
- package/esm/components/pages/index.d.ts +146 -0
- package/esm/components/pagings/Article.vue.d.ts +27 -0
- package/esm/components/pagings/Code.vue.d.ts +12 -0
- package/esm/components/pagings/DataExport.vue.d.ts +33 -0
- package/esm/components/pagings/DataImport.vue.d.ts +18 -0
- package/esm/components/pagings/File.vue.d.ts +12 -0
- package/esm/components/pagings/Index.vue.d.ts +33 -0
- package/esm/components/pagings/SearchFooter.vue.d.ts +122 -0
- package/esm/components/pagings/SearchForm.vue.d.ts +72 -0
- package/esm/components/pagings/Table.vue.d.ts +31 -0
- package/esm/components/pagings/index.d.ts +11 -0
- package/esm/components/partials/ArticleFooter.vue.d.ts +24 -0
- package/esm/components/partials/Detail.vue.d.ts +20 -0
- package/esm/components/partials/PagingHeader.vue.d.ts +28 -0
- package/esm/components/partials/PagingRow.vue.d.ts +24 -0
- package/esm/components/partials/TreeNode.vue.d.ts +12 -0
- package/esm/components/partials/Update.vue.d.ts +20 -0
- package/esm/components/partials/UpdateChild.vue.d.ts +22 -0
- package/esm/components/partials/index.d.ts +135 -0
- package/esm/components/searches/Autocomplete.vue.d.ts +24 -0
- package/esm/components/searches/Daterange.vue.d.ts +22 -0
- package/esm/components/searches/Index.vue.d.ts +18 -0
- package/esm/components/searches/Int.vue.d.ts +24 -0
- package/esm/components/searches/Month.vue.d.ts +24 -0
- package/esm/components/searches/Select.vue.d.ts +24 -0
- package/esm/components/searches/Text.vue.d.ts +24 -0
- package/esm/components/searches/index.d.ts +7 -0
- package/esm/components/singles/Code.vue.d.ts +18 -0
- package/esm/components/singles/Comment.vue.d.ts +12 -0
- package/esm/components/singles/Index.vue.d.ts +25 -0
- package/esm/components/singles/Normal.vue.d.ts +21 -0
- package/esm/components/singles/Statistic.vue.d.ts +12 -0
- package/esm/components/singles/Stock.vue.d.ts +12 -0
- package/esm/components/singles/Table.vue.d.ts +22 -0
- package/esm/components/singles/Tree.vue.d.ts +14 -0
- package/esm/components/singles/Tree_Old.vue.d.ts +2 -0
- package/esm/components/singles/index.d.ts +15 -0
- package/esm/components/texts/Autocomplete.vue.d.ts +16 -0
- package/esm/components/texts/CSharp.vue.d.ts +16 -0
- package/esm/components/texts/Cascader.vue.d.ts +22 -0
- package/esm/components/texts/Checkbox.vue.d.ts +16 -0
- package/esm/components/texts/Code.vue.d.ts +16 -0
- package/esm/components/texts/Color.vue.d.ts +16 -0
- package/esm/components/texts/Compare.vue.d.ts +16 -0
- package/esm/components/texts/Copy.vue.d.ts +24 -0
- package/esm/components/texts/Date.vue.d.ts +16 -0
- package/esm/components/texts/DateRange.vue.d.ts +16 -0
- package/esm/components/texts/DateTime.vue.d.ts +16 -0
- package/esm/components/texts/Decimal.vue.d.ts +16 -0
- package/esm/components/texts/Dictionary.vue.d.ts +24 -0
- package/esm/components/texts/Email.vue.d.ts +16 -0
- package/esm/components/texts/Index.vue.d.ts +22 -0
- package/esm/components/texts/Int.vue.d.ts +16 -0
- package/esm/components/texts/Markdown.vue.d.ts +16 -0
- package/esm/components/texts/Month.vue.d.ts +16 -0
- package/esm/components/texts/Password.vue.d.ts +16 -0
- package/esm/components/texts/Progress.vue.d.ts +16 -0
- package/esm/components/texts/Radio.vue.d.ts +16 -0
- package/esm/components/texts/Rate.vue.d.ts +24 -0
- package/esm/components/texts/RichText.vue.d.ts +16 -0
- package/esm/components/texts/Select.vue.d.ts +16 -0
- package/esm/components/texts/Switch.vue.d.ts +16 -0
- package/esm/components/texts/Text.vue.d.ts +16 -0
- package/esm/components/texts/TextLink.vue.d.ts +29 -0
- package/esm/components/texts/Textarea.vue.d.ts +16 -0
- package/esm/components/texts/Upload.vue.d.ts +16 -0
- package/esm/components/texts/Year.vue.d.ts +16 -0
- package/esm/coms/business/Driver.vue.d.ts +1 -0
- package/esm/coms/business/HaCondition.vue.d.ts +18 -0
- package/esm/coms/business/HaCrud.vue.d.ts +29 -0
- package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
- package/esm/coms/business/HaDriver.vue.d.ts +52 -0
- package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
- package/esm/coms/business/HaForm.vue.d.ts +23 -0
- package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
- package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
- package/esm/coms/business/Welcome.vue.d.ts +3 -1
- package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
- package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
- package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
- package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
- package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
- package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
- package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
- package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
- package/esm/coms/commons/HaTable.vue.d.ts +34 -0
- package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
- package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
- package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
- package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
- package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
- package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
- package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
- package/esm/coms/globals/Window.vue.d.ts +11 -2
- package/esm/coms/headers/HeaderRight.vue.d.ts +5 -1
- package/esm/coms/headers/Index.vue.d.ts +14 -15
- package/esm/coms/headers/index.d.ts +2 -2
- package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
- package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
- package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
- package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
- package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
- package/esm/plugins/PcMessager.d.ts +35 -0
- package/esm/plugins/index.d.ts +1 -2
- package/esm/sdks/commons/HaCaptcha.vue.d.ts +14 -0
- package/esm/sdks/commons/HaDebug.vue.d.ts +9 -0
- package/esm/sdks/commons/HaEditable.vue.d.ts +13 -0
- package/esm/sdks/commons/HaLoading.vue.d.ts +33 -0
- package/esm/sdks/commons/HaMouseContext.vue.d.ts +2 -0
- package/esm/sdks/commons/HaParticles.vue.d.ts +2 -0
- package/esm/sdks/commons/HaResizer.vue.d.ts +26 -0
- package/esm/sdks/commons/HaSpinner.vue.d.ts +20 -0
- package/esm/sdks/commons/HaTable.vue.d.ts +34 -0
- package/esm/sdks/commons/HaTableColumn.vue.d.ts +31 -0
- package/esm/sdks/commons/index.d.ts +32 -0
- package/esm/sdks/globals/HaHeaderTab.vue.d.ts +19 -0
- package/esm/sdks/globals/HaHeaderTabs.vue.d.ts +17 -0
- package/esm/sdks/globals/HaMenu.vue.d.ts +77 -0
- package/esm/sdks/globals/HaMenuItem.vue.d.ts +76 -0
- package/esm/sdks/globals/HaMissComponent.vue.d.ts +9 -0
- package/esm/sdks/globals/HaSideTab.vue.d.ts +21 -0
- package/esm/sdks/globals/HaSideTabs.vue.d.ts +17 -0
- package/esm/sdks/globals/HaWindow.vue.d.ts +66 -0
- package/esm/sdks/globals/index.d.ts +70 -0
- package/esm/sdks/index.d.ts +4 -0
- package/esm/sdks/panels/HaGroup.vue.d.ts +9 -0
- package/esm/sdks/panels/HaHeader.vue.d.ts +16 -0
- package/esm/sdks/panels/HaOperation.vue.d.ts +22 -0
- package/esm/sdks/panels/HaPanel.vue.d.ts +30 -0
- package/esm/sdks/panels/HaShrink.vue.d.ts +48 -0
- package/esm/sdks/panels/index.d.ts +13 -0
- package/esm/sdks/stores/index.d.ts +2 -0
- package/esm/services/AppService.d.ts +36 -0
- package/esm/services/ComponentService.d.ts +35 -0
- package/esm/services/ControlService.d.ts +42 -0
- package/esm/services/I18nService.d.ts +79 -0
- package/esm/services/IService.d.ts +3 -0
- package/esm/services/LayoutService.d.ts +18 -0
- package/esm/services/MessageService.d.ts +35 -0
- package/esm/services/PageService.d.ts +38 -0
- package/esm/services/RouterService.d.ts +23 -0
- package/esm/services/Service.d.ts +4 -0
- package/esm/services/ServiceFactory.d.ts +11 -0
- package/esm/services/StandardService.d.ts +34 -0
- package/esm/services/UploadService.d.ts +10 -0
- package/esm/services/WindowService.d.ts +27 -0
- package/esm/services/implement/AppService.d.ts +36 -0
- package/esm/services/implement/ComponentService.d.ts +35 -0
- package/esm/services/implement/ControlService.d.ts +42 -0
- package/esm/services/implement/I18nService.d.ts +79 -0
- package/esm/services/implement/LayoutService.d.ts +18 -0
- package/esm/services/implement/PageService.d.ts +38 -0
- package/esm/services/implement/RouterService.d.ts +23 -0
- package/esm/services/implement/StandardService.d.ts +34 -0
- package/esm/services/implement/UploadService.d.ts +10 -0
- package/esm/services/implement/WindowService.d.ts +27 -0
- package/esm/services/index.d.ts +17 -0
- package/esm/servs/AppServ.d.ts +36 -0
- package/esm/servs/ComponentServ.d.ts +35 -0
- package/esm/servs/ControlServ.d.ts +42 -0
- package/esm/servs/I18nServ.d.ts +79 -0
- package/esm/servs/LayoutServ.d.ts +18 -0
- package/esm/servs/PageServ.d.ts +38 -0
- package/esm/servs/RouterServ.d.ts +23 -0
- package/esm/servs/StandardServ.d.ts +34 -0
- package/esm/servs/UploadServ.d.ts +10 -0
- package/esm/servs/WindowServ.d.ts +27 -0
- package/esm/servs/index.d.ts +17 -0
- package/esm/stores/index.d.ts +7 -0
- package/esm/svcs/I18nSvc.d.ts +79 -0
- package/esm/types/PcOptions.d.ts +18 -0
- package/package.json +2 -2
- 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/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/Dictionary-Cb7aVsaW.js +0 -59
- 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/QueryApi-Cnhw4j4z.js +0 -20
- package/dist/Table-tLOOeKDu.js +0 -243
- package/dist/Text-Df6_rov4.js +0 -4
- package/dist/Tree-DG-JvHyh.js +0 -122
- package/dist/TreeNode-b11A2q51.js +0 -42
- 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
@@ -0,0 +1,119 @@
|
|
1
|
+
import { defineComponent as O, toRefs as Q, ref as k, onMounted as U, watch as X, nextTick as K, resolveComponent as N, openBlock as _, createElementBlock as C, unref as d, Fragment as L, renderList as B, createBlock as M, withCtx as b, createVNode as Y, createElementVNode as Z, toDisplayString as T, createCommentVNode as F } from "vue";
|
2
|
+
import { H as f, s as H } from "./main-Dq4FCPIB.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
5
|
+
const ee = { class: "option-text" }, le = {
|
6
|
+
key: 0,
|
7
|
+
class: "option-suffix"
|
8
|
+
}, de = /* @__PURE__ */ O({
|
9
|
+
__name: "Tree",
|
10
|
+
props: {
|
11
|
+
route: {},
|
12
|
+
validateErrors: {},
|
13
|
+
module: {},
|
14
|
+
schema: {},
|
15
|
+
table: {},
|
16
|
+
layout: {},
|
17
|
+
next: {},
|
18
|
+
set: {}
|
19
|
+
},
|
20
|
+
setup(P, { expose: S }) {
|
21
|
+
let $ = P, { module: z, schema: te, table: u, layout: l, set: p } = Q($), E = k(), V = k([]), x = k(), w = k(0), g = k([]), R = k(!0), D = (e, r, n) => {
|
22
|
+
let a = p.value[u.value.name].find((o) => o.PermissionId == e[l.value.id]);
|
23
|
+
a && (a[l.value.expand] = !0);
|
24
|
+
}, W = (e, r, n) => {
|
25
|
+
let a = p.value[u.value.name].find((o) => o.PermissionId == e[l.value.id]);
|
26
|
+
a && (a[l.value.expand] = !1);
|
27
|
+
}, j = (e, r, n) => {
|
28
|
+
let a = r.checkedKeys, o = e[l.value.id], i = f.array.contains(a, o), c = [], s = [], h = f.tree.getChildren(e, "Children").map((t) => t[l.value.id]), m = p.value[u.value.name].map((t) => t[l.value.checked]), v = f.array.intersect(h, m);
|
29
|
+
if (i) {
|
30
|
+
c.push(e[l.value.id]);
|
31
|
+
let t = f.array.except(h, v);
|
32
|
+
t.length && (a.push(...t), c.push(...t));
|
33
|
+
} else
|
34
|
+
s.push(o), v.length == h.length && (s.push(...h), f.array.remove(a, h));
|
35
|
+
c.length && q(c), s.length && A(s);
|
36
|
+
}, q = (e) => {
|
37
|
+
for (let r = 0; r < e.length; r++) {
|
38
|
+
let n = H.getDefaultRow(u.value);
|
39
|
+
n[l.value.checked] = e[r], p.value[u.value.name].push(n);
|
40
|
+
}
|
41
|
+
}, A = (e) => {
|
42
|
+
let r = p.value[u.value.name];
|
43
|
+
for (let n = 0; n < e.length; n++) {
|
44
|
+
let a = r.find((o) => o[l.value.checked] == e[n]);
|
45
|
+
f.array.remove(r, a);
|
46
|
+
}
|
47
|
+
}, G = (e) => {
|
48
|
+
x.value = e.contentRect.width, w.value = Math.ceil(x.value / 300), I(u.value, l.value, p.value);
|
49
|
+
}, I = (e, r, n) => {
|
50
|
+
g.value = H.getLines(r.data, w.value, (a) => [a], () => 1), K(() => {
|
51
|
+
let a = n[e.name].map((i) => i[r.checked]), o = 0;
|
52
|
+
for (let i = 0; i < g.value.length; i++) {
|
53
|
+
let c = g.value[i];
|
54
|
+
for (let s = 0; s < c.length; s++) {
|
55
|
+
let y = V.value[o], h = c[s].data, m = f.tree.getFlat(h, "Children").map((t) => t[r.id]), v = f.array.intersect(m, a);
|
56
|
+
if (!(v.length == 1 && m.length > 1)) for (let t = 0; t < v.length; t++) {
|
57
|
+
let J = v[t];
|
58
|
+
y.setChecked(J, !0, !1);
|
59
|
+
}
|
60
|
+
o++;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
});
|
64
|
+
};
|
65
|
+
return U(() => {
|
66
|
+
x.value = f.dom.getWidth(E.value), w.value = Math.ceil(x.value / 300), I(u.value, l.value, p.value);
|
67
|
+
}), X(() => u.value, (e, r) => {
|
68
|
+
R.value = !1, K(() => {
|
69
|
+
R.value = !0, I(e, l.value, p.value);
|
70
|
+
});
|
71
|
+
}), S({ resize: G }), (e, r) => {
|
72
|
+
const n = N("el-tree"), a = N("el-col"), o = N("el-row");
|
73
|
+
return _(), C("div", {
|
74
|
+
ref_key: "layoutRef",
|
75
|
+
ref: E,
|
76
|
+
class: "ha-tree-layout"
|
77
|
+
}, [
|
78
|
+
d(R) ? (_(!0), C(L, { key: 0 }, B(d(g), (i, c) => (_(), M(o, null, {
|
79
|
+
default: b(() => [
|
80
|
+
(_(!0), C(L, null, B(i, ({ data: s, span: y, index: h }, m) => (_(), M(a, {
|
81
|
+
span: y,
|
82
|
+
key: `${c}.${m}`
|
83
|
+
}, {
|
84
|
+
default: b(() => [
|
85
|
+
Y(n, {
|
86
|
+
ref_for: !0,
|
87
|
+
ref_key: "treeRefs",
|
88
|
+
ref: V,
|
89
|
+
"show-checkbox": "",
|
90
|
+
"highlight-current": "",
|
91
|
+
"default-expand-all": !1,
|
92
|
+
"expand-on-click-node": !1,
|
93
|
+
"node-key": d(l).id,
|
94
|
+
data: s,
|
95
|
+
props: { children: "Children", label: d(l).text },
|
96
|
+
disabled: d(z).type == "Detail",
|
97
|
+
onNodeExpand: d(D),
|
98
|
+
onNodeCollapse: d(W),
|
99
|
+
onCheck: (v, t) => d(j)(v, t, h)
|
100
|
+
}, {
|
101
|
+
default: b(({ node: v, data: t }) => [
|
102
|
+
Z("div", ee, T(t[d(l).text]), 1),
|
103
|
+
d(l).suffix ? (_(), C("div", le, T(t[d(l).suffix]), 1)) : F("", !0)
|
104
|
+
]),
|
105
|
+
_: 2
|
106
|
+
}, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
|
107
|
+
]),
|
108
|
+
_: 2
|
109
|
+
}, 1032, ["span"]))), 128))
|
110
|
+
]),
|
111
|
+
_: 2
|
112
|
+
}, 1024))), 256)) : F("", !0)
|
113
|
+
], 512);
|
114
|
+
};
|
115
|
+
}
|
116
|
+
});
|
117
|
+
export {
|
118
|
+
de as default
|
119
|
+
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { defineComponent as x, toRefs as h, computed as C, openBlock as i, createElementBlock as s, unref as e, createElementVNode as N, toDisplayString as a, createTextVNode as b, createCommentVNode as d } from "vue";
|
2
|
+
import { t as g, H as y } from "./main-Dq4FCPIB.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
5
|
+
const k = ["title"], v = { class: "number" }, V = {
|
6
|
+
key: 0,
|
7
|
+
class: "option-suffix"
|
8
|
+
}, B = {
|
9
|
+
key: 1,
|
10
|
+
class: "count"
|
11
|
+
}, T = /* @__PURE__ */ x({
|
12
|
+
__name: "TreeNode",
|
13
|
+
props: {
|
14
|
+
table: {},
|
15
|
+
layout: {},
|
16
|
+
row: {},
|
17
|
+
node: {}
|
18
|
+
},
|
19
|
+
setup(u) {
|
20
|
+
let p = u, { table: c, layout: n, row: t, node: f } = h(p), m = (l, o) => {
|
21
|
+
let r = (l.parent.data.Children ? l.parent.data.Children.indexOf(o) : l.parent.data.indexOf(o)) + 1;
|
22
|
+
return y.string.padLeft(r, 2, "0");
|
23
|
+
}, _ = C(() => c.value.fields.find((r) => r.name == n.value.text).control.i18N);
|
24
|
+
return (l, o) => {
|
25
|
+
var r;
|
26
|
+
return i(), s("div", {
|
27
|
+
title: e(t)[e(n).title]
|
28
|
+
}, [
|
29
|
+
N("span", v, a(e(m)(e(f), e(t))), 1),
|
30
|
+
b(" " + a((r = e(_)) != null && r.value ? e(g)(e(t)[e(n).text]) : e(t)[e(n).text]) + " ", 1),
|
31
|
+
e(n).suffix ? (i(), s("span", V, a(e(t)[e(n).suffix]), 1)) : d("", !0),
|
32
|
+
e(t).Children && e(t).Children.length > 0 ? (i(), s("span", B, "(" + a(e(t).Children.length) + ")", 1)) : d("", !0)
|
33
|
+
], 8, k);
|
34
|
+
};
|
35
|
+
}
|
36
|
+
});
|
37
|
+
export {
|
38
|
+
T as default
|
39
|
+
};
|
@@ -1,15 +1,11 @@
|
|
1
1
|
import { defineComponent as b, toRefs as C, ref as h, resolveComponent as x, openBlock as g, createBlock as v, unref as e, withCtx as t, createVNode as s, createSlots as y, createTextVNode as a, toDisplayString as r, createElementVNode as p } from "vue";
|
2
|
-
import "./
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
2
|
+
import { G as N, t as m } from "./main-Dq4FCPIB.js";
|
6
3
|
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import { N, t as m } from "./main-CBbiFa-k.js";
|
8
4
|
import "./assets/liquidjs-C-LVcoaY.js";
|
9
5
|
import "element-plus";
|
10
6
|
import "vue-router";
|
11
7
|
import "./assets/intro.js-DxWjEdp_.js";
|
12
|
-
const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__PURE__ */ p("i", { class: "fa fa-chevron-left" }, null, -1),
|
8
|
+
const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__PURE__ */ p("i", { class: "fa fa-chevron-left" }, null, -1), $ = /* @__PURE__ */ b({
|
13
9
|
__name: "Update",
|
14
10
|
props: {
|
15
11
|
table: {},
|
@@ -21,21 +17,21 @@ const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__
|
|
21
17
|
setup(u, { expose: f, emit: _ }) {
|
22
18
|
let n = _;
|
23
19
|
C(u);
|
24
|
-
let o = h(!1),
|
25
|
-
o.value = !0, n("submit",
|
20
|
+
let o = h(!1), l = (c) => {
|
21
|
+
o.value = !0, n("submit", c, null, (k) => {
|
26
22
|
o.value = !1;
|
27
23
|
});
|
28
24
|
}, d = () => {
|
29
25
|
n("close");
|
30
26
|
};
|
31
|
-
return f({ submit:
|
32
|
-
const
|
27
|
+
return f({ submit: l }), (c, k) => {
|
28
|
+
const i = x("el-button");
|
33
29
|
return g(), v(e(N), { padding: 5 }, {
|
34
30
|
default: t(() => [
|
35
|
-
s(
|
31
|
+
s(i, {
|
36
32
|
type: "primary",
|
37
33
|
loading: e(o),
|
38
|
-
onClick: e(
|
34
|
+
onClick: e(l)
|
39
35
|
}, y({
|
40
36
|
default: t(() => [
|
41
37
|
a(" " + r(e(m)("common.confirm")), 1)
|
@@ -50,7 +46,7 @@ const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__
|
|
50
46
|
key: "0"
|
51
47
|
}
|
52
48
|
]), 1032, ["loading", "onClick"]),
|
53
|
-
s(
|
49
|
+
s(i, { onClick: e(d) }, {
|
54
50
|
icon: t(() => [
|
55
51
|
B
|
56
52
|
]),
|
@@ -66,5 +62,5 @@ const V = /* @__PURE__ */ p("i", { class: "fa fa-check" }, null, -1), B = /* @__
|
|
66
62
|
}
|
67
63
|
});
|
68
64
|
export {
|
69
|
-
|
65
|
+
$ as default
|
70
66
|
};
|
@@ -1,12 +1,8 @@
|
|
1
|
-
import { defineComponent as b, toRefs as g, resolveComponent as v, unref as e, openBlock as
|
2
|
-
import "./
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
1
|
+
import { defineComponent as b, toRefs as g, resolveComponent as v, unref as e, openBlock as r, createElementBlock as x, Fragment as N, createBlock as d, withCtx as t, createTextVNode as i, toDisplayString as o, createVNode as p, createCommentVNode as V, createElementVNode as s } from "vue";
|
2
|
+
import { t as c } from "./main-Dq4FCPIB.js";
|
6
3
|
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import { t as c } from "./main-CBbiFa-k.js";
|
8
4
|
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const B = /* @__PURE__ */
|
5
|
+
const B = /* @__PURE__ */ s("i", { class: "fa fa-plus" }, null, -1), D = /* @__PURE__ */ s("i", { class: "fa fa-share" }, null, -1), E = /* @__PURE__ */ s("i", { class: "fa fa-copy" }, null, -1), w = /* @__PURE__ */ s("i", { class: "fa fa-trash" }, null, -1), A = /* @__PURE__ */ b({
|
10
6
|
__name: "UpdateChild",
|
11
7
|
props: {
|
12
8
|
module: {},
|
@@ -26,9 +22,9 @@ const B = /* @__PURE__ */ r("i", { class: "fa fa-plus" }, null, -1), D = /* @__P
|
|
26
22
|
n("remove");
|
27
23
|
};
|
28
24
|
return (S, T) => {
|
29
|
-
const
|
30
|
-
return e(f).type != "Detail" ? (
|
31
|
-
e(l).length == 0 ? (
|
25
|
+
const a = v("el-button");
|
26
|
+
return e(f).type != "Detail" ? (r(), x(N, { key: 0 }, [
|
27
|
+
e(l).length == 0 ? (r(), d(a, {
|
32
28
|
key: 0,
|
33
29
|
type: "primary",
|
34
30
|
plain: "",
|
@@ -38,10 +34,10 @@ const B = /* @__PURE__ */ r("i", { class: "fa fa-plus" }, null, -1), D = /* @__P
|
|
38
34
|
B
|
39
35
|
]),
|
40
36
|
default: t(() => [
|
41
|
-
|
37
|
+
i(" " + o(e(c)("update.add")), 1)
|
42
38
|
]),
|
43
39
|
_: 1
|
44
|
-
}, 8, ["onClick"])) : (
|
40
|
+
}, 8, ["onClick"])) : (r(), d(a, {
|
45
41
|
key: 1,
|
46
42
|
type: "primary",
|
47
43
|
plain: "",
|
@@ -51,11 +47,11 @@ const B = /* @__PURE__ */ r("i", { class: "fa fa-plus" }, null, -1), D = /* @__P
|
|
51
47
|
D
|
52
48
|
]),
|
53
49
|
default: t(() => [
|
54
|
-
|
50
|
+
i(" " + o(e(c)("update.insert")), 1)
|
55
51
|
]),
|
56
52
|
_: 1
|
57
53
|
}, 8, ["onClick"])),
|
58
|
-
|
54
|
+
p(a, {
|
59
55
|
type: "primary",
|
60
56
|
plain: "",
|
61
57
|
disabled: e(l).length == 0,
|
@@ -65,11 +61,11 @@ const B = /* @__PURE__ */ r("i", { class: "fa fa-plus" }, null, -1), D = /* @__P
|
|
65
61
|
E
|
66
62
|
]),
|
67
63
|
default: t(() => [
|
68
|
-
|
64
|
+
i(" " + o(e(c)("common.copy")) + "(" + o(e(l).length) + ") ", 1)
|
69
65
|
]),
|
70
66
|
_: 1
|
71
67
|
}, 8, ["disabled", "onClick"]),
|
72
|
-
|
68
|
+
p(a, {
|
73
69
|
type: "danger",
|
74
70
|
plain: "",
|
75
71
|
disabled: e(l).length == 0,
|
@@ -79,7 +75,7 @@ const B = /* @__PURE__ */ r("i", { class: "fa fa-plus" }, null, -1), D = /* @__P
|
|
79
75
|
w
|
80
76
|
]),
|
81
77
|
default: t(() => [
|
82
|
-
|
78
|
+
i(" " + o(e(c)("common.delete")) + "(" + o(e(l).length) + ") ", 1)
|
83
79
|
]),
|
84
80
|
_: 1
|
85
81
|
}, 8, ["disabled", "onClick"])
|
@@ -88,5 +84,5 @@ const B = /* @__PURE__ */ r("i", { class: "fa fa-plus" }, null, -1), D = /* @__P
|
|
88
84
|
}
|
89
85
|
});
|
90
86
|
export {
|
91
|
-
|
87
|
+
A as default
|
92
88
|
};
|
@@ -0,0 +1,148 @@
|
|
1
|
+
import { defineComponent as W, toRefs as X, ref as p, onMounted as Y, computed as x, watch as Z, resolveComponent as k, openBlock as R, createElementBlock as S, normalizeClass as ee, unref as t, createVNode as T, withCtx as I, createBlock as le, createTextVNode as ae, toDisplayString as te, isRef as oe, createElementVNode as re } from "vue";
|
2
|
+
import { t as ue, x as U, y as ne, h as F, m as ie, H as i, w as z, z as P, A } from "./main-Dq4FCPIB.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
5
|
+
import "./QueryApi-DLCwFvTe.js";
|
6
|
+
import { U as se } from "./UploadApi-EK9Yas4b.js";
|
7
|
+
const de = {
|
8
|
+
key: 0,
|
9
|
+
class: "fa fa-upload"
|
10
|
+
}, pe = ["src"], _e = /* @__PURE__ */ W({
|
11
|
+
__name: "Upload",
|
12
|
+
props: {
|
13
|
+
schema: {},
|
14
|
+
table: {},
|
15
|
+
field: {},
|
16
|
+
set: {},
|
17
|
+
row: {},
|
18
|
+
modelValue: {}
|
19
|
+
},
|
20
|
+
emits: ["submit", "change", "update:modelValue"],
|
21
|
+
setup(B, { emit: C }) {
|
22
|
+
let h = C, O = B, { table: d, field: u, row: g, set: me, modelValue: $ } = X(O), m = p(!1), j = p({}), c = p([]), H = p(), q = p(), f = !0, y = p({ action: "", data: null }), E = (e) => {
|
23
|
+
let l = se.getUploadToken();
|
24
|
+
e.forEach((o) => {
|
25
|
+
let a = `${P.upload.address}/api/objects/download?slug=${o[0]}&token=${l}`;
|
26
|
+
c.value.push({ name: o[1], url: a });
|
27
|
+
});
|
28
|
+
}, L = async (e) => {
|
29
|
+
f = !1;
|
30
|
+
let l = `/upload?table=${d.value.name}&field=${u.value.name}`;
|
31
|
+
y.value.action = U.api.url + l;
|
32
|
+
let o = new ne();
|
33
|
+
o.path = l, o.method = "POST", await F.onRequest(o);
|
34
|
+
let a = o.getHeader("Authorization");
|
35
|
+
return j.value.Authorization = a, u.value.control.fileType == "Image" ? e.type.indexOf("image") == 0 ? Promise.resolve() : (ie.error("请上传正确的图片文件"), Promise.reject()) : Promise.resolve();
|
36
|
+
}, D = (e, l) => {
|
37
|
+
f = !1;
|
38
|
+
let a = [e.name.replace(U.api.url, "")];
|
39
|
+
return F.post("/upload/delete", { files: a }).then(({ data: r }) => {
|
40
|
+
let n = l.indexOf(e), _ = i.array.removeIndex(s.value, n, ",");
|
41
|
+
if (h("update:modelValue", _), u.value.control.name) {
|
42
|
+
let v = d.value.fields.find((w) => w.name == u.value.control.name), b = z.getValue(r.value, n, d.value, v), V = i.array.removeIndex(b, n, ",");
|
43
|
+
z.setValue(V, r.value, d.value, n, v);
|
44
|
+
}
|
45
|
+
return Promise.resolve();
|
46
|
+
}).catch(() => Promise.reject());
|
47
|
+
}, M = (e) => {
|
48
|
+
m.value = !0, H.value = e.url;
|
49
|
+
}, G = (e, l, o) => {
|
50
|
+
}, J = (e, l) => {
|
51
|
+
F.handleResponseBody(e).then((o) => {
|
52
|
+
let { name: a, url: r } = o.data[0];
|
53
|
+
P.upload.method == "box" || i.file.isImage(r) || (l.url = A.getFileIcon(r));
|
54
|
+
let _ = i.array.split(s.value, ",", r).join(",");
|
55
|
+
if (s.value = _, u.value.control.name) {
|
56
|
+
let v = d.value.fields.find((w) => w.name == u.value.control.name), b = g.value[v.value], V = i.array.split(b, ",", a);
|
57
|
+
g.value[v.value] = V.join(",");
|
58
|
+
}
|
59
|
+
}).catch(() => {
|
60
|
+
c.value = [];
|
61
|
+
}).finally(() => {
|
62
|
+
f = !0;
|
63
|
+
});
|
64
|
+
}, N = () => {
|
65
|
+
if (c.value = [], !s.value)
|
66
|
+
return;
|
67
|
+
let e = i.array.split(s.value, ","), l = [];
|
68
|
+
if (u.value.control.name) {
|
69
|
+
let a = d.value.fields.find((n) => n.name == u.value.control.name), r = g.value[a.name];
|
70
|
+
l = i.array.split(r, ",");
|
71
|
+
}
|
72
|
+
let o = i.array.combine(e, l);
|
73
|
+
if (P.upload.method == "box")
|
74
|
+
E(o);
|
75
|
+
else {
|
76
|
+
let a = i.url.httpOrHttps(s.value) ? s.value : U.api.url + s.value, r = { name: a, url: null };
|
77
|
+
i.file.isImage(a) ? r.url = a : r.url = A.getFileIcon(a), c.value.push(r);
|
78
|
+
}
|
79
|
+
};
|
80
|
+
Y(() => {
|
81
|
+
N();
|
82
|
+
});
|
83
|
+
let s = x({
|
84
|
+
get() {
|
85
|
+
return $.value;
|
86
|
+
},
|
87
|
+
set(e) {
|
88
|
+
h("update:modelValue", e), h("change", e);
|
89
|
+
}
|
90
|
+
}), K = x(() => u.value.control.preview ? "picture-card" : null), Q = x(() => Q);
|
91
|
+
return Z(() => s.value, (e, l) => {
|
92
|
+
f && N();
|
93
|
+
}), (e, l) => {
|
94
|
+
const o = k("el-button"), a = k("el-upload"), r = k("el-dialog");
|
95
|
+
return R(), S("div", {
|
96
|
+
class: ee(t(u).control.preview ? "control-file-preview" : "control-file")
|
97
|
+
}, [
|
98
|
+
T(a, {
|
99
|
+
ref_key: "uploadRef",
|
100
|
+
ref: q,
|
101
|
+
"list-type": t(K),
|
102
|
+
action: t(y).action,
|
103
|
+
headers: t(j),
|
104
|
+
data: t(y).data,
|
105
|
+
"file-list": t(c),
|
106
|
+
"before-upload": t(L),
|
107
|
+
"before-remove": t(D),
|
108
|
+
"on-preview": t(M),
|
109
|
+
"on-success": t(J),
|
110
|
+
"on-progress": t(G),
|
111
|
+
disabled: t(u).readonly
|
112
|
+
}, {
|
113
|
+
default: I(() => [
|
114
|
+
t(u).control.preview ? (R(), S("i", de)) : (R(), le(o, {
|
115
|
+
key: 1,
|
116
|
+
icon: "el-icon-upload",
|
117
|
+
type: "primary"
|
118
|
+
}, {
|
119
|
+
default: I(() => [
|
120
|
+
ae(te(t(ue)("common.click_upload")), 1)
|
121
|
+
]),
|
122
|
+
_: 1
|
123
|
+
}))
|
124
|
+
]),
|
125
|
+
_: 1
|
126
|
+
}, 8, ["list-type", "action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-progress", "disabled"]),
|
127
|
+
T(r, {
|
128
|
+
draggable: "",
|
129
|
+
"append-to-body": "",
|
130
|
+
modelValue: t(m),
|
131
|
+
"onUpdate:modelValue": l[0] || (l[0] = (n) => oe(m) ? m.value = n : m = n)
|
132
|
+
}, {
|
133
|
+
default: I(() => [
|
134
|
+
re("img", {
|
135
|
+
width: "100%",
|
136
|
+
src: t(H),
|
137
|
+
alt: ""
|
138
|
+
}, null, 8, pe)
|
139
|
+
]),
|
140
|
+
_: 1
|
141
|
+
}, 8, ["modelValue"])
|
142
|
+
], 2);
|
143
|
+
};
|
144
|
+
}
|
145
|
+
});
|
146
|
+
export {
|
147
|
+
_e as default
|
148
|
+
};
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { defineComponent as b, toRefs as k, ref as r, onMounted as w, computed as x, resolveComponent as C, openBlock as i, createElementBlock as n, Fragment as E, renderList as F, unref as s, createVNode as H, isRef as R, withCtx as $, createElementVNode as y } from "vue";
|
2
|
+
import { z as c, H as v, x as A, A as B } from "./main-Dq4FCPIB.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
5
|
+
import "./QueryApi-DLCwFvTe.js";
|
6
|
+
import { U as I } from "./UploadApi-EK9Yas4b.js";
|
7
|
+
const N = { class: "text-upload" }, S = ["src", "onClick", "alt"], j = ["src"], Q = /* @__PURE__ */ b({
|
8
|
+
__name: "Upload",
|
9
|
+
props: {
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
field: {},
|
13
|
+
set: {},
|
14
|
+
row: {},
|
15
|
+
modelValue: {}
|
16
|
+
},
|
17
|
+
setup(f) {
|
18
|
+
let g = f, { table: z, field: L, set: M, row: O, modelValue: _ } = k(g), d = r(), t = r(!1), p = r([]), m = r(), h = (e) => {
|
19
|
+
t.value = !0, m.value = e.url;
|
20
|
+
}, U = () => {
|
21
|
+
if (o.value)
|
22
|
+
if (c.upload.method == "box")
|
23
|
+
I.getUploadToken().then((e) => {
|
24
|
+
o.value.split(",").forEach((a) => {
|
25
|
+
let l = `${c.upload.address}/api/objects/download?slug=${a}&token=${e}`;
|
26
|
+
p.value.push({ name: a, url: l });
|
27
|
+
});
|
28
|
+
});
|
29
|
+
else {
|
30
|
+
let e = v.url.httpOrHttps(o.value) ? o.value : A.api.url + o.value;
|
31
|
+
v.file.isImage(e) ? d.value = e : d.value = B.getFileIcon(e);
|
32
|
+
}
|
33
|
+
};
|
34
|
+
w(() => {
|
35
|
+
U();
|
36
|
+
});
|
37
|
+
let o = x(() => _.value);
|
38
|
+
return (e, u) => {
|
39
|
+
const a = C("el-dialog");
|
40
|
+
return i(), n("div", N, [
|
41
|
+
(i(!0), n(E, null, F(s(p), (l, V) => (i(), n("img", {
|
42
|
+
class: "detail-image",
|
43
|
+
src: l.url,
|
44
|
+
onClick: (T) => s(h)(l),
|
45
|
+
alt: l.name,
|
46
|
+
key: V
|
47
|
+
}, null, 8, S))), 128)),
|
48
|
+
H(a, {
|
49
|
+
draggable: "",
|
50
|
+
"append-to-body": "",
|
51
|
+
top: "5vh",
|
52
|
+
modelValue: s(t),
|
53
|
+
"onUpdate:modelValue": u[0] || (u[0] = (l) => R(t) ? t.value = l : t = l)
|
54
|
+
}, {
|
55
|
+
default: $(() => [
|
56
|
+
y("img", {
|
57
|
+
width: "100%",
|
58
|
+
src: s(m)
|
59
|
+
}, null, 8, j)
|
60
|
+
]),
|
61
|
+
_: 1
|
62
|
+
}, 8, ["modelValue"])
|
63
|
+
]);
|
64
|
+
};
|
65
|
+
}
|
66
|
+
});
|
67
|
+
export {
|
68
|
+
Q as default
|
69
|
+
};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { h as o, H as t } from "./main-Dq4FCPIB.js";
|
2
|
+
import "vue";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
5
|
+
let e = null;
|
6
|
+
class p {
|
7
|
+
/**
|
8
|
+
* 获取上传令牌,过期自动获取
|
9
|
+
*/
|
10
|
+
static async getUploadToken() {
|
11
|
+
return e == null || t.time.getTime() >= t.time.getTime(e.expireTime) ? o.get("/upload/token").then(({ data: r }) => (e = r, Promise.resolve(e.token))).catch(() => Promise.reject()) : Promise.resolve(e.token);
|
12
|
+
}
|
13
|
+
}
|
14
|
+
export {
|
15
|
+
p as U
|
16
|
+
};
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { defineComponent as f, toRefs as _, computed as h, resolveComponent as V, openBlock as b, createBlock as g, unref as e, isRef as Y } from "vue";
|
2
|
+
import { l as k } from "./main-Dq4FCPIB.js";
|
3
|
+
import "./assets/moment-h96o7c8I.js";
|
4
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
5
|
+
const R = /* @__PURE__ */ f({
|
6
|
+
__name: "Year",
|
7
|
+
props: {
|
8
|
+
schema: {},
|
9
|
+
table: {},
|
10
|
+
field: {},
|
11
|
+
set: {},
|
12
|
+
row: {},
|
13
|
+
modelValue: {}
|
14
|
+
},
|
15
|
+
emits: ["submit", "change", "update:modelValue"],
|
16
|
+
setup(n, { emit: d }) {
|
17
|
+
let o = d, p = n, { table: u, field: a, row: C, set: y, modelValue: s } = _(p), i = () => {
|
18
|
+
o("submit");
|
19
|
+
}, l = h({
|
20
|
+
get() {
|
21
|
+
return s.value;
|
22
|
+
},
|
23
|
+
set(t) {
|
24
|
+
o("update:modelValue", t), o("change", t);
|
25
|
+
}
|
26
|
+
});
|
27
|
+
return (t, r) => {
|
28
|
+
const c = V("el-date-picker");
|
29
|
+
return b(), g(c, {
|
30
|
+
type: "year",
|
31
|
+
placeholder: e(k)(e(u).name, e(a).name),
|
32
|
+
"value-format": "YYYY",
|
33
|
+
disabled: e(a).control.readonly,
|
34
|
+
onChange: e(i),
|
35
|
+
modelValue: e(l),
|
36
|
+
"onUpdate:modelValue": r[0] || (r[0] = (m) => Y(l) ? l.value = m : l = m)
|
37
|
+
}, null, 8, ["placeholder", "disabled", "onChange", "modelValue"]);
|
38
|
+
};
|
39
|
+
}
|
40
|
+
});
|
41
|
+
export {
|
42
|
+
R as default
|
43
|
+
};
|
@@ -10,7 +10,7 @@ const h = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = i(() => import("./Text-
|
13
|
+
let r = i(() => import("./Text-DMGSVlY8.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
|
14
14
|
return (x, t) => (V(), b(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|