@sumaris-net/ngx-components 2.6.7 → 3.0.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/public_api.mjs +12 -6
- package/esm2020/src/app/admin/admin-routing.module.mjs +5 -5
- package/esm2020/src/app/admin/admin.module.mjs +5 -5
- package/esm2020/src/app/admin/services/person.service.mjs +4 -4
- package/esm2020/src/app/admin/services/validator/person.validator.mjs +4 -4
- package/esm2020/src/app/admin/users/users.mjs +5 -5
- package/esm2020/src/app/admin/users/users.module.mjs +5 -5
- package/esm2020/src/app/core/about/about.modal.mjs +4 -4
- package/esm2020/src/app/core/about/about.module.mjs +5 -5
- package/esm2020/src/app/core/account/account.module.mjs +5 -5
- package/esm2020/src/app/core/account/account.page.mjs +16 -18
- package/esm2020/src/app/core/account/new-token.modal.mjs +5 -5
- package/esm2020/src/app/core/account/token.table.mjs +5 -5
- package/esm2020/src/app/core/auth/auth.form.mjs +6 -5
- package/esm2020/src/app/core/auth/auth.modal.mjs +4 -4
- package/esm2020/src/app/core/auth/auth.module.mjs +5 -5
- package/esm2020/src/app/core/core.module.mjs +5 -5
- package/esm2020/src/app/core/core.testing.module.mjs +13 -6
- package/esm2020/src/app/core/form/buttons/form-buttons-bar.component.mjs +5 -5
- package/esm2020/src/app/core/form/buttons/form-buttons-bar.module.mjs +5 -5
- package/esm2020/src/app/core/form/entity/editor.class.mjs +7 -7
- package/esm2020/src/app/core/form/entity/entity-editor-modal.class.mjs +4 -4
- package/esm2020/src/app/core/form/entity/entity-editor.class.mjs +4 -4
- package/esm2020/src/app/core/form/entity/entity-metadata.component.mjs +4 -4
- package/esm2020/src/app/core/form/entity/entity.module.mjs +5 -5
- package/esm2020/src/app/core/form/form.class.mjs +4 -4
- package/esm2020/src/app/core/form/form.module.mjs +5 -5
- package/esm2020/src/app/core/form/list/list.form.mjs +4 -4
- package/esm2020/src/app/core/form/list/list.module.mjs +5 -5
- package/esm2020/src/app/core/form/properties/properties.form.mjs +6 -6
- package/esm2020/src/app/core/form/properties/properties.module.mjs +5 -5
- package/esm2020/src/app/core/form/properties/properties.table.mjs +9 -11
- package/esm2020/src/app/core/form/properties/property.validator.mjs +4 -4
- package/esm2020/src/app/core/form/properties/testing/properties-form.test.mjs +4 -4
- package/esm2020/src/app/core/form/properties/testing/properties-form.testing.module.mjs +5 -5
- package/esm2020/src/app/core/form/text-popover/testing/text-popover.testing.mjs +4 -4
- package/esm2020/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +5 -5
- package/esm2020/src/app/core/form/text-popover/text-form.component.mjs +7 -7
- package/esm2020/src/app/core/form/text-popover/text-popover.component.mjs +4 -4
- package/esm2020/src/app/core/form/text-popover/text-popover.module.mjs +5 -5
- package/esm2020/src/app/core/graphql/graphql.module.mjs +5 -5
- package/esm2020/src/app/core/graphql/graphql.service.mjs +4 -9
- package/esm2020/src/app/core/home/home.mjs +4 -4
- package/esm2020/src/app/core/home/home.module.mjs +5 -5
- package/esm2020/src/app/core/icon/icon.component.mjs +4 -4
- package/esm2020/src/app/core/icon/icon.module.mjs +5 -5
- package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +4 -4
- package/esm2020/src/app/core/install/install-upgrade-card.module.mjs +5 -5
- package/esm2020/src/app/core/menu/menu.component.mjs +14 -13
- package/esm2020/src/app/core/menu/menu.model.mjs +1 -1
- package/esm2020/src/app/core/menu/menu.module.mjs +5 -5
- package/esm2020/src/app/core/menu/menu.service.mjs +4 -4
- package/esm2020/src/app/core/menu/sub-menu-tab.directive.mjs +4 -4
- package/esm2020/src/app/core/menu/testing/menu-other.testing.mjs +4 -4
- package/esm2020/src/app/core/menu/testing/menu.testing.mjs +4 -4
- package/esm2020/src/app/core/menu/testing/menu.testing.module.mjs +5 -5
- package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +4 -4
- package/esm2020/src/app/core/offline/update-offline-mode-card.module.mjs +5 -5
- package/esm2020/src/app/core/peer/select-peer.modal.mjs +4 -4
- package/esm2020/src/app/core/peer/select-peer.module.mjs +5 -5
- package/esm2020/src/app/core/register/register-confirm.page.mjs +4 -4
- package/esm2020/src/app/core/register/register.form.mjs +5 -5
- package/esm2020/src/app/core/register/register.modal.mjs +4 -4
- package/esm2020/src/app/core/register/register.module.mjs +5 -5
- package/esm2020/src/app/core/services/account.service.mjs +23 -50
- package/esm2020/src/app/core/services/auth-guard.service.mjs +4 -4
- package/esm2020/src/app/core/services/base-entity-service.class.mjs +4 -4
- package/esm2020/src/app/core/services/base-graphql-service.class.mjs +4 -4
- package/esm2020/src/app/core/services/config/core.config.mjs +4 -4
- package/esm2020/src/app/core/services/config.service.mjs +4 -4
- package/esm2020/src/app/core/services/crypto.service.mjs +4 -4
- package/esm2020/src/app/core/services/local-settings.service.mjs +4 -4
- package/esm2020/src/app/core/services/network.service.mjs +4 -4
- package/esm2020/src/app/core/services/pipes/account.pipes.mjs +9 -9
- package/esm2020/src/app/core/services/pipes/department-to-string.pipe.mjs +5 -5
- package/esm2020/src/app/core/services/pipes/person-to-string.pipe.mjs +5 -5
- package/esm2020/src/app/core/services/pipes/usage-mode.pipes.mjs +9 -9
- package/esm2020/src/app/core/services/platform.service.mjs +10 -20
- package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +4 -4
- package/esm2020/src/app/core/services/testing/referential.validator.mjs +4 -4
- package/esm2020/src/app/core/services/validator/account.validator.mjs +4 -4
- package/esm2020/src/app/core/services/validator/base.validator.class.mjs +4 -4
- package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +4 -4
- package/esm2020/src/app/core/services/validator/user-settings.validator.mjs +4 -4
- package/esm2020/src/app/core/services/validator/user-token.validator.mjs +4 -4
- package/esm2020/src/app/core/settings/settings.module.mjs +5 -5
- package/esm2020/src/app/core/settings/settings.page.mjs +6 -6
- package/esm2020/src/app/core/table/actions-column.component.mjs +5 -5
- package/esm2020/src/app/core/table/async-table.class.mjs +4 -4
- package/esm2020/src/app/core/table/entities-async-table-datasource.class.mjs +4 -4
- package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +4 -4
- package/esm2020/src/app/core/table/memory-table.class.mjs +4 -4
- package/esm2020/src/app/core/table/table-select-columns.component.mjs +5 -5
- package/esm2020/src/app/core/table/table.class.mjs +6 -6
- package/esm2020/src/app/core/table/table.module.mjs +5 -5
- package/esm2020/src/app/core/table/testing/table-validator.service.mjs +4 -4
- package/esm2020/src/app/core/table/testing/table.testing.mjs +27 -27
- package/esm2020/src/app/core/table/testing/table.testing.module.mjs +21 -9
- package/esm2020/src/app/core/table/testing/table2-validator.service.mjs +24 -0
- package/esm2020/src/app/core/table/testing/table2.testing.mjs +242 -0
- package/esm2020/src/app/shared/audio/audio.mjs +4 -4
- package/esm2020/src/app/shared/audio/audio.testing.mjs +4 -4
- package/esm2020/src/app/shared/audio/audio.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/capacitor/keyboard.mjs +4 -4
- package/esm2020/src/app/shared/debug/debug.component.mjs +4 -4
- package/esm2020/src/app/shared/debug/debug.module.mjs +5 -5
- package/esm2020/src/app/shared/directives/autofocus.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/autotitle.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/directives.module.mjs +5 -5
- package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/ng-var.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/resizable/resizable.component.mjs +5 -4
- package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/resizable/resizable.module.mjs +5 -5
- package/esm2020/src/app/shared/file/file.service.mjs +4 -4
- package/esm2020/src/app/shared/form/field.component.mjs +8 -6
- package/esm2020/src/app/shared/form/field.model.mjs +1 -1
- package/esm2020/src/app/shared/form/loading-spinner.mjs +4 -4
- package/esm2020/src/app/shared/functions.mjs +4 -3
- package/esm2020/src/app/shared/gesture/gesture-config.mjs +4 -4
- package/esm2020/src/app/shared/guard/component-dirty.guard.mjs +4 -4
- package/esm2020/src/app/shared/help/help.modal.mjs +5 -5
- package/esm2020/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +4 -4
- package/esm2020/src/app/shared/hotkeys/hotkeys.service.mjs +9 -12
- package/esm2020/src/app/shared/hotkeys/shared-hotkeys.module.mjs +6 -6
- package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +4 -4
- package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +5 -5
- package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +4 -4
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +4 -4
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/image/image.module.mjs +5 -5
- package/esm2020/src/app/shared/image/image.service.mjs +4 -4
- package/esm2020/src/app/shared/logging/logging-service.class.mjs +4 -4
- package/esm2020/src/app/shared/logging/logging-service.module.mjs +5 -5
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +36 -31
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +5 -5
- package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +5 -5
- package/esm2020/src/app/shared/material/badge/badge.directive.mjs +4 -4
- package/esm2020/src/app/shared/material/badge/badge.module.mjs +5 -5
- package/esm2020/src/app/shared/material/badge/badge.test.mjs +5 -5
- package/esm2020/src/app/shared/material/boolean/boolean.module.mjs +20 -12
- package/esm2020/src/app/shared/material/boolean/material-boolean2.mjs +248 -0
- package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +7 -6
- package/esm2020/src/app/shared/material/boolean/testing/boolean.test.page.mjs +51 -0
- package/esm2020/src/app/shared/material/chips/chips.module.mjs +8 -8
- package/esm2020/src/app/shared/material/chips/material.chips.mjs +19 -27
- package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +6 -6
- package/esm2020/src/app/shared/material/datetime/datetime.module.mjs +5 -5
- package/esm2020/src/app/shared/material/datetime/material.date.mjs +8 -6
- package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +8 -6
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +8 -6
- package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +19 -7
- package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +15 -7
- package/esm2020/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +15 -7
- package/esm2020/src/app/shared/material/duration/duration.module.mjs +7 -7
- package/esm2020/src/app/shared/material/duration/material.duration.mjs +7 -6
- package/esm2020/src/app/shared/material/duration/testing/mat-duration.test.mjs +76 -0
- package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +7 -6
- package/esm2020/src/app/shared/material/latlong/material.latlong.module.mjs +8 -8
- package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +4 -4
- package/esm2020/src/app/shared/material/material.module.mjs +18 -18
- package/esm2020/src/app/shared/material/material.testing.module.mjs +65 -23
- package/esm2020/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.component.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.container.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.content.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.directive.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.dom-service.mjs +9 -14
- package/esm2020/src/app/shared/material/numpad/numpad.module.mjs +6 -6
- package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +5 -5
- package/esm2020/src/app/shared/material/paginator/material.paginator-i18n.mjs +5 -5
- package/esm2020/src/app/shared/material/stepper/material.stepper-i18n.mjs +4 -4
- package/esm2020/src/app/shared/material/swipe/material.swipe.mjs +6 -5
- package/esm2020/src/app/shared/material/swipe/swipe.module.mjs +13 -9
- package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +4 -4
- package/esm2020/src/app/shared/material/testing/common.test.mjs +95 -0
- package/esm2020/src/app/shared/named-filter/named-filter-selector.component.mjs +4 -4
- package/esm2020/src/app/shared/named-filter/named-filter.module.mjs +5 -5
- package/esm2020/src/app/shared/named-filter/named-filter.service.mjs +4 -4
- package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +25 -25
- package/esm2020/src/app/shared/pipes/colors.pipe.mjs +6 -4
- package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +5 -5
- package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +7 -7
- package/esm2020/src/app/shared/pipes/date-from-now.pipe.mjs +5 -5
- package/esm2020/src/app/shared/pipes/duration.pipe.mjs +5 -5
- package/esm2020/src/app/shared/pipes/file-size.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/form.pipes.mjs +19 -19
- package/esm2020/src/app/shared/pipes/highlight.pipe.mjs +5 -5
- package/esm2020/src/app/shared/pipes/latlong-format.pipe.mjs +10 -10
- package/esm2020/src/app/shared/pipes/maps.pipe.mjs +13 -13
- package/esm2020/src/app/shared/pipes/math.pipes.mjs +13 -13
- package/esm2020/src/app/shared/pipes/ng-init.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/number-format.pipe.mjs +5 -5
- package/esm2020/src/app/shared/pipes/pipes.module.mjs +19 -11
- package/esm2020/src/app/shared/pipes/property.pipes.mjs +8 -8
- package/esm2020/src/app/shared/pipes/string.pipes.mjs +42 -28
- package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +9 -9
- package/esm2020/src/app/shared/pipes/types.pipes.mjs +23 -10
- package/esm2020/src/app/shared/rx-state.module.mjs +23 -0
- package/esm2020/src/app/shared/services/entity-service.class.mjs +1 -1
- package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +4 -4
- package/esm2020/src/app/shared/services/progress-bar.service.mjs +4 -4
- package/esm2020/src/app/shared/services/startable-observable-service.class.mjs +12 -9
- package/esm2020/src/app/shared/services/startable-service.class.mjs +13 -10
- package/esm2020/src/app/shared/services/translate-context.service.mjs +4 -4
- package/esm2020/src/app/shared/shared-routing.module.mjs +8 -8
- package/esm2020/src/app/shared/shared.module.mjs +23 -30
- package/esm2020/src/app/shared/shared.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/storage/storage-explorer.component.mjs +4 -4
- package/esm2020/src/app/shared/storage/storage-explorer.module.mjs +5 -5
- package/esm2020/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +5 -5
- package/esm2020/src/app/shared/storage/storage-explorer.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/storage/storage.service.mjs +4 -4
- package/esm2020/src/app/shared/testing/observable.test.mjs +4 -4
- package/esm2020/src/app/shared/testing/tests.page.mjs +4 -4
- package/esm2020/src/app/shared/toast/toast.testing.mjs +4 -4
- package/esm2020/src/app/shared/toast/toast.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/toolbar/modal-toolbar.mjs +4 -4
- package/esm2020/src/app/shared/toolbar/toolbar.mjs +4 -4
- package/esm2020/src/app/shared/toolbar/toolbar.module.mjs +6 -6
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.mjs +4 -4
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/upload-file/upload-file-popover.component.mjs +4 -4
- package/esm2020/src/app/shared/upload-file/upload-file.component.mjs +5 -5
- package/esm2020/src/app/shared/validator/form-error-adapter.class.mjs +4 -4
- package/esm2020/src/app/social/job/job.module.mjs +5 -5
- package/esm2020/src/app/social/job/progression/job-progression.component.mjs +23 -9
- package/esm2020/src/app/social/job/progression/job-progression.icon.mjs +74 -67
- package/esm2020/src/app/social/job/progression/job-progression.list.mjs +13 -10
- package/esm2020/src/app/social/job/progression/job-progression.model.mjs +1 -1
- package/esm2020/src/app/social/job/progression/job-progression.service.mjs +4 -4
- package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +10 -21
- package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +4 -4
- package/esm2020/src/app/social/job/testing/job.testing.module.mjs +5 -5
- package/esm2020/src/app/social/message/message.form.mjs +7 -7
- package/esm2020/src/app/social/message/message.modal.mjs +4 -4
- package/esm2020/src/app/social/message/message.module.mjs +5 -5
- package/esm2020/src/app/social/message/message.service.mjs +4 -4
- package/esm2020/src/app/social/social.module.mjs +5 -5
- package/esm2020/src/app/social/social.testing.module.mjs +5 -5
- package/esm2020/src/app/social/user-event/notification/user-event-notification.icon.mjs +4 -4
- package/esm2020/src/app/social/user-event/notification/user-event-notification.list.mjs +4 -4
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +4 -4
- package/esm2020/src/app/social/user-event/testing/user-event.testing.model.mjs +1 -1
- package/esm2020/src/app/social/user-event/testing/user-event.testing.module.mjs +5 -5
- package/esm2020/src/app/social/user-event/testing/user-event.testing.service.mjs +4 -4
- package/esm2020/src/app/social/user-event/user-event.module.mjs +5 -5
- package/esm2020/src/app/social/user-event/user-event.service.mjs +4 -4
- package/esm2020/src/environments/environment.class.mjs +1 -1
- package/esm2020/src/environments/environment.mjs +17 -20
- package/fesm2015/sumaris-net.ngx-components.mjs +7689 -7022
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +8988 -8329
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +4 -3
- package/public_api.d.ts +11 -5
- package/src/app/admin/users/users.d.ts +1 -1
- package/src/app/core/about/about.modal.d.ts +1 -1
- package/src/app/core/account/account.page.d.ts +3 -4
- package/src/app/core/account/new-token.modal.d.ts +1 -1
- package/src/app/core/account/token.table.d.ts +1 -1
- package/src/app/core/auth/auth.form.d.ts +1 -1
- package/src/app/core/auth/auth.modal.d.ts +1 -1
- package/src/app/core/form/buttons/form-buttons-bar.component.d.ts +1 -1
- package/src/app/core/form/entity/editor.class.d.ts +4 -4
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +1 -1
- package/src/app/core/form/entity/entity-editor.class.d.ts +1 -1
- package/src/app/core/form/entity/entity-metadata.component.d.ts +1 -1
- package/src/app/core/form/form.class.d.ts +1 -1
- package/src/app/core/form/list/list.form.d.ts +1 -1
- package/src/app/core/form/properties/properties.form.d.ts +1 -1
- package/src/app/core/form/properties/properties.table.d.ts +2 -3
- package/src/app/core/form/properties/property.validator.d.ts +1 -1
- package/src/app/core/form/properties/testing/properties-form.test.d.ts +1 -1
- package/src/app/core/form/text-popover/testing/text-popover.testing.d.ts +1 -1
- package/src/app/core/form/text-popover/text-form.component.d.ts +1 -1
- package/src/app/core/form/text-popover/text-popover.component.d.ts +1 -1
- package/src/app/core/home/home.d.ts +1 -1
- package/src/app/core/icon/icon.component.d.ts +1 -1
- package/src/app/core/install/install-upgrade-card.component.d.ts +1 -1
- package/src/app/core/menu/menu.component.d.ts +2 -2
- package/src/app/core/menu/menu.model.d.ts +0 -1
- package/src/app/core/menu/sub-menu-tab.directive.d.ts +1 -1
- package/src/app/core/menu/testing/menu-other.testing.d.ts +1 -1
- package/src/app/core/menu/testing/menu.testing.d.ts +1 -1
- package/src/app/core/offline/update-offline-mode-card.component.d.ts +1 -1
- package/src/app/core/peer/select-peer.modal.d.ts +1 -1
- package/src/app/core/register/register-confirm.page.d.ts +1 -1
- package/src/app/core/register/register.form.d.ts +1 -1
- package/src/app/core/register/register.modal.d.ts +1 -1
- package/src/app/core/services/account.service.d.ts +0 -4
- package/src/app/core/services/base-entity-service.class.d.ts +1 -1
- package/src/app/core/services/base-graphql-service.class.d.ts +1 -1
- package/src/app/core/services/config/core.config.d.ts +1 -1
- package/src/app/core/services/validator/base.validator.class.d.ts +1 -1
- package/src/app/core/settings/settings.page.d.ts +1 -1
- package/src/app/core/table/actions-column.component.d.ts +2 -2
- package/src/app/core/table/async-table.class.d.ts +1 -1
- package/src/app/core/table/entities-async-table-datasource.class.d.ts +1 -1
- package/src/app/core/table/entities-table-datasource.class.d.ts +1 -1
- package/src/app/core/table/memory-table.class.d.ts +3 -3
- package/src/app/core/table/table-select-columns.component.d.ts +1 -1
- package/src/app/core/table/table.class.d.ts +3 -3
- package/src/app/core/table/testing/table.testing.d.ts +5 -4
- package/src/app/core/table/testing/table.testing.module.d.ts +8 -5
- package/src/app/core/table/testing/table2-validator.service.d.ts +15 -0
- package/src/app/core/table/testing/table2.testing.d.ts +45 -0
- package/src/app/shared/audio/audio.testing.d.ts +1 -1
- package/src/app/shared/debug/debug.component.d.ts +1 -1
- package/src/app/shared/directives/autofocus.directive.d.ts +1 -1
- package/src/app/shared/directives/autotitle.directive.d.ts +1 -1
- package/src/app/shared/directives/drag-and-drop.directive.d.ts +1 -1
- package/src/app/shared/directives/ng-var.directive.d.ts +1 -1
- package/src/app/shared/directives/resizable/resizable.component.d.ts +1 -1
- package/src/app/shared/directives/resizable/resizable.directive.d.ts +1 -1
- package/src/app/shared/form/field.component.d.ts +4 -5
- package/src/app/shared/form/field.model.d.ts +2 -0
- package/src/app/shared/form/loading-spinner.d.ts +1 -1
- package/src/app/shared/functions.d.ts +2 -2
- package/src/app/shared/help/help.modal.d.ts +2 -2
- package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +1 -1
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +3 -3
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +3 -3
- package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +2 -2
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +8 -8
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +1 -1
- package/src/app/shared/material/badge/badge.directive.d.ts +1 -1
- package/src/app/shared/material/badge/badge.test.d.ts +1 -1
- package/src/app/shared/material/boolean/boolean.module.d.ts +15 -13
- package/src/app/shared/material/boolean/material-boolean2.d.ts +66 -0
- package/src/app/shared/material/boolean/material.boolean.d.ts +5 -4
- package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +21 -0
- package/src/app/shared/material/chips/material.chips.d.ts +8 -9
- package/src/app/shared/material/chips/testing/chips.test.d.ts +2 -2
- package/src/app/shared/material/datetime/material.date.d.ts +4 -3
- package/src/app/shared/material/datetime/material.dateshort.d.ts +6 -5
- package/src/app/shared/material/datetime/material.datetime.d.ts +4 -3
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +7 -1
- package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +3 -1
- package/src/app/shared/material/datetime/testing/mat-dateshort.test.d.ts +3 -1
- package/src/app/shared/material/duration/material.duration.d.ts +5 -4
- package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +22 -0
- package/src/app/shared/material/latlong/material.latlong.d.ts +4 -3
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +1 -1
- package/src/app/shared/material/material.testing.module.d.ts +22 -18
- package/src/app/shared/material/numpad/numpad.append-to-input.directive.d.ts +1 -1
- package/src/app/shared/material/numpad/numpad.component.d.ts +1 -1
- package/src/app/shared/material/numpad/numpad.container.d.ts +1 -1
- package/src/app/shared/material/numpad/numpad.content.d.ts +1 -1
- package/src/app/shared/material/numpad/numpad.directive.d.ts +1 -1
- package/src/app/shared/material/numpad/numpad.dom-service.d.ts +3 -3
- package/src/app/shared/material/numpad/testing/numpad.test.d.ts +1 -1
- package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +0 -3
- package/src/app/shared/material/swipe/material.swipe.d.ts +6 -6
- package/src/app/shared/material/swipe/swipe.module.d.ts +2 -1
- package/src/app/shared/material/swipe/testing/swipe.test.d.ts +1 -1
- package/src/app/shared/material/testing/common.test.d.ts +23 -0
- package/src/app/shared/named-filter/named-filter-selector.component.d.ts +1 -1
- package/src/app/shared/named-filter/named-filter.service.d.ts +1 -1
- package/src/app/shared/pipes/ng-init.pipe.d.ts +1 -1
- package/src/app/shared/pipes/pipes.module.d.ts +1 -1
- package/src/app/shared/pipes/string.pipes.d.ts +6 -0
- package/src/app/shared/pipes/types.pipes.d.ts +7 -0
- package/src/app/shared/rx-state.module.d.ts +10 -0
- package/src/app/shared/services/memory-entity-service.class.d.ts +1 -1
- package/src/app/shared/services/startable-observable-service.class.d.ts +3 -0
- package/src/app/shared/services/startable-service.class.d.ts +3 -0
- package/src/app/shared/shared.module.d.ts +12 -13
- package/src/app/shared/storage/storage-explorer.component.d.ts +1 -1
- package/src/app/shared/testing/observable.test.d.ts +1 -1
- package/src/app/shared/testing/tests.page.d.ts +1 -1
- package/src/app/shared/toast/toast.testing.d.ts +1 -1
- package/src/app/shared/toolbar/modal-toolbar.d.ts +1 -1
- package/src/app/shared/toolbar/toolbar.d.ts +1 -1
- package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +1 -1
- package/src/app/shared/upload-file/upload-file-popover.component.d.ts +1 -1
- package/src/app/shared/upload-file/upload-file.component.d.ts +1 -1
- package/src/app/social/job/progression/job-progression.component.d.ts +17 -3
- package/src/app/social/job/progression/job-progression.icon.d.ts +24 -10
- package/src/app/social/job/progression/job-progression.list.d.ts +3 -3
- package/src/app/social/job/progression/job-progression.model.d.ts +0 -1
- package/src/app/social/job/testing/job-progression.testing.d.ts +3 -6
- package/src/app/social/message/message.form.d.ts +1 -1
- package/src/app/social/message/message.modal.d.ts +1 -1
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +1 -1
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +1 -1
- package/src/app/social/user-event/testing/user-event.testing.d.ts +1 -1
- package/src/app/social/user-event/testing/user-event.testing.model.d.ts +0 -1
- package/src/app/social/user-event/user-event.service.d.ts +1 -1
- package/src/assets/i18n/en-US.json +4 -7
- package/src/assets/i18n/en.json +4 -7
- package/src/assets/i18n/fr.json +3 -1
- package/src/assets/img/logo/logo-eis.png +0 -0
- package/src/assets/manifest.json +1 -1
- package/src/environments/environment.class.d.ts +0 -1
- package/src/theme/_material.globals.scss +49 -17
- package/src/theme/_material.scss +1 -14
- package/src/theme/_mixins.scss +1 -1
- package/src/theme/_ngx-components.globals.scss +6 -1
- package/src/theme/_ngx-components.scss +263 -534
- package/src/theme/_ngx-components.table.scss +593 -0
- package/src/theme/_theme.scss +1 -0
- package/esm2020/src/environments/environment.loader.mjs +0 -79
- package/resources/README.md +0 -7
- package/src/assets/environments/environment-test.json +0 -6
- package/src/environments/environment.loader.d.ts +0 -26
|
@@ -135,12 +135,12 @@ form.form-container {
|
|
|
135
135
|
@include font-size(16px);
|
|
136
136
|
|
|
137
137
|
.mat-form-field-disabled,
|
|
138
|
-
.mat-input-element:disabled {
|
|
138
|
+
.mat-mdc-input-element:disabled {
|
|
139
139
|
color: $app-form-color-disabled !important;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.mat-form-field-disabled {
|
|
143
|
-
.mat-form-field-infix{
|
|
143
|
+
.mat-mdc-form-field-infix{
|
|
144
144
|
min-height: 41px;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
@@ -151,60 +151,131 @@ form.form-container {
|
|
|
151
151
|
width: 100%;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
mat-form-field {
|
|
155
|
-
|
|
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
|
+
}
|
|
156
168
|
|
|
157
169
|
ion-icon[matPrefix],
|
|
158
170
|
mat-icon[matPrefix],
|
|
159
|
-
.mat-form-field-prefix
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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
|
+
}
|
|
171
184
|
}
|
|
172
185
|
|
|
173
186
|
ion-icon[matSuffix],
|
|
174
187
|
mat-icon[matSuffix],
|
|
175
|
-
.mat-form-field-suffix
|
|
176
|
-
|
|
188
|
+
.mat-mdc-form-field-icon-suffix {
|
|
189
|
+
white-space: nowrap;
|
|
177
190
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
191
|
+
.mat-mdc-icon-button {
|
|
192
|
+
width: 24px;
|
|
193
|
+
height: 24px;
|
|
194
|
+
padding: 2px 0 0 0;
|
|
195
|
+
|
|
196
|
+
ion-icon, .mat-icon {
|
|
197
|
+
$font-size: calculateRem(18px);
|
|
198
|
+
font-size: $font-size;
|
|
199
|
+
line-height: 1.125;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.mat-mdc-button-touch-target {
|
|
203
|
+
width: 24px;
|
|
204
|
+
}
|
|
182
205
|
}
|
|
206
|
+
|
|
207
|
+
ion-icon, .mat-icon {
|
|
208
|
+
|
|
209
|
+
&.large {
|
|
210
|
+
$font-size: calculateRem(24px);
|
|
211
|
+
font-size: $font-size;
|
|
212
|
+
line-height: 1.125;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
183
216
|
}
|
|
184
217
|
|
|
185
218
|
// When field use choice button, reduce the font size, and optimize layout
|
|
186
|
-
button.mat-form-field-button,
|
|
187
|
-
ion-button.mat-form-field-button {
|
|
219
|
+
button.mat-mdc-form-field-button,
|
|
220
|
+
ion-button.mat-mdc-form-field-button {
|
|
188
221
|
@include font-size-important(12px);
|
|
189
222
|
margin: 0;
|
|
190
223
|
white-space: normal;
|
|
191
224
|
}
|
|
225
|
+
|
|
226
|
+
// Used to customize mat-boolean-field
|
|
227
|
+
&.mat-boolean2-field-checkbox {
|
|
228
|
+
|
|
229
|
+
.mat-mdc-form-field-infix {
|
|
230
|
+
padding-top: 8px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.mdc-floating-label {
|
|
234
|
+
transform: unset !important;
|
|
235
|
+
left: 40px;
|
|
236
|
+
top: 20px;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&.mat-boolean2-field-radio {
|
|
241
|
+
//margin-top: -2px; // Fix alignment
|
|
242
|
+
|
|
243
|
+
.mat-mdc-radio-button {
|
|
244
|
+
padding-left: 8px;
|
|
245
|
+
|
|
246
|
+
.mdc-radio {
|
|
247
|
+
//--mdc-radio-state-layer-size: 20px;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&.mat-boolean2-field-button {
|
|
253
|
+
//margin-top: -4px; // Fix alignment
|
|
254
|
+
}
|
|
192
255
|
}
|
|
193
256
|
|
|
194
257
|
|
|
195
258
|
/* -- Computed field -- */
|
|
196
259
|
|
|
197
260
|
// Set color on computed field (if enable or disable)
|
|
198
|
-
.computed mat-form-field,
|
|
199
|
-
mat-form-field .computed,
|
|
200
|
-
mat-form-field.computed,
|
|
201
|
-
.computed mat-form-field .mat-input-element:disabled,
|
|
202
|
-
mat-form-field .computed .mat-input-element:disabled,
|
|
203
|
-
mat-form-field.computed .mat-input-element:disabled {
|
|
261
|
+
.computed mat-mdc-form-field,
|
|
262
|
+
mat-mdc-form-field .computed,
|
|
263
|
+
mat-mdc-form-field.computed,
|
|
264
|
+
.computed mat-mdc-form-field .mat-mdc-input-element:disabled,
|
|
265
|
+
mat-mdc-form-field .computed .mat-mdc-input-element:disabled,
|
|
266
|
+
mat-mdc-form-field.computed .mat-mdc-input-element:disabled {
|
|
204
267
|
color: var(--ion-color-primary-tint) !important;
|
|
205
268
|
font-style: italic;
|
|
206
269
|
}
|
|
207
270
|
|
|
271
|
+
/* MatSwipeField */
|
|
272
|
+
mat-swipe-field {
|
|
273
|
+
|
|
274
|
+
.mdc-floating-label--float-above {
|
|
275
|
+
transform: translateY(-106%) translateX(40px) scale(0.75) !important;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
}
|
|
208
279
|
}
|
|
209
280
|
// Manage first child grid inside a form
|
|
210
281
|
form.form-container > ion-grid,
|
|
@@ -234,9 +305,9 @@ ion-grid.form-container {
|
|
|
234
305
|
}
|
|
235
306
|
|
|
236
307
|
mat-form-field {
|
|
237
|
-
mat-error {
|
|
238
|
-
|
|
239
|
-
}
|
|
308
|
+
//mat-error {
|
|
309
|
+
// text-align: right;
|
|
310
|
+
//}
|
|
240
311
|
|
|
241
312
|
.mat-paginator-page-size-select {
|
|
242
313
|
@include font-size-important(14px);
|
|
@@ -249,9 +320,9 @@ mat-date-time-field {
|
|
|
249
320
|
//@include font-size-important(16px);
|
|
250
321
|
|
|
251
322
|
// Need for errors injected using the <ng-content> tag
|
|
252
|
-
mat-error {
|
|
253
|
-
|
|
254
|
-
}
|
|
323
|
+
//mat-error {
|
|
324
|
+
// text-align: end;
|
|
325
|
+
//}
|
|
255
326
|
}
|
|
256
327
|
|
|
257
328
|
// --- mat-date-short-field
|
|
@@ -279,18 +350,30 @@ mat-calendar.mat-date-short-panel {
|
|
|
279
350
|
// --- mat-autocomplete and mat-select panel
|
|
280
351
|
// When simple text option, add a padding
|
|
281
352
|
mat-option {
|
|
282
|
-
|
|
283
|
-
|
|
353
|
+
|
|
354
|
+
.mdc-list-item__primary-text {
|
|
355
|
+
display: inline-block;
|
|
356
|
+
flex-grow: 1;
|
|
284
357
|
}
|
|
285
|
-
.mat-option-text:has(ion-
|
|
358
|
+
.mat-option-text:not(:has(ion-row)),
|
|
359
|
+
|
|
360
|
+
// TODO : Disabled : mat-option already have padding : this is redundant
|
|
361
|
+
//.mdc-list-item__primary-text:not(:has(ion-row)) {
|
|
362
|
+
// padding: 0 16px;
|
|
363
|
+
//}
|
|
364
|
+
|
|
365
|
+
.mat-option-text:has(ion-searchbar),
|
|
366
|
+
.mdc-list-item__primary-text:has(ion-searchbar) {
|
|
286
367
|
padding: 0 !important;
|
|
287
368
|
}
|
|
288
369
|
ion-row,
|
|
289
|
-
.mat-option-text:has(ion-row)
|
|
370
|
+
.mat-option-text:has(ion-row),
|
|
371
|
+
.mdc-list-item__primary-text:has(ion-row) {
|
|
290
372
|
padding: 0;
|
|
291
373
|
}
|
|
292
374
|
mat-autocomplete-footer {
|
|
293
|
-
.mat-option-text
|
|
375
|
+
.mat-option-text,
|
|
376
|
+
.mdc-list-item__primary-text {
|
|
294
377
|
padding: 0 !important;
|
|
295
378
|
}
|
|
296
379
|
}
|
|
@@ -300,7 +383,7 @@ mat-option:not(:last-of-type) {
|
|
|
300
383
|
border-bottom: 1px solid #{$app-select-option-border-color};
|
|
301
384
|
}
|
|
302
385
|
|
|
303
|
-
.mat-select-panel {
|
|
386
|
+
.mat-select-panel, .mat-mdc-select-panel {
|
|
304
387
|
--min-width: 200px;
|
|
305
388
|
--max-width: calc(min(100%, 100vw - 64px));
|
|
306
389
|
min-width: var(--min-width) !important;
|
|
@@ -331,6 +414,7 @@ mat-option:not(:last-of-type) {
|
|
|
331
414
|
--min-width: 450px;
|
|
332
415
|
}
|
|
333
416
|
.mat-select-panel.min-width-80vw,
|
|
417
|
+
.mat-mdc-select-panel.min-width-80vw,
|
|
334
418
|
.min-width-80vw .mat-autocomplete-panel,
|
|
335
419
|
.min-width-80vw.mat-autocomplete-panel {
|
|
336
420
|
--min-width: 80vw;
|
|
@@ -350,6 +434,7 @@ mat-option:not(:last-of-type) {
|
|
|
350
434
|
}
|
|
351
435
|
|
|
352
436
|
.mat-select-panel,
|
|
437
|
+
.mat-mdc-select-panel,
|
|
353
438
|
.mat-autocomplete-panel {
|
|
354
439
|
/* when multiple selection enable */
|
|
355
440
|
mat-pseudo-checkbox {
|
|
@@ -480,6 +565,132 @@ ion-list,
|
|
|
480
565
|
}
|
|
481
566
|
}
|
|
482
567
|
|
|
568
|
+
.mat-mdc-select-panel,
|
|
569
|
+
.mat-mdc-autocomplete-panel
|
|
570
|
+
//ion-list,
|
|
571
|
+
//.mat-menu-panel,
|
|
572
|
+
{
|
|
573
|
+
|
|
574
|
+
//&.ion-list-popover {
|
|
575
|
+
padding: 0 !important;
|
|
576
|
+
//}
|
|
577
|
+
|
|
578
|
+
/* Avoid bad display, when opening panel for the first time */
|
|
579
|
+
&.ng-trigger-transformPanel {
|
|
580
|
+
ion-searchbar.mat-select-header,
|
|
581
|
+
ion-searchbar.mat-autocomplete-header {
|
|
582
|
+
visibility: visible;
|
|
583
|
+
display: flex;
|
|
584
|
+
opacity: 1;
|
|
585
|
+
transition: opacity 0.3s ease-in-out;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
mat-option.mat-select-searchbar,
|
|
590
|
+
mat-option.mat-autocomplete-searchbar
|
|
591
|
+
{
|
|
592
|
+
padding: 0 !important;
|
|
593
|
+
height: 58px !important;
|
|
594
|
+
background-color: var(--ion-color-secondary100) !important;
|
|
595
|
+
|
|
596
|
+
/* hide pseudo checkbox, in the searchbar*/
|
|
597
|
+
mat-pseudo-checkbox {
|
|
598
|
+
visibility: hidden;
|
|
599
|
+
display: none;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
&.mat-select-searchbar-sticky {
|
|
603
|
+
z-index: 1001;
|
|
604
|
+
/* Set header as sticky*/
|
|
605
|
+
position: -webkit-sticky;
|
|
606
|
+
position: sticky;
|
|
607
|
+
top: 0;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
ion-row.ion-list-header,
|
|
612
|
+
ion-row.mat-select-header,
|
|
613
|
+
ion-row.mat-menu-header,
|
|
614
|
+
ion-row.mat-autocomplete-header {
|
|
615
|
+
&.multiple {
|
|
616
|
+
/* Offset due to mat-pseudo-checkbox */
|
|
617
|
+
padding-left: 32px;
|
|
618
|
+
}
|
|
619
|
+
&.column {
|
|
620
|
+
/* Set header as sticky*/
|
|
621
|
+
position: -webkit-sticky;
|
|
622
|
+
position: sticky;
|
|
623
|
+
top: 0;
|
|
624
|
+
z-index: 1001;
|
|
625
|
+
background-color: var(--ion-color-secondary);
|
|
626
|
+
border-bottom: 1px solid #{$app-select-option-border-color};
|
|
627
|
+
color: var(--ion-color-secondary-contrast);
|
|
628
|
+
line-height: 20px;
|
|
629
|
+
@include font-size(12px);
|
|
630
|
+
font-weight: 500;
|
|
631
|
+
height: 20px;
|
|
632
|
+
ion-col {
|
|
633
|
+
white-space: nowrap;
|
|
634
|
+
text-overflow: ellipsis;
|
|
635
|
+
}
|
|
636
|
+
&.mat-select-searchbar-sticky {
|
|
637
|
+
/* offset because of the searchbar height */
|
|
638
|
+
top: 58px;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
ion-row.ion-list-footer,
|
|
645
|
+
ion-row.mat-select-footer,
|
|
646
|
+
ion-row.mat-menu-footer,
|
|
647
|
+
ion-row.mat-autocomplete-footer,
|
|
648
|
+
mat-option.mat-autocomplete-footer {
|
|
649
|
+
/* Set footer as sticky*/
|
|
650
|
+
position: -webkit-sticky;
|
|
651
|
+
position: sticky;
|
|
652
|
+
bottom: 0;
|
|
653
|
+
z-index: 1001;
|
|
654
|
+
border-top: 1px solid #{$app-select-option-border-color};
|
|
655
|
+
background-color: whitesmoke;
|
|
656
|
+
color: var(--ion-color-medium) !important; // not working on mobile form because the mat-option is disabled
|
|
657
|
+
@include font-size(12px);
|
|
658
|
+
font-weight: 500;
|
|
659
|
+
height: 20px;
|
|
660
|
+
min-height: 20px;
|
|
661
|
+
line-height: 20px;
|
|
662
|
+
opacity: 1 !important;
|
|
663
|
+
|
|
664
|
+
ion-col {
|
|
665
|
+
white-space: nowrap;
|
|
666
|
+
text-overflow: ellipsis;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
ion-row {
|
|
671
|
+
--ion-grid-column-padding: 0;
|
|
672
|
+
|
|
673
|
+
ion-col {
|
|
674
|
+
--ion-padding-start: 8px;
|
|
675
|
+
padding: 0 !important;
|
|
676
|
+
padding-left: var(--ion-padding-start) !important;
|
|
677
|
+
text-overflow: ellipsis;
|
|
678
|
+
overflow: hidden;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.odd {
|
|
685
|
+
background: var(--ion-light-color-shade, $light);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.mat-option[no-padding],
|
|
689
|
+
mat-option[no-padding] {
|
|
690
|
+
padding: 0 !important;
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
|
|
483
694
|
mat-expansion-panel {
|
|
484
695
|
|
|
485
696
|
&.filter-panel {
|
|
@@ -580,497 +791,6 @@ ion-list {
|
|
|
580
791
|
}
|
|
581
792
|
}
|
|
582
793
|
|
|
583
|
-
// --------------------------------------------------
|
|
584
|
-
// Material Table
|
|
585
|
-
// --------------------------------------------------
|
|
586
|
-
|
|
587
|
-
.table-container {
|
|
588
|
-
max-width: 100%;
|
|
589
|
-
max-height: 100%;
|
|
590
|
-
overflow-x: auto;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
.mat-table {
|
|
595
|
-
min-width: calc(100% - 1px);
|
|
596
|
-
border-collapse: separate;
|
|
597
|
-
--mat-cell-vertical-padding: $app-table-cell-vertical-padding;
|
|
598
|
-
|
|
599
|
-
.mat-header-cell {
|
|
600
|
-
color: var(--ion-color-primary);
|
|
601
|
-
|
|
602
|
-
&.disabled {
|
|
603
|
-
color: var(--ion-color-medium, grey);
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
&.cdk-drag-preview {
|
|
607
|
-
color: var(--ion-color-primary100);
|
|
608
|
-
border-bottom-width: 0;
|
|
609
|
-
|
|
610
|
-
.mat-sort-header-arrow {
|
|
611
|
-
display: none;
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
// force invisible
|
|
616
|
-
&.cdk-visually-hidden {
|
|
617
|
-
position: absolute !important;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
& > ion-label,
|
|
621
|
-
& > mat-label,
|
|
622
|
-
& button > ion-label,
|
|
623
|
-
& button > mat-label {
|
|
624
|
-
margin-top: 0;
|
|
625
|
-
margin-bottom: 0;
|
|
626
|
-
text-align: start;
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
.mat-header-row {
|
|
631
|
-
height: var(--app-table-header-height, 52px);
|
|
632
|
-
border-bottom: 1px solid #{$app-table-border-color};
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
// Auto hide sort header, when the column is not sorted
|
|
636
|
-
// (useful to minimize the column width - e.g. on mobile device)
|
|
637
|
-
&.mat-table-hide-sort-arrow {
|
|
638
|
-
.mat-sort-header-arrow {
|
|
639
|
-
transition: none !important;
|
|
640
|
-
}
|
|
641
|
-
.mat-sort-header-arrow:not([style*="opacity: 1"]) {
|
|
642
|
-
display: none;
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
.mat-header-row,
|
|
647
|
-
.mat-row,
|
|
648
|
-
.mat-footer-row {
|
|
649
|
-
--mat-cell-vertical-padding: #{$app-table-cell-vertical-padding};
|
|
650
|
-
--mat-row-height: #{$app-table-row-height};
|
|
651
|
-
--mat-row-max-height: #{$app-table-row-max-height};
|
|
652
|
-
height: calc(min(var(--mat-row-height), var(--mat-row-max-height)));
|
|
653
|
-
max-height: var(--mat-row-max-height);
|
|
654
|
-
|
|
655
|
-
// Reserve space for row dirty border
|
|
656
|
-
//border-left: 3px solid transparent;
|
|
657
|
-
|
|
658
|
-
.mat-header-cell,
|
|
659
|
-
.mat-cell,
|
|
660
|
-
.mat-footer-cell {
|
|
661
|
-
&.ion-padding-start {
|
|
662
|
-
padding-inline-start: var(--mat-cell-vertical-padding);
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
&.mat-table-sticky-border-elem-left {
|
|
666
|
-
border-right: 1px solid #{$app-table-border-color};
|
|
667
|
-
}
|
|
668
|
-
&.mat-table-sticky-border-elem-right {
|
|
669
|
-
border-left: 1px solid #{$app-table-border-color};
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
/* Add a start padding to content (but not the cell itself) (e.g. tables with odd/event style - like BatchGroupsTable) */
|
|
673
|
-
&.mat-cell-content-start-padding {
|
|
674
|
-
|
|
675
|
-
// Reset start padding here (only apply cell's content)
|
|
676
|
-
padding-inline-start: 0;
|
|
677
|
-
|
|
678
|
-
// Add left padding in labels, div, etc
|
|
679
|
-
& > ion-label,
|
|
680
|
-
& > mat-label,
|
|
681
|
-
& > ion-text,
|
|
682
|
-
& > div,
|
|
683
|
-
& > span,
|
|
684
|
-
& > .ion-padding-start {
|
|
685
|
-
padding: 0 var(--mat-cell-vertical-padding, 8px);
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
// Add left padding in form fields
|
|
689
|
-
.mat-form-field-label {
|
|
690
|
-
width: 100%;
|
|
691
|
-
padding-left: var(--mat-cell-vertical-padding, 8px);
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
.mat-form-field-infix {
|
|
695
|
-
padding-left: var(--mat-cell-vertical-padding, 8px);
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
.mat-column-select {
|
|
701
|
-
overflow: initial;
|
|
702
|
-
width: 50px;
|
|
703
|
-
min-width: 50px;
|
|
704
|
-
max-width: 50px;
|
|
705
|
-
padding-left: 14px;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
.mat-column-id {
|
|
709
|
-
min-width: 50px;
|
|
710
|
-
max-width: 90px;
|
|
711
|
-
|
|
712
|
-
&.code {
|
|
713
|
-
min-width: 150px;
|
|
714
|
-
max-width: 150px;
|
|
715
|
-
}
|
|
716
|
-
&.mat-column-sticky {
|
|
717
|
-
border-right: 1px solid #{$app-table-border-color};
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
.mat-cell-date {
|
|
722
|
-
min-width: 128px;
|
|
723
|
-
max-width: 128px;
|
|
724
|
-
|
|
725
|
-
input {
|
|
726
|
-
max-width: 120px;
|
|
727
|
-
overflow: visible !important;
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
.mat-cell-date-time {
|
|
732
|
-
min-width: 145px;
|
|
733
|
-
max-width: 180px;
|
|
734
|
-
|
|
735
|
-
input {
|
|
736
|
-
max-width: 120px;
|
|
737
|
-
overflow: visible !important;
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
.mat-column-comments {
|
|
742
|
-
min-width: 30px;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
.mat-column-actions {
|
|
746
|
-
text-align: end;
|
|
747
|
-
min-width: var(--mat-column-actions-min-width);
|
|
748
|
-
width: var(--mat-column-actions-width, 40px);
|
|
749
|
-
max-width: var(--mat-column-actions-max-width, 40px);
|
|
750
|
-
padding-inline-start: 0 !important; // No start padding
|
|
751
|
-
padding-right: unset !important;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
.mat-cell.computed mat-form-field,
|
|
755
|
-
.mat-cell-computed,
|
|
756
|
-
.mat-cell ion-text.computed,
|
|
757
|
-
.mat-cell.calculated mat-form-field,
|
|
758
|
-
.mat-cell-calculated {
|
|
759
|
-
color: var(--ion-color-primary-tint);
|
|
760
|
-
font-style: italic;
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
.mat-row {
|
|
765
|
-
|
|
766
|
-
.mat-form-field-disabled,
|
|
767
|
-
.mat-input-element:disabled,
|
|
768
|
-
.mat-form-field-disabled * {
|
|
769
|
-
pointer-events: inherit;
|
|
770
|
-
color: inherit;
|
|
771
|
-
|
|
772
|
-
.mat-form-field-underline {
|
|
773
|
-
background: none !important;
|
|
774
|
-
display: none;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
.mat-select-arrow-wrapper .mat-select-arrow {
|
|
778
|
-
visibility: hidden;
|
|
779
|
-
width: 0;
|
|
780
|
-
border: 0;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
.mat-form-field-label {
|
|
784
|
-
visibility: hidden;
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
.mat-form-field-underline {
|
|
789
|
-
bottom: 9px !important;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
mat-form-field,
|
|
793
|
-
mat-autocomplete-field,
|
|
794
|
-
app-form-field,
|
|
795
|
-
.mat-form-field {
|
|
796
|
-
width: 100%;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
.mat-form-field {
|
|
800
|
-
.mat-form-field-label {
|
|
801
|
-
width: 100%;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
.mat-form-field-wrapper {
|
|
805
|
-
padding-bottom: 10px;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
.mat-form-field-infix {
|
|
809
|
-
width: 100%;
|
|
810
|
-
white-space: nowrap;
|
|
811
|
-
overflow: inherit;
|
|
812
|
-
|
|
813
|
-
.mat-input-element,
|
|
814
|
-
input {
|
|
815
|
-
//margin-left: 5px;
|
|
816
|
-
overflow: hidden;
|
|
817
|
-
text-overflow: ellipsis;
|
|
818
|
-
white-space: nowrap;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
input[type=number]::-webkit-outer-spin-button,
|
|
822
|
-
input[type=number]::-webkit-inner-spin-button {
|
|
823
|
-
-webkit-appearance: none;
|
|
824
|
-
margin: 0;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
input[type=number] {
|
|
828
|
-
//text-align: right;
|
|
829
|
-
-moz-appearance: textfield;
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
.mat-form-field-subscript-wrapper {
|
|
835
|
-
margin-top: -0.1rem !important;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
.mat-boolean-field-radio.mat-form-field-appearance-legacy .mat-form-field-infix,
|
|
839
|
-
.mat-boolean-field-radio .mat-form-field-infix {
|
|
840
|
-
// Reduce top border (because of radio height)
|
|
841
|
-
border-top: 0.5em solid transparent !important;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
.mat-boolean-field-checkbox.mat-form-field-appearance-legacy .mat-form-field-infix,
|
|
845
|
-
.mat-boolean-field-checkbox .mat-form-field-infix {
|
|
846
|
-
// Increase top border (because of checkbox height)
|
|
847
|
-
padding-top: 0.4em;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
.mat-boolean-field-button.mat-form-field-appearance-legacy .mat-form-field-infix,
|
|
851
|
-
.mat-boolean-field-button .mat-form-field-infix {
|
|
852
|
-
// Increase top border (because of button height)
|
|
853
|
-
padding-top: 0.4em;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
.mat-cell > .ion-text-nowrap {
|
|
857
|
-
width: 100%;
|
|
858
|
-
overflow: hidden;
|
|
859
|
-
text-overflow: ellipsis;
|
|
860
|
-
white-space: pre;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
/* Show when hover row */
|
|
864
|
-
.mat-cell .visible-hover-row {
|
|
865
|
-
visibility: hidden;
|
|
866
|
-
}
|
|
867
|
-
&:hover {
|
|
868
|
-
.mat-cell .visible-hover-row {
|
|
869
|
-
visibility: visible;
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
/* Special case to have small row */
|
|
875
|
-
&.compact .mat-row,
|
|
876
|
-
.mat-row.mat-row-small {
|
|
877
|
-
min-height: inherit;
|
|
878
|
-
--mat-row-height: 33px;
|
|
879
|
-
--mat-row-max-height: 33px;
|
|
880
|
-
}
|
|
881
|
-
.mat-row.mat-row-small .mat-cell,
|
|
882
|
-
.mat-row .mat-cell.mat-row-small{
|
|
883
|
-
line-height: 15px;
|
|
884
|
-
@include font-size(12px);
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
mat-cell .avatar {
|
|
888
|
-
color: #d9d9d9;
|
|
889
|
-
background-color: #f8f8f8;
|
|
890
|
-
border: solid 1px #d9d9d9;
|
|
891
|
-
overflow: hidden !important;
|
|
892
|
-
width: 40px;
|
|
893
|
-
height: 40px;
|
|
894
|
-
border-radius: 50%;
|
|
895
|
-
display: inline-block;
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
.mat-row.mat-row-disabled {
|
|
899
|
-
cursor: pointer;
|
|
900
|
-
|
|
901
|
-
* {
|
|
902
|
-
pointer-events: inherit;
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
.mat-row.mat-row-disabled:hover {
|
|
907
|
-
background-color: var(--ion-color-light);
|
|
908
|
-
|
|
909
|
-
.mat-cell{
|
|
910
|
-
color: var(--ion-color-light-contrast);
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
.mat-row.mat-row-selected {
|
|
915
|
-
background-color: var(--ion-color-secondary100);
|
|
916
|
-
|
|
917
|
-
.mat-cell{
|
|
918
|
-
color: var(--ion-color-secondary100-contrast);
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
&.mat-row-disabled:hover {
|
|
922
|
-
background-color: var(--ion-color-secondary100-shade) !important;
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
.mat-row {
|
|
927
|
-
|
|
928
|
-
// Dirty row
|
|
929
|
-
&.mat-row-dirty {
|
|
930
|
-
//border-left: 3px solid var(--ion-color-primary-tint);
|
|
931
|
-
|
|
932
|
-
// Resize the dirty icon (in the 'actions' column)
|
|
933
|
-
.mat-column-actions mat-icon.dirty-icon,
|
|
934
|
-
.mat-column-actions ion-icon.dirty-icon {
|
|
935
|
-
width: 40px;
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
// Error row
|
|
940
|
-
&.mat-row-error {
|
|
941
|
-
//border-left: 3px solid var(--ion-color-danger-tint) !important;
|
|
942
|
-
background-color: var(--ion-color-warning-tint);
|
|
943
|
-
|
|
944
|
-
&.mat-row-disabled:hover {
|
|
945
|
-
background-color: var(--ion-color-warning-shade) !important;
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
.mat-row-height-auto {
|
|
952
|
-
max-height: unset !important;
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
// Make smaller row
|
|
956
|
-
&.compact {
|
|
957
|
-
|
|
958
|
-
.mat-row {
|
|
959
|
-
--mat-row-height: 33px;
|
|
960
|
-
|
|
961
|
-
ion-label {
|
|
962
|
-
display: inline-block;
|
|
963
|
-
margin-top: 5px;
|
|
964
|
-
width: 100%;
|
|
965
|
-
overflow: hidden;
|
|
966
|
-
white-space: nowrap;
|
|
967
|
-
text-overflow: ellipsis;
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
.mat-badge-content {
|
|
971
|
-
top: -2px;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
.mat-icon-button {
|
|
975
|
-
height: 32px;
|
|
976
|
-
width: 32px;
|
|
977
|
-
line-height: 32px;
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
.mat-form-field-underline {
|
|
981
|
-
bottom: 6px !important;
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
.mat-form-field {
|
|
985
|
-
|
|
986
|
-
.mat-form-field-wrapper {
|
|
987
|
-
max-height: 32px;
|
|
988
|
-
|
|
989
|
-
.mat-form-field-flex {
|
|
990
|
-
|
|
991
|
-
.mat-form-field-infix {
|
|
992
|
-
max-height: 32px;
|
|
993
|
-
padding-top: 0;
|
|
994
|
-
border-top-width: 10px;
|
|
995
|
-
|
|
996
|
-
.mat-form-field-label-wrapper {
|
|
997
|
-
|
|
998
|
-
.mat-form-field-label {
|
|
999
|
-
top: 12px;
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
.mat-checkbox {
|
|
1004
|
-
display: block;
|
|
1005
|
-
position: absolute;
|
|
1006
|
-
top: -2px;
|
|
1007
|
-
|
|
1008
|
-
.mat-checkbox-ripple {
|
|
1009
|
-
height: 32px;
|
|
1010
|
-
width: 32px;
|
|
1011
|
-
left: calc(50% - 16px);
|
|
1012
|
-
top: calc(50% - 16px);
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
// make click on mat-error transfer to input
|
|
1019
|
-
.mat-form-field-subscript-wrapper {
|
|
1020
|
-
pointer-events: none;
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
mat-error {
|
|
1024
|
-
margin-top: 10px;
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
.mat-paginator-footer {
|
|
1033
|
-
height: var(--app-paginator-height);
|
|
1034
|
-
background-color: whitesmoke;
|
|
1035
|
-
|
|
1036
|
-
.mat-paginator-outer-container {
|
|
1037
|
-
height: var(--app-paginator-height);
|
|
1038
|
-
overflow-y: hidden;
|
|
1039
|
-
.mat-paginator-container {
|
|
1040
|
-
height: var(--app-paginator-height);
|
|
1041
|
-
min-height: unset;
|
|
1042
|
-
margin-top: 10px;
|
|
1043
|
-
|
|
1044
|
-
button {
|
|
1045
|
-
height: var(--app-paginator-height);
|
|
1046
|
-
width: var(--app-paginator-height);
|
|
1047
|
-
line-height: var(--app-paginator-height);
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
html.plt-mobile {
|
|
1054
|
-
|
|
1055
|
-
.mat-paginator-footer {
|
|
1056
|
-
.mat-paginator-outer-container {
|
|
1057
|
-
.mat-paginator-container {
|
|
1058
|
-
|
|
1059
|
-
// Move paginator to the left,
|
|
1060
|
-
// because floating button are on the right
|
|
1061
|
-
margin-top: 0 !important;
|
|
1062
|
-
justify-content: flex-start;
|
|
1063
|
-
|
|
1064
|
-
// Hide page size (not need on small screens)
|
|
1065
|
-
.mat-paginator-page-size {
|
|
1066
|
-
visibility: hidden;
|
|
1067
|
-
display: none;
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
794
|
// ------------------------
|
|
1075
795
|
// Other material component
|
|
1076
796
|
|
|
@@ -1248,7 +968,8 @@ mat-calendar {
|
|
|
1248
968
|
ngx-material-timepicker-content {
|
|
1249
969
|
--clock-hand-color: var(--ion-color-accent) !important;
|
|
1250
970
|
--clock-face-time-active-color: var(--ion-color-accent-contrast) !important;
|
|
1251
|
-
|
|
971
|
+
// TODO review !
|
|
972
|
+
//@extend .mat-dialog-container !optional;
|
|
1252
973
|
|
|
1253
974
|
.timepicker {
|
|
1254
975
|
box-shadow: unset !important;
|
|
@@ -1268,6 +989,14 @@ ngx-material-timepicker-content {
|
|
|
1268
989
|
}
|
|
1269
990
|
}
|
|
1270
991
|
|
|
992
|
+
.mat-mdc-form-field-type-mat-chip-grid {
|
|
993
|
+
.mat-mdc-form-field-infix {
|
|
994
|
+
padding-bottom: 5px !important;
|
|
995
|
+
--mdc-chip-container-height: 24px !important;
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
|
|
1271
1000
|
// --------------------------------------------------
|
|
1272
1001
|
// Pages
|
|
1273
1002
|
// --------------------------------------------------
|