@gipisistemas/ng-core 1.1.0 → 1.1.2
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 +28372 -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 +585 -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 +599 -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 +25941 -0
- package/fesm2015/gipisistemas-ng-core.js.map +1 -0
- package/fesm5/gipisistemas-ng-core.js +27966 -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 +137 -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,48 @@
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
2
|
+
import { Directive, HostListener, Input } from '@angular/core';
|
3
|
+
import { NgControl } from '@angular/forms';
|
4
|
+
var SpaceDropDirective = /** @class */ (function () {
|
5
|
+
function SpaceDropDirective(ngControl) {
|
6
|
+
this.ngControl = ngControl;
|
7
|
+
this.spaceDrop = false;
|
8
|
+
}
|
9
|
+
SpaceDropDirective.prototype.ngModelChange = function (event) {
|
10
|
+
this.onInputChange(event);
|
11
|
+
};
|
12
|
+
SpaceDropDirective.prototype.keydown = function (event) {
|
13
|
+
this.onInputChange(event.target.value);
|
14
|
+
};
|
15
|
+
SpaceDropDirective.prototype.onInputChange = function (event) {
|
16
|
+
if (this.spaceDrop) {
|
17
|
+
this.ngControl.valueAccessor.writeValue(event.replace(/\s/g, ''));
|
18
|
+
}
|
19
|
+
};
|
20
|
+
SpaceDropDirective.ctorParameters = function () { return [
|
21
|
+
{ type: NgControl }
|
22
|
+
]; };
|
23
|
+
__decorate([
|
24
|
+
Input(),
|
25
|
+
__metadata("design:type", Object)
|
26
|
+
], SpaceDropDirective.prototype, "spaceDrop", void 0);
|
27
|
+
__decorate([
|
28
|
+
HostListener('ngModelChange', ['$event']),
|
29
|
+
__metadata("design:type", Function),
|
30
|
+
__metadata("design:paramtypes", [Object]),
|
31
|
+
__metadata("design:returntype", void 0)
|
32
|
+
], SpaceDropDirective.prototype, "ngModelChange", null);
|
33
|
+
__decorate([
|
34
|
+
HostListener('keydown', ['$event']),
|
35
|
+
__metadata("design:type", Function),
|
36
|
+
__metadata("design:paramtypes", [Object]),
|
37
|
+
__metadata("design:returntype", void 0)
|
38
|
+
], SpaceDropDirective.prototype, "keydown", null);
|
39
|
+
SpaceDropDirective = __decorate([
|
40
|
+
Directive({
|
41
|
+
selector: '[spaceDrop]',
|
42
|
+
}),
|
43
|
+
__metadata("design:paramtypes", [NgControl])
|
44
|
+
], SpaceDropDirective);
|
45
|
+
return SpaceDropDirective;
|
46
|
+
}());
|
47
|
+
export { SpaceDropDirective };
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2UtZHJvcC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZ2lwaXNpc3RlbWFzL25nLWNvcmUvIiwic291cmNlcyI6WyJzaGFyZWQvZGlyZWN0aXZlcy9zcGFjZS1kcm9wLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzdELE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUt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W5ndWxhci9jb3JlJztcbmltcG9ydCB7TmdDb250cm9sfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAnW3NwYWNlRHJvcF0nLFxufSlcbmV4cG9ydCBjbGFzcyBTcGFjZURyb3BEaXJlY3RpdmUge1xuXG4gICAgQElucHV0KCkgc3BhY2VEcm9wID0gZmFsc2U7XG5cbiAgICBjb25zdHJ1Y3RvcihwdWJsaWMgbmdDb250cm9sOiBOZ0NvbnRyb2wpIHtcbiAgICB9XG5cbiAgICBASG9zdExpc3RlbmVyKCduZ01vZGVsQ2hhbmdlJywgWyckZXZlbnQnXSlcbiAgICBuZ01vZGVsQ2hhbmdlKGV2ZW50KSB7XG4gICAgICAgIHRoaXMub25JbnB1dENoYW5nZShldmVudCk7XG4gICAgfVxuXG4gICAgQEhvc3RMaXN0ZW5lcigna2V5ZG93bicsIFsnJGV2ZW50J10pXG4gICAga2V5ZG93bihldmVudCkge1xuICAgICAgICB0aGlzLm9uSW5wdXRDaGFuZ2UoZXZlbnQudGFyZ2V0LnZhbHVlKTtcbiAgICB9XG5cbiAgICBvbklucHV0Q2hhbmdlKGV2ZW50KSB7XG4gICAgICAgIGlmICh0aGlzLnNwYWNlRHJvcCkge1xuICAgICAgICAgICAgdGhpcy5uZ0NvbnRyb2wudmFsdWVBY2Nlc3Nvci53cml0ZVZhbHVlKGV2ZW50LnJlcGxhY2UoL1xccy9nLCAnJykpO1xuICAgICAgICB9XG4gICAgfVxuXG59XG4iXX0=
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
2
|
+
import { Directive, HostListener, Input } from '@angular/core';
|
3
|
+
import { NgControl } from '@angular/forms';
|
4
|
+
var UpperCaseDirective = /** @class */ (function () {
|
5
|
+
function UpperCaseDirective(ngControl) {
|
6
|
+
this.ngControl = ngControl;
|
7
|
+
this.enabledUpperCase = false;
|
8
|
+
}
|
9
|
+
UpperCaseDirective.prototype.ngModelChange = function (event) {
|
10
|
+
this.onInputChange(event);
|
11
|
+
};
|
12
|
+
UpperCaseDirective.prototype.keydown = function (event) {
|
13
|
+
this.onInputChange(event.target.value);
|
14
|
+
};
|
15
|
+
UpperCaseDirective.prototype.onInputChange = function (event) {
|
16
|
+
if (this.enabledUpperCase) {
|
17
|
+
this.ngControl.valueAccessor.writeValue(event.toUpperCase());
|
18
|
+
}
|
19
|
+
};
|
20
|
+
UpperCaseDirective.ctorParameters = function () { return [
|
21
|
+
{ type: NgControl }
|
22
|
+
]; };
|
23
|
+
__decorate([
|
24
|
+
Input(),
|
25
|
+
__metadata("design:type", Object)
|
26
|
+
], UpperCaseDirective.prototype, "enabledUpperCase", void 0);
|
27
|
+
__decorate([
|
28
|
+
HostListener('ngModelChange', ['$event']),
|
29
|
+
__metadata("design:type", Function),
|
30
|
+
__metadata("design:paramtypes", [Object]),
|
31
|
+
__metadata("design:returntype", void 0)
|
32
|
+
], UpperCaseDirective.prototype, "ngModelChange", null);
|
33
|
+
__decorate([
|
34
|
+
HostListener('keydown', ['$event']),
|
35
|
+
__metadata("design:type", Function),
|
36
|
+
__metadata("design:paramtypes", [Object]),
|
37
|
+
__metadata("design:returntype", void 0)
|
38
|
+
], UpperCaseDirective.prototype, "keydown", null);
|
39
|
+
UpperCaseDirective = __decorate([
|
40
|
+
Directive({
|
41
|
+
selector: '[upperCase]',
|
42
|
+
}),
|
43
|
+
__metadata("design:paramtypes", [NgControl])
|
44
|
+
], UpperCaseDirective);
|
45
|
+
return UpperCaseDirective;
|
46
|
+
}());
|
47
|
+
export { UpperCaseDirective };
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBwZXItY2FzZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZ2lwaXNpc3RlbWFzL25nLWNvcmUvIiwic291cmNlcyI6WyJzaGFyZWQvZGlyZWN0aXZlcy91cHBlci1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|
+
import { ChangeDetectionStrategy, Component, ContentChildren, HostBinding, Input, forwardRef } from '@angular/core';
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
+
import { GIPIActionRowComponent } from '../action-row/action-row.component';
|
5
|
+
var GIPIAbstractFormComponent = /** @class */ (function () {
|
6
|
+
function GIPIAbstractFormComponent() {
|
7
|
+
this.flexDirection = 'column';
|
8
|
+
this.gap = 32;
|
9
|
+
this.alignItems = 'stretch';
|
10
|
+
this.justifyContent = 'flex-start';
|
11
|
+
this.padding = 16;
|
12
|
+
this.dialog = false;
|
13
|
+
this.loading = false;
|
14
|
+
}
|
15
|
+
GIPIAbstractFormComponent_1 = GIPIAbstractFormComponent;
|
16
|
+
Object.defineProperty(GIPIAbstractFormComponent.prototype, "attrMargin", {
|
17
|
+
get: function () {
|
18
|
+
return this.dialog ? '0' : '0 auto';
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
Object.defineProperty(GIPIAbstractFormComponent.prototype, "id", {
|
24
|
+
set: function (value) {
|
25
|
+
if (!value) {
|
26
|
+
this.attrId = value;
|
27
|
+
}
|
28
|
+
},
|
29
|
+
enumerable: false,
|
30
|
+
configurable: true
|
31
|
+
});
|
32
|
+
Object.defineProperty(GIPIAbstractFormComponent.prototype, "name", {
|
33
|
+
set: function (value) {
|
34
|
+
if (value) {
|
35
|
+
this.attrName = value;
|
36
|
+
}
|
37
|
+
},
|
38
|
+
enumerable: false,
|
39
|
+
configurable: true
|
40
|
+
});
|
41
|
+
Object.defineProperty(GIPIAbstractFormComponent.prototype, "getPadding", {
|
42
|
+
get: function () {
|
43
|
+
if (typeof this.padding === 'string' && this.padding.includes('px')) {
|
44
|
+
return this.padding;
|
45
|
+
}
|
46
|
+
return this.padding + 'px';
|
47
|
+
},
|
48
|
+
enumerable: false,
|
49
|
+
configurable: true
|
50
|
+
});
|
51
|
+
Object.defineProperty(GIPIAbstractFormComponent.prototype, "getGap", {
|
52
|
+
get: function () {
|
53
|
+
if (typeof this.gap === 'string' && this.gap.includes('px')) {
|
54
|
+
return this.gap;
|
55
|
+
}
|
56
|
+
return this.gap + 'px';
|
57
|
+
},
|
58
|
+
enumerable: false,
|
59
|
+
configurable: true
|
60
|
+
});
|
61
|
+
GIPIAbstractFormComponent.prototype.ngOnInit = function () { };
|
62
|
+
var GIPIAbstractFormComponent_1;
|
63
|
+
__decorate([
|
64
|
+
HostBinding('attr.id'),
|
65
|
+
__metadata("design:type", String)
|
66
|
+
], GIPIAbstractFormComponent.prototype, "attrId", void 0);
|
67
|
+
__decorate([
|
68
|
+
HostBinding('attr.name'),
|
69
|
+
__metadata("design:type", String)
|
70
|
+
], GIPIAbstractFormComponent.prototype, "attrName", void 0);
|
71
|
+
__decorate([
|
72
|
+
HostBinding('style.margin'),
|
73
|
+
__metadata("design:type", Object),
|
74
|
+
__metadata("design:paramtypes", [])
|
75
|
+
], GIPIAbstractFormComponent.prototype, "attrMargin", null);
|
76
|
+
__decorate([
|
77
|
+
ContentChildren(GIPIActionRowComponent),
|
78
|
+
__metadata("design:type", GIPIActionRowComponent)
|
79
|
+
], GIPIAbstractFormComponent.prototype, "GIPIActionRowComponent", void 0);
|
80
|
+
__decorate([
|
81
|
+
Input(),
|
82
|
+
__metadata("design:type", String),
|
83
|
+
__metadata("design:paramtypes", [String])
|
84
|
+
], GIPIAbstractFormComponent.prototype, "id", null);
|
85
|
+
__decorate([
|
86
|
+
Input(),
|
87
|
+
__metadata("design:type", String),
|
88
|
+
__metadata("design:paramtypes", [String])
|
89
|
+
], GIPIAbstractFormComponent.prototype, "name", null);
|
90
|
+
__decorate([
|
91
|
+
Input(),
|
92
|
+
__metadata("design:type", String)
|
93
|
+
], GIPIAbstractFormComponent.prototype, "flexDirection", void 0);
|
94
|
+
__decorate([
|
95
|
+
Input(),
|
96
|
+
__metadata("design:type", Object)
|
97
|
+
], GIPIAbstractFormComponent.prototype, "gap", void 0);
|
98
|
+
__decorate([
|
99
|
+
Input(),
|
100
|
+
__metadata("design:type", String)
|
101
|
+
], GIPIAbstractFormComponent.prototype, "alignItems", void 0);
|
102
|
+
__decorate([
|
103
|
+
Input(),
|
104
|
+
__metadata("design:type", String)
|
105
|
+
], GIPIAbstractFormComponent.prototype, "justifyContent", void 0);
|
106
|
+
__decorate([
|
107
|
+
Input(),
|
108
|
+
__metadata("design:type", Object)
|
109
|
+
], GIPIAbstractFormComponent.prototype, "padding", void 0);
|
110
|
+
__decorate([
|
111
|
+
Input(),
|
112
|
+
__metadata("design:type", Boolean)
|
113
|
+
], GIPIAbstractFormComponent.prototype, "dialog", void 0);
|
114
|
+
__decorate([
|
115
|
+
Input(),
|
116
|
+
__metadata("design:type", Boolean)
|
117
|
+
], GIPIAbstractFormComponent.prototype, "loading", void 0);
|
118
|
+
GIPIAbstractFormComponent = GIPIAbstractFormComponent_1 = __decorate([
|
119
|
+
Component({
|
120
|
+
selector: "gipi-abstract-form",
|
121
|
+
exportAs: 'gipiAbstractForm',
|
122
|
+
template: "<div [style.flex-direction]=\"flexDirection\"\n [style.align-items]=\"alignItems\"\n [style.justify-content]=\"justifyContent\"\n [style.gap]=\"getGap\"\n [style.padding]=\"getPadding\"\n class=\"form-content\"\n [class.space-bottom]=\"!dialog\"\n [class.form-dialog]=\"dialog\">\n <ng-content> </ng-content>\n</div>\n<div class=\"form-footer\"\n [style.margin-inline]=\"getPadding\"\n *ngIf=\"GIPIActionRowComponent\">\n <ng-content select=\"gipi-action-row\"> </ng-content>\n</div>",
|
123
|
+
providers: [
|
124
|
+
{
|
125
|
+
provide: NG_VALUE_ACCESSOR,
|
126
|
+
useExisting: forwardRef(function () { return GIPIAbstractFormComponent_1; }),
|
127
|
+
multi: true
|
128
|
+
}
|
129
|
+
],
|
130
|
+
host: {
|
131
|
+
'class': 'gipi-abstract-form',
|
132
|
+
},
|
133
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
134
|
+
styles: [":host{display:flex;flex-direction:column;width:100%;max-width:1920px;background:#fff;padding-bottom:0!important;position:relative;margin:0 auto!important;box-shadow:10px 0 25px -5px rgba(0,0,0,.1),-10px 0 25px -5px rgba(0,0,0,.1);min-height:100%}.form-content{display:flex;height:100%;width:100%;flex:1;place-content:flex-start;overflow-y:auto;overflow-x:hidden}.form-content.space-bottom{margin-bottom:16px}.form-footer{position:-webkit-sticky;position:sticky;bottom:0}"]
|
135
|
+
}),
|
136
|
+
__metadata("design:paramtypes", [])
|
137
|
+
], GIPIAbstractFormComponent);
|
138
|
+
return GIPIAbstractFormComponent;
|
139
|
+
}());
|
140
|
+
export { GIPIAbstractFormComponent };
|
141
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QtZm9ybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZ2lwaXNpc3RlbWFzL25nLWNvcmUvIiwic291cmNlcyI6WyJzaGFyZWQvZ2lwaS1jb21wb25lbnRzL2Fic3RyYWN0LWZvcm0vYWJzdHJhY3QtZm9ybS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsZUFBZSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQVUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVILE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBbUI1RTtJQXVESTtRQTlCUyxrQkFBYSxHQUFxQixRQUFRLENBQUM7UUFFM0MsUUFBRyxHQUFvQixFQUFFLENBQUM7UUFFMUIsZUFBVSxHQUF1RSxTQUFTLENBQUM7UUFFM0YsbUJBQWMsR0FBMkgsWUFBWSxDQUFDO1FBRXRKLFlBQU8sR0FBb0IsRUFBRSx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B2b2lkIHsgfVxuXG59XG4iXX0=
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef } from '@angular/core';
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
+
var GIPIActionRowComponent = /** @class */ (function () {
|
5
|
+
function GIPIActionRowComponent() {
|
6
|
+
}
|
7
|
+
GIPIActionRowComponent_1 = GIPIActionRowComponent;
|
8
|
+
GIPIActionRowComponent.prototype.ngOnInit = function () { };
|
9
|
+
var GIPIActionRowComponent_1;
|
10
|
+
GIPIActionRowComponent = GIPIActionRowComponent_1 = __decorate([
|
11
|
+
Component({
|
12
|
+
selector: "gipi-action-row",
|
13
|
+
exportAs: 'gipiActionRow',
|
14
|
+
template: "<ng-content> </ng-content>\n",
|
15
|
+
providers: [
|
16
|
+
{
|
17
|
+
provide: NG_VALUE_ACCESSOR,
|
18
|
+
useExisting: forwardRef(function () { return GIPIActionRowComponent_1; }),
|
19
|
+
multi: true
|
20
|
+
}
|
21
|
+
],
|
22
|
+
host: {
|
23
|
+
'class': 'gipi-action-row',
|
24
|
+
},
|
25
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
26
|
+
styles: [":host{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;padding:16px 0;gap:16px;background-color:#fff;border-top:1px solid #e0e1e2;box-shadow:0 11px 8px -10px #e0e1e2,0 -11px 8px -10px #e0e1e2}"]
|
27
|
+
}),
|
28
|
+
__metadata("design:paramtypes", [])
|
29
|
+
], GIPIActionRowComponent);
|
30
|
+
return GIPIActionRowComponent;
|
31
|
+
}());
|
32
|
+
export { GIPIActionRowComponent };
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXJvdy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZ2lwaXNpc3RlbWFzL25nLWNvcmUv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0Bhbmd1bGFyL2Zvcm1zJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6IGBnaXBpLWFjdGlvbi1yb3dgLFxuICAgIGV4cG9ydEFzOiAnZ2lwaUFjdGlvblJvdycsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2FjdGlvbi1yb3cuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL2FjdGlvbi1yb3cuY29tcG9uZW50LnNjc3MnXSxcbiAgICBwcm92aWRlcnM6IFtcbiAgICAgICAge1xuICAgICAgICAgICAgcHJvdmlkZTogTkdfVkFMVUVfQUNDRVNTT1IsXG4gICAgICAgICAgICB1c2VFeGlzdGluZzogZm9yd2FyZFJlZigoKTogdHlwZW9mIEdJUElBY3Rpb25Sb3dDb21wb25lbnQgPT4gR0lQSUFjdGlvblJvd0NvbXBvbmVudCksXG4gICAgICAgICAgICBtdWx0aTogdHJ1ZVxuICAgICAgICB9XG4gICAgXSxcbiAgICBob3N0OiB7XG4gICAgICAgICdjbGFzcyc6ICdnaXBpLWFjdGlvbi1yb3cnLFxuICAgIH0sXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgR0lQSUFjdGlvblJvd0NvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG5cbiAgICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gICAgbmdPbkluaXQoKTogdm9pZCB7IH1cblxufVxuIl19
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, Input } from '@angular/core';
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
+
var GIPIBadgeComponent = /** @class */ (function () {
|
5
|
+
function GIPIBadgeComponent() {
|
6
|
+
this.color = 'primary';
|
7
|
+
this.textColor = '#ffffff';
|
8
|
+
}
|
9
|
+
GIPIBadgeComponent_1 = GIPIBadgeComponent;
|
10
|
+
GIPIBadgeComponent.prototype.ngOnInit = function () { };
|
11
|
+
var GIPIBadgeComponent_1;
|
12
|
+
__decorate([
|
13
|
+
Input(),
|
14
|
+
__metadata("design:type", String)
|
15
|
+
], GIPIBadgeComponent.prototype, "label", void 0);
|
16
|
+
__decorate([
|
17
|
+
Input(),
|
18
|
+
__metadata("design:type", Object)
|
19
|
+
], GIPIBadgeComponent.prototype, "color", void 0);
|
20
|
+
__decorate([
|
21
|
+
Input(),
|
22
|
+
__metadata("design:type", Object)
|
23
|
+
], GIPIBadgeComponent.prototype, "textColor", void 0);
|
24
|
+
GIPIBadgeComponent = GIPIBadgeComponent_1 = __decorate([
|
25
|
+
Component({
|
26
|
+
selector: 'gipi-badge',
|
27
|
+
template: "<span class=\"badge\"\n [style.background-color]=\"color\"\n [style.color]=\"textColor\">\n <span>{{ label }}</span>\n</span>",
|
28
|
+
providers: [
|
29
|
+
{
|
30
|
+
provide: NG_VALUE_ACCESSOR,
|
31
|
+
useExisting: forwardRef(function () { return GIPIBadgeComponent_1; }),
|
32
|
+
multi: true
|
33
|
+
}
|
34
|
+
],
|
35
|
+
host: {
|
36
|
+
'class': 'gipi-badge',
|
37
|
+
},
|
38
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
39
|
+
styles: [":host .badge{display:flex;align-items:center;justify-content:center;padding:.5rem 1.5rem;border-radius:10rem;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;color:#fff;font-weight:500;font-size:1.2rem;min-width:7rem}"]
|
40
|
+
}),
|
41
|
+
__metadata("design:paramtypes", [])
|
42
|
+
], GIPIBadgeComponent);
|
43
|
+
return GIPIBadgeComponent;
|
44
|
+
}());
|
45
|
+
export { GIPIBadgeComponent };
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzI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
|
@@ -0,0 +1,257 @@
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
2
|
+
import { Component, ElementRef, EventEmitter, HostListener, Input, OnDestroy, OnInit, Output, ViewChild, forwardRef } from '@angular/core';
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
+
import { GIPIPopoverTrigger } from '../popover/shared/popover-trigger';
|
5
|
+
var GIPIButtonComponent = /** @class */ (function () {
|
6
|
+
function GIPIButtonComponent(_elementRef) {
|
7
|
+
this._elementRef = _elementRef;
|
8
|
+
this.isButtonPrimary = this._hasHostAttributes('gipi-primary');
|
9
|
+
this.isButtonPrimaryIcon = this._hasHostAttributes('gipi-primary-icon');
|
10
|
+
this.isButtonSecondary = this._hasHostAttributes('gipi-secondary');
|
11
|
+
this.isButtonSecondaryIcon = this._hasHostAttributes('gipi-secondary-icon');
|
12
|
+
this.isButtonTertiary = this._hasHostAttributes('gipi-tertiary');
|
13
|
+
this.isButtonTertiaryIcon = this._hasHostAttributes('gipi-tertiary-icon');
|
14
|
+
this.isButtonLink = this._hasHostAttributes('gipi-link');
|
15
|
+
this.isButtonIcon = this._hasHostAttributes('gipi-icon');
|
16
|
+
this.isButtonAction = this._hasHostAttributes('gipi-action');
|
17
|
+
this._overlayVisible = false;
|
18
|
+
this.type = 'button';
|
19
|
+
this.ariaLabel = '';
|
20
|
+
this.title = '';
|
21
|
+
this.label = '';
|
22
|
+
this.icon = null;
|
23
|
+
this.svgIcon = null;
|
24
|
+
this.iconPos = 'left';
|
25
|
+
this.disabled = false;
|
26
|
+
this.loading = false;
|
27
|
+
this.notification = false;
|
28
|
+
this.tooltip = '';
|
29
|
+
this.popover = false;
|
30
|
+
this.overlay = false;
|
31
|
+
this.isForInput = false;
|
32
|
+
this.onShowOverlay = new EventEmitter();
|
33
|
+
this.onOpenPopover = new EventEmitter();
|
34
|
+
this.onClosePopover = new EventEmitter();
|
35
|
+
this.onClick = new EventEmitter(true);
|
36
|
+
this.onFocus = new EventEmitter(true);
|
37
|
+
this.onBlur = new EventEmitter(true);
|
38
|
+
}
|
39
|
+
GIPIButtonComponent_1 = GIPIButtonComponent;
|
40
|
+
GIPIButtonComponent.prototype.ngOnInit = function () { };
|
41
|
+
GIPIButtonComponent.prototype.ngOnDestroy = function () {
|
42
|
+
if (this.popoverTrigger) {
|
43
|
+
this.popoverTrigger.destroyPopover();
|
44
|
+
}
|
45
|
+
};
|
46
|
+
GIPIButtonComponent.prototype.getHostElement = function () {
|
47
|
+
return this._elementRef.nativeElement;
|
48
|
+
};
|
49
|
+
GIPIButtonComponent.prototype._hasHostAttributes = function () {
|
50
|
+
var _this = this;
|
51
|
+
var attributes = [];
|
52
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
53
|
+
attributes[_i] = arguments[_i];
|
54
|
+
}
|
55
|
+
return attributes.some(function (attribute) { return _this.getHostElement().hasAttribute(attribute); });
|
56
|
+
};
|
57
|
+
GIPIButtonComponent.prototype.toggleOverlay = function () {
|
58
|
+
if (this.disabled || this.loading) {
|
59
|
+
return;
|
60
|
+
}
|
61
|
+
else {
|
62
|
+
this._overlayVisible = !this._overlayVisible;
|
63
|
+
}
|
64
|
+
};
|
65
|
+
GIPIButtonComponent.prototype.showPopover = function () {
|
66
|
+
if (this.disabled || this.loading) {
|
67
|
+
return;
|
68
|
+
}
|
69
|
+
else {
|
70
|
+
this.popoverTrigger.openPopover();
|
71
|
+
}
|
72
|
+
};
|
73
|
+
GIPIButtonComponent.prototype.closePopover = function () {
|
74
|
+
if (this.disabled || this.loading) {
|
75
|
+
return;
|
76
|
+
}
|
77
|
+
else {
|
78
|
+
this.popoverTrigger.closePopover();
|
79
|
+
}
|
80
|
+
};
|
81
|
+
GIPIButtonComponent.prototype.handleClick = function (event) {
|
82
|
+
if (this.disabled || this.loading) {
|
83
|
+
return;
|
84
|
+
}
|
85
|
+
else {
|
86
|
+
if (this.overlay) {
|
87
|
+
this.toggleOverlay();
|
88
|
+
}
|
89
|
+
this.onClick.emit(event);
|
90
|
+
event.stopPropagation();
|
91
|
+
}
|
92
|
+
};
|
93
|
+
GIPIButtonComponent.prototype.handleFocus = function (event) {
|
94
|
+
if (this.disabled || this.loading) {
|
95
|
+
return;
|
96
|
+
}
|
97
|
+
else {
|
98
|
+
this.onFocus.emit(event);
|
99
|
+
event.stopPropagation();
|
100
|
+
}
|
101
|
+
};
|
102
|
+
GIPIButtonComponent.prototype.handleBlur = function (event) {
|
103
|
+
if (this.disabled || this.loading) {
|
104
|
+
return;
|
105
|
+
}
|
106
|
+
else {
|
107
|
+
this.onBlur.emit(event);
|
108
|
+
event.stopPropagation();
|
109
|
+
}
|
110
|
+
};
|
111
|
+
GIPIButtonComponent.prototype.onResize = function (event) {
|
112
|
+
if (this.popoverTrigger) {
|
113
|
+
this.popoverTrigger.closePopover();
|
114
|
+
event.stopPropagation();
|
115
|
+
}
|
116
|
+
};
|
117
|
+
var GIPIButtonComponent_1;
|
118
|
+
GIPIButtonComponent.ctorParameters = function () { return [
|
119
|
+
{ type: ElementRef }
|
120
|
+
]; };
|
121
|
+
__decorate([
|
122
|
+
ViewChild(GIPIPopoverTrigger, { static: false }),
|
123
|
+
__metadata("design:type", GIPIPopoverTrigger)
|
124
|
+
], GIPIButtonComponent.prototype, "popoverTrigger", void 0);
|
125
|
+
__decorate([
|
126
|
+
Input(),
|
127
|
+
__metadata("design:type", String)
|
128
|
+
], GIPIButtonComponent.prototype, "id", void 0);
|
129
|
+
__decorate([
|
130
|
+
Input(),
|
131
|
+
__metadata("design:type", String)
|
132
|
+
], GIPIButtonComponent.prototype, "name", void 0);
|
133
|
+
__decorate([
|
134
|
+
Input(),
|
135
|
+
__metadata("design:type", String)
|
136
|
+
], GIPIButtonComponent.prototype, "type", void 0);
|
137
|
+
__decorate([
|
138
|
+
Input(),
|
139
|
+
__metadata("design:type", String)
|
140
|
+
], GIPIButtonComponent.prototype, "ariaLabel", void 0);
|
141
|
+
__decorate([
|
142
|
+
Input(),
|
143
|
+
__metadata("design:type", String)
|
144
|
+
], GIPIButtonComponent.prototype, "title", void 0);
|
145
|
+
__decorate([
|
146
|
+
Input(),
|
147
|
+
__metadata("design:type", String)
|
148
|
+
], GIPIButtonComponent.prototype, "label", void 0);
|
149
|
+
__decorate([
|
150
|
+
Input(),
|
151
|
+
__metadata("design:type", String)
|
152
|
+
], GIPIButtonComponent.prototype, "buttonClass", void 0);
|
153
|
+
__decorate([
|
154
|
+
Input(),
|
155
|
+
__metadata("design:type", Object)
|
156
|
+
], GIPIButtonComponent.prototype, "buttonPadding", void 0);
|
157
|
+
__decorate([
|
158
|
+
Input(),
|
159
|
+
__metadata("design:type", Object)
|
160
|
+
], GIPIButtonComponent.prototype, "iconWidth", void 0);
|
161
|
+
__decorate([
|
162
|
+
Input(),
|
163
|
+
__metadata("design:type", Object)
|
164
|
+
], GIPIButtonComponent.prototype, "iconHeight", void 0);
|
165
|
+
__decorate([
|
166
|
+
Input(),
|
167
|
+
__metadata("design:type", String)
|
168
|
+
], GIPIButtonComponent.prototype, "icon", void 0);
|
169
|
+
__decorate([
|
170
|
+
Input(),
|
171
|
+
__metadata("design:type", String)
|
172
|
+
], GIPIButtonComponent.prototype, "svgIcon", void 0);
|
173
|
+
__decorate([
|
174
|
+
Input(),
|
175
|
+
__metadata("design:type", String)
|
176
|
+
], GIPIButtonComponent.prototype, "iconPos", void 0);
|
177
|
+
__decorate([
|
178
|
+
Input(),
|
179
|
+
__metadata("design:type", Boolean)
|
180
|
+
], GIPIButtonComponent.prototype, "disabled", void 0);
|
181
|
+
__decorate([
|
182
|
+
Input(),
|
183
|
+
__metadata("design:type", Boolean)
|
184
|
+
], GIPIButtonComponent.prototype, "loading", void 0);
|
185
|
+
__decorate([
|
186
|
+
Input(),
|
187
|
+
__metadata("design:type", Boolean)
|
188
|
+
], GIPIButtonComponent.prototype, "notification", void 0);
|
189
|
+
__decorate([
|
190
|
+
Input(),
|
191
|
+
__metadata("design:type", String)
|
192
|
+
], GIPIButtonComponent.prototype, "tooltip", void 0);
|
193
|
+
__decorate([
|
194
|
+
Input(),
|
195
|
+
__metadata("design:type", Boolean)
|
196
|
+
], GIPIButtonComponent.prototype, "popover", void 0);
|
197
|
+
__decorate([
|
198
|
+
Input(),
|
199
|
+
__metadata("design:type", Boolean)
|
200
|
+
], GIPIButtonComponent.prototype, "overlay", void 0);
|
201
|
+
__decorate([
|
202
|
+
Input('forInput'),
|
203
|
+
__metadata("design:type", Boolean)
|
204
|
+
], GIPIButtonComponent.prototype, "isForInput", void 0);
|
205
|
+
__decorate([
|
206
|
+
Output(),
|
207
|
+
__metadata("design:type", EventEmitter)
|
208
|
+
], GIPIButtonComponent.prototype, "onShowOverlay", void 0);
|
209
|
+
__decorate([
|
210
|
+
Output(),
|
211
|
+
__metadata("design:type", EventEmitter)
|
212
|
+
], GIPIButtonComponent.prototype, "onOpenPopover", void 0);
|
213
|
+
__decorate([
|
214
|
+
Output(),
|
215
|
+
__metadata("design:type", EventEmitter)
|
216
|
+
], GIPIButtonComponent.prototype, "onClosePopover", void 0);
|
217
|
+
__decorate([
|
218
|
+
Output('click'),
|
219
|
+
__metadata("design:type", EventEmitter)
|
220
|
+
], GIPIButtonComponent.prototype, "onClick", void 0);
|
221
|
+
__decorate([
|
222
|
+
Output('focus'),
|
223
|
+
__metadata("design:type", EventEmitter)
|
224
|
+
], GIPIButtonComponent.prototype, "onFocus", void 0);
|
225
|
+
__decorate([
|
226
|
+
Output('blur'),
|
227
|
+
__metadata("design:type", EventEmitter)
|
228
|
+
], GIPIButtonComponent.prototype, "onBlur", void 0);
|
229
|
+
__decorate([
|
230
|
+
HostListener('window:resize', ['$event']),
|
231
|
+
__metadata("design:type", Function),
|
232
|
+
__metadata("design:paramtypes", [UIEvent]),
|
233
|
+
__metadata("design:returntype", void 0)
|
234
|
+
], GIPIButtonComponent.prototype, "onResize", null);
|
235
|
+
GIPIButtonComponent = GIPIButtonComponent_1 = __decorate([
|
236
|
+
Component({
|
237
|
+
selector: "gipi-button[gipi-primary], gipi-button[gipi-primary-icon], gipi-button[gipi-secondary], gipi-button[gipi-secondary-icon],\n gipi-button[gipi-tertiary], gipi-button[gipi-link], gipi-button[gipi-icon], gipi-button[gipi-action]",
|
238
|
+
exportAs: 'gipiButton',
|
239
|
+
template: "<button [attr.id]=\"id\"\n [attr.name]=\"name\"\n [attr.type]=\"type\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : label\"\n [attr.title]=\"title ? title : label\"\n [disabled]=\"disabled || loading\"\n [matTooltip]=\"tooltip\"\n role=\"button\"\n [class]=\"buttonClass\"\n [ngClass]=\"{'button-base': true,\n 'button-primary': (isButtonPrimary || isButtonPrimaryIcon),\n 'button-primary-icon': isButtonPrimaryIcon,\n 'button-secondary': (isButtonSecondary || isButtonSecondaryIcon),\n 'button-secondary-icon': isButtonSecondaryIcon,\n 'button-tertiary': (isButtonTertiary || isButtonTertiaryIcon),\n 'button-tertiary-icon': isButtonTertiaryIcon,\n 'button-link': isButtonLink,\n 'button-only-icon': isButtonIcon,\n 'button-for-input': isForInput,\n 'button-notification': notification,\n 'button-action': isButtonAction}\"\n [style.padding.px]=\"buttonPadding\"\n #popoverTrigger=\"popoverTrigger\"\n [popoverTriggerFor]=\"btnPopover\"\n [popoverTriggerOn]=\"popover ? 'click' : 'none'\"\n [popoverBackdropCloseOnClick]=\"true\"\n (opened)=\"onOpenPopover.emit()\"\n (closed)=\"onClosePopover.emit()\"\n (click)=\"handleClick($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleBlur($event)\">\n\n <span [ngClass]=\"{'button-content': true,\n 'button-disabled': disabled,\n 'button-icon-left': ((iconPos === 'left') && label),\n 'button-icon-right': ((iconPos === 'right') && label),\n 'button-icon-top': ((iconPos === 'top') && label),\n 'button-icon-bottom': ((iconPos === 'bottom') && label),\n 'button-icon-center': (iconPos === 'center')}\">\n\n <mat-icon *ngIf=\"svgIcon || icon\"\n [svgIcon]=\"svgIcon\"\n [style.width.px]=\"iconWidth\"\n [style.height.px]=\"iconHeight\">\n {{ (!svgIcon && icon) ? icon : '' }}\n </mat-icon>\n\n <span class=\"button-label\"\n [attr.aria-hidden]=\"(icon || svgIcon) && !label\"\n *ngIf=\"!isButtonIcon && label\">\n {{ label }}\n </span>\n </span>\n\n</button>\n<gipi-overlay *ngIf=\"overlay && !popover\"\n [(visible)]=\"_overlayVisible\"\n [appendTo]=\"'body'\"\n (onShow)=\"onShowOverlay.emit()\">\n <ng-content> </ng-content>\n</gipi-overlay>\n\n<gipi-popover #btnPopover=\"gipiPopover\"\n [popoverOverlapTrigger]=\"false\"\n [popoverCloseOnClick]=\"false\"\n [popoverArrowWidth]=\"0\"\n [popoverOffsetY]=\"3\">\n <div class=\"btn-popover-content\">\n <ng-content> </ng-content>\n </div>\n</gipi-popover>",
|
240
|
+
providers: [
|
241
|
+
{
|
242
|
+
provide: NG_VALUE_ACCESSOR,
|
243
|
+
useExisting: forwardRef(function () { return GIPIButtonComponent_1; }),
|
244
|
+
multi: true
|
245
|
+
}
|
246
|
+
],
|
247
|
+
host: {
|
248
|
+
'class': 'gipi-button',
|
249
|
+
},
|
250
|
+
styles: [".button-base{display:flex;flex-direction:row;justify-content:center;padding:12px 16px;border-radius:4px;font-weight:600;font-size:1.4rem;line-height:1.6rem;cursor:pointer;outline:0;white-space:nowrap;text-decoration:none;vertical-align:middle;text-align:center;box-shadow:1px 1px 5px 0 rgba(0,0,0,.1);transition:.2s;width:100%;max-height:4rem;border:1px solid transparent;position:relative}.button-base:disabled,.button-base[disabled]{cursor:not-allowed!important;box-shadow:none}.button-base:not(:disabled):active{opacity:.8}.button-base .button-content{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:.8rem;font-size:1.4rem}.button-base .button-content.button-icon-right{flex-direction:row-reverse!important}.button-base .button-content.button-icon-top{flex-direction:column!important}.button-base .button-content.button-icon-bottom{flex-direction:column-reverse!important}.button-base .button-content>mat-icon{width:1.6rem;height:1.6rem;font-size:1.6rem;background-color:transparent!important}.button-base.button-notification:after{content:'';background-color:#d6a000;width:10px;height:10px;border-radius:50%;position:absolute;top:-2.5px;right:-2.5px}.button-primary-icon,.button-secondary-icon,.button-tertiary-icon{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}.button-primary:not(:disabled),.button-primary:not(:disabled) .button-content>mat-icon{background-color:#e0313e;color:#fff;fill:#fff}.button-primary:not(:disabled) .button-content>mat-icon svg,.button-primary:not(:disabled) .button-content>mat-icon svg g path,.button-primary:not(:disabled) .button-content>mat-icon svg path,.button-primary:not(:disabled) svg,.button-primary:not(:disabled) svg g path,.button-primary:not(:disabled) svg path{color:#fff;fill:#fff}.button-primary:disabled,.button-primary:disabled .button-content>mat-icon{background-color:#d1d2d4;color:#9a9da2;fill:#9a9da2}.button-primary:disabled .button-content>mat-icon svg,.button-primary:disabled .button-content>mat-icon svg g path,.button-primary:disabled .button-content>mat-icon svg path,.button-primary:disabled svg,.button-primary:disabled svg g path,.button-primary:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-primary:not(:disabled):hover,.button-primary:not(:disabled):hover .button-content>mat-icon{background-color:#cc2d38;color:#fff;fill:#fff}.button-primary:not(:disabled):hover .button-content>mat-icon svg,.button-primary:not(:disabled):hover .button-content>mat-icon svg g path,.button-primary:not(:disabled):hover .button-content>mat-icon svg path,.button-primary:not(:disabled):hover svg,.button-primary:not(:disabled):hover svg g path,.button-primary:not(:disabled):hover svg path{color:#fff;fill:#fff}.button-secondary{background-color:transparent}.button-secondary:not(:disabled),.button-secondary:not(:disabled) .button-content>mat-icon{border-color:#595959;color:#595959;fill:#595959}.button-secondary:not(:disabled) .button-content>mat-icon svg,.button-secondary:not(:disabled) .button-content>mat-icon svg g path,.button-secondary:not(:disabled) .button-content>mat-icon svg path,.button-secondary:not(:disabled) svg,.button-secondary:not(:disabled) svg g path,.button-secondary:not(:disabled) svg path{color:#595959;fill:#595959}.button-secondary:disabled,.button-secondary:disabled .button-content>mat-icon{border-color:#d1d2d4;background-color:#d1d2d4;color:#9a9da2;fill:#9a9da2}.button-secondary:disabled .button-content>mat-icon svg,.button-secondary:disabled .button-content>mat-icon svg g path,.button-secondary:disabled .button-content>mat-icon svg path,.button-secondary:disabled svg,.button-secondary:disabled svg g path,.button-secondary:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-secondary:not(:disabled):hover,.button-secondary:not(:disabled):hover .button-content>mat-icon{border-color:#595959;background-color:#e0e1e2;color:#595959;fill:#595959}.button-secondary:not(:disabled):hover .button-content>mat-icon svg,.button-secondary:not(:disabled):hover .button-content>mat-icon svg g path,.button-secondary:not(:disabled):hover .button-content>mat-icon svg path,.button-secondary:not(:disabled):hover svg,.button-secondary:not(:disabled):hover svg g path,.button-secondary:not(:disabled):hover svg path{color:#595959;fill:#595959}.button-tertiary{background-color:#e7ebee;box-shadow:none}.button-tertiary:not(:disabled),.button-tertiary:not(:disabled) .button-content>mat-icon,.button-tertiary:not(:disabled) .button-content>mat-icon svg,.button-tertiary:not(:disabled) .button-content>mat-icon svg g path,.button-tertiary:not(:disabled) .button-content>mat-icon svg path,.button-tertiary:not(:disabled) svg,.button-tertiary:not(:disabled) svg g path,.button-tertiary:not(:disabled) svg path{color:#595959;fill:#595959}.button-tertiary:disabled,.button-tertiary:disabled .button-content>mat-icon{background-color:#d1d2d4;color:#9a9da2;fill:#9a9da2}.button-tertiary:disabled .button-content>mat-icon svg,.button-tertiary:disabled .button-content>mat-icon svg g path,.button-tertiary:disabled .button-content>mat-icon svg path,.button-tertiary:disabled svg,.button-tertiary:disabled svg g path,.button-tertiary:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-tertiary:not(:disabled):hover,.button-tertiary:not(:disabled):hover .button-content>mat-icon{background-color:#e0e1e2;color:#595959;fill:#595959}.button-tertiary:not(:disabled):hover .button-content>mat-icon svg,.button-tertiary:not(:disabled):hover .button-content>mat-icon svg g path,.button-tertiary:not(:disabled):hover .button-content>mat-icon svg path,.button-tertiary:not(:disabled):hover svg,.button-tertiary:not(:disabled):hover svg g path,.button-tertiary:not(:disabled):hover svg path{color:#595959;fill:#595959}.button-link{background-color:transparent;box-shadow:none}.button-link:not(:disabled),.button-link:not(:disabled) .button-content>mat-icon,.button-link:not(:disabled) .button-content>mat-icon svg,.button-link:not(:disabled) .button-content>mat-icon svg g path,.button-link:not(:disabled) .button-content>mat-icon svg path,.button-link:not(:disabled) svg,.button-link:not(:disabled) svg g path,.button-link:not(:disabled) svg path{color:#131313;fill:#131313}.button-link:disabled,.button-link:disabled .button-content>mat-icon,.button-link:disabled .button-content>mat-icon svg,.button-link:disabled .button-content>mat-icon svg g path,.button-link:disabled .button-content>mat-icon svg path,.button-link:disabled svg,.button-link:disabled svg g path,.button-link:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-link:not(:disabled):hover .button-content .button-label{text-decoration:underline;-webkit-text-decoration-color:#131313;text-decoration-color:#131313;color:#131313;fill:#131313}.button-link:not(:disabled):hover .button-content>mat-icon,.button-link:not(:disabled):hover .button-content>mat-icon svg,.button-link:not(:disabled):hover .button-content>mat-icon svg g path,.button-link:not(:disabled):hover .button-content>mat-icon svg path{color:#131313;fill:#131313}.button-only-icon{background-color:transparent;box-shadow:none}.button-only-icon.button-for-input{padding:6px!important;border-radius:50%!important}.button-only-icon:not(:disabled),.button-only-icon:not(:disabled) .button-content>mat-icon,.button-only-icon:not(:disabled) .button-content>mat-icon svg,.button-only-icon:not(:disabled) .button-content>mat-icon svg g path,.button-only-icon:not(:disabled) .button-content>mat-icon svg path,.button-only-icon:not(:disabled) svg,.button-only-icon:not(:disabled) svg g path,.button-only-icon:not(:disabled) svg path{color:#131313;fill:#131313}.button-only-icon:disabled,.button-only-icon:disabled .button-content>mat-icon,.button-only-icon:disabled .button-content>mat-icon svg,.button-only-icon:disabled .button-content>mat-icon svg g path,.button-only-icon:disabled .button-content>mat-icon svg path,.button-only-icon:disabled svg,.button-only-icon:disabled svg g path,.button-only-icon:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-only-icon:not(:disabled):hover,.button-only-icon:not(:disabled):hover .button-content>mat-icon{background-color:#e0e1e2;color:#131313;fill:#131313}.button-only-icon:not(:disabled):hover .button-content>mat-icon svg,.button-only-icon:not(:disabled):hover .button-content>mat-icon svg g path,.button-only-icon:not(:disabled):hover .button-content>mat-icon svg path,.button-only-icon:not(:disabled):hover svg,.button-only-icon:not(:disabled):hover svg g path,.button-only-icon:not(:disabled):hover svg path{color:#131313;fill:#131313}.button-action{background-color:transparent;box-shadow:none;display:flex;justify-content:flex-start!important}.button-action:not(:disabled),.button-action:not(:disabled) .button-content>mat-icon,.button-action:not(:disabled) .button-content>mat-icon svg,.button-action:not(:disabled) .button-content>mat-icon svg g path,.button-action:not(:disabled) .button-content>mat-icon svg path,.button-action:not(:disabled) svg,.button-action:not(:disabled) svg g path,.button-action:not(:disabled) svg path{color:#262626;fill:#262626}.button-action:disabled,.button-action:disabled .button-content>mat-icon,.button-action:disabled .button-content>mat-icon svg,.button-action:disabled .button-content>mat-icon svg g path,.button-action:disabled .button-content>mat-icon svg path,.button-action:disabled svg,.button-action:disabled svg g path,.button-action:disabled svg path{color:#9a9da2;fill:#9a9da2}.button-action:not(:disabled):hover,.button-action:not(:disabled):hover .button-content>mat-icon{background-color:#f5f5f6;color:#262626;fill:#262626}.button-action:not(:disabled):hover .button-content>mat-icon svg,.button-action:not(:disabled):hover .button-content>mat-icon svg g path,.button-action:not(:disabled):hover .button-content>mat-icon svg path,.button-action:not(:disabled):hover svg,.button-action:not(:disabled):hover svg g path,.button-action:not(:disabled):hover svg path{color:#262626;fill:#262626}.button-disabled{pointer-events:none!important}.btn-popover-content{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);padding:8px}"]
|
251
|
+
}),
|
252
|
+
__metadata("design:paramtypes", [ElementRef])
|
253
|
+
], GIPIButtonComponent);
|
254
|
+
return GIPIButtonComponent;
|
255
|
+
}());
|
256
|
+
export { GIPIButtonComponent };
|
257
|
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bHNlIHtcbiAgICAgICAgICAgIHRoaXMucG9wb3ZlclRyaWdnZXIub3BlblBvcG92ZXIoKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGNsb3NlUG9wb3ZlcigpOiB2b2lkIHtcbiAgICAgICAgaWYgKHRoaXMuZGlzYWJsZWQgfHwgdGhpcy5sb2FkaW5nKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLnBvcG92ZXJUcmlnZ2VyLmNsb3NlUG9wb3ZlcigpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgaGFuZGxlQ2xpY2soZXZlbnQ6IE1vdXNlRXZlbnQpOiB2b2lkIHtcbiAgICAgICAgaWYgKHRoaXMuZGlzYWJsZWQgfHwgdGhpcy5sb2FkaW5nKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBpZiAodGhpcy5vdmVybGF5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy50b2dnbGVPdmVybGF5KCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLm9uQ2xpY2suZW1pdChldmVudCk7XG4gICAgICAgICAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGhhbmRsZUZvY3VzKGV2ZW50OiBNb3VzZUV2ZW50KTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLmRpc2FibGVkIHx8IHRoaXMubG9hZGluZykge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhpcy5vbkZvY3VzLmVtaXQoZXZlbnQpO1xuICAgICAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBoYW5kbGVCbHVyKGV2ZW50OiBNb3VzZUV2ZW50KTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLmRpc2FibGVkIHx8IHRoaXMubG9hZGluZykge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhpcy5vbkJsdXIuZW1pdChldmVudCk7XG4gICAgICAgICAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBIb3N0TGlzdGVuZXIoJ3dpbmRvdzpyZXNpemUnLCBbJyRldmVudCddKVxuICAgIG9uUmVzaXplKGV2ZW50OiBVSUV2ZW50KTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLnBvcG92ZXJUcmlnZ2VyKSB7XG4gICAgICAgICAgICB0aGlzLnBvcG92ZXJUcmlnZ2VyLmNsb3NlUG9wb3ZlcigpO1xuICAgICAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgIH1cbiAgICB9XG5cbn1cbiJdfQ==
|