ngx-vector-components 4.138.0 → 5.0.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/CHANGELOG.md +12 -0
- package/assets/styles/_primeng-custom-theme.scss +21 -16
- package/{esm2020 → esm2022}/lib/components/badge/badge.component.mjs +39 -39
- package/esm2022/lib/components/badge/badge.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/badge/index.mjs +2 -2
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +67 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.module.mjs +18 -0
- package/{esm2020 → esm2022}/lib/components/breadcrumb/index.mjs +2 -2
- package/esm2022/lib/components/crud-base/crud-base.component.mjs +47 -0
- package/{esm2020 → esm2022}/lib/components/crud-base/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/crud-footer/crud-footer.component.mjs +40 -40
- package/esm2022/lib/components/crud-footer/crud-footer.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/crud-footer/index.mjs +2 -2
- package/esm2022/lib/components/crud-header/crud-header.component.mjs +30 -0
- package/esm2022/lib/components/crud-header/crud-header.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/crud-header/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/crud-history/crud-history.component.mjs +82 -82
- package/esm2022/lib/components/crud-history/crud-history.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/crud-history/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/fields/button/button.component.mjs +41 -41
- package/{esm2020 → esm2022}/lib/components/fields/button/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/calendar-field/calendar-field.component.mjs +74 -74
- package/{esm2020 → esm2022}/lib/components/fields/calendar-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/checkbox-field/checkbox-field.component.mjs +46 -46
- package/{esm2020 → esm2022}/lib/components/fields/checkbox-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/currency-field/currency-field.component.mjs +98 -98
- package/{esm2020 → esm2022}/lib/components/fields/currency-field/index.mjs +1 -1
- package/esm2022/lib/components/fields/data-table/data-table.component.mjs +391 -0
- package/{esm2020 → esm2022}/lib/components/fields/data-table/index.mjs +1 -1
- package/esm2022/lib/components/fields/dropdown-field/dropdown-field.component.mjs +206 -0
- package/{esm2020 → esm2022}/lib/components/fields/dropdown-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/field-error-message/field-error-message.component.mjs +30 -30
- package/{esm2020 → esm2022}/lib/components/fields/field-error-message/index.mjs +1 -1
- package/esm2022/lib/components/fields/fields.module.mjs +220 -0
- package/esm2022/lib/components/fields/filters/filters.component.mjs +209 -0
- package/{esm2020 → esm2022}/lib/components/fields/filters/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/index.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/fields/input-number-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/input-number-field/input-number-field.component.mjs +86 -86
- package/{esm2020 → esm2022}/lib/components/fields/input-switch-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/input-switch-field/input-switch-field.component.mjs +21 -21
- package/{esm2020 → esm2022}/lib/components/fields/multiselect-field/index.mjs +1 -1
- package/esm2022/lib/components/fields/multiselect-field/multiselect-field.component.mjs +154 -0
- package/{esm2020 → esm2022}/lib/components/fields/percentage-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/percentage-field/percentage-field.component.mjs +54 -54
- package/{esm2020 → esm2022}/lib/components/fields/radio-button-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/radio-button-field/radio-button-field.component.mjs +48 -48
- package/{esm2020 → esm2022}/lib/components/fields/range-value/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/range-value/range-value.component.mjs +72 -72
- package/{esm2020 → esm2022}/lib/components/fields/search-field/index.mjs +1 -1
- package/esm2022/lib/components/fields/search-field/search-field.component.mjs +33 -0
- package/{esm2020 → esm2022}/lib/components/fields/select-button-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/select-button-field/select-button-field.component.mjs +20 -20
- package/{esm2020 → esm2022}/lib/components/fields/text-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/text-field/text-field.component.mjs +238 -238
- package/{esm2020 → esm2022}/lib/components/fields/textarea-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/textarea-field/textarea-field.component.mjs +81 -81
- package/esm2022/lib/components/generic-error-modal/generic-error-modal.component.mjs +36 -0
- package/esm2022/lib/components/generic-error-modal/generic-error-modal.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/generic-error-modal/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/generic-modal/generic-modal.component.mjs +66 -66
- package/esm2022/lib/components/generic-modal/generic-modal.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/generic-modal/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/index.mjs +14 -14
- package/{esm2020 → esm2022}/lib/components/menu/index.mjs +3 -3
- package/esm2022/lib/components/menu/menu.component.mjs +306 -0
- package/esm2022/lib/components/menu/menu.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/menu/sub-menus-list/sub-menus-list.component.mjs +42 -42
- package/{esm2020 → esm2022}/lib/components/panel/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/panel/panel.component.mjs +15 -15
- package/esm2022/lib/components/panel/panel.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/score/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/score/score.component.mjs +17 -17
- package/{esm2020 → esm2022}/lib/components/score/score.module.mjs +16 -16
- package/{esm2020 → esm2022}/lib/components/stepper/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/stepper/stepper.component.mjs +47 -47
- package/esm2022/lib/components/stepper/stepper.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/top-bar/index.mjs +2 -2
- package/esm2022/lib/components/top-bar/top-bar.component.mjs +149 -0
- package/esm2022/lib/components/top-bar/top-bar.module.mjs +21 -0
- package/esm2022/lib/guards/crud-list-has-items.guard.mjs +11 -0
- package/esm2022/lib/guards/get-token-by-guid.guard.mjs +41 -0
- package/esm2022/lib/guards/has-permission.guard.mjs +15 -0
- package/{esm2020 → esm2022}/lib/guards/index.mjs +5 -5
- package/esm2022/lib/guards/role.guard.mjs +14 -0
- package/esm2022/lib/guards/token-is-present.guard.mjs +14 -0
- package/esm2022/lib/injections/index.mjs +5 -0
- package/esm2022/lib/interceptors/http-interceptor.mjs +186 -0
- package/{esm2020 → esm2022}/lib/interceptors/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/app-name.enum.mjs +9 -9
- package/{esm2020 → esm2022}/lib/models/boolean-type.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/crud-history.model.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/crud-mode.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/models/currency.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/models/data-table.model.mjs +22 -22
- package/{esm2020 → esm2022}/lib/models/document-type.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/filters.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/generic-modal.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/http-response.model.mjs +1 -1
- package/esm2022/lib/models/index.mjs +19 -0
- package/{esm2020 → esm2022}/lib/models/ip-info.enum.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/list-item.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/locale.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/models/menu-item.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/message-status.enum.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/profile.model.mjs +367 -366
- package/{esm2020 → esm2022}/lib/models/role.enum.mjs +4 -4
- package/{esm2020 → esm2022}/lib/models/status.enum.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/topbar.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/vector-app.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/vector-notification.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/view.enum.mjs +8 -8
- package/{esm2020 → esm2022}/lib/pipes/currency-brl.pipe.mjs +18 -18
- package/{esm2020 → esm2022}/lib/pipes/format-document.pipe.mjs +17 -17
- package/{esm2020 → esm2022}/lib/pipes/index.mjs +8 -8
- package/{esm2020 → esm2022}/lib/pipes/mask.pipe.mjs +21 -21
- package/{esm2020 → esm2022}/lib/pipes/not-hidden.pipe.mjs +16 -16
- package/{esm2020 → esm2022}/lib/pipes/only-active.pipe.mjs +16 -16
- package/{esm2020 → esm2022}/lib/pipes/pipes.module.mjs +50 -50
- package/{esm2020 → esm2022}/lib/pipes/remove-last-child.pipe.mjs +18 -18
- package/{esm2020 → esm2022}/lib/pipes/unread-notifications.pipe.mjs +15 -15
- package/esm2022/lib/resolvers/get-selected-crud-item.resolver.mjs +17 -0
- package/{esm2020 → esm2022}/lib/resolvers/index.mjs +1 -1
- package/esm2022/lib/services/auth.service.mjs +78 -0
- package/{esm2020 → esm2022}/lib/services/base-dropdown.mjs +1 -1
- package/{esm2020 → esm2022}/lib/services/crud-base.service.mjs +13 -13
- package/{esm2020 → esm2022}/lib/services/enum.service.mjs +43 -43
- package/esm2022/lib/services/error-message.service.mjs +16 -0
- package/{esm2020 → esm2022}/lib/services/geolocation.service.mjs +23 -23
- package/{esm2020 → esm2022}/lib/services/index.mjs +12 -12
- package/{esm2020 → esm2022}/lib/services/loading.service.mjs +15 -15
- package/esm2022/lib/services/menu.service.mjs +154 -0
- package/{esm2020 → esm2022}/lib/services/modal.service.mjs +15 -15
- package/{esm2020 → esm2022}/lib/services/notifications.service.mjs +64 -64
- package/{esm2020 → esm2022}/lib/services/profile.service.mjs +112 -112
- package/esm2022/lib/services/storage.service.mjs +104 -0
- package/esm2022/lib/shared/shared.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/utils/cpf-cnpj-validator.util.mjs +115 -115
- package/{esm2020 → esm2022}/lib/utils/file.util.mjs +14 -14
- package/{esm2020 → esm2022}/lib/utils/index.mjs +7 -7
- package/esm2022/lib/utils/mask.util.mjs +76 -0
- package/{esm2020 → esm2022}/lib/utils/object.util.mjs +26 -26
- package/{esm2020 → esm2022}/lib/utils/string.util.mjs +51 -51
- package/{esm2020 → esm2022}/lib/utils/validation.util.mjs +233 -233
- package/{esm2020 → esm2022}/lib/utils/window.util.mjs +8 -8
- package/{esm2020 → esm2022}/ngx-vector-components.mjs +4 -4
- package/esm2022/public-api.mjs +10 -0
- package/{fesm2020 → fesm2022}/ngx-vector-components.mjs +4898 -4957
- package/fesm2022/ngx-vector-components.mjs.map +1 -0
- package/{ngx-vector-components.d.ts → index.d.ts} +5 -5
- package/lib/components/badge/badge.component.d.ts +15 -15
- package/lib/components/badge/badge.module.d.ts +9 -9
- package/lib/components/badge/index.d.ts +2 -2
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +19 -19
- package/lib/components/breadcrumb/breadcrumb.module.d.ts +8 -8
- package/lib/components/breadcrumb/index.d.ts +2 -2
- package/lib/components/crud-base/crud-base.component.d.ts +20 -20
- package/lib/components/crud-base/index.d.ts +1 -1
- package/lib/components/crud-footer/crud-footer.component.d.ts +19 -19
- package/lib/components/crud-footer/crud-footer.module.d.ts +10 -10
- package/lib/components/crud-footer/index.d.ts +2 -2
- package/lib/components/crud-header/crud-header.component.d.ts +11 -11
- package/lib/components/crud-header/crud-header.module.d.ts +9 -9
- package/lib/components/crud-header/index.d.ts +2 -2
- package/lib/components/crud-history/crud-history.component.d.ts +12 -12
- package/lib/components/crud-history/crud-history.module.d.ts +10 -10
- package/lib/components/crud-history/index.d.ts +2 -2
- package/lib/components/fields/button/button.component.d.ts +17 -17
- package/lib/components/fields/button/index.d.ts +1 -1
- package/lib/components/fields/calendar-field/calendar-field.component.d.ts +23 -23
- package/lib/components/fields/calendar-field/index.d.ts +1 -1
- package/lib/components/fields/checkbox-field/checkbox-field.component.d.ts +19 -19
- package/lib/components/fields/checkbox-field/index.d.ts +1 -1
- package/lib/components/fields/currency-field/currency-field.component.d.ts +32 -32
- package/lib/components/fields/currency-field/index.d.ts +1 -1
- package/lib/components/fields/data-table/data-table.component.d.ts +88 -88
- package/lib/components/fields/data-table/index.d.ts +1 -1
- package/lib/components/fields/dropdown-field/dropdown-field.component.d.ts +52 -52
- package/lib/components/fields/dropdown-field/index.d.ts +1 -1
- package/lib/components/fields/field-error-message/field-error-message.component.d.ts +10 -10
- package/lib/components/fields/field-error-message/index.d.ts +1 -1
- package/lib/components/fields/fields.module.d.ts +50 -50
- package/lib/components/fields/filters/filters.component.d.ts +65 -65
- package/lib/components/fields/filters/index.d.ts +1 -1
- package/lib/components/fields/index.d.ts +19 -19
- package/lib/components/fields/input-number-field/index.d.ts +1 -1
- package/lib/components/fields/input-number-field/input-number-field.component.d.ts +28 -28
- package/lib/components/fields/input-switch-field/index.d.ts +1 -1
- package/lib/components/fields/input-switch-field/input-switch-field.component.d.ts +9 -9
- package/lib/components/fields/multiselect-field/index.d.ts +1 -1
- package/lib/components/fields/multiselect-field/multiselect-field.component.d.ts +40 -40
- package/lib/components/fields/percentage-field/index.d.ts +1 -1
- package/lib/components/fields/percentage-field/percentage-field.component.d.ts +20 -20
- package/lib/components/fields/radio-button-field/index.d.ts +1 -1
- package/lib/components/fields/radio-button-field/radio-button-field.component.d.ts +25 -25
- package/lib/components/fields/range-value/index.d.ts +1 -1
- package/lib/components/fields/range-value/range-value.component.d.ts +18 -18
- package/lib/components/fields/search-field/index.d.ts +1 -1
- package/lib/components/fields/search-field/search-field.component.d.ts +14 -14
- package/lib/components/fields/select-button-field/index.d.ts +1 -1
- package/lib/components/fields/select-button-field/select-button-field.component.d.ts +9 -9
- package/lib/components/fields/text-field/index.d.ts +1 -1
- package/lib/components/fields/text-field/text-field.component.d.ts +56 -56
- package/lib/components/fields/textarea-field/index.d.ts +1 -1
- package/lib/components/fields/textarea-field/textarea-field.component.d.ts +22 -22
- package/lib/components/generic-error-modal/generic-error-modal.component.d.ts +15 -15
- package/lib/components/generic-error-modal/generic-error-modal.module.d.ts +10 -10
- package/lib/components/generic-error-modal/index.d.ts +2 -2
- package/lib/components/generic-modal/generic-modal.component.d.ts +24 -24
- package/lib/components/generic-modal/generic-modal.module.d.ts +10 -10
- package/lib/components/generic-modal/index.d.ts +2 -2
- package/lib/components/index.d.ts +14 -14
- package/lib/components/menu/index.d.ts +3 -3
- package/lib/components/menu/menu.component.d.ts +53 -53
- package/lib/components/menu/menu.module.d.ts +10 -10
- package/lib/components/menu/sub-menus-list/sub-menus-list.component.d.ts +14 -14
- package/lib/components/panel/index.d.ts +2 -2
- package/lib/components/panel/panel.component.d.ts +8 -8
- package/lib/components/panel/panel.module.d.ts +9 -9
- package/lib/components/score/index.d.ts +2 -2
- package/lib/components/score/score.component.d.ts +9 -9
- package/lib/components/score/score.module.d.ts +7 -7
- package/lib/components/stepper/index.d.ts +2 -2
- package/lib/components/stepper/stepper.component.d.ts +15 -15
- package/lib/components/stepper/stepper.module.d.ts +9 -9
- package/lib/components/top-bar/index.d.ts +2 -2
- package/lib/components/top-bar/top-bar.component.d.ts +47 -49
- package/lib/components/top-bar/top-bar.module.d.ts +11 -10
- package/lib/guards/crud-list-has-items.guard.d.ts +2 -10
- package/lib/guards/get-token-by-guid.guard.d.ts +2 -15
- package/lib/guards/has-permission.guard.d.ts +2 -13
- package/lib/guards/index.d.ts +5 -5
- package/lib/guards/role.guard.d.ts +2 -11
- package/lib/guards/token-is-present.guard.d.ts +2 -11
- package/lib/injections/index.d.ts +17 -0
- package/lib/interceptors/http-interceptor.d.ts +31 -31
- package/lib/interceptors/index.d.ts +1 -1
- package/lib/models/app-name.enum.d.ts +8 -8
- package/lib/models/boolean-type.enum.d.ts +4 -4
- package/lib/models/crud-history.model.d.ts +13 -13
- package/lib/models/crud-mode.enum.d.ts +5 -5
- package/lib/models/currency.enum.d.ts +5 -5
- package/lib/models/data-table.model.d.ts +65 -65
- package/lib/models/document-type.enum.d.ts +4 -4
- package/lib/models/filters.model.d.ts +4 -4
- package/lib/models/generic-modal.model.d.ts +12 -12
- package/lib/models/http-response.model.d.ts +57 -57
- package/lib/models/index.d.ts +18 -17
- package/lib/models/ip-info.enum.d.ts +6 -6
- package/lib/models/list-item.model.d.ts +7 -7
- package/lib/models/locale.enum.d.ts +5 -5
- package/lib/models/menu-item.model.d.ts +16 -16
- package/lib/models/message-status.enum.d.ts +6 -6
- package/lib/models/profile.model.d.ts +387 -386
- package/lib/models/role.enum.d.ts +3 -3
- package/lib/models/status.enum.d.ts +6 -6
- package/lib/models/topbar.model.d.ts +5 -5
- package/lib/models/vector-app.model.d.ts +9 -9
- package/lib/models/vector-notification.model.d.ts +8 -8
- package/lib/models/view.enum.d.ts +7 -7
- package/lib/pipes/currency-brl.pipe.d.ts +7 -7
- package/lib/pipes/format-document.pipe.d.ts +7 -7
- package/lib/pipes/index.d.ts +8 -8
- package/lib/pipes/mask.pipe.d.ts +7 -7
- package/lib/pipes/not-hidden.pipe.d.ts +7 -7
- package/lib/pipes/only-active.pipe.d.ts +7 -7
- package/lib/pipes/pipes.module.d.ts +13 -13
- package/lib/pipes/remove-last-child.pipe.d.ts +7 -7
- package/lib/pipes/unread-notifications.pipe.d.ts +9 -9
- package/lib/resolvers/get-selected-crud-item.resolver.d.ts +2 -10
- package/lib/resolvers/index.d.ts +1 -1
- package/lib/services/auth.service.d.ts +25 -24
- package/lib/services/base-dropdown.d.ts +7 -7
- package/lib/services/crud-base.service.d.ts +7 -7
- package/lib/services/enum.service.d.ts +13 -13
- package/lib/services/error-message.service.d.ts +8 -8
- package/lib/services/geolocation.service.d.ts +13 -13
- package/lib/services/index.d.ts +12 -12
- package/lib/services/loading.service.d.ts +7 -7
- package/lib/services/menu.service.d.ts +38 -35
- package/lib/services/modal.service.d.ts +7 -7
- package/lib/services/notifications.service.d.ts +13 -13
- package/lib/services/profile.service.d.ts +27 -27
- package/lib/services/storage.service.d.ts +40 -43
- package/lib/shared/shared.module.d.ts +10 -10
- package/lib/utils/cpf-cnpj-validator.util.d.ts +5 -5
- package/lib/utils/file.util.d.ts +4 -4
- package/lib/utils/index.d.ts +7 -7
- package/lib/utils/mask.util.d.ts +21 -21
- package/lib/utils/object.util.d.ts +5 -5
- package/lib/utils/string.util.d.ts +8 -8
- package/lib/utils/validation.util.d.ts +17 -17
- package/lib/utils/window.util.d.ts +4 -4
- package/package.json +21 -26
- package/public-api.d.ts +9 -8
- package/esm2020/lib/components/badge/badge.module.mjs +0 -19
- package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +0 -66
- package/esm2020/lib/components/breadcrumb/breadcrumb.module.mjs +0 -18
- package/esm2020/lib/components/crud-base/crud-base.component.mjs +0 -47
- package/esm2020/lib/components/crud-footer/crud-footer.module.mjs +0 -20
- package/esm2020/lib/components/crud-header/crud-header.component.mjs +0 -30
- package/esm2020/lib/components/crud-header/crud-header.module.mjs +0 -19
- package/esm2020/lib/components/crud-history/crud-history.module.mjs +0 -20
- package/esm2020/lib/components/fields/data-table/data-table.component.mjs +0 -391
- package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +0 -204
- package/esm2020/lib/components/fields/fields.module.mjs +0 -222
- package/esm2020/lib/components/fields/filters/filters.component.mjs +0 -209
- package/esm2020/lib/components/fields/multiselect-field/multiselect-field.component.mjs +0 -154
- package/esm2020/lib/components/fields/search-field/search-field.component.mjs +0 -33
- package/esm2020/lib/components/generic-error-modal/generic-error-modal.component.mjs +0 -36
- package/esm2020/lib/components/generic-error-modal/generic-error-modal.module.mjs +0 -20
- package/esm2020/lib/components/generic-modal/generic-modal.module.mjs +0 -20
- package/esm2020/lib/components/menu/menu.component.mjs +0 -305
- package/esm2020/lib/components/menu/menu.module.mjs +0 -20
- package/esm2020/lib/components/panel/panel.module.mjs +0 -19
- package/esm2020/lib/components/stepper/stepper.module.mjs +0 -19
- package/esm2020/lib/components/top-bar/top-bar.component.mjs +0 -147
- package/esm2020/lib/components/top-bar/top-bar.module.mjs +0 -20
- package/esm2020/lib/guards/crud-list-has-items.guard.mjs +0 -22
- package/esm2020/lib/guards/get-token-by-guid.guard.mjs +0 -54
- package/esm2020/lib/guards/has-permission.guard.mjs +0 -27
- package/esm2020/lib/guards/role.guard.mjs +0 -24
- package/esm2020/lib/guards/token-is-present.guard.mjs +0 -26
- package/esm2020/lib/interceptors/http-interceptor.mjs +0 -185
- package/esm2020/lib/models/index.mjs +0 -18
- package/esm2020/lib/resolvers/get-selected-crud-item.resolver.mjs +0 -28
- package/esm2020/lib/services/auth.service.mjs +0 -77
- package/esm2020/lib/services/error-message.service.mjs +0 -16
- package/esm2020/lib/services/menu.service.mjs +0 -152
- package/esm2020/lib/services/storage.service.mjs +0 -108
- package/esm2020/lib/shared/shared.module.mjs +0 -19
- package/esm2020/lib/utils/mask.util.mjs +0 -76
- package/esm2020/public-api.mjs +0 -9
- package/fesm2015/ngx-vector-components.mjs +0 -5181
- package/fesm2015/ngx-vector-components.mjs.map +0 -1
- package/fesm2020/ngx-vector-components.mjs.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare enum Role {
|
|
2
|
-
ADMIN = "ADMIN"
|
|
3
|
-
}
|
|
1
|
+
export declare enum Role {
|
|
2
|
+
ADMIN = "ADMIN"
|
|
3
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum Status {
|
|
2
|
-
PENDING = 0,
|
|
3
|
-
APPROVED = 1,
|
|
4
|
-
REJECTED = 2,
|
|
5
|
-
INFO = 3
|
|
6
|
-
}
|
|
1
|
+
export declare enum Status {
|
|
2
|
+
PENDING = 0,
|
|
3
|
+
APPROVED = 1,
|
|
4
|
+
REJECTED = 2,
|
|
5
|
+
INFO = 3
|
|
6
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
icon: string;
|
|
3
|
-
url?: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
};
|
|
1
|
+
export type HelpCentralIconOptionsType = {
|
|
2
|
+
icon: string;
|
|
3
|
+
url?: string;
|
|
4
|
+
active: boolean;
|
|
5
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AppName } from './app-name.enum';
|
|
2
|
-
export
|
|
3
|
-
appName: AppName;
|
|
4
|
-
description: string;
|
|
5
|
-
className: string;
|
|
6
|
-
navigate: (tokenGuid: string, userId: number) => void;
|
|
7
|
-
hidden?: boolean | (() => boolean);
|
|
8
|
-
isAdmin?: boolean;
|
|
9
|
-
};
|
|
1
|
+
import { AppName } from './app-name.enum';
|
|
2
|
+
export type VectorApp = {
|
|
3
|
+
appName: AppName;
|
|
4
|
+
description: string;
|
|
5
|
+
className: string;
|
|
6
|
+
navigate: (tokenGuid: string, userId: number) => void;
|
|
7
|
+
hidden?: boolean | (() => boolean);
|
|
8
|
+
isAdmin?: boolean;
|
|
9
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
title: string;
|
|
3
|
-
description: string;
|
|
4
|
-
needsApproval?: boolean;
|
|
5
|
-
link?: string;
|
|
6
|
-
warning?: string;
|
|
7
|
-
wasRead?: boolean;
|
|
8
|
-
};
|
|
1
|
+
export type VectorNotification = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
needsApproval?: boolean;
|
|
5
|
+
link?: string;
|
|
6
|
+
warning?: string;
|
|
7
|
+
wasRead?: boolean;
|
|
8
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum View {
|
|
2
|
-
HOME = 0,
|
|
3
|
-
ADMIN = 1,
|
|
4
|
-
DIGITAL_CARRIER = 2,
|
|
5
|
-
RISK_MANAGER = 3,
|
|
6
|
-
VECTOR_CLUB = 4
|
|
7
|
-
}
|
|
1
|
+
export declare enum View {
|
|
2
|
+
HOME = 0,
|
|
3
|
+
ADMIN = 1,
|
|
4
|
+
DIGITAL_CARRIER = 2,
|
|
5
|
+
RISK_MANAGER = 3,
|
|
6
|
+
VECTOR_CLUB = 4
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CurrencyBrlPipe implements PipeTransform {
|
|
4
|
-
transform(value?: number): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyBrlPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyBrlPipe, "currencyBrl">;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CurrencyBrlPipe implements PipeTransform {
|
|
4
|
+
transform(value?: number): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyBrlPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyBrlPipe, "currencyBrl", false>;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FormatDocumentPipe implements PipeTransform {
|
|
4
|
-
transform(value?: string): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormatDocumentPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FormatDocumentPipe, "formatDocument">;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormatDocumentPipe implements PipeTransform {
|
|
4
|
+
transform(value?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormatDocumentPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormatDocumentPipe, "formatDocument", false>;
|
|
7
|
+
}
|
package/lib/pipes/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './currency-brl.pipe';
|
|
2
|
-
export * from './format-document.pipe';
|
|
3
|
-
export * from './mask.pipe';
|
|
4
|
-
export * from './not-hidden.pipe';
|
|
5
|
-
export * from './only-active.pipe';
|
|
6
|
-
export * from './pipes.module';
|
|
7
|
-
export * from './remove-last-child.pipe';
|
|
8
|
-
export * from './unread-notifications.pipe';
|
|
1
|
+
export * from './currency-brl.pipe';
|
|
2
|
+
export * from './format-document.pipe';
|
|
3
|
+
export * from './mask.pipe';
|
|
4
|
+
export * from './not-hidden.pipe';
|
|
5
|
+
export * from './only-active.pipe';
|
|
6
|
+
export * from './pipes.module';
|
|
7
|
+
export * from './remove-last-child.pipe';
|
|
8
|
+
export * from './unread-notifications.pipe';
|
package/lib/pipes/mask.pipe.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MaskPipe implements PipeTransform {
|
|
4
|
-
transform(value: string | undefined, mask: string): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaskPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MaskPipe, "mask">;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MaskPipe implements PipeTransform {
|
|
4
|
+
transform(value: string | undefined, mask: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaskPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MaskPipe, "mask", false>;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NotHiddenPipe implements PipeTransform {
|
|
4
|
-
transform(value: any[]): any[];
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotHiddenPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NotHiddenPipe, "notHidden">;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NotHiddenPipe implements PipeTransform {
|
|
4
|
+
transform(value: any[]): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotHiddenPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NotHiddenPipe, "notHidden", false>;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OnlyActivePipe implements PipeTransform {
|
|
4
|
-
transform(value: any[]): any[];
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OnlyActivePipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<OnlyActivePipe, "onlyActive">;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OnlyActivePipe implements PipeTransform {
|
|
4
|
+
transform(value: any[]): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnlyActivePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OnlyActivePipe, "onlyActive", false>;
|
|
7
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./remove-last-child.pipe";
|
|
3
|
-
import * as i2 from "./currency-brl.pipe";
|
|
4
|
-
import * as i3 from "./not-hidden.pipe";
|
|
5
|
-
import * as i4 from "./only-active.pipe";
|
|
6
|
-
import * as i5 from "./format-document.pipe";
|
|
7
|
-
import * as i6 from "./mask.pipe";
|
|
8
|
-
import * as i7 from "./unread-notifications.pipe";
|
|
9
|
-
export declare class PipesModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.RemoveLastChildPipe, typeof i2.CurrencyBrlPipe, typeof i3.NotHiddenPipe, typeof i4.OnlyActivePipe, typeof i5.FormatDocumentPipe, typeof i6.MaskPipe, typeof i7.UnreadNotificationsPipe], never, [typeof i1.RemoveLastChildPipe, typeof i2.CurrencyBrlPipe, typeof i3.NotHiddenPipe, typeof i4.OnlyActivePipe, typeof i5.FormatDocumentPipe, typeof i6.MaskPipe, typeof i7.UnreadNotificationsPipe]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
13
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./remove-last-child.pipe";
|
|
3
|
+
import * as i2 from "./currency-brl.pipe";
|
|
4
|
+
import * as i3 from "./not-hidden.pipe";
|
|
5
|
+
import * as i4 from "./only-active.pipe";
|
|
6
|
+
import * as i5 from "./format-document.pipe";
|
|
7
|
+
import * as i6 from "./mask.pipe";
|
|
8
|
+
import * as i7 from "./unread-notifications.pipe";
|
|
9
|
+
export declare class PipesModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.RemoveLastChildPipe, typeof i2.CurrencyBrlPipe, typeof i3.NotHiddenPipe, typeof i4.OnlyActivePipe, typeof i5.FormatDocumentPipe, typeof i6.MaskPipe, typeof i7.UnreadNotificationsPipe], never, [typeof i1.RemoveLastChildPipe, typeof i2.CurrencyBrlPipe, typeof i3.NotHiddenPipe, typeof i4.OnlyActivePipe, typeof i5.FormatDocumentPipe, typeof i6.MaskPipe, typeof i7.UnreadNotificationsPipe]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
13
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RemoveLastChildPipe implements PipeTransform {
|
|
4
|
-
transform(value: any[]): any[];
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveLastChildPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<RemoveLastChildPipe, "removeLastChild">;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RemoveLastChildPipe implements PipeTransform {
|
|
4
|
+
transform(value: any[]): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveLastChildPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RemoveLastChildPipe, "removeLastChild", false>;
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { VectorNotification } from '../models/vector-notification.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UnreadNotificationsPipe implements PipeTransform {
|
|
5
|
-
constructor();
|
|
6
|
-
transform(notifications: VectorNotification[] | null): VectorNotification[];
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UnreadNotificationsPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<UnreadNotificationsPipe, "unreadNotifications">;
|
|
9
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { VectorNotification } from '../models/vector-notification.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UnreadNotificationsPipe implements PipeTransform {
|
|
5
|
+
constructor();
|
|
6
|
+
transform(notifications: VectorNotification[] | null): VectorNotification[];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnreadNotificationsPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<UnreadNotificationsPipe, "unreadNotifications", false>;
|
|
9
|
+
}
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GetSelectedCrudItemResolver implements Resolve<any> {
|
|
5
|
-
private injector;
|
|
6
|
-
constructor(injector: Injector);
|
|
7
|
-
resolve(route: ActivatedRouteSnapshot): any;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GetSelectedCrudItemResolver, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GetSelectedCrudItemResolver>;
|
|
10
|
-
}
|
|
1
|
+
import { ActivatedRouteSnapshot } from '@angular/router';
|
|
2
|
+
export declare const getSelectedCrudItemResolver: (routeSnapshot: ActivatedRouteSnapshot) => any;
|
package/lib/resolvers/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './get-selected-crud-item.resolver';
|
|
1
|
+
export * from './get-selected-crud-item.resolver';
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { ProfileService, StorageService } from '.';
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
static
|
|
24
|
-
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { ProfileService, StorageService } from '.';
|
|
5
|
+
import { Environment } from '../injections';
|
|
6
|
+
import { Role } from '../models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class AuthService {
|
|
9
|
+
private environment;
|
|
10
|
+
private http;
|
|
11
|
+
private storageService;
|
|
12
|
+
private profileService;
|
|
13
|
+
private activatedRoute;
|
|
14
|
+
readonly role$: BehaviorSubject<Role>;
|
|
15
|
+
private parentWindowUrl;
|
|
16
|
+
private subscription;
|
|
17
|
+
private readonly baseUrl;
|
|
18
|
+
constructor(environment: Environment, http: HttpClient, storageService: StorageService, profileService: ProfileService, activatedRoute: ActivatedRoute);
|
|
19
|
+
getTokenByGuid(tokenGuid: string): Observable<any>;
|
|
20
|
+
getTokenByRefreshToken(refreshToken: string): Observable<any>;
|
|
21
|
+
generateTokenGuid(): Observable<string>;
|
|
22
|
+
logout(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
25
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ListItem } from '../models/list-item.model';
|
|
3
|
-
export interface BaseDropdown {
|
|
4
|
-
getAll(): Observable<ListItem[]>;
|
|
5
|
-
getPaged(searchQuery: string, page: number, pageSize: number, dependencies: any): Observable<ListItem[]>;
|
|
6
|
-
getById(id: number): Observable<any>;
|
|
7
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ListItem } from '../models/list-item.model';
|
|
3
|
+
export interface BaseDropdown {
|
|
4
|
+
getAll(): Observable<ListItem[]>;
|
|
5
|
+
getPaged(searchQuery: string, page: number, pageSize: number, dependencies: any): Observable<ListItem[]>;
|
|
6
|
+
getById(id: number): Observable<any>;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import { HttpResponseGridPaged } from '../models/http-response.model';
|
|
3
|
-
export declare class CrudBaseService<T> {
|
|
4
|
-
dataset$: BehaviorSubject<HttpResponseGridPaged<T>>;
|
|
5
|
-
flatUnpagedDataset$: BehaviorSubject<T[]>;
|
|
6
|
-
getHistory(entityId: string): void;
|
|
7
|
-
}
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { HttpResponseGridPaged } from '../models/http-response.model';
|
|
3
|
+
export declare class CrudBaseService<T> {
|
|
4
|
+
dataset$: BehaviorSubject<HttpResponseGridPaged<T>>;
|
|
5
|
+
flatUnpagedDataset$: BehaviorSubject<T[]>;
|
|
6
|
+
getHistory(entityId: string): void;
|
|
7
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ListItem } from '../models/list-item.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class EnumService {
|
|
6
|
-
private translateService;
|
|
7
|
-
constructor(translateService: TranslateService);
|
|
8
|
-
getTranslatedListItemsFromEnum(enumType: any, enumName: string): Observable<ListItem[]>;
|
|
9
|
-
getEnumTranslations(enumName: string): Observable<any>;
|
|
10
|
-
getListItemsFromEnum(enumType: any): ListItem[];
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnumService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EnumService>;
|
|
13
|
-
}
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ListItem } from '../models/list-item.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EnumService {
|
|
6
|
+
private translateService;
|
|
7
|
+
constructor(translateService: TranslateService);
|
|
8
|
+
getTranslatedListItemsFromEnum(enumType: any, enumName: string): Observable<ListItem[]>;
|
|
9
|
+
getEnumTranslations(enumName: string): Observable<any>;
|
|
10
|
+
getListItemsFromEnum(enumType: any): ListItem[];
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnumService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EnumService>;
|
|
13
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ErrorMessageService {
|
|
4
|
-
hasToken$: Subject<boolean>;
|
|
5
|
-
genericModalErrorMessage$: Subject<string>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMessageService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorMessageService>;
|
|
8
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ErrorMessageService {
|
|
4
|
+
hasToken$: Subject<boolean>;
|
|
5
|
+
genericModalErrorMessage$: Subject<string | undefined>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMessageService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorMessageService>;
|
|
8
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { HttpBackend, HttpClient } from '@angular/common/http';
|
|
2
|
-
import { IpInfo } from '../models/ip-info.enum';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GeolocationService {
|
|
5
|
-
private http;
|
|
6
|
-
private backend;
|
|
7
|
-
private customHttpClient;
|
|
8
|
-
constructor(http: HttpClient, backend: HttpBackend);
|
|
9
|
-
getGeoLoc(): import("rxjs").Observable<IpInfo>;
|
|
10
|
-
createUserLoginInfo(userInfo: any): import("rxjs").Observable<Object>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GeolocationService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GeolocationService>;
|
|
13
|
-
}
|
|
1
|
+
import { HttpBackend, HttpClient } from '@angular/common/http';
|
|
2
|
+
import { IpInfo } from '../models/ip-info.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GeolocationService {
|
|
5
|
+
private http;
|
|
6
|
+
private backend;
|
|
7
|
+
private customHttpClient;
|
|
8
|
+
constructor(http: HttpClient, backend: HttpBackend);
|
|
9
|
+
getGeoLoc(): import("rxjs").Observable<IpInfo>;
|
|
10
|
+
createUserLoginInfo(userInfo: any): import("rxjs").Observable<Object>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeolocationService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GeolocationService>;
|
|
13
|
+
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './auth.service';
|
|
2
|
-
export * from './base-dropdown';
|
|
3
|
-
export * from './crud-base.service';
|
|
4
|
-
export * from './enum.service';
|
|
5
|
-
export * from './error-message.service';
|
|
6
|
-
export * from './geolocation.service';
|
|
7
|
-
export * from './loading.service';
|
|
8
|
-
export * from './menu.service';
|
|
9
|
-
export * from './modal.service';
|
|
10
|
-
export * from './notifications.service';
|
|
11
|
-
export * from './profile.service';
|
|
12
|
-
export * from './storage.service';
|
|
1
|
+
export * from './auth.service';
|
|
2
|
+
export * from './base-dropdown';
|
|
3
|
+
export * from './crud-base.service';
|
|
4
|
+
export * from './enum.service';
|
|
5
|
+
export * from './error-message.service';
|
|
6
|
+
export * from './geolocation.service';
|
|
7
|
+
export * from './loading.service';
|
|
8
|
+
export * from './menu.service';
|
|
9
|
+
export * from './modal.service';
|
|
10
|
+
export * from './notifications.service';
|
|
11
|
+
export * from './profile.service';
|
|
12
|
+
export * from './storage.service';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LoadingService {
|
|
4
|
-
loading$: Subject<boolean>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
|
|
7
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LoadingService {
|
|
4
|
+
loading$: Subject<boolean>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
|
|
7
|
+
}
|
|
@@ -1,35 +1,38 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { VectorApp } from '../models/vector-app.model';
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
private
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
private
|
|
32
|
-
private
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { Environment } from '../injections';
|
|
4
|
+
import { MenuItem } from '../models';
|
|
5
|
+
import { VectorApp } from '../models/vector-app.model';
|
|
6
|
+
import { AuthService } from './auth.service';
|
|
7
|
+
import { ProfileService } from './profile.service';
|
|
8
|
+
import { StorageService } from './storage.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class MenuService {
|
|
11
|
+
private environment;
|
|
12
|
+
private menuOptions;
|
|
13
|
+
private appName;
|
|
14
|
+
private profileService;
|
|
15
|
+
private storageService;
|
|
16
|
+
private router;
|
|
17
|
+
private authService;
|
|
18
|
+
toggleMenu$: Subject<void>;
|
|
19
|
+
menuOpened$: Subject<boolean>;
|
|
20
|
+
frameUrl$: Subject<string | undefined>;
|
|
21
|
+
menuNotifications: {
|
|
22
|
+
[menuId: string]: number;
|
|
23
|
+
};
|
|
24
|
+
constructor(environment: Environment, menuOptions: MenuItem[], appName: string, profileService: ProfileService, storageService: StorageService, router: Router, authService: AuthService);
|
|
25
|
+
getSideMainMenuOptions(): MenuItem[];
|
|
26
|
+
getSideAdminMenuOptions(): MenuItem[];
|
|
27
|
+
navigateToPortal(params: Partial<VectorApp>): void;
|
|
28
|
+
addMenuNotification(menuId: string): void;
|
|
29
|
+
subtractMenuNotification(menuId: string): void;
|
|
30
|
+
updateMenuNotifications(menuId: string, notificationsCount: number): void;
|
|
31
|
+
private removeHiddenChildren;
|
|
32
|
+
private generateId;
|
|
33
|
+
private handleFintechRedirects;
|
|
34
|
+
private handleMarketplaceRedirects;
|
|
35
|
+
private handleLogtechRedirects;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
|
|
38
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ModalService {
|
|
4
|
-
showModalBackground$: Subject<boolean>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
7
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ModalService {
|
|
4
|
+
showModalBackground$: Subject<boolean>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
7
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { VectorNotification } from '../models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NotificationsService {
|
|
6
|
-
private http;
|
|
7
|
-
notifications$: BehaviorSubject<VectorNotification[]>;
|
|
8
|
-
private readonly baseUrl;
|
|
9
|
-
constructor(http: HttpClient);
|
|
10
|
-
getUserNotifications(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
|
|
13
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { VectorNotification } from '../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NotificationsService {
|
|
6
|
+
private http;
|
|
7
|
+
notifications$: BehaviorSubject<VectorNotification[]>;
|
|
8
|
+
private readonly baseUrl;
|
|
9
|
+
constructor(http: HttpClient);
|
|
10
|
+
getUserNotifications(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
|
|
13
|
+
}
|