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,3 +1,3 @@
|
|
|
1
|
-
export * from './crud-header.component';
|
|
2
|
-
export * from './crud-header.module';
|
|
1
|
+
export * from './crud-header.component';
|
|
2
|
+
export * from './crud-header.module';
|
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdmVjdG9yLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NydWQtaGVhZGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxzQkFBc0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY3J1ZC1oZWFkZXIuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9jcnVkLWhlYWRlci5tb2R1bGUnO1xyXG4iXX0=
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "
|
|
4
|
-
import * as i2 from "../badge/badge.component";
|
|
5
|
-
import * as i3 from "
|
|
6
|
-
import * as i4 from "primeng/api";
|
|
7
|
-
export class CrudHistoryComponent {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.onClick = new EventEmitter();
|
|
10
|
-
}
|
|
11
|
-
getHistoryBadgeBackgroundColor(crudHistoryEventType) {
|
|
12
|
-
switch (crudHistoryEventType) {
|
|
13
|
-
case 'ActionCreate':
|
|
14
|
-
return '#CBFFAE';
|
|
15
|
-
case 'ActionUpdate':
|
|
16
|
-
return '#FFE6B0';
|
|
17
|
-
case 'ActionDelete':
|
|
18
|
-
return 'Removido';
|
|
19
|
-
case 'ActionUpdate-OnComposition':
|
|
20
|
-
return '#FFE6B0';
|
|
21
|
-
case 'ActionUpdate-OnUnit':
|
|
22
|
-
return '#FFE6B0';
|
|
23
|
-
case 'ActionCreate-OnComposition':
|
|
24
|
-
return '#CBFFAE';
|
|
25
|
-
case 'ActionCancel':
|
|
26
|
-
return '#FFE6B0';
|
|
27
|
-
default:
|
|
28
|
-
return '';
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
getHistoryBadgeColor(crudHistoryEventType) {
|
|
32
|
-
switch (crudHistoryEventType) {
|
|
33
|
-
case 'ActionCreate':
|
|
34
|
-
return '#067306';
|
|
35
|
-
case 'ActionUpdate':
|
|
36
|
-
return '#946300';
|
|
37
|
-
case 'ActionDelete':
|
|
38
|
-
return '#6B2D2D';
|
|
39
|
-
case 'ActionUpdate-OnComposition':
|
|
40
|
-
return '#946300';
|
|
41
|
-
case 'ActionUpdate-OnUnit':
|
|
42
|
-
return '#946300';
|
|
43
|
-
case 'ActionCreate-OnComposition':
|
|
44
|
-
return '#067306';
|
|
45
|
-
case 'ActionCancel':
|
|
46
|
-
return '#946300';
|
|
47
|
-
default:
|
|
48
|
-
return '';
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
getHistoryBadgeLabel(crudHistoryEventType) {
|
|
52
|
-
switch (crudHistoryEventType) {
|
|
53
|
-
case 'ActionCreate':
|
|
54
|
-
return 'Criado';
|
|
55
|
-
case 'ActionUpdate':
|
|
56
|
-
return 'Modificado';
|
|
57
|
-
case 'ActionDelete':
|
|
58
|
-
return 'Removido';
|
|
59
|
-
case 'ActionUpdate-OnComposition':
|
|
60
|
-
return 'Composição Modificada';
|
|
61
|
-
case 'ActionUpdate-OnUnit':
|
|
62
|
-
return 'Unidade Modificada';
|
|
63
|
-
case 'ActionCreate-OnComposition':
|
|
64
|
-
return 'Composição Criada';
|
|
65
|
-
case 'ActionCancel':
|
|
66
|
-
return 'Modificado';
|
|
67
|
-
default:
|
|
68
|
-
return '';
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
75
|
-
type: Component,
|
|
76
|
-
args: [{ selector: 'vector-crud-history', template: "<p-accordionTab *ngIf=\"crudHistory\" class=\"history-item\">\r\n <ng-template pTemplate=\"header\">\r\n <div class=\"history-item-header-container\" (click)=\"onClick.emit()\">\r\n <div class=\"history-item-header-left\">\r\n <span id=\"color-first-span\" *ngIf=\"crudHistory.typeOfModification\">{{ crudHistory.typeOfModification }}</span>\r\n <vector-badge\r\n [customBackgroundColor]=\"getHistoryBadgeBackgroundColor(crudHistory.eventType)\"\r\n [customColor]=\"getHistoryBadgeColor(crudHistory.eventType)\"\r\n [label]=\"getHistoryBadgeLabel(crudHistory.eventType)\"\r\n ></vector-badge>\r\n <span>por {{ crudHistory.modifierName }}</span>\r\n </div>\r\n <span class=\"history-item-header-right\">\r\n {{ crudHistory.dateTime | date : 'dd/MM/yyyy HH:mm' }}\r\n </span>\r\n </div>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <div *ngFor=\"let auditDelta of crudHistory.dataAuditDelta\">\r\n <div class=\"grid\">\r\n <div class=\"col-12 md:col-6 field\">\r\n <span>{{ auditDelta.fieldName }}</span>\r\n </div>\r\n <div class=\"col-12 md:col-6 field\">\r\n <span class=\"new-value\">{{ auditDelta.newValue }}</span>\r\n <s class=\"old-value pl-1\">{{ auditDelta.oldValue }}</s>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</p-accordionTab>\r\n", styles: [".history-item{width:100%;margin:10px 0}.history-item .history-item-header-container{display:flex;align-items:center;justify-content:space-between;width:100%}.history-item .history-item-header-container .history-item-header-left{display:flex;align-items:center}.history-item .history-item-header-container .history-item-header-left span#color-first-span{color:#000;margin-right:10px}.history-item .history-item-header-container .history-item-header-left span{margin-left:15px;color:var(--theme-medium);font-weight:600}.history-item .history-item-header-container .history-item-header-right{font-size:.8rem;color:var(--gray-darker);margin-right:40px}.new-value{color:#83c5be}.old-value{color:#000}\n"] }]
|
|
77
|
-
}], propDecorators: { crudHistory: [{
|
|
78
|
-
type: Input
|
|
79
|
-
}], onClick: [{
|
|
80
|
-
type: Output
|
|
81
|
-
}] } });
|
|
82
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "../badge/badge.component";
|
|
5
|
+
import * as i3 from "primeng/accordion";
|
|
6
|
+
import * as i4 from "primeng/api";
|
|
7
|
+
export class CrudHistoryComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.onClick = new EventEmitter();
|
|
10
|
+
}
|
|
11
|
+
getHistoryBadgeBackgroundColor(crudHistoryEventType) {
|
|
12
|
+
switch (crudHistoryEventType) {
|
|
13
|
+
case 'ActionCreate':
|
|
14
|
+
return '#CBFFAE';
|
|
15
|
+
case 'ActionUpdate':
|
|
16
|
+
return '#FFE6B0';
|
|
17
|
+
case 'ActionDelete':
|
|
18
|
+
return 'Removido';
|
|
19
|
+
case 'ActionUpdate-OnComposition':
|
|
20
|
+
return '#FFE6B0';
|
|
21
|
+
case 'ActionUpdate-OnUnit':
|
|
22
|
+
return '#FFE6B0';
|
|
23
|
+
case 'ActionCreate-OnComposition':
|
|
24
|
+
return '#CBFFAE';
|
|
25
|
+
case 'ActionCancel':
|
|
26
|
+
return '#FFE6B0';
|
|
27
|
+
default:
|
|
28
|
+
return '';
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
getHistoryBadgeColor(crudHistoryEventType) {
|
|
32
|
+
switch (crudHistoryEventType) {
|
|
33
|
+
case 'ActionCreate':
|
|
34
|
+
return '#067306';
|
|
35
|
+
case 'ActionUpdate':
|
|
36
|
+
return '#946300';
|
|
37
|
+
case 'ActionDelete':
|
|
38
|
+
return '#6B2D2D';
|
|
39
|
+
case 'ActionUpdate-OnComposition':
|
|
40
|
+
return '#946300';
|
|
41
|
+
case 'ActionUpdate-OnUnit':
|
|
42
|
+
return '#946300';
|
|
43
|
+
case 'ActionCreate-OnComposition':
|
|
44
|
+
return '#067306';
|
|
45
|
+
case 'ActionCancel':
|
|
46
|
+
return '#946300';
|
|
47
|
+
default:
|
|
48
|
+
return '';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
getHistoryBadgeLabel(crudHistoryEventType) {
|
|
52
|
+
switch (crudHistoryEventType) {
|
|
53
|
+
case 'ActionCreate':
|
|
54
|
+
return 'Criado';
|
|
55
|
+
case 'ActionUpdate':
|
|
56
|
+
return 'Modificado';
|
|
57
|
+
case 'ActionDelete':
|
|
58
|
+
return 'Removido';
|
|
59
|
+
case 'ActionUpdate-OnComposition':
|
|
60
|
+
return 'Composição Modificada';
|
|
61
|
+
case 'ActionUpdate-OnUnit':
|
|
62
|
+
return 'Unidade Modificada';
|
|
63
|
+
case 'ActionCreate-OnComposition':
|
|
64
|
+
return 'Composição Criada';
|
|
65
|
+
case 'ActionCancel':
|
|
66
|
+
return 'Modificado';
|
|
67
|
+
default:
|
|
68
|
+
return '';
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CrudHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
72
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: CrudHistoryComponent, selector: "vector-crud-history", inputs: { crudHistory: "crudHistory" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<p-accordionTab *ngIf=\"crudHistory\" class=\"history-item\">\r\n <ng-template pTemplate=\"header\">\r\n <div class=\"history-item-header-container\" (click)=\"onClick.emit()\">\r\n <div class=\"history-item-header-left\">\r\n <span id=\"color-first-span\" *ngIf=\"crudHistory.typeOfModification\">{{ crudHistory.typeOfModification }}</span>\r\n <vector-badge\r\n [customBackgroundColor]=\"getHistoryBadgeBackgroundColor(crudHistory.eventType)\"\r\n [customColor]=\"getHistoryBadgeColor(crudHistory.eventType)\"\r\n [label]=\"getHistoryBadgeLabel(crudHistory.eventType)\"\r\n ></vector-badge>\r\n <span>por {{ crudHistory.modifierName }}</span>\r\n </div>\r\n <span class=\"history-item-header-right\">\r\n {{ crudHistory.dateTime | date : 'dd/MM/yyyy HH:mm' }}\r\n </span>\r\n </div>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <div *ngFor=\"let auditDelta of crudHistory.dataAuditDelta\">\r\n <div class=\"grid\">\r\n <div class=\"col-12 md:col-6 field\">\r\n <span>{{ auditDelta.fieldName }}</span>\r\n </div>\r\n <div class=\"col-12 md:col-6 field\">\r\n <span class=\"new-value\">{{ auditDelta.newValue }}</span>\r\n <s class=\"old-value pl-1\">{{ auditDelta.oldValue }}</s>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</p-accordionTab>\r\n", styles: [".history-item{width:100%;margin:10px 0}.history-item .history-item-header-container{display:flex;align-items:center;justify-content:space-between;width:100%}.history-item .history-item-header-container .history-item-header-left{display:flex;align-items:center}.history-item .history-item-header-container .history-item-header-left span#color-first-span{color:#000;margin-right:10px}.history-item .history-item-header-container .history-item-header-left span{margin-left:15px;color:var(--theme-medium);font-weight:600}.history-item .history-item-header-container .history-item-header-right{font-size:.8rem;color:var(--gray-darker);margin-right:40px}.new-value{color:#83c5be}.old-value{color:#000}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.BadgeComponent, selector: "vector-badge", inputs: ["type", "label", "customColor", "customBackgroundColor", "tooltip"] }, { kind: "component", type: i3.AccordionTab, selector: "p-accordionTab", inputs: ["id", "header", "headerStyle", "tabStyle", "contentStyle", "tabStyleClass", "headerStyleClass", "contentStyleClass", "disabled", "cache", "transitionOptions", "iconPos", "selected"], outputs: ["selectedChange"] }, { kind: "directive", type: i4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "pipe", type: i1.DatePipe, name: "date" }] }); }
|
|
73
|
+
}
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CrudHistoryComponent, decorators: [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{ selector: 'vector-crud-history', template: "<p-accordionTab *ngIf=\"crudHistory\" class=\"history-item\">\r\n <ng-template pTemplate=\"header\">\r\n <div class=\"history-item-header-container\" (click)=\"onClick.emit()\">\r\n <div class=\"history-item-header-left\">\r\n <span id=\"color-first-span\" *ngIf=\"crudHistory.typeOfModification\">{{ crudHistory.typeOfModification }}</span>\r\n <vector-badge\r\n [customBackgroundColor]=\"getHistoryBadgeBackgroundColor(crudHistory.eventType)\"\r\n [customColor]=\"getHistoryBadgeColor(crudHistory.eventType)\"\r\n [label]=\"getHistoryBadgeLabel(crudHistory.eventType)\"\r\n ></vector-badge>\r\n <span>por {{ crudHistory.modifierName }}</span>\r\n </div>\r\n <span class=\"history-item-header-right\">\r\n {{ crudHistory.dateTime | date : 'dd/MM/yyyy HH:mm' }}\r\n </span>\r\n </div>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <div *ngFor=\"let auditDelta of crudHistory.dataAuditDelta\">\r\n <div class=\"grid\">\r\n <div class=\"col-12 md:col-6 field\">\r\n <span>{{ auditDelta.fieldName }}</span>\r\n </div>\r\n <div class=\"col-12 md:col-6 field\">\r\n <span class=\"new-value\">{{ auditDelta.newValue }}</span>\r\n <s class=\"old-value pl-1\">{{ auditDelta.oldValue }}</s>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</p-accordionTab>\r\n", styles: [".history-item{width:100%;margin:10px 0}.history-item .history-item-header-container{display:flex;align-items:center;justify-content:space-between;width:100%}.history-item .history-item-header-container .history-item-header-left{display:flex;align-items:center}.history-item .history-item-header-container .history-item-header-left span#color-first-span{color:#000;margin-right:10px}.history-item .history-item-header-container .history-item-header-left span{margin-left:15px;color:var(--theme-medium);font-weight:600}.history-item .history-item-header-container .history-item-header-right{font-size:.8rem;color:var(--gray-darker);margin-right:40px}.new-value{color:#83c5be}.old-value{color:#000}\n"] }]
|
|
77
|
+
}], propDecorators: { crudHistory: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], onClick: [{
|
|
80
|
+
type: Output
|
|
81
|
+
}] } });
|
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3J1ZC1oaXN0b3J5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC12ZWN0b3ItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY3J1ZC1oaXN0b3J5L2NydWQtaGlzdG9yeS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdmVjdG9yLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NydWQtaGlzdG9yeS9jcnVkLWhpc3RvcnkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7O0FBUXZFLE1BQU0sT0FBTyxvQkFBb0I7SUFMakM7UUFTUyxZQUFPLEdBQUcsSUFBSSxZQUFZLEVBQU8sQ0FBQztLQStEMUM7SUE5RFEsOEJBQThCLENBQUMsb0JBQTZCO1FBQ2pFLFFBQVEsb0JBQW9CLEVBQUU7WUFDNUIsS0FBSyxjQUFjO2dCQUNqQixPQUFPLFNBQVMsQ0FBQztZQUNuQixLQUFLLGNBQWM7Z0JBQ2pCLE9BQU8sU0FBUyxDQUFDO1lBQ25CLEtBQUssY0FBYztnQkFD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lxyXG4gIDwvbmctdGVtcGxhdGU+XHJcbjwvcC1hY2NvcmRpb25UYWI+XHJcbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CrudHistoryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: CrudHistoryModule, declarations: [CrudHistoryComponent], imports: [SharedModule, BadgeModule, AccordionModule], exports: [CrudHistoryComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CrudHistoryModule, imports: [SharedModule, BadgeModule, AccordionModule] }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3J1ZC1oaXN0b3J5Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy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zaGFyZWQvc2hhcmVkLm1vZHVsZSc7XHJcbmltcG9ydCB7IEJhZGdlTW9kdWxlIH0gZnJvbSAnLi4vYmFkZ2UnO1xyXG5pbXBvcnQgeyBDcnVkSGlzdG9yeUNvbXBvbmVudCB9IGZyb20gJy4vY3J1ZC1oaXN0b3J5LmNvbXBvbmVudCc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW0NydWRIaXN0b3J5Q29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbU2hhcmVkTW9kdWxlLCBCYWRnZU1vZHVsZSwgQWNjb3JkaW9uTW9kdWxlXSxcclxuICBleHBvcnRzOiBbQ3J1ZEhpc3RvcnlDb21wb25lbnRdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ3J1ZEhpc3RvcnlNb2R1bGUge31cclxuIl19
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './crud-history.component';
|
|
2
|
-
export * from './crud-history.module';
|
|
1
|
+
export * from './crud-history.component';
|
|
2
|
+
export * from './crud-history.module';
|
|
3
3
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdmVjdG9yLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NydWQtaGlzdG9yeS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NydWQtaGlzdG9yeS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NydWQtaGlzdG9yeS5tb2R1bGUnO1xyXG4iXX0=
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "primeng/button";
|
|
4
|
-
export class ButtonComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.disabled = false;
|
|
7
|
-
this.label = '';
|
|
8
|
-
this.type = 'default';
|
|
9
|
-
this.leftIcon = '';
|
|
10
|
-
this.rightIcon = '';
|
|
11
|
-
this.noShadow = false;
|
|
12
|
-
this.style = {};
|
|
13
|
-
this.onClick = new EventEmitter();
|
|
14
|
-
}
|
|
15
|
-
get styleClass() {
|
|
16
|
-
return `button shadow-3 ${this.type} ${this.noShadow && 'no-shadow'}`;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{ selector: 'vector-button', template: "<p-button\r\n [styleClass]=\"styleClass\"\r\n [label]=\"label\"\r\n [disabled]=\"disabled\"\r\n [icon]=\"leftIcon || rightIcon\"\r\n [iconPos]=\"rightIcon ? 'right' : 'left'\"\r\n [style]=\"style\"\r\n (onClick)=\"onClick.emit($event)\"\r\n></p-button>\r\n"
|
|
24
|
-
}], propDecorators: { disabled: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}], label: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}], type: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], leftIcon: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], rightIcon: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}], noShadow: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], style: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], onClick: [{
|
|
39
|
-
type: Output
|
|
40
|
-
}] } });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "primeng/button";
|
|
4
|
+
export class ButtonComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.disabled = false;
|
|
7
|
+
this.label = '';
|
|
8
|
+
this.type = 'default';
|
|
9
|
+
this.leftIcon = '';
|
|
10
|
+
this.rightIcon = '';
|
|
11
|
+
this.noShadow = false;
|
|
12
|
+
this.style = {};
|
|
13
|
+
this.onClick = new EventEmitter();
|
|
14
|
+
}
|
|
15
|
+
get styleClass() {
|
|
16
|
+
return `button shadow-3 ${this.type} ${this.noShadow && 'no-shadow'}`;
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: ButtonComponent, selector: "vector-button", inputs: { disabled: "disabled", label: "label", type: "type", leftIcon: "leftIcon", rightIcon: "rightIcon", noShadow: "noShadow", style: "style" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<p-button\r\n [styleClass]=\"styleClass\"\r\n [label]=\"label\"\r\n [disabled]=\"disabled\"\r\n [icon]=\"leftIcon || rightIcon\"\r\n [iconPos]=\"rightIcon ? 'right' : 'left'\"\r\n [style]=\"style\"\r\n (onClick)=\"onClick.emit($event)\"\r\n></p-button>\r\n", styles: [""], dependencies: [{ kind: "component", type: i1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }] }); }
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'vector-button', template: "<p-button\r\n [styleClass]=\"styleClass\"\r\n [label]=\"label\"\r\n [disabled]=\"disabled\"\r\n [icon]=\"leftIcon || rightIcon\"\r\n [iconPos]=\"rightIcon ? 'right' : 'left'\"\r\n [style]=\"style\"\r\n (onClick)=\"onClick.emit($event)\"\r\n></p-button>\r\n" }]
|
|
24
|
+
}], propDecorators: { disabled: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}], label: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}], type: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], leftIcon: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], rightIcon: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], noShadow: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], style: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], onClick: [{
|
|
39
|
+
type: Output
|
|
40
|
+
}] } });
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC12ZWN0b3ItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvZmllbGRzL2J1dHRvbi9idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZlY3Rvci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9maWVsZHMvYnV0dG9uL2J1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFTdkUsTUFBTSxPQUFPLGVBQWU7SUFMNUI7UUFPUyxhQUFRLEdBQUc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ZnQnXCJcclxuICBbc3R5bGVdPVwic3R5bGVcIlxyXG4gIChvbkNsaWNrKT1cIm9uQ2xpY2suZW1pdCgkZXZlbnQpXCJcclxuPjwvcC1idXR0b24+XHJcbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './button.component';
|
|
1
|
+
export * from './button.component';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdmVjdG9yLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2ZpZWxkcy9idXR0b24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYnV0dG9uLmNvbXBvbmVudCc7XHJcbiJdfQ==
|
package/{esm2020 → esm2022}/lib/components/fields/calendar-field/calendar-field.component.mjs
RENAMED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { DateTime } from 'luxon';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../services";
|
|
5
|
-
import * as i2 from "
|
|
6
|
-
import * as i3 from "
|
|
7
|
-
import * as i4 from "
|
|
8
|
-
import * as i5 from "
|
|
9
|
-
export class CalendarComponent {
|
|
10
|
-
|
|
11
|
-
this.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
fieldErrorLabel() {
|
|
30
|
-
if (this.control && this.control.invalid && this.control.touched) {
|
|
31
|
-
if (this.control.hasError('required')) {
|
|
32
|
-
return 'Campo obrigatório';
|
|
33
|
-
}
|
|
34
|
-
if (this.control.hasError('maxlength')) {
|
|
35
|
-
return `Tamanho máximo permitido: ${this.control.errors['maxlength'].requiredLength}`;
|
|
36
|
-
}
|
|
37
|
-
return 'Campo inválido';
|
|
38
|
-
}
|
|
39
|
-
return '';
|
|
40
|
-
}
|
|
41
|
-
onShowCalendar() {
|
|
42
|
-
this.modalService.showModalBackground$.next(true);
|
|
43
|
-
}
|
|
44
|
-
onHideCalendar() {
|
|
45
|
-
this.modalService.showModalBackground$.next(false);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{ selector: 'vector-calendar-field', template: "<div class=\"relative\">\r\n <div class=\"input-container\">\r\n <p-calendar\r\n appendTo=\"body\"\r\n [formControl]=\"control\"\r\n [showOnFocus]=\"showCalendarOnFocus\"\r\n [minDate]=\"min\"\r\n [maxDate]=\"max\"\r\n icon=\"fas fa-calendar-day\"\r\n [showIcon]=\"true\"\r\n [disabledDates]=\"disabledDates\"\r\n [readonlyInput]=\"false\"\r\n (onShow)=\"onShowCalendar()\"\r\n (onClose)=\"onHideCalendar()\"\r\n [disabled]=\"disabled\"\r\n [defaultDate]=\"defaultDate\"\r\n ></p-calendar>\r\n </div>\r\n <vector-field-error-message *ngIf=\"!hiddenErrorMessage\" [control]=\"control\"></vector-field-error-message>\r\n</div>\r\n", styles: [".input-container input{transition:border-width ease-in-out .08s;border:1px solid rgba(0,0,0,.6);width:100%;padding:6px 30px 6px 12px;font-size:14px;line-height:1.5em;border-radius:var(--border-radius);height:40px}.input-container input:disabled{cursor:not-allowed;background-color:var(--disabled-background);opacity:1}.input-container input:focus{outline:0;box-shadow:none;border-width:2px}.input-container input::placeholder{color:var(--placeholder-color);font-size:12px}.input-container input.ng-touched.ng-invalid{border-color:var(--error-color)!important}.input-container .input-error{font-size:.7em;color:var(--error-color)}\n"] }]
|
|
53
|
-
}], ctorParameters: function () { return [{ type: i1.ModalService }]; }, propDecorators: { isRequired: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], control: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}], label: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], showCalendarOnFocus: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}], min: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], max: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], disabledDates: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], disabled: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], defaultDate: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], hiddenErrorMessage: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}] } });
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { DateTime } from 'luxon';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../services";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "primeng/calendar";
|
|
8
|
+
import * as i5 from "../field-error-message/field-error-message.component";
|
|
9
|
+
export class CalendarComponent {
|
|
10
|
+
get placeholder() {
|
|
11
|
+
if (!this.label) {
|
|
12
|
+
return '';
|
|
13
|
+
}
|
|
14
|
+
return `${this.label}${this.isRequired ? '*' : ''}`;
|
|
15
|
+
}
|
|
16
|
+
constructor(modalService) {
|
|
17
|
+
this.modalService = modalService;
|
|
18
|
+
this.isRequired = false;
|
|
19
|
+
this.label = '';
|
|
20
|
+
this.showCalendarOnFocus = true;
|
|
21
|
+
this.min = DateTime.fromFormat('01/01/1900', 'dd/MM/yyyy').toJSDate();
|
|
22
|
+
this.max = DateTime.now().startOf('day').plus({ years: 1 }).toJSDate();
|
|
23
|
+
this.disabledDates = [];
|
|
24
|
+
this.disabled = false;
|
|
25
|
+
this.defaultDate = DateTime.now().toJSDate();
|
|
26
|
+
this.hiddenErrorMessage = false;
|
|
27
|
+
this.keyFilter = '';
|
|
28
|
+
}
|
|
29
|
+
fieldErrorLabel() {
|
|
30
|
+
if (this.control && this.control.invalid && this.control.touched) {
|
|
31
|
+
if (this.control.hasError('required')) {
|
|
32
|
+
return 'Campo obrigatório';
|
|
33
|
+
}
|
|
34
|
+
if (this.control.hasError('maxlength')) {
|
|
35
|
+
return `Tamanho máximo permitido: ${this.control.errors['maxlength'].requiredLength}`;
|
|
36
|
+
}
|
|
37
|
+
return 'Campo inválido';
|
|
38
|
+
}
|
|
39
|
+
return '';
|
|
40
|
+
}
|
|
41
|
+
onShowCalendar() {
|
|
42
|
+
this.modalService.showModalBackground$.next(true);
|
|
43
|
+
}
|
|
44
|
+
onHideCalendar() {
|
|
45
|
+
this.modalService.showModalBackground$.next(false);
|
|
46
|
+
}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.ModalService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: CalendarComponent, selector: "vector-calendar-field", inputs: { isRequired: "isRequired", control: "control", label: "label", showCalendarOnFocus: "showCalendarOnFocus", min: "min", max: "max", disabledDates: "disabledDates", disabled: "disabled", defaultDate: "defaultDate", hiddenErrorMessage: "hiddenErrorMessage" }, ngImport: i0, template: "<div class=\"relative\">\r\n <div class=\"input-container\">\r\n <p-calendar\r\n appendTo=\"body\"\r\n [formControl]=\"control\"\r\n [showOnFocus]=\"showCalendarOnFocus\"\r\n [minDate]=\"min\"\r\n [maxDate]=\"max\"\r\n icon=\"fas fa-calendar-day\"\r\n [showIcon]=\"true\"\r\n [disabledDates]=\"disabledDates\"\r\n [readonlyInput]=\"false\"\r\n (onShow)=\"onShowCalendar()\"\r\n (onClose)=\"onHideCalendar()\"\r\n [disabled]=\"disabled\"\r\n [defaultDate]=\"defaultDate\"\r\n ></p-calendar>\r\n </div>\r\n <vector-field-error-message *ngIf=\"!hiddenErrorMessage\" [control]=\"control\"></vector-field-error-message>\r\n</div>\r\n", styles: [".input-container input{transition:border-width ease-in-out .08s;border:1px solid rgba(0,0,0,.6);width:100%;padding:6px 30px 6px 12px;font-size:14px;line-height:1.5em;border-radius:var(--border-radius);height:40px}.input-container input:disabled{cursor:not-allowed;background-color:var(--disabled-background);opacity:1}.input-container input:focus{outline:0;box-shadow:none;border-width:2px}.input-container input::placeholder{color:var(--placeholder-color);font-size:12px}.input-container input.ng-touched.ng-invalid{border-color:var(--error-color)!important}.input-container .input-error{font-size:.7em;color:var(--error-color)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "component", type: i5.FieldErrorMessageComponent, selector: "vector-field-error-message", inputs: ["control"] }] }); }
|
|
49
|
+
}
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{ selector: 'vector-calendar-field', template: "<div class=\"relative\">\r\n <div class=\"input-container\">\r\n <p-calendar\r\n appendTo=\"body\"\r\n [formControl]=\"control\"\r\n [showOnFocus]=\"showCalendarOnFocus\"\r\n [minDate]=\"min\"\r\n [maxDate]=\"max\"\r\n icon=\"fas fa-calendar-day\"\r\n [showIcon]=\"true\"\r\n [disabledDates]=\"disabledDates\"\r\n [readonlyInput]=\"false\"\r\n (onShow)=\"onShowCalendar()\"\r\n (onClose)=\"onHideCalendar()\"\r\n [disabled]=\"disabled\"\r\n [defaultDate]=\"defaultDate\"\r\n ></p-calendar>\r\n </div>\r\n <vector-field-error-message *ngIf=\"!hiddenErrorMessage\" [control]=\"control\"></vector-field-error-message>\r\n</div>\r\n", styles: [".input-container input{transition:border-width ease-in-out .08s;border:1px solid rgba(0,0,0,.6);width:100%;padding:6px 30px 6px 12px;font-size:14px;line-height:1.5em;border-radius:var(--border-radius);height:40px}.input-container input:disabled{cursor:not-allowed;background-color:var(--disabled-background);opacity:1}.input-container input:focus{outline:0;box-shadow:none;border-width:2px}.input-container input::placeholder{color:var(--placeholder-color);font-size:12px}.input-container input.ng-touched.ng-invalid{border-color:var(--error-color)!important}.input-container .input-error{font-size:.7em;color:var(--error-color)}\n"] }]
|
|
53
|
+
}], ctorParameters: function () { return [{ type: i1.ModalService }]; }, propDecorators: { isRequired: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], control: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], label: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], showCalendarOnFocus: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], min: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], max: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], disabledDates: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], disabled: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], defaultDate: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], hiddenErrorMessage: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}] } });
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZlY3Rvci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9maWVsZHMvY2FsZW5kYXItZmllbGQvY2FsZW5kYXItZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZlY3Rvci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9maWVsZHMvY2FsZW5kYXItZmllbGQvY2FsZW5kYXItZmllbGQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLE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kYXI+XHJcbiAgPC9kaXY+XHJcbiAgPHZlY3Rvci1maWVsZC1lcnJvci1tZXNzYWdlICpuZ0lmPVwiIWhpZGRlbkVycm9yTWVzc2FnZVwiIFtjb250cm9sXT1cImNvbnRyb2xcIj48L3ZlY3Rvci1maWVsZC1lcnJvci1tZXNzYWdlPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './calendar-field.component';
|
|
1
|
+
export * from './calendar-field.component';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdmVjdG9yLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2ZpZWxkcy9jYWxlbmRhci1maWVsZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYWxlbmRhci1maWVsZC5jb21wb25lbnQnO1xyXG4iXX0=
|