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,287 +0,0 @@
|
|
|
1
|
-
.form-input.car {
|
|
2
|
-
position: relative;
|
|
3
|
-
float: right;
|
|
4
|
-
border-radius: 5px;
|
|
5
|
-
font-size: 15px;
|
|
6
|
-
width: 185px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.form-input.car .label {
|
|
10
|
-
float: right;
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 20px;
|
|
13
|
-
line-height: 20px;
|
|
14
|
-
padding: 0 10px;
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
margin-bottom: 3px;
|
|
17
|
-
cursor: default;
|
|
18
|
-
-webkit-user-select: none;
|
|
19
|
-
-moz-user-select: none;
|
|
20
|
-
-khtml-user-select: none;
|
|
21
|
-
-ms-user-select: none;
|
|
22
|
-
direction: rtl;
|
|
23
|
-
text-align: right;
|
|
24
|
-
}
|
|
25
|
-
.form-input.car.error .label {
|
|
26
|
-
font-size: 10px;
|
|
27
|
-
color: var(--red);
|
|
28
|
-
}
|
|
29
|
-
.form-input.car .label .required-icon{
|
|
30
|
-
height: 20px;
|
|
31
|
-
width: 20px;
|
|
32
|
-
line-height: 20px;
|
|
33
|
-
font-size: 9px;
|
|
34
|
-
color: var(--red);
|
|
35
|
-
text-align: center;
|
|
36
|
-
}
|
|
37
|
-
.form-input.car .label .change-type-btn{
|
|
38
|
-
float: right;
|
|
39
|
-
height: 20px;
|
|
40
|
-
width: 30px;
|
|
41
|
-
line-height: 20px;
|
|
42
|
-
font-size: 16px;
|
|
43
|
-
text-align: center;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
}
|
|
46
|
-
.form-input.car .label .change-type-btn.fa-user{
|
|
47
|
-
font-size: 14px;
|
|
48
|
-
line-height: 18px;
|
|
49
|
-
}
|
|
50
|
-
.form-input.car .label .change-type-btn:hover, .form-input.car .label .change-type-btn.active{
|
|
51
|
-
color: var(--comp);
|
|
52
|
-
}
|
|
53
|
-
.form-input.car .control {
|
|
54
|
-
display: block;
|
|
55
|
-
width: 100%;
|
|
56
|
-
height: 35px;
|
|
57
|
-
padding: 5px 35px;
|
|
58
|
-
font-family: Vazir;
|
|
59
|
-
color: var(--black);
|
|
60
|
-
background-image: none;
|
|
61
|
-
border: none;
|
|
62
|
-
border-radius: 5px;
|
|
63
|
-
text-align: center;
|
|
64
|
-
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
|
|
65
|
-
background-color: white;
|
|
66
|
-
position: relative;
|
|
67
|
-
z-index: 2;
|
|
68
|
-
font-size: 11px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.form-input.car:hover .control, .form-input.car .control:focus {
|
|
72
|
-
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.7);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.form-input.car.without-icon .control {
|
|
76
|
-
padding: 5px 10px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.form-input.car span.icon {
|
|
80
|
-
position: absolute;
|
|
81
|
-
font-size: 14px;
|
|
82
|
-
color: var(--comp);
|
|
83
|
-
cursor: text;
|
|
84
|
-
bottom: 0;
|
|
85
|
-
z-index: 2;
|
|
86
|
-
-webkit-transition: all .35s ease-in-out;
|
|
87
|
-
transition: all .35s ease-in-out;
|
|
88
|
-
width: 35px;
|
|
89
|
-
text-align: center;
|
|
90
|
-
height: 35px;
|
|
91
|
-
line-height: 38px;
|
|
92
|
-
left: 0;
|
|
93
|
-
}
|
|
94
|
-
.form-input.car span.icon.button {
|
|
95
|
-
background-color: var(--base);
|
|
96
|
-
color: white;
|
|
97
|
-
border-radius: 5px 0 0 5px;
|
|
98
|
-
cursor: pointer;
|
|
99
|
-
}
|
|
100
|
-
.form-input.car span.icon.button:hover {
|
|
101
|
-
background-color: var(--base-dark);
|
|
102
|
-
}
|
|
103
|
-
.form-input.car span.icon.button.blue {
|
|
104
|
-
background-color: var(--blue);
|
|
105
|
-
}
|
|
106
|
-
.form-input.car span.icon.button.blue:hover {
|
|
107
|
-
background-color: var(--blue-dark);
|
|
108
|
-
}
|
|
109
|
-
.form-input.car span.icon.button.green {
|
|
110
|
-
background-color: var(--green);
|
|
111
|
-
}
|
|
112
|
-
.form-input.car span.icon.button.green:hover {
|
|
113
|
-
background-color: var(--green-dark);
|
|
114
|
-
}
|
|
115
|
-
.form-input.car span.icon.button.red {
|
|
116
|
-
background-color: var(--red);
|
|
117
|
-
}
|
|
118
|
-
.form-input.car span.icon.button.red:hover {
|
|
119
|
-
background-color: var(--red-dark);
|
|
120
|
-
}
|
|
121
|
-
.form-input.car span.icon.button.yellow {
|
|
122
|
-
background-color: var(--yellow);
|
|
123
|
-
}
|
|
124
|
-
.form-input.car span.icon.button.yellow:hover {
|
|
125
|
-
background-color: var(--yellow-dark);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.form-input.car.disabled .control, .form-input.car.disabled span.icon, .form-input.car.disabled .label {
|
|
129
|
-
cursor: default;
|
|
130
|
-
box-shadow: unset;
|
|
131
|
-
opacity: 0.7;
|
|
132
|
-
filter: blur(0.5px);
|
|
133
|
-
-webkit-user-select: none;
|
|
134
|
-
-moz-user-select: none;
|
|
135
|
-
-khtml-user-select: none;
|
|
136
|
-
-ms-user-select: none;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.form-input.car.error .control {
|
|
140
|
-
box-shadow: 0 1px 3px 0 var(--red);
|
|
141
|
-
}
|
|
142
|
-
.form-input.car.error .control, .form-input.car.error span.icon {
|
|
143
|
-
color: var(--red-cc);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.form-input.car .progress {
|
|
147
|
-
width: 100%;
|
|
148
|
-
height: 3px;
|
|
149
|
-
line-height: 3px;
|
|
150
|
-
background-color: var(--comp);
|
|
151
|
-
position: absolute;
|
|
152
|
-
bottom: 0;
|
|
153
|
-
right: 0;
|
|
154
|
-
border-radius: 5px;
|
|
155
|
-
-webkit-transition: width 0.5s ease-in-out;
|
|
156
|
-
-moz-transition: width 0.5s ease-in-out;
|
|
157
|
-
-o-transition: width 0.5s ease-in-out;
|
|
158
|
-
transition: width 0.5s ease-in-out;
|
|
159
|
-
z-index: 2;
|
|
160
|
-
}
|
|
161
|
-
.form-input.car.without-icon .control {
|
|
162
|
-
padding: 5px 10px;
|
|
163
|
-
}
|
|
164
|
-
.form-input.car.h-50 .control {
|
|
165
|
-
height: 50px;
|
|
166
|
-
}
|
|
167
|
-
.form-input.car.h-50 span.icon {
|
|
168
|
-
height: 50px;
|
|
169
|
-
line-height: 50px;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.form-input.car.h-45 .control {
|
|
173
|
-
height: 45px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.form-input.car.h-45 span.icon {
|
|
177
|
-
height: 45px;
|
|
178
|
-
line-height: 45px;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.form-input.car.h-30 .control {
|
|
182
|
-
height: 30px;
|
|
183
|
-
padding: 0;
|
|
184
|
-
font-size: 10px;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.form-input.car.h-30 span.icon {
|
|
188
|
-
height: 30px;
|
|
189
|
-
line-height: 30px;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.form-input.car.h-35 {
|
|
193
|
-
height: 35px;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.form-input.car.h-35 .control {
|
|
197
|
-
height: 35px;
|
|
198
|
-
padding: 0 35px;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.form-input.car.h-35 span.icon {
|
|
202
|
-
height: 35px;
|
|
203
|
-
line-height: 35px;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.form-input.car.h-25 .control {
|
|
207
|
-
height: 25px;
|
|
208
|
-
padding: 0;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.form-input.car.h-25 span.icon {
|
|
212
|
-
height: 25px;
|
|
213
|
-
line-height: 25px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.form-input.car.table-search {
|
|
217
|
-
width: 80%;
|
|
218
|
-
float: right;
|
|
219
|
-
margin-right: 10%;
|
|
220
|
-
margin-top: 4px;
|
|
221
|
-
}
|
|
222
|
-
.form-input.car.h-22 .control {
|
|
223
|
-
height: 22px;
|
|
224
|
-
padding: 0;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.form-input.car.h-22 span.icon {
|
|
228
|
-
height: 22px;
|
|
229
|
-
line-height: 22px;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
.form-input.car.plaque-part-1{
|
|
235
|
-
width: 35px!important;
|
|
236
|
-
padding: 0!important;
|
|
237
|
-
float: left;
|
|
238
|
-
}
|
|
239
|
-
.form-input.car.plaque-part-1.plaque-part-m{
|
|
240
|
-
width: 49px!important;
|
|
241
|
-
}
|
|
242
|
-
.form-input.car.plaque-part-3{
|
|
243
|
-
width: 49px!important;
|
|
244
|
-
padding: 0!important;
|
|
245
|
-
float: left;
|
|
246
|
-
}
|
|
247
|
-
.form-input.car.plaque-part-3.plaque-part-m{
|
|
248
|
-
width: 69px !important;
|
|
249
|
-
}
|
|
250
|
-
.form-input.car.plaque-part-4{
|
|
251
|
-
margin-top: 10px;
|
|
252
|
-
width: 34px!important;
|
|
253
|
-
padding: 0!important;
|
|
254
|
-
float: left;
|
|
255
|
-
}
|
|
256
|
-
.form-input.car.plaque-part-4 .control{
|
|
257
|
-
height: 25px!important;
|
|
258
|
-
}
|
|
259
|
-
.form-input.car.plaque-part-4.plaque-part-m{
|
|
260
|
-
display: none !important;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
.form-input.car.bank-card-part-item{
|
|
265
|
-
width: 25%;
|
|
266
|
-
float: left;
|
|
267
|
-
padding: 0 !important;
|
|
268
|
-
}
|
|
269
|
-
.form-input.car.bank-card-part-item:not(.bank-card-part-4):after{
|
|
270
|
-
position: absolute;
|
|
271
|
-
content: '\f068';
|
|
272
|
-
font-family: "Font Awesome 5 Free";
|
|
273
|
-
font-weight: 900;
|
|
274
|
-
width: 20px;
|
|
275
|
-
height: 20px;
|
|
276
|
-
line-height: 20px;
|
|
277
|
-
top: calc(50% - 10px);
|
|
278
|
-
right: -10px;
|
|
279
|
-
text-align: center;
|
|
280
|
-
font-size: 6px;
|
|
281
|
-
}
|
|
282
|
-
.form-input.car.bank-card-part-item .control{
|
|
283
|
-
background-color: transparent !important;
|
|
284
|
-
box-shadow: unset !important;
|
|
285
|
-
padding: 0 !important;
|
|
286
|
-
font-size: 13px !important;
|
|
287
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<div #inputDiv [id]="inp.name + 'Input'" [style]="inp.style" [className]="inp.class + (inp.error == null ? '' : ' error') + (inp.icon != null ? '' : ' without-icon') + ' form-input car'">
|
|
2
|
-
<div *ngIf="inp.displayLabel" class="label">
|
|
3
|
-
<i *ngIf="inp.required" class="f-r fas fa-star-of-life required-icon"></i>
|
|
4
|
-
<i [className]="(type === vehicleType.Car ? 'active ' : '') + 'change-type-btn fas fa-car'" (click)="changeType(vehicleType.Car)"></i>
|
|
5
|
-
<i [className]="(type === vehicleType.Motorcycle ? 'active ' : '') + 'change-type-btn fas fa-motorcycle'" (click)="changeType(vehicleType.Motorcycle)"></i>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="w-100 p-r">
|
|
8
|
-
<lib-form-plaque (changeIndex)="changeIndex.emit($event)" [inp]="car" *ngIf="type === vehicleType.Car"></lib-form-plaque>
|
|
9
|
-
<lib-form-plaque (changeIndex)="changeIndex.emit($event)" [inp]="motor" *ngIf="type === vehicleType.Motorcycle"></lib-form-plaque>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import {Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild} from '@angular/core';
|
|
2
|
-
import {InputClass} from '../../../classes/form.class';
|
|
3
|
-
import {InputError, InputType, VehicleType} from '../../../classes/enum.class';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'lib-form-car',
|
|
7
|
-
templateUrl: './form.car.component.html',
|
|
8
|
-
styleUrls: ['./form.car.component.css']
|
|
9
|
-
})
|
|
10
|
-
export class FormCarComponent implements OnInit {
|
|
11
|
-
@Input()
|
|
12
|
-
inp: InputClass;
|
|
13
|
-
@Output()
|
|
14
|
-
changeIndex = new EventEmitter<string>();
|
|
15
|
-
type: VehicleType = VehicleType.Car;
|
|
16
|
-
car: InputClass;
|
|
17
|
-
motor: InputClass;
|
|
18
|
-
@ViewChild('inputDiv') inputDiv: ElementRef;
|
|
19
|
-
get vehicleType(): typeof VehicleType { return VehicleType; }
|
|
20
|
-
constructor(){
|
|
21
|
-
}
|
|
22
|
-
ngOnInit(): void {
|
|
23
|
-
this.car = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item',
|
|
24
|
-
'fa-user', InputType.Plaque, '', null, this.inp.required);
|
|
25
|
-
this.motor = new InputClass(this.inp.environment, this.inp.l, this.inp.name + 'Item',
|
|
26
|
-
'fa-motorcycle', InputType.PlaqueM, '', null, this.inp.required);
|
|
27
|
-
this.car.displayLabel = this.motor.displayLabel = false;
|
|
28
|
-
this.inp.setValue = (v) => {
|
|
29
|
-
if (v != null){
|
|
30
|
-
if (v.split('_').length === 2){
|
|
31
|
-
this.type = VehicleType.Motorcycle;
|
|
32
|
-
setTimeout(() => {
|
|
33
|
-
this.motor.setValue(v, false);
|
|
34
|
-
});
|
|
35
|
-
} else if (v.split('_').length === 4){
|
|
36
|
-
this.type = VehicleType.Car;
|
|
37
|
-
setTimeout(() => {
|
|
38
|
-
this.car.setValue(v, false);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
this.inp.focus = () => {
|
|
44
|
-
this.onFocusIn();
|
|
45
|
-
};
|
|
46
|
-
this.inp.isValid = () => {
|
|
47
|
-
this.inp.error = null;
|
|
48
|
-
if (this.inp.required && this.type === VehicleType.Car && !this.car.isValid()) {
|
|
49
|
-
this.inp.error = InputError.Required;
|
|
50
|
-
return false;
|
|
51
|
-
}
|
|
52
|
-
if (this.inp.required && this.type === VehicleType.Motorcycle && !this.motor.isValid()) {
|
|
53
|
-
this.inp.error = InputError.Required;
|
|
54
|
-
return false;
|
|
55
|
-
}
|
|
56
|
-
return true;
|
|
57
|
-
};
|
|
58
|
-
this.inp.clear = () => {
|
|
59
|
-
this.inp.error = null;
|
|
60
|
-
this.inp.setValue(null, false);
|
|
61
|
-
this.type = VehicleType.Car;
|
|
62
|
-
this.car.clear();
|
|
63
|
-
this.motor.clear();
|
|
64
|
-
};
|
|
65
|
-
this.inp.data = () => {
|
|
66
|
-
return this.type === VehicleType.Car ? this.car.data() : this.type === VehicleType.Motorcycle ? this.motor.data() : null;
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
changeType(t: VehicleType): void {
|
|
70
|
-
this.type = t;
|
|
71
|
-
if (this.inp.onChange){
|
|
72
|
-
this.inp.onChange(t);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
onFocusIn(): void {
|
|
76
|
-
if (this.type === VehicleType.Car){
|
|
77
|
-
this.car.focus();
|
|
78
|
-
} else if (this.type === VehicleType.Motorcycle){
|
|
79
|
-
this.motor.focus();
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
.form-input.car {
|
|
2
|
-
position: relative;
|
|
3
|
-
float: right;
|
|
4
|
-
border-radius: 5px;
|
|
5
|
-
font-size: 15px;
|
|
6
|
-
width: 185px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.form-input.car .label {
|
|
10
|
-
float: right;
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 20px;
|
|
13
|
-
line-height: 20px;
|
|
14
|
-
padding: 0 10px;
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
margin-bottom: 3px;
|
|
17
|
-
cursor: default;
|
|
18
|
-
-webkit-user-select: none;
|
|
19
|
-
-moz-user-select: none;
|
|
20
|
-
-khtml-user-select: none;
|
|
21
|
-
-ms-user-select: none;
|
|
22
|
-
direction: rtl;
|
|
23
|
-
text-align: right;
|
|
24
|
-
}
|
|
25
|
-
.form-input.car.error .label {
|
|
26
|
-
font-size: 10px;
|
|
27
|
-
color: var(--red);
|
|
28
|
-
}
|
|
29
|
-
.form-input.car .label .required-icon{
|
|
30
|
-
height: 20px;
|
|
31
|
-
width: 20px;
|
|
32
|
-
line-height: 20px;
|
|
33
|
-
font-size: 9px;
|
|
34
|
-
color: var(--red);
|
|
35
|
-
text-align: center;
|
|
36
|
-
}
|
|
37
|
-
.form-input.car .label .change-type-btn{
|
|
38
|
-
float: right;
|
|
39
|
-
height: 20px;
|
|
40
|
-
width: 30px;
|
|
41
|
-
line-height: 20px;
|
|
42
|
-
font-size: 16px;
|
|
43
|
-
text-align: center;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
}
|
|
46
|
-
.form-input.car .label .change-type-btn.fa-user{
|
|
47
|
-
font-size: 14px;
|
|
48
|
-
line-height: 18px;
|
|
49
|
-
}
|
|
50
|
-
.form-input.car .label .change-type-btn:hover, .form-input.car .label .change-type-btn.active{
|
|
51
|
-
color: var(--comp);
|
|
52
|
-
}
|
|
53
|
-
.form-input.car .control {
|
|
54
|
-
display: block;
|
|
55
|
-
width: 100%;
|
|
56
|
-
height: 35px;
|
|
57
|
-
padding: 5px 35px;
|
|
58
|
-
font-family: Vazir;
|
|
59
|
-
color: var(--black);
|
|
60
|
-
background-image: none;
|
|
61
|
-
border: none;
|
|
62
|
-
border-radius: 5px;
|
|
63
|
-
text-align: center;
|
|
64
|
-
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
|
|
65
|
-
background-color: white;
|
|
66
|
-
position: relative;
|
|
67
|
-
z-index: 2;
|
|
68
|
-
font-size: 11px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.form-input.car:hover .control, .form-input.car .control:focus {
|
|
72
|
-
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.7);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.form-input.car.without-icon .control {
|
|
76
|
-
padding: 5px 10px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.form-input.car span.icon {
|
|
80
|
-
position: absolute;
|
|
81
|
-
font-size: 14px;
|
|
82
|
-
color: var(--comp);
|
|
83
|
-
cursor: text;
|
|
84
|
-
bottom: 0;
|
|
85
|
-
z-index: 2;
|
|
86
|
-
-webkit-transition: all .35s ease-in-out;
|
|
87
|
-
transition: all .35s ease-in-out;
|
|
88
|
-
width: 35px;
|
|
89
|
-
text-align: center;
|
|
90
|
-
height: 35px;
|
|
91
|
-
line-height: 38px;
|
|
92
|
-
left: 0;
|
|
93
|
-
}
|
|
94
|
-
.form-input.car span.icon.button {
|
|
95
|
-
background-color: var(--base);
|
|
96
|
-
color: white;
|
|
97
|
-
border-radius: 5px 0 0 5px;
|
|
98
|
-
cursor: pointer;
|
|
99
|
-
}
|
|
100
|
-
.form-input.car span.icon.button:hover {
|
|
101
|
-
background-color: var(--base-dark);
|
|
102
|
-
}
|
|
103
|
-
.form-input.car span.icon.button.blue {
|
|
104
|
-
background-color: var(--blue);
|
|
105
|
-
}
|
|
106
|
-
.form-input.car span.icon.button.blue:hover {
|
|
107
|
-
background-color: var(--blue-dark);
|
|
108
|
-
}
|
|
109
|
-
.form-input.car span.icon.button.green {
|
|
110
|
-
background-color: var(--green);
|
|
111
|
-
}
|
|
112
|
-
.form-input.car span.icon.button.green:hover {
|
|
113
|
-
background-color: var(--green-dark);
|
|
114
|
-
}
|
|
115
|
-
.form-input.car span.icon.button.red {
|
|
116
|
-
background-color: var(--red);
|
|
117
|
-
}
|
|
118
|
-
.form-input.car span.icon.button.red:hover {
|
|
119
|
-
background-color: var(--red-dark);
|
|
120
|
-
}
|
|
121
|
-
.form-input.car span.icon.button.yellow {
|
|
122
|
-
background-color: var(--yellow);
|
|
123
|
-
}
|
|
124
|
-
.form-input.car span.icon.button.yellow:hover {
|
|
125
|
-
background-color: var(--yellow-dark);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.form-input.car.disabled .control, .form-input.car.disabled span.icon, .form-input.car.disabled .label {
|
|
129
|
-
cursor: default;
|
|
130
|
-
box-shadow: unset;
|
|
131
|
-
opacity: 0.7;
|
|
132
|
-
filter: blur(0.5px);
|
|
133
|
-
-webkit-user-select: none;
|
|
134
|
-
-moz-user-select: none;
|
|
135
|
-
-khtml-user-select: none;
|
|
136
|
-
-ms-user-select: none;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.form-input.car.error .control {
|
|
140
|
-
box-shadow: 0 1px 3px 0 var(--red);
|
|
141
|
-
}
|
|
142
|
-
.form-input.car.error .control, .form-input.car.error span.icon {
|
|
143
|
-
color: var(--red-cc);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.form-input.car .progress {
|
|
147
|
-
width: 100%;
|
|
148
|
-
height: 3px;
|
|
149
|
-
line-height: 3px;
|
|
150
|
-
background-color: var(--comp);
|
|
151
|
-
position: absolute;
|
|
152
|
-
bottom: 0;
|
|
153
|
-
right: 0;
|
|
154
|
-
border-radius: 5px;
|
|
155
|
-
-webkit-transition: width 0.5s ease-in-out;
|
|
156
|
-
-moz-transition: width 0.5s ease-in-out;
|
|
157
|
-
-o-transition: width 0.5s ease-in-out;
|
|
158
|
-
transition: width 0.5s ease-in-out;
|
|
159
|
-
z-index: 2;
|
|
160
|
-
}
|
|
161
|
-
.form-input.car.without-icon .control {
|
|
162
|
-
padding: 5px 10px;
|
|
163
|
-
}
|
|
164
|
-
.form-input.car.h-50 .control {
|
|
165
|
-
height: 50px;
|
|
166
|
-
}
|
|
167
|
-
.form-input.car.h-50 span.icon {
|
|
168
|
-
height: 50px;
|
|
169
|
-
line-height: 50px;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.form-input.car.h-45 .control {
|
|
173
|
-
height: 45px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.form-input.car.h-45 span.icon {
|
|
177
|
-
height: 45px;
|
|
178
|
-
line-height: 45px;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.form-input.car.h-30 .control {
|
|
182
|
-
height: 30px;
|
|
183
|
-
padding: 0;
|
|
184
|
-
font-size: 10px;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.form-input.car.h-30 span.icon {
|
|
188
|
-
height: 30px;
|
|
189
|
-
line-height: 30px;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.form-input.car.h-35 {
|
|
193
|
-
height: 35px;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.form-input.car.h-35 .control {
|
|
197
|
-
height: 35px;
|
|
198
|
-
padding: 0 35px;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.form-input.car.h-35 span.icon {
|
|
202
|
-
height: 35px;
|
|
203
|
-
line-height: 35px;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.form-input.car.h-25 .control {
|
|
207
|
-
height: 25px;
|
|
208
|
-
padding: 0;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.form-input.car.h-25 span.icon {
|
|
212
|
-
height: 25px;
|
|
213
|
-
line-height: 25px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.form-input.car.table-search {
|
|
217
|
-
width: 80%;
|
|
218
|
-
float: right;
|
|
219
|
-
margin-right: 10%;
|
|
220
|
-
margin-top: 4px;
|
|
221
|
-
}
|
|
222
|
-
.form-input.car.h-22 .control {
|
|
223
|
-
height: 22px;
|
|
224
|
-
padding: 0;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.form-input.car.h-22 span.icon {
|
|
228
|
-
height: 22px;
|
|
229
|
-
line-height: 22px;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
.form-input.car.plaque-part-1{
|
|
235
|
-
width: 35px!important;
|
|
236
|
-
padding: 0!important;
|
|
237
|
-
float: left;
|
|
238
|
-
}
|
|
239
|
-
.form-input.car.plaque-part-1.plaque-part-m{
|
|
240
|
-
width: 49px!important;
|
|
241
|
-
}
|
|
242
|
-
.form-input.car.plaque-part-3{
|
|
243
|
-
width: 49px!important;
|
|
244
|
-
padding: 0!important;
|
|
245
|
-
float: left;
|
|
246
|
-
}
|
|
247
|
-
.form-input.car.plaque-part-3.plaque-part-m{
|
|
248
|
-
width: 69px !important;
|
|
249
|
-
}
|
|
250
|
-
.form-input.car.plaque-part-4{
|
|
251
|
-
margin-top: 10px;
|
|
252
|
-
width: 34px!important;
|
|
253
|
-
padding: 0!important;
|
|
254
|
-
float: left;
|
|
255
|
-
}
|
|
256
|
-
.form-input.car.plaque-part-4 .control{
|
|
257
|
-
height: 25px!important;
|
|
258
|
-
}
|
|
259
|
-
.form-input.car.plaque-part-4.plaque-part-m{
|
|
260
|
-
display: none !important;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
.form-input.car.bank-card-part-item{
|
|
265
|
-
width: 25%;
|
|
266
|
-
float: left;
|
|
267
|
-
padding: 0 !important;
|
|
268
|
-
}
|
|
269
|
-
.form-input.car.bank-card-part-item:not(.bank-card-part-4):after{
|
|
270
|
-
position: absolute;
|
|
271
|
-
content: '\f068';
|
|
272
|
-
font-family: "Font Awesome 5 Free";
|
|
273
|
-
font-weight: 900;
|
|
274
|
-
width: 20px;
|
|
275
|
-
height: 20px;
|
|
276
|
-
line-height: 20px;
|
|
277
|
-
top: calc(50% - 10px);
|
|
278
|
-
right: -10px;
|
|
279
|
-
text-align: center;
|
|
280
|
-
font-size: 6px;
|
|
281
|
-
}
|
|
282
|
-
.form-input.car.bank-card-part-item .control{
|
|
283
|
-
background-color: transparent !important;
|
|
284
|
-
box-shadow: unset !important;
|
|
285
|
-
padding: 0 !important;
|
|
286
|
-
font-size: 13px !important;
|
|
287
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<div #inputDiv [id]="inp.name + 'Input'" [style]="inp.style" [className]="inp.class + (inp.error == null ? '' : ' error') + (inp.icon != null ? '' : ' without-icon') + ' form-input car'">
|
|
2
|
-
<div *ngIf="inp.displayLabel" class="label">
|
|
3
|
-
<i *ngIf="inp.required" class="f-r fas fa-star-of-life required-icon"></i>
|
|
4
|
-
<i *ngIf="inp.rows.includes('Car')" [className]="(type == 'Car' ? 'active ' : '') + 'change-type-btn fas fa-car'" (click)="changeType('Car')"></i>
|
|
5
|
-
<i *ngIf="inp.rows.includes('Motor')" [className]="(type == 'Motor' ? 'active ' : '') + 'change-type-btn fas fa-motorcycle'" (click)="changeType('Motor')"></i>
|
|
6
|
-
<i *ngIf="inp.rows.includes('Driver')" [className]="(type == 'Driver' ? 'active ' : '') + 'change-type-btn fas fa-user'" (click)="changeType('Driver')"></i>
|
|
7
|
-
<i *ngIf="inp.rows.includes('Fingerprint')" [className]="(type == 'Fingerprint' ? 'active ' : '') + 'change-type-btn fas fa-fingerprint'" (click)="changeType('Fingerprint')"></i>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="w-100 p-r">
|
|
10
|
-
<lib-form-plaque-select [inp]="car" *ngIf="type === 'Car'"></lib-form-plaque-select>
|
|
11
|
-
<lib-form-plaque-select [inp]="motor" *ngIf="type === 'Motor'"></lib-form-plaque-select>
|
|
12
|
-
<lib-form-select [inp]="driver" *ngIf="type === 'Driver'"></lib-form-select>
|
|
13
|
-
<lib-form-select [inp]="fingerprint" *ngIf="type === 'Fingerprint'"></lib-form-select>
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|