@ibiz-template/runtime 0.0.3-beta.0 → 0.0.3-beta.2
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/dist/system/index.system.js +1 -1
- package/out/application.d.ts +9 -1
- package/out/application.d.ts.map +1 -1
- package/out/application.js +3 -1
- package/out/controller/control/app-menu.d.ts +3 -0
- package/out/controller/control/app-menu.d.ts.map +1 -1
- package/out/controller/control/app-menu.js +4 -1
- package/out/controller/control/control.d.ts +8 -0
- package/out/controller/control/control.d.ts.map +1 -1
- package/out/controller/control/control.js +9 -1
- package/out/controller/control/form/edit-form.d.ts +2 -0
- package/out/controller/control/form/edit-form.d.ts.map +1 -1
- package/out/controller/control/form/edit-form.js +5 -3
- package/out/controller/control/form/form-button.d.ts +3 -0
- package/out/controller/control/form/form-button.d.ts.map +1 -1
- package/out/controller/control/form/form-button.js +5 -0
- package/out/controller/control/form/form-container.d.ts +3 -0
- package/out/controller/control/form/form-container.d.ts.map +1 -1
- package/out/controller/control/form/form-container.js +5 -0
- package/out/controller/control/form/form-detail.d.ts +18 -43
- package/out/controller/control/form/form-detail.d.ts.map +1 -1
- package/out/controller/control/form/form-detail.js +25 -66
- package/out/controller/control/form/form-druipart.d.ts +3 -24
- package/out/controller/control/form/form-druipart.d.ts.map +1 -1
- package/out/controller/control/form/form-druipart.js +12 -11
- package/out/controller/control/form/form-group-panel.d.ts +3 -0
- package/out/controller/control/form/form-group-panel.d.ts.map +1 -1
- package/out/controller/control/form/form-group-panel.js +5 -0
- package/out/controller/control/form/form-item.d.ts +3 -25
- package/out/controller/control/form/form-item.d.ts.map +1 -1
- package/out/controller/control/form/form-item.js +14 -41
- package/out/controller/control/form/form-page.d.ts +3 -8
- package/out/controller/control/form/form-page.d.ts.map +1 -1
- package/out/controller/control/form/form-page.js +4 -9
- package/out/controller/control/form/form-raw-item.d.ts +3 -0
- package/out/controller/control/form/form-raw-item.d.ts.map +1 -1
- package/out/controller/control/form/form-raw-item.js +5 -0
- package/out/controller/control/form/form-tab-page.d.ts +3 -0
- package/out/controller/control/form/form-tab-page.d.ts.map +1 -1
- package/out/controller/control/form/form-tab-page.js +5 -0
- package/out/controller/control/form/form-tab-panel.d.ts +3 -0
- package/out/controller/control/form/form-tab-panel.d.ts.map +1 -1
- package/out/controller/control/form/form-tab-panel.js +5 -0
- package/out/controller/control/form/form.d.ts +12 -17
- package/out/controller/control/form/form.d.ts.map +1 -1
- package/out/controller/control/form/form.js +17 -21
- package/out/controller/control/form/search-form.d.ts +2 -0
- package/out/controller/control/form/search-form.d.ts.map +1 -1
- package/out/controller/control/form/search-form.js +7 -2
- package/out/controller/control/grid/grid.d.ts +15 -0
- package/out/controller/control/grid/grid.d.ts.map +1 -1
- package/out/controller/control/grid/grid.js +33 -13
- package/out/controller/control/md.d.ts +46 -0
- package/out/controller/control/md.d.ts.map +1 -1
- package/out/controller/control/md.js +109 -19
- package/out/controller/control/tree.d.ts +20 -9
- package/out/controller/control/tree.d.ts.map +1 -1
- package/out/controller/control/tree.js +52 -14
- package/out/controller/control/view-panel.d.ts.map +1 -1
- package/out/controller/control/view-panel.js +0 -4
- package/out/controller/editor/editor.d.ts +1 -1
- package/out/controller/editor/picker.d.ts +13 -2
- package/out/controller/editor/picker.d.ts.map +1 -1
- package/out/controller/editor/picker.js +24 -11
- package/out/controller/editor/upload.js +2 -2
- package/out/controller/index.d.ts +2 -1
- package/out/controller/index.d.ts.map +1 -1
- package/out/controller/index.js +2 -1
- package/out/controller/interface/ability/view/i-dashboard-view-ability.d.ts +12 -0
- package/out/controller/interface/ability/view/i-dashboard-view-ability.d.ts.map +1 -0
- package/out/{service/vo/tree-node-data.js → controller/interface/ability/view/i-dashboard-view-ability.js} +0 -0
- package/out/controller/interface/ability/view/i-grid-exp-view-ability.d.ts +27 -0
- package/out/controller/interface/ability/view/i-grid-exp-view-ability.d.ts.map +1 -0
- package/out/controller/interface/ability/view/i-grid-exp-view-ability.js +1 -0
- package/out/controller/interface/ability/view/i-tree-exp-view-ability.d.ts +3 -3
- package/out/controller/interface/ability/view/i-tree-exp-view-ability.d.ts.map +1 -1
- package/out/controller/interface/ability/view/index.d.ts +2 -0
- package/out/controller/interface/ability/view/index.d.ts.map +1 -1
- package/out/controller/interface/ability/view/index.js +2 -0
- package/out/controller/interface/event/view/i-dashboard-view-event.d.ts +12 -0
- package/out/controller/interface/event/view/i-dashboard-view-event.d.ts.map +1 -0
- package/out/controller/interface/event/view/i-dashboard-view-event.js +1 -0
- package/out/controller/interface/event/view/i-grid-exp-view-event.d.ts +10 -0
- package/out/controller/interface/event/view/i-grid-exp-view-event.d.ts.map +1 -0
- package/out/controller/interface/event/view/i-grid-exp-view-event.js +1 -0
- package/out/controller/interface/event/view/i-tree-exp-view-event.d.ts +3 -3
- package/out/controller/interface/event/view/i-tree-exp-view-event.d.ts.map +1 -1
- package/out/controller/interface/event/view/index.d.ts +2 -0
- package/out/controller/interface/event/view/index.d.ts.map +1 -1
- package/out/controller/interface/event/view/index.js +2 -0
- package/out/controller/neuron/nerve/view/dashboard-view-nerve.d.ts +19 -0
- package/out/controller/neuron/nerve/view/dashboard-view-nerve.d.ts.map +1 -0
- package/out/controller/neuron/nerve/view/dashboard-view-nerve.js +28 -0
- package/out/controller/neuron/nerve/view/grid-exp-view-nerve.d.ts +28 -0
- package/out/controller/neuron/nerve/view/grid-exp-view-nerve.d.ts.map +1 -0
- package/out/controller/neuron/nerve/view/grid-exp-view-nerve.js +48 -0
- package/out/controller/neuron/nerve/view/index.d.ts +2 -0
- package/out/controller/neuron/nerve/view/index.d.ts.map +1 -1
- package/out/controller/neuron/nerve/view/index.js +2 -0
- package/out/controller/neuron/nerve/view/tree-exp-view-nerve.d.ts +2 -2
- package/out/controller/neuron/nerve/view/tree-exp-view-nerve.d.ts.map +1 -1
- package/out/controller/neuron/nerve/view/tree-exp-view-nerve.js +7 -2
- package/out/controller/neuron/neuron/view.d.ts +6 -2
- package/out/controller/neuron/neuron/view.d.ts.map +1 -1
- package/out/controller/neuron/neuron/view.js +4 -0
- package/out/controller/register/view-register.d.ts.map +1 -1
- package/out/controller/register/view-register.js +5 -4
- package/out/controller/state/control/app-menu-state.d.ts +24 -0
- package/out/controller/state/control/app-menu-state.d.ts.map +1 -0
- package/out/controller/state/control/app-menu-state.js +21 -0
- package/out/controller/state/control/control-state.d.ts +17 -0
- package/out/controller/state/control/control-state.d.ts.map +1 -0
- package/out/controller/state/control/control-state.js +18 -0
- package/out/controller/state/control/form/edit-form-state.d.ts +13 -0
- package/out/controller/state/control/form/edit-form-state.d.ts.map +1 -0
- package/out/controller/state/control/form/edit-form-state.js +12 -0
- package/out/controller/state/control/form/form-detail/form-button-state.d.ts +12 -0
- package/out/controller/state/control/form/form-detail/form-button-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-button-state.js +13 -0
- package/out/controller/state/control/form/form-detail/form-container-state.d.ts +15 -0
- package/out/controller/state/control/form/form-detail/form-container-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-container-state.js +16 -0
- package/out/controller/state/control/form/form-detail/form-detail-state.d.ts +43 -0
- package/out/controller/state/control/form/form-detail/form-detail-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-detail-state.js +56 -0
- package/out/controller/state/control/form/form-detail/form-druipart-state.d.ts +36 -0
- package/out/controller/state/control/form/form-detail/form-druipart-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-druipart-state.js +13 -0
- package/out/controller/state/control/form/form-detail/form-group-panel-state.d.ts +13 -0
- package/out/controller/state/control/form/form-detail/form-group-panel-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-group-panel-state.js +12 -0
- package/out/controller/state/control/form/form-detail/form-item-state.d.ts +36 -0
- package/out/controller/state/control/form/form-detail/form-item-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-item-state.js +44 -0
- package/out/controller/state/control/form/form-detail/form-page-state.d.ts +22 -0
- package/out/controller/state/control/form/form-detail/form-page-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-page-state.js +23 -0
- package/out/controller/state/control/form/form-detail/form-raw-item-state.d.ts +12 -0
- package/out/controller/state/control/form/form-detail/form-raw-item-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-raw-item-state.js +13 -0
- package/out/controller/state/control/form/form-detail/form-tab-page-state.d.ts +12 -0
- package/out/controller/state/control/form/form-detail/form-tab-page-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-tab-page-state.js +13 -0
- package/out/controller/state/control/form/form-detail/form-tab-panel-state.d.ts +12 -0
- package/out/controller/state/control/form/form-detail/form-tab-panel-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-detail/form-tab-panel-state.js +13 -0
- package/out/controller/state/control/form/form-state.d.ts +30 -0
- package/out/controller/state/control/form/form-state.d.ts.map +1 -0
- package/out/controller/state/control/form/form-state.js +32 -0
- package/out/controller/state/control/form/search-form-state.d.ts +13 -0
- package/out/controller/state/control/form/search-form-state.d.ts.map +1 -0
- package/out/controller/state/control/form/search-form-state.js +12 -0
- package/out/controller/state/control/grid-state.d.ts +20 -0
- package/out/controller/state/control/grid-state.d.ts.map +1 -0
- package/out/controller/state/control/grid-state.js +21 -0
- package/out/controller/state/control/index.d.ts +19 -0
- package/out/controller/state/control/index.d.ts.map +1 -0
- package/out/controller/state/control/index.js +21 -0
- package/out/controller/state/control/md-state.d.ts +51 -0
- package/out/controller/state/control/md-state.d.ts.map +1 -0
- package/out/controller/state/control/md-state.js +52 -0
- package/out/controller/state/control/tree-state.d.ts +26 -0
- package/out/controller/state/control/tree-state.d.ts.map +1 -0
- package/out/controller/state/control/tree-state.js +30 -0
- package/out/controller/state/index.d.ts +3 -0
- package/out/controller/state/index.d.ts.map +1 -0
- package/out/controller/state/index.js +2 -0
- package/out/controller/state/view/edit-view-state.d.ts +13 -0
- package/out/controller/state/view/edit-view-state.d.ts.map +1 -0
- package/out/controller/state/view/edit-view-state.js +12 -0
- package/out/controller/state/view/edit-view3-state.d.ts +10 -0
- package/out/controller/state/view/edit-view3-state.d.ts.map +1 -0
- package/out/controller/state/view/edit-view3-state.js +9 -0
- package/out/controller/state/view/grid-exp-view-state.d.ts +17 -0
- package/out/controller/state/view/grid-exp-view-state.d.ts.map +1 -0
- package/out/controller/state/view/grid-exp-view-state.js +19 -0
- package/out/controller/state/view/grid-view-state.d.ts +11 -0
- package/out/controller/state/view/grid-view-state.d.ts.map +1 -0
- package/out/controller/state/view/grid-view-state.js +10 -0
- package/out/controller/state/view/index-view-state.d.ts +18 -0
- package/out/controller/state/view/index-view-state.d.ts.map +1 -0
- package/out/controller/state/view/index-view-state.js +20 -0
- package/out/controller/state/view/index.d.ts +10 -0
- package/out/controller/state/view/index.d.ts.map +1 -0
- package/out/controller/state/view/index.js +9 -0
- package/out/controller/state/view/md-view-state.d.ts +28 -0
- package/out/controller/state/view/md-view-state.d.ts.map +1 -0
- package/out/controller/state/view/md-view-state.js +30 -0
- package/out/controller/state/view/mpickup-view-state.d.ts +27 -0
- package/out/controller/state/view/mpickup-view-state.d.ts.map +1 -0
- package/out/controller/state/view/mpickup-view-state.js +29 -0
- package/out/controller/state/view/pickup-view-state.d.ts +11 -0
- package/out/controller/state/view/pickup-view-state.d.ts.map +1 -0
- package/out/controller/state/view/pickup-view-state.js +10 -0
- package/out/controller/state/view/tree-exp-view-state.d.ts +11 -0
- package/out/controller/state/view/tree-exp-view-state.d.ts.map +1 -0
- package/out/controller/state/view/tree-exp-view-state.js +10 -0
- package/out/controller/state/view/view-state.d.ts +41 -0
- package/out/controller/state/view/view-state.d.ts.map +1 -0
- package/out/controller/state/view/view-state.js +33 -0
- package/out/controller/utils/counter/counter.d.ts +1 -1
- package/out/controller/utils/counter/counter.d.ts.map +1 -1
- package/out/controller/utils/counter/counter.js +7 -2
- package/out/controller/utils/loading/loading-state.d.ts +1 -2
- package/out/controller/utils/loading/loading-state.d.ts.map +1 -1
- package/out/controller/utils/loading/loading-state.js +15 -17
- package/out/controller/view/dashboard-view.d.ts +18 -0
- package/out/controller/view/dashboard-view.d.ts.map +1 -0
- package/out/controller/view/dashboard-view.js +24 -0
- package/out/controller/view/edit-view.d.ts +2 -0
- package/out/controller/view/edit-view.d.ts.map +1 -1
- package/out/controller/view/edit-view.js +9 -5
- package/out/controller/view/edit-view3.d.ts +2 -0
- package/out/controller/view/edit-view3.d.ts.map +1 -1
- package/out/controller/view/edit-view3.js +2 -0
- package/out/controller/view/grid-exp-view.d.ts +60 -0
- package/out/controller/view/grid-exp-view.d.ts.map +1 -0
- package/out/controller/view/grid-exp-view.js +160 -0
- package/out/controller/view/grid-view.d.ts +2 -0
- package/out/controller/view/grid-view.d.ts.map +1 -1
- package/out/controller/view/grid-view.js +5 -0
- package/out/controller/view/index-view.d.ts +4 -1
- package/out/controller/view/index-view.d.ts.map +1 -1
- package/out/controller/view/index-view.js +4 -1
- package/out/controller/view/index.d.ts +2 -0
- package/out/controller/view/index.d.ts.map +1 -1
- package/out/controller/view/index.js +2 -0
- package/out/controller/view/main-view.d.ts.map +1 -1
- package/out/controller/view/main-view.js +3 -3
- package/out/controller/view/md-view.d.ts +5 -0
- package/out/controller/view/md-view.d.ts.map +1 -1
- package/out/controller/view/md-view.js +13 -9
- package/out/controller/view/mpickup-view.d.ts +3 -16
- package/out/controller/view/mpickup-view.d.ts.map +1 -1
- package/out/controller/view/mpickup-view.js +14 -22
- package/out/controller/view/pickup-view.d.ts +2 -0
- package/out/controller/view/pickup-view.d.ts.map +1 -1
- package/out/controller/view/pickup-view.js +5 -0
- package/out/controller/view/tab-exp-view.d.ts.map +1 -1
- package/out/controller/view/tab-exp-view.js +1 -2
- package/out/controller/view/tree-exp-view.d.ts +6 -2
- package/out/controller/view/tree-exp-view.d.ts.map +1 -1
- package/out/controller/view/tree-exp-view.js +53 -8
- package/out/controller/view/view.d.ts +11 -2
- package/out/controller/view/view.d.ts.map +1 -1
- package/out/controller/view/view.js +18 -6
- package/out/controller/view/wf-step-trace-view.d.ts.map +1 -1
- package/out/controller/view/wf-step-trace-view.js +1 -1
- package/out/service/dto/method.dto.d.ts.map +1 -1
- package/out/service/dto/method.dto.js +1 -1
- package/out/service/entity/entity.d.ts.map +1 -1
- package/out/service/entity/entity.js +2 -0
- package/out/service/index.d.ts +1 -2
- package/out/service/index.d.ts.map +1 -1
- package/out/service/index.js +1 -2
- package/out/service/interface/i-tree-node-data/i-tree-node-data.d.ts +66 -0
- package/out/service/interface/i-tree-node-data/i-tree-node-data.d.ts.map +1 -0
- package/out/service/interface/i-tree-node-data/i-tree-node-data.js +1 -0
- package/out/service/interface/index.d.ts +1 -0
- package/out/service/interface/index.d.ts.map +1 -1
- package/out/service/service/widget/control-service.d.ts +1 -1
- package/out/service/service/widget/control-service.d.ts.map +1 -1
- package/out/service/service/widget/control-service.js +2 -2
- package/out/service/service/widget/tree-service.d.ts +22 -14
- package/out/service/service/widget/tree-service.d.ts.map +1 -1
- package/out/service/service/widget/tree-service.js +51 -39
- package/out/service/service-util.d.ts +1 -1
- package/out/service/service-util.d.ts.map +1 -1
- package/out/service/service-util.js +3 -3
- package/out/service/utils/index.d.ts +3 -2
- package/out/service/utils/index.d.ts.map +1 -1
- package/out/service/utils/index.js +3 -2
- package/out/service/utils/route-context/route-context.d.ts +13 -0
- package/out/service/utils/route-context/route-context.d.ts.map +1 -0
- package/out/service/utils/route-context/route-context.js +37 -0
- package/out/service/utils/service-path-util/service-path-util.d.ts +20 -12
- package/out/service/utils/service-path-util/service-path-util.d.ts.map +1 -1
- package/out/service/utils/service-path-util/service-path-util.js +50 -37
- package/out/service/vo/control.vo.d.ts.map +1 -1
- package/out/service/vo/control.vo.js +2 -0
- package/out/service/vo/index.d.ts +3 -0
- package/out/service/vo/index.d.ts.map +1 -0
- package/out/service/vo/index.js +2 -0
- package/out/service/vo/tree-node-data/index.d.ts +3 -0
- package/out/service/vo/tree-node-data/index.d.ts.map +1 -0
- package/out/service/vo/tree-node-data/index.js +2 -0
- package/out/service/vo/tree-node-data/tree-data-set-node-data.d.ts +22 -0
- package/out/service/vo/tree-node-data/tree-data-set-node-data.d.ts.map +1 -0
- package/out/service/vo/tree-node-data/tree-data-set-node-data.js +23 -0
- package/out/service/vo/tree-node-data/tree-node-data.d.ts +36 -0
- package/out/service/vo/tree-node-data/tree-node-data.d.ts.map +1 -0
- package/out/service/vo/tree-node-data/tree-node-data.js +15 -0
- package/out/service/vo/tree-node-data/tree-static-node-data.d.ts +20 -0
- package/out/service/vo/tree-node-data/tree-static-node-data.d.ts.map +1 -0
- package/out/service/vo/tree-node-data/tree-static-node-data.js +22 -0
- package/out/view-logic/view-logic.d.ts.map +1 -1
- package/out/view-logic/view-logic.js +0 -1
- package/package.json +7 -7
- package/src/application.ts +17 -1
- package/src/controller/control/app-menu.ts +5 -1
- package/src/controller/control/control.ts +10 -1
- package/src/controller/control/form/edit-form.ts +6 -3
- package/src/controller/control/form/form-button.ts +7 -0
- package/src/controller/control/form/form-container.ts +8 -1
- package/src/controller/control/form/form-detail.ts +34 -74
- package/src/controller/control/form/form-druipart.ts +12 -36
- package/src/controller/control/form/form-group-panel.ts +8 -1
- package/src/controller/control/form/form-item.ts +16 -45
- package/src/controller/control/form/form-page.ts +5 -9
- package/src/controller/control/form/form-raw-item.ts +8 -1
- package/src/controller/control/form/form-tab-page.ts +8 -1
- package/src/controller/control/form/form-tab-panel.ts +8 -1
- package/src/controller/control/form/form.ts +20 -23
- package/src/controller/control/form/search-form.ts +5 -3
- package/src/controller/control/grid/grid.ts +42 -13
- package/src/controller/control/md.ts +123 -21
- package/src/controller/control/tree.ts +63 -18
- package/src/controller/control/view-panel.ts +0 -4
- package/src/controller/editor/editor.ts +1 -1
- package/src/controller/editor/picker.ts +38 -18
- package/src/controller/editor/upload.ts +2 -2
- package/src/controller/index.ts +2 -1
- package/src/controller/interface/ability/view/i-dashboard-view-ability.ts +12 -0
- package/src/controller/interface/ability/view/i-grid-exp-view-ability.ts +28 -0
- package/src/controller/interface/ability/view/i-tree-exp-view-ability.ts +3 -3
- package/src/controller/interface/ability/view/index.ts +2 -0
- package/src/controller/interface/event/view/i-dashboard-view-event.ts +12 -0
- package/src/controller/interface/event/view/i-grid-exp-view-event.ts +10 -0
- package/src/controller/interface/event/view/i-tree-exp-view-event.ts +3 -3
- package/src/controller/interface/event/view/index.ts +2 -0
- package/src/controller/neuron/nerve/view/dashboard-view-nerve.ts +38 -0
- package/src/controller/neuron/nerve/view/grid-exp-view-nerve.ts +87 -0
- package/src/controller/neuron/nerve/view/index.ts +2 -0
- package/src/controller/neuron/nerve/view/tree-exp-view-nerve.ts +13 -2
- package/src/controller/neuron/neuron/view.ts +12 -0
- package/src/controller/register/view-register.ts +5 -5
- package/src/controller/state/control/app-menu-state.ts +20 -0
- package/src/controller/state/control/control-state.ts +16 -0
- package/src/controller/state/control/form/edit-form-state.ts +12 -0
- package/src/controller/state/control/form/form-detail/form-button-state.ts +13 -0
- package/src/controller/state/control/form/form-detail/form-container-state.ts +16 -0
- package/src/controller/state/control/form/form-detail/form-detail-state.ts +63 -0
- package/src/controller/state/control/form/form-detail/form-druipart-state.ts +40 -0
- package/src/controller/state/control/form/form-detail/form-group-panel-state.ts +12 -0
- package/src/controller/state/control/form/form-detail/form-item-state.ts +48 -0
- package/src/controller/state/control/form/form-detail/form-page-state.ts +24 -0
- package/src/controller/state/control/form/form-detail/form-raw-item-state.ts +13 -0
- package/src/controller/state/control/form/form-detail/form-tab-page-state.ts +13 -0
- package/src/controller/state/control/form/form-detail/form-tab-panel-state.ts +13 -0
- package/src/controller/state/control/form/form-state.ts +31 -0
- package/src/controller/state/control/form/search-form-state.ts +12 -0
- package/src/controller/state/control/grid-state.ts +20 -0
- package/src/controller/state/control/index.ts +22 -0
- package/src/controller/state/control/md-state.ts +57 -0
- package/src/controller/state/control/tree-state.ts +29 -0
- package/src/controller/state/index.ts +2 -0
- package/src/controller/state/view/edit-view-state.ts +12 -0
- package/src/controller/state/view/edit-view3-state.ts +9 -0
- package/src/controller/state/view/grid-exp-view-state.ts +17 -0
- package/src/controller/state/view/grid-view-state.ts +10 -0
- package/src/controller/state/view/index-view-state.ts +18 -0
- package/src/controller/state/view/index.ts +9 -0
- package/src/controller/state/view/md-view-state.ts +30 -0
- package/src/controller/state/view/mpickup-view-state.ts +28 -0
- package/src/controller/state/view/pickup-view-state.ts +10 -0
- package/src/controller/state/view/tree-exp-view-state.ts +10 -0
- package/src/controller/state/view/view-state.ts +44 -0
- package/src/controller/utils/counter/counter.ts +6 -2
- package/src/controller/utils/loading/loading-state.ts +7 -10
- package/src/controller/view/dashboard-view.ts +33 -0
- package/src/controller/view/edit-view.ts +6 -5
- package/src/controller/view/edit-view3.ts +3 -0
- package/src/controller/view/grid-exp-view.ts +191 -0
- package/src/controller/view/grid-view.ts +3 -0
- package/src/controller/view/index-view.ts +5 -1
- package/src/controller/view/index.ts +2 -0
- package/src/controller/view/main-view.ts +2 -3
- package/src/controller/view/md-view.ts +14 -9
- package/src/controller/view/mpickup-view.ts +15 -23
- package/src/controller/view/pickup-view.ts +3 -0
- package/src/controller/view/tab-exp-view.ts +1 -2
- package/src/controller/view/tree-exp-view.ts +74 -8
- package/src/controller/view/view.ts +20 -6
- package/src/controller/view/wf-step-trace-view.ts +1 -4
- package/src/service/dto/method.dto.ts +1 -4
- package/src/service/entity/entity.ts +2 -0
- package/src/service/index.ts +1 -2
- package/src/service/interface/i-tree-node-data/i-tree-node-data.ts +74 -0
- package/src/service/interface/index.ts +1 -0
- package/src/service/service/widget/control-service.ts +1 -2
- package/src/service/service/widget/tree-service.ts +78 -56
- package/src/service/service-util.ts +3 -9
- package/src/service/utils/index.ts +3 -2
- package/src/service/utils/route-context/route-context.ts +42 -0
- package/src/service/utils/service-path-util/service-path-util.ts +34 -26
- package/src/service/vo/control.vo.ts +2 -0
- package/src/service/vo/index.ts +2 -0
- package/src/service/vo/tree-node-data/index.ts +2 -0
- package/src/service/vo/tree-node-data/tree-data-set-node-data.ts +38 -0
- package/src/service/vo/tree-node-data/tree-node-data.ts +46 -0
- package/src/service/vo/tree-node-data/tree-static-node-data.ts +35 -0
- package/src/view-logic/view-logic.ts +0 -1
- package/out/service/vo/tree-node-data.d.ts +0 -44
- package/out/service/vo/tree-node-data.d.ts.map +0 -1
- package/src/service/vo/tree-node-data.ts +0 -49
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GridNeuron,
|
|
3
|
+
Neuron,
|
|
4
|
+
ToolbarNeuron,
|
|
5
|
+
MDViewNerve,
|
|
6
|
+
GridExpViewNeuron,
|
|
7
|
+
} from '../..';
|
|
8
|
+
import { GridExpViewController } from '../../..';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* 表格导航视图神经系统
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @class GridExpViewNerve
|
|
15
|
+
* @extends {MDViewNerve<GridExpViewNeuron, GridExpViewController>}
|
|
16
|
+
*/
|
|
17
|
+
export class GridExpViewNerve extends MDViewNerve<
|
|
18
|
+
GridExpViewNeuron,
|
|
19
|
+
GridExpViewController
|
|
20
|
+
> {
|
|
21
|
+
grid!: GridNeuron;
|
|
22
|
+
|
|
23
|
+
protected createNeuron(): GridExpViewNeuron {
|
|
24
|
+
return new GridExpViewNeuron(this.bindAbility());
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
protected bindAbility() {
|
|
28
|
+
return {
|
|
29
|
+
...super.bindAbility(),
|
|
30
|
+
remove: this.controller.remove.bind(this.controller),
|
|
31
|
+
newRow: this.controller.newRow.bind(this.controller),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
inclusive(name: string): boolean {
|
|
36
|
+
return (
|
|
37
|
+
name === 'gridexpbar_grid' ||
|
|
38
|
+
name === 'gridexpbar_toolbar' ||
|
|
39
|
+
super.inclusive(name)
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
connect(name: string, neuron: Neuron): void {
|
|
44
|
+
super.connect(name, neuron);
|
|
45
|
+
// 连接工具栏神经元,并监听其事件
|
|
46
|
+
if (name === 'gridexpbar_toolbar') {
|
|
47
|
+
this.toolbar = neuron as ToolbarNeuron;
|
|
48
|
+
this.toolbar.evt.on('destroyed', () => {
|
|
49
|
+
this.toolbar = undefined as never;
|
|
50
|
+
});
|
|
51
|
+
this.toolbar.evt.on(
|
|
52
|
+
'itemClick',
|
|
53
|
+
this.controller.onToolbarClick.bind(this.controller),
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
// 连接表格神经元,并监听其事件
|
|
57
|
+
if (name === 'gridexpbar_grid') {
|
|
58
|
+
this.grid = neuron as GridNeuron;
|
|
59
|
+
this.grid.evt.on('destroyed', () => {
|
|
60
|
+
this.grid = undefined as never;
|
|
61
|
+
});
|
|
62
|
+
this.grid.evt.on(
|
|
63
|
+
'dataActive',
|
|
64
|
+
this.controller.onDataActive.bind(this.controller),
|
|
65
|
+
);
|
|
66
|
+
this.grid.evt.on(
|
|
67
|
+
'selectionChange',
|
|
68
|
+
this.controller.onSelectionChange.bind(this.controller),
|
|
69
|
+
);
|
|
70
|
+
this.grid.evt.on(
|
|
71
|
+
'actionClick',
|
|
72
|
+
this.controller.executeViewLogic.bind(this.controller),
|
|
73
|
+
);
|
|
74
|
+
this.grid.evt.on('afterSave', (...args) =>
|
|
75
|
+
this.controller.onAfterSave(...args, name),
|
|
76
|
+
);
|
|
77
|
+
this.grid.evt.on('afterRemove', (...args) =>
|
|
78
|
+
this.controller.onAfterRemove(...args, name),
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
destroy(): void {
|
|
84
|
+
super.destroy();
|
|
85
|
+
this.grid = undefined as never;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TreeExpViewNeuron, TreeNeuron, Neuron, MDViewNerve } from '../..';
|
|
2
2
|
import { TreeExpViewController } from '../../..';
|
|
3
|
+
import { ITreeNodeData } from '../../../../service';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* 树导航视图神经系统
|
|
@@ -10,7 +11,7 @@ import { TreeExpViewController } from '../../..';
|
|
|
10
11
|
* @class TreeExpViewNerve
|
|
11
12
|
* @extends {ViewNerve<TreeExpViewNeuron, TreeExpViewController>}
|
|
12
13
|
*/
|
|
13
|
-
export class TreeExpViewNerve extends
|
|
14
|
+
export class TreeExpViewNerve extends MDViewNerve<
|
|
14
15
|
TreeExpViewNeuron,
|
|
15
16
|
TreeExpViewController
|
|
16
17
|
> {
|
|
@@ -28,6 +29,16 @@ export class TreeExpViewNerve extends ViewNerve<
|
|
|
28
29
|
super.connect(name, neuron);
|
|
29
30
|
if (name === 'tree') {
|
|
30
31
|
this.tree = neuron as TreeNeuron;
|
|
32
|
+
this.tree.evt.on('destroyed', () => {
|
|
33
|
+
this.tree = undefined as never;
|
|
34
|
+
});
|
|
35
|
+
this.tree.evt.on(
|
|
36
|
+
'beforeLoad',
|
|
37
|
+
this.controller.onBeforeLoad.bind(this.controller),
|
|
38
|
+
);
|
|
39
|
+
this.tree.evt.on('dataActive', (data: IData) =>
|
|
40
|
+
this.controller.onDataActive(data as ITreeNodeData),
|
|
41
|
+
);
|
|
31
42
|
}
|
|
32
43
|
}
|
|
33
44
|
|
|
@@ -19,6 +19,8 @@ import {
|
|
|
19
19
|
IWFDynaStartViewAbility,
|
|
20
20
|
IWFEditViewAbility,
|
|
21
21
|
IWFViewAbility,
|
|
22
|
+
IGridExpViewAbility,
|
|
23
|
+
IDashboardViewAbility,
|
|
22
24
|
} from '../../interface/ability';
|
|
23
25
|
import {
|
|
24
26
|
IEditView3Event,
|
|
@@ -38,6 +40,8 @@ import {
|
|
|
38
40
|
IWFDynaStartViewEvent,
|
|
39
41
|
IWFEditViewEvent,
|
|
40
42
|
IWFViewEvent,
|
|
43
|
+
IGridExpViewEvent,
|
|
44
|
+
IDashboardViewEvent,
|
|
41
45
|
} from '../../interface/event';
|
|
42
46
|
import { IAppPortalViewEvent } from '../../interface/event/view/i-app-portal-view-event';
|
|
43
47
|
|
|
@@ -105,3 +109,11 @@ export class TabExpViewNeuron extends Neuron<
|
|
|
105
109
|
ITabExpViewEvent,
|
|
106
110
|
ITabExpViewAbility
|
|
107
111
|
> {}
|
|
112
|
+
export class GridExpViewNeuron extends Neuron<
|
|
113
|
+
IGridExpViewEvent,
|
|
114
|
+
IGridExpViewAbility
|
|
115
|
+
> {}
|
|
116
|
+
export class DashboardViewNeuron extends Neuron<
|
|
117
|
+
IDashboardViewEvent,
|
|
118
|
+
IDashboardViewAbility
|
|
119
|
+
> {}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IPSAppView } from '@ibiz-template/model';
|
|
1
|
+
import { IPSAppView, UnsupportedModelError } from '@ibiz-template/model';
|
|
3
2
|
import { RegisterBase } from '../../register';
|
|
4
3
|
import { IViewRegister, IViewProvider } from '../interface';
|
|
5
4
|
|
|
@@ -30,7 +29,7 @@ export class ViewRegister
|
|
|
30
29
|
if (this.providers.has(key)) {
|
|
31
30
|
return this.providers.get(key)!;
|
|
32
31
|
}
|
|
33
|
-
ibiz.log.error(
|
|
32
|
+
ibiz.log.error(`找不到插件标识[${key}]对应的适配器`, model);
|
|
34
33
|
}
|
|
35
34
|
// 再找视图类型和视图样式
|
|
36
35
|
const { viewType, viewStyle } = model;
|
|
@@ -40,7 +39,7 @@ export class ViewRegister
|
|
|
40
39
|
return this.providers.get(key)!;
|
|
41
40
|
}
|
|
42
41
|
ibiz.log.error(
|
|
43
|
-
|
|
42
|
+
`找不到视图类型:[${viewType}]的视图样式:[${viewStyle}]对应的适配器`,
|
|
44
43
|
model,
|
|
45
44
|
);
|
|
46
45
|
}
|
|
@@ -48,6 +47,7 @@ export class ViewRegister
|
|
|
48
47
|
if (this.providers.has(viewType)) {
|
|
49
48
|
return this.providers.get(viewType)!;
|
|
50
49
|
}
|
|
51
|
-
|
|
50
|
+
ibiz.log.error(`找不到视图类型[${viewType}]对应的适配器`, model);
|
|
51
|
+
throw new UnsupportedModelError(model, `暂未实现`);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ControlState } from './control-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 应用菜单部件UI状态
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @class AppMenuState
|
|
8
|
+
* @extends {ControlState}
|
|
9
|
+
*/
|
|
10
|
+
export class AppMenuState extends ControlState {
|
|
11
|
+
/**
|
|
12
|
+
* 菜单项状态
|
|
13
|
+
*
|
|
14
|
+
* @author lxm
|
|
15
|
+
* @date 2022-10-12 20:10:51
|
|
16
|
+
* @type {{ [p: string]: { visible: boolean; permitted: boolean } }}
|
|
17
|
+
*/
|
|
18
|
+
menuItemsState: { [p: string]: { visible: boolean; permitted: boolean } } =
|
|
19
|
+
{};
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormDetailState } from './form-detail-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单按钮状态
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @author: zhujiamin
|
|
7
|
+
* @Date: 2023-01-04 10:26:34
|
|
8
|
+
*/
|
|
9
|
+
export class FormButtonState extends FormDetailState {
|
|
10
|
+
constructor(protected parent?: FormDetailState) {
|
|
11
|
+
super(parent);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormDetailState } from './form-detail-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单容器状态
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2023-01-04 09:01:39
|
|
8
|
+
* @export
|
|
9
|
+
* @class FormContainerState
|
|
10
|
+
* @extends {FormDetailState}
|
|
11
|
+
*/
|
|
12
|
+
export class FormContainerState extends FormDetailState {
|
|
13
|
+
constructor(protected parent?: FormDetailState) {
|
|
14
|
+
super(parent);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ILayoutController } from '../../../../interface';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单项状态
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2023-01-04 09:01:02
|
|
8
|
+
* @export
|
|
9
|
+
* @class FormDetailState
|
|
10
|
+
*/
|
|
11
|
+
export class FormDetailState {
|
|
12
|
+
$visible: boolean = true;
|
|
13
|
+
|
|
14
|
+
set visible(val: boolean) {
|
|
15
|
+
this.$visible = val;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
get visible(): boolean {
|
|
19
|
+
return !!this.parent?.visible && this.$visible;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 是否必填
|
|
24
|
+
*
|
|
25
|
+
* @author chitanda
|
|
26
|
+
* @date 2023-01-04 10:01:27
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
*/
|
|
29
|
+
required: boolean = false;
|
|
30
|
+
|
|
31
|
+
$disabled: boolean = false;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* 是否禁用
|
|
35
|
+
*
|
|
36
|
+
* @author lxm
|
|
37
|
+
* @date 2022-09-01 21:09:44
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
*/
|
|
40
|
+
get disabled() {
|
|
41
|
+
return this.$disabled;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
set disabled(val: boolean) {
|
|
45
|
+
this.$disabled = val;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 布局
|
|
50
|
+
*
|
|
51
|
+
* @author chitanda
|
|
52
|
+
* @date 2023-01-04 10:01:15
|
|
53
|
+
* @type {ILayoutController}
|
|
54
|
+
*/
|
|
55
|
+
layoutController: ILayoutController = {
|
|
56
|
+
width: '100%',
|
|
57
|
+
height: '100%',
|
|
58
|
+
extraStyle: {},
|
|
59
|
+
extraClass: '',
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
constructor(protected parent?: FormDetailState) {}
|
|
63
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { FormDetailState } from './form-detail-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单关系界面状态
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @author: zhujiamin
|
|
7
|
+
* @Date: 2023-01-04 10:26:34
|
|
8
|
+
*/
|
|
9
|
+
export class FormDruipartState extends FormDetailState {
|
|
10
|
+
constructor(protected parent?: FormDetailState) {
|
|
11
|
+
super(parent);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* 关系界面组件绑的key,用来触发强制刷新
|
|
16
|
+
*
|
|
17
|
+
* @author lxm
|
|
18
|
+
* @date 2022-09-15 20:09:21
|
|
19
|
+
* @type {string}
|
|
20
|
+
*/
|
|
21
|
+
viewComponentKey?: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* 关系界面的上下文
|
|
25
|
+
*
|
|
26
|
+
* @author lxm
|
|
27
|
+
* @date 2022-09-14 18:09:32
|
|
28
|
+
* @type {IContext}
|
|
29
|
+
*/
|
|
30
|
+
context!: IContext;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 关系界面的视图参数
|
|
34
|
+
*
|
|
35
|
+
* @author lxm
|
|
36
|
+
* @date 2022-09-14 18:09:42
|
|
37
|
+
* @type {IParams}
|
|
38
|
+
*/
|
|
39
|
+
params!: IParams;
|
|
40
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FormContainerState } from './form-container-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单分组状态
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2023-01-04 10:01:28
|
|
8
|
+
* @export
|
|
9
|
+
* @class FormGroupPanelState
|
|
10
|
+
* @extends {FormContainerState}
|
|
11
|
+
*/
|
|
12
|
+
export class FormGroupPanelState extends FormContainerState {}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { FormDetailState } from './form-detail-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单项状态
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @author: zhujiamin
|
|
7
|
+
* @Date: 2023-01-04 10:26:34
|
|
8
|
+
*/
|
|
9
|
+
export class FormItemState extends FormDetailState {
|
|
10
|
+
constructor(protected parent?: FormDetailState) {
|
|
11
|
+
super(parent);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* 值规则校验错误信息
|
|
16
|
+
*
|
|
17
|
+
* @author lxm
|
|
18
|
+
* @date 2022-09-01 22:09:02
|
|
19
|
+
* @type {string}
|
|
20
|
+
*/
|
|
21
|
+
error: string | null = null;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* 启用条件的禁用状态
|
|
25
|
+
*
|
|
26
|
+
* @author lxm
|
|
27
|
+
* @date 2022-09-19 16:09:18
|
|
28
|
+
*/
|
|
29
|
+
enableCondDisabled = false;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 是否禁用
|
|
33
|
+
*
|
|
34
|
+
* @author lxm
|
|
35
|
+
* @date 2022-09-01 21:09:44
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
*/
|
|
38
|
+
get disabled() {
|
|
39
|
+
if (this.enableCondDisabled) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
return this.$disabled;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
set disabled(val) {
|
|
46
|
+
this.$disabled = val;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FormContainerState } from './form-container-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单分页状态
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2023-01-04 09:01:57
|
|
8
|
+
* @export
|
|
9
|
+
* @class FormPageState
|
|
10
|
+
* @extends {FormContainerState}
|
|
11
|
+
*/
|
|
12
|
+
export class FormPageState extends FormContainerState {
|
|
13
|
+
/**
|
|
14
|
+
* 表单分页只看自身
|
|
15
|
+
*
|
|
16
|
+
* @author chitanda
|
|
17
|
+
* @date 2023-01-04 10:01:20
|
|
18
|
+
* @readonly
|
|
19
|
+
* @type {boolean}
|
|
20
|
+
*/
|
|
21
|
+
get visible(): boolean {
|
|
22
|
+
return this.$visible;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormDetailState } from './form-detail-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单直接内容状态
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @author: zhujiamin
|
|
7
|
+
* @Date: 2023-01-04 10:26:34
|
|
8
|
+
*/
|
|
9
|
+
export class FormRawItemState extends FormDetailState {
|
|
10
|
+
constructor(protected parent?: FormDetailState) {
|
|
11
|
+
super(parent);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormContainerState } from './form-container-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单分页面板状态
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @author: zhujiamin
|
|
7
|
+
* @Date: 2023-01-04 10:26:34
|
|
8
|
+
*/
|
|
9
|
+
export class FormTabPageState extends FormContainerState {
|
|
10
|
+
constructor(protected parent?: FormContainerState) {
|
|
11
|
+
super(parent);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormDetailState } from './form-detail-state';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单分页部件状态
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @author: zhujiamin
|
|
7
|
+
* @Date: 2023-01-04 10:26:34
|
|
8
|
+
*/
|
|
9
|
+
export class FormTabPanelState extends FormDetailState {
|
|
10
|
+
constructor(protected parent?: FormDetailState) {
|
|
11
|
+
super(parent);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ControlVO } from '../../../../service';
|
|
2
|
+
import { ControlState } from '../control-state';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 表单状态
|
|
6
|
+
*
|
|
7
|
+
* @author chitanda
|
|
8
|
+
* @date 2023-01-03 16:01:05
|
|
9
|
+
* @export
|
|
10
|
+
* @class FormState
|
|
11
|
+
* @extends {ControlState}
|
|
12
|
+
*/
|
|
13
|
+
export class FormState extends ControlState {
|
|
14
|
+
/**
|
|
15
|
+
* 是否加载完数据
|
|
16
|
+
*
|
|
17
|
+
* @author lxm
|
|
18
|
+
* @date 2022-10-24 19:10:04
|
|
19
|
+
* @type {boolean}
|
|
20
|
+
*/
|
|
21
|
+
isLoaded: boolean = false;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* 表单数据
|
|
25
|
+
*
|
|
26
|
+
* @author lxm
|
|
27
|
+
* @date 2022-08-22 22:08:19
|
|
28
|
+
* @type {ControlVO}
|
|
29
|
+
*/
|
|
30
|
+
data: ControlVO = new ControlVO();
|
|
31
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GridRowController } from '../../control';
|
|
2
|
+
import { MDState } from './md-state';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 表格部件UI状态
|
|
6
|
+
*
|
|
7
|
+
* @export
|
|
8
|
+
* @class GridState
|
|
9
|
+
* @extends {MDState}
|
|
10
|
+
*/
|
|
11
|
+
export class GridState extends MDState {
|
|
12
|
+
/**
|
|
13
|
+
* 表格行控制器
|
|
14
|
+
*
|
|
15
|
+
* @author lxm
|
|
16
|
+
* @date 2022-09-05 19:09:12
|
|
17
|
+
* @type {GridRowController[]}
|
|
18
|
+
*/
|
|
19
|
+
rows: GridRowController[] = [];
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// 表单
|
|
2
|
+
export { EditFormState } from './form/edit-form-state';
|
|
3
|
+
export { FormState } from './form/form-state';
|
|
4
|
+
export { SearchFormState } from './form/search-form-state';
|
|
5
|
+
// 表单项
|
|
6
|
+
export { FormContainerState } from './form/form-detail/form-container-state';
|
|
7
|
+
export { FormDetailState } from './form/form-detail/form-detail-state';
|
|
8
|
+
export { FormGroupPanelState } from './form/form-detail/form-group-panel-state';
|
|
9
|
+
export { FormPageState } from './form/form-detail/form-page-state';
|
|
10
|
+
export { FormButtonState } from './form/form-detail/form-button-state';
|
|
11
|
+
export { FormDruipartState } from './form/form-detail/form-druipart-state';
|
|
12
|
+
export { FormItemState } from './form/form-detail/form-item-state';
|
|
13
|
+
export { FormRawItemState } from './form/form-detail/form-raw-item-state';
|
|
14
|
+
export { FormTabPageState } from './form/form-detail/form-tab-page-state';
|
|
15
|
+
export { FormTabPanelState } from './form/form-detail/form-tab-panel-state';
|
|
16
|
+
|
|
17
|
+
// 其他部件
|
|
18
|
+
export { AppMenuState } from './app-menu-state';
|
|
19
|
+
export { ControlState } from './control-state';
|
|
20
|
+
export { MDState } from './md-state';
|
|
21
|
+
export { GridState } from './grid-state';
|
|
22
|
+
export { TreeState } from './tree-state';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ControlVO } from '../../../service';
|
|
2
|
+
import { ControlState } from './control-state';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 多数据部件UI状态
|
|
6
|
+
*
|
|
7
|
+
* @export
|
|
8
|
+
* @class MDState
|
|
9
|
+
* @extends {ControlState}
|
|
10
|
+
*/
|
|
11
|
+
export class MDState extends ControlState {
|
|
12
|
+
/**
|
|
13
|
+
* 多数据部件数据集合
|
|
14
|
+
* @author lxm
|
|
15
|
+
* @date 2022-08-17 19:08:11
|
|
16
|
+
* @type {ControlVO[]}
|
|
17
|
+
*/
|
|
18
|
+
items: ControlVO[] = [];
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 多数据部件已选中的数据集合
|
|
22
|
+
*
|
|
23
|
+
* @author lxm
|
|
24
|
+
* @date 2022-08-18 22:08:14
|
|
25
|
+
* @type {IData[]}
|
|
26
|
+
*/
|
|
27
|
+
selectedData: IData[] = [];
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* 是否是单项选择
|
|
31
|
+
*
|
|
32
|
+
* @author lxm
|
|
33
|
+
* @date 2022-08-19 10:08:29
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
*/
|
|
36
|
+
singleSelect: boolean = true;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* 当前页
|
|
40
|
+
*/
|
|
41
|
+
curPage: number = 1;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 分页条数
|
|
45
|
+
*/
|
|
46
|
+
size: number = 20;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 总条数
|
|
50
|
+
*/
|
|
51
|
+
total: number = 0;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* 是否加载过数据
|
|
55
|
+
*/
|
|
56
|
+
hasLoaded: boolean = false;
|
|
57
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ITreeNodeData } from '../../../service';
|
|
2
|
+
import { MDState } from './md-state';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 树部件UI状态
|
|
6
|
+
*
|
|
7
|
+
* @export
|
|
8
|
+
* @class GridState
|
|
9
|
+
* @extends {MDState}
|
|
10
|
+
*/
|
|
11
|
+
export class TreeState extends MDState {
|
|
12
|
+
/**
|
|
13
|
+
* 树节点集合
|
|
14
|
+
*
|
|
15
|
+
* @type {ITreeNodeData[]}
|
|
16
|
+
* @memberof TreeController
|
|
17
|
+
*/
|
|
18
|
+
get treeNodes(): ITreeNodeData[] {
|
|
19
|
+
return this.rootNode?.children || [];
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 树的根节点
|
|
24
|
+
*
|
|
25
|
+
* @type {ITreeNodeData}
|
|
26
|
+
* @memberof TreeState
|
|
27
|
+
*/
|
|
28
|
+
rootNode: ITreeNodeData | null = null;
|
|
29
|
+
}
|