halo-pc 1.0.25 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-B85JcyzM.js → Article-CTqryR4L.js} +70 -75
- package/dist/{ArticleFooter-BCHVxIWa.js → ArticleFooter-BumGH5nC.js} +17 -23
- package/dist/{Autocomplete-DUmzcj_9.js → Autocomplete-BNx0bErM.js} +1 -1
- package/dist/Autocomplete-C9RS9-qw.js +48 -0
- package/dist/Autocomplete-DIucpEpj.js +49 -0
- package/dist/{CSharp-CLKgbbVS.js → CSharp-Dt6H75E9.js} +1 -1
- package/dist/{Calender-DIjZoC1-.js → Calender-DhKZyJri.js} +1 -1
- package/dist/Callback-D6G_933H.js +20 -0
- package/dist/Cascader-C6t8Q18c.js +41 -0
- package/dist/Cascader-F_XWwXKY.js +81 -0
- package/dist/{Checkbox-BJjYhPvp.js → Checkbox-C-iEGB0k.js} +1 -1
- package/dist/Checkbox-ipHs0O-8.js +70 -0
- package/dist/Code-DKtqow6y.js +36 -0
- package/dist/{Code-C5fE_bvq.js → Code-JtSSnUWC.js} +1 -1
- package/dist/Code-LeguA9RL.js +54 -0
- package/dist/Code-Q_6THgGl.js +4 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-DmeXbg91.js +59 -0
- package/dist/Column-BeQwafyN.js +70 -0
- package/dist/Comment-DIcCHP9F.js +98 -0
- package/dist/{Compare-DICZHIEn.js → Compare-DZVrBYEh.js} +19 -25
- package/dist/Compare-Dzqm7kPE.js +38 -0
- package/dist/Copy-iLieXx22.js +43 -0
- package/dist/Custom-BGtEDHlD.js +51 -0
- package/dist/{DataExport-f8caAI4D.js → DataExport-DSz5371s.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CbiPENFw.js → DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js} +36 -41
- package/dist/{DataImport-CZaVBfZq.js → DataImport-CX7G70a7.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-BWS65Vp1.js +172 -0
- package/dist/Date-CNOCOcNz.js +37 -0
- package/dist/{Date-DtHzdllB.js → Date-ytWe2gz8.js} +1 -1
- package/dist/DateRange-CaIiObxN.js +57 -0
- package/dist/DateTime-CH6J1GoP.js +38 -0
- package/dist/{DateTime-G4F8DiCI.js → DateTime-p6YgmtGd.js} +1 -1
- package/dist/{DateTimeRange-CG9K8X5b.js → DateTimeRange-DGobnXqs.js} +11 -17
- package/dist/Daterange-BUSKAGlK.js +57 -0
- package/dist/{Decimal-iKOftOtx.js → Decimal-BvyzJq1c.js} +1 -1
- package/dist/Delete-BeFC0gjD.js +57 -0
- package/dist/{Detail-syloerEZ.js → Detail-DZJ0aUFr.js} +17 -22
- package/dist/Dictionary-CsBiv-CI.js +55 -0
- package/dist/Email-Dwa6x3jW.js +48 -0
- package/dist/{File-IQG0slBy.js → File-BEBElTSS.js} +27 -32
- package/dist/{Image-BRH98A7N.js → Image-DDK05SW7.js} +1 -1
- package/dist/{Index-CnqiNw5R.js → Index-BiF8qEWf.js} +1 -1
- package/dist/Index-Bpe7pY2Z.js +4 -0
- package/dist/Index-CUYQxzNd.js +174 -0
- package/dist/{Index-CttpoRk-.js → Index-CuEyzMd0.js} +20 -25
- package/dist/Index-DMnL8F7Y.js +4 -0
- package/dist/Index-DNG25ox2.js +4 -0
- package/dist/{Index-BqseRji6.js → Index-DPwdcUO4.js} +1 -1
- package/dist/Index-DqUNI6MV.js +4 -0
- package/dist/{Index.vue_vue_type_script_setup_true_lang-C0QNQ1MJ.js → Index.vue_vue_type_script_setup_true_lang-Bp091zxs.js} +15 -20
- package/dist/{Index.vue_vue_type_script_setup_true_lang-Cx8eXCsw.js → Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js} +12 -17
- package/dist/{Install-BEeQqQzM.js → Install-CxuoWpHC.js} +22 -27
- package/dist/Int-BFv18KXi.js +38 -0
- package/dist/Int-C0ijmdYS.js +41 -0
- package/dist/List-CfQzWq_5.js +74 -0
- package/dist/Maintaince-BzDEwQcU.js +14 -0
- package/dist/{Markdown-DR4rlU3-.js → Markdown-x1hASyA-.js} +1 -1
- package/dist/{Month-BRuj2vZ-.js → Month-Bb0tgF-k.js} +1 -1
- package/dist/Month-Bp_Pfi_b.js +37 -0
- package/dist/Month-CKkjwzza.js +38 -0
- package/dist/{Normal-B6h5U5-c.js → Normal-CYmy5sN7.js} +66 -70
- package/dist/Paging-DpoBp7x_.js +95 -0
- package/dist/{PagingHeader-BEfi7NBv.js → PagingHeader-DWbFl1do.js} +24 -30
- package/dist/{PagingRow-C-l9v-bo.js → PagingRow-CR2N1vgm.js} +20 -26
- package/dist/QueryApi-VwISnk96.js +13 -0
- package/dist/{Racebar-BdLTF_ZH.js → Racebar-BsgDK6Zf.js} +37 -42
- package/dist/{Radio-DVmzOE7P.js → Radio-B3Af-uZE.js} +1 -1
- package/dist/{Register-CQSkhKvF.js → Register-Cwr3iIZm.js} +40 -44
- package/dist/RichText-CNahMrfb.js +41 -0
- package/dist/{SearchFooter-CKOh4Fzz.js → SearchFooter-DiILcc_U.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-D6xp89r9.js → SearchFooter.vue_vue_type_style_index_0_lang-BsIg4tbY.js} +1 -1
- package/dist/{SearchForm-WtocjgIQ.js → SearchForm-BOw_kHs2.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DFqj7f23.js → SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js} +36 -40
- package/dist/{Select-CGC68XKI.js → Select-BdYG1KQE.js} +1 -1
- package/dist/Select-BeNZqAP1.js +112 -0
- package/dist/Select-CqOE6uI8.js +80 -0
- package/dist/{Single-PROE_P9A.js → Single-DqCIZBIB.js} +99 -103
- package/dist/{Statistic-R1oy4jve.js → Statistic-B9ZcUUk1.js} +33 -37
- package/dist/{Stock-Dzlxs_TK.js → Stock-BiSr7zAF.js} +1 -1
- package/dist/{Stock-zGPixaHC.js → Stock-BnBNtuo7.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-DAlvmXf0.js → Stock.vue_vue_type_style_index_0_lang-CZPeF39q.js} +26 -31
- package/dist/{Switch-y8TGQEHX.js → Switch-BE4dQcja.js} +1 -1
- package/dist/{Table-NDlPEOwH.js → Table-CaH_zu8W.js} +74 -77
- package/dist/{Table-D--KFpz3.js → Table-e0uLPRLG.js} +73 -78
- package/dist/Text-5803XWI6.js +4 -0
- package/dist/{Text-BkKR1LPU.js → Text-BAw88r5O.js} +13 -19
- package/dist/{Text-DXGzwZnW.js → Text-BDAob4mp.js} +15 -21
- package/dist/Text.vue_vue_type_style_index_0_lang-D1JSHUmS.js +53 -0
- package/dist/TextLink-TYXcDAlo.js +59 -0
- package/dist/{Textarea-C4PlCQXP.js → Textarea-CU5PjIoa.js} +1 -1
- package/dist/Time-Dd-Trib4.js +37 -0
- package/dist/Timeline-D6LCIkQp.js +53 -0
- package/dist/Tree-BKmFZrK3.js +118 -0
- package/dist/{Tree-DzfCEHVR.js → Tree-D-v632h1.js} +101 -105
- package/dist/TreeNode-L_A5ZKy0.js +37 -0
- package/dist/{Update-BzPazrMP.js → Update-DRAFce7_.js} +15 -20
- package/dist/{UpdateChild-BvIiamkv.js → UpdateChild-DMC0FG4Z.js} +17 -23
- package/dist/Upload-DJRh4a7g.js +68 -0
- package/dist/Upload-Ozg_nOpI.js +147 -0
- package/dist/UploadApi-DVx69g-F.js +13 -0
- package/dist/{Year-DJPzJlot.js → Year-CpcMBvQ7.js} +1 -1
- package/dist/Year-D7XGe2So.js +41 -0
- package/dist/assets/halo-fe-B-NiIGas.js +12088 -0
- package/dist/main-DB_sVyZe.js +3620 -0
- package/dist/main.js +140 -140
- package/dist/style.css +1 -1
- package/esm/@types/CreatePcOptions.d.ts +15 -0
- package/esm/@types/index.d.ts +2 -0
- package/esm/coms/business/@types/CrudProps.d.ts +22 -0
- package/esm/coms/business/@types/DrawerProps.d.ts +14 -0
- package/esm/coms/business/@types/DriverProps.d.ts +63 -0
- package/esm/coms/business/@types/FormProps.d.ts +18 -0
- package/esm/coms/business/@types/index.d.ts +5 -0
- package/esm/coms/business/Crud.vue.d.ts +1 -1
- package/esm/coms/business/Drawer.vue.d.ts +1 -1
- package/esm/coms/business/Driver.vue.d.ts +1 -1
- package/esm/coms/business/Form.vue.d.ts +1 -1
- package/esm/coms/business/index.d.ts +1 -1
- package/esm/coms/commons/@types/TableProps.d.ts +22 -0
- package/esm/coms/commons/@types/index.d.ts +2 -0
- package/esm/coms/commons/Table.vue.d.ts +1 -1
- package/esm/coms/commons/index.d.ts +1 -1
- package/esm/coms/controls/@types/ControlProps.d.ts +26 -0
- package/esm/coms/controls/@types/index.d.ts +2 -0
- package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/controls/Cascader.vue.d.ts +1 -1
- package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
- package/esm/coms/controls/Code.vue.d.ts +1 -1
- package/esm/coms/controls/Color.vue.d.ts +1 -1
- package/esm/coms/controls/Compare.vue.d.ts +1 -1
- package/esm/coms/controls/Date.vue.d.ts +1 -1
- package/esm/coms/controls/DateRange.vue.d.ts +1 -1
- package/esm/coms/controls/DateTime.vue.d.ts +1 -1
- package/esm/coms/controls/DateTimeRange.vue.d.ts +1 -1
- package/esm/coms/controls/Decimal.vue.d.ts +1 -1
- package/esm/coms/controls/Email.vue.d.ts +1 -1
- package/esm/coms/controls/Index.vue.d.ts +1 -1
- package/esm/coms/controls/Int.vue.d.ts +1 -1
- package/esm/coms/controls/Markdown.vue.d.ts +1 -1
- package/esm/coms/controls/Month.vue.d.ts +1 -1
- package/esm/coms/controls/Password.vue.d.ts +1 -1
- package/esm/coms/controls/Progress.vue.d.ts +1 -1
- package/esm/coms/controls/Radio.vue.d.ts +1 -1
- package/esm/coms/controls/Rate.vue.d.ts +1 -1
- package/esm/coms/controls/RichText.vue.d.ts +1 -1
- package/esm/coms/controls/Select.vue.d.ts +1 -1
- package/esm/coms/controls/Switch.vue.d.ts +1 -1
- package/esm/coms/controls/Text.vue.d.ts +1 -1
- package/esm/coms/controls/Textarea.vue.d.ts +1 -1
- package/esm/coms/controls/Time.vue.d.ts +1 -1
- package/esm/coms/controls/Upload.vue.d.ts +1 -1
- package/esm/coms/controls/Year.vue.d.ts +1 -1
- package/esm/coms/controls/index.d.ts +1 -1
- package/esm/coms/globals/@types/WindowOptions.d.ts +38 -0
- package/esm/coms/globals/@types/WindowProps.d.ts +27 -0
- package/esm/coms/globals/@types/index.d.ts +3 -0
- package/esm/coms/globals/Window.vue.d.ts +1 -1
- package/esm/coms/globals/index.d.ts +1 -1
- package/esm/coms/layouts/@types/ITaskBar.d.ts +6 -0
- package/esm/coms/layouts/@types/index.d.ts +2 -0
- package/esm/coms/layouts/index.d.ts +1 -1
- package/esm/coms/lists/@types/ListProps.d.ts +15 -0
- package/esm/coms/lists/@types/index.d.ts +2 -0
- package/esm/coms/lists/Racebar.vue.d.ts +1 -1
- package/esm/coms/lists/Statistic.vue.d.ts +1 -1
- package/esm/coms/lists/Stock.vue.d.ts +1 -1
- package/esm/coms/lists/Timeline.vue.d.ts +1 -1
- package/esm/coms/lists/Tree.vue.d.ts +1 -1
- package/esm/coms/lists/index.d.ts +1 -1
- package/esm/coms/pages/@types/ColumnPageProps.d.ts +11 -0
- package/esm/coms/pages/@types/CustomPageProps.d.ts +11 -0
- package/esm/coms/pages/@types/DeletePageProps.d.ts +15 -0
- package/esm/coms/pages/@types/KeyboardType.d.ts +8 -0
- package/esm/coms/pages/@types/ListPageProps.d.ts +15 -0
- package/esm/coms/pages/@types/PageEmit.d.ts +22 -0
- package/esm/coms/pages/@types/PageProps.d.ts +14 -0
- package/esm/coms/pages/@types/PagingPageProps.d.ts +15 -0
- package/esm/coms/pages/@types/SchemaProps.d.ts +30 -0
- package/esm/coms/pages/@types/SinglePageProps.d.ts +15 -0
- package/esm/coms/pages/@types/index.d.ts +11 -0
- package/esm/coms/pages/Column.vue.d.ts +1 -1
- package/esm/coms/pages/Custom.vue.d.ts +1 -1
- package/esm/coms/pages/Delete.vue.d.ts +1 -1
- package/esm/coms/pages/List.vue.d.ts +1 -1
- package/esm/coms/pages/Paging.vue.d.ts +1 -1
- package/esm/coms/pages/Single.vue.d.ts +1 -1
- package/esm/coms/pages/index.d.ts +1 -1
- package/esm/coms/pagings/@types/PagingProps.d.ts +11 -0
- package/esm/coms/pagings/@types/index.d.ts +2 -0
- package/esm/coms/pagings/Article.vue.d.ts +1 -1
- package/esm/coms/pagings/Code.vue.d.ts +1 -1
- package/esm/coms/pagings/File.vue.d.ts +1 -1
- package/esm/coms/pagings/Index.vue.d.ts +1 -1
- package/esm/coms/pagings/Table.vue.d.ts +1 -1
- package/esm/coms/pagings/index.d.ts +1 -1
- package/esm/coms/panels/@types/OperationProps.d.ts +10 -0
- package/esm/coms/panels/@types/index.d.ts +2 -0
- package/esm/coms/panels/Operation.vue.d.ts +1 -1
- package/esm/coms/panels/index.d.ts +1 -1
- package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +26 -0
- package/esm/coms/partials/@types/DetailEmit.d.ts +18 -0
- package/esm/coms/partials/@types/DetailProps.d.ts +22 -0
- package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +34 -0
- package/esm/coms/partials/@types/PagingHeaderProps.d.ts +30 -0
- package/esm/coms/partials/@types/PagingRowEmit.d.ts +26 -0
- package/esm/coms/partials/@types/PagingRowProps.d.ts +22 -0
- package/esm/coms/partials/@types/TreeNodeProps.d.ts +22 -0
- package/esm/coms/partials/@types/UpdateChildEmit.d.ts +22 -0
- package/esm/coms/partials/@types/UpdateChildProps.d.ts +22 -0
- package/esm/coms/partials/@types/UpdateEmit.d.ts +14 -0
- package/esm/coms/partials/@types/UpdateProps.d.ts +22 -0
- package/esm/coms/partials/@types/index.d.ts +13 -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 -1
- package/esm/coms/searches/@types/SearchProps.d.ts +10 -0
- package/esm/coms/searches/@types/index.d.ts +2 -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 +1 -1
- package/esm/coms/singles/@types/SingleProps.d.ts +15 -0
- package/esm/coms/singles/@types/index.d.ts +2 -0
- package/esm/coms/singles/Code.vue.d.ts +1 -1
- package/esm/coms/singles/Comment.vue.d.ts +1 -1
- package/esm/coms/singles/Index.vue.d.ts +1 -1
- package/esm/coms/singles/Normal.vue.d.ts +1 -1
- package/esm/coms/singles/Statistic.vue.d.ts +1 -1
- package/esm/coms/singles/Stock.vue.d.ts +1 -1
- package/esm/coms/singles/Table.vue.d.ts +1 -1
- package/esm/coms/singles/Tree.vue.d.ts +1 -1
- package/esm/coms/singles/index.d.ts +1 -1
- package/esm/coms/texts/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/texts/CSharp.vue.d.ts +1 -1
- package/esm/coms/texts/Cascader.vue.d.ts +1 -1
- package/esm/coms/texts/Checkbox.vue.d.ts +1 -1
- package/esm/coms/texts/Code.vue.d.ts +1 -1
- package/esm/coms/texts/Color.vue.d.ts +1 -1
- package/esm/coms/texts/Compare.vue.d.ts +1 -1
- package/esm/coms/texts/Copy.vue.d.ts +1 -1
- package/esm/coms/texts/Date.vue.d.ts +1 -1
- package/esm/coms/texts/DateRange.vue.d.ts +1 -1
- package/esm/coms/texts/DateTime.vue.d.ts +1 -1
- package/esm/coms/texts/Decimal.vue.d.ts +1 -1
- package/esm/coms/texts/Dictionary.vue.d.ts +1 -1
- package/esm/coms/texts/Email.vue.d.ts +1 -1
- package/esm/coms/texts/Index.vue.d.ts +1 -1
- package/esm/coms/texts/Int.vue.d.ts +1 -1
- package/esm/coms/texts/Markdown.vue.d.ts +1 -1
- package/esm/coms/texts/Month.vue.d.ts +1 -1
- package/esm/coms/texts/Password.vue.d.ts +1 -1
- package/esm/coms/texts/Progress.vue.d.ts +1 -1
- package/esm/coms/texts/Radio.vue.d.ts +1 -1
- package/esm/coms/texts/Rate.vue.d.ts +1 -1
- package/esm/coms/texts/RichText.vue.d.ts +1 -1
- package/esm/coms/texts/Select.vue.d.ts +1 -1
- package/esm/coms/texts/Switch.vue.d.ts +1 -1
- package/esm/coms/texts/Text.vue.d.ts +1 -1
- package/esm/coms/texts/TextLink.vue.d.ts +1 -1
- package/esm/coms/texts/Textarea.vue.d.ts +1 -1
- package/esm/coms/texts/Upload.vue.d.ts +1 -1
- package/esm/coms/texts/Year.vue.d.ts +1 -1
- package/esm/main.d.ts +2 -2
- package/package.json +2 -2
- package/dist/Autocomplete-BA0pEA9T.js +0 -53
- package/dist/Autocomplete-C1MC46ef.js +0 -54
- package/dist/Callback-DmCRycGX.js +0 -26
- package/dist/Cascader-CQqLPpEF.js +0 -87
- package/dist/Cascader-DcM0THgE.js +0 -47
- package/dist/Checkbox-CLGuZoor.js +0 -76
- package/dist/Code-CVyrDYHh.js +0 -60
- package/dist/Code-CfODGNBF.js +0 -42
- package/dist/Code-D7kMH044.js +0 -4
- package/dist/Code.vue_vue_type_style_index_0_lang-CGIHkYJn.js +0 -65
- package/dist/Column-4XWgmnKg.js +0 -75
- package/dist/Comment-CNvy-1Iq.js +0 -104
- package/dist/Compare-wgk3D3EX.js +0 -44
- package/dist/Copy-C_EBpWht.js +0 -49
- package/dist/Custom-OUdFT-Z9.js +0 -57
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-DIrLf0yN.js +0 -176
- package/dist/Date-B1jUMPdx.js +0 -43
- package/dist/DateRange-CXUIVfwU.js +0 -63
- package/dist/DateTime-6lhPVe1O.js +0 -44
- package/dist/Daterange-DbhWv06V.js +0 -63
- package/dist/Delete-BU-TdXZR.js +0 -62
- package/dist/Dictionary-DYPWj-d0.js +0 -59
- package/dist/Email-BTKIb--f.js +0 -54
- package/dist/Index-BJWMiDrx.js +0 -178
- package/dist/Index-C8CUkTm5.js +0 -4
- package/dist/Index-CBAGTH43.js +0 -4
- package/dist/Index-D3WQg1HZ.js +0 -4
- package/dist/Index-KxibedJH.js +0 -4
- package/dist/Int-Ae-gJbt5.js +0 -44
- package/dist/Int-BqZ6sIcn.js +0 -46
- package/dist/List-D8C_gyVz.js +0 -79
- package/dist/Maintaince-DdS89Bbv.js +0 -20
- package/dist/Month-BECDFWum.js +0 -44
- package/dist/Month-CnScc0mu.js +0 -43
- package/dist/Paging-CdUnYWJ1.js +0 -99
- package/dist/QueryApi-CwNeSXIs.js +0 -20
- package/dist/RichText-D-AaPwkx.js +0 -47
- package/dist/Select-DuHwIGlP.js +0 -86
- package/dist/Select-RG1Hkpw4.js +0 -117
- package/dist/Text-DXGGbFhr.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-CeWH48Pu.js +0 -59
- package/dist/TextLink-DYisoDVn.js +0 -65
- package/dist/Time-DxojKVPC.js +0 -43
- package/dist/Timeline-hBk2KUsH.js +0 -59
- package/dist/Tree-Dsrpy8UN.js +0 -122
- package/dist/TreeNode-BAZbs0jL.js +0 -42
- package/dist/Upload-Dt2pNqjv.js +0 -72
- package/dist/Upload-fnKNelcS.js +0 -150
- package/dist/UploadApi-D_HwEoQY.js +0 -20
- package/dist/Year-BUO5CKKv.js +0 -47
- package/dist/assets/clone-BZn0cTAu.js +0 -134
- package/dist/assets/file-saver-CwlpTZSc.js +0 -74
- package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/underscore-B0BCaBxV.js +0 -1070
- package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
- package/dist/assets/util-deprecate-Dzun97re.js +0 -28
- package/dist/main--j4fHmql.js +0 -9084
@@ -1,65 +0,0 @@
|
|
1
|
-
import { defineComponent as g, toRefs as E, ref as $, computed as s, resolveComponent as w, unref as r, openBlock as i, createElementBlock as p, renderSlot as u, createBlock as x, withCtx as y } from "vue";
|
2
|
-
import "./assets/underscore-B0BCaBxV.js";
|
3
|
-
import "./assets/underscore.string-DVXD2SZo.js";
|
4
|
-
import { U as f, c as B } from "./main--j4fHmql.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/clone-BZn0cTAu.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const C = { key: 0 }, R = ["href", "target"], D = /* @__PURE__ */ g({
|
10
|
-
__name: "TextLink",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {}
|
17
|
-
},
|
18
|
-
emits: ["submit", "change", "update:modelValue"],
|
19
|
-
setup(d, { emit: H }) {
|
20
|
-
let h = d, { table: L, field: t, set: O, row: c } = E(h), k = $(), a = s(() => {
|
21
|
-
let e = t.value.link.href;
|
22
|
-
return t.value.link.values.forEach((o) => {
|
23
|
-
e = e.replace(`{${o}}`, c.value[o]);
|
24
|
-
}), e;
|
25
|
-
}), _ = s(() => f.httpOrHttps(a.value)), v = s(() => {
|
26
|
-
let e = a.value;
|
27
|
-
if (t.value.link.tables.length > 0) {
|
28
|
-
let l = {};
|
29
|
-
t.value.link.tables.forEach((n) => {
|
30
|
-
l[n.name] = {}, n.search.forEach((m) => {
|
31
|
-
l[n.name][m.name] = c.value[m.value];
|
32
|
-
});
|
33
|
-
});
|
34
|
-
let b = B.encode(l);
|
35
|
-
e += "&condition=" + b;
|
36
|
-
}
|
37
|
-
return f.getToRoute(e);
|
38
|
-
});
|
39
|
-
return (e, o) => {
|
40
|
-
const l = w("router-link");
|
41
|
-
return r(k) ? (i(), p("div", C, [
|
42
|
-
u(e.$slots, "default")
|
43
|
-
])) : r(_) ? (i(), p("a", {
|
44
|
-
key: 1,
|
45
|
-
class: "text-link",
|
46
|
-
href: r(a),
|
47
|
-
target: r(t).link.target
|
48
|
-
}, [
|
49
|
-
u(e.$slots, "default")
|
50
|
-
], 8, R)) : (i(), x(l, {
|
51
|
-
key: 2,
|
52
|
-
class: "text-link",
|
53
|
-
to: r(v)
|
54
|
-
}, {
|
55
|
-
default: y(() => [
|
56
|
-
u(e.$slots, "default")
|
57
|
-
]),
|
58
|
-
_: 3
|
59
|
-
}, 8, ["to"]));
|
60
|
-
};
|
61
|
-
}
|
62
|
-
});
|
63
|
-
export {
|
64
|
-
D as default
|
65
|
-
};
|
package/dist/Time-DxojKVPC.js
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as g } 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 } from "./main--j4fHmql.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const j = /* @__PURE__ */ c({
|
10
|
-
__name: "Time",
|
11
|
-
props: {
|
12
|
-
schema: {},
|
13
|
-
table: {},
|
14
|
-
field: {},
|
15
|
-
set: {},
|
16
|
-
row: {},
|
17
|
-
modelValue: {}
|
18
|
-
},
|
19
|
-
emits: ["submit", "change", "update:modelValue"],
|
20
|
-
setup(p, { emit: d }) {
|
21
|
-
let o = d, i = p, { table: n, field: m, set: x, modelValue: s } = f(i), t = _({
|
22
|
-
get() {
|
23
|
-
return s.value;
|
24
|
-
},
|
25
|
-
set(l) {
|
26
|
-
o("update:modelValue", l), o("change", l);
|
27
|
-
}
|
28
|
-
});
|
29
|
-
return (l, a) => {
|
30
|
-
const u = V("el-time-select");
|
31
|
-
return h(), b(u, {
|
32
|
-
type: "time",
|
33
|
-
placeholder: e(k)(e(n).name, e(m).name),
|
34
|
-
disabled: e(m).control.readonly,
|
35
|
-
modelValue: e(t),
|
36
|
-
"onUpdate:modelValue": a[0] || (a[0] = (r) => g(t) ? t.value = r : t = r)
|
37
|
-
}, null, 8, ["placeholder", "disabled", "modelValue"]);
|
38
|
-
};
|
39
|
-
}
|
40
|
-
});
|
41
|
-
export {
|
42
|
-
j as default
|
43
|
-
};
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import { defineComponent as h, toRefs as y, resolveComponent as l, openBlock as t, createBlock as n, unref as e, withCtx as o, createElementVNode as a, createElementBlock as c, Fragment as k, renderList as x, createCommentVNode as v } 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 { _ as H, I as g } from "./main--j4fHmql.js";
|
7
|
-
import "./assets/moment-h96o7c8I.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const C = { class: "timeline-layout" }, B = ["innerHTML"], L = {
|
10
|
-
key: 0,
|
11
|
-
class: "timeline-detail"
|
12
|
-
}, w = /* @__PURE__ */ h({
|
13
|
-
__name: "Timeline",
|
14
|
-
props: {
|
15
|
-
searchData: {},
|
16
|
-
route: {},
|
17
|
-
module: {},
|
18
|
-
schema: {},
|
19
|
-
table: {},
|
20
|
-
layout: {},
|
21
|
-
next: {},
|
22
|
-
set: {}
|
23
|
-
},
|
24
|
-
setup(_) {
|
25
|
-
let p = _, { module: T, schema: b, table: m, layout: i, next: E, set: r } = y(p);
|
26
|
-
return (M, N) => {
|
27
|
-
const u = l("el-timeline-item"), d = l("el-timeline"), f = l("el-empty");
|
28
|
-
return t(), n(e(H), { class: "timeline" }, {
|
29
|
-
default: o(() => [
|
30
|
-
a("div", C, [
|
31
|
-
e(r)[e(m).name].length > 0 ? (t(), n(d, {
|
32
|
-
key: 0,
|
33
|
-
reverse: !1
|
34
|
-
}, {
|
35
|
-
default: o(() => [
|
36
|
-
(t(!0), c(k, null, x(e(r)[e(m).name], (s) => (t(), n(u, {
|
37
|
-
timestamp: s[e(i).time]
|
38
|
-
}, {
|
39
|
-
default: o(() => [
|
40
|
-
a("div", {
|
41
|
-
innerHTML: e(g).getHtml(s[e(i).text])
|
42
|
-
}, null, 8, B)
|
43
|
-
]),
|
44
|
-
_: 2
|
45
|
-
}, 1032, ["timestamp"]))), 256))
|
46
|
-
]),
|
47
|
-
_: 1
|
48
|
-
})) : (t(), n(f, { key: 1 }))
|
49
|
-
]),
|
50
|
-
e(m).length > 0 ? (t(), c("div", L, " 时间线节点详情 ")) : v("", !0)
|
51
|
-
]),
|
52
|
-
_: 1
|
53
|
-
});
|
54
|
-
};
|
55
|
-
}
|
56
|
-
});
|
57
|
-
export {
|
58
|
-
w as default
|
59
|
-
};
|
package/dist/Tree-Dsrpy8UN.js
DELETED
@@ -1,122 +0,0 @@
|
|
1
|
-
import { defineComponent as Q, toRefs as U, ref as m, onMounted as X, watch as Y, nextTick as V, resolveComponent as N, openBlock as k, createElementBlock as w, unref as d, Fragment as K, renderList as L, createBlock as B, withCtx as b, createVNode as Z, createElementVNode as ee, toDisplayString as H, createCommentVNode as M } from "vue";
|
2
|
-
import { E as le, A as _, T as A, s as D } from "./main--j4fHmql.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 "./assets/liquidjs-C-LVcoaY.js";
|
8
|
-
const te = { class: "option-text" }, ae = {
|
9
|
-
key: 0,
|
10
|
-
class: "option-suffix"
|
11
|
-
}, he = /* @__PURE__ */ Q({
|
12
|
-
__name: "Tree",
|
13
|
-
props: {
|
14
|
-
route: {},
|
15
|
-
validateErrors: {},
|
16
|
-
module: {},
|
17
|
-
schema: {},
|
18
|
-
table: {},
|
19
|
-
layout: {},
|
20
|
-
next: {},
|
21
|
-
set: {}
|
22
|
-
},
|
23
|
-
setup(F, { expose: P }) {
|
24
|
-
let S = F, { module: $, schema: re, table: u, layout: l, set: p } = U(S), E = m(), T = m([]), x = m(), y = m(0), g = m([]), R = m(!0), z = (e, r, o) => {
|
25
|
-
let a = p.value[u.value.name].find((n) => n.PermissionId == e[l.value.id]);
|
26
|
-
a && (a[l.value.expand] = !0);
|
27
|
-
}, W = (e, r, o) => {
|
28
|
-
let a = p.value[u.value.name].find((n) => n.PermissionId == e[l.value.id]);
|
29
|
-
a && (a[l.value.expand] = !1);
|
30
|
-
}, j = (e, r, o) => {
|
31
|
-
let a = r.checkedKeys, n = e[l.value.id], i = _.contains(a, n), c = [], s = [], h = A.getChildren(e, "Children").map((t) => t[l.value.id]), f = p.value[u.value.name].map((t) => t[l.value.checked]), v = _.intersect(h, f);
|
32
|
-
if (i) {
|
33
|
-
c.push(e[l.value.id]);
|
34
|
-
let t = _.except(h, v);
|
35
|
-
t.length && (a.push(...t), c.push(...t));
|
36
|
-
} else
|
37
|
-
s.push(n), v.length == h.length && (s.push(...h), _.remove(a, h));
|
38
|
-
c.length && q(c), s.length && G(s);
|
39
|
-
}, q = (e) => {
|
40
|
-
for (let r = 0; r < e.length; r++) {
|
41
|
-
let o = D.getDefaultRow(u.value);
|
42
|
-
o[l.value.checked] = e[r], p.value[u.value.name].push(o);
|
43
|
-
}
|
44
|
-
}, G = (e) => {
|
45
|
-
let r = p.value[u.value.name];
|
46
|
-
for (let o = 0; o < e.length; o++) {
|
47
|
-
let a = r.find((n) => n[l.value.checked] == e[o]);
|
48
|
-
_.remove(r, a);
|
49
|
-
}
|
50
|
-
}, J = (e) => {
|
51
|
-
x.value = e.contentRect.width, y.value = Math.ceil(x.value / 300), I(u.value, l.value, p.value);
|
52
|
-
}, I = (e, r, o) => {
|
53
|
-
g.value = D.getLines(r.data, y.value, (a) => [a], () => 1), V(() => {
|
54
|
-
let a = o[e.name].map((i) => i[r.checked]), n = 0;
|
55
|
-
for (let i = 0; i < g.value.length; i++) {
|
56
|
-
let c = g.value[i];
|
57
|
-
for (let s = 0; s < c.length; s++) {
|
58
|
-
let C = T.value[n], h = c[s].data, f = A.getFlat(h, "Children").map((t) => t[r.id]), v = _.intersect(f, a);
|
59
|
-
if (!(v.length == 1 && f.length > 1)) for (let t = 0; t < v.length; t++) {
|
60
|
-
let O = v[t];
|
61
|
-
C.setChecked(O, !0, !1);
|
62
|
-
}
|
63
|
-
n++;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
});
|
67
|
-
};
|
68
|
-
return X(() => {
|
69
|
-
x.value = le.getWidth(E.value), y.value = Math.ceil(x.value / 300), I(u.value, l.value, p.value);
|
70
|
-
}), Y(() => u.value, (e, r) => {
|
71
|
-
R.value = !1, V(() => {
|
72
|
-
R.value = !0, I(e, l.value, p.value);
|
73
|
-
});
|
74
|
-
}), P({ resize: J }), (e, r) => {
|
75
|
-
const o = N("el-tree"), a = N("el-col"), n = N("el-row");
|
76
|
-
return k(), w("div", {
|
77
|
-
ref_key: "layoutRef",
|
78
|
-
ref: E,
|
79
|
-
class: "ha-tree-layout"
|
80
|
-
}, [
|
81
|
-
d(R) ? (k(!0), w(K, { key: 0 }, L(d(g), (i, c) => (k(), B(n, null, {
|
82
|
-
default: b(() => [
|
83
|
-
(k(!0), w(K, null, L(i, ({ data: s, span: C, index: h }, f) => (k(), B(a, {
|
84
|
-
span: C,
|
85
|
-
key: `${c}.${f}`
|
86
|
-
}, {
|
87
|
-
default: b(() => [
|
88
|
-
Z(o, {
|
89
|
-
ref_for: !0,
|
90
|
-
ref_key: "treeRefs",
|
91
|
-
ref: T,
|
92
|
-
"show-checkbox": "",
|
93
|
-
"highlight-current": "",
|
94
|
-
"default-expand-all": !1,
|
95
|
-
"expand-on-click-node": !1,
|
96
|
-
"node-key": d(l).id,
|
97
|
-
data: s,
|
98
|
-
props: { children: "Children", label: d(l).text },
|
99
|
-
disabled: d($).type == "Detail",
|
100
|
-
onNodeExpand: d(z),
|
101
|
-
onNodeCollapse: d(W),
|
102
|
-
onCheck: (v, t) => d(j)(v, t, h)
|
103
|
-
}, {
|
104
|
-
default: b(({ node: v, data: t }) => [
|
105
|
-
ee("div", te, H(t[d(l).text]), 1),
|
106
|
-
d(l).suffix ? (k(), w("div", ae, H(t[d(l).suffix]), 1)) : M("", !0)
|
107
|
-
]),
|
108
|
-
_: 2
|
109
|
-
}, 1032, ["node-key", "data", "props", "disabled", "onNodeExpand", "onNodeCollapse", "onCheck"])
|
110
|
-
]),
|
111
|
-
_: 2
|
112
|
-
}, 1032, ["span"]))), 128))
|
113
|
-
]),
|
114
|
-
_: 2
|
115
|
-
}, 1024))), 256)) : M("", !0)
|
116
|
-
], 512);
|
117
|
-
};
|
118
|
-
}
|
119
|
-
});
|
120
|
-
export {
|
121
|
-
he as default
|
122
|
-
};
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import { defineComponent as x, toRefs as h, computed as C, openBlock as a, createElementBlock as s, unref as e, createElementVNode as N, toDisplayString as i, createTextVNode as b, createCommentVNode as d } from "vue";
|
2
|
-
import "./assets/underscore-B0BCaBxV.js";
|
3
|
-
import { t as g, S as y } from "./main--j4fHmql.js";
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
-
const k = ["title"], v = { class: "number" }, S = {
|
9
|
-
key: 0,
|
10
|
-
class: "option-suffix"
|
11
|
-
}, V = {
|
12
|
-
key: 1,
|
13
|
-
class: "count"
|
14
|
-
}, H = /* @__PURE__ */ x({
|
15
|
-
__name: "TreeNode",
|
16
|
-
props: {
|
17
|
-
table: {},
|
18
|
-
layout: {},
|
19
|
-
row: {},
|
20
|
-
node: {}
|
21
|
-
},
|
22
|
-
setup(p) {
|
23
|
-
let u = p, { table: c, layout: r, row: t, node: m } = h(u), f = (o, l) => {
|
24
|
-
let n = (o.parent.data.Children ? o.parent.data.Children.indexOf(l) : o.parent.data.indexOf(l)) + 1;
|
25
|
-
return y.padLeft(n, 2, "0");
|
26
|
-
}, _ = C(() => c.value.fields.find((n) => n.name == r.value.text).control.i18N);
|
27
|
-
return (o, l) => {
|
28
|
-
var n;
|
29
|
-
return a(), s("div", {
|
30
|
-
title: e(t)[e(r).title]
|
31
|
-
}, [
|
32
|
-
N("span", v, i(e(f)(e(m), e(t))), 1),
|
33
|
-
b(" " + i((n = e(_)) != null && n.value ? e(g)(e(t)[e(r).text]) : e(t)[e(r).text]) + " ", 1),
|
34
|
-
e(r).suffix ? (a(), s("span", S, i(e(t)[e(r).suffix]), 1)) : d("", !0),
|
35
|
-
e(t).Children && e(t).Children.length > 0 ? (a(), s("span", V, "(" + i(e(t).Children.length) + ")", 1)) : d("", !0)
|
36
|
-
], 8, k);
|
37
|
-
};
|
38
|
-
}
|
39
|
-
});
|
40
|
-
export {
|
41
|
-
H as default
|
42
|
-
};
|
package/dist/Upload-Dt2pNqjv.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--j4fHmql.js";
|
5
|
-
import "./assets/clone-BZn0cTAu.js";
|
6
|
-
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
-
import "./QueryApi-CwNeSXIs.js";
|
9
|
-
import { U as S } from "./UploadApi-D_HwEoQY.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-fnKNelcS.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--j4fHmql.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-CwNeSXIs.js";
|
8
|
-
import { U as pe } from "./UploadApi-D_HwEoQY.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--j4fHmql.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-BUO5CKKv.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--j4fHmql.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
|
-
};
|