ps-toolkit-ui 1.21.42 → 1.21.51

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 (169) hide show
  1. package/bundles/ps-toolkit-ui.umd.js +10321 -0
  2. package/bundles/ps-toolkit-ui.umd.js.map +1 -0
  3. package/bundles/ps-toolkit-ui.umd.min.js +2 -0
  4. package/bundles/ps-toolkit-ui.umd.min.js.map +1 -0
  5. package/esm2015/lib/classes/addModal.class.js +36 -0
  6. package/esm2015/lib/classes/chart.class.js +165 -0
  7. package/esm2015/lib/classes/currentDataClass.js +17 -0
  8. package/esm2015/lib/classes/enum.class.js +253 -0
  9. package/esm2015/lib/classes/excel.class.js +56 -0
  10. package/esm2015/lib/classes/form.class.js +667 -0
  11. package/esm2015/lib/classes/header.class.js +16 -0
  12. package/esm2015/lib/classes/helper.class.js +650 -0
  13. package/esm2015/lib/classes/lang.class.js +35 -0
  14. package/esm2015/lib/classes/login.class.js +29 -0
  15. package/esm2015/lib/classes/modal.class.js +49 -0
  16. package/esm2015/lib/classes/permission.class.js +63 -0
  17. package/esm2015/lib/classes/request.class.js +155 -0
  18. package/esm2015/lib/classes/safehtml.class.js +17 -0
  19. package/esm2015/lib/classes/safestyle.class.js +17 -0
  20. package/esm2015/lib/classes/sidebar.class.js +16 -0
  21. package/esm2015/lib/classes/steps.class.js +45 -0
  22. package/esm2015/lib/classes/string.class.js +251 -0
  23. package/esm2015/lib/classes/table.class.js +593 -0
  24. package/esm2015/lib/components/accordion/accordion.component.js +45 -0
  25. package/esm2015/lib/components/alert/alert.component.js +39 -0
  26. package/esm2015/lib/components/base.component.js +54 -0
  27. package/esm2015/lib/components/calendar/calendar.component.js +98 -0
  28. package/esm2015/lib/components/chart/chart.component.js +17 -0
  29. package/esm2015/lib/components/clock/clock.component.js +33 -0
  30. package/esm2015/lib/components/confirm/confirm.component.js +50 -0
  31. package/esm2015/lib/components/error/error.component.js +26 -0
  32. package/esm2015/lib/components/footer/footer.component.js +23 -0
  33. package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +200 -0
  34. package/esm2015/lib/components/form/button/form.button.component.js +68 -0
  35. package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +67 -0
  36. package/esm2015/lib/components/form/ckeditor/form.ckeditor.component.js +90 -0
  37. package/esm2015/lib/components/form/date/form.date.component.js +314 -0
  38. package/esm2015/lib/components/form/datetime/form.datetime.component.js +106 -0
  39. package/esm2015/lib/components/form/file/form.file.component.js +124 -0
  40. package/esm2015/lib/components/form/finger/form.finger.component.js +140 -0
  41. package/esm2015/lib/components/form/hidden/form.hidden.component.js +31 -0
  42. package/esm2015/lib/components/form/icon/form.icon.component.js +84 -0
  43. package/esm2015/lib/components/form/index/form.component.js +51 -0
  44. package/esm2015/lib/components/form/label/form.label.component.js +32 -0
  45. package/esm2015/lib/components/form/plaque/form.plaque.component.js +258 -0
  46. package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +468 -0
  47. package/esm2015/lib/components/form/radio/form.radio.component.js +82 -0
  48. package/esm2015/lib/components/form/select/form.select.component.js +452 -0
  49. package/esm2015/lib/components/form/select/item/form.select.item.component.js +27 -0
  50. package/esm2015/lib/components/form/slide/form.slide.component.js +84 -0
  51. package/esm2015/lib/components/form/star/form.star.component.js +66 -0
  52. package/esm2015/lib/components/form/table/form.table.component.js +96 -0
  53. package/esm2015/lib/components/form/tag/form.tag.component.js +100 -0
  54. package/esm2015/lib/components/form/textarea/form.textarea.component.js +83 -0
  55. package/esm2015/lib/components/form/textbox/form.textbox.component.js +227 -0
  56. package/esm2015/lib/components/form/time/form.time.component.js +149 -0
  57. package/esm2015/lib/components/form/toggle/form.toggle.component.js +72 -0
  58. package/esm2015/lib/components/form/tree/form.tree.component.js +157 -0
  59. package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +50 -0
  60. package/esm2015/lib/components/form/uploader/form.uploader.component.js +159 -0
  61. package/esm2015/lib/components/form/vehicle/form.vehicle.component.js +104 -0
  62. package/esm2015/lib/components/form/vehicle/search/form.vehicle.search.component.js +237 -0
  63. package/esm2015/lib/components/header/header.component.js +28 -0
  64. package/esm2015/lib/components/header/sub/sub.header.component.js +14 -0
  65. package/esm2015/lib/components/layout/layout.component.js +18 -0
  66. package/esm2015/lib/components/loading/loading.component.js +22 -0
  67. package/esm2015/lib/components/login/login.component.js +159 -0
  68. package/esm2015/lib/components/modal/modal.component.js +25 -0
  69. package/esm2015/lib/components/notfound/notfound.component.js +29 -0
  70. package/esm2015/lib/components/notification/notification.component.js +14 -0
  71. package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +55 -0
  72. package/esm2015/lib/components/sidebar/sidebar.component.js +98 -0
  73. package/esm2015/lib/components/steps/steps.component.js +88 -0
  74. package/esm2015/lib/components/table/loading/table.loading.component.js +17 -0
  75. package/esm2015/lib/components/table/pagination/table.pagination.component.js +84 -0
  76. package/esm2015/lib/components/table/row/table.row.component.js +450 -0
  77. package/esm2015/lib/components/table/table.component.js +240 -0
  78. package/esm2015/lib/components/tooltip/tooltip.component.js +19 -0
  79. package/esm2015/lib/ps-toolkit-ui.module.js +105 -0
  80. package/esm2015/lib/services/config.service.js +14 -0
  81. package/esm2015/lib/services/sidebar.service.js +21 -0
  82. package/esm2015/ps-toolkit-ui.js +21 -0
  83. package/esm2015/public-api.js +64 -0
  84. package/fesm2015/ps-toolkit-ui.js +8926 -0
  85. package/fesm2015/ps-toolkit-ui.js.map +1 -0
  86. package/lib/classes/addModal.class.d.ts +14 -0
  87. package/lib/classes/chart.class.d.ts +15 -0
  88. package/lib/classes/currentDataClass.d.ts +10 -0
  89. package/lib/classes/enum.class.d.ts +221 -0
  90. package/lib/classes/excel.class.d.ts +8 -0
  91. package/lib/classes/form.class.d.ts +193 -0
  92. package/lib/classes/header.class.d.ts +8 -0
  93. package/lib/classes/helper.class.d.ts +50 -0
  94. package/lib/classes/lang.class.d.ts +5 -0
  95. package/lib/classes/login.class.d.ts +21 -0
  96. package/lib/classes/modal.class.d.ts +19 -0
  97. package/lib/classes/permission.class.d.ts +35 -0
  98. package/lib/classes/request.class.d.ts +10 -0
  99. package/lib/classes/safehtml.class.d.ts +7 -0
  100. package/lib/classes/safestyle.class.d.ts +7 -0
  101. package/lib/classes/sidebar.class.d.ts +14 -0
  102. package/lib/classes/steps.class.d.ts +31 -0
  103. package/lib/classes/string.class.d.ts +249 -0
  104. package/lib/classes/table.class.d.ts +88 -0
  105. package/lib/components/accordion/accordion.component.d.ts +7 -0
  106. package/lib/components/alert/alert.component.d.ts +10 -0
  107. package/lib/components/base.component.d.ts +17 -0
  108. package/lib/components/calendar/calendar.component.d.ts +26 -0
  109. package/lib/components/chart/chart.component.d.ts +5 -0
  110. package/lib/components/clock/clock.component.d.ts +11 -0
  111. package/lib/components/confirm/confirm.component.d.ts +14 -0
  112. package/lib/components/error/error.component.d.ts +7 -0
  113. package/lib/components/footer/footer.component.d.ts +6 -0
  114. package/lib/components/form/bank-card/form.bank-card.component.d.ts +28 -0
  115. package/lib/components/form/button/form.button.component.d.ts +15 -0
  116. package/lib/components/form/checkbox/form.checkbox.component.d.ts +14 -0
  117. package/lib/components/form/ckeditor/form.ckeditor.component.d.ts +14 -0
  118. package/lib/components/form/date/form.date.component.d.ts +45 -0
  119. package/lib/components/form/datetime/form.datetime.component.d.ts +13 -0
  120. package/lib/components/form/file/form.file.component.d.ts +18 -0
  121. package/lib/components/form/finger/form.finger.component.d.ts +15 -0
  122. package/lib/components/form/hidden/form.hidden.component.d.ts +7 -0
  123. package/lib/components/form/icon/form.icon.component.d.ts +16 -0
  124. package/lib/components/form/index/form.component.d.ts +10 -0
  125. package/lib/components/form/label/form.label.component.d.ts +8 -0
  126. package/lib/components/form/plaque/form.plaque.component.d.ts +21 -0
  127. package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +38 -0
  128. package/lib/components/form/radio/form.radio.component.d.ts +13 -0
  129. package/lib/components/form/select/form.select.component.d.ts +45 -0
  130. package/lib/components/form/select/item/form.select.item.component.d.ts +12 -0
  131. package/lib/components/form/slide/form.slide.component.d.ts +13 -0
  132. package/lib/components/form/star/form.star.component.d.ts +13 -0
  133. package/lib/components/form/table/form.table.component.d.ts +9 -0
  134. package/lib/components/form/tag/form.tag.component.d.ts +16 -0
  135. package/lib/components/form/textarea/form.textarea.component.d.ts +13 -0
  136. package/lib/components/form/textbox/form.textbox.component.d.ts +20 -0
  137. package/lib/components/form/time/form.time.component.d.ts +25 -0
  138. package/lib/components/form/toggle/form.toggle.component.d.ts +13 -0
  139. package/lib/components/form/tree/form.tree.component.d.ts +21 -0
  140. package/lib/components/form/tree/item/form.tree.item.component.d.ts +19 -0
  141. package/lib/components/form/uploader/form.uploader.component.d.ts +21 -0
  142. package/lib/components/form/vehicle/form.vehicle.component.d.ts +18 -0
  143. package/lib/components/form/vehicle/search/form.vehicle.search.component.d.ts +22 -0
  144. package/lib/components/header/header.component.d.ts +10 -0
  145. package/lib/components/header/sub/sub.header.component.d.ts +3 -0
  146. package/lib/components/layout/layout.component.d.ts +7 -0
  147. package/lib/components/loading/loading.component.d.ts +5 -0
  148. package/lib/components/login/login.component.d.ts +15 -0
  149. package/lib/components/modal/modal.component.d.ts +9 -0
  150. package/lib/components/notfound/notfound.component.d.ts +8 -0
  151. package/lib/components/notification/notification.component.d.ts +3 -0
  152. package/lib/components/sidebar/item/sidebar.item.component.d.ts +14 -0
  153. package/lib/components/sidebar/sidebar.component.d.ts +22 -0
  154. package/lib/components/steps/steps.component.d.ts +16 -0
  155. package/lib/components/table/loading/table.loading.component.d.ts +5 -0
  156. package/lib/components/table/pagination/table.pagination.component.d.ts +15 -0
  157. package/lib/components/table/row/table.row.component.d.ts +44 -0
  158. package/lib/components/table/table.component.d.ts +43 -0
  159. package/lib/components/tooltip/tooltip.component.d.ts +5 -0
  160. package/lib/ps-toolkit-ui.module.d.ts +4 -0
  161. package/lib/services/config.service.d.ts +6 -0
  162. package/lib/services/sidebar.service.d.ts +9 -0
  163. package/package.json +12 -16
  164. package/ps-toolkit-ui.d.ts +20 -0
  165. package/ps-toolkit-ui.metadata.json +1 -0
  166. package/public-api.d.ts +60 -0
  167. package/fesm2022/ps-toolkit-ui.mjs +0 -9472
  168. package/fesm2022/ps-toolkit-ui.mjs.map +0 -1
  169. package/types/ps-toolkit-ui.d.ts +0 -1671
@@ -1,1671 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter, ElementRef, OnDestroy, ModuleWithProviders } from '@angular/core';
3
- import { Chart } from 'highcharts';
4
- import * as i56 from '@angular/router';
5
- import { Router } from '@angular/router';
6
- import moment from 'jalali-moment';
7
- import * as rxjs from 'rxjs';
8
- import * as i44 from '@angular/common';
9
- import * as i57 from '@angular/forms';
10
- import * as i58 from 'ckeditor4-angular';
11
-
12
- declare class EnumUtils {
13
- static getValues(enumObj: any): any[];
14
- static getKeyByValue(enumObj: any, v: any): any[];
15
- static getKeys(enumObj: any): any[];
16
- static getKeysAndValues(enumObj: any): any[];
17
- }
18
- declare enum InputError {
19
- Required = "Required",
20
- Invalid = "Invalid",
21
- Length = "Length",
22
- MinLength = "MinLength",
23
- MaxLength = "MaxLength",
24
- MinAmount = "MinAmount",
25
- MaxAmount = "MaxAmount",
26
- Expired = "Expired",
27
- Error = "Error",
28
- NotMatch = "NotMatch",
29
- NotAllowed = "NotAllowed",
30
- MaxContent = "MaxContent",
31
- Exist = "Exist",
32
- NotExist = "NotExist",
33
- Wrong = "Wrong",
34
- Upload = "Upload"
35
- }
36
- declare enum InputType {
37
- Text = 0,
38
- Password = 1,
39
- Mobile = 2,
40
- Phone = 3,
41
- Email = 4,
42
- NationalCode = 5,
43
- NationalNum = 6,
44
- NationalCodeNum = 7,
45
- EconomicNum = 8,
46
- PostalCode = 9,
47
- Sheba = 10,
48
- Number = 11,
49
- Select = 12,
50
- SelectSearch = 13,
51
- SelectSearchRadio = 14,
52
- SelectAutoComplete = 15,
53
- Date = 16,
54
- Month = 17,
55
- Year = 18,
56
- Time = 19,
57
- DateTime = 20,
58
- Check = 21,
59
- TextArea = 22,
60
- Label = 23,
61
- Button = 24,
62
- Submit = 25,
63
- Icon = 26,
64
- File = 27,
65
- Url = 28,
66
- Price = 29,
67
- Radio = 30,
68
- Tree = 31,
69
- TreeRadio = 32,
70
- Plaque = 33,
71
- PlaqueM = 34,
72
- PlaqueF = 35,
73
- PlaqueG = 36,
74
- SelectAutoCompletePlaque = 37,
75
- SelectAutoCompletePlaqueM = 38,
76
- SelectAutoCompletePlaqueF = 39,
77
- SelectAutoCompletePlaqueG = 40,
78
- BankCard = 41,
79
- Constant = 42,
80
- Hidden = 43,
81
- Table = 44,
82
- Tag = 45,
83
- VehicleSearch = 46,
84
- Vehicle = 47,
85
- Finger = 48,
86
- Color = 49,
87
- Star = 50,
88
- Toggle = 51,
89
- BillNumber = 52,
90
- Ckeditor = 53,
91
- Uploader = 54,
92
- Slide = 55,
93
- Username = 56
94
- }
95
- declare enum OperationEnum {
96
- All = -1,
97
- Insert = 1,
98
- Update = 2,
99
- Delete = 3
100
- }
101
- declare enum Method {
102
- Get = 0,
103
- Post = 1,
104
- Delete = 2,
105
- Put = 3,
106
- Options = 4,
107
- Patch = 5
108
- }
109
- declare enum TableCollType {
110
- Text = 0,
111
- Date = 1,
112
- Time = 2,
113
- DateTime = 3,
114
- DateDif = 4,
115
- DateRemain = 5,
116
- Url = 6,
117
- Image = 7,
118
- Function = 8,
119
- Price = 9,
120
- Plaque = 10,
121
- PlaqueText = 11,
122
- FileSize = 12,
123
- Bool = 13,
124
- Options = 14,
125
- Color = 15,
126
- Number = 16,
127
- Files = 17,
128
- Month = 18,
129
- Year = 19
130
- }
131
- declare enum TableExportType {
132
- List = "list",
133
- Print = "print",
134
- Excel = "excel",
135
- Pdf = "pdf"
136
- }
137
- declare enum UserType {
138
- All = 0,
139
- Admin = 1,
140
- User = 2
141
- }
142
- declare enum StatusEnum {
143
- All = -1,
144
- Active = 0,
145
- DeActive = 1,
146
- Delete = 2,
147
- Report = 3
148
- }
149
- declare enum PaymentStatusEnum {
150
- Returned = -1,
151
- All = 0,
152
- Success = 100,
153
- NOK = 102,
154
- Request = 103,
155
- Notfound = 104,
156
- NotRequest = 105,
157
- NotfoundPackage = 106
158
- }
159
- declare enum ResultStatusEnum {
160
- Failed = 0,
161
- Success = 1,
162
- Unauthorized = 2,
163
- NotPermission = 3,
164
- NotAccess = 4,
165
- NotRegistered = 5,
166
- ExpiredRegistered = 6,
167
- InvalidIp = 7,
168
- NoCredit = 8
169
- }
170
- declare enum PermissionTypeEnum {
171
- Form = -1,
172
- Item = 0,
173
- Access = 1,
174
- Option = 2
175
- }
176
- declare enum PermissionAccessTypeEnum {
177
- List = 1,
178
- Insert = 2,
179
- Update = 3,
180
- Delete = 4,
181
- Report = 5
182
- }
183
- declare enum PermissionInputActionEnum {
184
- None = 0,
185
- OnClick = 1,
186
- Link = 2,
187
- LinkNewTab = 3,
188
- File = 4,
189
- Modal = 5,
190
- Confirm = 6,
191
- Input = 7
192
- }
193
- declare enum PermissionInputTypeEnum {
194
- Icon = 0,
195
- Button = 1
196
- }
197
- declare enum VehicleType {
198
- Driver = -2,
199
- Fingerprint = -1,
200
- Car = 1,
201
- Motorcycle = 2,
202
- Airplane = 3,
203
- Train = 4,
204
- Ship = 5,
205
- CarF = 6,
206
- CarG = 7
207
- }
208
- declare enum TableOptionType {
209
- Hidden = 1,
210
- Show = 2,
211
- Group = 3
212
- }
213
- declare enum TableRowStatus {
214
- Unread = 1
215
- }
216
- declare enum FileIcons {
217
- jpeg = "fad fa-file-image",
218
- jpg = "fad fa-file-image",
219
- png = "fad fa-file-image",
220
- doc = "fad fa-file-word",
221
- docx = "fad fa-file-word",
222
- xls = "fad fa-file-excel",
223
- xlsx = "fad fa-file-excel",
224
- csv = "fad fa-file-csv",
225
- ppt = "fad fa-file-powerpoint",
226
- pptx = "fad fa-file-powerpoint",
227
- txt = "fad fa-file-lines",
228
- pdf = "fad fa-file-pdf",
229
- file = "fad fa-file",
230
- zip = "fad fa-file-zipper",
231
- rar = "fad fa-file-zipper"
232
- }
233
-
234
- declare class ModalClass {
235
- constructor(environment: any, l: (k: any, v?: any) => string, name: string, cls?: string);
236
- environment: any;
237
- l: (k: any, v?: any) => string;
238
- name: string;
239
- id: string;
240
- class: string;
241
- relatedId: null;
242
- form: FormClass;
243
- firstForm: boolean;
244
- table: TableClass;
245
- accordion: AccordionClass;
246
- onShow: (data: any) => void;
247
- onHide: () => void;
248
- show(data?: any): void;
249
- hide(): void;
250
- }
251
-
252
- declare class PermissionClass {
253
- Name: string;
254
- Icon: string;
255
- Type: PermissionTypeEnum;
256
- InputType: PermissionInputTypeEnum;
257
- AccessType: PermissionAccessTypeEnum;
258
- InputAction: PermissionInputActionEnum;
259
- Area: string;
260
- Controller: string;
261
- Action: string;
262
- Url: string;
263
- Multi: boolean;
264
- Condition: string;
265
- Accesses: PermissionClass[];
266
- constructor(Name?: string, Icon?: string, Type?: PermissionTypeEnum, InputType?: PermissionInputTypeEnum, AccessType?: PermissionAccessTypeEnum, InputAction?: PermissionInputActionEnum, Area?: string, Controller?: string, Action?: string, Url?: string, Multi?: boolean, Condition?: string, Accesses?: PermissionClass[]);
267
- Modal: ModalClass;
268
- Id: string;
269
- ParentId: string;
270
- RelatedId: string;
271
- OnClick: (btn: any) => void;
272
- getAccessByName(a: string): PermissionClass;
273
- getAccess(at: PermissionAccessTypeEnum): PermissionClass;
274
- hasAccessByName(a: string): boolean;
275
- hasAccess(at: PermissionAccessTypeEnum): boolean;
276
- getAccesses(): PermissionClass[];
277
- delete(a: string): void;
278
- hasOptionByName(a: string): boolean;
279
- hasOption(at: PermissionAccessTypeEnum): boolean;
280
- getOptions(): PermissionClass[];
281
- getOptionByName(a: string): PermissionClass;
282
- getOption(at: PermissionAccessTypeEnum): PermissionClass;
283
- getUrl(): string;
284
- }
285
-
286
- declare class TableClass {
287
- constructor(environment: any, l: (k: any, v?: any) => string, permissions: PermissionClass, name?: string, cls?: string, perPage?: number, height?: number);
288
- environment: any;
289
- l: (k: any, v?: any) => string;
290
- permissions: PermissionClass;
291
- permission: boolean;
292
- name: string;
293
- id: string;
294
- class: string;
295
- style: {};
296
- url: any;
297
- method: Method;
298
- height: number;
299
- perPage: number;
300
- cols: TableCollClass[];
301
- buttons: InputClass[];
302
- optionsActions: any[];
303
- rows: any[];
304
- count: number;
305
- page: number;
306
- sort: any;
307
- title: any;
308
- description: any;
309
- sortType: any;
310
- displayLabel: boolean;
311
- sortable: boolean;
312
- expertSearch: boolean;
313
- optionType: TableOptionType;
314
- loading: boolean;
315
- hasChildren: boolean;
316
- vertical: boolean;
317
- childrenAutoLoad: boolean;
318
- withCheck: boolean;
319
- withSelect: boolean;
320
- showExtraButtons: boolean;
321
- firstLoad: boolean;
322
- extraButtons: InputClass[];
323
- optionButtons: InputClass[];
324
- form: FormClass;
325
- searchForm: FormClass;
326
- modal: ModalClass;
327
- level: any;
328
- withRelatedRow: boolean;
329
- relatedRow: any;
330
- listAccess: PermissionClass;
331
- insertAccess: PermissionClass;
332
- subTable: TableClass;
333
- request: any;
334
- onLoad: (data: any) => void;
335
- onSelectRow: (row: any) => void;
336
- onDblClickRow: (row: any) => void;
337
- onRightClickRow: (row: any) => void;
338
- onChangeCheck: (row: any) => void;
339
- onSort: () => void;
340
- getRowClass: (row: any) => string;
341
- showConfirm: (l: string, url: string, data: any, accept: (btn: InputClass) => void) => void;
342
- load(btn?: any): void;
343
- data(): any[];
344
- setCols(): void;
345
- sendRequest(btn?: InputClass): void;
346
- getOptionUrl(url: any, relatedId: any, rowId: any): string;
347
- searchData(report?: boolean): {};
348
- addData(d: {}, name: string, vl: any): void;
349
- getUrl(url: string): string;
350
- showInsertModal(cId?: any, level?: any, data?: any): void;
351
- set(changeRows?: any): void;
352
- onTopFormSubmit(data: any, changeRows?: any): void;
353
- getCell(row: any, col: TableCollClass): any;
354
- excel(): void;
355
- getText(s: any): string;
356
- }
357
- declare class TableCollClass {
358
- constructor(name: string, cls?: string, type?: TableCollType, withSearch?: boolean, sort?: boolean);
359
- enum: any;
360
- name: string;
361
- class: string;
362
- default: string;
363
- sort: boolean;
364
- withSearch: boolean;
365
- search: InputClass;
366
- searchDefault: any;
367
- type: TableCollType;
368
- fun: (row: any) => void;
369
- }
370
-
371
- declare class ChartClass {
372
- constructor(l: (k: any, v?: any) => string, name: string);
373
- l: (k: any, v?: any) => string;
374
- name: string;
375
- chart: Chart;
376
- style: {};
377
- loading: boolean;
378
- empty: boolean;
379
- options: {};
380
- setChart(cOpt: any, categories?: any[]): void;
381
- destroy(): void;
382
- getSymbol(point: any): string;
383
- merge(b: any, c: any): any;
384
- }
385
-
386
- declare class Progress {
387
- constructor(secs: number);
388
- secs: number;
389
- remainSecs: number;
390
- percent: number;
391
- interVal: any;
392
- onEnd: () => void;
393
- onStart: () => void;
394
- onTick: (m: number, s: number) => void;
395
- start: () => void;
396
- }
397
- declare class FormClass {
398
- constructor(environment: any, l: (k: any, v?: any) => string, name?: string, permission?: boolean, url?: string, cls?: string);
399
- l: (k: any, v?: any) => string;
400
- permission: boolean;
401
- environment: any;
402
- name: string;
403
- isEdit: boolean;
404
- subName: string;
405
- id: string;
406
- class: string;
407
- baseUrl: string;
408
- url: string;
409
- method: Method;
410
- loading: boolean;
411
- style: {};
412
- onTop: boolean;
413
- displayLabel: boolean;
414
- request: any;
415
- inputs: InputClass[];
416
- onSuccessBase: (result: any) => void;
417
- onSuccess: (result: any) => void;
418
- onFailed: (result: any) => void;
419
- onLoad: (result: any) => void;
420
- onBeforeSubmit: () => boolean;
421
- onHideModal: () => void;
422
- onShowModal: () => void;
423
- loadData(url: any): void;
424
- focus(): void;
425
- submit(onSubmit?: any): void;
426
- check(): boolean;
427
- clear(insertAccess?: boolean): void;
428
- clearInputs(): void;
429
- setButtons(formOnTop: any, edit: boolean, insertAccess?: boolean, updateAccess?: boolean): void;
430
- addButtons(name?: string, cls?: string, clear?: boolean, insertAccess?: boolean, onSubmit?: any): void;
431
- data(d?: any): any;
432
- json(d?: any): {};
433
- setData(d: any): void;
434
- setError(res: any): void;
435
- }
436
- declare class InputClass {
437
- constructor(environment: any, l: (k: any, v?: any) => string, name: string, icon?: string, type?: InputType, cls?: string, value?: any, required?: boolean, minLength?: number, maxLength?: number);
438
- environment: any;
439
- l: (k: any, v?: any) => string;
440
- name: string;
441
- url: any;
442
- queryParams: any;
443
- urlNewTab: boolean;
444
- loadingName: string;
445
- placeholder: string;
446
- tooltip: string;
447
- id: string;
448
- icon: string;
449
- addNew: boolean;
450
- class: string;
451
- description: string;
452
- type: InputType;
453
- value: any;
454
- search: any;
455
- default: any;
456
- baseRequired: boolean;
457
- required: boolean;
458
- disabled: boolean;
459
- inEditDisabled: boolean;
460
- inEditVisible: boolean;
461
- inEditRequired: boolean;
462
- displayLabel: boolean;
463
- label: string;
464
- withClear: boolean;
465
- minLength: number;
466
- maxLength: number;
467
- error: InputError;
468
- addModal: ModalClass;
469
- loading: boolean;
470
- button: any;
471
- hasBarcodeReader: boolean;
472
- onBarcodeReaderChange: any;
473
- onClickButton: (inp: any) => void;
474
- progress: Progress;
475
- onClick: (btn: any) => void;
476
- onKeyUp: (inp: any) => void;
477
- onKeyDown: (e: any) => void;
478
- options: OptionClass[];
479
- match: InputClass;
480
- rel: InputClass;
481
- relUrl: string;
482
- table: TableClass;
483
- style: {};
484
- position: string;
485
- onChange: (v: any, e?: any) => void;
486
- hover: number;
487
- visible: boolean;
488
- open: boolean;
489
- multiple: boolean;
490
- onlyChild: boolean;
491
- allowed: any;
492
- row: any;
493
- rows: any[];
494
- level: any;
495
- modal: ModalClass;
496
- request: any;
497
- nameFun: (r: any) => void;
498
- onFocusIn: (e: any) => void;
499
- onFocusOut: (e: any) => void;
500
- focus(changeIndex?: boolean): void;
501
- changeType: (t: InputType) => void;
502
- setValue: (v: any, isEdit: any) => void;
503
- setSearch: (v: any) => void;
504
- clear: () => void;
505
- focusOut: () => void;
506
- data: () => any;
507
- isValid: () => boolean;
508
- load(u?: any, done?: () => void): void;
509
- setOptions(r: any): void;
510
- getSelectedOptionData(): any;
511
- getOptions(r: any, p: any, tree?: boolean): OptionClass[];
512
- getRows(r: any, p: any): TreeRowClass[];
513
- getLabel(): string;
514
- getSelected(opts?: OptionClass[]): any[];
515
- getSelectedName(opts?: OptionClass[]): any[];
516
- getSelectedOptions(opts?: OptionClass[]): any[];
517
- getSelectedRows(rows?: any[]): any[];
518
- getAllRows(rows?: any[]): any[];
519
- }
520
- declare class OptionClass {
521
- constructor(name: string, value: string, options?: OptionClass[], cls?: string, dis?: boolean);
522
- option: any;
523
- search: string;
524
- class: string;
525
- name: string;
526
- value: string;
527
- show: boolean;
528
- selected: boolean;
529
- parent: OptionClass;
530
- options: OptionClass[];
531
- loading: boolean;
532
- disabled: boolean;
533
- }
534
- declare class DayClass {
535
- constructor(day: number, today: boolean, selected: boolean, active: boolean);
536
- day: number;
537
- today: boolean;
538
- selected: boolean;
539
- active: boolean;
540
- class: string;
541
- }
542
- declare class TreeRowClass {
543
- constructor(name: string, value: string, selected?: boolean, children?: TreeRowClass[]);
544
- name: string;
545
- value: string;
546
- selected: boolean;
547
- parent: TreeRowClass;
548
- children: TreeRowClass[];
549
- }
550
- declare class AccordionClass {
551
- constructor(l: (k: any, v?: any) => string, name: string, cls: string, rows: AccordionRowClass[]);
552
- l: (k: any, v?: any) => string;
553
- name: string;
554
- class: string;
555
- rows: AccordionRowClass[];
556
- hasDelete: boolean;
557
- displayLabel: boolean;
558
- loading: boolean;
559
- access: boolean;
560
- onDelete: (row: any) => void;
561
- check(): boolean;
562
- }
563
- declare class AccordionRowClass {
564
- constructor(id: string, name: string, form?: FormClass, table?: TableClass);
565
- id: string;
566
- name: string;
567
- show: boolean;
568
- firstTable: boolean;
569
- form: FormClass;
570
- chart: ChartClass;
571
- table: TableClass;
572
- toggle(): void;
573
- open(): void;
574
- }
575
-
576
- declare class FormSelectItemComponent implements OnInit {
577
- selectOption: EventEmitter<string>;
578
- select: InputClass;
579
- item: OptionClass;
580
- parent: OptionClass;
581
- level: number;
582
- get type(): typeof InputType;
583
- ngOnInit(): void;
584
- static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectItemComponent, never>;
585
- static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectItemComponent, "lib-form-select-item", never, { "select": { "alias": "select"; "required": false; }; "item": { "alias": "item"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "level": { "alias": "level"; "required": false; }; }, { "selectOption": "selectOption"; }, never, never, true, never>;
586
- }
587
-
588
- declare class FormCheckboxComponent implements OnInit {
589
- inp: InputClass;
590
- changeIndex: EventEmitter<string>;
591
- inputBase: ElementRef;
592
- inputDiv: ElementRef;
593
- constructor();
594
- ngOnInit(): void;
595
- onFocusIn(): void;
596
- onClick(): void;
597
- onChange(): void;
598
- onKeyDown(e: any): void;
599
- static ɵfac: i0.ɵɵFactoryDeclaration<FormCheckboxComponent, never>;
600
- static ɵcmp: i0.ɵɵComponentDeclaration<FormCheckboxComponent, "lib-form-checkbox", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
601
- }
602
-
603
- declare class TablePaginationComponent implements OnInit {
604
- table: TableClass;
605
- size: number;
606
- perPageSelect: InputClass;
607
- next: InputClass;
608
- get type(): typeof InputType;
609
- getButtons(): InputClass[];
610
- add(s: number, f: number): InputClass[];
611
- changePage(btn: any): void;
612
- ngOnInit(): void;
613
- static ɵfac: i0.ɵɵFactoryDeclaration<TablePaginationComponent, never>;
614
- static ɵcmp: i0.ɵɵComponentDeclaration<TablePaginationComponent, "lib-table-pagination", never, { "table": { "alias": "table"; "required": false; }; }, {}, never, never, true, never>;
615
- }
616
-
617
- declare class FormBankCardComponent implements OnInit {
618
- inp: InputClass;
619
- changeIndex: EventEmitter<string>;
620
- cValue: string;
621
- get type(): typeof InputType;
622
- part1: InputClass;
623
- part2: InputClass;
624
- part3: InputClass;
625
- part4: InputClass;
626
- inputPart1: ElementRef;
627
- inputPart2: ElementRef;
628
- inputPart3: ElementRef;
629
- inputPart4: ElementRef;
630
- inputIcon: ElementRef;
631
- banks: {
632
- name: string;
633
- startWith: string[];
634
- }[];
635
- ngOnInit(): void;
636
- setIcon(): void;
637
- changeFocus(p: any, a: any): void;
638
- onFocusIn(e?: any): void;
639
- onKeyDown(e: any): void;
640
- getValue(): string;
641
- static ɵfac: i0.ɵɵFactoryDeclaration<FormBankCardComponent, never>;
642
- static ɵcmp: i0.ɵɵComponentDeclaration<FormBankCardComponent, "lib-form-bank-card", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
643
- }
644
-
645
- declare class FormPlaqueSelectComponent implements OnInit {
646
- changeIndex: EventEmitter<string>;
647
- inp: InputClass;
648
- cSearch: string;
649
- open: boolean;
650
- top: boolean;
651
- part1: InputClass;
652
- part2: InputClass;
653
- part3: InputClass;
654
- part4: InputClass;
655
- get type(): typeof InputType;
656
- inputDiv: ElementRef;
657
- inputOptionsDiv: ElementRef;
658
- ngOnInit(): void;
659
- onFocusOutCloseOptions(e: any): void;
660
- loadOptions(): void;
661
- openOptions(f?: boolean): boolean;
662
- focusInput(f?: boolean): void;
663
- closeOptions(): boolean;
664
- setPosition(): void;
665
- onKeyDown(e: any): void;
666
- toggleOption(): void;
667
- selectOption(v: any, isEdit?: boolean): void;
668
- cI(i: string): void;
669
- getValue(v: any, o?: OptionClass[]): any;
670
- plaqueChangeFocus(p: any, a: any): void;
671
- getSearch(): string;
672
- setHoverCenter(): void;
673
- removeHover(): void;
674
- getSelectedHover(): any;
675
- setHoverUp(): void;
676
- setHoverDown(): void;
677
- static ɵfac: i0.ɵɵFactoryDeclaration<FormPlaqueSelectComponent, never>;
678
- static ɵcmp: i0.ɵɵComponentDeclaration<FormPlaqueSelectComponent, "lib-form-plaque-select", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
679
- }
680
-
681
- declare class TableLoadingComponent {
682
- table: TableClass;
683
- constructor();
684
- static ɵfac: i0.ɵɵFactoryDeclaration<TableLoadingComponent, never>;
685
- static ɵcmp: i0.ɵɵComponentDeclaration<TableLoadingComponent, "lib-table-loading", never, { "table": { "alias": "table"; "required": false; }; }, {}, never, never, true, never>;
686
- }
687
-
688
- declare class FormTreeItemComponent implements OnInit {
689
- item: TreeRowClass;
690
- level: number;
691
- index: number;
692
- tree: InputClass;
693
- parent: TreeRowClass;
694
- base: boolean;
695
- toggle: EventEmitter<TreeRowClass>;
696
- inputDiv: ElementRef;
697
- inputBase: ElementRef;
698
- get type(): typeof InputType;
699
- constructor();
700
- ngOnInit(): void;
701
- openClose(e: any): void;
702
- onClick(): void;
703
- static ɵfac: i0.ɵɵFactoryDeclaration<FormTreeItemComponent, never>;
704
- static ɵcmp: i0.ɵɵComponentDeclaration<FormTreeItemComponent, "lib-form-tree-item", never, { "item": { "alias": "item"; "required": false; }; "level": { "alias": "level"; "required": false; }; "index": { "alias": "index"; "required": false; }; "tree": { "alias": "tree"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "base": { "alias": "base"; "required": false; }; }, { "toggle": "toggle"; }, never, never, true, never>;
705
- }
706
-
707
- declare class FormTextboxComponent implements OnInit {
708
- inp: InputClass;
709
- cValue: string;
710
- changeIndex: EventEmitter<string>;
711
- get type(): typeof InputType;
712
- inputBase: ElementRef;
713
- inputDiv: ElementRef;
714
- inputLabel: ElementRef;
715
- ngOnInit(): void;
716
- onFocusIn(changeIndex?: boolean): void;
717
- onFocusOut(e: any): void;
718
- onChange(e: any): void;
719
- onKeyUp(e: any): void;
720
- onClickButton(): void;
721
- onKeyDown(e: any): void;
722
- getValue(): string;
723
- static ɵfac: i0.ɵɵFactoryDeclaration<FormTextboxComponent, never>;
724
- static ɵcmp: i0.ɵɵComponentDeclaration<FormTextboxComponent, "lib-form-textbox", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
725
- }
726
-
727
- declare class FormTextareaComponent implements OnInit {
728
- inp: InputClass;
729
- changeIndex: EventEmitter<string>;
730
- inputBase: ElementRef;
731
- inputDiv: ElementRef;
732
- constructor();
733
- ngOnInit(): void;
734
- onFocusIn(): void;
735
- onKeyDown(e: any): void;
736
- static ɵfac: i0.ɵɵFactoryDeclaration<FormTextareaComponent, never>;
737
- static ɵcmp: i0.ɵɵComponentDeclaration<FormTextareaComponent, "lib-form-textarea", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
738
- }
739
-
740
- declare class FormIconComponent implements OnInit {
741
- inp: InputClass;
742
- changeIndex: EventEmitter<string>;
743
- inputDiv: ElementRef;
744
- inputBase: ElementRef;
745
- constructor();
746
- ngOnInit(): void;
747
- onFocusIn(e?: any): void;
748
- onFocusOut(e?: any): void;
749
- onClick(e: any): void;
750
- mouseClick(e: any): void;
751
- codeClick(e: any): void;
752
- onKeyDown(e: any): void;
753
- static ɵfac: i0.ɵɵFactoryDeclaration<FormIconComponent, never>;
754
- static ɵcmp: i0.ɵɵComponentDeclaration<FormIconComponent, "lib-form-icon", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
755
- }
756
-
757
- declare class FormButtonComponent implements OnInit {
758
- inp: InputClass;
759
- changeIndex: EventEmitter<string>;
760
- inputDiv: ElementRef;
761
- inputBase: ElementRef;
762
- constructor();
763
- ngOnInit(): void;
764
- onFocusIn(): void;
765
- onClick(e: any): void;
766
- mouseClick(): void;
767
- codeClick(): void;
768
- onKeyDown(e: any): void;
769
- static ɵfac: i0.ɵɵFactoryDeclaration<FormButtonComponent, never>;
770
- static ɵcmp: i0.ɵɵComponentDeclaration<FormButtonComponent, "lib-form-button", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
771
- }
772
-
773
- declare class FormDatetimeComponent implements OnInit {
774
- inp: InputClass;
775
- inForm: boolean;
776
- changeIndex: EventEmitter<string>;
777
- date: InputClass;
778
- time: InputClass;
779
- constructor();
780
- ngOnInit(): void;
781
- changeFocus(p: any, a: any): void;
782
- getValue(): string;
783
- static ɵfac: i0.ɵɵFactoryDeclaration<FormDatetimeComponent, never>;
784
- static ɵcmp: i0.ɵɵComponentDeclaration<FormDatetimeComponent, "lib-form-datetime", never, { "inp": { "alias": "inp"; "required": false; }; "inForm": { "alias": "inForm"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
785
- }
786
-
787
- declare class FormPlaqueComponent implements OnInit {
788
- inp: InputClass;
789
- changeIndex: EventEmitter<string>;
790
- part1: InputClass;
791
- part2: InputClass;
792
- part3: InputClass;
793
- part4: InputClass;
794
- get type(): typeof InputType;
795
- inputDiv: ElementRef;
796
- constructor();
797
- ngOnInit(): void;
798
- changeFocus(p: any, a: any): void;
799
- onFocusIn(e?: any): void;
800
- onKeyDown(e: any): void;
801
- getValue(): string;
802
- static ɵfac: i0.ɵɵFactoryDeclaration<FormPlaqueComponent, never>;
803
- static ɵcmp: i0.ɵɵComponentDeclaration<FormPlaqueComponent, "lib-form-plaque", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
804
- }
805
-
806
- declare class FormFileComponent implements OnInit {
807
- inp: InputClass;
808
- changeIndex: EventEmitter<string>;
809
- inputDiv: ElementRef;
810
- inputBaseFile: ElementRef;
811
- inputBase: ElementRef;
812
- id: string;
813
- constructor();
814
- ngOnInit(): void;
815
- getPdfImage(file: any): any;
816
- onClick(): void;
817
- onChange(e: any): void;
818
- onKeyDown(e: any): void;
819
- onFocusIn(): void;
820
- title(): string;
821
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFileComponent, never>;
822
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFileComponent, "lib-form-file", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
823
- }
824
-
825
- declare class FormSelectComponent implements OnInit {
826
- changeIndex: EventEmitter<string>;
827
- inp: InputClass;
828
- inForm: boolean;
829
- cSearch: string;
830
- addIcon: InputClass;
831
- get type(): typeof InputType;
832
- inputDiv: ElementRef;
833
- inputBase: ElementRef;
834
- inputOptionsDiv: ElementRef;
835
- ngOnInit(): void;
836
- setValue(ids: any, rows?: OptionClass[]): boolean;
837
- loadOptions(): void;
838
- openOptions(): void;
839
- onFocusOut(): void;
840
- closeOptions(): boolean;
841
- setPosition(): void;
842
- setOptions(r?: OptionClass[]): void;
843
- onKeyDown(e: any): void;
844
- toggleOption(e: any): void;
845
- onKeyUp(e: any): void;
846
- selectOption(v: any, isEdit?: boolean): void;
847
- toggleRadio(op: OptionClass): void;
848
- toggle(op: OptionClass): void;
849
- check(c: OptionClass): void;
850
- unCheck(c: OptionClass): void;
851
- checkChildren(o: OptionClass): void;
852
- checkParent(p: OptionClass): void;
853
- unCheckParent(p: OptionClass): void;
854
- cI(i: string): void;
855
- title(): string;
856
- getTitle(os: any): string;
857
- getValue(v: any, o?: OptionClass[]): any;
858
- onClickButton(): void;
859
- setHoverCenter(): void;
860
- removeHover(): void;
861
- getSelectedHover(): any;
862
- setHoverUp(): void;
863
- setHoverDown(): void;
864
- getPlaceHolder(): string;
865
- static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, never>;
866
- static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectComponent, "lib-form-select", never, { "inp": { "alias": "inp"; "required": false; }; "inForm": { "alias": "inForm"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
867
- }
868
-
869
- declare class FormTableComponent implements OnInit {
870
- inp: InputClass;
871
- changeIndex: EventEmitter<string>;
872
- constructor();
873
- ngOnInit(): void;
874
- changeRows(e: any): void;
875
- static ɵfac: i0.ɵɵFactoryDeclaration<FormTableComponent, never>;
876
- static ɵcmp: i0.ɵɵComponentDeclaration<FormTableComponent, "lib-form-table", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
877
- }
878
-
879
- declare class FormLabelComponent implements OnInit {
880
- inp: InputClass;
881
- constructor();
882
- ngOnInit(): void;
883
- onClick(): void;
884
- static ɵfac: i0.ɵɵFactoryDeclaration<FormLabelComponent, never>;
885
- static ɵcmp: i0.ɵɵComponentDeclaration<FormLabelComponent, "lib-form-label", never, { "inp": { "alias": "inp"; "required": false; }; }, {}, never, never, true, never>;
886
- }
887
-
888
- declare class AccordionComponent {
889
- accordion: AccordionClass;
890
- constructor();
891
- toggle(e: any): void;
892
- deleteRow(acc: AccordionRowClass): void;
893
- static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
894
- static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "lib-accordion", never, { "accordion": { "alias": "accordion"; "required": false; }; }, {}, never, never, true, never>;
895
- }
896
-
897
- declare class FormRadioComponent implements OnInit {
898
- inp: InputClass;
899
- changeIndex: EventEmitter<string>;
900
- inputBase: ElementRef;
901
- constructor();
902
- ngOnInit(): void;
903
- onClick(): void;
904
- onKeyDown(e: any): void;
905
- onChange(isEdit?: boolean): void;
906
- onFocusIn(): void;
907
- static ɵfac: i0.ɵɵFactoryDeclaration<FormRadioComponent, never>;
908
- static ɵcmp: i0.ɵɵComponentDeclaration<FormRadioComponent, "lib-form-radio", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
909
- }
910
-
911
- declare class PsToolkitUiConfigService {
912
- environment: any;
913
- strings: any;
914
- currentLang: string;
915
- constructor(environment: any, strings: any, currentLang: string);
916
- }
917
-
918
- declare class ConfirmComponent implements OnInit {
919
- config: PsToolkitUiConfigService;
920
- tableId: string;
921
- l: (k: any, v?: any) => string;
922
- confirm: ModalClass;
923
- confirmLabel: InputClass;
924
- constructor(config: PsToolkitUiConfigService);
925
- ngOnInit(): void;
926
- show(l: string, url: string, data: any, accept: (result: any) => void): void;
927
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmComponent, never>;
928
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmComponent, "lib-confirm", never, { "tableId": { "alias": "tableId"; "required": false; }; }, {}, never, never, true, never>;
929
- }
930
-
931
- declare class TableComponent implements OnInit {
932
- router: Router;
933
- table: TableClass;
934
- changeRows: EventEmitter<object>;
935
- get type(): typeof InputType;
936
- get tableOptionType(): typeof TableOptionType;
937
- get colType(): typeof TableCollType;
938
- rows: ElementRef;
939
- tableDiv: ElementRef;
940
- exportDropDown: ElementRef;
941
- confirm: any;
942
- reload: InputClass;
943
- excel: InputClass;
944
- excelUi: InputClass;
945
- pdf: InputClass;
946
- print: InputClass;
947
- maximum: InputClass;
948
- expertSearch: InputClass;
949
- export: InputClass;
950
- constructor(router: Router);
951
- options: InputClass[];
952
- ngOnInit(): void;
953
- exportTable(type: TableExportType, btn: InputClass): void;
954
- allChecked(): boolean;
955
- isChecked(): boolean;
956
- checkAll(): void;
957
- getOptions(): InputClass[];
958
- setSortable(): void;
959
- getRows(): any[];
960
- onChangeRows(e: any): void;
961
- onConfirmShow(e: any): void;
962
- changeSort(e: any, s: string): void;
963
- getModals(): ModalClass[];
964
- hideExpertSearch(e: any): void;
965
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
966
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "lib-table", never, { "table": { "alias": "table"; "required": false; }; }, { "changeRows": "changeRows"; }, never, never, true, never>;
967
- }
968
-
969
- declare class ModalComponent implements OnInit {
970
- modal: ModalClass;
971
- close: InputClass;
972
- constructor();
973
- ngOnInit(): void;
974
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
975
- static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "lib-modal", never, { "modal": { "alias": "modal"; "required": false; }; }, {}, never, ["*"], true, never>;
976
- }
977
-
978
- declare class FormComponent implements OnInit {
979
- form: FormClass;
980
- get type(): typeof InputType;
981
- constructor();
982
- ngOnInit(): void;
983
- changeIndex(index: any, action: any): void;
984
- static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
985
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "lib-form", never, { "form": { "alias": "form"; "required": false; }; }, {}, never, ["*"], true, never>;
986
- }
987
-
988
- declare class TableRowComponent implements OnInit {
989
- service: PsToolkitUiConfigService;
990
- confirmShow: EventEmitter<object>;
991
- changeRows: EventEmitter<object>;
992
- level: number;
993
- table: TableClass;
994
- row: any;
995
- loadParent: EventEmitter<string>;
996
- get tableRowStatus(): typeof TableRowStatus;
997
- get type(): typeof InputType;
998
- get tableOptionType(): typeof TableOptionType;
999
- showChildren: InputClass;
1000
- addChildren: InputClass;
1001
- group: InputClass;
1002
- children: any[];
1003
- options: any[];
1004
- childrenDiv: ElementRef;
1005
- constructor(service: PsToolkitUiConfigService);
1006
- mouseOut(e: any): void;
1007
- ngOnInit(): void;
1008
- loadChildren(p: any): void;
1009
- check(): void;
1010
- onChangeRows(e: any): void;
1011
- onConfirmShow(e: any): void;
1012
- setSortRow(): void;
1013
- setOptions(): void;
1014
- getPermission(parentId: any, list: any): any;
1015
- getCell(col: TableCollClass): any;
1016
- getCol(n: any): string;
1017
- edit(opt: InputClass, option: PermissionClass): void;
1018
- getChildren(): any[];
1019
- getStatuses(): string;
1020
- selectRow(e: any): void;
1021
- dblclickRow(e: any): void;
1022
- rightClickRow(e: any): void;
1023
- onContextMenu(event: MouseEvent): void;
1024
- static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
1025
- static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "lib-table-row", never, { "level": { "alias": "level"; "required": false; }; "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; }, { "confirmShow": "confirmShow"; "changeRows": "changeRows"; "loadParent": "loadParent"; }, never, never, true, never>;
1026
- }
1027
-
1028
- declare class FormTreeComponent implements OnInit {
1029
- inp: InputClass;
1030
- changeIndex: EventEmitter<string>;
1031
- inputBase: ElementRef;
1032
- constructor();
1033
- ngOnInit(): void;
1034
- onClick(): void;
1035
- onKeyDown(e: any): void;
1036
- onFocusIn(): void;
1037
- getSelected(): any[];
1038
- getRowSelected(ch: TreeRowClass): any[];
1039
- setValue(ids: any, rows?: any[]): boolean;
1040
- toggle(row: TreeRowClass): void;
1041
- check(c: TreeRowClass): void;
1042
- unCheck(c: TreeRowClass): void;
1043
- checkChildren(c: TreeRowClass): void;
1044
- checkParent(p: TreeRowClass): void;
1045
- unCheckParent(p: TreeRowClass): void;
1046
- static ɵfac: i0.ɵɵFactoryDeclaration<FormTreeComponent, never>;
1047
- static ɵcmp: i0.ɵɵComponentDeclaration<FormTreeComponent, "lib-form-tree", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1048
- }
1049
-
1050
- declare class FormTimeComponent implements OnInit {
1051
- inp: InputClass;
1052
- inForm: boolean;
1053
- changeIndex: EventEmitter<string>;
1054
- cSearch: string;
1055
- hours: string[];
1056
- minutes: string[];
1057
- activeHour: any;
1058
- activeMinute: any;
1059
- inputBase: ElementRef;
1060
- inputDiv: ElementRef;
1061
- inputOptionsDiv: ElementRef;
1062
- constructor();
1063
- ngOnInit(): void;
1064
- toggleTime(): void;
1065
- openOptions(): void;
1066
- setPosition(): void;
1067
- onKeyDown(e: any): void;
1068
- onKeyUp(e: any): void;
1069
- onFocusOut(): void;
1070
- selectTime(v: string, s: string): void;
1071
- static ɵfac: i0.ɵɵFactoryDeclaration<FormTimeComponent, never>;
1072
- static ɵcmp: i0.ɵɵComponentDeclaration<FormTimeComponent, "lib-form-time", never, { "inp": { "alias": "inp"; "required": false; }; "inForm": { "alias": "inForm"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1073
- }
1074
-
1075
- declare class FormFingerComponent implements OnInit {
1076
- inp: InputClass;
1077
- changeIndex: EventEmitter<string>;
1078
- inputBase: ElementRef;
1079
- inputDiv: ElementRef;
1080
- wsRegister: any;
1081
- ngOnInit(): void;
1082
- onClick(): void;
1083
- onFocusIn(): void;
1084
- onKeyDown(e: any): void;
1085
- addRemoveFinger(f: string): void;
1086
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFingerComponent, never>;
1087
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFingerComponent, "lib-form-finger", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1088
- }
1089
-
1090
- declare class FormVehicleSearchComponent implements OnInit {
1091
- inp: InputClass;
1092
- changeIndex: EventEmitter<string>;
1093
- type: VehicleType;
1094
- car: InputClass;
1095
- motor: InputClass;
1096
- carF: InputClass;
1097
- carG: InputClass;
1098
- driver: InputClass;
1099
- fingerprint: InputClass;
1100
- addIcon: InputClass;
1101
- wsAuth: any;
1102
- get vehicleType(): typeof VehicleType;
1103
- inputDiv: ElementRef;
1104
- constructor();
1105
- ngOnInit(): void;
1106
- changeType(t: VehicleType, isEdit?: boolean): void;
1107
- onFocusIn(): void;
1108
- static ɵfac: i0.ɵɵFactoryDeclaration<FormVehicleSearchComponent, never>;
1109
- static ɵcmp: i0.ɵɵComponentDeclaration<FormVehicleSearchComponent, "lib-form-vehicle-search", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1110
- }
1111
-
1112
- declare class FormCkeditorComponent implements OnInit {
1113
- inp: InputClass;
1114
- changeIndex: EventEmitter<string>;
1115
- inputBase: ElementRef;
1116
- config: {
1117
- toolbar: (string | string[])[];
1118
- };
1119
- constructor();
1120
- ngOnInit(): void;
1121
- onFocusIn(): void;
1122
- onKeyDown(e: any): void;
1123
- static ɵfac: i0.ɵɵFactoryDeclaration<FormCkeditorComponent, never>;
1124
- static ɵcmp: i0.ɵɵComponentDeclaration<FormCkeditorComponent, "lib-form-ckeditor", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1125
- }
1126
-
1127
- declare class FormUploaderComponent implements OnInit {
1128
- inp: InputClass;
1129
- changeIndex: EventEmitter<string>;
1130
- inputDiv: ElementRef;
1131
- inputBaseFile: ElementRef;
1132
- inputBase: ElementRef;
1133
- id: string;
1134
- get fileIcons(): typeof FileIcons;
1135
- constructor();
1136
- ngOnInit(): void;
1137
- getPdfImage(file: any): any;
1138
- onClick(): void;
1139
- onChange(e: any): void;
1140
- onKeyDown(e: any): void;
1141
- onFocusIn(): void;
1142
- title(): string;
1143
- openFile(f: any): void;
1144
- static ɵfac: i0.ɵɵFactoryDeclaration<FormUploaderComponent, never>;
1145
- static ɵcmp: i0.ɵɵComponentDeclaration<FormUploaderComponent, "lib-form-uploader", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1146
- }
1147
-
1148
- declare class FormVehicleComponent implements OnInit {
1149
- inp: InputClass;
1150
- changeIndex: EventEmitter<string>;
1151
- type: VehicleType;
1152
- car: InputClass;
1153
- carF: InputClass;
1154
- carG: InputClass;
1155
- motor: InputClass;
1156
- inputDiv: ElementRef;
1157
- get vehicleType(): typeof VehicleType;
1158
- constructor();
1159
- ngOnInit(): void;
1160
- changeType(t: VehicleType): void;
1161
- onFocusIn(): void;
1162
- static ɵfac: i0.ɵɵFactoryDeclaration<FormVehicleComponent, never>;
1163
- static ɵcmp: i0.ɵɵComponentDeclaration<FormVehicleComponent, "lib-form-vehicle", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1164
- }
1165
-
1166
- declare class FormHiddenComponent implements OnInit {
1167
- inp: InputClass;
1168
- constructor();
1169
- ngOnInit(): void;
1170
- static ɵfac: i0.ɵɵFactoryDeclaration<FormHiddenComponent, never>;
1171
- static ɵcmp: i0.ɵɵComponentDeclaration<FormHiddenComponent, "lib-form-hidden", never, { "inp": { "alias": "inp"; "required": false; }; }, {}, never, never, true, never>;
1172
- }
1173
-
1174
- declare class FormToggleComponent implements OnInit {
1175
- inp: InputClass;
1176
- changeIndex: EventEmitter<string>;
1177
- inputBase: ElementRef;
1178
- constructor();
1179
- ngOnInit(): void;
1180
- onFocusIn(): void;
1181
- onClick(): void;
1182
- onChange(): void;
1183
- onKeyDown(e: any): void;
1184
- static ɵfac: i0.ɵɵFactoryDeclaration<FormToggleComponent, never>;
1185
- static ɵcmp: i0.ɵɵComponentDeclaration<FormToggleComponent, "lib-form-toggle", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1186
- }
1187
-
1188
- declare class ChartComponent {
1189
- chart: ChartClass;
1190
- constructor();
1191
- static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>;
1192
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "lib-chart", never, { "chart": { "alias": "chart"; "required": false; }; }, {}, never, never, true, never>;
1193
- }
1194
-
1195
- declare class FormTagComponent implements OnInit {
1196
- inp: InputClass;
1197
- cValue: string;
1198
- changeIndex: EventEmitter<string>;
1199
- inputBase: ElementRef;
1200
- inputDiv: ElementRef;
1201
- ngOnInit(): void;
1202
- onFocusIn(changeIndex?: boolean): void;
1203
- onKeyDown(e: any): void;
1204
- onFocusOut(): void;
1205
- removeTag(t: any): void;
1206
- setValue(v: any): void;
1207
- static ɵfac: i0.ɵɵFactoryDeclaration<FormTagComponent, never>;
1208
- static ɵcmp: i0.ɵɵComponentDeclaration<FormTagComponent, "lib-form-tag", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1209
- }
1210
-
1211
- declare class FormStarComponent implements OnInit {
1212
- inp: InputClass;
1213
- changeIndex: EventEmitter<string>;
1214
- inputBase: ElementRef;
1215
- constructor();
1216
- ngOnInit(): void;
1217
- onChange(s: number): void;
1218
- onClick(): void;
1219
- onFocusIn(): void;
1220
- onKeyDown(e: any): void;
1221
- static ɵfac: i0.ɵɵFactoryDeclaration<FormStarComponent, never>;
1222
- static ɵcmp: i0.ɵɵComponentDeclaration<FormStarComponent, "lib-form-star", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1223
- }
1224
-
1225
- declare class FormSlideComponent implements OnInit {
1226
- inp: InputClass;
1227
- changeIndex: EventEmitter<string>;
1228
- inputBase: ElementRef;
1229
- constructor();
1230
- ngOnInit(): void;
1231
- onClick(): void;
1232
- onKeyDown(e: any): void;
1233
- onChange(isEdit?: boolean): void;
1234
- onFocusIn(): void;
1235
- static ɵfac: i0.ɵɵFactoryDeclaration<FormSlideComponent, never>;
1236
- static ɵcmp: i0.ɵɵComponentDeclaration<FormSlideComponent, "lib-form-slide", never, { "inp": { "alias": "inp"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1237
- }
1238
-
1239
- declare class FormDateComponent implements OnInit {
1240
- inp: InputClass;
1241
- inForm: boolean;
1242
- changeIndex: EventEmitter<string>;
1243
- previousDays: DayClass[];
1244
- nextDays: DayClass[];
1245
- days: DayClass[];
1246
- todayDay: number;
1247
- todayMonth: number;
1248
- todayYear: number;
1249
- cSearch: string;
1250
- state: string;
1251
- months: string[];
1252
- active: moment.Moment;
1253
- get type(): typeof InputType;
1254
- inputBase: ElementRef;
1255
- inputDiv: ElementRef;
1256
- inputCalendarDiv: ElementRef;
1257
- constructor();
1258
- ngOnInit(): void;
1259
- setInpValue(v: any): void;
1260
- setDate(): void;
1261
- isToday(m: moment.Moment, d: number): boolean;
1262
- isActive(m: moment.Moment, d: number): boolean;
1263
- isSelected(m: moment.Moment, d: number): boolean;
1264
- add(c: number): void;
1265
- changeMonth(c: number): void;
1266
- changeYear(c: number): void;
1267
- toggleCalendar(): void;
1268
- openCalendar(): void;
1269
- onKeyDown(e: any): void;
1270
- onKeyUp(e: any): void;
1271
- onFocusOut(): void;
1272
- setPosition(): void;
1273
- selectDate(d: DayClass): void;
1274
- setValue(y: number, m: number, d: number): void;
1275
- changeState(s: string): void;
1276
- getYears(): number[];
1277
- getActiveMonth(): string;
1278
- parseInt(n: any): number;
1279
- static ɵfac: i0.ɵɵFactoryDeclaration<FormDateComponent, never>;
1280
- static ɵcmp: i0.ɵɵComponentDeclaration<FormDateComponent, "lib-form-date", never, { "inp": { "alias": "inp"; "required": false; }; "inForm": { "alias": "inForm"; "required": false; }; }, { "changeIndex": "changeIndex"; }, never, never, true, never>;
1281
- }
1282
-
1283
- declare class NotificationComponent {
1284
- constructor();
1285
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
1286
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "lib-notification", never, {}, {}, never, never, true, never>;
1287
- }
1288
-
1289
- declare class ErrorComponent {
1290
- config: PsToolkitUiConfigService;
1291
- error: string;
1292
- l: (k: any, v?: any) => string;
1293
- constructor(config: PsToolkitUiConfigService);
1294
- static ɵfac: i0.ɵɵFactoryDeclaration<ErrorComponent, never>;
1295
- static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "lib-error", never, { "error": { "alias": "error"; "required": false; }; }, {}, never, never, true, never>;
1296
- }
1297
-
1298
- declare class AlertComponent {
1299
- config: PsToolkitUiConfigService;
1300
- alert: ModalClass;
1301
- alertLabel: InputClass;
1302
- constructor(config: PsToolkitUiConfigService);
1303
- show(l: string, accept: () => void): void;
1304
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
1305
- static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "lib-alert", never, {}, {}, never, never, true, never>;
1306
- }
1307
-
1308
- declare class SidebarClass {
1309
- constructor(l: (k: any, v?: any) => string, id: string, name: string, controller: string, action: string, url: string, icon: string, children?: SidebarClass[]);
1310
- l: (k: any, v?: any) => string;
1311
- controller: string;
1312
- action: string;
1313
- url: string;
1314
- id: string;
1315
- name: string;
1316
- icon: string;
1317
- count: number;
1318
- countAll: number;
1319
- children: SidebarClass[];
1320
- active: boolean;
1321
- }
1322
-
1323
- declare class CurrentDataClass {
1324
- constructor(data?: any);
1325
- user: any;
1326
- permissions: any[];
1327
- modules: any[];
1328
- software: {
1329
- Version: string;
1330
- };
1331
- setting: any;
1332
- }
1333
-
1334
- declare class SidebarService {
1335
- private countSource;
1336
- private countAllSource;
1337
- currentCount: rxjs.Observable<number>;
1338
- currentCountAll: rxjs.Observable<number>;
1339
- constructor();
1340
- changeCount(count: number): void;
1341
- changeCountAll(countAll: number): void;
1342
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarService, never>;
1343
- static ɵprov: i0.ɵɵInjectableDeclaration<SidebarService>;
1344
- }
1345
-
1346
- declare class SidebarComponent implements OnInit {
1347
- config: PsToolkitUiConfigService;
1348
- private router;
1349
- private service;
1350
- currentData: CurrentDataClass;
1351
- sidebar: SidebarClass[];
1352
- currentSidebar: any;
1353
- countItems: number;
1354
- l: (k: any, v?: any) => string;
1355
- constructor(config: PsToolkitUiConfigService, router: Router, service: SidebarService);
1356
- setActive(): void;
1357
- ngOnInit(): void;
1358
- getSidebar(parentId?: string): SidebarClass[];
1359
- getSidebarActive(item: SidebarClass[], active: any): SidebarClass;
1360
- toggleSidebar(): void;
1361
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
1362
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "lib-sidebar", never, { "currentData": { "alias": "currentData"; "required": false; }; }, {}, never, never, true, never>;
1363
- }
1364
-
1365
- declare class SidebarItemComponent {
1366
- config: PsToolkitUiConfigService;
1367
- item: SidebarClass;
1368
- i: number;
1369
- base: boolean;
1370
- currentSidebar: any;
1371
- l: (k: any, v?: any) => string;
1372
- constructor(config: PsToolkitUiConfigService);
1373
- openClose(e: any): void;
1374
- isActive(item: SidebarClass): boolean;
1375
- closeSidebar(): void;
1376
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarItemComponent, never>;
1377
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarItemComponent, "lib-sidebar-item", never, { "item": { "alias": "item"; "required": false; }; "i": { "alias": "i"; "required": false; }; "base": { "alias": "base"; "required": false; }; "currentSidebar": { "alias": "currentSidebar"; "required": false; }; }, {}, never, never, true, never>;
1378
- }
1379
-
1380
- declare class HeaderClass {
1381
- constructor(environment: any, l: (k: any, v?: any) => string);
1382
- username: string;
1383
- info: string;
1384
- buttons: InputClass[];
1385
- logout: (btn: any) => void;
1386
- }
1387
-
1388
- declare class HeaderComponent {
1389
- config: PsToolkitUiConfigService;
1390
- header: HeaderClass;
1391
- get type(): typeof InputType;
1392
- constructor(config: PsToolkitUiConfigService);
1393
- showUserDropDown(e: any): void;
1394
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
1395
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "lib-header", never, { "header": { "alias": "header"; "required": false; }; }, {}, never, ["*"], true, never>;
1396
- }
1397
-
1398
- declare class FooterComponent {
1399
- config: PsToolkitUiConfigService;
1400
- l: (k: any, v?: any) => string;
1401
- constructor(config: PsToolkitUiConfigService);
1402
- static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
1403
- static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "lib-footer", never, {}, {}, never, never, true, never>;
1404
- }
1405
-
1406
- declare class SubHeaderComponent {
1407
- constructor();
1408
- static ɵfac: i0.ɵɵFactoryDeclaration<SubHeaderComponent, never>;
1409
- static ɵcmp: i0.ɵɵComponentDeclaration<SubHeaderComponent, "lib-sub-header", never, {}, {}, never, never, true, never>;
1410
- }
1411
-
1412
- declare class LayoutComponent {
1413
- currentData: CurrentDataClass;
1414
- header: HeaderClass;
1415
- constructor();
1416
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
1417
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "lib-layout", never, { "currentData": { "alias": "currentData"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, {}, never, ["[slot=sidebar]", "[slot=header]"], true, never>;
1418
- }
1419
-
1420
- declare class StepsClass {
1421
- constructor(environment: any, l: (k: any, v?: any) => string);
1422
- environment: any;
1423
- l: (k: any, v?: any) => string;
1424
- items: StepsItemClass[];
1425
- activeAll: boolean;
1426
- isDone: boolean;
1427
- updateAccess: boolean;
1428
- viewAccess: boolean;
1429
- onDone: () => void;
1430
- onLoadStep: (s: StepsItemClass) => void;
1431
- getCurrent(): number;
1432
- getActive(): number;
1433
- loadStep(s: StepsItemClass): void;
1434
- }
1435
- declare class StepsItemClass {
1436
- id: number;
1437
- name: string;
1438
- icon: string;
1439
- url: string;
1440
- active: boolean;
1441
- constructor(id: number, name: string, icon?: string, url?: string, active?: boolean);
1442
- title: string;
1443
- current: boolean;
1444
- description: string;
1445
- form: FormClass;
1446
- formType: any;
1447
- onClick: (item: any) => void;
1448
- onDelete: (item: any) => void;
1449
- }
1450
-
1451
- declare class StepsComponent implements OnInit {
1452
- steps: StepsClass;
1453
- saveNext: InputClass;
1454
- editNext: InputClass;
1455
- saveDone: InputClass;
1456
- editDone: InputClass;
1457
- previous: InputClass;
1458
- constructor();
1459
- changeStep(s: StepsItemClass): void;
1460
- onDelete(s: StepsItemClass): void;
1461
- ngOnInit(): void;
1462
- nextStep(btn: InputClass, done?: boolean): void;
1463
- static ɵfac: i0.ɵɵFactoryDeclaration<StepsComponent, never>;
1464
- static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "lib-steps", never, { "steps": { "alias": "steps"; "required": false; }; }, {}, never, ["*"], true, never>;
1465
- }
1466
-
1467
- declare class NotfoundComponent {
1468
- config: PsToolkitUiConfigService;
1469
- back: InputClass;
1470
- l: (k: any, v?: any) => string;
1471
- constructor(config: PsToolkitUiConfigService);
1472
- static ɵfac: i0.ɵɵFactoryDeclaration<NotfoundComponent, never>;
1473
- static ɵcmp: i0.ɵɵComponentDeclaration<NotfoundComponent, "lib-notfound", never, {}, {}, never, never, true, never>;
1474
- }
1475
-
1476
- declare class CalendarComponent {
1477
- config: PsToolkitUiConfigService;
1478
- state: string;
1479
- months: any[];
1480
- active: moment.Moment;
1481
- previousDays: DayClass[];
1482
- nextDays: DayClass[];
1483
- days: DayClass[];
1484
- todayDay: number;
1485
- todayMonth: number;
1486
- todayYear: number;
1487
- l: (k: any, v?: any) => string;
1488
- constructor(config: PsToolkitUiConfigService);
1489
- changeState(s: string): void;
1490
- getYears(): number[];
1491
- getActiveMonth(): string;
1492
- add(c: number): void;
1493
- changeMonth(c: number): void;
1494
- changeYear(c: number): void;
1495
- setDate(): void;
1496
- isToday(m: moment.Moment, d: number): boolean;
1497
- parseInt(n: any): number;
1498
- setActive(m: any): void;
1499
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
1500
- static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "lib-calendar", never, {}, {}, never, never, true, never>;
1501
- }
1502
-
1503
- declare class ClockComponent implements OnInit, OnDestroy {
1504
- clockInterval: any;
1505
- active: moment.Moment;
1506
- constructor();
1507
- ngOnInit(): void;
1508
- ngOnDestroy(): void;
1509
- clockUpdate(): void;
1510
- static ɵfac: i0.ɵɵFactoryDeclaration<ClockComponent, never>;
1511
- static ɵcmp: i0.ɵɵComponentDeclaration<ClockComponent, "lib-clock", never, {}, {}, never, never, true, never>;
1512
- }
1513
-
1514
- declare class LoadingComponent {
1515
- l: (k: any, v?: any) => string;
1516
- constructor(config: PsToolkitUiConfigService);
1517
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
1518
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "lib-loading", never, {}, {}, never, never, true, never>;
1519
- }
1520
-
1521
- declare class LoginClass {
1522
- constructor(l: (k: any, v?: any) => string, type: string);
1523
- modal: ModalClass;
1524
- type: string;
1525
- l: (k: any, v?: any) => string;
1526
- steps: LoginStepClass[];
1527
- active: number;
1528
- onSuccess: (result: any) => void;
1529
- sendCodeUrl: string;
1530
- loginUrl: string;
1531
- rules: string;
1532
- setCookie(r: any): void;
1533
- showModal(): void;
1534
- }
1535
- declare class LoginStepClass {
1536
- constructor(form: FormClass);
1537
- form: FormClass;
1538
- show(result?: any): void;
1539
- }
1540
-
1541
- declare class LoginComponent implements OnInit {
1542
- config: PsToolkitUiConfigService;
1543
- login: LoginClass;
1544
- loginTemplate: string;
1545
- mobile: InputClass;
1546
- username: InputClass;
1547
- rulesModal: ModalClass;
1548
- constructor(config: PsToolkitUiConfigService);
1549
- ngOnInit(): void;
1550
- static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
1551
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "lib-login", never, { "login": { "alias": "login"; "required": false; }; "loginTemplate": { "alias": "loginTemplate"; "required": false; }; }, {}, never, never, true, never>;
1552
- }
1553
-
1554
- declare class TooltipComponent {
1555
- text: string;
1556
- position: string;
1557
- constructor();
1558
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
1559
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "lib-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
1560
- }
1561
-
1562
- declare class PsToolkitUiModule {
1563
- static forRoot(config: any): ModuleWithProviders<PsToolkitUiModule>;
1564
- static ɵfac: i0.ɵɵFactoryDeclaration<PsToolkitUiModule, never>;
1565
- static ɵmod: i0.ɵɵNgModuleDeclaration<PsToolkitUiModule, never, [typeof FormSelectItemComponent, typeof FormCheckboxComponent, typeof TablePaginationComponent, typeof FormBankCardComponent, typeof FormPlaqueSelectComponent, typeof TableLoadingComponent, typeof FormTreeItemComponent, typeof FormTextboxComponent, typeof FormTextareaComponent, typeof FormIconComponent, typeof FormButtonComponent, typeof FormDatetimeComponent, typeof FormPlaqueComponent, typeof FormFileComponent, typeof FormSelectComponent, typeof FormTableComponent, typeof FormLabelComponent, typeof AccordionComponent, typeof FormRadioComponent, typeof ConfirmComponent, typeof TableComponent, typeof ModalComponent, typeof FormComponent, typeof TableRowComponent, typeof FormTreeComponent, typeof FormTimeComponent, typeof FormFingerComponent, typeof FormVehicleSearchComponent, typeof FormCkeditorComponent, typeof FormUploaderComponent, typeof FormVehicleComponent, typeof FormHiddenComponent, typeof FormToggleComponent, typeof ChartComponent, typeof FormTagComponent, typeof FormStarComponent, typeof FormSlideComponent, typeof FormDateComponent, typeof NotificationComponent, typeof ErrorComponent, typeof AlertComponent, typeof SidebarComponent, typeof SidebarItemComponent, typeof i44.CommonModule, typeof HeaderComponent, typeof FooterComponent, typeof SubHeaderComponent, typeof LayoutComponent, typeof StepsComponent, typeof NotfoundComponent, typeof CalendarComponent, typeof ClockComponent, typeof LoadingComponent, typeof LoginComponent, typeof TooltipComponent, typeof i56.RouterModule, typeof i57.FormsModule, typeof i58.CKEditorModule], [typeof FormSelectItemComponent, typeof FormCheckboxComponent, typeof TablePaginationComponent, typeof FormBankCardComponent, typeof SidebarItemComponent, typeof SidebarComponent, typeof FormDateComponent, typeof FormPlaqueSelectComponent, typeof TableLoadingComponent, typeof FormTreeItemComponent, typeof FormTextboxComponent, typeof FormTextareaComponent, typeof FormIconComponent, typeof FormButtonComponent, typeof FormDatetimeComponent, typeof FormPlaqueComponent, typeof SubHeaderComponent, typeof FooterComponent, typeof StepsComponent, typeof FormFileComponent, typeof FormSelectComponent, typeof FormTableComponent, typeof FormLabelComponent, typeof AccordionComponent, typeof FormRadioComponent, typeof HeaderComponent, typeof TooltipComponent, typeof ConfirmComponent, typeof TableComponent, typeof ModalComponent, typeof FormComponent, typeof TableRowComponent, typeof FormTreeComponent, typeof AlertComponent, typeof FormTimeComponent, typeof NotificationComponent, typeof FormFingerComponent, typeof FormVehicleSearchComponent, typeof FormCkeditorComponent, typeof FormUploaderComponent, typeof LayoutComponent, typeof LoadingComponent, typeof NotfoundComponent, typeof FormVehicleComponent, typeof FormHiddenComponent, typeof CalendarComponent, typeof FormToggleComponent, typeof ClockComponent, typeof ChartComponent, typeof FormTagComponent, typeof ErrorComponent, typeof LoginComponent, typeof FormStarComponent, typeof FormSlideComponent]>;
1566
- static ɵinj: i0.ɵɵInjectorDeclaration<PsToolkitUiModule>;
1567
- }
1568
-
1569
- declare abstract class BaseComponent {
1570
- app: any;
1571
- c: any;
1572
- a: any;
1573
- l: (k: any, v?: any) => string;
1574
- permissions: PermissionClass;
1575
- protected constructor(app: any, c: any, a?: any);
1576
- setL(): void;
1577
- getPermission(c: any, a?: any): PermissionClass;
1578
- getPermissionAccess(c: any, a?: any): PermissionClass;
1579
- getPermissionClass(p: any): PermissionClass;
1580
- getPermissionAccessesClass(parentId: string): PermissionClass[];
1581
- hasAccess(a: string): boolean;
1582
- getAccess(a: string): PermissionClass;
1583
- hasOption(a: string): boolean;
1584
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
1585
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseComponent>;
1586
- }
1587
-
1588
- declare class HelperClass {
1589
- static getLabel(inp: InputClass): string;
1590
- static nationalCodeNumValid(c: any): boolean;
1591
- static economicNumValid(c: any): boolean;
1592
- static nationalCodeValid(c: any): boolean;
1593
- static nationalNumValid(code: any): boolean;
1594
- static plaqueValid(p: any, t: InputType): boolean;
1595
- static iso7064Mod97_10(iban: any): number;
1596
- static shebaValid(str: any): boolean;
1597
- static postalCodeValid(c: any): boolean;
1598
- static random(length: any, upper?: boolean, lower?: boolean, num?: boolean): string;
1599
- static setCookie(name: any, value: any, days?: number): void;
1600
- static getCookie(name: any, def?: any): string;
1601
- static eraseCookie(name: any): void;
1602
- static getDateDif(l: any, dt: string, c?: number): string;
1603
- static getRowEnum(l: any, e: any, dt: any): string;
1604
- static getNow(): any;
1605
- static getInputDate(amount?: number, unit?: string): any;
1606
- static getMoment(i?: any, f?: any): any;
1607
- static getDateRemain(l: any, dt: string, c?: number): string;
1608
- static getDateRemainSec(dt: string): number;
1609
- static getDateRemainFull(l: any, dt: string, c?: number): string;
1610
- static getDate(dt: string, format?: string, locale?: string): string;
1611
- static getTime(dt: any): string;
1612
- static getDateTime(dt: string, format?: string): string;
1613
- static toPrice(l: any, cv: any): string;
1614
- static getFileSize(bytes: number): string;
1615
- static getPDate(l: any, s: any): string;
1616
- static GetRemainDate(l: any, ts: any): string;
1617
- static clone<T>(v: T): T;
1618
- static cloneJson(inp: any): any;
1619
- static getName(n: any): string;
1620
- static addNotification(m: any, e?: boolean): void;
1621
- static checkCartDigit(code: any): boolean;
1622
- static getData(key: any, state: any, parent: any): any;
1623
- static getColorByBgColor(bgColor: any): string;
1624
- static queryStringToJSON(qs?: any): any;
1625
- static copyToClipboard(text: any): void;
1626
- static setBarcodeReader(inp: InputClass): void;
1627
- static getRandomInt(min: any, max: any): number;
1628
- static fixChars(str: any): string;
1629
- static ToReadablePlaque(p: any): string;
1630
- static getFileIcon(f: any): string;
1631
- static groupBy(data: any, iteratee: any): any;
1632
- static getTablePermissions(l?: boolean, i?: boolean, u?: boolean, d?: boolean): PermissionClass;
1633
- static jsonToFormData(json: any, formData?: FormData, parentKey?: string): FormData;
1634
- }
1635
-
1636
- declare class LangClass {
1637
- lang: {};
1638
- constructor(d: string, strings: {});
1639
- get(area: any, c: any, k: any, v?: any): string;
1640
- }
1641
-
1642
- declare class AddModalClass {
1643
- environment: any;
1644
- l: (k: any, v?: any) => string;
1645
- permission: PermissionClass;
1646
- constructor(environment: any, l: (k: any, v?: any) => string, permission?: PermissionClass);
1647
- modal: ModalClass;
1648
- getModalTable(table: TableClass): void;
1649
- getInpModal(inp: InputClass, success?: (r: any) => void): void;
1650
- setModalForm(name: string, manage?: boolean, success?: (r: any) => void): void;
1651
- }
1652
-
1653
- declare class RequestClass {
1654
- environment: any;
1655
- l: (k: any, v?: any) => string;
1656
- constructor(environment?: any, l?: (k: any, v?: any) => string);
1657
- send(url: string, method: Method, data: any, btn?: InputClass, success?: (result: any) => void, failure?: (message: any) => void, request?: any): any;
1658
- sendCu(url: string, method: Method, data: any, btn?: InputClass, success?: (result: any) => void, failure?: (message: any) => void, timeout?: any): any;
1659
- getClient(request: any, url: string, method: Method, data: any, done: any, fail: any, timeout?: any): any;
1660
- }
1661
-
1662
- declare class ExcelClass {
1663
- constructor();
1664
- exportAsExcelFile(json: any[], excelFileName: string, opts?: any): void;
1665
- getExcelData(json: any[], excelFileName: string): Blob;
1666
- private saveAsExcelFile;
1667
- private saveAsCsvFile;
1668
- exportAsCsvFile(json: any[], fileName: string): void;
1669
- }
1670
-
1671
- export { AccordionClass, AccordionComponent, AccordionRowClass, AddModalClass, AlertComponent, BaseComponent, CalendarComponent, ChartClass, ChartComponent, ClockComponent, ConfirmComponent, CurrentDataClass, DayClass, EnumUtils, ErrorComponent, ExcelClass, FileIcons, FooterComponent, FormBankCardComponent, FormButtonComponent, FormCheckboxComponent, FormCkeditorComponent, FormClass, FormComponent, FormDateComponent, FormDatetimeComponent, FormFileComponent, FormFingerComponent, FormHiddenComponent, FormIconComponent, FormLabelComponent, FormPlaqueComponent, FormPlaqueSelectComponent, FormRadioComponent, FormSelectComponent, FormSelectItemComponent, FormSlideComponent, FormStarComponent, FormTableComponent, FormTagComponent, FormTextareaComponent, FormTextboxComponent, FormTimeComponent, FormToggleComponent, FormTreeComponent, FormTreeItemComponent, FormUploaderComponent, FormVehicleComponent, FormVehicleSearchComponent, HeaderClass, HeaderComponent, HelperClass, InputClass, InputError, InputType, LangClass, LayoutComponent, LoadingComponent, LoginClass, LoginComponent, LoginStepClass, Method, ModalClass, ModalComponent, NotfoundComponent, NotificationComponent, OperationEnum, OptionClass, PaymentStatusEnum, PermissionAccessTypeEnum, PermissionClass, PermissionInputActionEnum, PermissionInputTypeEnum, PermissionTypeEnum, Progress, PsToolkitUiModule, RequestClass, ResultStatusEnum, SidebarClass, SidebarComponent, SidebarItemComponent, SidebarService, StatusEnum, StepsClass, StepsComponent, StepsItemClass, SubHeaderComponent, TableClass, TableCollClass, TableCollType, TableComponent, TableExportType, TableLoadingComponent, TableOptionType, TablePaginationComponent, TableRowComponent, TableRowStatus, TooltipComponent, TreeRowClass, UserType, VehicleType };