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,143 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import {Button, Card} from 'antd'
|
|
3
|
+
import {DtmplBaseProps, DtmplConfig, DtmplData, FieldGroupConfig} from "../../tmpl/interface";
|
|
4
|
+
import RelationTable from "../../table/relation-table";
|
|
5
|
+
import FieldViewGroup from './field-view-group';
|
|
6
|
+
import HcserviceV3 from "../../tmpl/hcservice-v3";
|
|
7
|
+
import RightBar from "../rightbar";
|
|
8
|
+
import '../dtmpl.css';
|
|
9
|
+
import {} from '@ant-design/icons';
|
|
10
|
+
import Units from '../../units';
|
|
11
|
+
import CollapseCard from "../../controls/collapse-card";
|
|
12
|
+
import CqueryButtonBar from "../button/cquery-button-bar";
|
|
13
|
+
|
|
14
|
+
export interface DtmplViewProps extends DtmplBaseProps {
|
|
15
|
+
versionId?: number;
|
|
16
|
+
dtmplConfig: DtmplConfig,
|
|
17
|
+
refreshCode?:string,
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export interface DtmplViewStat {
|
|
21
|
+
id?:string;
|
|
22
|
+
loading: boolean,
|
|
23
|
+
dtmplData: DtmplData,
|
|
24
|
+
premisesTitle: string,
|
|
25
|
+
layout: object,
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
class DtmplView extends React.PureComponent<DtmplViewProps, DtmplViewStat> {
|
|
29
|
+
static defaultProps = {
|
|
30
|
+
showRightNav: true,
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
state = {
|
|
34
|
+
loading: true,
|
|
35
|
+
id:'dtmplView'+Units.getRandomNum(6),
|
|
36
|
+
snapshotVisible: false,
|
|
37
|
+
dtmplData: undefined,
|
|
38
|
+
premisesTitle: "默认字段",
|
|
39
|
+
layout: {
|
|
40
|
+
labelCol: {span: 8},
|
|
41
|
+
wrapperCol: {span: 16},
|
|
42
|
+
},
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
async componentDidMount() {
|
|
46
|
+
await this.loadData();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
async componentDidUpdate(prevProps) {
|
|
50
|
+
const { sourceId, code, versionId,refreshCode} = this.props;
|
|
51
|
+
const {code: preCode, versionId: preVersionId,refreshCode:preRefreshCode} = prevProps;
|
|
52
|
+
if (code != preCode || (versionId && versionId != prevProps.versionId) || (refreshCode && refreshCode!=preRefreshCode)) {
|
|
53
|
+
await this.loadData();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
loadData = async () => {
|
|
58
|
+
const { sourceId, code, versionId} = this.props;
|
|
59
|
+
if (code) {
|
|
60
|
+
this.setState({
|
|
61
|
+
loading: true,
|
|
62
|
+
})
|
|
63
|
+
const dtmplData = await HcserviceV3.requestDtmplData( sourceId, code, versionId);
|
|
64
|
+
this.setState({
|
|
65
|
+
dtmplData, loading:false,
|
|
66
|
+
})
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
fieldGroupList = () => {
|
|
71
|
+
const {dtmplConfig} = this.props;
|
|
72
|
+
const { dtmplData, loading,id} = this.state;
|
|
73
|
+
|
|
74
|
+
let groups: FieldGroupConfig[] = [];
|
|
75
|
+
if (dtmplConfig) {
|
|
76
|
+
groups = dtmplConfig.groups;
|
|
77
|
+
}
|
|
78
|
+
return groups.map((item) => {
|
|
79
|
+
if (item.type == 'relation') {//关系
|
|
80
|
+
if (item.fields) {
|
|
81
|
+
let data: DtmplData[] = undefined;
|
|
82
|
+
if (dtmplData) {
|
|
83
|
+
data = dtmplData.arrayMap[item.id];
|
|
84
|
+
}
|
|
85
|
+
// console.log("dtmplData", dtmplData );
|
|
86
|
+
// console.log("dtmplData data", data );
|
|
87
|
+
// console.log("initCollapsed", dtmplData && (!data || data.length<=0));
|
|
88
|
+
return <RelationTable initCollapse={ dtmplData && (!data || data.length<=0)} loading={loading} parentId={id} key={item.id} fieldGroupConfig={item} value={data}
|
|
89
|
+
viewOrEdit={"view"}/>
|
|
90
|
+
}
|
|
91
|
+
} else {//字段组
|
|
92
|
+
return <CollapseCard
|
|
93
|
+
title={item.title}
|
|
94
|
+
key={item.id}
|
|
95
|
+
id={id+item.id}
|
|
96
|
+
className="hoverable"
|
|
97
|
+
headStyle={{background: "#f2f4f5"}}
|
|
98
|
+
loading={loading}
|
|
99
|
+
>
|
|
100
|
+
<FieldViewGroup fields={item.fields} valueMap={dtmplData ? dtmplData.fieldMap : undefined}
|
|
101
|
+
width={220}></FieldViewGroup>
|
|
102
|
+
</CollapseCard>
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
render() {
|
|
110
|
+
const {showRightNav, rightBarPositionRight, code, sourceId,dtmplConfig} = this.props;
|
|
111
|
+
const {premisesTitle, loading, dtmplData, layout, snapshotVisible,id} = this.state;
|
|
112
|
+
const premises = dtmplConfig ? dtmplConfig.premises : undefined;
|
|
113
|
+
|
|
114
|
+
return (
|
|
115
|
+
<div>
|
|
116
|
+
{this.fieldGroupList()}
|
|
117
|
+
{premises && premises.length > 0 ?
|
|
118
|
+
<CollapseCard
|
|
119
|
+
// title={<Button type="text"><HolderOutlined />{premisesTitle}</Button>}
|
|
120
|
+
title={premisesTitle}
|
|
121
|
+
key={premisesTitle}
|
|
122
|
+
id={id+premises[0].id}
|
|
123
|
+
className="hoverable"
|
|
124
|
+
headStyle={{background: "#f2f4f5"}}
|
|
125
|
+
loading={loading}
|
|
126
|
+
>
|
|
127
|
+
<FieldViewGroup
|
|
128
|
+
fields={premises}/>
|
|
129
|
+
</CollapseCard>
|
|
130
|
+
: ""
|
|
131
|
+
}
|
|
132
|
+
{showRightNav ?
|
|
133
|
+
<RightBar parentId={id} positionRight={rightBarPositionRight} dtmplConfig={dtmplConfig}/> : ""
|
|
134
|
+
}
|
|
135
|
+
<CqueryButtonBar dtmplConfig={dtmplConfig} mainCode={code}></CqueryButtonBar>
|
|
136
|
+
</div>
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
export default DtmplView;
|
|
143
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import {Col,Row,Descriptions} from 'antd';
|
|
3
|
+
import {FieldConfig, FieldGroupConfig} from "../../tmpl/interface";
|
|
4
|
+
import ViewControl from '../../controls/view-control';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface FieldViewGroupProps {
|
|
8
|
+
fields: FieldConfig[],
|
|
9
|
+
valueMap?: object,
|
|
10
|
+
width?: number,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
interface FieldViewGroupState {
|
|
14
|
+
fileList: any,
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default class FieldViewGroup extends React.PureComponent<FieldViewGroupProps, FieldViewGroupState> {
|
|
18
|
+
|
|
19
|
+
constructor(props) {
|
|
20
|
+
super(props);
|
|
21
|
+
this.state = {
|
|
22
|
+
fileList: [],
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
initViewList = () => {
|
|
27
|
+
const {fields, valueMap} = this.props
|
|
28
|
+
const formItemList = [];
|
|
29
|
+
|
|
30
|
+
if (fields.length > 0) {
|
|
31
|
+
fields.forEach((item, index) => {
|
|
32
|
+
const title = item.title;
|
|
33
|
+
let fieldValue = valueMap?valueMap[item.id]:undefined;
|
|
34
|
+
//fieldValue 没有值时不能为null 要为 undefined。antd input所限制
|
|
35
|
+
fieldValue = fieldValue ? fieldValue : item.defaultValue ? item.defaultValue : undefined;
|
|
36
|
+
const fieldKey = item.id + Math.random() * 100;
|
|
37
|
+
|
|
38
|
+
if(item.extControlType!='hidden'){
|
|
39
|
+
const formItem = <Descriptions.Item label={item.title} span={item.colNum} key={index}
|
|
40
|
+
className='labelcss'
|
|
41
|
+
>
|
|
42
|
+
<ViewControl holderType={'descriptions'} value={fieldValue} fieldConfig={item}/>
|
|
43
|
+
</Descriptions.Item>
|
|
44
|
+
formItemList.push(formItem);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
return formItemList;
|
|
49
|
+
// const colList = [];
|
|
50
|
+
//
|
|
51
|
+
// for (let i = 0; i < formItemList.length; i = i + 1) {
|
|
52
|
+
// let colNum = fields[i].colNum;
|
|
53
|
+
// let col = <Col span={12 * colNum}>
|
|
54
|
+
// {formItemList[i]}
|
|
55
|
+
// </Col>
|
|
56
|
+
// colList.push(col);
|
|
57
|
+
// }
|
|
58
|
+
//
|
|
59
|
+
// const row =
|
|
60
|
+
// <Row gutter={[16, 8]} key={1}>
|
|
61
|
+
// {colList}
|
|
62
|
+
// </Row>
|
|
63
|
+
//return row;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
render() {
|
|
67
|
+
return (
|
|
68
|
+
<Descriptions column={2}>
|
|
69
|
+
{this.initViewList()}
|
|
70
|
+
</Descriptions>
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import React, {RefObject} from 'react'
|
|
2
|
+
import {Button, Card, Form as AntdForm, message, Modal, Switch} from 'antd'
|
|
3
|
+
import {DtmplBaseProps, DtmplConfig, DtmplData, FieldGroupConfig} from "../tmpl/interface";
|
|
4
|
+
import HcserviceV3 from "../tmpl/hcservice-v3";
|
|
5
|
+
import FormItemGroup from "./form-Item-group";
|
|
6
|
+
import {FormInstance} from "antd/lib/form/hooks/useForm";
|
|
7
|
+
import {ReloadOutlined} from '@ant-design/icons';
|
|
8
|
+
import FieldViewGroup from "../detail/view/field-view-group";
|
|
9
|
+
import RelationTable from "../table/relation-table";
|
|
10
|
+
import './dtmpl-form.css';
|
|
11
|
+
import CollapseCard from "../controls/collapse-card";
|
|
12
|
+
|
|
13
|
+
export interface DtmplFormProps extends DtmplBaseProps {
|
|
14
|
+
parentId:string,
|
|
15
|
+
dtmplConfig: DtmplConfig,
|
|
16
|
+
dtmplData?:DtmplData,
|
|
17
|
+
formRef: RefObject<FormInstance>,
|
|
18
|
+
showConfirm: boolean,
|
|
19
|
+
onFinish: (code:string) => void,
|
|
20
|
+
onValuesChange?:()=>void,
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
interface DtmplFormStat {
|
|
24
|
+
loading: boolean,
|
|
25
|
+
dtmplData: DtmplData,
|
|
26
|
+
// changedGroupData:Map<number,DtmplData[]>
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
const confirm = Modal.confirm;
|
|
30
|
+
|
|
31
|
+
export default class Form extends React.PureComponent<DtmplFormProps, DtmplFormStat> {
|
|
32
|
+
fuseMode: boolean = false;
|
|
33
|
+
premisestitle: string = "默认字段";
|
|
34
|
+
|
|
35
|
+
state = {
|
|
36
|
+
loading: true,
|
|
37
|
+
dtmplData: undefined,
|
|
38
|
+
// changedGroupData:new Map<number,DtmplData[]>()
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
async componentDidMount() {
|
|
42
|
+
await this.loadData();
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
async componentDidUpdate(preProps) {
|
|
46
|
+
// const { code,formRef} = this.props;
|
|
47
|
+
const { code:preCode} = preProps;
|
|
48
|
+
if(preProps!=this.props){
|
|
49
|
+
await this.loadData();
|
|
50
|
+
}
|
|
51
|
+
// this.props.onValuesChange();
|
|
52
|
+
// if(code!=preCode || (!code && preCode)){
|
|
53
|
+
// await this.loadData();
|
|
54
|
+
// }else{
|
|
55
|
+
// formRef.current.resetFields();
|
|
56
|
+
// }
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
loadData = async () => {
|
|
61
|
+
const { sourceId, code, formRef,dtmplData} = this.props;
|
|
62
|
+
if (code) {
|
|
63
|
+
this.setState({
|
|
64
|
+
loading: true,
|
|
65
|
+
})
|
|
66
|
+
const dtmplData_ = await HcserviceV3.requestDtmplData( sourceId, code, null);
|
|
67
|
+
this.setState({
|
|
68
|
+
dtmplData:dtmplData_,
|
|
69
|
+
// changedGroupData:new Map<number,DtmplData[]>(),
|
|
70
|
+
loading: false,
|
|
71
|
+
})
|
|
72
|
+
}else if(dtmplData){
|
|
73
|
+
this.setState({
|
|
74
|
+
dtmplData,
|
|
75
|
+
// changedGroupData:new Map<number,DtmplData[]>(),
|
|
76
|
+
loading: false,
|
|
77
|
+
})
|
|
78
|
+
}else{
|
|
79
|
+
this.setState({
|
|
80
|
+
dtmplData:{code:undefined,title:undefined,fieldMap:{},arrayMap:{}},
|
|
81
|
+
loading: false,
|
|
82
|
+
})
|
|
83
|
+
}
|
|
84
|
+
//debounce(formRef.current.resetFields();, 500);
|
|
85
|
+
setTimeout(()=>formRef.current.resetFields(),200)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
doRefresh = async () => {
|
|
89
|
+
await this.loadData();
|
|
90
|
+
message.info("已刷新!")
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
onGroupChange = (fieldGroupConfig: FieldGroupConfig, selectdDatas: DtmplData[]) => {
|
|
94
|
+
const {dtmplData} = this.state;
|
|
95
|
+
dtmplData['arrayMap'][fieldGroupConfig.id] = selectdDatas;
|
|
96
|
+
let dtmplData_1 = {...dtmplData};
|
|
97
|
+
|
|
98
|
+
this.setState({
|
|
99
|
+
dtmplData: dtmplData_1,
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
changeFuseMode = (checked) => {
|
|
106
|
+
this.fuseMode = !checked;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
postForm = async (result) => {
|
|
110
|
+
this.setState({
|
|
111
|
+
loading:true,
|
|
112
|
+
})
|
|
113
|
+
const {sourceId, code,dtmplData} = this.props;
|
|
114
|
+
if (code) { //有code是修改,没有是新增实体模板
|
|
115
|
+
result['唯一编码'] = code;
|
|
116
|
+
}else if(dtmplData && dtmplData.code){
|
|
117
|
+
result['唯一编码'] = dtmplData.code;
|
|
118
|
+
}
|
|
119
|
+
let res = await HcserviceV3.postDtmplData(sourceId, result, message);
|
|
120
|
+
this.setState({
|
|
121
|
+
loading:false,
|
|
122
|
+
})
|
|
123
|
+
if(res.status === "success"){
|
|
124
|
+
this.props.onFinish(res.code);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
onSubmit = async (values: any) => {
|
|
129
|
+
const {showConfirm, code, dtmplConfig} = this.props;
|
|
130
|
+
const {dtmplData} = this.state;
|
|
131
|
+
console.log("from value:",values);
|
|
132
|
+
let resultCode = undefined;
|
|
133
|
+
const result = values;
|
|
134
|
+
for (let group of dtmplConfig.groups) {
|
|
135
|
+
if (group.type == 'relation') {
|
|
136
|
+
//添加关系标识
|
|
137
|
+
values[`${group.id}.$$flag$$`] = true;
|
|
138
|
+
//添加关系内容
|
|
139
|
+
let ds: DtmplData[] = dtmplData.arrayMap[group.id];
|
|
140
|
+
if (ds) {
|
|
141
|
+
ds.forEach((d, index) => {
|
|
142
|
+
values[`${group.id}[${index}].$$relation$$`] = d.relationLabel;
|
|
143
|
+
if (d.editStatus || d.editStatus=='new') {
|
|
144
|
+
for (let field of group.fields) {
|
|
145
|
+
values[`${group.id}[${index}].${field.id}`] = d.fieldMap[field.id];
|
|
146
|
+
}
|
|
147
|
+
} else if(d.editStatus || d.editStatus=='changed'){
|
|
148
|
+
values[`${group.id}[${index}].唯一编码`] = d.code;
|
|
149
|
+
for (let field of group.fields) {
|
|
150
|
+
values[`${group.id}[${index}].${field.id}`] = d.fieldMap[field.id];
|
|
151
|
+
}
|
|
152
|
+
}else{
|
|
153
|
+
values[`${group.id}[${index}].唯一编码`] = d.code;
|
|
154
|
+
}
|
|
155
|
+
})
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
resultCode = await this.postForm(result);
|
|
160
|
+
// if (showConfirm) {
|
|
161
|
+
// confirm({
|
|
162
|
+
// title: '确定要保存修改吗',
|
|
163
|
+
// okText: '确定',
|
|
164
|
+
// okType: 'danger',
|
|
165
|
+
// cancelText: '取消',
|
|
166
|
+
// onOk: async () =>
|
|
167
|
+
// await this.postForm(result)
|
|
168
|
+
// ,
|
|
169
|
+
// });
|
|
170
|
+
// } else {
|
|
171
|
+
// resultCode = await this.postForm(result);
|
|
172
|
+
// }
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
fieldGroupList = () => {
|
|
177
|
+
|
|
178
|
+
const {dtmplConfig,parentId} = this.props;
|
|
179
|
+
const {dtmplData, loading} = this.state;
|
|
180
|
+
|
|
181
|
+
let groups: FieldGroupConfig[];
|
|
182
|
+
if (dtmplConfig) {
|
|
183
|
+
groups = dtmplConfig.groups;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
return groups.map((item) => {
|
|
187
|
+
if (item.type == 'relation') {//关系
|
|
188
|
+
if (item.fields) {
|
|
189
|
+
let data: DtmplData[] = undefined;
|
|
190
|
+
if (dtmplData) {
|
|
191
|
+
data = dtmplData.arrayMap[item.id];
|
|
192
|
+
}
|
|
193
|
+
return <RelationTable loading={loading} parentId={parentId} key={item.id} fieldGroupConfig={item} value={data}
|
|
194
|
+
viewOrEdit={"edit"} onChange={this.onGroupChange}/>
|
|
195
|
+
}
|
|
196
|
+
} else {//字段组
|
|
197
|
+
return <CollapseCard
|
|
198
|
+
title={item.title}
|
|
199
|
+
key={item.id}
|
|
200
|
+
id={parentId+item.id}
|
|
201
|
+
className="hoverable"
|
|
202
|
+
headStyle={{background: "#f2f4f5"}}
|
|
203
|
+
loading={loading}
|
|
204
|
+
>
|
|
205
|
+
<FormItemGroup fields={item?item.fields:undefined} valueMap={dtmplData ? dtmplData.fieldMap : undefined}
|
|
206
|
+
></FormItemGroup>
|
|
207
|
+
</CollapseCard>
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
render() {
|
|
214
|
+
const {formRef, dtmplConfig, sourceId, code,parentId,onValuesChange,dtmplData} = this.props;
|
|
215
|
+
if(!dtmplConfig){
|
|
216
|
+
return <Card>
|
|
217
|
+
{/*loading={loading}*/}
|
|
218
|
+
</Card>
|
|
219
|
+
}
|
|
220
|
+
const {buttons, premises} = dtmplConfig;
|
|
221
|
+
return (
|
|
222
|
+
<>
|
|
223
|
+
<Card bordered={false}
|
|
224
|
+
key={"detailTitle"}
|
|
225
|
+
className="hoverable pageHeader"
|
|
226
|
+
// loading={loading}
|
|
227
|
+
>
|
|
228
|
+
<h3>
|
|
229
|
+
{code || (dtmplData && dtmplData.code)? "[编辑]":"[新增]"}
|
|
230
|
+
<div className="fr">
|
|
231
|
+
{buttons && buttons.includes('fusionMode') ?
|
|
232
|
+
<Switch
|
|
233
|
+
checkedChildren="开"
|
|
234
|
+
unCheckedChildren="关"
|
|
235
|
+
style={{marginRight: 10}}
|
|
236
|
+
title="融合模式"
|
|
237
|
+
onChange={this.changeFuseMode}/>
|
|
238
|
+
: ""}
|
|
239
|
+
<Button
|
|
240
|
+
className="hoverbig"
|
|
241
|
+
title="刷新"
|
|
242
|
+
onClick={this.doRefresh}
|
|
243
|
+
><ReloadOutlined/></Button>
|
|
244
|
+
</div>
|
|
245
|
+
</h3>
|
|
246
|
+
</Card>
|
|
247
|
+
<AntdForm scrollToFirstError={true} labelWrap={true} ref={formRef} name="control-hooks" onValuesChange={onValuesChange} onFinish={this.onSubmit}>
|
|
248
|
+
<AntdForm.Item hidden={true} name={'actionId'} ></AntdForm.Item>
|
|
249
|
+
<AntdForm.Item hidden={true} name={'mainCode'} ></AntdForm.Item>
|
|
250
|
+
{this.fieldGroupList()}
|
|
251
|
+
</AntdForm>
|
|
252
|
+
{premises && premises.length > 0 ?
|
|
253
|
+
<CollapseCard
|
|
254
|
+
title={this.premisestitle}
|
|
255
|
+
key={this.premisestitle}
|
|
256
|
+
id={parentId+premises[0].id}
|
|
257
|
+
className="hoverable"
|
|
258
|
+
headStyle={{background: "#f2f4f5"}}
|
|
259
|
+
// loading={loading}
|
|
260
|
+
>
|
|
261
|
+
<FieldViewGroup
|
|
262
|
+
fields={premises}/>
|
|
263
|
+
</CollapseCard>
|
|
264
|
+
: ""
|
|
265
|
+
}
|
|
266
|
+
</>
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import {Col, Form, Row} from 'antd'
|
|
3
|
+
import 'moment/locale/zh-cn';
|
|
4
|
+
import {FieldConfig, FieldGroupConfig} from "../tmpl/interface";
|
|
5
|
+
import EntryControl from "../controls/entry-control";
|
|
6
|
+
import Units from '../units'
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
const FormItem = Form.Item
|
|
11
|
+
|
|
12
|
+
export interface FieldGroupProps {
|
|
13
|
+
fields: FieldConfig[],
|
|
14
|
+
nameAttr?:string,
|
|
15
|
+
valueMap: object,
|
|
16
|
+
width?: number,
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
interface FieldGroupState {
|
|
20
|
+
fileList: any,
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export default class FormItemGroup extends React.PureComponent<FieldGroupProps, FieldGroupState> {
|
|
24
|
+
|
|
25
|
+
static defaultProps={
|
|
26
|
+
nameAttr:'id',
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(props) {
|
|
30
|
+
super(props);
|
|
31
|
+
this.state = {
|
|
32
|
+
fileList: [],
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
initFormList = () => {
|
|
37
|
+
const {fields, valueMap,nameAttr} = this.props
|
|
38
|
+
const formItemList = [];
|
|
39
|
+
|
|
40
|
+
if ( fields && fields.length > 0) {
|
|
41
|
+
fields.forEach((item, index) => {
|
|
42
|
+
const title = item.title;
|
|
43
|
+
let fieldValue = valueMap ? valueMap[item.id] : undefined;
|
|
44
|
+
//fieldValue 没有值时不能为null 要为 undefined。antd input所限制
|
|
45
|
+
fieldValue = (fieldValue || fieldValue==0 ) ? fieldValue : item.defaultValue ? Units.configParamTrans(item.defaultValue): undefined;
|
|
46
|
+
|
|
47
|
+
console.log("表单值:",valueMap[item.id],fieldValue);
|
|
48
|
+
|
|
49
|
+
const fieldKey = item.id + Math.random() * 100;
|
|
50
|
+
let formItem=null;
|
|
51
|
+
if(item.extControlType=='hidden'){
|
|
52
|
+
formItem= <FormItem hidden={true}
|
|
53
|
+
initialValue={fieldValue}
|
|
54
|
+
name={item[nameAttr]} key={item.id}>
|
|
55
|
+
<EntryControl value={fieldValue} fieldConfig={item} />
|
|
56
|
+
</FormItem>
|
|
57
|
+
}else{
|
|
58
|
+
formItem = <FormItem label={item.title} name={item[nameAttr]} key={item.id}
|
|
59
|
+
labelCol={item.colNum == 1 ? {span: 6} : {span: 3}}
|
|
60
|
+
wrapperCol={item.colNum == 1 ? {span: 15} : {span: 19}}
|
|
61
|
+
tooltip={item.tip}
|
|
62
|
+
initialValue={fieldValue}
|
|
63
|
+
style={{ margin: 4}}
|
|
64
|
+
rules={item.required ? [{
|
|
65
|
+
required: true, message: `请选择${title}`,
|
|
66
|
+
}] : undefined}>
|
|
67
|
+
<EntryControl value={fieldValue} fieldConfig={item} />
|
|
68
|
+
</FormItem>
|
|
69
|
+
}
|
|
70
|
+
formItemList.push(formItem);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const colList = [];
|
|
75
|
+
|
|
76
|
+
for (let i = 0; i < formItemList.length; i = i + 1) {
|
|
77
|
+
let colNum = fields[i].colNum;
|
|
78
|
+
if(fields[i].extControlType=='hidden'){
|
|
79
|
+
colNum=0;
|
|
80
|
+
}
|
|
81
|
+
let col = <Col key={i} span={12 * colNum}>
|
|
82
|
+
{formItemList[i]}
|
|
83
|
+
</Col>
|
|
84
|
+
colList.push(col);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const row =
|
|
88
|
+
<Row gutter={[16, 8]} key={1}>
|
|
89
|
+
{colList}
|
|
90
|
+
</Row>
|
|
91
|
+
return row;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
render() {
|
|
95
|
+
return (
|
|
96
|
+
this.initFormList()
|
|
97
|
+
)
|
|
98
|
+
}
|
|
99
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import ActTable from './table/act-table';
|
|
2
|
+
import SelectTable from './table/select-table';
|
|
3
|
+
import Loginit from './login/login';
|
|
4
|
+
import DtmplRoute from './routable/dtmpl-route';
|
|
5
|
+
import ImportRoute from './routable/import-route';
|
|
6
|
+
import LtmplRoute from "./routable/ltmpl-route";
|
|
7
|
+
import DtmplPage from './module/dtmpl-page';
|
|
8
|
+
import LtmplPage from './module/ltmpl-page';
|
|
9
|
+
import Menu2layers from './layout/menu/menu-2layers';
|
|
10
|
+
import Block from './layout/menu/block';
|
|
11
|
+
import UserBar from './layout/menu/user-bar';
|
|
12
|
+
import ResetPassword from "./layout/menu/reset-password";
|
|
13
|
+
import Footer from './layout/footer';
|
|
14
|
+
import EntryControl from './controls/entry-control';
|
|
15
|
+
import ViewControl from "./controls/view-control";
|
|
16
|
+
import ProgramConfig from './units';
|
|
17
|
+
import HydrocarbonService from "./tmpl/hcservice-v3";
|
|
18
|
+
import QuickEntrance from './welcome/quick-entrance'
|
|
19
|
+
import Workbench from './welcome/workbench';
|
|
20
|
+
import PopoverEntitySelect from "./controls/entity-select/popover-entity-select";
|
|
21
|
+
import DatePicker from "./controls/date-picker";
|
|
22
|
+
import ModalDtmplEdit from "./detail/edit/modal-dtmpl-edit";
|
|
23
|
+
import {RouterCompProps} from "./tmpl/interface";
|
|
24
|
+
import "antd/dist/antd.css"
|
|
25
|
+
import "../style/common.css"
|
|
26
|
+
import "../style/coverstyle.css"
|
|
27
|
+
export {ActTable,SelectTable,Loginit,DtmplRoute,ImportRoute,LtmplRoute,DtmplPage,LtmplPage,Menu2layers,Block,UserBar,
|
|
28
|
+
ResetPassword,Footer,EntryControl,ViewControl,ProgramConfig,HydrocarbonService,QuickEntrance,Workbench,PopoverEntitySelect
|
|
29
|
+
,DatePicker,ModalDtmplEdit,RouterCompProps}
|
|
30
|
+
|