@sumaris-net/ngx-components 1.23.8 → 2.0.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/doc/build.md +2 -2
- package/esm2020/public_api.mjs +274 -0
- package/esm2020/public_test_api.mjs +46 -0
- package/esm2020/src/app/admin/admin-routing.module.mjs +41 -0
- package/esm2020/src/app/admin/admin.module.mjs +49 -0
- package/esm2020/src/app/admin/services/filter/person.filter.mjs +59 -0
- package/esm2020/src/app/admin/services/person.service.mjs +161 -0
- package/esm2020/src/app/admin/services/validator/person.validator.mjs +34 -0
- package/esm2020/src/app/admin/users/list/users.mjs +227 -0
- package/esm2020/src/app/core/about/modal-about.mjs +71 -0
- package/esm2020/src/app/core/account/account.mjs +230 -0
- package/esm2020/src/app/core/auth/form/form-auth.mjs +131 -0
- package/esm2020/src/app/core/auth/modal/modal-auth.mjs +72 -0
- package/esm2020/src/app/core/core.module.mjs +223 -0
- package/esm2020/src/app/core/core.testing.module.mjs +72 -0
- package/esm2020/src/app/core/form/editor.class.mjs +608 -0
- package/esm2020/src/app/core/form/entity-editor-modal.class.mjs +406 -0
- package/esm2020/src/app/core/form/entity-editor.class.mjs +669 -0
- package/esm2020/src/app/core/form/entity-metadata.component.mjs +25 -0
- package/esm2020/src/app/core/form/form-buttons-bar.component.mjs +71 -0
- package/esm2020/src/app/core/form/form.class.mjs +334 -0
- package/esm2020/src/app/core/form/form.utils.mjs +264 -0
- package/esm2020/src/app/core/form/list.form.mjs +221 -0
- package/esm2020/src/app/core/form/properties.form.mjs +126 -0
- package/esm2020/src/app/core/graphql/graphql.module.mjs +22 -0
- package/esm2020/src/app/core/graphql/graphql.service.mjs +730 -0
- package/esm2020/src/app/core/graphql/graphql.utils.mjs +117 -0
- package/esm2020/src/app/core/home/home.mjs +257 -0
- package/esm2020/src/app/core/icon/icon.component.mjs +41 -0
- package/esm2020/src/app/core/icon/icon.module.mjs +29 -0
- package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +337 -0
- package/esm2020/src/app/core/install/install-upgrade-card.module.mjs +33 -0
- package/esm2020/src/app/core/menu/menu.component.mjs +317 -0
- package/{esm2015/src/app/core/menu/menu.model.js → esm2020/src/app/core/menu/menu.model.mjs} +0 -0
- package/esm2020/src/app/core/menu/menu.module.mjs +45 -0
- package/{esm2015/src/app/core/menu/menu.service.js → esm2020/src/app/core/menu/menu.service.mjs} +9 -7
- package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +27 -0
- package/esm2020/src/app/core/peer/select-peer.modal.mjs +130 -0
- package/esm2020/src/app/core/peer/select-peer.module.mjs +35 -0
- package/esm2020/src/app/core/register/confirm/confirm.mjs +81 -0
- package/esm2020/src/app/core/register/form/form-register.mjs +181 -0
- package/esm2020/src/app/core/register/modal/modal-register.mjs +52 -0
- package/esm2020/src/app/core/register/register.module.mjs +42 -0
- package/esm2020/src/app/core/services/account.service.mjs +1112 -0
- package/esm2020/src/app/core/services/auth-guard.service.mjs +71 -0
- package/esm2020/src/app/core/services/base-entity-service.class.mjs +433 -0
- package/esm2020/src/app/core/services/base-graphql-service.class.mjs +219 -0
- package/{esm2015/src/app/core/services/base58.js → esm2020/src/app/core/services/base58.mjs} +0 -0
- package/{esm2015/src/app/core/services/config/core.config.js → esm2020/src/app/core/services/config/core.config.mjs} +0 -0
- package/esm2020/src/app/core/services/config.service.mjs +354 -0
- package/{esm2015/src/app/core/services/crypto.service.js → esm2020/src/app/core/services/crypto.service.mjs} +7 -5
- package/{esm2015/src/app/core/services/errors.js → esm2020/src/app/core/services/errors.mjs} +0 -0
- package/esm2020/src/app/core/services/local-settings.service.mjs +442 -0
- package/esm2020/src/app/core/services/model/account.model.mjs +50 -0
- package/esm2020/src/app/core/services/model/config.model.mjs +89 -0
- package/esm2020/src/app/core/services/model/department.model.mjs +30 -0
- package/esm2020/src/app/core/services/model/entity.decorators.mjs +107 -0
- package/esm2020/src/app/core/services/model/entity.model.mjs +242 -0
- package/{esm2015/src/app/core/services/model/filter.model.js → esm2020/src/app/core/services/model/filter.model.mjs} +0 -0
- package/{esm2015/src/app/core/services/model/history.model.js → esm2020/src/app/core/services/model/history.model.mjs} +0 -0
- package/{esm2015/src/app/core/services/model/model.enum.js → esm2020/src/app/core/services/model/model.enum.mjs} +0 -0
- package/esm2020/src/app/core/services/model/peer.model.mjs +68 -0
- package/esm2020/src/app/core/services/model/person.model.mjs +83 -0
- package/esm2020/src/app/core/services/model/referential.model.mjs +145 -0
- package/esm2020/src/app/core/services/model/settings.model.mjs +75 -0
- package/esm2020/src/app/core/services/network.service.mjs +602 -0
- package/esm2020/src/app/core/services/network.utils.mjs +16 -0
- package/esm2020/src/app/core/services/pipes/account.pipes.mjs +38 -0
- package/esm2020/src/app/core/services/pipes/department-to-string.pipe.mjs +23 -0
- package/esm2020/src/app/core/services/pipes/person-to-string.pipe.mjs +23 -0
- package/esm2020/src/app/core/services/pipes/usage-mode.pipes.mjs +37 -0
- package/esm2020/src/app/core/services/platform.service.mjs +476 -0
- package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +422 -0
- package/esm2020/src/app/core/services/storage/entity-store.class.mjs +449 -0
- package/esm2020/src/app/core/services/testing/referential-filter.model.mjs +23 -0
- package/esm2020/src/app/core/services/testing/referential.validator.mjs +45 -0
- package/esm2020/src/app/core/services/validator/account.validator.mjs +52 -0
- package/esm2020/src/app/core/services/validator/base.validator.class.mjs +47 -0
- package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +66 -0
- package/esm2020/src/app/core/services/validator/user-settings.validator.mjs +29 -0
- package/esm2020/src/app/core/settings/settings.page.mjs +290 -0
- package/esm2020/src/app/core/table/actions-column.component.mjs +96 -0
- package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +385 -0
- package/esm2020/src/app/core/table/memory-table.class.mjs +53 -0
- package/esm2020/src/app/core/table/table-select-columns.component.mjs +43 -0
- package/esm2020/src/app/core/table/table.class.mjs +1654 -0
- package/{esm2015/src/app/core/table/table.utils.js → esm2020/src/app/core/table/table.utils.mjs} +0 -0
- package/esm2020/src/app/core/table/testing/table.testing.mjs +264 -0
- package/esm2020/src/app/core/table/testing/table.testing.module.mjs +38 -0
- package/esm2020/src/app/core/text-popover/testing/text-popover.testing.mjs +37 -0
- package/esm2020/src/app/core/text-popover/testing/text-popover.testing.module.mjs +45 -0
- package/esm2020/src/app/core/text-popover/text-form.component.mjs +84 -0
- package/esm2020/src/app/core/text-popover/text-popover.component.mjs +92 -0
- package/esm2020/src/app/shared/alerts.mjs +238 -0
- package/esm2020/src/app/shared/audio/audio.mjs +201 -0
- package/esm2020/src/app/shared/audio/audio.testing.mjs +31 -0
- package/esm2020/src/app/shared/audio/audio.testing.module.mjs +45 -0
- package/esm2020/src/app/shared/capacitor/keyboard.mjs +40 -0
- package/esm2020/src/app/shared/capacitor/plugins.mjs +9 -0
- package/{esm2015/src/app/shared/constants.js → esm2020/src/app/shared/constants.mjs} +2 -1
- package/esm2020/src/app/shared/dates.mjs +134 -0
- package/esm2020/src/app/shared/directives/autofocus.directive.mjs +92 -0
- package/esm2020/src/app/shared/directives/autotitle.directive.mjs +30 -0
- package/esm2020/src/app/shared/directives/directives.module.mjs +43 -0
- package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +53 -0
- package/esm2020/src/app/shared/directives/ng-var.directive.mjs +31 -0
- package/esm2020/src/app/shared/directives/resizable/resizable.component.mjs +59 -0
- package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +40 -0
- package/esm2020/src/app/shared/directives/resizable/resizable.module.mjs +17 -0
- package/esm2020/src/app/shared/events.mjs +64 -0
- package/esm2020/src/app/shared/file/csv.utils.mjs +74 -0
- package/esm2020/src/app/shared/file/file.service.mjs +117 -0
- package/esm2020/src/app/shared/file/file.utils.mjs +113 -0
- package/esm2020/src/app/shared/file/images.utils.mjs +161 -0
- package/{esm2015/src/app/shared/file/uri.utils.js → esm2020/src/app/shared/file/uri.utils.mjs} +0 -0
- package/{esm2015/src/app/shared/focusable.js → esm2020/src/app/shared/focusable.mjs} +0 -0
- package/esm2020/src/app/shared/form/field.component.mjs +241 -0
- package/{esm2015/src/app/shared/form/field.model.js → esm2020/src/app/shared/form/field.model.mjs} +1 -1
- package/esm2020/src/app/shared/form/loading-spinner.mjs +36 -0
- package/esm2020/src/app/shared/forms.mjs +355 -0
- package/esm2020/src/app/shared/functions.mjs +417 -0
- package/{esm2015/src/app/shared/gesture/gesture-config.js → esm2020/src/app/shared/gesture/gesture-config.mjs} +7 -5
- package/esm2020/src/app/shared/gesture/hammer.utils.mjs +2 -0
- package/{esm2015/src/app/shared/graph/colors.utils.js → esm2020/src/app/shared/graph/colors.utils.mjs} +0 -0
- package/esm2020/src/app/shared/graph/graph-colors.mjs +254 -0
- package/esm2020/src/app/shared/guard/component-dirty.guard.mjs +57 -0
- package/esm2020/src/app/shared/help/help.modal.mjs +53 -0
- package/esm2020/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +23 -0
- package/esm2020/src/app/shared/hotkeys/hotkeys.service.mjs +84 -0
- package/esm2020/src/app/shared/hotkeys/shared-hotkeys.module.mjs +42 -0
- package/esm2020/src/app/shared/http/http.utils.mjs +52 -0
- package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +279 -0
- package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +46 -0
- package/esm2020/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +27 -0
- package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +89 -0
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +33 -0
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +56 -0
- package/esm2020/src/app/shared/image/image.model.mjs +2 -0
- package/esm2020/src/app/shared/image/image.module.mjs +29 -0
- package/esm2020/src/app/shared/image/image.service.mjs +99 -0
- package/{esm2015/src/app/shared/inputs.js → esm2020/src/app/shared/inputs.mjs} +4 -4
- package/{esm2015/src/app/shared/interceptors/progess.interceptor.js → esm2020/src/app/shared/interceptors/progess.interceptor.mjs} +0 -0
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +47 -0
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +836 -0
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +78 -0
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +19 -0
- package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +205 -0
- package/esm2020/src/app/shared/material/badge/badge-icon.directive.mjs +143 -0
- package/esm2020/src/app/shared/material/badge/badge-icon.module.mjs +32 -0
- package/esm2020/src/app/shared/material/badge/badge-icon.test.mjs +27 -0
- package/esm2020/src/app/shared/material/boolean/boolean.module.mjs +68 -0
- package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +253 -0
- package/esm2020/src/app/shared/material/chips/chips.module.mjs +76 -0
- package/esm2020/src/app/shared/material/chips/material.chips.mjs +692 -0
- package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +136 -0
- package/esm2020/src/app/shared/material/datetime/datetime.module.mjs +91 -0
- package/esm2020/src/app/shared/material/datetime/material.date.mjs +392 -0
- package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +327 -0
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +416 -0
- package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +110 -0
- package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +111 -0
- package/esm2020/src/app/shared/material/duration/duration.module.mjs +67 -0
- package/{esm2015/src/app/shared/material/duration/duration.utils.js → esm2020/src/app/shared/material/duration/duration.utils.mjs} +0 -0
- package/esm2020/src/app/shared/material/duration/material.duration.mjs +257 -0
- package/esm2020/src/app/shared/material/latlong/latlong.utils.mjs +266 -0
- package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +381 -0
- package/esm2020/src/app/shared/material/latlong/material.latlong.module.mjs +67 -0
- package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +74 -0
- package/{esm2015/src/app/shared/material/material.animations.js → esm2020/src/app/shared/material/material.animations.mjs} +0 -0
- package/esm2020/src/app/shared/material/material.module.mjs +224 -0
- package/{esm2015/src/app/shared/material/material.testing.module.js → esm2020/src/app/shared/material/material.testing.module.mjs} +68 -34
- package/esm2020/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +98 -0
- package/esm2020/src/app/shared/material/numpad/numpad.component.mjs +80 -0
- package/esm2020/src/app/shared/material/numpad/numpad.container.mjs +190 -0
- package/esm2020/src/app/shared/material/numpad/numpad.content.mjs +17 -0
- package/esm2020/src/app/shared/material/numpad/numpad.directive.mjs +162 -0
- package/esm2020/src/app/shared/material/numpad/numpad.dom-service.mjs +37 -0
- package/{esm2015/src/app/shared/material/numpad/numpad.model.js → esm2020/src/app/shared/material/numpad/numpad.model.mjs} +1 -1
- package/esm2020/src/app/shared/material/numpad/numpad.module.mjs +60 -0
- package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +46 -0
- package/esm2020/src/app/shared/material/paginator/material.paginator-i18n.mjs +42 -0
- package/esm2020/src/app/shared/material/stepper/material.stepper-i18n.mjs +22 -0
- package/esm2020/src/app/shared/material/swipe/material.swipe.mjs +334 -0
- package/esm2020/src/app/shared/material/swipe/swipe.module.mjs +51 -0
- package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +65 -0
- package/esm2020/src/app/shared/observables.mjs +96 -0
- package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +114 -0
- package/esm2020/src/app/shared/pipes/colors.pipe.mjs +23 -0
- package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +49 -0
- package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +42 -0
- package/{esm2015/src/app/shared/pipes/date-from-now.pipe.js → esm2020/src/app/shared/pipes/date-from-now.pipe.mjs} +13 -12
- package/{esm2015/src/app/shared/pipes/duration.pipe.js → esm2020/src/app/shared/pipes/duration.pipe.mjs} +13 -12
- package/esm2020/src/app/shared/pipes/file-size.pipe.mjs +62 -0
- package/esm2020/src/app/shared/pipes/form.pipes.mjs +187 -0
- package/esm2020/src/app/shared/pipes/highlight.pipe.mjs +48 -0
- package/esm2020/src/app/shared/pipes/latlong-format.pipe.mjs +46 -0
- package/esm2020/src/app/shared/pipes/maps.pipe.mjs +63 -0
- package/esm2020/src/app/shared/pipes/math.pipes.mjs +59 -0
- package/esm2020/src/app/shared/pipes/ng-init.pipe.mjs +21 -0
- package/{esm2015/src/app/shared/pipes/number-format.pipe.js → esm2020/src/app/shared/pipes/number-format.pipe.mjs} +14 -9
- package/esm2020/src/app/shared/pipes/pipes.module.mjs +206 -0
- package/esm2020/src/app/shared/pipes/property.pipes.mjs +96 -0
- package/esm2020/src/app/shared/pipes/string.pipes.mjs +69 -0
- package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +43 -0
- package/esm2020/src/app/shared/platforms.mjs +49 -0
- package/esm2020/src/app/shared/services/entity-service.class.mjs +19 -0
- package/esm2020/src/app/shared/services/job.utils.mjs +92 -0
- package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +253 -0
- package/esm2020/src/app/shared/services/progress-bar.service.mjs +32 -0
- package/esm2020/src/app/shared/services/startable-service.class.mjs +94 -0
- package/esm2020/src/app/shared/services/storage/storage.service.mjs +132 -0
- package/esm2020/src/app/shared/services/storage/storage.utils.mjs +13 -0
- package/esm2020/src/app/shared/services/translate-context.service.mjs +81 -0
- package/esm2020/src/app/shared/services/validator-service.class.mjs +2 -0
- package/esm2020/src/app/shared/services.mjs +62 -0
- package/esm2020/src/app/shared/shared-routing.module.mjs +63 -0
- package/esm2020/src/app/shared/shared.module.mjs +208 -0
- package/esm2020/src/app/shared/shared.testing.module.mjs +76 -0
- package/esm2020/src/app/shared/testing/tests.page.mjs +33 -0
- package/esm2020/src/app/shared/toast/toast.testing.mjs +52 -0
- package/esm2020/src/app/shared/toast/toast.testing.module.mjs +45 -0
- package/esm2020/src/app/shared/toast/toasts.mjs +121 -0
- package/esm2020/src/app/shared/toolbar/modal-toolbar.mjs +58 -0
- package/esm2020/src/app/shared/toolbar/toolbar.mjs +226 -0
- package/esm2020/src/app/shared/toolbar/toolbar.module.mjs +53 -0
- package/{esm2015/src/app/shared/types.js → esm2020/src/app/shared/types.mjs} +0 -0
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.mjs +57 -0
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +45 -0
- package/esm2020/src/app/shared/upload-file/upload-file-popover.component.mjs +97 -0
- package/esm2020/src/app/shared/upload-file/upload-file.component.mjs +204 -0
- package/esm2020/src/app/shared/upload-file/upload-file.model.mjs +20 -0
- package/esm2020/src/app/shared/validator/form-error-adapter.class.mjs +104 -0
- package/esm2020/src/app/shared/validator/validators.mjs +544 -0
- package/{esm2015/src/app/shared/version/versions.js → esm2020/src/app/shared/version/versions.mjs} +0 -0
- package/esm2020/src/app/social/job/job.model.mjs +26 -0
- package/esm2020/src/app/social/job/job.module.mjs +35 -0
- package/esm2020/src/app/social/job/job.service.mjs +59 -0
- package/esm2020/src/app/social/job/progression/job-progression.component.mjs +201 -0
- package/esm2020/src/app/social/job/progression/job-progression.list.mjs +22 -0
- package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +51 -0
- package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +33 -0
- package/esm2020/src/app/social/job/testing/job.testing.module.mjs +35 -0
- package/esm2020/src/app/social/message/message.form.mjs +81 -0
- package/esm2020/src/app/social/message/message.modal.mjs +93 -0
- package/esm2020/src/app/social/message/message.model.mjs +65 -0
- package/esm2020/src/app/social/message/message.module.mjs +35 -0
- package/esm2020/src/app/social/message/message.service.mjs +84 -0
- package/{esm2015/src/app/social/social.errors.js → esm2020/src/app/social/social.errors.mjs} +0 -0
- package/esm2020/src/app/social/social.module.mjs +47 -0
- package/esm2020/src/app/social/social.testing.module.mjs +51 -0
- package/esm2020/src/app/social/user-event/notification/user-event-notification.icon.mjs +97 -0
- package/esm2020/src/app/social/user-event/notification/user-event-notification.list.mjs +212 -0
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +228 -0
- package/esm2020/src/app/social/user-event/testing/user-event.testing.model.mjs +107 -0
- package/esm2020/src/app/social/user-event/testing/user-event.testing.module.mjs +35 -0
- package/esm2020/src/app/social/user-event/testing/user-event.testing.service.mjs +111 -0
- package/esm2020/src/app/social/user-event/user-event.model.mjs +2 -0
- package/esm2020/src/app/social/user-event/user-event.module.mjs +39 -0
- package/esm2020/src/app/social/user-event/user-event.service.mjs +486 -0
- package/{esm2015/src/app/vendor.js → esm2020/src/app/vendor.mjs} +1 -1
- package/esm2020/src/environments/environment.class.mjs +5 -0
- package/esm2020/src/environments/environment.mjs +86 -0
- package/esm2020/sumaris-net.ngx-components.mjs +5 -0
- package/fesm2015/sumaris-net.ngx-components.mjs +32493 -0
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -0
- package/fesm2020/sumaris-net.ngx-components.mjs +31739 -0
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +25 -34
- package/public_api.d.ts +23 -28
- package/public_test_api.d.ts +37 -0
- package/resources/README.md +8 -0
- package/src/app/admin/admin-routing.module.d.ts +7 -0
- package/src/app/admin/admin.module.d.ts +11 -0
- package/src/app/admin/services/person.service.d.ts +3 -0
- package/src/app/admin/services/validator/person.validator.d.ts +8 -5
- package/src/app/admin/users/list/users.d.ts +10 -7
- package/src/app/core/about/modal-about.d.ts +3 -0
- package/src/app/core/account/account.d.ts +11 -8
- package/src/app/core/auth/form/form-auth.d.ts +6 -3
- package/src/app/core/auth/modal/modal-auth.d.ts +3 -0
- package/src/app/core/core.module.d.ts +36 -0
- package/src/app/core/core.testing.module.d.ts +9 -0
- package/src/app/core/form/editor.class.d.ts +7 -2
- package/src/app/core/form/entity-editor-modal.class.d.ts +7 -4
- package/src/app/core/form/entity-editor.class.d.ts +4 -1
- package/src/app/core/form/entity-metadata.component.d.ts +3 -0
- package/src/app/core/form/form-buttons-bar.component.d.ts +3 -0
- package/src/app/core/form/form.class.d.ts +12 -9
- package/src/app/core/form/form.utils.d.ts +4 -4
- package/src/app/core/form/list.form.d.ts +10 -7
- package/src/app/core/form/properties.form.d.ts +10 -7
- package/src/app/core/graphql/graphql.module.d.ts +5 -0
- package/src/app/core/graphql/graphql.service.d.ts +9 -2
- package/src/app/core/graphql/graphql.utils.d.ts +8 -0
- package/src/app/core/home/home.d.ts +4 -1
- package/src/app/core/icon/icon.component.d.ts +5 -2
- package/src/app/core/icon/icon.module.d.ts +7 -0
- package/src/app/core/install/install-upgrade-card.component.d.ts +5 -2
- package/src/app/core/install/install-upgrade-card.module.d.ts +10 -0
- package/src/app/core/menu/menu.component.d.ts +7 -5
- package/src/app/core/menu/menu.module.d.ts +8 -0
- package/src/app/core/menu/menu.service.d.ts +3 -0
- package/src/app/core/offline/update-offline-mode-card.component.d.ts +3 -0
- package/src/app/core/peer/select-peer.modal.d.ts +7 -4
- package/src/app/core/peer/select-peer.module.d.ts +9 -0
- package/src/app/core/register/confirm/confirm.d.ts +3 -0
- package/src/app/core/register/form/form-register.d.ts +10 -7
- package/src/app/core/register/modal/modal-register.d.ts +3 -0
- package/src/app/core/register/register.module.d.ts +12 -0
- package/src/app/core/services/account.service.d.ts +5 -2
- package/src/app/core/services/auth-guard.service.d.ts +3 -0
- package/src/app/core/services/base-entity-service.class.d.ts +3 -0
- package/src/app/core/services/base-graphql-service.class.d.ts +3 -0
- package/src/app/core/services/config.service.d.ts +4 -1
- package/src/app/core/services/crypto.service.d.ts +3 -0
- package/src/app/core/services/local-settings.service.d.ts +5 -1
- package/src/app/core/services/model/referential.model.d.ts +1 -1
- package/src/app/core/services/network.service.d.ts +6 -5
- package/src/app/core/services/pipes/account.pipes.d.ts +7 -0
- package/src/app/core/services/pipes/department-to-string.pipe.d.ts +4 -0
- package/src/app/core/services/pipes/person-to-string.pipe.d.ts +4 -0
- package/src/app/core/services/pipes/usage-mode.pipes.d.ts +7 -0
- package/src/app/core/services/platform.service.d.ts +22 -21
- package/src/app/core/services/storage/entities-storage.service.d.ts +5 -2
- package/src/app/core/services/storage/entity-store.class.d.ts +3 -3
- package/src/app/core/services/testing/referential.validator.d.ts +8 -5
- package/src/app/core/services/validator/account.validator.d.ts +6 -3
- package/src/app/core/services/validator/base.validator.class.d.ts +8 -5
- package/src/app/core/services/validator/local-settings.validator.d.ts +8 -5
- package/src/app/core/services/validator/user-settings.validator.d.ts +6 -3
- package/src/app/core/settings/settings.page.d.ts +8 -5
- package/src/app/core/table/actions-column.component.d.ts +3 -0
- package/src/app/core/table/entities-table-datasource.class.d.ts +11 -9
- package/src/app/core/table/memory-table.class.d.ts +3 -0
- package/src/app/core/table/table-select-columns.component.d.ts +4 -5
- package/src/app/core/table/table.class.d.ts +53 -34
- package/src/app/core/table/testing/table.testing.d.ts +13 -15
- package/src/app/core/table/testing/table.testing.module.d.ts +9 -0
- package/src/app/core/text-popover/testing/text-popover.testing.d.ts +4 -1
- package/src/app/core/text-popover/testing/text-popover.testing.module.d.ts +9 -0
- package/src/app/core/text-popover/text-form.component.d.ts +7 -4
- package/src/app/core/text-popover/text-popover.component.d.ts +3 -0
- package/src/app/shared/alerts.d.ts +4 -4
- package/src/app/shared/audio/audio.d.ts +20 -11
- package/src/app/shared/audio/audio.testing.d.ts +13 -0
- package/src/app/shared/audio/audio.testing.module.d.ts +11 -0
- package/src/app/shared/capacitor/keyboard.d.ts +16 -0
- package/src/app/shared/capacitor/plugins.d.ts +7 -0
- package/src/app/shared/constants.d.ts +1 -0
- package/src/app/shared/directives/autofocus.directive.d.ts +9 -7
- package/src/app/shared/directives/autotitle.directive.d.ts +3 -0
- package/src/app/shared/directives/directives.module.d.ts +10 -0
- package/src/app/shared/directives/drag-and-drop.directive.d.ts +3 -0
- package/src/app/shared/directives/ng-var.directive.d.ts +3 -0
- package/src/app/shared/directives/resizable/resizable.component.d.ts +3 -0
- package/src/app/shared/directives/resizable/resizable.directive.d.ts +3 -0
- package/src/app/shared/directives/resizable/resizable.module.d.ts +6 -0
- package/src/app/shared/file/file.service.d.ts +3 -0
- package/src/app/shared/file/file.utils.d.ts +1 -1
- package/src/app/shared/form/field.component.d.ts +9 -3
- package/src/app/shared/form/field.model.d.ts +2 -2
- package/src/app/shared/form/loading-spinner.d.ts +3 -0
- package/src/app/shared/forms.d.ts +12 -12
- package/src/app/shared/gesture/gesture-config.d.ts +3 -0
- package/src/app/shared/gesture/hammer.utils.d.ts +11 -11
- package/src/app/shared/guard/component-dirty.guard.d.ts +3 -0
- package/src/app/shared/help/help.modal.d.ts +4 -1
- package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +3 -0
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +4 -1
- package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +9 -0
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +77 -0
- package/src/app/shared/image/gallery/image-gallery.module.d.ts +12 -0
- package/src/app/shared/image/gallery/testing/gallegry.model.testing.d.ts +12 -0
- package/src/app/shared/image/gallery/testing/gallery.service.testing.d.ts +33 -0
- package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +15 -0
- package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +12 -0
- package/src/app/shared/image/image.model.d.ts +5 -0
- package/src/app/shared/image/image.module.d.ts +8 -0
- package/src/app/shared/image/image.service.d.ts +32 -0
- package/src/app/shared/inputs.d.ts +3 -3
- package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +36 -0
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +11 -40
- package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +19 -0
- package/src/app/shared/material/autocomplete/material.autocomplete.utils.d.ts +4 -0
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +12 -9
- package/src/app/shared/material/badge/badge-icon.directive.d.ts +6 -4
- package/src/app/shared/material/badge/badge-icon.module.d.ts +8 -0
- package/src/app/shared/material/badge/badge-icon.test.d.ts +4 -1
- package/src/app/shared/material/boolean/boolean.module.d.ts +17 -0
- package/src/app/shared/material/boolean/material.boolean.d.ts +7 -4
- package/src/app/shared/material/chips/chips.module.d.ts +19 -0
- package/src/app/shared/material/chips/material.chips.d.ts +11 -8
- package/src/app/shared/material/chips/testing/chips.test.d.ts +8 -5
- package/src/app/shared/material/datetime/datetime.module.d.ts +22 -0
- package/src/app/shared/material/datetime/material.date.d.ts +11 -9
- package/src/app/shared/material/datetime/material.dateshort.d.ts +10 -9
- package/src/app/shared/material/datetime/material.datetime.d.ts +13 -12
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +11 -9
- package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +11 -9
- package/src/app/shared/material/duration/duration.module.d.ts +16 -0
- package/src/app/shared/material/duration/material.duration.d.ts +8 -5
- package/src/app/shared/material/latlong/material.latlong.d.ts +8 -5
- package/src/app/shared/material/latlong/material.latlong.module.d.ts +17 -0
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +10 -7
- package/src/app/shared/material/material.module.d.ts +43 -0
- package/src/app/shared/material/material.testing.module.d.ts +19 -0
- package/src/app/shared/material/numpad/numpad.append-to-input.directive.d.ts +3 -0
- package/src/app/shared/material/numpad/numpad.component.d.ts +4 -1
- package/src/app/shared/material/numpad/numpad.container.d.ts +5 -2
- package/src/app/shared/material/numpad/numpad.content.d.ts +3 -0
- package/src/app/shared/material/numpad/numpad.directive.d.ts +4 -1
- package/src/app/shared/material/numpad/numpad.dom-service.d.ts +3 -0
- package/src/app/shared/material/numpad/numpad.model.d.ts +1 -1
- package/src/app/shared/material/numpad/numpad.module.d.ts +14 -0
- package/src/app/shared/material/numpad/testing/numpad.test.d.ts +7 -4
- package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +3 -0
- package/src/app/shared/material/stepper/material.stepper-i18n.d.ts +3 -0
- package/src/app/shared/material/swipe/material.swipe.d.ts +6 -3
- package/src/app/shared/material/swipe/swipe.module.d.ts +13 -0
- package/src/app/shared/material/swipe/testing/swipe.test.d.ts +7 -4
- package/src/app/shared/pipes/arrays.pipe.d.ts +15 -0
- package/src/app/shared/pipes/colors.pipe.d.ts +9 -0
- package/src/app/shared/pipes/date-diff-duration.pipe.d.ts +4 -0
- package/src/app/shared/pipes/date-format.pipe.d.ts +4 -0
- package/src/app/shared/pipes/date-from-now.pipe.d.ts +4 -0
- package/src/app/shared/pipes/duration.pipe.d.ts +4 -0
- package/src/app/shared/pipes/file-size.pipe.d.ts +3 -0
- package/src/app/shared/pipes/form.pipes.d.ts +18 -5
- package/src/app/shared/pipes/highlight.pipe.d.ts +4 -0
- package/src/app/shared/pipes/latlong-format.pipe.d.ts +7 -0
- package/src/app/shared/pipes/maps.pipe.d.ts +10 -0
- package/src/app/shared/pipes/math.pipes.d.ts +10 -0
- package/src/app/shared/pipes/ng-init.pipe.d.ts +3 -0
- package/src/app/shared/pipes/number-format.pipe.d.ts +4 -0
- package/src/app/shared/pipes/pipes.module.d.ts +24 -0
- package/src/app/shared/pipes/property.pipes.d.ts +6 -0
- package/src/app/shared/pipes/string.pipes.d.ts +11 -0
- package/src/app/shared/pipes/translate-context.pipe.d.ts +7 -0
- package/src/app/shared/platforms.d.ts +1 -0
- package/src/app/shared/services/entity-service.class.d.ts +3 -0
- package/src/app/shared/services/memory-entity-service.class.d.ts +3 -0
- package/src/app/shared/services/progress-bar.service.d.ts +4 -1
- package/src/app/shared/services/storage/storage.service.d.ts +23 -0
- package/src/app/shared/services/storage/storage.utils.d.ts +19 -0
- package/src/app/shared/services/translate-context.service.d.ts +3 -0
- package/src/app/shared/services/validator-service.class.d.ts +2 -2
- package/src/app/shared/shared-routing.module.d.ts +7 -0
- package/src/app/shared/shared.module.d.ts +23 -0
- package/src/app/shared/shared.testing.module.d.ts +12 -0
- package/src/app/shared/testing/tests.page.d.ts +3 -0
- package/src/app/shared/toast/toast.testing.d.ts +3 -0
- package/src/app/shared/toast/toast.testing.module.d.ts +9 -0
- package/src/app/shared/toolbar/modal-toolbar.d.ts +5 -2
- package/src/app/shared/toolbar/toolbar.d.ts +9 -5
- package/src/app/shared/toolbar/toolbar.module.d.ts +15 -0
- package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +4 -1
- package/src/app/shared/upload-file/testing/upload-file.testing.module.d.ts +9 -0
- package/src/app/shared/upload-file/upload-file-popover.component.d.ts +3 -0
- package/src/app/shared/upload-file/upload-file.component.d.ts +3 -0
- package/src/app/shared/validator/form-error-adapter.class.d.ts +3 -0
- package/src/app/shared/validator/validators.d.ts +9 -9
- package/src/app/social/job/job.module.d.ts +9 -0
- package/src/app/social/job/job.service.d.ts +3 -0
- package/src/app/social/job/progression/job-progression.component.d.ts +4 -1
- package/src/app/social/job/progression/job-progression.list.d.ts +3 -0
- package/src/app/social/job/testing/job-progression.testing.d.ts +3 -0
- package/src/app/social/job/testing/job-progression.testing.service.d.ts +3 -0
- package/src/app/social/job/testing/job.testing.module.d.ts +9 -0
- package/src/app/social/message/message.form.d.ts +5 -2
- package/src/app/social/message/message.modal.d.ts +5 -2
- package/src/app/social/message/message.module.d.ts +9 -0
- package/src/app/social/message/message.service.d.ts +3 -0
- package/src/app/social/social.module.d.ts +10 -0
- package/src/app/social/social.testing.module.d.ts +9 -0
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +4 -1
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +7 -4
- package/src/app/social/user-event/testing/user-event.testing.d.ts +3 -0
- package/src/app/social/user-event/testing/user-event.testing.model.d.ts +1 -0
- package/src/app/social/user-event/testing/user-event.testing.module.d.ts +9 -0
- package/src/app/social/user-event/testing/user-event.testing.service.d.ts +5 -1
- package/src/app/social/user-event/user-event.model.d.ts +3 -2
- package/src/app/social/user-event/user-event.module.d.ts +10 -0
- package/src/app/social/user-event/user-event.service.d.ts +16 -11
- package/src/assets/audio/beep-notification.mp3 +0 -0
- package/src/assets/i18n/fr.json +9 -2
- package/src/environments/environment.class.d.ts +2 -0
- package/src/environments/environment.d.ts +1 -1
- package/src/theme/_icons.scss +1 -1
- package/src/theme/_material.globals.scss +29 -31
- package/src/theme/_material.scss +3 -2
- package/src/theme/_mixins.scss +4 -4
- package/src/theme/_ngx-components.scss +6 -0
- package/src/theme/_print.scss +24 -0
- package/bundles/sumaris-net.ngx-components.umd.js +0 -35297
- package/bundles/sumaris-net.ngx-components.umd.js.map +0 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +0 -25
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +0 -1
- package/esm2015/public_api.js +0 -244
- package/esm2015/src/app/admin/admin-routing.module.js +0 -34
- package/esm2015/src/app/admin/admin.module.js +0 -34
- package/esm2015/src/app/admin/services/filter/person.filter.js +0 -59
- package/esm2015/src/app/admin/services/person.service.js +0 -175
- package/esm2015/src/app/admin/services/validator/person.validator.js +0 -37
- package/esm2015/src/app/admin/users/list/users.js +0 -216
- package/esm2015/src/app/core/about/modal-about.js +0 -63
- package/esm2015/src/app/core/account/account.js +0 -240
- package/esm2015/src/app/core/auth/form/form-auth.js +0 -134
- package/esm2015/src/app/core/auth/modal/modal-auth.js +0 -78
- package/esm2015/src/app/core/core.module.js +0 -127
- package/esm2015/src/app/core/core.testing.module.js +0 -51
- package/esm2015/src/app/core/form/editor.class.js +0 -632
- package/esm2015/src/app/core/form/entity-editor-modal.class.js +0 -421
- package/esm2015/src/app/core/form/entity-editor.class.js +0 -696
- package/esm2015/src/app/core/form/entity-metadata.component.js +0 -22
- package/esm2015/src/app/core/form/form-buttons-bar.component.js +0 -63
- package/esm2015/src/app/core/form/form.class.js +0 -338
- package/esm2015/src/app/core/form/form.utils.js +0 -264
- package/esm2015/src/app/core/form/list.form.js +0 -219
- package/esm2015/src/app/core/form/properties.form.js +0 -119
- package/esm2015/src/app/core/graphql/graphql.module.js +0 -18
- package/esm2015/src/app/core/graphql/graphql.service.js +0 -734
- package/esm2015/src/app/core/graphql/graphql.utils.js +0 -107
- package/esm2015/src/app/core/home/home.js +0 -265
- package/esm2015/src/app/core/icon/icon.component.js +0 -32
- package/esm2015/src/app/core/icon/icon.module.js +0 -26
- package/esm2015/src/app/core/install/install-upgrade-card.component.js +0 -358
- package/esm2015/src/app/core/menu/menu.component.js +0 -329
- package/esm2015/src/app/core/menu/menu.module.js +0 -28
- package/esm2015/src/app/core/offline/update-offline-mode-card.component.js +0 -26
- package/esm2015/src/app/core/peer/select-peer.modal.js +0 -134
- package/esm2015/src/app/core/register/confirm/confirm.js +0 -86
- package/esm2015/src/app/core/register/form/form-register.js +0 -172
- package/esm2015/src/app/core/register/modal/modal-register.js +0 -55
- package/esm2015/src/app/core/services/account.service.js +0 -1165
- package/esm2015/src/app/core/services/auth-guard.service.js +0 -77
- package/esm2015/src/app/core/services/base-entity-service.class.js +0 -455
- package/esm2015/src/app/core/services/base-graphql-service.class.js +0 -221
- package/esm2015/src/app/core/services/config.service.js +0 -385
- package/esm2015/src/app/core/services/local-settings.service.js +0 -460
- package/esm2015/src/app/core/services/model/account.model.js +0 -50
- package/esm2015/src/app/core/services/model/config.model.js +0 -89
- package/esm2015/src/app/core/services/model/department.model.js +0 -30
- package/esm2015/src/app/core/services/model/entity.decorators.js +0 -104
- package/esm2015/src/app/core/services/model/entity.model.js +0 -245
- package/esm2015/src/app/core/services/model/peer.model.js +0 -68
- package/esm2015/src/app/core/services/model/person.model.js +0 -83
- package/esm2015/src/app/core/services/model/referential.model.js +0 -147
- package/esm2015/src/app/core/services/model/settings.model.js +0 -75
- package/esm2015/src/app/core/services/network.service.js +0 -639
- package/esm2015/src/app/core/services/network.utils.js +0 -19
- package/esm2015/src/app/core/services/pipes/account.pipes.js +0 -28
- package/esm2015/src/app/core/services/pipes/department-to-string.pipe.js +0 -18
- package/esm2015/src/app/core/services/pipes/person-to-string.pipe.js +0 -18
- package/esm2015/src/app/core/services/pipes/usage-mode.pipes.js +0 -27
- package/esm2015/src/app/core/services/platform.service.js +0 -549
- package/esm2015/src/app/core/services/storage/entities-storage.service.js +0 -452
- package/esm2015/src/app/core/services/storage/entity-store.class.js +0 -461
- package/esm2015/src/app/core/services/testing/referential-filter.model.js +0 -23
- package/esm2015/src/app/core/services/testing/referential.validator.js +0 -44
- package/esm2015/src/app/core/services/validator/account.validator.js +0 -55
- package/esm2015/src/app/core/services/validator/base.validator.class.js +0 -48
- package/esm2015/src/app/core/services/validator/local-settings.validator.js +0 -72
- package/esm2015/src/app/core/services/validator/user-settings.validator.js +0 -30
- package/esm2015/src/app/core/settings/settings.page.js +0 -305
- package/esm2015/src/app/core/table/actions-column.component.js +0 -74
- package/esm2015/src/app/core/table/entities-table-datasource.class.js +0 -389
- package/esm2015/src/app/core/table/memory-table.class.js +0 -59
- package/esm2015/src/app/core/table/table-select-columns.component.js +0 -44
- package/esm2015/src/app/core/table/table.class.js +0 -1651
- package/esm2015/src/app/core/table/testing/table.testing.js +0 -241
- package/esm2015/src/app/core/table/testing/table.testing.module.js +0 -26
- package/esm2015/src/app/core/text-popover/testing/text-popover.testing.js +0 -37
- package/esm2015/src/app/core/text-popover/testing/text-popover.testing.module.js +0 -33
- package/esm2015/src/app/core/text-popover/text-form.component.js +0 -72
- package/esm2015/src/app/core/text-popover/text-popover.component.js +0 -90
- package/esm2015/src/app/shared/alerts.js +0 -251
- package/esm2015/src/app/shared/audio/audio.js +0 -178
- package/esm2015/src/app/shared/dates.js +0 -134
- package/esm2015/src/app/shared/directives/autofocus.directive.js +0 -90
- package/esm2015/src/app/shared/directives/autotitle.directive.js +0 -27
- package/esm2015/src/app/shared/directives/directives.module.js +0 -30
- package/esm2015/src/app/shared/directives/drag-and-drop.directive.js +0 -43
- package/esm2015/src/app/shared/directives/ng-var.directive.js +0 -32
- package/esm2015/src/app/shared/directives/resizable/resizable.component.js +0 -54
- package/esm2015/src/app/shared/directives/resizable/resizable.directive.js +0 -34
- package/esm2015/src/app/shared/directives/resizable/resizable.module.js +0 -12
- package/esm2015/src/app/shared/events.js +0 -61
- package/esm2015/src/app/shared/file/csv.utils.js +0 -70
- package/esm2015/src/app/shared/file/file.service.js +0 -121
- package/esm2015/src/app/shared/file/file.utils.js +0 -116
- package/esm2015/src/app/shared/file/images.utils.js +0 -166
- package/esm2015/src/app/shared/form/field.component.js +0 -206
- package/esm2015/src/app/shared/form/loading-spinner.js +0 -24
- package/esm2015/src/app/shared/forms.js +0 -339
- package/esm2015/src/app/shared/functions.js +0 -418
- package/esm2015/src/app/shared/gesture/hammer.utils.js +0 -2
- package/esm2015/src/app/shared/graph/graph-colors.js +0 -256
- package/esm2015/src/app/shared/guard/component-dirty.guard.js +0 -61
- package/esm2015/src/app/shared/help/help.modal.js +0 -56
- package/esm2015/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.js +0 -20
- package/esm2015/src/app/shared/hotkeys/hotkeys.service.js +0 -91
- package/esm2015/src/app/shared/hotkeys/shared-hotkeys.module.js +0 -29
- package/esm2015/src/app/shared/http/http.utils.js +0 -57
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +0 -825
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.module.js +0 -46
- package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +0 -200
- package/esm2015/src/app/shared/material/badge/badge-icon.directive.js +0 -135
- package/esm2015/src/app/shared/material/badge/badge-icon.module.js +0 -23
- package/esm2015/src/app/shared/material/badge/badge-icon.test.js +0 -17
- package/esm2015/src/app/shared/material/boolean/boolean.module.js +0 -41
- package/esm2015/src/app/shared/material/boolean/material.boolean.js +0 -223
- package/esm2015/src/app/shared/material/chips/chips.module.js +0 -45
- package/esm2015/src/app/shared/material/chips/material.chips.js +0 -636
- package/esm2015/src/app/shared/material/chips/testing/chips.test.js +0 -138
- package/esm2015/src/app/shared/material/datetime/datetime.module.js +0 -54
- package/esm2015/src/app/shared/material/datetime/material.date.js +0 -375
- package/esm2015/src/app/shared/material/datetime/material.dateshort.js +0 -316
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +0 -398
- package/esm2015/src/app/shared/material/datetime/testing/mat-date-time.test.js +0 -110
- package/esm2015/src/app/shared/material/datetime/testing/mat-date.test.js +0 -108
- package/esm2015/src/app/shared/material/duration/duration.module.js +0 -40
- package/esm2015/src/app/shared/material/duration/material.duration.js +0 -246
- package/esm2015/src/app/shared/material/latlong/latlong.utils.js +0 -249
- package/esm2015/src/app/shared/material/latlong/material.latlong.js +0 -350
- package/esm2015/src/app/shared/material/latlong/material.latlong.module.js +0 -41
- package/esm2015/src/app/shared/material/latlong/testing/latlong.test.js +0 -70
- package/esm2015/src/app/shared/material/material.module.js +0 -93
- package/esm2015/src/app/shared/material/numpad/numpad.append-to-input.directive.js +0 -96
- package/esm2015/src/app/shared/material/numpad/numpad.component.js +0 -73
- package/esm2015/src/app/shared/material/numpad/numpad.container.js +0 -149
- package/esm2015/src/app/shared/material/numpad/numpad.content.js +0 -14
- package/esm2015/src/app/shared/material/numpad/numpad.directive.js +0 -148
- package/esm2015/src/app/shared/material/numpad/numpad.dom-service.js +0 -37
- package/esm2015/src/app/shared/material/numpad/numpad.module.js +0 -39
- package/esm2015/src/app/shared/material/numpad/testing/numpad.test.js +0 -44
- package/esm2015/src/app/shared/material/paginator/material.paginator-i18n.js +0 -44
- package/esm2015/src/app/shared/material/stepper/material.stepper-i18n.js +0 -24
- package/esm2015/src/app/shared/material/swipe/material.swipe.js +0 -308
- package/esm2015/src/app/shared/material/swipe/swipe.module.js +0 -33
- package/esm2015/src/app/shared/material/swipe/testing/swipe.test.js +0 -68
- package/esm2015/src/app/shared/observables.js +0 -99
- package/esm2015/src/app/shared/pipes/arrays.pipe.js +0 -92
- package/esm2015/src/app/shared/pipes/date-diff-duration.pipe.js +0 -50
- package/esm2015/src/app/shared/pipes/date-format.pipe.js +0 -43
- package/esm2015/src/app/shared/pipes/file-size.pipe.js +0 -58
- package/esm2015/src/app/shared/pipes/form.pipes.js +0 -177
- package/esm2015/src/app/shared/pipes/highlight.pipe.js +0 -43
- package/esm2015/src/app/shared/pipes/latlong-format.pipe.js +0 -36
- package/esm2015/src/app/shared/pipes/maps.pipe.js +0 -48
- package/esm2015/src/app/shared/pipes/math.pipes.js +0 -44
- package/esm2015/src/app/shared/pipes/ng-init.pipe.js +0 -18
- package/esm2015/src/app/shared/pipes/pipes.module.js +0 -115
- package/esm2015/src/app/shared/pipes/property.pipes.js +0 -98
- package/esm2015/src/app/shared/pipes/string.pipes.js +0 -53
- package/esm2015/src/app/shared/pipes/translate-context.pipe.js +0 -36
- package/esm2015/src/app/shared/platforms.js +0 -45
- package/esm2015/src/app/shared/services/entity-service.class.js +0 -17
- package/esm2015/src/app/shared/services/job.utils.js +0 -96
- package/esm2015/src/app/shared/services/memory-entity-service.class.js +0 -260
- package/esm2015/src/app/shared/services/progress-bar.service.js +0 -30
- package/esm2015/src/app/shared/services/startable-service.class.js +0 -98
- package/esm2015/src/app/shared/services/storage.utils.js +0 -41
- package/esm2015/src/app/shared/services/translate-context.service.js +0 -83
- package/esm2015/src/app/shared/services/validator-service.class.js +0 -2
- package/esm2015/src/app/shared/services.js +0 -61
- package/esm2015/src/app/shared/shared-routing.module.js +0 -54
- package/esm2015/src/app/shared/shared.module.js +0 -135
- package/esm2015/src/app/shared/shared.testing.module.js +0 -33
- package/esm2015/src/app/shared/testing/tests.page.js +0 -34
- package/esm2015/src/app/shared/toast/toast.testing.js +0 -39
- package/esm2015/src/app/shared/toast/toast.testing.module.js +0 -33
- package/esm2015/src/app/shared/toast/toasts.js +0 -119
- package/esm2015/src/app/shared/toolbar/modal-toolbar.js +0 -53
- package/esm2015/src/app/shared/toolbar/toolbar.js +0 -213
- package/esm2015/src/app/shared/upload-file/testing/upload-file.testing.js +0 -59
- package/esm2015/src/app/shared/upload-file/testing/upload-file.testing.module.js +0 -33
- package/esm2015/src/app/shared/upload-file/upload-file-popover.component.js +0 -98
- package/esm2015/src/app/shared/upload-file/upload-file.component.js +0 -202
- package/esm2015/src/app/shared/upload-file/upload-file.model.js +0 -20
- package/esm2015/src/app/shared/validator/form-error-adapter.class.js +0 -99
- package/esm2015/src/app/shared/validator/validators.js +0 -537
- package/esm2015/src/app/social/job/job.model.js +0 -26
- package/esm2015/src/app/social/job/job.module.js +0 -25
- package/esm2015/src/app/social/job/job.service.js +0 -54
- package/esm2015/src/app/social/job/progression/job-progression.component.js +0 -200
- package/esm2015/src/app/social/job/progression/job-progression.list.js +0 -20
- package/esm2015/src/app/social/job/testing/job-progression.testing.js +0 -48
- package/esm2015/src/app/social/job/testing/job-progression.testing.service.js +0 -30
- package/esm2015/src/app/social/job/testing/job.testing.module.js +0 -25
- package/esm2015/src/app/social/message/message.form.js +0 -73
- package/esm2015/src/app/social/message/message.modal.js +0 -96
- package/esm2015/src/app/social/message/message.model.js +0 -65
- package/esm2015/src/app/social/message/message.module.js +0 -25
- package/esm2015/src/app/social/message/message.service.js +0 -87
- package/esm2015/src/app/social/social.module.js +0 -28
- package/esm2015/src/app/social/social.testing.module.js +0 -39
- package/esm2015/src/app/social/user-event/notification/user-event-notification.icon.js +0 -95
- package/esm2015/src/app/social/user-event/notification/user-event-notification.list.js +0 -203
- package/esm2015/src/app/social/user-event/testing/user-event.testing.js +0 -230
- package/esm2015/src/app/social/user-event/testing/user-event.testing.model.js +0 -103
- package/esm2015/src/app/social/user-event/testing/user-event.testing.module.js +0 -25
- package/esm2015/src/app/social/user-event/testing/user-event.testing.service.js +0 -117
- package/esm2015/src/app/social/user-event/user-event.model.js +0 -2
- package/esm2015/src/app/social/user-event/user-event.module.js +0 -27
- package/esm2015/src/app/social/user-event/user-event.service.js +0 -509
- package/esm2015/src/environments/environment.class.js +0 -5
- package/esm2015/src/environments/environment.js +0 -81
- package/esm2015/sumaris-net.ngx-components.js +0 -21
- package/fesm2015/sumaris-net.ngx-components.js +0 -29932
- package/fesm2015/sumaris-net.ngx-components.js.map +0 -1
- package/src/app/shared/services/storage.utils.d.ts +0 -13
- package/sumaris-net.ngx-components.d.ts +0 -20
- package/sumaris-net.ngx-components.metadata.json +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef, QueryList } from '@angular/core';
|
|
2
2
|
import { FocusableElement } from './focusable';
|
|
3
|
-
export declare function selectInputContent(event:
|
|
3
|
+
export declare function selectInputContent(event: Event): boolean;
|
|
4
4
|
export declare function selectInputRange(input: any, startIndex: number, endIndex?: number): boolean;
|
|
5
5
|
export declare function getCaretPosition(input: any): number;
|
|
6
6
|
export declare function moveInputCaretToSeparator(event: KeyboardEvent, separator: string, forward?: boolean): boolean;
|
|
@@ -28,5 +28,5 @@ export interface GetFocusableInputOptions extends CanGainFocusOptions {
|
|
|
28
28
|
}
|
|
29
29
|
export declare function canHaveFocus(input: InputElement, opts?: CanGainFocusOptions): boolean;
|
|
30
30
|
export declare function getFocusableInputElements(elements: QueryList<ElementRef>, opts?: GetFocusableInputOptions): InputElement[];
|
|
31
|
-
export declare function focusNextInput(event:
|
|
32
|
-
export declare function focusPreviousInput(event:
|
|
31
|
+
export declare function focusNextInput(event: Event | undefined, elements: QueryList<ElementRef>, opts?: GetFocusableInputOptions): boolean;
|
|
32
|
+
export declare function focusPreviousInput(event: Event | undefined, elements: QueryList<ElementRef>, opts?: GetFocusableInputOptions): boolean;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { LoadResult, SuggestService } from '../../services/entity-service.class';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { DisplayFn, EqualsFn } from '../../form/field.model';
|
|
4
|
+
export declare interface MatAutocompleteFieldConfig<T = any, F = any> {
|
|
5
|
+
attributes: string[];
|
|
6
|
+
suggestFn?: (value: any, options?: any) => Promise<T[] | LoadResult<T>>;
|
|
7
|
+
filter?: Partial<F>;
|
|
8
|
+
items?: Observable<T[]> | T[];
|
|
9
|
+
columnSizes?: (number | 'auto' | undefined)[];
|
|
10
|
+
columnNames?: (string | undefined)[];
|
|
11
|
+
multiple?: boolean;
|
|
12
|
+
displayWith?: DisplayFn;
|
|
13
|
+
equals?: EqualsFn;
|
|
14
|
+
showAllOnFocus?: boolean;
|
|
15
|
+
showPanelOnFocus?: boolean;
|
|
16
|
+
class?: string;
|
|
17
|
+
mobile?: boolean;
|
|
18
|
+
debounceTime?: number;
|
|
19
|
+
suggestLengthThreshold?: number;
|
|
20
|
+
highlightAccent?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare interface MatAutocompleteFieldAddOptions<T = any, F = any> extends Partial<MatAutocompleteFieldConfig<T, F>> {
|
|
23
|
+
service?: SuggestService<T, F>;
|
|
24
|
+
}
|
|
25
|
+
export declare class MatAutocompleteConfigHolder {
|
|
26
|
+
private options?;
|
|
27
|
+
fields: {
|
|
28
|
+
[key: string]: MatAutocompleteFieldConfig;
|
|
29
|
+
};
|
|
30
|
+
getUserAttributes: (fieldName: string, defaultAttributes?: string[]) => string[];
|
|
31
|
+
constructor(options?: {
|
|
32
|
+
getUserAttributes: (fieldName: string, defaultAttributes?: string[]) => string[];
|
|
33
|
+
});
|
|
34
|
+
add<T = any, F = any>(fieldName: string, options?: MatAutocompleteFieldAddOptions<T, F>): MatAutocompleteFieldConfig<T, F>;
|
|
35
|
+
get<T = any>(fieldName: string): MatAutocompleteFieldConfig<T>;
|
|
36
|
+
}
|
|
@@ -1,46 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor,
|
|
2
|
+
import { ControlValueAccessor, FormGroupDirective, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
4
|
+
import { SuggestFn } from '../../services/entity-service.class';
|
|
5
5
|
import { InputElement } from '../../inputs';
|
|
6
6
|
import { DisplayFn, EqualsFn } from '../../form/field.model';
|
|
7
7
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
8
8
|
import { MatSelect } from '@angular/material/select';
|
|
9
9
|
import { MatAutocomplete, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
10
10
|
import { IonSearchbar } from '@ionic/angular';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
suggestFn?: (value: any, options?: any) => Promise<T[] | LoadResult<T>>;
|
|
14
|
-
filter?: Partial<F>;
|
|
15
|
-
items?: Observable<T[]> | T[];
|
|
16
|
-
columnSizes?: (number | 'auto' | undefined)[];
|
|
17
|
-
columnNames?: (string | undefined)[];
|
|
18
|
-
multiple?: boolean;
|
|
19
|
-
displayWith?: DisplayFn;
|
|
20
|
-
equals?: EqualsFn;
|
|
21
|
-
showAllOnFocus?: boolean;
|
|
22
|
-
showPanelOnFocus?: boolean;
|
|
23
|
-
class?: string;
|
|
24
|
-
mobile?: boolean;
|
|
25
|
-
debounceTime?: number;
|
|
26
|
-
suggestLengthThreshold?: number;
|
|
27
|
-
highlightAccent?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export declare interface MatAutocompleteFieldAddOptions<T = any, F = any> extends Partial<MatAutocompleteFieldConfig<T, F>> {
|
|
30
|
-
service?: SuggestService<T, F>;
|
|
31
|
-
}
|
|
32
|
-
export declare class MatAutocompleteConfigHolder {
|
|
33
|
-
private options?;
|
|
34
|
-
fields: {
|
|
35
|
-
[key: string]: MatAutocompleteFieldConfig;
|
|
36
|
-
};
|
|
37
|
-
getUserAttributes: (fieldName: string, defaultAttributes?: string[]) => string[];
|
|
38
|
-
constructor(options?: {
|
|
39
|
-
getUserAttributes: (fieldName: string, defaultAttributes?: string[]) => string[];
|
|
40
|
-
});
|
|
41
|
-
add<T = any, F = any>(fieldName: string, options?: MatAutocompleteFieldAddOptions<T, F>): MatAutocompleteFieldConfig<T, F>;
|
|
42
|
-
get<T = any>(fieldName: string): MatAutocompleteFieldConfig<T>;
|
|
43
|
-
}
|
|
11
|
+
import { MatAutocompleteFieldConfig } from './material.autocomplete.config';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
44
13
|
export declare class MatAutocompleteField implements OnInit, OnDestroy, InputElement, ControlValueAccessor {
|
|
45
14
|
protected cd: ChangeDetectorRef;
|
|
46
15
|
private formGroupDir;
|
|
@@ -48,7 +17,7 @@ export declare class MatAutocompleteField implements OnInit, OnDestroy, InputEle
|
|
|
48
17
|
private _onTouchedCallback;
|
|
49
18
|
equals: EqualsFn;
|
|
50
19
|
logPrefix: string;
|
|
51
|
-
formControl:
|
|
20
|
+
formControl: UntypedFormControl;
|
|
52
21
|
formControlName: string;
|
|
53
22
|
floatLabel: FloatLabelType;
|
|
54
23
|
appearance: MatFormFieldAppearance;
|
|
@@ -83,7 +52,7 @@ export declare class MatAutocompleteField implements OnInit, OnDestroy, InputEle
|
|
|
83
52
|
clicked: EventEmitter<MouseEvent>;
|
|
84
53
|
blurred: EventEmitter<FocusEvent>;
|
|
85
54
|
focused: EventEmitter<FocusEvent>;
|
|
86
|
-
dropButtonClick: EventEmitter<
|
|
55
|
+
dropButtonClick: EventEmitter<Event>;
|
|
87
56
|
keydownEscape: EventEmitter<any>;
|
|
88
57
|
keyupEnter: EventEmitter<any>;
|
|
89
58
|
matSelect: MatSelect;
|
|
@@ -134,11 +103,11 @@ export declare class MatAutocompleteField implements OnInit, OnDestroy, InputEle
|
|
|
134
103
|
setDisabledState(isDisabled: boolean): void;
|
|
135
104
|
focus(): void;
|
|
136
105
|
filterInputTextFocusEvent(event: FocusEvent): boolean;
|
|
137
|
-
filterInputTextBlurEvent(event: FocusEvent): boolean;
|
|
138
|
-
ionSearchBarChanged(event:
|
|
106
|
+
protected filterInputTextBlurEvent(event: FocusEvent): boolean;
|
|
107
|
+
protected ionSearchBarChanged(event: Event): void;
|
|
139
108
|
filterMatSelectFocusEvent(event: FocusEvent): void;
|
|
140
109
|
filterMatSelectBlurEvent(event: FocusEvent): boolean;
|
|
141
|
-
clearValue(event:
|
|
110
|
+
clearValue(event: Event): void;
|
|
142
111
|
_initAutocompleteInfiniteScroll(threshold?: string): void;
|
|
143
112
|
_initMatSelectInfiniteScroll(threshold?: string): void;
|
|
144
113
|
get isOpen(): boolean;
|
|
@@ -151,4 +120,6 @@ export declare class MatAutocompleteField implements OnInit, OnDestroy, InputEle
|
|
|
151
120
|
private getMatSelectPanel;
|
|
152
121
|
private markForCheck;
|
|
153
122
|
markAsLoading(): void;
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteField, [null, { optional: true; }]>;
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatAutocompleteField, "mat-autocomplete-field", never, { "equals": "equals"; "logPrefix": "logPrefix"; "formControl": "formControl"; "formControlName": "formControlName"; "floatLabel": "floatLabel"; "appearance": "appearance"; "placeholder": "placeholder"; "suggestFn": "suggestFn"; "required": "required"; "mobile": "mobile"; "clearable": "clearable"; "debounceTime": "debounceTime"; "displayWith": "displayWith"; "displayAttributes": "displayAttributes"; "displayColumnSizes": "displayColumnSizes"; "displayColumnNames": "displayColumnNames"; "highlightAccent": "highlightAccent"; "showAllOnFocus": "showAllOnFocus"; "showPanelOnFocus": "showPanelOnFocus"; "autofocus": "autofocus"; "config": "config"; "i18nPrefix": "i18nPrefix"; "noResultMessage": "noResultMessage"; "classList": "class"; "panelWidth": "panelWidth"; "matAutocompletePosition": "matAutocompletePosition"; "multiple": "multiple"; "itemSize": "itemSize"; "fetchMoreThreshold": "fetchMoreThreshold"; "suggestLengthThreshold": "suggestLengthThreshold"; "showLoadingSpinner": "showLoadingSpinner"; "debug": "debug"; "showSearchBar": "showSearchBar"; "stickySearchBar": "stickySearchBar"; "filter": "filter"; "readonly": "readonly"; "tabindex": "tabindex"; "items": "items"; }, { "clicked": "click"; "blurred": "blur"; "focused": "focus"; "dropButtonClick": "dropButtonClick"; "keydownEscape": "keydown.escape"; "keyupEnter": "keyup.enter"; }, never, ["[matError]", "[matAfter]", "[matPrefix]", "[matSuffix]"], false>;
|
|
154
125
|
}
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./material.autocomplete";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@angular/cdk/scrolling";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "../../pipes/pipes.module";
|
|
8
|
+
import * as i7 from "../../directives/directives.module";
|
|
9
|
+
import * as i8 from "@angular/material/core";
|
|
10
|
+
import * as i9 from "@angular/material/autocomplete";
|
|
11
|
+
import * as i10 from "@angular/material/form-field";
|
|
12
|
+
import * as i11 from "@angular/material/input";
|
|
13
|
+
import * as i12 from "@angular/material/icon";
|
|
14
|
+
import * as i13 from "@angular/material/button";
|
|
15
|
+
import * as i14 from "@angular/material/select";
|
|
16
|
+
import * as i15 from "@ngx-translate/core";
|
|
1
17
|
export declare class SharedMatAutocompleteModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatAutocompleteModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatAutocompleteModule, [typeof i1.MatAutocompleteField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ScrollingModule, typeof i5.ReactiveFormsModule, typeof i6.SharedPipesModule, typeof i7.SharedDirectivesModule, typeof i8.MatCommonModule, typeof i9.MatAutocompleteModule, typeof i10.MatFormFieldModule, typeof i11.MatInputModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatSelectModule, typeof i15.TranslateModule], [typeof i9.MatAutocompleteModule, typeof i1.MatAutocompleteField]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatAutocompleteModule>;
|
|
2
21
|
}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { AfterViewInit, OnInit } from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { MatAutocompleteField } from '../material.autocomplete';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
5
|
import { LoadResult } from '../../../services/entity-service.class';
|
|
6
|
-
import
|
|
6
|
+
import { MatAutocompleteConfigHolder } from '../material.autocomplete.config';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
declare class EntityTestClass {
|
|
8
9
|
id: number;
|
|
9
10
|
label: string;
|
|
10
11
|
name: string;
|
|
11
12
|
}
|
|
12
13
|
export declare class AutocompleteTestPage implements OnInit, AfterViewInit {
|
|
13
|
-
protected formBuilder:
|
|
14
|
+
protected formBuilder: UntypedFormBuilder;
|
|
14
15
|
private _items;
|
|
15
16
|
private _$items;
|
|
16
|
-
form:
|
|
17
|
+
form: UntypedFormGroup;
|
|
17
18
|
autocompleteFields: MatAutocompleteConfigHolder;
|
|
18
19
|
memoryHide: boolean;
|
|
19
20
|
memoryMobile: boolean;
|
|
20
21
|
memoryAutocompleteFieldName: string;
|
|
21
|
-
memoryTimer:
|
|
22
|
+
memoryTimer: Subscription;
|
|
22
23
|
mode: 'mobile' | 'desktop' | 'memory' | 'temp';
|
|
23
24
|
farEntityField: MatAutocompleteField;
|
|
24
|
-
constructor(formBuilder:
|
|
25
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
ngAfterViewInit(): void;
|
|
27
28
|
loadData(): Promise<void>;
|
|
@@ -29,12 +30,14 @@ export declare class AutocompleteTestPage implements OnInit, AfterViewInit {
|
|
|
29
30
|
entityToString(item: any): string;
|
|
30
31
|
entitiesToString(items: any[]): string;
|
|
31
32
|
suggest(value: any, filter?: any): Promise<LoadResult<EntityTestClass>>;
|
|
32
|
-
doSubmit(
|
|
33
|
+
doSubmit(_: any): void;
|
|
33
34
|
equals(o1: EntityTestClass, o2: EntityTestClass): boolean;
|
|
34
35
|
toggleMode(value: any): void;
|
|
35
36
|
startMemoryTimer(): void;
|
|
36
37
|
stopMemoryTimer(): void;
|
|
37
38
|
updateFilter(autocompleteField: MatAutocompleteField, fieldName: string): void;
|
|
38
39
|
stringify(value: any): string;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteTestPage, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTestPage, "app-autocomplete-test", never, {}, {}, never, never, false>;
|
|
39
42
|
}
|
|
40
43
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatBadgeSize } from '@angular/material/badge';
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { AppColors } from '../../types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
5
|
export declare type MatBadgeFill = 'clear' | 'solid';
|
|
6
6
|
export declare class MatBadgeIconDirective implements OnInit, OnDestroy {
|
|
7
7
|
private el;
|
|
8
8
|
set size(value: MatBadgeSize);
|
|
9
9
|
get size(): MatBadgeSize;
|
|
10
|
-
set color(value:
|
|
11
|
-
get color():
|
|
10
|
+
set color(value: AppColors);
|
|
11
|
+
get color(): AppColors;
|
|
12
12
|
set fill(value: MatBadgeFill);
|
|
13
13
|
get fill(): MatBadgeFill;
|
|
14
14
|
set matIcon(icon: string);
|
|
@@ -25,4 +25,6 @@ export declare class MatBadgeIconDirective implements OnInit, OnDestroy {
|
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
ngOnDestroy(): void;
|
|
27
27
|
private updateView;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBadgeIconDirective, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatBadgeIconDirective, "[matBadgeIcon], [ionBadgeIcon]", never, { "size": "matBadgeSize"; "color": "matBadgeColor"; "fill": "matBadgeFill"; "matIcon": "matBadgeIcon"; "ionIcon": "ionBadgeIcon"; }, {}, never, never, false>;
|
|
28
30
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./badge-icon.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@angular/material/badge";
|
|
1
6
|
export declare class SharedMatBadgeIconModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatBadgeIconModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatBadgeIconModule, [typeof i1.MatBadgeIconDirective], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.MatBadgeModule], [typeof i1.MatBadgeIconDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatBadgeIconModule>;
|
|
2
10
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
|
2
2
|
import { MatBadgeFill } from './badge-icon.directive';
|
|
3
3
|
import { MatBadgeSize } from '@angular/material/badge';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MatBadgeIconTestPage {
|
|
5
6
|
$icon: BehaviorSubject<string>;
|
|
6
7
|
$size: BehaviorSubject<MatBadgeSize>;
|
|
7
8
|
$fill: BehaviorSubject<MatBadgeFill>;
|
|
8
|
-
$color: BehaviorSubject<
|
|
9
|
+
$color: BehaviorSubject<string>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBadgeIconTestPage, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatBadgeIconTestPage, "mat-badge-icon-test", never, {}, {}, never, never, false>;
|
|
9
12
|
}
|
|
@@ -1,2 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./material.boolean";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../../pipes/pipes.module";
|
|
7
|
+
import * as i6 from "@angular/material/core";
|
|
8
|
+
import * as i7 from "@angular/material/form-field";
|
|
9
|
+
import * as i8 from "@angular/material/input";
|
|
10
|
+
import * as i9 from "@angular/material/radio";
|
|
11
|
+
import * as i10 from "@angular/material/checkbox";
|
|
12
|
+
import * as i11 from "angular2-text-mask";
|
|
13
|
+
import * as i12 from "ngx-material-timepicker";
|
|
14
|
+
import * as i13 from "@ngx-translate/core";
|
|
1
15
|
export declare class SharedMatBooleanModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatBooleanModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatBooleanModule, [typeof i1.MatBooleanField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedPipesModule, typeof i6.MatCommonModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatRadioModule, typeof i10.MatCheckboxModule, typeof i11.TextMaskModule, typeof i12.NgxMaterialTimepickerModule, typeof i13.TranslateModule], [typeof i1.MatBooleanField]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatBooleanModule>;
|
|
2
19
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
3
|
-
import { ControlValueAccessor,
|
|
3
|
+
import { ControlValueAccessor, UntypedFormBuilder, UntypedFormControl, FormGroupDirective } from '@angular/forms';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { InputElement } from '../../inputs';
|
|
6
6
|
import { MatRadioButton, MatRadioChange } from '@angular/material/radio';
|
|
7
7
|
import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class MatBooleanField implements OnInit, ControlValueAccessor, InputElement {
|
|
9
10
|
private translate;
|
|
10
11
|
private formBuilder;
|
|
@@ -17,7 +18,7 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
17
18
|
_tabindex: number;
|
|
18
19
|
showRadio: boolean;
|
|
19
20
|
disabled: boolean;
|
|
20
|
-
formControl:
|
|
21
|
+
formControl: UntypedFormControl;
|
|
21
22
|
formControlName: string;
|
|
22
23
|
placeholder: string;
|
|
23
24
|
floatLabel: FloatLabelType;
|
|
@@ -43,9 +44,9 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
43
44
|
noButton: MatRadioButton;
|
|
44
45
|
checkboxButton: MatCheckbox;
|
|
45
46
|
fakeInput: ElementRef;
|
|
46
|
-
constructor(translate: TranslateService, formBuilder:
|
|
47
|
+
constructor(translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
47
48
|
ngOnInit(): void;
|
|
48
|
-
writeValue(value: any, event?:
|
|
49
|
+
writeValue(value: any, event?: Event): void;
|
|
49
50
|
registerOnChange(fn: any): void;
|
|
50
51
|
registerOnTouched(fn: any): void;
|
|
51
52
|
setDisabledState(isDisabled: boolean): void;
|
|
@@ -60,4 +61,6 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
60
61
|
*/
|
|
61
62
|
private updateTabIndex;
|
|
62
63
|
private markForCheck;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBooleanField, [null, null, null, { optional: true; }]>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatBooleanField, "mat-boolean-field", never, { "disabled": "disabled"; "formControl": "formControl"; "formControlName": "formControlName"; "placeholder": "placeholder"; "floatLabel": "floatLabel"; "appearance": "appearance"; "readonly": "readonly"; "required": "required"; "compact": "compact"; "style": "style"; "buttonsColCount": "buttonsColCount"; "classList": "class"; "yesLabel": "yesLabel"; "noLabel": "noLabel"; "showButtonIcons": "showButtonIcons"; "yesIcon": "yesIcon"; "noIcon": "noIcon"; "tabindex": "tabindex"; "value": "value"; }, { "onPressEnter": "keyup.enter"; "onBlur": "onBlur"; }, never, ["[matPrefix]", "[matSuffix]"], false>;
|
|
63
66
|
}
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./material.chips";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../../pipes/pipes.module";
|
|
7
|
+
import * as i6 from "../../directives/directives.module";
|
|
8
|
+
import * as i7 from "@angular/material/core";
|
|
9
|
+
import * as i8 from "@angular/material/autocomplete";
|
|
10
|
+
import * as i9 from "@angular/material/form-field";
|
|
11
|
+
import * as i10 from "@angular/material/input";
|
|
12
|
+
import * as i11 from "@angular/material/icon";
|
|
13
|
+
import * as i12 from "@angular/material/button";
|
|
14
|
+
import * as i13 from "@angular/material/select";
|
|
15
|
+
import * as i14 from "@angular/material/chips";
|
|
16
|
+
import * as i15 from "@ngx-translate/core";
|
|
1
17
|
export declare class SharedMatChipsModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatChipsModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatChipsModule, [typeof i1.MatChipsField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedPipesModule, typeof i6.SharedDirectivesModule, typeof i7.MatCommonModule, typeof i8.MatAutocompleteModule, typeof i9.MatFormFieldModule, typeof i10.MatInputModule, typeof i11.MatIconModule, typeof i12.MatButtonModule, typeof i13.MatSelectModule, typeof i14.MatChipsModule, typeof i15.TranslateModule], [typeof i1.MatChipsField]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatChipsModule>;
|
|
2
21
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor,
|
|
2
|
+
import { ControlValueAccessor, UntypedFormControl, FormGroupDirective } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
5
|
import { MatAutocomplete, MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
6
6
|
import { InputElement } from '../../inputs';
|
|
7
7
|
import { SuggestFn } from '../../services/entity-service.class';
|
|
8
8
|
import { DisplayFn, EqualsFn } from '../../form/field.model';
|
|
9
|
-
import { MatAutocompleteFieldConfig } from '../autocomplete/material.autocomplete';
|
|
10
9
|
import { PredefinedColors } from '@ionic/core';
|
|
11
10
|
import { ThemePalette } from '@angular/material/core';
|
|
11
|
+
import { MatAutocompleteFieldConfig } from '../autocomplete/material.autocomplete.config';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class MatChipsField implements OnInit, OnDestroy, InputElement, ControlValueAccessor {
|
|
13
14
|
protected cd: ChangeDetectorRef;
|
|
14
15
|
private formGroupDir;
|
|
@@ -16,7 +17,7 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
|
|
|
16
17
|
private _onTouchedCallback;
|
|
17
18
|
equals: EqualsFn;
|
|
18
19
|
logPrefix: string;
|
|
19
|
-
formControl:
|
|
20
|
+
formControl: UntypedFormControl;
|
|
20
21
|
formControlName: string;
|
|
21
22
|
floatLabel: FloatLabelType;
|
|
22
23
|
appearance: MatFormFieldAppearance;
|
|
@@ -50,16 +51,16 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
|
|
|
50
51
|
clicked: EventEmitter<MouseEvent>;
|
|
51
52
|
blurred: EventEmitter<FocusEvent>;
|
|
52
53
|
focused: EventEmitter<FocusEvent>;
|
|
53
|
-
dropButtonClick: EventEmitter<
|
|
54
|
-
keydownEscape: EventEmitter<
|
|
55
|
-
keyupEnter: EventEmitter<
|
|
54
|
+
dropButtonClick: EventEmitter<Event>;
|
|
55
|
+
keydownEscape: EventEmitter<Event>;
|
|
56
|
+
keyupEnter: EventEmitter<Event>;
|
|
56
57
|
matInputText: ElementRef;
|
|
57
58
|
autocomplete: MatAutocomplete;
|
|
58
59
|
autocompleteTrigger: MatAutocompleteTrigger;
|
|
59
60
|
_tabindex: number;
|
|
60
61
|
$inputItems: BehaviorSubject<any[]>;
|
|
61
62
|
$filteredItems: BehaviorSubject<any[]>;
|
|
62
|
-
inputControl:
|
|
63
|
+
inputControl: UntypedFormControl;
|
|
63
64
|
_moreItemsCount: number;
|
|
64
65
|
_fetchMore$: EventEmitter<Event>;
|
|
65
66
|
private _onFetchMoreCallback;
|
|
@@ -109,7 +110,7 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
|
|
|
109
110
|
filterInputTextFocusEvent(event: FocusEvent): boolean;
|
|
110
111
|
filterInputTextBlurEvent(event: FocusEvent): boolean;
|
|
111
112
|
filterChipsFocusEvent(event: FocusEvent): void;
|
|
112
|
-
clearValue(event:
|
|
113
|
+
clearValue(event: Event): void;
|
|
113
114
|
_initAutocompleteInfiniteScroll(threshold?: string): void;
|
|
114
115
|
get isOpen(): boolean;
|
|
115
116
|
closePanel(): void;
|
|
@@ -120,4 +121,6 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
|
|
|
120
121
|
private getAutocompletePanel;
|
|
121
122
|
private markForCheck;
|
|
122
123
|
private markAsLoading;
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipsField, [null, { optional: true; }]>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipsField, "mat-chips-field", never, { "equals": "equals"; "logPrefix": "logPrefix"; "formControl": "formControl"; "formControlName": "formControlName"; "floatLabel": "floatLabel"; "appearance": "appearance"; "placeholder": "placeholder"; "suggestFn": "suggestFn"; "required": "required"; "mobile": "mobile"; "readonly": "readonly"; "clearable": "clearable"; "debounceTime": "debounceTime"; "displayWith": "displayWith"; "displayAttributes": "displayAttributes"; "displayColumnSizes": "displayColumnSizes"; "displayColumnNames": "displayColumnNames"; "highlightAccent": "highlightAccent"; "showAllOnFocus": "showAllOnFocus"; "showPanelOnFocus": "showPanelOnFocus"; "autofocus": "autofocus"; "config": "config"; "i18nPrefix": "i18nPrefix"; "noResultMessage": "noResultMessage"; "classList": "class"; "panelWidth": "panelWidth"; "matAutocompletePosition": "matAutocompletePosition"; "itemSize": "itemSize"; "fetchMoreThreshold": "fetchMoreThreshold"; "suggestLengthThreshold": "suggestLengthThreshold"; "showLoadingSpinner": "showLoadingSpinner"; "chipColor": "chipColor"; "debug": "debug"; "filter": "filter"; "tabindex": "tabindex"; "items": "items"; }, { "clicked": "click"; "blurred": "blur"; "focused": "focus"; "dropButtonClick": "dropButtonClick"; "keydownEscape": "keydown.escape"; "keyupEnter": "keyup.enter"; }, never, ["[matError]", "[matAfter]", "[matPrefix]", "[matSuffix]"], false>;
|
|
123
126
|
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { MatAutocompleteConfigHolder } from '../../autocomplete/material.autocomplete';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
4
3
|
import { LoadResult } from '../../../services/entity-service.class';
|
|
5
4
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
|
+
import { MatAutocompleteConfigHolder } from '../../autocomplete/material.autocomplete.config';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
declare class EntityTestClass {
|
|
7
8
|
id: number;
|
|
8
9
|
label: string;
|
|
9
10
|
name: string;
|
|
10
11
|
}
|
|
11
12
|
export declare class ChipsTestPage implements OnInit {
|
|
12
|
-
protected formBuilder:
|
|
13
|
+
protected formBuilder: UntypedFormBuilder;
|
|
13
14
|
private _items;
|
|
14
15
|
private _$items;
|
|
15
|
-
form:
|
|
16
|
+
form: UntypedFormGroup;
|
|
16
17
|
autocompleteFields: MatAutocompleteConfigHolder;
|
|
17
18
|
appearance: MatFormFieldAppearance;
|
|
18
|
-
constructor(formBuilder:
|
|
19
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
loadData(): Promise<void>;
|
|
21
22
|
loadItems(): Promise<void>;
|
|
@@ -24,5 +25,7 @@ export declare class ChipsTestPage implements OnInit {
|
|
|
24
25
|
doSubmit(event: any): void;
|
|
25
26
|
equals(o1: EntityTestClass, o2: EntityTestClass): boolean;
|
|
26
27
|
stringify(value: any): string;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsTestPage, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsTestPage, "app-chips-test", never, {}, {}, never, never, false>;
|
|
27
30
|
}
|
|
28
31
|
export {};
|
|
@@ -1,2 +1,24 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./material.date";
|
|
3
|
+
import * as i2 from "./material.datetime";
|
|
4
|
+
import * as i3 from "./material.dateshort";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@ionic/angular";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "../../pipes/pipes.module";
|
|
9
|
+
import * as i8 from "@angular/material/core";
|
|
10
|
+
import * as i9 from "@angular/material/form-field";
|
|
11
|
+
import * as i10 from "@angular/material/input";
|
|
12
|
+
import * as i11 from "@angular/material/icon";
|
|
13
|
+
import * as i12 from "@angular/material/button";
|
|
14
|
+
import * as i13 from "@angular/material/datepicker";
|
|
15
|
+
import * as i14 from "@angular/material-moment-adapter";
|
|
16
|
+
import * as i15 from "angular2-text-mask";
|
|
17
|
+
import * as i16 from "ngx-material-timepicker";
|
|
18
|
+
import * as i17 from "@ngx-translate/core";
|
|
19
|
+
import * as i18 from "../../directives/directives.module";
|
|
1
20
|
export declare class SharedMatDateTimeModule {
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatDateTimeModule, never>;
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatDateTimeModule, [typeof i1.MatDate, typeof i2.MatDateTime, typeof i3.MatDateShort], [typeof i4.CommonModule, typeof i5.IonicModule, typeof i6.ReactiveFormsModule, typeof i7.SharedPipesModule, typeof i8.MatCommonModule, typeof i9.MatFormFieldModule, typeof i10.MatInputModule, typeof i11.MatIconModule, typeof i12.MatButtonModule, typeof i13.MatDatepickerModule, typeof i14.MatMomentDateModule, typeof i15.TextMaskModule, typeof i16.NgxMaterialTimepickerModule, typeof i17.TranslateModule, typeof i18.SharedDirectivesModule], [typeof i11.MatIconModule, typeof i1.MatDate, typeof i2.MatDateTime, typeof i3.MatDateShort]>;
|
|
23
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatDateTimeModule>;
|
|
2
24
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor,
|
|
2
|
+
import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
|
-
import { Keyboard } from '@ionic-native/keyboard/ngx';
|
|
6
5
|
import { InputElement } from '../../inputs';
|
|
7
6
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
8
7
|
import { DateFilterFn, MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
9
8
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class MatDate implements OnInit, OnDestroy, ControlValueAccessor, InputElement {
|
|
11
11
|
private dateAdapter;
|
|
12
12
|
private translate;
|
|
13
13
|
private formBuilder;
|
|
14
14
|
private cd;
|
|
15
|
-
private keyboard;
|
|
16
15
|
private formGroupDir;
|
|
17
16
|
private _onChangeCallback;
|
|
18
17
|
private _onTouchedCallback;
|
|
@@ -20,14 +19,15 @@ export declare class MatDate implements OnInit, OnDestroy, ControlValueAccessor,
|
|
|
20
19
|
private _writing;
|
|
21
20
|
private _disabling;
|
|
22
21
|
private _tabindex;
|
|
22
|
+
private _hasKeyboardPlugin;
|
|
23
23
|
private _keyboardHideDelay;
|
|
24
24
|
_readonly: boolean;
|
|
25
|
-
textControl:
|
|
25
|
+
textControl: UntypedFormControl;
|
|
26
26
|
datePattern: string;
|
|
27
27
|
locale: string;
|
|
28
28
|
readonly mask: (string | RegExp)[];
|
|
29
29
|
mobile: boolean;
|
|
30
|
-
formControl:
|
|
30
|
+
formControl: UntypedFormControl;
|
|
31
31
|
formControlName: string;
|
|
32
32
|
placeholder: string;
|
|
33
33
|
floatLabel: FloatLabelType;
|
|
@@ -47,7 +47,7 @@ export declare class MatDate implements OnInit, OnDestroy, ControlValueAccessor,
|
|
|
47
47
|
get value(): any;
|
|
48
48
|
datePicker: MatDatepicker<Moment>;
|
|
49
49
|
matInputs: QueryList<ElementRef>;
|
|
50
|
-
constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder:
|
|
50
|
+
constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
51
51
|
ngOnInit(): void;
|
|
52
52
|
ngOnDestroy(): void;
|
|
53
53
|
writeValue(value: any): void;
|
|
@@ -55,9 +55,9 @@ export declare class MatDate implements OnInit, OnDestroy, ControlValueAccessor,
|
|
|
55
55
|
registerOnTouched(fn: any): void;
|
|
56
56
|
setDisabledState(isDisabled: boolean): void;
|
|
57
57
|
onDatePickerChange(event: MatDatepickerInputEvent<Moment>): void;
|
|
58
|
-
openDatePickerIfMobile(event:
|
|
59
|
-
openDatePicker(event?:
|
|
60
|
-
preventEvent(event:
|
|
58
|
+
openDatePickerIfMobile(event: Event, datePicker?: MatDatepicker<any>): Promise<void>;
|
|
59
|
+
openDatePicker(event?: Event, datePicker?: MatDatepicker<any>): void;
|
|
60
|
+
preventEvent(event: Event): void;
|
|
61
61
|
focus(): void;
|
|
62
62
|
clear(): void;
|
|
63
63
|
private updatePattern;
|
|
@@ -70,4 +70,6 @@ export declare class MatDate implements OnInit, OnDestroy, ControlValueAccessor,
|
|
|
70
70
|
private markAsTouched;
|
|
71
71
|
private markAsDirty;
|
|
72
72
|
private markForCheck;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDate, [null, null, null, null, { optional: true; }]>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDate, "mat-date-field", never, { "mobile": "mobile"; "formControl": "formControl"; "formControlName": "formControlName"; "placeholder": "placeholder"; "floatLabel": "floatLabel"; "appearance": "appearance"; "required": "required"; "compact": "compact"; "placeholderChar": "placeholderChar"; "autofocus": "autofocus"; "startDate": "startDate"; "clearable": "clearable"; "timezone": "timezone"; "datePickerFilter": "datePickerFilter"; "readonly": "readonly"; "tabindex": "tabindex"; }, {}, never, ["mat-error", "mat-hint", "[matPrefix]"], false>;
|
|
73
75
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { Moment } from 'moment/moment';
|
|
5
|
-
import { Keyboard } from '@ionic-native/keyboard/ngx';
|
|
6
5
|
import { InputElement } from '../../inputs';
|
|
7
6
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
8
7
|
import { MatDatepicker } from '@angular/material/datepicker';
|
|
9
8
|
import { DateAdapter } from '@angular/material/core';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class MatDateShort implements OnInit, ControlValueAccessor, InputElement {
|
|
11
11
|
private dateAdapter;
|
|
12
12
|
private translate;
|
|
13
13
|
private formBuilder;
|
|
14
14
|
private cd;
|
|
15
|
-
private keyboard;
|
|
16
15
|
private formGroupDir;
|
|
17
16
|
private _onChangeCallback;
|
|
18
17
|
private _onTouchedCallback;
|
|
@@ -20,7 +19,7 @@ export declare class MatDateShort implements OnInit, ControlValueAccessor, Input
|
|
|
20
19
|
protected disabling: boolean;
|
|
21
20
|
protected _tabindex: number;
|
|
22
21
|
protected keyboardHideDelay: number;
|
|
23
|
-
dayControl:
|
|
22
|
+
dayControl: UntypedFormControl;
|
|
24
23
|
displayPattern: string;
|
|
25
24
|
dayPattern: string;
|
|
26
25
|
_value: Moment;
|
|
@@ -28,7 +27,7 @@ export declare class MatDateShort implements OnInit, ControlValueAccessor, Input
|
|
|
28
27
|
dayMask: RegExp[];
|
|
29
28
|
mobile: boolean;
|
|
30
29
|
disabled: boolean;
|
|
31
|
-
formControl:
|
|
30
|
+
formControl: UntypedFormControl;
|
|
32
31
|
formControlName: string;
|
|
33
32
|
placeholder: string;
|
|
34
33
|
floatLabel: FloatLabelType;
|
|
@@ -45,7 +44,7 @@ export declare class MatDateShort implements OnInit, ControlValueAccessor, Input
|
|
|
45
44
|
datePicker2: MatDatepicker<Moment>;
|
|
46
45
|
matInputs: QueryList<ElementRef>;
|
|
47
46
|
get value(): any;
|
|
48
|
-
constructor(dateAdapter: DateAdapter<Moment>, translate: TranslateService, formBuilder:
|
|
47
|
+
constructor(dateAdapter: DateAdapter<Moment>, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
49
48
|
ngOnInit(): void;
|
|
50
49
|
writeValue(obj: any): void;
|
|
51
50
|
registerOnChange(fn: any): void;
|
|
@@ -55,12 +54,14 @@ export declare class MatDateShort implements OnInit, ControlValueAccessor, Input
|
|
|
55
54
|
private updatePattern;
|
|
56
55
|
private onFormChange;
|
|
57
56
|
checkIfTouched(): void;
|
|
58
|
-
openDatePickerIfMobile(event:
|
|
59
|
-
openDatePicker(event?:
|
|
57
|
+
openDatePickerIfMobile(event: Event, datePicker?: MatDatepicker<any>): Promise<void>;
|
|
58
|
+
openDatePicker(event?: Event, datePicker?: MatDatepicker<any>): void;
|
|
60
59
|
closeDatePicker(eventData: any, matDatepicker?: any): void;
|
|
61
|
-
preventEvent(event:
|
|
60
|
+
preventEvent(event: Event): void;
|
|
62
61
|
focus(): void;
|
|
63
62
|
protected waitKeyboardHide(waitKeyboardDelay: boolean): Promise<void>;
|
|
64
63
|
protected updateTabIndex(): void;
|
|
65
64
|
protected markForCheck(): void;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateShort, [null, null, null, null, { optional: true; }]>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateShort, "mat-date-short-field", never, { "mobile": "mobile"; "disabled": "disabled"; "formControl": "formControl"; "formControlName": "formControlName"; "placeholder": "placeholder"; "floatLabel": "floatLabel"; "appearance": "appearance"; "readonly": "readonly"; "required": "required"; "compact": "compact"; "placeholderChar": "placeholderChar"; "tabindex": "tabindex"; "startDate": "startDate"; "clearable": "clearable"; }, {}, never, ["[matPrefix]", "mat-error", "[matPrefix]", "[matSuffix]"], false>;
|
|
66
67
|
}
|