tin-spa 2.13.15 → 9.1.0
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/README.md +2 -2
- package/bundles/tin-spa.umd.js +6694 -0
- package/bundles/tin-spa.umd.js.map +1 -0
- package/bundles/tin-spa.umd.min.js +16 -0
- package/bundles/tin-spa.umd.min.js.map +1 -0
- package/esm2015/lib/classes/Classes.js +254 -0
- package/esm2015/lib/classes/TinCore.js +137 -0
- package/esm2015/lib/components/activity/activity.component.js +92 -0
- package/esm2015/lib/components/attach/attach.component.js +181 -0
- package/esm2015/lib/components/change-password/change-password.component.js +179 -0
- package/esm2015/lib/components/check/check.component.js +69 -0
- package/esm2015/lib/components/chips/chips.component.js +107 -0
- package/esm2015/lib/components/create-account/create-account.component.js +160 -0
- package/esm2015/lib/components/date/date.component.js +66 -0
- package/esm2015/lib/components/datetime/datetime.component.js +57 -0
- package/esm2015/lib/components/filter/filter.component.js +64 -0
- package/esm2015/lib/components/html/html.component.js +102 -0
- package/esm2015/lib/components/label/label.component.js +117 -0
- package/esm2015/lib/components/loader/loader.component.js +53 -0
- package/esm2015/lib/components/login/login.component.js +240 -0
- package/esm2015/lib/components/logs/logs.component.js +195 -0
- package/esm2015/lib/components/message/messageDialog.component.js +142 -0
- package/esm2015/lib/components/money/currency-input-mask.directive.js +187 -0
- package/esm2015/lib/components/money/currency-input-mask.module.js +30 -0
- package/esm2015/lib/components/money/money.component.js +152 -0
- package/esm2015/lib/components/nav-menu/nav-menu.component.js +204 -0
- package/esm2015/lib/components/option/option.component.js +129 -0
- package/esm2015/lib/components/profile/profile.component.js +198 -0
- package/esm2015/lib/components/recover-account/recover-account.component.js +74 -0
- package/esm2015/lib/components/roles/addRoleDialog.component.js +132 -0
- package/esm2015/lib/components/roles/roles.component.js +211 -0
- package/esm2015/lib/components/select/select.component.js +133 -0
- package/esm2015/lib/components/settings/settings.component.js +118 -0
- package/esm2015/lib/components/signup/signup.component.js +139 -0
- package/esm2015/lib/components/steps/steps.component.js +114 -0
- package/esm2015/lib/components/table/table.component.js +375 -0
- package/esm2015/lib/components/text/text.component.js +240 -0
- package/esm2015/lib/components/tiles/tiles.component.js +95 -0
- package/esm2015/lib/components/timeout/timeout.component.js +133 -0
- package/esm2015/lib/components/tin-spa.component.js +26 -0
- package/esm2015/lib/components/users/users.component.js +373 -0
- package/esm2015/lib/components/viewer/viewer.component.js +92 -0
- package/esm2015/lib/components/viewer/viewerDialog.component.js +131 -0
- package/esm2015/lib/dnd.directive.js +56 -0
- package/esm2015/lib/modules/spa-admin.module.js +81 -0
- package/esm2015/lib/modules/spa-index.module.js +58 -0
- package/esm2015/lib/modules/spa-mat.module.js +68 -0
- package/esm2015/lib/modules/spa-user.module.js +55 -0
- package/esm2015/lib/services/auth.service.js +142 -0
- package/esm2015/lib/services/data.service.js +111 -0
- package/esm2015/lib/services/export.service.js +29 -0
- package/esm2015/lib/services/http.service.js +79 -0
- package/esm2015/lib/services/loader-interceptor.service.js +77 -0
- package/esm2015/lib/services/loader.service.js +17 -0
- package/esm2015/lib/services/log.service.js +76 -0
- package/esm2015/lib/services/message.service.js +52 -0
- package/esm2015/lib/services/storage.service.js +43 -0
- package/esm2015/lib/services/tin-spa.service.js +14 -0
- package/esm2015/lib/tin-spa.module.js +156 -0
- package/esm2015/public-api.js +56 -0
- package/esm2015/tin-spa.js +5 -0
- package/esm5/lib/classes/Classes.js +313 -0
- package/esm5/lib/classes/TinCore.js +164 -0
- package/esm5/lib/components/activity/activity.component.js +94 -0
- package/esm5/lib/components/attach/attach.component.js +195 -0
- package/esm5/lib/components/change-password/change-password.component.js +182 -0
- package/esm5/lib/components/check/check.component.js +71 -0
- package/esm5/lib/components/chips/chips.component.js +110 -0
- package/esm5/lib/components/create-account/create-account.component.js +163 -0
- package/esm5/lib/components/date/date.component.js +68 -0
- package/esm5/lib/components/datetime/datetime.component.js +59 -0
- package/esm5/lib/components/filter/filter.component.js +66 -0
- package/esm5/lib/components/html/html.component.js +104 -0
- package/esm5/lib/components/label/label.component.js +119 -0
- package/esm5/lib/components/loader/loader.component.js +56 -0
- package/esm5/lib/components/login/login.component.js +244 -0
- package/esm5/lib/components/logs/logs.component.js +198 -0
- package/esm5/lib/components/message/messageDialog.component.js +144 -0
- package/esm5/lib/components/money/currency-input-mask.directive.js +193 -0
- package/esm5/lib/components/money/currency-input-mask.module.js +34 -0
- package/esm5/lib/components/money/money.component.js +154 -0
- package/esm5/lib/components/nav-menu/nav-menu.component.js +207 -0
- package/esm5/lib/components/option/option.component.js +131 -0
- package/esm5/lib/components/profile/profile.component.js +203 -0
- package/esm5/lib/components/recover-account/recover-account.component.js +77 -0
- package/esm5/lib/components/roles/addRoleDialog.component.js +135 -0
- package/esm5/lib/components/roles/roles.component.js +218 -0
- package/esm5/lib/components/select/select.component.js +136 -0
- package/esm5/lib/components/settings/settings.component.js +122 -0
- package/esm5/lib/components/signup/signup.component.js +142 -0
- package/esm5/lib/components/steps/steps.component.js +128 -0
- package/esm5/lib/components/table/table.component.js +378 -0
- package/esm5/lib/components/text/text.component.js +244 -0
- package/esm5/lib/components/tiles/tiles.component.js +97 -0
- package/esm5/lib/components/timeout/timeout.component.js +136 -0
- package/esm5/lib/components/tin-spa.component.js +25 -0
- package/esm5/lib/components/users/users.component.js +380 -0
- package/esm5/lib/components/viewer/viewer.component.js +94 -0
- package/esm5/lib/components/viewer/viewerDialog.component.js +133 -0
- package/esm5/lib/dnd.directive.js +58 -0
- package/esm5/lib/modules/spa-admin.module.js +85 -0
- package/esm5/lib/modules/spa-index.module.js +62 -0
- package/esm5/lib/modules/spa-mat.module.js +72 -0
- package/esm5/lib/modules/spa-user.module.js +59 -0
- package/esm5/lib/services/auth.service.js +145 -0
- package/esm5/lib/services/data.service.js +113 -0
- package/esm5/lib/services/export.service.js +31 -0
- package/esm5/lib/services/http.service.js +81 -0
- package/esm5/lib/services/loader-interceptor.service.js +80 -0
- package/esm5/lib/services/loader.service.js +19 -0
- package/esm5/lib/services/log.service.js +114 -0
- package/esm5/lib/services/message.service.js +54 -0
- package/esm5/lib/services/storage.service.js +76 -0
- package/esm5/lib/services/tin-spa.service.js +17 -0
- package/esm5/lib/tin-spa.module.js +160 -0
- package/esm5/public-api.js +56 -0
- package/esm5/tin-spa.js +5 -0
- package/fesm2015/tin-spa.js +6204 -0
- package/fesm2015/tin-spa.js.map +1 -0
- package/fesm5/tin-spa.js +6453 -0
- package/fesm5/tin-spa.js.map +1 -0
- package/lib/classes/Classes.d.ts +228 -375
- package/lib/classes/TinCore.d.ts +11 -43
- package/lib/components/activity/activity.component.d.ts +2 -2
- package/lib/components/attach/attach.component.d.ts +27 -15
- package/lib/{pages → components}/change-password/change-password.component.d.ts +4 -4
- package/lib/components/check/check.component.d.ts +3 -8
- package/lib/components/chips/chips.component.d.ts +2 -2
- package/lib/{pages → components}/create-account/create-account.component.d.ts +4 -8
- package/lib/components/date/date.component.d.ts +12 -24
- package/lib/components/datetime/datetime.component.d.ts +2 -6
- package/lib/components/filter/filter.component.d.ts +2 -7
- package/lib/components/html/html.component.d.ts +10 -11
- package/lib/components/label/label.component.d.ts +2 -4
- package/lib/components/loader/loader.component.d.ts +2 -2
- package/lib/components/login/login.component.d.ts +32 -0
- package/lib/components/logs/logs.component.d.ts +18 -0
- package/lib/components/message/messageDialog.component.d.ts +2 -2
- package/lib/components/money/currency-input-mask.directive.d.ts +2 -2
- package/lib/components/money/currency-input-mask.module.d.ts +2 -3
- package/lib/components/money/money.component.d.ts +3 -13
- package/lib/components/nav-menu/nav-menu.component.d.ts +4 -22
- package/lib/components/option/option.component.d.ts +3 -14
- package/lib/{pages → components}/profile/profile.component.d.ts +4 -6
- package/lib/{pages → components}/recover-account/recover-account.component.d.ts +3 -3
- package/lib/components/roles/addRoleDialog.component.d.ts +22 -0
- package/lib/components/roles/roles.component.d.ts +30 -0
- package/lib/components/select/select.component.d.ts +20 -20
- package/lib/{pages → components}/settings/settings.component.d.ts +3 -3
- package/lib/{pages → components}/signup/signup.component.d.ts +4 -4
- package/lib/components/steps/steps.component.d.ts +10 -19
- package/lib/components/table/table.component.d.ts +21 -84
- package/lib/components/text/text.component.d.ts +14 -36
- package/lib/components/tiles/tiles.component.d.ts +7 -21
- package/lib/components/timeout/timeout.component.d.ts +24 -0
- package/lib/components/tin-spa.component.d.ts +6 -3
- package/lib/{pages → components}/users/users.component.d.ts +18 -11
- package/lib/components/viewer/viewer.component.d.ts +5 -11
- package/lib/components/viewer/viewerDialog.component.d.ts +4 -6
- package/lib/dnd.directive.d.ts +11 -0
- package/lib/modules/spa-admin.module.d.ts +10 -10
- package/lib/modules/spa-index.module.d.ts +7 -8
- package/lib/modules/spa-mat.module.d.ts +2 -8
- package/lib/modules/spa-user.module.d.ts +6 -6
- package/lib/services/auth.service.d.ts +4 -16
- package/lib/services/data.service.d.ts +38 -0
- package/lib/services/export.service.d.ts +6 -2
- package/lib/services/http.service.d.ts +2 -2
- package/lib/services/loader-interceptor.service.d.ts +3 -4
- package/lib/services/loader.service.d.ts +2 -2
- package/lib/services/log.service.d.ts +3 -3
- package/lib/services/message.service.d.ts +3 -4
- package/lib/services/storage.service.d.ts +2 -2
- package/lib/services/tin-spa.service.d.ts +2 -2
- package/lib/tin-spa.module.d.ts +34 -83
- package/package.json +16 -24
- package/public-api.d.ts +16 -47
- package/esm2020/lib/classes/Classes.mjs +0 -112
- package/esm2020/lib/classes/LibClasses.mjs +0 -180
- package/esm2020/lib/classes/TinCore.mjs +0 -568
- package/esm2020/lib/components/activity/activity.component.mjs +0 -24
- package/esm2020/lib/components/alert/alert.component.mjs +0 -43
- package/esm2020/lib/components/attach/attach.component.mjs +0 -102
- package/esm2020/lib/components/capsules/capsules.component.mjs +0 -63
- package/esm2020/lib/components/cards/cards.component.mjs +0 -103
- package/esm2020/lib/components/check/check.component.mjs +0 -67
- package/esm2020/lib/components/chips/chips.component.mjs +0 -58
- package/esm2020/lib/components/date/date.component.mjs +0 -103
- package/esm2020/lib/components/datetime/datetime.component.mjs +0 -55
- package/esm2020/lib/components/email/email.component.mjs +0 -133
- package/esm2020/lib/components/filter/filter.component.mjs +0 -58
- package/esm2020/lib/components/form/form.component.mjs +0 -296
- package/esm2020/lib/components/html/html.component.mjs +0 -34
- package/esm2020/lib/components/label/label.component.mjs +0 -31
- package/esm2020/lib/components/list-dialog/list-dialog.component.mjs +0 -68
- package/esm2020/lib/components/loader/loader.component.mjs +0 -25
- package/esm2020/lib/components/message/messageDialog.component.mjs +0 -33
- package/esm2020/lib/components/money/currency-input-mask.directive.mjs +0 -185
- package/esm2020/lib/components/money/currency-input-mask.module.mjs +0 -28
- package/esm2020/lib/components/money/money.component.mjs +0 -137
- package/esm2020/lib/components/multi-select/multi-select.component.mjs +0 -165
- package/esm2020/lib/components/multi-text/multi-text.component.mjs +0 -208
- package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +0 -88
- package/esm2020/lib/components/notes/notes.component.mjs +0 -62
- package/esm2020/lib/components/number/number.component.mjs +0 -131
- package/esm2020/lib/components/option/option.component.mjs +0 -92
- package/esm2020/lib/components/page/page.component.mjs +0 -101
- package/esm2020/lib/components/search/search.component.mjs +0 -36
- package/esm2020/lib/components/select/select.component.mjs +0 -75
- package/esm2020/lib/components/select-bitwise/select-bitwise.component.mjs +0 -87
- package/esm2020/lib/components/select-common/select-common.component.mjs +0 -206
- package/esm2020/lib/components/select-internal/select-internal.component.mjs +0 -75
- package/esm2020/lib/components/select-lite/select-lite.component.mjs +0 -18
- package/esm2020/lib/components/statuses/statuses.component.mjs +0 -44
- package/esm2020/lib/components/steps/steps.component.mjs +0 -112
- package/esm2020/lib/components/suffix/suffix.component.mjs +0 -70
- package/esm2020/lib/components/table/detailsDialog.component.mjs +0 -406
- package/esm2020/lib/components/table/table.component.mjs +0 -440
- package/esm2020/lib/components/table-action/table-action.component.mjs +0 -80
- package/esm2020/lib/components/table-header/table-header.component.mjs +0 -148
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +0 -406
- package/esm2020/lib/components/table-internal/table-internal.component.mjs +0 -441
- package/esm2020/lib/components/table-lite/detailsDialog-lite.component.mjs +0 -404
- package/esm2020/lib/components/table-lite/table-lite.component.mjs +0 -441
- package/esm2020/lib/components/table-row/table-row.component.mjs +0 -93
- package/esm2020/lib/components/tabs/tabs.component.mjs +0 -74
- package/esm2020/lib/components/text/text.component.mjs +0 -255
- package/esm2020/lib/components/tiles/tiles.component.mjs +0 -99
- package/esm2020/lib/components/tin-spa.component.mjs +0 -19
- package/esm2020/lib/components/viewer/viewer.component.mjs +0 -83
- package/esm2020/lib/components/viewer/viewerDialog.component.mjs +0 -95
- package/esm2020/lib/modules/admin/admin-routing.module.mjs +0 -71
- package/esm2020/lib/modules/admin/admin.module.mjs +0 -26
- package/esm2020/lib/modules/index/index-routing.module.mjs +0 -27
- package/esm2020/lib/modules/index/index.module.mjs +0 -26
- package/esm2020/lib/modules/spa-admin.module.mjs +0 -71
- package/esm2020/lib/modules/spa-index.module.mjs +0 -54
- package/esm2020/lib/modules/spa-mat.module.mjs +0 -84
- package/esm2020/lib/modules/spa-user.module.mjs +0 -47
- package/esm2020/lib/modules/user/user-routing.module.mjs +0 -23
- package/esm2020/lib/modules/user/user.module.mjs +0 -26
- package/esm2020/lib/pages/accounts/accountDialog.component.mjs +0 -56
- package/esm2020/lib/pages/accounts/accounts.component.mjs +0 -70
- package/esm2020/lib/pages/app-models/app-models.component.mjs +0 -56
- package/esm2020/lib/pages/approvals/approvals.component.mjs +0 -19
- package/esm2020/lib/pages/approvals-config/approvals-config.component.mjs +0 -165
- package/esm2020/lib/pages/bug/bug.component.mjs +0 -14
- package/esm2020/lib/pages/change-password/change-password.component.mjs +0 -92
- package/esm2020/lib/pages/create-account/create-account.component.mjs +0 -110
- package/esm2020/lib/pages/customers/customers.component.mjs +0 -21
- package/esm2020/lib/pages/departments/departments.component.mjs +0 -22
- package/esm2020/lib/pages/employees/employees.component.mjs +0 -20
- package/esm2020/lib/pages/grades/grades.component.mjs +0 -14
- package/esm2020/lib/pages/inventory/inventory.component.mjs +0 -99
- package/esm2020/lib/pages/inventory/quantityDialog.component.mjs +0 -53
- package/esm2020/lib/pages/invitations-table/invitations-table.component.mjs +0 -71
- package/esm2020/lib/pages/login/login.component.mjs +0 -166
- package/esm2020/lib/pages/logs/logs.component.mjs +0 -42
- package/esm2020/lib/pages/membership/membership.component.mjs +0 -44
- package/esm2020/lib/pages/notifications/notifications.component.mjs +0 -90
- package/esm2020/lib/pages/notifications-config/notifications-config.component.mjs +0 -113
- package/esm2020/lib/pages/plans/plans.component.mjs +0 -44
- package/esm2020/lib/pages/positions/positions.component.mjs +0 -21
- package/esm2020/lib/pages/profile/profile.component.mjs +0 -94
- package/esm2020/lib/pages/recover-account/recover-account.component.mjs +0 -46
- package/esm2020/lib/pages/roles/addRoleDialog.component.mjs +0 -60
- package/esm2020/lib/pages/roles/roles.component.mjs +0 -151
- package/esm2020/lib/pages/settings/settings.component.mjs +0 -54
- package/esm2020/lib/pages/signup/signup.component.mjs +0 -50
- package/esm2020/lib/pages/suppliers/suppliers.component.mjs +0 -22
- package/esm2020/lib/pages/tasks/tasks.component.mjs +0 -86
- package/esm2020/lib/pages/tenant-settings/tenant-settings.component.mjs +0 -228
- package/esm2020/lib/pages/tenants/tenants.component.mjs +0 -47
- package/esm2020/lib/pages/transactions/transactDialog.component.mjs +0 -80
- package/esm2020/lib/pages/transactions/transactions.component.mjs +0 -101
- package/esm2020/lib/pages/users/users.component.mjs +0 -167
- package/esm2020/lib/pages/welcome/welcome.component.mjs +0 -86
- package/esm2020/lib/pipes/camelToWords.pipe.mjs +0 -17
- package/esm2020/lib/select-context.directive.mjs +0 -23
- package/esm2020/lib/services/auth.service.mjs +0 -175
- package/esm2020/lib/services/button.service.mjs +0 -162
- package/esm2020/lib/services/condition.service.mjs +0 -32
- package/esm2020/lib/services/csv.service.mjs +0 -49
- package/esm2020/lib/services/datalib.service.mjs +0 -860
- package/esm2020/lib/services/dialog.service.mjs +0 -125
- package/esm2020/lib/services/export.service.mjs +0 -16
- package/esm2020/lib/services/http.service.mjs +0 -79
- package/esm2020/lib/services/loader-interceptor.service.mjs +0 -86
- package/esm2020/lib/services/loader.service.mjs +0 -17
- package/esm2020/lib/services/log.service.mjs +0 -77
- package/esm2020/lib/services/message.service.mjs +0 -59
- package/esm2020/lib/services/notifications.service.mjs +0 -33
- package/esm2020/lib/services/storage.service.mjs +0 -34
- package/esm2020/lib/services/table-config.service.mjs +0 -78
- package/esm2020/lib/services/tin-spa.service.mjs +0 -14
- package/esm2020/lib/tin-spa.module.mjs +0 -225
- package/esm2020/public-api.mjs +0 -90
- package/esm2020/tin-spa.mjs +0 -5
- package/fesm2015/tin-spa.mjs +0 -11736
- package/fesm2015/tin-spa.mjs.map +0 -1
- package/fesm2020/tin-spa.mjs +0 -11738
- package/fesm2020/tin-spa.mjs.map +0 -1
- package/lib/classes/LibClasses.d.ts +0 -173
- package/lib/components/alert/alert.component.d.ts +0 -15
- package/lib/components/capsules/capsules.component.d.ts +0 -26
- package/lib/components/cards/cards.component.d.ts +0 -39
- package/lib/components/email/email.component.d.ts +0 -40
- package/lib/components/form/form.component.d.ts +0 -47
- package/lib/components/list-dialog/list-dialog.component.d.ts +0 -23
- package/lib/components/multi-select/multi-select.component.d.ts +0 -47
- package/lib/components/multi-text/multi-text.component.d.ts +0 -56
- package/lib/components/notes/notes.component.d.ts +0 -19
- package/lib/components/number/number.component.d.ts +0 -41
- package/lib/components/page/page.component.d.ts +0 -38
- package/lib/components/search/search.component.d.ts +0 -15
- package/lib/components/select-bitwise/select-bitwise.component.d.ts +0 -31
- package/lib/components/select-common/select-common.component.d.ts +0 -53
- package/lib/components/select-internal/select-internal.component.d.ts +0 -23
- package/lib/components/select-lite/select-lite.component.d.ts +0 -8
- package/lib/components/statuses/statuses.component.d.ts +0 -12
- package/lib/components/suffix/suffix.component.d.ts +0 -23
- package/lib/components/table/detailsDialog.component.d.ts +0 -86
- package/lib/components/table-action/table-action.component.d.ts +0 -25
- package/lib/components/table-header/table-header.component.d.ts +0 -46
- package/lib/components/table-internal/detailsDialog-internal.component.d.ts +0 -86
- package/lib/components/table-internal/table-internal.component.d.ts +0 -91
- package/lib/components/table-lite/detailsDialog-lite.component.d.ts +0 -86
- package/lib/components/table-lite/table-lite.component.d.ts +0 -91
- package/lib/components/table-row/table-row.component.d.ts +0 -31
- package/lib/components/tabs/tabs.component.d.ts +0 -32
- package/lib/modules/admin/admin-routing.module.d.ts +0 -7
- package/lib/modules/admin/admin.module.d.ts +0 -9
- package/lib/modules/index/index-routing.module.d.ts +0 -7
- package/lib/modules/index/index.module.d.ts +0 -9
- package/lib/modules/user/user-routing.module.d.ts +0 -7
- package/lib/modules/user/user.module.d.ts +0 -9
- package/lib/pages/accounts/accountDialog.component.d.ts +0 -27
- package/lib/pages/accounts/accounts.component.d.ts +0 -25
- package/lib/pages/app-models/app-models.component.d.ts +0 -15
- package/lib/pages/approvals/approvals.component.d.ts +0 -10
- package/lib/pages/approvals-config/approvals-config.component.d.ts +0 -24
- package/lib/pages/bug/bug.component.d.ts +0 -8
- package/lib/pages/customers/customers.component.d.ts +0 -12
- package/lib/pages/departments/departments.component.d.ts +0 -14
- package/lib/pages/employees/employees.component.d.ts +0 -12
- package/lib/pages/grades/grades.component.d.ts +0 -8
- package/lib/pages/inventory/inventory.component.d.ts +0 -25
- package/lib/pages/inventory/quantityDialog.component.d.ts +0 -23
- package/lib/pages/invitations-table/invitations-table.component.d.ts +0 -19
- package/lib/pages/login/login.component.d.ts +0 -46
- package/lib/pages/logs/logs.component.d.ts +0 -14
- package/lib/pages/membership/membership.component.d.ts +0 -13
- package/lib/pages/notifications/notifications.component.d.ts +0 -16
- package/lib/pages/notifications-config/notifications-config.component.d.ts +0 -17
- package/lib/pages/plans/plans.component.d.ts +0 -13
- package/lib/pages/positions/positions.component.d.ts +0 -12
- package/lib/pages/roles/addRoleDialog.component.d.ts +0 -24
- package/lib/pages/roles/roles.component.d.ts +0 -42
- package/lib/pages/suppliers/suppliers.component.d.ts +0 -14
- package/lib/pages/tasks/tasks.component.d.ts +0 -27
- package/lib/pages/tenant-settings/tenant-settings.component.d.ts +0 -47
- package/lib/pages/tenants/tenants.component.d.ts +0 -17
- package/lib/pages/transactions/transactDialog.component.d.ts +0 -26
- package/lib/pages/transactions/transactions.component.d.ts +0 -31
- package/lib/pages/welcome/welcome.component.d.ts +0 -25
- package/lib/pipes/camelToWords.pipe.d.ts +0 -7
- package/lib/select-context.directive.d.ts +0 -10
- package/lib/services/button.service.d.ts +0 -30
- package/lib/services/condition.service.d.ts +0 -10
- package/lib/services/csv.service.d.ts +0 -10
- package/lib/services/datalib.service.d.ts +0 -125
- package/lib/services/dialog.service.d.ts +0 -20
- package/lib/services/notifications.service.d.ts +0 -12
- package/lib/services/table-config.service.d.ts +0 -17
- /package/{index.d.ts → tin-spa.d.ts} +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../services/loader.service";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
function LoaderComponent_img_2_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
+
i0.ɵɵelement(0, "img", 5);
|
|
7
|
+
} }
|
|
8
|
+
function LoaderComponent_img_3_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
i0.ɵɵelement(0, "img", 6);
|
|
10
|
+
} if (rf & 2) {
|
|
11
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
12
|
+
i0.ɵɵproperty("src", ctx_r1.logo, i0.ɵɵsanitizeUrl);
|
|
13
|
+
} }
|
|
14
|
+
var LoaderComponent = /** @class */ (function () {
|
|
15
|
+
function LoaderComponent(loaderService) {
|
|
16
|
+
var _this = this;
|
|
17
|
+
this.loaderService = loaderService;
|
|
18
|
+
this.logo = "";
|
|
19
|
+
this.loaderService.isLoading.subscribe(function (v) {
|
|
20
|
+
_this.loading = v;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
LoaderComponent.prototype.ngOnInit = function () {
|
|
24
|
+
};
|
|
25
|
+
LoaderComponent.ɵfac = function LoaderComponent_Factory(t) { return new (t || LoaderComponent)(i0.ɵɵdirectiveInject(i1.LoaderService)); };
|
|
26
|
+
LoaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LoaderComponent, selectors: [["spa-loader"]], inputs: { logo: "logo" }, decls: 6, vars: 3, consts: [[1, "progress-loader", 2, "z-index", "9999", 3, "hidden"], [1, "loading-spinner"], ["style", "width: 100px;", "src", "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==", 4, "ngIf"], ["style", "width: 100px;", 3, "src", 4, "ngIf"], ["id", "loadingMessage", 1, "loading-message"], ["src", "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==", 2, "width", "100px"], [2, "width", "100px", 3, "src"]], template: function LoaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
28
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
29
|
+
i0.ɵɵtemplate(2, LoaderComponent_img_2_Template, 1, 0, "img", 2);
|
|
30
|
+
i0.ɵɵtemplate(3, LoaderComponent_img_3_Template, 1, 1, "img", 3);
|
|
31
|
+
i0.ɵɵelementStart(4, "span", 4);
|
|
32
|
+
i0.ɵɵtext(5, "Please wait...");
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
} if (rf & 2) {
|
|
37
|
+
i0.ɵɵproperty("hidden", !ctx.loading);
|
|
38
|
+
i0.ɵɵadvance(2);
|
|
39
|
+
i0.ɵɵproperty("ngIf", ctx.logo == "");
|
|
40
|
+
i0.ɵɵadvance(1);
|
|
41
|
+
i0.ɵɵproperty("ngIf", ctx.logo != "");
|
|
42
|
+
} }, directives: [i2.NgIf], styles: [".loading-spinner[_ngcontent-%COMP%]{background-color:#0000001f;position:absolute;width:100%;top:0;left:0;height:100vh;align-items:center;justify-content:center;display:-ms-grid;display:grid}.loading-spinner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-ms-grid-row-align:end;align-self:end}.loading-message[_ngcontent-%COMP%]{text-align:center;-ms-grid-row-align:start;align-self:start}"] });
|
|
43
|
+
return LoaderComponent;
|
|
44
|
+
}());
|
|
45
|
+
export { LoaderComponent };
|
|
46
|
+
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(LoaderComponent, [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{
|
|
49
|
+
selector: 'spa-loader',
|
|
50
|
+
templateUrl: './loader.component.html',
|
|
51
|
+
styleUrls: ['./loader.component.css']
|
|
52
|
+
}]
|
|
53
|
+
}], function () { return [{ type: i1.LoaderService }]; }, { logo: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}] }); })();
|
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Rpbi1zcGEvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9sb2FkZXIvbG9hZGVyLmNvbXBvbmVudC50cyIsImxpYi9jb21wb25lbnRzL2xvYWRlci9sb2FkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7O0lDR25ELHlCQUtBOzs7SUFBQSx5QkFHQTs7O0lBSHNCLG1EQUFZOztBREx4QztJQU9FLHlCQUFvQixhQUE0QjtRQUFoRCxpQkFNQztRQU5tQixrQkFBYSxHQUFiLGFBQWEsQ0FBZTtRQVV2QyxTQUFJLEdBQUcsRUFBRSxDQUFDO1FBUmpCLElBQUksQ0FBQyxhQUFhLENBQUMsU0FBUyxDQUFDLFNBQVMsQ0FBQyxVQUFDLENBQUM7WUFDdkMsS0FBSSxDQUFDLE9BQU8sR0FBRyxDQUFDLENBQUM7UUFDbkIsQ0FBQyxDQUFDLENBQUM7SUFFTCx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1Tkd3eE1TNDNJREk1TGpKSU1UZ3pUREV5TlNBMU1pNHhlbTB4TnlBNE15NHphQzB6Tkd3eE55MDBNQzQ1SURFM0lEUXdMamw2SWlBdlBnb2dJRHd2YzNablBnPT1cIlxyXG5cclxuICAgICAgPlxyXG5cclxuICAgICAgPGltZyAqbmdJZj1cImxvZ28hPScnXCIgW3NyY109XCJsb2dvXCIgc3R5bGU9XCJ3aWR0aDogMTAwcHg7XCIgLz5cclxuXHJcblxyXG4gICAgICA8c3BhbiBpZD1cImxvYWRpbmdNZXNzYWdlXCIgY2xhc3M9XCJsb2FkaW5nLW1lc3NhZ2VcIj5QbGVhc2Ugd2FpdC4uLjwvc3Bhbj5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { Component } from "@angular/core";
|
|
2
|
+
import { User, AppConfig } from "../../classes/Classes";
|
|
3
|
+
import { Constants } from "../../classes/TinCore";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../services/http.service";
|
|
6
|
+
import * as i2 from "../../services/storage.service";
|
|
7
|
+
import * as i3 from "@angular/router";
|
|
8
|
+
import * as i4 from "../../services/message.service";
|
|
9
|
+
import * as i5 from "../../services/data.service";
|
|
10
|
+
import * as i6 from "../../services/auth.service";
|
|
11
|
+
import * as i7 from "./../../services/log.service";
|
|
12
|
+
import * as i8 from "@angular/common";
|
|
13
|
+
import * as i9 from "@angular/material/card";
|
|
14
|
+
import * as i10 from "../text/text.component";
|
|
15
|
+
import * as i11 from "@angular/material/form-field";
|
|
16
|
+
import * as i12 from "@angular/material/input";
|
|
17
|
+
import * as i13 from "@angular/forms";
|
|
18
|
+
import * as i14 from "@angular/material/button";
|
|
19
|
+
import * as i15 from "@angular/material/icon";
|
|
20
|
+
function LoginComponent_div_1_img_1_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
i0.ɵɵelement(0, "img", 21);
|
|
22
|
+
} if (rf & 2) {
|
|
23
|
+
var ctx_r4 = i0.ɵɵnextContext(2);
|
|
24
|
+
i0.ɵɵproperty("src", ctx_r4.appConfig.logo, i0.ɵɵsanitizeUrl);
|
|
25
|
+
} }
|
|
26
|
+
function LoginComponent_div_1_img_2_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵelement(0, "img", 22);
|
|
28
|
+
} if (rf & 2) {
|
|
29
|
+
var ctx_r5 = i0.ɵɵnextContext(2);
|
|
30
|
+
i0.ɵɵproperty("src", ctx_r5.appConfig.logo, i0.ɵɵsanitizeUrl);
|
|
31
|
+
} }
|
|
32
|
+
function LoginComponent_div_1_img_3_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
i0.ɵɵelement(0, "img", 23);
|
|
34
|
+
} if (rf & 2) {
|
|
35
|
+
var ctx_r6 = i0.ɵɵnextContext(2);
|
|
36
|
+
i0.ɵɵproperty("src", ctx_r6.appConfig.logo, i0.ɵɵsanitizeUrl);
|
|
37
|
+
} }
|
|
38
|
+
function LoginComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵelementStart(0, "div", 17);
|
|
40
|
+
i0.ɵɵtemplate(1, LoginComponent_div_1_img_1_Template, 1, 1, "img", 18);
|
|
41
|
+
i0.ɵɵtemplate(2, LoginComponent_div_1_img_2_Template, 1, 1, "img", 19);
|
|
42
|
+
i0.ɵɵtemplate(3, LoginComponent_div_1_img_3_Template, 1, 1, "img", 20);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
46
|
+
i0.ɵɵadvance(1);
|
|
47
|
+
i0.ɵɵproperty("ngIf", ctx_r0.appConfig.logoSize == "normal");
|
|
48
|
+
i0.ɵɵadvance(1);
|
|
49
|
+
i0.ɵɵproperty("ngIf", ctx_r0.appConfig.logoSize == "medium");
|
|
50
|
+
i0.ɵɵadvance(1);
|
|
51
|
+
i0.ɵɵproperty("ngIf", ctx_r0.appConfig.logoSize == "large");
|
|
52
|
+
} }
|
|
53
|
+
function LoginComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
+
i0.ɵɵelement(0, "div", 24);
|
|
55
|
+
} }
|
|
56
|
+
function LoginComponent_div_25_Template(rf, ctx) { if (rf & 1) {
|
|
57
|
+
var _r8 = i0.ɵɵgetCurrentView();
|
|
58
|
+
i0.ɵɵelementStart(0, "div", 13);
|
|
59
|
+
i0.ɵɵelementStart(1, "button", 25);
|
|
60
|
+
i0.ɵɵlistener("click", function LoginComponent_div_25_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r8); var ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.signup(); });
|
|
61
|
+
i0.ɵɵtext(2, "Signup");
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
} }
|
|
65
|
+
function LoginComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
66
|
+
var _r10 = i0.ɵɵgetCurrentView();
|
|
67
|
+
i0.ɵɵelementStart(0, "div");
|
|
68
|
+
i0.ɵɵelement(1, "br");
|
|
69
|
+
i0.ɵɵelementStart(2, "a", 26);
|
|
70
|
+
i0.ɵɵlistener("click", function LoginComponent_div_26_Template_a_click_2_listener() { i0.ɵɵrestoreView(_r10); var ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.recoverAccount(); });
|
|
71
|
+
i0.ɵɵtext(3, "Forgot your password ?");
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
} }
|
|
75
|
+
var LoginComponent = /** @class */ (function () {
|
|
76
|
+
function LoginComponent(httpService, storageService, router, messageService, dataService, authService, logService, route) {
|
|
77
|
+
this.httpService = httpService;
|
|
78
|
+
this.storageService = storageService;
|
|
79
|
+
this.router = router;
|
|
80
|
+
this.messageService = messageService;
|
|
81
|
+
this.dataService = dataService;
|
|
82
|
+
this.authService = authService;
|
|
83
|
+
this.logService = logService;
|
|
84
|
+
this.route = route;
|
|
85
|
+
this.user = new User();
|
|
86
|
+
this.hide = true;
|
|
87
|
+
this.isProcessing = false;
|
|
88
|
+
this.appConfig = new AppConfig();
|
|
89
|
+
}
|
|
90
|
+
LoginComponent.prototype.ngOnInit = function () {
|
|
91
|
+
var _this = this;
|
|
92
|
+
this.authService.Updateloggedin(false);
|
|
93
|
+
this.authService.UpdateRole(null);
|
|
94
|
+
this.storageService.clear();
|
|
95
|
+
this.dataService.appConfigObserv.subscribe(function (x) { return _this.appConfig = x; });
|
|
96
|
+
if (this.route.snapshot.queryParams.redirectTo != undefined) {
|
|
97
|
+
this.redirectPath = this.route.snapshot.queryParams.redirectTo;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
this.redirectPath = "home";
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
LoginComponent.prototype.signup = function () {
|
|
104
|
+
this.router.navigate(["signup"]);
|
|
105
|
+
};
|
|
106
|
+
LoginComponent.prototype.recoverAccount = function () {
|
|
107
|
+
this.router.navigate(["recover-account"]);
|
|
108
|
+
};
|
|
109
|
+
LoginComponent.prototype.login = function () {
|
|
110
|
+
var _this = this;
|
|
111
|
+
if (this.user.userName == "" || this.user.password == "") {
|
|
112
|
+
this.messageService.toast("Please enter your credentials");
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
this.logService.info("logging in");
|
|
116
|
+
this.isProcessing = true;
|
|
117
|
+
this.user.userName = this.user.userName;
|
|
118
|
+
this.dataService.Login(this.user).subscribe(function (apiResponse) {
|
|
119
|
+
_this.isProcessing = false;
|
|
120
|
+
if (apiResponse.success) {
|
|
121
|
+
if (apiResponse.data.authType == 'local' && !_this.appConfig.localAuth) {
|
|
122
|
+
_this.messageService.toast("Contact Admin: Authentication Type error");
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
if (apiResponse.data.authType == 'AD' && !_this.appConfig.ADAuth) {
|
|
126
|
+
_this.messageService.toast("Contact Admin: Authentication Type error");
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
_this.authService.Updateloggedin(true);
|
|
130
|
+
_this.authService.UpdateToken(apiResponse.data.token);
|
|
131
|
+
_this.storageService.store(Constants.AUTH_TOKEN, apiResponse.data.token);
|
|
132
|
+
_this.authService.UpdateTokenExpire(apiResponse.data.expiration);
|
|
133
|
+
_this.storageService.store(Constants.AUTH_TOKEN_EXPIRE, apiResponse.data.expiration);
|
|
134
|
+
_this.authService.UpdateCurrentUser(_this.user.userName);
|
|
135
|
+
_this.storageService.store(Constants.AUTH_USER, _this.user.userName);
|
|
136
|
+
_this.authService.updateLoggedUserFullName(apiResponse.data.firstName);
|
|
137
|
+
_this.storageService.store(Constants.AUTH_NAME, apiResponse.data.firstName);
|
|
138
|
+
_this.authService.UpdateRole(apiResponse.data.role);
|
|
139
|
+
_this.storageService.store(Constants.AUTH_ROLES, JSON.stringify(apiResponse.data.role));
|
|
140
|
+
_this.logService.info("logged in");
|
|
141
|
+
if (apiResponse.data.changePassword == true && apiResponse.data.authType == 'local') {
|
|
142
|
+
_this.router.navigate(["home/user/change-password"], {
|
|
143
|
+
queryParams: { redirectTo: _this.redirectPath },
|
|
144
|
+
queryParamsHandling: 'merge',
|
|
145
|
+
skipLocationChange: false
|
|
146
|
+
});
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
_this.router.navigate([_this.redirectPath]);
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
_this.messageService.toast("Error: " + apiResponse.message);
|
|
153
|
+
_this.user.password = "";
|
|
154
|
+
}
|
|
155
|
+
}, function (error) {
|
|
156
|
+
_this.isProcessing = false;
|
|
157
|
+
_this.messageService.toast(_this.httpService.Error(error));
|
|
158
|
+
});
|
|
159
|
+
};
|
|
160
|
+
LoginComponent.ɵfac = function LoginComponent_Factory(t) { return new (t || LoginComponent)(i0.ɵɵdirectiveInject(i1.HttpService), i0.ɵɵdirectiveInject(i2.StorageService), i0.ɵɵdirectiveInject(i3.Router), i0.ɵɵdirectiveInject(i4.MessageService), i0.ɵɵdirectiveInject(i5.DataServiceLib), i0.ɵɵdirectiveInject(i6.AuthService), i0.ɵɵdirectiveInject(i7.LogService), i0.ɵɵdirectiveInject(i3.ActivatedRoute)); };
|
|
161
|
+
LoginComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LoginComponent, selectors: [["spa-login"]], decls: 27, vars: 12, consts: [[1, "tin-bg-login", "login-page"], ["class", "d-flex justify-content-center row align-items-center", "style", "margin-top:3em;margin-bottom:1em", 4, "ngIf"], ["style", "margin-top:2em", 4, "ngIf"], [1, "d-flex", "justify-content-center", "row", "align-items-center", 2, "margin-top", "3em"], [1, "d-none", "d-sm-block"], [2, "margin-left", "1em"], [1, "mat-elevation-z3", 2, "width", "400px"], [1, "tin-input", "mt-2"], ["id", "txtuserName", "display", "Username", 3, "value", "valueChange"], ["id", "txtPassword", "matInput", "", "autocomplete", "off", 3, "type", "ngModel", "keyup.enter", "ngModelChange"], ["mat-icon-button", "", "matSuffix", "", 3, "click"], [2, "font-size", "18px"], [1, "row"], [1, "col", "d-flex", "justify-content-center"], ["id", "btnLogin", "mat-raised-button", "", "color", "primary", 2, "width", "100px", 3, "disabled", "click"], ["class", "col d-flex justify-content-center", 4, "ngIf"], [4, "ngIf"], [1, "d-flex", "justify-content-center", "row", "align-items-center", 2, "margin-top", "3em", "margin-bottom", "1em"], ["style", "height:100px;margin-right:3em;margin-left:3em", 3, "src", 4, "ngIf"], ["style", "height:150px;margin-right:3em;margin-left:3em", 3, "src", 4, "ngIf"], ["style", "height:250px;margin-right:3em;margin-left:3em", 3, "src", 4, "ngIf"], [2, "height", "100px", "margin-right", "3em", "margin-left", "3em", 3, "src"], [2, "height", "150px", "margin-right", "3em", "margin-left", "3em", 3, "src"], [2, "height", "250px", "margin-right", "3em", "margin-left", "3em", 3, "src"], [2, "margin-top", "2em"], ["id", "btnSignup", "mat-stroked-button", "", "color", "primary", 2, "width", "100px", 3, "click"], ["mat-button", "", "id", "lnkRecover", 2, "margin-left", "1em", 3, "click"]], template: function LoginComponent_Template(rf, ctx) { if (rf & 1) {
|
|
162
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
163
|
+
i0.ɵɵtemplate(1, LoginComponent_div_1_Template, 4, 3, "div", 1);
|
|
164
|
+
i0.ɵɵtemplate(2, LoginComponent_div_2_Template, 1, 0, "div", 2);
|
|
165
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
166
|
+
i0.ɵɵelement(4, "div", 4);
|
|
167
|
+
i0.ɵɵelementStart(5, "div", 5);
|
|
168
|
+
i0.ɵɵelementStart(6, "mat-card", 6);
|
|
169
|
+
i0.ɵɵelementStart(7, "mat-card-header");
|
|
170
|
+
i0.ɵɵelementStart(8, "mat-card-title");
|
|
171
|
+
i0.ɵɵtext(9);
|
|
172
|
+
i0.ɵɵelementEnd();
|
|
173
|
+
i0.ɵɵelementEnd();
|
|
174
|
+
i0.ɵɵelementStart(10, "mat-card-content");
|
|
175
|
+
i0.ɵɵelementStart(11, "div", 7);
|
|
176
|
+
i0.ɵɵelementStart(12, "spa-text", 8);
|
|
177
|
+
i0.ɵɵlistener("valueChange", function LoginComponent_Template_spa_text_valueChange_12_listener($event) { return ctx.user.userName = $event; });
|
|
178
|
+
i0.ɵɵelementEnd();
|
|
179
|
+
i0.ɵɵelementStart(13, "mat-form-field");
|
|
180
|
+
i0.ɵɵelementStart(14, "mat-label");
|
|
181
|
+
i0.ɵɵtext(15, "Password");
|
|
182
|
+
i0.ɵɵelementEnd();
|
|
183
|
+
i0.ɵɵelementStart(16, "input", 9);
|
|
184
|
+
i0.ɵɵlistener("keyup.enter", function LoginComponent_Template_input_keyup_enter_16_listener() { return ctx.login(); })("ngModelChange", function LoginComponent_Template_input_ngModelChange_16_listener($event) { return ctx.user.password = $event; });
|
|
185
|
+
i0.ɵɵelementEnd();
|
|
186
|
+
i0.ɵɵelementStart(17, "button", 10);
|
|
187
|
+
i0.ɵɵlistener("click", function LoginComponent_Template_button_click_17_listener() { return ctx.hide = !ctx.hide; });
|
|
188
|
+
i0.ɵɵelementStart(18, "mat-icon", 11);
|
|
189
|
+
i0.ɵɵtext(19);
|
|
190
|
+
i0.ɵɵelementEnd();
|
|
191
|
+
i0.ɵɵelementEnd();
|
|
192
|
+
i0.ɵɵelementEnd();
|
|
193
|
+
i0.ɵɵelementEnd();
|
|
194
|
+
i0.ɵɵelementEnd();
|
|
195
|
+
i0.ɵɵelementStart(20, "mat-card-actions");
|
|
196
|
+
i0.ɵɵelementStart(21, "div", 12);
|
|
197
|
+
i0.ɵɵelementStart(22, "div", 13);
|
|
198
|
+
i0.ɵɵelementStart(23, "button", 14);
|
|
199
|
+
i0.ɵɵlistener("click", function LoginComponent_Template_button_click_23_listener() { return ctx.login(); });
|
|
200
|
+
i0.ɵɵtext(24, "Login");
|
|
201
|
+
i0.ɵɵelementEnd();
|
|
202
|
+
i0.ɵɵelementEnd();
|
|
203
|
+
i0.ɵɵtemplate(25, LoginComponent_div_25_Template, 3, 0, "div", 15);
|
|
204
|
+
i0.ɵɵelementEnd();
|
|
205
|
+
i0.ɵɵelementEnd();
|
|
206
|
+
i0.ɵɵelementEnd();
|
|
207
|
+
i0.ɵɵtemplate(26, LoginComponent_div_26_Template, 4, 0, "div", 16);
|
|
208
|
+
i0.ɵɵelementEnd();
|
|
209
|
+
i0.ɵɵelementEnd();
|
|
210
|
+
i0.ɵɵelementEnd();
|
|
211
|
+
} if (rf & 2) {
|
|
212
|
+
i0.ɵɵadvance(1);
|
|
213
|
+
i0.ɵɵproperty("ngIf", ctx.appConfig.logo != "");
|
|
214
|
+
i0.ɵɵadvance(1);
|
|
215
|
+
i0.ɵɵproperty("ngIf", ctx.appConfig.logo == "");
|
|
216
|
+
i0.ɵɵadvance(7);
|
|
217
|
+
i0.ɵɵtextInterpolate(ctx.appConfig.appName);
|
|
218
|
+
i0.ɵɵadvance(3);
|
|
219
|
+
i0.ɵɵproperty("value", ctx.user.userName);
|
|
220
|
+
i0.ɵɵadvance(4);
|
|
221
|
+
i0.ɵɵproperty("type", ctx.hide ? "password" : "text")("ngModel", ctx.user.password);
|
|
222
|
+
i0.ɵɵadvance(1);
|
|
223
|
+
i0.ɵɵattribute("aria-label", "Hide password")("aria-pressed", ctx.hide);
|
|
224
|
+
i0.ɵɵadvance(2);
|
|
225
|
+
i0.ɵɵtextInterpolate(ctx.hide ? "visibility_off" : "visibility");
|
|
226
|
+
i0.ɵɵadvance(4);
|
|
227
|
+
i0.ɵɵproperty("disabled", ctx.isProcessing);
|
|
228
|
+
i0.ɵɵadvance(2);
|
|
229
|
+
i0.ɵɵproperty("ngIf", ctx.appConfig.selfService);
|
|
230
|
+
i0.ɵɵadvance(1);
|
|
231
|
+
i0.ɵɵproperty("ngIf", ctx.appConfig.selfService);
|
|
232
|
+
} }, directives: [i8.NgIf, i9.MatCard, i9.MatCardHeader, i9.MatCardTitle, i9.MatCardContent, i10.TextComponent, i11.MatFormField, i11.MatLabel, i12.MatInput, i13.DefaultValueAccessor, i13.NgControlStatus, i13.NgModel, i14.MatButton, i11.MatSuffix, i15.MatIcon, i9.MatCardActions, i14.MatAnchor], styles: [".login-page[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto}.tin-bg-login[_ngcontent-%COMP%]{background-image:url(~/assets/login-bg.jpg);background-size:100%}"] });
|
|
233
|
+
return LoginComponent;
|
|
234
|
+
}());
|
|
235
|
+
export { LoginComponent };
|
|
236
|
+
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(LoginComponent, [{
|
|
237
|
+
type: Component,
|
|
238
|
+
args: [{
|
|
239
|
+
selector: "spa-login",
|
|
240
|
+
templateUrl: "./login.component.html",
|
|
241
|
+
styleUrls: ["./login.component.scss"],
|
|
242
|
+
}]
|
|
243
|
+
}], function () { return [{ type: i1.HttpService }, { type: i2.StorageService }, { type: i3.Router }, { type: i4.MessageService }, { type: i5.DataServiceLib }, { type: i6.AuthService }, { type: i7.LogService }, { type: i3.ActivatedRoute }]; }, null); })();
|
|
244
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vdGluLXNwYS8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2xvZ2luL2xvZ2luLmNvbXBvbmVudC50cyIsImxpYi9jb21wb25lbnRzL2xvZ2luL2xvZ2luLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE9BQU8sRUFBRSxTQUFTLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBSXpELE9BQU8sRUFBRSxJQUFJLEVBQUUsU0FBUyxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFFeEQsT0FBTyxFQUFlLFNBQVMsRUFBRSxNQUFNLHVCQUF1QixDQUFDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7SUNKekQsMEJBQ0E7OztJQUQyQyw2REFBc0I7OztJQUNqRSwwQkFDQTs7O0lBRDJDLDZEQUFzQjs7O0lBQ2pFLDBCQUVGOzs7SUFGNEMsNkRBQXNCOzs7SUFKbEUsK0JBRUU7SUFBQSxzRUFDQTtJQUFBLHNFQUNBO0lBQUEsc0VBRUY7SUFBQSxpQkFBTTs7O0lBSkMsZUFBb0M7SUFBcEMsNERBQW9DO0lBQ3BDLGVBQW9DO0lBQXBDLDREQUFvQztJQUNwQyxlQUFtQztJQUFuQywyREFBbUM7OztJQUsxQywwQkFFTTs7OztJQTJDSSwrQkFDRTtJQUFBLGtDQUFvRztJQUFuQiw2S0FBa0I7SUFBQyxzQkFBTTtJQUFBLGlCQUFTO0lBQ3JILGlCQUFNOzs7O0lBUVosMkJBQ0U7SUFBQSxxQkFDQTtJQUFBLDZCQUFtRjtJQUEzQixpTEFBMEI7SUFBQyxzQ0FBc0I7SUFBQSxpQkFBSTtJQUMvR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QWNjb3VudCgpXCI+Rm9yZ290IHlvdXIgcGFzc3dvcmQgPzwvYT5cclxuICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgIDwvZGl2PlxyXG5cclxuICAgIDwvZGl2PlxyXG5cclxuICA8L2Rpdj5cclxuXHJcbiJdfQ==
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { Component, ViewChild } from '@angular/core';
|
|
2
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../services/auth.service";
|
|
5
|
+
import * as i2 from "../../services/data.service";
|
|
6
|
+
import * as i3 from "../filter/filter.component";
|
|
7
|
+
import * as i4 from "@angular/common";
|
|
8
|
+
import * as i5 from "@angular/material/paginator";
|
|
9
|
+
import * as i6 from "@angular/material/table";
|
|
10
|
+
var _c0 = ["logsPaginator"];
|
|
11
|
+
function LogsComponent_p_8_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
i0.ɵɵelementStart(0, "p");
|
|
13
|
+
i0.ɵɵelementStart(1, "em");
|
|
14
|
+
i0.ɵɵtext(2, "Loading...");
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
i0.ɵɵelementEnd();
|
|
17
|
+
} }
|
|
18
|
+
function LogsComponent_div_9_th_3_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
i0.ɵɵelementStart(0, "th", 21);
|
|
20
|
+
i0.ɵɵtext(1, " User ");
|
|
21
|
+
i0.ɵɵelementEnd();
|
|
22
|
+
} }
|
|
23
|
+
function LogsComponent_div_9_td_4_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
25
|
+
i0.ɵɵtext(1);
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
var log_r15 = ctx.$implicit;
|
|
29
|
+
i0.ɵɵadvance(1);
|
|
30
|
+
i0.ɵɵtextInterpolate1(" ", log_r15.userName, " ");
|
|
31
|
+
} }
|
|
32
|
+
function LogsComponent_div_9_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
34
|
+
i0.ɵɵtext(1, " Date Logged ");
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
} }
|
|
37
|
+
function LogsComponent_div_9_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
39
|
+
i0.ɵɵtext(1);
|
|
40
|
+
i0.ɵɵpipe(2, "date");
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
} if (rf & 2) {
|
|
43
|
+
var log_r16 = ctx.$implicit;
|
|
44
|
+
i0.ɵɵadvance(1);
|
|
45
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, log_r16.dateLogged, "dd MMM yy HH:mm:ss"), " ");
|
|
46
|
+
} }
|
|
47
|
+
function LogsComponent_div_9_th_9_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵelementStart(0, "th", 21);
|
|
49
|
+
i0.ɵɵtext(1, " Source ");
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
} }
|
|
52
|
+
function LogsComponent_div_9_td_10_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
54
|
+
i0.ɵɵtext(1);
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
} if (rf & 2) {
|
|
57
|
+
var log_r17 = ctx.$implicit;
|
|
58
|
+
i0.ɵɵadvance(1);
|
|
59
|
+
i0.ɵɵtextInterpolate1(" ", log_r17.source, " ");
|
|
60
|
+
} }
|
|
61
|
+
function LogsComponent_div_9_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
+
i0.ɵɵelementStart(0, "th", 21);
|
|
63
|
+
i0.ɵɵtext(1, " Details ");
|
|
64
|
+
i0.ɵɵelementEnd();
|
|
65
|
+
} }
|
|
66
|
+
function LogsComponent_div_9_td_13_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
68
|
+
i0.ɵɵtext(1);
|
|
69
|
+
i0.ɵɵelementEnd();
|
|
70
|
+
} if (rf & 2) {
|
|
71
|
+
var log_r18 = ctx.$implicit;
|
|
72
|
+
i0.ɵɵadvance(1);
|
|
73
|
+
i0.ɵɵtextInterpolate1(" ", log_r18.details, " ");
|
|
74
|
+
} }
|
|
75
|
+
function LogsComponent_div_9_th_15_Template(rf, ctx) { if (rf & 1) {
|
|
76
|
+
i0.ɵɵelementStart(0, "th", 21);
|
|
77
|
+
i0.ɵɵtext(1, " Name ");
|
|
78
|
+
i0.ɵɵelementEnd();
|
|
79
|
+
} }
|
|
80
|
+
function LogsComponent_div_9_td_16_Template(rf, ctx) { if (rf & 1) {
|
|
81
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
82
|
+
i0.ɵɵtext(1);
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
} if (rf & 2) {
|
|
85
|
+
var log_r19 = ctx.$implicit;
|
|
86
|
+
i0.ɵɵadvance(1);
|
|
87
|
+
i0.ɵɵtextInterpolate2("", log_r19.user.firstName, " ", log_r19.user.lastName, "");
|
|
88
|
+
} }
|
|
89
|
+
function LogsComponent_div_9_tr_17_Template(rf, ctx) { if (rf & 1) {
|
|
90
|
+
i0.ɵɵelement(0, "tr", 24);
|
|
91
|
+
} }
|
|
92
|
+
function LogsComponent_div_9_tr_18_Template(rf, ctx) { if (rf & 1) {
|
|
93
|
+
i0.ɵɵelement(0, "tr", 25);
|
|
94
|
+
} }
|
|
95
|
+
function LogsComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
96
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
97
|
+
i0.ɵɵelementStart(1, "table", 10);
|
|
98
|
+
i0.ɵɵelementContainerStart(2, 11);
|
|
99
|
+
i0.ɵɵtemplate(3, LogsComponent_div_9_th_3_Template, 2, 0, "th", 12);
|
|
100
|
+
i0.ɵɵtemplate(4, LogsComponent_div_9_td_4_Template, 2, 1, "td", 13);
|
|
101
|
+
i0.ɵɵelementContainerEnd();
|
|
102
|
+
i0.ɵɵelementContainerStart(5, 14);
|
|
103
|
+
i0.ɵɵtemplate(6, LogsComponent_div_9_th_6_Template, 2, 0, "th", 15);
|
|
104
|
+
i0.ɵɵtemplate(7, LogsComponent_div_9_td_7_Template, 3, 4, "td", 13);
|
|
105
|
+
i0.ɵɵelementContainerEnd();
|
|
106
|
+
i0.ɵɵelementContainerStart(8, 16);
|
|
107
|
+
i0.ɵɵtemplate(9, LogsComponent_div_9_th_9_Template, 2, 0, "th", 12);
|
|
108
|
+
i0.ɵɵtemplate(10, LogsComponent_div_9_td_10_Template, 2, 1, "td", 13);
|
|
109
|
+
i0.ɵɵelementContainerEnd();
|
|
110
|
+
i0.ɵɵelementContainerStart(11, 17);
|
|
111
|
+
i0.ɵɵtemplate(12, LogsComponent_div_9_th_12_Template, 2, 0, "th", 12);
|
|
112
|
+
i0.ɵɵtemplate(13, LogsComponent_div_9_td_13_Template, 2, 1, "td", 13);
|
|
113
|
+
i0.ɵɵelementContainerEnd();
|
|
114
|
+
i0.ɵɵelementContainerStart(14, 18);
|
|
115
|
+
i0.ɵɵtemplate(15, LogsComponent_div_9_th_15_Template, 2, 0, "th", 12);
|
|
116
|
+
i0.ɵɵtemplate(16, LogsComponent_div_9_td_16_Template, 2, 2, "td", 13);
|
|
117
|
+
i0.ɵɵelementContainerEnd();
|
|
118
|
+
i0.ɵɵtemplate(17, LogsComponent_div_9_tr_17_Template, 1, 0, "tr", 19);
|
|
119
|
+
i0.ɵɵtemplate(18, LogsComponent_div_9_tr_18_Template, 1, 0, "tr", 20);
|
|
120
|
+
i0.ɵɵelementEnd();
|
|
121
|
+
i0.ɵɵelementEnd();
|
|
122
|
+
} if (rf & 2) {
|
|
123
|
+
var ctx_r1 = i0.ɵɵnextContext();
|
|
124
|
+
i0.ɵɵadvance(1);
|
|
125
|
+
i0.ɵɵproperty("dataSource", ctx_r1.logs);
|
|
126
|
+
i0.ɵɵadvance(16);
|
|
127
|
+
i0.ɵɵproperty("matHeaderRowDef", ctx_r1.displayedColumns);
|
|
128
|
+
i0.ɵɵadvance(1);
|
|
129
|
+
i0.ɵɵproperty("matRowDefColumns", ctx_r1.displayedColumns);
|
|
130
|
+
} }
|
|
131
|
+
var _c1 = function () { return [50, 100, 200]; };
|
|
132
|
+
var LogsComponent = /** @class */ (function () {
|
|
133
|
+
function LogsComponent(authService, dataService) {
|
|
134
|
+
this.authService = authService;
|
|
135
|
+
this.dataService = dataService;
|
|
136
|
+
this.isProcessing = false;
|
|
137
|
+
this.displayedColumns = ["dateLogged", "userName", "fullName", "source", "details"];
|
|
138
|
+
}
|
|
139
|
+
LogsComponent.prototype.ngOnInit = function () {
|
|
140
|
+
this.authService.isAuthorised(this.dataService.capLogs.name);
|
|
141
|
+
this.loadLogs();
|
|
142
|
+
};
|
|
143
|
+
LogsComponent.prototype.loadLogs = function () {
|
|
144
|
+
var _this = this;
|
|
145
|
+
this.dataService.GetLog("all", "").subscribe(function (apiResponse) {
|
|
146
|
+
_this.logs = new MatTableDataSource(apiResponse);
|
|
147
|
+
_this.logs.paginator = _this.logsPaginator;
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
LogsComponent.ɵfac = function LogsComponent_Factory(t) { return new (t || LogsComponent)(i0.ɵɵdirectiveInject(i1.AuthService), i0.ɵɵdirectiveInject(i2.DataServiceLib)); };
|
|
151
|
+
LogsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LogsComponent, selectors: [["spa-logs"]], viewQuery: function LogsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
152
|
+
i0.ɵɵviewQuery(_c0, true);
|
|
153
|
+
} if (rf & 2) {
|
|
154
|
+
var _t;
|
|
155
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.logsPaginator = _t.first);
|
|
156
|
+
} }, decls: 12, vars: 5, consts: [[1, "container-fluid"], [1, "row", "justify-content-between", 2, "padding-bottom", "10px"], [1, "col-2"], [1, "d-flex", "justify-content-end"], [3, "data", "refreshClick"], [4, "ngIf"], ["class", "mat-elevation-z8", 4, "ngIf"], ["showFirstLastButtons", "", 3, "pageSizeOptions"], ["logsPaginator", ""], [1, "mat-elevation-z8"], ["id", "tblTable", "mat-table", "", 3, "dataSource"], ["matColumnDef", "userName"], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["mat-cell", "", 4, "matCellDef"], ["matColumnDef", "dateLogged"], ["mat-header-cell", "", "class", "datetime", 4, "matHeaderCellDef"], ["matColumnDef", "source"], ["matColumnDef", "details"], ["matColumnDef", "fullName"], ["mat-header-row", "", 4, "matHeaderRowDef"], ["mat-row", "", 4, "matRowDef", "matRowDefColumns"], ["mat-header-cell", ""], ["mat-cell", ""], ["mat-header-cell", "", 1, "datetime"], ["mat-header-row", ""], ["mat-row", ""]], template: function LogsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
157
|
+
i0.ɵɵelementStart(0, "h4");
|
|
158
|
+
i0.ɵɵtext(1, "Logs");
|
|
159
|
+
i0.ɵɵelementEnd();
|
|
160
|
+
i0.ɵɵelement(2, "hr");
|
|
161
|
+
i0.ɵɵelementStart(3, "div", 0);
|
|
162
|
+
i0.ɵɵelementStart(4, "div", 1);
|
|
163
|
+
i0.ɵɵelement(5, "div", 2);
|
|
164
|
+
i0.ɵɵelementStart(6, "div", 3);
|
|
165
|
+
i0.ɵɵelementStart(7, "spa-filter", 4);
|
|
166
|
+
i0.ɵɵlistener("refreshClick", function LogsComponent_Template_spa_filter_refreshClick_7_listener() { return ctx.loadLogs(); });
|
|
167
|
+
i0.ɵɵelementEnd();
|
|
168
|
+
i0.ɵɵelementEnd();
|
|
169
|
+
i0.ɵɵelementEnd();
|
|
170
|
+
i0.ɵɵtemplate(8, LogsComponent_p_8_Template, 3, 0, "p", 5);
|
|
171
|
+
i0.ɵɵtemplate(9, LogsComponent_div_9_Template, 19, 3, "div", 6);
|
|
172
|
+
i0.ɵɵelement(10, "mat-paginator", 7, 8);
|
|
173
|
+
i0.ɵɵelementEnd();
|
|
174
|
+
} if (rf & 2) {
|
|
175
|
+
i0.ɵɵadvance(7);
|
|
176
|
+
i0.ɵɵproperty("data", ctx.logs);
|
|
177
|
+
i0.ɵɵadvance(1);
|
|
178
|
+
i0.ɵɵproperty("ngIf", !ctx.logs);
|
|
179
|
+
i0.ɵɵadvance(1);
|
|
180
|
+
i0.ɵɵproperty("ngIf", ctx.logs);
|
|
181
|
+
i0.ɵɵadvance(1);
|
|
182
|
+
i0.ɵɵproperty("pageSizeOptions", i0.ɵɵpureFunction0(4, _c1));
|
|
183
|
+
} }, directives: [i3.FilterComponent, i4.NgIf, i5.MatPaginator, i6.MatTable, i6.MatColumnDef, i6.MatHeaderCellDef, i6.MatCellDef, i6.MatHeaderRowDef, i6.MatRowDef, i6.MatHeaderCell, i6.MatCell, i6.MatHeaderRow, i6.MatRow], pipes: [i4.DatePipe], styles: [".mat-mini-fab[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mini-fab[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px;margin-top:-3px}.refreshIcon[_ngcontent-%COMP%]{font-size:22px!important;margin-top:-7px!important}"] });
|
|
184
|
+
return LogsComponent;
|
|
185
|
+
}());
|
|
186
|
+
export { LogsComponent };
|
|
187
|
+
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(LogsComponent, [{
|
|
188
|
+
type: Component,
|
|
189
|
+
args: [{
|
|
190
|
+
selector: 'spa-logs',
|
|
191
|
+
templateUrl: './logs.component.html',
|
|
192
|
+
styleUrls: ['./logs.component.css']
|
|
193
|
+
}]
|
|
194
|
+
}], function () { return [{ type: i1.AuthService }, { type: i2.DataServiceLib }]; }, { logsPaginator: [{
|
|
195
|
+
type: ViewChild,
|
|
196
|
+
args: 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