@sumaris-net/ngx-components 1.23.44 → 2.0.0-rc3
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/doc/changelog.md +8 -0
- package/esm2020/public_api.mjs +278 -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 +34 -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 +233 -0
- package/esm2020/src/app/admin/users/list/users.module.mjs +58 -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 +86 -0
- package/esm2020/src/app/core/form/editor.class.mjs +672 -0
- package/esm2020/src/app/core/form/entity-editor-modal.class.mjs +407 -0
- package/esm2020/src/app/core/form/entity-editor.class.mjs +646 -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 +337 -0
- package/esm2020/src/app/core/form/form.utils.mjs +299 -0
- package/esm2020/src/app/core/form/list.form.mjs +222 -0
- package/esm2020/src/app/core/form/properties/properties.form.mjs +129 -0
- package/esm2020/src/app/core/form/properties/property.validator.mjs +23 -0
- package/esm2020/src/app/core/form/properties/testing/properties-form.test.mjs +90 -0
- package/esm2020/src/app/core/form/properties/testing/properties-form.testing.module.mjs +39 -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 +432 -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 +595 -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 +394 -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 +1666 -0
- package/esm2020/src/app/core/table/table.utils.mjs +13 -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/debug/debug.component.mjs +39 -0
- package/esm2020/src/app/shared/debug/debug.module.mjs +44 -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 +244 -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 +374 -0
- package/esm2020/src/app/shared/functions.mjs +430 -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.directive.mjs +157 -0
- package/esm2020/src/app/shared/material/badge/badge.module.mjs +32 -0
- package/esm2020/src/app/shared/material/badge/badge.test.mjs +26 -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 +691 -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 +388 -0
- package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +327 -0
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +434 -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/esm2020/src/app/shared/material/material.testing.module.mjs +145 -0
- 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 +135 -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 +210 -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 +7 -0
- package/esm2020/src/app/shared/services/job.utils.mjs +92 -0
- package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +331 -0
- package/esm2020/src/app/shared/services/progress-bar.service.mjs +32 -0
- package/esm2020/src/app/shared/services/startable-observable-service.class.mjs +119 -0
- package/esm2020/src/app/shared/services/startable-service.class.mjs +105 -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 +51 -0
- package/esm2020/src/app/shared/toast/toast.testing.module.mjs +45 -0
- package/esm2020/src/app/shared/toast/toasts.mjs +144 -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 +71 -0
- package/esm2020/src/app/social/job/progression/job-progression.icon.mjs +210 -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 +53 -0
- package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +55 -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 +108 -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} +3 -3
- 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 +33173 -0
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -0
- package/fesm2020/sumaris-net.ngx-components.mjs +32440 -0
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +27 -32
- package/public_api.d.ts +29 -31
- 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 +7 -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 +11 -7
- package/src/app/admin/users/list/users.module.d.ts +14 -0
- 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 +10 -0
- package/src/app/core/form/editor.class.d.ts +6 -1
- 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 +5 -5
- package/src/app/core/form/list.form.d.ts +10 -7
- package/src/app/core/form/properties/properties.form.d.ts +43 -0
- package/src/app/core/form/properties/property.validator.d.ts +13 -0
- package/src/app/core/form/properties/testing/properties-form.test.d.ts +19 -0
- package/src/app/core/form/properties/testing/properties-form.testing.module.d.ts +12 -0
- 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 +16 -15
- 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 +52 -34
- package/src/app/core/table/table.utils.d.ts +2 -1
- 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/debug/debug.component.d.ts +13 -0
- package/src/app/shared/debug/debug.module.d.ts +12 -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 +12 -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 +13 -13
- 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/graph/graph-colors.d.ts +8 -7
- 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.directive.d.ts +28 -0
- package/src/app/shared/material/badge/badge.module.d.ts +10 -0
- package/src/app/shared/material/badge/badge.test.d.ts +12 -0
- 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 +19 -18
- package/src/app/shared/material/datetime/material.dateshort.d.ts +10 -9
- package/src/app/shared/material/datetime/material.datetime.d.ts +21 -20
- 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 +17 -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/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/startable-observable-service.class.d.ts +1 -1
- package/src/app/shared/services/startable-service.class.d.ts +1 -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 +6 -5
- package/src/app/shared/toast/toast.testing.module.d.ts +9 -0
- package/src/app/shared/toast/toasts.d.ts +5 -2
- 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.icon.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 +32 -6
- package/src/theme/_mixins.scss +4 -4
- package/src/theme/_ngx-components.scss +27 -0
- package/src/theme/_print.scss +24 -0
- package/bundles/sumaris-net.ngx-components.umd.js +0 -35755
- 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 -245
- 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 -698
- package/esm2015/src/app/core/form/entity-editor-modal.class.js +0 -422
- package/esm2015/src/app/core/form/entity-editor.class.js +0 -676
- 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 -342
- package/esm2015/src/app/core/form/form.utils.js +0 -299
- 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 -106
- 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 -454
- 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 -631
- 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 -405
- 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 -1677
- package/esm2015/src/app/core/table/table.utils.js +0 -13
- package/esm2015/src/app/core/table/testing/table.testing.js +0 -242
- 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 -120
- 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 -358
- package/esm2015/src/app/shared/functions.js +0 -431
- package/esm2015/src/app/shared/gesture/hammer.utils.js +0 -2
- package/esm2015/src/app/shared/graph/graph-colors.js +0 -205
- 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/material.testing.module.js +0 -111
- 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 -110
- 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 -117
- 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 -8
- package/esm2015/src/app/shared/services/job.utils.js +0 -96
- package/esm2015/src/app/shared/services/memory-entity-service.class.js +0 -342
- package/esm2015/src/app/shared/services/progress-bar.service.js +0 -30
- package/esm2015/src/app/shared/services/startable-observable-service.class.js +0 -124
- package/esm2015/src/app/shared/services/startable-service.class.js +0 -110
- 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 -66
- package/esm2015/src/app/social/job/progression/job-progression.icon.js +0 -208
- 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 -49
- package/esm2015/src/app/social/job/testing/job-progression.testing.service.js +0 -52
- 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 -106
- 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 -30297
- package/fesm2015/sumaris-net.ngx-components.js.map +0 -1
- package/src/app/core/form/properties.form.d.ts +0 -40
- package/src/app/shared/material/badge/badge-icon.directive.d.ts +0 -28
- package/src/app/shared/material/badge/badge-icon.module.d.ts +0 -2
- package/src/app/shared/material/badge/badge-icon.test.d.ts +0 -9
- 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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./select-peer.modal";
|
|
3
|
+
import * as i2 from "../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@angular/common/http";
|
|
5
|
+
export declare class SelectPeerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectPeerModule, [typeof i1.SelectPeerModal], [typeof i2.SharedModule, typeof i3.HttpClientModule], [typeof i1.SelectPeerModal]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectPeerModule>;
|
|
9
|
+
}
|
|
@@ -4,6 +4,7 @@ import { ActivatedRoute } from '@angular/router';
|
|
|
4
4
|
import { AccountService } from '../../services/account.service';
|
|
5
5
|
import { ConfigService } from '../../services/config.service';
|
|
6
6
|
import { PlatformService } from '../../services/platform.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class RegisterConfirmPage implements OnDestroy {
|
|
8
9
|
private platform;
|
|
9
10
|
private accountService;
|
|
@@ -18,4 +19,6 @@ export declare class RegisterConfirmPage implements OnDestroy {
|
|
|
18
19
|
constructor(platform: PlatformService, accountService: AccountService, activatedRoute: ActivatedRoute, configService: ConfigService);
|
|
19
20
|
ngOnDestroy(): void;
|
|
20
21
|
doConfirm(email: string, code: string): any;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegisterConfirmPage, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RegisterConfirmPage, "page-register-confirm", never, {}, {}, never, never, false>;
|
|
21
24
|
}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { AsyncValidatorFn,
|
|
2
|
+
import { AsyncValidatorFn, UntypedFormBuilder, UntypedFormGroup, ValidatorFn } from '@angular/forms';
|
|
3
3
|
import { AccountService, RegisterData } from '../../services/account.service';
|
|
4
4
|
import { referentialToString } from '../../services/model/referential.model';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import { AccountValidatorService } from '../../services/validator/account.validator';
|
|
7
7
|
import { FormFieldDefinition } from '../../../shared/form/field.model';
|
|
8
8
|
import { LocalSettingsService } from '../../services/local-settings.service';
|
|
9
|
-
import { MatAutocompleteConfigHolder } from '../../../shared/material/autocomplete/material.autocomplete';
|
|
9
|
+
import { MatAutocompleteConfigHolder } from '../../../shared/material/autocomplete/material.autocomplete.config';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class RegisterForm implements OnInit {
|
|
11
12
|
private accountService;
|
|
12
13
|
private accountValidatorService;
|
|
13
|
-
formBuilder:
|
|
14
|
+
formBuilder: UntypedFormBuilder;
|
|
14
15
|
protected environment: any;
|
|
15
16
|
protected settings?: LocalSettingsService;
|
|
16
17
|
protected debug: boolean;
|
|
17
18
|
autocompleteHelper: MatAutocompleteConfigHolder;
|
|
18
19
|
additionalFields: FormFieldDefinition[];
|
|
19
|
-
form:
|
|
20
|
-
forms:
|
|
20
|
+
form: UntypedFormGroup;
|
|
21
|
+
forms: UntypedFormGroup[];
|
|
21
22
|
subscriptions: Subscription[];
|
|
22
23
|
error: string;
|
|
23
24
|
sending: boolean;
|
|
@@ -26,14 +27,14 @@ export declare class RegisterForm implements OnInit {
|
|
|
26
27
|
private stepper;
|
|
27
28
|
onCancel: EventEmitter<any>;
|
|
28
29
|
onSubmit: EventEmitter<RegisterData>;
|
|
29
|
-
constructor(accountService: AccountService, accountValidatorService: AccountValidatorService, formBuilder:
|
|
30
|
+
constructor(accountService: AccountService, accountValidatorService: AccountValidatorService, formBuilder: UntypedFormBuilder, environment: any, settings?: LocalSettingsService);
|
|
30
31
|
ngOnInit(): void;
|
|
31
32
|
get value(): RegisterData;
|
|
32
33
|
get valid(): boolean;
|
|
33
34
|
isEnd(): boolean;
|
|
34
35
|
isBeginning(): boolean;
|
|
35
36
|
slidePrev(): void;
|
|
36
|
-
slideNext(event?:
|
|
37
|
+
slideNext(event?: Event): void;
|
|
37
38
|
equalsValidator(otherControlName: string): ValidatorFn;
|
|
38
39
|
emailAvailability(accountService: AccountService): AsyncValidatorFn;
|
|
39
40
|
cancel(): void;
|
|
@@ -42,4 +43,6 @@ export declare class RegisterForm implements OnInit {
|
|
|
42
43
|
markAsTouched(): void;
|
|
43
44
|
disable(): void;
|
|
44
45
|
enable(): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegisterForm, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RegisterForm, "form-register", never, {}, { "onCancel": "onCancel"; "onSubmit": "onSubmit"; }, never, never, false>;
|
|
45
48
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ModalController } from '@ionic/angular';
|
|
2
2
|
import { AccountService } from '../../services/account.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class RegisterModal {
|
|
4
5
|
private accountService;
|
|
5
6
|
viewCtrl: ModalController;
|
|
@@ -8,4 +9,6 @@ export declare class RegisterModal {
|
|
|
8
9
|
constructor(accountService: AccountService, viewCtrl: ModalController);
|
|
9
10
|
cancel(): void;
|
|
10
11
|
doSubmit(event?: any): Promise<void>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegisterModal, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RegisterModal, "modal-register", never, {}, {}, never, never, false>;
|
|
11
14
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./form/form-register";
|
|
3
|
+
import * as i2 from "./modal/modal-register";
|
|
4
|
+
import * as i3 from "./confirm/confirm";
|
|
5
|
+
import * as i4 from "../../shared/shared.module";
|
|
6
|
+
import * as i5 from "@ionic/angular";
|
|
7
|
+
import * as i6 from "@angular/router";
|
|
8
|
+
export declare class AppRegisterModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppRegisterModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppRegisterModule, [typeof i1.RegisterForm, typeof i2.RegisterModal, typeof i3.RegisterConfirmPage], [typeof i4.SharedModule, typeof i5.IonicModule, typeof i6.RouterModule], [typeof i1.RegisterForm, typeof i2.RegisterModal, typeof i3.RegisterConfirmPage]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppRegisterModule>;
|
|
12
|
+
}
|
|
@@ -5,7 +5,7 @@ import { Person, UserProfileLabel } from './model/person.model';
|
|
|
5
5
|
import { LocalSettings, UsageMode, UserSettings } from './model/settings.model';
|
|
6
6
|
import { Observable, Subject, Subscription } from 'rxjs';
|
|
7
7
|
import { FetchPolicy } from '@apollo/client/core';
|
|
8
|
-
import { Storage } from '@ionic/storage';
|
|
8
|
+
import { Storage } from '@ionic/storage-angular';
|
|
9
9
|
import { BaseGraphqlService } from './base-graphql-service.class';
|
|
10
10
|
import { GraphqlService } from '../graphql/graphql.service';
|
|
11
11
|
import { LocalSettingsService } from './local-settings.service';
|
|
@@ -17,6 +17,7 @@ import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
|
17
17
|
import { OverlayEventDetail } from '@ionic/core';
|
|
18
18
|
import { ToastController } from '@ionic/angular';
|
|
19
19
|
import { TranslateService } from '@ngx-translate/core';
|
|
20
|
+
import * as i0 from "@angular/core";
|
|
20
21
|
export declare interface AccountDetails {
|
|
21
22
|
loaded: boolean;
|
|
22
23
|
keypair: KeyPair;
|
|
@@ -53,7 +54,7 @@ export declare class AccountService extends BaseGraphqlService<Account, any, num
|
|
|
53
54
|
private toastController;
|
|
54
55
|
protected environment: any;
|
|
55
56
|
onLogin: Subject<Account>;
|
|
56
|
-
onLogout: Subject<
|
|
57
|
+
onLogout: Subject<void>;
|
|
57
58
|
onChange: Subject<Account>;
|
|
58
59
|
onAuthTokenChange: Subject<string>;
|
|
59
60
|
onAuthBasicChange: Subject<string>;
|
|
@@ -160,4 +161,6 @@ export declare class AccountService extends BaseGraphqlService<Account, any, num
|
|
|
160
161
|
protected copyIdAndUpdateDate(source: Account | undefined, target: Account): void;
|
|
161
162
|
protected copyIdAndUpdateDateSettings(source: UserSettings | undefined, target: UserSettings): void;
|
|
162
163
|
protected showToast<T = any>(opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
|
|
164
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountService, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
165
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AccountService>;
|
|
163
166
|
}
|
|
@@ -2,6 +2,7 @@ import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTr
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { ModalController } from '@ionic/angular';
|
|
4
4
|
import { AccountService } from './account.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AuthGuardService implements CanActivate {
|
|
6
7
|
private accountService;
|
|
7
8
|
private modalCtrl;
|
|
@@ -11,4 +12,6 @@ export declare class AuthGuardService implements CanActivate {
|
|
|
11
12
|
constructor(accountService: AccountService, modalCtrl: ModalController, router: Router, environment: any);
|
|
12
13
|
canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
13
14
|
login(next?: ActivatedRouteSnapshot): Promise<boolean>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuardService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuardService>;
|
|
14
17
|
}
|
|
@@ -9,6 +9,7 @@ import { Entity, EntityAsObjectOptions } from './model/entity.model';
|
|
|
9
9
|
import { FetchResult } from '@apollo/client/link/core';
|
|
10
10
|
import { EntityFilter } from './model/filter.model';
|
|
11
11
|
import { DocumentNode } from 'graphql';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
12
13
|
export declare type MutableWatchQueriesUpdatePolicy = 'update-cache' | 'refetch-queries';
|
|
13
14
|
export interface BaseEntityGraphqlQueries {
|
|
14
15
|
load?: any;
|
|
@@ -111,4 +112,6 @@ export declare abstract class BaseEntityService<T extends Entity<T, ID>, F exten
|
|
|
111
112
|
data: any;
|
|
112
113
|
}>) => InternalRefetchQueriesInclude) | InternalRefetchQueriesInclude;
|
|
113
114
|
protected getLoadQueries(): DocumentNode[];
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseEntityService<any, any, any, any, any, any, any, any>, never>;
|
|
116
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseEntityService<any, any, any, any, any, any, any, any>, never, never, {}, {}, never, never, false>;
|
|
114
117
|
}
|
|
@@ -8,6 +8,7 @@ import { QueryRef } from 'apollo-angular';
|
|
|
8
8
|
import { PureQueryOptions } from '@apollo/client/core/types';
|
|
9
9
|
import { DocumentNode } from 'graphql';
|
|
10
10
|
import { StartableService } from '../../shared/services/startable-service.class';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
11
12
|
export interface QueryVariables<F = any> extends Partial<Page> {
|
|
12
13
|
filter?: F;
|
|
13
14
|
[key: string]: any;
|
|
@@ -70,4 +71,6 @@ export declare abstract class BaseGraphqlService<T = any, F = any, ID = any, S =
|
|
|
70
71
|
protected registerNewMutableWatchQuery(mutableQuery: MutableWatchQueryDescription<any>): void;
|
|
71
72
|
protected findRefetchQueries(opts: FindMutableWatchQueriesOptions): InternalRefetchQueriesInclude;
|
|
72
73
|
protected ngOnStart(): Promise<S>;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseGraphqlService<any, any, any, any>, [null, { optional: true; }]>;
|
|
75
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseGraphqlService<any, any, any, any>, never, never, {}, {}, never, never, false>;
|
|
73
76
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { Configuration } from './model/config.model';
|
|
3
|
-
import { Storage } from '@ionic/storage';
|
|
3
|
+
import { Storage } from '@ionic/storage-angular';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { GraphqlService } from '../graphql/graphql.service';
|
|
6
6
|
import { FormFieldDefinition, FormFieldDefinitionMap } from '../../shared/form/field.model';
|
|
@@ -13,6 +13,7 @@ import { EntityServiceLoadOptions, IEntityService } from '../../shared/services/
|
|
|
13
13
|
import { BaseGraphqlService } from './base-graphql-service.class';
|
|
14
14
|
import { IStartableService } from '../../shared/services/startable-service.class';
|
|
15
15
|
import { AccountService } from './account.service';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
16
17
|
export declare const Fragments: {
|
|
17
18
|
config: import("graphql/language/ast").DocumentNode;
|
|
18
19
|
};
|
|
@@ -54,4 +55,6 @@ export declare class ConfigService extends BaseGraphqlService<Configuration, any
|
|
|
54
55
|
private restoreLocally;
|
|
55
56
|
private storeLocally;
|
|
56
57
|
protected showToast(opts: ShowToastOptions): Promise<void>;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, [null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
59
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
|
|
57
60
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export interface CryptoSaltParams {
|
|
2
3
|
N: number;
|
|
3
4
|
r: number;
|
|
@@ -33,4 +34,6 @@ export declare class CryptoService {
|
|
|
33
34
|
*/
|
|
34
35
|
sha512(message: string): string;
|
|
35
36
|
encodeBase64(message: string): string;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CryptoService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CryptoService>;
|
|
36
39
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { LocalSettings, OfflineFeature, UsageMode } from './model/settings.model';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { Storage } from '@ionic/storage';
|
|
4
|
+
import { Storage } from '@ionic/storage-angular';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import { Platform } from '@ionic/angular';
|
|
7
7
|
import { FormFieldDefinition, FormFieldDefinitionMap } from '../../shared/form/field.model';
|
|
@@ -10,6 +10,7 @@ import { LatLongPattern } from '../../shared/material/latlong/latlong.utils';
|
|
|
10
10
|
import { Environment } from '../../../environments/environment.class';
|
|
11
11
|
import { HistoryPageReference } from './model/history.model';
|
|
12
12
|
import { StartableService } from '../../shared/services/startable-service.class';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
13
14
|
export declare const SETTINGS_STORAGE_KEY = "settings";
|
|
14
15
|
export declare const SETTINGS_TRANSIENT_PROPERTIES: string[];
|
|
15
16
|
export declare const APP_LOCAL_SETTINGS: InjectionToken<Partial<LocalSettings>>;
|
|
@@ -37,6 +38,7 @@ export declare class LocalSettingsService extends StartableService<LocalSettings
|
|
|
37
38
|
get pageHistory(): HistoryPageReference[];
|
|
38
39
|
constructor(translate: TranslateService, platform: Platform, storage: Storage, environment: Environment, defaultSettings: LocalSettings, defaultOptionsMap: FormFieldDefinitionMap);
|
|
39
40
|
ngOnStart(): Promise<LocalSettings>;
|
|
41
|
+
protected ngOnStop(): Promise<void>;
|
|
40
42
|
isUsageMode(mode: UsageMode): boolean;
|
|
41
43
|
isOnFieldMode(value?: UsageMode): boolean;
|
|
42
44
|
restoreLocally(): Promise<LocalSettings | undefined>;
|
|
@@ -75,4 +77,6 @@ export declare class LocalSettingsService extends StartableService<LocalSettings
|
|
|
75
77
|
private resetData;
|
|
76
78
|
private persistLocally;
|
|
77
79
|
private fillPageHistoryDefaults;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalSettingsService, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
81
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalSettingsService>;
|
|
78
82
|
}
|
|
@@ -8,7 +8,7 @@ export declare interface IStatus {
|
|
|
8
8
|
label: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const StatusList: Readonly<IStatus[]>;
|
|
11
|
-
export declare const StatusById: Readonly<import("
|
|
11
|
+
export declare const StatusById: Readonly<import("@sumaris-net/ngx-components").KeyValueType<IStatus>>;
|
|
12
12
|
export declare interface IReferentialRef<T extends IEntity<T, ID> = IEntity<any, any>, ID = number> extends IEntity<T, ID> {
|
|
13
13
|
label: string;
|
|
14
14
|
name: string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { CryptoService } from './crypto.service';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { Storage } from '@ionic/storage';
|
|
4
|
+
import { Storage } from '@ionic/storage-angular';
|
|
5
5
|
import { Peer } from './model/peer.model';
|
|
6
6
|
import { ModalController, Platform, ToastController } from '@ionic/angular';
|
|
7
7
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
8
8
|
import { LocalSettingsService } from './local-settings.service';
|
|
9
|
-
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
|
10
9
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
11
|
-
import { Connection, Network } from '@
|
|
10
|
+
import { Connection, Network } from '@awesome-cordova-plugins/network/ngx';
|
|
12
11
|
import { CacheService } from 'ionic-cache';
|
|
13
12
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
14
13
|
import { OverlayEventDetail } from '@ionic/core';
|
|
15
14
|
import { AppManifest, NodeInfo } from './network.utils';
|
|
16
15
|
import { StartableObservableService } from '../../shared/services/startable-observable-service.class';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
17
|
export declare type ConnectionType = 'none' | 'wifi' | 'ethernet' | 'cell' | 'unknown';
|
|
18
18
|
export declare type AuthTokenType = 'token' | 'basic' | 'basic-and-token';
|
|
19
19
|
export declare function getConnectionType(type: Connection): ConnectionType;
|
|
@@ -29,7 +29,6 @@ export declare class NetworkService extends StartableObservableService<Peer, Pee
|
|
|
29
29
|
private http;
|
|
30
30
|
protected environment: any;
|
|
31
31
|
private network;
|
|
32
|
-
private splashScreen;
|
|
33
32
|
private translate;
|
|
34
33
|
private toastController;
|
|
35
34
|
onPeerChanges: import("rxjs").Observable<string>;
|
|
@@ -47,7 +46,7 @@ export declare class NetworkService extends StartableObservableService<Peer, Pee
|
|
|
47
46
|
get connectionType(): ConnectionType;
|
|
48
47
|
get peer(): Peer;
|
|
49
48
|
set peer(peer: Peer);
|
|
50
|
-
constructor(_document: any, platform: Platform, modalCtrl: ModalController, cryptoService: CryptoService, storage: Storage, settings: LocalSettingsService, cache: CacheService, http: HttpClient, environment: any, network: Network,
|
|
49
|
+
constructor(_document: any, platform: Platform, modalCtrl: ModalController, cryptoService: CryptoService, storage: Storage, settings: LocalSettingsService, cache: CacheService, http: HttpClient, environment: any, network: Network, translate: TranslateService, toastController: ToastController);
|
|
51
50
|
/**
|
|
52
51
|
* Register to network event
|
|
53
52
|
*
|
|
@@ -146,4 +145,6 @@ export declare class NetworkService extends StartableObservableService<Peer, Pee
|
|
|
146
145
|
protected showToast<T = any>(opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
|
|
147
146
|
protected addListener<T = any>(name: NetworkEventType, callback: (data?: T) => Promise<void>): Subscription;
|
|
148
147
|
protected emit<T = any>(name: NetworkEventType, data?: T): Promise<void[]>;
|
|
148
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NetworkService, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
149
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NetworkService>;
|
|
149
150
|
}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { Account } from '../model/account.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class IsLoginAccountPipe implements PipeTransform {
|
|
4
5
|
transform(value: Account): boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsLoginAccountPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsLoginAccountPipe, "isLogin", false>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IsLoginAccountPipe>;
|
|
5
9
|
}
|
|
6
10
|
export declare class AccountToStringPipe implements PipeTransform {
|
|
7
11
|
transform(value: Account): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountToStringPipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AccountToStringPipe, "accountToString", false>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AccountToStringPipe>;
|
|
8
15
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { Department } from '../model/department.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DepartmentToStringPipe implements PipeTransform {
|
|
4
5
|
transform(value: Department | (Department[]), separator?: string): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DepartmentToStringPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DepartmentToStringPipe, "departmentToString", false>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DepartmentToStringPipe>;
|
|
5
9
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { Person } from '../model/person.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class PersonToStringPipe implements PipeTransform {
|
|
4
5
|
transform(value: Person | Person[], separator?: string): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PersonToStringPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PersonToStringPipe, "personToString", false>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PersonToStringPipe>;
|
|
5
9
|
}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { UsageMode } from '../model/settings.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class IsOnFieldModePipe implements PipeTransform {
|
|
4
5
|
transform(value: UsageMode): boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsOnFieldModePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsOnFieldModePipe, "isOnField", false>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IsOnFieldModePipe>;
|
|
5
9
|
}
|
|
6
10
|
export declare class IsNotOnFieldModePipe implements PipeTransform {
|
|
7
11
|
transform(value: UsageMode): boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsNotOnFieldModePipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IsNotOnFieldModePipe, "isNotOnField", false>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IsNotOnFieldModePipe>;
|
|
8
15
|
}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
/// <reference types="localforage" />
|
|
2
1
|
import { Platform, ToastController } from '@ionic/angular';
|
|
3
2
|
import { NetworkService } from './network.service';
|
|
4
3
|
import { Platforms } from '@ionic/core';
|
|
5
|
-
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
|
6
|
-
import { StatusBar } from '@ionic-native/status-bar/ngx';
|
|
7
|
-
import { Keyboard } from '@ionic-native/keyboard/ngx';
|
|
8
4
|
import { LocalSettingsService } from './local-settings.service';
|
|
9
5
|
import { CacheService } from 'ionic-cache';
|
|
10
6
|
import { AudioProvider } from '../../shared/audio/audio';
|
|
11
7
|
import { Platform as CdkPlatform } from '@angular/cdk/platform';
|
|
12
|
-
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
|
|
13
|
-
import { Storage } from '@ionic/storage';
|
|
14
8
|
import { EntitiesStorage } from './storage/entities-storage.service';
|
|
15
9
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
16
10
|
import { TranslateService } from '@ngx-translate/core';
|
|
@@ -20,39 +14,44 @@ import { ConfigService } from './config.service';
|
|
|
20
14
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
21
15
|
import { Downloader, DownloadRequest } from '@ionic-native/downloader/ngx';
|
|
22
16
|
import { StartableService } from '../../shared/services/startable-service.class';
|
|
17
|
+
import { StorageService } from '../../shared/services/storage/storage.service';
|
|
18
|
+
import { OpenOptions } from '@capacitor/browser';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
23
20
|
export declare const AndroidOsEnvironment: Readonly<{
|
|
24
21
|
DIRECTORY_DOWNLOADS: string;
|
|
25
22
|
DIRECTORY_DOWNLOADS_OLD: string;
|
|
26
23
|
}>;
|
|
27
24
|
export declare class PlatformService extends StartableService {
|
|
28
|
-
private
|
|
25
|
+
private ionicPlatform;
|
|
29
26
|
private cdkPlatform;
|
|
30
27
|
private toastController;
|
|
31
28
|
private translate;
|
|
32
29
|
private dateAdapter;
|
|
30
|
+
private storageService;
|
|
33
31
|
private entitiesStorage;
|
|
34
32
|
private settings;
|
|
35
33
|
private networkService;
|
|
36
34
|
private accountService;
|
|
37
35
|
private configService;
|
|
38
36
|
private cache;
|
|
39
|
-
private storage;
|
|
40
37
|
private audioProvider;
|
|
41
38
|
protected environment: any;
|
|
42
|
-
private statusBar;
|
|
43
|
-
private keyboard;
|
|
44
|
-
private splashScreen;
|
|
45
|
-
private browser;
|
|
46
39
|
private downloader;
|
|
47
40
|
private _mobile;
|
|
48
41
|
private _cordova;
|
|
42
|
+
private _capacitor;
|
|
49
43
|
private _android;
|
|
50
44
|
private _ios;
|
|
51
45
|
private _downloadingJobs;
|
|
52
46
|
private checkAppVersionTimer;
|
|
53
|
-
constructor(
|
|
47
|
+
constructor(ionicPlatform: Platform, cdkPlatform: CdkPlatform, toastController: ToastController, translate: TranslateService, dateAdapter: MomentDateAdapter, storageService: StorageService, entitiesStorage: EntitiesStorage, settings: LocalSettingsService, networkService: NetworkService, accountService: AccountService, configService: ConfigService, cache: CacheService, audioProvider: AudioProvider, environment: any, downloader: Downloader);
|
|
54
48
|
is(platformName: Platforms): boolean;
|
|
55
49
|
get mobile(): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Say if opened has been opened inside an Android or iOs App.
|
|
52
|
+
* This is used to known if there is cordova features
|
|
53
|
+
*/
|
|
54
|
+
isCapacitor(): boolean;
|
|
56
55
|
/**
|
|
57
56
|
* Say if opened has been opened inside an Android or iOs App.
|
|
58
57
|
* This is used to known if there is cordova features
|
|
@@ -60,6 +59,9 @@ export declare class PlatformService extends StartableService {
|
|
|
60
59
|
isCordova(): boolean;
|
|
61
60
|
isAndroidCordova(): boolean;
|
|
62
61
|
isIOSCordova(): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Is a native App (and NOT a mobile web)
|
|
64
|
+
*/
|
|
63
65
|
isApp(): boolean;
|
|
64
66
|
isWeb(): boolean;
|
|
65
67
|
isMobileWeb(): boolean;
|
|
@@ -68,23 +70,22 @@ export declare class PlatformService extends StartableService {
|
|
|
68
70
|
width(): number;
|
|
69
71
|
height(): number;
|
|
70
72
|
protected ngOnStart(): Promise<any>;
|
|
71
|
-
open(url: string,
|
|
73
|
+
open(url: string, opts?: OpenOptions): Promise<void>;
|
|
72
74
|
getDownloadingJob(uri: string): Observable<string>;
|
|
73
75
|
download(request: {
|
|
74
76
|
uri: string;
|
|
75
77
|
filename?: string;
|
|
76
|
-
} & Partial<DownloadRequest>): Observable<string>;
|
|
77
|
-
|
|
78
|
-
protected
|
|
79
|
-
protected
|
|
80
|
-
protected configureTranslate(): void;
|
|
78
|
+
} & Partial<DownloadRequest>): Observable<string | undefined>;
|
|
79
|
+
protected configureGlobalCssClass(mobile: boolean, win?: any): void;
|
|
80
|
+
protected configureCapacitorPlugins(): Promise<void>;
|
|
81
|
+
protected configureTranslate(): Promise<void>;
|
|
81
82
|
protected configureCache(online?: boolean): void;
|
|
82
83
|
protected checkAppVersion(opts?: {
|
|
83
84
|
canReload?: boolean;
|
|
84
85
|
silent?: boolean;
|
|
85
86
|
}): Promise<void>;
|
|
86
|
-
protected storageReady(): Promise<LocalForage>;
|
|
87
|
-
protected migrateStorage(storage: LocalForage): Promise<void>;
|
|
88
87
|
protected showToast(opts: ShowToastOptions): Promise<HTMLIonToastElement>;
|
|
89
88
|
protected onStartupError(err: any): Promise<void>;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformService, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
90
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformService>;
|
|
90
91
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
|
-
import { Storage } from '@ionic/storage';
|
|
4
3
|
import { Platform } from '@ionic/angular';
|
|
5
4
|
import { Entity, IEntity } from '../model/entity.model';
|
|
6
5
|
import { LoadResult } from '../../../shared/services/entity-service.class';
|
|
@@ -8,6 +7,8 @@ import { EntityStorageLoadOptions, EntityStore, EntityStoreTypePolicy } from './
|
|
|
8
7
|
import { ProgressBarService } from '../../../shared/services/progress-bar.service';
|
|
9
8
|
import { Environment } from '../../../../environments/environment.class';
|
|
10
9
|
import { StartableService } from '../../../shared/services/startable-service.class';
|
|
10
|
+
import { IStorage } from '../../../shared/services/storage/storage.utils';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
11
12
|
export interface EntitiesStorageTypePolicies {
|
|
12
13
|
[__typename: string]: EntityStoreTypePolicy;
|
|
13
14
|
}
|
|
@@ -28,7 +29,7 @@ export declare class EntitiesStorage extends StartableService<EntityStorageMap>
|
|
|
28
29
|
private _dirty;
|
|
29
30
|
private _saving;
|
|
30
31
|
get dirty(): boolean;
|
|
31
|
-
constructor(platform: Platform, progressBarService: ProgressBarService, storage:
|
|
32
|
+
constructor(platform: Platform, progressBarService: ProgressBarService, storage: IStorage, environment: Environment, typePolicies: EntitiesStorageTypePolicies);
|
|
32
33
|
ngOnStart(): Promise<EntityStorageMap>;
|
|
33
34
|
protected ngOnStop(): Promise<void>;
|
|
34
35
|
watchAll<T extends Entity<T>>(entityName: string, variables: {
|
|
@@ -101,5 +102,7 @@ export declare class EntitiesStorage extends StartableService<EntityStorageMap>
|
|
|
101
102
|
protected storeLocally(opts?: {
|
|
102
103
|
skipIfPristine: boolean;
|
|
103
104
|
}): Promise<void>;
|
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntitiesStorage, [null, null, null, null, { optional: true; }]>;
|
|
106
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EntitiesStorage>;
|
|
104
107
|
}
|
|
105
108
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { Storage } from '@ionic/storage';
|
|
3
2
|
import { Entity, IEntity } from '../model/entity.model';
|
|
4
3
|
import { LoadResult } from '../../../shared/services/entity-service.class';
|
|
4
|
+
import { IStorage } from '../../../shared/services/storage/storage.utils';
|
|
5
5
|
export declare const ENTITIES_STORAGE_KEY_PREFIX = "entities";
|
|
6
6
|
export declare type EntityStoreTypePolicyMode = 'default' | 'by-id';
|
|
7
7
|
export declare interface EntityStoreTypePolicy<T extends Entity<T, any> = Entity<any, any>, K = keyof T> {
|
|
@@ -14,7 +14,7 @@ export declare interface EntityStorageLoadOptions {
|
|
|
14
14
|
}
|
|
15
15
|
export declare class EntityStore<T extends IEntity<T, ID>, ID = number, O extends EntityStorageLoadOptions = EntityStorageLoadOptions> {
|
|
16
16
|
protected readonly name: string;
|
|
17
|
-
protected readonly storage:
|
|
17
|
+
protected readonly storage: IStorage;
|
|
18
18
|
private readonly _storageKey;
|
|
19
19
|
private readonly _onChange;
|
|
20
20
|
private readonly _mapToLightEntity;
|
|
@@ -29,7 +29,7 @@ export declare class EntityStore<T extends IEntity<T, ID>, ID = number, O extend
|
|
|
29
29
|
get dirty(): boolean;
|
|
30
30
|
protected get isByIdMode(): boolean;
|
|
31
31
|
protected get storageKeyById(): string;
|
|
32
|
-
constructor(name: string, storage:
|
|
32
|
+
constructor(name: string, storage: IStorage, policy?: EntityStoreTypePolicy<T>);
|
|
33
33
|
nextValue(): ID;
|
|
34
34
|
currentValue(): number;
|
|
35
35
|
load(id: ID, opts?: EntityStorageLoadOptions): Promise<T>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { AbstractControlOptions,
|
|
1
|
+
import { AbstractControlOptions, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
2
2
|
import { Referential } from '../model/referential.model';
|
|
3
3
|
import { AppValidatorService } from '../validator/base.validator.class';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ReferentialValidatorService<T extends Referential = Referential> extends AppValidatorService<T> {
|
|
5
|
-
protected formBuilder:
|
|
6
|
-
constructor(formBuilder:
|
|
7
|
-
getRowValidator():
|
|
6
|
+
protected formBuilder: UntypedFormBuilder;
|
|
7
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
8
|
+
getRowValidator(): UntypedFormGroup;
|
|
8
9
|
getFormGroup(data?: T, opts?: {
|
|
9
10
|
withDescription?: boolean;
|
|
10
11
|
withComments?: boolean;
|
|
11
|
-
}):
|
|
12
|
+
}): UntypedFormGroup;
|
|
12
13
|
getFormGroupConfig(data?: T, opts?: {
|
|
13
14
|
withDescription?: boolean;
|
|
14
15
|
withComments?: boolean;
|
|
@@ -16,4 +17,6 @@ export declare class ReferentialValidatorService<T extends Referential = Referen
|
|
|
16
17
|
[key: string]: any;
|
|
17
18
|
};
|
|
18
19
|
getFormGroupOptions(data?: T, opts?: any): AbstractControlOptions | null;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReferentialValidatorService<any>, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ReferentialValidatorService<any>>;
|
|
19
22
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormBuilder, ValidatorFn } from '@angular/forms';
|
|
2
2
|
import { Account } from '../model/account.model';
|
|
3
3
|
import { AccountService } from '../account.service';
|
|
4
4
|
import { FormFieldDefinition } from '../../../shared/form/field.model';
|
|
5
5
|
import { AppValidatorService } from './base.validator.class';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class AccountValidatorService extends AppValidatorService<Account> {
|
|
7
|
-
protected formBuilder:
|
|
8
|
+
protected formBuilder: UntypedFormBuilder;
|
|
8
9
|
protected accountService: AccountService;
|
|
9
|
-
constructor(formBuilder:
|
|
10
|
+
constructor(formBuilder: UntypedFormBuilder, accountService: AccountService);
|
|
10
11
|
getFormGroupConfig(data?: Account): any;
|
|
11
12
|
getValidators(field: FormFieldDefinition): ValidatorFn | ValidatorFn[];
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountValidatorService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AccountValidatorService>;
|
|
12
15
|
}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { ValidatorService } from '@e-is/ngx-material-table';
|
|
2
|
-
import { AbstractControl,
|
|
2
|
+
import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { IValidatorService } from '../../../shared/services/validator-service.class';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { FormErrors } from '../../../shared/forms';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare abstract class AppValidatorService<T = any> extends ValidatorService implements IValidatorService<T> {
|
|
7
|
-
protected formBuilder:
|
|
8
|
+
protected formBuilder: UntypedFormBuilder;
|
|
8
9
|
protected translate?: TranslateService;
|
|
9
|
-
protected constructor(formBuilder:
|
|
10
|
-
getRowValidator():
|
|
11
|
-
getFormGroup(data?: T):
|
|
10
|
+
protected constructor(formBuilder: UntypedFormBuilder, translate?: TranslateService);
|
|
11
|
+
getRowValidator(): UntypedFormGroup;
|
|
12
|
+
getFormGroup(data?: T): UntypedFormGroup;
|
|
12
13
|
getFormGroupConfig(data?: T): {
|
|
13
14
|
[key: string]: any;
|
|
14
15
|
};
|
|
15
16
|
getI18nFormErrors(control: AbstractControl): string[];
|
|
16
17
|
getI18nErrors(errors: FormErrors): string[];
|
|
17
18
|
protected getI18nError(errorKey: string, errorContent?: any): string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppValidatorService<any>, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AppValidatorService<any>, never, never, {}, {}, never, never, false>;
|
|
18
21
|
}
|