@sumaris-net/ngx-components 18.23.63 → 21.0.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/doc/build.md +3 -5
- package/fesm2022/sumaris-net.ngx-components.mjs +2382 -2150
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +15 -15
- package/src/assets/environments/environment-test.json +2 -2
- package/src/assets/i18n/fr.json +6 -5
- package/src/assets/manifest.json +1 -1
- package/src/theme/_icons.scss +8 -12
- package/src/theme/_ionic.globals.scss +8 -1
- package/src/theme/_material.globals.scss +4 -1
- package/src/theme/_material.scss +16 -13
- package/src/theme/_mixins.scss +7 -1
- package/src/theme/_ngx-components.forms.scss +87 -84
- package/src/theme/_ngx-components.globals.scss +2 -0
- package/src/theme/_ngx-components.scss +19 -4
- package/src/theme/_ngx-components.table.scss +31 -26
- package/src/theme/_ngx-components.tabs.scss +16 -14
- package/src/theme/_responsive.scss +2 -0
- package/src/theme/_roboto.scss +3 -0
- package/src/theme/_theme.scss +11 -14
- package/src/theme/_theme.variables.scss +6 -1
- package/src/theme/ionic/ionic.functions.color.scss +13 -5
- package/src/theme/ionic/ionic.globals.scss +4 -4
- package/src/theme/ionic/ionic.theme.default.scss +2 -0
- package/types/sumaris-net.ngx-components.d.ts +14132 -0
- package/esm2022/public_api.mjs +0 -403
- package/esm2022/src/app/admin/admin-routing.module.mjs +0 -34
- package/esm2022/src/app/admin/admin.module.mjs +0 -32
- package/esm2022/src/app/admin/users/person.filter.mjs +0 -157
- package/esm2022/src/app/admin/users/person.service.mjs +0 -226
- package/esm2022/src/app/admin/users/person.validator.mjs +0 -78
- package/esm2022/src/app/admin/users/users-select.modal.mjs +0 -167
- package/esm2022/src/app/admin/users/users.mjs +0 -502
- package/esm2022/src/app/admin/users/users.module.mjs +0 -59
- package/esm2022/src/app/admin/users/users.utils.mjs +0 -29
- package/esm2022/src/app/core/about/about.modal.mjs +0 -119
- package/esm2022/src/app/core/about/about.module.mjs +0 -22
- package/esm2022/src/app/core/account/account.module.mjs +0 -75
- package/esm2022/src/app/core/account/account.page.mjs +0 -426
- package/esm2022/src/app/core/account/new-token.form.mjs +0 -109
- package/esm2022/src/app/core/account/new-token.modal.mjs +0 -66
- package/esm2022/src/app/core/account/password/change-password.form.mjs +0 -63
- package/esm2022/src/app/core/account/password/change-password.module.mjs +0 -22
- package/esm2022/src/app/core/account/password/change-password.page.mjs +0 -150
- package/esm2022/src/app/core/account/token.table.mjs +0 -160
- package/esm2022/src/app/core/auth/auth.form.mjs +0 -159
- package/esm2022/src/app/core/auth/auth.modal.mjs +0 -76
- package/esm2022/src/app/core/auth/auth.module.mjs +0 -56
- package/esm2022/src/app/core/auth/reset-password.modal.mjs +0 -89
- package/esm2022/src/app/core/core.module.mjs +0 -157
- package/esm2022/src/app/core/core.testing.module.mjs +0 -128
- package/esm2022/src/app/core/form/array/form-array.mjs +0 -328
- package/esm2022/src/app/core/form/array/testing/form-array-test.module.mjs +0 -23
- package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +0 -97
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +0 -111
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +0 -31
- package/esm2022/src/app/core/form/entity/editor.class.mjs +0 -268
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +0 -420
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +0 -748
- package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +0 -25
- package/esm2022/src/app/core/form/entity/entity.module.mjs +0 -33
- package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +0 -190
- package/esm2022/src/app/core/form/form-container.class.mjs +0 -347
- package/esm2022/src/app/core/form/form.class.mjs +0 -342
- package/esm2022/src/app/core/form/form.module.mjs +0 -77
- package/esm2022/src/app/core/form/form.utils.mjs +0 -238
- package/esm2022/src/app/core/form/list/list.form.mjs +0 -243
- package/esm2022/src/app/core/form/list/list.module.mjs +0 -31
- package/esm2022/src/app/core/form/properties/properties-file.service.mjs +0 -133
- package/esm2022/src/app/core/form/properties/properties.form.mjs +0 -397
- package/esm2022/src/app/core/form/properties/properties.module.mjs +0 -85
- package/esm2022/src/app/core/form/properties/properties.table.mjs +0 -267
- package/esm2022/src/app/core/form/properties/properties.utils.mjs +0 -304
- package/esm2022/src/app/core/form/properties/property.validator.mjs +0 -70
- package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +0 -103
- package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +0 -23
- package/esm2022/src/app/core/form/text/testing/text-form.testing.mjs +0 -42
- package/esm2022/src/app/core/form/text/testing/text-form.testing.module.mjs +0 -25
- package/esm2022/src/app/core/form/text/text-form.component.mjs +0 -205
- package/esm2022/src/app/core/form/text/text-form.module.mjs +0 -31
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +0 -73
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +0 -22
- package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +0 -164
- package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +0 -32
- package/esm2022/src/app/core/form/username/username.form.mjs +0 -55
- package/esm2022/src/app/core/form/username/username.module.mjs +0 -20
- package/esm2022/src/app/core/graphql/graphql.module.mjs +0 -14
- package/esm2022/src/app/core/graphql/graphql.service.mjs +0 -781
- package/esm2022/src/app/core/graphql/graphql.utils.mjs +0 -119
- package/esm2022/src/app/core/home/home.mjs +0 -472
- package/esm2022/src/app/core/home/home.module.mjs +0 -54
- package/esm2022/src/app/core/icon/icon.component.mjs +0 -40
- package/esm2022/src/app/core/icon/icon.module.mjs +0 -20
- package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +0 -394
- package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +0 -31
- package/esm2022/src/app/core/menu/menu.component.mjs +0 -273
- package/esm2022/src/app/core/menu/menu.model.mjs +0 -328
- package/esm2022/src/app/core/menu/menu.module.mjs +0 -47
- package/esm2022/src/app/core/menu/menu.service.mjs +0 -666
- package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +0 -113
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +0 -51
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +0 -165
- package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +0 -60
- package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +0 -28
- package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +0 -31
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +0 -350
- package/esm2022/src/app/core/peer/select-peer.module.mjs +0 -36
- package/esm2022/src/app/core/register/register-confirm.page.mjs +0 -90
- package/esm2022/src/app/core/register/register.form.mjs +0 -197
- package/esm2022/src/app/core/register/register.modal.mjs +0 -55
- package/esm2022/src/app/core/register/register.module.mjs +0 -23
- package/esm2022/src/app/core/services/account.service.mjs +0 -1403
- package/esm2022/src/app/core/services/auth-guard.service.mjs +0 -74
- package/esm2022/src/app/core/services/base-entity-service.class.mjs +0 -499
- package/esm2022/src/app/core/services/base-graphql-service.class.mjs +0 -224
- package/esm2022/src/app/core/services/base58.mjs +0 -83
- package/esm2022/src/app/core/services/config/core.config.mjs +0 -293
- package/esm2022/src/app/core/services/config.service.mjs +0 -384
- package/esm2022/src/app/core/services/crypto.service.mjs +0 -107
- package/esm2022/src/app/core/services/errors.mjs +0 -54
- package/esm2022/src/app/core/services/local-settings.service.mjs +0 -540
- package/esm2022/src/app/core/services/model/account.model.mjs +0 -192
- package/esm2022/src/app/core/services/model/config.model.mjs +0 -111
- package/esm2022/src/app/core/services/model/department.model.mjs +0 -35
- package/esm2022/src/app/core/services/model/entity.decorators.mjs +0 -97
- package/esm2022/src/app/core/services/model/entity.model.mjs +0 -347
- package/esm2022/src/app/core/services/model/filter.model.mjs +0 -169
- package/esm2022/src/app/core/services/model/history.model.mjs +0 -2
- package/esm2022/src/app/core/services/model/model.enum.mjs +0 -11
- package/esm2022/src/app/core/services/model/node-feature.model.mjs +0 -31
- package/esm2022/src/app/core/services/model/peer.model.mjs +0 -114
- package/esm2022/src/app/core/services/model/person.model.mjs +0 -118
- package/esm2022/src/app/core/services/model/referential.model.mjs +0 -207
- package/esm2022/src/app/core/services/model/settings.model.mjs +0 -6
- package/esm2022/src/app/core/services/model/token.model.mjs +0 -57
- package/esm2022/src/app/core/services/model/tree-item-entity.model.mjs +0 -234
- package/esm2022/src/app/core/services/network.service.mjs +0 -759
- package/esm2022/src/app/core/services/network.types.mjs +0 -2
- package/esm2022/src/app/core/services/network.utils.mjs +0 -35
- package/esm2022/src/app/core/services/pipes/account.pipes.mjs +0 -38
- package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +0 -23
- package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +0 -23
- package/esm2022/src/app/core/services/pipes/pipes.module.mjs +0 -58
- package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +0 -36
- package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +0 -37
- package/esm2022/src/app/core/services/platform.service.mjs +0 -780
- package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +0 -427
- package/esm2022/src/app/core/services/storage/entity-store.class.mjs +0 -450
- package/esm2022/src/app/core/services/testing/referential-filter.model.mjs +0 -25
- package/esm2022/src/app/core/services/testing/referential.validator.mjs +0 -46
- package/esm2022/src/app/core/services/validator/account.validator.mjs +0 -46
- package/esm2022/src/app/core/services/validator/base.validator.class.mjs +0 -49
- package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +0 -57
- package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +0 -27
- package/esm2022/src/app/core/services/validator/user-token.validator.mjs +0 -55
- package/esm2022/src/app/core/settings/settings.module.mjs +0 -23
- package/esm2022/src/app/core/settings/settings.page.mjs +0 -406
- package/esm2022/src/app/core/table/async-table.class.mjs +0 -1882
- package/esm2022/src/app/core/table/column/actions-column.component.mjs +0 -137
- package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +0 -120
- package/esm2022/src/app/core/table/column/row-field.component.mjs +0 -116
- package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +0 -415
- package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +0 -407
- package/esm2022/src/app/core/table/memory-table.class.mjs +0 -57
- package/esm2022/src/app/core/table/table-select-columns.component.mjs +0 -46
- package/esm2022/src/app/core/table/table.class.mjs +0 -1918
- package/esm2022/src/app/core/table/table.model.mjs +0 -21
- package/esm2022/src/app/core/table/table.module.mjs +0 -51
- package/esm2022/src/app/core/table/table.pipes.mjs +0 -76
- package/esm2022/src/app/core/table/table.utils.mjs +0 -34
- package/esm2022/src/app/core/table/testing/nested-table.testing.mjs +0 -326
- package/esm2022/src/app/core/table/testing/table-validator.service.mjs +0 -32
- package/esm2022/src/app/core/table/testing/table.testing.mjs +0 -342
- package/esm2022/src/app/core/table/testing/table.testing.module.mjs +0 -47
- package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +0 -25
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +0 -322
- package/esm2022/src/app/shared/alerts.mjs +0 -243
- package/esm2022/src/app/shared/audio/audio.mjs +0 -255
- package/esm2022/src/app/shared/audio/audio.testing.mjs +0 -32
- package/esm2022/src/app/shared/audio/audio.testing.module.mjs +0 -30
- package/esm2022/src/app/shared/base64.utils.mjs +0 -59
- package/esm2022/src/app/shared/capacitor/keyboard.mjs +0 -42
- package/esm2022/src/app/shared/capacitor/plugins.mjs +0 -10
- package/esm2022/src/app/shared/constants.mjs +0 -18
- package/esm2022/src/app/shared/dates.mjs +0 -212
- package/esm2022/src/app/shared/debug/debug-service.class.mjs +0 -3
- package/esm2022/src/app/shared/debug/debug.component.mjs +0 -44
- package/esm2022/src/app/shared/debug/debug.module.mjs +0 -23
- package/esm2022/src/app/shared/directives/autofocus.directive.mjs +0 -91
- package/esm2022/src/app/shared/directives/autoresize.directive.mjs +0 -75
- package/esm2022/src/app/shared/directives/autotitle.directive.mjs +0 -30
- package/esm2022/src/app/shared/directives/autotooltip.directive.mjs +0 -35
- package/esm2022/src/app/shared/directives/cell-selection/cell-identifier.directive.mjs +0 -55
- package/esm2022/src/app/shared/directives/cell-selection/cell-selection.directive.mjs +0 -206
- package/esm2022/src/app/shared/directives/cell-selection/cell-selection.service.mjs +0 -204
- package/esm2022/src/app/shared/directives/directives.module.mjs +0 -53
- package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +0 -52
- package/esm2022/src/app/shared/directives/ng-var.directive.mjs +0 -33
- package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +0 -62
- package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +0 -96
- package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +0 -17
- package/esm2022/src/app/shared/directives/throttled-click.directive.mjs +0 -43
- package/esm2022/src/app/shared/events.mjs +0 -64
- package/esm2022/src/app/shared/file/csv.utils.mjs +0 -97
- package/esm2022/src/app/shared/file/file.service.mjs +0 -118
- package/esm2022/src/app/shared/file/file.utils.mjs +0 -117
- package/esm2022/src/app/shared/file/images.utils.mjs +0 -186
- package/esm2022/src/app/shared/file/json.utils.mjs +0 -58
- package/esm2022/src/app/shared/file/uri.utils.mjs +0 -29
- package/esm2022/src/app/shared/file/url.utils.mjs +0 -213
- package/esm2022/src/app/shared/focusable.mjs +0 -6
- package/esm2022/src/app/shared/form/field.component.mjs +0 -388
- package/esm2022/src/app/shared/form/field.model.mjs +0 -100
- package/esm2022/src/app/shared/form/loading-spinner.mjs +0 -35
- package/esm2022/src/app/shared/forms.mjs +0 -593
- package/esm2022/src/app/shared/functions.mjs +0 -825
- package/esm2022/src/app/shared/geolocation/geolocation.utils.mjs +0 -94
- package/esm2022/src/app/shared/gesture/gesture-config.mjs +0 -46
- package/esm2022/src/app/shared/gesture/hammer.utils.mjs +0 -2
- package/esm2022/src/app/shared/graph/colors.utils.mjs +0 -85
- package/esm2022/src/app/shared/graph/graph-colors.mjs +0 -214
- package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +0 -68
- package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +0 -23
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +0 -147
- package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +0 -24
- package/esm2022/src/app/shared/html.utils.mjs +0 -35
- package/esm2022/src/app/shared/http/http.utils.mjs +0 -56
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +0 -452
- package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +0 -62
- package/esm2022/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +0 -26
- package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +0 -92
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +0 -37
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +0 -59
- package/esm2022/src/app/shared/image/image.model.mjs +0 -2
- package/esm2022/src/app/shared/image/image.module.mjs +0 -24
- package/esm2022/src/app/shared/image/image.service.mjs +0 -117
- package/esm2022/src/app/shared/inputs.mjs +0 -281
- package/esm2022/src/app/shared/interceptors/progess.interceptor.mjs +0 -27
- package/esm2022/src/app/shared/logging/log-level.model.mjs +0 -48
- package/esm2022/src/app/shared/logging/logger.model.mjs +0 -47
- package/esm2022/src/app/shared/logging/logging-service.class.mjs +0 -125
- package/esm2022/src/app/shared/logging/logging-service.config.mjs +0 -2
- package/esm2022/src/app/shared/logging/logging-service.module.mjs +0 -30
- package/esm2022/src/app/shared/markdown/markdown.component.mjs +0 -321
- package/esm2022/src/app/shared/markdown/markdown.directive.mjs +0 -34
- package/esm2022/src/app/shared/markdown/markdown.modal.mjs +0 -99
- package/esm2022/src/app/shared/markdown/markdown.module.mjs +0 -87
- package/esm2022/src/app/shared/markdown/markdown.service.mjs +0 -204
- package/esm2022/src/app/shared/markdown/markdown.utils.mjs +0 -87
- package/esm2022/src/app/shared/markdown/testing/markdown.test.mjs +0 -55
- package/esm2022/src/app/shared/markdown/testing/markdown.testing.module.mjs +0 -30
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +0 -46
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +0 -1356
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +0 -81
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +0 -18
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +0 -242
- package/esm2022/src/app/shared/material/badge/badge.directive.mjs +0 -251
- package/esm2022/src/app/shared/material/badge/badge.module.mjs +0 -20
- package/esm2022/src/app/shared/material/badge/badge.test.mjs +0 -42
- package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +0 -70
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +0 -374
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +0 -83
- package/esm2022/src/app/shared/material/chips/chips.module.mjs +0 -74
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +0 -843
- package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +0 -151
- package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +0 -79
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +0 -473
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +0 -457
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +0 -850
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +0 -140
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +0 -127
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +0 -118
- package/esm2022/src/app/shared/material/duration/duration.module.mjs +0 -61
- package/esm2022/src/app/shared/material/duration/duration.utils.mjs +0 -16
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +0 -283
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +0 -85
- package/esm2022/src/app/shared/material/latlong/latlong.utils.mjs +0 -319
- package/esm2022/src/app/shared/material/latlong/material.latlong-input.mjs +0 -471
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +0 -231
- package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +0 -68
- package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +0 -138
- package/esm2022/src/app/shared/material/material.animations.mjs +0 -200
- package/esm2022/src/app/shared/material/material.config.mjs +0 -3
- package/esm2022/src/app/shared/material/material.module.mjs +0 -224
- package/esm2022/src/app/shared/material/material.testing.module.mjs +0 -234
- package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +0 -51
- package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +0 -23
- package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +0 -379
- package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +0 -52
- package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +0 -67
- package/esm2022/src/app/shared/material/test/test-component.mjs +0 -264
- package/esm2022/src/app/shared/material/testing/common.test.mjs +0 -111
- package/esm2022/src/app/shared/modules.mjs +0 -12
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +0 -306
- package/esm2022/src/app/shared/named-filter/named-filter.model.mjs +0 -49
- package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +0 -24
- package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +0 -69
- package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +0 -74
- package/esm2022/src/app/shared/named-filter/testing/named-filter.testing.module.mjs +0 -28
- package/esm2022/src/app/shared/observables.mjs +0 -104
- package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +0 -251
- package/esm2022/src/app/shared/pipes/badge.pipes.mjs +0 -25
- package/esm2022/src/app/shared/pipes/colors.pipe.mjs +0 -29
- package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +0 -50
- package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +0 -72
- package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +0 -28
- package/esm2022/src/app/shared/pipes/date-from.pipe.mjs +0 -29
- package/esm2022/src/app/shared/pipes/dates.pipe.mjs +0 -18
- package/esm2022/src/app/shared/pipes/display-with.pipe.mjs +0 -23
- package/esm2022/src/app/shared/pipes/duration.pipe.mjs +0 -34
- package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +0 -53
- package/esm2022/src/app/shared/pipes/form.pipes.mjs +0 -219
- package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +0 -50
- package/esm2022/src/app/shared/pipes/html.pipes.mjs +0 -102
- package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +0 -42
- package/esm2022/src/app/shared/pipes/maps.pipe.mjs +0 -65
- package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +0 -67
- package/esm2022/src/app/shared/pipes/math.pipes.mjs +0 -77
- package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +0 -19
- package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +0 -17
- package/esm2022/src/app/shared/pipes/observable.pipes.mjs +0 -63
- package/esm2022/src/app/shared/pipes/pipes.module.mjs +0 -304
- package/esm2022/src/app/shared/pipes/property.pipes.mjs +0 -148
- package/esm2022/src/app/shared/pipes/selection.pipes.mjs +0 -177
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +0 -183
- package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +0 -44
- package/esm2022/src/app/shared/pipes/types.pipes.mjs +0 -74
- package/esm2022/src/app/shared/pipes/url.pipes.mjs +0 -35
- package/esm2022/src/app/shared/platforms.mjs +0 -81
- package/esm2022/src/app/shared/print/print.service.mjs +0 -305
- package/esm2022/src/app/shared/regexps.mjs +0 -103
- package/esm2022/src/app/shared/rx-state/rx-state.decorators.mjs +0 -193
- package/esm2022/src/app/shared/rx-state/rx-state.module.mjs +0 -19
- package/esm2022/src/app/shared/rx-state/rx-state.types.mjs +0 -2
- package/esm2022/src/app/shared/services/entity-service.class.mjs +0 -44
- package/esm2022/src/app/shared/services/job.utils.mjs +0 -92
- package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +0 -362
- package/esm2022/src/app/shared/services/progress-bar.service.mjs +0 -31
- package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +0 -144
- package/esm2022/src/app/shared/services/startable-service.class.mjs +0 -118
- package/esm2022/src/app/shared/services/translate-context.service.mjs +0 -107
- package/esm2022/src/app/shared/services/validator-service.class.mjs +0 -2
- package/esm2022/src/app/shared/services.mjs +0 -85
- package/esm2022/src/app/shared/shared-routing.module.mjs +0 -72
- package/esm2022/src/app/shared/shared.module.mjs +0 -229
- package/esm2022/src/app/shared/shared.testing.module.mjs +0 -108
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +0 -281
- package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +0 -42
- package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +0 -27
- package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +0 -25
- package/esm2022/src/app/shared/storage/storage.service.mjs +0 -134
- package/esm2022/src/app/shared/storage/storage.utils.mjs +0 -13
- package/esm2022/src/app/shared/testing/maskito.test.mjs +0 -41
- package/esm2022/src/app/shared/testing/observable.test.mjs +0 -94
- package/esm2022/src/app/shared/testing/tests.page.mjs +0 -37
- package/esm2022/src/app/shared/toast/toast.testing.mjs +0 -54
- package/esm2022/src/app/shared/toast/toast.testing.module.mjs +0 -31
- package/esm2022/src/app/shared/toast/toasts.mjs +0 -134
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +0 -62
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +0 -272
- package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +0 -26
- package/esm2022/src/app/shared/types.mjs +0 -2
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +0 -59
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +0 -30
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +0 -108
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +0 -216
- package/esm2022/src/app/shared/upload-file/upload-file.model.mjs +0 -26
- package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +0 -122
- package/esm2022/src/app/shared/validator/validators.mjs +0 -658
- package/esm2022/src/app/shared/version/versions.mjs +0 -81
- package/esm2022/src/app/social/config/social.config.mjs +0 -9
- package/esm2022/src/app/social/feed/feed.component.mjs +0 -317
- package/esm2022/src/app/social/feed/feed.directive.mjs +0 -151
- package/esm2022/src/app/social/feed/feed.model.mjs +0 -60
- package/esm2022/src/app/social/feed/feed.module.mjs +0 -24
- package/esm2022/src/app/social/feed/feed.page.mjs +0 -67
- package/esm2022/src/app/social/feed/feed.service.mjs +0 -222
- package/esm2022/src/app/social/feed/testing/feed.testing.mjs +0 -66
- package/esm2022/src/app/social/feed/testing/feed.testing.module.mjs +0 -23
- package/esm2022/src/app/social/job/job.module.mjs +0 -23
- package/esm2022/src/app/social/job/progression/job-progression.component.mjs +0 -38
- package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +0 -241
- package/esm2022/src/app/social/job/progression/job-progression.list.mjs +0 -50
- package/esm2022/src/app/social/job/progression/job-progression.model.mjs +0 -29
- package/esm2022/src/app/social/job/progression/job-progression.service.mjs +0 -91
- package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +0 -38
- package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +0 -34
- package/esm2022/src/app/social/job/testing/job.testing.module.mjs +0 -22
- package/esm2022/src/app/social/message/message.form.mjs +0 -149
- package/esm2022/src/app/social/message/message.modal.mjs +0 -116
- package/esm2022/src/app/social/message/message.model.mjs +0 -86
- package/esm2022/src/app/social/message/message.module.mjs +0 -25
- package/esm2022/src/app/social/message/message.service.mjs +0 -198
- package/esm2022/src/app/social/social.errors.mjs +0 -11
- package/esm2022/src/app/social/social.module.mjs +0 -22
- package/esm2022/src/app/social/social.testing.module.mjs +0 -72
- package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +0 -191
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +0 -280
- package/esm2022/src/app/social/user-event/notification/user-event-notification.modal.mjs +0 -84
- package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +0 -273
- package/esm2022/src/app/social/user-event/testing/user-event.testing.model.mjs +0 -129
- package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +0 -22
- package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +0 -128
- package/esm2022/src/app/social/user-event/user-event.model.mjs +0 -2
- package/esm2022/src/app/social/user-event/user-event.module.mjs +0 -24
- package/esm2022/src/app/social/user-event/user-event.service.mjs +0 -512
- package/esm2022/src/environments/environment.class.mjs +0 -69
- package/esm2022/src/environments/environment.loader.mjs +0 -77
- package/esm2022/src/environments/environment.mjs +0 -133
- package/esm2022/sumaris-net.ngx-components.mjs +0 -5
- package/index.d.ts +0 -5
- package/public_api.d.ts +0 -364
- package/src/app/admin/admin-routing.module.d.ts +0 -9
- package/src/app/admin/admin.module.d.ts +0 -10
- package/src/app/admin/users/person.filter.d.ts +0 -37
- package/src/app/admin/users/person.service.d.ts +0 -61
- package/src/app/admin/users/person.validator.d.ts +0 -23
- package/src/app/admin/users/users-select.modal.d.ts +0 -73
- package/src/app/admin/users/users.d.ts +0 -89
- package/src/app/admin/users/users.module.d.ts +0 -15
- package/src/app/admin/users/users.utils.d.ts +0 -6
- package/src/app/core/about/about.modal.d.ts +0 -44
- package/src/app/core/about/about.module.d.ts +0 -11
- package/src/app/core/account/account.module.d.ts +0 -18
- package/src/app/core/account/account.page.d.ts +0 -93
- package/src/app/core/account/new-token.form.d.ts +0 -30
- package/src/app/core/account/new-token.modal.d.ts +0 -29
- package/src/app/core/account/password/change-password.form.d.ts +0 -19
- package/src/app/core/account/password/change-password.module.d.ts +0 -11
- package/src/app/core/account/password/change-password.page.d.ts +0 -36
- package/src/app/core/account/token.table.d.ts +0 -28
- package/src/app/core/auth/auth.form.d.ts +0 -38
- package/src/app/core/auth/auth.modal.d.ts +0 -24
- package/src/app/core/auth/auth.module.d.ts +0 -13
- package/src/app/core/auth/reset-password.modal.d.ts +0 -29
- package/src/app/core/core.module.d.ts +0 -28
- package/src/app/core/core.testing.module.d.ts +0 -16
- package/src/app/core/form/array/form-array.d.ts +0 -147
- package/src/app/core/form/array/testing/form-array-test.module.d.ts +0 -12
- package/src/app/core/form/array/testing/form-array.test.d.ts +0 -27
- package/src/app/core/form/buttons/form-buttons-bar.component.d.ts +0 -38
- package/src/app/core/form/buttons/form-buttons-bar.module.d.ts +0 -9
- package/src/app/core/form/entity/editor.class.d.ts +0 -85
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +0 -126
- package/src/app/core/form/entity/entity-editor.class.d.ts +0 -211
- package/src/app/core/form/entity/entity-metadata.component.d.ts +0 -13
- package/src/app/core/form/entity/entity.module.d.ts +0 -11
- package/src/app/core/form/entity/tab-editor.class.d.ts +0 -66
- package/src/app/core/form/form-container.class.d.ts +0 -131
- package/src/app/core/form/form.class.d.ts +0 -148
- package/src/app/core/form/form.module.d.ts +0 -15
- package/src/app/core/form/form.utils.d.ts +0 -301
- package/src/app/core/form/list/list.form.d.ts +0 -83
- package/src/app/core/form/list/list.module.d.ts +0 -9
- package/src/app/core/form/properties/properties-file.service.d.ts +0 -26
- package/src/app/core/form/properties/properties.form.d.ts +0 -109
- package/src/app/core/form/properties/properties.module.d.ts +0 -18
- package/src/app/core/form/properties/properties.table.d.ts +0 -73
- package/src/app/core/form/properties/properties.utils.d.ts +0 -59
- package/src/app/core/form/properties/property.validator.d.ts +0 -27
- package/src/app/core/form/properties/testing/properties-form.test.d.ts +0 -22
- package/src/app/core/form/properties/testing/properties-form.testing.module.d.ts +0 -12
- package/src/app/core/form/text/testing/text-form.testing.d.ts +0 -19
- package/src/app/core/form/text/testing/text-form.testing.module.d.ts +0 -14
- package/src/app/core/form/text/text-form.component.d.ts +0 -66
- package/src/app/core/form/text/text-form.module.d.ts +0 -9
- package/src/app/core/form/text-popover/testing/text-popover.testing.d.ts +0 -16
- package/src/app/core/form/text-popover/testing/text-popover.testing.module.d.ts +0 -11
- package/src/app/core/form/text-popover/text-popover.component.d.ts +0 -81
- package/src/app/core/form/text-popover/text-popover.module.d.ts +0 -10
- package/src/app/core/form/username/username.form.d.ts +0 -19
- package/src/app/core/form/username/username.module.d.ts +0 -9
- package/src/app/core/graphql/graphql.module.d.ts +0 -7
- package/src/app/core/graphql/graphql.service.d.ts +0 -138
- package/src/app/core/graphql/graphql.utils.d.ts +0 -47
- package/src/app/core/home/home.d.ts +0 -135
- package/src/app/core/home/home.module.d.ts +0 -16
- package/src/app/core/icon/icon.component.d.ts +0 -13
- package/src/app/core/icon/icon.module.d.ts +0 -9
- package/src/app/core/install/install-upgrade-card.component.d.ts +0 -63
- package/src/app/core/install/install-upgrade-card.module.d.ts +0 -9
- package/src/app/core/menu/menu.component.d.ts +0 -69
- package/src/app/core/menu/menu.model.d.ts +0 -163
- package/src/app/core/menu/menu.module.d.ts +0 -12
- package/src/app/core/menu/menu.service.d.ts +0 -93
- package/src/app/core/menu/sub-menu-tab.directive.d.ts +0 -29
- package/src/app/core/menu/testing/menu-other.testing.d.ts +0 -15
- package/src/app/core/menu/testing/menu.testing.d.ts +0 -53
- package/src/app/core/menu/testing/menu.testing.module.d.ts +0 -12
- package/src/app/core/offline/update-offline-mode-card.component.d.ts +0 -11
- package/src/app/core/offline/update-offline-mode-card.module.d.ts +0 -9
- package/src/app/core/peer/select-peer.modal.d.ts +0 -108
- package/src/app/core/peer/select-peer.module.d.ts +0 -12
- package/src/app/core/register/register-confirm.page.d.ts +0 -24
- package/src/app/core/register/register.form.d.ts +0 -49
- package/src/app/core/register/register.modal.d.ts +0 -14
- package/src/app/core/register/register.module.d.ts +0 -12
- package/src/app/core/services/account.service.d.ts +0 -236
- package/src/app/core/services/auth-guard.service.d.ts +0 -17
- package/src/app/core/services/base-entity-service.class.d.ts +0 -134
- package/src/app/core/services/base-graphql-service.class.d.ts +0 -77
- package/src/app/core/services/base58.d.ts +0 -7
- package/src/app/core/services/config/core.config.d.ts +0 -52
- package/src/app/core/services/config.service.d.ts +0 -63
- package/src/app/core/services/crypto.service.d.ts +0 -44
- package/src/app/core/services/errors.d.ts +0 -65
- package/src/app/core/services/local-settings.service.d.ts +0 -130
- package/src/app/core/services/model/account.model.d.ts +0 -66
- package/src/app/core/services/model/config.model.d.ts +0 -37
- package/src/app/core/services/model/department.model.d.ts +0 -11
- package/src/app/core/services/model/entity.decorators.d.ts +0 -17
- package/src/app/core/services/model/entity.model.d.ts +0 -133
- package/src/app/core/services/model/filter.model.d.ts +0 -37
- package/src/app/core/services/model/history.model.d.ts +0 -20
- package/src/app/core/services/model/model.enum.d.ts +0 -7
- package/src/app/core/services/model/node-feature.model.d.ts +0 -14
- package/src/app/core/services/model/peer.model.d.ts +0 -35
- package/src/app/core/services/model/person.model.d.ts +0 -39
- package/src/app/core/services/model/referential.model.d.ts +0 -85
- package/src/app/core/services/model/settings.model.d.ts +0 -29
- package/src/app/core/services/model/token.model.d.ts +0 -22
- package/src/app/core/services/model/tree-item-entity.model.d.ts +0 -62
- package/src/app/core/services/network.service.d.ts +0 -184
- package/src/app/core/services/network.types.d.ts +0 -4
- package/src/app/core/services/network.utils.d.ts +0 -39
- package/src/app/core/services/pipes/account.pipes.d.ts +0 -15
- package/src/app/core/services/pipes/department-to-string.pipe.d.ts +0 -9
- package/src/app/core/services/pipes/person-to-string.pipe.d.ts +0 -11
- package/src/app/core/services/pipes/pipes.module.d.ts +0 -11
- package/src/app/core/services/pipes/referential-to-string.pipe.d.ts +0 -23
- package/src/app/core/services/pipes/usage-mode.pipes.d.ts +0 -15
- package/src/app/core/services/platform.service.d.ts +0 -126
- package/src/app/core/services/storage/entities-storage.service.d.ts +0 -108
- package/src/app/core/services/storage/entity-store.class.d.ts +0 -113
- package/src/app/core/services/testing/referential-filter.model.d.ts +0 -9
- package/src/app/core/services/testing/referential.validator.d.ts +0 -22
- package/src/app/core/services/validator/account.validator.d.ts +0 -24
- package/src/app/core/services/validator/base.validator.class.d.ts +0 -21
- package/src/app/core/services/validator/local-settings.validator.d.ts +0 -18
- package/src/app/core/services/validator/user-settings.validator.d.ts +0 -10
- package/src/app/core/services/validator/user-token.validator.d.ts +0 -13
- package/src/app/core/settings/settings.module.d.ts +0 -12
- package/src/app/core/settings/settings.page.d.ts +0 -89
- package/src/app/core/table/async-table.class.d.ts +0 -443
- package/src/app/core/table/column/actions-column.component.d.ts +0 -65
- package/src/app/core/table/column/nav-actions-column.component.d.ts +0 -47
- package/src/app/core/table/column/row-field.component.d.ts +0 -41
- package/src/app/core/table/entities-async-table-datasource.class.d.ts +0 -103
- package/src/app/core/table/entities-table-datasource.class.d.ts +0 -102
- package/src/app/core/table/memory-table.class.d.ts +0 -25
- package/src/app/core/table/table-select-columns.component.d.ts +0 -22
- package/src/app/core/table/table.class.d.ts +0 -427
- package/src/app/core/table/table.model.d.ts +0 -31
- package/src/app/core/table/table.module.d.ts +0 -14
- package/src/app/core/table/table.pipes.d.ts +0 -30
- package/src/app/core/table/table.utils.d.ts +0 -13
- package/src/app/core/table/testing/nested-table.testing.d.ts +0 -54
- package/src/app/core/table/testing/table-validator.service.d.ts +0 -17
- package/src/app/core/table/testing/table.testing.d.ts +0 -55
- package/src/app/core/table/testing/table.testing.module.d.ts +0 -17
- package/src/app/core/table/testing/table2-validator.service.d.ts +0 -15
- package/src/app/core/table/testing/table2.testing.d.ts +0 -53
- package/src/app/shared/alerts.d.ts +0 -55
- package/src/app/shared/audio/audio.d.ts +0 -45
- package/src/app/shared/audio/audio.testing.d.ts +0 -13
- package/src/app/shared/audio/audio.testing.module.d.ts +0 -11
- package/src/app/shared/base64.utils.d.ts +0 -7
- package/src/app/shared/capacitor/keyboard.d.ts +0 -16
- package/src/app/shared/capacitor/plugins.d.ts +0 -8
- package/src/app/shared/constants.d.ts +0 -15
- package/src/app/shared/dates.d.ts +0 -85
- package/src/app/shared/debug/debug-service.class.d.ts +0 -5
- package/src/app/shared/debug/debug.component.d.ts +0 -14
- package/src/app/shared/debug/debug.module.d.ts +0 -12
- package/src/app/shared/directives/autofocus.directive.d.ts +0 -18
- package/src/app/shared/directives/autoresize.directive.d.ts +0 -20
- package/src/app/shared/directives/autotitle.directive.d.ts +0 -11
- package/src/app/shared/directives/autotooltip.directive.d.ts +0 -14
- package/src/app/shared/directives/cell-selection/cell-identifier.directive.d.ts +0 -17
- package/src/app/shared/directives/cell-selection/cell-selection.directive.d.ts +0 -29
- package/src/app/shared/directives/cell-selection/cell-selection.service.d.ts +0 -67
- package/src/app/shared/directives/directives.module.d.ts +0 -15
- package/src/app/shared/directives/drag-and-drop.directive.d.ts +0 -17
- package/src/app/shared/directives/ng-var.directive.d.ts +0 -12
- package/src/app/shared/directives/resizable/resizable.component.d.ts +0 -21
- package/src/app/shared/directives/resizable/resizable.directive.d.ts +0 -24
- package/src/app/shared/directives/resizable/resizable.module.d.ts +0 -8
- package/src/app/shared/directives/throttled-click.directive.d.ts +0 -16
- package/src/app/shared/events.d.ts +0 -29
- package/src/app/shared/file/csv.utils.d.ts +0 -30
- package/src/app/shared/file/file.service.d.ts +0 -23
- package/src/app/shared/file/file.utils.d.ts +0 -20
- package/src/app/shared/file/images.utils.d.ts +0 -36
- package/src/app/shared/file/json.utils.d.ts +0 -19
- package/src/app/shared/file/uri.utils.d.ts +0 -8
- package/src/app/shared/file/url.utils.d.ts +0 -108
- package/src/app/shared/focusable.d.ts +0 -4
- package/src/app/shared/form/field.component.d.ts +0 -83
- package/src/app/shared/form/field.model.d.ts +0 -88
- package/src/app/shared/form/loading-spinner.d.ts +0 -8
- package/src/app/shared/forms.d.ts +0 -170
- package/src/app/shared/functions.d.ts +0 -296
- package/src/app/shared/geolocation/geolocation.utils.d.ts +0 -25
- package/src/app/shared/gesture/gesture-config.d.ts +0 -15
- package/src/app/shared/gesture/hammer.utils.d.ts +0 -16
- package/src/app/shared/graph/colors.utils.d.ts +0 -34
- package/src/app/shared/graph/graph-colors.d.ts +0 -63
- package/src/app/shared/guard/component-dirty.guard.d.ts +0 -14
- package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +0 -8
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +0 -48
- package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +0 -11
- package/src/app/shared/html.utils.d.ts +0 -17
- package/src/app/shared/http/http.utils.d.ts +0 -28
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +0 -139
- package/src/app/shared/image/gallery/image-gallery.module.d.ts +0 -15
- package/src/app/shared/image/gallery/testing/gallegry.model.testing.d.ts +0 -12
- package/src/app/shared/image/gallery/testing/gallery.service.testing.d.ts +0 -33
- package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +0 -16
- package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +0 -13
- package/src/app/shared/image/image.model.d.ts +0 -7
- package/src/app/shared/image/image.module.d.ts +0 -8
- package/src/app/shared/image/image.service.d.ts +0 -37
- package/src/app/shared/inputs.d.ts +0 -37
- package/src/app/shared/interceptors/progess.interceptor.d.ts +0 -8
- package/src/app/shared/logging/log-level.model.d.ts +0 -38
- package/src/app/shared/logging/logger.model.d.ts +0 -68
- package/src/app/shared/logging/logging-service.class.d.ts +0 -39
- package/src/app/shared/logging/logging-service.config.d.ts +0 -25
- package/src/app/shared/logging/logging-service.module.d.ts +0 -9
- package/src/app/shared/markdown/markdown.component.d.ts +0 -86
- package/src/app/shared/markdown/markdown.directive.d.ts +0 -13
- package/src/app/shared/markdown/markdown.modal.d.ts +0 -49
- package/src/app/shared/markdown/markdown.module.d.ts +0 -17
- package/src/app/shared/markdown/markdown.service.d.ts +0 -37
- package/src/app/shared/markdown/markdown.utils.d.ts +0 -26
- package/src/app/shared/markdown/testing/markdown.test.d.ts +0 -18
- package/src/app/shared/markdown/testing/markdown.testing.module.d.ts +0 -12
- package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +0 -74
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +0 -224
- package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +0 -23
- package/src/app/shared/material/autocomplete/material.autocomplete.utils.d.ts +0 -5
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +0 -48
- package/src/app/shared/material/badge/badge.directive.d.ts +0 -43
- package/src/app/shared/material/badge/badge.module.d.ts +0 -10
- package/src/app/shared/material/badge/badge.test.d.ts +0 -21
- package/src/app/shared/material/boolean/boolean.module.d.ts +0 -21
- package/src/app/shared/material/boolean/material.boolean.d.ts +0 -94
- package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +0 -31
- package/src/app/shared/material/chips/chips.module.d.ts +0 -22
- package/src/app/shared/material/chips/material.chips.d.ts +0 -167
- package/src/app/shared/material/chips/testing/chips.test.d.ts +0 -32
- package/src/app/shared/material/datetime/datetime.module.d.ts +0 -25
- package/src/app/shared/material/datetime/material.date.d.ts +0 -90
- package/src/app/shared/material/datetime/material.dateshort.d.ts +0 -89
- package/src/app/shared/material/datetime/material.datetime.d.ts +0 -136
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +0 -38
- package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +0 -32
- package/src/app/shared/material/datetime/testing/mat-dateshort.test.d.ts +0 -31
- package/src/app/shared/material/duration/duration.module.d.ts +0 -18
- package/src/app/shared/material/duration/duration.utils.d.ts +0 -2
- package/src/app/shared/material/duration/material.duration.d.ts +0 -64
- package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +0 -23
- package/src/app/shared/material/latlong/latlong.utils.d.ts +0 -59
- package/src/app/shared/material/latlong/material.latlong-input.d.ts +0 -93
- package/src/app/shared/material/latlong/material.latlong.d.ts +0 -90
- package/src/app/shared/material/latlong/material.latlong.module.d.ts +0 -21
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +0 -30
- package/src/app/shared/material/material.animations.d.ts +0 -8
- package/src/app/shared/material/material.config.d.ts +0 -3
- package/src/app/shared/material/material.module.d.ts +0 -44
- package/src/app/shared/material/material.testing.module.d.ts +0 -31
- package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +0 -12
- package/src/app/shared/material/stepper/material.stepper-i18n.d.ts +0 -10
- package/src/app/shared/material/swipe/material.swipe.d.ts +0 -89
- package/src/app/shared/material/swipe/swipe.module.d.ts +0 -16
- package/src/app/shared/material/swipe/testing/swipe.test.d.ts +0 -22
- package/src/app/shared/material/test/test-component.d.ts +0 -75
- package/src/app/shared/material/testing/common.test.d.ts +0 -25
- package/src/app/shared/modules.d.ts +0 -9
- package/src/app/shared/named-filter/named-filter-selector.component.d.ts +0 -63
- package/src/app/shared/named-filter/named-filter.model.d.ts +0 -32
- package/src/app/shared/named-filter/named-filter.module.d.ts +0 -13
- package/src/app/shared/named-filter/named-filter.service.d.ts +0 -32
- package/src/app/shared/named-filter/testing/named-filter-selector.testing.d.ts +0 -34
- package/src/app/shared/named-filter/testing/named-filter.testing.module.d.ts +0 -10
- package/src/app/shared/observables.d.ts +0 -32
- package/src/app/shared/pipes/arrays.pipe.d.ts +0 -93
- package/src/app/shared/pipes/badge.pipes.d.ts +0 -7
- package/src/app/shared/pipes/colors.pipe.d.ts +0 -9
- package/src/app/shared/pipes/date-diff-duration.pipe.d.ts +0 -25
- package/src/app/shared/pipes/date-format.pipe.d.ts +0 -35
- package/src/app/shared/pipes/date-from-now.pipe.d.ts +0 -14
- package/src/app/shared/pipes/date-from.pipe.d.ts +0 -14
- package/src/app/shared/pipes/dates.pipe.d.ts +0 -10
- package/src/app/shared/pipes/display-with.pipe.d.ts +0 -8
- package/src/app/shared/pipes/duration.pipe.d.ts +0 -23
- package/src/app/shared/pipes/file-size.pipe.d.ts +0 -30
- package/src/app/shared/pipes/form.pipes.d.ts +0 -69
- package/src/app/shared/pipes/highlight.pipe.d.ts +0 -11
- package/src/app/shared/pipes/html.pipes.d.ts +0 -50
- package/src/app/shared/pipes/latlong-format.pipe.d.ts +0 -20
- package/src/app/shared/pipes/maps.pipe.d.ts +0 -23
- package/src/app/shared/pipes/maskito.pipe.d.ts +0 -14
- package/src/app/shared/pipes/math.pipes.d.ts +0 -26
- package/src/app/shared/pipes/ng-init.pipe.d.ts +0 -8
- package/src/app/shared/pipes/number-format.pipe.d.ts +0 -9
- package/src/app/shared/pipes/observable.pipes.d.ts +0 -25
- package/src/app/shared/pipes/pipes.module.d.ts +0 -36
- package/src/app/shared/pipes/property.pipes.d.ts +0 -46
- package/src/app/shared/pipes/selection.pipes.d.ts +0 -62
- package/src/app/shared/pipes/string.pipes.d.ts +0 -67
- package/src/app/shared/pipes/translate-context.pipe.d.ts +0 -17
- package/src/app/shared/pipes/types.pipes.d.ts +0 -30
- package/src/app/shared/pipes/url.pipes.d.ts +0 -27
- package/src/app/shared/platforms.d.ts +0 -16
- package/src/app/shared/print/print.service.d.ts +0 -94
- package/src/app/shared/regexps.d.ts +0 -32
- package/src/app/shared/rx-state/rx-state.decorators.d.ts +0 -33
- package/src/app/shared/rx-state/rx-state.module.d.ts +0 -10
- package/src/app/shared/rx-state/rx-state.types.d.ts +0 -5
- package/src/app/shared/services/entity-service.class.d.ts +0 -117
- package/src/app/shared/services/job.utils.d.ts +0 -20
- package/src/app/shared/services/memory-entity-service.class.d.ts +0 -87
- package/src/app/shared/services/progress-bar.service.d.ts +0 -20
- package/src/app/shared/services/startable-observable-service.class.d.ts +0 -51
- package/src/app/shared/services/startable-service.class.d.ts +0 -38
- package/src/app/shared/services/translate-context.service.d.ts +0 -29
- package/src/app/shared/services/validator-service.class.d.ts +0 -11
- package/src/app/shared/services.d.ts +0 -17
- package/src/app/shared/shared-routing.module.d.ts +0 -23
- package/src/app/shared/shared.module.d.ts +0 -33
- package/src/app/shared/shared.testing.module.d.ts +0 -20
- package/src/app/shared/storage/storage-explorer.component.d.ts +0 -60
- package/src/app/shared/storage/storage-explorer.module.d.ts +0 -13
- package/src/app/shared/storage/storage-explorer.testing-routing.module.d.ts +0 -9
- package/src/app/shared/storage/storage-explorer.testing.module.d.ts +0 -10
- package/src/app/shared/storage/storage.service.d.ts +0 -22
- package/src/app/shared/storage/storage.utils.d.ts +0 -19
- package/src/app/shared/testing/maskito.test.d.ts +0 -10
- package/src/app/shared/testing/observable.test.d.ts +0 -25
- package/src/app/shared/testing/tests.page.d.ts +0 -20
- package/src/app/shared/toast/toast.testing.d.ts +0 -15
- package/src/app/shared/toast/toast.testing.module.d.ts +0 -12
- package/src/app/shared/toast/toasts.d.ts +0 -16
- package/src/app/shared/toolbar/modal-toolbar.d.ts +0 -21
- package/src/app/shared/toolbar/toolbar.d.ts +0 -70
- package/src/app/shared/toolbar/toolbar.module.d.ts +0 -16
- package/src/app/shared/types.d.ts +0 -45
- package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +0 -21
- package/src/app/shared/upload-file/testing/upload-file.testing.module.d.ts +0 -11
- package/src/app/shared/upload-file/upload-file-popover.component.d.ts +0 -41
- package/src/app/shared/upload-file/upload-file.component.d.ts +0 -50
- package/src/app/shared/upload-file/upload-file.model.d.ts +0 -30
- package/src/app/shared/validator/form-error-adapter.class.d.ts +0 -33
- package/src/app/shared/validator/validators.d.ts +0 -145
- package/src/app/shared/version/versions.d.ts +0 -26
- package/src/app/social/config/social.config.d.ts +0 -4
- package/src/app/social/feed/feed.component.d.ts +0 -91
- package/src/app/social/feed/feed.directive.d.ts +0 -32
- package/src/app/social/feed/feed.model.d.ts +0 -69
- package/src/app/social/feed/feed.module.d.ts +0 -13
- package/src/app/social/feed/feed.page.d.ts +0 -24
- package/src/app/social/feed/feed.service.d.ts +0 -85
- package/src/app/social/feed/testing/feed.testing.d.ts +0 -23
- package/src/app/social/feed/testing/feed.testing.module.d.ts +0 -12
- package/src/app/social/job/job.module.d.ts +0 -12
- package/src/app/social/job/progression/job-progression.component.d.ts +0 -24
- package/src/app/social/job/progression/job-progression.icon.d.ts +0 -63
- package/src/app/social/job/progression/job-progression.list.d.ts +0 -20
- package/src/app/social/job/progression/job-progression.model.d.ts +0 -10
- package/src/app/social/job/progression/job-progression.service.d.ts +0 -33
- package/src/app/social/job/testing/job-progression.testing.d.ts +0 -13
- package/src/app/social/job/testing/job-progression.testing.service.d.ts +0 -9
- package/src/app/social/job/testing/job.testing.module.d.ts +0 -11
- package/src/app/social/message/message.form.d.ts +0 -36
- package/src/app/social/message/message.modal.d.ts +0 -47
- package/src/app/social/message/message.model.d.ts +0 -36
- package/src/app/social/message/message.module.d.ts +0 -14
- package/src/app/social/message/message.service.d.ts +0 -44
- package/src/app/social/social.errors.d.ts +0 -10
- package/src/app/social/social.module.d.ts +0 -20
- package/src/app/social/social.testing.module.d.ts +0 -14
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +0 -47
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +0 -77
- package/src/app/social/user-event/notification/user-event-notification.modal.d.ts +0 -37
- package/src/app/social/user-event/testing/user-event.testing.d.ts +0 -44
- package/src/app/social/user-event/testing/user-event.testing.model.d.ts +0 -42
- package/src/app/social/user-event/testing/user-event.testing.module.d.ts +0 -11
- package/src/app/social/user-event/testing/user-event.testing.service.d.ts +0 -41
- package/src/app/social/user-event/user-event.model.d.ts +0 -44
- package/src/app/social/user-event/user-event.module.d.ts +0 -14
- package/src/app/social/user-event/user-event.service.d.ts +0 -124
- package/src/environments/environment.class.d.ts +0 -86
- package/src/environments/environment.d.ts +0 -2
- package/src/environments/environment.loader.d.ts +0 -24
- package/src/theme/_globals.scss +0 -5
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
import { Keypair } from './crypto.service';
|
|
3
|
-
import { Department } from './model/department.model';
|
|
4
|
-
import { Account, UserSettings } from './model/account.model';
|
|
5
|
-
import { Person, UserProfileLabel } from './model/person.model';
|
|
6
|
-
import { LocalSettings, UsageMode } from './model/settings.model';
|
|
7
|
-
import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
|
|
8
|
-
import { FetchPolicy } from '@apollo/client/core';
|
|
9
|
-
import { Storage } from '@ionic/storage-angular';
|
|
10
|
-
import { BaseGraphqlService } from './base-graphql-service.class';
|
|
11
|
-
import { GraphqlService } from '../graphql/graphql.service';
|
|
12
|
-
import { LocalSettingsService } from './local-settings.service';
|
|
13
|
-
import { FormFieldDefinition, FormFieldDefinitionMap } from '../../shared/form/field.model';
|
|
14
|
-
import { NetworkService } from './network.service';
|
|
15
|
-
import { AuthTokenType } from './network.types';
|
|
16
|
-
import { FileService } from '../../shared/file/file.service';
|
|
17
|
-
import { Referential } from './model/referential.model';
|
|
18
|
-
import { Environment } from '../../../environments/environment.class';
|
|
19
|
-
import { BaseEntityGraphqlMutations, BaseEntityGraphqlQueries, BaseEntityGraphqlSubscriptions } from './base-entity-service.class';
|
|
20
|
-
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
21
|
-
import { OverlayEventDetail } from '@ionic/core';
|
|
22
|
-
import { ToastController } from '@ionic/angular';
|
|
23
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
24
|
-
import { TokenScope, UserToken } from './model/token.model';
|
|
25
|
-
import * as i0 from "@angular/core";
|
|
26
|
-
export declare interface AccountDetails {
|
|
27
|
-
loaded: boolean;
|
|
28
|
-
keypair: Keypair;
|
|
29
|
-
authToken: string;
|
|
30
|
-
authBasic?: string;
|
|
31
|
-
pubkey: string;
|
|
32
|
-
person: Person;
|
|
33
|
-
department: Department;
|
|
34
|
-
mainProfile: string;
|
|
35
|
-
}
|
|
36
|
-
export interface AuthData {
|
|
37
|
-
username: string;
|
|
38
|
-
password: string;
|
|
39
|
-
offline?: boolean;
|
|
40
|
-
}
|
|
41
|
-
export interface RegisterData extends AuthData {
|
|
42
|
-
account: Account;
|
|
43
|
-
}
|
|
44
|
-
export interface ChangePasswordData {
|
|
45
|
-
password: string;
|
|
46
|
-
confirmPassword: string;
|
|
47
|
-
email: string;
|
|
48
|
-
}
|
|
49
|
-
export interface UserSettingsOptions {
|
|
50
|
-
options: FormFieldDefinitionMap;
|
|
51
|
-
remoteLocalSettingsKeys?: (keyof LocalSettings | string)[];
|
|
52
|
-
}
|
|
53
|
-
export declare const APP_USER_SETTINGS_OPTIONS: InjectionToken<UserSettingsOptions>;
|
|
54
|
-
export declare const APP_USER_TOKEN_SCOPES: InjectionToken<TokenScope[]>;
|
|
55
|
-
export declare const APP_ACCOUNT_SERVICE: InjectionToken<AccountService>;
|
|
56
|
-
export interface AccountServiceGraphqlQueries extends BaseEntityGraphqlQueries {
|
|
57
|
-
loadWithTokens?: any;
|
|
58
|
-
}
|
|
59
|
-
export interface AccountServiceGraphqlMutations extends BaseEntityGraphqlMutations {
|
|
60
|
-
saveWithTokens?: any;
|
|
61
|
-
saveSettings?: any;
|
|
62
|
-
create?: any;
|
|
63
|
-
}
|
|
64
|
-
export interface AccountServiceGraphqlSubscriptions extends BaseEntityGraphqlSubscriptions {
|
|
65
|
-
}
|
|
66
|
-
export interface AccountServiceOptions {
|
|
67
|
-
queries?: Partial<AccountServiceGraphqlQueries>;
|
|
68
|
-
mutations?: Partial<AccountServiceGraphqlMutations>;
|
|
69
|
-
subscriptions?: Partial<AccountServiceGraphqlSubscriptions>;
|
|
70
|
-
}
|
|
71
|
-
export declare const APP_ACCOUNT_SERVICE_OPTIONS: InjectionToken<AccountServiceOptions>;
|
|
72
|
-
export declare interface IsEmailExistsVariables {
|
|
73
|
-
email: string;
|
|
74
|
-
hash: string;
|
|
75
|
-
}
|
|
76
|
-
interface IAuthChallenge {
|
|
77
|
-
pubkey: string;
|
|
78
|
-
challenge: string;
|
|
79
|
-
signature: string;
|
|
80
|
-
}
|
|
81
|
-
export interface AccountWatchOptions {
|
|
82
|
-
intervalInSeconds?: number;
|
|
83
|
-
}
|
|
84
|
-
export declare class AccountService extends BaseGraphqlService<Account, any, number, Account> {
|
|
85
|
-
protected network: NetworkService;
|
|
86
|
-
protected graphql: GraphqlService;
|
|
87
|
-
protected settings: LocalSettingsService;
|
|
88
|
-
protected storage: Storage;
|
|
89
|
-
protected file: FileService;
|
|
90
|
-
private translate;
|
|
91
|
-
private toastController;
|
|
92
|
-
protected environment: Environment;
|
|
93
|
-
protected readonly queries: AccountServiceGraphqlQueries;
|
|
94
|
-
protected readonly mutations: AccountServiceGraphqlMutations;
|
|
95
|
-
protected readonly subscriptions: AccountServiceGraphqlSubscriptions;
|
|
96
|
-
onLogin: Subject<Account<Account<any>>>;
|
|
97
|
-
onWillLogout: Subject<Account<Account<any>>>;
|
|
98
|
-
onLogout: Subject<void>;
|
|
99
|
-
onChange: Subject<Account<Account<any>>>;
|
|
100
|
-
onAuthTokenChange: BehaviorSubject<string>;
|
|
101
|
-
onAuthBasicChange: BehaviorSubject<string>;
|
|
102
|
-
private _listenChangesSubscription;
|
|
103
|
-
private readonly _enableListenChanges;
|
|
104
|
-
private readonly _listenIntervalInSeconds;
|
|
105
|
-
private _cache;
|
|
106
|
-
private readonly _optionDefs;
|
|
107
|
-
private readonly _remoteLocalSettingsKeys;
|
|
108
|
-
private _$additionalFields;
|
|
109
|
-
private _tokenType$;
|
|
110
|
-
private _apiTokenEnabled;
|
|
111
|
-
get account(): Account;
|
|
112
|
-
get account$(): Observable<Account>;
|
|
113
|
-
get person(): Person;
|
|
114
|
-
get person$(): Observable<Person>;
|
|
115
|
-
get department(): Department;
|
|
116
|
-
get tokenType(): AuthTokenType;
|
|
117
|
-
set tokenType(value: AuthTokenType);
|
|
118
|
-
get apiTokenEnabled(): boolean;
|
|
119
|
-
set apiTokenEnabled(value: boolean);
|
|
120
|
-
get remoteLocalSettingsKeys(): string[];
|
|
121
|
-
constructor(network: NetworkService, graphql: GraphqlService, settings: LocalSettingsService, storage: Storage, file: FileService, translate: TranslateService, toastController: ToastController, environment: Environment, options: UserSettingsOptions, accountOptions?: AccountServiceOptions);
|
|
122
|
-
ngOnStart(): Promise<Account>;
|
|
123
|
-
protected ngOnStop(): Promise<void>;
|
|
124
|
-
isLogin(): boolean;
|
|
125
|
-
isAuth(): boolean;
|
|
126
|
-
hasMinProfile(userProfile: UserProfileLabel): boolean;
|
|
127
|
-
hasExactProfile(label: UserProfileLabel): boolean;
|
|
128
|
-
hasProfileAndIsEnable(userProfile: UserProfileLabel): boolean;
|
|
129
|
-
isAdmin(): boolean;
|
|
130
|
-
isSupervisor(): boolean;
|
|
131
|
-
isUser(): boolean;
|
|
132
|
-
/**
|
|
133
|
-
* @deprecated
|
|
134
|
-
* @param mode
|
|
135
|
-
*/
|
|
136
|
-
isUsageMode(mode: UsageMode): boolean;
|
|
137
|
-
isOnlyGuest(): boolean;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @param recorderDepartment
|
|
141
|
-
* @deprecated use ProgramRefService.canUserWriteEntity() instead
|
|
142
|
-
*/
|
|
143
|
-
canUserWriteDataForDepartment(recorderDepartment: Referential | any): boolean;
|
|
144
|
-
register(data: RegisterData): Promise<Account>;
|
|
145
|
-
authenticate(data?: AuthData): Promise<void>;
|
|
146
|
-
login(data: AuthData): Promise<Account>;
|
|
147
|
-
reload(opts?: {
|
|
148
|
-
showToast?: boolean;
|
|
149
|
-
}): Promise<Account>;
|
|
150
|
-
/**
|
|
151
|
-
* Create or update an user account, to the remote storage
|
|
152
|
-
*
|
|
153
|
-
* @param account
|
|
154
|
-
*/
|
|
155
|
-
save(account: Account): Promise<Account>;
|
|
156
|
-
logout(): Promise<void>;
|
|
157
|
-
/**
|
|
158
|
-
* Load a account
|
|
159
|
-
*
|
|
160
|
-
* @param opts
|
|
161
|
-
*/
|
|
162
|
-
load(opts?: {
|
|
163
|
-
offline?: boolean;
|
|
164
|
-
fetchPolicy?: FetchPolicy;
|
|
165
|
-
query?: any;
|
|
166
|
-
}): Promise<Account | undefined>;
|
|
167
|
-
generateToken(flags: number): Promise<string | undefined>;
|
|
168
|
-
/**
|
|
169
|
-
* Check if email is available for new account registration.
|
|
170
|
-
* Throw an error if not available
|
|
171
|
-
*
|
|
172
|
-
* @param email
|
|
173
|
-
*/
|
|
174
|
-
checkEmailAvailable(email: string): Promise<void>;
|
|
175
|
-
/**
|
|
176
|
-
* Check if email is exists in server.
|
|
177
|
-
*
|
|
178
|
-
* @param email
|
|
179
|
-
*/
|
|
180
|
-
isEmailExists(email: string): Promise<boolean>;
|
|
181
|
-
sendConfirmationEmail(email: string, locale?: string): Promise<boolean>;
|
|
182
|
-
confirmEmail(email: string, code: string): Promise<boolean>;
|
|
183
|
-
sendResetPasswordEmail(username: string, locale?: string): Promise<boolean>;
|
|
184
|
-
updatePubkey(data: AuthData): Promise<boolean>;
|
|
185
|
-
resetPubkey(data: AuthData, token: string): Promise<boolean>;
|
|
186
|
-
listenChanges(opts?: AccountWatchOptions): Subscription;
|
|
187
|
-
get additionalFields(): FormFieldDefinition[];
|
|
188
|
-
/**
|
|
189
|
-
* @deprecated Use additionalFields$ instead
|
|
190
|
-
*/
|
|
191
|
-
get $additionalFields(): Observable<FormFieldDefinition[]>;
|
|
192
|
-
get additionalFields$(): Observable<FormFieldDefinition[]>;
|
|
193
|
-
getAdditionalField(key: string): FormFieldDefinition | undefined;
|
|
194
|
-
registerAdditionalField(...fields: FormFieldDefinition[]): void;
|
|
195
|
-
get optionDefs(): FormFieldDefinition[];
|
|
196
|
-
registerOption(def: FormFieldDefinition): void;
|
|
197
|
-
registerOptions(defs: FormFieldDefinition[]): void;
|
|
198
|
-
protected resetData(): void;
|
|
199
|
-
protected loadData(opts?: {
|
|
200
|
-
offline?: boolean;
|
|
201
|
-
fetchPolicy?: FetchPolicy;
|
|
202
|
-
}): Promise<Account>;
|
|
203
|
-
protected listenSettings(): Promise<void>;
|
|
204
|
-
protected restoreLocally(): Promise<Account | undefined>;
|
|
205
|
-
/**
|
|
206
|
-
* Save account into the local storage
|
|
207
|
-
*/
|
|
208
|
-
protected saveLocally(): Promise<void>;
|
|
209
|
-
saveLocalSettingsRemotely(source: LocalSettings): Promise<void>;
|
|
210
|
-
/**
|
|
211
|
-
* Create or update an user account
|
|
212
|
-
*
|
|
213
|
-
* @param account
|
|
214
|
-
* @param keyPair
|
|
215
|
-
*/
|
|
216
|
-
protected saveRemotely(account: Account, keyPair?: Keypair): Promise<Account>;
|
|
217
|
-
/**
|
|
218
|
-
* Create or update user settings
|
|
219
|
-
*
|
|
220
|
-
* @param settings
|
|
221
|
-
*/
|
|
222
|
-
protected saveSettingsRemotely(settings: UserSettings): Promise<void>;
|
|
223
|
-
protected authenticateAndGetToken(token?: string, counter?: number): Promise<string>;
|
|
224
|
-
protected getAuthChallenge(): Promise<IAuthChallenge>;
|
|
225
|
-
protected startListenRemoteChanges(opts?: AccountWatchOptions): Subscription;
|
|
226
|
-
protected stopListenRemoteChanges(): void;
|
|
227
|
-
protected watchChanges(opts?: AccountWatchOptions): Observable<Account>;
|
|
228
|
-
protected copyIdAndUpdateDate(source: Account | undefined, target: Account): void;
|
|
229
|
-
protected copyIdAndUpdateDateSettings(source: UserSettings | undefined, target: UserSettings): void;
|
|
230
|
-
protected copyIdAndUpdateDateToken(sources: UserToken[] | undefined, targets: UserToken[]): void;
|
|
231
|
-
protected showToast<T = any>(opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
|
|
232
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccountService, [null, null, null, null, null, { optional: true; }, { optional: true; }, null, { optional: true; }, { optional: true; }]>;
|
|
233
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AccountService>;
|
|
234
|
-
}
|
|
235
|
-
export declare function provideAccountService(): Provider;
|
|
236
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ModalController } from '@ionic/angular';
|
|
4
|
-
import { AccountService } from './account.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AuthGuardService implements CanActivate {
|
|
7
|
-
private accountService;
|
|
8
|
-
private modalCtrl;
|
|
9
|
-
private router;
|
|
10
|
-
protected environment: any;
|
|
11
|
-
private readonly _debug;
|
|
12
|
-
constructor(accountService: AccountService, modalCtrl: ModalController, router: Router, environment: any);
|
|
13
|
-
canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
14
|
-
login(next?: ActivatedRouteSnapshot): Promise<boolean>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuardService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuardService>;
|
|
17
|
-
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { InternalRefetchQueriesInclude, WatchQueryFetchPolicy } from '@apollo/client/core';
|
|
3
|
-
import { SortDirection } from '@angular/material/sort';
|
|
4
|
-
import { BaseGraphqlService } from './base-graphql-service.class';
|
|
5
|
-
import { EntitiesServiceDeleteOptions, EntitiesServiceLoadOptions, EntitiesServiceWatchOptions, EntityServiceListenChangesOptions, EntityServiceSaveOptions, IEntitiesService, IEntityService, LoadResult } from '../../shared/services/entity-service.class';
|
|
6
|
-
import { GraphqlService } from '../graphql/graphql.service';
|
|
7
|
-
import { PlatformService } from './platform.service';
|
|
8
|
-
import { Entity, EntityAsObjectOptions } from './model/entity.model';
|
|
9
|
-
import { FetchResult } from '@apollo/client/link/core';
|
|
10
|
-
import { EntityFilter } from './model/filter.model';
|
|
11
|
-
import { DocumentNode } from 'graphql';
|
|
12
|
-
import type { Unmasked } from '@apollo/client/masking';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export type MutableWatchQueriesUpdatePolicy = 'update-cache' | 'refetch-queries' | 'none';
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Use EntityServiceSaveOptions
|
|
17
|
-
*/
|
|
18
|
-
export interface EntitySaveOptions<T = any, V = any> extends EntityServiceSaveOptions<T, V> {
|
|
19
|
-
}
|
|
20
|
-
export interface BaseEntityGraphqlQueries {
|
|
21
|
-
load?: any;
|
|
22
|
-
loadAll: any;
|
|
23
|
-
loadAllWithTotal?: any;
|
|
24
|
-
countAll?: any;
|
|
25
|
-
}
|
|
26
|
-
export interface BaseEntityGraphqlMutations {
|
|
27
|
-
save?: any;
|
|
28
|
-
delete?: any;
|
|
29
|
-
saveAll?: any;
|
|
30
|
-
deleteAll?: any;
|
|
31
|
-
}
|
|
32
|
-
export interface BaseEntityGraphqlSubscriptions {
|
|
33
|
-
listenChanges?: any;
|
|
34
|
-
}
|
|
35
|
-
export interface BaseEntityServiceOptions<T extends Entity<any, ID>, ID = number, Q extends BaseEntityGraphqlQueries = BaseEntityGraphqlQueries, M extends BaseEntityGraphqlMutations = BaseEntityGraphqlMutations, S extends BaseEntityGraphqlSubscriptions = BaseEntityGraphqlSubscriptions> {
|
|
36
|
-
queries: Q;
|
|
37
|
-
mutations?: Partial<M>;
|
|
38
|
-
subscriptions?: Partial<S>;
|
|
39
|
-
equals?: (e1: T, e2: T) => boolean;
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated Use 'equals' instead
|
|
42
|
-
*/
|
|
43
|
-
equalsFn?: (e1: T, e2: T) => boolean;
|
|
44
|
-
isNew?: (e: T) => boolean;
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated Use 'isNew' instead
|
|
47
|
-
*/
|
|
48
|
-
isNewFn?: (e: T) => boolean;
|
|
49
|
-
defaultSortBy?: keyof T;
|
|
50
|
-
defaultSortDirection?: SortDirection;
|
|
51
|
-
watchQueriesUpdatePolicy?: MutableWatchQueriesUpdatePolicy;
|
|
52
|
-
watchQueriesDeletePolicy?: MutableWatchQueriesUpdatePolicy;
|
|
53
|
-
}
|
|
54
|
-
export interface EntityServiceRefetchQueriesOptions<T = any> {
|
|
55
|
-
refetchQueries?: ((result: FetchResult<Unmasked<{
|
|
56
|
-
data: T[];
|
|
57
|
-
}>>) => InternalRefetchQueriesInclude) | InternalRefetchQueriesInclude;
|
|
58
|
-
policy?: MutableWatchQueriesUpdatePolicy;
|
|
59
|
-
}
|
|
60
|
-
export declare abstract class BaseEntityService<T extends Entity<T, ID>, F extends EntityFilter<F, T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions<T>, LO extends EntitiesServiceLoadOptions = EntitiesServiceLoadOptions<T>, DO extends EntitiesServiceDeleteOptions = EntitiesServiceDeleteOptions<T>, Q extends BaseEntityGraphqlQueries = BaseEntityGraphqlQueries, M extends BaseEntityGraphqlMutations = BaseEntityGraphqlMutations, S extends BaseEntityGraphqlSubscriptions = BaseEntityGraphqlSubscriptions> extends BaseGraphqlService<T, F, ID> implements IEntitiesService<T, F, WO>, IEntityService<T, ID, LO> {
|
|
61
|
-
protected graphql: GraphqlService;
|
|
62
|
-
protected platform: PlatformService;
|
|
63
|
-
protected dataType: new () => T;
|
|
64
|
-
protected filterType: new () => F;
|
|
65
|
-
protected readonly _typename: string;
|
|
66
|
-
protected readonly _logTypeName: string;
|
|
67
|
-
protected readonly queries: Q;
|
|
68
|
-
protected readonly mutations: Partial<M>;
|
|
69
|
-
protected readonly subscriptions: Partial<S>;
|
|
70
|
-
protected readonly _equalsFn: (e1: T, e2: T) => boolean;
|
|
71
|
-
protected readonly _isNewFn: (e: T) => boolean;
|
|
72
|
-
protected readonly defaultSortBy: keyof T;
|
|
73
|
-
protected readonly defaultSortDirection: SortDirection;
|
|
74
|
-
protected readonly watchQueriesUpdatePolicy: MutableWatchQueriesUpdatePolicy;
|
|
75
|
-
protected readonly watchQueriesDeletePolicy: MutableWatchQueriesUpdatePolicy;
|
|
76
|
-
get defaultFetchPolicy(): WatchQueryFetchPolicy;
|
|
77
|
-
protected constructor(graphql: GraphqlService, platform: PlatformService, dataType: new () => T, filterType: new () => F, options: BaseEntityServiceOptions<T, ID, Q, M, S>);
|
|
78
|
-
watch(id: number, opts?: WO): Observable<T>;
|
|
79
|
-
load(id: ID, opts?: LO): Promise<T>;
|
|
80
|
-
watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, dataFilter?: F, opts?: WO): Observable<LoadResult<T>>;
|
|
81
|
-
loadAll(offset: number, size: number, sortBy?: keyof T | string, sortDirection?: SortDirection, filter?: Partial<F>, opts?: LO & {
|
|
82
|
-
debug?: boolean;
|
|
83
|
-
}): Promise<LoadResult<T>>;
|
|
84
|
-
countAll(filter?: Partial<F>, opts?: LO): Promise<number>;
|
|
85
|
-
canUserWrite(data: T, opts?: any): boolean;
|
|
86
|
-
saveAll(entities: T[], opts?: EntityServiceSaveOptions | EntitySaveOptions): Promise<T[]>;
|
|
87
|
-
/**
|
|
88
|
-
* Save a referential entity
|
|
89
|
-
*
|
|
90
|
-
* @param entity
|
|
91
|
-
* @param opts
|
|
92
|
-
*/
|
|
93
|
-
save(entity: T, opts?: EntityServiceSaveOptions): Promise<T>;
|
|
94
|
-
/**
|
|
95
|
-
* Delete referential entities
|
|
96
|
-
*/
|
|
97
|
-
deleteAll(entities: T[], opts?: DO | any): Promise<any>;
|
|
98
|
-
/**
|
|
99
|
-
* Delete a referential entity
|
|
100
|
-
*/
|
|
101
|
-
delete(entity: T, opts?: DO | any): Promise<any>;
|
|
102
|
-
listenChanges(id: ID, opts?: EntityServiceListenChangesOptions<T>): Observable<T>;
|
|
103
|
-
copyIdAndUpdateDate(source: T, target: T): void;
|
|
104
|
-
fromObject(source: any, opts?: {
|
|
105
|
-
toEntity?: boolean | ((source: any, opts?: any) => T);
|
|
106
|
-
[key: string]: any;
|
|
107
|
-
}): T;
|
|
108
|
-
asFilter(source: any): F;
|
|
109
|
-
equals(d1: T, d2: T): boolean;
|
|
110
|
-
isNew(data: T): boolean;
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated Use equals() instead
|
|
113
|
-
*/
|
|
114
|
-
equalsFn(d1: T, d2: T): boolean;
|
|
115
|
-
/**
|
|
116
|
-
* @deprecated Use isNew() instead
|
|
117
|
-
* @param data
|
|
118
|
-
*/
|
|
119
|
-
isNewFn(data: T): boolean;
|
|
120
|
-
protected ngOnStart(): Promise<void>;
|
|
121
|
-
protected fillDefaultProperties(source: T): void;
|
|
122
|
-
protected fromObjects(sources: any[], opts?: {
|
|
123
|
-
toEntity?: boolean | ((source: any, opts?: any) => T);
|
|
124
|
-
[key: string]: any;
|
|
125
|
-
}): T[];
|
|
126
|
-
protected asObject(source: T, opts?: EntityAsObjectOptions): any;
|
|
127
|
-
protected getRefetchQueriesForMutation(opts?: EntityServiceRefetchQueriesOptions<T>): ((result: FetchResult<Unmasked<{
|
|
128
|
-
data: T[];
|
|
129
|
-
}>>) => InternalRefetchQueriesInclude) | InternalRefetchQueriesInclude;
|
|
130
|
-
protected getLoadQueries(): DocumentNode[];
|
|
131
|
-
protected getLoadQueryNames(): string[];
|
|
132
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseEntityService<any, any, any, any, any, any, any, any, any>, never>;
|
|
133
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseEntityService<any, any, any, any, any, any, any, any, any>, never, never, {}, {}, never, never, false, never>;
|
|
134
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { GraphqlService, MutateQueryOptions, WatchQueryOptions } from '../graphql/graphql.service';
|
|
2
|
-
import { Page } from '../../shared/services/entity-service.class';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FetchResult } from '@apollo/client/link/core';
|
|
5
|
-
import { ApolloCache, InternalRefetchQueriesInclude } from '@apollo/client/core';
|
|
6
|
-
import { QueryRef } from 'apollo-angular';
|
|
7
|
-
import { PureQueryOptions } from '@apollo/client/core/types';
|
|
8
|
-
import { DocumentNode } from 'graphql';
|
|
9
|
-
import { StartableService } from '../../shared/services/startable-service.class';
|
|
10
|
-
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
11
|
-
import { EmptyObject } from '../graphql/graphql.utils';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export interface QueryVariables<F = any> extends Partial<Page> {
|
|
14
|
-
filter?: F;
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}
|
|
17
|
-
export interface MutateQueryWithCacheUpdateOptions<T = any, V = EmptyObject> extends MutateQueryOptions<T, V> {
|
|
18
|
-
cacheInsert?: {
|
|
19
|
-
query: any;
|
|
20
|
-
fetchData: (variables: V, mutationResult: FetchResult<T>) => any;
|
|
21
|
-
}[];
|
|
22
|
-
cacheRemove?: {
|
|
23
|
-
query: any;
|
|
24
|
-
fetchIds: (variables: V) => number | number[];
|
|
25
|
-
}[];
|
|
26
|
-
}
|
|
27
|
-
export interface MutableWatchQueryOptions<D, T = any, V = EmptyObject> extends WatchQueryOptions<V> {
|
|
28
|
-
queryName: string;
|
|
29
|
-
arrayFieldName: keyof D;
|
|
30
|
-
totalFieldName?: keyof D;
|
|
31
|
-
insertFilterFn?: (data: T) => boolean;
|
|
32
|
-
sortFn?: (a: T, b: T) => number;
|
|
33
|
-
}
|
|
34
|
-
export interface MutableWatchQueryDescription<TData, TEntityClass = any, TVariables = EmptyObject> extends PureQueryOptions<TVariables, TData> {
|
|
35
|
-
id?: string;
|
|
36
|
-
query: DocumentNode | TypedDocumentNode<TData, TVariables>;
|
|
37
|
-
queryRef: QueryRef<TData, TVariables>;
|
|
38
|
-
variables: TVariables;
|
|
39
|
-
arrayFieldName: keyof TData;
|
|
40
|
-
totalFieldName?: keyof TData;
|
|
41
|
-
insertFilterFn?: (data: TEntityClass) => boolean;
|
|
42
|
-
sortFn?: (a: TEntityClass, b: TEntityClass) => number;
|
|
43
|
-
counter: number;
|
|
44
|
-
}
|
|
45
|
-
export interface FindMutableWatchQueriesOptions {
|
|
46
|
-
query?: DocumentNode;
|
|
47
|
-
queries?: DocumentNode[];
|
|
48
|
-
queryName?: string;
|
|
49
|
-
queryNames?: string[];
|
|
50
|
-
}
|
|
51
|
-
export declare class BaseGraphqlServiceOptions {
|
|
52
|
-
production?: boolean;
|
|
53
|
-
}
|
|
54
|
-
export declare abstract class BaseGraphqlService<T = any, F = any, ID = any, S = void> extends StartableService<S> {
|
|
55
|
-
protected graphql: GraphqlService;
|
|
56
|
-
protected _logPrefix: string;
|
|
57
|
-
protected _mutableWatchQueries: MutableWatchQueryDescription<any>[];
|
|
58
|
-
protected _mutableWatchQueriesMaxCount: number;
|
|
59
|
-
protected constructor(graphql: GraphqlService, options?: BaseGraphqlServiceOptions);
|
|
60
|
-
mutableWatchQuery<D, V = EmptyObject>(opts: MutableWatchQueryOptions<D, T, V>): Observable<D>;
|
|
61
|
-
insertIntoMutableCachedQueries(cache: ApolloCache<any>, opts: FindMutableWatchQueriesOptions & {
|
|
62
|
-
data: T[] | T;
|
|
63
|
-
}): void;
|
|
64
|
-
removeFromMutableCachedQueriesByIds(cache: ApolloCache<any>, opts: FindMutableWatchQueriesOptions & {
|
|
65
|
-
ids: ID | ID[];
|
|
66
|
-
}): number;
|
|
67
|
-
refetchMutableWatchQueries(opts: FindMutableWatchQueriesOptions & {
|
|
68
|
-
variables?: any;
|
|
69
|
-
}): Promise<void>;
|
|
70
|
-
protected computeMutableWatchQueryId<D, T, V = EmptyObject>(opts: MutableWatchQueryOptions<D, T, V>): string;
|
|
71
|
-
protected findMutableWatchQueries(opts: FindMutableWatchQueriesOptions): MutableWatchQueryDescription<any>[];
|
|
72
|
-
protected registerNewMutableWatchQuery(mutableQuery: MutableWatchQueryDescription<any>): void;
|
|
73
|
-
protected findRefetchQueries(opts: FindMutableWatchQueriesOptions): InternalRefetchQueriesInclude;
|
|
74
|
-
protected ngOnStart(): Promise<S>;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseGraphqlService<any, any, any, any>, [null, { optional: true; }]>;
|
|
76
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseGraphqlService<any, any, any, any>, never, never, {}, {}, never, never, false, never>;
|
|
77
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { FormFieldDefinition } from '../../../shared/form/field.model';
|
|
2
|
-
export declare const CORE_CONFIG_OPTIONS: Readonly<{
|
|
3
|
-
LOGO: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
4
|
-
FAVICON: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
5
|
-
DEFAULT_LOCALE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
6
|
-
DEFAULT_LAT_LONG_FORMAT: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated Use `ACCOUNT_LAT_LONG_FORMAT_ENABLE` instead
|
|
9
|
-
*/
|
|
10
|
-
DEFAULT_LAT_LONG_FORMAT_ENABLED: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
11
|
-
REGISTRATION_ENABLE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
12
|
-
AUTH_TOKEN_TYPE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
13
|
-
AUTH_RESET_PASSWORD_ENABLE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
14
|
-
AUTH_API_TOKEN_ENABLED: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
15
|
-
AUTH_API_TOKEN_SCOPE_ENABLED: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
16
|
-
DEFAULT_AUTH_API_TOKEN_SCOPE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
17
|
-
GRAVATAR_ENABLE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
18
|
-
GRAVATAR_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
19
|
-
TESTING: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
20
|
-
APP_MIN_VERSION: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
21
|
-
HELP_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
22
|
-
FORUM_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
23
|
-
REPORT_ISSUE_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
24
|
-
PRIVACY_POLICY_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
25
|
-
TERMS_OF_USE_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
26
|
-
LOGO_LARGE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
27
|
-
MENU_ITEMS: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
28
|
-
HOME_PARTNERS_DEPARTMENTS: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
29
|
-
HOME_BACKGROUND_IMAGE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
30
|
-
HOME_FEED_ENABLE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
31
|
-
HOME_FEED_URLS: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
32
|
-
HOME_FEED_MAX_AGE_IN_MONTHS: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
33
|
-
HOME_FEED_MAX_CONTENT_LENGTH: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
34
|
-
COLOR_PRIMARY: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
35
|
-
COLOR_SECONDARY: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
36
|
-
COLOR_TERTIARY: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
37
|
-
COLOR_SUCCESS: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
38
|
-
COLOR_WARNING: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
39
|
-
COLOR_ACCENT: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
40
|
-
COLOR_DANGER: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
41
|
-
FORM_FIELD_BACKGROUND_COLOR: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
42
|
-
FORM_FIELD_FOCUS_BACKGROUND_COLOR: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
43
|
-
FORM_FIELD_DISABLED_BACKGROUND_COLOR: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
44
|
-
ANDROID_INSTALL_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
45
|
-
IOS_INSTALL_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
46
|
-
DESKTOP_INSTALL_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
47
|
-
DB_TIMEZONE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
48
|
-
ACCOUNT_LAT_LONG_FORMAT_ENABLE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
49
|
-
ACCOUNT_READONLY: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
50
|
-
ACCOUNT_AVATAR_ENABLE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
51
|
-
ACCOUNT_AVATAR_MAX_SIZE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any, any>;
|
|
52
|
-
}>;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { Configuration } from './model/config.model';
|
|
3
|
-
import { Storage } from '@ionic/storage-angular';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { GraphqlService } from '../graphql/graphql.service';
|
|
6
|
-
import { FormFieldDefinition, FormFieldDefinitionMap } from '../../shared/form/field.model';
|
|
7
|
-
import { FileService } from '../../shared/file/file.service';
|
|
8
|
-
import { NetworkService } from './network.service';
|
|
9
|
-
import { Platform, ToastController } from '@ionic/angular';
|
|
10
|
-
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
11
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
12
|
-
import { EntityServiceLoadOptions, IEntityService } from '../../shared/services/entity-service.class';
|
|
13
|
-
import { Environment } from '../../../environments/environment.class';
|
|
14
|
-
import { BaseGraphqlService } from './base-graphql-service.class';
|
|
15
|
-
import { IStartableService } from '../../shared/services/startable-service.class';
|
|
16
|
-
import { AccountService } from './account.service';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
export declare const ConfigFragments: {
|
|
19
|
-
config: import("apollo-angular").TypedDocumentNode<unknown, unknown>;
|
|
20
|
-
};
|
|
21
|
-
export declare const APP_CONFIG_OPTIONS: InjectionToken<FormFieldDefinitionMap>;
|
|
22
|
-
export declare class ConfigService extends BaseGraphqlService<Configuration, any, number, Configuration> implements IEntityService<Configuration>, IStartableService<Configuration> {
|
|
23
|
-
protected platform: Platform;
|
|
24
|
-
protected graphql: GraphqlService;
|
|
25
|
-
protected storage: Storage;
|
|
26
|
-
protected network: NetworkService;
|
|
27
|
-
protected file: FileService;
|
|
28
|
-
protected toastController: ToastController;
|
|
29
|
-
protected translate: TranslateService;
|
|
30
|
-
protected accountService: AccountService;
|
|
31
|
-
protected environment: Environment;
|
|
32
|
-
private _optionDefs;
|
|
33
|
-
private $data;
|
|
34
|
-
get config(): Observable<Configuration>;
|
|
35
|
-
constructor(platform: Platform, graphql: GraphqlService, storage: Storage, network: NetworkService, file: FileService, toastController: ToastController, translate: TranslateService, accountService: AccountService, environment: Environment, defaultOptionsMap: FormFieldDefinitionMap);
|
|
36
|
-
protected ngOnStart(): Promise<Configuration>;
|
|
37
|
-
loadDefault(opts?: EntityServiceLoadOptions): Promise<Configuration>;
|
|
38
|
-
load(id: number, opts?: EntityServiceLoadOptions & {
|
|
39
|
-
query?: any;
|
|
40
|
-
variables?: any;
|
|
41
|
-
}): Promise<Configuration>;
|
|
42
|
-
canUserWrite(data: Configuration): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Save a configuration
|
|
45
|
-
*
|
|
46
|
-
* @param config
|
|
47
|
-
*/
|
|
48
|
-
save(config: Configuration): Promise<Configuration>;
|
|
49
|
-
getCacheStatistics(): Promise<string>;
|
|
50
|
-
clearCache(opts?: {
|
|
51
|
-
cacheName?: string;
|
|
52
|
-
}): Promise<true>;
|
|
53
|
-
delete(data: Configuration): Promise<any>;
|
|
54
|
-
listenChanges(id: number): Observable<Configuration | undefined>;
|
|
55
|
-
get optionDefs(): FormFieldDefinition[];
|
|
56
|
-
protected copyIdAndUpdateDate(source: Configuration | undefined, target: Configuration): void;
|
|
57
|
-
private loadOrRestoreLocally;
|
|
58
|
-
private restoreLocally;
|
|
59
|
-
private storeLocally;
|
|
60
|
-
protected showToast(opts: ShowToastOptions): Promise<void>;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, [null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
62
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
|
|
63
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ScryptParams } from '@polkadot/util-crypto/scrypt/types';
|
|
2
|
-
import { Keypair } from '@polkadot/util-crypto/types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const ED25519_SEED_LENGTH = 32;
|
|
5
|
-
export declare const SCRYPT_PARAMS: {
|
|
6
|
-
SIMPLE: ScryptParams;
|
|
7
|
-
DEFAULT: ScryptParams;
|
|
8
|
-
SECURE: ScryptParams;
|
|
9
|
-
HARDEST: ScryptParams;
|
|
10
|
-
EXTREME: ScryptParams;
|
|
11
|
-
};
|
|
12
|
-
export { Keypair };
|
|
13
|
-
export declare class CryptoService {
|
|
14
|
-
private static _ready;
|
|
15
|
-
private static get started();
|
|
16
|
-
private static ready;
|
|
17
|
-
/**
|
|
18
|
-
* Generate a sign keypair, using scrypt, from a salt and a password
|
|
19
|
-
*
|
|
20
|
-
* @param salt
|
|
21
|
-
* @param password
|
|
22
|
-
* @param scryptParams
|
|
23
|
-
*/
|
|
24
|
-
static scryptKeypair(salt: string, password: string, scryptParams?: ScryptParams): Promise<Keypair>;
|
|
25
|
-
/**
|
|
26
|
-
* Sign a message, from a key pair
|
|
27
|
-
*/
|
|
28
|
-
static sign(message: string, keypair: Keypair): Promise<string>;
|
|
29
|
-
/**
|
|
30
|
-
* Sign a message, from a key pair
|
|
31
|
-
*/
|
|
32
|
-
static verify(message: string, signature: string, publicKey: string): Promise<boolean>;
|
|
33
|
-
/**
|
|
34
|
-
* Hash (using SHA256) a message, as Hex
|
|
35
|
-
*/
|
|
36
|
-
static sha256(message: string): string;
|
|
37
|
-
/**
|
|
38
|
-
* Hash (using SHA512) a message, as Hex
|
|
39
|
-
*/
|
|
40
|
-
static sha512(message: string): string;
|
|
41
|
-
static encodeBase64(message: string): string;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CryptoService, never>;
|
|
43
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CryptoService>;
|
|
44
|
-
}
|