halo-pc 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-DDHiBRRG.js → Article-DW8xmG7G.js} +27 -28
- package/dist/{ArticleFooter-BAf1rKUX.js → ArticleFooter-rZDYiw3e.js} +34 -26
- package/dist/Autocomplete-BxqveRGV.js +54 -0
- package/dist/Autocomplete-C82HyuP-.js +55 -0
- package/dist/{Autocomplete-Bh4HQ3-C.js → Autocomplete-DWcCXaNn.js} +1 -1
- package/dist/{CSharp--lmNVuOo.js → CSharp-D8ezQEtX.js} +1 -1
- package/dist/{Calender-CvqWvZsn.js → Calender-B_k72iyA.js} +4 -4
- package/dist/Callback-C67JLhPy.js +27 -0
- package/dist/Cascader-BKw0lpjA.js +88 -0
- package/dist/{Cascader-OM7zmX3M.js → Cascader-lyEPSNPd.js} +10 -11
- package/dist/Checkbox-CU7e7xai.js +77 -0
- package/dist/{Checkbox-BJdqPlkr.js → Checkbox-DJHaBoD6.js} +1 -1
- package/dist/{Code-xVaG8AiI.js → Code-BEIgB_tN.js} +1 -1
- package/dist/{Code-BACLmk2L.js → Code-C08nadw6.js} +19 -20
- package/dist/{Code-DNa70Dop.js → Code-DGfpK3-r.js} +12 -13
- package/dist/Code-Uvb-MceU.js +4 -0
- package/dist/{Code.vue_vue_type_style_index_0_lang-FEJ6tUQl.js → Code.vue_vue_type_style_index_0_lang-jlu06Tm1.js} +17 -18
- package/dist/{Column-DpxOF0y2.js → Column-30OUakBK.js} +20 -22
- package/dist/{Comment-CnA1hoQR.js → Comment-FfW-VCIl.js} +10 -11
- package/dist/{Compare-i-c4cpHb.js → Compare-9wMHcb3J.js} +19 -20
- package/dist/{Compare-cMfhy2tY.js → Compare-iArf3a53.js} +10 -11
- package/dist/{Copy-Ccio6WhB.js → Copy-CEP2A6Ak.js} +11 -12
- package/dist/Custom-DPTHxx2H.js +54 -0
- package/dist/{DataExport-D9qNEXNc.js → DataExport-B9ptb9if.js} +1 -1
- package/dist/DataExport.vue_vue_type_script_setup_true_lang-BppwAGES.js +114 -0
- package/dist/{DataImport-IlCpp9MO.js → DataImport-qpPXdMVu.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-a85kfspl.js +177 -0
- package/dist/Date-B8lAsZ8-.js +44 -0
- package/dist/{Date-BzTn9eRY.js → Date-Tb5glksl.js} +1 -1
- package/dist/DateRange-ByObxHWr.js +64 -0
- package/dist/DateTime-BbN93UMx.js +45 -0
- package/dist/{DateTime-ZXRmiyVk.js → DateTime-Dgn-LEf5.js} +1 -1
- package/dist/DateTimeRange-CfTu6qfQ.js +68 -0
- package/dist/{Daterange-Xx9aigH9.js → Daterange--45M8p70.js} +16 -17
- package/dist/{Decimal-d9D3AKgJ.js → Decimal-CQyZDQj1.js} +1 -1
- package/dist/Delete-CE8it9pf.js +62 -0
- package/dist/Detail-CCI5cvG0.js +75 -0
- package/dist/{Dictionary-41lPMLYE.js → Dictionary-BJDdH2_l.js} +17 -18
- package/dist/{Email-ME_MU94C.js → Email-DZOL1E9K.js} +22 -14
- package/dist/File-DIlderH6.js +162 -0
- package/dist/Image-CMFoU_37.js +9 -0
- package/dist/{Index-DzobZNQl.js → Index-Bc53p_JO.js} +1 -1
- package/dist/Index-C2t-7E3k.js +4 -0
- package/dist/{Index-BJcvZpAZ.js → Index-COw9DWML.js} +48 -49
- package/dist/Index-CoPy-O1d.js +4 -0
- package/dist/{Index-Cgn9c90j.js → Index-CzAZbNEn.js} +1 -1
- package/dist/Index-D4PrMUMh.js +76 -0
- package/dist/Index-DkbNMJNW.js +4 -0
- package/dist/{Index-Dls8FIg_.js → Index-qIlNyJzW.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-yNHjfgMT.js → Index.vue_vue_type_script_setup_true_lang-Bwczfu3R.js} +17 -19
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DEJe_SEU.js → Index.vue_vue_type_script_setup_true_lang-D-18RRZW.js} +14 -16
- package/dist/Index.vue_vue_type_style_index_0_lang-CVdVS4kL.js +123 -0
- package/dist/{Install-DjEEO5jv.js → Install-GZLwIm-L.js} +12 -14
- package/dist/Int-BxMlKc5S.js +47 -0
- package/dist/Int-Cd4aeG9h.js +45 -0
- package/dist/List-jf7l4cRX.js +79 -0
- package/dist/Maintaince-Cu47JcoS.js +21 -0
- package/dist/{Markdown-DWztB-nd.js → Markdown-BsqO5jOE.js} +1 -1
- package/dist/{Month-C-O9wmfa.js → Month-C0Ox3gpJ.js} +1 -1
- package/dist/Month-CM5JIj7m.js +44 -0
- package/dist/Month-D9fXZDRB.js +45 -0
- package/dist/{Normal-D0jVbV6S.js → Normal-CMn0BChi.js} +50 -51
- package/dist/Paging-DlTJQnwX.js +99 -0
- package/dist/PagingHeader-B9x-WwXu.js +148 -0
- package/dist/PagingRow-CXS8Wi-G.js +74 -0
- package/dist/QueryApi-ByGbsbiP.js +21 -0
- package/dist/{Racebar-BHxShEk3.js → Racebar-xbbkT_4q.js} +15 -16
- package/dist/{Radio-2lj7_vnv.js → Radio-BIXKco1J.js} +1 -1
- package/dist/{Register-Bc6si8eQ.js → Register-IToXmg3F.js} +80 -81
- package/dist/{RichText-GzSKa3TU.js → RichText-wJVmSjrB.js} +15 -16
- package/dist/{SearchFooter-CljN2rfH.js → SearchFooter-DBpTFZSt.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BY7bRgIA.js → SearchFooter.vue_vue_type_style_index_0_lang-DkleuxZO.js} +1 -1
- package/dist/{SearchForm-BVZA2l7U.js → SearchForm-DbSPpcQn.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BSs4V4mF.js → SearchForm.vue_vue_type_style_index_0_lang-Bf6geAOD.js} +33 -34
- package/dist/{Select-D60XT9o-.js → Select-BE4N7MYF.js} +32 -33
- package/dist/{Select-1KvlCVU4.js → Select-BlkhOHpW.js} +1 -1
- package/dist/{Select-CocWBLRX.js → Select-iFf-G5il.js} +35 -36
- package/dist/{Single-sr-BkPGL.js → Single-BI8xJRtY.js} +89 -90
- package/dist/{Statistic-BYcw_PF8.js → Statistic-CKw4ViCN.js} +13 -14
- package/dist/{Stock-BKboB1Yy.js → Stock-5ZRpMQS7.js} +1 -1
- package/dist/{Stock-BfJZJOlp.js → Stock-Bu1m4p9F.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-BvNVV3nm.js → Stock.vue_vue_type_style_index_0_lang-Z-3SgPLd.js} +12 -13
- package/dist/{Switch-aJlpDaFn.js → Switch-BbUNeOC2.js} +1 -1
- package/dist/Table-BcRlmQ2m.js +244 -0
- package/dist/Table-CAROsa1z.js +324 -0
- package/dist/Text-82BwYbAn.js +60 -0
- package/dist/Text-B6PstiXr.js +59 -0
- package/dist/Text-C5orxjf_.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-VAeTYPEf.js +60 -0
- package/dist/{TextLink-C6iV4AMN.js → TextLink-DZfRceBS.js} +18 -19
- package/dist/{Textarea-BMTs6P3r.js → Textarea-CC4hXIZk.js} +1 -1
- package/dist/Time-B9wex8w1.js +44 -0
- package/dist/{Timeline-CbOh5x0N.js → Timeline-BT4ZPpNS.js} +15 -16
- package/dist/{Tree-BYDeBPz8.js → Tree-BYI4GjfQ.js} +9 -10
- package/dist/{Tree-CJw57RjB.js → Tree-CZ1fiWdm.js} +72 -73
- package/dist/TreeNode-DzgaTe70.js +43 -0
- package/dist/Update-08r-FKsq.js +70 -0
- package/dist/UpdateChild-1p8CJHyB.js +93 -0
- package/dist/Upload-CuiXps92.js +73 -0
- package/dist/Upload-gBSGjrw5.js +151 -0
- package/dist/UploadApi-TPHxniCc.js +21 -0
- package/dist/{Year-MmbPwHcY.js → Year-BVvjywAG.js} +1 -1
- package/dist/Year-CHdL2Jrm.js +48 -0
- package/dist/{vendor-@monaco-editor-DKC4UNw_.js → assets/@monaco-editor-BCDRi0Ti.js} +1 -1
- package/dist/{vendor-clipboard-BqjesuiY.js → assets/clipboard-DjQPoCBJ.js} +110 -130
- package/dist/{vendor-clone-BPtCWdXG.js → assets/clone-BZn0cTAu.js} +1 -1
- package/dist/{vendor-element-plus-Z7vJFrsh.js → assets/element-plus-Dp3QGoBh.js} +0 -4
- package/dist/{vendor-file-saver-CytTIJ-3.js → assets/file-saver-CwlpTZSc.js} +1 -1
- package/dist/{vendor-intro.js-DhhZ-dhc.js → assets/intro.js-DxWjEdp_.js} +1 -1
- package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
- package/dist/{vendor-underscore.string-BEHfJwHl.js → assets/underscore.string-DVXD2SZo.js} +3 -3
- package/dist/{vendor-util-deprecate-DzpNkCzj.js → assets/util-deprecate-Dzun97re.js} +1 -1
- package/dist/{vendor-vue-i18n-C3KH15Qn.js → assets/vue-i18n-CLr3brPz.js} +2 -2
- package/dist/main-B0cM0pYd.js +8830 -0
- package/dist/main.js +146 -121
- package/dist/style.css +1 -1
- package/esm/coms/business/{HaCrud.vue.d.ts → Crud.vue.d.ts} +1 -1
- package/esm/coms/business/{HaDrawer.vue.d.ts → Drawer.vue.d.ts} +1 -1
- package/esm/coms/business/{HaDriver.vue.d.ts → Driver.vue.d.ts} +2 -2
- package/esm/coms/business/{HaForm.vue.d.ts → Form.vue.d.ts} +1 -1
- package/esm/coms/business/index.d.ts +9 -120
- 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/commons/{HaTable.vue.d.ts → Table.vue.d.ts} +1 -1
- package/esm/coms/commons/index.d.ts +8 -36
- package/esm/coms/commons/types/TableProps.d.ts +30 -0
- package/esm/coms/commons/types/index.d.ts +2 -0
- package/esm/coms/controls/Autocomplete.vue.d.ts +2 -2
- package/esm/coms/controls/Cascader.vue.d.ts +2 -2
- package/esm/coms/controls/Checkbox.vue.d.ts +2 -2
- package/esm/coms/controls/Code.vue.d.ts +2 -2
- package/esm/coms/controls/Color.vue.d.ts +2 -2
- package/esm/coms/controls/Compare.vue.d.ts +2 -2
- package/esm/coms/controls/Date.vue.d.ts +2 -2
- package/esm/coms/controls/DateRange.vue.d.ts +2 -2
- package/esm/coms/controls/DateTime.vue.d.ts +2 -2
- package/esm/coms/controls/DateTimeRange.vue.d.ts +2 -2
- package/esm/coms/controls/Decimal.vue.d.ts +2 -2
- package/esm/coms/controls/Email.vue.d.ts +2 -2
- package/esm/coms/controls/Index.vue.d.ts +1 -1
- package/esm/coms/controls/Int.vue.d.ts +2 -2
- package/esm/coms/controls/Markdown.vue.d.ts +2 -2
- package/esm/coms/controls/Month.vue.d.ts +2 -2
- package/esm/coms/controls/Password.vue.d.ts +2 -2
- package/esm/coms/controls/Progress.vue.d.ts +2 -2
- package/esm/coms/controls/Radio.vue.d.ts +2 -2
- package/esm/coms/controls/Rate.vue.d.ts +2 -2
- package/esm/coms/controls/RichText.vue.d.ts +1 -1
- package/esm/coms/controls/Select.vue.d.ts +2 -2
- package/esm/coms/controls/Switch.vue.d.ts +2 -2
- package/esm/coms/controls/Text.vue.d.ts +2 -2
- package/esm/coms/controls/Textarea.vue.d.ts +2 -2
- package/esm/coms/controls/Time.vue.d.ts +2 -2
- package/esm/coms/controls/Upload.vue.d.ts +2 -2
- package/esm/coms/controls/Year.vue.d.ts +2 -2
- package/esm/coms/controls/index.d.ts +1 -26
- package/esm/coms/controls/types/ControlProps.d.ts +26 -0
- package/esm/coms/controls/types/index.d.ts +2 -0
- package/esm/coms/globals/{HaWindow.vue.d.ts → Window.vue.d.ts} +1 -1
- package/esm/coms/globals/index.d.ts +9 -70
- 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/layouts/index.d.ts +2 -6
- package/esm/coms/layouts/types/ITaskBar.d.ts +6 -0
- package/esm/coms/layouts/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 +2 -15
- package/esm/coms/lists/types/ListProps.d.ts +15 -0
- package/esm/coms/lists/types/index.d.ts +2 -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 +2 -145
- package/esm/coms/pages/types/ColumnPageProps.d.ts +14 -0
- package/esm/coms/pages/types/CustomPageProps.d.ts +14 -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 +10 -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/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/SearchFooter.vue.d.ts +1 -1
- package/esm/coms/pagings/Table.vue.d.ts +1 -1
- package/esm/coms/pagings/index.d.ts +2 -11
- package/esm/coms/pagings/types/PagingProps.d.ts +11 -0
- package/esm/coms/pagings/types/index.d.ts +2 -0
- package/esm/coms/panels/{HaOperation.vue.d.ts → Operation.vue.d.ts} +1 -1
- package/esm/coms/panels/index.d.ts +5 -13
- package/esm/coms/panels/types/OperationProps.d.ts +10 -0
- package/esm/coms/panels/types/index.d.ts +2 -0
- package/esm/coms/partials/ArticleFooter.vue.d.ts +10 -10
- package/esm/coms/partials/Detail.vue.d.ts +6 -6
- package/esm/coms/partials/PagingHeader.vue.d.ts +14 -14
- package/esm/coms/partials/PagingRow.vue.d.ts +10 -10
- package/esm/coms/partials/Update.vue.d.ts +4 -4
- package/esm/coms/partials/UpdateChild.vue.d.ts +8 -8
- 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/PagingHeaderEmit.d.ts +34 -0
- package/esm/coms/partials/types/PagingRowEmit.d.ts +26 -0
- package/esm/coms/partials/types/UpdateChildEmit.d.ts +22 -0
- package/esm/coms/partials/types/UpdateEmit.d.ts +14 -0
- package/esm/coms/partials/types/index.d.ts +7 -1
- package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/searches/Daterange.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/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 +2 -15
- package/esm/coms/singles/types/SingleProps.d.ts +15 -0
- package/esm/coms/singles/types/index.d.ts +2 -0
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +6 -7
- package/esm/plugins/PcMessenger.d.ts +2 -2
- package/esm/plugins/index.d.ts +2 -1
- package/esm/svcs/AppSvc.d.ts +1 -1
- package/esm/svcs/PageSvc.d.ts +7 -15
- package/esm/svcs/PcI18nSvc.d.ts +15 -0
- package/esm/svcs/index.d.ts +10 -7
- package/package.json +10 -10
- package/dist/Autocomplete-BljowPIG.js +0 -56
- package/dist/Autocomplete-d0MR8Xx2.js +0 -55
- package/dist/Callback-BrvO3W91.js +0 -28
- package/dist/Cascader-DIvprKCI.js +0 -88
- package/dist/Checkbox-CYpA0Abh.js +0 -69
- package/dist/Code-Du9XlTYj.js +0 -4
- package/dist/Custom-d7B0U9LW.js +0 -55
- package/dist/DataExport.vue_vue_type_script_setup_true_lang-LIX8EWdw.js +0 -115
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-ByaDXp9z.js +0 -178
- package/dist/Date-BeHsQ2Ow.js +0 -36
- package/dist/DateRange-TLadnU8z.js +0 -65
- package/dist/DateTime-BfNjKDfI.js +0 -37
- package/dist/DateTimeRange-WV8dpf1A.js +0 -69
- package/dist/Delete-C1lDzul8.js +0 -63
- package/dist/Detail-DwkywBpF.js +0 -77
- package/dist/File-CdfGLpx0.js +0 -164
- package/dist/Image-j_l1rTVS.js +0 -9
- package/dist/Index-CRW3fKQm.js +0 -4
- package/dist/Index-DDYN0PN6.js +0 -77
- package/dist/Index-DyDnI3Eh.js +0 -4
- package/dist/Index-p6jrekIF.js +0 -4
- package/dist/Index.vue_vue_type_style_index_0_lang-DzZQYPd_.js +0 -116
- package/dist/Int-C-0RMDmy.js +0 -37
- package/dist/Int-DCCHJ3Py.js +0 -48
- package/dist/List-B0jkK3__.js +0 -80
- package/dist/Maintaince-BvSeToFI.js +0 -22
- package/dist/Month-B_SzKf02.js +0 -36
- package/dist/Month-DfemgHac.js +0 -37
- package/dist/Paging-DotrJ4K7.js +0 -100
- package/dist/PagingHeader-CBXHiUXR.js +0 -140
- package/dist/PagingRow-tny-wHwu.js +0 -66
- package/dist/QueryApi-BfzWPAaT.js +0 -22
- package/dist/Table-C7utV1zP.js +0 -322
- package/dist/Table-Cb3ebUjd.js +0 -242
- package/dist/Text-BRRmmXYV.js +0 -52
- package/dist/Text-BwvQUh3H.js +0 -4
- package/dist/Text-DKpPIUcY.js +0 -51
- package/dist/Text.vue_vue_type_style_index_0_lang-DKTbR_SE.js +0 -60
- package/dist/Time-BcQzBDX-.js +0 -36
- package/dist/TreeNode-f5QIDN_8.js +0 -44
- package/dist/Update-4MVWAqee.js +0 -72
- package/dist/UpdateChild-B2A3hP6m.js +0 -85
- package/dist/Upload-CZH4eCZj.js +0 -74
- package/dist/Upload-DLvv8FP4.js +0 -152
- package/dist/UploadApi-BP2K-0bT.js +0 -22
- package/dist/Year-1ug2_a1g.js +0 -40
- package/dist/main-Bf4o1iyx.js +0 -8145
- package/dist/vendor-crypto-js-YOeWQTUw.js +0 -4997
- package/dist/vendor-xlsx-js-style-DIFxrP6P.js +0 -11862
- package/esm/svcs/I18nSvc.d.ts +0 -79
- package/esm/vite.config.d.ts +0 -6
- /package/dist/{vendor-@intlify-BISCQg1h.js → assets/@intlify-BISCQg1h.js} +0 -0
- /package/dist/{vendor-@vue-aVYGocXp.js → assets/@vue-aVYGocXp.js} +0 -0
- /package/dist/{vendor-moment-h96o7c8I.js → assets/moment-h96o7c8I.js} +0 -0
- /package/dist/{vendor-sprintf-js-BPTdvBYM.js → assets/sprintf-js-BPTdvBYM.js} +0 -0
- /package/dist/{vendor-state-local-CEworIRt.js → assets/state-local-CEworIRt.js} +0 -0
- /package/dist/{vendor-underscore-B0BCaBxV.js → assets/underscore-B0BCaBxV.js} +0 -0
- /package/esm/coms/business/{HaCondition.vue.d.ts → Condition.vue.d.ts} +0 -0
- /package/esm/coms/business/{HaFeedback.vue.d.ts → Feedback.vue.d.ts} +0 -0
- /package/esm/coms/business/{HaSwitch.vue.d.ts → Switch.vue.d.ts} +0 -0
- /package/esm/coms/business/{HaWelcome.vue.d.ts → Welcome.vue.d.ts} +0 -0
- /package/esm/coms/commons/{HaCaptcha.vue.d.ts → Captcha.vue.d.ts} +0 -0
- /package/esm/coms/commons/{HaDebug.vue.d.ts → Debug.vue.d.ts} +0 -0
- /package/esm/coms/commons/{HaEditable.vue.d.ts → Editable.vue.d.ts} +0 -0
- /package/esm/coms/commons/{HaLoading.vue.d.ts → Loading.vue.d.ts} +0 -0
- /package/esm/coms/commons/{HaMouseContext.vue.d.ts → MouseContext.vue.d.ts} +0 -0
- /package/esm/coms/commons/{HaParticles.vue.d.ts → Particles.vue.d.ts} +0 -0
- /package/esm/coms/commons/{HaResizer.vue.d.ts → Resizer.vue.d.ts} +0 -0
- /package/esm/coms/commons/{HaSpinner.vue.d.ts → Spinner.vue.d.ts} +0 -0
- /package/esm/coms/commons/{HaTableColumn.vue.d.ts → TableColumn.vue.d.ts} +0 -0
- /package/esm/coms/globals/{HaHeaderTab.vue.d.ts → HeaderTab.vue.d.ts} +0 -0
- /package/esm/coms/globals/{HaHeaderTabs.vue.d.ts → HeaderTabs.vue.d.ts} +0 -0
- /package/esm/coms/globals/{HaMenu.vue.d.ts → Menu.vue.d.ts} +0 -0
- /package/esm/coms/globals/{HaMenuItem.vue.d.ts → MenuItem.vue.d.ts} +0 -0
- /package/esm/coms/globals/{HaMissComponent.vue.d.ts → MissComponent.vue.d.ts} +0 -0
- /package/esm/coms/globals/{HaSideTab.vue.d.ts → SideTab.vue.d.ts} +0 -0
- /package/esm/coms/globals/{HaSideTabs.vue.d.ts → SideTabs.vue.d.ts} +0 -0
- /package/esm/coms/panels/{HaGroup.vue.d.ts → Group.vue.d.ts} +0 -0
- /package/esm/coms/panels/{HaHeader.vue.d.ts → Header.vue.d.ts} +0 -0
- /package/esm/coms/panels/{HaPanel.vue.d.ts → Panel.vue.d.ts} +0 -0
- /package/esm/coms/panels/{HaShrink.vue.d.ts → Shrink.vue.d.ts} +0 -0
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
|
|
10
10
|
modelValue: { type: [String, Number, Boolean] }
|
11
11
|
},
|
12
12
|
setup(a) {
|
13
|
-
let r = f(() => import("./Dictionary-
|
13
|
+
let r = f(() => import("./Dictionary-BJDdH2_l.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
|
14
14
|
return (h, l) => (b(), w(e(r), {
|
15
15
|
schema: e(m),
|
16
16
|
table: e(s),
|
@@ -0,0 +1,244 @@
|
|
1
|
+
import { defineComponent as Re, defineAsyncComponent as Se, toRefs as ke, ref as m, onMounted as He, computed as K, watch as $e, resolveComponent as b, openBlock as f, createElementBlock as $, Fragment as X, createVNode as R, unref as e, withCtx as v, createTextVNode as Fe, toDisplayString as I, createBlock as F, createCommentVNode as z, renderList as ze, createElementVNode as C, normalizeStyle as De, resolveDynamicComponent as qe, nextTick as Y } from "vue";
|
2
|
+
import { J as Z, P as Be, d as Ie, t as Me, f as Ne, q as ee, s as M, D as y, Q as N, R as te, A as O, O as Oe, N as Te } from "./main-B0cM0pYd.js";
|
3
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
4
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
5
|
+
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
6
|
+
import "./assets/moment-h96o7c8I.js";
|
7
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
8
|
+
const We = {
|
9
|
+
key: 0,
|
10
|
+
class: "required"
|
11
|
+
}, Ae = ["onMouseenter"], Ee = /* @__PURE__ */ C("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ve = { class: "footer-left" }, je = { class: "footer-right" }, Ye = /* @__PURE__ */ Re({
|
12
|
+
__name: "Table",
|
13
|
+
props: {
|
14
|
+
route: {},
|
15
|
+
validateErrors: {},
|
16
|
+
module: {},
|
17
|
+
schema: {},
|
18
|
+
table: {},
|
19
|
+
layout: {},
|
20
|
+
next: {},
|
21
|
+
set: {}
|
22
|
+
},
|
23
|
+
emits: ["submit", "change", "row-edit"],
|
24
|
+
setup(le, { expose: ae, emit: oe }) {
|
25
|
+
let ne = Se(() => import("./Index-Bc53p_JO.js")), D = oe, re = le, { schema: T, table: l, layout: d, set: s, next: Le, route: W, module: S, validateErrors: A } = ke(re), _ = m({ page: 1 }), E = m(), p = m([]), ue = m(!0), k = m(), V = m(), j = m(), L = m(), g = m({ layout: "prev, pager, next", count: 5 }), ie = (t, o, n) => {
|
26
|
+
D("row-edit", t, l.value, n);
|
27
|
+
}, se = (t) => {
|
28
|
+
D("submit", t);
|
29
|
+
}, de = (t, o) => {
|
30
|
+
let n = l.value.show[o];
|
31
|
+
return n._headerWidth ? (t.column.realWidth || t.column.width) > n._headerWidth + 20 : !0;
|
32
|
+
}, pe = (t, o) => {
|
33
|
+
let n = t.target.children[0].offsetWidth, u = l.value.show[o];
|
34
|
+
u._headerWidth = n;
|
35
|
+
}, me = (t, o, n, u, a) => {
|
36
|
+
D("change", t, o, n, u, a);
|
37
|
+
}, P = (t) => s.value[l.value.name].indexOf(t), ce = (t) => {
|
38
|
+
p.value = t;
|
39
|
+
}, fe = async (t, o, n, u, a) => {
|
40
|
+
await Z.setColumnWidth(W.value, a.name, n.property, t);
|
41
|
+
}, ve = (t) => {
|
42
|
+
U(t.contentRect.width), Y(() => {
|
43
|
+
J(t.contentRect.height);
|
44
|
+
});
|
45
|
+
}, U = (t = null) => {
|
46
|
+
let o = y.parentUntil(k.value.$el, ".ha-main-form");
|
47
|
+
t == null && (t = y.getWidth(o)), t <= 690 ? g.value.count = 5 : g.value.count = 7, t <= 300 ? g.value.layout = "pager" : t <= 620 ? g.value.layout = "prev, pager, next" : g.value.layout = "total, prev, pager, next, jumper";
|
48
|
+
}, J = (t = null) => {
|
49
|
+
let o = y.parentUntil(k.value.$el, ".ha-main-form");
|
50
|
+
t || (t = y.getHeight(o));
|
51
|
+
let n = y.getHeight(V.value), u = y.find(o, ".main-footer"), a = y.getHeight(u), i = t - n - a;
|
52
|
+
L.value = `${i}px`;
|
53
|
+
}, ge = async () => {
|
54
|
+
let t = s.value[l.value.name].length, o = M.getDefaultRow(l.value);
|
55
|
+
s.value[l.value.name].push(o);
|
56
|
+
let n = l.value.fields.filter((a) => a.feature != null);
|
57
|
+
for (let a = 0; a < n.length; a++) {
|
58
|
+
let i = n[a];
|
59
|
+
(await N.feature.create(i.feature.type)).add(l.value, i, s.value, o);
|
60
|
+
}
|
61
|
+
q(t);
|
62
|
+
let u = te.isBottom(".tree-detail");
|
63
|
+
await Y(() => {
|
64
|
+
u && te.scrollToBottom(".tree-detail");
|
65
|
+
});
|
66
|
+
}, he = async (t = null) => {
|
67
|
+
let o = p.value[0], n = M.getDefaultRow(l.value), u = O.insert(s.value[l.value.name], o, n), a = l.value.fields.filter((i) => i.feature != null);
|
68
|
+
for (let i = 0; i < a.length; i++) {
|
69
|
+
let c = a[i];
|
70
|
+
(await N.feature.create(c.feature.type)).insert(l.value, c, s.value, o, n);
|
71
|
+
}
|
72
|
+
q(u), t == null || t(u);
|
73
|
+
}, ye = async () => {
|
74
|
+
let t = l.value.key.name, o = Oe.clone(p.value, (a) => {
|
75
|
+
a[t] = null, a[`Old_${t}`] = null;
|
76
|
+
}), n = s.value[l.value.name].indexOf(p.value[0]);
|
77
|
+
for (let a = 0; a < p.value.length; a++) {
|
78
|
+
let i = p.value[a], c = o[a];
|
79
|
+
O.append(s.value[l.value.name], i, c);
|
80
|
+
}
|
81
|
+
let u = l.value.fields.filter((a) => a.feature != null);
|
82
|
+
for (let a = 0; a < u.length; a++) {
|
83
|
+
let i = u[a];
|
84
|
+
(await N.feature.create(i.feature.type)).copy(l.value, i, s.value);
|
85
|
+
}
|
86
|
+
q(n);
|
87
|
+
}, _e = () => {
|
88
|
+
O.remove(s.value[l.value.name], p.value), p.value = [];
|
89
|
+
}, q = (t) => {
|
90
|
+
let o = Te.pageCount(t + 1, d.value.pageSize);
|
91
|
+
_.value.page = o;
|
92
|
+
}, we = (t) => {
|
93
|
+
_.value.page = t;
|
94
|
+
}, xe = () => {
|
95
|
+
k.value.$el.querySelector("tbody");
|
96
|
+
};
|
97
|
+
He(async () => {
|
98
|
+
E.value = await Z.getFieldConfigs(), xe(), U(), Be.detectLoaded(j, () => {
|
99
|
+
J();
|
100
|
+
});
|
101
|
+
});
|
102
|
+
let be = K(() => {
|
103
|
+
let t = (_.value.page - 1) * d.value.pageSize, o = _.value.page * d.value.pageSize - 1;
|
104
|
+
return s.value[l.value.name].filter((u, a) => a >= t && a <= o);
|
105
|
+
}), Ce = K(() => {
|
106
|
+
let t = l.value.main ? `/${l.value.name}` : `/${T.value[0].name}/${l.value.name}`;
|
107
|
+
return Ie.getComponent(`${t}/update-child`, "partial", "update-child");
|
108
|
+
});
|
109
|
+
return $e(A, (t, o) => {
|
110
|
+
let n = t.find((u) => u.table == l.value.name);
|
111
|
+
n != null && (_.value.page = Math.ceil((n.index + 1) / d.value.pageSize));
|
112
|
+
}), ae({ resize: ve }), (t, o) => {
|
113
|
+
const n = b("el-table-column"), u = b("el-tooltip"), a = b("el-popover"), i = b("el-form-item"), c = b("el-table"), Q = b("el-pagination");
|
114
|
+
return f(), $(X, null, [
|
115
|
+
R(c, {
|
116
|
+
ref_key: "tableRef",
|
117
|
+
ref: k,
|
118
|
+
class: "ha-table-layout table-default",
|
119
|
+
size: "small",
|
120
|
+
border: "",
|
121
|
+
"max-height": e(L),
|
122
|
+
data: e(be),
|
123
|
+
onRowClick: o[0] || (o[0] = (r, h, w) => e(ie)(r, h, w)),
|
124
|
+
onSelectionChange: e(ce),
|
125
|
+
onHeaderDragend: o[1] || (o[1] = (r, h, w, H) => e(fe)(r, h, w, H, e(l)))
|
126
|
+
}, {
|
127
|
+
empty: v(() => [
|
128
|
+
Fe(I(e(Me)("common.no_data")), 1)
|
129
|
+
]),
|
130
|
+
default: v(() => [
|
131
|
+
e(ue) ? (f(), F(n, {
|
132
|
+
key: 0,
|
133
|
+
type: "selection",
|
134
|
+
width: "40",
|
135
|
+
fixed: ""
|
136
|
+
})) : z("", !0),
|
137
|
+
(f(!0), $(X, null, ze(e(l).show, (r, h) => {
|
138
|
+
var w, H, G;
|
139
|
+
return f(), F(n, {
|
140
|
+
key: r.name,
|
141
|
+
"show-overflow-tooltip": "",
|
142
|
+
prop: r.name,
|
143
|
+
label: r.label,
|
144
|
+
"min-width": ((G = (H = (w = e(E)) == null ? void 0 : w[e(W)]) == null ? void 0 : H[e(l).name]) == null ? void 0 : G[r.name]) ?? r.control.width,
|
145
|
+
fixed: e(d).fixed.length > 0 ? e(d).fixed.indexOf(r.name) > -1 : h == 0
|
146
|
+
}, {
|
147
|
+
header: v((x) => [
|
148
|
+
e(S).type != "Detail" && r.control.required ? (f(), $("i", We, "*")) : z("", !0),
|
149
|
+
R(u, {
|
150
|
+
placement: "top",
|
151
|
+
content: r.label,
|
152
|
+
disabled: e(de)(x, h)
|
153
|
+
}, {
|
154
|
+
default: v(() => [
|
155
|
+
C("span", {
|
156
|
+
onMouseenter: (B) => e(pe)(B, h)
|
157
|
+
}, [
|
158
|
+
C("span", null, I(e(Ne)(e(l).table, r.name)), 1)
|
159
|
+
], 40, Ae)
|
160
|
+
]),
|
161
|
+
_: 2
|
162
|
+
}, 1032, ["content", "disabled"]),
|
163
|
+
r.control.tooltip ? (f(), F(a, {
|
164
|
+
key: 1,
|
165
|
+
trigger: "hover",
|
166
|
+
placement: "top",
|
167
|
+
width: "auto",
|
168
|
+
title: r.control.tooltip.title
|
169
|
+
}, {
|
170
|
+
reference: v(() => [
|
171
|
+
Ee
|
172
|
+
]),
|
173
|
+
default: v(() => [
|
174
|
+
C("pre", null, I(r.control.tooltip.content), 1)
|
175
|
+
]),
|
176
|
+
_: 2
|
177
|
+
}, 1032, ["title"])) : z("", !0)
|
178
|
+
]),
|
179
|
+
default: v((x) => [
|
180
|
+
R(i, {
|
181
|
+
style: De(e(ee).getStyle(r, e(S).type, e(d).type)),
|
182
|
+
rules: e(M).getRules(e(A), e(l), r, x.$index),
|
183
|
+
prop: `[${e(l).name}][${e(P)(x.row)}][${r.name}]`
|
184
|
+
}, {
|
185
|
+
default: v(() => [
|
186
|
+
R(e(ne), {
|
187
|
+
schema: e(T),
|
188
|
+
table: e(l),
|
189
|
+
field: r,
|
190
|
+
set: e(s),
|
191
|
+
row: x.row,
|
192
|
+
config: e(ee).getConfig(r, e(S).type, e(d).type),
|
193
|
+
onSubmit: e(se),
|
194
|
+
onChange: (B) => e(me)(B, e(s), e(l), r, e(P)(x.row))
|
195
|
+
}, null, 8, ["schema", "table", "field", "set", "row", "config", "onSubmit", "onChange"])
|
196
|
+
]),
|
197
|
+
_: 2
|
198
|
+
}, 1032, ["style", "rules", "prop"])
|
199
|
+
]),
|
200
|
+
_: 2
|
201
|
+
}, 1032, ["prop", "label", "min-width", "fixed"]);
|
202
|
+
}), 128))
|
203
|
+
]),
|
204
|
+
_: 1
|
205
|
+
}, 8, ["max-height", "data", "onSelectionChange"]),
|
206
|
+
e(l).main ? z("", !0) : (f(), $("div", {
|
207
|
+
key: 0,
|
208
|
+
ref_key: "footerRef",
|
209
|
+
ref: V,
|
210
|
+
class: "table-footer"
|
211
|
+
}, [
|
212
|
+
C("div", Ve, [
|
213
|
+
(f(), F(qe(e(Ce)), {
|
214
|
+
ref_key: "operationRef",
|
215
|
+
ref: j,
|
216
|
+
module: e(S),
|
217
|
+
table: e(l),
|
218
|
+
set: e(s),
|
219
|
+
selection: e(p),
|
220
|
+
onAdd: e(ge),
|
221
|
+
onInsert: e(he),
|
222
|
+
onCopy: e(ye),
|
223
|
+
onRemove: e(_e)
|
224
|
+
}, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
|
225
|
+
]),
|
226
|
+
C("div", je, [
|
227
|
+
R(Q, {
|
228
|
+
background: "",
|
229
|
+
layout: e(g).layout,
|
230
|
+
"current-page": e(_).page,
|
231
|
+
"page-size": e(d).pageSize,
|
232
|
+
"pager-count": e(g).count,
|
233
|
+
total: e(s)[e(l).name].length,
|
234
|
+
onCurrentChange: e(we)
|
235
|
+
}, null, 8, ["layout", "current-page", "page-size", "pager-count", "total", "onCurrentChange"])
|
236
|
+
])
|
237
|
+
], 512))
|
238
|
+
], 64);
|
239
|
+
};
|
240
|
+
}
|
241
|
+
});
|
242
|
+
export {
|
243
|
+
Ye as default
|
244
|
+
};
|
@@ -0,0 +1,324 @@
|
|
1
|
+
import { defineComponent as We, toRefs as He, ref as i, onMounted as Be, nextTick as K, computed as le, resolveComponent as k, openBlock as f, createElementBlock as D, createVNode as v, unref as e, isRef as w, normalizeClass as De, withCtx as h, createTextVNode as oe, toDisplayString as R, Fragment as Te, renderList as Ue, createBlock as S, createCommentVNode as z, createElementVNode as T, resolveDynamicComponent as Ne } from "vue";
|
2
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
3
|
+
import { J as P, D as $, d as Ee, K as Le, t as j, f as Me, q as qe, L as Ke, N as Pe, U as je, a as Ae, h as Fe, m as Oe, b as Ie } from "./main-B0cM0pYd.js";
|
4
|
+
import "./assets/underscore-B0BCaBxV.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/clone-BZn0cTAu.js";
|
7
|
+
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
8
|
+
import "./assets/moment-h96o7c8I.js";
|
9
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
10
|
+
import { _ as Je } from "./SearchForm.vue_vue_type_style_index_0_lang-Bf6geAOD.js";
|
11
|
+
import { _ as Ge } from "./DataImport.vue_vue_type_script_setup_true_lang-a85kfspl.js";
|
12
|
+
import { _ as Qe } from "./DataExport.vue_vue_type_script_setup_true_lang-BppwAGES.js";
|
13
|
+
import { _ as Xe } from "./Index.vue_vue_type_style_index_0_lang-CVdVS4kL.js";
|
14
|
+
import "vue-router";
|
15
|
+
import "./assets/intro.js-DxWjEdp_.js";
|
16
|
+
import { _ as Ye } from "./SearchFooter.vue_vue_type_style_index_0_lang-DkleuxZO.js";
|
17
|
+
const Ze = {
|
18
|
+
key: 0,
|
19
|
+
class: "required"
|
20
|
+
}, et = ["onMouseenter"], tt = { class: "el-drawer__title" }, at = { key: 0 }, lt = ["href"], _t = /* @__PURE__ */ We({
|
21
|
+
__name: "Table",
|
22
|
+
props: {
|
23
|
+
searchData: {},
|
24
|
+
module: {},
|
25
|
+
schema: {},
|
26
|
+
table: {},
|
27
|
+
layout: {},
|
28
|
+
next: {},
|
29
|
+
set: {}
|
30
|
+
},
|
31
|
+
emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
|
32
|
+
setup(ne, { expose: re, emit: se }) {
|
33
|
+
let b = se, ie = ne, { module: ue, schema: U, table: r, layout: u, next: p, set: _, searchData: A } = He(ie), N = i([]), V = i(), E = i(), L = i(), F = i(), O = i(), W = i(), m = i(!1), g = i(!1), I = i(), J = i("120px"), G = i(), y = i({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), H = i(), n = i({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = (t) => {
|
34
|
+
x("insert", null, t);
|
35
|
+
}, pe = (t, a) => {
|
36
|
+
x("detail", t, a);
|
37
|
+
}, me = (t, a) => {
|
38
|
+
x("update", t, a);
|
39
|
+
}, ge = (t, a) => {
|
40
|
+
x("copy", t, a);
|
41
|
+
}, ce = (t, a) => {
|
42
|
+
x("delete", t, a);
|
43
|
+
}, Q = (t) => {
|
44
|
+
let a = t.map((o) => o[r.value.key.name]);
|
45
|
+
Fe.post(p.value.delete.route, a).then((o) => {
|
46
|
+
Oe.success(o.message), M();
|
47
|
+
});
|
48
|
+
}, x = (t, a, o) => {
|
49
|
+
let s = ve(t, a);
|
50
|
+
o.ctrlKey ? (n.value.row = null, b("navigate", s)) : (n.value.appendToBody = o.altKey, n.value.page = t, n.value.url = s, n.value.row = a, n.value.visible = !0);
|
51
|
+
}, ve = (t, a = null) => {
|
52
|
+
let o = `${p.value[t].route}`;
|
53
|
+
if (a != null) {
|
54
|
+
let s = a[r.value.key.name];
|
55
|
+
o += `?id=${s}`;
|
56
|
+
}
|
57
|
+
return o;
|
58
|
+
}, fe = () => {
|
59
|
+
n.value.visible = !1, b("close");
|
60
|
+
}, he = (t) => {
|
61
|
+
n.value.title = Ie(t.module.type, t.module.name), n.value.env = t.module.env;
|
62
|
+
}, M = () => {
|
63
|
+
n.value.visible = !1;
|
64
|
+
let t = N.value;
|
65
|
+
b("succeed", (a) => {
|
66
|
+
let o = a.data.set[r.value.name];
|
67
|
+
if (!o.length)
|
68
|
+
return;
|
69
|
+
let s = r.value.key;
|
70
|
+
K(() => {
|
71
|
+
let c = n.value.row;
|
72
|
+
if (c) {
|
73
|
+
let d = o.find((C) => C[s.name] == c[s.name]);
|
74
|
+
d && E.value.setCurrentRow(d);
|
75
|
+
}
|
76
|
+
if (t.length > 0)
|
77
|
+
for (let d of t) {
|
78
|
+
let C = o.find((l) => l[s.name] == d[s.name]);
|
79
|
+
E.value.toggleRowSelection(C, !0);
|
80
|
+
}
|
81
|
+
});
|
82
|
+
});
|
83
|
+
}, X = (t) => {
|
84
|
+
b("search", t);
|
85
|
+
}, ye = (t) => {
|
86
|
+
b("page-change", t);
|
87
|
+
}, be = (t) => {
|
88
|
+
b("size-change", t);
|
89
|
+
}, we = (t, a) => {
|
90
|
+
let o = { [a.name]: { [t.prop]: t.order != "descending" ? "asc" : "desc" } };
|
91
|
+
b("sort", o);
|
92
|
+
}, _e = (t, a, o, s, c) => {
|
93
|
+
}, xe = (t) => {
|
94
|
+
J.value = t;
|
95
|
+
}, Ce = (t, a) => {
|
96
|
+
N.value = t;
|
97
|
+
}, ke = (t, a, o) => {
|
98
|
+
let s = t.target.children[0], c = $.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
|
99
|
+
o._headerTooltip = c > d;
|
100
|
+
}, Re = async (t, a, o, s) => {
|
101
|
+
await P.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
|
102
|
+
}, Y = () => {
|
103
|
+
var s, c, d;
|
104
|
+
let t = $.getHeight(V.value), a = $.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = F.value) == null ? void 0 : c.$el, (d = O.value) == null ? void 0 : d.$el]), o = t - a;
|
105
|
+
I.value = `${o}px`;
|
106
|
+
}, Z = () => {
|
107
|
+
let t = H.value;
|
108
|
+
t <= 690 ? y.value.count = 5 : y.value.count = 7, t <= 300 ? y.value.layout = "pager" : t <= 620 ? y.value.layout = "prev, pager, next" : y.value.layout = "sizes, total, prev, pager, next, jumper";
|
109
|
+
}, Se = (t, a) => {
|
110
|
+
if (!W.value || !W.value.keyboard)
|
111
|
+
return !1;
|
112
|
+
W.value.keyboard(t, a);
|
113
|
+
}, ze = (t) => {
|
114
|
+
L.value.resize(t), H.value = $.getWidth(V.value), Z(), K(() => {
|
115
|
+
Y();
|
116
|
+
});
|
117
|
+
};
|
118
|
+
Be(async () => {
|
119
|
+
G.value = await P.getFieldConfigs(), H.value = $.getWidth(V.value), Z(), K(() => {
|
120
|
+
Y();
|
121
|
+
});
|
122
|
+
});
|
123
|
+
let $e = le(() => {
|
124
|
+
let a = Object.keys(u.value.orderBys)[0], o = u.value.orderBys[a];
|
125
|
+
return { prop: a, order: o ? "ascending" : "descending" };
|
126
|
+
}), Ve = le(() => {
|
127
|
+
let t = `/${r.value.name}/paging-row`;
|
128
|
+
return Ee.getComponent(t, "partial", "paging-row");
|
129
|
+
});
|
130
|
+
return re({ keyboard: Se, resize: ze }), (t, a) => {
|
131
|
+
const o = k("el-table-column"), s = k("el-tooltip"), c = k("el-table"), d = k("el-pagination"), C = k("el-drawer");
|
132
|
+
return f(), D("div", {
|
133
|
+
ref_key: "pagingRef",
|
134
|
+
ref: V,
|
135
|
+
class: "paging-table"
|
136
|
+
}, [
|
137
|
+
v(Je, {
|
138
|
+
ref_key: "searchRef",
|
139
|
+
ref: L,
|
140
|
+
schema: e(U),
|
141
|
+
table: e(r),
|
142
|
+
layout: e(u),
|
143
|
+
"search-data": e(A),
|
144
|
+
onSubmit: e(X)
|
145
|
+
}, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
|
146
|
+
v(Ye, {
|
147
|
+
ref_key: "headerRef",
|
148
|
+
ref: F,
|
149
|
+
schema: e(U),
|
150
|
+
table: e(r),
|
151
|
+
layout: e(u),
|
152
|
+
set: e(_),
|
153
|
+
next: e(p),
|
154
|
+
selection: e(N),
|
155
|
+
"search-data": e(A),
|
156
|
+
onAdd: e(de),
|
157
|
+
onRemove: e(Q),
|
158
|
+
onShowImport: a[0] || (a[0] = (l) => w(m) ? m.value = !0 : m = !0),
|
159
|
+
onShowExport: a[1] || (a[1] = (l) => w(g) ? g.value = !0 : g = !0),
|
160
|
+
onSearch: e(X)
|
161
|
+
}, null, 8, ["schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
|
162
|
+
v(c, {
|
163
|
+
ref_key: "tableRef",
|
164
|
+
ref: E,
|
165
|
+
class: De([{ "hide-nav": e(Le).hideNav }, "table-default table-paging"]),
|
166
|
+
size: "small",
|
167
|
+
border: "",
|
168
|
+
"highlight-current-row": "",
|
169
|
+
"max-height": e(I),
|
170
|
+
data: e(_)[e(r).name],
|
171
|
+
"default-sort": e($e),
|
172
|
+
onSelectionChange: a[2] || (a[2] = (l) => e(Ce)(l, e(r))),
|
173
|
+
onSortChange: a[3] || (a[3] = (l) => e(we)(l, e(r))),
|
174
|
+
onHeaderDragend: e(Re)
|
175
|
+
}, {
|
176
|
+
empty: h(() => [
|
177
|
+
oe(R(e(j)("common.no_data")), 1)
|
178
|
+
]),
|
179
|
+
default: h(() => [
|
180
|
+
v(o, {
|
181
|
+
type: "selection",
|
182
|
+
width: "30"
|
183
|
+
}),
|
184
|
+
(f(!0), D(Te, null, Ue(e(r).show, (l, ot) => {
|
185
|
+
var ee, te, ae;
|
186
|
+
return f(), S(o, {
|
187
|
+
sortable: e(r) ? "custom" : !1,
|
188
|
+
prop: l.name,
|
189
|
+
"sort-orders": ["descending", "ascending"],
|
190
|
+
fixed: e(u).fixed.indexOf(l.name) > -1,
|
191
|
+
"min-width": ((ae = (te = (ee = e(G)) == null ? void 0 : ee[e(p).paging.route]) == null ? void 0 : te[e(r).name]) == null ? void 0 : ae[l.name]) ?? l.control.width,
|
192
|
+
label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
|
193
|
+
key: `${e(r).name}.${l.name}`
|
194
|
+
}, {
|
195
|
+
header: h((B) => [
|
196
|
+
l.control.required && l.control.editable ? (f(), D("i", Ze)) : z("", !0),
|
197
|
+
v(s, {
|
198
|
+
placement: "top",
|
199
|
+
content: l.label,
|
200
|
+
disabled: !l._headerTooltip
|
201
|
+
}, {
|
202
|
+
default: h(() => [
|
203
|
+
T("span", {
|
204
|
+
onMouseenter: (q) => e(ke)(q, B.column, l)
|
205
|
+
}, [
|
206
|
+
T("span", null, R(e(Me)(e(r).name, l.name)), 1)
|
207
|
+
], 40, et)
|
208
|
+
]),
|
209
|
+
_: 2
|
210
|
+
}, 1032, ["content", "disabled"])
|
211
|
+
]),
|
212
|
+
default: h((B) => [
|
213
|
+
v(Xe, {
|
214
|
+
schema: e(U),
|
215
|
+
table: e(r),
|
216
|
+
field: l,
|
217
|
+
set: e(_),
|
218
|
+
row: B.row,
|
219
|
+
config: e(qe).getConfig(l, e(ue).type, e(u).type),
|
220
|
+
onChange: (q) => e(_e)(q, e(r), l, e(_), B.row)
|
221
|
+
}, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
|
222
|
+
]),
|
223
|
+
_: 2
|
224
|
+
}, 1032, ["sortable", "prop", "fixed", "min-width", "label"]);
|
225
|
+
}), 128)),
|
226
|
+
v(o, {
|
227
|
+
label: e(j)("common.operation"),
|
228
|
+
fixed: "right",
|
229
|
+
"show-overflow-tooltip": "",
|
230
|
+
"min-width": e(J)
|
231
|
+
}, {
|
232
|
+
default: h((l) => [
|
233
|
+
(f(), S(Ne(e(Ve)), {
|
234
|
+
table: e(r),
|
235
|
+
next: e(p),
|
236
|
+
set: e(_),
|
237
|
+
row: l.row,
|
238
|
+
onPreview: e(pe),
|
239
|
+
onEdit: e(me),
|
240
|
+
onCopy: e(ge),
|
241
|
+
onBeforeRemove: e(ce),
|
242
|
+
onRemove: e(Q),
|
243
|
+
onChangeWidth: e(xe)
|
244
|
+
}, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove", "onChangeWidth"]))
|
245
|
+
]),
|
246
|
+
_: 1
|
247
|
+
}, 8, ["label", "min-width"])
|
248
|
+
]),
|
249
|
+
_: 1
|
250
|
+
}, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
|
251
|
+
v(e(Ke), {
|
252
|
+
ref_key: "footerRef",
|
253
|
+
ref: O,
|
254
|
+
class: "list-toolbar"
|
255
|
+
}, {
|
256
|
+
default: h(() => [
|
257
|
+
v(d, {
|
258
|
+
background: "",
|
259
|
+
layout: e(y).layout,
|
260
|
+
"current-page": e(u).page,
|
261
|
+
"pager-count": e(y).count,
|
262
|
+
total: e(u).count,
|
263
|
+
"page-sizes": e(y).sizes,
|
264
|
+
onCurrentChange: e(ye),
|
265
|
+
onSizeChange: e(be),
|
266
|
+
"page-size": e(u).pageSize,
|
267
|
+
"onUpdate:pageSize": a[4] || (a[4] = (l) => e(u).pageSize = l)
|
268
|
+
}, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
|
269
|
+
]),
|
270
|
+
_: 1
|
271
|
+
}, 512),
|
272
|
+
e(p).import ? (f(), S(Ge, {
|
273
|
+
key: 0,
|
274
|
+
next: e(p),
|
275
|
+
onClose: a[5] || (a[5] = (l) => w(m) ? m.value = !1 : m = !1),
|
276
|
+
onSucceed: e(M),
|
277
|
+
modelValue: e(m),
|
278
|
+
"onUpdate:modelValue": a[6] || (a[6] = (l) => w(m) ? m.value = l : m = l)
|
279
|
+
}, null, 8, ["next", "onSucceed", "modelValue"])) : z("", !0),
|
280
|
+
e(p).export ? (f(), S(Qe, {
|
281
|
+
key: 1,
|
282
|
+
route: e(p).export.route,
|
283
|
+
"page-count": e(Pe).pageCount(e(u).count, e(u).pageSize),
|
284
|
+
onClose: a[7] || (a[7] = (l) => w(g) ? g.value = !1 : g = !1),
|
285
|
+
modelValue: e(g),
|
286
|
+
"onUpdate:modelValue": a[8] || (a[8] = (l) => w(g) ? g.value = l : g = l)
|
287
|
+
}, null, 8, ["route", "page-count", "modelValue"])) : z("", !0),
|
288
|
+
e(n).page ? (f(), S(C, {
|
289
|
+
key: 2,
|
290
|
+
"destroy-on-close": "",
|
291
|
+
"append-to-body": e(n).appendToBody,
|
292
|
+
size: e(P).getDrawerWidth(e(H)),
|
293
|
+
modelValue: e(n).visible,
|
294
|
+
"onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
|
295
|
+
}, {
|
296
|
+
header: h(() => [
|
297
|
+
T("div", tt, [
|
298
|
+
oe(R(e(n).title) + " ", 1),
|
299
|
+
e(n).env ? (f(), D("span", at, "[" + R(e(n).env) + "]", 1)) : z("", !0),
|
300
|
+
T("a", {
|
301
|
+
class: "drawer-copy",
|
302
|
+
href: e(je).getToUrl(e(n).url)
|
303
|
+
}, R(e(j)("common.link")), 9, lt)
|
304
|
+
])
|
305
|
+
]),
|
306
|
+
default: h(() => [
|
307
|
+
v(e(Ae), {
|
308
|
+
ref_key: "pageRef",
|
309
|
+
ref: W,
|
310
|
+
url: e(n).url,
|
311
|
+
onLoaded: e(he),
|
312
|
+
onSucceed: e(M),
|
313
|
+
onClose: e(fe)
|
314
|
+
}, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
|
315
|
+
]),
|
316
|
+
_: 1
|
317
|
+
}, 8, ["append-to-body", "size", "modelValue"])) : z("", !0)
|
318
|
+
], 512);
|
319
|
+
};
|
320
|
+
}
|
321
|
+
});
|
322
|
+
export {
|
323
|
+
_t as default
|
324
|
+
};
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { defineComponent as _, toRefs as g, computed as x, resolveComponent as V, openBlock as C, createBlock as b, unref as e, withKeys as y, isRef as v, createSlots as k, withCtx as D, createTextVNode as K, toDisplayString as w } from "vue";
|
2
|
+
import "./assets/underscore.string-DVXD2SZo.js";
|
3
|
+
import "./assets/clone-BZn0cTAu.js";
|
4
|
+
import "./assets/underscore-B0BCaBxV.js";
|
5
|
+
import "./assets/file-saver-CwlpTZSc.js";
|
6
|
+
import "./assets/@monaco-editor-BCDRi0Ti.js";
|
7
|
+
import "./assets/moment-h96o7c8I.js";
|
8
|
+
import { g as B } from "./main-B0cM0pYd.js";
|
9
|
+
import "./assets/liquidjs-C-LVcoaY.js";
|
10
|
+
const F = /* @__PURE__ */ _({
|
11
|
+
__name: "Text",
|
12
|
+
props: {
|
13
|
+
schema: {},
|
14
|
+
table: {},
|
15
|
+
field: {},
|
16
|
+
searchData: {},
|
17
|
+
modelValue: {}
|
18
|
+
},
|
19
|
+
emits: ["change", "submit", "update:modelValue"],
|
20
|
+
setup(p, { emit: i }) {
|
21
|
+
let l = i, u = p, { table: s, field: a, searchData: R, modelValue: d } = g(u), c = (o) => {
|
22
|
+
l("change", o);
|
23
|
+
}, n = () => {
|
24
|
+
l("submit");
|
25
|
+
}, f = () => {
|
26
|
+
n();
|
27
|
+
}, t = x({
|
28
|
+
get() {
|
29
|
+
return d.value;
|
30
|
+
},
|
31
|
+
set(o) {
|
32
|
+
l("update:modelValue", o);
|
33
|
+
}
|
34
|
+
});
|
35
|
+
return (o, r) => {
|
36
|
+
const h = V("el-input");
|
37
|
+
return C(), b(h, {
|
38
|
+
type: "text",
|
39
|
+
placeholder: e(B)(e(s).name, e(a).name),
|
40
|
+
clearable: "",
|
41
|
+
onKeyup: y(e(n), ["enter", "native"]),
|
42
|
+
onChange: e(c),
|
43
|
+
onClear: e(f),
|
44
|
+
modelValue: e(t),
|
45
|
+
"onUpdate:modelValue": r[0] || (r[0] = (m) => v(t) ? t.value = m : t = m)
|
46
|
+
}, k({ _: 2 }, [
|
47
|
+
e(a).suffix ? {
|
48
|
+
name: "append",
|
49
|
+
fn: D(() => [
|
50
|
+
K(w(e(a).suffix), 1)
|
51
|
+
]),
|
52
|
+
key: "0"
|
53
|
+
} : void 0
|
54
|
+
]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
|
55
|
+
};
|
56
|
+
}
|
57
|
+
});
|
58
|
+
export {
|
59
|
+
F as default
|
60
|
+
};
|