ngx-vector-components 4.138.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/assets/styles/_primeng-custom-theme.scss +21 -16
- package/{esm2020 → esm2022}/lib/components/badge/badge.component.mjs +39 -39
- package/esm2022/lib/components/badge/badge.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/badge/index.mjs +2 -2
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +67 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.module.mjs +18 -0
- package/{esm2020 → esm2022}/lib/components/breadcrumb/index.mjs +2 -2
- package/esm2022/lib/components/crud-base/crud-base.component.mjs +47 -0
- package/{esm2020 → esm2022}/lib/components/crud-base/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/crud-footer/crud-footer.component.mjs +40 -40
- package/esm2022/lib/components/crud-footer/crud-footer.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/crud-footer/index.mjs +2 -2
- package/esm2022/lib/components/crud-header/crud-header.component.mjs +30 -0
- package/esm2022/lib/components/crud-header/crud-header.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/crud-header/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/crud-history/crud-history.component.mjs +82 -82
- package/esm2022/lib/components/crud-history/crud-history.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/crud-history/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/fields/button/button.component.mjs +41 -41
- package/{esm2020 → esm2022}/lib/components/fields/button/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/calendar-field/calendar-field.component.mjs +74 -74
- package/{esm2020 → esm2022}/lib/components/fields/calendar-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/checkbox-field/checkbox-field.component.mjs +46 -46
- package/{esm2020 → esm2022}/lib/components/fields/checkbox-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/currency-field/currency-field.component.mjs +98 -98
- package/{esm2020 → esm2022}/lib/components/fields/currency-field/index.mjs +1 -1
- package/esm2022/lib/components/fields/data-table/data-table.component.mjs +391 -0
- package/{esm2020 → esm2022}/lib/components/fields/data-table/index.mjs +1 -1
- package/esm2022/lib/components/fields/dropdown-field/dropdown-field.component.mjs +206 -0
- package/{esm2020 → esm2022}/lib/components/fields/dropdown-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/field-error-message/field-error-message.component.mjs +30 -30
- package/{esm2020 → esm2022}/lib/components/fields/field-error-message/index.mjs +1 -1
- package/esm2022/lib/components/fields/fields.module.mjs +220 -0
- package/esm2022/lib/components/fields/filters/filters.component.mjs +209 -0
- package/{esm2020 → esm2022}/lib/components/fields/filters/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/index.mjs +19 -19
- package/{esm2020 → esm2022}/lib/components/fields/input-number-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/input-number-field/input-number-field.component.mjs +86 -86
- package/{esm2020 → esm2022}/lib/components/fields/input-switch-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/input-switch-field/input-switch-field.component.mjs +21 -21
- package/{esm2020 → esm2022}/lib/components/fields/multiselect-field/index.mjs +1 -1
- package/esm2022/lib/components/fields/multiselect-field/multiselect-field.component.mjs +154 -0
- package/{esm2020 → esm2022}/lib/components/fields/percentage-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/percentage-field/percentage-field.component.mjs +54 -54
- package/{esm2020 → esm2022}/lib/components/fields/radio-button-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/radio-button-field/radio-button-field.component.mjs +48 -48
- package/{esm2020 → esm2022}/lib/components/fields/range-value/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/range-value/range-value.component.mjs +72 -72
- package/{esm2020 → esm2022}/lib/components/fields/search-field/index.mjs +1 -1
- package/esm2022/lib/components/fields/search-field/search-field.component.mjs +33 -0
- package/{esm2020 → esm2022}/lib/components/fields/select-button-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/select-button-field/select-button-field.component.mjs +20 -20
- package/{esm2020 → esm2022}/lib/components/fields/text-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/text-field/text-field.component.mjs +238 -238
- package/{esm2020 → esm2022}/lib/components/fields/textarea-field/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/components/fields/textarea-field/textarea-field.component.mjs +81 -81
- package/esm2022/lib/components/generic-error-modal/generic-error-modal.component.mjs +36 -0
- package/esm2022/lib/components/generic-error-modal/generic-error-modal.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/generic-error-modal/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/generic-modal/generic-modal.component.mjs +66 -66
- package/esm2022/lib/components/generic-modal/generic-modal.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/generic-modal/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/index.mjs +14 -14
- package/{esm2020 → esm2022}/lib/components/menu/index.mjs +3 -3
- package/esm2022/lib/components/menu/menu.component.mjs +306 -0
- package/esm2022/lib/components/menu/menu.module.mjs +20 -0
- package/{esm2020 → esm2022}/lib/components/menu/sub-menus-list/sub-menus-list.component.mjs +42 -42
- package/{esm2020 → esm2022}/lib/components/panel/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/panel/panel.component.mjs +15 -15
- package/esm2022/lib/components/panel/panel.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/score/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/score/score.component.mjs +17 -17
- package/{esm2020 → esm2022}/lib/components/score/score.module.mjs +16 -16
- package/{esm2020 → esm2022}/lib/components/stepper/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/stepper/stepper.component.mjs +47 -47
- package/esm2022/lib/components/stepper/stepper.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/components/top-bar/index.mjs +2 -2
- package/esm2022/lib/components/top-bar/top-bar.component.mjs +149 -0
- package/esm2022/lib/components/top-bar/top-bar.module.mjs +21 -0
- package/esm2022/lib/guards/crud-list-has-items.guard.mjs +11 -0
- package/esm2022/lib/guards/get-token-by-guid.guard.mjs +41 -0
- package/esm2022/lib/guards/has-permission.guard.mjs +15 -0
- package/{esm2020 → esm2022}/lib/guards/index.mjs +5 -5
- package/esm2022/lib/guards/role.guard.mjs +14 -0
- package/esm2022/lib/guards/token-is-present.guard.mjs +14 -0
- package/esm2022/lib/injections/index.mjs +5 -0
- package/esm2022/lib/interceptors/http-interceptor.mjs +186 -0
- package/{esm2020 → esm2022}/lib/interceptors/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/app-name.enum.mjs +9 -9
- package/{esm2020 → esm2022}/lib/models/boolean-type.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/crud-history.model.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/crud-mode.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/models/currency.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/models/data-table.model.mjs +22 -22
- package/{esm2020 → esm2022}/lib/models/document-type.enum.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/filters.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/generic-modal.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/http-response.model.mjs +1 -1
- package/esm2022/lib/models/index.mjs +19 -0
- package/{esm2020 → esm2022}/lib/models/ip-info.enum.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/list-item.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/locale.enum.mjs +6 -6
- package/{esm2020 → esm2022}/lib/models/menu-item.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/message-status.enum.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/profile.model.mjs +367 -366
- package/{esm2020 → esm2022}/lib/models/role.enum.mjs +4 -4
- package/{esm2020 → esm2022}/lib/models/status.enum.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/topbar.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/vector-app.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/vector-notification.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/view.enum.mjs +8 -8
- package/{esm2020 → esm2022}/lib/pipes/currency-brl.pipe.mjs +18 -18
- package/{esm2020 → esm2022}/lib/pipes/format-document.pipe.mjs +17 -17
- package/{esm2020 → esm2022}/lib/pipes/index.mjs +8 -8
- package/{esm2020 → esm2022}/lib/pipes/mask.pipe.mjs +21 -21
- package/{esm2020 → esm2022}/lib/pipes/not-hidden.pipe.mjs +16 -16
- package/{esm2020 → esm2022}/lib/pipes/only-active.pipe.mjs +16 -16
- package/{esm2020 → esm2022}/lib/pipes/pipes.module.mjs +50 -50
- package/{esm2020 → esm2022}/lib/pipes/remove-last-child.pipe.mjs +18 -18
- package/{esm2020 → esm2022}/lib/pipes/unread-notifications.pipe.mjs +15 -15
- package/esm2022/lib/resolvers/get-selected-crud-item.resolver.mjs +17 -0
- package/{esm2020 → esm2022}/lib/resolvers/index.mjs +1 -1
- package/esm2022/lib/services/auth.service.mjs +78 -0
- package/{esm2020 → esm2022}/lib/services/base-dropdown.mjs +1 -1
- package/{esm2020 → esm2022}/lib/services/crud-base.service.mjs +13 -13
- package/{esm2020 → esm2022}/lib/services/enum.service.mjs +43 -43
- package/esm2022/lib/services/error-message.service.mjs +16 -0
- package/{esm2020 → esm2022}/lib/services/geolocation.service.mjs +23 -23
- package/{esm2020 → esm2022}/lib/services/index.mjs +12 -12
- package/{esm2020 → esm2022}/lib/services/loading.service.mjs +15 -15
- package/esm2022/lib/services/menu.service.mjs +154 -0
- package/{esm2020 → esm2022}/lib/services/modal.service.mjs +15 -15
- package/{esm2020 → esm2022}/lib/services/notifications.service.mjs +64 -64
- package/{esm2020 → esm2022}/lib/services/profile.service.mjs +112 -112
- package/esm2022/lib/services/storage.service.mjs +104 -0
- package/esm2022/lib/shared/shared.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/utils/cpf-cnpj-validator.util.mjs +115 -115
- package/{esm2020 → esm2022}/lib/utils/file.util.mjs +14 -14
- package/{esm2020 → esm2022}/lib/utils/index.mjs +7 -7
- package/esm2022/lib/utils/mask.util.mjs +76 -0
- package/{esm2020 → esm2022}/lib/utils/object.util.mjs +26 -26
- package/{esm2020 → esm2022}/lib/utils/string.util.mjs +51 -51
- package/{esm2020 → esm2022}/lib/utils/validation.util.mjs +233 -233
- package/{esm2020 → esm2022}/lib/utils/window.util.mjs +8 -8
- package/{esm2020 → esm2022}/ngx-vector-components.mjs +4 -4
- package/esm2022/public-api.mjs +10 -0
- package/{fesm2020 → fesm2022}/ngx-vector-components.mjs +4898 -4957
- package/fesm2022/ngx-vector-components.mjs.map +1 -0
- package/{ngx-vector-components.d.ts → index.d.ts} +5 -5
- package/lib/components/badge/badge.component.d.ts +15 -15
- package/lib/components/badge/badge.module.d.ts +9 -9
- package/lib/components/badge/index.d.ts +2 -2
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +19 -19
- package/lib/components/breadcrumb/breadcrumb.module.d.ts +8 -8
- package/lib/components/breadcrumb/index.d.ts +2 -2
- package/lib/components/crud-base/crud-base.component.d.ts +20 -20
- package/lib/components/crud-base/index.d.ts +1 -1
- package/lib/components/crud-footer/crud-footer.component.d.ts +19 -19
- package/lib/components/crud-footer/crud-footer.module.d.ts +10 -10
- package/lib/components/crud-footer/index.d.ts +2 -2
- package/lib/components/crud-header/crud-header.component.d.ts +11 -11
- package/lib/components/crud-header/crud-header.module.d.ts +9 -9
- package/lib/components/crud-header/index.d.ts +2 -2
- package/lib/components/crud-history/crud-history.component.d.ts +12 -12
- package/lib/components/crud-history/crud-history.module.d.ts +10 -10
- package/lib/components/crud-history/index.d.ts +2 -2
- package/lib/components/fields/button/button.component.d.ts +17 -17
- package/lib/components/fields/button/index.d.ts +1 -1
- package/lib/components/fields/calendar-field/calendar-field.component.d.ts +23 -23
- package/lib/components/fields/calendar-field/index.d.ts +1 -1
- package/lib/components/fields/checkbox-field/checkbox-field.component.d.ts +19 -19
- package/lib/components/fields/checkbox-field/index.d.ts +1 -1
- package/lib/components/fields/currency-field/currency-field.component.d.ts +32 -32
- package/lib/components/fields/currency-field/index.d.ts +1 -1
- package/lib/components/fields/data-table/data-table.component.d.ts +88 -88
- package/lib/components/fields/data-table/index.d.ts +1 -1
- package/lib/components/fields/dropdown-field/dropdown-field.component.d.ts +52 -52
- package/lib/components/fields/dropdown-field/index.d.ts +1 -1
- package/lib/components/fields/field-error-message/field-error-message.component.d.ts +10 -10
- package/lib/components/fields/field-error-message/index.d.ts +1 -1
- package/lib/components/fields/fields.module.d.ts +50 -50
- package/lib/components/fields/filters/filters.component.d.ts +65 -65
- package/lib/components/fields/filters/index.d.ts +1 -1
- package/lib/components/fields/index.d.ts +19 -19
- package/lib/components/fields/input-number-field/index.d.ts +1 -1
- package/lib/components/fields/input-number-field/input-number-field.component.d.ts +28 -28
- package/lib/components/fields/input-switch-field/index.d.ts +1 -1
- package/lib/components/fields/input-switch-field/input-switch-field.component.d.ts +9 -9
- package/lib/components/fields/multiselect-field/index.d.ts +1 -1
- package/lib/components/fields/multiselect-field/multiselect-field.component.d.ts +40 -40
- package/lib/components/fields/percentage-field/index.d.ts +1 -1
- package/lib/components/fields/percentage-field/percentage-field.component.d.ts +20 -20
- package/lib/components/fields/radio-button-field/index.d.ts +1 -1
- package/lib/components/fields/radio-button-field/radio-button-field.component.d.ts +25 -25
- package/lib/components/fields/range-value/index.d.ts +1 -1
- package/lib/components/fields/range-value/range-value.component.d.ts +18 -18
- package/lib/components/fields/search-field/index.d.ts +1 -1
- package/lib/components/fields/search-field/search-field.component.d.ts +14 -14
- package/lib/components/fields/select-button-field/index.d.ts +1 -1
- package/lib/components/fields/select-button-field/select-button-field.component.d.ts +9 -9
- package/lib/components/fields/text-field/index.d.ts +1 -1
- package/lib/components/fields/text-field/text-field.component.d.ts +56 -56
- package/lib/components/fields/textarea-field/index.d.ts +1 -1
- package/lib/components/fields/textarea-field/textarea-field.component.d.ts +22 -22
- package/lib/components/generic-error-modal/generic-error-modal.component.d.ts +15 -15
- package/lib/components/generic-error-modal/generic-error-modal.module.d.ts +10 -10
- package/lib/components/generic-error-modal/index.d.ts +2 -2
- package/lib/components/generic-modal/generic-modal.component.d.ts +24 -24
- package/lib/components/generic-modal/generic-modal.module.d.ts +10 -10
- package/lib/components/generic-modal/index.d.ts +2 -2
- package/lib/components/index.d.ts +14 -14
- package/lib/components/menu/index.d.ts +3 -3
- package/lib/components/menu/menu.component.d.ts +53 -53
- package/lib/components/menu/menu.module.d.ts +10 -10
- package/lib/components/menu/sub-menus-list/sub-menus-list.component.d.ts +14 -14
- package/lib/components/panel/index.d.ts +2 -2
- package/lib/components/panel/panel.component.d.ts +8 -8
- package/lib/components/panel/panel.module.d.ts +9 -9
- package/lib/components/score/index.d.ts +2 -2
- package/lib/components/score/score.component.d.ts +9 -9
- package/lib/components/score/score.module.d.ts +7 -7
- package/lib/components/stepper/index.d.ts +2 -2
- package/lib/components/stepper/stepper.component.d.ts +15 -15
- package/lib/components/stepper/stepper.module.d.ts +9 -9
- package/lib/components/top-bar/index.d.ts +2 -2
- package/lib/components/top-bar/top-bar.component.d.ts +47 -49
- package/lib/components/top-bar/top-bar.module.d.ts +11 -10
- package/lib/guards/crud-list-has-items.guard.d.ts +2 -10
- package/lib/guards/get-token-by-guid.guard.d.ts +2 -15
- package/lib/guards/has-permission.guard.d.ts +2 -13
- package/lib/guards/index.d.ts +5 -5
- package/lib/guards/role.guard.d.ts +2 -11
- package/lib/guards/token-is-present.guard.d.ts +2 -11
- package/lib/injections/index.d.ts +17 -0
- package/lib/interceptors/http-interceptor.d.ts +31 -31
- package/lib/interceptors/index.d.ts +1 -1
- package/lib/models/app-name.enum.d.ts +8 -8
- package/lib/models/boolean-type.enum.d.ts +4 -4
- package/lib/models/crud-history.model.d.ts +13 -13
- package/lib/models/crud-mode.enum.d.ts +5 -5
- package/lib/models/currency.enum.d.ts +5 -5
- package/lib/models/data-table.model.d.ts +65 -65
- package/lib/models/document-type.enum.d.ts +4 -4
- package/lib/models/filters.model.d.ts +4 -4
- package/lib/models/generic-modal.model.d.ts +12 -12
- package/lib/models/http-response.model.d.ts +57 -57
- package/lib/models/index.d.ts +18 -17
- package/lib/models/ip-info.enum.d.ts +6 -6
- package/lib/models/list-item.model.d.ts +7 -7
- package/lib/models/locale.enum.d.ts +5 -5
- package/lib/models/menu-item.model.d.ts +16 -16
- package/lib/models/message-status.enum.d.ts +6 -6
- package/lib/models/profile.model.d.ts +387 -386
- package/lib/models/role.enum.d.ts +3 -3
- package/lib/models/status.enum.d.ts +6 -6
- package/lib/models/topbar.model.d.ts +5 -5
- package/lib/models/vector-app.model.d.ts +9 -9
- package/lib/models/vector-notification.model.d.ts +8 -8
- package/lib/models/view.enum.d.ts +7 -7
- package/lib/pipes/currency-brl.pipe.d.ts +7 -7
- package/lib/pipes/format-document.pipe.d.ts +7 -7
- package/lib/pipes/index.d.ts +8 -8
- package/lib/pipes/mask.pipe.d.ts +7 -7
- package/lib/pipes/not-hidden.pipe.d.ts +7 -7
- package/lib/pipes/only-active.pipe.d.ts +7 -7
- package/lib/pipes/pipes.module.d.ts +13 -13
- package/lib/pipes/remove-last-child.pipe.d.ts +7 -7
- package/lib/pipes/unread-notifications.pipe.d.ts +9 -9
- package/lib/resolvers/get-selected-crud-item.resolver.d.ts +2 -10
- package/lib/resolvers/index.d.ts +1 -1
- package/lib/services/auth.service.d.ts +25 -24
- package/lib/services/base-dropdown.d.ts +7 -7
- package/lib/services/crud-base.service.d.ts +7 -7
- package/lib/services/enum.service.d.ts +13 -13
- package/lib/services/error-message.service.d.ts +8 -8
- package/lib/services/geolocation.service.d.ts +13 -13
- package/lib/services/index.d.ts +12 -12
- package/lib/services/loading.service.d.ts +7 -7
- package/lib/services/menu.service.d.ts +38 -35
- package/lib/services/modal.service.d.ts +7 -7
- package/lib/services/notifications.service.d.ts +13 -13
- package/lib/services/profile.service.d.ts +27 -27
- package/lib/services/storage.service.d.ts +40 -43
- package/lib/shared/shared.module.d.ts +10 -10
- package/lib/utils/cpf-cnpj-validator.util.d.ts +5 -5
- package/lib/utils/file.util.d.ts +4 -4
- package/lib/utils/index.d.ts +7 -7
- package/lib/utils/mask.util.d.ts +21 -21
- package/lib/utils/object.util.d.ts +5 -5
- package/lib/utils/string.util.d.ts +8 -8
- package/lib/utils/validation.util.d.ts +17 -17
- package/lib/utils/window.util.d.ts +4 -4
- package/package.json +21 -26
- package/public-api.d.ts +9 -8
- package/esm2020/lib/components/badge/badge.module.mjs +0 -19
- package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +0 -66
- package/esm2020/lib/components/breadcrumb/breadcrumb.module.mjs +0 -18
- package/esm2020/lib/components/crud-base/crud-base.component.mjs +0 -47
- package/esm2020/lib/components/crud-footer/crud-footer.module.mjs +0 -20
- package/esm2020/lib/components/crud-header/crud-header.component.mjs +0 -30
- package/esm2020/lib/components/crud-header/crud-header.module.mjs +0 -19
- package/esm2020/lib/components/crud-history/crud-history.module.mjs +0 -20
- package/esm2020/lib/components/fields/data-table/data-table.component.mjs +0 -391
- package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +0 -204
- package/esm2020/lib/components/fields/fields.module.mjs +0 -222
- package/esm2020/lib/components/fields/filters/filters.component.mjs +0 -209
- package/esm2020/lib/components/fields/multiselect-field/multiselect-field.component.mjs +0 -154
- package/esm2020/lib/components/fields/search-field/search-field.component.mjs +0 -33
- package/esm2020/lib/components/generic-error-modal/generic-error-modal.component.mjs +0 -36
- package/esm2020/lib/components/generic-error-modal/generic-error-modal.module.mjs +0 -20
- package/esm2020/lib/components/generic-modal/generic-modal.module.mjs +0 -20
- package/esm2020/lib/components/menu/menu.component.mjs +0 -305
- package/esm2020/lib/components/menu/menu.module.mjs +0 -20
- package/esm2020/lib/components/panel/panel.module.mjs +0 -19
- package/esm2020/lib/components/stepper/stepper.module.mjs +0 -19
- package/esm2020/lib/components/top-bar/top-bar.component.mjs +0 -147
- package/esm2020/lib/components/top-bar/top-bar.module.mjs +0 -20
- package/esm2020/lib/guards/crud-list-has-items.guard.mjs +0 -22
- package/esm2020/lib/guards/get-token-by-guid.guard.mjs +0 -54
- package/esm2020/lib/guards/has-permission.guard.mjs +0 -27
- package/esm2020/lib/guards/role.guard.mjs +0 -24
- package/esm2020/lib/guards/token-is-present.guard.mjs +0 -26
- package/esm2020/lib/interceptors/http-interceptor.mjs +0 -185
- package/esm2020/lib/models/index.mjs +0 -18
- package/esm2020/lib/resolvers/get-selected-crud-item.resolver.mjs +0 -28
- package/esm2020/lib/services/auth.service.mjs +0 -77
- package/esm2020/lib/services/error-message.service.mjs +0 -16
- package/esm2020/lib/services/menu.service.mjs +0 -152
- package/esm2020/lib/services/storage.service.mjs +0 -108
- package/esm2020/lib/shared/shared.module.mjs +0 -19
- package/esm2020/lib/utils/mask.util.mjs +0 -76
- package/esm2020/public-api.mjs +0 -9
- package/fesm2015/ngx-vector-components.mjs +0 -5181
- package/fesm2015/ngx-vector-components.mjs.map +0 -1
- package/fesm2020/ngx-vector-components.mjs.map +0 -1
|
@@ -1,72 +1,72 @@
|
|
|
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 "
|
|
5
|
-
export class RangeValueComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.value = 0;
|
|
8
|
-
this.movimentedValue = null;
|
|
9
|
-
this.min = 0;
|
|
10
|
-
this.max = 100;
|
|
11
|
-
this.disabled = false;
|
|
12
|
-
this.valueChange = new EventEmitter();
|
|
13
|
-
}
|
|
14
|
-
ngOnInit() { }
|
|
15
|
-
changeValue() {
|
|
16
|
-
if (this.value < this.min) {
|
|
17
|
-
this.value = this.min;
|
|
18
|
-
}
|
|
19
|
-
this.valueChange.emit(this.value);
|
|
20
|
-
}
|
|
21
|
-
getMovimentedValue() {
|
|
22
|
-
if (this.movimentedValue) {
|
|
23
|
-
return this.movimentedValue;
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
return (this.max - this.min) / 100;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
increment() {
|
|
30
|
-
if (!this.disabled) {
|
|
31
|
-
if (this.value + this.getMovimentedValue() < this.max) {
|
|
32
|
-
this.value = this.value + this.getMovimentedValue();
|
|
33
|
-
this.valueChange.emit(this.value);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
this.value = this.max;
|
|
37
|
-
this.valueChange.emit(this.value);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
decrement() {
|
|
42
|
-
if (!this.disabled) {
|
|
43
|
-
if (this.value - this.getMovimentedValue() > this.min) {
|
|
44
|
-
this.value = this.value - this.getMovimentedValue();
|
|
45
|
-
this.valueChange.emit(this.value);
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
this.value = this.min;
|
|
49
|
-
this.valueChange.emit(this.value);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
57
|
-
type: Component,
|
|
58
|
-
args: [{ selector: 'vector-range-value', template: "<div class=\"range-input\">\r\n <a href=\"javascript:void(0)\" class=\"btn-range minus\" (click)=\"decrement()\"></a>\r\n <p-slider [(ngModel)]=\"value\" (onChange)=\"changeValue()\" [min]=\"min\" [max]=\"max\" [disabled]=\"disabled\"></p-slider>\r\n <a href=\"javascript:void(0)\" class=\"btn-range plus\" (click)=\"increment()\"></a>\r\n</div>\r\n", styles: [".range-input{display:flex;flex-flow:row;align-items:center}.range-input .btn-range{width:26px;height:26px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:2px solid var(--theme-dark);border-radius:4px;color:var(--theme-dark);text-decoration:none;font-size:1rem}.range-input .btn-range:hover{-webkit-transition:.2s linear;-moz-transition:.2s linear;-o-prop:.2s linear;background-color:var(--theme-dark);color:#fff}.range-input .minus:before{content:\"-\"}.range-input p-slider{flex:1;margin:0 10px}.range-input .plus:before{content:\"+\"}\n"] }]
|
|
59
|
-
}], ctorParameters:
|
|
60
|
-
type: Input
|
|
61
|
-
}], movimentedValue: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], min: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], max: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], disabled: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], valueChange: [{
|
|
70
|
-
type: Output
|
|
71
|
-
}] } });
|
|
72
|
-
//# 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/forms";
|
|
4
|
+
import * as i2 from "primeng/slider";
|
|
5
|
+
export class RangeValueComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.value = 0;
|
|
8
|
+
this.movimentedValue = null;
|
|
9
|
+
this.min = 0;
|
|
10
|
+
this.max = 100;
|
|
11
|
+
this.disabled = false;
|
|
12
|
+
this.valueChange = new EventEmitter();
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() { }
|
|
15
|
+
changeValue() {
|
|
16
|
+
if (this.value < this.min) {
|
|
17
|
+
this.value = this.min;
|
|
18
|
+
}
|
|
19
|
+
this.valueChange.emit(this.value);
|
|
20
|
+
}
|
|
21
|
+
getMovimentedValue() {
|
|
22
|
+
if (this.movimentedValue) {
|
|
23
|
+
return this.movimentedValue;
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
return (this.max - this.min) / 100;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
increment() {
|
|
30
|
+
if (!this.disabled) {
|
|
31
|
+
if (this.value + this.getMovimentedValue() < this.max) {
|
|
32
|
+
this.value = this.value + this.getMovimentedValue();
|
|
33
|
+
this.valueChange.emit(this.value);
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
this.value = this.max;
|
|
37
|
+
this.valueChange.emit(this.value);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
decrement() {
|
|
42
|
+
if (!this.disabled) {
|
|
43
|
+
if (this.value - this.getMovimentedValue() > this.min) {
|
|
44
|
+
this.value = this.value - this.getMovimentedValue();
|
|
45
|
+
this.valueChange.emit(this.value);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this.value = this.min;
|
|
49
|
+
this.valueChange.emit(this.value);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RangeValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: RangeValueComponent, selector: "vector-range-value", inputs: { value: "value", movimentedValue: "movimentedValue", min: "min", max: "max", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<div class=\"range-input\">\r\n <a href=\"javascript:void(0)\" class=\"btn-range minus\" (click)=\"decrement()\"></a>\r\n <p-slider [(ngModel)]=\"value\" (onChange)=\"changeValue()\" [min]=\"min\" [max]=\"max\" [disabled]=\"disabled\"></p-slider>\r\n <a href=\"javascript:void(0)\" class=\"btn-range plus\" (click)=\"increment()\"></a>\r\n</div>\r\n", styles: [".range-input{display:flex;flex-flow:row;align-items:center}.range-input .btn-range{width:26px;height:26px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:2px solid var(--theme-dark);border-radius:4px;color:var(--theme-dark);text-decoration:none;font-size:1rem}.range-input .btn-range:hover{-webkit-transition:.2s linear;-moz-transition:.2s linear;-o-prop:.2s linear;background-color:var(--theme-dark);color:#fff}.range-input .minus:before{content:\"-\"}.range-input p-slider{flex:1;margin:0 10px}.range-input .plus:before{content:\"+\"}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.Slider, selector: "p-slider", inputs: ["animate", "disabled", "min", "max", "orientation", "step", "range", "style", "styleClass", "ariaLabel", "ariaLabelledBy", "tabindex"], outputs: ["onChange", "onSlideEnd"] }] }); }
|
|
55
|
+
}
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: RangeValueComponent, decorators: [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{ selector: 'vector-range-value', template: "<div class=\"range-input\">\r\n <a href=\"javascript:void(0)\" class=\"btn-range minus\" (click)=\"decrement()\"></a>\r\n <p-slider [(ngModel)]=\"value\" (onChange)=\"changeValue()\" [min]=\"min\" [max]=\"max\" [disabled]=\"disabled\"></p-slider>\r\n <a href=\"javascript:void(0)\" class=\"btn-range plus\" (click)=\"increment()\"></a>\r\n</div>\r\n", styles: [".range-input{display:flex;flex-flow:row;align-items:center}.range-input .btn-range{width:26px;height:26px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:2px solid var(--theme-dark);border-radius:4px;color:var(--theme-dark);text-decoration:none;font-size:1rem}.range-input .btn-range:hover{-webkit-transition:.2s linear;-moz-transition:.2s linear;-o-prop:.2s linear;background-color:var(--theme-dark);color:#fff}.range-input .minus:before{content:\"-\"}.range-input p-slider{flex:1;margin:0 10px}.range-input .plus:before{content:\"+\"}\n"] }]
|
|
59
|
+
}], ctorParameters: () => [], propDecorators: { value: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], movimentedValue: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], min: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], max: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], disabled: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], valueChange: [{
|
|
70
|
+
type: Output
|
|
71
|
+
}] } });
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFuZ2UtdmFsdWUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZlY3Rvci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9maWVsZHMvcmFuZ2UtdmFsdWUvcmFuZ2UtdmFsdWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXZlY3Rvci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9maWVsZHMvcmFuZ2UtdmFsdWUvcmFuZ2UtdmFsdWUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQU8vRSxNQUFNLE9BQU8sbUJBQW1CO0lBTzlCO1FBTlMsVUFBSyxHQUFXLENBQUMsQ0FBQztRQUNsQixvQkFBZSxHQUFrQixJQUFJLENBQUM7UUFDdEMsUUFBRyxHQUFXLENBQUMsQ0FBQztRQUNoQixRQUFHLEdBQVcsR0FBRyxDQUFDO1FBQ2xCLGFBQVEsR0FBWSxLQUFLLENBQUM7UUFDekIsZ0JBQVcsR0FBRyxJQUFJLFlBQVksRUFBVSxDQUFDO0lBQ3BDLENBQUM7SUFFaEIsUU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aW5dPVwibWluXCIgW21heF09XCJtYXhcIiBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIj48L3Atc2xpZGVyPlxyXG4gIDxhIGhyZWY9XCJqYXZhc2NyaXB0OnZvaWQoMClcIiBjbGFzcz1cImJ0bi1yYW5nZSBwbHVzXCIgKGNsaWNrKT1cImluY3JlbWVudCgpXCI+PC9hPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './search-field.component';
|
|
1
|
+
export * from './search-field.component';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdmVjdG9yLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2ZpZWxkcy9zZWFyY2gtZmllbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2VhcmNoLWZpZWxkLmNvbXBvbmVudCc7XHJcbiJdfQ==
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { debounceTime } from 'rxjs/operators';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../text-field/text-field.component";
|
|
7
|
+
export class SearchFieldComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.placeholder = '';
|
|
10
|
+
this.onSearch = new EventEmitter();
|
|
11
|
+
this.formControl = new UntypedFormControl();
|
|
12
|
+
this.subscription = new Subscription();
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
this.subscription.add(this.formControl.valueChanges.pipe(debounceTime(300)).subscribe((value) => {
|
|
16
|
+
this.onSearch.emit(value);
|
|
17
|
+
}));
|
|
18
|
+
}
|
|
19
|
+
ngOnDestroy() {
|
|
20
|
+
this.subscription.unsubscribe();
|
|
21
|
+
}
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: SearchFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: SearchFieldComponent, selector: "vector-search-field", inputs: { placeholder: "placeholder" }, outputs: { onSearch: "onSearch" }, ngImport: i0, template: "<vector-text-field [control]=\"formControl\" rightIcon=\"fas fa-search\" [label]=\"placeholder\"></vector-text-field>\r\n", styles: [""], dependencies: [{ kind: "component", type: i1.TextFieldComponent, selector: "vector-text-field", inputs: ["isRequired", "label", "maxlength", "isPassword", "numeric", "numericPositive", "decimal", "onlyText", "alphaNumeric", "alphaNumericAndWhitespace", "mask", "autoClear", "readonly", "rightIcon", "centered", "enableDocumentTypeChoice", "hiddenErrorMessage", "leftLabel", "control", "inputId", "slotChar"], outputs: ["blurEvent", "enterKeyPress", "backSpaceKeyPress", "focusEvent", "onDocumentTypeChange"] }] }); }
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: SearchFieldComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{ selector: 'vector-search-field', template: "<vector-text-field [control]=\"formControl\" rightIcon=\"fas fa-search\" [label]=\"placeholder\"></vector-text-field>\r\n" }]
|
|
28
|
+
}], ctorParameters: () => [], propDecorators: { placeholder: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], onSearch: [{
|
|
31
|
+
type: Output
|
|
32
|
+
}] } });
|
|
33
|
+
//# sour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EZpZWxkQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0LCBPbkRlc3Ryb3kge1xyXG4gIEBJbnB1dCgpXHJcbiAgcHVibGljIHBsYWNlaG9sZGVyID0gJyc7XHJcbiAgQE91dHB1dCgpXHJcbiAgcHVibGljIG9uU2VhcmNoID0gbmV3IEV2ZW50RW1pdHRlcjxzdHJpbmc+KCk7XHJcblxyXG4gIHB1YmxpYyBmb3JtQ29udHJvbCA9IG5ldyBVbnR5cGVkRm9ybUNvbnRyb2woKTtcclxuICBwcml2YXRlIHN1YnNjcmlwdGlvbiA9IG5ldyBTdWJzY3JpcHRpb24oKTtcclxuICBjb25zdHJ1Y3RvcigpIHt9XHJcblxyXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgdGhpcy5zdWJzY3JpcHRpb24uYWRkKFxyXG4gICAgICB0aGlzLmZvcm1Db250cm9sLnZhbHVlQ2hhbmdlcy5waXBlKGRlYm91bmNlVGltZSgzMDApKS5zdWJzY3JpYmUoKHZhbHVlKSA9PiB7XHJcbiAgICAgICAgdGhpcy5vblNlYXJjaC5lbWl0KHZhbHVlKTtcclxuICAgICAgfSlcclxuICAgICk7XHJcbiAgfVxyXG5cclxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcclxuICAgIHRoaXMuc3Vic2NyaXB0aW9uLnVuc3Vic2NyaWJlKCk7XHJcbiAgfVxyXG59XHJcbiIsIjx2ZWN0b3ItdGV4dC1maWVsZCBbY29udHJvbF09XCJmb3JtQ29udHJvbFwiIHJpZ2h0SWNvbj1cImZhcyBmYS1zZWFyY2hcIiBbbGFiZWxdPVwicGxhY2Vob2xkZXJcIj48L3ZlY3Rvci10ZXh0LWZpZWxkPlxyXG4iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './select-button-field.component';
|
|
1
|
+
export * from './select-button-field.component';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdmVjdG9yLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2ZpZWxkcy9zZWxlY3QtYnV0dG9uLWZpZWxkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUNBQWlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NlbGVjdC1idXR0b24tZmllbGQuY29tcG9uZW50JztcclxuIl19
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "
|
|
4
|
-
import * as i2 from "
|
|
5
|
-
export class SelectButtonFieldComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.options = [];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'vector-select-button-field', template: "<div class=\"input-container p-input-icon-right\">\r\n <p-selectButton [options]=\"options\" [formControl]=\"control\" optionLabel=\"name\" optionValue=\"code\"></p-selectButton>\r\n</div>\r\n"
|
|
15
|
-
}], ctorParameters:
|
|
16
|
-
type: Input
|
|
17
|
-
}], control: [{
|
|
18
|
-
type: Input
|
|
19
|
-
}] } });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/forms";
|
|
4
|
+
import * as i2 from "primeng/selectbutton";
|
|
5
|
+
export class SelectButtonFieldComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.options = [];
|
|
8
|
+
}
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: SelectButtonFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: SelectButtonFieldComponent, selector: "vector-select-button-field", inputs: { options: "options", control: "control" }, ngImport: i0, template: "<div class=\"input-container p-input-icon-right\">\r\n <p-selectButton [options]=\"options\" [formControl]=\"control\" optionLabel=\"name\" optionValue=\"code\"></p-selectButton>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.SelectButton, selector: "p-selectButton", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "style", "styleClass", "ariaLabelledBy", "disabled", "dataKey"], outputs: ["onOptionClick", "onChange"] }] }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: SelectButtonFieldComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'vector-select-button-field', template: "<div class=\"input-container p-input-icon-right\">\r\n <p-selectButton [options]=\"options\" [formControl]=\"control\" optionLabel=\"name\" optionValue=\"code\"></p-selectButton>\r\n</div>\r\n" }]
|
|
15
|
+
}], ctorParameters: () => [], propDecorators: { options: [{
|
|
16
|
+
type: Input
|
|
17
|
+
}], control: [{
|
|
18
|
+
type: Input
|
|
19
|
+
}] } });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LWJ1dHRvbi1maWVsZC5jb21wb25lbnQ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HRtbCcsXHJcbiAgc3R5bGVVcmxzOiBbJy4vc2VsZWN0LWJ1dHRvbi1maWVsZC5jb21wb25lbnQuc2NzcyddLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgU2VsZWN0QnV0dG9uRmllbGRDb21wb25lbnQge1xyXG4gIEBJbnB1dCgpXHJcbiAgcHVibGljIG9wdGlvbnM6IExpc3RJdGVtW10gPSBbXTtcclxuICBASW5wdXQoKVxyXG4gIHB1YmxpYyBjb250cm9sOiBhbnk7XHJcblxyXG4gIGNvbnN0cnVjdG9yKCkge31cclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwiaW5wdXQtY29udGFpbmVyIHAtaW5wdXQtaWNvbi1yaWdodFwiPlxyXG4gIDxwLXNlbGVjdEJ1dHRvbiBbb3B0aW9uc109XCJvcHRpb25zXCIgW2Zvcm1Db250cm9sXT1cImNvbnRyb2xcIiBvcHRpb25MYWJlbD1cIm5hbWVcIiBvcHRpb25WYWx1ZT1cImNvZGVcIj48L3Atc2VsZWN0QnV0dG9uPlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './text-field.component';
|
|
1
|
+
export * from './text-field.component';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdmVjdG9yLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2ZpZWxkcy90ZXh0LWZpZWxkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RleHQtZmllbGQuY29tcG9uZW50JztcclxuIl19
|