ps-toolkit-ui 0.0.211 → 0.0.212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ps-toolkit-ui.umd.js +7812 -0
- package/bundles/ps-toolkit-ui.umd.js.map +1 -0
- package/bundles/ps-toolkit-ui.umd.min.js +2 -0
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -0
- package/esm2015/lib/classes/chart.class.js +140 -0
- package/esm2015/lib/classes/enum.class.js +187 -0
- package/esm2015/lib/classes/form.class.js +481 -0
- package/esm2015/lib/classes/helper.class.js +284 -0
- package/esm2015/lib/classes/lang.class.js +32 -0
- package/esm2015/lib/classes/login.class.js +22 -0
- package/esm2015/lib/classes/modal.class.js +52 -0
- package/esm2015/lib/classes/permission.class.js +61 -0
- package/esm2015/lib/classes/request.class.js +256 -0
- package/esm2015/lib/classes/safestyle.class.js +15 -0
- package/esm2015/lib/classes/sidebar.class.js +14 -0
- package/esm2015/lib/classes/steps.class.js +20 -0
- package/esm2015/lib/classes/string.class.js +220 -0
- package/esm2015/lib/classes/table.class.js +215 -0
- package/esm2015/lib/components/accordion/accordion.component.js +45 -0
- package/esm2015/lib/components/alert/alert.component.js +39 -0
- package/esm2015/lib/components/base.component.js +45 -0
- package/esm2015/lib/components/calendar/calendar.component.js +97 -0
- package/esm2015/lib/components/chart/chart.component.js +17 -0
- package/esm2015/lib/components/clock/clock.component.js +33 -0
- package/esm2015/lib/components/confirm/confirm.component.js +50 -0
- package/esm2015/lib/components/footer/footer.component.js +23 -0
- package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +148 -0
- package/esm2015/lib/components/form/button/form.button.component.js +68 -0
- package/esm2015/lib/components/form/car/form.car.component.js +84 -0
- package/esm2015/lib/components/form/car/search/form.car.search.component.js +172 -0
- package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +66 -0
- package/esm2015/lib/components/form/date/form.date.component.js +254 -0
- package/esm2015/lib/components/form/datetime/form.datetime.component.js +104 -0
- package/esm2015/lib/components/form/file/form.file.component.js +133 -0
- package/esm2015/lib/components/form/finger/form.finger.component.js +138 -0
- package/esm2015/lib/components/form/hidden/form.hidden.component.js +31 -0
- package/esm2015/lib/components/form/icon/form.icon.component.js +76 -0
- package/esm2015/lib/components/form/index/form.component.js +48 -0
- package/esm2015/lib/components/form/label/form.label.component.js +32 -0
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +176 -0
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +390 -0
- package/esm2015/lib/components/form/radio/form.radio.component.js +79 -0
- package/esm2015/lib/components/form/select/form.select.component.js +374 -0
- package/esm2015/lib/components/form/select/item/form.select.item.component.js +43 -0
- package/esm2015/lib/components/form/table/form.table.component.js +98 -0
- package/esm2015/lib/components/form/textarea/form.textarea.component.js +78 -0
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +186 -0
- package/esm2015/lib/components/form/time/form.time.component.js +145 -0
- package/esm2015/lib/components/form/tree/form.tree.component.js +99 -0
- package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +48 -0
- package/esm2015/lib/components/header/header.component.js +33 -0
- package/esm2015/lib/components/header/sub/sub.header.component.js +14 -0
- package/esm2015/lib/components/layout/layout.component.js +25 -0
- package/esm2015/lib/components/loading/loading.component.js +22 -0
- package/esm2015/lib/components/login/login.component.js +148 -0
- package/esm2015/lib/components/modal/modal.component.js +25 -0
- package/esm2015/lib/components/notfound/notfound.component.js +29 -0
- package/esm2015/lib/components/notification/notification.component.js +14 -0
- package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +53 -0
- package/esm2015/lib/components/sidebar/sidebar.component.js +67 -0
- package/esm2015/lib/components/steps/steps.component.js +51 -0
- package/esm2015/lib/components/table/loading/table.loading.component.js +17 -0
- package/esm2015/lib/components/table/pagination/table.pagination.component.js +84 -0
- package/esm2015/lib/components/table/report/table.report.component.js +246 -0
- package/esm2015/lib/components/table/row/table.row.component.js +379 -0
- package/esm2015/lib/components/table/table.component.js +179 -0
- package/esm2015/lib/components/tooltip/tooltip.component.js +19 -0
- package/esm2015/lib/ps-toolkit-ui.module.js +95 -0
- package/esm2015/lib/services/config.service.js +14 -0
- package/esm2015/ps-toolkit-ui.js +20 -0
- package/esm2015/public-api.js +53 -0
- package/fesm2015/ps-toolkit-ui.js +6706 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -0
- package/lib/classes/chart.class.d.ts +11 -0
- package/lib/classes/enum.class.d.ts +158 -0
- package/lib/classes/form.class.d.ts +173 -0
- package/lib/classes/helper.class.d.ts +28 -0
- package/lib/classes/lang.class.d.ts +5 -0
- package/lib/classes/login.class.d.ts +17 -0
- package/lib/classes/modal.class.d.ts +19 -0
- package/lib/classes/permission.class.d.ts +31 -0
- package/lib/classes/request.class.d.ts +12 -0
- package/lib/classes/safestyle.class.d.ts +7 -0
- package/lib/classes/sidebar.class.d.ts +11 -0
- package/lib/classes/steps.class.d.ts +17 -0
- package/lib/classes/string.class.d.ts +218 -0
- package/lib/classes/table.class.d.ts +69 -0
- package/lib/components/accordion/accordion.component.d.ts +7 -0
- package/lib/components/alert/alert.component.d.ts +10 -0
- package/lib/components/base.component.d.ts +14 -0
- package/lib/components/calendar/calendar.component.d.ts +26 -0
- package/lib/components/chart/chart.component.d.ts +5 -0
- package/lib/components/clock/clock.component.d.ts +11 -0
- package/lib/components/confirm/confirm.component.d.ts +14 -0
- package/lib/components/footer/footer.component.d.ts +6 -0
- package/lib/components/form/bank-card/form.bank-card.component.d.ts +22 -0
- package/lib/components/form/button/form.button.component.d.ts +15 -0
- package/lib/components/form/car/form.car.component.d.ts +16 -0
- package/lib/components/form/car/search/form.car.search.component.d.ts +17 -0
- package/lib/components/form/checkbox/form.checkbox.component.d.ts +14 -0
- package/lib/components/form/date/form.date.component.d.ts +42 -0
- package/lib/components/form/datetime/form.datetime.component.d.ts +13 -0
- package/lib/components/form/file/form.file.component.d.ts +17 -0
- package/lib/components/form/finger/form.finger.component.d.ts +15 -0
- package/lib/components/form/hidden/form.hidden.component.d.ts +7 -0
- package/lib/components/form/icon/form.icon.component.d.ts +15 -0
- package/lib/components/form/index/form.component.d.ts +10 -0
- package/lib/components/form/label/form.label.component.d.ts +8 -0
- package/lib/components/form/plaque/form.plaque.component.d.ts +22 -0
- package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +36 -0
- package/lib/components/form/radio/form.radio.component.d.ts +13 -0
- package/lib/components/form/select/form.select.component.d.ts +39 -0
- package/lib/components/form/select/item/form.select.item.component.d.ts +12 -0
- package/lib/components/form/table/form.table.component.d.ts +9 -0
- package/lib/components/form/textarea/form.textarea.component.d.ts +13 -0
- package/lib/components/form/textbox/form.textbox.component.d.ts +20 -0
- package/lib/components/form/time/form.time.component.d.ts +25 -0
- package/lib/components/form/tree/form.tree.component.d.ts +16 -0
- package/lib/components/form/tree/item/form.tree.item.component.d.ts +17 -0
- package/lib/components/header/header.component.d.ts +9 -0
- package/lib/components/header/sub/sub.header.component.d.ts +3 -0
- package/lib/components/layout/layout.component.d.ts +8 -0
- package/lib/components/loading/loading.component.d.ts +5 -0
- package/lib/components/login/login.component.d.ts +13 -0
- package/lib/components/modal/modal.component.d.ts +9 -0
- package/lib/components/notfound/notfound.component.d.ts +8 -0
- package/lib/components/notification/notification.component.d.ts +3 -0
- package/lib/components/sidebar/item/sidebar.item.component.d.ts +14 -0
- package/lib/components/sidebar/sidebar.component.d.ts +19 -0
- package/lib/components/steps/steps.component.d.ts +10 -0
- package/lib/components/table/loading/table.loading.component.d.ts +5 -0
- package/lib/components/table/pagination/table.pagination.component.d.ts +15 -0
- package/lib/components/table/report/table.report.component.d.ts +34 -0
- package/lib/components/table/row/table.row.component.d.ts +34 -0
- package/lib/components/table/table.component.d.ts +40 -0
- package/lib/components/tooltip/tooltip.component.d.ts +5 -0
- package/lib/ps-toolkit-ui.module.d.ts +4 -0
- package/lib/services/config.service.d.ts +6 -0
- package/package.json +23 -19
- package/ps-toolkit-ui.d.ts +19 -0
- package/ps-toolkit-ui.metadata.json +1 -0
- package/{src/public-api.ts → public-api.d.ts} +49 -53
- package/karma.conf.js +0 -32
- package/ng-package.json +0 -16
- package/src/lib/classes/chart.class.ts +0 -140
- package/src/lib/classes/enum.class.ts +0 -193
- package/src/lib/classes/excel.class.ts +0 -46
- package/src/lib/classes/form.class.ts +0 -528
- package/src/lib/classes/helper.class.ts +0 -283
- package/src/lib/classes/lang.class.ts +0 -32
- package/src/lib/classes/login.class.ts +0 -27
- package/src/lib/classes/modal.class.ts +0 -59
- package/src/lib/classes/permission.class.ts +0 -55
- package/src/lib/classes/request.class.ts +0 -255
- package/src/lib/classes/safestyle.class.ts +0 -4
- package/src/lib/classes/sidebar.class.ts +0 -20
- package/src/lib/classes/steps.class.ts +0 -19
- package/src/lib/classes/string.class.ts +0 -219
- package/src/lib/classes/table.class.ts +0 -228
- package/src/lib/components/accordion/accordion.component.css +0 -116
- package/src/lib/components/accordion/accordion.component.html +0 -19
- package/src/lib/components/accordion/accordion.component.ts +0 -41
- package/src/lib/components/alert/alert.component.css +0 -112
- package/src/lib/components/alert/alert.component.html +0 -1
- package/src/lib/components/alert/alert.component.ts +0 -35
- package/src/lib/components/base.component.ts +0 -38
- package/src/lib/components/calendar/calendar.component.css +0 -206
- package/src/lib/components/calendar/calendar.component.html +0 -36
- package/src/lib/components/calendar/calendar.component.ts +0 -99
- package/src/lib/components/chart/chart.component.css +0 -24
- package/src/lib/components/chart/chart.component.html +0 -6
- package/src/lib/components/chart/chart.component.ts +0 -14
- package/src/lib/components/clock/clock.component.css +0 -141
- package/src/lib/components/clock/clock.component.html +0 -10
- package/src/lib/components/clock/clock.component.ts +0 -37
- package/src/lib/components/confirm/confirm.component.css +0 -112
- package/src/lib/components/confirm/confirm.component.html +0 -1
- package/src/lib/components/confirm/confirm.component.ts +0 -47
- package/src/lib/components/footer/footer.component.css +0 -46
- package/src/lib/components/footer/footer.component.html +0 -9
- package/src/lib/components/footer/footer.component.ts +0 -18
- package/src/lib/components/form/bank-card/form.bank-card.component.css +0 -115
- package/src/lib/components/form/bank-card/form.bank-card.component.html +0 -13
- package/src/lib/components/form/bank-card/form.bank-card.component.ts +0 -144
- package/src/lib/components/form/button/form.button.component.css +0 -222
- package/src/lib/components/form/button/form.button.component.html +0 -16
- package/src/lib/components/form/button/form.button.component.ts +0 -65
- package/src/lib/components/form/car/form.car.component.css +0 -287
- package/src/lib/components/form/car/form.car.component.html +0 -11
- package/src/lib/components/form/car/form.car.component.ts +0 -82
- package/src/lib/components/form/car/search/form.car.search.component.css +0 -287
- package/src/lib/components/form/car/search/form.car.search.component.html +0 -15
- package/src/lib/components/form/car/search/form.car.search.component.ts +0 -170
- package/src/lib/components/form/checkbox/form.checkbox.component.css +0 -128
- package/src/lib/components/form/checkbox/form.checkbox.component.html +0 -8
- package/src/lib/components/form/checkbox/form.checkbox.component.ts +0 -64
- package/src/lib/components/form/date/form.date.component.css +0 -310
- package/src/lib/components/form/date/form.date.component.html +0 -46
- package/src/lib/components/form/date/form.date.component.ts +0 -247
- package/src/lib/components/form/datetime/form.datetime.component.css +0 -157
- package/src/lib/components/form/datetime/form.datetime.component.html +0 -11
- package/src/lib/components/form/datetime/form.datetime.component.ts +0 -98
- package/src/lib/components/form/file/form.file.component.css +0 -151
- package/src/lib/components/form/file/form.file.component.html +0 -12
- package/src/lib/components/form/file/form.file.component.ts +0 -130
- package/src/lib/components/form/finger/form.finger.component.css +0 -215
- package/src/lib/components/form/finger/form.finger.component.html +0 -59
- package/src/lib/components/form/finger/form.finger.component.ts +0 -131
- package/src/lib/components/form/hidden/form.hidden.component.css +0 -0
- package/src/lib/components/form/hidden/form.hidden.component.html +0 -0
- package/src/lib/components/form/hidden/form.hidden.component.ts +0 -29
- package/src/lib/components/form/icon/form.icon.component.css +0 -108
- package/src/lib/components/form/icon/form.icon.component.html +0 -14
- package/src/lib/components/form/icon/form.icon.component.ts +0 -73
- package/src/lib/components/form/index/form.component.css +0 -89
- package/src/lib/components/form/index/form.component.html +0 -35
- package/src/lib/components/form/index/form.component.ts +0 -45
- package/src/lib/components/form/label/form.label.component.css +0 -45
- package/src/lib/components/form/label/form.label.component.html +0 -2
- package/src/lib/components/form/label/form.label.component.ts +0 -30
- package/src/lib/components/form/plaque/form.plaque.component.css +0 -76
- package/src/lib/components/form/plaque/form.plaque.component.html +0 -10
- package/src/lib/components/form/plaque/form.plaque.component.ts +0 -178
- package/src/lib/components/form/plaque/select/form.plaque.select.component.css +0 -167
- package/src/lib/components/form/plaque/select/form.plaque.select.component.html +0 -19
- package/src/lib/components/form/plaque/select/form.plaque.select.component.ts +0 -385
- package/src/lib/components/form/radio/form.radio.component.css +0 -158
- package/src/lib/components/form/radio/form.radio.component.html +0 -16
- package/src/lib/components/form/radio/form.radio.component.ts +0 -78
- package/src/lib/components/form/select/form.select.component.css +0 -326
- package/src/lib/components/form/select/form.select.component.html +0 -16
- package/src/lib/components/form/select/form.select.component.ts +0 -358
- package/src/lib/components/form/select/item/form.select.item.component.css +0 -59
- package/src/lib/components/form/select/item/form.select.item.component.html +0 -10
- package/src/lib/components/form/select/item/form.select.item.component.ts +0 -40
- package/src/lib/components/form/table/form.table.component.css +0 -50
- package/src/lib/components/form/table/form.table.component.html +0 -8
- package/src/lib/components/form/table/form.table.component.ts +0 -94
- package/src/lib/components/form/textarea/form.textarea.component.css +0 -109
- package/src/lib/components/form/textarea/form.textarea.component.html +0 -10
- package/src/lib/components/form/textarea/form.textarea.component.ts +0 -76
- package/src/lib/components/form/textbox/form.textbox.component.css +0 -296
- package/src/lib/components/form/textbox/form.textbox.component.html +0 -13
- package/src/lib/components/form/textbox/form.textbox.component.ts +0 -185
- package/src/lib/components/form/time/form.time.component.css +0 -205
- package/src/lib/components/form/time/form.time.component.html +0 -22
- package/src/lib/components/form/time/form.time.component.ts +0 -139
- package/src/lib/components/form/tree/form.tree.component.css +0 -109
- package/src/lib/components/form/tree/form.tree.component.html +0 -11
- package/src/lib/components/form/tree/form.tree.component.ts +0 -98
- package/src/lib/components/form/tree/item/form.tree.item.component.css +0 -142
- package/src/lib/components/form/tree/item/form.tree.item.component.html +0 -9
- package/src/lib/components/form/tree/item/form.tree.item.component.ts +0 -49
- package/src/lib/components/header/header.component.css +0 -57
- package/src/lib/components/header/header.component.html +0 -5
- package/src/lib/components/header/header.component.ts +0 -28
- package/src/lib/components/header/sub/sub.header.component.css +0 -62
- package/src/lib/components/header/sub/sub.header.component.html +0 -8
- package/src/lib/components/header/sub/sub.header.component.ts +0 -11
- package/src/lib/components/layout/layout.component.css +0 -300
- package/src/lib/components/layout/layout.component.html +0 -20
- package/src/lib/components/layout/layout.component.ts +0 -21
- package/src/lib/components/loading/loading.component.css +0 -39
- package/src/lib/components/loading/loading.component.html +0 -8
- package/src/lib/components/loading/loading.component.ts +0 -18
- package/src/lib/components/login/login.component.css +0 -389
- package/src/lib/components/login/login.component.html +0 -27
- package/src/lib/components/login/login.component.ts +0 -145
- package/src/lib/components/modal/modal.component.css +0 -60
- package/src/lib/components/modal/modal.component.html +0 -12
- package/src/lib/components/modal/modal.component.ts +0 -23
- package/src/lib/components/notfound/notfound.component.css +0 -134
- package/src/lib/components/notfound/notfound.component.html +0 -10
- package/src/lib/components/notfound/notfound.component.ts +0 -25
- package/src/lib/components/notification/notification.component.css +0 -45
- package/src/lib/components/notification/notification.component.html +0 -2
- package/src/lib/components/notification/notification.component.ts +0 -11
- package/src/lib/components/sidebar/item/sidebar.item.component.css +0 -236
- package/src/lib/components/sidebar/item/sidebar.item.component.html +0 -16
- package/src/lib/components/sidebar/item/sidebar.item.component.ts +0 -54
- package/src/lib/components/sidebar/sidebar.component.css +0 -42
- package/src/lib/components/sidebar/sidebar.component.html +0 -10
- package/src/lib/components/sidebar/sidebar.component.ts +0 -60
- package/src/lib/components/steps/steps.component.css +0 -320
- package/src/lib/components/steps/steps.component.html +0 -18
- package/src/lib/components/steps/steps.component.ts +0 -44
- package/src/lib/components/table/loading/table.loading.component.css +0 -29
- package/src/lib/components/table/loading/table.loading.component.html +0 -9
- package/src/lib/components/table/loading/table.loading.component.ts +0 -14
- package/src/lib/components/table/pagination/table.pagination.component.css +0 -138
- package/src/lib/components/table/pagination/table.pagination.component.html +0 -9
- package/src/lib/components/table/pagination/table.pagination.component.ts +0 -89
- package/src/lib/components/table/report/table.report.component.css +0 -125
- package/src/lib/components/table/report/table.report.component.html +0 -19
- package/src/lib/components/table/report/table.report.component.ts +0 -238
- package/src/lib/components/table/row/table.row.component.css +0 -170
- package/src/lib/components/table/row/table.row.component.html +0 -21
- package/src/lib/components/table/row/table.row.component.ts +0 -373
- package/src/lib/components/table/table.component.css +0 -116
- package/src/lib/components/table/table.component.html +0 -62
- package/src/lib/components/table/table.component.ts +0 -180
- package/src/lib/components/tooltip/tooltip.component.css +0 -159
- package/src/lib/components/tooltip/tooltip.component.html +0 -1
- package/src/lib/components/tooltip/tooltip.component.ts +0 -15
- package/src/lib/ps-toolkit-ui.module.ts +0 -94
- package/src/lib/services/config.service.ts +0 -8
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -25
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
import {FormClass, InputClass} from './form.class';
|
|
2
|
-
import {InputError, InputType, Method, ResultStatusEnum} from './enum.class';
|
|
3
|
-
import {TableClass} from './table.class';
|
|
4
|
-
import {HelperClass} from './helper.class';
|
|
5
|
-
import * as $ from 'jquery';
|
|
6
|
-
|
|
7
|
-
export class RequestClass {
|
|
8
|
-
constructor(public environment = null, public l: (k, v?) => string = null) {
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
postForm(form: FormClass, onSubmit = null): void {
|
|
12
|
-
if (!form.check()) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
if (form.onBeforeSubmit && !form.onBeforeSubmit()){
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
const btns = form.inputs.filter(x => x.type === InputType.Submit);
|
|
19
|
-
for (const btn of btns){
|
|
20
|
-
if (btn.loading){
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
btn.loading = true;
|
|
24
|
-
}
|
|
25
|
-
if (onSubmit){
|
|
26
|
-
for (const btn of btns){
|
|
27
|
-
btn.loading = false;
|
|
28
|
-
}
|
|
29
|
-
onSubmit(form.data());
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
this.getClient(form.url, form.method, form.data(),
|
|
33
|
-
(res) => {
|
|
34
|
-
if (res.status === ResultStatusEnum.Success) {
|
|
35
|
-
if (form.onSuccess) {
|
|
36
|
-
form.onSuccess(res.result);
|
|
37
|
-
}
|
|
38
|
-
if (form.onSuccessBase) {
|
|
39
|
-
form.onSuccessBase(res.result);
|
|
40
|
-
}
|
|
41
|
-
} else {
|
|
42
|
-
let m = '';
|
|
43
|
-
if (res.status === ResultStatusEnum.Unauthorized) {
|
|
44
|
-
m = form.l('FormBaseErrorExpired');
|
|
45
|
-
} else if (res.status === ResultStatusEnum.NotAccess) {
|
|
46
|
-
m = form.l('FormBaseErrorPermission');
|
|
47
|
-
} else {
|
|
48
|
-
if (typeof res.message === 'string'){
|
|
49
|
-
const am = res.message.split(':');
|
|
50
|
-
m = form.l(am[0], am.length > 1 ? am.slice(1) : null);
|
|
51
|
-
}else{
|
|
52
|
-
// tslint:disable-next-line:forin
|
|
53
|
-
for (const msg in res.message) {
|
|
54
|
-
// noinspection JSUnfilteredForInLoop
|
|
55
|
-
m = form.l(msg, res.message[msg]);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
let f = false;
|
|
59
|
-
if (res.result != null){
|
|
60
|
-
// tslint:disable-next-line:forin
|
|
61
|
-
for (const err in res.result) {
|
|
62
|
-
// noinspection JSUnfilteredForInLoop
|
|
63
|
-
const i = form.inputs.find(x => x.name === err);
|
|
64
|
-
if (i){
|
|
65
|
-
// noinspection JSUnfilteredForInLoop
|
|
66
|
-
i.error = InputError[InputError[res.result[err]]];
|
|
67
|
-
if (!f){
|
|
68
|
-
i.focus();
|
|
69
|
-
f = true;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
if (m) {
|
|
76
|
-
HelperClass.addNotification(m);
|
|
77
|
-
}
|
|
78
|
-
if (form.onFailed) {
|
|
79
|
-
form.onFailed(res.message);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
for (const btn of btns){
|
|
83
|
-
btn.loading = false;
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
(res) => {
|
|
87
|
-
HelperClass.addNotification(form.l('Error'));
|
|
88
|
-
if (form.onFailed) {
|
|
89
|
-
form.onFailed('Error');
|
|
90
|
-
}
|
|
91
|
-
for (const btn of btns){
|
|
92
|
-
btn.loading = false;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
table(table: TableClass, btn: InputClass = null): void {
|
|
99
|
-
if (table.searchForm && !table.searchForm.check()) {
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
table.loading = true;
|
|
103
|
-
if (btn){
|
|
104
|
-
if (btn.loading){
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
btn.loading = true;
|
|
108
|
-
}
|
|
109
|
-
this.getClient(table.getUrl(), table.method, table.searchData(),
|
|
110
|
-
(res) => {
|
|
111
|
-
if (res.status === ResultStatusEnum.Success) {
|
|
112
|
-
table.rows = res.result.List;
|
|
113
|
-
table.count = res.result.Count;
|
|
114
|
-
if (table.onLoad){
|
|
115
|
-
table.onLoad();
|
|
116
|
-
}
|
|
117
|
-
if (btn){
|
|
118
|
-
btn.loading = false;
|
|
119
|
-
}
|
|
120
|
-
table.loading = false;
|
|
121
|
-
} else {
|
|
122
|
-
let m = '';
|
|
123
|
-
if (res.status === ResultStatusEnum.Unauthorized) {
|
|
124
|
-
m = 'FormBaseErrorExpired';
|
|
125
|
-
} else if (res.status === ResultStatusEnum.NotAccess) {
|
|
126
|
-
m = 'FormBaseErrorPermission';
|
|
127
|
-
} else {
|
|
128
|
-
if (typeof res.message === 'string'){
|
|
129
|
-
m = res.message;
|
|
130
|
-
}else{
|
|
131
|
-
// tslint:disable-next-line:forin
|
|
132
|
-
for (const msg in res.message) {
|
|
133
|
-
// noinspection JSUnfilteredForInLoop
|
|
134
|
-
m = table.l(msg, res.message[msg]);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
if (m) {
|
|
139
|
-
HelperClass.addNotification(table.l(m));
|
|
140
|
-
}
|
|
141
|
-
table.rows = [];
|
|
142
|
-
table.count = 0;
|
|
143
|
-
table.page = 1;
|
|
144
|
-
if (btn){
|
|
145
|
-
btn.loading = false;
|
|
146
|
-
}
|
|
147
|
-
table.loading = false;
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
(res) => {
|
|
151
|
-
table.rows = [];
|
|
152
|
-
table.count = 0;
|
|
153
|
-
table.page = 1;
|
|
154
|
-
if (btn){
|
|
155
|
-
btn.loading = false;
|
|
156
|
-
}
|
|
157
|
-
table.loading = false;
|
|
158
|
-
}
|
|
159
|
-
);
|
|
160
|
-
}
|
|
161
|
-
send(url: string, method: Method, data: any, btn: InputClass = null, success: (result) => void = null,
|
|
162
|
-
failure: (message) => void = null): void {
|
|
163
|
-
if (btn){
|
|
164
|
-
if (btn.loading){
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
|
-
btn.loading = true;
|
|
168
|
-
}
|
|
169
|
-
if (data === null){
|
|
170
|
-
data = new FormData();
|
|
171
|
-
}
|
|
172
|
-
this.getClient(url, method, data,
|
|
173
|
-
(res) => {
|
|
174
|
-
if (res.status === ResultStatusEnum.Success) {
|
|
175
|
-
if (success) {
|
|
176
|
-
success(res.result);
|
|
177
|
-
}
|
|
178
|
-
if (btn){
|
|
179
|
-
btn.loading = false;
|
|
180
|
-
}
|
|
181
|
-
} else {
|
|
182
|
-
let m = '';
|
|
183
|
-
if (res.status === ResultStatusEnum.Unauthorized) {
|
|
184
|
-
m = 'FormBaseErrorExpired';
|
|
185
|
-
} else if (res.status === ResultStatusEnum.NotAccess) {
|
|
186
|
-
m = 'FormBaseErrorPermission';
|
|
187
|
-
} else {
|
|
188
|
-
if (typeof res.message === 'string'){
|
|
189
|
-
m = res.message;
|
|
190
|
-
}else{
|
|
191
|
-
// tslint:disable-next-line:forin
|
|
192
|
-
for (const msg in res.message) {
|
|
193
|
-
// noinspection JSUnfilteredForInLoop
|
|
194
|
-
m = this.l(msg, res.message[msg]);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
if (m) {
|
|
199
|
-
HelperClass.addNotification(this.l(m));
|
|
200
|
-
}
|
|
201
|
-
if (failure) {
|
|
202
|
-
failure(res.message);
|
|
203
|
-
}
|
|
204
|
-
if (btn){
|
|
205
|
-
btn.loading = false;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
(res) => {
|
|
210
|
-
if (failure) {
|
|
211
|
-
failure('Error');
|
|
212
|
-
}
|
|
213
|
-
if (btn){
|
|
214
|
-
btn.loading = false;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
);
|
|
218
|
-
}
|
|
219
|
-
getClient(url: string, method: Method, data: any, done, fail): void{
|
|
220
|
-
const token = HelperClass.getCookie('Authorization');
|
|
221
|
-
let settings;
|
|
222
|
-
if (data instanceof FormData){
|
|
223
|
-
settings = {
|
|
224
|
-
url: this.environment.apiUrl + url,
|
|
225
|
-
method: Method[method].toString(),
|
|
226
|
-
processData: false,
|
|
227
|
-
contentType: false,
|
|
228
|
-
data,
|
|
229
|
-
headers: token == null ? {} : { Authorization: token }
|
|
230
|
-
};
|
|
231
|
-
}else{
|
|
232
|
-
settings = {
|
|
233
|
-
url: this.environment.apiUrl + url,
|
|
234
|
-
method: Method[method].toString(),
|
|
235
|
-
dataType: 'json',
|
|
236
|
-
contentType: 'application/json; charset=utf-8',
|
|
237
|
-
data: data !== null && data !== {} ? JSON.stringify(data) : null,
|
|
238
|
-
headers: token == null ? {} : { Authorization: token, Accept: 'application/json' }
|
|
239
|
-
};
|
|
240
|
-
}
|
|
241
|
-
const request = $.ajax(settings);
|
|
242
|
-
request.done((response) => {
|
|
243
|
-
if (!this.environment.production){
|
|
244
|
-
console.log('%c' + Method[method].toString() + ' : ' + url, 'background: #2f6054; color: white', response);
|
|
245
|
-
}
|
|
246
|
-
done(response);
|
|
247
|
-
});
|
|
248
|
-
request.fail((response) => {
|
|
249
|
-
if (!this.environment.production){
|
|
250
|
-
console.log('%c' + Method[method].toString() + ' : ' + url, 'background: #8c413a; color: white', response);
|
|
251
|
-
}
|
|
252
|
-
fail(response);
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import {Pipe, PipeTransform} from '@angular/core';
|
|
2
|
-
import {DomSanitizer} from '@angular/platform-browser';
|
|
3
|
-
|
|
4
|
-
@Pipe({ name: 'safeStyle' }) export class SafeStylePipe implements PipeTransform { constructor(private sanitizer: DomSanitizer) { } transform(value) { return this.sanitizer.bypassSecurityTrustStyle(value); } }
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export class SidebarClass {
|
|
2
|
-
constructor(l: (k, v?) => string, name: string, controller: string, action: string, icon: string, children: SidebarClass[] = [],
|
|
3
|
-
count = 0) {
|
|
4
|
-
this.l = l;
|
|
5
|
-
this.controller = controller;
|
|
6
|
-
this.action = action;
|
|
7
|
-
this.name = name;
|
|
8
|
-
this.icon = icon;
|
|
9
|
-
this.count = count;
|
|
10
|
-
this.children = children;
|
|
11
|
-
}
|
|
12
|
-
l: (k, v?) => string;
|
|
13
|
-
controller: string;
|
|
14
|
-
action: string;
|
|
15
|
-
name: string;
|
|
16
|
-
icon: string;
|
|
17
|
-
count = 0;
|
|
18
|
-
children: SidebarClass[];
|
|
19
|
-
active = false;
|
|
20
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {FormClass} from './form.class';
|
|
2
|
-
|
|
3
|
-
export class StepsClass {
|
|
4
|
-
constructor(l: (k, v?) => string) {
|
|
5
|
-
this.l = l;
|
|
6
|
-
}
|
|
7
|
-
l: (k, v?) => string;
|
|
8
|
-
items: StepsItemClass[] = [];
|
|
9
|
-
activeAll = false;
|
|
10
|
-
}
|
|
11
|
-
export class StepsItemClass {
|
|
12
|
-
constructor(public name: string, public icon: string, public url: string = null, public active: boolean = false) {
|
|
13
|
-
this.title = name;
|
|
14
|
-
}
|
|
15
|
-
title: string;
|
|
16
|
-
description: string = null;
|
|
17
|
-
onClick: (item) => void = null;
|
|
18
|
-
onDelete: (item) => void = null;
|
|
19
|
-
}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
export const strings = {
|
|
2
|
-
fa: {
|
|
3
|
-
Public: {
|
|
4
|
-
Header: {
|
|
5
|
-
Logout: 'خروج'
|
|
6
|
-
},
|
|
7
|
-
Login: {
|
|
8
|
-
ReSendCodeDes: '(ارسال مجدد)',
|
|
9
|
-
Code: 'کد تایید',
|
|
10
|
-
Base: 'نام سایت',
|
|
11
|
-
BaseDesc: 'توضیحات سایت',
|
|
12
|
-
SendCode: 'ورود',
|
|
13
|
-
SendCodeSubTitle: 'برای ورود شماره همراه خود را وارد کنید',
|
|
14
|
-
LoginSms: 'تایید شماره همراه',
|
|
15
|
-
LoginSmsSubTitle: 'کد ارسال شده به شماره همراه {} را وارد کنید',
|
|
16
|
-
LoginPassword: 'ورود',
|
|
17
|
-
LoginPasswordSubTitle: 'برای ورود نام کاربری و کلمه عبور خود را وارد کنید',
|
|
18
|
-
Register: 'ثبت کد تایید نرم افزار',
|
|
19
|
-
DeviceId: 'کد نرم افزار: {}',
|
|
20
|
-
Copy: 'کپی',
|
|
21
|
-
},
|
|
22
|
-
Footer: {
|
|
23
|
-
Copyright: 'تمامی حقوق این وبسایت برای پارت سیلیکون محفوظ است.',
|
|
24
|
-
CreatorDesc: 'طراحی و توسعه',
|
|
25
|
-
CreatorCom: 'پارت سیلیکون'
|
|
26
|
-
},
|
|
27
|
-
App: {
|
|
28
|
-
Notfound: 'صفحه مورد نظر یافت نشد',
|
|
29
|
-
},
|
|
30
|
-
Notfound: {
|
|
31
|
-
Text: 'متاسفانه صفحه مورد نظر شما یافت نشد',
|
|
32
|
-
Back: 'بازگشت'
|
|
33
|
-
},
|
|
34
|
-
Version: 'نسخه {}',
|
|
35
|
-
Download: 'دریافت فایل',
|
|
36
|
-
IranCode: 'ایران کد',
|
|
37
|
-
TrackingCode: 'کد رهگیری',
|
|
38
|
-
Plaque: 'پلاک',
|
|
39
|
-
DriverName: 'نام راننده',
|
|
40
|
-
Name: 'نام',
|
|
41
|
-
Title: 'عنوان',
|
|
42
|
-
Text: 'متن',
|
|
43
|
-
Date: 'تاریخ',
|
|
44
|
-
Time: 'زمان',
|
|
45
|
-
Row: 'ردیف',
|
|
46
|
-
LoginTitle: 'ورود',
|
|
47
|
-
SendCode: 'ارسال کد',
|
|
48
|
-
Username: 'نام کاربری',
|
|
49
|
-
GetReport: 'چاپ',
|
|
50
|
-
Count: 'تعداد',
|
|
51
|
-
Choose: 'انتخاب',
|
|
52
|
-
Payable: 'مبلغ قابل پرداخت : {} ریال</br><span class="f-s-20">تایید و انتقال به درگاه پرداخت</span>',
|
|
53
|
-
PayableLoading: '<span class="l-h-60">تایید و انتقال به درگاه پرداخت</span>',
|
|
54
|
-
Processing: 'پردازش',
|
|
55
|
-
PDate: 'تاریخ',
|
|
56
|
-
SeeMore: 'نمایش بیشتر ...',
|
|
57
|
-
Alert: 'هشدار',
|
|
58
|
-
AccessDenied: 'عدم دسترسی',
|
|
59
|
-
Image: 'تصویر',
|
|
60
|
-
Grade: 'پایه تحصیلی',
|
|
61
|
-
Close: 'بستن',
|
|
62
|
-
Desc: 'توضیحات',
|
|
63
|
-
Admin: 'ادمین',
|
|
64
|
-
Print: 'گزارش',
|
|
65
|
-
Password: 'کلمه عبور',
|
|
66
|
-
RePassword: 'تکرار کلمه عبور',
|
|
67
|
-
PassportLetter: 'حرف',
|
|
68
|
-
Passport: 'گذرنامه',
|
|
69
|
-
List: 'لیست',
|
|
70
|
-
Priority: 'اولویت',
|
|
71
|
-
PassportImage: 'تصویر گذرنامه',
|
|
72
|
-
PassportExpireDate: 'تاریخ انقضاء گذرنامه',
|
|
73
|
-
PassportPlace: 'محل صدور گذرنامه',
|
|
74
|
-
NationalCode: 'کدملی',
|
|
75
|
-
LicenseNum: 'شماره گواهی نامه',
|
|
76
|
-
BankCard: 'شماره کارت بانکی',
|
|
77
|
-
VehicleType: 'نوع وسیله نقلیه',
|
|
78
|
-
Gender: 'جنسیت',
|
|
79
|
-
Male: 'مرد',
|
|
80
|
-
FeMale: 'زن',
|
|
81
|
-
Accept: 'تایید',
|
|
82
|
-
Insert: 'افزودن',
|
|
83
|
-
Update: 'ویرایش',
|
|
84
|
-
Delete: 'حذف',
|
|
85
|
-
Subset: 'زیرمجموعه',
|
|
86
|
-
Other: 'سایر',
|
|
87
|
-
Rial: 'ریال',
|
|
88
|
-
ChooseMonth: 'انتخاب ماه',
|
|
89
|
-
FullName: 'نام کامل',
|
|
90
|
-
FirstName: 'نام',
|
|
91
|
-
Backup: 'بک آپ',
|
|
92
|
-
LastName: 'نام خانوادگی',
|
|
93
|
-
OperationSuccessful: 'عملیات با موفقیت انجام شد',
|
|
94
|
-
Reject: 'رد کردن',
|
|
95
|
-
Code: 'کد تایید',
|
|
96
|
-
InvalidRequest: 'درخواست شما نامعتبر است',
|
|
97
|
-
ChangeNotAllow: 'امکان ایجاد تغییرات وجود ندارد',
|
|
98
|
-
Confirm: 'تاییدیه',
|
|
99
|
-
Search: 'جستجو',
|
|
100
|
-
Yes: 'بله',
|
|
101
|
-
No: 'خیر',
|
|
102
|
-
Email: 'پست الکترونیک',
|
|
103
|
-
Mobile: 'شماره همراه',
|
|
104
|
-
Mobile2: 'شماره همراه 2',
|
|
105
|
-
Phone: 'شماره تلفن منزل',
|
|
106
|
-
Address: 'آدرس',
|
|
107
|
-
Add: 'افزودن',
|
|
108
|
-
Edit: 'ویرایش',
|
|
109
|
-
VerifyCode: 'تایید کد',
|
|
110
|
-
Status: 'وضعیت',
|
|
111
|
-
Show: 'نمایش',
|
|
112
|
-
Step: 'وضعیت',
|
|
113
|
-
Pending: 'در حال بررسی',
|
|
114
|
-
Accepted: 'تایید شده',
|
|
115
|
-
Canceled: 'انصراف',
|
|
116
|
-
Rejected: 'رد شده : {}',
|
|
117
|
-
Answered: 'پاسخ داده شده',
|
|
118
|
-
FromDate: 'از تاریخ',
|
|
119
|
-
ToDate: 'تا تاریخ',
|
|
120
|
-
Package: 'اشتراک',
|
|
121
|
-
CodeInvalid: 'کد تایید نامعتبر است',
|
|
122
|
-
CodeExpired: 'کد تایید منقضی شده است',
|
|
123
|
-
Price: 'قیمت',
|
|
124
|
-
Description: 'توضیحات',
|
|
125
|
-
Photo: 'تصویر',
|
|
126
|
-
Select: 'انتخاب',
|
|
127
|
-
NextStep: 'مرحله بعد',
|
|
128
|
-
PreviousStep: 'مرحله قبل',
|
|
129
|
-
UploadFiles: 'بارگذاری مدارک',
|
|
130
|
-
NamadTitle: 'نماد',
|
|
131
|
-
Options: 'امکانات',
|
|
132
|
-
Process: 'پردازش',
|
|
133
|
-
NotfoundTitle: 'موردی یافت نشد',
|
|
134
|
-
PermissionDenied: 'عدم دسترسی',
|
|
135
|
-
PerPage: 'تعداد نمایش در هر صفحه',
|
|
136
|
-
Save: 'ذخیره',
|
|
137
|
-
Cancel: 'انصراف',
|
|
138
|
-
UserDeActive: 'نام کاربری غیر فعال شده است',
|
|
139
|
-
DeleteConfirm: 'آیا از حذف این مورد مطمئن هستید ؟',
|
|
140
|
-
ChooseFiles: 'انتخاب فایل ها',
|
|
141
|
-
CodeNotExpired: 'کد تایید ارسال شده منقضی نشده است',
|
|
142
|
-
ChooseFile: 'انتخاب فایل',
|
|
143
|
-
FileNotSelected: 'فایلی انتخاب نشده است',
|
|
144
|
-
FileSelected: '{} فایل انتخاب شده ({})',
|
|
145
|
-
Selected: 'انتخاب شده',
|
|
146
|
-
Limit: 'محدودیت',
|
|
147
|
-
Today: 'امروز : {}',
|
|
148
|
-
SendCodeLimit: 'محدودیت در ارسال کد',
|
|
149
|
-
SendCodeError: 'خطا در ارسال کد',
|
|
150
|
-
CodeNotFound: 'کد تایید ارسال نشده است',
|
|
151
|
-
Total: 'جمع کل',
|
|
152
|
-
Month1: 'فروردین',
|
|
153
|
-
Month2: 'اردیبهشت',
|
|
154
|
-
Month3: 'خرداد',
|
|
155
|
-
Month4: 'تیر',
|
|
156
|
-
Month5: 'مرداد',
|
|
157
|
-
Month6: 'شهریور',
|
|
158
|
-
Month7: 'مهر',
|
|
159
|
-
Month8: 'آبان',
|
|
160
|
-
Month9: 'آذر',
|
|
161
|
-
Month10: 'دی',
|
|
162
|
-
Month11: 'بهمن',
|
|
163
|
-
Month12: 'اسفند',
|
|
164
|
-
Day: 'روز',
|
|
165
|
-
HourP: '{} ساعت',
|
|
166
|
-
MinuteP: '{} دقیقه',
|
|
167
|
-
Hour: 'ساعت',
|
|
168
|
-
Minute: 'دقیقه',
|
|
169
|
-
AFew: 'چند لحظه',
|
|
170
|
-
Ago: 'پیش',
|
|
171
|
-
Later: 'دیگر',
|
|
172
|
-
LessThanMinute: 'کمتر از یک دقیقه',
|
|
173
|
-
Finished: 'پایان یافته',
|
|
174
|
-
Reload: 'بارگیری مجدد',
|
|
175
|
-
Maximum: 'بزرگ نمایی',
|
|
176
|
-
Minimum: 'کوچک نمایی',
|
|
177
|
-
Export: 'خروجی',
|
|
178
|
-
Send: 'ارسال',
|
|
179
|
-
And: ' و ',
|
|
180
|
-
UsernamePasswordInvalid: 'نام کاربری یا کلمه عبور اشتباه است',
|
|
181
|
-
DbUpdateException: 'امکان حذف رکورد مورد نظر به دلیل استفاده شدن در سامانه وجود ندارد',
|
|
182
|
-
// tslint:disable-next-line
|
|
183
|
-
LoadingDot: '<span class="dot-spinner black"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
|
|
184
|
-
LoadingDotWhite: '<span class="dot-spinner white"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
|
|
185
|
-
Loading: 'در حال {} <span class="dot-spinner"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
|
|
186
|
-
LoadingComp: 'در حال {} <span class="dot-spinner comp"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
|
|
187
|
-
LoadingEmpty: '<span class="dot-spinner"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
|
|
188
|
-
LoadingTable: '<i class="fas fa-spin fa-spinner m-l-5-p icon"></i> در حال {} <span class="dot-spinner black"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
|
|
189
|
-
LoadingText: 'در حال {}',
|
|
190
|
-
Waiting: 'انتظار',
|
|
191
|
-
Required: 'را وارد کنید',
|
|
192
|
-
Invalid: 'نامعتبر است',
|
|
193
|
-
FormErrorRequired: '{} را وارد کنید',
|
|
194
|
-
FormErrorInvalid: '{} نامعتبر است',
|
|
195
|
-
FormErrorLength: 'طول {} باید {} کاراکتر باشد',
|
|
196
|
-
FormErrorMinLength: 'طول {} باید حداقل {} کاراکتر باشد',
|
|
197
|
-
FormErrorMaxLength: 'طول {} باید حداکثر {} کاراکتر باشد',
|
|
198
|
-
FormErrorMinAmount: 'مقدار {} باید حداقل {} باشد',
|
|
199
|
-
FormErrorMaxAmount: 'مقدار {} باید حداکثر {} باشد',
|
|
200
|
-
FormErrorExpired: '{} منقضی شده است',
|
|
201
|
-
FormErrorWrong: '{} اشتباه است',
|
|
202
|
-
FormErrorNotMatch: '{} با تکرار آن مطابقت ندارد',
|
|
203
|
-
FormErrorExist: '{} در سامانه ثبت شده است',
|
|
204
|
-
FormErrorNotExist: '{} در سامانه ثبت نشده است',
|
|
205
|
-
FormErrorNotAllowed: 'نوع فایل {} نامعتبر است ({})',
|
|
206
|
-
FormErrorMaxContent: 'حجم فایل {} نباید بیشتر از {}KB باشد',
|
|
207
|
-
FormErrorUpload: 'خطا در بارگذاری {}',
|
|
208
|
-
FormError: 'خطا در {}',
|
|
209
|
-
FormBaseErrorExpired: 'لطفا مجددا وارد شوید',
|
|
210
|
-
FormBaseErrorRegistered: 'خطا در تایید کد نرم افزار',
|
|
211
|
-
ErrorUpload: 'خطا در بارگذاری فایل',
|
|
212
|
-
FormBaseErrorInvalidParam: 'خطا در اطلاعات ارسال شده',
|
|
213
|
-
FormBaseErrorTimeOut: 'درخواست شما بیش از حد معمول زمان برده است. لطفا مجددا تلاش کنید',
|
|
214
|
-
FormBaseErrorPermission: 'عدم دسترسی',
|
|
215
|
-
PaymentError: 'خطا در اتصال به درگاه بانکی',
|
|
216
|
-
Error: 'متاسفانه در سیستم خطایی به وجود آمده است. لطفا مجددا تلاش کنید',
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
};
|