@sumaris-net/ngx-components 1.23.54 → 2.0.0-rc10
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 +277 -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 +675 -0
- package/esm2020/src/app/core/form/entity-editor-modal.class.mjs +421 -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 +340 -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 +153 -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 +1669 -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/{esm2015/src/app/shared/graph/graph-colors.js → esm2020/src/app/shared/graph/graph-colors.mjs} +0 -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 +834 -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 +176 -0
- package/esm2020/src/app/shared/material/badge/badge.module.mjs +32 -0
- package/esm2020/src/app/shared/material/badge/badge.test.mjs +28 -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 +690 -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 +157 -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 +103 -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 +337 -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/observable.test.mjs +96 -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 +33165 -0
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -0
- package/fesm2020/sumaris-net.ngx-components.mjs +32458 -0
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +30 -32
- package/public_api.d.ts +40 -6
- 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 +10 -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 +7 -2
- package/src/app/core/form/entity-editor-modal.class.d.ts +9 -6
- 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 +6 -6
- package/src/app/core/form/list.form.d.ts +11 -8
- 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 +4 -1
- package/src/app/core/peer/select-peer.modal.d.ts +8 -5
- 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/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 +4 -1
- 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 +17 -13
- package/src/app/core/table/table.utils.d.ts +2 -1
- package/src/app/core/table/testing/table.testing.d.ts +14 -16
- 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/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 +30 -0
- package/src/app/shared/material/badge/badge.module.d.ts +10 -0
- package/src/app/shared/material/badge/badge.test.d.ts +13 -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 +20 -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/observable.test.d.ts +3 -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/_ionic.globals.scss +4 -0
- package/src/theme/_material.globals.scss +32 -32
- 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 -35963
- 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 -221
- 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 -702
- package/esm2015/src/app/core/form/entity-editor-modal.class.js +0 -435
- 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 -346
- 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 -155
- 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 -1685
- 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/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 -823
- 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 -635
- 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 -121
- 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 -106
- 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 -348
- 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/observable.test.js +0 -97
- 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 -22
- package/fesm2015/sumaris-net.ngx-components.js +0 -30450
- 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 -21
- package/sumaris-net.ngx-components.metadata.json +0 -1
|
@@ -25,7 +25,7 @@ export declare abstract class StartableObservableService<T = any, O = any> imple
|
|
|
25
25
|
get stopped(): boolean;
|
|
26
26
|
protected get data(): T;
|
|
27
27
|
protected set data(value: T);
|
|
28
|
-
protected registerSubscription(sub: Subscription):
|
|
28
|
+
protected registerSubscription(sub: Subscription): void;
|
|
29
29
|
protected unregisterSubscription(sub: Subscription): void;
|
|
30
30
|
protected unsubscribe(): void;
|
|
31
31
|
protected ngOnStop(): Promise<void> | void;
|
|
@@ -25,7 +25,7 @@ export declare abstract class StartableService<T = any, O = any> implements ISta
|
|
|
25
25
|
get started(): boolean;
|
|
26
26
|
get starting(): boolean;
|
|
27
27
|
get stopped(): boolean;
|
|
28
|
-
protected registerSubscription(sub: Subscription):
|
|
28
|
+
protected registerSubscription(sub: Subscription): void;
|
|
29
29
|
protected unregisterSubscription(sub: Subscription): void;
|
|
30
30
|
protected unsubscribe(): void;
|
|
31
31
|
protected ngOnStop(): Promise<void> | void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Storage } from '@ionic/storage-angular';
|
|
2
|
+
import { IStorage } from './storage.utils';
|
|
3
|
+
import { StartableService } from '../startable-service.class';
|
|
4
|
+
import { Platform } from '@ionic/angular';
|
|
5
|
+
import { Environment } from '../../../../environments/environment.class';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class StorageService extends StartableService<Storage> implements IStorage<Storage> {
|
|
8
|
+
private platform;
|
|
9
|
+
private storage;
|
|
10
|
+
private environment;
|
|
11
|
+
get driver(): string | undefined;
|
|
12
|
+
constructor(platform: Platform, storage: Storage, environment: Environment);
|
|
13
|
+
protected ngOnStart(): Promise<Storage>;
|
|
14
|
+
protected migrate(storage: Storage): Promise<void>;
|
|
15
|
+
set(key: string, value: any): Promise<any>;
|
|
16
|
+
get(key: string): Promise<any>;
|
|
17
|
+
remove(key: string): Promise<any>;
|
|
18
|
+
keys(): Promise<string[]>;
|
|
19
|
+
clear(): Promise<void>;
|
|
20
|
+
forEach(iteratorCallback: (value: any, key: string, iterationNumber: Number) => any): Promise<void>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export interface IStorage<T = any> {
|
|
3
|
+
readonly driver: string;
|
|
4
|
+
ready(): Promise<T>;
|
|
5
|
+
set(key: string, value: any): Promise<void>;
|
|
6
|
+
get(key: string): Promise<any>;
|
|
7
|
+
remove(key: string): Promise<void>;
|
|
8
|
+
keys(): Promise<string[]>;
|
|
9
|
+
clear(): Promise<void>;
|
|
10
|
+
forEach(iteratorCallback: (value: any, key: string, iterationNumber: Number) => any): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
export declare const StorageDrivers: {
|
|
13
|
+
SQLLite: string;
|
|
14
|
+
SecureStorage: string;
|
|
15
|
+
WebSQL: string;
|
|
16
|
+
IndexedDB: string;
|
|
17
|
+
LocalStorage: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const APP_STORAGE: InjectionToken<IStorage<any>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TranslateService } from '@ngx-translate/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TranslateContextService {
|
|
4
5
|
protected translate: TranslateService;
|
|
5
6
|
constructor(translate: TranslateService);
|
|
@@ -23,4 +24,6 @@ export declare class TranslateContextService {
|
|
|
23
24
|
*/
|
|
24
25
|
contextualKey(key: string, context: string): string;
|
|
25
26
|
private findFirstValid;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateContextService, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TranslateContextService>;
|
|
26
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ValidatorService } from '@e-is/ngx-material-table';
|
|
2
|
-
import { AbstractControl,
|
|
2
|
+
import { AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
export interface IValidatorService<T> extends ValidatorService {
|
|
4
|
-
getFormGroup(data?: T):
|
|
4
|
+
getFormGroup(data?: T): UntypedFormGroup;
|
|
5
5
|
/**
|
|
6
6
|
* Compute errors from a controls
|
|
7
7
|
* @param control any control, or FormGroup, or FormArray
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot } from '@angular/router';
|
|
2
2
|
import { IonicRouteStrategy } from '@ionic/angular';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/router";
|
|
3
5
|
export declare class CustomReuseStrategy extends IonicRouteStrategy {
|
|
4
6
|
/**
|
|
5
7
|
* Force to reuse the route when:
|
|
@@ -9,7 +11,12 @@ export declare class CustomReuseStrategy extends IonicRouteStrategy {
|
|
|
9
11
|
* @param curr
|
|
10
12
|
*/
|
|
11
13
|
shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomReuseStrategy, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomReuseStrategy>;
|
|
12
16
|
}
|
|
13
17
|
export declare class SharedRoutingModule {
|
|
14
18
|
constructor();
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedRoutingModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedRoutingModule, never, [typeof i1.RouterModule], never>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedRoutingModule>;
|
|
15
22
|
}
|
|
@@ -1,7 +1,30 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import { CloseScrollStrategy, Overlay } from '@angular/cdk/overlay';
|
|
3
3
|
import { Environment } from '../../environments/environment.class';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./form/field.component";
|
|
6
|
+
import * as i2 from "./form/loading-spinner";
|
|
7
|
+
import * as i3 from "./help/help.modal";
|
|
8
|
+
import * as i4 from "./upload-file/upload-file.component";
|
|
9
|
+
import * as i5 from "./upload-file/upload-file-popover.component";
|
|
10
|
+
import * as i6 from "./testing/tests.page";
|
|
11
|
+
import * as i7 from "@angular/common";
|
|
12
|
+
import * as i8 from "@ionic/angular";
|
|
13
|
+
import * as i9 from "@angular/forms";
|
|
14
|
+
import * as i10 from "@ngx-translate/core";
|
|
15
|
+
import * as i11 from "ngx-color-picker";
|
|
16
|
+
import * as i12 from "angular2-text-mask";
|
|
17
|
+
import * as i13 from "@angular/cdk/drag-drop";
|
|
18
|
+
import * as i14 from "ngx-markdown";
|
|
19
|
+
import * as i15 from "./material/material.module";
|
|
20
|
+
import * as i16 from "./directives/directives.module";
|
|
21
|
+
import * as i17 from "./pipes/pipes.module";
|
|
22
|
+
import * as i18 from "./hotkeys/shared-hotkeys.module";
|
|
23
|
+
import * as i19 from "./toolbar/toolbar.module";
|
|
4
24
|
export declare function scrollFactory(overlay: Overlay): () => CloseScrollStrategy;
|
|
5
25
|
export declare class SharedModule {
|
|
6
26
|
static forRoot(environment: Environment): ModuleWithProviders<SharedModule>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
28
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.AppFormField, typeof i2.AppLoadingSpinner, typeof i3.AppHelpModal, typeof i4.UploadFileComponent, typeof i5.UploadFilePopover, typeof i6.SharedTestsPage], [typeof i7.CommonModule, typeof i8.IonicModule, typeof i9.ReactiveFormsModule, typeof i10.TranslateModule, typeof i11.ColorPickerModule, typeof i12.TextMaskModule, typeof i13.DragDropModule, typeof i14.MarkdownModule, typeof i15.SharedMaterialModule, typeof i16.SharedDirectivesModule, typeof i17.SharedPipesModule, typeof i18.SharedHotkeysModule, typeof i19.SharedToolbarModule], [typeof i7.CommonModule, typeof i8.IonicModule, typeof i10.TranslateModule, typeof i9.ReactiveFormsModule, typeof i11.ColorPickerModule, typeof i12.TextMaskModule, typeof i13.DragDropModule, typeof i14.MarkdownModule, typeof i15.SharedMaterialModule, typeof i16.SharedDirectivesModule, typeof i17.SharedPipesModule, typeof i18.SharedHotkeysModule, typeof i19.SharedToolbarModule, typeof i1.AppFormField, typeof i2.AppLoadingSpinner, typeof i3.AppHelpModal, typeof i4.UploadFileComponent, typeof i5.UploadFilePopover, typeof i6.SharedTestsPage]>;
|
|
29
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
7
30
|
}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { TestingPage } from './testing/tests.page';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@ionic/angular";
|
|
5
|
+
import * as i3 from "@ngx-translate/core";
|
|
6
|
+
import * as i4 from "./material/material.testing.module";
|
|
7
|
+
import * as i5 from "./toast/toast.testing.module";
|
|
8
|
+
import * as i6 from "./upload-file/testing/upload-file.testing.module";
|
|
9
|
+
import * as i7 from "./image/gallery/testing/gallery.testing.module";
|
|
10
|
+
import * as i8 from "./audio/audio.testing.module";
|
|
2
11
|
export declare const SHARED_TESTING_PAGES: TestingPage[];
|
|
3
12
|
export declare class SharedTestingModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedTestingModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedTestingModule, never, [typeof i1.CommonModule, typeof i2.IonicModule, typeof i3.TranslateModule, typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule], [typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedTestingModule>;
|
|
4
16
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FirstOptions, WaitForOptions } from '../observables';
|
|
3
3
|
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ObservableTestPage implements OnDestroy {
|
|
5
6
|
_stopSubject: Subject<void>;
|
|
6
7
|
$value: Subject<any>;
|
|
@@ -19,4 +20,6 @@ export declare class ObservableTestPage implements OnDestroy {
|
|
|
19
20
|
stop(): void;
|
|
20
21
|
log(message: string, ...args: any): void;
|
|
21
22
|
appendLog(message: string): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObservableTestPage, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObservableTestPage, "app-observable-test", never, {}, {}, never, never, false>;
|
|
22
25
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare interface TestingPage {
|
|
5
6
|
label: string;
|
|
6
7
|
page?: string;
|
|
@@ -14,4 +15,6 @@ export declare class SharedTestsPage {
|
|
|
14
15
|
pages: TestingPage[];
|
|
15
16
|
constructor(route: ActivatedRoute, router: Router, translate: TranslateService, pages: TestingPage[]);
|
|
16
17
|
openPage(page: any): Promise<boolean>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedTestsPage, [null, null, null, { optional: true; }]>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SharedTestsPage, "app-tests-page", never, {}, {}, never, never, false>;
|
|
17
20
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
2
|
import { ShowToastOptions } from './toasts';
|
|
3
|
-
import
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ToastTestingPage {
|
|
5
|
-
private
|
|
6
|
-
private translate;
|
|
5
|
+
private injector;
|
|
7
6
|
readonly defaultOptions: ShowToastOptions;
|
|
8
|
-
constructor(
|
|
7
|
+
constructor(injector: Injector);
|
|
9
8
|
showToast(opts?: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
10
9
|
showInfo(opts?: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
11
10
|
showWarning(opts?: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
12
11
|
showError(opts?: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
13
12
|
toggleCloseButton(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastTestingPage, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastTestingPage, "toast-testing", never, {}, {}, never, never, false>;
|
|
14
15
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./toast.testing";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
1
7
|
export declare class ToastTestingModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastTestingModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToastTestingModule, [typeof i1.ToastTestingPage], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.TranslateModule, typeof i5.RouterModule], [typeof i5.RouterModule, typeof i1.ToastTestingPage]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToastTestingModule>;
|
|
2
11
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ToastController } from '@ionic/angular';
|
|
1
|
+
import { AnimationController, ToastController } from '@ionic/angular';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { OverlayEventDetail, ToastOptions } from '@ionic/core';
|
|
3
|
+
import { AnimationBuilder, OverlayEventDetail, ToastOptions } from '@ionic/core';
|
|
4
|
+
import { Injector } from '@angular/core';
|
|
4
5
|
export declare interface ShowToastOptions extends ToastOptions {
|
|
5
6
|
type?: 'error' | 'warning' | 'info';
|
|
6
7
|
messageParams?: any;
|
|
@@ -10,5 +11,7 @@ export declare interface ShowToastOptions extends ToastOptions {
|
|
|
10
11
|
export declare class Toasts {
|
|
11
12
|
static counter: number;
|
|
12
13
|
static stackSize: number;
|
|
14
|
+
static showSimple<T = any>(injector: Injector, opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
|
|
13
15
|
static show<T = any>(toastController: ToastController, translate: TranslateService, opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
|
|
16
|
+
static createEnterAnimation(animationCtrl: AnimationController, currentOffset: number, opts: ShowToastOptions): AnimationBuilder;
|
|
14
17
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Hotkeys } from '../hotkeys/hotkeys.service';
|
|
3
3
|
import { IconRef } from '../types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ModalToolbarComponent implements OnInit, OnDestroy {
|
|
5
6
|
private hotkeys;
|
|
6
7
|
private _subscription;
|
|
@@ -10,9 +11,11 @@ export declare class ModalToolbarComponent implements OnInit, OnDestroy {
|
|
|
10
11
|
showSpinner: boolean;
|
|
11
12
|
canValidate: boolean;
|
|
12
13
|
validateIcon: IconRef;
|
|
13
|
-
cancel: EventEmitter<
|
|
14
|
-
validate: EventEmitter<
|
|
14
|
+
cancel: EventEmitter<Event>;
|
|
15
|
+
validate: EventEmitter<Event>;
|
|
15
16
|
constructor(hotkeys: Hotkeys);
|
|
16
17
|
ngOnInit(): void;
|
|
17
18
|
ngOnDestroy(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalToolbarComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalToolbarComponent, "app-modal-toolbar", never, { "modalName": "modalName"; "title": "title"; "color": "color"; "showSpinner": "showSpinner"; "canValidate": "canValidate"; "validateIcon": "validateIcon"; }, { "cancel": "cancel"; "validate": "validate"; }, never, ["[slot=start]", "ion-title", "ion-buttons[slot=end]", "ion-button[slot=end]"], false>;
|
|
18
21
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ProgressBarService, ProgressMode } from '../services/progress-bar.service';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { IonRouterOutlet, IonSearchbar } from '@ionic/angular';
|
|
4
|
+
import { IonMenuToggle, IonRouterOutlet, IonSearchbar } from '@ionic/angular';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { HammerTapEvent } from '../gesture/hammer.utils';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { AppColors } from '../types';
|
|
8
|
+
import { SearchbarChangeEventDetail as ISearchbarSearchbarChangeEventDetail } from '@ionic/core/dist/types/components/searchbar/searchbar-interface';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare abstract class ToolbarToken {
|
|
10
11
|
abstract onBackClick: Observable<Event>;
|
|
11
12
|
abstract doBackClick(event: Event): any;
|
|
@@ -22,7 +23,7 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
|
|
|
22
23
|
private _defaultBackHref;
|
|
23
24
|
private _backHref;
|
|
24
25
|
title: String;
|
|
25
|
-
color:
|
|
26
|
+
color: AppColors;
|
|
26
27
|
class: string;
|
|
27
28
|
set backHref(value: string);
|
|
28
29
|
get backHref(): string;
|
|
@@ -37,7 +38,7 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
|
|
|
37
38
|
onClose: EventEmitter<Event>;
|
|
38
39
|
onValidateAndClose: EventEmitter<Event>;
|
|
39
40
|
onBackClick: EventEmitter<Event>;
|
|
40
|
-
onSearch: EventEmitter<CustomEvent<
|
|
41
|
+
onSearch: EventEmitter<CustomEvent<ISearchbarSearchbarChangeEventDetail>>;
|
|
41
42
|
progressBarMode$: Observable<ProgressMode>;
|
|
42
43
|
showSearchBar: boolean;
|
|
43
44
|
searchbar: IonSearchbar;
|
|
@@ -50,4 +51,7 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
|
|
|
50
51
|
goBack(): Promise<void>;
|
|
51
52
|
tapClose(event: HammerTapEvent): void;
|
|
52
53
|
tapValidate(event: HammerTapEvent): void;
|
|
54
|
+
protected ionSearchBarChanged(event: Event): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, [null, null, null, null, { optional: true; }]>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "app-toolbar", never, { "title": "title"; "color": "color"; "class": "class"; "backHref": "backHref"; "defaultBackHref": "defaultBackHref"; "hasValidate": "hasValidate"; "hasClose": "hasClose"; "hasSearch": "hasSearch"; "canGoBack": "canGoBack"; "canShowMenu": "canShowMenu"; }, { "onValidate": "onValidate"; "onClose": "onClose"; "onValidateAndClose": "onValidateAndClose"; "onBackClick": "onBackClick"; "onSearch": "onSearch"; }, never, ["[slot=start]", "ion-title", "ion-buttons[slot=end]", "[slot=end]"], false>;
|
|
53
57
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./toolbar";
|
|
3
|
+
import * as i2 from "./modal-toolbar";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@ionic/angular";
|
|
6
|
+
import * as i5 from "@ngx-translate/core";
|
|
7
|
+
import * as i6 from "@angular/platform-browser";
|
|
8
|
+
import * as i7 from "../pipes/pipes.module";
|
|
9
|
+
import * as i8 from "@angular/material/progress-bar";
|
|
10
|
+
import * as i9 from "@angular/material/icon";
|
|
11
|
+
export declare class SharedToolbarModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedToolbarModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedToolbarModule, [typeof i1.ToolbarComponent, typeof i2.ModalToolbarComponent], [typeof i3.CommonModule, typeof i4.IonicModule, typeof i5.TranslateModule, typeof i6.HammerModule, typeof i7.SharedPipesModule, typeof i8.MatProgressBarModule, typeof i9.MatIconModule], [typeof i1.ToolbarComponent, typeof i2.ModalToolbarComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedToolbarModule>;
|
|
15
|
+
}
|
|
@@ -2,10 +2,11 @@ import { PopoverController } from '@ionic/angular';
|
|
|
2
2
|
import { UploadFilePopoverOptions } from '../upload-file-popover.component';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { FileEvent } from '../upload-file.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class UploadFileTestingPage {
|
|
6
7
|
private popoverController;
|
|
7
8
|
constructor(popoverController: PopoverController);
|
|
8
|
-
showPopover(event:
|
|
9
|
+
showPopover(event: Event, opts?: Partial<UploadFilePopoverOptions<any>>): Promise<void>;
|
|
9
10
|
/**
|
|
10
11
|
* Simulate a upload function, with progression
|
|
11
12
|
* @param file
|
|
@@ -14,4 +15,6 @@ export declare class UploadFileTestingPage {
|
|
|
14
15
|
finalName: string;
|
|
15
16
|
}>>;
|
|
16
17
|
deleteFile(file: File): Promise<boolean>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFileTestingPage, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFileTestingPage, "upload-file-testing", never, {}, {}, never, never, false>;
|
|
17
20
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./upload-file.testing";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
1
7
|
export declare class UploadFileTestingModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFileTestingModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UploadFileTestingModule, [typeof i1.UploadFileTestingPage], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.TranslateModule, typeof i5.RouterModule], [typeof i5.RouterModule, typeof i1.UploadFileTestingPage]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UploadFileTestingModule>;
|
|
2
11
|
}
|
|
@@ -3,6 +3,7 @@ import { PopoverController } from '@ionic/angular';
|
|
|
3
3
|
import { UploadFileComponent } from './upload-file.component';
|
|
4
4
|
import { FileDeleteFn, FileUploadFn, UploadFile } from './upload-file.model';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export interface UploadFilePopoverOptions<T> {
|
|
7
8
|
title?: string;
|
|
8
9
|
uploadFn: FileUploadFn<T>;
|
|
@@ -33,4 +34,6 @@ export declare class UploadFilePopover implements UploadFilePopoverOptions<any>
|
|
|
33
34
|
onValidate(event: any): Promise<any>;
|
|
34
35
|
cancel(): Promise<boolean>;
|
|
35
36
|
protected resetError(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFilePopover, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFilePopover, "app-upload-file-popover", never, { "fileExtension": "fileExtension"; "title": "title"; "uniqueFile": "uniqueFile"; "instantUpload": "instantUpload"; "uploadFn": "uploadFn"; "deleteFn": "deleteFn"; "maxParallelUpload": "maxParallelUpload"; }, {}, never, never, false>;
|
|
36
39
|
}
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { FileDeleteFn, FileUploadFn, UploadFile } from './upload-file.model';
|
|
4
4
|
import { WaitForOptions } from '../observables';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class UploadFileComponent {
|
|
6
7
|
protected cd: ChangeDetectorRef;
|
|
7
8
|
protected translate: TranslateService;
|
|
@@ -42,4 +43,6 @@ export declare class UploadFileComponent {
|
|
|
42
43
|
*/
|
|
43
44
|
uploadFiles(files?: File[]): Promise<UploadFile<any>[]>;
|
|
44
45
|
waitIdle(opts?: WaitForOptions): Promise<void>;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFileComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFileComponent, "app-upload-file", never, { "fileExtension": "fileExtension"; "uniqueFile": "uniqueFile"; "instantUpload": "instantUpload"; "uploadFn": "uploadFn"; "deleteFn": "deleteFn"; "maxParallelUpload": "maxParallelUpload"; }, {}, never, never, false>;
|
|
45
48
|
}
|
|
@@ -3,6 +3,7 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
3
3
|
import { AbstractControl } from '@angular/forms';
|
|
4
4
|
import { ObjectMap } from '../types';
|
|
5
5
|
import { FormErrors } from '../forms';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare const APP_FORM_ERROR_I18N_KEYS: InjectionToken<ObjectMap<string>>;
|
|
7
8
|
export interface IFormControlPathTranslator {
|
|
8
9
|
translateControlPath: (controlPath: string) => string;
|
|
@@ -21,4 +22,6 @@ export declare class FormErrorTranslator implements IFormControlPathTranslator {
|
|
|
21
22
|
translateErrors(errors: FormErrors, opts?: FormErrorTranslatorOptions): string;
|
|
22
23
|
translateControlPath(path: string, opts?: FormErrorTranslatorOptions): string;
|
|
23
24
|
translateError(errorKey: string, errorContent?: any): any;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormErrorTranslator, [null, { optional: true; }]>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormErrorTranslator>;
|
|
24
27
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractControl, AsyncValidatorFn,
|
|
1
|
+
import { AbstractControl, AsyncValidatorFn, UntypedFormControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
2
2
|
import { Moment, unitOfTime } from 'moment';
|
|
3
3
|
import { Observable, Subscription } from 'rxjs';
|
|
4
4
|
export declare class SharedValidators {
|
|
@@ -27,13 +27,13 @@ export declare class SharedValidators {
|
|
|
27
27
|
unique: string;
|
|
28
28
|
entity: string;
|
|
29
29
|
};
|
|
30
|
-
static latitude(control:
|
|
31
|
-
static longitude(control:
|
|
32
|
-
static object(control:
|
|
33
|
-
static entity(control:
|
|
34
|
-
static empty(control:
|
|
35
|
-
static pubkey(control:
|
|
36
|
-
static integer(control:
|
|
30
|
+
static latitude(control: UntypedFormControl): ValidationErrors | null;
|
|
31
|
+
static longitude(control: UntypedFormControl): ValidationErrors | null;
|
|
32
|
+
static object(control: UntypedFormControl): ValidationErrors | null;
|
|
33
|
+
static entity(control: UntypedFormControl): ValidationErrors | null;
|
|
34
|
+
static empty(control: UntypedFormControl): ValidationErrors | null;
|
|
35
|
+
static pubkey(control: UntypedFormControl): ValidationErrors | null;
|
|
36
|
+
static integer(control: UntypedFormControl): ValidationErrors | null;
|
|
37
37
|
/**
|
|
38
38
|
* @deprecated use decimal
|
|
39
39
|
*/
|
|
@@ -41,7 +41,7 @@ export declare class SharedValidators {
|
|
|
41
41
|
static decimal(opts?: {
|
|
42
42
|
maxDecimals?: number;
|
|
43
43
|
}): ValidatorFn;
|
|
44
|
-
static validDate(control:
|
|
44
|
+
static validDate(control: UntypedFormControl): ValidationErrors | null;
|
|
45
45
|
static dateIsAfter(previousValue: Moment, errorParam: string, granularity?: unitOfTime.StartOf): ValidatorFn;
|
|
46
46
|
static dateIsBefore(maxValue: Moment, errorParam: string, granularity?: unitOfTime.StartOf): ValidatorFn;
|
|
47
47
|
static dateRangeEnd(startDateFieldName: string, msg?: string): ValidatorFn;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./progression/job-progression.icon";
|
|
3
|
+
import * as i2 from "./progression/job-progression.list";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../shared/shared.module";
|
|
6
|
+
import * as i5 from "@ngx-translate/core";
|
|
1
7
|
export declare class JobModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<JobModule, [typeof i1.JobProgressionIcon, typeof i2.JobProgressionList], [typeof i3.CommonModule, typeof i4.SharedModule, typeof i5.TranslateModule], [typeof i1.JobProgressionIcon]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<JobModule>;
|
|
2
11
|
}
|
|
@@ -5,6 +5,7 @@ import { GraphqlService } from '../../core/graphql/graphql.service';
|
|
|
5
5
|
import { Environment } from '../../../environments/environment.class';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import { FetchPolicy, WatchQueryFetchPolicy } from '@apollo/client/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare const APP_JOB_PROGRESSION_SERVICE: InjectionToken<JobProgressionService>;
|
|
9
10
|
export interface IJobProgressionService {
|
|
10
11
|
watchAll(): Observable<JobProgression[]>;
|
|
@@ -28,4 +29,6 @@ export declare class JobProgressionService extends BaseGraphqlService<JobProgres
|
|
|
28
29
|
interval?: number;
|
|
29
30
|
fetchPolicy?: FetchPolicy;
|
|
30
31
|
}): Observable<JobProgression>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionService, [null, { optional: true; }]>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JobProgressionService>;
|
|
31
34
|
}
|
|
@@ -4,6 +4,7 @@ import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
|
|
|
4
4
|
import { IJobProgressionService } from '../job.service';
|
|
5
5
|
import { JobProgression } from '../job.model';
|
|
6
6
|
import { PopoverController } from '@ionic/angular';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export interface JobProgressionOptions {
|
|
8
9
|
autoHide: boolean;
|
|
9
10
|
autoHideDelay: number;
|
|
@@ -38,7 +39,9 @@ export declare class JobProgressionIcon implements OnInit, OnDestroy {
|
|
|
38
39
|
removeJob(id: number): void;
|
|
39
40
|
getProgression(id: number): JobProgression | undefined;
|
|
40
41
|
updateValue(): void;
|
|
41
|
-
showList(event:
|
|
42
|
+
showList(event: Event): Promise<void>;
|
|
42
43
|
protected markForCheck(): void;
|
|
43
44
|
ngOnDestroy(): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionIcon, [{ optional: true; }, null, null]>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionIcon, "app-job-progression-icon", never, { "debug": "debug"; "titleI18n": "titleI18n"; "options": "options"; "autoHide": "autoHide"; }, { "jobFinished": "jobFinished"; }, never, never, false>;
|
|
44
47
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { JobProgression } from '../job.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export interface JobProgressionListOptions {
|
|
4
5
|
titleI18n?: string;
|
|
5
6
|
jobProgressions?: JobProgression[];
|
|
@@ -9,4 +10,6 @@ export declare class JobProgressionList implements OnInit, JobProgressionListOpt
|
|
|
9
10
|
jobProgressions: JobProgression[];
|
|
10
11
|
constructor();
|
|
11
12
|
ngOnInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionList, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionList, "app-job-progression-list", never, { "titleI18n": "titleI18n"; "jobProgressions": "jobProgressions"; }, {}, never, never, false>;
|
|
12
15
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { JobProgressionIcon, JobProgressionOptions } from '../progression/job-progression.icon';
|
|
2
2
|
import { JobProgression } from '../job.model';
|
|
3
3
|
import { JobProgressionService } from '../job.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class JobProgressionTestingPage {
|
|
5
6
|
protected jobProgressionService: JobProgressionService;
|
|
6
7
|
jobProgressionIcon: JobProgressionIcon;
|
|
@@ -11,4 +12,6 @@ export declare class JobProgressionTestingPage {
|
|
|
11
12
|
incrementJob(value: number): void;
|
|
12
13
|
addJob(): void;
|
|
13
14
|
private createJob;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionTestingPage, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionTestingPage, "job-progression-testing", never, {}, {}, never, never, false>;
|
|
14
17
|
}
|
|
@@ -2,6 +2,7 @@ import { IJobProgressionService } from '../job.service';
|
|
|
2
2
|
import { FetchPolicy } from '@apollo/client/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { JobProgression } from '../job.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class JobProgressionTestService implements IJobProgressionService {
|
|
6
7
|
private jobsSubject;
|
|
7
8
|
addJob(id: number, job?: JobProgression): void;
|
|
@@ -11,4 +12,6 @@ export declare class JobProgressionTestService implements IJobProgressionService
|
|
|
11
12
|
interval?: number;
|
|
12
13
|
fetchPolicy?: FetchPolicy;
|
|
13
14
|
}): Observable<JobProgression>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionTestService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JobProgressionTestService>;
|
|
14
17
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./job-progression.testing";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
import * as i4 from "../../../shared/shared.module";
|
|
6
|
+
import * as i5 from "../job.module";
|
|
1
7
|
export declare class JobTestingModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobTestingModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<JobTestingModule, [typeof i1.JobProgressionTestingPage], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.SharedModule, typeof i5.JobModule], [typeof i1.JobProgressionTestingPage]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<JobTestingModule>;
|
|
2
11
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { Message } from './message.model';
|
|
4
4
|
import { AppForm } from '../../core/form/form.class';
|
|
5
5
|
import { Person } from '../../core/services/model/person.model';
|
|
6
6
|
import { SuggestFn } from '../../shared/services/entity-service.class';
|
|
7
7
|
import { PersonFilter } from '../../admin/services/filter/person.filter';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class MessageForm extends AppForm<Message> implements OnInit {
|
|
9
10
|
private formBuilder;
|
|
10
11
|
private readonly cd;
|
|
@@ -20,8 +21,10 @@ export declare class MessageForm extends AppForm<Message> implements OnInit {
|
|
|
20
21
|
icon: string;
|
|
21
22
|
label: string;
|
|
22
23
|
}[];
|
|
23
|
-
constructor(injector: Injector, formBuilder:
|
|
24
|
+
constructor(injector: Injector, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
|
|
24
25
|
ngOnInit(): void;
|
|
25
26
|
isSamePerson(o1: Person, o2: Person): boolean;
|
|
26
27
|
protected markForCheck(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageForm, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageForm, "app-message-form", never, { "suggestFn": "suggestFn"; "subjectMinLength": "subjectMinLength"; "subjectMaxLength": "subjectMaxLength"; "bodyMaxLength": "bodyMaxLength"; "bodyAutoHeight": "bodyAutoHeight"; "canSelectType": "canSelectType"; }, {}, never, never, false>;
|
|
27
30
|
}
|
|
@@ -6,6 +6,7 @@ import { SuggestFn } from '../../shared/services/entity-service.class';
|
|
|
6
6
|
import { PersonFilter } from '../../admin/services/filter/person.filter';
|
|
7
7
|
import { LocalSettingsService } from '../../core/services/local-settings.service';
|
|
8
8
|
import { AccountService } from '../../core/services/account.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export interface MessageModalOptions {
|
|
10
11
|
suggestFn: SuggestFn<Person, PersonFilter>;
|
|
11
12
|
data?: Message;
|
|
@@ -24,8 +25,8 @@ export declare class MessageModal implements OnInit, AfterViewInit, MessageModal
|
|
|
24
25
|
constructor(settings: LocalSettingsService, viewCtrl: ModalController, accountService: AccountService, cd: ChangeDetectorRef);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
ngAfterViewInit(): void;
|
|
27
|
-
cancel(event?:
|
|
28
|
-
doSubmit(event?:
|
|
28
|
+
cancel(event?: Event): void;
|
|
29
|
+
doSubmit(event?: Event): Promise<any>;
|
|
29
30
|
protected markForCheck(): void;
|
|
30
31
|
protected markAsLoading(opts?: {
|
|
31
32
|
emitEvent?: boolean;
|
|
@@ -33,4 +34,6 @@ export declare class MessageModal implements OnInit, AfterViewInit, MessageModal
|
|
|
33
34
|
protected markAsLoaded(opts?: {
|
|
34
35
|
emitEvent?: boolean;
|
|
35
36
|
}): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageModal, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageModal, "app-message-modal", never, { "suggestFn": "suggestFn"; "data": "data"; "canSelectType": "canSelectType"; }, {}, never, never, false>;
|
|
36
39
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./message.modal";
|
|
3
|
+
import * as i2 from "./message.form";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../../core/core.module";
|
|
6
|
+
import * as i5 from "../../shared/shared.module";
|
|
1
7
|
export declare class MessageModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MessageModule, [typeof i1.MessageModal, typeof i2.MessageForm], [typeof i3.CommonModule, typeof i4.CoreModule, typeof i5.SharedModule], [typeof i1.MessageModal]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MessageModule>;
|
|
2
11
|
}
|