ngx-vector-components 4.92.0 → 4.94.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/{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/{esm2020 → esm2022}/lib/components/breadcrumb/breadcrumb.component.mjs +66 -66
- 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 +32 -32
- 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 +386 -0
- package/{esm2020 → esm2022}/lib/components/fields/data-table/index.mjs +1 -1
- package/esm2022/lib/components/fields/dropdown-field/dropdown-field.component.mjs +204 -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 +211 -0
- package/esm2022/lib/components/fields/filters/filters.component.mjs +203 -0
- package/{esm2020 → esm2022}/lib/components/fields/filters/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/index.mjs +18 -18
- 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 +85 -85
- package/{esm2020 → esm2022}/lib/components/fields/multiselect-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/multiselect-field/multiselect-field.component.mjs +50 -50
- package/{esm2020 → esm2022}/lib/components/fields/percentage-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/percentage-field/percentage-field.component.mjs +42 -42
- 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/esm2022/lib/components/fields/text-field/text-field.component.mjs +232 -0
- 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 +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 +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 +13 -13
- package/{esm2020 → esm2022}/lib/components/menu/index.mjs +3 -3
- package/esm2022/lib/components/menu/menu.component.mjs +305 -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/top-bar/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/top-bar/top-bar.component.mjs +142 -142
- 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 +5 -5
- 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 +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/{esm2020 → esm2022}/lib/models/index.mjs +17 -17
- 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 +270 -270
- 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 +6 -6
- 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/{esm2020 → esm2022}/lib/resolvers/get-selected-crud-item.resolver.mjs +28 -28
- package/{esm2020 → esm2022}/lib/resolvers/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/services/auth.service.mjs +77 -77
- 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/{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 +12 -12
- 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 +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 +15 -15
- 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/{esm2020 → esm2022}/public-api.mjs +8 -8
- package/{fesm2020 → fesm2022}/ngx-vector-components.mjs +4577 -4573
- 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 +55 -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.module.mjs +0 -19
- 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 -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/search-field/search-field.component.mjs +0 -33
- package/esm2020/lib/components/fields/text-field/text-field.component.mjs +0 -229
- 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/top-bar/top-bar.module.mjs +0 -20
- 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.map +0 -1
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ProfileModule, Role } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class StorageService {
|
|
5
|
-
private http;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
clear(): void;
|
|
8
|
-
clearSession(): void;
|
|
9
|
-
get(key: string): any;
|
|
10
|
-
set(key: string, value: any): void;
|
|
11
|
-
remove(key: string): void;
|
|
12
|
-
getSession(key: string): any;
|
|
13
|
-
setSession(key: string, value: any): void;
|
|
14
|
-
removeSession(key: string): void;
|
|
15
|
-
getToken(): string;
|
|
16
|
-
setToken(token: string): void;
|
|
17
|
-
removeToken(): void;
|
|
18
|
-
getRefreshToken(): string;
|
|
19
|
-
setRefreshToken(refreshToken: string): void;
|
|
20
|
-
removeRefreshToken(): void;
|
|
21
|
-
getUsername(): string;
|
|
22
|
-
setUsername(username: string): void;
|
|
23
|
-
removeUsername(): void;
|
|
24
|
-
getUserId(): number;
|
|
25
|
-
setUserId(userId: number): void;
|
|
26
|
-
clearUserId(): void;
|
|
27
|
-
getRole(): Role;
|
|
28
|
-
setRole(role?: string): void;
|
|
29
|
-
clearRole(): void;
|
|
30
|
-
getProfile(): {
|
|
31
|
-
marketplace: ProfileModule | undefined;
|
|
32
|
-
fintech: ProfileModule | undefined;
|
|
33
|
-
allModules: ProfileModule[] | undefined;
|
|
34
|
-
};
|
|
35
|
-
setProfile(profiles: {
|
|
36
|
-
marketplace: ProfileModule | undefined;
|
|
37
|
-
fintech: ProfileModule | undefined;
|
|
38
|
-
allModules: ProfileModule[] | undefined;
|
|
39
|
-
}): void;
|
|
40
|
-
removeProfile(): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
|
|
42
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
|
|
43
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ProfileModule, Role } from '../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StorageService {
|
|
5
|
+
private http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
clear(): void;
|
|
8
|
+
clearSession(): void;
|
|
9
|
+
get(key: string): any;
|
|
10
|
+
set(key: string, value: any): void;
|
|
11
|
+
remove(key: string): void;
|
|
12
|
+
getSession(key: string): any;
|
|
13
|
+
setSession(key: string, value: any): void;
|
|
14
|
+
removeSession(key: string): void;
|
|
15
|
+
getToken(): string;
|
|
16
|
+
setToken(token: string): void;
|
|
17
|
+
removeToken(): void;
|
|
18
|
+
getRefreshToken(): string;
|
|
19
|
+
setRefreshToken(refreshToken: string): void;
|
|
20
|
+
removeRefreshToken(): void;
|
|
21
|
+
getUsername(): string;
|
|
22
|
+
setUsername(username: string): void;
|
|
23
|
+
removeUsername(): void;
|
|
24
|
+
getUserId(): number;
|
|
25
|
+
setUserId(userId: number): void;
|
|
26
|
+
clearUserId(): void;
|
|
27
|
+
getRole(): Role;
|
|
28
|
+
setRole(role?: string): void;
|
|
29
|
+
clearRole(): void;
|
|
30
|
+
getProfile(): {
|
|
31
|
+
marketplace: ProfileModule | undefined;
|
|
32
|
+
fintech: ProfileModule | undefined;
|
|
33
|
+
allModules: ProfileModule[] | undefined;
|
|
34
|
+
};
|
|
35
|
+
setProfile(profiles: {
|
|
36
|
+
marketplace: ProfileModule | undefined;
|
|
37
|
+
fintech: ProfileModule | undefined;
|
|
38
|
+
allModules: ProfileModule[] | undefined;
|
|
39
|
+
}): void;
|
|
40
|
+
removeProfile(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
|
|
42
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
|
|
43
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@ngx-translate/core";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "primeng/tooltip";
|
|
5
|
-
import * as i4 from "../pipes/pipes.module";
|
|
6
|
-
export declare class SharedModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.TranslateModule], [typeof i2.CommonModule, typeof i3.TooltipModule, typeof i4.PipesModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@ngx-translate/core";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "primeng/tooltip";
|
|
5
|
+
import * as i4 from "../pipes/pipes.module";
|
|
6
|
+
export declare class SharedModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.TranslateModule], [typeof i2.CommonModule, typeof i3.TooltipModule, typeof i4.PipesModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class CpfCnpjValidator {
|
|
2
|
-
static validateCpfOrCnpj(taxId: string): boolean;
|
|
3
|
-
static validateCpf(cpf: string): boolean;
|
|
4
|
-
static validateCnpj(cnpj: string): boolean;
|
|
5
|
-
}
|
|
1
|
+
export declare class CpfCnpjValidator {
|
|
2
|
+
static validateCpfOrCnpj(taxId: string): boolean;
|
|
3
|
+
static validateCpf(cpf: string): boolean;
|
|
4
|
+
static validateCnpj(cnpj: string): boolean;
|
|
5
|
+
}
|
package/lib/utils/file.util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class FileUtil {
|
|
2
|
-
static getBlob(base64StringData: string, mimeType: string): Blob;
|
|
3
|
-
static downloadFile(mimeType: string, base64StringData: string, fileName: string): void;
|
|
4
|
-
}
|
|
1
|
+
export declare class FileUtil {
|
|
2
|
+
static getBlob(base64StringData: string, mimeType: string): Blob;
|
|
3
|
+
static downloadFile(mimeType: string, base64StringData: string, fileName: string): void;
|
|
4
|
+
}
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './cpf-cnpj-validator.util';
|
|
2
|
-
export * from './file.util';
|
|
3
|
-
export * from './mask.util';
|
|
4
|
-
export * from './object.util';
|
|
5
|
-
export * from './string.util';
|
|
6
|
-
export * from './validation.util';
|
|
7
|
-
export * from './window.util';
|
|
1
|
+
export * from './cpf-cnpj-validator.util';
|
|
2
|
+
export * from './file.util';
|
|
3
|
+
export * from './mask.util';
|
|
4
|
+
export * from './object.util';
|
|
5
|
+
export * from './string.util';
|
|
6
|
+
export * from './validation.util';
|
|
7
|
+
export * from './window.util';
|
package/lib/utils/mask.util.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export declare class MaskUtil {
|
|
2
|
-
static CPF_TEXT_FIELD_PATTERN: string;
|
|
3
|
-
static CNPJ_TEXT_FIELD_PATTERN: string;
|
|
4
|
-
static BOLETO_TEXT_FIELD_PATTERN: string;
|
|
5
|
-
static CELLPHONE_TEXT_FIELD_PATTERN: string;
|
|
6
|
-
static PHONE_TEXT_FIELD_PATTERN: string;
|
|
7
|
-
static POSTALCODE_TEXT_FIELD_PATTERN: string;
|
|
8
|
-
static PLATE_FIELD_PATTERN: string;
|
|
9
|
-
static HOURS_MINUTES_FIELD_PATTERN: string;
|
|
10
|
-
static DNI_FIELD_PATTERN: string;
|
|
11
|
-
static CUIT_FIELD_PATTERN: string;
|
|
12
|
-
static formatDocument(stringValue: string): string;
|
|
13
|
-
static formatPostalCode(stringValue: string): string;
|
|
14
|
-
static formatBoleto(stringValue: string): string;
|
|
15
|
-
static formatPhone(stringValue: string): string;
|
|
16
|
-
static formatHoursMinutes(stringValue: string): string;
|
|
17
|
-
static formatPlate(stringValue: string): string;
|
|
18
|
-
static formatDni(stringValue: string): string;
|
|
19
|
-
static formatCuit(stringValue: string): string;
|
|
20
|
-
static doMaskString(str: string, pattern?: string): string;
|
|
21
|
-
}
|
|
1
|
+
export declare class MaskUtil {
|
|
2
|
+
static CPF_TEXT_FIELD_PATTERN: string;
|
|
3
|
+
static CNPJ_TEXT_FIELD_PATTERN: string;
|
|
4
|
+
static BOLETO_TEXT_FIELD_PATTERN: string;
|
|
5
|
+
static CELLPHONE_TEXT_FIELD_PATTERN: string;
|
|
6
|
+
static PHONE_TEXT_FIELD_PATTERN: string;
|
|
7
|
+
static POSTALCODE_TEXT_FIELD_PATTERN: string;
|
|
8
|
+
static PLATE_FIELD_PATTERN: string;
|
|
9
|
+
static HOURS_MINUTES_FIELD_PATTERN: string;
|
|
10
|
+
static DNI_FIELD_PATTERN: string;
|
|
11
|
+
static CUIT_FIELD_PATTERN: string;
|
|
12
|
+
static formatDocument(stringValue: string): string;
|
|
13
|
+
static formatPostalCode(stringValue: string): string;
|
|
14
|
+
static formatBoleto(stringValue: string): string;
|
|
15
|
+
static formatPhone(stringValue: string): string;
|
|
16
|
+
static formatHoursMinutes(stringValue: string): string;
|
|
17
|
+
static formatPlate(stringValue: string): string;
|
|
18
|
+
static formatDni(stringValue: string): string;
|
|
19
|
+
static formatCuit(stringValue: string): string;
|
|
20
|
+
static doMaskString(str: string, pattern?: string): string;
|
|
21
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class ObjectUtil {
|
|
2
|
-
static getObjectKeys<T>(obj: Object): Array<keyof T>;
|
|
3
|
-
static isValid(obj: any): boolean;
|
|
4
|
-
static getCodes(obj: any): any;
|
|
5
|
-
}
|
|
1
|
+
export declare class ObjectUtil {
|
|
2
|
+
static getObjectKeys<T>(obj: Object): Array<keyof T>;
|
|
3
|
+
static isValid(obj: any): boolean;
|
|
4
|
+
static getCodes(obj: any): any;
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class StringUtil {
|
|
2
|
-
static getInitials(nameString?: string): string;
|
|
3
|
-
static revertString(str: string): string;
|
|
4
|
-
}
|
|
1
|
+
export declare class StringUtil {
|
|
2
|
+
static getInitials(nameString?: string): string;
|
|
3
|
+
static revertString(str: string): string;
|
|
4
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
|
-
export declare class ValidationUtil {
|
|
3
|
-
static email(control: AbstractControl): ValidationErrors | null;
|
|
4
|
-
static fullName(control: AbstractControl): ValidationErrors | null;
|
|
5
|
-
static noMultipleWhitespace(control: AbstractControl): ValidationErrors | null;
|
|
6
|
-
static isValidTaxId(control: AbstractControl): ValidationErrors | null;
|
|
7
|
-
static isValidCpf(control: AbstractControl): ValidationErrors | null;
|
|
8
|
-
static isValidCnpj(control: AbstractControl): ValidationErrors | null;
|
|
9
|
-
static majorAge(control: AbstractControl): ValidationErrors | null;
|
|
10
|
-
static matchField(anotherField: AbstractControl | null): ValidatorFn;
|
|
11
|
-
static cellphone(control: AbstractControl): ValidationErrors | null;
|
|
12
|
-
static lowerThanOrEqualTo(greaterControlName: string): ValidatorFn;
|
|
13
|
-
static greaterThanOrEqualTo(lowerControlName: string): ValidatorFn;
|
|
14
|
-
static notSequentialNumbers(length: number): ValidatorFn;
|
|
15
|
-
static firstLetterIsUppercase(control: AbstractControl): ValidationErrors | null;
|
|
16
|
-
static containsLettersAndNumbers(control: AbstractControl): ValidationErrors | null;
|
|
17
|
-
}
|
|
1
|
+
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
|
+
export declare class ValidationUtil {
|
|
3
|
+
static email(control: AbstractControl): ValidationErrors | null;
|
|
4
|
+
static fullName(control: AbstractControl): ValidationErrors | null;
|
|
5
|
+
static noMultipleWhitespace(control: AbstractControl): ValidationErrors | null;
|
|
6
|
+
static isValidTaxId(control: AbstractControl): ValidationErrors | null;
|
|
7
|
+
static isValidCpf(control: AbstractControl): ValidationErrors | null;
|
|
8
|
+
static isValidCnpj(control: AbstractControl): ValidationErrors | null;
|
|
9
|
+
static majorAge(control: AbstractControl): ValidationErrors | null;
|
|
10
|
+
static matchField(anotherField: AbstractControl | null): ValidatorFn;
|
|
11
|
+
static cellphone(control: AbstractControl): ValidationErrors | null;
|
|
12
|
+
static lowerThanOrEqualTo(greaterControlName: string): ValidatorFn;
|
|
13
|
+
static greaterThanOrEqualTo(lowerControlName: string): ValidatorFn;
|
|
14
|
+
static notSequentialNumbers(length: number): ValidatorFn;
|
|
15
|
+
static firstLetterIsUppercase(control: AbstractControl): ValidationErrors | null;
|
|
16
|
+
static containsLettersAndNumbers(control: AbstractControl): ValidationErrors | null;
|
|
17
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class WindowUtil {
|
|
2
|
-
static isSmallDevice(): boolean;
|
|
3
|
-
static isDesktop(): boolean;
|
|
4
|
-
}
|
|
1
|
+
export declare class WindowUtil {
|
|
2
|
+
static isSmallDevice(): boolean;
|
|
3
|
+
static isDesktop(): boolean;
|
|
4
|
+
}
|
package/package.json
CHANGED
|
@@ -1,45 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-vector-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.94.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/animations": "
|
|
6
|
-
"@angular/cdk": "^
|
|
7
|
-
"@angular/common": "^
|
|
8
|
-
"@angular/core": "^
|
|
9
|
-
"@angular/forms": "
|
|
10
|
-
"@angular/platform-browser": "
|
|
11
|
-
"@angular/platform-browser-dynamic": "
|
|
12
|
-
"@angular/router": "
|
|
13
|
-
"@fortawesome/fontawesome-free": "^
|
|
5
|
+
"@angular/animations": "^16.1.7",
|
|
6
|
+
"@angular/cdk": "^16.1.6",
|
|
7
|
+
"@angular/common": "^16.1.7",
|
|
8
|
+
"@angular/core": "^16.1.7",
|
|
9
|
+
"@angular/forms": "^16.1.7",
|
|
10
|
+
"@angular/platform-browser": "^16.1.7",
|
|
11
|
+
"@angular/platform-browser-dynamic": "^16.1.7",
|
|
12
|
+
"@angular/router": "^16.1.7",
|
|
13
|
+
"@fortawesome/fontawesome-free": "^6.1.1",
|
|
14
14
|
"@ngx-translate/core": "^14.0.0",
|
|
15
15
|
"file-saver": "^2.0.5",
|
|
16
16
|
"luxon": "^2.4.0",
|
|
17
|
-
"ngx-device-detector": "^
|
|
17
|
+
"ngx-device-detector": "^6.0.2",
|
|
18
18
|
"primeflex": "^3.2.1",
|
|
19
19
|
"primeicons": "^5.0.0",
|
|
20
|
-
"primeng": "^
|
|
20
|
+
"primeng": "^16.1.0",
|
|
21
21
|
"rxjs": "~6.6.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"tslib": "^2.3.0"
|
|
25
25
|
},
|
|
26
|
-
"module": "
|
|
27
|
-
"
|
|
28
|
-
"esm2020": "esm2020/ngx-vector-components.mjs",
|
|
29
|
-
"fesm2020": "fesm2020/ngx-vector-components.mjs",
|
|
30
|
-
"fesm2015": "fesm2015/ngx-vector-components.mjs",
|
|
31
|
-
"typings": "ngx-vector-components.d.ts",
|
|
26
|
+
"module": "fesm2022/ngx-vector-components.mjs",
|
|
27
|
+
"typings": "index.d.ts",
|
|
32
28
|
"exports": {
|
|
33
29
|
"./package.json": {
|
|
34
30
|
"default": "./package.json"
|
|
35
31
|
},
|
|
36
32
|
".": {
|
|
37
|
-
"types": "./
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"node": "./fesm2015/ngx-vector-components.mjs",
|
|
42
|
-
"default": "./fesm2020/ngx-vector-components.mjs"
|
|
33
|
+
"types": "./index.d.ts",
|
|
34
|
+
"esm2022": "./esm2022/ngx-vector-components.mjs",
|
|
35
|
+
"esm": "./esm2022/ngx-vector-components.mjs",
|
|
36
|
+
"default": "./fesm2022/ngx-vector-components.mjs"
|
|
43
37
|
}
|
|
44
38
|
},
|
|
45
39
|
"sideEffects": false
|
package/public-api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './lib/components';
|
|
2
|
-
export * from './lib/guards';
|
|
3
|
-
export * from './lib/interceptors';
|
|
4
|
-
export * from './lib/models';
|
|
5
|
-
export * from './lib/pipes';
|
|
6
|
-
export * from './lib/resolvers';
|
|
7
|
-
export * from './lib/services';
|
|
8
|
-
export * from './lib/utils';
|
|
1
|
+
export * from './lib/components';
|
|
2
|
+
export * from './lib/guards';
|
|
3
|
+
export * from './lib/interceptors';
|
|
4
|
+
export * from './lib/models';
|
|
5
|
+
export * from './lib/pipes';
|
|
6
|
+
export * from './lib/resolvers';
|
|
7
|
+
export * from './lib/services';
|
|
8
|
+
export * from './lib/utils';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { TooltipModule } from 'primeng/tooltip';
|
|
3
|
-
import { SharedModule } from '../../shared/shared.module';
|
|
4
|
-
import { BadgeComponent } from './badge.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class BadgeModule {
|
|
7
|
-
}
|
|
8
|
-
BadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
BadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BadgeModule, declarations: [BadgeComponent], imports: [SharedModule, TooltipModule], exports: [BadgeComponent] });
|
|
10
|
-
BadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BadgeModule, imports: [[SharedModule, TooltipModule]] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BadgeModule, decorators: [{
|
|
12
|
-
type: NgModule,
|
|
13
|
-
args: [{
|
|
14
|
-
declarations: [BadgeComponent],
|
|
15
|
-
imports: [SharedModule, TooltipModule],
|
|
16
|
-
exports: [BadgeComponent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sgU2hhcmVkTW9kdWxlIH0gZnJvbSAnLi4vLi4vc2hhcmVkL3NoYXJlZC5tb2R1bGUnO1xyXG5pbXBvcnQgeyBCYWRnZUNvbXBvbmVudCB9IGZyb20gJy4vYmFkZ2UuY29tcG9uZW50JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbQmFkZ2VDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtTaGFyZWRNb2R1bGUsIFRvb2x0aXBNb2R1bGVdLFxyXG4gIGV4cG9ydHM6IFtCYWRnZUNvbXBvbmVudF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBCYWRnZU1vZHVsZSB7fVxyXG4iXX0=
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { SharedModule } from '../../shared/shared.module';
|
|
3
|
-
import { BreadcrumbComponent } from './breadcrumb.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class BreadcrumbModule {
|
|
6
|
-
}
|
|
7
|
-
BreadcrumbModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
BreadcrumbModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BreadcrumbModule, declarations: [BreadcrumbComponent], imports: [SharedModule], exports: [BreadcrumbComponent] });
|
|
9
|
-
BreadcrumbModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BreadcrumbModule, imports: [[SharedModule]] });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: BreadcrumbModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [BreadcrumbComponent],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c7XHJcbmltcG9ydCB7IEJyZWFkY3J1bWJDb21wb25lbnQgfSBmcm9tICcuL2JyZWFkY3J1bWIuY29tcG9uZW50JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbQnJlYWRjcnVtYkNvbXBvbmVudF0sXHJcbiAgZXhwb3J0czogW0JyZWFkY3J1bWJDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtTaGFyZWRNb2R1bGVdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQnJlYWRjcnVtYk1vZHVsZSB7fVxyXG4iXX0=
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { CrudMode } from '../../models/crud-mode.enum';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/router";
|
|
7
|
-
export class CrudBaseComponent {
|
|
8
|
-
constructor(activatedRoute) {
|
|
9
|
-
this.activatedRoute = activatedRoute;
|
|
10
|
-
this.crudMode = CrudMode.NEW;
|
|
11
|
-
this.isReadonly = false;
|
|
12
|
-
this.form = new FormGroup({});
|
|
13
|
-
this.subscription = new Subscription();
|
|
14
|
-
this.crudMode = this.getCrudModeByRoute(this.activatedRoute.snapshot.url[0].path);
|
|
15
|
-
this.isReadonly = this.crudMode === CrudMode.VIEW;
|
|
16
|
-
}
|
|
17
|
-
ngOnDestroy() {
|
|
18
|
-
this.subscription.unsubscribe();
|
|
19
|
-
}
|
|
20
|
-
isInsertion() {
|
|
21
|
-
return this.crudMode === CrudMode.NEW;
|
|
22
|
-
}
|
|
23
|
-
isEdition() {
|
|
24
|
-
return this.crudMode === CrudMode.EDIT;
|
|
25
|
-
}
|
|
26
|
-
getCrudModeByRoute(route) {
|
|
27
|
-
switch (route) {
|
|
28
|
-
case 'new':
|
|
29
|
-
return CrudMode.NEW;
|
|
30
|
-
case 'edit':
|
|
31
|
-
return CrudMode.EDIT;
|
|
32
|
-
case 'view':
|
|
33
|
-
return CrudMode.VIEW;
|
|
34
|
-
default:
|
|
35
|
-
return CrudMode.NEW;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
CrudBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudBaseComponent, deps: [{ token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
CrudBaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: CrudBaseComponent, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudBaseComponent, decorators: [{
|
|
42
|
-
type: Component,
|
|
43
|
-
args: [{
|
|
44
|
-
template: '',
|
|
45
|
-
}]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }]; } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3J1ZC1iYXNlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC12ZWN0b3ItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY3J1ZC1iYXNlL2NydWQtYmFzZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUNyRCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFM0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNwQyxPQUFPLEV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kge1xyXG4gICAgdGhpcy5jcnVkTW9kZSA9IHRoaXMuZ2V0Q3J1ZE1vZGVCeVJvdXRlKHRoaXMuYWN0aXZhdGVkUm91dGUuc25hcHNob3QudXJsWzBdLnBhdGgpO1xyXG4gICAgdGhpcy5pc1JlYWRvbmx5ID0gdGhpcy5jcnVkTW9kZSA9PT0gQ3J1ZE1vZGUuVklFVztcclxuICB9XHJcblxyXG4gIG5nT25EZXN0cm95KCk6IHZvaWQge1xyXG4gICAgdGhpcy5zdWJzY3JpcHRpb24udW5zdWJzY3JpYmUoKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBpc0luc2VydGlvbigpIHtcclxuICAgIHJldHVybiB0aGlzLmNydWRNb2RlID09PSBDcnVkTW9kZS5ORVc7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgaXNFZGl0aW9uKCkge1xyXG4gICAgcmV0dXJuIHRoaXMuY3J1ZE1vZGUgPT09IENydWRNb2RlLkVESVQ7XHJcbiAgfVxyXG5cclxuICBwcml2YXRlIGdldENydWRNb2RlQnlSb3V0ZShyb3V0ZTogc3RyaW5nKSB7XHJcbiAgICBzd2l0Y2ggKHJvdXRlKSB7XHJcbiAgICAgIGNhc2UgJ25ldyc6XHJcbiAgICAgICAgcmV0dXJuIENydWRNb2RlLk5FVztcclxuICAgICAgY2FzZSAnZWRpdCc6XHJcbiAgICAgICAgcmV0dXJuIENydWRNb2RlLkVESVQ7XHJcbiAgICAgIGNhc2UgJ3ZpZXcnOlxyXG4gICAgICAgIHJldHVybiBDcnVkTW9kZS5WSUVXO1xyXG4gICAgICBkZWZhdWx0OlxyXG4gICAgICAgIHJldHVybiBDcnVkTW9kZS5ORVc7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
3
|
-
import { SharedModule } from '../../shared/shared.module';
|
|
4
|
-
import { FieldsModule } from '../fields/fields.module';
|
|
5
|
-
import { CrudFooterComponent } from './crud-footer.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class FooterModule {
|
|
8
|
-
}
|
|
9
|
-
FooterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: FooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
FooterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: FooterModule, declarations: [CrudFooterComponent], imports: [SharedModule, FieldsModule, TranslateModule], exports: [CrudFooterComponent, TranslateModule] });
|
|
11
|
-
FooterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: FooterModule, imports: [[SharedModule, FieldsModule, TranslateModule], TranslateModule] });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: FooterModule, decorators: [{
|
|
13
|
-
type: NgModule,
|
|
14
|
-
args: [{
|
|
15
|
-
declarations: [CrudFooterComponent],
|
|
16
|
-
exports: [CrudFooterComponent, TranslateModule],
|
|
17
|
-
imports: [SharedModule, FieldsModule, TranslateModule],
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3J1ZC1mb290ZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZlY3Rvci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jcnVkLWZvb3Rlci9jcnVkLWZvb3Rlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQW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W50IH0gZnJvbSAnLi9jcnVkLWZvb3Rlci5jb21wb25lbnQnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtDcnVkRm9vdGVyQ29tcG9uZW50XSxcclxuICBleHBvcnRzOiBbQ3J1ZEZvb3RlckNvbXBvbmVudCwgVHJhbnNsYXRlTW9kdWxlXSxcclxuICBpbXBvcnRzOiBbU2hhcmVkTW9kdWxlLCBGaWVsZHNNb2R1bGUsIFRyYW5zbGF0ZU1vZHVsZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb290ZXJNb2R1bGUge31cclxuIl19
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { Status } from '../../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../badge/badge.component";
|
|
5
|
-
export class CrudHeaderComponent {
|
|
6
|
-
constructor() { }
|
|
7
|
-
get statusLabel() {
|
|
8
|
-
switch (this.statusCode) {
|
|
9
|
-
case Status.PENDING:
|
|
10
|
-
return 'Pendente';
|
|
11
|
-
case Status.APPROVED:
|
|
12
|
-
return 'Ativo';
|
|
13
|
-
case Status.REJECTED:
|
|
14
|
-
return 'Inativo';
|
|
15
|
-
}
|
|
16
|
-
return '';
|
|
17
|
-
}
|
|
18
|
-
ngOnInit() { }
|
|
19
|
-
}
|
|
20
|
-
CrudHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
CrudHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: CrudHeaderComponent, selector: "vector-crud-header", inputs: { statusCode: "statusCode", code: "code" }, ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"status-container\">\r\n <span>Status</span>\r\n <vector-badge [label]=\"statusLabel\" [type]=\"statusCode\"></vector-badge>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <span class=\"code-label\"\r\n >C\u00F3digo de identifica\u00E7\u00E3o<span class=\"code\">{{ code }}</span></span\r\n >\r\n</div>\r\n", styles: [".container{display:flex;align-items:center;margin-bottom:15px;justify-content:space-between;flex-wrap:wrap}@media (min-width: 441px){.container{justify-content:flex-end;height:40px}}.container .status-container{display:flex;align-items:center}.container .status-container vector-badge{margin-left:15px}.container .separator{width:1px;height:100%;margin:0 20px;background-color:var(--gray-medium)}@media (max-width: 440px){.container .separator{display:none}}.container .code-label{color:var(--form-labels-color);font-size:13px;max-width:150px;line-height:1rem}.container .code-label .code{color:#000;font-weight:600;font-size:20px;margin-left:10px}\n"], components: [{ type: i1.BadgeComponent, selector: "vector-badge", inputs: ["type", "label", "customColor", "customBackgroundColor", "tooltip"] }] });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHeaderComponent, decorators: [{
|
|
23
|
-
type: Component,
|
|
24
|
-
args: [{ selector: 'vector-crud-header', template: "<div class=\"container\">\r\n <div class=\"status-container\">\r\n <span>Status</span>\r\n <vector-badge [label]=\"statusLabel\" [type]=\"statusCode\"></vector-badge>\r\n </div>\r\n <div class=\"separator\"></div>\r\n <span class=\"code-label\"\r\n >C\u00F3digo de identifica\u00E7\u00E3o<span class=\"code\">{{ code }}</span></span\r\n >\r\n</div>\r\n", styles: [".container{display:flex;align-items:center;margin-bottom:15px;justify-content:space-between;flex-wrap:wrap}@media (min-width: 441px){.container{justify-content:flex-end;height:40px}}.container .status-container{display:flex;align-items:center}.container .status-container vector-badge{margin-left:15px}.container .separator{width:1px;height:100%;margin:0 20px;background-color:var(--gray-medium)}@media (max-width: 440px){.container .separator{display:none}}.container .code-label{color:var(--form-labels-color);font-size:13px;max-width:150px;line-height:1rem}.container .code-label .code{color:#000;font-weight:600;font-size:20px;margin-left:10px}\n"] }]
|
|
25
|
-
}], ctorParameters: function () { return []; }, propDecorators: { statusCode: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], code: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}] } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3J1ZC1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZlY3Rvci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jcnVkLWhlYWRlci9jcnVkLWhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdmVjdG9yLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NydWQtaGVhZGVyL2NydWQtaGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxjQUFjLENBQUM7OztBQU90QyxNQUFNLE9BQU8sbUJBQW1CO0lBa0I5QixnQkFBZSxDQUFDO0lBWmhCLElBQUksV0FBVztRQUNiLFFBQVEsSUFBSSxDQUFDLFVBQVUsRUFBRTtZQUN2QixLQUFLLE1BQU0sQ0FBQyxPQUFPO2dCQUNqQixPQUFPLFVBQVUsQ0FBQztZQUNwQixLQUFLLE1BQU0sQ0FBQyxRQUFRO2dCQUNsQixPQUFPLE9BQU8sQ0FBQztZQUNqQixLQUFLLE1BQU0sQ0FBQyxRQUFRO2dCQUNsQixPQUFPLFNBQVMsQ0FBQztTQUNwQjtRQUNELE9BQU8sRUFBRSxDQUFDO0lBQ1osQ0FBQztJQUlELFFBQVEsS0FBVSxDQUFDOztnSEFwQlIsbUJ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G4gIGNvbnN0cnVjdG9yKCkge31cclxuXHJcbiAgbmdPbkluaXQoKTogdm9pZCB7fVxyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJjb250YWluZXJcIj5cclxuICA8ZGl2IGNsYXNzPVwic3RhdHVzLWNvbnRhaW5lclwiPlxyXG4gICAgPHNwYW4+U3RhdHVzPC9zcGFuPlxyXG4gICAgPHZlY3Rvci1iYWRnZSBbbGFiZWxdPVwic3RhdHVzTGFiZWxcIiBbdHlwZV09XCJzdGF0dXNDb2RlXCI+PC92ZWN0b3ItYmFkZ2U+XHJcbiAgPC9kaXY+XHJcbiAgPGRpdiBjbGFzcz1cInNlcGFyYXRvclwiPjwvZGl2PlxyXG4gIDxzcGFuIGNsYXNzPVwiY29kZS1sYWJlbFwiXHJcbiAgICA+Q8OzZGlnbyBkZSBpZGVudGlmaWNhw6fDo288c3BhbiBjbGFzcz1cImNvZGVcIj57eyBjb2RlIH19PC9zcGFuPjwvc3BhblxyXG4gID5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { SharedModule } from '../../shared/shared.module';
|
|
3
|
-
import { BadgeModule } from '../badge';
|
|
4
|
-
import { CrudHeaderComponent } from './crud-header.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class CrudHeaderModule {
|
|
7
|
-
}
|
|
8
|
-
CrudHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
CrudHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHeaderModule, declarations: [CrudHeaderComponent], imports: [SharedModule, BadgeModule], exports: [CrudHeaderComponent] });
|
|
10
|
-
CrudHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHeaderModule, imports: [[SharedModule, BadgeModule]] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHeaderModule, decorators: [{
|
|
12
|
-
type: NgModule,
|
|
13
|
-
args: [{
|
|
14
|
-
declarations: [CrudHeaderComponent],
|
|
15
|
-
imports: [SharedModule, BadgeModule],
|
|
16
|
-
exports: [CrudHeaderComponent],
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3J1ZC1oZWFkZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZlY3Rvci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jcnVkLWhlYWRlci9jcnVkLWhlYWRlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDMUQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUN2QyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7QUFPOUQsTUFBTSxPQUFPLGdCQUFnQjs7NkdBQWhCLGdCQUFnQjs4R0FBaEIsZ0JBQWdCLGlCQUpaLG1CQUFtQixhQUN4QixZQUFZLEVBQUUsV0FBVyxhQUN6QixtQkFBbUI7OEdBRWxCLGdCQUFnQixZQUhsQixDQUFDLFlBQVksRUFBRSxXQUFXLENBQUM7MkZBR3pCLGdCQUFnQjtrQkFMNUIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztvQkFDbkMsT0FBTyxFQUFFLENBQUMsWUFBWSxFQUFFLFdBQVcsQ0FBQztvQkFDcEMsT0FBTyxFQUFFLENBQUMsbUJBQW1CLENBQUM7aUJBQy9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgU2hhcmVkTW9kdWxlIH0gZnJvbSAnLi4vLi4vc2hhcmVkL3NoYXJlZC5tb2R1bGUnO1xyXG5pbXBvcnQgeyBCYWRnZU1vZHVsZSB9IGZyb20gJy4uL2JhZGdlJztcclxuaW1wb3J0IHsgQ3J1ZEhlYWRlckNvbXBvbmVudCB9IGZyb20gJy4vY3J1ZC1oZWFkZXIuY29tcG9uZW50JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbQ3J1ZEhlYWRlckNvbXBvbmVudF0sXHJcbiAgaW1wb3J0czogW1NoYXJlZE1vZHVsZSwgQmFkZ2VNb2R1bGVdLFxyXG4gIGV4cG9ydHM6IFtDcnVkSGVhZGVyQ29tcG9uZW50XSxcclxufSlcclxuZXhwb3J0IGNsYXNzIENydWRIZWFkZXJNb2R1bGUge31cclxuIl19
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { AccordionModule } from 'primeng/accordion';
|
|
3
|
-
import { SharedModule } from '../../shared/shared.module';
|
|
4
|
-
import { BadgeModule } from '../badge';
|
|
5
|
-
import { CrudHistoryComponent } from './crud-history.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class CrudHistoryModule {
|
|
8
|
-
}
|
|
9
|
-
CrudHistoryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHistoryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
CrudHistoryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHistoryModule, declarations: [CrudHistoryComponent], imports: [SharedModule, BadgeModule, AccordionModule], exports: [CrudHistoryComponent] });
|
|
11
|
-
CrudHistoryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHistoryModule, imports: [[SharedModule, BadgeModule, AccordionModule]] });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CrudHistoryModule, decorators: [{
|
|
13
|
-
type: NgModule,
|
|
14
|
-
args: [{
|
|
15
|
-
declarations: [CrudHistoryComponent],
|
|
16
|
-
imports: [SharedModule, BadgeModule, AccordionModule],
|
|
17
|
-
exports: [CrudHistoryComponent],
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3J1ZC1oaXN0b3J5Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC12ZWN0b3ItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY3J1ZC1oaXN0b3J5L2NydWQtaGlzdG9yeS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDcEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzFELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDdkMsT0FBTyxFQUFFLG9CQUFvQix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