@sumaris-net/ngx-components 4.0.0-rc9 → 18.0.0
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 +5 -3
- package/doc/changelog.md +522 -280
- package/esm2022/public_api.mjs +38 -19
- 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 +22 -19
- 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 +28 -18
- package/esm2022/src/app/core/account/account.page.mjs +19 -5
- package/esm2022/src/app/core/account/new-token.form.mjs +106 -0
- package/esm2022/src/app/core/account/new-token.modal.mjs +27 -86
- package/esm2022/src/app/core/account/password/change-password.form.mjs +60 -0
- package/esm2022/src/app/core/account/password/change-password.module.mjs +22 -0
- package/esm2022/src/app/core/account/password/change-password.page.mjs +144 -0
- package/esm2022/src/app/core/account/token.table.mjs +47 -35
- package/esm2022/src/app/core/auth/auth.form.mjs +47 -28
- package/esm2022/src/app/core/auth/auth.modal.mjs +6 -6
- package/esm2022/src/app/core/auth/auth.module.mjs +22 -13
- package/esm2022/src/app/core/auth/reset-password.modal.mjs +77 -0
- package/esm2022/src/app/core/core.module.mjs +28 -61
- package/esm2022/src/app/core/core.testing.module.mjs +34 -20
- package/esm2022/src/app/core/form/array/form-array.mjs +325 -0
- package/esm2022/src/app/core/form/array/testing/form-array-test.module.mjs +23 -0
- package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +94 -0
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +24 -25
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +9 -13
- package/esm2022/src/app/core/form/entity/editor.class.mjs +64 -517
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +26 -42
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +42 -41
- 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/entity/tab-editor.class.mjs +194 -0
- package/esm2022/src/app/core/form/form-container.class.mjs +327 -0
- package/esm2022/src/app/core/form/form.class.mjs +39 -56
- package/esm2022/src/app/core/form/form.module.mjs +14 -10
- package/esm2022/src/app/core/form/form.utils.mjs +23 -306
- package/esm2022/src/app/core/form/list/list.form.mjs +16 -14
- package/esm2022/src/app/core/form/list/list.module.mjs +8 -12
- package/esm2022/src/app/core/form/properties/properties.form.mjs +139 -57
- package/esm2022/src/app/core/form/properties/properties.module.mjs +9 -15
- package/esm2022/src/app/core/form/properties/properties.table.mjs +27 -28
- package/esm2022/src/app/core/form/properties/properties.utils.mjs +60 -0
- package/esm2022/src/app/core/form/properties/property.validator.mjs +23 -9
- 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 +15 -15
- 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 +7 -7
- package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +9 -13
- package/esm2022/src/app/core/form/username/username.form.mjs +52 -0
- package/esm2022/src/app/core/form/username/username.module.mjs +20 -0
- package/esm2022/src/app/core/graphql/graphql.module.mjs +8 -16
- package/esm2022/src/app/core/graphql/graphql.service.mjs +101 -109
- package/esm2022/src/app/core/graphql/graphql.utils.mjs +12 -11
- package/esm2022/src/app/core/home/home.mjs +81 -52
- 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 +7 -6
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +43 -8
- 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 +31 -21
- package/esm2022/src/app/core/peer/select-peer.module.mjs +11 -23
- package/esm2022/src/app/core/register/register-confirm.page.mjs +18 -16
- package/esm2022/src/app/core/register/register.form.mjs +7 -7
- 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 +272 -170
- package/esm2022/src/app/core/services/auth-guard.service.mjs +13 -15
- package/esm2022/src/app/core/services/base-entity-service.class.mjs +55 -64
- 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 +88 -37
- package/esm2022/src/app/core/services/config.service.mjs +81 -62
- package/esm2022/src/app/core/services/crypto.service.mjs +11 -11
- package/esm2022/src/app/core/services/errors.mjs +6 -5
- package/esm2022/src/app/core/services/local-settings.service.mjs +58 -44
- package/esm2022/src/app/core/services/model/account.model.mjs +12 -17
- package/esm2022/src/app/core/services/model/config.model.mjs +7 -7
- 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 +27 -31
- 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 +19 -9
- package/esm2022/src/app/core/services/model/person.model.mjs +26 -22
- package/esm2022/src/app/core/services/model/referential.model.mjs +36 -23
- package/esm2022/src/app/core/services/model/settings.model.mjs +2 -1
- package/esm2022/src/app/core/services/model/token.model.mjs +7 -3
- package/esm2022/src/app/core/services/model/tree-item-entity.model.mjs +3 -7
- package/esm2022/src/app/core/services/network.service.mjs +99 -76
- 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 +9 -9
- 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 +102 -69
- 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 +5 -5
- package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +34 -20
- 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 +9 -21
- package/esm2022/src/app/core/settings/settings.page.mjs +76 -63
- package/esm2022/src/app/core/table/async-table.class.mjs +219 -201
- package/esm2022/src/app/core/table/column/actions-column.component.mjs +127 -0
- package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +117 -0
- package/esm2022/src/app/core/table/column/row-field.component.mjs +116 -0
- package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +31 -33
- package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +36 -36
- package/esm2022/src/app/core/table/memory-table.class.mjs +5 -5
- package/esm2022/src/app/core/table/table-select-columns.component.mjs +8 -8
- package/esm2022/src/app/core/table/table.class.mjs +193 -152
- package/esm2022/src/app/core/table/table.model.mjs +1 -1
- package/esm2022/src/app/core/table/table.module.mjs +35 -24
- package/esm2022/src/app/core/table/table.pipes.mjs +77 -0
- package/esm2022/src/app/core/table/table.utils.mjs +2 -4
- package/esm2022/src/app/core/table/testing/table-validator.service.mjs +9 -5
- package/esm2022/src/app/core/table/testing/table.testing.mjs +116 -78
- 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 +68 -45
- package/esm2022/src/app/shared/alerts.mjs +49 -45
- 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 +9 -4
- package/esm2022/src/app/shared/dates.mjs +18 -16
- 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 -15
- package/esm2022/src/app/shared/directives/autotitle.directive.mjs +4 -4
- 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 +4 -4
- 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 +38 -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 +29 -4
- package/esm2022/src/app/shared/file/json.utils.mjs +11 -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 +69 -43
- 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 +116 -43
- package/esm2022/src/app/shared/functions.mjs +139 -71
- package/esm2022/src/app/shared/geolocation/geolocation.utils.mjs +14 -14
- package/esm2022/src/app/shared/gesture/gesture-config.mjs +10 -10
- 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 +23 -29
- 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 +44 -17
- package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +9 -27
- package/esm2022/src/app/shared/http/http.utils.mjs +15 -11
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +27 -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 +52 -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 +348 -238
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +13 -16
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +5 -4
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +51 -37
- package/esm2022/src/app/shared/material/badge/badge.directive.mjs +99 -57
- 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 +19 -20
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +209 -104
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +15 -8
- package/esm2022/src/app/shared/material/chips/chips.module.mjs +12 -13
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +228 -168
- package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +20 -21
- package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +12 -27
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +167 -92
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +128 -77
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +297 -165
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +34 -30
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +31 -27
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +26 -23
- package/esm2022/src/app/shared/material/duration/duration.module.mjs +11 -16
- package/esm2022/src/app/shared/material/duration/duration.utils.mjs +3 -6
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +35 -34
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +23 -22
- package/esm2022/src/app/shared/material/latlong/latlong.utils.mjs +217 -170
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +182 -241
- package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +10 -15
- package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +19 -14
- package/esm2022/src/app/shared/material/material.animations.mjs +22 -22
- package/esm2022/src/app/shared/material/material.config.mjs +3 -0
- package/esm2022/src/app/shared/material/material.module.mjs +16 -16
- package/esm2022/src/app/shared/material/material.testing.module.mjs +50 -37
- package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +12 -9
- package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +4 -4
- package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +26 -19
- 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 +30 -24
- package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +30 -19
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +128 -21
- 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 +118 -37
- 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 +8 -8
- package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +74 -0
- package/esm2022/src/app/shared/named-filter/testing/named-filter.testing.module.mjs +28 -0
- package/esm2022/src/app/shared/observables.mjs +14 -18
- package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +53 -38
- package/esm2022/src/app/shared/pipes/badge.pipes.mjs +24 -0
- package/esm2022/src/app/shared/pipes/colors.pipe.mjs +8 -6
- package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +8 -10
- package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +15 -15
- 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 +72 -47
- package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +15 -15
- package/esm2022/src/app/shared/pipes/html.pipes.mjs +52 -0
- 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 +37 -88
- 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 +117 -137
- package/esm2022/src/app/shared/pipes/property.pipes.mjs +86 -47
- package/esm2022/src/app/shared/pipes/selection.pipes.mjs +179 -0
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +50 -49
- package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +11 -11
- package/esm2022/src/app/shared/pipes/types.pipes.mjs +33 -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 +43 -41
- 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 +18 -15
- package/esm2022/src/app/shared/services/validator-service.class.mjs +1 -1
- package/esm2022/src/app/shared/services.mjs +12 -12
- package/esm2022/src/app/shared/shared-routing.module.mjs +19 -18
- package/esm2022/src/app/shared/shared.module.mjs +29 -28
- package/esm2022/src/app/shared/shared.testing.module.mjs +18 -10
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +39 -46
- 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/maskito.test.mjs +41 -0
- 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 +11 -11
- 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 +10 -8
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +31 -32
- 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 +12 -12
- 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 +21 -19
- package/esm2022/src/app/shared/upload-file/upload-file.model.mjs +2 -3
- package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +64 -56
- package/esm2022/src/app/shared/validator/validators.mjs +60 -39
- 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 +49 -46
- package/esm2022/src/app/social/job/progression/job-progression.list.mjs +10 -13
- package/esm2022/src/app/social/job/progression/job-progression.model.mjs +1 -1
- package/esm2022/src/app/social/job/progression/job-progression.service.mjs +39 -21
- package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +6 -11
- package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +11 -30
- 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 +27 -23
- 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 +61 -64
- package/esm2022/src/environments/environment.class.mjs +9 -1
- package/esm2022/src/environments/environment.loader.mjs +5 -11
- package/esm2022/src/environments/environment.mjs +19 -11
- package/fesm2022/sumaris-net.ngx-components.mjs +16117 -14592
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +33 -18
- package/public_api.d.ts +30 -22
- package/src/app/admin/services/filter/person.filter.d.ts +1 -1
- package/src/app/admin/users/users.d.ts +5 -6
- package/src/app/core/account/account.module.d.ts +10 -8
- package/src/app/core/account/account.page.d.ts +25 -15
- package/src/app/core/account/new-token.form.d.ts +29 -0
- package/src/app/core/account/new-token.modal.d.ts +9 -21
- package/src/app/core/account/password/change-password.form.d.ts +19 -0
- package/src/app/core/account/password/change-password.module.d.ts +11 -0
- package/src/app/core/account/password/change-password.page.d.ts +36 -0
- package/src/app/core/account/token.table.d.ts +7 -5
- package/src/app/core/auth/auth.form.d.ts +11 -9
- package/src/app/core/auth/auth.module.d.ts +6 -4
- package/src/app/core/auth/reset-password.modal.d.ts +26 -0
- package/src/app/core/core.module.d.ts +21 -24
- package/src/app/core/core.testing.module.d.ts +2 -1
- package/src/app/core/form/array/form-array.d.ts +136 -0
- package/src/app/core/form/array/testing/form-array-test.module.d.ts +12 -0
- package/src/app/core/form/array/testing/form-array.test.d.ts +26 -0
- package/src/app/core/form/buttons/form-buttons-bar.component.d.ts +2 -3
- package/src/app/core/form/entity/editor.class.d.ts +19 -179
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +10 -13
- package/src/app/core/form/entity/entity-editor.class.d.ts +12 -17
- package/src/app/core/form/entity/entity-metadata.component.d.ts +1 -1
- package/src/app/core/form/entity/tab-editor.class.d.ts +70 -0
- package/src/app/core/form/form-container.class.d.ts +126 -0
- package/src/app/core/form/form.class.d.ts +13 -26
- package/src/app/core/form/form.module.d.ts +2 -1
- package/src/app/core/form/form.utils.d.ts +60 -145
- package/src/app/core/form/list/list.form.d.ts +2 -2
- package/src/app/core/form/properties/properties.form.d.ts +34 -12
- package/src/app/core/form/properties/properties.table.d.ts +2 -2
- package/src/app/core/form/properties/properties.utils.d.ts +27 -0
- package/src/app/core/form/properties/property.validator.d.ts +9 -3
- package/src/app/core/form/text-popover/testing/text-popover.testing.d.ts +3 -1
- package/src/app/core/form/username/username.form.d.ts +19 -0
- package/src/app/core/form/username/username.module.d.ts +9 -0
- package/src/app/core/graphql/graphql.module.d.ts +1 -2
- package/src/app/core/graphql/graphql.service.d.ts +2 -4
- package/src/app/core/home/home.d.ts +26 -6
- package/src/app/core/menu/testing/menu-other.testing.d.ts +1 -1
- package/src/app/core/menu/testing/menu.testing.d.ts +11 -3
- package/src/app/core/peer/select-peer.modal.d.ts +13 -7
- package/src/app/core/peer/select-peer.module.d.ts +3 -4
- package/src/app/core/services/account.service.d.ts +9 -0
- package/src/app/core/services/base-entity-service.class.d.ts +1 -1
- package/src/app/core/services/config/core.config.d.ts +12 -1
- package/src/app/core/services/config.service.d.ts +4 -3
- package/src/app/core/services/errors.d.ts +11 -0
- package/src/app/core/services/local-settings.service.d.ts +8 -4
- package/src/app/core/services/model/entity.model.d.ts +6 -5
- package/src/app/core/services/model/filter.model.d.ts +1 -1
- package/src/app/core/services/model/peer.model.d.ts +1 -0
- package/src/app/core/services/model/person.model.d.ts +6 -2
- package/src/app/core/services/model/referential.model.d.ts +8 -3
- package/src/app/core/services/model/settings.model.d.ts +4 -2
- package/src/app/core/services/model/token.model.d.ts +1 -0
- package/src/app/core/services/model/tree-item-entity.model.d.ts +1 -1
- package/src/app/core/services/network.service.d.ts +11 -7
- package/src/app/core/services/pipes/department-to-string.pipe.d.ts +1 -1
- package/src/app/core/services/pipes/person-to-string.pipe.d.ts +3 -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 +13 -0
- package/src/app/core/services/platform.service.d.ts +8 -3
- package/src/app/core/services/testing/referential-filter.model.d.ts +1 -1
- package/src/app/core/services/validator/local-settings.validator.d.ts +6 -2
- package/src/app/core/settings/settings.module.d.ts +2 -1
- package/src/app/core/settings/settings.page.d.ts +34 -21
- package/src/app/core/table/async-table.class.d.ts +22 -17
- package/src/app/core/table/column/actions-column.component.d.ts +59 -0
- package/src/app/core/table/column/nav-actions-column.component.d.ts +46 -0
- package/src/app/core/table/column/row-field.component.d.ts +40 -0
- package/src/app/core/table/entities-async-table-datasource.class.d.ts +1 -0
- package/src/app/core/table/entities-table-datasource.class.d.ts +1 -0
- package/src/app/core/table/table.class.d.ts +14 -11
- package/src/app/core/table/table.module.d.ts +8 -4
- package/src/app/core/table/table.pipes.d.ts +28 -0
- package/src/app/core/table/testing/table.testing.d.ts +12 -13
- package/src/app/core/table/testing/table2.testing.d.ts +13 -10
- package/src/app/shared/alerts.d.ts +4 -2
- package/src/app/shared/constants.d.ts +5 -0
- package/src/app/shared/dates.d.ts +12 -5
- package/src/app/shared/directives/autofocus.directive.d.ts +0 -1
- package/src/app/shared/events.d.ts +1 -1
- package/src/app/shared/file/csv.utils.d.ts +5 -0
- package/src/app/shared/file/images.utils.d.ts +17 -0
- package/src/app/shared/file/json.utils.d.ts +3 -0
- package/src/app/shared/form/field.component.d.ts +6 -3
- package/src/app/shared/forms.d.ts +32 -0
- package/src/app/shared/functions.d.ts +27 -8
- package/src/app/shared/graph/graph-colors.d.ts +1 -1
- package/src/app/shared/guard/component-dirty.guard.d.ts +1 -6
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +17 -3
- package/src/app/shared/http/http.utils.d.ts +1 -0
- 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/inputs.d.ts +7 -5
- package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +20 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +56 -16
- package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +1 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.utils.d.ts +2 -1
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +3 -2
- package/src/app/shared/material/badge/badge.directive.d.ts +10 -4
- package/src/app/shared/material/boolean/boolean.module.d.ts +15 -14
- package/src/app/shared/material/boolean/material.boolean.d.ts +51 -25
- package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +1 -0
- package/src/app/shared/material/chips/chips.module.d.ts +2 -1
- package/src/app/shared/material/chips/material.chips.d.ts +46 -21
- package/src/app/shared/material/chips/testing/chips.test.d.ts +1 -0
- package/src/app/shared/material/datetime/datetime.module.d.ts +1 -1
- package/src/app/shared/material/datetime/material.date.d.ts +33 -18
- package/src/app/shared/material/datetime/material.dateshort.d.ts +29 -16
- package/src/app/shared/material/datetime/material.datetime.d.ts +41 -28
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +3 -3
- package/src/app/shared/material/duration/duration.module.d.ts +1 -1
- package/src/app/shared/material/duration/material.duration.d.ts +1 -1
- package/src/app/shared/material/latlong/latlong.utils.d.ts +9 -1
- package/src/app/shared/material/latlong/material.latlong.d.ts +29 -32
- package/src/app/shared/material/latlong/material.latlong.module.d.ts +1 -1
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +5 -1
- package/src/app/shared/material/material.config.d.ts +3 -0
- package/src/app/shared/material/material.module.d.ts +5 -6
- package/src/app/shared/material/material.testing.module.d.ts +8 -7
- package/src/app/shared/material/swipe/material.swipe.d.ts +4 -3
- package/src/app/shared/material/text/testing/text-form.testing.d.ts +10 -4
- package/src/app/shared/material/text/text-form.component.d.ts +42 -8
- package/src/app/shared/named-filter/named-filter-selector.component.d.ts +30 -14
- package/src/app/shared/named-filter/named-filter.service.d.ts +12 -6
- package/src/app/shared/named-filter/testing/named-filter-selector.testing.d.ts +34 -0
- package/src/app/shared/named-filter/testing/named-filter.testing.module.d.ts +10 -0
- package/src/app/shared/pipes/arrays.pipe.d.ts +5 -0
- package/src/app/shared/pipes/badge.pipes.d.ts +7 -0
- package/src/app/shared/pipes/date-format.pipe.d.ts +3 -2
- package/src/app/shared/pipes/form.pipes.d.ts +18 -8
- package/src/app/shared/pipes/html.pipes.d.ts +15 -0
- package/src/app/shared/pipes/maps.pipe.d.ts +4 -4
- package/src/app/shared/pipes/maskito.pipe.d.ts +7 -9
- package/src/app/shared/pipes/pipes.module.d.ts +7 -4
- package/src/app/shared/pipes/property.pipes.d.ts +24 -3
- package/src/app/shared/pipes/selection.pipes.d.ts +62 -0
- package/src/app/shared/pipes/string.pipes.d.ts +6 -6
- package/src/app/shared/pipes/types.pipes.d.ts +6 -1
- package/src/app/shared/services/entity-service.class.d.ts +0 -2
- package/src/app/shared/services/memory-entity-service.class.d.ts +6 -3
- package/src/app/shared/services.d.ts +1 -0
- package/src/app/shared/shared.testing.module.d.ts +2 -1
- package/src/app/shared/storage/storage-explorer.component.d.ts +4 -3
- package/src/app/shared/testing/maskito.test.d.ts +10 -0
- package/src/app/shared/toolbar/toolbar.d.ts +7 -2
- package/src/app/shared/types.d.ts +5 -0
- package/src/app/shared/upload-file/upload-file.component.d.ts +1 -0
- package/src/app/shared/validator/form-error-adapter.class.d.ts +17 -11
- package/src/app/shared/validator/validators.d.ts +20 -9
- package/src/app/social/job/progression/job-progression.icon.d.ts +4 -5
- package/src/app/social/job/progression/job-progression.list.d.ts +1 -3
- package/src/app/social/job/progression/job-progression.service.d.ts +3 -4
- package/src/app/social/job/testing/job-progression.testing.d.ts +0 -1
- package/src/app/social/job/testing/job-progression.testing.service.d.ts +3 -11
- package/src/app/social/message/message.modal.d.ts +2 -2
- package/src/app/social/message/message.model.d.ts +1 -1
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +4 -4
- package/src/app/social/user-event/testing/user-event.testing.d.ts +1 -0
- package/src/app/social/user-event/testing/user-event.testing.model.d.ts +2 -3
- package/src/app/social/user-event/testing/user-event.testing.service.d.ts +1 -0
- package/src/assets/i18n/en-US.json +48 -19
- package/src/assets/i18n/en.json +48 -20
- package/src/assets/i18n/fr.json +50 -20
- package/src/assets/manifest.json +1 -1
- package/src/environments/environment.class.d.ts +10 -0
- package/src/environments/environment.d.ts +0 -1
- package/src/environments/environment.loader.d.ts +0 -2
- package/src/theme/_functions.scss +15 -0
- package/src/theme/_icons.scss +1 -1
- package/src/theme/_ionic.globals.scss +8 -2
- package/src/theme/_ionic.scss +10 -10
- package/src/theme/_material.globals.scss +16 -43
- package/src/theme/_material.scss +45 -32
- package/src/theme/_mixins.scss +99 -18
- package/src/theme/_ngx-components.forms.scss +354 -0
- package/src/theme/_ngx-components.globals.scss +20 -10
- package/src/theme/_ngx-components.scss +194 -400
- package/src/theme/_ngx-components.table.scss +200 -207
- package/src/theme/_ngx-components.tabs.scss +54 -0
- package/src/theme/_responsive.scss +0 -31
- package/src/theme/_theme.scss +2 -0
- package/src/theme/_theme.variables.scss +172 -0
- package/esm2022/src/app/core/table/actions-column.component.mjs +0 -115
- package/esm2022/src/app/shared/material/boolean/material-boolean2.mjs +0 -266
- 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/core/table/actions-column.component.d.ts +0 -48
- package/src/app/shared/material/boolean/material-boolean2.d.ts +0 -66
- 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
|
@@ -111,7 +111,7 @@ html {
|
|
|
111
111
|
// Main Menu
|
|
112
112
|
// --------------------------------------------------
|
|
113
113
|
.split-pane-md.split-pane-visible > .split-pane-side {
|
|
114
|
-
max-width: $app-menu-width !important;
|
|
114
|
+
max-width: #{$app-menu-width} !important;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
ion-menu.menu-side-left {
|
|
@@ -126,204 +126,14 @@ ion-menu.menu-side-left {
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
// --------------------------------------------------
|
|
130
|
-
// Material Forms
|
|
131
|
-
// --------------------------------------------------
|
|
132
|
-
.form-container,
|
|
133
|
-
form.form-container {
|
|
134
|
-
color: $app-form-color;
|
|
135
|
-
@include font-size(16px);
|
|
136
|
-
|
|
137
|
-
.mat-form-field-disabled,
|
|
138
|
-
.mat-mdc-input-element:disabled {
|
|
139
|
-
color: $app-form-color-disabled !important;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.mat-form-field-disabled {
|
|
143
|
-
.mat-mdc-form-field-infix{
|
|
144
|
-
min-height: 41px;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
mat-form-field,
|
|
149
|
-
mat-autocomplete-field,
|
|
150
|
-
app-form-field {
|
|
151
|
-
width: 100%;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.mat-mdc-form-field {
|
|
155
|
-
|
|
156
|
-
&:not(.mat-mdc-form-field-has-icon-prefix) {
|
|
157
|
-
.mdc-text-field {
|
|
158
|
-
padding-left: 4px;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.mdc-text-field {
|
|
163
|
-
background-color: $app-form-field-background-color;
|
|
164
|
-
}
|
|
165
|
-
.mat-mdc-form-field-focus-overlay {
|
|
166
|
-
background-color: $app-form-field-focus-background-color;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
ion-icon[matPrefix],
|
|
170
|
-
mat-icon[matPrefix],
|
|
171
|
-
.mat-mdc-form-field-icon-prefix {
|
|
172
|
-
|
|
173
|
-
ion-icon, .mat-icon {
|
|
174
|
-
$font-size: calculateRem(24px);
|
|
175
|
-
$margin-vertical: calculateRem(4px);
|
|
176
|
-
font-size: $font-size !important;
|
|
177
|
-
line-height: 1.125;
|
|
178
|
-
height: $font-size;
|
|
179
|
-
width: $font-size;
|
|
180
|
-
margin-left: $margin-vertical;
|
|
181
|
-
margin-right: $margin-vertical;
|
|
182
|
-
position: relative;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
ion-icon[matSuffix],
|
|
187
|
-
mat-icon[matSuffix],
|
|
188
|
-
.mat-mdc-form-field-icon-suffix {
|
|
189
|
-
white-space: nowrap;
|
|
190
|
-
|
|
191
|
-
.mat-mdc-icon-button {
|
|
192
|
-
--mdc-icon-button-icon-size: 24px;
|
|
193
|
-
--mdc-icon-button-state-layer-size: 28px;
|
|
194
|
-
padding: 2px;
|
|
195
|
-
|
|
196
|
-
ion-icon, .mat-icon, .mat-icon.large {
|
|
197
|
-
font-size: var(--mdc-icon-button-icon-size);
|
|
198
|
-
line-height: var(--mdc-icon-button-icon-size);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.mat-mdc-button-touch-target {
|
|
202
|
-
width: var(--mdc-icon-button-state-layer-size);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
ion-icon, .mat-icon {
|
|
207
|
-
|
|
208
|
-
&.large {
|
|
209
|
-
$font-size: calculateRem(24px);
|
|
210
|
-
font-size: $font-size;
|
|
211
|
-
line-height: 1.125;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
// When field use choice button, reduce the font size, and optimize layout
|
|
218
|
-
button.mat-mdc-form-field-button,
|
|
219
|
-
ion-button.mat-mdc-form-field-button {
|
|
220
|
-
@include font-size-important(12px);
|
|
221
|
-
margin: 0;
|
|
222
|
-
white-space: normal;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// Used to customize mat-boolean-field
|
|
226
|
-
&.mat-boolean2-field-checkbox {
|
|
227
|
-
|
|
228
|
-
.mat-mdc-form-field-infix {
|
|
229
|
-
padding-top: 8px;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.mdc-floating-label {
|
|
233
|
-
transform: unset !important;
|
|
234
|
-
left: 40px;
|
|
235
|
-
top: 20px;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
&.mat-boolean2-field-radio {
|
|
240
|
-
//margin-top: -2px; // Fix alignment
|
|
241
|
-
|
|
242
|
-
.mat-mdc-radio-button {
|
|
243
|
-
padding-left: 8px;
|
|
244
|
-
|
|
245
|
-
.mdc-radio {
|
|
246
|
-
//--mdc-radio-state-layer-size: 20px;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
&.mat-boolean2-field-button {
|
|
252
|
-
//margin-top: -4px; // Fix alignment
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
/* -- Computed field -- */
|
|
258
|
-
|
|
259
|
-
// Set color on computed field (if enable or disable)
|
|
260
|
-
.computed mat-mdc-form-field,
|
|
261
|
-
mat-mdc-form-field .computed,
|
|
262
|
-
mat-mdc-form-field.computed,
|
|
263
|
-
.computed mat-mdc-form-field .mat-mdc-input-element:disabled,
|
|
264
|
-
mat-mdc-form-field .computed .mat-mdc-input-element:disabled,
|
|
265
|
-
mat-mdc-form-field.computed .mat-mdc-input-element:disabled {
|
|
266
|
-
color: var(--ion-color-primary-tint) !important;
|
|
267
|
-
font-style: italic;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/* MatSwipeField */
|
|
271
|
-
mat-swipe-field {
|
|
272
|
-
|
|
273
|
-
.mdc-floating-label--float-above {
|
|
274
|
-
transform: translateY(-106%) translateX(40px) scale(0.75) !important;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
// Manage first child grid inside a form
|
|
280
|
-
form.form-container > ion-grid,
|
|
281
|
-
ion-grid.form-container {
|
|
282
|
-
padding: 0;
|
|
283
|
-
|
|
284
|
-
ion-row {
|
|
285
|
-
// No between grid rows
|
|
286
|
-
padding: 0;
|
|
287
|
-
|
|
288
|
-
ion-col > ion-label {
|
|
289
|
-
color: var(--ion-color-primary100);
|
|
290
|
-
padding-inline-end: 5px;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
ion-col > ion-label[text-wrap] {
|
|
294
|
-
word-wrap: normal;
|
|
295
|
-
white-space: normal;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
ion-row > ion-col {
|
|
299
|
-
|
|
300
|
-
// No top/bottom padding between grid cell
|
|
301
|
-
padding-bottom: 0;
|
|
302
|
-
padding-top: 0;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
129
|
|
|
306
130
|
mat-form-field {
|
|
307
|
-
//mat-error {
|
|
308
|
-
// text-align: right;
|
|
309
|
-
//}
|
|
310
|
-
|
|
311
131
|
.mat-paginator-page-size-select {
|
|
312
132
|
@include font-size-important(14px);
|
|
313
133
|
}
|
|
314
134
|
}
|
|
315
135
|
|
|
316
136
|
|
|
317
|
-
// --- mat-date-time
|
|
318
|
-
mat-date-time-field {
|
|
319
|
-
//@include font-size-important(16px);
|
|
320
|
-
|
|
321
|
-
// Need for errors injected using the <ng-content> tag
|
|
322
|
-
//mat-error {
|
|
323
|
-
// text-align: end;
|
|
324
|
-
//}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
137
|
// --- mat-date-short-field
|
|
328
138
|
mat-calendar.mat-date-short-panel {
|
|
329
139
|
// Hide some buttons (e.g. to change the period)
|
|
@@ -345,8 +155,23 @@ mat-calendar.mat-date-short-panel {
|
|
|
345
155
|
}
|
|
346
156
|
}
|
|
347
157
|
}
|
|
158
|
+
// --------------------------------------------------
|
|
159
|
+
// mat-checkbox
|
|
160
|
+
// --------------------------------------------------
|
|
161
|
+
|
|
162
|
+
mat-checkbox {
|
|
163
|
+
.mat-checkbox-checkmark {
|
|
164
|
+
.mat-checkbox-checkmark-path {
|
|
165
|
+
// TODO: change to accent-contrast
|
|
166
|
+
stroke: white !important;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// --------------------------------------------------
|
|
172
|
+
// mat-autocomplete and mat-select panel
|
|
173
|
+
// --------------------------------------------------
|
|
348
174
|
|
|
349
|
-
// --- mat-autocomplete and mat-select panel
|
|
350
175
|
// When simple text option, add a padding
|
|
351
176
|
mat-option {
|
|
352
177
|
|
|
@@ -355,12 +180,6 @@ mat-option {
|
|
|
355
180
|
flex-grow: 1;
|
|
356
181
|
}
|
|
357
182
|
.mat-option-text:not(:has(ion-row)),
|
|
358
|
-
|
|
359
|
-
// TODO : Disabled : mat-option already have padding : this is redundant
|
|
360
|
-
//.mdc-list-item__primary-text:not(:has(ion-row)) {
|
|
361
|
-
// padding: 0 16px;
|
|
362
|
-
//}
|
|
363
|
-
|
|
364
183
|
.mat-option-text:has(ion-searchbar),
|
|
365
184
|
.mdc-list-item__primary-text:has(ion-searchbar) {
|
|
366
185
|
padding: 0 !important;
|
|
@@ -382,197 +201,126 @@ mat-option:not(:last-of-type) {
|
|
|
382
201
|
border-bottom: 1px solid #{$app-select-option-border-color};
|
|
383
202
|
}
|
|
384
203
|
|
|
385
|
-
|
|
204
|
+
|
|
205
|
+
.cdk-overlay-pane:has(.mat-mdc-select-panel) {
|
|
386
206
|
--min-width: 200px;
|
|
387
207
|
--max-width: calc(min(100%, 100vw - 64px));
|
|
388
208
|
min-width: var(--min-width) !important;
|
|
389
209
|
max-width: var(--max-width) !important;
|
|
210
|
+
|
|
211
|
+
// FIXME : This is a workaround find at : https://github.com/angular/components/issues/26000#issuecomment-1563107933
|
|
212
|
+
&:has(.mat-select-panel-fit-content) {
|
|
213
|
+
--min-width: fit-content !important;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.mat-mdc-select-panel {
|
|
217
|
+
--mat-switch-visible-track-transition: transform 75ms 50ms cubic-bezier(0, 0, 0.2, 1);
|
|
218
|
+
transition: --mat-switch-visible-track-transition;
|
|
219
|
+
transform: scaleY(1) !important;
|
|
220
|
+
|
|
221
|
+
&.hidden {
|
|
222
|
+
transform: scaleY(0) !important;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.mat-mdc-option {
|
|
226
|
+
// When option text wrap, do not increase the option height
|
|
227
|
+
ion-col.ion-text-wrap {
|
|
228
|
+
max-height: var(--mat-option-max-height, #{$mat-option-max-height});
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
390
233
|
}
|
|
391
|
-
|
|
392
|
-
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
.cdk-overlay-pane:has(.mat-mdc-autocomplete-panel) {
|
|
237
|
+
--min-width: 200px;
|
|
393
238
|
--max-width: calc(min(100%, 100vw - 64px));
|
|
394
239
|
min-width: var(--min-width) !important;
|
|
395
240
|
max-width: var(--max-width) !important;
|
|
396
|
-
|
|
241
|
+
|
|
242
|
+
// FIXME : This is a workaround find at : https://github.com/angular/components/issues/26000#issuecomment-1563107933
|
|
243
|
+
&:has(.mat-select-panel-fit-content) {
|
|
244
|
+
--min-width: fit-content !important;
|
|
245
|
+
}
|
|
397
246
|
}
|
|
398
247
|
|
|
399
|
-
|
|
400
|
-
.mat-autocomplete-panel-medium-size.mat-autocomplete-panel,
|
|
401
|
-
.
|
|
402
|
-
.min-width-medium.mat-autocomplete-panel
|
|
248
|
+
|
|
249
|
+
.mat-mdc-autocomplete-panel-medium-size .mat-mdc-autocomplete-panel,
|
|
250
|
+
.mat-mdc-autocomplete-panel-medium-size.mat-mdc-autocomplete-panel,
|
|
251
|
+
.min-width-medium .mat-mdc-autocomplete-panel,
|
|
252
|
+
.min-width-medium.mat-mdc-autocomplete-panel,
|
|
253
|
+
.min-width-medium.mat-mdc-select-panel {
|
|
403
254
|
--min-width: 300px;
|
|
404
255
|
}
|
|
405
|
-
.mat-autocomplete-panel-large-size .mat-autocomplete-panel,
|
|
406
|
-
.mat-autocomplete-panel.mat-autocomplete-panel-large-size,
|
|
407
|
-
.min-width-large .mat-autocomplete-panel,
|
|
408
|
-
.min-width-large.mat-autocomplete-panel
|
|
256
|
+
.mat-mdc-autocomplete-panel-large-size .mat-mdc-autocomplete-panel,
|
|
257
|
+
.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-panel-large-size,
|
|
258
|
+
.min-width-large .mat-mdc-autocomplete-panel,
|
|
259
|
+
.min-width-large.mat-mdc-autocomplete-panel,
|
|
260
|
+
.min-width-large.mat-mdc-select-panel{
|
|
409
261
|
--min-width: 400px;
|
|
410
262
|
}
|
|
411
|
-
.mat-autocomplete-panel-xlarge-size .mat-autocomplete-panel,
|
|
412
|
-
.mat-autocomplete-panel-xlarge-size.mat-autocomplete-panel
|
|
263
|
+
.mat-mdc-autocomplete-panel-xlarge-size .mat-mdc-autocomplete-panel,
|
|
264
|
+
.mat-mdc-autocomplete-panel-xlarge-size.mat-mdc-autocomplete-panel,
|
|
265
|
+
.mat-mdc-autocomplete-panel-xlarge-size.mat-mdc-select-panel {
|
|
413
266
|
--min-width: 450px;
|
|
414
267
|
}
|
|
415
268
|
.mat-select-panel.min-width-80vw,
|
|
416
269
|
.mat-mdc-select-panel.min-width-80vw,
|
|
417
|
-
.min-width-80vw .mat-autocomplete-panel,
|
|
418
|
-
.min-width-80vw.mat-autocomplete-panel {
|
|
270
|
+
.min-width-80vw .mat-mdc-autocomplete-panel,
|
|
271
|
+
.min-width-80vw.mat-mdc-autocomplete-panel {
|
|
419
272
|
--min-width: 80vw;
|
|
420
273
|
}
|
|
421
274
|
|
|
422
|
-
.mat-autocomplete-panel-center .mat-autocomplete-panel,
|
|
423
|
-
.mat-autocomplete-panel-center.mat-autocomplete-panel {
|
|
275
|
+
.mat-mdc-autocomplete-panel-center .mat-mdc-autocomplete-panel,
|
|
276
|
+
.mat-mdc-autocomplete-panel-center.mat-mdc-autocomplete-panel {
|
|
424
277
|
margin-left: calc(var(--min-width, 200px) / -2 + 50%) !important;
|
|
425
278
|
}
|
|
426
279
|
|
|
427
|
-
.mat-autocomplete-panel-full-size .mat-autocomplete-panel,
|
|
428
|
-
.mat-autocomplete-panel-full-size.mat-autocomplete-panel
|
|
280
|
+
.mat-mdc-autocomplete-panel-full-size .mat-mdc-autocomplete-panel,
|
|
281
|
+
.mat-mdc-autocomplete-panel-full-size.mat-mdc-autocomplete-panel,
|
|
282
|
+
.full-size .mat-mdc-autocomplete-panel,
|
|
283
|
+
.full-size.mat-mdc-autocomplete-panel,
|
|
284
|
+
.cdk-overlay-pane:has(.mat-mdc-select-panel.full-size) {
|
|
429
285
|
--min-width: calc(100vw - 64px);
|
|
430
286
|
--max-width: calc(100vw - 64px);
|
|
431
287
|
position: fixed;
|
|
432
|
-
left: 32px;
|
|
288
|
+
left: 32px !important;
|
|
433
289
|
}
|
|
434
290
|
|
|
435
|
-
.mat-select-panel,
|
|
436
291
|
.mat-mdc-select-panel,
|
|
437
|
-
.mat-autocomplete-panel {
|
|
292
|
+
.mat-mdc-autocomplete-panel {
|
|
438
293
|
/* when multiple selection enable */
|
|
439
294
|
mat-pseudo-checkbox {
|
|
440
295
|
margin-left: 8px;
|
|
441
296
|
}
|
|
297
|
+
|
|
298
|
+
padding: 0 !important;
|
|
442
299
|
}
|
|
443
300
|
|
|
444
301
|
ion-list,
|
|
445
|
-
.mat-
|
|
446
|
-
.mat-menu-panel,
|
|
447
|
-
.mat-autocomplete-panel {
|
|
448
|
-
|
|
302
|
+
.mat-mdc-menu-panel {
|
|
449
303
|
&.ion-list-popover {
|
|
450
304
|
padding: 0 !important;
|
|
451
305
|
}
|
|
306
|
+
}
|
|
452
307
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
ion-searchbar.mat-autocomplete-header {
|
|
457
|
-
visibility: visible;
|
|
458
|
-
display: flex;
|
|
459
|
-
opacity: 1;
|
|
460
|
-
transition: opacity 0.3s ease-in-out;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
mat-option.mat-select-searchbar,
|
|
465
|
-
mat-option.mat-autocomplete-searchbar
|
|
466
|
-
{
|
|
467
|
-
padding: 0 !important;
|
|
468
|
-
height: 58px !important;
|
|
469
|
-
background-color: var(--ion-color-secondary100) !important;
|
|
470
|
-
|
|
471
|
-
/* hide pseudo checkbox, in the searchbar*/
|
|
472
|
-
mat-pseudo-checkbox {
|
|
473
|
-
visibility: hidden;
|
|
474
|
-
display: none;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
&.mat-select-searchbar-sticky {
|
|
478
|
-
z-index: 1001;
|
|
479
|
-
/* Set header as sticky*/
|
|
480
|
-
position: -webkit-sticky;
|
|
481
|
-
position: sticky;
|
|
482
|
-
top: 0;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
ion-row.ion-list-header,
|
|
487
|
-
ion-row.mat-select-header,
|
|
488
|
-
ion-row.mat-menu-header,
|
|
489
|
-
ion-row.mat-autocomplete-header {
|
|
490
|
-
&.multiple {
|
|
491
|
-
/* Offset due to mat-pseudo-checkbox */
|
|
492
|
-
padding-left: 32px;
|
|
493
|
-
}
|
|
494
|
-
&.column {
|
|
495
|
-
/* Set header as sticky*/
|
|
496
|
-
position: -webkit-sticky;
|
|
497
|
-
position: sticky;
|
|
498
|
-
top: 0;
|
|
499
|
-
z-index: 1001;
|
|
500
|
-
background-color: var(--ion-color-secondary);
|
|
501
|
-
border-bottom: 1px solid #{$app-select-option-border-color};
|
|
502
|
-
color: var(--ion-color-secondary-contrast);
|
|
503
|
-
line-height: 20px;
|
|
504
|
-
@include font-size(12px);
|
|
505
|
-
font-weight: 500;
|
|
506
|
-
height: 20px;
|
|
507
|
-
ion-col {
|
|
508
|
-
white-space: nowrap;
|
|
509
|
-
text-overflow: ellipsis;
|
|
510
|
-
}
|
|
511
|
-
&.mat-select-searchbar-sticky {
|
|
512
|
-
/* offset because of the searchbar height */
|
|
513
|
-
top: 58px;
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
ion-row.ion-list-footer,
|
|
520
|
-
ion-row.mat-select-footer,
|
|
521
|
-
ion-row.mat-menu-footer,
|
|
522
|
-
ion-row.mat-autocomplete-footer,
|
|
523
|
-
mat-option.mat-autocomplete-footer {
|
|
524
|
-
/* Set footer as sticky*/
|
|
525
|
-
position: -webkit-sticky;
|
|
526
|
-
position: sticky;
|
|
527
|
-
bottom: 0;
|
|
528
|
-
z-index: 1001;
|
|
529
|
-
border-top: 1px solid #{$app-select-option-border-color};
|
|
530
|
-
background-color: whitesmoke;
|
|
531
|
-
color: var(--ion-color-medium);
|
|
532
|
-
@include font-size(12px);
|
|
533
|
-
font-weight: 500;
|
|
534
|
-
height: 20px;
|
|
535
|
-
line-height: 20px;
|
|
536
|
-
|
|
537
|
-
ion-col {
|
|
538
|
-
white-space: nowrap;
|
|
539
|
-
text-overflow: ellipsis;
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
ion-row {
|
|
544
|
-
--ion-grid-column-padding: 0;
|
|
545
|
-
|
|
546
|
-
ion-col {
|
|
547
|
-
--ion-padding-start: 8px;
|
|
548
|
-
padding: 0 !important;
|
|
549
|
-
padding-left: var(--ion-padding-start) !important;
|
|
550
|
-
text-overflow: ellipsis;
|
|
551
|
-
overflow: hidden;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.odd {
|
|
558
|
-
background: var(--ion-light-color-shade, $light);
|
|
559
|
-
}
|
|
308
|
+
// --------------------------------------------------
|
|
309
|
+
// mat-autocomplete-field
|
|
310
|
+
// --------------------------------------------------
|
|
560
311
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
312
|
+
// Define useful variable
|
|
313
|
+
html.plt-ios {
|
|
314
|
+
--ion-searchbar-height: 60px;
|
|
315
|
+
}
|
|
316
|
+
html {
|
|
317
|
+
--ion-searchbar-height: 58px;
|
|
565
318
|
}
|
|
566
319
|
|
|
320
|
+
ion-list,
|
|
321
|
+
.mat-mdc-menu-panel,
|
|
567
322
|
.mat-mdc-select-panel,
|
|
568
|
-
.mat-mdc-autocomplete-panel
|
|
569
|
-
//ion-list,
|
|
570
|
-
//.mat-menu-panel,
|
|
571
|
-
{
|
|
572
|
-
|
|
573
|
-
//&.ion-list-popover {
|
|
574
|
-
padding: 0 !important;
|
|
575
|
-
//}
|
|
323
|
+
.mat-mdc-autocomplete-panel {
|
|
576
324
|
|
|
577
325
|
/* Avoid bad display, when opening panel for the first time */
|
|
578
326
|
&.ng-trigger-transformPanel {
|
|
@@ -585,12 +333,19 @@ ion-list,
|
|
|
585
333
|
}
|
|
586
334
|
}
|
|
587
335
|
|
|
588
|
-
mat-
|
|
589
|
-
mat-option.mat-autocomplete-searchbar
|
|
336
|
+
.mat-mdc-optgroup.mat-select-searchbar,
|
|
337
|
+
.mat-mdc-option.mat-autocomplete-searchbar
|
|
590
338
|
{
|
|
591
339
|
padding: 0 !important;
|
|
592
|
-
height: 58px !important;
|
|
340
|
+
height: var(--ion-searchbar-height, 58px) !important;
|
|
593
341
|
background-color: var(--ion-color-secondary100) !important;
|
|
342
|
+
pointer-events: inherit !important;
|
|
343
|
+
|
|
344
|
+
.mat-mdc-optgroup-label {
|
|
345
|
+
background-color: var(--ion-color-secondary100) !important;
|
|
346
|
+
padding: 0;
|
|
347
|
+
display: block;
|
|
348
|
+
}
|
|
594
349
|
|
|
595
350
|
/* hide pseudo checkbox, in the searchbar*/
|
|
596
351
|
mat-pseudo-checkbox {
|
|
@@ -605,6 +360,10 @@ ion-list,
|
|
|
605
360
|
position: sticky;
|
|
606
361
|
top: 0;
|
|
607
362
|
}
|
|
363
|
+
|
|
364
|
+
.searchbar-input {
|
|
365
|
+
--background: var(--app-form-field-background-color, var(--ion-background-color));
|
|
366
|
+
}
|
|
608
367
|
}
|
|
609
368
|
|
|
610
369
|
ion-row.ion-list-header,
|
|
@@ -634,7 +393,7 @@ ion-list,
|
|
|
634
393
|
}
|
|
635
394
|
&.mat-select-searchbar-sticky {
|
|
636
395
|
/* offset because of the searchbar height */
|
|
637
|
-
top: 58px;
|
|
396
|
+
top: var(--ion-searchbar-height, 58px);
|
|
638
397
|
}
|
|
639
398
|
}
|
|
640
399
|
|
|
@@ -651,7 +410,7 @@ ion-list,
|
|
|
651
410
|
bottom: 0;
|
|
652
411
|
z-index: 1001;
|
|
653
412
|
border-top: 1px solid #{$app-select-option-border-color};
|
|
654
|
-
background-color:
|
|
413
|
+
background-color: var(--ion-toolbar-background, #{$ion-toolbar-background});
|
|
655
414
|
color: var(--ion-color-medium) !important; // not working on mobile form because the mat-option is disabled
|
|
656
415
|
@include font-size(12px);
|
|
657
416
|
font-weight: 500;
|
|
@@ -675,6 +434,7 @@ ion-list,
|
|
|
675
434
|
padding-left: var(--ion-padding-start) !important;
|
|
676
435
|
text-overflow: ellipsis;
|
|
677
436
|
overflow: hidden;
|
|
437
|
+
white-space: nowrap;
|
|
678
438
|
}
|
|
679
439
|
|
|
680
440
|
|
|
@@ -684,12 +444,16 @@ ion-list,
|
|
|
684
444
|
background: var(--ion-light-color-shade, $light);
|
|
685
445
|
}
|
|
686
446
|
|
|
687
|
-
.mat-option[no-padding],
|
|
447
|
+
.mat-mdc-option[no-padding],
|
|
688
448
|
mat-option[no-padding] {
|
|
689
449
|
padding: 0 !important;
|
|
690
450
|
}
|
|
691
451
|
}
|
|
692
452
|
|
|
453
|
+
// --------------------------------------------------
|
|
454
|
+
// Table > Filter expansion panel
|
|
455
|
+
// --------------------------------------------------
|
|
456
|
+
|
|
693
457
|
mat-expansion-panel {
|
|
694
458
|
|
|
695
459
|
&.filter-panel {
|
|
@@ -723,6 +487,10 @@ mat-expansion-panel {
|
|
|
723
487
|
right: 0;
|
|
724
488
|
}
|
|
725
489
|
|
|
490
|
+
&.filter-panel-pinned {
|
|
491
|
+
overflow-y: scroll;
|
|
492
|
+
}
|
|
493
|
+
|
|
726
494
|
.mat-expansion-panel-header,
|
|
727
495
|
mat-expansion-panel-header {
|
|
728
496
|
padding: var(--expansion-panel-header-padding, var(--expansion-panel-padding));
|
|
@@ -732,15 +500,6 @@ mat-expansion-panel {
|
|
|
732
500
|
}
|
|
733
501
|
}
|
|
734
502
|
|
|
735
|
-
mat-checkbox {
|
|
736
|
-
.mat-checkbox-checkmark {
|
|
737
|
-
.mat-checkbox-checkmark-path {
|
|
738
|
-
// TODO: change to accent-contrast
|
|
739
|
-
stroke: white !important;
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
|
|
744
503
|
// --------------------------------------------------
|
|
745
504
|
// Form buttons bar
|
|
746
505
|
// --------------------------------------------------
|
|
@@ -842,36 +601,12 @@ mat-button-toggle.mat-button-toggle-checked.mat-button-toggle-disabled {
|
|
|
842
601
|
color: white;
|
|
843
602
|
}
|
|
844
603
|
|
|
845
|
-
// --------------------------------------------------
|
|
846
|
-
// Material tab group
|
|
847
|
-
// --------------------------------------------------
|
|
848
|
-
|
|
849
|
-
// --- Allow to hide headers
|
|
850
|
-
mat-tab-group.mat-tab-group-header-hidden .mat-mdc-tab-header {
|
|
851
|
-
display: none;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
// --- Allow to hide header's pagination
|
|
855
|
-
mat-tab-group.mat-tab-group-header-pagination-hidden .mat-tab-header-pagination {
|
|
856
|
-
display: none;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
// --- Allow to hide disabled headers
|
|
860
|
-
mat-tab-group.mat-tab-disabled-hidden .mat-tab-disabled {
|
|
861
|
-
display: none;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
// --- Allow to show disabled headers
|
|
865
|
-
mat-tab-group.mat-tab-disabled-visible .mat-tab-disabled {
|
|
866
|
-
display: inherit;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
604
|
// --------------------------------------------------
|
|
870
605
|
// Material menu
|
|
871
606
|
// --------------------------------------------------
|
|
872
607
|
|
|
873
608
|
|
|
874
|
-
.mat-menu-panel {
|
|
609
|
+
.mat-mdc-menu-panel {
|
|
875
610
|
|
|
876
611
|
// Max width = 400px
|
|
877
612
|
&.mat-menu-size-400 {
|
|
@@ -888,31 +623,31 @@ mat-tab-group.mat-tab-disabled-visible .mat-tab-disabled {
|
|
|
888
623
|
|
|
889
624
|
// No padding
|
|
890
625
|
&.ion-no-padding {
|
|
891
|
-
.mat-menu-content {
|
|
626
|
+
.mat-mdc-menu-content {
|
|
892
627
|
padding: 0 !important;
|
|
893
628
|
}
|
|
894
629
|
}
|
|
895
630
|
|
|
896
631
|
// Small menu item (e.g. for actions on a table row)
|
|
897
|
-
&.mat-menu-small-
|
|
898
|
-
.mat-menu-item.mat-menu-item-small-height
|
|
632
|
+
&.mat-mdc-menu-item-small-height .mat-mdc-menu-item,
|
|
633
|
+
.mat-mdc-menu-item.mat-mdc-menu-item-small-height
|
|
899
634
|
{
|
|
900
635
|
padding: 0 8px;
|
|
901
636
|
height: 35px;
|
|
902
637
|
line-height: 35px;
|
|
903
638
|
}
|
|
904
639
|
// Reduce the font size, on label just inside a mat-menu (e.g. see trips.page.html)
|
|
905
|
-
.mat-menu-content > ion-label {
|
|
640
|
+
.mat-mdc-menu-content > ion-label {
|
|
906
641
|
@include font-size(12px);
|
|
907
642
|
}
|
|
908
643
|
|
|
909
|
-
.mat-menu-content ion-item > ion-icon[slot="start"] {
|
|
644
|
+
.mat-mdc-menu-content ion-item > ion-icon[slot="start"] {
|
|
910
645
|
margin-right: 16px;
|
|
911
646
|
vertical-align: middle;
|
|
912
647
|
}
|
|
913
648
|
|
|
914
649
|
// Menu title (e.g. see extraction map)
|
|
915
|
-
.mat-menu-item.mat-menu-title {
|
|
650
|
+
.mat-mdc-menu-item.mat-mdc-menu-title {
|
|
916
651
|
padding: 0 8px;
|
|
917
652
|
height: 27px;
|
|
918
653
|
line-height: 27px;
|
|
@@ -930,10 +665,26 @@ ion-alert button.alert-button {
|
|
|
930
665
|
cursor: pointer;
|
|
931
666
|
}
|
|
932
667
|
|
|
668
|
+
|
|
933
669
|
// --------------------------------------------------
|
|
934
|
-
//
|
|
670
|
+
// Overlay
|
|
935
671
|
// --------------------------------------------------
|
|
936
672
|
|
|
673
|
+
.cdk-overlay-dark-backdrop {
|
|
674
|
+
background: rgba(var(--ion-backdrop-color-rgb, 0,0,0), var(--ion-backdrop-opacity, 0.32));
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
// --------------------------------------------------
|
|
678
|
+
// Date and time picker
|
|
679
|
+
// --------------------------------------------------
|
|
680
|
+
// Date picker
|
|
681
|
+
.mat-datepicker-content {
|
|
682
|
+
--mat-datepicker-calendar-container-background-color: var(--ion-background-color, #fff) !important;
|
|
683
|
+
--mat-datepicker-calendar-container-text-color: var(--ion-text-color, #000000) !important;
|
|
684
|
+
--mat-datepicker-calendar-date-text-color: var(--ion-text-color);
|
|
685
|
+
--mat-datepicker-calendar-body-label-text-color: var(--ion-color-step-500);
|
|
686
|
+
--mat-datepicker-calendar-header-text-color: var(--ion-color-step-500);
|
|
687
|
+
}
|
|
937
688
|
mat-calendar {
|
|
938
689
|
.mat-calendar-header {
|
|
939
690
|
background-color: var(--ion-color-secondary) !important;
|
|
@@ -955,9 +706,30 @@ mat-calendar {
|
|
|
955
706
|
}
|
|
956
707
|
}
|
|
957
708
|
|
|
709
|
+
@media (orientation: landscape) {
|
|
710
|
+
.mat-datepicker-content-touch {
|
|
711
|
+
height: fit-content !important;
|
|
712
|
+
min-height: 310px;
|
|
958
713
|
|
|
714
|
+
.mat-calendar-controls {
|
|
715
|
+
margin-top: 0;
|
|
716
|
+
}
|
|
717
|
+
.mat-datepicker-content-container {
|
|
718
|
+
&.mat-datepicker-content-container-with-actions {
|
|
719
|
+
height: unset !important;
|
|
720
|
+
}
|
|
721
|
+
.mat-datepicker-actions {
|
|
722
|
+
background-color: var(--mat-datepicker-calendar-container-background-color);
|
|
723
|
+
margin-top: -12px;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
// Time picker
|
|
959
731
|
.timepicker-backdrop-overlay {
|
|
960
|
-
background-color: rgba(
|
|
732
|
+
background-color: rgba(var(--ion-backdrop-color-rgb, 0,0,0), var(--ion-backdrop-opacity, 0.32)) !important;
|
|
961
733
|
z-index: 1000;
|
|
962
734
|
opacity: 1;
|
|
963
735
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -966,7 +738,13 @@ mat-calendar {
|
|
|
966
738
|
|
|
967
739
|
ngx-material-timepicker-content {
|
|
968
740
|
--clock-hand-color: var(--ion-color-accent) !important;
|
|
969
|
-
--clock-face-
|
|
741
|
+
--clock-face-background-color: var(--ion-color-step-100, #f0f0f0) !important;
|
|
742
|
+
--clock-face-time-active-color: var(--ion-color-accent-contrast, #fff) !important;
|
|
743
|
+
--clock-face-time-inactive-color: var(--ion-color-step-900, #6c6c6c) !important;
|
|
744
|
+
--clock-face-time-disabled-color: var(--ion-color-step-200, #c5c5c5);
|
|
745
|
+
--clock-face-inner-time-inactive-color: var(--ion-color-step-700, #929292) !important;
|
|
746
|
+
--body-background-color: var(--ion-background-color, #fff);
|
|
747
|
+
|
|
970
748
|
// TODO review !
|
|
971
749
|
//@extend .mat-dialog-container !optional;
|
|
972
750
|
|
|
@@ -978,19 +756,20 @@ ngx-material-timepicker-content {
|
|
|
978
756
|
--dial-background-color: var(--ion-color-secondary) !important;
|
|
979
757
|
color: var(--ion-color-secondary-contrast) !important;
|
|
980
758
|
}
|
|
981
|
-
}
|
|
982
759
|
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
760
|
+
ngx-material-timepicker-dial-control {
|
|
761
|
+
outline-color: var(--ion-color-accent) !important;
|
|
762
|
+
input {
|
|
763
|
+
outline-color: inherit !important;
|
|
764
|
+
}
|
|
987
765
|
}
|
|
766
|
+
|
|
988
767
|
}
|
|
768
|
+
|
|
989
769
|
}
|
|
990
770
|
|
|
991
771
|
.mat-mdc-form-field-type-mat-chip-grid {
|
|
992
772
|
.mat-mdc-form-field-infix {
|
|
993
|
-
padding-bottom: 5px !important;
|
|
994
773
|
--mdc-chip-container-height: 24px !important;
|
|
995
774
|
}
|
|
996
775
|
}
|
|
@@ -1129,7 +908,8 @@ ion-button[expand="full"],
|
|
|
1129
908
|
// Icon multiple
|
|
1130
909
|
// --------------------------------------------------
|
|
1131
910
|
ion-icon.icon-secondary,
|
|
1132
|
-
mat-icon.icon-secondary
|
|
911
|
+
mat-icon.icon-secondary,
|
|
912
|
+
.mat-mdc-icon-button .mat-icon.icon-secondary {
|
|
1133
913
|
position: absolute;
|
|
1134
914
|
left: 0;
|
|
1135
915
|
}
|
|
@@ -1190,3 +970,17 @@ ion-toast {
|
|
|
1190
970
|
ion-refresher.refresher-native {
|
|
1191
971
|
z-index: 1000;
|
|
1192
972
|
}
|
|
973
|
+
|
|
974
|
+
// --------------------------------------------------
|
|
975
|
+
// Named filter
|
|
976
|
+
// --------------------------------------------------
|
|
977
|
+
|
|
978
|
+
ion-toolbar app-named-filter-selector,
|
|
979
|
+
mat-toolbar app-named-filter-selector {
|
|
980
|
+
|
|
981
|
+
// Hide subscript wrapper (will hide hint)
|
|
982
|
+
.mat-mdc-form-field-subscript-wrapper {
|
|
983
|
+
display: none;
|
|
984
|
+
visibility: hidden;
|
|
985
|
+
}
|
|
986
|
+
}
|