@ibiz-template/runtime 0.0.3-beta.1 → 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 +5 -5
- 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,9 @@
|
|
|
1
|
+
export { EditViewState } from './edit-view-state';
|
|
2
|
+
export { ViewState } from './view-state';
|
|
3
|
+
export { MDViewState } from './md-view-state';
|
|
4
|
+
export { GridViewState } from './grid-view-state';
|
|
5
|
+
export { EditView3State } from './edit-view3-state';
|
|
6
|
+
export { PickupViewState } from './pickup-view-state';
|
|
7
|
+
export { MPickupViewState } from './mpickup-view-state';
|
|
8
|
+
export { GridExpViewState } from './grid-exp-view-state';
|
|
9
|
+
export { TreeExpViewState } from './tree-exp-view-state';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ViewState } from './view-state';
|
|
2
|
+
export declare class MDViewState extends ViewState {
|
|
3
|
+
/**
|
|
4
|
+
* 是否显示搜索表单
|
|
5
|
+
*
|
|
6
|
+
* @author lxm
|
|
7
|
+
* @date 2022-08-28 20:08:10
|
|
8
|
+
* @type {boolean}
|
|
9
|
+
*/
|
|
10
|
+
showSearchForm: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* 快速搜索字符串
|
|
13
|
+
*
|
|
14
|
+
* @author lxm
|
|
15
|
+
* @date 2022-08-31 11:08:45
|
|
16
|
+
* @type {string}
|
|
17
|
+
*/
|
|
18
|
+
query: string;
|
|
19
|
+
/**
|
|
20
|
+
* 选中的数据
|
|
21
|
+
*
|
|
22
|
+
* @author lxm
|
|
23
|
+
* @date 2022-08-28 18:08:34
|
|
24
|
+
* @type {IData[]}
|
|
25
|
+
*/
|
|
26
|
+
selectedData: IData[];
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=md-view-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"md-view-state.d.ts","sourceRoot":"","sources":["../../../../src/controller/state/view/md-view-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,qBAAa,WAAY,SAAQ,SAAS;IACxC;;;;;;OAMG;IACH,cAAc,EAAE,OAAO,CAAS;IAEhC;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAM;IAEnB;;;;;;OAMG;IACH,YAAY,EAAE,KAAK,EAAE,CAAM;CAC5B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ViewState } from './view-state';
|
|
2
|
+
export class MDViewState extends ViewState {
|
|
3
|
+
constructor() {
|
|
4
|
+
super(...arguments);
|
|
5
|
+
/**
|
|
6
|
+
* 是否显示搜索表单
|
|
7
|
+
*
|
|
8
|
+
* @author lxm
|
|
9
|
+
* @date 2022-08-28 20:08:10
|
|
10
|
+
* @type {boolean}
|
|
11
|
+
*/
|
|
12
|
+
this.showSearchForm = false;
|
|
13
|
+
/**
|
|
14
|
+
* 快速搜索字符串
|
|
15
|
+
*
|
|
16
|
+
* @author lxm
|
|
17
|
+
* @date 2022-08-31 11:08:45
|
|
18
|
+
* @type {string}
|
|
19
|
+
*/
|
|
20
|
+
this.query = '';
|
|
21
|
+
/**
|
|
22
|
+
* 选中的数据
|
|
23
|
+
*
|
|
24
|
+
* @author lxm
|
|
25
|
+
* @date 2022-08-28 18:08:34
|
|
26
|
+
* @type {IData[]}
|
|
27
|
+
*/
|
|
28
|
+
this.selectedData = [];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PickupViewState } from './pickup-view-state';
|
|
2
|
+
/**
|
|
3
|
+
* 多项选择视图状态
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @class MPickupViewState
|
|
7
|
+
* @extends {ViewState}
|
|
8
|
+
*/
|
|
9
|
+
export declare class MPickupViewState extends PickupViewState {
|
|
10
|
+
/**
|
|
11
|
+
* 嵌入选择类视图选中的数据集合
|
|
12
|
+
*
|
|
13
|
+
* @author lxm
|
|
14
|
+
* @date 2022-09-12 16:09:57
|
|
15
|
+
* @type {IData[]}
|
|
16
|
+
*/
|
|
17
|
+
embedSelection: IData[];
|
|
18
|
+
/**
|
|
19
|
+
* 多项数据选择视图最终选中的数据集合
|
|
20
|
+
*
|
|
21
|
+
* @author lxm
|
|
22
|
+
* @date 2022-09-12 16:09:57
|
|
23
|
+
* @type {IData[]}
|
|
24
|
+
*/
|
|
25
|
+
selfSelection: IData[];
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=mpickup-view-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mpickup-view-state.d.ts","sourceRoot":"","sources":["../../../../src/controller/state/view/mpickup-view-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;;;;;GAMG;AACH,qBAAa,gBAAiB,SAAQ,eAAe;IACnD;;;;;;OAMG;IACH,cAAc,EAAE,KAAK,EAAE,CAAM;IAE7B;;;;;;OAMG;IACH,aAAa,EAAE,KAAK,EAAE,CAAM;CAC7B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PickupViewState } from './pickup-view-state';
|
|
2
|
+
/**
|
|
3
|
+
* 多项选择视图状态
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @class MPickupViewState
|
|
7
|
+
* @extends {ViewState}
|
|
8
|
+
*/
|
|
9
|
+
export class MPickupViewState extends PickupViewState {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
/**
|
|
13
|
+
* 嵌入选择类视图选中的数据集合
|
|
14
|
+
*
|
|
15
|
+
* @author lxm
|
|
16
|
+
* @date 2022-09-12 16:09:57
|
|
17
|
+
* @type {IData[]}
|
|
18
|
+
*/
|
|
19
|
+
this.embedSelection = [];
|
|
20
|
+
/**
|
|
21
|
+
* 多项数据选择视图最终选中的数据集合
|
|
22
|
+
*
|
|
23
|
+
* @author lxm
|
|
24
|
+
* @date 2022-09-12 16:09:57
|
|
25
|
+
* @type {IData[]}
|
|
26
|
+
*/
|
|
27
|
+
this.selfSelection = [];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pickup-view-state.d.ts","sourceRoot":"","sources":["../../../../src/controller/state/view/pickup-view-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;;;;;GAMG;AACH,qBAAa,eAAgB,SAAQ,SAAS;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-exp-view-state.d.ts","sourceRoot":"","sources":["../../../../src/controller/state/view/tree-exp-view-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C;;;;;;GAMG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IButtonContainerState } from '../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 视图UI状态对象
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @class ViewState
|
|
7
|
+
*/
|
|
8
|
+
export declare class ViewState {
|
|
9
|
+
/**
|
|
10
|
+
* 控制器是否已经准备完成
|
|
11
|
+
*
|
|
12
|
+
* @author chitanda
|
|
13
|
+
* @date 2022-07-24 16:07:25
|
|
14
|
+
* @type {boolean}
|
|
15
|
+
*/
|
|
16
|
+
complete: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* 视图标题
|
|
19
|
+
*
|
|
20
|
+
* @author lxm
|
|
21
|
+
* @date 2022-08-25 11:08:45
|
|
22
|
+
* @type {string}
|
|
23
|
+
*/
|
|
24
|
+
caption: string;
|
|
25
|
+
/**
|
|
26
|
+
* 视图工具栏界面状态
|
|
27
|
+
*
|
|
28
|
+
* @author lxm
|
|
29
|
+
* @date 2022-10-13 23:10:20
|
|
30
|
+
* @type {IButtonContainerState}
|
|
31
|
+
*/
|
|
32
|
+
toolbarState: IButtonContainerState | null;
|
|
33
|
+
/**
|
|
34
|
+
* 视图是否正在加载
|
|
35
|
+
*
|
|
36
|
+
* @author lxm
|
|
37
|
+
* @date 2022-09-19 14:09:12
|
|
38
|
+
*/
|
|
39
|
+
isLoading: boolean;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=view-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-state.d.ts","sourceRoot":"","sources":["../../../../src/controller/state/view/view-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD;;;;;GAKG;AACH,qBAAa,SAAS;IACpB;;;;;;OAMG;IACH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;;;;;OAMG;IACH,OAAO,EAAG,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,YAAY,EAAE,qBAAqB,GAAG,IAAI,CAAQ;IAElD;;;;;OAKG;IACH,SAAS,EAAE,OAAO,CAAS;CAC5B"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 视图UI状态对象
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @class ViewState
|
|
6
|
+
*/
|
|
7
|
+
export class ViewState {
|
|
8
|
+
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* 控制器是否已经准备完成
|
|
11
|
+
*
|
|
12
|
+
* @author chitanda
|
|
13
|
+
* @date 2022-07-24 16:07:25
|
|
14
|
+
* @type {boolean}
|
|
15
|
+
*/
|
|
16
|
+
this.complete = false;
|
|
17
|
+
/**
|
|
18
|
+
* 视图工具栏界面状态
|
|
19
|
+
*
|
|
20
|
+
* @author lxm
|
|
21
|
+
* @date 2022-10-13 23:10:20
|
|
22
|
+
* @type {IButtonContainerState}
|
|
23
|
+
*/
|
|
24
|
+
this.toolbarState = null;
|
|
25
|
+
/**
|
|
26
|
+
* 视图是否正在加载
|
|
27
|
+
*
|
|
28
|
+
* @author lxm
|
|
29
|
+
* @date 2022-09-19 14:09:12
|
|
30
|
+
*/
|
|
31
|
+
this.isLoading = false;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"counter.d.ts","sourceRoot":"","sources":["../../../../src/controller/utils/counter/counter.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,qBAAa,OAAO;IAqCN,OAAO,CAAC,QAAQ;IApC5B;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAK;IAElB;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAK,CAA+B;IAE5C;;;;;;;OAOG;IACH,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAQ;IAEnC;;;;;OAKG;gBACiB,QAAQ,EAAE,MAAM,IAAI;IAExC;;;;;OAKG;IACH,SAAS,IAAI,MAAM;IAQnB;;;;;OAKG;IACH,SAAS,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"counter.d.ts","sourceRoot":"","sources":["../../../../src/controller/utils/counter/counter.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,qBAAa,OAAO;IAqCN,OAAO,CAAC,QAAQ;IApC5B;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAK;IAElB;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAK,CAA+B;IAE5C;;;;;;;OAOG;IACH,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAQ;IAEnC;;;;;OAKG;gBACiB,QAAQ,EAAE,MAAM,IAAI;IAExC;;;;;OAKG;IACH,SAAS,IAAI,MAAM;IAQnB;;;;;OAKG;IACH,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,IAAI,GAAG,IAAI;IAoBvC;;;;;OAKG;IACH,OAAO;CAGR"}
|
|
@@ -63,7 +63,7 @@ export class Counter {
|
|
|
63
63
|
* @author lxm
|
|
64
64
|
* @date 2022-08-18 21:08:22
|
|
65
65
|
*/
|
|
66
|
-
decrement() {
|
|
66
|
+
decrement(callback2) {
|
|
67
67
|
if (this.state === 'Used') {
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
@@ -72,7 +72,12 @@ export class Counter {
|
|
|
72
72
|
}
|
|
73
73
|
this.count -= 1;
|
|
74
74
|
if (this.count === 0) {
|
|
75
|
-
|
|
75
|
+
if (callback2) {
|
|
76
|
+
callback2();
|
|
77
|
+
}
|
|
78
|
+
else if (this.callback) {
|
|
79
|
+
this.callback();
|
|
80
|
+
}
|
|
76
81
|
if (!this.reusable) {
|
|
77
82
|
this.state = 'Used';
|
|
78
83
|
}
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* @class LoadingState
|
|
8
8
|
*/
|
|
9
9
|
export declare class LoadingState {
|
|
10
|
-
private $isLoading;
|
|
11
10
|
/**
|
|
12
11
|
* 当前的loading状态,多次loading叠加时,只有所有loading都结束才会变回false。
|
|
13
12
|
*
|
|
@@ -16,7 +15,7 @@ export declare class LoadingState {
|
|
|
16
15
|
* @readonly
|
|
17
16
|
* @type {boolean}
|
|
18
17
|
*/
|
|
19
|
-
|
|
18
|
+
isLoading: boolean;
|
|
20
19
|
/**
|
|
21
20
|
* loading计数器
|
|
22
21
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loading-state.d.ts","sourceRoot":"","sources":["../../../../src/controller/utils/loading/loading-state.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loading-state.d.ts","sourceRoot":"","sources":["../../../../src/controller/utils/loading/loading-state.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,qBAAa,YAAY;IACvB;;;;;;;OAOG;IACH,SAAS,EAAE,OAAO,CAAS;IAE3B;;;;;;OAMG;IACH,OAAO,CAAC,OAAO,CAAqB;IAEpC;;;;;OAKG;IACH,KAAK;IAKL;;;;;OAKG;IACH,GAAG;CAKJ"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NOOP } from '@ibiz-template/core';
|
|
1
2
|
import { Counter } from '../counter/counter';
|
|
2
3
|
/**
|
|
3
4
|
* loading状态控制类
|
|
@@ -9,7 +10,15 @@ import { Counter } from '../counter/counter';
|
|
|
9
10
|
*/
|
|
10
11
|
export class LoadingState {
|
|
11
12
|
constructor() {
|
|
12
|
-
|
|
13
|
+
/**
|
|
14
|
+
* 当前的loading状态,多次loading叠加时,只有所有loading都结束才会变回false。
|
|
15
|
+
*
|
|
16
|
+
* @author lxm
|
|
17
|
+
* @date 2022-09-19 11:09:43
|
|
18
|
+
* @readonly
|
|
19
|
+
* @type {boolean}
|
|
20
|
+
*/
|
|
21
|
+
this.isLoading = false;
|
|
13
22
|
/**
|
|
14
23
|
* loading计数器
|
|
15
24
|
*
|
|
@@ -17,20 +26,7 @@ export class LoadingState {
|
|
|
17
26
|
* @date 2022-09-19 11:09:08
|
|
18
27
|
* @private
|
|
19
28
|
*/
|
|
20
|
-
this.counter = new Counter(
|
|
21
|
-
this.$isLoading = false;
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 当前的loading状态,多次loading叠加时,只有所有loading都结束才会变回false。
|
|
26
|
-
*
|
|
27
|
-
* @author lxm
|
|
28
|
-
* @date 2022-09-19 11:09:43
|
|
29
|
-
* @readonly
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
*/
|
|
32
|
-
get isLoading() {
|
|
33
|
-
return this.$isLoading;
|
|
29
|
+
this.counter = new Counter(NOOP);
|
|
34
30
|
}
|
|
35
31
|
/**
|
|
36
32
|
* 开始loading
|
|
@@ -39,7 +35,7 @@ export class LoadingState {
|
|
|
39
35
|
* @date 2022-09-19 11:09:55
|
|
40
36
|
*/
|
|
41
37
|
begin() {
|
|
42
|
-
this
|
|
38
|
+
this.isLoading = true;
|
|
43
39
|
this.counter.increment();
|
|
44
40
|
}
|
|
45
41
|
/**
|
|
@@ -49,6 +45,8 @@ export class LoadingState {
|
|
|
49
45
|
* @date 2022-09-19 11:09:34
|
|
50
46
|
*/
|
|
51
47
|
end() {
|
|
52
|
-
this.counter.decrement()
|
|
48
|
+
this.counter.decrement(() => {
|
|
49
|
+
this.isLoading = false;
|
|
50
|
+
});
|
|
53
51
|
}
|
|
54
52
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DashboardViewModel } from '@ibiz-template/model';
|
|
2
|
+
import { DashboardViewNerve } from '../neuron';
|
|
3
|
+
import { MainViewController } from './main-view';
|
|
4
|
+
/**
|
|
5
|
+
* 应用看板视图控制器
|
|
6
|
+
*
|
|
7
|
+
* @author lxm
|
|
8
|
+
* @date 2022-09-08 16:09:49
|
|
9
|
+
* @export
|
|
10
|
+
* @class DashboardViewController
|
|
11
|
+
* @extends {ViewController}
|
|
12
|
+
*/
|
|
13
|
+
export declare class DashboardViewController<T extends DashboardViewModel = DashboardViewModel> extends MainViewController<T> {
|
|
14
|
+
nerve: DashboardViewNerve;
|
|
15
|
+
protected createNerve(): DashboardViewNerve;
|
|
16
|
+
protected onInit(): Promise<void>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=dashboard-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard-view.d.ts","sourceRoot":"","sources":["../../../src/controller/view/dashboard-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD;;;;;;;;GAQG;AACH,qBAAa,uBAAuB,CAClC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,CACjD,SAAQ,kBAAkB,CAAC,CAAC,CAAC;IACrB,KAAK,EAAE,kBAAkB,CAAC;IAElC,SAAS,CAAC,WAAW,IAAI,kBAAkB;cAI3B,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;CAUxC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { DashboardViewNerve } from '../neuron';
|
|
2
|
+
import { MainViewController } from './main-view';
|
|
3
|
+
/**
|
|
4
|
+
* 应用看板视图控制器
|
|
5
|
+
*
|
|
6
|
+
* @author lxm
|
|
7
|
+
* @date 2022-09-08 16:09:49
|
|
8
|
+
* @export
|
|
9
|
+
* @class DashboardViewController
|
|
10
|
+
* @extends {ViewController}
|
|
11
|
+
*/
|
|
12
|
+
export class DashboardViewController extends MainViewController {
|
|
13
|
+
createNerve() {
|
|
14
|
+
return new DashboardViewNerve(this);
|
|
15
|
+
}
|
|
16
|
+
async onInit() {
|
|
17
|
+
await super.onInit();
|
|
18
|
+
// 数据看板适配器
|
|
19
|
+
const { dashboard } = this.model;
|
|
20
|
+
if (dashboard) {
|
|
21
|
+
this.providers[dashboard.name] = await ibiz.register.control.get(dashboard);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EditViewModel } from '@ibiz-template/model';
|
|
2
2
|
import { EntityService } from '../../service';
|
|
3
3
|
import { EditViewNerve } from '../neuron';
|
|
4
|
+
import { EditViewState } from '../state';
|
|
4
5
|
import { MainViewController } from './main-view';
|
|
5
6
|
/**
|
|
6
7
|
* 编辑视图控制器
|
|
@@ -21,6 +22,7 @@ export declare class EditViewController<T extends EditViewModel = EditViewModel>
|
|
|
21
22
|
* @type {EntityService}
|
|
22
23
|
*/
|
|
23
24
|
protected entityService: EntityService;
|
|
25
|
+
state: EditViewState;
|
|
24
26
|
nerve: EditViewNerve;
|
|
25
27
|
protected createNerve(): EditViewNerve;
|
|
26
28
|
protected onInit(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-view.d.ts","sourceRoot":"","sources":["../../../src/controller/view/edit-view.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"edit-view.d.ts","sourceRoot":"","sources":["../../../src/controller/view/edit-view.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD;;;;;;;;GAQG;AACH,qBAAa,kBAAkB,CAC7B,CAAC,SAAS,aAAa,GAAG,aAAa,CACvC,SAAQ,kBAAkB,CAAC,CAAC,CAAC;IAC7B;;;;;;;OAOG;IACH,SAAS,CAAC,aAAa,EAAG,aAAa,CAAC;IAExC,KAAK,gBAAuB;IAEpB,KAAK,EAAE,aAAa,CAAC;IAE7B,SAAS,CAAC,WAAW,IAAI,aAAa;cAItB,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAiBvC,SAAS,CAAC,gBAAgB,IAAI,IAAI;IAUlC,OAAO,IAAI,KAAK,EAAE;IAKlB;;;;;OAKG;IACG,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC;IAU5B;;;;;OAKG;IACG,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC;IAM5B;;;;;;;;OAQG;IACG,eAAe,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;IAcrE;;;;;;;OAOG;IACG,iBAAiB,CAAC,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;IAQnD;;;;;OAKG;IACG,UAAU;IAOhB;;;;;OAKG;IACG,MAAM;IAKN,OAAO;IAKb;;;;;;OAMG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAoD9B;;;;;;OAMG;IACH,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAIzB;;;;;;OAMG;IACG,UAAU,CACd,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,KAAK,GACV,OAAO,CAAC,IAAI,CAAC;CASjB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IBizContext, RuntimeError } from '@ibiz-template/core';
|
|
2
2
|
import { OpenAppViewCommand } from '../../command';
|
|
3
|
-
import { ViewMode } from '../../constant';
|
|
4
3
|
import { EditViewNerve } from '../neuron';
|
|
4
|
+
import { EditViewState } from '../state';
|
|
5
5
|
import { MainViewController } from './main-view';
|
|
6
6
|
/**
|
|
7
7
|
* 编辑视图控制器
|
|
@@ -13,14 +13,18 @@ import { MainViewController } from './main-view';
|
|
|
13
13
|
* @extends {MainViewController}
|
|
14
14
|
*/
|
|
15
15
|
export class EditViewController extends MainViewController {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.state = new EditViewState();
|
|
19
|
+
}
|
|
16
20
|
createNerve() {
|
|
17
21
|
return new EditViewNerve(this);
|
|
18
22
|
}
|
|
19
23
|
async onInit() {
|
|
20
24
|
await super.onInit();
|
|
21
|
-
this.entityService = await this.app.es.getService(this.model.appEntity.codeName
|
|
25
|
+
this.entityService = await this.app.es.getService(this.model.appEntity.codeName);
|
|
22
26
|
this.nerve.self.evt.on('mounted', () => {
|
|
23
|
-
if (this.
|
|
27
|
+
if (this.model.source.loadDefault) {
|
|
24
28
|
this.load();
|
|
25
29
|
}
|
|
26
30
|
});
|
|
@@ -53,8 +57,8 @@ export class EditViewController extends MainViewController {
|
|
|
53
57
|
const { form } = this.nerve;
|
|
54
58
|
const data = await form.call.load();
|
|
55
59
|
this.calcCaption(data);
|
|
56
|
-
if (this.toolbarState) {
|
|
57
|
-
this.toolbarState.update(data.getOrigin());
|
|
60
|
+
if (this.state.toolbarState) {
|
|
61
|
+
this.state.toolbarState.update(data.getOrigin());
|
|
58
62
|
}
|
|
59
63
|
return data;
|
|
60
64
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EditView3Model } from '@ibiz-template/model';
|
|
2
2
|
import { EditView3Nerve } from '../neuron';
|
|
3
|
+
import { EditView3State } from '../state';
|
|
3
4
|
import { EditViewController } from './edit-view';
|
|
4
5
|
/**
|
|
5
6
|
* 编辑视图(分页关系)控制器
|
|
@@ -11,6 +12,7 @@ import { EditViewController } from './edit-view';
|
|
|
11
12
|
* @extends {ViewController}
|
|
12
13
|
*/
|
|
13
14
|
export declare class EditView3Controller extends EditViewController<EditView3Model> {
|
|
15
|
+
state: EditView3State;
|
|
14
16
|
/**
|
|
15
17
|
* 是否是新建数据
|
|
16
18
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit-view3.d.ts","sourceRoot":"","sources":["../../../src/controller/view/edit-view3.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD;;;;;;;;GAQG;AACH,qBAAa,mBAAoB,SAAQ,kBAAkB,CAAC,cAAc,CAAC;IACzE;;;;;;OAMG;IACH,SAAS,EAAE,OAAO,CAAQ;IAE1B;;;;;OAKG;IACH,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG;YACb,OAAO,EAAE,QAAQ,CAAC;YAClB,MAAM,EAAE,OAAO,CAAC;YAChB,GAAG,EAAE,MAAM,CAAC;SACb,CAAC;KACH,CAAM;IAEC,KAAK,EAAE,cAAc,CAAC;IAE9B,SAAS,CAAC,WAAW,IAAI,cAAc;cAIvB,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAejC,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC;IAO5B;;;;;OAKG;IACH,cAAc,CAAC,IAAI,EAAE,KAAK,GAAG,IAAI;CAsClC"}
|
|
1
|
+
{"version":3,"file":"edit-view3.d.ts","sourceRoot":"","sources":["../../../src/controller/view/edit-view3.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD;;;;;;;;GAQG;AACH,qBAAa,mBAAoB,SAAQ,kBAAkB,CAAC,cAAc,CAAC;IACzE,KAAK,iBAAwB;IAE7B;;;;;;OAMG;IACH,SAAS,EAAE,OAAO,CAAQ;IAE1B;;;;;OAKG;IACH,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG;YACb,OAAO,EAAE,QAAQ,CAAC;YAClB,MAAM,EAAE,OAAO,CAAC;YAChB,GAAG,EAAE,MAAM,CAAC;SACb,CAAC;KACH,CAAM;IAEC,KAAK,EAAE,cAAc,CAAC;IAE9B,SAAS,CAAC,WAAW,IAAI,cAAc;cAIvB,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAejC,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC;IAO5B;;;;;OAKG;IACH,cAAc,CAAC,IAAI,EAAE,KAAK,GAAG,IAAI;CAsClC"}
|
|
@@ -3,6 +3,7 @@ import { createUUID, notNilEmpty } from 'qx-util';
|
|
|
3
3
|
import { Srfuf } from '../../service';
|
|
4
4
|
import { convertNavData } from '../../utils';
|
|
5
5
|
import { EditView3Nerve } from '../neuron';
|
|
6
|
+
import { EditView3State } from '../state';
|
|
6
7
|
import { EditViewController } from './edit-view';
|
|
7
8
|
/**
|
|
8
9
|
* 编辑视图(分页关系)控制器
|
|
@@ -16,6 +17,7 @@ import { EditViewController } from './edit-view';
|
|
|
16
17
|
export class EditView3Controller extends EditViewController {
|
|
17
18
|
constructor() {
|
|
18
19
|
super(...arguments);
|
|
20
|
+
this.state = new EditView3State();
|
|
19
21
|
/**
|
|
20
22
|
* 是否是新建数据
|
|
21
23
|
*
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { GridExpViewModel, IPSDETBUIActionItem } from '@ibiz-template/model';
|
|
2
|
+
import { GridExpViewState, MDViewController } from '../..';
|
|
3
|
+
import { GridExpViewNerve } from '../neuron';
|
|
4
|
+
export declare class GridExpViewController extends MDViewController<GridExpViewModel> {
|
|
5
|
+
/**
|
|
6
|
+
* 激活的数据
|
|
7
|
+
*
|
|
8
|
+
* @author lxm
|
|
9
|
+
* @date 2022-08-28 18:08:34
|
|
10
|
+
* @type {IData}
|
|
11
|
+
*/
|
|
12
|
+
activeData?: IData;
|
|
13
|
+
state: GridExpViewState;
|
|
14
|
+
nerve: GridExpViewNerve;
|
|
15
|
+
protected createNerve(): GridExpViewNerve;
|
|
16
|
+
protected onInit(): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* 部件加载
|
|
19
|
+
*
|
|
20
|
+
* @author chitanda
|
|
21
|
+
* @date 2022-12-28 16:12:23
|
|
22
|
+
* @return {*} {Promise<IData[]>}
|
|
23
|
+
*/
|
|
24
|
+
load(): Promise<IData[]>;
|
|
25
|
+
/**
|
|
26
|
+
* 视图删除方法
|
|
27
|
+
*
|
|
28
|
+
* @author lxm
|
|
29
|
+
* @date 2022-08-30 19:08:59
|
|
30
|
+
* @returns {*} {Promise<void>}
|
|
31
|
+
*/
|
|
32
|
+
remove(): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* 视图新建行方法
|
|
35
|
+
*
|
|
36
|
+
* @author lxm
|
|
37
|
+
* @date 2022-08-30 19:08:59
|
|
38
|
+
* @returns {*} {Promise<void>}
|
|
39
|
+
*/
|
|
40
|
+
newRow(): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* 激活数据变更
|
|
43
|
+
*
|
|
44
|
+
* @author lxm
|
|
45
|
+
* @date 2022-08-28 18:08:50
|
|
46
|
+
* @param {IData} data 选中的数据
|
|
47
|
+
*/
|
|
48
|
+
onDataActive(data: IData): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* 工具栏点击
|
|
51
|
+
*
|
|
52
|
+
* @author chitanda
|
|
53
|
+
* @date 2022-12-28 21:12:18
|
|
54
|
+
* @param {IPSDETBUIActionItem} item
|
|
55
|
+
* @param {MouseEvent} event
|
|
56
|
+
* @return {*} {Promise<void>}
|
|
57
|
+
*/
|
|
58
|
+
onToolbarClick(item: IPSDETBUIActionItem, event: MouseEvent): Promise<void>;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=grid-exp-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-exp-view.d.ts","sourceRoot":"","sources":["../../../src/controller/view/grid-exp-view.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAkB,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,qBAAa,qBAAsB,SAAQ,gBAAgB,CAAC,gBAAgB,CAAC;IAC3E;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC;IAEnB,KAAK,mBAA0B;IAEvB,KAAK,EAAE,gBAAgB,CAAC;IAEhC,SAAS,CAAC,WAAW,IAAI,gBAAgB;cAIzB,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAiBvC;;;;;;OAMG;IACG,IAAI,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAK9B;;;;;;OAMG;IACG,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAK7B;;;;;;OAMG;IACG,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAK7B;;;;;;OAMG;IACG,YAAY,CAAC,IAAI,EAAE,KAAK;IA6E9B;;;;;;;;OAQG;IACG,cAAc,CAClB,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,UAAU,GAChB,OAAO,CAAC,IAAI,CAAC;CAajB"}
|