aldehyde 0.2.19 → 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 -423
- 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 -76
- package/lib/tmpl/hcservice-v3.d.ts.map +1 -1
- package/lib/tmpl/hcservice-v3.js +803 -787
- package/lib/tmpl/hcservice-v3.js.map +1 -1
- 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 -742
- 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 +17 -20
- 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/hcservice-v3.tsx +15 -0
- package/src/aldehyde/tmpl/interface.tsx +5 -1
- package/src/aldehyde/units/index.tsx +18 -13
- package/src/aldehyde/welcome/quick-entrance.tsx +1 -1
- package/src/aldehyde/welcome/workbench.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/aldehyde/tmpl/interface.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/aldehyde/tmp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"file":"interface.js","sourceRoot":"","sources":["../../../../src/aldehyde/tmpl/interface.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../../../../src/aldehyde/tmpl/interface.tsx"],"names":[],"mappings":"AAkSC,CAAC;AAWD,CAAC"}
|
package/lib/tmpl/superagent.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export default class Superagent {
|
|
2
|
-
static super(options: any, type: any, load: any): Promise<any>;
|
|
3
|
-
static get(options: any): Promise<any>;
|
|
4
|
-
static getProramConfig(): Promise<any>;
|
|
5
|
-
static getHeaderObj(): {
|
|
6
|
-
'hydrocarbon-token': any;
|
|
7
|
-
'hydrocarbon-program-token': string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
1
|
+
export default class Superagent {
|
|
2
|
+
static super(options: any, type: any, load: any): Promise<any>;
|
|
3
|
+
static get(options: any): Promise<any>;
|
|
4
|
+
static getProramConfig(): Promise<any>;
|
|
5
|
+
static getHeaderObj(): {
|
|
6
|
+
'hydrocarbon-token': any;
|
|
7
|
+
'hydrocarbon-program-token': string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=superagent.d.ts.map
|
package/lib/tmpl/superagent.js
CHANGED
|
@@ -1,143 +1,143 @@
|
|
|
1
|
-
import superagent from 'superagent';
|
|
2
|
-
import { message } from 'antd';
|
|
3
|
-
import Units from '../units';
|
|
4
|
-
export default class Superagent {
|
|
5
|
-
static super(options, type, load) {
|
|
6
|
-
const hydrocarbonToken = Units.hydrocarbonToken() ? Units.hydrocarbonToken()
|
|
7
|
-
: options.header && options.header.hydrocarbonToken ?
|
|
8
|
-
options.header.hydrocarbonToken : Units.getAnoHydrocarbonToken();
|
|
9
|
-
const programCode = Units.programCode();
|
|
10
|
-
let loading;
|
|
11
|
-
if (options.data && options.data.isShowLoading !== false) {
|
|
12
|
-
loading = document.getElementById('ajaxLoading');
|
|
13
|
-
loading.style.display = load ? load : "block";
|
|
14
|
-
}
|
|
15
|
-
let ty = "form";
|
|
16
|
-
if (type === "formdata") {
|
|
17
|
-
ty = null;
|
|
18
|
-
}
|
|
19
|
-
else if (type === "json") {
|
|
20
|
-
ty = "application/json";
|
|
21
|
-
}
|
|
22
|
-
let method = options.method ? options.method : "POST";
|
|
23
|
-
return new Promise((resolve, reject) => {
|
|
24
|
-
let server = options.hydrocarbonServer ? options.hydrocarbonServer : Units.api();
|
|
25
|
-
superagent(method, Units.joinPath(server, options.url))
|
|
26
|
-
.type(ty)
|
|
27
|
-
.set("hydrocarbon-token", hydrocarbonToken)
|
|
28
|
-
.set("hydrocarbon-program-token", programCode)
|
|
29
|
-
.query(options.query || '')
|
|
30
|
-
.send(options.data)
|
|
31
|
-
.end((req, res) => {
|
|
32
|
-
if (!res) {
|
|
33
|
-
message.error("服务器连接失败");
|
|
34
|
-
resolve(null);
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
if (options.data && options.data.isShowLoading !== false) {
|
|
38
|
-
loading = document.getElementById('ajaxLoading');
|
|
39
|
-
loading.style.display = "none";
|
|
40
|
-
}
|
|
41
|
-
if (res.status === 200) {
|
|
42
|
-
//Units.setHydrocarbonToken("hydrocarbonToken", hydrocarbonToken)
|
|
43
|
-
let result = res.body;
|
|
44
|
-
if (result && result.status === 'error') {
|
|
45
|
-
message.error("错误消息:" + result.message);
|
|
46
|
-
}
|
|
47
|
-
resolve(result);
|
|
48
|
-
}
|
|
49
|
-
else if (res.status === 201) {
|
|
50
|
-
//Units.setLocalStorge("hydrocarbonToken", hydrocarbonToken)
|
|
51
|
-
resolve(res);
|
|
52
|
-
}
|
|
53
|
-
else if (res.status === 403) {
|
|
54
|
-
//message.info("请求权限不足,可能是token已经超时")
|
|
55
|
-
//console.log('权限不足或登录超时',options);
|
|
56
|
-
//
|
|
57
|
-
Units.toLogin();
|
|
58
|
-
// resolve(undefined);
|
|
59
|
-
}
|
|
60
|
-
else if (res.status === 405 || res.status === 406) {
|
|
61
|
-
message.error("权限不足");
|
|
62
|
-
resolve(res);
|
|
63
|
-
}
|
|
64
|
-
else if (res.status === 404 || res.status === 504) {
|
|
65
|
-
message.error("没找到服务(" + options.url + ")");
|
|
66
|
-
resolve(res);
|
|
67
|
-
}
|
|
68
|
-
else if (res.status === 500) {
|
|
69
|
-
message.error("后台处理错误(" + res.text + ")");
|
|
70
|
-
resolve(res);
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
message.error("请求服务失败!(" + options.url + ")");
|
|
74
|
-
reject(res.body);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
static get(options) {
|
|
81
|
-
let server = options.hydrocarbonServer ? options.hydrocarbonServer : Units.api();
|
|
82
|
-
return new Promise((resolve, reject) => {
|
|
83
|
-
superagent
|
|
84
|
-
.get(Units.joinPath(server, options.url))
|
|
85
|
-
.query(options.query || '')
|
|
86
|
-
.end((req, res) => {
|
|
87
|
-
if (!res) {
|
|
88
|
-
message.error("服务器连接失败");
|
|
89
|
-
reject(res.body);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
if (res.status === 200) {
|
|
93
|
-
resolve(res.body);
|
|
94
|
-
}
|
|
95
|
-
else if (res.status === 403) {
|
|
96
|
-
//message.info("请求权限不足,可能是token已经超时")
|
|
97
|
-
Units.toLogin();
|
|
98
|
-
}
|
|
99
|
-
else if (res.status === 404 || res.status === 504) {
|
|
100
|
-
message.error("服务资源未找到(" + res.status + ")");
|
|
101
|
-
resolve(res);
|
|
102
|
-
}
|
|
103
|
-
else if (res.status === 500) {
|
|
104
|
-
message.error("后台处理错误(" + res.text + ")");
|
|
105
|
-
resolve(res);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
message.error("服务资源请求失败!");
|
|
109
|
-
reject(res.body);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
static getProramConfig() {
|
|
116
|
-
return new Promise((resolve, reject) => {
|
|
117
|
-
superagent
|
|
118
|
-
.get('programConfig.json')
|
|
119
|
-
.end((req, res) => {
|
|
120
|
-
if (!res) {
|
|
121
|
-
reject();
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
if (res.status === 200) {
|
|
125
|
-
resolve(res.body);
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
reject(res.body);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
}).catch(err => {
|
|
133
|
-
console.log(err);
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
static getHeaderObj() {
|
|
137
|
-
return {
|
|
138
|
-
'hydrocarbon-token': Units.hydrocarbonToken() ? Units.hydrocarbonToken() : Units.getAnoHydrocarbonToken(),
|
|
139
|
-
'hydrocarbon-program-token': Units.programCode()
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
}
|
|
1
|
+
import superagent from 'superagent';
|
|
2
|
+
import { message } from 'antd';
|
|
3
|
+
import Units from '../units';
|
|
4
|
+
export default class Superagent {
|
|
5
|
+
static super(options, type, load) {
|
|
6
|
+
const hydrocarbonToken = Units.hydrocarbonToken() ? Units.hydrocarbonToken()
|
|
7
|
+
: options.header && options.header.hydrocarbonToken ?
|
|
8
|
+
options.header.hydrocarbonToken : Units.getAnoHydrocarbonToken();
|
|
9
|
+
const programCode = Units.programCode();
|
|
10
|
+
let loading;
|
|
11
|
+
if (options.data && options.data.isShowLoading !== false) {
|
|
12
|
+
loading = document.getElementById('ajaxLoading');
|
|
13
|
+
loading.style.display = load ? load : "block";
|
|
14
|
+
}
|
|
15
|
+
let ty = "form";
|
|
16
|
+
if (type === "formdata") {
|
|
17
|
+
ty = null;
|
|
18
|
+
}
|
|
19
|
+
else if (type === "json") {
|
|
20
|
+
ty = "application/json";
|
|
21
|
+
}
|
|
22
|
+
let method = options.method ? options.method : "POST";
|
|
23
|
+
return new Promise((resolve, reject) => {
|
|
24
|
+
let server = options.hydrocarbonServer ? options.hydrocarbonServer : Units.api();
|
|
25
|
+
superagent(method, Units.joinPath(server, options.url))
|
|
26
|
+
.type(ty)
|
|
27
|
+
.set("hydrocarbon-token", hydrocarbonToken)
|
|
28
|
+
.set("hydrocarbon-program-token", programCode)
|
|
29
|
+
.query(options.query || '')
|
|
30
|
+
.send(options.data)
|
|
31
|
+
.end((req, res) => {
|
|
32
|
+
if (!res) {
|
|
33
|
+
message.error("服务器连接失败");
|
|
34
|
+
resolve(null);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
if (options.data && options.data.isShowLoading !== false) {
|
|
38
|
+
loading = document.getElementById('ajaxLoading');
|
|
39
|
+
loading.style.display = "none";
|
|
40
|
+
}
|
|
41
|
+
if (res.status === 200) {
|
|
42
|
+
//Units.setHydrocarbonToken("hydrocarbonToken", hydrocarbonToken)
|
|
43
|
+
let result = res.body;
|
|
44
|
+
if (result && result.status === 'error') {
|
|
45
|
+
message.error("错误消息:" + result.message);
|
|
46
|
+
}
|
|
47
|
+
resolve(result);
|
|
48
|
+
}
|
|
49
|
+
else if (res.status === 201) {
|
|
50
|
+
//Units.setLocalStorge("hydrocarbonToken", hydrocarbonToken)
|
|
51
|
+
resolve(res);
|
|
52
|
+
}
|
|
53
|
+
else if (res.status === 403) {
|
|
54
|
+
//message.info("请求权限不足,可能是token已经超时")
|
|
55
|
+
//console.log('权限不足或登录超时',options);
|
|
56
|
+
//
|
|
57
|
+
Units.toLogin();
|
|
58
|
+
// resolve(undefined);
|
|
59
|
+
}
|
|
60
|
+
else if (res.status === 405 || res.status === 406) {
|
|
61
|
+
message.error("权限不足");
|
|
62
|
+
resolve(res);
|
|
63
|
+
}
|
|
64
|
+
else if (res.status === 404 || res.status === 504) {
|
|
65
|
+
message.error("没找到服务(" + options.url + ")");
|
|
66
|
+
resolve(res);
|
|
67
|
+
}
|
|
68
|
+
else if (res.status === 500) {
|
|
69
|
+
message.error("后台处理错误(" + res.text + ")");
|
|
70
|
+
resolve(res);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
message.error("请求服务失败!(" + options.url + ")");
|
|
74
|
+
reject(res.body);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
static get(options) {
|
|
81
|
+
let server = options.hydrocarbonServer ? options.hydrocarbonServer : Units.api();
|
|
82
|
+
return new Promise((resolve, reject) => {
|
|
83
|
+
superagent
|
|
84
|
+
.get(Units.joinPath(server, options.url))
|
|
85
|
+
.query(options.query || '')
|
|
86
|
+
.end((req, res) => {
|
|
87
|
+
if (!res) {
|
|
88
|
+
message.error("服务器连接失败");
|
|
89
|
+
reject(res.body);
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
if (res.status === 200) {
|
|
93
|
+
resolve(res.body);
|
|
94
|
+
}
|
|
95
|
+
else if (res.status === 403) {
|
|
96
|
+
//message.info("请求权限不足,可能是token已经超时")
|
|
97
|
+
Units.toLogin();
|
|
98
|
+
}
|
|
99
|
+
else if (res.status === 404 || res.status === 504) {
|
|
100
|
+
message.error("服务资源未找到(" + res.status + ")");
|
|
101
|
+
resolve(res);
|
|
102
|
+
}
|
|
103
|
+
else if (res.status === 500) {
|
|
104
|
+
message.error("后台处理错误(" + res.text + ")");
|
|
105
|
+
resolve(res);
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
message.error("服务资源请求失败!");
|
|
109
|
+
reject(res.body);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
static getProramConfig() {
|
|
116
|
+
return new Promise((resolve, reject) => {
|
|
117
|
+
superagent
|
|
118
|
+
.get('programConfig.json')
|
|
119
|
+
.end((req, res) => {
|
|
120
|
+
if (!res) {
|
|
121
|
+
reject();
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
if (res.status === 200) {
|
|
125
|
+
resolve(res.body);
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
reject(res.body);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
}).catch(err => {
|
|
133
|
+
console.log(err);
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
static getHeaderObj() {
|
|
137
|
+
return {
|
|
138
|
+
'hydrocarbon-token': Units.hydrocarbonToken() ? Units.hydrocarbonToken() : Units.getAnoHydrocarbonToken(),
|
|
139
|
+
'hydrocarbon-program-token': Units.programCode()
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
143
|
//# sourceMappingURL=superagent.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare function TmplConfigAnalysis(): void;
|
|
2
|
-
declare namespace TmplConfigAnalysis {
|
|
3
|
-
var current: (currentConfig: string, format_1?: string) => string;
|
|
4
|
-
var currentL1: (config: string, format: string) => string;
|
|
5
|
-
}
|
|
6
|
-
export default TmplConfigAnalysis;
|
|
1
|
+
declare function TmplConfigAnalysis(): void;
|
|
2
|
+
declare namespace TmplConfigAnalysis {
|
|
3
|
+
var current: (currentConfig: string, format_1?: string) => string;
|
|
4
|
+
var currentL1: (config: string, format: string) => string;
|
|
5
|
+
}
|
|
6
|
+
export default TmplConfigAnalysis;
|
|
7
7
|
//# sourceMappingURL=tmpl-config-analysis.d.ts.map
|
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
// import moment, {DurationInputArg2} from "moment";
|
|
2
|
-
import dayjs from "dayjs";
|
|
3
|
-
function TmplConfigAnalysis() {
|
|
4
|
-
}
|
|
5
|
-
TmplConfigAnalysis.current = function (currentConfig, format_1) {
|
|
6
|
-
let format = format_1;
|
|
7
|
-
if (!format) {
|
|
8
|
-
format = 'YYYY-MM-DD HH:mm:ss SSS';
|
|
9
|
-
}
|
|
10
|
-
if (!currentConfig) {
|
|
11
|
-
return null;
|
|
12
|
-
}
|
|
13
|
-
let configs = [currentConfig];
|
|
14
|
-
if (currentConfig.includes("~")) {
|
|
15
|
-
configs = currentConfig.split("~");
|
|
16
|
-
}
|
|
17
|
-
let values = [];
|
|
18
|
-
for (let i in configs) {
|
|
19
|
-
let v = this.currentL1(configs[i], format);
|
|
20
|
-
if (v) {
|
|
21
|
-
values[i] = v;
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
values[i] = "";
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
if (configs.length == 1) {
|
|
28
|
-
return values[0];
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
return values[0] + "~" + values[1];
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
TmplConfigAnalysis.currentL1 = function (config, format) {
|
|
35
|
-
if (!config) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
//解析模式 className={'course-box-80'}:(-/+)NX,$$current为固定模式
|
|
39
|
-
// regx2=new RegExp("(\$\$current):?([-,+]?)(\d?)([D,M,Y,m,s,h]?)");
|
|
40
|
-
var regx2 = new RegExp("current:?([-,+]?)([0-9]*)([D,M,Y,m,s,h]?)");
|
|
41
|
-
// regx2=new RegExp("current");
|
|
42
|
-
let match = regx2.exec(config);
|
|
43
|
-
if (match) {
|
|
44
|
-
let unit = match[3];
|
|
45
|
-
//没有单位
|
|
46
|
-
if (unit == "") {
|
|
47
|
-
return dayjs().format(format);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
//系数
|
|
51
|
-
let symbol = match[1];
|
|
52
|
-
if (symbol == "") {
|
|
53
|
-
symbol = "+";
|
|
54
|
-
}
|
|
55
|
-
let nstr = match[2];
|
|
56
|
-
if (nstr == "") {
|
|
57
|
-
nstr = "1";
|
|
58
|
-
}
|
|
59
|
-
let n = parseInt(nstr);
|
|
60
|
-
let dayjsUnit = "days";
|
|
61
|
-
switch (unit) {
|
|
62
|
-
case "D":
|
|
63
|
-
dayjsUnit = "days";
|
|
64
|
-
break;
|
|
65
|
-
case "M":
|
|
66
|
-
dayjsUnit = "months";
|
|
67
|
-
break;
|
|
68
|
-
case "Y":
|
|
69
|
-
dayjsUnit = "years";
|
|
70
|
-
break;
|
|
71
|
-
case "W":
|
|
72
|
-
dayjsUnit = "weeks";
|
|
73
|
-
break;
|
|
74
|
-
case "h":
|
|
75
|
-
dayjsUnit = "hours";
|
|
76
|
-
break;
|
|
77
|
-
case "m":
|
|
78
|
-
dayjsUnit = "minutes";
|
|
79
|
-
break;
|
|
80
|
-
case "s":
|
|
81
|
-
dayjsUnit = "seconds";
|
|
82
|
-
break;
|
|
83
|
-
}
|
|
84
|
-
if (symbol == "-") {
|
|
85
|
-
// console.log("moment().subtract(n,dayjsUnit)",moment().subtract(n,dayjsUnit).format(format));
|
|
86
|
-
return dayjs().subtract(n, dayjsUnit).format(format);
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
// console.log("moment().add(n,dayjsUnit)",moment().add(n,dayjsUnit).format(format));
|
|
90
|
-
return dayjs().add(n, dayjsUnit).format(format);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
return null;
|
|
96
|
-
}
|
|
97
|
-
// console.log("$$current",regx2.exec("current"));
|
|
98
|
-
// console.log("$$current:",regx2.exec("$$current:"));
|
|
99
|
-
// console.log("$$current:-",regx2.exec("$$current:-"));
|
|
100
|
-
// console.log("$$current:-D",regx2.exec("$$current:-D"));
|
|
101
|
-
// console.log("$$current:h",regx2.exec("$$current:h"));
|
|
102
|
-
// console.log("$$current:2h",regx2.exec("$$current:2h"));
|
|
103
|
-
// console.log("$$current:+12h",regx2.exec("$$current:+12h"));
|
|
104
|
-
// console.log("$$current:-9h",regx2.exec("$$current:-9h"));
|
|
105
|
-
};
|
|
106
|
-
export default TmplConfigAnalysis;
|
|
1
|
+
// import moment, {DurationInputArg2} from "moment";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
function TmplConfigAnalysis() {
|
|
4
|
+
}
|
|
5
|
+
TmplConfigAnalysis.current = function (currentConfig, format_1) {
|
|
6
|
+
let format = format_1;
|
|
7
|
+
if (!format) {
|
|
8
|
+
format = 'YYYY-MM-DD HH:mm:ss SSS';
|
|
9
|
+
}
|
|
10
|
+
if (!currentConfig) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
let configs = [currentConfig];
|
|
14
|
+
if (currentConfig.includes("~")) {
|
|
15
|
+
configs = currentConfig.split("~");
|
|
16
|
+
}
|
|
17
|
+
let values = [];
|
|
18
|
+
for (let i in configs) {
|
|
19
|
+
let v = this.currentL1(configs[i], format);
|
|
20
|
+
if (v) {
|
|
21
|
+
values[i] = v;
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
values[i] = "";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
if (configs.length == 1) {
|
|
28
|
+
return values[0];
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
return values[0] + "~" + values[1];
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
TmplConfigAnalysis.currentL1 = function (config, format) {
|
|
35
|
+
if (!config) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
//解析模式 className={'course-box-80'}:(-/+)NX,$$current为固定模式
|
|
39
|
+
// regx2=new RegExp("(\$\$current):?([-,+]?)(\d?)([D,M,Y,m,s,h]?)");
|
|
40
|
+
var regx2 = new RegExp("current:?([-,+]?)([0-9]*)([D,M,Y,m,s,h]?)");
|
|
41
|
+
// regx2=new RegExp("current");
|
|
42
|
+
let match = regx2.exec(config);
|
|
43
|
+
if (match) {
|
|
44
|
+
let unit = match[3];
|
|
45
|
+
//没有单位
|
|
46
|
+
if (unit == "") {
|
|
47
|
+
return dayjs().format(format);
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
//系数
|
|
51
|
+
let symbol = match[1];
|
|
52
|
+
if (symbol == "") {
|
|
53
|
+
symbol = "+";
|
|
54
|
+
}
|
|
55
|
+
let nstr = match[2];
|
|
56
|
+
if (nstr == "") {
|
|
57
|
+
nstr = "1";
|
|
58
|
+
}
|
|
59
|
+
let n = parseInt(nstr);
|
|
60
|
+
let dayjsUnit = "days";
|
|
61
|
+
switch (unit) {
|
|
62
|
+
case "D":
|
|
63
|
+
dayjsUnit = "days";
|
|
64
|
+
break;
|
|
65
|
+
case "M":
|
|
66
|
+
dayjsUnit = "months";
|
|
67
|
+
break;
|
|
68
|
+
case "Y":
|
|
69
|
+
dayjsUnit = "years";
|
|
70
|
+
break;
|
|
71
|
+
case "W":
|
|
72
|
+
dayjsUnit = "weeks";
|
|
73
|
+
break;
|
|
74
|
+
case "h":
|
|
75
|
+
dayjsUnit = "hours";
|
|
76
|
+
break;
|
|
77
|
+
case "m":
|
|
78
|
+
dayjsUnit = "minutes";
|
|
79
|
+
break;
|
|
80
|
+
case "s":
|
|
81
|
+
dayjsUnit = "seconds";
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
if (symbol == "-") {
|
|
85
|
+
// console.log("moment().subtract(n,dayjsUnit)",moment().subtract(n,dayjsUnit).format(format));
|
|
86
|
+
return dayjs().subtract(n, dayjsUnit).format(format);
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
// console.log("moment().add(n,dayjsUnit)",moment().add(n,dayjsUnit).format(format));
|
|
90
|
+
return dayjs().add(n, dayjsUnit).format(format);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
// console.log("$$current",regx2.exec("current"));
|
|
98
|
+
// console.log("$$current:",regx2.exec("$$current:"));
|
|
99
|
+
// console.log("$$current:-",regx2.exec("$$current:-"));
|
|
100
|
+
// console.log("$$current:-D",regx2.exec("$$current:-D"));
|
|
101
|
+
// console.log("$$current:h",regx2.exec("$$current:h"));
|
|
102
|
+
// console.log("$$current:2h",regx2.exec("$$current:2h"));
|
|
103
|
+
// console.log("$$current:+12h",regx2.exec("$$current:+12h"));
|
|
104
|
+
// console.log("$$current:-9h",regx2.exec("$$current:-9h"));
|
|
105
|
+
};
|
|
106
|
+
export default TmplConfigAnalysis;
|
|
107
107
|
//# sourceMappingURL=tmpl-config-analysis.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export default class EncryptUtils {
|
|
2
|
-
static aesEncrypt(word: any, keyStr: any): any;
|
|
3
|
-
static aesDecrypt(word: any, keyStr: any): any;
|
|
4
|
-
static rsaEncrypt(word: any, keyStr: any): string | false;
|
|
5
|
-
static rsaDecrypt(word: any, keyStr: any): string | false;
|
|
6
|
-
}
|
|
1
|
+
export default class EncryptUtils {
|
|
2
|
+
static aesEncrypt(word: any, keyStr: any): any;
|
|
3
|
+
static aesDecrypt(word: any, keyStr: any): any;
|
|
4
|
+
static rsaEncrypt(word: any, keyStr: any): string | false;
|
|
5
|
+
static rsaDecrypt(word: any, keyStr: any): string | false;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=EncryptUtils.d.ts.map
|