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,32 @@
|
|
|
1
|
+
import { MechanismType } from "./auth-mechanism";
|
|
2
|
+
import { ObjectState } from "./object-state";
|
|
3
|
+
import { RequestStatus } from "./request-status";
|
|
4
|
+
import { Role } from "./Role";
|
|
5
|
+
import { Status } from "./status";
|
|
6
|
+
export interface Tag {
|
|
7
|
+
Name: string;
|
|
8
|
+
IsOptional: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface UserRequestPayload {
|
|
11
|
+
Code: string;
|
|
12
|
+
FirstName: string;
|
|
13
|
+
LastName: string;
|
|
14
|
+
MailAddress: string;
|
|
15
|
+
Password: string;
|
|
16
|
+
PhoneNumber: string;
|
|
17
|
+
OtherName: string;
|
|
18
|
+
Role: Role;
|
|
19
|
+
Tags: Tag[];
|
|
20
|
+
Status: Status;
|
|
21
|
+
UpdatedAt: Date;
|
|
22
|
+
CreatedAt: Date;
|
|
23
|
+
Id: string;
|
|
24
|
+
DataState: ObjectState;
|
|
25
|
+
TenantId: string;
|
|
26
|
+
ServiceName: string;
|
|
27
|
+
ActionBy: string;
|
|
28
|
+
SignUpType: MechanismType;
|
|
29
|
+
RequestStatus: RequestStatus;
|
|
30
|
+
Comment: string;
|
|
31
|
+
Token?: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum MechanismType {
|
|
2
|
+
InApp = "InApp",
|
|
3
|
+
Google = "Google",
|
|
4
|
+
Apple = "Apple",
|
|
5
|
+
MicrosoftAD = "MicrosoftAD"
|
|
6
|
+
}
|
|
7
|
+
export interface AuthMechanism {
|
|
8
|
+
AuthMechanism: string;
|
|
9
|
+
ClientId: string;
|
|
10
|
+
ClientSecret: string;
|
|
11
|
+
RedirectUri: string;
|
|
12
|
+
Scope: string;
|
|
13
|
+
TenantId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ObjectState } from './object-state';
|
|
2
|
+
export interface BaseModel {
|
|
3
|
+
id: string | number;
|
|
4
|
+
Id: string;
|
|
5
|
+
CreatedAt: Date;
|
|
6
|
+
UpdatedAt: Date;
|
|
7
|
+
DataState: ObjectState;
|
|
8
|
+
TenantId: string;
|
|
9
|
+
ServiceName: string;
|
|
10
|
+
Code: string;
|
|
11
|
+
readonly Error?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ObjectState } from "./object-state";
|
|
2
|
+
export interface MainUser {
|
|
3
|
+
Code: string;
|
|
4
|
+
TenantId: string;
|
|
5
|
+
Id: string;
|
|
6
|
+
ServiceName: string;
|
|
7
|
+
MailAddress: string;
|
|
8
|
+
PhoneNumber: string;
|
|
9
|
+
FirstName: string;
|
|
10
|
+
LastName: string;
|
|
11
|
+
OtherName: string;
|
|
12
|
+
Role: [];
|
|
13
|
+
Tags: {}[];
|
|
14
|
+
Password: string;
|
|
15
|
+
Status: string;
|
|
16
|
+
CreatedAt: Date;
|
|
17
|
+
UpdatedAt: Date;
|
|
18
|
+
DataState: ObjectState;
|
|
19
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export * from './ApplicationRoleAction';
|
|
2
|
+
export * from './ApplicationRoleContext';
|
|
3
|
+
export * from './auth-mechanism';
|
|
4
|
+
export * from './base';
|
|
5
|
+
export * from './Company';
|
|
6
|
+
export * from './conditions';
|
|
7
|
+
export * from './ErrorResponse';
|
|
8
|
+
export * from './HttpRequestType';
|
|
9
|
+
export * from './KeyValueParam';
|
|
10
|
+
export * from './log-in';
|
|
11
|
+
export * from './mainUser';
|
|
12
|
+
export * from './ModelRelationship';
|
|
13
|
+
export * from './oauth-resp';
|
|
14
|
+
export * from './oauth-response';
|
|
15
|
+
export * from './OAuthParam';
|
|
16
|
+
export * from './OAuthType';
|
|
17
|
+
export * from './object-state';
|
|
18
|
+
export * from './otpValue';
|
|
19
|
+
export * from './paged';
|
|
20
|
+
export * from './PagedResult';
|
|
21
|
+
export * from './PasswordRequestParam';
|
|
22
|
+
export * from './PermissionConfig';
|
|
23
|
+
export * from './query-params';
|
|
24
|
+
export * from './request-status';
|
|
25
|
+
export * from './resend-otp-data';
|
|
26
|
+
export * from './ResponseKeyValue';
|
|
27
|
+
export * from './Role';
|
|
28
|
+
export * from './RoleAction';
|
|
29
|
+
export * from './RoleContext';
|
|
30
|
+
export * from './Schedule';
|
|
31
|
+
export * from './ScheduleType';
|
|
32
|
+
export * from './SearchDynamicWrapper';
|
|
33
|
+
export * from './SearchOperator';
|
|
34
|
+
export * from './SearchPropertySign';
|
|
35
|
+
export * from './SearchPropertyValue';
|
|
36
|
+
export * from './SearchPropertyValueType';
|
|
37
|
+
export * from './sign-up';
|
|
38
|
+
export * from './single-sign-on';
|
|
39
|
+
export * from './SortDirection';
|
|
40
|
+
export * from './status';
|
|
41
|
+
export * from './TaskUser';
|
|
42
|
+
export * from './Tenant';
|
|
43
|
+
export * from './TenantConfig';
|
|
44
|
+
export * from './user-access-request';
|
|
45
|
+
export * from './user-access-request-status';
|
|
46
|
+
export * from './user-management';
|
|
47
|
+
export * from './user';
|
|
48
|
+
export * from './UserRequest';
|
|
49
|
+
export * from './Application';
|
|
50
|
+
export * from './Ticket';
|
|
51
|
+
export * from './TicketStatus';
|
|
52
|
+
export * from './FilterTypes';
|
|
53
|
+
export * from './TicketMessage';
|
|
54
|
+
export * from './TenantPriority';
|
|
55
|
+
export * from './File';
|
|
56
|
+
export * from './CacheDataRequest';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OAuthType } from './OAuthType';
|
|
2
|
+
import { User } from './user';
|
|
3
|
+
import { UserAccessRequestStatus } from './user-access-request-status';
|
|
4
|
+
export interface UserAccessRequest extends User {
|
|
5
|
+
RequestStatus: UserAccessRequestStatus;
|
|
6
|
+
ActionBy?: string;
|
|
7
|
+
Comment?: string;
|
|
8
|
+
SignupType: OAuthType;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { User } from './user';
|
|
2
|
+
import { UserAccessRequestStatus } from './user-access-request-status';
|
|
3
|
+
export interface UserManagement extends Omit<User, 'Status'> {
|
|
4
|
+
Status: UserAccessRequestStatus;
|
|
5
|
+
ActionBy?: string;
|
|
6
|
+
Comment?: string;
|
|
7
|
+
RequestStatus?: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseModel } from './base';
|
|
2
|
+
import { Role } from './Role';
|
|
3
|
+
export interface User extends BaseModel {
|
|
4
|
+
Password: string;
|
|
5
|
+
OldPassword?: string;
|
|
6
|
+
PhoneNumber?: string;
|
|
7
|
+
FirstName: string;
|
|
8
|
+
LastName: string;
|
|
9
|
+
Name: string;
|
|
10
|
+
MailAddress: string;
|
|
11
|
+
Token?: string;
|
|
12
|
+
ExpireOn: Date;
|
|
13
|
+
IsSeeded: boolean;
|
|
14
|
+
RoleID?: string;
|
|
15
|
+
OTP?: string;
|
|
16
|
+
Department?: string;
|
|
17
|
+
Faculty?: string;
|
|
18
|
+
OTPExpireOn: Date;
|
|
19
|
+
Tenants: string[];
|
|
20
|
+
DepartmentName?: string;
|
|
21
|
+
DefaultCompany: string;
|
|
22
|
+
Companies: string;
|
|
23
|
+
Role?: Role;
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { LabelService } from 'verben-ticketing-ui/src/lib/services';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AsyncLabelPipe implements PipeTransform {
|
|
6
|
+
private labelService;
|
|
7
|
+
constructor(labelService: LabelService);
|
|
8
|
+
transform(code: any, entity: string, labelProp: string, env: string, key?: string): Observable<string>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncLabelPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsyncLabelPipe, "asyncLabel", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { CompanySettingsService } from 'verben-ticketing-ui/src/lib/services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CompanyDatePipe implements PipeTransform {
|
|
5
|
+
private companySettings;
|
|
6
|
+
constructor(companySettings: CompanySettingsService);
|
|
7
|
+
transform(value: string | Date): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CompanyDatePipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CompanyDatePipe, "companyDate", true>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EllipseWordPipe implements PipeTransform {
|
|
4
|
+
defaultLength: number;
|
|
5
|
+
transform(word: string, length?: number): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipseWordPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<EllipseWordPipe, "ellipseWord", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Company } from 'verben-ticketing-ui/src/lib/models';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CompanySettingsService {
|
|
4
|
+
locale: string;
|
|
5
|
+
numberDP: number;
|
|
6
|
+
dateFormat: string;
|
|
7
|
+
baseCurrency: string;
|
|
8
|
+
setSettings(data: Company): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CompanySettingsService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CompanySettingsService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const ENVIRONMENT: InjectionToken<Environment>;
|
|
4
|
+
export interface Environment {
|
|
5
|
+
production: boolean;
|
|
6
|
+
GLAPI: string;
|
|
7
|
+
AuthenticationAPI: string;
|
|
8
|
+
TicketingAPI: string;
|
|
9
|
+
Tenant: string;
|
|
10
|
+
APIKey: string;
|
|
11
|
+
Secret: string;
|
|
12
|
+
FILE_BASE_URL: string;
|
|
13
|
+
WorkFlowAPI: string;
|
|
14
|
+
Token?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class EnvironmentService {
|
|
17
|
+
private env;
|
|
18
|
+
constructor(env: Environment);
|
|
19
|
+
get environment(): Environment;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { EnvironmentService } from './environment.service';
|
|
4
|
+
import { NotificationService } from 'verben-ng-ui';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class HttpWebRequestService {
|
|
7
|
+
private http;
|
|
8
|
+
private envSvc;
|
|
9
|
+
private notificationService;
|
|
10
|
+
isProd: boolean;
|
|
11
|
+
constructor(http: HttpClient, envSvc: EnvironmentService, notificationService: NotificationService);
|
|
12
|
+
private buildHeaders;
|
|
13
|
+
private buildUrl;
|
|
14
|
+
private handleError;
|
|
15
|
+
private request;
|
|
16
|
+
get<T>(url: string, baseUrl?: string): Promise<T>;
|
|
17
|
+
post<T>(url: string, body: any, baseUrl?: string): Promise<T>;
|
|
18
|
+
postNoError<T>(url: string, body: any, baseUrl?: string): Promise<T>;
|
|
19
|
+
postFile<T>(url: string, formData: FormData, baseUrl?: string): Promise<T>;
|
|
20
|
+
put<T>(url: string, body: any, baseUrl?: string): Observable<T>;
|
|
21
|
+
delete<T>(url: string, baseUrl?: string): Observable<T>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpWebRequestService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HttpWebRequestService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PagedResult, BaseModel } from 'verben-ticketing-ui/src/lib/models';
|
|
2
|
+
import { HttpWebRequestService } from './http-web-request.service';
|
|
3
|
+
import { UtilService } from './util.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ImportService<T extends BaseModel> {
|
|
6
|
+
private utilService;
|
|
7
|
+
private server;
|
|
8
|
+
constructor(utilService: UtilService, server: HttpWebRequestService);
|
|
9
|
+
onComplete(event: any[], defaults: T, endpoint: string | null, baseUrl: string, entity: string, updateCallback: (items: T[]) => void, pagedState?: PagedResult<T> | null, stringProps?: (keyof T)[], numberProps?: (keyof T)[], datePropsExtras?: (keyof T)[]): void;
|
|
10
|
+
saveImportedDataBatch(items: T[], endpoint: string | null, baseUrl: string, entity: string, updateCallback: (items: T[]) => void, pagedState?: PagedResult<T> | null): Promise<void>;
|
|
11
|
+
excelSerialToDate(serial: number): Date;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImportService<any>, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ImportService<any>>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UtilService as AppUtilService } from './util.service';
|
|
2
|
+
import { HttpWebRequestService } from './http-web-request.service';
|
|
3
|
+
import { CacheDataRequest } from 'verben-ticketing-ui/src/lib/models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LabelService {
|
|
6
|
+
private utilService;
|
|
7
|
+
private server;
|
|
8
|
+
private cache;
|
|
9
|
+
private inFlightRequests;
|
|
10
|
+
private batchedRequests;
|
|
11
|
+
private tempStore;
|
|
12
|
+
private batchingDelay;
|
|
13
|
+
private cacheInProgress;
|
|
14
|
+
constructor(utilService: AppUtilService, server: HttpWebRequestService);
|
|
15
|
+
getAsyncLabel(value: any, entity: string, labelProp: string, env: string, key?: string): Promise<string>;
|
|
16
|
+
getAsyncLabelWithRequestTracking(value: any, entity: string, labelProp: string, env: string, key?: string): Promise<string>;
|
|
17
|
+
getAsyncLabelWithRequestTrackingNoGateway(value: any, entity: string, labelProp: string, env: string, controller: string, key?: string): Promise<string>;
|
|
18
|
+
getAsyncLabelWithBatching(value: any, entity: string, labelProp: string, env: string, key?: string): Promise<string>;
|
|
19
|
+
private flushBatch;
|
|
20
|
+
cacheData(items: CacheDataRequest[]): Promise<void>;
|
|
21
|
+
private _cacheSingleBatch;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LabelService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './environment.service';
|
|
2
|
+
export * from './http-web-request.service';
|
|
3
|
+
export * from './import.service';
|
|
4
|
+
export * from './label.service';
|
|
5
|
+
export * from './util.service';
|
|
6
|
+
export * from './shared.service';
|
|
7
|
+
export * from './company-settings.service';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { File, PagedResult, TenantPriority } from 'verben-ticketing-ui/src/lib/models';
|
|
2
|
+
import { UtilService } from './util.service';
|
|
3
|
+
import { HttpWebRequestService } from './http-web-request.service';
|
|
4
|
+
import { EnvironmentService } from './environment.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SharedService {
|
|
7
|
+
private utilService;
|
|
8
|
+
private server;
|
|
9
|
+
private envSvc;
|
|
10
|
+
pageSize: number;
|
|
11
|
+
constructor(utilService: UtilService, server: HttpWebRequestService, envSvc: EnvironmentService);
|
|
12
|
+
createCustomFile(base64data: string, index: number, file: globalThis.File): File | null;
|
|
13
|
+
getAllPrioritiesForTenant(tenant: string): Promise<PagedResult<TenantPriority> | undefined>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UtilService {
|
|
4
|
+
private parentUtilService;
|
|
5
|
+
private route;
|
|
6
|
+
constructor(parentUtilService: any, route: Router);
|
|
7
|
+
sendBI(state: boolean): void;
|
|
8
|
+
showInfo(message: string): void;
|
|
9
|
+
showSuccess(message: string): void;
|
|
10
|
+
goToPage(page: string, extra?: any): void;
|
|
11
|
+
openFullRouteInNewWindow(url: string): void;
|
|
12
|
+
showError(message: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilService, [{ optional: true; }, null]>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { CardData, CardDataViewComponent, DataViewComponent, IDataFilter } from 'verben-ng-ui';
|
|
3
|
+
import { DataViewConfig } from '../models/DataViewConfig';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare abstract class BaseDataViewComponent<T> implements OnInit {
|
|
6
|
+
cardDataView: CardDataViewComponent;
|
|
7
|
+
dataView: DataViewComponent;
|
|
8
|
+
abstract config: DataViewConfig<T>;
|
|
9
|
+
data: import("@angular/core").WritableSignal<T[]>;
|
|
10
|
+
cardData: import("@angular/core").Signal<CardData[]>;
|
|
11
|
+
currentData: CardData | null;
|
|
12
|
+
isGridView: boolean;
|
|
13
|
+
selected: CardData | null;
|
|
14
|
+
visibleColumns: IDataFilter[];
|
|
15
|
+
filterArray: IDataFilter[];
|
|
16
|
+
sortOptions: IDataFilter[];
|
|
17
|
+
selectedColumnCount: number;
|
|
18
|
+
selectedFilterTableCount: number;
|
|
19
|
+
selectedSortCount: number;
|
|
20
|
+
constructor();
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
protected loadInitialData(): void;
|
|
23
|
+
private initializeConfig;
|
|
24
|
+
openDetailView(identifier: any): void;
|
|
25
|
+
private resetSelections;
|
|
26
|
+
protected abstract getCardDataByIdentifier(identifier: any): CardData | undefined;
|
|
27
|
+
downloadCSV(data: Partial<any>[]): void;
|
|
28
|
+
onViewChange(isGridView: boolean): void;
|
|
29
|
+
onColumnsUpdated(updatedColumns: IDataFilter[]): void;
|
|
30
|
+
onSortUpdated(updatedSorts: IDataFilter[]): void;
|
|
31
|
+
onSelectionChange(selectedRows: T[]): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseDataViewComponent<any>, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseDataViewComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CardData, ColumnDefinition, IDataFilter } from 'verben-ng-ui';
|
|
2
|
+
export interface DataViewConfig<T> {
|
|
3
|
+
dataSource: T[];
|
|
4
|
+
columns: ColumnDefinition<T>[];
|
|
5
|
+
cardDataMapper: (item: T) => CardData;
|
|
6
|
+
filterOptions?: IDataFilter[];
|
|
7
|
+
sortOptions?: IDataFilter[];
|
|
8
|
+
onDetailView?: (item: T) => void;
|
|
9
|
+
onApprove?: (item: T) => void;
|
|
10
|
+
onDelete?: (item: T) => void;
|
|
11
|
+
}
|