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.
Files changed (237) hide show
  1. package/README.md +25 -0
  2. package/esm2022/public-api.mjs +9 -0
  3. package/esm2022/src/lib/components/add-ticket/add-ticket.component.mjs +306 -0
  4. package/esm2022/src/lib/components/add-ticket/add-ticket.module.mjs +98 -0
  5. package/esm2022/src/lib/components/add-ticket/index.mjs +2 -0
  6. package/esm2022/src/lib/components/add-ticket/public-api.mjs +3 -0
  7. package/esm2022/src/lib/components/add-ticket/verben-ticketing-ui-src-lib-components-add-ticket.mjs +5 -0
  8. package/esm2022/src/lib/components/file-render/file-render.component.mjs +34 -0
  9. package/esm2022/src/lib/components/file-render/file-render.module.mjs +94 -0
  10. package/esm2022/src/lib/components/file-render/index.mjs +2 -0
  11. package/esm2022/src/lib/components/file-render/public-api.mjs +3 -0
  12. package/esm2022/src/lib/components/file-render/verben-ticketing-ui-src-lib-components-file-render.mjs +5 -0
  13. package/esm2022/src/lib/components/ticketing/base-table-style.mjs +56 -0
  14. package/esm2022/src/lib/components/ticketing/index.mjs +2 -0
  15. package/esm2022/src/lib/components/ticketing/public-api.mjs +4 -0
  16. package/esm2022/src/lib/components/ticketing/ticketing.component.mjs +813 -0
  17. package/esm2022/src/lib/components/ticketing/ticketing.module.mjs +96 -0
  18. package/esm2022/src/lib/components/ticketing/ticketing.service.mjs +220 -0
  19. package/esm2022/src/lib/components/ticketing/verben-ticketing-ui-src-lib-components-ticketing.mjs +5 -0
  20. package/esm2022/src/lib/components/ticketing-detail/chat-control/chat-control.component.mjs +240 -0
  21. package/esm2022/src/lib/components/ticketing-detail/chat-control/chat-control.module.mjs +98 -0
  22. package/esm2022/src/lib/components/ticketing-detail/index.mjs +2 -0
  23. package/esm2022/src/lib/components/ticketing-detail/public-api.mjs +3 -0
  24. package/esm2022/src/lib/components/ticketing-detail/ticketing-detail.component.mjs +592 -0
  25. package/esm2022/src/lib/components/ticketing-detail/ticketing-detail.module.mjs +109 -0
  26. package/esm2022/src/lib/components/ticketing-detail/verben-ticketing-ui-src-lib-components-ticketing-detail.mjs +5 -0
  27. package/esm2022/src/lib/constants/index.mjs +2 -0
  28. package/esm2022/src/lib/constants/keynames.mjs +2 -0
  29. package/esm2022/src/lib/constants/pagesize.mjs +3 -0
  30. package/esm2022/src/lib/constants/public-api.mjs +3 -0
  31. package/esm2022/src/lib/constants/verben-ticketing-ui-src-lib-constants.mjs +5 -0
  32. package/esm2022/src/lib/models/Application.mjs +2 -0
  33. package/esm2022/src/lib/models/ApplicationRoleAction.mjs +2 -0
  34. package/esm2022/src/lib/models/ApplicationRoleContext.mjs +2 -0
  35. package/esm2022/src/lib/models/BaseModel.mjs +2 -0
  36. package/esm2022/src/lib/models/CacheDataRequest.mjs +2 -0
  37. package/esm2022/src/lib/models/Company.mjs +2 -0
  38. package/esm2022/src/lib/models/ErrorResponse.mjs +11 -0
  39. package/esm2022/src/lib/models/File.mjs +2 -0
  40. package/esm2022/src/lib/models/FilterTypes.mjs +9 -0
  41. package/esm2022/src/lib/models/HttpRequestType.mjs +8 -0
  42. package/esm2022/src/lib/models/KeyValueParam.mjs +2 -0
  43. package/esm2022/src/lib/models/ModelRelationship.mjs +2 -0
  44. package/esm2022/src/lib/models/OAuthParam.mjs +2 -0
  45. package/esm2022/src/lib/models/OAuthType.mjs +9 -0
  46. package/esm2022/src/lib/models/PagedResult.mjs +2 -0
  47. package/esm2022/src/lib/models/PasswordRequestParam.mjs +2 -0
  48. package/esm2022/src/lib/models/PermissionConfig.mjs +2 -0
  49. package/esm2022/src/lib/models/ResponseKeyValue.mjs +2 -0
  50. package/esm2022/src/lib/models/Role.mjs +2 -0
  51. package/esm2022/src/lib/models/RoleAction.mjs +2 -0
  52. package/esm2022/src/lib/models/RoleContext.mjs +2 -0
  53. package/esm2022/src/lib/models/Schedule.mjs +2 -0
  54. package/esm2022/src/lib/models/ScheduleType.mjs +6 -0
  55. package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +2 -0
  56. package/esm2022/src/lib/models/SearchOperator.mjs +6 -0
  57. package/esm2022/src/lib/models/SearchPropertySign.mjs +11 -0
  58. package/esm2022/src/lib/models/SearchPropertyValue.mjs +2 -0
  59. package/esm2022/src/lib/models/SearchPropertyValueType.mjs +11 -0
  60. package/esm2022/src/lib/models/SortDirection.mjs +7 -0
  61. package/esm2022/src/lib/models/TaskUser.mjs +2 -0
  62. package/esm2022/src/lib/models/Tenant.mjs +2 -0
  63. package/esm2022/src/lib/models/TenantConfig.mjs +2 -0
  64. package/esm2022/src/lib/models/TenantPriority.mjs +2 -0
  65. package/esm2022/src/lib/models/Ticket.mjs +2 -0
  66. package/esm2022/src/lib/models/TicketMessage.mjs +2 -0
  67. package/esm2022/src/lib/models/TicketStatus.mjs +8 -0
  68. package/esm2022/src/lib/models/UserRequest.mjs +2 -0
  69. package/esm2022/src/lib/models/auth-mechanism.mjs +8 -0
  70. package/esm2022/src/lib/models/base.mjs +2 -0
  71. package/esm2022/src/lib/models/conditions.mjs +13 -0
  72. package/esm2022/src/lib/models/index.mjs +2 -0
  73. package/esm2022/src/lib/models/log-in.mjs +2 -0
  74. package/esm2022/src/lib/models/mainUser.mjs +2 -0
  75. package/esm2022/src/lib/models/oauth-resp.mjs +2 -0
  76. package/esm2022/src/lib/models/oauth-response.mjs +2 -0
  77. package/esm2022/src/lib/models/object-state.mjs +8 -0
  78. package/esm2022/src/lib/models/otpValue.mjs +2 -0
  79. package/esm2022/src/lib/models/paged.mjs +2 -0
  80. package/esm2022/src/lib/models/public-api.mjs +57 -0
  81. package/esm2022/src/lib/models/query-params.mjs +2 -0
  82. package/esm2022/src/lib/models/request-status.mjs +5 -0
  83. package/esm2022/src/lib/models/resend-otp-data.mjs +2 -0
  84. package/esm2022/src/lib/models/sign-up.mjs +2 -0
  85. package/esm2022/src/lib/models/single-sign-on.mjs +2 -0
  86. package/esm2022/src/lib/models/status.mjs +6 -0
  87. package/esm2022/src/lib/models/user-access-request-status.mjs +7 -0
  88. package/esm2022/src/lib/models/user-access-request.mjs +2 -0
  89. package/esm2022/src/lib/models/user-management.mjs +2 -0
  90. package/esm2022/src/lib/models/user.mjs +2 -0
  91. package/esm2022/src/lib/models/verben-ticketing-ui-src-lib-models.mjs +5 -0
  92. package/esm2022/src/lib/pipes/async-label.pipe.mjs +26 -0
  93. package/esm2022/src/lib/pipes/company-date.pipe.mjs +30 -0
  94. package/esm2022/src/lib/pipes/ellipse-word.pipe.mjs +23 -0
  95. package/esm2022/src/lib/pipes/index.mjs +2 -0
  96. package/esm2022/src/lib/pipes/public-api.mjs +4 -0
  97. package/esm2022/src/lib/pipes/verben-ticketing-ui-src-lib-pipes.mjs +5 -0
  98. package/esm2022/src/lib/services/company-settings.service.mjs +23 -0
  99. package/esm2022/src/lib/services/environment.service.mjs +26 -0
  100. package/esm2022/src/lib/services/http-web-request.service.mjs +100 -0
  101. package/esm2022/src/lib/services/import.service.mjs +247 -0
  102. package/esm2022/src/lib/services/index.mjs +2 -0
  103. package/esm2022/src/lib/services/label.service.mjs +261 -0
  104. package/esm2022/src/lib/services/public-api.mjs +8 -0
  105. package/esm2022/src/lib/services/shared.service.mjs +58 -0
  106. package/esm2022/src/lib/services/util.service.mjs +72 -0
  107. package/esm2022/src/lib/services/verben-ticketing-ui-src-lib-services.mjs +5 -0
  108. package/esm2022/src/utils/components/base-data-view.component.mjs +111 -0
  109. package/esm2022/src/utils/index.mjs +2 -0
  110. package/esm2022/src/utils/models/DataViewConfig.mjs +2 -0
  111. package/esm2022/src/utils/public-api.mjs +3 -0
  112. package/esm2022/src/utils/verben-ticketing-ui-src-utils.mjs +5 -0
  113. package/esm2022/verben-ticketing-ui.mjs +5 -0
  114. package/fesm2022/verben-ticketing-ui-src-lib-components-add-ticket.mjs +403 -0
  115. package/fesm2022/verben-ticketing-ui-src-lib-components-add-ticket.mjs.map +1 -0
  116. package/fesm2022/verben-ticketing-ui-src-lib-components-file-render.mjs +130 -0
  117. package/fesm2022/verben-ticketing-ui-src-lib-components-file-render.mjs.map +1 -0
  118. package/fesm2022/verben-ticketing-ui-src-lib-components-ticketing-detail.mjs +1018 -0
  119. package/fesm2022/verben-ticketing-ui-src-lib-components-ticketing-detail.mjs.map +1 -0
  120. package/fesm2022/verben-ticketing-ui-src-lib-components-ticketing.mjs +1166 -0
  121. package/fesm2022/verben-ticketing-ui-src-lib-components-ticketing.mjs.map +1 -0
  122. package/fesm2022/verben-ticketing-ui-src-lib-constants.mjs +11 -0
  123. package/fesm2022/verben-ticketing-ui-src-lib-constants.mjs.map +1 -0
  124. package/fesm2022/verben-ticketing-ui-src-lib-models.mjs +138 -0
  125. package/fesm2022/verben-ticketing-ui-src-lib-models.mjs.map +1 -0
  126. package/fesm2022/verben-ticketing-ui-src-lib-pipes.mjs +81 -0
  127. package/fesm2022/verben-ticketing-ui-src-lib-pipes.mjs.map +1 -0
  128. package/fesm2022/verben-ticketing-ui-src-lib-services.mjs +770 -0
  129. package/fesm2022/verben-ticketing-ui-src-lib-services.mjs.map +1 -0
  130. package/fesm2022/verben-ticketing-ui-src-utils.mjs +118 -0
  131. package/fesm2022/verben-ticketing-ui-src-utils.mjs.map +1 -0
  132. package/fesm2022/verben-ticketing-ui.mjs +14 -0
  133. package/fesm2022/verben-ticketing-ui.mjs.map +1 -0
  134. package/index.d.ts +5 -0
  135. package/package.json +82 -0
  136. package/public-api.d.ts +4 -0
  137. package/src/lib/components/add-ticket/add-ticket.component.d.ts +44 -0
  138. package/src/lib/components/add-ticket/add-ticket.module.d.ts +15 -0
  139. package/src/lib/components/add-ticket/index.d.ts +1 -0
  140. package/src/lib/components/add-ticket/public-api.d.ts +2 -0
  141. package/src/lib/components/file-render/file-render.component.d.ts +14 -0
  142. package/src/lib/components/file-render/file-render.module.d.ts +14 -0
  143. package/src/lib/components/file-render/index.d.ts +1 -0
  144. package/src/lib/components/file-render/public-api.d.ts +2 -0
  145. package/src/lib/components/ticketing/base-table-style.d.ts +1 -0
  146. package/src/lib/components/ticketing/index.d.ts +1 -0
  147. package/src/lib/components/ticketing/public-api.d.ts +3 -0
  148. package/src/lib/components/ticketing/ticketing.component.d.ts +100 -0
  149. package/src/lib/components/ticketing/ticketing.module.d.ts +12 -0
  150. package/src/lib/components/ticketing/ticketing.service.d.ts +27 -0
  151. package/src/lib/components/ticketing-detail/chat-control/chat-control.component.d.ts +47 -0
  152. package/src/lib/components/ticketing-detail/chat-control/chat-control.module.d.ts +15 -0
  153. package/src/lib/components/ticketing-detail/index.d.ts +1 -0
  154. package/src/lib/components/ticketing-detail/public-api.d.ts +2 -0
  155. package/src/lib/components/ticketing-detail/ticketing-detail.component.d.ts +77 -0
  156. package/src/lib/components/ticketing-detail/ticketing-detail.module.d.ts +17 -0
  157. package/src/lib/constants/index.d.ts +1 -0
  158. package/src/lib/constants/keynames.d.ts +1 -0
  159. package/src/lib/constants/pagesize.d.ts +2 -0
  160. package/src/lib/constants/public-api.d.ts +2 -0
  161. package/src/lib/models/Application.d.ts +5 -0
  162. package/src/lib/models/ApplicationRoleAction.d.ts +9 -0
  163. package/src/lib/models/ApplicationRoleContext.d.ts +9 -0
  164. package/src/lib/models/BaseModel.d.ts +14 -0
  165. package/src/lib/models/CacheDataRequest.d.ts +7 -0
  166. package/src/lib/models/Company.d.ts +22 -0
  167. package/src/lib/models/ErrorResponse.d.ts +6 -0
  168. package/src/lib/models/File.d.ts +7 -0
  169. package/src/lib/models/FilterTypes.d.ts +6 -0
  170. package/src/lib/models/HttpRequestType.d.ts +6 -0
  171. package/src/lib/models/KeyValueParam.d.ts +5 -0
  172. package/src/lib/models/ModelRelationship.d.ts +7 -0
  173. package/src/lib/models/OAuthParam.d.ts +9 -0
  174. package/src/lib/models/OAuthType.d.ts +7 -0
  175. package/src/lib/models/PagedResult.d.ts +9 -0
  176. package/src/lib/models/PasswordRequestParam.d.ts +5 -0
  177. package/src/lib/models/PermissionConfig.d.ts +7 -0
  178. package/src/lib/models/ResponseKeyValue.d.ts +5 -0
  179. package/src/lib/models/Role.d.ts +9 -0
  180. package/src/lib/models/RoleAction.d.ts +10 -0
  181. package/src/lib/models/RoleContext.d.ts +10 -0
  182. package/src/lib/models/Schedule.d.ts +22 -0
  183. package/src/lib/models/ScheduleType.d.ts +4 -0
  184. package/src/lib/models/SearchDynamicWrapper.d.ts +7 -0
  185. package/src/lib/models/SearchOperator.d.ts +4 -0
  186. package/src/lib/models/SearchPropertySign.d.ts +9 -0
  187. package/src/lib/models/SearchPropertyValue.d.ts +14 -0
  188. package/src/lib/models/SearchPropertyValueType.d.ts +9 -0
  189. package/src/lib/models/SortDirection.d.ts +5 -0
  190. package/src/lib/models/TaskUser.d.ts +10 -0
  191. package/src/lib/models/Tenant.d.ts +22 -0
  192. package/src/lib/models/TenantConfig.d.ts +20 -0
  193. package/src/lib/models/TenantPriority.d.ts +10 -0
  194. package/src/lib/models/Ticket.d.ts +21 -0
  195. package/src/lib/models/TicketMessage.d.ts +11 -0
  196. package/src/lib/models/TicketStatus.d.ts +6 -0
  197. package/src/lib/models/UserRequest.d.ts +32 -0
  198. package/src/lib/models/auth-mechanism.d.ts +14 -0
  199. package/src/lib/models/base.d.ts +12 -0
  200. package/src/lib/models/conditions.d.ts +11 -0
  201. package/src/lib/models/index.d.ts +1 -0
  202. package/src/lib/models/log-in.d.ts +8 -0
  203. package/src/lib/models/mainUser.d.ts +19 -0
  204. package/src/lib/models/oauth-resp.d.ts +6 -0
  205. package/src/lib/models/oauth-response.d.ts +6 -0
  206. package/src/lib/models/object-state.d.ts +6 -0
  207. package/src/lib/models/otpValue.d.ts +9 -0
  208. package/src/lib/models/paged.d.ts +9 -0
  209. package/src/lib/models/public-api.d.ts +56 -0
  210. package/src/lib/models/query-params.d.ts +7 -0
  211. package/src/lib/models/request-status.d.ts +3 -0
  212. package/src/lib/models/resend-otp-data.d.ts +8 -0
  213. package/src/lib/models/sign-up.d.ts +9 -0
  214. package/src/lib/models/single-sign-on.d.ts +7 -0
  215. package/src/lib/models/status.d.ts +4 -0
  216. package/src/lib/models/user-access-request-status.d.ts +5 -0
  217. package/src/lib/models/user-access-request.d.ts +9 -0
  218. package/src/lib/models/user-management.d.ts +8 -0
  219. package/src/lib/models/user.d.ts +24 -0
  220. package/src/lib/pipes/async-label.pipe.d.ts +11 -0
  221. package/src/lib/pipes/company-date.pipe.d.ts +10 -0
  222. package/src/lib/pipes/ellipse-word.pipe.d.ts +8 -0
  223. package/src/lib/pipes/index.d.ts +1 -0
  224. package/src/lib/pipes/public-api.d.ts +3 -0
  225. package/src/lib/services/company-settings.service.d.ts +11 -0
  226. package/src/lib/services/environment.service.d.ts +22 -0
  227. package/src/lib/services/http-web-request.service.d.ts +24 -0
  228. package/src/lib/services/import.service.d.ts +14 -0
  229. package/src/lib/services/index.d.ts +1 -0
  230. package/src/lib/services/label.service.d.ts +24 -0
  231. package/src/lib/services/public-api.d.ts +7 -0
  232. package/src/lib/services/shared.service.d.ts +16 -0
  233. package/src/lib/services/util.service.d.ts +15 -0
  234. package/src/utils/components/base-data-view.component.d.ts +34 -0
  235. package/src/utils/index.d.ts +1 -0
  236. package/src/utils/models/DataViewConfig.d.ts +11 -0
  237. 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,11 @@
1
+ export declare enum ConditionOptions {
2
+ LessThan = "LT",
3
+ GreaterThan = "GT",
4
+ Equal = "EQ",
5
+ NotEqual = "NEQ",
6
+ On = "EQ",
7
+ Before = "LT",
8
+ After = "GT",
9
+ Yes = "EQ",
10
+ No = "NEQ"
11
+ }
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,8 @@
1
+ export interface LoginData {
2
+ MailAddress: string;
3
+ Password: string;
4
+ LoginType: string;
5
+ Tenant: string;
6
+ Secrete: string;
7
+ Token?: string;
8
+ }
@@ -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,6 @@
1
+ export interface IOauthResp {
2
+ AccessToken: string;
3
+ Email: string;
4
+ FirstName: string;
5
+ LastName: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface OAuthResponse {
2
+ FirstName: string;
3
+ LastName: string;
4
+ Email: string;
5
+ AccessToken: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum ObjectState {
2
+ New = "New",
3
+ Changed = "Changed",
4
+ Unchanged = "Unchanged",
5
+ Removed = "Removed"
6
+ }
@@ -0,0 +1,9 @@
1
+ import { MainUser } from "./mainUser";
2
+ export interface OtpData {
3
+ User: MainUser;
4
+ Token: string;
5
+ ValidateUrl: string;
6
+ Secret: string;
7
+ OTP?: string;
8
+ Info: string;
9
+ }
@@ -0,0 +1,9 @@
1
+ export interface Paged<T> {
2
+ Skip: number;
3
+ PageSize: number;
4
+ IsLoadingResults: boolean;
5
+ Total: number;
6
+ PageState?: unknown;
7
+ Result: T[];
8
+ LastItem: string[];
9
+ }
@@ -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,7 @@
1
+ export interface QueryParams<T> {
2
+ skip: number;
3
+ limit: number;
4
+ sortParam?: keyof T;
5
+ sortOrder: 'asc' | 'desc';
6
+ filterParam?: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ export declare enum RequestStatus {
2
+ Pending = "Pending"
3
+ }
@@ -0,0 +1,8 @@
1
+ export interface ResendOtpData {
2
+ MailAddress: string;
3
+ Password: string;
4
+ LoginType: string;
5
+ Tenant: string;
6
+ Secrete: string;
7
+ RedirectUri: string;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseModel } from "./base";
2
+ export interface SignUpData extends BaseModel {
3
+ Firstname: string;
4
+ Lastname: string;
5
+ Email: string;
6
+ Password: string;
7
+ Confirmpassword?: string;
8
+ Terms: boolean;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseModel } from "./base";
2
+ export interface SingleSignOn extends BaseModel {
3
+ Name: string;
4
+ Description?: string;
5
+ Logo: string;
6
+ Link: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum Status {
2
+ InActive = "InActive",
3
+ Active = "Active"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum UserAccessRequestStatus {
2
+ Pending = "Pending",
3
+ Approved = "Approved",
4
+ Declined = "Declined"
5
+ }
@@ -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,3 @@
1
+ export * from './ellipse-word.pipe';
2
+ export * from './company-date.pipe';
3
+ export * from './async-label.pipe';
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ export * from './components/base-data-view.component';
2
+ export * from './models/DataViewConfig';