@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,170 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, UntypedFormArray, UntypedFormGroup, ValidationErrors } from '@angular/forms';
|
|
2
|
-
import { WaitForOptions } from './observables';
|
|
3
|
-
import { Predicate } from '@angular/core';
|
|
4
|
-
export interface FormErrors {
|
|
5
|
-
[key: string]: ValidationErrors;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Fill a form using a source entity
|
|
9
|
-
*
|
|
10
|
-
* @param target
|
|
11
|
-
* @param entity
|
|
12
|
-
* @param opts
|
|
13
|
-
*/
|
|
14
|
-
export declare function copyEntity2Form(entity: any, target: UntypedFormGroup, opts?: {
|
|
15
|
-
onlySelf?: boolean;
|
|
16
|
-
emitEvent?: boolean;
|
|
17
|
-
}): void;
|
|
18
|
-
export declare function getFormValueFromEntity(entity: any | undefined, form: UntypedFormGroup): {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Transform an entity into a simple object, compatible with the given form
|
|
23
|
-
*
|
|
24
|
-
* @param source an entity (or subentity)
|
|
25
|
-
* @param control
|
|
26
|
-
* @param path
|
|
27
|
-
*/
|
|
28
|
-
export declare function adaptValueToControl(source: any | undefined, control: AbstractControl, path?: string): any;
|
|
29
|
-
export declare function logFormErrors(control: AbstractControl, logPrefix?: string, path?: string): void;
|
|
30
|
-
/**
|
|
31
|
-
* Retrieves all validation errors from a given form control, including its child controls if it is a form group or array.
|
|
32
|
-
*
|
|
33
|
-
* @param {AbstractControl} control - The form control to retrieve errors from. This can be a form group, a form array, or a simple form control.
|
|
34
|
-
* @param {Object} [opts] - Optional configurations for error retrieval.
|
|
35
|
-
* @param {string} [opts.controlName] - The name or path of the control being processed, used for structuring error keys in the result.
|
|
36
|
-
* @param {FormErrors} [opts.result] - The object to which errors will be added, allowing for aggregation and persistence between calls.
|
|
37
|
-
* @param {boolean} [opts.recursive=true] - Whether to recursively collect errors from child controls within a form group or array. Defaults to true.
|
|
38
|
-
* @return {FormErrors} The collected errors as a key-value object where keys represent control names or paths and values represent their respective errors. Returns `undefined` if the provided control is valid and has no errors.
|
|
39
|
-
*/
|
|
40
|
-
export declare function getFormErrors(control: AbstractControl, opts?: {
|
|
41
|
-
controlName?: string;
|
|
42
|
-
result?: FormErrors;
|
|
43
|
-
recursive?: boolean;
|
|
44
|
-
}): FormErrors;
|
|
45
|
-
/**
|
|
46
|
-
* Retrieves a control from the provided form/control structure using a dot-separated path.
|
|
47
|
-
*
|
|
48
|
-
* @param {AbstractControl} form - The root form group, form array, or control to start searching from.
|
|
49
|
-
* @param {string} path - The dot-separated path specifying the control. For example, 'groupName.controlName' or 'arrayName.0.controlName'.
|
|
50
|
-
* @param {boolean} [strict=true] - If true, throws an error if the full path cannot be resolved; if false, returns the last valid control encountered.
|
|
51
|
-
* @param failIfMissing - If true, throw an error if the control not exists.
|
|
52
|
-
* @return {AbstractControl} - The control at the specified path or the closest valid control if strict mode is disabled.
|
|
53
|
-
* @throws {Error} - Throws an error if the path cannot be resolved and strict mode is enabled.
|
|
54
|
-
*/
|
|
55
|
-
export declare function getControlFromPath(form: AbstractControl, path: string, strict?: boolean, failIfMissing?: boolean): AbstractControl;
|
|
56
|
-
export declare function disableControls(form: UntypedFormGroup, paths: string[], opts?: {
|
|
57
|
-
onlySelf?: boolean;
|
|
58
|
-
emitEvent?: boolean;
|
|
59
|
-
required?: boolean;
|
|
60
|
-
}): void;
|
|
61
|
-
export declare function disableAndClearControls(form: UntypedFormGroup, paths: string[], opts?: {
|
|
62
|
-
onlySelf?: boolean;
|
|
63
|
-
emitEvent?: boolean;
|
|
64
|
-
required?: boolean;
|
|
65
|
-
}): void;
|
|
66
|
-
export declare function enableControls(form: UntypedFormGroup, paths: string[], opts?: {
|
|
67
|
-
onlySelf?: boolean;
|
|
68
|
-
emitEvent?: boolean;
|
|
69
|
-
required?: boolean;
|
|
70
|
-
}): void;
|
|
71
|
-
export declare function setControlsEnabled(form: UntypedFormGroup, enabled: boolean, paths: string[], opts?: {
|
|
72
|
-
onlySelf?: boolean;
|
|
73
|
-
emitEvent?: boolean;
|
|
74
|
-
required?: boolean;
|
|
75
|
-
}): void;
|
|
76
|
-
export declare function setControlRequired(control: AbstractControl, required: boolean): void;
|
|
77
|
-
/**
|
|
78
|
-
* Sets form errors on an AbstractControl, including nested controls within form groups or arrays.
|
|
79
|
-
*
|
|
80
|
-
* @param {AbstractControl} control - The form control, form group, or form array to apply the errors to.
|
|
81
|
-
* @param {FormErrors} errors - An object representing the errors to be set on the control or its children.
|
|
82
|
-
* @return {void} Does not return a value.
|
|
83
|
-
*/
|
|
84
|
-
export declare function setFormErrors(control: AbstractControl, errors: FormErrors): void;
|
|
85
|
-
export declare function enableControl(control: AbstractControl, opts?: {
|
|
86
|
-
onlySelf?: boolean;
|
|
87
|
-
emitEvent?: boolean;
|
|
88
|
-
required?: boolean;
|
|
89
|
-
}): void;
|
|
90
|
-
export declare function disableControl(control: AbstractControl, opts?: {
|
|
91
|
-
onlySelf?: boolean;
|
|
92
|
-
emitEvent?: boolean;
|
|
93
|
-
required?: boolean;
|
|
94
|
-
}): void;
|
|
95
|
-
export declare function disableAndClearControl(control: AbstractControl, opts?: {
|
|
96
|
-
onlySelf?: boolean;
|
|
97
|
-
emitEvent?: boolean;
|
|
98
|
-
required?: boolean;
|
|
99
|
-
}): void;
|
|
100
|
-
export declare function setControlEnabled(control: AbstractControl, enabled: boolean, opts?: {
|
|
101
|
-
onlySelf?: boolean;
|
|
102
|
-
emitEvent?: boolean;
|
|
103
|
-
required?: boolean;
|
|
104
|
-
}): void;
|
|
105
|
-
export declare function addValueInArray(arrayControl: UntypedFormArray, createControl: (value: any | undefined, index: number) => AbstractControl, equals: (v1: any, v2: any) => boolean, isEmpty: (value: any) => boolean, value: any, opts?: {
|
|
106
|
-
onlySelf?: boolean;
|
|
107
|
-
emitEvent?: boolean;
|
|
108
|
-
insertAt?: number;
|
|
109
|
-
allowManyNullValues?: boolean;
|
|
110
|
-
allowDuplicateValue?: boolean;
|
|
111
|
-
}): boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Set an array using given default values. Each default value will be pass to the 'createControl()' function
|
|
114
|
-
*
|
|
115
|
-
* @param arrayControl
|
|
116
|
-
* @param createControl
|
|
117
|
-
* @param defaultValues
|
|
118
|
-
* @param opts
|
|
119
|
-
*/
|
|
120
|
-
export declare function initArrayControlsFromValues(arrayControl: UntypedFormArray, createControl: (value?: any, index?: number) => AbstractControl, defaultValues: any[], opts?: {
|
|
121
|
-
emitEvent?: boolean;
|
|
122
|
-
}): boolean;
|
|
123
|
-
export declare function resizeArray(arrayControl: UntypedFormArray, createControl: (value?: any | undefined, index?: number) => AbstractControl, length: number, opts?: {
|
|
124
|
-
emitEvent?: boolean;
|
|
125
|
-
}): boolean;
|
|
126
|
-
export declare function removeValueInArray(arrayControl: UntypedFormArray, index: number, opts?: {
|
|
127
|
-
emitEvent?: boolean;
|
|
128
|
-
}): boolean;
|
|
129
|
-
export declare function clearValueInArray(arrayControl: UntypedFormArray, isEmpty: (value: any) => boolean, index: number, opts?: {
|
|
130
|
-
onlySelf?: boolean;
|
|
131
|
-
emitEvent?: boolean;
|
|
132
|
-
}): boolean;
|
|
133
|
-
export declare function markAllAsTouched(control: AbstractControl, opts?: {
|
|
134
|
-
onlySelf?: boolean;
|
|
135
|
-
emitEvent?: boolean;
|
|
136
|
-
}): void;
|
|
137
|
-
export declare function markFormGroupAsTouched(form: UntypedFormGroup, opts?: {
|
|
138
|
-
onlySelf?: boolean;
|
|
139
|
-
emitEvent?: boolean;
|
|
140
|
-
}): void;
|
|
141
|
-
export declare function markControlAsTouched(control: AbstractControl, opts?: {
|
|
142
|
-
onlySelf?: boolean;
|
|
143
|
-
emitEvent?: boolean;
|
|
144
|
-
}): void;
|
|
145
|
-
export declare function updateValueAndValidity(form: UntypedFormGroup, opts?: {
|
|
146
|
-
onlySelf?: boolean;
|
|
147
|
-
emitEvent?: boolean;
|
|
148
|
-
}): void;
|
|
149
|
-
export declare function markAsUntouched(form: UntypedFormGroup, opts?: {
|
|
150
|
-
onlySelf?: boolean;
|
|
151
|
-
}): void;
|
|
152
|
-
/**
|
|
153
|
-
* Wait end of async validation (not pending). This need to implement {pending: boolean}
|
|
154
|
-
* return false
|
|
155
|
-
*/
|
|
156
|
-
export declare function waitWhilePending<T extends {
|
|
157
|
-
pending: boolean;
|
|
158
|
-
}>(form: T, opts?: WaitForOptions): Promise<void>;
|
|
159
|
-
/**
|
|
160
|
-
* Wait form is idle (not loading). This need to implement {loading: boolean}
|
|
161
|
-
*
|
|
162
|
-
* @param form
|
|
163
|
-
* @param opts
|
|
164
|
-
*/
|
|
165
|
-
export declare function waitIdle<T extends {
|
|
166
|
-
loading: boolean;
|
|
167
|
-
}>(form: T, opts?: WaitForOptions): Promise<void>;
|
|
168
|
-
export declare function filterFormErrorsByPrefix(errors: FormErrors, ...prefixes: string[]): FormErrors;
|
|
169
|
-
export declare function filterFormErrorsByPath(errors: FormErrors, filter: Predicate<string>): FormErrors;
|
|
170
|
-
export declare function filterFormErrors(errors: FormErrors, filter: Predicate<[string, any]>): FormErrors;
|
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
import { KeysEnum, KeyValueType } from './types';
|
|
2
|
-
import { RegExpUtils } from './regexps';
|
|
3
|
-
export declare function isNil<T>(obj: T | null | undefined): boolean;
|
|
4
|
-
export declare function isNilOrBlank<T>(obj: T | null | undefined): boolean;
|
|
5
|
-
export declare function isNotNil<T>(obj: T | null | undefined): boolean;
|
|
6
|
-
export declare function isNotNilOrBlank<T>(obj: T | null | undefined): boolean;
|
|
7
|
-
export declare function isNotNilOrNaN<T>(obj: T | null | undefined): boolean;
|
|
8
|
-
export declare function isNilOrNaN<T>(obj: T | null | undefined): boolean;
|
|
9
|
-
export declare function isNotEmptyArray<T>(obj: T[] | readonly T[] | null | undefined): boolean;
|
|
10
|
-
export declare function firstArrayValue<T>(obj: T[] | null | undefined): T | undefined;
|
|
11
|
-
export declare function lastArrayValue<T>(obj: T[] | null | undefined): T | undefined;
|
|
12
|
-
export declare function isEmptyArray<T>(obj: T[] | null | undefined): boolean;
|
|
13
|
-
export declare function arrayResize<T>(array: T[] | null | undefined, size: number, defaultValue?: T): T[];
|
|
14
|
-
export declare function newArray<T>(size: number, defaultValue?: T): T[];
|
|
15
|
-
export declare function isNotNilBoolean(obj: any | null | undefined): obj is boolean;
|
|
16
|
-
export declare function isNotNilString(obj: any | null | undefined): obj is string;
|
|
17
|
-
export declare function isNotNilObject(obj: any | null | undefined): obj is object;
|
|
18
|
-
export declare function isBlankString(obj: any | null | undefined): obj is string;
|
|
19
|
-
export declare function notNilOrDefault<T>(obj: T | null | undefined, defaultValue: T): T;
|
|
20
|
-
export declare function arraySize<T>(obj: T[] | null | undefined): number;
|
|
21
|
-
/**
|
|
22
|
-
* Remove duplicated value, in array. Will compute a unique key (from given properties, or given function).
|
|
23
|
-
* If propertiesOrKeyFn is nil or undefined, will use all object properties
|
|
24
|
-
*
|
|
25
|
-
* @param values
|
|
26
|
-
* @param propertiesOrKeyFn
|
|
27
|
-
*/
|
|
28
|
-
export declare function arrayDistinct<T = any>(values: T[], propertiesOrKeyFn?: string | string[] | ((obj: T) => string)): T[];
|
|
29
|
-
export declare function nullIfUndefined<T>(obj: T | null | undefined): T | null;
|
|
30
|
-
export declare function nullIfNilOrBlank<T>(obj: T | null | undefined): T | null;
|
|
31
|
-
export declare function undefinedIfNull<T>(obj: T | null | undefined): T | undefined;
|
|
32
|
-
export declare function trimEmptyToNull<T>(str: string | null | undefined): string | null;
|
|
33
|
-
export declare function toBoolean(obj: boolean | null | undefined | string, defaultValue?: boolean): boolean;
|
|
34
|
-
export declare function toNumber(obj: number | null | undefined | string, defaultValue?: number): number;
|
|
35
|
-
export declare function toFloat(obj: string | null | undefined, defaultValue?: number): number | null;
|
|
36
|
-
export declare function toInt(obj: string | null | undefined, defaultValue?: number): number | null;
|
|
37
|
-
export declare function toNotNil<T = any>(obj: T, defaultValue?: T): any | null;
|
|
38
|
-
export declare function removeDuplicatesFromArray<T>(obj: T[] | null | undefined, property?: string): T[] | null | undefined;
|
|
39
|
-
export declare function startsWithUpperCase(input: string, search: string): boolean;
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated Use Regexps.matchUpperCase instead
|
|
42
|
-
*/
|
|
43
|
-
export declare const matchUpperCase: typeof RegExpUtils.matchUpperCase;
|
|
44
|
-
/**
|
|
45
|
-
* Remove trailing slash if any. Examples :
|
|
46
|
-
* - '/test/' -> '/test'
|
|
47
|
-
* - '/' -> undefined
|
|
48
|
-
*/
|
|
49
|
-
export declare function noTrailingSlash(path: string): string;
|
|
50
|
-
export declare function replaceAll(value: string, searchString: any, replacement: any): string | undefined;
|
|
51
|
-
export declare function escapeRegExp(value: string): string;
|
|
52
|
-
export declare function removeEnd(value: string, end: string): string;
|
|
53
|
-
/**
|
|
54
|
-
* Replace case change by an underscore (.e.g 'myString' becomes 'my_string')
|
|
55
|
-
*
|
|
56
|
-
* @param value
|
|
57
|
-
*/
|
|
58
|
-
export declare function changeCaseToUnderscore(value: string): string;
|
|
59
|
-
/**
|
|
60
|
-
* Replace underscore by a change case (.e.g 'MY_STRING' becomes 'MyString')
|
|
61
|
-
*
|
|
62
|
-
* @param value
|
|
63
|
-
*/
|
|
64
|
-
export declare function underscoreToChangeCase(value: string): string;
|
|
65
|
-
export declare function removeDiacritics(text: string): string;
|
|
66
|
-
export declare function suggestFromStringArray(values: string[], searchText: any, opts?: {
|
|
67
|
-
anySearch?: boolean;
|
|
68
|
-
}): string[];
|
|
69
|
-
export declare function joinPropertiesPath<T = any>(obj: T, properties: string[], separator?: string): string | undefined;
|
|
70
|
-
export declare function joinProperties<T = any, K extends keyof T = any>(obj: T, keys: K[], separator?: string): string | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Generic comparison between two values.
|
|
73
|
-
*
|
|
74
|
-
* Compares two values using the JavaScript greater-than operator.
|
|
75
|
-
* Works for numbers, strings, dates, and any types that provide
|
|
76
|
-
* a meaningful `>` comparison. Use for ascending order.
|
|
77
|
-
*
|
|
78
|
-
* @typeParam T - Type of the compared values.
|
|
79
|
-
* @param a - Left value to compare.
|
|
80
|
-
* @param b - Right value to compare.
|
|
81
|
-
* @returns 0 if equal, -1 if a < b, 1 if a > b.
|
|
82
|
-
*/
|
|
83
|
-
export declare function compareValues<T>(a: T, b: T): number;
|
|
84
|
-
/**
|
|
85
|
-
* Reverse comparison between two values (descending order).
|
|
86
|
-
*
|
|
87
|
-
* Same semantics as {@link compareValues} but inverted, to sort
|
|
88
|
-
* in descending order.
|
|
89
|
-
*
|
|
90
|
-
* @typeParam T - Type of the compared values.
|
|
91
|
-
* @param a - Left value to compare.
|
|
92
|
-
* @param b - Right value to compare.
|
|
93
|
-
* @returns 0 if equal, 1 if a < b, -1 if a > b.
|
|
94
|
-
*/
|
|
95
|
-
export declare function compareValuesDesc<T>(a: T, b: T): number;
|
|
96
|
-
/**
|
|
97
|
-
* Build a comparator function based on a nested property path.
|
|
98
|
-
*
|
|
99
|
-
* Uses {@link getPropertyByPath} to extract values and compares them
|
|
100
|
-
* in ascending or descending order.
|
|
101
|
-
*
|
|
102
|
-
* @typeParam T - Type of compared objects.
|
|
103
|
-
* @param path - Property path or array path (e.g. "a.b[0].c").
|
|
104
|
-
* @param direction - Sort direction, 'asc' by default.
|
|
105
|
-
* @param nullsFirst
|
|
106
|
-
* @returns A comparator compatible with `Array.prototype.sort`.
|
|
107
|
-
*/
|
|
108
|
-
export declare function propertyPathComparator<T = any>(path: string | string[], direction?: 'asc' | 'desc', nullsFirst?: boolean): (a: T, b: T) => number;
|
|
109
|
-
/**
|
|
110
|
-
* Build a comparator based on a direct property of the compared objects.
|
|
111
|
-
*
|
|
112
|
-
* Falls back to `defaultValue` when the property is `undefined` on an item.
|
|
113
|
-
*
|
|
114
|
-
* @typeParam T - Type of compared objects.
|
|
115
|
-
* @typeParam K - Key of the property in `T`.
|
|
116
|
-
* @param property - Property name to compare.
|
|
117
|
-
* @param direction - Sort direction, 'asc' by default.
|
|
118
|
-
* @param nullsFirst - If true, nil values are placed first, else last. By default, 'false' if direction='asc', 'true' if direction='desc'
|
|
119
|
-
* @returns A comparator compatible with `Array.prototype.sort`.
|
|
120
|
-
*/
|
|
121
|
-
export declare function propertyComparator<T = any, K extends keyof T = any>(property: K, direction?: 'asc' | 'desc', nullsFirst?: boolean): (a: T, b: T) => number;
|
|
122
|
-
/**
|
|
123
|
-
* Build a comparator using multiple property paths as tie-breakers.
|
|
124
|
-
*
|
|
125
|
-
* Each key in `keys` is resolved via {@link getPropertyByPath}. The first
|
|
126
|
-
* non-zero comparison result is returned. If provided, `defaultValues[i]`
|
|
127
|
-
* is used when a value at `keys[i]` is undefined.
|
|
128
|
-
*
|
|
129
|
-
* @typeParam T - Type of compared objects.
|
|
130
|
-
* @param keys - Ordered list of property paths to compare.
|
|
131
|
-
* @param direction - Sort direction applied to each key, 'asc' by default.
|
|
132
|
-
* @param nullsFirst - Optional
|
|
133
|
-
* @throws Error when `keys` is empty or when `defaultValues` length is invalid.
|
|
134
|
-
* @returns A comparator compatible with `Array.prototype.sort`.
|
|
135
|
-
*/
|
|
136
|
-
export declare function propertiesPathComparator<T = any>(keys: string[], direction?: 'asc' | 'desc', nullsFirst?: boolean): (a: T, b: T) => number;
|
|
137
|
-
/**
|
|
138
|
-
* Compose a comparator from multiple comparators (multi-level sort).
|
|
139
|
-
*
|
|
140
|
-
* Each comparator is applied sequentially. The first non-zero result is
|
|
141
|
-
* returned, allowing you to define primary, secondary, tertiary criteria, etc.
|
|
142
|
-
* If all comparators return 0, the items are considered equivalent.
|
|
143
|
-
*
|
|
144
|
-
* @typeParam T - Type of the compared items.
|
|
145
|
-
* @param comparators - List of comparator functions to apply in order.
|
|
146
|
-
* @returns A comparator compatible with `Array.prototype.sort`.
|
|
147
|
-
*/
|
|
148
|
-
export declare function composeComparators<T>(...comparators: Array<(a: T, b: T) => number>): (a: T, b: T) => number;
|
|
149
|
-
export declare function sort<T>(array: T[], attribute?: string, opts?: Intl.CollatorOptions): T[];
|
|
150
|
-
export declare function isInt(value: string): boolean;
|
|
151
|
-
export declare function isNumber(value: string): boolean;
|
|
152
|
-
export declare function isNumberRange(value: string): boolean;
|
|
153
|
-
export declare function getPropertyByPath(obj: any, path: string | Array<string | number>, defaultValue?: any): any;
|
|
154
|
-
export declare function getProperty<T = any, K extends keyof T = any>(obj: T, key: K): T[K];
|
|
155
|
-
export declare function getPropertyByPathAsString(obj: any, path: string | string[], defaultValue?: string): string | undefined;
|
|
156
|
-
/**
|
|
157
|
-
* Update an object's property, using a path (like '<property_1>.<sub_property_1>')
|
|
158
|
-
* @param obj
|
|
159
|
-
* @param path
|
|
160
|
-
* @param value
|
|
161
|
-
* @return the given obj
|
|
162
|
-
*/
|
|
163
|
-
export declare function setPropertyByPath<T = any>(obj: T, path: string | string[], value: any): T;
|
|
164
|
-
export declare function sleep(ms: number): Promise<void>;
|
|
165
|
-
export declare function isPromise<T>(value: T | Promise<T>): value is Promise<T>;
|
|
166
|
-
/**
|
|
167
|
-
* Rounds a numeric value to 'nbDecimal' decimal places.
|
|
168
|
-
*
|
|
169
|
-
* @param {number | undefined | null} value - The value to be rounded. Can be a number, undefined, or null.
|
|
170
|
-
* @param nbDecimal the number of decimal (default: 2)
|
|
171
|
-
* @return {number} The rounded value with two decimal places if the input value is a valid number; otherwise, returns the input value.
|
|
172
|
-
*/
|
|
173
|
-
export declare function round(value: number | undefined | null, nbDecimal?: number): number;
|
|
174
|
-
export declare function equalsOrNil(value1: any, value2: any): boolean;
|
|
175
|
-
/**
|
|
176
|
-
* remove elements from an array
|
|
177
|
-
*
|
|
178
|
-
* @return the removed elements
|
|
179
|
-
* @param array the array on which elements will be removed
|
|
180
|
-
* @param predicate the selection predicate
|
|
181
|
-
*/
|
|
182
|
-
export declare function removeAll<T>(array: T[], predicate: (value: T) => boolean): T[];
|
|
183
|
-
/**
|
|
184
|
-
* remove the first element from an array
|
|
185
|
-
*
|
|
186
|
-
* @return the removed element
|
|
187
|
-
* @param array the array on which the element will be removed
|
|
188
|
-
* @param predicate the selection predicate
|
|
189
|
-
*/
|
|
190
|
-
export declare function remove<T>(array: T[], predicate: (value: T) => boolean): T;
|
|
191
|
-
export declare function capitalizeFirstLetter(value: string): string;
|
|
192
|
-
export declare function uncapitalizeFirstLetter(value: string): string;
|
|
193
|
-
export declare function booleanToString(value: any, opts?: {
|
|
194
|
-
yesLabel: string;
|
|
195
|
-
noLabel: string;
|
|
196
|
-
}): string;
|
|
197
|
-
export declare function splitByProperty<T, M extends KeyValueType<T> = KeyValueType<T>>(array: T[] | readonly T[], propertyName: keyof T | string): M;
|
|
198
|
-
export declare function splitById<T, M extends KeyValueType<T> = KeyValueType<T>>(array: T[] | readonly T[]): M;
|
|
199
|
-
/**
|
|
200
|
-
* Split an array, into a map of array, group by property
|
|
201
|
-
*/
|
|
202
|
-
export declare function collectByProperty<T>(values: T[], propertyName: keyof T, defaultValue?: string | number): KeyValueType<T[]>;
|
|
203
|
-
/**
|
|
204
|
-
* Split an array, into a map of array, group by property path
|
|
205
|
-
*/
|
|
206
|
-
export declare function collectByPropertyPath<T>(values: T[], propertyPath: string | Array<string | number>, defaultValue?: string | number): KeyValueType<T[]>;
|
|
207
|
-
/**
|
|
208
|
-
* Split an array into chunks with fixed size
|
|
209
|
-
*/
|
|
210
|
-
export declare function splitArrayInChunks<T = any>(value: T[], chunkSize: number): T[][];
|
|
211
|
-
/**
|
|
212
|
-
* Determines if two objects or two values are equivalent.
|
|
213
|
-
*
|
|
214
|
-
* Two objects or values are considered equivalent if at least one of the following is true:
|
|
215
|
-
*
|
|
216
|
-
* * Both objects or values pass `===` comparison.
|
|
217
|
-
* * Both objects or values are of the same type and all of their properties are equal by
|
|
218
|
-
* comparing them with `equals`.
|
|
219
|
-
*
|
|
220
|
-
* @param o1 Object or value to compare.
|
|
221
|
-
* @param o2 Object or value to compare.
|
|
222
|
-
* @returns true if arguments are equal.
|
|
223
|
-
*/
|
|
224
|
-
export declare function equals(o1: any, o2: any): boolean;
|
|
225
|
-
export declare class Beans {
|
|
226
|
-
/**
|
|
227
|
-
* Deep clone.
|
|
228
|
-
* See https://github.com/pvorb/clone
|
|
229
|
-
*/
|
|
230
|
-
static clone: any;
|
|
231
|
-
/**
|
|
232
|
-
* Copy a source object, by including only properties of the given dataType.
|
|
233
|
-
* IMPORTANT: extra properties that are NOT in the targetClass are NOT copied.
|
|
234
|
-
*
|
|
235
|
-
* @param source The source object to copy
|
|
236
|
-
* @param dataType the class to use as target class
|
|
237
|
-
* @param keys The keys to copy. If empty, will copy only NOT optional properties from the dataType
|
|
238
|
-
*/
|
|
239
|
-
static copy<T>(source: T, dataType: new () => T, keys?: KeysEnum<T>): T;
|
|
240
|
-
/**
|
|
241
|
-
* Says if an object all all properties to nil
|
|
242
|
-
*/
|
|
243
|
-
static isEmpty<T>(data: T, keys?: KeysEnum<T> | string[], opts?: {
|
|
244
|
-
blankStringLikeEmpty?: boolean;
|
|
245
|
-
}): boolean;
|
|
246
|
-
static collectById<T>(array: T[]): KeyValueType<T[]>;
|
|
247
|
-
static collectByProperty: typeof collectByProperty;
|
|
248
|
-
}
|
|
249
|
-
export declare function findParentWithClass(elem: HTMLElement, className: string): HTMLElement;
|
|
250
|
-
export declare function intersectArrays<T = any>(values: T[][]): T[];
|
|
251
|
-
/**
|
|
252
|
-
* Interpolates a string by replacing placeholders with corresponding values from the provided object.
|
|
253
|
-
*
|
|
254
|
-
* @param {string} message - The string containing placeholders enclosed in double curly braces (e.g., {{key}}).
|
|
255
|
-
* @param {Record<string, any>} interpolateParams - An object containing key-value pairs for interpolation.
|
|
256
|
-
* @return {string} The interpolated string with placeholders replaced by corresponding values, or the original string if no placeholders are matched.
|
|
257
|
-
*/
|
|
258
|
-
export declare function interpolateString(message: string, interpolateParams: Record<string, any>): string;
|
|
259
|
-
/**
|
|
260
|
-
*
|
|
261
|
-
* Transforms a value (typically a string) to a number.
|
|
262
|
-
* Intended to be used as a transform function of an input.
|
|
263
|
-
* Should return n=undefined when for a nil input
|
|
264
|
-
* @param value Value to be transformed.
|
|
265
|
-
* @param fallbackValue Value to use if the provided value can't be parsed as a number.
|
|
266
|
-
*
|
|
267
|
-
* @usageNotes
|
|
268
|
-
* ```ts
|
|
269
|
-
* @Input({ transform: numberAttribute }) id!: number;
|
|
270
|
-
* ```
|
|
271
|
-
*
|
|
272
|
-
* @publicApi
|
|
273
|
-
*/
|
|
274
|
-
export declare function numberOrNilAttribute(value: unknown, fallbackValue?: number): number | undefined | null;
|
|
275
|
-
/**
|
|
276
|
-
* Formats a given number according to the specified options.
|
|
277
|
-
*
|
|
278
|
-
* @param {number} val - The number to be formatted.
|
|
279
|
-
* @param {Intl.NumberFormatOptions & { fixedDecimals?: number }} [opts] - An optional object containing formatting options. It can include standard `Intl.NumberFormatOptions` properties and an additional `fixedDecimals` property to specify the number of fixed decimal places.
|
|
280
|
-
* @return {string} The formatted number as a string, based on the provided options.
|
|
281
|
-
*/
|
|
282
|
-
export declare function numberToString(val: number, opts?: Intl.NumberFormatOptions & {
|
|
283
|
-
fixedDecimals?: number;
|
|
284
|
-
}): string;
|
|
285
|
-
/**
|
|
286
|
-
* @deprecated USe assignSkipUndefined instead
|
|
287
|
-
*/
|
|
288
|
-
export declare function mergeObjectsWithoutUndefined(...objects: unknown[]): unknown;
|
|
289
|
-
/**
|
|
290
|
-
* Merges multiple objects into one, skipping properties with `undefined` values.
|
|
291
|
-
*
|
|
292
|
-
* @param target
|
|
293
|
-
* @param {...unknown[]} sources - The objects to be merged.
|
|
294
|
-
* @return {unknown} A new object that combines the properties of the provided objects, excluding `undefined` values.
|
|
295
|
-
*/
|
|
296
|
-
export declare function assignSkipUndefined(target: unknown, ...sources: unknown[]): unknown;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { PlatformService } from '../../core/services/platform.service';
|
|
2
|
-
import { Platform } from '@ionic/angular';
|
|
3
|
-
export declare class IPosition {
|
|
4
|
-
latitude: number;
|
|
5
|
-
longitude: number;
|
|
6
|
-
}
|
|
7
|
-
export declare abstract class GeolocationUtils {
|
|
8
|
-
static isNotNilAndValid(position: IPosition, opts?: {
|
|
9
|
-
debug?: boolean;
|
|
10
|
-
}): boolean;
|
|
11
|
-
static isNilOrInvalid(position: IPosition, opts?: {
|
|
12
|
-
debug?: boolean;
|
|
13
|
-
}): boolean;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated Use computeDistanceInNauticalMiles instead
|
|
16
|
-
* @param position1
|
|
17
|
-
* @param position2
|
|
18
|
-
*/
|
|
19
|
-
static computeDistanceInMiles(position1: IPosition, position2: IPosition): number;
|
|
20
|
-
static computeDistanceInNauticalMiles(position1: IPosition, position2: IPosition): number;
|
|
21
|
-
/**
|
|
22
|
-
* Get the position by geo loc sensor
|
|
23
|
-
*/
|
|
24
|
-
static getCurrentPosition(platform: PlatformService | Platform, options?: PositionOptions): Promise<IPosition>;
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HammerGestureConfig } from '@angular/platform-browser';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const HAMMER_TAP_TIME = 250;
|
|
4
|
-
export declare const HAMMER_PRESS_TIME = 400;
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
* This class overrides the default Angular gesture config.
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export declare class AppGestureConfig extends HammerGestureConfig {
|
|
11
|
-
overrides: any;
|
|
12
|
-
buildHammer(element: HTMLElement): any;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppGestureConfig, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppGestureConfig>;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type HammerSwipeAction = 'swipeleft' | 'swiperight';
|
|
2
|
-
export declare interface HammerSwipeEvent extends Event {
|
|
3
|
-
type: HammerSwipeAction;
|
|
4
|
-
pointerType?: 'touch' | any;
|
|
5
|
-
center?: {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
};
|
|
9
|
-
distance?: number;
|
|
10
|
-
velocity?: number;
|
|
11
|
-
srcEvent?: Event;
|
|
12
|
-
}
|
|
13
|
-
export declare interface HammerTapEvent extends Event {
|
|
14
|
-
tapCount?: number;
|
|
15
|
-
srcEvent?: Event;
|
|
16
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare function rgbToHex(r: number, g: number, b: number): string;
|
|
2
|
-
export declare function rgbArrayToHex(rgb: number[]): string;
|
|
3
|
-
export declare function hexToRgbArray(hex: string): number[];
|
|
4
|
-
export declare function hexToRgb(hex: string): {
|
|
5
|
-
r: number;
|
|
6
|
-
g: number;
|
|
7
|
-
b: number;
|
|
8
|
-
};
|
|
9
|
-
export declare function mixHex(color1: string, color2: string, weight?: number): string;
|
|
10
|
-
export declare function getColorShade(color: string): string;
|
|
11
|
-
export declare function getColorTint(color: string): string;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @param color
|
|
15
|
-
* @param bw if true, will use black or white color, instead of the exact inverse
|
|
16
|
-
*/
|
|
17
|
-
export declare function getColorContrast(color: string, bw?: boolean): string;
|
|
18
|
-
/**
|
|
19
|
-
* Determine the luminance of a color
|
|
20
|
-
* Uses coefficients from http://stackoverflow.com/a/3943023/112731
|
|
21
|
-
*
|
|
22
|
-
* Note: Color must be in hex format (e.g. "#RRGGBB").
|
|
23
|
-
* @param color Hex color string
|
|
24
|
-
* @returns th color luminance
|
|
25
|
-
*/
|
|
26
|
-
export declare function getColorLuminance(color: string): number;
|
|
27
|
-
/**
|
|
28
|
-
* Determine if a color is considered light based on perceived luminance.
|
|
29
|
-
*
|
|
30
|
-
* Note: Color must be in hex format (e.g. "#RRGGBB").
|
|
31
|
-
* @param color Hex color string
|
|
32
|
-
* @returns true if the color is light, false otherwise
|
|
33
|
-
*/
|
|
34
|
-
export declare function isLightColor(color: string): boolean;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { PredefinedColors } from '@ionic/core';
|
|
2
|
-
export type ColorName = PredefinedColors | 'white' | 'red' | 'green' | 'blue';
|
|
3
|
-
/**
|
|
4
|
-
* Useful class for color conversion
|
|
5
|
-
*/
|
|
6
|
-
export declare class Color {
|
|
7
|
-
private _rgbArray;
|
|
8
|
-
private _opacity?;
|
|
9
|
-
private _name;
|
|
10
|
-
static get(name: ColorName): Color;
|
|
11
|
-
static parseRgba(rgba: string): Color | null;
|
|
12
|
-
static transparent: () => Color;
|
|
13
|
-
constructor(_rgbArray: number[], _opacity?: number, _name?: string);
|
|
14
|
-
get name(): string;
|
|
15
|
-
get opacity(): number;
|
|
16
|
-
get rgb(): number[];
|
|
17
|
-
get r(): number;
|
|
18
|
-
get g(): number;
|
|
19
|
-
get b(): number;
|
|
20
|
-
rgba(opacity?: number): string;
|
|
21
|
-
}
|
|
22
|
-
export declare interface ColorGradientOptions {
|
|
23
|
-
startColor?: number[];
|
|
24
|
-
mainColor?: number[];
|
|
25
|
-
mainColorIndex?: number;
|
|
26
|
-
endColor?: number[];
|
|
27
|
-
}
|
|
28
|
-
export declare interface ColorScaleOptions extends ColorGradientOptions {
|
|
29
|
-
opacity?: number;
|
|
30
|
-
min?: number;
|
|
31
|
-
max?: number;
|
|
32
|
-
upperMax?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export declare interface ColorScaleLegendItem {
|
|
35
|
-
label: string | number[];
|
|
36
|
-
color: Color;
|
|
37
|
-
}
|
|
38
|
-
export declare interface ColorScaleLegend {
|
|
39
|
-
items: ColorScaleLegendItem[];
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Helper class for colors scale
|
|
43
|
-
*/
|
|
44
|
-
export declare class ColorScale {
|
|
45
|
-
static custom: (count: number, options?: ColorScaleOptions) => ColorScale;
|
|
46
|
-
static default(): ColorScale;
|
|
47
|
-
/**
|
|
48
|
-
* Create an array with the given color
|
|
49
|
-
**/
|
|
50
|
-
static fix(length?: number, colorName?: ColorName): string[];
|
|
51
|
-
private _min;
|
|
52
|
-
private _max;
|
|
53
|
-
private _rangeSize;
|
|
54
|
-
private _legendItems;
|
|
55
|
-
get min(): number;
|
|
56
|
-
get max(): number;
|
|
57
|
-
constructor(colorArray: number[][], options?: ColorScaleOptions);
|
|
58
|
-
get legend(): ColorScaleLegend;
|
|
59
|
-
getValueColor(value: number): Color;
|
|
60
|
-
getLegendForValue(value: number): ColorScaleLegendItem;
|
|
61
|
-
getLegendAtIndex(index: number): ColorScaleLegendItem;
|
|
62
|
-
protected computeLegendItems(colorArray: number[][]): ColorScaleLegendItem[];
|
|
63
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { AlertController } from '@ionic/angular';
|
|
4
|
-
import { CanLeave } from '../../core/form/form.utils';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ComponentDirtyGuard implements CanDeactivate<CanLeave> {
|
|
7
|
-
protected translate: TranslateService;
|
|
8
|
-
protected alertCtrl: AlertController;
|
|
9
|
-
private debug;
|
|
10
|
-
constructor(translate: TranslateService, alertCtrl: AlertController);
|
|
11
|
-
canDeactivate(component: CanLeave, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState: RouterStateSnapshot): Promise<boolean | UrlTree>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentDirtyGuard, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentDirtyGuard>;
|
|
14
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class HotkeysDialogComponent {
|
|
3
|
-
protected data: any;
|
|
4
|
-
hotkeys: any[];
|
|
5
|
-
constructor(data: any);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HotkeysDialogComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HotkeysDialogComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|