@gipisistemas/ng-core 1.0.67 → 1.0.68
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,85 @@
|
|
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 { Directionality } from '@angular/cdk/bidi';
|
9
|
+
import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
10
|
+
import { MatCalendarBody, MatCalendarCell, MatCalendarCellClassFunction, MatCalendarUserEvent } from './calendar-body';
|
11
|
+
import { DateRange } from './date-selection-model';
|
12
|
+
import { DateAdapter } from './shared/adapter/date-adapter';
|
13
|
+
export declare const yearsPerPage = 24;
|
14
|
+
export declare const yearsPerRow = 4;
|
15
|
+
/**
|
16
|
+
* An internal component used to display a year selector in the datepicker.
|
17
|
+
* @docs-private
|
18
|
+
*/
|
19
|
+
export declare class MatMultiYearView<D> implements AfterContentInit, OnDestroy {
|
20
|
+
private _changeDetectorRef;
|
21
|
+
_dateAdapter: DateAdapter<D>;
|
22
|
+
private _dir?;
|
23
|
+
private _rerenderSubscription;
|
24
|
+
/** The date to display in this multi-year view (everything other than the year is ignored). */
|
25
|
+
get activeDate(): D;
|
26
|
+
set activeDate(value: D);
|
27
|
+
private _activeDate;
|
28
|
+
/** The currently selected date. */
|
29
|
+
get selected(): DateRange<D> | D | null;
|
30
|
+
set selected(value: DateRange<D> | D | null);
|
31
|
+
private _selected;
|
32
|
+
/** The minimum selectable date. */
|
33
|
+
get minDate(): D | null;
|
34
|
+
set minDate(value: D | null);
|
35
|
+
private _minDate;
|
36
|
+
/** The maximum selectable date. */
|
37
|
+
get maxDate(): D | null;
|
38
|
+
set maxDate(value: D | null);
|
39
|
+
private _maxDate;
|
40
|
+
/** A function used to filter which dates are selectable. */
|
41
|
+
dateFilter: (date: D) => boolean;
|
42
|
+
/** Function that can be used to add custom CSS classes to date cells. */
|
43
|
+
dateClass: MatCalendarCellClassFunction<D>;
|
44
|
+
/** Emits when a new year is selected. */
|
45
|
+
readonly selectedChange: EventEmitter<D>;
|
46
|
+
/** Emits the selected year. This doesn't imply a change on the selected date */
|
47
|
+
readonly yearSelected: EventEmitter<D>;
|
48
|
+
/** Emits when any date is activated. */
|
49
|
+
readonly activeDateChange: EventEmitter<D>;
|
50
|
+
/** The body of calendar table */
|
51
|
+
_matCalendarBody: MatCalendarBody;
|
52
|
+
/** Grid of calendar cells representing the currently displayed years. */
|
53
|
+
_years: MatCalendarCell[][];
|
54
|
+
/** The year that today falls on. */
|
55
|
+
_todayYear: number;
|
56
|
+
/** The year of the selected date. Null if the selected date is null. */
|
57
|
+
_selectedYear: number | null;
|
58
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _dateAdapter: DateAdapter<D>, _dir?: Directionality);
|
59
|
+
ngAfterContentInit(): void;
|
60
|
+
ngOnDestroy(): void;
|
61
|
+
/** Initializes this multi-year view. */
|
62
|
+
_init(): void;
|
63
|
+
/** Handles when a new year is selected. */
|
64
|
+
_yearSelected(event: MatCalendarUserEvent<number>): void;
|
65
|
+
/** Handles keydown events on the calendar body when calendar is in multi-year view. */
|
66
|
+
_handleCalendarBodyKeydown(event: KeyboardEvent): void;
|
67
|
+
_getActiveCell(): number;
|
68
|
+
/** Focuses the active cell after the microtask queue is empty. */
|
69
|
+
_focusActiveCell(): void;
|
70
|
+
/** Creates an MatCalendarCell for the given year. */
|
71
|
+
private _createCellForYear;
|
72
|
+
/** Whether the given year is enabled. */
|
73
|
+
private _shouldEnableYear;
|
74
|
+
/** Determines whether the user has the RTL layout direction. */
|
75
|
+
private _isRtl;
|
76
|
+
/** Sets the currently-highlighted year based on a model value. */
|
77
|
+
private _setSelectedYear;
|
78
|
+
}
|
79
|
+
export declare function isSameMultiYearView<D>(dateAdapter: DateAdapter<D>, date1: D, date2: D, minDate: D | null, maxDate: D | null): boolean;
|
80
|
+
/**
|
81
|
+
* When the multi-year view is first opened, the active year will be in view.
|
82
|
+
* So we compute how many years are between the active year and the *slot* where our
|
83
|
+
* "startingYear" will render when paged into view.
|
84
|
+
*/
|
85
|
+
export declare function getActiveOffset<D>(dateAdapter: DateAdapter<D>, activeDate: D, minDate: D | null, maxDate: D | null): number;
|
@@ -0,0 +1,225 @@
|
|
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 { InjectionToken } from '@angular/core';
|
9
|
+
import { Observable, Subject } from 'rxjs';
|
10
|
+
/** InjectionToken for datepicker that can be used to override default locale code. */
|
11
|
+
export declare const MAT_DATE_LOCALE: InjectionToken<string>;
|
12
|
+
/** @docs-private */
|
13
|
+
export declare function MAT_DATE_LOCALE_FACTORY(): string;
|
14
|
+
/**
|
15
|
+
* No longer needed since MAT_DATE_LOCALE has been changed to a scoped injectable.
|
16
|
+
* If you are importing and providing this in your code you can simply remove it.
|
17
|
+
* @deprecated
|
18
|
+
* @breaking-change 8.0.0
|
19
|
+
*/
|
20
|
+
export declare const MAT_DATE_LOCALE_PROVIDER: {
|
21
|
+
provide: InjectionToken<string>;
|
22
|
+
useExisting: InjectionToken<string>;
|
23
|
+
};
|
24
|
+
/** Adapts type `D` to be usable as a date by cdk-based components that work with dates. */
|
25
|
+
export declare abstract class DateAdapter<D> {
|
26
|
+
/** The locale to use for all dates. */
|
27
|
+
protected locale: any;
|
28
|
+
protected _localeChanges: Subject<void>;
|
29
|
+
/** A stream that emits when the locale changes. */
|
30
|
+
readonly localeChanges: Observable<void>;
|
31
|
+
/**
|
32
|
+
* Gets the year component of the given date.
|
33
|
+
* @param date The date to extract the year from.
|
34
|
+
* @returns The year component.
|
35
|
+
*/
|
36
|
+
abstract getYear(date: D): number;
|
37
|
+
/**
|
38
|
+
* Gets the month component of the given date.
|
39
|
+
* @param date The date to extract the month from.
|
40
|
+
* @returns The month component (0-indexed, 0 = January).
|
41
|
+
*/
|
42
|
+
abstract getMonth(date: D): number;
|
43
|
+
/**
|
44
|
+
* Gets the date of the month component of the given date.
|
45
|
+
* @param date The date to extract the date of the month from.
|
46
|
+
* @returns The month component (1-indexed, 1 = first of month).
|
47
|
+
*/
|
48
|
+
abstract getDate(date: D): number;
|
49
|
+
/**
|
50
|
+
* Gets the day of the week component of the given date.
|
51
|
+
* @param date The date to extract the day of the week from.
|
52
|
+
* @returns The month component (0-indexed, 0 = Sunday).
|
53
|
+
*/
|
54
|
+
abstract getDayOfWeek(date: D): number;
|
55
|
+
/**
|
56
|
+
* Gets a list of names for the months.
|
57
|
+
* @param style The naming style (e.g. long = 'January', short = 'Jan', narrow = 'J').
|
58
|
+
* @returns An ordered list of all month names, starting with January.
|
59
|
+
*/
|
60
|
+
abstract getMonthNames(style: 'long' | 'short' | 'narrow'): string[];
|
61
|
+
/**
|
62
|
+
* Gets a list of names for the dates of the month.
|
63
|
+
* @returns An ordered list of all date of the month names, starting with '1'.
|
64
|
+
*/
|
65
|
+
abstract getDateNames(): string[];
|
66
|
+
/**
|
67
|
+
* Gets a list of names for the days of the week.
|
68
|
+
* @param style The naming style (e.g. long = 'Sunday', short = 'Sun', narrow = 'S').
|
69
|
+
* @returns An ordered list of all weekday names, starting with Sunday.
|
70
|
+
*/
|
71
|
+
abstract getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[];
|
72
|
+
/**
|
73
|
+
* Gets the name for the year of the given date.
|
74
|
+
* @param date The date to get the year name for.
|
75
|
+
* @returns The name of the given year (e.g. '2017').
|
76
|
+
*/
|
77
|
+
abstract getYearName(date: D): string;
|
78
|
+
/**
|
79
|
+
* Gets the first day of the week.
|
80
|
+
* @returns The first day of the week (0-indexed, 0 = Sunday).
|
81
|
+
*/
|
82
|
+
abstract getFirstDayOfWeek(): number;
|
83
|
+
/**
|
84
|
+
* Gets the number of days in the month of the given date.
|
85
|
+
* @param date The date whose month should be checked.
|
86
|
+
* @returns The number of days in the month of the given date.
|
87
|
+
*/
|
88
|
+
abstract getNumDaysInMonth(date: D): number;
|
89
|
+
/**
|
90
|
+
* Clones the given date.
|
91
|
+
* @param date The date to clone
|
92
|
+
* @returns A new date equal to the given date.
|
93
|
+
*/
|
94
|
+
abstract clone(date: D): D;
|
95
|
+
/**
|
96
|
+
* Creates a date with the given year, month, and date. Does not allow over/under-flow of the
|
97
|
+
* month and date.
|
98
|
+
* @param year The full year of the date. (e.g. 89 means the year 89, not the year 1989).
|
99
|
+
* @param month The month of the date (0-indexed, 0 = January). Must be an integer 0 - 11.
|
100
|
+
* @param date The date of month of the date. Must be an integer 1 - length of the given month.
|
101
|
+
* @returns The new date, or null if invalid.
|
102
|
+
*/
|
103
|
+
abstract createDate(year: number, month: number, date: number): D;
|
104
|
+
/**
|
105
|
+
* Gets today's date.
|
106
|
+
* @returns Today's date.
|
107
|
+
*/
|
108
|
+
abstract today(): D;
|
109
|
+
/**
|
110
|
+
* Parses a date from a user-provided value.
|
111
|
+
* @param value The value to parse.
|
112
|
+
* @param parseFormat The expected format of the value being parsed
|
113
|
+
* (type is implementation-dependent).
|
114
|
+
* @returns The parsed date.
|
115
|
+
*/
|
116
|
+
abstract parse(value: any, parseFormat: any): D | null;
|
117
|
+
/**
|
118
|
+
* Formats a date as a string according to the given format.
|
119
|
+
* @param date The value to format.
|
120
|
+
* @param displayFormat The format to use to display the date as a string.
|
121
|
+
* @returns The formatted date string.
|
122
|
+
*/
|
123
|
+
abstract format(date: D, displayFormat: any): string;
|
124
|
+
/**
|
125
|
+
* Adds the given number of years to the date. Years are counted as if flipping 12 pages on the
|
126
|
+
* calendar for each year and then finding the closest date in the new month. For example when
|
127
|
+
* adding 1 year to Feb 29, 2016, the resulting date will be Feb 28, 2017.
|
128
|
+
* @param date The date to add years to.
|
129
|
+
* @param years The number of years to add (may be negative).
|
130
|
+
* @returns A new date equal to the given one with the specified number of years added.
|
131
|
+
*/
|
132
|
+
abstract addCalendarYears(date: D, years: number): D;
|
133
|
+
/**
|
134
|
+
* Adds the given number of months to the date. Months are counted as if flipping a page on the
|
135
|
+
* calendar for each month and then finding the closest date in the new month. For example when
|
136
|
+
* adding 1 month to Jan 31, 2017, the resulting date will be Feb 28, 2017.
|
137
|
+
* @param date The date to add months to.
|
138
|
+
* @param months The number of months to add (may be negative).
|
139
|
+
* @returns A new date equal to the given one with the specified number of months added.
|
140
|
+
*/
|
141
|
+
abstract addCalendarMonths(date: D, months: number): D;
|
142
|
+
/**
|
143
|
+
* Adds the given number of days to the date. Days are counted as if moving one cell on the
|
144
|
+
* calendar for each day.
|
145
|
+
* @param date The date to add days to.
|
146
|
+
* @param days The number of days to add (may be negative).
|
147
|
+
* @returns A new date equal to the given one with the specified number of days added.
|
148
|
+
*/
|
149
|
+
abstract addCalendarDays(date: D, days: number): D;
|
150
|
+
/**
|
151
|
+
* Gets the RFC 3339 compatible string (https://tools.ietf.org/html/rfc3339) for the given date.
|
152
|
+
* This method is used to generate date strings that are compatible with native HTML attributes
|
153
|
+
* such as the `min` or `max` attribute of an `<input>`.
|
154
|
+
* @param date The date to get the ISO date string for.
|
155
|
+
* @returns The ISO date string date string.
|
156
|
+
*/
|
157
|
+
abstract toIso8601(date: D): string;
|
158
|
+
/**
|
159
|
+
* Checks whether the given object is considered a date instance by this DateAdapter.
|
160
|
+
* @param obj The object to check
|
161
|
+
* @returns Whether the object is a date instance.
|
162
|
+
*/
|
163
|
+
abstract isDateInstance(obj: any): boolean;
|
164
|
+
/**
|
165
|
+
* Checks whether the given date is valid.
|
166
|
+
* @param date The date to check.
|
167
|
+
* @returns Whether the date is valid.
|
168
|
+
*/
|
169
|
+
abstract isValid(date: D): boolean;
|
170
|
+
/**
|
171
|
+
* Gets date instance that is not valid.
|
172
|
+
* @returns An invalid date.
|
173
|
+
*/
|
174
|
+
abstract invalid(): D;
|
175
|
+
/**
|
176
|
+
* Given a potential date object, returns that same date object if it is
|
177
|
+
* a valid date, or `null` if it's not a valid date.
|
178
|
+
* @param obj The object to check.
|
179
|
+
* @returns A date or `null`.
|
180
|
+
*/
|
181
|
+
getValidDateOrNull(obj: unknown): D | null;
|
182
|
+
/**
|
183
|
+
* Attempts to deserialize a value to a valid date object. This is different from parsing in that
|
184
|
+
* deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601
|
185
|
+
* string). The default implementation does not allow any deserialization, it simply checks that
|
186
|
+
* the given value is already a valid date object or null. The `<mat-datepicker>` will call this
|
187
|
+
* method on all of its `@Input()` properties that accept dates. It is therefore possible to
|
188
|
+
* support passing values from your backend directly to these properties by overriding this method
|
189
|
+
* to also deserialize the format used by your backend.
|
190
|
+
* @param value The value to be deserialized into a date object.
|
191
|
+
* @returns The deserialized date object, either a valid date, null if the value can be
|
192
|
+
* deserialized into a null date (e.g. the empty string), or an invalid date.
|
193
|
+
*/
|
194
|
+
deserialize(value: any): D | null;
|
195
|
+
/**
|
196
|
+
* Sets the locale used for all dates.
|
197
|
+
* @param locale The new locale.
|
198
|
+
*/
|
199
|
+
setLocale(locale: any): void;
|
200
|
+
/**
|
201
|
+
* Compares two dates.
|
202
|
+
* @param first The first date to compare.
|
203
|
+
* @param second The second date to compare.
|
204
|
+
* @returns 0 if the dates are equal, a number less than 0 if the first date is earlier,
|
205
|
+
* a number greater than 0 if the first date is later.
|
206
|
+
*/
|
207
|
+
compareDate(first: D, second: D): number;
|
208
|
+
/**
|
209
|
+
* Checks if two dates are equal.
|
210
|
+
* @param first The first date to check.
|
211
|
+
* @param second The second date to check.
|
212
|
+
* @returns Whether the two dates are equal.
|
213
|
+
* Null dates are considered equal to other null dates.
|
214
|
+
*/
|
215
|
+
sameDate(first: D | null, second: D | null): boolean;
|
216
|
+
/**
|
217
|
+
* Clamp the given date between min and max dates.
|
218
|
+
* @param date The date to clamp.
|
219
|
+
* @param min The minimum value to allow. If null or omitted no min is enforced.
|
220
|
+
* @param max The maximum value to allow. If null or omitted no max is enforced.
|
221
|
+
* @returns `min` if `date` is less than `min`, `max` if date is greater than `max`,
|
222
|
+
* otherwise `date`.
|
223
|
+
*/
|
224
|
+
clampDate(date: D, min?: D | null, max?: D | null): D;
|
225
|
+
}
|
@@ -0,0 +1,20 @@
|
|
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 { InjectionToken } from '@angular/core';
|
9
|
+
export declare type MatDateFormats = {
|
10
|
+
parse: {
|
11
|
+
dateInput: any;
|
12
|
+
};
|
13
|
+
display: {
|
14
|
+
dateInput: any;
|
15
|
+
monthYearLabel: any;
|
16
|
+
dateA11yLabel: any;
|
17
|
+
monthYearA11yLabel: any;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
export declare const MAT_DATE_FORMATS: InjectionToken<MatDateFormats>;
|
package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-adapter.d.ts
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
import { DateAdapter } from './date-adapter';
|
2
|
+
/** Adapts the native JS Date for use with cdk-based components that work with dates. */
|
3
|
+
export declare class NativeDateAdapter extends DateAdapter<Date> {
|
4
|
+
private _platformId;
|
5
|
+
/** Whether to clamp the date between 1 and 9999 to avoid IE and Edge errors. */
|
6
|
+
private readonly _clampDate;
|
7
|
+
/**
|
8
|
+
* Whether to use `timeZone: 'utc'` with `Intl.DateTimeFormat` when formatting dates.
|
9
|
+
* Without this `Intl.DateTimeFormat` sometimes chooses the wrong timeZone, which can throw off
|
10
|
+
* the result. (e.g. in the en-US locale `new Date(1800, 7, 14).toLocaleDateString()`
|
11
|
+
* will produce `'8/13/1800'`.
|
12
|
+
*
|
13
|
+
* TODO(mmalerba): drop this variable. It's not being used in the code right now. We're now
|
14
|
+
* getting the string representation of a Date object from its utc representation. We're keeping
|
15
|
+
* it here for sometime, just for precaution, in case we decide to revert some of these changes
|
16
|
+
* though.
|
17
|
+
*/
|
18
|
+
useUtcForDisplay: boolean;
|
19
|
+
constructor(matDateLocale: string, _platformId: Object);
|
20
|
+
getYear(date: Date): number;
|
21
|
+
getMonth(date: Date): number;
|
22
|
+
getDate(date: Date): number;
|
23
|
+
getDayOfWeek(date: Date): number;
|
24
|
+
getMonthNames(style: 'long' | 'short' | 'narrow'): string[];
|
25
|
+
getDateNames(): string[];
|
26
|
+
getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[];
|
27
|
+
getYearName(date: Date): string;
|
28
|
+
getFirstDayOfWeek(): number;
|
29
|
+
getNumDaysInMonth(date: Date): number;
|
30
|
+
clone(date: Date): Date;
|
31
|
+
createDate(year: number, month: number, date: number): Date;
|
32
|
+
today(): Date;
|
33
|
+
parse(value: any): Date | null;
|
34
|
+
format(date: Date, displayFormat: Object): string;
|
35
|
+
addCalendarYears(date: Date, years: number): Date;
|
36
|
+
addCalendarMonths(date: Date, months: number): Date;
|
37
|
+
addCalendarDays(date: Date, days: number): Date;
|
38
|
+
toIso8601(date: Date): string;
|
39
|
+
/**
|
40
|
+
* Returns the given value if given a valid Date or null. Deserializes valid ISO 8601 strings
|
41
|
+
* (https://www.ietf.org/rfc/rfc3339.txt) into valid Dates and empty string into null. Returns an
|
42
|
+
* invalid date for all other values.
|
43
|
+
*/
|
44
|
+
deserialize(value: any): Date | null;
|
45
|
+
isDateInstance(obj: any): boolean;
|
46
|
+
isValid(date: Date): boolean;
|
47
|
+
invalid(): Date;
|
48
|
+
/** Creates a date but allows the month and date to overflow. */
|
49
|
+
private _createDateWithOverflow;
|
50
|
+
/**
|
51
|
+
* Pads a number to make it two digits.
|
52
|
+
* @param n The number to pad.
|
53
|
+
* @returns The padded number.
|
54
|
+
*/
|
55
|
+
private _2digit;
|
56
|
+
/**
|
57
|
+
* Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
|
58
|
+
* other browsers do not. We remove them to make output consistent and because they interfere with
|
59
|
+
* date parsing.
|
60
|
+
* @param str The string to strip direction characters from.
|
61
|
+
* @returns The stripped string.
|
62
|
+
*/
|
63
|
+
private _stripDirectionalityCharacters;
|
64
|
+
/**
|
65
|
+
* When converting Date object to string, javascript built-in functions may return wrong
|
66
|
+
* results because it applies its internal DST rules. The DST rules around the world change
|
67
|
+
* very frequently, and the current valid rule is not always valid in previous years though.
|
68
|
+
* We work around this problem building a new Date object which has its internal UTC
|
69
|
+
* representation with the local date and time.
|
70
|
+
* @param dtf Intl.DateTimeFormat object, containg the desired string format. It must have
|
71
|
+
* timeZone set to 'utc' to work fine.
|
72
|
+
* @param date Date from which we want to get the string representation according to dtf
|
73
|
+
* @returns A Date object with its UTC representation based on the passed in date info
|
74
|
+
*/
|
75
|
+
private _format;
|
76
|
+
}
|
package/shared/gipi-components/datepicker/mat-datepicker/shared/adapter/native-date-formats.d.ts
ADDED
@@ -0,0 +1,9 @@
|
|
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 { MatDateFormats } from './date-formats';
|
9
|
+
export declare const MAT_NATIVE_DATE_FORMATS: MatDateFormats;
|
@@ -0,0 +1,33 @@
|
|
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
|
+
/**
|
9
|
+
* Service to detect the current platform by comparing the userAgent strings and
|
10
|
+
* checking browser-specific global properties.
|
11
|
+
*/
|
12
|
+
export declare class Platform {
|
13
|
+
private _platformId;
|
14
|
+
/** Whether the Angular application is being rendered in the browser. */
|
15
|
+
isBrowser: boolean;
|
16
|
+
/** Whether the current browser is Microsoft Edge. */
|
17
|
+
EDGE: boolean;
|
18
|
+
/** Whether the current rendering engine is Microsoft Trident. */
|
19
|
+
TRIDENT: boolean;
|
20
|
+
/** Whether the current rendering engine is Blink. */
|
21
|
+
BLINK: boolean;
|
22
|
+
/** Whether the current rendering engine is WebKit. */
|
23
|
+
WEBKIT: boolean;
|
24
|
+
/** Whether the current platform is Apple iOS. */
|
25
|
+
IOS: boolean;
|
26
|
+
/** Whether the current browser is Firefox. */
|
27
|
+
FIREFOX: boolean;
|
28
|
+
/** Whether the current platform is Android. */
|
29
|
+
ANDROID: boolean;
|
30
|
+
/** Whether the current browser is Safari. */
|
31
|
+
SAFARI: boolean;
|
32
|
+
constructor(_platformId: Object);
|
33
|
+
}
|
@@ -0,0 +1,97 @@
|
|
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 { Directionality } from '@angular/cdk/bidi';
|
9
|
+
import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
10
|
+
import { MatDateFormats } from '@angular/material/core';
|
11
|
+
import { MatCalendarBody, MatCalendarCell, MatCalendarCellClassFunction, MatCalendarUserEvent } from './calendar-body';
|
12
|
+
import { DateRange } from './date-selection-model';
|
13
|
+
import { DateAdapter } from './shared/adapter/date-adapter';
|
14
|
+
/**
|
15
|
+
* An internal component used to display a single year in the datepicker.
|
16
|
+
* @docs-private
|
17
|
+
*/
|
18
|
+
export declare class MatYearView<D> implements AfterContentInit, OnDestroy {
|
19
|
+
private _changeDetectorRef;
|
20
|
+
private _dateFormats;
|
21
|
+
_dateAdapter: DateAdapter<D>;
|
22
|
+
private _dir?;
|
23
|
+
private _rerenderSubscription;
|
24
|
+
/** The date to display in this year view (everything other than the year is ignored). */
|
25
|
+
get activeDate(): D;
|
26
|
+
set activeDate(value: D);
|
27
|
+
private _activeDate;
|
28
|
+
/** The currently selected date. */
|
29
|
+
get selected(): DateRange<D> | D | null;
|
30
|
+
set selected(value: DateRange<D> | D | null);
|
31
|
+
private _selected;
|
32
|
+
/** The minimum selectable date. */
|
33
|
+
get minDate(): D | null;
|
34
|
+
set minDate(value: D | null);
|
35
|
+
private _minDate;
|
36
|
+
/** The maximum selectable date. */
|
37
|
+
get maxDate(): D | null;
|
38
|
+
set maxDate(value: D | null);
|
39
|
+
private _maxDate;
|
40
|
+
/** A function used to filter which dates are selectable. */
|
41
|
+
dateFilter: (date: D) => boolean;
|
42
|
+
/** Function that can be used to add custom CSS classes to date cells. */
|
43
|
+
dateClass: MatCalendarCellClassFunction<D>;
|
44
|
+
/** Emits when a new month is selected. */
|
45
|
+
readonly selectedChange: EventEmitter<D>;
|
46
|
+
/** Emits the selected month. This doesn't imply a change on the selected date */
|
47
|
+
readonly monthSelected: EventEmitter<D>;
|
48
|
+
/** Emits when any date is activated. */
|
49
|
+
readonly activeDateChange: EventEmitter<D>;
|
50
|
+
/** The body of calendar table */
|
51
|
+
_matCalendarBody: MatCalendarBody;
|
52
|
+
/** Grid of calendar cells representing the months of the year. */
|
53
|
+
_months: MatCalendarCell[][];
|
54
|
+
/** The label for this year (e.g. "2017"). */
|
55
|
+
_yearLabel: string;
|
56
|
+
/** The month in this year that today falls on. Null if today is in a different year. */
|
57
|
+
_todayMonth: number | null;
|
58
|
+
/**
|
59
|
+
* The month in this year that the selected Date falls on.
|
60
|
+
* Null if the selected Date is in a different year.
|
61
|
+
*/
|
62
|
+
_selectedMonth: number | null;
|
63
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _dateFormats: MatDateFormats, _dateAdapter: DateAdapter<D>, _dir?: Directionality);
|
64
|
+
ngAfterContentInit(): void;
|
65
|
+
ngOnDestroy(): void;
|
66
|
+
/** Handles when a new month is selected. */
|
67
|
+
_monthSelected(event: MatCalendarUserEvent<number>): void;
|
68
|
+
/** Handles keydown events on the calendar body when calendar is in year view. */
|
69
|
+
_handleCalendarBodyKeydown(event: KeyboardEvent): void;
|
70
|
+
/** Initializes this year view. */
|
71
|
+
_init(): void;
|
72
|
+
/** Focuses the active cell after the microtask queue is empty. */
|
73
|
+
_focusActiveCell(): void;
|
74
|
+
/**
|
75
|
+
* Gets the month in this year that the given Date falls on.
|
76
|
+
* Returns null if the given Date is in another year.
|
77
|
+
*/
|
78
|
+
private _getMonthInCurrentYear;
|
79
|
+
/** Creates an MatCalendarCell for the given month. */
|
80
|
+
private _createCellForMonth;
|
81
|
+
/** Whether the given month is enabled. */
|
82
|
+
private _shouldEnableMonth;
|
83
|
+
/**
|
84
|
+
* Tests whether the combination month/year is after this.maxDate, considering
|
85
|
+
* just the month and year of this.maxDate
|
86
|
+
*/
|
87
|
+
private _isYearAndMonthAfterMaxDate;
|
88
|
+
/**
|
89
|
+
* Tests whether the combination month/year is before this.minDate, considering
|
90
|
+
* just the month and year of this.minDate
|
91
|
+
*/
|
92
|
+
private _isYearAndMonthBeforeMinDate;
|
93
|
+
/** Determines whether the user has the RTL layout direction. */
|
94
|
+
private _isRtl;
|
95
|
+
/** Sets the currently-selected month based on a model value. */
|
96
|
+
private _setSelectedMonth;
|
97
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
/**
|
2
|
+
* @dynamic é para inicializar DomHandler.browser em tempo de execução
|
3
|
+
*
|
4
|
+
* Se excluir o comentário abaixo, podemos ver esta mensagem de erro:
|
5
|
+
* Os metadados coletados contêm um erro que será reportado em tempo de execução:
|
6
|
+
* Somente variáveis e constantes inicializadas podem ser referenciadas
|
7
|
+
* porque o valor dessa variável é necessário para o compilador de modelo.
|
8
|
+
*/
|
9
|
+
/** @dynamic */
|
10
|
+
export declare class GIPIDomHandler {
|
11
|
+
static zIndex: number;
|
12
|
+
private static calculatedScrollbarWidth;
|
13
|
+
private static calculatedScrollbarHeight;
|
14
|
+
private static browser;
|
15
|
+
static addClass(element: any, className: string): void;
|
16
|
+
static addMultipleClasses(element: any, className: string): void;
|
17
|
+
static removeClass(element: any, className: string): void;
|
18
|
+
static hasClass(element: any, className: string): boolean;
|
19
|
+
static siblings(element: any): any;
|
20
|
+
static find(element: any, selector: string): any[];
|
21
|
+
static findSingle(element: any, selector: string): any;
|
22
|
+
static index(element: any): number;
|
23
|
+
static indexWithinGroup(element: any, attributeName: string): number;
|
24
|
+
static appendOverlay(overlay: any, target: any, appendTo?: any): void;
|
25
|
+
static alignOverlay(overlay: any, target: any, appendTo?: any, calculateMinWidth?: boolean): void;
|
26
|
+
static relativePosition(element: any, target: any): void;
|
27
|
+
static absolutePosition(element: any, target: any): void;
|
28
|
+
static getParents(element: any, parents?: any): any;
|
29
|
+
static getScrollableParents(element: any): any[];
|
30
|
+
static getHiddenElementOuterHeight(element: any): number;
|
31
|
+
static getHiddenElementOuterWidth(element: any): number;
|
32
|
+
static getHiddenElementDimensions(element: any): any;
|
33
|
+
static scrollInView(container: any, item: any): void;
|
34
|
+
static fadeIn(element: any, duration: number): void;
|
35
|
+
static fadeOut(element: any, ms: number): void;
|
36
|
+
static getWindowScrollTop(): number;
|
37
|
+
static getWindowScrollLeft(): number;
|
38
|
+
static matches(element: any, selector: string): boolean;
|
39
|
+
static getOuterWidth(el: any, margin?: any): number;
|
40
|
+
static getHorizontalPadding(el: any): number;
|
41
|
+
static getHorizontalMargin(el: any): number;
|
42
|
+
static innerWidth(el: any): number;
|
43
|
+
static width(el: any): number;
|
44
|
+
static getInnerHeight(el: any): number;
|
45
|
+
static getOuterHeight(el: any, margin?: any): number;
|
46
|
+
static getHeight(el: any): number;
|
47
|
+
static getWidth(el: any): number;
|
48
|
+
static getViewport(): {
|
49
|
+
width: number;
|
50
|
+
height: number;
|
51
|
+
};
|
52
|
+
static getOffset(el: any): {
|
53
|
+
top: any;
|
54
|
+
left: any;
|
55
|
+
};
|
56
|
+
static replaceElementWith(element: any, replacementElement: any): any;
|
57
|
+
static getUserAgent(): string;
|
58
|
+
static isIE(): boolean;
|
59
|
+
static isIOS(): boolean;
|
60
|
+
static isAndroid(): boolean;
|
61
|
+
static isTouchDevice(): boolean;
|
62
|
+
static appendChild(element: any, target: any): void;
|
63
|
+
static removeChild(element: any, target: any): void;
|
64
|
+
static removeElement(element: Element): void;
|
65
|
+
static isElement(obj: any): boolean;
|
66
|
+
static calculateScrollbarWidth(el?: HTMLElement): number;
|
67
|
+
static calculateScrollbarHeight(): number;
|
68
|
+
static invokeElementMethod(element: any, methodName: string, args?: any[]): void;
|
69
|
+
static clearSelection(): void;
|
70
|
+
static getBrowser(): any;
|
71
|
+
static resolveUserAgent(): {
|
72
|
+
browser: string;
|
73
|
+
version: string;
|
74
|
+
};
|
75
|
+
static isInteger(value: any): boolean;
|
76
|
+
static isHidden(element: HTMLElement): boolean;
|
77
|
+
static isVisible(element: HTMLElement): boolean;
|
78
|
+
static isExist(element: HTMLElement): ParentNode;
|
79
|
+
static focus(element: HTMLElement, options?: FocusOptions): void;
|
80
|
+
static getFocusableElements(element: HTMLElement): any[];
|
81
|
+
static getNextFocusableElement(element: HTMLElement, reverse?: boolean): any;
|
82
|
+
static generateZIndex(): number;
|
83
|
+
static getSelection(): string;
|
84
|
+
static getTargetElement(target: any, el?: HTMLElement): any;
|
85
|
+
}
|