@cloudbase/cals 1.0.3-alpha.6 → 1.0.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/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +14 -1
- package/lib/types/lcds.d.ts +387 -137
- package/lib/types/lcds.d.ts.map +1 -1
- package/lib/utils/dts/auto-generated.d.ts +1 -1
- package/lib/utils/dts/auto-generated.d.ts.map +1 -1
- package/lib/utils/dts/auto-generated.js +1 -1
- package/package.json +1 -1
package/lib/types/index.d.ts
CHANGED
package/lib/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAEtC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC"}
|
package/lib/types/index.js
CHANGED
|
@@ -10,10 +10,23 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
13
18
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
19
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
20
|
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
16
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.LCDS = void 0;
|
|
17
30
|
// basic
|
|
18
31
|
__exportStar(require("./basic/app"), exports);
|
|
19
32
|
__exportStar(require("./basic/common"), exports);
|
|
@@ -25,4 +38,4 @@ __exportStar(require("./platform/common"), exports);
|
|
|
25
38
|
__exportStar(require("./platform/component"), exports);
|
|
26
39
|
__exportStar(require("./platform/datasource"), exports);
|
|
27
40
|
// lcds
|
|
28
|
-
|
|
41
|
+
exports.LCDS = __importStar(require("./lcds"));
|
package/lib/types/lcds.d.ts
CHANGED
|
@@ -4,195 +4,445 @@ import type * as CSS from 'csstype';
|
|
|
4
4
|
*
|
|
5
5
|
* 基于 LCDS 开发的组件库, 可以在云开发低码平台内使用
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* 低码的平台方法的开发配置
|
|
9
|
+
*/
|
|
10
|
+
export interface IAction {
|
|
8
11
|
/**
|
|
9
|
-
*
|
|
12
|
+
* 选填, 平台方法的唯一标识
|
|
13
|
+
* @maxLength 214
|
|
14
|
+
* @minLength 1
|
|
10
15
|
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
name?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 选填, 平台方法可以接收的数据
|
|
19
|
+
* 需要符合 JSON SCHEMA 规范
|
|
20
|
+
*
|
|
21
|
+
* @default {}
|
|
22
|
+
*/
|
|
23
|
+
data?: any;
|
|
24
|
+
/**
|
|
25
|
+
* 选填, 组件对外开放的只读属性,可通过 $w.id1.xx 获取
|
|
26
|
+
* 需要符合 JSON SCHEMA 规范
|
|
27
|
+
*/
|
|
28
|
+
properties?: any;
|
|
29
|
+
/**
|
|
30
|
+
* 选填, 平台方法适配的平台
|
|
31
|
+
*
|
|
32
|
+
* 如果该字段为空, 则进行智能推断
|
|
33
|
+
*/
|
|
34
|
+
platforms?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* 选填, 仅用于在低码平台的信息展示
|
|
37
|
+
*/
|
|
38
|
+
meta?: {
|
|
18
39
|
/**
|
|
19
|
-
* 选填,
|
|
20
|
-
* 需要符合 JSON SCHEMA 规范
|
|
21
|
-
*
|
|
22
|
-
* @default {}
|
|
40
|
+
* 选填, 平台方法的别名, 建议用中文
|
|
23
41
|
*/
|
|
24
|
-
|
|
42
|
+
title?: string;
|
|
25
43
|
/**
|
|
26
|
-
* 选填,
|
|
27
|
-
*
|
|
28
|
-
* 如果该字段为空, 则进行智能推断
|
|
44
|
+
* 选填, 平台方法的简介, 建议用中文
|
|
29
45
|
*/
|
|
30
|
-
|
|
46
|
+
description?: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* 选填, 扩展字段, 尽量避免用
|
|
50
|
+
*/
|
|
51
|
+
extra?: any;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* 低码组件开发配置
|
|
55
|
+
*/
|
|
56
|
+
export interface IComponent {
|
|
57
|
+
/**
|
|
58
|
+
* 选填, 组件唯一标识
|
|
59
|
+
* @maxLength 214
|
|
60
|
+
* @minLength 1
|
|
61
|
+
*/
|
|
62
|
+
name?: string;
|
|
63
|
+
/**
|
|
64
|
+
* 选填, 组件可以接收的数据, 用作组件props入参
|
|
65
|
+
* 需要符合 JSON SCHEMA 规范
|
|
66
|
+
*
|
|
67
|
+
* @default {}
|
|
68
|
+
*/
|
|
69
|
+
data?: any;
|
|
70
|
+
/**
|
|
71
|
+
* 选填, 组件可以被捕获的事件信息
|
|
72
|
+
*
|
|
73
|
+
* @default []
|
|
74
|
+
*/
|
|
75
|
+
events?: IEvent[];
|
|
76
|
+
/**
|
|
77
|
+
* 选填,组件样式 API
|
|
78
|
+
*/
|
|
79
|
+
classes?: IClasses[];
|
|
80
|
+
/**
|
|
81
|
+
* 选填,组件属性 API
|
|
82
|
+
*/
|
|
83
|
+
properties?: IClasses[];
|
|
84
|
+
/**
|
|
85
|
+
* 选填, 组件内定义的自定义方法
|
|
86
|
+
*
|
|
87
|
+
* @default []
|
|
88
|
+
*/
|
|
89
|
+
methods?: IMethod[];
|
|
90
|
+
/**
|
|
91
|
+
* 选填, 组件需要在运行时获取的配置项
|
|
92
|
+
* @deprecated
|
|
93
|
+
*/
|
|
94
|
+
compConfig?: {
|
|
31
95
|
/**
|
|
32
|
-
*
|
|
96
|
+
* 选填, 组件是否开启数据容器功能
|
|
97
|
+
* 默认为 false, 设置为 true 后, 在组件内可通过调用 onDataChange 事件将内部数据挂载到组件的 $context 上下文对象
|
|
33
98
|
*/
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* 选填, 平台方法的别名, 建议用中文
|
|
37
|
-
*/
|
|
38
|
-
title?: string;
|
|
39
|
-
/**
|
|
40
|
-
* 选填, 平台方法的简介, 建议用中文
|
|
41
|
-
*/
|
|
42
|
-
description?: string;
|
|
43
|
-
};
|
|
99
|
+
isDataContainer?: boolean;
|
|
44
100
|
/**
|
|
45
|
-
*
|
|
101
|
+
* 选填, 组件类型
|
|
102
|
+
* 支持将表单类组件设置为 formField,即可在表单容器中收集值
|
|
46
103
|
*/
|
|
47
|
-
|
|
48
|
-
}
|
|
104
|
+
componentType?: string;
|
|
105
|
+
};
|
|
49
106
|
/**
|
|
50
|
-
*
|
|
107
|
+
* 选填, 组件适配的平台
|
|
108
|
+
*
|
|
109
|
+
* 如果该字段为空, 则进行智能推断
|
|
51
110
|
*/
|
|
52
|
-
|
|
111
|
+
platforms?: string[];
|
|
112
|
+
/**
|
|
113
|
+
* 选填, 仅用于在低码平台的信息展示
|
|
114
|
+
*/
|
|
115
|
+
meta?: {
|
|
53
116
|
/**
|
|
54
|
-
* 选填,
|
|
55
|
-
* @maxLength 214
|
|
56
|
-
* @minLength 1
|
|
117
|
+
* 选填, 组件英文标识
|
|
57
118
|
*/
|
|
58
119
|
name?: string;
|
|
59
120
|
/**
|
|
60
|
-
* 选填,
|
|
61
|
-
*
|
|
62
|
-
* @default []
|
|
121
|
+
* 选填, 用于生成组件 id 的前缀标识
|
|
63
122
|
*/
|
|
64
|
-
|
|
123
|
+
componentName?: string;
|
|
65
124
|
/**
|
|
66
|
-
* 选填,
|
|
67
|
-
*
|
|
68
|
-
* @default []
|
|
125
|
+
* 选填, 组件别名, 建议用中文
|
|
69
126
|
*/
|
|
70
|
-
|
|
127
|
+
title?: string;
|
|
71
128
|
/**
|
|
72
|
-
* 选填,
|
|
73
|
-
* 需要符合 JSON SCHEMA 规范
|
|
74
|
-
*
|
|
75
|
-
* @default {}
|
|
129
|
+
* 选填, 组件简介, 建议用中文
|
|
76
130
|
*/
|
|
77
|
-
|
|
131
|
+
description?: string;
|
|
78
132
|
/**
|
|
79
|
-
* 选填,
|
|
80
|
-
*
|
|
81
|
-
* 如果该字段为空, 则进行智能推断
|
|
133
|
+
* 选填, 组件图标, 支持本地图片
|
|
82
134
|
*/
|
|
83
|
-
|
|
135
|
+
icon?: string;
|
|
84
136
|
/**
|
|
85
|
-
*
|
|
137
|
+
* 选填, 组件分类, 建议用中文
|
|
86
138
|
*/
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* 选填, 组件别名, 建议用中文
|
|
90
|
-
*/
|
|
91
|
-
title?: string;
|
|
92
|
-
/**
|
|
93
|
-
* 选填, 组件简介, 建议用中文
|
|
94
|
-
*/
|
|
95
|
-
description?: string;
|
|
96
|
-
/**
|
|
97
|
-
* 选填, 组件图标, 暂时只支持本地图片
|
|
98
|
-
*/
|
|
99
|
-
icon?: string;
|
|
100
|
-
/**
|
|
101
|
-
* 选填, 组件分类, 建议用中文
|
|
102
|
-
*/
|
|
103
|
-
category?: string;
|
|
104
|
-
/**
|
|
105
|
-
* 选填, 组件的排序权重
|
|
106
|
-
*
|
|
107
|
-
* @minimum 1
|
|
108
|
-
* @maximum 10000
|
|
109
|
-
*/
|
|
110
|
-
componentOrder?: number;
|
|
111
|
-
/**
|
|
112
|
-
* 选填, 标识旧组件废弃,控制单组件升级按钮显隐
|
|
113
|
-
*/
|
|
114
|
-
deprecated?: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* 选填, 单组件渲染模式[升级/替换]
|
|
117
|
-
*/
|
|
118
|
-
renderMode?: IRenderMode[];
|
|
119
|
-
};
|
|
139
|
+
category?: string;
|
|
120
140
|
/**
|
|
121
|
-
*
|
|
141
|
+
* 选填, 组件的排序权重
|
|
142
|
+
*
|
|
143
|
+
* @minimum 1
|
|
144
|
+
* @maximum 10000
|
|
122
145
|
*/
|
|
123
|
-
|
|
146
|
+
componentOrder?: number;
|
|
124
147
|
/**
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* 容器可以包含子节点,但是不能配置插槽
|
|
148
|
+
* 选填, 组件生效的平台
|
|
128
149
|
*/
|
|
129
|
-
|
|
150
|
+
platform?: XPlatform[];
|
|
130
151
|
/**
|
|
131
|
-
*
|
|
132
|
-
*
|
|
152
|
+
* 选填, 组件可见性配置
|
|
153
|
+
* 默认均显示,[]表示隐藏, ['APP']表示只在应用编辑器显示,['COMPONENT']表示只在组件编辑器显示
|
|
133
154
|
*/
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* 低码组件可以被捕获的事件信息
|
|
138
|
-
*/
|
|
139
|
-
interface IEvent {
|
|
155
|
+
visible?: VisibleItem[];
|
|
140
156
|
/**
|
|
141
|
-
*
|
|
157
|
+
* 选填,组件模板配置
|
|
158
|
+
* {@link https://tapd.woa.com/20422223/prong/stories/view/1020422223884227747 使用文档}
|
|
142
159
|
*/
|
|
143
|
-
|
|
160
|
+
templates?: ITemplate[];
|
|
144
161
|
/**
|
|
145
|
-
* 选填,
|
|
162
|
+
* 选填, 标识旧组件废弃,控制单组件升级按钮显隐
|
|
163
|
+
* {@link https://tapd.woa.com/TCB_new/markdown_wikis/show/#1220422223002411487 使用文档}
|
|
146
164
|
*/
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* 低码组件可以暴露的自定义方法
|
|
151
|
-
*/
|
|
152
|
-
interface IMethod {
|
|
165
|
+
deprecated?: boolean;
|
|
153
166
|
/**
|
|
154
|
-
*
|
|
167
|
+
* 选填, 单组件渲染模式[升级/替换]
|
|
168
|
+
* {@link https://tapd.woa.com/TCB_new/markdown_wikis/show/#1220422223002411487 使用文档}
|
|
155
169
|
*/
|
|
156
|
-
|
|
170
|
+
renderMode?: IRenderMode[];
|
|
157
171
|
/**
|
|
158
|
-
*
|
|
172
|
+
* 选填, 组件说明文档的地址
|
|
159
173
|
*/
|
|
160
|
-
|
|
174
|
+
docsUrl?: string;
|
|
161
175
|
/**
|
|
162
|
-
* 选填,
|
|
163
|
-
* 需要符合 JSON SCHEMA 规范
|
|
164
|
-
*
|
|
165
|
-
* @default {}
|
|
176
|
+
* 选填, 组件快捷编辑协议
|
|
166
177
|
*/
|
|
167
|
-
|
|
178
|
+
shortcut?: IShortcut;
|
|
168
179
|
/**
|
|
169
|
-
*
|
|
180
|
+
* 选填,组件上下文协议,配置后可通过 $context.id.state.xx 读取属性值
|
|
181
|
+
* @deprecated
|
|
170
182
|
*/
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
183
|
+
contextData?: {
|
|
184
|
+
extra?: Record<string, any>;
|
|
185
|
+
};
|
|
174
186
|
/**
|
|
175
|
-
*
|
|
187
|
+
* 选填,组件相对位置限制
|
|
188
|
+
* {@link https://tapd.woa.com/TCB_new/markdown_wikis/show/#1220422223002466153 使用文档}
|
|
176
189
|
*/
|
|
177
|
-
|
|
190
|
+
positionConstraint?: {
|
|
191
|
+
/**
|
|
192
|
+
* 可选,允许子组件类型
|
|
193
|
+
*/
|
|
194
|
+
allowChildren?: {
|
|
195
|
+
/**
|
|
196
|
+
* 组件对应类型,对应 componentConfig.componentType
|
|
197
|
+
*/
|
|
198
|
+
componentType: string;
|
|
199
|
+
/**
|
|
200
|
+
* 是否允许为隔代子组件
|
|
201
|
+
*/
|
|
202
|
+
recursive: boolean;
|
|
203
|
+
}[];
|
|
204
|
+
/**
|
|
205
|
+
* 可选,允许父组件类型
|
|
206
|
+
*/
|
|
207
|
+
allowParent?: {
|
|
208
|
+
/**
|
|
209
|
+
* 组件对应类型,对应 componentConfig.componentType
|
|
210
|
+
*/
|
|
211
|
+
componentType: string;
|
|
212
|
+
/**
|
|
213
|
+
* 是否允许为隔代父组件
|
|
214
|
+
*/
|
|
215
|
+
recursive: boolean;
|
|
216
|
+
}[];
|
|
217
|
+
};
|
|
178
218
|
/**
|
|
179
|
-
*
|
|
219
|
+
* 选填,搜索关键词
|
|
220
|
+
* {@link https://tapd.woa.com/TCB_new/markdown_wikis/show/#1220422223002460167 使用文档}
|
|
180
221
|
*/
|
|
181
|
-
|
|
222
|
+
keyWords?: string[];
|
|
182
223
|
/**
|
|
183
|
-
*
|
|
224
|
+
* 选填,属性面板提示,支持 markdown
|
|
225
|
+
* {@link https://tapd.woa.com/TCB_new/markdown_wikis/show/#1220422223002460139 使用文档}
|
|
184
226
|
*/
|
|
185
|
-
|
|
186
|
-
[name: string]: string;
|
|
187
|
-
};
|
|
227
|
+
propertyPanelTips?: string;
|
|
188
228
|
/**
|
|
189
|
-
*
|
|
229
|
+
* 选填,检查功能
|
|
230
|
+
* {@link https://tapd.woa.com/TCB_new/markdown_wikis/show/#1220422223002459983 使用文档}
|
|
190
231
|
*/
|
|
191
|
-
|
|
232
|
+
validate?: {
|
|
233
|
+
/**
|
|
234
|
+
* 规则名称
|
|
235
|
+
*/
|
|
236
|
+
rule: string;
|
|
237
|
+
/**
|
|
238
|
+
* 标题,支持 markdown
|
|
239
|
+
*/
|
|
240
|
+
title: string;
|
|
241
|
+
/**
|
|
242
|
+
* 描述,支持 markdown
|
|
243
|
+
*/
|
|
244
|
+
description: string;
|
|
245
|
+
/**
|
|
246
|
+
* 类型
|
|
247
|
+
*/
|
|
248
|
+
type: string;
|
|
249
|
+
/**
|
|
250
|
+
* 选填,版本,版本,支持 markdown
|
|
251
|
+
*/
|
|
252
|
+
version?: string;
|
|
253
|
+
/**
|
|
254
|
+
* 可选,是否允许失败
|
|
255
|
+
*/
|
|
256
|
+
allowFailure?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* 可选,限制当前选中平台,不填不限制,默认为 null
|
|
259
|
+
*/
|
|
260
|
+
matchedSelectedPlatform?: Array<'h5' | 'miniprogram' | 'pc'>;
|
|
261
|
+
/**
|
|
262
|
+
* 可选,限制当前发布平台,不填不限制,默认为 'all'
|
|
263
|
+
*/
|
|
264
|
+
matchedPublishedPlatform?: 'web' | 'miniprogram' | 'all';
|
|
265
|
+
/**
|
|
266
|
+
* 特殊字段,因 rule 的不同而不同
|
|
267
|
+
*/
|
|
268
|
+
extra?: any;
|
|
269
|
+
/**
|
|
270
|
+
* 选填,操作字段,组件无需填写
|
|
271
|
+
*/
|
|
272
|
+
options?: {
|
|
273
|
+
/**
|
|
274
|
+
* 名称
|
|
275
|
+
*/
|
|
276
|
+
name: string;
|
|
277
|
+
/**
|
|
278
|
+
* 标签
|
|
279
|
+
*/
|
|
280
|
+
label: string;
|
|
281
|
+
/**
|
|
282
|
+
* 点击事件
|
|
283
|
+
*/
|
|
284
|
+
click: Function;
|
|
285
|
+
/**
|
|
286
|
+
* 提示
|
|
287
|
+
*/
|
|
288
|
+
tooltip: string;
|
|
289
|
+
};
|
|
290
|
+
};
|
|
192
291
|
/**
|
|
193
|
-
*
|
|
292
|
+
* 选填,样式配置属性屏蔽
|
|
293
|
+
* {@link https://tapd.woa.com/TCB_new/markdown_wikis/show/#1220422223002470249 使用文档}
|
|
194
294
|
*/
|
|
195
|
-
|
|
196
|
-
|
|
295
|
+
inlineStyleForm?: {
|
|
296
|
+
[key: string]: {
|
|
297
|
+
visible: boolean;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* 选填, 扩展字段, 尽量避免用
|
|
303
|
+
*/
|
|
304
|
+
extra?: any;
|
|
305
|
+
/**
|
|
306
|
+
* 选填, 是否容器组件
|
|
307
|
+
*
|
|
308
|
+
* 容器可以包含子节点,但是不能配置插槽
|
|
309
|
+
*/
|
|
310
|
+
isContainer?: boolean;
|
|
311
|
+
/**
|
|
312
|
+
* 默认样式
|
|
313
|
+
* defaultStyles 接收一个React.CSSProperties对象
|
|
314
|
+
*/
|
|
315
|
+
defaultStyles?: CSS.Properties<string | number>;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* 低码组件可以被捕获的事件信息
|
|
319
|
+
*/
|
|
320
|
+
export interface IEvent {
|
|
321
|
+
/**
|
|
322
|
+
* 必填, 用作抛出和捕获事件的唯一标识
|
|
323
|
+
*/
|
|
324
|
+
name: string;
|
|
325
|
+
/**
|
|
326
|
+
* 选填, 事件别名, 用于低码平台展示
|
|
327
|
+
*/
|
|
328
|
+
title: string;
|
|
329
|
+
/**
|
|
330
|
+
* 选填,事件生效的平台
|
|
331
|
+
*/
|
|
332
|
+
'x-platforms'?: XPlatform;
|
|
333
|
+
/**
|
|
334
|
+
* 事件参数对象
|
|
335
|
+
*/
|
|
336
|
+
detail?: Record<string, any>;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* 低码组件可以暴露的自定义方法
|
|
340
|
+
*/
|
|
341
|
+
export interface IMethod {
|
|
342
|
+
/**
|
|
343
|
+
* 必填, 用作组件方法的唯一标识
|
|
344
|
+
*/
|
|
345
|
+
name: string;
|
|
346
|
+
/**
|
|
347
|
+
* 必填, 组件方法别名, 用于低码平台展示
|
|
348
|
+
*/
|
|
349
|
+
label: string;
|
|
350
|
+
/**
|
|
351
|
+
* 选填, 组件方法可以接收的数据
|
|
352
|
+
* 需要符合 JSON SCHEMA 规范
|
|
353
|
+
*
|
|
354
|
+
* @default {}
|
|
355
|
+
*/
|
|
356
|
+
params?: any;
|
|
357
|
+
/**
|
|
358
|
+
* 选填, 组件自定义方法适配的平台
|
|
359
|
+
*/
|
|
360
|
+
platforms?: string[];
|
|
361
|
+
/**
|
|
362
|
+
* 选填, 组件方法描述
|
|
363
|
+
*/
|
|
364
|
+
description?: string;
|
|
365
|
+
}
|
|
366
|
+
export interface IRenderMode {
|
|
367
|
+
/**
|
|
368
|
+
* 必填, 转换的目标组件名称
|
|
369
|
+
*/
|
|
370
|
+
component: string;
|
|
371
|
+
/**
|
|
372
|
+
* 必填, 表示升级还是替换
|
|
373
|
+
*/
|
|
374
|
+
renderType: 'update' | 'replace';
|
|
375
|
+
/**
|
|
376
|
+
* 选填, [源组件的属性路径]:[转换目标组件的属性路径] 标记属性路径的映射关系
|
|
377
|
+
*/
|
|
378
|
+
props?: {
|
|
379
|
+
[name: string]: string;
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* 选填, 表示升级组件所属组件库,默认与废弃组件同库
|
|
383
|
+
*/
|
|
384
|
+
materialName?: string;
|
|
385
|
+
/**
|
|
386
|
+
* 选填, 升级说明
|
|
387
|
+
*/
|
|
388
|
+
description?: string;
|
|
389
|
+
}
|
|
390
|
+
/** 组件/方法/属性所支持的平台 */
|
|
391
|
+
export declare type XPlatform = 'MP' | 'WEB' | 'PCWEB' | 'MOBILEWEB';
|
|
392
|
+
/** 组件在应用编辑器/低码编辑器的生效情况*/
|
|
393
|
+
export declare type VisibleItem = 'APP' | 'COMPONENT';
|
|
394
|
+
/** 组件模板配置 */
|
|
395
|
+
export interface ITemplate {
|
|
396
|
+
/**
|
|
397
|
+
* 插入模板的节点或插槽
|
|
398
|
+
* 不设置或设置 $children 表示插入到当前组件,可配置多个节点或插槽并用逗号隔开
|
|
399
|
+
*/
|
|
400
|
+
to?: '$children' | string;
|
|
401
|
+
/**
|
|
402
|
+
* 插入模板的时机
|
|
403
|
+
* 不设置或设置 $attached 表示刚拖入组件时执行,可配置多个属性名称并用逗号隔开
|
|
404
|
+
*/
|
|
405
|
+
when?: '$attached' | string;
|
|
406
|
+
/**
|
|
407
|
+
* 插入的模板主体
|
|
408
|
+
* 目前仅支持 toml 配置语法,结构内容参考组件 CALS
|
|
409
|
+
*/
|
|
410
|
+
body?: string;
|
|
411
|
+
/**
|
|
412
|
+
* 插入模板时自动选中的节点
|
|
413
|
+
* 如 template[0] 表示选中所插入模板的第1个节点
|
|
414
|
+
*/
|
|
415
|
+
autoSelectPath?: `template${string}`;
|
|
416
|
+
}
|
|
417
|
+
/** 组件快捷编辑协议 */
|
|
418
|
+
export interface IShortcut {
|
|
419
|
+
/**
|
|
420
|
+
* 选填,快捷编辑面板中支持的组件属性
|
|
421
|
+
*/
|
|
422
|
+
props?: string[];
|
|
423
|
+
/**
|
|
424
|
+
* 选填,快捷编辑面板中支持拖入的组件
|
|
425
|
+
*/
|
|
426
|
+
extra?: Record<string, {
|
|
427
|
+
'x-component': 'container';
|
|
428
|
+
'x-component-props'?: string[];
|
|
429
|
+
'x-index'?: number;
|
|
430
|
+
'x-insert-path'?: string;
|
|
431
|
+
}>;
|
|
432
|
+
}
|
|
433
|
+
/** 组件样式 API */
|
|
434
|
+
export interface IClasses {
|
|
435
|
+
/**
|
|
436
|
+
* 样式名称
|
|
437
|
+
*/
|
|
438
|
+
name?: string;
|
|
439
|
+
/**
|
|
440
|
+
* 样式选择器
|
|
441
|
+
*/
|
|
442
|
+
selector?: string;
|
|
443
|
+
/**
|
|
444
|
+
* 样式说明
|
|
445
|
+
*/
|
|
446
|
+
description?: string;
|
|
197
447
|
}
|
|
198
448
|
//# sourceMappingURL=lcds.d.ts.map
|
package/lib/types/lcds.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lcds.d.ts","sourceRoot":"","sources":["../../src/types/lcds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,GAAG,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"lcds.d.ts","sourceRoot":"","sources":["../../src/types/lcds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,GAAG,MAAM,SAAS,CAAC;AAEpC;;;;GAIG;AAEH;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,IAAI,CAAC,EAAE,GAAG,CAAC;IAEX;;;OAGG;IACH,UAAU,CAAC,EAAE,GAAG,CAAC;IAEjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE;QACL;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IAEF;;OAEG;IACH,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,IAAI,CAAC,EAAE,GAAG,CAAC;IAEX;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,EAAE,CAAC;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,EAAE,CAAC;IAExB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE;QACX;;;WAGG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B;;;WAGG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IAEF;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE;QACL;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;;;WAKG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB;;WAEG;QACH,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;QACvB;;;WAGG;QACH,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;QACxB;;;WAGG;QACH,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;QAExB;;;WAGG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;QAErB;;;WAGG;QACH,UAAU,CAAC,EAAE,WAAW,EAAE,CAAC;QAE3B;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,QAAQ,CAAC,EAAE,SAAS,CAAC;QAErB;;;WAGG;QACH,WAAW,CAAC,EAAE;YACZ,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;SAC7B,CAAC;QAEF;;;WAGG;QACH,kBAAkB,CAAC,EAAE;YACnB;;eAEG;YACH,aAAa,CAAC,EAAE;gBACd;;mBAEG;gBACH,aAAa,EAAE,MAAM,CAAC;gBACtB;;mBAEG;gBACH,SAAS,EAAE,OAAO,CAAC;aACpB,EAAE,CAAC;YACJ;;eAEG;YACH,WAAW,CAAC,EAAE;gBACZ;;mBAEG;gBACH,aAAa,EAAE,MAAM,CAAC;gBACtB;;mBAEG;gBACH,SAAS,EAAE,OAAO,CAAC;aACpB,EAAE,CAAC;SACL,CAAC;QACF;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;QAEpB;;;WAGG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;;WAGG;QACH,QAAQ,CAAC,EAAE;YACT;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YACb;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;YACd;;eAEG;YACH,WAAW,EAAE,MAAM,CAAC;YACpB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YACb;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB;;eAEG;YACH,YAAY,CAAC,EAAE,OAAO,CAAC;YACvB;;eAEG;YACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,IAAI,GAAG,aAAa,GAAG,IAAI,CAAC,CAAC;YAC7D;;eAEG;YACH,wBAAwB,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,KAAK,CAAC;YACzD;;eAEG;YACH,KAAK,CAAC,EAAE,GAAG,CAAC;YACZ;;eAEG;YACH,OAAO,CAAC,EAAE;gBACR;;mBAEG;gBACH,IAAI,EAAE,MAAM,CAAC;gBACb;;mBAEG;gBACH,KAAK,EAAE,MAAM,CAAC;gBACd;;mBAEG;gBACH,KAAK,EAAE,QAAQ,CAAC;gBAChB;;mBAEG;gBACH,OAAO,EAAE,MAAM,CAAC;aACjB,CAAC;SACH,CAAC;QAEF;;;WAGG;QACH,eAAe,CAAC,EAAE;YAChB,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb,OAAO,EAAE,OAAO,CAAC;aAClB,CAAC;SACH,CAAC;KACH,CAAC;IAEF;;OAEG;IACH,KAAK,CAAC,EAAE,GAAG,CAAC;IAEZ;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,aAAa,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,MAAM,CAAC,EAAE,GAAG,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,QAAQ,GAAG,SAAS,CAAC;IAEjC;;OAEG;IACH,KAAK,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEnC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAqB;AACrB,oBAAY,SAAS,GAAG,IAAI,GAAG,KAAK,GAAG,OAAO,GAAG,WAAW,CAAC;AAE7D,yBAAyB;AACzB,oBAAY,WAAW,GAAG,KAAK,GAAG,WAAW,CAAC;AAE9C,aAAa;AACb,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,EAAE,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,CAAC,EAAE,WAAW,MAAM,EAAE,CAAC;CACtC;AAED,eAAe;AACf,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CACZ,MAAM,EACN;QACE,aAAa,EAAE,WAAW,CAAC;QAC3B,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;QAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CACF,CAAC;CACH;AAED,eAAe;AACf,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const wedaDTS = "declare class UserWidget {\n // FIXME: \u6682\u65F6\u4E0D\u5BF9\u5916\u66B4\u9732\n // \u5185\u7F6E\u547D\u540D\u7A7A\u95F4\n // get sys(): {\n // readonly id: string;\n // readonly module: string;\n // readonly component: string;\n // readonly parent: UserWidget;\n // readonly children: UserWidget[];\n\n // closest(filter?: (parentWidget: UserWidget) => boolean): UserWidget | null;\n // };\n\n // FIXME: \u6682\u65F6\u4E0D\u5BF9\u5916\u66B4\u9732\n // \u81EA\u5B9A\u4E49\u547D\u540D\u7A7A\u95F4\n // get custom(): { [key: string]: any };\n\n // ========== \u5FEB\u6377\u8BBF\u95EE\u65B9\u5F0F ========== //\n\n /**\n * \u7EC4\u4EF6 ID\uFF0C\u5FAE\u642D\u4E2D\u4E00\u822C\u7531\u7F16\u8F91\u5668\u751F\u6210\n */\n readonly id: string;\n /**\n * \u7EC4\u4EF6\u5E93\u540D\n */\n readonly module: string;\n /**\n * \u7EC4\u4EF6\u540D\n */\n readonly component: string;\n\n /**\n * \u7236\u7EC4\u4EF6\u5F15\u7528\n */\n readonly parent: UserWidget;\n /**\n * \u5B50\u7EC4\u4EF6\u96C6\u5408\n */\n readonly children: UserWidget[];\n\n // FIXME: \u6682\u65F6\u4E0D\u5BF9\u5916\u66B4\u9732\n // closest(filter?: (parentWidget: UserWidget) => boolean): UserWidget | null;\n}\n\n// Used Components Inner Begin\n// Used Components - Don't touch me\n// Used Components Inner End\n\n// Redefine Any Type Inner Begin\n// Redefine Any Type - Don't touch me\n// Redefine Any Type Inner End\n\ndeclare namespace $app {\n /**\n * \u5E94\u7528 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5E94\u7528 ID\"}\n */\nconst id: string;\n/**\n * \u5E94\u7528\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5E94\u7528\u540D\u79F0\"}\n */\nconst label: string;\n/**\n * \u5E94\u7528\u7248\u672C\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5E94\u7528\u7248\u672C\"}\n */\nconst version: string;\n/**\n * \u5C0F\u7A0B\u5E8FAPPID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5C0F\u7A0B\u5E8FAPPID\"}\n */\nconst mpAppId: string;\n/**\n * \u5C0F\u7A0B\u5E8F\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5C0F\u7A0B\u5E8F\u540D\u79F0\"}\n */\nconst mpAppName: string;\n\nnamespace dataset {\n\n /**\n * \u5168\u5C40\u53D8\u91CF\u5BF9\u8C61\n */\n const state: {\n // Global State Inner Begin\n // Global State \u5168\u5C40\u53D8\u91CF - Don't touch me\n // Global State Inner End\n };\n}\n\n/**\n * \u5168\u5C40 common \u65B9\u6CD5\n */\nnamespace common {\n // Global Common Inner Begin\n // Global Common \u5168\u5C40\u65B9\u6CD5 - Don't touch me\n // Global Common Inner End\n}\n\n/**\n * \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u6539\u7528 $w.utils\n *\nconst utils: any\n\n/**\n * \u8BBE\u7F6E\u9875\u9762\u53D8\u91CF\n */\nfunction setState(data: Object): void;\n\n}\n\ndeclare const app = $app;\n\ndeclare namespace $w {\n\n /**\n * \u5F53\u524D\u5E94\u7528\u5B9E\u4F8B\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u5E94\u7528\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u5E94\u7528 ID\"},\"label\":{\"type\":\"string\",\"title\":\"\u5E94\u7528\u540D\u79F0\"},\"version\":{\"type\":\"string\",\"title\":\"\u5E94\u7528\u7248\u672C\"},\"mpAppName\":{\"type\":\"string\",\"title\":\"\u5C0F\u7A0B\u5E8F\u540D\u79F0\"},\"mpAppId\":{\"type\":\"string\",\"title\":\"\u5C0F\u7A0B\u5E8FAPPID\"}}}}\n */\n const app = $app;\n\n /**\n * \u5F53\u524D\u9875\u9762\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u5F53\u524D\u9875\u9762\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u9875\u9762 ID\"},\"label\":{\"type\":\"string\",\"title\":\"\u9875\u9762\u540D\u79F0\"},\"path\":{\"type\":\"string\",\"title\":\"\u9875\u9762\u8DEF\u5F84\"}}}}\n */\n const page = $page;\n\n /**\n * \u7528\u6237\u6743\u9650\u76F8\u5173\u65B9\u6CD5\u548C\u5C5E\u6027\n */\n namespace auth {\n \ninterface CurrentUserInfo {\n /**\n * \u7528\u6237 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u7528\u6237 ID\"}\n */\n userId?: string;\n /**\n * \u624B\u673A\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u624B\u673A\"}\n */\n phone?: string;\n /**\n * \u7528\u6237\u7C7B\u578B\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"number\", \"displayName\": \"\u7528\u6237\u7C7B\u578B\"}\n */\n type?: number;\n /**\n * \u7528\u6237\u5173\u8054\u89D2\u8272\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"array\", \"displayName\": \"\u7528\u6237\u5173\u8054\u89D2\u8272\"}\n */\n relatedRoles?: {\n /**\n * \u89D2\u8272 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u89D2\u8272 ID\"}\n */\n id?: string;\n /**\n * \u73AF\u5883 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u73AF\u5883 ID\"}\n */\n envId?: string;\n /**\n * \u89D2\u8272\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u89D2\u8272\u540D\u79F0\"}\n */\n name?: string;\n /**\n * \u89D2\u8272\u6807\u8BC6\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u89D2\u8272\u6807\u8BC6\"}\n */\n roleIdentity?: string;\n }[];\n /**\n * \u5FAE\u4FE1/\u4F01\u5FAE openId\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5FAE\u4FE1/\u4F01\u5FAE openId\"}\n */\n openId?: string;\n /**\n * \u7528\u6237\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u7528\u6237\u540D\u79F0\"}\n */\n name?: string;\n /**\n * \u7528\u6237\u6635\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u7528\u6237\u6635\u79F0\"}\n */\n nickName?: string;\n /**\n * \u90AE\u7BB1\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u90AE\u7BB1\"}\n */\n email?: string;\n /**\n * \u4E3B\u5C97\u90E8\u95E8\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u4E3B\u5C97\u90E8\u95E8\"}\n */\n mainOrg?: {\n /**\n * \u4E3B\u5C97\u90E8\u95E8 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u4E3B\u5C97\u90E8\u95E8 ID\"}\n */\n id?: string;\n /**\n * \u4E3B\u5C97\u90E8\u95E8\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u4E3B\u5C97\u90E8\u95E8\u540D\u79F0\"}\n */\n name?: string;\n };\n /**\n * \u517C\u5C97\u90E8\u95E8\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u517C\u5C97\u90E8\u95E8\"}\n */\n orgs?: {\n /**\n * \u517C\u5C97\u90E8\u95E8 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u517C\u5C97\u90E8\u95E8 ID\"}\n */\n id?: string;\n /**\n * \u517C\u5C97\u90E8\u95E8\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u517C\u5C97\u90E8\u95E8\u540D\u79F0\"}\n */\n name?: string;\n }[];\n}\n\n/**\n * \u83B7\u53D6\u7528\u6237\u4FE1\u606F\n */\nfunction getUserInfo(): CurrentUserInfo;\n\n/**\n *\n * \u767B\u5F55\u7528\u6237\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u767B\u5F55\u7528\u6237\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"userId\":{\"type\":\"string\",\"title\":\"\u7528\u6237 ID\"},\"phone\":{\"type\":\"string\",\"title\":\"\u624B\u673A\"},\"type\":{\"type\":\"number\",\"title\":\"\u7528\u6237\u7C7B\u578B\"},\"relatedRoles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u89D2\u8272 ID\"},\"envId\":{\"type\":\"string\",\"title\":\"\u73AF\u5883 ID\"},\"name\":{\"type\":\"string\",\"title\":\"\u89D2\u8272\u540D\u79F0\"},\"roleIdentity\":{\"type\":\"string\",\"title\":\"\u89D2\u8272\u6807\u8BC6\"}}},\"title\":\"\u7528\u6237\u5173\u8054\u89D2\u8272\"},\"openId\":{\"type\":\"string\",\"title\":\"\u5FAE\u4FE1/\u4F01\u5FAE openId\"},\"name\":{\"type\":\"string\",\"title\":\"\u7528\u6237\u540D\u79F0\"},\"nickName\":{\"type\":\"string\",\"title\":\"\u7528\u6237\u6635\u79F0\"},\"email\":{\"type\":\"string\",\"title\":\"\u90AE\u7BB1\"},\"mainOrg\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u4E3B\u5C97\u90E8\u95E8 ID\"},\"name\":{\"type\":\"string\",\"title\":\"\u4E3B\u5C97\u90E8\u95E8\u540D\u79F0\"}},\"title\":\"\u4E3B\u5C97\u90E8\u95E8\"},\"orgs\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u517C\u5C97\u90E8\u95E8 ID\"},\"name\":{\"type\":\"string\",\"title\":\"\u517C\u5C97\u90E8\u95E8\u540D\u79F0\"}}},\"title\":\"\u517C\u5C97\u90E8\u95E8\"}}}, \"doc\": \"https://docs.cloudbase.net/lowcode/framework/app/app#authgetuserinfoauthcurrentuser\"}\n */\nconst currentUser: CurrentUserInfo;\n\n }\n\n /**\n * \u6570\u636E\u6E90\u7B49\u4E91\u7AEF\u80FD\u529B\u96C6\u5408\n */\n namespace cloud {\n interface ICallDataSourceParams {\n /**\n * \u6570\u636E\u6E90\u6807\u5FD7\n */\n dataSourceName: string;\n /**\n * \u6570\u636E\u6E90\u65B9\u6CD5\u540D\n */\n methodName: string;\n /**\n * \u65B9\u6CD5\u53C2\u6570\uFF0C\u6839\u636E\u65B9\u6CD5\u5B9E\u9645\u5165\u53C2\u586B\u5199\n */\n params: Object;\n}\ninterface ICallFunctionParams {\n /**\n * TCB\u4E91\u51FD\u6570\u540D\u79F0\n */\n name: string;\n /**\n * \u4E91\u51FD\u6570\u63A5\u6536\u7684\u53C2\u6570\uFF0C\u6839\u636E\u81EA\u5DF1\u521B\u5EFA\u7684\u4E91\u51FD\u6570\u5165\u53C2\u800C\u5B9A\n */\n data?: any;\n}\ninterface IParseOptions {\n /**\n * \u89E3\u6790 \u4E91\u5F00\u53D1\u4E91\u51FD\u6570\u7684\u901A\u7528response \u5305\u88C5\u3002\u4E3Atrue, \u5219\u8FD4\u56DE res.result, \u6B64\u65F6\u4F1A\u4E22\u5931 res.requestId \u4FE1\u606F\n */\n unwrapResult?: boolean;\n /**\n * \u89E3\u6790\u4E1A\u52A1\u4FE1\u606F\uFF0C\u9700\u914D\u5408 unwrapResult \u4F7F\u7528\u3002\u4E3A true \u65F6, res.result.code \u975E 0 \u629B\u51FA\u9519\u8BEF, \u4E3A 0 \u5219\u8FD4\u56DE res.result.data\n */\n parseBusinessInfo?: boolean;\n}\ninterface ICallWorkflowParams {\n /**\n * \u65B9\u6CD5\u540D\u79F0\n */\n action: string;\n /**\n * \u65B9\u6CD5\u7684\u81EA\u5B9A\u4E49\u53C2\u6570\uFF0C\u5176\u4E2D envType, envId, uid, source \u5747\u65E0\u9700\u586B\u5199\n */\n data?: Record<string, any>;\n /**\n * \u662F\u5426\u81EA\u52A8\u5C06 data \u7684key \u6539\u4E3A\u5927\u5199\u9A7C\u5CF0\u3002\u9ED8\u8BA4\u4E3A true, \u5373\u4F7F\u7528\u65F6 data \u53EF\u4EE5\u91C7\u7528\u5C0F\u9A7C\u5CF0\u7684 key\n */\n capitalizeDataKey?: boolean;\n}\n\n/**\n * \u8C03\u7528\u6570\u636E\u6E90\n */\nfunction callDataSource(params: ICallDataSourceParams): any;\n\n/**\n * \u901A\u8FC7 cloudid \u83B7\u53D6\u9759\u6001\u6587\u4EF6\u7684 http \u8BBF\u95EE\u5730\u5740\n */\nfunction getTempFileURL(params: string | string[]): Promise<string | string[]>;\n\n/**\n * \u8C03\u7528\u6D41\u7A0B\n */\nfunction callWorkflow(action: ICallWorkflowParams): Promise<any>;\n\n/**\n * \u8C03\u7528\u4E91\u5F00\u53D1\u7684\u4E91\u51FD\u6570, \u4E0E $w.cloud.getCloudInstance \u793A\u4F8B\u4E2D\u7684\u6548\u679C\u5927\u4F53\u4E00\u81F4\n */\nfunction callFunction(params: ICallFunctionParams, parseOptions?: IParseOptions): Promise<any>;\n\n/**\n * \u8FD4\u56DE\u4E91\u5F00\u53D1web-sdk\u521D\u59CB\u5316\u540E\u7684\u5B9E\u4F8B(\u65E0\u9700\u5173\u5FC3tcb\u73AF\u5883\u4FE1\u606F\u53CA\u8BA4\u8BC1\u767B\u5F55\u7684\u5904\u7406), \u5373 tcb.init \u540E\u8FD4\u56DE\u7684\u5BF9\u8C61, \u53EF\u7528\u8BE5\u5BF9\u8C61\u76F4\u63A5\u8C03\u7528tcb\u7684\u5404\u79CD\u80FD\u529B\n */\nfunction getCloudInstance(): Promise<CloudInstance>;\n\n }\n\n /**\n * \u5E73\u53F0\u5DE5\u5177\u65B9\u6CD5\u96C6\u5408\n */\n namespace utils {\n interface navigatorOptions {\n /**\n * \u5B50\u5E94\u7528\u5305\u5730\u5740\uFF0C\u4F8B\u5982 packages/subapp\n */\n packageName: string;\n /**\n * \u9875\u9762 ID\n */\n pageId: string;\n data?: Record<string, any>;\n /**\n * query object \u5BF9\u8C61\n */\n params?: Record<string, any>;\n events?: Record<string, (data: any) => void>;\n success(res: any);\n fail(res: any);\n complete(res: any);\n}\n\ninterface navigateBackOptions {\n /**\n * \u8FD4\u56DE\u7684\u9875\u9762\u6570\uFF0C\u5982\u679C delta \u5927\u4E8E\u73B0\u6709\u9875\u9762\u6570\uFF0C\u5219\u8FD4\u56DE\u5230\u9996\u9875\u3002\n */\n delta: number;\n}\n\n/**\n * \u663E\u793A\u63D0\u793A\u6846\n */\nfunction showToast(options);\n\n/**\n * \u663E\u793A\u5168\u5C40\u52A0\u8F7D\u4E2D\u63D0\u793A\n */\nfunction showLoading(options);\n\n/**\n * \u9690\u85CF\u5168\u5C40\u52A0\u8F7D\u4E2D\u63D0\u793A\n */\nfunction hideLoading(options);\n\n/**\n * \u663E\u793A\u6A21\u6001\u5F39\u6846\n */\nfunction showModal(options);\n\n/**\n * \u62E8\u6253\u7535\u8BDD\n */\nfunction callPhone(options);\n\n/**\n * \u626B\u63CF\u4E8C\u7EF4\u7801\n */\nfunction scanCode(options: {\n /**\n * \u662F\u5426\u53EA\u80FD\u4ECE\u76F8\u673A\u626B\u7801\uFF0C\u4E0D\u5141\u8BB8\u4ECE\u76F8\u518C\u9009\u62E9\u56FE\u7247\n */\n onlyFromCamera?: boolean;\n enableDefaultBehavior?: boolean;\n /**\n * \u626B\u7801\u7C7B\u578B\n */\n scanType?: ('barCode' | 'qrCode')[];\n /**\n * \u63A5\u53E3\u8C03\u7528\u6210\u529F\u7684\u56DE\u8C03\u51FD\u6570\n */\n success?: (res: { result: string; scanType: string }) => void;\n /**\n * \u63A5\u53E3\u8C03\u7528\u5931\u8D25\u7684\u56DE\u8C03\u51FD\u6570\n */\n fail?: (err: Error) => void;\n /**\n * \u63A5\u53E3\u8C03\u7528\u7ED3\u675F\u7684\u56DE\u8C03\u51FD\u6570\uFF08\u8C03\u7528\u6210\u529F\u3001\u5931\u8D25\u90FD\u4F1A\u6267\u884C\uFF09\n */\n complete?: () => void;\n}): Promise<ScanCodeResult> | ScanCodeResult;\n\n/** \u5FAE\u4FE1\u80FD\u529B */\n/**\n * \u6D88\u606F\u8BA2\u9605\n * @param options\n */\nfunction requestSubscribeMessage(options);\n/**\n * \u5730\u56FE\u5BFC\u822A\n * @param options\n */\nfunction openLocation(options);\n/**\n * \u9884\u7EA6\u89C6\u9891\u53F7\u76F4\u64AD\n * @param options\n */\nfunction reserveChannelsLive(options);\n/**\n * \u6253\u5F00\u89C6\u9891\u53F7\u4E3B\u9875\n * @param options\n */\nfunction openChannelsUserProfile(options);\n/**\n * \u6253\u5F00\u89C6\u9891\u53F7\u76F4\u64AD\n * @param options\n */\nfunction openChannelsLive(options);\n/**\n * \u6253\u5F00\u89C6\u9891\u53F7\u6D3B\u52A8\u9875\n * @param options\n */\nfunction openChannelsEvent(options);\n/**\n * \u6253\u5F00\u89C6\u9891\u53F7\u89C6\u9891\n * @param options\n */\nfunction openChannelsActivity(options);\n/**\n * \u83B7\u53D6\u89C6\u9891\u53F7\u76F4\u64AD\u9884\u544A\u4FE1\u606F\n * @param options\n */\nfunction getChannelsLiveNoticeInfo(options);\n/**\n * \u83B7\u53D6\u89C6\u9891\u53F7\u76F4\u64AD\u4FE1\u606F\n * @param options\n */\nfunction getChannelsLiveInfo(options);\n/**\n * \u521B\u5EFA\u6FC0\u52B1\u89C6\u9891\u5E7F\u544A\n * @param options\n */\nfunction createRewardedVideoAd(options);\n/**\n * \u521B\u5EFA\u63D2\u5C4F\u5E7F\u544A\n * @param options\n */\nfunction createInterstitialAd(options);\n\n// \u7279\u5236\u8DEF\u7531\nfunction navigateTo(options: navigatorOptions);\n\n/**\n * \u5173\u95ED\u5F53\u524D\u9875\u9762\uFF0C\u8DF3\u8F6C\u5230\u5E94\u7528\u5185\u7684\u67D0\u4E2A\u9875\u9762\n */\nfunction redirectTo(options: navigatorOptions);\n\n/**\n * \u5173\u95ED\u6240\u6709\u9875\u9762\uFF0C\u6253\u5F00\u5230\u5E94\u7528\u5185\u7684\u67D0\u4E2A\u9875\u9762\n */\nfunction reLaunch(options: navigatorOptions);\n\n/**\n * \u8FD4\u56DE\u9996\u9875\n */\nfunction relaunchHome();\n\n/**\n * \u5173\u95ED\u5F53\u524D\u9875\u9762\uFF0C\u8FD4\u56DE\u4E0A\u4E00\u9875\u9762\u6216\u591A\u7EA7\u9875\u9762\n */\nfunction navigateBack(options: navigateBackOptions);\n\n/**\n * \u683C\u5F0F\u5316\u679A\u4E3E\n */\nfunction formatEnum(path, optionname, app);\n\n }\n\n /**\n * \u8BBE\u5907\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u8BBE\u5907\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"viewport\":{\"type\":\"object\",\"title\":\"\u7A97\u53E3\",\"properties\":{\"width\":{\"type\":\"number\",\"title\":\"\u7A97\u53E3\u5BBD\u5EA6\"},\"height\":{\"type\":\"number\",\"title\":\"\u7A97\u53E3\u9AD8\u5EA6\"}}},\"networkType\":{\"type\":\"string\",\"title\":\"\u7F51\u7EDC\u7C7B\u578B\"}}}}\n */\n namespace device {\n /**\n * \u7F51\u7EDC\u7C7B\u578B\n * pc\u7AEF\u4E3A\u7A7A\u5B57\u7B26\u4E32\n */\nenum NETWORK_TYPE {\n 'wifi' = 'wifi',\n '2g' = '2g',\n '3g' = '3g',\n '4g' = '4g',\n '5g' = '5g',\n 'other' = 'other',\n 'unknown' = '',\n}\n\n/**\n * \u7A97\u53E3\u4FE1\u606F\n */\ninterface IViewport {\n /**\n * \u7A97\u53E3\u5BBD\u5EA6\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"number\", \"displayName\": \"\u7A97\u53E3\u5BBD\u5EA6\"}\n */\n width: number;\n /**\n * \u7A97\u53E3\u9AD8\u5EA6\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"number\", \"displayName\": \"\u7A97\u53E3\u9AD8\u5EA6\"}\n */\n height: number;\n}\n\n/**\n * \u7A97\u53E3\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u7A97\u53E3\"}\n */\nconst viewport: IViewport;\n/**\n * \u7F51\u7EDC\u7C7B\u578B\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u7F51\u7EDC\u7C7B\u578B\"}\n */\nconst networkType: NETWORK_TYPE;\n\n }\n\n /**\n * \u73AF\u5883\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u73AF\u5883\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"envId\":{\"type\":\"string\",\"title\":\"\u73AF\u5883 ID\"},\"type\":{\"type\":\"string\",\"title\":\"\u73AF\u5883\u7C7B\u578B\"}}}}\n */\n namespace env {\n enum ENV_TYPE {\n /**\n * \u751F\u4EA7\n */\n 'production' = 'production',\n /**\n * \u9884\u89C8\n */\n 'preview' = 'preview',\n}\n\n/**\n * \u73AF\u5883\u7C7B\u578B\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u73AF\u5883\u7C7B\u578B\"}\n */\nconst type: ENV_TYPE;\n/**\n * \u73AF\u5883 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u73AF\u5883 ID\"}\n */\nconst envId: string;\n\n }\n\n /**\n * \u4E0A\u4E0B\u6587\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u4E0A\u4E0B\u6587\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"platforms\":{\"type\":\"array\",\"title\":\"\u5E94\u7528\u8FD0\u884C\u7EC8\u7AEF\",\"items\":{\"type\":\"stirng\"}},\"isEditorMode\":{\"type\":\"boolean\",\"title\":\"\u662F\u5426\u5728\u7F16\u8F91\u533A\"}}}}\n */\n namespace wedaContext {\n /**\n * \u662F\u5426\u5728\u7F16\u8F91\u533A\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"boolean\", \"displayName\": \"\u662F\u5426\u5728\u7F16\u8F91\u533A\"}\n */\nconst isEditorMode: boolean;\n\n/**\n * \u5E94\u7528\u8FD0\u884C\u7EC8\u7AEF\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5E94\u7528\u8FD0\u884C\u7EC8\u7AEF\"}\n */\nconst platforms: ('WEB' | 'MOBILEWEB' | 'PCWEB' | 'MP')[];\n\n }\n\n /**\n* \u7EDD\u5BF9\u503C\n*\n* @remarks\n* \u8BA1\u7B97\u4F20\u5165\u6570\u5B57\u7684\u7EDD\u5BF9\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u7EDD\u5BF9\u503C\", \"insertText\": \"ABS(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8BA1\u7B97\u4F20\u5165\u6570\u5B57\u7684\u7EDD\u5BF9\u503C\" , \"definition\": \"ABS(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function ABS(num: number): number;\n/**\n* \u6700\u5C0F\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5C0F\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6700\u5C0F\u503C\", \"insertText\": \"Min(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5C0F\u503C\" , \"definition\": \"Min(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\n function Min(...args: number[]): number;\n/**\n* \u6700\u5927\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5927\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6700\u5927\u503C\", \"insertText\": \"Max(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5927\u503C\" , \"definition\": \"Max(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\n function Max(...args: number[]): number;\n/**\n* \u5E73\u5747\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u5E73\u5747\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5E73\u5747\u503C\", \"insertText\": \"Average(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u5E73\u5747\u503C\" , \"definition\": \"Average(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\n function Average(...args: number[]): number;\n/**\n* \u5411\u4E0B\u53D6\u6574\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5411\u4E0B\u53D6\u6574\", \"insertText\": \"Floor(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u7ED3\u679C\" , \"definition\": \"Floor(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function Floor(num: number): number;\n/**\n* \u5411\u4E0A\u53D6\u6574\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5411\u4E0A\u53D6\u6574\", \"insertText\": \"Ceiling(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u7ED3\u679C\" , \"definition\": \"Ceiling(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function Ceiling(num: number): number;\n/**\n* \u56DB\u820D\u4E94\u5165\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u56DB\u820D\u4E94\u5165\u540E\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u56DB\u820D\u4E94\u5165\", \"insertText\": \"Round(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u56DB\u820D\u4E94\u5165\u540E\u7684\u7ED3\u679C\" , \"definition\": \"Round(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function Round(num: number): number;\n/**\n* \u6C42\u548C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u548C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6C42\u548C\", \"insertText\": \"Sum(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u548C\" , \"definition\": \"Sum(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\n function Sum(...args: number[]): number;\n/**\n* \u968F\u673A\u6570\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u4E2A\u6307\u5B9A\u8303\u56F4\u7684\u4F2A\u968F\u673A\u6570\uFF0C\u4F8B\u5982 Rand(10)\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u8303\u56F4\u5728 10 \u4EE5\u5185\u7684\u968F\u673A\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u968F\u673A\u6570\", \"insertText\": \"Rand(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u4E2A\u6307\u5B9A\u8303\u56F4\u7684\u4F2A\u968F\u673A\u6570\uFF0C\u4F8B\u5982 Rand(10)\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u8303\u56F4\u5728 10 \u4EE5\u5185\u7684\u968F\u673A\u6570\" , \"definition\": \"Rand(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function Rand(num: number): number;\n\n interface IIfObjectParam {\ncondition: boolean;\nconsequent?: any;\nalternate?: any;\n}\n/**\n* \u6761\u4EF6\u5206\u652F\n*\n* @remarks\n* \u6309\u5224\u65AD\u6761\u4EF6\u8FDB\u884C\u903B\u8F91\u6BD4\u8F83\uFF0C\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6761\u4EF6\u5206\u652F\", \"insertText\": \"If(true, '\u60A8\u597D', 'hello')\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6309\u5224\u65AD\u6761\u4EF6\u8FDB\u884C\u903B\u8F91\u6BD4\u8F83\uFF0C\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002\" , \"definition\": \"If(\u5224\u65AD\u6761\u4EF6, \u6EE1\u8DB3\u65F6\u8FD4\u56DE\u7684\u503C, \u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u7684\u503C):\u4EFB\u4F55\u7C7B\u578B\"}\n*/\n function If(params: IIfObjectParam): any;\n function If(condition: boolean, consequent?: any, alternate?: any): any;\n/**\n* \u662F\u5426\u4E3A\u7A7A\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u6587\u672C\u662F\u5426\u4E3A\u7A7A\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3A\u7A7A\", \"insertText\": \"IsEmpty('hello')\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u6587\u672C\u662F\u5426\u4E3A\u7A7A\" , \"definition\": \"IsEmpty(\u503C):\u5E03\u5C14\u503C\"}\n*/\n function IsEmpty(text: string | string[]): boolean;\n/**\n* \u662F\u5426\u4E3Anull\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u5B57\u6BB5\u503C\u662F\u5426\u5305\u542B\u6570\u636E\uFF0C\u5373\u4E0D\u4E3A NULL\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3Anull\", \"insertText\": \"NotNull(null)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u5B57\u6BB5\u503C\u662F\u5426\u5305\u542B\u6570\u636E\uFF0C\u5373\u4E0D\u4E3A NULL\" , \"definition\": \"NotNull(\u5B57\u6BB5):\u5E03\u5C14\u503C\"}\n*/\n function NotNull(val: any): boolean;\n/**\n* \u4E0E\n*\n* @remarks\n* \u7528\u4E8E\u786E\u5B9A\u6240\u6709\u5224\u65AD\u6761\u4EF6\u662F\u5426\u4E3A\u771F\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4E0E\", \"insertText\": \"And(true, false)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u7528\u4E8E\u786E\u5B9A\u6240\u6709\u5224\u65AD\u6761\u4EF6\u662F\u5426\u4E3A\u771F\" , \"definition\": \"And(\u5224\u65AD\u6761\u4EF61, [\u5224\u65AD\u6761\u4EF62,...]):\u5E03\u5C14\u503C\"}\n*/\n function And(...args: boolean[]): boolean;\n/**\n* \u6216\n*\n* @remarks\n* \u4EFB\u610F\u4E00\u4E2A\u5224\u65AD\u6761\u4EF6\u4E3A\u771F\uFF0C\u5219\u7ED3\u679C\u4E3A\u771F\uFF1B\u6240\u6709\u6761\u4EF6\u4E3A\u5426\uFF0C\u7ED3\u679C\u624D\u4E3A\u5426\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6216\", \"insertText\": \"Or(true, false)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u4EFB\u610F\u4E00\u4E2A\u5224\u65AD\u6761\u4EF6\u4E3A\u771F\uFF0C\u5219\u7ED3\u679C\u4E3A\u771F\uFF1B\u6240\u6709\u6761\u4EF6\u4E3A\u5426\uFF0C\u7ED3\u679C\u624D\u4E3A\u5426\" , \"definition\": \"Or(\u5224\u65AD\u6761\u4EF61, [\u5224\u65AD\u6761\u4EF62,...]):\u5E03\u5C14\u503C\"}\n*/\n function Or(...args: boolean[]): boolean;\n\n/**\n* \u83B7\u53D6\u6587\u672C\u957F\u5EA6\n*\n* @remarks\n* \u83B7\u53D6\u4F20\u5165\u6587\u672C\u7684\u5B57\u7B26\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u6587\u672C\u957F\u5EA6\", \"insertText\": \"Len('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u83B7\u53D6\u4F20\u5165\u6587\u672C\u7684\u5B57\u7B26\u6570\" , \"definition\": \"Len(\u6587\u672C):\u6570\u5B57\"}\n*/\n function Len(text: string): number;\n/**\n* \u662F\u5426\u5305\u542B\u6307\u5B9A\u6587\u672C\n*\n* @remarks\n* \u5224\u65AD\u6587\u672C 1 \u662F\u5426\u5305\u542B\u6587\u672C 2\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u5305\u542B\u6307\u5B9A\u6587\u672C\", \"insertText\": \"Contains('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u6587\u672C 1 \u662F\u5426\u5305\u542B\u6587\u672C 2\" , \"definition\": \"Contains(\u6587\u672C1, \u6587\u672C2):\u5E03\u5C14\u503C\"}\n*/\n function Contains(text1: string, text2: string): boolean;\n/**\n* \u62C6\u5206\u6587\u672C\n*\n* @remarks\n* \u6839\u636E\u4F20\u5165\u7684\u6587\u672C 2\uFF0C\u5C06\u6587\u672C 1 \u62C6\u5206\u6210\u6587\u672C\u6570\u7EC4\uFF0C\u4F8B\u5982 Split(\"\u5F20\u4E09,\u674E\u56DB,\u738B\u4E94\", \",\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u62C6\u5206\u6587\u672C\", \"insertText\": \"Split('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u4F20\u5165\u7684\u6587\u672C 2\uFF0C\u5C06\u6587\u672C 1 \u62C6\u5206\u6210\u6587\u672C\u6570\u7EC4\uFF0C\u4F8B\u5982 Split('\u5F20\u4E09,\u674E\u56DB,\u738B\u4E94', ',')\" , \"definition\": \"Split(\u6587\u672C1,\u6587\u672C2):\u6587\u672C\u6570\u7EC4\"}\n*/\n function Split(text1: string, text2: string): string[];\n/**\n* \u5220\u9664\u5F00\u5934/\u7ED3\u5C3E\u7A7A\u683C\u548C\u5236\u8868\u7B26\n*\n* @remarks\n* \u5220\u9664\u6587\u672C\u5F00\u5934\u548C\u7ED3\u5C3E\u7684\u6240\u6709\u7A7A\u683C\u548C\u5236\u8868\u7B26\uFF0C\u6587\u672C\u4E2D\u95F4\u7684\u7A7A\u683C\u548C\u5236\u8868\u7B26\u4E0D\u4F1A\u5220\u9664\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5220\u9664\u5F00\u5934/\u7ED3\u5C3E\u7A7A\u683C\u548C\u5236\u8868\u7B26\", \"insertText\": \"Trim('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5220\u9664\u6587\u672C\u5F00\u5934\u548C\u7ED3\u5C3E\u7684\u6240\u6709\u7A7A\u683C\u548C\u5236\u8868\u7B26\uFF0C\u6587\u672C\u4E2D\u95F4\u7684\u7A7A\u683C\u548C\u5236\u8868\u7B26\u4E0D\u4F1A\u5220\u9664\" , \"definition\": \"Trim(\u6587\u672C):\u6587\u672C\"}\n*/\n function Trim(text: string): string;\n/**\n* \u8F6C\u6362\u4E3A\u5927\u5199\n*\n* @remarks\n* \u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5927\u5199\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8F6C\u6362\u4E3A\u5927\u5199\", \"insertText\": \"Upper('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5927\u5199\u6587\u672C\" , \"definition\": \"Upper(\u6587\u672C):\u6587\u672C\"}\n*/\n function Upper(text: string): string;\n/**\n* \u8F6C\u6362\u4E3A\u5C0F\u5199\n*\n* @remarks\n* \u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5C0F\u5199\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8F6C\u6362\u4E3A\u5C0F\u5199\", \"insertText\": \"Lower('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5C0F\u5199\u6587\u672C\" , \"definition\": \"Lower(\u6587\u672C):\u6587\u672C\"}\n*/\n function Lower(text: string): string;\n/**\n* \u6587\u672C\u62FC\u63A5\n*\n* @remarks\n* \u8FD4\u56DE\u591A\u4E2A\u6587\u672C\u62FC\u63A5\u540E\u7684\u65B0\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6587\u672C\u62FC\u63A5\", \"insertText\": \"Concat('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u591A\u4E2A\u6587\u672C\u62FC\u63A5\u540E\u7684\u65B0\u6587\u672C\" , \"definition\": \"Concat(\u6587\u672C1, [\u6587\u672C2,...]):\u6587\u672C\"}\n*/\n function Concat(...text: string[]): string;\n\n/**\n* \u83B7\u53D6\u73B0\u5728\u65F6\u95F4\n*\n* @remarks\n* \u8FD4\u56DE\u5F53\u524D\u7CFB\u7EDF\u65F6\u95F4\uFF0C\u901A\u5E38\u4E0E\u5176\u4ED6\u65E5\u671F\u65F6\u95F4\u51FD\u6570\u642D\u914D\u4F7F\u7528\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u73B0\u5728\u65F6\u95F4\", \"insertText\": \"Now()\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u5F53\u524D\u7CFB\u7EDF\u65F6\u95F4\uFF0C\u901A\u5E38\u4E0E\u5176\u4ED6\u65E5\u671F\u65F6\u95F4\u51FD\u6570\u642D\u914D\u4F7F\u7528\" , \"definition\": \"Now():\u65E5\u671F\u65F6\u95F4\"}\n*/\n function Now(): number;\n/**\n* \u83B7\u53D6\u65F6\u95F4\u6233\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u65F6\u95F4\u6233\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u65F6\u95F4\u6233\", \"insertText\": \"Timestamp(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u65F6\u95F4\u6233\" , \"definition\": \"Timestamp(\u65E5\u671F\u65F6\u95F4):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function Timestamp(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u79D2\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u79D2\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u79D2\u6570\", \"insertText\": \"Second(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u79D2\u6570\" , \"definition\": \"Second(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Second(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5206\u949F\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5206\u949F\u6570\", \"insertText\": \"Minute(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\" , \"definition\": \"Minute(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Minute(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5C0F\u65F6\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\uFF0C24\u5C0F\u65F6\u5236\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5C0F\u65F6\u6570\", \"insertText\": \"Hour(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\uFF0C24\u5C0F\u65F6\u5236\" , \"definition\": \"Hour(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Hour(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5929\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u65E5\u90E8\u5206\uFF0C\u8303\u56F4\u4E3A 1-31\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5929\u6570\", \"insertText\": \"Day(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u65E5\u90E8\u5206\uFF0C\u8303\u56F4\u4E3A 1-31\" , \"definition\": \"Day(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Day(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u661F\u671F\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u661F\u671F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u661F\u671F\u6570\", \"insertText\": \"DayOfWeek(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u661F\u671F\u6570\" , \"definition\": \"DayOfWeek(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function DayOfWeek(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u6708\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u6708\u4EFD\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u6708\u6570\", \"insertText\": \"Month(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u6708\u4EFD\" , \"definition\": \"Month(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Month(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5E74\u4EFD\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5E74\u4EFD\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5E74\u4EFD\", \"insertText\": \"Year(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5E74\u4EFD\" , \"definition\": \"Year(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Year(arg: number | string | Date): number;\n/**\n* \u4F7F\u7528\u5E74\u6708\u65E5\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u5E74\u6708\u65E5\u6570\u503C\u8FD4\u56DE\u4E00\u4E2A\u65E5\u671F\u7C7B\u578B\u7684\u6570\u636E\uFF0C\u4F8B\u5982 GetDate(2017,3,24)\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4F7F\u7528\u5E74\u6708\u65E5\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\", \"insertText\": \"GetDate(2011, 7, 2)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u5E74\u6708\u65E5\u6570\u503C\u8FD4\u56DE\u4E00\u4E2A\u65E5\u671F\u7C7B\u578B\u7684\u6570\u636E\uFF0C\u4F8B\u5982 GetDate(2017,3,24)\" , \"definition\": \"GetDate(\u6570\u5B57,\u6570\u5B57,\u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function GetDate(year: number, month: number, day: number): number;\n/**\n* \u4F7F\u7528\u65F6\u95F4\u65E5\u671F\u6587\u672C\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\n*\n* @remarks\n* \u5C06\u65E5\u671F\u65F6\u95F4\u6587\u672C\u6839\u636E\u6307\u5B9A\u683C\u5F0F\u8F6C\u5316\u4E3A\u65E5\u671F\u65F6\u95F4\uFF0C\u4F8B\u5982 DateTimeValue(\"2021-12-11 01:19:12\", \"yyyy-MM-dd HH:mm:ss\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4F7F\u7528\u65F6\u95F4\u65E5\u671F\u6587\u672C\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\", \"insertText\": \"DateTimeValue('2011-07-02', 'YYYY:MM:DD')\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u65E5\u671F\u65F6\u95F4\u6587\u672C\u6839\u636E\u6307\u5B9A\u683C\u5F0F\u8F6C\u5316\u4E3A\u65E5\u671F\u65F6\u95F4\uFF0C\u4F8B\u5982 DateTimeValue('2021-12-11 01:19:12', 'yyyy-MM-dd HH:mm:ss')\" , \"definition\": \"DateTimeValue(\u6587\u672C, \u6587\u672C):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function DateTimeValue(arg: string, val: string): number;\n/**\n* \u8BA1\u7B97\u5E74\u9F84\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u8BA1\u7B97\u51FA\u5E74\u9F84\uFF0C\u4F8B\u5982 Age(Date(2017,3,24), Date(2021,3,24))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8BA1\u7B97\u5E74\u9F84\", \"insertText\": \"Age(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u8BA1\u7B97\u51FA\u5E74\u9F84\uFF0C\u4F8B\u5982 Age(Date(2017,3,24), Date(2021,3,24))\" , \"definition\": \"Age(\u65E5\u671F\u65F6\u95F4,\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Age(arg: number | string | Date, val: number | string | Date): number;\n/**\n* \u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\n*\n* @remarks\n* \u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\uFF0C\u4F8B\u5982 AgeOfNow(Date(2017,3,24))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\", \"insertText\": \"AgeOfNow(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\uFF0C\u4F8B\u5982 AgeOfNow(Date(2017,3,24))\" , \"definition\": \"AgeOfNow(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function AgeOfNow(arg: number | string | Date): number;\n/**\n* \u589E\u52A0 X \u5929\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5929\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u5929\", \"insertText\": \"DateAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5929\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"DateAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function DateAdd(arg: number | string | Date, day: number): number;\n/**\n* \u589E\u52A0 X \u6708\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u6708\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u6708\", \"insertText\": \"MonthAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u6708\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"MonthAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function MonthAdd(arg: number | string | Date, month: number): number;\n/**\n* \u589E\u52A0 X \u5E74\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5E74\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u5E74\", \"insertText\": \"YearAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5E74\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"YearAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function YearAdd(arg: number | string | Date, year: number): number;\n/**\n* \u5929\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5929\u6570\u5DEE\", \"insertText\": \"DateDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"DateDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function DateDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5C0F\u65F6\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5C0F\u65F6\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5C0F\u65F6\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5C0F\u65F6\u5DEE\", \"insertText\": \"HourDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5C0F\u65F6\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5C0F\u65F6\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"HourDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function HourDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5206\u949F\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5206\u949F\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5206\u949F\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5206\u949F\u5DEE\", \"insertText\": \"MinuteDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5206\u949F\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5206\u949F\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"MinuteDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function MinuteDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u79D2\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u79D2\u6570\u5DEE\", \"insertText\": \"SecondDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"SecondDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function SecondDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u6708\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u6708\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u6708\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6708\u6570\u5DEE\", \"insertText\": \"MonthDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u6708\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u6708\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"MonthDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function MonthDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5E74\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5E74\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5E74\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5E74\u6570\u5DEE\", \"insertText\": \"YearDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5E74\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5E74\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"YearDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function YearDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u65E5\u671F\u65F6\u95F4\u683C\u5F0F\u5316\n*\n* @remarks\n* \u683C\u5F0F\u5316\u65E5\u671F\u65F6\u95F4\u4E3A\u6307\u5B9A\u683C\u5F0F\u7684\u6587\u672C\uFF0C\u4F8B\u5982 DateText(Date(2017,3,24), \"yyyy-MM-dd HH:mm:ss\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u65E5\u671F\u65F6\u95F4\u683C\u5F0F\u5316\", \"insertText\": \"DateText(1661334203345, 'YYYY-MM-DD HH:mm:ss')\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u683C\u5F0F\u5316\u65E5\u671F\u65F6\u95F4\u4E3A\u6307\u5B9A\u683C\u5F0F\u7684\u6587\u672C\uFF0C\u4F8B\u5982 DateText(Date(2017,3,24), 'yyyy-MM-dd HH:mm:ss')\" , \"definition\": \"DateText(\u65E5\u671F\u65F6\u95F4, \u6587\u672C):\u6587\u672C\"}\n*/\n function DateText(createdTime: number | string | Date, text: string): string;\n/**\n* \u662F\u5426\u4E3A\u4ECA\u5929\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u662F\u5426\u4E3A\u4ECA\u5929\uFF0C\u4F8B\u5982 IsToday(Date(2022,4,8))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3A\u4ECA\u5929\", \"insertText\": \"IsToday(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u662F\u5426\u4E3A\u4ECA\u5929\uFF0C\u4F8B\u5982 IsToday(Date(2022,4,8))\" , \"definition\": \"IsToday(\u65E5\u671F\u65F6\u95F4):\u5E03\u5C14\u503C\"}\n*/\n function IsToday(date: number | string | Date): boolean;\n\n\n // used widgets Inner Begin\n // used widgets - Don't touch me\n // used widgets Inner End\n\n // repeater scope Inner Begin\n // repeater scope - Don't touch me\n // repeater scope Inner End\n}\n\n// Global For Begin\ndeclare const $for: {\n // Global For Inner Begin\n // For \u5FAA\u73AF\u53D8\u91CF - Don't touch me\n // Global For Inner End\n};\ndeclare const forItems = $for;\n// Global For End\n\n// $page Begin\ndeclare namespace $page {\n /**\n * \u9875\u9762 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u9875\u9762 ID\"}\n */\nconst id: string;\n/**\n * \u9875\u9762\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u9875\u9762\u540D\u79F0\"}\n */\nconst label: string;\n/**\n * \u9875\u9762\u8DEF\u5F84\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u9875\u9762\u8DEF\u5F84\"}\n */\nconst path: string;\n\n/**\n * \u9875\u9762\u6570\u636E\u5BF9\u8C61\n */\nnamespace dataset {\n /**\n * \u9875\u9762\u53D8\u91CF\n */\n const state: {\n // Page State Inner Begin\n // Page State \u9875\u9762\u53D8\u91CF - Don't touch me\n // Page State Inner End\n };\n /**\n * \u9875\u9762\u53C2\u6570\n */\n const params: {\n // Page Param Inner Begin\n // Page Param \u9875\u9762\u53C2\u6570 - Don't touch me\n // Page Param Inner End\n };\n}\n\n/**\n * \u9875\u9762\u5B9A\u4E49 handler \u65B9\u6CD5\n */\nnamespace handler {\n // Page Handler Inner Begin\n // Page Handler \u9875\u9762\u65B9\u6CD5 - Don't touch me\n // Page Handler Inner End\n}\n\n/**\n * \u8BBE\u7F6E\u9875\u9762\u53D8\u91CF\n */\nfunction setState(userSetState: Record<string, any>): void;\n\n}\n// $page End\n\n// $comp Begin\ndeclare namespace $comp {\n namespace props {\n const data: {\n // Comp Prop Data Inner Begin\n // Comp Prop Data \u7EC4\u4EF6\u5C5E\u6027 - Don't touch me\n // Comp Prop Data Inner End\n };\n\n namespace events {\n // Comp Prop Events Inner Begin\n // Comp Prop Events \u7EC4\u4EF6\u4E8B\u4EF6 - Don't touch me\n // Comp Prop Events Inner End\n }\n }\n\n namespace dataset {\n const state: {\n // Comp State Inner Begin\n // Comp State \u7EC4\u4EF6\u53D8\u91CF - Don't touch me\n // Comp State Inner End\n };\n }\n\n namespace handler {\n // Comp Handler Inner Begin\n // Comp Handler \u7EC4\u4EF6\u65B9\u6CD5 - Don't touch me\n // Comp Handler Inner End\n }\n}\n// $comp End\n\n// Global Formula Begin\n\n/**\n* \u7EDD\u5BF9\u503C\n*\n* @remarks\n* \u8BA1\u7B97\u4F20\u5165\u6570\u5B57\u7684\u7EDD\u5BF9\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u7EDD\u5BF9\u503C\", \"insertText\": \"ABS(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8BA1\u7B97\u4F20\u5165\u6570\u5B57\u7684\u7EDD\u5BF9\u503C\" , \"definition\": \"ABS(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function ABS(num: number): number;\n/**\n* \u6700\u5C0F\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5C0F\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6700\u5C0F\u503C\", \"insertText\": \"Min(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5C0F\u503C\" , \"definition\": \"Min(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\ndeclare function Min(...args: number[]): number;\n/**\n* \u6700\u5927\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5927\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6700\u5927\u503C\", \"insertText\": \"Max(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5927\u503C\" , \"definition\": \"Max(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\ndeclare function Max(...args: number[]): number;\n/**\n* \u5E73\u5747\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u5E73\u5747\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5E73\u5747\u503C\", \"insertText\": \"Average(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u5E73\u5747\u503C\" , \"definition\": \"Average(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\ndeclare function Average(...args: number[]): number;\n/**\n* \u5411\u4E0B\u53D6\u6574\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5411\u4E0B\u53D6\u6574\", \"insertText\": \"Floor(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u7ED3\u679C\" , \"definition\": \"Floor(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function Floor(num: number): number;\n/**\n* \u5411\u4E0A\u53D6\u6574\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5411\u4E0A\u53D6\u6574\", \"insertText\": \"Ceiling(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u7ED3\u679C\" , \"definition\": \"Ceiling(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function Ceiling(num: number): number;\n/**\n* \u56DB\u820D\u4E94\u5165\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u56DB\u820D\u4E94\u5165\u540E\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u56DB\u820D\u4E94\u5165\", \"insertText\": \"Round(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u56DB\u820D\u4E94\u5165\u540E\u7684\u7ED3\u679C\" , \"definition\": \"Round(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function Round(num: number): number;\n/**\n* \u6C42\u548C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u548C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6C42\u548C\", \"insertText\": \"Sum(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u548C\" , \"definition\": \"Sum(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\ndeclare function Sum(...args: number[]): number;\n/**\n* \u968F\u673A\u6570\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u4E2A\u6307\u5B9A\u8303\u56F4\u7684\u4F2A\u968F\u673A\u6570\uFF0C\u4F8B\u5982 Rand(10)\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u8303\u56F4\u5728 10 \u4EE5\u5185\u7684\u968F\u673A\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u968F\u673A\u6570\", \"insertText\": \"Rand(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u4E2A\u6307\u5B9A\u8303\u56F4\u7684\u4F2A\u968F\u673A\u6570\uFF0C\u4F8B\u5982 Rand(10)\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u8303\u56F4\u5728 10 \u4EE5\u5185\u7684\u968F\u673A\u6570\" , \"definition\": \"Rand(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function Rand(num: number): number;\n\ndeclare interface IIfObjectParam {\ncondition: boolean;\nconsequent?: any;\nalternate?: any;\n}\n/**\n* \u6761\u4EF6\u5206\u652F\n*\n* @remarks\n* \u6309\u5224\u65AD\u6761\u4EF6\u8FDB\u884C\u903B\u8F91\u6BD4\u8F83\uFF0C\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6761\u4EF6\u5206\u652F\", \"insertText\": \"If(true, '\u60A8\u597D', 'hello')\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6309\u5224\u65AD\u6761\u4EF6\u8FDB\u884C\u903B\u8F91\u6BD4\u8F83\uFF0C\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002\" , \"definition\": \"If(\u5224\u65AD\u6761\u4EF6, \u6EE1\u8DB3\u65F6\u8FD4\u56DE\u7684\u503C, \u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u7684\u503C):\u4EFB\u4F55\u7C7B\u578B\"}\n*/\ndeclare function If(params: IIfObjectParam): any;\ndeclare function If(condition: boolean, consequent?: any, alternate?: any): any;\n/**\n* \u662F\u5426\u4E3A\u7A7A\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u6587\u672C\u662F\u5426\u4E3A\u7A7A\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3A\u7A7A\", \"insertText\": \"IsEmpty('hello')\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u6587\u672C\u662F\u5426\u4E3A\u7A7A\" , \"definition\": \"IsEmpty(\u503C):\u5E03\u5C14\u503C\"}\n*/\ndeclare function IsEmpty(text: string | string[]): boolean;\n/**\n* \u662F\u5426\u4E3Anull\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u5B57\u6BB5\u503C\u662F\u5426\u5305\u542B\u6570\u636E\uFF0C\u5373\u4E0D\u4E3A NULL\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3Anull\", \"insertText\": \"NotNull(null)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u5B57\u6BB5\u503C\u662F\u5426\u5305\u542B\u6570\u636E\uFF0C\u5373\u4E0D\u4E3A NULL\" , \"definition\": \"NotNull(\u5B57\u6BB5):\u5E03\u5C14\u503C\"}\n*/\ndeclare function NotNull(val: any): boolean;\n/**\n* \u4E0E\n*\n* @remarks\n* \u7528\u4E8E\u786E\u5B9A\u6240\u6709\u5224\u65AD\u6761\u4EF6\u662F\u5426\u4E3A\u771F\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4E0E\", \"insertText\": \"And(true, false)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u7528\u4E8E\u786E\u5B9A\u6240\u6709\u5224\u65AD\u6761\u4EF6\u662F\u5426\u4E3A\u771F\" , \"definition\": \"And(\u5224\u65AD\u6761\u4EF61, [\u5224\u65AD\u6761\u4EF62,...]):\u5E03\u5C14\u503C\"}\n*/\ndeclare function And(...args: boolean[]): boolean;\n/**\n* \u6216\n*\n* @remarks\n* \u4EFB\u610F\u4E00\u4E2A\u5224\u65AD\u6761\u4EF6\u4E3A\u771F\uFF0C\u5219\u7ED3\u679C\u4E3A\u771F\uFF1B\u6240\u6709\u6761\u4EF6\u4E3A\u5426\uFF0C\u7ED3\u679C\u624D\u4E3A\u5426\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6216\", \"insertText\": \"Or(true, false)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u4EFB\u610F\u4E00\u4E2A\u5224\u65AD\u6761\u4EF6\u4E3A\u771F\uFF0C\u5219\u7ED3\u679C\u4E3A\u771F\uFF1B\u6240\u6709\u6761\u4EF6\u4E3A\u5426\uFF0C\u7ED3\u679C\u624D\u4E3A\u5426\" , \"definition\": \"Or(\u5224\u65AD\u6761\u4EF61, [\u5224\u65AD\u6761\u4EF62,...]):\u5E03\u5C14\u503C\"}\n*/\ndeclare function Or(...args: boolean[]): boolean;\n\n/**\n* \u83B7\u53D6\u6587\u672C\u957F\u5EA6\n*\n* @remarks\n* \u83B7\u53D6\u4F20\u5165\u6587\u672C\u7684\u5B57\u7B26\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u6587\u672C\u957F\u5EA6\", \"insertText\": \"Len('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u83B7\u53D6\u4F20\u5165\u6587\u672C\u7684\u5B57\u7B26\u6570\" , \"definition\": \"Len(\u6587\u672C):\u6570\u5B57\"}\n*/\ndeclare function Len(text: string): number;\n/**\n* \u662F\u5426\u5305\u542B\u6307\u5B9A\u6587\u672C\n*\n* @remarks\n* \u5224\u65AD\u6587\u672C 1 \u662F\u5426\u5305\u542B\u6587\u672C 2\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u5305\u542B\u6307\u5B9A\u6587\u672C\", \"insertText\": \"Contains('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u6587\u672C 1 \u662F\u5426\u5305\u542B\u6587\u672C 2\" , \"definition\": \"Contains(\u6587\u672C1, \u6587\u672C2):\u5E03\u5C14\u503C\"}\n*/\ndeclare function Contains(text1: string, text2: string): boolean;\n/**\n* \u62C6\u5206\u6587\u672C\n*\n* @remarks\n* \u6839\u636E\u4F20\u5165\u7684\u6587\u672C 2\uFF0C\u5C06\u6587\u672C 1 \u62C6\u5206\u6210\u6587\u672C\u6570\u7EC4\uFF0C\u4F8B\u5982 Split(\"\u5F20\u4E09,\u674E\u56DB,\u738B\u4E94\", \",\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u62C6\u5206\u6587\u672C\", \"insertText\": \"Split('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u4F20\u5165\u7684\u6587\u672C 2\uFF0C\u5C06\u6587\u672C 1 \u62C6\u5206\u6210\u6587\u672C\u6570\u7EC4\uFF0C\u4F8B\u5982 Split('\u5F20\u4E09,\u674E\u56DB,\u738B\u4E94', ',')\" , \"definition\": \"Split(\u6587\u672C1,\u6587\u672C2):\u6587\u672C\u6570\u7EC4\"}\n*/\ndeclare function Split(text1: string, text2: string): string[];\n/**\n* \u5220\u9664\u5F00\u5934/\u7ED3\u5C3E\u7A7A\u683C\u548C\u5236\u8868\u7B26\n*\n* @remarks\n* \u5220\u9664\u6587\u672C\u5F00\u5934\u548C\u7ED3\u5C3E\u7684\u6240\u6709\u7A7A\u683C\u548C\u5236\u8868\u7B26\uFF0C\u6587\u672C\u4E2D\u95F4\u7684\u7A7A\u683C\u548C\u5236\u8868\u7B26\u4E0D\u4F1A\u5220\u9664\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5220\u9664\u5F00\u5934/\u7ED3\u5C3E\u7A7A\u683C\u548C\u5236\u8868\u7B26\", \"insertText\": \"Trim('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5220\u9664\u6587\u672C\u5F00\u5934\u548C\u7ED3\u5C3E\u7684\u6240\u6709\u7A7A\u683C\u548C\u5236\u8868\u7B26\uFF0C\u6587\u672C\u4E2D\u95F4\u7684\u7A7A\u683C\u548C\u5236\u8868\u7B26\u4E0D\u4F1A\u5220\u9664\" , \"definition\": \"Trim(\u6587\u672C):\u6587\u672C\"}\n*/\ndeclare function Trim(text: string): string;\n/**\n* \u8F6C\u6362\u4E3A\u5927\u5199\n*\n* @remarks\n* \u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5927\u5199\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8F6C\u6362\u4E3A\u5927\u5199\", \"insertText\": \"Upper('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5927\u5199\u6587\u672C\" , \"definition\": \"Upper(\u6587\u672C):\u6587\u672C\"}\n*/\ndeclare function Upper(text: string): string;\n/**\n* \u8F6C\u6362\u4E3A\u5C0F\u5199\n*\n* @remarks\n* \u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5C0F\u5199\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8F6C\u6362\u4E3A\u5C0F\u5199\", \"insertText\": \"Lower('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5C0F\u5199\u6587\u672C\" , \"definition\": \"Lower(\u6587\u672C):\u6587\u672C\"}\n*/\ndeclare function Lower(text: string): string;\n/**\n* \u6587\u672C\u62FC\u63A5\n*\n* @remarks\n* \u8FD4\u56DE\u591A\u4E2A\u6587\u672C\u62FC\u63A5\u540E\u7684\u65B0\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6587\u672C\u62FC\u63A5\", \"insertText\": \"Concat('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u591A\u4E2A\u6587\u672C\u62FC\u63A5\u540E\u7684\u65B0\u6587\u672C\" , \"definition\": \"Concat(\u6587\u672C1, [\u6587\u672C2,...]):\u6587\u672C\"}\n*/\ndeclare function Concat(...text: string[]): string;\n\n/**\n* \u83B7\u53D6\u73B0\u5728\u65F6\u95F4\n*\n* @remarks\n* \u8FD4\u56DE\u5F53\u524D\u7CFB\u7EDF\u65F6\u95F4\uFF0C\u901A\u5E38\u4E0E\u5176\u4ED6\u65E5\u671F\u65F6\u95F4\u51FD\u6570\u642D\u914D\u4F7F\u7528\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u73B0\u5728\u65F6\u95F4\", \"insertText\": \"Now()\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u5F53\u524D\u7CFB\u7EDF\u65F6\u95F4\uFF0C\u901A\u5E38\u4E0E\u5176\u4ED6\u65E5\u671F\u65F6\u95F4\u51FD\u6570\u642D\u914D\u4F7F\u7528\" , \"definition\": \"Now():\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function Now(): number;\n/**\n* \u83B7\u53D6\u65F6\u95F4\u6233\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u65F6\u95F4\u6233\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u65F6\u95F4\u6233\", \"insertText\": \"Timestamp(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u65F6\u95F4\u6233\" , \"definition\": \"Timestamp(\u65E5\u671F\u65F6\u95F4):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function Timestamp(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u79D2\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u79D2\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u79D2\u6570\", \"insertText\": \"Second(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u79D2\u6570\" , \"definition\": \"Second(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Second(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5206\u949F\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5206\u949F\u6570\", \"insertText\": \"Minute(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\" , \"definition\": \"Minute(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Minute(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5C0F\u65F6\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\uFF0C24\u5C0F\u65F6\u5236\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5C0F\u65F6\u6570\", \"insertText\": \"Hour(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\uFF0C24\u5C0F\u65F6\u5236\" , \"definition\": \"Hour(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Hour(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5929\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u65E5\u90E8\u5206\uFF0C\u8303\u56F4\u4E3A 1-31\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5929\u6570\", \"insertText\": \"Day(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u65E5\u90E8\u5206\uFF0C\u8303\u56F4\u4E3A 1-31\" , \"definition\": \"Day(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Day(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u661F\u671F\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u661F\u671F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u661F\u671F\u6570\", \"insertText\": \"DayOfWeek(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u661F\u671F\u6570\" , \"definition\": \"DayOfWeek(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function DayOfWeek(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u6708\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u6708\u4EFD\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u6708\u6570\", \"insertText\": \"Month(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u6708\u4EFD\" , \"definition\": \"Month(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Month(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5E74\u4EFD\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5E74\u4EFD\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5E74\u4EFD\", \"insertText\": \"Year(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5E74\u4EFD\" , \"definition\": \"Year(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Year(arg: number | string | Date): number;\n/**\n* \u4F7F\u7528\u5E74\u6708\u65E5\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u5E74\u6708\u65E5\u6570\u503C\u8FD4\u56DE\u4E00\u4E2A\u65E5\u671F\u7C7B\u578B\u7684\u6570\u636E\uFF0C\u4F8B\u5982 GetDate(2017,3,24)\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4F7F\u7528\u5E74\u6708\u65E5\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\", \"insertText\": \"GetDate(2011, 7, 2)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u5E74\u6708\u65E5\u6570\u503C\u8FD4\u56DE\u4E00\u4E2A\u65E5\u671F\u7C7B\u578B\u7684\u6570\u636E\uFF0C\u4F8B\u5982 GetDate(2017,3,24)\" , \"definition\": \"GetDate(\u6570\u5B57,\u6570\u5B57,\u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function GetDate(year: number, month: number, day: number): number;\n/**\n* \u4F7F\u7528\u65F6\u95F4\u65E5\u671F\u6587\u672C\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\n*\n* @remarks\n* \u5C06\u65E5\u671F\u65F6\u95F4\u6587\u672C\u6839\u636E\u6307\u5B9A\u683C\u5F0F\u8F6C\u5316\u4E3A\u65E5\u671F\u65F6\u95F4\uFF0C\u4F8B\u5982 DateTimeValue(\"2021-12-11 01:19:12\", \"yyyy-MM-dd HH:mm:ss\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4F7F\u7528\u65F6\u95F4\u65E5\u671F\u6587\u672C\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\", \"insertText\": \"DateTimeValue('2011-07-02', 'YYYY:MM:DD')\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u65E5\u671F\u65F6\u95F4\u6587\u672C\u6839\u636E\u6307\u5B9A\u683C\u5F0F\u8F6C\u5316\u4E3A\u65E5\u671F\u65F6\u95F4\uFF0C\u4F8B\u5982 DateTimeValue('2021-12-11 01:19:12', 'yyyy-MM-dd HH:mm:ss')\" , \"definition\": \"DateTimeValue(\u6587\u672C, \u6587\u672C):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function DateTimeValue(arg: string, val: string): number;\n/**\n* \u8BA1\u7B97\u5E74\u9F84\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u8BA1\u7B97\u51FA\u5E74\u9F84\uFF0C\u4F8B\u5982 Age(Date(2017,3,24), Date(2021,3,24))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8BA1\u7B97\u5E74\u9F84\", \"insertText\": \"Age(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u8BA1\u7B97\u51FA\u5E74\u9F84\uFF0C\u4F8B\u5982 Age(Date(2017,3,24), Date(2021,3,24))\" , \"definition\": \"Age(\u65E5\u671F\u65F6\u95F4,\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Age(arg: number | string | Date, val: number | string | Date): number;\n/**\n* \u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\n*\n* @remarks\n* \u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\uFF0C\u4F8B\u5982 AgeOfNow(Date(2017,3,24))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\", \"insertText\": \"AgeOfNow(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\uFF0C\u4F8B\u5982 AgeOfNow(Date(2017,3,24))\" , \"definition\": \"AgeOfNow(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function AgeOfNow(arg: number | string | Date): number;\n/**\n* \u589E\u52A0 X \u5929\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5929\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u5929\", \"insertText\": \"DateAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5929\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"DateAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function DateAdd(arg: number | string | Date, day: number): number;\n/**\n* \u589E\u52A0 X \u6708\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u6708\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u6708\", \"insertText\": \"MonthAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u6708\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"MonthAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function MonthAdd(arg: number | string | Date, month: number): number;\n/**\n* \u589E\u52A0 X \u5E74\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5E74\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u5E74\", \"insertText\": \"YearAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5E74\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"YearAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function YearAdd(arg: number | string | Date, year: number): number;\n/**\n* \u5929\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5929\u6570\u5DEE\", \"insertText\": \"DateDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"DateDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function DateDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5C0F\u65F6\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5C0F\u65F6\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5C0F\u65F6\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5C0F\u65F6\u5DEE\", \"insertText\": \"HourDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5C0F\u65F6\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5C0F\u65F6\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"HourDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function HourDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5206\u949F\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5206\u949F\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5206\u949F\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5206\u949F\u5DEE\", \"insertText\": \"MinuteDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5206\u949F\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5206\u949F\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"MinuteDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function MinuteDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u79D2\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u79D2\u6570\u5DEE\", \"insertText\": \"SecondDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"SecondDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function SecondDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u6708\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u6708\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u6708\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6708\u6570\u5DEE\", \"insertText\": \"MonthDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u6708\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u6708\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"MonthDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function MonthDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5E74\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5E74\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5E74\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5E74\u6570\u5DEE\", \"insertText\": \"YearDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5E74\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5E74\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"YearDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function YearDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u65E5\u671F\u65F6\u95F4\u683C\u5F0F\u5316\n*\n* @remarks\n* \u683C\u5F0F\u5316\u65E5\u671F\u65F6\u95F4\u4E3A\u6307\u5B9A\u683C\u5F0F\u7684\u6587\u672C\uFF0C\u4F8B\u5982 DateText(Date(2017,3,24), \"yyyy-MM-dd HH:mm:ss\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u65E5\u671F\u65F6\u95F4\u683C\u5F0F\u5316\", \"insertText\": \"DateText(1661334203345, 'YYYY-MM-DD HH:mm:ss')\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u683C\u5F0F\u5316\u65E5\u671F\u65F6\u95F4\u4E3A\u6307\u5B9A\u683C\u5F0F\u7684\u6587\u672C\uFF0C\u4F8B\u5982 DateText(Date(2017,3,24), 'yyyy-MM-dd HH:mm:ss')\" , \"definition\": \"DateText(\u65E5\u671F\u65F6\u95F4, \u6587\u672C):\u6587\u672C\"}\n*/\ndeclare function DateText(createdTime: number | string | Date, text: string): string;\n/**\n* \u662F\u5426\u4E3A\u4ECA\u5929\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u662F\u5426\u4E3A\u4ECA\u5929\uFF0C\u4F8B\u5982 IsToday(Date(2022,4,8))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3A\u4ECA\u5929\", \"insertText\": \"IsToday(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u662F\u5426\u4E3A\u4ECA\u5929\uFF0C\u4F8B\u5982 IsToday(Date(2022,4,8))\" , \"definition\": \"IsToday(\u65E5\u671F\u65F6\u95F4):\u5E03\u5C14\u503C\"}\n*/\ndeclare function IsToday(date: number | string | Date): boolean;\n\n\n// Global Formula End\n";
|
|
1
|
+
export declare const wedaDTS = "declare class UserWidget {\n // FIXME: \u6682\u65F6\u4E0D\u5BF9\u5916\u66B4\u9732\n // \u5185\u7F6E\u547D\u540D\u7A7A\u95F4\n // get sys(): {\n // readonly id: string;\n // readonly module: string;\n // readonly component: string;\n // readonly parent: UserWidget;\n // readonly children: UserWidget[];\n\n // closest(filter?: (parentWidget: UserWidget) => boolean): UserWidget | null;\n // };\n\n // FIXME: \u6682\u65F6\u4E0D\u5BF9\u5916\u66B4\u9732\n // \u81EA\u5B9A\u4E49\u547D\u540D\u7A7A\u95F4\n // get custom(): { [key: string]: any };\n\n // ========== \u5FEB\u6377\u8BBF\u95EE\u65B9\u5F0F ========== //\n\n /**\n * \u7EC4\u4EF6 ID\uFF0C\u5FAE\u642D\u4E2D\u4E00\u822C\u7531\u7F16\u8F91\u5668\u751F\u6210\n */\n readonly id: string;\n /**\n * \u7EC4\u4EF6\u5E93\u540D\n */\n readonly module: string;\n /**\n * \u7EC4\u4EF6\u540D\n */\n readonly component: string;\n\n /**\n * \u7236\u7EC4\u4EF6\u5F15\u7528\n */\n readonly parent: UserWidget;\n /**\n * \u5B50\u7EC4\u4EF6\u96C6\u5408\n */\n readonly children: UserWidget[];\n\n // FIXME: \u6682\u65F6\u4E0D\u5BF9\u5916\u66B4\u9732\n // closest(filter?: (parentWidget: UserWidget) => boolean): UserWidget | null;\n}\n\n// Used Components Inner Begin\n// Used Components - Don't touch me\n// Used Components Inner End\n\n// Redefine Any Type Inner Begin\n// Redefine Any Type - Don't touch me\n// Redefine Any Type Inner End\n\ndeclare namespace $app {\n /**\n * \u5E94\u7528 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5E94\u7528 ID\"}\n */\nconst id: string;\n/**\n * \u5E94\u7528\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5E94\u7528\u540D\u79F0\"}\n */\nconst label: string;\n/**\n * \u5E94\u7528\u7248\u672C\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5E94\u7528\u7248\u672C\"}\n */\nconst version: string;\n/**\n * \u5C0F\u7A0B\u5E8FAPPID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5C0F\u7A0B\u5E8FAPPID\"}\n */\nconst mpAppId: string;\n/**\n * \u5C0F\u7A0B\u5E8F\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5C0F\u7A0B\u5E8F\u540D\u79F0\"}\n */\nconst mpAppName: string;\n\nnamespace dataset {\n\n /**\n * \u5168\u5C40\u53D8\u91CF\u5BF9\u8C61\n */\n const state: {\n // Global State Inner Begin\n // Global State \u5168\u5C40\u53D8\u91CF - Don't touch me\n // Global State Inner End\n };\n}\n\n/**\n * \u5168\u5C40 common \u65B9\u6CD5\n */\nnamespace common {\n // Global Common Inner Begin\n // Global Common \u5168\u5C40\u65B9\u6CD5 - Don't touch me\n // Global Common Inner End\n}\n\n/**\n * \u5DF2\u5E9F\u5F03\uFF0C\u8BF7\u6539\u7528 $w.utils\n */\nconst utils: any\n\n/**\n * \u8BBE\u7F6E\u9875\u9762\u53D8\u91CF\n */\nfunction setState(data: Object): void;\n\n}\n\ndeclare const app = $app;\n\ndeclare namespace $w {\n\n /**\n * \u5F53\u524D\u5E94\u7528\u5B9E\u4F8B\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u5E94\u7528\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u5E94\u7528 ID\"},\"label\":{\"type\":\"string\",\"title\":\"\u5E94\u7528\u540D\u79F0\"},\"version\":{\"type\":\"string\",\"title\":\"\u5E94\u7528\u7248\u672C\"},\"mpAppName\":{\"type\":\"string\",\"title\":\"\u5C0F\u7A0B\u5E8F\u540D\u79F0\"},\"mpAppId\":{\"type\":\"string\",\"title\":\"\u5C0F\u7A0B\u5E8FAPPID\"}}}}\n */\n const app = $app;\n\n /**\n * \u5F53\u524D\u9875\u9762\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u5F53\u524D\u9875\u9762\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u9875\u9762 ID\"},\"label\":{\"type\":\"string\",\"title\":\"\u9875\u9762\u540D\u79F0\"},\"path\":{\"type\":\"string\",\"title\":\"\u9875\u9762\u8DEF\u5F84\"}}}}\n */\n const page = $page;\n\n /**\n * \u7528\u6237\u6743\u9650\u76F8\u5173\u65B9\u6CD5\u548C\u5C5E\u6027\n */\n namespace auth {\n \ninterface CurrentUserInfo {\n /**\n * \u7528\u6237 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u7528\u6237 ID\"}\n */\n userId?: string;\n /**\n * \u624B\u673A\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u624B\u673A\"}\n */\n phone?: string;\n /**\n * \u7528\u6237\u7C7B\u578B\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"number\", \"displayName\": \"\u7528\u6237\u7C7B\u578B\"}\n */\n type?: number;\n /**\n * \u7528\u6237\u5173\u8054\u89D2\u8272\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"array\", \"displayName\": \"\u7528\u6237\u5173\u8054\u89D2\u8272\"}\n */\n relatedRoles?: {\n /**\n * \u89D2\u8272 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u89D2\u8272 ID\"}\n */\n id?: string;\n /**\n * \u73AF\u5883 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u73AF\u5883 ID\"}\n */\n envId?: string;\n /**\n * \u89D2\u8272\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u89D2\u8272\u540D\u79F0\"}\n */\n name?: string;\n /**\n * \u89D2\u8272\u6807\u8BC6\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u89D2\u8272\u6807\u8BC6\"}\n */\n roleIdentity?: string;\n }[];\n /**\n * \u5FAE\u4FE1/\u4F01\u5FAE openId\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5FAE\u4FE1/\u4F01\u5FAE openId\"}\n */\n openId?: string;\n /**\n * \u7528\u6237\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u7528\u6237\u540D\u79F0\"}\n */\n name?: string;\n /**\n * \u7528\u6237\u6635\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u7528\u6237\u6635\u79F0\"}\n */\n nickName?: string;\n /**\n * \u90AE\u7BB1\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u90AE\u7BB1\"}\n */\n email?: string;\n /**\n * \u4E3B\u5C97\u90E8\u95E8\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u4E3B\u5C97\u90E8\u95E8\"}\n */\n mainOrg?: {\n /**\n * \u4E3B\u5C97\u90E8\u95E8 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u4E3B\u5C97\u90E8\u95E8 ID\"}\n */\n id?: string;\n /**\n * \u4E3B\u5C97\u90E8\u95E8\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u4E3B\u5C97\u90E8\u95E8\u540D\u79F0\"}\n */\n name?: string;\n };\n /**\n * \u517C\u5C97\u90E8\u95E8\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u517C\u5C97\u90E8\u95E8\"}\n */\n orgs?: {\n /**\n * \u517C\u5C97\u90E8\u95E8 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u517C\u5C97\u90E8\u95E8 ID\"}\n */\n id?: string;\n /**\n * \u517C\u5C97\u90E8\u95E8\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u517C\u5C97\u90E8\u95E8\u540D\u79F0\"}\n */\n name?: string;\n }[];\n}\n\n/**\n * \u83B7\u53D6\u7528\u6237\u4FE1\u606F\n */\nfunction getUserInfo(): CurrentUserInfo;\n\n/**\n *\n * \u767B\u5F55\u7528\u6237\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u767B\u5F55\u7528\u6237\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"userId\":{\"type\":\"string\",\"title\":\"\u7528\u6237 ID\"},\"phone\":{\"type\":\"string\",\"title\":\"\u624B\u673A\"},\"type\":{\"type\":\"number\",\"title\":\"\u7528\u6237\u7C7B\u578B\"},\"relatedRoles\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u89D2\u8272 ID\"},\"envId\":{\"type\":\"string\",\"title\":\"\u73AF\u5883 ID\"},\"name\":{\"type\":\"string\",\"title\":\"\u89D2\u8272\u540D\u79F0\"},\"roleIdentity\":{\"type\":\"string\",\"title\":\"\u89D2\u8272\u6807\u8BC6\"}}},\"title\":\"\u7528\u6237\u5173\u8054\u89D2\u8272\"},\"openId\":{\"type\":\"string\",\"title\":\"\u5FAE\u4FE1/\u4F01\u5FAE openId\"},\"name\":{\"type\":\"string\",\"title\":\"\u7528\u6237\u540D\u79F0\"},\"nickName\":{\"type\":\"string\",\"title\":\"\u7528\u6237\u6635\u79F0\"},\"email\":{\"type\":\"string\",\"title\":\"\u90AE\u7BB1\"},\"mainOrg\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u4E3B\u5C97\u90E8\u95E8 ID\"},\"name\":{\"type\":\"string\",\"title\":\"\u4E3B\u5C97\u90E8\u95E8\u540D\u79F0\"}},\"title\":\"\u4E3B\u5C97\u90E8\u95E8\"},\"orgs\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"\u517C\u5C97\u90E8\u95E8 ID\"},\"name\":{\"type\":\"string\",\"title\":\"\u517C\u5C97\u90E8\u95E8\u540D\u79F0\"}}},\"title\":\"\u517C\u5C97\u90E8\u95E8\"}}}, \"doc\": \"https://docs.cloudbase.net/lowcode/framework/app/app#authgetuserinfoauthcurrentuser\"}\n */\nconst currentUser: CurrentUserInfo;\n\n }\n\n /**\n * \u6570\u636E\u6E90\u7B49\u4E91\u7AEF\u80FD\u529B\u96C6\u5408\n */\n namespace cloud {\n interface ICallDataSourceParams {\n /**\n * \u6570\u636E\u6E90\u6807\u5FD7\n */\n dataSourceName: string;\n /**\n * \u6570\u636E\u6E90\u65B9\u6CD5\u540D\n */\n methodName: string;\n /**\n * \u65B9\u6CD5\u53C2\u6570\uFF0C\u6839\u636E\u65B9\u6CD5\u5B9E\u9645\u5165\u53C2\u586B\u5199\n */\n params: Object;\n}\ninterface ICallFunctionParams {\n /**\n * TCB\u4E91\u51FD\u6570\u540D\u79F0\n */\n name: string;\n /**\n * \u4E91\u51FD\u6570\u63A5\u6536\u7684\u53C2\u6570\uFF0C\u6839\u636E\u81EA\u5DF1\u521B\u5EFA\u7684\u4E91\u51FD\u6570\u5165\u53C2\u800C\u5B9A\n */\n data?: any;\n}\ninterface IParseOptions {\n /**\n * \u89E3\u6790 \u4E91\u5F00\u53D1\u4E91\u51FD\u6570\u7684\u901A\u7528response \u5305\u88C5\u3002\u4E3Atrue, \u5219\u8FD4\u56DE res.result, \u6B64\u65F6\u4F1A\u4E22\u5931 res.requestId \u4FE1\u606F\n */\n unwrapResult?: boolean;\n /**\n * \u89E3\u6790\u4E1A\u52A1\u4FE1\u606F\uFF0C\u9700\u914D\u5408 unwrapResult \u4F7F\u7528\u3002\u4E3A true \u65F6, res.result.code \u975E 0 \u629B\u51FA\u9519\u8BEF, \u4E3A 0 \u5219\u8FD4\u56DE res.result.data\n */\n parseBusinessInfo?: boolean;\n}\ninterface ICallWorkflowParams {\n /**\n * \u65B9\u6CD5\u540D\u79F0\n */\n action: string;\n /**\n * \u65B9\u6CD5\u7684\u81EA\u5B9A\u4E49\u53C2\u6570\uFF0C\u5176\u4E2D envType, envId, uid, source \u5747\u65E0\u9700\u586B\u5199\n */\n data?: Record<string, any>;\n /**\n * \u662F\u5426\u81EA\u52A8\u5C06 data \u7684key \u6539\u4E3A\u5927\u5199\u9A7C\u5CF0\u3002\u9ED8\u8BA4\u4E3A true, \u5373\u4F7F\u7528\u65F6 data \u53EF\u4EE5\u91C7\u7528\u5C0F\u9A7C\u5CF0\u7684 key\n */\n capitalizeDataKey?: boolean;\n}\n\n/**\n * \u8C03\u7528\u6570\u636E\u6E90\n */\nfunction callDataSource(params: ICallDataSourceParams): any;\n\n/**\n * \u901A\u8FC7 cloudid \u83B7\u53D6\u9759\u6001\u6587\u4EF6\u7684 http \u8BBF\u95EE\u5730\u5740\n */\nfunction getTempFileURL(params: string | string[]): Promise<string | string[]>;\n\n/**\n * \u8C03\u7528\u6D41\u7A0B\n */\nfunction callWorkflow(action: ICallWorkflowParams): Promise<any>;\n\n/**\n * \u8C03\u7528\u4E91\u5F00\u53D1\u7684\u4E91\u51FD\u6570, \u4E0E $w.cloud.getCloudInstance \u793A\u4F8B\u4E2D\u7684\u6548\u679C\u5927\u4F53\u4E00\u81F4\n */\nfunction callFunction(params: ICallFunctionParams, parseOptions?: IParseOptions): Promise<any>;\n\n/**\n * \u8FD4\u56DE\u4E91\u5F00\u53D1web-sdk\u521D\u59CB\u5316\u540E\u7684\u5B9E\u4F8B(\u65E0\u9700\u5173\u5FC3tcb\u73AF\u5883\u4FE1\u606F\u53CA\u8BA4\u8BC1\u767B\u5F55\u7684\u5904\u7406), \u5373 tcb.init \u540E\u8FD4\u56DE\u7684\u5BF9\u8C61, \u53EF\u7528\u8BE5\u5BF9\u8C61\u76F4\u63A5\u8C03\u7528tcb\u7684\u5404\u79CD\u80FD\u529B\n */\nfunction getCloudInstance(): Promise<CloudInstance>;\n\n }\n\n /**\n * \u5E73\u53F0\u5DE5\u5177\u65B9\u6CD5\u96C6\u5408\n */\n namespace utils {\n interface navigatorOptions {\n /**\n * \u5B50\u5E94\u7528\u5305\u5730\u5740\uFF0C\u4F8B\u5982 packages/subapp\n */\n packageName: string;\n /**\n * \u9875\u9762 ID\n */\n pageId: string;\n data?: Record<string, any>;\n /**\n * query object \u5BF9\u8C61\n */\n params?: Record<string, any>;\n events?: Record<string, (data: any) => void>;\n success(res: any);\n fail(res: any);\n complete(res: any);\n}\n\ninterface navigateBackOptions {\n /**\n * \u8FD4\u56DE\u7684\u9875\u9762\u6570\uFF0C\u5982\u679C delta \u5927\u4E8E\u73B0\u6709\u9875\u9762\u6570\uFF0C\u5219\u8FD4\u56DE\u5230\u9996\u9875\u3002\n */\n delta: number;\n}\n\n/**\n * \u663E\u793A\u63D0\u793A\u6846\n */\nfunction showToast(options);\n\n/**\n * \u663E\u793A\u5168\u5C40\u52A0\u8F7D\u4E2D\u63D0\u793A\n */\nfunction showLoading(options);\n\n/**\n * \u9690\u85CF\u5168\u5C40\u52A0\u8F7D\u4E2D\u63D0\u793A\n */\nfunction hideLoading(options);\n\n/**\n * \u663E\u793A\u6A21\u6001\u5F39\u6846\n */\nfunction showModal(options);\n\n/**\n * \u62E8\u6253\u7535\u8BDD\n */\nfunction callPhone(options);\n\n/**\n * \u626B\u63CF\u4E8C\u7EF4\u7801\n */\nfunction scanCode(options: {\n /**\n * \u662F\u5426\u53EA\u80FD\u4ECE\u76F8\u673A\u626B\u7801\uFF0C\u4E0D\u5141\u8BB8\u4ECE\u76F8\u518C\u9009\u62E9\u56FE\u7247\n */\n onlyFromCamera?: boolean;\n enableDefaultBehavior?: boolean;\n /**\n * \u626B\u7801\u7C7B\u578B\n */\n scanType?: ('barCode' | 'qrCode')[];\n /**\n * \u63A5\u53E3\u8C03\u7528\u6210\u529F\u7684\u56DE\u8C03\u51FD\u6570\n */\n success?: (res: { result: string; scanType: string }) => void;\n /**\n * \u63A5\u53E3\u8C03\u7528\u5931\u8D25\u7684\u56DE\u8C03\u51FD\u6570\n */\n fail?: (err: Error) => void;\n /**\n * \u63A5\u53E3\u8C03\u7528\u7ED3\u675F\u7684\u56DE\u8C03\u51FD\u6570\uFF08\u8C03\u7528\u6210\u529F\u3001\u5931\u8D25\u90FD\u4F1A\u6267\u884C\uFF09\n */\n complete?: () => void;\n}): Promise<ScanCodeResult> | ScanCodeResult;\n\n/** \u5FAE\u4FE1\u80FD\u529B */\n/**\n * \u6D88\u606F\u8BA2\u9605\n * @param options\n */\nfunction requestSubscribeMessage(options);\n/**\n * \u5730\u56FE\u5BFC\u822A\n * @param options\n */\nfunction openLocation(options);\n/**\n * \u9884\u7EA6\u89C6\u9891\u53F7\u76F4\u64AD\n * @param options\n */\nfunction reserveChannelsLive(options);\n/**\n * \u6253\u5F00\u89C6\u9891\u53F7\u4E3B\u9875\n * @param options\n */\nfunction openChannelsUserProfile(options);\n/**\n * \u6253\u5F00\u89C6\u9891\u53F7\u76F4\u64AD\n * @param options\n */\nfunction openChannelsLive(options);\n/**\n * \u6253\u5F00\u89C6\u9891\u53F7\u6D3B\u52A8\u9875\n * @param options\n */\nfunction openChannelsEvent(options);\n/**\n * \u6253\u5F00\u89C6\u9891\u53F7\u89C6\u9891\n * @param options\n */\nfunction openChannelsActivity(options);\n/**\n * \u83B7\u53D6\u89C6\u9891\u53F7\u76F4\u64AD\u9884\u544A\u4FE1\u606F\n * @param options\n */\nfunction getChannelsLiveNoticeInfo(options);\n/**\n * \u83B7\u53D6\u89C6\u9891\u53F7\u76F4\u64AD\u4FE1\u606F\n * @param options\n */\nfunction getChannelsLiveInfo(options);\n/**\n * \u521B\u5EFA\u6FC0\u52B1\u89C6\u9891\u5E7F\u544A\n * @param options\n */\nfunction createRewardedVideoAd(options);\n/**\n * \u521B\u5EFA\u63D2\u5C4F\u5E7F\u544A\n * @param options\n */\nfunction createInterstitialAd(options);\n\n// \u7279\u5236\u8DEF\u7531\nfunction navigateTo(options: navigatorOptions);\n\n/**\n * \u5173\u95ED\u5F53\u524D\u9875\u9762\uFF0C\u8DF3\u8F6C\u5230\u5E94\u7528\u5185\u7684\u67D0\u4E2A\u9875\u9762\n */\nfunction redirectTo(options: navigatorOptions);\n\n/**\n * \u5173\u95ED\u6240\u6709\u9875\u9762\uFF0C\u6253\u5F00\u5230\u5E94\u7528\u5185\u7684\u67D0\u4E2A\u9875\u9762\n */\nfunction reLaunch(options: navigatorOptions);\n\n/**\n * \u8FD4\u56DE\u9996\u9875\n */\nfunction relaunchHome();\n\n/**\n * \u5173\u95ED\u5F53\u524D\u9875\u9762\uFF0C\u8FD4\u56DE\u4E0A\u4E00\u9875\u9762\u6216\u591A\u7EA7\u9875\u9762\n */\nfunction navigateBack(options: navigateBackOptions);\n\n/**\n * \u683C\u5F0F\u5316\u679A\u4E3E\n */\nfunction formatEnum(path, optionname, app);\n\n }\n\n /**\n * \u8BBE\u5907\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u8BBE\u5907\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"viewport\":{\"type\":\"object\",\"title\":\"\u7A97\u53E3\",\"properties\":{\"width\":{\"type\":\"number\",\"title\":\"\u7A97\u53E3\u5BBD\u5EA6\"},\"height\":{\"type\":\"number\",\"title\":\"\u7A97\u53E3\u9AD8\u5EA6\"}}},\"networkType\":{\"type\":\"string\",\"title\":\"\u7F51\u7EDC\u7C7B\u578B\"}}}}\n */\n namespace device {\n /**\n * \u7F51\u7EDC\u7C7B\u578B\n * pc\u7AEF\u4E3A\u7A7A\u5B57\u7B26\u4E32\n */\nenum NETWORK_TYPE {\n 'wifi' = 'wifi',\n '2g' = '2g',\n '3g' = '3g',\n '4g' = '4g',\n '5g' = '5g',\n 'other' = 'other',\n 'unknown' = '',\n}\n\n/**\n * \u7A97\u53E3\u4FE1\u606F\n */\ninterface IViewport {\n /**\n * \u7A97\u53E3\u5BBD\u5EA6\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"number\", \"displayName\": \"\u7A97\u53E3\u5BBD\u5EA6\"}\n */\n width: number;\n /**\n * \u7A97\u53E3\u9AD8\u5EA6\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"number\", \"displayName\": \"\u7A97\u53E3\u9AD8\u5EA6\"}\n */\n height: number;\n}\n\n/**\n * \u7A97\u53E3\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u7A97\u53E3\"}\n */\nconst viewport: IViewport;\n/**\n * \u7F51\u7EDC\u7C7B\u578B\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u7F51\u7EDC\u7C7B\u578B\"}\n */\nconst networkType: NETWORK_TYPE;\n\n }\n\n /**\n * \u73AF\u5883\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u73AF\u5883\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"envId\":{\"type\":\"string\",\"title\":\"\u73AF\u5883 ID\"},\"type\":{\"type\":\"string\",\"title\":\"\u73AF\u5883\u7C7B\u578B\"}}}}\n */\n namespace env {\n enum ENV_TYPE {\n /**\n * \u751F\u4EA7\n */\n 'production' = 'production',\n /**\n * \u9884\u89C8\n */\n 'preview' = 'preview',\n}\n\n/**\n * \u73AF\u5883\u7C7B\u578B\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u73AF\u5883\u7C7B\u578B\"}\n */\nconst type: ENV_TYPE;\n/**\n * \u73AF\u5883 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u73AF\u5883 ID\"}\n */\nconst envId: string;\n\n }\n\n /**\n * \u4E0A\u4E0B\u6587\u4FE1\u606F\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"object\", \"displayName\": \"\u4E0A\u4E0B\u6587\u4FE1\u606F\", \"schema\": {\"type\":\"object\",\"properties\":{\"platforms\":{\"type\":\"array\",\"title\":\"\u5E94\u7528\u8FD0\u884C\u7EC8\u7AEF\",\"items\":{\"type\":\"stirng\"}},\"isEditorMode\":{\"type\":\"boolean\",\"title\":\"\u662F\u5426\u5728\u7F16\u8F91\u533A\"}}}}\n */\n namespace wedaContext {\n /**\n * \u662F\u5426\u5728\u7F16\u8F91\u533A\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"boolean\", \"displayName\": \"\u662F\u5426\u5728\u7F16\u8F91\u533A\"}\n */\nconst isEditorMode: boolean;\n\n/**\n * \u5E94\u7528\u8FD0\u884C\u7EC8\u7AEF\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u5E94\u7528\u8FD0\u884C\u7EC8\u7AEF\"}\n */\nconst platforms: ('WEB' | 'MOBILEWEB' | 'PCWEB' | 'MP')[];\n\n }\n\n /**\n* \u7EDD\u5BF9\u503C\n*\n* @remarks\n* \u8BA1\u7B97\u4F20\u5165\u6570\u5B57\u7684\u7EDD\u5BF9\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u7EDD\u5BF9\u503C\", \"insertText\": \"ABS(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8BA1\u7B97\u4F20\u5165\u6570\u5B57\u7684\u7EDD\u5BF9\u503C\" , \"definition\": \"ABS(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function ABS(num: number): number;\n/**\n* \u6700\u5C0F\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5C0F\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6700\u5C0F\u503C\", \"insertText\": \"Min(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5C0F\u503C\" , \"definition\": \"Min(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\n function Min(...args: number[]): number;\n/**\n* \u6700\u5927\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5927\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6700\u5927\u503C\", \"insertText\": \"Max(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5927\u503C\" , \"definition\": \"Max(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\n function Max(...args: number[]): number;\n/**\n* \u5E73\u5747\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u5E73\u5747\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5E73\u5747\u503C\", \"insertText\": \"Average(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u5E73\u5747\u503C\" , \"definition\": \"Average(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\n function Average(...args: number[]): number;\n/**\n* \u5411\u4E0B\u53D6\u6574\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5411\u4E0B\u53D6\u6574\", \"insertText\": \"Floor(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u7ED3\u679C\" , \"definition\": \"Floor(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function Floor(num: number): number;\n/**\n* \u5411\u4E0A\u53D6\u6574\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5411\u4E0A\u53D6\u6574\", \"insertText\": \"Ceiling(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u7ED3\u679C\" , \"definition\": \"Ceiling(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function Ceiling(num: number): number;\n/**\n* \u56DB\u820D\u4E94\u5165\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u56DB\u820D\u4E94\u5165\u540E\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u56DB\u820D\u4E94\u5165\", \"insertText\": \"Round(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u56DB\u820D\u4E94\u5165\u540E\u7684\u7ED3\u679C\" , \"definition\": \"Round(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function Round(num: number): number;\n/**\n* \u6C42\u548C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u548C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6C42\u548C\", \"insertText\": \"Sum(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u548C\" , \"definition\": \"Sum(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\n function Sum(...args: number[]): number;\n/**\n* \u968F\u673A\u6570\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u4E2A\u6307\u5B9A\u8303\u56F4\u7684\u4F2A\u968F\u673A\u6570\uFF0C\u4F8B\u5982 Rand(10)\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u8303\u56F4\u5728 10 \u4EE5\u5185\u7684\u968F\u673A\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u968F\u673A\u6570\", \"insertText\": \"Rand(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u4E2A\u6307\u5B9A\u8303\u56F4\u7684\u4F2A\u968F\u673A\u6570\uFF0C\u4F8B\u5982 Rand(10)\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u8303\u56F4\u5728 10 \u4EE5\u5185\u7684\u968F\u673A\u6570\" , \"definition\": \"Rand(\u6570\u5B57):\u6570\u5B57\"}\n*/\n function Rand(num: number): number;\n\n interface IIfObjectParam {\ncondition: boolean;\nconsequent?: any;\nalternate?: any;\n}\n/**\n* \u6761\u4EF6\u5206\u652F\n*\n* @remarks\n* \u6309\u5224\u65AD\u6761\u4EF6\u8FDB\u884C\u903B\u8F91\u6BD4\u8F83\uFF0C\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6761\u4EF6\u5206\u652F\", \"insertText\": \"If(true, '\u60A8\u597D', 'hello')\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6309\u5224\u65AD\u6761\u4EF6\u8FDB\u884C\u903B\u8F91\u6BD4\u8F83\uFF0C\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002\" , \"definition\": \"If(\u5224\u65AD\u6761\u4EF6, \u6EE1\u8DB3\u65F6\u8FD4\u56DE\u7684\u503C, \u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u7684\u503C):\u4EFB\u4F55\u7C7B\u578B\"}\n*/\n function If(params: IIfObjectParam): any;\n function If(condition: boolean, consequent?: any, alternate?: any): any;\n/**\n* \u662F\u5426\u4E3A\u7A7A\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u6587\u672C\u662F\u5426\u4E3A\u7A7A\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3A\u7A7A\", \"insertText\": \"IsEmpty('hello')\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u6587\u672C\u662F\u5426\u4E3A\u7A7A\" , \"definition\": \"IsEmpty(\u503C):\u5E03\u5C14\u503C\"}\n*/\n function IsEmpty(text: string | string[]): boolean;\n/**\n* \u662F\u5426\u4E3Anull\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u5B57\u6BB5\u503C\u662F\u5426\u5305\u542B\u6570\u636E\uFF0C\u5373\u4E0D\u4E3A NULL\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3Anull\", \"insertText\": \"NotNull(null)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u5B57\u6BB5\u503C\u662F\u5426\u5305\u542B\u6570\u636E\uFF0C\u5373\u4E0D\u4E3A NULL\" , \"definition\": \"NotNull(\u5B57\u6BB5):\u5E03\u5C14\u503C\"}\n*/\n function NotNull(val: any): boolean;\n/**\n* \u4E0E\n*\n* @remarks\n* \u7528\u4E8E\u786E\u5B9A\u6240\u6709\u5224\u65AD\u6761\u4EF6\u662F\u5426\u4E3A\u771F\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4E0E\", \"insertText\": \"And(true, false)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u7528\u4E8E\u786E\u5B9A\u6240\u6709\u5224\u65AD\u6761\u4EF6\u662F\u5426\u4E3A\u771F\" , \"definition\": \"And(\u5224\u65AD\u6761\u4EF61, [\u5224\u65AD\u6761\u4EF62,...]):\u5E03\u5C14\u503C\"}\n*/\n function And(...args: boolean[]): boolean;\n/**\n* \u6216\n*\n* @remarks\n* \u4EFB\u610F\u4E00\u4E2A\u5224\u65AD\u6761\u4EF6\u4E3A\u771F\uFF0C\u5219\u7ED3\u679C\u4E3A\u771F\uFF1B\u6240\u6709\u6761\u4EF6\u4E3A\u5426\uFF0C\u7ED3\u679C\u624D\u4E3A\u5426\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6216\", \"insertText\": \"Or(true, false)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u4EFB\u610F\u4E00\u4E2A\u5224\u65AD\u6761\u4EF6\u4E3A\u771F\uFF0C\u5219\u7ED3\u679C\u4E3A\u771F\uFF1B\u6240\u6709\u6761\u4EF6\u4E3A\u5426\uFF0C\u7ED3\u679C\u624D\u4E3A\u5426\" , \"definition\": \"Or(\u5224\u65AD\u6761\u4EF61, [\u5224\u65AD\u6761\u4EF62,...]):\u5E03\u5C14\u503C\"}\n*/\n function Or(...args: boolean[]): boolean;\n\n/**\n* \u83B7\u53D6\u6587\u672C\u957F\u5EA6\n*\n* @remarks\n* \u83B7\u53D6\u4F20\u5165\u6587\u672C\u7684\u5B57\u7B26\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u6587\u672C\u957F\u5EA6\", \"insertText\": \"Len('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u83B7\u53D6\u4F20\u5165\u6587\u672C\u7684\u5B57\u7B26\u6570\" , \"definition\": \"Len(\u6587\u672C):\u6570\u5B57\"}\n*/\n function Len(text: string): number;\n/**\n* \u662F\u5426\u5305\u542B\u6307\u5B9A\u6587\u672C\n*\n* @remarks\n* \u5224\u65AD\u6587\u672C 1 \u662F\u5426\u5305\u542B\u6587\u672C 2\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u5305\u542B\u6307\u5B9A\u6587\u672C\", \"insertText\": \"Contains('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u6587\u672C 1 \u662F\u5426\u5305\u542B\u6587\u672C 2\" , \"definition\": \"Contains(\u6587\u672C1, \u6587\u672C2):\u5E03\u5C14\u503C\"}\n*/\n function Contains(text1: string, text2: string): boolean;\n/**\n* \u62C6\u5206\u6587\u672C\n*\n* @remarks\n* \u6839\u636E\u4F20\u5165\u7684\u6587\u672C 2\uFF0C\u5C06\u6587\u672C 1 \u62C6\u5206\u6210\u6587\u672C\u6570\u7EC4\uFF0C\u4F8B\u5982 Split(\"\u5F20\u4E09,\u674E\u56DB,\u738B\u4E94\", \",\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u62C6\u5206\u6587\u672C\", \"insertText\": \"Split('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u4F20\u5165\u7684\u6587\u672C 2\uFF0C\u5C06\u6587\u672C 1 \u62C6\u5206\u6210\u6587\u672C\u6570\u7EC4\uFF0C\u4F8B\u5982 Split('\u5F20\u4E09,\u674E\u56DB,\u738B\u4E94', ',')\" , \"definition\": \"Split(\u6587\u672C1,\u6587\u672C2):\u6587\u672C\u6570\u7EC4\"}\n*/\n function Split(text1: string, text2: string): string[];\n/**\n* \u5220\u9664\u5F00\u5934/\u7ED3\u5C3E\u7A7A\u683C\u548C\u5236\u8868\u7B26\n*\n* @remarks\n* \u5220\u9664\u6587\u672C\u5F00\u5934\u548C\u7ED3\u5C3E\u7684\u6240\u6709\u7A7A\u683C\u548C\u5236\u8868\u7B26\uFF0C\u6587\u672C\u4E2D\u95F4\u7684\u7A7A\u683C\u548C\u5236\u8868\u7B26\u4E0D\u4F1A\u5220\u9664\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5220\u9664\u5F00\u5934/\u7ED3\u5C3E\u7A7A\u683C\u548C\u5236\u8868\u7B26\", \"insertText\": \"Trim('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5220\u9664\u6587\u672C\u5F00\u5934\u548C\u7ED3\u5C3E\u7684\u6240\u6709\u7A7A\u683C\u548C\u5236\u8868\u7B26\uFF0C\u6587\u672C\u4E2D\u95F4\u7684\u7A7A\u683C\u548C\u5236\u8868\u7B26\u4E0D\u4F1A\u5220\u9664\" , \"definition\": \"Trim(\u6587\u672C):\u6587\u672C\"}\n*/\n function Trim(text: string): string;\n/**\n* \u8F6C\u6362\u4E3A\u5927\u5199\n*\n* @remarks\n* \u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5927\u5199\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8F6C\u6362\u4E3A\u5927\u5199\", \"insertText\": \"Upper('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5927\u5199\u6587\u672C\" , \"definition\": \"Upper(\u6587\u672C):\u6587\u672C\"}\n*/\n function Upper(text: string): string;\n/**\n* \u8F6C\u6362\u4E3A\u5C0F\u5199\n*\n* @remarks\n* \u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5C0F\u5199\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8F6C\u6362\u4E3A\u5C0F\u5199\", \"insertText\": \"Lower('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5C0F\u5199\u6587\u672C\" , \"definition\": \"Lower(\u6587\u672C):\u6587\u672C\"}\n*/\n function Lower(text: string): string;\n/**\n* \u6587\u672C\u62FC\u63A5\n*\n* @remarks\n* \u8FD4\u56DE\u591A\u4E2A\u6587\u672C\u62FC\u63A5\u540E\u7684\u65B0\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6587\u672C\u62FC\u63A5\", \"insertText\": \"Concat('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u591A\u4E2A\u6587\u672C\u62FC\u63A5\u540E\u7684\u65B0\u6587\u672C\" , \"definition\": \"Concat(\u6587\u672C1, [\u6587\u672C2,...]):\u6587\u672C\"}\n*/\n function Concat(...text: string[]): string;\n\n/**\n* \u83B7\u53D6\u73B0\u5728\u65F6\u95F4\n*\n* @remarks\n* \u8FD4\u56DE\u5F53\u524D\u7CFB\u7EDF\u65F6\u95F4\uFF0C\u901A\u5E38\u4E0E\u5176\u4ED6\u65E5\u671F\u65F6\u95F4\u51FD\u6570\u642D\u914D\u4F7F\u7528\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u73B0\u5728\u65F6\u95F4\", \"insertText\": \"Now()\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u5F53\u524D\u7CFB\u7EDF\u65F6\u95F4\uFF0C\u901A\u5E38\u4E0E\u5176\u4ED6\u65E5\u671F\u65F6\u95F4\u51FD\u6570\u642D\u914D\u4F7F\u7528\" , \"definition\": \"Now():\u65E5\u671F\u65F6\u95F4\"}\n*/\n function Now(): number;\n/**\n* \u83B7\u53D6\u65F6\u95F4\u6233\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u65F6\u95F4\u6233\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u65F6\u95F4\u6233\", \"insertText\": \"Timestamp(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u65F6\u95F4\u6233\" , \"definition\": \"Timestamp(\u65E5\u671F\u65F6\u95F4):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function Timestamp(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u79D2\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u79D2\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u79D2\u6570\", \"insertText\": \"Second(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u79D2\u6570\" , \"definition\": \"Second(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Second(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5206\u949F\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5206\u949F\u6570\", \"insertText\": \"Minute(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\" , \"definition\": \"Minute(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Minute(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5C0F\u65F6\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\uFF0C24\u5C0F\u65F6\u5236\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5C0F\u65F6\u6570\", \"insertText\": \"Hour(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\uFF0C24\u5C0F\u65F6\u5236\" , \"definition\": \"Hour(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Hour(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5929\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u65E5\u90E8\u5206\uFF0C\u8303\u56F4\u4E3A 1-31\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5929\u6570\", \"insertText\": \"Day(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u65E5\u90E8\u5206\uFF0C\u8303\u56F4\u4E3A 1-31\" , \"definition\": \"Day(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Day(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u661F\u671F\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u661F\u671F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u661F\u671F\u6570\", \"insertText\": \"DayOfWeek(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u661F\u671F\u6570\" , \"definition\": \"DayOfWeek(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function DayOfWeek(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u6708\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u6708\u4EFD\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u6708\u6570\", \"insertText\": \"Month(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u6708\u4EFD\" , \"definition\": \"Month(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Month(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5E74\u4EFD\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5E74\u4EFD\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5E74\u4EFD\", \"insertText\": \"Year(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5E74\u4EFD\" , \"definition\": \"Year(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Year(arg: number | string | Date): number;\n/**\n* \u4F7F\u7528\u5E74\u6708\u65E5\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u5E74\u6708\u65E5\u6570\u503C\u8FD4\u56DE\u4E00\u4E2A\u65E5\u671F\u7C7B\u578B\u7684\u6570\u636E\uFF0C\u4F8B\u5982 GetDate(2017,3,24)\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4F7F\u7528\u5E74\u6708\u65E5\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\", \"insertText\": \"GetDate(2011, 7, 2)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u5E74\u6708\u65E5\u6570\u503C\u8FD4\u56DE\u4E00\u4E2A\u65E5\u671F\u7C7B\u578B\u7684\u6570\u636E\uFF0C\u4F8B\u5982 GetDate(2017,3,24)\" , \"definition\": \"GetDate(\u6570\u5B57,\u6570\u5B57,\u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function GetDate(year: number, month: number, day: number): number;\n/**\n* \u4F7F\u7528\u65F6\u95F4\u65E5\u671F\u6587\u672C\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\n*\n* @remarks\n* \u5C06\u65E5\u671F\u65F6\u95F4\u6587\u672C\u6839\u636E\u6307\u5B9A\u683C\u5F0F\u8F6C\u5316\u4E3A\u65E5\u671F\u65F6\u95F4\uFF0C\u4F8B\u5982 DateTimeValue(\"2021-12-11 01:19:12\", \"yyyy-MM-dd HH:mm:ss\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4F7F\u7528\u65F6\u95F4\u65E5\u671F\u6587\u672C\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\", \"insertText\": \"DateTimeValue('2011-07-02', 'YYYY:MM:DD')\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u65E5\u671F\u65F6\u95F4\u6587\u672C\u6839\u636E\u6307\u5B9A\u683C\u5F0F\u8F6C\u5316\u4E3A\u65E5\u671F\u65F6\u95F4\uFF0C\u4F8B\u5982 DateTimeValue('2021-12-11 01:19:12', 'yyyy-MM-dd HH:mm:ss')\" , \"definition\": \"DateTimeValue(\u6587\u672C, \u6587\u672C):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function DateTimeValue(arg: string, val: string): number;\n/**\n* \u8BA1\u7B97\u5E74\u9F84\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u8BA1\u7B97\u51FA\u5E74\u9F84\uFF0C\u4F8B\u5982 Age(Date(2017,3,24), Date(2021,3,24))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8BA1\u7B97\u5E74\u9F84\", \"insertText\": \"Age(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u8BA1\u7B97\u51FA\u5E74\u9F84\uFF0C\u4F8B\u5982 Age(Date(2017,3,24), Date(2021,3,24))\" , \"definition\": \"Age(\u65E5\u671F\u65F6\u95F4,\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function Age(arg: number | string | Date, val: number | string | Date): number;\n/**\n* \u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\n*\n* @remarks\n* \u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\uFF0C\u4F8B\u5982 AgeOfNow(Date(2017,3,24))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\", \"insertText\": \"AgeOfNow(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\uFF0C\u4F8B\u5982 AgeOfNow(Date(2017,3,24))\" , \"definition\": \"AgeOfNow(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function AgeOfNow(arg: number | string | Date): number;\n/**\n* \u589E\u52A0 X \u5929\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5929\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u5929\", \"insertText\": \"DateAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5929\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"DateAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function DateAdd(arg: number | string | Date, day: number): number;\n/**\n* \u589E\u52A0 X \u6708\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u6708\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u6708\", \"insertText\": \"MonthAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u6708\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"MonthAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function MonthAdd(arg: number | string | Date, month: number): number;\n/**\n* \u589E\u52A0 X \u5E74\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5E74\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u5E74\", \"insertText\": \"YearAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5E74\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"YearAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\n function YearAdd(arg: number | string | Date, year: number): number;\n/**\n* \u5929\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5929\u6570\u5DEE\", \"insertText\": \"DateDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"DateDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function DateDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5C0F\u65F6\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5C0F\u65F6\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5C0F\u65F6\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5C0F\u65F6\u5DEE\", \"insertText\": \"HourDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5C0F\u65F6\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5C0F\u65F6\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"HourDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function HourDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5206\u949F\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5206\u949F\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5206\u949F\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5206\u949F\u5DEE\", \"insertText\": \"MinuteDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5206\u949F\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5206\u949F\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"MinuteDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function MinuteDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u79D2\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u79D2\u6570\u5DEE\", \"insertText\": \"SecondDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"SecondDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function SecondDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u6708\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u6708\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u6708\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6708\u6570\u5DEE\", \"insertText\": \"MonthDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u6708\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u6708\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"MonthDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function MonthDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5E74\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5E74\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5E74\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5E74\u6570\u5DEE\", \"insertText\": \"YearDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5E74\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5E74\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"YearDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\n function YearDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u65E5\u671F\u65F6\u95F4\u683C\u5F0F\u5316\n*\n* @remarks\n* \u683C\u5F0F\u5316\u65E5\u671F\u65F6\u95F4\u4E3A\u6307\u5B9A\u683C\u5F0F\u7684\u6587\u672C\uFF0C\u4F8B\u5982 DateText(Date(2017,3,24), \"yyyy-MM-dd HH:mm:ss\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u65E5\u671F\u65F6\u95F4\u683C\u5F0F\u5316\", \"insertText\": \"DateText(1661334203345, 'YYYY-MM-DD HH:mm:ss')\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u683C\u5F0F\u5316\u65E5\u671F\u65F6\u95F4\u4E3A\u6307\u5B9A\u683C\u5F0F\u7684\u6587\u672C\uFF0C\u4F8B\u5982 DateText(Date(2017,3,24), 'yyyy-MM-dd HH:mm:ss')\" , \"definition\": \"DateText(\u65E5\u671F\u65F6\u95F4, \u6587\u672C):\u6587\u672C\"}\n*/\n function DateText(createdTime: number | string | Date, text: string): string;\n/**\n* \u662F\u5426\u4E3A\u4ECA\u5929\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u662F\u5426\u4E3A\u4ECA\u5929\uFF0C\u4F8B\u5982 IsToday(Date(2022,4,8))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3A\u4ECA\u5929\", \"insertText\": \"IsToday(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u662F\u5426\u4E3A\u4ECA\u5929\uFF0C\u4F8B\u5982 IsToday(Date(2022,4,8))\" , \"definition\": \"IsToday(\u65E5\u671F\u65F6\u95F4):\u5E03\u5C14\u503C\"}\n*/\n function IsToday(date: number | string | Date): boolean;\n\n\n // used widgets Inner Begin\n // used widgets - Don't touch me\n // used widgets Inner End\n\n // repeater scope Inner Begin\n // repeater scope - Don't touch me\n // repeater scope Inner End\n}\n\n// Global For Begin\ndeclare const $for: {\n // Global For Inner Begin\n // For \u5FAA\u73AF\u53D8\u91CF - Don't touch me\n // Global For Inner End\n};\ndeclare const forItems = $for;\n// Global For End\n\n// $page Begin\ndeclare namespace $page {\n /**\n * \u9875\u9762 ID\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u9875\u9762 ID\"}\n */\nconst id: string;\n/**\n * \u9875\u9762\u540D\u79F0\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u9875\u9762\u540D\u79F0\"}\n */\nconst label: string;\n/**\n * \u9875\u9762\u8DEF\u5F84\n *\n * @privateForWeDa\n * {\"group\": \"sysVar\", \"displayType\": \"string\", \"displayName\": \"\u9875\u9762\u8DEF\u5F84\"}\n */\nconst path: string;\n\n/**\n * \u9875\u9762\u6570\u636E\u5BF9\u8C61\n */\nnamespace dataset {\n /**\n * \u9875\u9762\u53D8\u91CF\n */\n const state: {\n // Page State Inner Begin\n // Page State \u9875\u9762\u53D8\u91CF - Don't touch me\n // Page State Inner End\n };\n /**\n * \u9875\u9762\u53C2\u6570\n */\n const params: {\n // Page Param Inner Begin\n // Page Param \u9875\u9762\u53C2\u6570 - Don't touch me\n // Page Param Inner End\n };\n}\n\n/**\n * \u9875\u9762\u5B9A\u4E49 handler \u65B9\u6CD5\n */\nnamespace handler {\n // Page Handler Inner Begin\n // Page Handler \u9875\u9762\u65B9\u6CD5 - Don't touch me\n // Page Handler Inner End\n}\n\n/**\n * \u8BBE\u7F6E\u9875\u9762\u53D8\u91CF\n */\nfunction setState(userSetState: Record<string, any>): void;\n\n}\n// $page End\n\n// $comp Begin\ndeclare namespace $comp {\n namespace props {\n const data: {\n // Comp Prop Data Inner Begin\n // Comp Prop Data \u7EC4\u4EF6\u5C5E\u6027 - Don't touch me\n // Comp Prop Data Inner End\n };\n\n namespace events {\n // Comp Prop Events Inner Begin\n // Comp Prop Events \u7EC4\u4EF6\u4E8B\u4EF6 - Don't touch me\n // Comp Prop Events Inner End\n }\n }\n\n namespace dataset {\n const state: {\n // Comp State Inner Begin\n // Comp State \u7EC4\u4EF6\u53D8\u91CF - Don't touch me\n // Comp State Inner End\n };\n }\n\n namespace handler {\n // Comp Handler Inner Begin\n // Comp Handler \u7EC4\u4EF6\u65B9\u6CD5 - Don't touch me\n // Comp Handler Inner End\n }\n}\n// $comp End\n\n// Global Formula Begin\n\n/**\n* \u7EDD\u5BF9\u503C\n*\n* @remarks\n* \u8BA1\u7B97\u4F20\u5165\u6570\u5B57\u7684\u7EDD\u5BF9\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u7EDD\u5BF9\u503C\", \"insertText\": \"ABS(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8BA1\u7B97\u4F20\u5165\u6570\u5B57\u7684\u7EDD\u5BF9\u503C\" , \"definition\": \"ABS(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function ABS(num: number): number;\n/**\n* \u6700\u5C0F\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5C0F\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6700\u5C0F\u503C\", \"insertText\": \"Min(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5C0F\u503C\" , \"definition\": \"Min(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\ndeclare function Min(...args: number[]): number;\n/**\n* \u6700\u5927\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5927\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6700\u5927\u503C\", \"insertText\": \"Max(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u6700\u5927\u503C\" , \"definition\": \"Max(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\ndeclare function Max(...args: number[]): number;\n/**\n* \u5E73\u5747\u503C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u5E73\u5747\u503C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5E73\u5747\u503C\", \"insertText\": \"Average(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u5E73\u5747\u503C\" , \"definition\": \"Average(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\ndeclare function Average(...args: number[]): number;\n/**\n* \u5411\u4E0B\u53D6\u6574\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5411\u4E0B\u53D6\u6574\", \"insertText\": \"Floor(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0B\u53D6\u6574\u7684\u7ED3\u679C\" , \"definition\": \"Floor(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function Floor(num: number): number;\n/**\n* \u5411\u4E0A\u53D6\u6574\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5411\u4E0A\u53D6\u6574\", \"insertText\": \"Ceiling(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u5411\u4E0A\u53D6\u6574\u7684\u7ED3\u679C\" , \"definition\": \"Ceiling(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function Ceiling(num: number): number;\n/**\n* \u56DB\u820D\u4E94\u5165\n*\n* @remarks\n* \u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u56DB\u820D\u4E94\u5165\u540E\u7684\u7ED3\u679C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u56DB\u820D\u4E94\u5165\", \"insertText\": \"Round(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4F20\u5165\u6570\u5B57\u56DB\u820D\u4E94\u5165\u540E\u7684\u7ED3\u679C\" , \"definition\": \"Round(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function Round(num: number): number;\n/**\n* \u6C42\u548C\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u548C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6C42\u548C\", \"insertText\": \"Sum(1, 2)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u7EC4\u6570\u5B57\u4E2D\u7684\u548C\" , \"definition\": \"Sum(\u6570\u5B571, [\u6570\u5B572, ...]):\u6570\u5B57\"}\n*/\ndeclare function Sum(...args: number[]): number;\n/**\n* \u968F\u673A\u6570\n*\n* @remarks\n* \u8FD4\u56DE\u4E00\u4E2A\u6307\u5B9A\u8303\u56F4\u7684\u4F2A\u968F\u673A\u6570\uFF0C\u4F8B\u5982 Rand(10)\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u8303\u56F4\u5728 10 \u4EE5\u5185\u7684\u968F\u673A\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u968F\u673A\u6570\", \"insertText\": \"Rand(1)\", \"subGroup\": \"calculation\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E00\u4E2A\u6307\u5B9A\u8303\u56F4\u7684\u4F2A\u968F\u673A\u6570\uFF0C\u4F8B\u5982 Rand(10)\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u8303\u56F4\u5728 10 \u4EE5\u5185\u7684\u968F\u673A\u6570\" , \"definition\": \"Rand(\u6570\u5B57):\u6570\u5B57\"}\n*/\ndeclare function Rand(num: number): number;\n\ndeclare interface IIfObjectParam {\ncondition: boolean;\nconsequent?: any;\nalternate?: any;\n}\n/**\n* \u6761\u4EF6\u5206\u652F\n*\n* @remarks\n* \u6309\u5224\u65AD\u6761\u4EF6\u8FDB\u884C\u903B\u8F91\u6BD4\u8F83\uFF0C\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6761\u4EF6\u5206\u652F\", \"insertText\": \"If(true, '\u60A8\u597D', 'hello')\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6309\u5224\u65AD\u6761\u4EF6\u8FDB\u884C\u903B\u8F91\u6BD4\u8F83\uFF0C\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002\" , \"definition\": \"If(\u5224\u65AD\u6761\u4EF6, \u6EE1\u8DB3\u65F6\u8FD4\u56DE\u7684\u503C, \u4E0D\u6EE1\u8DB3\u65F6\u8FD4\u56DE\u7684\u503C):\u4EFB\u4F55\u7C7B\u578B\"}\n*/\ndeclare function If(params: IIfObjectParam): any;\ndeclare function If(condition: boolean, consequent?: any, alternate?: any): any;\n/**\n* \u662F\u5426\u4E3A\u7A7A\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u6587\u672C\u662F\u5426\u4E3A\u7A7A\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3A\u7A7A\", \"insertText\": \"IsEmpty('hello')\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u6587\u672C\u662F\u5426\u4E3A\u7A7A\" , \"definition\": \"IsEmpty(\u503C):\u5E03\u5C14\u503C\"}\n*/\ndeclare function IsEmpty(text: string | string[]): boolean;\n/**\n* \u662F\u5426\u4E3Anull\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u5B57\u6BB5\u503C\u662F\u5426\u5305\u542B\u6570\u636E\uFF0C\u5373\u4E0D\u4E3A NULL\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3Anull\", \"insertText\": \"NotNull(null)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u5B57\u6BB5\u503C\u662F\u5426\u5305\u542B\u6570\u636E\uFF0C\u5373\u4E0D\u4E3A NULL\" , \"definition\": \"NotNull(\u5B57\u6BB5):\u5E03\u5C14\u503C\"}\n*/\ndeclare function NotNull(val: any): boolean;\n/**\n* \u4E0E\n*\n* @remarks\n* \u7528\u4E8E\u786E\u5B9A\u6240\u6709\u5224\u65AD\u6761\u4EF6\u662F\u5426\u4E3A\u771F\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4E0E\", \"insertText\": \"And(true, false)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u7528\u4E8E\u786E\u5B9A\u6240\u6709\u5224\u65AD\u6761\u4EF6\u662F\u5426\u4E3A\u771F\" , \"definition\": \"And(\u5224\u65AD\u6761\u4EF61, [\u5224\u65AD\u6761\u4EF62,...]):\u5E03\u5C14\u503C\"}\n*/\ndeclare function And(...args: boolean[]): boolean;\n/**\n* \u6216\n*\n* @remarks\n* \u4EFB\u610F\u4E00\u4E2A\u5224\u65AD\u6761\u4EF6\u4E3A\u771F\uFF0C\u5219\u7ED3\u679C\u4E3A\u771F\uFF1B\u6240\u6709\u6761\u4EF6\u4E3A\u5426\uFF0C\u7ED3\u679C\u624D\u4E3A\u5426\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6216\", \"insertText\": \"Or(true, false)\", \"subGroup\": \"logic\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u4EFB\u610F\u4E00\u4E2A\u5224\u65AD\u6761\u4EF6\u4E3A\u771F\uFF0C\u5219\u7ED3\u679C\u4E3A\u771F\uFF1B\u6240\u6709\u6761\u4EF6\u4E3A\u5426\uFF0C\u7ED3\u679C\u624D\u4E3A\u5426\" , \"definition\": \"Or(\u5224\u65AD\u6761\u4EF61, [\u5224\u65AD\u6761\u4EF62,...]):\u5E03\u5C14\u503C\"}\n*/\ndeclare function Or(...args: boolean[]): boolean;\n\n/**\n* \u83B7\u53D6\u6587\u672C\u957F\u5EA6\n*\n* @remarks\n* \u83B7\u53D6\u4F20\u5165\u6587\u672C\u7684\u5B57\u7B26\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u6587\u672C\u957F\u5EA6\", \"insertText\": \"Len('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u83B7\u53D6\u4F20\u5165\u6587\u672C\u7684\u5B57\u7B26\u6570\" , \"definition\": \"Len(\u6587\u672C):\u6570\u5B57\"}\n*/\ndeclare function Len(text: string): number;\n/**\n* \u662F\u5426\u5305\u542B\u6307\u5B9A\u6587\u672C\n*\n* @remarks\n* \u5224\u65AD\u6587\u672C 1 \u662F\u5426\u5305\u542B\u6587\u672C 2\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u5305\u542B\u6307\u5B9A\u6587\u672C\", \"insertText\": \"Contains('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u6587\u672C 1 \u662F\u5426\u5305\u542B\u6587\u672C 2\" , \"definition\": \"Contains(\u6587\u672C1, \u6587\u672C2):\u5E03\u5C14\u503C\"}\n*/\ndeclare function Contains(text1: string, text2: string): boolean;\n/**\n* \u62C6\u5206\u6587\u672C\n*\n* @remarks\n* \u6839\u636E\u4F20\u5165\u7684\u6587\u672C 2\uFF0C\u5C06\u6587\u672C 1 \u62C6\u5206\u6210\u6587\u672C\u6570\u7EC4\uFF0C\u4F8B\u5982 Split(\"\u5F20\u4E09,\u674E\u56DB,\u738B\u4E94\", \",\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u62C6\u5206\u6587\u672C\", \"insertText\": \"Split('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u4F20\u5165\u7684\u6587\u672C 2\uFF0C\u5C06\u6587\u672C 1 \u62C6\u5206\u6210\u6587\u672C\u6570\u7EC4\uFF0C\u4F8B\u5982 Split('\u5F20\u4E09,\u674E\u56DB,\u738B\u4E94', ',')\" , \"definition\": \"Split(\u6587\u672C1,\u6587\u672C2):\u6587\u672C\u6570\u7EC4\"}\n*/\ndeclare function Split(text1: string, text2: string): string[];\n/**\n* \u5220\u9664\u5F00\u5934/\u7ED3\u5C3E\u7A7A\u683C\u548C\u5236\u8868\u7B26\n*\n* @remarks\n* \u5220\u9664\u6587\u672C\u5F00\u5934\u548C\u7ED3\u5C3E\u7684\u6240\u6709\u7A7A\u683C\u548C\u5236\u8868\u7B26\uFF0C\u6587\u672C\u4E2D\u95F4\u7684\u7A7A\u683C\u548C\u5236\u8868\u7B26\u4E0D\u4F1A\u5220\u9664\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5220\u9664\u5F00\u5934/\u7ED3\u5C3E\u7A7A\u683C\u548C\u5236\u8868\u7B26\", \"insertText\": \"Trim('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5220\u9664\u6587\u672C\u5F00\u5934\u548C\u7ED3\u5C3E\u7684\u6240\u6709\u7A7A\u683C\u548C\u5236\u8868\u7B26\uFF0C\u6587\u672C\u4E2D\u95F4\u7684\u7A7A\u683C\u548C\u5236\u8868\u7B26\u4E0D\u4F1A\u5220\u9664\" , \"definition\": \"Trim(\u6587\u672C):\u6587\u672C\"}\n*/\ndeclare function Trim(text: string): string;\n/**\n* \u8F6C\u6362\u4E3A\u5927\u5199\n*\n* @remarks\n* \u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5927\u5199\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8F6C\u6362\u4E3A\u5927\u5199\", \"insertText\": \"Upper('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5927\u5199\u6587\u672C\" , \"definition\": \"Upper(\u6587\u672C):\u6587\u672C\"}\n*/\ndeclare function Upper(text: string): string;\n/**\n* \u8F6C\u6362\u4E3A\u5C0F\u5199\n*\n* @remarks\n* \u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5C0F\u5199\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8F6C\u6362\u4E3A\u5C0F\u5199\", \"insertText\": \"Lower('\u6587\u672C')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u4F20\u5165\u7684\u6587\u672C\u8F6C\u4E3A\u5168\u5C0F\u5199\u6587\u672C\" , \"definition\": \"Lower(\u6587\u672C):\u6587\u672C\"}\n*/\ndeclare function Lower(text: string): string;\n/**\n* \u6587\u672C\u62FC\u63A5\n*\n* @remarks\n* \u8FD4\u56DE\u591A\u4E2A\u6587\u672C\u62FC\u63A5\u540E\u7684\u65B0\u6587\u672C\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6587\u672C\u62FC\u63A5\", \"insertText\": \"Concat('\u6587\u672C1', '\u6587\u672C2')\", \"subGroup\": \"text\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u591A\u4E2A\u6587\u672C\u62FC\u63A5\u540E\u7684\u65B0\u6587\u672C\" , \"definition\": \"Concat(\u6587\u672C1, [\u6587\u672C2,...]):\u6587\u672C\"}\n*/\ndeclare function Concat(...text: string[]): string;\n\n/**\n* \u83B7\u53D6\u73B0\u5728\u65F6\u95F4\n*\n* @remarks\n* \u8FD4\u56DE\u5F53\u524D\u7CFB\u7EDF\u65F6\u95F4\uFF0C\u901A\u5E38\u4E0E\u5176\u4ED6\u65E5\u671F\u65F6\u95F4\u51FD\u6570\u642D\u914D\u4F7F\u7528\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u73B0\u5728\u65F6\u95F4\", \"insertText\": \"Now()\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u5F53\u524D\u7CFB\u7EDF\u65F6\u95F4\uFF0C\u901A\u5E38\u4E0E\u5176\u4ED6\u65E5\u671F\u65F6\u95F4\u51FD\u6570\u642D\u914D\u4F7F\u7528\" , \"definition\": \"Now():\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function Now(): number;\n/**\n* \u83B7\u53D6\u65F6\u95F4\u6233\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u65F6\u95F4\u6233\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u65F6\u95F4\u6233\", \"insertText\": \"Timestamp(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u65F6\u95F4\u6233\" , \"definition\": \"Timestamp(\u65E5\u671F\u65F6\u95F4):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function Timestamp(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u79D2\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u79D2\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u79D2\u6570\", \"insertText\": \"Second(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u79D2\u6570\" , \"definition\": \"Second(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Second(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5206\u949F\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5206\u949F\u6570\", \"insertText\": \"Minute(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\" , \"definition\": \"Minute(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Minute(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5C0F\u65F6\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\uFF0C24\u5C0F\u65F6\u5236\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5C0F\u65F6\u6570\", \"insertText\": \"Hour(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\uFF0C24\u5C0F\u65F6\u5236\" , \"definition\": \"Hour(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Hour(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5929\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u65E5\u90E8\u5206\uFF0C\u8303\u56F4\u4E3A 1-31\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5929\u6570\", \"insertText\": \"Day(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u65E5\u90E8\u5206\uFF0C\u8303\u56F4\u4E3A 1-31\" , \"definition\": \"Day(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Day(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u661F\u671F\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u661F\u671F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u661F\u671F\u6570\", \"insertText\": \"DayOfWeek(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u661F\u671F\u6570\" , \"definition\": \"DayOfWeek(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function DayOfWeek(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u6708\u6570\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u6708\u4EFD\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u6708\u6570\", \"insertText\": \"Month(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u6708\u4EFD\" , \"definition\": \"Month(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Month(arg: number | string | Date): number;\n/**\n* \u83B7\u53D6\u5E74\u4EFD\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5E74\u4EFD\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u83B7\u53D6\u5E74\u4EFD\", \"insertText\": \"Year(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u65E5\u671F\u65F6\u95F4\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5E74\u4EFD\" , \"definition\": \"Year(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Year(arg: number | string | Date): number;\n/**\n* \u4F7F\u7528\u5E74\u6708\u65E5\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u5E74\u6708\u65E5\u6570\u503C\u8FD4\u56DE\u4E00\u4E2A\u65E5\u671F\u7C7B\u578B\u7684\u6570\u636E\uFF0C\u4F8B\u5982 GetDate(2017,3,24)\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4F7F\u7528\u5E74\u6708\u65E5\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\", \"insertText\": \"GetDate(2011, 7, 2)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u5E74\u6708\u65E5\u6570\u503C\u8FD4\u56DE\u4E00\u4E2A\u65E5\u671F\u7C7B\u578B\u7684\u6570\u636E\uFF0C\u4F8B\u5982 GetDate(2017,3,24)\" , \"definition\": \"GetDate(\u6570\u5B57,\u6570\u5B57,\u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function GetDate(year: number, month: number, day: number): number;\n/**\n* \u4F7F\u7528\u65F6\u95F4\u65E5\u671F\u6587\u672C\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\n*\n* @remarks\n* \u5C06\u65E5\u671F\u65F6\u95F4\u6587\u672C\u6839\u636E\u6307\u5B9A\u683C\u5F0F\u8F6C\u5316\u4E3A\u65E5\u671F\u65F6\u95F4\uFF0C\u4F8B\u5982 DateTimeValue(\"2021-12-11 01:19:12\", \"yyyy-MM-dd HH:mm:ss\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u4F7F\u7528\u65F6\u95F4\u65E5\u671F\u6587\u672C\u521B\u5EFA\u65E5\u671F\u65F6\u95F4\", \"insertText\": \"DateTimeValue('2011-07-02', 'YYYY:MM:DD')\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5C06\u65E5\u671F\u65F6\u95F4\u6587\u672C\u6839\u636E\u6307\u5B9A\u683C\u5F0F\u8F6C\u5316\u4E3A\u65E5\u671F\u65F6\u95F4\uFF0C\u4F8B\u5982 DateTimeValue('2021-12-11 01:19:12', 'yyyy-MM-dd HH:mm:ss')\" , \"definition\": \"DateTimeValue(\u6587\u672C, \u6587\u672C):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function DateTimeValue(arg: string, val: string): number;\n/**\n* \u8BA1\u7B97\u5E74\u9F84\n*\n* @remarks\n* \u6839\u636E\u8F93\u5165\u7684\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u8BA1\u7B97\u51FA\u5E74\u9F84\uFF0C\u4F8B\u5982 Age(Date(2017,3,24), Date(2021,3,24))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8BA1\u7B97\u5E74\u9F84\", \"insertText\": \"Age(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u6839\u636E\u8F93\u5165\u7684\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u8BA1\u7B97\u51FA\u5E74\u9F84\uFF0C\u4F8B\u5982 Age(Date(2017,3,24), Date(2021,3,24))\" , \"definition\": \"Age(\u65E5\u671F\u65F6\u95F4,\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function Age(arg: number | string | Date, val: number | string | Date): number;\n/**\n* \u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\n*\n* @remarks\n* \u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\uFF0C\u4F8B\u5982 AgeOfNow(Date(2017,3,24))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\", \"insertText\": \"AgeOfNow(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8BA1\u7B97\u5F53\u524D\u5E74\u9F84\uFF0C\u4F8B\u5982 AgeOfNow(Date(2017,3,24))\" , \"definition\": \"AgeOfNow(\u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function AgeOfNow(arg: number | string | Date): number;\n/**\n* \u589E\u52A0 X \u5929\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5929\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u5929\", \"insertText\": \"DateAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5929\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"DateAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function DateAdd(arg: number | string | Date, day: number): number;\n/**\n* \u589E\u52A0 X \u6708\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u6708\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u6708\", \"insertText\": \"MonthAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u6708\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"MonthAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function MonthAdd(arg: number | string | Date, month: number): number;\n/**\n* \u589E\u52A0 X \u5E74\n*\n* @remarks\n* \u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5E74\uFF0C\u652F\u6301\u8D1F\u6570\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u589E\u52A0 X \u5E74\", \"insertText\": \"YearAdd(1661334203345, 1)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5728\u4F20\u5165\u7684\u65E5\u671F\u548C\u65F6\u95F4\u4E0A\u589E\u52A0 X \u5E74\uFF0C\u652F\u6301\u8D1F\u6570\" , \"definition\": \"YearAdd(\u65E5\u671F\u65F6\u95F4, \u6570\u5B57):\u65E5\u671F\u65F6\u95F4\"}\n*/\ndeclare function YearAdd(arg: number | string | Date, year: number): number;\n/**\n* \u5929\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5929\u6570\u5DEE\", \"insertText\": \"DateDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"DateDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function DateDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5C0F\u65F6\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5C0F\u65F6\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5C0F\u65F6\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5C0F\u65F6\u5DEE\", \"insertText\": \"HourDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5C0F\u65F6\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5C0F\u65F6\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"HourDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function HourDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5206\u949F\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5206\u949F\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5206\u949F\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5206\u949F\u5DEE\", \"insertText\": \"MinuteDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5206\u949F\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5206\u949F\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"MinuteDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function MinuteDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u79D2\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u79D2\u6570\u5DEE\", \"insertText\": \"SecondDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5929\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5929\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"SecondDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function SecondDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u6708\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u6708\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u6708\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u6708\u6570\u5DEE\", \"insertText\": \"MonthDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u6708\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u6708\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"MonthDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function MonthDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u5E74\u6570\u5DEE\n*\n* @remarks\n* \u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5E74\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5E74\uFF0C\u5DEE\u6570\u4E3A\u96F6\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u5E74\u6570\u5DEE\", \"insertText\": \"YearDiff(1661334203345, 1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u65F6\u95F4\u5B57\u6BB5\u4E4B\u95F4\u7684\u5E74\u6570\u5DEE\uFF0C\u5982\u679C\u4E3A\u540C\u4E00\u5E74\uFF0C\u5DEE\u6570\u4E3A\u96F6\" , \"definition\": \"YearDiff(\u65E5\u671F\u65F6\u95F4, \u65E5\u671F\u65F6\u95F4):\u6570\u5B57\"}\n*/\ndeclare function YearDiff(startDay: number | string | Date, endDay: number | string | Date): number;\n/**\n* \u65E5\u671F\u65F6\u95F4\u683C\u5F0F\u5316\n*\n* @remarks\n* \u683C\u5F0F\u5316\u65E5\u671F\u65F6\u95F4\u4E3A\u6307\u5B9A\u683C\u5F0F\u7684\u6587\u672C\uFF0C\u4F8B\u5982 DateText(Date(2017,3,24), \"yyyy-MM-dd HH:mm:ss\")\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u65E5\u671F\u65F6\u95F4\u683C\u5F0F\u5316\", \"insertText\": \"DateText(1661334203345, 'YYYY-MM-DD HH:mm:ss')\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u683C\u5F0F\u5316\u65E5\u671F\u65F6\u95F4\u4E3A\u6307\u5B9A\u683C\u5F0F\u7684\u6587\u672C\uFF0C\u4F8B\u5982 DateText(Date(2017,3,24), 'yyyy-MM-dd HH:mm:ss')\" , \"definition\": \"DateText(\u65E5\u671F\u65F6\u95F4, \u6587\u672C):\u6587\u672C\"}\n*/\ndeclare function DateText(createdTime: number | string | Date, text: string): string;\n/**\n* \u662F\u5426\u4E3A\u4ECA\u5929\n*\n* @remarks\n* \u5224\u65AD\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u662F\u5426\u4E3A\u4ECA\u5929\uFF0C\u4F8B\u5982 IsToday(Date(2022,4,8))\n*\n* @privateForWeDa\n* {\"group\": \"formula\", \"displayType\": \"function\", \"displayName\": \"\u662F\u5426\u4E3A\u4ECA\u5929\", \"insertText\": \"IsToday(1661334203345)\", \"subGroup\": \"time\", \"doc\": \"https://cloud.tencent.com/document/product/1301/76328\" , \"description\": \"\u5224\u65AD\u4F20\u5165\u7684\u65E5\u671F\u65F6\u95F4\u662F\u5426\u4E3A\u4ECA\u5929\uFF0C\u4F8B\u5982 IsToday(Date(2022,4,8))\" , \"definition\": \"IsToday(\u65E5\u671F\u65F6\u95F4):\u5E03\u5C14\u503C\"}\n*/\ndeclare function IsToday(date: number | string | Date): boolean;\n\n\n// Global Formula End\n";
|
|
2
2
|
//# sourceMappingURL=auto-generated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-generated.d.ts","sourceRoot":"","sources":["../../../src/utils/dts/auto-generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"auto-generated.d.ts","sourceRoot":"","sources":["../../../src/utils/dts/auto-generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,souFAsqDnB,CAAA"}
|