@gipisistemas/ng-core 1.0.68 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +38 -0
- package/_ITSS-NG-CI-CD.yml +53 -0
- package/_ITSS-NG-CI-PR.yml +53 -0
- package/angular-cli.json +42 -0
- package/azure-pipelines.yml +35 -0
- package/package.json +83 -31
- package/projects/itss-ng/ng-package.json +7 -0
- package/projects/itss-ng/package.json +25 -0
- package/assets/styles/colors.scss +0 -261
- package/assets/styles/layout-grid.scss +0 -146
- package/assets/styles/styles.scss +0 -149
- package/assets/styles/theme.scss +0 -22
- package/assets/styles/typography.scss +0 -54
- package/assets/styles/variable.scss +0 -41
- package/bundles/gipisistemas-ng-core.umd.js +0 -28311
- package/bundles/gipisistemas-ng-core.umd.js.map +0 -1
- package/bundles/gipisistemas-ng-core.umd.min.js +0 -66
- package/bundles/gipisistemas-ng-core.umd.min.js.map +0 -1
- package/core/app-messages.d.ts +0 -9
- package/core/app.messages.d.ts +0 -4
- package/core/components/abstract-crud.component.d.ts +0 -27
- package/core/components/abstract-find.component.d.ts +0 -43
- package/core/components/abstract.component.d.ts +0 -23
- package/core/components/alert/alert.component.d.ts +0 -7
- package/core/core.module.d.ts +0 -17
- package/core/custom-breakpoints.d.ts +0 -7
- package/core/enums/local-time.enum.d.ts +0 -5
- package/core/extensions/string.extension.d.ts +0 -3
- package/core/gipi-components/components/abstract-crud.component.d.ts +0 -25
- package/core/gipi-components/components/abstract-find.component.d.ts +0 -73
- package/core/gipi-components/components/abstract.component.d.ts +0 -38
- package/core/gipi-components/decorators/autowired.decorator.d.ts +0 -7
- package/core/gipi-components/enums/sort-direction.enum.d.ts +0 -5
- package/core/gipi-components/interface/abstract-crud.interface.d.ts +0 -5
- package/core/gipi-components/interface/abstract-find.interface.d.ts +0 -12
- package/core/gipi-components/interface/abstract.interface.d.ts +0 -11
- package/core/gipi-components/interface/base-permission.interface.d.ts +0 -9
- package/core/gipi-components/models/abstract-filter.model.d.ts +0 -9
- package/core/gipi-components/models/abstract.model.d.ts +0 -7
- package/core/gipi-components/models/applied-filter.model.d.ts +0 -9
- package/core/gipi-components/models/dto/abstract.dto.d.ts +0 -7
- package/core/gipi-components/models/page-event.model.d.ts +0 -18
- package/core/gipi-components/models/page.model.d.ts +0 -7
- package/core/gipi-components/models/sort.model.d.ts +0 -6
- package/core/gipi-components/services/abstract-crud.service.d.ts +0 -83
- package/core/gipi-components/services/abstract.service.d.ts +0 -19
- package/core/gipi-components/services/base.service.d.ts +0 -35
- package/core/gipi-components/services/file.service.d.ts +0 -6
- package/core/gipi-components/services/session-storage.service.d.ts +0 -8
- package/core/gipi-components/types/generic.type.d.ts +0 -1
- package/core/gipi-components/types/uuid.type.d.ts +0 -1
- package/core/guards/auth.guard.d.ts +0 -11
- package/core/guards/permission.guard.d.ts +0 -14
- package/core/guards/public.guard.d.ts +0 -11
- package/core/interceptors/auth.interceptor.d.ts +0 -9
- package/core/interceptors/error.interceptor.d.ts +0 -11
- package/core/models/abstract.model.d.ts +0 -3
- package/core/models/archive.model.d.ts +0 -4
- package/core/models/authority.model.d.ts +0 -3
- package/core/models/base-user.model.d.ts +0 -12
- package/core/models/dto/abstract.dto.d.ts +0 -2
- package/core/models/dto/api-error.dto.d.ts +0 -9
- package/core/models/dto/api-sub-error.dto.d.ts +0 -7
- package/core/models/dto/chart.dto.d.ts +0 -5
- package/core/models/dto/confirmation.dto.d.ts +0 -10
- package/core/models/dto/dialog.dto.d.ts +0 -36
- package/core/models/dto/filter.dto.d.ts +0 -8
- package/core/models/dto/input-listbox.dto.d.ts +0 -6
- package/core/models/dto/menu.dto.d.ts +0 -15
- package/core/models/dto/message.dto.d.ts +0 -7
- package/core/models/dto/page.dto.d.ts +0 -8
- package/core/models/dto/sort.dto.d.ts +0 -7
- package/core/models/dto/tab.dto.d.ts +0 -12
- package/core/models/dto/table-column.dto.d.ts +0 -21
- package/core/models/dto/table-group-header.dto.d.ts +0 -7
- package/core/models/dto/table-page-event.dto.d.ts +0 -6
- package/core/models/dto/token.dto.d.ts +0 -8
- package/core/models/enums/criteria-operation.enum.d.ts +0 -13
- package/core/models/enums/criteria-sort-direction.enum.d.ts +0 -4
- package/core/models/enums/menu-type.enum.d.ts +0 -6
- package/core/models/enums/radio-button.enum.d.ts +0 -6
- package/core/models/enums/sort-direction.enum.d.ts +0 -4
- package/core/models/multitenant.model.d.ts +0 -4
- package/core/models/permission.model.d.ts +0 -8
- package/core/models/role.model.d.ts +0 -7
- package/core/pipes/local-time.pipe.d.ts +0 -6
- package/core/services/abstract-crud.service.d.ts +0 -15
- package/core/services/abstract-find.service.d.ts +0 -30
- package/core/services/abstract.service.d.ts +0 -13
- package/core/services/authentication.service.d.ts +0 -23
- package/core/services/breakpoint-observer.service.d.ts +0 -9
- package/core/services/confirmation.service.d.ts +0 -8
- package/core/services/dialog.service.d.ts +0 -8
- package/core/services/message.service.d.ts +0 -8
- package/core/services/nav.service.d.ts +0 -16
- package/core/services/svg-register.service.d.ts +0 -22
- package/core/types/local-time.type.d.ts +0 -5
- package/core/types/ng-class.type.d.ts +0 -10
- package/core/utils/array.util.d.ts +0 -14
- package/core/utils/browser.util.d.ts +0 -4
- package/core/utils/currency.util.d.ts +0 -6
- package/core/utils/date.util.d.ts +0 -39
- package/core/utils/document.util.d.ts +0 -11
- package/core/utils/email.util.d.ts +0 -4
- package/core/utils/number.util.d.ts +0 -8
- package/core/utils/object.util.d.ts +0 -20
- package/core/utils/password.util.d.ts +0 -11
- package/core/utils/phone.util.d.ts +0 -13
- package/core/utils/string.util.d.ts +0 -9
- package/core/utils/table-column-builder.d.ts +0 -40
- package/core/utils/time.util.d.ts +0 -9
- package/core/utils/url-params.util.d.ts +0 -7
- package/core/utils/uuid.util.d.ts +0 -5
- package/core/utils/zindex.util.d.ts +0 -7
- package/core.d.ts +0 -88
- package/esm2015/core/app-messages.js +0 -1
- package/esm2015/core/app.messages.js +0 -12
- package/esm2015/core/components/abstract-crud.component.js +0 -97
- package/esm2015/core/components/abstract-find.component.js +0 -189
- package/esm2015/core/components/abstract.component.js +0 -110
- package/esm2015/core/components/alert/alert.component.js +0 -24
- package/esm2015/core/core.module.js +0 -103
- package/esm2015/core/custom-breakpoints.js +0 -87
- package/esm2015/core/enums/local-time.enum.js +0 -6
- package/esm2015/core/extensions/string.extension.js +0 -37
- package/esm2015/core/gipi-components/components/abstract-crud.component.js +0 -110
- package/esm2015/core/gipi-components/components/abstract-find.component.js +0 -471
- package/esm2015/core/gipi-components/components/abstract.component.js +0 -140
- package/esm2015/core/gipi-components/decorators/autowired.decorator.js +0 -47
- package/esm2015/core/gipi-components/enums/sort-direction.enum.js +0 -6
- package/esm2015/core/gipi-components/interface/abstract-crud.interface.js +0 -1
- package/esm2015/core/gipi-components/interface/abstract-find.interface.js +0 -1
- package/esm2015/core/gipi-components/interface/abstract.interface.js +0 -1
- package/esm2015/core/gipi-components/interface/base-permission.interface.js +0 -1
- package/esm2015/core/gipi-components/models/abstract-filter.model.js +0 -3
- package/esm2015/core/gipi-components/models/abstract.model.js +0 -3
- package/esm2015/core/gipi-components/models/applied-filter.model.js +0 -19
- package/esm2015/core/gipi-components/models/dto/abstract.dto.js +0 -3
- package/esm2015/core/gipi-components/models/page-event.model.js +0 -35
- package/esm2015/core/gipi-components/models/page.model.js +0 -7
- package/esm2015/core/gipi-components/models/sort.model.js +0 -7
- package/esm2015/core/gipi-components/services/abstract-crud.service.js +0 -109
- package/esm2015/core/gipi-components/services/abstract.service.js +0 -47
- package/esm2015/core/gipi-components/services/base.service.js +0 -102
- package/esm2015/core/gipi-components/services/file.service.js +0 -51
- package/esm2015/core/gipi-components/services/session-storage.service.js +0 -44
- package/esm2015/core/gipi-components/types/generic.type.js +0 -1
- package/esm2015/core/gipi-components/types/uuid.type.js +0 -1
- package/esm2015/core/guards/auth.guard.js +0 -48
- package/esm2015/core/guards/permission.guard.js +0 -61
- package/esm2015/core/guards/public.guard.js +0 -45
- package/esm2015/core/interceptors/auth.interceptor.js +0 -28
- package/esm2015/core/interceptors/error.interceptor.js +0 -110
- package/esm2015/core/models/abstract.model.js +0 -3
- package/esm2015/core/models/archive.model.js +0 -3
- package/esm2015/core/models/authority.model.js +0 -3
- package/esm2015/core/models/base-user.model.js +0 -8
- package/esm2015/core/models/dto/abstract.dto.js +0 -3
- package/esm2015/core/models/dto/api-error.dto.js +0 -8
- package/esm2015/core/models/dto/api-sub-error.dto.js +0 -4
- package/esm2015/core/models/dto/chart.dto.js +0 -4
- package/esm2015/core/models/dto/confirmation.dto.js +0 -8
- package/esm2015/core/models/dto/dialog.dto.js +0 -4
- package/esm2015/core/models/dto/filter.dto.js +0 -4
- package/esm2015/core/models/dto/input-listbox.dto.js +0 -7
- package/esm2015/core/models/dto/menu.dto.js +0 -9
- package/esm2015/core/models/dto/message.dto.js +0 -4
- package/esm2015/core/models/dto/page.dto.js +0 -9
- package/esm2015/core/models/dto/sort.dto.js +0 -9
- package/esm2015/core/models/dto/tab.dto.js +0 -10
- package/esm2015/core/models/dto/table-column.dto.js +0 -24
- package/esm2015/core/models/dto/table-group-header.dto.js +0 -10
- package/esm2015/core/models/dto/table-page-event.dto.js +0 -7
- package/esm2015/core/models/dto/token.dto.js +0 -4
- package/esm2015/core/models/enums/criteria-operation.enum.js +0 -15
- package/esm2015/core/models/enums/criteria-sort-direction.enum.js +0 -6
- package/esm2015/core/models/enums/menu-type.enum.js +0 -7
- package/esm2015/core/models/enums/radio-button.enum.js +0 -8
- package/esm2015/core/models/enums/sort-direction.enum.js +0 -6
- package/esm2015/core/models/multitenant.model.js +0 -4
- package/esm2015/core/models/permission.model.js +0 -11
- package/esm2015/core/models/role.model.js +0 -8
- package/esm2015/core/pipes/local-time.pipe.js +0 -21
- package/esm2015/core/services/abstract-crud.service.js +0 -24
- package/esm2015/core/services/abstract-find.service.js +0 -65
- package/esm2015/core/services/abstract.service.js +0 -30
- package/esm2015/core/services/authentication.service.js +0 -100
- package/esm2015/core/services/breakpoint-observer.service.js +0 -42
- package/esm2015/core/services/confirmation.service.js +0 -55
- package/esm2015/core/services/dialog.service.js +0 -41
- package/esm2015/core/services/message.service.js +0 -33
- package/esm2015/core/services/nav.service.js +0 -48
- package/esm2015/core/services/svg-register.service.js +0 -55
- package/esm2015/core/types/local-time.type.js +0 -1
- package/esm2015/core/types/ng-class.type.js +0 -1
- package/esm2015/core/utils/array.util.js +0 -110
- package/esm2015/core/utils/browser.util.js +0 -13
- package/esm2015/core/utils/currency.util.js +0 -21
- package/esm2015/core/utils/date.util.js +0 -257
- package/esm2015/core/utils/document.util.js +0 -153
- package/esm2015/core/utils/email.util.js +0 -25
- package/esm2015/core/utils/number.util.js +0 -28
- package/esm2015/core/utils/object.util.js +0 -199
- package/esm2015/core/utils/password.util.js +0 -38
- package/esm2015/core/utils/phone.util.js +0 -125
- package/esm2015/core/utils/string.util.js +0 -40
- package/esm2015/core/utils/table-column-builder.js +0 -85
- package/esm2015/core/utils/time.util.js +0 -59
- package/esm2015/core/utils/url-params.util.js +0 -12
- package/esm2015/core/utils/uuid.util.js +0 -17
- package/esm2015/core/utils/zindex.util.js +0 -35
- package/esm2015/core.js +0 -89
- package/esm2015/gipi-components.js +0 -105
- package/esm2015/gipisistemas-ng-core.js +0 -21
- package/esm2015/public_api.js +0 -4
- package/esm2015/shared/api/generate-id-component.js +0 -12
- package/esm2015/shared/api/gipi-ng-config.js +0 -76
- package/esm2015/shared/api/overlay-message.js +0 -1
- package/esm2015/shared/api/throttle.js +0 -60
- package/esm2015/shared/api/translation.js +0 -1
- package/esm2015/shared/components/button/button.component.js +0 -110
- package/esm2015/shared/components/card/card.component.js +0 -44
- package/esm2015/shared/components/checkbox/checkbox.component.js +0 -79
- package/esm2015/shared/components/dom/connected-overlay-scroll-handler.js +0 -27
- package/esm2015/shared/components/dom/dom-handler.js +0 -538
- package/esm2015/shared/components/icon/icon.component.js +0 -35
- package/esm2015/shared/components/input/input.component.js +0 -235
- package/esm2015/shared/components/input-currency/input-currency.component.js +0 -115
- package/esm2015/shared/components/input-file/input-file.component.js +0 -161
- package/esm2015/shared/components/loading/loading.component.js +0 -15
- package/esm2015/shared/components/loading-overlay/loading-overlay.component.js +0 -21
- package/esm2015/shared/components/overlay-panel/overlay-panel.component.js +0 -361
- package/esm2015/shared/components/popover/popover-ref.js +0 -25
- package/esm2015/shared/components/popover/popover.component.js +0 -34
- package/esm2015/shared/components/popover/popover.service.js +0 -85
- package/esm2015/shared/components/radio-group-entity/radio-group-entity.component.js +0 -74
- package/esm2015/shared/components/radio-group-enum/radio-group-enum.component.js +0 -126
- package/esm2015/shared/components/select-button/select-button.component.js +0 -181
- package/esm2015/shared/components/select-entity/select-entity.component.js +0 -262
- package/esm2015/shared/components/select-entity-paged/select-entity-paged.component.js +0 -419
- package/esm2015/shared/components/select-entity-paged/shared/default-options.js +0 -35
- package/esm2015/shared/components/select-entity-paged/shared/select-button-add/select-button-add.component.js +0 -69
- package/esm2015/shared/components/select-entity-paged/shared/select-button-next-batch/select-button-next-batch.component.js +0 -59
- package/esm2015/shared/components/select-entity-paged/shared/select-no-entries-found.directive.js +0 -20
- package/esm2015/shared/components/select-entity-paged/shared/select-search/select-search.component.js +0 -547
- package/esm2015/shared/components/select-entity-paged/shared/select-search-clear.directive.js +0 -18
- package/esm2015/shared/components/select-enum/select-enum.component.js +0 -117
- package/esm2015/shared/components/select-month-period/select-month-period.component.js +0 -87
- package/esm2015/shared/components/slide-toggle/slide-toggle.component.js +0 -75
- package/esm2015/shared/components/stepper/stepper.component.js +0 -32
- package/esm2015/shared/components/tab/tab.component.js +0 -57
- package/esm2015/shared/components/tab-group/tab-group.component.js +0 -117
- package/esm2015/shared/components/table/table.component.js +0 -523
- package/esm2015/shared/components/table-scrolled/table-scrolled.component.js +0 -105
- package/esm2015/shared/components/textarea/textarea.component.js +0 -156
- package/esm2015/shared/directives/dynamic-tab.directive.js +0 -18
- package/esm2015/shared/directives/generic-template.directive.js +0 -30
- package/esm2015/shared/directives/input-select-infinite-scroll.directive.js +0 -109
- package/esm2015/shared/directives/lower-case.directive.js +0 -47
- package/esm2015/shared/directives/phone-mask.directive.js +0 -60
- package/esm2015/shared/directives/space-drop.directive.js +0 -47
- package/esm2015/shared/directives/upper-case.directive.js +0 -47
- package/esm2015/shared/gipi-components/abstract-form/abstract-form.component.js +0 -119
- package/esm2015/shared/gipi-components/action-row/action-row.component.js +0 -30
- package/esm2015/shared/gipi-components/badge/badge.component.js +0 -44
- package/esm2015/shared/gipi-components/button/button.component.js +0 -251
- package/esm2015/shared/gipi-components/chips/chips.component.js +0 -149
- package/esm2015/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.js +0 -44
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +0 -324
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range-selection-startegy.js +0 -41
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range.directive.js +0 -35
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/shared/preset-range/preset-range.component.js +0 -259
- package/esm2015/shared/gipi-components/datepicker/datepicker/datepicker.component.js +0 -218
- package/esm2015/shared/gipi-components/datepicker/datepicker.module.js +0 -130
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/calendar-body.js +0 -341
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/calendar.js +0 -397
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-input-parts.js +0 -325
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-input.js +0 -329
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-picker.js +0 -41
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-selection-strategy.js +0 -61
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-selection-model.js +0 -159
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-animations.js +0 -35
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-base.js +0 -555
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-errors.js +0 -14
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-input-base.js +0 -303
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-input.js +0 -179
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-intl.js +0 -51
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-toggle.js +0 -124
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker.js +0 -29
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/month-view.js +0 -365
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/multi-year-view.js +0 -305
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-adapter.js +0 -116
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-formats.js +0 -10
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-adapter.js +0 -294
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-formats.js +0 -19
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/platform.js +0 -81
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/year-view.js +0 -294
- package/esm2015/shared/gipi-components/dom/connected-overlay-scroll-handler.js +0 -27
- package/esm2015/shared/gipi-components/dom/dom-handler.js +0 -645
- package/esm2015/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +0 -185
- package/esm2015/shared/gipi-components/expansion-panel/expansion-panel.component.js +0 -81
- package/esm2015/shared/gipi-components/file-drag-and-drop/file-drag-and-drop.component.js +0 -240
- package/esm2015/shared/gipi-components/file-drag-and-drop/shared/file-drag-and-drop.directive.js +0 -92
- package/esm2015/shared/gipi-components/footer/footer.component.js +0 -29
- package/esm2015/shared/gipi-components/form-field/form-field.component.js +0 -262
- package/esm2015/shared/gipi-components/helpful-tip/helpful-tip.component.js +0 -62
- package/esm2015/shared/gipi-components/infinite-scroll/infinite-scroll.directive.js +0 -103
- package/esm2015/shared/gipi-components/input-checkbox/input-checkbox.component.js +0 -112
- package/esm2015/shared/gipi-components/input-currency/input-currency.component.js +0 -197
- package/esm2015/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +0 -408
- package/esm2015/shared/gipi-components/input-select/input-select.component.js +0 -655
- package/esm2015/shared/gipi-components/input-select-enum/input-select-enum.component.js +0 -311
- package/esm2015/shared/gipi-components/input-select-listbox/input-select-listbox.component.js +0 -422
- package/esm2015/shared/gipi-components/input-select-paged/input-search/input-search.component.js +0 -374
- package/esm2015/shared/gipi-components/input-select-paged/input-select-paged.component.js +0 -350
- package/esm2015/shared/gipi-components/input-select-radio/input-select-radio.component.js +0 -269
- package/esm2015/shared/gipi-components/layout-grid/col.directive.js +0 -161
- package/esm2015/shared/gipi-components/layout-grid/row.directive.js +0 -124
- package/esm2015/shared/gipi-components/layout-grid/services/breakpoint.service.js +0 -87
- package/esm2015/shared/gipi-components/layout-grid/services/resize.service.js +0 -64
- package/esm2015/shared/gipi-components/month-year-picker/calendar-month-year/calendar-month-year.component.js +0 -193
- package/esm2015/shared/gipi-components/month-year-picker/mont-year-picker.module.js +0 -47
- package/esm2015/shared/gipi-components/month-year-picker/month-year-picker.component.js +0 -460
- package/esm2015/shared/gipi-components/notification/notification.component.js +0 -104
- package/esm2015/shared/gipi-components/novelties/novelties.component.js +0 -109
- package/esm2015/shared/gipi-components/overlay/overlay.component.js +0 -565
- package/esm2015/shared/gipi-components/overlay/shared/overlay-service.js +0 -21
- package/esm2015/shared/gipi-components/overlay/shared/overlay_options.js +0 -1
- package/esm2015/shared/gipi-components/password-requeriments/password-requeriments.component.js +0 -127
- package/esm2015/shared/gipi-components/popover/popover.component.js +0 -397
- package/esm2015/shared/gipi-components/popover/shared/popover-animations.js +0 -29
- package/esm2015/shared/gipi-components/popover/shared/popover-errors.js +0 -27
- package/esm2015/shared/gipi-components/popover/shared/popover-interfaces.js +0 -1
- package/esm2015/shared/gipi-components/popover/shared/popover-target.js +0 -19
- package/esm2015/shared/gipi-components/popover/shared/popover-trigger.js +0 -514
- package/esm2015/shared/gipi-components/popover/shared/popover-types.js +0 -1
- package/esm2015/shared/gipi-components/radio-group/radio-group.component.js +0 -143
- package/esm2015/shared/gipi-components/range-page/range-page.component.js +0 -254
- package/esm2015/shared/gipi-components/range-slider/range-slider.component.js +0 -345
- package/esm2015/shared/gipi-components/select/select.component.js +0 -211
- package/esm2015/shared/gipi-components/select-button/select-button.component.js +0 -187
- package/esm2015/shared/gipi-components/sidebar/container/container.component.js +0 -83
- package/esm2015/shared/gipi-components/sidebar/sidenav/sidenav.component.js +0 -240
- package/esm2015/shared/gipi-components/stepper/stepper.component.js +0 -37
- package/esm2015/shared/gipi-components/table/components/table-body/table-body.component.js +0 -203
- package/esm2015/shared/gipi-components/table/components/table-footer/table-footer.component.js +0 -30
- package/esm2015/shared/gipi-components/table/components/table-header/table-header.component.js +0 -152
- package/esm2015/shared/gipi-components/table/components/table-pagination/shared/paginate.pipe.js +0 -122
- package/esm2015/shared/gipi-components/table/components/table-pagination/shared/pagination-controls.directive.js +0 -225
- package/esm2015/shared/gipi-components/table/components/table-pagination/shared/pagination-instance.js +0 -1
- package/esm2015/shared/gipi-components/table/components/table-pagination/shared/pagination.service.js +0 -105
- package/esm2015/shared/gipi-components/table/components/table-pagination/table-pagination.component.js +0 -102
- package/esm2015/shared/gipi-components/table/components/table-progress-bar/table-progress-bar.component.js +0 -30
- package/esm2015/shared/gipi-components/table/models/pipe-transform.model.js +0 -1
- package/esm2015/shared/gipi-components/table/models/sort.model.js +0 -19
- package/esm2015/shared/gipi-components/table/models/sorted-column.model.js +0 -2
- package/esm2015/shared/gipi-components/table/models/table-column-builder.model.js +0 -104
- package/esm2015/shared/gipi-components/table/models/table-column.model.js +0 -162
- package/esm2015/shared/gipi-components/table/table.component.js +0 -159
- package/esm2015/shared/gipi-components/table/types/sort-direction.type.js +0 -1
- package/esm2015/shared/gipi-components/table/types/sort.type.js +0 -1
- package/esm2015/shared/gipi-components/template/template.directive.js +0 -33
- package/esm2015/shared/gipi-components/toolbar/toolbar.component.js +0 -53
- package/esm2015/shared/gipi-components/top-nav/top-nav.component.js +0 -38
- package/esm2015/shared/gipi-components/user-profile/user-profile.component.js +0 -109
- package/esm2015/shared/material.module.js +0 -102
- package/esm2015/shared/shared.module.js +0 -339
- package/esm2015/shared.js +0 -36
- package/esm5/core/app-messages.js +0 -1
- package/esm5/core/app.messages.js +0 -12
- package/esm5/core/components/abstract-crud.component.js +0 -108
- package/esm5/core/components/abstract-find.component.js +0 -201
- package/esm5/core/components/abstract.component.js +0 -112
- package/esm5/core/components/alert/alert.component.js +0 -25
- package/esm5/core/core.module.js +0 -107
- package/esm5/core/custom-breakpoints.js +0 -87
- package/esm5/core/enums/local-time.enum.js +0 -6
- package/esm5/core/extensions/string.extension.js +0 -37
- package/esm5/core/gipi-components/components/abstract-crud.component.js +0 -122
- package/esm5/core/gipi-components/components/abstract-find.component.js +0 -507
- package/esm5/core/gipi-components/components/abstract.component.js +0 -152
- package/esm5/core/gipi-components/decorators/autowired.decorator.js +0 -52
- package/esm5/core/gipi-components/enums/sort-direction.enum.js +0 -6
- package/esm5/core/gipi-components/interface/abstract-crud.interface.js +0 -1
- package/esm5/core/gipi-components/interface/abstract-find.interface.js +0 -1
- package/esm5/core/gipi-components/interface/abstract.interface.js +0 -1
- package/esm5/core/gipi-components/interface/base-permission.interface.js +0 -1
- package/esm5/core/gipi-components/models/abstract-filter.model.js +0 -7
- package/esm5/core/gipi-components/models/abstract.model.js +0 -7
- package/esm5/core/gipi-components/models/applied-filter.model.js +0 -29
- package/esm5/core/gipi-components/models/dto/abstract.dto.js +0 -7
- package/esm5/core/gipi-components/models/page-event.model.js +0 -49
- package/esm5/core/gipi-components/models/page.model.js +0 -9
- package/esm5/core/gipi-components/models/sort.model.js +0 -9
- package/esm5/core/gipi-components/services/abstract-crud.service.js +0 -114
- package/esm5/core/gipi-components/services/abstract.service.js +0 -49
- package/esm5/core/gipi-components/services/base.service.js +0 -143
- package/esm5/core/gipi-components/services/file.service.js +0 -53
- package/esm5/core/gipi-components/services/session-storage.service.js +0 -45
- package/esm5/core/gipi-components/types/generic.type.js +0 -1
- package/esm5/core/gipi-components/types/uuid.type.js +0 -1
- package/esm5/core/guards/auth.guard.js +0 -50
- package/esm5/core/guards/permission.guard.js +0 -74
- package/esm5/core/guards/public.guard.js +0 -47
- package/esm5/core/interceptors/auth.interceptor.js +0 -29
- package/esm5/core/interceptors/error.interceptor.js +0 -129
- package/esm5/core/models/abstract.model.js +0 -7
- package/esm5/core/models/archive.model.js +0 -7
- package/esm5/core/models/authority.model.js +0 -7
- package/esm5/core/models/base-user.model.js +0 -13
- package/esm5/core/models/dto/abstract.dto.js +0 -7
- package/esm5/core/models/dto/api-error.dto.js +0 -13
- package/esm5/core/models/dto/api-sub-error.dto.js +0 -11
- package/esm5/core/models/dto/chart.dto.js +0 -11
- package/esm5/core/models/dto/confirmation.dto.js +0 -13
- package/esm5/core/models/dto/dialog.dto.js +0 -11
- package/esm5/core/models/dto/filter.dto.js +0 -11
- package/esm5/core/models/dto/input-listbox.dto.js +0 -11
- package/esm5/core/models/dto/menu.dto.js +0 -14
- package/esm5/core/models/dto/message.dto.js +0 -11
- package/esm5/core/models/dto/page.dto.js +0 -14
- package/esm5/core/models/dto/sort.dto.js +0 -14
- package/esm5/core/models/dto/tab.dto.js +0 -15
- package/esm5/core/models/dto/table-column.dto.js +0 -29
- package/esm5/core/models/dto/table-group-header.dto.js +0 -15
- package/esm5/core/models/dto/table-page-event.dto.js +0 -11
- package/esm5/core/models/dto/token.dto.js +0 -11
- package/esm5/core/models/enums/criteria-operation.enum.js +0 -15
- package/esm5/core/models/enums/criteria-sort-direction.enum.js +0 -6
- package/esm5/core/models/enums/menu-type.enum.js +0 -7
- package/esm5/core/models/enums/radio-button.enum.js +0 -8
- package/esm5/core/models/enums/sort-direction.enum.js +0 -6
- package/esm5/core/models/multitenant.model.js +0 -11
- package/esm5/core/models/permission.model.js +0 -16
- package/esm5/core/models/role.model.js +0 -13
- package/esm5/core/pipes/local-time.pipe.js +0 -26
- package/esm5/core/services/abstract-crud.service.js +0 -30
- package/esm5/core/services/abstract-find.service.js +0 -71
- package/esm5/core/services/abstract.service.js +0 -32
- package/esm5/core/services/authentication.service.js +0 -121
- package/esm5/core/services/breakpoint-observer.service.js +0 -52
- package/esm5/core/services/confirmation.service.js +0 -66
- package/esm5/core/services/dialog.service.js +0 -44
- package/esm5/core/services/message.service.js +0 -36
- package/esm5/core/services/nav.service.js +0 -51
- package/esm5/core/services/svg-register.service.js +0 -67
- package/esm5/core/types/local-time.type.js +0 -1
- package/esm5/core/types/ng-class.type.js +0 -1
- package/esm5/core/utils/array.util.js +0 -120
- package/esm5/core/utils/browser.util.js +0 -17
- package/esm5/core/utils/currency.util.js +0 -26
- package/esm5/core/utils/date.util.js +0 -269
- package/esm5/core/utils/document.util.js +0 -157
- package/esm5/core/utils/email.util.js +0 -29
- package/esm5/core/utils/number.util.js +0 -32
- package/esm5/core/utils/object.util.js +0 -204
- package/esm5/core/utils/password.util.js +0 -42
- package/esm5/core/utils/phone.util.js +0 -135
- package/esm5/core/utils/string.util.js +0 -44
- package/esm5/core/utils/table-column-builder.js +0 -87
- package/esm5/core/utils/time.util.js +0 -65
- package/esm5/core/utils/url-params.util.js +0 -16
- package/esm5/core/utils/uuid.util.js +0 -21
- package/esm5/core/utils/zindex.util.js +0 -35
- package/esm5/core.js +0 -89
- package/esm5/gipi-components.js +0 -105
- package/esm5/gipisistemas-ng-core.js +0 -21
- package/esm5/public_api.js +0 -4
- package/esm5/shared/api/generate-id-component.js +0 -16
- package/esm5/shared/api/gipi-ng-config.js +0 -77
- package/esm5/shared/api/overlay-message.js +0 -1
- package/esm5/shared/api/throttle.js +0 -60
- package/esm5/shared/api/translation.js +0 -1
- package/esm5/shared/components/button/button.component.js +0 -111
- package/esm5/shared/components/card/card.component.js +0 -45
- package/esm5/shared/components/checkbox/checkbox.component.js +0 -85
- package/esm5/shared/components/dom/connected-overlay-scroll-handler.js +0 -30
- package/esm5/shared/components/dom/dom-handler.js +0 -573
- package/esm5/shared/components/icon/icon.component.js +0 -38
- package/esm5/shared/components/input/input.component.js +0 -242
- package/esm5/shared/components/input-currency/input-currency.component.js +0 -121
- package/esm5/shared/components/input-file/input-file.component.js +0 -165
- package/esm5/shared/components/loading/loading.component.js +0 -18
- package/esm5/shared/components/loading-overlay/loading-overlay.component.js +0 -23
- package/esm5/shared/components/overlay-panel/overlay-panel.component.js +0 -366
- package/esm5/shared/components/popover/popover-ref.js +0 -28
- package/esm5/shared/components/popover/popover.component.js +0 -35
- package/esm5/shared/components/popover/popover.service.js +0 -88
- package/esm5/shared/components/radio-group-entity/radio-group-entity.component.js +0 -80
- package/esm5/shared/components/radio-group-enum/radio-group-enum.component.js +0 -138
- package/esm5/shared/components/select-button/select-button.component.js +0 -195
- package/esm5/shared/components/select-entity/select-entity.component.js +0 -269
- package/esm5/shared/components/select-entity-paged/select-entity-paged.component.js +0 -453
- package/esm5/shared/components/select-entity-paged/shared/default-options.js +0 -35
- package/esm5/shared/components/select-entity-paged/shared/select-button-add/select-button-add.component.js +0 -72
- package/esm5/shared/components/select-entity-paged/shared/select-button-next-batch/select-button-next-batch.component.js +0 -62
- package/esm5/shared/components/select-entity-paged/shared/select-no-entries-found.directive.js +0 -23
- package/esm5/shared/components/select-entity-paged/shared/select-search/select-search.component.js +0 -590
- package/esm5/shared/components/select-entity-paged/shared/select-search-clear.directive.js +0 -21
- package/esm5/shared/components/select-enum/select-enum.component.js +0 -124
- package/esm5/shared/components/select-month-period/select-month-period.component.js +0 -91
- package/esm5/shared/components/slide-toggle/slide-toggle.component.js +0 -81
- package/esm5/shared/components/stepper/stepper.component.js +0 -36
- package/esm5/shared/components/tab/tab.component.js +0 -58
- package/esm5/shared/components/tab-group/tab-group.component.js +0 -125
- package/esm5/shared/components/table/table.component.js +0 -538
- package/esm5/shared/components/table-scrolled/table-scrolled.component.js +0 -107
- package/esm5/shared/components/textarea/textarea.component.js +0 -174
- package/esm5/shared/directives/dynamic-tab.directive.js +0 -19
- package/esm5/shared/directives/generic-template.directive.js +0 -31
- package/esm5/shared/directives/input-select-infinite-scroll.directive.js +0 -113
- package/esm5/shared/directives/lower-case.directive.js +0 -48
- package/esm5/shared/directives/phone-mask.directive.js +0 -61
- package/esm5/shared/directives/space-drop.directive.js +0 -48
- package/esm5/shared/directives/upper-case.directive.js +0 -48
- package/esm5/shared/gipi-components/abstract-form/abstract-form.component.js +0 -141
- package/esm5/shared/gipi-components/action-row/action-row.component.js +0 -33
- package/esm5/shared/gipi-components/badge/badge.component.js +0 -46
- package/esm5/shared/gipi-components/button/button.component.js +0 -257
- package/esm5/shared/gipi-components/chips/chips.component.js +0 -159
- package/esm5/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.js +0 -46
- package/esm5/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +0 -378
- package/esm5/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range-selection-startegy.js +0 -42
- package/esm5/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range.directive.js +0 -40
- package/esm5/shared/gipi-components/datepicker/date-range-picker/shared/preset-range/preset-range.component.js +0 -291
- package/esm5/shared/gipi-components/datepicker/datepicker/datepicker.component.js +0 -252
- package/esm5/shared/gipi-components/datepicker/datepicker.module.js +0 -133
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/calendar-body.js +0 -349
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/calendar.js +0 -441
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-input-parts.js +0 -339
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-input.js +0 -376
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-picker.js +0 -46
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-selection-strategy.js +0 -62
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-selection-model.js +0 -167
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-animations.js +0 -35
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-base.js +0 -586
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-errors.js +0 -14
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-input-base.js +0 -327
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-input.js +0 -199
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-intl.js +0 -52
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-toggle.js +0 -133
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker.js +0 -34
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/month-view.js +0 -384
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/multi-year-view.js +0 -324
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-adapter.js +0 -118
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-formats.js +0 -10
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-adapter.js +0 -300
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-formats.js +0 -19
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/platform.js +0 -82
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/year-view.js +0 -313
- package/esm5/shared/gipi-components/dom/connected-overlay-scroll-handler.js +0 -30
- package/esm5/shared/gipi-components/dom/dom-handler.js +0 -681
- package/esm5/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +0 -191
- package/esm5/shared/gipi-components/expansion-panel/expansion-panel.component.js +0 -83
- package/esm5/shared/gipi-components/file-drag-and-drop/file-drag-and-drop.component.js +0 -255
- package/esm5/shared/gipi-components/file-drag-and-drop/shared/file-drag-and-drop.directive.js +0 -93
- package/esm5/shared/gipi-components/footer/footer.component.js +0 -32
- package/esm5/shared/gipi-components/form-field/form-field.component.js +0 -276
- package/esm5/shared/gipi-components/helpful-tip/helpful-tip.component.js +0 -68
- package/esm5/shared/gipi-components/infinite-scroll/infinite-scroll.directive.js +0 -106
- package/esm5/shared/gipi-components/input-checkbox/input-checkbox.component.js +0 -118
- package/esm5/shared/gipi-components/input-currency/input-currency.component.js +0 -207
- package/esm5/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +0 -426
- package/esm5/shared/gipi-components/input-select/input-select.component.js +0 -698
- package/esm5/shared/gipi-components/input-select-enum/input-select-enum.component.js +0 -351
- package/esm5/shared/gipi-components/input-select-listbox/input-select-listbox.component.js +0 -437
- package/esm5/shared/gipi-components/input-select-paged/input-search/input-search.component.js +0 -397
- package/esm5/shared/gipi-components/input-select-paged/input-select-paged.component.js +0 -384
- package/esm5/shared/gipi-components/input-select-radio/input-select-radio.component.js +0 -286
- package/esm5/shared/gipi-components/layout-grid/col.directive.js +0 -164
- package/esm5/shared/gipi-components/layout-grid/row.directive.js +0 -127
- package/esm5/shared/gipi-components/layout-grid/services/breakpoint.service.js +0 -90
- package/esm5/shared/gipi-components/layout-grid/services/resize.service.js +0 -68
- package/esm5/shared/gipi-components/month-year-picker/calendar-month-year/calendar-month-year.component.js +0 -200
- package/esm5/shared/gipi-components/month-year-picker/mont-year-picker.module.js +0 -50
- package/esm5/shared/gipi-components/month-year-picker/month-year-picker.component.js +0 -505
- package/esm5/shared/gipi-components/notification/notification.component.js +0 -106
- package/esm5/shared/gipi-components/novelties/novelties.component.js +0 -111
- package/esm5/shared/gipi-components/overlay/overlay.component.js +0 -670
- package/esm5/shared/gipi-components/overlay/shared/overlay-service.js +0 -22
- package/esm5/shared/gipi-components/overlay/shared/overlay_options.js +0 -1
- package/esm5/shared/gipi-components/password-requeriments/password-requeriments.component.js +0 -157
- package/esm5/shared/gipi-components/popover/popover.component.js +0 -473
- package/esm5/shared/gipi-components/popover/shared/popover-animations.js +0 -29
- package/esm5/shared/gipi-components/popover/shared/popover-errors.js +0 -21
- package/esm5/shared/gipi-components/popover/shared/popover-interfaces.js +0 -1
- package/esm5/shared/gipi-components/popover/shared/popover-target.js +0 -20
- package/esm5/shared/gipi-components/popover/shared/popover-trigger.js +0 -529
- package/esm5/shared/gipi-components/popover/shared/popover-types.js +0 -1
- package/esm5/shared/gipi-components/radio-group/radio-group.component.js +0 -155
- package/esm5/shared/gipi-components/range-page/range-page.component.js +0 -283
- package/esm5/shared/gipi-components/range-slider/range-slider.component.js +0 -364
- package/esm5/shared/gipi-components/select/select.component.js +0 -222
- package/esm5/shared/gipi-components/select-button/select-button.component.js +0 -206
- package/esm5/shared/gipi-components/sidebar/container/container.component.js +0 -96
- package/esm5/shared/gipi-components/sidebar/sidenav/sidenav.component.js +0 -267
- package/esm5/shared/gipi-components/stepper/stepper.component.js +0 -43
- package/esm5/shared/gipi-components/table/components/table-body/table-body.component.js +0 -209
- package/esm5/shared/gipi-components/table/components/table-footer/table-footer.component.js +0 -33
- package/esm5/shared/gipi-components/table/components/table-header/table-header.component.js +0 -155
- package/esm5/shared/gipi-components/table/components/table-pagination/shared/paginate.pipe.js +0 -123
- package/esm5/shared/gipi-components/table/components/table-pagination/shared/pagination-controls.directive.js +0 -228
- package/esm5/shared/gipi-components/table/components/table-pagination/shared/pagination-instance.js +0 -1
- package/esm5/shared/gipi-components/table/components/table-pagination/shared/pagination.service.js +0 -108
- package/esm5/shared/gipi-components/table/components/table-pagination/table-pagination.component.js +0 -116
- package/esm5/shared/gipi-components/table/components/table-progress-bar/table-progress-bar.component.js +0 -33
- package/esm5/shared/gipi-components/table/models/pipe-transform.model.js +0 -1
- package/esm5/shared/gipi-components/table/models/sort.model.js +0 -29
- package/esm5/shared/gipi-components/table/models/sorted-column.model.js +0 -2
- package/esm5/shared/gipi-components/table/models/table-column-builder.model.js +0 -106
- package/esm5/shared/gipi-components/table/models/table-column.model.js +0 -252
- package/esm5/shared/gipi-components/table/table.component.js +0 -161
- package/esm5/shared/gipi-components/table/types/sort-direction.type.js +0 -1
- package/esm5/shared/gipi-components/table/types/sort.type.js +0 -1
- package/esm5/shared/gipi-components/template/template.directive.js +0 -34
- package/esm5/shared/gipi-components/toolbar/toolbar.component.js +0 -56
- package/esm5/shared/gipi-components/top-nav/top-nav.component.js +0 -40
- package/esm5/shared/gipi-components/user-profile/user-profile.component.js +0 -115
- package/esm5/shared/material.module.js +0 -101
- package/esm5/shared/shared.module.js +0 -340
- package/esm5/shared.js +0 -36
- package/fesm2015/gipisistemas-ng-core.js +0 -25879
- package/fesm2015/gipisistemas-ng-core.js.map +0 -1
- package/fesm5/gipisistemas-ng-core.js +0 -27905
- package/fesm5/gipisistemas-ng-core.js.map +0 -1
- package/gipi-components.d.ts +0 -97
- package/gipisistemas-ng-core.d.ts +0 -20
- package/gipisistemas-ng-core.metadata.json +0 -1
- package/public_api.d.ts +0 -3
- package/shared/api/generate-id-component.d.ts +0 -3
- package/shared/api/gipi-ng-config.d.ts +0 -18
- package/shared/api/overlay-message.d.ts +0 -14
- package/shared/api/throttle.d.ts +0 -17
- package/shared/api/translation.d.ts +0 -45
- package/shared/components/button/button.component.d.ts +0 -26
- package/shared/components/card/card.component.d.ts +0 -10
- package/shared/components/checkbox/checkbox.component.d.ts +0 -20
- package/shared/components/dom/connected-overlay-scroll-handler.d.ts +0 -9
- package/shared/components/dom/dom-handler.d.ts +0 -74
- package/shared/components/icon/icon.component.d.ts +0 -9
- package/shared/components/input/input.component.d.ts +0 -52
- package/shared/components/input-currency/input-currency.component.d.ts +0 -29
- package/shared/components/input-file/input-file.component.d.ts +0 -28
- package/shared/components/loading/loading.component.d.ts +0 -4
- package/shared/components/loading-overlay/loading-overlay.component.d.ts +0 -6
- package/shared/components/overlay-panel/overlay-panel.component.d.ts +0 -67
- package/shared/components/popover/popover-ref.d.ts +0 -17
- package/shared/components/popover/popover.component.d.ts +0 -10
- package/shared/components/popover/popover.service.d.ts +0 -23
- package/shared/components/radio-group-entity/radio-group-entity.component.d.ts +0 -19
- package/shared/components/radio-group-enum/radio-group-enum.component.d.ts +0 -30
- package/shared/components/select-button/select-button.component.d.ts +0 -35
- package/shared/components/select-entity/select-entity.component.d.ts +0 -52
- package/shared/components/select-entity-paged/select-entity-paged.component.d.ts +0 -78
- package/shared/components/select-entity-paged/shared/default-options.d.ts +0 -25
- package/shared/components/select-entity-paged/shared/select-button-add/select-button-add.component.d.ts +0 -18
- package/shared/components/select-entity-paged/shared/select-button-next-batch/select-button-next-batch.component.d.ts +0 -16
- package/shared/components/select-entity-paged/shared/select-no-entries-found.directive.d.ts +0 -11
- package/shared/components/select-entity-paged/shared/select-search/select-search.component.d.ts +0 -119
- package/shared/components/select-entity-paged/shared/select-search-clear.directive.d.ts +0 -9
- package/shared/components/select-enum/select-enum.component.d.ts +0 -29
- package/shared/components/select-month-period/select-month-period.component.d.ts +0 -20
- package/shared/components/slide-toggle/slide-toggle.component.d.ts +0 -19
- package/shared/components/stepper/stepper.component.d.ts +0 -7
- package/shared/components/tab/tab.component.d.ts +0 -14
- package/shared/components/tab-group/tab-group.component.d.ts +0 -22
- package/shared/components/table/table.component.d.ts +0 -86
- package/shared/components/table-scrolled/table-scrolled.component.d.ts +0 -31
- package/shared/components/textarea/textarea.component.d.ts +0 -35
- package/shared/directives/dynamic-tab.directive.d.ts +0 -5
- package/shared/directives/generic-template.directive.d.ts +0 -8
- package/shared/directives/input-select-infinite-scroll.directive.d.ts +0 -35
- package/shared/directives/lower-case.directive.d.ts +0 -9
- package/shared/directives/phone-mask.directive.d.ts +0 -8
- package/shared/directives/space-drop.directive.d.ts +0 -9
- package/shared/directives/upper-case.directive.d.ts +0 -9
- package/shared/gipi-components/abstract-form/abstract-form.component.d.ts +0 -21
- package/shared/gipi-components/action-row/action-row.component.d.ts +0 -5
- package/shared/gipi-components/badge/badge.component.d.ts +0 -8
- package/shared/gipi-components/button/button.component.d.ts +0 -56
- package/shared/gipi-components/chips/chips.component.d.ts +0 -37
- package/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.d.ts +0 -11
- package/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.d.ts +0 -71
- package/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range-selection-startegy.d.ts +0 -11
- package/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range.directive.d.ts +0 -6
- package/shared/gipi-components/datepicker/date-range-picker/shared/preset-range/preset-range.component.d.ts +0 -40
- package/shared/gipi-components/datepicker/datepicker/datepicker.component.d.ts +0 -49
- package/shared/gipi-components/datepicker/datepicker.module.d.ts +0 -2
- package/shared/gipi-components/datepicker/mat-datepicker/calendar-body.d.ts +0 -143
- package/shared/gipi-components/datepicker/mat-datepicker/calendar.d.ts +0 -152
- package/shared/gipi-components/datepicker/mat-datepicker/date-range-input-parts.d.ts +0 -102
- package/shared/gipi-components/datepicker/mat-datepicker/date-range-input.d.ts +0 -124
- package/shared/gipi-components/datepicker/mat-datepicker/date-range-picker.d.ts +0 -21
- package/shared/gipi-components/datepicker/mat-datepicker/date-range-selection-strategy.d.ts +0 -45
- package/shared/gipi-components/datepicker/mat-datepicker/date-selection-model.d.ts +0 -106
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-animations.d.ts +0 -16
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-base.d.ts +0 -209
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-errors.d.ts +0 -9
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-input-base.d.ts +0 -136
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-input.d.ts +0 -68
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-intl.d.ts +0 -38
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-toggle.d.ts +0 -39
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker.d.ts +0 -11
- package/shared/gipi-components/datepicker/mat-datepicker/month-view.d.ts +0 -120
- package/shared/gipi-components/datepicker/mat-datepicker/multi-year-view.d.ts +0 -85
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-adapter.d.ts +0 -225
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-formats.d.ts +0 -20
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-adapter.d.ts +0 -76
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-formats.d.ts +0 -9
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/platform.d.ts +0 -33
- package/shared/gipi-components/datepicker/mat-datepicker/year-view.d.ts +0 -97
- package/shared/gipi-components/dom/connected-overlay-scroll-handler.d.ts +0 -9
- package/shared/gipi-components/dom/dom-handler.d.ts +0 -85
- package/shared/gipi-components/dropdown-menu/dropdown-menu.component.d.ts +0 -36
- package/shared/gipi-components/expansion-panel/expansion-panel.component.d.ts +0 -16
- package/shared/gipi-components/file-drag-and-drop/file-drag-and-drop.component.d.ts +0 -43
- package/shared/gipi-components/file-drag-and-drop/shared/file-drag-and-drop.directive.d.ts +0 -13
- package/shared/gipi-components/footer/footer.component.d.ts +0 -5
- package/shared/gipi-components/form-field/form-field.component.d.ts +0 -61
- package/shared/gipi-components/helpful-tip/helpful-tip.component.d.ts +0 -13
- package/shared/gipi-components/infinite-scroll/infinite-scroll.directive.d.ts +0 -27
- package/shared/gipi-components/input-checkbox/input-checkbox.component.d.ts +0 -28
- package/shared/gipi-components/input-currency/input-currency.component.d.ts +0 -48
- package/shared/gipi-components/input-monthpicker/input-monthpicker.component.d.ts +0 -89
- package/shared/gipi-components/input-select/input-select.component.d.ts +0 -120
- package/shared/gipi-components/input-select-enum/input-select-enum.component.d.ts +0 -65
- package/shared/gipi-components/input-select-listbox/input-select-listbox.component.d.ts +0 -85
- package/shared/gipi-components/input-select-paged/input-search/input-search.component.d.ts +0 -77
- package/shared/gipi-components/input-select-paged/input-select-paged.component.d.ts +0 -66
- package/shared/gipi-components/input-select-radio/input-select-radio.component.d.ts +0 -53
- package/shared/gipi-components/layout-grid/col.directive.d.ts +0 -38
- package/shared/gipi-components/layout-grid/row.directive.d.ts +0 -28
- package/shared/gipi-components/layout-grid/services/breakpoint.service.d.ts +0 -30
- package/shared/gipi-components/layout-grid/services/resize.service.d.ts +0 -17
- package/shared/gipi-components/month-year-picker/calendar-month-year/calendar-month-year.component.d.ts +0 -37
- package/shared/gipi-components/month-year-picker/mont-year-picker.module.d.ts +0 -2
- package/shared/gipi-components/month-year-picker/month-year-picker.component.d.ts +0 -104
- package/shared/gipi-components/notification/notification.component.d.ts +0 -21
- package/shared/gipi-components/novelties/novelties.component.d.ts +0 -22
- package/shared/gipi-components/overlay/overlay.component.d.ts +0 -113
- package/shared/gipi-components/overlay/shared/overlay-service.d.ts +0 -6
- package/shared/gipi-components/overlay/shared/overlay_options.d.ts +0 -50
- package/shared/gipi-components/password-requeriments/password-requeriments.component.d.ts +0 -27
- package/shared/gipi-components/popover/popover.component.d.ts +0 -133
- package/shared/gipi-components/popover/shared/popover-animations.d.ts +0 -13
- package/shared/gipi-components/popover/shared/popover-errors.d.ts +0 -14
- package/shared/gipi-components/popover/shared/popover-interfaces.d.ts +0 -43
- package/shared/gipi-components/popover/shared/popover-target.d.ts +0 -5
- package/shared/gipi-components/popover/shared/popover-trigger.d.ts +0 -140
- package/shared/gipi-components/popover/shared/popover-types.d.ts +0 -4
- package/shared/gipi-components/radio-group/radio-group.component.d.ts +0 -33
- package/shared/gipi-components/range-page/range-page.component.d.ts +0 -55
- package/shared/gipi-components/range-slider/range-slider.component.d.ts +0 -57
- package/shared/gipi-components/select/select.component.d.ts +0 -45
- package/shared/gipi-components/select-button/select-button.component.d.ts +0 -39
- package/shared/gipi-components/sidebar/container/container.component.d.ts +0 -15
- package/shared/gipi-components/sidebar/sidenav/sidenav.component.d.ts +0 -40
- package/shared/gipi-components/stepper/stepper.component.d.ts +0 -8
- package/shared/gipi-components/table/components/table-body/table-body.component.d.ts +0 -36
- package/shared/gipi-components/table/components/table-footer/table-footer.component.d.ts +0 -5
- package/shared/gipi-components/table/components/table-header/table-header.component.d.ts +0 -28
- package/shared/gipi-components/table/components/table-pagination/shared/paginate.pipe.d.ts +0 -40
- package/shared/gipi-components/table/components/table-pagination/shared/pagination-controls.directive.d.ts +0 -81
- package/shared/gipi-components/table/components/table-pagination/shared/pagination-instance.d.ts +0 -24
- package/shared/gipi-components/table/components/table-pagination/shared/pagination.service.d.ts +0 -45
- package/shared/gipi-components/table/components/table-pagination/table-pagination.component.d.ts +0 -21
- package/shared/gipi-components/table/components/table-progress-bar/table-progress-bar.component.d.ts +0 -5
- package/shared/gipi-components/table/models/pipe-transform.model.d.ts +0 -3
- package/shared/gipi-components/table/models/sort.model.d.ts +0 -10
- package/shared/gipi-components/table/models/sorted-column.model.d.ts +0 -6
- package/shared/gipi-components/table/models/table-column-builder.model.d.ts +0 -52
- package/shared/gipi-components/table/models/table-column.model.d.ts +0 -74
- package/shared/gipi-components/table/table.component.d.ts +0 -37
- package/shared/gipi-components/table/types/sort-direction.type.d.ts +0 -1
- package/shared/gipi-components/table/types/sort.type.d.ts +0 -1
- package/shared/gipi-components/template/template.directive.d.ts +0 -8
- package/shared/gipi-components/toolbar/toolbar.component.d.ts +0 -11
- package/shared/gipi-components/top-nav/top-nav.component.d.ts +0 -8
- package/shared/gipi-components/user-profile/user-profile.component.d.ts +0 -24
- package/shared/material.module.d.ts +0 -2
- package/shared/shared.module.d.ts +0 -6
- package/shared.d.ts +0 -35
@@ -1,257 +0,0 @@
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
2
|
-
import { Component, ElementRef, EventEmitter, HostListener, Input, OnDestroy, OnInit, Output, ViewChild, forwardRef } from '@angular/core';
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
-
import { GIPIPopoverTrigger } from '../popover/shared/popover-trigger';
|
5
|
-
var GIPIButtonComponent = /** @class */ (function () {
|
6
|
-
function GIPIButtonComponent(_elementRef) {
|
7
|
-
this._elementRef = _elementRef;
|
8
|
-
this.isButtonPrimary = this._hasHostAttributes('gipi-primary');
|
9
|
-
this.isButtonPrimaryIcon = this._hasHostAttributes('gipi-primary-icon');
|
10
|
-
this.isButtonSecondary = this._hasHostAttributes('gipi-secondary');
|
11
|
-
this.isButtonSecondaryIcon = this._hasHostAttributes('gipi-secondary-icon');
|
12
|
-
this.isButtonTertiary = this._hasHostAttributes('gipi-tertiary');
|
13
|
-
this.isButtonTertiaryIcon = this._hasHostAttributes('gipi-tertiary-icon');
|
14
|
-
this.isButtonLink = this._hasHostAttributes('gipi-link');
|
15
|
-
this.isButtonIcon = this._hasHostAttributes('gipi-icon');
|
16
|
-
this.isButtonAction = this._hasHostAttributes('gipi-action');
|
17
|
-
this._overlayVisible = false;
|
18
|
-
this.type = 'button';
|
19
|
-
this.ariaLabel = '';
|
20
|
-
this.title = '';
|
21
|
-
this.label = '';
|
22
|
-
this.icon = null;
|
23
|
-
this.svgIcon = null;
|
24
|
-
this.iconPos = 'left';
|
25
|
-
this.disabled = false;
|
26
|
-
this.loading = false;
|
27
|
-
this.notification = false;
|
28
|
-
this.tooltip = '';
|
29
|
-
this.popover = false;
|
30
|
-
this.overlay = false;
|
31
|
-
this.isForInput = false;
|
32
|
-
this.onShowOverlay = new EventEmitter();
|
33
|
-
this.onOpenPopover = new EventEmitter();
|
34
|
-
this.onClosePopover = new EventEmitter();
|
35
|
-
this.onClick = new EventEmitter(true);
|
36
|
-
this.onFocus = new EventEmitter(true);
|
37
|
-
this.onBlur = new EventEmitter(true);
|
38
|
-
}
|
39
|
-
GIPIButtonComponent_1 = GIPIButtonComponent;
|
40
|
-
GIPIButtonComponent.prototype.ngOnInit = function () { };
|
41
|
-
GIPIButtonComponent.prototype.ngOnDestroy = function () {
|
42
|
-
if (this.popoverTrigger) {
|
43
|
-
this.popoverTrigger.destroyPopover();
|
44
|
-
}
|
45
|
-
};
|
46
|
-
GIPIButtonComponent.prototype.getHostElement = function () {
|
47
|
-
return this._elementRef.nativeElement;
|
48
|
-
};
|
49
|
-
GIPIButtonComponent.prototype._hasHostAttributes = function () {
|
50
|
-
var _this = this;
|
51
|
-
var attributes = [];
|
52
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
53
|
-
attributes[_i] = arguments[_i];
|
54
|
-
}
|
55
|
-
return attributes.some(function (attribute) { return _this.getHostElement().hasAttribute(attribute); });
|
56
|
-
};
|
57
|
-
GIPIButtonComponent.prototype.toggleOverlay = function () {
|
58
|
-
if (this.disabled || this.loading) {
|
59
|
-
return;
|
60
|
-
}
|
61
|
-
else {
|
62
|
-
this._overlayVisible = !this._overlayVisible;
|
63
|
-
}
|
64
|
-
};
|
65
|
-
GIPIButtonComponent.prototype.showPopover = function () {
|
66
|
-
if (this.disabled || this.loading) {
|
67
|
-
return;
|
68
|
-
}
|
69
|
-
else {
|
70
|
-
this.popoverTrigger.openPopover();
|
71
|
-
}
|
72
|
-
};
|
73
|
-
GIPIButtonComponent.prototype.closePopover = function () {
|
74
|
-
if (this.disabled || this.loading) {
|
75
|
-
return;
|
76
|
-
}
|
77
|
-
else {
|
78
|
-
this.popoverTrigger.closePopover();
|
79
|
-
}
|
80
|
-
};
|
81
|
-
GIPIButtonComponent.prototype.handleClick = function (event) {
|
82
|
-
if (this.disabled || this.loading) {
|
83
|
-
return;
|
84
|
-
}
|
85
|
-
else {
|
86
|
-
if (this.overlay) {
|
87
|
-
this.toggleOverlay();
|
88
|
-
}
|
89
|
-
this.onClick.emit(event);
|
90
|
-
event.stopPropagation();
|
91
|
-
}
|
92
|
-
};
|
93
|
-
GIPIButtonComponent.prototype.handleFocus = function (event) {
|
94
|
-
if (this.disabled || this.loading) {
|
95
|
-
return;
|
96
|
-
}
|
97
|
-
else {
|
98
|
-
this.onFocus.emit(event);
|
99
|
-
event.stopPropagation();
|
100
|
-
}
|
101
|
-
};
|
102
|
-
GIPIButtonComponent.prototype.handleBlur = function (event) {
|
103
|
-
if (this.disabled || this.loading) {
|
104
|
-
return;
|
105
|
-
}
|
106
|
-
else {
|
107
|
-
this.onBlur.emit(event);
|
108
|
-
event.stopPropagation();
|
109
|
-
}
|
110
|
-
};
|
111
|
-
GIPIButtonComponent.prototype.onResize = function (event) {
|
112
|
-
if (this.popoverTrigger) {
|
113
|
-
this.popoverTrigger.closePopover();
|
114
|
-
event.stopPropagation();
|
115
|
-
}
|
116
|
-
};
|
117
|
-
var GIPIButtonComponent_1;
|
118
|
-
GIPIButtonComponent.ctorParameters = function () { return [
|
119
|
-
{ type: ElementRef }
|
120
|
-
]; };
|
121
|
-
__decorate([
|
122
|
-
ViewChild(GIPIPopoverTrigger, { static: false }),
|
123
|
-
__metadata("design:type", GIPIPopoverTrigger)
|
124
|
-
], GIPIButtonComponent.prototype, "popoverTrigger", void 0);
|
125
|
-
__decorate([
|
126
|
-
Input(),
|
127
|
-
__metadata("design:type", String)
|
128
|
-
], GIPIButtonComponent.prototype, "id", void 0);
|
129
|
-
__decorate([
|
130
|
-
Input(),
|
131
|
-
__metadata("design:type", String)
|
132
|
-
], GIPIButtonComponent.prototype, "name", void 0);
|
133
|
-
__decorate([
|
134
|
-
Input(),
|
135
|
-
__metadata("design:type", String)
|
136
|
-
], GIPIButtonComponent.prototype, "type", void 0);
|
137
|
-
__decorate([
|
138
|
-
Input(),
|
139
|
-
__metadata("design:type", String)
|
140
|
-
], GIPIButtonComponent.prototype, "ariaLabel", void 0);
|
141
|
-
__decorate([
|
142
|
-
Input(),
|
143
|
-
__metadata("design:type", String)
|
144
|
-
], GIPIButtonComponent.prototype, "title", void 0);
|
145
|
-
__decorate([
|
146
|
-
Input(),
|
147
|
-
__metadata("design:type", String)
|
148
|
-
], GIPIButtonComponent.prototype, "label", void 0);
|
149
|
-
__decorate([
|
150
|
-
Input(),
|
151
|
-
__metadata("design:type", String)
|
152
|
-
], GIPIButtonComponent.prototype, "buttonClass", void 0);
|
153
|
-
__decorate([
|
154
|
-
Input(),
|
155
|
-
__metadata("design:type", Object)
|
156
|
-
], GIPIButtonComponent.prototype, "buttonPadding", void 0);
|
157
|
-
__decorate([
|
158
|
-
Input(),
|
159
|
-
__metadata("design:type", Object)
|
160
|
-
], GIPIButtonComponent.prototype, "iconWidth", void 0);
|
161
|
-
__decorate([
|
162
|
-
Input(),
|
163
|
-
__metadata("design:type", Object)
|
164
|
-
], GIPIButtonComponent.prototype, "iconHeight", void 0);
|
165
|
-
__decorate([
|
166
|
-
Input(),
|
167
|
-
__metadata("design:type", String)
|
168
|
-
], GIPIButtonComponent.prototype, "icon", void 0);
|
169
|
-
__decorate([
|
170
|
-
Input(),
|
171
|
-
__metadata("design:type", String)
|
172
|
-
], GIPIButtonComponent.prototype, "svgIcon", void 0);
|
173
|
-
__decorate([
|
174
|
-
Input(),
|
175
|
-
__metadata("design:type", String)
|
176
|
-
], GIPIButtonComponent.prototype, "iconPos", void 0);
|
177
|
-
__decorate([
|
178
|
-
Input(),
|
179
|
-
__metadata("design:type", Boolean)
|
180
|
-
], GIPIButtonComponent.prototype, "disabled", void 0);
|
181
|
-
__decorate([
|
182
|
-
Input(),
|
183
|
-
__metadata("design:type", Boolean)
|
184
|
-
], GIPIButtonComponent.prototype, "loading", void 0);
|
185
|
-
__decorate([
|
186
|
-
Input(),
|
187
|
-
__metadata("design:type", Boolean)
|
188
|
-
], GIPIButtonComponent.prototype, "notification", void 0);
|
189
|
-
__decorate([
|
190
|
-
Input(),
|
191
|
-
__metadata("design:type", String)
|
192
|
-
], GIPIButtonComponent.prototype, "tooltip", void 0);
|
193
|
-
__decorate([
|
194
|
-
Input(),
|
195
|
-
__metadata("design:type", Boolean)
|
196
|
-
], GIPIButtonComponent.prototype, "popover", void 0);
|
197
|
-
__decorate([
|
198
|
-
Input(),
|
199
|
-
__metadata("design:type", Boolean)
|
200
|
-
], GIPIButtonComponent.prototype, "overlay", void 0);
|
201
|
-
__decorate([
|
202
|
-
Input('forInput'),
|
203
|
-
__metadata("design:type", Boolean)
|
204
|
-
], GIPIButtonComponent.prototype, "isForInput", void 0);
|
205
|
-
__decorate([
|
206
|
-
Output(),
|
207
|
-
__metadata("design:type", EventEmitter)
|
208
|
-
], GIPIButtonComponent.prototype, "onShowOverlay", void 0);
|
209
|
-
__decorate([
|
210
|
-
Output(),
|
211
|
-
__metadata("design:type", EventEmitter)
|
212
|
-
], GIPIButtonComponent.prototype, "onOpenPopover", void 0);
|
213
|
-
__decorate([
|
214
|
-
Output(),
|
215
|
-
__metadata("design:type", EventEmitter)
|
216
|
-
], GIPIButtonComponent.prototype, "onClosePopover", void 0);
|
217
|
-
__decorate([
|
218
|
-
Output('click'),
|
219
|
-
__metadata("design:type", EventEmitter)
|
220
|
-
], GIPIButtonComponent.prototype, "onClick", void 0);
|
221
|
-
__decorate([
|
222
|
-
Output('focus'),
|
223
|
-
__metadata("design:type", EventEmitter)
|
224
|
-
], GIPIButtonComponent.prototype, "onFocus", void 0);
|
225
|
-
__decorate([
|
226
|
-
Output('blur'),
|
227
|
-
__metadata("design:type", EventEmitter)
|
228
|
-
], GIPIButtonComponent.prototype, "onBlur", void 0);
|
229
|
-
__decorate([
|
230
|
-
HostListener('window:resize', ['$event']),
|
231
|
-
__metadata("design:type", Function),
|
232
|
-
__metadata("design:paramtypes", [UIEvent]),
|
233
|
-
__metadata("design:returntype", void 0)
|
234
|
-
], GIPIButtonComponent.prototype, "onResize", null);
|
235
|
-
GIPIButtonComponent = GIPIButtonComponent_1 = __decorate([
|
236
|
-
Component({
|
237
|
-
selector: "gipi-button[gipi-primary], gipi-button[gipi-primary-icon], gipi-button[gipi-secondary], gipi-button[gipi-secondary-icon],\n gipi-button[gipi-tertiary], gipi-button[gipi-link], gipi-button[gipi-icon], gipi-button[gipi-action]",
|
238
|
-
exportAs: 'gipiButton',
|
239
|
-
template: "<button [attr.id]=\"id\"\n [attr.name]=\"name\"\n [attr.type]=\"type\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : label\"\n [attr.title]=\"title ? title : label\"\n [disabled]=\"disabled || loading\"\n [matTooltip]=\"tooltip\"\n role=\"button\"\n [class]=\"buttonClass\"\n [ngClass]=\"{'button-base': true,\n 'button-primary': (isButtonPrimary || isButtonPrimaryIcon),\n 'button-primary-icon': isButtonPrimaryIcon,\n 'button-secondary': (isButtonSecondary || isButtonSecondaryIcon),\n 'button-secondary-icon': isButtonSecondaryIcon,\n 'button-tertiary': (isButtonTertiary || isButtonTertiaryIcon),\n 'button-tertiary-icon': isButtonTertiaryIcon,\n 'button-link': isButtonLink,\n 'button-only-icon': isButtonIcon,\n 'button-for-input': isForInput,\n 'button-notification': notification,\n 'button-action': isButtonAction}\"\n [style.padding.px]=\"buttonPadding\"\n #popoverTrigger=\"popoverTrigger\"\n [popoverTriggerFor]=\"btnPopover\"\n [popoverTriggerOn]=\"popover ? 'click' : 'none'\"\n [popoverBackdropCloseOnClick]=\"true\"\n (opened)=\"onOpenPopover.emit()\"\n (closed)=\"onClosePopover.emit()\"\n (click)=\"handleClick($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleBlur($event)\">\n\n <span [ngClass]=\"{'button-content': true,\n 'button-disabled': disabled,\n 'button-icon-left': ((iconPos === 'left') && label),\n 'button-icon-right': ((iconPos === 'right') && label),\n 'button-icon-top': ((iconPos === 'top') && label),\n 'button-icon-bottom': ((iconPos === 'bottom') && label),\n 'button-icon-center': (iconPos === 'center')}\">\n\n <mat-icon *ngIf=\"svgIcon || icon\"\n [svgIcon]=\"svgIcon\"\n [style.width.px]=\"iconWidth\"\n [style.height.px]=\"iconHeight\">\n {{ (!svgIcon && icon) ? icon : '' }}\n </mat-icon>\n\n <span class=\"button-label\"\n [attr.aria-hidden]=\"(icon || svgIcon) && !label\"\n *ngIf=\"!isButtonIcon && label\">\n {{ label }}\n </span>\n </span>\n\n</button>\n<gipi-overlay *ngIf=\"overlay && !popover\"\n [(visible)]=\"_overlayVisible\"\n [appendTo]=\"'body'\"\n (onShow)=\"onShowOverlay.emit()\">\n <ng-content> </ng-content>\n</gipi-overlay>\n\n<gipi-popover #btnPopover=\"gipiPopover\"\n [popoverOverlapTrigger]=\"false\"\n [popoverCloseOnClick]=\"false\"\n [popoverArrowWidth]=\"0\"\n [popoverOffsetY]=\"3\">\n <div class=\"btn-popover-content\">\n <ng-content> </ng-content>\n </div>\n</gipi-popover>",
|
240
|
-
providers: [
|
241
|
-
{
|
242
|
-
provide: NG_VALUE_ACCESSOR,
|
243
|
-
useExisting: forwardRef(function () { return GIPIButtonComponent_1; }),
|
244
|
-
multi: true
|
245
|
-
}
|
246
|
-
],
|
247
|
-
host: {
|
248
|
-
'class': 'gipi-button',
|
249
|
-
},
|
250
|
-
styles: [".button-base{display:flex;flex-direction:row;justify-content:center;padding:12px 16px;border-radius:4px;font-weight:600;font-size:1.4rem;line-height:1.6rem;cursor:pointer;outline:0;white-space:nowrap;text-decoration:none;vertical-align:middle;text-align:center;box-shadow:1px 1px 5px 0 rgba(0,0,0,.1);transition:.2s;width:100%;max-height:4rem;border:1px solid transparent;position:relative}.button-base:disabled,.button-base[disabled]{cursor:not-allowed!important;box-shadow:none}.button-base:not(:disabled):active{opacity:.8}.button-base .button-content{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:.8rem;font-size:1.4rem}.button-base .button-content.button-icon-right{flex-direction:row-reverse!important}.button-base .button-content.button-icon-top{flex-direction:column!important}.button-base .button-content.button-icon-bottom{flex-direction:column-reverse!important}.button-base .button-content>mat-icon{width:1.6rem;height:1.6rem;font-size:1.6rem;background-color:transparent!important}.button-base.button-notification:after{content:'';background-color:#d6a000;width:10px;height:10px;border-radius:50%;position:absolute;top:-2.5px;right:-2.5px}.button-primary-icon,.button-secondary-icon,.button-tertiary-icon{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}.button-primary:not(:disabled),.button-primary:not(:disabled) .button-content>mat-icon{background-color:#e0313e;color:#fff;fill:#fff}.button-primary:not(:disabled) .button-content>mat-icon svg,.button-primary:not(:disabled) .button-content>mat-icon svg g path,.button-primary:not(:disabled) .button-content>mat-icon svg path,.button-primary:not(:disabled) svg,.button-primary:not(:disabled) svg g path,.button-primary:not(:disabled) svg path{color:#fff;fill:#fff}.button-primary:disabled,.button-primary:disabled .button-content>mat-icon{background-color:#d1d2d4;color:#9a9da2;fill:#9a9da2}.button-primary:disabled .button-content>mat-icon svg,.button-primary:disabled .button-content>mat-icon svg g path,.button-primary:disabled .button-content>mat-icon svg path,.button-primary:disabled svg,.button-primary:disabled svg g path,.button-primary:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-primary:not(:disabled):hover,.button-primary:not(:disabled):hover .button-content>mat-icon{background-color:#cc2d38;color:#fff;fill:#fff}.button-primary:not(:disabled):hover .button-content>mat-icon svg,.button-primary:not(:disabled):hover .button-content>mat-icon svg g path,.button-primary:not(:disabled):hover .button-content>mat-icon svg path,.button-primary:not(:disabled):hover svg,.button-primary:not(:disabled):hover svg g path,.button-primary:not(:disabled):hover svg path{color:#fff;fill:#fff}.button-secondary{background-color:transparent}.button-secondary:not(:disabled),.button-secondary:not(:disabled) .button-content>mat-icon{border-color:#595959;color:#595959;fill:#595959}.button-secondary:not(:disabled) .button-content>mat-icon svg,.button-secondary:not(:disabled) .button-content>mat-icon svg g path,.button-secondary:not(:disabled) .button-content>mat-icon svg path,.button-secondary:not(:disabled) svg,.button-secondary:not(:disabled) svg g path,.button-secondary:not(:disabled) svg path{color:#595959;fill:#595959}.button-secondary:disabled,.button-secondary:disabled .button-content>mat-icon{border-color:#d1d2d4;background-color:#d1d2d4;color:#9a9da2;fill:#9a9da2}.button-secondary:disabled .button-content>mat-icon svg,.button-secondary:disabled .button-content>mat-icon svg g path,.button-secondary:disabled .button-content>mat-icon svg path,.button-secondary:disabled svg,.button-secondary:disabled svg g path,.button-secondary:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-secondary:not(:disabled):hover,.button-secondary:not(:disabled):hover .button-content>mat-icon{border-color:#595959;background-color:#e0e1e2;color:#595959;fill:#595959}.button-secondary:not(:disabled):hover .button-content>mat-icon svg,.button-secondary:not(:disabled):hover .button-content>mat-icon svg g path,.button-secondary:not(:disabled):hover .button-content>mat-icon svg path,.button-secondary:not(:disabled):hover svg,.button-secondary:not(:disabled):hover svg g path,.button-secondary:not(:disabled):hover svg path{color:#595959;fill:#595959}.button-tertiary{background-color:#e7ebee;box-shadow:none}.button-tertiary:not(:disabled),.button-tertiary:not(:disabled) .button-content>mat-icon,.button-tertiary:not(:disabled) .button-content>mat-icon svg,.button-tertiary:not(:disabled) .button-content>mat-icon svg g path,.button-tertiary:not(:disabled) .button-content>mat-icon svg path,.button-tertiary:not(:disabled) svg,.button-tertiary:not(:disabled) svg g path,.button-tertiary:not(:disabled) svg path{color:#595959;fill:#595959}.button-tertiary:disabled,.button-tertiary:disabled .button-content>mat-icon{background-color:#d1d2d4;color:#9a9da2;fill:#9a9da2}.button-tertiary:disabled .button-content>mat-icon svg,.button-tertiary:disabled .button-content>mat-icon svg g path,.button-tertiary:disabled .button-content>mat-icon svg path,.button-tertiary:disabled svg,.button-tertiary:disabled svg g path,.button-tertiary:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-tertiary:not(:disabled):hover,.button-tertiary:not(:disabled):hover .button-content>mat-icon{background-color:#e0e1e2;color:#595959;fill:#595959}.button-tertiary:not(:disabled):hover .button-content>mat-icon svg,.button-tertiary:not(:disabled):hover .button-content>mat-icon svg g path,.button-tertiary:not(:disabled):hover .button-content>mat-icon svg path,.button-tertiary:not(:disabled):hover svg,.button-tertiary:not(:disabled):hover svg g path,.button-tertiary:not(:disabled):hover svg path{color:#595959;fill:#595959}.button-link{background-color:transparent;box-shadow:none}.button-link:not(:disabled),.button-link:not(:disabled) .button-content>mat-icon,.button-link:not(:disabled) .button-content>mat-icon svg,.button-link:not(:disabled) .button-content>mat-icon svg g path,.button-link:not(:disabled) .button-content>mat-icon svg path,.button-link:not(:disabled) svg,.button-link:not(:disabled) svg g path,.button-link:not(:disabled) svg path{color:#131313;fill:#131313}.button-link:disabled,.button-link:disabled .button-content>mat-icon,.button-link:disabled .button-content>mat-icon svg,.button-link:disabled .button-content>mat-icon svg g path,.button-link:disabled .button-content>mat-icon svg path,.button-link:disabled svg,.button-link:disabled svg g path,.button-link:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-link:not(:disabled):hover .button-content .button-label{text-decoration:underline;-webkit-text-decoration-color:#131313;text-decoration-color:#131313;color:#131313;fill:#131313}.button-link:not(:disabled):hover .button-content>mat-icon,.button-link:not(:disabled):hover .button-content>mat-icon svg,.button-link:not(:disabled):hover .button-content>mat-icon svg g path,.button-link:not(:disabled):hover .button-content>mat-icon svg path{color:#131313;fill:#131313}.button-only-icon{background-color:transparent;box-shadow:none}.button-only-icon.button-for-input{padding:6px!important;border-radius:50%!important}.button-only-icon:not(:disabled),.button-only-icon:not(:disabled) .button-content>mat-icon,.button-only-icon:not(:disabled) .button-content>mat-icon svg,.button-only-icon:not(:disabled) .button-content>mat-icon svg g path,.button-only-icon:not(:disabled) .button-content>mat-icon svg path,.button-only-icon:not(:disabled) svg,.button-only-icon:not(:disabled) svg g path,.button-only-icon:not(:disabled) svg path{color:#131313;fill:#131313}.button-only-icon:disabled,.button-only-icon:disabled .button-content>mat-icon,.button-only-icon:disabled .button-content>mat-icon svg,.button-only-icon:disabled .button-content>mat-icon svg g path,.button-only-icon:disabled .button-content>mat-icon svg path,.button-only-icon:disabled svg,.button-only-icon:disabled svg g path,.button-only-icon:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-only-icon:not(:disabled):hover,.button-only-icon:not(:disabled):hover .button-content>mat-icon{background-color:#e0e1e2;color:#131313;fill:#131313}.button-only-icon:not(:disabled):hover .button-content>mat-icon svg,.button-only-icon:not(:disabled):hover .button-content>mat-icon svg g path,.button-only-icon:not(:disabled):hover .button-content>mat-icon svg path,.button-only-icon:not(:disabled):hover svg,.button-only-icon:not(:disabled):hover svg g path,.button-only-icon:not(:disabled):hover svg path{color:#131313;fill:#131313}.button-action{background-color:transparent;box-shadow:none;display:flex;justify-content:flex-start!important}.button-action:not(:disabled),.button-action:not(:disabled) .button-content>mat-icon,.button-action:not(:disabled) .button-content>mat-icon svg,.button-action:not(:disabled) .button-content>mat-icon svg g path,.button-action:not(:disabled) .button-content>mat-icon svg path,.button-action:not(:disabled) svg,.button-action:not(:disabled) svg g path,.button-action:not(:disabled) svg path{color:#262626;fill:#262626}.button-action:disabled,.button-action:disabled .button-content>mat-icon,.button-action:disabled .button-content>mat-icon svg,.button-action:disabled .button-content>mat-icon svg g path,.button-action:disabled .button-content>mat-icon svg path,.button-action:disabled svg,.button-action:disabled svg g path,.button-action:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-action:not(:disabled):hover,.button-action:not(:disabled):hover .button-content>mat-icon{background-color:#f5f5f6;color:#262626;fill:#262626}.button-action:not(:disabled):hover .button-content>mat-icon svg,.button-action:not(:disabled):hover .button-content>mat-icon svg g path,.button-action:not(:disabled):hover .button-content>mat-icon svg path,.button-action:not(:disabled):hover svg,.button-action:not(:disabled):hover svg g path,.button-action:not(:disabled):hover svg path{color:#262626;fill:#262626}.button-disabled{pointer-events:none!important}.btn-popover-content{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);padding:8px}"]
|
251
|
-
}),
|
252
|
-
__metadata("design:paramtypes", [ElementRef])
|
253
|
-
], GIPIButtonComponent);
|
254
|
-
return GIPIButtonComponent;
|
255
|
-
}());
|
256
|
-
export { GIPIButtonComponent };
|
257
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BnaXBpc2lzdGVtYXMvbmctY29yZS8iLCJzb3VyY2VzIjpbInNoYXJlZC9naXBpLWNvbXBvbmVudHMvYnV0dG9uL2J1dHRvbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0ksT0FBT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nKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBpZiAodGhpcy5vdmVybGF5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy50b2dnbGVPdmVybGF5KCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLm9uQ2xpY2suZW1pdChldmVudCk7XG4gICAgICAgICAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGhhbmRsZUZvY3VzKGV2ZW50OiBNb3VzZUV2ZW50KTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLmRpc2FibGVkIHx8IHRoaXMubG9hZGluZykge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhpcy5vbkZvY3VzLmVtaXQoZXZlbnQpO1xuICAgICAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBoYW5kbGVCbHVyKGV2ZW50OiBNb3VzZUV2ZW50KTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLmRpc2FibGVkIHx8IHRoaXMubG9hZGluZykge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhpcy5vbkJsdXIuZW1pdChldmVudCk7XG4gICAgICAgICAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBIb3N0TGlzdGVuZXIoJ3dpbmRvdzpyZXNpemUnLCBbJyRldmVudCddKVxuICAgIG9uUmVzaXplKGV2ZW50OiBVSUV2ZW50KTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLnBvcG92ZXJUcmlnZ2VyKSB7XG4gICAgICAgICAgICB0aGlzLnBvcG92ZXJUcmlnZ2VyLmNsb3NlUG9wb3ZlcigpO1xuICAgICAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgIH1cbiAgICB9XG5cbn1cbiJdfQ==
|
@@ -1,159 +0,0 @@
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
2
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, OnInit, Output, forwardRef } from '@angular/core';
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
-
var RemoveChange = /** @class */ (function () {
|
5
|
-
function RemoveChange() {
|
6
|
-
}
|
7
|
-
return RemoveChange;
|
8
|
-
}());
|
9
|
-
export { RemoveChange };
|
10
|
-
var nextUniqueId = 0;
|
11
|
-
var GIPIChipsComponent = /** @class */ (function () {
|
12
|
-
function GIPIChipsComponent(_changeDetectorRef, elementRef) {
|
13
|
-
this._changeDetectorRef = _changeDetectorRef;
|
14
|
-
this.elementRef = elementRef;
|
15
|
-
this._name = "gipi-chips-" + nextUniqueId++;
|
16
|
-
this.id = this._name;
|
17
|
-
this.name = this._name;
|
18
|
-
this.label = 'Selecionados';
|
19
|
-
this.labelRemoveAll = 'Limpar';
|
20
|
-
this.disabled = false;
|
21
|
-
this.showRemovableAll = false;
|
22
|
-
this.showRemovable = false;
|
23
|
-
this.property = 'description';
|
24
|
-
this.onFocus = new EventEmitter();
|
25
|
-
this.onClick = new EventEmitter();
|
26
|
-
this.removeChange = new EventEmitter();
|
27
|
-
this.removeAllChange = new EventEmitter();
|
28
|
-
this.onChange = function () { };
|
29
|
-
this.onTouch = function () { };
|
30
|
-
}
|
31
|
-
GIPIChipsComponent_1 = GIPIChipsComponent;
|
32
|
-
Object.defineProperty(GIPIChipsComponent.prototype, "value", {
|
33
|
-
get: function () {
|
34
|
-
return this._value;
|
35
|
-
},
|
36
|
-
set: function (value) {
|
37
|
-
this._value = value;
|
38
|
-
this.onChange(value);
|
39
|
-
this.onTouch();
|
40
|
-
this._changeDetectorRef.markForCheck();
|
41
|
-
},
|
42
|
-
enumerable: false,
|
43
|
-
configurable: true
|
44
|
-
});
|
45
|
-
GIPIChipsComponent.prototype.ngOnInit = function () { };
|
46
|
-
GIPIChipsComponent.prototype.writeValue = function (value) {
|
47
|
-
this.value = value;
|
48
|
-
};
|
49
|
-
GIPIChipsComponent.prototype.registerOnChange = function (fn) {
|
50
|
-
this.onChange = fn;
|
51
|
-
};
|
52
|
-
GIPIChipsComponent.prototype.registerOnTouched = function (fn) {
|
53
|
-
this.onTouch = fn;
|
54
|
-
};
|
55
|
-
GIPIChipsComponent.prototype.setDisabledState = function (value) {
|
56
|
-
this.disabled = value;
|
57
|
-
this._changeDetectorRef.markForCheck();
|
58
|
-
};
|
59
|
-
GIPIChipsComponent.prototype.removeChip = function (chip, index) {
|
60
|
-
if (!this.disabled && this.showRemovable) {
|
61
|
-
this.value.splice(index, 1);
|
62
|
-
this._changeDetectorRef.detectChanges();
|
63
|
-
this.removeChange.emit({ chip: chip, index: index });
|
64
|
-
}
|
65
|
-
};
|
66
|
-
GIPIChipsComponent.prototype.removeAllChips = function () {
|
67
|
-
if (!this.disabled && this.showRemovableAll) {
|
68
|
-
this.value = [];
|
69
|
-
this._changeDetectorRef.detectChanges();
|
70
|
-
this.removeAllChange.emit();
|
71
|
-
}
|
72
|
-
};
|
73
|
-
var GIPIChipsComponent_1;
|
74
|
-
GIPIChipsComponent.ctorParameters = function () { return [
|
75
|
-
{ type: ChangeDetectorRef },
|
76
|
-
{ type: ElementRef }
|
77
|
-
]; };
|
78
|
-
__decorate([
|
79
|
-
Input(),
|
80
|
-
__metadata("design:type", Object)
|
81
|
-
], GIPIChipsComponent.prototype, "id", void 0);
|
82
|
-
__decorate([
|
83
|
-
Input(),
|
84
|
-
__metadata("design:type", String)
|
85
|
-
], GIPIChipsComponent.prototype, "name", void 0);
|
86
|
-
__decorate([
|
87
|
-
Input(),
|
88
|
-
__metadata("design:type", String)
|
89
|
-
], GIPIChipsComponent.prototype, "label", void 0);
|
90
|
-
__decorate([
|
91
|
-
Input(),
|
92
|
-
__metadata("design:type", String)
|
93
|
-
], GIPIChipsComponent.prototype, "labelRemoveAll", void 0);
|
94
|
-
__decorate([
|
95
|
-
Input(),
|
96
|
-
__metadata("design:type", String)
|
97
|
-
], GIPIChipsComponent.prototype, "ariaLabel", void 0);
|
98
|
-
__decorate([
|
99
|
-
Input(),
|
100
|
-
__metadata("design:type", Boolean)
|
101
|
-
], GIPIChipsComponent.prototype, "disabled", void 0);
|
102
|
-
__decorate([
|
103
|
-
Input(),
|
104
|
-
__metadata("design:type", Boolean)
|
105
|
-
], GIPIChipsComponent.prototype, "showRemovableAll", void 0);
|
106
|
-
__decorate([
|
107
|
-
Input(),
|
108
|
-
__metadata("design:type", Boolean)
|
109
|
-
], GIPIChipsComponent.prototype, "showRemovable", void 0);
|
110
|
-
__decorate([
|
111
|
-
Input(),
|
112
|
-
__metadata("design:type", String)
|
113
|
-
], GIPIChipsComponent.prototype, "property", void 0);
|
114
|
-
__decorate([
|
115
|
-
Input(),
|
116
|
-
__metadata("design:type", Array),
|
117
|
-
__metadata("design:paramtypes", [Array])
|
118
|
-
], GIPIChipsComponent.prototype, "value", null);
|
119
|
-
__decorate([
|
120
|
-
Output(),
|
121
|
-
__metadata("design:type", EventEmitter)
|
122
|
-
], GIPIChipsComponent.prototype, "onFocus", void 0);
|
123
|
-
__decorate([
|
124
|
-
Output(),
|
125
|
-
__metadata("design:type", EventEmitter)
|
126
|
-
], GIPIChipsComponent.prototype, "onClick", void 0);
|
127
|
-
__decorate([
|
128
|
-
Output(),
|
129
|
-
__metadata("design:type", EventEmitter)
|
130
|
-
], GIPIChipsComponent.prototype, "removeChange", void 0);
|
131
|
-
__decorate([
|
132
|
-
Output(),
|
133
|
-
__metadata("design:type", EventEmitter)
|
134
|
-
], GIPIChipsComponent.prototype, "removeAllChange", void 0);
|
135
|
-
GIPIChipsComponent = GIPIChipsComponent_1 = __decorate([
|
136
|
-
Component({
|
137
|
-
selector: "gipi-chips",
|
138
|
-
exportAs: 'gipiChips',
|
139
|
-
template: "<mat-chip-list [attr.id]=\"id\"\n [attr.name]=\"name\"\n [attr.aria-label]=\"ariaLabel\"\n class=\"chip-list\">\n {{ label }}\n\n <mat-chip *ngFor=\"let val of value; let i = index;\"\n [disabled]=\"disabled\"\n (removed)=\"removeChip(val, i)\">\n {{ val[property] }}\n\n <mat-icon matChipRemove\n *ngIf=\"!disabled && showRemovable\">\n cancel\n </mat-icon>\n </mat-chip>\n\n <mat-chip *ngIf=\"!disabled && showRemovableAll && (value && (value.length > 0))\"\n class=\"chip-clear-all\"\n (click)=\"removeAllChips()\">\n {{ labelRemoveAll }}\n\n <svg width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M3.0625 3.0625L3.60938 11.8125C3.63535 12.3181 4.00312 12.6875 4.48438 12.6875H9.51562C9.99879 12.6875 10.3597 12.3181 10.3906 11.8125L10.9375 3.0625\"\n stroke=\"#fff\"\n stroke-width=\"0.875\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\" />\n <path d=\"M2.1875 3.0625H11.8125Z\"\n fill=\"#fff\" />\n <path d=\"M2.1875 3.0625H11.8125\"\n stroke=\"#fff\"\n stroke-width=\"0.875\"\n stroke-miterlimit=\"10\"\n stroke-linecap=\"round\" />\n <path d=\"M5.25 3.0625V1.96875C5.24975 1.8825 5.26655 1.79705 5.29944 1.71732C5.33233 1.63758 5.38066 1.56514 5.44165 1.50415C5.50264 1.44316 5.57508 1.39483 5.65482 1.36194C5.73455 1.32905 5.82 1.31225 5.90625 1.3125H8.09375C8.18 1.31225 8.26545 1.32905 8.34518 1.36194C8.42492 1.39483 8.49736 1.44316 8.55835 1.50415C8.61934 1.56514 8.66767 1.63758 8.70056 1.71732C8.73345 1.79705 8.75025 1.8825 8.75 1.96875V3.0625M7 4.8125V10.9375M5.03125 4.8125L5.25 10.9375M8.96875 4.8125L8.75 10.9375\"\n stroke=\"#fff\"\n stroke-width=\"0.875\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\" />\n </svg>\n </mat-chip>\n</mat-chip-list>",
|
140
|
-
providers: [
|
141
|
-
{
|
142
|
-
provide: NG_VALUE_ACCESSOR,
|
143
|
-
useExisting: forwardRef(function () { return GIPIChipsComponent_1; }),
|
144
|
-
multi: true
|
145
|
-
}
|
146
|
-
],
|
147
|
-
host: {
|
148
|
-
'class': 'gipi-chips',
|
149
|
-
},
|
150
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
151
|
-
styles: ["::ng-deep .chip-list{outline:0!important}::ng-deep .chip-list .mat-chip-list-wrapper{margin:0!important;gap:8px!important;outline:0!important}::ng-deep .chip-list .mat-chip-list-wrapper .mat-standard-chip{outline:0!important;margin:0!important;padding:4px 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:1.4rem!important;font-weight:400!important;line-height:1.8rem!important;min-height:auto!important;height:-webkit-fit-content!important;height:-moz-fit-content!important;height:fit-content!important}.chip-clear-all{display:flex;align-items:center;gap:4px;background:#e0313e;color:#fff;cursor:pointer;transition:.2s}.chip-clear-all:hover{background:#cc2d38}"]
|
152
|
-
}),
|
153
|
-
__metadata("design:paramtypes", [ChangeDetectorRef,
|
154
|
-
ElementRef])
|
155
|
-
], GIPIChipsComponent);
|
156
|
-
return GIPIChipsComponent;
|
157
|
-
}());
|
158
|
-
export { GIPIChipsComponent };
|
159
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGdpcGlzaXN0ZW1hcy9uZy1jb3JlLyIsInNvdXJjZXMiOlsic2hhcmVkL2dpcGktY29tcG9uZW50cy9jaGlwcy9jaGlwcy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxpQkFBaUIsRUFBRSxTQUF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UNoYW5nZS5lbWl0KHsgY2hpcDogY2hpcCwgaW5kZXg6IGluZGV4IH0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIHJlbW92ZUFsbENoaXBzKCk6IHZvaWQge1xuICAgICAgICBpZiAoIXRoaXMuZGlzYWJsZWQgJiYgdGhpcy5zaG93UmVtb3ZhYmxlQWxsKSB7XG4gICAgICAgICAgICB0aGlzLnZhbHVlID0gW107XG4gICAgICAgICAgICB0aGlzLl9jaGFuZ2VEZXRlY3RvclJlZi5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICAgICAgICB0aGlzLnJlbW92ZUFsbENoYW5nZS5lbWl0KCk7XG4gICAgICAgIH1cbiAgICB9XG5cbn1cbiJdfQ==
|
@@ -1,46 +0,0 @@
|
|
1
|
-
import { __decorate, __metadata, __param } from "tslib";
|
2
|
-
import { Component, Inject, forwardRef } from '@angular/core';
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
-
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
|
5
|
-
import { APP_MESSAGES } from '../../../core/app.messages';
|
6
|
-
import { ConfirmationDTO } from '../../../core/models/dto/confirmation.dto';
|
7
|
-
var GIPIConfirmationDialogComponent = /** @class */ (function () {
|
8
|
-
function GIPIConfirmationDialogComponent(dialogRef, confirmation, messages) {
|
9
|
-
this.dialogRef = dialogRef;
|
10
|
-
this.confirmation = confirmation;
|
11
|
-
this.messages = messages;
|
12
|
-
}
|
13
|
-
GIPIConfirmationDialogComponent_1 = GIPIConfirmationDialogComponent;
|
14
|
-
GIPIConfirmationDialogComponent.prototype.ngOnInit = function () { };
|
15
|
-
var GIPIConfirmationDialogComponent_1;
|
16
|
-
GIPIConfirmationDialogComponent.ctorParameters = function () { return [
|
17
|
-
{ type: MatDialogRef },
|
18
|
-
{ type: ConfirmationDTO, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
|
19
|
-
{ type: undefined, decorators: [{ type: Inject, args: [APP_MESSAGES,] }] }
|
20
|
-
]; };
|
21
|
-
GIPIConfirmationDialogComponent = GIPIConfirmationDialogComponent_1 = __decorate([
|
22
|
-
Component({
|
23
|
-
selector: "gipi-confirmation-dialog",
|
24
|
-
exportAs: 'gipiConfirmationDialog',
|
25
|
-
template: "<gipi-abstract-form id=\"dialogConfirmation\"\n name=\"dialogConfirmation\"\n [dialog]=\"true\">\n\n <gipi-toolbar id=\"toolbarDialogConfirmation\"\n mat-dialog-title>\n {{ confirmation.title }}\n </gipi-toolbar>\n\n <div mat-dialog-content>\n <p>{{ confirmation.message }}</p>\n <li *ngFor=\"let message of confirmation.listMessage\"> {{ message }} </li>\n </div>\n\n <div mat-dialog-actions\n class=\"screen-confirmation\"\n fxLayout=\"row wrap\"\n fxLayout.lt-md=\"column wrap\"\n fxLayoutGap=\"16px\"\n *ngIf=\"!confirmation.isWarningScreen\">\n <gipi-button [label]=\"messages.BUTTON_OK_CONFIRMATION\"\n gipi-primary\n fxFlex=\"30\"\n fxFlex.lt-md=\"100\"\n [mat-dialog-close]=\"true\">\n </gipi-button>\n\n <gipi-button [label]=\"messages.BUTTON_CANCEL_CONFIRMATION\"\n gipi-secondary\n fxFlex=\"30\"\n fxFlex.lt-md=\"100\"\n [mat-dialog-close]=\"false\">\n </gipi-button>\n </div>\n\n <div mat-dialog-actions\n class=\"screen-warning\"\n fxLayout=\"row wrap\"\n fxLayout.lt-md=\"column wrap\"\n fxLayoutGap=\"16px\"\n *ngIf=\"confirmation.isWarningScreen\">\n <gipi-button label=\"OK\"\n gipi-primary\n fxFlex=\"30\"\n fxFlex.lt-md=\"100\"\n [mat-dialog-close]=\"true\">\n </gipi-button>\n </div>\n\n</gipi-abstract-form>\n",
|
26
|
-
providers: [
|
27
|
-
{
|
28
|
-
provide: NG_VALUE_ACCESSOR,
|
29
|
-
useExisting: forwardRef(function () { return GIPIConfirmationDialogComponent_1; }),
|
30
|
-
multi: true
|
31
|
-
}
|
32
|
-
],
|
33
|
-
host: {
|
34
|
-
'class': 'gipi-confirmation-dialog',
|
35
|
-
},
|
36
|
-
styles: [".screen-confirmation{padding:20px 0 0!important;place-content:flex-end;align-items:flex-end}.screen-warning{padding:20px 0 0!important;place-content:center;align-items:center}li{margin:10px 0;font-size:13px}li::marker{font-size:16px;color:#f3465c}"]
|
37
|
-
}),
|
38
|
-
__param(1, Inject(MAT_DIALOG_DATA)),
|
39
|
-
__param(2, Inject(APP_MESSAGES)),
|
40
|
-
__metadata("design:paramtypes", [MatDialogRef,
|
41
|
-
ConfirmationDTO, Object])
|
42
|
-
], GIPIConfirmationDialogComponent);
|
43
|
-
return GIPIConfirmationDialogComponent;
|
44
|
-
}());
|
45
|
-
export { GIPIConfirmationDialogComponent };
|
46
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZ2lwaXNpc3RlbWFzL25nLWNvcmUvIiwic291cmNlcyI6WyJzaGFyZWQvZ2lwaS1jb21wb25lbnRzL2NvbmZpcm1hdGlvbi1kaWFsb2cvY29uZmlybWF0aW9uLWRpYWxvZy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFVLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN0RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNuRCxPQUFPLEVBQUUsZUFBZSxFQUFFLFlBQVksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBR2xFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFrQjVFO0lBRUkseUNBQ1csU0FBd0Qs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