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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class ChartClass {
|
|
2
|
+
constructor(l: (k: any, v?: any) => string, name: string);
|
|
3
|
+
l: (k: any, v?: any) => string;
|
|
4
|
+
name: string;
|
|
5
|
+
style: {};
|
|
6
|
+
loading: boolean;
|
|
7
|
+
options: {};
|
|
8
|
+
setChart(cOpt: any, categories?: any[]): void;
|
|
9
|
+
getSymbol(point: any): string;
|
|
10
|
+
merge(b: any, c: any): any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
export declare class EnumUtils {
|
|
2
|
+
static getValues(enumObj: any): any[];
|
|
3
|
+
static getKeyByValue(enumObj: any, v: any): any[];
|
|
4
|
+
static getKeys(enumObj: any): any[];
|
|
5
|
+
static getKeysAndValues(enumObj: any): any[];
|
|
6
|
+
}
|
|
7
|
+
export declare enum InputError {
|
|
8
|
+
Required = "Required",
|
|
9
|
+
Invalid = "Invalid",
|
|
10
|
+
Length = "Length",
|
|
11
|
+
MinLength = "MinLength",
|
|
12
|
+
MaxLength = "MaxLength",
|
|
13
|
+
MinAmount = "MinAmount",
|
|
14
|
+
MaxAmount = "MaxAmount",
|
|
15
|
+
Expired = "Expired",
|
|
16
|
+
Error = "Error",
|
|
17
|
+
NotMatch = "NotMatch",
|
|
18
|
+
NotAllowed = "NotAllowed",
|
|
19
|
+
MaxContent = "MaxContent",
|
|
20
|
+
Exist = "Exist",
|
|
21
|
+
NotExist = "NotExist",
|
|
22
|
+
Wrong = "Wrong",
|
|
23
|
+
Upload = "Upload"
|
|
24
|
+
}
|
|
25
|
+
export declare enum InputType {
|
|
26
|
+
Text = 0,
|
|
27
|
+
Password = 1,
|
|
28
|
+
Mobile = 2,
|
|
29
|
+
Phone = 3,
|
|
30
|
+
Email = 4,
|
|
31
|
+
NationalCode = 5,
|
|
32
|
+
PostalCode = 6,
|
|
33
|
+
Sheba = 7,
|
|
34
|
+
Number = 8,
|
|
35
|
+
Select = 9,
|
|
36
|
+
SelectSearch = 10,
|
|
37
|
+
SelectAutoComplete = 11,
|
|
38
|
+
Date = 12,
|
|
39
|
+
Time = 13,
|
|
40
|
+
DateTime = 14,
|
|
41
|
+
Check = 15,
|
|
42
|
+
TextArea = 16,
|
|
43
|
+
Label = 17,
|
|
44
|
+
Button = 18,
|
|
45
|
+
Submit = 19,
|
|
46
|
+
Icon = 20,
|
|
47
|
+
File = 21,
|
|
48
|
+
Url = 22,
|
|
49
|
+
Price = 23,
|
|
50
|
+
Radio = 24,
|
|
51
|
+
Tree = 25,
|
|
52
|
+
Plaque = 26,
|
|
53
|
+
PlaqueM = 27,
|
|
54
|
+
SelectAutoCompletePlaque = 28,
|
|
55
|
+
SelectAutoCompletePlaqueM = 29,
|
|
56
|
+
BankCard = 30,
|
|
57
|
+
Constant = 31,
|
|
58
|
+
Hidden = 32,
|
|
59
|
+
Table = 33,
|
|
60
|
+
CarSearch = 34,
|
|
61
|
+
Car = 35,
|
|
62
|
+
Finger = 36
|
|
63
|
+
}
|
|
64
|
+
export declare enum OperationEnum {
|
|
65
|
+
All = -1,
|
|
66
|
+
Insert = 1,
|
|
67
|
+
Update = 2,
|
|
68
|
+
Delete = 3
|
|
69
|
+
}
|
|
70
|
+
export declare enum Method {
|
|
71
|
+
Get = 0,
|
|
72
|
+
Post = 1,
|
|
73
|
+
Delete = 2,
|
|
74
|
+
Put = 3,
|
|
75
|
+
Options = 4,
|
|
76
|
+
Patch = 5
|
|
77
|
+
}
|
|
78
|
+
export declare enum TableCollType {
|
|
79
|
+
Text = 0,
|
|
80
|
+
Date = 1,
|
|
81
|
+
Time = 2,
|
|
82
|
+
DateTime = 3,
|
|
83
|
+
DateDif = 4,
|
|
84
|
+
DateRemain = 5,
|
|
85
|
+
Url = 6,
|
|
86
|
+
Image = 7,
|
|
87
|
+
Function = 8,
|
|
88
|
+
Price = 9,
|
|
89
|
+
Plaque = 10,
|
|
90
|
+
PlaqueText = 11,
|
|
91
|
+
FileSize = 12,
|
|
92
|
+
Bool = 13
|
|
93
|
+
}
|
|
94
|
+
export declare enum UserType {
|
|
95
|
+
All = 0,
|
|
96
|
+
Admin = 1,
|
|
97
|
+
User = 2
|
|
98
|
+
}
|
|
99
|
+
export declare enum StatusEnum {
|
|
100
|
+
All = -1,
|
|
101
|
+
Active = 0,
|
|
102
|
+
DeActive = 1,
|
|
103
|
+
Delete = 2,
|
|
104
|
+
Report = 3
|
|
105
|
+
}
|
|
106
|
+
export declare enum PaymentStatusEnum {
|
|
107
|
+
All = 0,
|
|
108
|
+
Success = 100,
|
|
109
|
+
NOK = 102,
|
|
110
|
+
Request = 103,
|
|
111
|
+
Notfound = 104,
|
|
112
|
+
NotRequest = 105,
|
|
113
|
+
NotfoundPackage = 106
|
|
114
|
+
}
|
|
115
|
+
export declare enum ResultStatusEnum {
|
|
116
|
+
Failed = 0,
|
|
117
|
+
Success = 1,
|
|
118
|
+
Unauthorized = 2,
|
|
119
|
+
NotAccess = 3
|
|
120
|
+
}
|
|
121
|
+
export declare enum PermissionTypeEnum {
|
|
122
|
+
Form = -1,
|
|
123
|
+
Item = 0,
|
|
124
|
+
Access = 1,
|
|
125
|
+
Option = 2
|
|
126
|
+
}
|
|
127
|
+
export declare enum PermissionAccessTypeEnum {
|
|
128
|
+
List = 1,
|
|
129
|
+
Insert = 2,
|
|
130
|
+
Update = 3,
|
|
131
|
+
Delete = 4,
|
|
132
|
+
Print = 5
|
|
133
|
+
}
|
|
134
|
+
export declare enum PermissionInputActionEnum {
|
|
135
|
+
None = 0,
|
|
136
|
+
OnClick = 1,
|
|
137
|
+
Link = 2,
|
|
138
|
+
LinkNewTab = 3,
|
|
139
|
+
File = 4,
|
|
140
|
+
Modal = 5,
|
|
141
|
+
Confirm = 6
|
|
142
|
+
}
|
|
143
|
+
export declare enum PermissionInputTypeEnum {
|
|
144
|
+
Icon = 0,
|
|
145
|
+
Button = 1
|
|
146
|
+
}
|
|
147
|
+
export declare enum VehicleType {
|
|
148
|
+
Car = 1,
|
|
149
|
+
Motorcycle = 2,
|
|
150
|
+
Airplane = 3,
|
|
151
|
+
Train = 4,
|
|
152
|
+
Ship = 5
|
|
153
|
+
}
|
|
154
|
+
export declare enum TableOptionType {
|
|
155
|
+
Hidden = 1,
|
|
156
|
+
Show = 2,
|
|
157
|
+
Group = 3
|
|
158
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { InputError, InputType, Method } from './enum.class';
|
|
2
|
+
import { TableClass } from './table.class';
|
|
3
|
+
import { ModalClass } from './modal.class';
|
|
4
|
+
export declare class Progress {
|
|
5
|
+
constructor(secs: number);
|
|
6
|
+
secs: number;
|
|
7
|
+
remainSecs: number;
|
|
8
|
+
percent: number;
|
|
9
|
+
interVal: any;
|
|
10
|
+
onEnd: () => void;
|
|
11
|
+
onStart: () => void;
|
|
12
|
+
start: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare class FormClass {
|
|
15
|
+
constructor(environment: any, l: (k: any, v?: any) => string, name?: string, permission?: boolean, url?: string, cls?: string);
|
|
16
|
+
l: (k: any, v?: any) => string;
|
|
17
|
+
permission: boolean;
|
|
18
|
+
environment: any;
|
|
19
|
+
name: string;
|
|
20
|
+
subName: string;
|
|
21
|
+
id: string;
|
|
22
|
+
class: string;
|
|
23
|
+
baseUrl: string;
|
|
24
|
+
url: string;
|
|
25
|
+
method: Method;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
style: {};
|
|
28
|
+
onTop: boolean;
|
|
29
|
+
displayLabel: boolean;
|
|
30
|
+
inputs: InputClass[];
|
|
31
|
+
onSuccessBase: (result: any) => void;
|
|
32
|
+
onSuccess: (result: any) => void;
|
|
33
|
+
onFailed: (result: any) => void;
|
|
34
|
+
onLoad: (result: any) => void;
|
|
35
|
+
onBeforeSubmit: () => boolean;
|
|
36
|
+
onHideModal: () => void;
|
|
37
|
+
loadData(url: any): void;
|
|
38
|
+
submit(onSubmit?: any): void;
|
|
39
|
+
check(): boolean;
|
|
40
|
+
clear(): void;
|
|
41
|
+
clearInputs(): void;
|
|
42
|
+
setButtons(formOnTop: any, edit: boolean, id?: any): void;
|
|
43
|
+
addButtons(name?: string, cls?: string, clear?: boolean, onSubmit?: any): void;
|
|
44
|
+
data(d?: any): any;
|
|
45
|
+
json(d?: any): {};
|
|
46
|
+
setData(d: any): void;
|
|
47
|
+
}
|
|
48
|
+
export declare class InputClass {
|
|
49
|
+
constructor(environment: any, l: (k: any, v?: any) => string, name: string, icon?: string, type?: InputType, cls?: string, value?: any, required?: boolean, minLength?: number, maxLength?: number);
|
|
50
|
+
environment: any;
|
|
51
|
+
l: (k: any, v?: any) => string;
|
|
52
|
+
name: string;
|
|
53
|
+
url: any;
|
|
54
|
+
urlNewTab: boolean;
|
|
55
|
+
loadingName: string;
|
|
56
|
+
placeholder: string;
|
|
57
|
+
id: string;
|
|
58
|
+
icon: string;
|
|
59
|
+
addNew: boolean;
|
|
60
|
+
class: string;
|
|
61
|
+
description: string;
|
|
62
|
+
type: InputType;
|
|
63
|
+
value: any;
|
|
64
|
+
search: any;
|
|
65
|
+
default: any;
|
|
66
|
+
required: boolean;
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
inEditDisabled: boolean;
|
|
69
|
+
inEditVisible: boolean;
|
|
70
|
+
displayLabel: boolean;
|
|
71
|
+
withClear: boolean;
|
|
72
|
+
minLength: number;
|
|
73
|
+
maxLength: number;
|
|
74
|
+
error: InputError;
|
|
75
|
+
loading: boolean;
|
|
76
|
+
button: any;
|
|
77
|
+
onClickButton: () => void;
|
|
78
|
+
progress: Progress;
|
|
79
|
+
onClick: (btn: any) => void;
|
|
80
|
+
onKeyUp: (inp: any) => void;
|
|
81
|
+
onKeyDown: (e: any) => void;
|
|
82
|
+
options: OptionClass[];
|
|
83
|
+
match: InputClass;
|
|
84
|
+
rel: InputClass;
|
|
85
|
+
relUrl: string;
|
|
86
|
+
table: TableClass;
|
|
87
|
+
style: {};
|
|
88
|
+
position: string;
|
|
89
|
+
onChange: (v: any, e?: any) => void;
|
|
90
|
+
hover: number;
|
|
91
|
+
visible: boolean;
|
|
92
|
+
exportPdf: boolean;
|
|
93
|
+
open: boolean;
|
|
94
|
+
multiple: boolean;
|
|
95
|
+
onlyChild: boolean;
|
|
96
|
+
allowed: any;
|
|
97
|
+
row: any;
|
|
98
|
+
rows: any[];
|
|
99
|
+
index: number;
|
|
100
|
+
level: any;
|
|
101
|
+
modal: ModalClass;
|
|
102
|
+
nameFun: (r: any) => void;
|
|
103
|
+
onFocusOut: (e: any) => void;
|
|
104
|
+
focus(changeIndex?: boolean): void;
|
|
105
|
+
changeType: (t: InputType) => void;
|
|
106
|
+
setValue: (v: any, isEdit: any) => void;
|
|
107
|
+
setSearch: (v: any) => void;
|
|
108
|
+
clear: () => void;
|
|
109
|
+
focusOut: () => void;
|
|
110
|
+
data: () => any;
|
|
111
|
+
isValid: () => boolean;
|
|
112
|
+
load(u?: any, done?: () => void): void;
|
|
113
|
+
setOptions(r: any): void;
|
|
114
|
+
getOptions(r: any, p: any, tree?: boolean): OptionClass[];
|
|
115
|
+
getRows(r: any, p: any): TreeRowClass[];
|
|
116
|
+
getLabel(): string;
|
|
117
|
+
}
|
|
118
|
+
export declare class OptionClass {
|
|
119
|
+
constructor(name: string, value: string, options?: OptionClass[], cls?: string);
|
|
120
|
+
option: any;
|
|
121
|
+
search: string;
|
|
122
|
+
class: string;
|
|
123
|
+
name: string;
|
|
124
|
+
value: string;
|
|
125
|
+
index: number;
|
|
126
|
+
show: boolean;
|
|
127
|
+
selected: boolean;
|
|
128
|
+
parent: OptionClass;
|
|
129
|
+
options: OptionClass[];
|
|
130
|
+
loading: boolean;
|
|
131
|
+
}
|
|
132
|
+
export declare class DayClass {
|
|
133
|
+
constructor(day: number, today: boolean, selected: boolean);
|
|
134
|
+
day: number;
|
|
135
|
+
today: boolean;
|
|
136
|
+
selected: boolean;
|
|
137
|
+
}
|
|
138
|
+
export declare class TreeRowClass {
|
|
139
|
+
constructor(name: string, value: string, selected?: boolean, children?: TreeRowClass[]);
|
|
140
|
+
name: string;
|
|
141
|
+
value: string;
|
|
142
|
+
selected: boolean;
|
|
143
|
+
parent: TreeRowClass;
|
|
144
|
+
children: TreeRowClass[];
|
|
145
|
+
toggle(onlyChild?: boolean): void;
|
|
146
|
+
check(onlyChild: boolean, c?: TreeRowClass): void;
|
|
147
|
+
unCheck(onlyChild: boolean, c?: TreeRowClass): void;
|
|
148
|
+
checkChildren(onlyChild: boolean): void;
|
|
149
|
+
checkParent(p?: TreeRowClass): void;
|
|
150
|
+
unCheckParent(p?: TreeRowClass): void;
|
|
151
|
+
}
|
|
152
|
+
export declare class AccordionClass {
|
|
153
|
+
constructor(l: (k: any, v?: any) => string, name: string, cls: string, rows: AccordionRowClass[]);
|
|
154
|
+
l: (k: any, v?: any) => string;
|
|
155
|
+
name: string;
|
|
156
|
+
class: string;
|
|
157
|
+
rows: AccordionRowClass[];
|
|
158
|
+
hasDelete: boolean;
|
|
159
|
+
displayLabel: boolean;
|
|
160
|
+
loading: boolean;
|
|
161
|
+
onDelete: (row: any) => void;
|
|
162
|
+
check(): boolean;
|
|
163
|
+
}
|
|
164
|
+
export declare class AccordionRowClass {
|
|
165
|
+
constructor(id: string, name: string, form?: FormClass, table?: TableClass);
|
|
166
|
+
id: string;
|
|
167
|
+
name: string;
|
|
168
|
+
show: boolean;
|
|
169
|
+
form: FormClass;
|
|
170
|
+
table: TableClass;
|
|
171
|
+
toggle(): void;
|
|
172
|
+
open(): void;
|
|
173
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InputClass } from './form.class';
|
|
2
|
+
export declare class HelperClass {
|
|
3
|
+
static getLabel(inp: InputClass): string;
|
|
4
|
+
static nationalCodeValid(c: any): boolean;
|
|
5
|
+
static iso7064Mod97_10(iban: any): number;
|
|
6
|
+
static shebaValid(str: any): boolean;
|
|
7
|
+
static postalCodeValid(c: any): boolean;
|
|
8
|
+
static random(length: any, upper?: boolean, lower?: boolean, num?: boolean): string;
|
|
9
|
+
static setCookie(name: any, value: any, days: any): void;
|
|
10
|
+
static getCookie(name: any): string;
|
|
11
|
+
static eraseCookie(name: any): void;
|
|
12
|
+
static getDateDif(l: any, dt: string): string;
|
|
13
|
+
static getRowEnum(l: any, e: any, dt: any): string;
|
|
14
|
+
static getNow(): any;
|
|
15
|
+
static getMoment(i?: any, f?: any): any;
|
|
16
|
+
static getDateRemain(l: any, dt: string): string;
|
|
17
|
+
static getDate(dt: string): string;
|
|
18
|
+
static getTime(dt: any): string;
|
|
19
|
+
static getDateTime(dt: string): string;
|
|
20
|
+
static getFileSize(bytes: number): string;
|
|
21
|
+
static getPDate(l: any, s: any): string;
|
|
22
|
+
static clone<T>(v: T): T;
|
|
23
|
+
static cloneJson(inp: any): any;
|
|
24
|
+
static getName(n: any): string;
|
|
25
|
+
static addNotification(m: any, e?: boolean): void;
|
|
26
|
+
static checkCartDigit(code: any): boolean;
|
|
27
|
+
static getData(key: any, state: any, parent: any): any;
|
|
28
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FormClass } from './form.class';
|
|
2
|
+
export declare class LoginClass {
|
|
3
|
+
constructor(type: string);
|
|
4
|
+
type: string;
|
|
5
|
+
steps: LoginStepClass[];
|
|
6
|
+
active: number;
|
|
7
|
+
onSuccess: (result: any) => void;
|
|
8
|
+
sendCodeUrl: string;
|
|
9
|
+
reSendCodeUrl: string;
|
|
10
|
+
loginUrl: string;
|
|
11
|
+
setCookie(r: any): void;
|
|
12
|
+
}
|
|
13
|
+
export declare class LoginStepClass {
|
|
14
|
+
constructor(form: FormClass);
|
|
15
|
+
form: FormClass;
|
|
16
|
+
show(result?: any): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AccordionClass, FormClass } from './form.class';
|
|
2
|
+
import { TableClass } from './table.class';
|
|
3
|
+
export declare class ModalClass {
|
|
4
|
+
constructor(environment: any, l: (k: any, v?: any) => string, name: string, cls?: string);
|
|
5
|
+
environment: any;
|
|
6
|
+
l: (k: any, v?: any) => string;
|
|
7
|
+
name: string;
|
|
8
|
+
id: string;
|
|
9
|
+
class: string;
|
|
10
|
+
relatedId: null;
|
|
11
|
+
form: FormClass;
|
|
12
|
+
firstForm: boolean;
|
|
13
|
+
table: TableClass;
|
|
14
|
+
accordion: AccordionClass;
|
|
15
|
+
onShow: () => void;
|
|
16
|
+
onHide: () => void;
|
|
17
|
+
show(): void;
|
|
18
|
+
hide(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PermissionAccessTypeEnum, PermissionInputActionEnum, PermissionInputTypeEnum, PermissionTypeEnum } from './enum.class';
|
|
2
|
+
import { ModalClass } from './modal.class';
|
|
3
|
+
export declare class PermissionClass {
|
|
4
|
+
Name: string;
|
|
5
|
+
Icon: string;
|
|
6
|
+
Type: PermissionTypeEnum;
|
|
7
|
+
InputType: PermissionInputTypeEnum;
|
|
8
|
+
AccessType: PermissionAccessTypeEnum;
|
|
9
|
+
InputAction: PermissionInputActionEnum;
|
|
10
|
+
Area: string;
|
|
11
|
+
Controller: string;
|
|
12
|
+
Action: string;
|
|
13
|
+
Condition: string;
|
|
14
|
+
Accesses: PermissionClass[];
|
|
15
|
+
constructor(Name?: string, Icon?: string, Type?: PermissionTypeEnum, InputType?: PermissionInputTypeEnum, AccessType?: PermissionAccessTypeEnum, InputAction?: PermissionInputActionEnum, Area?: string, Controller?: string, Action?: string, Condition?: string, Accesses?: PermissionClass[]);
|
|
16
|
+
Modal: ModalClass;
|
|
17
|
+
RelatedId: string;
|
|
18
|
+
OnClick: (btn: any) => void;
|
|
19
|
+
getAccessByName(a: string): PermissionClass;
|
|
20
|
+
getAccess(at: PermissionAccessTypeEnum): PermissionClass;
|
|
21
|
+
hasAccessByName(a: string): boolean;
|
|
22
|
+
hasAccess(at: PermissionAccessTypeEnum): boolean;
|
|
23
|
+
getAccesses(): PermissionClass[];
|
|
24
|
+
delete(a: string): void;
|
|
25
|
+
hasOptionByName(a: string): boolean;
|
|
26
|
+
hasOption(at: PermissionAccessTypeEnum): boolean;
|
|
27
|
+
getOptions(): PermissionClass[];
|
|
28
|
+
getOptionByName(a: string): PermissionClass;
|
|
29
|
+
getOption(at: PermissionAccessTypeEnum): PermissionClass;
|
|
30
|
+
getUrl(): string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FormClass, InputClass } from './form.class';
|
|
2
|
+
import { Method } from './enum.class';
|
|
3
|
+
import { TableClass } from './table.class';
|
|
4
|
+
export declare class RequestClass {
|
|
5
|
+
environment: any;
|
|
6
|
+
l: (k: any, v?: any) => string;
|
|
7
|
+
constructor(environment?: any, l?: (k: any, v?: any) => string);
|
|
8
|
+
postForm(form: FormClass, onSubmit?: any): void;
|
|
9
|
+
table(table: TableClass, btn?: InputClass): void;
|
|
10
|
+
send(url: string, method: Method, data: any, btn?: InputClass, success?: (result: any) => void, failure?: (message: any) => void): void;
|
|
11
|
+
getClient(url: string, method: Method, data: any, done: any, fail: any): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
export declare class SafeStylePipe implements PipeTransform {
|
|
4
|
+
private sanitizer;
|
|
5
|
+
constructor(sanitizer: DomSanitizer);
|
|
6
|
+
transform(value: any): import("@angular/platform-browser").SafeStyle;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class SidebarClass {
|
|
2
|
+
constructor(l: (k: any, v?: any) => string, name: string, controller: string, action: string, icon: string, children?: SidebarClass[], count?: number);
|
|
3
|
+
l: (k: any, v?: any) => string;
|
|
4
|
+
controller: string;
|
|
5
|
+
action: string;
|
|
6
|
+
name: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
count: number;
|
|
9
|
+
children: SidebarClass[];
|
|
10
|
+
active: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class StepsClass {
|
|
2
|
+
constructor(l: (k: any, v?: any) => string);
|
|
3
|
+
l: (k: any, v?: any) => string;
|
|
4
|
+
items: StepsItemClass[];
|
|
5
|
+
activeAll: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare class StepsItemClass {
|
|
8
|
+
name: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
url: string;
|
|
11
|
+
active: boolean;
|
|
12
|
+
constructor(name: string, icon: string, url?: string, active?: boolean);
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
onClick: (item: any) => void;
|
|
16
|
+
onDelete: (item: any) => void;
|
|
17
|
+
}
|