aldehyde 0.2.480 → 0.2.482
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/LICENSE +201 -201
- package/README.md +2 -2
- package/lib/controls/2dEditor/2dEditor/index.less +5 -5
- package/lib/controls/2dEditor/2dView/index.less +8 -8
- package/lib/controls/2dEditor/components/component.less +83 -83
- package/lib/controls/action/index.css +8 -8
- package/lib/controls/action/index.d.ts.map +1 -1
- package/lib/controls/chemstruc/graph.d.ts.map +1 -1
- package/lib/controls/chemstruc/index.css +28 -28
- package/lib/controls/collapse-card/index.css +8 -8
- package/lib/controls/collapse-card/index.d.ts.map +1 -1
- package/lib/controls/cquery/cquick-button.d.ts.map +1 -1
- package/lib/controls/direct-file-view/index.d.ts.map +1 -1
- package/lib/controls/direct-file-view/index.js +4 -4
- package/lib/controls/direct-file-view/index.js.map +1 -1
- package/lib/controls/direct-upload/index.d.ts.map +1 -1
- package/lib/controls/direct-upload/index.js +3 -3
- package/lib/controls/direct-upload/index.js.map +1 -1
- package/lib/controls/entity-select/entity-select.d.ts.map +1 -1
- package/lib/controls/entity-select/index.css +7 -7
- package/lib/controls/entity-select/lab-tree-select.d.ts.map +1 -1
- package/lib/controls/entity-select/popover-entity-select.d.ts.map +1 -1
- package/lib/controls/entry-control.d.ts +2 -1
- package/lib/controls/entry-control.d.ts.map +1 -1
- package/lib/controls/entry-control.js +10 -0
- package/lib/controls/entry-control.js.map +1 -1
- package/lib/controls/file-view/index.less +9 -9
- package/lib/controls/html-editor/index.less +67 -67
- package/lib/controls/icon-selector/icon/aldehyde-menu-icon/iconfont.css +147 -147
- package/lib/controls/password-setter/index.css +2 -2
- package/lib/controls/password-setter/index.d.ts.map +1 -1
- package/lib/controls/qr-code/index.less +28 -28
- package/lib/controls/relation-existion/index.css +3 -3
- package/lib/controls/relation-existion/index.d.ts.map +1 -1
- package/lib/controls/rfield/index.css +4 -4
- package/lib/controls/rfield/index.d.ts.map +1 -1
- package/lib/controls/select/index.d.ts +8 -2
- package/lib/controls/select/index.d.ts.map +1 -1
- package/lib/controls/select/index.js +35 -13
- package/lib/controls/select/index.js.map +1 -1
- package/lib/controls/signature/index.d.ts.map +1 -1
- package/lib/controls/text/ellipsis-text.d.ts.map +1 -1
- package/lib/controls/text/index.less +7 -7
- package/lib/controls/upload/index.d.ts.map +1 -1
- package/lib/controls/upload/mult-file-upload.d.ts.map +1 -1
- package/lib/controls/upload-read-excel/index.d.ts +10 -0
- package/lib/controls/upload-read-excel/index.d.ts.map +1 -0
- package/lib/controls/upload-read-excel/index.js +30 -0
- package/lib/controls/upload-read-excel/index.js.map +1 -0
- package/lib/custom-page/dtmpl-custom-edit-modal-page.d.ts.map +1 -1
- package/lib/detail/button/bottom-submit-button-bar.d.ts.map +1 -1
- package/lib/detail/button/cquery-button-bar.d.ts.map +1 -1
- package/lib/detail/button/fix-right-submit-button-bar.d.ts.map +1 -1
- package/lib/detail/button/index.css +42 -42
- package/lib/detail/dtmpl.css +72 -67
- package/lib/detail/edit/fields-edit-card.d.ts.map +1 -1
- package/lib/detail/edit/modal-row-edit.d.ts.map +1 -1
- package/lib/detail/edit/popover-edit-card.d.ts.map +1 -1
- package/lib/detail/rightbar/index.css +34 -34
- package/lib/detail/rightbar/index.d.ts.map +1 -1
- package/lib/detail/view/act-dtmpl-view.d.ts.map +1 -1
- package/lib/detail/view/dtmpl-view.d.ts.map +1 -1
- package/lib/detail/view/dtmpl-view.js +12 -2
- package/lib/detail/view/dtmpl-view.js.map +1 -1
- package/lib/detail/view/field-view-group.d.ts.map +1 -1
- package/lib/detail/view/modal-dtmpl-view.d.ts.map +1 -1
- package/lib/detail/view/snapshot-timeline.d.ts.map +1 -1
- package/lib/detail/view/tab-act-dtmpl-view.d.ts.map +1 -1
- package/lib/draw-canvas-edit/components/asset-bar/index.less +2 -2
- package/lib/draw-canvas-edit/components/main-header/index.d.ts.map +1 -1
- package/lib/draw-canvas-edit/components/main-header/index.js +32 -2
- package/lib/draw-canvas-edit/components/main-header/index.js.map +1 -1
- package/lib/draw-canvas-edit/components/render/components/index.d.ts +3 -0
- package/lib/draw-canvas-edit/components/render/components/index.d.ts.map +1 -0
- package/lib/draw-canvas-edit/components/render/components/index.js +3 -0
- package/lib/draw-canvas-edit/components/render/components/index.js.map +1 -0
- package/lib/draw-canvas-edit/components/render/components/index.less +61 -0
- package/lib/draw-canvas-edit/components/render/components/workstation-component.d.ts +38 -0
- package/lib/draw-canvas-edit/components/render/components/workstation-component.d.ts.map +1 -0
- package/lib/draw-canvas-edit/components/render/components/workstation-component.js +212 -0
- package/lib/draw-canvas-edit/components/render/components/workstation-component.js.map +1 -0
- package/lib/draw-canvas-edit/components/render/handlers/selection-handlers.d.ts.map +1 -1
- package/lib/draw-canvas-edit/components/render/handlers/selection-handlers.js +19 -5
- package/lib/draw-canvas-edit/components/render/handlers/selection-handlers.js.map +1 -1
- package/lib/draw-canvas-edit/components/render/index.d.ts.map +1 -1
- package/lib/draw-canvas-edit/components/render/index.js +15 -4
- package/lib/draw-canvas-edit/components/render/index.js.map +1 -1
- package/lib/draw-canvas-edit/components/render/tools/asset-tool.d.ts +2 -0
- package/lib/draw-canvas-edit/components/render/tools/asset-tool.d.ts.map +1 -1
- package/lib/draw-canvas-edit/components/render/tools/asset-tool.js +22 -11
- package/lib/draw-canvas-edit/components/render/tools/asset-tool.js.map +1 -1
- package/lib/draw-canvas-edit/components/render/tools/component-factory.d.ts +2 -0
- package/lib/draw-canvas-edit/components/render/tools/component-factory.d.ts.map +1 -1
- package/lib/draw-canvas-edit/components/render/tools/component-factory.js +10 -42
- package/lib/draw-canvas-edit/components/render/tools/component-factory.js.map +1 -1
- package/lib/draw-canvas-edit/components/render/tools/import-export-tool.d.ts +1 -0
- package/lib/draw-canvas-edit/components/render/tools/import-export-tool.d.ts.map +1 -1
- package/lib/draw-canvas-edit/components/render/tools/import-export-tool.js +35 -22
- package/lib/draw-canvas-edit/components/render/tools/import-export-tool.js.map +1 -1
- package/lib/draw-canvas-edit/components/render/types.d.ts +6 -0
- package/lib/draw-canvas-edit/components/render/types.d.ts.map +1 -1
- package/lib/draw-canvas-edit/components/render/types.js.map +1 -1
- package/lib/draw-canvas-edit/components/setting-form/index.d.ts.map +1 -1
- package/lib/draw-canvas-edit/components/setting-form/index.js +10 -0
- package/lib/draw-canvas-edit/components/setting-form/index.js.map +1 -1
- package/lib/draw-canvas-edit/index.d.ts.map +1 -1
- package/lib/draw-canvas-edit/index.js +5 -2
- package/lib/draw-canvas-edit/index.js.map +1 -1
- package/lib/draw-canvas-edit/index.less +48 -48
- package/lib/draw-canvas-view/index.less +66 -59
- package/lib/draw-canvas-view/view.d.ts.map +1 -1
- package/lib/draw-canvas-view/view.js +19 -11
- package/lib/draw-canvas-view/view.js.map +1 -1
- package/lib/export/export-frame.css +2 -2
- package/lib/export/export-frame.d.ts.map +1 -1
- package/lib/export/select-code-export-frame.d.ts.map +1 -1
- package/lib/form/dtmpl-form.css +3 -3
- package/lib/form/dtmpl-form.d.ts.map +1 -1
- package/lib/form/dtmpl-form.js +12 -3
- package/lib/form/dtmpl-form.js.map +1 -1
- package/lib/form/field-group-form.d.ts.map +1 -1
- package/lib/form/field-group-form.js +1 -1
- package/lib/form/field-group-form.js.map +1 -1
- package/lib/form/form-Item-group.d.ts +2 -1
- package/lib/form/form-Item-group.d.ts.map +1 -1
- package/lib/form/form-Item-group.js +2 -2
- package/lib/form/form-Item-group.js.map +1 -1
- package/lib/form/index.css +12 -12
- package/lib/import/excel-import.d.ts.map +1 -1
- package/lib/import/index.css +53 -53
- package/lib/import/template.css +50 -50
- package/lib/layout/common.css +64 -64
- package/lib/layout/coverstyle.css +51 -51
- package/lib/layout/footer/index.css +5 -5
- package/lib/layout/header/index.css +122 -122
- package/lib/layout/menu/block.css +7 -7
- package/lib/layout/menu/block.d.ts.map +1 -1
- package/lib/layout/menu/l2menu-quick-bar.d.ts.map +1 -1
- package/lib/layout/menu/menu-2layers.d.ts.map +1 -1
- package/lib/layout/menu/message-bar.less +73 -73
- package/lib/layout/menu/reset-password.d.ts.map +1 -1
- package/lib/layout/menu/user-bar.d.ts.map +1 -1
- package/lib/layout/menu/userinfo-bar.d.ts.map +1 -1
- package/lib/layout/sidebar/index.css +57 -57
- package/lib/layout2/css/header.css +41 -41
- package/lib/layout2/css/sider.less +17 -17
- package/lib/layout2/css/tabs-layout.less +18 -18
- package/lib/layout3/css/header.less +195 -195
- package/lib/layout3/css/main.less +161 -161
- package/lib/layout3/css/sider.less +32 -32
- package/lib/layout3/css/tabs-layout.less +38 -38
- package/lib/layout4/css/header.less +196 -196
- package/lib/layout4/css/main.less +154 -154
- package/lib/layout4/css/sider.less +37 -37
- package/lib/layout4/css/tabs-layout.less +42 -42
- package/lib/layout5/css/header.less +35 -35
- package/lib/layout5/css/sider.less +18 -18
- package/lib/list/calendar/index.less +20 -20
- package/lib/list/card-list/card-list-item.d.ts.map +1 -1
- package/lib/list/card-list/card-list-item.js +3 -2
- package/lib/list/card-list/card-list-item.js.map +1 -1
- package/lib/list/card-list/index.less +154 -154
- package/lib/list/gantt/index.less +8 -8
- package/lib/list/vertical-list/index.less +208 -208
- package/lib/login/index.css +19 -19
- package/lib/login/login.d.ts.map +1 -1
- package/lib/login/vertify/index.css +143 -143
- package/lib/login3/index.less +136 -136
- package/lib/lowcode-components/act-table/index.less +26 -26
- package/lib/lowcode-components/base-button/index.less +7 -7
- package/lib/lowcode-components/base-map/index.js +6 -6
- package/lib/lowcode-components/base-radio/index.less +23 -23
- package/lib/lowcode-components/base-tabs/index.less +14 -14
- package/lib/lowcode-components/border/border10/index.less +26 -26
- package/lib/lowcode-components/border/border11/index.js +46 -46
- package/lib/lowcode-components/border/border11/index.less +17 -17
- package/lib/lowcode-components/border/border12/index.js +13 -13
- package/lib/lowcode-components/border/border12/index.less +13 -13
- package/lib/lowcode-components/border/border13/index.js +5 -5
- package/lib/lowcode-components/border/border13/index.less +13 -13
- package/lib/lowcode-components/border/border2/index.less +17 -17
- package/lib/lowcode-components/border/border3/index.less +25 -25
- package/lib/lowcode-components/border/border4/index.js +2 -2
- package/lib/lowcode-components/border/border4/index.less +72 -72
- package/lib/lowcode-components/border/border5/index.js +2 -2
- package/lib/lowcode-components/border/border5/index.less +35 -35
- package/lib/lowcode-components/border/border6/index.less +17 -17
- package/lib/lowcode-components/border/border7/index.less +26 -26
- package/lib/lowcode-components/border/border8/index.less +13 -13
- package/lib/lowcode-components/border/border9/index.js +14 -14
- package/lib/lowcode-components/border/border9/index.less +13 -13
- package/lib/lowcode-components/carousel/index.js +3 -3
- package/lib/lowcode-components/carousel/index.js.map +1 -1
- package/lib/lowcode-components/decoration/decoration1/index.less +7 -7
- package/lib/lowcode-components/decoration/decoration10/index.js +3 -3
- package/lib/lowcode-components/decoration/decoration10/index.less +5 -5
- package/lib/lowcode-components/decoration/decoration11/index.less +5 -5
- package/lib/lowcode-components/decoration/decoration2/index.less +6 -6
- package/lib/lowcode-components/decoration/decoration3/index.less +7 -7
- package/lib/lowcode-components/decoration/decoration4/index.less +29 -29
- package/lib/lowcode-components/decoration/decoration5/index.less +3 -3
- package/lib/lowcode-components/decoration/decoration6/index.less +7 -7
- package/lib/lowcode-components/decoration/decoration7/index.less +4 -4
- package/lib/lowcode-components/decoration/decoration8/index.less +14 -14
- package/lib/lowcode-components/decoration/decoration9/index.less +4 -4
- package/lib/lowcode-components/effectScatter-map/index.js +6 -6
- package/lib/lowcode-components/effectScatter-map-3d/index.js +6 -6
- package/lib/lowcode-components/lowcode-view/index.less +19 -19
- package/lib/lowcode-components/search-form/index.less +25 -25
- package/lib/module/dtmpl-edit-card.d.ts.map +1 -1
- package/lib/module/dtmpl-edit-page.d.ts.map +1 -1
- package/lib/module/index.less +4 -4
- package/lib/module/ltmpl-modal.d.ts.map +1 -1
- package/lib/module/ltmpl-table.d.ts +1 -0
- package/lib/module/ltmpl-table.d.ts.map +1 -1
- package/lib/module/ltmpl-table.js +2 -2
- package/lib/module/ltmpl-table.js.map +1 -1
- package/lib/routable/index.less +25 -25
- package/lib/table/act-table.d.ts.map +1 -1
- package/lib/table/act-table.js +21 -20
- package/lib/table/act-table.js.map +1 -1
- package/lib/table/column/column-builder.d.ts.map +1 -1
- package/lib/table/column/column-builder.js +16 -15
- package/lib/table/column/column-builder.js.map +1 -1
- package/lib/table/column/index.less +85 -63
- package/lib/table/index.css +211 -211
- package/lib/table/modal-select-table.d.ts.map +1 -1
- package/lib/table/pagination.css +14 -14
- package/lib/table/pagination.d.ts.map +1 -1
- package/lib/table/query-table.js +2 -1
- package/lib/table/query-table.js.map +1 -1
- package/lib/table/relation-table.d.ts +1 -1
- package/lib/table/relation-table.d.ts.map +1 -1
- package/lib/table/relation-table.js +5 -24
- package/lib/table/relation-table.js.map +1 -1
- package/lib/table/select-table.d.ts.map +1 -1
- package/lib/table/select-table.js +14 -2
- package/lib/table/select-table.js.map +1 -1
- package/lib/table/selected-rows-card.d.ts.map +1 -1
- package/lib/table/stat/restat.d.ts.map +1 -1
- package/lib/tmpl/hc-data-source.d.ts +1 -0
- package/lib/tmpl/hc-data-source.d.ts.map +1 -1
- package/lib/tmpl/hc-data-source.js +9 -0
- package/lib/tmpl/hc-data-source.js.map +1 -1
- package/lib/tmpl/interface.d.ts +5 -0
- package/lib/tmpl/interface.d.ts.map +1 -1
- package/lib/tmpl/interface.js.map +1 -1
- package/lib/tree/act-tree.d.ts.map +1 -1
- package/lib/tree/block-menu-auth-tree.d.ts.map +1 -1
- package/lib/tree/index.css +22 -22
- package/lib/tree/tmpl-tree.d.ts.map +1 -1
- package/lib/welcome/components/menu-card.less +96 -96
- package/lib/welcome/components/page-card.less +49 -49
- package/lib/welcome/components/quick-entrance.less +120 -120
- package/lib/welcome/components/user-menus.less +192 -192
- package/lib/welcome/components/workbench.less +118 -118
- package/lib/welcome/index.css +13 -13
- package/package.json +224 -223
- package/src/aldehyde/controls/2dEditor/2dEditor/index.less +5 -5
- package/src/aldehyde/controls/2dEditor/2dEditor/index.tsx +270 -270
- package/src/aldehyde/controls/2dEditor/2dView/index.less +8 -8
- package/src/aldehyde/controls/2dEditor/2dView/index.tsx +110 -110
- package/src/aldehyde/controls/2dEditor/components/card.tsx +256 -256
- package/src/aldehyde/controls/2dEditor/components/component.less +83 -83
- package/src/aldehyde/controls/2dEditor/components/data.d.ts +32 -32
- package/src/aldehyde/controls/2dEditor/components/hotspot.tsx +80 -80
- package/src/aldehyde/controls/2dEditor/components/html-box.tsx +101 -101
- package/src/aldehyde/controls/2dEditor/components/image.tsx +99 -99
- package/src/aldehyde/controls/2dEditor/components/line.tsx +73 -73
- package/src/aldehyde/controls/action/index.css +8 -8
- package/src/aldehyde/controls/action/index.tsx +406 -406
- package/src/aldehyde/controls/action/utils.tsx +306 -306
- package/src/aldehyde/controls/auto-complete/index.tsx +82 -82
- package/src/aldehyde/controls/cascader/index.tsx +112 -112
- package/src/aldehyde/controls/chemstruc/graph.tsx +185 -185
- package/src/aldehyde/controls/chemstruc/index.css +28 -28
- package/src/aldehyde/controls/code-editor/sql-code-editor.tsx +73 -73
- package/src/aldehyde/controls/collapse-card/index.css +8 -8
- package/src/aldehyde/controls/collapse-card/index.tsx +109 -109
- package/src/aldehyde/controls/color-picker/index.tsx +21 -21
- package/src/aldehyde/controls/counting-tag/index.tsx +53 -53
- package/src/aldehyde/controls/cquery/cquick-button.tsx +145 -145
- package/src/aldehyde/controls/date-picker/index.tsx +199 -199
- package/src/aldehyde/controls/direct-file-view/drawer-file-view.tsx +54 -54
- package/src/aldehyde/controls/direct-file-view/index.tsx +146 -145
- package/src/aldehyde/controls/direct-upload/index.tsx +140 -139
- package/src/aldehyde/controls/entity-select/entity-select.tsx +791 -791
- package/src/aldehyde/controls/entity-select/index.css +7 -7
- package/src/aldehyde/controls/entity-select/lab-tree-select.tsx +154 -154
- package/src/aldehyde/controls/entity-select/popover-entity-select.tsx +205 -205
- package/src/aldehyde/controls/entry-control.tsx +428 -418
- package/src/aldehyde/controls/enum-badge/index.tsx +42 -42
- package/src/aldehyde/controls/enum-tag/index.tsx +45 -45
- package/src/aldehyde/controls/field-history/index.tsx +81 -81
- package/src/aldehyde/controls/file-export/select-code-export.tsx +40 -40
- package/src/aldehyde/controls/file-view/drawer-file-view.tsx +117 -117
- package/src/aldehyde/controls/file-view/index.less +9 -9
- package/src/aldehyde/controls/file-view/index.tsx +148 -148
- package/src/aldehyde/controls/file-view/multi-file-view.tsx +39 -39
- package/src/aldehyde/controls/file-view/newin-file-view.tsx +40 -40
- package/src/aldehyde/controls/html-editor/draft.tsx +136 -136
- package/src/aldehyde/controls/html-editor/index.less +67 -67
- package/src/aldehyde/controls/icon-selector/app-icon-selector.tsx +68 -68
- package/src/aldehyde/controls/icon-selector/icon/aldehyde-menu-icon/iconfont.css +147 -147
- package/src/aldehyde/controls/icon-selector/icon/aldehyde-menu-icon/iconfont.json +240 -240
- package/src/aldehyde/controls/icon-selector/pc-icon-selector.tsx +68 -68
- package/src/aldehyde/controls/input-number/index.tsx +148 -148
- package/src/aldehyde/controls/input-range/index.tsx +59 -59
- package/src/aldehyde/controls/password-setter/index.css +2 -2
- package/src/aldehyde/controls/password-setter/index.js +88 -88
- package/src/aldehyde/controls/progress/index.tsx +74 -74
- package/src/aldehyde/controls/qr-code/index.less +28 -28
- package/src/aldehyde/controls/qr-code/index.tsx +40 -40
- package/src/aldehyde/controls/relation-existion/index.css +3 -3
- package/src/aldehyde/controls/relation-existion/index.tsx +144 -144
- package/src/aldehyde/controls/rfield/index.css +4 -4
- package/src/aldehyde/controls/rfield/index.tsx +225 -225
- package/src/aldehyde/controls/select/index.tsx +227 -216
- package/src/aldehyde/controls/signature/index.tsx +226 -226
- package/src/aldehyde/controls/single-checkbox/index.tsx +18 -18
- package/src/aldehyde/controls/steps/index.tsx +59 -59
- package/src/aldehyde/controls/text/ellipsis-text.tsx +98 -98
- package/src/aldehyde/controls/text/index.less +7 -7
- package/src/aldehyde/controls/tree-select/navigation-tree.tsx +122 -122
- package/src/aldehyde/controls/tree-select/tree-entity-select.tsx +121 -121
- package/src/aldehyde/controls/upload/index.tsx +128 -128
- package/src/aldehyde/controls/upload/mult-file-upload.tsx +240 -240
- package/src/aldehyde/controls/upload-read-excel/index.tsx +44 -0
- package/src/aldehyde/controls/view-control.tsx +289 -289
- package/src/aldehyde/custom-page/custom-detail-modal-page.tsx +69 -69
- package/src/aldehyde/custom-page/custom-page-router.tsx +64 -64
- package/src/aldehyde/custom-page/def-custom-page.tsx +17 -17
- package/src/aldehyde/custom-page/dtmpl-custom-edit-modal-page.tsx +88 -88
- package/src/aldehyde/detail/button/bottom-submit-button-bar.tsx +91 -91
- package/src/aldehyde/detail/button/cquery-button-bar.tsx +144 -144
- package/src/aldehyde/detail/button/edit-button.tsx +61 -61
- package/src/aldehyde/detail/button/fix-right-submit-button-bar.tsx +186 -186
- package/src/aldehyde/detail/button/index.css +42 -42
- package/src/aldehyde/detail/button/inline-edit-button.tsx +40 -40
- package/src/aldehyde/detail/button/submit-button-bar.tsx +57 -57
- package/src/aldehyde/detail/button/view-button.tsx +64 -64
- package/src/aldehyde/detail/dtmpl.css +72 -67
- package/src/aldehyde/detail/edit/dtmpl-edit.tsx +279 -279
- package/src/aldehyde/detail/edit/fields-edit-card.tsx +145 -145
- package/src/aldehyde/detail/edit/modal-row-edit.tsx +95 -95
- package/src/aldehyde/detail/edit/popover-edit-card.tsx +167 -167
- package/src/aldehyde/detail/edit/popover-editor.tsx +70 -70
- package/src/aldehyde/detail/edit/post-result/index.tsx +86 -86
- package/src/aldehyde/detail/rightbar/index.css +34 -34
- package/src/aldehyde/detail/rightbar/index.tsx +92 -92
- package/src/aldehyde/detail/tooltipbar/index.tsx +32 -32
- package/src/aldehyde/detail/view/act-dtmpl-view.tsx +288 -288
- package/src/aldehyde/detail/view/dtmpl-view.tsx +334 -314
- package/src/aldehyde/detail/view/field-view-group.tsx +88 -88
- package/src/aldehyde/detail/view/modal-dtmpl-view.tsx +73 -73
- package/src/aldehyde/detail/view/snapshot-timeline.tsx +231 -231
- package/src/aldehyde/detail/view/tab-act-dtmpl-view.tsx +304 -304
- package/src/aldehyde/detail/view/view-compare-panel.tsx +57 -57
- package/src/aldehyde/draw-canvas-edit/components/asset-bar/index.less +2 -2
- package/src/aldehyde/draw-canvas-edit/components/main-header/index.tsx +33 -2
- package/src/aldehyde/draw-canvas-edit/components/render/components/index.less +61 -0
- package/src/aldehyde/draw-canvas-edit/components/render/components/index.ts +3 -0
- package/src/aldehyde/draw-canvas-edit/components/render/components/workstation-component.tsx +220 -0
- package/src/aldehyde/draw-canvas-edit/components/render/draws/bg-draw.ts +176 -176
- package/src/aldehyde/draw-canvas-edit/components/render/draws/contextmenu-draw.ts +329 -329
- package/src/aldehyde/draw-canvas-edit/components/render/graphs/bezier.ts +542 -542
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/drag-outside-handlers.ts +72 -72
- package/src/aldehyde/draw-canvas-edit/components/render/handlers/selection-handlers.ts +408 -396
- package/src/aldehyde/draw-canvas-edit/components/render/index.ts +821 -808
- package/src/aldehyde/draw-canvas-edit/components/render/tools/asset-tool.ts +21 -7
- package/src/aldehyde/draw-canvas-edit/components/render/tools/attract-tool.ts +457 -457
- package/src/aldehyde/draw-canvas-edit/components/render/tools/component-factory.ts +270 -302
- package/src/aldehyde/draw-canvas-edit/components/render/tools/copy-tool.ts +244 -244
- package/src/aldehyde/draw-canvas-edit/components/render/tools/import-export-tool.ts +588 -576
- package/src/aldehyde/draw-canvas-edit/components/render/tools/index.ts +10 -10
- package/src/aldehyde/draw-canvas-edit/components/render/tools/position-tool.ts +191 -191
- package/src/aldehyde/draw-canvas-edit/components/render/tools/selection-tool.ts +140 -140
- package/src/aldehyde/draw-canvas-edit/components/render/types.ts +297 -291
- package/src/aldehyde/draw-canvas-edit/components/setting-form/index.tsx +303 -291
- package/src/aldehyde/draw-canvas-edit/constant.ts +5 -5
- package/src/aldehyde/draw-canvas-edit/index.less +48 -48
- package/src/aldehyde/draw-canvas-edit/index.tsx +204 -201
- package/src/aldehyde/draw-canvas-view/index.less +66 -59
- package/src/aldehyde/draw-canvas-view/index.tsx +49 -49
- package/src/aldehyde/draw-canvas-view/view.tsx +20 -11
- package/src/aldehyde/export/export-frame.css +2 -2
- package/src/aldehyde/export/export-frame.tsx +301 -301
- package/src/aldehyde/export/select-code-export-frame.tsx +212 -212
- package/src/aldehyde/form/criteria-form.tsx +604 -604
- package/src/aldehyde/form/dtmpl-form.css +3 -3
- package/src/aldehyde/form/dtmpl-form.tsx +571 -552
- package/src/aldehyde/form/field-group-form.tsx +103 -102
- package/src/aldehyde/form/fields-form.tsx +45 -45
- package/src/aldehyde/form/form-Item-group.tsx +246 -245
- package/src/aldehyde/form/index.css +12 -12
- package/src/aldehyde/hooks/use-match-route/index.tsx +62 -62
- package/src/aldehyde/hooks/use-tabs/index.tsx +139 -139
- package/src/aldehyde/hooks/useVarCssColor.ts +6 -6
- package/src/aldehyde/icon/aliIcon.tsx +9 -9
- package/src/aldehyde/icon/index.tsx +28 -28
- package/src/aldehyde/import/excel-import.tsx +450 -450
- package/src/aldehyde/import/index.css +53 -53
- package/src/aldehyde/import/template.css +50 -50
- package/src/aldehyde/index.tsx +220 -220
- package/src/aldehyde/layout/MainPage.tsx +334 -334
- package/src/aldehyde/layout/common.css +64 -64
- package/src/aldehyde/layout/coverstyle.css +51 -51
- package/src/aldehyde/layout/footer/index.css +5 -5
- package/src/aldehyde/layout/footer/index.js +17 -17
- package/src/aldehyde/layout/header/index.css +122 -122
- package/src/aldehyde/layout/header/index.tsx +152 -152
- package/src/aldehyde/layout/menu/block.css +7 -7
- package/src/aldehyde/layout/menu/block.tsx +174 -174
- package/src/aldehyde/layout/menu/l2menu-message-bar.tsx +160 -160
- package/src/aldehyde/layout/menu/l2menu-quick-bar.tsx +175 -175
- package/src/aldehyde/layout/menu/menu-2layers.tsx +117 -117
- package/src/aldehyde/layout/menu/menu-render.tsx +168 -168
- package/src/aldehyde/layout/menu/message-bar.less +73 -73
- package/src/aldehyde/layout/menu/reset-password.tsx +255 -255
- package/src/aldehyde/layout/menu/user-bar.tsx +259 -259
- package/src/aldehyde/layout/menu/userinfo-bar.tsx +69 -69
- package/src/aldehyde/layout/sidebar/index.css +57 -57
- package/src/aldehyde/layout/sidebar/index.tsx +84 -84
- package/src/aldehyde/layout2/components/icon-font.tsx +7 -7
- package/src/aldehyde/layout2/components/screenfull-button.tsx +21 -21
- package/src/aldehyde/layout2/components/search-menu.tsx +85 -85
- package/src/aldehyde/layout2/components/system-messages.tsx +75 -75
- package/src/aldehyde/layout2/components/theme-button.tsx +65 -65
- package/src/aldehyde/layout2/components/user-button.tsx +258 -258
- package/src/aldehyde/layout2/components/user-notification.tsx +74 -74
- package/src/aldehyde/layout2/css/header.css +41 -41
- package/src/aldehyde/layout2/css/sider.less +17 -17
- package/src/aldehyde/layout2/css/tabs-layout.less +18 -18
- package/src/aldehyde/layout2/header.tsx +278 -278
- package/src/aldehyde/layout2/layout-context.tsx +95 -95
- package/src/aldehyde/layout2/main.tsx +30 -30
- package/src/aldehyde/layout2/page.tsx +315 -315
- package/src/aldehyde/layout2/sider.tsx +230 -230
- package/src/aldehyde/layout2/tabs/tabs-context.tsx +37 -37
- package/src/aldehyde/layout2/tabs/tabs-layout.tsx +146 -146
- package/src/aldehyde/layout2/type/layout-type.ts +15 -15
- package/src/aldehyde/layout2/util/menu-util.tsx +125 -125
- package/src/aldehyde/layout3/components/tabs-layout.tsx +110 -110
- package/src/aldehyde/layout3/components/time.tsx +25 -25
- package/src/aldehyde/layout3/css/header.less +195 -195
- package/src/aldehyde/layout3/css/main.less +161 -161
- package/src/aldehyde/layout3/css/sider.less +32 -32
- package/src/aldehyde/layout3/css/tabs-layout.less +38 -38
- package/src/aldehyde/layout3/header.tsx +187 -187
- package/src/aldehyde/layout3/main.tsx +29 -29
- package/src/aldehyde/layout3/page.tsx +110 -110
- package/src/aldehyde/layout3/sider.tsx +198 -198
- package/src/aldehyde/layout4/components/tabs-layout.tsx +110 -110
- package/src/aldehyde/layout4/css/header.less +196 -196
- package/src/aldehyde/layout4/css/main.less +154 -154
- package/src/aldehyde/layout4/css/sider.less +37 -37
- package/src/aldehyde/layout4/css/tabs-layout.less +42 -42
- package/src/aldehyde/layout4/header.tsx +190 -190
- package/src/aldehyde/layout4/main.tsx +29 -29
- package/src/aldehyde/layout4/page.tsx +125 -125
- package/src/aldehyde/layout4/sider.tsx +201 -201
- package/src/aldehyde/layout5/css/header.less +35 -35
- package/src/aldehyde/layout5/css/sider.less +18 -18
- package/src/aldehyde/layout5/header.tsx +204 -204
- package/src/aldehyde/layout5/page.tsx +107 -107
- package/src/aldehyde/layout5/sider.tsx +235 -235
- package/src/aldehyde/list/calendar/index.less +20 -20
- package/src/aldehyde/list/calendar/index.tsx +157 -157
- package/src/aldehyde/list/card-list/card-list-item.tsx +112 -111
- package/src/aldehyde/list/card-list/index.less +154 -154
- package/src/aldehyde/list/card-list/index.tsx +83 -83
- package/src/aldehyde/list/gantt/index.less +8 -8
- package/src/aldehyde/list/gantt/index.tsx +508 -508
- package/src/aldehyde/list/vertical-list/index.less +208 -208
- package/src/aldehyde/list/vertical-list/index.tsx +55 -55
- package/src/aldehyde/list/vertical-list/item.tsx +136 -136
- package/src/aldehyde/locale/LocaleButton.tsx +48 -48
- package/src/aldehyde/locale/LocaleProvider.tsx +265 -265
- package/src/aldehyde/locale/langMp.ts +45 -45
- package/src/aldehyde/locale/translate.ts +80 -80
- package/src/aldehyde/locale/useLocale.ts +72 -72
- package/src/aldehyde/login/context-setter.tsx +130 -130
- package/src/aldehyde/login/index.css +19 -19
- package/src/aldehyde/login/login.tsx +255 -255
- package/src/aldehyde/login/router-login.tsx +107 -107
- package/src/aldehyde/login/vertify/index.css +143 -143
- package/src/aldehyde/login/vertify/index.tsx +360 -360
- package/src/aldehyde/login/vertify/tool.ts +13 -13
- package/src/aldehyde/login2/login-page.tsx +92 -92
- package/src/aldehyde/login2/login.tsx +226 -226
- package/src/aldehyde/login3/index.less +136 -136
- package/src/aldehyde/login3/login-page.tsx +71 -71
- package/src/aldehyde/lowcode-components/act-table/index.less +26 -26
- package/src/aldehyde/lowcode-components/act-table/index.tsx +139 -139
- package/src/aldehyde/lowcode-components/assets/lowcode-constant.tsx +12 -12
- package/src/aldehyde/lowcode-components/bar-chart/index.tsx +268 -268
- package/src/aldehyde/lowcode-components/base-button/index.less +7 -7
- package/src/aldehyde/lowcode-components/base-button/index.tsx +197 -197
- package/src/aldehyde/lowcode-components/base-image/index.tsx +220 -220
- package/src/aldehyde/lowcode-components/base-map/index.tsx +292 -292
- package/src/aldehyde/lowcode-components/base-radio/index.less +23 -23
- package/src/aldehyde/lowcode-components/base-radio/index.tsx +157 -157
- package/src/aldehyde/lowcode-components/base-table/index.tsx +268 -268
- package/src/aldehyde/lowcode-components/base-tabs/index.less +14 -14
- package/src/aldehyde/lowcode-components/base-tabs/index.tsx +183 -183
- package/src/aldehyde/lowcode-components/base-text/index.tsx +58 -58
- package/src/aldehyde/lowcode-components/border/border1/index.tsx +70 -70
- package/src/aldehyde/lowcode-components/border/border10/index.less +26 -26
- package/src/aldehyde/lowcode-components/border/border10/index.tsx +45 -45
- package/src/aldehyde/lowcode-components/border/border11/index.less +17 -17
- package/src/aldehyde/lowcode-components/border/border11/index.tsx +232 -232
- package/src/aldehyde/lowcode-components/border/border12/index.less +13 -13
- package/src/aldehyde/lowcode-components/border/border12/index.tsx +115 -115
- package/src/aldehyde/lowcode-components/border/border13/index.less +13 -13
- package/src/aldehyde/lowcode-components/border/border13/index.tsx +69 -69
- package/src/aldehyde/lowcode-components/border/border2/index.less +17 -17
- package/src/aldehyde/lowcode-components/border/border2/index.tsx +51 -51
- package/src/aldehyde/lowcode-components/border/border3/index.less +25 -25
- package/src/aldehyde/lowcode-components/border/border3/index.tsx +61 -61
- package/src/aldehyde/lowcode-components/border/border4/index.less +72 -72
- package/src/aldehyde/lowcode-components/border/border4/index.tsx +79 -79
- package/src/aldehyde/lowcode-components/border/border5/index.less +35 -35
- package/src/aldehyde/lowcode-components/border/border5/index.tsx +75 -75
- package/src/aldehyde/lowcode-components/border/border6/index.less +17 -17
- package/src/aldehyde/lowcode-components/border/border6/index.tsx +60 -60
- package/src/aldehyde/lowcode-components/border/border7/index.less +26 -26
- package/src/aldehyde/lowcode-components/border/border7/index.tsx +75 -75
- package/src/aldehyde/lowcode-components/border/border8/index.less +13 -13
- package/src/aldehyde/lowcode-components/border/border8/index.tsx +84 -84
- package/src/aldehyde/lowcode-components/border/border9/index.less +13 -13
- package/src/aldehyde/lowcode-components/border/border9/index.tsx +154 -154
- package/src/aldehyde/lowcode-components/capsule-bar-chart/index.tsx +290 -290
- package/src/aldehyde/lowcode-components/carousel/index.tsx +218 -218
- package/src/aldehyde/lowcode-components/circular-progress-chart/index.tsx +263 -263
- package/src/aldehyde/lowcode-components/column-3d-chart/index.tsx +438 -438
- package/src/aldehyde/lowcode-components/column-chart/index.tsx +293 -293
- package/src/aldehyde/lowcode-components/data-number/index.tsx +219 -219
- package/src/aldehyde/lowcode-components/data.d.ts +19 -18
- package/src/aldehyde/lowcode-components/decoration/decoration1/index.less +7 -7
- package/src/aldehyde/lowcode-components/decoration/decoration1/index.tsx +153 -153
- package/src/aldehyde/lowcode-components/decoration/decoration10/index.less +5 -5
- package/src/aldehyde/lowcode-components/decoration/decoration10/index.tsx +89 -89
- package/src/aldehyde/lowcode-components/decoration/decoration11/index.less +5 -5
- package/src/aldehyde/lowcode-components/decoration/decoration11/index.tsx +133 -133
- package/src/aldehyde/lowcode-components/decoration/decoration2/index.less +6 -6
- package/src/aldehyde/lowcode-components/decoration/decoration2/index.tsx +61 -61
- package/src/aldehyde/lowcode-components/decoration/decoration3/index.less +7 -7
- package/src/aldehyde/lowcode-components/decoration/decoration3/index.tsx +87 -87
- package/src/aldehyde/lowcode-components/decoration/decoration4/index.less +29 -29
- package/src/aldehyde/lowcode-components/decoration/decoration4/index.tsx +53 -53
- package/src/aldehyde/lowcode-components/decoration/decoration5/index.less +3 -3
- package/src/aldehyde/lowcode-components/decoration/decoration5/index.tsx +116 -116
- package/src/aldehyde/lowcode-components/decoration/decoration6/index.less +7 -7
- package/src/aldehyde/lowcode-components/decoration/decoration6/index.tsx +121 -121
- package/src/aldehyde/lowcode-components/decoration/decoration7/index.less +4 -4
- package/src/aldehyde/lowcode-components/decoration/decoration7/index.tsx +70 -70
- package/src/aldehyde/lowcode-components/decoration/decoration8/index.less +14 -14
- package/src/aldehyde/lowcode-components/decoration/decoration8/index.tsx +122 -122
- package/src/aldehyde/lowcode-components/decoration/decoration9/index.less +4 -4
- package/src/aldehyde/lowcode-components/decoration/decoration9/index.tsx +196 -196
- package/src/aldehyde/lowcode-components/effectScatter-map/index.tsx +315 -315
- package/src/aldehyde/lowcode-components/effectScatter-map-3d/index.tsx +419 -419
- package/src/aldehyde/lowcode-components/gauge-chart/index.tsx +254 -254
- package/src/aldehyde/lowcode-components/index.ts +130 -130
- package/src/aldehyde/lowcode-components/line-bar-chart/index.tsx +300 -300
- package/src/aldehyde/lowcode-components/line-chart/index.tsx +290 -290
- package/src/aldehyde/lowcode-components/liquid-chart/index.tsx +250 -250
- package/src/aldehyde/lowcode-components/lowcode-view/component/assets.ts +478 -478
- package/src/aldehyde/lowcode-components/lowcode-view/component/component-controller.ts +153 -153
- package/src/aldehyde/lowcode-components/lowcode-view/component/component-definition.ts +23 -23
- package/src/aldehyde/lowcode-components/lowcode-view/component/loading.tsx +20 -20
- package/src/aldehyde/lowcode-components/lowcode-view/component/util.ts +27 -27
- package/src/aldehyde/lowcode-components/lowcode-view/index.less +19 -19
- package/src/aldehyde/lowcode-components/lowcode-view/index.tsx +277 -277
- package/src/aldehyde/lowcode-components/lowcode-view/interface.ts +189 -189
- package/src/aldehyde/lowcode-components/pie-chart/index.tsx +349 -349
- package/src/aldehyde/lowcode-components/progress-chart/index.tsx +295 -295
- package/src/aldehyde/lowcode-components/radar-chart/index.tsx +322 -322
- package/src/aldehyde/lowcode-components/search-form/index.less +25 -25
- package/src/aldehyde/lowcode-components/search-form/index.tsx +121 -121
- package/src/aldehyde/lowcode-components/stroke-animation/index.tsx +219 -219
- package/src/aldehyde/module/block-menu-tree-drawer.tsx +118 -118
- package/src/aldehyde/module/criteria-page.tsx1 +175 -175
- package/src/aldehyde/module/draggable-modal.tsx +66 -66
- package/src/aldehyde/module/dtmpl-edit-card.tsx +437 -437
- package/src/aldehyde/module/dtmpl-edit-drawer.tsx +23 -23
- package/src/aldehyde/module/dtmpl-edit-modal.tsx +25 -25
- package/src/aldehyde/module/dtmpl-edit-page.tsx +558 -558
- package/src/aldehyde/module/dtmpl-editor.tsx +165 -165
- package/src/aldehyde/module/dtmpl-view-card.tsx +64 -64
- package/src/aldehyde/module/dtmpl-view-drawer.tsx +71 -71
- package/src/aldehyde/module/dtmpl-view-modal.tsx +56 -56
- package/src/aldehyde/module/embed-dtmpl-edit-page.tsx +137 -137
- package/src/aldehyde/module/index.less +4 -4
- package/src/aldehyde/module/ltmpl-drawer.tsx +60 -60
- package/src/aldehyde/module/ltmpl-modal.tsx +63 -63
- package/src/aldehyde/module/ltmpl-table.tsx +379 -378
- package/src/aldehyde/module/ttmpl-tree.tsx +47 -47
- package/src/aldehyde/routable/dtmpl-route.tsx +173 -173
- package/src/aldehyde/routable/import-route.tsx +35 -35
- package/src/aldehyde/routable/index.less +25 -25
- package/src/aldehyde/routable/ltmpl-route.tsx +539 -539
- package/src/aldehyde/routable/splitview-ltmpl-route.tsx +377 -377
- package/src/aldehyde/routable/ttmpl-route.tsx +93 -93
- package/src/aldehyde/routable/withroute.tsx +36 -36
- package/src/aldehyde/sso-Login/index.tsx +73 -73
- package/src/aldehyde/sso-Login/service/index.js +16 -16
- package/src/aldehyde/sso-Login/service/login.js +75 -75
- package/src/aldehyde/table/act-table.tsx +1830 -1831
- package/src/aldehyde/table/column/column-builder.tsx +865 -864
- package/src/aldehyde/table/column/column-selector.tsx +130 -130
- package/src/aldehyde/table/column/index.less +85 -63
- package/src/aldehyde/table/column/summary-builder.tsx +712 -712
- package/src/aldehyde/table/column/theme-color-getter.tsx +25 -25
- package/src/aldehyde/table/control-table-x-axis-wrapper.tsx +80 -80
- package/src/aldehyde/table/index.css +211 -211
- package/src/aldehyde/table/l2-act-table.tsx +91 -91
- package/src/aldehyde/table/modal-select-table.tsx +308 -308
- package/src/aldehyde/table/page-config-button.tsx +203 -203
- package/src/aldehyde/table/pagination.css +14 -14
- package/src/aldehyde/table/pagination.tsx +81 -81
- package/src/aldehyde/table/query-table.tsx +658 -658
- package/src/aldehyde/table/relation-table.tsx +1078 -1093
- package/src/aldehyde/table/report-table.tsx +125 -125
- package/src/aldehyde/table/resizable-table.tsx +97 -97
- package/src/aldehyde/table/select-table.tsx +559 -548
- package/src/aldehyde/table/selected-rows-card.tsx +78 -78
- package/src/aldehyde/table/stat/restat.tsx +122 -122
- package/src/aldehyde/table/table-util.tsx +25 -25
- package/src/aldehyde/tmpl/control-type-supportor.tsx +154 -154
- package/src/aldehyde/tmpl/hc-data-source.tsx +574 -566
- package/src/aldehyde/tmpl/hcservice-v3.tsx +1590 -1590
- package/src/aldehyde/tmpl/interface.tsx +924 -919
- package/src/aldehyde/tmpl/model-struc-v3.tsx +111 -111
- package/src/aldehyde/tmpl/superagent.js +146 -146
- package/src/aldehyde/tmpl/tmpl-config-analysis.tsx +585 -585
- package/src/aldehyde/tmpl/web-socket.ts +366 -366
- package/src/aldehyde/tree/act-tree.tsx +217 -217
- package/src/aldehyde/tree/block-menu-auth-tree.tsx +189 -189
- package/src/aldehyde/tree/index.css +22 -22
- package/src/aldehyde/tree/navigation-tree.tsx +39 -39
- package/src/aldehyde/tree/tmpl-tree.tsx +751 -751
- package/src/aldehyde/tree/tree-node.tsx +73 -73
- package/src/aldehyde/tree/tree-utils.tsx +317 -317
- package/src/aldehyde/units/EncryptUtils.js +37 -37
- package/src/aldehyde/units/image.d.ts +7 -7
- package/src/aldehyde/units/index.tsx +1367 -1367
- package/src/aldehyde/units/storage.js +2 -2
- package/src/aldehyde/utils/dsu.ts +27 -27
- package/src/aldehyde/welcome/HCWelcome.js +404 -404
- package/src/aldehyde/welcome/HCWelcome1.js +259 -259
- package/src/aldehyde/welcome/components/menu-card.less +96 -96
- package/src/aldehyde/welcome/components/menu-card.tsx +70 -70
- package/src/aldehyde/welcome/components/page-card.less +49 -49
- package/src/aldehyde/welcome/components/page-card.tsx +97 -97
- package/src/aldehyde/welcome/components/quick-entrance.less +120 -120
- package/src/aldehyde/welcome/components/quick-entrance.tsx +80 -80
- package/src/aldehyde/welcome/components/user-menus.less +192 -192
- package/src/aldehyde/welcome/components/user-menus.tsx +279 -279
- package/src/aldehyde/welcome/components/workbench.less +118 -118
- package/src/aldehyde/welcome/components/workbench.tsx +146 -146
- package/src/aldehyde/welcome/index.css +13 -13
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
|
+
import { Upload, Button, message } from 'antd';
|
|
3
|
+
import { UploadOutlined } from '@ant-design/icons';
|
|
4
|
+
import * as XLSX from 'xlsx';
|
|
5
|
+
import { LocaleContext } from "../../locale/LocaleProvider";
|
|
6
|
+
const Index = (props) => {
|
|
7
|
+
const { onChangeData, children } = props;
|
|
8
|
+
const { translate } = useContext(LocaleContext);
|
|
9
|
+
const handleUpload = (file) => {
|
|
10
|
+
const isXlsx = file.name.toLowerCase().endsWith('.xlsx');
|
|
11
|
+
if (!isXlsx) {
|
|
12
|
+
message.warning(translate('${仅支持上传.xlsx格式}'));
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
const reader = new FileReader();
|
|
16
|
+
reader.readAsArrayBuffer(file);
|
|
17
|
+
reader.onload = e => {
|
|
18
|
+
const buffer = new Uint8Array(e.target.result);
|
|
19
|
+
const wb = XLSX.read(buffer, { type: 'array' });
|
|
20
|
+
const sheet = wb.Sheets[wb.SheetNames[0]];
|
|
21
|
+
const data = XLSX.utils.sheet_to_json(sheet, { defval: '' });
|
|
22
|
+
onChangeData(data);
|
|
23
|
+
};
|
|
24
|
+
// 阻止自动上传
|
|
25
|
+
return false;
|
|
26
|
+
};
|
|
27
|
+
return (React.createElement(Upload, { accept: ".xlsx", beforeUpload: handleUpload, showUploadList: false }, children || React.createElement(Button, { icon: React.createElement(UploadOutlined, null) }, "\u4E0A\u4F20Excel")));
|
|
28
|
+
};
|
|
29
|
+
export default Index;
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/aldehyde/controls/upload-read-excel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAS5D,MAAM,KAAK,GAAG,CAAC,KAAY,EAAE,EAAE;IAC3B,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,EAAE,SAAS,EAAE,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAEhD,MAAM,YAAY,GAAG,CAAC,IAAI,EAAE,EAAE;QAC1B,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QACzD,IAAI,CAAC,MAAM,EAAE,CAAC;YACV,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAAC;YAC9C,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,UAAU,EAAE,CAAC;QAChC,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;QAC/B,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE;YAChB,MAAM,MAAM,GAAG,I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,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,6BAA6B;CAAG;AAE1C,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,KAAK,CAAC,aAAa,CACvE,6BAA6B,EAC7B,6BAA6B,CAC9B;IACC,KAAK,KAAM;IACX,MAAM,CAAC,WAAW;;;;;;;
|
|
1
|
+
{"version":3,"file":"dtmpl-custom-edit-modal-page.d.ts","sourceRoot":"","sources":["../../../../src/aldehyde/custom-page/dtmpl-custom-edit-modal-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGzD,UAAU,6BAA6B;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,6BAA6B;CAAG;AAE1C,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,KAAK,CAAC,aAAa,CACvE,6BAA6B,EAC7B,6BAA6B,CAC9B;IACC,KAAK,KAAM;IACX,MAAM,CAAC,WAAW;;;;;;;YAbP,GAAG;oBACA,GAAG;;;;;;OAYkB;IACnC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;IAEjD,MAAM,CAAC,YAAY;;;;;;;;;MAMjB;IAEF,SAAS,cAUP;IAEF,UAAU;;;;;oBAtCE,IAAI;;;;;;oBAAJ,IAAI;kBAkDd;IAEF,MAAM;CAsBP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottom-submit-button-bar.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/button/bottom-submit-button-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,CAAC;AAKrB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,0BAA2B,SAAQ,iBAAiB;CAAG;AAEjE,UAAU,uBAAuB;CAEhC;AAED,cAAM,qBAAsB,SAAQ,KAAK,CAAC,aAAa,CACrD,0BAA0B,EAC1B,uBAAuB,CACxB;IACC,KAAK,KAEH;IACF,MAAM,CAAC,WAAW;;;;;;;
|
|
1
|
+
{"version":3,"file":"bottom-submit-button-bar.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/button/bottom-submit-button-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,CAAC;AAKrB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,0BAA2B,SAAQ,iBAAiB;CAAG;AAEjE,UAAU,uBAAuB;CAEhC;AAED,cAAM,qBAAsB,SAAQ,KAAK,CAAC,aAAa,CACrD,0BAA0B,EAC1B,uBAAuB,CACxB;IACC,KAAK,KAEH;IACF,MAAM,CAAC,WAAW;;;;;;;YAPhB,GAAG;oBAA0C,GAAG;;;;;;OAOf;IACnC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;IAEjD,MAAM;CA+DP;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cquery-button-bar.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/button/cquery-button-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,aAAa,CAAC;AACrB,OAAO,EAGL,YAAY,EACZ,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,oBAAoB;CAE7B;AAED,cAAM,eAAgB,SAAQ,KAAK,CAAC,aAAa,CAC/C,oBAAoB,EACpB,oBAAoB,CACrB;IACC,KAAK,KAEH;IACF,MAAM,CAAC,WAAW;;;;;;;
|
|
1
|
+
{"version":3,"file":"cquery-button-bar.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/button/cquery-button-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,aAAa,CAAC;AACrB,OAAO,EAGL,YAAY,EACZ,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,oBAAoB;CAE7B;AAED,cAAM,eAAgB,SAAQ,KAAK,CAAC,aAAa,CAC/C,oBAAoB,EACpB,oBAAoB,CACrB;IACC,KAAK,KAEH;IACF,MAAM,CAAC,WAAW;;;;;;;YAfZ,GAAG;oBAIX,GAAC;;;;;;OAWoC;IACnC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;IAEjD,gBAAgB,GAAI,SAAS,YAAY,EAAE,mBAQzC;IAoBF,MAAM;CA8EP;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fix-right-submit-button-bar.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/button/fix-right-submit-button-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,aAAa,CAAC;AACrB,OAAO,EACL,YAAY,EACZ,UAAU,EAGX,MAAM,kCAAkC,CAAC;AAI1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,yBAA0B,SAAQ,iBAAiB;CAAG;AAEhE,UAAU,yBAAyB;CAGlC;AAED,cAAM,uBAAwB,SAAQ,KAAK,CAAC,aAAa,CACvD,yBAAyB,EACzB,yBAAyB,CAC1B;IACC,KAAK,KAEH;IACF,MAAM,CAAC,WAAW;;;;;;;YAdiC,GAAG;
|
|
1
|
+
{"version":3,"file":"fix-right-submit-button-bar.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/button/fix-right-submit-button-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,aAAa,CAAC;AACrB,OAAO,EACL,YAAY,EACZ,UAAU,EAGX,MAAM,kCAAkC,CAAC;AAI1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,yBAA0B,SAAQ,iBAAiB;CAAG;AAEhE,UAAU,yBAAyB;CAGlC;AAED,cAAM,uBAAwB,SAAQ,KAAK,CAAC,aAAa,CACvD,yBAAyB,EACzB,yBAAyB,CAC1B;IACC,KAAK,KAEH;IACF,MAAM,CAAC,WAAW;;;;;;;YAdiC,GAAG;oBAE1B,GAAG;;;;;;OAYI;IACnC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;IAEjD,gBAAgB,GAAI,SAAS,UAAU,EAAE,EAAE,SAAS,YAAY,EAAE,mBAehE;IAQF,MAAM;CAiIP;AAED,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
.submitButtonBar{
|
|
2
|
-
/* background: #fff; */
|
|
3
|
-
/*position: absolute;*/
|
|
4
|
-
/*right:10px;*/
|
|
5
|
-
/*top:80px;*/
|
|
6
|
-
/* border:1px solid #e8e8e8; */
|
|
7
|
-
border-radius: 4px;
|
|
8
|
-
box-shadow: 2px 2px 10px rgba(0,0,0,.2);
|
|
9
|
-
max-height:158px;
|
|
10
|
-
/*min-height:80px;*/
|
|
11
|
-
overflow:auto;
|
|
12
|
-
width:100px;
|
|
13
|
-
}
|
|
14
|
-
.submitButtonBar::-webkit-scrollbar {
|
|
15
|
-
display: none;
|
|
16
|
-
}
|
|
17
|
-
.submitButtonBar ul{
|
|
18
|
-
padding:0;
|
|
19
|
-
margin:0;
|
|
20
|
-
}
|
|
21
|
-
.submitButtonBar li{
|
|
22
|
-
list-style-type: none;
|
|
23
|
-
padding:4px;
|
|
24
|
-
margin:0;
|
|
25
|
-
text-align: left;
|
|
26
|
-
white-space: nowrap;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
}
|
|
29
|
-
/*.rightBar li:hover{*/
|
|
30
|
-
/* background: #cfe3f5;*/
|
|
31
|
-
/*}*/
|
|
32
|
-
|
|
33
|
-
.btns button{
|
|
34
|
-
margin-right: 10px
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.cquickTextButton {
|
|
38
|
-
cursor:pointer;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.cquickTextButton:hover{
|
|
42
|
-
color: #1890ff;
|
|
1
|
+
.submitButtonBar{
|
|
2
|
+
/* background: #fff; */
|
|
3
|
+
/*position: absolute;*/
|
|
4
|
+
/*right:10px;*/
|
|
5
|
+
/*top:80px;*/
|
|
6
|
+
/* border:1px solid #e8e8e8; */
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
box-shadow: 2px 2px 10px rgba(0,0,0,.2);
|
|
9
|
+
max-height:158px;
|
|
10
|
+
/*min-height:80px;*/
|
|
11
|
+
overflow:auto;
|
|
12
|
+
width:100px;
|
|
13
|
+
}
|
|
14
|
+
.submitButtonBar::-webkit-scrollbar {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
.submitButtonBar ul{
|
|
18
|
+
padding:0;
|
|
19
|
+
margin:0;
|
|
20
|
+
}
|
|
21
|
+
.submitButtonBar li{
|
|
22
|
+
list-style-type: none;
|
|
23
|
+
padding:4px;
|
|
24
|
+
margin:0;
|
|
25
|
+
text-align: left;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
/*.rightBar li:hover{*/
|
|
30
|
+
/* background: #cfe3f5;*/
|
|
31
|
+
/*}*/
|
|
32
|
+
|
|
33
|
+
.btns button{
|
|
34
|
+
margin-right: 10px
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.cquickTextButton {
|
|
38
|
+
cursor:pointer;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cquickTextButton:hover{
|
|
42
|
+
color: #1890ff;
|
|
43
43
|
}
|
package/lib/detail/dtmpl.css
CHANGED
|
@@ -1,68 +1,73 @@
|
|
|
1
|
-
/*.labelcss label{*/
|
|
2
|
-
/* display:table-cell!important;*/
|
|
3
|
-
/* vertical-align: middle;*/
|
|
4
|
-
/* width:120px;*/
|
|
5
|
-
/*}*/
|
|
6
|
-
|
|
7
|
-
.downEditPic {
|
|
8
|
-
display: inline-block;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.downEditPic a {
|
|
12
|
-
visibility: hidden;
|
|
13
|
-
color: #1890ff;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.downEditPic:hover a {
|
|
18
|
-
visibility: visible;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.editPic .ant-upload-list {
|
|
22
|
-
width: 150px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.buttonGroup {
|
|
26
|
-
position: fixed;
|
|
27
|
-
width: 100px;
|
|
28
|
-
bottom: 30px;
|
|
29
|
-
right: 20px;
|
|
30
|
-
z-index: 99;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.buttonGroup button {
|
|
34
|
-
margin-bottom: 10px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.detailPage {
|
|
38
|
-
position: relative;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.detailPage h3 {
|
|
42
|
-
font-size: 18px;
|
|
43
|
-
padding: 12px 0;
|
|
44
|
-
margin: 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.detailPage
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
width:
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
/*.labelcss label{*/
|
|
2
|
+
/* display:table-cell!important;*/
|
|
3
|
+
/* vertical-align: middle;*/
|
|
4
|
+
/* width:120px;*/
|
|
5
|
+
/*}*/
|
|
6
|
+
|
|
7
|
+
.downEditPic {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.downEditPic a {
|
|
12
|
+
visibility: hidden;
|
|
13
|
+
color: #1890ff;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.downEditPic:hover a {
|
|
18
|
+
visibility: visible;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.editPic .ant-upload-list {
|
|
22
|
+
width: 150px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.buttonGroup {
|
|
26
|
+
position: fixed;
|
|
27
|
+
width: 100px;
|
|
28
|
+
bottom: 30px;
|
|
29
|
+
right: 20px;
|
|
30
|
+
z-index: 99;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.buttonGroup button {
|
|
34
|
+
margin-bottom: 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.detailPage {
|
|
38
|
+
position: relative;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.detailPage h3 {
|
|
42
|
+
font-size: 18px;
|
|
43
|
+
padding: 12px 0;
|
|
44
|
+
margin: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.detailPage .actTable h3 {
|
|
48
|
+
padding: 0;
|
|
49
|
+
margin-bottom: 0.5em;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.detailPage.showRightNav .ant-card {
|
|
53
|
+
min-width: 740px;
|
|
54
|
+
max-width: 1440px;
|
|
55
|
+
width: 90%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.detailPage.noRightNav .ant-card {
|
|
59
|
+
min-width: 740px;
|
|
60
|
+
width: 100%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.actionbtn button {
|
|
64
|
+
margin-right: 5px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.detailPage .pad {
|
|
68
|
+
margin-right: 100px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ant-descriptions-item-content:has(.description-content) {
|
|
72
|
+
overflow: hidden;
|
|
68
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields-edit-card.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/edit/fields-edit-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AACvC,OAAO,EAAgB,YAAY,EAAqB,MAAM,MAAM,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,EAAC,SAAS,KAAA,KAAK,IAAI,CAAC;IAClD,OAAO,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;CACnC;AAED,UAAU,mBAAmB;CAAG;AAEhC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,KAAK,CAAC,aAAa,CAC7D,mBAAmB,EACnB,mBAAmB,CACpB;IAEC,MAAM,CAAC,YAAY;;;;;;;;;;MAOjB;IACF,KAAK,KAAM;IACX,MAAM,CAAC,WAAW;;;;;;;YA1BlB,GAAC;oBAED,
|
|
1
|
+
{"version":3,"file":"fields-edit-card.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Aa,CAAC,CAAC;IAE3C,iBAAiB;IAEjB,kBAAkB;IAIxB,KAAK,aAIH;IAEF,IAAI,aAEF;IAIF,MAAM;CAmFP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-row-edit.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/edit/modal-row-edit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAS,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAG5D,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,UAAU,mBAAmB;CAAG;AAEhC,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,aAAa,CAC3D,mBAAmB,EACnB,mBAAmB,CACpB;IACC,OAAO,qCAAmC;IAC1C,MAAM,CAAC,YAAY;;;;;;MAGjB;IACF,KAAK,KAAM;IACX,MAAM,CAAC,WAAW;;;;;;;YAfX,GAAG;
|
|
1
|
+
{"version":3,"file":"modal-row-edit.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/edit/modal-row-edit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAS,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CA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CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,KAAK,CAAC,aAAa,CAC9D,gBAAgB,EAChB,gBAAgB,CACjB;IACC,OAAO,qCAAmC;IAC1C,MAAM,CAAC,YAAY;;;;;;;;;MAMjB;IACF,KAAK;;MAEH;IACF,MAAM,CAAC,WAAW;;;;;;;YA3BlB,GAAC;oBAA0C,GAAG;;;;;;OA2BX;IACnC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;IAE3C,iBAAiB;IAEjB,kBAAkB;IAIxB,KAAK,aAIH;IAEF,IAAI,aAGF;IACF,GAAG,aAGD;IAEF,QAAQ,eAYN;IAEF,MAAM;CAiFP"}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
.rightBar{
|
|
2
|
-
background: #fff;
|
|
3
|
-
/*position: absolute;*/
|
|
4
|
-
/*right:10px;*/
|
|
5
|
-
/*top:80px;*/
|
|
6
|
-
border:1px solid #e8e8e8;
|
|
7
|
-
border-radius: 4px;
|
|
8
|
-
box-shadow: 2px 2px 10px rgba(0,0,0,.2);
|
|
9
|
-
height:200px;
|
|
10
|
-
/*max-height:181px;*/
|
|
11
|
-
/*min-height:80px;*/
|
|
12
|
-
min-width: 96px;
|
|
13
|
-
overflow:auto;
|
|
14
|
-
}
|
|
15
|
-
.rightBar::-webkit-scrollbar {
|
|
16
|
-
display: none;
|
|
17
|
-
}
|
|
18
|
-
.rightBar ul{
|
|
19
|
-
padding:0;
|
|
20
|
-
margin:0;
|
|
21
|
-
}
|
|
22
|
-
.rightBar li{
|
|
23
|
-
list-style-type: none;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
padding:3px 7px;
|
|
26
|
-
width:95px;
|
|
27
|
-
text-align: center;
|
|
28
|
-
white-space: nowrap;
|
|
29
|
-
text-overflow: ellipsis;
|
|
30
|
-
text-align: left;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
}
|
|
33
|
-
.rightBar li:hover{
|
|
34
|
-
background: #cfe3f5;
|
|
1
|
+
.rightBar{
|
|
2
|
+
background: #fff;
|
|
3
|
+
/*position: absolute;*/
|
|
4
|
+
/*right:10px;*/
|
|
5
|
+
/*top:80px;*/
|
|
6
|
+
border:1px solid #e8e8e8;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
box-shadow: 2px 2px 10px rgba(0,0,0,.2);
|
|
9
|
+
height:200px;
|
|
10
|
+
/*max-height:181px;*/
|
|
11
|
+
/*min-height:80px;*/
|
|
12
|
+
min-width: 96px;
|
|
13
|
+
overflow:auto;
|
|
14
|
+
}
|
|
15
|
+
.rightBar::-webkit-scrollbar {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
.rightBar ul{
|
|
19
|
+
padding:0;
|
|
20
|
+
margin:0;
|
|
21
|
+
}
|
|
22
|
+
.rightBar li{
|
|
23
|
+
list-style-type: none;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
padding:3px 7px;
|
|
26
|
+
width:95px;
|
|
27
|
+
text-align: center;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
text-overflow: ellipsis;
|
|
30
|
+
text-align: left;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
}
|
|
33
|
+
.rightBar li:hover{
|
|
34
|
+
background: #cfe3f5;
|
|
35
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/rightbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,aAAa;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,aAAa;CAAG;AAE1B,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,KAAK,CAAC,aAAa,CACvD,aAAa,EACb,aAAa,CACd;IACC,MAAM,CAAC,YAAY;;MAEjB;IACF,MAAM,CAAC,WAAW;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/rightbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,aAAa;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,aAAa;CAAG;AAE1B,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,KAAK,CAAC,aAAa,CACvD,aAAa,EACb,aAAa,CACd;IACC,MAAM,CAAC,YAAY;;MAEjB;IACF,MAAM,CAAC,WAAW;;;;;;;YAAP,GAAG;oBACG,GAAG;;;;;;OADe;IACnC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;IAEjD,cAAc,GAAI,QAAQ,QAAQ,UAShC;IACF,MAAM,GAAI,MAAC,UAQT;IAEF,MAAM;CA+CP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"act-dtmpl-view.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/view/act-dtmpl-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAkC,YAAY,EAAoB,MAAM,MAAM,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAG9E,OAAO,cAAc,CAAC;AAKtB,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAI5D,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,cAAM,YAAa,SAAQ,KAAK,CAAC,aAAa,CAC1C,iBAAiB,EACjB,gBAAgB,CACnB;IACG,MAAM,CAAC,YAAY;;;;MAIjB;IACF,OAAO,qCAAmC;IAC1C,MAAM,CAAC,WAAW;;;;;;;
|
|
1
|
+
{"version":3,"file":"act-dtmpl-view.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/view/act-dtmpl-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAkC,YAAY,EAAoB,MAAM,MAAM,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAG9E,OAAO,cAAc,CAAC;AAKtB,OAA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../src/aldehyde/detail/view/dtmpl-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,cAAc,EACd,WAAW,EACX,SAAS,EAEV,MAAM,sBAAsB,CAAC;AAI9B,OAAO,cAAc,CAAC;AAStB,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,SAAS,CAAC;CAChC;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,cAAM,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,cAAc,EAAE,aAAa,CAAC;IACxE,MAAM,CAAC,YAAY;;;MAGjB;IAEF,KAAK;;;;;;;;;;;;;;MAUH;IAEI,iBAAiB;IAIjB,kBAAkB,CAAC,SAAS,KAAA;IAgBlC,QAAQ,sBAgCN;IAEF,cAAc,
|
|
1
|
+
{"version":3,"file":"dtmpl-view.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/view/dtmpl-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,cAAc,EACd,WAAW,EACX,SAAS,EAEV,MAAM,sBAAsB,CAAC;AAI9B,OAAO,cAAc,CAAC;AAStB,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,SAAS,CAAC;CAChC;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,cAAM,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,cAAc,EAAE,aAAa,CAAC;IACxE,MAAM,CAAC,YAAY;;;MAGjB;IAEF,KAAK;;;;;;;;;;;;;;MAUH;IAEI,iBAAiB;IAIjB,kBAAkB,CAAC,SAAS,KAAA;IAgBlC,QAAQ,sBAgCN;IAEF,cAAc,cAwKZ;IAEF,MAAM;CAsDP;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -57,14 +57,15 @@ class DtmplView extends React.PureComponent {
|
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
this.fieldGroupList = () => {
|
|
60
|
-
|
|
60
|
+
var _a;
|
|
61
|
+
const { dtmplConfig, serverKey, mainCode, showRightNav, parentId, maxColsOnRow, code } = this.props;
|
|
61
62
|
const { dtmplData, loading, id } = this.state;
|
|
62
63
|
const { pageLayout } = dtmplConfig;
|
|
63
64
|
let groups = [];
|
|
64
65
|
if (dtmplConfig) {
|
|
65
66
|
groups = dtmplConfig.groups;
|
|
66
67
|
}
|
|
67
|
-
|
|
68
|
+
const groupElements = groups.map((item) => {
|
|
68
69
|
if (item.type === "embed") {
|
|
69
70
|
if (!dtmplData) {
|
|
70
71
|
return null;
|
|
@@ -116,6 +117,15 @@ class DtmplView extends React.PureComponent {
|
|
|
116
117
|
React.createElement(CollapseCard, { tip: item.tip, title: item.title, key: item.id, id: id + item.id, className: "hoverable", styles: { header: { background: "#f2f4f5" } }, loading: loading }, children));
|
|
117
118
|
}
|
|
118
119
|
});
|
|
120
|
+
if ((_a = dtmplConfig.viewRactions) === null || _a === void 0 ? void 0 : _a.length) { // 关系查询
|
|
121
|
+
const viewRactions = dtmplConfig.viewRactions.map(item => {
|
|
122
|
+
const children = React.createElement(LtmplTable, { funcMode: "common", readOnly: true, serverKey: serverKey, sourceId: item.id, mainCode: code });
|
|
123
|
+
return pageLayout === "horizontalTabs" ? { key: item.id, label: item.title, children } :
|
|
124
|
+
React.createElement(CollapseCard, { title: item.title, key: item.id, id: id + item.id, className: "hoverable", styles: { header: { background: "#f2f4f5" } }, loading: loading }, children);
|
|
125
|
+
});
|
|
126
|
+
groupElements.push(...viewRactions);
|
|
127
|
+
}
|
|
128
|
+
return groupElements;
|
|
119
129
|
};
|
|
120
130
|
}
|
|
121
131
|
componentDidMount() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dtmpl-view.js","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/view/dtmpl-view.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAOzC,OAAO,aAAa,MAAM,4BAA4B,CAAC;AACvD,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,YAAY,MAAM,8BAA8B,CAAC;AACxD,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAC1D,OAAO,kBAAkB,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAClD,OAAO,aAAa,MAAM,8BAA8B,CAAC;AAkBzD,MAAM,SAAU,SAAQ,KAAK,CAAC,aAA4C;IAA1E;;QAME,UAAK,GAAG;YACN,OAAO,EAAE,IAAI;YACb,EAAE,EAAE,WAAW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AI,GAAS,CAAC;QACtC,CAAC;QAED,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;QAE3C,OAAO,CACL;YACG,UAAU,KAAK,gBAAgB,CAAC,CAAC,CAAC,oBAAC,IAAI,IAAC,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAA,MAAM,CAAC,CAAC,CAAC,0CAAE,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,EAAE;YACzK,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACjC,oBAAC,YAAY;YACX,yEAAyE;;gBAAzE,yEAAyE;gBACzE,KAAK,EAAE,aAAa,EACpB,GAAG,EAAE,aAAa,EAClB,EAAE,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EACvB,SAAS,EAAC,WAAW,EACrB,SAAS,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,EACpC,OAAO,EAAE,OAAO;gBAEhB,oBAAC,cAAc,IAAC,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,GAAI,CACnE,CAChB,CAAC,CAAC,CAAC,CACF,EAAE,CACH;YAUD,oBAAC,eAAe,IACd,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,IAAI,GACd,CACE,CACP,CAAC;IACJ,CAAC;;AAtSM,sBAAY,GAAG;IACpB,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,CAAC;CAChB,AAHkB,CAGjB;AAsSJ,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-view-group.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/view/field-view-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAoB,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,GAAG,CAAC;CACf;AAED,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,KAAK,CAAC,aAAa,CAC7D,mBAAmB,EACnB,mBAAmB,CACpB;gBACa,KAAK,KAAA;IAMjB,MAAM,CAAC,YAAY;;MAEjB;IACF,MAAM,CAAC,WAAW;;;;;;;
|
|
1
|
+
{"version":3,"file":"field-view-group.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/view/field-view-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAoB,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,GAAG,CAAC;CACf;AAED,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,KAAK,CAAC,aAAa,CAC7D,mBAAmB,EACnB,mBAAmB,CACpB;gBACa,KAAK,KAAA;IAMjB,MAAM,CAAC,YAAY;;MAEjB;IACF,MAAM,CAAC,WAAW;;;;;;;YAba,GAAG;oBACxB,GAAG;;;;;;OAYsB;IACnC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;IAEjD,YAAY,cA8CV;IAEF,MAAM;CAIP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-dtmpl-view.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/view/modal-dtmpl-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAqB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,mBAAoB,SAAQ,iBAAiB;IACrD,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB;AAED,UAAU,mBAAmB;CAAG;AAEhC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,KAAK,CAAC,aAAa,CAC7D,mBAAmB,EACnB,mBAAmB,CACpB;IACC,MAAM,CAAC,YAAY;;;;;;;;;;MAQjB;IACF,MAAM,CAAC,KAAK;;MAEV;IACF,MAAM,CAAC,WAAW;;;;;;;
|
|
1
|
+
{"version":3,"file":"modal-dtmpl-view.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/view/modal-dtmpl-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAqB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,UAAU,mBAAoB,SAAQ,iBAAiB;IACrD,MAAM,CAAC,EAAE,GAAG,CAA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CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAC,SAAS,CAAC;CAC9B;AAED,cAAM,eAAgB,SAAQ,KAAK,CAAC,aAAa,CAC7C,iBAAiB,EACjB,gBAAgB,CACnB;IACG,MAAM,CAAC,YAAY;;;;MAIjB;IACF,OAAO,qCAAmC;IAC1C,MAAM,CAAC,WAAW;;;;;;;YAlCf,GAAG;oBACC,GAAG;;;;;;OAiCyB;IACnC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;IAEjD,KAAK;;;;;;;;;;;;;;;MAWH;IAEI,iBAAiB;IAcvB,mBAAmB,GAAU,aAAY,WAAW,mBAalD;IAEF,SAAS,sBAMP;IAEF,MAAM,aAGJ;IAEF,YAAY,aAIV;IAEF,eAAe,aAIb;IAEF,UAAU,aACR;IAEF,QAAQ,GAAU,QAAQ,GAAG,mBAyB3B;IAEF,QAAQ,GAAI,WAAW,MAAM,EAAE,QAAQ,MAAM,EAAE,EAAE,SAAS,MAAM,UAY9D;IAEF,MAAM;CA4IT;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/draw-canvas-edit/components/main-header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAOzE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,SAAS,EAAuB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/aldehyde/draw-canvas-edit/components/main-header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAOzE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,SAAS,EAAuB,MAAM,iBAAiB,CAAC;AAGjE,OAAO,cAAc,CAAC;AA2BtB,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,KAAK,IAAI,CAAC;IACzD,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,GAAI,OAAO,eAAe,sBAkNzC,CAAA;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -8,13 +8,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import React, { useState, useEffect, useCallback, useMemo } from 'react';
|
|
11
|
-
import { Dropdown, Modal, Space, Button, Divider, Tooltip } from 'antd';
|
|
12
|
-
import { ImportOutlined, ExportOutlined, SaveOutlined, QuestionCircleOutlined, MergeCellsOutlined, NumberOutlined } from '@ant-design/icons';
|
|
11
|
+
import { Dropdown, Modal, Space, Button, Divider, Tooltip, message } from 'antd';
|
|
12
|
+
import { ImportOutlined, ExportOutlined, SaveOutlined, QuestionCircleOutlined, MergeCellsOutlined, NumberOutlined, SettingOutlined } from '@ant-design/icons';
|
|
13
13
|
import { gzipSync, strToU8 } from 'fflate';
|
|
14
14
|
import { uint8ArrayToHex } from 'uint8array-extras';
|
|
15
15
|
import HcserviceV3 from "../../../tmpl/hcservice-v3";
|
|
16
16
|
import IconFont from "../../../icon/aliIcon";
|
|
17
17
|
import * as Draws from '../render/draws';
|
|
18
|
+
import UploadReadExcel from "../../../controls/upload-read-excel";
|
|
18
19
|
import './index.less';
|
|
19
20
|
// 布局类型
|
|
20
21
|
const alignTypes = [
|
|
@@ -68,6 +69,30 @@ const MainHeader = (props) => {
|
|
|
68
69
|
};
|
|
69
70
|
input.click();
|
|
70
71
|
}, [render]);
|
|
72
|
+
// 批量设置组件属性
|
|
73
|
+
const handleBatchSetNodeConfig = useCallback((data) => {
|
|
74
|
+
if (!render || !(data === null || data === void 0 ? void 0 : data.length))
|
|
75
|
+
return;
|
|
76
|
+
const allAssets = render.getAllAssets();
|
|
77
|
+
data.forEach((item) => {
|
|
78
|
+
var _a;
|
|
79
|
+
let nodeId, setting;
|
|
80
|
+
switch (item["组件类型"]) {
|
|
81
|
+
case "workstation":
|
|
82
|
+
const order = item["序号"];
|
|
83
|
+
const workstationNumber = item["工位编号"];
|
|
84
|
+
nodeId = (_a = allAssets.find((asset) => asset.componentType === "workstation" && asset.settings.order === order)) === null || _a === void 0 ? void 0 : _a.id;
|
|
85
|
+
setting = { workstationNumber };
|
|
86
|
+
break;
|
|
87
|
+
default:
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
if (nodeId) {
|
|
91
|
+
render.updateAssetById(nodeId, setting);
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
message.success("设置成功");
|
|
95
|
+
}, [render]);
|
|
71
96
|
// 保存
|
|
72
97
|
const handleSave = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
73
98
|
if (!recordCode) {
|
|
@@ -184,6 +209,11 @@ const MainHeader = (props) => {
|
|
|
184
209
|
React.createElement(Tooltip, { title: "\u5FEB\u6377\u952E" },
|
|
185
210
|
React.createElement(Button, { type: "text", onClick: () => setShowShortCut(true) },
|
|
186
211
|
React.createElement(QuestionCircleOutlined, null))),
|
|
212
|
+
React.createElement(Tooltip, { title: "\u7EC4\u4EF6\u5C5E\u6027\u6279\u91CF\u914D\u7F6E" },
|
|
213
|
+
React.createElement(React.Fragment, null,
|
|
214
|
+
React.createElement(UploadReadExcel, { onChangeData: handleBatchSetNodeConfig },
|
|
215
|
+
React.createElement(Button, { type: "text" },
|
|
216
|
+
React.createElement(SettingOutlined, null))))),
|
|
187
217
|
React.createElement(Tooltip, { title: "\u5BFC\u5165" },
|
|
188
218
|
React.createElement(Button, { type: "text", onClick: handleRestore },
|
|
189
219
|
React.createElement(ImportOutlined, null))),
|