aldehyde 0.0.9 → 0.0.12
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/lib/components/chart/antd/Chart.d.ts +10 -0
- package/lib/components/chart/antd/Chart.d.ts.map +1 -0
- package/lib/components/chart/antd/Chart.js +31 -0
- package/lib/components/chart/antd/Chart.js.map +1 -0
- package/lib/components/chart/antd/Chart10000.d.ts +11 -0
- package/lib/components/chart/antd/Chart10000.d.ts.map +1 -0
- package/lib/components/chart/antd/Chart10000.js +72 -0
- package/lib/components/chart/antd/Chart10000.js.map +1 -0
- package/lib/components/chart/antd/Max2DimLineChart.d.ts +15 -0
- package/lib/components/chart/antd/Max2DimLineChart.d.ts.map +1 -0
- package/lib/components/chart/antd/Max2DimLineChart.js +126 -0
- package/lib/components/chart/antd/Max2DimLineChart.js.map +1 -0
- package/lib/components/chart/antd/PieChart1.d.ts +3 -0
- package/lib/components/chart/antd/PieChart1.d.ts.map +1 -0
- package/lib/components/chart/antd/PieChart1.js +53 -0
- package/lib/components/chart/antd/PieChart1.js.map +1 -0
- package/lib/components/chart/antd/PieChart2.d.ts +7 -0
- package/lib/components/chart/antd/PieChart2.d.ts.map +1 -0
- package/lib/components/chart/antd/PieChart2.js +56 -0
- package/lib/components/chart/antd/PieChart2.js.map +1 -0
- package/lib/components/chart/antd/chart-utils.d.ts +7 -0
- package/lib/components/chart/antd/chart-utils.d.ts.map +1 -0
- package/lib/components/chart/antd/chart-utils.js +46 -0
- package/lib/components/chart/antd/chart-utils.js.map +1 -0
- package/lib/components/chart/antd/column-chart-sub.d.ts +7 -0
- package/lib/components/chart/antd/column-chart-sub.d.ts.map +1 -0
- package/lib/components/chart/antd/column-chart-sub.js +50 -0
- package/lib/components/chart/antd/column-chart-sub.js.map +1 -0
- package/lib/components/chart/antd/line-chart-sub.d.ts +7 -0
- package/lib/components/chart/antd/line-chart-sub.d.ts.map +1 -0
- package/lib/components/chart/antd/line-chart-sub.js +49 -0
- package/lib/components/chart/antd/line-chart-sub.js.map +1 -0
- package/lib/components/chart/antd/pie-chart-sub.d.ts +7 -0
- package/lib/components/chart/antd/pie-chart-sub.d.ts.map +1 -0
- package/lib/components/chart/antd/pie-chart-sub.js +37 -0
- package/lib/components/chart/antd/pie-chart-sub.js.map +1 -0
- package/lib/components/chart/antd/statview-d2-chart.d.ts +17 -0
- package/lib/components/chart/antd/statview-d2-chart.d.ts.map +1 -0
- package/lib/components/chart/antd/statview-d2-chart.js +108 -0
- package/lib/components/chart/antd/statview-d2-chart.js.map +1 -0
- package/lib/components/chart/statview-l2-chart.d.ts +23 -0
- package/lib/components/chart/statview-l2-chart.d.ts.map +1 -0
- package/lib/components/chart/statview-l2-chart.js +64 -0
- package/lib/components/chart/statview-l2-chart.js.map +1 -0
- package/lib/components/controls/action/index.css +9 -0
- package/lib/components/controls/action/index.d.ts +47 -0
- package/lib/components/controls/action/index.d.ts.map +1 -0
- package/lib/components/controls/action/index.js +165 -0
- package/lib/components/controls/action/index.js.map +1 -0
- package/lib/components/controls/action/utils.d.ts +9 -0
- package/lib/components/controls/action/utils.d.ts.map +1 -0
- package/lib/components/controls/action/utils.js +110 -0
- package/lib/components/controls/action/utils.js.map +1 -0
- package/lib/components/controls/auto-complete/index.d.ts +7 -0
- package/lib/components/controls/auto-complete/index.d.ts.map +1 -0
- package/lib/components/controls/auto-complete/index.js +53 -0
- package/lib/components/controls/auto-complete/index.js.map +1 -0
- package/lib/components/controls/cascader/index.d.ts +14 -0
- package/lib/components/controls/cascader/index.d.ts.map +1 -0
- package/lib/components/controls/cascader/index.js +88 -0
- package/lib/components/controls/cascader/index.js.map +1 -0
- package/lib/components/controls/chemstruc/graph.d.ts +31 -0
- package/lib/components/controls/chemstruc/graph.d.ts.map +1 -0
- package/lib/components/controls/chemstruc/graph.js +121 -0
- package/lib/components/controls/chemstruc/graph.js.map +1 -0
- package/lib/components/controls/chemstruc/index.css +28 -0
- package/lib/components/controls/collapse-card/index.css +9 -0
- package/lib/components/controls/collapse-card/index.d.ts +20 -0
- package/lib/components/controls/collapse-card/index.d.ts.map +1 -0
- package/lib/components/controls/collapse-card/index.js +63 -0
- package/lib/components/controls/collapse-card/index.js.map +1 -0
- package/lib/components/controls/color-picker/index.css +27 -0
- package/lib/components/controls/color-picker/index.d.ts +19 -0
- package/lib/components/controls/color-picker/index.d.ts.map +1 -0
- package/lib/components/controls/color-picker/index.js +61 -0
- package/lib/components/controls/color-picker/index.js.map +1 -0
- package/lib/components/controls/cquery/cquick-button.d.ts +20 -0
- package/lib/components/controls/cquery/cquick-button.d.ts.map +1 -0
- package/lib/components/controls/cquery/cquick-button.js +67 -0
- package/lib/components/controls/cquery/cquick-button.js.map +1 -0
- package/lib/components/controls/date-picker/index.d.ts +7 -0
- package/lib/components/controls/date-picker/index.d.ts.map +1 -0
- package/lib/components/controls/date-picker/index.js +91 -0
- package/lib/components/controls/date-picker/index.js.map +1 -0
- package/lib/components/controls/entity-select/entity-select.d.ts +53 -0
- package/lib/components/controls/entity-select/entity-select.d.ts.map +1 -0
- package/lib/components/controls/entity-select/entity-select.js +227 -0
- package/lib/components/controls/entity-select/entity-select.js.map +1 -0
- package/lib/components/controls/entity-select/index.css +6 -0
- package/lib/components/controls/entity-select/popover-entity-select.d.ts +20 -0
- package/lib/components/controls/entity-select/popover-entity-select.d.ts.map +1 -0
- package/lib/components/controls/entity-select/popover-entity-select.js +80 -0
- package/lib/components/controls/entity-select/popover-entity-select.js.map +1 -0
- package/lib/components/controls/entry-control.d.ts +11 -0
- package/lib/components/controls/entry-control.d.ts.map +1 -0
- package/lib/components/controls/entry-control.js +171 -0
- package/lib/components/controls/entry-control.js.map +1 -0
- package/lib/components/controls/enum-badge/index.d.ts +7 -0
- package/lib/components/controls/enum-badge/index.d.ts.map +1 -0
- package/lib/components/controls/enum-badge/index.js +14 -0
- package/lib/components/controls/enum-badge/index.js.map +1 -0
- package/lib/components/controls/enum-tag/index.d.ts +7 -0
- package/lib/components/controls/enum-tag/index.d.ts.map +1 -0
- package/lib/components/controls/enum-tag/index.js +18 -0
- package/lib/components/controls/enum-tag/index.js.map +1 -0
- package/lib/components/controls/file-view/drawer-file-view.d.ts +18 -0
- package/lib/components/controls/file-view/drawer-file-view.d.ts.map +1 -0
- package/lib/components/controls/file-view/drawer-file-view.js +51 -0
- package/lib/components/controls/file-view/drawer-file-view.js.map +1 -0
- package/lib/components/controls/file-view/index.d.ts +23 -0
- package/lib/components/controls/file-view/index.d.ts.map +1 -0
- package/lib/components/controls/file-view/index.js +130 -0
- package/lib/components/controls/file-view/index.js.map +1 -0
- package/lib/components/controls/html-editor/draft.d.ts +22 -0
- package/lib/components/controls/html-editor/draft.d.ts.map +1 -0
- package/lib/components/controls/html-editor/draft.js +122 -0
- package/lib/components/controls/html-editor/draft.js.map +1 -0
- package/lib/components/controls/html-editor/tinymce.d.ts +13 -0
- package/lib/components/controls/html-editor/tinymce.d.ts.map +1 -0
- package/lib/components/controls/html-editor/tinymce.js +46 -0
- package/lib/components/controls/html-editor/tinymce.js.map +1 -0
- package/lib/components/controls/input-number/index.d.ts +7 -0
- package/lib/components/controls/input-number/index.d.ts.map +1 -0
- package/lib/components/controls/input-number/index.js +67 -0
- package/lib/components/controls/input-number/index.js.map +1 -0
- package/lib/components/controls/input-range/index.d.ts +7 -0
- package/lib/components/controls/input-range/index.d.ts.map +1 -0
- package/lib/components/controls/input-range/index.js +28 -0
- package/lib/components/controls/input-range/index.js.map +1 -0
- package/lib/components/controls/password-setter/index.css +3 -0
- package/lib/components/controls/password-setter/index.d.ts +9 -0
- package/lib/components/controls/password-setter/index.d.ts.map +1 -0
- package/lib/components/controls/password-setter/index.js +51 -0
- package/lib/components/controls/password-setter/index.js.map +1 -0
- package/lib/components/controls/progress/index.d.ts +7 -0
- package/lib/components/controls/progress/index.d.ts.map +1 -0
- package/lib/components/controls/progress/index.js +45 -0
- package/lib/components/controls/progress/index.js.map +1 -0
- package/lib/components/controls/relation-existion/index.css +4 -0
- package/lib/components/controls/relation-existion/index.d.ts +20 -0
- package/lib/components/controls/relation-existion/index.d.ts.map +1 -0
- package/lib/components/controls/relation-existion/index.js +75 -0
- package/lib/components/controls/relation-existion/index.js.map +1 -0
- package/lib/components/controls/rfield/index.css +4 -0
- package/lib/components/controls/rfield/index.d.ts +29 -0
- package/lib/components/controls/rfield/index.d.ts.map +1 -0
- package/lib/components/controls/rfield/index.js +130 -0
- package/lib/components/controls/rfield/index.js.map +1 -0
- package/lib/components/controls/signature/index.d.ts +31 -0
- package/lib/components/controls/signature/index.d.ts.map +1 -0
- package/lib/components/controls/signature/index.js +129 -0
- package/lib/components/controls/signature/index.js.map +1 -0
- package/lib/components/controls/steps/index.d.ts +7 -0
- package/lib/components/controls/steps/index.d.ts.map +1 -0
- package/lib/components/controls/steps/index.js +42 -0
- package/lib/components/controls/steps/index.js.map +1 -0
- package/lib/components/controls/text/ellipsis-text.d.ts +22 -0
- package/lib/components/controls/text/ellipsis-text.d.ts.map +1 -0
- package/lib/components/controls/text/ellipsis-text.js +46 -0
- package/lib/components/controls/text/ellipsis-text.js.map +1 -0
- package/lib/components/controls/upload/index.d.ts +15 -0
- package/lib/components/controls/upload/index.d.ts.map +1 -0
- package/lib/components/controls/upload/index.js +100 -0
- package/lib/components/controls/upload/index.js.map +1 -0
- package/lib/components/controls/view-control.d.ts +10 -0
- package/lib/components/controls/view-control.d.ts.map +1 -0
- package/lib/components/controls/view-control.js +150 -0
- package/lib/components/controls/view-control.js.map +1 -0
- package/lib/components/detail/button/cquery-button-bar.d.ts +16 -0
- package/lib/components/detail/button/cquery-button-bar.d.ts.map +1 -0
- package/lib/components/detail/button/cquery-button-bar.js +75 -0
- package/lib/components/detail/button/cquery-button-bar.js.map +1 -0
- package/lib/components/detail/button/index.css +43 -0
- package/lib/components/detail/button/submit-button-bar.d.ts +19 -0
- package/lib/components/detail/button/submit-button-bar.d.ts.map +1 -0
- package/lib/components/detail/button/submit-button-bar.js +99 -0
- package/lib/components/detail/button/submit-button-bar.js.map +1 -0
- package/lib/components/detail/dtmpl.css +53 -0
- package/lib/components/detail/edit/dtmpl-edit.d.ts +48 -0
- package/lib/components/detail/edit/dtmpl-edit.d.ts.map +1 -0
- package/lib/components/detail/edit/dtmpl-edit.js +190 -0
- package/lib/components/detail/edit/dtmpl-edit.js.map +1 -0
- package/lib/components/detail/edit/fields-edit-card.d.ts +39 -0
- package/lib/components/detail/edit/fields-edit-card.d.ts.map +1 -0
- package/lib/components/detail/edit/fields-edit-card.js +64 -0
- package/lib/components/detail/edit/fields-edit-card.js.map +1 -0
- package/lib/components/detail/edit/modal-dtmpl-edit.d.ts +51 -0
- package/lib/components/detail/edit/modal-dtmpl-edit.d.ts.map +1 -0
- package/lib/components/detail/edit/modal-dtmpl-edit.js +168 -0
- package/lib/components/detail/edit/modal-dtmpl-edit.js.map +1 -0
- package/lib/components/detail/edit/modal-row-edit.d.ts +31 -0
- package/lib/components/detail/edit/modal-row-edit.d.ts.map +1 -0
- package/lib/components/detail/edit/modal-row-edit.js +56 -0
- package/lib/components/detail/edit/modal-row-edit.js.map +1 -0
- package/lib/components/detail/edit/post-result/index.d.ts +17 -0
- package/lib/components/detail/edit/post-result/index.d.ts.map +1 -0
- package/lib/components/detail/edit/post-result/index.js +28 -0
- package/lib/components/detail/edit/post-result/index.js.map +1 -0
- package/lib/components/detail/edit/row-edit-card.d.ts +42 -0
- package/lib/components/detail/edit/row-edit-card.d.ts.map +1 -0
- package/lib/components/detail/edit/row-edit-card.js +84 -0
- package/lib/components/detail/edit/row-edit-card.js.map +1 -0
- package/lib/components/detail/edit/row-editor.d.ts +31 -0
- package/lib/components/detail/edit/row-editor.d.ts.map +1 -0
- package/lib/components/detail/edit/row-editor.js +55 -0
- package/lib/components/detail/edit/row-editor.js.map +1 -0
- package/lib/components/detail/rightbar/index.css +35 -0
- package/lib/components/detail/rightbar/index.d.ts +20 -0
- package/lib/components/detail/rightbar/index.d.ts.map +1 -0
- package/lib/components/detail/rightbar/index.js +51 -0
- package/lib/components/detail/rightbar/index.js.map +1 -0
- package/lib/components/detail/view/act-dtmpl-view.d.ts +46 -0
- package/lib/components/detail/view/act-dtmpl-view.d.ts.map +1 -0
- package/lib/components/detail/view/act-dtmpl-view.js +110 -0
- package/lib/components/detail/view/act-dtmpl-view.js.map +1 -0
- package/lib/components/detail/view/dtmpl-view.d.ts +42 -0
- package/lib/components/detail/view/dtmpl-view.d.ts.map +1 -0
- package/lib/components/detail/view/dtmpl-view.js +111 -0
- package/lib/components/detail/view/dtmpl-view.js.map +1 -0
- package/lib/components/detail/view/field-view-group.d.ts +17 -0
- package/lib/components/detail/view/field-view-group.d.ts.map +1 -0
- package/lib/components/detail/view/field-view-group.js +51 -0
- package/lib/components/detail/view/field-view-group.js.map +1 -0
- package/lib/components/detail/view/modal-dtmpl-view.d.ts +27 -0
- package/lib/components/detail/view/modal-dtmpl-view.d.ts.map +1 -0
- package/lib/components/detail/view/modal-dtmpl-view.js +32 -0
- package/lib/components/detail/view/modal-dtmpl-view.js.map +1 -0
- package/lib/components/detail/view/snapshot-timeline.d.ts +32 -0
- package/lib/components/detail/view/snapshot-timeline.d.ts.map +1 -0
- package/lib/components/detail/view/snapshot-timeline.js +90 -0
- package/lib/components/detail/view/snapshot-timeline.js.map +1 -0
- package/lib/components/exportor/export-frame.css +3 -0
- package/lib/components/exportor/export-frame.d.ts +50 -0
- package/lib/components/exportor/export-frame.d.ts.map +1 -0
- package/lib/components/exportor/export-frame.js +140 -0
- package/lib/components/exportor/export-frame.js.map +1 -0
- package/lib/components/exportor/index.d.ts +16 -0
- package/lib/components/exportor/index.d.ts.map +1 -0
- package/lib/components/exportor/index.js +44 -0
- package/lib/components/exportor/index.js.map +1 -0
- package/lib/components/form/criteria-form.d.ts +19 -0
- package/lib/components/form/criteria-form.d.ts.map +1 -0
- package/lib/components/form/criteria-form.js +167 -0
- package/lib/components/form/criteria-form.js.map +1 -0
- package/lib/components/form/dtmpl-form.css +4 -0
- package/lib/components/form/dtmpl-form.d.ts +37 -0
- package/lib/components/form/dtmpl-form.d.ts.map +1 -0
- package/lib/components/form/dtmpl-form.js +213 -0
- package/lib/components/form/dtmpl-form.js.map +1 -0
- package/lib/components/form/field-group-form.d.ts +21 -0
- package/lib/components/form/field-group-form.d.ts.map +1 -0
- package/lib/components/form/field-group-form.js +58 -0
- package/lib/components/form/field-group-form.js.map +1 -0
- package/lib/components/form/fields-form.d.ts +20 -0
- package/lib/components/form/fields-form.d.ts.map +1 -0
- package/lib/components/form/fields-form.js +39 -0
- package/lib/components/form/fields-form.js.map +1 -0
- package/lib/components/form/form-Item-group.d.ts +22 -0
- package/lib/components/form/form-Item-group.d.ts.map +1 -0
- package/lib/components/form/form-Item-group.js +60 -0
- package/lib/components/form/form-Item-group.js.map +1 -0
- package/lib/components/form/index.css +13 -0
- package/lib/components/import/excel-import.d.ts +48 -0
- package/lib/components/import/excel-import.d.ts.map +1 -0
- package/lib/components/import/excel-import.js +234 -0
- package/lib/components/import/excel-import.js.map +1 -0
- package/lib/components/import/index.css +54 -0
- package/lib/components/import/template-builder.d.ts +29 -0
- package/lib/components/import/template-builder.d.ts.map +1 -0
- package/lib/components/import/template-builder.js +426 -0
- package/lib/components/import/template-builder.js.map +1 -0
- package/lib/components/import/template.css +51 -0
- package/lib/components/layout/MainPage.d.ts +32 -0
- package/lib/components/layout/MainPage.d.ts.map +1 -0
- package/lib/components/layout/MainPage.js +202 -0
- package/lib/components/layout/MainPage.js.map +1 -0
- package/lib/components/layout/footer/index.css +6 -0
- package/lib/components/layout/footer/index.d.ts +7 -0
- package/lib/components/layout/footer/index.d.ts.map +1 -0
- package/lib/components/layout/footer/index.js +11 -0
- package/lib/components/layout/footer/index.js.map +1 -0
- package/lib/components/layout/header/index.css +86 -0
- package/lib/components/layout/header/index.d.ts +16 -0
- package/lib/components/layout/header/index.d.ts.map +1 -0
- package/lib/components/layout/header/index.js +37 -0
- package/lib/components/layout/header/index.js.map +1 -0
- package/lib/components/layout/menu/block.d.ts +9 -0
- package/lib/components/layout/menu/block.d.ts.map +1 -0
- package/lib/components/layout/menu/block.js +48 -0
- package/lib/components/layout/menu/block.js.map +1 -0
- package/lib/components/layout/menu/l2menu-message-bar.d.ts +24 -0
- package/lib/components/layout/menu/l2menu-message-bar.d.ts.map +1 -0
- package/lib/components/layout/menu/l2menu-message-bar.js +97 -0
- package/lib/components/layout/menu/l2menu-message-bar.js.map +1 -0
- package/lib/components/layout/menu/l2menu-quick-bar.d.ts +30 -0
- package/lib/components/layout/menu/l2menu-quick-bar.d.ts.map +1 -0
- package/lib/components/layout/menu/l2menu-quick-bar.js +94 -0
- package/lib/components/layout/menu/l2menu-quick-bar.js.map +1 -0
- package/lib/components/layout/menu/menu-2layers.d.ts +9 -0
- package/lib/components/layout/menu/menu-2layers.d.ts.map +1 -0
- package/lib/components/layout/menu/menu-2layers.js +63 -0
- package/lib/components/layout/menu/menu-2layers.js.map +1 -0
- package/lib/components/layout/menu/menu-render.d.ts +8 -0
- package/lib/components/layout/menu/menu-render.d.ts.map +1 -0
- package/lib/components/layout/menu/menu-render.js +44 -0
- package/lib/components/layout/menu/menu-render.js.map +1 -0
- package/lib/components/layout/menu/reset-password.d.ts +25 -0
- package/lib/components/layout/menu/reset-password.d.ts.map +1 -0
- package/lib/components/layout/menu/reset-password.js +113 -0
- package/lib/components/layout/menu/reset-password.js.map +1 -0
- package/lib/components/layout/menu/user-bar.d.ts +19 -0
- package/lib/components/layout/menu/user-bar.d.ts.map +1 -0
- package/lib/components/layout/menu/user-bar.js +61 -0
- package/lib/components/layout/menu/user-bar.js.map +1 -0
- package/lib/components/layout/menu/userinfo-bar.d.ts +18 -0
- package/lib/components/layout/menu/userinfo-bar.d.ts.map +1 -0
- package/lib/components/layout/menu/userinfo-bar.js +50 -0
- package/lib/components/layout/menu/userinfo-bar.js.map +1 -0
- package/lib/components/layout/sidebar/index.css +26 -0
- package/lib/components/layout/sidebar/index.d.ts +12 -0
- package/lib/components/layout/sidebar/index.d.ts.map +1 -0
- package/lib/components/layout/sidebar/index.js +19 -0
- package/lib/components/layout/sidebar/index.js.map +1 -0
- package/lib/components/login.d.ts +21 -0
- package/lib/components/login.d.ts.map +1 -0
- package/lib/components/login.js +97 -0
- package/lib/components/login.js.map +1 -0
- package/lib/components/module/dtmpl-page.d.ts +19 -0
- package/lib/components/module/dtmpl-page.d.ts.map +1 -0
- package/lib/components/module/dtmpl-page.js +46 -0
- package/lib/components/module/dtmpl-page.js.map +1 -0
- package/lib/components/module/ltmpl-page.d.ts +34 -0
- package/lib/components/module/ltmpl-page.d.ts.map +1 -0
- package/lib/components/module/ltmpl-page.js +154 -0
- package/lib/components/module/ltmpl-page.js.map +1 -0
- package/lib/components/routable/dtmpl-route.d.ts +17 -0
- package/lib/components/routable/dtmpl-route.d.ts.map +1 -0
- package/lib/components/routable/dtmpl-route.js +77 -0
- package/lib/components/routable/dtmpl-route.js.map +1 -0
- package/lib/components/routable/import-route.d.ts +13 -0
- package/lib/components/routable/import-route.d.ts.map +1 -0
- package/lib/components/routable/import-route.js +29 -0
- package/lib/components/routable/import-route.js.map +1 -0
- package/lib/components/routable/ltmpl-route.d.ts +25 -0
- package/lib/components/routable/ltmpl-route.d.ts.map +1 -0
- package/lib/components/routable/ltmpl-route.js +145 -0
- package/lib/components/routable/ltmpl-route.js.map +1 -0
- package/lib/components/table/act-table.d.ts +76 -0
- package/lib/components/table/act-table.d.ts.map +1 -0
- package/lib/components/table/act-table.js +454 -0
- package/lib/components/table/act-table.js.map +1 -0
- package/lib/components/table/column/column-selector.d.ts +26 -0
- package/lib/components/table/column/column-selector.d.ts.map +1 -0
- package/lib/components/table/column/column-selector.js +59 -0
- package/lib/components/table/column/column-selector.js.map +1 -0
- package/lib/components/table/column/index.css +14 -0
- package/lib/components/table/index.css +45 -0
- package/lib/components/table/l2-act-table.d.ts +23 -0
- package/lib/components/table/l2-act-table.d.ts.map +1 -0
- package/lib/components/table/l2-act-table.js +80 -0
- package/lib/components/table/l2-act-table.js.map +1 -0
- package/lib/components/table/modal-select-table.d.ts +41 -0
- package/lib/components/table/modal-select-table.d.ts.map +1 -0
- package/lib/components/table/modal-select-table.js +208 -0
- package/lib/components/table/modal-select-table.js.map +1 -0
- package/lib/components/table/pagination.css +15 -0
- package/lib/components/table/pagination.d.ts +17 -0
- package/lib/components/table/pagination.d.ts.map +1 -0
- package/lib/components/table/pagination.js +40 -0
- package/lib/components/table/pagination.js.map +1 -0
- package/lib/components/table/query-table.d.ts +65 -0
- package/lib/components/table/query-table.d.ts.map +1 -0
- package/lib/components/table/query-table.js +257 -0
- package/lib/components/table/query-table.js.map +1 -0
- package/lib/components/table/relation-table.d.ts +61 -0
- package/lib/components/table/relation-table.d.ts.map +1 -0
- package/lib/components/table/relation-table.js +444 -0
- package/lib/components/table/relation-table.js.map +1 -0
- package/lib/components/table/select-table.d.ts +40 -0
- package/lib/components/table/select-table.d.ts.map +1 -0
- package/lib/components/table/select-table.js +223 -0
- package/lib/components/table/select-table.js.map +1 -0
- package/lib/components/table/selected-rows-card.d.ts +16 -0
- package/lib/components/table/selected-rows-card.d.ts.map +1 -0
- package/lib/components/table/selected-rows-card.js +47 -0
- package/lib/components/table/selected-rows-card.js.map +1 -0
- package/lib/components/table/stat/restat.d.ts +26 -0
- package/lib/components/table/stat/restat.d.ts.map +1 -0
- package/lib/components/table/stat/restat.js +61 -0
- package/lib/components/table/stat/restat.js.map +1 -0
- package/lib/components/table/table-util.d.ts +5 -0
- package/lib/components/table/table-util.d.ts.map +1 -0
- package/lib/components/table/table-util.js +30 -0
- package/lib/components/table/table-util.js.map +1 -0
- package/lib/components/tmpl/control-type-supportor.d.ts +9 -0
- package/lib/components/tmpl/control-type-supportor.d.ts.map +1 -0
- package/lib/components/tmpl/control-type-supportor.js +85 -0
- package/lib/components/tmpl/control-type-supportor.js.map +1 -0
- package/lib/components/tmpl/hc-data-source.d.ts +19 -0
- package/lib/components/tmpl/hc-data-source.d.ts.map +1 -0
- package/lib/components/tmpl/hc-data-source.js +230 -0
- package/lib/components/tmpl/hc-data-source.js.map +1 -0
- package/lib/components/tmpl/hcservice-v3.d.ts +53 -0
- package/lib/components/tmpl/hcservice-v3.d.ts.map +1 -0
- package/lib/components/tmpl/hcservice-v3.js +639 -0
- package/lib/components/tmpl/hcservice-v3.js.map +1 -0
- package/lib/components/tmpl/interface.d.ts +234 -0
- package/lib/components/tmpl/interface.d.ts.map +1 -0
- package/lib/components/tmpl/interface.js +4 -0
- package/lib/components/tmpl/interface.js.map +1 -0
- package/lib/components/tmpl/superagent.d.ts +9 -0
- package/lib/components/tmpl/superagent.d.ts.map +1 -0
- package/lib/components/tmpl/superagent.js +94 -0
- package/lib/components/tmpl/superagent.js.map +1 -0
- package/lib/components/tmpl/tmpl-config-analysis.d.ts +7 -0
- package/lib/components/tmpl/tmpl-config-analysis.d.ts.map +1 -0
- package/lib/components/tmpl/tmpl-config-analysis.js +106 -0
- package/lib/components/tmpl/tmpl-config-analysis.js.map +1 -0
- package/lib/components/units/EncryptUtils.d.ts +7 -0
- package/lib/components/units/EncryptUtils.d.ts.map +1 -0
- package/lib/components/units/EncryptUtils.js +30 -0
- package/lib/components/units/EncryptUtils.js.map +1 -0
- package/lib/components/units/index.d.ts +58 -0
- package/lib/components/units/index.d.ts.map +1 -0
- package/lib/components/units/index.js +525 -0
- package/lib/components/units/index.js.map +1 -0
- package/lib/components/units/storage.d.ts +3 -0
- package/lib/components/units/storage.d.ts.map +1 -0
- package/lib/components/units/storage.js +2 -0
- package/lib/components/units/storage.js.map +1 -0
- package/lib/components/welcome/HCWelcome.d.ts +18 -0
- package/lib/components/welcome/HCWelcome.d.ts.map +1 -0
- package/lib/components/welcome/HCWelcome.js +204 -0
- package/lib/components/welcome/HCWelcome.js.map +1 -0
- package/lib/components/welcome/index.css +13 -0
- package/lib/components/welcome/quick-entrance.d.ts +20 -0
- package/lib/components/welcome/quick-entrance.d.ts.map +1 -0
- package/lib/components/welcome/quick-entrance.js +79 -0
- package/lib/components/welcome/quick-entrance.js.map +1 -0
- package/lib/components/welcome/workbench.d.ts +20 -0
- package/lib/components/welcome/workbench.d.ts.map +1 -0
- package/lib/components/welcome/workbench.js +78 -0
- package/lib/components/welcome/workbench.js.map +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +4 -0
- package/lib/index.js.map +1 -0
- package/lib/style/common.css +79 -0
- package/lib/style/coverstyle.css +49 -0
- package/lib/style/transstyle.css +24 -0
- package/package.json +11 -8
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { Card, Col, Row, Image, Carousel } from 'antd';
|
|
12
|
+
import QuickEntrance from './quick-entrance';
|
|
13
|
+
import Workbench from './workbench';
|
|
14
|
+
import './index.css';
|
|
15
|
+
import TimeCost from '../../../public/time-cost.png';
|
|
16
|
+
import TimePrograss from '../../../public/time-prograss.png';
|
|
17
|
+
import PainPoint from '../../../public/pain-point.png';
|
|
18
|
+
import Target from '../../../public/target.png';
|
|
19
|
+
import Development from '../../../public/development.png';
|
|
20
|
+
export default class HCWelcome extends React.Component {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.state = {};
|
|
24
|
+
this.intervals = [];
|
|
25
|
+
this.cardStyle = {
|
|
26
|
+
height: '400px',
|
|
27
|
+
// background: '#364d79',
|
|
28
|
+
};
|
|
29
|
+
this.carouselStyle = {
|
|
30
|
+
background: '#fff',
|
|
31
|
+
borderRadius: '6px'
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
componentDidMount() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
// let l2MenuCharts = await HcserviceV3.requestSimpleCharts();
|
|
37
|
+
// let piecharts = [];
|
|
38
|
+
// for (const item of l2MenuCharts) {
|
|
39
|
+
// let data = await HcserviceV3.requestSimpleChartsEntities( item.id);
|
|
40
|
+
// if (data) {
|
|
41
|
+
// piecharts.push(<Col span={12}> <AntdPieChart data={data} key={item.id}></AntdPieChart></Col>)
|
|
42
|
+
// }
|
|
43
|
+
// }
|
|
44
|
+
//
|
|
45
|
+
// var chartDom = document.getElementById('echart1');
|
|
46
|
+
// var myChart = Echarts.init(chartDom);
|
|
47
|
+
// var option;
|
|
48
|
+
//
|
|
49
|
+
// option = {
|
|
50
|
+
// title: {
|
|
51
|
+
// text: 'Line'
|
|
52
|
+
// },
|
|
53
|
+
// tooltip: {
|
|
54
|
+
// trigger: 'axis'
|
|
55
|
+
// },
|
|
56
|
+
// legend: {
|
|
57
|
+
// data: ['Email', 'Union Ads', 'Video Ads', 'Direct', 'Search Engine']
|
|
58
|
+
// },
|
|
59
|
+
// grid: {
|
|
60
|
+
// left: '3%',
|
|
61
|
+
// right: '4%',
|
|
62
|
+
// bottom: '3%',
|
|
63
|
+
// containLabel: true
|
|
64
|
+
// },
|
|
65
|
+
// toolbox: {
|
|
66
|
+
// feature: {
|
|
67
|
+
// saveAsImage: {}
|
|
68
|
+
// }
|
|
69
|
+
// },
|
|
70
|
+
// xAxis: {
|
|
71
|
+
// type: 'category',
|
|
72
|
+
// boundaryGap: false,
|
|
73
|
+
// data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
|
|
74
|
+
// },
|
|
75
|
+
// yAxis: {
|
|
76
|
+
// type: 'value'
|
|
77
|
+
// },
|
|
78
|
+
// series: [
|
|
79
|
+
// {
|
|
80
|
+
// name: 'Email',
|
|
81
|
+
// type: 'line',
|
|
82
|
+
// stack: 'Total',
|
|
83
|
+
// data: [120, 132, 101, 134, 90, 230, 210]
|
|
84
|
+
// },
|
|
85
|
+
// {
|
|
86
|
+
// name: 'Union Ads',
|
|
87
|
+
// type: 'line',
|
|
88
|
+
// stack: 'Total',
|
|
89
|
+
// data: [220, 182, 191, 234, 290, 330, 310]
|
|
90
|
+
// },
|
|
91
|
+
// {
|
|
92
|
+
// name: 'Video Ads',
|
|
93
|
+
// type: 'line',
|
|
94
|
+
// stack: 'Total',
|
|
95
|
+
// data: [150, 232, 201, 154, 190, 330, 410]
|
|
96
|
+
// },
|
|
97
|
+
// {
|
|
98
|
+
// name: 'Direct',
|
|
99
|
+
// type: 'line',
|
|
100
|
+
// stack: 'Total',
|
|
101
|
+
// data: [320, 332, 301, 334, 390, 330, 320]
|
|
102
|
+
// },
|
|
103
|
+
// {
|
|
104
|
+
// name: 'Search Engine',
|
|
105
|
+
// type: 'line',
|
|
106
|
+
// stack: 'Total',
|
|
107
|
+
// data: [820, 932, 901, 934, 1290, 1330, 1320]
|
|
108
|
+
// }
|
|
109
|
+
// ]
|
|
110
|
+
// };
|
|
111
|
+
//
|
|
112
|
+
// option && myChart.setOption(option);
|
|
113
|
+
//
|
|
114
|
+
// var chartDom = document.getElementById('echart2');
|
|
115
|
+
// var myChart = Echarts.init(chartDom);
|
|
116
|
+
// var option;
|
|
117
|
+
//
|
|
118
|
+
// option = {
|
|
119
|
+
// legend: {
|
|
120
|
+
// top: 'bottom'
|
|
121
|
+
// },
|
|
122
|
+
// toolbox: {
|
|
123
|
+
// show: true,
|
|
124
|
+
// feature: {
|
|
125
|
+
// mark: { show: true },
|
|
126
|
+
// dataView: { show: true, readOnly: false },
|
|
127
|
+
// restore: { show: true },
|
|
128
|
+
// saveAsImage: { show: true }
|
|
129
|
+
// }
|
|
130
|
+
// },
|
|
131
|
+
// series: [
|
|
132
|
+
// {
|
|
133
|
+
// name: 'Nightingale Chart',
|
|
134
|
+
// type: 'pie',
|
|
135
|
+
// radius: [16, 80],
|
|
136
|
+
// center: ['50%', '50%'],
|
|
137
|
+
// roseType: 'area',
|
|
138
|
+
// itemStyle: {
|
|
139
|
+
// borderRadius: 8
|
|
140
|
+
// },
|
|
141
|
+
// data: [
|
|
142
|
+
// { value: 40, name: 'rose 1' },
|
|
143
|
+
// { value: 38, name: 'rose 2' },
|
|
144
|
+
// { value: 32, name: 'rose 3' },
|
|
145
|
+
// { value: 30, name: 'rose 4' },
|
|
146
|
+
// { value: 28, name: 'rose 5' },
|
|
147
|
+
// { value: 26, name: 'rose 6' },
|
|
148
|
+
// { value: 22, name: 'rose 7' },
|
|
149
|
+
// { value: 18, name: 'rose 8' }
|
|
150
|
+
// ]
|
|
151
|
+
// }
|
|
152
|
+
// ]
|
|
153
|
+
// };
|
|
154
|
+
//
|
|
155
|
+
// option && myChart.setOption(option);
|
|
156
|
+
//
|
|
157
|
+
// this.setState({
|
|
158
|
+
// piecharts
|
|
159
|
+
// })
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
componentWillUnmount() {
|
|
163
|
+
if (this.intervals.length > 0) {
|
|
164
|
+
for (let i of this.intervals) {
|
|
165
|
+
clearInterval(i);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
this.intervals = [];
|
|
169
|
+
}
|
|
170
|
+
render() {
|
|
171
|
+
return React.createElement(React.Fragment, null,
|
|
172
|
+
React.createElement(Row, { className: 'home-page', gutter: { xs: 8, sm: 16, md: 24, lg: 32 } },
|
|
173
|
+
React.createElement(Col, { span: 24 },
|
|
174
|
+
React.createElement(Card, { className: "hovercard" },
|
|
175
|
+
React.createElement(Row, { gutter: { xs: 8, sm: 16, md: 24, lg: 32 } },
|
|
176
|
+
React.createElement(Col, { span: 12 },
|
|
177
|
+
React.createElement(Image, { src: PainPoint })),
|
|
178
|
+
React.createElement(Col, { span: 12 },
|
|
179
|
+
" ",
|
|
180
|
+
React.createElement(Image, { src: Target }))))),
|
|
181
|
+
React.createElement(Col, { span: 24 },
|
|
182
|
+
React.createElement(Row, { style: { minHeight: '100px' }, gutter: { xs: 8, sm: 16, md: 24, lg: 32 } },
|
|
183
|
+
React.createElement(Col, { span: 12, style: { width: '100%' } },
|
|
184
|
+
React.createElement(Workbench, { className: "hovercard" }),
|
|
185
|
+
React.createElement(QuickEntrance, { className: "hovercard" })),
|
|
186
|
+
React.createElement(Col, { span: 12, style: { 'height': '410px' } },
|
|
187
|
+
React.createElement(Card, { className: "hovercard", style: this.cardStyle, bodyStyle: { padding: '2px' } },
|
|
188
|
+
React.createElement(Carousel, { autoplay: true },
|
|
189
|
+
React.createElement("div", null,
|
|
190
|
+
React.createElement(Image, { src: TimePrograss })),
|
|
191
|
+
React.createElement("div", null,
|
|
192
|
+
React.createElement(Image, { src: Development })),
|
|
193
|
+
React.createElement("div", null,
|
|
194
|
+
React.createElement(Image, { src: TimeCost }))))))),
|
|
195
|
+
React.createElement(Col, { span: 24 },
|
|
196
|
+
React.createElement(Row, { gutter: { xs: 8, sm: 16, md: 24, lg: 32 } },
|
|
197
|
+
React.createElement(Col, { style: { width: '100%' } },
|
|
198
|
+
React.createElement(Card, { className: "hovercard", title: '统计视图' },
|
|
199
|
+
React.createElement(Row, { gutter: [{ xs: 8, sm: 16, md: 24, lg: 32 }, { xs: 8, sm: 16, md: 24, lg: 32 }] },
|
|
200
|
+
React.createElement(Col, { span: 16, style: { 'height': '400px' }, id: 'echart1' }),
|
|
201
|
+
React.createElement(Col, { span: 8, style: { 'height': '400px' }, id: 'echart2' }))))))));
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
//# sourceMappingURL=HCWelcome.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HCWelcome.js","sourceRoot":"","sources":["../../../src/components/welcome/HCWelcome.js"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEz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C,QAAQ,EAAC,OAAO,EAAC,EAAG,EAAE,EAAE,SAAS,GACjD,CAEJ,CACH,CACL,CACJ,CACA,CACJ,CACC,CAAA;IACX,CAAC;CAEJ"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CardProps } from 'antd';
|
|
3
|
+
import 'antd/dist/antd.css';
|
|
4
|
+
import { Level2Menu } from "../tmpl/interface";
|
|
5
|
+
interface QuickEntranceProps extends CardProps {
|
|
6
|
+
}
|
|
7
|
+
interface QuickEntranceState {
|
|
8
|
+
l2Menus: Level2Menu[];
|
|
9
|
+
}
|
|
10
|
+
declare class QuickEntrance extends React.PureComponent<QuickEntranceProps, QuickEntranceState> {
|
|
11
|
+
state: {
|
|
12
|
+
l2Menus: any;
|
|
13
|
+
};
|
|
14
|
+
intervals: any[];
|
|
15
|
+
componentDidMount(): Promise<void>;
|
|
16
|
+
componentWillUnmount(): void;
|
|
17
|
+
render(): JSX.Element;
|
|
18
|
+
}
|
|
19
|
+
export default QuickEntrance;
|
|
20
|
+
//# sourceMappingURL=quick-entrance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quick-entrance.d.ts","sourceRoot":"","sources":["../../../src/components/welcome/quick-entrance.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAoC,SAAS,EAAC,MAAM,MAAM,CAAA;AAEjE,OAAO,oBAAoB,CAAC;AAG5B,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,UAAU,kBAAmB,SAAQ,SAAS;CAC7C;AAED,UAAU,kBAAkB;IACxB,OAAO,EAAC,UAAU,EAAE,CAAA;CACvB;AAED,cAAM,aAAc,SAAQ,KAAK,CAAC,aAAa,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IACnF,KAAK;;MAEJ;IACD,SAAS,EAAC,GAAG,EAAE,CAAI;IACb,iBAAiB;IAoBvB,oBAAoB,IAAI,IAAI;IAU5B,MAAM;CAwBT;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
11
|
+
var t = {};
|
|
12
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
13
|
+
t[p] = s[p];
|
|
14
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
15
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
16
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
17
|
+
t[p[i]] = s[p[i]];
|
|
18
|
+
}
|
|
19
|
+
return t;
|
|
20
|
+
};
|
|
21
|
+
import React from 'react';
|
|
22
|
+
import { Badge, Button, Card, Space } from 'antd';
|
|
23
|
+
import { CodeTwoTone } from '@ant-design/icons';
|
|
24
|
+
import 'antd/dist/antd.css';
|
|
25
|
+
import HcserviceV3 from "../tmpl/hcservice-v3";
|
|
26
|
+
import HCDataSource from '../tmpl/hc-data-source';
|
|
27
|
+
class QuickEntrance extends React.PureComponent {
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments);
|
|
30
|
+
this.state = {
|
|
31
|
+
l2Menus: undefined
|
|
32
|
+
};
|
|
33
|
+
this.intervals = [];
|
|
34
|
+
}
|
|
35
|
+
componentDidMount() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
let l2Menus = yield HCDataSource.quickEntranceMenus();
|
|
38
|
+
for (const item of l2Menus) {
|
|
39
|
+
if (item.displayTotal == true) {
|
|
40
|
+
let i = setInterval(() => __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
let count = yield HcserviceV3.requestLtmplCount(item.id);
|
|
42
|
+
item.count = count;
|
|
43
|
+
this.setState({});
|
|
44
|
+
}), 180000);
|
|
45
|
+
this.intervals.push(i);
|
|
46
|
+
let count = yield HcserviceV3.requestLtmplCount(item.id);
|
|
47
|
+
item.count = count;
|
|
48
|
+
this.setState({});
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
this.setState({
|
|
52
|
+
l2Menus
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
componentWillUnmount() {
|
|
57
|
+
if (this.intervals.length > 0) {
|
|
58
|
+
for (let i of this.intervals) {
|
|
59
|
+
console.log('快捷入口移除定时任务');
|
|
60
|
+
clearInterval(i);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
this.intervals = [];
|
|
64
|
+
}
|
|
65
|
+
render() {
|
|
66
|
+
const _a = this.props, { title } = _a, other = __rest(_a, ["title"]);
|
|
67
|
+
const { l2Menus } = this.state;
|
|
68
|
+
let faceplateL2MenuComp = [];
|
|
69
|
+
l2Menus && l2Menus.forEach((l2Menu) => {
|
|
70
|
+
let comp = React.createElement(Badge, { key: l2Menu.id, count: l2Menu.count },
|
|
71
|
+
React.createElement(Button, { shape: "round", icon: React.createElement(CodeTwoTone, null), href: `#/${l2Menu.id}/act-table?menuId=${l2Menu.id}`, size: 'large' }, l2Menu.title));
|
|
72
|
+
faceplateL2MenuComp.push(comp);
|
|
73
|
+
});
|
|
74
|
+
return (React.createElement(Card, Object.assign({}, other),
|
|
75
|
+
React.createElement(Space, { size: [16, 16], wrap: true }, faceplateL2MenuComp)));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export default QuickEntrance;
|
|
79
|
+
//# sourceMappingURL=quick-entrance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quick-entrance.js","sourceRoot":"","sources":["../../../src/components/welcome/quick-entrance.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAU,KAAK,EAAW,MAAM,MAAM,CAAA;AACjE,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,oBAAoB,CAAC;AAC5B,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAC/C,OAAO,YAAY,MAAM,wBAAwB,CAAA;AAUjD,MAAM,aAAc,SAAQ,KAAK,CAAC,aAAqD;IAAvF;;QACI,UAAK,GAAC;YACF,OAAO,EAAC,SAAS;SACpB,CAAA;QACD,cAAS,GAAO,EAAE,CAAC;IAuDvB,CAAC;IAtDS,iBAAiB;;YACnB,IAAI,OAAO,GAAgB,MAAM,YAAY,CAAC,kBAAkB,EAAE,CAAC;YACnE,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE;gBACxB,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;oBAC3B,IAAI,CAAC,GAAE,WAAW,CAAC,GAAS,EAAE;wBAC1B,IAAI,KAAK,GAAG,MAAM,WAAW,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;wBACzD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;wBACnB,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;oBACrB,CAAC,CAAA,EAAE,MAAM,CAAC,CAAC;oBACX,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;oBACvB,IAAI,KAA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O,CACH,oBAAC,IAAI,oBAAK,KAAK;YACX,oBAAC,KAAK,IAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,UACtB,mBAAmB,CAChB,CACL,CACV,CAAA;IACL,CAAC;CACJ;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CardProps } from 'antd';
|
|
3
|
+
import 'antd/dist/antd.css';
|
|
4
|
+
import { Level2Menu } from "../tmpl/interface";
|
|
5
|
+
interface WorkbenchProps extends CardProps {
|
|
6
|
+
}
|
|
7
|
+
interface WorkbenchState {
|
|
8
|
+
l2Menus: Level2Menu[];
|
|
9
|
+
}
|
|
10
|
+
declare class Workbench extends React.PureComponent<WorkbenchProps, WorkbenchState> {
|
|
11
|
+
state: {
|
|
12
|
+
l2Menus: any;
|
|
13
|
+
};
|
|
14
|
+
intervals: any[];
|
|
15
|
+
componentDidMount(): Promise<void>;
|
|
16
|
+
componentWillUnmount(): void;
|
|
17
|
+
render(): JSX.Element;
|
|
18
|
+
}
|
|
19
|
+
export default Workbench;
|
|
20
|
+
//# sourceMappingURL=workbench.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbench.d.ts","sourceRoot":"","sources":["../../../src/components/welcome/workbench.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAgC,SAAS,EAAC,MAAM,MAAM,CAAA;AAE7D,OAAO,oBAAoB,CAAC;AAG5B,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,UAAU,cAAe,SAAQ,SAAS;CACzC;AAED,UAAU,cAAc;IACpB,OAAO,EAAE,UAAU,EAAE,CAAA;CACxB;AAED,cAAM,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,cAAc,EAAE,cAAc,CAAC;IACvE,KAAK;;MAEJ;IACD,SAAS,EAAE,GAAG,EAAE,CAAM;IAEhB,iBAAiB;IAkBvB,oBAAoB,IAAI,IAAI;IAU5B,MAAM;CAwBT;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
11
|
+
var t = {};
|
|
12
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
13
|
+
t[p] = s[p];
|
|
14
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
15
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
16
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
17
|
+
t[p[i]] = s[p[i]];
|
|
18
|
+
}
|
|
19
|
+
return t;
|
|
20
|
+
};
|
|
21
|
+
import React from 'react';
|
|
22
|
+
import { Button, Card, Space, Statistic } from 'antd';
|
|
23
|
+
import { RocketTwoTone } from '@ant-design/icons';
|
|
24
|
+
import 'antd/dist/antd.css';
|
|
25
|
+
import HcserviceV3 from "../tmpl/hcservice-v3";
|
|
26
|
+
import HCDataSource from '../tmpl/hc-data-source';
|
|
27
|
+
class Workbench extends React.PureComponent {
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments);
|
|
30
|
+
this.state = {
|
|
31
|
+
l2Menus: undefined
|
|
32
|
+
};
|
|
33
|
+
this.intervals = [];
|
|
34
|
+
}
|
|
35
|
+
componentDidMount() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
let l2Menus = yield HCDataSource.workbenchMenus();
|
|
38
|
+
for (const item of l2Menus) {
|
|
39
|
+
let i = setInterval(() => __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
let count = yield HcserviceV3.requestLtmplCount(item.id);
|
|
41
|
+
item.count = count;
|
|
42
|
+
this.setState({});
|
|
43
|
+
}), 180000);
|
|
44
|
+
this.intervals.push(i);
|
|
45
|
+
let count = yield HcserviceV3.requestLtmplCount(item.id);
|
|
46
|
+
item.count = count;
|
|
47
|
+
this.setState({});
|
|
48
|
+
}
|
|
49
|
+
this.setState({
|
|
50
|
+
l2Menus
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
componentWillUnmount() {
|
|
55
|
+
if (this.intervals.length > 0) {
|
|
56
|
+
for (let i of this.intervals) {
|
|
57
|
+
console.log('workbanch移除定时任务');
|
|
58
|
+
clearInterval(i);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
this.intervals = [];
|
|
62
|
+
}
|
|
63
|
+
render() {
|
|
64
|
+
const _a = this.props, { title } = _a, other = __rest(_a, ["title"]);
|
|
65
|
+
const { l2Menus } = this.state;
|
|
66
|
+
let faceplateStatisticL2MenusComp = [];
|
|
67
|
+
l2Menus && l2Menus.forEach((l2Menu) => {
|
|
68
|
+
let comp = (React.createElement(Card, { key: l2Menu.id },
|
|
69
|
+
React.createElement(Statistic, { prefix: React.createElement(RocketTwoTone, null), title: l2Menu.title, value: l2Menu.count }),
|
|
70
|
+
React.createElement(Button, { style: { marginTop: 12 }, href: `#/${l2Menu.id}/act-table?menuId=${l2Menu.id}` }, "\u67E5\u770B")));
|
|
71
|
+
faceplateStatisticL2MenusComp.push(comp);
|
|
72
|
+
});
|
|
73
|
+
return (React.createElement(Card, Object.assign({}, other, { title: title ? title : '工作台' }),
|
|
74
|
+
React.createElement(Space, { size: [16, 16], wrap: true }, faceplateStatisticL2MenusComp)));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export default Workbench;
|
|
78
|
+
//# sourceMappingURL=workbench.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbench.js","sourceRoot":"","sources":["../../../src/components/welcome/workbench.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAW,MAAM,MAAM,CAAA;AAC7D,OAAO,EAAC,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,oBAAoB,CAAC;AAC5B,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAC/C,OAAO,YAAY,MAAM,wBAAwB,CAAA;AAUjD,MAAM,SAAU,SAAQ,KAAK,CAAC,aAA6C;IAA3E;;QACI,UAAK,GAAG;YACJ,OAAO,EAAE,SAAS;SACrB,CAAA;QACD,cAAS,GAAU,EAAE,CAAC;IAsD1B,CAAC;IApDS,iBAAiB;;YACnB,IAAI,OAAO,GAAiB,MAAM,YAAY,CAAC,cAAc,EAAE,CAAC;YAChE,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE;gBACxB,IAAI,CAAC,GAAG,WAAW,CAAC,GAAS,EAAE;oBAC3B,IAAI,KAAK,GAAG,MAAM,WAAW,CAAC,iBAAiB,CAAE,IAAI,CAAC,EAAE,CAAC,CAAC;oBAC1D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;oBACnB,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;gBACrB,CAAC,CAAA,EAAE,MAAM,CAAC,CAAC;gBACX,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;gBACvB,IAAI,KAA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AI,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAA;QAEF,OAAO,CACH,oBAAC,IAAI,oBAAK,KAAK,IAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK;YACzC,oBAAC,KAAK,IAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,UACtB,6BAA6B,CAC1B,CACL,CACV,CAAA;IACL,CAAC;CACJ;AAED,eAAe,SAAS,CAAA"}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAO,8BAA8B,CAAC;AACrD,OAAO,WAAW,MAAO,iCAAiC,CAAC;AAE3D,OAAO,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAA"}
|
package/lib/index.js
ADDED
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAO,8BAA8B,CAAC;AACrD,OAAO,WAAW,MAAO,iCAAiC,CAAC;AAE3D,OAAO,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAA"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
|
|
2
|
+
body {
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
|
|
6
|
+
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
|
|
7
|
+
sans-serif;
|
|
8
|
+
-webkit-font-smoothing: antialiased;
|
|
9
|
+
-moz-osx-font-smoothing: grayscale;
|
|
10
|
+
}
|
|
11
|
+
.container{
|
|
12
|
+
display:flex;
|
|
13
|
+
min-width: 620px;
|
|
14
|
+
}
|
|
15
|
+
.nav-left{
|
|
16
|
+
min-width: 50px;
|
|
17
|
+
background: #001529;
|
|
18
|
+
height: calc(100vh);
|
|
19
|
+
overflow: auto;
|
|
20
|
+
}
|
|
21
|
+
.nav-left::-webkit-scrollbar {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
.main{
|
|
25
|
+
flex:1;
|
|
26
|
+
height: calc(100vh);
|
|
27
|
+
background: #eee;
|
|
28
|
+
overflow: auto;
|
|
29
|
+
/*min-width: 620px;*/
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.content{
|
|
33
|
+
position: relative;
|
|
34
|
+
background: #fff;
|
|
35
|
+
flex:1;
|
|
36
|
+
min-height:calc(75vh);
|
|
37
|
+
}
|
|
38
|
+
.login{
|
|
39
|
+
position: relative;
|
|
40
|
+
height:calc(100vh);
|
|
41
|
+
background: #001529
|
|
42
|
+
}
|
|
43
|
+
.login form{
|
|
44
|
+
background: #fff;
|
|
45
|
+
position: absolute;
|
|
46
|
+
top:50%;
|
|
47
|
+
left:50%;
|
|
48
|
+
transform: translate(-50%,-50%);
|
|
49
|
+
padding:30px 20px;
|
|
50
|
+
border-radius: 5px
|
|
51
|
+
}
|
|
52
|
+
.buttonDiv{
|
|
53
|
+
background: #fff;
|
|
54
|
+
padding:15px 10px 10px;
|
|
55
|
+
}
|
|
56
|
+
.hoverbig:hover{
|
|
57
|
+
-ms-transform:scale(1.2,1.2); /* IE 9 */
|
|
58
|
+
-webkit-transform: scale(1.2,1.2); /* Safari */
|
|
59
|
+
transform: scale(1.2,1.2); /* 标准语法 */
|
|
60
|
+
transition: all .5s;
|
|
61
|
+
z-index: 99;
|
|
62
|
+
}
|
|
63
|
+
.fr{
|
|
64
|
+
position: relative;
|
|
65
|
+
top:-4px;
|
|
66
|
+
float: right;
|
|
67
|
+
}
|
|
68
|
+
.fr button{
|
|
69
|
+
margin-right: 5px;
|
|
70
|
+
}
|
|
71
|
+
.hoverable:hover{
|
|
72
|
+
box-shadow: 4px 4px 10px rgba(0,0,0,.09);
|
|
73
|
+
border-color: rgba(0,0,0,.09);
|
|
74
|
+
}
|
|
75
|
+
.hovercard{
|
|
76
|
+
box-shadow: 4px 4px 10px rgba(0,0,0,.09);
|
|
77
|
+
border-color: rgba(0,0,0,.09);
|
|
78
|
+
border-radius: 4px;
|
|
79
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.ant-card-head-title{
|
|
2
|
+
padding:10px 0;
|
|
3
|
+
}
|
|
4
|
+
.login form .ant-form-item,.ant-card{
|
|
5
|
+
margin-bottom: 14px
|
|
6
|
+
}
|
|
7
|
+
.ant-tabs .ant-tabs-top-content, .ant-tabs .ant-tabs-bottom-content{
|
|
8
|
+
padding:0 20px 20px;
|
|
9
|
+
}
|
|
10
|
+
.ant-tabs-tab-btn-disabled, .ant-tabs-tab-btn-disabled:hover{
|
|
11
|
+
color:#fff;
|
|
12
|
+
}
|
|
13
|
+
.ant-upload-list{
|
|
14
|
+
width:220px
|
|
15
|
+
}
|
|
16
|
+
:root .ant-tabs-tab-prev-icon-target, :root .ant-tabs-tab-next-icon-target{
|
|
17
|
+
font-size: 20px;
|
|
18
|
+
}
|
|
19
|
+
.ant-message{
|
|
20
|
+
z-index: 1090;
|
|
21
|
+
}
|
|
22
|
+
.ant-tabs-bar{
|
|
23
|
+
z-index: 99;
|
|
24
|
+
}
|
|
25
|
+
.ant-card-extra{
|
|
26
|
+
padding:0;
|
|
27
|
+
}
|
|
28
|
+
.ant-card-head{
|
|
29
|
+
min-height: 40px;
|
|
30
|
+
}
|
|
31
|
+
.ant-table{
|
|
32
|
+
line-height: 1;
|
|
33
|
+
overflow-x: auto;
|
|
34
|
+
}
|
|
35
|
+
.ant-table-thead > tr > th, .ant-table-tbody > tr > td{
|
|
36
|
+
padding:8px 10px;
|
|
37
|
+
white-space :nowrap;
|
|
38
|
+
text-align: left;
|
|
39
|
+
}
|
|
40
|
+
.ant-table-pagination.ant-pagination{
|
|
41
|
+
margin:10px 0;
|
|
42
|
+
}
|
|
43
|
+
.ant-table-thead > tr > th.ant-table-selection-column, .ant-table-tbody > tr > td.ant-table-selection-column{
|
|
44
|
+
min-width: 0;
|
|
45
|
+
}
|
|
46
|
+
.ant-avatar{
|
|
47
|
+
width:50px;
|
|
48
|
+
height:50px;
|
|
49
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.fade-enter, .fade-appear {
|
|
2
|
+
opacity: 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.fade-enter-active, .fade-appear-active {
|
|
6
|
+
opacity: 1;
|
|
7
|
+
transition: opacity 1s ease-in;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.fade-enter-done {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.fade-exit {
|
|
15
|
+
opacity: 1;
|
|
16
|
+
}
|
|
17
|
+
.fade-exit-active {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
transition: opacity 1s ease-in;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.fade-exit-done{
|
|
23
|
+
opacity: 0;
|
|
24
|
+
}
|