verben-ticketing-ui 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/esm2022/public-api.mjs +9 -0
- package/esm2022/src/lib/components/add-ticket/add-ticket.component.mjs +306 -0
- package/esm2022/src/lib/components/add-ticket/add-ticket.module.mjs +98 -0
- package/esm2022/src/lib/components/add-ticket/index.mjs +2 -0
- package/esm2022/src/lib/components/add-ticket/public-api.mjs +3 -0
- package/esm2022/src/lib/components/add-ticket/verben-ticketing-ui-src-lib-components-add-ticket.mjs +5 -0
- package/esm2022/src/lib/components/file-render/file-render.component.mjs +34 -0
- package/esm2022/src/lib/components/file-render/file-render.module.mjs +94 -0
- package/esm2022/src/lib/components/file-render/index.mjs +2 -0
- package/esm2022/src/lib/components/file-render/public-api.mjs +3 -0
- package/esm2022/src/lib/components/file-render/verben-ticketing-ui-src-lib-components-file-render.mjs +5 -0
- package/esm2022/src/lib/components/ticketing/base-table-style.mjs +56 -0
- package/esm2022/src/lib/components/ticketing/index.mjs +2 -0
- package/esm2022/src/lib/components/ticketing/public-api.mjs +4 -0
- package/esm2022/src/lib/components/ticketing/ticketing.component.mjs +813 -0
- package/esm2022/src/lib/components/ticketing/ticketing.module.mjs +96 -0
- package/esm2022/src/lib/components/ticketing/ticketing.service.mjs +220 -0
- package/esm2022/src/lib/components/ticketing/verben-ticketing-ui-src-lib-components-ticketing.mjs +5 -0
- package/esm2022/src/lib/components/ticketing-detail/chat-control/chat-control.component.mjs +240 -0
- package/esm2022/src/lib/components/ticketing-detail/chat-control/chat-control.module.mjs +98 -0
- package/esm2022/src/lib/components/ticketing-detail/index.mjs +2 -0
- package/esm2022/src/lib/components/ticketing-detail/public-api.mjs +3 -0
- package/esm2022/src/lib/components/ticketing-detail/ticketing-detail.component.mjs +592 -0
- package/esm2022/src/lib/components/ticketing-detail/ticketing-detail.module.mjs +109 -0
- package/esm2022/src/lib/components/ticketing-detail/verben-ticketing-ui-src-lib-components-ticketing-detail.mjs +5 -0
- package/esm2022/src/lib/constants/index.mjs +2 -0
- package/esm2022/src/lib/constants/keynames.mjs +2 -0
- package/esm2022/src/lib/constants/pagesize.mjs +3 -0
- package/esm2022/src/lib/constants/public-api.mjs +3 -0
- package/esm2022/src/lib/constants/verben-ticketing-ui-src-lib-constants.mjs +5 -0
- package/esm2022/src/lib/models/Application.mjs +2 -0
- package/esm2022/src/lib/models/ApplicationRoleAction.mjs +2 -0
- package/esm2022/src/lib/models/ApplicationRoleContext.mjs +2 -0
- package/esm2022/src/lib/models/BaseModel.mjs +2 -0
- package/esm2022/src/lib/models/CacheDataRequest.mjs +2 -0
- package/esm2022/src/lib/models/Company.mjs +2 -0
- package/esm2022/src/lib/models/ErrorResponse.mjs +11 -0
- package/esm2022/src/lib/models/File.mjs +2 -0
- package/esm2022/src/lib/models/FilterTypes.mjs +9 -0
- package/esm2022/src/lib/models/HttpRequestType.mjs +8 -0
- package/esm2022/src/lib/models/KeyValueParam.mjs +2 -0
- package/esm2022/src/lib/models/ModelRelationship.mjs +2 -0
- package/esm2022/src/lib/models/OAuthParam.mjs +2 -0
- package/esm2022/src/lib/models/OAuthType.mjs +9 -0
- package/esm2022/src/lib/models/PagedResult.mjs +2 -0
- package/esm2022/src/lib/models/PasswordRequestParam.mjs +2 -0
- package/esm2022/src/lib/models/PermissionConfig.mjs +2 -0
- package/esm2022/src/lib/models/ResponseKeyValue.mjs +2 -0
- package/esm2022/src/lib/models/Role.mjs +2 -0
- package/esm2022/src/lib/models/RoleAction.mjs +2 -0
- package/esm2022/src/lib/models/RoleContext.mjs +2 -0
- package/esm2022/src/lib/models/Schedule.mjs +2 -0
- package/esm2022/src/lib/models/ScheduleType.mjs +6 -0
- package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +2 -0
- package/esm2022/src/lib/models/SearchOperator.mjs +6 -0
- package/esm2022/src/lib/models/SearchPropertySign.mjs +11 -0
- package/esm2022/src/lib/models/SearchPropertyValue.mjs +2 -0
- package/esm2022/src/lib/models/SearchPropertyValueType.mjs +11 -0
- package/esm2022/src/lib/models/SortDirection.mjs +7 -0
- package/esm2022/src/lib/models/TaskUser.mjs +2 -0
- package/esm2022/src/lib/models/Tenant.mjs +2 -0
- package/esm2022/src/lib/models/TenantConfig.mjs +2 -0
- package/esm2022/src/lib/models/TenantPriority.mjs +2 -0
- package/esm2022/src/lib/models/Ticket.mjs +2 -0
- package/esm2022/src/lib/models/TicketMessage.mjs +2 -0
- package/esm2022/src/lib/models/TicketStatus.mjs +8 -0
- package/esm2022/src/lib/models/UserRequest.mjs +2 -0
- package/esm2022/src/lib/models/auth-mechanism.mjs +8 -0
- package/esm2022/src/lib/models/base.mjs +2 -0
- package/esm2022/src/lib/models/conditions.mjs +13 -0
- package/esm2022/src/lib/models/index.mjs +2 -0
- package/esm2022/src/lib/models/log-in.mjs +2 -0
- package/esm2022/src/lib/models/mainUser.mjs +2 -0
- package/esm2022/src/lib/models/oauth-resp.mjs +2 -0
- package/esm2022/src/lib/models/oauth-response.mjs +2 -0
- package/esm2022/src/lib/models/object-state.mjs +8 -0
- package/esm2022/src/lib/models/otpValue.mjs +2 -0
- package/esm2022/src/lib/models/paged.mjs +2 -0
- package/esm2022/src/lib/models/public-api.mjs +57 -0
- package/esm2022/src/lib/models/query-params.mjs +2 -0
- package/esm2022/src/lib/models/request-status.mjs +5 -0
- package/esm2022/src/lib/models/resend-otp-data.mjs +2 -0
- package/esm2022/src/lib/models/sign-up.mjs +2 -0
- package/esm2022/src/lib/models/single-sign-on.mjs +2 -0
- package/esm2022/src/lib/models/status.mjs +6 -0
- package/esm2022/src/lib/models/user-access-request-status.mjs +7 -0
- package/esm2022/src/lib/models/user-access-request.mjs +2 -0
- package/esm2022/src/lib/models/user-management.mjs +2 -0
- package/esm2022/src/lib/models/user.mjs +2 -0
- package/esm2022/src/lib/models/verben-ticketing-ui-src-lib-models.mjs +5 -0
- package/esm2022/src/lib/pipes/async-label.pipe.mjs +26 -0
- package/esm2022/src/lib/pipes/company-date.pipe.mjs +30 -0
- package/esm2022/src/lib/pipes/ellipse-word.pipe.mjs +23 -0
- package/esm2022/src/lib/pipes/index.mjs +2 -0
- package/esm2022/src/lib/pipes/public-api.mjs +4 -0
- package/esm2022/src/lib/pipes/verben-ticketing-ui-src-lib-pipes.mjs +5 -0
- package/esm2022/src/lib/services/company-settings.service.mjs +23 -0
- package/esm2022/src/lib/services/environment.service.mjs +26 -0
- package/esm2022/src/lib/services/http-web-request.service.mjs +100 -0
- package/esm2022/src/lib/services/import.service.mjs +247 -0
- package/esm2022/src/lib/services/index.mjs +2 -0
- package/esm2022/src/lib/services/label.service.mjs +261 -0
- package/esm2022/src/lib/services/public-api.mjs +8 -0
- package/esm2022/src/lib/services/shared.service.mjs +58 -0
- package/esm2022/src/lib/services/util.service.mjs +72 -0
- package/esm2022/src/lib/services/verben-ticketing-ui-src-lib-services.mjs +5 -0
- package/esm2022/src/utils/components/base-data-view.component.mjs +111 -0
- package/esm2022/src/utils/index.mjs +2 -0
- package/esm2022/src/utils/models/DataViewConfig.mjs +2 -0
- package/esm2022/src/utils/public-api.mjs +3 -0
- package/esm2022/src/utils/verben-ticketing-ui-src-utils.mjs +5 -0
- package/esm2022/verben-ticketing-ui.mjs +5 -0
- package/fesm2022/verben-ticketing-ui-src-lib-components-add-ticket.mjs +403 -0
- package/fesm2022/verben-ticketing-ui-src-lib-components-add-ticket.mjs.map +1 -0
- package/fesm2022/verben-ticketing-ui-src-lib-components-file-render.mjs +130 -0
- package/fesm2022/verben-ticketing-ui-src-lib-components-file-render.mjs.map +1 -0
- package/fesm2022/verben-ticketing-ui-src-lib-components-ticketing-detail.mjs +1018 -0
- package/fesm2022/verben-ticketing-ui-src-lib-components-ticketing-detail.mjs.map +1 -0
- package/fesm2022/verben-ticketing-ui-src-lib-components-ticketing.mjs +1166 -0
- package/fesm2022/verben-ticketing-ui-src-lib-components-ticketing.mjs.map +1 -0
- package/fesm2022/verben-ticketing-ui-src-lib-constants.mjs +11 -0
- package/fesm2022/verben-ticketing-ui-src-lib-constants.mjs.map +1 -0
- package/fesm2022/verben-ticketing-ui-src-lib-models.mjs +138 -0
- package/fesm2022/verben-ticketing-ui-src-lib-models.mjs.map +1 -0
- package/fesm2022/verben-ticketing-ui-src-lib-pipes.mjs +81 -0
- package/fesm2022/verben-ticketing-ui-src-lib-pipes.mjs.map +1 -0
- package/fesm2022/verben-ticketing-ui-src-lib-services.mjs +770 -0
- package/fesm2022/verben-ticketing-ui-src-lib-services.mjs.map +1 -0
- package/fesm2022/verben-ticketing-ui-src-utils.mjs +118 -0
- package/fesm2022/verben-ticketing-ui-src-utils.mjs.map +1 -0
- package/fesm2022/verben-ticketing-ui.mjs +14 -0
- package/fesm2022/verben-ticketing-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +82 -0
- package/public-api.d.ts +4 -0
- package/src/lib/components/add-ticket/add-ticket.component.d.ts +44 -0
- package/src/lib/components/add-ticket/add-ticket.module.d.ts +15 -0
- package/src/lib/components/add-ticket/index.d.ts +1 -0
- package/src/lib/components/add-ticket/public-api.d.ts +2 -0
- package/src/lib/components/file-render/file-render.component.d.ts +14 -0
- package/src/lib/components/file-render/file-render.module.d.ts +14 -0
- package/src/lib/components/file-render/index.d.ts +1 -0
- package/src/lib/components/file-render/public-api.d.ts +2 -0
- package/src/lib/components/ticketing/base-table-style.d.ts +1 -0
- package/src/lib/components/ticketing/index.d.ts +1 -0
- package/src/lib/components/ticketing/public-api.d.ts +3 -0
- package/src/lib/components/ticketing/ticketing.component.d.ts +100 -0
- package/src/lib/components/ticketing/ticketing.module.d.ts +12 -0
- package/src/lib/components/ticketing/ticketing.service.d.ts +27 -0
- package/src/lib/components/ticketing-detail/chat-control/chat-control.component.d.ts +47 -0
- package/src/lib/components/ticketing-detail/chat-control/chat-control.module.d.ts +15 -0
- package/src/lib/components/ticketing-detail/index.d.ts +1 -0
- package/src/lib/components/ticketing-detail/public-api.d.ts +2 -0
- package/src/lib/components/ticketing-detail/ticketing-detail.component.d.ts +77 -0
- package/src/lib/components/ticketing-detail/ticketing-detail.module.d.ts +17 -0
- package/src/lib/constants/index.d.ts +1 -0
- package/src/lib/constants/keynames.d.ts +1 -0
- package/src/lib/constants/pagesize.d.ts +2 -0
- package/src/lib/constants/public-api.d.ts +2 -0
- package/src/lib/models/Application.d.ts +5 -0
- package/src/lib/models/ApplicationRoleAction.d.ts +9 -0
- package/src/lib/models/ApplicationRoleContext.d.ts +9 -0
- package/src/lib/models/BaseModel.d.ts +14 -0
- package/src/lib/models/CacheDataRequest.d.ts +7 -0
- package/src/lib/models/Company.d.ts +22 -0
- package/src/lib/models/ErrorResponse.d.ts +6 -0
- package/src/lib/models/File.d.ts +7 -0
- package/src/lib/models/FilterTypes.d.ts +6 -0
- package/src/lib/models/HttpRequestType.d.ts +6 -0
- package/src/lib/models/KeyValueParam.d.ts +5 -0
- package/src/lib/models/ModelRelationship.d.ts +7 -0
- package/src/lib/models/OAuthParam.d.ts +9 -0
- package/src/lib/models/OAuthType.d.ts +7 -0
- package/src/lib/models/PagedResult.d.ts +9 -0
- package/src/lib/models/PasswordRequestParam.d.ts +5 -0
- package/src/lib/models/PermissionConfig.d.ts +7 -0
- package/src/lib/models/ResponseKeyValue.d.ts +5 -0
- package/src/lib/models/Role.d.ts +9 -0
- package/src/lib/models/RoleAction.d.ts +10 -0
- package/src/lib/models/RoleContext.d.ts +10 -0
- package/src/lib/models/Schedule.d.ts +22 -0
- package/src/lib/models/ScheduleType.d.ts +4 -0
- package/src/lib/models/SearchDynamicWrapper.d.ts +7 -0
- package/src/lib/models/SearchOperator.d.ts +4 -0
- package/src/lib/models/SearchPropertySign.d.ts +9 -0
- package/src/lib/models/SearchPropertyValue.d.ts +14 -0
- package/src/lib/models/SearchPropertyValueType.d.ts +9 -0
- package/src/lib/models/SortDirection.d.ts +5 -0
- package/src/lib/models/TaskUser.d.ts +10 -0
- package/src/lib/models/Tenant.d.ts +22 -0
- package/src/lib/models/TenantConfig.d.ts +20 -0
- package/src/lib/models/TenantPriority.d.ts +10 -0
- package/src/lib/models/Ticket.d.ts +21 -0
- package/src/lib/models/TicketMessage.d.ts +11 -0
- package/src/lib/models/TicketStatus.d.ts +6 -0
- package/src/lib/models/UserRequest.d.ts +32 -0
- package/src/lib/models/auth-mechanism.d.ts +14 -0
- package/src/lib/models/base.d.ts +12 -0
- package/src/lib/models/conditions.d.ts +11 -0
- package/src/lib/models/index.d.ts +1 -0
- package/src/lib/models/log-in.d.ts +8 -0
- package/src/lib/models/mainUser.d.ts +19 -0
- package/src/lib/models/oauth-resp.d.ts +6 -0
- package/src/lib/models/oauth-response.d.ts +6 -0
- package/src/lib/models/object-state.d.ts +6 -0
- package/src/lib/models/otpValue.d.ts +9 -0
- package/src/lib/models/paged.d.ts +9 -0
- package/src/lib/models/public-api.d.ts +56 -0
- package/src/lib/models/query-params.d.ts +7 -0
- package/src/lib/models/request-status.d.ts +3 -0
- package/src/lib/models/resend-otp-data.d.ts +8 -0
- package/src/lib/models/sign-up.d.ts +9 -0
- package/src/lib/models/single-sign-on.d.ts +7 -0
- package/src/lib/models/status.d.ts +4 -0
- package/src/lib/models/user-access-request-status.d.ts +5 -0
- package/src/lib/models/user-access-request.d.ts +9 -0
- package/src/lib/models/user-management.d.ts +8 -0
- package/src/lib/models/user.d.ts +24 -0
- package/src/lib/pipes/async-label.pipe.d.ts +11 -0
- package/src/lib/pipes/company-date.pipe.d.ts +10 -0
- package/src/lib/pipes/ellipse-word.pipe.d.ts +8 -0
- package/src/lib/pipes/index.d.ts +1 -0
- package/src/lib/pipes/public-api.d.ts +3 -0
- package/src/lib/services/company-settings.service.d.ts +11 -0
- package/src/lib/services/environment.service.d.ts +22 -0
- package/src/lib/services/http-web-request.service.d.ts +24 -0
- package/src/lib/services/import.service.d.ts +14 -0
- package/src/lib/services/index.d.ts +1 -0
- package/src/lib/services/label.service.d.ts +24 -0
- package/src/lib/services/public-api.d.ts +7 -0
- package/src/lib/services/shared.service.d.ts +16 -0
- package/src/lib/services/util.service.d.ts +15 -0
- package/src/utils/components/base-data-view.component.d.ts +34 -0
- package/src/utils/index.d.ts +1 -0
- package/src/utils/models/DataViewConfig.d.ts +11 -0
- package/src/utils/public-api.d.ts +2 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Application } from 'verben-ticketing-ui/src/lib/models';
|
|
2
|
+
import { TenantPriority } from 'verben-ticketing-ui/src/lib/models';
|
|
3
|
+
import { PagedResult } from 'verben-ticketing-ui/src/lib/models';
|
|
4
|
+
import { Tenant } from 'verben-ticketing-ui/src/lib/models';
|
|
5
|
+
import { TenantConfig } from 'verben-ticketing-ui/src/lib/models';
|
|
6
|
+
import { Ticket } from 'verben-ticketing-ui/src/lib/models';
|
|
7
|
+
import { UtilService } from 'verben-ticketing-ui/src/lib/services';
|
|
8
|
+
import { HttpWebRequestService } from 'verben-ticketing-ui/src/lib/services';
|
|
9
|
+
import { EnvironmentService } from 'verben-ticketing-ui/src/lib/services';
|
|
10
|
+
import { ColumnDefinition } from 'verben-ng-ui';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class TicketingService {
|
|
13
|
+
private utilService;
|
|
14
|
+
private server;
|
|
15
|
+
private envSvc;
|
|
16
|
+
pageSize: number;
|
|
17
|
+
constructor(utilService: UtilService, server: HttpWebRequestService, envSvc: EnvironmentService);
|
|
18
|
+
get ticketColumns(): ColumnDefinition<Ticket>[];
|
|
19
|
+
getAllApps(): Promise<Application[] | undefined>;
|
|
20
|
+
getTenantsByApp(app: string): Promise<Tenant[] | undefined>;
|
|
21
|
+
getPrioritiesForTenant(tenant: string): Promise<PagedResult<TenantPriority> | undefined>;
|
|
22
|
+
getAllPrioritiesForTenant(tenant: string): Promise<PagedResult<TenantPriority> | undefined>;
|
|
23
|
+
getTenantConfigsByApp(app: string): Promise<TenantConfig[] | undefined>;
|
|
24
|
+
getTicketsForTenant(tenant: string): Promise<PagedResult<Ticket> | undefined>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketingService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketingService>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ChatControlComponent {
|
|
4
|
+
message: string;
|
|
5
|
+
files: File[];
|
|
6
|
+
color: string;
|
|
7
|
+
textColor: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
hideBtn: boolean;
|
|
11
|
+
messageChange: EventEmitter<string>;
|
|
12
|
+
formSubmit: EventEmitter<any>;
|
|
13
|
+
sendMessageResult: EventEmitter<any>;
|
|
14
|
+
filesChange: EventEmitter<File[]>;
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
isRecording: boolean;
|
|
17
|
+
audioBlobUrl: string | null;
|
|
18
|
+
audioDuration: number | string;
|
|
19
|
+
isPlaying: boolean;
|
|
20
|
+
private mediaRecorder;
|
|
21
|
+
private audioChunks;
|
|
22
|
+
private audio;
|
|
23
|
+
currentTime: string | number;
|
|
24
|
+
showDefault: boolean;
|
|
25
|
+
addEmoji(event: any): void;
|
|
26
|
+
onFileSelected(event: any): void;
|
|
27
|
+
toggleEmojiPicker(): void;
|
|
28
|
+
onClose(value: boolean): void;
|
|
29
|
+
getFileIcon(file: File): string;
|
|
30
|
+
sendMessage(): void;
|
|
31
|
+
onMessageInput(event: Event): void;
|
|
32
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
33
|
+
toggleRecording(): void;
|
|
34
|
+
startRecording(): Promise<void>;
|
|
35
|
+
getDuration: (event: Event) => void;
|
|
36
|
+
stopRecording(): void;
|
|
37
|
+
toggleAudioPlayback(): void;
|
|
38
|
+
formatTime(seconds: number): string;
|
|
39
|
+
deleteRecording(): void;
|
|
40
|
+
bars: any[];
|
|
41
|
+
generateWaveform(): void;
|
|
42
|
+
startWaveAnimation(): void;
|
|
43
|
+
fixAudioDuration(): void;
|
|
44
|
+
stopWaveAnimation(): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChatControlComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChatControlComponent, "lib-chat-control", never, { "message": { "alias": "message"; "required": false; }; "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hideBtn": { "alias": "hideBtn"; "required": false; }; }, { "messageChange": "messageChange"; "formSubmit": "formSubmit"; "sendMessageResult": "sendMessageResult"; "filesChange": "filesChange"; }, never, never, false, never>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./chat-control.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@angular/forms";
|
|
6
|
+
import * as i4 from "verben-ng-ui";
|
|
7
|
+
import * as i5 from "verben-ticketing-ui/src/lib/pipes";
|
|
8
|
+
import * as i6 from "@ctrl/ngx-emoji-mart";
|
|
9
|
+
import * as i7 from "@angular/router";
|
|
10
|
+
export declare const appRoutes: Routes;
|
|
11
|
+
export declare class ChatControlLibModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChatControlLibModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ChatControlLibModule, [typeof i1.ChatControlComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DataTableModule, typeof i4.SvgModule, typeof i4.VerbenPopUpModule, typeof i4.DataViewModule, typeof i4.VerbenaButtonModule, typeof i4.CardDataViewModule, typeof i4.DropDownModule, typeof i4.VerbenaSwitchModule, typeof i4.TableFilterModule, typeof i4.VisibleColumnModule, typeof i5.AsyncLabelPipe, typeof i4.SortTableModule, typeof i4.DataExportModule, typeof i4.TooltipModule, typeof i4.VerbenDialogueModule, typeof i4.VerbenaInputModule, typeof i4.DataImportModule, typeof i4.DataExportModule, typeof i6.PickerComponent, typeof i6.PickerModule, typeof i4.DataXportModule, typeof i7.RouterModule], [typeof i1.ChatControlComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ChatControlLibModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { Ticket } from 'verben-ticketing-ui/src/lib/models';
|
|
4
|
+
import { TicketStatus } from 'verben-ticketing-ui/src/lib/models';
|
|
5
|
+
import { HttpWebRequestService } from 'verben-ticketing-ui/src/lib/services';
|
|
6
|
+
import { UtilService as AppUtilService } from 'verben-ticketing-ui/src/lib/services';
|
|
7
|
+
import { EnvironmentService } from 'verben-ticketing-ui/src/lib/services';
|
|
8
|
+
import { TicketMessage } from 'verben-ticketing-ui/src/lib/models';
|
|
9
|
+
import { SharedService } from 'verben-ticketing-ui/src/lib/services';
|
|
10
|
+
import { User } from 'verben-ticketing-ui/src/lib/models';
|
|
11
|
+
import { TenantPriority } from 'verben-ticketing-ui/src/lib/models';
|
|
12
|
+
import { Location } from '@angular/common';
|
|
13
|
+
import { File } from 'verben-ticketing-ui/src/lib/models';
|
|
14
|
+
import { Subject } from 'rxjs';
|
|
15
|
+
import { VerbenPopUpComponent } from 'verben-ng-ui';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export declare class TicketingDetailComponent implements OnInit {
|
|
18
|
+
private route;
|
|
19
|
+
private server;
|
|
20
|
+
private utilService;
|
|
21
|
+
private sharedService;
|
|
22
|
+
private location;
|
|
23
|
+
private envSvc;
|
|
24
|
+
user: User;
|
|
25
|
+
defaultCompany: string;
|
|
26
|
+
constructor(route: ActivatedRoute, server: HttpWebRequestService, utilService: AppUtilService, sharedService: SharedService, location: Location, envSvc: EnvironmentService);
|
|
27
|
+
showForm: boolean;
|
|
28
|
+
data: Ticket;
|
|
29
|
+
typingQuery: string;
|
|
30
|
+
isSearchingUsers: boolean;
|
|
31
|
+
userPopups: QueryList<VerbenPopUpComponent>;
|
|
32
|
+
ticketStatus: typeof TicketStatus;
|
|
33
|
+
ticketingAPI: string;
|
|
34
|
+
tenantOptions: TenantPriority[];
|
|
35
|
+
glAPI: string;
|
|
36
|
+
attachedMessage: TicketMessage | null;
|
|
37
|
+
maxFileSize: number;
|
|
38
|
+
message: string;
|
|
39
|
+
action: any;
|
|
40
|
+
searchTrigger$: Subject<string>;
|
|
41
|
+
fileData: File[];
|
|
42
|
+
code: string;
|
|
43
|
+
color: string;
|
|
44
|
+
textColor: string;
|
|
45
|
+
statusOptions: string[];
|
|
46
|
+
ngOnInit(): void;
|
|
47
|
+
onFormClose(isShow: boolean): void;
|
|
48
|
+
onFormOpen(isShow: boolean): void;
|
|
49
|
+
onFilesUpdate(files: any): Promise<void>;
|
|
50
|
+
saveMessageChat(ticket: Ticket, newMessageContent: string): Promise<void>;
|
|
51
|
+
save(): Promise<void>;
|
|
52
|
+
goBack(): void;
|
|
53
|
+
disableChatBoxButton(): boolean;
|
|
54
|
+
onKeyDown(e: any): void;
|
|
55
|
+
messageChange(e: any): void;
|
|
56
|
+
selectUser(user: any): void;
|
|
57
|
+
openUserPopup(): void;
|
|
58
|
+
closeUserPopup(): void;
|
|
59
|
+
detectUserSearchTrigger(text: string): void;
|
|
60
|
+
usersResult: any[];
|
|
61
|
+
searchUsers(query: string): Promise<void>;
|
|
62
|
+
triggerFileUpload(): void;
|
|
63
|
+
private processFile;
|
|
64
|
+
getTicketDetail(code: string): Promise<Ticket | undefined>;
|
|
65
|
+
getMessages(code: string): Promise<TicketMessage[] | undefined>;
|
|
66
|
+
getTenantPriority(): Promise<TenantPriority | undefined>;
|
|
67
|
+
cssColorToHex(color: string): string | null;
|
|
68
|
+
softenColor(hex: string, lightenPercent?: number, alphaPercent?: number): string;
|
|
69
|
+
getTicketMessage(): TicketMessage;
|
|
70
|
+
getAllTask(code: string): Promise<any[] | undefined>;
|
|
71
|
+
passOn(data: Ticket, fromStage: string, toStage: string, comment?: string, recipient?: string): Promise<any>;
|
|
72
|
+
formFill(formValues: any, ticket: Ticket): Promise<undefined>;
|
|
73
|
+
getUpdatedTicket(code: string): Promise<Ticket | undefined>;
|
|
74
|
+
handleActionComplete(action: any, data: Ticket): Promise<void>;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketingDetailComponent, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketingDetailComponent, "app-ticketing-detail", never, { "user": { "alias": "user"; "required": false; }; "defaultCompany": { "alias": "defaultCompany"; "required": false; }; "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, never, false, never>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Routes } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./ticketing-detail.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@angular/forms";
|
|
6
|
+
import * as i4 from "verben-ng-ui";
|
|
7
|
+
import * as i5 from "verben-ticketing-ui/src/lib/pipes";
|
|
8
|
+
import * as i6 from "./chat-control/chat-control.module";
|
|
9
|
+
import * as i7 from "verben-ticketing-ui/src/lib/components/add-ticket";
|
|
10
|
+
import * as i8 from "verben-ticketing-ui/src/lib/components/file-render";
|
|
11
|
+
import * as i9 from "@angular/router";
|
|
12
|
+
export declare const appRoutes: Routes;
|
|
13
|
+
export declare class TicketDetailLibModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketDetailLibModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TicketDetailLibModule, [typeof i1.TicketingDetailComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DataTableModule, typeof i4.SvgModule, typeof i4.VerbenPopUpModule, typeof i4.DataViewModule, typeof i4.VerbenaButtonModule, typeof i4.CardDataViewModule, typeof i4.DropDownModule, typeof i4.VerbenaSwitchModule, typeof i4.TableFilterModule, typeof i4.VisibleColumnModule, typeof i5.AsyncLabelPipe, typeof i4.SortTableModule, typeof i4.DataExportModule, typeof i4.TooltipModule, typeof i4.VerbenDialogueModule, typeof i4.VerbenaInputModule, typeof i4.DataImportModule, typeof i4.DataExportModule, typeof i4.DataXportModule, typeof i5.EllipseWordPipe, typeof i5.CompanyDatePipe, typeof i6.ChatControlLibModule, typeof i7.AddTicketLibModule, typeof i8.FileRenderLibModule, typeof i9.RouterModule], [typeof i1.TicketingDetailComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TicketDetailLibModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_MESSAGE_FOR_INITIAL_UPLOAD = "DEFAULT_MESSAGE_FOR_INITIAL_UPLOAD";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ApplicationRoleAction } from './ApplicationRoleAction';
|
|
2
|
+
import { BaseModel } from './base';
|
|
3
|
+
export interface ApplicationRoleContext extends BaseModel {
|
|
4
|
+
Name: string;
|
|
5
|
+
Description?: string;
|
|
6
|
+
Application: string;
|
|
7
|
+
RoleActions: ApplicationRoleAction[];
|
|
8
|
+
APIKey: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ObjectState } from "./object-state";
|
|
2
|
+
export interface BaseModel {
|
|
3
|
+
Id: string;
|
|
4
|
+
id: string | number;
|
|
5
|
+
Code: string;
|
|
6
|
+
TenantId: string;
|
|
7
|
+
ServiceName: string;
|
|
8
|
+
CreatedAt: Date;
|
|
9
|
+
UpdatedAt: Date;
|
|
10
|
+
DataState: ObjectState;
|
|
11
|
+
CreatedBy?: string;
|
|
12
|
+
UpdatedBy?: string;
|
|
13
|
+
readonly Error?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseModel } from './base';
|
|
2
|
+
import { Status } from './status';
|
|
3
|
+
export interface Company extends BaseModel {
|
|
4
|
+
Description: string;
|
|
5
|
+
Type: string;
|
|
6
|
+
Email: string;
|
|
7
|
+
PhoneNumber: string;
|
|
8
|
+
BaseCurrency: string;
|
|
9
|
+
ReportingCurrency: string;
|
|
10
|
+
DateFormat: string;
|
|
11
|
+
LocaleCode: string;
|
|
12
|
+
Status: Status;
|
|
13
|
+
NumberDP: number;
|
|
14
|
+
AccountingDate: Date;
|
|
15
|
+
IsConsolidation: boolean;
|
|
16
|
+
ToleranceGain: number;
|
|
17
|
+
ToleranceLoss: number;
|
|
18
|
+
Subsidiaries: [];
|
|
19
|
+
ParentCompany: string;
|
|
20
|
+
ParentBaseCurrency: string | null;
|
|
21
|
+
ParentReportingCurrency: string | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from './base';
|
|
2
|
+
import { RoleAction } from './RoleAction';
|
|
3
|
+
export interface RoleContext extends BaseModel {
|
|
4
|
+
Name: string;
|
|
5
|
+
Description?: string;
|
|
6
|
+
Role: string;
|
|
7
|
+
RoleActions: RoleAction[];
|
|
8
|
+
APIKey: string;
|
|
9
|
+
ApplicationRoleContext: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseModel } from './base';
|
|
2
|
+
import { HttpRequestType } from './HttpRequestType';
|
|
3
|
+
import { SearchPropertyValue } from './SearchPropertyValue';
|
|
4
|
+
export interface Schedule extends BaseModel {
|
|
5
|
+
Name: string;
|
|
6
|
+
Description: string;
|
|
7
|
+
RequestType: HttpRequestType;
|
|
8
|
+
Url: string;
|
|
9
|
+
Company: string;
|
|
10
|
+
Application: string;
|
|
11
|
+
APIKey: string;
|
|
12
|
+
PollingTimeDayInterval: string;
|
|
13
|
+
IsActive: boolean;
|
|
14
|
+
IsProtected: boolean;
|
|
15
|
+
IsOneOff: boolean;
|
|
16
|
+
StartDate: Date;
|
|
17
|
+
Filter: SearchPropertyValue[];
|
|
18
|
+
TimeOfTheDay: string;
|
|
19
|
+
Day?: string;
|
|
20
|
+
LastRunTime: Date;
|
|
21
|
+
TruncateDataAfterDays: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ModelRelationship } from './ModelRelationship';
|
|
2
|
+
import { SearchPropertyValue } from './SearchPropertyValue';
|
|
3
|
+
export interface SearchDynamicWrapper {
|
|
4
|
+
Fields: string[];
|
|
5
|
+
ModelRelationships?: ModelRelationship[];
|
|
6
|
+
SearchKeyValues: SearchPropertyValue[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SearchOperator } from './SearchOperator';
|
|
2
|
+
import { SearchPropertySign } from './SearchPropertySign';
|
|
3
|
+
import { SearchPropertyValueType } from './SearchPropertyValueType';
|
|
4
|
+
import { SortDirection } from './SortDirection';
|
|
5
|
+
export interface SearchPropertyValue {
|
|
6
|
+
IsAutoFromDate?: boolean;
|
|
7
|
+
IsAutoEndDate?: boolean;
|
|
8
|
+
PropertyName: string;
|
|
9
|
+
EntityValue: string;
|
|
10
|
+
Type?: SearchPropertyValueType;
|
|
11
|
+
Operator: SearchOperator;
|
|
12
|
+
Sign: SearchPropertySign;
|
|
13
|
+
Sort?: SortDirection;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseModel } from './base';
|
|
2
|
+
import { Status } from './status';
|
|
3
|
+
import { TenantConfig } from './TenantConfig';
|
|
4
|
+
export interface Tenant extends BaseModel {
|
|
5
|
+
Application?: string;
|
|
6
|
+
Keys: string[];
|
|
7
|
+
UrlKey?: string;
|
|
8
|
+
Name: string;
|
|
9
|
+
Description?: string;
|
|
10
|
+
MailAddress?: string;
|
|
11
|
+
Status: Status;
|
|
12
|
+
FirstUserName: string;
|
|
13
|
+
FirstUserMailAddress: string;
|
|
14
|
+
IsActivated: boolean;
|
|
15
|
+
ApproveBy?: string;
|
|
16
|
+
ExipiryDate: Date;
|
|
17
|
+
RequestedServices: string[];
|
|
18
|
+
ApprovedServices: string[];
|
|
19
|
+
LogoUrl?: string;
|
|
20
|
+
Config?: TenantConfig;
|
|
21
|
+
ClientSecret?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseModel } from './base';
|
|
2
|
+
import { OAuthParam } from './OAuthParam';
|
|
3
|
+
import { OAuthType } from './OAuthType';
|
|
4
|
+
export interface TenantConfig extends BaseModel {
|
|
5
|
+
Tenant: string;
|
|
6
|
+
Application: string;
|
|
7
|
+
PasswordPattern?: string;
|
|
8
|
+
PasswordPatternDescription?: string;
|
|
9
|
+
PasswordLength: number;
|
|
10
|
+
EnforceFirstLoginPassword: boolean;
|
|
11
|
+
AllowTwoFactorLogin: boolean;
|
|
12
|
+
CanPasswordExpired: boolean;
|
|
13
|
+
NoOfDaysForPasswordExpiraion: number;
|
|
14
|
+
LogOutInterval: number;
|
|
15
|
+
OTPValidFor: number;
|
|
16
|
+
LogoUrl?: string;
|
|
17
|
+
LogoData?: File;
|
|
18
|
+
AuthMechanism: OAuthType;
|
|
19
|
+
AuthMechanisms: OAuthParam[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { File } from './File';
|
|
3
|
+
import { TicketMessage } from './TicketMessage';
|
|
4
|
+
import { TicketStatus } from './TicketStatus';
|
|
5
|
+
export interface Ticket extends BaseModel {
|
|
6
|
+
Title: string;
|
|
7
|
+
Description: string;
|
|
8
|
+
App: string;
|
|
9
|
+
CurrentHandler?: string;
|
|
10
|
+
LastHandler?: string;
|
|
11
|
+
FileData: File[];
|
|
12
|
+
FileUrls: string[];
|
|
13
|
+
Priority?: string;
|
|
14
|
+
Messages: TicketMessage[];
|
|
15
|
+
Status: TicketStatus;
|
|
16
|
+
Company: string;
|
|
17
|
+
TaskComment?: string;
|
|
18
|
+
TaskData?: any;
|
|
19
|
+
PickupAt?: Date;
|
|
20
|
+
ExecutionTime?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseModel } from "./BaseModel";
|
|
2
|
+
import { File } from "./File";
|
|
3
|
+
export interface TicketMessage extends BaseModel {
|
|
4
|
+
Name?: string;
|
|
5
|
+
TicketCode: string;
|
|
6
|
+
Subject: string;
|
|
7
|
+
Content: string;
|
|
8
|
+
Attachments: File[];
|
|
9
|
+
AttachmentUrls: string[];
|
|
10
|
+
Company: string;
|
|
11
|
+
}
|