@sumaris-net/ngx-components 2.7.2-rc9 → 2.7.3-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/doc/changelog.md +36 -0
- package/esm2022/public_api.mjs +11 -9
- package/esm2022/src/app/admin/admin-routing.module.mjs +10 -17
- package/esm2022/src/app/admin/admin.module.mjs +7 -9
- package/esm2022/src/app/admin/services/filter/person.filter.mjs +3 -3
- package/esm2022/src/app/admin/services/person.service.mjs +31 -31
- package/esm2022/src/app/admin/services/validator/person.validator.mjs +10 -10
- package/esm2022/src/app/admin/users/users.mjs +14 -7
- package/esm2022/src/app/admin/users/users.module.mjs +8 -10
- package/esm2022/src/app/core/about/about.modal.mjs +7 -7
- package/esm2022/src/app/core/about/about.module.mjs +8 -21
- package/esm2022/src/app/core/account/account.module.mjs +9 -15
- package/esm2022/src/app/core/account/account.page.mjs +5 -5
- package/esm2022/src/app/core/account/new-token.modal.mjs +9 -8
- package/esm2022/src/app/core/account/token.table.mjs +5 -5
- package/esm2022/src/app/core/auth/auth.form.mjs +9 -9
- package/esm2022/src/app/core/auth/auth.modal.mjs +6 -6
- package/esm2022/src/app/core/auth/auth.module.mjs +9 -9
- package/esm2022/src/app/core/core.module.mjs +17 -46
- package/esm2022/src/app/core/core.testing.module.mjs +15 -15
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +16 -15
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +9 -13
- package/esm2022/src/app/core/form/entity/editor.class.mjs +87 -89
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +12 -17
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +31 -32
- package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +5 -5
- package/esm2022/src/app/core/form/entity/entity.module.mjs +8 -14
- package/esm2022/src/app/core/form/form.class.mjs +12 -12
- package/esm2022/src/app/core/form/form.module.mjs +8 -8
- package/esm2022/src/app/core/form/form.utils.mjs +25 -23
- package/esm2022/src/app/core/form/list/list.form.mjs +13 -12
- package/esm2022/src/app/core/form/list/list.module.mjs +8 -12
- package/esm2022/src/app/core/form/properties/properties.form.mjs +12 -15
- package/esm2022/src/app/core/form/properties/properties.module.mjs +9 -15
- package/esm2022/src/app/core/form/properties/properties.table.mjs +24 -26
- package/esm2022/src/app/core/form/properties/property.validator.mjs +6 -6
- package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +18 -18
- package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +8 -24
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +9 -8
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +10 -25
- package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +6 -6
- package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +9 -13
- package/esm2022/src/app/core/graphql/graphql.module.mjs +8 -13
- package/esm2022/src/app/core/graphql/graphql.service.mjs +71 -95
- package/esm2022/src/app/core/graphql/graphql.utils.mjs +12 -11
- package/esm2022/src/app/core/home/home.mjs +26 -27
- package/esm2022/src/app/core/home/home.module.mjs +10 -19
- package/esm2022/src/app/core/icon/icon.component.mjs +5 -5
- package/esm2022/src/app/core/icon/icon.module.mjs +8 -17
- package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +33 -37
- package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +9 -13
- package/esm2022/src/app/core/menu/menu.component.mjs +5 -6
- package/esm2022/src/app/core/menu/menu.model.mjs +21 -18
- package/esm2022/src/app/core/menu/menu.module.mjs +7 -12
- package/esm2022/src/app/core/menu/menu.service.mjs +44 -60
- package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +4 -4
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +5 -5
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +5 -5
- package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +8 -27
- package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +6 -7
- package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +9 -13
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +8 -9
- package/esm2022/src/app/core/peer/select-peer.module.mjs +10 -19
- package/esm2022/src/app/core/register/register-confirm.page.mjs +12 -12
- package/esm2022/src/app/core/register/register.form.mjs +5 -5
- package/esm2022/src/app/core/register/register.modal.mjs +6 -6
- package/esm2022/src/app/core/register/register.module.mjs +8 -29
- package/esm2022/src/app/core/services/account.service.mjs +172 -160
- package/esm2022/src/app/core/services/auth-guard.service.mjs +13 -15
- package/esm2022/src/app/core/services/base-entity-service.class.mjs +51 -60
- package/esm2022/src/app/core/services/base-graphql-service.class.mjs +39 -33
- package/esm2022/src/app/core/services/base58.mjs +8 -4
- package/esm2022/src/app/core/services/config/core.config.mjs +37 -37
- package/esm2022/src/app/core/services/config.service.mjs +51 -49
- package/esm2022/src/app/core/services/crypto.service.mjs +11 -11
- package/esm2022/src/app/core/services/errors.mjs +3 -3
- package/esm2022/src/app/core/services/local-settings.service.mjs +36 -37
- package/esm2022/src/app/core/services/model/account.model.mjs +12 -17
- package/esm2022/src/app/core/services/model/config.model.mjs +5 -5
- package/esm2022/src/app/core/services/model/department.model.mjs +3 -2
- package/esm2022/src/app/core/services/model/entity.decorators.mjs +6 -6
- package/esm2022/src/app/core/services/model/entity.model.mjs +25 -25
- package/esm2022/src/app/core/services/model/filter.model.mjs +12 -15
- package/esm2022/src/app/core/services/model/history.model.mjs +1 -1
- package/esm2022/src/app/core/services/model/model.enum.mjs +2 -2
- package/esm2022/src/app/core/services/model/peer.model.mjs +9 -8
- package/esm2022/src/app/core/services/model/person.model.mjs +18 -17
- package/esm2022/src/app/core/services/model/referential.model.mjs +13 -13
- package/esm2022/src/app/core/services/model/settings.model.mjs +1 -1
- package/esm2022/src/app/core/services/model/token.model.mjs +2 -3
- package/esm2022/src/app/core/services/model/tree-item-entity.model.mjs +2 -6
- package/esm2022/src/app/core/services/network.service.mjs +42 -43
- package/esm2022/src/app/core/services/network.types.mjs +1 -1
- package/esm2022/src/app/core/services/network.utils.mjs +3 -3
- package/esm2022/src/app/core/services/pipes/account.pipes.mjs +11 -11
- package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +6 -6
- package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +6 -6
- package/esm2022/src/app/core/services/pipes/pipes.module.mjs +54 -0
- package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +21 -0
- package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +11 -11
- package/esm2022/src/app/core/services/platform.service.mjs +45 -49
- package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +32 -39
- package/esm2022/src/app/core/services/storage/entity-store.class.mjs +36 -45
- package/esm2022/src/app/core/services/testing/referential-filter.model.mjs +1 -1
- package/esm2022/src/app/core/services/testing/referential.validator.mjs +14 -14
- package/esm2022/src/app/core/services/validator/account.validator.mjs +5 -5
- package/esm2022/src/app/core/services/validator/base.validator.class.mjs +4 -4
- package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +13 -13
- package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +5 -5
- package/esm2022/src/app/core/services/validator/user-token.validator.mjs +12 -9
- package/esm2022/src/app/core/settings/settings.module.mjs +8 -21
- package/esm2022/src/app/core/settings/settings.page.mjs +12 -17
- package/esm2022/src/app/core/table/actions-column.component.mjs +13 -5
- package/esm2022/src/app/core/table/async-table.class.mjs +106 -112
- package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +21 -26
- package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +26 -29
- package/esm2022/src/app/core/table/memory-table.class.mjs +4 -4
- package/esm2022/src/app/core/table/table-select-columns.component.mjs +8 -8
- package/esm2022/src/app/core/table/table.class.mjs +107 -110
- package/esm2022/src/app/core/table/table.model.mjs +1 -1
- package/esm2022/src/app/core/table/table.module.mjs +8 -12
- package/esm2022/src/app/core/table/table.utils.mjs +2 -4
- package/esm2022/src/app/core/table/testing/table-validator.service.mjs +3 -3
- package/esm2022/src/app/core/table/testing/table.testing.mjs +9 -9
- package/esm2022/src/app/core/table/testing/table.testing.module.mjs +8 -33
- package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +4 -4
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +28 -26
- package/esm2022/src/app/shared/alerts.mjs +37 -35
- package/esm2022/src/app/shared/audio/audio.mjs +25 -27
- package/esm2022/src/app/shared/audio/audio.testing.mjs +5 -5
- package/esm2022/src/app/shared/audio/audio.testing.module.mjs +10 -25
- package/esm2022/src/app/shared/capacitor/keyboard.mjs +5 -5
- package/esm2022/src/app/shared/capacitor/plugins.mjs +1 -1
- package/esm2022/src/app/shared/constants.mjs +2 -3
- package/esm2022/src/app/shared/dates.mjs +5 -8
- package/esm2022/src/app/shared/debug/debug-service.class.mjs +1 -1
- package/esm2022/src/app/shared/debug/debug.component.mjs +5 -5
- package/esm2022/src/app/shared/debug/debug.module.mjs +8 -29
- package/esm2022/src/app/shared/directives/autofocus.directive.mjs +8 -12
- package/esm2022/src/app/shared/directives/autotitle.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/directives.module.mjs +8 -29
- package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +4 -4
- package/esm2022/src/app/shared/directives/ng-var.directive.mjs +4 -4
- package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +3 -3
- package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +4 -4
- package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +4 -4
- package/esm2022/src/app/shared/events.mjs +6 -8
- package/esm2022/src/app/shared/file/csv.utils.mjs +22 -18
- package/esm2022/src/app/shared/file/file.service.mjs +11 -15
- package/esm2022/src/app/shared/file/file.utils.mjs +13 -11
- package/esm2022/src/app/shared/file/images.utils.mjs +4 -4
- package/esm2022/src/app/shared/file/json.utils.mjs +3 -4
- package/esm2022/src/app/shared/file/uri.utils.mjs +1 -1
- package/esm2022/src/app/shared/focusable.mjs +1 -1
- package/esm2022/src/app/shared/form/field.component.mjs +33 -30
- package/esm2022/src/app/shared/form/field.model.mjs +4 -4
- package/esm2022/src/app/shared/form/loading-spinner.mjs +5 -5
- package/esm2022/src/app/shared/forms.mjs +30 -33
- package/esm2022/src/app/shared/functions.mjs +70 -65
- package/esm2022/src/app/shared/geolocation/geolocation.utils.mjs +14 -14
- package/esm2022/src/app/shared/gesture/gesture-config.mjs +9 -9
- package/esm2022/src/app/shared/gesture/hammer.utils.mjs +1 -1
- package/esm2022/src/app/shared/graph/colors.utils.mjs +14 -18
- package/esm2022/src/app/shared/graph/graph-colors.mjs +16 -22
- package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +4 -4
- package/esm2022/src/app/shared/help/help.modal.mjs +6 -6
- package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +5 -5
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +10 -11
- package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +9 -27
- package/esm2022/src/app/shared/http/http.utils.mjs +1 -1
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +28 -27
- package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +13 -10
- package/esm2022/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +1 -1
- package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +14 -17
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +9 -13
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +14 -11
- package/esm2022/src/app/shared/image/image.model.mjs +1 -1
- package/esm2022/src/app/shared/image/image.module.mjs +8 -13
- package/esm2022/src/app/shared/image/image.service.mjs +14 -12
- package/esm2022/src/app/shared/inputs.mjs +19 -20
- package/esm2022/src/app/shared/interceptors/progess.interceptor.mjs +2 -3
- package/esm2022/src/app/shared/logging/log-level.model.mjs +1 -1
- package/esm2022/src/app/shared/logging/logger.model.mjs +2 -2
- package/esm2022/src/app/shared/logging/logging-service.class.mjs +17 -20
- package/esm2022/src/app/shared/logging/logging-service.module.mjs +6 -6
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +7 -10
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +87 -96
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +9 -15
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +2 -2
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +27 -26
- package/esm2022/src/app/shared/material/badge/badge.directive.mjs +45 -19
- package/esm2022/src/app/shared/material/badge/badge.module.mjs +8 -20
- package/esm2022/src/app/shared/material/badge/badge.test.mjs +5 -5
- package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +9 -13
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +262 -0
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +6 -6
- package/esm2022/src/app/shared/material/chips/chips.module.mjs +7 -11
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +69 -70
- package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +17 -17
- package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +5 -5
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +37 -36
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +26 -33
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +42 -38
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +20 -17
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +22 -20
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +18 -17
- package/esm2022/src/app/shared/material/duration/duration.module.mjs +5 -5
- package/esm2022/src/app/shared/material/duration/duration.utils.mjs +3 -6
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +23 -24
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +17 -15
- package/esm2022/src/app/shared/material/latlong/latlong.utils.mjs +22 -24
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +46 -41
- package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +5 -5
- package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +5 -5
- package/esm2022/src/app/shared/material/material.animations.mjs +22 -22
- package/esm2022/src/app/shared/material/material.module.mjs +11 -11
- package/esm2022/src/app/shared/material/material.testing.module.mjs +26 -27
- package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +8 -14
- package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +4 -4
- package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +15 -11
- package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +7 -11
- package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +8 -8
- package/esm2022/src/app/shared/material/testing/common.test.mjs +17 -15
- package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +6 -6
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +17 -16
- package/esm2022/src/app/shared/material/text/text-form.module.mjs +8 -8
- package/esm2022/src/app/shared/modules.mjs +1 -1
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +6 -7
- package/esm2022/src/app/shared/named-filter/named-filter.model.mjs +1 -1
- package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +5 -5
- package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +6 -6
- package/esm2022/src/app/shared/observables.mjs +14 -18
- package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +38 -38
- package/esm2022/src/app/shared/pipes/colors.pipe.mjs +5 -5
- package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +8 -10
- package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +14 -14
- package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +6 -6
- package/esm2022/src/app/shared/pipes/duration.pipe.mjs +6 -6
- package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +6 -13
- package/esm2022/src/app/shared/pipes/form.pipes.mjs +25 -25
- package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +14 -14
- package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +14 -14
- package/esm2022/src/app/shared/pipes/maps.pipe.mjs +17 -17
- package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +11 -14
- package/esm2022/src/app/shared/pipes/math.pipes.mjs +16 -16
- package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +5 -5
- package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +6 -6
- package/esm2022/src/app/shared/pipes/pipes.module.mjs +14 -22
- package/esm2022/src/app/shared/pipes/property.pipes.mjs +23 -25
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +47 -48
- package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +11 -11
- package/esm2022/src/app/shared/pipes/types.pipes.mjs +17 -17
- package/esm2022/src/app/shared/platforms.mjs +7 -5
- package/esm2022/src/app/shared/rx-state.module.mjs +7 -11
- package/esm2022/src/app/shared/services/entity-service.class.mjs +2 -2
- package/esm2022/src/app/shared/services/job.utils.mjs +7 -7
- package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +37 -35
- package/esm2022/src/app/shared/services/progress-bar.service.mjs +4 -4
- package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +11 -14
- package/esm2022/src/app/shared/services/startable-service.class.mjs +11 -17
- package/esm2022/src/app/shared/services/translate-context.service.mjs +17 -14
- package/esm2022/src/app/shared/services/validator-service.class.mjs +1 -1
- package/esm2022/src/app/shared/services.mjs +10 -10
- package/esm2022/src/app/shared/shared-routing.module.mjs +19 -18
- package/esm2022/src/app/shared/shared.module.mjs +30 -27
- package/esm2022/src/app/shared/shared.testing.module.mjs +6 -6
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +26 -28
- package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +8 -12
- package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +9 -17
- package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +10 -18
- package/esm2022/src/app/shared/storage/storage.service.mjs +4 -4
- package/esm2022/src/app/shared/storage/storage.utils.mjs +2 -2
- package/esm2022/src/app/shared/testing/observable.test.mjs +11 -13
- package/esm2022/src/app/shared/testing/tests.page.mjs +6 -6
- package/esm2022/src/app/shared/toast/toast.testing.mjs +10 -10
- package/esm2022/src/app/shared/toast/toast.testing.module.mjs +10 -25
- package/esm2022/src/app/shared/toast/toasts.mjs +9 -9
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +9 -7
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +10 -15
- package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +8 -39
- package/esm2022/src/app/shared/types.mjs +1 -1
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +8 -9
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +10 -25
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +7 -8
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +17 -18
- package/esm2022/src/app/shared/upload-file/upload-file.model.mjs +2 -3
- package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +52 -50
- package/esm2022/src/app/shared/validator/validators.mjs +30 -30
- package/esm2022/src/app/shared/version/versions.mjs +2 -2
- package/esm2022/src/app/social/job/job.module.mjs +8 -27
- package/esm2022/src/app/social/job/progression/job-progression.component.mjs +9 -9
- package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +27 -24
- package/esm2022/src/app/social/job/progression/job-progression.list.mjs +5 -7
- package/esm2022/src/app/social/job/progression/job-progression.model.mjs +1 -1
- package/esm2022/src/app/social/job/progression/job-progression.service.mjs +21 -17
- package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +5 -5
- package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +7 -7
- package/esm2022/src/app/social/job/testing/job.testing.module.mjs +8 -21
- package/esm2022/src/app/social/message/message.form.mjs +5 -5
- package/esm2022/src/app/social/message/message.modal.mjs +8 -8
- package/esm2022/src/app/social/message/message.model.mjs +8 -8
- package/esm2022/src/app/social/message/message.module.mjs +4 -4
- package/esm2022/src/app/social/message/message.service.mjs +7 -7
- package/esm2022/src/app/social/social.errors.mjs +2 -2
- package/esm2022/src/app/social/social.module.mjs +7 -32
- package/esm2022/src/app/social/social.testing.module.mjs +9 -20
- package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +17 -14
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +19 -22
- package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +47 -23
- package/esm2022/src/app/social/user-event/testing/user-event.testing.model.mjs +8 -8
- package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +8 -21
- package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +27 -15
- package/esm2022/src/app/social/user-event/user-event.model.mjs +1 -1
- package/esm2022/src/app/social/user-event/user-event.module.mjs +8 -28
- package/esm2022/src/app/social/user-event/user-event.service.mjs +56 -61
- package/esm2022/src/environments/environment.class.mjs +2 -1
- package/esm2022/src/environments/environment.loader.mjs +4 -4
- package/esm2022/src/environments/environment.mjs +2 -2
- package/fesm2022/sumaris-net.ngx-components.mjs +6263 -7492
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +12 -7
- package/public_api.d.ts +3 -8
- package/src/app/admin/users/users.d.ts +3 -2
- package/src/app/core/core.module.d.ts +21 -24
- package/src/app/core/form/form.utils.d.ts +1 -1
- package/src/app/core/services/config/core.config.d.ts +1 -1
- package/src/app/core/services/config.service.d.ts +3 -3
- package/src/app/core/services/local-settings.service.d.ts +2 -3
- package/src/app/core/services/model/entity.model.d.ts +3 -2
- package/src/app/core/services/model/settings.model.d.ts +2 -2
- package/src/app/core/services/pipes/department-to-string.pipe.d.ts +1 -1
- package/src/app/core/services/pipes/pipes.module.d.ts +11 -0
- package/src/app/core/services/pipes/referential-to-string.pipe.d.ts +12 -0
- package/src/app/core/table/actions-column.component.d.ts +3 -1
- package/src/app/shared/events.d.ts +1 -1
- package/src/app/shared/functions.d.ts +6 -5
- package/src/app/shared/graph/graph-colors.d.ts +1 -1
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +10 -10
- package/src/app/shared/image/gallery/image-gallery.module.d.ts +2 -1
- package/src/app/shared/image/gallery/testing/gallery.service.testing.d.ts +2 -2
- package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +2 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +1 -1
- package/src/app/shared/material/boolean/boolean.module.d.ts +1 -1
- package/src/app/shared/material/boolean/{material-boolean.d.ts → material.boolean.d.ts} +2 -2
- package/src/app/shared/material/material.module.d.ts +5 -6
- package/src/app/shared/material/material.testing.module.d.ts +14 -15
- package/src/app/shared/material/swipe/material.swipe.d.ts +1 -1
- package/src/app/shared/pipes/pipes.module.d.ts +1 -1
- package/src/app/shared/pipes/string.pipes.d.ts +4 -5
- package/src/app/shared/validator/validators.d.ts +13 -4
- package/src/app/social/job/progression/job-progression.list.d.ts +1 -3
- package/src/app/social/message/message.modal.d.ts +2 -2
- package/src/app/social/user-event/testing/user-event.testing.d.ts +1 -0
- package/src/app/social/user-event/testing/user-event.testing.service.d.ts +1 -0
- package/src/assets/manifest.json +1 -1
- package/src/environments/environment.class.d.ts +1 -0
- package/src/theme/_ngx-components.scss +1 -25
- package/src/theme/_ngx-components.tabs.scss +361 -0
- package/src/theme/_theme.scss +1 -0
- package/esm2022/src/app/shared/material/boolean/material-boolean.mjs +0 -262
- package/esm2022/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +0 -104
- package/esm2022/src/app/shared/material/numpad/numpad.component.mjs +0 -83
- package/esm2022/src/app/shared/material/numpad/numpad.container.mjs +0 -203
- package/esm2022/src/app/shared/material/numpad/numpad.content.mjs +0 -19
- package/esm2022/src/app/shared/material/numpad/numpad.directive.mjs +0 -168
- package/esm2022/src/app/shared/material/numpad/numpad.dom-service.mjs +0 -36
- package/esm2022/src/app/shared/material/numpad/numpad.model.mjs +0 -16
- package/esm2022/src/app/shared/material/numpad/numpad.module.mjs +0 -60
- package/esm2022/src/app/shared/material/numpad/testing/numpad.test.mjs +0 -48
- package/src/app/shared/material/numpad/numpad.append-to-input.directive.d.ts +0 -22
- package/src/app/shared/material/numpad/numpad.component.d.ts +0 -26
- package/src/app/shared/material/numpad/numpad.container.d.ts +0 -40
- package/src/app/shared/material/numpad/numpad.content.d.ts +0 -7
- package/src/app/shared/material/numpad/numpad.directive.d.ts +0 -35
- package/src/app/shared/material/numpad/numpad.dom-service.d.ts +0 -16
- package/src/app/shared/material/numpad/numpad.model.d.ts +0 -30
- package/src/app/shared/material/numpad/numpad.module.d.ts +0 -16
- package/src/app/shared/material/numpad/testing/numpad.test.d.ts +0 -13
|
@@ -23,6 +23,6 @@ import * as i21 from "@ionic/angular";
|
|
|
23
23
|
import * as i22 from "@ngx-translate/core";
|
|
24
24
|
export declare class SharedPipesModule {
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i13.ToStringPipe, typeof i13.
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i13.ToStringPipe, typeof i13.CapitalizePipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i1.PropertyFormatPipe, typeof i17.MatColorPipe, typeof i18.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe, typeof i18.AsFloatLabelTypePipe, typeof i19.MaskitoPlaceholderPipe], [typeof i20.CommonModule, typeof i21.IonicModule, typeof i22.TranslateModule], [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i5.DateFromNowPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i13.ToStringPipe, typeof i13.CapitalizePipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe, typeof i18.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe, typeof i18.AsFloatLabelTypePipe, typeof i19.MaskitoPlaceholderPipe]>;
|
|
27
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
|
|
28
28
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { IReferentialRef } from '../../core/services/model/referential.model';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class IsNotNilOrBlankPipe implements PipeTransform {
|
|
5
4
|
transform(value: string): boolean;
|
|
@@ -36,10 +35,10 @@ export declare class ToStringPipe implements PipeTransform {
|
|
|
36
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToStringPipe, never>;
|
|
37
36
|
static ɵpipe: i0.ɵɵPipeDeclaration<ToStringPipe, "toString", false>;
|
|
38
37
|
}
|
|
39
|
-
export declare class
|
|
40
|
-
transform(
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
42
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<
|
|
38
|
+
export declare class CapitalizePipe implements PipeTransform {
|
|
39
|
+
transform(value: string): string;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CapitalizePipe, never>;
|
|
41
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CapitalizePipe, "capitalize", false>;
|
|
43
42
|
}
|
|
44
43
|
export declare class StrLengthPipe implements PipeTransform {
|
|
45
44
|
transform(value: string): number;
|
|
@@ -57,12 +57,21 @@ export declare class SharedValidators {
|
|
|
57
57
|
static clearError(control: AbstractControl, errorCode: string): void;
|
|
58
58
|
}
|
|
59
59
|
export declare class SharedFormGroupValidators {
|
|
60
|
-
static dateRange(startDateField: string, endDateField: string,
|
|
60
|
+
static dateRange(startDateField: string, endDateField: string, opts?: {
|
|
61
|
+
msg?: string;
|
|
62
|
+
fieldOnly?: boolean;
|
|
63
|
+
} | string): ValidatorFn;
|
|
61
64
|
static dateMaxDuration(startDateField: string, endDateField: string, maxDuration: number, durationUnit?: moment.unitOfTime.Diff): ValidatorFn;
|
|
62
65
|
static dateMinDuration(startDateField: string, endDateField: string, minDuration: number, durationUnit?: moment.unitOfTime.Diff): ValidatorFn;
|
|
63
|
-
static requiredIf(fieldName: string, anotherFieldToCheck: string | AbstractControl
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
static requiredIf(fieldName: string, anotherFieldToCheck: string | AbstractControl, opts?: {
|
|
67
|
+
fieldOnly?: boolean;
|
|
68
|
+
}): ValidatorFn;
|
|
69
|
+
static requiredIfTrue(fieldName: string, anotherFieldToCheck: string | AbstractControl, opts?: {
|
|
70
|
+
fieldOnly?: boolean;
|
|
71
|
+
}): ValidatorFn;
|
|
72
|
+
static requiredIfEmpty(fieldName: string, anotherFieldToCheck: string, opts?: {
|
|
73
|
+
fieldOnly?: boolean;
|
|
74
|
+
}): ValidatorFn;
|
|
66
75
|
static propagateIfDirty(fieldName: string, fieldNameToPropagate: string, valueToPropagate: any): ValidatorFn;
|
|
67
76
|
/**
|
|
68
77
|
* Same as compose, but keep only the first errors (instead of the union)
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { JobProgression } from './job-progression.model';
|
|
3
2
|
import { IUserEventAction } from '../../user-event/user-event.model';
|
|
4
3
|
import { PopoverController } from '@ionic/angular';
|
|
@@ -8,13 +7,12 @@ export interface JobProgressionListOptions {
|
|
|
8
7
|
titleI18n?: string;
|
|
9
8
|
headerActions?: IUserEventAction[];
|
|
10
9
|
}
|
|
11
|
-
export declare class JobProgressionList implements
|
|
10
|
+
export declare class JobProgressionList implements JobProgressionListOptions {
|
|
12
11
|
protected popoverController: PopoverController;
|
|
13
12
|
titleI18n: string;
|
|
14
13
|
headerActions: IUserEventAction[];
|
|
15
14
|
jobProgressions: Observable<Observable<JobProgression>[]>;
|
|
16
15
|
constructor(popoverController: PopoverController);
|
|
17
|
-
ngOnInit(): void;
|
|
18
16
|
executeAction(event: Event, action: IUserEventAction): Promise<void>;
|
|
19
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionList, never>;
|
|
20
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionList, "app-job-progression-list", never, { "titleI18n": { "alias": "titleI18n"; "required": false; }; "headerActions": { "alias": "headerActions"; "required": false; }; "jobProgressions": { "alias": "jobProgressions"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -29,8 +29,8 @@ export declare class MessageModal implements OnInit, AfterViewInit, MessageModal
|
|
|
29
29
|
constructor(settings: LocalSettingsService, viewCtrl: ModalController, accountService: AccountService, cd: ChangeDetectorRef);
|
|
30
30
|
ngOnInit(): void;
|
|
31
31
|
ngAfterViewInit(): void;
|
|
32
|
-
cancel(
|
|
33
|
-
doSubmit(
|
|
32
|
+
cancel(): void;
|
|
33
|
+
doSubmit(): Promise<any>;
|
|
34
34
|
protected markForCheck(): void;
|
|
35
35
|
protected markAsLoading(opts?: {
|
|
36
36
|
emitEvent?: boolean;
|
|
@@ -29,6 +29,7 @@ export declare class UserEventTestingPage implements OnDestroy {
|
|
|
29
29
|
addRandom(value: number): void;
|
|
30
30
|
addNotificationWithDefaultAction(): void;
|
|
31
31
|
protected showMessage(text: string): Promise<void>;
|
|
32
|
+
replaceLastEvent(): void;
|
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserEventTestingPage, never>;
|
|
33
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserEventTestingPage, "job-progression-testing", never, {}, {}, never, never, false, never>;
|
|
34
35
|
}
|
|
@@ -21,6 +21,7 @@ export declare class UserEventTestService extends AbstractUserEventService<UserE
|
|
|
21
21
|
constructor(graphql: GraphqlService, accountService: AccountService, network: NetworkService, translate: TranslateService, environment: Environment);
|
|
22
22
|
fromObject(source: any): UserEventTest;
|
|
23
23
|
add(entity: UserEventTest): Promise<UserEventTest>;
|
|
24
|
+
replaceLast(entity: UserEventTest): Promise<void>;
|
|
24
25
|
asFilter(filter: Partial<any>): any;
|
|
25
26
|
count(filter: any, options?: {
|
|
26
27
|
fetchPolicy?: FetchPolicy;
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "2.7.
|
|
5
|
+
"version": "2.7.3-rc2",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
|
@@ -228,7 +228,7 @@ form.form-container {
|
|
|
228
228
|
|
|
229
229
|
.mdc-floating-label {
|
|
230
230
|
transform: unset !important;
|
|
231
|
-
left:
|
|
231
|
+
padding-left: 30px;
|
|
232
232
|
top: 20px;
|
|
233
233
|
}
|
|
234
234
|
}
|
|
@@ -838,30 +838,6 @@ mat-button-toggle.mat-button-toggle-checked.mat-button-toggle-disabled {
|
|
|
838
838
|
color: white;
|
|
839
839
|
}
|
|
840
840
|
|
|
841
|
-
// --------------------------------------------------
|
|
842
|
-
// Material tab group
|
|
843
|
-
// --------------------------------------------------
|
|
844
|
-
|
|
845
|
-
// --- Allow to hide headers
|
|
846
|
-
mat-tab-group.mat-tab-group-header-hidden .mat-mdc-tab-header {
|
|
847
|
-
display: none;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
// --- Allow to hide header's pagination
|
|
851
|
-
mat-tab-group.mat-tab-group-header-pagination-hidden .mat-tab-header-pagination {
|
|
852
|
-
display: none;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
// --- Allow to hide disabled headers
|
|
856
|
-
mat-tab-group.mat-tab-disabled-hidden .mat-tab-disabled {
|
|
857
|
-
display: none;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
// --- Allow to show disabled headers
|
|
861
|
-
mat-tab-group.mat-tab-disabled-visible .mat-tab-disabled {
|
|
862
|
-
display: inherit;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
841
|
// --------------------------------------------------
|
|
866
842
|
// Material menu
|
|
867
843
|
// --------------------------------------------------
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
// --------------------------------------------------
|
|
2
|
+
// Material tab group
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
// -- Keep Angular 14 tab style
|
|
5
|
+
.mat-mdc-tab-label-container {
|
|
6
|
+
--mat-tab-header-divider-color: rgba(0,0,0,.12) !important;
|
|
7
|
+
--mat-tab-header-divider-height: 1px !important;
|
|
8
|
+
}
|
|
9
|
+
.mat-mdc-tab-group, .mat-mdc-tab-nav-bar {
|
|
10
|
+
--mat-tab-header-active-label-text-color: #000000de !important;
|
|
11
|
+
--mat-tab-header-active-focus-label-text-color: #000000de !important;
|
|
12
|
+
--mat-tab-header-active-hover-label-text-color: #000000de !important;
|
|
13
|
+
}
|
|
14
|
+
.mat-mdc-tab-header {
|
|
15
|
+
--mat-tab-header-label-text-tracking: 0.0178571429em !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// --- Allow to hide headers
|
|
19
|
+
.mat-mdc-tab-group.mat-mdc-tab-group-header-hidden .mat-mdc-tab-header {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// --- Allow to hide header's pagination
|
|
24
|
+
.mat-mdc-tab-group.mat-mdc-tab-group-header-pagination-hidden .mat-mdc-tab-header-pagination {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// --- Allow to hide disabled headers
|
|
29
|
+
.mat-mdc-tab-group.mat-mdc-tab-disabled-hidden .mat-mdc-tab-disabled {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// --- Allow to show disabled headers
|
|
34
|
+
.mat-mdc-tab-group.mat-mdc-tab-disabled-visible .mat-mdc-tab-disabled {
|
|
35
|
+
display: inherit;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// --------------------------------------------------
|
|
39
|
+
// Material menu
|
|
40
|
+
// --------------------------------------------------
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
.mat-menu-panel {
|
|
44
|
+
|
|
45
|
+
// Max width = 400px
|
|
46
|
+
&.mat-menu-size-400 {
|
|
47
|
+
min-width: unset;
|
|
48
|
+
width: 400px;
|
|
49
|
+
max-width: calc(90vw);
|
|
50
|
+
}
|
|
51
|
+
// Max width = 75vw
|
|
52
|
+
&.mat-menu-size-75vw {
|
|
53
|
+
min-width: unset;
|
|
54
|
+
width: calc(75vw);
|
|
55
|
+
max-width: calc(90vw);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// No padding
|
|
59
|
+
&.ion-no-padding {
|
|
60
|
+
.mat-menu-content {
|
|
61
|
+
padding: 0 !important;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Small menu item (e.g. for actions on a table row)
|
|
66
|
+
&.mat-menu-small-item-height .mat-menu-item,
|
|
67
|
+
.mat-menu-item.mat-menu-item-small-height
|
|
68
|
+
{
|
|
69
|
+
padding: 0 8px;
|
|
70
|
+
height: 35px;
|
|
71
|
+
line-height: 35px;
|
|
72
|
+
}
|
|
73
|
+
// Reduce the font size, on label just inside a mat-menu (e.g. see trips.page.html)
|
|
74
|
+
.mat-menu-content > ion-label {
|
|
75
|
+
@include font-size(12px);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.mat-menu-content ion-item > ion-icon[slot="start"] {
|
|
79
|
+
margin-right: 16px;
|
|
80
|
+
vertical-align: middle;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Menu title (e.g. see extraction map)
|
|
84
|
+
.mat-menu-item.mat-menu-title {
|
|
85
|
+
padding: 0 8px;
|
|
86
|
+
height: 27px;
|
|
87
|
+
line-height: 27px;
|
|
88
|
+
@include font-size(12px);
|
|
89
|
+
pointer-events: none;
|
|
90
|
+
color: var(--ion-color-medium, rgba(0, 0, 0, 0.38));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// --------------------------------------------------
|
|
95
|
+
// Alert
|
|
96
|
+
// --------------------------------------------------
|
|
97
|
+
|
|
98
|
+
ion-alert button.alert-button {
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// --------------------------------------------------
|
|
103
|
+
// Date and time picker
|
|
104
|
+
// --------------------------------------------------
|
|
105
|
+
|
|
106
|
+
mat-calendar {
|
|
107
|
+
.mat-calendar-header {
|
|
108
|
+
background-color: var(--ion-color-secondary) !important;
|
|
109
|
+
color: var(--ion-color-secondary-contrast) !important;
|
|
110
|
+
|
|
111
|
+
button {
|
|
112
|
+
color: var(--ion-color-secondary-contrast) !important;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.mat-calendar-body-selected {
|
|
117
|
+
background-color: var(--ion-color-accent) !important;
|
|
118
|
+
color: var(--ion-color-accent-contrast) !important;
|
|
119
|
+
font-weight: bold;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.mat-calendar-arrow {
|
|
123
|
+
border-top-color: var(--ion-color-secondary-contrast) !important;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
.timepicker-backdrop-overlay {
|
|
129
|
+
background-color: rgba(0, 0, 0, 0.32);
|
|
130
|
+
z-index: 1000;
|
|
131
|
+
opacity: 1;
|
|
132
|
+
-webkit-tap-highlight-color: transparent;
|
|
133
|
+
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
ngx-material-timepicker-content {
|
|
137
|
+
--clock-hand-color: var(--ion-color-accent) !important;
|
|
138
|
+
--clock-face-time-active-color: var(--ion-color-accent-contrast) !important;
|
|
139
|
+
// TODO review !
|
|
140
|
+
//@extend .mat-dialog-container !optional;
|
|
141
|
+
|
|
142
|
+
.timepicker {
|
|
143
|
+
box-shadow: unset !important;
|
|
144
|
+
border-radius: 4px;
|
|
145
|
+
|
|
146
|
+
header {
|
|
147
|
+
--dial-background-color: var(--ion-color-secondary) !important;
|
|
148
|
+
color: var(--ion-color-secondary-contrast) !important;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
ngx-material-timepicker-dial-control {
|
|
153
|
+
outline-color: var(--ion-color-accent) !important;
|
|
154
|
+
input {
|
|
155
|
+
outline-color: inherit !important;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.mat-mdc-form-field-type-mat-chip-grid {
|
|
161
|
+
.mat-mdc-form-field-infix {
|
|
162
|
+
padding-bottom: 5px !important;
|
|
163
|
+
--mdc-chip-container-height: 24px !important;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
// --------------------------------------------------
|
|
169
|
+
// Pages
|
|
170
|
+
// --------------------------------------------------
|
|
171
|
+
ion-item {
|
|
172
|
+
ion-label.error {
|
|
173
|
+
line-height: 16px;
|
|
174
|
+
line-break: normal;
|
|
175
|
+
overflow: visible;
|
|
176
|
+
white-space: normal;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// --------------------------------------------------
|
|
181
|
+
// Modal
|
|
182
|
+
// --------------------------------------------------
|
|
183
|
+
|
|
184
|
+
ion-modal.stack-modal {
|
|
185
|
+
--box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4);
|
|
186
|
+
--backdrop-opacity: var(--ion-backdrop-opacity, 0.32);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
ion-modal.modal-large{
|
|
190
|
+
--min-height: calc(100% - 50px) !important;
|
|
191
|
+
--min-width: calc(100% - 100px) !important;
|
|
192
|
+
}
|
|
193
|
+
ion-modal.modal-fullscreen {
|
|
194
|
+
--min-height: calc(100%) !important;
|
|
195
|
+
--min-width: calc(100%) !important;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
// --------------------------------------------------
|
|
200
|
+
// Popover
|
|
201
|
+
// --------------------------------------------------
|
|
202
|
+
|
|
203
|
+
.popover-large {
|
|
204
|
+
--min-width: calc(min(500px, 80%));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.popover-notifications {
|
|
208
|
+
--popover-top: 0;
|
|
209
|
+
--max-height: calc(90vh - 40px /* header + footer height */ - var(--popover-top, 0px) - var(--offset-y, 0px));
|
|
210
|
+
|
|
211
|
+
ion-item {
|
|
212
|
+
--ion-item-background-color-hover: var(--ion-color-light);
|
|
213
|
+
&.unread {
|
|
214
|
+
--ion-item-background: rgba(var(--ion-color-secondary100-rgb), 0.2);
|
|
215
|
+
--ion-item-background-color-hover: rgba(var(--ion-color-secondary100-rgb), 0.3);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// --------------------------------------------------
|
|
221
|
+
// Large button with icon floating on right
|
|
222
|
+
// --------------------------------------------------
|
|
223
|
+
.flex-margin ion-icon,
|
|
224
|
+
.flex-margin span {
|
|
225
|
+
margin-left: auto;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// --------------------------------------------------
|
|
229
|
+
// Icon tooltip, and title
|
|
230
|
+
// --------------------------------------------------
|
|
231
|
+
// Fix Button icon name overrides button's own title on mouse over
|
|
232
|
+
/*ion-icon[name='chatbox'] {
|
|
233
|
+
pointer-events: none !important;
|
|
234
|
+
}*/
|
|
235
|
+
.mat-cell {
|
|
236
|
+
/* smaller size, for the comment icon */
|
|
237
|
+
mat-icon.comment {
|
|
238
|
+
@include font-size(16pt);
|
|
239
|
+
height: 100%;
|
|
240
|
+
vertical-align: center;
|
|
241
|
+
color: var(--ion-color-tertiary, grey);
|
|
242
|
+
|
|
243
|
+
&.disabled {
|
|
244
|
+
color: var(--ion-color-medium, grey);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// --------------------------------------------------
|
|
250
|
+
// Icon inside text
|
|
251
|
+
// --------------------------------------------------
|
|
252
|
+
mat-icon,
|
|
253
|
+
ion-icon {
|
|
254
|
+
&.text-size {
|
|
255
|
+
font-size: 1em;
|
|
256
|
+
width: 1em;
|
|
257
|
+
height: 1em;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
ion-button[expand="block"],
|
|
261
|
+
ion-button[expand="full"],
|
|
262
|
+
.mat-button,
|
|
263
|
+
.mat-raised-button {
|
|
264
|
+
mat-icon,
|
|
265
|
+
ion-icon {
|
|
266
|
+
&[slot] {
|
|
267
|
+
pointer-events: none;
|
|
268
|
+
width: 24px;
|
|
269
|
+
height: 24px;
|
|
270
|
+
}
|
|
271
|
+
&[slot='start'],
|
|
272
|
+
&[slot='end'] {
|
|
273
|
+
margin-left: unset;
|
|
274
|
+
margin-right: unset;
|
|
275
|
+
margin-top: 0;
|
|
276
|
+
margin-bottom: 0;
|
|
277
|
+
}
|
|
278
|
+
&t[slot='start'] {
|
|
279
|
+
margin-inline-start: -0.3em;
|
|
280
|
+
margin-inline-end: 0.3em;
|
|
281
|
+
}
|
|
282
|
+
&[slot='end'] {
|
|
283
|
+
margin-inline-start: 0.3em;
|
|
284
|
+
margin-inline-end: -0.3em;
|
|
285
|
+
}
|
|
286
|
+
&.ion-float-start[slot='start'] {
|
|
287
|
+
position: absolute;
|
|
288
|
+
left: 0;
|
|
289
|
+
}
|
|
290
|
+
&.ion-float-end[slot='end'] {
|
|
291
|
+
position: absolute;
|
|
292
|
+
right: 0;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
// --------------------------------------------------
|
|
298
|
+
// Icon multiple
|
|
299
|
+
// --------------------------------------------------
|
|
300
|
+
ion-icon.icon-secondary,
|
|
301
|
+
mat-icon.icon-secondary {
|
|
302
|
+
position: absolute;
|
|
303
|
+
left: 0;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// --------------------------------------------------
|
|
307
|
+
// Toast
|
|
308
|
+
// --------------------------------------------------
|
|
309
|
+
ion-toast {
|
|
310
|
+
--background: var(--ion-color-dark);
|
|
311
|
+
--color: var(--ion-color-dark-contrast);
|
|
312
|
+
--button-color: var(--ion-color-secondary);
|
|
313
|
+
|
|
314
|
+
&.secondary {
|
|
315
|
+
--background: var(--ion-color-secondary);
|
|
316
|
+
--color: var(--ion-color-secondary-contrast);
|
|
317
|
+
--button-color: var(--ion-color-tertiary);
|
|
318
|
+
}
|
|
319
|
+
&.accent {
|
|
320
|
+
--background: var(--ion-color-accent);
|
|
321
|
+
--color: var(--ion-color-accent-contrast);
|
|
322
|
+
--button-color: var(--ion-color-primary);
|
|
323
|
+
}
|
|
324
|
+
&.danger {
|
|
325
|
+
--background: var(--ion-color-danger);
|
|
326
|
+
--color: var(--ion-color-danger-contrast);
|
|
327
|
+
--button-color: var(--ion-color-primary);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/* -- workaround because toast animation failed */
|
|
331
|
+
--toast-max-height: 75px;
|
|
332
|
+
|
|
333
|
+
&.toast-stack-offset-1 {
|
|
334
|
+
--toast-stack-offset: 1;
|
|
335
|
+
}
|
|
336
|
+
&.toast-stack-offset-2 {
|
|
337
|
+
--toast-stack-offset: 2;
|
|
338
|
+
}
|
|
339
|
+
&.toast-stack-offset-3 {
|
|
340
|
+
--toast-stack-offset: 3;
|
|
341
|
+
}
|
|
342
|
+
&.toast-stack-offset-4 {
|
|
343
|
+
--toast-stack-offset: 4;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
&.toast-stacked-top {
|
|
347
|
+
--toast-top: calc(var(--toast-stack-offset, 0) * var(--toast-max-height, 0));
|
|
348
|
+
transform: translateY(var(--toast-top));
|
|
349
|
+
}
|
|
350
|
+
&.toast-stacked-bottom {
|
|
351
|
+
--toast-bottom: calc(-1 * var(--toast-stack-offset, 0) * var(--toast-max-height, 0)) !important;
|
|
352
|
+
transform: translateY(var(--toast-bottom));
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// --------------------------------------------------
|
|
357
|
+
// Refresher
|
|
358
|
+
// --------------------------------------------------
|
|
359
|
+
ion-refresher.refresher-native {
|
|
360
|
+
z-index: 1000;
|
|
361
|
+
}
|
package/src/theme/_theme.scss
CHANGED