@gipisistemas/ng-core 1.0.67 → 1.0.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,152 @@
|
|
|
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 { AfterContentInit, AfterViewChecked, AfterViewInit, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
|
|
9
|
+
import { Subject } from 'rxjs';
|
|
10
|
+
import { MatCalendarCellClassFunction, MatCalendarUserEvent } from './calendar-body';
|
|
11
|
+
import { DateRange } from './date-selection-model';
|
|
12
|
+
import { MatDatepickerIntl } from './datepicker-intl';
|
|
13
|
+
import { MatMonthView } from './month-view';
|
|
14
|
+
import { MatMultiYearView } from './multi-year-view';
|
|
15
|
+
import { DateAdapter } from './shared/adapter/date-adapter';
|
|
16
|
+
import { MatDateFormats } from './shared/adapter/date-formats';
|
|
17
|
+
import { MatYearView } from './year-view';
|
|
18
|
+
/**
|
|
19
|
+
* Possible views for the calendar.
|
|
20
|
+
* @docs-private
|
|
21
|
+
*/
|
|
22
|
+
export declare type MatCalendarView = 'month' | 'year' | 'multi-year';
|
|
23
|
+
/**
|
|
24
|
+
* A calendar that is used as part of the datepicker.
|
|
25
|
+
* @docs-private
|
|
26
|
+
*/
|
|
27
|
+
export declare class MatCalendar<D> implements AfterContentInit, AfterViewChecked, OnDestroy, OnChanges {
|
|
28
|
+
private _dateAdapter;
|
|
29
|
+
private _dateFormats;
|
|
30
|
+
private _changeDetectorRef;
|
|
31
|
+
matCalendarRef: MatCalendar<D>;
|
|
32
|
+
/** Created by GIPI Sistemas */
|
|
33
|
+
templatePresetRange: TemplateRef<any>;
|
|
34
|
+
private _intlChanges;
|
|
35
|
+
/**
|
|
36
|
+
* Used for scheduling that focus should be moved to the active cell on the next tick.
|
|
37
|
+
* We need to schedule it, rather than do it immediately, because we have to wait
|
|
38
|
+
* for Angular to re-evaluate the view children.
|
|
39
|
+
*/
|
|
40
|
+
private _moveFocusOnNextTick;
|
|
41
|
+
/** A date representing the period (month or year) to start the calendar in. */
|
|
42
|
+
get startAt(): D | null;
|
|
43
|
+
set startAt(value: D | null);
|
|
44
|
+
private _startAt;
|
|
45
|
+
/** Whether the calendar should be started in month or year view. */
|
|
46
|
+
startView: MatCalendarView;
|
|
47
|
+
/** The currently selected date. */
|
|
48
|
+
get selected(): DateRange<D> | D | null;
|
|
49
|
+
set selected(value: DateRange<D> | D | null);
|
|
50
|
+
private _selected;
|
|
51
|
+
/** The minimum selectable date. */
|
|
52
|
+
get minDate(): D | null;
|
|
53
|
+
set minDate(value: D | null);
|
|
54
|
+
private _minDate;
|
|
55
|
+
/** The maximum selectable date. */
|
|
56
|
+
get maxDate(): D | null;
|
|
57
|
+
set maxDate(value: D | null);
|
|
58
|
+
private _maxDate;
|
|
59
|
+
/** Function used to filter which dates are selectable. */
|
|
60
|
+
dateFilter: (date: D) => boolean;
|
|
61
|
+
/** Function that can be used to add custom CSS classes to dates. */
|
|
62
|
+
dateClass: MatCalendarCellClassFunction<D>;
|
|
63
|
+
/** Start of the comparison range. */
|
|
64
|
+
comparisonStart: D | null;
|
|
65
|
+
/** End of the comparison range. */
|
|
66
|
+
comparisonEnd: D | null;
|
|
67
|
+
/**
|
|
68
|
+
* Emits when the currently selected date changes.
|
|
69
|
+
* @breaking-change 11.0.0 Emitted value to change to `D | null`.
|
|
70
|
+
*/
|
|
71
|
+
readonly selectedChange: EventEmitter<D>;
|
|
72
|
+
/**
|
|
73
|
+
* Emits the year chosen in multiyear view.
|
|
74
|
+
* This doesn't imply a change on the selected date.
|
|
75
|
+
*/
|
|
76
|
+
readonly yearSelected: EventEmitter<D>;
|
|
77
|
+
/**
|
|
78
|
+
* Emits the month chosen in year view.
|
|
79
|
+
* This doesn't imply a change on the selected date.
|
|
80
|
+
*/
|
|
81
|
+
readonly monthSelected: EventEmitter<D>;
|
|
82
|
+
/** Emits when any date is selected. */
|
|
83
|
+
readonly _userSelection: EventEmitter<MatCalendarUserEvent<D | null>>;
|
|
84
|
+
/** Reference to the current month view component. */
|
|
85
|
+
monthView: MatMonthView<D>;
|
|
86
|
+
/** Reference to the current year view component. */
|
|
87
|
+
yearView: MatYearView<D>;
|
|
88
|
+
/** Reference to the current multi-year view component. */
|
|
89
|
+
multiYearView: MatMultiYearView<D>;
|
|
90
|
+
/**
|
|
91
|
+
* The current active date. This determines which time period is shown and which date is
|
|
92
|
+
* highlighted when using keyboard navigation.
|
|
93
|
+
*/
|
|
94
|
+
get activeDate(): D;
|
|
95
|
+
set activeDate(value: D);
|
|
96
|
+
private _clampedActiveDate;
|
|
97
|
+
/** Whether the calendar is in month view. */
|
|
98
|
+
get currentView(): MatCalendarView;
|
|
99
|
+
set currentView(value: MatCalendarView);
|
|
100
|
+
private _currentView;
|
|
101
|
+
/**
|
|
102
|
+
* Emits whenever there is a state change that the header may need to respond to.
|
|
103
|
+
*/
|
|
104
|
+
stateChanges: Subject<void>;
|
|
105
|
+
constructor(_intl: MatDatepickerIntl, _dateAdapter: DateAdapter<D>, _dateFormats: MatDateFormats, _changeDetectorRef: ChangeDetectorRef);
|
|
106
|
+
ngAfterContentInit(): void;
|
|
107
|
+
ngAfterViewChecked(): void;
|
|
108
|
+
ngOnDestroy(): void;
|
|
109
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
110
|
+
focusActiveCell(): void;
|
|
111
|
+
/** Updates today's date after an update of the active date */
|
|
112
|
+
updateTodaysDate(): void;
|
|
113
|
+
/** Handles date selection in the month view. */
|
|
114
|
+
_dateSelected(event: MatCalendarUserEvent<D | null>): void;
|
|
115
|
+
/** Handles year selection in the multiyear view. */
|
|
116
|
+
_yearSelectedInMultiYearView(normalizedYear: D): void;
|
|
117
|
+
/** Handles month selection in the year view. */
|
|
118
|
+
_monthSelectedInYearView(normalizedMonth: D): void;
|
|
119
|
+
/** Handles year/month selection in the multi-year/year views. */
|
|
120
|
+
_goToDateInView(date: D, view: 'month' | 'year' | 'multi-year'): void;
|
|
121
|
+
/** Returns the component instance that corresponds to the current calendar view. */
|
|
122
|
+
private _getCurrentViewComponent;
|
|
123
|
+
}
|
|
124
|
+
/** Default header for MatCalendar */
|
|
125
|
+
export declare class MatCalendarHeader<D> implements AfterViewInit {
|
|
126
|
+
private _intl;
|
|
127
|
+
private _dateAdapter;
|
|
128
|
+
private _dateFormats;
|
|
129
|
+
private _changeDetectorRef;
|
|
130
|
+
matCalendar: MatCalendar<D>;
|
|
131
|
+
constructor(_intl: MatDatepickerIntl, _dateAdapter: DateAdapter<D>, _dateFormats: MatDateFormats, _changeDetectorRef: ChangeDetectorRef);
|
|
132
|
+
ngAfterViewInit(): void;
|
|
133
|
+
/** The label for the current matCalendar view. */
|
|
134
|
+
get periodButtonText(): string;
|
|
135
|
+
get periodButtonLabel(): string;
|
|
136
|
+
/** The label for the previous button. */
|
|
137
|
+
get prevButtonLabel(): string;
|
|
138
|
+
/** The label for the next button. */
|
|
139
|
+
get nextButtonLabel(): string;
|
|
140
|
+
/** Handles user clicks on the period label. */
|
|
141
|
+
currentPeriodClicked(): void;
|
|
142
|
+
/** Handles user clicks on the previous button. */
|
|
143
|
+
previousClicked(): void;
|
|
144
|
+
/** Handles user clicks on the next button. */
|
|
145
|
+
nextClicked(): void;
|
|
146
|
+
/** Whether the previous period button is enabled. */
|
|
147
|
+
previousEnabled(): boolean;
|
|
148
|
+
/** Whether the next period button is enabled. */
|
|
149
|
+
nextEnabled(): boolean;
|
|
150
|
+
/** Whether the two dates represent the same view in the current view mode (month or year). */
|
|
151
|
+
private _isSameView;
|
|
152
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 { DoCheck, ElementRef, InjectionToken, Injector, OnInit } from '@angular/core';
|
|
9
|
+
import { FormGroupDirective, NgControl, NgForm, ValidatorFn } from '@angular/forms';
|
|
10
|
+
import { CanUpdateErrorState, CanUpdateErrorStateCtor, ErrorStateMatcher, MatDateFormats } from '@angular/material/core';
|
|
11
|
+
import { DateRange, DateSelectionModelChange } from './date-selection-model';
|
|
12
|
+
import { DateFilterFn, MatDatepickerInputBase } from './datepicker-input-base';
|
|
13
|
+
import { DateAdapter } from './shared/adapter/date-adapter';
|
|
14
|
+
/** Parent component that should be wrapped around `MatStartDate` and `MatEndDate`. */
|
|
15
|
+
export interface MatDateRangeInputParent<D> {
|
|
16
|
+
id: string;
|
|
17
|
+
min: D | null;
|
|
18
|
+
max: D | null;
|
|
19
|
+
dateFilter: DateFilterFn<D>;
|
|
20
|
+
rangePicker: {
|
|
21
|
+
opened: boolean;
|
|
22
|
+
id: string;
|
|
23
|
+
};
|
|
24
|
+
_startInput: MatDateRangeInputPartBase<D>;
|
|
25
|
+
_endInput: MatDateRangeInputPartBase<D>;
|
|
26
|
+
_groupDisabled: boolean;
|
|
27
|
+
_handleChildValueChange(): void;
|
|
28
|
+
_openDatepicker(): void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Used to provide the date range input wrapper component
|
|
32
|
+
* to the parts without circular dependencies.
|
|
33
|
+
*/
|
|
34
|
+
export declare const MAT_DATE_RANGE_INPUT_PARENT: InjectionToken<MatDateRangeInputParent<unknown>>;
|
|
35
|
+
/**
|
|
36
|
+
* Base class for the individual inputs that can be projected inside a `mat-date-range-input`.
|
|
37
|
+
*/
|
|
38
|
+
declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBase<DateRange<D>> implements OnInit, DoCheck {
|
|
39
|
+
_rangeInput: MatDateRangeInputParent<D>;
|
|
40
|
+
_defaultErrorStateMatcher: ErrorStateMatcher;
|
|
41
|
+
private _injector;
|
|
42
|
+
_parentForm: NgForm;
|
|
43
|
+
_parentFormGroup: FormGroupDirective;
|
|
44
|
+
/** @docs-private */
|
|
45
|
+
ngControl: NgControl;
|
|
46
|
+
/** @docs-private */
|
|
47
|
+
abstract updateErrorState(): void;
|
|
48
|
+
protected abstract _validator: ValidatorFn | null;
|
|
49
|
+
protected abstract _assignValueToModel(value: D | null): void;
|
|
50
|
+
protected abstract _getValueFromModel(modelValue: DateRange<D>): D | null;
|
|
51
|
+
constructor(_rangeInput: MatDateRangeInputParent<D>, elementRef: ElementRef<HTMLInputElement>, _defaultErrorStateMatcher: ErrorStateMatcher, _injector: Injector, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats);
|
|
52
|
+
ngOnInit(): void;
|
|
53
|
+
ngDoCheck(): void;
|
|
54
|
+
/** Gets whether the input is empty. */
|
|
55
|
+
isEmpty(): boolean;
|
|
56
|
+
/** Gets the placeholder of the input. */
|
|
57
|
+
_getPlaceholder(): string;
|
|
58
|
+
/** Focuses the input. */
|
|
59
|
+
focus(): void;
|
|
60
|
+
/** Handles `input` events on the input element. */
|
|
61
|
+
_onInput(value: string): void;
|
|
62
|
+
/** Opens the datepicker associated with the input. */
|
|
63
|
+
protected _openPopup(): void;
|
|
64
|
+
/** Gets the minimum date from the range input. */
|
|
65
|
+
_getMinDate(): D;
|
|
66
|
+
/** Gets the maximum date from the range input. */
|
|
67
|
+
_getMaxDate(): D;
|
|
68
|
+
/** Gets the date filter function from the range input. */
|
|
69
|
+
protected _getDateFilter(): DateFilterFn<D>;
|
|
70
|
+
protected _outsideValueChanged: () => void;
|
|
71
|
+
protected _parentDisabled(): boolean;
|
|
72
|
+
}
|
|
73
|
+
declare const _MatDateRangeInputBase: CanUpdateErrorStateCtor & typeof MatDateRangeInputPartBase;
|
|
74
|
+
/** Input for entering the start date in a `mat-date-range-input`. */
|
|
75
|
+
export declare class MatStartDate<D> extends _MatDateRangeInputBase<D> implements CanUpdateErrorState, DoCheck, OnInit {
|
|
76
|
+
/** Validator that checks that the start date isn't after the end date. */
|
|
77
|
+
private _startValidator;
|
|
78
|
+
constructor(rangeInput: MatDateRangeInputParent<D>, elementRef: ElementRef<HTMLInputElement>, defaultErrorStateMatcher: ErrorStateMatcher, injector: Injector, parentForm: NgForm, parentFormGroup: FormGroupDirective, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats);
|
|
79
|
+
ngOnInit(): void;
|
|
80
|
+
ngDoCheck(): void;
|
|
81
|
+
protected _validator: ValidatorFn;
|
|
82
|
+
protected _getValueFromModel(modelValue: DateRange<D>): D;
|
|
83
|
+
protected _assignValueToModel(value: D | null): void;
|
|
84
|
+
protected _canEmitChangeEvent: (event: DateSelectionModelChange<DateRange<D>>) => boolean;
|
|
85
|
+
protected _formatValue(value: D | null): void;
|
|
86
|
+
/** Gets the value that should be used when mirroring the input's size. */
|
|
87
|
+
getMirrorValue(): string;
|
|
88
|
+
}
|
|
89
|
+
/** Input for entering the end date in a `mat-date-range-input`. */
|
|
90
|
+
export declare class MatEndDate<D> extends _MatDateRangeInputBase<D> implements CanUpdateErrorState, DoCheck, OnInit {
|
|
91
|
+
/** Validator that checks that the end date isn't before the start date. */
|
|
92
|
+
private _endValidator;
|
|
93
|
+
constructor(rangeInput: MatDateRangeInputParent<D>, elementRef: ElementRef<HTMLInputElement>, defaultErrorStateMatcher: ErrorStateMatcher, injector: Injector, parentForm: NgForm, parentFormGroup: FormGroupDirective, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats);
|
|
94
|
+
ngOnInit(): void;
|
|
95
|
+
ngDoCheck(): void;
|
|
96
|
+
protected _validator: ValidatorFn;
|
|
97
|
+
protected _getValueFromModel(modelValue: DateRange<D>): D;
|
|
98
|
+
protected _assignValueToModel(value: D | null): void;
|
|
99
|
+
protected _canEmitChangeEvent: (event: DateSelectionModelChange<DateRange<D>>) => boolean;
|
|
100
|
+
_onKeydown(event: KeyboardEvent): void;
|
|
101
|
+
}
|
|
102
|
+
export {};
|
|
@@ -0,0 +1,124 @@
|
|
|
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 { AfterContentInit, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
9
|
+
import { ControlContainer, NgControl } from '@angular/forms';
|
|
10
|
+
import { ThemePalette } from '@angular/material/core';
|
|
11
|
+
import { MatFormField, MatFormFieldControl } from '@angular/material/form-field';
|
|
12
|
+
import { Subject } from 'rxjs';
|
|
13
|
+
import { MatDateRangeInputParent, MatEndDate, MatStartDate } from './date-range-input-parts';
|
|
14
|
+
import { MatDateRangePicker, MatDateRangePickerInput } from './date-range-picker';
|
|
15
|
+
import { DateRange } from './date-selection-model';
|
|
16
|
+
import { MatDatepickerControl } from './datepicker-base';
|
|
17
|
+
import { DateFilterFn } from './datepicker-input-base';
|
|
18
|
+
import { DateAdapter } from './shared/adapter/date-adapter';
|
|
19
|
+
export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRange<D>>, MatDatepickerControl<D>, MatDateRangeInputParent<D>, MatDateRangePickerInput<D>, AfterContentInit, OnChanges, OnDestroy {
|
|
20
|
+
private _changeDetectorRef;
|
|
21
|
+
private _elementRef;
|
|
22
|
+
private _dateAdapter;
|
|
23
|
+
private _formField?;
|
|
24
|
+
/** Current value of the range input. */
|
|
25
|
+
get value(): DateRange<D>;
|
|
26
|
+
/** Unique ID for the input. */
|
|
27
|
+
id: string;
|
|
28
|
+
/** Whether the control is focused. */
|
|
29
|
+
focused: boolean;
|
|
30
|
+
/** Whether the control's label should float. */
|
|
31
|
+
get shouldLabelFloat(): boolean;
|
|
32
|
+
/** Name of the form control. */
|
|
33
|
+
controlType: string;
|
|
34
|
+
/**
|
|
35
|
+
* Implemented as a part of `MatFormFieldControl`.
|
|
36
|
+
* Set the placeholder attribute on `matStartDate` and `matEndDate`.
|
|
37
|
+
* @docs-private
|
|
38
|
+
*/
|
|
39
|
+
get placeholder(): string;
|
|
40
|
+
/** The range picker that this input is associated with. */
|
|
41
|
+
get rangePicker(): MatDateRangePicker<D>;
|
|
42
|
+
set rangePicker(rangePicker: MatDateRangePicker<D>);
|
|
43
|
+
private _rangePicker;
|
|
44
|
+
/** Whether the input is required. */
|
|
45
|
+
get required(): boolean;
|
|
46
|
+
set required(value: boolean);
|
|
47
|
+
private _required;
|
|
48
|
+
/** Function that can be used to filter out dates within the date range picker. */
|
|
49
|
+
get dateFilter(): DateFilterFn<D>;
|
|
50
|
+
set dateFilter(value: DateFilterFn<D>);
|
|
51
|
+
private _dateFilter;
|
|
52
|
+
/** The minimum valid date. */
|
|
53
|
+
get min(): D | null;
|
|
54
|
+
set min(value: D | null);
|
|
55
|
+
private _min;
|
|
56
|
+
/** The maximum valid date. */
|
|
57
|
+
get max(): D | null;
|
|
58
|
+
set max(value: D | null);
|
|
59
|
+
private _max;
|
|
60
|
+
/** Whether the input is disabled. */
|
|
61
|
+
get disabled(): boolean;
|
|
62
|
+
set disabled(value: boolean);
|
|
63
|
+
_groupDisabled: boolean;
|
|
64
|
+
/** Whether the input is in an error state. */
|
|
65
|
+
get errorState(): boolean;
|
|
66
|
+
/** Whether the datepicker input is empty. */
|
|
67
|
+
get empty(): boolean;
|
|
68
|
+
/** Value for the `aria-describedby` attribute of the inputs. */
|
|
69
|
+
_ariaDescribedBy: string | null;
|
|
70
|
+
/** Date selection model currently registered with the input. */
|
|
71
|
+
private _model;
|
|
72
|
+
/** Separator text to be shown between the inputs. */
|
|
73
|
+
separator: string;
|
|
74
|
+
/** Start of the comparison range that should be shown in the calendar. */
|
|
75
|
+
comparisonStart: D | null;
|
|
76
|
+
/** End of the comparison range that should be shown in the calendar. */
|
|
77
|
+
comparisonEnd: D | null;
|
|
78
|
+
_startInput: MatStartDate<D>;
|
|
79
|
+
_endInput: MatEndDate<D>;
|
|
80
|
+
/**
|
|
81
|
+
* Implemented as a part of `MatFormFieldControl`.
|
|
82
|
+
* TODO(crisbeto): change type to `AbstractControlDirective` after #18206 lands.
|
|
83
|
+
* @docs-private
|
|
84
|
+
*/
|
|
85
|
+
ngControl: NgControl | null;
|
|
86
|
+
/** Emits when the input's state has changed. */
|
|
87
|
+
stateChanges: Subject<void>;
|
|
88
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, control: ControlContainer, _dateAdapter: DateAdapter<D>, _formField?: MatFormField);
|
|
89
|
+
/**
|
|
90
|
+
* Implemented as a part of `MatFormFieldControl`.
|
|
91
|
+
* @docs-private
|
|
92
|
+
*/
|
|
93
|
+
setDescribedByIds(ids: string[]): void;
|
|
94
|
+
/**
|
|
95
|
+
* Implemented as a part of `MatFormFieldControl`.
|
|
96
|
+
* @docs-private
|
|
97
|
+
*/
|
|
98
|
+
onContainerClick(): void;
|
|
99
|
+
ngAfterContentInit(): void;
|
|
100
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
101
|
+
ngOnDestroy(): void;
|
|
102
|
+
/** Gets the date at which the calendar should start. */
|
|
103
|
+
getStartValue(): D | null;
|
|
104
|
+
/** Gets the input's theme palette. */
|
|
105
|
+
getThemePalette(): ThemePalette;
|
|
106
|
+
/** Gets the element to which the calendar overlay should be attached. */
|
|
107
|
+
getConnectedOverlayOrigin(): ElementRef;
|
|
108
|
+
/** Gets the value that is used to mirror the state input. */
|
|
109
|
+
_getInputMirrorValue(): string;
|
|
110
|
+
/** Whether the input placeholders should be hidden. */
|
|
111
|
+
_shouldHidePlaceholders(): boolean;
|
|
112
|
+
/** Handles the value in one of the child inputs changing. */
|
|
113
|
+
_handleChildValueChange(): void;
|
|
114
|
+
/** Opens the date range picker associated with the input. */
|
|
115
|
+
_openDatepicker(): void;
|
|
116
|
+
/** Whether the separate text should be hidden. */
|
|
117
|
+
_shouldHideSeparator(): boolean;
|
|
118
|
+
/** Gets the value for the `aria-labelledby` attribute of the inputs. */
|
|
119
|
+
_getAriaLabelledby(): string;
|
|
120
|
+
/** Re-runs the validators on the start/end inputs. */
|
|
121
|
+
private _revalidate;
|
|
122
|
+
/** Registers the current date selection model with the start/end inputs. */
|
|
123
|
+
private _registerModel;
|
|
124
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { DateRange } from './date-selection-model';
|
|
9
|
+
import { MatDatepickerBase, MatDatepickerContent, MatDatepickerControl } from './datepicker-base';
|
|
10
|
+
/**
|
|
11
|
+
* Input that can be associated with a date range picker.
|
|
12
|
+
* @docs-private
|
|
13
|
+
*/
|
|
14
|
+
export interface MatDateRangePickerInput<D> extends MatDatepickerControl<D> {
|
|
15
|
+
comparisonStart: D | null;
|
|
16
|
+
comparisonEnd: D | null;
|
|
17
|
+
}
|
|
18
|
+
/** Component responsible for managing the date range picker popup/dialog. */
|
|
19
|
+
export declare class MatDateRangePicker<D> extends MatDatepickerBase<MatDateRangePickerInput<D>, DateRange<D>, D> {
|
|
20
|
+
protected _forwardContentValues(instance: MatDatepickerContent<DateRange<D>, D>): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { FactoryProvider, InjectionToken } from '@angular/core';
|
|
9
|
+
import { DateRange } from './date-selection-model';
|
|
10
|
+
import { DateAdapter } from './shared/adapter/date-adapter';
|
|
11
|
+
/** Injection token used to customize the date range selection behavior. */
|
|
12
|
+
export declare const MAT_DATE_RANGE_SELECTION_STRATEGY: InjectionToken<MatDateRangeSelectionStrategy<any>>;
|
|
13
|
+
/** Object that can be provided in order to customize the date range selection behavior. */
|
|
14
|
+
export interface MatDateRangeSelectionStrategy<D> {
|
|
15
|
+
/**
|
|
16
|
+
* Called when the user has finished selecting a value.
|
|
17
|
+
* @param date Date that was selected. Will be null if the user cleared the selection.
|
|
18
|
+
* @param currentRange Range that is currently show in the calendar.
|
|
19
|
+
* @param event DOM event that triggered the selection. Currently only corresponds to a `click`
|
|
20
|
+
* event, but it may get expanded in the future.
|
|
21
|
+
*/
|
|
22
|
+
selectionFinished(date: D | null, currentRange: DateRange<D>, event: Event): DateRange<D>;
|
|
23
|
+
/**
|
|
24
|
+
* Called when the user has activated a new date (e.g. by hovering over
|
|
25
|
+
* it or moving focus) and the calendar tries to display a date range.
|
|
26
|
+
*
|
|
27
|
+
* @param activeDate Date that the user has activated. Will be null if the user moved
|
|
28
|
+
* focus to an element that's no a calendar cell.
|
|
29
|
+
* @param currentRange Range that is currently shown in the calendar.
|
|
30
|
+
* @param event DOM event that caused the preview to be changed. Will be either a
|
|
31
|
+
* `mouseenter`/`mouseleave` or `focus`/`blur` depending on how the user is navigating.
|
|
32
|
+
*/
|
|
33
|
+
createPreview(activeDate: D | null, currentRange: DateRange<D>, event: Event): DateRange<D>;
|
|
34
|
+
}
|
|
35
|
+
/** Provides the default date range selection behavior. */
|
|
36
|
+
export declare class DefaultMatCalendarRangeStrategy<D> implements MatDateRangeSelectionStrategy<D> {
|
|
37
|
+
private _dateAdapter;
|
|
38
|
+
constructor(_dateAdapter: DateAdapter<D>);
|
|
39
|
+
selectionFinished(date: D, currentRange: DateRange<D>): DateRange<D>;
|
|
40
|
+
createPreview(activeDate: D | null, currentRange: DateRange<D>): DateRange<D>;
|
|
41
|
+
}
|
|
42
|
+
/** @docs-private */
|
|
43
|
+
export declare function MAT_CALENDAR_RANGE_STRATEGY_PROVIDER_FACTORY(parent: MatDateRangeSelectionStrategy<unknown>, adapter: DateAdapter<unknown>): MatDateRangeSelectionStrategy<unknown>;
|
|
44
|
+
/** @docs-private */
|
|
45
|
+
export declare const MAT_CALENDAR_RANGE_STRATEGY_PROVIDER: FactoryProvider;
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { FactoryProvider, OnDestroy } from '@angular/core';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
import { DateAdapter } from './shared/adapter/date-adapter';
|
|
11
|
+
/** A class representing a range of dates. */
|
|
12
|
+
export declare class DateRange<D> {
|
|
13
|
+
/** The start date of the range. */
|
|
14
|
+
readonly start: D | null;
|
|
15
|
+
/** The end date of the range. */
|
|
16
|
+
readonly end: D | null;
|
|
17
|
+
/**
|
|
18
|
+
* Ensures that objects with a `start` and `end` property can't be assigned to a variable that
|
|
19
|
+
* expects a `DateRange`
|
|
20
|
+
*/
|
|
21
|
+
private _disableStructuralEquivalency;
|
|
22
|
+
constructor(
|
|
23
|
+
/** The start date of the range. */
|
|
24
|
+
start: D | null,
|
|
25
|
+
/** The end date of the range. */
|
|
26
|
+
end: D | null);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Conditionally picks the date type, if a DateRange is passed in.
|
|
30
|
+
* @docs-private
|
|
31
|
+
*/
|
|
32
|
+
export declare type ExtractDateTypeFromSelection<T> = T extends DateRange<infer D> ? D : NonNullable<T>;
|
|
33
|
+
/** Event emitted by the date selection model when its selection changes. */
|
|
34
|
+
export interface DateSelectionModelChange<S> {
|
|
35
|
+
/** New value for the selection. */
|
|
36
|
+
selection: S;
|
|
37
|
+
/** Object that triggered the change. */
|
|
38
|
+
source: unknown;
|
|
39
|
+
}
|
|
40
|
+
/** A selection model containing a date selection. */
|
|
41
|
+
export declare abstract class MatDateSelectionModel<S, D = any> implements OnDestroy {
|
|
42
|
+
/** The current selection. */
|
|
43
|
+
readonly selection: S;
|
|
44
|
+
protected _adapter: DateAdapter<D>;
|
|
45
|
+
private _selectionChanged;
|
|
46
|
+
/** Emits when the selection has changed. */
|
|
47
|
+
selectionChanged: Observable<DateSelectionModelChange<S>>;
|
|
48
|
+
protected constructor(
|
|
49
|
+
/** The current selection. */
|
|
50
|
+
selection: S, _adapter: DateAdapter<D>);
|
|
51
|
+
/**
|
|
52
|
+
* Updates the current selection in the model.
|
|
53
|
+
* @param value New selection that should be assigned.
|
|
54
|
+
* @param source Object that triggered the selection change.
|
|
55
|
+
*/
|
|
56
|
+
updateSelection(value: S, source: unknown): void;
|
|
57
|
+
ngOnDestroy(): void;
|
|
58
|
+
protected _isValidDateInstance(date: D): boolean;
|
|
59
|
+
/** Adds a date to the current selection. */
|
|
60
|
+
abstract add(date: D | null): void;
|
|
61
|
+
/** Checks whether the current selection is valid. */
|
|
62
|
+
abstract isValid(): boolean;
|
|
63
|
+
/** Checks whether the current selection is complete. */
|
|
64
|
+
abstract isComplete(): boolean;
|
|
65
|
+
}
|
|
66
|
+
/** A selection model that contains a single date. */
|
|
67
|
+
export declare class MatSingleDateSelectionModel<D> extends MatDateSelectionModel<D | null, D> {
|
|
68
|
+
constructor(adapter: DateAdapter<D>);
|
|
69
|
+
/**
|
|
70
|
+
* Adds a date to the current selection. In the case of a single date selection, the added date
|
|
71
|
+
* simply overwrites the previous selection
|
|
72
|
+
*/
|
|
73
|
+
add(date: D | null): void;
|
|
74
|
+
/** Checks whether the current selection is valid. */
|
|
75
|
+
isValid(): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Checks whether the current selection is complete. In the case of a single date selection, this
|
|
78
|
+
* is true if the current selection is not null.
|
|
79
|
+
*/
|
|
80
|
+
isComplete(): boolean;
|
|
81
|
+
}
|
|
82
|
+
/** A selection model that contains a date range. */
|
|
83
|
+
export declare class MatRangeDateSelectionModel<D> extends MatDateSelectionModel<DateRange<D>, D> {
|
|
84
|
+
constructor(adapter: DateAdapter<D>);
|
|
85
|
+
/**
|
|
86
|
+
* Adds a date to the current selection. In the case of a date range selection, the added date
|
|
87
|
+
* fills in the next `null` value in the range. If both the start and the end already have a date,
|
|
88
|
+
* the selection is reset so that the given date is the new `start` and the `end` is null.
|
|
89
|
+
*/
|
|
90
|
+
add(date: D | null): void;
|
|
91
|
+
/** Checks whether the current selection is valid. */
|
|
92
|
+
isValid(): boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Checks whether the current selection is complete. In the case of a date range selection, this
|
|
95
|
+
* is true if the current selection has a non-null `start` and `end`.
|
|
96
|
+
*/
|
|
97
|
+
isComplete(): boolean;
|
|
98
|
+
}
|
|
99
|
+
/** @docs-private */
|
|
100
|
+
export declare function MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY(parent: MatSingleDateSelectionModel<unknown>, adapter: DateAdapter<unknown>): MatSingleDateSelectionModel<unknown>;
|
|
101
|
+
/** Used to provide a single selection model to a component. */
|
|
102
|
+
export declare const MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER: FactoryProvider;
|
|
103
|
+
/** @docs-private */
|
|
104
|
+
export declare function MAT_RANGE_DATE_SELECTION_MODEL_FACTORY(parent: MatSingleDateSelectionModel<unknown>, adapter: DateAdapter<unknown>): MatSingleDateSelectionModel<unknown> | MatRangeDateSelectionModel<unknown>;
|
|
105
|
+
/** Used to provide a range selection model to a component. */
|
|
106
|
+
export declare const MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER: FactoryProvider;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { AnimationTriggerMetadata } from '@angular/animations';
|
|
9
|
+
/**
|
|
10
|
+
* Animations used by the Material datepicker.
|
|
11
|
+
* @docs-private
|
|
12
|
+
*/
|
|
13
|
+
export declare const matDatepickerAnimations: {
|
|
14
|
+
readonly transformPanel: AnimationTriggerMetadata;
|
|
15
|
+
readonly fadeInCalendar: AnimationTriggerMetadata;
|
|
16
|
+
};
|