aldehyde 0.2.20 → 0.2.21
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/controls/action/index.d.ts +50 -50
- package/lib/controls/action/index.d.ts.map +1 -1
- package/lib/controls/action/index.js +187 -187
- package/lib/controls/action/index.js.map +1 -1
- package/lib/controls/action/utils.d.ts +8 -8
- package/lib/controls/action/utils.js +109 -109
- package/lib/controls/auto-complete/index.d.ts +6 -6
- package/lib/controls/auto-complete/index.js +51 -51
- package/lib/controls/cascader/index.d.ts +22 -22
- package/lib/controls/cascader/index.d.ts.map +1 -1
- package/lib/controls/cascader/index.js +107 -106
- package/lib/controls/cascader/index.js.map +1 -1
- package/lib/controls/chemstruc/graph.d.ts +28 -28
- package/lib/controls/chemstruc/graph.d.ts.map +1 -1
- package/lib/controls/chemstruc/graph.js +120 -119
- package/lib/controls/chemstruc/graph.js.map +1 -1
- package/lib/controls/code-editor/sql-code-editor.d.ts +14 -14
- package/lib/controls/code-editor/sql-code-editor.js +52 -51
- package/lib/controls/code-editor/sql-code-editor.js.map +1 -1
- package/lib/controls/collapse-card/index.d.ts +19 -19
- package/lib/controls/collapse-card/index.d.ts.map +1 -1
- package/lib/controls/collapse-card/index.js +62 -62
- package/lib/controls/color-picker/index.d.ts +18 -18
- package/lib/controls/color-picker/index.d.ts.map +1 -1
- package/lib/controls/color-picker/index.js +59 -59
- package/lib/controls/counting-tag/index.d.ts +17 -17
- package/lib/controls/counting-tag/index.js +31 -30
- package/lib/controls/counting-tag/index.js.map +1 -1
- package/lib/controls/cquery/cquick-button.d.ts +23 -23
- package/lib/controls/cquery/cquick-button.d.ts.map +1 -1
- package/lib/controls/cquery/cquick-button.js +72 -72
- package/lib/controls/cquery/cquick-button.js.map +1 -1
- package/lib/controls/date-picker/index.d.ts +6 -6
- package/lib/controls/date-picker/index.js +83 -83
- package/lib/controls/entity-select/entity-select.d.ts +73 -73
- package/lib/controls/entity-select/entity-select.d.ts.map +1 -1
- package/lib/controls/entity-select/entity-select.js +427 -426
- package/lib/controls/entity-select/entity-select.js.map +1 -1
- package/lib/controls/entity-select/lab-tree-select.d.ts +24 -24
- package/lib/controls/entity-select/lab-tree-select.d.ts.map +1 -1
- package/lib/controls/entity-select/lab-tree-select.js +121 -120
- package/lib/controls/entity-select/lab-tree-select.js.map +1 -1
- package/lib/controls/entity-select/popover-entity-select.d.ts +19 -19
- package/lib/controls/entity-select/popover-entity-select.js +92 -91
- package/lib/controls/entity-select/popover-entity-select.js.map +1 -1
- package/lib/controls/entry-control.d.ts +12 -12
- package/lib/controls/entry-control.js +202 -202
- package/lib/controls/enum-badge/index.d.ts +6 -6
- package/lib/controls/enum-badge/index.js +13 -13
- package/lib/controls/enum-tag/index.d.ts +6 -6
- package/lib/controls/enum-tag/index.js +23 -23
- package/lib/controls/file-view/drawer-file-view.d.ts +21 -21
- package/lib/controls/file-view/drawer-file-view.d.ts.map +1 -1
- package/lib/controls/file-view/drawer-file-view.js +56 -55
- package/lib/controls/file-view/drawer-file-view.js.map +1 -1
- package/lib/controls/file-view/index.d.ts +27 -27
- package/lib/controls/file-view/index.d.ts.map +1 -1
- package/lib/controls/file-view/index.js +135 -134
- package/lib/controls/file-view/index.js.map +1 -1
- package/lib/controls/html-editor/draft.d.ts +21 -21
- package/lib/controls/html-editor/draft.d.ts.map +1 -1
- package/lib/controls/html-editor/draft.js +121 -121
- package/lib/controls/html-editor/draft.js.map +1 -1
- package/lib/controls/html-editor/tinymce.d.ts +12 -7
- package/lib/controls/html-editor/tinymce.d.ts.map +1 -1
- package/lib/controls/html-editor/tinymce.js +44 -43
- package/lib/controls/html-editor/tinymce.js.map +1 -1
- package/lib/controls/input-number/index.d.ts +6 -6
- package/lib/controls/input-number/index.js +68 -68
- package/lib/controls/input-range/index.d.ts +6 -6
- package/lib/controls/input-range/index.js +27 -27
- package/lib/controls/password-setter/index.d.ts +8 -7
- package/lib/controls/password-setter/index.d.ts.map +1 -1
- package/lib/controls/password-setter/index.js +50 -50
- package/lib/controls/progress/index.d.ts +6 -6
- package/lib/controls/progress/index.js +44 -44
- package/lib/controls/relation-existion/index.d.ts +19 -19
- package/lib/controls/relation-existion/index.d.ts.map +1 -1
- package/lib/controls/relation-existion/index.js +74 -74
- package/lib/controls/rfield/index.d.ts +28 -28
- package/lib/controls/rfield/index.d.ts.map +1 -1
- package/lib/controls/rfield/index.js +130 -130
- package/lib/controls/signature/index.d.ts +30 -30
- package/lib/controls/signature/index.d.ts.map +1 -1
- package/lib/controls/signature/index.js +129 -128
- package/lib/controls/signature/index.js.map +1 -1
- package/lib/controls/steps/index.d.ts +6 -6
- package/lib/controls/steps/index.js +41 -41
- package/lib/controls/text/ellipsis-text.d.ts +21 -21
- package/lib/controls/text/ellipsis-text.js +46 -45
- package/lib/controls/text/ellipsis-text.js.map +1 -1
- package/lib/controls/upload/index.d.ts +14 -14
- package/lib/controls/upload/index.js +99 -99
- package/lib/controls/view-control.d.ts +9 -9
- package/lib/controls/view-control.js +174 -174
- package/lib/custom-page/custom-page-router.d.ts +7 -22
- package/lib/custom-page/custom-page-router.d.ts.map +1 -1
- package/lib/custom-page/custom-page-router.js +66 -64
- package/lib/custom-page/custom-page-router.js.map +1 -1
- package/lib/custom-page/def-custom-page.d.ts +6 -5
- package/lib/custom-page/def-custom-page.d.ts.map +1 -1
- package/lib/custom-page/def-custom-page.js +13 -13
- package/lib/custom-page/dtmpl-custom-edit-modal-page.d.ts +42 -42
- package/lib/custom-page/dtmpl-custom-edit-modal-page.js +35 -34
- package/lib/custom-page/dtmpl-custom-edit-modal-page.js.map +1 -1
- package/lib/detail/button/cquery-button-bar.d.ts +15 -15
- package/lib/detail/button/cquery-button-bar.js +74 -74
- package/lib/detail/button/submit-button-bar.d.ts +18 -18
- package/lib/detail/button/submit-button-bar.d.ts.map +1 -1
- package/lib/detail/button/submit-button-bar.js +103 -104
- package/lib/detail/button/submit-button-bar.js.map +1 -1
- package/lib/detail/edit/dtmpl-edit.d.ts +47 -47
- package/lib/detail/edit/dtmpl-edit.d.ts.map +1 -1
- package/lib/detail/edit/dtmpl-edit.js +197 -196
- package/lib/detail/edit/dtmpl-edit.js.map +1 -1
- package/lib/detail/edit/fields-edit-card.d.ts +38 -38
- package/lib/detail/edit/fields-edit-card.js +64 -63
- package/lib/detail/edit/fields-edit-card.js.map +1 -1
- package/lib/detail/edit/modal-row-edit.d.ts +30 -30
- package/lib/detail/edit/modal-row-edit.js +56 -55
- package/lib/detail/edit/modal-row-edit.js.map +1 -1
- package/lib/detail/edit/post-result/index.d.ts +16 -16
- package/lib/detail/edit/post-result/index.js +27 -27
- package/lib/detail/edit/row-edit-card.d.ts +41 -41
- package/lib/detail/edit/row-edit-card.d.ts.map +1 -1
- package/lib/detail/edit/row-edit-card.js +84 -83
- package/lib/detail/edit/row-edit-card.js.map +1 -1
- package/lib/detail/edit/row-editor.d.ts +32 -32
- package/lib/detail/edit/row-editor.d.ts.map +1 -1
- package/lib/detail/edit/row-editor.js +56 -55
- package/lib/detail/edit/row-editor.js.map +1 -1
- package/lib/detail/rightbar/index.d.ts +19 -19
- package/lib/detail/rightbar/index.js +51 -50
- package/lib/detail/rightbar/index.js.map +1 -1
- package/lib/detail/view/act-dtmpl-view.d.ts +43 -43
- package/lib/detail/view/act-dtmpl-view.d.ts.map +1 -1
- package/lib/detail/view/act-dtmpl-view.js +96 -96
- package/lib/detail/view/act-dtmpl-view.js.map +1 -1
- package/lib/detail/view/dtmpl-view.d.ts +41 -41
- package/lib/detail/view/dtmpl-view.d.ts.map +1 -1
- package/lib/detail/view/dtmpl-view.js +115 -115
- package/lib/detail/view/dtmpl-view.js.map +1 -1
- package/lib/detail/view/field-view-group.d.ts +16 -16
- package/lib/detail/view/field-view-group.js +50 -50
- package/lib/detail/view/modal-dtmpl-view.d.ts +27 -27
- package/lib/detail/view/modal-dtmpl-view.d.ts.map +1 -1
- package/lib/detail/view/modal-dtmpl-view.js +32 -31
- package/lib/detail/view/modal-dtmpl-view.js.map +1 -1
- package/lib/detail/view/snapshot-timeline.d.ts +31 -31
- package/lib/detail/view/snapshot-timeline.d.ts.map +1 -1
- package/lib/detail/view/snapshot-timeline.js +89 -89
- package/lib/detail/view/snapshot-timeline.js.map +1 -1
- package/lib/exportor/export-frame.d.ts +49 -49
- package/lib/exportor/export-frame.d.ts.map +1 -1
- package/lib/exportor/export-frame.js +142 -141
- package/lib/exportor/export-frame.js.map +1 -1
- package/lib/exportor/index.d.ts +15 -15
- package/lib/exportor/index.js +43 -43
- package/lib/form/criteria-form.d.ts +19 -19
- package/lib/form/criteria-form.js +147 -147
- package/lib/form/dtmpl-form.d.ts +44 -44
- package/lib/form/dtmpl-form.d.ts.map +1 -1
- package/lib/form/dtmpl-form.js +204 -203
- package/lib/form/dtmpl-form.js.map +1 -1
- package/lib/form/field-group-form.d.ts +20 -20
- package/lib/form/field-group-form.js +57 -57
- package/lib/form/fields-form.d.ts +19 -19
- package/lib/form/fields-form.js +31 -31
- package/lib/form/form-Item-group.d.ts +29 -29
- package/lib/form/form-Item-group.d.ts.map +1 -1
- package/lib/form/form-Item-group.js +108 -107
- package/lib/form/form-Item-group.js.map +1 -1
- package/lib/icon/index.d.ts +10 -10
- package/lib/icon/index.js +21 -21
- package/lib/import/excel-import.d.ts +47 -47
- package/lib/import/excel-import.d.ts.map +1 -1
- package/lib/import/excel-import.js +234 -234
- package/lib/import/template-builder.d.ts +28 -20
- package/lib/import/template-builder.d.ts.map +1 -1
- package/lib/import/template-builder.js +425 -425
- package/lib/index.d.ts +41 -40
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +79 -78
- package/lib/index.js.map +1 -1
- package/lib/layout/MainPage.d.ts +4 -33
- package/lib/layout/MainPage.d.ts.map +1 -1
- package/lib/layout/MainPage.js +204 -204
- package/lib/layout/MainPage.js.map +1 -1
- package/lib/layout/footer/index.d.ts +6 -5
- package/lib/layout/footer/index.d.ts.map +1 -1
- package/lib/layout/footer/index.js +10 -10
- package/lib/layout/header/index.d.ts +14 -14
- package/lib/layout/header/index.js +35 -35
- package/lib/layout/menu/block.d.ts +16 -8
- package/lib/layout/menu/block.d.ts.map +1 -1
- package/lib/layout/menu/block.js +46 -47
- package/lib/layout/menu/block.js.map +1 -1
- package/lib/layout/menu/l2menu-message-bar.d.ts +23 -23
- package/lib/layout/menu/l2menu-message-bar.d.ts.map +1 -1
- package/lib/layout/menu/l2menu-message-bar.js +96 -96
- package/lib/layout/menu/l2menu-quick-bar.d.ts +29 -29
- package/lib/layout/menu/l2menu-quick-bar.d.ts.map +1 -1
- package/lib/layout/menu/l2menu-quick-bar.js +93 -93
- package/lib/layout/menu/menu-2layers.d.ts +13 -2
- package/lib/layout/menu/menu-2layers.d.ts.map +1 -1
- package/lib/layout/menu/menu-2layers.js +69 -70
- package/lib/layout/menu/menu-2layers.js.map +1 -1
- package/lib/layout/menu/menu-render.d.ts +8 -8
- package/lib/layout/menu/menu-render.js +74 -74
- package/lib/layout/menu/reset-password.d.ts +24 -24
- package/lib/layout/menu/reset-password.d.ts.map +1 -1
- package/lib/layout/menu/reset-password.js +113 -113
- package/lib/layout/menu/user-bar.d.ts +22 -22
- package/lib/layout/menu/user-bar.js +99 -99
- package/lib/layout/menu/userinfo-bar.d.ts +16 -16
- package/lib/layout/menu/userinfo-bar.d.ts.map +1 -1
- package/lib/layout/menu/userinfo-bar.js +43 -43
- package/lib/layout/sidebar/index.d.ts +11 -11
- package/lib/layout/sidebar/index.js +17 -17
- package/lib/login/context-setter.d.ts +23 -23
- package/lib/login/context-setter.d.ts.map +1 -1
- package/lib/login/context-setter.js +97 -97
- package/lib/login/context-setter.js.map +1 -1
- package/lib/login/login-context.d.ts +21 -10
- package/lib/login/login-context.d.ts.map +1 -1
- package/lib/login/login-context.js +126 -126
- package/lib/login/login.d.ts +2 -10
- package/lib/login/login.d.ts.map +1 -1
- package/lib/login/login.js +105 -101
- package/lib/login/login.js.map +1 -1
- package/lib/module/dtmpl-edit-card.d.ts +42 -42
- package/lib/module/dtmpl-edit-card.d.ts.map +1 -1
- package/lib/module/dtmpl-edit-card.js +162 -162
- package/lib/module/dtmpl-edit-card.js.map +1 -1
- package/lib/module/dtmpl-edit-drawer.d.ts +16 -16
- package/lib/module/dtmpl-edit-drawer.js +7 -7
- package/lib/module/dtmpl-edit-modal.d.ts +17 -17
- package/lib/module/dtmpl-edit-modal.js +7 -7
- package/lib/module/dtmpl-edit-page.d.ts +59 -59
- package/lib/module/dtmpl-edit-page.d.ts.map +1 -1
- package/lib/module/dtmpl-edit-page.js +191 -191
- package/lib/module/dtmpl-edit-page.js.map +1 -1
- package/lib/module/dtmpl-editor.d.ts +38 -38
- package/lib/module/dtmpl-editor.d.ts.map +1 -1
- package/lib/module/dtmpl-editor.js +146 -145
- package/lib/module/dtmpl-editor.js.map +1 -1
- package/lib/module/dtmpl-view-card.d.ts +18 -18
- package/lib/module/dtmpl-view-card.d.ts.map +1 -1
- package/lib/module/dtmpl-view-card.js +45 -45
- package/lib/module/dtmpl-view-drawer.d.ts +26 -26
- package/lib/module/dtmpl-view-drawer.js +39 -39
- package/lib/module/dtmpl-view-drawer.js.map +1 -1
- package/lib/module/dtmpl-view-modal.d.ts +27 -27
- package/lib/module/dtmpl-view-modal.js +35 -35
- package/lib/module/dtmpl-view-modal.js.map +1 -1
- package/lib/module/ltmpl-drawer.d.ts +28 -28
- package/lib/module/ltmpl-drawer.js +37 -36
- package/lib/module/ltmpl-drawer.js.map +1 -1
- package/lib/module/ltmpl-modal.d.ts +28 -28
- package/lib/module/ltmpl-modal.js +36 -35
- package/lib/module/ltmpl-modal.js.map +1 -1
- package/lib/module/ltmpl-table.d.ts +61 -56
- package/lib/module/ltmpl-table.d.ts.map +1 -1
- package/lib/module/ltmpl-table.js +217 -210
- package/lib/module/ltmpl-table.js.map +1 -1
- package/lib/routable/dtmpl-route.d.ts +9 -30
- package/lib/routable/dtmpl-route.d.ts.map +1 -1
- package/lib/routable/dtmpl-route.js +151 -154
- package/lib/routable/dtmpl-route.js.map +1 -1
- package/lib/routable/import-route.d.ts +5 -12
- package/lib/routable/import-route.d.ts.map +1 -1
- package/lib/routable/import-route.js +29 -28
- package/lib/routable/import-route.js.map +1 -1
- package/lib/routable/ltmpl-route.d.ts +10 -28
- package/lib/routable/ltmpl-route.d.ts.map +1 -1
- package/lib/routable/ltmpl-route.js +188 -169
- package/lib/routable/ltmpl-route.js.map +1 -1
- package/lib/routable/withroute.d.ts +3 -0
- package/lib/routable/withroute.d.ts.map +1 -0
- package/lib/routable/withroute.js +11 -0
- package/lib/routable/withroute.js.map +1 -0
- package/lib/table/act-table.d.ts +90 -89
- package/lib/table/act-table.d.ts.map +1 -1
- package/lib/table/act-table.js +529 -532
- package/lib/table/act-table.js.map +1 -1
- package/lib/table/column/column-selector.d.ts +24 -24
- package/lib/table/column/column-selector.js +59 -59
- package/lib/table/column/column-selector.js.map +1 -1
- package/lib/table/l2-act-table.d.ts +27 -22
- package/lib/table/l2-act-table.d.ts.map +1 -1
- package/lib/table/l2-act-table.js +86 -79
- package/lib/table/l2-act-table.js.map +1 -1
- package/lib/table/modal-select-table.d.ts +46 -41
- package/lib/table/modal-select-table.d.ts.map +1 -1
- package/lib/table/modal-select-table.js +215 -207
- package/lib/table/modal-select-table.js.map +1 -1
- package/lib/table/pagination.d.ts +16 -16
- package/lib/table/pagination.d.ts.map +1 -1
- package/lib/table/pagination.js +39 -39
- package/lib/table/pagination.js.map +1 -1
- package/lib/table/query-table.d.ts +73 -64
- package/lib/table/query-table.d.ts.map +1 -1
- package/lib/table/query-table.js +264 -256
- package/lib/table/query-table.js.map +1 -1
- package/lib/table/relation-table.d.ts +64 -64
- package/lib/table/relation-table.d.ts.map +1 -1
- package/lib/table/relation-table.js +425 -425
- package/lib/table/relation-table.js.map +1 -1
- package/lib/table/select-table.d.ts +45 -40
- package/lib/table/select-table.d.ts.map +1 -1
- package/lib/table/select-table.js +226 -220
- package/lib/table/select-table.js.map +1 -1
- package/lib/table/selected-rows-card.d.ts +15 -15
- package/lib/table/selected-rows-card.js +46 -46
- package/lib/table/stat/restat.d.ts +25 -25
- package/lib/table/stat/restat.d.ts.map +1 -1
- package/lib/table/stat/restat.js +60 -60
- package/lib/table/stat/restat.js.map +1 -1
- package/lib/table/table-util.d.ts +4 -4
- package/lib/table/table-util.js +25 -25
- package/lib/tmpl/control-type-supportor.d.ts +8 -8
- package/lib/tmpl/control-type-supportor.js +98 -98
- package/lib/tmpl/hc-data-source.d.ts +25 -25
- package/lib/tmpl/hc-data-source.js +331 -331
- package/lib/tmpl/hcservice-v3.d.ts +77 -77
- package/lib/tmpl/hcservice-v3.js +803 -803
- package/lib/tmpl/interface.d.ts +272 -269
- package/lib/tmpl/interface.d.ts.map +1 -1
- package/lib/tmpl/interface.js +3 -3
- package/lib/tmpl/interface.js.map +1 -1
- package/lib/tmpl/superagent.d.ts +9 -9
- package/lib/tmpl/superagent.js +142 -142
- package/lib/tmpl/tmpl-config-analysis.d.ts +6 -6
- package/lib/tmpl/tmpl-config-analysis.js +106 -106
- package/lib/units/EncryptUtils.d.ts +6 -6
- package/lib/units/EncryptUtils.js +30 -29
- package/lib/units/EncryptUtils.js.map +1 -1
- package/lib/units/index.d.ts +80 -81
- package/lib/units/index.d.ts.map +1 -1
- package/lib/units/index.js +747 -746
- package/lib/units/index.js.map +1 -1
- package/lib/units/storage.d.ts +2 -2
- package/lib/units/storage.js +1 -1
- package/lib/welcome/HCWelcome.d.ts +17 -13
- package/lib/welcome/HCWelcome.d.ts.map +1 -1
- package/lib/welcome/HCWelcome.js +199 -198
- package/lib/welcome/HCWelcome.js.map +1 -1
- package/lib/welcome/quick-entrance.d.ts +19 -19
- package/lib/welcome/quick-entrance.d.ts.map +1 -1
- package/lib/welcome/quick-entrance.js +78 -78
- package/lib/welcome/workbench.d.ts +19 -19
- package/lib/welcome/workbench.d.ts.map +1 -1
- package/lib/welcome/workbench.js +77 -77
- package/package.json +10 -10
- package/src/aldehyde/controls/action/index.tsx +2 -3
- package/src/aldehyde/controls/cascader/index.tsx +1 -1
- package/src/aldehyde/controls/chemstruc/graph.tsx +2 -2
- package/src/aldehyde/controls/collapse-card/index.tsx +1 -1
- package/src/aldehyde/controls/color-picker/index.tsx +1 -1
- package/src/aldehyde/controls/cquery/cquick-button.tsx +1 -1
- package/src/aldehyde/controls/entity-select/entity-select.tsx +12 -12
- package/src/aldehyde/controls/entity-select/lab-tree-select.tsx +1 -1
- package/src/aldehyde/controls/file-view/drawer-file-view.tsx +1 -1
- package/src/aldehyde/controls/file-view/index.tsx +1 -1
- package/src/aldehyde/controls/html-editor/draft.tsx +2 -2
- package/src/aldehyde/controls/relation-existion/index.tsx +1 -1
- package/src/aldehyde/controls/rfield/index.tsx +4 -4
- package/src/aldehyde/controls/signature/index.tsx +3 -3
- package/src/aldehyde/custom-page/custom-page-router.tsx +18 -15
- package/src/aldehyde/detail/button/submit-button-bar.tsx +1 -2
- package/src/aldehyde/detail/edit/dtmpl-edit.tsx +11 -11
- package/src/aldehyde/detail/edit/row-edit-card.tsx +1 -1
- package/src/aldehyde/detail/edit/row-editor.tsx +1 -1
- package/src/aldehyde/detail/view/act-dtmpl-view.tsx +6 -6
- package/src/aldehyde/detail/view/dtmpl-view.tsx +4 -4
- package/src/aldehyde/detail/view/modal-dtmpl-view.tsx +0 -2
- package/src/aldehyde/detail/view/snapshot-timeline.tsx +2 -2
- package/src/aldehyde/exportor/export-frame.tsx +11 -11
- package/src/aldehyde/form/dtmpl-form.tsx +3 -3
- package/src/aldehyde/form/form-Item-group.tsx +1 -1
- package/src/aldehyde/import/excel-import.tsx +11 -11
- package/src/aldehyde/index.tsx +4 -2
- package/src/aldehyde/layout/MainPage.tsx +17 -19
- package/src/aldehyde/layout/menu/block.tsx +3 -3
- package/src/aldehyde/layout/menu/l2menu-message-bar.tsx +3 -3
- package/src/aldehyde/layout/menu/l2menu-quick-bar.tsx +4 -4
- package/src/aldehyde/layout/menu/menu-2layers.tsx +3 -4
- package/src/aldehyde/layout/menu/menu-render.tsx +1 -1
- package/src/aldehyde/layout/menu/reset-password.tsx +3 -3
- package/src/aldehyde/layout/menu/userinfo-bar.tsx +1 -1
- package/src/aldehyde/login/context-setter.tsx +3 -3
- package/src/aldehyde/login/login.js +9 -2
- package/src/aldehyde/module/dtmpl-edit-card.tsx +8 -8
- package/src/aldehyde/module/dtmpl-edit-page.tsx +8 -8
- package/src/aldehyde/module/dtmpl-editor.tsx +5 -5
- package/src/aldehyde/module/dtmpl-view-card.tsx +1 -1
- package/src/aldehyde/module/ltmpl-table.tsx +22 -11
- package/src/aldehyde/routable/dtmpl-route.tsx +32 -34
- package/src/aldehyde/routable/import-route.tsx +4 -3
- package/src/aldehyde/routable/ltmpl-route.tsx +100 -75
- package/src/aldehyde/routable/withroute.tsx +22 -0
- package/src/aldehyde/table/act-table.tsx +31 -32
- package/src/aldehyde/table/l2-act-table.tsx +15 -8
- package/src/aldehyde/table/modal-select-table.tsx +22 -12
- package/src/aldehyde/table/pagination.tsx +3 -4
- package/src/aldehyde/table/query-table.tsx +63 -51
- package/src/aldehyde/table/relation-table.tsx +9 -9
- package/src/aldehyde/table/select-table.tsx +22 -10
- package/src/aldehyde/table/stat/restat.tsx +2 -2
- package/src/aldehyde/tmpl/interface.tsx +5 -1
- package/src/aldehyde/units/index.tsx +10 -10
- package/src/aldehyde/welcome/quick-entrance.tsx +1 -1
- package/src/aldehyde/welcome/workbench.tsx +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React, { RefObject } from 'react';
|
|
2
|
-
import { FieldConfig } from "../tmpl/interface";
|
|
3
|
-
import { FormInstance } from "antd/lib/form/hooks/useForm";
|
|
4
|
-
import './dtmpl-form.css';
|
|
5
|
-
export interface FieldsFormProps {
|
|
6
|
-
fields: FieldConfig[];
|
|
7
|
-
formRef?: RefObject<FormInstance>;
|
|
8
|
-
value?: object;
|
|
9
|
-
onFinish: (value: object) => void;
|
|
10
|
-
onValuesChange: (value: object) => void;
|
|
11
|
-
}
|
|
12
|
-
interface FieldsFormStat {
|
|
13
|
-
}
|
|
14
|
-
export default class FieldsForm extends React.PureComponent<FieldsFormProps, FieldsFormStat> {
|
|
15
|
-
state: {};
|
|
16
|
-
componentDidMount(): Promise<void>;
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
import { FieldConfig } from "../tmpl/interface";
|
|
3
|
+
import { FormInstance } from "antd/lib/form/hooks/useForm";
|
|
4
|
+
import './dtmpl-form.css';
|
|
5
|
+
export interface FieldsFormProps {
|
|
6
|
+
fields: FieldConfig[];
|
|
7
|
+
formRef?: RefObject<FormInstance>;
|
|
8
|
+
value?: object;
|
|
9
|
+
onFinish: (value: object) => void;
|
|
10
|
+
onValuesChange: (value: object) => void;
|
|
11
|
+
}
|
|
12
|
+
interface FieldsFormStat {
|
|
13
|
+
}
|
|
14
|
+
export default class FieldsForm extends React.PureComponent<FieldsFormProps, FieldsFormStat> {
|
|
15
|
+
state: {};
|
|
16
|
+
componentDidMount(): Promise<void>;
|
|
17
|
+
render(): JSX.Element;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
20
|
//# sourceMappingURL=fields-form.d.ts.map
|
package/lib/form/fields-form.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
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 { Form as AntdForm } from 'antd';
|
|
12
|
-
import './dtmpl-form.css';
|
|
13
|
-
import FormItemGroup from './form-Item-group';
|
|
14
|
-
;
|
|
15
|
-
;
|
|
16
|
-
export default class FieldsForm extends React.PureComponent {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(...arguments);
|
|
19
|
-
this.state = {};
|
|
20
|
-
}
|
|
21
|
-
componentDidMount() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
const { formRef, fields, value, onFinish, onValuesChange } = this.props;
|
|
27
|
-
return (React.createElement(React.Fragment, null,
|
|
28
|
-
React.createElement(AntdForm, { onValuesChange: onValuesChange, labelWrap: true, ref: formRef, name: "control-hooks", onFinish: onFinish },
|
|
29
|
-
React.createElement(FormItemGroup, { formRef: formRef, nameAttr: 'id', fields: fields, valueMap: value }))));
|
|
30
|
-
}
|
|
31
|
-
}
|
|
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 { Form as AntdForm } from 'antd';
|
|
12
|
+
import './dtmpl-form.css';
|
|
13
|
+
import FormItemGroup from './form-Item-group';
|
|
14
|
+
;
|
|
15
|
+
;
|
|
16
|
+
export default class FieldsForm extends React.PureComponent {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.state = {};
|
|
20
|
+
}
|
|
21
|
+
componentDidMount() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const { formRef, fields, value, onFinish, onValuesChange } = this.props;
|
|
27
|
+
return (React.createElement(React.Fragment, null,
|
|
28
|
+
React.createElement(AntdForm, { onValuesChange: onValuesChange, labelWrap: true, ref: formRef, name: "control-hooks", onFinish: onFinish },
|
|
29
|
+
React.createElement(FormItemGroup, { formRef: formRef, nameAttr: 'id', fields: fields, valueMap: value }))));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
32
|
//# sourceMappingURL=fields-form.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import React, { RefObject } from 'react';
|
|
2
|
-
import { FieldConfig } from "../tmpl/interface";
|
|
3
|
-
import { FormInstance } from "antd/lib/form/hooks/useForm";
|
|
4
|
-
export interface FieldGroupProps {
|
|
5
|
-
fields: FieldConfig[];
|
|
6
|
-
nameAttr?: string;
|
|
7
|
-
valueMap: object;
|
|
8
|
-
width?: number;
|
|
9
|
-
maxColsOnRow?: number;
|
|
10
|
-
mainCode?: string;
|
|
11
|
-
formRef?: RefObject<FormInstance>;
|
|
12
|
-
}
|
|
13
|
-
interface FieldGroupState {
|
|
14
|
-
fileList
|
|
15
|
-
}
|
|
16
|
-
export default class FormItemGroup extends React.PureComponent<FieldGroupProps, FieldGroupState> {
|
|
17
|
-
static defaultProps: {
|
|
18
|
-
nameAttr: string;
|
|
19
|
-
maxColsOnRow: number;
|
|
20
|
-
};
|
|
21
|
-
constructor(props: any);
|
|
22
|
-
isPromise: (obj: any) => boolean;
|
|
23
|
-
getMainCode: (item: FieldConfig, mainCode: any) => any;
|
|
24
|
-
getFieldConfig: (item: FieldConfig) => FieldConfig;
|
|
25
|
-
initFormItem: (fieldConfig: FieldConfig, fieldValue: any) => JSX.Element;
|
|
26
|
-
initFormList: () => JSX.Element;
|
|
27
|
-
render(): JSX.Element;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
import { FieldConfig } from "../tmpl/interface";
|
|
3
|
+
import { FormInstance } from "antd/lib/form/hooks/useForm";
|
|
4
|
+
export interface FieldGroupProps {
|
|
5
|
+
fields: FieldConfig[];
|
|
6
|
+
nameAttr?: string;
|
|
7
|
+
valueMap: object;
|
|
8
|
+
width?: number;
|
|
9
|
+
maxColsOnRow?: number;
|
|
10
|
+
mainCode?: string;
|
|
11
|
+
formRef?: RefObject<FormInstance>;
|
|
12
|
+
}
|
|
13
|
+
interface FieldGroupState {
|
|
14
|
+
fileList?: any;
|
|
15
|
+
}
|
|
16
|
+
export default class FormItemGroup extends React.PureComponent<FieldGroupProps, FieldGroupState> {
|
|
17
|
+
static defaultProps: {
|
|
18
|
+
nameAttr: string;
|
|
19
|
+
maxColsOnRow: number;
|
|
20
|
+
};
|
|
21
|
+
constructor(props: any);
|
|
22
|
+
isPromise: (obj: any) => boolean;
|
|
23
|
+
getMainCode: (item: FieldConfig, mainCode: any) => any;
|
|
24
|
+
getFieldConfig: (item: FieldConfig) => FieldConfig;
|
|
25
|
+
initFormItem: (fieldConfig: FieldConfig, fieldValue: any) => JSX.Element;
|
|
26
|
+
initFormList: () => JSX.Element;
|
|
27
|
+
render(): JSX.Element;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
30
|
//# sourceMappingURL=form-Item-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-Item-group.d.ts","sourceRoot":"","sources":["../../../../src/aldehyde/form/form-Item-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,SAAS,EAAC,MAAM,OAAO,CAAA;AAEtC,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAIzD,MAAM,WAAW,eAAe;IAC5B,MAA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T"}
|
|
@@ -1,108 +1,109 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Col, Form, Row } from 'antd';
|
|
3
|
-
import EntryControl from "../controls/entry-control";
|
|
4
|
-
import Units from '../units';
|
|
5
|
-
const FormItem = Form.Item;
|
|
6
|
-
;
|
|
7
|
-
;
|
|
8
|
-
|
|
9
|
-
constructor(props) {
|
|
10
|
-
super(props);
|
|
11
|
-
this.isPromise = (obj) => {
|
|
12
|
-
return !!obj //有实际含义的变量才执行方法,变量null,undefined和''空串都为false
|
|
13
|
-
&& (typeof obj === 'object' || typeof obj === 'function') // 初始promise 或 promise.then返回的
|
|
14
|
-
&& typeof obj.then === 'function';
|
|
15
|
-
};
|
|
16
|
-
this.getMainCode = (item, mainCode) => {
|
|
17
|
-
const { formRef } = this.props;
|
|
18
|
-
// let a=formRef.current;
|
|
19
|
-
if (!item.mainCode) {
|
|
20
|
-
return mainCode;
|
|
21
|
-
}
|
|
22
|
-
if (typeof item.mainCode == 'function') {
|
|
23
|
-
// let res = item.mainCode(formRef.current);
|
|
24
|
-
return item.mainCode(formRef.current);
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
return item.mainCode;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
this.getFieldConfig = (item) => {
|
|
31
|
-
const { formRef } = this.props;
|
|
32
|
-
let fieldConfig = item;
|
|
33
|
-
if (item.updateSelf) {
|
|
34
|
-
//item.value=formRef.current?formRef.current.getFieldValue(item.id):item.defaultValue;
|
|
35
|
-
fieldConfig = item.updateSelf(formRef.current);
|
|
36
|
-
//formRef.current.setFieldValue(item.id,fieldConfig.value);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
fieldConfig = item;
|
|
40
|
-
}
|
|
41
|
-
//debugger
|
|
42
|
-
return fieldConfig;
|
|
43
|
-
};
|
|
44
|
-
this.initFormItem = (fieldConfig, fieldValue) => {
|
|
45
|
-
const { valueMap, nameAttr, maxColsOnRow, mainCode } = this.props;
|
|
46
|
-
let item = this.getFieldConfig(fieldConfig);
|
|
47
|
-
const title = item.title;
|
|
48
|
-
// let fieldValue = valueMap ? valueMap[item.id] : undefined;
|
|
49
|
-
//const fieldKey = item.id + Math.random() * 100;
|
|
50
|
-
//fieldValue = (fieldValue || fieldValue == 0) ? fieldValue : item.defaultValue ? Units.configParamTrans(item.defaultValue) : undefined;
|
|
51
|
-
//fieldValue 没有值时不能为null 要为 undefined。antd input所限制
|
|
52
|
-
// console.log("表单值:", valueMap[item.id], fieldValue);
|
|
53
|
-
return React.createElement(FormItem, { label: item.title, name: item[nameAttr], key: item.id, labelCol: maxColsOnRow == 1 ? { span: 6 } : item.colNum == 1 ? { span: 6 } : { span: 3 }, wrapperCol: maxColsOnRow == 1 ? { span: 18 } : item.colNum == 1 ? { span: 15 } : { span: 19 }, tooltip: item.tip, initialValue: fieldValue, style: { margin: 4 }, rules: item.required ? [{
|
|
54
|
-
required: true, message: `请选择${title}`,
|
|
55
|
-
}] : undefined },
|
|
56
|
-
React.createElement(EntryControl, { mainCode: this.getMainCode(item, mainCode), value: fieldValue, fieldConfig: item }));
|
|
57
|
-
};
|
|
58
|
-
this.initFormList = () => {
|
|
59
|
-
const { fields, valueMap, nameAttr, maxColsOnRow, mainCode } = this.props;
|
|
60
|
-
const formItemList = [];
|
|
61
|
-
if (fields && fields.length > 0) {
|
|
62
|
-
fields.forEach((item, index) => {
|
|
63
|
-
let fieldValue = valueMap ? valueMap[item.id] : undefined;
|
|
64
|
-
const fieldKey = item.id + Math.random() * 100;
|
|
65
|
-
fieldValue = (fieldValue || fieldValue == 0) ? fieldValue : item.defaultValue ? Units.configParamTrans(item.defaultValue) : undefined;
|
|
66
|
-
let formItem = null;
|
|
67
|
-
if (item.extControlType == 'hidden') {
|
|
68
|
-
formItem = React.createElement(FormItem, { hidden: true, initialValue: fieldValue, name: item[nameAttr], key: item.id },
|
|
69
|
-
React.createElement(EntryControl, { mainCode: this.getMainCode(item, mainCode), value: fieldValue, fieldConfig: item }));
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
//debugger;
|
|
73
|
-
// console.log("getFieldValue ---", Form.useFormInstance());
|
|
74
|
-
formItem =
|
|
75
|
-
item.shouldUpdate ?
|
|
76
|
-
React.createElement(FormItem, { noStyle: true, shouldUpdate: item.shouldUpdate }, () => this.initFormItem(item, fieldValue)) : this.initFormItem(item, fieldValue);
|
|
77
|
-
}
|
|
78
|
-
formItemList.push(formItem);
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
const colList = [];
|
|
82
|
-
for (let i = 0; i < formItemList.length; i = i + 1) {
|
|
83
|
-
let colNum = fields[i].colNum;
|
|
84
|
-
if (fields[i].extControlType == 'hidden') {
|
|
85
|
-
colNum = 0;
|
|
86
|
-
}
|
|
87
|
-
else if (maxColsOnRow && maxColsOnRow == 1) {
|
|
88
|
-
colNum = 2;
|
|
89
|
-
}
|
|
90
|
-
let col = React.createElement(Col, { key: i, span: 12 * colNum }, formItemList[i]);
|
|
91
|
-
colList.push(col);
|
|
92
|
-
}
|
|
93
|
-
const row = React.createElement(Row, { gutter: [16, 8], key: 1 }, colList);
|
|
94
|
-
return row;
|
|
95
|
-
};
|
|
96
|
-
this.state = {
|
|
97
|
-
fileList: [],
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
render() {
|
|
101
|
-
return (this.initFormList());
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
FormItemGroup.defaultProps = {
|
|
105
|
-
nameAttr: 'id',
|
|
106
|
-
maxColsOnRow: 2,
|
|
107
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Col, Form, Row } from 'antd';
|
|
3
|
+
import EntryControl from "../controls/entry-control";
|
|
4
|
+
import Units from '../units';
|
|
5
|
+
const FormItem = Form.Item;
|
|
6
|
+
;
|
|
7
|
+
;
|
|
8
|
+
class FormItemGroup extends React.PureComponent {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
this.isPromise = (obj) => {
|
|
12
|
+
return !!obj //有实际含义的变量才执行方法,变量null,undefined和''空串都为false
|
|
13
|
+
&& (typeof obj === 'object' || typeof obj === 'function') // 初始promise 或 promise.then返回的
|
|
14
|
+
&& typeof obj.then === 'function';
|
|
15
|
+
};
|
|
16
|
+
this.getMainCode = (item, mainCode) => {
|
|
17
|
+
const { formRef } = this.props;
|
|
18
|
+
// let a=formRef.current;
|
|
19
|
+
if (!item.mainCode) {
|
|
20
|
+
return mainCode;
|
|
21
|
+
}
|
|
22
|
+
if (typeof item.mainCode == 'function') {
|
|
23
|
+
// let res = item.mainCode(formRef.current);
|
|
24
|
+
return item.mainCode(formRef.current);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
return item.mainCode;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
this.getFieldConfig = (item) => {
|
|
31
|
+
const { formRef } = this.props;
|
|
32
|
+
let fieldConfig = item;
|
|
33
|
+
if (item.updateSelf) {
|
|
34
|
+
//item.value=formRef.current?formRef.current.getFieldValue(item.id):item.defaultValue;
|
|
35
|
+
fieldConfig = item.updateSelf(formRef.current);
|
|
36
|
+
//formRef.current.setFieldValue(item.id,fieldConfig.value);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
fieldConfig = item;
|
|
40
|
+
}
|
|
41
|
+
//debugger
|
|
42
|
+
return fieldConfig;
|
|
43
|
+
};
|
|
44
|
+
this.initFormItem = (fieldConfig, fieldValue) => {
|
|
45
|
+
const { valueMap, nameAttr, maxColsOnRow, mainCode } = this.props;
|
|
46
|
+
let item = this.getFieldConfig(fieldConfig);
|
|
47
|
+
const title = item.title;
|
|
48
|
+
// let fieldValue = valueMap ? valueMap[item.id] : undefined;
|
|
49
|
+
//const fieldKey = item.id + Math.random() * 100;
|
|
50
|
+
//fieldValue = (fieldValue || fieldValue == 0) ? fieldValue : item.defaultValue ? Units.configParamTrans(item.defaultValue) : undefined;
|
|
51
|
+
//fieldValue 没有值时不能为null 要为 undefined。antd input所限制
|
|
52
|
+
// console.log("表单值:", valueMap[item.id], fieldValue);
|
|
53
|
+
return React.createElement(FormItem, { label: item.title, name: item[nameAttr], key: item.id, labelCol: maxColsOnRow == 1 ? { span: 6 } : item.colNum == 1 ? { span: 6 } : { span: 3 }, wrapperCol: maxColsOnRow == 1 ? { span: 18 } : item.colNum == 1 ? { span: 15 } : { span: 19 }, tooltip: item.tip, initialValue: fieldValue, style: { margin: 4 }, rules: item.required ? [{
|
|
54
|
+
required: true, message: `请选择${title}`,
|
|
55
|
+
}] : undefined },
|
|
56
|
+
React.createElement(EntryControl, { mainCode: this.getMainCode(item, mainCode), value: fieldValue, fieldConfig: item }));
|
|
57
|
+
};
|
|
58
|
+
this.initFormList = () => {
|
|
59
|
+
const { fields, valueMap, nameAttr, maxColsOnRow, mainCode } = this.props;
|
|
60
|
+
const formItemList = [];
|
|
61
|
+
if (fields && fields.length > 0) {
|
|
62
|
+
fields.forEach((item, index) => {
|
|
63
|
+
let fieldValue = valueMap ? valueMap[item.id] : undefined;
|
|
64
|
+
const fieldKey = item.id + Math.random() * 100;
|
|
65
|
+
fieldValue = (fieldValue || fieldValue == 0) ? fieldValue : item.defaultValue ? Units.configParamTrans(item.defaultValue) : undefined;
|
|
66
|
+
let formItem = null;
|
|
67
|
+
if (item.extControlType == 'hidden') {
|
|
68
|
+
formItem = React.createElement(FormItem, { hidden: true, initialValue: fieldValue, name: item[nameAttr], key: item.id },
|
|
69
|
+
React.createElement(EntryControl, { mainCode: this.getMainCode(item, mainCode), value: fieldValue, fieldConfig: item }));
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
//debugger;
|
|
73
|
+
// console.log("getFieldValue ---", Form.useFormInstance());
|
|
74
|
+
formItem =
|
|
75
|
+
item.shouldUpdate ?
|
|
76
|
+
React.createElement(FormItem, { noStyle: true, shouldUpdate: item.shouldUpdate }, () => this.initFormItem(item, fieldValue)) : this.initFormItem(item, fieldValue);
|
|
77
|
+
}
|
|
78
|
+
formItemList.push(formItem);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
const colList = [];
|
|
82
|
+
for (let i = 0; i < formItemList.length; i = i + 1) {
|
|
83
|
+
let colNum = fields[i].colNum;
|
|
84
|
+
if (fields[i].extControlType == 'hidden') {
|
|
85
|
+
colNum = 0;
|
|
86
|
+
}
|
|
87
|
+
else if (maxColsOnRow && maxColsOnRow == 1) {
|
|
88
|
+
colNum = 2;
|
|
89
|
+
}
|
|
90
|
+
let col = React.createElement(Col, { key: i, span: 12 * colNum }, formItemList[i]);
|
|
91
|
+
colList.push(col);
|
|
92
|
+
}
|
|
93
|
+
const row = React.createElement(Row, { gutter: [16, 8], key: 1 }, colList);
|
|
94
|
+
return row;
|
|
95
|
+
};
|
|
96
|
+
this.state = {
|
|
97
|
+
fileList: [],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
render() {
|
|
101
|
+
return (this.initFormList());
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
FormItemGroup.defaultProps = {
|
|
105
|
+
nameAttr: 'id',
|
|
106
|
+
maxColsOnRow: 2,
|
|
107
|
+
};
|
|
108
|
+
export default FormItemGroup;
|
|
108
109
|
//# sourceMappingURL=form-Item-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-Item-group.js","sourceRoot":"","sources":["../../../../src/aldehyde/form/form-Item-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AACtC,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAC,MAAM,MAAM,CAAA;AAEnC,OAAO,YAAY,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,MAAM,UAAU,CAAA;AAG5B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAA;AAUzB,CAAC;AAID,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"form-Item-group.js","sourceRoot":"","sources":["../../../../src/aldehyde/form/form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CAAA;gBACN,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;aACrB;YAED,MAAM,GAAG,GACL,oBAAC,GAAG,IAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,IACvB,OAAO,CACN,CAAA;YACV,OAAO,GAAG,CAAC;QACf,CAAC,CAAA;QApHG,IAAI,CAAC,KAAK,GAAG;YACT,QAAQ,EAAE,EAAE;SACf,CAAA;IACL,CAAC;IAmHD,MAAM;QACF,OAAO,CACH,IAAI,CAAC,YAAY,EAAE,CACtB,CAAA;IACL,CAAC;;AAjIM,0BAAY,GAAG;IAClB,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,CAAC;CAClB,AAHkB,CAGlB;eALgB,aAAa"}
|
package/lib/icon/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IconProps {
|
|
3
|
-
type: string;
|
|
4
|
-
}
|
|
5
|
-
export interface IconStat {
|
|
6
|
-
}
|
|
7
|
-
export default class Icon extends React.PureComponent<IconProps, IconStat> {
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps {
|
|
3
|
+
type: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IconStat {
|
|
6
|
+
}
|
|
7
|
+
export default class Icon extends React.PureComponent<IconProps, IconStat> {
|
|
8
|
+
render(): JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/icon/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FileDoneOutlined, CheckOutlined, CloseCircleOutlined, FileAddOutlined, ThunderboltOutlined } from '@ant-design/icons';
|
|
3
|
-
;
|
|
4
|
-
const iconMap = {
|
|
5
|
-
FileDoneOutlined: FileDoneOutlined,
|
|
6
|
-
CheckOutlined: CheckOutlined,
|
|
7
|
-
CloseCircleOutlined: CloseCircleOutlined,
|
|
8
|
-
FileAddOutlined: FileAddOutlined,
|
|
9
|
-
ThunderboltOutlined: ThunderboltOutlined,
|
|
10
|
-
};
|
|
11
|
-
export default class Icon extends React.PureComponent {
|
|
12
|
-
render() {
|
|
13
|
-
const { type } = this.props;
|
|
14
|
-
if (iconMap[type]) {
|
|
15
|
-
return React.createElement(iconMap[type]);
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
return React.createElement(ThunderboltOutlined, null);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FileDoneOutlined, CheckOutlined, CloseCircleOutlined, FileAddOutlined, ThunderboltOutlined } from '@ant-design/icons';
|
|
3
|
+
;
|
|
4
|
+
const iconMap = {
|
|
5
|
+
FileDoneOutlined: FileDoneOutlined,
|
|
6
|
+
CheckOutlined: CheckOutlined,
|
|
7
|
+
CloseCircleOutlined: CloseCircleOutlined,
|
|
8
|
+
FileAddOutlined: FileAddOutlined,
|
|
9
|
+
ThunderboltOutlined: ThunderboltOutlined,
|
|
10
|
+
};
|
|
11
|
+
export default class Icon extends React.PureComponent {
|
|
12
|
+
render() {
|
|
13
|
+
const { type } = this.props;
|
|
14
|
+
if (iconMap[type]) {
|
|
15
|
+
return React.createElement(iconMap[type]);
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
return React.createElement(ThunderboltOutlined, null);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.css';
|
|
3
|
-
import { LtmplConfig } from "../tmpl/interface";
|
|
4
|
-
|
|
5
|
-
interface ExcelImportProps {
|
|
6
|
-
sourceId: string;
|
|
7
|
-
}
|
|
8
|
-
interface ExcelImportStat {
|
|
9
|
-
inputMaxMsgCount
|
|
10
|
-
maxMsgCount
|
|
11
|
-
percent
|
|
12
|
-
statusMsg
|
|
13
|
-
importStatus
|
|
14
|
-
showLogLevelList
|
|
15
|
-
logSetterOpen
|
|
16
|
-
logs
|
|
17
|
-
importFile
|
|
18
|
-
logSerialId
|
|
19
|
-
ltmplConfig
|
|
20
|
-
}
|
|
21
|
-
export default class ExcelImport extends React.PureComponent<ExcelImportProps, ExcelImportStat> {
|
|
22
|
-
state: {
|
|
23
|
-
maxMsgCount: number;
|
|
24
|
-
inputMaxMsgCount: number;
|
|
25
|
-
importStatus: string;
|
|
26
|
-
importFile: any;
|
|
27
|
-
logs: any[];
|
|
28
|
-
percent: number;
|
|
29
|
-
statusMsg: any;
|
|
30
|
-
logSetterOpen: boolean;
|
|
31
|
-
showLogLevelList: LogLevel[];
|
|
32
|
-
logSerialId: any;
|
|
33
|
-
ltmplConfig: any;
|
|
34
|
-
};
|
|
35
|
-
timerId: any;
|
|
36
|
-
componentDidMount(): Promise<void>;
|
|
37
|
-
componentWillUnmount(): void;
|
|
38
|
-
handleUpload: () => void;
|
|
39
|
-
handleStopImport: () => void;
|
|
40
|
-
handleStatus: (importId: any) => void;
|
|
41
|
-
onChangeShowLogLevelList: (showLogLevelList: any) => void;
|
|
42
|
-
fresh: () => void;
|
|
43
|
-
handleLogSetter: () => void;
|
|
44
|
-
changeLogSetterOpen: (open: any) => void;
|
|
45
|
-
render(): JSX.Element;
|
|
46
|
-
}
|
|
47
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.css';
|
|
3
|
+
import { LtmplConfig } from "../tmpl/interface";
|
|
4
|
+
type LogLevel = 'INFO' | 'SUC' | 'ERROR' | 'WARN';
|
|
5
|
+
interface ExcelImportProps {
|
|
6
|
+
sourceId: string;
|
|
7
|
+
}
|
|
8
|
+
interface ExcelImportStat {
|
|
9
|
+
inputMaxMsgCount?: number;
|
|
10
|
+
maxMsgCount?: number;
|
|
11
|
+
percent?: number;
|
|
12
|
+
statusMsg?: string;
|
|
13
|
+
importStatus?: string;
|
|
14
|
+
showLogLevelList?: LogLevel[];
|
|
15
|
+
logSetterOpen?: boolean;
|
|
16
|
+
logs?: any[];
|
|
17
|
+
importFile?: any;
|
|
18
|
+
logSerialId?: string;
|
|
19
|
+
ltmplConfig?: LtmplConfig;
|
|
20
|
+
}
|
|
21
|
+
export default class ExcelImport extends React.PureComponent<ExcelImportProps, ExcelImportStat> {
|
|
22
|
+
state: {
|
|
23
|
+
maxMsgCount: number;
|
|
24
|
+
inputMaxMsgCount: number;
|
|
25
|
+
importStatus: string;
|
|
26
|
+
importFile: any;
|
|
27
|
+
logs: any[];
|
|
28
|
+
percent: number;
|
|
29
|
+
statusMsg: any;
|
|
30
|
+
logSetterOpen: boolean;
|
|
31
|
+
showLogLevelList: LogLevel[];
|
|
32
|
+
logSerialId: any;
|
|
33
|
+
ltmplConfig: any;
|
|
34
|
+
};
|
|
35
|
+
timerId: any;
|
|
36
|
+
componentDidMount(): Promise<void>;
|
|
37
|
+
componentWillUnmount(): void;
|
|
38
|
+
handleUpload: () => void;
|
|
39
|
+
handleStopImport: () => void;
|
|
40
|
+
handleStatus: (importId: any) => void;
|
|
41
|
+
onChangeShowLogLevelList: (showLogLevelList: any) => void;
|
|
42
|
+
fresh: () => void;
|
|
43
|
+
handleLogSetter: () => void;
|
|
44
|
+
changeLogSetterOpen: (open: any) => void;
|
|
45
|
+
render(): JSX.Element;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
48
48
|
//# sourceMappingURL=excel-import.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"excel-import.d.ts","sourceRoot":"","sources":["../../../../src/aldehyde/import/excel-import.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,aAAa,CAAA;AACpB,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAM9C,
|
|
1
|
+
{"version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