@juzhenfe/page-model 3.21.14 → 3.22.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/index.es.js +9723 -14542
- package/dist/index.min.css +2 -1
- package/dist/index.umd.js +2 -7
- package/dist/{components → src/components}/buttons-renderer/utils/index.d.ts +2 -2
- package/dist/{components → src/components}/editable-table/index.d.ts +15 -14
- package/dist/{components → src/components}/form/components/column-tools/use-setting.d.ts +14 -14
- package/dist/src/components/form/components/section-config/merge.d.ts +3 -0
- package/dist/src/components/form/components/section-config/use.d.ts +14 -0
- package/dist/{components → src/components}/form/constructor.d.ts +83 -82
- package/dist/{components → src/components}/form/index.d.ts +5 -4
- package/dist/{components → src/components}/form/utils/save-columns.d.ts +30 -30
- package/dist/{components → src/components}/form/utils/use-form-els.d.ts +4 -4
- package/dist/{components → src/components}/form-dialog/use-move.d.ts +19 -19
- package/dist/{components → src/components}/page-model/components/top-tabs/constructor.d.ts +12 -11
- package/dist/{components → src/components}/page-model/constructor.d.ts +163 -162
- package/dist/{components → src/components}/page-model/index.d.ts +6 -5
- package/dist/{components → src/components}/page-model/patches/patch-config-urls.d.ts +2 -2
- package/dist/{components → src/components}/page-model/patches/patch-default-config.d.ts +2 -2
- package/dist/{components → src/components}/page-model/patches/patch-selectable.d.ts +2 -2
- package/dist/{components → src/components}/page-model/patches/patch-size.d.ts +2 -2
- package/dist/{components → src/components}/page-model/patches/patch-table-dragable.d.ts +2 -2
- package/dist/{components → src/components}/page-model/patches/patch-user-config.d.ts +2 -2
- package/dist/{components → src/components}/page-model/utils/default-config.d.ts +1 -1
- package/dist/{components → src/components}/page-model/utils/default-excel-export-config.d.ts +1 -1
- package/dist/{components → src/components}/page-model/utils/default-style-config.d.ts +1 -1
- package/dist/{components → src/components}/page-model/utils/default-text-config.d.ts +1 -1
- package/dist/{components → src/components}/page-model/utils/default-user-setting.d.ts +1 -1
- package/dist/{components → src/components}/page-model/utils/error-handler.d.ts +1 -1
- package/dist/{components → src/components}/page-model/utils/manager-controller.d.ts +49 -51
- package/dist/{components → src/components}/page-model/utils/patch-config.d.ts +3 -2
- package/dist/{components → src/components}/page-model/utils/use-auth-buttons.d.ts +9 -8
- package/dist/{components → src/components}/page-model/utils/use-keyboard-event.d.ts +9 -9
- package/dist/{components → src/components}/search-form/constructor.d.ts +24 -23
- package/dist/{components → src/components}/search-form/use-detect-item-width.d.ts +7 -6
- package/dist/{components → src/components}/table/components/column-tools/use-setting.d.ts +14 -14
- package/dist/{components → src/components}/table/components/column-tools/use-user-config.d.ts +14 -14
- package/dist/{components → src/components}/table/components/column-tools/use-user-show-row-config.d.ts +35 -35
- package/dist/{components → src/components}/table/components/export-form/use.d.ts +18 -17
- package/dist/{components → src/components}/table/components/selections-table/use.d.ts +15 -15
- package/dist/{components → src/components}/table/components/table-column/components/filter-zone/utils/index.d.ts +69 -69
- package/dist/{components → src/components}/table/constructor.d.ts +347 -339
- package/dist/{components → src/components}/table/utils/save-column-filter.d.ts +2 -2
- package/dist/{components → src/components}/table/utils/save-column-sort.d.ts +2 -2
- package/dist/{components → src/components}/table/utils/save-columns.d.ts +38 -38
- package/dist/{components → src/components}/table/utils/save-config.d.ts +6 -6
- package/dist/{components → src/components}/table/utils/use-column-drag.d.ts +8 -8
- package/dist/{components → src/components}/table/utils/use-listen-scroll.d.ts +7 -9
- package/dist/{components → src/components}/table/utils/use-static-summary.d.ts +13 -15
- package/dist/{components → src/components}/table/utils/use-table-config-change.d.ts +7 -9
- package/dist/{components → src/components}/table/utils/use-table-els.d.ts +6 -8
- package/dist/{main.d.ts → src/main.d.ts} +22 -21
- package/dist/{utils → src/utils}/config-saver.d.ts +51 -51
- package/dist/{utils → src/utils}/define-config.d.ts +3 -2
- package/dist/{utils → src/utils}/event-chain.d.ts +9 -9
- package/dist/{utils → src/utils}/event-emitter.d.ts +7 -7
- package/dist/{utils → src/utils}/index.d.ts +103 -102
- package/dist/src/utils/infinite-table.d.ts +49 -0
- package/dist/{utils → src/utils}/manager.d.ts +17 -16
- package/dist/{utils → src/utils}/provide-keys.d.ts +20 -20
- package/dist/{utils → src/utils}/reflect/index.d.ts +17 -16
- package/dist/{utils → src/utils}/reflect/reflect-collector.d.ts +25 -25
- package/dist/{utils → src/utils}/resize.d.ts +4 -3
- package/package.json +5 -6
- package/dist/components/buttons-renderer/components/button-item-render/index.vue.d.ts +0 -35
- package/dist/components/buttons-renderer/index.vue.d.ts +0 -85
- package/dist/components/column-filter-tools/index.vue.d.ts +0 -148
- package/dist/components/column-sort-tools/index.vue.d.ts +0 -170
- package/dist/components/draggable-list/index.vue.d.ts +0 -39
- package/dist/components/editable-table/components/table-cell/index.vue.d.ts +0 -12
- package/dist/components/form/components/col-container/components/module-container/index.vue.d.ts +0 -156
- package/dist/components/form/components/col-container/components/section-title-els/index.vue.d.ts +0 -45
- package/dist/components/form/components/col-container/components/tabs-mode-container/index.vue.d.ts +0 -100
- package/dist/components/form/components/col-container/index.vue.d.ts +0 -236
- package/dist/components/form/components/container-component/index.vue.d.ts +0 -281
- package/dist/components/form/type.d.ts +0 -167
- package/dist/components/form-container/components/dialog-mode/index.vue.d.ts +0 -116
- package/dist/components/form-container/components/drawer-mode/index.vue.d.ts +0 -123
- package/dist/components/form-container/components/full-page/index.vue.d.ts +0 -39
- package/dist/components/form-container/index.vue.d.ts +0 -35
- package/dist/components/form-dialog/index.vue.d.ts +0 -79
- package/dist/components/form-drawer/index.vue.d.ts +0 -83
- package/dist/components/form-item-renderer/index.vue.d.ts +0 -74
- package/dist/components/line-clamp-tools/index.vue.d.ts +0 -103
- package/dist/components/normal-tab/index.vue.d.ts +0 -35
- package/dist/components/normal-tab/type.d.ts +0 -18
- package/dist/components/page-model/components/selectable-operate/index.vue.d.ts +0 -120
- package/dist/components/page-model/components/top-tabs/index.vue.d.ts +0 -42
- package/dist/components/page-model/components/top-tabs/type.d.ts +0 -11
- package/dist/components/page-model/index.vue.d.ts +0 -2
- package/dist/components/page-model/type.d.ts +0 -344
- package/dist/components/scenes-tab/index.vue.d.ts +0 -4
- package/dist/components/scenes-tab/type.d.ts +0 -14
- package/dist/components/search-form/components/search-form-full/index.vue.d.ts +0 -174
- package/dist/components/search-form/type.d.ts +0 -42
- package/dist/components/simple-popover/index.vue.d.ts +0 -68
- package/dist/components/table/components/context-column-summary/index.vue.d.ts +0 -102
- package/dist/components/table/components/context-menu/index.vue.d.ts +0 -184
- package/dist/components/table/components/empty-data/index.vue.d.ts +0 -12
- package/dist/components/table/components/selections-table/index.vue.d.ts +0 -2
- package/dist/components/table/components/table-column/components/filter-zone/index.vue.d.ts +0 -109
- package/dist/components/table/components/table-column/index.vue.d.ts +0 -338
- package/dist/components/table/components/table-wrap/index.vue.d.ts +0 -16
- package/dist/components/table/index.vue.d.ts +0 -2
- package/dist/components/table/type.d.ts +0 -360
- package/dist/components/table-cell-renderer/index.vue.d.ts +0 -57
- package/dist/components/table-toolsbox/index.vue.d.ts +0 -101
- package/dist/types/common.d.ts +0 -484
- package/dist/types/form-item-types/cascader.d.ts +0 -38
- package/dist/types/form-item-types/checkbox-group.d.ts +0 -19
- package/dist/types/form-item-types/color-picker.d.ts +0 -21
- package/dist/types/form-item-types/date-picker.d.ts +0 -46
- package/dist/types/form-item-types/input-number.d.ts +0 -15
- package/dist/types/form-item-types/input.d.ts +0 -16
- package/dist/types/form-item-types/jz-a-map.d.ts +0 -14
- package/dist/types/form-item-types/jz-cascader.d.ts +0 -20
- package/dist/types/form-item-types/jz-city-picker.d.ts +0 -27
- package/dist/types/form-item-types/jz-ck-editor.d.ts +0 -27
- package/dist/types/form-item-types/jz-editor.d.ts +0 -20
- package/dist/types/form-item-types/jz-file-upload.d.ts +0 -20
- package/dist/types/form-item-types/jz-img-upload.d.ts +0 -23
- package/dist/types/form-item-types/jz-long-input.d.ts +0 -10
- package/dist/types/form-item-types/jz-td-map.d.ts +0 -13
- package/dist/types/form-item-types/no-e-type.d.ts +0 -12
- package/dist/types/form-item-types/radio-group.d.ts +0 -17
- package/dist/types/form-item-types/rate.d.ts +0 -30
- package/dist/types/form-item-types/select-v2.d.ts +0 -47
- package/dist/types/form-item-types/select.d.ts +0 -43
- package/dist/types/form-item-types/slider.d.ts +0 -31
- package/dist/types/form-item-types/switch.d.ts +0 -14
- package/dist/types/form-item-types/time-picker.d.ts +0 -41
- package/dist/types/form-item-types/time-select.d.ts +0 -30
- package/dist/types/renderer.d.ts +0 -9
- package/dist/types/shims-vue-property.d.ts +0 -7
- package/dist/types/shims-vue.d.ts +0 -7
- package/dist/types/window.d.ts +0 -10
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import PageModelManager from
|
|
2
|
-
import { ComponentPublicInstance } from
|
|
3
|
-
import Reflections from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
abstract
|
|
11
|
-
abstract
|
|
12
|
-
abstract
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { default as PageModelManager } from '../components/page-model/constructor';
|
|
2
|
+
import { ComponentPublicInstance } from 'vue';
|
|
3
|
+
import { default as Reflections } from './reflect';
|
|
4
|
+
|
|
5
|
+
export default abstract class IManager extends Reflections {
|
|
6
|
+
config: PageModel.UConfig;
|
|
7
|
+
context: ComponentPublicInstance;
|
|
8
|
+
manager: PageModelManager;
|
|
9
|
+
updateConfig(config: PageModel.UConfig): void;
|
|
10
|
+
abstract onConfigUpdated(config: PageModel.UConfig): void;
|
|
11
|
+
abstract updateContext(context: ComponentPublicInstance): void;
|
|
12
|
+
abstract register(manager: PageModelManager): void;
|
|
13
|
+
abstract getReqParams(...rest: any[]): AnyObject;
|
|
14
|
+
staticData: AnyObject;
|
|
15
|
+
updateStaticData(data: AnyObject): void;
|
|
16
|
+
destroy(): void;
|
|
17
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description provide keys
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* 表单组件
|
|
6
|
-
*/
|
|
7
|
-
declare const formManagerProvideKey: unique symbol;
|
|
8
|
-
/**
|
|
9
|
-
* 注册属性
|
|
10
|
-
*/
|
|
11
|
-
declare const registerPropertyProvideKey: unique symbol;
|
|
12
|
-
/**
|
|
13
|
-
* 是否开启授权按钮
|
|
14
|
-
*/
|
|
15
|
-
declare const isOpenAuthButtonProvideKey: unique symbol;
|
|
16
|
-
/**
|
|
17
|
-
* 授权按钮
|
|
18
|
-
*/
|
|
19
|
-
declare const authButtonsProvideKey: unique symbol;
|
|
20
|
-
export { formManagerProvideKey, registerPropertyProvideKey, isOpenAuthButtonProvideKey, authButtonsProvideKey };
|
|
1
|
+
/**
|
|
2
|
+
* @description provide keys
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* 表单组件
|
|
6
|
+
*/
|
|
7
|
+
declare const formManagerProvideKey: unique symbol;
|
|
8
|
+
/**
|
|
9
|
+
* 注册属性
|
|
10
|
+
*/
|
|
11
|
+
declare const registerPropertyProvideKey: unique symbol;
|
|
12
|
+
/**
|
|
13
|
+
* 是否开启授权按钮
|
|
14
|
+
*/
|
|
15
|
+
declare const isOpenAuthButtonProvideKey: unique symbol;
|
|
16
|
+
/**
|
|
17
|
+
* 授权按钮
|
|
18
|
+
*/
|
|
19
|
+
declare const authButtonsProvideKey: unique symbol;
|
|
20
|
+
export { formManagerProvideKey, registerPropertyProvideKey, isOpenAuthButtonProvideKey, authButtonsProvideKey };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { WatchStopHandle } from
|
|
2
|
-
import ReflectRelation from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { WatchStopHandle } from 'vue';
|
|
2
|
+
import { default as ReflectRelation } from './reflect-collector';
|
|
3
|
+
|
|
4
|
+
declare type ReflectionWatch = WatchStopHandle & {
|
|
5
|
+
reflect: ReflectRelation;
|
|
6
|
+
};
|
|
7
|
+
export default class Reflections {
|
|
8
|
+
reflections: PageModel.Reflections;
|
|
9
|
+
reflectionWatch: ReflectionWatch;
|
|
10
|
+
isInitReflectionsDataWatch: boolean;
|
|
11
|
+
updateReflectionsData(reflections: PageModel.Reflections): void;
|
|
12
|
+
initReflect(target: AnyObject): boolean;
|
|
13
|
+
initReflectionsKeyWatch(target: AnyObject): void;
|
|
14
|
+
destroyReflect(): void;
|
|
15
|
+
unwatch(): void;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file 检测到目标对象里存在key为_reflect的对象,则收集当前对象的路径,以当前对象key为_reflectChangeKey的值(default: list)进行存储路径数组(二维,可能存在多对一)
|
|
3
|
-
* @function collectRelations 负责收集路径
|
|
4
|
-
* @function getRelations 负责获取路径
|
|
5
|
-
* @author yangshangman
|
|
6
|
-
*/
|
|
7
|
-
interface propKeys extends Array<any> {
|
|
8
|
-
[x: string]: any;
|
|
9
|
-
[index: number]: string | number;
|
|
10
|
-
}
|
|
11
|
-
type reflectRelations = {
|
|
12
|
-
[key: string]: Array<propKeys>;
|
|
13
|
-
};
|
|
14
|
-
export default class ReflectRelation {
|
|
15
|
-
reflectRelations: reflectRelations | null;
|
|
16
|
-
constructor();
|
|
17
|
-
/**
|
|
18
|
-
* @description 收集关系依赖
|
|
19
|
-
* @param config 收集对象
|
|
20
|
-
*/
|
|
21
|
-
collectRelations(config: AnyObject): void;
|
|
22
|
-
getRelations(key: string): propKeys[];
|
|
23
|
-
destroy(): void;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @file 检测到目标对象里存在key为_reflect的对象,则收集当前对象的路径,以当前对象key为_reflectChangeKey的值(default: list)进行存储路径数组(二维,可能存在多对一)
|
|
3
|
+
* @function collectRelations 负责收集路径
|
|
4
|
+
* @function getRelations 负责获取路径
|
|
5
|
+
* @author yangshangman
|
|
6
|
+
*/
|
|
7
|
+
interface propKeys extends Array<any> {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
[index: number]: string | number;
|
|
10
|
+
}
|
|
11
|
+
declare type reflectRelations = {
|
|
12
|
+
[key: string]: Array<propKeys>;
|
|
13
|
+
};
|
|
14
|
+
export default class ReflectRelation {
|
|
15
|
+
reflectRelations: reflectRelations | null;
|
|
16
|
+
constructor();
|
|
17
|
+
/**
|
|
18
|
+
* @description 收集关系依赖
|
|
19
|
+
* @param config 收集对象
|
|
20
|
+
*/
|
|
21
|
+
collectRelations(config: AnyObject): void;
|
|
22
|
+
getRelations(key: string): propKeys[];
|
|
23
|
+
destroy(): void;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import EventEmitter from
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { default as EventEmitter } from './event-emitter';
|
|
2
|
+
|
|
3
|
+
declare const windowResize: EventEmitter<"resize">;
|
|
4
|
+
export default windowResize;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juzhenfe/page-model",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.1",
|
|
4
4
|
"types": "dist/main.d.ts",
|
|
5
5
|
"main": "dist/index.umd.js",
|
|
6
6
|
"keywords": [
|
|
@@ -25,8 +25,6 @@
|
|
|
25
25
|
"@juzhenfe/modules": "^2.3.4",
|
|
26
26
|
"@juzhenfe/request": "^1.8.6",
|
|
27
27
|
"@types/node": "^22.5.0",
|
|
28
|
-
"@vitejs/plugin-vue": "1.10.2",
|
|
29
|
-
"@vitejs/plugin-vue-jsx": "1.3.5",
|
|
30
28
|
"@vue/compiler-sfc": "3.2.30",
|
|
31
29
|
"core-js": "3.21.0",
|
|
32
30
|
"cross-env": "7.0.3",
|
|
@@ -37,14 +35,15 @@
|
|
|
37
35
|
"sass": "^1.55.0",
|
|
38
36
|
"tslib": "2.3.1",
|
|
39
37
|
"typescript": "4.5.5",
|
|
40
|
-
"vite": "
|
|
41
|
-
"vite-plugin-dts": "^
|
|
38
|
+
"vite": "^8.0.1",
|
|
39
|
+
"vite-plugin-dts": "^4.5.4",
|
|
40
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
41
|
+
"@vitejs/plugin-vue-jsx": "^5.1.5",
|
|
42
42
|
"vue-router": "^4.0.13",
|
|
43
43
|
"xlsx": "^0.18.3",
|
|
44
44
|
"xlsx-style": "^0.8.13"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@juzhenfe/page-model": "^3.18.98",
|
|
48
47
|
"clipboard": "2.0.10",
|
|
49
48
|
"lodash-es": "^4.17.21",
|
|
50
49
|
"sortablejs": "^1.15.0"
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: {
|
|
2
|
-
name: string;
|
|
3
|
-
props: {
|
|
4
|
-
/**
|
|
5
|
-
* 渲染文本
|
|
6
|
-
*/
|
|
7
|
-
text: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* 自定义渲染
|
|
13
|
-
*/
|
|
14
|
-
renderFn: {
|
|
15
|
-
type: FunctionConstructor;
|
|
16
|
-
default: any;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* 渲染上下文
|
|
20
|
-
*/
|
|
21
|
-
context: {
|
|
22
|
-
type: ObjectConstructor;
|
|
23
|
-
default: any;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* 执行数据
|
|
27
|
-
*/
|
|
28
|
-
executeData: {
|
|
29
|
-
type: ArrayConstructor;
|
|
30
|
-
default: () => any[];
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
render(): any;
|
|
34
|
-
};
|
|
35
|
-
export default _sfc_main;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { Ref } from "vue";
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
els: {
|
|
4
|
-
type: ArrayConstructor;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
context: {
|
|
8
|
-
type: any;
|
|
9
|
-
required: false;
|
|
10
|
-
};
|
|
11
|
-
executeData: {
|
|
12
|
-
type: ArrayConstructor;
|
|
13
|
-
required: false;
|
|
14
|
-
default: () => any[];
|
|
15
|
-
};
|
|
16
|
-
direction: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
required: false;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
}>, {
|
|
22
|
-
props: any;
|
|
23
|
-
isOpenAuthButton: Ref<boolean, boolean>;
|
|
24
|
-
authButtons: Ref<string[], string[]>;
|
|
25
|
-
showEls: import("vue").ComputedRef<any>;
|
|
26
|
-
BEMSpace: string;
|
|
27
|
-
createBEMName: (name: string) => string;
|
|
28
|
-
emit: (event: "add" | "upd" | "del" | "custom" | "count-change", ...args: any[]) => void;
|
|
29
|
-
handleCommand: (command: string) => void;
|
|
30
|
-
handleButtonClick: (index: number) => void;
|
|
31
|
-
readonly ArrowDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
-
ButtonItemRender: {
|
|
33
|
-
name: string;
|
|
34
|
-
props: {
|
|
35
|
-
text: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
renderFn: {
|
|
40
|
-
type: FunctionConstructor;
|
|
41
|
-
default: any;
|
|
42
|
-
};
|
|
43
|
-
context: {
|
|
44
|
-
type: ObjectConstructor;
|
|
45
|
-
default: any;
|
|
46
|
-
};
|
|
47
|
-
executeData: {
|
|
48
|
-
type: ArrayConstructor;
|
|
49
|
-
default: () => any[];
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
render(): any;
|
|
53
|
-
};
|
|
54
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("add" | "upd" | "del" | "custom" | "count-change")[], "add" | "upd" | "del" | "custom" | "count-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
-
els: {
|
|
56
|
-
type: ArrayConstructor;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
context: {
|
|
60
|
-
type: any;
|
|
61
|
-
required: false;
|
|
62
|
-
};
|
|
63
|
-
executeData: {
|
|
64
|
-
type: ArrayConstructor;
|
|
65
|
-
required: false;
|
|
66
|
-
default: () => any[];
|
|
67
|
-
};
|
|
68
|
-
direction: {
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
required: false;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
}>> & Readonly<{
|
|
74
|
-
onAdd?: (...args: any[]) => any;
|
|
75
|
-
onUpd?: (...args: any[]) => any;
|
|
76
|
-
onDel?: (...args: any[]) => any;
|
|
77
|
-
onImport?: (...args: any[]) => any;
|
|
78
|
-
onCustom?: (...args: any[]) => any;
|
|
79
|
-
"onCount-change"?: (...args: any[]) => any;
|
|
80
|
-
}>, {
|
|
81
|
-
context: any;
|
|
82
|
-
executeData: unknown[];
|
|
83
|
-
direction: string;
|
|
84
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
85
|
-
export default _sfc_main;
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { FilterItemTypeEnum, FilterMatchModeEnum } from "../table/components/table-column/components/filter-zone/utils/index";
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
manager: {
|
|
4
|
-
type: any;
|
|
5
|
-
required: false;
|
|
6
|
-
};
|
|
7
|
-
}>, {
|
|
8
|
-
props: any;
|
|
9
|
-
emit: (event: "closed" | "screen", ...args: any[]) => void;
|
|
10
|
-
BEMSpace: string;
|
|
11
|
-
createBEMName: (name: string) => string;
|
|
12
|
-
filterColumnList: import("vue").Ref<any[], any[]>;
|
|
13
|
-
filterList: import("vue").Ref<{
|
|
14
|
-
prop: string;
|
|
15
|
-
filterType?: FilterItemTypeEnum;
|
|
16
|
-
filterLabel?: string;
|
|
17
|
-
filterOptions?: {
|
|
18
|
-
label: string;
|
|
19
|
-
value: string | number | boolean;
|
|
20
|
-
}[];
|
|
21
|
-
condition?: FilterMatchModeEnum;
|
|
22
|
-
value?: any;
|
|
23
|
-
}[], PageModel.TableColumnParamsItem[] | {
|
|
24
|
-
prop: string;
|
|
25
|
-
filterType?: FilterItemTypeEnum;
|
|
26
|
-
filterLabel?: string;
|
|
27
|
-
filterOptions?: {
|
|
28
|
-
label: string;
|
|
29
|
-
value: string | number | boolean;
|
|
30
|
-
}[];
|
|
31
|
-
condition?: FilterMatchModeEnum;
|
|
32
|
-
value?: any;
|
|
33
|
-
}[]>;
|
|
34
|
-
simplePopoverRef: import("vue").Ref<any, any>;
|
|
35
|
-
getAddFilterItem: (columnEl: any) => {
|
|
36
|
-
prop: string;
|
|
37
|
-
filterType: any;
|
|
38
|
-
filterLabel: any;
|
|
39
|
-
filterOptions: any[];
|
|
40
|
-
condition: FilterMatchModeEnum;
|
|
41
|
-
value: any;
|
|
42
|
-
};
|
|
43
|
-
handleAddItem: () => Promise<void>;
|
|
44
|
-
showPopover: (element: HTMLElement) => void;
|
|
45
|
-
hidePopover: () => void;
|
|
46
|
-
handleFieldChange: (index: number, prop: string) => Promise<void>;
|
|
47
|
-
handleClearSelect: (item: any) => void;
|
|
48
|
-
handleSelectAll: (item: any) => void;
|
|
49
|
-
handleRemoveItem: (index: number) => void;
|
|
50
|
-
handleClear: () => void;
|
|
51
|
-
handleScreen: () => void;
|
|
52
|
-
SimplePopover: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
53
|
-
width: {
|
|
54
|
-
type: NumberConstructor;
|
|
55
|
-
required: false;
|
|
56
|
-
default: number;
|
|
57
|
-
};
|
|
58
|
-
placement: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
required: false;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
zIndex: {
|
|
64
|
-
type: NumberConstructor;
|
|
65
|
-
required: false;
|
|
66
|
-
};
|
|
67
|
-
}>, {
|
|
68
|
-
BEMSpace: string;
|
|
69
|
-
props: any;
|
|
70
|
-
emit: (event: "closed", ...args: any[]) => void;
|
|
71
|
-
visible: import("vue").Ref<boolean, boolean>;
|
|
72
|
-
isShow: import("vue").Ref<boolean, boolean>;
|
|
73
|
-
_debounceUpdateShow: (...rest: any[]) => void;
|
|
74
|
-
currentTriggerElement: HTMLElement;
|
|
75
|
-
popoverRectInfo: import("vue").Ref<any, any>;
|
|
76
|
-
getPopoverTriggerElementRectInfo: (element: HTMLElement) => void;
|
|
77
|
-
popoverRef: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
78
|
-
popoverElementRect: import("vue").Ref<DOMRect, DOMRect>;
|
|
79
|
-
getPopoverElementRect: () => void;
|
|
80
|
-
popoverStyle: import("vue").ComputedRef<{
|
|
81
|
-
top?: undefined;
|
|
82
|
-
left?: undefined;
|
|
83
|
-
width?: undefined;
|
|
84
|
-
} | {
|
|
85
|
-
top: string;
|
|
86
|
-
left: string;
|
|
87
|
-
width: string;
|
|
88
|
-
}>;
|
|
89
|
-
isChildElement: (rootElement: HTMLElement, childElement: HTMLElement) => boolean;
|
|
90
|
-
isPopperChildElement: (element: HTMLElement) => boolean;
|
|
91
|
-
handleClickElement: (e: Event) => void;
|
|
92
|
-
handleResize: (...rest: any[]) => void;
|
|
93
|
-
bindEvent: () => void;
|
|
94
|
-
unbindEvent: () => void;
|
|
95
|
-
hide: () => void;
|
|
96
|
-
getZIndex: () => any;
|
|
97
|
-
show: (element: HTMLElement | DOMRect) => void;
|
|
98
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "closed"[], "closed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
99
|
-
width: {
|
|
100
|
-
type: NumberConstructor;
|
|
101
|
-
required: false;
|
|
102
|
-
default: number;
|
|
103
|
-
};
|
|
104
|
-
placement: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
required: false;
|
|
107
|
-
default: string;
|
|
108
|
-
};
|
|
109
|
-
zIndex: {
|
|
110
|
-
type: NumberConstructor;
|
|
111
|
-
required: false;
|
|
112
|
-
};
|
|
113
|
-
}>> & Readonly<{
|
|
114
|
-
onClosed?: (...args: any[]) => any;
|
|
115
|
-
}>, {
|
|
116
|
-
width: number;
|
|
117
|
-
placement: string;
|
|
118
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
119
|
-
readonly Plus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
120
|
-
readonly Remove: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
121
|
-
readonly FilterItemTypeEnum: typeof FilterItemTypeEnum;
|
|
122
|
-
readonly compareOptions: {
|
|
123
|
-
string: {
|
|
124
|
-
label: string;
|
|
125
|
-
value: FilterMatchModeEnum;
|
|
126
|
-
}[];
|
|
127
|
-
number: {
|
|
128
|
-
label: string;
|
|
129
|
-
value: FilterMatchModeEnum;
|
|
130
|
-
}[];
|
|
131
|
-
date: {
|
|
132
|
-
label: string;
|
|
133
|
-
value: FilterMatchModeEnum;
|
|
134
|
-
}[];
|
|
135
|
-
};
|
|
136
|
-
readonly noValueOptions: FilterMatchModeEnum[];
|
|
137
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "screen")[], "closed" | "screen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
138
|
-
manager: {
|
|
139
|
-
type: any;
|
|
140
|
-
required: false;
|
|
141
|
-
};
|
|
142
|
-
}>> & Readonly<{
|
|
143
|
-
onClosed?: (...args: any[]) => any;
|
|
144
|
-
onScreen?: (...args: any[]) => any;
|
|
145
|
-
}>, {
|
|
146
|
-
manager: any;
|
|
147
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
148
|
-
export default _sfc_main;
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
manager: {
|
|
3
|
-
type: any;
|
|
4
|
-
required: false;
|
|
5
|
-
};
|
|
6
|
-
}>, {
|
|
7
|
-
props: any;
|
|
8
|
-
emit: (event: "closed" | "screen", ...args: any[]) => void;
|
|
9
|
-
BEMSpace: string;
|
|
10
|
-
createBEMName: (name: string) => string;
|
|
11
|
-
columnFieldList: import("vue").Ref<{
|
|
12
|
-
prop: string;
|
|
13
|
-
label: string;
|
|
14
|
-
}[], {
|
|
15
|
-
prop: string;
|
|
16
|
-
label: string;
|
|
17
|
-
}[] | {
|
|
18
|
-
prop: string;
|
|
19
|
-
label: string;
|
|
20
|
-
}[]>;
|
|
21
|
-
filterList: import("vue").Ref<{
|
|
22
|
-
prop: string;
|
|
23
|
-
order?: PageModel.SortOption;
|
|
24
|
-
label?: string;
|
|
25
|
-
}[], PageModel.TableColumnSortParamsItem[] | {
|
|
26
|
-
prop: string;
|
|
27
|
-
order?: PageModel.SortOption;
|
|
28
|
-
label?: string;
|
|
29
|
-
}[]>;
|
|
30
|
-
filterKeywords: import("vue").Ref<string, string>;
|
|
31
|
-
addColumnFieldList: import("vue").ComputedRef<{
|
|
32
|
-
prop: string;
|
|
33
|
-
label: string;
|
|
34
|
-
}[]>;
|
|
35
|
-
usedFieldList: import("vue").ComputedRef<string[]>;
|
|
36
|
-
filterColumnList: import("vue").ComputedRef<{
|
|
37
|
-
prop: string;
|
|
38
|
-
label: string;
|
|
39
|
-
}[]>;
|
|
40
|
-
simplePopoverRef: import("vue").Ref<any, any>;
|
|
41
|
-
showPopover: (element: HTMLElement) => void;
|
|
42
|
-
hidePopover: () => void;
|
|
43
|
-
getAddFilterItem: (field: string) => PageModel.TableColumnSortParamsItem;
|
|
44
|
-
handleFieldChange: (index: number, prop: string) => void;
|
|
45
|
-
handleSelectSortItem: (item: PageModel.TableColumnSortParamsItem, sortValue: PageModel.SortOption) => void;
|
|
46
|
-
popoverRef: import("vue").Ref<any, any>;
|
|
47
|
-
handleClickSelect: (addProp: string) => void;
|
|
48
|
-
handleRemoveItem: (index: number) => void;
|
|
49
|
-
handleClear: () => void;
|
|
50
|
-
handleScreen: () => void;
|
|
51
|
-
SimplePopover: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
52
|
-
width: {
|
|
53
|
-
type: NumberConstructor;
|
|
54
|
-
required: false;
|
|
55
|
-
default: number;
|
|
56
|
-
};
|
|
57
|
-
placement: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
required: false;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
zIndex: {
|
|
63
|
-
type: NumberConstructor;
|
|
64
|
-
required: false;
|
|
65
|
-
};
|
|
66
|
-
}>, {
|
|
67
|
-
BEMSpace: string;
|
|
68
|
-
props: any;
|
|
69
|
-
emit: (event: "closed", ...args: any[]) => void;
|
|
70
|
-
visible: import("vue").Ref<boolean, boolean>;
|
|
71
|
-
isShow: import("vue").Ref<boolean, boolean>;
|
|
72
|
-
_debounceUpdateShow: (...rest: any[]) => void;
|
|
73
|
-
currentTriggerElement: HTMLElement;
|
|
74
|
-
popoverRectInfo: import("vue").Ref<any, any>;
|
|
75
|
-
getPopoverTriggerElementRectInfo: (element: HTMLElement) => void;
|
|
76
|
-
popoverRef: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
77
|
-
popoverElementRect: import("vue").Ref<DOMRect, DOMRect>;
|
|
78
|
-
getPopoverElementRect: () => void;
|
|
79
|
-
popoverStyle: import("vue").ComputedRef<{
|
|
80
|
-
top?: undefined;
|
|
81
|
-
left?: undefined;
|
|
82
|
-
width?: undefined;
|
|
83
|
-
} | {
|
|
84
|
-
top: string;
|
|
85
|
-
left: string;
|
|
86
|
-
width: string;
|
|
87
|
-
}>;
|
|
88
|
-
isChildElement: (rootElement: HTMLElement, childElement: HTMLElement) => boolean;
|
|
89
|
-
isPopperChildElement: (element: HTMLElement) => boolean;
|
|
90
|
-
handleClickElement: (e: Event) => void;
|
|
91
|
-
handleResize: (...rest: any[]) => void;
|
|
92
|
-
bindEvent: () => void;
|
|
93
|
-
unbindEvent: () => void;
|
|
94
|
-
hide: () => void;
|
|
95
|
-
getZIndex: () => any;
|
|
96
|
-
show: (element: HTMLElement | DOMRect) => void;
|
|
97
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "closed"[], "closed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
-
width: {
|
|
99
|
-
type: NumberConstructor;
|
|
100
|
-
required: false;
|
|
101
|
-
default: number;
|
|
102
|
-
};
|
|
103
|
-
placement: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
required: false;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
zIndex: {
|
|
109
|
-
type: NumberConstructor;
|
|
110
|
-
required: false;
|
|
111
|
-
};
|
|
112
|
-
}>> & Readonly<{
|
|
113
|
-
onClosed?: (...args: any[]) => any;
|
|
114
|
-
}>, {
|
|
115
|
-
width: number;
|
|
116
|
-
placement: string;
|
|
117
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
118
|
-
readonly Plus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
119
|
-
readonly Remove: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
120
|
-
readonly InfoFilled: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
121
|
-
DraggableList: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
122
|
-
modelValue: {
|
|
123
|
-
type: ArrayConstructor;
|
|
124
|
-
required: true;
|
|
125
|
-
};
|
|
126
|
-
itemKey: {
|
|
127
|
-
type: StringConstructor;
|
|
128
|
-
required: false;
|
|
129
|
-
};
|
|
130
|
-
itemClassName: {
|
|
131
|
-
type: StringConstructor;
|
|
132
|
-
required: false;
|
|
133
|
-
};
|
|
134
|
-
}>, {
|
|
135
|
-
props: any;
|
|
136
|
-
reRerender: import("vue").Ref<boolean, boolean>;
|
|
137
|
-
isNeedForceUpdate: import("vue").ComputedRef<boolean>;
|
|
138
|
-
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
139
|
-
listWrapRef: import("vue").Ref<any, any>;
|
|
140
|
-
sortable: any;
|
|
141
|
-
initSort: () => void;
|
|
142
|
-
destroy: () => void;
|
|
143
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
144
|
-
modelValue: {
|
|
145
|
-
type: ArrayConstructor;
|
|
146
|
-
required: true;
|
|
147
|
-
};
|
|
148
|
-
itemKey: {
|
|
149
|
-
type: StringConstructor;
|
|
150
|
-
required: false;
|
|
151
|
-
};
|
|
152
|
-
itemClassName: {
|
|
153
|
-
type: StringConstructor;
|
|
154
|
-
required: false;
|
|
155
|
-
};
|
|
156
|
-
}>> & Readonly<{
|
|
157
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
158
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
159
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "screen")[], "closed" | "screen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
160
|
-
manager: {
|
|
161
|
-
type: any;
|
|
162
|
-
required: false;
|
|
163
|
-
};
|
|
164
|
-
}>> & Readonly<{
|
|
165
|
-
onClosed?: (...args: any[]) => any;
|
|
166
|
-
onScreen?: (...args: any[]) => any;
|
|
167
|
-
}>, {
|
|
168
|
-
manager: any;
|
|
169
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
170
|
-
export default _sfc_main;
|