@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,267 +0,0 @@
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
2
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
3
|
-
import { Component, EventEmitter, Input, Output, ViewChild, ViewEncapsulation, forwardRef } from '@angular/core';
|
4
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
5
|
-
import { MatSidenav } from '@angular/material/sidenav';
|
6
|
-
import { Router } from '@angular/router';
|
7
|
-
import { of } from 'rxjs';
|
8
|
-
import { map } from 'rxjs/operators';
|
9
|
-
import { BreakpointObserverService } from '../../../../core/services/breakpoint-observer.service';
|
10
|
-
import { NavService } from '../../../../core/services/nav.service';
|
11
|
-
import { ArrayUtil } from '../../../../core/utils/array.util';
|
12
|
-
import { ObjectUtil } from '../../../../core/utils/object.util';
|
13
|
-
import { StringUtil } from '../../../../core/utils/string.util';
|
14
|
-
var GIPISidenavComponent = /** @class */ (function () {
|
15
|
-
function GIPISidenavComponent(_navService, _breakpointObserverService, _router) {
|
16
|
-
this._navService = _navService;
|
17
|
-
this._breakpointObserverService = _breakpointObserverService;
|
18
|
-
this._router = _router;
|
19
|
-
this._levelOneMenuCollapsableSelected = null;
|
20
|
-
this._levelTwoMenuCollapsableSelected = null;
|
21
|
-
this._mouseEnter = false;
|
22
|
-
this.menuItems = [];
|
23
|
-
this.labelToggle = 'Retrair menu';
|
24
|
-
this.showConfiguration = false;
|
25
|
-
this.onClickMenuItem = new EventEmitter();
|
26
|
-
}
|
27
|
-
GIPISidenavComponent_1 = GIPISidenavComponent;
|
28
|
-
GIPISidenavComponent.prototype.ngOnInit = function () { };
|
29
|
-
GIPISidenavComponent.prototype.ngAfterViewInit = function () {
|
30
|
-
this._navService.sidenav = this.sidenav;
|
31
|
-
this._navService.menuItems = this.menuItems;
|
32
|
-
};
|
33
|
-
Object.defineProperty(GIPISidenavComponent.prototype, "isOpened", {
|
34
|
-
get: function () {
|
35
|
-
return of(this._navService.isOpened);
|
36
|
-
},
|
37
|
-
enumerable: false,
|
38
|
-
configurable: true
|
39
|
-
});
|
40
|
-
Object.defineProperty(GIPISidenavComponent.prototype, "isScreenLarge", {
|
41
|
-
get: function () {
|
42
|
-
return this._breakpointObserverService.size$.pipe(map(function (size) { return (size !== 'xs') && (size !== 'sm') && (size !== 'md'); }));
|
43
|
-
},
|
44
|
-
enumerable: false,
|
45
|
-
configurable: true
|
46
|
-
});
|
47
|
-
Object.defineProperty(GIPISidenavComponent.prototype, "submenuBackButtonName", {
|
48
|
-
get: function () {
|
49
|
-
if (ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
50
|
-
return of('Voltar');
|
51
|
-
}
|
52
|
-
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
53
|
-
return of(this._levelOneMenuCollapsableSelected.name);
|
54
|
-
}
|
55
|
-
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && !ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
56
|
-
return of(this._levelOneMenuCollapsableSelected.name + " / " + this._levelTwoMenuCollapsableSelected.name);
|
57
|
-
}
|
58
|
-
},
|
59
|
-
enumerable: false,
|
60
|
-
configurable: true
|
61
|
-
});
|
62
|
-
Object.defineProperty(GIPISidenavComponent.prototype, "levelMenuCollapsableSelected", {
|
63
|
-
get: function () {
|
64
|
-
if (ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
65
|
-
return of(this.menuItems);
|
66
|
-
}
|
67
|
-
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
68
|
-
return of(this._levelOneMenuCollapsableSelected.menuList);
|
69
|
-
}
|
70
|
-
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && !ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
71
|
-
return of(this._levelTwoMenuCollapsableSelected.menuList);
|
72
|
-
}
|
73
|
-
},
|
74
|
-
enumerable: false,
|
75
|
-
configurable: true
|
76
|
-
});
|
77
|
-
GIPISidenavComponent.prototype.toggleSidenav = function () {
|
78
|
-
this._levelOneMenuCollapsableSelected = null;
|
79
|
-
this._levelTwoMenuCollapsableSelected = null;
|
80
|
-
this.onMenuCollapsableReset(this.menuItems);
|
81
|
-
this._navService.toggle();
|
82
|
-
};
|
83
|
-
GIPISidenavComponent.prototype.onMenuCollapsableSelected = function (menu) {
|
84
|
-
var _this = this;
|
85
|
-
setTimeout(function () {
|
86
|
-
if (!_this._navService.isOpened) {
|
87
|
-
_this._navService.open();
|
88
|
-
}
|
89
|
-
if (_this._navService.isOpened) {
|
90
|
-
menu.expanded = true;
|
91
|
-
/**
|
92
|
-
* Se o menuList está carregado e o (this._levelOneMenuCollapsableSelected === null) significa que possui mais niveis, portanto este é o nivel 1.
|
93
|
-
* Se o menuList está carregado e o (this._levelTwoMenuCollapsableSelected === null) significa que este é o útimo nível, portanto este é o nivel 2.
|
94
|
-
*/
|
95
|
-
if (!ArrayUtil.isEmpty(menu.menuList) && ObjectUtil.isNull(_this._levelOneMenuCollapsableSelected)) {
|
96
|
-
_this._levelOneMenuCollapsableSelected = ObjectUtil.clone(menu);
|
97
|
-
}
|
98
|
-
else if (!ArrayUtil.isEmpty(menu.menuList) && ObjectUtil.isNull(_this._levelTwoMenuCollapsableSelected)) {
|
99
|
-
_this._levelTwoMenuCollapsableSelected = ObjectUtil.clone(menu);
|
100
|
-
}
|
101
|
-
}
|
102
|
-
});
|
103
|
-
};
|
104
|
-
GIPISidenavComponent.prototype.onMenuCollapsableReset = function (menuList) {
|
105
|
-
var _this = this;
|
106
|
-
setTimeout(function () {
|
107
|
-
for (var i = 0; i < menuList.length; i++) {
|
108
|
-
menuList[i].expanded = false;
|
109
|
-
if (!ArrayUtil.isEmpty(menuList[i].menuList)) {
|
110
|
-
_this.onMenuCollapsableReset(menuList[i].menuList);
|
111
|
-
}
|
112
|
-
}
|
113
|
-
});
|
114
|
-
};
|
115
|
-
GIPISidenavComponent.prototype.onMenuCollapsableGoBack = function () {
|
116
|
-
var _this = this;
|
117
|
-
setTimeout(function () {
|
118
|
-
if (!ObjectUtil.isNull(_this._levelTwoMenuCollapsableSelected)) {
|
119
|
-
_this._levelTwoMenuCollapsableSelected = null;
|
120
|
-
}
|
121
|
-
else if (!ObjectUtil.isNull(_this._levelOneMenuCollapsableSelected)) {
|
122
|
-
_this._levelOneMenuCollapsableSelected = null;
|
123
|
-
}
|
124
|
-
else {
|
125
|
-
_this.onMenuCollapsableReset(_this.menuItems);
|
126
|
-
}
|
127
|
-
});
|
128
|
-
};
|
129
|
-
GIPISidenavComponent.prototype.isMenuActive = function (menu) {
|
130
|
-
return this._router.url.startsWith(menu.route);
|
131
|
-
};
|
132
|
-
GIPISidenavComponent.prototype.isMenuCollapsableActive = function (menu) {
|
133
|
-
var _this = this;
|
134
|
-
if (StringUtil.isEmpty(menu.route)) {
|
135
|
-
return false;
|
136
|
-
}
|
137
|
-
var existInRoute = this._router.url.includes(menu.route);
|
138
|
-
var menuList = ArrayUtil.clone(this.menuItems);
|
139
|
-
if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
140
|
-
menuList = ArrayUtil.clone(this._levelOneMenuCollapsableSelected.menuList);
|
141
|
-
}
|
142
|
-
else if (!ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
143
|
-
menuList = ArrayUtil.clone(this._levelTwoMenuCollapsableSelected.menuList);
|
144
|
-
}
|
145
|
-
var levelZeroActive = menuList
|
146
|
-
.filter(function (mi) { return !ArrayUtil.isEmpty(mi.menuList); })
|
147
|
-
.find(function (mi) { return ((mi.route === menu.route) && (mi.index === menu.index) && (mi.type && menu.type)); });
|
148
|
-
if (existInRoute && !ObjectUtil.isNull(levelZeroActive) && !ArrayUtil.isEmpty(levelZeroActive.menuList)) {
|
149
|
-
var levelOneActive = levelZeroActive.menuList.find(function (mi) { return _this._router.url.includes(mi.route); });
|
150
|
-
if (!ObjectUtil.isNull(levelOneActive) && !ArrayUtil.isEmpty(levelOneActive.menuList)) {
|
151
|
-
var levelTwoActive = levelOneActive.menuList.find(function (mi) { return _this._router.url.includes(mi.route); });
|
152
|
-
return !ObjectUtil.isNull(levelTwoActive);
|
153
|
-
}
|
154
|
-
else {
|
155
|
-
return !ObjectUtil.isNull(levelOneActive);
|
156
|
-
}
|
157
|
-
}
|
158
|
-
return false;
|
159
|
-
};
|
160
|
-
GIPISidenavComponent.prototype.onMenuItemSelected = function (menu, closeNav) {
|
161
|
-
var _this = this;
|
162
|
-
if (menu === void 0) { menu = null; }
|
163
|
-
if (closeNav === void 0) { closeNav = true; }
|
164
|
-
if (closeNav) {
|
165
|
-
this._levelOneMenuCollapsableSelected = null;
|
166
|
-
this._levelTwoMenuCollapsableSelected = null;
|
167
|
-
this.onMenuCollapsableReset(this.menuItems);
|
168
|
-
this.isScreenLarge.subscribe(function (isScreenLarge) {
|
169
|
-
if (!isScreenLarge) {
|
170
|
-
_this._navService.close();
|
171
|
-
}
|
172
|
-
});
|
173
|
-
}
|
174
|
-
this.onClickMenuItem.emit(menu);
|
175
|
-
};
|
176
|
-
GIPISidenavComponent.prototype.getMenuName = function (name) {
|
177
|
-
return (name.length <= 35) ? name : (name.slice(0, 35) + '...');
|
178
|
-
};
|
179
|
-
GIPISidenavComponent.prototype.onMouseEnter = function () {
|
180
|
-
var _this = this;
|
181
|
-
this.isOpened.toPromise().then(function (isOpened) {
|
182
|
-
if (!isOpened) {
|
183
|
-
_this._mouseEnter = true;
|
184
|
-
_this.toggleSidenav();
|
185
|
-
}
|
186
|
-
});
|
187
|
-
};
|
188
|
-
GIPISidenavComponent.prototype.onMouseLeave = function () {
|
189
|
-
var _this = this;
|
190
|
-
this.isOpened.toPromise().then(function (isOpened) {
|
191
|
-
if (isOpened && _this._mouseEnter) {
|
192
|
-
_this._mouseEnter = false;
|
193
|
-
_this.toggleSidenav();
|
194
|
-
}
|
195
|
-
});
|
196
|
-
};
|
197
|
-
var GIPISidenavComponent_1;
|
198
|
-
GIPISidenavComponent.ctorParameters = function () { return [
|
199
|
-
{ type: NavService },
|
200
|
-
{ type: BreakpointObserverService },
|
201
|
-
{ type: Router }
|
202
|
-
]; };
|
203
|
-
__decorate([
|
204
|
-
ViewChild('sidenav', { static: false }),
|
205
|
-
__metadata("design:type", MatSidenav)
|
206
|
-
], GIPISidenavComponent.prototype, "sidenav", void 0);
|
207
|
-
__decorate([
|
208
|
-
Input(),
|
209
|
-
__metadata("design:type", Array)
|
210
|
-
], GIPISidenavComponent.prototype, "menuItems", void 0);
|
211
|
-
__decorate([
|
212
|
-
Input(),
|
213
|
-
__metadata("design:type", String)
|
214
|
-
], GIPISidenavComponent.prototype, "labelToggle", void 0);
|
215
|
-
__decorate([
|
216
|
-
Input(),
|
217
|
-
__metadata("design:type", String)
|
218
|
-
], GIPISidenavComponent.prototype, "iconConfiguration", void 0);
|
219
|
-
__decorate([
|
220
|
-
Input(),
|
221
|
-
__metadata("design:type", String)
|
222
|
-
], GIPISidenavComponent.prototype, "svgIconConfiguration", void 0);
|
223
|
-
__decorate([
|
224
|
-
Input(),
|
225
|
-
__metadata("design:type", String)
|
226
|
-
], GIPISidenavComponent.prototype, "labelConfiguration", void 0);
|
227
|
-
__decorate([
|
228
|
-
Input(),
|
229
|
-
__metadata("design:type", Boolean)
|
230
|
-
], GIPISidenavComponent.prototype, "showConfiguration", void 0);
|
231
|
-
__decorate([
|
232
|
-
Output(),
|
233
|
-
__metadata("design:type", EventEmitter)
|
234
|
-
], GIPISidenavComponent.prototype, "onClickMenuItem", void 0);
|
235
|
-
GIPISidenavComponent = GIPISidenavComponent_1 = __decorate([
|
236
|
-
Component({
|
237
|
-
selector: "gipi-sidenav",
|
238
|
-
exportAs: 'gipiSidenav',
|
239
|
-
template: "<mat-sidenav #sidenav\n [mode]=\"(isScreenLarge | async) ? 'side' : 'over'\"\n class=\"sidenav\"\n [class.large-sidenav]=\"(isOpened | async)\"\n [class.small-sidenav]=\"!(isOpened | async)\"\n [disableClose]=\"(isScreenLarge | async)\"\n opened=\"true\">\n\n <div [ngClass]=\"{'sidenav-content-menu': true,\n 'show-configuration': showConfiguration}\">\n\n <!-- Bot\u00E3o expandir e retrair o menu -->\n <button id=\"buttonToogleSidenav\"\n name=\"toggleSidenav\"\n class=\"toggle-sidenav\"\n (click)=\"toggleSidenav(); _mouseEnter = false;\">\n <mat-icon [@indicatorRotate]=\"(isOpened | async) ? 'opened': 'closed'\">\n chevron_right\n </mat-icon>\n\n {{ ((labelToggle) && (isOpened | async)) ? labelToggle : '' }}\n </button>\n\n <!-- Bot\u00E3o voltar do submenu -->\n <div class=\"sidenav-action-menu sidenav-menu-collapsable\">\n <a *ngIf=\"(isOpened | async) && (_levelOneMenuCollapsableSelected || _levelTwoMenuCollapsableSelected)\"\n (click)=\"onMenuCollapsableGoBack()\"\n (mouseenter)=\"!_mouseEnter && onMouseEnter()\"\n (mouseleave)=\"_mouseEnter && onMouseLeave()\">\n <mat-icon>\n arrow_back\n </mat-icon>\n <span>\n {{ (submenuBackButtonName | async) }}\n </span>\n </a>\n </div>\n\n <!-- Se o menu item for do tipo submenu -->\n <mat-nav-list class=\"sidenav-menu-list\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\">\n <div *ngFor=\"let menu of (levelMenuCollapsableSelected | async)\"\n class=\"sidenav-action-menu\">\n\n <a *ngIf=\"menu.type === 'ITEM'\"\n [routerLink]=\"menu.route\"\n [class.menu-active]=\"isMenuActive(menu)\"\n (click)=\"onMenuItemSelected(menu)\">\n <mat-icon *ngIf=\"menu.icon\">\n {{ menu.icon }}\n </mat-icon>\n <mat-icon *ngIf=\"menu.svgIcon\"\n [svgIcon]=\"menu.svgIcon\">\n </mat-icon>\n <span *ngIf=\"(isOpened | async)\">\n {{ getMenuName(menu.name) }}\n </span>\n </a>\n\n <a *ngIf=\"menu.type === 'COLLAPSABLE'\"\n [class.menu-active]=\"isMenuCollapsableActive(menu)\"\n (click)=\"onMenuCollapsableSelected(menu); onMenuItemSelected(menu, false)\">\n <mat-icon *ngIf=\"menu.icon\">\n {{ menu.icon }}\n </mat-icon>\n <mat-icon *ngIf=\"menu.svgIcon\"\n [svgIcon]=\"menu.svgIcon\">\n </mat-icon>\n <span *ngIf=\"(isOpened | async)\">\n {{ getMenuName(menu.name) }}\n </span>\n <mat-icon *ngIf=\"(isOpened | async)\">\n chevron_right\n </mat-icon>\n </a>\n\n </div>\n </mat-nav-list>\n </div>\n\n <div *ngIf=\"showConfiguration\"\n class=\"sidenav-action-menu sidenav-configuration-menu\">\n <a (click)=\"onMenuItemSelected(null)\">\n <mat-icon *ngIf=\"iconConfiguration\">\n {{ iconConfiguration }}\n </mat-icon>\n <mat-icon *ngIf=\"svgIconConfiguration\"\n [svgIcon]=\"svgIconConfiguration\">\n </mat-icon>\n <span *ngIf=\"(labelConfiguration) && (isOpened | async)\">\n {{ labelConfiguration }}\n </span>\n </a>\n </div>\n</mat-sidenav>\n",
|
240
|
-
encapsulation: ViewEncapsulation.None,
|
241
|
-
providers: [
|
242
|
-
{
|
243
|
-
provide: NG_VALUE_ACCESSOR,
|
244
|
-
useExisting: forwardRef(function () { return GIPISidenavComponent_1; }),
|
245
|
-
multi: true
|
246
|
-
}
|
247
|
-
],
|
248
|
-
host: {
|
249
|
-
'class': 'gipi-sidenav',
|
250
|
-
},
|
251
|
-
animations: [
|
252
|
-
trigger('indicatorRotate', [
|
253
|
-
state('closed', style({ transform: 'rotate(0deg)' })),
|
254
|
-
state('opened', style({ transform: 'rotate(180deg)' })),
|
255
|
-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4,0.0,0.2,1)')),
|
256
|
-
])
|
257
|
-
],
|
258
|
-
styles: [".sidenav{padding:.8rem 1.2rem;border-radius:5px;background-color:#fff;position:fixed!important;top:66px!important;bottom:8px!important;border:0!important}.sidenav.small-sidenav{overflow-y:auto;width:76px}.sidenav.small-sidenav .sidenav-configuration-menu,.sidenav.small-sidenav .sidenav-content-menu .sidenav-menu-list .action-sidenav,.sidenav.small-sidenav .sidenav-content-menu .toggle-sidenav{text-align:center!important}.sidenav.large-sidenav{overflow-y:auto;width:248px}.sidenav .sidenav-content-menu{width:100%;background-color:#f5f5f6;border-radius:4px;display:flex;flex-direction:column;align-items:stretch;height:100%}.sidenav .sidenav-content-menu.show-configuration{height:calc(100% - 18px - 52px)!important}.sidenav .sidenav-content-menu .toggle-sidenav{all:unset;border-radius:4px;border:none;text-align:left;cursor:pointer;background-color:#e0313e;color:#fff;display:flex;align-items:center;gap:8px;padding:10px 16px}.sidenav .sidenav-content-menu .toggle-sidenav>mat-icon{width:2rem;height:2rem;font-size:2rem}.sidenav .sidenav-content-menu .toggle-sidenav:hover{background-color:#cc2d38}.sidenav .sidenav-content-menu .sidenav-menu-list{overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.sidenav .sidenav-content-menu .sidenav-menu-list::-webkit-scrollbar{display:none}.menu-active{color:#e0313e!important;background-color:#e0e1e2!important}.menu-active>mat-icon,.menu-active>mat-icon svg,.menu-active>mat-icon svg path{color:#e0313e!important;fill:#e0313e!important}.sidenav-action-menu{cursor:pointer;display:flex}.sidenav-action-menu a{flex:1;padding:16px;background-color:#f5f5f6;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:1.4rem;font-weight:600}.sidenav-action-menu a:hover{background-color:#e0e1e2}.sidenav-action-menu a>span{flex:1;line-height:2rem}.sidenav-action-menu a>mat-icon{width:2rem;height:2rem;font-size:2rem;line-height:2rem;color:#595959;fill:#595959}.sidenav-action-menu a>mat-icon svg,.sidenav-action-menu a>mat-icon svg path{color:#595959;fill:#595959}.sidenav-configuration-menu a{border-radius:4px}.sidenav-menu-collapsable a{background-color:#e0e1e2}.sidenav-menu-collapsable a:hover{background-color:#d1d2d4}.mat-list-base{padding-top:0!important}.mat-drawer-inner-container{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;overflow:hidden!important}.mat-drawer:not(.mat-drawer-side){box-shadow:none!important}"]
|
259
|
-
}),
|
260
|
-
__metadata("design:paramtypes", [NavService,
|
261
|
-
BreakpointObserverService,
|
262
|
-
Router])
|
263
|
-
], GIPISidenavComponent);
|
264
|
-
return GIPISidenavComponent;
|
265
|
-
}());
|
266
|
-
export { GIPISidenavComponent };
|
267
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZW5hdi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZ2lwaXNpc3RlbWFzL25nLWNvcmUvIiwic291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IG51bGw7XG4gICAgICAgIHRoaXMuX2xldmVsVHdvTWVudUNvbGxhcHNhYmxlU2VsZWN0ZWQgPSBudWxsO1xuICAgICAgICB0aGlzLm9uTWVudUNvbGxhcHNhYmxlUmVzZXQodGhpcy5tZW51SXRlbXMpO1xuXG4gICAgICAgIHRoaXMuX25hdlNlcnZpY2UudG9nZ2xlKCk7XG4gICAgfVxuXG4gICAgcHVibGljIG9uTWVudUNvbGxhcHNhYmxlU2VsZWN0ZWQobWVudTogTWVudURUTyk6IHZvaWQge1xuICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgIGlmICghdGhpcy5fbmF2U2VydmljZS5pc09wZW5lZCkge1xuICAgICAgICAgICAgICAgIHRoaXMuX25hdlNlcnZpY2Uub3BlbigpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAodGhpcy5fbmF2U2VydmljZS5pc09wZW5lZCkge1xuICAgICAgICAgICAgICAgIG1lbnUuZXhwYW5kZWQgPSB0cnVlO1xuXG4gICAgICAgICAgICAgICAgLyoqXG4gICAgICAgICAgICAgICAgICogU2UgbyBtZW51TGlzdCBlc3TDoSBjYXJyZWdhZG8gZSBvICh0aGlzLl9sZXZlbE9uZU1lbnVDb2xsYXBzYWJsZVNlbGVjdGVkID09PSBudWxsKSBzaWduaWZpY2EgcXVlIHBvc3N1aSBtYWlzIG5pdmVpcywgcG9ydGFudG8gZXN0ZSDDqSBvIG5pdmVsIDEuXG4gICAgICAgICAgICAgICAgICogU2UgbyBtZW51TGlzdCBlc3TDoSBjYXJyZWdhZG8gZSBvICh0aGlzLl9sZXZlbFR3b01lbnVDb2xsYXBzYWJsZVNlbGVjdGVkID09PSBudWxsKSBzaWduaWZpY2EgcXVlIGVzdGUgw6kgbyDDunRpbW8gbsOtdmVsLCBwb3J0YW50byBlc3RlIMOpIG8gbml2ZWwgMi5cbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICBpZiAoIUFycmF5V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lzU2NyZWVuTGFyZ2UgPT4ge1xuICAgICAgICAgICAgICAgIGlmICghaXNTY3JlZW5MYXJnZSkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLl9uYXZTZXJ2aWNlLmNsb3NlKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLm9uQ2xpY2tNZW51SXRlbS5lbWl0KG1lbnUpO1xuICAgIH1cblxuICAgIHB1YmxpYyBnZXRNZW51TmFtZShuYW1lOiBzdHJpbmcpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gKG5hbWUubGVuZ3RoIDw9IDM1KSA/IG5hbWUgOiAobmFtZS5zbGljZSgwLCAzNSkgKyAnLi4uJyk7XG4gICAgfVxuXG4gICAgcHVibGljIG9uTW91c2VFbnRlcigpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5pc09wZW5lZC50b1Byb21pc2UoKS50aGVuKGlzT3BlbmVkID0+IHtcbiAgICAgICAgICAgIGlmICghaXNPcGVuZWQpIHtcbiAgICAgICAgICAgICAgICB0aGlzLl9tb3VzZUVudGVyID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB0aGlzLnRvZ2dsZVNpZGVuYXYoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgcHVibGljIG9uTW91c2VMZWF2ZSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5pc09wZW5lZC50b1Byb21pc2UoKS50aGVuKGlzT3BlbmVkID0+IHtcbiAgICAgICAgICAgIGlmIChpc09wZW5lZCAmJiB0aGlzLl9tb3VzZUVudGVyKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fbW91c2VFbnRlciA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIHRoaXMudG9nZ2xlU2lkZW5hdigpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9KVxuICAgIH1cblxufVxuIl19
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import { __decorate, __extends, __metadata } from "tslib";
|
2
|
-
import { CdkStepper } from '@angular/cdk/stepper';
|
3
|
-
import { Component, Input } from '@angular/core';
|
4
|
-
var GIPIStepperComponent = /** @class */ (function (_super) {
|
5
|
-
__extends(GIPIStepperComponent, _super);
|
6
|
-
function GIPIStepperComponent() {
|
7
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
8
|
-
}
|
9
|
-
GIPIStepperComponent_1 = GIPIStepperComponent;
|
10
|
-
GIPIStepperComponent.prototype.ngOnInit = function () { };
|
11
|
-
GIPIStepperComponent.prototype.onClick = function (index) {
|
12
|
-
this.selectedIndex = index;
|
13
|
-
};
|
14
|
-
var GIPIStepperComponent_1;
|
15
|
-
__decorate([
|
16
|
-
Input(),
|
17
|
-
__metadata("design:type", String)
|
18
|
-
], GIPIStepperComponent.prototype, "id", void 0);
|
19
|
-
__decorate([
|
20
|
-
Input(),
|
21
|
-
__metadata("design:type", String)
|
22
|
-
], GIPIStepperComponent.prototype, "name", void 0);
|
23
|
-
GIPIStepperComponent = GIPIStepperComponent_1 = __decorate([
|
24
|
-
Component({
|
25
|
-
selector: "gipi-stepper",
|
26
|
-
exportAs: 'gipiStepper',
|
27
|
-
template: "<div class=\"stepper-content\">\n <div *ngFor=\"let step of steps; let i = index;\"\n class=\"step-content\">\n\n <button disabled=\"true\"\n (click)=\"onClick(i)\">\n <span class=\"step-icon\"\n [class.active]=\"selectedIndex === i\"\n [class.completed]=\"step.completed\">\n\n {{ step.completed ? '' : i + 1 }}\n\n <mat-icon *ngIf=\"step.completed\">\n check\n </mat-icon>\n </span>\n\n <span class=\"step-text\">\n {{ step.label }}\n </span>\n </button>\n\n <div *ngIf=\"i !== steps.length - 1\"\n class=\"step-horizontal-line\"\n [class.completed]=\"step.completed\">\n </div>\n </div>\n</div>\n\n<div [style.display]=\"selected ? 'block' : 'none'\"\n class=\"stepper-container\">\n <ng-container [ngTemplateOutlet]=\"selected.content\"> </ng-container>\n</div>\n",
|
28
|
-
providers: [
|
29
|
-
{
|
30
|
-
provide: CdkStepper,
|
31
|
-
useExisting: GIPIStepperComponent_1,
|
32
|
-
}
|
33
|
-
],
|
34
|
-
host: {
|
35
|
-
'class': 'gipi-stepper',
|
36
|
-
},
|
37
|
-
styles: [".stepper-content{width:100%;padding:16px;max-width:1366px;position:relative;overflow:hidden;display:flex;flex-direction:row;align-items:center;justify-content:center;margin:0 auto}.stepper-container{flex:1}.stepper-content .step-content{display:flex;flex-direction:row;align-items:center}.stepper-content .step-content>button{display:flex;flex-direction:column;align-items:center;gap:8px;outline:0;border:none;background-color:transparent}.stepper-content .step-content>button .step-icon{display:flex;align-items:center;justify-content:center;width:5rem;height:5rem;font-size:1.4rem;border:2px solid #e0e1e2;border-radius:50%;color:#8c8f93;font-weight:600}.stepper-content .step-content>button .step-text{font-size:1.4rem;line-height:100%;color:#8c8f93}.step-horizontal-line{height:2px;border-radius:4px;min-width:5rem;max-width:10rem;background-color:#e0e1e2;border:none;position:relative;top:-10px;margin:0 16px}.active{border-color:#e0313e!important;color:#e0313e!important}.completed{background-color:#e0313e!important;border-color:#e0313e!important;color:#fff!important}"]
|
38
|
-
})
|
39
|
-
], GIPIStepperComponent);
|
40
|
-
return GIPIStepperComponent;
|
41
|
-
}(CdkStepper));
|
42
|
-
export { GIPIStepperComponent };
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZ2lwaXNpc3RlbWFzL25nLWNvcmUvIiwic291cmNlcyI6WyJzaGFyZWQvZ2lwaS1jb21wb25lbnRzL3N0ZXBwZXIvc3RlcHBlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBVyxVQUFVLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUMzRCxPQUFPLEVBQTJCLFNBQVMsRUFBRSxLQUF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nLi9zdGVwcGVyLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9zdGVwcGVyLmNvbXBvbmVudC5zY3NzJ10sXG4gICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICAgIHByb3ZpZGU6IENka1N0ZXBwZXIsXG4gICAgICAgICAgICB1c2VFeGlzdGluZzogR0lQSVN0ZXBwZXJDb21wb25lbnQsXG4gICAgICAgIH1cbiAgICBdLFxuICAgIGhvc3Q6IHtcbiAgICAgICAgJ2NsYXNzJzogJ2dpcGktc3RlcHBlcicsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgR0lQSVN0ZXBwZXJDb21wb25lbnQgZXh0ZW5kcyBDZGtTdGVwcGVyIGltcGxlbWVudHMgT25Jbml0IHtcblxuICAgIEBJbnB1dCgpIGlkOiBzdHJpbmc7XG5cbiAgICBASW5wdXQoKSBuYW1lOiBzdHJpbmc7XG5cbiAgICBuZ09uSW5pdCgpOiB2b2lkIHsgfVxuXG4gICAgb25DbGljayhpbmRleDogbnVtYmVyKTogdm9pZCB7XG4gICAgICAgIHRoaXMuc2VsZWN0ZWRJbmRleCA9IGluZGV4O1xuICAgIH1cblxufVxuIl19
|
@@ -1,209 +0,0 @@
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
2
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
3
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output, TemplateRef, forwardRef } from '@angular/core';
|
4
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
5
|
-
import { ArrayUtil } from '../../../../../core/utils/array.util';
|
6
|
-
import { ObjectUtil } from '../../../../../core/utils/object.util';
|
7
|
-
var GIPITableBodyComponent = /** @class */ (function () {
|
8
|
-
function GIPITableBodyComponent(_changeDetectorRef) {
|
9
|
-
this._changeDetectorRef = _changeDetectorRef;
|
10
|
-
this._rowsExpanded = [];
|
11
|
-
this.loading = false;
|
12
|
-
this.loadingDetail = false;
|
13
|
-
this.disabled = false;
|
14
|
-
this.clickOnRow = false;
|
15
|
-
this.expandable = false;
|
16
|
-
this.expandOnlyOneRow = false;
|
17
|
-
this.columns = [];
|
18
|
-
this.trackBy = 'id';
|
19
|
-
this.rowsExpandedChange = new EventEmitter();
|
20
|
-
this.rowDetailToggleChange = new EventEmitter();
|
21
|
-
}
|
22
|
-
GIPITableBodyComponent_1 = GIPITableBodyComponent;
|
23
|
-
Object.defineProperty(GIPITableBodyComponent.prototype, "rows", {
|
24
|
-
get: function () {
|
25
|
-
return this._rows;
|
26
|
-
},
|
27
|
-
set: function (val) {
|
28
|
-
this._rows = val;
|
29
|
-
},
|
30
|
-
enumerable: false,
|
31
|
-
configurable: true
|
32
|
-
});
|
33
|
-
GIPITableBodyComponent.prototype.ngOnInit = function () { };
|
34
|
-
GIPITableBodyComponent.prototype.columnTrackingFn = function (index, column) {
|
35
|
-
return column.property;
|
36
|
-
};
|
37
|
-
GIPITableBodyComponent.prototype.rowTrackingFn = function (index, row) {
|
38
|
-
return row[this.trackBy];
|
39
|
-
};
|
40
|
-
GIPITableBodyComponent.prototype.getShowHighlightRow = function (row) {
|
41
|
-
if (ObjectUtil.isNull(row) || ObjectUtil.isNull(this.highlightRowFn)) {
|
42
|
-
return false;
|
43
|
-
}
|
44
|
-
return this.highlightRowFn(row);
|
45
|
-
};
|
46
|
-
GIPITableBodyComponent.prototype.getIdentifierRow = function (index) {
|
47
|
-
return "row-" + index;
|
48
|
-
};
|
49
|
-
GIPITableBodyComponent.prototype.getShowExpandable = function (row) {
|
50
|
-
if (!ObjectUtil.isNull(this.rowExpandableFn)) {
|
51
|
-
return this.expandable && this.rowExpandableFn(row);
|
52
|
-
}
|
53
|
-
else {
|
54
|
-
return this.expandable;
|
55
|
-
}
|
56
|
-
};
|
57
|
-
GIPITableBodyComponent.prototype.getColumnValue = function (row, column) {
|
58
|
-
var value = '';
|
59
|
-
if (!this.rows || !this.columns) {
|
60
|
-
value = '';
|
61
|
-
}
|
62
|
-
else {
|
63
|
-
var val = column.value;
|
64
|
-
if (typeof column.value === 'function') {
|
65
|
-
val = column.value(row);
|
66
|
-
}
|
67
|
-
var userPipe = column.pipe;
|
68
|
-
if (userPipe) {
|
69
|
-
value = userPipe.transform(val);
|
70
|
-
}
|
71
|
-
else if (value !== undefined) {
|
72
|
-
value = val;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
return value;
|
76
|
-
};
|
77
|
-
GIPITableBodyComponent.prototype.getRowExpanded = function (row) {
|
78
|
-
if (ArrayUtil.isEmpty(this._rowsExpanded)) {
|
79
|
-
return false;
|
80
|
-
}
|
81
|
-
return this._rowsExpanded.includes(row);
|
82
|
-
};
|
83
|
-
GIPITableBodyComponent.prototype.onRowExpandedChange = function (row) {
|
84
|
-
if (!this.getShowExpandable(row)) {
|
85
|
-
return;
|
86
|
-
}
|
87
|
-
if (this.expandOnlyOneRow) {
|
88
|
-
if (!ArrayUtil.isEmpty(this._rowsExpanded)) {
|
89
|
-
if (this.getRowExpanded(row)) {
|
90
|
-
this._rowsExpanded.splice(0, this._rowsExpanded.length);
|
91
|
-
}
|
92
|
-
else {
|
93
|
-
this._rowsExpanded.splice(0, this._rowsExpanded.length, row);
|
94
|
-
}
|
95
|
-
}
|
96
|
-
else {
|
97
|
-
this._rowsExpanded.push(row);
|
98
|
-
}
|
99
|
-
}
|
100
|
-
else {
|
101
|
-
if (this.getRowExpanded(row)) {
|
102
|
-
var index = this._rowsExpanded.findIndex(function (r) { return r === row; });
|
103
|
-
this._rowsExpanded.splice(index, 1);
|
104
|
-
}
|
105
|
-
else {
|
106
|
-
this._rowsExpanded.push(row);
|
107
|
-
}
|
108
|
-
}
|
109
|
-
this.rowsExpandedChange.emit(this._rowsExpanded);
|
110
|
-
this.rowDetailToggleChange.emit({ row: row, isExpanded: this.getRowExpanded(row) });
|
111
|
-
this._changeDetectorRef.detectChanges();
|
112
|
-
};
|
113
|
-
GIPITableBodyComponent.prototype.onClickCell = function (row, column) {
|
114
|
-
if (!ObjectUtil.isNull(column.action)) {
|
115
|
-
column.action(row);
|
116
|
-
}
|
117
|
-
};
|
118
|
-
var GIPITableBodyComponent_1;
|
119
|
-
GIPITableBodyComponent.ctorParameters = function () { return [
|
120
|
-
{ type: ChangeDetectorRef }
|
121
|
-
]; };
|
122
|
-
__decorate([
|
123
|
-
Input(),
|
124
|
-
__metadata("design:type", Boolean)
|
125
|
-
], GIPITableBodyComponent.prototype, "loading", void 0);
|
126
|
-
__decorate([
|
127
|
-
Input(),
|
128
|
-
__metadata("design:type", Boolean)
|
129
|
-
], GIPITableBodyComponent.prototype, "loadingDetail", void 0);
|
130
|
-
__decorate([
|
131
|
-
Input(),
|
132
|
-
__metadata("design:type", Boolean)
|
133
|
-
], GIPITableBodyComponent.prototype, "disabled", void 0);
|
134
|
-
__decorate([
|
135
|
-
Input(),
|
136
|
-
__metadata("design:type", Boolean)
|
137
|
-
], GIPITableBodyComponent.prototype, "clickOnRow", void 0);
|
138
|
-
__decorate([
|
139
|
-
Input(),
|
140
|
-
__metadata("design:type", Boolean)
|
141
|
-
], GIPITableBodyComponent.prototype, "expandable", void 0);
|
142
|
-
__decorate([
|
143
|
-
Input(),
|
144
|
-
__metadata("design:type", Boolean)
|
145
|
-
], GIPITableBodyComponent.prototype, "expandOnlyOneRow", void 0);
|
146
|
-
__decorate([
|
147
|
-
Input(),
|
148
|
-
__metadata("design:type", Function)
|
149
|
-
], GIPITableBodyComponent.prototype, "rowExpandableFn", void 0);
|
150
|
-
__decorate([
|
151
|
-
Input(),
|
152
|
-
__metadata("design:type", Function)
|
153
|
-
], GIPITableBodyComponent.prototype, "highlightRowFn", void 0);
|
154
|
-
__decorate([
|
155
|
-
Input(),
|
156
|
-
__metadata("design:type", Array)
|
157
|
-
], GIPITableBodyComponent.prototype, "columns", void 0);
|
158
|
-
__decorate([
|
159
|
-
Input(),
|
160
|
-
__metadata("design:type", String)
|
161
|
-
], GIPITableBodyComponent.prototype, "trackBy", void 0);
|
162
|
-
__decorate([
|
163
|
-
Input(),
|
164
|
-
__metadata("design:type", TemplateRef)
|
165
|
-
], GIPITableBodyComponent.prototype, "rowDetailRef", void 0);
|
166
|
-
__decorate([
|
167
|
-
Input(),
|
168
|
-
__metadata("design:type", Array),
|
169
|
-
__metadata("design:paramtypes", [Array])
|
170
|
-
], GIPITableBodyComponent.prototype, "rows", null);
|
171
|
-
__decorate([
|
172
|
-
Output(),
|
173
|
-
__metadata("design:type", EventEmitter)
|
174
|
-
], GIPITableBodyComponent.prototype, "rowsExpandedChange", void 0);
|
175
|
-
__decorate([
|
176
|
-
Output(),
|
177
|
-
__metadata("design:type", EventEmitter)
|
178
|
-
], GIPITableBodyComponent.prototype, "rowDetailToggleChange", void 0);
|
179
|
-
GIPITableBodyComponent = GIPITableBodyComponent_1 = __decorate([
|
180
|
-
Component({
|
181
|
-
selector: "gipi-table-body",
|
182
|
-
exportAs: 'gipiTableBody',
|
183
|
-
template: "<gipi-table-progress-bar *ngIf=\"loading\"> </gipi-table-progress-bar>\n\n<div class=\"table-body-content\"\n role=\"rowgroup\"\n #contentBody>\n\n <div *ngFor=\"let row of rows; trackBy: rowTrackingFn; let i = index;\"\n gipi-row\n role=\"row\"\n class=\"table-body-row\"\n [attr.id]=\"getIdentifierRow(i)\"\n [class.highlight]=\"getShowHighlightRow(row)\"\n (click)=\"clickOnRow ? onRowExpandedChange(row) : null\">\n\n <div *ngIf=\"getShowExpandable(row)\"\n role=\"cell\"\n class=\"table-body-cell-expandable noselect\"\n (click)=\"!clickOnRow ? onRowExpandedChange(row) : null\">\n <mat-icon>\n {{ getRowExpanded(row) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </div>\n\n <div *ngFor=\"let column of columns; trackBy: columnTrackingFn; let i = index;\"\n class=\"table-body-row-cell noselect\"\n role=\"cell\"\n gipi-col\n [GIPISpan]=\"column.columnSpan\"\n [attr.id]=\"column.property\"\n [style.align-items]=\"'center'\"\n [style.padding-inline.px]=\"column.paddingInline\"\n [style.justify-content]=\"column.align\"\n [style.cursor]=\"expandable && clickOnRow ? 'pointer' : 'default'\"\n (click)=\"onClickCell(row, column)\">\n <span class=\"table-row-label\"\n *ngIf=\"row\">\n {{ getColumnValue(row, column) }}\n </span>\n </div>\n\n <div *ngIf=\"rowDetailRef\"\n class=\"table-body-row-detail\"\n [@detailExpand]=\"getRowExpanded(row) ? 'expanded' : 'collapsed'\"\n role=\"row\"\n gipi-col\n [GIPISpan]=\"12\"\n (click)=\"$event.stopPropagation()\">\n <gipi-table-progress-bar *ngIf=\"loadingDetail\"> </gipi-table-progress-bar>\n\n <ng-template *ngIf=\"!loadingDetail\"\n [ngTemplateOutlet]=\"rowDetailRef\"\n [ngTemplateOutletContext]=\"{$implicit: row}\">\n </ng-template>\n </div>\n\n </div>\n\n <div *ngIf=\"!loading && (rows && (rows.length <= 0))\"\n class=\"no-records\">\n <mat-icon>sentiment_very_dissatisfied</mat-icon>\n <span>Nenhum registro foi encontrado</span>\n </div>\n\n</div>",
|
184
|
-
providers: [
|
185
|
-
{
|
186
|
-
provide: NG_VALUE_ACCESSOR,
|
187
|
-
useExisting: forwardRef(function () { return GIPITableBodyComponent_1; }),
|
188
|
-
multi: true
|
189
|
-
}
|
190
|
-
],
|
191
|
-
host: {
|
192
|
-
'class': 'gipi-table-body',
|
193
|
-
},
|
194
|
-
animations: [
|
195
|
-
trigger('detailExpand', [
|
196
|
-
state('collapsed', style({ height: '0px', minHeight: '0', display: 'none' })),
|
197
|
-
state('expanded', style({ height: '*' })),
|
198
|
-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
|
199
|
-
]),
|
200
|
-
],
|
201
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
202
|
-
styles: [".table-body-row{color:#131313;position:relative;background-color:inherit}.table-body-row.highlight{background-color:#fbf6e6}.table-body-row:not(:last-child){border-bottom:1px solid #e0e1e2}.table-body-row:hover .table-body-row-cell{background-color:#f5f5f6}.table-body-cell-expandable{width:1.6rem;height:1.6rem;background-color:#f5f5f6;border-radius:50%;z-index:1;position:absolute;text-align:center;left:3.8rem;margin:24px 0;cursor:pointer}.table-body-cell-expandable:hover{background-color:#e0e1e2}.table-body-cell-expandable>mat-icon{width:1.6rem;height:1.6rem;font-size:1.6rem}.table-body-row-cell{padding:24px 0;font-weight:400;font-size:1.4rem;line-height:100%;display:flex}.table-body-row-detail{width:100%;min-height:10rem;max-height:90rem;overflow-x:hidden;overflow-y:auto;background-color:#fff}.no-records{display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:1.4rem;font-weight:600;color:#131313;padding:24px 0;box-shadow:inset 0 5px 13px -5px rgba(0,0,0,.1)}.no-records>mat-icon{font-size:3.2rem;height:3.2rem;width:3.2rem;margin-bottom:5px}"]
|
203
|
-
}),
|
204
|
-
__metadata("design:paramtypes", [ChangeDetectorRef])
|
205
|
-
], GIPITableBodyComponent);
|
206
|
-
return GIPITableBodyComponent;
|
207
|
-
}());
|
208
|
-
export { GIPITableBodyComponent };
|
209
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtYm9keS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZ2lwaXNpc3RlbWFzL25nLWNvcmUvIiwic291cmNlcyI6WyJzaGFyZWQvZ2lwaS1jb21wb25lbnRzL3RhYmxlL2NvbXBvbmVudHMvdGFibGUtYm9keS90YWJsZS1ib2R5LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNqRixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQ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gICAgICAgaWYgKE9iamVjdFV0aWwuaXNOdWxsKHJvdykgfHwgT2JqZWN0VXRpbC5pc051bGwodGhpcy5oaWdobGlnaHRSb3dGbikpIHtcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiB0aGlzLmhpZ2hsaWdodFJvd0ZuKHJvdyk7XG4gICAgfVxuXG4gICAgcHVibGljIGdldElkZW50aWZpZXJSb3coaW5kZXg6IG51bWJlcik6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiBgcm93LSR7aW5kZXh9YDtcbiAgICB9XG5cbiAgICBwdWJsaWMgZ2V0U2hvd0V4cGFuZGFibGUocm93OiBUKTogYm9vbGVhbiB7XG4gICAgICAgIGlmICghT2JqZWN0VXRpbC5pc051bGwodGhpcy5yb3dFeHBhbmRhYmxlRm4pKSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5leHBhbmRhYmxlICYmIHRoaXMucm93RXhwYW5kYWJsZUZuKHJvdyk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5leHBhbmRhYmxlO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIGdldENvbHVtblZhbHVlKHJvdzogb2JqZWN0LCBjb2x1bW46IFRhYmxlQ29sdW1uTW9kZWwpOiBzdHJpbmcge1xuICAgICAgICBsZXQgdmFsdWU6IHN0cmluZyA9ICcnO1xuXG4gICAgICAgIGlmICghdGhpcy5yb3dzIHx8ICF0aGlzLmNvbHVtbnMpIHtcbiAgICAgICAgICAgIHZhbHVlID0gJyc7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBsZXQgdmFsOiBhbnkgPSBjb2x1bW4udmFsdWU7XG4gICAgICAgICAgICBpZiAodHlwZW9mIGNvbHVtbi52YWx1ZSA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgICAgICAgIHZhbCA9IGNvbHVtbi52YWx1ZShyb3cpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgY29uc3QgdXNlclBpcGU6IFBpcGVUcmFuc2Zvcm1Nb2RlbCA9IGNvbHVtbi5waXBlO1xuICAgICAgICAgICAgaWYgKHVzZXJQaXBlKSB7XG4gICAgICAgICAgICAgICAgdmFsdWUgPSB1c2VyUGlwZS50cmFuc2Zvcm0odmFsKTtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodmFsdWUgIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgIHZhbHVlID0gdmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHZhbHVlO1xuICAgIH1cblxuICAgIHB1YmxpYyBnZXRSb3dFeHBhbmRlZChyb3c6IFQpOiBib29sZWFuIHtcbiAgICAgICAgaWYgKEFycmF5VXRpbC5pc0VtcHR5KHRoaXMuX3Jvd3NFeHBhbmRlZCkpIHtcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdGhpcy5fcm93c0V4cGFuZGVkLmluY2x1ZGVzKHJvdyk7XG4gICAgfVxuXG4gICAgcHVibGljIG9uUm93RXhwYW5kZWRDaGFuZ2Uocm93OiBUKTogdm9pZCB7XG4gICAgICAgIGlmICghdGhpcy5nZXRTaG93RXhwYW5kYWJsZShyb3cpKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGhpcy5leHBhbmRPbmx5T25lUm93KSB7XG4gICAgICAgICAgICBpZiAoIUFycmF5VXRpbC5pc0VtcHR5KHRoaXMuX3Jvd3NFeHBhbmRlZCkpIHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5nZXRSb3dFeHBhbmRlZChyb3cpKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuX3Jvd3NFeHBhbmRlZC5zcGxpY2UoMCwgdGhpcy5fcm93c0V4cGFuZGVkLmxlbmd0aCk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fcm93c0V4cGFuZGVkLnNwbGljZSgwLCB0aGlzLl9yb3dzRXhwYW5kZWQubGVuZ3RoLCByb3cpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fcm93c0V4cGFuZGVkLnB1c2gocm93KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGlmICh0aGlzLmdldFJvd0V4cGFuZGVkKHJvdykpIHtcbiAgICAgICAgICAgICAgICBjb25zdCBpbmRleDogbnVtYmVyID0gdGhpcy5fcm93c0V4cGFuZGVkLmZpbmRJbmRleChyID0+IHIgPT09IHJvdyk7XG4gICAgICAgICAgICAgICAgdGhpcy5fcm93c0V4cGFuZGVkLnNwbGljZShpbmRleCwgMSk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHRoaXMuX3Jvd3NFeHBhbmRlZC5wdXNoKHJvdyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLnJvd3NFeHBhbmRlZENoYW5nZS5lbWl0KHRoaXMuX3Jvd3NFeHBhbmRlZCk7XG4gICAgICAgIHRoaXMucm93RGV0YWlsVG9nZ2xlQ2hhbmdlLmVtaXQoeyByb3c6IHJvdywgaXNFeHBhbmRlZDogdGhpcy5nZXRSb3dFeHBhbmRlZChyb3cpIH0pO1xuXG4gICAgICAgIHRoaXMuX2NoYW5nZURldGVjdG9yUmVmLmRldGVjdENoYW5nZXMoKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgb25DbGlja0NlbGwocm93OiBULCBjb2x1bW46IFRhYmxlQ29sdW1uTW9kZWwpOiB2b2lkIHtcbiAgICAgICAgaWYgKCFPYmplY3RVdGlsLmlzTnVsbChjb2x1bW4uYWN0aW9uKSkge1xuICAgICAgICAgICAgY29sdW1uLmFjdGlvbihyb3cpO1xuICAgICAgICB9XG4gICAgfVxuXG59XG4iXX0=
|