@acorex/platform 21.0.0-next.85 → 21.0.0-next.88

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.
Files changed (74) hide show
  1. package/fesm2022/acorex-platform-auth.mjs +1 -1
  2. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  3. package/fesm2022/{acorex-platform-common-common-settings.provider-Ytey9uhY.mjs → acorex-platform-common-common-settings.provider-VfmZct9H.mjs} +43 -3
  4. package/fesm2022/acorex-platform-common-common-settings.provider-VfmZct9H.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-common.mjs +1709 -870
  6. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-contracts.mjs +1160 -9
  8. package/fesm2022/acorex-platform-contracts.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-core.mjs +210 -131
  10. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  11. package/fesm2022/acorex-platform-domain-contracts.mjs +58 -0
  12. package/fesm2022/acorex-platform-domain-contracts.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-domain.mjs +2 -50
  14. package/fesm2022/acorex-platform-domain.mjs.map +1 -1
  15. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  16. package/fesm2022/acorex-platform-layout-components.mjs +59 -23
  17. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  18. package/fesm2022/acorex-platform-layout-designer.mjs +3 -2
  19. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  20. package/fesm2022/acorex-platform-layout-entity-attachments-page.component-CwG6n_Yb.mjs.map +1 -1
  21. package/fesm2022/acorex-platform-layout-entity-contracts.mjs +1114 -0
  22. package/fesm2022/acorex-platform-layout-entity-contracts.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-layout-entity-file-list-popup.component--IeMZLIr.mjs.map +1 -1
  24. package/fesm2022/acorex-platform-layout-entity.mjs +661 -742
  25. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  26. package/fesm2022/acorex-platform-layout-views.mjs +333 -119
  27. package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
  28. package/fesm2022/acorex-platform-layout-widget-core.mjs +11 -105
  29. package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
  30. package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-CFyfix31.mjs +513 -0
  31. package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-CFyfix31.mjs.map +1 -0
  32. package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DjpZU6gz.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-D4MOHEpI.mjs} +4 -4
  33. package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-D4MOHEpI.mjs.map +1 -0
  34. package/fesm2022/acorex-platform-layout-widgets.mjs +868 -57
  35. package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
  36. package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
  37. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs → acorex-platform-themes-default-entity-master-single-view.component-DrUwqKKA.mjs} +2 -3
  38. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DrUwqKKA.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-themes-default.mjs +740 -96
  40. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  41. package/fesm2022/{acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs → acorex-platform-themes-shared-settings.provider-BUwPqwUS.mjs} +3 -3
  42. package/fesm2022/acorex-platform-themes-shared-settings.provider-BUwPqwUS.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-themes-shared.mjs +4 -3
  44. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  45. package/fesm2022/acorex-platform-workflow.mjs +6 -8
  46. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  47. package/package.json +9 -5
  48. package/types/acorex-platform-auth.d.ts +2 -1
  49. package/types/acorex-platform-common.d.ts +419 -1083
  50. package/types/acorex-platform-contracts.d.ts +1791 -260
  51. package/types/acorex-platform-core.d.ts +2153 -2806
  52. package/types/acorex-platform-domain-contracts.d.ts +416 -0
  53. package/types/acorex-platform-domain.d.ts +4 -415
  54. package/types/acorex-platform-layout-builder.d.ts +2 -1
  55. package/types/acorex-platform-layout-components.d.ts +15 -4
  56. package/types/acorex-platform-layout-designer.d.ts +2 -1
  57. package/types/acorex-platform-layout-entity-contracts.d.ts +864 -0
  58. package/types/acorex-platform-layout-entity.d.ts +88 -269
  59. package/types/acorex-platform-layout-views.d.ts +48 -14
  60. package/types/acorex-platform-layout-widget-core.d.ts +9 -5
  61. package/types/acorex-platform-layout-widgets.d.ts +89 -13
  62. package/types/acorex-platform-runtime.d.ts +1 -1
  63. package/types/acorex-platform-themes-default.d.ts +173 -70
  64. package/types/acorex-platform-workflow.d.ts +5 -18
  65. package/fesm2022/acorex-platform-common-common-settings.provider-Ytey9uhY.mjs.map +0 -1
  66. package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs +0 -116
  67. package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs.map +0 -1
  68. package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DjpZU6gz.mjs.map +0 -1
  69. package/fesm2022/acorex-platform-native.mjs +0 -155
  70. package/fesm2022/acorex-platform-native.mjs.map +0 -1
  71. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs.map +0 -1
  72. package/fesm2022/acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs.map +0 -1
  73. package/native/README.md +0 -4
  74. package/types/acorex-platform-native.d.ts +0 -28
@@ -1,44 +1,799 @@
1
- import { AXPProperty, AXPOptionsData, AXPMetaData, AXPEntityOp, AXPMultiLanguageString, AXPCategoryEntity } from '@acorex/platform/core';
2
- import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
3
-
4
1
  /**
5
- * Address mode type - determines the display mode of the address widget
6
- * - simple: single text input for full address (one line)
7
- * - popup: readonly summary + button to edit in popup dialog
8
- * - expandable: expandable panel — collapsed shows full address, expanded shows inline form
2
+ * Plain or rich text that may be localized: a single string or a map of locale code to string.
9
3
  */
10
- type AXPAddressMode = 'simple' | 'popup' | 'expandable';
4
+ type AXPMultiLanguageString = string | Record<string, string>;
5
+ type AXPExpression = string;
6
+ type AXPMetaData = Record<string, any>;
7
+ type AXPOptionsData<T extends Record<string, unknown> = Record<string, any>> = T;
8
+ interface AXPEntityReference {
9
+ id: string;
10
+ type: string;
11
+ title?: string;
12
+ metadata?: AXPMetaData;
13
+ }
14
+ interface AXPUserReference {
15
+ id: string;
16
+ type?: 'user';
17
+ fullName?: string;
18
+ username?: string;
19
+ }
20
+ type AXPContentType = 'text' | 'image' | 'file' | 'video' | 'link';
21
+ interface AXPContent {
22
+ content: string;
23
+ contentType: AXPContentType;
24
+ }
25
+ type AXPFileStatus = 'attached' | 'uploading' | 'uploaded' | 'deleted' | 'remote' | 'editing';
26
+ interface AXPFileSource {
27
+ kind: 'blob' | 'url' | 'preview' | 'none' | 'fileId' | 'reference';
28
+ value?: Blob | string | {
29
+ id: string;
30
+ type: string;
31
+ title?: string;
32
+ metadata?: AXPMetaData;
33
+ };
34
+ }
35
+ interface AXPFileListItem {
36
+ id?: string;
37
+ name: string;
38
+ size?: number;
39
+ status: AXPFileStatus;
40
+ source?: AXPFileSource;
41
+ meta?: AXPMetaData;
42
+ readOnly?: boolean;
43
+ title?: string;
44
+ description?: string;
45
+ }
46
+ type AXPDataType = 'string' | 'number' | 'boolean' | 'date' | 'object' | 'array' | 'blob';
47
+ type AXPWidgetTrigger = {
48
+ event: string;
49
+ action: string | string[];
50
+ disabled?: boolean;
51
+ };
52
+ type AXPWidgetTriggers = AXPWidgetTrigger[];
53
+ type AXPValidationRule = {
54
+ rule: string;
55
+ message?: string;
56
+ options?: any;
57
+ disabled?: boolean | AXPExpression;
58
+ };
59
+ type AXPValidationRules = AXPValidationRule[];
60
+ interface AXPGridPlacement {
61
+ colStart?: number;
62
+ colEnd?: number;
63
+ colSpan?: number;
64
+ rowStart?: number;
65
+ rowEnd?: number;
66
+ rowSpan?: number;
67
+ order?: string | number;
68
+ }
69
+ interface AXPGridLayoutOptions {
70
+ positions?: {
71
+ sm?: AXPGridPlacement;
72
+ md?: AXPGridPlacement;
73
+ lg?: AXPGridPlacement;
74
+ xl?: AXPGridPlacement;
75
+ xxl?: AXPGridPlacement;
76
+ xxxl?: AXPGridPlacement;
77
+ };
78
+ }
79
+ type AXPValueTransformerFunction = (value: any) => any;
80
+ type AXPValueTransformerFunctions = {
81
+ getter?: AXPValueTransformerFunction;
82
+ setter?: AXPValueTransformerFunction;
83
+ };
84
+ type AXPPartialNested<T> = {
85
+ [K in keyof T]?: T[K] extends object ? AXPPartialNested<T[K]> : T[K];
86
+ };
87
+ /** Returns dot-path keys for a nested plain object. */
88
+ declare function getNestedKeys(obj: Record<string, unknown>, prefix?: string): string[];
11
89
  /**
12
- * Address label option
90
+ * Shared category descriptor for widgets, query catalog tooling, and other definition groupings.
13
91
  */
14
- interface AXPAddressLabel {
92
+ interface AXPDefinitionCategory {
93
+ name: string;
94
+ title: AXPMultiLanguageString;
95
+ order: number;
96
+ icon?: string;
97
+ }
98
+ /** Normalizes definition categories to an array for iteration and serialization. */
99
+ declare function normalizeDefinitionCategories(categories?: AXPDefinitionCategory | AXPDefinitionCategory[]): AXPDefinitionCategory[];
100
+ interface AXPValueUnit {
101
+ name: string;
102
+ title: string;
103
+ ratio: number;
104
+ order: number;
105
+ }
106
+ interface AXPValueUnits {
107
+ name: string;
108
+ title: string;
109
+ items: AXPValueUnit[];
110
+ default: string;
111
+ }
112
+ interface AXPApplicationUserReference {
15
113
  id: string;
16
114
  name: string;
115
+ title: string;
116
+ }
117
+ type AXPMaybePromise<T = unknown> = T | Promise<T>;
118
+ type AXPFlowDirection = 'vertical' | 'horizontal';
119
+ type AXPContentDirection = 'rtl' | 'ltr';
120
+ interface AXPSystemAction {
121
+ key: string;
122
+ title: string;
123
+ icon?: string;
124
+ color?: string;
125
+ critical?: boolean;
126
+ descriptions: {
127
+ title: string;
128
+ tooltip: string;
129
+ permission: string;
130
+ audit: string;
131
+ };
132
+ }
133
+ declare enum AXPSystemActionType {
134
+ View = "view",
135
+ Create = "create",
136
+ Update = "update",
137
+ Delete = "delete",
138
+ Approve = "approve",
139
+ Reject = "reject",
140
+ Submit = "submit",
141
+ Export = "export",
142
+ Import = "import",
143
+ Print = "print",
144
+ Assign = "assign",
145
+ Lock = "lock",
146
+ Unlock = "unlock",
147
+ Share = "share",
148
+ Configure = "configure",
149
+ Reorder = "reorder",
150
+ Preview = "preview",
151
+ Duplicate = "duplicate",
152
+ Archive = "archive",
153
+ Publish = "publish",
154
+ Unpublish = "unpublish",
155
+ Upload = "upload",
156
+ Download = "download",
157
+ Copy = "copy",
158
+ Move = "move",
159
+ Rename = "rename",
160
+ Restore = "restore",
161
+ Manage = "manage",
162
+ Info = "info",
163
+ Confirm = "confirm",
164
+ Design = "design",
165
+ VersionHistory = "version-history",
166
+ Compare = "compare",
167
+ Comments = "comments",
168
+ Sign = "sign",
169
+ Setup = "setup",
170
+ Send = "send",
171
+ Report = "report",
172
+ Sent = "sent",
173
+ Review = "review",
174
+ Generate = "generate",
175
+ Refresh = "refresh",
176
+ Reload = "reload",
177
+ Search = "search",
178
+ Filter = "filter",
179
+ Sort = "sort",
180
+ Start = "start",
181
+ Stop = "stop",
182
+ Pause = "pause",
183
+ Cancel = "cancel",
184
+ Close = "close",
185
+ Complete = "complete",
186
+ Save = "save",
187
+ SaveAs = "save-as",
188
+ Sync = "sync",
189
+ Reset = "reset",
190
+ Clear = "clear",
191
+ Distribution = "distribution"
17
192
  }
193
+
194
+ type AXDataSourceOperatorType = 'endsWith' | 'startsWith' | 'in' | 'equal' | 'isNull' | 'isEmpty' | 'lt' | 'lte' | 'gt' | 'gte' | 'contains';
195
+ interface AXDataSourceOperator {
196
+ type: AXDataSourceOperatorType;
197
+ negative?: boolean;
198
+ }
199
+ type AXStyleColorType = string;
200
+ type AXPopupSizeType = string;
201
+ type AXFilterLogic = 'and' | 'or';
202
+ interface AXDataSourceFilterOption {
203
+ field?: string;
204
+ operator?: AXDataSourceOperator;
205
+ value?: unknown;
206
+ logic?: AXFilterLogic;
207
+ filters?: AXDataSourceFilterOption[];
208
+ }
209
+ interface AXDataSourceSortOption {
210
+ field: string;
211
+ dir?: 'asc' | 'desc';
212
+ }
213
+
214
+ type AXPPlatformScopeKey = 'P' | 'T' | 'U';
215
+ declare enum AXPPlatformScope {
216
+ Platform = "P",
217
+ Tenant = "T",
218
+ User = "U"
219
+ }
220
+ declare function resolvePlatformScopeKey(name: string): AXPPlatformScopeKey;
221
+ declare function resolvePlatformScopeName(scope: AXPPlatformScopeKey): string;
222
+
18
223
  /**
19
- * Address data structure
224
+ * Structural logo configuration shared by url, icon, and component-based logos.
225
+ * Runtime classes live in `@acorex/platform/core` (`AXPImageUrlLogoConfig`, etc.).
20
226
  */
21
- interface AXPAddressData {
22
- street1: string;
23
- street2?: string;
24
- postalCode?: string;
25
- coordinates?: string;
26
- full: string;
27
- label?: string;
28
- country?: {
29
- id?: string;
30
- title?: string;
227
+ interface AXPLogoConfig {
228
+ width?: number;
229
+ height?: number;
230
+ url?: string;
231
+ icon?: string;
232
+ color?: string;
233
+ component?: unknown;
234
+ }
235
+
236
+ interface AXPMiddlewareErrorResponse {
237
+ success: false;
238
+ error: {
239
+ code?: string;
240
+ message: string;
241
+ status?: number;
242
+ details?: unknown;
31
243
  };
32
- state?: {
33
- id?: string;
34
- title?: string;
244
+ }
245
+
246
+ interface AXPPagedListResult<T = unknown> {
247
+ items: T[];
248
+ total: number;
249
+ }
250
+ interface AXPQueryRequest {
251
+ skip: number;
252
+ take: number;
253
+ sort?: AXDataSourceSortOption[];
254
+ filter?: AXDataSourceFilterOption;
255
+ params?: Record<string, string>;
256
+ }
257
+ interface AXPCategoryEntity<TKey = string> {
258
+ id: TKey;
259
+ title: AXPMultiLanguageString;
260
+ description?: AXPMultiLanguageString;
261
+ parentId?: TKey;
262
+ childrenCount: number;
263
+ itemsCount?: number;
264
+ totalChildrenCount?: number;
265
+ totalItemsCount?: number;
266
+ }
267
+ interface AXPCategoryListItem<TKey extends string = string> {
268
+ id: TKey;
269
+ title: AXPMultiLanguageString;
270
+ }
271
+ interface AXPCategoryEntityWithItems<T> extends AXPCategoryEntity {
272
+ items: T[];
273
+ children?: AXPCategoryEntityWithItems<T>[];
274
+ }
275
+ interface AXPCategorizedEntity {
276
+ categoryIds: string[];
277
+ }
278
+ interface AXPCategorizedEntityDto {
279
+ categoryIds: string[];
280
+ categories: AXPCategoryListItem[];
281
+ }
282
+ type AXPEntityOp = 'initial' | 'create' | 'update' | 'delete' | 'getOne' | 'getAll' | 'query' | 'count' | 'queryAll' | 'getMany' | 'exists' | 'upsertOne' | 'aggregate';
283
+
284
+ interface AXPFilterTriggerDefinition {
285
+ event: string;
286
+ action: string;
287
+ disabled?: boolean;
288
+ }
289
+ interface AXPFilterClause extends AXDataSourceFilterOption {
290
+ id?: string;
291
+ order?: number;
292
+ filters?: AXPFilterClause[];
293
+ }
294
+ interface AXPFilterDefinition extends AXPFilterClause {
295
+ title: string;
296
+ isParametric?: boolean;
297
+ icon?: string;
298
+ widget: {
299
+ type: string;
300
+ options?: AXPOptionsData;
35
301
  };
36
- city?: {
37
- id?: string;
38
- title?: string;
302
+ filterType: {
303
+ advance: boolean;
304
+ inline: boolean;
305
+ preload?: {
306
+ enabled?: boolean;
307
+ required?: boolean;
308
+ };
309
+ };
310
+ hidden?: boolean;
311
+ /**
312
+ * When true, the filter is not selectable. When a string, it is evaluated as an expression (e.g. `{{ ... }}`)
313
+ * using the current filters context.
314
+ */
315
+ disabled?: boolean | string;
316
+ /** Expression-driven triggers (events/actions); same semantics as entity `schema.interface.triggers`. */
317
+ triggers?: AXPFilterTriggerDefinition[];
318
+ }
319
+ interface AXPFilterQuery extends Pick<AXPFilterDefinition, 'field' | 'value' | 'operator' | 'logic' | 'hidden'> {
320
+ filters?: AXPFilterQuery[];
321
+ displayText?: string;
322
+ }
323
+
324
+ interface AXPSortDefinition {
325
+ name: string;
326
+ title: string;
327
+ dir?: 'asc' | 'desc';
328
+ }
329
+ interface AXPSortQuery extends Pick<AXPSortDefinition, 'name' | 'dir'> {
330
+ }
331
+
332
+ interface AXPColumnQuery {
333
+ name: string;
334
+ title: string;
335
+ visible: boolean | string;
336
+ }
337
+
338
+ interface AXPExportOptions {
339
+ fileNameTemplate?: string;
340
+ pdf?: AXPExportPdfOptions;
341
+ excel?: AXPExportExcelOptions;
342
+ csv?: AXPExportCsvOptions;
343
+ print?: AXPExportPrintOptions;
344
+ }
345
+ interface AXPExportPdfOptions {
346
+ enabled: boolean;
347
+ pageSize?: 'A4' | 'A3' | 'Letter' | 'Legal';
348
+ orientation?: 'portrait' | 'landscape';
349
+ margin?: number | {
350
+ top: number;
351
+ bottom: number;
352
+ left: number;
353
+ right: number;
39
354
  };
355
+ font?: string;
356
+ fontSize?: number;
357
+ headerEnabled?: boolean;
358
+ footerEnabled?: boolean;
359
+ showPageNumbers?: boolean;
360
+ watermarkText?: string;
361
+ watermarkOpacity?: number;
362
+ compression?: boolean;
363
+ embedImages?: boolean;
364
+ }
365
+ interface AXPExportExcelOptions {
366
+ enabled: boolean;
367
+ sheetName?: string;
368
+ includeFilters?: boolean;
369
+ freezeHeader?: boolean;
370
+ autoFitColumns?: boolean;
371
+ style?: {
372
+ headerColor?: string;
373
+ font?: string;
374
+ fontSize?: number;
375
+ numberFormat?: 'auto' | 'currency' | 'percent' | 'decimal';
376
+ };
377
+ summaryRowEnabled?: boolean;
378
+ exportHiddenColumns?: boolean;
379
+ }
380
+ interface AXPExportCsvOptions {
381
+ enabled: boolean;
382
+ delimiter?: ',' | ';' | '\t';
383
+ includeHeaders?: boolean;
384
+ quoteValues?: boolean;
385
+ encoding?: 'utf-8' | 'utf-16' | 'iso-8859-1';
386
+ }
387
+ interface AXPExportPrintOptions {
388
+ enabled: boolean;
389
+ includeHeader?: boolean;
390
+ includeFooter?: boolean;
391
+ showPageBreaks?: boolean;
392
+ customCssUrl?: string;
393
+ }
394
+ declare enum AXPExportTemplateToken {
395
+ Date = "{date}",
396
+ Time = "{time}",
397
+ User = "{user}",
398
+ ReportTitle = "{title}",
399
+ UUID = "{uuid}"
400
+ }
401
+
402
+ interface AXPMultiSourceRef {
403
+ sourceKey: string;
404
+ refId?: string;
405
+ displayName: string;
406
+ data?: unknown;
407
+ meta?: Record<string, unknown>;
408
+ }
409
+
410
+ interface AXPPropertyGroup {
411
+ name: string;
412
+ title: AXPMultiLanguageString;
413
+ icon?: string;
414
+ description?: AXPMultiLanguageString;
415
+ order?: number;
416
+ }
417
+ interface AXPPropertyInterface {
418
+ type: string;
419
+ options: AXPOptionsData;
420
+ triggers?: AXPWidgetTriggers;
421
+ }
422
+ interface AXPProperty {
423
+ name: string;
424
+ title: AXPMultiLanguageString;
425
+ description?: AXPMultiLanguageString;
426
+ dataType: AXPDataType;
427
+ validations?: AXPValidationRules;
428
+ group?: AXPPropertyGroup | string;
429
+ order?: number;
430
+ interface: AXPPropertyInterface;
431
+ }
432
+
433
+ interface AXPRequiredValidationRule extends AXPValidationRule {
434
+ rule: 'required';
435
+ }
436
+ interface AXPMinLengthValidationRule extends AXPValidationRule {
437
+ rule: 'minLength';
438
+ options: {
439
+ minLength: number | AXPExpression;
440
+ };
441
+ }
442
+ interface AXPMaxLengthValidationRule extends AXPValidationRule {
443
+ rule: 'maxLength';
444
+ options: {
445
+ maxLength: number | AXPExpression;
446
+ };
447
+ }
448
+ interface AXPEqualValidationRule<T> extends AXPValidationRule {
449
+ rule: 'equal';
450
+ options: {
451
+ value: T | AXPExpression;
452
+ };
453
+ }
454
+ interface AXPReqexValidationRule extends AXPValidationRule {
455
+ rule: 'regex';
456
+ options: {
457
+ value: string;
458
+ };
459
+ }
460
+ type AXPStringValidationRules = (AXPRequiredValidationRule | AXPMinLengthValidationRule | AXPMaxLengthValidationRule | AXPEqualValidationRule<string> | AXPReqexValidationRule)[];
461
+
462
+ type AXPActionMenuItem = {
463
+ name?: string;
464
+ title: AXPMultiLanguageString;
465
+ icon?: string;
466
+ iconOnly?: boolean;
467
+ color?: string;
468
+ look?: string;
469
+ break?: boolean;
470
+ items?: AXPActionMenuItem[];
471
+ command?: AXPExecuteCommand;
472
+ disabled?: boolean | string;
473
+ visible?: boolean | string;
474
+ policy?: string;
475
+ };
476
+ type AXPBackButton = {
477
+ title: AXPMultiLanguageString;
478
+ };
479
+ type AXPBreadcrumbItem = {
480
+ name?: string;
481
+ title: AXPMultiLanguageString;
482
+ icon?: string;
483
+ command?: AXPExecuteCommand;
484
+ };
485
+ type AXPBadge = {
486
+ title: string;
487
+ description?: string;
488
+ color?: 'primary' | 'success' | 'warning' | 'danger';
489
+ };
490
+ type AXPPageStatus = {
491
+ definitionKey: string;
492
+ value: string;
493
+ dataPath?: string;
494
+ readonly?: boolean;
495
+ };
496
+ interface AXPCommandMessage {
497
+ type?: 'info' | 'success' | 'warning' | 'error';
498
+ code?: string;
499
+ text: AXPMultiLanguageString;
500
+ details?: unknown;
501
+ }
502
+ type AXPExecuteCommand = {
503
+ name: string;
504
+ options?: AXPMetaData;
505
+ metadata?: AXPMetaData;
506
+ };
507
+ interface AXPExecuteCommandResult<T = any> {
508
+ success: boolean;
509
+ data?: T;
510
+ message?: AXPCommandMessage;
511
+ metadata?: AXPMetaData;
512
+ }
513
+ interface AXPQueryFetchResult<T = any> {
514
+ success: boolean;
515
+ data?: {
516
+ items?: T[];
517
+ total?: number;
518
+ };
519
+ message?: {
520
+ code?: string;
521
+ text?: AXPMultiLanguageString;
522
+ details?: unknown;
523
+ };
524
+ }
525
+
526
+ interface AXPViewDefinition {
527
+ key: string;
528
+ title: string;
529
+ description?: string;
530
+ icon?: string;
531
+ blocks: AXPViewBlockDefinition[];
532
+ layout?: 'vertical' | 'horizontal' | 'grid' | 'custom';
533
+ actions?: {
534
+ primary?: AXPActionMenuItem[];
535
+ secondary?: AXPActionMenuItem[];
536
+ };
537
+ }
538
+ interface AXPViewBlockDefinition {
539
+ key: string;
540
+ type: 'form' | 'table' | 'tabs' | 'list' | 'card' | 'custom';
541
+ title?: string;
542
+ description?: string;
543
+ icon?: string;
544
+ actions?: {
545
+ primary?: AXPActionMenuItem[];
546
+ secondary?: AXPActionMenuItem[];
547
+ };
548
+ fields?: AXPViewFieldDefinition[];
549
+ blocks?: AXPViewBlockDefinition[];
550
+ }
551
+ interface AXPViewFieldDefinition {
552
+ key: string;
553
+ title?: string;
554
+ description?: string;
555
+ icon?: string;
556
+ widget?: string;
557
+ }
558
+
559
+ interface AXPViewQuery {
560
+ name: string;
561
+ fixed: boolean;
562
+ title: string;
563
+ columns: string[];
564
+ conditions: AXPFilterQuery[];
565
+ sorts: AXPSortQuery[];
566
+ }
567
+
568
+ type AXPWidgetRenderMode = 'view' | 'edit' | 'designer' | 'print' | 'column' | 'filter';
569
+ interface AXPWidgetNode {
570
+ type: string;
571
+ mode?: AXPWidgetRenderMode;
572
+ path?: string;
573
+ name?: string;
574
+ visible?: boolean | AXPExpression;
575
+ defaultValue?: unknown;
576
+ children?: AXPWidgetNode[];
577
+ options?: AXPOptionsData;
578
+ triggers?: AXPWidgetTriggers;
579
+ meta?: AXPMetaData;
580
+ valueTransforms?: AXPValueTransformerFunctions;
40
581
  }
41
582
 
583
+ declare const AXPWidgetsList: {
584
+ Editors: {
585
+ DocumentAttachment: string;
586
+ TagEditor: string;
587
+ CheckBox: string;
588
+ ColorBox: string;
589
+ ColorPalette: string;
590
+ DateTimeBox: string;
591
+ AddressBox: string;
592
+ Direction: string;
593
+ LargeTextBox: string;
594
+ NumberBox: string;
595
+ UnitValueBox: string;
596
+ PasswordBox: string;
597
+ QueryBuilder: string;
598
+ RichText: string;
599
+ SelectBox: string;
600
+ SelectionList: string;
601
+ TextBox: string;
602
+ InlineDataTable: string;
603
+ ToggleSwitch: string;
604
+ FileTypeExtension: string;
605
+ MapBox: string;
606
+ MediaGallery: string;
607
+ SignatureBox: string;
608
+ LookupBox: string;
609
+ MultiSourceSelector: string;
610
+ EntityCategory: string;
611
+ ContactBox: string;
612
+ MetaDataBox: string;
613
+ TemplateBox: string;
614
+ TemplateContentEditor: string;
615
+ TimeDuration: string;
616
+ DocumentUploader: string;
617
+ MetaSelector: string;
618
+ MetaDataForm: string;
619
+ ColumnFilterSelector: string;
620
+ DataListFilter: string;
621
+ ListEditor: string;
622
+ ConnectedListsEditor: string;
623
+ SkillMatrix: string;
624
+ ResponsibilitiesMatrix: string;
625
+ RiskMatrix: string;
626
+ ProgressBox: string;
627
+ RatePicker: string;
628
+ ActivityCommandConfigurator: string;
629
+ WorkflowConfigurator: string;
630
+ };
631
+ Layouts: {
632
+ AlertBox: string;
633
+ BadgeLayout: string;
634
+ BlockLayout: string;
635
+ RepeaterLayout: string;
636
+ TextBlockLayout: string;
637
+ FormField: string;
638
+ PanelLayout: string;
639
+ PageLayout: string;
640
+ DocumentLayout: string;
641
+ GridRowLayout: string;
642
+ GridItemLayout: string;
643
+ GridLayout: string;
644
+ FlexLayout: string;
645
+ FlexItemLayout: string;
646
+ AdvancedGridLayout: string;
647
+ AdvancedGridItemLayout: string;
648
+ FieldsetLayout: string;
649
+ TabsetLayout: string;
650
+ TabsetItemLayout: string;
651
+ };
652
+ Actions: {
653
+ ActionButton: string;
654
+ };
655
+ Advanced: {
656
+ CodeEditor: string;
657
+ JsonViewer: string;
658
+ OutcomeResultsViewer: string;
659
+ QRCode: string;
660
+ schedulerPicker: string;
661
+ Signature: string;
662
+ Map: string;
663
+ Gallery: string;
664
+ Image: string;
665
+ ImageMarker: string;
666
+ Avatar: string;
667
+ Attachments: string;
668
+ DataList: string;
669
+ ListToolbar: string;
670
+ CronJob: string;
671
+ Status: string;
672
+ WidgetFieldConfigurator: string;
673
+ AnswersViewer: string;
674
+ IntegrationConnectionsPanel: string;
675
+ };
676
+ Templates: {
677
+ Designer: string;
678
+ Template: string;
679
+ };
680
+ Entity: {
681
+ EntityList: string;
682
+ SelectorStructure: string;
683
+ };
684
+ Providers: {
685
+ EntityDefinition: string;
686
+ };
687
+ ExpressionBuilders: {
688
+ ConditionBuilder: string;
689
+ };
690
+ Theme: {
691
+ ThemeColorChooser: string;
692
+ IconChooser: string;
693
+ FontSizeChooser: string;
694
+ FontStyleChooser: string;
695
+ };
696
+ };
697
+
698
+ declare const AXPWidgetsCatalog: {
699
+ readonly timeDuration: "time-duration";
700
+ readonly timeDurationFilter: "time-duration-filter";
701
+ readonly checkbox: "checkbox-editor";
702
+ readonly color: "color-editor";
703
+ readonly connectedLists: "connected-lists-editor";
704
+ readonly contact: "contact-editor";
705
+ readonly dateTime: "date-time-editor";
706
+ readonly largeText: "large-text-editor";
707
+ readonly number: "number-editor";
708
+ readonly numberUnit: "number-unit-editor";
709
+ readonly password: "password-editor";
710
+ readonly richText: "rich-text-editor";
711
+ readonly select: "select-editor";
712
+ readonly selectionList: "selection-list-editor";
713
+ readonly text: "text-editor";
714
+ readonly table: "table-editor";
715
+ readonly toggle: "toggle-editor";
716
+ readonly blockLayout: "block-layout";
717
+ readonly pageLayout: "page-layout";
718
+ readonly repeaterLayout: "repeater-layout";
719
+ readonly textBlockLayout: "text-block-layout";
720
+ readonly alertBoxLayout: "alert-box-layout";
721
+ readonly badgeLayout: "badge-layout";
722
+ readonly attachments: "attachments";
723
+ readonly fileTypeExtension: "file-type-extension";
724
+ readonly map: "map";
725
+ readonly imageMarker: "image-marker";
726
+ readonly image: "image";
727
+ readonly gallery: "gallery";
728
+ readonly signature: "signature";
729
+ readonly buttonAction: "button-action";
730
+ readonly document: "document-layout";
731
+ readonly lookup: "lookup-editor";
732
+ readonly formField: "form-field";
733
+ readonly qrcode: "qrcode";
734
+ readonly schedulerPicker: "scheduler-picker";
735
+ readonly advancedGrid: "advanced-grid-layout";
736
+ readonly advancedGridItem: "advanced-grid-item-layout";
737
+ readonly grid: "grid-layout";
738
+ readonly gridItem: "grid-item-layout";
739
+ readonly template: "template";
740
+ readonly templateDesigner: "template-designer";
741
+ readonly cronJob: "cron-job";
742
+ readonly spacing: "spacing";
743
+ readonly direction: "direction";
744
+ readonly border: "border";
745
+ readonly flexLayout: "flex-layout";
746
+ readonly flexItem: "flex-item-layout";
747
+ readonly tableLayout: "table-layout";
748
+ readonly tableItem: "table-item-layout";
749
+ readonly avatar: "avatar";
750
+ readonly themeModeChooser: "theme-mode-chooser";
751
+ readonly menuOrientationChooser: "menu-orientation-chooser";
752
+ readonly fontStyleChooser: "font-style-chooser";
753
+ readonly fontSizeChooser: "font-size-chooser";
754
+ readonly iconChooser: "icon-chooser";
755
+ readonly icon: "icon";
756
+ readonly themeColorChooser: "theme-color-chooser";
757
+ readonly gridOptions: "grid-options";
758
+ readonly gridItemOptions: "grid-item-options";
759
+ readonly advancedGridOptions: "advanced-grid-options";
760
+ readonly stringFilter: "string-filter";
761
+ readonly numberFilter: "number-filter";
762
+ readonly dateTimeFilter: "datetime-filter";
763
+ readonly booleanFilter: "boolean-filter";
764
+ readonly lookupFilter: "lookup-filter";
765
+ readonly flexOptions: "flex-options";
766
+ readonly flexItemOptions: "flex-item-options";
767
+ readonly selectFilter: "select-filter";
768
+ readonly requiredValidation: "required-validation";
769
+ readonly regularExpressionValidation: "regular-expression-validation";
770
+ readonly minLengthValidation: "min-length-validation";
771
+ readonly maxLengthValidation: "max-length-validation";
772
+ readonly lessThanValidation: "less-than-validation";
773
+ readonly greaterThanValidation: "greater-than-validation";
774
+ readonly betweenValidation: "between-validation";
775
+ readonly equalValidation: "equal-validation";
776
+ readonly callbackValidation: "callback-validation";
777
+ readonly metaData: "meta-data-editor";
778
+ readonly templateEditor: "template-box-editor";
779
+ readonly templateContentEditor: "template-content-editor";
780
+ readonly panel: "panel";
781
+ readonly notification: "notification";
782
+ readonly comment: "comment";
783
+ readonly list: "list-editor";
784
+ readonly dataList: "data-list";
785
+ readonly listToolbar: "list-toolbar";
786
+ readonly entityList: "entity-list";
787
+ readonly pageComponent: "page-component";
788
+ readonly editorJs: "editor-js-editor";
789
+ readonly documentUploader: "document-uploader";
790
+ readonly stepWizard: "step-wizard";
791
+ readonly progressBar: "progress-bar-editor";
792
+ readonly rate: "rate-picker-editor";
793
+ readonly documentFileTypeFilter: "document-file-type-filter";
794
+ readonly entityDefinitionProvider: "entity-definition-provider-editor";
795
+ };
796
+
42
797
  interface AXPWorkflowDefinition {
43
798
  schemaVersion: 'acorex-platform-workflow/v1';
44
799
  name: string;
@@ -57,6 +812,21 @@ interface AXPWorkflowDefinition {
57
812
  */
58
813
  bindings?: AXPWorkflowBinding[];
59
814
  }
815
+ /**
816
+ * Workflow Category - Extends AXPCategoryEntity for consistency and performance
817
+ *
818
+ * Inherited properties from AXPCategoryEntity:
819
+ * - id: string - Unique identifier
820
+ * - title: string - Display name
821
+ * - description?: string - Category description
822
+ * - parentId?: string - Parent category ID
823
+ * - childrenCount: number - Direct child categories count (enables lazy loading)
824
+ * - itemsCount?: number - Direct workflows count
825
+ * - totalChildrenCount?: number - Total nested categories (optional, for analytics)
826
+ * - totalItemsCount?: number - Total workflows in tree (optional, for analytics)
827
+ */
828
+ interface AXPWorkflowCategory extends AXPCategoryEntity {
829
+ }
60
830
  interface AXPWorkflowGraph {
61
831
  startActivityId: string;
62
832
  activities: AXPWorkflowActivityInstance[];
@@ -157,184 +927,52 @@ interface AXPWorkflowExtensions {
157
927
  interface AXPElsaWorkflowExtensions {
158
928
  /**
159
929
  * Elsa schema URL (if you want to round-trip exact docs).
160
- * Example: "https://elsaworkflows.io/schemas/workflow-definition/v3.0.0/schema.json"
161
- */
162
- schema?: string;
163
- toolVersion?: string;
164
- materializerName?: string;
165
- /**
166
- * Elsa strategy/options (engine-level concerns).
167
- */
168
- options?: {
169
- activationStrategyType?: string | null;
170
- incidentStrategyType?: string | null;
171
- commitStrategyName?: string | null;
172
- autoUpdateConsumingWorkflows?: boolean;
173
- usableAsActivity?: boolean | null;
174
- activityCategory?: string | null;
175
- };
176
- /**
177
- * If you want lossless Elsa round-trip, keep the raw Elsa definition here.
178
- */
179
- rawDefinition?: any;
180
- }
181
- /**
182
- * Workflow binding configuration.
183
- * Defines which entities and events should trigger a workflow.
184
- */
185
- interface AXPWorkflowBinding {
186
- /**
187
- * Entity types this workflow applies to (e.g., ['ContentManagement.Promotion', 'ContentManagement.Article'])
188
- * Empty array means applies to all entities with workflow-run plugin enabled.
189
- */
190
- entityTypes: string[];
191
- /**
192
- * Event types that trigger this workflow (e.g., ['create', 'update'])
193
- * Uses AXPEntityOp directly (create, update, delete, etc.)
194
- */
195
- eventTypes: AXPEntityOp[];
196
- /**
197
- * Whether this binding is enabled
198
- */
199
- enabled: boolean;
200
- /**
201
- * Optional conditions for when to trigger (future enhancement)
202
- */
203
- conditions?: any;
204
- }
205
-
206
- /**
207
- * Type of task for inbox handling.
208
- * - 'human-task': Requires inbox - needs human interaction
209
- * - 'ui-activity': UI-only activity (no inbox) - immediate execution
210
- * - 'system-activity': System/backend activity (no inbox) - automated execution
211
- */
212
- type AXPTaskType = 'human-task' | 'ui-activity' | 'system-activity';
213
- /**
214
- * How the workflow engine should offer "continue to next step?" before an inline frontend activity.
215
- * Declared on {@link AXPActivityDefinition} and copied onto {@link AXPWorkflowTask} at runtime.
216
- */
217
- type AXPWorkflowContinuationBeforeInteractive = 'default'
218
- /** Skip when opened from a task-board human-task primary action (e.g. start-fill, review). */
219
- | 'skip-when-chained-from-human-task'
220
- /** Skip for the natural assignee; initiator / reassign users still get the prompt (workflow-management). */
221
- | 'skip-for-assignee';
222
- /** Optional continuation UX metadata for an activity definition. */
223
- interface AXPWorkflowContinuationMetadata {
224
- beforeInteractive?: AXPWorkflowContinuationBeforeInteractive;
225
- }
226
- /**
227
- * Activity Category - Extends AXPCategoryEntity for consistency and performance
228
- *
229
- * Inherited properties from AXPCategoryEntity:
230
- * - id: string - Unique identifier
231
- * - title: string - Display name
232
- * - description?: string - Category description
233
- * - parentId?: string - Parent category ID
234
- * - childrenCount: number - Direct child categories count (enables lazy loading)
235
- * - itemsCount?: number - Direct activities count
236
- * - totalChildrenCount?: number - Total nested categories (optional, for analytics)
237
- * - totalItemsCount?: number - Total activities in tree (optional, for analytics)
238
- */
239
- interface AXPActivityCategory extends AXPCategoryEntity {
240
- }
241
- /**
242
- * Lightweight category snapshot embedded in activity-definition records.
243
- */
244
- interface AXPActivityDefinitionCategoryRef {
245
- id: string;
246
- name: string;
247
- title: AXPMultiLanguageString;
248
- }
249
- /**
250
- * Activity Definition - Metadata for UI and tooling.
251
- * Contains all metadata needed for displaying activities in toolbox and designer.
252
- * The `name` property is used as the command key for execution.
253
- */
254
- interface AXPActivityDefinition {
255
- /**
256
- * Activity name - used as command key for execution.
257
- * This is the unique identifier for the activity.
258
- */
259
- name: string;
260
- /**
261
- * Activity type (e.g., "workflow-activity:check-permission").
262
- */
263
- type: string;
264
- /**
265
- * Display name for UI (plain or per-locale map).
266
- */
267
- title?: AXPMultiLanguageString;
268
- instanceTitle?: string;
269
- /**
270
- * Description of what the activity does (plain or per-locale map).
271
- */
272
- description?: AXPMultiLanguageString;
273
- /**
274
- * Category for grouping in toolbox.
275
- */
276
- category?: AXPActivityDefinitionCategoryRef;
277
- /**
278
- * Icon name or class.
279
- */
280
- icon?: string;
281
- /**
282
- * Where this activity should be executed.
283
- * - 'frontend': Execute in browser (UI activities, console, events)
284
- * - 'backend': Execute in backend (business logic, API calls)
285
- * - 'both': Execute in both frontend and backend (hybrid activities)
286
- *
287
- * Default: 'frontend'
288
- */
289
- executionMode?: 'frontend' | 'backend' | 'both';
290
- /**
291
- * Type of task for inbox handling.
292
- * - 'human-task': Requires inbox - needs human interaction
293
- * - 'ui-activity': UI-only activity (no inbox) - immediate execution
294
- * - 'system-activity': System/backend activity (no inbox) - automated execution
295
- *
296
- * Default: 'ui-activity' (for backward compatibility)
930
+ * Example: "https://elsaworkflows.io/schemas/workflow-definition/v3.0.0/schema.json"
297
931
  */
298
- taskType?: AXPTaskType;
932
+ schema?: string;
933
+ toolVersion?: string;
934
+ materializerName?: string;
299
935
  /**
300
- * Input properties (form/schema for activity parameters).
936
+ * Elsa strategy/options (engine-level concerns).
301
937
  */
302
- inputs?: AXPProperty[];
938
+ options?: {
939
+ activationStrategyType?: string | null;
940
+ incidentStrategyType?: string | null;
941
+ commitStrategyName?: string | null;
942
+ autoUpdateConsumingWorkflows?: boolean;
943
+ usableAsActivity?: boolean | null;
944
+ activityCategory?: string | null;
945
+ };
303
946
  /**
304
- * Output properties (result shape + optional path/metadata).
947
+ * If you want lossless Elsa round-trip, keep the raw Elsa definition here.
305
948
  */
306
- outputs?: AXPWorkflowOutputProperty[];
949
+ rawDefinition?: any;
950
+ }
951
+ /**
952
+ * Workflow binding configuration.
953
+ * Defines which entities and events should trigger a workflow.
954
+ */
955
+ interface AXPWorkflowBinding {
307
956
  /**
308
- * Static outcomes (exit points).
309
- * Example: ['Done', 'Success', 'Failed']
957
+ * Entity types this workflow applies to (e.g., ['ContentManagement.Promotion', 'ContentManagement.Article'])
958
+ * Empty array means applies to all entities with workflow-run plugin enabled.
310
959
  */
311
- outcomes?: string[];
960
+ entityTypes: string[];
312
961
  /**
313
- * Whether this activity is browsable in the toolbox.
314
- * Default: true
962
+ * Event types that trigger this workflow (e.g., ['create', 'update'])
963
+ * Uses AXPEntityOp directly (create, update, delete, etc.)
315
964
  */
316
- isBrowsable?: boolean;
965
+ eventTypes: AXPEntityOp[];
317
966
  /**
318
- * Whether this activity is a container (can have children).
319
- * Default: false
967
+ * Whether this binding is enabled
320
968
  */
321
- isContainer?: boolean;
969
+ enabled: boolean;
322
970
  /**
323
- * Continuation prompt behavior when this activity runs inline in the workflow manager.
971
+ * Optional conditions for when to trigger (future enhancement)
324
972
  */
325
- workflowContinuation?: AXPWorkflowContinuationMetadata;
326
- }
327
- /**
328
- * Query result shape for activity-definition catalog endpoints.
329
- */
330
- interface AXPActivityDefinitionQueryResult {
331
- total: number;
332
- items: AXPActivityDefinition[];
973
+ conditions?: any;
333
974
  }
334
975
 
335
- /** Registration key for {@link AXPPreviewWidgetFieldCommand}; lives in contracts so consumers can reference it without importing the command implementation. */
336
- declare const AXP_PREVIEW_WIDGET_FIELD_COMMAND_KEY = "Widget:Preview";
337
-
338
976
  /**
339
977
  * Workflow status.
340
978
  */
@@ -579,135 +1217,716 @@ interface AXPWorkflowState {
579
1217
  */
580
1218
  correlationId?: string | null;
581
1219
  /**
582
- * Workflow status.
1220
+ * Workflow status.
1221
+ */
1222
+ status: AXPWorkflowStatus;
1223
+ /**
1224
+ * Workflow sub-status.
1225
+ */
1226
+ subStatus: AXPWorkflowSubStatus;
1227
+ /**
1228
+ * Bookmarks.
1229
+ */
1230
+ bookmarks: AXPBookmark[];
1231
+ /**
1232
+ * Incidents.
1233
+ */
1234
+ incidents: AXPActivityIncident[];
1235
+ /**
1236
+ * Fault (nullable).
1237
+ */
1238
+ fault?: AXPWorkflowFaultState | null;
1239
+ /**
1240
+ * Completion callbacks.
1241
+ */
1242
+ completionCallbacks: AXPCompletionCallbackState[];
1243
+ /**
1244
+ * Activity execution contexts.
1245
+ */
1246
+ activityExecutionContexts: AXPActivityExecutionContextState[];
1247
+ /**
1248
+ * Input data.
1249
+ */
1250
+ input: Record<string, any>;
1251
+ /**
1252
+ * Output data.
1253
+ */
1254
+ output: Record<string, any>;
1255
+ /**
1256
+ * Properties bag.
1257
+ */
1258
+ properties: Record<string, any>;
1259
+ /**
1260
+ * Created at timestamp (ISO date-time).
1261
+ */
1262
+ createdAt: string;
1263
+ /**
1264
+ * Updated at timestamp (ISO date-time).
1265
+ */
1266
+ updatedAt: string;
1267
+ /**
1268
+ * Finished at timestamp (ISO date-time, nullable).
1269
+ */
1270
+ finishedAt?: string | null;
1271
+ /**
1272
+ * Total number of activities/steps in the workflow (for progress display).
1273
+ */
1274
+ totalSteps?: number;
1275
+ }
1276
+ /**
1277
+ * Workflow instance (stored in database).
1278
+ * This matches the Elsa Workflow Instance schema for backend compatibility.
1279
+ */
1280
+ interface AXPWorkflowInstance {
1281
+ /**
1282
+ * Schema reference.
1283
+ */
1284
+ $schema?: string;
1285
+ /**
1286
+ * Unique instance ID.
1287
+ */
1288
+ id: string;
1289
+ /**
1290
+ * Workflow definition ID.
1291
+ */
1292
+ definitionId: string;
1293
+ /**
1294
+ * Workflow definition version ID.
1295
+ */
1296
+ definitionVersionId: string;
1297
+ /**
1298
+ * Workflow definition version number.
1299
+ */
1300
+ version: number;
1301
+ /**
1302
+ * Parent workflow instance ID (nullable, for child workflows).
1303
+ */
1304
+ parentWorkflowInstanceId?: string | null;
1305
+ /**
1306
+ * Workflow state (internal execution state).
1307
+ */
1308
+ workflowState: AXPWorkflowState;
1309
+ /**
1310
+ * Workflow status.
1311
+ */
1312
+ status: AXPWorkflowStatus;
1313
+ /**
1314
+ * Workflow sub-status.
1315
+ */
1316
+ subStatus: AXPWorkflowSubStatus;
1317
+ /**
1318
+ * Correlation ID (nullable).
1319
+ */
1320
+ correlationId?: string | null;
1321
+ /**
1322
+ * Instance name (nullable).
1323
+ */
1324
+ name?: string | null;
1325
+ /**
1326
+ * Incident count.
1327
+ */
1328
+ incidentCount: number;
1329
+ /**
1330
+ * Created at timestamp (ISO date-time).
1331
+ */
1332
+ createdAt: string;
1333
+ /**
1334
+ * Updated at timestamp (ISO date-time).
1335
+ */
1336
+ updatedAt: string;
1337
+ /**
1338
+ * Finished at timestamp (ISO date-time, nullable).
1339
+ */
1340
+ finishedAt?: string | null;
1341
+ /**
1342
+ * Entity reference ID (for linking workflow instances to business entities).
1343
+ */
1344
+ entityRefId?: string | null;
1345
+ /**
1346
+ * Entity reference type (e.g., 'HumanCapitalManagement.LeaveRequest').
1347
+ */
1348
+ entityRefType?: string | null;
1349
+ }
1350
+
1351
+ /**
1352
+ * Type of task for inbox handling.
1353
+ * - 'human-task': Requires inbox - needs human interaction
1354
+ * - 'ui-activity': UI-only activity (no inbox) - immediate execution
1355
+ * - 'system-activity': System/backend activity (no inbox) - automated execution
1356
+ */
1357
+ type AXPTaskType = 'human-task' | 'ui-activity' | 'system-activity';
1358
+ /**
1359
+ * How the workflow engine should offer "continue to next step?" before an inline frontend activity.
1360
+ * Declared on {@link AXPActivityDefinition} and copied onto {@link AXPWorkflowTask} at runtime.
1361
+ */
1362
+ type AXPWorkflowContinuationBeforeInteractive = 'default'
1363
+ /** Skip when opened from a task-board human-task primary action (e.g. start-fill, review). */
1364
+ | 'skip-when-chained-from-human-task'
1365
+ /** Skip for the natural assignee; initiator / reassign users still get the prompt (workflow-management). */
1366
+ | 'skip-for-assignee';
1367
+ /** Optional continuation UX metadata for an activity definition. */
1368
+ interface AXPWorkflowContinuationMetadata {
1369
+ beforeInteractive?: AXPWorkflowContinuationBeforeInteractive;
1370
+ }
1371
+ /**
1372
+ * Activity Category - Extends AXPCategoryEntity for consistency and performance
1373
+ *
1374
+ * Inherited properties from AXPCategoryEntity:
1375
+ * - id: string - Unique identifier
1376
+ * - title: string - Display name
1377
+ * - description?: string - Category description
1378
+ * - parentId?: string - Parent category ID
1379
+ * - childrenCount: number - Direct child categories count (enables lazy loading)
1380
+ * - itemsCount?: number - Direct activities count
1381
+ * - totalChildrenCount?: number - Total nested categories (optional, for analytics)
1382
+ * - totalItemsCount?: number - Total activities in tree (optional, for analytics)
1383
+ */
1384
+ interface AXPActivityCategory extends AXPCategoryEntity {
1385
+ }
1386
+ /**
1387
+ * Lightweight category snapshot embedded in activity-definition records.
1388
+ */
1389
+ interface AXPActivityDefinitionCategoryRef {
1390
+ id: string;
1391
+ name: string;
1392
+ title: AXPMultiLanguageString;
1393
+ }
1394
+ /**
1395
+ * Activity Definition - Metadata for UI and tooling.
1396
+ * Contains all metadata needed for displaying activities in toolbox and designer.
1397
+ * The `name` property is used as the command key for execution.
1398
+ */
1399
+ interface AXPActivityDefinition {
1400
+ /**
1401
+ * Activity name - used as command key for execution.
1402
+ * This is the unique identifier for the activity.
1403
+ */
1404
+ name: string;
1405
+ /**
1406
+ * Activity type (e.g., "workflow-activity:check-permission").
1407
+ */
1408
+ type: string;
1409
+ /**
1410
+ * Display name for UI (plain or per-locale map).
1411
+ */
1412
+ title?: AXPMultiLanguageString;
1413
+ instanceTitle?: string;
1414
+ /**
1415
+ * Description of what the activity does (plain or per-locale map).
1416
+ */
1417
+ description?: AXPMultiLanguageString;
1418
+ /**
1419
+ * Category for grouping in toolbox.
583
1420
  */
584
- status: AXPWorkflowStatus;
1421
+ category?: AXPActivityDefinitionCategoryRef;
585
1422
  /**
586
- * Workflow sub-status.
1423
+ * Icon name or class.
587
1424
  */
588
- subStatus: AXPWorkflowSubStatus;
1425
+ icon?: string;
589
1426
  /**
590
- * Bookmarks.
1427
+ * Where this activity should be executed.
1428
+ * - 'frontend': Execute in browser (UI activities, console, events)
1429
+ * - 'backend': Execute in backend (business logic, API calls)
1430
+ * - 'both': Execute in both frontend and backend (hybrid activities)
1431
+ *
1432
+ * Default: 'frontend'
591
1433
  */
592
- bookmarks: AXPBookmark[];
1434
+ executionMode?: 'frontend' | 'backend' | 'both';
593
1435
  /**
594
- * Incidents.
1436
+ * Type of task for inbox handling.
1437
+ * - 'human-task': Requires inbox - needs human interaction
1438
+ * - 'ui-activity': UI-only activity (no inbox) - immediate execution
1439
+ * - 'system-activity': System/backend activity (no inbox) - automated execution
1440
+ *
1441
+ * Default: 'ui-activity' (for backward compatibility)
595
1442
  */
596
- incidents: AXPActivityIncident[];
1443
+ taskType?: AXPTaskType;
597
1444
  /**
598
- * Fault (nullable).
1445
+ * Input properties (form/schema for activity parameters).
599
1446
  */
600
- fault?: AXPWorkflowFaultState | null;
1447
+ inputs?: AXPProperty[];
601
1448
  /**
602
- * Completion callbacks.
1449
+ * Output properties (result shape + optional path/metadata).
603
1450
  */
604
- completionCallbacks: AXPCompletionCallbackState[];
1451
+ outputs?: AXPWorkflowOutputProperty[];
605
1452
  /**
606
- * Activity execution contexts.
1453
+ * Static outcomes (exit points).
1454
+ * Example: ['Done', 'Success', 'Failed']
607
1455
  */
608
- activityExecutionContexts: AXPActivityExecutionContextState[];
1456
+ outcomes?: string[];
609
1457
  /**
610
- * Input data.
1458
+ * Whether this activity is browsable in the toolbox.
1459
+ * Default: true
611
1460
  */
612
- input: Record<string, any>;
1461
+ isBrowsable?: boolean;
613
1462
  /**
614
- * Output data.
1463
+ * Whether this activity is a container (can have children).
1464
+ * Default: false
615
1465
  */
616
- output: Record<string, any>;
1466
+ isContainer?: boolean;
617
1467
  /**
618
- * Properties bag.
1468
+ * Continuation prompt behavior when this activity runs inline in the workflow manager.
619
1469
  */
620
- properties: Record<string, any>;
1470
+ workflowContinuation?: AXPWorkflowContinuationMetadata;
1471
+ }
1472
+ /**
1473
+ * Query result shape for activity-definition catalog endpoints.
1474
+ */
1475
+ interface AXPActivityDefinitionQueryResult {
1476
+ total: number;
1477
+ items: AXPActivityDefinition[];
1478
+ }
1479
+
1480
+ /** Standard system status types used across the platform. */
1481
+ declare enum AXPSystemStatusType {
1482
+ Todo = "todo",
1483
+ InProgress = "in-progress",
1484
+ InReview = "in-review",
1485
+ Open = "open",
1486
+ Closed = "closed",
1487
+ Blocked = "blocked",
1488
+ Done = "done",
1489
+ Cancelled = "cancelled",
1490
+ Draft = "draft",
1491
+ PendingReview = "pending-review",
1492
+ WaitingSignOff = "waiting-sign-off",
1493
+ WaitingApproval = "waiting-approval",
1494
+ Approved = "approved",
1495
+ Published = "published",
1496
+ Archived = "archived",
1497
+ Rejected = "rejected",
1498
+ Active = "active",
1499
+ Inactive = "inactive",
1500
+ Pending = "pending",
1501
+ Completed = "completed",
1502
+ Suspended = "suspended",
1503
+ Failed = "failed",
1504
+ Review = "review",
1505
+ Expired = "expired"
1506
+ }
1507
+
1508
+ /**
1509
+ * Status Definition Types
1510
+ * Defines the structure for status definitions and their transitions
1511
+ */
1512
+ /**
1513
+ * Status definition with metadata
1514
+ */
1515
+ interface AXPStatusDefinition {
621
1516
  /**
622
- * Created at timestamp (ISO date-time).
1517
+ * Unique identifier for the status
623
1518
  */
624
- createdAt: string;
1519
+ name: string;
625
1520
  /**
626
- * Updated at timestamp (ISO date-time).
1521
+ * Display title for the status
627
1522
  */
628
- updatedAt: string;
1523
+ title: string;
629
1524
  /**
630
- * Finished at timestamp (ISO date-time, nullable).
1525
+ * Color code or semantic color name for the status
631
1526
  */
632
- finishedAt?: string | null;
1527
+ color: string;
633
1528
  /**
634
- * Total number of activities/steps in the workflow (for progress display).
1529
+ * Optional icon class (e.g., 'fa-light fa-check')
635
1530
  */
636
- totalSteps?: number;
637
- }
638
- /**
639
- * Workflow instance (stored in database).
640
- * This matches the Elsa Workflow Instance schema for backend compatibility.
641
- */
642
- interface AXPWorkflowInstance {
1531
+ icon?: string;
643
1532
  /**
644
- * Schema reference.
1533
+ * Optional description
645
1534
  */
646
- $schema?: string;
1535
+ description?: string;
647
1536
  /**
648
- * Unique instance ID.
1537
+ * Optional order for sorting
649
1538
  */
650
- id: string;
1539
+ order?: number;
651
1540
  /**
652
- * Workflow definition ID.
1541
+ * Whether this is a final status (end state)
653
1542
  */
654
- definitionId: string;
1543
+ isFinal?: boolean;
655
1544
  /**
656
- * Workflow definition version ID.
1545
+ * Whether this is an initial status (starting state)
657
1546
  */
658
- definitionVersionId: string;
1547
+ isInitial?: boolean;
659
1548
  /**
660
- * Workflow definition version number.
1549
+ * Whether list views should be automatically generated for this status
661
1550
  */
662
- version: number;
1551
+ generateView?: boolean;
1552
+ }
1553
+ /**
1554
+ * Status transition definition
1555
+ */
1556
+ interface AXPStatusTransition {
663
1557
  /**
664
- * Parent workflow instance ID (nullable, for child workflows).
1558
+ * Source status name
665
1559
  */
666
- parentWorkflowInstanceId?: string | null;
1560
+ from: string;
667
1561
  /**
668
- * Workflow state (internal execution state).
1562
+ * Target status name
669
1563
  */
670
- workflowState: AXPWorkflowState;
1564
+ to: string;
671
1565
  /**
672
- * Workflow status.
1566
+ * Optional condition expression to evaluate before allowing transition
1567
+ * Uses expression evaluator syntax (e.g., "{{user.isAdmin}}", "{{item.priority > 5}}")
673
1568
  */
674
- status: AXPWorkflowStatus;
1569
+ condition?: string;
675
1570
  /**
676
- * Workflow sub-status.
1571
+ * Optional display title for the transition
677
1572
  */
678
- subStatus: AXPWorkflowSubStatus;
1573
+ title?: string;
679
1574
  /**
680
- * Correlation ID (nullable).
1575
+ * Optional description
681
1576
  */
682
- correlationId?: string | null;
1577
+ description?: string;
683
1578
  /**
684
- * Instance name (nullable).
1579
+ * Optional command descriptor to execute for this transition
1580
+ * If not provided, defaults to Entity:UpdateStatus with entity, id, and status
685
1581
  */
686
- name?: string | null;
1582
+ command?: {
1583
+ name: string;
1584
+ options?: Record<string, unknown>;
1585
+ };
687
1586
  /**
688
- * Incident count.
1587
+ * Whether this transition is automatic (no user action required)
689
1588
  */
690
- incidentCount: number;
1589
+ isAutomatic?: boolean;
691
1590
  /**
692
- * Created at timestamp (ISO date-time).
1591
+ * Whether this transition requires approval
693
1592
  */
694
- createdAt: string;
1593
+ requiresApproval?: boolean;
1594
+ }
1595
+ /**
1596
+ * Abstract class for status providers
1597
+ * Similar to AXPTaskBadgeProvider pattern
1598
+ */
1599
+ declare abstract class AXPStatusProvider {
695
1600
  /**
696
- * Updated at timestamp (ISO date-time).
1601
+ * Unique key for the status (e.g., 'task-management.status')
697
1602
  */
698
- updatedAt: string;
1603
+ abstract readonly key: string;
699
1604
  /**
700
- * Finished at timestamp (ISO date-time, nullable).
1605
+ * List of available status definitions
701
1606
  */
702
- finishedAt?: string | null;
1607
+ abstract readonly statuses: AXPStatusDefinition[];
703
1608
  /**
704
- * Entity reference ID (for linking workflow instances to business entities).
1609
+ * List of allowed transitions between statuses
705
1610
  */
706
- entityRefId?: string | null;
1611
+ abstract readonly transitions: AXPStatusTransition[];
707
1612
  /**
708
- * Entity reference type (e.g., 'HumanCapitalManagement.LeaveRequest').
1613
+ * Optional default status name
709
1614
  */
710
- entityRefType?: string | null;
1615
+ abstract readonly defaultStatus?: string;
1616
+ }
1617
+
1618
+ /**
1619
+ * Standard system status definitions
1620
+ * Provides consistent status definitions across the platform
1621
+ * Uses AXPStatusDefinition interface from status-definition.types.ts
1622
+ */
1623
+ declare const AXPSystemStatuses: Readonly<{
1624
+ readonly Open: {
1625
+ readonly name: AXPSystemStatusType.Open;
1626
+ readonly title: string;
1627
+ readonly icon: "fa-light fa-circle";
1628
+ readonly color: "secondary";
1629
+ readonly description: string;
1630
+ readonly order: 1;
1631
+ readonly isInitial: true;
1632
+ readonly isFinal: false;
1633
+ };
1634
+ readonly Closed: {
1635
+ readonly name: AXPSystemStatusType.Closed;
1636
+ readonly title: string;
1637
+ readonly icon: "fa-light fa-circle";
1638
+ readonly color: "danger";
1639
+ readonly description: string;
1640
+ readonly order: 2;
1641
+ readonly isInitial: false;
1642
+ readonly isFinal: true;
1643
+ };
1644
+ readonly Todo: {
1645
+ readonly name: AXPSystemStatusType.Todo;
1646
+ readonly title: string;
1647
+ readonly icon: "fa-light fa-circle";
1648
+ readonly color: "secondary";
1649
+ readonly description: string;
1650
+ readonly order: 1;
1651
+ readonly isInitial: true;
1652
+ readonly isFinal: false;
1653
+ };
1654
+ readonly InProgress: {
1655
+ readonly name: AXPSystemStatusType.InProgress;
1656
+ readonly title: string;
1657
+ readonly icon: "fa-light fa-play";
1658
+ readonly color: "info";
1659
+ readonly description: string;
1660
+ readonly order: 2;
1661
+ readonly isInitial: false;
1662
+ readonly isFinal: false;
1663
+ };
1664
+ readonly InReview: {
1665
+ readonly name: AXPSystemStatusType.InReview;
1666
+ readonly title: string;
1667
+ readonly icon: "fa-light fa-eye";
1668
+ readonly color: "info";
1669
+ readonly description: string;
1670
+ readonly order: 3;
1671
+ readonly isInitial: false;
1672
+ readonly isFinal: false;
1673
+ };
1674
+ readonly Blocked: {
1675
+ readonly name: AXPSystemStatusType.Blocked;
1676
+ readonly title: string;
1677
+ readonly icon: "fa-light fa-ban";
1678
+ readonly color: "danger";
1679
+ readonly description: string;
1680
+ readonly order: 4;
1681
+ readonly isInitial: false;
1682
+ readonly isFinal: false;
1683
+ };
1684
+ readonly Done: {
1685
+ readonly name: AXPSystemStatusType.Done;
1686
+ readonly title: string;
1687
+ readonly icon: "fa-light fa-check-circle";
1688
+ readonly color: "success";
1689
+ readonly description: string;
1690
+ readonly order: 5;
1691
+ readonly isInitial: false;
1692
+ readonly isFinal: true;
1693
+ };
1694
+ readonly Cancelled: {
1695
+ readonly name: AXPSystemStatusType.Cancelled;
1696
+ readonly title: string;
1697
+ readonly icon: "fa-light fa-times-circle";
1698
+ readonly color: "neutral";
1699
+ readonly description: string;
1700
+ readonly order: 6;
1701
+ readonly isInitial: false;
1702
+ readonly isFinal: true;
1703
+ };
1704
+ readonly Draft: {
1705
+ readonly name: AXPSystemStatusType.Draft;
1706
+ readonly title: string;
1707
+ readonly icon: "fa-light fa-file-pen";
1708
+ readonly color: "neutral";
1709
+ readonly description: string;
1710
+ readonly order: 1;
1711
+ readonly isInitial: true;
1712
+ readonly isFinal: false;
1713
+ };
1714
+ readonly PendingReview: {
1715
+ readonly name: AXPSystemStatusType.PendingReview;
1716
+ readonly title: string;
1717
+ readonly icon: "fa-light fa-clock";
1718
+ readonly color: "warning";
1719
+ readonly description: string;
1720
+ readonly order: 2;
1721
+ readonly isInitial: false;
1722
+ readonly isFinal: false;
1723
+ };
1724
+ readonly WaitingSignOff: {
1725
+ readonly name: AXPSystemStatusType.WaitingSignOff;
1726
+ readonly title: string;
1727
+ readonly icon: "fa-light fa-clock";
1728
+ readonly color: "warning";
1729
+ readonly description: string;
1730
+ readonly order: 3;
1731
+ readonly isInitial: false;
1732
+ readonly isFinal: false;
1733
+ };
1734
+ readonly WaitingApproval: {
1735
+ readonly name: AXPSystemStatusType.WaitingApproval;
1736
+ readonly title: string;
1737
+ readonly icon: "fa-light fa-clock";
1738
+ readonly color: "warning";
1739
+ readonly description: string;
1740
+ readonly order: 1;
1741
+ readonly isInitial: true;
1742
+ readonly isFinal: false;
1743
+ };
1744
+ readonly Approved: {
1745
+ readonly name: AXPSystemStatusType.Approved;
1746
+ readonly title: string;
1747
+ readonly icon: "fa-light fa-check-circle";
1748
+ readonly color: "success";
1749
+ readonly description: string;
1750
+ readonly order: 3;
1751
+ readonly isInitial: false;
1752
+ readonly isFinal: false;
1753
+ };
1754
+ readonly Published: {
1755
+ readonly name: AXPSystemStatusType.Published;
1756
+ readonly title: string;
1757
+ readonly icon: "fa-light fa-globe";
1758
+ readonly color: "primary";
1759
+ readonly description: string;
1760
+ readonly order: 4;
1761
+ readonly isInitial: false;
1762
+ readonly isFinal: false;
1763
+ };
1764
+ readonly Archived: {
1765
+ readonly name: AXPSystemStatusType.Archived;
1766
+ readonly title: string;
1767
+ readonly icon: "fa-light fa-archive";
1768
+ readonly color: "danger";
1769
+ readonly description: string;
1770
+ readonly order: 5;
1771
+ readonly isInitial: false;
1772
+ readonly isFinal: true;
1773
+ };
1774
+ readonly Rejected: {
1775
+ readonly name: AXPSystemStatusType.Rejected;
1776
+ readonly title: string;
1777
+ readonly icon: "fa-light fa-times-circle";
1778
+ readonly color: "danger";
1779
+ readonly description: string;
1780
+ readonly order: 6;
1781
+ readonly isInitial: false;
1782
+ readonly isFinal: true;
1783
+ };
1784
+ readonly Active: {
1785
+ readonly name: AXPSystemStatusType.Active;
1786
+ readonly title: string;
1787
+ readonly icon: "fa-light fa-check-circle";
1788
+ readonly color: "success";
1789
+ readonly description: string;
1790
+ readonly order: 1;
1791
+ readonly isInitial: false;
1792
+ readonly isFinal: false;
1793
+ };
1794
+ readonly Inactive: {
1795
+ readonly name: AXPSystemStatusType.Inactive;
1796
+ readonly title: string;
1797
+ readonly icon: "fa-light fa-circle";
1798
+ readonly color: "secondary";
1799
+ readonly description: string;
1800
+ readonly order: 2;
1801
+ readonly isInitial: false;
1802
+ readonly isFinal: false;
1803
+ };
1804
+ readonly Pending: {
1805
+ readonly name: AXPSystemStatusType.Pending;
1806
+ readonly title: string;
1807
+ readonly icon: "fa-light fa-clock";
1808
+ readonly color: "warning";
1809
+ readonly description: string;
1810
+ readonly order: 1;
1811
+ readonly isInitial: true;
1812
+ readonly isFinal: false;
1813
+ };
1814
+ readonly Completed: {
1815
+ readonly name: AXPSystemStatusType.Completed;
1816
+ readonly title: string;
1817
+ readonly icon: "fa-light fa-check-circle";
1818
+ readonly color: "success";
1819
+ readonly description: string;
1820
+ readonly order: 10;
1821
+ readonly isInitial: false;
1822
+ readonly isFinal: true;
1823
+ };
1824
+ readonly Suspended: {
1825
+ readonly name: AXPSystemStatusType.Suspended;
1826
+ readonly title: string;
1827
+ readonly icon: "fa-light fa-pause-circle";
1828
+ readonly color: "neutral";
1829
+ readonly description: string;
1830
+ readonly order: 5;
1831
+ readonly isInitial: false;
1832
+ readonly isFinal: false;
1833
+ };
1834
+ readonly Failed: {
1835
+ readonly name: AXPSystemStatusType.Failed;
1836
+ readonly title: string;
1837
+ readonly icon: "fa-light fa-xmark-circle";
1838
+ readonly color: "danger";
1839
+ readonly description: string;
1840
+ readonly order: 10;
1841
+ readonly isInitial: false;
1842
+ readonly isFinal: true;
1843
+ };
1844
+ readonly Review: {
1845
+ readonly name: AXPSystemStatusType.Review;
1846
+ readonly title: string;
1847
+ readonly icon: "fa-light fa-eye";
1848
+ readonly color: "info";
1849
+ readonly description: string;
1850
+ readonly order: 3;
1851
+ };
1852
+ readonly Expired: {
1853
+ readonly name: AXPSystemStatusType.Expired;
1854
+ readonly title: string;
1855
+ readonly icon: "fa-light fa-clock";
1856
+ readonly color: "danger";
1857
+ readonly description: string;
1858
+ readonly order: 10;
1859
+ readonly isInitial: false;
1860
+ readonly isFinal: true;
1861
+ };
1862
+ }>;
1863
+ /**
1864
+ * Get system status definition by type
1865
+ * @param type - Status type
1866
+ * @returns System status definition or undefined
1867
+ */
1868
+ declare function getSystemStatus(type: AXPSystemStatusType): AXPStatusDefinition;
1869
+ /**
1870
+ * Resolves the visual appearance (color and icon) for status
1871
+ * using the system statuses from the core module.
1872
+ * @param statusType - Status type string
1873
+ * @returns Color and icon for the status
1874
+ */
1875
+ declare function resolveStatusLook(statusType: string): {
1876
+ color: AXStyleColorType;
1877
+ icon: string;
1878
+ };
1879
+ /**
1880
+ * Resolves the complete status information (title, description, icon, color) for a status
1881
+ * using the system statuses from the core module.
1882
+ * @param statusType - Status type string
1883
+ * @returns Complete status information as AXPStatusDefinition
1884
+ */
1885
+ declare function getStatusInfo(statusType: string): AXPStatusDefinition;
1886
+ /**
1887
+ * Get system status definition directly (no conversion needed since it's already AXPStatusDefinition)
1888
+ * @param statusType - Status type
1889
+ * @param overrides - Optional overrides for the status definition
1890
+ * @returns AXPStatusDefinition
1891
+ */
1892
+ declare function systemStatusToDefinition(statusType: AXPSystemStatusType, overrides?: Partial<AXPStatusDefinition>): AXPStatusDefinition;
1893
+
1894
+ /**
1895
+ * Address mode type - determines the display mode of the address widget
1896
+ * - simple: single text input for full address (one line)
1897
+ * - popup: readonly summary + button to edit in popup dialog
1898
+ * - expandable: expandable panel — collapsed shows full address, expanded shows inline form
1899
+ */
1900
+ type AXPAddressMode = 'simple' | 'popup' | 'expandable';
1901
+ /**
1902
+ * Address label option
1903
+ */
1904
+ interface AXPAddressLabel {
1905
+ id: string;
1906
+ name: string;
1907
+ }
1908
+ /**
1909
+ * Address data structure
1910
+ */
1911
+ interface AXPAddressData {
1912
+ street1: string;
1913
+ street2?: string;
1914
+ postalCode?: string;
1915
+ coordinates?: string;
1916
+ full: string;
1917
+ label?: string;
1918
+ country?: {
1919
+ id?: string;
1920
+ title?: string;
1921
+ };
1922
+ state?: {
1923
+ id?: string;
1924
+ title?: string;
1925
+ };
1926
+ city?: {
1927
+ id?: string;
1928
+ title?: string;
1929
+ };
711
1930
  }
712
1931
 
713
1932
  declare enum AXPFileStorageStatus {
@@ -936,5 +2155,317 @@ interface AXPMetaDataDefinition {
936
2155
  features?: AXPMetaDataFeatures;
937
2156
  }
938
2157
 
939
- export { AXPFileStorageStatus, AXP_PREVIEW_WIDGET_FIELD_COMMAND_KEY };
940
- export type { AXPActivityCategory, AXPActivityDefinition, AXPActivityDefinitionCategoryRef, AXPActivityDefinitionQueryResult, AXPActivityExecutionContextState, AXPActivityIncident, AXPActivityStatus, AXPActivityVariable, AXPAddressData, AXPAddressLabel, AXPAddressMode, AXPBookmark, AXPCompletionCallbackState, AXPConnection, AXPElsaWorkflowExtensions, AXPExceptionState, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPMetaDataDefinition, AXPMetaDataFeatures, AXPTaskType, AXPWorkflowActivityInstance, AXPWorkflowBinding, AXPWorkflowContinuationBeforeInteractive, AXPWorkflowContinuationMetadata, AXPWorkflowDefinition, AXPWorkflowExtensions, AXPWorkflowFaultState, AXPWorkflowGraph, AXPWorkflowInstance, AXPWorkflowOutputProperty, AXPWorkflowState, AXPWorkflowStatus, AXPWorkflowSubStatus };
2158
+ /** JSON data primitive for the specialist final deliverable. */
2159
+ type AXPAgentOutputKind = 'string' | 'object' | 'array';
2160
+ /** When `kind` is `object`, controls how the parsed value maps into chat transcript segments. */
2161
+ type AXPOutputTranscriptSegmentId = 'text' | 'node' | 'followUp' | 'file';
2162
+
2163
+ type AXPSpreadsheetCellValue = string | null;
2164
+ /** Matrix data: row id → column id → cell value id */
2165
+ type AXPSpreadsheetData = Record<string, Record<string, AXPSpreadsheetCellValue>>;
2166
+
2167
+ /** Platform core datasource registry names. */
2168
+ declare const AXPPlatformCoreDataSourceKeys: {
2169
+ readonly ModuleManifests: "platform-module-manifests";
2170
+ readonly CatalogScopes: "platform-catalog-scopes";
2171
+ };
2172
+
2173
+ /**
2174
+ * Regional and locale-related setting keys used by platform widgets and components.
2175
+ * Most values use the `LocaleManagement:Setting:Regional.*` prefix; definitions live in the locale-management module where applicable.
2176
+ */
2177
+ declare enum AXPRegionalSetting {
2178
+ LocaleProfile = "LocaleManagement:Setting:Regional.LocaleProfile",
2179
+ TimeZone = "LocaleManagement:Setting:Regional.TimeZone",
2180
+ Language = "LocaleManagement:Setting:Regional.Language",
2181
+ Country = "LocaleManagement:Setting:Regional.Country",
2182
+ Calendar = "LocaleManagement:Setting:Regional.Calendar",
2183
+ /** User-selected holiday calendars shown on the task board and other calendar views. */
2184
+ CalendarEvents = "LocaleManagement:Setting:Regional.CalendarEvents",
2185
+ FirstDayOfWeek = "LocaleManagement:Setting:Regional.FirstDayOfWeek",
2186
+ WeekendDays = "LocaleManagement:Setting:Regional.WeekendDays",
2187
+ ShortDate = "LocaleManagement:Setting:Regional.ShortDate",
2188
+ MediumDate = "LocaleManagement:Setting:Regional.MediumDate",
2189
+ LongDate = "LocaleManagement:Setting:Regional.LongDate",
2190
+ ShortTime = "LocaleManagement:Setting:Regional.ShortTime",
2191
+ MediumTime = "LocaleManagement:Setting:Regional.MediumTime",
2192
+ LongTime = "LocaleManagement:Setting:Regional.LongTime",
2193
+ MeasurementUnits = "LocaleManagement:Setting:Regional.MeasurementUnits",
2194
+ TemperatureUnits = "LocaleManagement:Setting:Regional.TemperatureUnits",
2195
+ DistanceUnits = "LocaleManagement:Setting:Regional.DistanceUnits",
2196
+ WeightUnits = "LocaleManagement:Setting:Regional.WeightUnits",
2197
+ VolumeUnits = "LocaleManagement:Setting:Regional.VolumeUnits",
2198
+ SpeedUnits = "LocaleManagement:Setting:Regional.SpeedUnits",
2199
+ AreaUnits = "LocaleManagement:Setting:Regional.AreaUnits",
2200
+ /** Default multi-language behavior for standard text field names; defined in locale-management `AXMRegionalSettingProvider`. */
2201
+ MultiLanguageSupport = "LocaleManagement:Setting:Regional.MultiLanguageSupport"
2202
+ }
2203
+
2204
+ /** Registration key for {@link AXPPreviewWidgetFieldCommand}; lives in contracts so consumers can reference it without importing the command implementation. */
2205
+ declare const AXP_PREVIEW_WIDGET_FIELD_COMMAND_KEY = "Widget:Preview";
2206
+
2207
+ /**
2208
+ * Builds a locale map for mock seed data (`en-US` + `fa-IR`).
2209
+ * Standalone copy for connectivity mocks — no dependency on @acorex/core/translation.
2210
+ */
2211
+ declare function createMultiLanguageString(enUS: string, faIR?: string): Record<string, string>;
2212
+ /**
2213
+ * Resolves {@link AXPMultiLanguageString} to a plain string for the given locale.
2214
+ * Standalone copy for connectivity mocks — no dependency on @acorex/core/translation.
2215
+ */
2216
+ declare function resolveMultiLanguageString(value: AXPMultiLanguageString | null | undefined, locale: string): string;
2217
+ /**
2218
+ * Lightweight data helpers for mock seed files.
2219
+ * Standalone copy for connectivity mocks — no dependency on @acorex/platform/core.
2220
+ */
2221
+ declare class AXPDataGenerator {
2222
+ static uuid(): string;
2223
+ static number(max: number): number;
2224
+ static number(min: number, max: number): number;
2225
+ static date(): Date;
2226
+ static date(start: Date): Date;
2227
+ static date(start: Date, end: Date): Date;
2228
+ static array<T>(length: number | undefined, generator: () => T): T[];
2229
+ static pick<T>(items: T[]): T;
2230
+ static pick<T>(items: T[], count: number): T[];
2231
+ static string(length?: number): string;
2232
+ static boolean(): boolean;
2233
+ static item<T>(array?: T[]): T | undefined;
2234
+ static color(format?: 'hsl' | 'rgb' | 'hex'): string;
2235
+ private static hslToRgb;
2236
+ static alphanumeric(length?: number): string;
2237
+ static alphabet(length?: number): string;
2238
+ static phone(): string;
2239
+ static firstName(): string;
2240
+ static lastName(): string;
2241
+ static email(): string;
2242
+ static email(firstName: string, lastName: string): string;
2243
+ static country(): string;
2244
+ static city(): string;
2245
+ static state(): string;
2246
+ static address(): string;
2247
+ static avatar(): string;
2248
+ }
2249
+
2250
+ declare const AXP_INTEGRATION_CONNECTION_STATUS: {
2251
+ readonly NotConnected: "NotConnected";
2252
+ readonly PendingAuthorization: "PendingAuthorization";
2253
+ readonly Connected: "Connected";
2254
+ readonly Expired: "Expired";
2255
+ readonly RefreshRequired: "RefreshRequired";
2256
+ readonly Invalid: "Invalid";
2257
+ readonly Revoked: "Revoked";
2258
+ readonly Disabled: "Disabled";
2259
+ readonly Error: "Error";
2260
+ };
2261
+ type AXPIntegrationConnectionStatus = (typeof AXP_INTEGRATION_CONNECTION_STATUS)[keyof typeof AXP_INTEGRATION_CONNECTION_STATUS];
2262
+ declare const AXP_INTEGRATION_CONNECTION_SCOPE: {
2263
+ readonly User: "user";
2264
+ readonly Tenant: "tenant";
2265
+ };
2266
+ type AXPIntegrationConnectionScope = (typeof AXP_INTEGRATION_CONNECTION_SCOPE)[keyof typeof AXP_INTEGRATION_CONNECTION_SCOPE];
2267
+ declare const AXP_INTEGRATION_AUTH_METHOD_TYPE: {
2268
+ readonly OAuth2: "oauth2";
2269
+ readonly Pat: "pat";
2270
+ readonly Basic: "basic";
2271
+ readonly ApiToken: "apiToken";
2272
+ };
2273
+ type AXPIntegrationAuthMethodType = (typeof AXP_INTEGRATION_AUTH_METHOD_TYPE)[keyof typeof AXP_INTEGRATION_AUTH_METHOD_TYPE];
2274
+ declare const AXP_INTEGRATION_CATEGORY: {
2275
+ readonly DevTools: "dev-tools";
2276
+ readonly Messaging: "messaging";
2277
+ readonly Productivity: "productivity";
2278
+ readonly Identity: "identity";
2279
+ readonly Storage: "storage";
2280
+ readonly Other: "other";
2281
+ };
2282
+ type AXPIntegrationCategory = (typeof AXP_INTEGRATION_CATEGORY)[keyof typeof AXP_INTEGRATION_CATEGORY];
2283
+ declare const AXP_INTEGRATION_CAPABILITY: {
2284
+ readonly Sync: "sync";
2285
+ readonly Search: "search";
2286
+ readonly Import: "import";
2287
+ readonly Export: "export";
2288
+ readonly Webhooks: "webhooks";
2289
+ readonly IssueTracking: "issue-tracking";
2290
+ readonly Messaging: "messaging";
2291
+ readonly FileStorage: "file-storage";
2292
+ readonly Calendar: "calendar";
2293
+ readonly Identity: "identity";
2294
+ readonly TimeLogging: "time-logging";
2295
+ readonly CustomActions: "custom-actions";
2296
+ };
2297
+ type AXPIntegrationCapability = (typeof AXP_INTEGRATION_CAPABILITY)[keyof typeof AXP_INTEGRATION_CAPABILITY];
2298
+
2299
+ /**
2300
+ * Connection details safe for queries and UI responses.
2301
+ * Never includes access tokens, passwords, or refresh tokens.
2302
+ */
2303
+ interface AXPSafeIntegrationConnectionDto {
2304
+ id: string;
2305
+ providerId: string;
2306
+ connectionScope: AXPIntegrationConnectionScope;
2307
+ connectionKey: string;
2308
+ displayName: string;
2309
+ authMethodType: AXPIntegrationAuthMethodType;
2310
+ status: AXPIntegrationConnectionStatus;
2311
+ instanceUrl?: string | null;
2312
+ externalAccountId?: string | null;
2313
+ externalAccountName?: string | null;
2314
+ grantedScopes?: string[] | null;
2315
+ expiresAt?: string | null;
2316
+ lastConnectedAt?: string | null;
2317
+ lastValidatedAt?: string | null;
2318
+ lastSyncAt?: string | null;
2319
+ lastErrorCode?: string | null;
2320
+ lastErrorMessage?: string | null;
2321
+ isRevoked: boolean;
2322
+ isDisabled: boolean;
2323
+ config?: Record<string, unknown> | null;
2324
+ hasSecret: boolean;
2325
+ secretPreview?: string | null;
2326
+ }
2327
+ interface AXPIntegrationProviderListItemDto {
2328
+ id: string;
2329
+ module: string;
2330
+ displayName: string;
2331
+ description?: string;
2332
+ icon?: string;
2333
+ category: string;
2334
+ capabilities: string[];
2335
+ connectionScopes: AXPIntegrationConnectionScope[];
2336
+ allowMultipleConnections: boolean;
2337
+ authMethodTypes: AXPIntegrationAuthMethodType[];
2338
+ isConnected: boolean;
2339
+ connectionCount: number;
2340
+ }
2341
+ interface AXPIntegrationValidationResult {
2342
+ valid: boolean;
2343
+ status?: AXPIntegrationConnectionStatus;
2344
+ externalAccountId?: string;
2345
+ externalAccountName?: string;
2346
+ grantedScopes?: string[];
2347
+ expiresAt?: string;
2348
+ errorCode?: string;
2349
+ errorMessage?: string;
2350
+ }
2351
+
2352
+ interface AXPIntegrationAuthFieldDefinition {
2353
+ type: string;
2354
+ path?: string;
2355
+ name?: string;
2356
+ visible?: boolean;
2357
+ options?: Record<string, unknown>;
2358
+ layout?: Record<string, unknown>;
2359
+ children?: AXPIntegrationAuthFieldDefinition[];
2360
+ }
2361
+ interface AXPIntegrationOAuth2AuthMethodDefinition {
2362
+ type: 'oauth2';
2363
+ label: string;
2364
+ usesRedirect: boolean;
2365
+ supportsRefresh: boolean;
2366
+ supportsRevoke: boolean;
2367
+ supportsValidation: boolean;
2368
+ defaultScopes?: string[];
2369
+ fields?: AXPIntegrationAuthFieldDefinition[];
2370
+ }
2371
+ interface AXPIntegrationPatAuthMethodDefinition {
2372
+ type: 'pat';
2373
+ label: string;
2374
+ supportsValidation: boolean;
2375
+ fields: AXPIntegrationAuthFieldDefinition[];
2376
+ }
2377
+ interface AXPIntegrationBasicAuthMethodDefinition {
2378
+ type: 'basic';
2379
+ label: string;
2380
+ supportsValidation: boolean;
2381
+ fields: AXPIntegrationAuthFieldDefinition[];
2382
+ }
2383
+ interface AXPIntegrationApiTokenAuthMethodDefinition {
2384
+ type: 'apiToken';
2385
+ label: string;
2386
+ supportsValidation: boolean;
2387
+ fields: AXPIntegrationAuthFieldDefinition[];
2388
+ }
2389
+ type AXPIntegrationAuthMethodDefinition = AXPIntegrationOAuth2AuthMethodDefinition | AXPIntegrationPatAuthMethodDefinition | AXPIntegrationBasicAuthMethodDefinition | AXPIntegrationApiTokenAuthMethodDefinition;
2390
+ interface AXPIntegrationProviderDefinition {
2391
+ id: string;
2392
+ module: string;
2393
+ displayName: string;
2394
+ description?: string;
2395
+ icon?: string;
2396
+ category: AXPIntegrationCategory;
2397
+ capabilities: AXPIntegrationCapability[];
2398
+ connectionScopes: AXPIntegrationConnectionScope[];
2399
+ allowMultipleConnections: boolean;
2400
+ authMethods: AXPIntegrationAuthMethodDefinition[];
2401
+ defaultConnectionKey?: string;
2402
+ features?: string[];
2403
+ customUiComponentKey?: string;
2404
+ }
2405
+ interface AXPIntegrationAuthContext {
2406
+ tenantId: string;
2407
+ userId: string;
2408
+ connectionId: string;
2409
+ providerId: string;
2410
+ connectionScope: AXPIntegrationConnectionScope;
2411
+ connectionKey: string;
2412
+ authMethodType: AXPIntegrationAuthMethodType;
2413
+ instanceUrl?: string | null;
2414
+ config?: Record<string, unknown> | null;
2415
+ }
2416
+ interface AXPIntegrationRuntimeContext extends AXPIntegrationAuthContext {
2417
+ secretRef: string;
2418
+ }
2419
+ interface AXPIntegrationProviderRuntimeHooks {
2420
+ validateConnection?(ctx: AXPIntegrationRuntimeContext): Promise<AXPIntegrationValidationResult>;
2421
+ revokeConnection?(ctx: AXPIntegrationRuntimeContext): Promise<void>;
2422
+ refreshTokens?(ctx: AXPIntegrationRuntimeContext): Promise<AXPIntegrationValidationResult>;
2423
+ createClient?(ctx: AXPIntegrationRuntimeContext): Promise<unknown>;
2424
+ }
2425
+ interface AXPIntegrationOAuthSecretPayload {
2426
+ accessToken: string;
2427
+ refreshToken?: string;
2428
+ expiresAt?: string;
2429
+ tokenType?: string;
2430
+ scope?: string;
2431
+ }
2432
+ interface AXPIntegrationPatSecretPayload {
2433
+ token: string;
2434
+ }
2435
+ interface AXPIntegrationBasicSecretPayload {
2436
+ username: string;
2437
+ password: string;
2438
+ }
2439
+ interface AXPIntegrationApiTokenSecretPayload {
2440
+ email: string;
2441
+ apiToken: string;
2442
+ }
2443
+ type AXPIntegrationSecretPayload = AXPIntegrationOAuthSecretPayload | AXPIntegrationPatSecretPayload | AXPIntegrationBasicSecretPayload | AXPIntegrationApiTokenSecretPayload;
2444
+ interface AXPIntegrationResolvedCredentials {
2445
+ authMethodType: AXPIntegrationAuthMethodType;
2446
+ accessToken?: string;
2447
+ refreshToken?: string;
2448
+ expiresAt?: string;
2449
+ token?: string;
2450
+ username?: string;
2451
+ password?: string;
2452
+ email?: string;
2453
+ apiToken?: string;
2454
+ }
2455
+ declare class AXPIntegrationNotConnectedError extends Error {
2456
+ readonly providerId: string;
2457
+ constructor(providerId: string, message?: string);
2458
+ }
2459
+ declare class AXPIntegrationExpiredError extends Error {
2460
+ readonly providerId: string;
2461
+ readonly connectionId: string;
2462
+ constructor(providerId: string, connectionId: string, message?: string);
2463
+ }
2464
+ declare class AXPIntegrationMissingScopeError extends Error {
2465
+ readonly providerId: string;
2466
+ readonly missingScopes: string[];
2467
+ constructor(providerId: string, missingScopes: string[], message?: string);
2468
+ }
2469
+
2470
+ export { AXPDataGenerator, AXPExportTemplateToken, AXPFileStorageStatus, AXPIntegrationExpiredError, AXPIntegrationMissingScopeError, AXPIntegrationNotConnectedError, AXPPlatformCoreDataSourceKeys, AXPPlatformScope, AXPRegionalSetting, AXPStatusProvider, AXPSystemActionType, AXPSystemStatusType, AXPSystemStatuses, AXPWidgetsCatalog, AXPWidgetsList, AXP_INTEGRATION_AUTH_METHOD_TYPE, AXP_INTEGRATION_CAPABILITY, AXP_INTEGRATION_CATEGORY, AXP_INTEGRATION_CONNECTION_SCOPE, AXP_INTEGRATION_CONNECTION_STATUS, AXP_PREVIEW_WIDGET_FIELD_COMMAND_KEY, createMultiLanguageString, getNestedKeys, getStatusInfo, getSystemStatus, normalizeDefinitionCategories, resolveMultiLanguageString, resolvePlatformScopeKey, resolvePlatformScopeName, resolveStatusLook, systemStatusToDefinition };
2471
+ export type { AXDataSourceFilterOption, AXDataSourceOperator, AXDataSourceOperatorType, AXDataSourceSortOption, AXFilterLogic, AXPActionMenuItem, AXPActivityCategory, AXPActivityDefinition, AXPActivityDefinitionCategoryRef, AXPActivityDefinitionQueryResult, AXPActivityExecutionContextState, AXPActivityIncident, AXPActivityStatus, AXPActivityVariable, AXPAddressData, AXPAddressLabel, AXPAddressMode, AXPAgentOutputKind, AXPApplicationUserReference, AXPBackButton, AXPBadge, AXPBookmark, AXPBreadcrumbItem, AXPCategorizedEntity, AXPCategorizedEntityDto, AXPCategoryEntity, AXPCategoryEntityWithItems, AXPCategoryListItem, AXPColumnQuery, AXPCommandMessage, AXPCompletionCallbackState, AXPConnection, AXPContent, AXPContentDirection, AXPContentType, AXPDataType, AXPDefinitionCategory, AXPElsaWorkflowExtensions, AXPEntityOp, AXPEntityReference, AXPEqualValidationRule, AXPExceptionState, AXPExecuteCommand, AXPExecuteCommandResult, AXPExportCsvOptions, AXPExportExcelOptions, AXPExportOptions, AXPExportPdfOptions, AXPExportPrintOptions, AXPExpression, AXPFileListItem, AXPFileManyStorageInfo, AXPFileSource, AXPFileStatus, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFilterClause, AXPFilterDefinition, AXPFilterQuery, AXPFilterTriggerDefinition, AXPFlowDirection, AXPGridLayoutOptions, AXPGridPlacement, AXPIntegrationApiTokenAuthMethodDefinition, AXPIntegrationApiTokenSecretPayload, AXPIntegrationAuthContext, AXPIntegrationAuthFieldDefinition, AXPIntegrationAuthMethodDefinition, AXPIntegrationAuthMethodType, AXPIntegrationBasicAuthMethodDefinition, AXPIntegrationBasicSecretPayload, AXPIntegrationCapability, AXPIntegrationCategory, AXPIntegrationConnectionScope, AXPIntegrationConnectionStatus, AXPIntegrationOAuth2AuthMethodDefinition, AXPIntegrationOAuthSecretPayload, AXPIntegrationPatAuthMethodDefinition, AXPIntegrationPatSecretPayload, AXPIntegrationProviderDefinition, AXPIntegrationProviderListItemDto, AXPIntegrationProviderRuntimeHooks, AXPIntegrationResolvedCredentials, AXPIntegrationRuntimeContext, AXPIntegrationSecretPayload, AXPIntegrationValidationResult, AXPLogoConfig, AXPMaxLengthValidationRule, AXPMaybePromise, AXPMetaData, AXPMetaDataDefinition, AXPMetaDataFeatures, AXPMiddlewareErrorResponse, AXPMinLengthValidationRule, AXPMultiLanguageString, AXPMultiSourceRef, AXPOptionsData, AXPOutputTranscriptSegmentId, AXPPageStatus, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPProperty, AXPPropertyGroup, AXPPropertyInterface, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPSafeIntegrationConnectionDto, AXPSortDefinition, AXPSortQuery, AXPSpreadsheetCellValue, AXPSpreadsheetData, AXPStatusDefinition, AXPStatusTransition, AXPStringValidationRules, AXPSystemAction, AXPTaskType, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetNode, AXPWidgetRenderMode, AXPWidgetTrigger, AXPWidgetTriggers, AXPWorkflowActivityInstance, AXPWorkflowBinding, AXPWorkflowCategory, AXPWorkflowContinuationBeforeInteractive, AXPWorkflowContinuationMetadata, AXPWorkflowDefinition, AXPWorkflowExtensions, AXPWorkflowFaultState, AXPWorkflowGraph, AXPWorkflowInstance, AXPWorkflowOutputProperty, AXPWorkflowState, AXPWorkflowStatus, AXPWorkflowSubStatus, AXPopupSizeType, AXStyleColorType };