@sumaris-net/ngx-components 1.2.8 → 1.2.14
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/README.md +9 -7
- package/doc/build.md +2 -2
- package/doc/changelog.md +402 -0
- package/esm2020/public_api.mjs +298 -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/users.mjs +234 -0
- package/esm2020/src/app/admin/users/users.module.mjs +54 -0
- package/esm2020/src/app/core/about/about.modal.mjs +71 -0
- package/esm2020/src/app/core/about/about.module.mjs +34 -0
- package/esm2020/src/app/core/account/account.module.mjs +43 -0
- package/esm2020/src/app/core/account/account.page.mjs +245 -0
- package/esm2020/src/app/core/auth/auth.form.mjs +131 -0
- package/esm2020/src/app/core/auth/auth.modal.mjs +72 -0
- package/esm2020/src/app/core/auth/auth.module.mjs +47 -0
- package/esm2020/src/app/core/core.module.mjs +184 -0
- package/esm2020/src/app/core/core.testing.module.mjs +86 -0
- package/esm2020/src/app/core/form/buttons/form-buttons-bar.component.mjs +71 -0
- package/esm2020/src/app/core/form/buttons/form-buttons-bar.module.mjs +35 -0
- package/esm2020/src/app/core/form/entity/editor.class.mjs +675 -0
- package/esm2020/src/app/core/form/entity/entity-editor-modal.class.mjs +419 -0
- package/esm2020/src/app/core/form/entity/entity-editor.class.mjs +652 -0
- package/esm2020/src/app/core/form/entity/entity-metadata.component.mjs +25 -0
- package/esm2020/src/app/core/form/entity/entity.module.mjs +38 -0
- package/esm2020/src/app/core/form/form.class.mjs +340 -0
- package/esm2020/src/app/core/form/form.module.mjs +66 -0
- package/esm2020/src/app/core/form/form.utils.mjs +473 -0
- package/esm2020/src/app/core/form/list/list.form.mjs +222 -0
- package/esm2020/src/app/core/form/list/list.module.mjs +35 -0
- package/esm2020/src/app/core/form/properties/properties.form.mjs +129 -0
- package/esm2020/src/app/core/form/properties/properties.module.mjs +35 -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/form/text-popover/testing/text-popover.testing.mjs +37 -0
- package/esm2020/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +45 -0
- package/esm2020/src/app/core/form/text-popover/text-form.component.mjs +89 -0
- package/esm2020/src/app/core/form/text-popover/text-popover.component.mjs +105 -0
- package/esm2020/src/app/core/form/text-popover/text-popover.module.mjs +40 -0
- package/esm2020/src/app/core/graphql/graphql.module.mjs +22 -0
- package/esm2020/src/app/core/graphql/graphql.service.mjs +749 -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/home/home.module.mjs +48 -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 +35 -0
- package/esm2020/src/app/core/menu/menu.component.mjs +330 -0
- package/esm2020/src/app/core/menu/menu.model.mjs +35 -0
- package/esm2020/src/app/core/menu/menu.module.mjs +44 -0
- package/esm2020/src/app/core/menu/menu.service.mjs +55 -0
- package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +27 -0
- package/esm2020/src/app/core/offline/update-offline-mode-card.module.mjs +35 -0
- package/esm2020/src/app/core/peer/select-peer.modal.mjs +174 -0
- package/esm2020/src/app/core/peer/select-peer.module.mjs +42 -0
- package/esm2020/src/app/core/register/register-confirm.page.mjs +81 -0
- package/esm2020/src/app/core/register/register.form.mjs +181 -0
- package/esm2020/src/app/core/register/register.modal.mjs +52 -0
- package/esm2020/src/app/core/register/register.module.mjs +44 -0
- package/esm2020/src/app/core/services/account.service.mjs +1111 -0
- package/esm2020/src/app/core/services/auth-guard.service.mjs +71 -0
- package/esm2020/src/app/core/services/base-entity-service.class.mjs +441 -0
- package/{esm2015/src/app/core/services/base-graphql-service.class.js → esm2020/src/app/core/services/base-graphql-service.class.mjs} +36 -34
- package/{esm2015/src/app/core/services/base58.js → esm2020/src/app/core/services/base58.mjs} +2 -2
- package/esm2020/src/app/core/services/config/core.config.mjs +168 -0
- package/esm2020/src/app/core/services/config.service.mjs +354 -0
- package/esm2020/src/app/core/services/crypto.service.mjs +114 -0
- package/{esm2015/src/app/core/services/errors.js → esm2020/src/app/core/services/errors.mjs} +1 -1
- package/esm2020/src/app/core/services/local-settings.service.mjs +445 -0
- package/esm2020/src/app/core/services/model/account.model.mjs +50 -0
- package/esm2020/src/app/core/services/model/config.model.mjs +92 -0
- package/esm2020/src/app/core/services/model/department.model.mjs +30 -0
- package/esm2020/src/app/core/services/model/entity.decorators.mjs +97 -0
- package/esm2020/src/app/core/services/model/entity.model.mjs +228 -0
- package/esm2020/src/app/core/services/model/filter.model.mjs +94 -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 +574 -0
- package/esm2020/src/app/core/services/network.types.mjs +20 -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 +493 -0
- package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +427 -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.module.mjs +34 -0
- package/esm2020/src/app/core/settings/settings.page.mjs +293 -0
- package/esm2020/src/app/core/table/actions-column.component.mjs +96 -0
- package/esm2020/src/app/core/table/async-table.class.mjs +1619 -0
- package/esm2020/src/app/core/table/entities-async-table-datasource.class.mjs +382 -0
- package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +399 -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 +1658 -0
- package/esm2020/src/app/core/table/table.model.mjs +12 -0
- package/esm2020/src/app/core/table/table.module.mjs +40 -0
- package/esm2020/src/app/core/table/table.utils.mjs +13 -0
- package/esm2020/src/app/core/table/testing/table.testing.mjs +265 -0
- package/esm2020/src/app/core/table/testing/table.testing.module.mjs +38 -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/esm2020/src/app/shared/constants.mjs +10 -0
- package/esm2020/src/app/shared/dates.mjs +142 -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/esm2020/src/app/shared/file/json.utils.mjs +33 -0
- package/esm2020/src/app/shared/file/uri.utils.mjs +23 -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 +391 -0
- package/esm2020/src/app/shared/functions.mjs +462 -0
- package/esm2020/src/app/shared/geolocation/geolocation.utils.mjs +41 -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} +1 -1
- package/esm2020/src/app/shared/graph/graph-colors.mjs +208 -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 +355 -0
- package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +58 -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 +39 -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 +98 -0
- package/{esm2015/src/app/shared/inputs.js → esm2020/src/app/shared/inputs.mjs} +4 -4
- package/esm2020/src/app/shared/interceptors/progess.interceptor.mjs +27 -0
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +47 -0
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +905 -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 +209 -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 +697 -0
- package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +143 -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 +385 -0
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +436 -0
- package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +108 -0
- package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +110 -0
- package/esm2020/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +103 -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 +102 -0
- package/{esm2015/src/app/shared/material/material.animations.js → esm2020/src/app/shared/material/material.animations.mjs} +1 -1
- package/esm2020/src/app/shared/material/material.module.mjs +224 -0
- package/esm2020/src/app/shared/material/material.testing.module.mjs +168 -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 +64 -0
- package/esm2020/src/app/shared/modules.mjs +11 -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 +48 -0
- package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +66 -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/esm2020/src/app/shared/pipes/number-format.pipe.mjs +30 -0
- package/esm2020/src/app/shared/pipes/pipes.module.mjs +218 -0
- package/esm2020/src/app/shared/pipes/property.pipes.mjs +93 -0
- package/esm2020/src/app/shared/pipes/string.pipes.mjs +95 -0
- package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +43 -0
- package/esm2020/src/app/shared/platforms.mjs +43 -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 +33 -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 +207 -0
- package/esm2020/src/app/shared/shared.testing.module.mjs +76 -0
- package/esm2020/src/app/shared/testing/observable.test.mjs +95 -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 +249 -0
- package/esm2020/src/app/shared/toolbar/toolbar.module.mjs +53 -0
- package/esm2020/src/app/shared/types.mjs +2 -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 +543 -0
- package/esm2020/src/app/shared/version/versions.mjs +81 -0
- package/esm2020/src/app/social/job/job.module.mjs +35 -0
- package/esm2020/src/app/social/job/progression/job-progression.icon.mjs +213 -0
- package/esm2020/src/app/social/job/progression/job-progression.list.mjs +22 -0
- package/esm2020/src/app/social/job/progression/job-progression.model.mjs +23 -0
- package/esm2020/src/app/social/job/progression/job-progression.service.mjs +71 -0
- package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +52 -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/esm2020/src/app/social/social.errors.mjs +10 -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 +242 -0
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +229 -0
- package/esm2020/src/app/social/user-event/testing/user-event.testing.model.mjs +112 -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 +487 -0
- 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 +36563 -0
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -0
- package/fesm2020/sumaris-net.ngx-components.mjs +35734 -0
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +34 -32
- package/public_api.d.ts +137 -30
- package/resources/README.md +7 -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 +5 -1
- package/src/app/admin/services/validator/person.validator.d.ts +8 -5
- package/src/app/admin/users/users.d.ts +44 -0
- package/src/app/admin/users/users.module.d.ts +13 -0
- package/src/app/core/about/{modal-about.d.ts → about.modal.d.ts} +3 -0
- package/src/app/core/about/about.module.d.ts +10 -0
- package/src/app/core/account/account.module.d.ts +11 -0
- package/src/app/core/account/{account.d.ts → account.page.d.ts} +23 -10
- package/src/app/core/auth/auth.form.d.ts +36 -0
- package/src/app/core/auth/auth.modal.d.ts +24 -0
- package/src/app/core/auth/auth.module.d.ts +11 -0
- package/src/app/core/core.module.d.ts +27 -0
- package/src/app/core/core.testing.module.d.ts +14 -0
- package/src/app/core/form/{form-buttons-bar.component.d.ts → buttons/form-buttons-bar.component.d.ts} +7 -2
- package/src/app/core/form/buttons/form-buttons-bar.module.d.ts +9 -0
- package/src/app/core/form/{editor.class.d.ts → entity/editor.class.d.ts} +84 -22
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +129 -0
- package/src/app/core/form/{entity-editor.class.d.ts → entity/entity-editor.class.d.ts} +54 -29
- package/src/app/core/form/entity/entity-metadata.component.d.ts +13 -0
- package/src/app/core/form/entity/entity.module.d.ts +10 -0
- package/src/app/core/form/form.class.d.ts +57 -30
- package/src/app/core/form/form.module.d.ts +13 -0
- package/src/app/core/form/form.utils.d.ts +123 -114
- package/src/app/core/form/{list.form.d.ts → list/list.form.d.ts} +14 -11
- package/src/app/core/form/list/list.module.d.ts +9 -0
- package/src/app/core/form/properties/properties.form.d.ts +43 -0
- package/src/app/core/form/properties/properties.module.d.ts +9 -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/form/text-popover/testing/text-popover.testing.d.ts +10 -0
- package/src/app/core/form/text-popover/testing/text-popover.testing.module.d.ts +11 -0
- package/src/app/core/form/text-popover/text-form.component.d.ts +32 -0
- package/src/app/core/form/text-popover/text-popover.component.d.ts +45 -0
- package/src/app/core/form/text-popover/text-popover.module.d.ts +10 -0
- package/src/app/core/graphql/graphql.module.d.ts +5 -0
- package/src/app/core/graphql/graphql.service.d.ts +16 -5
- package/src/app/core/graphql/graphql.utils.d.ts +12 -1
- package/src/app/core/home/home.d.ts +9 -4
- package/src/app/core/home/home.module.d.ts +12 -0
- package/src/app/core/icon/icon.component.d.ts +6 -2
- package/src/app/core/icon/icon.module.d.ts +9 -0
- package/src/app/core/install/install-upgrade-card.component.d.ts +7 -9
- package/src/app/core/install/install-upgrade-card.module.d.ts +9 -0
- package/src/app/core/menu/menu.component.d.ts +22 -15
- package/src/app/core/menu/menu.model.d.ts +2 -0
- package/src/app/core/menu/menu.module.d.ts +8 -0
- package/src/app/core/menu/menu.service.d.ts +18 -6
- package/src/app/core/offline/update-offline-mode-card.component.d.ts +11 -0
- package/src/app/core/offline/update-offline-mode-card.module.d.ts +9 -0
- package/src/app/core/peer/select-peer.modal.d.ts +25 -8
- package/src/app/core/peer/select-peer.module.d.ts +11 -0
- package/src/app/core/register/{confirm/confirm.d.ts → register-confirm.page.d.ts} +6 -3
- package/src/app/core/register/{form/form-register.d.ts → register.form.d.ts} +15 -12
- package/src/app/core/register/{modal/modal-register.d.ts → register.modal.d.ts} +4 -1
- package/src/app/core/register/register.module.d.ts +12 -0
- package/src/app/core/services/account.service.d.ts +34 -13
- package/src/app/core/services/auth-guard.service.d.ts +3 -0
- package/src/app/core/services/base-entity-service.class.d.ts +10 -19
- package/src/app/core/services/base-graphql-service.class.d.ts +13 -9
- package/src/app/core/services/config/core.config.d.ts +25 -24
- package/src/app/core/services/config.service.d.ts +9 -3
- package/src/app/core/services/crypto.service.d.ts +26 -18
- package/src/app/core/services/errors.d.ts +1 -1
- package/src/app/core/services/local-settings.service.d.ts +15 -7
- package/src/app/core/services/model/config.model.d.ts +1 -0
- package/src/app/core/services/model/entity.decorators.d.ts +1 -9
- package/src/app/core/services/model/entity.model.d.ts +4 -1
- package/src/app/core/services/model/filter.model.d.ts +13 -2
- package/src/app/core/services/model/referential.model.d.ts +20 -14
- package/src/app/core/services/model/settings.model.d.ts +0 -1
- package/src/app/core/services/network.service.d.ts +34 -22
- package/src/app/core/services/network.types.d.ts +5 -0
- package/src/app/core/services/network.utils.d.ts +16 -0
- 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 +40 -25
- package/src/app/core/services/storage/entities-storage.service.d.ts +16 -9
- package/src/app/core/services/storage/entity-store.class.d.ts +6 -5
- package/src/app/core/services/testing/referential-filter.model.d.ts +9 -0
- package/src/app/core/services/testing/referential.validator.d.ts +22 -0
- package/src/app/core/services/validator/account.validator.d.ts +6 -3
- package/src/app/core/services/validator/base.validator.class.d.ts +9 -6
- 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.module.d.ts +10 -0
- package/src/app/core/settings/settings.page.d.ts +13 -12
- package/src/app/core/table/actions-column.component.d.ts +4 -1
- package/src/app/core/table/async-table.class.d.ts +368 -0
- package/src/app/core/table/entities-async-table-datasource.class.d.ts +80 -0
- package/src/app/core/table/entities-table-datasource.class.d.ts +59 -36
- package/src/app/core/table/memory-table.class.d.ts +5 -3
- package/src/app/core/table/table-select-columns.component.d.ts +4 -5
- package/src/app/core/table/table.class.d.ts +67 -70
- package/src/app/core/table/table.model.d.ts +26 -0
- package/src/app/core/table/table.module.d.ts +10 -0
- package/src/app/core/table/table.utils.d.ts +2 -1
- package/src/app/core/table/testing/table.testing.d.ts +51 -0
- package/src/app/core/table/testing/table.testing.module.d.ts +11 -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 +2 -0
- package/src/app/shared/dates.d.ts +25 -4
- 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 +11 -9
- package/src/app/shared/directives/autotitle.directive.d.ts +10 -0
- package/src/app/shared/directives/directives.module.d.ts +10 -0
- package/src/app/shared/directives/drag-and-drop.directive.d.ts +17 -0
- package/src/app/shared/directives/ng-var.directive.d.ts +12 -0
- package/src/app/shared/directives/resizable/resizable.component.d.ts +21 -0
- package/src/app/shared/directives/resizable/resizable.directive.d.ts +12 -0
- package/src/app/shared/directives/resizable/resizable.module.d.ts +8 -0
- package/src/app/shared/events.d.ts +6 -6
- package/src/app/shared/file/csv.utils.d.ts +19 -0
- package/src/app/shared/file/file.service.d.ts +8 -5
- package/src/app/shared/file/file.utils.d.ts +20 -0
- package/src/app/shared/file/images.utils.d.ts +19 -0
- package/src/app/shared/file/json.utils.d.ts +11 -0
- package/src/app/shared/file/uri.utils.d.ts +7 -0
- package/src/app/shared/form/field.component.d.ts +12 -3
- package/src/app/shared/form/field.model.d.ts +7 -6
- package/src/app/shared/form/loading-spinner.d.ts +3 -0
- package/src/app/shared/forms.d.ts +89 -0
- package/src/app/shared/functions.d.ts +21 -13
- package/src/app/shared/geolocation/geolocation.utils.d.ts +11 -0
- 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 -8
- package/src/app/shared/guard/component-dirty.guard.d.ts +3 -0
- package/src/app/shared/help/help.modal.d.ts +7 -4
- package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +3 -0
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +7 -3
- package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +9 -0
- package/src/app/shared/http/http.utils.d.ts +14 -1
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +101 -0
- package/src/app/shared/image/gallery/image-gallery.module.d.ts +14 -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 +16 -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/interceptors/progess.interceptor.d.ts +2 -2
- package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +36 -0
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +69 -77
- 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 +24 -17
- 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 +11 -10
- package/src/app/shared/material/chips/chips.module.d.ts +20 -1
- package/src/app/shared/material/chips/material.chips.d.ts +52 -19
- package/src/app/shared/material/chips/testing/chips.test.d.ts +12 -7
- package/src/app/shared/material/datetime/datetime.module.d.ts +22 -0
- package/src/app/shared/material/datetime/material.date.d.ts +45 -38
- package/src/app/shared/material/datetime/material.dateshort.d.ts +47 -38
- package/src/app/shared/material/datetime/material.datetime.d.ts +40 -39
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +12 -9
- package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +30 -0
- package/src/app/shared/material/datetime/testing/mat-dateshort.test.d.ts +29 -0
- package/src/app/shared/material/duration/duration.module.d.ts +16 -0
- package/src/app/shared/material/duration/material.duration.d.ts +14 -10
- package/src/app/shared/material/latlong/latlong.utils.d.ts +2 -2
- package/src/app/shared/material/latlong/material.latlong.d.ts +27 -23
- package/src/app/shared/material/latlong/material.latlong.module.d.ts +17 -0
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +13 -7
- package/src/app/shared/material/material.module.d.ts +43 -0
- package/src/app/shared/material/material.testing.module.d.ts +25 -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 +13 -0
- 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 +12 -8
- package/src/app/shared/material/swipe/swipe.module.d.ts +13 -0
- package/src/app/shared/material/swipe/testing/swipe.test.d.ts +11 -9
- package/src/app/shared/modules.d.ts +8 -0
- package/src/app/shared/observables.d.ts +18 -10
- package/src/app/shared/pipes/arrays.pipe.d.ts +27 -2
- package/src/app/shared/pipes/colors.pipe.d.ts +9 -0
- package/src/app/shared/pipes/date-diff-duration.pipe.d.ts +10 -2
- package/src/app/shared/pipes/date-format.pipe.d.ts +25 -9
- 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 +43 -3
- package/src/app/shared/pipes/highlight.pipe.d.ts +4 -0
- package/src/app/shared/pipes/latlong-format.pipe.d.ts +13 -4
- 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 +7 -1
- package/src/app/shared/pipes/pipes.module.d.ts +24 -0
- package/src/app/shared/pipes/property.pipes.d.ts +26 -0
- package/src/app/shared/pipes/string.pipes.d.ts +24 -0
- package/src/app/shared/pipes/translate-context.pipe.d.ts +8 -1
- package/src/app/shared/platforms.d.ts +8 -0
- package/src/app/shared/services/entity-service.class.d.ts +28 -15
- package/src/app/shared/services/job.utils.d.ts +4 -2
- package/src/app/shared/services/memory-entity-service.class.d.ts +31 -10
- package/src/app/shared/services/progress-bar.service.d.ts +15 -4
- package/src/app/shared/services/startable-observable-service.class.d.ts +33 -0
- package/src/app/shared/services/startable-service.class.d.ts +13 -9
- 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/services.d.ts +9 -0
- package/src/app/shared/shared-routing.module.d.ts +7 -0
- package/src/app/shared/shared.module.d.ts +24 -0
- package/src/app/shared/shared.testing.module.d.ts +14 -0
- package/src/app/shared/testing/observable.test.d.ts +25 -0
- package/src/app/shared/{material/testing/material.testing.page.d.ts → testing/tests.page.d.ts} +6 -2
- package/src/app/shared/toast/toast.testing.d.ts +15 -0
- package/src/app/shared/toast/toast.testing.module.d.ts +11 -0
- package/src/app/shared/{toasts.d.ts → 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 +22 -10
- package/src/app/shared/toolbar/toolbar.module.d.ts +15 -0
- package/src/app/shared/types.d.ts +4 -0
- package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +20 -0
- package/src/app/shared/upload-file/testing/upload-file.testing.module.d.ts +11 -0
- package/src/app/shared/upload-file/upload-file-popover.component.d.ts +39 -0
- package/src/app/shared/upload-file/upload-file.component.d.ts +48 -0
- package/src/app/shared/upload-file/upload-file.model.d.ts +30 -0
- package/src/app/shared/validator/form-error-adapter.class.d.ts +6 -1
- package/src/app/shared/validator/validators.d.ts +47 -11
- package/src/app/shared/version/versions.d.ts +2 -0
- package/src/app/social/job/job.module.d.ts +11 -0
- package/src/app/social/job/progression/job-progression.icon.d.ts +47 -0
- package/src/app/social/job/progression/job-progression.list.d.ts +15 -0
- package/src/app/social/job/progression/job-progression.model.d.ts +11 -0
- package/src/app/social/job/progression/job-progression.service.d.ts +34 -0
- package/src/app/social/job/testing/job-progression.testing.d.ts +17 -0
- package/src/app/social/job/testing/job-progression.testing.service.d.ts +17 -0
- package/src/app/social/job/testing/job.testing.module.d.ts +11 -0
- package/src/app/social/message/message.form.d.ts +30 -0
- package/src/app/social/message/message.modal.d.ts +39 -0
- package/src/app/social/message/message.model.d.ts +31 -0
- package/src/app/social/message/message.module.d.ts +11 -0
- package/src/app/social/message/message.service.d.ts +27 -0
- package/src/app/social/social.errors.d.ts +9 -0
- package/src/app/social/social.module.d.ts +18 -2
- package/src/app/social/social.testing.module.d.ts +13 -0
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +29 -0
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +67 -0
- package/src/app/social/user-event/testing/user-event.testing.d.ts +34 -0
- package/src/app/social/user-event/testing/user-event.testing.model.d.ts +44 -0
- package/src/app/social/user-event/testing/user-event.testing.module.d.ts +11 -0
- package/src/app/social/user-event/testing/user-event.testing.service.d.ts +41 -0
- package/src/app/social/user-event/user-event.model.d.ts +45 -0
- package/src/app/social/user-event/user-event.module.d.ts +12 -0
- package/src/app/social/user-event/user-event.service.d.ts +124 -0
- package/src/assets/audio/beep-notification.mp3 +0 -0
- package/src/assets/i18n/en-US.json +83 -18
- package/src/assets/i18n/en.json +83 -18
- package/src/assets/i18n/fr.json +95 -21
- package/src/assets/manifest.json +5 -5
- package/src/environments/environment.class.d.ts +12 -1
- package/src/environments/environment.d.ts +1 -1
- package/src/theme/_icons.scss +1 -1
- package/src/theme/_ionic.globals.scss +6 -1
- package/src/theme/_material.globals.scss +32 -32
- package/src/theme/_material.scss +32 -6
- package/src/theme/_mixins.scss +6 -4
- package/src/theme/_ngx-components.globals.scss +1 -0
- package/src/theme/_ngx-components.scss +222 -39
- package/src/theme/_print.scss +24 -0
- package/src/theme/_responsive.scss +12 -3
- package/bundles/sumaris-net.ngx-components.umd.js +0 -28718
- 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 -183
- package/esm2015/src/app/admin/admin-routing.module.js +0 -32
- package/esm2015/src/app/admin/admin.module.js +0 -33
- package/esm2015/src/app/admin/services/errors.js +0 -6
- package/esm2015/src/app/admin/services/filter/person.filter.js +0 -59
- package/esm2015/src/app/admin/services/person.service.js +0 -179
- package/esm2015/src/app/admin/services/validator/person.validator.js +0 -37
- package/esm2015/src/app/admin/users/list/users.js +0 -196
- package/esm2015/src/app/core/about/modal-about.js +0 -63
- package/esm2015/src/app/core/account/account.js +0 -193
- package/esm2015/src/app/core/auth/form/form-auth.js +0 -126
- package/esm2015/src/app/core/auth/modal/modal-auth.js +0 -66
- package/esm2015/src/app/core/core.module.js +0 -114
- package/esm2015/src/app/core/form/editor.class.js +0 -559
- package/esm2015/src/app/core/form/entity-editor.class.js +0 -617
- package/esm2015/src/app/core/form/entity-metadata.component.js +0 -22
- package/esm2015/src/app/core/form/form-buttons-bar.component.js +0 -60
- package/esm2015/src/app/core/form/form.class.js +0 -279
- package/esm2015/src/app/core/form/form.utils.js +0 -599
- 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 -733
- package/esm2015/src/app/core/graphql/graphql.utils.js +0 -107
- package/esm2015/src/app/core/home/home.js +0 -263
- package/esm2015/src/app/core/icon/icon.component.js +0 -29
- package/esm2015/src/app/core/install/install-upgrade-card.component.js +0 -388
- package/esm2015/src/app/core/menu/menu.component.js +0 -279
- package/esm2015/src/app/core/menu/menu.model.js +0 -33
- package/esm2015/src/app/core/menu/menu.module.js +0 -28
- package/esm2015/src/app/core/menu/menu.service.js +0 -28
- 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 -1101
- package/esm2015/src/app/core/services/auth-guard.service.js +0 -77
- package/esm2015/src/app/core/services/base-entity-service.class.js +0 -448
- package/esm2015/src/app/core/services/config/core.config.js +0 -162
- package/esm2015/src/app/core/services/config.service.js +0 -377
- package/esm2015/src/app/core/services/crypto.service.js +0 -127
- package/esm2015/src/app/core/services/local-settings.service.js +0 -454
- 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 -230
- package/esm2015/src/app/core/services/model/filter.model.js +0 -68
- package/esm2015/src/app/core/services/model/peer.model.js +0 -68
- package/esm2015/src/app/core/services/model/person.model.js +0 -81
- package/esm2015/src/app/core/services/model/referential.model.js +0 -149
- package/esm2015/src/app/core/services/model/settings.model.js +0 -75
- package/esm2015/src/app/core/services/network.service.js +0 -581
- 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 -420
- package/esm2015/src/app/core/services/storage/entities-storage.service.js +0 -445
- package/esm2015/src/app/core/services/storage/entity-store.class.js +0 -458
- 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 -301
- package/esm2015/src/app/core/table/actions-column.component.js +0 -74
- package/esm2015/src/app/core/table/entities-table-datasource.class.js +0 -326
- package/esm2015/src/app/core/table/memory-table.class.js +0 -64
- package/esm2015/src/app/core/table/table-select-columns.component.js +0 -44
- package/esm2015/src/app/core/table/table.class.js +0 -1552
- package/esm2015/src/app/core/table/table.utils.js +0 -13
- package/esm2015/src/app/shared/alerts.js +0 -251
- package/esm2015/src/app/shared/audio/audio.js +0 -178
- package/esm2015/src/app/shared/colors.utils.js +0 -2
- package/esm2015/src/app/shared/constants.js +0 -6
- package/esm2015/src/app/shared/dates.js +0 -82
- package/esm2015/src/app/shared/directives/autofocus.directive.js +0 -97
- package/esm2015/src/app/shared/directives/directives.module.js +0 -21
- package/esm2015/src/app/shared/events.js +0 -56
- package/esm2015/src/app/shared/file/base64-image-reader.js +0 -141
- package/esm2015/src/app/shared/file/file.service.js +0 -121
- 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/functions.js +0 -440
- package/esm2015/src/app/shared/gesture/hammer.utils.js +0 -2
- package/esm2015/src/app/shared/graph/graph-colors.js +0 -256
- package/esm2015/src/app/shared/guard/component-dirty.guard.js +0 -61
- package/esm2015/src/app/shared/help/help.modal.js +0 -56
- package/esm2015/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.js +0 -20
- package/esm2015/src/app/shared/hotkeys/hotkeys.service.js +0 -87
- package/esm2015/src/app/shared/hotkeys/shared-hotkeys.module.js +0 -29
- package/esm2015/src/app/shared/http/http.utils.js +0 -23
- package/esm2015/src/app/shared/interceptors/progess.interceptor.js +0 -20
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +0 -711
- 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 -167
- package/esm2015/src/app/shared/material/badge/badge-icon.directive.js +0 -62
- 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 -10
- package/esm2015/src/app/shared/material/boolean/boolean.module.js +0 -41
- package/esm2015/src/app/shared/material/boolean/material.boolean.js +0 -234
- package/esm2015/src/app/shared/material/chips/chips.module.js +0 -45
- package/esm2015/src/app/shared/material/chips/material.chips.js +0 -342
- package/esm2015/src/app/shared/material/chips/testing/chips.test.js +0 -100
- package/esm2015/src/app/shared/material/datetime/datetime.module.js +0 -54
- package/esm2015/src/app/shared/material/datetime/material.date.js +0 -307
- package/esm2015/src/app/shared/material/datetime/material.dateshort.js +0 -315
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +0 -389
- package/esm2015/src/app/shared/material/datetime/testing/mat-date-time.test.js +0 -102
- package/esm2015/src/app/shared/material/duration/duration.module.js +0 -40
- package/esm2015/src/app/shared/material/duration/material.duration.js +0 -245
- package/esm2015/src/app/shared/material/latlong/latlong.utils.js +0 -249
- package/esm2015/src/app/shared/material/latlong/material.latlong.js +0 -345
- package/esm2015/src/app/shared/material/latlong/material.latlong.module.js +0 -41
- package/esm2015/src/app/shared/material/latlong/testing/latlong.test.js +0 -70
- package/esm2015/src/app/shared/material/material.module.js +0 -93
- package/esm2015/src/app/shared/material/numpad/numpad.append-to-input.directive.js +0 -96
- package/esm2015/src/app/shared/material/numpad/numpad.component.js +0 -73
- package/esm2015/src/app/shared/material/numpad/numpad.container.js +0 -149
- package/esm2015/src/app/shared/material/numpad/numpad.content.js +0 -14
- package/esm2015/src/app/shared/material/numpad/numpad.directive.js +0 -148
- package/esm2015/src/app/shared/material/numpad/numpad.dom-service.js +0 -37
- package/esm2015/src/app/shared/material/numpad/numpad.module.js +0 -39
- package/esm2015/src/app/shared/material/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 -306
- 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/material/testing/material.testing.module.js +0 -92
- package/esm2015/src/app/shared/material/testing/material.testing.page.js +0 -34
- package/esm2015/src/app/shared/observables.js +0 -68
- package/esm2015/src/app/shared/pipes/arrays.pipe.js +0 -92
- package/esm2015/src/app/shared/pipes/date-diff-duration.pipe.js +0 -46
- package/esm2015/src/app/shared/pipes/date-format.pipe.js +0 -40
- package/esm2015/src/app/shared/pipes/file-size.pipe.js +0 -58
- package/esm2015/src/app/shared/pipes/form.pipes.js +0 -70
- package/esm2015/src/app/shared/pipes/highlight.pipe.js +0 -43
- package/esm2015/src/app/shared/pipes/latlong-format.pipe.js +0 -43
- 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/number-format.pipe.js +0 -22
- package/esm2015/src/app/shared/pipes/pipes.module.js +0 -100
- package/esm2015/src/app/shared/pipes/properties.pipe.js +0 -20
- package/esm2015/src/app/shared/pipes/string.pipes.js +0 -52
- package/esm2015/src/app/shared/pipes/translate-context.pipe.js +0 -38
- package/esm2015/src/app/shared/services/entity-service.class.js +0 -17
- package/esm2015/src/app/shared/services/job.utils.js +0 -78
- package/esm2015/src/app/shared/services/memory-entity-service.class.js +0 -226
- package/esm2015/src/app/shared/services/progress-bar.service.js +0 -30
- package/esm2015/src/app/shared/services/startable-service.class.js +0 -95
- 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/shared-routing.module.js +0 -54
- package/esm2015/src/app/shared/shared.module.js +0 -125
- package/esm2015/src/app/shared/shared.testing.module.js +0 -19
- package/esm2015/src/app/shared/toasts.js +0 -119
- package/esm2015/src/app/shared/toolbar/modal-toolbar.js +0 -53
- package/esm2015/src/app/shared/toolbar/toolbar.js +0 -195
- package/esm2015/src/app/shared/types.js +0 -2
- package/esm2015/src/app/shared/validator/form-error-adapter.class.js +0 -75
- package/esm2015/src/app/shared/validator/validators.js +0 -421
- package/esm2015/src/app/shared/version/versions.js +0 -77
- package/esm2015/src/app/social/list/user-events.table.js +0 -159
- package/esm2015/src/app/social/services/errors.js +0 -5
- package/esm2015/src/app/social/services/model/user-event.model.js +0 -46
- package/esm2015/src/app/social/services/social.fragments.js +0 -27
- package/esm2015/src/app/social/services/user-event.service.js +0 -367
- package/esm2015/src/app/social/social.module.js +0 -31
- package/esm2015/src/app/vendor.js +0 -5
- package/esm2015/src/environments/environment.class.js +0 -5
- package/esm2015/src/environments/environment.js +0 -75
- package/esm2015/sumaris-net.ngx-components.js +0 -17
- package/fesm2015/sumaris-net.ngx-components.js +0 -24430
- package/fesm2015/sumaris-net.ngx-components.js.map +0 -1
- package/src/app/admin/services/errors.d.ts +0 -5
- package/src/app/admin/users/list/users.d.ts +0 -49
- package/src/app/core/auth/form/form-auth.d.ts +0 -33
- package/src/app/core/auth/modal/modal-auth.d.ts +0 -14
- package/src/app/core/form/entity-metadata.component.d.ts +0 -10
- package/src/app/core/form/properties.form.d.ts +0 -40
- package/src/app/shared/colors.utils.d.ts +0 -3
- package/src/app/shared/file/base64-image-reader.d.ts +0 -18
- package/src/app/shared/material/badge/badge-icon.directive.d.ts +0 -15
- 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 -2
- package/src/app/shared/material/testing/material.testing.module.d.ts +0 -2
- package/src/app/shared/pipes/properties.pipe.d.ts +0 -7
- package/src/app/shared/services/storage.utils.d.ts +0 -13
- package/src/app/social/list/user-events.table.d.ts +0 -59
- package/src/app/social/services/errors.d.ts +0 -4
- package/src/app/social/services/model/user-event.model.d.ts +0 -29
- package/src/app/social/services/social.fragments.d.ts +0 -4
- package/src/app/social/services/user-event.service.d.ts +0 -82
- package/src/app/vendor.d.ts +0 -4
- package/src/assets/manifest.sumaris.json +0 -17
- package/sumaris-net.ngx-components.d.ts +0 -16
- package/sumaris-net.ngx-components.metadata.json +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./text-popover.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";
|
|
7
|
+
export declare class TextPopoverTestingModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextPopoverTestingModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TextPopoverTestingModule, [typeof i1.TextPopoverTestingPage], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.TranslateModule, typeof i5.RouterModule], [typeof i5.RouterModule, typeof i1.TextPopoverTestingPage]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TextPopoverTestingModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormControl, ValidatorFn } from '@angular/forms';
|
|
3
|
+
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
4
|
+
import { AppForm } from '../form.class';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TextForm extends AppForm<{
|
|
7
|
+
text: string;
|
|
8
|
+
}> implements OnInit {
|
|
9
|
+
protected injector: Injector;
|
|
10
|
+
protected cd: ChangeDetectorRef;
|
|
11
|
+
protected formBuilder: UntypedFormBuilder;
|
|
12
|
+
showError: boolean;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
multiline: boolean;
|
|
15
|
+
autoHeight: boolean;
|
|
16
|
+
maxLength: number;
|
|
17
|
+
autofocus: boolean;
|
|
18
|
+
validator: ValidatorFn;
|
|
19
|
+
textAreaChanges: EventEmitter<string>;
|
|
20
|
+
textArea: ElementRef;
|
|
21
|
+
textInput: ElementRef;
|
|
22
|
+
autosizeDirective: CdkTextareaAutosize;
|
|
23
|
+
control: UntypedFormControl;
|
|
24
|
+
constructor(injector: Injector, cd: ChangeDetectorRef, formBuilder: UntypedFormBuilder);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
textAreaChanged(event: KeyboardEvent): void;
|
|
27
|
+
containerResize(): void;
|
|
28
|
+
focusInput(): void;
|
|
29
|
+
protected markForCheck(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextForm, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextForm, "app-text-form", never, { "showError": "showError"; "placeholder": "placeholder"; "multiline": "multiline"; "autoHeight": "autoHeight"; "maxLength": "maxLength"; "autofocus": "autofocus"; "validator": "validator"; }, { "textAreaChanges": "textAreaChanges"; }, never, never, false>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PopoverController, PopoverOptions } from '@ionic/angular';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { TextForm } from './text-form.component';
|
|
6
|
+
import { ValidatorFn } from '@angular/forms';
|
|
7
|
+
import { OverlayEventDetail } from '@ionic/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export interface TextPopoverOptions {
|
|
10
|
+
text?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
editing?: boolean;
|
|
13
|
+
multiline?: boolean;
|
|
14
|
+
maxLength?: number;
|
|
15
|
+
autofocus?: boolean;
|
|
16
|
+
validator?: ValidatorFn;
|
|
17
|
+
}
|
|
18
|
+
export declare class TextPopover implements OnInit, AfterViewInit, OnDestroy, TextPopoverOptions {
|
|
19
|
+
protected popoverController: PopoverController;
|
|
20
|
+
protected translate: TranslateService;
|
|
21
|
+
static show(ctrl: PopoverController, event: Event, opts: TextPopoverOptions, popoverOpts?: PopoverOptions): Promise<OverlayEventDetail>;
|
|
22
|
+
form: TextForm;
|
|
23
|
+
text: string;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
editing: boolean;
|
|
26
|
+
multiline: boolean;
|
|
27
|
+
maxLength: number;
|
|
28
|
+
autofocus: boolean;
|
|
29
|
+
validator: ValidatorFn;
|
|
30
|
+
subscription: Subscription;
|
|
31
|
+
get disabled(): boolean;
|
|
32
|
+
get enabled(): boolean;
|
|
33
|
+
get valid(): boolean;
|
|
34
|
+
get value(): any;
|
|
35
|
+
constructor(popoverController: PopoverController, translate: TranslateService);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngAfterViewInit(): void;
|
|
38
|
+
onValidate(event: any): Promise<any>;
|
|
39
|
+
disable(): void;
|
|
40
|
+
enable(): void;
|
|
41
|
+
cancel(): void;
|
|
42
|
+
ngOnDestroy(): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextPopover, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextPopover, "app-text-popover", never, { "text": "text"; "placeholder": "placeholder"; "editing": "editing"; "multiline": "multiline"; "maxLength": "maxLength"; "autofocus": "autofocus"; "validator": "validator"; }, {}, never, never, false>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./text-form.component";
|
|
3
|
+
import * as i2 from "./text-popover.component";
|
|
4
|
+
import * as i3 from "../../../shared/shared.module";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
export declare class AppTextPopoverModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppTextPopoverModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppTextPopoverModule, [typeof i1.TextForm, typeof i2.TextPopover], [typeof i3.SharedModule, typeof i4.TranslateModule], [typeof i4.TranslateModule, typeof i1.TextForm, typeof i2.TextPopover]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppTextPopoverModule>;
|
|
10
|
+
}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common/http";
|
|
1
3
|
export declare class AppGraphQLModule {
|
|
2
4
|
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppGraphQLModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppGraphQLModule, never, [typeof i1.HttpClientModule], [typeof i1.HttpClientModule]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppGraphQLModule>;
|
|
3
8
|
}
|
|
@@ -4,17 +4,19 @@ import { ApolloCache, ApolloClient, FetchPolicy, MutationUpdaterFn, OperationVar
|
|
|
4
4
|
import { ServiceError } from '../services/errors';
|
|
5
5
|
import { InjectionToken } from '@angular/core';
|
|
6
6
|
import { NetworkService } from '../services/network.service';
|
|
7
|
-
import {
|
|
7
|
+
import { EmptyObject } from './graphql.utils';
|
|
8
8
|
import { Platform } from '@ionic/angular';
|
|
9
9
|
import { IEntity } from '../services/model/entity.model';
|
|
10
10
|
import { Resolvers } from '@apollo/client/core/types';
|
|
11
|
-
import { EmptyObject } from 'apollo-angular/types';
|
|
12
11
|
import { HttpLink } from 'apollo-angular/http';
|
|
13
12
|
import { ErrorPolicy, MutationBaseOptions } from '@apollo/client/core/watchQueryOptions';
|
|
14
13
|
import { Cache } from '@apollo/client/cache/core/types/Cache';
|
|
15
14
|
import { CryptoService } from '../services/crypto.service';
|
|
16
15
|
import { PropertiesMap } from '../../shared/types';
|
|
17
16
|
import { StartableService } from '../../shared/services/startable-service.class';
|
|
17
|
+
import { StorageService } from '../../shared/services/storage/storage.service';
|
|
18
|
+
import { DocumentNode } from 'graphql';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
18
20
|
export interface WatchQueryOptions<V> {
|
|
19
21
|
query: any;
|
|
20
22
|
variables?: V;
|
|
@@ -36,6 +38,11 @@ export interface MutateQueryOptions<T, V = OperationVariables> extends MutationB
|
|
|
36
38
|
forceOffline?: boolean;
|
|
37
39
|
}
|
|
38
40
|
export declare const APP_GRAPHQL_TYPE_POLICIES: InjectionToken<TypePolicies>;
|
|
41
|
+
export declare const APP_GRAPHQL_FRAGMENTS: InjectionToken<DocumentNode[]>;
|
|
42
|
+
export declare type ConnectionParams = {
|
|
43
|
+
authToken?: string;
|
|
44
|
+
authBasic?: string;
|
|
45
|
+
};
|
|
39
46
|
export declare class GraphqlService extends StartableService<ApolloClient<any>> {
|
|
40
47
|
private platform;
|
|
41
48
|
private apollo;
|
|
@@ -45,6 +52,7 @@ export declare class GraphqlService extends StartableService<ApolloClient<any>>
|
|
|
45
52
|
private cryptoService;
|
|
46
53
|
protected environment: any;
|
|
47
54
|
private typePolicies;
|
|
55
|
+
private fragments;
|
|
48
56
|
private readonly _networkStatusChanged$;
|
|
49
57
|
private httpParams;
|
|
50
58
|
private wsParams;
|
|
@@ -52,12 +60,13 @@ export declare class GraphqlService extends StartableService<ApolloClient<any>>
|
|
|
52
60
|
private readonly _defaultFetchPolicy;
|
|
53
61
|
private onNetworkError;
|
|
54
62
|
private customErrors;
|
|
63
|
+
private onResetAuth;
|
|
55
64
|
get client(): ApolloClient<any>;
|
|
56
65
|
get cache(): ApolloCache<any>;
|
|
57
66
|
get defaultFetchPolicy(): WatchQueryFetchPolicy;
|
|
58
|
-
constructor(platform: Platform, apollo: Apollo, httpLink: HttpLink, network: NetworkService, storage:
|
|
59
|
-
setAuthToken(token: string): void
|
|
60
|
-
setAuthBasic(basic: string): void
|
|
67
|
+
constructor(platform: Platform, apollo: Apollo, httpLink: HttpLink, network: NetworkService, storage: StorageService, cryptoService: CryptoService, environment: any, typePolicies: TypePolicies, fragments: DocumentNode[]);
|
|
68
|
+
setAuthToken(token: string): Promise<void>;
|
|
69
|
+
setAuthBasic(basic: string): Promise<void>;
|
|
61
70
|
/**
|
|
62
71
|
* Allow to add a field resolver
|
|
63
72
|
* (see doc: https://www.apollographql.com/docs/react/data/local-state/#handling-client-fields-with-resolvers)
|
|
@@ -134,4 +143,6 @@ export declare class GraphqlService extends StartableService<ApolloClient<any>>
|
|
|
134
143
|
private createAppErrorByCode;
|
|
135
144
|
private getI18nErrorMessageByCode;
|
|
136
145
|
private toAppError;
|
|
146
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphqlService, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
147
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GraphqlService>;
|
|
137
148
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { ApolloClient, ApolloLink, Operation } from '@apollo/client/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { PersistentStorage } from 'apollo3-cache-persist';
|
|
4
|
-
import { ConnectionType } from '../services/network.
|
|
4
|
+
import { ConnectionType } from '../services/network.types';
|
|
5
|
+
import { StorageService } from '../../shared/services/storage/storage.service';
|
|
5
6
|
export declare const NativeWebSocket: any;
|
|
7
|
+
export declare type EmptyObject = {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
6
10
|
/**
|
|
7
11
|
* AppWebSocket class.
|
|
8
12
|
* With a hack on default Websocket, to avoid the use of protocol
|
|
@@ -29,3 +33,10 @@ export declare function restoreTrackedQueries(opts: {
|
|
|
29
33
|
storage: PersistentStorage<any>;
|
|
30
34
|
debug?: boolean;
|
|
31
35
|
}): Promise<import("@apollo/client/core").FetchResult<any, Record<string, any>, Record<string, any>>[]>;
|
|
36
|
+
export declare class StorageServiceWrapper implements PersistentStorage<string> {
|
|
37
|
+
private storage;
|
|
38
|
+
constructor(storage: StorageService);
|
|
39
|
+
getItem(key: any): Promise<any>;
|
|
40
|
+
removeItem(key: any): Promise<any>;
|
|
41
|
+
setItem(key: any, value: any): Promise<any>;
|
|
42
|
+
}
|
|
@@ -12,8 +12,10 @@ import { PlatformService } from '../services/platform.service';
|
|
|
12
12
|
import { LocalSettingsService } from '../services/local-settings.service';
|
|
13
13
|
import { NetworkService } from '../services/network.service';
|
|
14
14
|
import { MenuItem } from '../menu/menu.model';
|
|
15
|
-
import { ShowToastOptions } from '../../shared/toasts';
|
|
15
|
+
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
16
|
+
import { Environment } from '../../../environments/environment.class';
|
|
16
17
|
import { HistoryPageReference } from '../services/model/history.model';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
17
19
|
export declare function getRandomImage(files: String[]): String;
|
|
18
20
|
export declare const APP_HOME_BUTTONS: InjectionToken<MenuItem[]>;
|
|
19
21
|
export declare class HomePage implements OnDestroy {
|
|
@@ -26,7 +28,7 @@ export declare class HomePage implements OnDestroy {
|
|
|
26
28
|
private cd;
|
|
27
29
|
network: NetworkService;
|
|
28
30
|
settings: LocalSettingsService;
|
|
29
|
-
protected environment:
|
|
31
|
+
protected environment: Environment;
|
|
30
32
|
locales: LocaleConfig[];
|
|
31
33
|
buttons: MenuItem[];
|
|
32
34
|
private readonly _debug;
|
|
@@ -49,14 +51,15 @@ export declare class HomePage implements OnDestroy {
|
|
|
49
51
|
pageHistory: HistoryPageReference[];
|
|
50
52
|
offline: boolean;
|
|
51
53
|
$filteredButtons: BehaviorSubject<MenuItem[]>;
|
|
54
|
+
readonly showAccountButton: boolean;
|
|
52
55
|
get currentLocaleCode(): string;
|
|
53
|
-
constructor(accountService: AccountService, modalCtrl: ModalController, translate: TranslateService, toastController: ToastController, configService: ConfigService, platform: PlatformService, cd: ChangeDetectorRef, network: NetworkService, settings: LocalSettingsService, environment:
|
|
56
|
+
constructor(accountService: AccountService, modalCtrl: ModalController, translate: TranslateService, toastController: ToastController, configService: ConfigService, platform: PlatformService, cd: ChangeDetectorRef, network: NetworkService, settings: LocalSettingsService, environment: Environment, locales: LocaleConfig[], buttons: MenuItem[]);
|
|
54
57
|
ngOnDestroy(): void;
|
|
55
58
|
login(): Promise<void>;
|
|
56
59
|
register(): Promise<void>;
|
|
57
60
|
logout(event: any): Promise<void>;
|
|
58
61
|
changeLanguage(locale: string): void;
|
|
59
|
-
getPagePath(page: HistoryPageReference): string;
|
|
62
|
+
getPagePath(index: number, page: HistoryPageReference): string;
|
|
60
63
|
tryOnline(): void;
|
|
61
64
|
protected start(): Promise<void>;
|
|
62
65
|
protected showToast(opts: ShowToastOptions): Promise<void>;
|
|
@@ -66,4 +69,6 @@ export declare class HomePage implements OnDestroy {
|
|
|
66
69
|
protected onLogout(): void;
|
|
67
70
|
protected refreshButtons(): void;
|
|
68
71
|
protected markForCheck(): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomePage, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HomePage, "app-page-home", never, {}, {}, never, never, false>;
|
|
69
74
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./home";
|
|
3
|
+
import * as i2 from "../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "../auth/auth.module";
|
|
7
|
+
import * as i6 from "../install/install-upgrade-card.module";
|
|
8
|
+
export declare class AppHomePageModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppHomePageModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppHomePageModule, [typeof i1.HomePage], [typeof i2.SharedModule, typeof i3.RouterModule, typeof i4.TranslateModule, typeof i5.AppAuthModule, typeof i6.AppInstallUpgradeCardModule], [typeof i3.RouterModule, typeof i4.TranslateModule, typeof i1.HomePage]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppHomePageModule>;
|
|
12
|
+
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { AppColors } from '../../shared/
|
|
2
|
-
import
|
|
1
|
+
import { AppColors, IconRef } from '../../shared/types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AppIconComponent {
|
|
4
4
|
icon: string;
|
|
5
5
|
matIcon: string;
|
|
6
6
|
matSvgIcon: string;
|
|
7
7
|
color: AppColors;
|
|
8
|
+
height: number | string;
|
|
9
|
+
width: number | string;
|
|
8
10
|
set ref(value: IconRef);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppIconComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppIconComponent, "app-icon", never, { "icon": "icon"; "matIcon": "matIcon"; "matSvgIcon": "matSvgIcon"; "color": "color"; "height": "height"; "width": "width"; "ref": "ref"; }, {}, never, never, false>;
|
|
9
13
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./icon.component";
|
|
3
|
+
import * as i2 from "../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
export declare class AppIconModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppIconModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppIconModule, [typeof i1.AppIconComponent], [typeof i2.SharedModule, typeof i3.TranslateModule], [typeof i1.AppIconComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppIconModule>;
|
|
9
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ChangeDetectorRef,
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AlertController, ModalController, ToastController } from '@ionic/angular';
|
|
3
3
|
import { ConfigService } from '../services/config.service';
|
|
4
4
|
import { PlatformService } from '../services/platform.service';
|
|
5
5
|
import { NetworkService } from '../services/network.service';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare interface InstallAppLink {
|
|
8
9
|
name: string;
|
|
9
10
|
url: string;
|
|
@@ -27,9 +28,8 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
27
28
|
network: NetworkService;
|
|
28
29
|
protected environment: any;
|
|
29
30
|
private _subscription;
|
|
30
|
-
private _showUpdateOfflineFeature;
|
|
31
31
|
loading: boolean;
|
|
32
|
-
|
|
32
|
+
hasDownloader: boolean;
|
|
33
33
|
downloading: boolean;
|
|
34
34
|
waitingNetwork: boolean;
|
|
35
35
|
installLinks: InstallAppLink[];
|
|
@@ -40,14 +40,11 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
40
40
|
showUpgradeWarning: boolean;
|
|
41
41
|
showOfflineWarning: boolean;
|
|
42
42
|
showInstallButton: boolean;
|
|
43
|
-
set showUpdateOfflineFeature(value: boolean);
|
|
44
|
-
get showUpdateOfflineFeature(): boolean;
|
|
45
|
-
onUpdateOfflineModeClick: EventEmitter<UIEvent>;
|
|
46
43
|
constructor(modalCtrl: ModalController, configService: ConfigService, toastController: ToastController, alertController: AlertController, translate: TranslateService, cd: ChangeDetectorRef, platform: PlatformService, network: NetworkService, environment: any);
|
|
47
44
|
ngOnInit(): void;
|
|
48
45
|
ngOnDestroy(): void;
|
|
49
|
-
download(event:
|
|
50
|
-
openFile(event:
|
|
46
|
+
download(event: Event, link: InstallAppLink): Promise<void>;
|
|
47
|
+
openFile(event: Event, link: InstallAppLink): Promise<void>;
|
|
51
48
|
tryOnline(): Promise<void>;
|
|
52
49
|
getPlatformName(platform: 'android' | 'ios'): "" | "Android" | "iOS";
|
|
53
50
|
asLink(value: any): InstallAppLink;
|
|
@@ -55,11 +52,12 @@ export declare class AppInstallUpgradeCard implements OnInit, OnDestroy {
|
|
|
55
52
|
private getCompatibleInstallLinks;
|
|
56
53
|
private getCompatibleUpgradeLinks;
|
|
57
54
|
private getLinks;
|
|
58
|
-
private getFilename;
|
|
59
55
|
private listenDownloadJobs;
|
|
60
56
|
private listenDownloadJob;
|
|
61
57
|
private showDownloadFailedToast;
|
|
62
58
|
private showDownloadCompleteDialog;
|
|
63
59
|
private markForCheck;
|
|
64
60
|
private showToast;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppInstallUpgradeCard, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppInstallUpgradeCard, "app-install-upgrade-card", never, { "isLogin": "isLogin"; "showUpgradeWarning": "showUpgradeWarning"; "showOfflineWarning": "showOfflineWarning"; "showInstallButton": "showInstallButton"; }, {}, never, never, false>;
|
|
65
63
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./install-upgrade-card.component";
|
|
3
|
+
import * as i2 from "../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
export declare class AppInstallUpgradeCardModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppInstallUpgradeCardModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppInstallUpgradeCardModule, [typeof i1.AppInstallUpgradeCard], [typeof i2.SharedModule, typeof i3.TranslateModule], [typeof i3.TranslateModule, typeof i1.AppInstallUpgradeCard]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppInstallUpgradeCardModule>;
|
|
9
|
+
}
|
|
@@ -6,11 +6,12 @@ import { AccountService } from '../services/account.service';
|
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
7
|
import { BehaviorSubject } from 'rxjs';
|
|
8
8
|
import { ConfigService } from '../services/config.service';
|
|
9
|
-
import { HammerSwipeEvent } from '../../shared/gesture/hammer.utils';
|
|
10
9
|
import { PlatformService } from '../services/platform.service';
|
|
11
|
-
import { MenuService } from './menu.service';
|
|
12
|
-
import { MenuItem } from './menu.model';
|
|
10
|
+
import { MenuService, SplitPaneShowWhen } from './menu.service';
|
|
11
|
+
import { MenuItem, MenuOptions } from './menu.model';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
13
|
export declare const APP_MENU_ITEMS: InjectionToken<MenuItem[]>;
|
|
14
|
+
export declare const APP_MENU_OPTIONS: InjectionToken<MenuOptions>;
|
|
14
15
|
export declare class MenuComponent implements OnInit {
|
|
15
16
|
protected platformService: PlatformService;
|
|
16
17
|
protected accountService: AccountService;
|
|
@@ -23,34 +24,40 @@ export declare class MenuComponent implements OnInit {
|
|
|
23
24
|
protected cd: ChangeDetectorRef;
|
|
24
25
|
protected menuService: MenuService;
|
|
25
26
|
protected environment: any;
|
|
27
|
+
protected options: MenuOptions;
|
|
26
28
|
protected items: MenuItem[];
|
|
27
29
|
private readonly _debug;
|
|
28
30
|
private _subscription;
|
|
29
31
|
private _config;
|
|
30
|
-
private _screenWidth;
|
|
31
32
|
loading: boolean;
|
|
32
33
|
isLogin: boolean;
|
|
33
34
|
accountName: string;
|
|
34
35
|
accountAvatar: string;
|
|
35
36
|
accountEmail: string;
|
|
36
|
-
splitPaneOpened: boolean;
|
|
37
|
-
logo: String;
|
|
38
|
-
appName: String;
|
|
39
37
|
$items: BehaviorSubject<MenuItem[]>;
|
|
40
|
-
|
|
38
|
+
id: string;
|
|
39
|
+
menuId: string;
|
|
41
40
|
side: string;
|
|
41
|
+
contentId: string;
|
|
42
|
+
logo: string;
|
|
43
|
+
appName: string;
|
|
44
|
+
appVersion: string;
|
|
42
45
|
splitPane: IonSplitPane;
|
|
43
|
-
constructor(platformService: PlatformService, accountService: AccountService, router: Router, menu: MenuController, modalCtrl: ModalController, alertController: AlertController, translate: TranslateService, configService: ConfigService, cd: ChangeDetectorRef, menuService: MenuService, environment: any, items: MenuItem[]);
|
|
44
|
-
onResize(event?: UIEvent): void;
|
|
46
|
+
constructor(platformService: PlatformService, accountService: AccountService, router: Router, menu: MenuController, modalCtrl: ModalController, alertController: AlertController, translate: TranslateService, configService: ConfigService, cd: ChangeDetectorRef, menuService: MenuService, environment: any, options: MenuOptions, items: MenuItem[]);
|
|
45
47
|
ngOnInit(): Promise<void>;
|
|
46
48
|
onLogin(account: Account): Promise<void>;
|
|
47
49
|
onLogout(skipRedirect?: boolean): Promise<void>;
|
|
48
50
|
logout(): Promise<void>;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
enable(value: boolean): Promise<void>;
|
|
52
|
+
open(): Promise<boolean>;
|
|
53
|
+
close(): Promise<boolean>;
|
|
54
|
+
openAboutModal(event?: Event): Promise<void>;
|
|
55
|
+
setSplitPaneWhen(value: SplitPaneShowWhen): Promise<void>;
|
|
56
|
+
toggleSplitPaneShow(event?: Event): Promise<void>;
|
|
57
|
+
doAction(action: string, event: Event): Promise<void>;
|
|
58
|
+
onSwipeRight(event: any): boolean;
|
|
54
59
|
protected refreshMenuItems(): void;
|
|
55
60
|
protected detectChanges(): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "app-menu", never, { "id": "id"; "menuId": "menuId"; "side": "side"; "contentId": "contentId"; "logo": "logo"; "appName": "appName"; "appVersion": "appVersion"; }, {}, never, ["*", "[headerBottomRight]"], false>;
|
|
56
63
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./menu.component";
|
|
3
|
+
import * as i2 from "../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
1
6
|
export declare class AppMenuModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppMenuModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppMenuModule, [typeof i1.MenuComponent], [typeof i2.SharedModule, typeof i3.RouterModule, typeof i4.TranslateModule], [typeof i4.TranslateModule, typeof i1.MenuComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppMenuModule>;
|
|
2
10
|
}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare type SplitPaneShowWhen = boolean | 'lg';
|
|
4
|
+
export declare const DEFAULT_MENU_SHOW_WHEN: SplitPaneShowWhen;
|
|
2
5
|
export declare class MenuService {
|
|
3
|
-
private readonly
|
|
4
|
-
private readonly
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
private readonly _$toggled;
|
|
7
|
+
private readonly _$opened;
|
|
8
|
+
private readonly _$splitPaneWhen;
|
|
9
|
+
private readonly _$enabled;
|
|
10
|
+
get opened(): Observable<boolean>;
|
|
11
|
+
get splitPaneWhen(): Observable<SplitPaneShowWhen>;
|
|
12
|
+
get enabled(): Observable<boolean>;
|
|
13
|
+
toggle(): void;
|
|
14
|
+
enable(value: boolean): void;
|
|
15
|
+
setSplitPaneShowWhen(value: SplitPaneShowWhen): void;
|
|
16
|
+
toggleSplitPaneWhen(): void;
|
|
17
|
+
_markAsOpened(): void;
|
|
18
|
+
_markAsClosed(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
|
|
9
21
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AppUpdateOfflineModeCard implements OnDestroy {
|
|
4
|
+
progressionMessage: string;
|
|
5
|
+
progressionValue: number;
|
|
6
|
+
onUpdateClick: EventEmitter<Event>;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnDestroy(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppUpdateOfflineModeCard, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppUpdateOfflineModeCard, "app-update-offline-mode-card", never, { "progressionMessage": "progressionMessage"; "progressionValue": "progressionValue"; }, { "onUpdateClick": "onUpdateClick"; }, never, never, false>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./update-offline-mode-card.component";
|
|
3
|
+
import * as i2 from "../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
export declare class AppUpdateOfflineModeCardModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppUpdateOfflineModeCardModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppUpdateOfflineModeCardModule, [typeof i1.AppUpdateOfflineModeCard], [typeof i2.SharedModule, typeof i3.TranslateModule], [typeof i3.TranslateModule, typeof i1.AppUpdateOfflineModeCard]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppUpdateOfflineModeCardModule>;
|
|
9
|
+
}
|
|
@@ -1,21 +1,34 @@
|
|
|
1
|
-
import { ChangeDetectorRef,
|
|
2
|
-
import { ModalController } from '@ionic/angular';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ModalController, PopoverController } from '@ionic/angular';
|
|
3
3
|
import { Peer } from '../services/model/peer.model';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import { TextPopoverOptions } from '../form/text-popover/text-popover.component';
|
|
7
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export interface ISelectPeerModalOptions {
|
|
10
|
+
canCancel: boolean;
|
|
11
|
+
allowSelectDownPeer: boolean;
|
|
12
|
+
onRefresh: EventEmitter<Event>;
|
|
13
|
+
showSetManuallyButton: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptions {
|
|
16
|
+
private modalCtrl;
|
|
17
|
+
private popoverController;
|
|
18
|
+
private translate;
|
|
9
19
|
private http;
|
|
20
|
+
private cd;
|
|
10
21
|
protected environment: any;
|
|
11
22
|
private _subscription;
|
|
12
23
|
loading: boolean;
|
|
24
|
+
mobile: boolean;
|
|
13
25
|
$peers: Subject<Peer[]>;
|
|
14
26
|
peerMinVersion: any;
|
|
15
27
|
canCancel: boolean;
|
|
16
28
|
allowSelectDownPeer: boolean;
|
|
17
|
-
onRefresh: EventEmitter<
|
|
18
|
-
|
|
29
|
+
onRefresh: EventEmitter<Event>;
|
|
30
|
+
showSetManuallyButton: boolean;
|
|
31
|
+
constructor(modalCtrl: ModalController, popoverController: PopoverController, translate: TranslateService, http: HttpClient, cd: ChangeDetectorRef, environment: any);
|
|
19
32
|
set peers(peers: Observable<Peer[]>);
|
|
20
33
|
cancel(): void;
|
|
21
34
|
ngOnDestroy(): void;
|
|
@@ -26,8 +39,12 @@ export declare class SelectPeerModal implements OnDestroy {
|
|
|
26
39
|
* @param peer
|
|
27
40
|
*/
|
|
28
41
|
isCompatible(peer: Peer): boolean;
|
|
29
|
-
refresh(event:
|
|
42
|
+
refresh(event: any): void;
|
|
43
|
+
clickSetManually(event?: Event): Promise<void>;
|
|
30
44
|
refreshPeers(peers: Peer[]): Promise<void>;
|
|
31
45
|
protected refreshPeer(peer: Peer): Promise<Peer>;
|
|
46
|
+
protected openPeerUrlPopover(event: Event, opts?: Partial<TextPopoverOptions>): Promise<any>;
|
|
32
47
|
protected markForCheck(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModal, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectPeerModal, "select-peer-modal", never, { "canCancel": "canCancel"; "allowSelectDownPeer": "allowSelectDownPeer"; "onRefresh": "onRefresh"; "showSetManuallyButton": "showSetManuallyButton"; }, {}, never, never, false>;
|
|
33
50
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "../form/text-popover/text-popover.module";
|
|
7
|
+
export declare class AppSelectPeerModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppSelectPeerModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppSelectPeerModule, [typeof i1.SelectPeerModal], [typeof i2.SharedModule, typeof i3.HttpClientModule, typeof i4.TranslateModule, typeof i5.AppTextPopoverModule], [typeof i4.TranslateModule, typeof i1.SelectPeerModal]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppSelectPeerModule>;
|
|
11
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import { ActivatedRoute } from '@angular/router';
|
|
4
|
-
import { AccountService } from '
|
|
5
|
-
import { ConfigService } from '
|
|
6
|
-
import { PlatformService } from '
|
|
4
|
+
import { AccountService } from '../services/account.service';
|
|
5
|
+
import { ConfigService } from '../services/config.service';
|
|
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, "app-register-confirm-page", never, {}, {}, never, never, false>;
|
|
21
24
|
}
|