@ibiz-template/vue3-util 0.0.3-beta.5 → 0.0.4-beta.1
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/index.d.ts +0 -1
- package/out/index.d.ts.map +1 -1
- package/out/index.js +0 -1
- package/out/use/index.d.ts +0 -3
- package/out/use/index.d.ts.map +1 -1
- package/out/use/index.js +0 -3
- package/out/use/vue/vue.d.ts +14 -1
- package/out/use/vue/vue.d.ts.map +1 -1
- package/out/use/vue/vue.js +17 -1
- package/out/util/route/route.d.ts +12 -13
- package/out/util/route/route.d.ts.map +1 -1
- package/out/util/route/route.js +70 -71
- package/package.json +7 -7
- package/src/index.ts +0 -1
- package/src/use/index.ts +0 -3
- package/src/use/vue/vue.ts +20 -0
- package/src/util/route/route.ts +82 -78
- package/out/props/common.d.ts +0 -19
- package/out/props/common.d.ts.map +0 -1
- package/out/props/common.js +0 -23
- package/out/props/editor/autocomplete.d.ts +0 -55
- package/out/props/editor/autocomplete.d.ts.map +0 -1
- package/out/props/editor/autocomplete.js +0 -25
- package/out/props/editor/check-box-list.d.ts +0 -55
- package/out/props/editor/check-box-list.d.ts.map +0 -1
- package/out/props/editor/check-box-list.js +0 -25
- package/out/props/editor/check-box.d.ts +0 -55
- package/out/props/editor/check-box.d.ts.map +0 -1
- package/out/props/editor/check-box.js +0 -25
- package/out/props/editor/common.d.ts +0 -71
- package/out/props/editor/common.d.ts.map +0 -1
- package/out/props/editor/common.js +0 -77
- package/out/props/editor/data-picker.d.ts +0 -64
- package/out/props/editor/data-picker.d.ts.map +0 -1
- package/out/props/editor/data-picker.js +0 -25
- package/out/props/editor/date-picker.d.ts +0 -55
- package/out/props/editor/date-picker.d.ts.map +0 -1
- package/out/props/editor/date-picker.js +0 -25
- package/out/props/editor/dropdown-list.d.ts +0 -55
- package/out/props/editor/dropdown-list.d.ts.map +0 -1
- package/out/props/editor/dropdown-list.js +0 -25
- package/out/props/editor/index.d.ts +0 -19
- package/out/props/editor/index.d.ts.map +0 -1
- package/out/props/editor/index.js +0 -18
- package/out/props/editor/list-box.d.ts +0 -55
- package/out/props/editor/list-box.d.ts.map +0 -1
- package/out/props/editor/list-box.js +0 -25
- package/out/props/editor/number-range.d.ts +0 -51
- package/out/props/editor/number-range.d.ts.map +0 -1
- package/out/props/editor/number-range.js +0 -21
- package/out/props/editor/radio-button-list.d.ts +0 -55
- package/out/props/editor/radio-button-list.d.ts.map +0 -1
- package/out/props/editor/radio-button-list.js +0 -25
- package/out/props/editor/rate.d.ts +0 -51
- package/out/props/editor/rate.d.ts.map +0 -1
- package/out/props/editor/rate.js +0 -21
- package/out/props/editor/raw.d.ts +0 -51
- package/out/props/editor/raw.d.ts.map +0 -1
- package/out/props/editor/raw.js +0 -21
- package/out/props/editor/slider.d.ts +0 -51
- package/out/props/editor/slider.d.ts.map +0 -1
- package/out/props/editor/slider.js +0 -21
- package/out/props/editor/span.d.ts +0 -55
- package/out/props/editor/span.d.ts.map +0 -1
- package/out/props/editor/span.js +0 -25
- package/out/props/editor/stepper.d.ts +0 -51
- package/out/props/editor/stepper.d.ts.map +0 -1
- package/out/props/editor/stepper.js +0 -21
- package/out/props/editor/switch.d.ts +0 -51
- package/out/props/editor/switch.d.ts.map +0 -1
- package/out/props/editor/switch.js +0 -21
- package/out/props/editor/text-box.d.ts +0 -108
- package/out/props/editor/text-box.d.ts.map +0 -1
- package/out/props/editor/text-box.js +0 -49
- package/out/props/editor/upload.d.ts +0 -55
- package/out/props/editor/upload.d.ts.map +0 -1
- package/out/props/editor/upload.js +0 -25
- package/out/props/index.d.ts +0 -3
- package/out/props/index.d.ts.map +0 -1
- package/out/props/index.js +0 -2
- package/out/use/grid-cell-edit/grid-cell-edit.d.ts +0 -40
- package/out/use/grid-cell-edit/grid-cell-edit.d.ts.map +0 -1
- package/out/use/grid-cell-edit/grid-cell-edit.js +0 -122
- package/out/use/view/index.d.ts +0 -24
- package/out/use/view/index.d.ts.map +0 -1
- package/out/use/view/index.js +0 -23
- package/out/use/view/use-app-portal-view/use-app-portal-view.d.ts +0 -12
- package/out/use/view/use-app-portal-view/use-app-portal-view.d.ts.map +0 -1
- package/out/use/view/use-app-portal-view/use-app-portal-view.js +0 -16
- package/out/use/view/use-dashboard-view/use-dashboard-view.d.ts +0 -12
- package/out/use/view/use-dashboard-view/use-dashboard-view.d.ts.map +0 -1
- package/out/use/view/use-dashboard-view/use-dashboard-view.js +0 -16
- package/out/use/view/use-dataview-view/use-dataview-view.d.ts +0 -12
- package/out/use/view/use-dataview-view/use-dataview-view.d.ts.map +0 -1
- package/out/use/view/use-dataview-view/use-dataview-view.js +0 -16
- package/out/use/view/use-edit-view/use-edit-view.d.ts +0 -12
- package/out/use/view/use-edit-view/use-edit-view.d.ts.map +0 -1
- package/out/use/view/use-edit-view/use-edit-view.js +0 -16
- package/out/use/view/use-edit-view3/use-edit-view3.d.ts +0 -12
- package/out/use/view/use-edit-view3/use-edit-view3.d.ts.map +0 -1
- package/out/use/view/use-edit-view3/use-edit-view3.js +0 -16
- package/out/use/view/use-grid-exp-view/use-grid-exp-view.d.ts +0 -10
- package/out/use/view/use-grid-exp-view/use-grid-exp-view.d.ts.map +0 -1
- package/out/use/view/use-grid-exp-view/use-grid-exp-view.js +0 -14
- package/out/use/view/use-grid-view/use-grid-view.d.ts +0 -12
- package/out/use/view/use-grid-view/use-grid-view.d.ts.map +0 -1
- package/out/use/view/use-grid-view/use-grid-view.js +0 -16
- package/out/use/view/use-index-view/use-index-view.d.ts +0 -12
- package/out/use/view/use-index-view/use-index-view.d.ts.map +0 -1
- package/out/use/view/use-index-view/use-index-view.js +0 -16
- package/out/use/view/use-kanban-view/use-kanban-view.d.ts +0 -12
- package/out/use/view/use-kanban-view/use-kanban-view.d.ts.map +0 -1
- package/out/use/view/use-kanban-view/use-kanban-view.js +0 -16
- package/out/use/view/use-list-exp-view/use-list-exp-view.d.ts +0 -10
- package/out/use/view/use-list-exp-view/use-list-exp-view.d.ts.map +0 -1
- package/out/use/view/use-list-exp-view/use-list-exp-view.js +0 -14
- package/out/use/view/use-list-view/use-list-view.d.ts +0 -10
- package/out/use/view/use-list-view/use-list-view.d.ts.map +0 -1
- package/out/use/view/use-list-view/use-list-view.js +0 -14
- package/out/use/view/use-mpickup-view/use-mpickup-view.d.ts +0 -12
- package/out/use/view/use-mpickup-view/use-mpickup-view.d.ts.map +0 -1
- package/out/use/view/use-mpickup-view/use-mpickup-view.js +0 -16
- package/out/use/view/use-opt-view/use-opt-view.d.ts +0 -12
- package/out/use/view/use-opt-view/use-opt-view.d.ts.map +0 -1
- package/out/use/view/use-opt-view/use-opt-view.js +0 -16
- package/out/use/view/use-pickup-grid-view/use-pickup-grid-view.d.ts +0 -12
- package/out/use/view/use-pickup-grid-view/use-pickup-grid-view.d.ts.map +0 -1
- package/out/use/view/use-pickup-grid-view/use-pickup-grid-view.js +0 -16
- package/out/use/view/use-pickup-view/use-pickup-view.d.ts +0 -12
- package/out/use/view/use-pickup-view/use-pickup-view.d.ts.map +0 -1
- package/out/use/view/use-pickup-view/use-pickup-view.js +0 -16
- package/out/use/view/use-tab-exp-view/use-tab-exp-view.d.ts +0 -10
- package/out/use/view/use-tab-exp-view/use-tab-exp-view.d.ts.map +0 -1
- package/out/use/view/use-tab-exp-view/use-tab-exp-view.js +0 -14
- package/out/use/view/use-tree-exp-view/use-tree-exp-view.d.ts +0 -10
- package/out/use/view/use-tree-exp-view/use-tree-exp-view.d.ts.map +0 -1
- package/out/use/view/use-tree-exp-view/use-tree-exp-view.js +0 -14
- package/out/use/view/use-view-controller/use-view-controller.d.ts +0 -14
- package/out/use/view/use-view-controller/use-view-controller.d.ts.map +0 -1
- package/out/use/view/use-view-controller/use-view-controller.js +0 -38
- package/out/use/view/use-wf-dyna-action-view/use-wf-dyna-action-view.d.ts +0 -12
- package/out/use/view/use-wf-dyna-action-view/use-wf-dyna-action-view.d.ts.map +0 -1
- package/out/use/view/use-wf-dyna-action-view/use-wf-dyna-action-view.js +0 -16
- package/out/use/view/use-wf-dyna-edit3-view/use-wf-dyna-edit3-view.d.ts +0 -12
- package/out/use/view/use-wf-dyna-edit3-view/use-wf-dyna-edit3-view.d.ts.map +0 -1
- package/out/use/view/use-wf-dyna-edit3-view/use-wf-dyna-edit3-view.js +0 -16
- package/out/use/view/use-wf-dyna-start-view/use-wf-dyna-start-view.d.ts +0 -12
- package/out/use/view/use-wf-dyna-start-view/use-wf-dyna-start-view.d.ts.map +0 -1
- package/out/use/view/use-wf-dyna-start-view/use-wf-dyna-start-view.js +0 -16
- package/out/use/view/use-wf-step-trace-view/use-wf-step-trace-view.d.ts +0 -13
- package/out/use/view/use-wf-step-trace-view/use-wf-step-trace-view.d.ts.map +0 -1
- package/out/use/view/use-wf-step-trace-view/use-wf-step-trace-view.js +0 -17
- package/out/use/view/use-wizard-view/use-wizard-view.d.ts +0 -12
- package/out/use/view/use-wizard-view/use-wizard-view.d.ts.map +0 -1
- package/out/use/view/use-wizard-view/use-wizard-view.js +0 -16
- package/out/use/widget/index.d.ts +0 -16
- package/out/use/widget/index.d.ts.map +0 -1
- package/out/use/widget/index.js +0 -15
- package/out/use/widget/use-app-menu-controller/use-app-menu-controller.d.ts +0 -16
- package/out/use/widget/use-app-menu-controller/use-app-menu-controller.d.ts.map +0 -1
- package/out/use/widget/use-app-menu-controller/use-app-menu-controller.js +0 -18
- package/out/use/widget/use-control-controller/use-control-controller.d.ts +0 -13
- package/out/use/widget/use-control-controller/use-control-controller.d.ts.map +0 -1
- package/out/use/widget/use-control-controller/use-control-controller.js +0 -29
- package/out/use/widget/use-dashboard-controller/use-dashboard-controller.d.ts +0 -5
- package/out/use/widget/use-dashboard-controller/use-dashboard-controller.d.ts.map +0 -1
- package/out/use/widget/use-dashboard-controller/use-dashboard-controller.js +0 -8
- package/out/use/widget/use-dataview-controller/use-dataview-controller.d.ts +0 -16
- package/out/use/widget/use-dataview-controller/use-dataview-controller.d.ts.map +0 -1
- package/out/use/widget/use-dataview-controller/use-dataview-controller.js +0 -22
- package/out/use/widget/use-edit-form-controller/use-edit-form-controller.d.ts +0 -16
- package/out/use/widget/use-edit-form-controller/use-edit-form-controller.d.ts.map +0 -1
- package/out/use/widget/use-edit-form-controller/use-edit-form-controller.js +0 -19
- package/out/use/widget/use-grid-controller/use-grid-controller.d.ts +0 -16
- package/out/use/widget/use-grid-controller/use-grid-controller.d.ts.map +0 -1
- package/out/use/widget/use-grid-controller/use-grid-controller.js +0 -25
- package/out/use/widget/use-kanban-controller/use-kanban-controller.d.ts +0 -16
- package/out/use/widget/use-kanban-controller/use-kanban-controller.d.ts.map +0 -1
- package/out/use/widget/use-kanban-controller/use-kanban-controller.js +0 -22
- package/out/use/widget/use-layout-panel-controller/use-layout-panel-controller.d.ts +0 -14
- package/out/use/widget/use-layout-panel-controller/use-layout-panel-controller.d.ts.map +0 -1
- package/out/use/widget/use-layout-panel-controller/use-layout-panel-controller.js +0 -20
- package/out/use/widget/use-list-controller/use-list-controller.d.ts +0 -16
- package/out/use/widget/use-list-controller/use-list-controller.d.ts.map +0 -1
- package/out/use/widget/use-list-controller/use-list-controller.js +0 -25
- package/out/use/widget/use-pickup-view-panel-controller/use-pickup-view-panel-controller.d.ts +0 -5
- package/out/use/widget/use-pickup-view-panel-controller/use-pickup-view-panel-controller.d.ts.map +0 -1
- package/out/use/widget/use-pickup-view-panel-controller/use-pickup-view-panel-controller.js +0 -8
- package/out/use/widget/use-search-form-controller/use-search-form-controller.d.ts +0 -16
- package/out/use/widget/use-search-form-controller/use-search-form-controller.d.ts.map +0 -1
- package/out/use/widget/use-search-form-controller/use-search-form-controller.js +0 -19
- package/out/use/widget/use-tree-controller/use-tree-controller.d.ts +0 -15
- package/out/use/widget/use-tree-controller/use-tree-controller.d.ts.map +0 -1
- package/out/use/widget/use-tree-controller/use-tree-controller.js +0 -21
- package/out/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.d.ts +0 -14
- package/out/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.d.ts.map +0 -1
- package/out/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.js +0 -17
- package/out/use/widget/use-view-panel-controller/use-view-panel-controller.d.ts +0 -5
- package/out/use/widget/use-view-panel-controller/use-view-panel-controller.d.ts.map +0 -1
- package/out/use/widget/use-view-panel-controller/use-view-panel-controller.js +0 -8
- package/out/use/widget/use-wizard-panel-controller/use-wizard-panel-controller.d.ts +0 -17
- package/out/use/widget/use-wizard-panel-controller/use-wizard-panel-controller.d.ts.map +0 -1
- package/out/use/widget/use-wizard-panel-controller/use-wizard-panel-controller.js +0 -19
- package/src/props/common.ts +0 -30
- package/src/props/editor/autocomplete.ts +0 -28
- package/src/props/editor/check-box-list.ts +0 -28
- package/src/props/editor/check-box.ts +0 -28
- package/src/props/editor/common.ts +0 -83
- package/src/props/editor/data-picker.ts +0 -28
- package/src/props/editor/date-picker.ts +0 -28
- package/src/props/editor/dropdown-list.ts +0 -28
- package/src/props/editor/index.ts +0 -18
- package/src/props/editor/list-box.ts +0 -35
- package/src/props/editor/number-range.ts +0 -24
- package/src/props/editor/radio-button-list.ts +0 -28
- package/src/props/editor/rate.ts +0 -24
- package/src/props/editor/raw.ts +0 -24
- package/src/props/editor/slider.ts +0 -24
- package/src/props/editor/span.ts +0 -28
- package/src/props/editor/stepper.ts +0 -24
- package/src/props/editor/switch.ts +0 -24
- package/src/props/editor/text-box.ts +0 -54
- package/src/props/editor/upload.ts +0 -28
- package/src/props/index.ts +0 -2
- package/src/use/grid-cell-edit/grid-cell-edit.ts +0 -188
- package/src/use/view/index.ts +0 -23
- package/src/use/view/use-app-portal-view/use-app-portal-view.ts +0 -21
- package/src/use/view/use-dashboard-view/use-dashboard-view.ts +0 -21
- package/src/use/view/use-dataview-view/use-dataview-view.ts +0 -21
- package/src/use/view/use-edit-view/use-edit-view.ts +0 -19
- package/src/use/view/use-edit-view3/use-edit-view3.ts +0 -19
- package/src/use/view/use-grid-exp-view/use-grid-exp-view.ts +0 -17
- package/src/use/view/use-grid-view/use-grid-view.ts +0 -19
- package/src/use/view/use-index-view/use-index-view.ts +0 -17
- package/src/use/view/use-kanban-view/use-kanban-view.ts +0 -19
- package/src/use/view/use-list-exp-view/use-list-exp-view.ts +0 -17
- package/src/use/view/use-list-view/use-list-view.ts +0 -17
- package/src/use/view/use-mpickup-view/use-mpickup-view.ts +0 -19
- package/src/use/view/use-opt-view/use-opt-view.ts +0 -19
- package/src/use/view/use-pickup-grid-view/use-pickup-grid-view.ts +0 -21
- package/src/use/view/use-pickup-view/use-pickup-view.ts +0 -19
- package/src/use/view/use-tab-exp-view/use-tab-exp-view.ts +0 -17
- package/src/use/view/use-tree-exp-view/use-tree-exp-view.ts +0 -17
- package/src/use/view/use-view-controller/use-view-controller.ts +0 -49
- package/src/use/view/use-wf-dyna-action-view/use-wf-dyna-action-view.ts +0 -21
- package/src/use/view/use-wf-dyna-edit3-view/use-wf-dyna-edit3-view.ts +0 -21
- package/src/use/view/use-wf-dyna-start-view/use-wf-dyna-start-view.ts +0 -21
- package/src/use/view/use-wf-step-trace-view/use-wf-step-trace-view.ts +0 -22
- package/src/use/view/use-wizard-view/use-wizard-view.ts +0 -19
- package/src/use/widget/index.ts +0 -15
- package/src/use/widget/use-app-menu-controller/use-app-menu-controller.ts +0 -25
- package/src/use/widget/use-control-controller/use-control-controller.ts +0 -40
- package/src/use/widget/use-dashboard-controller/use-dashboard-controller.ts +0 -15
- package/src/use/widget/use-dataview-controller/use-dataview-controller.ts +0 -29
- package/src/use/widget/use-edit-form-controller/use-edit-form-controller.ts +0 -26
- package/src/use/widget/use-grid-controller/use-grid-controller.ts +0 -33
- package/src/use/widget/use-kanban-controller/use-kanban-controller.ts +0 -29
- package/src/use/widget/use-layout-panel-controller/use-layout-panel-controller.ts +0 -27
- package/src/use/widget/use-list-controller/use-list-controller.ts +0 -32
- package/src/use/widget/use-pickup-view-panel-controller/use-pickup-view-panel-controller.ts +0 -15
- package/src/use/widget/use-search-form-controller/use-search-form-controller.ts +0 -26
- package/src/use/widget/use-tree-controller/use-tree-controller.ts +0 -28
- package/src/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.ts +0 -24
- package/src/use/widget/use-view-panel-controller/use-view-panel-controller.ts +0 -15
- package/src/use/widget/use-wizard-panel-controller/use-wizard-panel-controller.ts +0 -26
package/out/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-view-layout-panel-controller.d.ts","sourceRoot":"","sources":["../../../../src/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAG5D;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,oBAAoB,EAC3B,OAAO,EAAE,WAAW,EACpB,MAAM,GAAE,OAAY,GACnB,yBAAyB,CAK3B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ViewLayoutPanelController } from '@ibiz-template/runtime';
|
|
2
|
-
import { useControlController } from '../use-control-controller/use-control-controller';
|
|
3
|
-
/**
|
|
4
|
-
* 获取视图布局面板控制器
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @param {ViewLayoutPanelModel} model
|
|
8
|
-
* @param {IBizContext} context
|
|
9
|
-
* @param {IParams} [params={}]
|
|
10
|
-
* @returns {*} {ViewLayoutPanelController}
|
|
11
|
-
*/
|
|
12
|
-
export function useViewLayoutPanelController(model, context, params = {}) {
|
|
13
|
-
return useControlController(() => {
|
|
14
|
-
const c = new ViewLayoutPanelController(model, context, params);
|
|
15
|
-
return c;
|
|
16
|
-
});
|
|
17
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ViewPanelController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IBizContext } from '@ibiz-template/core';
|
|
3
|
-
import { ViewPanelModel } from '@ibiz-template/model';
|
|
4
|
-
export declare function useViewPanelController(model: ViewPanelModel, context: IBizContext, params?: IParams): ViewPanelController;
|
|
5
|
-
//# sourceMappingURL=use-view-panel-controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-view-panel-controller.d.ts","sourceRoot":"","sources":["../../../../src/use/widget/use-view-panel-controller/use-view-panel-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,WAAW,EACpB,MAAM,GAAE,OAAY,GACnB,mBAAmB,CAKrB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ViewPanelController } from '@ibiz-template/runtime';
|
|
2
|
-
import { useControlController } from '../use-control-controller/use-control-controller';
|
|
3
|
-
export function useViewPanelController(model, context, params = {}) {
|
|
4
|
-
return useControlController(() => {
|
|
5
|
-
const c = new ViewPanelController(model, context, params);
|
|
6
|
-
return c;
|
|
7
|
-
});
|
|
8
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { WizardPanelController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IBizContext } from '@ibiz-template/core';
|
|
3
|
-
import { WizardPanelModel } from '@ibiz-template/model';
|
|
4
|
-
/**
|
|
5
|
-
* 获取向导面板部件控制器
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* @author lxm
|
|
9
|
-
* @date 2023-02-15 07:37:33
|
|
10
|
-
* @export
|
|
11
|
-
* @param {WizardPanelModel} model
|
|
12
|
-
* @param {IBizContext} context
|
|
13
|
-
* @param {IParams} [params={}]
|
|
14
|
-
* @returns {*} {WizardPanelController}
|
|
15
|
-
*/
|
|
16
|
-
export declare function useWizardPanelController(model: WizardPanelModel, context: IBizContext, params?: IParams): WizardPanelController;
|
|
17
|
-
//# sourceMappingURL=use-wizard-panel-controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-wizard-panel-controller.d.ts","sourceRoot":"","sources":["../../../../src/use/widget/use-wizard-panel-controller/use-wizard-panel-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,WAAW,EACpB,MAAM,GAAE,OAAY,GACnB,qBAAqB,CAIvB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { WizardPanelController } from '@ibiz-template/runtime';
|
|
2
|
-
import { useControlController } from '../use-control-controller/use-control-controller';
|
|
3
|
-
/**
|
|
4
|
-
* 获取向导面板部件控制器
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2023-02-15 07:37:33
|
|
9
|
-
* @export
|
|
10
|
-
* @param {WizardPanelModel} model
|
|
11
|
-
* @param {IBizContext} context
|
|
12
|
-
* @param {IParams} [params={}]
|
|
13
|
-
* @returns {*} {WizardPanelController}
|
|
14
|
-
*/
|
|
15
|
-
export function useWizardPanelController(model, context, params = {}) {
|
|
16
|
-
return useControlController(() => {
|
|
17
|
-
return new WizardPanelController(model, context, params);
|
|
18
|
-
});
|
|
19
|
-
}
|
package/src/props/common.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 必填props类型
|
|
3
|
-
*
|
|
4
|
-
* @author lxm
|
|
5
|
-
* @date 2022-11-01 19:11:47
|
|
6
|
-
* @export
|
|
7
|
-
* @class RequiredProp
|
|
8
|
-
* @template T type的类型
|
|
9
|
-
* @template D 默认值的类型
|
|
10
|
-
* @template V 校验函数的类型
|
|
11
|
-
*/
|
|
12
|
-
export class RequiredProp<T, D = undefined, V = undefined> {
|
|
13
|
-
readonly required = true;
|
|
14
|
-
|
|
15
|
-
type: T;
|
|
16
|
-
|
|
17
|
-
default?: D | undefined;
|
|
18
|
-
|
|
19
|
-
validator?: V | undefined;
|
|
20
|
-
|
|
21
|
-
constructor(type: T, _default?: D, validator?: V) {
|
|
22
|
-
if (_default) {
|
|
23
|
-
this.default = _default;
|
|
24
|
-
}
|
|
25
|
-
if (validator) {
|
|
26
|
-
this.validator = validator;
|
|
27
|
-
}
|
|
28
|
-
this.type = type;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { AutoCompleteEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取自动完成的props
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2022-11-01 19:11:12
|
|
9
|
-
* @export
|
|
10
|
-
* @template C
|
|
11
|
-
* @returns {*}
|
|
12
|
-
*/
|
|
13
|
-
export function getAutoCompleteProps<C = AutoCompleteEditorController>() {
|
|
14
|
-
return { ...getEditorProps<C>(), value: String };
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 获取表格自动完成的props
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-11-01 19:11:12
|
|
22
|
-
* @export
|
|
23
|
-
* @template C
|
|
24
|
-
* @returns {*}
|
|
25
|
-
*/
|
|
26
|
-
export function getGridAutoCompleteProps<C = AutoCompleteEditorController>() {
|
|
27
|
-
return { ...getAutoCompleteProps<C>(), ...getGridEditorCommonProps() };
|
|
28
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { CheckBoxListEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取选项框列表的props
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2022-11-01 19:11:12
|
|
9
|
-
* @export
|
|
10
|
-
* @template C
|
|
11
|
-
* @returns {*}
|
|
12
|
-
*/
|
|
13
|
-
export function getCheckboxListProps<C = CheckBoxListEditorController>() {
|
|
14
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 获取表格选项框列表的props
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-11-01 19:11:12
|
|
22
|
-
* @export
|
|
23
|
-
* @template C
|
|
24
|
-
* @returns {*}
|
|
25
|
-
*/
|
|
26
|
-
export function getGridCheckboxListProps<C = CheckBoxListEditorController>() {
|
|
27
|
-
return { ...getCheckboxListProps<C>(), ...getGridEditorCommonProps() };
|
|
28
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { CheckBoxEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取选项框的props
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2022-11-01 19:11:12
|
|
9
|
-
* @export
|
|
10
|
-
* @template C
|
|
11
|
-
* @returns {*}
|
|
12
|
-
*/
|
|
13
|
-
export function getCheckboxProps<C = CheckBoxEditorController>() {
|
|
14
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 获取表格选项框列表的props
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-11-01 19:11:12
|
|
22
|
-
* @export
|
|
23
|
-
* @template C
|
|
24
|
-
* @returns {*}
|
|
25
|
-
*/
|
|
26
|
-
export function getGridCheckboxProps<C = CheckBoxEditorController>() {
|
|
27
|
-
return { ...getCheckboxProps<C>(), ...getGridEditorCommonProps() };
|
|
28
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { RequiredProp } from '../common';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* 获取编辑器通用props
|
|
7
|
-
*
|
|
8
|
-
* @author lxm
|
|
9
|
-
* @date 2022-11-01 19:11:04
|
|
10
|
-
* @export
|
|
11
|
-
* @template C
|
|
12
|
-
* @returns {*}
|
|
13
|
-
*/
|
|
14
|
-
export function getEditorProps<C>() {
|
|
15
|
-
return {
|
|
16
|
-
value: String,
|
|
17
|
-
controller: new RequiredProp(Object as PropType<C>),
|
|
18
|
-
data: new RequiredProp(Object as PropType<IData>),
|
|
19
|
-
disabled: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
},
|
|
22
|
-
readonly: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: false,
|
|
25
|
-
},
|
|
26
|
-
autoFocus: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: false,
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* 获取编辑器通用emits
|
|
35
|
-
*
|
|
36
|
-
* @author lxm
|
|
37
|
-
* @date 2022-11-01 19:11:04
|
|
38
|
-
* @export
|
|
39
|
-
* @template V
|
|
40
|
-
* @returns {*}
|
|
41
|
-
*/
|
|
42
|
-
export function getEditorEmits<V>() {
|
|
43
|
-
return {
|
|
44
|
-
/** 值变更事件 */
|
|
45
|
-
change: (_value: V, _name?: string) => true,
|
|
46
|
-
/** 是否正在操作事件 */
|
|
47
|
-
operate: (_isOperating: boolean) => true,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* 获取表格列编辑器通用emits
|
|
53
|
-
*
|
|
54
|
-
* @author lxm
|
|
55
|
-
* @date 2022-11-01 19:11:04
|
|
56
|
-
* @export
|
|
57
|
-
* @template V
|
|
58
|
-
* @returns {*}
|
|
59
|
-
*/
|
|
60
|
-
export function getGridEditorEmits<V>() {
|
|
61
|
-
return {
|
|
62
|
-
/** 值变更事件 */
|
|
63
|
-
change: (_value: V, _name?: string) => true,
|
|
64
|
-
/** 是否正在操作事件 */
|
|
65
|
-
rowSave: () => true,
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* 表格编辑器通用props
|
|
71
|
-
*
|
|
72
|
-
* @author lxm
|
|
73
|
-
* @date 2022-11-02 10:11:02
|
|
74
|
-
* @export
|
|
75
|
-
* @returns {*}
|
|
76
|
-
*/
|
|
77
|
-
export function getGridEditorCommonProps() {
|
|
78
|
-
return {
|
|
79
|
-
hasError: {
|
|
80
|
-
type: Boolean,
|
|
81
|
-
},
|
|
82
|
-
};
|
|
83
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { PickerEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取数据选择的props
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2022-11-01 19:11:12
|
|
9
|
-
* @export
|
|
10
|
-
* @template C
|
|
11
|
-
* @returns {*}
|
|
12
|
-
*/
|
|
13
|
-
export function getDataPickerProps<C = PickerEditorController>() {
|
|
14
|
-
return { ...getEditorProps<C>(), value: String };
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 获取表格数据选择的props
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-11-01 19:11:12
|
|
22
|
-
* @export
|
|
23
|
-
* @template C
|
|
24
|
-
* @returns {*}
|
|
25
|
-
*/
|
|
26
|
-
export function getGridDataPickerProps<C = PickerEditorController>() {
|
|
27
|
-
return { ...getDataPickerProps<C>(), ...getGridEditorCommonProps() };
|
|
28
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DatePickerEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取日期选择器的props
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2022-11-01 19:11:12
|
|
9
|
-
* @export
|
|
10
|
-
* @template C
|
|
11
|
-
* @returns {*}
|
|
12
|
-
*/
|
|
13
|
-
export function getDatePickerProps<C = DatePickerEditorController>() {
|
|
14
|
-
return { ...getEditorProps<C>(), value: String };
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 获取表格日期选择器的props
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-11-01 19:11:12
|
|
22
|
-
* @export
|
|
23
|
-
* @template C
|
|
24
|
-
* @returns {*}
|
|
25
|
-
*/
|
|
26
|
-
export function getGridDatePickerProps<C = DatePickerEditorController>() {
|
|
27
|
-
return { ...getDatePickerProps<C>(), ...getGridEditorCommonProps() };
|
|
28
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DropDownListEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取下拉列表的props
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2022-11-01 19:11:12
|
|
9
|
-
* @export
|
|
10
|
-
* @template C
|
|
11
|
-
* @returns {*}
|
|
12
|
-
*/
|
|
13
|
-
export function getDropdownProps<C = DropDownListEditorController>() {
|
|
14
|
-
return { ...getEditorProps<C>(), value: String };
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 获取表格标签的props
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-11-01 19:11:12
|
|
22
|
-
* @export
|
|
23
|
-
* @template C
|
|
24
|
-
* @returns {*}
|
|
25
|
-
*/
|
|
26
|
-
export function getGridDropdownProps<C = DropDownListEditorController>() {
|
|
27
|
-
return { ...getDropdownProps<C>(), ...getGridEditorCommonProps() };
|
|
28
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export * from './common';
|
|
2
|
-
export * from './text-box';
|
|
3
|
-
export * from './check-box-list';
|
|
4
|
-
export * from './span';
|
|
5
|
-
export * from './date-picker';
|
|
6
|
-
export * from './dropdown-list';
|
|
7
|
-
export * from './radio-button-list';
|
|
8
|
-
export * from './upload';
|
|
9
|
-
export * from './data-picker';
|
|
10
|
-
export * from './raw';
|
|
11
|
-
export * from './stepper';
|
|
12
|
-
export * from './rate';
|
|
13
|
-
export * from './slider';
|
|
14
|
-
export * from './switch';
|
|
15
|
-
export * from './list-box';
|
|
16
|
-
export * from './autocomplete';
|
|
17
|
-
export * from './check-box';
|
|
18
|
-
export * from './number-range';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ListBoxEditorController,
|
|
3
|
-
ListBoxPickerEditorController,
|
|
4
|
-
} from '@ibiz-template/runtime';
|
|
5
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* 获取列表框的props
|
|
9
|
-
*
|
|
10
|
-
* @author lxm
|
|
11
|
-
* @date 2022-11-01 19:11:12
|
|
12
|
-
* @export
|
|
13
|
-
* @template C
|
|
14
|
-
* @returns {*}
|
|
15
|
-
*/
|
|
16
|
-
export function getListBoxProps<
|
|
17
|
-
C = ListBoxEditorController | ListBoxPickerEditorController,
|
|
18
|
-
>() {
|
|
19
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* 获取表格列表框的props
|
|
24
|
-
*
|
|
25
|
-
* @author lxm
|
|
26
|
-
* @date 2022-11-01 19:11:12
|
|
27
|
-
* @export
|
|
28
|
-
* @template C
|
|
29
|
-
* @returns {*}
|
|
30
|
-
*/
|
|
31
|
-
export function getGridListBoxProps<
|
|
32
|
-
C = ListBoxEditorController | ListBoxPickerEditorController,
|
|
33
|
-
>() {
|
|
34
|
-
return { ...getListBoxProps<C>(), ...getGridEditorCommonProps() };
|
|
35
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NumberRangeEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取数值范围的props
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @template C
|
|
9
|
-
* @returns {*}
|
|
10
|
-
*/
|
|
11
|
-
export function getNumberRangeProps<C = NumberRangeEditorController>() {
|
|
12
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* 获取表格数值范围的props
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @template C
|
|
20
|
-
* @returns {*}
|
|
21
|
-
*/
|
|
22
|
-
export function getGridNumberRangeProps<C = NumberRangeEditorController>() {
|
|
23
|
-
return { ...getNumberRangeProps<C>(), ...getGridEditorCommonProps() };
|
|
24
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { RadioButtonListEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取单选框的props
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2022-11-01 19:11:12
|
|
9
|
-
* @export
|
|
10
|
-
* @template C
|
|
11
|
-
* @returns {*}
|
|
12
|
-
*/
|
|
13
|
-
export function getRadioProps<C = RadioButtonListEditorController>() {
|
|
14
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 获取表格单选框的props
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-11-01 19:11:12
|
|
22
|
-
* @export
|
|
23
|
-
* @template C
|
|
24
|
-
* @returns {*}
|
|
25
|
-
*/
|
|
26
|
-
export function getGridRadioProps<C = RadioButtonListEditorController>() {
|
|
27
|
-
return { ...getRadioProps<C>(), ...getGridEditorCommonProps() };
|
|
28
|
-
}
|
package/src/props/editor/rate.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { RateEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取评分器的props
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @template C
|
|
9
|
-
* @returns {*}
|
|
10
|
-
*/
|
|
11
|
-
export function getRateProps<C = RateEditorController>() {
|
|
12
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* 获取表格评分器的props
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @template C
|
|
20
|
-
* @returns {*}
|
|
21
|
-
*/
|
|
22
|
-
export function getGridRateProps<C = RateEditorController>() {
|
|
23
|
-
return { ...getRateProps<C>(), ...getGridEditorCommonProps() };
|
|
24
|
-
}
|
package/src/props/editor/raw.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { RawEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取直接内容的props
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @template C
|
|
9
|
-
* @returns {*}
|
|
10
|
-
*/
|
|
11
|
-
export function getRawProps<C = RawEditorController>() {
|
|
12
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* 获取表格步进器的props
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @template C
|
|
20
|
-
* @returns {*}
|
|
21
|
-
*/
|
|
22
|
-
export function getGridRawProps<C = RawEditorController>() {
|
|
23
|
-
return { ...getRawProps<C>(), ...getGridEditorCommonProps() };
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { SliderEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取滑动输入条的props
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @template C
|
|
9
|
-
* @returns {*}
|
|
10
|
-
*/
|
|
11
|
-
export function getSliderProps<C = SliderEditorController>() {
|
|
12
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* 获取表格滑动输入条的props
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @template C
|
|
20
|
-
* @returns {*}
|
|
21
|
-
*/
|
|
22
|
-
export function getGridSliderProps<C = SliderEditorController>() {
|
|
23
|
-
return { ...getSliderProps<C>(), ...getGridEditorCommonProps() };
|
|
24
|
-
}
|
package/src/props/editor/span.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { SpanEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取标签的props
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2022-11-01 19:11:12
|
|
9
|
-
* @export
|
|
10
|
-
* @template C
|
|
11
|
-
* @returns {*}
|
|
12
|
-
*/
|
|
13
|
-
export function getSpanProps<C = SpanEditorController>() {
|
|
14
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* 获取表格标签的props
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-11-01 19:11:12
|
|
22
|
-
* @export
|
|
23
|
-
* @template C
|
|
24
|
-
* @returns {*}
|
|
25
|
-
*/
|
|
26
|
-
export function getGridSpanProps<C = SpanEditorController>() {
|
|
27
|
-
return { ...getSpanProps<C>(), ...getGridEditorCommonProps() };
|
|
28
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { StepperEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取步进器的props
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @template C
|
|
9
|
-
* @returns {*}
|
|
10
|
-
*/
|
|
11
|
-
export function getStepperProps<C = StepperEditorController>() {
|
|
12
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* 获取表格步进器的props
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @template C
|
|
20
|
-
* @returns {*}
|
|
21
|
-
*/
|
|
22
|
-
export function getGridStepperProps<C = StepperEditorController>() {
|
|
23
|
-
return { ...getStepperProps<C>(), ...getGridEditorCommonProps() };
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { SwitchEditorController } from '@ibiz-template/runtime';
|
|
2
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 获取开关的props
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @template C
|
|
9
|
-
* @returns {*}
|
|
10
|
-
*/
|
|
11
|
-
export function getSwitchProps<C = SwitchEditorController>() {
|
|
12
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* 获取表格步进器的props
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @template C
|
|
20
|
-
* @returns {*}
|
|
21
|
-
*/
|
|
22
|
-
export function getGridSwitchProps<C = SwitchEditorController>() {
|
|
23
|
-
return { ...getSwitchProps<C>(), ...getGridEditorCommonProps() };
|
|
24
|
-
}
|