@lucca-front/ng 18.3.3 → 19.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/core-select/api/api.directive.d.ts +1 -1
- package/core-select/input/select-input.component.d.ts +1 -1
- package/dialog/dialog-routing/dialog-routing.component.d.ts +1 -1
- package/dropdown/item/dropdown-item.directive.d.ts +1 -1
- package/dropdown/item/dropdown-item.module.d.ts +4 -1
- package/dropdown/panel/dropdown-panel.component.d.ts +1 -1
- package/dropdown/panel/dropdown-panel.module.d.ts +4 -2
- package/dropdown/trigger/dropdown-trigger.directive.d.ts +1 -1
- package/dropdown/trigger/dropdown-trigger.module.d.ts +4 -2
- package/fesm2022/lucca-front-ng-a11y.mjs +3 -3
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-animations.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +48 -48
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +3 -3
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +21 -21
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +9 -9
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +15 -15
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +36 -36
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +16 -16
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +48 -48
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +14 -14
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +28 -28
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog-testing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +39 -31
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +39 -35
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +6 -6
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +49 -49
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +6 -6
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +81 -79
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +10 -10
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +45 -62
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +4 -4
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +21 -21
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +22 -22
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +44 -44
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number-format.mjs +7 -7
- package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number.mjs +7 -7
- package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +154 -154
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +3 -3
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +31 -26
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +9 -9
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup-employee.mjs +41 -26
- package/fesm2022/lucca-front-ng-popup-employee.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-qualification.mjs +15 -15
- package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +13 -12
- package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +14 -14
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +14 -14
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +9 -9
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +3 -3
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +18 -17
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +10 -10
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +12 -12
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +23 -23
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +94 -85
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/forms/number-input/number-input.component.d.ts +10 -13
- package/modal/modal-panel.component.d.ts +1 -1
- package/option/picker/option-picker-advanced.component.d.ts +1 -1
- package/option/picker/option-picker.component.d.ts +1 -1
- package/option/picker/tree-option-picker-advanced.component.d.ts +1 -1
- package/option/picker/tree-option-picker.component.d.ts +1 -1
- package/package.json +38 -149
- package/popup-employee/popup-employee.translate.d.ts +2 -0
- package/popup-employee/translations.d.ts +16 -0
- package/safe-content/safe-content.module.d.ts +3 -0
- package/safe-content/safe-html.pipe.d.ts +0 -1
- package/schematics/action-icon/index.js +3 -2
- package/schematics/action-icon/migration.js +2 -3
- package/schematics/empty-state-title/index.js +2 -1
- package/schematics/lib/angular-template.js +6 -7
- package/schematics/lib/css-mapper.js +4 -4
- package/schematics/lib/file-update.js +2 -3
- package/schematics/lib/html-ast.js +4 -4
- package/schematics/lib/local-deps/installer.js +1 -2
- package/schematics/lib/local-deps/package-lock.json +30 -30
- package/schematics/lib/local-deps/package.json +2 -2
- package/schematics/lib/local-deps/postcss-selector-parser.js +1 -0
- package/schematics/lib/local-deps/postcss-value-parser.js +1 -0
- package/schematics/lib/migration-test.js +4 -5
- package/schematics/lib/schematics.js +1 -2
- package/schematics/lib/scss-ast.js +10 -11
- package/schematics/lib/typescript-ast.js +1 -2
- package/schematics/new-icons/index.js +4 -3
- package/schematics/new-icons/migration.js +3 -4
- package/schematics/ng-add/index.js +1 -2
- package/schematics/ng-add/tasks.js +4 -5
- package/schematics/palettes/index.js +1 -0
- package/schematics/tokens-spacing/index.js +1 -0
- package/select/input/select-input.component.d.ts +1 -1
- package/src/components/cdk/_overlay.scss +4 -0
- package/time/core/base-picker.component.d.ts +1 -1
- package/time/core/date.utils.d.ts +4 -4
- package/time/core/misc.utils.d.ts +1 -1
- package/user/picture/user-picture.component.d.ts +1 -1
- package/user/picture/user-picture.module.d.ts +4 -3
- package/user/tile/user-tile.component.d.ts +1 -1
- package/user/tile/user-tile.module.d.ts +4 -4
- package/esm2022/a11y/lucca-front-ng-a11y.mjs +0 -5
- package/esm2022/a11y/public-api.mjs +0 -3
- package/esm2022/a11y/skip-links/skip-links.component.mjs +0 -24
- package/esm2022/a11y/skip-links/skip-links.translate.mjs +0 -9
- package/esm2022/a11y/skip-links/translations.mjs +0 -51
- package/esm2022/animations/animation.factory.mjs +0 -15
- package/esm2022/animations/fade.animation.mjs +0 -8
- package/esm2022/animations/lucca-front-ng-animations.mjs +0 -5
- package/esm2022/animations/public-api.mjs +0 -5
- package/esm2022/animations/scale.animation.mjs +0 -126
- package/esm2022/animations/slide.animation.mjs +0 -110
- package/esm2022/api/api.model.mjs +0 -2
- package/esm2022/api/api.module.mjs +0 -16
- package/esm2022/api/lucca-front-ng-api.mjs +0 -5
- package/esm2022/api/public-api.mjs +0 -5
- package/esm2022/api/select/api-select.module.mjs +0 -19
- package/esm2022/api/select/feeder/api-feeder.component.mjs +0 -93
- package/esm2022/api/select/feeder/api-feeder.model.mjs +0 -11
- package/esm2022/api/select/feeder/api-feeder.module.mjs +0 -16
- package/esm2022/api/select/feeder/index.mjs +0 -4
- package/esm2022/api/select/index.mjs +0 -6
- package/esm2022/api/select/input/api-select-input.component.mjs +0 -52
- package/esm2022/api/select/input/api-select-input.module.mjs +0 -16
- package/esm2022/api/select/input/index.mjs +0 -3
- package/esm2022/api/select/pager/api-pager.component.mjs +0 -99
- package/esm2022/api/select/pager/api-pager.model.mjs +0 -56
- package/esm2022/api/select/pager/api-pager.module.mjs +0 -16
- package/esm2022/api/select/pager/index.mjs +0 -4
- package/esm2022/api/select/searcher/api-searcher.component.mjs +0 -235
- package/esm2022/api/select/searcher/api-searcher.model.mjs +0 -67
- package/esm2022/api/select/searcher/api-searcher.module.mjs +0 -16
- package/esm2022/api/select/searcher/index.mjs +0 -4
- package/esm2022/api/service/api-hybrid.service.mjs +0 -65
- package/esm2022/api/service/api-service.model.mjs +0 -3
- package/esm2022/api/service/api-v3.service.mjs +0 -72
- package/esm2022/api/service/api-v4.service.mjs +0 -71
- package/esm2022/api/service/index.mjs +0 -5
- package/esm2022/button/button.component.mjs +0 -90
- package/esm2022/button/lucca-front-ng-button.mjs +0 -5
- package/esm2022/button/public-api.mjs +0 -2
- package/esm2022/callout/callout/callout.component.mjs +0 -88
- package/esm2022/callout/callout-disclosure/callout-disclosure.component.mjs +0 -59
- package/esm2022/callout/callout-feedback-item/callout-feedback-item.component.mjs +0 -25
- package/esm2022/callout/callout-feedback-list/callout-feedback-list.component.mjs +0 -22
- package/esm2022/callout/callout-icon.pipe.mjs +0 -23
- package/esm2022/callout/callout-popover/callout-popover.component.mjs +0 -182
- package/esm2022/callout/callout-state.mjs +0 -16
- package/esm2022/callout/callout.translate.mjs +0 -7
- package/esm2022/callout/callout.utils.mjs +0 -20
- package/esm2022/callout/lucca-front-ng-callout.mjs +0 -5
- package/esm2022/callout/public-api.mjs +0 -7
- package/esm2022/callout/translations.mjs +0 -27
- package/esm2022/comment/comment/comment.component.mjs +0 -54
- package/esm2022/comment/comment-block/comment-block.component.mjs +0 -60
- package/esm2022/comment/comment-chat/comment-chat.component.mjs +0 -22
- package/esm2022/comment/lucca-front-ng-comment.mjs +0 -5
- package/esm2022/comment/public-api.mjs +0 -4
- package/esm2022/comment/token.mjs +0 -4
- package/esm2022/core/date/date-adapter.class.mjs +0 -54
- package/esm2022/core/date/date-adapter.interface.mjs +0 -2
- package/esm2022/core/date/date-granularity.enum.mjs +0 -8
- package/esm2022/core/date/index.mjs +0 -6
- package/esm2022/core/date/native/index.mjs +0 -3
- package/esm2022/core/date/native/native-date.adapter.mjs +0 -235
- package/esm2022/core/date/native/native-date.option.mjs +0 -6
- package/esm2022/core/date/string/index.mjs +0 -2
- package/esm2022/core/date/string/string-date.adapter.mjs +0 -83
- package/esm2022/core/event/index.mjs +0 -4
- package/esm2022/core/event/on-close.subscriber.mjs +0 -3
- package/esm2022/core/event/on-open.subscriber.mjs +0 -3
- package/esm2022/core/event/on-scroll-bottom.subscriber.mjs +0 -3
- package/esm2022/core/group/group.interface.mjs +0 -2
- package/esm2022/core/group/index.mjs +0 -2
- package/esm2022/core/id/id.generator.mjs +0 -9
- package/esm2022/core/id/index.mjs +0 -2
- package/esm2022/core/lucca-front-ng-core.mjs +0 -5
- package/esm2022/core/portal/index.mjs +0 -3
- package/esm2022/core/portal/portal-content.mjs +0 -3
- package/esm2022/core/portal/portal.directive.mjs +0 -107
- package/esm2022/core/public-api.mjs +0 -11
- package/esm2022/core/signal.mjs +0 -22
- package/esm2022/core/tools/class.mjs +0 -75
- package/esm2022/core/translate/index.mjs +0 -4
- package/esm2022/core/translate/intl-params.pipe.mjs +0 -20
- package/esm2022/core/translate/intl.model.mjs +0 -14
- package/esm2022/core/translate/translation.model.mjs +0 -2
- package/esm2022/core/tree/index.mjs +0 -2
- package/esm2022/core/tree/tree.model.mjs +0 -2
- package/esm2022/core/type/enum.mjs +0 -2
- package/esm2022/core/type/index.mjs +0 -3
- package/esm2022/core/type/style.mjs +0 -2
- package/esm2022/core-select/api/api-v3.directive.mjs +0 -81
- package/esm2022/core-select/api/api-v4.directive.mjs +0 -70
- package/esm2022/core-select/api/api.directive.mjs +0 -53
- package/esm2022/core-select/api/lucca-front-ng-core-select-api.mjs +0 -5
- package/esm2022/core-select/api/public-api.mjs +0 -4
- package/esm2022/core-select/displayer/displayer.directive.mjs +0 -26
- package/esm2022/core-select/displayer/index.mjs +0 -2
- package/esm2022/core-select/establishment/establishment-grouping.component.mjs +0 -21
- package/esm2022/core-select/establishment/establishment-grouping.service.mjs +0 -22
- package/esm2022/core-select/establishment/establishments.directive.mjs +0 -96
- package/esm2022/core-select/establishment/lucca-front-ng-core-select-establishment.mjs +0 -5
- package/esm2022/core-select/establishment/models.mjs +0 -2
- package/esm2022/core-select/establishment/public-api.mjs +0 -4
- package/esm2022/core-select/input/index.mjs +0 -4
- package/esm2022/core-select/input/select-input.component.mjs +0 -312
- package/esm2022/core-select/input/select-input.models.mjs +0 -37
- package/esm2022/core-select/input/total-count.directive.mjs +0 -33
- package/esm2022/core-select/job-qualification/job-qualification-grouping.component.mjs +0 -21
- package/esm2022/core-select/job-qualification/job-qualifications.directive.mjs +0 -78
- package/esm2022/core-select/job-qualification/lucca-front-ng-core-select-job-qualification.mjs +0 -5
- package/esm2022/core-select/job-qualification/models.mjs +0 -2
- package/esm2022/core-select/job-qualification/public-api.mjs +0 -3
- package/esm2022/core-select/lucca-front-ng-core-select.mjs +0 -5
- package/esm2022/core-select/option/default-option.component.mjs +0 -22
- package/esm2022/core-select/option/disabled.directive.mjs +0 -26
- package/esm2022/core-select/option/group.directive.mjs +0 -29
- package/esm2022/core-select/option/group.pipe.mjs +0 -43
- package/esm2022/core-select/option/index.mjs +0 -9
- package/esm2022/core-select/option/option-outlet.directive.mjs +0 -73
- package/esm2022/core-select/option/option.component.mjs +0 -89
- package/esm2022/core-select/option/option.directive.mjs +0 -26
- package/esm2022/core-select/option/option.token.mjs +0 -22
- package/esm2022/core-select/panel/index.mjs +0 -5
- package/esm2022/core-select/panel/key-manager.mjs +0 -79
- package/esm2022/core-select/panel/panel-header-template.directive.mjs +0 -25
- package/esm2022/core-select/panel/panel.models.mjs +0 -22
- package/esm2022/core-select/panel/panel.utils.mjs +0 -15
- package/esm2022/core-select/public-api.mjs +0 -8
- package/esm2022/core-select/select.model.mjs +0 -6
- package/esm2022/core-select/select.translate.mjs +0 -7
- package/esm2022/core-select/select.utils.mjs +0 -2
- package/esm2022/core-select/translations.mjs +0 -27
- package/esm2022/core-select/user/former-employees.component.mjs +0 -34
- package/esm2022/core-select/user/lucca-front-ng-core-select-user.mjs +0 -5
- package/esm2022/core-select/user/me.provider.mjs +0 -9
- package/esm2022/core-select/user/public-api.mjs +0 -5
- package/esm2022/core-select/user/translations.mjs +0 -35
- package/esm2022/core-select/user/user-displayer.component.mjs +0 -32
- package/esm2022/core-select/user/user-homonym.service.mjs +0 -63
- package/esm2022/core-select/user/user-option.component.mjs +0 -46
- package/esm2022/core-select/user/user-option.model.mjs +0 -2
- package/esm2022/core-select/user/user.translate.mjs +0 -7
- package/esm2022/core-select/user/users.directive.mjs +0 -149
- package/esm2022/date/adapter/date-adapter.module.mjs +0 -16
- package/esm2022/date/adapter/date-adapter.pipe.mjs +0 -25
- package/esm2022/date/adapter/index.mjs +0 -3
- package/esm2022/date/calendar/calendar-input.component.mjs +0 -332
- package/esm2022/date/calendar/calendar-input.module.mjs +0 -16
- package/esm2022/date/calendar/calendar-item.class.mjs +0 -43
- package/esm2022/date/calendar/calendar-item.factory.mjs +0 -37
- package/esm2022/date/calendar/calendar-item.interface.mjs +0 -2
- package/esm2022/date/calendar/index.mjs +0 -3
- package/esm2022/date/date.module.mjs +0 -20
- package/esm2022/date/humanize/humanize.formatter.mjs +0 -14
- package/esm2022/date/humanize/humanize.model.mjs +0 -2
- package/esm2022/date/humanize/humanize.pipe.mjs +0 -21
- package/esm2022/date/humanize/humanize.utils.mjs +0 -79
- package/esm2022/date/humanize/index.mjs +0 -5
- package/esm2022/date/input/date-input.directive.mjs +0 -137
- package/esm2022/date/input/date-input.module.mjs +0 -16
- package/esm2022/date/input/date-input.translate.mjs +0 -7
- package/esm2022/date/input/index.mjs +0 -4
- package/esm2022/date/input/translations.mjs +0 -43
- package/esm2022/date/lucca-front-ng-date.mjs +0 -5
- package/esm2022/date/picker/date-picker.component.mjs +0 -109
- package/esm2022/date/picker/date-picker.module.mjs +0 -16
- package/esm2022/date/picker/index.mjs +0 -3
- package/esm2022/date/public-api.mjs +0 -8
- package/esm2022/date/select/date-select-input.component.mjs +0 -106
- package/esm2022/date/select/date-select-input.module.mjs +0 -16
- package/esm2022/date/select/date-select-input.translate.mjs +0 -7
- package/esm2022/date/select/index.mjs +0 -4
- package/esm2022/date/select/translations.mjs +0 -43
- package/esm2022/date2/calendar.token.mjs +0 -22
- package/esm2022/date2/calendar2/calendar-cell-info.mjs +0 -2
- package/esm2022/date2/calendar2/calendar-mode.mjs +0 -2
- package/esm2022/date2/calendar2/calendar2-cell.directive.mjs +0 -111
- package/esm2022/date2/calendar2/calendar2.component.mjs +0 -279
- package/esm2022/date2/calendar2/calendar2.tokens.mjs +0 -4
- package/esm2022/date2/calendar2/cell-status.mjs +0 -2
- package/esm2022/date2/calendar2/date-range.mjs +0 -2
- package/esm2022/date2/date-format.mjs +0 -16
- package/esm2022/date2/date-input/date-input.component.mjs +0 -281
- package/esm2022/date2/date2.translate.mjs +0 -7
- package/esm2022/date2/lucca-front-ng-date2.mjs +0 -5
- package/esm2022/date2/public-api.mjs +0 -5
- package/esm2022/date2/repeat-times.directive.mjs +0 -27
- package/esm2022/date2/translations.mjs +0 -17
- package/esm2022/date2/utils.mjs +0 -24
- package/esm2022/department/department.model.mjs +0 -2
- package/esm2022/department/department.module.mjs +0 -16
- package/esm2022/department/lucca-front-ng-department.mjs +0 -5
- package/esm2022/department/public-api.mjs +0 -5
- package/esm2022/department/select/department-select.module.mjs +0 -17
- package/esm2022/department/select/feeder/department-feeder.component.mjs +0 -82
- package/esm2022/department/select/feeder/department-feeder.module.mjs +0 -16
- package/esm2022/department/select/feeder/index.mjs +0 -3
- package/esm2022/department/select/index.mjs +0 -4
- package/esm2022/department/select/input/department-select-input.component.mjs +0 -68
- package/esm2022/department/select/input/department-select-input.module.mjs +0 -16
- package/esm2022/department/select/input/department-select-input.translate.mjs +0 -7
- package/esm2022/department/select/input/index.mjs +0 -4
- package/esm2022/department/select/input/translations.mjs +0 -27
- package/esm2022/department/service/department-service.model.mjs +0 -4
- package/esm2022/department/service/department-v3.service.mjs +0 -46
- package/esm2022/department/service/department-v4.service.mjs +0 -46
- package/esm2022/department/service/index.mjs +0 -4
- package/esm2022/dialog/dialog/dialog.component.mjs +0 -31
- package/esm2022/dialog/dialog-content/dialog-content.component.mjs +0 -20
- package/esm2022/dialog/dialog-footer/dialog-footer.component.mjs +0 -13
- package/esm2022/dialog/dialog-header/dialog-header.component.mjs +0 -45
- package/esm2022/dialog/dialog-header/dialog-header.translate.mjs +0 -7
- package/esm2022/dialog/dialog-header/translations.mjs +0 -27
- package/esm2022/dialog/dialog-routing/dialog-routing.component.mjs +0 -100
- package/esm2022/dialog/dialog-routing/dialog-routing.models.mjs +0 -2
- package/esm2022/dialog/dialog-routing/dialog-routing.utils.mjs +0 -46
- package/esm2022/dialog/dialog-routing/index.mjs +0 -4
- package/esm2022/dialog/dialog.providers.mjs +0 -10
- package/esm2022/dialog/dialog.service.mjs +0 -75
- package/esm2022/dialog/directives/dialog-close.directive.mjs +0 -22
- package/esm2022/dialog/directives/dialog-dismiss.directive.mjs +0 -22
- package/esm2022/dialog/directives/dialog-open.directive.mjs +0 -35
- package/esm2022/dialog/lucca-front-ng-dialog.mjs +0 -5
- package/esm2022/dialog/model/dialog-config.mjs +0 -4
- package/esm2022/dialog/model/dialog-ref.mjs +0 -49
- package/esm2022/dialog/model/index.mjs +0 -4
- package/esm2022/dialog/model/injectors.mjs +0 -10
- package/esm2022/dialog/public-api.mjs +0 -13
- package/esm2022/dialog/testing/lucca-front-ng-dialog-testing.mjs +0 -5
- package/esm2022/dialog/testing/providers.mjs +0 -8
- package/esm2022/dialog/testing/public-api.mjs +0 -2
- package/esm2022/dropdown/dropdown.module.mjs +0 -18
- package/esm2022/dropdown/item/dropdown-item.directive.mjs +0 -55
- package/esm2022/dropdown/item/dropdown-item.model.mjs +0 -3
- package/esm2022/dropdown/item/dropdown-item.module.mjs +0 -17
- package/esm2022/dropdown/item/index.mjs +0 -4
- package/esm2022/dropdown/lucca-front-ng-dropdown.mjs +0 -5
- package/esm2022/dropdown/panel/dropdown-panel.component.mjs +0 -111
- package/esm2022/dropdown/panel/dropdown-panel.model.mjs +0 -2
- package/esm2022/dropdown/panel/dropdown-panel.module.mjs +0 -18
- package/esm2022/dropdown/panel/index.mjs +0 -4
- package/esm2022/dropdown/public-api.mjs +0 -5
- package/esm2022/dropdown/trigger/dropdown-trigger.directive.mjs +0 -121
- package/esm2022/dropdown/trigger/dropdown-trigger.module.mjs +0 -18
- package/esm2022/dropdown/trigger/index.mjs +0 -3
- package/esm2022/empty-state/empty-state-page/empty-state-page.component.mjs +0 -62
- package/esm2022/empty-state/empty-state-section/empty-state-section.component.mjs +0 -43
- package/esm2022/empty-state/lucca-front-ng-empty-state.mjs +0 -5
- package/esm2022/empty-state/public-api.mjs +0 -3
- package/esm2022/establishment/establishment.model.mjs +0 -2
- package/esm2022/establishment/establishment.module.mjs +0 -19
- package/esm2022/establishment/lucca-front-ng-establishment.mjs +0 -5
- package/esm2022/establishment/public-api.mjs +0 -5
- package/esm2022/establishment/select/establishment-select.module.mjs +0 -23
- package/esm2022/establishment/select/establishment-select.token.mjs +0 -4
- package/esm2022/establishment/select/for-legal-units/for-legal-units.directive.mjs +0 -47
- package/esm2022/establishment/select/for-legal-units/for-legal-units.module.mjs +0 -16
- package/esm2022/establishment/select/for-legal-units/index.mjs +0 -3
- package/esm2022/establishment/select/index.mjs +0 -7
- package/esm2022/establishment/select/input/establishment-select-input.component.mjs +0 -126
- package/esm2022/establishment/select/input/establishment-select-input.module.mjs +0 -16
- package/esm2022/establishment/select/input/establishment-select-input.translate.mjs +0 -7
- package/esm2022/establishment/select/input/index.mjs +0 -4
- package/esm2022/establishment/select/input/translations.mjs +0 -27
- package/esm2022/establishment/select/legal-unit-selector/index.mjs +0 -3
- package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.directive.mjs +0 -103
- package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.module.mjs +0 -16
- package/esm2022/establishment/select/searcher/establishment-searcher.component.mjs +0 -146
- package/esm2022/establishment/select/searcher/establishment-searcher.module.mjs +0 -16
- package/esm2022/establishment/select/searcher/index.mjs +0 -3
- package/esm2022/establishment/select/select-all/establishment-select-all.component.mjs +0 -94
- package/esm2022/establishment/select/select-all/establishment-select-all.module.mjs +0 -16
- package/esm2022/establishment/select/select-all/index.mjs +0 -3
- package/esm2022/establishment/service/establishment-service.model.mjs +0 -4
- package/esm2022/establishment/service/establishment.service.mjs +0 -37
- package/esm2022/establishment/service/index.mjs +0 -5
- package/esm2022/establishment/service/legal-unit-service.model.mjs +0 -4
- package/esm2022/establishment/service/legal-unit.service.mjs +0 -37
- package/esm2022/form-field/form-field-size.mjs +0 -2
- package/esm2022/form-field/form-field.component.mjs +0 -248
- package/esm2022/form-field/form-field.token.mjs +0 -3
- package/esm2022/form-field/form-field.translate.mjs +0 -7
- package/esm2022/form-field/input.directive.mjs +0 -36
- package/esm2022/form-field/lucca-front-ng-form-field.mjs +0 -5
- package/esm2022/form-field/public-api.mjs +0 -6
- package/esm2022/form-field/translations.mjs +0 -27
- package/esm2022/formly/formly.config.mjs +0 -79
- package/esm2022/formly/formly.module.mjs +0 -108
- package/esm2022/formly/formly.utils.mjs +0 -10
- package/esm2022/formly/lucca-front-ng-formly.mjs +0 -5
- package/esm2022/formly/public-api.mjs +0 -5
- package/esm2022/formly/types/api.mjs +0 -37
- package/esm2022/formly/types/checkbox.mjs +0 -22
- package/esm2022/formly/types/date.mjs +0 -22
- package/esm2022/formly/types/department.mjs +0 -22
- package/esm2022/formly/types/establishment.mjs +0 -22
- package/esm2022/formly/types/index.mjs +0 -12
- package/esm2022/formly/types/input.mjs +0 -26
- package/esm2022/formly/types/qualification.mjs +0 -22
- package/esm2022/formly/types/radios.mjs +0 -25
- package/esm2022/formly/types/select.mjs +0 -28
- package/esm2022/formly/types/textarea.mjs +0 -22
- package/esm2022/formly/types/user.mjs +0 -22
- package/esm2022/formly/wrappers/checkbox-layout.mjs +0 -30
- package/esm2022/formly/wrappers/error.mjs +0 -57
- package/esm2022/formly/wrappers/helper.mjs +0 -19
- package/esm2022/formly/wrappers/icon.mjs +0 -19
- package/esm2022/formly/wrappers/index.mjs +0 -8
- package/esm2022/formly/wrappers/radiosfield-layout.mjs +0 -30
- package/esm2022/formly/wrappers/suffix.mjs +0 -19
- package/esm2022/formly/wrappers/textfield-layout.mjs +0 -39
- package/esm2022/forms/checkbox-input/checkbox-input.component.mjs +0 -34
- package/esm2022/forms/form-field-id.directive.mjs +0 -52
- package/esm2022/forms/inject-ng-control.mjs +0 -25
- package/esm2022/forms/lucca-front-ng-forms.mjs +0 -5
- package/esm2022/forms/multilanguage-input/model/multilanguage-translation.mjs +0 -2
- package/esm2022/forms/multilanguage-input/multilanguage-input.component.mjs +0 -95
- package/esm2022/forms/multilanguage-input/multilanguage-input.translate.mjs +0 -6
- package/esm2022/forms/multilanguage-input/translations.mjs +0 -13
- package/esm2022/forms/multilanguage-input/validators.mjs +0 -7
- package/esm2022/forms/noop-value-accessor.directive.mjs +0 -35
- package/esm2022/forms/number-format-input/number-format-input.component.mjs +0 -92
- package/esm2022/forms/number-format-input/number-format-input.translate.mjs +0 -7
- package/esm2022/forms/number-format-input/translations.mjs +0 -27
- package/esm2022/forms/number-input/number-input.component.mjs +0 -55
- package/esm2022/forms/number-input/number-input.translate.mjs +0 -7
- package/esm2022/forms/number-input/translations.mjs +0 -27
- package/esm2022/forms/phone-number-input/formatter.mjs +0 -7
- package/esm2022/forms/phone-number-input/lucca-front-ng-forms-phone-number-input.mjs +0 -5
- package/esm2022/forms/phone-number-input/phone-number-format.pipe.mjs +0 -18
- package/esm2022/forms/phone-number-input/phone-number-input.component.mjs +0 -186
- package/esm2022/forms/phone-number-input/public-api.mjs +0 -6
- package/esm2022/forms/phone-number-input/types.mjs +0 -2
- package/esm2022/forms/phone-number-input/validators.mjs +0 -17
- package/esm2022/forms/public-api.mjs +0 -17
- package/esm2022/forms/radio-group-input/radio/radio.component.mjs +0 -54
- package/esm2022/forms/radio-group-input/radio-group-input.component.mjs +0 -45
- package/esm2022/forms/radio-group-input/radio-group-token.mjs +0 -3
- package/esm2022/forms/switch-input/switch-input.component.mjs +0 -26
- package/esm2022/forms/text-input/text-input-addon.mjs +0 -2
- package/esm2022/forms/text-input/text-input.component.mjs +0 -82
- package/esm2022/forms/text-input/text-input.translate.mjs +0 -7
- package/esm2022/forms/text-input/translations.mjs +0 -35
- package/esm2022/forms/textarea-input/textarea-input.component.mjs +0 -53
- package/esm2022/icon/icon.component.mjs +0 -29
- package/esm2022/icon/lucca-front-ng-icon.mjs +0 -5
- package/esm2022/icon/public-api.mjs +0 -2
- package/esm2022/inline-message/inline-message-state.mjs +0 -2
- package/esm2022/inline-message/inline-message.component.mjs +0 -33
- package/esm2022/inline-message/lucca-front-ng-inline-message.mjs +0 -5
- package/esm2022/inline-message/public-api.mjs +0 -3
- package/esm2022/input/clearer/clearer.component.mjs +0 -35
- package/esm2022/input/clearer/clearer.model.mjs +0 -3
- package/esm2022/input/clearer/clearer.module.mjs +0 -16
- package/esm2022/input/clearer/index.mjs +0 -4
- package/esm2022/input/displayer/index.mjs +0 -4
- package/esm2022/input/displayer/input-displayer.directive.mjs +0 -59
- package/esm2022/input/displayer/input-displayer.model.mjs +0 -6
- package/esm2022/input/displayer/input-displayer.module.mjs +0 -16
- package/esm2022/input/input.directive.mjs +0 -42
- package/esm2022/input/input.model.mjs +0 -54
- package/esm2022/input/input.module.mjs +0 -18
- package/esm2022/input/lucca-front-ng-input.mjs +0 -5
- package/esm2022/input/public-api.mjs +0 -6
- package/esm2022/lucca-front-ng.mjs +0 -5
- package/esm2022/modal/dialog-adapter/dialog-content-adapter/dialog-content-adapter.component.mjs +0 -100
- package/esm2022/modal/dialog-adapter/dialog-ref-adapter.mjs +0 -19
- package/esm2022/modal/lucca-front-ng-modal.mjs +0 -5
- package/esm2022/modal/modal-config.default.mjs +0 -17
- package/esm2022/modal/modal-config.model.mjs +0 -5
- package/esm2022/modal/modal-panel.component.mjs +0 -123
- package/esm2022/modal/modal-ref.factory.mjs +0 -60
- package/esm2022/modal/modal-ref.model.mjs +0 -11
- package/esm2022/modal/modal.model.mjs +0 -2
- package/esm2022/modal/modal.module.mjs +0 -28
- package/esm2022/modal/modal.service.mjs +0 -42
- package/esm2022/modal/modal.token.mjs +0 -9
- package/esm2022/modal/modal.translate.mjs +0 -7
- package/esm2022/modal/modal.utils.mjs +0 -9
- package/esm2022/modal/public-api.mjs +0 -12
- package/esm2022/modal/translations.mjs +0 -43
- package/esm2022/multi-select/displayer/counter-displayer/counter-displayer.component.mjs +0 -78
- package/esm2022/multi-select/displayer/default-displayer.component.mjs +0 -95
- package/esm2022/multi-select/displayer/default-displayer.translate.mjs +0 -7
- package/esm2022/multi-select/displayer/displayer-input.directive.mjs +0 -101
- package/esm2022/multi-select/displayer/displayer.directive.mjs +0 -26
- package/esm2022/multi-select/displayer/index.mjs +0 -6
- package/esm2022/multi-select/displayer/translations.mjs +0 -51
- package/esm2022/multi-select/input/index.mjs +0 -3
- package/esm2022/multi-select/input/panel-ref.factory.mjs +0 -119
- package/esm2022/multi-select/input/panel.model.mjs +0 -4
- package/esm2022/multi-select/input/select-all/index.mjs +0 -2
- package/esm2022/multi-select/input/select-all/multi-select-all-displayer.component.mjs +0 -99
- package/esm2022/multi-select/input/select-all/multi-select-all-header.component.mjs +0 -36
- package/esm2022/multi-select/input/select-all/select-all.models.mjs +0 -3
- package/esm2022/multi-select/input/select-all/with-select-all.directive.mjs +0 -160
- package/esm2022/multi-select/input/select-input.component.mjs +0 -111
- package/esm2022/multi-select/lucca-front-ng-multi-select.mjs +0 -5
- package/esm2022/multi-select/panel/index.mjs +0 -2
- package/esm2022/multi-select/panel/option-group-context.pipe.mjs +0 -24
- package/esm2022/multi-select/panel/option-selected.pipe.mjs +0 -19
- package/esm2022/multi-select/panel/panel.component.mjs +0 -109
- package/esm2022/multi-select/panel/selected-chip.directive.mjs +0 -26
- package/esm2022/multi-select/public-api.mjs +0 -5
- package/esm2022/multi-select/select.model.mjs +0 -23
- package/esm2022/multi-select/select.translate.mjs +0 -7
- package/esm2022/multi-select/select.utils.mjs +0 -32
- package/esm2022/multi-select/translations.mjs +0 -107
- package/esm2022/new-badge/lucca-front-ng-new-badge.mjs +0 -5
- package/esm2022/new-badge/new-badge.component.mjs +0 -20
- package/esm2022/new-badge/public-api.mjs +0 -2
- package/esm2022/number/lucca-front-ng-number.mjs +0 -5
- package/esm2022/number/number.module.mjs +0 -16
- package/esm2022/number/number.pipe.mjs +0 -36
- package/esm2022/number/public-api.mjs +0 -3
- package/esm2022/number-format/lucca-front-ng-number-format.mjs +0 -5
- package/esm2022/number-format/number-format.directive.mjs +0 -91
- package/esm2022/number-format/number-format.mjs +0 -175
- package/esm2022/number-format/number-format.models.mjs +0 -7
- package/esm2022/number-format/number-format.pipe.mjs +0 -18
- package/esm2022/number-format/public-api.mjs +0 -5
- package/esm2022/numeric-badge/lucca-front-ng-numeric-badge.mjs +0 -5
- package/esm2022/numeric-badge/numeric-badge.component.mjs +0 -43
- package/esm2022/numeric-badge/public-api.mjs +0 -2
- package/esm2022/option/item/index.mjs +0 -8
- package/esm2022/option/item/option-item.component.mjs +0 -76
- package/esm2022/option/item/option-item.model.mjs +0 -3
- package/esm2022/option/item/option-item.module.mjs +0 -16
- package/esm2022/option/item/translations.mjs +0 -35
- package/esm2022/option/item/tree-option-item.component.mjs +0 -136
- package/esm2022/option/item/tree-option-item.model.mjs +0 -7
- package/esm2022/option/item/tree-option-item.module.mjs +0 -16
- package/esm2022/option/item/tree-option-item.translate.mjs +0 -7
- package/esm2022/option/lucca-front-ng-option.mjs +0 -5
- package/esm2022/option/operator/feeder/index.mjs +0 -5
- package/esm2022/option/operator/feeder/option-feeder.component.mjs +0 -33
- package/esm2022/option/operator/feeder/option-feeder.module.mjs +0 -16
- package/esm2022/option/operator/feeder/tree-option-feeder.component.mjs +0 -33
- package/esm2022/option/operator/feeder/tree-option-feeder.module.mjs +0 -16
- package/esm2022/option/operator/for-groups/for-groups.directive.mjs +0 -89
- package/esm2022/option/operator/for-groups/for-groups.module.mjs +0 -16
- package/esm2022/option/operator/for-groups/index.mjs +0 -3
- package/esm2022/option/operator/for-options/for-options.directive.mjs +0 -50
- package/esm2022/option/operator/for-options/for-options.module.mjs +0 -16
- package/esm2022/option/operator/for-options/for-tree-options.directive.mjs +0 -29
- package/esm2022/option/operator/for-options/for-tree-options.module.mjs +0 -16
- package/esm2022/option/operator/for-options/index.mjs +0 -5
- package/esm2022/option/operator/index.mjs +0 -10
- package/esm2022/option/operator/option-operator.model.mjs +0 -3
- package/esm2022/option/operator/option-operator.module.mjs +0 -20
- package/esm2022/option/operator/pager/index.mjs +0 -5
- package/esm2022/option/operator/pager/option-pager.component.mjs +0 -53
- package/esm2022/option/operator/pager/option-pager.module.mjs +0 -16
- package/esm2022/option/operator/pager/tree-option-pager.component.mjs +0 -71
- package/esm2022/option/operator/pager/tree-option-pager.module.mjs +0 -16
- package/esm2022/option/operator/searcher/index.mjs +0 -5
- package/esm2022/option/operator/searcher/option-searcher.component.mjs +0 -66
- package/esm2022/option/operator/searcher/option-searcher.module.mjs +0 -16
- package/esm2022/option/operator/searcher/tree-option-searcher.component.mjs +0 -83
- package/esm2022/option/operator/searcher/tree-option-searcher.module.mjs +0 -16
- package/esm2022/option/operator/tree-option-operator.model.mjs +0 -4
- package/esm2022/option/operator/tree-option-operator.module.mjs +0 -19
- package/esm2022/option/option.module.mjs +0 -63
- package/esm2022/option/picker/index.mjs +0 -9
- package/esm2022/option/picker/option-picker-advanced.component.mjs +0 -150
- package/esm2022/option/picker/option-picker.component.mjs +0 -319
- package/esm2022/option/picker/option-picker.model.mjs +0 -69
- package/esm2022/option/picker/option-picker.module.mjs +0 -18
- package/esm2022/option/picker/tree-option-picker-advanced.component.mjs +0 -140
- package/esm2022/option/picker/tree-option-picker.component.mjs +0 -173
- package/esm2022/option/picker/tree-option-picker.model.mjs +0 -4
- package/esm2022/option/picker/tree-option-picker.module.mjs +0 -21
- package/esm2022/option/placeholder/index.mjs +0 -4
- package/esm2022/option/placeholder/option-placeholder.component.mjs +0 -23
- package/esm2022/option/placeholder/option-placeholder.module.mjs +0 -16
- package/esm2022/option/placeholder/option-placeholder.translate.mjs +0 -7
- package/esm2022/option/placeholder/translations.mjs +0 -35
- package/esm2022/option/public-api.mjs +0 -8
- package/esm2022/option/selector/all/index.mjs +0 -6
- package/esm2022/option/selector/all/select-all.component.mjs +0 -64
- package/esm2022/option/selector/all/select-all.module.mjs +0 -16
- package/esm2022/option/selector/all/select-all.translate.mjs +0 -7
- package/esm2022/option/selector/all/translations.mjs +0 -35
- package/esm2022/option/selector/all/tree-select-all.component.mjs +0 -67
- package/esm2022/option/selector/all/tree-select-all.module.mjs +0 -16
- package/esm2022/option/selector/index.mjs +0 -6
- package/esm2022/option/selector/option-selector.model.mjs +0 -3
- package/esm2022/option/selector/option-selector.module.mjs +0 -16
- package/esm2022/option/selector/tree-option-selector.model.mjs +0 -4
- package/esm2022/option/selector/tree-option-selector.module.mjs +0 -16
- package/esm2022/option/tree-option.module.mjs +0 -19
- package/esm2022/picker/input-picker.model.mjs +0 -4
- package/esm2022/picker/lucca-front-ng-picker.mjs +0 -5
- package/esm2022/picker/public-api.mjs +0 -2
- package/esm2022/plg-push/lucca-front-ng-plg-push.mjs +0 -5
- package/esm2022/plg-push/plg-push.component.mjs +0 -17
- package/esm2022/plg-push/public-api.mjs +0 -2
- package/esm2022/popover/animation/index.mjs +0 -2
- package/esm2022/popover/animation/popover.animation.mjs +0 -16
- package/esm2022/popover/lucca-front-ng-popover.mjs +0 -5
- package/esm2022/popover/panel/index.mjs +0 -4
- package/esm2022/popover/panel/popover-panel.component.mjs +0 -126
- package/esm2022/popover/panel/popover-panel.model.mjs +0 -120
- package/esm2022/popover/panel/popover-panel.module.mjs +0 -16
- package/esm2022/popover/popover.module.mjs +0 -18
- package/esm2022/popover/public-api.mjs +0 -6
- package/esm2022/popover/target/index.mjs +0 -4
- package/esm2022/popover/target/popover-target.directive.mjs +0 -53
- package/esm2022/popover/target/popover-target.model.mjs +0 -65
- package/esm2022/popover/target/popover-target.module.mjs +0 -16
- package/esm2022/popover/trigger/index.mjs +0 -4
- package/esm2022/popover/trigger/popover-trigger.directive.mjs +0 -186
- package/esm2022/popover/trigger/popover-trigger.model.mjs +0 -470
- package/esm2022/popover/trigger/popover-trigger.module.mjs +0 -17
- package/esm2022/popover2/content/popover-content/popover-content.component.mjs +0 -78
- package/esm2022/popover2/lucca-front-ng-popover2.mjs +0 -5
- package/esm2022/popover2/popover-focus-trap.mjs +0 -24
- package/esm2022/popover2/popover-tokens.mjs +0 -3
- package/esm2022/popover2/popover.directive.mjs +0 -257
- package/esm2022/popover2/popover.providers.mjs +0 -6
- package/esm2022/popover2/popover.translate.mjs +0 -7
- package/esm2022/popover2/popover2.translate.mjs +0 -19
- package/esm2022/popover2/public-api.mjs +0 -4
- package/esm2022/popover2/translations.mjs +0 -27
- package/esm2022/popup/lucca-front-ng-popup.mjs +0 -5
- package/esm2022/popup/popup-config.default.mjs +0 -9
- package/esm2022/popup/popup-config.model.mjs +0 -2
- package/esm2022/popup/popup-ref.factory.mjs +0 -28
- package/esm2022/popup/popup-ref.model.mjs +0 -139
- package/esm2022/popup/popup.module.mjs +0 -21
- package/esm2022/popup/popup.service.mjs +0 -21
- package/esm2022/popup/popup.token.mjs +0 -8
- package/esm2022/popup/public-api.mjs +0 -8
- package/esm2022/popup-employee/card/panel/user-popover-panel.component.mjs +0 -153
- package/esm2022/popup-employee/card/panel/user-popover-panel.model.mjs +0 -2
- package/esm2022/popup-employee/card/pipe/inject-parameter.pipe.mjs +0 -18
- package/esm2022/popup-employee/card/pipe/is-future.pipe.mjs +0 -32
- package/esm2022/popup-employee/card/pipe/leave-ends-display.pipe.mjs +0 -44
- package/esm2022/popup-employee/card/trigger/user-popover-trigger.directive.mjs +0 -178
- package/esm2022/popup-employee/lucca-front-ng-popup-employee.mjs +0 -5
- package/esm2022/popup-employee/popup-employee.translate.mjs +0 -7
- package/esm2022/popup-employee/public-api.mjs +0 -5
- package/esm2022/popup-employee/service/user-popover-service.model.mjs +0 -2
- package/esm2022/popup-employee/service/user-popover.store.mjs +0 -59
- package/esm2022/popup-employee/translations.mjs +0 -107
- package/esm2022/popup-employee/user-popover.model.mjs +0 -2
- package/esm2022/popup-employee/user-popover.providers.mjs +0 -14
- package/esm2022/public_api.mjs +0 -2
- package/esm2022/qualification/lucca-front-ng-qualification.mjs +0 -5
- package/esm2022/qualification/public-api.mjs +0 -4
- package/esm2022/qualification/qualification.model.mjs +0 -2
- package/esm2022/qualification/qualification.module.mjs +0 -19
- package/esm2022/qualification/select/index.mjs +0 -3
- package/esm2022/qualification/select/input/index.mjs +0 -4
- package/esm2022/qualification/select/input/qualification-select-input.component.mjs +0 -60
- package/esm2022/qualification/select/input/qualification-select-input.module.mjs +0 -19
- package/esm2022/qualification/select/input/qualification-select-input.translate.mjs +0 -7
- package/esm2022/qualification/select/input/translations.mjs +0 -27
- package/esm2022/qualification/select/qualification-select.module.mjs +0 -19
- package/esm2022/safe-content/lucca-front-ng-safe-content.mjs +0 -5
- package/esm2022/safe-content/public-api.mjs +0 -4
- package/esm2022/safe-content/safe-content.module.mjs +0 -18
- package/esm2022/safe-content/safe-external-svg.pipe.mjs +0 -42
- package/esm2022/safe-content/safe-html.pipe.mjs +0 -19
- package/esm2022/scroll/lucca-front-ng-scroll.mjs +0 -5
- package/esm2022/scroll/public-api.mjs +0 -4
- package/esm2022/scroll/scroll.directive.mjs +0 -77
- package/esm2022/scroll/scroll.model.mjs +0 -2
- package/esm2022/scroll/scroll.module.mjs +0 -16
- package/esm2022/select/input/index.mjs +0 -4
- package/esm2022/select/input/select-input.component.mjs +0 -249
- package/esm2022/select/input/select-input.model.mjs +0 -179
- package/esm2022/select/input/select-input.module.mjs +0 -19
- package/esm2022/select/lucca-front-ng-select.mjs +0 -5
- package/esm2022/select/public-api.mjs +0 -3
- package/esm2022/select/select.module.mjs +0 -19
- package/esm2022/sidepanel/lucca-front-ng-sidepanel.mjs +0 -5
- package/esm2022/sidepanel/public-api.mjs +0 -4
- package/esm2022/sidepanel/sidepanel.model.mjs +0 -32
- package/esm2022/sidepanel/sidepanel.module.mjs +0 -20
- package/esm2022/sidepanel/sidepanel.service.mjs +0 -25
- package/esm2022/simple-select/api/api-v3.directive.mjs +0 -6
- package/esm2022/simple-select/api/api-v4.directive.mjs +0 -6
- package/esm2022/simple-select/api/api.directive.mjs +0 -6
- package/esm2022/simple-select/api/lucca-front-ng-simple-select-api.mjs +0 -5
- package/esm2022/simple-select/api/public-api.mjs +0 -4
- package/esm2022/simple-select/input/index.mjs +0 -2
- package/esm2022/simple-select/input/panel-ref.factory.mjs +0 -106
- package/esm2022/simple-select/input/select-input.component.mjs +0 -60
- package/esm2022/simple-select/lucca-front-ng-simple-select.mjs +0 -5
- package/esm2022/simple-select/panel/index.mjs +0 -2
- package/esm2022/simple-select/panel/option-selected.pipe.mjs +0 -17
- package/esm2022/simple-select/panel/panel.component.mjs +0 -70
- package/esm2022/simple-select/public-api.mjs +0 -4
- package/esm2022/simple-select/select.model.mjs +0 -3
- package/esm2022/simple-select/select.translate.mjs +0 -7
- package/esm2022/simple-select/translations.mjs +0 -59
- package/esm2022/skeleton/lucca-front-ng-skeleton.mjs +0 -5
- package/esm2022/skeleton/public-api.mjs +0 -4
- package/esm2022/skeleton/skeleton-button/skeleton-button.component.mjs +0 -17
- package/esm2022/skeleton/skeleton-field/skeleton-field.component.mjs +0 -17
- package/esm2022/skeleton/skeleton-header/skeleton-header.component.mjs +0 -17
- package/esm2022/tag/lucca-front-ng-tag.mjs +0 -5
- package/esm2022/tag/public-api.mjs +0 -2
- package/esm2022/tag/tag.component.mjs +0 -61
- package/esm2022/time/core/base-picker.component.mjs +0 -47
- package/esm2022/time/core/date-primitives.mjs +0 -2
- package/esm2022/time/core/date.utils.mjs +0 -54
- package/esm2022/time/core/duration.utils.mjs +0 -55
- package/esm2022/time/core/math.utils.mjs +0 -17
- package/esm2022/time/core/misc.utils.mjs +0 -3
- package/esm2022/time/core/repeat-on-hold.directive.mjs +0 -73
- package/esm2022/time/core/time-picker-part.component.mjs +0 -148
- package/esm2022/time/duration-picker/duration-picker.component.mjs +0 -197
- package/esm2022/time/duration-picker/duration-picker.model.mjs +0 -2
- package/esm2022/time/duration-picker/duration-picker.translate.mjs +0 -7
- package/esm2022/time/duration-picker/translations.mjs +0 -43
- package/esm2022/time/lucca-front-ng-time.mjs +0 -5
- package/esm2022/time/public-api.mjs +0 -5
- package/esm2022/time/time-picker/time-picker.component.mjs +0 -230
- package/esm2022/time/time-picker/time-picker.model.mjs +0 -3
- package/esm2022/time/time-picker/time-picker.translate.mjs +0 -7
- package/esm2022/time/time-picker/translations.mjs +0 -43
- package/esm2022/title/lucca-front-ng-title.mjs +0 -5
- package/esm2022/title/public-api.mjs +0 -6
- package/esm2022/title/title-translate.service.mjs +0 -3
- package/esm2022/title/title.model.mjs +0 -2
- package/esm2022/title/title.module.mjs +0 -20
- package/esm2022/title/title.service.mjs +0 -55
- package/esm2022/title/title.strategy.mjs +0 -60
- package/esm2022/toast/lucca-front-ng-toast.mjs +0 -5
- package/esm2022/toast/public-api.mjs +0 -9
- package/esm2022/toast/toasts.component.mjs +0 -62
- package/esm2022/toast/toasts.model.mjs +0 -2
- package/esm2022/toast/toasts.module.mjs +0 -16
- package/esm2022/toast/toasts.service.mjs +0 -37
- package/esm2022/toast/toasts.translate.mjs +0 -7
- package/esm2022/toast/translations.mjs +0 -27
- package/esm2022/tooltip/animation/index.mjs +0 -2
- package/esm2022/tooltip/animation/tooltip.animation.mjs +0 -16
- package/esm2022/tooltip/lucca-front-ng-tooltip.mjs +0 -5
- package/esm2022/tooltip/panel/index.mjs +0 -3
- package/esm2022/tooltip/panel/tooltip-panel.component.mjs +0 -44
- package/esm2022/tooltip/panel/tooltip-panel.module.mjs +0 -16
- package/esm2022/tooltip/public-api.mjs +0 -5
- package/esm2022/tooltip/tooltip.module.mjs +0 -17
- package/esm2022/tooltip/trigger/ellipsis.ruler.mjs +0 -81
- package/esm2022/tooltip/trigger/index.mjs +0 -3
- package/esm2022/tooltip/trigger/tooltip-trigger.directive.mjs +0 -310
- package/esm2022/tooltip/trigger/tooltip-trigger.module.mjs +0 -17
- package/esm2022/user/display/display-format.model.mjs +0 -25
- package/esm2022/user/display/index.mjs +0 -4
- package/esm2022/user/display/user-display.module.mjs +0 -17
- package/esm2022/user/display/user-display.pipe.mjs +0 -72
- package/esm2022/user/lucca-front-ng-user.mjs +0 -5
- package/esm2022/user/picture/index.mjs +0 -3
- package/esm2022/user/picture/user-picture.component.mjs +0 -85
- package/esm2022/user/picture/user-picture.module.mjs +0 -19
- package/esm2022/user/public-api.mjs +0 -8
- package/esm2022/user/select/homonyms/index.mjs +0 -4
- package/esm2022/user/select/homonyms/user-homonyms.component.mjs +0 -72
- package/esm2022/user/select/homonyms/user-homonyms.module.mjs +0 -16
- package/esm2022/user/select/homonyms/user-homonyms.service.mjs +0 -53
- package/esm2022/user/select/index.mjs +0 -6
- package/esm2022/user/select/input/index.mjs +0 -4
- package/esm2022/user/select/input/translations.mjs +0 -35
- package/esm2022/user/select/input/user-select-input.component.mjs +0 -89
- package/esm2022/user/select/input/user-select-input.module.mjs +0 -19
- package/esm2022/user/select/input/user-select-input.translate.mjs +0 -7
- package/esm2022/user/select/me/index.mjs +0 -3
- package/esm2022/user/select/me/me-option.directive.mjs +0 -123
- package/esm2022/user/select/me/me-option.module.mjs +0 -16
- package/esm2022/user/select/searcher/index.mjs +0 -4
- package/esm2022/user/select/searcher/translations.mjs +0 -27
- package/esm2022/user/select/searcher/user-searcher.component.mjs +0 -187
- package/esm2022/user/select/searcher/user-searcher.module.mjs +0 -16
- package/esm2022/user/select/searcher/user-searcher.translate.mjs +0 -7
- package/esm2022/user/select/user-select.module.mjs +0 -22
- package/esm2022/user/service/index.mjs +0 -3
- package/esm2022/user/service/user-service.model.mjs +0 -4
- package/esm2022/user/service/user-v3.service.mjs +0 -51
- package/esm2022/user/tile/index.mjs +0 -3
- package/esm2022/user/tile/user-tile.component.mjs +0 -63
- package/esm2022/user/tile/user-tile.module.mjs +0 -20
- package/esm2022/user/user.model.mjs +0 -2
- package/esm2022/user/user.module.mjs +0 -19
|
@@ -172,10 +172,10 @@ class LuPopupRefFactory {
|
|
|
172
172
|
forge(component, config) {
|
|
173
173
|
return new LuPopupRef(this._overlay, this._injector, component, config);
|
|
174
174
|
}
|
|
175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
176
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
175
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuPopupRefFactory, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
176
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuPopupRefFactory }); }
|
|
177
177
|
}
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuPopupRefFactory, decorators: [{
|
|
179
179
|
type: Injectable
|
|
180
180
|
}], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Injector }] });
|
|
181
181
|
|
|
@@ -190,19 +190,19 @@ class LuPopup {
|
|
|
190
190
|
ref.open(data);
|
|
191
191
|
return ref;
|
|
192
192
|
}
|
|
193
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
194
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
193
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuPopup, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
194
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuPopup }); }
|
|
195
195
|
}
|
|
196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuPopup, decorators: [{
|
|
197
197
|
type: Injectable
|
|
198
198
|
}] });
|
|
199
199
|
|
|
200
200
|
class LuPopupModule {
|
|
201
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
202
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
203
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
202
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuPopupModule, imports: [OverlayModule] }); }
|
|
203
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuPopupModule, providers: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }], imports: [OverlayModule] }); }
|
|
204
204
|
}
|
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuPopupModule, decorators: [{
|
|
206
206
|
type: NgModule,
|
|
207
207
|
args: [{
|
|
208
208
|
imports: [OverlayModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-popup.mjs","sources":["../../../packages/ng/popup/popup-config.default.ts","../../../packages/ng/popup/popup.token.ts","../../../packages/ng/popup/popup-ref.model.ts","../../../packages/ng/popup/popup-ref.factory.ts","../../../packages/ng/popup/popup.service.ts","../../../packages/ng/popup/popup.module.ts","../../../packages/ng/popup/lucca-front-ng-popup.ts"],"sourcesContent":["import { ILuPopupConfig } from './popup-config.model';\n\nexport const luDefaultPopupConfig: ILuPopupConfig = {\n\tposition: 'center',\n\tnoBackdrop: false,\n\tundismissable: false,\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\n\tpanelClass: 'lu-popup-panel',\n\tsize: 'M',\n};\n","import { InjectionToken } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRefFactory } from './popup-ref.model';\n\nexport const LU_POPUP_REF_FACTORY = new InjectionToken<ILuPopupRefFactory>('LuPopupRefFactory');\n\n/** Injection token that can be used to access the data that was passed in to a dialog. */\nexport const LU_POPUP_DATA = new InjectionToken<unknown>('LuPopupData');\nexport const LU_POPUP_CONFIG = new InjectionToken<ILuPopupConfig>('LuPopupDefaultConfig', {\n\tfactory: () => ({}),\n});\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal, ComponentType } from '@angular/cdk/portal';\nimport { ComponentRef, Injector } from '@angular/core';\nimport { Observable, Subject, Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { LU_POPUP_DATA } from './popup.token';\n\nexport interface ILuPopupRef<D = unknown, R = unknown> {\n\tonOpen: Observable<D>;\n\tonClose: Observable<R>;\n\tonDismiss: Observable<void>;\n\tonBackdropClick: Observable<void>;\n\topen(data: D): void;\n\tclose(result: R): void;\n\tdismiss(): void;\n}\nexport interface ILuPopupRefFactory<TComponent = unknown, TConfig extends ILuPopupConfig = ILuPopupConfig> {\n\tforge<T extends TComponent, C extends TConfig, D, R>(component: ComponentType<T>, config: C): ILuPopupRef<D, R>;\n}\n\nexport abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown, C extends ILuPopupConfig = ILuPopupConfig> implements ILuPopupRef<D, R> {\n\tonOpen = new Subject<D>();\n\tonClose = new Subject<R>();\n\tonDismiss = new Subject<void>();\n\tonBackdropClick = new Subject<void>();\n\n\tprotected _overlayRef: OverlayRef;\n\tprotected _componentRef: ComponentRef<T>;\n\n\tprotected _subs = new Subscription();\n\n\tconstructor(\n\t\tprotected _overlay: Overlay,\n\t\tprotected _injector: Injector,\n\t\tprotected _component: ComponentType<T>,\n\t\tprotected _config: C,\n\t) {}\n\n\topen(data?: D) {\n\t\tthis._createOverlay();\n\t\tthis._openPopup(data);\n\n\t\tthis._subToCloseEvents();\n\n\t\tthis.onOpen.next(data);\n\t\tthis.onOpen.complete();\n\t}\n\tclose(result?: R) {\n\t\tthis.onClose.next(result);\n\t\tthis._destroy();\n\t}\n\tdismiss() {\n\t\tthis.onDismiss.next();\n\t\tthis._destroy();\n\t}\n\t/**\n\t * This method creates the overlay from the provided popover's template and saves its\n\t * OverlayRef so that it can be attached to the DOM when openPopover is called.\n\t */\n\tprotected _createOverlay() {\n\t\tif (!this._overlayRef) {\n\t\t\tconst overlayConfig = this._getOverlayConfig();\n\t\t\tthis._overlayRef = this._overlay.create(overlayConfig);\n\t\t}\n\t}\n\t/**\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\n\t * @returns OverlayConfig\n\t */\n\tprotected _getOverlayConfig(): OverlayConfig {\n\t\tconst overlayConfig = new OverlayConfig();\n\t\tswitch (this._config.position) {\n\t\t\tcase 'top':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');\n\t\t\t\tbreak;\n\t\t\tcase 'bottom':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');\n\t\t\t\tbreak;\n\t\t\tcase 'left':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');\n\t\t\t\tbreak;\n\t\t\tcase 'right':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');\n\t\t\t\tbreak;\n\t\t\tcase 'center':\n\t\t\tdefault:\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();\n\t\t\t\tbreak;\n\t\t}\n\t\toverlayConfig.hasBackdrop = !this._config.noBackdrop;\n\t\toverlayConfig.backdropClass = this._config.backdropClass;\n\t\toverlayConfig.panelClass = this._getOverlayPanelClasses();\n\t\toverlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();\n\t\treturn overlayConfig;\n\t}\n\tprotected _openPopup(data?: D) {\n\t\tconst injector = Injector.create({\n\t\t\tproviders: [\n\t\t\t\t{ provide: ALuPopupRef, useValue: this },\n\t\t\t\t{ provide: LU_POPUP_DATA, useValue: data },\n\t\t\t],\n\t\t\tparent: this._injector,\n\t\t});\n\t\tconst portal = new ComponentPortal(this._component, undefined, injector);\n\t\tthis._componentRef = this._overlayRef.attach<T>(portal);\n\t}\n\tprotected _getOverlayPanelClasses(): string[] {\n\t\tconst panelClasses: string[] = [];\n\t\tif (Array.isArray(this._config.panelClass)) {\n\t\t\tpanelClasses.push(...this._config.panelClass);\n\t\t} else {\n\t\t\tpanelClasses.push(this._config.panelClass);\n\t\t}\n\t\tpanelClasses.push(`mod-${this._config.size}`);\n\t\treturn panelClasses;\n\t}\n\tprotected _destroy() {\n\t\tthis._cleanSubscription();\n\t\tthis._closePopup();\n\t\tthis._destroyOverlay();\n\t\tthis._completeSubjects();\n\t}\n\tprotected _completeSubjects() {\n\t\tthis.onClose.complete();\n\t\tthis.onOpen.complete();\n\t\tthis.onDismiss.complete();\n\t\tthis.onBackdropClick.complete();\n\t}\n\tprotected _destroyOverlay() {\n\t\tthis._overlayRef.detachBackdrop();\n\t\tthis._overlayRef.detach();\n\t}\n\tprotected _closePopup() {\n\t\tthis._componentRef.destroy();\n\t}\n\tprotected _subToCloseEvents() {\n\t\tif (!this._config.undismissable) {\n\t\t\tthis._subToEscapeKeydownEvent();\n\t\t}\n\t\tthis._subToBackdropClickEvent();\n\t}\n\tprotected _subToEscapeKeydownEvent() {\n\t\tconst escPressed$ = this._overlayRef.keydownEvents().pipe(filter(({ key }) => key === 'Escape'));\n\t\tthis._subs.add(escPressed$.subscribe((_e) => this.dismiss()));\n\t}\n\tprotected _subToBackdropClickEvent() {\n\t\tconst bdClicked$ = this._overlayRef.backdropClick();\n\t\tconst bdClickedSub = bdClicked$.subscribe((_e) => {\n\t\t\tthis.onBackdropClick.next();\n\t\t\tif (!this._config.undismissable) {\n\t\t\t\tthis.dismiss();\n\t\t\t}\n\t\t});\n\t\tthis._subs.add(bdClickedSub);\n\t}\n\tprotected _cleanSubscription() {\n\t\tthis._subs.unsubscribe();\n\t}\n}\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\nimport { Injectable, Injector } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ALuPopupRef, ILuPopupRefFactory } from './popup-ref.model';\n\nexport class LuPopupRef<T = unknown, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> {\n\tconstructor(\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _injector: Injector,\n\t\tprotected override _component: ComponentType<T>,\n\t\tprotected override _config: ILuPopupConfig,\n\t) {\n\t\tsuper(_overlay, _injector, _component, _config);\n\t}\n}\n\n@Injectable()\nexport class LuPopupRefFactory implements ILuPopupRefFactory {\n\tconstructor(\n\t\tprotected _overlay: Overlay,\n\t\tprotected _injector: Injector,\n\t) {}\n\tforge<T, D, R>(component: ComponentType<T>, config: ILuPopupConfig) {\n\t\treturn new LuPopupRef<T, D, R>(this._overlay, this._injector, component, config);\n\t}\n}\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { inject, Injectable } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRef } from './popup-ref.model';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\n\n@Injectable()\nexport class LuPopup {\n\tprotected _factory = inject(LU_POPUP_REF_FACTORY);\n\tprotected _config = inject(LU_POPUP_CONFIG);\n\n\topen<T, D, R>(component: ComponentType<T>, data: D = undefined, config: Partial<ILuPopupConfig> = {}): ILuPopupRef<D, R> {\n\t\tconst extendedConfig = { ...this._config, ...config };\n\t\tconst ref = this._factory.forge<T, ILuPopupConfig, D, R>(component, extendedConfig);\n\t\tref.open(data);\n\t\treturn ref;\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { LuPopup } from './popup.service';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\nimport { luDefaultPopupConfig } from './popup-config.default';\nimport { LuPopupRefFactory } from './popup-ref.factory';\n\n@NgModule({\n\timports: [OverlayModule],\n\texports: [],\n\tproviders: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }],\n})\nexport class LuPopupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAEa,MAAA,oBAAoB,GAAmB;AACnD,IAAA,QAAQ,EAAE,QAAQ;AAClB,IAAA,UAAU,EAAE,KAAK;AACjB,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EAAA,CAAA,CAAA,EAAA;;2FAAP,OAAO,EAAA,UAAA,EAAA,CAAA;kBADnB,UAAU;;;MCME,aAAa,CAAA;8GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJf,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;+GAIX,aAAa,EAAA,SAAA,EAFd,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC,EAAA,OAAA,EAAA,CAFxI,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,aAAa,CAAC;AACxB,oBAAA,OAAO,EAAE,EAAE;oBACX,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC;AAClJ,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-popup.mjs","sources":["../../../packages/ng/popup/popup-config.default.ts","../../../packages/ng/popup/popup.token.ts","../../../packages/ng/popup/popup-ref.model.ts","../../../packages/ng/popup/popup-ref.factory.ts","../../../packages/ng/popup/popup.service.ts","../../../packages/ng/popup/popup.module.ts","../../../packages/ng/popup/lucca-front-ng-popup.ts"],"sourcesContent":["import { ILuPopupConfig } from './popup-config.model';\n\nexport const luDefaultPopupConfig: ILuPopupConfig = {\n\tposition: 'center',\n\tnoBackdrop: false,\n\tundismissable: false,\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\n\tpanelClass: 'lu-popup-panel',\n\tsize: 'M',\n};\n","import { InjectionToken } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRefFactory } from './popup-ref.model';\n\nexport const LU_POPUP_REF_FACTORY = new InjectionToken<ILuPopupRefFactory>('LuPopupRefFactory');\n\n/** Injection token that can be used to access the data that was passed in to a dialog. */\nexport const LU_POPUP_DATA = new InjectionToken<unknown>('LuPopupData');\nexport const LU_POPUP_CONFIG = new InjectionToken<ILuPopupConfig>('LuPopupDefaultConfig', {\n\tfactory: () => ({}),\n});\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal, ComponentType } from '@angular/cdk/portal';\nimport { ComponentRef, Injector } from '@angular/core';\nimport { Observable, Subject, Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { LU_POPUP_DATA } from './popup.token';\n\nexport interface ILuPopupRef<D = unknown, R = unknown> {\n\tonOpen: Observable<D>;\n\tonClose: Observable<R>;\n\tonDismiss: Observable<void>;\n\tonBackdropClick: Observable<void>;\n\topen(data: D): void;\n\tclose(result: R): void;\n\tdismiss(): void;\n}\nexport interface ILuPopupRefFactory<TComponent = unknown, TConfig extends ILuPopupConfig = ILuPopupConfig> {\n\tforge<T extends TComponent, C extends TConfig, D, R>(component: ComponentType<T>, config: C): ILuPopupRef<D, R>;\n}\n\nexport abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown, C extends ILuPopupConfig = ILuPopupConfig> implements ILuPopupRef<D, R> {\n\tonOpen = new Subject<D>();\n\tonClose = new Subject<R>();\n\tonDismiss = new Subject<void>();\n\tonBackdropClick = new Subject<void>();\n\n\tprotected _overlayRef: OverlayRef;\n\tprotected _componentRef: ComponentRef<T>;\n\n\tprotected _subs = new Subscription();\n\n\tconstructor(\n\t\tprotected _overlay: Overlay,\n\t\tprotected _injector: Injector,\n\t\tprotected _component: ComponentType<T>,\n\t\tprotected _config: C,\n\t) {}\n\n\topen(data?: D) {\n\t\tthis._createOverlay();\n\t\tthis._openPopup(data);\n\n\t\tthis._subToCloseEvents();\n\n\t\tthis.onOpen.next(data);\n\t\tthis.onOpen.complete();\n\t}\n\tclose(result?: R) {\n\t\tthis.onClose.next(result);\n\t\tthis._destroy();\n\t}\n\tdismiss() {\n\t\tthis.onDismiss.next();\n\t\tthis._destroy();\n\t}\n\t/**\n\t * This method creates the overlay from the provided popover's template and saves its\n\t * OverlayRef so that it can be attached to the DOM when openPopover is called.\n\t */\n\tprotected _createOverlay() {\n\t\tif (!this._overlayRef) {\n\t\t\tconst overlayConfig = this._getOverlayConfig();\n\t\t\tthis._overlayRef = this._overlay.create(overlayConfig);\n\t\t}\n\t}\n\t/**\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\n\t * @returns OverlayConfig\n\t */\n\tprotected _getOverlayConfig(): OverlayConfig {\n\t\tconst overlayConfig = new OverlayConfig();\n\t\tswitch (this._config.position) {\n\t\t\tcase 'top':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');\n\t\t\t\tbreak;\n\t\t\tcase 'bottom':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');\n\t\t\t\tbreak;\n\t\t\tcase 'left':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');\n\t\t\t\tbreak;\n\t\t\tcase 'right':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');\n\t\t\t\tbreak;\n\t\t\tcase 'center':\n\t\t\tdefault:\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();\n\t\t\t\tbreak;\n\t\t}\n\t\toverlayConfig.hasBackdrop = !this._config.noBackdrop;\n\t\toverlayConfig.backdropClass = this._config.backdropClass;\n\t\toverlayConfig.panelClass = this._getOverlayPanelClasses();\n\t\toverlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();\n\t\treturn overlayConfig;\n\t}\n\tprotected _openPopup(data?: D) {\n\t\tconst injector = Injector.create({\n\t\t\tproviders: [\n\t\t\t\t{ provide: ALuPopupRef, useValue: this },\n\t\t\t\t{ provide: LU_POPUP_DATA, useValue: data },\n\t\t\t],\n\t\t\tparent: this._injector,\n\t\t});\n\t\tconst portal = new ComponentPortal(this._component, undefined, injector);\n\t\tthis._componentRef = this._overlayRef.attach<T>(portal);\n\t}\n\tprotected _getOverlayPanelClasses(): string[] {\n\t\tconst panelClasses: string[] = [];\n\t\tif (Array.isArray(this._config.panelClass)) {\n\t\t\tpanelClasses.push(...this._config.panelClass);\n\t\t} else {\n\t\t\tpanelClasses.push(this._config.panelClass);\n\t\t}\n\t\tpanelClasses.push(`mod-${this._config.size}`);\n\t\treturn panelClasses;\n\t}\n\tprotected _destroy() {\n\t\tthis._cleanSubscription();\n\t\tthis._closePopup();\n\t\tthis._destroyOverlay();\n\t\tthis._completeSubjects();\n\t}\n\tprotected _completeSubjects() {\n\t\tthis.onClose.complete();\n\t\tthis.onOpen.complete();\n\t\tthis.onDismiss.complete();\n\t\tthis.onBackdropClick.complete();\n\t}\n\tprotected _destroyOverlay() {\n\t\tthis._overlayRef.detachBackdrop();\n\t\tthis._overlayRef.detach();\n\t}\n\tprotected _closePopup() {\n\t\tthis._componentRef.destroy();\n\t}\n\tprotected _subToCloseEvents() {\n\t\tif (!this._config.undismissable) {\n\t\t\tthis._subToEscapeKeydownEvent();\n\t\t}\n\t\tthis._subToBackdropClickEvent();\n\t}\n\tprotected _subToEscapeKeydownEvent() {\n\t\tconst escPressed$ = this._overlayRef.keydownEvents().pipe(filter(({ key }) => key === 'Escape'));\n\t\tthis._subs.add(escPressed$.subscribe((_e) => this.dismiss()));\n\t}\n\tprotected _subToBackdropClickEvent() {\n\t\tconst bdClicked$ = this._overlayRef.backdropClick();\n\t\tconst bdClickedSub = bdClicked$.subscribe((_e) => {\n\t\t\tthis.onBackdropClick.next();\n\t\t\tif (!this._config.undismissable) {\n\t\t\t\tthis.dismiss();\n\t\t\t}\n\t\t});\n\t\tthis._subs.add(bdClickedSub);\n\t}\n\tprotected _cleanSubscription() {\n\t\tthis._subs.unsubscribe();\n\t}\n}\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\nimport { Injectable, Injector } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ALuPopupRef, ILuPopupRefFactory } from './popup-ref.model';\n\nexport class LuPopupRef<T = unknown, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> {\n\tconstructor(\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _injector: Injector,\n\t\tprotected override _component: ComponentType<T>,\n\t\tprotected override _config: ILuPopupConfig,\n\t) {\n\t\tsuper(_overlay, _injector, _component, _config);\n\t}\n}\n\n@Injectable()\nexport class LuPopupRefFactory implements ILuPopupRefFactory {\n\tconstructor(\n\t\tprotected _overlay: Overlay,\n\t\tprotected _injector: Injector,\n\t) {}\n\tforge<T, D, R>(component: ComponentType<T>, config: ILuPopupConfig) {\n\t\treturn new LuPopupRef<T, D, R>(this._overlay, this._injector, component, config);\n\t}\n}\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { inject, Injectable } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRef } from './popup-ref.model';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\n\n@Injectable()\nexport class LuPopup {\n\tprotected _factory = inject(LU_POPUP_REF_FACTORY);\n\tprotected _config = inject(LU_POPUP_CONFIG);\n\n\topen<T, D, R>(component: ComponentType<T>, data: D = undefined, config: Partial<ILuPopupConfig> = {}): ILuPopupRef<D, R> {\n\t\tconst extendedConfig = { ...this._config, ...config };\n\t\tconst ref = this._factory.forge<T, ILuPopupConfig, D, R>(component, extendedConfig);\n\t\tref.open(data);\n\t\treturn ref;\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { LuPopup } from './popup.service';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\nimport { luDefaultPopupConfig } from './popup-config.default';\nimport { LuPopupRefFactory } from './popup-ref.factory';\n\n@NgModule({\n\timports: [OverlayModule],\n\texports: [],\n\tproviders: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }],\n})\nexport class LuPopupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAEa,MAAA,oBAAoB,GAAmB;AACnD,IAAA,QAAQ,EAAE,QAAQ;AAClB,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,aAAa,EAAE,CAAC,2BAA2B,EAAE,mBAAmB,CAAC;AACjE,IAAA,UAAU,EAAE,gBAAgB;AAC5B,IAAA,IAAI,EAAE,GAAG;;;MCJG,oBAAoB,GAAG,IAAI,cAAc,CAAqB,mBAAmB;AAE9F;MACa,aAAa,GAAG,IAAI,cAAc,CAAU,aAAa;MACzD,eAAe,GAAG,IAAI,cAAc,CAAiB,sBAAsB,EAAE;AACzF,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,CAAA;;MCWqB,WAAW,CAAA;AAWhC,IAAA,WAAA,CACW,QAAiB,EACjB,SAAmB,EACnB,UAA4B,EAC5B,OAAU,EAAA;QAHV,IAAQ,CAAA,QAAA,GAAR,QAAQ;QACR,IAAS,CAAA,SAAA,GAAT,SAAS;QACT,IAAU,CAAA,UAAA,GAAV,UAAU;QACV,IAAO,CAAA,OAAA,GAAP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,OAAO,EAAA,CAAA,CAAA;;2FAAP,OAAO,EAAA,UAAA,EAAA,CAAA;kBADnB;;;MCMY,aAAa,CAAA;8GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJf,aAAa,CAAA,EAAA,CAAA,CAAA;+GAIX,aAAa,EAAA,SAAA,EAFd,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC,EAAA,OAAA,EAAA,CAFxI,aAAa,CAAA,EAAA,CAAA,CAAA;;2FAIX,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,aAAa,CAAC;AACxB,oBAAA,OAAO,EAAE,EAAE;oBACX,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC;AAClJ,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -68,8 +68,8 @@ class LuQualificationSelectInputComponent extends ALuSelectInputComponent {
|
|
|
68
68
|
groupByJobName(qualification) {
|
|
69
69
|
return qualification.job.name;
|
|
70
70
|
}
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
72
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
71
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
72
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: LuQualificationSelectInputComponent, isStandalone: true, selector: "lu-qualification-select", inputs: { filters: "filters" }, providers: [
|
|
73
73
|
{
|
|
74
74
|
provide: NG_VALUE_ACCESSOR,
|
|
75
75
|
useExisting: forwardRef(() => LuQualificationSelectInputComponent),
|
|
@@ -77,7 +77,7 @@ class LuQualificationSelectInputComponent extends ALuSelectInputComponent {
|
|
|
77
77
|
},
|
|
78
78
|
], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<div class=\"lu-picker-content-option\">\n\t\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\">\n\t\t\t\t{{ qualification.name }}\n\t\t\t</lu-option>\n\t\t</div>\n\t</ng-template>\n</lu-option-picker-advanced>\n", styles: ["@charset \"UTF-8\";:root{--components-options-item-padding-vertical: var(--pr-t-spacings-50);--components-options-item-padding-horizontal: var(--pr-t-spacings-100);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-neutral-800);--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-product-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-neutral-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--pr-t-spacings-100);--components-select-input-padding-vertical: var(--pr-t-spacings-100);--components-select-framed-color: var(--palettes-neutral-500);--components-select-framed-color50: var(--palettes-neutral-50);--components-select-framed-see-through: var(--palettes-neutral-50);--components-select-framed-text: var(--palettes-neutral-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--pr-t-spacings-200);--components-select-framed-top-padding: var(--pr-t-spacings-400);--components-select-framed-bottom-padding: var(--pr-t-spacings-200);--components-select-framed-label-top-offset: var(--pr-t-spacings-100);cursor:pointer;outline:none;padding:0;gap:0}:host:after{--icon-content: \"\\e97c\";font-weight:400;display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;content:var(--icon-content);-webkit-font-smoothing:antialiased;text-transform:none;color:var(--palettes-neutral-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal);transition:transform var(--commons-animations-durations-standard) ease}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-neutral-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:var(--pr-t-spacings-150);right:2.25rem}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--pr-t-spacings-50) var(--pr-t-spacings-50) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--pr-t-spacings-100)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--pr-t-spacings-50);padding-right:var(--pr-t-spacings-50);gap:var(--pr-t-spacings-50)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-neutral-500);bottom:var(--components-select-framed-bottom-padding);right:var(--pr-t-spacings-100)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-neutral-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--pr-t-spacings-200);color:var(--palettes-neutral-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-neutral-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--pr-t-spacings-50) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-neutral-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-neutral-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield .textfield-input.is-focused):after{transform:rotate(-180deg)}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error,.textfield-input.is-invalid,.textfield-input.ng-invalid.ng-touched) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.optionItem-groupKey{padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal) var(--pr-t-spacings-50);font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);width:100%;text-align:left;color:var(--palettes-neutral-600);margin:0}.optionItem-groupKey:first-of-type{border-top-color:transparent;margin-top:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "component", type: LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { kind: "component", type: LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { kind: "component", type: LuApiPagedSearcherComponent, selector: "lu-api-paged-searcher", inputs: ["standard", "api", "fields", "filters", "orderBy", "sort", "debounceTime"] }, { kind: "component", type: LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value", "disabled"], outputs: ["onSelect"] }, { kind: "directive", type: LuForGroupsDirective, selector: "[luForGroups]", inputs: ["luForGroupsGroupBy"] }, { kind: "directive", type: LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
79
79
|
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectInputComponent, decorators: [{
|
|
81
81
|
type: Component,
|
|
82
82
|
args: [{ selector: 'lu-qualification-select', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective], providers: [
|
|
83
83
|
{
|
|
@@ -94,11 +94,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
|
|
|
94
94
|
* @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive
|
|
95
95
|
*/
|
|
96
96
|
class LuQualificationSelectInputModule {
|
|
97
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
98
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
99
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
97
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
98
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectInputModule, imports: [LuQualificationSelectInputComponent], exports: [LuQualificationSelectInputComponent] }); }
|
|
99
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectInputModule, imports: [LuQualificationSelectInputComponent] }); }
|
|
100
100
|
}
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectInputModule, decorators: [{
|
|
102
102
|
type: NgModule,
|
|
103
103
|
args: [{
|
|
104
104
|
imports: [LuQualificationSelectInputComponent],
|
|
@@ -110,11 +110,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
|
|
|
110
110
|
* @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive
|
|
111
111
|
*/
|
|
112
112
|
class LuQualificationSelectModule {
|
|
113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
114
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
115
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
114
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectModule, imports: [LuQualificationSelectInputModule], exports: [LuQualificationSelectInputModule] }); }
|
|
115
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectModule, imports: [LuQualificationSelectInputModule, LuQualificationSelectInputModule] }); }
|
|
116
116
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationSelectModule, decorators: [{
|
|
118
118
|
type: NgModule,
|
|
119
119
|
args: [{
|
|
120
120
|
imports: [LuQualificationSelectInputModule],
|
|
@@ -126,11 +126,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
|
|
|
126
126
|
* @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive
|
|
127
127
|
*/
|
|
128
128
|
class LuQualificationModule {
|
|
129
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
130
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
131
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
130
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationModule, imports: [LuQualificationSelectModule], exports: [LuQualificationSelectModule] }); }
|
|
131
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationModule, imports: [LuQualificationSelectModule, LuQualificationSelectModule] }); }
|
|
132
132
|
}
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuQualificationModule, decorators: [{
|
|
134
134
|
type: NgModule,
|
|
135
135
|
args: [{
|
|
136
136
|
imports: [LuQualificationSelectModule],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-qualification.mjs","sources":["../../../packages/ng/qualification/select/input/translations.ts","../../../packages/ng/qualification/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/select/qualification-select.module.ts","../../../packages/ng/qualification/qualification.module.ts","../../../packages/ng/qualification/lucca-front-ng-qualification.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\tqualifications: 'qualifications',\n\t},\n\tde: {\n\t\tqualifications: 'Qualifikationen',\n\t},\n\tfr: {\n\t\tqualifications: 'qualifications',\n\t},\n\tit: {\n\t\tqualifications: 'qualifiche',\n\t},\n\tnl: {\n\t\tqualifications: 'kwalificaties',\n\t},\n\t'nl-BE': {\n\t\tqualifications: 'kwalificaties',\n\t},\n\tes: {\n\t\tqualifications: 'cualificaciones',\n\t},\n\tpt: {\n\t\tqualifications: 'qualificações',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\n\tfactory: () => luQualificationSelectInputTranslations,\n});\n\nexport interface ILuQualificationSelectInputLabel {\n\tqualifications: string;\n}\n\nexport const luQualificationSelectInputTranslations: LuTranslation<ILuQualificationSelectInputLabel> = Translations;\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\nimport { ILuQualification } from '../../qualification.model';\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@Component({\n\tselector: 'lu-qualification-select',\n\ttemplateUrl: './qualification-select-input.component.html',\n\tstyleUrls: ['./qualification-select-input.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuQualificationSelectInputComponent<\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\n\t>\n\textends ALuSelectInputComponent<D, P>\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\n{\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\n\n\t@Input() filters: string[];\n\n\tisSearching = false;\n\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\n\tonIsSearchingChanged(isSearching: boolean) {\n\t\tthis.isSearching = isSearching;\n\t\tthis._changeDetectorRef.detectChanges();\n\t}\n\n\ttrackById(_: number, item: ILuQualification): number {\n\t\treturn item.id;\n\t}\n\n\tgroupByJobName(qualification: ILuQualification): string {\n\t\treturn qualification.job.name;\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<div class=\"lu-picker-content-option\">\n\t\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\">\n\t\t\t\t{{ qualification.name }}\n\t\t\t</lu-option>\n\t\t</div>\n\t</ng-template>\n</lu-option-picker-advanced>\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectInputComponent],\n\texports: [LuQualificationSelectInputComponent],\n})\nexport class LuQualificationSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputModule } from './input/index';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectInputModule],\n\texports: [LuQualificationSelectInputModule],\n})\nexport class LuQualificationSelectModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectModule],\n\texports: [LuQualificationSelectModule],\n})\nexport class LuQualificationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,iBAAiB;AACjC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,YAAY;AAC5B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,eAAe;AAC/B,KAAA;AACD,IAAA,OAAO,EAAE;AACR,QAAA,cAAc,EAAE,eAAe;AAC/B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,iBAAiB;AACjC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,eAAe;AAC/B,KAAA;CACD;;MCrBY,0CAA0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C,gCAAgC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAE9B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,gCAAgC,CAAC;oBAC3C,OAAO,EAAE,CAAC,gCAAgC,CAAC;AAC3C,iBAAA,CAAA;;;ACND;;AAEG;MAKU,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAArB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEzB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,EAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEzB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-qualification.mjs","sources":["../../../packages/ng/qualification/select/input/translations.ts","../../../packages/ng/qualification/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/select/qualification-select.module.ts","../../../packages/ng/qualification/qualification.module.ts","../../../packages/ng/qualification/lucca-front-ng-qualification.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\tqualifications: 'qualifications',\n\t},\n\tde: {\n\t\tqualifications: 'Qualifikationen',\n\t},\n\tfr: {\n\t\tqualifications: 'qualifications',\n\t},\n\tit: {\n\t\tqualifications: 'qualifiche',\n\t},\n\tnl: {\n\t\tqualifications: 'kwalificaties',\n\t},\n\t'nl-BE': {\n\t\tqualifications: 'kwalificaties',\n\t},\n\tes: {\n\t\tqualifications: 'cualificaciones',\n\t},\n\tpt: {\n\t\tqualifications: 'qualificações',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\n\tfactory: () => luQualificationSelectInputTranslations,\n});\n\nexport interface ILuQualificationSelectInputLabel {\n\tqualifications: string;\n}\n\nexport const luQualificationSelectInputTranslations: LuTranslation<ILuQualificationSelectInputLabel> = Translations;\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\nimport { ILuQualification } from '../../qualification.model';\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@Component({\n\tselector: 'lu-qualification-select',\n\ttemplateUrl: './qualification-select-input.component.html',\n\tstyleUrls: ['./qualification-select-input.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuQualificationSelectInputComponent<\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\n\t>\n\textends ALuSelectInputComponent<D, P>\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\n{\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\n\n\t@Input() filters: string[];\n\n\tisSearching = false;\n\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\n\tonIsSearchingChanged(isSearching: boolean) {\n\t\tthis.isSearching = isSearching;\n\t\tthis._changeDetectorRef.detectChanges();\n\t}\n\n\ttrackById(_: number, item: ILuQualification): number {\n\t\treturn item.id;\n\t}\n\n\tgroupByJobName(qualification: ILuQualification): string {\n\t\treturn qualification.job.name;\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<div class=\"lu-picker-content-option\">\n\t\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\">\n\t\t\t\t{{ qualification.name }}\n\t\t\t</lu-option>\n\t\t</div>\n\t</ng-template>\n</lu-option-picker-advanced>\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectInputComponent],\n\texports: [LuQualificationSelectInputComponent],\n})\nexport class LuQualificationSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputModule } from './input/index';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectInputModule],\n\texports: [LuQualificationSelectInputModule],\n})\nexport class LuQualificationSelectModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectModule],\n\texports: [LuQualificationSelectModule],\n})\nexport class LuQualificationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,iBAAiB;AACjC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,YAAY;AAC5B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,eAAe;AAC/B,KAAA;AACD,IAAA,OAAO,EAAE;AACR,QAAA,cAAc,EAAE,eAAe;AAC/B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,iBAAiB;AACjC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,eAAe;AAC/B,KAAA;CACD;;MCrBY,0CAA0C,GAAG,IAAI,cAAc,CAAC,mCAAmC,EAAE;AACjH,IAAA,OAAO,EAAE,MAAM,sCAAsC;AACrD,CAAA;AAMM,MAAM,sCAAsC,GAAoD;;ACCvG;;AAEG;AAgBG,MAAO,mCAIZ,SAAQ,uBAA6B,CAAA;IAWrC,WACoB,CAAA,kBAAqC,EACrC,QAAiB,EACjB,WAAoC,EACpC,iBAAmC,EACnC,SAAoB,EAAA;QAEvC,KAAK,CAAC,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,CAAC;QAN3D,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB;QAClB,IAAQ,CAAA,QAAA,GAAR,QAAQ;QACR,IAAW,CAAA,WAAA,GAAX,WAAW;QACX,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB;QACjB,IAAS,CAAA,SAAA,GAAT,SAAS;AAb7B,QAAA,IAAA,C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ACtC,iBAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -13,26 +13,27 @@ class LuSafeHtmlPipe {
|
|
|
13
13
|
transform(value, config) {
|
|
14
14
|
return this.sanitizer.bypassSecurityTrustHtml(sanitize(value, config));
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
17
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuSafeHtmlPipe, isStandalone: true, name: "luSafeHtml" }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSafeHtmlPipe, decorators: [{
|
|
20
20
|
type: Pipe,
|
|
21
21
|
args: [{ name: 'luSafeHtml', standalone: true }]
|
|
22
22
|
}], ctorParameters: () => [{ type: i1.DomSanitizer }] });
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated use `LuSafeHtmlPipe` instead
|
|
26
|
+
*/
|
|
24
27
|
class LuSafeContentModule {
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
27
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSafeContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
29
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuSafeContentModule, imports: [LuSafeHtmlPipe], exports: [LuSafeHtmlPipe] }); }
|
|
30
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSafeContentModule }); }
|
|
28
31
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSafeContentModule, decorators: [{
|
|
30
33
|
type: NgModule,
|
|
31
34
|
args: [{
|
|
32
35
|
imports: [LuSafeHtmlPipe],
|
|
33
|
-
declarations: [],
|
|
34
36
|
exports: [LuSafeHtmlPipe],
|
|
35
|
-
providers: [],
|
|
36
37
|
}]
|
|
37
38
|
}] });
|
|
38
39
|
|
|
@@ -60,10 +61,10 @@ class LuSafeExternalSvgPipe {
|
|
|
60
61
|
this.#cdr.markForCheck();
|
|
61
62
|
});
|
|
62
63
|
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
64
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSafeExternalSvgPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
65
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuSafeExternalSvgPipe, isStandalone: true, name: "luSafeExternalSvg", pure: false }); }
|
|
65
66
|
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSafeExternalSvgPipe, decorators: [{
|
|
67
68
|
type: Pipe,
|
|
68
69
|
args: [{
|
|
69
70
|
name: 'luSafeExternalSvg',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-safe-content.mjs","sources":["../../../packages/ng/safe-content/safe-html.pipe.ts","../../../packages/ng/safe-content/safe-content.module.ts","../../../packages/ng/safe-content/safe-external-svg.pipe.ts","../../../packages/ng/safe-content/lucca-front-ng-safe-content.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { Config, sanitize } from 'isomorphic-dompurify';\n\ntype SanitizerConfig = Config & { RETURN_DOM_FRAGMENT?: false | undefined; RETURN_DOM?: false | undefined };\n\n@Pipe({ name: 'luSafeHtml', standalone: true })\nexport class LuSafeHtmlPipe implements PipeTransform {\n\tconstructor(protected sanitizer: DomSanitizer) {}\n\n\tpublic transform(value: string, config?: SanitizerConfig): SafeHtml {\n\t\treturn this.sanitizer.bypassSecurityTrustHtml(sanitize(value, config));\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuSafeHtmlPipe } from './safe-html.pipe';\n\n@NgModule({\n\timports: [LuSafeHtmlPipe],\n\
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-safe-content.mjs","sources":["../../../packages/ng/safe-content/safe-html.pipe.ts","../../../packages/ng/safe-content/safe-content.module.ts","../../../packages/ng/safe-content/safe-external-svg.pipe.ts","../../../packages/ng/safe-content/lucca-front-ng-safe-content.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { Config, sanitize } from 'isomorphic-dompurify';\n\ntype SanitizerConfig = Config & { RETURN_DOM_FRAGMENT?: false | undefined; RETURN_DOM?: false | undefined };\n\n@Pipe({ name: 'luSafeHtml', standalone: true })\nexport class LuSafeHtmlPipe implements PipeTransform {\n\tconstructor(protected sanitizer: DomSanitizer) {}\n\n\tpublic transform(value: string, config?: SanitizerConfig): SafeHtml {\n\t\treturn this.sanitizer.bypassSecurityTrustHtml(sanitize(value, config));\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuSafeHtmlPipe } from './safe-html.pipe';\n\n/**\n * @deprecated use `LuSafeHtmlPipe` instead\n */\n@NgModule({\n\timports: [LuSafeHtmlPipe],\n\texports: [LuSafeHtmlPipe],\n})\nexport class LuSafeContentModule {}\n","import { HttpClient } from '@angular/common/http';\nimport { ChangeDetectorRef, inject, Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { sanitize } from 'isomorphic-dompurify';\nimport { map, Subscription } from 'rxjs';\n\n@Pipe({\n\tname: 'luSafeExternalSvg',\n\tstandalone: true,\n\tpure: false,\n})\nexport class LuSafeExternalSvgPipe implements PipeTransform {\n\t#httpClient = inject(HttpClient);\n\t#domSanitizer = inject(DomSanitizer);\n\t#cdr = inject(ChangeDetectorRef);\n\t#lastSvgUrl?: string;\n\t#lastSvgValue: SafeHtml = '';\n\t#subscription?: Subscription;\n\n\ttransform(url: string): SafeHtml {\n\t\tif (url && url !== this.#lastSvgUrl) {\n\t\t\tthis.#lastSvgUrl = url;\n\t\t\tthis.#subscribeToSvg(url);\n\t\t}\n\n\t\treturn this.#lastSvgValue;\n\t}\n\n\t#subscribeToSvg(url: string) {\n\t\tthis.#subscription?.unsubscribe();\n\t\tthis.#subscription = this.#httpClient\n\t\t\t.get(url, { responseType: 'text' })\n\t\t\t.pipe(\n\t\t\t\tmap((svg) => sanitize(svg, { USE_PROFILES: { svg: true } })),\n\t\t\t\tmap((svg) => this.#domSanitizer.bypassSecurityTrustHtml(svg)),\n\t\t\t)\n\t\t\t.subscribe((svg) => {\n\t\t\t\tthis.#lastSvgValue = svg;\n\t\t\t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A,EAAA,CAAA;kBALjC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,mBAAmB;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,KAAK;AACX,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -49,10 +49,10 @@ class LuScrollDirective {
|
|
|
49
49
|
this.scrollSubject = new Subject();
|
|
50
50
|
this.scroll$ = this.scrollSubject.asObservable().pipe(debounceTime(this.debounceTime));
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
53
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: LuScrollDirective, isStandalone: true, selector: "[luScroll]", inputs: { debounceTime: "debounceTime" }, outputs: { onScroll: "onScroll", onScrollTop: "onScrollTop", onScrollBottom: "onScrollBottom", onScrollLeft: "onScrollLeft", onScrollRight: "onScrollRight" }, host: { listeners: { "scroll": "_scroll($event)" } }, exportAs: ["luScroll"], ngImport: i0 }); }
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuScrollDirective, decorators: [{
|
|
56
56
|
type: Directive,
|
|
57
57
|
args: [{
|
|
58
58
|
selector: '[luScroll]',
|
|
@@ -77,11 +77,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
|
|
|
77
77
|
}] } });
|
|
78
78
|
|
|
79
79
|
class LuScrollModule {
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
81
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
82
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuScrollModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
81
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuScrollModule, imports: [LuScrollDirective], exports: [LuScrollDirective] }); }
|
|
82
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuScrollModule }); }
|
|
83
83
|
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuScrollModule, decorators: [{
|
|
85
85
|
type: NgModule,
|
|
86
86
|
args: [{
|
|
87
87
|
imports: [LuScrollDirective],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-scroll.mjs","sources":["../../../packages/ng/scroll/scroll.directive.ts","../../../packages/ng/scroll/scroll.module.ts","../../../packages/ng/scroll/lucca-front-ng-scroll.ts"],"sourcesContent":["/* eslint-disable @angular-eslint/no-output-on-prefix */\nimport { Directive, ElementRef, EventEmitter, HostListener, Input, OnInit, Output } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\nimport { ILuScrollable } from './scroll.model';\n\n/**\n * emits on scroll events\n */\n@Directive({\n\tselector: '[luScroll]',\n\texportAs: 'luScroll',\n\tstandalone: true,\n})\nexport class LuScrollDirective implements ILuScrollable, OnInit {\n\t@Input() debounceTime = 100;\n\t@Output() onScroll = new EventEmitter<Event>();\n\t@Output() onScrollTop = new EventEmitter<Event>();\n\t@Output() onScrollBottom = new EventEmitter<Event>();\n\t@Output() onScrollLeft = new EventEmitter<Event>();\n\t@Output() onScrollRight = new EventEmitter<Event>();\n\tprivate scrollSubject = new Subject<Event>();\n\tprivate scroll$ = this.scrollSubject.asObservable().pipe(debounceTime(this.debounceTime));\n\t@HostListener('scroll', ['$event'])\n\t_scroll($event: Event) {\n\t\tthis.scrollSubject.next($event);\n\t}\n\n\tngOnInit(): void {\n\t\tthis.scroll$.subscribe((scrollEvent) => this.emitScrollEvents(scrollEvent));\n\t}\n\tprivate emitScrollEvents($event: Event) {\n\t\tthis.onScroll.emit($event);\n\n\t\tconst target = $event.target;\n\t\tif (target instanceof Element) {\n\t\t\tconst scrollLeft = target.scrollLeft;\n\t\t\tconst scrollTop = target.scrollTop;\n\t\t\tif (scrollLeft === 0) {\n\t\t\t\tthis.onScrollLeft.emit($event);\n\t\t\t}\n\t\t\tif (scrollTop === 0) {\n\t\t\t\tthis.onScrollTop.emit($event);\n\t\t\t}\n\t\t\tconst scrollWidth = target.scrollWidth;\n\t\t\tconst scrollHeight = target.scrollHeight;\n\t\t\tconst eltHeight = this._elementRef.nativeElement.clientHeight;\n\t\t\tconst eltWidth = this._elementRef.nativeElement.clientWidth;\n\t\t\tif (scrollWidth - scrollLeft - eltWidth < 10) {\n\t\t\t\tthis.onScrollRight.emit($event);\n\t\t\t}\n\t\t\tif (scrollHeight - scrollTop - eltHeight < 10) {\n\t\t\t\tthis.onScrollBottom.emit($event);\n\t\t\t}\n\t\t}\n\t}\n\tconstructor(protected _elementRef: ElementRef<HTMLElement>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { LuScrollDirective } from './scroll.directive';\n\n@NgModule({\n\timports: [LuScrollDirective],\n\texports: [LuScrollDirective],\n})\nexport class LuScrollModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;AAMA;;AAEG;MAMU,iBAAiB,CAAA;AAU7B,IAAA,OAAO,CAAC,MAAa,EAAA;AACpB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-scroll.mjs","sources":["../../../packages/ng/scroll/scroll.directive.ts","../../../packages/ng/scroll/scroll.module.ts","../../../packages/ng/scroll/lucca-front-ng-scroll.ts"],"sourcesContent":["/* eslint-disable @angular-eslint/no-output-on-prefix */\nimport { Directive, ElementRef, EventEmitter, HostListener, Input, OnInit, Output } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\nimport { ILuScrollable } from './scroll.model';\n\n/**\n * emits on scroll events\n */\n@Directive({\n\tselector: '[luScroll]',\n\texportAs: 'luScroll',\n\tstandalone: true,\n})\nexport class LuScrollDirective implements ILuScrollable, OnInit {\n\t@Input() debounceTime = 100;\n\t@Output() onScroll = new EventEmitter<Event>();\n\t@Output() onScrollTop = new EventEmitter<Event>();\n\t@Output() onScrollBottom = new EventEmitter<Event>();\n\t@Output() onScrollLeft = new EventEmitter<Event>();\n\t@Output() onScrollRight = new EventEmitter<Event>();\n\tprivate scrollSubject = new Subject<Event>();\n\tprivate scroll$ = this.scrollSubject.asObservable().pipe(debounceTime(this.debounceTime));\n\t@HostListener('scroll', ['$event'])\n\t_scroll($event: Event) {\n\t\tthis.scrollSubject.next($event);\n\t}\n\n\tngOnInit(): void {\n\t\tthis.scroll$.subscribe((scrollEvent) => this.emitScrollEvents(scrollEvent));\n\t}\n\tprivate emitScrollEvents($event: Event) {\n\t\tthis.onScroll.emit($event);\n\n\t\tconst target = $event.target;\n\t\tif (target instanceof Element) {\n\t\t\tconst scrollLeft = target.scrollLeft;\n\t\t\tconst scrollTop = target.scrollTop;\n\t\t\tif (scrollLeft === 0) {\n\t\t\t\tthis.onScrollLeft.emit($event);\n\t\t\t}\n\t\t\tif (scrollTop === 0) {\n\t\t\t\tthis.onScrollTop.emit($event);\n\t\t\t}\n\t\t\tconst scrollWidth = target.scrollWidth;\n\t\t\tconst scrollHeight = target.scrollHeight;\n\t\t\tconst eltHeight = this._elementRef.nativeElement.clientHeight;\n\t\t\tconst eltWidth = this._elementRef.nativeElement.clientWidth;\n\t\t\tif (scrollWidth - scrollLeft - eltWidth < 10) {\n\t\t\t\tthis.onScrollRight.emit($event);\n\t\t\t}\n\t\t\tif (scrollHeight - scrollTop - eltHeight < 10) {\n\t\t\t\tthis.onScrollBottom.emit($event);\n\t\t\t}\n\t\t}\n\t}\n\tconstructor(protected _elementRef: ElementRef<HTMLElement>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { LuScrollDirective } from './scroll.directive';\n\n@NgModule({\n\timports: [LuScrollDirective],\n\texports: [LuScrollDirective],\n})\nexport class LuScrollModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;AAMA;;AAEG;MAMU,iBAAiB,CAAA;AAU7B,IAAA,OAAO,CAAC,MAAa,EAAA;AACpB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC;;IAGhC,QAAQ,GAAA;AACP,QAAA,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;;AAEpE,IAAA,gBAAgB,CAAC,MAAa,EAAA;AACrC,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;AAE1B,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM;AAC5B,QAAA,IAAI,MAAM,YAAY,OAAO,EAAE;AAC9B,YAAA,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU;AACpC,YAAA,MAAM,SAAS,GAAG,MAAM,CAAC,SAAS;AAClC,YAAA,IAAI,UAAU,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A,EAAA,CACjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;+GAEf,cAAc,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC5B,iBAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -292,10 +292,10 @@ class ALuSelectInputComponent extends ALuSelectInput {
|
|
|
292
292
|
_emitClose() {
|
|
293
293
|
this.onClose.emit();
|
|
294
294
|
}
|
|
295
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
296
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ALuSelectInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
296
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.3", type: ALuSelectInputComponent, isStandalone: true, inputs: { overlapInput: ["pickerOverlap", "overlapInput"], inputPlaceholder: ["placeholder", "inputPlaceholder"], inputMultiple: ["multiple", "inputMultiple"], inputDisabled: ["disabled", "inputDisabled"] }, outputs: { onOpen: "onOpen", onClose: "onClose" }, host: { listeners: { "click": "onClick()", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focus": "onFocus()", "blur": "onBlur()", "keydown.space": "onKeydown($event)", "keydown.enter": "onKeydown($event)" }, properties: { "tabindex": "this.tabindex", "class.is-disabled": "this.isDisabled", "class.is-focused": "this.isFocused", "class.mod-multiple": "this.modMultiple", "class.is-clearable": "this.isClearable" } }, queries: [{ propertyName: "ccPicker", first: true, predicate: ALuPickerPanel, descendants: true, static: true }, { propertyName: "ccDisplayer", first: true, predicate: ALuInputDisplayer, descendants: true, static: true }, { propertyName: "ccClearer", first: true, predicate: ALuClearer, descendants: true, static: true }], viewQueries: [{ propertyName: "_vcDisplayContainer", first: true, predicate: ["display"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "vcPicker", first: true, predicate: ALuPickerPanel, descendants: true, static: true }, { propertyName: "vcDisplayer", first: true, predicate: ALuInputDisplayer, descendants: true, static: true }, { propertyName: "vcClearer", first: true, predicate: ALuClearer, descendants: true, static: true }], usesInheritance: true, ngImport: i0 }); }
|
|
297
297
|
}
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: ALuSelectInputComponent, decorators: [{
|
|
299
299
|
type: Directive
|
|
300
300
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }], propDecorators: { _vcDisplayContainer: [{
|
|
301
301
|
type: ViewChild,
|
|
@@ -397,8 +397,8 @@ class LuSelectInputComponent extends ALuSelectInputComponent {
|
|
|
397
397
|
super.ngAfterViewInit();
|
|
398
398
|
this.displayClearer(); // dont keep
|
|
399
399
|
}
|
|
400
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
401
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSelectInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
401
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: LuSelectInputComponent, isStandalone: true, selector: "lu-select", host: { properties: { "class.mod-multipleView": "this.modMultipleView" } }, providers: [
|
|
402
402
|
{
|
|
403
403
|
provide: NG_VALUE_ACCESSOR,
|
|
404
404
|
useExisting: forwardRef(() => LuSelectInputComponent),
|
|
@@ -406,7 +406,7 @@ class LuSelectInputComponent extends ALuSelectInputComponent {
|
|
|
406
406
|
},
|
|
407
407
|
], queries: [{ propertyName: "clearerEltRef", first: true, predicate: ALuClearer, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "suffixEltRef", first: true, predicate: ["suffix"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div #suffix class=\"lu-select-suffix\"></div>\n", styles: ["@charset \"UTF-8\";:root{--components-options-item-padding-vertical: var(--pr-t-spacings-50);--components-options-item-padding-horizontal: var(--pr-t-spacings-100);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-neutral-800);--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-product-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-neutral-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--pr-t-spacings-100);--components-select-input-padding-vertical: var(--pr-t-spacings-100);--components-select-framed-color: var(--palettes-neutral-500);--components-select-framed-color50: var(--palettes-neutral-50);--components-select-framed-see-through: var(--palettes-neutral-50);--components-select-framed-text: var(--palettes-neutral-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--pr-t-spacings-200);--components-select-framed-top-padding: var(--pr-t-spacings-400);--components-select-framed-bottom-padding: var(--pr-t-spacings-200);--components-select-framed-label-top-offset: var(--pr-t-spacings-100);cursor:pointer;outline:none;padding:0;gap:0}:host:after{--icon-content: \"\\e97c\";font-weight:400;display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;content:var(--icon-content);-webkit-font-smoothing:antialiased;text-transform:none;color:var(--palettes-neutral-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal);transition:transform var(--commons-animations-durations-standard) ease}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-neutral-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:var(--pr-t-spacings-150);right:2.25rem}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--pr-t-spacings-50) var(--pr-t-spacings-50) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--pr-t-spacings-100)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--pr-t-spacings-50);padding-right:var(--pr-t-spacings-50);gap:var(--pr-t-spacings-50)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-neutral-500);bottom:var(--components-select-framed-bottom-padding);right:var(--pr-t-spacings-100)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-neutral-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--pr-t-spacings-200);color:var(--palettes-neutral-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-neutral-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--pr-t-spacings-50) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-neutral-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-neutral-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield .textfield-input.is-focused):after{transform:rotate(-180deg)}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error,.textfield-input.is-invalid,.textfield-input.ng-invalid.ng-touched) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
408
408
|
}
|
|
409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSelectInputComponent, decorators: [{
|
|
410
410
|
type: Component,
|
|
411
411
|
args: [{ selector: 'lu-select', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [
|
|
412
412
|
{
|
|
@@ -430,11 +430,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
|
|
|
430
430
|
* @deprecated prefer SimpleSelect or MultipleSelect
|
|
431
431
|
*/
|
|
432
432
|
class LuSelectInputModule {
|
|
433
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
434
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
435
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
433
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSelectInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
434
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuSelectInputModule, imports: [LuSelectInputComponent], exports: [LuSelectInputComponent] }); }
|
|
435
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSelectInputModule }); }
|
|
436
436
|
}
|
|
437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSelectInputModule, decorators: [{
|
|
438
438
|
type: NgModule,
|
|
439
439
|
args: [{
|
|
440
440
|
imports: [LuSelectInputComponent],
|
|
@@ -446,11 +446,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
|
|
|
446
446
|
* @deprecated prefer SimpleSelect or MultipleSelect
|
|
447
447
|
*/
|
|
448
448
|
class LuSelectModule {
|
|
449
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
450
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
451
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
450
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuSelectModule, imports: [LuSelectInputModule], exports: [LuSelectInputModule] }); }
|
|
451
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSelectModule, imports: [LuSelectInputModule, LuSelectInputModule] }); }
|
|
452
452
|
}
|
|
453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuSelectModule, decorators: [{
|
|
454
454
|
type: NgModule,
|
|
455
455
|
args: [{
|
|
456
456
|
imports: [LuSelectInputModule],
|