inl-app-manager 1.5.15
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 +195 -0
- package/createMonacoTheme.js +1250 -0
- package/dist/clientUtils/index.d.ts +355 -0
- package/dist/clientUtils/index.js +338 -0
- package/dist/elements/index.d.ts +153 -0
- package/dist/elements/index.js +13194 -0
- package/dist/iconfont.js +147 -0
- package/dist/index.d.ts +567 -0
- package/dist/index.js +19381 -0
- package/dist/style.css +3 -0
- package/entry.js +14 -0
- package/package.json +92 -0
- package/rollup.config.ts +96 -0
- package/v2 +3 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { PropOptions } from 'ant-design-vue/lib/_util/type';
|
|
2
|
+
import * as vue from 'vue';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
|
|
5
|
+
type CardPropTypes =
|
|
6
|
+
/**
|
|
7
|
+
* 字符串
|
|
8
|
+
*/
|
|
9
|
+
"string"
|
|
10
|
+
/**
|
|
11
|
+
* 数字
|
|
12
|
+
*/
|
|
13
|
+
| "number"
|
|
14
|
+
/**
|
|
15
|
+
* 物模型
|
|
16
|
+
*/
|
|
17
|
+
| "thing"
|
|
18
|
+
/**
|
|
19
|
+
* 物模型
|
|
20
|
+
*/
|
|
21
|
+
| "flowSelect"
|
|
22
|
+
/**
|
|
23
|
+
* 布尔类型
|
|
24
|
+
*/
|
|
25
|
+
| "boolean"
|
|
26
|
+
/**
|
|
27
|
+
* jsx
|
|
28
|
+
*/
|
|
29
|
+
| "jsx"
|
|
30
|
+
/**
|
|
31
|
+
* 富文本
|
|
32
|
+
*/
|
|
33
|
+
| "richText"
|
|
34
|
+
/**
|
|
35
|
+
* tabs 标签页
|
|
36
|
+
*/
|
|
37
|
+
| "tabs"
|
|
38
|
+
/**
|
|
39
|
+
* 单选
|
|
40
|
+
*/
|
|
41
|
+
| "radio"
|
|
42
|
+
/**
|
|
43
|
+
* checkBox
|
|
44
|
+
*/
|
|
45
|
+
| "checkBox"
|
|
46
|
+
/**
|
|
47
|
+
* 二次确认
|
|
48
|
+
*/
|
|
49
|
+
| "confirm"
|
|
50
|
+
/**
|
|
51
|
+
* 事件
|
|
52
|
+
*/
|
|
53
|
+
| "event"
|
|
54
|
+
/**
|
|
55
|
+
* 视频选择弹窗
|
|
56
|
+
*/
|
|
57
|
+
| "VideoSelect"
|
|
58
|
+
/**
|
|
59
|
+
* 表格
|
|
60
|
+
*/
|
|
61
|
+
| "table"
|
|
62
|
+
/**
|
|
63
|
+
* 下拉选项
|
|
64
|
+
*/
|
|
65
|
+
| "select"
|
|
66
|
+
/**
|
|
67
|
+
* 树选择
|
|
68
|
+
*/
|
|
69
|
+
| "treeSelect"
|
|
70
|
+
/**
|
|
71
|
+
* 系统选择
|
|
72
|
+
*/
|
|
73
|
+
| "systemSelect"
|
|
74
|
+
/**
|
|
75
|
+
* 文字样式
|
|
76
|
+
*/
|
|
77
|
+
| "textStyle"
|
|
78
|
+
/**
|
|
79
|
+
* 图标选择
|
|
80
|
+
*/
|
|
81
|
+
| "icon"
|
|
82
|
+
/**
|
|
83
|
+
* 代码
|
|
84
|
+
*/
|
|
85
|
+
| "code"
|
|
86
|
+
/**
|
|
87
|
+
* 流程图
|
|
88
|
+
*/
|
|
89
|
+
| "flowsheet"
|
|
90
|
+
/**
|
|
91
|
+
* 颜色
|
|
92
|
+
*/
|
|
93
|
+
| "color";
|
|
94
|
+
|
|
95
|
+
type cardDefaultPropType = PropType<any> | true | null | any;
|
|
96
|
+
/**
|
|
97
|
+
* @description: 卡片组件的props
|
|
98
|
+
*/
|
|
99
|
+
type defaultDictionary = Array<{
|
|
100
|
+
name: string;
|
|
101
|
+
id: string;
|
|
102
|
+
}> | Array<{
|
|
103
|
+
label: string;
|
|
104
|
+
value: string;
|
|
105
|
+
}> | any;
|
|
106
|
+
interface cardDefaultProps<T = CardPropTypes, D = defaultDictionary> extends PropOptions {
|
|
107
|
+
type: cardDefaultPropType;
|
|
108
|
+
default: cardDefaultPropType | string;
|
|
109
|
+
label: string;
|
|
110
|
+
state: T;
|
|
111
|
+
code?: string;
|
|
112
|
+
hide?: boolean;
|
|
113
|
+
value?: any;
|
|
114
|
+
description?: string;
|
|
115
|
+
dataDictionary?: D;
|
|
116
|
+
controlInstId?: string;
|
|
117
|
+
stateConfig?: any;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare const cardTypeEnum: {
|
|
121
|
+
form: string;
|
|
122
|
+
custom: string;
|
|
123
|
+
aboutThing: string;
|
|
124
|
+
standard: string;
|
|
125
|
+
};
|
|
126
|
+
declare const cardCode: {
|
|
127
|
+
pcCard: string;
|
|
128
|
+
controlItem: string;
|
|
129
|
+
phoneCard: string;
|
|
130
|
+
};
|
|
131
|
+
interface cardCompInfo {
|
|
132
|
+
comp: any;
|
|
133
|
+
cname: string;
|
|
134
|
+
pageControlId: string;
|
|
135
|
+
isCustomCard?: boolean;
|
|
136
|
+
tags?: Array<string>;
|
|
137
|
+
config?: Array<cardDefaultProps>;
|
|
138
|
+
code: keyof typeof cardCode;
|
|
139
|
+
cardType?: keyof typeof cardTypeEnum;
|
|
140
|
+
thumbnail?: string;
|
|
141
|
+
preview?: () => JSX.Element;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @description: 卡片组件信息
|
|
146
|
+
*/
|
|
147
|
+
declare const _default: {
|
|
148
|
+
install(app: vue.App<any>): void;
|
|
149
|
+
cards: Record<string, cardCompInfo>;
|
|
150
|
+
version: string;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
export { _default as default };
|