@gipisistemas/ng-core 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/styles/colors.scss +261 -0
- package/assets/styles/layout-grid.scss +146 -0
- package/assets/styles/styles.scss +149 -0
- package/assets/styles/theme.scss +22 -0
- package/assets/styles/typography.scss +54 -0
- package/assets/styles/variable.scss +41 -0
- package/bundles/gipisistemas-ng-core.umd.js +28311 -0
- package/bundles/gipisistemas-ng-core.umd.js.map +1 -0
- package/bundles/gipisistemas-ng-core.umd.min.js +66 -0
- package/bundles/gipisistemas-ng-core.umd.min.js.map +1 -0
- package/core/app-messages.d.ts +9 -0
- package/core/app.messages.d.ts +4 -0
- package/core/components/abstract-crud.component.d.ts +27 -0
- package/core/components/abstract-find.component.d.ts +43 -0
- package/core/components/abstract.component.d.ts +23 -0
- package/core/components/alert/alert.component.d.ts +7 -0
- package/core/core.module.d.ts +17 -0
- package/core/custom-breakpoints.d.ts +7 -0
- package/core/enums/local-time.enum.d.ts +5 -0
- package/core/extensions/string.extension.d.ts +3 -0
- package/core/gipi-components/components/abstract-crud.component.d.ts +25 -0
- package/core/gipi-components/components/abstract-find.component.d.ts +73 -0
- package/core/gipi-components/components/abstract.component.d.ts +38 -0
- package/core/gipi-components/decorators/autowired.decorator.d.ts +7 -0
- package/core/gipi-components/enums/sort-direction.enum.d.ts +5 -0
- package/core/gipi-components/interface/abstract-crud.interface.d.ts +5 -0
- package/core/gipi-components/interface/abstract-find.interface.d.ts +12 -0
- package/core/gipi-components/interface/abstract.interface.d.ts +11 -0
- package/core/gipi-components/interface/base-permission.interface.d.ts +9 -0
- package/core/gipi-components/models/abstract-filter.model.d.ts +9 -0
- package/core/gipi-components/models/abstract.model.d.ts +7 -0
- package/core/gipi-components/models/applied-filter.model.d.ts +9 -0
- package/core/gipi-components/models/dto/abstract.dto.d.ts +7 -0
- package/core/gipi-components/models/page-event.model.d.ts +18 -0
- package/core/gipi-components/models/page.model.d.ts +7 -0
- package/core/gipi-components/models/sort.model.d.ts +6 -0
- package/core/gipi-components/services/abstract-crud.service.d.ts +83 -0
- package/core/gipi-components/services/abstract.service.d.ts +19 -0
- package/core/gipi-components/services/base.service.d.ts +35 -0
- package/core/gipi-components/services/file.service.d.ts +6 -0
- package/core/gipi-components/services/session-storage.service.d.ts +8 -0
- package/core/gipi-components/types/generic.type.d.ts +1 -0
- package/core/gipi-components/types/uuid.type.d.ts +1 -0
- package/core/guards/auth.guard.d.ts +11 -0
- package/core/guards/permission.guard.d.ts +14 -0
- package/core/guards/public.guard.d.ts +11 -0
- package/core/interceptors/auth.interceptor.d.ts +9 -0
- package/core/interceptors/error.interceptor.d.ts +11 -0
- package/core/models/abstract.model.d.ts +3 -0
- package/core/models/archive.model.d.ts +4 -0
- package/core/models/authority.model.d.ts +3 -0
- package/core/models/base-user.model.d.ts +12 -0
- package/core/models/dto/abstract.dto.d.ts +2 -0
- package/core/models/dto/api-error.dto.d.ts +9 -0
- package/core/models/dto/api-sub-error.dto.d.ts +7 -0
- package/core/models/dto/chart.dto.d.ts +5 -0
- package/core/models/dto/confirmation.dto.d.ts +10 -0
- package/core/models/dto/dialog.dto.d.ts +36 -0
- package/core/models/dto/filter.dto.d.ts +8 -0
- package/core/models/dto/input-listbox.dto.d.ts +6 -0
- package/core/models/dto/menu.dto.d.ts +15 -0
- package/core/models/dto/message.dto.d.ts +7 -0
- package/core/models/dto/page.dto.d.ts +8 -0
- package/core/models/dto/sort.dto.d.ts +7 -0
- package/core/models/dto/tab.dto.d.ts +12 -0
- package/core/models/dto/table-column.dto.d.ts +21 -0
- package/core/models/dto/table-group-header.dto.d.ts +7 -0
- package/core/models/dto/table-page-event.dto.d.ts +6 -0
- package/core/models/dto/token.dto.d.ts +8 -0
- package/core/models/enums/criteria-operation.enum.d.ts +13 -0
- package/core/models/enums/criteria-sort-direction.enum.d.ts +4 -0
- package/core/models/enums/menu-type.enum.d.ts +6 -0
- package/core/models/enums/radio-button.enum.d.ts +6 -0
- package/core/models/enums/sort-direction.enum.d.ts +4 -0
- package/core/models/multitenant.model.d.ts +4 -0
- package/core/models/permission.model.d.ts +8 -0
- package/core/models/role.model.d.ts +7 -0
- package/core/pipes/local-time.pipe.d.ts +6 -0
- package/core/services/abstract-crud.service.d.ts +15 -0
- package/core/services/abstract-find.service.d.ts +30 -0
- package/core/services/abstract.service.d.ts +13 -0
- package/core/services/authentication.service.d.ts +23 -0
- package/core/services/breakpoint-observer.service.d.ts +9 -0
- package/core/services/confirmation.service.d.ts +8 -0
- package/core/services/dialog.service.d.ts +8 -0
- package/core/services/message.service.d.ts +8 -0
- package/core/services/nav.service.d.ts +16 -0
- package/core/services/svg-register.service.d.ts +22 -0
- package/core/types/local-time.type.d.ts +5 -0
- package/core/types/ng-class.type.d.ts +10 -0
- package/core/utils/array.util.d.ts +14 -0
- package/core/utils/browser.util.d.ts +4 -0
- package/core/utils/currency.util.d.ts +6 -0
- package/core/utils/date.util.d.ts +39 -0
- package/core/utils/document.util.d.ts +11 -0
- package/core/utils/email.util.d.ts +4 -0
- package/core/utils/number.util.d.ts +8 -0
- package/core/utils/object.util.d.ts +20 -0
- package/core/utils/password.util.d.ts +11 -0
- package/core/utils/phone.util.d.ts +13 -0
- package/core/utils/string.util.d.ts +9 -0
- package/core/utils/table-column-builder.d.ts +40 -0
- package/core/utils/time.util.d.ts +9 -0
- package/core/utils/url-params.util.d.ts +7 -0
- package/core/utils/uuid.util.d.ts +5 -0
- package/core/utils/zindex.util.d.ts +7 -0
- package/core.d.ts +88 -0
- package/esm2015/core/app-messages.js +1 -0
- package/esm2015/core/app.messages.js +12 -0
- package/esm2015/core/components/abstract-crud.component.js +97 -0
- package/esm2015/core/components/abstract-find.component.js +189 -0
- package/esm2015/core/components/abstract.component.js +110 -0
- package/esm2015/core/components/alert/alert.component.js +24 -0
- package/esm2015/core/core.module.js +103 -0
- package/esm2015/core/custom-breakpoints.js +87 -0
- package/esm2015/core/enums/local-time.enum.js +6 -0
- package/esm2015/core/extensions/string.extension.js +37 -0
- package/esm2015/core/gipi-components/components/abstract-crud.component.js +110 -0
- package/esm2015/core/gipi-components/components/abstract-find.component.js +471 -0
- package/esm2015/core/gipi-components/components/abstract.component.js +140 -0
- package/esm2015/core/gipi-components/decorators/autowired.decorator.js +47 -0
- package/esm2015/core/gipi-components/enums/sort-direction.enum.js +6 -0
- package/esm2015/core/gipi-components/interface/abstract-crud.interface.js +1 -0
- package/esm2015/core/gipi-components/interface/abstract-find.interface.js +1 -0
- package/esm2015/core/gipi-components/interface/abstract.interface.js +1 -0
- package/esm2015/core/gipi-components/interface/base-permission.interface.js +1 -0
- package/esm2015/core/gipi-components/models/abstract-filter.model.js +3 -0
- package/esm2015/core/gipi-components/models/abstract.model.js +3 -0
- package/esm2015/core/gipi-components/models/applied-filter.model.js +19 -0
- package/esm2015/core/gipi-components/models/dto/abstract.dto.js +3 -0
- package/esm2015/core/gipi-components/models/page-event.model.js +35 -0
- package/esm2015/core/gipi-components/models/page.model.js +7 -0
- package/esm2015/core/gipi-components/models/sort.model.js +7 -0
- package/esm2015/core/gipi-components/services/abstract-crud.service.js +109 -0
- package/esm2015/core/gipi-components/services/abstract.service.js +47 -0
- package/esm2015/core/gipi-components/services/base.service.js +102 -0
- package/esm2015/core/gipi-components/services/file.service.js +51 -0
- package/esm2015/core/gipi-components/services/session-storage.service.js +44 -0
- package/esm2015/core/gipi-components/types/generic.type.js +1 -0
- package/esm2015/core/gipi-components/types/uuid.type.js +1 -0
- package/esm2015/core/guards/auth.guard.js +48 -0
- package/esm2015/core/guards/permission.guard.js +61 -0
- package/esm2015/core/guards/public.guard.js +45 -0
- package/esm2015/core/interceptors/auth.interceptor.js +28 -0
- package/esm2015/core/interceptors/error.interceptor.js +110 -0
- package/esm2015/core/models/abstract.model.js +3 -0
- package/esm2015/core/models/archive.model.js +3 -0
- package/esm2015/core/models/authority.model.js +3 -0
- package/esm2015/core/models/base-user.model.js +8 -0
- package/esm2015/core/models/dto/abstract.dto.js +3 -0
- package/esm2015/core/models/dto/api-error.dto.js +8 -0
- package/esm2015/core/models/dto/api-sub-error.dto.js +4 -0
- package/esm2015/core/models/dto/chart.dto.js +4 -0
- package/esm2015/core/models/dto/confirmation.dto.js +8 -0
- package/esm2015/core/models/dto/dialog.dto.js +4 -0
- package/esm2015/core/models/dto/filter.dto.js +4 -0
- package/esm2015/core/models/dto/input-listbox.dto.js +7 -0
- package/esm2015/core/models/dto/menu.dto.js +9 -0
- package/esm2015/core/models/dto/message.dto.js +4 -0
- package/esm2015/core/models/dto/page.dto.js +9 -0
- package/esm2015/core/models/dto/sort.dto.js +9 -0
- package/esm2015/core/models/dto/tab.dto.js +10 -0
- package/esm2015/core/models/dto/table-column.dto.js +24 -0
- package/esm2015/core/models/dto/table-group-header.dto.js +10 -0
- package/esm2015/core/models/dto/table-page-event.dto.js +7 -0
- package/esm2015/core/models/dto/token.dto.js +4 -0
- package/esm2015/core/models/enums/criteria-operation.enum.js +15 -0
- package/esm2015/core/models/enums/criteria-sort-direction.enum.js +6 -0
- package/esm2015/core/models/enums/menu-type.enum.js +7 -0
- package/esm2015/core/models/enums/radio-button.enum.js +8 -0
- package/esm2015/core/models/enums/sort-direction.enum.js +6 -0
- package/esm2015/core/models/multitenant.model.js +4 -0
- package/esm2015/core/models/permission.model.js +11 -0
- package/esm2015/core/models/role.model.js +8 -0
- package/esm2015/core/pipes/local-time.pipe.js +21 -0
- package/esm2015/core/services/abstract-crud.service.js +24 -0
- package/esm2015/core/services/abstract-find.service.js +65 -0
- package/esm2015/core/services/abstract.service.js +30 -0
- package/esm2015/core/services/authentication.service.js +100 -0
- package/esm2015/core/services/breakpoint-observer.service.js +42 -0
- package/esm2015/core/services/confirmation.service.js +55 -0
- package/esm2015/core/services/dialog.service.js +41 -0
- package/esm2015/core/services/message.service.js +33 -0
- package/esm2015/core/services/nav.service.js +48 -0
- package/esm2015/core/services/svg-register.service.js +55 -0
- package/esm2015/core/types/local-time.type.js +1 -0
- package/esm2015/core/types/ng-class.type.js +1 -0
- package/esm2015/core/utils/array.util.js +110 -0
- package/esm2015/core/utils/browser.util.js +13 -0
- package/esm2015/core/utils/currency.util.js +21 -0
- package/esm2015/core/utils/date.util.js +257 -0
- package/esm2015/core/utils/document.util.js +153 -0
- package/esm2015/core/utils/email.util.js +25 -0
- package/esm2015/core/utils/number.util.js +28 -0
- package/esm2015/core/utils/object.util.js +199 -0
- package/esm2015/core/utils/password.util.js +38 -0
- package/esm2015/core/utils/phone.util.js +125 -0
- package/esm2015/core/utils/string.util.js +40 -0
- package/esm2015/core/utils/table-column-builder.js +85 -0
- package/esm2015/core/utils/time.util.js +59 -0
- package/esm2015/core/utils/url-params.util.js +12 -0
- package/esm2015/core/utils/uuid.util.js +17 -0
- package/esm2015/core/utils/zindex.util.js +35 -0
- package/esm2015/core.js +89 -0
- package/esm2015/gipi-components.js +105 -0
- package/esm2015/gipisistemas-ng-core.js +21 -0
- package/esm2015/public_api.js +4 -0
- package/esm2015/shared/api/generate-id-component.js +12 -0
- package/esm2015/shared/api/gipi-ng-config.js +76 -0
- package/esm2015/shared/api/overlay-message.js +1 -0
- package/esm2015/shared/api/throttle.js +60 -0
- package/esm2015/shared/api/translation.js +1 -0
- package/esm2015/shared/components/button/button.component.js +110 -0
- package/esm2015/shared/components/card/card.component.js +44 -0
- package/esm2015/shared/components/checkbox/checkbox.component.js +79 -0
- package/esm2015/shared/components/dom/connected-overlay-scroll-handler.js +27 -0
- package/esm2015/shared/components/dom/dom-handler.js +538 -0
- package/esm2015/shared/components/icon/icon.component.js +35 -0
- package/esm2015/shared/components/input/input.component.js +235 -0
- package/esm2015/shared/components/input-currency/input-currency.component.js +115 -0
- package/esm2015/shared/components/input-file/input-file.component.js +161 -0
- package/esm2015/shared/components/loading/loading.component.js +15 -0
- package/esm2015/shared/components/loading-overlay/loading-overlay.component.js +21 -0
- package/esm2015/shared/components/overlay-panel/overlay-panel.component.js +361 -0
- package/esm2015/shared/components/popover/popover-ref.js +25 -0
- package/esm2015/shared/components/popover/popover.component.js +34 -0
- package/esm2015/shared/components/popover/popover.service.js +85 -0
- package/esm2015/shared/components/radio-group-entity/radio-group-entity.component.js +74 -0
- package/esm2015/shared/components/radio-group-enum/radio-group-enum.component.js +126 -0
- package/esm2015/shared/components/select-button/select-button.component.js +181 -0
- package/esm2015/shared/components/select-entity/select-entity.component.js +262 -0
- package/esm2015/shared/components/select-entity-paged/select-entity-paged.component.js +419 -0
- package/esm2015/shared/components/select-entity-paged/shared/default-options.js +35 -0
- package/esm2015/shared/components/select-entity-paged/shared/select-button-add/select-button-add.component.js +69 -0
- package/esm2015/shared/components/select-entity-paged/shared/select-button-next-batch/select-button-next-batch.component.js +59 -0
- package/esm2015/shared/components/select-entity-paged/shared/select-no-entries-found.directive.js +20 -0
- package/esm2015/shared/components/select-entity-paged/shared/select-search/select-search.component.js +547 -0
- package/esm2015/shared/components/select-entity-paged/shared/select-search-clear.directive.js +18 -0
- package/esm2015/shared/components/select-enum/select-enum.component.js +117 -0
- package/esm2015/shared/components/select-month-period/select-month-period.component.js +87 -0
- package/esm2015/shared/components/slide-toggle/slide-toggle.component.js +75 -0
- package/esm2015/shared/components/stepper/stepper.component.js +32 -0
- package/esm2015/shared/components/tab/tab.component.js +57 -0
- package/esm2015/shared/components/tab-group/tab-group.component.js +117 -0
- package/esm2015/shared/components/table/table.component.js +523 -0
- package/esm2015/shared/components/table-scrolled/table-scrolled.component.js +105 -0
- package/esm2015/shared/components/textarea/textarea.component.js +156 -0
- package/esm2015/shared/directives/dynamic-tab.directive.js +18 -0
- package/esm2015/shared/directives/generic-template.directive.js +30 -0
- package/esm2015/shared/directives/input-select-infinite-scroll.directive.js +109 -0
- package/esm2015/shared/directives/lower-case.directive.js +47 -0
- package/esm2015/shared/directives/phone-mask.directive.js +60 -0
- package/esm2015/shared/directives/space-drop.directive.js +47 -0
- package/esm2015/shared/directives/upper-case.directive.js +47 -0
- package/esm2015/shared/gipi-components/abstract-form/abstract-form.component.js +119 -0
- package/esm2015/shared/gipi-components/action-row/action-row.component.js +30 -0
- package/esm2015/shared/gipi-components/badge/badge.component.js +44 -0
- package/esm2015/shared/gipi-components/button/button.component.js +251 -0
- package/esm2015/shared/gipi-components/chips/chips.component.js +149 -0
- package/esm2015/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.js +44 -0
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +324 -0
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range-selection-startegy.js +41 -0
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range.directive.js +35 -0
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/shared/preset-range/preset-range.component.js +259 -0
- package/esm2015/shared/gipi-components/datepicker/datepicker/datepicker.component.js +218 -0
- package/esm2015/shared/gipi-components/datepicker/datepicker.module.js +130 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/calendar-body.js +341 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/calendar.js +397 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-input-parts.js +325 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-input.js +329 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-picker.js +41 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-selection-strategy.js +61 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-selection-model.js +159 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-animations.js +35 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-base.js +555 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-errors.js +14 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-input-base.js +303 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-input.js +179 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-intl.js +51 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker-toggle.js +124 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/datepicker.js +29 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/month-view.js +365 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/multi-year-view.js +305 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-adapter.js +116 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-formats.js +10 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-adapter.js +294 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-formats.js +19 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/platform.js +81 -0
- package/esm2015/shared/gipi-components/datepicker/mat-datepicker/year-view.js +294 -0
- package/esm2015/shared/gipi-components/dom/connected-overlay-scroll-handler.js +27 -0
- package/esm2015/shared/gipi-components/dom/dom-handler.js +645 -0
- package/esm2015/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +185 -0
- package/esm2015/shared/gipi-components/expansion-panel/expansion-panel.component.js +81 -0
- package/esm2015/shared/gipi-components/file-drag-and-drop/file-drag-and-drop.component.js +240 -0
- package/esm2015/shared/gipi-components/file-drag-and-drop/shared/file-drag-and-drop.directive.js +92 -0
- package/esm2015/shared/gipi-components/footer/footer.component.js +29 -0
- package/esm2015/shared/gipi-components/form-field/form-field.component.js +262 -0
- package/esm2015/shared/gipi-components/helpful-tip/helpful-tip.component.js +62 -0
- package/esm2015/shared/gipi-components/infinite-scroll/infinite-scroll.directive.js +103 -0
- package/esm2015/shared/gipi-components/input-checkbox/input-checkbox.component.js +112 -0
- package/esm2015/shared/gipi-components/input-currency/input-currency.component.js +197 -0
- package/esm2015/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +408 -0
- package/esm2015/shared/gipi-components/input-select/input-select.component.js +655 -0
- package/esm2015/shared/gipi-components/input-select-enum/input-select-enum.component.js +311 -0
- package/esm2015/shared/gipi-components/input-select-listbox/input-select-listbox.component.js +422 -0
- package/esm2015/shared/gipi-components/input-select-paged/input-search/input-search.component.js +374 -0
- package/esm2015/shared/gipi-components/input-select-paged/input-select-paged.component.js +350 -0
- package/esm2015/shared/gipi-components/input-select-radio/input-select-radio.component.js +269 -0
- package/esm2015/shared/gipi-components/layout-grid/col.directive.js +161 -0
- package/esm2015/shared/gipi-components/layout-grid/row.directive.js +124 -0
- package/esm2015/shared/gipi-components/layout-grid/services/breakpoint.service.js +87 -0
- package/esm2015/shared/gipi-components/layout-grid/services/resize.service.js +64 -0
- package/esm2015/shared/gipi-components/month-year-picker/calendar-month-year/calendar-month-year.component.js +193 -0
- package/esm2015/shared/gipi-components/month-year-picker/mont-year-picker.module.js +47 -0
- package/esm2015/shared/gipi-components/month-year-picker/month-year-picker.component.js +460 -0
- package/esm2015/shared/gipi-components/notification/notification.component.js +104 -0
- package/esm2015/shared/gipi-components/novelties/novelties.component.js +109 -0
- package/esm2015/shared/gipi-components/overlay/overlay.component.js +565 -0
- package/esm2015/shared/gipi-components/overlay/shared/overlay-service.js +21 -0
- package/esm2015/shared/gipi-components/overlay/shared/overlay_options.js +1 -0
- package/esm2015/shared/gipi-components/password-requeriments/password-requeriments.component.js +127 -0
- package/esm2015/shared/gipi-components/popover/popover.component.js +397 -0
- package/esm2015/shared/gipi-components/popover/shared/popover-animations.js +29 -0
- package/esm2015/shared/gipi-components/popover/shared/popover-errors.js +27 -0
- package/esm2015/shared/gipi-components/popover/shared/popover-interfaces.js +1 -0
- package/esm2015/shared/gipi-components/popover/shared/popover-target.js +19 -0
- package/esm2015/shared/gipi-components/popover/shared/popover-trigger.js +514 -0
- package/esm2015/shared/gipi-components/popover/shared/popover-types.js +1 -0
- package/esm2015/shared/gipi-components/radio-group/radio-group.component.js +143 -0
- package/esm2015/shared/gipi-components/range-page/range-page.component.js +254 -0
- package/esm2015/shared/gipi-components/range-slider/range-slider.component.js +345 -0
- package/esm2015/shared/gipi-components/select/select.component.js +211 -0
- package/esm2015/shared/gipi-components/select-button/select-button.component.js +187 -0
- package/esm2015/shared/gipi-components/sidebar/container/container.component.js +83 -0
- package/esm2015/shared/gipi-components/sidebar/sidenav/sidenav.component.js +240 -0
- package/esm2015/shared/gipi-components/stepper/stepper.component.js +37 -0
- package/esm2015/shared/gipi-components/table/components/table-body/table-body.component.js +203 -0
- package/esm2015/shared/gipi-components/table/components/table-footer/table-footer.component.js +30 -0
- package/esm2015/shared/gipi-components/table/components/table-header/table-header.component.js +152 -0
- package/esm2015/shared/gipi-components/table/components/table-pagination/shared/paginate.pipe.js +122 -0
- package/esm2015/shared/gipi-components/table/components/table-pagination/shared/pagination-controls.directive.js +225 -0
- package/esm2015/shared/gipi-components/table/components/table-pagination/shared/pagination-instance.js +1 -0
- package/esm2015/shared/gipi-components/table/components/table-pagination/shared/pagination.service.js +105 -0
- package/esm2015/shared/gipi-components/table/components/table-pagination/table-pagination.component.js +102 -0
- package/esm2015/shared/gipi-components/table/components/table-progress-bar/table-progress-bar.component.js +30 -0
- package/esm2015/shared/gipi-components/table/models/pipe-transform.model.js +1 -0
- package/esm2015/shared/gipi-components/table/models/sort.model.js +19 -0
- package/esm2015/shared/gipi-components/table/models/sorted-column.model.js +2 -0
- package/esm2015/shared/gipi-components/table/models/table-column-builder.model.js +104 -0
- package/esm2015/shared/gipi-components/table/models/table-column.model.js +162 -0
- package/esm2015/shared/gipi-components/table/table.component.js +159 -0
- package/esm2015/shared/gipi-components/table/types/sort-direction.type.js +1 -0
- package/esm2015/shared/gipi-components/table/types/sort.type.js +1 -0
- package/esm2015/shared/gipi-components/template/template.directive.js +33 -0
- package/esm2015/shared/gipi-components/toolbar/toolbar.component.js +53 -0
- package/esm2015/shared/gipi-components/top-nav/top-nav.component.js +38 -0
- package/esm2015/shared/gipi-components/user-profile/user-profile.component.js +109 -0
- package/esm2015/shared/material.module.js +102 -0
- package/esm2015/shared/shared.module.js +339 -0
- package/esm2015/shared.js +36 -0
- package/esm5/core/app-messages.js +1 -0
- package/esm5/core/app.messages.js +12 -0
- package/esm5/core/components/abstract-crud.component.js +108 -0
- package/esm5/core/components/abstract-find.component.js +201 -0
- package/esm5/core/components/abstract.component.js +112 -0
- package/esm5/core/components/alert/alert.component.js +25 -0
- package/esm5/core/core.module.js +107 -0
- package/esm5/core/custom-breakpoints.js +87 -0
- package/esm5/core/enums/local-time.enum.js +6 -0
- package/esm5/core/extensions/string.extension.js +37 -0
- package/esm5/core/gipi-components/components/abstract-crud.component.js +122 -0
- package/esm5/core/gipi-components/components/abstract-find.component.js +507 -0
- package/esm5/core/gipi-components/components/abstract.component.js +152 -0
- package/esm5/core/gipi-components/decorators/autowired.decorator.js +52 -0
- package/esm5/core/gipi-components/enums/sort-direction.enum.js +6 -0
- package/esm5/core/gipi-components/interface/abstract-crud.interface.js +1 -0
- package/esm5/core/gipi-components/interface/abstract-find.interface.js +1 -0
- package/esm5/core/gipi-components/interface/abstract.interface.js +1 -0
- package/esm5/core/gipi-components/interface/base-permission.interface.js +1 -0
- package/esm5/core/gipi-components/models/abstract-filter.model.js +7 -0
- package/esm5/core/gipi-components/models/abstract.model.js +7 -0
- package/esm5/core/gipi-components/models/applied-filter.model.js +29 -0
- package/esm5/core/gipi-components/models/dto/abstract.dto.js +7 -0
- package/esm5/core/gipi-components/models/page-event.model.js +49 -0
- package/esm5/core/gipi-components/models/page.model.js +9 -0
- package/esm5/core/gipi-components/models/sort.model.js +9 -0
- package/esm5/core/gipi-components/services/abstract-crud.service.js +114 -0
- package/esm5/core/gipi-components/services/abstract.service.js +49 -0
- package/esm5/core/gipi-components/services/base.service.js +143 -0
- package/esm5/core/gipi-components/services/file.service.js +53 -0
- package/esm5/core/gipi-components/services/session-storage.service.js +45 -0
- package/esm5/core/gipi-components/types/generic.type.js +1 -0
- package/esm5/core/gipi-components/types/uuid.type.js +1 -0
- package/esm5/core/guards/auth.guard.js +50 -0
- package/esm5/core/guards/permission.guard.js +74 -0
- package/esm5/core/guards/public.guard.js +47 -0
- package/esm5/core/interceptors/auth.interceptor.js +29 -0
- package/esm5/core/interceptors/error.interceptor.js +129 -0
- package/esm5/core/models/abstract.model.js +7 -0
- package/esm5/core/models/archive.model.js +7 -0
- package/esm5/core/models/authority.model.js +7 -0
- package/esm5/core/models/base-user.model.js +13 -0
- package/esm5/core/models/dto/abstract.dto.js +7 -0
- package/esm5/core/models/dto/api-error.dto.js +13 -0
- package/esm5/core/models/dto/api-sub-error.dto.js +11 -0
- package/esm5/core/models/dto/chart.dto.js +11 -0
- package/esm5/core/models/dto/confirmation.dto.js +13 -0
- package/esm5/core/models/dto/dialog.dto.js +11 -0
- package/esm5/core/models/dto/filter.dto.js +11 -0
- package/esm5/core/models/dto/input-listbox.dto.js +11 -0
- package/esm5/core/models/dto/menu.dto.js +14 -0
- package/esm5/core/models/dto/message.dto.js +11 -0
- package/esm5/core/models/dto/page.dto.js +14 -0
- package/esm5/core/models/dto/sort.dto.js +14 -0
- package/esm5/core/models/dto/tab.dto.js +15 -0
- package/esm5/core/models/dto/table-column.dto.js +29 -0
- package/esm5/core/models/dto/table-group-header.dto.js +15 -0
- package/esm5/core/models/dto/table-page-event.dto.js +11 -0
- package/esm5/core/models/dto/token.dto.js +11 -0
- package/esm5/core/models/enums/criteria-operation.enum.js +15 -0
- package/esm5/core/models/enums/criteria-sort-direction.enum.js +6 -0
- package/esm5/core/models/enums/menu-type.enum.js +7 -0
- package/esm5/core/models/enums/radio-button.enum.js +8 -0
- package/esm5/core/models/enums/sort-direction.enum.js +6 -0
- package/esm5/core/models/multitenant.model.js +11 -0
- package/esm5/core/models/permission.model.js +16 -0
- package/esm5/core/models/role.model.js +13 -0
- package/esm5/core/pipes/local-time.pipe.js +26 -0
- package/esm5/core/services/abstract-crud.service.js +30 -0
- package/esm5/core/services/abstract-find.service.js +71 -0
- package/esm5/core/services/abstract.service.js +32 -0
- package/esm5/core/services/authentication.service.js +121 -0
- package/esm5/core/services/breakpoint-observer.service.js +52 -0
- package/esm5/core/services/confirmation.service.js +66 -0
- package/esm5/core/services/dialog.service.js +44 -0
- package/esm5/core/services/message.service.js +36 -0
- package/esm5/core/services/nav.service.js +51 -0
- package/esm5/core/services/svg-register.service.js +67 -0
- package/esm5/core/types/local-time.type.js +1 -0
- package/esm5/core/types/ng-class.type.js +1 -0
- package/esm5/core/utils/array.util.js +120 -0
- package/esm5/core/utils/browser.util.js +17 -0
- package/esm5/core/utils/currency.util.js +26 -0
- package/esm5/core/utils/date.util.js +269 -0
- package/esm5/core/utils/document.util.js +157 -0
- package/esm5/core/utils/email.util.js +29 -0
- package/esm5/core/utils/number.util.js +32 -0
- package/esm5/core/utils/object.util.js +204 -0
- package/esm5/core/utils/password.util.js +42 -0
- package/esm5/core/utils/phone.util.js +135 -0
- package/esm5/core/utils/string.util.js +44 -0
- package/esm5/core/utils/table-column-builder.js +87 -0
- package/esm5/core/utils/time.util.js +65 -0
- package/esm5/core/utils/url-params.util.js +16 -0
- package/esm5/core/utils/uuid.util.js +21 -0
- package/esm5/core/utils/zindex.util.js +35 -0
- package/esm5/core.js +89 -0
- package/esm5/gipi-components.js +105 -0
- package/esm5/gipisistemas-ng-core.js +21 -0
- package/esm5/public_api.js +4 -0
- package/esm5/shared/api/generate-id-component.js +16 -0
- package/esm5/shared/api/gipi-ng-config.js +77 -0
- package/esm5/shared/api/overlay-message.js +1 -0
- package/esm5/shared/api/throttle.js +60 -0
- package/esm5/shared/api/translation.js +1 -0
- package/esm5/shared/components/button/button.component.js +111 -0
- package/esm5/shared/components/card/card.component.js +45 -0
- package/esm5/shared/components/checkbox/checkbox.component.js +85 -0
- package/esm5/shared/components/dom/connected-overlay-scroll-handler.js +30 -0
- package/esm5/shared/components/dom/dom-handler.js +573 -0
- package/esm5/shared/components/icon/icon.component.js +38 -0
- package/esm5/shared/components/input/input.component.js +242 -0
- package/esm5/shared/components/input-currency/input-currency.component.js +121 -0
- package/esm5/shared/components/input-file/input-file.component.js +165 -0
- package/esm5/shared/components/loading/loading.component.js +18 -0
- package/esm5/shared/components/loading-overlay/loading-overlay.component.js +23 -0
- package/esm5/shared/components/overlay-panel/overlay-panel.component.js +366 -0
- package/esm5/shared/components/popover/popover-ref.js +28 -0
- package/esm5/shared/components/popover/popover.component.js +35 -0
- package/esm5/shared/components/popover/popover.service.js +88 -0
- package/esm5/shared/components/radio-group-entity/radio-group-entity.component.js +80 -0
- package/esm5/shared/components/radio-group-enum/radio-group-enum.component.js +138 -0
- package/esm5/shared/components/select-button/select-button.component.js +195 -0
- package/esm5/shared/components/select-entity/select-entity.component.js +269 -0
- package/esm5/shared/components/select-entity-paged/select-entity-paged.component.js +453 -0
- package/esm5/shared/components/select-entity-paged/shared/default-options.js +35 -0
- package/esm5/shared/components/select-entity-paged/shared/select-button-add/select-button-add.component.js +72 -0
- package/esm5/shared/components/select-entity-paged/shared/select-button-next-batch/select-button-next-batch.component.js +62 -0
- package/esm5/shared/components/select-entity-paged/shared/select-no-entries-found.directive.js +23 -0
- package/esm5/shared/components/select-entity-paged/shared/select-search/select-search.component.js +590 -0
- package/esm5/shared/components/select-entity-paged/shared/select-search-clear.directive.js +21 -0
- package/esm5/shared/components/select-enum/select-enum.component.js +124 -0
- package/esm5/shared/components/select-month-period/select-month-period.component.js +91 -0
- package/esm5/shared/components/slide-toggle/slide-toggle.component.js +81 -0
- package/esm5/shared/components/stepper/stepper.component.js +36 -0
- package/esm5/shared/components/tab/tab.component.js +58 -0
- package/esm5/shared/components/tab-group/tab-group.component.js +125 -0
- package/esm5/shared/components/table/table.component.js +538 -0
- package/esm5/shared/components/table-scrolled/table-scrolled.component.js +107 -0
- package/esm5/shared/components/textarea/textarea.component.js +174 -0
- package/esm5/shared/directives/dynamic-tab.directive.js +19 -0
- package/esm5/shared/directives/generic-template.directive.js +31 -0
- package/esm5/shared/directives/input-select-infinite-scroll.directive.js +113 -0
- package/esm5/shared/directives/lower-case.directive.js +48 -0
- package/esm5/shared/directives/phone-mask.directive.js +61 -0
- package/esm5/shared/directives/space-drop.directive.js +48 -0
- package/esm5/shared/directives/upper-case.directive.js +48 -0
- package/esm5/shared/gipi-components/abstract-form/abstract-form.component.js +141 -0
- package/esm5/shared/gipi-components/action-row/action-row.component.js +33 -0
- package/esm5/shared/gipi-components/badge/badge.component.js +46 -0
- package/esm5/shared/gipi-components/button/button.component.js +257 -0
- package/esm5/shared/gipi-components/chips/chips.component.js +159 -0
- package/esm5/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.js +46 -0
- package/esm5/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +378 -0
- package/esm5/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range-selection-startegy.js +42 -0
- package/esm5/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range.directive.js +40 -0
- package/esm5/shared/gipi-components/datepicker/date-range-picker/shared/preset-range/preset-range.component.js +291 -0
- package/esm5/shared/gipi-components/datepicker/datepicker/datepicker.component.js +252 -0
- package/esm5/shared/gipi-components/datepicker/datepicker.module.js +133 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/calendar-body.js +349 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/calendar.js +441 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-input-parts.js +339 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-input.js +376 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-picker.js +46 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-selection-strategy.js +62 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-selection-model.js +167 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-animations.js +35 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-base.js +586 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-errors.js +14 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-input-base.js +327 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-input.js +199 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-intl.js +52 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker-toggle.js +133 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/datepicker.js +34 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/month-view.js +384 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/multi-year-view.js +324 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-adapter.js +118 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-formats.js +10 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-adapter.js +300 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-formats.js +19 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/platform.js +82 -0
- package/esm5/shared/gipi-components/datepicker/mat-datepicker/year-view.js +313 -0
- package/esm5/shared/gipi-components/dom/connected-overlay-scroll-handler.js +30 -0
- package/esm5/shared/gipi-components/dom/dom-handler.js +681 -0
- package/esm5/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +191 -0
- package/esm5/shared/gipi-components/expansion-panel/expansion-panel.component.js +83 -0
- package/esm5/shared/gipi-components/file-drag-and-drop/file-drag-and-drop.component.js +255 -0
- package/esm5/shared/gipi-components/file-drag-and-drop/shared/file-drag-and-drop.directive.js +93 -0
- package/esm5/shared/gipi-components/footer/footer.component.js +32 -0
- package/esm5/shared/gipi-components/form-field/form-field.component.js +276 -0
- package/esm5/shared/gipi-components/helpful-tip/helpful-tip.component.js +68 -0
- package/esm5/shared/gipi-components/infinite-scroll/infinite-scroll.directive.js +106 -0
- package/esm5/shared/gipi-components/input-checkbox/input-checkbox.component.js +118 -0
- package/esm5/shared/gipi-components/input-currency/input-currency.component.js +207 -0
- package/esm5/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +426 -0
- package/esm5/shared/gipi-components/input-select/input-select.component.js +698 -0
- package/esm5/shared/gipi-components/input-select-enum/input-select-enum.component.js +351 -0
- package/esm5/shared/gipi-components/input-select-listbox/input-select-listbox.component.js +437 -0
- package/esm5/shared/gipi-components/input-select-paged/input-search/input-search.component.js +397 -0
- package/esm5/shared/gipi-components/input-select-paged/input-select-paged.component.js +384 -0
- package/esm5/shared/gipi-components/input-select-radio/input-select-radio.component.js +286 -0
- package/esm5/shared/gipi-components/layout-grid/col.directive.js +164 -0
- package/esm5/shared/gipi-components/layout-grid/row.directive.js +127 -0
- package/esm5/shared/gipi-components/layout-grid/services/breakpoint.service.js +90 -0
- package/esm5/shared/gipi-components/layout-grid/services/resize.service.js +68 -0
- package/esm5/shared/gipi-components/month-year-picker/calendar-month-year/calendar-month-year.component.js +200 -0
- package/esm5/shared/gipi-components/month-year-picker/mont-year-picker.module.js +50 -0
- package/esm5/shared/gipi-components/month-year-picker/month-year-picker.component.js +505 -0
- package/esm5/shared/gipi-components/notification/notification.component.js +106 -0
- package/esm5/shared/gipi-components/novelties/novelties.component.js +111 -0
- package/esm5/shared/gipi-components/overlay/overlay.component.js +670 -0
- package/esm5/shared/gipi-components/overlay/shared/overlay-service.js +22 -0
- package/esm5/shared/gipi-components/overlay/shared/overlay_options.js +1 -0
- package/esm5/shared/gipi-components/password-requeriments/password-requeriments.component.js +157 -0
- package/esm5/shared/gipi-components/popover/popover.component.js +473 -0
- package/esm5/shared/gipi-components/popover/shared/popover-animations.js +29 -0
- package/esm5/shared/gipi-components/popover/shared/popover-errors.js +21 -0
- package/esm5/shared/gipi-components/popover/shared/popover-interfaces.js +1 -0
- package/esm5/shared/gipi-components/popover/shared/popover-target.js +20 -0
- package/esm5/shared/gipi-components/popover/shared/popover-trigger.js +529 -0
- package/esm5/shared/gipi-components/popover/shared/popover-types.js +1 -0
- package/esm5/shared/gipi-components/radio-group/radio-group.component.js +155 -0
- package/esm5/shared/gipi-components/range-page/range-page.component.js +283 -0
- package/esm5/shared/gipi-components/range-slider/range-slider.component.js +364 -0
- package/esm5/shared/gipi-components/select/select.component.js +222 -0
- package/esm5/shared/gipi-components/select-button/select-button.component.js +206 -0
- package/esm5/shared/gipi-components/sidebar/container/container.component.js +96 -0
- package/esm5/shared/gipi-components/sidebar/sidenav/sidenav.component.js +267 -0
- package/esm5/shared/gipi-components/stepper/stepper.component.js +43 -0
- package/esm5/shared/gipi-components/table/components/table-body/table-body.component.js +209 -0
- package/esm5/shared/gipi-components/table/components/table-footer/table-footer.component.js +33 -0
- package/esm5/shared/gipi-components/table/components/table-header/table-header.component.js +155 -0
- package/esm5/shared/gipi-components/table/components/table-pagination/shared/paginate.pipe.js +123 -0
- package/esm5/shared/gipi-components/table/components/table-pagination/shared/pagination-controls.directive.js +228 -0
- package/esm5/shared/gipi-components/table/components/table-pagination/shared/pagination-instance.js +1 -0
- package/esm5/shared/gipi-components/table/components/table-pagination/shared/pagination.service.js +108 -0
- package/esm5/shared/gipi-components/table/components/table-pagination/table-pagination.component.js +116 -0
- package/esm5/shared/gipi-components/table/components/table-progress-bar/table-progress-bar.component.js +33 -0
- package/esm5/shared/gipi-components/table/models/pipe-transform.model.js +1 -0
- package/esm5/shared/gipi-components/table/models/sort.model.js +29 -0
- package/esm5/shared/gipi-components/table/models/sorted-column.model.js +2 -0
- package/esm5/shared/gipi-components/table/models/table-column-builder.model.js +106 -0
- package/esm5/shared/gipi-components/table/models/table-column.model.js +252 -0
- package/esm5/shared/gipi-components/table/table.component.js +161 -0
- package/esm5/shared/gipi-components/table/types/sort-direction.type.js +1 -0
- package/esm5/shared/gipi-components/table/types/sort.type.js +1 -0
- package/esm5/shared/gipi-components/template/template.directive.js +34 -0
- package/esm5/shared/gipi-components/toolbar/toolbar.component.js +56 -0
- package/esm5/shared/gipi-components/top-nav/top-nav.component.js +40 -0
- package/esm5/shared/gipi-components/user-profile/user-profile.component.js +115 -0
- package/esm5/shared/material.module.js +101 -0
- package/esm5/shared/shared.module.js +340 -0
- package/esm5/shared.js +36 -0
- package/fesm2015/gipisistemas-ng-core.js +25879 -0
- package/fesm2015/gipisistemas-ng-core.js.map +1 -0
- package/fesm5/gipisistemas-ng-core.js +27905 -0
- package/fesm5/gipisistemas-ng-core.js.map +1 -0
- package/gipi-components.d.ts +97 -0
- package/gipisistemas-ng-core.d.ts +20 -0
- package/gipisistemas-ng-core.metadata.json +1 -0
- package/package.json +31 -83
- package/public_api.d.ts +3 -0
- package/shared/api/generate-id-component.d.ts +3 -0
- package/shared/api/gipi-ng-config.d.ts +18 -0
- package/shared/api/overlay-message.d.ts +14 -0
- package/shared/api/throttle.d.ts +17 -0
- package/shared/api/translation.d.ts +45 -0
- package/shared/components/button/button.component.d.ts +26 -0
- package/shared/components/card/card.component.d.ts +10 -0
- package/shared/components/checkbox/checkbox.component.d.ts +20 -0
- package/shared/components/dom/connected-overlay-scroll-handler.d.ts +9 -0
- package/shared/components/dom/dom-handler.d.ts +74 -0
- package/shared/components/icon/icon.component.d.ts +9 -0
- package/shared/components/input/input.component.d.ts +52 -0
- package/shared/components/input-currency/input-currency.component.d.ts +29 -0
- package/shared/components/input-file/input-file.component.d.ts +28 -0
- package/shared/components/loading/loading.component.d.ts +4 -0
- package/shared/components/loading-overlay/loading-overlay.component.d.ts +6 -0
- package/shared/components/overlay-panel/overlay-panel.component.d.ts +67 -0
- package/shared/components/popover/popover-ref.d.ts +17 -0
- package/shared/components/popover/popover.component.d.ts +10 -0
- package/shared/components/popover/popover.service.d.ts +23 -0
- package/shared/components/radio-group-entity/radio-group-entity.component.d.ts +19 -0
- package/shared/components/radio-group-enum/radio-group-enum.component.d.ts +30 -0
- package/shared/components/select-button/select-button.component.d.ts +35 -0
- package/shared/components/select-entity/select-entity.component.d.ts +52 -0
- package/shared/components/select-entity-paged/select-entity-paged.component.d.ts +78 -0
- package/shared/components/select-entity-paged/shared/default-options.d.ts +25 -0
- package/shared/components/select-entity-paged/shared/select-button-add/select-button-add.component.d.ts +18 -0
- package/shared/components/select-entity-paged/shared/select-button-next-batch/select-button-next-batch.component.d.ts +16 -0
- package/shared/components/select-entity-paged/shared/select-no-entries-found.directive.d.ts +11 -0
- package/shared/components/select-entity-paged/shared/select-search/select-search.component.d.ts +119 -0
- package/shared/components/select-entity-paged/shared/select-search-clear.directive.d.ts +9 -0
- package/shared/components/select-enum/select-enum.component.d.ts +29 -0
- package/shared/components/select-month-period/select-month-period.component.d.ts +20 -0
- package/shared/components/slide-toggle/slide-toggle.component.d.ts +19 -0
- package/shared/components/stepper/stepper.component.d.ts +7 -0
- package/shared/components/tab/tab.component.d.ts +14 -0
- package/shared/components/tab-group/tab-group.component.d.ts +22 -0
- package/shared/components/table/table.component.d.ts +86 -0
- package/shared/components/table-scrolled/table-scrolled.component.d.ts +31 -0
- package/shared/components/textarea/textarea.component.d.ts +35 -0
- package/shared/directives/dynamic-tab.directive.d.ts +5 -0
- package/shared/directives/generic-template.directive.d.ts +8 -0
- package/shared/directives/input-select-infinite-scroll.directive.d.ts +35 -0
- package/shared/directives/lower-case.directive.d.ts +9 -0
- package/shared/directives/phone-mask.directive.d.ts +8 -0
- package/shared/directives/space-drop.directive.d.ts +9 -0
- package/shared/directives/upper-case.directive.d.ts +9 -0
- package/shared/gipi-components/abstract-form/abstract-form.component.d.ts +21 -0
- package/shared/gipi-components/action-row/action-row.component.d.ts +5 -0
- package/shared/gipi-components/badge/badge.component.d.ts +8 -0
- package/shared/gipi-components/button/button.component.d.ts +56 -0
- package/shared/gipi-components/chips/chips.component.d.ts +37 -0
- package/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.d.ts +11 -0
- package/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.d.ts +71 -0
- package/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range-selection-startegy.d.ts +11 -0
- package/shared/gipi-components/datepicker/date-range-picker/shared/max-range/max-range.directive.d.ts +6 -0
- package/shared/gipi-components/datepicker/date-range-picker/shared/preset-range/preset-range.component.d.ts +40 -0
- package/shared/gipi-components/datepicker/datepicker/datepicker.component.d.ts +49 -0
- package/shared/gipi-components/datepicker/datepicker.module.d.ts +2 -0
- package/shared/gipi-components/datepicker/mat-datepicker/calendar-body.d.ts +143 -0
- package/shared/gipi-components/datepicker/mat-datepicker/calendar.d.ts +152 -0
- package/shared/gipi-components/datepicker/mat-datepicker/date-range-input-parts.d.ts +102 -0
- package/shared/gipi-components/datepicker/mat-datepicker/date-range-input.d.ts +124 -0
- package/shared/gipi-components/datepicker/mat-datepicker/date-range-picker.d.ts +21 -0
- package/shared/gipi-components/datepicker/mat-datepicker/date-range-selection-strategy.d.ts +45 -0
- package/shared/gipi-components/datepicker/mat-datepicker/date-selection-model.d.ts +106 -0
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-animations.d.ts +16 -0
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-base.d.ts +209 -0
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-errors.d.ts +9 -0
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-input-base.d.ts +136 -0
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-input.d.ts +68 -0
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-intl.d.ts +38 -0
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker-toggle.d.ts +39 -0
- package/shared/gipi-components/datepicker/mat-datepicker/datepicker.d.ts +11 -0
- package/shared/gipi-components/datepicker/mat-datepicker/month-view.d.ts +120 -0
- package/shared/gipi-components/datepicker/mat-datepicker/multi-year-view.d.ts +85 -0
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-adapter.d.ts +225 -0
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/date-formats.d.ts +20 -0
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-adapter.d.ts +76 -0
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-formats.d.ts +9 -0
- package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/platform.d.ts +33 -0
- package/shared/gipi-components/datepicker/mat-datepicker/year-view.d.ts +97 -0
- package/shared/gipi-components/dom/connected-overlay-scroll-handler.d.ts +9 -0
- package/shared/gipi-components/dom/dom-handler.d.ts +85 -0
- package/shared/gipi-components/dropdown-menu/dropdown-menu.component.d.ts +36 -0
- package/shared/gipi-components/expansion-panel/expansion-panel.component.d.ts +16 -0
- package/shared/gipi-components/file-drag-and-drop/file-drag-and-drop.component.d.ts +43 -0
- package/shared/gipi-components/file-drag-and-drop/shared/file-drag-and-drop.directive.d.ts +13 -0
- package/shared/gipi-components/footer/footer.component.d.ts +5 -0
- package/shared/gipi-components/form-field/form-field.component.d.ts +61 -0
- package/shared/gipi-components/helpful-tip/helpful-tip.component.d.ts +13 -0
- package/shared/gipi-components/infinite-scroll/infinite-scroll.directive.d.ts +27 -0
- package/shared/gipi-components/input-checkbox/input-checkbox.component.d.ts +28 -0
- package/shared/gipi-components/input-currency/input-currency.component.d.ts +48 -0
- package/shared/gipi-components/input-monthpicker/input-monthpicker.component.d.ts +89 -0
- package/shared/gipi-components/input-select/input-select.component.d.ts +120 -0
- package/shared/gipi-components/input-select-enum/input-select-enum.component.d.ts +65 -0
- package/shared/gipi-components/input-select-listbox/input-select-listbox.component.d.ts +85 -0
- package/shared/gipi-components/input-select-paged/input-search/input-search.component.d.ts +77 -0
- package/shared/gipi-components/input-select-paged/input-select-paged.component.d.ts +66 -0
- package/shared/gipi-components/input-select-radio/input-select-radio.component.d.ts +53 -0
- package/shared/gipi-components/layout-grid/col.directive.d.ts +38 -0
- package/shared/gipi-components/layout-grid/row.directive.d.ts +28 -0
- package/shared/gipi-components/layout-grid/services/breakpoint.service.d.ts +30 -0
- package/shared/gipi-components/layout-grid/services/resize.service.d.ts +17 -0
- package/shared/gipi-components/month-year-picker/calendar-month-year/calendar-month-year.component.d.ts +37 -0
- package/shared/gipi-components/month-year-picker/mont-year-picker.module.d.ts +2 -0
- package/shared/gipi-components/month-year-picker/month-year-picker.component.d.ts +104 -0
- package/shared/gipi-components/notification/notification.component.d.ts +21 -0
- package/shared/gipi-components/novelties/novelties.component.d.ts +22 -0
- package/shared/gipi-components/overlay/overlay.component.d.ts +113 -0
- package/shared/gipi-components/overlay/shared/overlay-service.d.ts +6 -0
- package/shared/gipi-components/overlay/shared/overlay_options.d.ts +50 -0
- package/shared/gipi-components/password-requeriments/password-requeriments.component.d.ts +27 -0
- package/shared/gipi-components/popover/popover.component.d.ts +133 -0
- package/shared/gipi-components/popover/shared/popover-animations.d.ts +13 -0
- package/shared/gipi-components/popover/shared/popover-errors.d.ts +14 -0
- package/shared/gipi-components/popover/shared/popover-interfaces.d.ts +43 -0
- package/shared/gipi-components/popover/shared/popover-target.d.ts +5 -0
- package/shared/gipi-components/popover/shared/popover-trigger.d.ts +140 -0
- package/shared/gipi-components/popover/shared/popover-types.d.ts +4 -0
- package/shared/gipi-components/radio-group/radio-group.component.d.ts +33 -0
- package/shared/gipi-components/range-page/range-page.component.d.ts +55 -0
- package/shared/gipi-components/range-slider/range-slider.component.d.ts +57 -0
- package/shared/gipi-components/select/select.component.d.ts +45 -0
- package/shared/gipi-components/select-button/select-button.component.d.ts +39 -0
- package/shared/gipi-components/sidebar/container/container.component.d.ts +15 -0
- package/shared/gipi-components/sidebar/sidenav/sidenav.component.d.ts +40 -0
- package/shared/gipi-components/stepper/stepper.component.d.ts +8 -0
- package/shared/gipi-components/table/components/table-body/table-body.component.d.ts +36 -0
- package/shared/gipi-components/table/components/table-footer/table-footer.component.d.ts +5 -0
- package/shared/gipi-components/table/components/table-header/table-header.component.d.ts +28 -0
- package/shared/gipi-components/table/components/table-pagination/shared/paginate.pipe.d.ts +40 -0
- package/shared/gipi-components/table/components/table-pagination/shared/pagination-controls.directive.d.ts +81 -0
- package/shared/gipi-components/table/components/table-pagination/shared/pagination-instance.d.ts +24 -0
- package/shared/gipi-components/table/components/table-pagination/shared/pagination.service.d.ts +45 -0
- package/shared/gipi-components/table/components/table-pagination/table-pagination.component.d.ts +21 -0
- package/shared/gipi-components/table/components/table-progress-bar/table-progress-bar.component.d.ts +5 -0
- package/shared/gipi-components/table/models/pipe-transform.model.d.ts +3 -0
- package/shared/gipi-components/table/models/sort.model.d.ts +10 -0
- package/shared/gipi-components/table/models/sorted-column.model.d.ts +6 -0
- package/shared/gipi-components/table/models/table-column-builder.model.d.ts +52 -0
- package/shared/gipi-components/table/models/table-column.model.d.ts +74 -0
- package/shared/gipi-components/table/table.component.d.ts +37 -0
- package/shared/gipi-components/table/types/sort-direction.type.d.ts +1 -0
- package/shared/gipi-components/table/types/sort.type.d.ts +1 -0
- package/shared/gipi-components/template/template.directive.d.ts +8 -0
- package/shared/gipi-components/toolbar/toolbar.component.d.ts +11 -0
- package/shared/gipi-components/top-nav/top-nav.component.d.ts +8 -0
- package/shared/gipi-components/user-profile/user-profile.component.d.ts +24 -0
- package/shared/material.module.d.ts +2 -0
- package/shared/shared.module.d.ts +6 -0
- package/shared.d.ts +35 -0
- package/README.md +0 -38
- package/_ITSS-NG-CI-CD.yml +0 -53
- package/_ITSS-NG-CI-PR.yml +0 -53
- package/angular-cli.json +0 -42
- package/azure-pipelines.yml +0 -35
- package/projects/itss-ng/ng-package.json +0 -7
- package/projects/itss-ng/package.json +0 -25
@@ -0,0 +1,35 @@
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
3
|
+
export declare class TextareaComponent implements ControlValueAccessor, OnInit {
|
4
|
+
_elementRef: ElementRef;
|
5
|
+
name: string;
|
6
|
+
label: string;
|
7
|
+
placeholder: string;
|
8
|
+
disabled: boolean;
|
9
|
+
required: boolean;
|
10
|
+
maxlength: number;
|
11
|
+
rows: number;
|
12
|
+
appearance: string;
|
13
|
+
val: any;
|
14
|
+
get value(): any;
|
15
|
+
set value(val: any);
|
16
|
+
upperCase: boolean;
|
17
|
+
mentionConfiguration: {};
|
18
|
+
private _minHeight;
|
19
|
+
get minHeight(): string;
|
20
|
+
set minHeight(value: string);
|
21
|
+
private _height;
|
22
|
+
get height(): string;
|
23
|
+
set height(value: string);
|
24
|
+
private _maxHeight;
|
25
|
+
get maxHeight(): string;
|
26
|
+
set maxHeight(value: string);
|
27
|
+
constructor();
|
28
|
+
ngOnInit(): void;
|
29
|
+
onChange: any;
|
30
|
+
onTouch: any;
|
31
|
+
registerOnChange(fn: any): void;
|
32
|
+
registerOnTouched(fn: any): void;
|
33
|
+
writeValue(value: any): void;
|
34
|
+
checkUppercase(value: any): any;
|
35
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { AfterViewInit, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { MatSelect } from '@angular/material/select';
|
3
|
+
/**
|
4
|
+
* Esta diretiva foi reescrita utilizando se do projeto a seguir
|
5
|
+
* https://github.com/HaidarZ/ng-mat-select-infinite-scroll
|
6
|
+
*/
|
7
|
+
export declare class InputSelectInfiniteScrollDirective implements OnInit, OnDestroy, AfterViewInit {
|
8
|
+
private matSelect;
|
9
|
+
private ngZone;
|
10
|
+
/**
|
11
|
+
* A distância limite da parte inferior da lista de opções para chamar o evento
|
12
|
+
* infiniteScroll quando rolado. O valor limite pode ser em porcentagem ou em
|
13
|
+
* pixels. Por exemplo, use o valor de 10%para que o infiniteScrollevento de saída
|
14
|
+
* seja chamado quando o usuário precisar de 10% para chegar ao fundo.
|
15
|
+
*/
|
16
|
+
threshold: string;
|
17
|
+
/** O tempo limite antes de disparar o evento infiniteScroll */
|
18
|
+
debounceTime: number;
|
19
|
+
complete: boolean;
|
20
|
+
/** Emitido quando o scroller dentro do mat-select atinge a distância necessária */
|
21
|
+
infiniteScroll: EventEmitter<void>;
|
22
|
+
private _panel;
|
23
|
+
private _thrPx;
|
24
|
+
private _thrPc;
|
25
|
+
private _singleOptionHeight;
|
26
|
+
private _destroyed$;
|
27
|
+
constructor(matSelect: MatSelect, ngZone: NgZone);
|
28
|
+
ngOnInit(): void;
|
29
|
+
ngAfterViewInit(): void;
|
30
|
+
ngOnDestroy(): void;
|
31
|
+
evaluateThreshold(): void;
|
32
|
+
registerScrollListener(): void;
|
33
|
+
handleScrollEvent(event: any): void;
|
34
|
+
getSelectItemHeightPx(): number;
|
35
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
2
|
+
export declare class LowerCaseDirective {
|
3
|
+
ngControl: NgControl;
|
4
|
+
enabledLowerCase: boolean;
|
5
|
+
constructor(ngControl: NgControl);
|
6
|
+
ngModelChange(event: any): void;
|
7
|
+
keydown(event: any): void;
|
8
|
+
onInputChange(event: any): void;
|
9
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
2
|
+
export declare class PhoneMaskDirective {
|
3
|
+
ngControl: NgControl;
|
4
|
+
constructor(ngControl: NgControl);
|
5
|
+
onModelChange(event: any): void;
|
6
|
+
keydownBackspace(event: any): void;
|
7
|
+
onInputChange(event: any, backspace: any): void;
|
8
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
2
|
+
export declare class SpaceDropDirective {
|
3
|
+
ngControl: NgControl;
|
4
|
+
spaceDrop: boolean;
|
5
|
+
constructor(ngControl: NgControl);
|
6
|
+
ngModelChange(event: any): void;
|
7
|
+
keydown(event: any): void;
|
8
|
+
onInputChange(event: any): void;
|
9
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
2
|
+
export declare class UpperCaseDirective {
|
3
|
+
ngControl: NgControl;
|
4
|
+
enabledUpperCase: boolean;
|
5
|
+
constructor(ngControl: NgControl);
|
6
|
+
ngModelChange(event: any): void;
|
7
|
+
keydown(event: any): void;
|
8
|
+
onInputChange(event: any): void;
|
9
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { GIPIActionRowComponent } from '../action-row/action-row.component';
|
3
|
+
export declare class GIPIAbstractFormComponent implements OnInit {
|
4
|
+
attrId: string;
|
5
|
+
attrName: string;
|
6
|
+
get attrMargin(): "0" | "0 auto";
|
7
|
+
GIPIActionRowComponent: GIPIActionRowComponent;
|
8
|
+
set id(value: string);
|
9
|
+
set name(value: string);
|
10
|
+
flexDirection: 'row' | 'column';
|
11
|
+
gap: string | number;
|
12
|
+
alignItems: 'start' | 'center' | 'end' | 'flex-start' | 'flex-end' | 'stretch';
|
13
|
+
justifyContent: 'start' | 'center' | 'end' | 'flex-start' | 'flex-end' | 'space-around' | 'space-between' | 'space-evenly' | 'stretch';
|
14
|
+
padding: string | number;
|
15
|
+
dialog: boolean;
|
16
|
+
loading: boolean;
|
17
|
+
get getPadding(): string;
|
18
|
+
get getGap(): string;
|
19
|
+
constructor();
|
20
|
+
ngOnInit(): void;
|
21
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { GIPIPopoverTrigger } from '../popover/shared/popover-trigger';
|
3
|
+
declare type ButtonIconPosition = 'left' | 'right' | 'top' | 'bottom' | 'center';
|
4
|
+
export declare class GIPIButtonComponent implements OnInit, OnDestroy {
|
5
|
+
private _elementRef;
|
6
|
+
readonly isButtonPrimary: boolean;
|
7
|
+
readonly isButtonPrimaryIcon: boolean;
|
8
|
+
readonly isButtonSecondary: boolean;
|
9
|
+
readonly isButtonSecondaryIcon: boolean;
|
10
|
+
readonly isButtonTertiary: boolean;
|
11
|
+
readonly isButtonTertiaryIcon: boolean;
|
12
|
+
readonly isButtonLink: boolean;
|
13
|
+
readonly isButtonIcon: boolean;
|
14
|
+
readonly isButtonAction: boolean;
|
15
|
+
_overlayVisible: boolean;
|
16
|
+
popoverTrigger: GIPIPopoverTrigger;
|
17
|
+
id: string;
|
18
|
+
name: string;
|
19
|
+
type: 'button' | 'submit' | 'reset';
|
20
|
+
ariaLabel: string;
|
21
|
+
title: string;
|
22
|
+
label: string;
|
23
|
+
buttonClass: string;
|
24
|
+
buttonPadding: number | string;
|
25
|
+
iconWidth: number | string;
|
26
|
+
iconHeight: number | string;
|
27
|
+
icon: string;
|
28
|
+
svgIcon: string;
|
29
|
+
iconPos: ButtonIconPosition;
|
30
|
+
disabled: boolean;
|
31
|
+
loading: boolean;
|
32
|
+
notification: boolean;
|
33
|
+
tooltip: string;
|
34
|
+
popover: boolean;
|
35
|
+
overlay: boolean;
|
36
|
+
isForInput: boolean;
|
37
|
+
onShowOverlay: EventEmitter<void>;
|
38
|
+
onOpenPopover: EventEmitter<void>;
|
39
|
+
onClosePopover: EventEmitter<void>;
|
40
|
+
onClick: EventEmitter<MouseEvent>;
|
41
|
+
onFocus: EventEmitter<MouseEvent>;
|
42
|
+
onBlur: EventEmitter<MouseEvent>;
|
43
|
+
constructor(_elementRef: ElementRef);
|
44
|
+
ngOnInit(): void;
|
45
|
+
ngOnDestroy(): void;
|
46
|
+
getHostElement(): any;
|
47
|
+
private _hasHostAttributes;
|
48
|
+
toggleOverlay(): void;
|
49
|
+
showPopover(): void;
|
50
|
+
closePopover(): void;
|
51
|
+
handleClick(event: MouseEvent): void;
|
52
|
+
handleFocus(event: MouseEvent): void;
|
53
|
+
handleBlur(event: MouseEvent): void;
|
54
|
+
onResize(event: UIEvent): void;
|
55
|
+
}
|
56
|
+
export {};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
3
|
+
export declare class RemoveChange<T> {
|
4
|
+
chip: T;
|
5
|
+
index: number;
|
6
|
+
}
|
7
|
+
export declare class GIPIChipsComponent<T> implements OnInit, ControlValueAccessor {
|
8
|
+
private _changeDetectorRef;
|
9
|
+
elementRef: ElementRef;
|
10
|
+
private _name;
|
11
|
+
id: number | string;
|
12
|
+
name: string;
|
13
|
+
label: string;
|
14
|
+
labelRemoveAll: string;
|
15
|
+
ariaLabel: string;
|
16
|
+
disabled: boolean;
|
17
|
+
showRemovableAll: boolean;
|
18
|
+
showRemovable: boolean;
|
19
|
+
property: string;
|
20
|
+
private _value;
|
21
|
+
set value(value: T[]);
|
22
|
+
get value(): T[];
|
23
|
+
onFocus: EventEmitter<Event>;
|
24
|
+
onClick: EventEmitter<Event>;
|
25
|
+
removeChange: EventEmitter<RemoveChange<T>>;
|
26
|
+
removeAllChange: EventEmitter<void>;
|
27
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef);
|
28
|
+
ngOnInit(): void;
|
29
|
+
onChange: any;
|
30
|
+
onTouch: any;
|
31
|
+
writeValue(value: any): void;
|
32
|
+
registerOnChange(fn: any): void;
|
33
|
+
registerOnTouched(fn: any): void;
|
34
|
+
setDisabledState?(value: boolean): void;
|
35
|
+
removeChip(chip: T, index: number): void;
|
36
|
+
removeAllChips(): void;
|
37
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { MatDialogRef } from '@angular/material';
|
3
|
+
import { AppMessages } from '../../../core/app-messages';
|
4
|
+
import { ConfirmationDTO } from '../../../core/models/dto/confirmation.dto';
|
5
|
+
export declare class GIPIConfirmationDialogComponent implements OnInit {
|
6
|
+
dialogRef: MatDialogRef<GIPIConfirmationDialogComponent>;
|
7
|
+
confirmation: ConfirmationDTO;
|
8
|
+
messages: AppMessages;
|
9
|
+
constructor(dialogRef: MatDialogRef<GIPIConfirmationDialogComponent>, confirmation: ConfirmationDTO, messages: AppMessages);
|
10
|
+
ngOnInit(): void;
|
11
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
3
|
+
import { DateRange } from '../mat-datepicker/date-selection-model';
|
4
|
+
import { DateFilterFn } from '../mat-datepicker/datepicker-input-base';
|
5
|
+
import { MatDatepickerToggle } from '../mat-datepicker/datepicker-toggle';
|
6
|
+
import { PresetRanges } from './shared/preset-range/preset-range.component';
|
7
|
+
export declare let nextUniqueId: number;
|
8
|
+
export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
9
|
+
elementRef: ElementRef;
|
10
|
+
private _changeDetectorRef;
|
11
|
+
matDatepickerToggleRef: MatDatepickerToggle<Date>;
|
12
|
+
private _name;
|
13
|
+
private _startDate;
|
14
|
+
get startDate(): Date;
|
15
|
+
set startDate(value: Date);
|
16
|
+
private _endDate;
|
17
|
+
get endDate(): Date;
|
18
|
+
set endDate(value: Date);
|
19
|
+
idStartDate: string;
|
20
|
+
idEndDate: string;
|
21
|
+
nameStartDate: string;
|
22
|
+
nameEndDate: string;
|
23
|
+
label: string;
|
24
|
+
placeholderStartDate: string;
|
25
|
+
placeholderEndDate: string;
|
26
|
+
help: string;
|
27
|
+
separator: string;
|
28
|
+
private _customRangeLabel;
|
29
|
+
get customRangeLabel(): string;
|
30
|
+
set customRangeLabel(value: string);
|
31
|
+
private _ranges;
|
32
|
+
get ranges(): PresetRanges<Date>;
|
33
|
+
set ranges(value: PresetRanges<Date>);
|
34
|
+
private _maxRange;
|
35
|
+
get maxRange(): number;
|
36
|
+
set maxRange(value: number);
|
37
|
+
private _minDate;
|
38
|
+
get minDate(): Date;
|
39
|
+
set minDate(value: Date);
|
40
|
+
private _maxDate;
|
41
|
+
get maxDate(): Date;
|
42
|
+
set maxDate(value: Date);
|
43
|
+
private _required;
|
44
|
+
get required(): boolean;
|
45
|
+
set required(value: boolean);
|
46
|
+
private _readonly;
|
47
|
+
get readonly(): boolean;
|
48
|
+
set readonly(value: boolean);
|
49
|
+
private _disabled;
|
50
|
+
get disabled(): boolean;
|
51
|
+
set disabled(value: boolean);
|
52
|
+
private _dateFilter;
|
53
|
+
get dateFilter(): DateFilterFn<Date>;
|
54
|
+
set dateFilter(value: DateFilterFn<Date>);
|
55
|
+
private _value;
|
56
|
+
get value(): DateRange<Date>;
|
57
|
+
set value(value: DateRange<Date>);
|
58
|
+
onChange: Function;
|
59
|
+
onTouched: Function;
|
60
|
+
get formattedValue(): string;
|
61
|
+
constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
|
62
|
+
ngOnInit(): void;
|
63
|
+
ngOnDestroy(): void;
|
64
|
+
writeValue(value: DateRange<Date>): void;
|
65
|
+
registerOnChange(fn: Function): void;
|
66
|
+
registerOnTouched(fn: Function): void;
|
67
|
+
setDisabledState?(isDisabled: boolean): void;
|
68
|
+
onInputContentClick(event: MouseEvent): void;
|
69
|
+
generatedStartDate(valueDate: string, keyUp: boolean): void;
|
70
|
+
generatedEndDate(valueDate: string, keyUp: boolean): void;
|
71
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { MatDateRangeSelectionStrategy } from "../../../mat-datepicker/date-range-selection-strategy";
|
2
|
+
import { DateRange } from "../../../mat-datepicker/date-selection-model";
|
3
|
+
import { DateAdapter } from "../../../mat-datepicker/shared/adapter/date-adapter";
|
4
|
+
export declare class MaxRangeSelectionStrategy<D> implements MatDateRangeSelectionStrategy<D> {
|
5
|
+
private _dateAdapter;
|
6
|
+
start: any;
|
7
|
+
delta: number;
|
8
|
+
constructor(_dateAdapter: DateAdapter<D>);
|
9
|
+
selectionFinished(date: D, currentRange: DateRange<D>): DateRange<D>;
|
10
|
+
createPreview(activeDate: D | null, currentRange: DateRange<D>): DateRange<D>;
|
11
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { MatCalendar } from '../../../mat-datepicker/calendar';
|
3
|
+
import { MatDateRangeInput } from '../../../mat-datepicker/date-range-input';
|
4
|
+
import { MatDateRangePicker } from '../../../mat-datepicker/date-range-picker';
|
5
|
+
export interface PresetRanges<D> {
|
6
|
+
[index: string]: [D, D];
|
7
|
+
}
|
8
|
+
export declare class PresetRangeComponent implements OnInit, OnDestroy {
|
9
|
+
private _changeDetectorRef;
|
10
|
+
private readonly _destroy$;
|
11
|
+
rangesArray: string[];
|
12
|
+
selectedRange: string;
|
13
|
+
matDateRangeInput: MatDateRangeInput<Date>;
|
14
|
+
matCalendar: MatCalendar<Date>;
|
15
|
+
matDateRangePicker: MatDateRangePicker<Date>;
|
16
|
+
private _customRangeLabel;
|
17
|
+
get customRangeLabel(): string;
|
18
|
+
set customRangeLabel(value: string);
|
19
|
+
private _ranges;
|
20
|
+
get ranges(): PresetRanges<moment.Moment>;
|
21
|
+
set ranges(value: PresetRanges<moment.Moment>);
|
22
|
+
private _maxRange;
|
23
|
+
get maxRange(): number;
|
24
|
+
set maxRange(value: number);
|
25
|
+
private get _startDate();
|
26
|
+
private get _endDate();
|
27
|
+
private get _minDate();
|
28
|
+
private get _maxDate();
|
29
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
30
|
+
ngOnInit(): void;
|
31
|
+
ngOnDestroy(): void;
|
32
|
+
private _renderRanges;
|
33
|
+
private _loadSelectedRange;
|
34
|
+
private _calculateDateRange;
|
35
|
+
private _getValidDateOrNull;
|
36
|
+
private _isDateInstance;
|
37
|
+
private _isValid;
|
38
|
+
clickRange(event: MouseEvent, range: string): void;
|
39
|
+
isDisableRange(range: string): boolean;
|
40
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
3
|
+
import { DateFilterFn } from '../mat-datepicker/datepicker-input-base';
|
4
|
+
import { MatDatepickerToggle } from '../mat-datepicker/datepicker-toggle';
|
5
|
+
export declare class DatepickerComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
6
|
+
elementRef: ElementRef;
|
7
|
+
private _changeDetectorRef;
|
8
|
+
matDatepickerToggleRef: MatDatepickerToggle<Date>;
|
9
|
+
private _name;
|
10
|
+
id: string;
|
11
|
+
name: string;
|
12
|
+
label: string;
|
13
|
+
placeholder: string;
|
14
|
+
help: string;
|
15
|
+
private _minDate;
|
16
|
+
get minDate(): Date;
|
17
|
+
set minDate(value: Date);
|
18
|
+
private _maxDate;
|
19
|
+
get maxDate(): Date;
|
20
|
+
set maxDate(value: Date);
|
21
|
+
private _required;
|
22
|
+
get required(): boolean;
|
23
|
+
set required(value: boolean);
|
24
|
+
private _readonly;
|
25
|
+
get readonly(): boolean;
|
26
|
+
set readonly(value: boolean);
|
27
|
+
private _disabled;
|
28
|
+
get disabled(): boolean;
|
29
|
+
set disabled(value: boolean);
|
30
|
+
private _dateFilter;
|
31
|
+
get dateFilter(): DateFilterFn<Date>;
|
32
|
+
set dateFilter(value: DateFilterFn<Date>);
|
33
|
+
private _value;
|
34
|
+
get value(): Date;
|
35
|
+
set value(value: Date);
|
36
|
+
onChange: Function;
|
37
|
+
onTouched: Function;
|
38
|
+
get formattedValue(): string;
|
39
|
+
constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
|
40
|
+
ngOnInit(): void;
|
41
|
+
ngOnDestroy(): void;
|
42
|
+
writeValue(value: Date): void;
|
43
|
+
registerOnChange(fn: Function): void;
|
44
|
+
registerOnTouched(fn: Function): void;
|
45
|
+
setDisabledState?(isDisabled: boolean): void;
|
46
|
+
onInputContentClick(event: MouseEvent): void;
|
47
|
+
generatedDate(valueDate: string, keyUp: boolean): void;
|
48
|
+
validateMinAndMaxDate(valueDate: string): void;
|
49
|
+
}
|
@@ -0,0 +1,143 @@
|
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
4
|
+
*
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
7
|
+
*/
|
8
|
+
import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
9
|
+
/** Extra CSS classes that can be associated with a calendar cell. */
|
10
|
+
export declare type MatCalendarCellCssClasses = string | string[] | Set<string> | {
|
11
|
+
[key: string]: any;
|
12
|
+
};
|
13
|
+
/** Function that can generate the extra classes that should be added to a calendar cell. */
|
14
|
+
export declare type MatCalendarCellClassFunction<D> = (date: D, view: 'month' | 'year' | 'multi-year') => MatCalendarCellCssClasses;
|
15
|
+
/**
|
16
|
+
* An internal class that represents the data corresponding to a single calendar cell.
|
17
|
+
* @docs-private
|
18
|
+
*/
|
19
|
+
export declare class MatCalendarCell<D = any> {
|
20
|
+
value: number;
|
21
|
+
displayValue: string;
|
22
|
+
ariaLabel: string;
|
23
|
+
enabled: boolean;
|
24
|
+
cssClasses: MatCalendarCellCssClasses;
|
25
|
+
compareValue: number;
|
26
|
+
rawValue?: D;
|
27
|
+
constructor(value: number, displayValue: string, ariaLabel: string, enabled: boolean, cssClasses?: MatCalendarCellCssClasses, compareValue?: number, rawValue?: D);
|
28
|
+
}
|
29
|
+
/** Event emitted when a date inside the calendar is triggered as a result of a user action. */
|
30
|
+
export interface MatCalendarUserEvent<D> {
|
31
|
+
value: D;
|
32
|
+
event: Event;
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* An internal component used to display calendar data in a table.
|
36
|
+
* @docs-private
|
37
|
+
*/
|
38
|
+
export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
39
|
+
private _elementRef;
|
40
|
+
private _ngZone;
|
41
|
+
/**
|
42
|
+
* Used to skip the next focus event when rendering the preview range.
|
43
|
+
* We need a flag like this, because some browsers fire focus events asynchronously.
|
44
|
+
*/
|
45
|
+
private _skipNextFocus;
|
46
|
+
/** The label for the table. (e.g. "Jan 2017"). */
|
47
|
+
label: string;
|
48
|
+
/** The cells to display in the table. */
|
49
|
+
rows: MatCalendarCell[][];
|
50
|
+
/** The value in the table that corresponds to today. */
|
51
|
+
todayValue: number;
|
52
|
+
/** Start value of the selected date range. */
|
53
|
+
startValue: number;
|
54
|
+
/** End value of the selected date range. */
|
55
|
+
endValue: number;
|
56
|
+
/** The minimum number of free cells needed to fit the label in the first row. */
|
57
|
+
labelMinRequiredCells: number;
|
58
|
+
/** The number of columns in the table. */
|
59
|
+
numCols: number;
|
60
|
+
/** The cell number of the active cell in the table. */
|
61
|
+
activeCell: number;
|
62
|
+
/** Whether a range is being selected. */
|
63
|
+
isRange: boolean;
|
64
|
+
/**
|
65
|
+
* The aspect ratio (width / height) to use for the cells in the table. This aspect ratio will be
|
66
|
+
* maintained even as the table resizes.
|
67
|
+
*/
|
68
|
+
cellAspectRatio: number;
|
69
|
+
/** Start of the comparison range. */
|
70
|
+
comparisonStart: number | null;
|
71
|
+
/** End of the comparison range. */
|
72
|
+
comparisonEnd: number | null;
|
73
|
+
/** Start of the preview range. */
|
74
|
+
previewStart: number | null;
|
75
|
+
/** End of the preview range. */
|
76
|
+
previewEnd: number | null;
|
77
|
+
/** Emits when a new value is selected. */
|
78
|
+
readonly selectedValueChange: EventEmitter<MatCalendarUserEvent<number>>;
|
79
|
+
/** Emits when the preview has changed as a result of a user action. */
|
80
|
+
previewChange: EventEmitter<MatCalendarUserEvent<MatCalendarCell<any>>>;
|
81
|
+
/** The number of blank cells to put at the beginning for the first row. */
|
82
|
+
_firstRowOffset: number;
|
83
|
+
/** Padding for the individual date cells. */
|
84
|
+
_cellPadding: string;
|
85
|
+
/** Width of an individual cell. */
|
86
|
+
_cellWidth: string;
|
87
|
+
constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
|
88
|
+
/** Called when a cell is clicked. */
|
89
|
+
_cellClicked(cell: MatCalendarCell, event: MouseEvent): void;
|
90
|
+
/** Returns whether a cell should be marked as selected. */
|
91
|
+
_isSelected(value: number): boolean;
|
92
|
+
ngOnChanges(changes: SimpleChanges): void;
|
93
|
+
ngOnDestroy(): void;
|
94
|
+
/** Returns whether a cell is active. */
|
95
|
+
_isActiveCell(rowIndex: number, colIndex: number): boolean;
|
96
|
+
/** Focuses the active cell after the microtask queue is empty. */
|
97
|
+
_focusActiveCell(movePreview?: boolean): void;
|
98
|
+
/** Gets whether a value is the start of the main range. */
|
99
|
+
_isRangeStart(value: number): boolean;
|
100
|
+
/** Gets whether a value is the end of the main range. */
|
101
|
+
_isRangeEnd(value: number): boolean;
|
102
|
+
/** Gets whether a value is within the currently-selected range. */
|
103
|
+
_isInRange(value: number): boolean;
|
104
|
+
/** Gets whether a value is the start of the comparison range. */
|
105
|
+
_isComparisonStart(value: number): boolean;
|
106
|
+
/** Whether the cell is a start bridge cell between the main and comparison ranges. */
|
107
|
+
_isComparisonBridgeStart(value: number, rowIndex: number, colIndex: number): boolean;
|
108
|
+
/** Whether the cell is an end bridge cell between the main and comparison ranges. */
|
109
|
+
_isComparisonBridgeEnd(value: number, rowIndex: number, colIndex: number): boolean;
|
110
|
+
/** Gets whether a value is the end of the comparison range. */
|
111
|
+
_isComparisonEnd(value: number): boolean;
|
112
|
+
/** Gets whether a value is within the current comparison range. */
|
113
|
+
_isInComparisonRange(value: number): boolean;
|
114
|
+
/**
|
115
|
+
* Gets whether a value is the same as the start and end of the comparison range.
|
116
|
+
* For context, the functions that we use to determine whether something is the start/end of
|
117
|
+
* a range don't allow for the start and end to be on the same day, because we'd have to use
|
118
|
+
* much more specific CSS selectors to style them correctly in all scenarios. This is fine for
|
119
|
+
* the regular range, because when it happens, the selected styles take over and still show where
|
120
|
+
* the range would've been, however we don't have these selected styles for a comparison range.
|
121
|
+
* This function is used to apply a class that serves the same purpose as the one for selected
|
122
|
+
* dates, but it only applies in the context of a comparison range.
|
123
|
+
*/
|
124
|
+
_isComparisonIdentical(value: number): boolean;
|
125
|
+
/** Gets whether a value is the start of the preview range. */
|
126
|
+
_isPreviewStart(value: number): boolean;
|
127
|
+
/** Gets whether a value is the end of the preview range. */
|
128
|
+
_isPreviewEnd(value: number): boolean;
|
129
|
+
/** Gets whether a value is inside the preview range. */
|
130
|
+
_isInPreview(value: number): boolean;
|
131
|
+
/**
|
132
|
+
* Event handler for when the user enters an element
|
133
|
+
* inside the calendar body (e.g. by hovering in or focus).
|
134
|
+
*/
|
135
|
+
private _enterHandler;
|
136
|
+
/**
|
137
|
+
* Event handler for when the user's pointer leaves an element
|
138
|
+
* inside the calendar body (e.g. by hovering out or blurring).
|
139
|
+
*/
|
140
|
+
private _leaveHandler;
|
141
|
+
/** Finds the MatCalendarCell that corresponds to a DOM node. */
|
142
|
+
private _getCellFromElement;
|
143
|
+
}
|