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,19 +1,14 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import "./assets/
|
3
|
-
import "./
|
4
|
-
import {
|
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
|
-
import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-DFqj7f23.js";
|
1
|
+
import { defineComponent as ae, toRefs as oe, ref as c, onMounted as ne, computed as re, resolveComponent as k, openBlock as u, createElementBlock as f, unref as e, createBlock as b, createCommentVNode as _, createVNode as w, normalizeStyle as se, withCtx as C, createElementVNode as i, Fragment as ie, renderList as ue, withModifiers as H, toDisplayString as d, resolveDynamicComponent as ce, createTextVNode as D } from "vue";
|
2
|
+
import { ag as E, K as de, e as pe, T as me, v as ve, R as M } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
import { c as ge, _ as fe } from "./main-DB_sVyZe.js";
|
4
|
+
import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js";
|
10
5
|
const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"], be = { class: "article-title" }, we = {
|
11
6
|
key: 0,
|
12
7
|
class: "article-content"
|
13
8
|
}, Ce = { class: "article-time" }, Re = {
|
14
9
|
key: 1,
|
15
10
|
class: "article-view-count"
|
16
|
-
}, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1),
|
11
|
+
}, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), Be = { class: "el-drawer__title" }, Se = ["href"], Ee = /* @__PURE__ */ ae({
|
17
12
|
__name: "Article",
|
18
13
|
props: {
|
19
14
|
searchData: {},
|
@@ -25,125 +20,125 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
|
|
25
20
|
set: {}
|
26
21
|
},
|
27
22
|
emits: ["page-change", "navigate", "search", "succeed", "close"],
|
28
|
-
setup(
|
29
|
-
let p =
|
23
|
+
setup(N, { expose: U, emit: K }) {
|
24
|
+
let p = K, F = N, { module: P, schema: j, table: n, layout: r, next: m, set: R, searchData: A } = oe(F), x = c(), y = c(), $ = c(), B = c(), h = c();
|
30
25
|
c({ layout: "prev, pager, next", count: 5 });
|
31
|
-
let
|
26
|
+
let a = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), S = (t) => {
|
32
27
|
g("insert", null, t);
|
33
|
-
}, I = (t, l) => {
|
34
|
-
g("detail", t, l);
|
35
28
|
}, L = (t, l) => {
|
29
|
+
g("detail", t, l);
|
30
|
+
}, Q = (t, l) => {
|
36
31
|
g("update", t, l);
|
37
32
|
}, q = (t, l) => {
|
38
33
|
g("copy", t, l);
|
39
34
|
}, G = (t, l) => {
|
40
35
|
g("delete", t, l);
|
41
|
-
},
|
42
|
-
let l = t.map((s) => s[
|
43
|
-
|
44
|
-
|
36
|
+
}, I = (t) => {
|
37
|
+
let l = t.map((s) => s[n.value.key.name]);
|
38
|
+
me.post(m.value.delete.route, l).then((s) => {
|
39
|
+
ve.success(s.message), z();
|
45
40
|
});
|
46
41
|
}, g = (t, l, s) => {
|
47
|
-
let v =
|
48
|
-
s.ctrlKey ? (
|
49
|
-
},
|
42
|
+
let v = T(t, l);
|
43
|
+
s.ctrlKey ? (a.value.row = null, p("navigate", v)) : (a.value.appendToBody = s.altKey, a.value.page = t, a.value.url = v, a.value.row = l, a.value.visible = !0);
|
44
|
+
}, T = (t, l = null) => {
|
50
45
|
let s = `${m.value[t].route}`;
|
51
46
|
if (l != null) {
|
52
|
-
let v = l[
|
47
|
+
let v = l[n.value.key.name];
|
53
48
|
s += `?id=${v}`;
|
54
49
|
}
|
55
50
|
return s;
|
56
|
-
},
|
57
|
-
|
51
|
+
}, J = () => {
|
52
|
+
a.value.visible = !1, p("close");
|
58
53
|
}, z = (t = null) => {
|
59
|
-
|
60
|
-
},
|
54
|
+
a.value.visible = !1, p("succeed", t);
|
55
|
+
}, O = (t) => {
|
61
56
|
p("page-change", t);
|
62
57
|
}, W = (t) => {
|
63
58
|
p("navigate", t);
|
64
59
|
}, X = () => {
|
65
60
|
p("search");
|
66
61
|
}, Y = () => {
|
67
|
-
|
62
|
+
V();
|
68
63
|
}, Z = (t, l) => {
|
69
64
|
if (!h.value || !h.value.keyboard)
|
70
65
|
return !1;
|
71
66
|
h.value.keyboard(t, l);
|
72
67
|
}, ee = (t) => {
|
73
|
-
|
74
|
-
},
|
68
|
+
V();
|
69
|
+
}, V = () => {
|
75
70
|
if (y.value == null)
|
76
71
|
return;
|
77
|
-
let t =
|
78
|
-
|
72
|
+
let t = M.getHeight(x.value), l = M.getHeight([y.value.$el, $.value]);
|
73
|
+
B.value = t - l;
|
79
74
|
};
|
80
|
-
|
75
|
+
ne(() => {
|
81
76
|
});
|
82
|
-
let te =
|
83
|
-
let t = `/${
|
84
|
-
return
|
77
|
+
let te = re(() => {
|
78
|
+
let t = `/${n.value.name}/article-footer`;
|
79
|
+
return ge.getComponent(t, "partial", "article-footer");
|
85
80
|
});
|
86
|
-
return
|
81
|
+
return U({ keyboard: Z, resize: ee }), (t, l) => {
|
87
82
|
const s = k("el-scrollbar"), v = k("el-pagination"), le = k("el-drawer");
|
88
83
|
return u(), f("div", {
|
89
84
|
ref_key: "pagingRef",
|
90
85
|
ref: x,
|
91
86
|
class: "paging-article"
|
92
87
|
}, [
|
93
|
-
e(
|
88
|
+
e(n).search.length > 0 ? (u(), b(he, {
|
94
89
|
key: 0,
|
95
90
|
ref_key: "searchRef",
|
96
91
|
ref: y,
|
97
92
|
schema: e(j),
|
98
|
-
table: e(
|
99
|
-
layout: e(
|
93
|
+
table: e(n),
|
94
|
+
layout: e(r),
|
100
95
|
"search-data": e(A),
|
101
96
|
onSubmit: e(X),
|
102
97
|
onMounted: e(Y)
|
103
98
|
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
|
104
99
|
w(s, {
|
105
100
|
class: "article-scroller",
|
106
|
-
style: se({ height: e(
|
101
|
+
style: se({ height: e(B) + "px" })
|
107
102
|
}, {
|
108
103
|
default: C(() => [
|
109
104
|
i("div", _e, [
|
110
|
-
(u(!0), f(ie, null, ue(e(R)[e(
|
105
|
+
(u(!0), f(ie, null, ue(e(R)[e(n).name], (o) => (u(), f("a", {
|
111
106
|
class: "article",
|
112
|
-
href: `${e(m).detail.route}?id=${
|
113
|
-
onClick:
|
114
|
-
key:
|
107
|
+
href: `${e(m).detail.route}?id=${o[e(n).key.name]}`,
|
108
|
+
onClick: H((Te) => e(W)(`${e(m).detail.route}?id=${o[e(n).key.name]}`), ["prevent"]),
|
109
|
+
key: o[e(n).key.name]
|
115
110
|
}, [
|
116
111
|
i("img", {
|
117
112
|
class: "article-image",
|
118
|
-
src:
|
113
|
+
src: o[e(r).image]
|
119
114
|
}, null, 8, ke),
|
120
|
-
i("div", be, d(
|
121
|
-
e(
|
122
|
-
i("div", Ce, d(
|
123
|
-
|
115
|
+
i("div", be, d(o[e(r).title]), 1),
|
116
|
+
e(E).getText(o[e(r).content]) ? (u(), f("div", we, d(e(E).getText(o[e(r).content])), 1)) : _("", !0),
|
117
|
+
i("div", Ce, d(o[e(r).time]), 1),
|
118
|
+
o[e(r).viewCount] ? (u(), f("div", Re, d(o[e(r).viewCount]), 1)) : _("", !0),
|
124
119
|
(u(), b(ce(e(te)), {
|
125
|
-
table: e(
|
120
|
+
table: e(n),
|
126
121
|
next: e(m),
|
127
122
|
set: e(R),
|
128
|
-
row:
|
129
|
-
onPreview: e(
|
130
|
-
onEdit: e(
|
123
|
+
row: o,
|
124
|
+
onPreview: e(L),
|
125
|
+
onEdit: e(Q),
|
131
126
|
onCopy: e(q),
|
132
127
|
onBeforeRemove: e(G),
|
133
|
-
onRemove: e(
|
128
|
+
onRemove: e(I)
|
134
129
|
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
|
135
130
|
], 8, ye))), 128)),
|
136
131
|
i("a", {
|
137
|
-
href: e(
|
132
|
+
href: e(T)("insert"),
|
138
133
|
class: "article-add",
|
139
|
-
onClick: l[0] || (l[0] =
|
134
|
+
onClick: l[0] || (l[0] = H(
|
140
135
|
//@ts-ignore
|
141
|
-
(...
|
136
|
+
(...o) => e(S) && e(S)(...o),
|
142
137
|
["prevent"]
|
143
138
|
))
|
144
139
|
}, [
|
145
140
|
$e,
|
146
|
-
|
141
|
+
D(" 添加新" + d(e(n).title), 1)
|
147
142
|
], 8, xe)
|
148
143
|
])
|
149
144
|
]),
|
@@ -157,36 +152,36 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
|
|
157
152
|
w(v, {
|
158
153
|
background: "",
|
159
154
|
layout: "total, prev, pager, next, jumper",
|
160
|
-
"current-page": e(
|
161
|
-
"page-size": e(
|
162
|
-
total: e(
|
163
|
-
onCurrentChange: e(
|
155
|
+
"current-page": e(r).page,
|
156
|
+
"page-size": e(r).pageSize,
|
157
|
+
total: e(r).count,
|
158
|
+
onCurrentChange: e(O)
|
164
159
|
}, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
|
165
160
|
], 512),
|
166
|
-
e(
|
161
|
+
e(a).page ? (u(), b(le, {
|
167
162
|
key: 1,
|
168
163
|
"destroy-on-close": "",
|
169
|
-
"append-to-body": e(
|
164
|
+
"append-to-body": e(a).appendToBody,
|
170
165
|
size: `${e(P).width ?? "60%"}`,
|
171
|
-
modelValue: e(
|
172
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
166
|
+
modelValue: e(a).visible,
|
167
|
+
"onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).visible = o)
|
173
168
|
}, {
|
174
169
|
header: C(() => [
|
175
|
-
i("div",
|
176
|
-
|
170
|
+
i("div", Be, [
|
171
|
+
D(d(e(m)[e(a).page].title) + " ", 1),
|
177
172
|
i("a", {
|
178
173
|
class: "drawer-copy",
|
179
|
-
href: e(
|
180
|
-
}, d(e(
|
174
|
+
href: e(de).getToUrl(e(a).url)
|
175
|
+
}, d(e(pe)("common.link")), 9, Se)
|
181
176
|
])
|
182
177
|
]),
|
183
178
|
default: C(() => [
|
184
|
-
w(e(
|
179
|
+
w(e(fe), {
|
185
180
|
ref_key: "pageRef",
|
186
181
|
ref: h,
|
187
|
-
url: e(
|
182
|
+
url: e(a).url,
|
188
183
|
onSucceed: e(z),
|
189
|
-
onClose: e(
|
184
|
+
onClose: e(J)
|
190
185
|
}, null, 8, ["url", "onSucceed", "onClose"])
|
191
186
|
]),
|
192
187
|
_: 1
|
@@ -196,5 +191,5 @@ const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"],
|
|
196
191
|
}
|
197
192
|
});
|
198
193
|
export {
|
199
|
-
|
194
|
+
Ee as default
|
200
195
|
};
|
@@ -1,12 +1,6 @@
|
|
1
|
-
import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock 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 { t as a } from "./main--j4fHmql.js";
|
8
|
-
import "./assets/liquidjs-C-LVcoaY.js";
|
9
|
-
const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
|
1
|
+
import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as m, unref as e, withModifiers as p, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
|
2
|
+
import { e as a } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
|
10
4
|
__name: "ArticleFooter",
|
11
5
|
props: {
|
12
6
|
table: {},
|
@@ -16,41 +10,41 @@ const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
|
|
16
10
|
},
|
17
11
|
emits: ["preview", "edit", "copy", "before-remove", "remove"],
|
18
12
|
setup(b, { emit: k }) {
|
19
|
-
let i = k, C = b, { table: A, next: l, set: F, row:
|
20
|
-
i("preview",
|
13
|
+
let i = k, C = b, { table: A, next: l, set: F, row: c } = _(C), f = (o) => {
|
14
|
+
i("preview", c.value, o);
|
21
15
|
}, u = (o) => {
|
22
|
-
i("edit",
|
16
|
+
i("edit", c.value, o);
|
23
17
|
}, v = (o) => {
|
24
|
-
i("copy",
|
18
|
+
i("copy", c.value, o);
|
25
19
|
}, d = (o) => {
|
26
20
|
}, x = () => {
|
27
|
-
i("remove", [
|
21
|
+
i("remove", [c.value]);
|
28
22
|
};
|
29
23
|
return (o, t) => {
|
30
24
|
const y = B("el-popconfirm");
|
31
|
-
return r(),
|
32
|
-
e(l).detail ? (r(),
|
25
|
+
return r(), m("div", V, [
|
26
|
+
e(l).detail ? (r(), m("i", {
|
33
27
|
key: 0,
|
34
28
|
class: "fa fa-search-plus btn-icon",
|
35
|
-
onClick: t[0] || (t[0] =
|
29
|
+
onClick: t[0] || (t[0] = p(
|
36
30
|
//@ts-ignore
|
37
31
|
(...n) => e(f) && e(f)(...n),
|
38
32
|
["prevent", "stop"]
|
39
33
|
))
|
40
34
|
})) : s("", !0),
|
41
|
-
e(l).update ? (r(),
|
35
|
+
e(l).update ? (r(), m("i", {
|
42
36
|
key: 1,
|
43
37
|
class: "fa fa-pencil btn-icon",
|
44
|
-
onClick: t[1] || (t[1] =
|
38
|
+
onClick: t[1] || (t[1] = p(
|
45
39
|
//@ts-ignore
|
46
40
|
(...n) => e(u) && e(u)(...n),
|
47
41
|
["prevent", "stop"]
|
48
42
|
))
|
49
43
|
})) : s("", !0),
|
50
|
-
e(l).copy ? (r(),
|
44
|
+
e(l).copy ? (r(), m("i", {
|
51
45
|
key: 2,
|
52
46
|
class: "fa fa-copy btn-icon",
|
53
|
-
onClick: t[2] || (t[2] =
|
47
|
+
onClick: t[2] || (t[2] = p(
|
54
48
|
//@ts-ignore
|
55
49
|
(...n) => e(v) && e(v)(...n),
|
56
50
|
["prevent", "stop"]
|
@@ -67,7 +61,7 @@ const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
|
|
67
61
|
reference: N(() => [
|
68
62
|
R("i", {
|
69
63
|
class: "fa fa-trash-alt btn-icon",
|
70
|
-
onClick: t[3] || (t[3] =
|
64
|
+
onClick: t[3] || (t[3] = p(
|
71
65
|
//@ts-ignore
|
72
66
|
(...n) => e(d) && e(d)(...n),
|
73
67
|
["prevent", "stop"]
|
@@ -81,5 +75,5 @@ const V = { class: "article-footer" }, I = /* @__PURE__ */ w({
|
|
81
75
|
}
|
82
76
|
});
|
83
77
|
export {
|
84
|
-
|
78
|
+
j as default
|
85
79
|
};
|
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ f({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let m = i(() => import("./Text-
|
13
|
+
let m = i(() => import("./Text-5803XWI6.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
|
14
14
|
return (u, o) => (V(), b(e(m), {
|
15
15
|
schema: u.schema,
|
16
16
|
table: e(r),
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { defineComponent as v, toRefs as V, ref as _, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as a, isRef as B } from "vue";
|
2
|
+
import { aO as D, W as R, T as A } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const T = /* @__PURE__ */ v({
|
4
|
+
__name: "Autocomplete",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
searchData: {},
|
10
|
+
modelValue: {}
|
11
|
+
},
|
12
|
+
emits: ["submit", "change", "update:modelValue"],
|
13
|
+
setup(p, { emit: c }) {
|
14
|
+
let m = c, d = p, { table: i, field: r, searchData: I, modelValue: f } = V(d), o = _([]), g = null, h = (l, e) => {
|
15
|
+
if (o.value.length) {
|
16
|
+
let t = o.value.filter((s) => R.containsIgnoreCase(l, s.value));
|
17
|
+
e(t);
|
18
|
+
return;
|
19
|
+
}
|
20
|
+
let n = { text: g, conditions: [] };
|
21
|
+
A.post(r.value.control.data.route, n).then(({ data: t }) => {
|
22
|
+
o.value = t.map((s) => ({ value: s.text })), e(o.value);
|
23
|
+
}).catch(() => {
|
24
|
+
e([]);
|
25
|
+
});
|
26
|
+
}, u = x({
|
27
|
+
get() {
|
28
|
+
return f.value;
|
29
|
+
},
|
30
|
+
set(l) {
|
31
|
+
m("update:modelValue", l), m("change", l);
|
32
|
+
}
|
33
|
+
});
|
34
|
+
return (l, e) => {
|
35
|
+
const n = C("el-autocomplete");
|
36
|
+
return b(), k(n, {
|
37
|
+
clearable: "",
|
38
|
+
placeholder: a(D)(a(i).name, a(r).name),
|
39
|
+
"fetch-suggestions": a(h),
|
40
|
+
modelValue: a(u),
|
41
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => B(u) ? u.value = t : u = t)
|
42
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
43
|
+
};
|
44
|
+
}
|
45
|
+
});
|
46
|
+
export {
|
47
|
+
T as default
|
48
|
+
};
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { defineComponent as v, toRefs as V, ref as _, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as o, isRef as B } from "vue";
|
2
|
+
import { aO as R, W as w, T as A } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const T = /* @__PURE__ */ v({
|
4
|
+
__name: "Autocomplete",
|
5
|
+
props: {
|
6
|
+
schema: {},
|
7
|
+
table: {},
|
8
|
+
field: {},
|
9
|
+
set: {},
|
10
|
+
row: {},
|
11
|
+
modelValue: {}
|
12
|
+
},
|
13
|
+
emits: ["submit", "change", "update:modelValue"],
|
14
|
+
setup(p, { emit: d }) {
|
15
|
+
let m = d, i = p, { table: c, field: r, set: I, modelValue: f } = V(i), a = _([]), g = null, h = (l, e) => {
|
16
|
+
if (a.value.length) {
|
17
|
+
let t = a.value.filter((s) => w.containsIgnoreCase(l, s.value));
|
18
|
+
e(t);
|
19
|
+
return;
|
20
|
+
}
|
21
|
+
let n = { text: g, conditions: [] };
|
22
|
+
A.post(r.value.control.data.route, n).then(({ data: t }) => {
|
23
|
+
a.value = t.map((s) => ({ value: s.text })), e(a.value);
|
24
|
+
}).catch(() => {
|
25
|
+
e([]);
|
26
|
+
});
|
27
|
+
}, u = x({
|
28
|
+
get() {
|
29
|
+
return f.value;
|
30
|
+
},
|
31
|
+
set(l) {
|
32
|
+
m("update:modelValue", l), m("change", l);
|
33
|
+
}
|
34
|
+
});
|
35
|
+
return (l, e) => {
|
36
|
+
const n = C("el-autocomplete");
|
37
|
+
return b(), k(n, {
|
38
|
+
clearable: "",
|
39
|
+
placeholder: o(R)(o(c).name, o(r).name),
|
40
|
+
"fetch-suggestions": o(h),
|
41
|
+
modelValue: o(u),
|
42
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => B(u) ? u.value = t : u = t)
|
43
|
+
}, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
|
44
|
+
};
|
45
|
+
}
|
46
|
+
});
|
47
|
+
export {
|
48
|
+
T as default
|
49
|
+
};
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = i(() => import("./Code-
|
13
|
+
let r = i(() => import("./Code-DKtqow6y.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
|
14
14
|
return (w, o) => (V(), b(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { defineComponent as o } from "vue";
|
2
|
+
import { useRouter as i, useRoute as n } from "vue-router";
|
3
|
+
import { v as s, E as u } from "./assets/halo-fe-B-NiIGas.js";
|
4
|
+
const y = /* @__PURE__ */ o({
|
5
|
+
__name: "Callback",
|
6
|
+
setup(a) {
|
7
|
+
let r = i(), t = n().query;
|
8
|
+
return (async () => {
|
9
|
+
if (!t.type) {
|
10
|
+
s.error("缺失type参数");
|
11
|
+
return;
|
12
|
+
}
|
13
|
+
let e = await u.sso.create(t.type.toString());
|
14
|
+
t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
|
15
|
+
})(), (e, l) => " 登录完毕,处理回调中... ";
|
16
|
+
}
|
17
|
+
});
|
18
|
+
export {
|
19
|
+
y as default
|
20
|
+
};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { defineComponent as y, toRefs as k, computed as p, openBlock as e, createElementBlock as t, Fragment as d, renderList as m, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
|
2
|
+
import { O as B } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const C = { class: "text-cascader" }, S = {
|
4
|
+
key: 0,
|
5
|
+
class: "cascader-seperator"
|
6
|
+
}, F = /* @__PURE__ */ y({
|
7
|
+
__name: "Cascader",
|
8
|
+
props: {
|
9
|
+
schema: {},
|
10
|
+
table: {},
|
11
|
+
field: {},
|
12
|
+
set: {},
|
13
|
+
row: {},
|
14
|
+
modelValue: {}
|
15
|
+
},
|
16
|
+
emits: ["submit", "change"],
|
17
|
+
setup(_, { emit: V }) {
|
18
|
+
let v = _, { table: w, field: s, set: E, row: O, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
|
19
|
+
if (u.value.length > 0) {
|
20
|
+
let i = s.value.control.data.data, n = [];
|
21
|
+
return u.value.forEach((r) => {
|
22
|
+
let l = B.getParentsById(r, "value", i, "children", !0);
|
23
|
+
l.length > 0 && n.push(l);
|
24
|
+
}), n;
|
25
|
+
}
|
26
|
+
return [];
|
27
|
+
});
|
28
|
+
return (i, n) => (e(), t("div", C, [
|
29
|
+
(e(!0), t(d, null, m(f(c), (r, l) => (e(), t("span", null, [
|
30
|
+
(e(!0), t(d, null, m(r, (o, g) => (e(), t("span", {
|
31
|
+
style: x({ color: o.color }),
|
32
|
+
key: o.value
|
33
|
+
}, h(o.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
|
34
|
+
l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
|
35
|
+
]))), 256))
|
36
|
+
]));
|
37
|
+
}
|
38
|
+
});
|
39
|
+
export {
|
40
|
+
F as default
|
41
|
+
};
|
@@ -0,0 +1,81 @@
|
|
1
|
+
import { defineComponent as E, toRefs as N, ref as w, computed as R, resolveComponent as S, openBlock as c, createBlock as D, unref as a, isRef as I, withCtx as O, createElementVNode as P, createTextVNode as T, toDisplayString as i, createElementBlock as m, createCommentVNode as f } from "vue";
|
2
|
+
import { aN as j, O as h, T as q } from "./assets/halo-fe-B-NiIGas.js";
|
3
|
+
const U = {
|
4
|
+
key: 0,
|
5
|
+
class: "cascader-suffix"
|
6
|
+
}, z = {
|
7
|
+
key: 0,
|
8
|
+
class: "cascader-length"
|
9
|
+
}, J = /* @__PURE__ */ E({
|
10
|
+
__name: "Cascader",
|
11
|
+
props: {
|
12
|
+
schema: {},
|
13
|
+
table: {},
|
14
|
+
field: {},
|
15
|
+
set: {},
|
16
|
+
row: {},
|
17
|
+
modelValue: {}
|
18
|
+
},
|
19
|
+
emits: ["submit", "change", "update:modelValue"],
|
20
|
+
setup(v, { emit: g }) {
|
21
|
+
let d = g, V = v, { table: b, field: t, set: A, row: F, modelValue: _ } = N(V), s = w(), p = null, x = () => {
|
22
|
+
s.value || (s.value = t.value.control.data.data);
|
23
|
+
let e = _.value, l = [];
|
24
|
+
return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((n) => {
|
25
|
+
let o = h.getParentsById(n, "value", s.value, "children", !0);
|
26
|
+
o.length > 0 && l.push(o.map((B) => B.value));
|
27
|
+
}) : h.getParentsById(e, "value", s.value, "children", !0).forEach((n) => {
|
28
|
+
l.push(n.value);
|
29
|
+
}), l;
|
30
|
+
}, C = (e) => {
|
31
|
+
let l;
|
32
|
+
t.value.control.multiple ? l = e.map((r) => r[r.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
|
33
|
+
}, y = (e) => {
|
34
|
+
e && (p = null, k());
|
35
|
+
}, k = () => {
|
36
|
+
let e = { text: p, conditions: [] };
|
37
|
+
t.value.control.data.conditions.forEach((l) => {
|
38
|
+
e.conditions.push({ name: l.name, value: null });
|
39
|
+
}), q.post(t.value.control.data.route, e).then(({ data: l }) => {
|
40
|
+
s.value = l;
|
41
|
+
});
|
42
|
+
}, u = R({
|
43
|
+
get() {
|
44
|
+
return x();
|
45
|
+
},
|
46
|
+
set(e) {
|
47
|
+
C(e);
|
48
|
+
}
|
49
|
+
});
|
50
|
+
return (e, l) => {
|
51
|
+
const r = S("el-cascader");
|
52
|
+
return c(), D(r, {
|
53
|
+
ref: "cascaderRef",
|
54
|
+
placeholder: a(j)(a(b).name, a(t).name),
|
55
|
+
filterable: "",
|
56
|
+
"collapse-tags": "",
|
57
|
+
"collapse-tags-tooltip": "",
|
58
|
+
"max-collapse-tags": 6,
|
59
|
+
options: a(s),
|
60
|
+
disabled: a(t).readonly,
|
61
|
+
props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
|
62
|
+
clearable: !a(t).control.required,
|
63
|
+
onVisibleChange: a(y),
|
64
|
+
modelValue: a(u),
|
65
|
+
"onUpdate:modelValue": l[0] || (l[0] = (n) => I(u) ? u.value = n : u = n)
|
66
|
+
}, {
|
67
|
+
default: O(({ node: n, data: o }) => [
|
68
|
+
P("span", null, [
|
69
|
+
T(i(o.text), 1),
|
70
|
+
o.suffix ? (c(), m("span", U, "(" + i(o.suffix) + ")", 1)) : f("", !0)
|
71
|
+
]),
|
72
|
+
o.children ? (c(), m("span", z, i(o.children.length), 1)) : f("", !0)
|
73
|
+
]),
|
74
|
+
_: 1
|
75
|
+
}, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
|
76
|
+
};
|
77
|
+
}
|
78
|
+
});
|
79
|
+
export {
|
80
|
+
J as default
|
81
|
+
};
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ p({
|
|
10
10
|
modelValue: {}
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = u(() => import("./Dictionary-
|
13
|
+
let r = u(() => import("./Dictionary-CsBiv-CI.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
|
14
14
|
return (w, o) => (b(), V(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(n),
|