aldehyde 0.0.12 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bundle.0f01596e1e84d10b8bf2.js +2 -0
- package/dist/bundle.0f01596e1e84d10b8bf2.js.LICENSE.txt +122 -0
- package/dist/bundle.2a04acb7ce8764934edb.js +1 -0
- package/dist/bundle.30500c2afe2c2c45acf6.js +2 -0
- package/dist/bundle.30500c2afe2c2c45acf6.js.LICENSE.txt +17 -0
- package/dist/bundle.53f2485b907e007e5782.js +2 -0
- package/dist/bundle.53f2485b907e007e5782.js.LICENSE.txt +5 -0
- package/dist/bundle.7a7aa9bf0933d82c416d.js +1 -0
- package/dist/bundle.7ed5a8e47d06d7301945.js +1 -0
- package/dist/bundle.9ca5093d1fc9c8298519.js +1 -0
- package/dist/bundle.a2469e87c8ecb696ca29.js +2 -0
- package/dist/bundle.a2469e87c8ecb696ca29.js.LICENSE.txt +43 -0
- package/dist/bundle.a25841069e0a603e5e3d.js +1 -0
- package/dist/bundle.b2d721b5b57471802e74.js +1 -0
- package/dist/bundle.be9a8465528cb86c29f8.js +1 -0
- package/dist/bundle.c09dd9933f9d77879825.js +1 -0
- package/dist/bundle.cac31c728de49f12bac4.js +1 -0
- package/dist/bundle.e5c8b85d867994f256ca.js +1 -0
- package/dist/bundle.fac79e21e934e1941ef8.js +1 -0
- package/dist/css/163-24392163d3c7b54ea806.css +11 -0
- package/dist/css/290-5e8e152675ab7d201c00.css +886 -0
- package/dist/css/main-cd12907a3d8559605f72.css +27274 -0
- package/dist/images/development-30de07a0.png +0 -0
- package/dist/images/header01-e798000c.jpg +0 -0
- package/dist/images/header02-a5f1ecbc.jpg +0 -0
- package/dist/images/logo-54b328b7.png +0 -0
- package/dist/images/pain-point-8f02421e.png +0 -0
- package/dist/images/target-13a5b4b9.png +0 -0
- package/dist/images/time-cost-cb40d2c2.png +0 -0
- package/dist/images/time-prograss-44b86b36.png +0 -0
- package/dist/index.html +1 -1
- package/lib/{components/chart → chart}/antd/Chart.d.ts +0 -0
- package/lib/chart/antd/Chart.d.ts.map +1 -0
- package/lib/{components/chart → chart}/antd/Chart.js +0 -0
- package/lib/chart/antd/Chart.js.map +1 -0
- package/lib/{components/chart → chart}/antd/Chart10000.d.ts +0 -0
- package/lib/chart/antd/Chart10000.d.ts.map +1 -0
- package/lib/{components/chart → chart}/antd/Chart10000.js +0 -0
- package/lib/chart/antd/Chart10000.js.map +1 -0
- package/lib/{components/chart → chart}/antd/Max2DimLineChart.d.ts +0 -0
- package/lib/chart/antd/Max2DimLineChart.d.ts.map +1 -0
- package/lib/{components/chart → chart}/antd/Max2DimLineChart.js +0 -0
- package/lib/chart/antd/Max2DimLineChart.js.map +1 -0
- package/lib/chart/antd/PieChart1.d.ts +4 -0
- package/lib/chart/antd/PieChart1.d.ts.map +1 -0
- package/lib/chart/antd/PieChart1.js +54 -0
- package/lib/chart/antd/PieChart1.js.map +1 -0
- package/lib/{components/chart → chart}/antd/PieChart2.d.ts +0 -0
- package/lib/chart/antd/PieChart2.d.ts.map +1 -0
- package/lib/{components/chart → chart}/antd/PieChart2.js +0 -0
- package/lib/chart/antd/PieChart2.js.map +1 -0
- package/lib/{components/chart → chart}/antd/chart-utils.d.ts +0 -0
- package/lib/chart/antd/chart-utils.d.ts.map +1 -0
- package/lib/{components/chart → chart}/antd/chart-utils.js +0 -0
- package/lib/chart/antd/chart-utils.js.map +1 -0
- package/lib/{components/chart → chart}/antd/column-chart-sub.d.ts +0 -0
- package/lib/chart/antd/column-chart-sub.d.ts.map +1 -0
- package/lib/{components/chart → chart}/antd/column-chart-sub.js +0 -0
- package/lib/chart/antd/column-chart-sub.js.map +1 -0
- package/lib/{components/chart → chart}/antd/line-chart-sub.d.ts +0 -0
- package/lib/chart/antd/line-chart-sub.d.ts.map +1 -0
- package/lib/{components/chart → chart}/antd/line-chart-sub.js +0 -0
- package/lib/chart/antd/line-chart-sub.js.map +1 -0
- package/lib/{components/chart → chart}/antd/pie-chart-sub.d.ts +0 -0
- package/lib/chart/antd/pie-chart-sub.d.ts.map +1 -0
- package/lib/{components/chart → chart}/antd/pie-chart-sub.js +0 -0
- package/lib/chart/antd/pie-chart-sub.js.map +1 -0
- package/lib/{components/chart → chart}/antd/statview-d2-chart.d.ts +0 -0
- package/lib/chart/antd/statview-d2-chart.d.ts.map +1 -0
- package/lib/{components/chart → chart}/antd/statview-d2-chart.js +0 -0
- package/lib/chart/antd/statview-d2-chart.js.map +1 -0
- package/lib/{components/chart → chart}/statview-l2-chart.d.ts +0 -0
- package/lib/chart/statview-l2-chart.d.ts.map +1 -0
- package/lib/{components/chart → chart}/statview-l2-chart.js +0 -0
- package/lib/chart/statview-l2-chart.js.map +1 -0
- package/lib/{components/controls → controls}/action/index.css +0 -0
- package/lib/{components/controls → controls}/action/index.d.ts +0 -0
- package/lib/controls/action/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/action/index.js +0 -0
- package/lib/controls/action/index.js.map +1 -0
- package/lib/{components/controls → controls}/action/utils.d.ts +0 -0
- package/lib/controls/action/utils.d.ts.map +1 -0
- package/lib/{components/controls → controls}/action/utils.js +0 -0
- package/lib/controls/action/utils.js.map +1 -0
- package/lib/{components/controls → controls}/auto-complete/index.d.ts +0 -0
- package/lib/controls/auto-complete/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/auto-complete/index.js +0 -0
- package/lib/controls/auto-complete/index.js.map +1 -0
- package/lib/{components/controls → controls}/cascader/index.d.ts +0 -0
- package/lib/controls/cascader/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/cascader/index.js +0 -0
- package/lib/controls/cascader/index.js.map +1 -0
- package/lib/{components/controls → controls}/chemstruc/graph.d.ts +0 -0
- package/lib/controls/chemstruc/graph.d.ts.map +1 -0
- package/lib/{components/controls → controls}/chemstruc/graph.js +0 -0
- package/lib/controls/chemstruc/graph.js.map +1 -0
- package/lib/{components/controls → controls}/chemstruc/index.css +0 -0
- package/lib/{components/controls → controls}/collapse-card/index.css +0 -0
- package/lib/{components/controls → controls}/collapse-card/index.d.ts +0 -0
- package/lib/controls/collapse-card/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/collapse-card/index.js +0 -0
- package/lib/controls/collapse-card/index.js.map +1 -0
- package/lib/{components/controls → controls}/color-picker/index.css +0 -0
- package/lib/{components/controls → controls}/color-picker/index.d.ts +0 -0
- package/lib/controls/color-picker/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/color-picker/index.js +0 -0
- package/lib/controls/color-picker/index.js.map +1 -0
- package/lib/{components/controls → controls}/cquery/cquick-button.d.ts +0 -0
- package/lib/controls/cquery/cquick-button.d.ts.map +1 -0
- package/lib/controls/cquery/cquick-button.js +69 -0
- package/lib/controls/cquery/cquick-button.js.map +1 -0
- package/lib/{components/controls → controls}/date-picker/index.d.ts +0 -0
- package/lib/controls/date-picker/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/date-picker/index.js +0 -0
- package/lib/controls/date-picker/index.js.map +1 -0
- package/lib/{components/controls → controls}/entity-select/entity-select.d.ts +0 -0
- package/lib/controls/entity-select/entity-select.d.ts.map +1 -0
- package/lib/{components/controls → controls}/entity-select/entity-select.js +0 -0
- package/lib/controls/entity-select/entity-select.js.map +1 -0
- package/lib/{components/controls → controls}/entity-select/index.css +0 -0
- package/lib/{components/controls → controls}/entity-select/popover-entity-select.d.ts +0 -0
- package/lib/controls/entity-select/popover-entity-select.d.ts.map +1 -0
- package/lib/{components/controls → controls}/entity-select/popover-entity-select.js +0 -0
- package/lib/controls/entity-select/popover-entity-select.js.map +1 -0
- package/lib/{components/controls → controls}/entry-control.d.ts +0 -0
- package/lib/controls/entry-control.d.ts.map +1 -0
- package/lib/{components/controls → controls}/entry-control.js +0 -0
- package/lib/controls/entry-control.js.map +1 -0
- package/lib/{components/controls → controls}/enum-badge/index.d.ts +0 -0
- package/lib/controls/enum-badge/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/enum-badge/index.js +0 -0
- package/lib/controls/enum-badge/index.js.map +1 -0
- package/lib/{components/controls → controls}/enum-tag/index.d.ts +0 -0
- package/lib/controls/enum-tag/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/enum-tag/index.js +0 -0
- package/lib/controls/enum-tag/index.js.map +1 -0
- package/lib/{components/controls → controls}/file-view/drawer-file-view.d.ts +0 -0
- package/lib/controls/file-view/drawer-file-view.d.ts.map +1 -0
- package/lib/{components/controls → controls}/file-view/drawer-file-view.js +0 -0
- package/lib/controls/file-view/drawer-file-view.js.map +1 -0
- package/lib/{components/controls → controls}/file-view/index.d.ts +0 -0
- package/lib/controls/file-view/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/file-view/index.js +0 -0
- package/lib/controls/file-view/index.js.map +1 -0
- package/lib/{components/controls → controls}/html-editor/draft.d.ts +0 -0
- package/lib/controls/html-editor/draft.d.ts.map +1 -0
- package/lib/{components/controls → controls}/html-editor/draft.js +0 -0
- package/lib/controls/html-editor/draft.js.map +1 -0
- package/lib/{components/controls → controls}/html-editor/tinymce.d.ts +0 -0
- package/lib/controls/html-editor/tinymce.d.ts.map +1 -0
- package/lib/{components/controls → controls}/html-editor/tinymce.js +0 -0
- package/lib/controls/html-editor/tinymce.js.map +1 -0
- package/lib/{components/controls → controls}/input-number/index.d.ts +0 -0
- package/lib/controls/input-number/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/input-number/index.js +0 -0
- package/lib/controls/input-number/index.js.map +1 -0
- package/lib/{components/controls → controls}/input-range/index.d.ts +0 -0
- package/lib/controls/input-range/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/input-range/index.js +0 -0
- package/lib/controls/input-range/index.js.map +1 -0
- package/lib/{components/controls → controls}/password-setter/index.css +0 -0
- package/lib/{components/controls → controls}/password-setter/index.d.ts +0 -0
- package/lib/controls/password-setter/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/password-setter/index.js +0 -0
- package/lib/controls/password-setter/index.js.map +1 -0
- package/lib/{components/controls → controls}/progress/index.d.ts +0 -0
- package/lib/controls/progress/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/progress/index.js +0 -0
- package/lib/controls/progress/index.js.map +1 -0
- package/lib/{components/controls → controls}/relation-existion/index.css +0 -0
- package/lib/{components/controls → controls}/relation-existion/index.d.ts +0 -0
- package/lib/controls/relation-existion/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/relation-existion/index.js +0 -0
- package/lib/controls/relation-existion/index.js.map +1 -0
- package/lib/{components/controls → controls}/rfield/index.css +0 -0
- package/lib/{components/controls → controls}/rfield/index.d.ts +0 -0
- package/lib/controls/rfield/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/rfield/index.js +0 -0
- package/lib/controls/rfield/index.js.map +1 -0
- package/lib/{components/controls → controls}/signature/index.d.ts +0 -0
- package/lib/controls/signature/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/signature/index.js +0 -0
- package/lib/controls/signature/index.js.map +1 -0
- package/lib/{components/controls → controls}/steps/index.d.ts +0 -0
- package/lib/controls/steps/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/steps/index.js +0 -0
- package/lib/controls/steps/index.js.map +1 -0
- package/lib/{components/controls → controls}/text/ellipsis-text.d.ts +0 -0
- package/lib/controls/text/ellipsis-text.d.ts.map +1 -0
- package/lib/{components/controls → controls}/text/ellipsis-text.js +0 -0
- package/lib/controls/text/ellipsis-text.js.map +1 -0
- package/lib/{components/controls → controls}/upload/index.d.ts +0 -0
- package/lib/controls/upload/index.d.ts.map +1 -0
- package/lib/{components/controls → controls}/upload/index.js +0 -0
- package/lib/controls/upload/index.js.map +1 -0
- package/lib/{components/controls → controls}/view-control.d.ts +0 -0
- package/lib/controls/view-control.d.ts.map +1 -0
- package/lib/{components/controls → controls}/view-control.js +0 -0
- package/lib/controls/view-control.js.map +1 -0
- package/lib/{components/detail → detail}/button/cquery-button-bar.d.ts +0 -0
- package/lib/detail/button/cquery-button-bar.d.ts.map +1 -0
- package/lib/{components/detail → detail}/button/cquery-button-bar.js +0 -0
- package/lib/detail/button/cquery-button-bar.js.map +1 -0
- package/lib/{components/detail → detail}/button/index.css +0 -0
- package/lib/detail/button/submit-button-bar.d.ts +19 -0
- package/lib/detail/button/submit-button-bar.d.ts.map +1 -0
- package/lib/{components/detail → detail}/button/submit-button-bar.js +0 -0
- package/lib/detail/button/submit-button-bar.js.map +1 -0
- package/lib/{components/detail → detail}/dtmpl.css +0 -0
- package/lib/{components/detail → detail}/edit/dtmpl-edit.d.ts +0 -0
- package/lib/detail/edit/dtmpl-edit.d.ts.map +1 -0
- package/lib/{components/detail → detail}/edit/dtmpl-edit.js +0 -0
- package/lib/detail/edit/dtmpl-edit.js.map +1 -0
- package/lib/{components/detail → detail}/edit/fields-edit-card.d.ts +0 -0
- package/lib/detail/edit/fields-edit-card.d.ts.map +1 -0
- package/lib/{components/detail → detail}/edit/fields-edit-card.js +0 -0
- package/lib/detail/edit/fields-edit-card.js.map +1 -0
- package/lib/{components/detail → detail}/edit/modal-dtmpl-edit.d.ts +0 -0
- package/lib/detail/edit/modal-dtmpl-edit.d.ts.map +1 -0
- package/lib/{components/detail → detail}/edit/modal-dtmpl-edit.js +0 -0
- package/lib/detail/edit/modal-dtmpl-edit.js.map +1 -0
- package/lib/{components/detail → detail}/edit/modal-row-edit.d.ts +0 -0
- package/lib/detail/edit/modal-row-edit.d.ts.map +1 -0
- package/lib/{components/detail → detail}/edit/modal-row-edit.js +0 -0
- package/lib/detail/edit/modal-row-edit.js.map +1 -0
- package/lib/{components/detail → detail}/edit/post-result/index.d.ts +0 -0
- package/lib/detail/edit/post-result/index.d.ts.map +1 -0
- package/lib/{components/detail → detail}/edit/post-result/index.js +0 -0
- package/lib/detail/edit/post-result/index.js.map +1 -0
- package/lib/{components/detail → detail}/edit/row-edit-card.d.ts +0 -0
- package/lib/detail/edit/row-edit-card.d.ts.map +1 -0
- package/lib/{components/detail → detail}/edit/row-edit-card.js +0 -0
- package/lib/detail/edit/row-edit-card.js.map +1 -0
- package/lib/{components/detail → detail}/edit/row-editor.d.ts +0 -0
- package/lib/detail/edit/row-editor.d.ts.map +1 -0
- package/lib/{components/detail → detail}/edit/row-editor.js +0 -0
- package/lib/detail/edit/row-editor.js.map +1 -0
- package/lib/{components/detail → detail}/rightbar/index.css +0 -0
- package/lib/{components/detail → detail}/rightbar/index.d.ts +0 -0
- package/lib/detail/rightbar/index.d.ts.map +1 -0
- package/lib/{components/detail → detail}/rightbar/index.js +0 -0
- package/lib/detail/rightbar/index.js.map +1 -0
- package/lib/{components/detail → detail}/view/act-dtmpl-view.d.ts +0 -0
- package/lib/detail/view/act-dtmpl-view.d.ts.map +1 -0
- package/lib/{components/detail → detail}/view/act-dtmpl-view.js +0 -0
- package/lib/detail/view/act-dtmpl-view.js.map +1 -0
- package/lib/{components/detail → detail}/view/dtmpl-view.d.ts +0 -0
- package/lib/detail/view/dtmpl-view.d.ts.map +1 -0
- package/lib/{components/detail → detail}/view/dtmpl-view.js +0 -0
- package/lib/detail/view/dtmpl-view.js.map +1 -0
- package/lib/{components/detail → detail}/view/field-view-group.d.ts +0 -0
- package/lib/detail/view/field-view-group.d.ts.map +1 -0
- package/lib/detail/view/field-view-group.js +51 -0
- package/lib/detail/view/field-view-group.js.map +1 -0
- package/lib/{components/detail → detail}/view/modal-dtmpl-view.d.ts +0 -0
- package/lib/detail/view/modal-dtmpl-view.d.ts.map +1 -0
- package/lib/{components/detail → detail}/view/modal-dtmpl-view.js +0 -0
- package/lib/detail/view/modal-dtmpl-view.js.map +1 -0
- package/lib/{components/detail → detail}/view/snapshot-timeline.d.ts +0 -0
- package/lib/detail/view/snapshot-timeline.d.ts.map +1 -0
- package/lib/{components/detail → detail}/view/snapshot-timeline.js +0 -0
- package/lib/detail/view/snapshot-timeline.js.map +1 -0
- package/lib/{components/exportor → exportor}/export-frame.css +0 -0
- package/lib/{components/exportor → exportor}/export-frame.d.ts +0 -0
- package/lib/exportor/export-frame.d.ts.map +1 -0
- package/lib/{components/exportor → exportor}/export-frame.js +0 -0
- package/lib/exportor/export-frame.js.map +1 -0
- package/lib/{components/exportor → exportor}/index.d.ts +0 -0
- package/lib/exportor/index.d.ts.map +1 -0
- package/lib/{components/exportor → exportor}/index.js +0 -0
- package/lib/exportor/index.js.map +1 -0
- package/lib/{components/form → form}/criteria-form.d.ts +0 -0
- package/lib/form/criteria-form.d.ts.map +1 -0
- package/lib/{components/form → form}/criteria-form.js +0 -0
- package/lib/form/criteria-form.js.map +1 -0
- package/lib/{components/form → form}/dtmpl-form.css +0 -0
- package/lib/{components/form → form}/dtmpl-form.d.ts +0 -0
- package/lib/form/dtmpl-form.d.ts.map +1 -0
- package/lib/form/dtmpl-form.js +213 -0
- package/lib/form/dtmpl-form.js.map +1 -0
- package/lib/{components/form → form}/field-group-form.d.ts +0 -0
- package/lib/form/field-group-form.d.ts.map +1 -0
- package/lib/{components/form → form}/field-group-form.js +0 -0
- package/lib/form/field-group-form.js.map +1 -0
- package/lib/{components/form → form}/fields-form.d.ts +0 -0
- package/lib/form/fields-form.d.ts.map +1 -0
- package/lib/{components/form → form}/fields-form.js +0 -0
- package/lib/form/fields-form.js.map +1 -0
- package/lib/{components/form → form}/form-Item-group.d.ts +0 -0
- package/lib/form/form-Item-group.d.ts.map +1 -0
- package/lib/form/form-Item-group.js +60 -0
- package/lib/form/form-Item-group.js.map +1 -0
- package/lib/{components/form → form}/index.css +0 -0
- package/lib/{components/import → import}/excel-import.d.ts +0 -0
- package/lib/import/excel-import.d.ts.map +1 -0
- package/lib/{components/import → import}/excel-import.js +0 -0
- package/lib/import/excel-import.js.map +1 -0
- package/lib/{components/import → import}/index.css +0 -0
- package/lib/{components/import → import}/template-builder.d.ts +0 -0
- package/lib/import/template-builder.d.ts.map +1 -0
- package/lib/{components/import → import}/template-builder.js +0 -0
- package/lib/import/template-builder.js.map +1 -0
- package/lib/{components/import → import}/template.css +0 -0
- package/lib/index.d.ts +24 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +23 -3
- package/lib/index.js.map +1 -1
- package/lib/{components/layout → layout}/MainPage.d.ts +0 -0
- package/lib/layout/MainPage.d.ts.map +1 -0
- package/lib/layout/MainPage.js +202 -0
- package/lib/layout/MainPage.js.map +1 -0
- package/lib/{components/layout → layout}/footer/index.css +0 -0
- package/lib/{components/layout → layout}/footer/index.d.ts +0 -0
- package/lib/layout/footer/index.d.ts.map +1 -0
- package/lib/{components/layout → layout}/footer/index.js +0 -0
- package/lib/layout/footer/index.js.map +1 -0
- package/lib/{components/layout → layout}/header/index.css +0 -0
- package/lib/layout/header/index.d.ts +15 -0
- package/lib/layout/header/index.d.ts.map +1 -0
- package/lib/layout/header/index.js +36 -0
- package/lib/layout/header/index.js.map +1 -0
- package/lib/{components/layout → layout}/menu/block.d.ts +0 -0
- package/lib/layout/menu/block.d.ts.map +1 -0
- package/lib/{components/layout → layout}/menu/block.js +0 -0
- package/lib/layout/menu/block.js.map +1 -0
- package/lib/{components/layout → layout}/menu/l2menu-message-bar.d.ts +0 -0
- package/lib/layout/menu/l2menu-message-bar.d.ts.map +1 -0
- package/lib/layout/menu/l2menu-message-bar.js +97 -0
- package/lib/layout/menu/l2menu-message-bar.js.map +1 -0
- package/lib/{components/layout → layout}/menu/l2menu-quick-bar.d.ts +0 -0
- package/lib/layout/menu/l2menu-quick-bar.d.ts.map +1 -0
- package/lib/layout/menu/l2menu-quick-bar.js +94 -0
- package/lib/layout/menu/l2menu-quick-bar.js.map +1 -0
- package/lib/{components/layout → layout}/menu/menu-2layers.d.ts +0 -0
- package/lib/layout/menu/menu-2layers.d.ts.map +1 -0
- package/lib/{components/layout → layout}/menu/menu-2layers.js +0 -0
- package/lib/layout/menu/menu-2layers.js.map +1 -0
- package/lib/{components/layout → layout}/menu/menu-render.d.ts +0 -0
- package/lib/layout/menu/menu-render.d.ts.map +1 -0
- package/lib/{components/layout → layout}/menu/menu-render.js +0 -0
- package/lib/layout/menu/menu-render.js.map +1 -0
- package/lib/{components/layout → layout}/menu/reset-password.d.ts +0 -0
- package/lib/layout/menu/reset-password.d.ts.map +1 -0
- package/lib/{components/layout → layout}/menu/reset-password.js +0 -0
- package/lib/layout/menu/reset-password.js.map +1 -0
- package/lib/{components/layout → layout}/menu/user-bar.d.ts +0 -0
- package/lib/layout/menu/user-bar.d.ts.map +1 -0
- package/lib/{components/layout → layout}/menu/user-bar.js +0 -0
- package/lib/layout/menu/user-bar.js.map +1 -0
- package/lib/{components/layout → layout}/menu/userinfo-bar.d.ts +0 -0
- package/lib/layout/menu/userinfo-bar.d.ts.map +1 -0
- package/lib/layout/menu/userinfo-bar.js +50 -0
- package/lib/layout/menu/userinfo-bar.js.map +1 -0
- package/lib/{components/layout → layout}/sidebar/index.css +0 -0
- package/lib/{components/layout → layout}/sidebar/index.d.ts +0 -0
- package/lib/layout/sidebar/index.d.ts.map +1 -0
- package/lib/{components/layout → layout}/sidebar/index.js +0 -0
- package/lib/layout/sidebar/index.js.map +1 -0
- package/lib/login/index.css +15 -0
- package/lib/{components → login}/login.d.ts +0 -0
- package/lib/login/login.d.ts.map +1 -0
- package/lib/login/login.js +98 -0
- package/lib/login/login.js.map +1 -0
- package/lib/{components/module → module}/dtmpl-page.d.ts +0 -0
- package/lib/module/dtmpl-page.d.ts.map +1 -0
- package/lib/{components/module → module}/dtmpl-page.js +0 -0
- package/lib/module/dtmpl-page.js.map +1 -0
- package/lib/{components/module → module}/ltmpl-page.d.ts +0 -0
- package/lib/module/ltmpl-page.d.ts.map +1 -0
- package/lib/{components/module → module}/ltmpl-page.js +0 -0
- package/lib/module/ltmpl-page.js.map +1 -0
- package/lib/{components/routable → routable}/dtmpl-route.d.ts +0 -0
- package/lib/routable/dtmpl-route.d.ts.map +1 -0
- package/lib/{components/routable → routable}/dtmpl-route.js +0 -0
- package/lib/routable/dtmpl-route.js.map +1 -0
- package/lib/routable/import-route.d.ts +13 -0
- package/lib/routable/import-route.d.ts.map +1 -0
- package/lib/{components/routable → routable}/import-route.js +0 -0
- package/lib/routable/import-route.js.map +1 -0
- package/lib/{components/routable → routable}/ltmpl-route.d.ts +0 -0
- package/lib/routable/ltmpl-route.d.ts.map +1 -0
- package/lib/{components/routable → routable}/ltmpl-route.js +0 -0
- package/lib/routable/ltmpl-route.js.map +1 -0
- package/lib/{components/table → table}/act-table.d.ts +0 -0
- package/lib/table/act-table.d.ts.map +1 -0
- package/lib/table/act-table.js +454 -0
- package/lib/table/act-table.js.map +1 -0
- package/lib/{components/table → table}/column/column-selector.d.ts +0 -0
- package/lib/table/column/column-selector.d.ts.map +1 -0
- package/lib/table/column/column-selector.js +61 -0
- package/lib/table/column/column-selector.js.map +1 -0
- package/lib/{components/table → table}/column/index.css +0 -0
- package/lib/{components/table → table}/index.css +0 -0
- package/lib/{components/table → table}/l2-act-table.d.ts +0 -0
- package/lib/table/l2-act-table.d.ts.map +1 -0
- package/lib/{components/table → table}/l2-act-table.js +0 -0
- package/lib/table/l2-act-table.js.map +1 -0
- package/lib/{components/table → table}/modal-select-table.d.ts +0 -0
- package/lib/table/modal-select-table.d.ts.map +1 -0
- package/lib/{components/table → table}/modal-select-table.js +0 -0
- package/lib/table/modal-select-table.js.map +1 -0
- package/lib/{components/table → table}/pagination.css +0 -0
- package/lib/{components/table → table}/pagination.d.ts +0 -0
- package/lib/table/pagination.d.ts.map +1 -0
- package/lib/{components/table → table}/pagination.js +0 -0
- package/lib/table/pagination.js.map +1 -0
- package/lib/{components/table → table}/query-table.d.ts +0 -0
- package/lib/table/query-table.d.ts.map +1 -0
- package/lib/{components/table → table}/query-table.js +0 -0
- package/lib/table/query-table.js.map +1 -0
- package/lib/{components/table → table}/relation-table.d.ts +0 -0
- package/lib/table/relation-table.d.ts.map +1 -0
- package/lib/{components/table → table}/relation-table.js +0 -0
- package/lib/table/relation-table.js.map +1 -0
- package/lib/{components/table → table}/select-table.d.ts +0 -0
- package/lib/table/select-table.d.ts.map +1 -0
- package/lib/{components/table → table}/select-table.js +0 -0
- package/lib/table/select-table.js.map +1 -0
- package/lib/{components/table → table}/selected-rows-card.d.ts +0 -0
- package/lib/table/selected-rows-card.d.ts.map +1 -0
- package/lib/{components/table → table}/selected-rows-card.js +0 -0
- package/lib/table/selected-rows-card.js.map +1 -0
- package/lib/{components/table → table}/stat/restat.d.ts +0 -0
- package/lib/table/stat/restat.d.ts.map +1 -0
- package/lib/{components/table → table}/stat/restat.js +0 -0
- package/lib/table/stat/restat.js.map +1 -0
- package/lib/{components/table → table}/table-util.d.ts +0 -0
- package/lib/table/table-util.d.ts.map +1 -0
- package/lib/{components/table → table}/table-util.js +0 -0
- package/lib/table/table-util.js.map +1 -0
- package/lib/{components/tmpl → tmpl}/control-type-supportor.d.ts +0 -0
- package/lib/tmpl/control-type-supportor.d.ts.map +1 -0
- package/lib/{components/tmpl → tmpl}/control-type-supportor.js +0 -0
- package/lib/tmpl/control-type-supportor.js.map +1 -0
- package/lib/tmpl/hc-data-source.d.ts +19 -0
- package/lib/tmpl/hc-data-source.d.ts.map +1 -0
- package/lib/{components/tmpl → tmpl}/hc-data-source.js +0 -0
- package/lib/tmpl/hc-data-source.js.map +1 -0
- package/lib/{components/tmpl → tmpl}/hcservice-v3.d.ts +0 -0
- package/lib/tmpl/hcservice-v3.d.ts.map +1 -0
- package/lib/{components/tmpl → tmpl}/hcservice-v3.js +0 -0
- package/lib/tmpl/hcservice-v3.js.map +1 -0
- package/lib/{components/tmpl → tmpl}/interface.d.ts +0 -0
- package/lib/tmpl/interface.d.ts.map +1 -0
- package/lib/{components/tmpl → tmpl}/interface.js +0 -0
- package/lib/tmpl/interface.js.map +1 -0
- package/lib/{components/tmpl → tmpl}/superagent.d.ts +0 -0
- package/lib/tmpl/superagent.d.ts.map +1 -0
- package/lib/{components/tmpl → tmpl}/superagent.js +0 -0
- package/lib/tmpl/superagent.js.map +1 -0
- package/lib/{components/tmpl → tmpl}/tmpl-config-analysis.d.ts +0 -0
- package/lib/tmpl/tmpl-config-analysis.d.ts.map +1 -0
- package/lib/{components/tmpl → tmpl}/tmpl-config-analysis.js +0 -0
- package/lib/tmpl/tmpl-config-analysis.js.map +1 -0
- package/lib/{components/units → units}/EncryptUtils.d.ts +0 -0
- package/lib/units/EncryptUtils.d.ts.map +1 -0
- package/lib/{components/units → units}/EncryptUtils.js +0 -0
- package/lib/units/EncryptUtils.js.map +1 -0
- package/lib/units/index.d.ts +63 -0
- package/lib/units/index.d.ts.map +1 -0
- package/lib/units/index.js +550 -0
- package/lib/units/index.js.map +1 -0
- package/{src/components → lib}/units/logo.png +0 -0
- package/lib/{components/units → units}/storage.d.ts +0 -0
- package/lib/units/storage.d.ts.map +1 -0
- package/lib/{components/units → units}/storage.js +0 -0
- package/lib/units/storage.js.map +1 -0
- package/lib/{components/welcome → welcome}/HCWelcome.d.ts +0 -0
- package/lib/welcome/HCWelcome.d.ts.map +1 -0
- package/lib/welcome/HCWelcome.js +202 -0
- package/lib/welcome/HCWelcome.js.map +1 -0
- package/lib/{components/welcome → welcome}/index.css +0 -0
- package/{src/components → lib}/welcome/logo.png +0 -0
- package/lib/{components/welcome → welcome}/quick-entrance.d.ts +0 -0
- package/lib/welcome/quick-entrance.d.ts.map +1 -0
- package/lib/{components/welcome → welcome}/quick-entrance.js +0 -0
- package/lib/welcome/quick-entrance.js.map +1 -0
- package/lib/{components/welcome → welcome}/workbench.d.ts +0 -0
- package/lib/welcome/workbench.d.ts.map +1 -0
- package/lib/{components/welcome → welcome}/workbench.js +0 -0
- package/lib/welcome/workbench.js.map +1 -0
- package/package.json +18 -34
- package/src/{components → aldehyde}/chart/antd/Chart.js +0 -0
- package/src/{components → aldehyde}/chart/antd/Chart10000.js +0 -0
- package/src/{components → aldehyde}/chart/antd/Max2DimLineChart.js +0 -0
- package/src/aldehyde/chart/antd/PieChart1.tsx +55 -0
- package/src/{components → aldehyde}/chart/antd/PieChart2.js +0 -0
- package/src/{components → aldehyde}/chart/antd/chart-utils.tsx +0 -0
- package/src/{components → aldehyde}/chart/antd/column-chart-sub.tsx +0 -0
- package/src/{components → aldehyde}/chart/antd/line-chart-sub.tsx +0 -0
- package/src/{components → aldehyde}/chart/antd/pie-chart-sub.tsx +0 -0
- package/src/{components → aldehyde}/chart/antd/statview-d2-chart.tsx +0 -0
- package/src/{components → aldehyde}/chart/statview-l2-chart.tsx +0 -0
- package/src/{components → aldehyde}/controls/action/index.css +0 -0
- package/src/{components → aldehyde}/controls/action/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/action/utils.tsx +0 -0
- package/src/{components → aldehyde}/controls/auto-complete/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/cascader/index.js +0 -0
- package/src/{components → aldehyde}/controls/chemstruc/graph.tsx +0 -0
- package/src/{components → aldehyde}/controls/chemstruc/index.css +0 -0
- package/src/{components → aldehyde}/controls/collapse-card/index.css +0 -0
- package/src/{components → aldehyde}/controls/collapse-card/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/color-picker/index.css +0 -0
- package/src/{components → aldehyde}/controls/color-picker/index.tsx +0 -0
- package/src/aldehyde/controls/cquery/cquick-button.tsx +118 -0
- package/src/{components → aldehyde}/controls/date-picker/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/entity-select/entity-select.tsx +0 -0
- package/src/{components → aldehyde}/controls/entity-select/index.css +0 -0
- package/src/{components → aldehyde}/controls/entity-select/popover-entity-select.tsx +0 -0
- package/src/{components → aldehyde}/controls/entry-control.tsx +0 -0
- package/src/{components → aldehyde}/controls/enum-badge/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/enum-tag/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/file-view/drawer-file-view.tsx +0 -0
- package/src/{components → aldehyde}/controls/file-view/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/html-editor/draft.tsx +0 -0
- package/src/{components → aldehyde}/controls/html-editor/tinymce.js +0 -0
- package/src/{components → aldehyde}/controls/input-number/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/input-range/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/password-setter/index.css +0 -0
- package/src/{components → aldehyde}/controls/password-setter/index.js +0 -0
- package/src/{components → aldehyde}/controls/progress/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/relation-existion/index.css +0 -0
- package/src/{components → aldehyde}/controls/relation-existion/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/rfield/index.css +0 -0
- package/src/{components → aldehyde}/controls/rfield/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/signature/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/steps/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/text/ellipsis-text.tsx +0 -0
- package/src/{components → aldehyde}/controls/upload/index.tsx +0 -0
- package/src/{components → aldehyde}/controls/view-control.tsx +0 -0
- package/src/{components → aldehyde}/detail/button/cquery-button-bar.tsx +0 -0
- package/src/{components → aldehyde}/detail/button/index.css +0 -0
- package/src/aldehyde/detail/button/submit-button-bar.tsx +151 -0
- package/src/{components → aldehyde}/detail/dtmpl.css +0 -0
- package/src/aldehyde/detail/edit/dtmpl-edit.tsx +218 -0
- package/src/{components → aldehyde}/detail/edit/fields-edit-card.tsx +0 -0
- package/src/{components → aldehyde}/detail/edit/modal-dtmpl-edit.tsx +0 -0
- package/src/{components → aldehyde}/detail/edit/modal-row-edit.tsx +0 -0
- package/src/{components → aldehyde}/detail/edit/post-result/index.tsx +0 -0
- package/src/{components → aldehyde}/detail/edit/row-edit-card.tsx +0 -0
- package/src/{components → aldehyde}/detail/edit/row-editor.tsx +0 -0
- package/src/{components → aldehyde}/detail/rightbar/index.css +0 -0
- package/src/{components → aldehyde}/detail/rightbar/index.tsx +0 -0
- package/src/aldehyde/detail/view/act-dtmpl-view.tsx +154 -0
- package/src/aldehyde/detail/view/dtmpl-view.tsx +143 -0
- package/src/aldehyde/detail/view/field-view-group.tsx +73 -0
- package/src/{components → aldehyde}/detail/view/modal-dtmpl-view.tsx +0 -0
- package/src/{components → aldehyde}/detail/view/snapshot-timeline.tsx +0 -0
- package/src/{components → aldehyde}/exportor/export-frame.css +0 -0
- package/src/{components → aldehyde}/exportor/export-frame.tsx +0 -0
- package/src/{components → aldehyde}/exportor/index.tsx +0 -0
- package/src/{components → aldehyde}/form/criteria-form.tsx +0 -0
- package/src/{components → aldehyde}/form/dtmpl-form.css +0 -0
- package/src/aldehyde/form/dtmpl-form.tsx +272 -0
- package/src/{components → aldehyde}/form/field-group-form.tsx +0 -0
- package/src/{components → aldehyde}/form/fields-form.tsx +0 -0
- package/src/aldehyde/form/form-Item-group.tsx +99 -0
- package/src/{components → aldehyde}/form/index.css +0 -0
- package/src/{components → aldehyde}/import/excel-import.tsx +0 -0
- package/src/{components → aldehyde}/import/index.css +0 -0
- package/src/{components → aldehyde}/import/template-builder.js +0 -0
- package/src/{components → aldehyde}/import/template.css +0 -0
- package/src/aldehyde/index.tsx +30 -0
- package/src/aldehyde/layout/MainPage.tsx +230 -0
- package/src/{components → aldehyde}/layout/footer/index.css +0 -0
- package/src/{components → aldehyde}/layout/footer/index.js +0 -0
- package/src/{components → aldehyde}/layout/header/index.css +0 -0
- package/src/aldehyde/layout/header/index.tsx +57 -0
- package/src/aldehyde/layout/menu/block.tsx +80 -0
- package/src/aldehyde/layout/menu/l2menu-message-bar.tsx +118 -0
- package/src/aldehyde/layout/menu/l2menu-quick-bar.tsx +132 -0
- package/src/{components → aldehyde}/layout/menu/menu-2layers.tsx +0 -0
- package/src/{components → aldehyde}/layout/menu/menu-render.tsx +0 -0
- package/src/{components → aldehyde}/layout/menu/reset-password.tsx +0 -0
- package/src/{components → aldehyde}/layout/menu/user-bar.tsx +0 -0
- package/src/aldehyde/layout/menu/userinfo-bar.tsx +70 -0
- package/src/{components → aldehyde}/layout/sidebar/index.css +0 -0
- package/src/{components → aldehyde}/layout/sidebar/index.tsx +0 -0
- package/src/aldehyde/login/index.css +14 -0
- package/src/aldehyde/login/login.js +137 -0
- package/src/aldehyde/module/criteria-page.tsx1 +175 -0
- package/src/{components → aldehyde}/module/dtmpl-page.tsx +0 -0
- package/src/aldehyde/module/ltmpl-page.tsx +181 -0
- package/src/aldehyde/routable/dtmpl-route.tsx +96 -0
- package/src/aldehyde/routable/import-route.tsx +28 -0
- package/src/{components → aldehyde}/routable/ltmpl-route.tsx +0 -0
- package/src/aldehyde/table/act-table.tsx +635 -0
- package/src/aldehyde/table/column/column-selector.tsx +92 -0
- package/src/{components → aldehyde}/table/column/index.css +0 -0
- package/src/{components → aldehyde}/table/index.css +0 -0
- package/src/{components → aldehyde}/table/l2-act-table.tsx +0 -0
- package/src/{components → aldehyde}/table/modal-select-table.tsx +0 -0
- package/src/{components → aldehyde}/table/pagination.css +0 -0
- package/src/{components → aldehyde}/table/pagination.tsx +0 -0
- package/src/{components → aldehyde}/table/query-table.tsx +0 -0
- package/src/{components → aldehyde}/table/relation-table.tsx +0 -0
- package/src/{components → aldehyde}/table/select-table.tsx +0 -0
- package/src/{components → aldehyde}/table/selected-rows-card.tsx +0 -0
- package/src/{components → aldehyde}/table/stat/restat.tsx +0 -0
- package/src/{components → aldehyde}/table/table-util.tsx +0 -0
- package/src/{components → aldehyde}/tmpl/control-type-supportor.tsx +0 -0
- package/src/aldehyde/tmpl/hc-data-source.tsx +230 -0
- package/src/{components → aldehyde}/tmpl/hcservice-v3.tsx +0 -0
- package/src/{components → aldehyde}/tmpl/interface.tsx +0 -0
- package/src/{components → aldehyde}/tmpl/superagent.js +0 -0
- package/src/{components → aldehyde}/tmpl/tmpl-config-analysis.tsx +0 -0
- package/src/{components → aldehyde}/units/EncryptUtils.js +0 -0
- package/src/{components → aldehyde}/units/image.d.ts +0 -0
- package/src/aldehyde/units/index.tsx +550 -0
- package/src/aldehyde/units/logo.png +0 -0
- package/src/{components → aldehyde}/units/storage.js +0 -0
- package/src/aldehyde/welcome/HCWelcome.js +232 -0
- package/src/{components → aldehyde}/welcome/index.css +0 -0
- package/src/aldehyde/welcome/logo.png +0 -0
- package/src/{components → aldehyde}/welcome/quick-entrance.tsx +0 -0
- package/src/aldehyde/welcome/workbench.tsx +76 -0
- package/dist/aldehyde.js +0 -1
- package/dist/chemstruc-graph.js +0 -1
- package/dist/html-editor-draft.js +0 -1
- package/dist/signature.js +0 -1
- package/lib/components/chart/antd/Chart.d.ts.map +0 -1
- package/lib/components/chart/antd/Chart.js.map +0 -1
- package/lib/components/chart/antd/Chart10000.d.ts.map +0 -1
- package/lib/components/chart/antd/Chart10000.js.map +0 -1
- package/lib/components/chart/antd/Max2DimLineChart.d.ts.map +0 -1
- package/lib/components/chart/antd/Max2DimLineChart.js.map +0 -1
- package/lib/components/chart/antd/PieChart1.d.ts +0 -3
- package/lib/components/chart/antd/PieChart1.d.ts.map +0 -1
- package/lib/components/chart/antd/PieChart1.js +0 -53
- package/lib/components/chart/antd/PieChart1.js.map +0 -1
- package/lib/components/chart/antd/PieChart2.d.ts.map +0 -1
- package/lib/components/chart/antd/PieChart2.js.map +0 -1
- package/lib/components/chart/antd/chart-utils.d.ts.map +0 -1
- package/lib/components/chart/antd/chart-utils.js.map +0 -1
- package/lib/components/chart/antd/column-chart-sub.d.ts.map +0 -1
- package/lib/components/chart/antd/column-chart-sub.js.map +0 -1
- package/lib/components/chart/antd/line-chart-sub.d.ts.map +0 -1
- package/lib/components/chart/antd/line-chart-sub.js.map +0 -1
- package/lib/components/chart/antd/pie-chart-sub.d.ts.map +0 -1
- package/lib/components/chart/antd/pie-chart-sub.js.map +0 -1
- package/lib/components/chart/antd/statview-d2-chart.d.ts.map +0 -1
- package/lib/components/chart/antd/statview-d2-chart.js.map +0 -1
- package/lib/components/chart/statview-l2-chart.d.ts.map +0 -1
- package/lib/components/chart/statview-l2-chart.js.map +0 -1
- package/lib/components/controls/action/index.d.ts.map +0 -1
- package/lib/components/controls/action/index.js.map +0 -1
- package/lib/components/controls/action/utils.d.ts.map +0 -1
- package/lib/components/controls/action/utils.js.map +0 -1
- package/lib/components/controls/auto-complete/index.d.ts.map +0 -1
- package/lib/components/controls/auto-complete/index.js.map +0 -1
- package/lib/components/controls/cascader/index.d.ts.map +0 -1
- package/lib/components/controls/cascader/index.js.map +0 -1
- package/lib/components/controls/chemstruc/graph.d.ts.map +0 -1
- package/lib/components/controls/chemstruc/graph.js.map +0 -1
- package/lib/components/controls/collapse-card/index.d.ts.map +0 -1
- package/lib/components/controls/collapse-card/index.js.map +0 -1
- package/lib/components/controls/color-picker/index.d.ts.map +0 -1
- package/lib/components/controls/color-picker/index.js.map +0 -1
- package/lib/components/controls/cquery/cquick-button.d.ts.map +0 -1
- package/lib/components/controls/cquery/cquick-button.js +0 -67
- package/lib/components/controls/cquery/cquick-button.js.map +0 -1
- package/lib/components/controls/date-picker/index.d.ts.map +0 -1
- package/lib/components/controls/date-picker/index.js.map +0 -1
- package/lib/components/controls/entity-select/entity-select.d.ts.map +0 -1
- package/lib/components/controls/entity-select/entity-select.js.map +0 -1
- package/lib/components/controls/entity-select/popover-entity-select.d.ts.map +0 -1
- package/lib/components/controls/entity-select/popover-entity-select.js.map +0 -1
- package/lib/components/controls/entry-control.d.ts.map +0 -1
- package/lib/components/controls/entry-control.js.map +0 -1
- package/lib/components/controls/enum-badge/index.d.ts.map +0 -1
- package/lib/components/controls/enum-badge/index.js.map +0 -1
- package/lib/components/controls/enum-tag/index.d.ts.map +0 -1
- package/lib/components/controls/enum-tag/index.js.map +0 -1
- package/lib/components/controls/file-view/drawer-file-view.d.ts.map +0 -1
- package/lib/components/controls/file-view/drawer-file-view.js.map +0 -1
- package/lib/components/controls/file-view/index.d.ts.map +0 -1
- package/lib/components/controls/file-view/index.js.map +0 -1
- package/lib/components/controls/html-editor/draft.d.ts.map +0 -1
- package/lib/components/controls/html-editor/draft.js.map +0 -1
- package/lib/components/controls/html-editor/tinymce.d.ts.map +0 -1
- package/lib/components/controls/html-editor/tinymce.js.map +0 -1
- package/lib/components/controls/input-number/index.d.ts.map +0 -1
- package/lib/components/controls/input-number/index.js.map +0 -1
- package/lib/components/controls/input-range/index.d.ts.map +0 -1
- package/lib/components/controls/input-range/index.js.map +0 -1
- package/lib/components/controls/password-setter/index.d.ts.map +0 -1
- package/lib/components/controls/password-setter/index.js.map +0 -1
- package/lib/components/controls/progress/index.d.ts.map +0 -1
- package/lib/components/controls/progress/index.js.map +0 -1
- package/lib/components/controls/relation-existion/index.d.ts.map +0 -1
- package/lib/components/controls/relation-existion/index.js.map +0 -1
- package/lib/components/controls/rfield/index.d.ts.map +0 -1
- package/lib/components/controls/rfield/index.js.map +0 -1
- package/lib/components/controls/signature/index.d.ts.map +0 -1
- package/lib/components/controls/signature/index.js.map +0 -1
- package/lib/components/controls/steps/index.d.ts.map +0 -1
- package/lib/components/controls/steps/index.js.map +0 -1
- package/lib/components/controls/text/ellipsis-text.d.ts.map +0 -1
- package/lib/components/controls/text/ellipsis-text.js.map +0 -1
- package/lib/components/controls/upload/index.d.ts.map +0 -1
- package/lib/components/controls/upload/index.js.map +0 -1
- package/lib/components/controls/view-control.d.ts.map +0 -1
- package/lib/components/controls/view-control.js.map +0 -1
- package/lib/components/detail/button/cquery-button-bar.d.ts.map +0 -1
- package/lib/components/detail/button/cquery-button-bar.js.map +0 -1
- package/lib/components/detail/button/submit-button-bar.d.ts +0 -19
- package/lib/components/detail/button/submit-button-bar.d.ts.map +0 -1
- package/lib/components/detail/button/submit-button-bar.js.map +0 -1
- package/lib/components/detail/edit/dtmpl-edit.d.ts.map +0 -1
- package/lib/components/detail/edit/dtmpl-edit.js.map +0 -1
- package/lib/components/detail/edit/fields-edit-card.d.ts.map +0 -1
- package/lib/components/detail/edit/fields-edit-card.js.map +0 -1
- package/lib/components/detail/edit/modal-dtmpl-edit.d.ts.map +0 -1
- package/lib/components/detail/edit/modal-dtmpl-edit.js.map +0 -1
- package/lib/components/detail/edit/modal-row-edit.d.ts.map +0 -1
- package/lib/components/detail/edit/modal-row-edit.js.map +0 -1
- package/lib/components/detail/edit/post-result/index.d.ts.map +0 -1
- package/lib/components/detail/edit/post-result/index.js.map +0 -1
- package/lib/components/detail/edit/row-edit-card.d.ts.map +0 -1
- package/lib/components/detail/edit/row-edit-card.js.map +0 -1
- package/lib/components/detail/edit/row-editor.d.ts.map +0 -1
- package/lib/components/detail/edit/row-editor.js.map +0 -1
- package/lib/components/detail/rightbar/index.d.ts.map +0 -1
- package/lib/components/detail/rightbar/index.js.map +0 -1
- package/lib/components/detail/view/act-dtmpl-view.d.ts.map +0 -1
- package/lib/components/detail/view/act-dtmpl-view.js.map +0 -1
- package/lib/components/detail/view/dtmpl-view.d.ts.map +0 -1
- package/lib/components/detail/view/dtmpl-view.js.map +0 -1
- package/lib/components/detail/view/field-view-group.d.ts.map +0 -1
- package/lib/components/detail/view/field-view-group.js +0 -51
- package/lib/components/detail/view/field-view-group.js.map +0 -1
- package/lib/components/detail/view/modal-dtmpl-view.d.ts.map +0 -1
- package/lib/components/detail/view/modal-dtmpl-view.js.map +0 -1
- package/lib/components/detail/view/snapshot-timeline.d.ts.map +0 -1
- package/lib/components/detail/view/snapshot-timeline.js.map +0 -1
- package/lib/components/exportor/export-frame.d.ts.map +0 -1
- package/lib/components/exportor/export-frame.js.map +0 -1
- package/lib/components/exportor/index.d.ts.map +0 -1
- package/lib/components/exportor/index.js.map +0 -1
- package/lib/components/form/criteria-form.d.ts.map +0 -1
- package/lib/components/form/criteria-form.js.map +0 -1
- package/lib/components/form/dtmpl-form.d.ts.map +0 -1
- package/lib/components/form/dtmpl-form.js +0 -213
- package/lib/components/form/dtmpl-form.js.map +0 -1
- package/lib/components/form/field-group-form.d.ts.map +0 -1
- package/lib/components/form/field-group-form.js.map +0 -1
- package/lib/components/form/fields-form.d.ts.map +0 -1
- package/lib/components/form/fields-form.js.map +0 -1
- package/lib/components/form/form-Item-group.d.ts.map +0 -1
- package/lib/components/form/form-Item-group.js +0 -60
- package/lib/components/form/form-Item-group.js.map +0 -1
- package/lib/components/import/excel-import.d.ts.map +0 -1
- package/lib/components/import/excel-import.js.map +0 -1
- package/lib/components/import/template-builder.d.ts.map +0 -1
- package/lib/components/import/template-builder.js.map +0 -1
- package/lib/components/layout/MainPage.d.ts.map +0 -1
- package/lib/components/layout/MainPage.js +0 -202
- package/lib/components/layout/MainPage.js.map +0 -1
- package/lib/components/layout/footer/index.d.ts.map +0 -1
- package/lib/components/layout/footer/index.js.map +0 -1
- package/lib/components/layout/header/index.d.ts +0 -16
- package/lib/components/layout/header/index.d.ts.map +0 -1
- package/lib/components/layout/header/index.js +0 -37
- package/lib/components/layout/header/index.js.map +0 -1
- package/lib/components/layout/menu/block.d.ts.map +0 -1
- package/lib/components/layout/menu/block.js.map +0 -1
- package/lib/components/layout/menu/l2menu-message-bar.d.ts.map +0 -1
- package/lib/components/layout/menu/l2menu-message-bar.js +0 -97
- package/lib/components/layout/menu/l2menu-message-bar.js.map +0 -1
- package/lib/components/layout/menu/l2menu-quick-bar.d.ts.map +0 -1
- package/lib/components/layout/menu/l2menu-quick-bar.js +0 -94
- package/lib/components/layout/menu/l2menu-quick-bar.js.map +0 -1
- package/lib/components/layout/menu/menu-2layers.d.ts.map +0 -1
- package/lib/components/layout/menu/menu-2layers.js.map +0 -1
- package/lib/components/layout/menu/menu-render.d.ts.map +0 -1
- package/lib/components/layout/menu/menu-render.js.map +0 -1
- package/lib/components/layout/menu/reset-password.d.ts.map +0 -1
- package/lib/components/layout/menu/reset-password.js.map +0 -1
- package/lib/components/layout/menu/user-bar.d.ts.map +0 -1
- package/lib/components/layout/menu/user-bar.js.map +0 -1
- package/lib/components/layout/menu/userinfo-bar.d.ts.map +0 -1
- package/lib/components/layout/menu/userinfo-bar.js +0 -50
- package/lib/components/layout/menu/userinfo-bar.js.map +0 -1
- package/lib/components/layout/sidebar/index.d.ts.map +0 -1
- package/lib/components/layout/sidebar/index.js.map +0 -1
- package/lib/components/login.d.ts.map +0 -1
- package/lib/components/login.js +0 -97
- package/lib/components/login.js.map +0 -1
- package/lib/components/module/dtmpl-page.d.ts.map +0 -1
- package/lib/components/module/dtmpl-page.js.map +0 -1
- package/lib/components/module/ltmpl-page.d.ts.map +0 -1
- package/lib/components/module/ltmpl-page.js.map +0 -1
- package/lib/components/routable/dtmpl-route.d.ts.map +0 -1
- package/lib/components/routable/dtmpl-route.js.map +0 -1
- package/lib/components/routable/import-route.d.ts +0 -13
- package/lib/components/routable/import-route.d.ts.map +0 -1
- package/lib/components/routable/import-route.js.map +0 -1
- package/lib/components/routable/ltmpl-route.d.ts.map +0 -1
- package/lib/components/routable/ltmpl-route.js.map +0 -1
- package/lib/components/table/act-table.d.ts.map +0 -1
- package/lib/components/table/act-table.js +0 -454
- package/lib/components/table/act-table.js.map +0 -1
- package/lib/components/table/column/column-selector.d.ts.map +0 -1
- package/lib/components/table/column/column-selector.js +0 -59
- package/lib/components/table/column/column-selector.js.map +0 -1
- package/lib/components/table/l2-act-table.d.ts.map +0 -1
- package/lib/components/table/l2-act-table.js.map +0 -1
- package/lib/components/table/modal-select-table.d.ts.map +0 -1
- package/lib/components/table/modal-select-table.js.map +0 -1
- package/lib/components/table/pagination.d.ts.map +0 -1
- package/lib/components/table/pagination.js.map +0 -1
- package/lib/components/table/query-table.d.ts.map +0 -1
- package/lib/components/table/query-table.js.map +0 -1
- package/lib/components/table/relation-table.d.ts.map +0 -1
- package/lib/components/table/relation-table.js.map +0 -1
- package/lib/components/table/select-table.d.ts.map +0 -1
- package/lib/components/table/select-table.js.map +0 -1
- package/lib/components/table/selected-rows-card.d.ts.map +0 -1
- package/lib/components/table/selected-rows-card.js.map +0 -1
- package/lib/components/table/stat/restat.d.ts.map +0 -1
- package/lib/components/table/stat/restat.js.map +0 -1
- package/lib/components/table/table-util.d.ts.map +0 -1
- package/lib/components/table/table-util.js.map +0 -1
- package/lib/components/tmpl/control-type-supportor.d.ts.map +0 -1
- package/lib/components/tmpl/control-type-supportor.js.map +0 -1
- package/lib/components/tmpl/hc-data-source.d.ts +0 -19
- package/lib/components/tmpl/hc-data-source.d.ts.map +0 -1
- package/lib/components/tmpl/hc-data-source.js.map +0 -1
- package/lib/components/tmpl/hcservice-v3.d.ts.map +0 -1
- package/lib/components/tmpl/hcservice-v3.js.map +0 -1
- package/lib/components/tmpl/interface.d.ts.map +0 -1
- package/lib/components/tmpl/interface.js.map +0 -1
- package/lib/components/tmpl/superagent.d.ts.map +0 -1
- package/lib/components/tmpl/superagent.js.map +0 -1
- package/lib/components/tmpl/tmpl-config-analysis.d.ts.map +0 -1
- package/lib/components/tmpl/tmpl-config-analysis.js.map +0 -1
- package/lib/components/units/EncryptUtils.d.ts.map +0 -1
- package/lib/components/units/EncryptUtils.js.map +0 -1
- package/lib/components/units/index.d.ts +0 -58
- package/lib/components/units/index.d.ts.map +0 -1
- package/lib/components/units/index.js +0 -525
- package/lib/components/units/index.js.map +0 -1
- package/lib/components/units/storage.d.ts.map +0 -1
- package/lib/components/units/storage.js.map +0 -1
- package/lib/components/welcome/HCWelcome.d.ts.map +0 -1
- package/lib/components/welcome/HCWelcome.js +0 -204
- package/lib/components/welcome/HCWelcome.js.map +0 -1
- package/lib/components/welcome/quick-entrance.d.ts.map +0 -1
- package/lib/components/welcome/quick-entrance.js.map +0 -1
- package/lib/components/welcome/workbench.d.ts.map +0 -1
- package/lib/components/welcome/workbench.js.map +0 -1
- package/lib/style/common.css +0 -79
- package/lib/style/coverstyle.css +0 -49
- package/lib/style/transstyle.css +0 -24
- package/src/components/chart/antd/PieChart1.js +0 -54
- package/src/components/controls/cquery/cquick-button.tsx +0 -117
- package/src/components/detail/button/submit-button-bar.tsx +0 -151
- package/src/components/detail/edit/dtmpl-edit.tsx +0 -218
- package/src/components/detail/view/act-dtmpl-view.tsx +0 -155
- package/src/components/detail/view/dtmpl-view.tsx +0 -143
- package/src/components/detail/view/field-view-group.tsx +0 -73
- package/src/components/form/dtmpl-form.tsx +0 -272
- package/src/components/form/form-Item-group.tsx +0 -99
- package/src/components/layout/MainPage.tsx +0 -230
- package/src/components/layout/header/index.tsx +0 -58
- package/src/components/layout/menu/block.tsx +0 -88
- package/src/components/layout/menu/l2menu-message-bar.tsx +0 -118
- package/src/components/layout/menu/l2menu-quick-bar.tsx +0 -132
- package/src/components/layout/menu/userinfo-bar.tsx +0 -70
- package/src/components/login.js +0 -137
- package/src/components/module/ltmpl-page.tsx +0 -181
- package/src/components/routable/dtmpl-route.tsx +0 -96
- package/src/components/routable/import-route.tsx +0 -28
- package/src/components/table/act-table.tsx +0 -635
- package/src/components/table/column/column-selector.tsx +0 -79
- package/src/components/tmpl/hc-data-source.tsx +0 -230
- package/src/components/units/index.tsx +0 -526
- package/src/components/welcome/HCWelcome.js +0 -232
- package/src/components/welcome/workbench.tsx +0 -76
- package/src/index.tsx +0 -5
- package/src/style/common.css +0 -79
- package/src/style/coverstyle.css +0 -49
- package/src/style/transstyle.css +0 -24
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import {Badge, Avatar, Dropdown, Menu, Timeline, Drawer, Space,Button} from 'antd'
|
|
3
|
+
import {MessageTwoTone,AppstoreOutlined} from '@ant-design/icons';
|
|
4
|
+
import 'antd/dist/antd.css';
|
|
5
|
+
import {Level2Menu} from "../../tmpl/interface";
|
|
6
|
+
// import HcserviceV3 from '../../tmpl/hcservice-v3'
|
|
7
|
+
import HCDataSource from '../../tmpl/hc-data-source'
|
|
8
|
+
import {UserOutlined,LogoutOutlined,ClearOutlined,KeyOutlined,SolutionOutlined} from '@ant-design/icons';
|
|
9
|
+
import DtmplPage from "../../module/dtmpl-page";
|
|
10
|
+
import HcserviceV3 from "../../tmpl/hcservice-v3";
|
|
11
|
+
|
|
12
|
+
interface UserInfoBarProps {
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface UserInfoBarState {
|
|
17
|
+
showDraw:boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class UserInfoBar extends React.PureComponent<UserInfoBarProps, UserInfoBarState> {
|
|
22
|
+
state={
|
|
23
|
+
showDraw:false,
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
async componentDidMount() {
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
showDraw=()=>{
|
|
30
|
+
this.setState({
|
|
31
|
+
showDraw:true
|
|
32
|
+
})
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
closeDrawer=()=>{
|
|
36
|
+
this.setState({
|
|
37
|
+
showDraw:false
|
|
38
|
+
})
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
render() {
|
|
42
|
+
const {showDraw} = this.state;
|
|
43
|
+
return (
|
|
44
|
+
<>
|
|
45
|
+
<span onClick={this.showDraw}><SolutionOutlined />个人信息</span>
|
|
46
|
+
<Drawer
|
|
47
|
+
placement={'left'}
|
|
48
|
+
title="个人信息"
|
|
49
|
+
closable={true}
|
|
50
|
+
mask={false}
|
|
51
|
+
onClose={this.closeDrawer}
|
|
52
|
+
visible={showDraw}
|
|
53
|
+
width={'calc(100% - 280px)'}
|
|
54
|
+
style={{
|
|
55
|
+
maxWidth: 1960,
|
|
56
|
+
}}
|
|
57
|
+
extra={
|
|
58
|
+
<Space>
|
|
59
|
+
<Button onClick={this.closeDrawer}>关闭</Button>
|
|
60
|
+
</Space>
|
|
61
|
+
}
|
|
62
|
+
>
|
|
63
|
+
<DtmplPage sourceId={'0'} code={"userCode"}></DtmplPage>
|
|
64
|
+
</Drawer>
|
|
65
|
+
</>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export default UserInfoBar;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import './index.css'
|
|
3
|
+
import {Button, Col, Form, Image, Input, message, Row} from 'antd'
|
|
4
|
+
import {LockOutlined, SafetyCertificateOutlined, UserOutlined} from '@ant-design/icons';
|
|
5
|
+
import HCserviceV3 from "../tmpl/hcservice-v3"
|
|
6
|
+
|
|
7
|
+
export default class Loginit extends React.Component {
|
|
8
|
+
state = {
|
|
9
|
+
username: "",
|
|
10
|
+
password: "",
|
|
11
|
+
loading: true,
|
|
12
|
+
needKaptcha:false,
|
|
13
|
+
kaptchaImg:null,
|
|
14
|
+
kaptchaToken:null
|
|
15
|
+
}
|
|
16
|
+
formRef = React.createRef();
|
|
17
|
+
|
|
18
|
+
componentDidMount=async ()=> {
|
|
19
|
+
|
|
20
|
+
let pubkey = await HCserviceV3.getRasPubkey();
|
|
21
|
+
this.setState({
|
|
22
|
+
pubkey,
|
|
23
|
+
loading: false
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
getKaptchaToken=async ()=>{
|
|
29
|
+
let res= await HCserviceV3.getKaptchaToken();
|
|
30
|
+
if(res){
|
|
31
|
+
let kaptchaImg=`data:image/png;base64,${res.img}`;
|
|
32
|
+
this.setState({
|
|
33
|
+
kaptchaImg,
|
|
34
|
+
kaptchaToken:res.kaptchaToken,
|
|
35
|
+
needKaptcha:true
|
|
36
|
+
})
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
handleSubmit = async () => {
|
|
41
|
+
|
|
42
|
+
this.setState({
|
|
43
|
+
loading: true
|
|
44
|
+
})
|
|
45
|
+
let {kaptchaToken,pubkey}=this.state
|
|
46
|
+
|
|
47
|
+
await this.formRef.current.validateFields().then(async (values) => {
|
|
48
|
+
let res = await HCserviceV3.login(values.username, values.password,kaptchaToken,values.kaptchaText,pubkey);
|
|
49
|
+
if (res.status === 'error') {
|
|
50
|
+
//message.info(res.message);
|
|
51
|
+
await this.getKaptchaToken();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
).catch(errorInfo => {
|
|
55
|
+
})
|
|
56
|
+
this.setState({
|
|
57
|
+
loading: false
|
|
58
|
+
})
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
handleKeyDown = (event) => { //按下enter键,触发login事件
|
|
62
|
+
switch (event.keyCode) {
|
|
63
|
+
case 13:
|
|
64
|
+
this.handleSubmit();
|
|
65
|
+
break;
|
|
66
|
+
default:
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
changeKaptcha =async (event) => { //切换验证码
|
|
72
|
+
await this.getKaptchaToken();
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
componentDidMount() {
|
|
76
|
+
window.removeEventListener('keydown', this.handleKeyDown)
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
render() {
|
|
80
|
+
const {username, password, loading,needKaptcha,kaptchaImg} = this.state
|
|
81
|
+
|
|
82
|
+
return (<Row type="flex" justify="center" align="middle" className="login">
|
|
83
|
+
<Col>
|
|
84
|
+
<Form style={{width: 350}} ref={this.formRef}
|
|
85
|
+
name="normal_login"
|
|
86
|
+
className="login-form"
|
|
87
|
+
initialValues={{remember: true}}
|
|
88
|
+
><h3>欢迎登录</h3>
|
|
89
|
+
<Form.Item
|
|
90
|
+
name="username"
|
|
91
|
+
rules={[{required: true, message: '请输入用户名!'}, {max: 20, min: 0, message: '输入0-20个字符'},]}
|
|
92
|
+
>
|
|
93
|
+
<Input prefix={<UserOutlined className="site-form-item-icon"/>} placeholder="用户名"
|
|
94
|
+
/>
|
|
95
|
+
</Form.Item>
|
|
96
|
+
<Form.Item
|
|
97
|
+
name="password"
|
|
98
|
+
rules={[{required: true, message: '请输入密码!'}]}
|
|
99
|
+
>
|
|
100
|
+
<Input.Password
|
|
101
|
+
placeholder="密码"
|
|
102
|
+
onKeyDown={this.handleKeyDown}
|
|
103
|
+
prefix={<LockOutlined className="site-form-item-icon"/>}
|
|
104
|
+
/>
|
|
105
|
+
</Form.Item>
|
|
106
|
+
{
|
|
107
|
+
needKaptcha?<Row gutter={8} >
|
|
108
|
+
<Col span={12}>
|
|
109
|
+
<Form.Item
|
|
110
|
+
name="kaptchaText"
|
|
111
|
+
rules={[{required: true, message: '请输入验证码!'}]}
|
|
112
|
+
>
|
|
113
|
+
<Input prefix={<SafetyCertificateOutlined className="site-form-item-icon"/>}
|
|
114
|
+
placeholder="验证码"
|
|
115
|
+
onKeyDown={this.handleKeyDown}
|
|
116
|
+
/>
|
|
117
|
+
</Form.Item>
|
|
118
|
+
</Col>
|
|
119
|
+
<Col span={12}>
|
|
120
|
+
<img style={{"cursor":"pointer"}} height={30} width={90} title={'点击刷新'} onClick={this.changeKaptcha}
|
|
121
|
+
src={kaptchaImg}></img>
|
|
122
|
+
</Col>
|
|
123
|
+
</Row>:""
|
|
124
|
+
}
|
|
125
|
+
<Form.Item>
|
|
126
|
+
<Button type="primary" style={{width: '100%'}} loading={loading} onClick={this.handleSubmit}
|
|
127
|
+
className="login-form-button">
|
|
128
|
+
登录
|
|
129
|
+
</Button>
|
|
130
|
+
</Form.Item>
|
|
131
|
+
</Form>
|
|
132
|
+
</Col>
|
|
133
|
+
</Row>
|
|
134
|
+
)
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import {DtmplData, LtmplConfigRes} from '../tmpl/interface';
|
|
3
|
+
import Units from "../units";
|
|
4
|
+
import ActTable from '../table/act-table'
|
|
5
|
+
// import StatActTable from '../table/stat-act-table'
|
|
6
|
+
import HCDataSource from "../tmpl/hc-data-source";
|
|
7
|
+
import ModalDtmplView from "../detail/view/modal-dtmpl-view";
|
|
8
|
+
import ModalDtmplEdit from "../detail/edit/modal-dtmpl-edit";
|
|
9
|
+
import HcserviceV3 from "../tmpl/hcservice-v3";
|
|
10
|
+
|
|
11
|
+
//以列表为入口的,页面内列表,基本原则是所有交互在页面内完成,不会触发路由。
|
|
12
|
+
|
|
13
|
+
export interface CriteriaPageProps {
|
|
14
|
+
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export interface CriteriaPageState {
|
|
18
|
+
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
class CriteriaPage extends React.PureComponent<CriteriaPageProps, CriteriaPageState> {
|
|
22
|
+
|
|
23
|
+
state = {
|
|
24
|
+
ltmplConfigRes: undefined,
|
|
25
|
+
criteriaData:undefined,
|
|
26
|
+
showDtmplView:false,
|
|
27
|
+
showDtmplEdit:false,
|
|
28
|
+
selectedCode:undefined,
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
async componentDidMount() {
|
|
32
|
+
this.loadLtmplConfig();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
async componentDidUpdate(prevProps) {
|
|
36
|
+
const { sourceId,mainCode} = this.props;
|
|
37
|
+
if(!prevProps || prevProps.sourceId!=sourceId){
|
|
38
|
+
this.loadLtmplConfig();
|
|
39
|
+
}else if(mainCode && prevProps.mainCode!=mainCode){//此处处理有效,但不高效
|
|
40
|
+
this.loadLtmplConfig();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
loadLtmplConfig = async () => {
|
|
45
|
+
const {sourceId} = this.props;
|
|
46
|
+
let ltmplConfigRes:LtmplConfigRes = await HCDataSource.requestLtmplConfig(sourceId);
|
|
47
|
+
let criteriaData;
|
|
48
|
+
//提取 过滤条件的默认值
|
|
49
|
+
if(ltmplConfigRes){
|
|
50
|
+
let defaultCriteriaValue=ltmplConfigRes.ltmplConfig.defaultCriteriaValue;
|
|
51
|
+
if(defaultCriteriaValue){
|
|
52
|
+
criteriaData=this.toCriteriaData(defaultCriteriaValue);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
this.setState({
|
|
56
|
+
ltmplConfigRes,criteriaData
|
|
57
|
+
})
|
|
58
|
+
}
|
|
59
|
+
toCriteriaData = (values:object) => {
|
|
60
|
+
let criteriaData={};
|
|
61
|
+
if(values){
|
|
62
|
+
for (let key in values) {
|
|
63
|
+
criteriaData[key]=Units.configParamTrans(values[key]);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
criteriaData['sequence']=Units.getRandomNum(6);
|
|
67
|
+
return criteriaData;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
// async componentDidUpdate(prevProps) {
|
|
72
|
+
// const {location} = this.props;
|
|
73
|
+
// const { sourceId} = this.props.match.params;
|
|
74
|
+
// let { sourceId: preSourceId} = prevProps.match.params;
|
|
75
|
+
// let {location: preLocation} = prevProps;
|
|
76
|
+
//
|
|
77
|
+
// if ( !sourceId ||
|
|
78
|
+
// ( !preSourceId && this.state.ltmplConfigRes)
|
|
79
|
+
// || (location.pathname == preLocation.pathname && location.search == preLocation.search)
|
|
80
|
+
// ) {
|
|
81
|
+
// return;
|
|
82
|
+
// }
|
|
83
|
+
// this.loadData();
|
|
84
|
+
// }
|
|
85
|
+
|
|
86
|
+
showView = (code: string) => {
|
|
87
|
+
// const { sourceId} = this.props.match.params;
|
|
88
|
+
// this.onRoute(`/${sourceId}/detail-view?code=${code}&menuId=${this.getMenuId()}`);
|
|
89
|
+
this.setState({
|
|
90
|
+
selectedCode:code,
|
|
91
|
+
showDtmplView:true,
|
|
92
|
+
})
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
doEdit = (code: string,mode:string) => {
|
|
96
|
+
this.setState({
|
|
97
|
+
selectedCode:code,
|
|
98
|
+
showDtmplEdit:true,
|
|
99
|
+
})
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
doCreate = () => {
|
|
105
|
+
this.setState({
|
|
106
|
+
selectedCode:null,
|
|
107
|
+
showDtmplEdit:true,
|
|
108
|
+
})
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
doSearch = (params_) => {
|
|
112
|
+
const { sourceId,mainCode} = this.props;
|
|
113
|
+
//const oldfliter = history.location.search.slice(1);
|
|
114
|
+
|
|
115
|
+
let params = {...params_}
|
|
116
|
+
//追加过滤条件,hiddenColIds,innerQueryKey
|
|
117
|
+
if (mainCode) {
|
|
118
|
+
params['mainCode'] = mainCode;
|
|
119
|
+
}
|
|
120
|
+
params['sourceId'] = sourceId;
|
|
121
|
+
// const criteriaData = Units.transQueryParamsToStr(params);
|
|
122
|
+
// let flag = true;
|
|
123
|
+
//if (newfliter && oldfliter != newfliter) { //查询条件更新时
|
|
124
|
+
this.setState({
|
|
125
|
+
criteriaData:this.toCriteriaData(params)
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
handleDtmplEdit = (code: string) => {
|
|
131
|
+
this.doSearch(this.state.criteriaData);
|
|
132
|
+
this.setState({
|
|
133
|
+
showDtmplEdit:false,
|
|
134
|
+
})
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
render() {
|
|
139
|
+
const {ltmplConfigRes,criteriaData,showDtmplView,selectedCode,showDtmplEdit} = this.state;
|
|
140
|
+
const { sourceId,mainCode} = this.props;
|
|
141
|
+
|
|
142
|
+
if (!ltmplConfigRes) {
|
|
143
|
+
return <></>;
|
|
144
|
+
} else {
|
|
145
|
+
const {buttons}=ltmplConfigRes.ltmplConfig
|
|
146
|
+
return <>
|
|
147
|
+
<ActTable mainCode={mainCode} showView={this.showView}
|
|
148
|
+
doSearch={this.doSearch} doEdit={this.doEdit} doCreate={this.doCreate}
|
|
149
|
+
sourceId={sourceId} criteriaData={criteriaData}
|
|
150
|
+
ltmplConfig={ltmplConfigRes.ltmplConfig}/>
|
|
151
|
+
{buttons.includes('detail') ?
|
|
152
|
+
<ModalDtmplView visible={showDtmplView} onCancel={()=>{
|
|
153
|
+
this.setState({
|
|
154
|
+
showDtmplView:false,
|
|
155
|
+
})}
|
|
156
|
+
}
|
|
157
|
+
sourceId={sourceId}
|
|
158
|
+
code={selectedCode}> </ModalDtmplView> : ""}
|
|
159
|
+
{buttons.includes('dtmplEdit') || buttons.includes('dtmplAdd') ?
|
|
160
|
+
<ModalDtmplEdit visible={showDtmplEdit} onCancel={()=>{
|
|
161
|
+
this.setState({
|
|
162
|
+
showDtmplEdit:false,
|
|
163
|
+
})}}
|
|
164
|
+
sourceId={sourceId}
|
|
165
|
+
code={selectedCode}
|
|
166
|
+
onOk={this.handleDtmplEdit} />
|
|
167
|
+
: ""}
|
|
168
|
+
</>
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export default CriteriaPage;
|
|
175
|
+
|
|
File without changes
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import {DtmplData, LtmplConfigRes} from '../tmpl/interface';
|
|
3
|
+
import Units from "../units";
|
|
4
|
+
import ActTable from '../table/act-table'
|
|
5
|
+
// import StatActTable from '../table/stat-act-table'
|
|
6
|
+
import HCDataSource from "../tmpl/hc-data-source";
|
|
7
|
+
import ModalDtmplView from "../detail/view/modal-dtmpl-view";
|
|
8
|
+
import ModalDtmplEdit from "../detail/edit/modal-dtmpl-edit";
|
|
9
|
+
import HcserviceV3 from "../tmpl/hcservice-v3";
|
|
10
|
+
|
|
11
|
+
//以列表为入口的,页面内列表,基本原则是所有交互在页面内完成,不会触发路由。
|
|
12
|
+
|
|
13
|
+
export interface LtmplPageProps {
|
|
14
|
+
sourceId:string,
|
|
15
|
+
mainCode?:string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export interface LtmplPageState {
|
|
19
|
+
ltmplConfigRes:LtmplConfigRes;
|
|
20
|
+
criteriaData:object;
|
|
21
|
+
showDtmplView:boolean;
|
|
22
|
+
selectedCode:string;
|
|
23
|
+
showDtmplEdit:boolean;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
class LtmplPage extends React.PureComponent<LtmplPageProps, LtmplPageState> {
|
|
27
|
+
|
|
28
|
+
state = {
|
|
29
|
+
ltmplConfigRes: undefined,
|
|
30
|
+
criteriaData:undefined,
|
|
31
|
+
showDtmplView:false,
|
|
32
|
+
showDtmplEdit:false,
|
|
33
|
+
selectedCode:undefined,
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
async componentDidMount() {
|
|
37
|
+
this.loadLtmplConfig();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
async componentDidUpdate(prevProps) {
|
|
41
|
+
const { sourceId,mainCode} = this.props;
|
|
42
|
+
if(!prevProps || prevProps.sourceId!=sourceId){
|
|
43
|
+
this.loadLtmplConfig();
|
|
44
|
+
}else if(mainCode && prevProps.mainCode!=mainCode){//此处处理有效,但不高效
|
|
45
|
+
this.loadLtmplConfig();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
loadLtmplConfig = async () => {
|
|
50
|
+
const {sourceId} = this.props;
|
|
51
|
+
let ltmplConfigRes:LtmplConfigRes = await HCDataSource.requestLtmplConfig(sourceId);
|
|
52
|
+
let criteriaData;
|
|
53
|
+
//提取 过滤条件的默认值
|
|
54
|
+
if(ltmplConfigRes){
|
|
55
|
+
let defaultCriteriaValue=ltmplConfigRes.ltmplConfig.defaultCriteriaValue;
|
|
56
|
+
if(defaultCriteriaValue){
|
|
57
|
+
criteriaData=this.toCriteriaData(defaultCriteriaValue);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
this.setState({
|
|
62
|
+
ltmplConfigRes,criteriaData
|
|
63
|
+
})
|
|
64
|
+
}
|
|
65
|
+
toCriteriaData = (values:object) => {
|
|
66
|
+
let criteriaData={};
|
|
67
|
+
if(values){
|
|
68
|
+
for (let key in values) {
|
|
69
|
+
criteriaData[key]=Units.configParamTrans(values[key]);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
criteriaData['sequence']=Units.getRandomNum(6);
|
|
73
|
+
return criteriaData;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
// async componentDidUpdate(prevProps) {
|
|
78
|
+
// const {location} = this.props;
|
|
79
|
+
// const { sourceId} = this.props.match.params;
|
|
80
|
+
// let { sourceId: preSourceId} = prevProps.match.params;
|
|
81
|
+
// let {location: preLocation} = prevProps;
|
|
82
|
+
//
|
|
83
|
+
// if ( !sourceId ||
|
|
84
|
+
// ( !preSourceId && this.state.ltmplConfigRes)
|
|
85
|
+
// || (location.pathname == preLocation.pathname && location.search == preLocation.search)
|
|
86
|
+
// ) {
|
|
87
|
+
// return;
|
|
88
|
+
// }
|
|
89
|
+
// this.loadData();
|
|
90
|
+
// }
|
|
91
|
+
|
|
92
|
+
showView = (code: string) => {
|
|
93
|
+
// const { sourceId} = this.props.match.params;
|
|
94
|
+
// this.onRoute(`/${sourceId}/detail-view?code=${code}&menuId=${this.getMenuId()}`);
|
|
95
|
+
this.setState({
|
|
96
|
+
selectedCode:code,
|
|
97
|
+
showDtmplView:true,
|
|
98
|
+
})
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
doEdit = (code: string,mode:string) => {
|
|
102
|
+
this.setState({
|
|
103
|
+
selectedCode:code,
|
|
104
|
+
showDtmplEdit:true,
|
|
105
|
+
})
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
doCreate = () => {
|
|
111
|
+
this.setState({
|
|
112
|
+
selectedCode:null,
|
|
113
|
+
showDtmplEdit:true,
|
|
114
|
+
})
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
doSearch = (params_) => {
|
|
118
|
+
const { sourceId,mainCode} = this.props;
|
|
119
|
+
//const oldfliter = history.location.search.slice(1);
|
|
120
|
+
|
|
121
|
+
let params = {...params_}
|
|
122
|
+
//追加过滤条件,hiddenColIds,innerQueryKey
|
|
123
|
+
if (mainCode) {
|
|
124
|
+
params['mainCode'] = mainCode;
|
|
125
|
+
}
|
|
126
|
+
params['sourceId'] = sourceId;
|
|
127
|
+
// const criteriaData = Units.transQueryParamsToStr(params);
|
|
128
|
+
// let flag = true;
|
|
129
|
+
//if (newfliter && oldfliter != newfliter) { //查询条件更新时
|
|
130
|
+
this.setState({
|
|
131
|
+
criteriaData:this.toCriteriaData(params)
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
handleDtmplEdit = (code: string) => {
|
|
137
|
+
this.doSearch(this.state.criteriaData);
|
|
138
|
+
this.setState({
|
|
139
|
+
showDtmplEdit:false,
|
|
140
|
+
})
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
render() {
|
|
145
|
+
const {ltmplConfigRes,criteriaData,showDtmplView,selectedCode,showDtmplEdit} = this.state;
|
|
146
|
+
const { sourceId,mainCode} = this.props;
|
|
147
|
+
|
|
148
|
+
if (!ltmplConfigRes) {
|
|
149
|
+
return <></>;
|
|
150
|
+
} else {
|
|
151
|
+
const {buttons}=ltmplConfigRes.ltmplConfig
|
|
152
|
+
return <>
|
|
153
|
+
<ActTable mainCode={mainCode} showView={this.showView}
|
|
154
|
+
doSearch={this.doSearch} doEdit={this.doEdit} doCreate={this.doCreate}
|
|
155
|
+
sourceId={sourceId} criteriaData={criteriaData}
|
|
156
|
+
ltmplConfig={ltmplConfigRes.ltmplConfig}/>
|
|
157
|
+
{buttons.includes('detail') ?
|
|
158
|
+
<ModalDtmplView visible={showDtmplView} onCancel={()=>{
|
|
159
|
+
this.setState({
|
|
160
|
+
showDtmplView:false,
|
|
161
|
+
})}
|
|
162
|
+
}
|
|
163
|
+
sourceId={sourceId}
|
|
164
|
+
code={selectedCode}> </ModalDtmplView> : ""}
|
|
165
|
+
{buttons.includes('dtmplEdit') || buttons.includes('dtmplAdd') ?
|
|
166
|
+
<ModalDtmplEdit visible={showDtmplEdit} onCancel={()=>{
|
|
167
|
+
this.setState({
|
|
168
|
+
showDtmplEdit:false,
|
|
169
|
+
})}}
|
|
170
|
+
sourceId={sourceId}
|
|
171
|
+
code={selectedCode}
|
|
172
|
+
onOk={this.handleDtmplEdit} />
|
|
173
|
+
: ""}
|
|
174
|
+
</>
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export default LtmplPage;
|
|
181
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import {Button, Card, Form as AntdForm, Modal} from 'antd';
|
|
3
|
+
import {RouterCompProps} from '../tmpl/interface';
|
|
4
|
+
import Units from "../units";
|
|
5
|
+
import DtmplEdit from "../detail/edit/dtmpl-edit";
|
|
6
|
+
import ActDtmplView from '../detail/view/act-dtmpl-view'
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export interface DtmplRouteProps extends RouterCompProps {
|
|
10
|
+
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export interface DtmplRoutePropsStat {
|
|
14
|
+
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
class DtmplRoute extends React.PureComponent<DtmplRouteProps, DtmplRoutePropsStat> {
|
|
18
|
+
|
|
19
|
+
getMenuId=()=>{
|
|
20
|
+
const {location} = this.props;
|
|
21
|
+
console.log("this.props.match.params",this.props);
|
|
22
|
+
var searchParams = new URLSearchParams( location.search);
|
|
23
|
+
let menuId = searchParams.get('menuId');
|
|
24
|
+
return menuId;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
goBackToLtmpl=()=>{
|
|
28
|
+
const { sourceId,} = this.props.match.params;
|
|
29
|
+
|
|
30
|
+
let url=`/${sourceId}/act-table?menuId=${this.getMenuId()}`;
|
|
31
|
+
let mainCode=this.getMainCode();
|
|
32
|
+
if(mainCode){
|
|
33
|
+
url=url+`&mainCode=${mainCode}`;
|
|
34
|
+
}
|
|
35
|
+
this.props.history.push(url);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
goDtmpl=(code:string)=>{
|
|
39
|
+
const { sourceId,} = this.props.match.params;
|
|
40
|
+
let url=`/${sourceId}/detail-edit?menuId=${this.getMenuId()}`;
|
|
41
|
+
if(code){
|
|
42
|
+
url=url+`&code=${code}`;
|
|
43
|
+
}
|
|
44
|
+
let mainCode=this.getMainCode();
|
|
45
|
+
if(mainCode){
|
|
46
|
+
url=url+`&mainCode=${mainCode}`;
|
|
47
|
+
}
|
|
48
|
+
this.props.history.push(url);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
getMainCode=()=>{
|
|
52
|
+
const {location}=this.props;
|
|
53
|
+
let params=Units.transQueryStrToParams(location.search);
|
|
54
|
+
if('mainCode' in params){
|
|
55
|
+
return params['mainCode'];
|
|
56
|
+
}else{
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
getCode=()=>{
|
|
62
|
+
const {location}=this.props;
|
|
63
|
+
let params=Units.transQueryStrToParams(location.search);
|
|
64
|
+
return params['code'];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
getMode=()=>{
|
|
68
|
+
const {location}=this.props;
|
|
69
|
+
let params=Units.transQueryStrToParams(location.search);
|
|
70
|
+
return this.getCode()?params['mode']:"add";
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
render() {
|
|
74
|
+
const {location,match}=this.props;
|
|
75
|
+
const {sourceId,} = match.params;
|
|
76
|
+
// console.log("this.props.match.params",match);
|
|
77
|
+
if(!location){
|
|
78
|
+
return <></>;
|
|
79
|
+
}
|
|
80
|
+
let params=Units.transQueryStrToParams(location.search);
|
|
81
|
+
let versionId=params['versionId'];
|
|
82
|
+
if(location.pathname.endsWith("detail-view")){
|
|
83
|
+
return (
|
|
84
|
+
<ActDtmplView goDtmpl={this.goDtmpl} sourceId={sourceId} versionId={versionId} code={this.getCode()} mainCode={this.getMainCode()} />
|
|
85
|
+
);
|
|
86
|
+
}else{
|
|
87
|
+
return (
|
|
88
|
+
<DtmplEdit addOrUpdate={this.getMode()} sourceId={sourceId} code={this.getCode()} mainCode={this.getMainCode()} goBackToLtmpl={this.goBackToLtmpl} goDtmpl={this.goDtmpl}></DtmplEdit>
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export default DtmplRoute;
|
|
96
|
+
|