jsegd-fluig-types 1.0.26 → 1.0.27
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/package.json +1 -1
- package/types/fluig/fluig.frontend.d.ts +350 -99
package/package.json
CHANGED
|
@@ -171,9 +171,44 @@ declare global {
|
|
|
171
171
|
message: message
|
|
172
172
|
toast: (options: Toast) => void
|
|
173
173
|
loading: (target: unknown, options?: object) => Loading
|
|
174
|
-
modal: (option: ModalSettings, callback
|
|
174
|
+
modal: (option: ModalSettings, callback?: (err: unknown, data: object) => void) => Modal
|
|
175
175
|
datatable: <T>(target: string, options: DatatableOptions<T>) => Datatable
|
|
176
176
|
autocomplete<T>(target: string | HTMLElement, options: object, callback?: (error: unknown, data: object) => void): Autocomplete<T>
|
|
177
|
+
ajax<T = any>(options: {
|
|
178
|
+
url: string
|
|
179
|
+
contentType?: string
|
|
180
|
+
dataType?: string
|
|
181
|
+
type?: HttpMethod
|
|
182
|
+
data?: any
|
|
183
|
+
async?: boolean
|
|
184
|
+
}, callback: (err: any, data: T) => void): void
|
|
185
|
+
rightbar(options: {
|
|
186
|
+
appendTo?: string
|
|
187
|
+
content: string
|
|
188
|
+
backdrop?: boolean
|
|
189
|
+
width?: string
|
|
190
|
+
height?: string | number
|
|
191
|
+
position?: string
|
|
192
|
+
}): void
|
|
193
|
+
sidebar(options: {
|
|
194
|
+
title: string
|
|
195
|
+
content: string
|
|
196
|
+
actions?: Array<{
|
|
197
|
+
label: string
|
|
198
|
+
bind?: string
|
|
199
|
+
classType?: string
|
|
200
|
+
autoClose?: boolean
|
|
201
|
+
btnLink?: boolean
|
|
202
|
+
hasIcon?: boolean
|
|
203
|
+
flaticon?: string
|
|
204
|
+
}>
|
|
205
|
+
}): void
|
|
206
|
+
calendar: {
|
|
207
|
+
formatDateTimeZone(date: number | string): string
|
|
208
|
+
}
|
|
209
|
+
utilities: {
|
|
210
|
+
ctrlIsPressed(event: Event): boolean
|
|
211
|
+
}
|
|
177
212
|
}
|
|
178
213
|
ECM: {
|
|
179
214
|
workflowView: {
|
|
@@ -193,10 +228,12 @@ declare global {
|
|
|
193
228
|
docFileOrigName: any
|
|
194
229
|
nameFileToBeSigned: any
|
|
195
230
|
counterSign: any
|
|
196
|
-
tabView: {
|
|
197
|
-
|
|
231
|
+
tabView: {
|
|
232
|
+
selectTab?: (tab: number) => void
|
|
233
|
+
}
|
|
234
|
+
availableStates: any[]
|
|
198
235
|
forecastedEffortType: number
|
|
199
|
-
appointments: any
|
|
236
|
+
appointments: any[]
|
|
200
237
|
adHocTask: boolean
|
|
201
238
|
userPermissions: string[]
|
|
202
239
|
processDefinition: {
|
|
@@ -208,51 +245,41 @@ declare global {
|
|
|
208
245
|
processInstanceId: number
|
|
209
246
|
}
|
|
210
247
|
sequence: number
|
|
248
|
+
selectOrderAttachment: number
|
|
249
|
+
attachments: Attachment[]
|
|
250
|
+
requesterId?: string
|
|
251
|
+
formId?: number
|
|
252
|
+
selectUserAutomatic?: any
|
|
253
|
+
resizeHeight?: () => void
|
|
254
|
+
}
|
|
255
|
+
attachmentTable: Datatable
|
|
256
|
+
newAttachmentsDocs: Attachment[]
|
|
257
|
+
documentPublisher: {
|
|
258
|
+
action?: string
|
|
259
|
+
doc?: {
|
|
260
|
+
documentType: string
|
|
261
|
+
principalFileName?: string
|
|
262
|
+
deleteUploadFiles?: boolean
|
|
263
|
+
companyId?: number
|
|
264
|
+
uploadFolder?: string
|
|
265
|
+
documentId?: number
|
|
266
|
+
version?: number
|
|
267
|
+
documentDescription?: string
|
|
268
|
+
}
|
|
269
|
+
panel?: any
|
|
270
|
+
createTabs?: () => void
|
|
211
271
|
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
getRow(index: number): { [key: string]: string }
|
|
272
|
+
documentTypes: {
|
|
273
|
+
WORKFLOWATTACHMENT: string
|
|
215
274
|
}
|
|
216
275
|
restUrl: string
|
|
276
|
+
WKFViewAttachment?: WKFViewAttachment
|
|
217
277
|
}
|
|
218
278
|
WCMAPI: WCMAPI
|
|
219
279
|
WKFViewAttachment: WKFViewAttachment
|
|
220
280
|
formMode: FormMod
|
|
221
|
-
ECM_WKFView:
|
|
222
|
-
|
|
223
|
-
validateBeforeSend(arg0: null, arg1: null, isAutomatic: boolean, pass: string, isTransfer: boolean): unknown
|
|
224
|
-
enableActionButtons(): unknown
|
|
225
|
-
enableSendButton(): unknown
|
|
226
|
-
getSelectedColleagues(): unknown
|
|
227
|
-
getFormData(): unknown
|
|
228
|
-
lastSelectedState: null
|
|
229
|
-
conditionsAutomatic: any
|
|
230
|
-
hideModals(): unknown
|
|
231
|
-
createUserSelectionModal(): unknown
|
|
232
|
-
createAdHoc(): unknown
|
|
233
|
-
sendRequest: (isAutomatic: boolean, isTransfer: boolean, pass: string) => void
|
|
234
|
-
load: any
|
|
235
|
-
lastSelectedState: null
|
|
236
|
-
conditionsAutomatic: any
|
|
237
|
-
selectActivity(): string
|
|
238
|
-
callFormFunction(functionName: string, args: any[]): Promise<boolean>
|
|
239
|
-
disableActionButtons(): unknown
|
|
240
|
-
movimentActivity(
|
|
241
|
-
arg0: boolean,
|
|
242
|
-
formData: any,
|
|
243
|
-
selectedColleague: any,
|
|
244
|
-
selectedState: any,
|
|
245
|
-
arg4: boolean,
|
|
246
|
-
isAutomatic: boolean,
|
|
247
|
-
arg6: null,
|
|
248
|
-
isReturn: any,
|
|
249
|
-
passValue: string | number | string[],
|
|
250
|
-
subProcessId: string,
|
|
251
|
-
subProcessSequence: string,
|
|
252
|
-
arg11: boolean,
|
|
253
|
-
isTransfer: boolean
|
|
254
|
-
): unknown
|
|
255
|
-
}
|
|
281
|
+
ECM_WKFView: ECM_WKFView
|
|
282
|
+
|
|
256
283
|
}
|
|
257
284
|
|
|
258
285
|
// Funções globais do Fluig
|
|
@@ -271,9 +298,12 @@ declare global {
|
|
|
271
298
|
selectedIndex: number[]
|
|
272
299
|
}
|
|
273
300
|
class Datatable {
|
|
274
|
-
reload<T>(data: DataRequest<T>): void
|
|
301
|
+
reload<T>(data: DataRequest<T> | DataRequest<T>[]): void
|
|
275
302
|
on(event: string, callback: (data: DataCallback) => void): void
|
|
276
|
-
getRow(index: number, isHtml
|
|
303
|
+
getRow(index: number, isHtml?: boolean): any
|
|
304
|
+
getData(): any[]
|
|
305
|
+
selectedRows(): number[]
|
|
306
|
+
updateRow(index: number, data: any): void
|
|
277
307
|
showLoading(): void
|
|
278
308
|
hideLoading(): void
|
|
279
309
|
}
|
|
@@ -298,9 +328,44 @@ declare global {
|
|
|
298
328
|
static message: message
|
|
299
329
|
static toast: (options: Toast) => void
|
|
300
330
|
static loading: (option: unknown) => Loading
|
|
301
|
-
static modal: (option: ModalSettings, callback
|
|
331
|
+
static modal: (option: ModalSettings, callback?: (err: unknown, data: object) => void) => Modal
|
|
302
332
|
static datatable: <T>(target: string, options: DatatableOptions<T>) => Datatable
|
|
303
333
|
static autocomplete<T>(target: string | HTMLElement, options: object, callback?: (error: unknown, data: object) => void): Autocomplete<T>
|
|
334
|
+
static ajax<T = any>(options: {
|
|
335
|
+
url: string
|
|
336
|
+
contentType?: string
|
|
337
|
+
dataType?: string
|
|
338
|
+
type?: HttpMethod
|
|
339
|
+
data?: any
|
|
340
|
+
async?: boolean
|
|
341
|
+
}, callback: (err: any, data: T) => void): void
|
|
342
|
+
static rightbar(options: {
|
|
343
|
+
appendTo?: string
|
|
344
|
+
content: string
|
|
345
|
+
backdrop?: boolean
|
|
346
|
+
width?: string
|
|
347
|
+
height?: string | number
|
|
348
|
+
position?: string
|
|
349
|
+
}): void
|
|
350
|
+
static sidebar(options: {
|
|
351
|
+
title: string
|
|
352
|
+
content: string
|
|
353
|
+
actions?: Array<{
|
|
354
|
+
label: string
|
|
355
|
+
bind?: string
|
|
356
|
+
classType?: string
|
|
357
|
+
autoClose?: boolean
|
|
358
|
+
btnLink?: boolean
|
|
359
|
+
hasIcon?: boolean
|
|
360
|
+
flaticon?: string
|
|
361
|
+
}>
|
|
362
|
+
}): void
|
|
363
|
+
static calendar: {
|
|
364
|
+
formatDateTimeZone(date: number | string): string
|
|
365
|
+
}
|
|
366
|
+
static utilities: {
|
|
367
|
+
ctrlIsPressed(event: Event): boolean
|
|
368
|
+
}
|
|
304
369
|
static switcher: {
|
|
305
370
|
onInitSendScope(element: any, scope: any, arg2: (element: any, event: any, scope: any) => void): unknown
|
|
306
371
|
enable(arg0: string): unknown
|
|
@@ -355,15 +420,55 @@ declare global {
|
|
|
355
420
|
// =============================
|
|
356
421
|
|
|
357
422
|
class WKFViewAttachment {
|
|
423
|
+
// Propriedades
|
|
424
|
+
currentAttachmentSize: number
|
|
425
|
+
attachmentsDocs: Record<string, any>
|
|
426
|
+
jFileUpload: any
|
|
427
|
+
defFullPath: string
|
|
428
|
+
defHasApprovers: boolean
|
|
429
|
+
userPermissions: string[] | null
|
|
430
|
+
workflowDetail: any
|
|
431
|
+
parent: any
|
|
432
|
+
rowsSelected: number[]
|
|
433
|
+
filter: string | null
|
|
434
|
+
filterType: 'title' | 'user' | 'activity'
|
|
435
|
+
filterDateStart: string | null
|
|
436
|
+
filterDateEnd: string | null
|
|
437
|
+
keyTimer: number
|
|
438
|
+
datasUpload: any
|
|
439
|
+
progress: number
|
|
440
|
+
officeExtensions: string[]
|
|
441
|
+
|
|
442
|
+
// Métodos principais
|
|
358
443
|
removeAttach(indexes: number[]): void
|
|
359
444
|
getAllAttachments(): Attachment[]
|
|
445
|
+
getNewAttachments(): Attachment[]
|
|
446
|
+
getAttachment(documentId: number): Attachment | undefined
|
|
360
447
|
openAttachmentView(colleagueId: string, docId: number, docVersion: number): void
|
|
361
448
|
confirmRemoveAttach(index: number[]): void
|
|
362
449
|
checkAllAttachments(): void
|
|
363
450
|
desmarkAllCheckbox(): void
|
|
364
451
|
selectedRowOpenAttachmentView(): void
|
|
365
452
|
downloadAttach(indexes: number[]): void
|
|
453
|
+
downloadAttachments(attachments: string[]): void
|
|
454
|
+
deleteAttachments(attachments: any): void
|
|
366
455
|
attachEdit(attach: { [key: string]: string }, index: number): void
|
|
456
|
+
|
|
457
|
+
// Métodos de controle
|
|
458
|
+
updateAttachmentStatus(): void
|
|
459
|
+
loadAttachments(): void
|
|
460
|
+
searchTable(el: any, ev: any): void
|
|
461
|
+
applyFilters(): void
|
|
462
|
+
closeFilters(): void
|
|
463
|
+
clearFilters(el: any): void
|
|
464
|
+
changeSearchField(el: any, ev: any): void
|
|
465
|
+
cleanNewAttachmentsDocs(): void
|
|
466
|
+
updateAttachment(attachment: any): void
|
|
467
|
+
|
|
468
|
+
// Métodos de publicação
|
|
469
|
+
publishFile(index: number): void
|
|
470
|
+
createFindDocumentModal(index: number): void
|
|
471
|
+
createPublishModal(index: number, selectedDocument: any): void
|
|
367
472
|
}
|
|
368
473
|
|
|
369
474
|
class Attachment {
|
|
@@ -375,8 +480,11 @@ declare global {
|
|
|
375
480
|
newAttach: boolean
|
|
376
481
|
description: string
|
|
377
482
|
documentId: number
|
|
483
|
+
documentType?: string
|
|
378
484
|
attachedUser: string
|
|
379
485
|
attachedActivity: string
|
|
486
|
+
attachedDate: string
|
|
487
|
+
attachedDateNotFormated?: number
|
|
380
488
|
attachments: Array<{
|
|
381
489
|
attach: boolean
|
|
382
490
|
principal: boolean
|
|
@@ -392,9 +500,9 @@ declare global {
|
|
|
392
500
|
deleted: boolean
|
|
393
501
|
iconClass: string
|
|
394
502
|
iconUrl: boolean
|
|
503
|
+
iconPath?: string
|
|
395
504
|
colleagueId: string
|
|
396
505
|
version: number
|
|
397
|
-
attachedDate: string
|
|
398
506
|
}
|
|
399
507
|
|
|
400
508
|
// =============================
|
|
@@ -406,69 +514,87 @@ declare global {
|
|
|
406
514
|
// =============================
|
|
407
515
|
|
|
408
516
|
class WCMAPI {
|
|
409
|
-
|
|
517
|
+
// Propriedades
|
|
410
518
|
userCode: string
|
|
411
519
|
tenantURL: string
|
|
412
|
-
convertFtlAsync(): string
|
|
413
|
-
generateId(): string
|
|
414
520
|
userEmail: string
|
|
415
521
|
userLogin: string
|
|
416
522
|
user: string
|
|
523
|
+
organizationId: number
|
|
524
|
+
serverURL: string
|
|
525
|
+
|
|
526
|
+
// Métodos de servidor
|
|
527
|
+
getServerURL(): string
|
|
417
528
|
getTenantCode(): string
|
|
418
529
|
getProtectedContextPath(): string
|
|
419
|
-
|
|
530
|
+
getUploadURL(): string
|
|
531
|
+
|
|
532
|
+
// Métodos utilitários
|
|
533
|
+
convertFtlAsync(): string
|
|
534
|
+
generateId(): string
|
|
535
|
+
getUserCode(): string
|
|
536
|
+
isIe(): boolean
|
|
537
|
+
isIe9(): boolean
|
|
538
|
+
|
|
539
|
+
// Event listener
|
|
540
|
+
addListener(obj: any, eventName: string, callback: (eventName: string, data: any) => void): void
|
|
541
|
+
|
|
542
|
+
// Requisições AJAX
|
|
543
|
+
Create(options: {
|
|
420
544
|
url: string
|
|
421
|
-
async
|
|
422
|
-
data
|
|
423
|
-
processInstanceId
|
|
424
|
-
processId
|
|
425
|
-
version
|
|
426
|
-
taskUserId
|
|
427
|
-
completeTask
|
|
428
|
-
currentMovto
|
|
429
|
-
managerMode
|
|
430
|
-
selectedDestinyAfterAutomatic
|
|
431
|
-
conditionAfterAutomatic
|
|
432
|
-
selectedColleague
|
|
433
|
-
comments
|
|
434
|
-
newObservations
|
|
435
|
-
appointments
|
|
436
|
-
attachments
|
|
437
|
-
pass
|
|
438
|
-
digitalSignature
|
|
439
|
-
formData
|
|
440
|
-
deleteUploadFiles
|
|
441
|
-
isDigitalSigned
|
|
442
|
-
isLinkReturn
|
|
443
|
-
versionDoc
|
|
444
|
-
selectedState
|
|
445
|
-
internalFields
|
|
446
|
-
subProcessId
|
|
447
|
-
subProcessSequence
|
|
448
|
-
transferTaskAfterSelection
|
|
449
|
-
currentState
|
|
545
|
+
async?: boolean
|
|
546
|
+
data?: {
|
|
547
|
+
processInstanceId?: number
|
|
548
|
+
processId?: any
|
|
549
|
+
version?: any
|
|
550
|
+
taskUserId?: any
|
|
551
|
+
completeTask?: any
|
|
552
|
+
currentMovto?: any
|
|
553
|
+
managerMode?: boolean
|
|
554
|
+
selectedDestinyAfterAutomatic?: any
|
|
555
|
+
conditionAfterAutomatic?: any
|
|
556
|
+
selectedColleague?: any
|
|
557
|
+
comments?: string
|
|
558
|
+
newObservations?: any
|
|
559
|
+
appointments?: any
|
|
560
|
+
attachments?: any
|
|
561
|
+
pass?: any
|
|
562
|
+
digitalSignature?: any
|
|
563
|
+
formData?: any
|
|
564
|
+
deleteUploadFiles?: any
|
|
565
|
+
isDigitalSigned?: any
|
|
566
|
+
isLinkReturn?: any
|
|
567
|
+
versionDoc?: any
|
|
568
|
+
selectedState?: any
|
|
569
|
+
internalFields?: any
|
|
570
|
+
subProcessId?: any
|
|
571
|
+
subProcessSequence?: any
|
|
572
|
+
transferTaskAfterSelection?: any
|
|
573
|
+
currentState?: number
|
|
574
|
+
[key: string]: any
|
|
450
575
|
}
|
|
451
|
-
styleGuide
|
|
452
|
-
success
|
|
453
|
-
content
|
|
454
|
-
processLinkMessage
|
|
455
|
-
processInstanceId
|
|
456
|
-
currentMovto
|
|
457
|
-
nrDoc
|
|
458
|
-
versionDoc
|
|
459
|
-
status
|
|
460
|
-
selectedDestinyAfterAutomatic
|
|
461
|
-
conditionAfterAutomatic
|
|
462
|
-
availableUsers
|
|
463
|
-
availableStates
|
|
464
|
-
sequence
|
|
465
|
-
subProcessCreated
|
|
466
|
-
nameFileToBeSigned
|
|
467
|
-
docFileOrigName
|
|
468
|
-
signPath
|
|
576
|
+
styleGuide?: boolean
|
|
577
|
+
success?: (data: {
|
|
578
|
+
content?: any
|
|
579
|
+
processLinkMessage?: any
|
|
580
|
+
processInstanceId?: string | number
|
|
581
|
+
currentMovto?: any
|
|
582
|
+
nrDoc?: any
|
|
583
|
+
versionDoc?: any
|
|
584
|
+
status?: number
|
|
585
|
+
selectedDestinyAfterAutomatic?: any
|
|
586
|
+
conditionAfterAutomatic?: any
|
|
587
|
+
availableUsers?: { isCollectiveTask: any; users: any }
|
|
588
|
+
availableStates?: any
|
|
589
|
+
sequence?: any
|
|
590
|
+
subProcessCreated?: null
|
|
591
|
+
nameFileToBeSigned?: any
|
|
592
|
+
docFileOrigName?: any
|
|
593
|
+
signPath?: any
|
|
594
|
+
[key: string]: any
|
|
469
595
|
}) => void
|
|
470
|
-
error
|
|
471
|
-
complete
|
|
596
|
+
error?: (err: { responseText: string }) => void
|
|
597
|
+
complete?: (xhr: any, status: any) => Promise<void> | void
|
|
472
598
|
}): unknown
|
|
473
599
|
}
|
|
474
600
|
|
|
@@ -480,5 +606,130 @@ declare global {
|
|
|
480
606
|
static setMessage(message: string): void
|
|
481
607
|
static setVisible(visible: boolean): void
|
|
482
608
|
}
|
|
609
|
+
|
|
610
|
+
class ECM_WKFView {
|
|
611
|
+
// Propriedades de estado
|
|
612
|
+
workflowDetail: boolean
|
|
613
|
+
more: boolean
|
|
614
|
+
sendModal: any
|
|
615
|
+
needValidateUser: boolean
|
|
616
|
+
timeoutSearchColleague: any
|
|
617
|
+
colleaguesAutocomplete: Autocomplete<any> | null
|
|
618
|
+
showCancel: boolean
|
|
619
|
+
movimentWindow: boolean
|
|
620
|
+
reloadingCard: boolean
|
|
621
|
+
currentEvent: string
|
|
622
|
+
isCancelable: boolean
|
|
623
|
+
availableUsersInit: any[]
|
|
624
|
+
|
|
625
|
+
// Propriedades de widgets relacionados
|
|
626
|
+
wkfViewObservation: any
|
|
627
|
+
wkfViewProcess: any
|
|
628
|
+
wkfViewHistory: any
|
|
629
|
+
wkfViewAttachment: WKFViewAttachment | null
|
|
630
|
+
wkfViewAppointments: any
|
|
631
|
+
|
|
632
|
+
// Propriedades de processo
|
|
633
|
+
detailsProcessInstanceID: number
|
|
634
|
+
processId: string
|
|
635
|
+
processInstanceId: number
|
|
636
|
+
taskUserId: string
|
|
637
|
+
nrDoc: number
|
|
638
|
+
versionDoc: number
|
|
639
|
+
currentMovto: number
|
|
640
|
+
managerMode: boolean
|
|
641
|
+
afterRedirectMessage: string
|
|
642
|
+
|
|
643
|
+
// Propriedades de configuração
|
|
644
|
+
userSearch: string
|
|
645
|
+
initUser: number
|
|
646
|
+
urlHistory: string
|
|
647
|
+
allowComplements: boolean
|
|
648
|
+
complementsLevel: number
|
|
649
|
+
buttonTakeTask: boolean
|
|
650
|
+
newRequest: boolean
|
|
651
|
+
reloadSvg: boolean
|
|
652
|
+
messagePage: Record<string, any>
|
|
653
|
+
|
|
654
|
+
// Constantes e configurações
|
|
655
|
+
WorkflowActions: {
|
|
656
|
+
SAVE: number
|
|
657
|
+
MOVE: number
|
|
658
|
+
}
|
|
659
|
+
conditionsAutomatic: {
|
|
660
|
+
selectedDestinyAfterAutomatic: number
|
|
661
|
+
conditionAfterAutomatic: number
|
|
662
|
+
}
|
|
663
|
+
lastSelectedState: any
|
|
664
|
+
|
|
665
|
+
// Loading
|
|
666
|
+
load: {
|
|
667
|
+
loading?: Loading
|
|
668
|
+
show(): void
|
|
669
|
+
hide(): void
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
// Métodos de ação principais
|
|
673
|
+
save(): void
|
|
674
|
+
transfer(): void
|
|
675
|
+
send(): void
|
|
676
|
+
sendRequestEvent(): void
|
|
677
|
+
sendAutomaticRequest(): void
|
|
678
|
+
cancelAutomaticRequest(): void
|
|
679
|
+
sendTransferRequest(): void
|
|
680
|
+
sendRequest(isAutomatic: boolean, isTransfer: boolean, pass?: string): void
|
|
681
|
+
|
|
682
|
+
// Métodos de navegação
|
|
683
|
+
back(): void
|
|
684
|
+
backModal(): void
|
|
685
|
+
backBtn(): void
|
|
686
|
+
|
|
687
|
+
// Métodos de cancelamento
|
|
688
|
+
cancel(): void
|
|
689
|
+
cancelRequest(): void
|
|
690
|
+
|
|
691
|
+
// Métodos de controle de interface
|
|
692
|
+
enableSendButton(): void
|
|
693
|
+
disableSendButton(): void
|
|
694
|
+
enableActionButtons(): void
|
|
695
|
+
disableActionButtons(): void
|
|
696
|
+
hideModals(): void
|
|
697
|
+
closeModal(): void
|
|
698
|
+
|
|
699
|
+
// Métodos de modal
|
|
700
|
+
createUserSelectionModal(processInstanceId: any, isFormField: any, pass: any): void
|
|
701
|
+
createAdHoc(): void
|
|
702
|
+
|
|
703
|
+
// Métodos de formulário
|
|
704
|
+
callFormFunction(functionName: string, args: any[]): Promise<boolean>
|
|
705
|
+
getSelectedColleagues(): any
|
|
706
|
+
getFormData(): any
|
|
707
|
+
|
|
708
|
+
// Métodos de atividade
|
|
709
|
+
selectActivity(): string
|
|
710
|
+
movimentActivity(
|
|
711
|
+
completeTask: boolean,
|
|
712
|
+
formData: any,
|
|
713
|
+
selectedColleague: any,
|
|
714
|
+
selectedState: any,
|
|
715
|
+
showMessage: boolean,
|
|
716
|
+
isAutomatic: boolean,
|
|
717
|
+
onComplete: any,
|
|
718
|
+
isReturn: any,
|
|
719
|
+
passValue: string | number | string[],
|
|
720
|
+
subProcessId: string,
|
|
721
|
+
subProcessSequence: string,
|
|
722
|
+
hideModal: boolean,
|
|
723
|
+
transferTaskAfterSelection: boolean
|
|
724
|
+
): void
|
|
725
|
+
|
|
726
|
+
// Métodos de validação
|
|
727
|
+
validateBeforeSend(activity: any, completeTask: any, isAutomatic: boolean, pass?: string, isTransfer?: boolean): any
|
|
728
|
+
|
|
729
|
+
// Métodos de atualização de status
|
|
730
|
+
updateAdHocStatus(qtt: number): void
|
|
731
|
+
updateComplementsStatus(qtt: number): void
|
|
732
|
+
updateAttachmentStatus(qtt: number): void
|
|
733
|
+
}
|
|
483
734
|
}
|
|
484
735
|
export {}
|