zhytech-ui-mobile 1.1.0 → 1.1.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/README.md +5 -0
- package/dist/style.css +1 -1
- package/dist/zhytech-ui-mobile.es.js +34 -241
- package/dist/zhytech-ui-mobile.umd.js +1 -1
- package/package.json +1 -1
- package/dist/types/components/puzzleVCode/index.d.ts +0 -5
- package/dist/types/components/puzzleVCode/types/configOptionView.d.ts +0 -53
- package/dist/types/src/components/dynamicForm/components/advanced/index.d.ts +0 -4
- package/dist/types/src/components/dynamicForm/components/application/index.d.ts +0 -5
- package/dist/types/src/components/dynamicForm/components/base/index.d.ts +0 -9
- package/dist/types/src/components/dynamicForm/components/componentType.d.ts +0 -5
- package/dist/types/src/components/dynamicForm/components/layout/index.d.ts +0 -4
- package/dist/types/src/components/dynamicForm/index.d.ts +0 -7
- package/dist/types/src/components/dynamicForm/types/abnormalCheckView.d.ts +0 -19
- package/dist/types/src/components/dynamicForm/types/componentAttribute/advanced/uploadAttribute.d.ts +0 -25
- package/dist/types/src/components/dynamicForm/types/componentAttribute/application/employeeAttribute.d.ts +0 -33
- package/dist/types/src/components/dynamicForm/types/componentAttribute/application/gradeAttribute.d.ts +0 -45
- package/dist/types/src/components/dynamicForm/types/componentAttribute/application/postAttribute.d.ts +0 -33
- package/dist/types/src/components/dynamicForm/types/componentAttribute/base/checkboxAttribute.d.ts +0 -29
- package/dist/types/src/components/dynamicForm/types/componentAttribute/base/datetimeAttribute.d.ts +0 -54
- package/dist/types/src/components/dynamicForm/types/componentAttribute/base/inputAttribute.d.ts +0 -21
- package/dist/types/src/components/dynamicForm/types/componentAttribute/base/inputNumberAttribute.d.ts +0 -28
- package/dist/types/src/components/dynamicForm/types/componentAttribute/base/radioAttribute.d.ts +0 -21
- package/dist/types/src/components/dynamicForm/types/componentAttribute/baseAttribute.d.ts +0 -101
- package/dist/types/src/components/dynamicForm/types/componentAttribute/editAttribute.d.ts +0 -61
- package/dist/types/src/components/dynamicForm/types/componentAttribute/index.d.ts +0 -15
- package/dist/types/src/components/dynamicForm/types/componentAttribute/layout/groupLayoutAttribute.d.ts +0 -29
- package/dist/types/src/components/dynamicForm/types/componentAttribute/layout/tabsLayoutAttribute.d.ts +0 -21
- package/dist/types/src/components/dynamicForm/types/documentView.d.ts +0 -101
- package/dist/types/src/components/dynamicForm/types/enum.d.ts +0 -135
- package/dist/types/src/components/dynamicForm/types/formAttribute.d.ts +0 -84
- package/dist/types/src/components/dynamicForm/types/relevanceConditionView.d.ts +0 -22
- package/dist/types/src/components/dynamicForm/types/uploadOption.d.ts +0 -23
- package/dist/types/src/components/filePreview/index.d.ts +0 -5
- package/dist/types/src/components/filePreview/types/filePreviewType.d.ts +0 -18
- package/dist/types/src/components/puzzleVCode/index.d.ts +0 -5
- package/dist/types/src/components/puzzleVCode/types/configOptionView.d.ts +0 -53
- package/dist/types/src/hooks/useDate.d.ts +0 -132
- package/dist/types/src/hooks/useMessage.d.ts +0 -16
- package/dist/types/src/hooks/useToast.d.ts +0 -10
- package/dist/types/src/hooks/useUtils.d.ts +0 -58
- package/dist/types/src/index.d.ts +0 -790
package/package.json
CHANGED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 配置选项类型
|
|
3
|
-
*/
|
|
4
|
-
export interface configOptionView {
|
|
5
|
-
/**
|
|
6
|
-
* 显示类型,"modal"模态框形式 / "inside"内嵌形式
|
|
7
|
-
*/
|
|
8
|
-
type?: "modal" | "inside";
|
|
9
|
-
/**
|
|
10
|
-
* 自定义样式类名
|
|
11
|
-
*/
|
|
12
|
-
className?: string;
|
|
13
|
-
/**
|
|
14
|
-
* 验证码宽度,单位px,默认400px
|
|
15
|
-
*/
|
|
16
|
-
canvasWidth?: number;
|
|
17
|
-
/**
|
|
18
|
-
* 验证码高度,单位px,默认220px
|
|
19
|
-
*/
|
|
20
|
-
canvasHeight?: number;
|
|
21
|
-
/**
|
|
22
|
-
* 拼图块(小的拼图)的大小比例,0.2 ~ 2 ,数字越大,拼图越大
|
|
23
|
-
*/
|
|
24
|
-
puzzleScale?: number;
|
|
25
|
-
/**
|
|
26
|
-
* 判断成功的误差范围,单位 px, 滑动的距离和拼图的距离小于等于此值时,会判定重合,默认10px
|
|
27
|
-
*/
|
|
28
|
-
range?: number;
|
|
29
|
-
/**
|
|
30
|
-
* 自定义图片集合
|
|
31
|
-
*/
|
|
32
|
-
imgs?: string[];
|
|
33
|
-
/**
|
|
34
|
-
* 验证成功时的提示文字,默认:验证通过
|
|
35
|
-
*/
|
|
36
|
-
successText?: string;
|
|
37
|
-
/**
|
|
38
|
-
* 验证失败时的提示文字,默认:验证失败,请重试
|
|
39
|
-
*/
|
|
40
|
-
failText?: string;
|
|
41
|
-
/**
|
|
42
|
-
* 左下角用户拖动的那个滑块的尺寸,单位 px,默认 40px
|
|
43
|
-
*/
|
|
44
|
-
sliderSize?: number;
|
|
45
|
-
/**
|
|
46
|
-
* 下方滑动条里的文字,默认:拖动滑块完成拼图
|
|
47
|
-
*/
|
|
48
|
-
sliderText?: string;
|
|
49
|
-
/**
|
|
50
|
-
* 验证成功的回调函数
|
|
51
|
-
*/
|
|
52
|
-
onSuccess?: Function;
|
|
53
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as checkbox } from './checkbox';
|
|
2
|
-
import { default as input } from './input';
|
|
3
|
-
import { default as inputNumber } from './inputNumber';
|
|
4
|
-
import { default as label } from './label';
|
|
5
|
-
import { default as radio } from './radio';
|
|
6
|
-
import { default as date } from './date';
|
|
7
|
-
import { default as time } from './time';
|
|
8
|
-
|
|
9
|
-
export { label, input, radio, checkbox, inputNumber, date, time };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as baseComponent from "./base/index";
|
|
2
|
-
import * as advancedComponent from "./advanced/index";
|
|
3
|
-
import * as applicationComponent from "./application/index";
|
|
4
|
-
import * as layoutComponent from "./layout/index";
|
|
5
|
-
export { baseComponent, advancedComponent, applicationComponent, layoutComponent };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as formRenderer } from './formRenderer';
|
|
2
|
-
import { dynamicFormData, formAttribute, dictionaryData, dictionaryItem } from './types/formAttribute';
|
|
3
|
-
import { uploadOption } from './types/uploadOption';
|
|
4
|
-
import { documentView } from './types/documentView';
|
|
5
|
-
|
|
6
|
-
export type { dynamicFormData, formAttribute, dictionaryData, dictionaryItem, uploadOption, documentView };
|
|
7
|
-
export { formRenderer };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { abnormalCheckType, checkLevelType } from './enum';
|
|
2
|
-
|
|
3
|
-
type abnormalCheck = keyof typeof abnormalCheckType;
|
|
4
|
-
type checkLevel = keyof typeof checkLevelType;
|
|
5
|
-
export interface abnormalCheckView {
|
|
6
|
-
/**
|
|
7
|
-
* 类型
|
|
8
|
-
*/
|
|
9
|
-
type: abnormalCheck;
|
|
10
|
-
/**
|
|
11
|
-
* 检核值
|
|
12
|
-
*/
|
|
13
|
-
value: number;
|
|
14
|
-
/**
|
|
15
|
-
* 检核级别
|
|
16
|
-
*/
|
|
17
|
-
level: checkLevel;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
package/dist/types/src/components/dynamicForm/types/componentAttribute/advanced/uploadAttribute.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 文件、图片上传(upload、uploadImage)组件属性
|
|
3
|
-
*/
|
|
4
|
-
export interface uploadAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* fileLimit是否可以多选
|
|
7
|
-
*/
|
|
8
|
-
multiple: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* 文件数量限制
|
|
11
|
-
*/
|
|
12
|
-
fileLimit: number;
|
|
13
|
-
/**
|
|
14
|
-
* 文件类型
|
|
15
|
-
*/
|
|
16
|
-
fileType: string;
|
|
17
|
-
/**
|
|
18
|
-
* 文件大小限制
|
|
19
|
-
*/
|
|
20
|
-
fileSize: number;
|
|
21
|
-
/**
|
|
22
|
-
* 文件大小单位
|
|
23
|
-
*/
|
|
24
|
-
fileSizeUnit: string;
|
|
25
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 人员(employee)组件属性
|
|
3
|
-
*/
|
|
4
|
-
export interface employeeAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 部门ID
|
|
7
|
-
*/
|
|
8
|
-
departmentID: number;
|
|
9
|
-
/**
|
|
10
|
-
* 显示类型
|
|
11
|
-
*/
|
|
12
|
-
type: "radio" | "checkbox" | "selector";
|
|
13
|
-
/**
|
|
14
|
-
* displayType!=selector时人员是否换行
|
|
15
|
-
*/
|
|
16
|
-
newLine: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* displayType=checkbox时最少选择个数
|
|
19
|
-
*/
|
|
20
|
-
min?: number;
|
|
21
|
-
/**
|
|
22
|
-
* displayType=checkbox时最多选择个数
|
|
23
|
-
*/
|
|
24
|
-
max?: number;
|
|
25
|
-
/**
|
|
26
|
-
* displayType=selector时是否可以多选
|
|
27
|
-
*/
|
|
28
|
-
multiple?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* 人员列表
|
|
31
|
-
*/
|
|
32
|
-
options: Record<string, any>[];
|
|
33
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 考评分数(grade)组件属性
|
|
3
|
-
*/
|
|
4
|
-
export interface gradeAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 最大分数
|
|
7
|
-
*/
|
|
8
|
-
maxScore: number;
|
|
9
|
-
/**
|
|
10
|
-
* 是否显示0分
|
|
11
|
-
*/
|
|
12
|
-
showZero: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* 显示不考评项
|
|
15
|
-
*/
|
|
16
|
-
showNotGrade: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* 分数是否换行
|
|
19
|
-
*/
|
|
20
|
-
newLine: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* 是否显示问题
|
|
23
|
-
*/
|
|
24
|
-
showProblem: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* 是否显示亮点
|
|
27
|
-
*/
|
|
28
|
-
showBrightSpot: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* 分数倒序
|
|
31
|
-
*/
|
|
32
|
-
scoreReverseFlag: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* 备注 选项
|
|
35
|
-
*/
|
|
36
|
-
remarkOptions?: Record<string, string>[];
|
|
37
|
-
/**
|
|
38
|
-
* 是否显示备注
|
|
39
|
-
*/
|
|
40
|
-
showRemark?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* 是否显示单项否决选项
|
|
43
|
-
*/
|
|
44
|
-
showVeto?: boolean;
|
|
45
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 岗位(post)组件属性
|
|
3
|
-
*/
|
|
4
|
-
export interface postAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 部门ID
|
|
7
|
-
*/
|
|
8
|
-
departmentID: number;
|
|
9
|
-
/**
|
|
10
|
-
* 显示类型
|
|
11
|
-
*/
|
|
12
|
-
type: "radio" | "checkbox" | "selector";
|
|
13
|
-
/**
|
|
14
|
-
* displayType!=selector时岗位是否换行
|
|
15
|
-
*/
|
|
16
|
-
newLine: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* displayType=checkbox时最少选择个数
|
|
19
|
-
*/
|
|
20
|
-
min?: number;
|
|
21
|
-
/**
|
|
22
|
-
* displayType=checkbox时最多选择个数
|
|
23
|
-
*/
|
|
24
|
-
max?: number;
|
|
25
|
-
/**
|
|
26
|
-
* displayType=selector时是否可以多选
|
|
27
|
-
*/
|
|
28
|
-
multiple?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* 岗位列表
|
|
31
|
-
*/
|
|
32
|
-
options: Record<string, any>[];
|
|
33
|
-
}
|
package/dist/types/src/components/dynamicForm/types/componentAttribute/base/checkboxAttribute.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 多选框(checkbox)组件属性类型
|
|
3
|
-
*/
|
|
4
|
-
export interface checkboxAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 选项是否换行
|
|
7
|
-
*/
|
|
8
|
-
newLine: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* 最少选几个
|
|
11
|
-
*/
|
|
12
|
-
min?: number;
|
|
13
|
-
/**
|
|
14
|
-
* 最多选几个
|
|
15
|
-
*/
|
|
16
|
-
max?: number;
|
|
17
|
-
/**
|
|
18
|
-
* 选项
|
|
19
|
-
*/
|
|
20
|
-
options: Record<string, any>[];
|
|
21
|
-
/**
|
|
22
|
-
* 试卷模式时,正确答案选项的值
|
|
23
|
-
*/
|
|
24
|
-
correctOptions?: string[];
|
|
25
|
-
/**
|
|
26
|
-
* 试卷模式时,答案状态
|
|
27
|
-
*/
|
|
28
|
-
examinationStatus?: number;
|
|
29
|
-
}
|
package/dist/types/src/components/dynamicForm/types/componentAttribute/base/datetimeAttribute.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description:日期时间(date/time)独有属性
|
|
3
|
-
*/
|
|
4
|
-
export interface datetimeAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* @description: 日期时间类型:'year' | 'years' |'month' | 'months' | 'date' | 'dates' | 'datetime' | 'week' | 'datetimerange' | 'daterange' | 'monthrange' | 'yearrange' | 'timeSelect' | 'timePicker'
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
datetimeType?: string;
|
|
10
|
-
/**
|
|
11
|
-
* 日期时间格式
|
|
12
|
-
*/
|
|
13
|
-
format?: string;
|
|
14
|
-
/**
|
|
15
|
-
* 日期时间值格式
|
|
16
|
-
*/
|
|
17
|
-
valueFormat?: string;
|
|
18
|
-
/**
|
|
19
|
-
* 最大时间
|
|
20
|
-
*/
|
|
21
|
-
maxTime?: string;
|
|
22
|
-
/**
|
|
23
|
-
* 最小时间
|
|
24
|
-
*/
|
|
25
|
-
minTime?: string;
|
|
26
|
-
/**
|
|
27
|
-
* 允许选择当前时间之前的年/月/周/天/小时/分钟
|
|
28
|
-
*/
|
|
29
|
-
beforeTimeThreshold?: number;
|
|
30
|
-
/**
|
|
31
|
-
* 允许选择当前时间之后的年/月/周/天/小时/分钟
|
|
32
|
-
*/
|
|
33
|
-
afterTimeThreshold?: number;
|
|
34
|
-
/**
|
|
35
|
-
* 日期/时间区间连接符
|
|
36
|
-
*/
|
|
37
|
-
rangeSeparator?: string;
|
|
38
|
-
/**
|
|
39
|
-
* 是否为时间区间
|
|
40
|
-
*/
|
|
41
|
-
isRange?: string;
|
|
42
|
-
/**
|
|
43
|
-
* 开始时间
|
|
44
|
-
*/
|
|
45
|
-
startTime?: string;
|
|
46
|
-
/**
|
|
47
|
-
* 结束时间
|
|
48
|
-
*/
|
|
49
|
-
endTime?: string;
|
|
50
|
-
/**
|
|
51
|
-
* 间隔时间
|
|
52
|
-
*/
|
|
53
|
-
timeStep?: string;
|
|
54
|
-
}
|
package/dist/types/src/components/dynamicForm/types/componentAttribute/base/inputAttribute.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 输入框组件(input)独有属性
|
|
3
|
-
*/
|
|
4
|
-
export interface inputAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 类型 文本:text、密码:password
|
|
7
|
-
*/
|
|
8
|
-
type: any;
|
|
9
|
-
/**
|
|
10
|
-
* 是否显示密码
|
|
11
|
-
*/
|
|
12
|
-
showPassword: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* 正则表达式
|
|
15
|
-
*/
|
|
16
|
-
pattern?: string;
|
|
17
|
-
/**
|
|
18
|
-
* 正则验证提示信息
|
|
19
|
-
*/
|
|
20
|
-
patternMessage?: string;
|
|
21
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { abnormalCheckView } from '../../abnormalCheckView';
|
|
2
|
-
import { relevanceConditionView } from '../../relevanceConditionView';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @description: 数字框组件(inputNumber)独有属性
|
|
6
|
-
*/
|
|
7
|
-
export interface inputNumberAttribute {
|
|
8
|
-
/**
|
|
9
|
-
* 单位
|
|
10
|
-
*/
|
|
11
|
-
unit: string;
|
|
12
|
-
/**
|
|
13
|
-
* 是否允许输入文本
|
|
14
|
-
*/
|
|
15
|
-
allowText: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* 允许输入的文本
|
|
18
|
-
*/
|
|
19
|
-
allowTextOptions?: string[];
|
|
20
|
-
/**
|
|
21
|
-
* 异常值检核列表
|
|
22
|
-
*/
|
|
23
|
-
abnormalCheckList?: abnormalCheckView[];
|
|
24
|
-
/**
|
|
25
|
-
* 关联条件列表
|
|
26
|
-
*/
|
|
27
|
-
relevanceConditionList?: relevanceConditionView[];
|
|
28
|
-
}
|
package/dist/types/src/components/dynamicForm/types/componentAttribute/base/radioAttribute.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 单选框(radio)组件属性
|
|
3
|
-
*/
|
|
4
|
-
export interface radioAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 选项是否换行
|
|
7
|
-
*/
|
|
8
|
-
newLine: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* 选项
|
|
11
|
-
*/
|
|
12
|
-
options: Record<string, any>[];
|
|
13
|
-
/**
|
|
14
|
-
* 试卷模式时,正确答案选项的值
|
|
15
|
-
*/
|
|
16
|
-
correctOptions?: string[];
|
|
17
|
-
/**
|
|
18
|
-
* 试卷模式时,答案状态
|
|
19
|
-
*/
|
|
20
|
-
examinationStatus?: number;
|
|
21
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 组件基本属性类型
|
|
3
|
-
*/
|
|
4
|
-
export interface baseAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 是否显示标题
|
|
7
|
-
*/
|
|
8
|
-
showLabel: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* 标题宽度
|
|
11
|
-
*/
|
|
12
|
-
labelWidth?: number;
|
|
13
|
-
/**
|
|
14
|
-
* 标题
|
|
15
|
-
*/
|
|
16
|
-
label: string;
|
|
17
|
-
/**
|
|
18
|
-
* 字体大小
|
|
19
|
-
*/
|
|
20
|
-
fontSize: number;
|
|
21
|
-
/**
|
|
22
|
-
* 是否加粗
|
|
23
|
-
*/
|
|
24
|
-
isBold: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* 文字颜色
|
|
27
|
-
*/
|
|
28
|
-
color: string;
|
|
29
|
-
/**
|
|
30
|
-
* 宽度
|
|
31
|
-
*/
|
|
32
|
-
width: number;
|
|
33
|
-
/**
|
|
34
|
-
* 高度
|
|
35
|
-
*/
|
|
36
|
-
height?: number;
|
|
37
|
-
/**
|
|
38
|
-
* 高度单位
|
|
39
|
-
*/
|
|
40
|
-
heightUnit?: string;
|
|
41
|
-
/**
|
|
42
|
-
* 标题换行
|
|
43
|
-
*/
|
|
44
|
-
labelNewLine: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* 是否显示
|
|
47
|
-
*/
|
|
48
|
-
showFlag: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* 显示条件
|
|
51
|
-
*/
|
|
52
|
-
showConditions?: Record<string, any>[];
|
|
53
|
-
/**
|
|
54
|
-
* 显示条件描述
|
|
55
|
-
*/
|
|
56
|
-
showConditionContent?: string;
|
|
57
|
-
/**
|
|
58
|
-
* 显示条件表达式
|
|
59
|
-
*/
|
|
60
|
-
showConditionExpression?: string;
|
|
61
|
-
/**
|
|
62
|
-
* 隐藏条件
|
|
63
|
-
*/
|
|
64
|
-
hiddenConditions?: Record<string, any>[];
|
|
65
|
-
/**
|
|
66
|
-
* 隐藏条件描述
|
|
67
|
-
*/
|
|
68
|
-
hiddenConditionContent?: string;
|
|
69
|
-
/**
|
|
70
|
-
* 隐藏条件表达式
|
|
71
|
-
*/
|
|
72
|
-
hiddenConditionExpression?: string;
|
|
73
|
-
/**
|
|
74
|
-
* 左缩进
|
|
75
|
-
*/
|
|
76
|
-
paddingLeft?: number;
|
|
77
|
-
/**
|
|
78
|
-
* 项目说明/答案解析
|
|
79
|
-
*/
|
|
80
|
-
description?: string;
|
|
81
|
-
/**
|
|
82
|
-
* 所属tabs组件的页签ID
|
|
83
|
-
*/
|
|
84
|
-
pageID?: string;
|
|
85
|
-
/**
|
|
86
|
-
* 所属tabs组件的页签ID
|
|
87
|
-
*/
|
|
88
|
-
componentWidth?: number;
|
|
89
|
-
/**
|
|
90
|
-
* 获取数据接口
|
|
91
|
-
*/
|
|
92
|
-
fetchDataInterface?: string;
|
|
93
|
-
/**
|
|
94
|
-
* 获取远端数据接口参数
|
|
95
|
-
*/
|
|
96
|
-
dataInterfaceParameter?: Record<string, any>[];
|
|
97
|
-
/**
|
|
98
|
-
* 远端数据属性映射
|
|
99
|
-
*/
|
|
100
|
-
dataAttributeMapping?: Record<string, string>;
|
|
101
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 编辑类组件属性
|
|
3
|
-
*/
|
|
4
|
-
export interface editAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 输入框占位符
|
|
7
|
-
*/
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
/**
|
|
10
|
-
* 是否可清空
|
|
11
|
-
*/
|
|
12
|
-
clearable?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* 必填
|
|
15
|
-
*/
|
|
16
|
-
required?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* 必填提示信息
|
|
19
|
-
*/
|
|
20
|
-
requiredMessage?: string;
|
|
21
|
-
/**
|
|
22
|
-
* 是否禁用
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* 禁用条件
|
|
27
|
-
*/
|
|
28
|
-
disabledConditions?: Record<string, any>[];
|
|
29
|
-
/**
|
|
30
|
-
* 禁用条件描述
|
|
31
|
-
*/
|
|
32
|
-
disabledConditionContent?: string;
|
|
33
|
-
/**
|
|
34
|
-
* 禁用条件表达式
|
|
35
|
-
*/
|
|
36
|
-
disabledConditionExpression?: string;
|
|
37
|
-
/**
|
|
38
|
-
* 是否只读
|
|
39
|
-
*/
|
|
40
|
-
readonly?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* 只读条件
|
|
43
|
-
*/
|
|
44
|
-
readonlyConditions?: Record<string, any>[];
|
|
45
|
-
/**
|
|
46
|
-
* 只读条件描述
|
|
47
|
-
*/
|
|
48
|
-
readonlyConditionContent?: string;
|
|
49
|
-
/**
|
|
50
|
-
* 只读条件表达式
|
|
51
|
-
*/
|
|
52
|
-
readonlyConditionExpression?: string;
|
|
53
|
-
/**
|
|
54
|
-
* 默认值
|
|
55
|
-
*/
|
|
56
|
-
defaultValue?: any;
|
|
57
|
-
/**
|
|
58
|
-
* 是否参与统计
|
|
59
|
-
*/
|
|
60
|
-
statisticsFlag: boolean;
|
|
61
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { baseAttribute } from './baseAttribute';
|
|
2
|
-
import { editAttribute } from './editAttribute';
|
|
3
|
-
import { checkboxAttribute } from './base/checkboxAttribute';
|
|
4
|
-
import { inputAttribute } from './base/inputAttribute';
|
|
5
|
-
import { radioAttribute } from './base/radioAttribute';
|
|
6
|
-
import { datetimeAttribute } from './base/datetimeAttribute';
|
|
7
|
-
import { inputNumberAttribute } from './base/inputNumberAttribute';
|
|
8
|
-
import { uploadAttribute } from './advanced/uploadAttribute';
|
|
9
|
-
import { employeeAttribute } from './application/employeeAttribute';
|
|
10
|
-
import { postAttribute } from './application/postAttribute';
|
|
11
|
-
import { gradeAttribute } from './application/gradeAttribute';
|
|
12
|
-
import { groupLayoutAttribute } from './layout/groupLayoutAttribute';
|
|
13
|
-
import { tabsLayoutAttribute } from './layout/tabsLayoutAttribute';
|
|
14
|
-
|
|
15
|
-
export type { baseAttribute, editAttribute, checkboxAttribute, datetimeAttribute, inputAttribute, radioAttribute, inputNumberAttribute, employeeAttribute, postAttribute, gradeAttribute, uploadAttribute, groupLayoutAttribute, tabsLayoutAttribute };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 分组面板(groupLayout)组件属性
|
|
3
|
-
*/
|
|
4
|
-
export interface groupLayoutAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 背景色
|
|
7
|
-
*/
|
|
8
|
-
backgroundColor?: string;
|
|
9
|
-
/**
|
|
10
|
-
* 是否显示边框
|
|
11
|
-
*/
|
|
12
|
-
showBorder: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* 边框样式
|
|
15
|
-
*/
|
|
16
|
-
borderStyle?: string;
|
|
17
|
-
/**
|
|
18
|
-
* 边框颜色
|
|
19
|
-
*/
|
|
20
|
-
borderWidth: number;
|
|
21
|
-
/**
|
|
22
|
-
* 边框颜色
|
|
23
|
-
*/
|
|
24
|
-
borderColor?: string;
|
|
25
|
-
/**
|
|
26
|
-
* 边框圆角大小,0为直角
|
|
27
|
-
*/
|
|
28
|
-
borderRadius: number;
|
|
29
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 标签页(tabsLayout)组件属性
|
|
3
|
-
*/
|
|
4
|
-
export interface tabsLayoutAttribute {
|
|
5
|
-
/**
|
|
6
|
-
* 标签类型
|
|
7
|
-
*/
|
|
8
|
-
tabType: "" | "card" | "border-card";
|
|
9
|
-
/**
|
|
10
|
-
* 标签集合
|
|
11
|
-
*/
|
|
12
|
-
pages: Record<string, any>[];
|
|
13
|
-
/**
|
|
14
|
-
* 标签位置
|
|
15
|
-
*/
|
|
16
|
-
tabPosition: "top" | "right" | "bottom" | "left";
|
|
17
|
-
/**
|
|
18
|
-
* 是否显示导航按钮
|
|
19
|
-
*/
|
|
20
|
-
showNavigation?: boolean;
|
|
21
|
-
}
|