@ibiz-template/vue3-util 0.0.3-beta.1 → 0.0.3-beta.3
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/interface/util/route/route.d.ts +7 -0
- package/out/interface/util/route/route.d.ts.map +1 -1
- package/out/props/editor/index.d.ts +5 -0
- package/out/props/editor/index.d.ts.map +1 -1
- package/out/props/editor/index.js +5 -0
- package/out/props/editor/rate.d.ts +53 -0
- package/out/props/editor/rate.d.ts.map +1 -0
- package/out/props/editor/rate.js +21 -0
- package/out/props/editor/raw.d.ts +53 -0
- package/out/props/editor/raw.d.ts.map +1 -0
- package/out/props/editor/raw.js +21 -0
- package/out/props/editor/slider.d.ts +53 -0
- package/out/props/editor/slider.d.ts.map +1 -0
- package/out/props/editor/slider.js +21 -0
- package/out/props/editor/stepper.d.ts +53 -0
- package/out/props/editor/stepper.d.ts.map +1 -0
- package/out/props/editor/stepper.js +21 -0
- package/out/props/editor/switch.d.ts +53 -0
- package/out/props/editor/switch.d.ts.map +1 -0
- package/out/props/editor/switch.js +21 -0
- package/out/use/route/route.d.ts +13 -0
- package/out/use/route/route.d.ts.map +1 -1
- package/out/use/route/route.js +27 -0
- package/out/use/view/index.d.ts +7 -0
- package/out/use/view/index.d.ts.map +1 -1
- package/out/use/view/index.js +7 -0
- package/out/use/view/use-dashboard-view/use-dashboard-view.d.ts +12 -0
- package/out/use/view/use-dashboard-view/use-dashboard-view.d.ts.map +1 -0
- package/out/use/view/use-dashboard-view/use-dashboard-view.js +16 -0
- package/out/use/view/use-dataview-view/use-dataview-view.d.ts +12 -0
- package/out/use/view/use-dataview-view/use-dataview-view.d.ts.map +1 -0
- package/out/use/view/use-dataview-view/use-dataview-view.js +16 -0
- package/out/use/view/use-grid-exp-view/use-grid-exp-view.d.ts +10 -0
- package/out/use/view/use-grid-exp-view/use-grid-exp-view.d.ts.map +1 -0
- package/out/use/view/use-grid-exp-view/use-grid-exp-view.js +14 -0
- package/out/use/view/use-kanban-view/use-kanban-view.d.ts +12 -0
- package/out/use/view/use-kanban-view/use-kanban-view.d.ts.map +1 -0
- package/out/use/view/use-kanban-view/use-kanban-view.js +16 -0
- package/out/use/view/use-list-exp-view/use-list-exp-view.d.ts +10 -0
- package/out/use/view/use-list-exp-view/use-list-exp-view.d.ts.map +1 -0
- package/out/use/view/use-list-exp-view/use-list-exp-view.js +14 -0
- package/out/use/view/use-list-view/use-list-view.d.ts +10 -0
- package/out/use/view/use-list-view/use-list-view.d.ts.map +1 -0
- package/out/use/view/use-list-view/use-list-view.js +14 -0
- package/out/use/view/use-view-controller/use-view-controller.d.ts.map +1 -1
- package/out/use/view/use-view-controller/use-view-controller.js +3 -1
- package/out/use/view/use-wizard-view/use-wizard-view.d.ts +12 -0
- package/out/use/view/use-wizard-view/use-wizard-view.d.ts.map +1 -0
- package/out/use/view/use-wizard-view/use-wizard-view.js +16 -0
- package/out/use/vue/vue.d.ts +10 -0
- package/out/use/vue/vue.d.ts.map +1 -1
- package/out/use/vue/vue.js +16 -3
- package/out/use/widget/index.d.ts +5 -0
- package/out/use/widget/index.d.ts.map +1 -1
- package/out/use/widget/index.js +5 -0
- package/out/use/widget/use-control-controller/use-control-controller.d.ts.map +1 -1
- package/out/use/widget/use-control-controller/use-control-controller.js +2 -1
- package/out/use/widget/use-dataview-controller/use-dataview-controller.d.ts +16 -0
- package/out/use/widget/use-dataview-controller/use-dataview-controller.d.ts.map +1 -0
- package/out/use/widget/use-dataview-controller/use-dataview-controller.js +22 -0
- package/out/use/widget/use-grid-controller/use-grid-controller.d.ts.map +1 -1
- package/out/use/widget/use-grid-controller/use-grid-controller.js +4 -1
- package/out/use/widget/use-kanban-controller/use-kanban-controller.d.ts +16 -0
- package/out/use/widget/use-kanban-controller/use-kanban-controller.d.ts.map +1 -0
- package/out/use/widget/use-kanban-controller/use-kanban-controller.js +22 -0
- package/out/use/widget/use-layout-panel-controller/use-layout-panel-controller.d.ts +14 -0
- package/out/use/widget/use-layout-panel-controller/use-layout-panel-controller.d.ts.map +1 -0
- package/out/use/widget/use-layout-panel-controller/use-layout-panel-controller.js +20 -0
- package/out/use/widget/use-list-controller/use-list-controller.d.ts.map +1 -1
- package/out/use/widget/use-list-controller/use-list-controller.js +6 -0
- package/out/use/widget/use-tree-controller/use-tree-controller.d.ts.map +1 -1
- package/out/use/widget/use-tree-controller/use-tree-controller.js +3 -0
- package/out/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.d.ts +14 -0
- package/out/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.d.ts.map +1 -0
- package/out/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.js +17 -0
- package/out/use/widget/use-wizard-panel-controller/use-wizard-panel-controller.d.ts +17 -0
- package/out/use/widget/use-wizard-panel-controller/use-wizard-panel-controller.d.ts.map +1 -0
- package/out/use/widget/use-wizard-panel-controller/use-wizard-panel-controller.js +19 -0
- package/out/util/index.d.ts +1 -0
- package/out/util/index.d.ts.map +1 -1
- package/out/util/index.js +1 -0
- package/out/util/route/route-listener.d.ts +42 -0
- package/out/util/route/route-listener.d.ts.map +1 -0
- package/out/util/route/route-listener.js +77 -0
- package/out/util/route/route.d.ts +1 -1
- package/out/util/route/route.d.ts.map +1 -1
- package/out/util/route/route.js +65 -63
- package/package.json +5 -5
- package/src/interface/util/route/route.ts +8 -0
- package/src/props/editor/index.ts +5 -0
- package/src/props/editor/rate.ts +24 -0
- package/src/props/editor/raw.ts +24 -0
- package/src/props/editor/slider.ts +24 -0
- package/src/props/editor/stepper.ts +24 -0
- package/src/props/editor/switch.ts +24 -0
- package/src/use/route/route.ts +33 -1
- package/src/use/view/index.ts +7 -0
- package/src/use/view/use-dashboard-view/use-dashboard-view.ts +21 -0
- package/src/use/view/use-dataview-view/use-dataview-view.ts +21 -0
- package/src/use/view/use-grid-exp-view/use-grid-exp-view.ts +17 -0
- package/src/use/view/use-kanban-view/use-kanban-view.ts +19 -0
- package/src/use/view/use-list-exp-view/use-list-exp-view.ts +17 -0
- package/src/use/view/use-list-view/use-list-view.ts +17 -0
- package/src/use/view/use-view-controller/use-view-controller.ts +3 -1
- package/src/use/view/use-wizard-view/use-wizard-view.ts +19 -0
- package/src/use/vue/vue.ts +18 -2
- package/src/use/widget/index.ts +5 -0
- package/src/use/widget/use-control-controller/use-control-controller.ts +2 -1
- package/src/use/widget/use-dataview-controller/use-dataview-controller.ts +29 -0
- package/src/use/widget/use-grid-controller/use-grid-controller.ts +4 -1
- package/src/use/widget/use-kanban-controller/use-kanban-controller.ts +29 -0
- package/src/use/widget/use-layout-panel-controller/use-layout-panel-controller.ts +27 -0
- package/src/use/widget/use-list-controller/use-list-controller.ts +6 -0
- package/src/use/widget/use-tree-controller/use-tree-controller.ts +3 -0
- package/src/use/widget/use-view-layout-panel-controller/use-view-layout-panel-controller.ts +24 -0
- package/src/use/widget/use-wizard-panel-controller/use-wizard-panel-controller.ts +26 -0
- package/src/util/index.ts +1 -0
- package/src/util/route/route-listener.ts +92 -0
- package/src/util/route/route.ts +68 -59
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/route/route.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC;IAEnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;OAKG;IACH,SAAS,EAAE,cAAc,EAAE,CAAC;IAE5B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
|
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/route/route.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC;IAEnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,QAAQ,CAAC;IAEtB;;;;;OAKG;IACH,SAAS,EAAE,cAAc,EAAE,CAAC;IAE5B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -7,4 +7,9 @@ export * from './dropdown-list';
|
|
|
7
7
|
export * from './radio-button-list';
|
|
8
8
|
export * from './upload';
|
|
9
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';
|
|
10
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/props/editor/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/props/editor/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
|
|
@@ -7,3 +7,8 @@ export * from './dropdown-list';
|
|
|
7
7
|
export * from './radio-button-list';
|
|
8
8
|
export * from './upload';
|
|
9
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';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { RateEditorController } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 获取评分器的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export declare function getRateProps<C = RateEditorController>(): {
|
|
10
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
11
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
12
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
13
|
+
disabled: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
};
|
|
16
|
+
readonly: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
autoFocus: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 获取表格评分器的props
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @template C
|
|
30
|
+
* @returns {*}
|
|
31
|
+
*/
|
|
32
|
+
export declare function getGridRateProps<C = RateEditorController>(): {
|
|
33
|
+
infoMode: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
};
|
|
36
|
+
rowDataChange: import("..").RequiredProp<import("vue").PropType<(_value: any, _name?: string | undefined) => Promise<void>>, undefined, undefined>;
|
|
37
|
+
rowSave: import("..").RequiredProp<import("vue").PropType<() => Promise<void>>, undefined, undefined>;
|
|
38
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
40
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
readonly: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
autoFocus: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=rate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../../src/props/editor/rate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,CAAC,GAAG,oBAAoB;;;;;;;;;;;;;;;EAEpD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,GAAG,oBAAoB;;;;;;;;;;;;;;;;;;;;EAExD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
+
/**
|
|
3
|
+
* 获取评分器的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export function getRateProps() {
|
|
10
|
+
return Object.assign(Object.assign({}, getEditorProps()), { value: [String, Number] });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 获取表格评分器的props
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @template C
|
|
17
|
+
* @returns {*}
|
|
18
|
+
*/
|
|
19
|
+
export function getGridRateProps() {
|
|
20
|
+
return Object.assign(Object.assign({}, getRateProps()), getGridEditorCommonProps());
|
|
21
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { RawEditorController } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 获取直接内容的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export declare function getRawProps<C = RawEditorController>(): {
|
|
10
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
11
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
12
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
13
|
+
disabled: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
};
|
|
16
|
+
readonly: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
autoFocus: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 获取表格步进器的props
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @template C
|
|
30
|
+
* @returns {*}
|
|
31
|
+
*/
|
|
32
|
+
export declare function getGridRawProps<C = RawEditorController>(): {
|
|
33
|
+
infoMode: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
};
|
|
36
|
+
rowDataChange: import("..").RequiredProp<import("vue").PropType<(_value: any, _name?: string | undefined) => Promise<void>>, undefined, undefined>;
|
|
37
|
+
rowSave: import("..").RequiredProp<import("vue").PropType<() => Promise<void>>, undefined, undefined>;
|
|
38
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
40
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
readonly: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
autoFocus: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=raw.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"raw.d.ts","sourceRoot":"","sources":["../../../src/props/editor/raw.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAG7D;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,CAAC,GAAG,mBAAmB;;;;;;;;;;;;;;;EAElD;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,GAAG,mBAAmB;;;;;;;;;;;;;;;;;;;;EAEtD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
+
/**
|
|
3
|
+
* 获取直接内容的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export function getRawProps() {
|
|
10
|
+
return Object.assign(Object.assign({}, getEditorProps()), { value: [String, Number] });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 获取表格步进器的props
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @template C
|
|
17
|
+
* @returns {*}
|
|
18
|
+
*/
|
|
19
|
+
export function getGridRawProps() {
|
|
20
|
+
return Object.assign(Object.assign({}, getRawProps()), getGridEditorCommonProps());
|
|
21
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { SliderEditorController } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 获取滑动输入条的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export declare function getSliderProps<C = SliderEditorController>(): {
|
|
10
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
11
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
12
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
13
|
+
disabled: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
};
|
|
16
|
+
readonly: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
autoFocus: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 获取表格滑动输入条的props
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @template C
|
|
30
|
+
* @returns {*}
|
|
31
|
+
*/
|
|
32
|
+
export declare function getGridSliderProps<C = SliderEditorController>(): {
|
|
33
|
+
infoMode: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
};
|
|
36
|
+
rowDataChange: import("..").RequiredProp<import("vue").PropType<(_value: any, _name?: string | undefined) => Promise<void>>, undefined, undefined>;
|
|
37
|
+
rowSave: import("..").RequiredProp<import("vue").PropType<() => Promise<void>>, undefined, undefined>;
|
|
38
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
40
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
readonly: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
autoFocus: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/props/editor/slider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAGhE;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,CAAC,GAAG,sBAAsB;;;;;;;;;;;;;;;EAExD;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,GAAG,sBAAsB;;;;;;;;;;;;;;;;;;;;EAE5D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
+
/**
|
|
3
|
+
* 获取滑动输入条的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export function getSliderProps() {
|
|
10
|
+
return Object.assign(Object.assign({}, getEditorProps()), { value: [String, Number] });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 获取表格滑动输入条的props
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @template C
|
|
17
|
+
* @returns {*}
|
|
18
|
+
*/
|
|
19
|
+
export function getGridSliderProps() {
|
|
20
|
+
return Object.assign(Object.assign({}, getSliderProps()), getGridEditorCommonProps());
|
|
21
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { StepperEditorController } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 获取步进器的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export declare function getStepperProps<C = StepperEditorController>(): {
|
|
10
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
11
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
12
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
13
|
+
disabled: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
};
|
|
16
|
+
readonly: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
autoFocus: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 获取表格步进器的props
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @template C
|
|
30
|
+
* @returns {*}
|
|
31
|
+
*/
|
|
32
|
+
export declare function getGridStepperProps<C = StepperEditorController>(): {
|
|
33
|
+
infoMode: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
};
|
|
36
|
+
rowDataChange: import("..").RequiredProp<import("vue").PropType<(_value: any, _name?: string | undefined) => Promise<void>>, undefined, undefined>;
|
|
37
|
+
rowSave: import("..").RequiredProp<import("vue").PropType<() => Promise<void>>, undefined, undefined>;
|
|
38
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
40
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
readonly: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
autoFocus: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=stepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../../src/props/editor/stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAGjE;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,GAAG,uBAAuB;;;;;;;;;;;;;;;EAE1D;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,GAAG,uBAAuB;;;;;;;;;;;;;;;;;;;;EAE9D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
+
/**
|
|
3
|
+
* 获取步进器的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export function getStepperProps() {
|
|
10
|
+
return Object.assign(Object.assign({}, getEditorProps()), { value: [String, Number] });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 获取表格步进器的props
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @template C
|
|
17
|
+
* @returns {*}
|
|
18
|
+
*/
|
|
19
|
+
export function getGridStepperProps() {
|
|
20
|
+
return Object.assign(Object.assign({}, getStepperProps()), getGridEditorCommonProps());
|
|
21
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { SwitchEditorController } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 获取开关的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export declare function getSwitchProps<C = SwitchEditorController>(): {
|
|
10
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
11
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
12
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
13
|
+
disabled: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
};
|
|
16
|
+
readonly: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
autoFocus: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 获取表格步进器的props
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @template C
|
|
30
|
+
* @returns {*}
|
|
31
|
+
*/
|
|
32
|
+
export declare function getGridSwitchProps<C = SwitchEditorController>(): {
|
|
33
|
+
infoMode: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
};
|
|
36
|
+
rowDataChange: import("..").RequiredProp<import("vue").PropType<(_value: any, _name?: string | undefined) => Promise<void>>, undefined, undefined>;
|
|
37
|
+
rowSave: import("..").RequiredProp<import("vue").PropType<() => Promise<void>>, undefined, undefined>;
|
|
38
|
+
value: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
controller: import("..").RequiredProp<import("vue").PropType<C>, undefined, undefined>;
|
|
40
|
+
data: import("..").RequiredProp<import("vue").PropType<IData>, undefined, undefined>;
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
readonly: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
autoFocus: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/props/editor/switch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAGhE;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,CAAC,GAAG,sBAAsB;;;;;;;;;;;;;;;EAExD;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,GAAG,sBAAsB;;;;;;;;;;;;;;;;;;;;EAE5D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
+
/**
|
|
3
|
+
* 获取开关的props
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @template C
|
|
7
|
+
* @returns {*}
|
|
8
|
+
*/
|
|
9
|
+
export function getSwitchProps() {
|
|
10
|
+
return Object.assign(Object.assign({}, getEditorProps()), { value: [String, Number] });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 获取表格步进器的props
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @template C
|
|
17
|
+
* @returns {*}
|
|
18
|
+
*/
|
|
19
|
+
export function getGridSwitchProps() {
|
|
20
|
+
return Object.assign(Object.assign({}, getSwitchProps()), getGridEditorCommonProps());
|
|
21
|
+
}
|
package/out/use/route/route.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
2
|
+
import { Ref } from 'vue';
|
|
1
3
|
/**
|
|
2
4
|
* 获取路由上下文参数
|
|
3
5
|
*
|
|
@@ -16,4 +18,15 @@ export declare function useRouterContext(): IContext;
|
|
|
16
18
|
* @return {*} {IParams}
|
|
17
19
|
*/
|
|
18
20
|
export declare function useRouterQuery(): IParams;
|
|
21
|
+
/**
|
|
22
|
+
* 监听普通的key变更,在路由下次更新后再改变赋给新的RouteKey
|
|
23
|
+
* 第一次默认值会直接赋给routeKey
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @param {Ref<string>} originKey 监听的原始Ref
|
|
27
|
+
* @param {RouteLocationNormalizedLoaded} route 路由
|
|
28
|
+
* @param {Ref<string>} [routeKey] 预先提供的转换后的Ref
|
|
29
|
+
* @returns {*} {Ref<string>}
|
|
30
|
+
*/
|
|
31
|
+
export declare function useRouteKey(originKey: Ref<string>, route: RouteLocationNormalizedLoaded, routeKey?: Ref<string>): Ref<string>;
|
|
19
32
|
//# sourceMappingURL=route.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../src/use/route/route.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../src/use/route/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAY,MAAM,YAAY,CAAC;AAErE,OAAO,EAAO,GAAG,EAAS,MAAM,KAAK,CAAC;AAGtC;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,IAAI,QAAQ,CAiB3C;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAIxC;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACzB,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,EACtB,KAAK,EAAE,6BAA6B,EACpC,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GACrB,GAAG,CAAC,MAAM,CAAC,CAcb"}
|
package/out/use/route/route.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { useRoute } from 'vue-router';
|
|
2
2
|
import qs from 'qs';
|
|
3
|
+
import { ref, watch } from 'vue';
|
|
4
|
+
import { RouteListener } from '../../util';
|
|
3
5
|
/**
|
|
4
6
|
* 获取路由上下文参数
|
|
5
7
|
*
|
|
@@ -37,3 +39,28 @@ export function useRouterQuery() {
|
|
|
37
39
|
const { query } = route;
|
|
38
40
|
return query;
|
|
39
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* 监听普通的key变更,在路由下次更新后再改变赋给新的RouteKey
|
|
44
|
+
* 第一次默认值会直接赋给routeKey
|
|
45
|
+
*
|
|
46
|
+
* @export
|
|
47
|
+
* @param {Ref<string>} originKey 监听的原始Ref
|
|
48
|
+
* @param {RouteLocationNormalizedLoaded} route 路由
|
|
49
|
+
* @param {Ref<string>} [routeKey] 预先提供的转换后的Ref
|
|
50
|
+
* @returns {*} {Ref<string>}
|
|
51
|
+
*/
|
|
52
|
+
export function useRouteKey(originKey, route, routeKey) {
|
|
53
|
+
if (!routeKey) {
|
|
54
|
+
routeKey = ref('');
|
|
55
|
+
}
|
|
56
|
+
routeKey.value = originKey.value;
|
|
57
|
+
const routeListener = new RouteListener(route);
|
|
58
|
+
watch(originKey, (newVal, oldVal) => {
|
|
59
|
+
if (newVal !== oldVal) {
|
|
60
|
+
routeListener.nextChange(() => {
|
|
61
|
+
routeKey.value = newVal;
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
return routeKey;
|
|
66
|
+
}
|
package/out/use/view/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export { useEditViewController } from './use-edit-view/use-edit-view';
|
|
|
4
4
|
export { useEditView3Controller } from './use-edit-view3/use-edit-view3';
|
|
5
5
|
export { useOptViewController } from './use-opt-view/use-opt-view';
|
|
6
6
|
export { useGridViewController } from './use-grid-view/use-grid-view';
|
|
7
|
+
export { useDataViewViewController } from './use-dataview-view/use-dataview-view';
|
|
8
|
+
export { useListViewController } from './use-list-view/use-list-view';
|
|
7
9
|
export { usePickupGridViewController } from './use-pickup-grid-view/use-pickup-grid-view';
|
|
8
10
|
export { usePickupViewController } from './use-pickup-view/use-pickup-view';
|
|
9
11
|
export { useMPickupViewController } from './use-mpickup-view/use-mpickup-view';
|
|
@@ -14,4 +16,9 @@ export { useWFStepTraceViewController } from './use-wf-step-trace-view/use-wf-st
|
|
|
14
16
|
export { useAppPortalViewController } from './use-app-portal-view/use-app-portal-view';
|
|
15
17
|
export { useTreeExpViewController } from './use-tree-exp-view/use-tree-exp-view';
|
|
16
18
|
export { useTabExpViewController } from './use-tab-exp-view/use-tab-exp-view';
|
|
19
|
+
export { useGridExpViewController } from './use-grid-exp-view/use-grid-exp-view';
|
|
20
|
+
export { useDashboardViewController } from './use-dashboard-view/use-dashboard-view';
|
|
21
|
+
export { useWizardViewController } from './use-wizard-view/use-wizard-view';
|
|
22
|
+
export { useListExpViewController } from './use-list-exp-view/use-list-exp-view';
|
|
23
|
+
export { useKanbanViewController } from './use-kanban-view/use-kanban-view';
|
|
17
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/use/view/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AAC/F,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/use/view/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AAC/F,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC"}
|
package/out/use/view/index.js
CHANGED
|
@@ -4,6 +4,8 @@ export { useEditViewController } from './use-edit-view/use-edit-view';
|
|
|
4
4
|
export { useEditView3Controller } from './use-edit-view3/use-edit-view3';
|
|
5
5
|
export { useOptViewController } from './use-opt-view/use-opt-view';
|
|
6
6
|
export { useGridViewController } from './use-grid-view/use-grid-view';
|
|
7
|
+
export { useDataViewViewController } from './use-dataview-view/use-dataview-view';
|
|
8
|
+
export { useListViewController } from './use-list-view/use-list-view';
|
|
7
9
|
export { usePickupGridViewController } from './use-pickup-grid-view/use-pickup-grid-view';
|
|
8
10
|
export { usePickupViewController } from './use-pickup-view/use-pickup-view';
|
|
9
11
|
export { useMPickupViewController } from './use-mpickup-view/use-mpickup-view';
|
|
@@ -14,3 +16,8 @@ export { useWFStepTraceViewController } from './use-wf-step-trace-view/use-wf-st
|
|
|
14
16
|
export { useAppPortalViewController } from './use-app-portal-view/use-app-portal-view';
|
|
15
17
|
export { useTreeExpViewController } from './use-tree-exp-view/use-tree-exp-view';
|
|
16
18
|
export { useTabExpViewController } from './use-tab-exp-view/use-tab-exp-view';
|
|
19
|
+
export { useGridExpViewController } from './use-grid-exp-view/use-grid-exp-view';
|
|
20
|
+
export { useDashboardViewController } from './use-dashboard-view/use-dashboard-view';
|
|
21
|
+
export { useWizardViewController } from './use-wizard-view/use-wizard-view';
|
|
22
|
+
export { useListExpViewController } from './use-list-exp-view/use-list-exp-view';
|
|
23
|
+
export { useKanbanViewController } from './use-kanban-view/use-kanban-view';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DashboardViewController } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 实体数据看板视图控制器
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2022-08-15 17:08:10
|
|
7
|
+
* @export
|
|
8
|
+
* @param {string} path
|
|
9
|
+
* @return {*} {DashboardViewController}
|
|
10
|
+
*/
|
|
11
|
+
export declare function useDashboardViewController(path: string): DashboardViewController;
|
|
12
|
+
//# sourceMappingURL=use-dashboard-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dashboard-view.d.ts","sourceRoot":"","sources":["../../../../src/use/view/use-dashboard-view/use-dashboard-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAGjE;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,MAAM,GACX,uBAAuB,CAMzB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DashboardViewController } from '@ibiz-template/runtime';
|
|
2
|
+
import { useViewController } from '../use-view-controller/use-view-controller';
|
|
3
|
+
/**
|
|
4
|
+
* 实体数据看板视图控制器
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2022-08-15 17:08:10
|
|
8
|
+
* @export
|
|
9
|
+
* @param {string} path
|
|
10
|
+
* @return {*} {DashboardViewController}
|
|
11
|
+
*/
|
|
12
|
+
export function useDashboardViewController(path) {
|
|
13
|
+
return useViewController((context, params) => {
|
|
14
|
+
return new DashboardViewController(path, context, params);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DataViewViewController } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 数据视图控制器
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2022-08-15 17:08:01
|
|
7
|
+
* @export
|
|
8
|
+
* @param {string} path
|
|
9
|
+
* @return {*} {DataViewViewController}
|
|
10
|
+
*/
|
|
11
|
+
export declare function useDataViewViewController(path: string): DataViewViewController;
|
|
12
|
+
//# sourceMappingURL=use-dataview-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-dataview-view.d.ts","sourceRoot":"","sources":["../../../../src/use/view/use-dataview-view/use-dataview-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAGhE;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,MAAM,GACX,sBAAsB,CAMxB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DataViewViewController } from '@ibiz-template/runtime';
|
|
2
|
+
import { useViewController } from '../use-view-controller/use-view-controller';
|
|
3
|
+
/**
|
|
4
|
+
* 数据视图控制器
|
|
5
|
+
*
|
|
6
|
+
* @author chitanda
|
|
7
|
+
* @date 2022-08-15 17:08:01
|
|
8
|
+
* @export
|
|
9
|
+
* @param {string} path
|
|
10
|
+
* @return {*} {DataViewViewController}
|
|
11
|
+
*/
|
|
12
|
+
export function useDataViewViewController(path) {
|
|
13
|
+
return useViewController((context, params) => {
|
|
14
|
+
return new DataViewViewController(path, context, params);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GridExpViewController } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 表格导航视图控制器
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @param {string} path
|
|
7
|
+
* @return {*} {GridExpViewController}
|
|
8
|
+
*/
|
|
9
|
+
export declare function useGridExpViewController(path: string): GridExpViewController;
|
|
10
|
+
//# sourceMappingURL=use-grid-exp-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-grid-exp-view.d.ts","sourceRoot":"","sources":["../../../../src/use/view/use-grid-exp-view/use-grid-exp-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAG/D;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,qBAAqB,CAM5E"}
|