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
@@ -0,0 +1,249 @@
1
+ export declare const strings: {
2
+ fa: {
3
+ Public: {
4
+ Header: {
5
+ Logout: string;
6
+ };
7
+ Login: {
8
+ ReSendCodeDes: string;
9
+ ReSendCodeRemain: string;
10
+ Code: string;
11
+ Base: string;
12
+ BaseDesc: string;
13
+ SendCode: string;
14
+ SendCodeSubTitle: string;
15
+ LoginSms: string;
16
+ LoginSmsSubTitle: string;
17
+ LoginPassword: string;
18
+ LoginPasswordSubTitle: string;
19
+ Register: string;
20
+ DeviceId: string;
21
+ Copy: string;
22
+ RulesLabel: string;
23
+ RulesTitle: string;
24
+ };
25
+ Footer: {
26
+ Copyright: string;
27
+ CreatorDesc: string;
28
+ CreatorCom: string;
29
+ };
30
+ App: {
31
+ Notfound: string;
32
+ Error: string;
33
+ };
34
+ Notfound: {
35
+ Text: string;
36
+ Back: string;
37
+ };
38
+ Version: string;
39
+ Download: string;
40
+ ShowOptions: string;
41
+ IranCode: string;
42
+ TrackingCode: string;
43
+ Plaque: string;
44
+ DriverName: string;
45
+ Name: string;
46
+ ProvinceId: string;
47
+ CityId: string;
48
+ PostalCode: string;
49
+ Title: string;
50
+ Text: string;
51
+ Date: string;
52
+ Time: string;
53
+ Row: string;
54
+ LoginTitle: string;
55
+ SendCode: string;
56
+ Username: string;
57
+ GetReport: string;
58
+ Count: string;
59
+ Choose: string;
60
+ Payable: string;
61
+ PayableLoading: string;
62
+ Processing: string;
63
+ PDate: string;
64
+ SeeMore: string;
65
+ Alert: string;
66
+ AccessDenied: string;
67
+ Image: string;
68
+ ImageFile: string;
69
+ Grade: string;
70
+ Close: string;
71
+ Url: string;
72
+ Type: string;
73
+ Desc: string;
74
+ Admin: string;
75
+ Print: string;
76
+ Password: string;
77
+ RePassword: string;
78
+ PassportLetter: string;
79
+ Passport: string;
80
+ List: string;
81
+ Priority: string;
82
+ PassportImage: string;
83
+ PassportExpireDate: string;
84
+ PassportPlace: string;
85
+ NationalCode: string;
86
+ LicenseNum: string;
87
+ BankCard: string;
88
+ VehicleType: string;
89
+ Gender: string;
90
+ Male: string;
91
+ FeMale: string;
92
+ Accept: string;
93
+ Insert: string;
94
+ Update: string;
95
+ Delete: string;
96
+ Subset: string;
97
+ Other: string;
98
+ Rial: string;
99
+ ChooseMonth: string;
100
+ FullName: string;
101
+ FirstName: string;
102
+ Backup: string;
103
+ LastName: string;
104
+ OperationSuccessful: string;
105
+ Reject: string;
106
+ Code: string;
107
+ InvalidRequest: string;
108
+ ChangeNotAllow: string;
109
+ Confirm: string;
110
+ Search: string;
111
+ Yes: string;
112
+ No: string;
113
+ Email: string;
114
+ Mobile: string;
115
+ Mobile2: string;
116
+ Phone: string;
117
+ Address: string;
118
+ Add: string;
119
+ Edit: string;
120
+ VerifyCode: string;
121
+ Status: string;
122
+ Show: string;
123
+ Step: string;
124
+ Pending: string;
125
+ Accepted: string;
126
+ Canceled: string;
127
+ Rejected: string;
128
+ Answered: string;
129
+ FromDate: string;
130
+ ToDate: string;
131
+ Package: string;
132
+ CodeInvalid: string;
133
+ CodeExpired: string;
134
+ Price: string;
135
+ Description: string;
136
+ Photo: string;
137
+ Select: string;
138
+ NextStep: string;
139
+ PreviousStep: string;
140
+ UploadFiles: string;
141
+ NamadTitle: string;
142
+ Options: string;
143
+ Process: string;
144
+ NotfoundTitle: string;
145
+ PermissionDenied: string;
146
+ PerPage: string;
147
+ Save: string;
148
+ Cancel: string;
149
+ UserDeActive: string;
150
+ DeleteConfirm: string;
151
+ DeleteConfirmMulti: string;
152
+ ChooseFiles: string;
153
+ CodeNotExpired: string;
154
+ ChooseFile: string;
155
+ FileNotSelected: string;
156
+ FileSelected: string;
157
+ Selected: string;
158
+ Limit: string;
159
+ Today: string;
160
+ SendCodeLimit: string;
161
+ SendCodeError: string;
162
+ CodeNotFound: string;
163
+ Total: string;
164
+ Month1: string;
165
+ Month2: string;
166
+ Month3: string;
167
+ Month4: string;
168
+ Month5: string;
169
+ Month6: string;
170
+ Month7: string;
171
+ Month8: string;
172
+ Month9: string;
173
+ Month10: string;
174
+ Month11: string;
175
+ Month12: string;
176
+ Day: string;
177
+ YearP: string;
178
+ MonthP: string;
179
+ DayP: string;
180
+ HourP: string;
181
+ MinuteP: string;
182
+ Hour: string;
183
+ Minute: string;
184
+ AFew: string;
185
+ Ago: string;
186
+ Later: string;
187
+ LessThanMinute: string;
188
+ Finished: string;
189
+ Reload: string;
190
+ Maximum: string;
191
+ Minimum: string;
192
+ ExportTable: string;
193
+ Send: string;
194
+ ExportPrint: string;
195
+ ExportExcel: string;
196
+ ExportPdf: string;
197
+ ExportExcelData: string;
198
+ And: string;
199
+ UsernamePasswordInvalid: string;
200
+ DbUpdateException: string;
201
+ UserMaxSessionCount: string;
202
+ UserInvalidIp: string;
203
+ LoadingDot: string;
204
+ LoadingDotWhite: string;
205
+ Loading: string;
206
+ LoadingEmpty: string;
207
+ LoadingTable: string;
208
+ EmptyData: string;
209
+ LoadingText: string;
210
+ Waiting: string;
211
+ Required: string;
212
+ Invalid: string;
213
+ ExpertSearch: string;
214
+ UploaderTitle: string;
215
+ UploaderMaxLength: string;
216
+ FormErrorRequired: string;
217
+ FormErrorInvalid: string;
218
+ FormErrorLength: string;
219
+ FormErrorMinLength: string;
220
+ FormErrorMaxLength: string;
221
+ FormErrorMinAmount: string;
222
+ FormErrorMaxAmount: string;
223
+ FormErrorExpired: string;
224
+ FormErrorWrong: string;
225
+ FormErrorNotMatch: string;
226
+ FormErrorExist: string;
227
+ FormErrorNotExist: string;
228
+ FormErrorNotAllowed: string;
229
+ FormErrorMaxContent: string;
230
+ FormErrorUpload: string;
231
+ FormError: string;
232
+ FormBaseErrorExpired: string;
233
+ FormBaseErrorNotRegistered: string;
234
+ FormBaseErrorExpiredRegistered: string;
235
+ FormBaseErrorInvalidIp: string;
236
+ FormBaseErrorNoCredit: string;
237
+ ErrorUpload: string;
238
+ FormBaseErrorInvalidParam: string;
239
+ FormBaseErrorTimeOut: string;
240
+ FormBaseErrorPermission: string;
241
+ FormBaseErrorAccess: string;
242
+ PaymentError: string;
243
+ Error: string;
244
+ ErrorFingerPrintNoDeviceConnected: string;
245
+ ErrorFingerPrintOpenDeviceFailed: string;
246
+ ErrorFingerPrintInitDBFailed: string;
247
+ };
248
+ };
249
+ };
@@ -0,0 +1,88 @@
1
+ import { ModalClass } from './modal.class';
2
+ import { FormClass, InputClass } from './form.class';
3
+ import { Method, TableCollType, TableOptionType } from './enum.class';
4
+ import { PermissionClass } from './permission.class';
5
+ export declare class TableClass {
6
+ constructor(environment: any, l: (k: any, v?: any) => string, permissions: PermissionClass, name?: string, cls?: string, perPage?: number, height?: number);
7
+ environment: any;
8
+ l: (k: any, v?: any) => string;
9
+ permissions: PermissionClass;
10
+ permission: boolean;
11
+ name: string;
12
+ id: string;
13
+ class: string;
14
+ style: {};
15
+ url: any;
16
+ method: Method;
17
+ height: number;
18
+ perPage: number;
19
+ cols: TableCollClass[];
20
+ buttons: InputClass[];
21
+ optionsActions: any[];
22
+ rows: any[];
23
+ count: number;
24
+ page: number;
25
+ sort: any;
26
+ title: any;
27
+ description: any;
28
+ sortType: any;
29
+ displayLabel: boolean;
30
+ sortable: boolean;
31
+ expertSearch: boolean;
32
+ optionType: TableOptionType;
33
+ loading: boolean;
34
+ hasChildren: boolean;
35
+ vertical: boolean;
36
+ childrenAutoLoad: boolean;
37
+ withCheck: boolean;
38
+ withSelect: boolean;
39
+ showExtraButtons: boolean;
40
+ firstLoad: boolean;
41
+ extraButtons: InputClass[];
42
+ optionButtons: InputClass[];
43
+ form: FormClass;
44
+ searchForm: FormClass;
45
+ modal: ModalClass;
46
+ level: any;
47
+ withRelatedRow: boolean;
48
+ relatedRow: any;
49
+ listAccess: PermissionClass;
50
+ insertAccess: PermissionClass;
51
+ subTable: TableClass;
52
+ request: any;
53
+ onLoad: (data: any) => void;
54
+ onSelectRow: (row: any) => void;
55
+ onDblClickRow: (row: any) => void;
56
+ onRightClickRow: (row: any) => void;
57
+ onChangeCheck: (row: any) => void;
58
+ onSort: () => void;
59
+ getRowClass: (row: any) => string;
60
+ showConfirm: (l: string, url: string, data: any, accept: (btn: InputClass) => void) => void;
61
+ load(btn?: any): void;
62
+ data(): any[];
63
+ setCols(): void;
64
+ sendRequest(btn?: InputClass): void;
65
+ getOptionUrl(url: any, relatedId: any, rowId: any): string;
66
+ searchData(report?: boolean): {};
67
+ addData(d: {}, name: string, vl: any): void;
68
+ getUrl(url: string): string;
69
+ showInsertModal(cId?: any, level?: any, data?: any): void;
70
+ set(changeRows?: any): void;
71
+ onTopFormSubmit(data: any, changeRows?: any): void;
72
+ getCell(row: any, col: TableCollClass): any;
73
+ excel(): void;
74
+ getText(s: any): string;
75
+ }
76
+ export declare class TableCollClass {
77
+ constructor(name: string, cls?: string, type?: TableCollType, withSearch?: boolean, sort?: boolean);
78
+ enum: any;
79
+ name: string;
80
+ class: string;
81
+ default: string;
82
+ sort: boolean;
83
+ withSearch: boolean;
84
+ search: InputClass;
85
+ searchDefault: any;
86
+ type: TableCollType;
87
+ fun: (row: any) => void;
88
+ }
@@ -0,0 +1,7 @@
1
+ import { AccordionClass, AccordionRowClass } from '../../classes/form.class';
2
+ export declare class AccordionComponent {
3
+ accordion: AccordionClass;
4
+ constructor();
5
+ toggle(e: any): void;
6
+ deleteRow(acc: AccordionRowClass): void;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { InputClass } from '../../classes/form.class';
2
+ import { ModalClass } from '../../classes/modal.class';
3
+ import { PsToolkitUiConfigService } from '../../services/config.service';
4
+ export declare class AlertComponent {
5
+ config: PsToolkitUiConfigService;
6
+ alert: ModalClass;
7
+ alertLabel: InputClass;
8
+ constructor(config: PsToolkitUiConfigService);
9
+ show(l: string, accept: () => void): void;
10
+ }
@@ -0,0 +1,17 @@
1
+ import { PermissionClass } from '../classes/permission.class';
2
+ export declare abstract class BaseComponent {
3
+ app: any;
4
+ c: any;
5
+ a: any;
6
+ l: (k: any, v?: any) => string;
7
+ permissions: PermissionClass;
8
+ protected constructor(app: any, c: any, a?: any);
9
+ setL(): void;
10
+ getPermission(c: any, a?: any): PermissionClass;
11
+ getPermissionAccess(c: any, a?: any): PermissionClass;
12
+ getPermissionClass(p: any): PermissionClass;
13
+ getPermissionAccessesClass(parentId: string): PermissionClass[];
14
+ hasAccess(a: string): boolean;
15
+ getAccess(a: string): PermissionClass;
16
+ hasOption(a: string): boolean;
17
+ }
@@ -0,0 +1,26 @@
1
+ import { DayClass } from '../../classes/form.class';
2
+ import * as moment from 'jalali-moment';
3
+ import { PsToolkitUiConfigService } from '../../services/config.service';
4
+ export declare class CalendarComponent {
5
+ config: PsToolkitUiConfigService;
6
+ state: string;
7
+ months: any[];
8
+ active: moment.Moment;
9
+ previousDays: DayClass[];
10
+ nextDays: DayClass[];
11
+ days: DayClass[];
12
+ todayDay: number;
13
+ todayMonth: number;
14
+ todayYear: number;
15
+ l: (k: any, v?: any) => string;
16
+ constructor(config: PsToolkitUiConfigService);
17
+ changeState(s: string): void;
18
+ getYears(): number[];
19
+ getActiveMonth(): string;
20
+ add(c: number): void;
21
+ changeMonth(c: number): void;
22
+ changeYear(c: number): void;
23
+ setDate(): void;
24
+ isToday(m: moment.Moment, d: number): boolean;
25
+ setActive(m: any): void;
26
+ }
@@ -0,0 +1,5 @@
1
+ import { ChartClass } from '../../classes/chart.class';
2
+ export declare class ChartComponent {
3
+ chart: ChartClass;
4
+ constructor();
5
+ }
@@ -0,0 +1,11 @@
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
+ import * as moment from 'jalali-moment';
3
+ export declare class ClockComponent implements OnInit, OnDestroy {
4
+ clockInterval: any;
5
+ clock: ElementRef;
6
+ active: moment.Moment;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ ngOnDestroy(): void;
10
+ clockUpdate(): void;
11
+ }
@@ -0,0 +1,14 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { InputClass } from '../../classes/form.class';
3
+ import { ModalClass } from '../../classes/modal.class';
4
+ import { PsToolkitUiConfigService } from '../../services/config.service';
5
+ export declare class ConfirmComponent implements OnInit {
6
+ config: PsToolkitUiConfigService;
7
+ tableId: string;
8
+ l: (k: any, v?: any) => string;
9
+ confirm: ModalClass;
10
+ confirmLabel: InputClass;
11
+ constructor(config: PsToolkitUiConfigService);
12
+ ngOnInit(): void;
13
+ show(l: string, url: string, data: any, accept: (result: any) => void): void;
14
+ }
@@ -0,0 +1,7 @@
1
+ import { PsToolkitUiConfigService } from '../../services/config.service';
2
+ export declare class ErrorComponent {
3
+ config: PsToolkitUiConfigService;
4
+ error: string;
5
+ l: (k: any, v?: any) => string;
6
+ constructor(config: PsToolkitUiConfigService);
7
+ }
@@ -0,0 +1,6 @@
1
+ import { PsToolkitUiConfigService } from '../../services/config.service';
2
+ export declare class FooterComponent {
3
+ config: PsToolkitUiConfigService;
4
+ l: (k: any, v?: any) => string;
5
+ constructor(config: PsToolkitUiConfigService);
6
+ }
@@ -0,0 +1,28 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ import { InputType } from '../../../classes/enum.class';
4
+ export declare class FormBankCardComponent implements OnInit {
5
+ inp: InputClass;
6
+ changeIndex: EventEmitter<string>;
7
+ cValue: string;
8
+ get type(): typeof InputType;
9
+ part1: InputClass;
10
+ part2: InputClass;
11
+ part3: InputClass;
12
+ part4: InputClass;
13
+ inputPart1: ElementRef;
14
+ inputPart2: ElementRef;
15
+ inputPart3: ElementRef;
16
+ inputPart4: ElementRef;
17
+ inputIcon: ElementRef;
18
+ banks: {
19
+ name: string;
20
+ startWith: string[];
21
+ }[];
22
+ ngOnInit(): void;
23
+ setIcon(): void;
24
+ changeFocus(p: any, a: any): void;
25
+ onFocusIn(e?: any): void;
26
+ onKeyDown(e: any): void;
27
+ getValue(): string;
28
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormButtonComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ inputDiv: ElementRef;
7
+ inputBase: ElementRef;
8
+ constructor();
9
+ ngOnInit(): void;
10
+ onFocusIn(): void;
11
+ onClick(e: any): void;
12
+ mouseClick(): void;
13
+ codeClick(): void;
14
+ onKeyDown(e: any): void;
15
+ }
@@ -0,0 +1,14 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormCheckboxComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ inputBase: ElementRef;
7
+ inputDiv: ElementRef;
8
+ constructor();
9
+ ngOnInit(): void;
10
+ onFocusIn(): void;
11
+ onClick(): void;
12
+ onChange(): void;
13
+ onKeyDown(e: any): void;
14
+ }
@@ -0,0 +1,14 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormCkeditorComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ inputBase: ElementRef;
7
+ config: {
8
+ toolbar: (string | string[])[];
9
+ };
10
+ constructor();
11
+ ngOnInit(): void;
12
+ onFocusIn(): void;
13
+ onKeyDown(e: any): void;
14
+ }
@@ -0,0 +1,45 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import * as moment from 'jalali-moment';
3
+ import { DayClass, InputClass } from '../../../classes/form.class';
4
+ import { InputType } from '../../../classes/enum.class';
5
+ export declare class FormDateComponent implements OnInit {
6
+ inp: InputClass;
7
+ inForm: boolean;
8
+ changeIndex: EventEmitter<string>;
9
+ previousDays: DayClass[];
10
+ nextDays: DayClass[];
11
+ days: DayClass[];
12
+ todayDay: number;
13
+ todayMonth: number;
14
+ todayYear: number;
15
+ cSearch: string;
16
+ state: string;
17
+ months: string[];
18
+ active: moment.Moment;
19
+ get type(): typeof InputType;
20
+ inputBase: ElementRef;
21
+ inputDiv: ElementRef;
22
+ inputLabel: ElementRef;
23
+ inputCalendarDiv: ElementRef;
24
+ constructor();
25
+ ngOnInit(): void;
26
+ setInpValue(v: any): void;
27
+ setDate(): void;
28
+ isToday(m: moment.Moment, d: number): boolean;
29
+ isActive(m: moment.Moment, d: number): boolean;
30
+ isSelected(m: moment.Moment, d: number): boolean;
31
+ add(c: number): void;
32
+ changeMonth(c: number): void;
33
+ changeYear(c: number): void;
34
+ toggleCalendar(): void;
35
+ openCalendar(): void;
36
+ onKeyDown(e: any): void;
37
+ onKeyUp(e: any): void;
38
+ onFocusOut(): void;
39
+ setPosition(): void;
40
+ selectDate(d: DayClass): void;
41
+ setValue(y: number, m: number, d: number): void;
42
+ changeState(s: string): void;
43
+ getYears(): number[];
44
+ getActiveMonth(): string;
45
+ }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormDatetimeComponent implements OnInit {
4
+ inp: InputClass;
5
+ inForm: boolean;
6
+ changeIndex: EventEmitter<string>;
7
+ date: InputClass;
8
+ time: InputClass;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ changeFocus(p: any, a: any): void;
12
+ getValue(): string;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormFileComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ inputDiv: ElementRef;
7
+ inputBaseFile: ElementRef;
8
+ inputBase: ElementRef;
9
+ id: string;
10
+ constructor();
11
+ ngOnInit(): void;
12
+ getPdfImage(file: any): any;
13
+ onClick(): void;
14
+ onChange(e: any): void;
15
+ onKeyDown(e: any): void;
16
+ onFocusIn(): void;
17
+ title(): string;
18
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormFingerComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ inputBase: ElementRef;
7
+ inputDiv: ElementRef;
8
+ inputLabel: ElementRef;
9
+ wsRegister: any;
10
+ ngOnInit(): void;
11
+ onClick(): void;
12
+ onFocusIn(): void;
13
+ onKeyDown(e: any): void;
14
+ addRemoveFinger(f: string): void;
15
+ }
@@ -0,0 +1,7 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormHiddenComponent implements OnInit {
4
+ inp: InputClass;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ }
@@ -0,0 +1,16 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormIconComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ inputDiv: ElementRef;
7
+ inputBase: ElementRef;
8
+ constructor();
9
+ ngOnInit(): void;
10
+ onFocusIn(e?: any): void;
11
+ onFocusOut(e?: any): void;
12
+ onClick(e: any): void;
13
+ mouseClick(e: any): void;
14
+ codeClick(e: any): void;
15
+ onKeyDown(e: any): void;
16
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormClass } from '../../../classes/form.class';
3
+ import { InputType } from '../../../classes/enum.class';
4
+ export declare class FormComponent implements OnInit {
5
+ form: FormClass;
6
+ get type(): typeof InputType;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ changeIndex(index: any, action: any): void;
10
+ }
@@ -0,0 +1,8 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormLabelComponent implements OnInit {
4
+ inp: InputClass;
5
+ constructor();
6
+ ngOnInit(): void;
7
+ onClick(): void;
8
+ }