ngx-vector-components 4.92.0 → 4.93.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 +1220 -1214
- package/README.md +35 -35
- package/assets/icons/chevron_down_icon.svg +3 -3
- package/assets/icons/home_menu_icon.svg +3 -3
- package/assets/icons/logout_icon.svg +9 -9
- package/assets/icons/menu_footer_icon.svg +3 -3
- package/assets/icons/menu_hamburguer_icon.svg +3 -3
- package/assets/icons/terms_of_use_icon.svg +9 -9
- package/assets/icons/vector_admin_icon.svg +4 -4
- package/assets/icons/vector_fintech_icon.svg +3 -3
- package/assets/icons/vector_logtech_icon.svg +6 -6
- package/assets/icons/vector_marketplace_icon.svg +3 -3
- package/assets/images/bunge_logo.svg +23 -23
- package/assets/images/cofco_logo.svg +117 -117
- package/assets/images/emote_bad.svg +6 -6
- package/assets/images/emote_cool.svg +5 -5
- package/assets/images/emote_nice.svg +5 -5
- package/assets/images/success_sign.svg +4 -4
- package/assets/images/vector-logo-horizontal-inverse-color.svg +13 -13
- package/assets/images/vector_logo_horizontal.svg +13 -13
- package/assets/images/warn_sign.svg +4 -4
- package/assets/styles/_fonts.scss +114 -114
- package/assets/styles/_mixins.scss +7 -7
- package/assets/styles/_primeng-custom-theme.scss +982 -982
- package/assets/styles/_spinner.scss +35 -35
- package/assets/styles/_styles.scss +115 -115
- package/assets/styles/_variables.scss +27 -27
- package/esm2022/lib/components/badge/badge.component.mjs +39 -0
- package/esm2022/lib/components/badge/badge.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/badge/index.mjs +3 -3
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +66 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.module.mjs +18 -0
- package/{esm2020 → esm2022}/lib/components/breadcrumb/index.mjs +3 -3
- package/esm2022/lib/components/crud-base/crud-base.component.mjs +47 -0
- package/{esm2020 → esm2022}/lib/components/crud-base/index.mjs +2 -2
- package/esm2022/lib/components/crud-footer/crud-footer.component.mjs +32 -0
- package/esm2022/lib/components/crud-footer/crud-footer.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/crud-footer/index.mjs +3 -3
- 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 +3 -3
- package/esm2022/lib/components/crud-history/crud-history.component.mjs +82 -0
- package/esm2022/lib/components/crud-history/crud-history.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/crud-history/index.mjs +3 -3
- package/esm2022/lib/components/fields/button/button.component.mjs +41 -0
- package/{esm2020 → esm2022}/lib/components/fields/button/index.mjs +2 -2
- package/esm2022/lib/components/fields/calendar-field/calendar-field.component.mjs +74 -0
- package/{esm2020 → esm2022}/lib/components/fields/calendar-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/checkbox-field/checkbox-field.component.mjs +46 -0
- package/{esm2020 → esm2022}/lib/components/fields/checkbox-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/currency-field/currency-field.component.mjs +98 -0
- package/{esm2020 → esm2022}/lib/components/fields/currency-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/data-table/data-table.component.mjs +386 -0
- package/{esm2020 → esm2022}/lib/components/fields/data-table/index.mjs +2 -2
- package/esm2022/lib/components/fields/dropdown-field/dropdown-field.component.mjs +204 -0
- package/{esm2020 → esm2022}/lib/components/fields/dropdown-field/index.mjs +2 -2
- 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 +2 -2
- package/esm2022/lib/components/fields/fields.module.mjs +211 -0
- package/esm2022/lib/components/fields/filters/filters.component.mjs +203 -0
- package/{esm2020 → esm2022}/lib/components/fields/filters/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/fields/index.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/fields/input-number-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/input-number-field/input-number-field.component.mjs +85 -0
- package/{esm2020 → esm2022}/lib/components/fields/multiselect-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/multiselect-field/multiselect-field.component.mjs +50 -0
- package/{esm2020 → esm2022}/lib/components/fields/percentage-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/percentage-field/percentage-field.component.mjs +42 -0
- package/{esm2020 → esm2022}/lib/components/fields/radio-button-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/radio-button-field/radio-button-field.component.mjs +48 -0
- package/{esm2020 → esm2022}/lib/components/fields/range-value/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/fields/range-value/range-value.component.mjs +72 -72
- package/{esm2020 → esm2022}/lib/components/fields/search-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/search-field/search-field.component.mjs +33 -0
- package/{esm2020 → esm2022}/lib/components/fields/select-button-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/select-button-field/select-button-field.component.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/fields/text-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/text-field/text-field.component.mjs +229 -0
- package/{esm2020 → esm2022}/lib/components/fields/textarea-field/index.mjs +2 -2
- package/esm2022/lib/components/fields/textarea-field/textarea-field.component.mjs +81 -0
- package/esm2022/lib/components/generic-error-modal/generic-error-modal.component.mjs +39 -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 +3 -3
- package/esm2022/lib/components/generic-modal/generic-modal.component.mjs +66 -0
- package/esm2022/lib/components/generic-modal/generic-modal.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/generic-modal/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/index.mjs +14 -14
- package/{esm2020 → esm2022}/lib/components/menu/index.mjs +4 -4
- package/esm2022/lib/components/menu/menu.component.mjs +305 -0
- package/esm2022/lib/components/menu/menu.module.mjs +20 -0
- package/esm2022/lib/components/menu/sub-menus-list/sub-menus-list.component.mjs +42 -0
- package/{esm2020 → esm2022}/lib/components/panel/index.mjs +3 -3
- package/esm2022/lib/components/panel/panel.component.mjs +15 -0
- package/esm2022/lib/components/panel/panel.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/score/index.mjs +3 -3
- package/esm2022/lib/components/score/score.component.mjs +17 -0
- package/{esm2020 → esm2022}/lib/components/score/score.module.mjs +16 -16
- package/{esm2020 → esm2022}/lib/components/top-bar/index.mjs +3 -3
- package/esm2022/lib/components/top-bar/top-bar.component.mjs +142 -0
- package/esm2022/lib/components/top-bar/top-bar.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/guards/crud-list-has-items.guard.mjs +22 -22
- package/{esm2020 → esm2022}/lib/guards/get-token-by-guid.guard.mjs +54 -54
- package/{esm2020 → esm2022}/lib/guards/has-permission.guard.mjs +27 -27
- package/{esm2020 → esm2022}/lib/guards/index.mjs +6 -6
- package/{esm2020 → esm2022}/lib/guards/role.guard.mjs +24 -24
- package/{esm2020 → esm2022}/lib/guards/token-is-present.guard.mjs +26 -26
- package/{esm2020 → esm2022}/lib/interceptors/http-interceptor.mjs +185 -185
- package/{esm2020 → esm2022}/lib/interceptors/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/app-name.enum.mjs +10 -10
- package/{esm2020 → esm2022}/lib/models/boolean-type.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/models/crud-history.model.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/crud-mode.enum.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/currency.enum.mjs +7 -7
- package/esm2022/lib/models/data-table.model.mjs +23 -0
- package/{esm2020 → esm2022}/lib/models/document-type.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/models/filters.model.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/generic-modal.model.mjs +2 -2
- package/esm2022/lib/models/http-response.model.mjs +2 -0
- package/{esm2020 → esm2022}/lib/models/index.mjs +18 -18
- package/{esm2020 → esm2022}/lib/models/ip-info.enum.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/list-item.model.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/locale.enum.mjs +7 -7
- package/esm2022/lib/models/menu-item.model.mjs +2 -0
- package/{esm2020 → esm2022}/lib/models/message-status.enum.mjs +8 -8
- package/{esm2020 → esm2022}/lib/models/profile.model.mjs +271 -271
- package/{esm2020 → esm2022}/lib/models/role.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/status.enum.mjs +8 -8
- package/{esm2020 → esm2022}/lib/models/topbar.model.mjs +2 -2
- package/esm2022/lib/models/vector-app.model.mjs +2 -0
- package/{esm2020 → esm2022}/lib/models/vector-notification.model.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/view.enum.mjs +7 -7
- 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 +9 -9
- 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/{esm2020 → esm2022}/lib/resolvers/get-selected-crud-item.resolver.mjs +28 -28
- package/{esm2020 → esm2022}/lib/resolvers/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/services/auth.service.mjs +77 -77
- package/esm2022/lib/services/base-dropdown.mjs +2 -0
- package/{esm2020 → esm2022}/lib/services/crud-base.service.mjs +14 -14
- package/{esm2020 → esm2022}/lib/services/enum.service.mjs +43 -43
- package/{esm2020 → esm2022}/lib/services/error-message.service.mjs +16 -16
- package/{esm2020 → esm2022}/lib/services/geolocation.service.mjs +23 -23
- package/{esm2020 → esm2022}/lib/services/index.mjs +13 -13
- package/{esm2020 → esm2022}/lib/services/loading.service.mjs +15 -15
- package/{esm2020 → esm2022}/lib/services/menu.service.mjs +152 -152
- 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 +103 -103
- package/{esm2020 → esm2022}/lib/services/storage.service.mjs +108 -108
- package/esm2022/lib/shared/shared.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/utils/cpf-cnpj-validator.util.mjs +116 -116
- package/{esm2020 → esm2022}/lib/utils/file.util.mjs +15 -15
- package/{esm2020 → esm2022}/lib/utils/index.mjs +8 -8
- package/esm2022/lib/utils/mask.util.mjs +76 -0
- package/{esm2020 → esm2022}/lib/utils/object.util.mjs +27 -27
- package/{esm2020 → esm2022}/lib/utils/string.util.mjs +16 -16
- package/{esm2020 → esm2022}/lib/utils/validation.util.mjs +234 -234
- package/{esm2020 → esm2022}/lib/utils/window.util.mjs +9 -9
- package/{esm2020 → esm2022}/ngx-vector-components.mjs +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +9 -9
- package/fesm2022/ngx-vector-components.mjs +4784 -0
- 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 +13 -13
- 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 +82 -82
- 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 +48 -48
- package/lib/components/fields/filters/filters.component.d.ts +63 -63
- package/lib/components/fields/filters/index.d.ts +1 -1
- package/lib/components/fields/index.d.ts +18 -18
- 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/multiselect-field/index.d.ts +1 -1
- package/lib/components/fields/multiselect-field/multiselect-field.component.d.ts +16 -16
- package/lib/components/fields/percentage-field/index.d.ts +1 -1
- package/lib/components/fields/percentage-field/percentage-field.component.d.ts +16 -16
- 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 +54 -54
- 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 +16 -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 +13 -13
- 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/top-bar/index.d.ts +2 -2
- package/lib/components/top-bar/top-bar.component.d.ts +48 -48
- package/lib/components/top-bar/top-bar.module.d.ts +10 -10
- package/lib/guards/crud-list-has-items.guard.d.ts +10 -10
- package/lib/guards/get-token-by-guid.guard.d.ts +15 -15
- package/lib/guards/has-permission.guard.d.ts +13 -13
- package/lib/guards/index.d.ts +5 -5
- package/lib/guards/role.guard.d.ts +11 -11
- package/lib/guards/token-is-present.guard.d.ts +11 -11
- 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 +13 -13
- package/lib/models/http-response.model.d.ts +48 -48
- package/lib/models/index.d.ts +17 -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 +292 -292
- 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 +5 -5
- 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 +10 -10
- package/lib/resolvers/index.d.ts +1 -1
- package/lib/services/auth.service.d.ts +24 -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 +35 -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 +26 -26
- package/lib/services/storage.service.d.ts +43 -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 +4 -4
- package/lib/utils/validation.util.d.ts +17 -17
- package/lib/utils/window.util.d.ts +4 -4
- package/package.json +18 -24
- package/public-api.d.ts +8 -8
- package/esm2020/lib/components/badge/badge.component.mjs +0 -39
- 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.component.mjs +0 -32
- 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.component.mjs +0 -82
- package/esm2020/lib/components/crud-history/crud-history.module.mjs +0 -20
- package/esm2020/lib/components/fields/button/button.component.mjs +0 -41
- package/esm2020/lib/components/fields/calendar-field/calendar-field.component.mjs +0 -74
- package/esm2020/lib/components/fields/checkbox-field/checkbox-field.component.mjs +0 -46
- package/esm2020/lib/components/fields/currency-field/currency-field.component.mjs +0 -98
- package/esm2020/lib/components/fields/data-table/data-table.component.mjs +0 -386
- package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +0 -204
- package/esm2020/lib/components/fields/fields.module.mjs +0 -213
- package/esm2020/lib/components/fields/filters/filters.component.mjs +0 -203
- package/esm2020/lib/components/fields/input-number-field/input-number-field.component.mjs +0 -85
- package/esm2020/lib/components/fields/multiselect-field/multiselect-field.component.mjs +0 -50
- package/esm2020/lib/components/fields/percentage-field/percentage-field.component.mjs +0 -42
- package/esm2020/lib/components/fields/radio-button-field/radio-button-field.component.mjs +0 -48
- package/esm2020/lib/components/fields/search-field/search-field.component.mjs +0 -33
- package/esm2020/lib/components/fields/select-button-field/select-button-field.component.mjs +0 -20
- package/esm2020/lib/components/fields/text-field/text-field.component.mjs +0 -229
- package/esm2020/lib/components/fields/textarea-field/textarea-field.component.mjs +0 -81
- 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.component.mjs +0 -66
- 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/menu/sub-menus-list/sub-menus-list.component.mjs +0 -42
- package/esm2020/lib/components/panel/panel.component.mjs +0 -15
- package/esm2020/lib/components/panel/panel.module.mjs +0 -19
- package/esm2020/lib/components/score/score.component.mjs +0 -17
- package/esm2020/lib/components/top-bar/top-bar.component.mjs +0 -142
- package/esm2020/lib/components/top-bar/top-bar.module.mjs +0 -20
- package/esm2020/lib/models/data-table.model.mjs +0 -23
- package/esm2020/lib/models/http-response.model.mjs +0 -2
- package/esm2020/lib/models/menu-item.model.mjs +0 -2
- package/esm2020/lib/models/vector-app.model.mjs +0 -2
- package/esm2020/lib/services/base-dropdown.mjs +0 -2
- package/esm2020/lib/shared/shared.module.mjs +0 -19
- package/esm2020/lib/utils/mask.util.mjs +0 -76
- package/fesm2015/ngx-vector-components.mjs +0 -4805
- package/fesm2015/ngx-vector-components.mjs.map +0 -1
- package/fesm2020/ngx-vector-components.mjs +0 -4783
- package/fesm2020/ngx-vector-components.mjs.map +0 -1
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
export declare enum View {
|
|
2
|
-
HOME = 0,
|
|
3
|
-
ADMIN = 1,
|
|
4
|
-
DIGITAL_CARRIER = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum View {
|
|
2
|
+
HOME = 0,
|
|
3
|
+
ADMIN = 1,
|
|
4
|
+
DIGITAL_CARRIER = 2
|
|
5
|
+
}
|
|
@@ -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,10 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { ActivatedRouteSnapshot
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GetSelectedCrudItemResolver
|
|
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 { Injector } from '@angular/core';
|
|
2
|
+
import { ActivatedRouteSnapshot } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GetSelectedCrudItemResolver {
|
|
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
|
+
}
|
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,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 { Role } from '../models';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AuthService {
|
|
8
|
-
private http;
|
|
9
|
-
private storageService;
|
|
10
|
-
private profileService;
|
|
11
|
-
private activatedRoute;
|
|
12
|
-
private environment;
|
|
13
|
-
readonly role$: BehaviorSubject<Role>;
|
|
14
|
-
private parentWindowUrl;
|
|
15
|
-
private subscription;
|
|
16
|
-
private readonly baseUrl;
|
|
17
|
-
constructor(http: HttpClient, storageService: StorageService, profileService: ProfileService, activatedRoute: ActivatedRoute, environment: any);
|
|
18
|
-
getTokenByGuid(tokenGuid: string): Observable<any>;
|
|
19
|
-
getTokenByRefreshToken(refreshToken: string): Observable<any>;
|
|
20
|
-
generateTokenGuid(): Observable<string>;
|
|
21
|
-
logout(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
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 { Role } from '../models';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AuthService {
|
|
8
|
+
private http;
|
|
9
|
+
private storageService;
|
|
10
|
+
private profileService;
|
|
11
|
+
private activatedRoute;
|
|
12
|
+
private environment;
|
|
13
|
+
readonly role$: BehaviorSubject<Role>;
|
|
14
|
+
private parentWindowUrl;
|
|
15
|
+
private subscription;
|
|
16
|
+
private readonly baseUrl;
|
|
17
|
+
constructor(http: HttpClient, storageService: StorageService, profileService: ProfileService, activatedRoute: ActivatedRoute, environment: any);
|
|
18
|
+
getTokenByGuid(tokenGuid: string): Observable<any>;
|
|
19
|
+
getTokenByRefreshToken(refreshToken: string): Observable<any>;
|
|
20
|
+
generateTokenGuid(): Observable<string>;
|
|
21
|
+
logout(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
24
|
+
}
|
|
@@ -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>;
|
|
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,35 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { AuthService, ProfileService, StorageService } from '.';
|
|
4
|
-
import { AppName, MenuItem } from '../models';
|
|
5
|
-
import { VectorApp } from '../models/vector-app.model';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MenuService {
|
|
8
|
-
private authService;
|
|
9
|
-
private router;
|
|
10
|
-
private storageService;
|
|
11
|
-
private profileService;
|
|
12
|
-
private environment;
|
|
13
|
-
private menuOptions;
|
|
14
|
-
private appName;
|
|
15
|
-
toggleMenu$: Subject<void>;
|
|
16
|
-
menuOpened$: Subject<boolean>;
|
|
17
|
-
frameUrl$: Subject<string | undefined>;
|
|
18
|
-
menuNotifications: {
|
|
19
|
-
[menuId: string]: number;
|
|
20
|
-
};
|
|
21
|
-
constructor(authService: AuthService, router: Router, storageService: StorageService, profileService: ProfileService, environment: any, menuOptions: MenuItem[], appName: AppName);
|
|
22
|
-
getSideMainMenuOptions(): MenuItem[];
|
|
23
|
-
getSideAdminMenuOptions(): MenuItem[];
|
|
24
|
-
navigateToPortal(params: Partial<VectorApp>): void;
|
|
25
|
-
addMenuNotification(menuId: string): void;
|
|
26
|
-
subtractMenuNotification(menuId: string): void;
|
|
27
|
-
updateMenuNotifications(menuId: string, notificationsCount: number): void;
|
|
28
|
-
private removeHiddenChildren;
|
|
29
|
-
private generateId;
|
|
30
|
-
private handleFintechRedirects;
|
|
31
|
-
private handleMarketplaceRedirects;
|
|
32
|
-
private handleLogtechRedirects;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
|
|
35
|
-
}
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { AuthService, ProfileService, StorageService } from '.';
|
|
4
|
+
import { AppName, MenuItem } from '../models';
|
|
5
|
+
import { VectorApp } from '../models/vector-app.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class MenuService {
|
|
8
|
+
private authService;
|
|
9
|
+
private router;
|
|
10
|
+
private storageService;
|
|
11
|
+
private profileService;
|
|
12
|
+
private environment;
|
|
13
|
+
private menuOptions;
|
|
14
|
+
private appName;
|
|
15
|
+
toggleMenu$: Subject<void>;
|
|
16
|
+
menuOpened$: Subject<boolean>;
|
|
17
|
+
frameUrl$: Subject<string | undefined>;
|
|
18
|
+
menuNotifications: {
|
|
19
|
+
[menuId: string]: number;
|
|
20
|
+
};
|
|
21
|
+
constructor(authService: AuthService, router: Router, storageService: StorageService, profileService: ProfileService, environment: any, menuOptions: MenuItem[], appName: AppName);
|
|
22
|
+
getSideMainMenuOptions(): MenuItem[];
|
|
23
|
+
getSideAdminMenuOptions(): MenuItem[];
|
|
24
|
+
navigateToPortal(params: Partial<VectorApp>): void;
|
|
25
|
+
addMenuNotification(menuId: string): void;
|
|
26
|
+
subtractMenuNotification(menuId: string): void;
|
|
27
|
+
updateMenuNotifications(menuId: string, notificationsCount: number): void;
|
|
28
|
+
private removeHiddenChildren;
|
|
29
|
+
private generateId;
|
|
30
|
+
private handleFintechRedirects;
|
|
31
|
+
private handleMarketplaceRedirects;
|
|
32
|
+
private handleLogtechRedirects;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
|
|
35
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { ProfileModule, ProfileModuleActionType, ProfileModuleType } from '../models/profile.model';
|
|
4
|
-
import { StorageService } from './storage.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ProfileService {
|
|
7
|
-
private http;
|
|
8
|
-
private storageService;
|
|
9
|
-
readonly moduleProfile$: BehaviorSubject<ProfileModule[] | undefined>;
|
|
10
|
-
readonly profileFirstName$: BehaviorSubject<string | undefined>;
|
|
11
|
-
readonly profileTypeItens$: BehaviorSubject<{
|
|
12
|
-
shipper: number;
|
|
13
|
-
carrierId: number;
|
|
14
|
-
profileTypeId: number;
|
|
15
|
-
} | undefined>;
|
|
16
|
-
hasFintechAdminPermission: boolean;
|
|
17
|
-
hasMarketplaceAdminPermission: boolean;
|
|
18
|
-
hasAnyFintechPermission: boolean;
|
|
19
|
-
hasAnyMarketplacePermission: boolean;
|
|
20
|
-
constructor(http: HttpClient, storageService: StorageService);
|
|
21
|
-
getUserProfile(): Observable<any>;
|
|
22
|
-
userHasPermission(action: ProfileModuleActionType | ProfileModuleType | ProfileModuleActionType[] | ProfileModuleType[] | undefined): boolean;
|
|
23
|
-
getUserInfo(): Observable<any>;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileService, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProfileService>;
|
|
26
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { ProfileModule, ProfileModuleActionType, ProfileModuleType } from '../models/profile.model';
|
|
4
|
+
import { StorageService } from './storage.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProfileService {
|
|
7
|
+
private http;
|
|
8
|
+
private storageService;
|
|
9
|
+
readonly moduleProfile$: BehaviorSubject<ProfileModule[] | undefined>;
|
|
10
|
+
readonly profileFirstName$: BehaviorSubject<string | undefined>;
|
|
11
|
+
readonly profileTypeItens$: BehaviorSubject<{
|
|
12
|
+
shipper: number;
|
|
13
|
+
carrierId: number;
|
|
14
|
+
profileTypeId: number;
|
|
15
|
+
} | undefined>;
|
|
16
|
+
hasFintechAdminPermission: boolean;
|
|
17
|
+
hasMarketplaceAdminPermission: boolean;
|
|
18
|
+
hasAnyFintechPermission: boolean;
|
|
19
|
+
hasAnyMarketplacePermission: boolean;
|
|
20
|
+
constructor(http: HttpClient, storageService: StorageService);
|
|
21
|
+
getUserProfile(): Observable<any>;
|
|
22
|
+
userHasPermission(action: ProfileModuleActionType | ProfileModuleType | ProfileModuleActionType[] | ProfileModuleType[] | undefined): boolean;
|
|
23
|
+
getUserInfo(): Observable<any>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProfileService>;
|
|
26
|
+
}
|