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
@@ -0,0 +1,70 @@
|
|
1
|
+
import { defineComponent as N, toRefs as w, ref as p, computed as A, resolveComponent as g, openBlock as s, createElementBlock as f, createVNode as v, unref as t, isRef as _, withCtx as m, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } from "vue";
|
2
|
+
import { e as D } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__PURE__ */ N({
|
4
|
+
__name: "Checkbox",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["change", "update:modelValue"],
|
14
|
+
setup(x, { emit: b }) {
|
15
|
+
let i = b, C = x, { field: r, table: T, set: j, modelValue: h } = w(C), u = p(!1), c = p(!1), y = (n) => {
|
16
|
+
o.value = n ? r.value.control.data.data.map((e) => e.value) : [], c.value = !1;
|
17
|
+
}, B = (n) => {
|
18
|
+
let e = r.value.control.data.data.map((d) => d.value), a = n.filter((d) => e.includes(d));
|
19
|
+
u.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
|
20
|
+
}, o = A({
|
21
|
+
get() {
|
22
|
+
return h.value ? h.value.split(",") : [];
|
23
|
+
},
|
24
|
+
set(n) {
|
25
|
+
let e = n.toString();
|
26
|
+
i("update:modelValue", e), i("change", e);
|
27
|
+
}
|
28
|
+
});
|
29
|
+
return (n, e) => {
|
30
|
+
const a = g("el-checkbox"), d = g("el-checkbox-group");
|
31
|
+
return s(), f("div", F, [
|
32
|
+
v(d, {
|
33
|
+
onChange: t(B),
|
34
|
+
modelValue: t(o),
|
35
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
|
36
|
+
}, {
|
37
|
+
default: m(() => [
|
38
|
+
(s(!0), f(E, null, R(t(r).control.data.data, (l) => (s(), S(a, {
|
39
|
+
disabled: t(r).control.readonly,
|
40
|
+
value: l.value,
|
41
|
+
key: l.value
|
42
|
+
}, {
|
43
|
+
default: m(() => [
|
44
|
+
V(k(l.text), 1)
|
45
|
+
]),
|
46
|
+
_: 2
|
47
|
+
}, 1032, ["disabled", "value"]))), 128))
|
48
|
+
]),
|
49
|
+
_: 1
|
50
|
+
}, 8, ["onChange", "modelValue"]),
|
51
|
+
U("div", L, [
|
52
|
+
v(a, {
|
53
|
+
indeterminate: t(c),
|
54
|
+
onChange: t(y),
|
55
|
+
modelValue: t(u),
|
56
|
+
"onUpdate:modelValue": e[1] || (e[1] = (l) => _(u) ? u.value = l : u = l)
|
57
|
+
}, {
|
58
|
+
default: m(() => [
|
59
|
+
V(k(t(D)("common.select_all")), 1)
|
60
|
+
]),
|
61
|
+
_: 1
|
62
|
+
}, 8, ["indeterminate", "onChange", "modelValue"])
|
63
|
+
])
|
64
|
+
]);
|
65
|
+
};
|
66
|
+
}
|
67
|
+
});
|
68
|
+
export {
|
69
|
+
G as default
|
70
|
+
};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as n, normalizeStyle as x, isRef as _ } from "vue";
|
2
|
+
import { _ as F } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const C = /* @__PURE__ */ v({
|
4
|
+
__name: "Code",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
setup(f) {
|
14
|
+
let g = f, { table: s, field: t, set: b, row: d, modelValue: a } = h(g), o = i(), r = i({ language: null, readonly: !0, lineNumbers: "off" }), m = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", c = (e) => e ? s.value.fields.find((u) => u.name == e) : null, p = (e) => {
|
15
|
+
let l = c(e);
|
16
|
+
return l ? d.value[l.name] : null;
|
17
|
+
};
|
18
|
+
return (() => {
|
19
|
+
if (o.value = m(), t.value.control.languageField == null)
|
20
|
+
r.value.language = t.value.control.language;
|
21
|
+
else {
|
22
|
+
let e = p(t.value.control.languageField);
|
23
|
+
e && (r.value.language = e);
|
24
|
+
}
|
25
|
+
})(), (e, l) => (V(), y(n(F), {
|
26
|
+
class: "text-code",
|
27
|
+
config: n(r),
|
28
|
+
style: x(n(o)),
|
29
|
+
modelValue: n(a),
|
30
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => _(a) ? a.value = u : a = u)
|
31
|
+
}, null, 8, ["config", "style", "modelValue"]));
|
32
|
+
}
|
33
|
+
});
|
34
|
+
export {
|
35
|
+
C as default
|
36
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, toRefs as u, openBlock as p, createBlock as _, unref as e } from "vue";
|
2
|
-
import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-
|
2
|
+
import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-DmeXbg91.js";
|
3
3
|
const b = /* @__PURE__ */ r({
|
4
4
|
__name: "Code",
|
5
5
|
props: {
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as w, createBlock as N, unref as n, isRef as k } from "vue";
|
2
|
+
import { _ as x } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const R = /* @__PURE__ */ b({
|
4
|
+
__name: "Code",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(d, { emit: g }) {
|
15
|
+
let c = g, f = d, { table: s, field: a, set: y, row: i, modelValue: p } = h(f), o = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
|
16
|
+
let l = m(a.value.control.scrollTop);
|
17
|
+
l && (i.value[l.name] = e);
|
18
|
+
}, V = () => {
|
19
|
+
let e = r(a.value.control.scrollTop);
|
20
|
+
if (e && (o.value.scrollTop = parseInt(e)), o.value.lineNumbers = a.value.control.lineNumbers, a.value.control.languageField == null)
|
21
|
+
o.value.language = a.value.control.language;
|
22
|
+
else {
|
23
|
+
let l = r(a.value.control.languageField);
|
24
|
+
l && (o.value.language = l);
|
25
|
+
}
|
26
|
+
a.value.control.schema && (o.value.schema = a.value.control.schema, o.value.category = `${s.value.name}.${a.value.name}`);
|
27
|
+
}, r = (e) => {
|
28
|
+
let l = m(e);
|
29
|
+
return l ? i.value[l.name] : null;
|
30
|
+
}, m = (e) => e ? s.value.fields.find((u) => u.name == e) : null;
|
31
|
+
V();
|
32
|
+
let t = T({
|
33
|
+
get() {
|
34
|
+
return p.value ?? "";
|
35
|
+
},
|
36
|
+
set(e) {
|
37
|
+
c("update:modelValue", e), c("change", e);
|
38
|
+
}
|
39
|
+
});
|
40
|
+
return _(() => r(a.value.control.languageField), (e, l) => {
|
41
|
+
o.value.language = e;
|
42
|
+
}), (e, l) => (w(), N(n(x), {
|
43
|
+
class: "control-code",
|
44
|
+
border: "",
|
45
|
+
config: n(o),
|
46
|
+
onScroll: n(v),
|
47
|
+
modelValue: n(t),
|
48
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => k(t) ? t.value = u : t = u)
|
49
|
+
}, null, 8, ["config", "onScroll", "modelValue"]));
|
50
|
+
}
|
51
|
+
});
|
52
|
+
export {
|
53
|
+
R as default
|
54
|
+
};
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { defineComponent as C, toRefs as h, ref as s, onMounted as b, resolveComponent as m, openBlock as n, createElementBlock as u, createVNode as i, unref as e, isRef as k, withCtx as p, Fragment as c, renderList as B, createBlock as E, createTextVNode as _, toDisplayString as f, createCommentVNode as L } from "vue";
|
2
|
+
import { _ as N } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { Q } from "./QueryApi-VwISnk96.js";
|
4
|
+
const R = { class: "ha-code-layout" }, q = /* @__PURE__ */ C({
|
5
|
+
__name: "Code",
|
6
|
+
props: {
|
7
|
+
route: {},
|
8
|
+
validateErrors: {},
|
9
|
+
module: {},
|
10
|
+
schema: {},
|
11
|
+
table: {},
|
12
|
+
layout: {},
|
13
|
+
next: {},
|
14
|
+
set: {}
|
15
|
+
},
|
16
|
+
emits: ["submit", "change"],
|
17
|
+
setup(g, { emit: U }) {
|
18
|
+
let V = g, { module: w, schema: A, table: D, layout: l, next: F, set: M } = h(V), r = s({}), t = s(), v = () => {
|
19
|
+
t.value = l.value.languages[0];
|
20
|
+
};
|
21
|
+
return b(() => {
|
22
|
+
v(), Q.loadCodeLanguage().then((d) => {
|
23
|
+
d.forEach((a) => {
|
24
|
+
r.value[a.text] = a.suffix;
|
25
|
+
});
|
26
|
+
});
|
27
|
+
}), (d, a) => {
|
28
|
+
const x = m("el-radio"), y = m("el-radio-group");
|
29
|
+
return n(), u("div", R, [
|
30
|
+
i(y, {
|
31
|
+
modelValue: e(t),
|
32
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => k(t) ? t.value = o : t = o)
|
33
|
+
}, {
|
34
|
+
default: p(() => [
|
35
|
+
(n(!0), u(c, null, B(e(l).languages, (o) => (n(), E(x, { value: o }, {
|
36
|
+
default: p(() => [
|
37
|
+
_(f(o) + " ", 1),
|
38
|
+
e(r)[o] ? (n(), u(c, { key: 0 }, [
|
39
|
+
_("(" + f(e(r)[o]) + ")", 1)
|
40
|
+
], 64)) : L("", !0)
|
41
|
+
]),
|
42
|
+
_: 2
|
43
|
+
}, 1032, ["value"]))), 256))
|
44
|
+
]),
|
45
|
+
_: 1
|
46
|
+
}, 8, ["modelValue"]),
|
47
|
+
i(e(N), {
|
48
|
+
border: "",
|
49
|
+
config: { language: e(r)[e(t)] },
|
50
|
+
modelValue: e(l).codes[e(t)],
|
51
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => e(l).codes[e(t)] = o)
|
52
|
+
}, null, 8, ["config", "modelValue"])
|
53
|
+
]);
|
54
|
+
};
|
55
|
+
}
|
56
|
+
});
|
57
|
+
export {
|
58
|
+
q as _
|
59
|
+
};
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { defineComponent as F, toRefs as M, onMounted as b, computed as f, openBlock as l, createBlock as h, unref as e, withCtx as k, createElementBlock as o, Fragment as D, renderList as E, normalizeClass as H, createCommentVNode as i, createElementVNode as a, toDisplayString as u, resolveDynamicComponent as L, createVNode as S, createTextVNode as s } from "vue";
|
2
|
+
import { F as z, K as C, a3 as K } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { H as P } from "./main-DB_sVyZe.js";
|
4
|
+
import "element-plus";
|
5
|
+
import "vue-router";
|
6
|
+
import "./assets/intro.js-DxWjEdp_.js";
|
7
|
+
const R = {
|
8
|
+
key: 0,
|
9
|
+
class: "menus"
|
10
|
+
}, T = ["onClick"], $ = { class: "title" }, j = {
|
11
|
+
key: 1,
|
12
|
+
class: "column-empty"
|
13
|
+
}, q = /* @__PURE__ */ a("br", null, null, -1), A = /* @__PURE__ */ a("br", null, null, -1), Y = /* @__PURE__ */ F({
|
14
|
+
__name: "Column",
|
15
|
+
props: {
|
16
|
+
view: {},
|
17
|
+
url: {},
|
18
|
+
win: {}
|
19
|
+
},
|
20
|
+
emits: ["loaded", "navigate"],
|
21
|
+
setup(y, { expose: g, emit: x }) {
|
22
|
+
let c = x, w = y, { url: m, view: d } = M(w), B = (t) => !0, N = (t) => !0, U = () => {
|
23
|
+
p();
|
24
|
+
}, p = () => {
|
25
|
+
c("loaded", r.value.title);
|
26
|
+
}, V = (t) => {
|
27
|
+
let v = C.getUrl(t.url, { m: t.id });
|
28
|
+
c("navigate", v);
|
29
|
+
};
|
30
|
+
b(() => {
|
31
|
+
p();
|
32
|
+
});
|
33
|
+
let r = f(() => z.getMenuByUrl(m.value)), _ = f(() => C.getPath(m.value));
|
34
|
+
return g({ shouldLoad: B, shouldSpin: N, refresh: U }), (t, v) => (l(), h(e(K), null, {
|
35
|
+
default: k(() => [
|
36
|
+
e(r) ? (l(), o("div", R, [
|
37
|
+
(l(!0), o(D, null, E(e(r).children, (n) => (l(), o("div", {
|
38
|
+
class: "menu",
|
39
|
+
key: n.id,
|
40
|
+
onClick: (G) => e(V)(n)
|
41
|
+
}, [
|
42
|
+
n.icon ? (l(), o("i", {
|
43
|
+
key: 0,
|
44
|
+
class: H(n.icon)
|
45
|
+
}, null, 2)) : i("", !0),
|
46
|
+
a("div", $, u(n.title), 1)
|
47
|
+
], 8, T))), 128))
|
48
|
+
])) : i("", !0),
|
49
|
+
(l(), h(L(e(d)))),
|
50
|
+
(!e(r) || e(r).children == 0) && !e(d) ? (l(), o("div", j, [
|
51
|
+
S(e(P), null, {
|
52
|
+
default: k(() => [
|
53
|
+
s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
|
54
|
+
]),
|
55
|
+
_: 1
|
56
|
+
}),
|
57
|
+
s(" 可考虑以下任一选项:"),
|
58
|
+
q,
|
59
|
+
s(" 1. 在 src/views 中实现自定义页面:" + u(e(_)), 1),
|
60
|
+
A,
|
61
|
+
s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + u(e(_)), 1)
|
62
|
+
])) : i("", !0)
|
63
|
+
]),
|
64
|
+
_: 1
|
65
|
+
}));
|
66
|
+
}
|
67
|
+
});
|
68
|
+
export {
|
69
|
+
Y as default
|
70
|
+
};
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import { defineComponent as E, toRefs as N, ref as S, computed as y, resolveComponent as u, openBlock as m, createElementBlock as p, createElementVNode as t, createVNode as v, createTextVNode as a, toDisplayString as l, unref as e, withCtx as b, Fragment as j, renderList as B, createBlock as T, createCommentVNode as q } from "vue";
|
2
|
+
import { K as D } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const F = { class: "ha-comment-layout" }, K = { class: "comment-add" }, L = { class: "add-footer" }, M = { class: "footer-title" }, R = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), U = { class: "comment-user" }, $ = { class: "avatar" }, A = /* @__PURE__ */ t("img", {
|
4
|
+
src: "https://upload.jianshu.io/users/upload_avatars/2859365/cce8943353eb.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/80/h/80/format/webp",
|
5
|
+
alt: ""
|
6
|
+
}, null, -1), G = { class: "comment-body" }, H = { class: "comment-time" }, J = { class: "comment-content" }, O = /* @__PURE__ */ t("div", { class: "content-footer" }, [
|
7
|
+
/* @__PURE__ */ t("span", null, [
|
8
|
+
/* @__PURE__ */ t("i", { class: "fa fa-thumbs-up" }),
|
9
|
+
/* @__PURE__ */ a("20")
|
10
|
+
]),
|
11
|
+
/* @__PURE__ */ t("span", null, [
|
12
|
+
/* @__PURE__ */ t("i", { class: "el-icon-s-comment" }),
|
13
|
+
/* @__PURE__ */ a("回复")
|
14
|
+
])
|
15
|
+
], -1), P = { class: "comment-footer" }, Z = /* @__PURE__ */ E({
|
16
|
+
__name: "Comment",
|
17
|
+
props: {
|
18
|
+
route: {},
|
19
|
+
validateErrors: {},
|
20
|
+
module: {},
|
21
|
+
schema: {},
|
22
|
+
table: {},
|
23
|
+
layout: {},
|
24
|
+
next: {},
|
25
|
+
set: {}
|
26
|
+
},
|
27
|
+
setup(C) {
|
28
|
+
let x = C, { schema: Q, table: r, layout: o, set: _, validateErrors: W } = N(x), c = S(1), k = (n) => {
|
29
|
+
c.value = n;
|
30
|
+
}, w = y(() => {
|
31
|
+
let n = (c.value - 1) * o.value.pageSize, i = c.value * o.value.pageSize - 1;
|
32
|
+
return _.value[r.value.name].filter((f, d) => d >= n && d <= i);
|
33
|
+
}), h = y(() => r.value.fields.find((i) => i.name == o.value.userId));
|
34
|
+
return (n, i) => {
|
35
|
+
const g = u("el-input"), f = u("el-button"), d = u("router-link"), I = u("el-pagination");
|
36
|
+
return m(), p("div", F, [
|
37
|
+
t("div", K, [
|
38
|
+
v(g, { type: "textarea" }),
|
39
|
+
t("div", L, [
|
40
|
+
t("div", M, [
|
41
|
+
R,
|
42
|
+
a("全部评论 (" + l(e(_)[e(r).name].length) + ")", 1)
|
43
|
+
]),
|
44
|
+
v(f, {
|
45
|
+
type: "primary",
|
46
|
+
class: "btn-comment",
|
47
|
+
icon: "el-icon-s-promotion"
|
48
|
+
}, {
|
49
|
+
default: b(() => [
|
50
|
+
a("评论")
|
51
|
+
]),
|
52
|
+
_: 1
|
53
|
+
})
|
54
|
+
])
|
55
|
+
]),
|
56
|
+
(m(!0), p(j, null, B(e(w), (s, z) => (m(), p("div", {
|
57
|
+
class: "comment",
|
58
|
+
key: z
|
59
|
+
}, [
|
60
|
+
t("div", U, [
|
61
|
+
t("div", $, [
|
62
|
+
A,
|
63
|
+
a(" " + l(s[e(o).avatar]), 1)
|
64
|
+
])
|
65
|
+
]),
|
66
|
+
t("div", G, [
|
67
|
+
e(h) ? (m(), T(d, {
|
68
|
+
key: 0,
|
69
|
+
class: "comment-name",
|
70
|
+
to: e(D).getUrl("/sys_user/detail", { id: s[e(o).userId], m: n.$route.query.m })
|
71
|
+
}, {
|
72
|
+
default: b(() => [
|
73
|
+
a(l(e(h).control.data.data.find((V) => V.value == s[e(o).userId]).text), 1)
|
74
|
+
]),
|
75
|
+
_: 2
|
76
|
+
}, 1032, ["to"])) : q("", !0),
|
77
|
+
t("div", H, l(s[e(o).commentTime]), 1),
|
78
|
+
t("div", J, l(s[e(o).content]), 1),
|
79
|
+
O
|
80
|
+
])
|
81
|
+
]))), 128)),
|
82
|
+
t("div", P, [
|
83
|
+
v(I, {
|
84
|
+
background: "",
|
85
|
+
layout: "total, prev, pager, next, jumper",
|
86
|
+
"current-page": e(c),
|
87
|
+
"page-size": e(o).pageSize,
|
88
|
+
total: e(_)[e(r).name].length,
|
89
|
+
onCurrentChange: e(k)
|
90
|
+
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
91
|
+
])
|
92
|
+
]);
|
93
|
+
};
|
94
|
+
}
|
95
|
+
});
|
96
|
+
export {
|
97
|
+
Z as default
|
98
|
+
};
|
@@ -1,12 +1,6 @@
|
|
1
|
-
import { defineComponent as b, toRefs as k, ref as h, onMounted as w, computed as
|
2
|
-
import "./assets/
|
3
|
-
|
4
|
-
import "./assets/clone-BZn0cTAu.js";
|
5
|
-
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
-
import "./assets/moment-h96o7c8I.js";
|
7
|
-
import { n as L } from "./main--j4fHmql.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const I = /* @__PURE__ */ b({
|
1
|
+
import { defineComponent as b, toRefs as k, ref as h, onMounted as w, computed as B, watch as v, openBlock as S, createElementBlock as D, normalizeStyle as R, unref as W, nextTick as z } from "vue";
|
2
|
+
import { B as L } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const j = /* @__PURE__ */ b({
|
10
4
|
__name: "Compare",
|
11
5
|
props: {
|
12
6
|
schema: {},
|
@@ -18,15 +12,15 @@ const I = /* @__PURE__ */ b({
|
|
18
12
|
},
|
19
13
|
emits: ["submit", "change", "update:modelValue"],
|
20
14
|
setup(V, { emit: M }) {
|
21
|
-
let m = M, y = V, { table: E, field: i, set: O, row: u, modelValue: c } = k(y), r = null, f = null,
|
22
|
-
|
23
|
-
let
|
24
|
-
f = e.editor.createModel(c.value,
|
15
|
+
let m = M, y = V, { table: E, field: i, set: O, row: u, modelValue: c } = k(y), r = null, f = null, g = null, t = null, l = null, s = h(), p = h(), _ = (e) => {
|
16
|
+
p.value = C(), z(() => {
|
17
|
+
let a = u.value[d.value.name], o = i.value.control.language;
|
18
|
+
f = e.editor.createModel(c.value, o), g = e.editor.createModel(a, o), r = e.editor.createDiffEditor(s.value, {
|
25
19
|
originalEditable: !0,
|
26
20
|
automaticLayout: !0,
|
27
21
|
renderSideBySide: !i.value.control.inline
|
28
22
|
//是否启用行内模式
|
29
|
-
}), r.setModel({ original: f, modified:
|
23
|
+
}), r.setModel({ original: f, modified: g }), t = r.getOriginalEditor(), t.onDidChangeModelContent((x) => {
|
30
24
|
let n = t.getValue();
|
31
25
|
m("update:modelValue", n), m("change", n);
|
32
26
|
}), l = r.getModifiedEditor(), l.onDidChangeModelContent((x) => {
|
@@ -39,25 +33,25 @@ const I = /* @__PURE__ */ b({
|
|
39
33
|
let e = await L.getMonaco();
|
40
34
|
_(e);
|
41
35
|
});
|
42
|
-
let d =
|
43
|
-
return v(() => c.value, (e,
|
36
|
+
let d = B(() => E.value.fields.find((a) => a.name == i.value.control.compareWith));
|
37
|
+
return v(() => c.value, (e, a) => {
|
44
38
|
if (!t)
|
45
39
|
return;
|
46
|
-
let
|
47
|
-
e !=
|
48
|
-
}), v(() => u.value[d.value.name], (e,
|
40
|
+
let o = t.getValue();
|
41
|
+
e != o && t.setValue(e ?? "");
|
42
|
+
}), v(() => u.value[d.value.name], (e, a) => {
|
49
43
|
if (!l)
|
50
44
|
return;
|
51
|
-
let
|
52
|
-
e !=
|
53
|
-
}), (e,
|
45
|
+
let o = l.getValue();
|
46
|
+
e != o && l.setValue(e ?? "");
|
47
|
+
}), (e, a) => (S(), D("div", {
|
54
48
|
ref_key: "compareRef",
|
55
|
-
ref:
|
49
|
+
ref: s,
|
56
50
|
class: "control-compare",
|
57
|
-
style: R(W(
|
51
|
+
style: R(W(p))
|
58
52
|
}, null, 4));
|
59
53
|
}
|
60
54
|
});
|
61
55
|
export {
|
62
|
-
|
56
|
+
j as default
|
63
57
|
};
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { defineComponent as x, toRefs as E, onMounted as b, computed as s, unref as f, openBlock as k, createElementBlock as w, normalizeClass as y, createCommentVNode as B, nextTick as V } from "vue";
|
2
|
+
import { B as N } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const D = /* @__PURE__ */ x({
|
4
|
+
__name: "Compare",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
setup(p) {
|
14
|
+
let v = p, { table: l, field: t, set: g, row: a, modelValue: M } = E(v), o = l.value.name + "-" + t.value.name + "-" + g.value[l.value.name].indexOf(a.value), r = null, n = null, i = null, e = null, C = () => {
|
15
|
+
V(() => {
|
16
|
+
let d = l.value.fields.find((h) => h.name == t.value.control.compareWith), c = a.value[d.name];
|
17
|
+
n = e.editor.createModel(c, m.value), i = e.editor.createModel(u.value, m.value);
|
18
|
+
let _ = document.getElementsByClassName(o)[0];
|
19
|
+
debugger;
|
20
|
+
r = e.editor.createDiffEditor(_, { originalEditable: !0 }), r.setModel({
|
21
|
+
original: n,
|
22
|
+
modified: i
|
23
|
+
});
|
24
|
+
});
|
25
|
+
};
|
26
|
+
b(async () => {
|
27
|
+
e = await N.getMonaco(), C();
|
28
|
+
});
|
29
|
+
let u = s(() => M.value || ""), m = s(() => t.value.control.type.toLowerCase());
|
30
|
+
return (d, c) => f(u) ? (k(), w("div", {
|
31
|
+
key: 0,
|
32
|
+
class: y(`text-compare ${f(o)}`)
|
33
|
+
}, null, 2)) : B("", !0);
|
34
|
+
}
|
35
|
+
});
|
36
|
+
export {
|
37
|
+
D as default
|
38
|
+
};
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { defineComponent as y, toRefs as v, computed as _, unref as l, renderSlot as n, openBlock as g, createElementBlock as b, createElementVNode as c } from "vue";
|
2
|
+
import { v as a } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { C } from "./assets/clipboard-DjQPoCBJ.js";
|
4
|
+
const k = {
|
5
|
+
key: 1,
|
6
|
+
class: "copy-container"
|
7
|
+
}, J = /* @__PURE__ */ c("img", {
|
8
|
+
src: "/default/images/clippy.svg",
|
9
|
+
alt: "复制文本"
|
10
|
+
}, null, -1), h = [
|
11
|
+
J
|
12
|
+
], E = /* @__PURE__ */ y({
|
13
|
+
__name: "Copy",
|
14
|
+
props: {
|
15
|
+
schema: {},
|
16
|
+
table: {},
|
17
|
+
field: {},
|
18
|
+
set: {},
|
19
|
+
row: {},
|
20
|
+
modelValue: {}
|
21
|
+
},
|
22
|
+
setup(p) {
|
23
|
+
let u = p, { table: w, field: r, set: N, row: S, modelValue: i } = v(u), d = (e) => JSON.stringify(JSON.parse(e), null, 2), f = () => o.value && r.value.control.type == "Json" ? d(o.value).replace(/"/g, "'") : o.value, s = () => {
|
24
|
+
let e = new C(".btn-copy", { text: () => f() });
|
25
|
+
e.on("success", function(t) {
|
26
|
+
a.success("复制成功"), e.destroy();
|
27
|
+
}), e.on("error", function(t) {
|
28
|
+
a.error("复制失败"), e.destroy();
|
29
|
+
});
|
30
|
+
}, o = _(() => i.value);
|
31
|
+
return (e, t) => l(r).control.copy ? (g(), b("div", k, [
|
32
|
+
c("i", {
|
33
|
+
class: "btn-copy",
|
34
|
+
onClick: t[0] || (t[0] = //@ts-ignore
|
35
|
+
(...m) => l(s) && l(s)(...m))
|
36
|
+
}, h),
|
37
|
+
n(e.$slots, "default")
|
38
|
+
])) : n(e.$slots, "default", { key: 0 });
|
39
|
+
}
|
40
|
+
});
|
41
|
+
export {
|
42
|
+
E as default
|
43
|
+
};
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { defineComponent as x, toRefs as z, ref as L, openBlock as n, createBlock as i, KeepAlive as R, resolveDynamicComponent as B, unref as o } from "vue";
|
2
|
+
import { K, v as N, e as U } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const P = /* @__PURE__ */ x({
|
4
|
+
__name: "Custom",
|
5
|
+
props: {
|
6
|
+
view: {},
|
7
|
+
url: {},
|
8
|
+
win: {}
|
9
|
+
},
|
10
|
+
emits: ["loaded", "navigate"],
|
11
|
+
setup(u, { expose: s, emit: f }) {
|
12
|
+
let a = f, v = u, { url: d, view: m, win: p } = z(v), t = L(), c = (e, l) => {
|
13
|
+
if (!t.value || !t.value.keyboard)
|
14
|
+
return !1;
|
15
|
+
t.value.keyboard(e, l);
|
16
|
+
}, h = (e) => !0, g = (e) => !0, w = () => {
|
17
|
+
var l;
|
18
|
+
let e = (l = t.value) == null ? void 0 : l.refresh;
|
19
|
+
if (!e) {
|
20
|
+
let r = K.getPath(d.value);
|
21
|
+
N.notify(U("common.tips"), `要实现自定义刷新功能,请在组件 ${r} 内部定义并暴露refresh方法即可`, "warning");
|
22
|
+
return;
|
23
|
+
}
|
24
|
+
e();
|
25
|
+
}, _ = (e) => {
|
26
|
+
var r;
|
27
|
+
let l = (r = t.value) == null ? void 0 : r.beforeClose;
|
28
|
+
l && l(e);
|
29
|
+
}, b = (e) => {
|
30
|
+
t.value && t.value.resize && t.value.resize(e);
|
31
|
+
}, k = (e) => {
|
32
|
+
t.value.handler(e);
|
33
|
+
}, y = (e) => {
|
34
|
+
a("loaded", e);
|
35
|
+
}, C = (e) => {
|
36
|
+
a("navigate", e);
|
37
|
+
};
|
38
|
+
return s({ shouldLoad: h, shouldSpin: g, refresh: w, beforeClose: _, keyboard: c, resize: b, handler: k }), (e, l) => (n(), i(R, null, [
|
39
|
+
(n(), i(B(o(m)), {
|
40
|
+
ref_key: "customRef",
|
41
|
+
ref: t,
|
42
|
+
win: o(p),
|
43
|
+
onLoaded: o(y),
|
44
|
+
onNavigate: o(C)
|
45
|
+
}, null, 40, ["win", "onLoaded", "onNavigate"]))
|
46
|
+
], 1024));
|
47
|
+
}
|
48
|
+
});
|
49
|
+
export {
|
50
|
+
P as default
|
51
|
+
};
|