@sumaris-net/ngx-components 1.2.7 → 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 -1
- 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 -27
- 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 -28721
- 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 -424
- 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 -24434
- 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
|
@@ -1,2 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./material.latlong";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../../pipes/pipes.module";
|
|
7
|
+
import * as i6 from "@angular/material/core";
|
|
8
|
+
import * as i7 from "@angular/material/form-field";
|
|
9
|
+
import * as i8 from "@angular/material/input";
|
|
10
|
+
import * as i9 from "@angular/material/icon";
|
|
11
|
+
import * as i10 from "@angular/material/button";
|
|
12
|
+
import * as i11 from "angular2-text-mask";
|
|
13
|
+
import * as i12 from "@ngx-translate/core";
|
|
14
|
+
import * as i13 from "@angular/material/select";
|
|
1
15
|
export declare class SharedMatLatLongModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatLatLongModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatLatLongModule, [typeof i1.MatLatLongField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedPipesModule, typeof i6.MatCommonModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatIconModule, typeof i10.MatButtonModule, typeof i11.TextMaskModule, typeof i12.TranslateModule, typeof i13.MatSelectModule], [typeof i1.MatLatLongField]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatLatLongModule>;
|
|
2
19
|
}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { PlatformService } from '../../../../core/services/platform.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class LatLongTestPage implements OnInit {
|
|
4
|
-
protected formBuilder:
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
protected formBuilder: UntypedFormBuilder;
|
|
7
|
+
protected platform: PlatformService;
|
|
8
|
+
form: UntypedFormGroup;
|
|
9
|
+
geoPositionMessage: string;
|
|
10
|
+
constructor(formBuilder: UntypedFormBuilder, platform: PlatformService);
|
|
7
11
|
ngOnInit(): void;
|
|
8
12
|
loadData(): Promise<void>;
|
|
9
13
|
doSubmit(event: any): void;
|
|
10
|
-
geoPosition(event:
|
|
14
|
+
geoPosition(event: Event, controlName?: string): Promise<void>;
|
|
11
15
|
stringify: {
|
|
12
|
-
(value: any, replacer?: (this: any, key: string, value: any) => any, space?:
|
|
13
|
-
(value: any, replacer?:
|
|
16
|
+
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[], space?: string | number): string;
|
|
14
18
|
};
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LatLongTestPage, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LatLongTestPage, "app-latlong-test", never, {}, {}, never, never, false>;
|
|
15
21
|
}
|
|
@@ -1,2 +1,45 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/material/core";
|
|
3
|
+
import * as i2 from "@angular/material/table";
|
|
4
|
+
import * as i3 from "@angular/material/sort";
|
|
5
|
+
import * as i4 from "@angular/material/paginator";
|
|
6
|
+
import * as i5 from "@angular/material/form-field";
|
|
7
|
+
import * as i6 from "@angular/material/input";
|
|
8
|
+
import * as i7 from "@angular/cdk/table";
|
|
9
|
+
import * as i8 from "@angular/material/checkbox";
|
|
10
|
+
import * as i9 from "@angular/material/expansion";
|
|
11
|
+
import * as i10 from "@angular/material/toolbar";
|
|
12
|
+
import * as i11 from "@angular/material/dialog";
|
|
13
|
+
import * as i12 from "@angular/material/icon";
|
|
14
|
+
import * as i13 from "@angular/material/button";
|
|
15
|
+
import * as i14 from "@angular/material/menu";
|
|
16
|
+
import * as i15 from "@angular/material/select";
|
|
17
|
+
import * as i16 from "@angular/material/card";
|
|
18
|
+
import * as i17 from "@angular/material/tabs";
|
|
19
|
+
import * as i18 from "@angular/material/list";
|
|
20
|
+
import * as i19 from "@angular/material/stepper";
|
|
21
|
+
import * as i20 from "@angular/material/button-toggle";
|
|
22
|
+
import * as i21 from "@angular/material/progress-spinner";
|
|
23
|
+
import * as i22 from "@angular/material/progress-bar";
|
|
24
|
+
import * as i23 from "@angular/material/radio";
|
|
25
|
+
import * as i24 from "@angular/material/badge";
|
|
26
|
+
import * as i25 from "@angular/material/slide-toggle";
|
|
27
|
+
import * as i26 from "@angular/cdk/a11y";
|
|
28
|
+
import * as i27 from "@angular/cdk/overlay";
|
|
29
|
+
import * as i28 from "@angular/cdk/scrolling";
|
|
30
|
+
import * as i29 from "@angular/material/divider";
|
|
31
|
+
import * as i30 from "@angular/material/tooltip";
|
|
32
|
+
import * as i31 from "./autocomplete/material.autocomplete.module";
|
|
33
|
+
import * as i32 from "./latlong/material.latlong.module";
|
|
34
|
+
import * as i33 from "./datetime/datetime.module";
|
|
35
|
+
import * as i34 from "./duration/duration.module";
|
|
36
|
+
import * as i35 from "./boolean/boolean.module";
|
|
37
|
+
import * as i36 from "./numpad/numpad.module";
|
|
38
|
+
import * as i37 from "./swipe/swipe.module";
|
|
39
|
+
import * as i38 from "./chips/chips.module";
|
|
40
|
+
import * as i39 from "./badge/badge.module";
|
|
1
41
|
export declare class SharedMaterialModule {
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMaterialModule, never>;
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMaterialModule, never, [typeof i1.MatCommonModule, typeof i2.MatTableModule, typeof i3.MatSortModule, typeof i4.MatPaginatorModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.CdkTableModule, typeof i8.MatCheckboxModule, typeof i9.MatExpansionModule, typeof i10.MatToolbarModule, typeof i11.MatDialogModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatCardModule, typeof i17.MatTabsModule, typeof i18.MatListModule, typeof i19.MatStepperModule, typeof i20.MatButtonToggleModule, typeof i21.MatProgressSpinnerModule, typeof i22.MatProgressBarModule, typeof i23.MatRadioModule, typeof i24.MatBadgeModule, typeof i25.MatSlideToggleModule, typeof i26.A11yModule, typeof i27.OverlayModule, typeof i28.ScrollingModule, typeof i1.MatRippleModule, typeof i29.MatDividerModule, typeof i30.MatTooltipModule, typeof i31.SharedMatAutocompleteModule, typeof i32.SharedMatLatLongModule, typeof i33.SharedMatDateTimeModule, typeof i34.SharedMatDurationModule, typeof i35.SharedMatBooleanModule, typeof i36.SharedMatNumpadModule, typeof i37.SharedMatSwipeModule, typeof i38.SharedMatChipsModule, typeof i39.SharedBadgeModule], [typeof i1.MatCommonModule, typeof i2.MatTableModule, typeof i3.MatSortModule, typeof i4.MatPaginatorModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.CdkTableModule, typeof i8.MatCheckboxModule, typeof i9.MatExpansionModule, typeof i10.MatToolbarModule, typeof i11.MatDialogModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatCardModule, typeof i17.MatTabsModule, typeof i18.MatListModule, typeof i19.MatStepperModule, typeof i20.MatButtonToggleModule, typeof i21.MatProgressSpinnerModule, typeof i22.MatProgressBarModule, typeof i23.MatRadioModule, typeof i24.MatBadgeModule, typeof i25.MatSlideToggleModule, typeof i26.A11yModule, typeof i27.OverlayModule, typeof i28.ScrollingModule, typeof i1.MatRippleModule, typeof i29.MatDividerModule, typeof i30.MatTooltipModule, typeof i31.SharedMatAutocompleteModule, typeof i32.SharedMatLatLongModule, typeof i33.SharedMatDateTimeModule, typeof i34.SharedMatDurationModule, typeof i35.SharedMatBooleanModule, typeof i36.SharedMatNumpadModule, typeof i37.SharedMatSwipeModule, typeof i38.SharedMatChipsModule, typeof i39.SharedBadgeModule]>;
|
|
44
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMaterialModule>;
|
|
2
45
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TestingPage } from '../testing/tests.page';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./datetime/testing/mat-date-time.test";
|
|
4
|
+
import * as i2 from "./datetime/testing/mat-date.test";
|
|
5
|
+
import * as i3 from "./datetime/testing/mat-dateshort.test";
|
|
6
|
+
import * as i4 from "./autocomplete/testing/autocomplete.test";
|
|
7
|
+
import * as i5 from "./latlong/testing/latlong.test";
|
|
8
|
+
import * as i6 from "./numpad/testing/numpad.test";
|
|
9
|
+
import * as i7 from "./swipe/testing/swipe.test";
|
|
10
|
+
import * as i8 from "./chips/testing/chips.test";
|
|
11
|
+
import * as i9 from "./badge/badge.test";
|
|
12
|
+
import * as i10 from "../testing/observable.test";
|
|
13
|
+
import * as i11 from "@angular/common";
|
|
14
|
+
import * as i12 from "@ionic/angular";
|
|
15
|
+
import * as i13 from "@angular/forms";
|
|
16
|
+
import * as i14 from "./material.module";
|
|
17
|
+
import * as i15 from "@ngx-translate/core";
|
|
18
|
+
import * as i16 from "@angular/router";
|
|
19
|
+
import * as i17 from "../pipes/pipes.module";
|
|
20
|
+
export declare const SHARED_MATERIAL_TESTING_PAGES: TestingPage[];
|
|
21
|
+
export declare class MaterialTestingModule {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTestingModule, never>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialTestingModule, [typeof i1.DateTimeTestPage, typeof i2.DateTestPage, typeof i3.DateShortTestPage, typeof i4.AutocompleteTestPage, typeof i5.LatLongTestPage, typeof i6.NumpadTestPage, typeof i7.SwipeTestPage, typeof i8.ChipsTestPage, typeof i9.MatBadgeTestPage, typeof i10.ObservableTestPage], [typeof i11.CommonModule, typeof i12.IonicModule, typeof i13.ReactiveFormsModule, typeof i14.SharedMaterialModule, typeof i15.TranslateModule, typeof i16.RouterModule, typeof i17.SharedPipesModule], [typeof i14.SharedMaterialModule, typeof i16.RouterModule, typeof i1.DateTimeTestPage, typeof i2.DateTestPage, typeof i3.DateShortTestPage, typeof i4.AutocompleteTestPage, typeof i5.LatLongTestPage, typeof i6.NumpadTestPage, typeof i7.SwipeTestPage, typeof i8.ChipsTestPage, typeof i10.ObservableTestPage]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialTestingModule>;
|
|
25
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class AppendToInputDirective implements AfterViewInit {
|
|
3
4
|
private renderer;
|
|
4
5
|
inputElement: any;
|
|
@@ -16,4 +17,6 @@ export declare class AppendToInputDirective implements AfterViewInit {
|
|
|
16
17
|
private setStyle;
|
|
17
18
|
private defineElementYByDirection;
|
|
18
19
|
private defineElementXByDirection;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppendToInputDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AppendToInputDirective, "[appendNumpadToInput]", never, { "inputElement": "appendNumpadToInput"; }, {}, never, never, false>;
|
|
19
22
|
}
|
|
@@ -2,6 +2,7 @@ import { MatNumpadKeymap, MatNumpadRef } from './numpad.model';
|
|
|
2
2
|
import { EventEmitter } from '@angular/core';
|
|
3
3
|
import { NumpadDirective } from './numpad.directive';
|
|
4
4
|
import { MatNumpadDomService } from './numpad.dom-service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class MatNumpadComponent implements MatNumpadRef {
|
|
6
7
|
private domService;
|
|
7
8
|
private _inputRef;
|
|
@@ -13,11 +14,13 @@ export declare class MatNumpadComponent implements MatNumpadRef {
|
|
|
13
14
|
noBackdrop: boolean;
|
|
14
15
|
position: string;
|
|
15
16
|
keypress: EventEmitter<KeyboardEvent>;
|
|
16
|
-
closed: EventEmitter<
|
|
17
|
+
closed: EventEmitter<void>;
|
|
17
18
|
get opened(): boolean;
|
|
18
19
|
get inputElement(): any;
|
|
19
20
|
constructor(domService: MatNumpadDomService);
|
|
20
21
|
registerInput(input: NumpadDirective): void;
|
|
21
22
|
open(): void;
|
|
22
23
|
close(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatNumpadComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatNumpadComponent, "mat-numpad", never, { "keymap": "keymap"; "decimal": "decimal"; "appendToInput": "appendToInput"; "disableAnimation": "disableAnimation"; "noBackdrop": "noBackdrop"; "position": "position"; }, { "keypress": "keypress"; "closed": "closed"; }, never, never, false>;
|
|
23
26
|
}
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { MatNumpadConfig, MatNumpadKey, MatNumpadKeymap, MatNumpadRef } from './numpad.model';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { AnimationEvent } from '@angular/animations';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare enum AnimationState {
|
|
6
7
|
ENTER = "enter",
|
|
7
8
|
ENTER_INPUT = "enter-input",
|
|
@@ -27,11 +28,13 @@ export declare class MatNumpadContainerComponent implements OnInit, OnDestroy, M
|
|
|
27
28
|
constructor(cd: ChangeDetectorRef);
|
|
28
29
|
ngOnInit(): void;
|
|
29
30
|
ngOnDestroy(): void;
|
|
30
|
-
onButtonClick(event:
|
|
31
|
+
onButtonClick(event: Event, keyDef: MatNumpadKey): void;
|
|
31
32
|
onKeydown(event: KeyboardEvent): void;
|
|
32
|
-
overlayClick(event:
|
|
33
|
+
overlayClick(event: Event): void;
|
|
33
34
|
close(): void;
|
|
34
35
|
animationDone(event: AnimationEvent): void;
|
|
35
36
|
protected defineFilteredKeymap(): MatNumpadKeymap;
|
|
36
37
|
protected markForCheck(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatNumpadContainerComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatNumpadContainerComponent, "mat-numpad-container", never, {}, {}, never, never, false>;
|
|
37
40
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class MatNumpadContent {
|
|
2
3
|
appendToInput: boolean;
|
|
3
4
|
inputElement: any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatNumpadContent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatNumpadContent, "mat-numpad-content", never, { "appendToInput": "appendToInput"; "inputElement": "inputElement"; }, {}, never, ["*"], false>;
|
|
4
7
|
}
|
|
@@ -2,6 +2,7 @@ import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { MatNumpadKeymap } from './numpad.model';
|
|
4
4
|
import { MatNumpadComponent } from './numpad.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class NumpadDirective implements ControlValueAccessor, OnDestroy, OnChanges {
|
|
6
7
|
private elementRef;
|
|
7
8
|
private _numpad;
|
|
@@ -20,7 +21,7 @@ export declare class NumpadDirective implements ControlValueAccessor, OnDestroy,
|
|
|
20
21
|
get element(): any;
|
|
21
22
|
updateValue(value: string): void;
|
|
22
23
|
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
-
onClick(event:
|
|
24
|
+
onClick(event: Event): void;
|
|
24
25
|
writeValue(value: string): void;
|
|
25
26
|
registerOnChange(fn: (value: any) => void): void;
|
|
26
27
|
registerOnTouched(fn: () => void): void;
|
|
@@ -29,4 +30,6 @@ export declare class NumpadDirective implements ControlValueAccessor, OnDestroy,
|
|
|
29
30
|
private registerNumpad;
|
|
30
31
|
private applyingKey;
|
|
31
32
|
private updateInputValue;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumpadDirective, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumpadDirective, "[matNumpad]", never, { "keymap": "keymap"; "numpad": "matNumpad"; "value": "value"; "disabled": "disabled"; "decimal": "decimal"; "disableClick": "disableClick"; }, {}, never, never, false>;
|
|
32
35
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApplicationRef, ComponentFactoryResolver, Injector, Type } from '@angular/core';
|
|
2
2
|
import { MatNumpadContainerComponent } from './numpad.container';
|
|
3
3
|
import { MatNumpadConfig } from './numpad.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MatNumpadDomService {
|
|
5
6
|
private cfr;
|
|
6
7
|
private appRef;
|
|
@@ -10,4 +11,6 @@ export declare class MatNumpadDomService {
|
|
|
10
11
|
constructor(cfr: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, document: any);
|
|
11
12
|
appendNumpadToBody(numpadType: Type<MatNumpadContainerComponent>, config: MatNumpadConfig): void;
|
|
12
13
|
destroyNumpad(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatNumpadDomService, [null, null, null, { optional: true; }]>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatNumpadDomService>;
|
|
13
16
|
}
|
|
@@ -1,2 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./numpad.container";
|
|
3
|
+
import * as i2 from "./numpad.component";
|
|
4
|
+
import * as i3 from "./numpad.content";
|
|
5
|
+
import * as i4 from "./numpad.directive";
|
|
6
|
+
import * as i5 from "./numpad.append-to-input.directive";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@ionic/angular";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "@angular/material/icon";
|
|
11
|
+
import * as i10 from "@ngx-translate/core";
|
|
1
12
|
export declare class SharedMatNumpadModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatNumpadModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatNumpadModule, [typeof i1.MatNumpadContainerComponent, typeof i2.MatNumpadComponent, typeof i3.MatNumpadContent, typeof i4.NumpadDirective, typeof i5.AppendToInputDirective], [typeof i6.CommonModule, typeof i7.IonicModule, typeof i8.MatButtonModule, typeof i9.MatIconModule, typeof i10.TranslateModule], [typeof i2.MatNumpadComponent, typeof i4.NumpadDirective, typeof i1.MatNumpadContainerComponent, typeof i3.MatNumpadContent, typeof i5.AppendToInputDirective]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatNumpadModule>;
|
|
2
16
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NumpadTestPage implements OnInit {
|
|
5
|
+
protected formBuilder: UntypedFormBuilder;
|
|
6
|
+
form: UntypedFormGroup;
|
|
7
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
loadData(): Promise<void>;
|
|
10
|
+
doSubmit(event: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumpadTestPage, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumpadTestPage, "app-numpad-test", never, {}, {}, never, never, false>;
|
|
13
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TranslateService } from '@ngx-translate/core';
|
|
2
2
|
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class MatPaginatorI18n extends MatPaginatorIntl {
|
|
4
5
|
private translate;
|
|
5
6
|
itemsPerPageLabel: string;
|
|
@@ -8,4 +9,6 @@ export declare class MatPaginatorI18n extends MatPaginatorIntl {
|
|
|
8
9
|
getRangeLabel: (page: any, pageSize: any, length: any) => string;
|
|
9
10
|
constructor(translate: TranslateService);
|
|
10
11
|
private translateLabels;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatorI18n, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatPaginatorI18n>;
|
|
11
14
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { MatStepperIntl } from '@angular/material/stepper';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class MatStepperI18n extends MatStepperIntl {
|
|
4
5
|
private translate;
|
|
5
6
|
constructor(translate: TranslateService);
|
|
6
7
|
private translateLabels;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatStepperI18n, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatStepperI18n>;
|
|
7
10
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor,
|
|
2
|
+
import { ControlValueAccessor, UntypedFormControl, FormGroupDirective } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { InputElement, selectInputContent } from '../../inputs';
|
|
5
|
-
import {
|
|
6
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
5
|
+
import { EqualsFn, DisplayFn } from '../../form/field.model';
|
|
6
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
7
7
|
import { IonSlides } from '@ionic/angular';
|
|
8
8
|
import { MatButton } from '@angular/material/button';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, ControlValueAccessor {
|
|
10
11
|
protected cd: ChangeDetectorRef;
|
|
11
12
|
private formGroupDir;
|
|
@@ -25,15 +26,16 @@ export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, C
|
|
|
25
26
|
speed: 100;
|
|
26
27
|
};
|
|
27
28
|
logPrefix: string;
|
|
28
|
-
formControl:
|
|
29
|
+
formControl: UntypedFormControl;
|
|
29
30
|
formControlName: string;
|
|
30
31
|
floatLabel: FloatLabelType;
|
|
32
|
+
appearance: MatFormFieldAppearance;
|
|
31
33
|
placeholder: string;
|
|
32
34
|
debug: boolean;
|
|
33
35
|
required: boolean;
|
|
34
36
|
mobile: boolean;
|
|
35
37
|
clearable: boolean;
|
|
36
|
-
|
|
38
|
+
equals: EqualsFn | null;
|
|
37
39
|
displayWith: DisplayFn | null;
|
|
38
40
|
displayAttributes: string[];
|
|
39
41
|
appAutofocus: boolean;
|
|
@@ -44,8 +46,8 @@ export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, C
|
|
|
44
46
|
get items(): Observable<any[]> | any[];
|
|
45
47
|
get itemCount(): number;
|
|
46
48
|
onClick: EventEmitter<MouseEvent>;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
blurred: EventEmitter<FocusEvent>;
|
|
50
|
+
focused: EventEmitter<FocusEvent>;
|
|
49
51
|
fakeInput: ElementRef;
|
|
50
52
|
slides: IonSlides;
|
|
51
53
|
prevButton: MatButton;
|
|
@@ -63,7 +65,7 @@ export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, C
|
|
|
63
65
|
*/
|
|
64
66
|
private updateTabIndex;
|
|
65
67
|
writeValue(value: any): void;
|
|
66
|
-
clearValue(event:
|
|
68
|
+
clearValue(event: Event): void;
|
|
67
69
|
registerOnChange(fn: any): void;
|
|
68
70
|
registerOnTouched(fn: any): void;
|
|
69
71
|
setDisabledState(isDisabled: boolean): void;
|
|
@@ -82,4 +84,6 @@ export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, C
|
|
|
82
84
|
private updateButtons;
|
|
83
85
|
getSlides(): Promise<IonSlides>;
|
|
84
86
|
ready(): Promise<void>;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSwipeField, [null, { optional: true; }]>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatSwipeField, "mat-swipe-field", never, { "logPrefix": "logPrefix"; "formControl": "formControl"; "formControlName": "formControlName"; "floatLabel": "floatLabel"; "appearance": "appearance"; "placeholder": "placeholder"; "debug": "debug"; "required": "required"; "mobile": "mobile"; "clearable": "clearable"; "equals": "equals"; "displayWith": "displayWith"; "displayAttributes": "displayAttributes"; "appAutofocus": "appAutofocus"; "classList": "class"; "tabindex": "tabindex"; "items": "items"; }, { "onClick": "click"; "blurred": "blur"; "focused": "focus"; }, never, never, false>;
|
|
85
89
|
}
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./material.swipe";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@ngx-translate/core";
|
|
8
|
+
import * as i7 from "@angular/material/form-field";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "@angular/material/input";
|
|
1
11
|
export declare class SharedMatSwipeModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMatSwipeModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMatSwipeModule, [typeof i1.MatSwipeField], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.MatButtonModule, typeof i5.MatIconModule, typeof i6.TranslateModule, typeof i7.MatFormFieldModule, typeof i8.ReactiveFormsModule, typeof i9.MatInputModule], [typeof i1.MatSwipeField]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMatSwipeModule>;
|
|
2
15
|
}
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import * as momentImported from 'moment';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
4
3
|
import { BehaviorSubject } from 'rxjs';
|
|
5
4
|
import { Moment } from 'moment';
|
|
6
|
-
import {
|
|
5
|
+
import { DateFormatService } from '../../../pipes/date-format.pipe';
|
|
7
6
|
import { DisplayFn } from '../../../form/field.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SwipeTestPage implements OnInit {
|
|
9
|
-
protected formBuilder:
|
|
10
|
-
protected
|
|
11
|
-
form:
|
|
12
|
-
$dates: BehaviorSubject<
|
|
9
|
+
protected formBuilder: UntypedFormBuilder;
|
|
10
|
+
protected dateFormat: DateFormatService;
|
|
11
|
+
form: UntypedFormGroup;
|
|
12
|
+
$dates: BehaviorSubject<Moment[]>;
|
|
13
13
|
private _today;
|
|
14
|
-
constructor(formBuilder:
|
|
14
|
+
constructor(formBuilder: UntypedFormBuilder, dateFormat: DateFormatService);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
loadData(): Promise<void>;
|
|
17
|
-
doSubmit(event
|
|
17
|
+
doSubmit(event?: Event): void;
|
|
18
18
|
displayDate(): DisplayFn;
|
|
19
19
|
compareDate(): (d1: Moment, d2: Moment) => boolean;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwipeTestPage, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwipeTestPage, "app-swipe-test", never, {}, {}, never, never, false>;
|
|
20
22
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function isESModule<T>(value: any | T): value is {
|
|
2
|
+
default: T;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Workaround need for CommonJS library (eg. moment), because of packagr's issue - see https://github.com/ng-packagr/ng-packagr/issues/2215
|
|
6
|
+
* @param commonJSModule
|
|
7
|
+
*/
|
|
8
|
+
export declare function unwrapESModule<T = any>(commonJSModule: T | any): T;
|
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Predicate } from '@angular/core';
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export declare
|
|
9
|
-
export declare function firstNotNilPromise<T = any>(obs: Observable<T>): Promise<T>;
|
|
10
|
-
export declare function chainPromises<T = any>(defers: (() => Promise<any>)[]): Promise<T[]>;
|
|
11
|
-
export declare interface WaitForOptions {
|
|
3
|
+
export declare interface FirstOptions {
|
|
4
|
+
timeout?: number;
|
|
5
|
+
stop?: Observable<any>;
|
|
6
|
+
stopError?: boolean | string | Error;
|
|
7
|
+
}
|
|
8
|
+
export declare interface WaitForOptions extends FirstOptions {
|
|
12
9
|
dueTime?: number;
|
|
13
10
|
checkPeriod?: number;
|
|
14
|
-
timeout?: number;
|
|
15
11
|
}
|
|
12
|
+
export declare function filterNotNil<T = any>(obs: Observable<T>): Observable<T>;
|
|
13
|
+
export declare function filterTrue(obs: Observable<boolean>): Observable<boolean>;
|
|
14
|
+
export declare function filterFalse(obs: Observable<boolean>, opts?: FirstOptions): Observable<boolean>;
|
|
15
|
+
export declare function firstNotNil<T = any>(obs: Observable<T>, opts?: FirstOptions): Observable<T>;
|
|
16
|
+
export declare function firstTrue(obs: Observable<boolean>, opts?: FirstOptions): Observable<void>;
|
|
17
|
+
export declare function firstFalse(obs: Observable<boolean>, opts?: FirstOptions): Observable<void>;
|
|
18
|
+
export declare function firstTruePromise(obs: Observable<boolean>, opts?: FirstOptions): Promise<void>;
|
|
19
|
+
export declare function firstFalsePromise(obs: Observable<boolean>, opts?: FirstOptions): Promise<void>;
|
|
20
|
+
export declare function firstNotNilPromise<T = any>(obs: Observable<T>, opts?: FirstOptions): Promise<T>;
|
|
21
|
+
export declare function chainPromises<T = any>(defers: (() => Promise<any>)[]): Promise<T[]>;
|
|
16
22
|
/**
|
|
17
23
|
* Wait form a predicate return true. This need to implement AppFormUtils.waitWhilePending(), AppFormUtils.waitIdle()
|
|
18
24
|
* @param predicate
|
|
19
25
|
* @param opts
|
|
20
26
|
*/
|
|
21
27
|
export declare function waitFor(predicate: Predicate<void>, opts?: WaitForOptions): Promise<void>;
|
|
28
|
+
export declare function waitForTrue(observable: Observable<boolean>, opts?: WaitForOptions): Promise<void>;
|
|
29
|
+
export declare function waitForFalse(observable: Observable<boolean>, opts?: WaitForOptions): Promise<void>;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class NotEmptyArrayPipe implements PipeTransform {
|
|
3
4
|
transform(val: any[]): boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotEmptyArrayPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NotEmptyArrayPipe, "isNotEmptyArray", false>;
|
|
4
7
|
}
|
|
5
8
|
export declare class EmptyArrayPipe implements PipeTransform {
|
|
6
9
|
transform(val: any[]): boolean;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyArrayPipe, never>;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<EmptyArrayPipe, "isEmptyArray", false>;
|
|
7
12
|
}
|
|
8
13
|
export declare class ArrayLengthPipe implements PipeTransform {
|
|
9
14
|
transform(val: any[], args?: {
|
|
@@ -11,19 +16,39 @@ export declare class ArrayLengthPipe implements PipeTransform {
|
|
|
11
16
|
equals?: number;
|
|
12
17
|
lessThan?: number;
|
|
13
18
|
}): boolean;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayLengthPipe, never>;
|
|
20
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayLengthPipe, "isArrayLength", false>;
|
|
14
21
|
}
|
|
15
22
|
export declare class ArrayFirstPipe implements PipeTransform {
|
|
16
23
|
transform<T>(val: T[]): T | undefined;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayFirstPipe, never>;
|
|
25
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayFirstPipe, "arrayFirst", false>;
|
|
17
26
|
}
|
|
18
27
|
export declare class ArrayPluckPipe implements PipeTransform {
|
|
19
|
-
|
|
20
|
-
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param values
|
|
31
|
+
* @param opts property to get, or options
|
|
32
|
+
*/
|
|
33
|
+
transform<T>(values: T[], opts: string | string[] | {
|
|
34
|
+
property: string | string[];
|
|
21
35
|
omitNil?: boolean;
|
|
22
36
|
}): any[];
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayPluckPipe, never>;
|
|
38
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayPluckPipe, "arrayPluck", false>;
|
|
23
39
|
}
|
|
24
40
|
export declare class ArrayIncludesPipe implements PipeTransform {
|
|
25
41
|
transform<T>(val: T[], args: any): boolean;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayIncludesPipe, never>;
|
|
43
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayIncludesPipe, "arrayIncludes", false>;
|
|
26
44
|
}
|
|
27
45
|
export declare class ArrayFilterPipe implements PipeTransform {
|
|
28
46
|
transform<T>(val: T[], filterFn: (T: any) => boolean): T[];
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayFilterPipe, never>;
|
|
48
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayFilterPipe, "arrayFilter", false>;
|
|
49
|
+
}
|
|
50
|
+
export declare class ArrayJoinPipe implements PipeTransform {
|
|
51
|
+
transform<T>(val: T[], separator: string): string;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayJoinPipe, never>;
|
|
53
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayJoinPipe, "arrayJoin", false>;
|
|
29
54
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AppColors } from '../types';
|
|
3
|
+
import { ThemePalette } from '@angular/material/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MatColorPipe implements PipeTransform {
|
|
6
|
+
transform(color: AppColors): ThemePalette | undefined;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatColorPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MatColorPipe, "matColor", false>;
|
|
9
|
+
}
|
|
@@ -2,6 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import { Moment } from 'moment';
|
|
3
3
|
import { DateAdapter } from '@angular/material/core';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DateDiffDurationPipe implements PipeTransform {
|
|
6
7
|
private dateAdapter;
|
|
7
8
|
private translate;
|
|
@@ -10,6 +11,13 @@ export declare class DateDiffDurationPipe implements PipeTransform {
|
|
|
10
11
|
transform(value: {
|
|
11
12
|
startValue: string | Moment;
|
|
12
13
|
endValue: string | Moment;
|
|
13
|
-
}, args?:
|
|
14
|
-
|
|
14
|
+
}, args?: {
|
|
15
|
+
seconds?: boolean;
|
|
16
|
+
}): string | Promise<string>;
|
|
17
|
+
format(startDate: Moment, endDate: Moment, args: {
|
|
18
|
+
seconds?: boolean;
|
|
19
|
+
}): string;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateDiffDurationPipe, never>;
|
|
21
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateDiffDurationPipe, "dateDiffDuration", false>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateDiffDurationPipe>;
|
|
15
23
|
}
|
|
@@ -1,18 +1,34 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
1
|
+
import { OnDestroy, PipeTransform } from '@angular/core';
|
|
2
2
|
import { Moment } from 'moment';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class AbstractDateFormat {
|
|
7
|
+
protected dateAdapter: MomentDateAdapter;
|
|
8
|
+
protected translate: TranslateService;
|
|
9
|
+
private datePattern;
|
|
10
|
+
private dateTimePattern;
|
|
11
|
+
private dateTimeSecondsPattern;
|
|
12
|
+
protected constructor(dateAdapter: MomentDateAdapter, translate: TranslateService);
|
|
12
13
|
transform(value: string | Moment | Date, args?: {
|
|
13
14
|
pattern?: string;
|
|
14
15
|
time?: boolean;
|
|
15
16
|
seconds?: boolean;
|
|
16
17
|
}): string | Promise<string>;
|
|
17
|
-
|
|
18
|
+
protected _updateTranslations(translations: any): void;
|
|
19
|
+
protected _getTranslationValue(translations: any, key: string, defaultValue: string): string;
|
|
20
|
+
}
|
|
21
|
+
export declare class DateFormatPipe extends AbstractDateFormat implements PipeTransform {
|
|
22
|
+
constructor(dateAdapter: MomentDateAdapter, translate: TranslateService);
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatPipe, never>;
|
|
24
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatPipe, "dateFormat", false>;
|
|
25
|
+
}
|
|
26
|
+
export declare class DateFormatService extends AbstractDateFormat implements OnDestroy {
|
|
27
|
+
private _subscription;
|
|
28
|
+
constructor(dateAdapter: MomentDateAdapter, translate: TranslateService);
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
format(date: Moment, pattern: any): string;
|
|
31
|
+
parse(value: string, parseFormat: any): Moment;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatService, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateFormatService>;
|
|
18
34
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { Moment } from 'moment';
|
|
3
3
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DateFromNowPipe implements PipeTransform {
|
|
5
6
|
private dateAdapter;
|
|
6
7
|
constructor(dateAdapter: MomentDateAdapter);
|
|
7
8
|
transform(value: string | Moment, args?: any): string | Promise<string>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFromNowPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateFromNowPipe, "dateFromNow", false>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateFromNowPipe>;
|
|
8
12
|
}
|