ps-toolkit-ui 0.0.210 → 0.0.211
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/karma.conf.js +32 -0
- package/ng-package.json +16 -0
- package/package.json +19 -22
- package/src/lib/classes/chart.class.ts +140 -0
- package/src/lib/classes/enum.class.ts +193 -0
- package/src/lib/classes/excel.class.ts +46 -0
- package/src/lib/classes/form.class.ts +528 -0
- package/src/lib/classes/helper.class.ts +283 -0
- package/src/lib/classes/lang.class.ts +32 -0
- package/src/lib/classes/login.class.ts +27 -0
- package/src/lib/classes/modal.class.ts +59 -0
- package/src/lib/classes/permission.class.ts +55 -0
- package/src/lib/classes/request.class.ts +255 -0
- package/src/lib/classes/safestyle.class.ts +4 -0
- package/src/lib/classes/sidebar.class.ts +20 -0
- package/src/lib/classes/steps.class.ts +19 -0
- package/src/lib/classes/string.class.ts +219 -0
- package/src/lib/classes/table.class.ts +228 -0
- package/src/lib/components/accordion/accordion.component.css +116 -0
- package/src/lib/components/accordion/accordion.component.html +19 -0
- package/src/lib/components/accordion/accordion.component.ts +41 -0
- package/src/lib/components/alert/alert.component.css +112 -0
- package/src/lib/components/alert/alert.component.html +1 -0
- package/src/lib/components/alert/alert.component.ts +35 -0
- package/src/lib/components/base.component.ts +38 -0
- package/src/lib/components/calendar/calendar.component.css +206 -0
- package/src/lib/components/calendar/calendar.component.html +36 -0
- package/src/lib/components/calendar/calendar.component.ts +99 -0
- package/src/lib/components/chart/chart.component.css +24 -0
- package/src/lib/components/chart/chart.component.html +6 -0
- package/src/lib/components/chart/chart.component.ts +14 -0
- package/src/lib/components/clock/clock.component.css +141 -0
- package/src/lib/components/clock/clock.component.html +10 -0
- package/src/lib/components/clock/clock.component.ts +37 -0
- package/src/lib/components/confirm/confirm.component.css +112 -0
- package/src/lib/components/confirm/confirm.component.html +1 -0
- package/src/lib/components/confirm/confirm.component.ts +47 -0
- package/src/lib/components/footer/footer.component.css +46 -0
- package/src/lib/components/footer/footer.component.html +9 -0
- package/src/lib/components/footer/footer.component.ts +18 -0
- package/src/lib/components/form/bank-card/form.bank-card.component.css +115 -0
- package/src/lib/components/form/bank-card/form.bank-card.component.html +13 -0
- package/src/lib/components/form/bank-card/form.bank-card.component.ts +144 -0
- package/src/lib/components/form/button/form.button.component.css +222 -0
- package/src/lib/components/form/button/form.button.component.html +16 -0
- package/src/lib/components/form/button/form.button.component.ts +65 -0
- package/src/lib/components/form/car/form.car.component.css +287 -0
- package/src/lib/components/form/car/form.car.component.html +11 -0
- package/src/lib/components/form/car/form.car.component.ts +82 -0
- package/src/lib/components/form/car/search/form.car.search.component.css +287 -0
- package/src/lib/components/form/car/search/form.car.search.component.html +15 -0
- package/src/lib/components/form/car/search/form.car.search.component.ts +170 -0
- package/src/lib/components/form/checkbox/form.checkbox.component.css +128 -0
- package/src/lib/components/form/checkbox/form.checkbox.component.html +8 -0
- package/src/lib/components/form/checkbox/form.checkbox.component.ts +64 -0
- package/src/lib/components/form/date/form.date.component.css +310 -0
- package/src/lib/components/form/date/form.date.component.html +46 -0
- package/src/lib/components/form/date/form.date.component.ts +247 -0
- package/src/lib/components/form/datetime/form.datetime.component.css +157 -0
- package/src/lib/components/form/datetime/form.datetime.component.html +11 -0
- package/src/lib/components/form/datetime/form.datetime.component.ts +98 -0
- package/src/lib/components/form/file/form.file.component.css +151 -0
- package/src/lib/components/form/file/form.file.component.html +12 -0
- package/src/lib/components/form/file/form.file.component.ts +130 -0
- package/src/lib/components/form/finger/form.finger.component.css +215 -0
- package/src/lib/components/form/finger/form.finger.component.html +59 -0
- package/src/lib/components/form/finger/form.finger.component.ts +131 -0
- 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 +29 -0
- package/src/lib/components/form/icon/form.icon.component.css +108 -0
- package/src/lib/components/form/icon/form.icon.component.html +14 -0
- package/src/lib/components/form/icon/form.icon.component.ts +73 -0
- package/src/lib/components/form/index/form.component.css +89 -0
- package/src/lib/components/form/index/form.component.html +35 -0
- package/src/lib/components/form/index/form.component.ts +45 -0
- package/src/lib/components/form/label/form.label.component.css +45 -0
- package/src/lib/components/form/label/form.label.component.html +2 -0
- package/src/lib/components/form/label/form.label.component.ts +30 -0
- package/src/lib/components/form/plaque/form.plaque.component.css +76 -0
- package/src/lib/components/form/plaque/form.plaque.component.html +10 -0
- package/src/lib/components/form/plaque/form.plaque.component.ts +178 -0
- package/src/lib/components/form/plaque/select/form.plaque.select.component.css +167 -0
- package/src/lib/components/form/plaque/select/form.plaque.select.component.html +19 -0
- package/src/lib/components/form/plaque/select/form.plaque.select.component.ts +385 -0
- package/src/lib/components/form/radio/form.radio.component.css +158 -0
- package/src/lib/components/form/radio/form.radio.component.html +16 -0
- package/src/lib/components/form/radio/form.radio.component.ts +78 -0
- package/src/lib/components/form/select/form.select.component.css +326 -0
- package/src/lib/components/form/select/form.select.component.html +16 -0
- package/src/lib/components/form/select/form.select.component.ts +358 -0
- package/src/lib/components/form/select/item/form.select.item.component.css +59 -0
- package/src/lib/components/form/select/item/form.select.item.component.html +10 -0
- package/src/lib/components/form/select/item/form.select.item.component.ts +40 -0
- package/src/lib/components/form/table/form.table.component.css +50 -0
- package/src/lib/components/form/table/form.table.component.html +8 -0
- package/src/lib/components/form/table/form.table.component.ts +94 -0
- package/src/lib/components/form/textarea/form.textarea.component.css +109 -0
- package/src/lib/components/form/textarea/form.textarea.component.html +10 -0
- package/src/lib/components/form/textarea/form.textarea.component.ts +76 -0
- package/src/lib/components/form/textbox/form.textbox.component.css +296 -0
- package/src/lib/components/form/textbox/form.textbox.component.html +13 -0
- package/src/lib/components/form/textbox/form.textbox.component.ts +185 -0
- package/src/lib/components/form/time/form.time.component.css +205 -0
- package/src/lib/components/form/time/form.time.component.html +22 -0
- package/src/lib/components/form/time/form.time.component.ts +139 -0
- package/src/lib/components/form/tree/form.tree.component.css +109 -0
- package/src/lib/components/form/tree/form.tree.component.html +11 -0
- package/src/lib/components/form/tree/form.tree.component.ts +98 -0
- package/src/lib/components/form/tree/item/form.tree.item.component.css +142 -0
- package/src/lib/components/form/tree/item/form.tree.item.component.html +9 -0
- package/src/lib/components/form/tree/item/form.tree.item.component.ts +49 -0
- package/src/lib/components/header/header.component.css +57 -0
- package/src/lib/components/header/header.component.html +5 -0
- package/src/lib/components/header/header.component.ts +28 -0
- package/src/lib/components/header/sub/sub.header.component.css +62 -0
- package/src/lib/components/header/sub/sub.header.component.html +8 -0
- package/src/lib/components/header/sub/sub.header.component.ts +11 -0
- package/src/lib/components/layout/layout.component.css +300 -0
- package/src/lib/components/layout/layout.component.html +20 -0
- package/src/lib/components/layout/layout.component.ts +21 -0
- package/src/lib/components/loading/loading.component.css +39 -0
- package/src/lib/components/loading/loading.component.html +8 -0
- package/src/lib/components/loading/loading.component.ts +18 -0
- package/src/lib/components/login/login.component.css +389 -0
- package/src/lib/components/login/login.component.html +27 -0
- package/src/lib/components/login/login.component.ts +145 -0
- package/src/lib/components/modal/modal.component.css +60 -0
- package/src/lib/components/modal/modal.component.html +12 -0
- package/src/lib/components/modal/modal.component.ts +23 -0
- package/src/lib/components/notfound/notfound.component.css +134 -0
- package/src/lib/components/notfound/notfound.component.html +10 -0
- package/src/lib/components/notfound/notfound.component.ts +25 -0
- package/src/lib/components/notification/notification.component.css +45 -0
- package/src/lib/components/notification/notification.component.html +2 -0
- package/src/lib/components/notification/notification.component.ts +11 -0
- package/src/lib/components/sidebar/item/sidebar.item.component.css +236 -0
- package/src/lib/components/sidebar/item/sidebar.item.component.html +16 -0
- package/src/lib/components/sidebar/item/sidebar.item.component.ts +54 -0
- package/src/lib/components/sidebar/sidebar.component.css +42 -0
- package/src/lib/components/sidebar/sidebar.component.html +10 -0
- package/src/lib/components/sidebar/sidebar.component.ts +60 -0
- package/src/lib/components/steps/steps.component.css +320 -0
- package/src/lib/components/steps/steps.component.html +18 -0
- package/src/lib/components/steps/steps.component.ts +44 -0
- package/src/lib/components/table/loading/table.loading.component.css +29 -0
- package/src/lib/components/table/loading/table.loading.component.html +9 -0
- package/src/lib/components/table/loading/table.loading.component.ts +14 -0
- package/src/lib/components/table/pagination/table.pagination.component.css +138 -0
- package/src/lib/components/table/pagination/table.pagination.component.html +9 -0
- package/src/lib/components/table/pagination/table.pagination.component.ts +89 -0
- package/src/lib/components/table/report/table.report.component.css +125 -0
- package/src/lib/components/table/report/table.report.component.html +19 -0
- package/src/lib/components/table/report/table.report.component.ts +238 -0
- package/src/lib/components/table/row/table.row.component.css +170 -0
- package/src/lib/components/table/row/table.row.component.html +21 -0
- package/src/lib/components/table/row/table.row.component.ts +373 -0
- package/src/lib/components/table/table.component.css +116 -0
- package/src/lib/components/table/table.component.html +62 -0
- package/src/lib/components/table/table.component.ts +180 -0
- package/src/lib/components/tooltip/tooltip.component.css +159 -0
- package/src/lib/components/tooltip/tooltip.component.html +1 -0
- package/src/lib/components/tooltip/tooltip.component.ts +15 -0
- package/src/lib/ps-toolkit-ui.module.ts +94 -0
- package/src/lib/services/config.service.ts +8 -0
- package/{public-api.d.ts → src/public-api.ts} +53 -48
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +25 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bundles/ps-toolkit-ui.umd.js +0 -7646
- package/bundles/ps-toolkit-ui.umd.js.map +0 -1
- package/bundles/ps-toolkit-ui.umd.min.js +0 -2
- package/bundles/ps-toolkit-ui.umd.min.js.map +0 -1
- package/esm2015/lib/classes/chart.class.js +0 -140
- package/esm2015/lib/classes/enum.class.js +0 -187
- package/esm2015/lib/classes/form.class.js +0 -481
- package/esm2015/lib/classes/helper.class.js +0 -284
- package/esm2015/lib/classes/lang.class.js +0 -32
- package/esm2015/lib/classes/login.class.js +0 -22
- package/esm2015/lib/classes/modal.class.js +0 -52
- package/esm2015/lib/classes/permission.class.js +0 -61
- package/esm2015/lib/classes/request.class.js +0 -256
- package/esm2015/lib/classes/safestyle.class.js +0 -15
- package/esm2015/lib/classes/sidebar.class.js +0 -14
- package/esm2015/lib/classes/steps.class.js +0 -20
- package/esm2015/lib/classes/string.class.js +0 -220
- package/esm2015/lib/classes/table.class.js +0 -215
- package/esm2015/lib/components/accordion/accordion.component.js +0 -45
- package/esm2015/lib/components/alert/alert.component.js +0 -39
- package/esm2015/lib/components/base.component.js +0 -45
- package/esm2015/lib/components/calendar/calendar.component.js +0 -97
- package/esm2015/lib/components/chart/chart.component.js +0 -17
- package/esm2015/lib/components/clock/clock.component.js +0 -33
- package/esm2015/lib/components/confirm/confirm.component.js +0 -50
- package/esm2015/lib/components/footer/footer.component.js +0 -23
- package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +0 -148
- package/esm2015/lib/components/form/button/form.button.component.js +0 -68
- package/esm2015/lib/components/form/car/form.car.component.js +0 -84
- package/esm2015/lib/components/form/car/search/form.car.search.component.js +0 -172
- package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +0 -66
- package/esm2015/lib/components/form/date/form.date.component.js +0 -254
- package/esm2015/lib/components/form/datetime/form.datetime.component.js +0 -104
- package/esm2015/lib/components/form/file/form.file.component.js +0 -133
- package/esm2015/lib/components/form/finger/form.finger.component.js +0 -138
- package/esm2015/lib/components/form/hidden/form.hidden.component.js +0 -31
- package/esm2015/lib/components/form/icon/form.icon.component.js +0 -76
- package/esm2015/lib/components/form/index/form.component.js +0 -48
- package/esm2015/lib/components/form/label/form.label.component.js +0 -32
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +0 -176
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +0 -390
- package/esm2015/lib/components/form/radio/form.radio.component.js +0 -79
- package/esm2015/lib/components/form/select/form.select.component.js +0 -374
- package/esm2015/lib/components/form/select/item/form.select.item.component.js +0 -43
- package/esm2015/lib/components/form/table/form.table.component.js +0 -98
- package/esm2015/lib/components/form/textarea/form.textarea.component.js +0 -78
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +0 -186
- package/esm2015/lib/components/form/time/form.time.component.js +0 -145
- package/esm2015/lib/components/form/tree/form.tree.component.js +0 -99
- package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +0 -48
- package/esm2015/lib/components/header/header.component.js +0 -33
- package/esm2015/lib/components/header/sub/sub.header.component.js +0 -14
- package/esm2015/lib/components/layout/layout.component.js +0 -25
- package/esm2015/lib/components/loading/loading.component.js +0 -22
- package/esm2015/lib/components/login/login.component.js +0 -148
- package/esm2015/lib/components/modal/modal.component.js +0 -25
- package/esm2015/lib/components/notfound/notfound.component.js +0 -29
- package/esm2015/lib/components/notification/notification.component.js +0 -14
- package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +0 -53
- package/esm2015/lib/components/sidebar/sidebar.component.js +0 -67
- package/esm2015/lib/components/steps/steps.component.js +0 -51
- package/esm2015/lib/components/table/loading/table.loading.component.js +0 -17
- package/esm2015/lib/components/table/pagination/table.pagination.component.js +0 -84
- package/esm2015/lib/components/table/report/table.report.component.js +0 -246
- package/esm2015/lib/components/table/row/table.row.component.js +0 -379
- package/esm2015/lib/components/table/table.component.js +0 -179
- package/esm2015/lib/components/tooltip/tooltip.component.js +0 -19
- package/esm2015/lib/ps-toolkit-ui.module.js +0 -95
- package/esm2015/lib/services/config.service.js +0 -14
- package/esm2015/ps-toolkit-ui.js +0 -20
- package/esm2015/public-api.js +0 -52
- package/fesm2015/ps-toolkit-ui.js +0 -6566
- package/fesm2015/ps-toolkit-ui.js.map +0 -1
- package/lib/classes/chart.class.d.ts +0 -11
- package/lib/classes/enum.class.d.ts +0 -158
- package/lib/classes/form.class.d.ts +0 -173
- package/lib/classes/helper.class.d.ts +0 -28
- package/lib/classes/lang.class.d.ts +0 -5
- package/lib/classes/login.class.d.ts +0 -17
- package/lib/classes/modal.class.d.ts +0 -19
- package/lib/classes/permission.class.d.ts +0 -31
- package/lib/classes/request.class.d.ts +0 -12
- package/lib/classes/safestyle.class.d.ts +0 -7
- package/lib/classes/sidebar.class.d.ts +0 -11
- package/lib/classes/steps.class.d.ts +0 -17
- package/lib/classes/string.class.d.ts +0 -218
- package/lib/classes/table.class.d.ts +0 -69
- package/lib/components/accordion/accordion.component.d.ts +0 -7
- package/lib/components/alert/alert.component.d.ts +0 -10
- package/lib/components/base.component.d.ts +0 -14
- package/lib/components/calendar/calendar.component.d.ts +0 -26
- package/lib/components/chart/chart.component.d.ts +0 -5
- package/lib/components/clock/clock.component.d.ts +0 -11
- package/lib/components/confirm/confirm.component.d.ts +0 -14
- package/lib/components/footer/footer.component.d.ts +0 -6
- package/lib/components/form/bank-card/form.bank-card.component.d.ts +0 -22
- package/lib/components/form/button/form.button.component.d.ts +0 -15
- package/lib/components/form/car/form.car.component.d.ts +0 -16
- package/lib/components/form/car/search/form.car.search.component.d.ts +0 -17
- package/lib/components/form/checkbox/form.checkbox.component.d.ts +0 -14
- package/lib/components/form/date/form.date.component.d.ts +0 -42
- package/lib/components/form/datetime/form.datetime.component.d.ts +0 -13
- package/lib/components/form/file/form.file.component.d.ts +0 -17
- package/lib/components/form/finger/form.finger.component.d.ts +0 -15
- package/lib/components/form/hidden/form.hidden.component.d.ts +0 -7
- package/lib/components/form/icon/form.icon.component.d.ts +0 -15
- package/lib/components/form/index/form.component.d.ts +0 -10
- package/lib/components/form/label/form.label.component.d.ts +0 -8
- package/lib/components/form/plaque/form.plaque.component.d.ts +0 -22
- package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +0 -36
- package/lib/components/form/radio/form.radio.component.d.ts +0 -13
- package/lib/components/form/select/form.select.component.d.ts +0 -39
- package/lib/components/form/select/item/form.select.item.component.d.ts +0 -12
- package/lib/components/form/table/form.table.component.d.ts +0 -9
- package/lib/components/form/textarea/form.textarea.component.d.ts +0 -13
- package/lib/components/form/textbox/form.textbox.component.d.ts +0 -20
- package/lib/components/form/time/form.time.component.d.ts +0 -25
- package/lib/components/form/tree/form.tree.component.d.ts +0 -16
- package/lib/components/form/tree/item/form.tree.item.component.d.ts +0 -17
- package/lib/components/header/header.component.d.ts +0 -9
- package/lib/components/header/sub/sub.header.component.d.ts +0 -3
- package/lib/components/layout/layout.component.d.ts +0 -8
- package/lib/components/loading/loading.component.d.ts +0 -5
- package/lib/components/login/login.component.d.ts +0 -13
- package/lib/components/modal/modal.component.d.ts +0 -9
- package/lib/components/notfound/notfound.component.d.ts +0 -8
- package/lib/components/notification/notification.component.d.ts +0 -3
- package/lib/components/sidebar/item/sidebar.item.component.d.ts +0 -14
- package/lib/components/sidebar/sidebar.component.d.ts +0 -19
- package/lib/components/steps/steps.component.d.ts +0 -10
- package/lib/components/table/loading/table.loading.component.d.ts +0 -5
- package/lib/components/table/pagination/table.pagination.component.d.ts +0 -15
- package/lib/components/table/report/table.report.component.d.ts +0 -34
- package/lib/components/table/row/table.row.component.d.ts +0 -34
- package/lib/components/table/table.component.d.ts +0 -40
- package/lib/components/tooltip/tooltip.component.d.ts +0 -5
- package/lib/ps-toolkit-ui.module.d.ts +0 -4
- package/lib/services/config.service.d.ts +0 -6
- package/ps-toolkit-ui.d.ts +0 -19
- package/ps-toolkit-ui.metadata.json +0 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
#SubHeader{
|
|
2
|
+
float: right;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 40px;
|
|
5
|
+
background-color: white;
|
|
6
|
+
box-shadow: var(--box-shadow-header);
|
|
7
|
+
position: relative;
|
|
8
|
+
z-index: 10;
|
|
9
|
+
-webkit-user-select: none;
|
|
10
|
+
-moz-user-select: none;
|
|
11
|
+
-khtml-user-select: none;
|
|
12
|
+
-ms-user-select: none;
|
|
13
|
+
}
|
|
14
|
+
#SubHeader .breadcrumb{
|
|
15
|
+
float: right;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 40px;
|
|
18
|
+
line-height: 40px;
|
|
19
|
+
padding: 0 40px;
|
|
20
|
+
}
|
|
21
|
+
#SubHeader .breadcrumb .item{
|
|
22
|
+
float: right;
|
|
23
|
+
}
|
|
24
|
+
#SubHeader .breadcrumb .item .name{
|
|
25
|
+
float: right;
|
|
26
|
+
height: 40px;
|
|
27
|
+
line-height: 40px;
|
|
28
|
+
font-size: 12px;
|
|
29
|
+
color: var(--black-55) !important;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
font-family: VazirLight;
|
|
32
|
+
position: relative;
|
|
33
|
+
padding: 0 20px;
|
|
34
|
+
}
|
|
35
|
+
#SubHeader .breadcrumb .item i{
|
|
36
|
+
float: right;
|
|
37
|
+
height: 40px;
|
|
38
|
+
line-height: 40px;
|
|
39
|
+
width: 20px;
|
|
40
|
+
text-align: center;
|
|
41
|
+
font-size: 15px;
|
|
42
|
+
cursor: default;
|
|
43
|
+
color: var(--black-55) !important;
|
|
44
|
+
}
|
|
45
|
+
#SubHeader .breadcrumb .item:not(:first-of-type) .name:hover{
|
|
46
|
+
color: var(--comp) !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
#SubHeader .breadcrumb .item:first-of-type .name{
|
|
50
|
+
margin-left: 30px;
|
|
51
|
+
font-size: 16px;
|
|
52
|
+
color: var(--black) !important;
|
|
53
|
+
cursor: default;
|
|
54
|
+
pointer-events: none;
|
|
55
|
+
font-family: VazirBold;
|
|
56
|
+
padding: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
#SubHeader .breadcrumb .item:last-of-type i{
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<!--<div id="SubHeader">-->
|
|
2
|
+
<!-- <div class="breadcrumb" *ngIf="app.breadcrumb != null">-->
|
|
3
|
+
<!-- <a class="item"><div class="name">{{app.breadcrumb[app.breadcrumb.length - 1].Name}}</div></a>-->
|
|
4
|
+
<!-- <a class="item" [routerLink]="b.Url" *ngFor="let b of (app.breadcrumb.length == 1 ? [] : app.breadcrumb)"><div class="name">{{b.Name}}</div><i class="fa-duotone fa-angle-left"></i></a>-->
|
|
5
|
+
<!-- </div>-->
|
|
6
|
+
<!-- <div class="breadcrumb" *ngIf="app.breadcrumb == null" [innerHTML]="this.l('LoadingDot')">-->
|
|
7
|
+
<!-- </div>-->
|
|
8
|
+
<!--</div>-->
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
#Layout{
|
|
2
|
+
float: right;
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
#Layout .layout-con{
|
|
6
|
+
float: right;
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
#Layout .panel{
|
|
10
|
+
float: right;
|
|
11
|
+
width: 100%;
|
|
12
|
+
position: relative;
|
|
13
|
+
}
|
|
14
|
+
#Layout .panel .sidebar{
|
|
15
|
+
position: absolute;
|
|
16
|
+
float: right;
|
|
17
|
+
width: 78px;
|
|
18
|
+
background-color: var(--base);
|
|
19
|
+
min-height: calc(100vh - 35px);
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
height: calc(100vh - 35px);
|
|
22
|
+
direction: ltr;
|
|
23
|
+
-webkit-user-select: none;
|
|
24
|
+
-moz-user-select: none;
|
|
25
|
+
-khtml-user-select: none;
|
|
26
|
+
-ms-user-select: none;
|
|
27
|
+
-moz-transition: width 0.3s;
|
|
28
|
+
-webkit-transition: width 0.3s;
|
|
29
|
+
transition: width 0.3s;
|
|
30
|
+
z-index: 9;
|
|
31
|
+
}
|
|
32
|
+
#Layout .panel .sidebar-shadow{
|
|
33
|
+
position: absolute;
|
|
34
|
+
float: right;
|
|
35
|
+
width: 100%;
|
|
36
|
+
left: 0;
|
|
37
|
+
visibility: hidden;
|
|
38
|
+
background-color: var(--black);
|
|
39
|
+
opacity: 0;
|
|
40
|
+
min-height: calc(100vh - 85px);
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
height: calc(100vh - 85px);
|
|
43
|
+
direction: ltr;
|
|
44
|
+
-webkit-user-select: none;
|
|
45
|
+
-moz-user-select: none;
|
|
46
|
+
-khtml-user-select: none;
|
|
47
|
+
-ms-user-select: none;
|
|
48
|
+
-moz-transition: all 0.3s;
|
|
49
|
+
-webkit-transition: all 0.3s;
|
|
50
|
+
transition: all 0.3s;
|
|
51
|
+
z-index: 9;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
55
|
+
width: 260px;
|
|
56
|
+
}
|
|
57
|
+
#Layout .panel .sidebar .sidebar-scroll{
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#Layout .panel .content{
|
|
63
|
+
float: left;
|
|
64
|
+
width: calc(100% - 78px);
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
direction: rtl;
|
|
67
|
+
position: relative;
|
|
68
|
+
-moz-transition: width 0.3s;
|
|
69
|
+
-webkit-transition: width 0.3s;
|
|
70
|
+
transition: width 0.3s;
|
|
71
|
+
background-color: var(--base-11);
|
|
72
|
+
}
|
|
73
|
+
#Layout .panel.open-sidebar .content{
|
|
74
|
+
width: calc(100% - 260px);
|
|
75
|
+
}
|
|
76
|
+
#Layout .panel .content .content-scroll-con{
|
|
77
|
+
width: 100%;
|
|
78
|
+
height: calc(100vh - 85px);
|
|
79
|
+
min-height: calc(100vh - 85px);
|
|
80
|
+
}
|
|
81
|
+
#Layout .panel .content .content-scroll-con .content-scroll{
|
|
82
|
+
float: right;
|
|
83
|
+
width: 100%;
|
|
84
|
+
padding: 20px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (max-width: 399.98px) {
|
|
88
|
+
#Layout .panel .sidebar{
|
|
89
|
+
width: 200px;
|
|
90
|
+
right: 0;
|
|
91
|
+
min-height: calc(100vh - 110px);
|
|
92
|
+
height: calc(100vh - 110px);
|
|
93
|
+
}
|
|
94
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
95
|
+
right: -200px;
|
|
96
|
+
}
|
|
97
|
+
#Layout .panel.open-sidebar .content{
|
|
98
|
+
width: 100%;
|
|
99
|
+
}
|
|
100
|
+
#Layout .panel .content{
|
|
101
|
+
width: 100%;
|
|
102
|
+
min-height: calc(100vh - 110px);
|
|
103
|
+
height: calc(100vh - 110px);
|
|
104
|
+
}
|
|
105
|
+
#Layout .panel .sidebar-shadow{
|
|
106
|
+
opacity: 0.7;
|
|
107
|
+
width: calc(100% - 200px);
|
|
108
|
+
visibility: visible;
|
|
109
|
+
min-height: calc(100vh - 110px);
|
|
110
|
+
height: calc(100vh - 110px);
|
|
111
|
+
}
|
|
112
|
+
#Layout .panel.open-sidebar .sidebar-shadow{
|
|
113
|
+
opacity: 0;
|
|
114
|
+
width: 100%;
|
|
115
|
+
visibility: hidden;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (min-width: 400px) and (max-width: 499.98px) {
|
|
120
|
+
#Layout .panel .sidebar{
|
|
121
|
+
width: 200px;
|
|
122
|
+
right: 0;
|
|
123
|
+
min-height: calc(100vh - 110px);
|
|
124
|
+
height: calc(100vh - 110px);
|
|
125
|
+
}
|
|
126
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
127
|
+
right: -200px;
|
|
128
|
+
}
|
|
129
|
+
#Layout .panel.open-sidebar .content{
|
|
130
|
+
width: 100%;
|
|
131
|
+
}
|
|
132
|
+
#Layout .panel .content{
|
|
133
|
+
width: 100%;
|
|
134
|
+
min-height: calc(100vh - 110px);
|
|
135
|
+
height: calc(100vh - 110px);
|
|
136
|
+
}
|
|
137
|
+
#Layout .panel .sidebar-shadow{
|
|
138
|
+
opacity: 0.7;
|
|
139
|
+
width: calc(100% - 200px);
|
|
140
|
+
visibility: visible;
|
|
141
|
+
min-height: calc(100vh - 110px);
|
|
142
|
+
height: calc(100vh - 110px);
|
|
143
|
+
}
|
|
144
|
+
#Layout .panel.open-sidebar .sidebar-shadow{
|
|
145
|
+
opacity: 0;
|
|
146
|
+
width: 100%;
|
|
147
|
+
visibility: hidden;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@media (min-width: 500px) and (max-width: 599.98px) {
|
|
152
|
+
#Layout .panel .sidebar{
|
|
153
|
+
width: 200px;
|
|
154
|
+
right: 0;
|
|
155
|
+
min-height: calc(100vh - 110px);
|
|
156
|
+
height: calc(100vh - 110px);
|
|
157
|
+
}
|
|
158
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
159
|
+
right: -200px;
|
|
160
|
+
}
|
|
161
|
+
#Layout .panel.open-sidebar .content{
|
|
162
|
+
width: 100%;
|
|
163
|
+
}
|
|
164
|
+
#Layout .panel .content{
|
|
165
|
+
width: 100%;
|
|
166
|
+
min-height: calc(100vh - 110px);
|
|
167
|
+
height: calc(100vh - 110px);
|
|
168
|
+
}
|
|
169
|
+
#Layout .panel .sidebar-shadow{
|
|
170
|
+
opacity: 0.7;
|
|
171
|
+
width: calc(100% - 200px);
|
|
172
|
+
visibility: visible;
|
|
173
|
+
min-height: calc(100vh - 110px);
|
|
174
|
+
height: calc(100vh - 110px);
|
|
175
|
+
}
|
|
176
|
+
#Layout .panel.open-sidebar .sidebar-shadow{
|
|
177
|
+
opacity: 0;
|
|
178
|
+
width: 100%;
|
|
179
|
+
visibility: hidden;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
@media (min-width: 600px) and (max-width: 699.98px) {
|
|
184
|
+
#Layout .panel .sidebar{
|
|
185
|
+
width: 200px;
|
|
186
|
+
right: 0;
|
|
187
|
+
}
|
|
188
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
189
|
+
right: -200px;
|
|
190
|
+
}
|
|
191
|
+
#Layout .panel.open-sidebar .content{
|
|
192
|
+
width: 100%;
|
|
193
|
+
}
|
|
194
|
+
#Layout .panel .content{
|
|
195
|
+
width: 100%;
|
|
196
|
+
}
|
|
197
|
+
#Layout .panel .sidebar-shadow{
|
|
198
|
+
opacity: 0.7;
|
|
199
|
+
width: calc(100% - 200px);
|
|
200
|
+
visibility: visible;
|
|
201
|
+
}
|
|
202
|
+
#Layout .panel.open-sidebar .sidebar-shadow{
|
|
203
|
+
opacity: 0;
|
|
204
|
+
width: 100%;
|
|
205
|
+
visibility: hidden;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@media (min-width: 700px) and (max-width: 799.98px) {
|
|
210
|
+
#Layout .panel .sidebar{
|
|
211
|
+
width: 200px;
|
|
212
|
+
right: 0;
|
|
213
|
+
}
|
|
214
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
215
|
+
right: -200px;
|
|
216
|
+
}
|
|
217
|
+
#Layout .panel.open-sidebar .content{
|
|
218
|
+
width: 100%;
|
|
219
|
+
}
|
|
220
|
+
#Layout .panel .content{
|
|
221
|
+
width: 100%;
|
|
222
|
+
}
|
|
223
|
+
#Layout .panel .sidebar-shadow{
|
|
224
|
+
opacity: 0.7;
|
|
225
|
+
width: calc(100% - 200px);
|
|
226
|
+
visibility: visible;
|
|
227
|
+
}
|
|
228
|
+
#Layout .panel.open-sidebar .sidebar-shadow{
|
|
229
|
+
opacity: 0;
|
|
230
|
+
width: 100%;
|
|
231
|
+
visibility: hidden;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
@media (min-width: 800px) and (max-width: 899.98px) {
|
|
236
|
+
#Layout .panel .sidebar{
|
|
237
|
+
width: 200px;
|
|
238
|
+
right: -200px;
|
|
239
|
+
}
|
|
240
|
+
#Layout .panel .content{
|
|
241
|
+
width: 100%;
|
|
242
|
+
}
|
|
243
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
244
|
+
right: 0;
|
|
245
|
+
}
|
|
246
|
+
#Layout .panel.open-sidebar .content{
|
|
247
|
+
width: calc(100% - 200px);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
@media (min-width: 900px) and (max-width: 999.98px) {
|
|
252
|
+
#Layout .panel .sidebar{
|
|
253
|
+
width: 200px;
|
|
254
|
+
right: -200px;
|
|
255
|
+
}
|
|
256
|
+
#Layout .panel .content{
|
|
257
|
+
width: 100%;
|
|
258
|
+
}
|
|
259
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
260
|
+
right: 0;
|
|
261
|
+
}
|
|
262
|
+
#Layout .panel.open-sidebar .content{
|
|
263
|
+
width: calc(100% - 200px);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
@media (min-width: 1000px) and (max-width: 1099.98px) {
|
|
268
|
+
#Layout .panel .sidebar{
|
|
269
|
+
width: 200px;
|
|
270
|
+
right: -200px;
|
|
271
|
+
}
|
|
272
|
+
#Layout .panel .content{
|
|
273
|
+
width: 100%;
|
|
274
|
+
}
|
|
275
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
276
|
+
right: 0;
|
|
277
|
+
}
|
|
278
|
+
#Layout .panel.open-sidebar .content{
|
|
279
|
+
width: calc(100% - 200px);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
@media (min-width: 1100px) and (max-width: 1199.98px) {
|
|
284
|
+
#Layout .panel .sidebar{
|
|
285
|
+
width: 200px;
|
|
286
|
+
right: -200px;
|
|
287
|
+
}
|
|
288
|
+
#Layout .panel .content{
|
|
289
|
+
width: 100%;
|
|
290
|
+
}
|
|
291
|
+
#Layout .panel.open-sidebar .sidebar{
|
|
292
|
+
right: 0;
|
|
293
|
+
}
|
|
294
|
+
#Layout .panel.open-sidebar .content{
|
|
295
|
+
width: calc(100% - 200px);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
@media (min-width: 1200px) {
|
|
300
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<div id="Layout">
|
|
2
|
+
<div class="layout-con">
|
|
3
|
+
<div class="panel open-sidebar">
|
|
4
|
+
<div class="sidebar-shadow" (click)="toggleSidebar()"></div>
|
|
5
|
+
<div class="sidebar">
|
|
6
|
+
<div class="sidebar-scroll" style="overflow-y: auto">
|
|
7
|
+
<lib-sidebar [permissions]="permissions" (toggleSidebar)="toggleSidebar()" [area]="area"></lib-sidebar>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="content">
|
|
11
|
+
<lib-header (logout)="logout.emit()"></lib-header>
|
|
12
|
+
<div class="content-scroll-con" style="overflow-y: auto">
|
|
13
|
+
<div class="content-scroll">
|
|
14
|
+
<router-outlet></router-outlet>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {Component, EventEmitter, Input, Output} from '@angular/core';
|
|
2
|
+
import * as $ from 'jquery';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'lib-layout',
|
|
6
|
+
templateUrl: './layout.component.html',
|
|
7
|
+
styleUrls: ['./layout.component.css']
|
|
8
|
+
})
|
|
9
|
+
export class LayoutComponent {
|
|
10
|
+
@Input()
|
|
11
|
+
permissions: any[] = [];
|
|
12
|
+
@Input()
|
|
13
|
+
area: string;
|
|
14
|
+
@Output()
|
|
15
|
+
logout = new EventEmitter();
|
|
16
|
+
constructor() {
|
|
17
|
+
}
|
|
18
|
+
toggleSidebar(): void{
|
|
19
|
+
$('#Layout .panel').toggleClass('open-sidebar').toggleClass('close-sidebar');
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#Loading{
|
|
2
|
+
position: fixed;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100vh;
|
|
5
|
+
background-color: var(--black);
|
|
6
|
+
z-index: 102;
|
|
7
|
+
overflow-y: auto;
|
|
8
|
+
top: 0;
|
|
9
|
+
right: 0;
|
|
10
|
+
display: table;
|
|
11
|
+
}
|
|
12
|
+
#Loading .content{
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
display: table-cell;
|
|
16
|
+
vertical-align: middle;
|
|
17
|
+
}
|
|
18
|
+
#Loading .content .loading-cell{
|
|
19
|
+
width: 100%;
|
|
20
|
+
float: right;
|
|
21
|
+
}
|
|
22
|
+
#Loading .content .loading-cell .icon{
|
|
23
|
+
width: 100%;
|
|
24
|
+
float: right;
|
|
25
|
+
height: 70px;
|
|
26
|
+
line-height: 70px;
|
|
27
|
+
text-align: center;
|
|
28
|
+
font-size: 40px;
|
|
29
|
+
color: white;
|
|
30
|
+
}
|
|
31
|
+
#Loading .content .loading-cell .title{
|
|
32
|
+
width: 100%;
|
|
33
|
+
float: right;
|
|
34
|
+
height: 50px;
|
|
35
|
+
line-height: 50px;
|
|
36
|
+
text-align: center;
|
|
37
|
+
font-size: 20px;
|
|
38
|
+
color: white;
|
|
39
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {Component} from '@angular/core';
|
|
2
|
+
import {LangClass} from '../../classes/lang.class';
|
|
3
|
+
import {PsToolkitUiConfigService} from '../../services/config.service';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'lib-loading',
|
|
7
|
+
templateUrl: './loading.component.html',
|
|
8
|
+
styleUrls: ['./loading.component.css']
|
|
9
|
+
})
|
|
10
|
+
export class LoadingComponent {
|
|
11
|
+
l: (k, v?) => string;
|
|
12
|
+
constructor(config: PsToolkitUiConfigService){
|
|
13
|
+
const lang = new LangClass(config.currentLang, config.strings);
|
|
14
|
+
this.l = (key: string, v = null): string => {
|
|
15
|
+
return lang.get('Public', null, key, v);
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|