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,206 +0,0 @@
|
|
|
1
|
-
#Calendar {
|
|
2
|
-
float: right;
|
|
3
|
-
width: 100%;
|
|
4
|
-
background-color: white;
|
|
5
|
-
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
|
|
6
|
-
border-radius: 5px;
|
|
7
|
-
z-index: 4;
|
|
8
|
-
-webkit-user-select: none;
|
|
9
|
-
-moz-user-select: none;
|
|
10
|
-
-khtml-user-select: none;
|
|
11
|
-
-ms-user-select: none;
|
|
12
|
-
position: relative;
|
|
13
|
-
}
|
|
14
|
-
#Calendar > .title {
|
|
15
|
-
float: right;
|
|
16
|
-
width: 100%;
|
|
17
|
-
text-align: center;
|
|
18
|
-
line-height: 30px;
|
|
19
|
-
font-family: VazirBold;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
#Calendar .days-con {
|
|
23
|
-
float: right;
|
|
24
|
-
width: 100%;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
#Calendar .header {
|
|
28
|
-
float: right;
|
|
29
|
-
width: 100%;
|
|
30
|
-
background: var(--black-33);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
#Calendar .header .previous-month, #Calendar .header .next-month {
|
|
34
|
-
float: right;
|
|
35
|
-
width: 30px;
|
|
36
|
-
height: 30px;
|
|
37
|
-
line-height: 30px;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
font-size: 15px;
|
|
40
|
-
text-align: center;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
#Calendar .header .previous-month:hover, #Calendar .header .next-month:hover {
|
|
44
|
-
background: var(--black-33);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
#Calendar .header .title {
|
|
48
|
-
float: right;
|
|
49
|
-
width: calc(100% - 60px);
|
|
50
|
-
height: 30px;
|
|
51
|
-
font-size: 12px;
|
|
52
|
-
text-align: center;
|
|
53
|
-
font-family: VazirBold;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
#Calendar .header .header-item {
|
|
57
|
-
float: right;
|
|
58
|
-
height: 20px;
|
|
59
|
-
line-height: 20px;
|
|
60
|
-
margin-top: 5px;
|
|
61
|
-
margin-right: 5px;
|
|
62
|
-
text-align: center;
|
|
63
|
-
background-color: white;
|
|
64
|
-
box-shadow: var(--box-shadow);
|
|
65
|
-
border-radius: 5px;
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
#Calendar .header .header-item:hover {
|
|
70
|
-
background-color: var(--base-11);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
#Calendar .header .header-item.year {
|
|
74
|
-
width: calc(40% - 10px);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
#Calendar .header .header-item.month {
|
|
78
|
-
width: calc(60% - 10px);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
#Calendar .days-con .day-names {
|
|
82
|
-
float: right;
|
|
83
|
-
width: 100%;
|
|
84
|
-
font-size: 12px;
|
|
85
|
-
text-align: center;
|
|
86
|
-
font-family: VazirLight;
|
|
87
|
-
position: relative;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
#Calendar .days-con .day-names .item-con {
|
|
91
|
-
float: right;
|
|
92
|
-
width: calc(100% / 7);
|
|
93
|
-
padding-top: calc(100% / 7);
|
|
94
|
-
position: relative;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
#Calendar .days-con .day-names .item-con .item {
|
|
98
|
-
position: absolute;
|
|
99
|
-
top: 0;
|
|
100
|
-
right: 0;
|
|
101
|
-
width: 100%;
|
|
102
|
-
height: 100%;
|
|
103
|
-
justify-content: center;
|
|
104
|
-
align-items: center;
|
|
105
|
-
display: flex;
|
|
106
|
-
font-size: 11px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
#Calendar .days-con .days {
|
|
110
|
-
float: right;
|
|
111
|
-
width: 100%;
|
|
112
|
-
font-size: 12px;
|
|
113
|
-
text-align: center;
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
border-radius: 5px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
#Calendar .days-con .days .item-con {
|
|
119
|
-
float: right;
|
|
120
|
-
width: calc(100% / 7);
|
|
121
|
-
padding-top: calc(100% / 7);
|
|
122
|
-
position: relative;
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
#Calendar .days-con .days .item-con.not-in-month {
|
|
127
|
-
cursor: default;
|
|
128
|
-
opacity: 0.5;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
#Calendar .days-con .days .item-con:hover {
|
|
132
|
-
background-color: var(--black-33);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
#Calendar .days-con .days .item-con.not-in-month:hover {
|
|
136
|
-
background-color: unset;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
#Calendar .days-con .days .item-con.today {
|
|
140
|
-
background-color: var(--comp);
|
|
141
|
-
color: white;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
#Calendar .days-con .days .item-con.today.not-in-month:hover {
|
|
145
|
-
background-color: var(--black-33);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
#Calendar .days-con .days .item-con .item{
|
|
150
|
-
width: 100%;
|
|
151
|
-
height: 100%;
|
|
152
|
-
top: 0;
|
|
153
|
-
right: 0;
|
|
154
|
-
position: absolute;
|
|
155
|
-
justify-content: center;
|
|
156
|
-
align-items: center;
|
|
157
|
-
display: flex;
|
|
158
|
-
font-size: 11px;
|
|
159
|
-
}
|
|
160
|
-
#Calendar .months-con {
|
|
161
|
-
float: right;
|
|
162
|
-
width: 100%;
|
|
163
|
-
height: 325px;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
#Calendar .months-con .month {
|
|
167
|
-
float: right;
|
|
168
|
-
width: calc(100% / 3);
|
|
169
|
-
height: calc(325px / 4);
|
|
170
|
-
line-height: calc(325px / 4);
|
|
171
|
-
font-size: 13px;
|
|
172
|
-
text-align: center;
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
#Calendar .months-con .month:hover {
|
|
177
|
-
background-color: var(--black-33);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
#Calendar .months-con .month.selected {
|
|
181
|
-
background-color: var(--black-33);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
#Calendar .years-con {
|
|
186
|
-
float: right;
|
|
187
|
-
width: 100%;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
#Calendar .years-con .year {
|
|
191
|
-
float: right;
|
|
192
|
-
width: calc(100% / 4);
|
|
193
|
-
height: calc(325px / 5);
|
|
194
|
-
line-height: calc(325px / 5);
|
|
195
|
-
font-size: 13px;
|
|
196
|
-
text-align: center;
|
|
197
|
-
cursor: pointer;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
#Calendar .years-con .year:hover {
|
|
201
|
-
background-color: var(--black-33);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
#Calendar .years-con .year.selected {
|
|
205
|
-
background-color: var(--black-33);
|
|
206
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<div id="Calendar">
|
|
2
|
-
<div class="header">
|
|
3
|
-
<i (click)="add(state === 'day' || state === 'month' ? -1 : -20)" class="fas fa-angle-right previous-month"></i>
|
|
4
|
-
<div class="title">
|
|
5
|
-
<div (click)="state === 'day' && changeState('month')" class="month header-item">
|
|
6
|
-
{{getActiveMonth()}}
|
|
7
|
-
</div>
|
|
8
|
-
<div (click)="(state === 'day' || state === 'month') && changeState('year')" class="year header-item">
|
|
9
|
-
{{active.format('jYYYY')}}
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
<i (click)="add(state === 'day' || state === 'month' ? 1 : 20)" class="fas fa-angle-left next-month"></i>
|
|
13
|
-
</div>
|
|
14
|
-
<div [style]="state === 'day' ? {} : {display: 'none'}" class="days-con">
|
|
15
|
-
<div class="day-names underline">
|
|
16
|
-
<div class="item-con"><div class="item">ش</div></div>
|
|
17
|
-
<div class="item-con"><div class="item">ی</div></div>
|
|
18
|
-
<div class="item-con"><div class="item">د</div></div>
|
|
19
|
-
<div class="item-con"><div class="item">س</div></div>
|
|
20
|
-
<div class="item-con"><div class="item">چ</div></div>
|
|
21
|
-
<div class="item-con"><div class="item">پ</div></div>
|
|
22
|
-
<div class="item-con"><div class="item">ج</div></div>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="days">
|
|
25
|
-
<div [className]="'item-con not-in-month' + (d.today ? ' today' : '')" *ngFor="let d of previousDays"><div class="item">{{d.day}}</div></div>
|
|
26
|
-
<div [className]="'item-con' + (d.today ? ' today' : '') + (d.selected ? ' selected' : '')" *ngFor="let d of days"><div class="item">{{d.day}}</div></div>
|
|
27
|
-
<div [className]="'item-con not-in-month' + (d.today ? ' today' : '')" *ngFor="let d of nextDays"><div class="item">{{d.day}}</div></div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
<div [style]="state === 'month' ? {} : {display: 'none'}" class="months-con">
|
|
31
|
-
<div [className]="(i + 1 == active.format('jM') ? 'selected ' : '') + 'month'" (click)="changeMonth(i + 1)" *ngFor="let m of months; let i = index">{{m}}</div>
|
|
32
|
-
</div>
|
|
33
|
-
<div [style]="state === 'year' ? {} : {display: 'none'}" class="years-con">
|
|
34
|
-
<div [className]="(y == active.format('jYYYY') ? 'selected ' : '') + 'year'" (click)="changeYear(y)" *ngFor="let y of getYears()">{{y}}</div>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {Component} from '@angular/core';
|
|
2
|
-
import {DayClass} from '../../classes/form.class';
|
|
3
|
-
import * as moment from 'jalali-moment';
|
|
4
|
-
import {PsToolkitUiConfigService} from '../../services/config.service';
|
|
5
|
-
import {LangClass} from '../../classes/lang.class';
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
selector: 'lib-calendar',
|
|
9
|
-
templateUrl: './calendar.component.html',
|
|
10
|
-
styleUrls: ['./calendar.component.css']
|
|
11
|
-
})
|
|
12
|
-
export class CalendarComponent {
|
|
13
|
-
state = 'day';
|
|
14
|
-
months = [];
|
|
15
|
-
active: moment.Moment;
|
|
16
|
-
previousDays: DayClass[] = [];
|
|
17
|
-
nextDays: DayClass[] = [];
|
|
18
|
-
days: DayClass[] = [];
|
|
19
|
-
todayDay: number;
|
|
20
|
-
todayMonth: number;
|
|
21
|
-
todayYear: number;
|
|
22
|
-
l: (k, v?) => string;
|
|
23
|
-
constructor(public config: PsToolkitUiConfigService){
|
|
24
|
-
const lang = new LangClass(config.currentLang, config.strings);
|
|
25
|
-
this.l = (key: string, v = null): string => {
|
|
26
|
-
return lang.get('Public', null, key, v);
|
|
27
|
-
};
|
|
28
|
-
this.months = [this.l('Month1'), this.l('Month2'), this.l('Month3'), this.l('Month4'), this.l('Month5'), this.l('Month6'), this.l('Month7'), this.l('Month8'), this.l('Month9'), this.l('Month10'), this.l('Month11'), this.l('Month12')];
|
|
29
|
-
this.setActive(moment());
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
changeState(s: string): void{
|
|
33
|
-
this.state = s;
|
|
34
|
-
}
|
|
35
|
-
getYears(): number[]{
|
|
36
|
-
const y = parseInt(this.active.format('jYYYY'), 10);
|
|
37
|
-
const sy = y - (y % 20);
|
|
38
|
-
return Array.from({length: 20}, (x, i) => sy + i);
|
|
39
|
-
}
|
|
40
|
-
getActiveMonth(): string{
|
|
41
|
-
return this.months[parseInt(this.active.format('jM'), 10) - 1];
|
|
42
|
-
}
|
|
43
|
-
add(c: number): void{
|
|
44
|
-
this.active.add(c, this.state === 'day' ? 'month' : 'year');
|
|
45
|
-
this.setDate();
|
|
46
|
-
}
|
|
47
|
-
changeMonth(c: number): void{
|
|
48
|
-
this.active = moment(this.active.format('jYYYY') + '/' + ('0' + c).slice(-2) + '/' + this.active.format('jDD HH:mm:ss'), 'jYYYY/jMM/jDD HH:mm:ss');
|
|
49
|
-
this.setDate();
|
|
50
|
-
this.changeState('day');
|
|
51
|
-
}
|
|
52
|
-
changeYear(c: number): void{
|
|
53
|
-
this.active = moment(('000' + c).slice(-4) + '/' + this.active.format('jMM/jDD HH:mm:ss'), 'jYYYY/jMM/jDD HH:mm:ss');
|
|
54
|
-
this.setDate();
|
|
55
|
-
this.changeState('month');
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
setDate(): void{
|
|
59
|
-
const n = this.active.clone();
|
|
60
|
-
const countDayInMonth = n.daysInMonth();
|
|
61
|
-
const startWeek = parseInt(n.startOf('month').format('d'), 10);
|
|
62
|
-
const previousMonth = n.subtract(1, 'month');
|
|
63
|
-
const countDayInPreviousMonth = previousMonth.daysInMonth();
|
|
64
|
-
const nextMonth = n.add(2, 'month');
|
|
65
|
-
const previousDays: DayClass[] = [];
|
|
66
|
-
const nextDays = [];
|
|
67
|
-
const days = [];
|
|
68
|
-
if (startWeek !== 6){
|
|
69
|
-
for (let i = countDayInPreviousMonth - startWeek; i <= countDayInPreviousMonth; i++){
|
|
70
|
-
previousDays.push(new DayClass(i, this.isToday(previousMonth, i), false));
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
for (let i = 1; i <= countDayInMonth; i++){
|
|
74
|
-
days.push(new DayClass(i, this.isToday(this.active, i), false));
|
|
75
|
-
}
|
|
76
|
-
const end = (days.length + previousDays.length) % 7;
|
|
77
|
-
if (end !== 0){
|
|
78
|
-
for (let i = 1; i <= 7 - end; i++){
|
|
79
|
-
nextDays.push(new DayClass(i, this.isToday(nextMonth, i), false));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
this.previousDays = previousDays;
|
|
83
|
-
this.nextDays = nextDays;
|
|
84
|
-
this.days = days;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
isToday(m: moment.Moment, d: number): boolean{
|
|
88
|
-
const month = parseInt(m.format('jMM'), 10);
|
|
89
|
-
const year = parseInt(m.format('jYYYY'), 10);
|
|
90
|
-
return year === this.todayYear && month === this.todayMonth && d === this.todayDay;
|
|
91
|
-
}
|
|
92
|
-
setActive(m): void{
|
|
93
|
-
this.active = m;
|
|
94
|
-
this.todayDay = parseInt(this.active.format('jDD'), 10);
|
|
95
|
-
this.todayMonth = parseInt(this.active.format('jMM'), 10);
|
|
96
|
-
this.todayYear = parseInt(this.active.format('jYYYY'), 10);
|
|
97
|
-
this.setDate();
|
|
98
|
-
}
|
|
99
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
.chart-con{
|
|
2
|
-
float: right;
|
|
3
|
-
width: 100%;
|
|
4
|
-
direction: ltr;
|
|
5
|
-
position: relative;
|
|
6
|
-
}
|
|
7
|
-
.chart-con .loading{
|
|
8
|
-
position: absolute;
|
|
9
|
-
top: 0;
|
|
10
|
-
right: 0;
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
z-index: 9;
|
|
14
|
-
background-color: white;
|
|
15
|
-
}
|
|
16
|
-
.chart-con .loading .text {
|
|
17
|
-
position: absolute;
|
|
18
|
-
height: 40px;
|
|
19
|
-
line-height: 40px;
|
|
20
|
-
width: 100%;
|
|
21
|
-
text-align: center;
|
|
22
|
-
font-family: VazirBold;
|
|
23
|
-
top: calc(50% - 20px);
|
|
24
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {Component, Input} from '@angular/core';
|
|
2
|
-
import {ChartClass} from '../../classes/chart.class';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-chart',
|
|
6
|
-
templateUrl: './chart.component.html',
|
|
7
|
-
styleUrls: ['./chart.component.css']
|
|
8
|
-
})
|
|
9
|
-
export class ChartComponent {
|
|
10
|
-
@Input()
|
|
11
|
-
chart: ChartClass;
|
|
12
|
-
constructor(){
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
#ClockCon {
|
|
2
|
-
width: 10em;
|
|
3
|
-
height: 10em;
|
|
4
|
-
float: right;
|
|
5
|
-
position: relative;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
#ClockCon #clock {
|
|
9
|
-
position: relative;
|
|
10
|
-
width: 10em;
|
|
11
|
-
height: 10em;
|
|
12
|
-
line-height: 1.5em;
|
|
13
|
-
border: 0.0625em solid var(--black-33);
|
|
14
|
-
border-radius: 50%;
|
|
15
|
-
box-shadow: inset 0.125em 0.25em 0.5em var(--black-33), -0.25em -0.5em 0.5em var(--black-33), 0 0 0.0625em 0.5em var(--black-33), 0 0 0.0625em 0.5625em var(--black-33), 0.125em 0.25em 0.5em 0.5em var(--black-33);
|
|
16
|
-
transform: scale(0.9);
|
|
17
|
-
background-color: white;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
#ClockCon #clock *,
|
|
21
|
-
#ClockCon #clock *:before,
|
|
22
|
-
#ClockCon #clock *:after {
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
background-clip: padding-box;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
#ClockCon #clock:before,
|
|
28
|
-
#ClockCon #clock:after,
|
|
29
|
-
#ClockCon #clock b:before,
|
|
30
|
-
#ClockCon #clock b:after {
|
|
31
|
-
position: absolute;
|
|
32
|
-
width: 1.5em;
|
|
33
|
-
text-align: center;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
#ClockCon #clock b {
|
|
37
|
-
position: absolute;
|
|
38
|
-
top: 4.25em;
|
|
39
|
-
width: 100%;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
#ClockCon #clock:before,
|
|
43
|
-
#ClockCon #clock:after {
|
|
44
|
-
left: 4.25em;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
#ClockCon #clock:before {
|
|
48
|
-
content: "12";
|
|
49
|
-
top: 0;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
#ClockCon #clock:after {
|
|
53
|
-
content: "6";
|
|
54
|
-
bottom: 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
#ClockCon #clock b:before {
|
|
58
|
-
left: 0;
|
|
59
|
-
content: "9";
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
#ClockCon #clock b:after {
|
|
63
|
-
right: 0;
|
|
64
|
-
content: "3";
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
#ClockCon #clock span {
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
left: 4.9375em;
|
|
71
|
-
width: 0.125em;
|
|
72
|
-
height: 100%;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
#ClockCon #clock span + span {
|
|
76
|
-
transform: rotate(90deg);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
#ClockCon #clock i,
|
|
80
|
-
#ClockCon #clock span:before,
|
|
81
|
-
#ClockCon #clock span:after {
|
|
82
|
-
position: absolute;
|
|
83
|
-
top: 0.5em;
|
|
84
|
-
left: 0;
|
|
85
|
-
width: 100%;
|
|
86
|
-
height: 9em;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
#ClockCon #clock span:before,
|
|
90
|
-
#ClockCon #clock span:after {
|
|
91
|
-
content: "";
|
|
92
|
-
border-style: solid;
|
|
93
|
-
border-color: #000;
|
|
94
|
-
border-width: 0.5em 0;
|
|
95
|
-
transform: rotate(30deg);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
#ClockCon #clock span:after {
|
|
99
|
-
transform: rotate(60deg);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
#ClockCon #clock i {
|
|
103
|
-
z-index: 2;
|
|
104
|
-
left: 4.85em;
|
|
105
|
-
width: 0.3em;
|
|
106
|
-
background-color: #000;
|
|
107
|
-
border: solid transparent;
|
|
108
|
-
border-width: 0 0 3em;
|
|
109
|
-
border-radius: 40%;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
#ClockCon #clock i:first-of-type {
|
|
113
|
-
border-width: 1.5em 0 3em;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
#ClockCon #clock i:last-of-type {
|
|
117
|
-
background-color: var(--comp);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
#ClockCon #clock i:last-of-type:before,
|
|
121
|
-
#ClockCon #clock i:last-of-type:after {
|
|
122
|
-
content: "";
|
|
123
|
-
position: absolute;
|
|
124
|
-
border-radius: 50%;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
#ClockCon #clock i:last-of-type:before {
|
|
128
|
-
top: 4em;
|
|
129
|
-
left: -0.375em;
|
|
130
|
-
width: 1em;
|
|
131
|
-
height: 1em;
|
|
132
|
-
background: #000;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
#ClockCon #clock i:last-of-type:after {
|
|
136
|
-
top: 4.25em;
|
|
137
|
-
left: -0.125em;
|
|
138
|
-
width: 0.5em;
|
|
139
|
-
height: 0.5em;
|
|
140
|
-
background: #ABC;
|
|
141
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import {Component, ElementRef, Input, OnDestroy, OnInit, ViewChild} from '@angular/core';
|
|
2
|
-
import * as moment from 'jalali-moment';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-clock',
|
|
6
|
-
templateUrl: './clock.component.html',
|
|
7
|
-
styleUrls: ['./clock.component.css']
|
|
8
|
-
})
|
|
9
|
-
export class ClockComponent implements OnInit, OnDestroy{
|
|
10
|
-
clockInterval;
|
|
11
|
-
@ViewChild('clock') clock: ElementRef;
|
|
12
|
-
active: moment.Moment;
|
|
13
|
-
constructor(){
|
|
14
|
-
this.active = moment();
|
|
15
|
-
}
|
|
16
|
-
ngOnInit(): void{
|
|
17
|
-
this.clockInterval = setInterval(() => {
|
|
18
|
-
this.clockUpdate();
|
|
19
|
-
}, 1000);
|
|
20
|
-
}
|
|
21
|
-
ngOnDestroy(): void{
|
|
22
|
-
clearInterval(this.clockInterval);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
clockUpdate(): void{
|
|
26
|
-
this.active = this.active.add(1, 'second');
|
|
27
|
-
document.getElementById('hour').style.transform = 'rotate(' + (
|
|
28
|
-
this.active.get('hour') * 30 + (Math.floor(this.active.get('minute') / 12) * 6)
|
|
29
|
-
) + 'deg)';
|
|
30
|
-
document.getElementById('minute').style.transform = 'rotate(' + (
|
|
31
|
-
this.active.get('minute') * 6
|
|
32
|
-
) + 'deg)';
|
|
33
|
-
document.getElementById('second').style.transform = 'rotate(' + (
|
|
34
|
-
this.active.get('second') * 6
|
|
35
|
-
) + 'deg)';
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
.accordion {
|
|
2
|
-
float: right;
|
|
3
|
-
width: 100%;
|
|
4
|
-
padding: 20px;
|
|
5
|
-
background-color: white;
|
|
6
|
-
border-radius: 5px;
|
|
7
|
-
position: relative;
|
|
8
|
-
min-height: 300px !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.accordion > .loading{
|
|
12
|
-
position: absolute;
|
|
13
|
-
background-color: white;
|
|
14
|
-
top: 0;
|
|
15
|
-
right: 0;
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 100%;
|
|
18
|
-
text-align: center;
|
|
19
|
-
border-radius: 5px;
|
|
20
|
-
z-index: 4;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.accordion > .loading .text {
|
|
24
|
-
position: absolute;
|
|
25
|
-
height: 35px;
|
|
26
|
-
line-height: 35px;
|
|
27
|
-
width: 100%;
|
|
28
|
-
text-align: center;
|
|
29
|
-
font-family: VazirBold;
|
|
30
|
-
top: calc(50% - 20px);
|
|
31
|
-
}
|
|
32
|
-
::ng-deep .accordion > .loading .icon {
|
|
33
|
-
font-size: 20px !important;
|
|
34
|
-
line-height: 30px;
|
|
35
|
-
position: relative;
|
|
36
|
-
top: 5px;
|
|
37
|
-
margin-left: 5px;
|
|
38
|
-
}
|
|
39
|
-
.accordion > .title{
|
|
40
|
-
float: right;
|
|
41
|
-
width: 100%;
|
|
42
|
-
height: 30px;
|
|
43
|
-
line-height: 30px;
|
|
44
|
-
font-family: VazirBold;
|
|
45
|
-
font-size: 16px;
|
|
46
|
-
text-align: center;
|
|
47
|
-
margin-bottom: 10px;
|
|
48
|
-
position: relative;
|
|
49
|
-
}
|
|
50
|
-
.accordion .accordion-item{
|
|
51
|
-
float: right;
|
|
52
|
-
width: 100%;
|
|
53
|
-
margin-bottom: 10px;
|
|
54
|
-
position: relative;
|
|
55
|
-
}
|
|
56
|
-
.accordion .accordion-item .header{
|
|
57
|
-
float: right;
|
|
58
|
-
width: 100%;
|
|
59
|
-
-webkit-user-select: none;
|
|
60
|
-
-moz-user-select: none;
|
|
61
|
-
-khtml-user-select: none;
|
|
62
|
-
-ms-user-select: none;
|
|
63
|
-
position: relative;
|
|
64
|
-
}
|
|
65
|
-
.accordion .accordion-item .title{
|
|
66
|
-
float: right;
|
|
67
|
-
width: 100%;
|
|
68
|
-
height: 30px;
|
|
69
|
-
line-height: 30px;
|
|
70
|
-
background-color: var(--base);
|
|
71
|
-
border-radius: 5px;
|
|
72
|
-
text-align: center;
|
|
73
|
-
font-size: 12px;
|
|
74
|
-
cursor: pointer;
|
|
75
|
-
color: white;
|
|
76
|
-
}
|
|
77
|
-
.accordion .accordion-item .title:hover{
|
|
78
|
-
background-color: var(--base-dark);
|
|
79
|
-
}
|
|
80
|
-
.accordion .accordion-item .header .icon{
|
|
81
|
-
position: absolute;
|
|
82
|
-
top: 0;
|
|
83
|
-
right: 0;
|
|
84
|
-
width: 30px;
|
|
85
|
-
height: 30px;
|
|
86
|
-
line-height: 29px;
|
|
87
|
-
text-align: center;
|
|
88
|
-
color: white;
|
|
89
|
-
cursor: pointer;
|
|
90
|
-
font-size: 18px;
|
|
91
|
-
}
|
|
92
|
-
.accordion .accordion-item .header .delete-icon{
|
|
93
|
-
position: absolute;
|
|
94
|
-
top: 0;
|
|
95
|
-
left: 0;
|
|
96
|
-
width: 30px;
|
|
97
|
-
height: 30px;
|
|
98
|
-
line-height: 29px;
|
|
99
|
-
text-align: center;
|
|
100
|
-
color: white;
|
|
101
|
-
cursor: pointer;
|
|
102
|
-
font-size: 18px;
|
|
103
|
-
}
|
|
104
|
-
.accordion .accordion-item .content{
|
|
105
|
-
display: none;
|
|
106
|
-
float: right;
|
|
107
|
-
width: 100%;
|
|
108
|
-
padding: 10px;
|
|
109
|
-
}
|
|
110
|
-
.accordion .accordion-item-con:first-of-type .content{
|
|
111
|
-
display: block;
|
|
112
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<lib-modal *ngIf="confirm" [modal]="confirm"></lib-modal>
|