ps-toolkit-ui 1.20.91 → 1.21.32

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/fesm2022/ps-toolkit-ui.mjs +9415 -0
  2. package/fesm2022/ps-toolkit-ui.mjs.map +1 -0
  3. package/package.json +16 -12
  4. package/types/ps-toolkit-ui.d.ts +1671 -0
  5. package/bundles/ps-toolkit-ui.umd.js +0 -10321
  6. package/bundles/ps-toolkit-ui.umd.js.map +0 -1
  7. package/bundles/ps-toolkit-ui.umd.min.js +0 -2
  8. package/bundles/ps-toolkit-ui.umd.min.js.map +0 -1
  9. package/esm2015/lib/classes/addModal.class.js +0 -36
  10. package/esm2015/lib/classes/chart.class.js +0 -165
  11. package/esm2015/lib/classes/currentDataClass.js +0 -17
  12. package/esm2015/lib/classes/enum.class.js +0 -253
  13. package/esm2015/lib/classes/excel.class.js +0 -56
  14. package/esm2015/lib/classes/form.class.js +0 -667
  15. package/esm2015/lib/classes/header.class.js +0 -16
  16. package/esm2015/lib/classes/helper.class.js +0 -650
  17. package/esm2015/lib/classes/lang.class.js +0 -35
  18. package/esm2015/lib/classes/login.class.js +0 -29
  19. package/esm2015/lib/classes/modal.class.js +0 -49
  20. package/esm2015/lib/classes/permission.class.js +0 -63
  21. package/esm2015/lib/classes/request.class.js +0 -155
  22. package/esm2015/lib/classes/safehtml.class.js +0 -17
  23. package/esm2015/lib/classes/safestyle.class.js +0 -17
  24. package/esm2015/lib/classes/sidebar.class.js +0 -16
  25. package/esm2015/lib/classes/steps.class.js +0 -45
  26. package/esm2015/lib/classes/string.class.js +0 -251
  27. package/esm2015/lib/classes/table.class.js +0 -593
  28. package/esm2015/lib/components/accordion/accordion.component.js +0 -45
  29. package/esm2015/lib/components/alert/alert.component.js +0 -39
  30. package/esm2015/lib/components/base.component.js +0 -54
  31. package/esm2015/lib/components/calendar/calendar.component.js +0 -98
  32. package/esm2015/lib/components/chart/chart.component.js +0 -17
  33. package/esm2015/lib/components/clock/clock.component.js +0 -33
  34. package/esm2015/lib/components/confirm/confirm.component.js +0 -50
  35. package/esm2015/lib/components/error/error.component.js +0 -26
  36. package/esm2015/lib/components/footer/footer.component.js +0 -23
  37. package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +0 -200
  38. package/esm2015/lib/components/form/button/form.button.component.js +0 -68
  39. package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +0 -67
  40. package/esm2015/lib/components/form/ckeditor/form.ckeditor.component.js +0 -90
  41. package/esm2015/lib/components/form/date/form.date.component.js +0 -314
  42. package/esm2015/lib/components/form/datetime/form.datetime.component.js +0 -106
  43. package/esm2015/lib/components/form/file/form.file.component.js +0 -124
  44. package/esm2015/lib/components/form/finger/form.finger.component.js +0 -140
  45. package/esm2015/lib/components/form/hidden/form.hidden.component.js +0 -31
  46. package/esm2015/lib/components/form/icon/form.icon.component.js +0 -84
  47. package/esm2015/lib/components/form/index/form.component.js +0 -51
  48. package/esm2015/lib/components/form/label/form.label.component.js +0 -32
  49. package/esm2015/lib/components/form/plaque/form.plaque.component.js +0 -258
  50. package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +0 -468
  51. package/esm2015/lib/components/form/radio/form.radio.component.js +0 -82
  52. package/esm2015/lib/components/form/select/form.select.component.js +0 -452
  53. package/esm2015/lib/components/form/select/item/form.select.item.component.js +0 -27
  54. package/esm2015/lib/components/form/slide/form.slide.component.js +0 -84
  55. package/esm2015/lib/components/form/star/form.star.component.js +0 -66
  56. package/esm2015/lib/components/form/table/form.table.component.js +0 -96
  57. package/esm2015/lib/components/form/tag/form.tag.component.js +0 -100
  58. package/esm2015/lib/components/form/textarea/form.textarea.component.js +0 -83
  59. package/esm2015/lib/components/form/textbox/form.textbox.component.js +0 -227
  60. package/esm2015/lib/components/form/time/form.time.component.js +0 -149
  61. package/esm2015/lib/components/form/toggle/form.toggle.component.js +0 -72
  62. package/esm2015/lib/components/form/tree/form.tree.component.js +0 -157
  63. package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +0 -50
  64. package/esm2015/lib/components/form/uploader/form.uploader.component.js +0 -159
  65. package/esm2015/lib/components/form/vehicle/form.vehicle.component.js +0 -104
  66. package/esm2015/lib/components/form/vehicle/search/form.vehicle.search.component.js +0 -237
  67. package/esm2015/lib/components/header/header.component.js +0 -28
  68. package/esm2015/lib/components/header/sub/sub.header.component.js +0 -14
  69. package/esm2015/lib/components/layout/layout.component.js +0 -18
  70. package/esm2015/lib/components/loading/loading.component.js +0 -22
  71. package/esm2015/lib/components/login/login.component.js +0 -159
  72. package/esm2015/lib/components/modal/modal.component.js +0 -25
  73. package/esm2015/lib/components/notfound/notfound.component.js +0 -29
  74. package/esm2015/lib/components/notification/notification.component.js +0 -14
  75. package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +0 -55
  76. package/esm2015/lib/components/sidebar/sidebar.component.js +0 -98
  77. package/esm2015/lib/components/steps/steps.component.js +0 -88
  78. package/esm2015/lib/components/table/loading/table.loading.component.js +0 -17
  79. package/esm2015/lib/components/table/pagination/table.pagination.component.js +0 -84
  80. package/esm2015/lib/components/table/row/table.row.component.js +0 -450
  81. package/esm2015/lib/components/table/table.component.js +0 -240
  82. package/esm2015/lib/components/tooltip/tooltip.component.js +0 -19
  83. package/esm2015/lib/ps-toolkit-ui.module.js +0 -105
  84. package/esm2015/lib/services/config.service.js +0 -14
  85. package/esm2015/lib/services/sidebar.service.js +0 -21
  86. package/esm2015/ps-toolkit-ui.js +0 -21
  87. package/esm2015/public-api.js +0 -64
  88. package/fesm2015/ps-toolkit-ui.js +0 -8926
  89. package/fesm2015/ps-toolkit-ui.js.map +0 -1
  90. package/lib/classes/addModal.class.d.ts +0 -14
  91. package/lib/classes/chart.class.d.ts +0 -15
  92. package/lib/classes/currentDataClass.d.ts +0 -10
  93. package/lib/classes/enum.class.d.ts +0 -221
  94. package/lib/classes/excel.class.d.ts +0 -8
  95. package/lib/classes/form.class.d.ts +0 -193
  96. package/lib/classes/header.class.d.ts +0 -8
  97. package/lib/classes/helper.class.d.ts +0 -50
  98. package/lib/classes/lang.class.d.ts +0 -5
  99. package/lib/classes/login.class.d.ts +0 -21
  100. package/lib/classes/modal.class.d.ts +0 -19
  101. package/lib/classes/permission.class.d.ts +0 -35
  102. package/lib/classes/request.class.d.ts +0 -10
  103. package/lib/classes/safehtml.class.d.ts +0 -7
  104. package/lib/classes/safestyle.class.d.ts +0 -7
  105. package/lib/classes/sidebar.class.d.ts +0 -14
  106. package/lib/classes/steps.class.d.ts +0 -31
  107. package/lib/classes/string.class.d.ts +0 -249
  108. package/lib/classes/table.class.d.ts +0 -88
  109. package/lib/components/accordion/accordion.component.d.ts +0 -7
  110. package/lib/components/alert/alert.component.d.ts +0 -10
  111. package/lib/components/base.component.d.ts +0 -17
  112. package/lib/components/calendar/calendar.component.d.ts +0 -26
  113. package/lib/components/chart/chart.component.d.ts +0 -5
  114. package/lib/components/clock/clock.component.d.ts +0 -11
  115. package/lib/components/confirm/confirm.component.d.ts +0 -14
  116. package/lib/components/error/error.component.d.ts +0 -7
  117. package/lib/components/footer/footer.component.d.ts +0 -6
  118. package/lib/components/form/bank-card/form.bank-card.component.d.ts +0 -28
  119. package/lib/components/form/button/form.button.component.d.ts +0 -15
  120. package/lib/components/form/checkbox/form.checkbox.component.d.ts +0 -14
  121. package/lib/components/form/ckeditor/form.ckeditor.component.d.ts +0 -14
  122. package/lib/components/form/date/form.date.component.d.ts +0 -45
  123. package/lib/components/form/datetime/form.datetime.component.d.ts +0 -13
  124. package/lib/components/form/file/form.file.component.d.ts +0 -18
  125. package/lib/components/form/finger/form.finger.component.d.ts +0 -15
  126. package/lib/components/form/hidden/form.hidden.component.d.ts +0 -7
  127. package/lib/components/form/icon/form.icon.component.d.ts +0 -16
  128. package/lib/components/form/index/form.component.d.ts +0 -10
  129. package/lib/components/form/label/form.label.component.d.ts +0 -8
  130. package/lib/components/form/plaque/form.plaque.component.d.ts +0 -21
  131. package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +0 -38
  132. package/lib/components/form/radio/form.radio.component.d.ts +0 -13
  133. package/lib/components/form/select/form.select.component.d.ts +0 -45
  134. package/lib/components/form/select/item/form.select.item.component.d.ts +0 -12
  135. package/lib/components/form/slide/form.slide.component.d.ts +0 -13
  136. package/lib/components/form/star/form.star.component.d.ts +0 -13
  137. package/lib/components/form/table/form.table.component.d.ts +0 -9
  138. package/lib/components/form/tag/form.tag.component.d.ts +0 -16
  139. package/lib/components/form/textarea/form.textarea.component.d.ts +0 -13
  140. package/lib/components/form/textbox/form.textbox.component.d.ts +0 -20
  141. package/lib/components/form/time/form.time.component.d.ts +0 -25
  142. package/lib/components/form/toggle/form.toggle.component.d.ts +0 -13
  143. package/lib/components/form/tree/form.tree.component.d.ts +0 -21
  144. package/lib/components/form/tree/item/form.tree.item.component.d.ts +0 -19
  145. package/lib/components/form/uploader/form.uploader.component.d.ts +0 -21
  146. package/lib/components/form/vehicle/form.vehicle.component.d.ts +0 -18
  147. package/lib/components/form/vehicle/search/form.vehicle.search.component.d.ts +0 -22
  148. package/lib/components/header/header.component.d.ts +0 -10
  149. package/lib/components/header/sub/sub.header.component.d.ts +0 -3
  150. package/lib/components/layout/layout.component.d.ts +0 -7
  151. package/lib/components/loading/loading.component.d.ts +0 -5
  152. package/lib/components/login/login.component.d.ts +0 -15
  153. package/lib/components/modal/modal.component.d.ts +0 -9
  154. package/lib/components/notfound/notfound.component.d.ts +0 -8
  155. package/lib/components/notification/notification.component.d.ts +0 -3
  156. package/lib/components/sidebar/item/sidebar.item.component.d.ts +0 -14
  157. package/lib/components/sidebar/sidebar.component.d.ts +0 -22
  158. package/lib/components/steps/steps.component.d.ts +0 -16
  159. package/lib/components/table/loading/table.loading.component.d.ts +0 -5
  160. package/lib/components/table/pagination/table.pagination.component.d.ts +0 -15
  161. package/lib/components/table/row/table.row.component.d.ts +0 -44
  162. package/lib/components/table/table.component.d.ts +0 -43
  163. package/lib/components/tooltip/tooltip.component.d.ts +0 -5
  164. package/lib/ps-toolkit-ui.module.d.ts +0 -4
  165. package/lib/services/config.service.d.ts +0 -6
  166. package/lib/services/sidebar.service.d.ts +0 -9
  167. package/ps-toolkit-ui.d.ts +0 -20
  168. package/ps-toolkit-ui.metadata.json +0 -1
  169. package/public-api.d.ts +0 -60
@@ -1,249 +0,0 @@
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
- };
@@ -1,88 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,26 +0,0 @@
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
- }
@@ -1,5 +0,0 @@
1
- import { ChartClass } from '../../classes/chart.class';
2
- export declare class ChartComponent {
3
- chart: ChartClass;
4
- constructor();
5
- }
@@ -1,11 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
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
- }
@@ -1,6 +0,0 @@
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
- }
@@ -1,28 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,45 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- }